@ckeditor/ckeditor5-revision-history 43.0.0-alpha.0 → 43.0.0-alpha.2

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 (150) hide show
  1. package/build/revision-history.js +1 -1
  2. package/build/translations/gl.js +1 -1
  3. package/dist/index.js +6 -6
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/az.js +1 -1
  9. package/dist/translations/az.umd.js +1 -1
  10. package/dist/translations/bg.js +1 -1
  11. package/dist/translations/bg.umd.js +1 -1
  12. package/dist/translations/bn.js +1 -1
  13. package/dist/translations/bn.umd.js +1 -1
  14. package/dist/translations/bs.js +1 -1
  15. package/dist/translations/bs.umd.js +1 -1
  16. package/dist/translations/ca.js +1 -1
  17. package/dist/translations/ca.umd.js +1 -1
  18. package/dist/translations/cs.js +1 -1
  19. package/dist/translations/cs.umd.js +1 -1
  20. package/dist/translations/da.js +1 -1
  21. package/dist/translations/da.umd.js +1 -1
  22. package/dist/translations/de-ch.js +1 -1
  23. package/dist/translations/de-ch.umd.js +1 -1
  24. package/dist/translations/de.js +1 -1
  25. package/dist/translations/de.umd.js +1 -1
  26. package/dist/translations/el.js +1 -1
  27. package/dist/translations/el.umd.js +1 -1
  28. package/dist/translations/en-au.js +1 -1
  29. package/dist/translations/en-au.umd.js +1 -1
  30. package/dist/translations/en-gb.js +1 -1
  31. package/dist/translations/en-gb.umd.js +1 -1
  32. package/dist/translations/en.umd.js +1 -1
  33. package/dist/translations/es-co.js +1 -1
  34. package/dist/translations/es-co.umd.js +1 -1
  35. package/dist/translations/es.js +1 -1
  36. package/dist/translations/es.umd.js +1 -1
  37. package/dist/translations/et.js +1 -1
  38. package/dist/translations/et.umd.js +1 -1
  39. package/dist/translations/fa.js +1 -1
  40. package/dist/translations/fa.umd.js +1 -1
  41. package/dist/translations/fi.js +1 -1
  42. package/dist/translations/fi.umd.js +1 -1
  43. package/dist/translations/fr.js +1 -1
  44. package/dist/translations/fr.umd.js +1 -1
  45. package/dist/translations/gl.js +1 -1
  46. package/dist/translations/gl.umd.js +1 -1
  47. package/dist/translations/he.js +1 -1
  48. package/dist/translations/he.umd.js +1 -1
  49. package/dist/translations/hi.js +1 -1
  50. package/dist/translations/hi.umd.js +1 -1
  51. package/dist/translations/hr.js +1 -1
  52. package/dist/translations/hr.umd.js +1 -1
  53. package/dist/translations/hu.js +1 -1
  54. package/dist/translations/hu.umd.js +1 -1
  55. package/dist/translations/id.js +1 -1
  56. package/dist/translations/id.umd.js +1 -1
  57. package/dist/translations/it.js +1 -1
  58. package/dist/translations/it.umd.js +1 -1
  59. package/dist/translations/ja.js +1 -1
  60. package/dist/translations/ja.umd.js +1 -1
  61. package/dist/translations/jv.js +1 -1
  62. package/dist/translations/jv.umd.js +1 -1
  63. package/dist/translations/ko.js +1 -1
  64. package/dist/translations/ko.umd.js +1 -1
  65. package/dist/translations/ku.js +1 -1
  66. package/dist/translations/ku.umd.js +1 -1
  67. package/dist/translations/lt.js +1 -1
  68. package/dist/translations/lt.umd.js +1 -1
  69. package/dist/translations/lv.js +1 -1
  70. package/dist/translations/lv.umd.js +1 -1
  71. package/dist/translations/ms.js +1 -1
  72. package/dist/translations/ms.umd.js +1 -1
  73. package/dist/translations/ne.js +1 -1
  74. package/dist/translations/ne.umd.js +1 -1
  75. package/dist/translations/nl.js +1 -1
  76. package/dist/translations/nl.umd.js +1 -1
  77. package/dist/translations/no.js +1 -1
  78. package/dist/translations/no.umd.js +1 -1
  79. package/dist/translations/pl.js +1 -1
  80. package/dist/translations/pl.umd.js +1 -1
  81. package/dist/translations/pt-br.js +1 -1
  82. package/dist/translations/pt-br.umd.js +1 -1
  83. package/dist/translations/pt.js +1 -1
  84. package/dist/translations/pt.umd.js +1 -1
  85. package/dist/translations/ro.js +1 -1
  86. package/dist/translations/ro.umd.js +1 -1
  87. package/dist/translations/ru.js +1 -1
  88. package/dist/translations/ru.umd.js +1 -1
  89. package/dist/translations/sk.js +1 -1
  90. package/dist/translations/sk.umd.js +1 -1
  91. package/dist/translations/sr-latn.js +1 -1
  92. package/dist/translations/sr-latn.umd.js +1 -1
  93. package/dist/translations/sr.js +1 -1
  94. package/dist/translations/sr.umd.js +1 -1
  95. package/dist/translations/sv.js +1 -1
  96. package/dist/translations/sv.umd.js +1 -1
  97. package/dist/translations/th.js +1 -1
  98. package/dist/translations/th.umd.js +1 -1
  99. package/dist/translations/ti.js +1 -1
  100. package/dist/translations/ti.umd.js +1 -1
  101. package/dist/translations/tk.js +1 -1
  102. package/dist/translations/tk.umd.js +1 -1
  103. package/dist/translations/tr.js +1 -1
  104. package/dist/translations/tr.umd.js +1 -1
  105. package/dist/translations/tt.js +1 -1
  106. package/dist/translations/tt.umd.js +1 -1
  107. package/dist/translations/ug.js +1 -1
  108. package/dist/translations/ug.umd.js +1 -1
  109. package/dist/translations/uk.js +1 -1
  110. package/dist/translations/uk.umd.js +1 -1
  111. package/dist/translations/ur.js +1 -1
  112. package/dist/translations/ur.umd.js +1 -1
  113. package/dist/translations/vi.js +1 -1
  114. package/dist/translations/vi.umd.js +1 -1
  115. package/dist/translations/zh-cn.js +1 -1
  116. package/dist/translations/zh-cn.umd.js +1 -1
  117. package/dist/translations/zh.js +1 -1
  118. package/dist/translations/zh.umd.js +1 -1
  119. package/lang/translations/gl.po +4 -4
  120. package/package.json +8 -8
  121. package/src/changeitem.js +2 -2
  122. package/src/editor/revisionviewereditor.js +2 -2
  123. package/src/editor/revisionviewereditorui.js +1 -1
  124. package/src/editor/revisionviewereditoruiview.js +1 -1
  125. package/src/index.js +1 -1
  126. package/src/revision.js +2 -2
  127. package/src/revisiondiff.js +1 -1
  128. package/src/revisionhistory.js +1 -1
  129. package/src/revisionsrepository.js +1 -1
  130. package/src/revisiontracker.js +1 -1
  131. package/src/revisionviewer.js +1 -1
  132. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  133. package/src/ui/revision/revisionauthorview.js +1 -1
  134. package/src/ui/revision/revisionnameview.js +1 -1
  135. package/src/ui/revision/revisionview.js +2 -2
  136. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  137. package/src/ui/revision/subrevisionview.js +1 -1
  138. package/src/ui/revision/utils.js +1 -1
  139. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  140. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  141. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  142. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  143. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  144. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  145. package/src/ui/revisionssidebar/utils.js +1 -1
  146. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  147. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  148. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  149. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  150. 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 _0x162d59,Context as _0x19b76f,PendingActions as _0x695b82,icons as _0x29b1c2,Command as _0xfaab01,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x25f62f,uid as _0x47fc8d,Collection as _0x4ac82c,logWarning as _0xfce053,FocusTracker as _0x12da40,KeystrokeHandler as _0x9284fc,scrollViewportToShowTarget as _0x27ebee,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x2f7a5b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x3da019,getMarkerDomElement as _0x5b151f,ConfirmMixin as _0x113742,sanitizeEditorConfig as _0x4f8d84}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x29a951,ViewText as _0x301850,ViewElement as _0x58bb25,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x205e76,ViewAttributeElement as _0x4aad0a,ViewEmptyElement as _0x53ca70,ViewRawElement as _0xd607d1,ViewUIElement as _0x29da65,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x2fc470,set as _0x1bbd84,unset as _0x2a5f22,isEqual as _0x2b6fd2}from'lodash-es';import{View as _0xead4de,injectCssTransitionDisabler as ts,submitHandler as _0x84e38b,LabeledFieldView as at,createLabeledInputText as _0x468462,createDropdown as _0x401773,ListView as te,ListItemView as _0x15d8bf,ButtonView as _0x2951af,MenuBarMenuView as _0x469852,MenuBarMenuListView as _0x1a5e4c,MenuBarMenuListItemView as _0x370ec0,MenuBarMenuListItemButtonView as _0xcb316f,ContextualBalloon as _0x3a6843,ToolbarSeparatorView as _0x49a2d8,IconView as _0x3ffe5b,addListToDropdown as _0x5b0669,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 _0x2a856a}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x25f62f(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x3a0c84){super(),this['id']=_0x3a0c84['id']||_0x47fc8d(),this['creator']=_0x3a0c84['creator']||null,this['authors']=_0x3a0c84['authors']||[],this['diffData']=_0x3a0c84['diffData']||null,this['toVersion']=_0x3a0c84['toVersion']||0x0,this['fromVersion']=_0x3a0c84['fromVersion']||0x0,this['set']('name',_0x3a0c84['name']||''),this['set']('createdAt',_0x3a0c84['createdAt']||new Date()),this['set']('attributes',_0x3a0c84['attributes']||{});}['setName'](_0x464b23){this['_update']({'name':_0x464b23});}['setAttribute'](_0x391c83,_0x14dc4d){const _0x5867c2=_0x2fc470(this['attributes']);_0x1bbd84(_0x5867c2,_0x391c83,_0x14dc4d),this['_update']({'attributes':_0x5867c2});}['removeAttribute'](_0x3f0fd3){const _0x5a8717=_0x2fc470(this['attributes']);_0x2a5f22(_0x5a8717,_0x3f0fd3),this['_update']({'attributes':_0x5a8717});}['_update'](_0x58c94a,_0x24f70c=!0x1){let _0x1298b7=!0x1;const _0x341752={'id':this['id']},_0x32d940=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x1d6dd9 of _0x32d940){const _0x578de1=_0x58c94a[_0x1d6dd9];void 0x0!==_0x578de1&&_0x578de1!==this[_0x1d6dd9]&&(this[_0x1d6dd9]=_0x578de1,_0x341752[_0x1d6dd9]=_0x578de1,_0x1298b7=!0x0);}_0x1298b7&&(_0x341752['authors']&&(_0x341752['authorsIds']=_0x341752['authors']['map'](_0x11de75=>_0x11de75['id']),delete _0x341752['authors']),this['fire']('_update',_0x341752,_0x24f70c));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x3e6fba=>_0x3e6fba['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x162d59{['_revisions'];static get['requires'](){return[_0x3da019];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x57190d){super(_0x57190d),this['_revisions']=new _0x4ac82c();}['afterInit'](){!function(_0x14cae8){function _0x279da8(_0x55a6a8,_0x432f08,_0x4e4a3e){const _0x5d8a4d={};_0x5d8a4d[_0x765f2b([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x5d8a4d[_0x765f2b([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],_0x5d8a4d[_0x765f2b([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],_0x5d8a4d[_0x765f2b([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],_0x5d8a4d[_0x765f2b([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],_0x5d8a4d[_0x765f2b([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],_0x5d8a4d[_0x765f2b([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],_0x5d8a4d[_0x765f2b([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],_0x5d8a4d[_0x765f2b([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],_0x5d8a4d[_0x765f2b([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],_0x5d8a4d[_0x765f2b([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 _0x5f2fbd=new Uint8Array(0x10);for(let _0x400202=0xf;_0x400202>=0x0;--_0x400202)_0x5f2fbd[_0x400202]=_0x4e4a3e%0x100,_0x4e4a3e=parseInt(_0x4e4a3e/0x100);let _0x1258b8=null,_0x2f5a08=0x10;const _0x3c38a2=new Uint8Array(_0x432f08),_0x197ca0=[],_0x328733=[];_0x4059ed();for(let _0x2f7149=0x0;_0x2f7149<_0x55a6a8[_0x765f2b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f7149++)0x10===_0x2f5a08&&(_0x1258b8=_0x40011c(_0x5f2fbd),_0x2f5a08=0x0,_0x5f63f4(_0x5f2fbd)),_0x55a6a8[_0x2f7149]^=_0x1258b8[_0x2f5a08++];return _0x55a6a8;function _0x5d9df7(_0x996c18){const _0x515b4a=[];for(let _0x149d87=0x0;_0x149d87<_0x996c18[_0x765f2b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x149d87+=0x4)_0x515b4a[_0x765f2b([0x70,0x75,0x73,0x68])](_0x996c18[_0x149d87]<<0x18|_0x996c18[_0x149d87+0x1]<<0x10|_0x996c18[_0x149d87+0x2]<<0x8|_0x996c18[_0x149d87+0x3]);return _0x515b4a;}function _0x5f63f4(_0x50560f){for(let _0x1b8883=0xf;_0x1b8883>=0x0;_0x1b8883--){if(0xff!==_0x50560f[_0x1b8883]){_0x50560f[_0x1b8883]++;break;}_0x50560f[_0x1b8883]=0x0;}}function _0x40011c(_0x571563){const _0x31b6ef=_0x197ca0[_0x765f2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x5a609b=[0x0,0x0,0x0,0x0];let t=_0x5d9df7(_0x571563);for(let _0x4cddfe=0x0;_0x4cddfe<0x4;_0x4cddfe++)t[_0x4cddfe]^=_0x197ca0[0x0][_0x4cddfe];for(let _0x9acb12=0x1;_0x9acb12<_0x31b6ef;_0x9acb12++){for(let _0x4f1402=0x0;_0x4f1402<0x4;_0x4f1402++)_0x5a609b[_0x4f1402]=_0x5d8a4d[_0x765f2b([0x54,0x31])][t[_0x4f1402]>>0x18&0xff]^_0x5d8a4d[_0x765f2b([0x54,0x32])][t[(_0x4f1402+0x1)%0x4]>>0x10&0xff]^_0x5d8a4d[_0x765f2b([0x54,0x33])][t[(_0x4f1402+0x2)%0x4]>>0x8&0xff]^_0x5d8a4d[_0x765f2b([0x54,0x34])][0xff&t[(_0x4f1402+0x3)%0x4]]^_0x197ca0[_0x9acb12][_0x4f1402];t=_0x5a609b[_0x765f2b([0x73,0x6c,0x69,0x63,0x65])]();}const _0x2b9bff=new Uint8Array(0x10);let _0x4e134a;for(let _0xe11914=0x0;_0xe11914<0x4;_0xe11914++)_0x4e134a=_0x197ca0[_0x31b6ef][_0xe11914],_0x2b9bff[0x4*_0xe11914]=0xff&(_0x5d8a4d[_0x765f2b([0x53])][t[_0xe11914]>>0x18&0xff]^_0x4e134a>>0x18),_0x2b9bff[0x4*_0xe11914+0x1]=0xff&(_0x5d8a4d[_0x765f2b([0x53])][t[(_0xe11914+0x1)%0x4]>>0x10&0xff]^_0x4e134a>>0x10),_0x2b9bff[0x4*_0xe11914+0x2]=0xff&(_0x5d8a4d[_0x765f2b([0x53])][t[(_0xe11914+0x2)%0x4]>>0x8&0xff]^_0x4e134a>>0x8),_0x2b9bff[0x4*_0xe11914+0x3]=0xff&(_0x5d8a4d[_0x765f2b([0x53])][0xff&t[(_0xe11914+0x3)%0x4]]^_0x4e134a);return _0x2b9bff;}function _0x4059ed(){const _0x210e3c=_0x5d8a4d[_0x765f2b([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x3c38a2[_0x765f2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x5bb571=0x0;_0x5bb571<=_0x210e3c;_0x5bb571++)_0x197ca0[_0x765f2b([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x328733[_0x765f2b([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x3a1871=0x4*(_0x210e3c+0x1),_0x588e1a=_0x3c38a2[_0x765f2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x3de789=_0x5d9df7(_0x3c38a2);let _0x2adeb2;for(let _0x553647=0x0;_0x553647<_0x588e1a;_0x553647++)_0x2adeb2=_0x553647>>0x2,_0x197ca0[_0x2adeb2][_0x553647%0x4]=_0x3de789[_0x553647],_0x328733[_0x210e3c-_0x2adeb2][_0x553647%0x4]=_0x3de789[_0x553647];let _0x53ec97,_0x5187f8=0x0,t=_0x588e1a;for(;t<_0x3a1871;){_0x53ec97=_0x3de789[_0x588e1a-0x1],_0x3de789[0x0]^=_0x5d8a4d[_0x765f2b([0x53])][_0x53ec97>>0x10&0xff]<<0x18^_0x5d8a4d[_0x765f2b([0x53])][_0x53ec97>>0x8&0xff]<<0x10^_0x5d8a4d[_0x765f2b([0x53])][0xff&_0x53ec97]<<0x8^_0x5d8a4d[_0x765f2b([0x53])][_0x53ec97>>0x18&0xff]^_0x5d8a4d[_0x765f2b([0x72,0x63,0x6f,0x6e])][_0x5187f8]<<0x18,_0x5187f8+=0x1;for(let _0x125fa6=0x1;_0x125fa6<_0x588e1a/0x2;_0x125fa6++)_0x3de789[_0x125fa6]^=_0x3de789[_0x125fa6-0x1];_0x53ec97=_0x3de789[_0x588e1a/0x2-0x1],_0x3de789[_0x588e1a/0x2]^=_0x5d8a4d[_0x765f2b([0x53])][0xff&_0x53ec97]^_0x5d8a4d[_0x765f2b([0x53])][_0x53ec97>>0x8&0xff]<<0x8^_0x5d8a4d[_0x765f2b([0x53])][_0x53ec97>>0x10&0xff]<<0x10^_0x5d8a4d[_0x765f2b([0x53])][_0x53ec97>>0x18&0xff]<<0x18;for(let _0xf7db5d=_0x588e1a/0x2+0x1;_0xf7db5d<_0x588e1a;_0xf7db5d++)_0x3de789[_0xf7db5d]^=_0x3de789[_0xf7db5d-0x1];let _0x4c3ae6,_0x2001f8,_0x398c7a=0x0;for(;_0x398c7a<_0x588e1a&&t<_0x3a1871;)_0x4c3ae6=t>>0x2,_0x2001f8=t%0x4,_0x197ca0[_0x4c3ae6][_0x2001f8]=_0x3de789[_0x398c7a],_0x328733[_0x210e3c-_0x4c3ae6][_0x2001f8]=_0x3de789[_0x398c7a++],t++;}for(let _0xf2ad08=0x1;_0xf2ad08<_0x210e3c;_0xf2ad08++)for(let _0x2a4b1c=0x0;_0x2a4b1c<0x4;_0x2a4b1c++)_0x53ec97=_0x328733[_0xf2ad08][_0x2a4b1c],_0x328733[_0xf2ad08][_0x2a4b1c]=_0x5d8a4d[_0x765f2b([0x55,0x31])][_0x53ec97>>0x18&0xff]^_0x5d8a4d[_0x765f2b([0x55,0x32])][_0x53ec97>>0x10&0xff]^_0x5d8a4d[_0x765f2b([0x55,0x33])][_0x53ec97>>0x8&0xff]^_0x5d8a4d[_0x765f2b([0x55,0x34])][0xff&_0x53ec97];}}function _0x765f2b(_0x34d444){return _0x34d444['map'](_0x1f19e1=>String['fromCharCode'](_0x1f19e1))['join']('');}(_0x220018=>{function _0x4dd0a9(){const _0x1ef524=[{[_0x765f2b([0x69,0x64])]:0x1,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x765f2b([0x69,0x64])]:0x2,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([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]),[_0x765f2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x765f2b([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x765f2b([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x765f2b([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x765f2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x765f2b([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x765f2b([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x765f2b([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x765f2b([0x69,0x64])]:0x3,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x765f2b([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x765f2b([0x69,0x64])]:0x4,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([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]),[_0x765f2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x765f2b([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x765f2b([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x765f2b([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x765f2b([0x69,0x64])]:0x5,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x765f2b([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]),[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x765f2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x765f2b([0x66,0x67,0x69])]:[0xc]}},{[_0x765f2b([0x69,0x64])]:0x6,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x765f2b([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x765f2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x765f2b([0x66,0x67,0x69])]:[0xc]}},{[_0x765f2b([0x69,0x64])]:0x7,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x765f2b([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x765f2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x765f2b([0x66,0x67,0x69])]:[0xc]}},{[_0x765f2b([0x69,0x64])]:0x8,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x765f2b([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]),[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x765f2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x765f2b([0x66,0x67,0x69])]:[0xc]}},{[_0x765f2b([0x69,0x64])]:0x9,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x765f2b([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x765f2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x765f2b([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x765f2b([0x69,0x64])]:0xa,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([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]),[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x765f2b([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]),[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x765f2b([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]),[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x765f2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x765f2b([0x66,0x67,0x69])]:[0xc]}},{[_0x765f2b([0x69,0x64])]:0xb,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x765f2b([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x765f2b([0x69,0x64])]:0xc,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x765f2b([0x69,0x64])]:0xd,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x765f2b([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x765f2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x765f2b([0x66,0x67,0x69])]:[0xc]}},{[_0x765f2b([0x69,0x64])]:0xe,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x765f2b([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([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])},{[_0x765f2b([0x69,0x64])]:0xf,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x765f2b([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x765f2b([0x69,0x64])]:0x10,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x765f2b([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x765f2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x765f2b([0x66,0x67,0x69])]:[0xc]}}];return _0x15f4bb(_0x1ef524),_0x1ef524;function _0x36d4da(_0x364954){return 0x1<<_0x364954-0x1;}function _0x15f4bb(_0x231fcb){_0x231fcb[_0x765f2b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x109c5d=>{_0x109c5d[_0x765f2b([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x36d4da(_0x109c5d[_0x765f2b([0x69,0x64])]),_0x268601(_0x109c5d)&&_0x109c5d[_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x15f4bb(_0x109c5d[_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x268601(_0xb61f97){return _0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0xb61f97;}const _0x224449=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x5478d2=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x4a21eb(_0xcdb4ee){const _0x3057f5=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x5bb1c4(_0xcdb4ee,new Uint8Array([..._0x224449,..._0x3057f5,..._0x5478d2]));}function _0x5bb1c4(_0x4a254c,_0x28c411){const _0x47cc8c=_0x3c6b70(_0x4a254c),_0x51ea4b=Array[_0x765f2b([0x66,0x72,0x6f,0x6d])](_0x203931(_0x47cc8c)),_0x1e3de5=_0x51ea4b[_0x765f2b([0x70,0x6f,0x70])](),_0x590dc0=_0x51ea4b[_0x765f2b([0x70,0x6f,0x70])]();return _0x2bc818(_0x279da8(_0x51ea4b,_0x28c411,_0x590dc0+0x100*_0x1e3de5));}function _0x3c6b70(_0x572d61){const _0x4f044a=atob(_0x572d61),[_0x8b011b,_0x2e212b]=_0x4f044a[_0x765f2b([0x73,0x70,0x6c,0x69,0x74])](_0x765f2b([0x2d]));try{if(atob(_0x2e212b))return atob(_0x8b011b);}catch(_0x504ffc){}return _0x4f044a;}function _0x1d50da(_0x45495f){try{const _0x954907=_0x4a21eb(_0x45495f),_0xe40e00=JSON[_0x765f2b([0x70,0x61,0x72,0x73,0x65])](_0x954907),_0x2173e7=parseInt(_0xe40e00[_0x765f2b([0x31])]),_0x2c820e=_0xe40e00[_0x765f2b([0x32])]||'',_0xe1abad=parseInt(_0xe40e00[_0x765f2b([0x33])]),_0x5b2050=parseInt(_0xe40e00[_0x765f2b([0x34])])||0x0,_0x51434e=parseInt(_0xe40e00[_0x765f2b([0x35])])||0x0;return{[_0x765f2b([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x2c820e,[_0x765f2b([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x5b2050,[_0x765f2b([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x2173e7,[_0x765f2b([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0xe1abad,[_0x765f2b([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x51434e};}catch(_0xb234f1){return null;}}const _0x43367e=_0x4dd0a9(),_0x1fbd3b={[_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x4e4dcd,[_0x765f2b([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])]:_0x328348,[_0x765f2b([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])]:_0xaa3a98},_0x182c0b=_0x220018[_0x765f2b([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x15f61c=_0x765f2b([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x220018?_0x220018['context']:_0x220018['editor'],_0x25cb9d=_0x765f2b([0x34,0x30,0x34,0x38,0x31,0x36,0x30,0x32]),_0x131be6=_0x765f2b([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]),_0x4260db=_0x15f61c['config']['get'](_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x1a4044=_0x43367e[_0x765f2b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x268601)[_0x765f2b([0x66,0x69,0x6e,0x64])](_0x289b3b=>_0x289b3b[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x182c0b);function _0x5be7dd(_0x32eebb,_0x1b88df){_0x1fbd3b[_0x1b88df[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x32eebb,_0x1b88df),_0x1b88df[_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1b88df[_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x765f2b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x257af3=>_0x4c4213(_0x15f61c,_0x257af3[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x765f2b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ff0ce=>_0x5be7dd(_0x32eebb,_0x2ff0ce));}function _0x4e4dcd(_0x209d17,_0x43d848){_0xd38f56(_0x56ff58(_0x209d17,_0x43d848),_0x43d848);}function _0x328348(_0x52c90f,_0x4b7a78){function _0x5f4328(_0xbe0c4d,_0x526a59){try{if(_0x4c4213(_0x15f61c,_0x765f2b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0xbe0c4d){const _0x16db0f=_0x3fd95a(_0x15f61c,_0x765f2b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x765f2b([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x16db0f)/0x2>_0xbe0c4d[_0x765f2b([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x283ef1(_0x526a59[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x56ff58(_0xbe0c4d,_0x526a59);}catch(_0x57acee){return _0x283ef1(_0x526a59[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0xd38f56(_0x5f4328(_0x52c90f,_0x4b7a78),_0x4b7a78);}function _0xaa3a98(_0x5524d3,_0x1c6d3a){const _0x4e0267=_0x5478d2[0x0]*_0x224449[0x1],_0x236491=_0x5478d2[0x0]*_0x224449[0x2],_0x35f372=_0x5478d2[0x2]*_0x224449[0x2];_0x4c4213(_0x15f61c,_0x765f2b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3fd95a(_0x15f61c,_0x765f2b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x765f2b([0x73,0x74,0x61,0x74,0x65])]==_0x765f2b([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0xb36436()]=_0x35f372);function _0x17dfd4(_0x3257d3,_0x21bad6){try{return _0x8cb25c()?_0x283ef1(_0x21bad6[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x56,0x61,0x6c,0x69,0x64])):_0x56ff58(_0x3257d3,_0x21bad6);}catch(_0x9eb9cc){return _0x283ef1(_0x21bad6[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x2fc4dc(_0x52ae53,_0x1de571){const _0x37d38f=0x7;if(_0x52ae53==_0x1de571[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x321cc2();else{if(_0x52ae53==_0x1de571[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x54,0x72,0x69,0x61,0x6c])){const _0x575d91=_0x39ded2();_0x575d91&&_0x3f4f79(_0x575d91,_0x1de571[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x3f29ad=_0x1d12eb();window[_0x765f2b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3f4f79(_0x765f2b([0x74,0x69,0x6d,0x65]),_0x1de571[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x3f29ad);const _0x334267=_0x3fd95a(_0x15f61c,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x765f2b([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x334267[_0x765f2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x37d38f?_0x3f4f79(_0x765f2b([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1de571[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x334267['on'](_0x765f2b([0x61,0x64,0x64]),()=>{_0x334267[_0x765f2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x37d38f&&_0x3f4f79(_0x765f2b([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1de571[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x39ded2(){if(!_0x4c4213(_0x15f61c,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x57846f in window)if(Number['isNaN'](Number(_0x57846f))){if(window[_0x57846f]===_0x4e0267)return _0x765f2b([0x74,0x69,0x6d,0x65]);if(window[_0x57846f]===_0x236491)return _0x765f2b([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x8cb25c(){if(!_0x4c4213(_0x15f61c,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x399221 in window)if(Number['isNaN'](Number(_0x399221))&&window[_0x399221]===_0x35f372)return!0x0;return!0x1;}function _0x3f4f79(_0x16795f,_0x242020){_0x321cc2(),_0x283ef1(_0x242020+_0x765f2b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x16795f),window[_0xb36436()]=_0x16795f===_0x765f2b([0x74,0x69,0x6d,0x65])?_0x4e0267:_0x236491;}function _0x1d12eb(){let _0x577386=_0x5478d2[0x6]*_0x224449[0x8]*_0x224449[0x6];return _0x4c4213(_0x15f61c,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x577386/=0xa),_0x577386;}function _0x321cc2(){const _0x480e1d=_0x15f61c;function _0x4cd5e4(){_0x4c4213(_0x480e1d,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x3fd95a(_0x480e1d,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x765f2b([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x765f2b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3fd95a(_0x480e1d,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x765f2b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3fd95a(_0x480e1d,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x765f2b([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x249525,_0x3fd95a(_0x480e1d,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x765f2b([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x249525,_0x480e1d[_0x765f2b([0x6d,0x6f,0x64,0x65,0x6c])][_0x765f2b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x249525,_0x480e1d[_0x765f2b([0x6d,0x6f,0x64,0x65,0x6c])][_0x765f2b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x249525,_0x480e1d[_0x765f2b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x765f2b([0x6d,0x6f,0x64,0x65,0x6c]))),_0x4c4213(_0x480e1d,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3fd95a(_0x480e1d,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x765f2b([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x765f2b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3fd95a(_0x480e1d,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x765f2b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3fd95a(_0x480e1d,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x765f2b([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x249525,_0x3fd95a(_0x480e1d,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x765f2b([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x249525);}_0x480e1d[_0x765f2b([0x73,0x74,0x61,0x74,0x65])]==_0x765f2b([0x72,0x65,0x61,0x64,0x79])?_0x4cd5e4():_0x480e1d[_0x765f2b([0x6f,0x6e,0x63,0x65])](_0x765f2b([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x4c4213(_0x480e1d,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x4cd5e4(),_0x4c4213(_0x480e1d,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x1c1e79=_0x3fd95a(_0x480e1d,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x58d4cf=_0x1c1e79['getRevision'](0x0),_0x4aabad=_0x1c1e79['getEarlierVisibleRevision'](_0x58d4cf[_0x765f2b([0x69,0x64])]);_0x3fd95a(_0x480e1d,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x765f2b([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x58d4cf[_0x765f2b([0x69,0x64])],_0x4aabad?_0x4aabad[_0x765f2b([0x69,0x64])]:null,0x1)['then'](()=>_0x4cd5e4());}});}_0x2fc4dc(_0x17dfd4(_0x5524d3,_0x1c6d3a),_0x1c6d3a);}function _0x56ff58(_0x4a77a9,_0x358fa4){try{return _0x4043a9(_0x358fa4)?_0x283ef1(_0x358fa4[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x56,0x61,0x6c,0x69,0x64])):_0x4a77a9&&_0x38e7ce(_0x4a77a9[_0x765f2b([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x358fa4)?_0x4a77a9[_0x765f2b([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x765f2b([0x6f,0x70,0x65,0x6e])][_0x765f2b([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x25cb9d)/0x2>_0x4a77a9[_0x765f2b([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x283ef1(_0x358fa4[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x4a77a9[_0x765f2b([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x283ef1(_0x358fa4[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x54,0x72,0x69,0x61,0x6c])):_0x283ef1(_0x358fa4[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x56,0x61,0x6c,0x69,0x64])):_0x283ef1(_0x358fa4[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x59cd12){return _0x283ef1(_0x358fa4[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0xd38f56(_0x71e2,_0x510711){if(_0x15f61c instanceof _0x19b76f){const _0x2f13b8=_0x15f61c;_0x71e2==_0x510711[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0xe79a9e(_0x2f13b8):_0x71e2==_0x510711[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x54,0x72,0x69,0x61,0x6c])&&window[_0x765f2b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xe79a9e(_0x2f13b8),_0x283ef1(_0x510711[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x5478d2[0x6]*_0x224449[0x8]*_0x224449[0x6]),_0x2f13b8[_0x765f2b([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x765f2b([0x6f,0x6e])](_0x765f2b([0x61,0x64,0x64]),(_0x41779e,_0x3bde9e)=>{_0x71e2!=_0x510711[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x71e2!=_0x510711[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x71e2!=_0x510711[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x35f925(_0x3bde9e);});}else{const _0xf46820=_0x15f61c;_0x71e2==_0x510711[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x35f925(_0xf46820):_0x71e2==_0x510711[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x54,0x72,0x69,0x61,0x6c])&&_0xf46820[_0x765f2b([0x6f,0x6e])](_0x765f2b([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x466160=0x0;_0xf46820[_0x765f2b([0x6d,0x6f,0x64,0x65,0x6c])][_0x765f2b([0x6f,0x6e])](_0x765f2b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xd0be53,_0x4896f0)=>{_0x4896f0[0x0][_0x765f2b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x466160++,0x1f8===_0x466160&&(_0x35f925(_0xf46820),_0x283ef1(_0x510711[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0xd0be53[_0x765f2b([0x6f,0x66,0x66])]());},{'priority':_0x765f2b([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x283ef1(_0x266169){const _0x20eeb9=_0xb36436();return _0x15f61c[_0x20eeb9]=_0x266169,_0x266169;}function _0xb36436(){const _0x2d50d3=String(window[_0x765f2b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x765f2b([0x6e,0x6f,0x77])]())[_0x765f2b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x765f2b([0x2e]),'');let _0xe39eb9='';for(let _0x26765c=0x0;_0x26765c<_0x2d50d3[_0x765f2b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26765c+=0x2){let _0x411f7d=parseInt(_0x2d50d3[_0x765f2b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26765c,_0x26765c+0x2));_0x411f7d>=_0x131be6[_0x765f2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x411f7d-=_0x131be6[_0x765f2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xe39eb9+=_0x131be6[_0x411f7d];}return _0xe39eb9;}function _0xe79a9e(_0x33d457){for(const _0x4106eb of _0x33d457[_0x765f2b([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x35f925(_0x4106eb);_0x3fd95a(_0x33d457,_0x765f2b([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x765f2b([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x3fd95a(_0x33d457,_0x765f2b([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x765f2b([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x249525;}function _0x35f925(_0x58e66a){function _0x502908(){_0x58e66a[_0x765f2b([0x6d,0x6f,0x64,0x65,0x6c])][_0x765f2b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x249525,_0x58e66a[_0x765f2b([0x6d,0x6f,0x64,0x65,0x6c])][_0x765f2b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x249525,_0x58e66a[_0x765f2b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x765f2b([0x6d,0x6f,0x64,0x65,0x6c]));}_0x58e66a[_0x765f2b([0x73,0x74,0x61,0x74,0x65])]==_0x765f2b([0x72,0x65,0x61,0x64,0x79])?_0x502908():_0x58e66a[_0x765f2b([0x6f,0x6e,0x63,0x65])](_0x765f2b([0x72,0x65,0x61,0x64,0x79]),()=>_0x502908());}function _0x249525(){return null;}function _0x38e7ce(_0x37f5b5,_0x30fb0a){const _0x45295f=!!(_0x37f5b5&_0x30fb0a[_0x765f2b([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x584b10=_0x480f7b(_0x37f5b5,_0x30fb0a);return _0x45295f||_0x584b10;}function _0x480f7b(_0x55be37,_0x48170c){const _0x5b563b=(_0x48170c[_0x765f2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x765f2b([0x66,0x67,0x69])]||null;return!!_0x5b563b&&_0x43367e[_0x765f2b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x31098b=>_0x5b563b[_0x765f2b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31098b[_0x765f2b([0x69,0x64])]))[_0x765f2b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d7522=>!_0x3fb4c4(_0x5d7522))[_0x765f2b([0x73,0x6f,0x6d,0x65])](_0x2b31ff=>!!(_0x55be37&_0x2b31ff[_0x765f2b([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x3fb4c4(_0x142f65){const _0x47d12a={[_0x765f2b([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])]:_0x1e4c17};return!!_0x142f65['forbiddenHandler']&&_0x47d12a[_0x142f65['forbiddenHandler']]();}function _0x1e4c17(){return!window[_0x765f2b([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x4c4213(_0x15f61c,_0x765f2b([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x4043a9(_0x5f1b3b){if(!_0x4c4213(_0x15f61c,_0x5f1b3b[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x917f8=_0x5f1b3b[_0x765f2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x53395=_0x917f8[_0x765f2b([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x50ad9d=_0x917f8[_0x765f2b([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x4ab0bc=_0x917f8[_0x765f2b([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x4c4213(_0x15f61c,_0x765f2b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3fd95a(_0x15f61c,_0x765f2b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x765f2b([0x73,0x74,0x61,0x74,0x65])]==_0x765f2b([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x53395)return!0x0;if(_0x4c4213(_0x15f61c,_0x765f2b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x3fd95a(_0x15f61c,_0x765f2b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x765f2b([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x765f2b([0x65,0x6e,0x64])&&_0x50ad9d)return!0x0;return!(!_0x4c4213(_0x15f61c,_0x765f2b([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]))||_0x3fd95a(_0x15f61c,_0x765f2b([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]))[_0x765f2b([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x765f2b([0x65,0x6e,0x64])||!_0x4ab0bc);}function _0x4c4213(_0x5cd009,_0x2510c2){return _0x5cd009[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x765f2b([0x68,0x61,0x73])](_0x2510c2);}function _0x3fd95a(_0x409e37,_0x40c51e){return _0x409e37[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x765f2b([0x67,0x65,0x74])](_0x40c51e);}function _0x2bc818(_0x139739){let _0x4652a9='';for(const _0x45419d of _0x139739)_0x4652a9+=String[_0x765f2b([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x45419d);return _0x4652a9;}function _0x203931(_0x2a7140){const _0x45f3cf=new Uint8Array(_0x2a7140[_0x765f2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x3ed963=0x0;_0x3ed963<_0x2a7140[_0x765f2b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ed963++)_0x45f3cf[_0x3ed963]=_0x2a7140[_0x765f2b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3ed963);return _0x45f3cf;}_0x1a4044&&_0x5be7dd(_0x1d50da(_0x4260db),_0x1a4044);})(_0x14cae8);}(this);}['createRevision'](_0x4dbc40){const _0x293f38=this['editor']['plugins']['get']('Users');return new a({'id':_0x4dbc40['id'],'name':_0x4dbc40['name'],'creator':_0x4dbc40['creatorId']?_0x293f38['getUser'](_0x4dbc40['creatorId']):null,'diffData':_0x4dbc40['diffData']||_0x4dbc40['data'],'authors':_0x4dbc40['authorsIds']['map'](_0x814650=>_0x293f38['getUser'](_0x814650)),'createdAt':new Date(_0x4dbc40['createdAt']),'attributes':_0x4dbc40['attributes'],'fromVersion':_0x4dbc40['fromVersion'],'toVersion':_0x4dbc40['toVersion']});}['addRevision'](_0x1867f2,_0x271506=0x0){this['_revisions']['add'](_0x1867f2,_0x271506);}['getRevision'](_0xfdc498){return this['_revisions']['get'](_0xfdc498);}['getRevisions'](_0x18d53d={'toJSON':!0x1}){const _0x533997=Array['from'](this['_revisions']);return _0x533997['reverse'](),_0x18d53d['toJSON']?_0x533997['map'](_0x1f5898=>_0x1f5898['toJSON']()):_0x533997;}['getIndex'](_0x20bd2c){return this['_revisions']['getIndex'](_0x20bd2c);}['getEarlierVisibleRevision'](_0x1a2687){const [,_0x113dad]=this['getRevisionsIterator'](_0x1a2687,{'direction':'earlier'});return _0x113dad;}['getLaterVisibleRevision'](_0x141933){const [,_0x1079a8]=this['getRevisionsIterator'](_0x141933,{'direction':'later'});return _0x1079a8;}['getRevisionsInDiff'](_0x1fdbea){const _0x40ff4e=[];for(const _0x4019c2 of this['getRevisionsIterator'](_0x1fdbea['newRevisionId']))if(_0x40ff4e['push'](_0x4019c2),_0x4019c2['id']===_0x1fdbea['oldRevisionId'])break;return _0x40ff4e;}*['getRevisionsIterator'](_0x45fcbd,{direction:_0x3d88ff='earlier',filter:_0x1cfe81=_0x4f9596=>!0x0}={}){const _0x175e28='earlier'===_0x3d88ff?0x1:-0x1;let _0x297838=this['_revisions']['get'](_0x45fcbd),_0x2810b8=this['getIndex'](_0x297838);for(yield _0x297838;_0x297838;){if(_0x2810b8+=_0x175e28,_0x297838=this['getRevision'](_0x2810b8),!_0x297838)return;_0x1cfe81(_0x297838)&&(yield _0x297838);}}}function y(_0x31e1d9,_0x43e853,_0x3a5261){const t=_0x31e1d9['t'];switch(_0x43e853){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'},_0x3a5261);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x3a5261);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'Accept':return t('Accept');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':_0x205e76,'a':_0x4aad0a,'e':_0x53ca70,'r':_0xd607d1,'u':_0x29da65};class l extends _0x162d59{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x3da019,A,_0x695b82];}constructor(_0x59065b){super(_0x59065b),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 _0x4afbae=_0x47fc8d();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x4afbae},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 _0x34fbf4=this['repository']['getRevision'](0x0),_0x10247b=_0x34fbf4&&null===_0x34fbf4['creator']?_0x34fbf4:null;if(this['_continueCurrentRevision']=!!_0x10247b&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x5a920e=this['_source']['getCurrentRevisionId'](),_0x5af2c3=this['repository']['getRevision'](_0x5a920e);if(_0x5af2c3)this['_startingVersion']=_0x5af2c3['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x5ce67e=this['_source']['history']['_operations']['find'](_0x12e917=>!_0x12e917['_isInit']),_0xb9d517=_0x5ce67e?_0x5ce67e['baseVersion']:this['_source']['history']['version'];_0x34fbf4?(_0x34fbf4['toVersion']<_0xb9d517&&_0x34fbf4['_update']({'toVersion':_0xb9d517}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x10247b['id'],this['_startingVersion']=_0x10247b['fromVersion']):(this['_startingVersion']=_0x34fbf4['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0xb9d517,this['_continueCurrentRevision']=!0x1);}}else _0x10247b&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x10247b['toVersion'],this['editor']['model']['document']['history']['version']),_0x10247b['fromVersion']===_0x10247b['toVersion']?(0x0!==_0x10247b['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x10247b['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x10247b['id'],this['_startingVersion']=_0x10247b['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',_0xe191c5=>!_0xe191c5);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x2e243f=this['repository']['getRevision'](0x0),_0x4a15d2=await this['getRevisionDocumentData'](_0x2e243f),_0x472635=await this['getRevisionRootsAttributes'](_0x2e243f);this['_replaceEditorDataWithRevisionData'](_0x4a15d2,_0x472635);}}['setSource'](_0x4b4924){this['_source']=_0x4b4924;}async['update'](){const _0x306c87=await this['_source']['getLatestVersion']();if(_0x306c87>this['currentRevision']['toVersion']){await this['_loadState']();const _0x30b438=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x306c87});_0x30b438['authors']=_0x30b438['authorsIds']['map'](_0x5e6794=>this['editor']['plugins']['get']('Users')['getUser'](_0x5e6794)),this['currentRevision']['_update'](_0x30b438);}}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'](_0xeb2416={},_0x489ab6=null){const _0x4daa40=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x489ab6>this['currentRevision']['toVersion']&&(_0x489ab6=null),null===_0x489ab6&&(_0x489ab6=await this['_source']['getLatestVersion']());const _0x5c98a6=this['_getFromVersion'](_0x489ab6),_0x5e6e8a=this['buildRevisionData']({'from':_0x5c98a6,'to':_0x489ab6});if(this['currentRevision']['toVersion']<_0x489ab6){const _0x49fcb6=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x489ab6,'to':_0x489ab6});_0x49fcb6['authors']=[],_0x49fcb6['authorsIds']=[],_0x49fcb6['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x49fcb6,!0x0),delete _0x49fcb6['authors'],_0x4daa40['push'](_0x49fcb6);}_0xeb2416['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0xeb2416['name']=_0xeb2416['name']||null,_0xeb2416['id']=_0xeb2416['id']||_0x47fc8d(),_0xeb2416={..._0xeb2416,..._0x5e6e8a};const _0x3ca0de=this['addRevisionData'](_0xeb2416);_0x4daa40['push'](_0xeb2416);const _0xc1c829=this['repository']['getIndex'](_0x3ca0de);if(0x0!==_0xc1c829){const _0x1f1680=this['repository']['getRevision'](_0xc1c829-0x1);if(_0x1f1680['fromVersion']!==_0x489ab6){const _0x18f40e=this['_revisionDataBuilder']['getData'](_0x489ab6,_0x1f1680['toVersion']),_0x4dd8a5={'id':_0x1f1680['id'],'diffData':_0x18f40e['diffData'],'authorsIds':_0x18f40e['authorsIds'],'authors':_0x18f40e['authorsIds']['map'](_0x596a66=>this['editor']['plugins']['get']('Users')['getUser'](_0x596a66)),'fromVersion':_0x489ab6};_0x1f1680===this['currentRevision']&&(_0x4dd8a5['createdAt']=new Date(_0xeb2416['createdAt']['getTime']()+0xa)),_0x1f1680['_update'](_0x4dd8a5,!0x0),delete _0x4dd8a5['authors'],_0x4daa40['push'](_0x4dd8a5);}}if(this['adapter']){for(const _0xda4369 of _0x4daa40)this['_bufferUpdate'](_0xda4369['id'],_0xda4369,!0x0);this['sendBufferedUpdates']();}return _0x3ca0de;}['addRevisionData'](_0x537353){const _0x4525d7=this['repository']['createRevision'](_0x537353);return this['adapter']&&_0x4525d7['on']('_update',(_0x2e027b,_0x1ae4da,_0x4e041b)=>{_0x4e041b||(this['_bufferUpdate'](_0x1ae4da['id'],_0x1ae4da,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x4525d7,this['_findInsertionIndex'](_0x4525d7)),_0x4525d7;}async['getRevisionDocumentData'](_0x50bb91){await this['_loadRevisionData'](_0x50bb91);const _0x97d8eb={};for(const _0x488b84 in _0x50bb91['diffData']){if(_0x50bb91['diffData'][_0x488b84]['attachChange']&&!_0x50bb91['diffData'][_0x488b84]['attachChange']['isAttached'])continue;const _0x34ca26=this['_removeRevisionMarkers'](JSON['parse'](_0x50bb91['diffData'][_0x488b84]['insertions'])),_0x37c44b=this['editor']['editing']['view']['document'],_0x208f69=new _0x29a951(_0x37c44b,_0x34ca26['map'](_0x12941a=>B(_0x12941a,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x97d8eb[_0x488b84]=this['editor']['data']['processor']['toData'](_0x208f69),this['editor']['data']['processor']['useFillerType']('default');}return _0x97d8eb;}async['getRevisionRootsAttributes'](_0x1adb99){await this['_loadRevisionData'](_0x1adb99);const _0x928a47={};for(const _0x433a1e in _0x1adb99['diffData'])_0x1adb99['diffData'][_0x433a1e]['attachChange']&&!_0x1adb99['diffData'][_0x433a1e]['attachChange']['isAttached']||(_0x928a47[_0x433a1e]=_0x1adb99['diffData'][_0x433a1e]['attributesAfter']||{});return _0x928a47;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x44184f=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0xb918d=0x0;_0xb918d<_0x44184f['length'];_0xb918d++){const _0x15f714=_0x44184f[_0xb918d];let _0x3a8c37=!0x1;for(const _0x17e8ab of Object['keys'](_0x15f714))void 0x0===_0x15f714[_0x17e8ab]?delete _0x15f714[_0x17e8ab]:'id'!==_0x17e8ab&&(_0x3a8c37=!0x0);_0x3a8c37||(_0x44184f[_0xb918d]=null);}if(_0x44184f=_0x44184f['filter'](_0x4595d3=>null!==_0x4595d3),!_0x44184f['length'])return;for(let _0xe74d72=0x0;_0xe74d72<_0x44184f['length'];_0xe74d72++){const _0x2105c0=_0x44184f[_0xe74d72];void 0x0!==_0x2105c0['fromVersion']&&void 0x0===_0x2105c0['toVersion']&&(_0x2105c0['toVersion']=this['repository']['getRevision'](_0x2105c0['id'])['toVersion']),void 0x0!==_0x2105c0['toVersion']&&void 0x0===_0x2105c0['fromVersion']&&(_0x2105c0['fromVersion']=this['repository']['getRevision'](_0x2105c0['id'])['fromVersion']);}const _0x490f70=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x44184f,_0x490f70)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x1ffcac=>{if(_0x1ffcac){for(const _0x2cd0d7 of _0x1ffcac)this['setRevisionData']({'id':_0x2cd0d7['id'],'createdAt':_0x2cd0d7['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x275cf6,_0x545cb7){let _0x825db=this['editor']['config']['get']('initialData'),_0x4a35b6=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x825db){_0x825db={};for(const _0x5c8d05 of this['editor']['model']['document']['getRootNames']())_0x825db[_0x5c8d05]='';}if('string'==typeof _0x825db&&(_0x825db={'main':_0x825db}),void 0x0===_0x4a35b6){_0x4a35b6={};for(const _0x2423b9 of this['editor']['model']['document']['getRootNames']())_0x4a35b6[_0x2423b9]={};}let _0xb3b4ea=!0x1;const _0x12e993=Object['keys'](_0x825db),_0x1605a1=Object['keys'](_0x275cf6);for(const _0x577ea7 of _0x12e993){if(_0x825db[_0x577ea7]!==_0x275cf6[_0x577ea7]&&''!==_0x825db[_0x577ea7]['trim']()){_0xb3b4ea=!0x0;break;}if(!_0x2b6fd2(_0x4a35b6[_0x577ea7],_0x545cb7[_0x577ea7])&&Object['keys'](_0x4a35b6[_0x577ea7])['length']>0x0){_0xb3b4ea=!0x0;break;}}_0xb3b4ea||(_0xb3b4ea=_0x1605a1['some'](_0x251392=>!this['editor']['model']['document']['getRoot'](_0x251392))),_0xb3b4ea&&_0xfce053('editor-initial-data-replaced-with-revision-data',{'editorData':_0x825db,'editorRootsAttributes':_0x4a35b6,'revisionData':_0x275cf6,'revisionRootsAttributes':_0x545cb7}),this['editor']['config']['set']('initialData',_0x275cf6),this['editor']['config']['set']('rootsAttributes',_0x545cb7);}['_addPendingAction'](){if(!this['_pendingAction']){const _0xc6977c=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0xc6977c['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x1fe7f9){const _0x53ae7b=this['repository']['getRevisions']();_0x53ae7b['reverse']();let _0x50fd58=0x0;for(;_0x50fd58<_0x53ae7b['length'];){const _0x18b971=_0x53ae7b[_0x50fd58];if(_0x18b971===this['currentRevision']){_0x50fd58++;continue;}if(_0x18b971['id']===this['_initialRevisionId'])break;const _0x5c1049=_0x1fe7f9['toVersion']-_0x18b971['toVersion']||_0x1fe7f9['fromVersion']-_0x18b971['fromVersion'];if(_0x5c1049>0x0)break;if(_0x5c1049<0x0)_0x50fd58++;else{if(!_0x1fe7f9['creator']&&_0x18b971['creator'])break;if(_0x18b971['creator']||!_0x1fe7f9['creator']){if(_0x1fe7f9['createdAt']>_0x18b971['createdAt'])break;_0x50fd58++;}else _0x50fd58++;}}return _0x50fd58;}['setRevisionData'](_0x1f9278){const _0x11d439=this['repository']['getRevision'](_0x1f9278['id']);if(_0x1f9278['createdAt']&&(_0x1f9278['createdAt']=new Date(_0x1f9278['createdAt'])),_0x1f9278['authorsIds']){const _0x5f2f50=this['editor']['plugins']['get']('Users');_0x1f9278['authors']=_0x1f9278['authorsIds']['map'](_0x5e3d6b=>_0x5f2f50['getUser'](_0x5e3d6b));}_0x11d439['_update'](_0x1f9278,!0x0);}['buildRevisionData']({revision:_0xc22a26=null,from:_0x1d1845=null,to:_0x5ddacf=null}){_0x1d1845=null!==_0x1d1845?_0x1d1845:_0xc22a26['fromVersion'],_0x5ddacf=null!==_0x5ddacf?_0x5ddacf:_0xc22a26['toVersion'];const _0x5ae71d=this['_revisionDataBuilder']['getData'](_0x1d1845,_0x5ddacf),_0x46f233={'diffData':_0x5ae71d['diffData'],'authorsIds':_0x5ae71d['authorsIds'],'fromVersion':_0x1d1845,'toVersion':_0x5ddacf};if(!_0xc22a26||_0x5ddacf!==_0xc22a26['toVersion']){const _0x1ff4a5=_0x5ddacf-0x1,_0x99063c=this['_source']['history']['getOperation'](_0x1ff4a5);_0x46f233['createdAt']=_0x99063c&&_0x99063c['createdAt']||new Date();}if(this['_loadedStateData']&&_0x1d1845===this['_loadedStateData']['fromVersion']){for(const _0x5abf1b of this['_loadedStateData']['authors'])_0x46f233['authorsIds']['includes'](_0x5abf1b['id'])||_0x46f233['authorsIds']['push'](_0x5abf1b['id']);}return _0x46f233;}['_loadRevisionData'](_0x45a449){if(!_0x45a449||_0x45a449['diffData'])return Promise['resolve']();{const _0x5a05f8=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x5a05f8,'revisionId':_0x45a449['id']})['then'](_0x5912cf=>{_0x45a449['diffData']=_0x5912cf['diffData'];});}}['_bufferUpdate'](_0x8461d9,_0x1a1f65,_0x1b1cbd){if(this['_bufferedUpdates']['has'](_0x8461d9)){const _0x1ea99d=this['_bufferedUpdates']['get'](_0x8461d9);_0x1a1f65=_0x1b1cbd?{..._0x1ea99d,..._0x1a1f65}:{..._0x1a1f65,..._0x1ea99d};}this['_bufferedUpdates']['set'](_0x8461d9,_0x1a1f65);}['_getFromVersion'](_0x1b0509){const _0x321ca9=this['repository']['getRevisions']();_0x321ca9['reverse'](),_0x321ca9['shift']();const _0x3c8f15=_0x321ca9['find'](_0x79ab5e=>_0x79ab5e['toVersion']<=_0x1b0509)['toVersion'];return _0x3c8f15<this['_startingVersion']?this['_startingVersion']:_0x3c8f15;}['_createInitialRevision'](_0x163eca){const _0x35414d=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x35414d)this['_initialRevisionId']=_0x35414d['id'];else{const _0x19f764=!this['editor']['model']['document']['roots']['find'](_0x3b73df=>this['editor']['model']['hasContent'](_0x3b73df)),_0x57e311=this['editor']['plugins']['get']('Users')['me']['id'],_0x2401d3=y(this['editor']['locale'],_0x19f764?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x163eca,'to':_0x163eca,'id':this['_initialRevisionId'],'name':_0x2401d3,'creatorId':_0x57e311});}}['_createCurrentRevision'](_0x5cb62e){const _0x2dc5fe=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x2dc5fe),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x5cb62e,'to':_0x5cb62e,'id':_0x2dc5fe,'name':'','creatorId':null}));}['_makeRevision']({name:_0x1d1058,from:_0xdd6b40,to:_0x40cd66,creatorId:_0x37a986,id:_0xd96b5e}){const _0x4fc531=this['buildRevisionData']({'from':_0xdd6b40,'to':_0x40cd66});_0x4fc531['name']=_0x1d1058,_0x4fc531['creatorId']=_0x37a986,_0x4fc531['id']=_0xd96b5e;const _0x5aa5f6=this['addRevisionData'](_0x4fc531);return this['adapter']&&this['_bufferUpdate'](_0x4fc531['id'],_0x4fc531,!0x0),_0x5aa5f6;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x1c8d40){return(_0x1c8d40=_0x1c8d40['filter'](_0x304fd3=>!_0x304fd3['name']||'revision-start'!==_0x304fd3['name']&&'revision-end'!==_0x304fd3['name']))['forEach'](_0x17417d=>{'string'!=typeof _0x17417d&&(_0x17417d['children']=this['_removeRevisionMarkers'](_0x17417d['children']),_0x17417d['attributes']=_0x17417d['attributes']['filter'](_0x3e7603=>!_0x3e7603[0x0]['startsWith']('data-revision-')));}),_0x1c8d40;}}function B(_0x811c04,_0x326d87){const _0x37e696=_0x326d87['editing']['view']['document'];if('string'==typeof _0x811c04)return new _0x301850(_0x37e696,_0x811c04);{const _0x1e1262=_0x811c04['children']['map'](_0x416137=>B(_0x416137,_0x326d87));return new(T[_0x811c04['type']]||_0x58bb25)(_0x37e696,_0x811c04['name'],_0x811c04['attributes'],_0x1e1262);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x587bc2){this['editor']=_0x587bc2,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'](_0x131b2d){this['source']=_0x131b2d;const _0x49c1df=new Map(),_0x1636fa=new Map(),_0x504a33=this['editor']['model']['document']['roots']['map'](_0x5fcd65=>_0x5fcd65['rootName']);for(const _0xc209d2 of _0x504a33){const _0x387a2d=this['editor']['model']['document']['getRoot'](_0xc209d2),_0x184f0e=q(_0x387a2d);_0x49c1df['set'](_0xc209d2,_0x184f0e),_0x1636fa['set'](_0xc209d2,Object['fromEntries'](_0x387a2d['getAttributes']()));}const _0x1b3a91=Array['from'](this['editor']['model']['markers'])['map'](_0x3c8c10=>[_0x3c8c10['name'],_0x3c8c10['getRange']()]),_0xc42a26=this['source']['version'];this['_saveMetaData'](_0xc42a26,_0x49c1df,_0x1b3a91,_0x1636fa),this['_startingRevisionId']=this['_revisionId'];const _0x717143=new Map(),_0x48e8e4=new Map();for(const _0x771e03 of _0x504a33){const _0xf4b9da=G(_0x771e03);_0x717143['set'](_0x771e03,_0xf4b9da),_0x48e8e4['set'](_0x771e03,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x717143,[],_0x48e8e4);}['getData'](_0x293f53,_0x1f1230){if(this['_lastFrom']===_0x293f53&&this['_lastTo']<=_0x1f1230)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x1f1230,!0x0);else{if(!this['_savedMetaData']['has'](_0x293f53)){const _0x5a5888=this['_getPreviousFrom'](_0x293f53);this['_calculateMetaData'](_0x5a5888,_0x293f53,!0x1);}this['_calculateMetaData'](_0x293f53,_0x1f1230,!0x0);}return this['_lastFrom']=_0x293f53,this['_lastTo']=_0x1f1230,this['_getState']();}['loadState'](_0x35e5ea){this['_reset'](),this['_lastFrom']=_0x35e5ea['fromVersion'],this['_lastTo']=_0x35e5ea['toVersion'];for(const _0x25b36e in _0x35e5ea['diffData']){const _0x487bda=_0x35e5ea['diffData'][_0x25b36e]['attachChange'],_0x4a01e4=_0x2fc470(_0x35e5ea['diffData'][_0x25b36e]['attributesBefore'])||{},_0x58e1d9=this['_makeModelFromViewString'](_0x35e5ea['diffData'][_0x25b36e]['deletions']);_0x58e1d9['rootName']=_0x25b36e,_0x58e1d9['_isAttached']=!_0x487bda||!_0x487bda['isAttached'],_0x58e1d9['isAttached']=()=>_0x58e1d9['_isAttached'],this['_baseRoots']['set'](_0x25b36e,_0x58e1d9),this['_baseRootsAttributes']['set'](_0x25b36e,_0x4a01e4),_0x487bda&&this['_touchedRoots']['set'](_0x25b36e,_0x487bda);const _0x3a8fe6=this['_makeIdsRoot'](_0x58e1d9);this['_baseIdsRoots']['set'](_0x25b36e,_0x3a8fe6);for(const [_0x32cde8,_0x28a40d]of _0x58e1d9['markers']){if(!_0x32cde8['startsWith']('revision:'))continue;const _0x390c8f=_0x32cde8['split'](':')[0x2];for(const _0x2dde14 of _0x28a40d['getWalker']({'singleCharacters':!0x0})){const _0x5a18c1=this['_getVidAttributeName'](_0x2dde14),_0x269768='elementEnd'==_0x2dde14['type']?_0x2dde14['previousPosition']['path']['slice'](0x0,-0x1):_0x2dde14['previousPosition']['path'],_0x17e1c0=_0x3a8fe6['getNodeByPath'](_0x269768)['getAttribute'](_0x5a18c1);this['_touched']['set'](_0x17e1c0,{'userId':_0x390c8f});}}}this['_startingRevisionId']=this['_revisionId'];const _0x529ade=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x33df37=>!this['_touched']['has'](_0x33df37));let _0x415c2f=0x0;const _0x2af8bf=new Map();for(const _0xdd8c88 in _0x35e5ea['diffData']){const _0x397aa8=_0x35e5ea['diffData'][_0xdd8c88]['attachChange'],_0x13357c=_0x2fc470(_0x35e5ea['diffData'][_0xdd8c88]['attributesAfter'])||{},_0x48cec8=this['_makeModelFromViewString'](_0x35e5ea['diffData'][_0xdd8c88]['insertions']);_0x48cec8['rootName']=_0xdd8c88,_0x48cec8['_isAttached']=!_0x397aa8||_0x397aa8['isAttached'],_0x48cec8['isAttached']=()=>_0x48cec8['_isAttached'],this['_diffRoots']['set'](_0xdd8c88,_0x48cec8),this['_diffRootsAttributes']['set'](_0xdd8c88,_0x13357c);const _0x561060=this['_makeIdsRoot'](_0x48cec8,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0xdd8c88,_0x561060),_0x2af8bf['set'](_0xdd8c88,_0x48cec8['isAttached']()?_0x13357c:{});for(const [_0x191bdd,_0x3ddd7a]of _0x48cec8['markers']){if(!_0x191bdd['startsWith']('revision:'))continue;const _0x3ff17e=_0x191bdd['split'](':')[0x2];for(const _0x513303 of _0x3ddd7a['getWalker']({'singleCharacters':!0x0})){const _0x2c1e4c=this['_getVidAttributeName'](_0x513303),_0x168fdb=this['_revisionId']++,_0x3d2b1e='elementEnd'==_0x513303['type']?_0x513303['previousPosition']['path']['slice'](0x0,-0x1):_0x513303['previousPosition']['path'];_0x561060['getNodeByPath'](_0x3d2b1e)['_setAttribute'](_0x2c1e4c,_0x168fdb),this['_touched']['set'](_0x168fdb,{'userId':_0x3ff17e});}}for(const _0x6c5f56 of this['editor']['model']['createRangeIn'](_0x48cec8)['getWalker']({'singleCharacters':!0x0})){const _0x5df489=this['_getVidAttributeName'](_0x6c5f56),_0x4a5b1d='elementEnd'==_0x6c5f56['type']?_0x6c5f56['previousPosition']['path']['slice'](0x0,-0x1):_0x6c5f56['previousPosition']['path'],_0x11018b=_0x561060['getNodeByPath'](_0x4a5b1d);_0x11018b['getAttribute'](_0x5df489)>0x0||_0x11018b['_setAttribute'](_0x5df489,_0x529ade[_0x415c2f++]);}for(const [_0x2173fb,_0x60ef3e]of _0x48cec8['markers'])_0x2173fb['startsWith']('revision:')||this['_markers']['set'](_0x2173fb,_0x60ef3e);}const _0x3b4ef9=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x3b4ef9),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x3b4ef9,0x1));const _0x1de076=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x1de076),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1de076,0x1));const _0x539891=Array['from'](this['_diffRoots'])['map'](([_0x180a48,_0x2d9726])=>[_0x180a48,q(_0x2d9726)]);this['_saveMetaData'](this['_lastTo'],_0x539891,this['_markers'],_0x2af8bf);}['_makeModelFromViewString'](_0x5699d3){const _0x1204bf=JSON['parse'](_0x5699d3),_0x4fd3d0=this['editor']['editing']['view']['document'],_0x418aba=new _0x29a951(_0x4fd3d0,_0x1204bf['map'](_0x2de308=>B(_0x2de308,this['editor'])));return this['editor']['data']['toModel'](_0x418aba);}['_saveMetaData'](_0x34bdc7,_0x4274f6,_0x2f5034,_0xc162da){const _0x3de7ab=new Map(_0x4274f6),_0x15537d=new Map(_0x2fc470(_0xc162da)),_0x33ea60=new Map();for(const [_0x5164f9,_0x52d793]of _0x2f5034)_0x33ea60['set'](_0x5164f9,{'start':_0x52d793['start']['clone'](),'end':_0x52d793['end']['clone'](),'rootName':_0x52d793['root']['rootName']});this['_savedMetaData']['set'](_0x34bdc7,{'roots':_0x3de7ab,'markers':_0x33ea60,'rootsAttributes':_0x15537d});}['_removeMetaData'](_0x507159){this['_savedMetaData']['delete'](_0x507159);}['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'](_0x412092,_0x10897a=null){let _0x56eb55=null;_0x412092['is']('documentFragment')||(_0x56eb55=new ft(_0x412092['name'],{'vid_start':null===_0x10897a?this['_revisionId']++:_0x10897a++}));const _0x39a433=[];for(const _0x23d944 of _0x412092['getChildren']())if(_0x23d944['is']('element')){_0x39a433['push'](this['_makeIdsRoot'](_0x23d944,_0x10897a));const _0x330602=_0x39a433[_0x39a433['length']-0x1];null!==_0x10897a&&(_0x10897a=_0x330602['is']('element','$text')?_0x330602['getAttribute']('vid')+0x1:_0x330602['getAttribute']('vid_end')+0x1);}else{for(let _0x2bc15a=0x0;_0x2bc15a<_0x23d944['offsetSize'];_0x2bc15a++)_0x39a433['push'](new ft('$text',{'vid':null===_0x10897a?this['_revisionId']++:_0x10897a++}));}if(_0x412092['is']('documentFragment')){const _0x57bc3f=G(_0x412092['rootName']);return _0x57bc3f['_insertChild'](0x0,_0x39a433),_0x57bc3f;}return _0x56eb55['_setAttribute']('vid_end',null===_0x10897a?this['_revisionId']++:_0x10897a++),_0x56eb55['_insertChild'](0x0,_0x39a433),_0x56eb55;}['_calculateMetaData'](_0x5e9791,_0x3fb75e,_0x46b76d){this['_reset']();const {roots:_0x4087d6,markers:_0x48939e,rootsAttributes:_0x29e767}=this['_savedMetaData']['get'](_0x5e9791);this['_baseRoots']=new Map(_0x4087d6),this['_baseRootsAttributes']=new Map(_0x2fc470(_0x29e767));for(const [_0x487f31,_0x1afb68]of this['_baseRoots'])if('$graveyard'!==_0x487f31&&(this['_diffRoots']['set'](_0x487f31,q(_0x1afb68)),this['_diffRootsAttributes']=new Map(_0x2fc470(_0x29e767)),_0x46b76d)){const _0x43d33e=this['_revisionId'];this['_idsRoots']['set'](_0x487f31,this['_makeIdsRoot'](_0x1afb68)),this['_baseIdsRoots']['set'](_0x487f31,this['_makeIdsRoot'](_0x1afb68,_0x43d33e));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x46b76d&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0xa2f332,_0x1624ac]of _0x48939e){const _0x354c2d=this['_baseRoots']['get'](_0x1624ac['rootName']),_0x4a1d2a=this['_diffRoots']['get'](_0x1624ac['rootName']),_0x415257=new vt(this['_fixPosition'](_0x1624ac['start'],_0x354c2d),this['_fixPosition'](_0x1624ac['end'],_0x354c2d)),_0x3d3fc6=this['_fixRange'](_0x415257,_0x4a1d2a);_0x354c2d['markers']['set'](_0xa2f332,_0x415257),this['_markers']['set'](_0xa2f332,_0x3d3fc6);}this['_applyOperations'](_0x5e9791,_0x3fb75e,_0x46b76d);}['_applyOperations'](_0x13194f,_0x3fd344,_0x127794){for(const _0xf6656a of this['source']['getOperations'](_0x13194f,_0x3fd344))this['_handleOperation'](_0xf6656a,_0x127794);for(const _0x162991 of this['_diffRoots']['values']())_0x162991['markers']['clear']();for(const [_0x10eedb,_0x378385]of this['_markers']){this['_diffRoots']['get'](_0x378385['root']['rootName'])['markers']['set'](_0x10eedb,_0x378385['clone']());}const _0x5a5fb6=new Map(),_0x1e6a8f=new Map();for(const [_0x25d957,_0x1a0a2b]of this['_diffRoots'])_0x5a5fb6['set'](_0x25d957,q(_0x1a0a2b)),_0x1e6a8f['set'](_0x25d957,this['_diffRootsAttributes']['get'](_0x25d957));this['_saveMetaData'](_0x3fd344,_0x5a5fb6,this['_markers'],_0x1e6a8f);}['_getPreviousFrom'](_0x4620ff){const _0x44334f=Array['from'](this['_savedMetaData']['keys']());_0x44334f['sort']((_0x1a3eb,_0x319402)=>_0x1a3eb-_0x319402),_0x44334f['reverse']();for(const _0x58800c of _0x44334f)if(_0x58800c<_0x4620ff)return _0x58800c;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x2225c3,_0x18c9b9){const _0x548ffb=Array['from'](_0x18c9b9['markers'])['map'](([_0x376399,_0x3a2b3f])=>[_0x376399,this['_fixRange'](_0x3a2b3f,_0x2225c3)]);_0x2225c3['markers']=new Map(_0x548ffb);}['_transformMarkers'](_0x3b13c9){for(const _0x168daf of this['_markers']['values']()){const _0x19aa80=_0x168daf['getTransformedByOperation'](_0x3b13c9),_0x1102d6=vt['_createFromRanges'](_0x19aa80);_0x168daf['start']=_0x1102d6['start'],_0x168daf['end']=_0x1102d6['end'];}}['_handleOperation'](_0x1277ee,_0x1826bf){if('addRoot'==_0x1277ee['type']||'detachRoot'==_0x1277ee['type'])return void this['_handleRootOperation'](_0x1277ee,_0x1826bf);if('insert'==_0x1277ee['type']){const _0x2ff245=_0x1277ee['position']['root']['rootName'];this['_diffRoots']['has'](_0x2ff245)||(this['_diffRoots']['set'](_0x2ff245,G(_0x2ff245,!0x0)),this['_diffRootsAttributes']['set'](_0x2ff245,{}),_0x1826bf&&this['_idsRoots']['set'](_0x2ff245,G(_0x2ff245,!0x0)));}else{if('addRootAttribute'==_0x1277ee['type']||'removeRootAttribute'==_0x1277ee['type']||'changeRootAttribute'==_0x1277ee['type'])return void this['_handleRootAttributeOperation'](_0x1277ee);}const _0x2d2f89=this['_cloneOperation'](_0x1277ee,this['_diffRoots']);if('marker'!==_0x1277ee['type']&&(_0x2d2f89['_execute'](),this['_transformMarkers'](_0x2d2f89)),_0x1826bf)switch(_0x2d2f89['type']){case'insert':this['_handleInsertOperation'](_0x1277ee);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x1277ee);break;case'merge':this['_handleMergeOperation'](_0x1277ee);break;case'split':this['_handleSplitOperation'](_0x1277ee);break;case'marker':this['_handleMarkerOperation'](_0x1277ee);}}['_cloneOperation'](_0x5ad40c,_0x3059ec){const _0x4c6658=_0x5ad40c['clone']();return _0x4c6658['_authorId']=_0x5ad40c['_authorId'],this['_fixOperation'](_0x4c6658,_0x3059ec),_0x4c6658;}['_getBaseVids'](_0x4a346e){return _0x4a346e['map'](_0x1b6453=>{const _0x2f76d9=this['_getVidAttributeName'](_0x1b6453);return Number(_0x1b6453['item']['getAttribute'](_0x2f76d9));});}['_generateTape'](_0x3bbf76,_0xf67ef){if(_0x3bbf76['is']('element','$text'))_0xf67ef['push']({'item':_0x3bbf76,'type':'text'});else{_0x3bbf76['is']('element')&&_0xf67ef['push']({'item':_0x3bbf76,'type':'elementStart'});for(const _0x2f7680 of _0x3bbf76['getChildren']())this['_generateTape'](_0x2f7680,_0xf67ef);_0x3bbf76['is']('element')&&_0xf67ef['push']({'item':_0x3bbf76,'type':'elementEnd'});}return _0xf67ef;}['_getState'](){const _0x41ac83=new Map(this['_touched']),_0x15d810=new Map(_0x41ac83),_0x17fb02=new Map(),_0x2009c9={'insertions':{},'deletions':{}},_0x30002e={'insertions':{},'deletions':{}},_0x4651c9=new Map(),_0x9ccd35=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x9ccd35['delete']('$graveyard');for(const _0xc0f6a6 of _0x9ccd35){const _0x344c05=this['_diffRoots']['get'](_0xc0f6a6)||G(_0xc0f6a6,!0x1),_0xeaaa1b=this['_baseRoots']['get'](_0xc0f6a6)||G(_0xc0f6a6,!0x1);_0x344c05['isAttached']()||_0xeaaa1b['isAttached']()?(_0x2009c9['insertions'][_0xc0f6a6]=q(_0x344c05),_0x2009c9['deletions'][_0xc0f6a6]=q(_0xeaaa1b),this['_copyMarkers'](_0x2009c9['deletions'][_0xc0f6a6],_0xeaaa1b),this['_copyMarkers'](_0x2009c9['insertions'][_0xc0f6a6],_0x344c05),_0x30002e['insertions'][_0xc0f6a6]=this['_generateTape'](this['_idsRoots']['get'](_0xc0f6a6),[]),_0x30002e['deletions'][_0xc0f6a6]=this['_generateTape'](this['_baseIdsRoots']['get'](_0xc0f6a6)||G(_0xc0f6a6,!0x1),[])):_0x9ccd35['delete'](_0xc0f6a6);}for(const _0x4ac637 of _0x9ccd35){const _0x2f5798=_0x30002e['insertions'][_0x4ac637];for(const _0x54f1b2 of _0x2f5798){const _0x1a4e98=this['_getVidAttributeName'](_0x54f1b2),_0x409d03=_0x54f1b2['item']['getAttribute'](_0x1a4e98);_0x15d810['delete'](_0x409d03),_0x409d03>=this['_startingRevisionId']&&_0x17fb02['set'](_0x409d03,_0x41ac83['get'](_0x409d03));}}for(const _0x3d4101 of _0x9ccd35){const _0x99bea3=_0x30002e['insertions'][_0x3d4101],_0x3e2db8=this['_getBaseVids'](_0x30002e['deletions'][_0x3d4101]);let _0x1ba329=0x0;for(const _0x3e425b of _0x99bea3){const _0x11b939=this['_getVidAttributeName'](_0x3e425b),_0x1caf19=_0x3e425b['item']['getAttribute'](_0x11b939);if(!_0x17fb02['has'](_0x1caf19)&&!_0x4651c9['has'](_0x1caf19)){if(_0x15d810['has'](_0x1caf19))_0x1ba329++;else{if(_0x1caf19!=_0x3e2db8[_0x1ba329]){const _0x344c72=_0x41ac83['get'](_0x1caf19)||_0x41ac83['get'](_0x3e2db8[_0x1ba329]);for(;_0x1caf19!=_0x3e2db8[_0x1ba329];)_0x15d810['has'](_0x3e2db8[_0x1ba329])||(_0x4651c9['set'](_0x3e2db8[_0x1ba329],_0x344c72),_0x41ac83['set'](_0x3e2db8[_0x1ba329],_0x344c72)),_0x1ba329++;}_0x1ba329++;}}}}for(const _0x4cecf2 of _0x9ccd35){const _0x521fb3=_0x30002e['insertions'][_0x4cecf2];for(const _0xa05627 of _0x521fb3){const _0x4df0eb=this['_getVidAttributeName'](_0xa05627),_0x3fd1a4=_0xa05627['item']['getAttribute'](_0x4df0eb);if(_0x4651c9['has'](_0x3fd1a4)){const _0x253dad=_0x4651c9['get'](_0x3fd1a4);_0x15d810['has'](_0x3fd1a4)||_0x15d810['set'](_0x3fd1a4,{..._0x253dad}),_0x17fb02['set'](_0x3fd1a4,{..._0x253dad});}}}for(const _0x583f0b of _0x15d810['keys']())_0x583f0b>=this['_startingRevisionId']&&_0x15d810['delete'](_0x583f0b);const _0x2c5a9b=new Map();for(const _0x4f3c70 of _0x9ccd35){let _0x94c2f7=_0x30002e['insertions'][_0x4f3c70];for(const _0x322b61 of _0x94c2f7)if(_0x322b61['item']['is']('element','tableCell')){const _0x1ce82b=this['_getVidAttributeName'](_0x322b61),_0xfc791=_0x322b61['item']['getAttribute'](_0x1ce82b);if(_0x17fb02['has'](_0xfc791)){const _0x131908=_0x322b61['item']['parent']['parent']['getAttribute']('vid_start'),_0x417444=_0x2c5a9b['get'](_0x131908)||new Set();_0x417444['add'](_0x17fb02['get'](_0xfc791)['userId']),_0x2c5a9b['set'](_0x131908,_0x417444);}}_0x94c2f7=_0x30002e['deletions'][_0x4f3c70];for(const _0xfd4a17 of _0x94c2f7)if(_0xfd4a17['item']['is']('element','tableCell')){const _0x162873=this['_getVidAttributeName'](_0xfd4a17),_0x5a59ed=_0xfd4a17['item']['getAttribute'](_0x162873);if(_0x15d810['has'](_0x5a59ed)){const _0x2c2553=_0xfd4a17['item']['parent']['parent']['getAttribute']('vid_start'),_0x57adf7=_0x2c5a9b['get'](_0x2c2553)||new Set();_0x57adf7['add'](_0x15d810['get'](_0x5a59ed)['userId']),_0x2c5a9b['set'](_0x2c2553,_0x57adf7);}}for(const _0x1122e5 of _0x2c5a9b['keys']())(_0x17fb02['has'](_0x1122e5)||_0x15d810['has'](_0x1122e5))&&_0x2c5a9b['delete'](_0x1122e5);}for(const _0x15d5b8 of _0x9ccd35){const _0x4064ca=_0x30002e['insertions'][_0x15d5b8];let _0x37d681=null,_0x5ab819=null;for(const _0x44ce3a of _0x4064ca){const _0x872643=this['_getVidAttributeName'](_0x44ce3a),_0x4b521f=_0x44ce3a['item']['getAttribute'](_0x872643),_0x28be5b=_0x2c5a9b['get'](_0x4b521f);_0x28be5b&&'elementStart'==_0x44ce3a['type']&&(_0x37d681=Array['from'](_0x28be5b)[0x0],_0x5ab819=_0x44ce3a['item']['getAttribute']('vid_end')),_0x37d681&&(_0x15d810['set'](_0x4b521f,{'userId':_0x37d681}),_0x17fb02['set'](_0x4b521f,{'userId':_0x37d681})),_0x4b521f==_0x5ab819&&(_0x37d681=null,_0x5ab819=null);}}const _0x55beca={},_0x2278fa=new Set();for(const _0x48a344 of _0x9ccd35){const _0x2e7a38=_0x2009c9['deletions'][_0x48a344],_0x217f5a=_0x2009c9['insertions'][_0x48a344];for(const {userId:_0x54320a}of this['_touchedMarkers']['values']())null!==_0x54320a&&_0x2278fa['add'](_0x54320a);for(const {userId:_0x5509ec}of this['_touchedRoots']['values']())null!==_0x5509ec&&_0x2278fa['add'](_0x5509ec);this['_markChanges'](_0x217f5a,_0x30002e['insertions'][_0x48a344],_0x17fb02,'insertion',_0x2278fa),this['_markChanges'](_0x2e7a38,_0x30002e['deletions'][_0x48a344],_0x15d810,'deletion',_0x2278fa),_0x55beca[_0x48a344]={'insertions':this['_prepareViewToSave'](_0x217f5a),'deletions':this['_prepareViewToSave'](_0x2e7a38),'attachChange':this['_touchedRoots']['get'](_0x48a344)||null,'attributesBefore':_0x2fc470(this['_baseRootsAttributes']['get'](_0x48a344))||{},'attributesAfter':_0x2fc470(this['_diffRootsAttributes']['get'](_0x48a344))};}return{'diffData':_0x55beca,'authorsIds':Array['from'](_0x2278fa)};}['_processRootBeforeSave'](_0x1db0eb){for(const [,_0x5d3fc9]of _0x1db0eb['markers']){const _0x23f474=_0x5d3fc9['start']['getAncestors']()['filter'](_0x98d52f=>'tableCell'==_0x98d52f['name']);for(const _0x25e99d of _0x23f474)0x1==_0x25e99d['childCount']&&_0x25e99d['getChild'](0x0)['is']('element','paragraph')&&_0x25e99d['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x3d9cf7){this['_processRootBeforeSave'](_0x3d9cf7);const _0x398910=this['editor']['data']['toView'](_0x3d9cf7,{}),_0xd2b375=Array['from'](_0x398910['getChildren']())['map'](_0x3bd529=>this['_getViewJson'](_0x3bd529));return JSON['stringify'](_0xd2b375);}['_getViewJson'](_0x55ab43){if(_0x55ab43['is']('$text'))return _0x55ab43['data'];{const _0x459ea3=_0x55ab43;return{'type':Object['keys'](T)['find'](_0x957bc0=>_0x55ab43 instanceof T[_0x957bc0]),'name':_0x459ea3['name'],'attributes':Array['from'](_0x459ea3['getAttributes']()),'children':Array['from'](_0x459ea3['getChildren']())['map'](_0x2352c7=>this['_getViewJson'](_0x2352c7))};}}['_markChanges'](_0x5a206d,_0x55a3aa,_0x357eac,_0x548db4,_0x266ad4){let _0x9db89d=null,_0x233018=null,_0x3a87b4=0x0;const _0x5c586e=this['editor']['model'];for(let _0x4606d1=0x0;_0x4606d1<_0x55a3aa['length'];_0x4606d1++){const _0x91d692=this['_getVidAttributeName'](_0x55a3aa[_0x4606d1]),_0x2f67ae=_0x55a3aa[_0x4606d1]['item']['getAttribute'](_0x91d692),_0xa37e9=_0x357eac['get'](_0x2f67ae),_0x961cfc=_0x4606d1==_0x55a3aa['length']-0x1;(!_0x9db89d&&_0xa37e9&&(_0x9db89d=_0xa37e9,_0x233018=_0x55a3aa[_0x4606d1]),_0x9db89d&&(!_0xa37e9||_0xa37e9['userId']!=_0x9db89d['userId']))&&(_0x49602a(_0xa37e9,L(_0x233018,_0x5a206d,_0x5c586e),L(_0x55a3aa[_0x4606d1],_0x5a206d,_0x5c586e)),_0x9db89d=_0xa37e9||null,_0x233018=_0xa37e9?_0x55a3aa[_0x4606d1]:null),_0x9db89d&&_0x961cfc&&_0x49602a(_0xa37e9,L(_0x233018,_0x5a206d,_0x5c586e),W(_0x55a3aa[_0x4606d1],_0x5a206d,_0x5c586e));}function _0x49602a(_0x1b2d21,_0x1a7a70,_0x14a6e1){const _0x18c305=_0x9db89d['userId'],_0x307fb5='revision:'+_0x548db4+':'+_0x18c305+':'+_0x3a87b4++,_0x4d947d=_0x5c586e['createRange'](_0x1a7a70,_0x14a6e1);_0x5a206d['markers']['set'](_0x307fb5,_0x4d947d),null!==_0x18c305&&_0x266ad4['add'](_0x18c305);}}['_getVidAttributeName'](_0x38a402){switch(_0x38a402['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x25ae2c,_0x51c838){_0x25ae2c['baseVersion']=null;for(const _0x48fe21 in _0x25ae2c){const _0x17e74a=_0x25ae2c[_0x48fe21];if(_0x17e74a instanceof gt){const _0x44846b=_0x51c838['get'](_0x17e74a['root']['rootName']);_0x25ae2c[_0x48fe21]=this['_fixPosition'](_0x17e74a,_0x44846b);}if(_0x17e74a instanceof vt){const _0x4e0f14=_0x51c838['get'](_0x17e74a['root']['rootName']);_0x25ae2c[_0x48fe21]=this['_fixRange'](_0x17e74a,_0x4e0f14);}'root'===_0x48fe21&&(_0x25ae2c['root']=_0x51c838['get'](_0x25ae2c['root']['rootName']));}}['_fixRange'](_0xc01be9,_0x5a204a){return this['editor']['model']['createRange'](this['_fixPosition'](_0xc01be9['start'],_0x5a204a),this['_fixPosition'](_0xc01be9['end'],_0x5a204a));}['_fixPosition'](_0x478446,_0x58a1d6){return this['editor']['model']['createPositionFromPath'](_0x58a1d6,_0x478446['path'],_0x478446['stickiness']);}['_handleInsertOperation'](_0x319794){const _0x391d33=this['_idsRoots']['get'](_0x319794['position']['root']['rootName']),_0x5c3cf4=this['_fixPosition'](_0x319794['position'],_0x391d33),_0x21f550=null===_0x319794['_authorId']?null:_0x319794['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x9c3664=_0x5c3cf4['parent'],_0xa92a9a=this['_revisionId'],_0x47201c=[];for(const _0x15f96c of _0x319794['nodes'])if(_0x15f96c['is']('element'))_0x47201c['push'](this['_makeIdsRoot'](_0x15f96c));else{for(let _0x41f93c=0x0;_0x41f93c<_0x15f96c['offsetSize'];_0x41f93c++)_0x47201c['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x3a4e5d=this['_revisionId'];for(let _0x390ffb=_0xa92a9a;_0x390ffb<_0x3a4e5d;_0x390ffb++)this['_touched']['set'](_0x390ffb,{'userId':_0x21f550});_0x9c3664['_insertChild'](_0x5c3cf4['offset'],_0x47201c);}['_handleMoveOperation'](_0x40f964){(_0x40f964=this['_cloneOperation'](_0x40f964,this['_idsRoots']))['_execute']();const _0x328232=null===_0x40f964['_authorId']?null:_0x40f964['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4b5d99=_0x40f964['getMovedRangeStart'](),_0x4465a2=_0x4b5d99['parent'],_0x175df4=_0x4b5d99['offset'];!function _0x157e84(_0x3eb281,_0x345ec7,_0x5c48b9,_0x5cf830){for(let _0x57b47a=_0x5c48b9;_0x57b47a<_0x5cf830;_0x57b47a++){const _0x3f24da=_0x345ec7['getChild'](_0x57b47a);_0x3f24da['is']('element','$text')?_0x3eb281['set'](_0x3f24da['getAttribute']('vid'),{'userId':_0x328232}):(_0x3eb281['set'](_0x3f24da['getAttribute']('vid_start'),{'userId':_0x328232}),_0x157e84(_0x3eb281,_0x3f24da,0x0,_0x3f24da['childCount']),_0x3eb281['set'](_0x3f24da['getAttribute']('vid_end'),{'userId':_0x328232}));}}(this['_touched'],_0x4465a2,_0x175df4,_0x175df4+_0x40f964['howMany']);}['_handleMergeOperation'](_0x36086c){const _0x378d2d=null===(_0x36086c=this['_cloneOperation'](_0x36086c,this['_idsRoots']))['_authorId']?null:_0x36086c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x394620=_0x36086c['targetPosition']['parent'],_0xcf67a0=_0x36086c['sourcePosition']['parent'],_0x2344b0=_0x394620['getAttribute']('vid_end'),_0x4cc50f=_0xcf67a0['getAttribute']('vid_start');_0x394620['_setAttribute']('vid_end',_0xcf67a0['getAttribute']('vid_end')),_0xcf67a0['_setAttribute']('vid_end',_0x2344b0),this['_touched']['set'](_0x4cc50f,{'userId':_0x378d2d}),this['_touched']['set'](_0x2344b0,{'userId':_0x378d2d}),_0x36086c['_execute']();}['_handleSplitOperation'](_0x32a232){const _0xca2831=null===(_0x32a232=this['_cloneOperation'](_0x32a232,this['_idsRoots']))['_authorId']?null:_0x32a232['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x9e37f3=_0x32a232['graveyardPosition'],_0x14bc84=_0x32a232['splitPosition']['parent'];_0x32a232['_execute']();const _0x51490a=_0x14bc84['getAttribute']('vid_end'),_0x3aa9d3=_0x32a232['insertionPosition']['nodeAfter'];if(_0x9e37f3){const _0x293de4=_0x3aa9d3['getAttribute']('vid_end'),_0x27ef0c=_0x14bc84['getAttribute']('vid_end');_0x14bc84['_setAttribute']('vid_end',_0x293de4),_0x3aa9d3['_setAttribute']('vid_end',_0x27ef0c),this['_touched']['set'](_0x14bc84['getAttribute']('vid_end'),{'userId':_0xca2831}),this['_touched']['set'](_0x3aa9d3['getAttribute']('vid_start'),{'userId':_0xca2831});}else{const _0x394d06=this['_revisionId']++,_0x1fdb88=this['_revisionId']++;_0x14bc84['_setAttribute']('vid_end',_0x394d06),_0x3aa9d3['_setAttribute']('vid_start',_0x1fdb88),_0x3aa9d3['_setAttribute']('vid_end',_0x51490a),this['_touched']['set'](_0x394d06,{'userId':_0xca2831}),this['_touched']['set'](_0x1fdb88,{'userId':_0xca2831});}}['_handleMarkerOperation'](_0x215311){if(!_0x215311['affectsData'])return;const _0x5d6fab=(_0x215311=this['_cloneOperation'](_0x215311,this['_diffRoots']))['oldRange']?_0x215311['oldRange']['root']:null,_0x3781c6=_0x215311['newRange']?_0x215311['newRange']['root']:null;_0x5d6fab&&this['_markers']['delete'](_0x215311['name']),_0x3781c6&&this['_markers']['set'](_0x215311['name'],_0x215311['newRange']['clone']());const _0x52b030=null===_0x215311['_authorId']?null:_0x215311['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5bebf0=_0x215311['name'];if(!this['_touchedMarkers']['has'](_0x5bebf0))return void this['_touchedMarkers']['set'](_0x5bebf0,{'range':_0x215311['oldRange'],'userId':_0x52b030});const _0x4bc748=this['_touchedMarkers']['get'](_0x5bebf0),_0x16c74b=_0x4bc748['range'],_0x5848cb=_0x215311['newRange'];null==_0x16c74b&&null==_0x5848cb||_0x16c74b&&_0x5848cb&&_0x16c74b['isEqual'](_0x5848cb)?this['_touchedMarkers']['delete'](_0x215311['name']):_0x4bc748['userId']=_0x52b030;}['_handleRootOperation'](_0xef28fc,_0x1f3219){this['_diffRoots']['has'](_0xef28fc['rootName'])?this['_diffRoots']['get'](_0xef28fc['rootName'])['_isAttached']=_0xef28fc['isAdd']:(this['_diffRoots']['set'](_0xef28fc['rootName'],G(_0xef28fc['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0xef28fc['rootName'],{}),_0x1f3219&&this['_idsRoots']['set'](_0xef28fc['rootName'],G(_0xef28fc['rootName'],!0x0)));const _0x3f97ee=null===_0xef28fc['_authorId']?null:_0xef28fc['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x57d3da=this['_touchedRoots']['get'](_0xef28fc['rootName']);_0x57d3da&&_0x57d3da['userId']===_0x3f97ee?this['_touchedRoots']['delete'](_0xef28fc['rootName']):this['_touchedRoots']['set'](_0xef28fc['rootName'],{'userId':_0x3f97ee,'isAttached':_0xef28fc['isAdd']});}['_handleRootAttributeOperation'](_0x127be5){const _0x5ababb=this['_diffRootsAttributes']['get'](_0x127be5['root']['rootName']);null===_0x127be5['newValue']?delete _0x5ababb[_0x127be5['key']]:_0x5ababb[_0x127be5['key']]=_0x127be5['newValue'];}}function q(_0x849003){const _0x2e7503=G(_0x849003['rootName'],_0x849003['isAttached']());for(const _0x285661 of _0x849003['getChildren']()){const _0x402d73=_0x285661['_clone'](!0x0);_0x2e7503['_appendChild'](_0x402d73);}return _0x2e7503;}function G(_0x121974,_0x221e41=!0x0){const _0x533c79=new wt();return _0x533c79['rootName']=_0x121974,_0x533c79['_isAttached']=_0x221e41,_0x533c79['isAttached']=()=>_0x533c79['_isAttached'],_0x533c79;}function L(_0x1ce01b,_0x152c4f,_0x3de54b){const _0x2106e2='elementEnd'==_0x1ce01b['type']?_0x3de54b['createPositionAt'](_0x1ce01b['item'],'end'):_0x3de54b['createPositionBefore'](_0x1ce01b['item']);return _0x3de54b['createPositionFromPath'](_0x152c4f,_0x2106e2['path'],_0x2106e2['stickiness']);}function W(_0x3e7ad2,_0x254d1e,_0x321ef6){const _0x559ae3='elementStart'==_0x3e7ad2['type']?_0x321ef6['createPositionAt'](_0x3e7ad2['item'],0x0):_0x321ef6['createPositionAfter'](_0x3e7ad2['item']);return _0x321ef6['createPositionFromPath'](_0x254d1e,_0x559ae3['path'],_0x559ae3['stickiness']);}class ns extends _0xead4de{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x58af88,_0x43794e){super(_0x58af88),this['focusTracker']=new _0x12da40(),this['keystrokes']=new _0x9284fc(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x43794e),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'](),_0x84e38b({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x1af473=_0x292917=>_0x292917['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1af473),this['keystrokes']['set']('arrowleft',_0x1af473),this['keystrokes']['set']('arrowup',_0x1af473),this['keystrokes']['set']('arrowdown',_0x1af473);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x47b583){this['revisionNameInputView']['fieldView']['element']['value']=_0x47b583['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x1c83ca){const _0x2f6b6f=new at(this['locale'],_0x468462),_0x29e831=_0x2f6b6f['fieldView'];_0x29e831['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x16ea33=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x1c83ca&&(_0x16ea33+='\x20('+y(this['locale'],'optional')+')'),(_0x2f6b6f['label']=_0x16ea33,_0x29e831['on']('input',()=>{this['revisionNameInputValue']=_0x29e831['element']['value']['trim']();}),_0x2f6b6f);}}class u extends _0x162d59{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x4acd41=this['editor'],_0x71b3cd=_0x4acd41['plugins']['get']('RevisionTracker');_0x4acd41['ui']['componentFactory']['add']('revisionHistory',_0xdf2858=>{const _0x24f5eb=_0x401773(_0xdf2858),_0x3d73b9=_0x24f5eb['panelView']['children'],_0x35b140=new te(_0xdf2858),_0x731c5a=new _0x15d8bf(_0xdf2858),_0x149f27=new _0x2951af(_0xdf2858),_0x1b922e=new _0x15d8bf(_0xdf2858),_0x4fb628=new _0x2951af(_0xdf2858);return _0x24f5eb['bind']('isEnabled')['to'](_0x71b3cd,'isReady',_0x71b3cd,'isEnabled',_0x4acd41,'isReadOnly',(_0x448f02,_0x5b4cc1,_0x11ed7d)=>_0x448f02&&_0x5b4cc1&&!_0x11ed7d),_0x24f5eb['buttonView']['set']({'icon':_0x29b1c2['history'],'label':y(_0xdf2858,'Revision\x20history'),'tooltip':!0x0}),_0x149f27['set']({'label':y(_0xdf2858,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x149f27['bind']('isEnabled')['to'](_0x71b3cd,'isReady',_0x71b3cd,'isEnabled',_0x4acd41,'isReadOnly',(_0x4e6a13,_0x590382,_0x23e034)=>_0x4e6a13&&_0x590382&&!_0x23e034),_0x149f27['on']('execute',()=>this['_showDialog']()),_0x4fb628['set']({'label':y(_0xdf2858,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x4fb628['bind']('isEnabled')['to'](_0x71b3cd,'isReady',_0x4acd41,'isReadOnly',(_0x29aa8a,_0x3dd0f6)=>_0x29aa8a&&!_0x3dd0f6),_0x4fb628['on']('execute',()=>{_0x4acd41['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x24f5eb['isOpen']=!0x1,_0x4acd41['editing']['view']['focus']();}),_0x731c5a['children']['add'](_0x149f27),_0x1b922e['children']['add'](_0x4fb628),_0x35b140['role']='menu',_0x35b140['items']['addMany']([_0x731c5a,_0x1b922e]),_0x3d73b9['add'](_0x35b140),_0x24f5eb;}),_0x4acd41['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x29d109=this['editor'],_0x4efc57=_0x29d109['locale'],_0x2d8217=new _0x469852(_0x4efc57),_0x565e76=new _0x1a5e4c(_0x4efc57);_0x2d8217['buttonView']['set']({'icon':_0x29b1c2['history'],'label':y(_0x4efc57,'Revision\x20history')});const _0x3d1e03=new _0x370ec0(_0x4efc57,_0x2d8217),_0x3c9f78=new _0xcb316f(_0x4efc57);_0x3c9f78['set']({'label':y(_0x4efc57,'Save\x20current\x20revision')}),_0x3c9f78['delegate']('execute')['to'](_0x2d8217),_0x3c9f78['on']('execute',()=>{this['_showDialog']();}),_0x3d1e03['children']['add'](_0x3c9f78),_0x565e76['items']['add'](_0x3d1e03);const _0x4ae36c=new _0x370ec0(_0x4efc57,_0x2d8217),_0x56d707=new _0xcb316f(_0x4efc57);return _0x56d707['set']({'label':y(_0x4efc57,'Open\x20revision\x20history')}),_0x56d707['delegate']('execute')['to'](_0x2d8217),_0x56d707['on']('execute',()=>{_0x29d109['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x4ae36c['children']['add'](_0x56d707),_0x565e76['items']['add'](_0x4ae36c),_0x2d8217['panelView']['children']['add'](_0x565e76),_0x2d8217;}['_showDialog'](){const _0x2ab2fb=this['editor'],_0x2814c3=_0x2ab2fb['locale'],_0x861cbe=_0x2ab2fb['plugins']['get']('Dialog'),_0x58bcf2=_0x2ab2fb['plugins']['get']('RevisionTracker');function _0x5edaf6(_0x4a6db6){_0x2ab2fb['config']['get']('revisionHistory.requireRevisionName')&&''===_0x4a6db6['revisionName']?_0x4a6db6['revisionNameInputView']['errorText']=y(_0x2814c3,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x2ab2fb['plugins']['get'](l)['saveRevision']({'name':_0x4a6db6['revisionName']}),_0x861cbe['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x5edaf6(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x861cbe['show']({'id':'revisionSave','title':y(_0x2814c3,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x2ab2fb['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x861cbe['hide']()},{'label':y(_0x2ab2fb['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x11c2c2){_0x11c2c2['bind']('isEnabled')['to'](_0x58bcf2,'isReady',_0x58bcf2,'isEnabled',_0x2ab2fb,'isReadOnly',(_0x208d04,_0xff36aa,_0x39f09f)=>_0x208d04&&_0xff36aa&&!_0x39f09f);},'onExecute':()=>_0x5edaf6(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x26cb11=this['editor'],_0x199470=_0x26cb11['locale'];this['_saveRevisionFormView']=new ns(_0x199470,_0x26cb11['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0xead4de{['changeId'];['_model'];constructor(_0x44d477,_0x1f7458){super(_0x44d477),this['_model']=_0x1f7458,this['changeId']=_0x1f7458['id'];const _0x8649=this['bindTemplate'],_0x55e607=y(_0x44d477,_0x1f7458['data']['isSuggestion']?'Suggested\x20by':'add'==_0x1f7458['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x1f7458['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x8649['to']('type',_0x14b0f6=>'ck-revision-change__'+_0x14b0f6)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x55e607}]},{'text':'\x20'+_0x1f7458['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x25f62f(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x48bbd8){super(),this['id']=_0x48bbd8['id']||_0x47fc8d(),this['author']=_0x48bbd8['author'],this['type']=_0x48bbd8['type'],this['data']=_0x48bbd8['data']||{},this['rootName']=_0x48bbd8['rootName'],this['set']('createdAt',_0x48bbd8['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(_0x5c8661,_0x394ac3){this['newRevisionId']=_0x5c8661,this['oldRevisionId']=_0x394ac3,this['changes']=new _0x4ac82c();}['_setChanges'](_0x4142e6){for(const _0x1c3afd of _0x4142e6)this['changes']['add'](_0x1c3afd);}}const tt={'c':_0x205e76,'a':_0x4aad0a,'e':_0x53ca70,'r':_0xd607d1,'u':_0x29da65};class d extends _0x162d59{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x3da019,_0x3a6843,A];}constructor(_0x15f1ab){super(_0x15f1ab),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',(_0x46080c,_0x4ab02e,_0x275f0e)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x4b32bc=>{for(const _0x1cf59b of this['editor']['editing']['view']['document']['roots'])_0x275f0e?_0x4b32bc['removeClass']('ck-editor__editable__overlay',_0x1cf59b):_0x4b32bc['addClass']('ck-editor__editable__overlay',_0x1cf59b);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x5db393=>null!==_0x5db393),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x3bec17,_0x13d1b8,_0x4b9d4c)=>_0x3bec17&&_0x4b9d4c?_0x13d1b8['changes']['getIndex'](_0x4b9d4c):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x5456b5,_0x3e92d5)=>_0x5456b5?_0x3e92d5['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x3a6843);}['init'](){const _0x55d589=this['editor'],_0x328271=new yt(_0x55d589,{'direction':'backward'}),_0x2953e2=new yt(_0x55d589,{'direction':'forward'});(_0x55d589['commands']['add']('showPreviousChange',_0x328271),_0x55d589['commands']['add']('showNextChange',_0x2953e2),_0x55d589['commands']['add']('restoreRevision',new bt(_0x55d589)),this['on']('change:numberOfChanges',()=>{_0x328271['refresh'](),_0x2953e2['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x55d589['enableReadOnlyMode']('revision-viewer'),_0x55d589['plugins']['has']('WidgetToolbarRepository'))&&_0x55d589['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x365150){await this['loadRevisionData'](_0x365150);const _0x161ec0={};for(const _0x3531b2 in _0x365150['diffData']){if(_0x365150['diffData'][_0x3531b2]['attachChange']&&!_0x365150['diffData'][_0x3531b2]['attachChange']['isAttached'])continue;const _0x7a5ef4=this['_removeRevisionMarkers'](JSON['parse'](_0x365150['diffData'][_0x3531b2]['insertions'])),_0x15c6ee=this['editor']['editing']['view']['document'],_0x1659c2=new _0x29a951(_0x15c6ee,_0x7a5ef4['map'](_0x29a630=>this['_getViewObj'](_0x29a630)));this['editor']['data']['processor']['useFillerType']('marked'),_0x161ec0[_0x3531b2]=this['editor']['data']['processor']['toData'](_0x1659c2),this['editor']['data']['processor']['useFillerType']('default');}return _0x161ec0;}async['getRevisionRootsAttributes'](_0x284c92){await this['loadRevisionData'](_0x284c92);const _0x4cbdef={};for(const _0x202d77 in _0x284c92['diffData'])_0x284c92['diffData'][_0x202d77]['attachChange']&&!_0x284c92['diffData'][_0x202d77]['attachChange']['isAttached']||(_0x4cbdef[_0x202d77]=_0x284c92['diffData'][_0x202d77]['attributesAfter']||{});return _0x4cbdef;}['_removeRevisionMarkers'](_0x2c2cf8){return(_0x2c2cf8=_0x2c2cf8['filter'](_0x4654b4=>!_0x4654b4['name']||'revision-start'!==_0x4654b4['name']&&'revision-end'!==_0x4654b4['name']))['forEach'](_0x4efc98=>{'string'!=typeof _0x4efc98&&(_0x4efc98['children']=this['_removeRevisionMarkers'](_0x4efc98['children']),_0x4efc98['attributes']=_0x4efc98['attributes']['filter'](_0x270cab=>!_0x270cab[0x0]['startsWith']('data-revision-')));}),_0x2c2cf8;}async['compare'](_0x9bd56b,_0x5ce258,_0x3b05a4=!0x1){if(!this['isEnabled'])return;const _0x81c0e7=this['diff'],_0x1d1d94=this['repository'],_0x2b69e5='string'==typeof _0x9bd56b?_0x1d1d94['getRevision'](_0x9bd56b):_0x9bd56b,_0x3e3a55='string'==typeof _0x5ce258?_0x1d1d94['getRevision'](_0x5ce258):_0x5ce258,_0x523494=_0x2b69e5['id'],_0x3979e6=_0x3e3a55?_0x3e3a55['id']:null;if(!_0x3b05a4&&this['diff']&&this['diff']['newRevisionId']===_0x523494&&this['diff']['oldRevisionId']===_0x3979e6)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x523494,_0x3979e6);const _0x2814b2=this['_getRevisionsRange'](_0x2b69e5,_0x3e3a55,!0x0)['map'](_0x4cde85=>this['loadRevisionData'](_0x4cde85));return _0x2814b2['push'](new Promise(_0x56dc6a=>{setTimeout(_0x56dc6a,0x14);})),Promise['all'](_0x2814b2)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x1aafd4=this['_getDiff'](_0x523494,_0x3979e6);for(const _0x377c73 of _0x1aafd4['changes'])this['_changeIdToChange']['set'](_0x377c73['id'],_0x377c73);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x53b20d=>{for(const _0x254986 of this['editor']['model']['document']['getRootNames']())_0x53b20d['detachRoot'](_0x254986);for(const _0x5aa18d of Object['keys'](_0x1aafd4['model'])){const _0xacfc4=_0x53b20d['addRoot'](_0x5aa18d);for(const _0x1ac282 of Object['keys'](_0x1aafd4['attributes'][_0x5aa18d]))_0x53b20d['setAttribute'](_0x1ac282,_0x1aafd4['attributes'][_0x5aa18d][_0x1ac282],_0xacfc4);_0x53b20d['insert'](_0x1aafd4['model'][_0x5aa18d],_0xacfc4,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x1aafd4['changes'])),this['isReady']=!0x0;})['catch'](_0x563c41=>{console['error'](_0x563c41),this['_cleanUp'](),_0x81c0e7&&(this['diff']=_0x81c0e7),this['isReady']=!0x0;});}['addRevisionData'](_0x3730c5,_0x1b09dd){const _0xa2e3e5=this['repository']['createRevision'](_0x3730c5);return _0xa2e3e5['on']('_update',(_0x3ef0b3,_0x30653a,_0x1892f1)=>_0x1b09dd(_0x30653a,_0x1892f1,_0xa2e3e5)),this['repository']['addRevision'](_0xa2e3e5),_0xa2e3e5;}['loadRevisionData'](_0x43f5b9){if(!_0x43f5b9||_0x43f5b9['diffData'])return Promise['resolve']();{const _0x2284ec=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2284ec,'revisionId':_0x43f5b9['id']})['then'](_0x1a0228=>{_0x43f5b9['_update']({'diffData':_0x1a0228['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},_0x5db0b6=>{for(const _0x45410d of this['editor']['model']['document']['getRootNames']())_0x5db0b6['detachRoot'](_0x45410d);});}['_sortAndFilterDiffChanges'](_0x230ee2){const _0x191a08=[],_0x526995=new Map();for(const _0x4e1c54 of this['editor']['model']['document']['getRootNames']()){const _0x462c8c=this['editor']['editing']['view']['getDomRoot'](_0x4e1c54);if(!_0x462c8c)continue;const _0x45b26c=_0x462c8c['getClientRects']()['item'](0x0);_0x45b26c&&(_0x191a08['push'](_0x4e1c54),_0x526995['set'](_0x4e1c54,_0x45b26c));}return _0x191a08['sort']((_0x3e452b,_0x1611a2)=>{const _0x12ade9=_0x526995['get'](_0x3e452b),_0x4904a1=_0x526995['get'](_0x1611a2);return _0x12ade9['y']-_0x4904a1['y']||_0x12ade9['x']-_0x4904a1['x'];}),(_0x230ee2=_0x230ee2['filter'](_0x41de4e=>_0x191a08['includes'](_0x41de4e['rootName'])))['sort']((_0x30dd0a,_0x21fda6)=>_0x191a08['indexOf'](_0x30dd0a['rootName'])-_0x191a08['indexOf'](_0x21fda6['rootName'])),_0x230ee2;}['_makeTape'](_0x3bfd9a){const _0x26f38f=Array['from'](_0x3bfd9a['markers'])['filter'](([_0x4d2bcd,_0x516046])=>_0x4d2bcd['startsWith']('revision:')&&!_0x516046['isCollapsed']),_0x3c88a7=Array['from'](this['editor']['model']['createRangeIn'](_0x3bfd9a)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x26f38f['length'])for(const _0x167d74 of _0x3c88a7){const [_0x32bc03,_0x102b14]=_0x26f38f[0x0],[,_0x41922a,_0x5a073a]=_0x32bc03['split'](':');if(_0x102b14['end']['isEqual'](_0x167d74['nextPosition'])&&_0x26f38f['shift'](),(_0x167d74['previousPosition']['isEqual'](_0x102b14['start'])||_0x167d74['previousPosition']['isAfter'](_0x102b14['start']))&&('insertion'==_0x41922a?_0x167d74['isAdded']={'userId':_0x5a073a}:'deletion'==_0x41922a&&(_0x167d74['isRemoved']={'userId':_0x5a073a})),0x0==_0x26f38f['length'])break;}return _0x3c88a7;}['_refreshStartEndIndex'](_0x2702d5){const _0x2e7a59=new Map();for(let _0x89bfb3=0x0;_0x89bfb3<_0x2702d5['length'];_0x89bfb3++)'text'===_0x2702d5[_0x89bfb3]['type']?(_0x2702d5[_0x89bfb3]['item']['startIndex']=_0x89bfb3,_0x2702d5[_0x89bfb3]['item']['endIndex']=_0x89bfb3):('elementStart'===_0x2702d5[_0x89bfb3]['type']?_0x2702d5[_0x89bfb3]['item']['startIndex']=_0x89bfb3:'elementEnd'===_0x2702d5[_0x89bfb3]['type']&&(_0x2702d5[_0x89bfb3]['item']['endIndex']=_0x89bfb3),_0x2e7a59['set'](_0x2702d5[_0x89bfb3]['id'],_0x89bfb3));for(const _0x58bdc9 of _0x2e7a59['values']())'elementStart'===_0x2702d5[_0x58bdc9]['type']?_0x2702d5[_0x58bdc9]['item']['endIndex']=_0x2e7a59['get'](_0x2702d5[_0x58bdc9]['pairId']):'elementEnd'===_0x2702d5[_0x58bdc9]['type']&&(_0x2702d5[_0x58bdc9]['item']['startIndex']=_0x2e7a59['get'](_0x2702d5[_0x58bdc9]['pairId']));}['_processTape'](_0x2ee01b){for(let _0x7f1e2e=0x0;_0x7f1e2e<_0x2ee01b['length'];_0x7f1e2e++){if('elementStart'===_0x2ee01b[_0x7f1e2e]['type'])_0x2ee01b[_0x7f1e2e]['item']['startIndex']=_0x7f1e2e;else{if('elementEnd'===_0x2ee01b[_0x7f1e2e]['type']){_0x2ee01b[_0x7f1e2e]['item']['endIndex']=_0x7f1e2e;const _0x5857cf=_0x2ee01b[_0x7f1e2e]['item']['startIndex'];_0x2ee01b[_0x5857cf]['pairId']=_0x2ee01b[_0x7f1e2e]['id'],_0x2ee01b[_0x7f1e2e]['pairId']=_0x2ee01b[_0x5857cf]['id'];}else _0x2ee01b[_0x7f1e2e]['item']['startIndex']=_0x7f1e2e,_0x2ee01b[_0x7f1e2e]['item']['endIndex']=_0x7f1e2e,_0x2ee01b[_0x7f1e2e]['pairId']=null;}_0x2ee01b[_0x7f1e2e]['markersStart']||(_0x2ee01b[_0x7f1e2e]['markersStart']=[],_0x2ee01b[_0x7f1e2e]['markersEnd']=[]);}}['_markInsertions'](_0x519550,_0x55f90e){const _0x5c4090=_0x519550['filter'](_0x52f0b0=>!_0x52f0b0['isAdded']);for(let _0xe4b657=0x0;_0xe4b657<_0x55f90e['length'];_0xe4b657++)_0x55f90e[_0xe4b657]['isAdded']&&(_0x5c4090[_0xe4b657]['isAdded']=_0x55f90e[_0xe4b657]['isAdded']);}['_makeModelFromViewString'](_0x39eb77){const _0x3a7224=JSON['parse'](_0x39eb77),_0x2a7c39=this['editor']['editing']['view']['document'],_0x408ee7=new _0x29a951(_0x2a7c39,_0x3a7224['map'](_0x28ee36=>this['_getViewObj'](_0x28ee36)));return this['editor']['data']['toModel'](_0x408ee7);}['_getViewObj'](_0x594577){const _0xd8a1a2=this['editor']['editing']['view']['document'];if('string'==typeof _0x594577)return new _0x301850(_0xd8a1a2,_0x594577);{const _0x13984c=_0x594577['children']['map'](_0xdeb3d0=>this['_getViewObj'](_0xdeb3d0));return new(tt[_0x594577['type']]||_0x58bb25)(_0xd8a1a2,_0x594577['name'],_0x594577['attributes'],_0x13984c);}}['_getDiff'](_0x2add31,_0x1dc361=null){const _0x199d58=this['repository']['getRevision'](_0x2add31),_0x39b9bf=_0x1dc361?this['repository']['getRevision'](_0x1dc361):null,_0x5dce74=this['_getRevisionsRange'](_0x199d58,_0x39b9bf),_0x48be60=_0x5dce74[_0x5dce74['length']-0x1],_0x3abd4b=new Map(),_0x497fd4={'model':{},'attributes':{},'changes':[]},_0x2fd676=new Set(),_0x1bf93d=new Map();for(let _0x2d4669=_0x5dce74['length']-0x1;_0x2d4669>=0x0;_0x2d4669--){const _0x2c8f44=_0x5dce74[_0x2d4669];for(const _0x45b079 of Object['keys'](_0x2c8f44['diffData']))if(_0x2c8f44['diffData'][_0x45b079]['attachChange']){const _0x46919d=_0x2c8f44['diffData'][_0x45b079]['attachChange'];_0x46919d['isAttached']?(_0x2fd676['add'](_0x45b079),_0x1bf93d['has'](_0x45b079)&&_0x1bf93d['get'](_0x45b079)['userId']==_0x46919d['userId']?_0x1bf93d['delete'](_0x45b079):_0x1bf93d['set'](_0x45b079,_0x46919d)):_0x1bf93d['has'](_0x45b079)?(_0x2fd676['delete'](_0x45b079),_0x1bf93d['delete'](_0x45b079)):(_0x2fd676['add'](_0x45b079),_0x1bf93d['set'](_0x45b079,_0x46919d));}else _0x2fd676['add'](_0x45b079);}for(const _0x276a36 of _0x2fd676){const _0xe477bc=_0x1bf93d['has'](_0x276a36)&&!_0x1bf93d['get'](_0x276a36)['isAttached'];let _0x359f6b=_0xe477bc?_0x5dce74['length']-0x1:0x0;const _0x796632=_0xe477bc?-0x1:0x1;for(;_0x5dce74[_0x359f6b];){const _0x4a6992=_0x5dce74[_0x359f6b];if(_0x4a6992['diffData'][_0x276a36]){const _0x4a7a30=_0xe477bc?_0x4a6992['diffData'][_0x276a36]['attributesBefore']:_0x4a6992['diffData'][_0x276a36]['attributesAfter'];_0x497fd4['attributes'][_0x276a36]=_0x4a7a30?_0x2fc470(_0x4a7a30):{};break;}_0x359f6b+=_0x796632;}}for(const _0x1f2d43 of _0x5dce74){_0x1f2d43['model']={};for(const _0x5ba3ff of _0x1f2d43['authors'])_0x3abd4b['set'](_0x5ba3ff['id'],_0x5ba3ff);for(const _0x2e61ba of _0x2fd676){const _0x4f2c2c=_0x1f2d43['diffData'][_0x2e61ba]?_0x1f2d43['diffData'][_0x2e61ba]['insertions']:'[]',_0x4a7a9c=_0x1f2d43['diffData'][_0x2e61ba]?_0x1f2d43['diffData'][_0x2e61ba]['deletions']:'[]';_0x1f2d43['model'][_0x2e61ba]={'insertions':this['_makeModelFromViewString'](_0x4f2c2c),'deletions':this['_makeModelFromViewString'](_0x4a7a9c)};}}for(const _0xb4a94f of _0x2fd676){let _0x2cd591=null,_0x16dafa=0x0;const _0x41a104=new Map(Array['from'](_0x199d58['model'][_0xb4a94f]['insertions']['markers'])['filter'](([_0x4300ae])=>!_0x4300ae['startsWith']('revision:')));let _0x50e557=0x0;for(const _0x322291 of _0x5dce74){const _0x4057b1=this['_makeTape'](_0x322291['model'][_0xb4a94f]['insertions']);_0x322291==_0x199d58?(_0x2cd591=_0x4057b1,_0x16dafa=_0x2cd591['length'],_0x2cd591['forEach'](_0xb63cfc=>{_0xb63cfc['id']=_0x50e557++;}),this['_processTape'](_0x2cd591)):this['_markInsertions'](_0x2cd591,_0x4057b1);const _0x590aaf=_0x2cd591['filter'](_0x8426d1=>!_0x8426d1['isAdded'])['map'](_0x595e1e=>_0x595e1e['id']);let _0x2013d5=0x0;const _0x34120e=this['_makeTape'](_0x322291['model'][_0xb4a94f]['deletions']);_0x34120e['forEach'](_0x5c8860=>{_0x5c8860['isRemoved']?_0x5c8860['id']=_0x16dafa++:_0x5c8860['id']=_0x590aaf[_0x2013d5++];}),this['_processTape'](_0x34120e),this['_setDistance'](_0x2cd591,'isAdded'),this['_setDistance'](_0x34120e,'isRemoved'),_0x322291==_0x199d58&&this['_markMarkers'](_0x2cd591,_0x41a104),_0x2cd591=this['_joinTapes'](_0x2cd591,_0x34120e),this['_refreshStartEndIndex'](_0x2cd591),this['_setDistance'](_0x2cd591,'isRemoved');}_0x2cd591=_0x2cd591['filter'](_0x47352e=>!(_0x47352e['isAdded']&&_0x47352e['isRemoved']));const _0x4c0ddf=new Map(_0x48be60['model'][_0xb4a94f]['deletions']['markers']),_0x1b67a6=new Set(_0x41a104['keys']());for(const _0x51a1c9 of _0x4c0ddf['keys']())_0x1b67a6['delete'](_0x51a1c9);this['_markSuggestions'](_0x2cd591,_0x1b67a6),this['_fixObsoleteTags'](_0x2cd591),_0x2cd591=this['_removeMissingPairs'](_0x2cd591),_0x2cd591=this['_markMismatchedRemovedTags'](_0x2cd591),_0x2cd591=this['_removeUnsupportedChanges'](_0x2cd591);const {root:_0x3ca63f,changes:_0x2bb74c}=this['_makeModelFromTape'](_0x2cd591,_0x3abd4b,_0xb4a94f);_0x497fd4['model'][_0xb4a94f]=_0x3ca63f;const _0x1b3e84=_0x1bf93d['get'](_0xb4a94f);if(_0x1b3e84){const _0x166789=_0x3abd4b['get'](_0x1b3e84['userId']),_0x3d9e27=new r({'author':_0x166789,'type':_0x1b3e84['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0xb4a94f});_0x2bb74c['unshift'](_0x3d9e27),_0x497fd4['attributes'][_0xb4a94f]['revisionHistoryAttachChange']=_0x3d9e27['id'];}_0x497fd4['changes']=_0x497fd4['changes']['concat'](_0x2bb74c);}return _0x497fd4;}['_markMarkers'](_0xcb18f3,_0x38e2a9){for(let _0x11a005=0x0;_0x11a005<_0xcb18f3['length'];_0x11a005++)for(const [_0x57268e,_0x118b53]of _0x38e2a9)_0x118b53['start']['isEqual'](_0xcb18f3[_0x11a005]['previousPosition'])&&_0xcb18f3[_0x11a005]['markersStart']['push'](_0x57268e),_0x118b53['end']['isEqual'](_0xcb18f3[_0x11a005]['nextPosition'])&&_0xcb18f3[_0x11a005]['markersEnd']['push'](_0x57268e);}['_joinTapes'](_0x414df6,_0x2f7a59){let _0x40303b=[],_0x335719=0x0,_0x1cee95=0x0;for(;_0x335719<_0x414df6['length']||_0x1cee95<_0x2f7a59['length'];){const _0x3ad48a=_0x414df6[_0x335719]||{},_0x21ebeb=_0x2f7a59[_0x1cee95]||{};if(_0x3ad48a['id']==_0x21ebeb['id'])_0x335719++,_0x1cee95++,_0x40303b['push'](_0x3ad48a);else{if(_0x21ebeb['isRemoved']&&_0x3ad48a['isAdded']){const {commonTape:_0x39d403,iEnd:_0x247ed0,jEnd:_0x4267d4}=this['_threeWayMerge'](_0x414df6,_0x335719,_0x2f7a59,_0x1cee95);_0x40303b=_0x40303b['concat'](_0x39d403),_0x335719=_0x247ed0,_0x1cee95=_0x4267d4;}else _0x21ebeb['isRemoved']?(_0x1cee95++,_0x40303b['push'](_0x21ebeb)):(_0x335719++,_0x40303b['push'](_0x3ad48a));}}return _0x40303b;}['_markSuggestions'](_0x29a525,_0x578ad8){const _0x514a4b=[];for(let _0xedd832=0x0;_0xedd832<_0x29a525['length'];_0xedd832++){for(let _0x2fc8b2=0x0;_0x2fc8b2<_0x29a525[_0xedd832]['markersStart']['length'];_0x2fc8b2++){const _0x126579=_0x29a525[_0xedd832]['markersStart'][_0x2fc8b2];if(!_0x578ad8['has'](_0x126579))continue;const {group:_0x5cf314,type:_0x5660ed,authorId:_0x1ac189}=_0x3dd24e(_0x126579);'revision-suggestion'!=_0x5cf314||'insertion'!=_0x5660ed&&'deletion'!=_0x5660ed||(_0x514a4b['unshift']({'type':_0x5660ed,'name':_0x126579,'userId':_0x1ac189}),_0x29a525[_0xedd832]['markersStart']['splice'](_0x2fc8b2,0x1),_0x2fc8b2--);}_0x109c54(_0x29a525[_0xedd832]);for(let _0xf2ed5f=0x0;_0xf2ed5f<_0x29a525[_0xedd832]['markersEnd']['length'];_0xf2ed5f++){const _0xfda7a6=_0x29a525[_0xedd832]['markersEnd'][_0xf2ed5f];if(!_0x578ad8['has'](_0xfda7a6))continue;const {group:_0xe4b8e7,type:_0xd74bf3}=_0x3dd24e(_0xfda7a6);if('revision-suggestion'!=_0xe4b8e7||'insertion'!=_0xd74bf3&&'deletion'!=_0xd74bf3)continue;_0x29a525[_0xedd832]['markersEnd']['splice'](_0xf2ed5f,0x1),_0xf2ed5f--;const _0x147fbb=_0x514a4b['findIndex'](_0x397d60=>_0x397d60['name']==_0xfda7a6);_0x147fbb>-0x1&&_0x514a4b['splice'](_0x147fbb,0x1);}}function _0x3dd24e(_0x2110f3){const _0x214d17=_0x2110f3['split'](':');return{'group':_0x214d17[0x0],'type':_0x214d17[0x1],'subType':_0x214d17['length']>=0x5?_0x214d17[0x2]:null,'id':_0x214d17['length']<0x5?_0x214d17[0x2]:_0x214d17[0x3],'authorId':_0x214d17['length']<0x5?_0x214d17[0x3]:_0x214d17[0x4],'markerCount':0x6==_0x214d17['length']?_0x214d17[0x5]:null};}function _0x109c54(_0x45c825){for(let _0x5943b5=0x0;_0x5943b5<_0x514a4b['length'];_0x5943b5++){if(_0x45c825['isAdded']&&'insertion'==_0x514a4b[_0x5943b5]['type'])return _0x45c825['isAddSuggestion']=_0x514a4b[_0x5943b5],void delete _0x45c825['isAdded'];if(!_0x45c825['isAdded']&&!_0x45c825['isRemoved']&&'deletion'==_0x514a4b[_0x5943b5]['type'])return void(_0x45c825['isRemoveSuggestion']=_0x514a4b[_0x5943b5]);}}}['_setDistance'](_0x3453af,_0x17c8d5){let _0x2a0067=0x0,_0x580349=!0x1;const _0x245b39=new Map();for(const _0x601083 of _0x3453af)_0x601083[_0x17c8d5]?_0x580349&&(_0x2a0067++,_0x580349=!0x1):(_0x2a0067++,_0x580349=!0x0),_0x245b39['set'](_0x601083['id'],_0x2a0067);for(let _0x28bd1d=0x0;_0x28bd1d<_0x3453af['length'];_0x28bd1d++){if('isRemoved'==_0x17c8d5&&_0x3453af[_0x28bd1d]['isAdded']||'isAdded'==_0x17c8d5&&_0x3453af[_0x28bd1d]['isRemoved'])continue;if('text'==_0x3453af[_0x28bd1d]['type']){_0x3453af[_0x28bd1d]['distance']=0x0;continue;}const _0x2b49f8=_0x245b39['get'](_0x3453af[_0x28bd1d]['pairId']),_0x43e5c9=_0x245b39['get'](_0x3453af[_0x28bd1d]['id']);_0x3453af[_0x28bd1d]['distance']=_0x2b49f8-_0x43e5c9;}}['_getRevisionsRange'](_0x2b8e68,_0x2cbaf7,_0xfd8867=!0x1){const _0x5b28e5=[];let _0x44a047=this['repository']['getIndex'](_0x2b8e68),_0x182d4c=this['repository']['getIndex'](_0x2cbaf7);for(-0x1==_0x182d4c&&(_0x182d4c=this['repository']['_revisions']['length'],_0xfd8867=!0x1);_0x44a047<_0x182d4c;)_0x5b28e5['push'](this['repository']['getRevision'](_0x44a047)),_0x44a047++;return _0xfd8867&&_0x5b28e5['push'](this['repository']['getRevision'](_0x44a047)),_0x5b28e5;}['_threeWayMerge'](_0x29cc4d,_0x510f2a,_0x3073fe,_0x8482be){const _0x5b5fec=this['editor']['model']['schema'];let _0x3f440c=_0x510f2a;for(;_0x29cc4d[_0x3f440c]&&_0x29cc4d[_0x3f440c]['isAdded'];)_0x3f440c++;let _0xa39802=_0x8482be;for(;_0x3073fe[_0xa39802]&&_0x3073fe[_0xa39802]['isRemoved'];)_0xa39802++;_0x1ad304(_0x29cc4d,_0x510f2a,_0x3f440c),_0x1ad304(_0x3073fe,_0x8482be,_0xa39802);const _0xae708=_0x3073fe['slice'](_0x8482be,_0xa39802)['concat'](_0x29cc4d['slice'](_0x510f2a,_0x3f440c));return _0xae708['sort']((_0x3c3155,_0x338d19)=>_0x3c3155['side']!=_0x338d19['side']?_0x3c3155['side']-_0x338d19['side']:_0x3c3155['level']!=_0x338d19['level']?_0x3c3155['level']-_0x338d19['level']:_0x3c3155['distance']!=_0x338d19['distance']?_0x338d19['distance']-_0x3c3155['distance']:!!_0x3c3155['isAdded']!=!!_0x338d19['isAdded']?-0x1==_0x3c3155['side']||0x0==_0x3c3155['side']?_0x3c3155['isAdded']?-0x1:0x1:_0x3c3155['isAdded']?0x1:-0x1:_0x3c3155['index']-_0x338d19['index']),{'commonTape':_0xae708,'iEnd':_0x3f440c,'jEnd':_0xa39802};function _0x1ad304(_0x3a2684,_0x467dcf,_0x46c644){let _0x5f2126=-0x1,_0x287603=Number['POSITIVE_INFINITY'],_0x284419=!0x0;for(let _0x2f8ddb=_0x467dcf;_0x2f8ddb<_0x46c644;_0x2f8ddb++)if(_0x5b5fec['isInline'](_0x3a2684[_0x2f8ddb]['item'])||(_0x284419=!0x1),_0x3a2684[_0x2f8ddb]['item']['startIndex']<_0x467dcf&&(_0x5f2126=_0x2f8ddb),_0x3a2684[_0x2f8ddb]['item']['endIndex']>=_0x46c644){_0x287603=_0x2f8ddb;break;}_0x284419&&(_0x5f2126=_0x46c644-0x1);for(let _0x5be378=_0x467dcf;_0x5be378<_0x46c644;_0x5be378++)_0x3a2684[_0x5be378]['side']=_0x5be378<=_0x5f2126?-0x1:_0x5be378<_0x287603?0x0:0x1,_0x3a2684[_0x5be378]['index']=_0x5be378;let _0xb6b3ff=0x0;for(let _0x325915=_0x467dcf;_0x325915<=_0x5f2126;_0x325915++)0x0==_0x3a2684[_0x325915]['distance']?_0x3a2684[_0x325915]['level']=_0xb6b3ff:(_0xb6b3ff++,_0x3a2684[_0x325915]['level']=_0xb6b3ff,_0xb6b3ff++);for(let _0x59de0a=_0x467dcf;_0x59de0a<_0x46c644;_0x59de0a++)0x0==_0x3a2684[_0x59de0a]['side']&&(_0x3a2684[_0x59de0a]['level']=_0xb6b3ff);_0xb6b3ff=0x0;for(let _0xcbb5d5=_0x46c644-0x1;_0xcbb5d5>=_0x287603;_0xcbb5d5--)0x0==_0x3a2684[_0xcbb5d5]['distance']?_0x3a2684[_0xcbb5d5]['level']=_0xb6b3ff:(_0xb6b3ff--,_0x3a2684[_0xcbb5d5]['level']=_0xb6b3ff,_0xb6b3ff--);}}['_fixObsoleteTags'](_0x55e9fe){const _0x152362=new Map(),_0x19ef89=this['editor']['model']['schema'];for(let _0x248ddc=0x1;_0x248ddc<_0x55e9fe['length'];_0x248ddc++){let _0xe6ebbf,_0x43171c,_0x1dacc5;const _0x1ca14e=_0x55e9fe[_0x248ddc],_0x4c9b7f=_0x55e9fe[_0x248ddc-0x1];if('text'==_0x1ca14e['type'])continue;if(_0x1ca14e['type']!=_0x4c9b7f['type'])continue;if(!_0x19ef89['isBlock'](_0x4c9b7f['item'])||_0x19ef89['isLimit'](_0x4c9b7f['item']))continue;if(!_0x19ef89['isBlock'](_0x1ca14e['item'])||_0x19ef89['isLimit'](_0x1ca14e['item']))continue;if((_0x55e9fe[_0x248ddc]['isAdded']||_0x55e9fe[_0x248ddc]['isAddSuggestion'])&&_0x55e9fe[_0x248ddc-0x1]['isRemoved'])_0xe6ebbf=_0x55e9fe[_0x248ddc],_0x43171c=_0x55e9fe[_0x248ddc-0x1],_0x1dacc5=_0x248ddc-0x1;else{if(!_0x55e9fe[_0x248ddc]['isRemoved']||!_0x55e9fe[_0x248ddc-0x1]['isAdded']&&!_0x55e9fe[_0x248ddc-0x1]['isAddSuggestion'])continue;_0xe6ebbf=_0x55e9fe[_0x248ddc-0x1],_0x43171c=_0x55e9fe[_0x248ddc],_0x1dacc5=_0x248ddc;}const _0x224775=_0xe6ebbf['level']==_0x43171c['level'],_0x4b18a7=Math['abs'](_0xe6ebbf['level'])<Math['abs'](_0x43171c['level'])&&0x0==_0x43171c['distance'];(_0x224775||_0x4b18a7)&&(_0x152362['set'](_0x43171c['id'],_0xe6ebbf['id']),_0x55e9fe['splice'](_0x1dacc5,0x1),_0x248ddc--,_0xe6ebbf['isAdded']=!0x1);}for(let _0x14a47b=0x0;_0x14a47b<_0x55e9fe['length'];_0x14a47b++)_0x152362['has'](_0x55e9fe[_0x14a47b]['pairId'])&&(_0x55e9fe[_0x14a47b]['pairId']=_0x152362['get'](_0x55e9fe[_0x14a47b]['pairId']));}['_removeMissingPairs'](_0x5c6010){const _0x330a18=new Set(_0x5c6010['map'](_0xe4c67b=>_0xe4c67b['id']));for(let _0xc6cfa3=0x0;_0xc6cfa3<_0x5c6010['length'];_0xc6cfa3++)_0x330a18['has'](_0x5c6010[_0xc6cfa3]['pairId'])||0x0==_0x5c6010[_0xc6cfa3]['distance']||(_0x5c6010[_0xc6cfa3]['isIncorrect']=!0x0);return _0x5c6010['filter'](_0x5c44e7=>!_0x5c44e7['isIncorrect']);}['_markMismatchedRemovedTags'](_0x4a7ff5){const _0x1fa2c5=new Set();for(let _0x1d9431=0x0;_0x1d9431<_0x4a7ff5['length'];_0x1d9431++){if(_0x1fa2c5['has'](_0x4a7ff5[_0x1d9431]['id'])&&_0x4a7ff5[_0x1d9431]['isRemoved']&&(_0x4a7ff5[_0x1d9431]['isIncorrect']=!0x0),_0x4a7ff5[_0x1d9431]['isIncorrect'])continue;if(0x0==_0x4a7ff5[_0x1d9431]['distance'])continue;if('elementStart'!=_0x4a7ff5[_0x1d9431]['type'])continue;if(null==_0x4a7ff5[_0x1d9431]['pairId'])continue;let _0xc1590f=_0x1d9431+0x1,_0x340f9b=0x0;for(;_0x4a7ff5[_0xc1590f]['id']!=_0x4a7ff5[_0x1d9431]['pairId'];)'elementStart'==_0x4a7ff5[_0xc1590f]['type']?_0x340f9b++:'elementEnd'==_0x4a7ff5[_0xc1590f]['type']&&_0x340f9b--,_0xc1590f++;if(0x0!=_0x340f9b){if(_0x4a7ff5[_0x1d9431]['isRemoved'])_0x4a7ff5[_0x1d9431]['isIncorrect']=!0x0;else{for(;_0xc1590f!=_0x1d9431;)_0x4a7ff5[_0xc1590f]['isRemoved']&&0x0!=_0x4a7ff5[_0xc1590f]['distance']&&(_0x4a7ff5[_0xc1590f]['isIncorrect']=!0x0,_0x1fa2c5['add'](_0x4a7ff5[_0xc1590f]['pairId'])),_0xc1590f--;}}}return _0x4a7ff5['filter'](_0x55afe1=>!_0x55afe1['isIncorrect']);}['_removeUnsupportedChanges'](_0x10028b){const _0x245b84=this['editor']['model']['schema'];for(let _0x2d9fc7=0x0;_0x2d9fc7<_0x10028b['length'];_0x2d9fc7++){if(!(_0x10028b[_0x2d9fc7]['isAdded']||_0x10028b[_0x2d9fc7]['isAddSuggestion']||_0x10028b[_0x2d9fc7]['isRemoved']||_0x10028b[_0x2d9fc7]['isRemoveSuggestion']))continue;if(0x0==_0x10028b[_0x2d9fc7]['distance'])continue;const _0x17c153=_0x10028b[_0x2d9fc7]['item'];_0x245b84['isBlock'](_0x17c153)||_0x245b84['isLimit'](_0x17c153)||(_0x10028b[_0x2d9fc7]['isAdded']&&delete _0x10028b[_0x2d9fc7]['isAdded'],_0x10028b[_0x2d9fc7]['isAddSuggestion']&&delete _0x10028b[_0x2d9fc7]['isAddSuggestion'],_0x10028b[_0x2d9fc7]['isRemoveSuggestion']&&delete _0x10028b[_0x2d9fc7]['isRemoveSuggestion'],_0x10028b[_0x2d9fc7]['isRemoved']&&(_0x10028b[_0x2d9fc7]['isIncorrect']=!0x0));}return _0x10028b['filter'](_0x5a213c=>!_0x5a213c['isIncorrect']);}['_makeModelFromTape'](_0x434056,_0x5bcef3,_0x3cb18b){const _0x231765=new wt(),_0x424d99=[],_0x2ea264=new Map(),_0x5d6015=this['editor']['model'],_0x347e01=_0x5d6015['schema'],_0x5ddc4f=[_0x231765],_0x3dc259={},_0x3fd225={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x562814=null;const _0x52f81a=[0x0];for(let _0x2b743c=0x0;_0x2b743c<_0x434056['length'];_0x2b743c++){let _0x3a1655,_0xc236a3;if('elementStart'===_0x434056[_0x2b743c]['type']){_0x3a1655=_0x5d6015['createPositionFromPath'](_0x231765,_0x52f81a);const _0x23d955=new ft(_0x434056[_0x2b743c]['item']['name'],_0x434056[_0x2b743c]['item']['getAttributes']());_0x5ddc4f[0x0]['_appendChild'](_0x23d955),_0x52f81a['push'](0x0),_0x5ddc4f['unshift'](_0x23d955),_0xc236a3=_0x5d6015['createPositionFromPath'](_0x231765,_0x52f81a),_0x562814=null;}else{if('elementEnd'===_0x434056[_0x2b743c]['type'])_0x5ddc4f['shift'](),_0x3a1655=_0x5d6015['createPositionFromPath'](_0x231765,_0x52f81a),_0x52f81a['pop'](),_0x52f81a[_0x52f81a['length']-0x1]++,_0xc236a3=_0x5d6015['createPositionFromPath'](_0x231765,_0x52f81a),_0x562814=null;else{if(_0x3a1655=_0x5d6015['createPositionFromPath'](_0x231765,_0x52f81a),_0x562814&&_0x512dc7(_0x562814,_0x434056[_0x2b743c]['item']))_0x562814['_data']+=_0x434056[_0x2b743c]['item']['data'];else{const _0x214560=new _t(_0x434056[_0x2b743c]['item']['data'],_0x434056[_0x2b743c]['item']['getAttributes']());_0x5ddc4f[0x0]['_appendChild'](_0x214560),_0x562814=_0x214560;}_0x52f81a[_0x52f81a['length']-0x1]+=_0x434056[_0x2b743c]['item']['offsetSize'],_0xc236a3=_0x5d6015['createPositionFromPath'](_0x231765,_0x52f81a);}}for(const _0x2cc0b8 of _0x434056[_0x2b743c]['markersStart'])_0x2ea264['set'](_0x2cc0b8,{'start':_0x3a1655,'end':null});_0xf2a172('isRemoveSuggestion',_0x2b743c,_0x3a1655,_0xc236a3),_0xf2a172('isAddSuggestion',_0x2b743c,_0x3a1655,_0xc236a3),_0xf2a172('isRemoved',_0x2b743c,_0x3a1655,_0xc236a3),_0xf2a172('isAdded',_0x2b743c,_0x3a1655,_0xc236a3);for(const _0x18a340 of _0x434056[_0x2b743c]['markersEnd']){_0x2ea264['get'](_0x18a340)['end']=_0xc236a3;}}for(const [_0x2125ed,_0x3bead9]of _0x2ea264){const _0x5bed51=this['editor']['model']['createRange'](_0x3bead9['start'],_0x3bead9['end']);_0x231765['markers']['set'](_0x2125ed,_0x5bed51);}return _0x424d99['sort']((_0x2155dd,_0x168b30)=>{const _0x4a332a=_0x231765['markers']['get']('revision:'+_0x2155dd['id']),_0x12d5b4=_0x231765['markers']['get']('revision:'+_0x168b30['id']);return _0x4a332a['start']['isBefore'](_0x12d5b4['start'])?-0x1:_0x4a332a['start']['isAfter'](_0x12d5b4['start'])?0x1:_0x4a332a['end']['isBefore'](_0x12d5b4['end'])?-0x1:_0x4a332a['end']['isAfter'](_0x12d5b4['end'])?0x1:'add'===_0x2155dd['type']?-0x1:0x1;}),{'root':_0x231765,'changes':_0x424d99};function _0xf2a172(_0x2b14ad,_0xa52570,_0x582f6f,_0x44c281){const _0x536d79=!!_0x434056[_0xa52570][_0x2b14ad],_0x1c0ea0=_0x536d79?_0x434056[_0xa52570][_0x2b14ad]['userId']:null,_0x1cae7d=_0xa52570===_0x434056['length']-0x1,_0x484b69=_0x3fd225[_0x2b14ad][0x0],_0x550f53=_0x347e01['isObject'](_0x434056[_0xa52570]['item']);!_0x3dc259[_0x2b14ad]&&_0x536d79?_0x3dc259[_0x2b14ad]={'start':_0x582f6f,'tapeItem':_0x434056[_0xa52570],'userId':_0x1c0ea0,'type':_0x2b14ad}:_0x3dc259[_0x2b14ad]&&!_0x536d79?(_0x3dc259[_0x2b14ad]['end']=_0x582f6f,_0x32ad3f(_0x3dc259[_0x2b14ad]),_0x3dc259[_0x2b14ad]=null):_0x3dc259[_0x2b14ad]&&_0x536d79&&_0x3dc259[_0x2b14ad]['userId']!==_0x1c0ea0&&(_0x3dc259[_0x2b14ad]['end']=_0x582f6f,_0x484b69&&_0x484b69['userId']===_0x3dc259[_0x2b14ad]['userId']||_0x32ad3f(_0x3dc259[_0x2b14ad]),_0x3dc259[_0x2b14ad]={'start':_0x582f6f,'tapeItem':_0x434056[_0xa52570],'userId':_0x1c0ea0,'type':_0x2b14ad}),_0x3dc259[_0x2b14ad]&&_0x550f53&&('elementStart'!==_0x434056[_0xa52570]['type']||_0x484b69&&_0x484b69['userId']===_0x1c0ea0||_0x3fd225[_0x2b14ad]['unshift']({'userId':_0x1c0ea0,'object':_0x434056[_0xa52570]['item'],'change':_0x3dc259[_0x2b14ad]}),'elementEnd'===_0x434056[_0xa52570]['type']&&_0x484b69&&_0x484b69['object']===_0x434056[_0xa52570]['item']&&(_0x3fd225[_0x2b14ad]['shift'](),_0x3dc259[_0x2b14ad]=_0x484b69['change'])),_0x3dc259[_0x2b14ad]&&_0x1cae7d&&(_0x3dc259[_0x2b14ad]['end']=_0x44c281,_0x32ad3f(_0x3dc259[_0x2b14ad]),_0x3dc259[_0x2b14ad]=null);}function _0x32ad3f({start:_0x2e2893,end:_0x306336,tapeItem:_0x527d02,userId:_0xca7b27,type:_0x4f5f92}){const _0x2dfb99=_0x527d02['item'],_0x2cf1a9=_0x5d6015['schema']['isBlock'](_0x2dfb99)&&!_0x5d6015['schema']['isLimit'](_0x2dfb99),_0x15b296=_0x2e2893['nodeAfter']==_0x306336['parent']&&_0x306336['isAtStart'];if(_0x2cf1a9&&_0x15b296)return;const _0x5a78b8=_0x5d6015['createRange'](_0x2e2893,_0x306336),_0x33ac6e=_0x5bcef3['get'](_0xca7b27),_0x14cdf6=new r({'author':_0x33ac6e,'type':'isAdded'==_0x4f5f92||'isAddSuggestion'==_0x4f5f92?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x4f5f92||'isRemoveSuggestion'==_0x4f5f92},'createdAt':new Date(),'rootName':_0x3cb18b});_0x424d99['push'](_0x14cdf6),_0x231765['markers']['set']('revision:'+_0x14cdf6['id'],_0x5a78b8);}function _0x512dc7(_0x3a6fd1,_0x209dfd){const _0x3dd99a=_0x3a6fd1['getAttributes'](),_0xd99ce=_0x209dfd['getAttributes']();for(const _0xe038d1 of _0x3dd99a){if(_0xe038d1[0x1]!==_0x209dfd['getAttribute'](_0xe038d1[0x0]))return!0x1;_0xd99ce['next']();}return _0xd99ce['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x163906=>{const _0x5d3924=_0x163906['markerName']['split'](':')[0x1],_0x24a0d9=this['_getChangeFromId'](_0x5d3924);if(!_0x24a0d9)return null;const _0xe57de4='add'==_0x24a0d9['type']?'insertion':'deletion',_0x292ca2=['ck-suggestion-marker','ck-suggestion-marker-'+_0xe57de4];return _0x24a0d9['data']['isSuggestion']&&_0x292ca2['push']('ck-suggestion-marker-'+_0xe57de4+'-new'),this['activeChange']==_0x24a0d9&&_0x292ca2['push']('ck-suggestion-marker--active'),{'classes':_0x292ca2,'attributes':{'data-change-id':_0x5d3924}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x327cc7=>{_0x327cc7['on']('element:pre',(_0x39648f,_0x2ef9f4,_0x1e13ca)=>{const _0x1cd1a8=_0x2ef9f4['viewItem']['getChild'](0x0);if(!_0x1cd1a8||!_0x1cd1a8['is']('element','code'))return;if(!_0x1e13ca['consumable']['consume'](_0x1cd1a8,{'attributes':['vid_start','vid_end']}))return;const _0x157696=_0x2ef9f4['modelRange']['start']['nodeAfter'];_0x1e13ca['writer']['setAttribute']('vid_start',_0x1cd1a8['getAttribute']('vid_start'),_0x157696),_0x1e13ca['writer']['setAttribute']('vid_end',_0x1cd1a8['getAttribute']('vid_end'),_0x157696);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x3fdc02=>{_0x3fdc02['on']('element',(_0x3ed904,_0x212969,_0x3ae940)=>{if(!_0x3ae940['consumable']['consume'](_0x212969['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x212969['modelRange']['isCollapsed'])return;const _0x5711a3=_0x212969['modelRange']['start']['nodeAfter'];_0x5711a3['hasAttribute']('vid_start')||_0x5711a3['hasAttribute']('vid')||(_0x3ae940['writer']['setAttribute']('vid_start',_0x212969['viewItem']['getAttribute']('vid_start'),_0x5711a3),_0x3ae940['writer']['setAttribute']('vid_end',_0x212969['viewItem']['getAttribute']('vid_end'),_0x5711a3));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x219637=>_0x219637['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x49fb69,[,_0x4b9cc])=>{['vid_start','vid_end','vid']['includes'](_0x4b9cc)&&(_0x49fb69['return']=!0x0,_0x49fb69['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x33b753=>{_0x33b753['on']('attribute:vid',(_0x5eed82,_0x3dbbd9,_0x3acd9a)=>{if('\x20'!=_0x3dbbd9['item']['data']||_0x3dbbd9['item']['parent']['maxOffset']>0x1)return;if(!_0x3acd9a['consumable']['consume'](_0x3dbbd9['item'],_0x5eed82['name']))return;const _0x1e973c=_0x3acd9a['writer'],_0xc4d557=_0x3acd9a['mapper']['toViewRange'](_0x3dbbd9['range']);_0x1e973c['wrap'](_0xc4d557,_0x1e973c['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x314ec7){const _0xf55776=_0x314ec7['plugins']['get']('RevisionViewer');return(_0xd5e5e5,_0x4f2cb7,_0x521662)=>{const _0x158e6e=_0x4f2cb7['markerName']['split'](':')[0x1],_0x3c7efc=_0xf55776['_getChangeFromId'](_0x158e6e);if(!_0x3c7efc)return null;const _0x459bdc='add'==_0x3c7efc['type']?'split':'merge';if(!_0x521662['consumable']['test'](_0x4f2cb7['markerRange'],_0xd5e5e5['name']))return;const _0x365c5f=_0x4f2cb7['markerRange']['getWalker'](),_0x2630b5=_0x4f2cb7['markerRange']['start'],_0x3c3a17=_0x314ec7['model']['schema'];let _0x44c3b3=null,_0x59b2d9=null,_0x5e5442=!0x1,_0x1af196=!0x1;for(const _0x4c29af of _0x365c5f){const _0x22ee0e=_0x4c29af['item'];_0x5e5442=_0x5e5442||_0x3c3a17['isContent'](_0x22ee0e);const _0x2bc912=_0x521662['mapper']['toViewElement'](_0x22ee0e);if(_0x2bc912&&_0x2bc912['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4c29af['type']&&(_0x3c3a17['isBlock'](_0x22ee0e)&&!_0x3c3a17['isLimit'](_0x22ee0e)&&(_0x22ee0e['nextSibling']||_0x2630b5['isAtEnd']?_0x44c3b3&&_0x44c3b3['parent']==_0x22ee0e||(_0x44c3b3=_0x22ee0e,_0x155f55(_0x4c29af['previousPosition']),_0x1af196=!0x0):_0x59b2d9=_0x59b2d9||_0x4c29af['previousPosition']));}function _0x155f55(_0xa985ad){const _0x547d5a=_0x521662['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x459bdc}),_0x5d6d8c=_0x521662['mapper']['toViewPosition'](_0xa985ad);_0x3c7efc['data']['isSuggestion']&&_0x521662['writer']['addClass']('ck-suggestion-marker-'+_0x459bdc+'-new',_0x547d5a),_0xf55776['activeChange']==_0x3c7efc&&_0x521662['writer']['addClass']('ck-suggestion-marker--active',_0x547d5a),_0x521662['writer']['insert'](_0x5d6d8c,_0x547d5a),_0x521662['mapper']['bindElementToMarker'](_0x547d5a,_0x4f2cb7['markerName']);}_0x5e5442||_0x1af196||!_0x59b2d9||_0x155f55(_0x59b2d9);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x11b801,_0x5de5ef,_0x327b16)=>{const _0x2b134f=_0x327b16['mapper']['markerNameToElements'](_0x5de5ef['markerName']);if(_0x2b134f){for(const _0xa74cef of _0x2b134f)(_0xa74cef['hasClass']('ck-suggestion-marker-split')||_0xa74cef['hasClass']('ck-suggestion-marker-merge'))&&(_0x327b16['mapper']['unbindElementFromMarkerName'](_0xa74cef,_0x5de5ef['markerName']),_0x327b16['writer']['remove'](_0xa74cef));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x56ce4d,_0xf6b3d3,_0x49f1ba)=>{const _0xec0049=_0xf6b3d3['markerName']['split'](':')[0x1],_0x47c359=this['_getChangeFromId'](_0xec0049);if(!_0x47c359)return null;const _0x1db4ee='add'==_0x47c359['type']?'split':'merge';if(_0x49f1ba['consumable']['test'](_0xf6b3d3['markerRange'],_0x56ce4d['name']))for(const _0x3a11e6 of _0xf6b3d3['markerRange']['getItems']()){if(!_0x3a11e6['is']('element','softBreak'))continue;const _0x177d8c=_0x49f1ba['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1db4ee}),_0x1db499=_0x49f1ba['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x3a11e6));_0x47c359['data']['isSuggestion']&&_0x49f1ba['writer']['addClass']('ck-suggestion-marker-'+_0x1db4ee+'-new',_0x177d8c),this['activeChange']==_0x47c359&&_0x49f1ba['writer']['addClass']('ck-suggestion-marker--active',_0x177d8c),_0x49f1ba['writer']['insert'](_0x1db499,_0x177d8c),_0x49f1ba['mapper']['bindElementToMarker'](_0x177d8c,_0xf6b3d3['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x3b7158=>{for(const _0x4ab9ff of this['editor']['model']['document']['getRootNames']()){const _0x359928=this['editor']['model']['document']['getRoot'](_0x4ab9ff),_0x1b14ba=this['editor']['editing']['view']['document']['getRoot'](_0x4ab9ff);if(_0x1b14ba){const _0x491122=_0x359928['getAttribute']('revisionHistoryAttachChange');if(_0x3b7158['removeAttribute']('data-change-id',_0x1b14ba),_0x3b7158['removeClass']('ck-revision-history-root-add',_0x1b14ba),_0x3b7158['removeClass']('ck-revision-history-root-remove',_0x1b14ba),_0x3b7158['removeClass']('ck-revision-history-root--active',_0x1b14ba),_0x491122){const _0x512bf2=this['_getChangeFromId'](_0x491122);if(!_0x512bf2)return null;_0x3b7158['setAttribute']('data-change-id',_0x491122,_0x1b14ba),_0x3b7158['addClass']('ck-revision-history-root-'+_0x512bf2['type'],_0x1b14ba),this['activeChange']==_0x512bf2&&_0x3b7158['addClass']('ck-revision-history-root--active',_0x1b14ba);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x10fdc0=>'revision-comment:'+_0x10fdc0,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x12e999=>'revision-suggestion:'+_0x12e999,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x450e4d=>({'name':'suggestion:'+_0x450e4d,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x2818f7=>{const _0x1fe6eb=_0x2818f7['markerName']['split'](':')[0x1];return'insertion'!=_0x1fe6eb&&'deletion'!=_0x1fe6eb?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x1fe6eb]};}}),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',(_0x5a8c9a,_0x2c9c64,_0x2ac831)=>{const _0x4f1426=_0x2ac831['mapper']['markerNameToElements'](_0x2c9c64['markerName']);if(_0x4f1426){for(const _0x2cf815 of _0x4f1426)_0x2cf815['is']('uiElement')&&(_0x2ac831['mapper']['unbindElementFromMarkerName'](_0x2cf815,_0x2c9c64['markerName']),_0x2ac831['writer']['remove'](_0x2cf815));}},{'priority':'high'});}['_getChangeFromId'](_0x3f72bb){return this['_changeIdToChange']['get'](_0x3f72bb);}['_getViewForChange'](_0x48c51b){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x48c51b),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x97d275,_0x2db55d,_0x2c5a67,_0x48cf84)=>{_0x48cf84&&this['_balloon']['remove'](_0x48cf84),_0x2c5a67&&(this['_balloon']['add']({'view':_0x2c5a67,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x1db5fb=this['editor']['editing'],_0x2fb140=this['_getChangeFromId'](_0x2c5a67['changeId']);let _0x18e1fd;if(_0x2fb140['data']['isOnRoot']){const _0x47fec7=_0x1db5fb['view']['getDomRoot'](_0x2fb140['rootName']);_0x18e1fd=Array['from'](_0x47fec7['getClientRects']());}else{const _0x21e5ee=this['editor']['model']['markers']['get']('revision:'+_0x2c5a67['changeId']);_0x18e1fd=Array['from'](_0x1db5fb['mapper']['markerNameToElements'](_0x21e5ee['name']))['map'](_0x2017e6=>_0x1db5fb['view']['domConverter']['mapViewToDom'](_0x2017e6))['map'](_0x111002=>Array['from'](_0x111002['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x18e1fd[0x0];return _0x18e1fd['find'](_0x27cc80=>_0x27cc80['top']-0x3<=this['_activeViewTarget']['y']&&_0x27cc80['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x27cc80['left']-0x3<=this['_activeViewTarget']['x']&&_0x27cc80['right']+0x3>=this['_activeViewTarget']['x'])||_0x18e1fd[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x3adb7c,_0x1ea878,_0x7ebdb0,_0x2f417c)=>{this['activeView']=_0x7ebdb0?this['_getViewForChange'](_0x7ebdb0):null,this['editor']['model']['change'](()=>{const _0x23b108=this['editor']['editing'];_0x2f417c&&(_0x2f417c['data']['isOnRoot']?_0x23b108['view']['change'](_0x1d5388=>{_0x1d5388['removeClass']('ck-revision-history-root--active',_0x23b108['view']['document']['getRoot'](_0x2f417c['rootName']));}):_0x23b108['reconvertMarker']('revision:'+_0x2f417c['id'])),_0x7ebdb0&&(_0x7ebdb0['data']['isOnRoot']?_0x23b108['view']['change'](_0x1d1a96=>{_0x1d1a96['addClass']('ck-revision-history-root--active',_0x23b108['view']['document']['getRoot'](_0x7ebdb0['rootName']));}):_0x23b108['reconvertMarker']('revision:'+_0x7ebdb0['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x535caf,_0x1af3f7)=>{if(this['activeChange'])return;const _0x21955e=this['_findChangeIdFromDomTarget'](_0x1af3f7['target']),_0x59fe75=this['_changeIdToChange']['get'](_0x21955e);_0x59fe75?(this['_activeViewTarget']={'x':_0x1af3f7['domEvent']['x'],'y':_0x1af3f7['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x59fe75)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x5b2279,_0x11d923)=>{const _0x2c05b7=this['_findChangeIdFromDomTarget'](_0x11d923['target']),_0x34ac35=this['_changeIdToChange']['get'](_0x2c05b7);_0x34ac35?(this['_activeViewTarget']={'x':_0x11d923['domEvent']['x'],'y':_0x11d923['domEvent']['y']},_0x34ac35===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x34ac35):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x5de38a){do{const _0x3a16ca=_0x5de38a['getAttribute']('data-change-id');if(_0x3a16ca)return _0x3a16ca;_0x5de38a=_0x5de38a['parent'];}while(_0x5de38a);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0xedfe0e=>{for(const _0x41f0ba of this['editor']['model']['markers'])_0xedfe0e['removeMarker'](_0x41f0ba);});}}function et(_0x37b1f3,_0x33c25c){return(_0x4b64b6,_0x34964f,_0x3e43bb)=>{if(!_0x3e43bb['consumable']['test'](_0x34964f['markerRange'],_0x4b64b6['name']))return;const _0x3aa667=_0x34964f['markerRange']['getWalker'](),_0x3d790d=_0x34964f['markerRange']['start'],_0x5329f0=_0x37b1f3['model']['schema'];let _0xfbb172=null,_0x1510a4=null,_0x101d47=!0x1,_0x529700=!0x1;for(const _0x1bb9b5 of _0x3aa667){const _0x55dc0d=_0x1bb9b5['item'];_0x101d47=_0x101d47||_0x5329f0['isContent'](_0x55dc0d);const _0x114db4=_0x3e43bb['mapper']['toViewElement'](_0x55dc0d);if(_0x114db4&&_0x114db4['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1bb9b5['type']&&(_0x5329f0['isBlock'](_0x55dc0d)&&!_0x5329f0['isLimit'](_0x55dc0d)&&(_0x55dc0d['nextSibling']||_0x3d790d['isAtEnd']?_0xfbb172&&_0xfbb172['parent']==_0x55dc0d||(_0xfbb172=_0x55dc0d,_0x10231e(_0x1bb9b5['previousPosition']),_0x529700=!0x0):_0x1510a4=_0x1510a4||_0x1bb9b5['previousPosition']));}function _0x10231e(_0x2d526c){const _0x111210=_0x3e43bb['mapper']['toViewPosition'](_0x2d526c),_0x33d3d7=_0x3e43bb['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x33c25c});_0x3e43bb['writer']['insert'](_0x111210,_0x33d3d7),_0x3e43bb['mapper']['bindElementToMarker'](_0x33d3d7,_0x34964f['markerName']);}_0x101d47||_0x529700||!_0x1510a4||_0x10231e(_0x1510a4);};}class bt extends _0xfaab01{constructor(_0x2a9072){super(_0x2a9072);const _0x311013=_0x2a9072['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x311013,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x311013,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x58dbff=this['editor'],_0x3ff7ba=_0x58dbff['plugins']['get'](d),_0x26ea17=_0x3ff7ba['isReady']?_0x3ff7ba['diff']['newRevisionId']:null;_0x58dbff['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x26ea17);}['refresh'](){const {isReady:_0x567913,isEnabled:_0x298227}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x567913&&_0x298227;}}class yt extends _0xfaab01{['_step'];constructor(_0x575c13,{direction:_0x380193}){super(_0x575c13);const _0x49f144=_0x575c13['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x380193?0x1:-0x1,this['listenTo'](_0x49f144,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x49f144,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x49f144,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x362652=this['editor'],_0x50f5b9=_0x362652['plugins']['get'](d),{isNavigationMode:_0x3150d7,currentChangeNumber:_0x5dd427}=_0x50f5b9;let _0x3645aa;if(_0x50f5b9['activeChange']=_0x3150d7?_0x50f5b9['diff']['changes']['get'](_0x5dd427+this['_step']):_0x50f5b9['diff']['changes']['first'],_0x50f5b9['activeChange']['data']['isOnRoot'])_0x3645aa=_0x362652['editing']['view']['getDomRoot'](_0x50f5b9['activeChange']['rootName']);else{const _0x13b1ac=_0x362652['model']['markers']['get']('revision:'+_0x50f5b9['activeChange']['id']);_0x3645aa=_0x5b151f(_0x362652['editing'],_0x13b1ac);}_0x27ebee({'target':_0x3645aa,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x271d1c,currentChangeNumber:_0x1cfb33,numberOfChanges:_0x45241b,isReady:_0x2de299,isEnabled:_0x4ffd7b}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x4ffd7b&&_0x2de299&&_0x45241b)&&(!_0x271d1c||(0x1===this['_step']?_0x1cfb33<_0x45241b-0x1:_0x1cfb33>0x0));}}class _i extends _0xead4de{constructor(_0x43b348){super(_0x43b348);const _0x3e4292=this['bindTemplate'],_0x14ac3f=new _0x2951af(_0x43b348),_0x49f0df=new _0x2951af(_0x43b348);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',(_0x3b6778,_0x36bf98)=>_0x3b6778&&_0x36bf98>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x3360b5,_0x10f2bc,_0x452fc0,_0xdb3225)=>{if(!_0x3360b5)return y(_0x43b348,'Loading...');if(!_0x452fc0)return y(_0x43b348,'No\x20changes');const _0x125173=y(_0x43b348,'NUMBER_OF_CHANGES',_0x452fc0);return _0xdb3225?y(_0x43b348,'X_OF_Y_CHANGES',[_0x10f2bc+0x1,_0x452fc0]):_0x125173;}),_0x14ac3f['set']({'label':y(_0x43b348,'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'}),_0x49f0df['set']({'label':y(_0x43b348,'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'}),_0x14ac3f['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x49f0df['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x14ac3f['on']('execute',()=>this['fire']('execute','backward')),_0x49f0df['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',_0x3e4292['if']('_isStatusLabelVisible','ck-hidden',_0x15ebda=>!_0x15ebda)]},'children':[{'text':_0x3e4292['to']('isNavigationMode',_0x430fca=>_0x430fca?y(_0x43b348,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x43b348,'Total')+':\x20')}]},{'text':_0x3e4292['to']('_statusText')}]},new _0x49a2d8(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x14ac3f,_0x49f0df]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x162d59{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x297249=this['editor']['editing']['view'];_0x297249['change'](_0x2da318=>{for(const _0x1d3078 of _0x297249['document']['roots'])_0x2da318['addClass'](ce,_0x1d3078);});}['hide'](){const _0xafd936=this['editor']['editing']['view'];_0xafd936['change'](_0x962227=>{for(const _0x4817e3 of _0xafd936['document']['roots'])_0x962227['removeClass'](ce,_0x4817e3);});}}class R extends _0x162d59{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x2116ae=this['editor'],_0x3f452a=_0x2116ae['plugins']['get'](d),_0x753382=_0x2116ae['plugins']['get'](de);_0x2116ae['ui']['componentFactory']['add']('exitToEditing',_0x474f72=>{const _0x118281=new _0x2951af(_0x474f72);return _0x118281['set']({'label':y(_0x474f72,'Back\x20to\x20editing'),'icon':_0x29b1c2['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x118281,'execute',()=>{_0x2116ae['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x118281;}),_0x2116ae['ui']['componentFactory']['add']('restoreRevision',_0x227ff6=>{const _0x49b9ce=new _0x2951af(_0x227ff6);return _0x49b9ce['set']({'label':y(_0x227ff6,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x49b9ce['bind']('isEnabled')['to'](_0x2116ae['commands']['get']('restoreRevision')),this['listenTo'](_0x49b9ce,'execute',()=>_0x2116ae['execute']('restoreRevision')),_0x49b9ce;}),_0x2116ae['ui']['componentFactory']['add']('changesNavigation',_0x24f38d=>{const _0x5a8ad7=new _i(_0x24f38d),_0x13426e=_0x2116ae['commands']['get']('showPreviousChange'),_0x4a6bee=_0x2116ae['commands']['get']('showNextChange');return _0x5a8ad7['bind']('isBackwardNavigationEnabled')['to'](_0x13426e,'isEnabled'),_0x5a8ad7['bind']('isForwardNavigationEnabled')['to'](_0x4a6bee,'isEnabled'),_0x5a8ad7['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x3f452a),this['listenTo'](_0x5a8ad7,'execute',(_0x48a98b,_0x27c3e6)=>{_0x2116ae['execute']('forward'===_0x27c3e6?'showNextChange':'showPreviousChange');}),_0x5a8ad7;}),_0x753382['show'](),_0x3f452a['on']('change:isReady',(_0x37ed61,_0x3e8ebd,_0x56f949)=>{_0x56f949?_0x753382['hide']():_0x753382['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x5f51ee,_0x1cd645){super(_0x5f51ee,_0x1cd645);const _0x570dea=this['bindTemplate'];this['set']({'label':y(_0x5f51ee,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x5f51ee,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x570dea['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 _0x55f8a5=this['fieldView']['element'];this['_tooltipString']=_0x55f8a5['scrollWidth']>_0x55f8a5['clientWidth']&&_0x55f8a5['value']||'';}}class ti extends _0xead4de{constructor(_0x3eb879,_0x1170c9,_0x59e0ab){super(_0x3eb879);const _0x50cee3=new _0x3ffe5b();_0x50cee3['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 _0x5ecc1d=['ck','ck-revision-history-sidebar__revision-author'];_0x59e0ab&&_0x5ecc1d['push']('ck-revision-history-sidebar__revision-author_creator');const _0x185e2d=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x3eb879,_0x59e0ab?'Revision\x20creator':'Revision\x20author')},'children':[_0x50cee3,_0x1170c9['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x5ecc1d},'children':_0x185e2d});}}function ni(_0x3f0746,_0x56ad2c){const _0x14691c=_0x3f0746['bindTemplate'],_0x59807a=_0x3f0746['locale'],_0x2919df=_0x401773(_0x59807a);_0x2919df['panelPosition']='sw';const _0x19ff0d=function(_0x3705c1,_0x318040){const _0x2ef9ea=function(_0x1687ec,_0x45365a){const _0x4789a6=_0x1687ec['locale'],_0x1d2fe5={'Compare\x20against\x20selected':y(_0x4789a6,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x4789a6,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x4789a6,'Restore\x20this\x20revision')};return _0x45365a['map'](_0x43de87=>{const _0x51c903=_0x1d2fe5[_0x43de87['name']];return _0x51c903&&_0x51c903!==_0x43de87['name']&&(_0x43de87['name']=_0x51c903),_0x43de87;});}(_0x3705c1,_0x318040),_0x91a040=new _0x4ac82c();for(const _0x44ee22 of _0x2ef9ea){const _0x29b7e4={'type':'button','model':new to({'label':_0x44ee22['name'],'class':_0x44ee22['class'],'withText':!0x0,'role':'menuitem','_action':_0x44ee22['action']})};_0x29b7e4['model']['bind']('isEnabled')['to'](_0x3705c1,'isActionsDropdownOpen',_0x5760f7=>'function'!=typeof _0x44ee22['isEnabled']||(!_0x5760f7||_0x44ee22['isEnabled'](_0x3705c1))),_0x91a040['add'](_0x29b7e4);}return _0x91a040;}(_0x3f0746,_0x56ad2c);return _0x3f0746['bind']('isActionsDropdownOpen')['to'](_0x2919df,'isOpen'),_0x2919df['buttonView']['set']({'label':y(_0x59807a,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x29b1c2['threeVerticalDots']}),_0x2919df['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x14691c['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x14691c['to'](_0x5400e0=>_0x5400e0['stopPropagation']())}}),_0x2919df['on']('execute',_0x30bfe2=>{_0x3f0746['isReady']&&'function'==typeof _0x30bfe2['source']['_action']&&_0x30bfe2['source']['_action'](_0x3f0746);}),_0x5b0669(_0x2919df,_0x19ff0d,{'role':'menu'}),_0x2919df['listenTo'](_0x3f0746,'change:isActionsDropdownOpen',(_0x247ba2,_0x3c3e3a,_0x28fa5b)=>{if(_0x28fa5b)for(const _0x2d8f6d of _0x2919df['listView']['items']){const _0x130f13=_0x2d8f6d['children']['first'],_0x19998c=_0x56ad2c['find'](_0x4b18b5=>_0x4b18b5['action']===_0x130f13['_action'])['isVisible'];_0x2d8f6d['isVisible']=void 0x0===_0x19998c||_0x19998c(_0x3f0746);}}),_0x2919df;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x113742(_0xead4de){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x9781e1,_0x488364,_0xacc432,_0x410b65){super(_0x9781e1);const _0x52f529=this['bindTemplate'],_0x1b873f=function(_0x4a3683,_0x1c3a6e){const _0x5460e4=Array['from'](_0x1c3a6e['authors'])['filter'](_0x2de4a4=>_0x2de4a4!=_0x1c3a6e['creator']);return _0x1c3a6e['creator']&&_0x5460e4['unshift'](_0x1c3a6e['creator']),_0x5460e4['map'](_0x5c3da7=>new ti(_0x4a3683,_0x5c3da7,_0x5c3da7==_0x1c3a6e['creator']));}(_0x9781e1,_0x488364);this['id']=_0x488364['id'],this['_revision']=_0x488364,this['_requireRevisionName']=_0x410b65,this['bind']('name','createdAt')['to'](_0x488364),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x1087ac=>{return _0x1eb9ed=_0x9781e1['uiLanguage'],(_0x169d7d=_0x1087ac)['toLocaleDateString'](_0x1eb9ed,{'month':'long','day':'numeric'})+',\x20'+_0x169d7d['toLocaleTimeString'](_0x1eb9ed,{'hour':'numeric','minute':'numeric'});var _0x1eb9ed,_0x169d7d;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x9781e1,_0x468462),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x43a833=>_0x43a833||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x331581,_0x29e276)=>_0x331581&&_0x29e276),this['revisionActionsView']=_0xacc432&&_0xacc432['length']?ni(this,_0xacc432):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x52f529['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x52f529['if']('isEnabled','ck-disabled',_0x471729=>!_0x471729),_0x52f529['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x52f529['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x52f529['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':_0x52f529['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':_0x1b873f}]},this['revisionActionsView']],'on':{'click':_0x52f529['to'](_0x11032f=>{_0x11032f['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0xd0730a=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0xd0730a,'change',()=>{this['_requireRevisionName']&&!_0xd0730a['value']||this['fire']('setName',{'id':this['id'],'name':_0xd0730a['value']}),_0xd0730a['value']||(_0xd0730a['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(_0x5dbb3e,_0x3ee28d){const _0x55ea23=_0x2a856a['fromJSDate'](_0x5dbb3e)['setLocale'](_0x3ee28d),_0x2dd037=_0x2a856a['local'](),_0xa64ce1=_0x2dd037['minus']({'days':0x1})['startOf']('day');let _0x70d4f,_0x2a1c23;return _0x55ea23['hasSame'](_0x2dd037,'day')?(_0x70d4f=_0x55ea23['startOf']('day')['toJSDate'](),_0x2a1c23=_0x55ea23['toRelativeCalendar']()):_0x55ea23['hasSame'](_0xa64ce1,'day')?(_0x70d4f=_0xa64ce1['toJSDate'](),_0x2a1c23=_0x55ea23['toRelativeCalendar']()):_0x55ea23['hasSame'](_0x2dd037,'week')?(_0x70d4f=_0x55ea23['startOf']('week')['toJSDate'](),_0x2a1c23=_0x55ea23['weekdayLong']||''):_0x55ea23['hasSame'](_0x2dd037,'year')?(_0x70d4f=_0x55ea23['startOf']('month')['toJSDate'](),_0x2a1c23=_0x55ea23['monthLong']||''):(_0x70d4f=_0x55ea23['startOf']('year')['toJSDate'](),_0x2a1c23=String(_0x55ea23['year'])),{'startDate':_0x70d4f,'localizedPeriodName':_0x2a1c23};}class mi extends _0xead4de{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x23912e,_0x589f12,_0x1bcd0f,_0x502778){super(_0x23912e);const _0x49adb6=di(_0x589f12,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x589f12,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x1bcd0f,this['_requireRevisionName']=_0x502778,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':_0x49adb6}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x5d1136){const _0x45199d=new ai(this['locale'],_0x5d1136,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x45199d);}['removeRevision'](_0x1db40e){const _0x28c074=this['revisionViews']['find'](_0x19dc9d=>_0x19dc9d['id']===_0x1db40e['id']);this['revisionViews']['remove'](_0x28c074);}}class as extends _0xead4de{constructor(_0x13ea2e){super(_0x13ea2e);const _0x444a60=new _0x3ffe5b();_0x444a60['content']=_0x29b1c2['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x444a60,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x13ea2e,'Revision\x20history')]}]});}}class ci extends _0xead4de{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x5e6afb,_0x2361c5,_0x10acb9,_0x5ec660){super(_0x5e6afb);const _0x475ba7=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x2361c5,this['_revisionActions']=_0x10acb9,this['_requireRevisionName']=_0x5ec660,this['on']('select',(_0x5439c1,_0x17caef)=>{this['fire']('revisionSelected',_0x17caef);}),this['on']('setName',(_0x1e6cea,_0x5e54b2)=>{this['fire']('revisionSetName',_0x5e54b2);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x5e6afb),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x475ba7['if']('isEnabled','ck-disabled',_0xc1d3cd=>!_0xc1d3cd)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0xeeb4c of this['_revisions'])this['_addRevision'](_0xeeb4c);this['_revisions']['on']('add',(_0x129cad,_0x2c227d)=>{this['_addRevision'](_0x2c227d);}),this['_revisions']['on']('remove',(_0x51cc1d,_0x55468a)=>{this['_removeRevision'](_0x55468a);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x40d92a=>_0x40d92a['revisionViews']['map'](_0x343b05=>_0x343b05))['flat']();}['selectRevision'](_0x59c882){for(const _0x17e3f6 of this['revisionViews'])_0x59c882&&_0x59c882['id']===_0x17e3f6['id']?_0x17e3f6['select']():_0x17e3f6['deselect']();}['highlightRevisions'](_0x50e873){for(const _0x38d2a4 of this['revisionViews'])_0x50e873['some'](({id:_0x26bfbe})=>_0x26bfbe===_0x38d2a4['id'])?_0x38d2a4['highlight']():_0x38d2a4['unhighlight']();}['_addRevision'](_0xffe755){const _0x1efd1b=di(_0xffe755['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x3baab2=this['timePeriodViews']['get'](0x0);_0x3baab2&&_0x3baab2['startDate']['getTime']()===_0x1efd1b['getTime']()||(_0x3baab2=new mi(this['locale'],_0x1efd1b,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x3baab2)),_0x3baab2['addRevision'](_0xffe755);}['_removeRevision'](_0x5380fd){const _0x58eec0=di(_0x5380fd['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x58eec0)['removeRevision'](_0x5380fd);}['_getTimePeriodViewByStartDate'](_0x75c4af){return this['timePeriodViews']['find'](_0x77d57e=>_0x77d57e['startDate']['getTime']()===_0x75c4af['getTime']());}}class w extends _0x162d59{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x48eec3,Context as _0x2cf44c,PendingActions as _0x1a9edc,icons as _0x225b5f,Command as _0x1a7331,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x43a9dd,uid as _0x4cba8,Collection as _0x51892e,logWarning as _0x3fd58c,FocusTracker as _0x323edd,KeystrokeHandler as _0x33355a,scrollViewportToShowTarget as _0x3ddca5,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x3aab1f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x22dee4,getMarkerDomElement as _0x1194ea,ConfirmMixin as _0x2bbcd6,sanitizeEditorConfig as _0x1200ac}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x254588,ViewText as _0x2a4ea9,ViewElement as _0x26bd2b,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x114aa8,ViewAttributeElement as _0x3e6aca,ViewEmptyElement as _0x3431a6,ViewRawElement as _0x55c820,ViewUIElement as _0x2043ce,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x2da7ca,set as _0x22ecf4,unset as _0x39a857,isEqual as _0x85a451}from'lodash-es';import{View as _0x4928e5,injectCssTransitionDisabler as ts,submitHandler as _0x3e73dd,LabeledFieldView as at,createLabeledInputText as _0x5ead08,createDropdown as _0x450638,ListView as te,ListItemView as _0x3e8512,ButtonView as _0xa5e4b7,MenuBarMenuView as _0x2440b1,MenuBarMenuListView as _0x364c28,MenuBarMenuListItemView as _0x56604d,MenuBarMenuListItemButtonView as _0x539a3b,ContextualBalloon as _0x21d1f8,ToolbarSeparatorView as _0x3e4cee,IconView as _0x1bf1c2,addListToDropdown as _0x2c6c77,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 _0x26f9ae}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x43a9dd(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x59256f){super(),this['id']=_0x59256f['id']||_0x4cba8(),this['creator']=_0x59256f['creator']||null,this['authors']=_0x59256f['authors']||[],this['diffData']=_0x59256f['diffData']||null,this['toVersion']=_0x59256f['toVersion']||0x0,this['fromVersion']=_0x59256f['fromVersion']||0x0,this['set']('name',_0x59256f['name']||''),this['set']('createdAt',_0x59256f['createdAt']||new Date()),this['set']('attributes',_0x59256f['attributes']||{});}['setName'](_0x202585){this['_update']({'name':_0x202585});}['setAttribute'](_0x539174,_0x3b923b){const _0x38eee7=_0x2da7ca(this['attributes']);_0x22ecf4(_0x38eee7,_0x539174,_0x3b923b),this['_update']({'attributes':_0x38eee7});}['removeAttribute'](_0x310e29){const _0x1b0a5a=_0x2da7ca(this['attributes']);_0x39a857(_0x1b0a5a,_0x310e29),this['_update']({'attributes':_0x1b0a5a});}['_update'](_0xee38c9,_0x2a5594=!0x1){let _0x84f1b3=!0x1;const _0xa3132c={'id':this['id']},_0x239f8c=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x6c9152 of _0x239f8c){const _0x3f5c03=_0xee38c9[_0x6c9152];void 0x0!==_0x3f5c03&&_0x3f5c03!==this[_0x6c9152]&&(this[_0x6c9152]=_0x3f5c03,_0xa3132c[_0x6c9152]=_0x3f5c03,_0x84f1b3=!0x0);}_0x84f1b3&&(_0xa3132c['authors']&&(_0xa3132c['authorsIds']=_0xa3132c['authors']['map'](_0x58f20f=>_0x58f20f['id']),delete _0xa3132c['authors']),this['fire']('_update',_0xa3132c,_0x2a5594));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x58eb1e=>_0x58eb1e['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x48eec3{['_revisions'];static get['requires'](){return[_0x22dee4];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x2b5660){super(_0x2b5660),this['_revisions']=new _0x51892e();}['afterInit'](){!function(_0xd9d20){function _0x785c1f(_0x14b6f5,_0x56cacb,_0x2cac9f){const _0x203911={};_0x203911[_0x1c5d16([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x203911[_0x1c5d16([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],_0x203911[_0x1c5d16([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],_0x203911[_0x1c5d16([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],_0x203911[_0x1c5d16([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],_0x203911[_0x1c5d16([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],_0x203911[_0x1c5d16([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],_0x203911[_0x1c5d16([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],_0x203911[_0x1c5d16([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],_0x203911[_0x1c5d16([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],_0x203911[_0x1c5d16([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 _0x40af15=new Uint8Array(0x10);for(let _0x351ee3=0xf;_0x351ee3>=0x0;--_0x351ee3)_0x40af15[_0x351ee3]=_0x2cac9f%0x100,_0x2cac9f=parseInt(_0x2cac9f/0x100);let _0x1f4e15=null,_0x1b546e=0x10;const _0xa36bed=new Uint8Array(_0x56cacb),_0x4bda14=[],_0x5d9c11=[];_0x48c76b();for(let _0x3fae88=0x0;_0x3fae88<_0x14b6f5[_0x1c5d16([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3fae88++)0x10===_0x1b546e&&(_0x1f4e15=_0x3c033b(_0x40af15),_0x1b546e=0x0,_0x990fc3(_0x40af15)),_0x14b6f5[_0x3fae88]^=_0x1f4e15[_0x1b546e++];return _0x14b6f5;function _0xb0ad20(_0x8ffc39){const _0x40c27f=[];for(let _0x97c7fd=0x0;_0x97c7fd<_0x8ffc39[_0x1c5d16([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x97c7fd+=0x4)_0x40c27f[_0x1c5d16([0x70,0x75,0x73,0x68])](_0x8ffc39[_0x97c7fd]<<0x18|_0x8ffc39[_0x97c7fd+0x1]<<0x10|_0x8ffc39[_0x97c7fd+0x2]<<0x8|_0x8ffc39[_0x97c7fd+0x3]);return _0x40c27f;}function _0x990fc3(_0x36281a){for(let _0x15f793=0xf;_0x15f793>=0x0;_0x15f793--){if(0xff!==_0x36281a[_0x15f793]){_0x36281a[_0x15f793]++;break;}_0x36281a[_0x15f793]=0x0;}}function _0x3c033b(_0x46664b){const _0x38bb1f=_0x4bda14[_0x1c5d16([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x58d50d=[0x0,0x0,0x0,0x0];let t=_0xb0ad20(_0x46664b);for(let _0x15c3e5=0x0;_0x15c3e5<0x4;_0x15c3e5++)t[_0x15c3e5]^=_0x4bda14[0x0][_0x15c3e5];for(let _0x203bd8=0x1;_0x203bd8<_0x38bb1f;_0x203bd8++){for(let _0xc9d3a=0x0;_0xc9d3a<0x4;_0xc9d3a++)_0x58d50d[_0xc9d3a]=_0x203911[_0x1c5d16([0x54,0x31])][t[_0xc9d3a]>>0x18&0xff]^_0x203911[_0x1c5d16([0x54,0x32])][t[(_0xc9d3a+0x1)%0x4]>>0x10&0xff]^_0x203911[_0x1c5d16([0x54,0x33])][t[(_0xc9d3a+0x2)%0x4]>>0x8&0xff]^_0x203911[_0x1c5d16([0x54,0x34])][0xff&t[(_0xc9d3a+0x3)%0x4]]^_0x4bda14[_0x203bd8][_0xc9d3a];t=_0x58d50d[_0x1c5d16([0x73,0x6c,0x69,0x63,0x65])]();}const _0x56ebbb=new Uint8Array(0x10);let _0x392f0c;for(let _0x363d5f=0x0;_0x363d5f<0x4;_0x363d5f++)_0x392f0c=_0x4bda14[_0x38bb1f][_0x363d5f],_0x56ebbb[0x4*_0x363d5f]=0xff&(_0x203911[_0x1c5d16([0x53])][t[_0x363d5f]>>0x18&0xff]^_0x392f0c>>0x18),_0x56ebbb[0x4*_0x363d5f+0x1]=0xff&(_0x203911[_0x1c5d16([0x53])][t[(_0x363d5f+0x1)%0x4]>>0x10&0xff]^_0x392f0c>>0x10),_0x56ebbb[0x4*_0x363d5f+0x2]=0xff&(_0x203911[_0x1c5d16([0x53])][t[(_0x363d5f+0x2)%0x4]>>0x8&0xff]^_0x392f0c>>0x8),_0x56ebbb[0x4*_0x363d5f+0x3]=0xff&(_0x203911[_0x1c5d16([0x53])][0xff&t[(_0x363d5f+0x3)%0x4]]^_0x392f0c);return _0x56ebbb;}function _0x48c76b(){const _0x4b8c00=_0x203911[_0x1c5d16([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0xa36bed[_0x1c5d16([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x4feeb5=0x0;_0x4feeb5<=_0x4b8c00;_0x4feeb5++)_0x4bda14[_0x1c5d16([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x5d9c11[_0x1c5d16([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x3c17e5=0x4*(_0x4b8c00+0x1),_0x170ac6=_0xa36bed[_0x1c5d16([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x25207e=_0xb0ad20(_0xa36bed);let _0x4f6ca0;for(let _0x90d6a6=0x0;_0x90d6a6<_0x170ac6;_0x90d6a6++)_0x4f6ca0=_0x90d6a6>>0x2,_0x4bda14[_0x4f6ca0][_0x90d6a6%0x4]=_0x25207e[_0x90d6a6],_0x5d9c11[_0x4b8c00-_0x4f6ca0][_0x90d6a6%0x4]=_0x25207e[_0x90d6a6];let _0x2abb34,_0x55cc2a=0x0,t=_0x170ac6;for(;t<_0x3c17e5;){_0x2abb34=_0x25207e[_0x170ac6-0x1],_0x25207e[0x0]^=_0x203911[_0x1c5d16([0x53])][_0x2abb34>>0x10&0xff]<<0x18^_0x203911[_0x1c5d16([0x53])][_0x2abb34>>0x8&0xff]<<0x10^_0x203911[_0x1c5d16([0x53])][0xff&_0x2abb34]<<0x8^_0x203911[_0x1c5d16([0x53])][_0x2abb34>>0x18&0xff]^_0x203911[_0x1c5d16([0x72,0x63,0x6f,0x6e])][_0x55cc2a]<<0x18,_0x55cc2a+=0x1;for(let _0x26940a=0x1;_0x26940a<_0x170ac6/0x2;_0x26940a++)_0x25207e[_0x26940a]^=_0x25207e[_0x26940a-0x1];_0x2abb34=_0x25207e[_0x170ac6/0x2-0x1],_0x25207e[_0x170ac6/0x2]^=_0x203911[_0x1c5d16([0x53])][0xff&_0x2abb34]^_0x203911[_0x1c5d16([0x53])][_0x2abb34>>0x8&0xff]<<0x8^_0x203911[_0x1c5d16([0x53])][_0x2abb34>>0x10&0xff]<<0x10^_0x203911[_0x1c5d16([0x53])][_0x2abb34>>0x18&0xff]<<0x18;for(let _0x6175d5=_0x170ac6/0x2+0x1;_0x6175d5<_0x170ac6;_0x6175d5++)_0x25207e[_0x6175d5]^=_0x25207e[_0x6175d5-0x1];let _0x37075c,_0x4f81eb,_0x140c0c=0x0;for(;_0x140c0c<_0x170ac6&&t<_0x3c17e5;)_0x37075c=t>>0x2,_0x4f81eb=t%0x4,_0x4bda14[_0x37075c][_0x4f81eb]=_0x25207e[_0x140c0c],_0x5d9c11[_0x4b8c00-_0x37075c][_0x4f81eb]=_0x25207e[_0x140c0c++],t++;}for(let _0x1dcd03=0x1;_0x1dcd03<_0x4b8c00;_0x1dcd03++)for(let _0x5b60c8=0x0;_0x5b60c8<0x4;_0x5b60c8++)_0x2abb34=_0x5d9c11[_0x1dcd03][_0x5b60c8],_0x5d9c11[_0x1dcd03][_0x5b60c8]=_0x203911[_0x1c5d16([0x55,0x31])][_0x2abb34>>0x18&0xff]^_0x203911[_0x1c5d16([0x55,0x32])][_0x2abb34>>0x10&0xff]^_0x203911[_0x1c5d16([0x55,0x33])][_0x2abb34>>0x8&0xff]^_0x203911[_0x1c5d16([0x55,0x34])][0xff&_0x2abb34];}}function _0x1c5d16(_0xd1e73a){return _0xd1e73a['map'](_0x3796b8=>String['fromCharCode'](_0x3796b8))['join']('');}(_0x4731ef=>{function _0x2f47aa(){const _0x11489f=[{[_0x1c5d16([0x69,0x64])]:0x1,[_0x1c5d16([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x1c5d16([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1c5d16([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1c5d16([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1c5d16([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x1c5d16([0x69,0x64])]:0x2,[_0x1c5d16([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x1c5d16([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1c5d16([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1c5d16([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]),[_0x1c5d16([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1c5d16([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x1c5d16([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x1c5d16([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x1c5d16([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1c5d16([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x1c5d16([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x1c5d16([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x1c5d16([0x69,0x64])]:0x3,[_0x1c5d16([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x1c5d16([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1c5d16([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1c5d16([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1c5d16([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x1c5d16([0x69,0x64])]:0x4,[_0x1c5d16([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x1c5d16([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1c5d16([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1c5d16([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]),[_0x1c5d16([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1c5d16([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x1c5d16([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x1c5d16([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x1c5d16([0x69,0x64])]:0x5,[_0x1c5d16([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x1c5d16([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1c5d16([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]),[_0x1c5d16([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1c5d16([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1c5d16([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1c5d16([0x66,0x67,0x69])]:[0xc]}},{[_0x1c5d16([0x69,0x64])]:0x6,[_0x1c5d16([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x1c5d16([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1c5d16([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1c5d16([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1c5d16([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1c5d16([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1c5d16([0x66,0x67,0x69])]:[0xc]}},{[_0x1c5d16([0x69,0x64])]:0x7,[_0x1c5d16([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x1c5d16([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1c5d16([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1c5d16([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1c5d16([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1c5d16([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1c5d16([0x66,0x67,0x69])]:[0xc]}},{[_0x1c5d16([0x69,0x64])]:0x8,[_0x1c5d16([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x1c5d16([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1c5d16([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]),[_0x1c5d16([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1c5d16([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1c5d16([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1c5d16([0x66,0x67,0x69])]:[0xc]}},{[_0x1c5d16([0x69,0x64])]:0x9,[_0x1c5d16([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x1c5d16([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1c5d16([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1c5d16([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1c5d16([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1c5d16([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1c5d16([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x1c5d16([0x69,0x64])]:0xa,[_0x1c5d16([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([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]),[_0x1c5d16([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([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]),[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1c5d16([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]),[_0x1c5d16([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1c5d16([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1c5d16([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1c5d16([0x66,0x67,0x69])]:[0xc]}},{[_0x1c5d16([0x69,0x64])]:0xb,[_0x1c5d16([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x1c5d16([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1c5d16([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1c5d16([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1c5d16([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x1c5d16([0x69,0x64])]:0xc,[_0x1c5d16([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x1c5d16([0x69,0x64])]:0xd,[_0x1c5d16([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x1c5d16([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1c5d16([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1c5d16([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1c5d16([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1c5d16([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1c5d16([0x66,0x67,0x69])]:[0xc]}},{[_0x1c5d16([0x69,0x64])]:0xe,[_0x1c5d16([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x1c5d16([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1c5d16([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])},{[_0x1c5d16([0x69,0x64])]:0xf,[_0x1c5d16([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x1c5d16([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1c5d16([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1c5d16([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1c5d16([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x1c5d16([0x69,0x64])]:0x10,[_0x1c5d16([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x1c5d16([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1c5d16([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1c5d16([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1c5d16([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1c5d16([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1c5d16([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1c5d16([0x66,0x67,0x69])]:[0xc]}}];return _0x30d3dd(_0x11489f),_0x11489f;function _0x13d746(_0x282125){return 0x1<<_0x282125-0x1;}function _0x30d3dd(_0x447029){_0x447029[_0x1c5d16([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3a3023=>{_0x3a3023[_0x1c5d16([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x13d746(_0x3a3023[_0x1c5d16([0x69,0x64])]),_0x6d40a7(_0x3a3023)&&_0x3a3023[_0x1c5d16([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x30d3dd(_0x3a3023[_0x1c5d16([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x6d40a7(_0x4fe799){return _0x1c5d16([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x4fe799;}const _0x4141f6=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x567242=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x58dff7(_0xe31436){const _0x1a8296=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x1d68b3(_0xe31436,new Uint8Array([..._0x4141f6,..._0x1a8296,..._0x567242]));}function _0x1d68b3(_0x49bfa9,_0x1f54b5){const _0x15b7f9=_0x576bb1(_0x49bfa9),_0x1387fb=Array[_0x1c5d16([0x66,0x72,0x6f,0x6d])](_0xa5aada(_0x15b7f9)),_0x4842ca=_0x1387fb[_0x1c5d16([0x70,0x6f,0x70])](),_0x33e208=_0x1387fb[_0x1c5d16([0x70,0x6f,0x70])]();return _0x28ce22(_0x785c1f(_0x1387fb,_0x1f54b5,_0x33e208+0x100*_0x4842ca));}function _0x576bb1(_0x331188){const _0x4666dc=atob(_0x331188),[_0x41df36,_0x486ea6]=_0x4666dc[_0x1c5d16([0x73,0x70,0x6c,0x69,0x74])](_0x1c5d16([0x2d]));try{if(atob(_0x486ea6))return atob(_0x41df36);}catch(_0x493e60){}return _0x4666dc;}function _0x3932ad(_0x37a283){try{const _0x53ac7f=_0x58dff7(_0x37a283),_0x371f5e=JSON[_0x1c5d16([0x70,0x61,0x72,0x73,0x65])](_0x53ac7f),_0x2ed8da=parseInt(_0x371f5e[_0x1c5d16([0x31])]),_0x2081bf=_0x371f5e[_0x1c5d16([0x32])]||'',_0x4d546c=parseInt(_0x371f5e[_0x1c5d16([0x33])]),_0x3e42bd=parseInt(_0x371f5e[_0x1c5d16([0x34])])||0x0,_0xc5af62=parseInt(_0x371f5e[_0x1c5d16([0x35])])||0x0;return{[_0x1c5d16([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x2081bf,[_0x1c5d16([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x3e42bd,[_0x1c5d16([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x2ed8da,[_0x1c5d16([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x4d546c,[_0x1c5d16([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0xc5af62};}catch(_0x28b0ab){return null;}}const _0x46b74b=_0x2f47aa(),_0x5c8346={[_0x1c5d16([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x1861e6,[_0x1c5d16([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])]:_0x4b8e0e,[_0x1c5d16([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])]:_0x2049e0},_0x32def4=_0x4731ef[_0x1c5d16([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x1c5d16([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x190325=_0x1c5d16([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x4731ef?_0x4731ef['context']:_0x4731ef['editor'],_0x44922d=_0x1c5d16([0x34,0x30,0x34,0x38,0x31,0x36,0x30,0x36]),_0x477313=_0x1c5d16([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]),_0x2a46ab=_0x190325['config']['get'](_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x2a84c8=_0x46b74b[_0x1c5d16([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6d40a7)[_0x1c5d16([0x66,0x69,0x6e,0x64])](_0xb480b0=>_0xb480b0[_0x1c5d16([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x32def4);function _0x12bb81(_0x2fac17,_0x216432){_0x5c8346[_0x216432[_0x1c5d16([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x2fac17,_0x216432),_0x216432[_0x1c5d16([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x216432[_0x1c5d16([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x1c5d16([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x62406e=>_0x573b6e(_0x190325,_0x62406e[_0x1c5d16([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x1c5d16([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x59a6ae=>_0x12bb81(_0x2fac17,_0x59a6ae));}function _0x1861e6(_0x37c332,_0x512d93){_0xa321d0(_0x150111(_0x37c332,_0x512d93),_0x512d93);}function _0x4b8e0e(_0x4a78c6,_0xb15b82){function _0x3462e4(_0x25c559,_0x614179){try{if(_0x573b6e(_0x190325,_0x1c5d16([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x25c559){const _0x4f4d56=_0x34c54c(_0x190325,_0x1c5d16([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x1c5d16([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x4f4d56)/0x2>_0x25c559[_0x1c5d16([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x22d724(_0x614179[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1c5d16([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x150111(_0x25c559,_0x614179);}catch(_0x18e0e6){return _0x22d724(_0x614179[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1c5d16([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0xa321d0(_0x3462e4(_0x4a78c6,_0xb15b82),_0xb15b82);}function _0x2049e0(_0x1a2c7d,_0x38d0be){const _0x2b93fa=_0x567242[0x0]*_0x4141f6[0x1],_0x43951a=_0x567242[0x0]*_0x4141f6[0x2],_0x3379a2=_0x567242[0x2]*_0x4141f6[0x2];_0x573b6e(_0x190325,_0x1c5d16([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x34c54c(_0x190325,_0x1c5d16([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x1c5d16([0x73,0x74,0x61,0x74,0x65])]==_0x1c5d16([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x387876()]=_0x3379a2);function _0x2c2026(_0x5bf346,_0x42640a){try{return _0x551c61()?_0x22d724(_0x42640a[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1c5d16([0x56,0x61,0x6c,0x69,0x64])):_0x150111(_0x5bf346,_0x42640a);}catch(_0x591e4f){return _0x22d724(_0x42640a[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1c5d16([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x4fd323(_0xab8931,_0x325a01){const _0x35008a=0x7;if(_0xab8931==_0x325a01[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1c5d16([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x1a33b1();else{if(_0xab8931==_0x325a01[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1c5d16([0x54,0x72,0x69,0x61,0x6c])){const _0x22b97c=_0x1512fe();_0x22b97c&&_0x49f6c2(_0x22b97c,_0x325a01[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x47abfe=_0x3164aa();window[_0x1c5d16([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x49f6c2(_0x1c5d16([0x74,0x69,0x6d,0x65]),_0x325a01[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x47abfe);const _0x3398b0=_0x34c54c(_0x190325,_0x1c5d16([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x1c5d16([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x3398b0[_0x1c5d16([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x35008a?_0x49f6c2(_0x1c5d16([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x325a01[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x3398b0['on'](_0x1c5d16([0x61,0x64,0x64]),()=>{_0x3398b0[_0x1c5d16([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x35008a&&_0x49f6c2(_0x1c5d16([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x325a01[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x1512fe(){if(!_0x573b6e(_0x190325,_0x1c5d16([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x2819cf in window)if(Number['isNaN'](Number(_0x2819cf))){if(window[_0x2819cf]===_0x2b93fa)return _0x1c5d16([0x74,0x69,0x6d,0x65]);if(window[_0x2819cf]===_0x43951a)return _0x1c5d16([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x551c61(){if(!_0x573b6e(_0x190325,_0x1c5d16([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x749ea4 in window)if(Number['isNaN'](Number(_0x749ea4))&&window[_0x749ea4]===_0x3379a2)return!0x0;return!0x1;}function _0x49f6c2(_0xbd9a9,_0x179f50){_0x1a33b1(),_0x22d724(_0x179f50+_0x1c5d16([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0xbd9a9),window[_0x387876()]=_0xbd9a9===_0x1c5d16([0x74,0x69,0x6d,0x65])?_0x2b93fa:_0x43951a;}function _0x3164aa(){let _0x5117ad=_0x567242[0x6]*_0x4141f6[0x8]*_0x4141f6[0x6];return _0x573b6e(_0x190325,_0x1c5d16([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x5117ad/=0xa),_0x5117ad;}function _0x1a33b1(){const _0x583a4e=_0x190325;function _0x59c40c(){_0x573b6e(_0x583a4e,_0x1c5d16([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x34c54c(_0x583a4e,_0x1c5d16([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1c5d16([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x1c5d16([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x34c54c(_0x583a4e,_0x1c5d16([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1c5d16([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x34c54c(_0x583a4e,_0x1c5d16([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1c5d16([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x5524ab,_0x34c54c(_0x583a4e,_0x1c5d16([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1c5d16([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x5524ab,_0x583a4e[_0x1c5d16([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c5d16([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5524ab,_0x583a4e[_0x1c5d16([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c5d16([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5524ab,_0x583a4e[_0x1c5d16([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1c5d16([0x6d,0x6f,0x64,0x65,0x6c]))),_0x573b6e(_0x583a4e,_0x1c5d16([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x34c54c(_0x583a4e,_0x1c5d16([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1c5d16([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x1c5d16([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x34c54c(_0x583a4e,_0x1c5d16([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1c5d16([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x34c54c(_0x583a4e,_0x1c5d16([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1c5d16([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x5524ab,_0x34c54c(_0x583a4e,_0x1c5d16([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1c5d16([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x5524ab);}_0x583a4e[_0x1c5d16([0x73,0x74,0x61,0x74,0x65])]==_0x1c5d16([0x72,0x65,0x61,0x64,0x79])?_0x59c40c():_0x583a4e[_0x1c5d16([0x6f,0x6e,0x63,0x65])](_0x1c5d16([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x573b6e(_0x583a4e,_0x1c5d16([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x59c40c(),_0x573b6e(_0x583a4e,_0x1c5d16([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x2c61ea=_0x34c54c(_0x583a4e,_0x1c5d16([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x352ef5=_0x2c61ea['getRevision'](0x0),_0x477cd3=_0x2c61ea['getEarlierVisibleRevision'](_0x352ef5[_0x1c5d16([0x69,0x64])]);_0x34c54c(_0x583a4e,_0x1c5d16([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1c5d16([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x352ef5[_0x1c5d16([0x69,0x64])],_0x477cd3?_0x477cd3[_0x1c5d16([0x69,0x64])]:null,0x1)['then'](()=>_0x59c40c());}});}_0x4fd323(_0x2c2026(_0x1a2c7d,_0x38d0be),_0x38d0be);}function _0x150111(_0x276353,_0x58bbfb){try{return _0xdd477e(_0x58bbfb)?_0x22d724(_0x58bbfb[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1c5d16([0x56,0x61,0x6c,0x69,0x64])):_0x276353&&_0x55650b(_0x276353[_0x1c5d16([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x58bbfb)?_0x276353[_0x1c5d16([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x1c5d16([0x6f,0x70,0x65,0x6e])][_0x1c5d16([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x44922d)/0x2>_0x276353[_0x1c5d16([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x22d724(_0x58bbfb[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1c5d16([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x276353[_0x1c5d16([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x22d724(_0x58bbfb[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1c5d16([0x54,0x72,0x69,0x61,0x6c])):_0x22d724(_0x58bbfb[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1c5d16([0x56,0x61,0x6c,0x69,0x64])):_0x22d724(_0x58bbfb[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1c5d16([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x343156){return _0x22d724(_0x58bbfb[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1c5d16([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0xa321d0(_0x451c45,_0x12d173){if(_0x190325 instanceof _0x2cf44c){const _0x356e2c=_0x190325;_0x451c45==_0x12d173[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1c5d16([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x25e647(_0x356e2c):_0x451c45==_0x12d173[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1c5d16([0x54,0x72,0x69,0x61,0x6c])&&window[_0x1c5d16([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x25e647(_0x356e2c),_0x22d724(_0x12d173[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1c5d16([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x567242[0x6]*_0x4141f6[0x8]*_0x4141f6[0x6]),_0x356e2c[_0x1c5d16([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x1c5d16([0x6f,0x6e])](_0x1c5d16([0x61,0x64,0x64]),(_0x30c958,_0x35459c)=>{_0x451c45!=_0x12d173[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1c5d16([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x451c45!=_0x12d173[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1c5d16([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x451c45!=_0x12d173[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1c5d16([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x6be52c(_0x35459c);});}else{const _0x89685c=_0x190325;_0x451c45==_0x12d173[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1c5d16([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x6be52c(_0x89685c):_0x451c45==_0x12d173[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1c5d16([0x54,0x72,0x69,0x61,0x6c])&&_0x89685c[_0x1c5d16([0x6f,0x6e])](_0x1c5d16([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x286c8a=0x0;_0x89685c[_0x1c5d16([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c5d16([0x6f,0x6e])](_0x1c5d16([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x111645,_0x44923b)=>{_0x44923b[0x0][_0x1c5d16([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x286c8a++,0x1f8===_0x286c8a&&(_0x6be52c(_0x89685c),_0x22d724(_0x12d173[_0x1c5d16([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1c5d16([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x111645[_0x1c5d16([0x6f,0x66,0x66])]());},{'priority':_0x1c5d16([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x22d724(_0x286204){const _0x5217a2=_0x387876();return _0x190325[_0x5217a2]=_0x286204,_0x286204;}function _0x387876(){const _0x5549a9=String(window[_0x1c5d16([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1c5d16([0x6e,0x6f,0x77])]())[_0x1c5d16([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1c5d16([0x2e]),'');let _0x1fd3f3='';for(let _0x427419=0x0;_0x427419<_0x5549a9[_0x1c5d16([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x427419+=0x2){let _0x393d9e=parseInt(_0x5549a9[_0x1c5d16([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x427419,_0x427419+0x2));_0x393d9e>=_0x477313[_0x1c5d16([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x393d9e-=_0x477313[_0x1c5d16([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1fd3f3+=_0x477313[_0x393d9e];}return _0x1fd3f3;}function _0x25e647(_0x39af69){for(const _0x2430e6 of _0x39af69[_0x1c5d16([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x6be52c(_0x2430e6);_0x34c54c(_0x39af69,_0x1c5d16([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x1c5d16([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x34c54c(_0x39af69,_0x1c5d16([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x1c5d16([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x5524ab;}function _0x6be52c(_0x566109){function _0xc9fdaf(){_0x566109[_0x1c5d16([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c5d16([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5524ab,_0x566109[_0x1c5d16([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c5d16([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5524ab,_0x566109[_0x1c5d16([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1c5d16([0x6d,0x6f,0x64,0x65,0x6c]));}_0x566109[_0x1c5d16([0x73,0x74,0x61,0x74,0x65])]==_0x1c5d16([0x72,0x65,0x61,0x64,0x79])?_0xc9fdaf():_0x566109[_0x1c5d16([0x6f,0x6e,0x63,0x65])](_0x1c5d16([0x72,0x65,0x61,0x64,0x79]),()=>_0xc9fdaf());}function _0x5524ab(){return null;}function _0x55650b(_0x5ecdaa,_0x296821){const _0x2f3241=!!(_0x5ecdaa&_0x296821[_0x1c5d16([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x2d5b01=_0x4c7b3f(_0x5ecdaa,_0x296821);return _0x2f3241||_0x2d5b01;}function _0x4c7b3f(_0x5814b1,_0x13b406){const _0x17f1bb=(_0x13b406[_0x1c5d16([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x1c5d16([0x66,0x67,0x69])]||null;return!!_0x17f1bb&&_0x46b74b[_0x1c5d16([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa7acfb=>_0x17f1bb[_0x1c5d16([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa7acfb[_0x1c5d16([0x69,0x64])]))[_0x1c5d16([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x23c39a=>!_0x5dce11(_0x23c39a))[_0x1c5d16([0x73,0x6f,0x6d,0x65])](_0x5ceda0=>!!(_0x5814b1&_0x5ceda0[_0x1c5d16([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x5dce11(_0xf12aa1){const _0x35a24e={[_0x1c5d16([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])]:_0x1728d2};return!!_0xf12aa1['forbiddenHandler']&&_0x35a24e[_0xf12aa1['forbiddenHandler']]();}function _0x1728d2(){return!window[_0x1c5d16([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x573b6e(_0x190325,_0x1c5d16([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0xdd477e(_0x59c3c7){if(!_0x573b6e(_0x190325,_0x59c3c7[_0x1c5d16([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x5d06da=_0x59c3c7[_0x1c5d16([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x1ac348=_0x5d06da[_0x1c5d16([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x4f1162=_0x5d06da[_0x1c5d16([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x32f038=_0x5d06da[_0x1c5d16([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x573b6e(_0x190325,_0x1c5d16([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x34c54c(_0x190325,_0x1c5d16([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x1c5d16([0x73,0x74,0x61,0x74,0x65])]==_0x1c5d16([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x1ac348)return!0x0;if(_0x573b6e(_0x190325,_0x1c5d16([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x34c54c(_0x190325,_0x1c5d16([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x1c5d16([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x1c5d16([0x65,0x6e,0x64])&&_0x4f1162)return!0x0;return!(!_0x573b6e(_0x190325,_0x1c5d16([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]))||_0x34c54c(_0x190325,_0x1c5d16([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]))[_0x1c5d16([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x1c5d16([0x65,0x6e,0x64])||!_0x32f038);}function _0x573b6e(_0x1dc66a,_0x4056dc){return _0x1dc66a[_0x1c5d16([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1c5d16([0x68,0x61,0x73])](_0x4056dc);}function _0x34c54c(_0x5020ee,_0x50557a){return _0x5020ee[_0x1c5d16([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1c5d16([0x67,0x65,0x74])](_0x50557a);}function _0x28ce22(_0x17fb63){let _0x567f64='';for(const _0x5e19d3 of _0x17fb63)_0x567f64+=String[_0x1c5d16([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x5e19d3);return _0x567f64;}function _0xa5aada(_0x95eab6){const _0x5e3150=new Uint8Array(_0x95eab6[_0x1c5d16([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x1f1433=0x0;_0x1f1433<_0x95eab6[_0x1c5d16([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f1433++)_0x5e3150[_0x1f1433]=_0x95eab6[_0x1c5d16([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1f1433);return _0x5e3150;}_0x2a84c8&&_0x12bb81(_0x3932ad(_0x2a46ab),_0x2a84c8);})(_0xd9d20);}(this);}['createRevision'](_0x5a459b){const _0x323f5f=this['editor']['plugins']['get']('Users');return new a({'id':_0x5a459b['id'],'name':_0x5a459b['name'],'creator':_0x5a459b['creatorId']?_0x323f5f['getUser'](_0x5a459b['creatorId']):null,'diffData':_0x5a459b['diffData']||_0x5a459b['data'],'authors':_0x5a459b['authorsIds']['map'](_0x16052f=>_0x323f5f['getUser'](_0x16052f)),'createdAt':new Date(_0x5a459b['createdAt']),'attributes':_0x5a459b['attributes'],'fromVersion':_0x5a459b['fromVersion'],'toVersion':_0x5a459b['toVersion']});}['addRevision'](_0xd503c5,_0x5db216=0x0){this['_revisions']['add'](_0xd503c5,_0x5db216);}['getRevision'](_0x538e04){return this['_revisions']['get'](_0x538e04);}['getRevisions'](_0x4acab8={'toJSON':!0x1}){const _0x3fe054=Array['from'](this['_revisions']);return _0x3fe054['reverse'](),_0x4acab8['toJSON']?_0x3fe054['map'](_0x151db2=>_0x151db2['toJSON']()):_0x3fe054;}['getIndex'](_0x3f23e2){return this['_revisions']['getIndex'](_0x3f23e2);}['getEarlierVisibleRevision'](_0x1a5928){const [,_0x498160]=this['getRevisionsIterator'](_0x1a5928,{'direction':'earlier'});return _0x498160;}['getLaterVisibleRevision'](_0x39aa85){const [,_0x5d5bd2]=this['getRevisionsIterator'](_0x39aa85,{'direction':'later'});return _0x5d5bd2;}['getRevisionsInDiff'](_0x5890a1){const _0xb20a19=[];for(const _0x3afd43 of this['getRevisionsIterator'](_0x5890a1['newRevisionId']))if(_0xb20a19['push'](_0x3afd43),_0x3afd43['id']===_0x5890a1['oldRevisionId'])break;return _0xb20a19;}*['getRevisionsIterator'](_0x39233e,{direction:_0x1b4fd7='earlier',filter:_0x25fec5=_0x257f0c=>!0x0}={}){const _0x5459d0='earlier'===_0x1b4fd7?0x1:-0x1;let _0x37665f=this['_revisions']['get'](_0x39233e),_0x3ddc87=this['getIndex'](_0x37665f);for(yield _0x37665f;_0x37665f;){if(_0x3ddc87+=_0x5459d0,_0x37665f=this['getRevision'](_0x3ddc87),!_0x37665f)return;_0x25fec5(_0x37665f)&&(yield _0x37665f);}}}function y(_0x49aaa9,_0x7fc231,_0x52386d){const t=_0x49aaa9['t'];switch(_0x7fc231){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'},_0x52386d);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x52386d);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'Accept':return t('Accept');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':_0x114aa8,'a':_0x3e6aca,'e':_0x3431a6,'r':_0x55c820,'u':_0x2043ce};class l extends _0x48eec3{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x22dee4,A,_0x1a9edc];}constructor(_0x515295){super(_0x515295),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 _0x542c28=_0x4cba8();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x542c28},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 _0x450b27=this['repository']['getRevision'](0x0),_0x1edc50=_0x450b27&&null===_0x450b27['creator']?_0x450b27:null;if(this['_continueCurrentRevision']=!!_0x1edc50&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x3eadbb=this['_source']['getCurrentRevisionId'](),_0x1df26a=this['repository']['getRevision'](_0x3eadbb);if(_0x1df26a)this['_startingVersion']=_0x1df26a['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x161bcb=this['_source']['history']['_operations']['find'](_0x1790fe=>!_0x1790fe['_isInit']),_0x238437=_0x161bcb?_0x161bcb['baseVersion']:this['_source']['history']['version'];_0x450b27?(_0x450b27['toVersion']<_0x238437&&_0x450b27['_update']({'toVersion':_0x238437}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x1edc50['id'],this['_startingVersion']=_0x1edc50['fromVersion']):(this['_startingVersion']=_0x450b27['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x238437,this['_continueCurrentRevision']=!0x1);}}else _0x1edc50&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x1edc50['toVersion'],this['editor']['model']['document']['history']['version']),_0x1edc50['fromVersion']===_0x1edc50['toVersion']?(0x0!==_0x1edc50['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x1edc50['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x1edc50['id'],this['_startingVersion']=_0x1edc50['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',_0x544873=>!_0x544873);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x2fcc16=this['repository']['getRevision'](0x0),_0xc3bb90=await this['getRevisionDocumentData'](_0x2fcc16),_0x56c9dc=await this['getRevisionRootsAttributes'](_0x2fcc16);this['_replaceEditorDataWithRevisionData'](_0xc3bb90,_0x56c9dc);}}['setSource'](_0x21dcba){this['_source']=_0x21dcba;}async['update'](){const _0x450afd=await this['_source']['getLatestVersion']();if(_0x450afd>this['currentRevision']['toVersion']){await this['_loadState']();const _0x25dbaf=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x450afd});_0x25dbaf['authors']=_0x25dbaf['authorsIds']['map'](_0x3a9ced=>this['editor']['plugins']['get']('Users')['getUser'](_0x3a9ced)),this['currentRevision']['_update'](_0x25dbaf);}}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'](_0x1ca0e5={},_0x150557=null){const _0x3319c6=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x150557>this['currentRevision']['toVersion']&&(_0x150557=null),null===_0x150557&&(_0x150557=await this['_source']['getLatestVersion']());const _0xfa9552=this['_getFromVersion'](_0x150557),_0x53d2f0=this['buildRevisionData']({'from':_0xfa9552,'to':_0x150557});if(this['currentRevision']['toVersion']<_0x150557){const _0x3cf1cb=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x150557,'to':_0x150557});_0x3cf1cb['authors']=[],_0x3cf1cb['authorsIds']=[],_0x3cf1cb['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x3cf1cb,!0x0),delete _0x3cf1cb['authors'],_0x3319c6['push'](_0x3cf1cb);}_0x1ca0e5['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x1ca0e5['name']=_0x1ca0e5['name']||null,_0x1ca0e5['id']=_0x1ca0e5['id']||_0x4cba8(),_0x1ca0e5={..._0x1ca0e5,..._0x53d2f0};const _0x478f35=this['addRevisionData'](_0x1ca0e5);_0x3319c6['push'](_0x1ca0e5);const _0x465fe7=this['repository']['getIndex'](_0x478f35);if(0x0!==_0x465fe7){const _0x387f6c=this['repository']['getRevision'](_0x465fe7-0x1);if(_0x387f6c['fromVersion']!==_0x150557){const _0x6c8df1=this['_revisionDataBuilder']['getData'](_0x150557,_0x387f6c['toVersion']),_0x2444ce={'id':_0x387f6c['id'],'diffData':_0x6c8df1['diffData'],'authorsIds':_0x6c8df1['authorsIds'],'authors':_0x6c8df1['authorsIds']['map'](_0x321318=>this['editor']['plugins']['get']('Users')['getUser'](_0x321318)),'fromVersion':_0x150557};_0x387f6c===this['currentRevision']&&(_0x2444ce['createdAt']=new Date(_0x1ca0e5['createdAt']['getTime']()+0xa)),_0x387f6c['_update'](_0x2444ce,!0x0),delete _0x2444ce['authors'],_0x3319c6['push'](_0x2444ce);}}if(this['adapter']){for(const _0x186e1a of _0x3319c6)this['_bufferUpdate'](_0x186e1a['id'],_0x186e1a,!0x0);this['sendBufferedUpdates']();}return _0x478f35;}['addRevisionData'](_0x11d537){const _0x442223=this['repository']['createRevision'](_0x11d537);return this['adapter']&&_0x442223['on']('_update',(_0x4f126c,_0x235272,_0x4be019)=>{_0x4be019||(this['_bufferUpdate'](_0x235272['id'],_0x235272,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x442223,this['_findInsertionIndex'](_0x442223)),_0x442223;}async['getRevisionDocumentData'](_0x257d37){await this['_loadRevisionData'](_0x257d37);const _0x1079a1={};for(const _0x3237a4 in _0x257d37['diffData']){if(_0x257d37['diffData'][_0x3237a4]['attachChange']&&!_0x257d37['diffData'][_0x3237a4]['attachChange']['isAttached'])continue;const _0xa70a65=this['_removeRevisionMarkers'](JSON['parse'](_0x257d37['diffData'][_0x3237a4]['insertions'])),_0x3d4ed5=this['editor']['editing']['view']['document'],_0x22eaef=new _0x254588(_0x3d4ed5,_0xa70a65['map'](_0x5da312=>B(_0x5da312,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x1079a1[_0x3237a4]=this['editor']['data']['processor']['toData'](_0x22eaef),this['editor']['data']['processor']['useFillerType']('default');}return _0x1079a1;}async['getRevisionRootsAttributes'](_0x5ba9da){await this['_loadRevisionData'](_0x5ba9da);const _0x501972={};for(const _0x20f0de in _0x5ba9da['diffData'])_0x5ba9da['diffData'][_0x20f0de]['attachChange']&&!_0x5ba9da['diffData'][_0x20f0de]['attachChange']['isAttached']||(_0x501972[_0x20f0de]=_0x5ba9da['diffData'][_0x20f0de]['attributesAfter']||{});return _0x501972;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x5d32dc=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x83bccc=0x0;_0x83bccc<_0x5d32dc['length'];_0x83bccc++){const _0x5c4993=_0x5d32dc[_0x83bccc];let _0x1f8050=!0x1;for(const _0x2e7cfd of Object['keys'](_0x5c4993))void 0x0===_0x5c4993[_0x2e7cfd]?delete _0x5c4993[_0x2e7cfd]:'id'!==_0x2e7cfd&&(_0x1f8050=!0x0);_0x1f8050||(_0x5d32dc[_0x83bccc]=null);}if(_0x5d32dc=_0x5d32dc['filter'](_0x4f87f9=>null!==_0x4f87f9),!_0x5d32dc['length'])return;for(let _0x407ede=0x0;_0x407ede<_0x5d32dc['length'];_0x407ede++){const _0x4a3b8a=_0x5d32dc[_0x407ede];void 0x0!==_0x4a3b8a['fromVersion']&&void 0x0===_0x4a3b8a['toVersion']&&(_0x4a3b8a['toVersion']=this['repository']['getRevision'](_0x4a3b8a['id'])['toVersion']),void 0x0!==_0x4a3b8a['toVersion']&&void 0x0===_0x4a3b8a['fromVersion']&&(_0x4a3b8a['fromVersion']=this['repository']['getRevision'](_0x4a3b8a['id'])['fromVersion']);}const _0x308ba1=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x5d32dc,_0x308ba1)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x51f30c=>{if(_0x51f30c){for(const _0x1793f3 of _0x51f30c)this['setRevisionData']({'id':_0x1793f3['id'],'createdAt':_0x1793f3['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x381a53,_0x396fc4){let _0x4f034c=this['editor']['config']['get']('initialData'),_0x343100=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x4f034c){_0x4f034c={};for(const _0x23aa59 of this['editor']['model']['document']['getRootNames']())_0x4f034c[_0x23aa59]='';}if('string'==typeof _0x4f034c&&(_0x4f034c={'main':_0x4f034c}),void 0x0===_0x343100){_0x343100={};for(const _0x5d6ad9 of this['editor']['model']['document']['getRootNames']())_0x343100[_0x5d6ad9]={};}let _0x2c8c1d=!0x1;const _0x20bc76=Object['keys'](_0x4f034c),_0x32c10c=Object['keys'](_0x381a53);for(const _0x22e2bd of _0x20bc76){if(_0x4f034c[_0x22e2bd]!==_0x381a53[_0x22e2bd]&&''!==_0x4f034c[_0x22e2bd]['trim']()){_0x2c8c1d=!0x0;break;}if(!_0x85a451(_0x343100[_0x22e2bd],_0x396fc4[_0x22e2bd])&&Object['keys'](_0x343100[_0x22e2bd])['length']>0x0){_0x2c8c1d=!0x0;break;}}_0x2c8c1d||(_0x2c8c1d=_0x32c10c['some'](_0xf5eb9a=>!this['editor']['model']['document']['getRoot'](_0xf5eb9a))),_0x2c8c1d&&_0x3fd58c('editor-initial-data-replaced-with-revision-data',{'editorData':_0x4f034c,'editorRootsAttributes':_0x343100,'revisionData':_0x381a53,'revisionRootsAttributes':_0x396fc4}),this['editor']['config']['set']('initialData',_0x381a53),this['editor']['config']['set']('rootsAttributes',_0x396fc4);}['_addPendingAction'](){if(!this['_pendingAction']){const _0xeb4a21=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0xeb4a21['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x4ab92d){const _0x3aca25=this['repository']['getRevisions']();_0x3aca25['reverse']();let _0x423daf=0x0;for(;_0x423daf<_0x3aca25['length'];){const _0x1dccf6=_0x3aca25[_0x423daf];if(_0x1dccf6===this['currentRevision']){_0x423daf++;continue;}if(_0x1dccf6['id']===this['_initialRevisionId'])break;const _0x39c264=_0x4ab92d['toVersion']-_0x1dccf6['toVersion']||_0x4ab92d['fromVersion']-_0x1dccf6['fromVersion'];if(_0x39c264>0x0)break;if(_0x39c264<0x0)_0x423daf++;else{if(!_0x4ab92d['creator']&&_0x1dccf6['creator'])break;if(_0x1dccf6['creator']||!_0x4ab92d['creator']){if(_0x4ab92d['createdAt']>_0x1dccf6['createdAt'])break;_0x423daf++;}else _0x423daf++;}}return _0x423daf;}['setRevisionData'](_0x477f0b){const _0x248ea8=this['repository']['getRevision'](_0x477f0b['id']);if(_0x477f0b['createdAt']&&(_0x477f0b['createdAt']=new Date(_0x477f0b['createdAt'])),_0x477f0b['authorsIds']){const _0xf70000=this['editor']['plugins']['get']('Users');_0x477f0b['authors']=_0x477f0b['authorsIds']['map'](_0x2bcbe6=>_0xf70000['getUser'](_0x2bcbe6));}_0x248ea8['_update'](_0x477f0b,!0x0);}['buildRevisionData']({revision:_0x5a712f=null,from:_0x366c86=null,to:_0x2c9e14=null}){_0x366c86=null!==_0x366c86?_0x366c86:_0x5a712f['fromVersion'],_0x2c9e14=null!==_0x2c9e14?_0x2c9e14:_0x5a712f['toVersion'];const _0x206434=this['_revisionDataBuilder']['getData'](_0x366c86,_0x2c9e14),_0x2f2482={'diffData':_0x206434['diffData'],'authorsIds':_0x206434['authorsIds'],'fromVersion':_0x366c86,'toVersion':_0x2c9e14};if(!_0x5a712f||_0x2c9e14!==_0x5a712f['toVersion']){const _0x3179d3=_0x2c9e14-0x1,_0x377cbc=this['_source']['history']['getOperation'](_0x3179d3);_0x2f2482['createdAt']=_0x377cbc&&_0x377cbc['createdAt']||new Date();}if(this['_loadedStateData']&&_0x366c86===this['_loadedStateData']['fromVersion']){for(const _0xc4008e of this['_loadedStateData']['authors'])_0x2f2482['authorsIds']['includes'](_0xc4008e['id'])||_0x2f2482['authorsIds']['push'](_0xc4008e['id']);}return _0x2f2482;}['_loadRevisionData'](_0x329e61){if(!_0x329e61||_0x329e61['diffData'])return Promise['resolve']();{const _0x28e185=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x28e185,'revisionId':_0x329e61['id']})['then'](_0x79989e=>{_0x329e61['diffData']=_0x79989e['diffData'];});}}['_bufferUpdate'](_0x41afc0,_0x4bbccc,_0x1ab9c3){if(this['_bufferedUpdates']['has'](_0x41afc0)){const _0x303281=this['_bufferedUpdates']['get'](_0x41afc0);_0x4bbccc=_0x1ab9c3?{..._0x303281,..._0x4bbccc}:{..._0x4bbccc,..._0x303281};}this['_bufferedUpdates']['set'](_0x41afc0,_0x4bbccc);}['_getFromVersion'](_0x3163a5){const _0x109073=this['repository']['getRevisions']();_0x109073['reverse'](),_0x109073['shift']();const _0x264fb5=_0x109073['find'](_0x5e3f4c=>_0x5e3f4c['toVersion']<=_0x3163a5)['toVersion'];return _0x264fb5<this['_startingVersion']?this['_startingVersion']:_0x264fb5;}['_createInitialRevision'](_0x2c624b){const _0x5f2a7a=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x5f2a7a)this['_initialRevisionId']=_0x5f2a7a['id'];else{const _0x752850=!this['editor']['model']['document']['roots']['find'](_0x4842c8=>this['editor']['model']['hasContent'](_0x4842c8)),_0x593b49=this['editor']['plugins']['get']('Users')['me']['id'],_0x2aa91a=y(this['editor']['locale'],_0x752850?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x2c624b,'to':_0x2c624b,'id':this['_initialRevisionId'],'name':_0x2aa91a,'creatorId':_0x593b49});}}['_createCurrentRevision'](_0x3e77c8){const _0x464d75=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x464d75),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x3e77c8,'to':_0x3e77c8,'id':_0x464d75,'name':'','creatorId':null}));}['_makeRevision']({name:_0x13ce40,from:_0x3680aa,to:_0x53e88f,creatorId:_0x459840,id:_0x54dacf}){const _0x3cb620=this['buildRevisionData']({'from':_0x3680aa,'to':_0x53e88f});_0x3cb620['name']=_0x13ce40,_0x3cb620['creatorId']=_0x459840,_0x3cb620['id']=_0x54dacf;const _0x5bb0ae=this['addRevisionData'](_0x3cb620);return this['adapter']&&this['_bufferUpdate'](_0x3cb620['id'],_0x3cb620,!0x0),_0x5bb0ae;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x3f8387){return(_0x3f8387=_0x3f8387['filter'](_0x181189=>!_0x181189['name']||'revision-start'!==_0x181189['name']&&'revision-end'!==_0x181189['name']))['forEach'](_0x37ce97=>{'string'!=typeof _0x37ce97&&(_0x37ce97['children']=this['_removeRevisionMarkers'](_0x37ce97['children']),_0x37ce97['attributes']=_0x37ce97['attributes']['filter'](_0x336e66=>!_0x336e66[0x0]['startsWith']('data-revision-')));}),_0x3f8387;}}function B(_0x4f65ff,_0x4f8bb1){const _0x4740af=_0x4f8bb1['editing']['view']['document'];if('string'==typeof _0x4f65ff)return new _0x2a4ea9(_0x4740af,_0x4f65ff);{const _0x1d2a58=_0x4f65ff['children']['map'](_0xc94dd3=>B(_0xc94dd3,_0x4f8bb1));return new(T[_0x4f65ff['type']]||_0x26bd2b)(_0x4740af,_0x4f65ff['name'],_0x4f65ff['attributes'],_0x1d2a58);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x5ca1bc){this['editor']=_0x5ca1bc,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'](_0x7956ca){this['source']=_0x7956ca;const _0x16571b=new Map(),_0x4d8ecd=new Map(),_0x4da693=this['editor']['model']['document']['roots']['map'](_0x2407ba=>_0x2407ba['rootName']);for(const _0xfaf810 of _0x4da693){const _0x55e9c8=this['editor']['model']['document']['getRoot'](_0xfaf810),_0xb2eaf8=q(_0x55e9c8);_0x16571b['set'](_0xfaf810,_0xb2eaf8),_0x4d8ecd['set'](_0xfaf810,Object['fromEntries'](_0x55e9c8['getAttributes']()));}const _0x4d1162=Array['from'](this['editor']['model']['markers'])['map'](_0x263fa8=>[_0x263fa8['name'],_0x263fa8['getRange']()]),_0x3f52d0=this['source']['version'];this['_saveMetaData'](_0x3f52d0,_0x16571b,_0x4d1162,_0x4d8ecd),this['_startingRevisionId']=this['_revisionId'];const _0x144983=new Map(),_0x3f0f29=new Map();for(const _0x258458 of _0x4da693){const _0x1123b2=G(_0x258458);_0x144983['set'](_0x258458,_0x1123b2),_0x3f0f29['set'](_0x258458,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x144983,[],_0x3f0f29);}['getData'](_0x1bb4f6,_0x15f877){if(this['_lastFrom']===_0x1bb4f6&&this['_lastTo']<=_0x15f877)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x15f877,!0x0);else{if(!this['_savedMetaData']['has'](_0x1bb4f6)){const _0x4c81dd=this['_getPreviousFrom'](_0x1bb4f6);this['_calculateMetaData'](_0x4c81dd,_0x1bb4f6,!0x1);}this['_calculateMetaData'](_0x1bb4f6,_0x15f877,!0x0);}return this['_lastFrom']=_0x1bb4f6,this['_lastTo']=_0x15f877,this['_getState']();}['loadState'](_0x3fdeb1){this['_reset'](),this['_lastFrom']=_0x3fdeb1['fromVersion'],this['_lastTo']=_0x3fdeb1['toVersion'];for(const _0x28514a in _0x3fdeb1['diffData']){const _0x5718e5=_0x3fdeb1['diffData'][_0x28514a]['attachChange'],_0x4b765b=_0x2da7ca(_0x3fdeb1['diffData'][_0x28514a]['attributesBefore'])||{},_0x462327=this['_makeModelFromViewString'](_0x3fdeb1['diffData'][_0x28514a]['deletions']);_0x462327['rootName']=_0x28514a,_0x462327['_isAttached']=!_0x5718e5||!_0x5718e5['isAttached'],_0x462327['isAttached']=()=>_0x462327['_isAttached'],this['_baseRoots']['set'](_0x28514a,_0x462327),this['_baseRootsAttributes']['set'](_0x28514a,_0x4b765b),_0x5718e5&&this['_touchedRoots']['set'](_0x28514a,_0x5718e5);const _0x4f0bc0=this['_makeIdsRoot'](_0x462327);this['_baseIdsRoots']['set'](_0x28514a,_0x4f0bc0);for(const [_0x597438,_0x70c88f]of _0x462327['markers']){if(!_0x597438['startsWith']('revision:'))continue;const _0x331157=_0x597438['split'](':')[0x2];for(const _0x482d38 of _0x70c88f['getWalker']({'singleCharacters':!0x0})){const _0x5ebd7e=this['_getVidAttributeName'](_0x482d38),_0x3a9d41='elementEnd'==_0x482d38['type']?_0x482d38['previousPosition']['path']['slice'](0x0,-0x1):_0x482d38['previousPosition']['path'],_0x1b29c9=_0x4f0bc0['getNodeByPath'](_0x3a9d41)['getAttribute'](_0x5ebd7e);this['_touched']['set'](_0x1b29c9,{'userId':_0x331157});}}}this['_startingRevisionId']=this['_revisionId'];const _0x3582ce=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x141851=>!this['_touched']['has'](_0x141851));let _0x452df4=0x0;const _0x1ca1c7=new Map();for(const _0x5a3adf in _0x3fdeb1['diffData']){const _0x41c829=_0x3fdeb1['diffData'][_0x5a3adf]['attachChange'],_0x3a2d53=_0x2da7ca(_0x3fdeb1['diffData'][_0x5a3adf]['attributesAfter'])||{},_0x192c05=this['_makeModelFromViewString'](_0x3fdeb1['diffData'][_0x5a3adf]['insertions']);_0x192c05['rootName']=_0x5a3adf,_0x192c05['_isAttached']=!_0x41c829||_0x41c829['isAttached'],_0x192c05['isAttached']=()=>_0x192c05['_isAttached'],this['_diffRoots']['set'](_0x5a3adf,_0x192c05),this['_diffRootsAttributes']['set'](_0x5a3adf,_0x3a2d53);const _0x32a748=this['_makeIdsRoot'](_0x192c05,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x5a3adf,_0x32a748),_0x1ca1c7['set'](_0x5a3adf,_0x192c05['isAttached']()?_0x3a2d53:{});for(const [_0x307d01,_0x268aee]of _0x192c05['markers']){if(!_0x307d01['startsWith']('revision:'))continue;const _0xda5a7d=_0x307d01['split'](':')[0x2];for(const _0x3be75c of _0x268aee['getWalker']({'singleCharacters':!0x0})){const _0x4976f2=this['_getVidAttributeName'](_0x3be75c),_0x3d81e8=this['_revisionId']++,_0x17feab='elementEnd'==_0x3be75c['type']?_0x3be75c['previousPosition']['path']['slice'](0x0,-0x1):_0x3be75c['previousPosition']['path'];_0x32a748['getNodeByPath'](_0x17feab)['_setAttribute'](_0x4976f2,_0x3d81e8),this['_touched']['set'](_0x3d81e8,{'userId':_0xda5a7d});}}for(const _0x5b057b of this['editor']['model']['createRangeIn'](_0x192c05)['getWalker']({'singleCharacters':!0x0})){const _0x5e9d37=this['_getVidAttributeName'](_0x5b057b),_0x19bc32='elementEnd'==_0x5b057b['type']?_0x5b057b['previousPosition']['path']['slice'](0x0,-0x1):_0x5b057b['previousPosition']['path'],_0x4b74c1=_0x32a748['getNodeByPath'](_0x19bc32);_0x4b74c1['getAttribute'](_0x5e9d37)>0x0||_0x4b74c1['_setAttribute'](_0x5e9d37,_0x3582ce[_0x452df4++]);}for(const [_0x1af8e9,_0x42bf3c]of _0x192c05['markers'])_0x1af8e9['startsWith']('revision:')||this['_markers']['set'](_0x1af8e9,_0x42bf3c);}const _0xbbe270=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0xbbe270),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0xbbe270,0x1));const _0x46e86a=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x46e86a),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x46e86a,0x1));const _0x69875b=Array['from'](this['_diffRoots'])['map'](([_0x4d4c47,_0x32f578])=>[_0x4d4c47,q(_0x32f578)]);this['_saveMetaData'](this['_lastTo'],_0x69875b,this['_markers'],_0x1ca1c7);}['_makeModelFromViewString'](_0x3e9c3d){const _0x4b8767=JSON['parse'](_0x3e9c3d),_0x23394a=this['editor']['editing']['view']['document'],_0x19fb58=new _0x254588(_0x23394a,_0x4b8767['map'](_0x617b1a=>B(_0x617b1a,this['editor'])));return this['editor']['data']['toModel'](_0x19fb58);}['_saveMetaData'](_0x3affdd,_0x59af64,_0x21a260,_0x5e8631){const _0xd5976=new Map(_0x59af64),_0x30e0ec=new Map(_0x2da7ca(_0x5e8631)),_0x486e0a=new Map();for(const [_0xb9443,_0x2e88f5]of _0x21a260)_0x486e0a['set'](_0xb9443,{'start':_0x2e88f5['start']['clone'](),'end':_0x2e88f5['end']['clone'](),'rootName':_0x2e88f5['root']['rootName']});this['_savedMetaData']['set'](_0x3affdd,{'roots':_0xd5976,'markers':_0x486e0a,'rootsAttributes':_0x30e0ec});}['_removeMetaData'](_0x3c1b65){this['_savedMetaData']['delete'](_0x3c1b65);}['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'](_0x16df96,_0x3c68c9=null){let _0x37b750=null;_0x16df96['is']('documentFragment')||(_0x37b750=new ft(_0x16df96['name'],{'vid_start':null===_0x3c68c9?this['_revisionId']++:_0x3c68c9++}));const _0x38a628=[];for(const _0x213dad of _0x16df96['getChildren']())if(_0x213dad['is']('element')){_0x38a628['push'](this['_makeIdsRoot'](_0x213dad,_0x3c68c9));const _0x7dc3c0=_0x38a628[_0x38a628['length']-0x1];null!==_0x3c68c9&&(_0x3c68c9=_0x7dc3c0['is']('element','$text')?_0x7dc3c0['getAttribute']('vid')+0x1:_0x7dc3c0['getAttribute']('vid_end')+0x1);}else{for(let _0x5120ad=0x0;_0x5120ad<_0x213dad['offsetSize'];_0x5120ad++)_0x38a628['push'](new ft('$text',{'vid':null===_0x3c68c9?this['_revisionId']++:_0x3c68c9++}));}if(_0x16df96['is']('documentFragment')){const _0x2632f1=G(_0x16df96['rootName']);return _0x2632f1['_insertChild'](0x0,_0x38a628),_0x2632f1;}return _0x37b750['_setAttribute']('vid_end',null===_0x3c68c9?this['_revisionId']++:_0x3c68c9++),_0x37b750['_insertChild'](0x0,_0x38a628),_0x37b750;}['_calculateMetaData'](_0x5a7057,_0x267870,_0x4df4fb){this['_reset']();const {roots:_0x154157,markers:_0x3162f7,rootsAttributes:_0x439571}=this['_savedMetaData']['get'](_0x5a7057);this['_baseRoots']=new Map(_0x154157),this['_baseRootsAttributes']=new Map(_0x2da7ca(_0x439571));for(const [_0x4b5b9a,_0x55c233]of this['_baseRoots'])if('$graveyard'!==_0x4b5b9a&&(this['_diffRoots']['set'](_0x4b5b9a,q(_0x55c233)),this['_diffRootsAttributes']=new Map(_0x2da7ca(_0x439571)),_0x4df4fb)){const _0x49b8df=this['_revisionId'];this['_idsRoots']['set'](_0x4b5b9a,this['_makeIdsRoot'](_0x55c233)),this['_baseIdsRoots']['set'](_0x4b5b9a,this['_makeIdsRoot'](_0x55c233,_0x49b8df));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x4df4fb&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x47bc01,_0x279e56]of _0x3162f7){const _0x29bccd=this['_baseRoots']['get'](_0x279e56['rootName']),_0x29db2b=this['_diffRoots']['get'](_0x279e56['rootName']),_0x5c74b3=new vt(this['_fixPosition'](_0x279e56['start'],_0x29bccd),this['_fixPosition'](_0x279e56['end'],_0x29bccd)),_0x551e18=this['_fixRange'](_0x5c74b3,_0x29db2b);_0x29bccd['markers']['set'](_0x47bc01,_0x5c74b3),this['_markers']['set'](_0x47bc01,_0x551e18);}this['_applyOperations'](_0x5a7057,_0x267870,_0x4df4fb);}['_applyOperations'](_0x263aea,_0x1536a1,_0x3370b2){for(const _0xc46956 of this['source']['getOperations'](_0x263aea,_0x1536a1))this['_handleOperation'](_0xc46956,_0x3370b2);for(const _0x49215a of this['_diffRoots']['values']())_0x49215a['markers']['clear']();for(const [_0x3e4de4,_0x4ed084]of this['_markers']){this['_diffRoots']['get'](_0x4ed084['root']['rootName'])['markers']['set'](_0x3e4de4,_0x4ed084['clone']());}const _0x1e3ade=new Map(),_0x46c578=new Map();for(const [_0x3803a3,_0x2bf318]of this['_diffRoots'])_0x1e3ade['set'](_0x3803a3,q(_0x2bf318)),_0x46c578['set'](_0x3803a3,this['_diffRootsAttributes']['get'](_0x3803a3));this['_saveMetaData'](_0x1536a1,_0x1e3ade,this['_markers'],_0x46c578);}['_getPreviousFrom'](_0x45905e){const _0x5eec49=Array['from'](this['_savedMetaData']['keys']());_0x5eec49['sort']((_0x293514,_0x1018de)=>_0x293514-_0x1018de),_0x5eec49['reverse']();for(const _0x53cd52 of _0x5eec49)if(_0x53cd52<_0x45905e)return _0x53cd52;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x4c71d4,_0x1273a3){const _0x5676a3=Array['from'](_0x1273a3['markers'])['map'](([_0x1969f6,_0x4d572b])=>[_0x1969f6,this['_fixRange'](_0x4d572b,_0x4c71d4)]);_0x4c71d4['markers']=new Map(_0x5676a3);}['_transformMarkers'](_0x4080f2){for(const _0x528dbd of this['_markers']['values']()){const _0x420dd8=_0x528dbd['getTransformedByOperation'](_0x4080f2),_0x2f00ce=vt['_createFromRanges'](_0x420dd8);_0x528dbd['start']=_0x2f00ce['start'],_0x528dbd['end']=_0x2f00ce['end'];}}['_handleOperation'](_0x1b304a,_0x2d9064){if('addRoot'==_0x1b304a['type']||'detachRoot'==_0x1b304a['type'])return void this['_handleRootOperation'](_0x1b304a,_0x2d9064);if('insert'==_0x1b304a['type']){const _0x53baa0=_0x1b304a['position']['root']['rootName'];this['_diffRoots']['has'](_0x53baa0)||(this['_diffRoots']['set'](_0x53baa0,G(_0x53baa0,!0x0)),this['_diffRootsAttributes']['set'](_0x53baa0,{}),_0x2d9064&&this['_idsRoots']['set'](_0x53baa0,G(_0x53baa0,!0x0)));}else{if('addRootAttribute'==_0x1b304a['type']||'removeRootAttribute'==_0x1b304a['type']||'changeRootAttribute'==_0x1b304a['type'])return void this['_handleRootAttributeOperation'](_0x1b304a);}const _0x21c564=this['_cloneOperation'](_0x1b304a,this['_diffRoots']);if('marker'!==_0x1b304a['type']&&(_0x21c564['_execute'](),this['_transformMarkers'](_0x21c564)),_0x2d9064)switch(_0x21c564['type']){case'insert':this['_handleInsertOperation'](_0x1b304a);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x1b304a);break;case'merge':this['_handleMergeOperation'](_0x1b304a);break;case'split':this['_handleSplitOperation'](_0x1b304a);break;case'marker':this['_handleMarkerOperation'](_0x1b304a);}}['_cloneOperation'](_0x24fae8,_0x42bab7){const _0x371bd9=_0x24fae8['clone']();return _0x371bd9['_authorId']=_0x24fae8['_authorId'],this['_fixOperation'](_0x371bd9,_0x42bab7),_0x371bd9;}['_getBaseVids'](_0x8888bf){return _0x8888bf['map'](_0x1d6951=>{const _0x29cdd2=this['_getVidAttributeName'](_0x1d6951);return Number(_0x1d6951['item']['getAttribute'](_0x29cdd2));});}['_generateTape'](_0x1f1331,_0x4cc6a3){if(_0x1f1331['is']('element','$text'))_0x4cc6a3['push']({'item':_0x1f1331,'type':'text'});else{_0x1f1331['is']('element')&&_0x4cc6a3['push']({'item':_0x1f1331,'type':'elementStart'});for(const _0x5dcc7d of _0x1f1331['getChildren']())this['_generateTape'](_0x5dcc7d,_0x4cc6a3);_0x1f1331['is']('element')&&_0x4cc6a3['push']({'item':_0x1f1331,'type':'elementEnd'});}return _0x4cc6a3;}['_getState'](){const _0x14408a=new Map(this['_touched']),_0x6335ea=new Map(_0x14408a),_0x2667ec=new Map(),_0x53e2fe={'insertions':{},'deletions':{}},_0x46f9b5={'insertions':{},'deletions':{}},_0xd02e2b=new Map(),_0x249e2d=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x249e2d['delete']('$graveyard');for(const _0x2cf59c of _0x249e2d){const _0x32850c=this['_diffRoots']['get'](_0x2cf59c)||G(_0x2cf59c,!0x1),_0x328524=this['_baseRoots']['get'](_0x2cf59c)||G(_0x2cf59c,!0x1);_0x32850c['isAttached']()||_0x328524['isAttached']()?(_0x53e2fe['insertions'][_0x2cf59c]=q(_0x32850c),_0x53e2fe['deletions'][_0x2cf59c]=q(_0x328524),this['_copyMarkers'](_0x53e2fe['deletions'][_0x2cf59c],_0x328524),this['_copyMarkers'](_0x53e2fe['insertions'][_0x2cf59c],_0x32850c),_0x46f9b5['insertions'][_0x2cf59c]=this['_generateTape'](this['_idsRoots']['get'](_0x2cf59c),[]),_0x46f9b5['deletions'][_0x2cf59c]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x2cf59c)||G(_0x2cf59c,!0x1),[])):_0x249e2d['delete'](_0x2cf59c);}for(const _0x46b61e of _0x249e2d){const _0x256349=_0x46f9b5['insertions'][_0x46b61e];for(const _0x593dd9 of _0x256349){const _0xad4df2=this['_getVidAttributeName'](_0x593dd9),_0x247260=_0x593dd9['item']['getAttribute'](_0xad4df2);_0x6335ea['delete'](_0x247260),_0x247260>=this['_startingRevisionId']&&_0x2667ec['set'](_0x247260,_0x14408a['get'](_0x247260));}}for(const _0x2b1002 of _0x249e2d){const _0xf7f892=_0x46f9b5['insertions'][_0x2b1002],_0x4b61d5=this['_getBaseVids'](_0x46f9b5['deletions'][_0x2b1002]);let _0x5b594b=0x0;for(const _0x2d0b59 of _0xf7f892){const _0x33511e=this['_getVidAttributeName'](_0x2d0b59),_0x3bffd7=_0x2d0b59['item']['getAttribute'](_0x33511e);if(!_0x2667ec['has'](_0x3bffd7)&&!_0xd02e2b['has'](_0x3bffd7)){if(_0x6335ea['has'](_0x3bffd7))_0x5b594b++;else{if(_0x3bffd7!=_0x4b61d5[_0x5b594b]){const _0x592a6c=_0x14408a['get'](_0x3bffd7)||_0x14408a['get'](_0x4b61d5[_0x5b594b]);for(;_0x3bffd7!=_0x4b61d5[_0x5b594b];)_0x6335ea['has'](_0x4b61d5[_0x5b594b])||(_0xd02e2b['set'](_0x4b61d5[_0x5b594b],_0x592a6c),_0x14408a['set'](_0x4b61d5[_0x5b594b],_0x592a6c)),_0x5b594b++;}_0x5b594b++;}}}}for(const _0x269380 of _0x249e2d){const _0x2cae62=_0x46f9b5['insertions'][_0x269380];for(const _0x10a008 of _0x2cae62){const _0x4e4bd3=this['_getVidAttributeName'](_0x10a008),_0x50629a=_0x10a008['item']['getAttribute'](_0x4e4bd3);if(_0xd02e2b['has'](_0x50629a)){const _0x178c1b=_0xd02e2b['get'](_0x50629a);_0x6335ea['has'](_0x50629a)||_0x6335ea['set'](_0x50629a,{..._0x178c1b}),_0x2667ec['set'](_0x50629a,{..._0x178c1b});}}}for(const _0x506807 of _0x6335ea['keys']())_0x506807>=this['_startingRevisionId']&&_0x6335ea['delete'](_0x506807);const _0x13b135=new Map();for(const _0x495217 of _0x249e2d){let _0xc51c22=_0x46f9b5['insertions'][_0x495217];for(const _0xe409dc of _0xc51c22)if(_0xe409dc['item']['is']('element','tableCell')){const _0x11094d=this['_getVidAttributeName'](_0xe409dc),_0x23185e=_0xe409dc['item']['getAttribute'](_0x11094d);if(_0x2667ec['has'](_0x23185e)){const _0x8f3cdf=_0xe409dc['item']['parent']['parent']['getAttribute']('vid_start'),_0x402ce6=_0x13b135['get'](_0x8f3cdf)||new Set();_0x402ce6['add'](_0x2667ec['get'](_0x23185e)['userId']),_0x13b135['set'](_0x8f3cdf,_0x402ce6);}}_0xc51c22=_0x46f9b5['deletions'][_0x495217];for(const _0x37da9d of _0xc51c22)if(_0x37da9d['item']['is']('element','tableCell')){const _0x28bcc7=this['_getVidAttributeName'](_0x37da9d),_0xa3c9bb=_0x37da9d['item']['getAttribute'](_0x28bcc7);if(_0x6335ea['has'](_0xa3c9bb)){const _0x1e08b8=_0x37da9d['item']['parent']['parent']['getAttribute']('vid_start'),_0x112a6a=_0x13b135['get'](_0x1e08b8)||new Set();_0x112a6a['add'](_0x6335ea['get'](_0xa3c9bb)['userId']),_0x13b135['set'](_0x1e08b8,_0x112a6a);}}for(const _0x1d1195 of _0x13b135['keys']())(_0x2667ec['has'](_0x1d1195)||_0x6335ea['has'](_0x1d1195))&&_0x13b135['delete'](_0x1d1195);}for(const _0x5c5090 of _0x249e2d){const _0x3a5898=_0x46f9b5['insertions'][_0x5c5090];let _0x20e4bb=null,_0xaefa90=null;for(const _0x4f9b42 of _0x3a5898){const _0x462243=this['_getVidAttributeName'](_0x4f9b42),_0x3c6a8f=_0x4f9b42['item']['getAttribute'](_0x462243),_0x4b94ff=_0x13b135['get'](_0x3c6a8f);_0x4b94ff&&'elementStart'==_0x4f9b42['type']&&(_0x20e4bb=Array['from'](_0x4b94ff)[0x0],_0xaefa90=_0x4f9b42['item']['getAttribute']('vid_end')),_0x20e4bb&&(_0x6335ea['set'](_0x3c6a8f,{'userId':_0x20e4bb}),_0x2667ec['set'](_0x3c6a8f,{'userId':_0x20e4bb})),_0x3c6a8f==_0xaefa90&&(_0x20e4bb=null,_0xaefa90=null);}}const _0x37c93a={},_0xecdf33=new Set();for(const _0x1c4b06 of _0x249e2d){const _0x51bdb8=_0x53e2fe['deletions'][_0x1c4b06],_0x4607f9=_0x53e2fe['insertions'][_0x1c4b06];for(const {userId:_0x44c70e}of this['_touchedMarkers']['values']())null!==_0x44c70e&&_0xecdf33['add'](_0x44c70e);for(const {userId:_0x1fda4c}of this['_touchedRoots']['values']())null!==_0x1fda4c&&_0xecdf33['add'](_0x1fda4c);this['_markChanges'](_0x4607f9,_0x46f9b5['insertions'][_0x1c4b06],_0x2667ec,'insertion',_0xecdf33),this['_markChanges'](_0x51bdb8,_0x46f9b5['deletions'][_0x1c4b06],_0x6335ea,'deletion',_0xecdf33),_0x37c93a[_0x1c4b06]={'insertions':this['_prepareViewToSave'](_0x4607f9),'deletions':this['_prepareViewToSave'](_0x51bdb8),'attachChange':this['_touchedRoots']['get'](_0x1c4b06)||null,'attributesBefore':_0x2da7ca(this['_baseRootsAttributes']['get'](_0x1c4b06))||{},'attributesAfter':_0x2da7ca(this['_diffRootsAttributes']['get'](_0x1c4b06))};}return{'diffData':_0x37c93a,'authorsIds':Array['from'](_0xecdf33)};}['_processRootBeforeSave'](_0x32b3f0){for(const [,_0x5e3570]of _0x32b3f0['markers']){const _0x3caa1c=_0x5e3570['start']['getAncestors']()['filter'](_0x23110d=>'tableCell'==_0x23110d['name']);for(const _0x11251f of _0x3caa1c)0x1==_0x11251f['childCount']&&_0x11251f['getChild'](0x0)['is']('element','paragraph')&&_0x11251f['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x496654){this['_processRootBeforeSave'](_0x496654);const _0x201394=this['editor']['data']['toView'](_0x496654,{}),_0x134c7e=Array['from'](_0x201394['getChildren']())['map'](_0x2d2741=>this['_getViewJson'](_0x2d2741));return JSON['stringify'](_0x134c7e);}['_getViewJson'](_0x222977){if(_0x222977['is']('$text'))return _0x222977['data'];{const _0xf050d9=_0x222977;return{'type':Object['keys'](T)['find'](_0x4ec52a=>_0x222977 instanceof T[_0x4ec52a]),'name':_0xf050d9['name'],'attributes':Array['from'](_0xf050d9['getAttributes']()),'children':Array['from'](_0xf050d9['getChildren']())['map'](_0x2f28da=>this['_getViewJson'](_0x2f28da))};}}['_markChanges'](_0x567fe7,_0x19ab97,_0x4934d9,_0x284df4,_0x5e5f95){let _0x29ca14=null,_0x5f378a=null,_0x30c891=0x0;const _0x25ff8f=this['editor']['model'];for(let _0x2dbcd1=0x0;_0x2dbcd1<_0x19ab97['length'];_0x2dbcd1++){const _0x367911=this['_getVidAttributeName'](_0x19ab97[_0x2dbcd1]),_0x3a48a9=_0x19ab97[_0x2dbcd1]['item']['getAttribute'](_0x367911),_0x342afa=_0x4934d9['get'](_0x3a48a9),_0x25b4f8=_0x2dbcd1==_0x19ab97['length']-0x1;(!_0x29ca14&&_0x342afa&&(_0x29ca14=_0x342afa,_0x5f378a=_0x19ab97[_0x2dbcd1]),_0x29ca14&&(!_0x342afa||_0x342afa['userId']!=_0x29ca14['userId']))&&(_0x539584(_0x342afa,L(_0x5f378a,_0x567fe7,_0x25ff8f),L(_0x19ab97[_0x2dbcd1],_0x567fe7,_0x25ff8f)),_0x29ca14=_0x342afa||null,_0x5f378a=_0x342afa?_0x19ab97[_0x2dbcd1]:null),_0x29ca14&&_0x25b4f8&&_0x539584(_0x342afa,L(_0x5f378a,_0x567fe7,_0x25ff8f),W(_0x19ab97[_0x2dbcd1],_0x567fe7,_0x25ff8f));}function _0x539584(_0x446ed9,_0x4d2b74,_0x28c659){const _0x5b73eb=_0x29ca14['userId'],_0x5847c5='revision:'+_0x284df4+':'+_0x5b73eb+':'+_0x30c891++,_0x5dc9a0=_0x25ff8f['createRange'](_0x4d2b74,_0x28c659);_0x567fe7['markers']['set'](_0x5847c5,_0x5dc9a0),null!==_0x5b73eb&&_0x5e5f95['add'](_0x5b73eb);}}['_getVidAttributeName'](_0x1fe3bc){switch(_0x1fe3bc['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x314437,_0x3f9a57){_0x314437['baseVersion']=null;for(const _0x4e27a5 in _0x314437){const _0xcefcaa=_0x314437[_0x4e27a5];if(_0xcefcaa instanceof gt){const _0x530c19=_0x3f9a57['get'](_0xcefcaa['root']['rootName']);_0x314437[_0x4e27a5]=this['_fixPosition'](_0xcefcaa,_0x530c19);}if(_0xcefcaa instanceof vt){const _0x22e594=_0x3f9a57['get'](_0xcefcaa['root']['rootName']);_0x314437[_0x4e27a5]=this['_fixRange'](_0xcefcaa,_0x22e594);}'root'===_0x4e27a5&&(_0x314437['root']=_0x3f9a57['get'](_0x314437['root']['rootName']));}}['_fixRange'](_0x1c9480,_0x26e242){return this['editor']['model']['createRange'](this['_fixPosition'](_0x1c9480['start'],_0x26e242),this['_fixPosition'](_0x1c9480['end'],_0x26e242));}['_fixPosition'](_0x4d7ad1,_0x77f003){return this['editor']['model']['createPositionFromPath'](_0x77f003,_0x4d7ad1['path'],_0x4d7ad1['stickiness']);}['_handleInsertOperation'](_0x1c4868){const _0x17c912=this['_idsRoots']['get'](_0x1c4868['position']['root']['rootName']),_0x18eb59=this['_fixPosition'](_0x1c4868['position'],_0x17c912),_0x567e20=null===_0x1c4868['_authorId']?null:_0x1c4868['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5bd194=_0x18eb59['parent'],_0x13410b=this['_revisionId'],_0x45f794=[];for(const _0x3a47a5 of _0x1c4868['nodes'])if(_0x3a47a5['is']('element'))_0x45f794['push'](this['_makeIdsRoot'](_0x3a47a5));else{for(let _0x381207=0x0;_0x381207<_0x3a47a5['offsetSize'];_0x381207++)_0x45f794['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x4e4093=this['_revisionId'];for(let _0x5d5501=_0x13410b;_0x5d5501<_0x4e4093;_0x5d5501++)this['_touched']['set'](_0x5d5501,{'userId':_0x567e20});_0x5bd194['_insertChild'](_0x18eb59['offset'],_0x45f794);}['_handleMoveOperation'](_0x3eb4c8){(_0x3eb4c8=this['_cloneOperation'](_0x3eb4c8,this['_idsRoots']))['_execute']();const _0x5bf6d3=null===_0x3eb4c8['_authorId']?null:_0x3eb4c8['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2164c1=_0x3eb4c8['getMovedRangeStart'](),_0x5c9a5d=_0x2164c1['parent'],_0x532230=_0x2164c1['offset'];!function _0x51abeb(_0x3833cf,_0x5bea47,_0x3b9629,_0x183a19){for(let _0x43f180=_0x3b9629;_0x43f180<_0x183a19;_0x43f180++){const _0x3792c1=_0x5bea47['getChild'](_0x43f180);_0x3792c1['is']('element','$text')?_0x3833cf['set'](_0x3792c1['getAttribute']('vid'),{'userId':_0x5bf6d3}):(_0x3833cf['set'](_0x3792c1['getAttribute']('vid_start'),{'userId':_0x5bf6d3}),_0x51abeb(_0x3833cf,_0x3792c1,0x0,_0x3792c1['childCount']),_0x3833cf['set'](_0x3792c1['getAttribute']('vid_end'),{'userId':_0x5bf6d3}));}}(this['_touched'],_0x5c9a5d,_0x532230,_0x532230+_0x3eb4c8['howMany']);}['_handleMergeOperation'](_0x460e6a){const _0x454d73=null===(_0x460e6a=this['_cloneOperation'](_0x460e6a,this['_idsRoots']))['_authorId']?null:_0x460e6a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x326add=_0x460e6a['targetPosition']['parent'],_0x322f7a=_0x460e6a['sourcePosition']['parent'],_0x542b91=_0x326add['getAttribute']('vid_end'),_0x150831=_0x322f7a['getAttribute']('vid_start');_0x326add['_setAttribute']('vid_end',_0x322f7a['getAttribute']('vid_end')),_0x322f7a['_setAttribute']('vid_end',_0x542b91),this['_touched']['set'](_0x150831,{'userId':_0x454d73}),this['_touched']['set'](_0x542b91,{'userId':_0x454d73}),_0x460e6a['_execute']();}['_handleSplitOperation'](_0x576c1a){const _0x3b894b=null===(_0x576c1a=this['_cloneOperation'](_0x576c1a,this['_idsRoots']))['_authorId']?null:_0x576c1a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x248651=_0x576c1a['graveyardPosition'],_0x52e826=_0x576c1a['splitPosition']['parent'];_0x576c1a['_execute']();const _0x5c42e=_0x52e826['getAttribute']('vid_end'),_0x30de66=_0x576c1a['insertionPosition']['nodeAfter'];if(_0x248651){const _0x2c4232=_0x30de66['getAttribute']('vid_end'),_0x11c5cf=_0x52e826['getAttribute']('vid_end');_0x52e826['_setAttribute']('vid_end',_0x2c4232),_0x30de66['_setAttribute']('vid_end',_0x11c5cf),this['_touched']['set'](_0x52e826['getAttribute']('vid_end'),{'userId':_0x3b894b}),this['_touched']['set'](_0x30de66['getAttribute']('vid_start'),{'userId':_0x3b894b});}else{const _0x270c2e=this['_revisionId']++,_0x50c7dc=this['_revisionId']++;_0x52e826['_setAttribute']('vid_end',_0x270c2e),_0x30de66['_setAttribute']('vid_start',_0x50c7dc),_0x30de66['_setAttribute']('vid_end',_0x5c42e),this['_touched']['set'](_0x270c2e,{'userId':_0x3b894b}),this['_touched']['set'](_0x50c7dc,{'userId':_0x3b894b});}}['_handleMarkerOperation'](_0x22b685){if(!_0x22b685['affectsData'])return;const _0x41a4f8=(_0x22b685=this['_cloneOperation'](_0x22b685,this['_diffRoots']))['oldRange']?_0x22b685['oldRange']['root']:null,_0xfe6048=_0x22b685['newRange']?_0x22b685['newRange']['root']:null;_0x41a4f8&&this['_markers']['delete'](_0x22b685['name']),_0xfe6048&&this['_markers']['set'](_0x22b685['name'],_0x22b685['newRange']['clone']());const _0x1092d5=null===_0x22b685['_authorId']?null:_0x22b685['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x289904=_0x22b685['name'];if(!this['_touchedMarkers']['has'](_0x289904))return void this['_touchedMarkers']['set'](_0x289904,{'range':_0x22b685['oldRange'],'userId':_0x1092d5});const _0x494caf=this['_touchedMarkers']['get'](_0x289904),_0x1edf31=_0x494caf['range'],_0x1c15de=_0x22b685['newRange'];null==_0x1edf31&&null==_0x1c15de||_0x1edf31&&_0x1c15de&&_0x1edf31['isEqual'](_0x1c15de)?this['_touchedMarkers']['delete'](_0x22b685['name']):_0x494caf['userId']=_0x1092d5;}['_handleRootOperation'](_0x16a4f3,_0x3b94e8){this['_diffRoots']['has'](_0x16a4f3['rootName'])?this['_diffRoots']['get'](_0x16a4f3['rootName'])['_isAttached']=_0x16a4f3['isAdd']:(this['_diffRoots']['set'](_0x16a4f3['rootName'],G(_0x16a4f3['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x16a4f3['rootName'],{}),_0x3b94e8&&this['_idsRoots']['set'](_0x16a4f3['rootName'],G(_0x16a4f3['rootName'],!0x0)));const _0x25d7ea=null===_0x16a4f3['_authorId']?null:_0x16a4f3['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x576abc=this['_touchedRoots']['get'](_0x16a4f3['rootName']);_0x576abc&&_0x576abc['userId']===_0x25d7ea?this['_touchedRoots']['delete'](_0x16a4f3['rootName']):this['_touchedRoots']['set'](_0x16a4f3['rootName'],{'userId':_0x25d7ea,'isAttached':_0x16a4f3['isAdd']});}['_handleRootAttributeOperation'](_0x536ed5){const _0x77e6d2=this['_diffRootsAttributes']['get'](_0x536ed5['root']['rootName']);null===_0x536ed5['newValue']?delete _0x77e6d2[_0x536ed5['key']]:_0x77e6d2[_0x536ed5['key']]=_0x536ed5['newValue'];}}function q(_0x2783c4){const _0x27fd75=G(_0x2783c4['rootName'],_0x2783c4['isAttached']());for(const _0xfdbf31 of _0x2783c4['getChildren']()){const _0x3f8887=_0xfdbf31['_clone'](!0x0);_0x27fd75['_appendChild'](_0x3f8887);}return _0x27fd75;}function G(_0x3325f8,_0x3d1a76=!0x0){const _0x35e439=new wt();return _0x35e439['rootName']=_0x3325f8,_0x35e439['_isAttached']=_0x3d1a76,_0x35e439['isAttached']=()=>_0x35e439['_isAttached'],_0x35e439;}function L(_0x58ae4f,_0x28d71a,_0x64e828){const _0x165ce2='elementEnd'==_0x58ae4f['type']?_0x64e828['createPositionAt'](_0x58ae4f['item'],'end'):_0x64e828['createPositionBefore'](_0x58ae4f['item']);return _0x64e828['createPositionFromPath'](_0x28d71a,_0x165ce2['path'],_0x165ce2['stickiness']);}function W(_0x5e5e32,_0x2cf936,_0x5377b8){const _0x354d6d='elementStart'==_0x5e5e32['type']?_0x5377b8['createPositionAt'](_0x5e5e32['item'],0x0):_0x5377b8['createPositionAfter'](_0x5e5e32['item']);return _0x5377b8['createPositionFromPath'](_0x2cf936,_0x354d6d['path'],_0x354d6d['stickiness']);}class ns extends _0x4928e5{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x5cb0c1,_0x3c4054){super(_0x5cb0c1),this['focusTracker']=new _0x323edd(),this['keystrokes']=new _0x33355a(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x3c4054),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'](),_0x3e73dd({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x870b94=_0x3b902d=>_0x3b902d['stopPropagation']();this['keystrokes']['set']('arrowright',_0x870b94),this['keystrokes']['set']('arrowleft',_0x870b94),this['keystrokes']['set']('arrowup',_0x870b94),this['keystrokes']['set']('arrowdown',_0x870b94);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x4daf6d){this['revisionNameInputView']['fieldView']['element']['value']=_0x4daf6d['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0xb55451){const _0x23b3c9=new at(this['locale'],_0x5ead08),_0x415e7c=_0x23b3c9['fieldView'];_0x415e7c['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x411a1d=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0xb55451&&(_0x411a1d+='\x20('+y(this['locale'],'optional')+')'),(_0x23b3c9['label']=_0x411a1d,_0x415e7c['on']('input',()=>{this['revisionNameInputValue']=_0x415e7c['element']['value']['trim']();}),_0x23b3c9);}}class u extends _0x48eec3{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x3e51e1=this['editor'],_0x1106a5=_0x3e51e1['plugins']['get']('RevisionTracker');_0x3e51e1['ui']['componentFactory']['add']('revisionHistory',_0x5f3d4e=>{const _0x3bf4f7=_0x450638(_0x5f3d4e),_0x32933f=_0x3bf4f7['panelView']['children'],_0x55ab47=new te(_0x5f3d4e),_0x2ff3fe=new _0x3e8512(_0x5f3d4e),_0x54a6ed=new _0xa5e4b7(_0x5f3d4e),_0x1af7cd=new _0x3e8512(_0x5f3d4e),_0x40ea59=new _0xa5e4b7(_0x5f3d4e);return _0x3bf4f7['bind']('isEnabled')['to'](_0x1106a5,'isReady',_0x1106a5,'isEnabled',_0x3e51e1,'isReadOnly',(_0x388963,_0xc265a6,_0x9207e2)=>_0x388963&&_0xc265a6&&!_0x9207e2),_0x3bf4f7['buttonView']['set']({'icon':_0x225b5f['history'],'label':y(_0x5f3d4e,'Revision\x20history'),'tooltip':!0x0}),_0x54a6ed['set']({'label':y(_0x5f3d4e,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x54a6ed['bind']('isEnabled')['to'](_0x1106a5,'isReady',_0x1106a5,'isEnabled',_0x3e51e1,'isReadOnly',(_0x56eae9,_0x23eb45,_0x464d5a)=>_0x56eae9&&_0x23eb45&&!_0x464d5a),_0x54a6ed['on']('execute',()=>this['_showDialog']()),_0x40ea59['set']({'label':y(_0x5f3d4e,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x40ea59['bind']('isEnabled')['to'](_0x1106a5,'isReady',_0x3e51e1,'isReadOnly',(_0x15c724,_0x1a6faa)=>_0x15c724&&!_0x1a6faa),_0x40ea59['on']('execute',()=>{_0x3e51e1['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x3bf4f7['isOpen']=!0x1,_0x3e51e1['editing']['view']['focus']();}),_0x2ff3fe['children']['add'](_0x54a6ed),_0x1af7cd['children']['add'](_0x40ea59),_0x55ab47['role']='menu',_0x55ab47['items']['addMany']([_0x2ff3fe,_0x1af7cd]),_0x32933f['add'](_0x55ab47),_0x3bf4f7;}),_0x3e51e1['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x4d9132=this['editor'],_0x36d6c3=_0x4d9132['locale'],_0x42d9c7=new _0x2440b1(_0x36d6c3),_0x57d17e=new _0x364c28(_0x36d6c3);_0x42d9c7['buttonView']['set']({'icon':_0x225b5f['history'],'label':y(_0x36d6c3,'Revision\x20history')});const _0x3decf7=new _0x56604d(_0x36d6c3,_0x42d9c7),_0x479c22=new _0x539a3b(_0x36d6c3);_0x479c22['set']({'label':y(_0x36d6c3,'Save\x20current\x20revision')}),_0x479c22['delegate']('execute')['to'](_0x42d9c7),_0x479c22['on']('execute',()=>{this['_showDialog']();}),_0x3decf7['children']['add'](_0x479c22),_0x57d17e['items']['add'](_0x3decf7);const _0x2a855b=new _0x56604d(_0x36d6c3,_0x42d9c7),_0x3e0909=new _0x539a3b(_0x36d6c3);return _0x3e0909['set']({'label':y(_0x36d6c3,'Open\x20revision\x20history')}),_0x3e0909['delegate']('execute')['to'](_0x42d9c7),_0x3e0909['on']('execute',()=>{_0x4d9132['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x2a855b['children']['add'](_0x3e0909),_0x57d17e['items']['add'](_0x2a855b),_0x42d9c7['panelView']['children']['add'](_0x57d17e),_0x42d9c7;}['_showDialog'](){const _0x144132=this['editor'],_0x400182=_0x144132['locale'],_0x26040c=_0x144132['plugins']['get']('Dialog'),_0x15a6b8=_0x144132['plugins']['get']('RevisionTracker');function _0x2af085(_0x4a3a1a){_0x144132['config']['get']('revisionHistory.requireRevisionName')&&''===_0x4a3a1a['revisionName']?_0x4a3a1a['revisionNameInputView']['errorText']=y(_0x400182,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x144132['plugins']['get'](l)['saveRevision']({'name':_0x4a3a1a['revisionName']}),_0x26040c['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x2af085(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x26040c['show']({'id':'revisionSave','title':y(_0x400182,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x144132['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x26040c['hide']()},{'label':y(_0x144132['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x14b3c7){_0x14b3c7['bind']('isEnabled')['to'](_0x15a6b8,'isReady',_0x15a6b8,'isEnabled',_0x144132,'isReadOnly',(_0x65554d,_0x4b21cc,_0x232cc1)=>_0x65554d&&_0x4b21cc&&!_0x232cc1);},'onExecute':()=>_0x2af085(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x4199e6=this['editor'],_0x3891f8=_0x4199e6['locale'];this['_saveRevisionFormView']=new ns(_0x3891f8,_0x4199e6['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x4928e5{['changeId'];['_model'];constructor(_0x447a3b,_0x3e03e3){super(_0x447a3b),this['_model']=_0x3e03e3,this['changeId']=_0x3e03e3['id'];const _0x3c667f=this['bindTemplate'],_0x54637c=y(_0x447a3b,_0x3e03e3['data']['isSuggestion']?'Suggested\x20by':'add'==_0x3e03e3['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x3e03e3['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x3c667f['to']('type',_0x4fb333=>'ck-revision-change__'+_0x4fb333)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x54637c}]},{'text':'\x20'+_0x3e03e3['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x43a9dd(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0xac67a8){super(),this['id']=_0xac67a8['id']||_0x4cba8(),this['author']=_0xac67a8['author'],this['type']=_0xac67a8['type'],this['data']=_0xac67a8['data']||{},this['rootName']=_0xac67a8['rootName'],this['set']('createdAt',_0xac67a8['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(_0x395e81,_0x235e5d){this['newRevisionId']=_0x395e81,this['oldRevisionId']=_0x235e5d,this['changes']=new _0x51892e();}['_setChanges'](_0x14a59f){for(const _0x2db805 of _0x14a59f)this['changes']['add'](_0x2db805);}}const tt={'c':_0x114aa8,'a':_0x3e6aca,'e':_0x3431a6,'r':_0x55c820,'u':_0x2043ce};class d extends _0x48eec3{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x22dee4,_0x21d1f8,A];}constructor(_0x23018f){super(_0x23018f),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',(_0x46ac3c,_0x57a2cf,_0xc1ab98)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x592dfd=>{for(const _0x2442bb of this['editor']['editing']['view']['document']['roots'])_0xc1ab98?_0x592dfd['removeClass']('ck-editor__editable__overlay',_0x2442bb):_0x592dfd['addClass']('ck-editor__editable__overlay',_0x2442bb);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x1d51b5=>null!==_0x1d51b5),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x3c828e,_0x582aaa,_0xe30751)=>_0x3c828e&&_0xe30751?_0x582aaa['changes']['getIndex'](_0xe30751):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x1ca892,_0x7b6af7)=>_0x1ca892?_0x7b6af7['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x21d1f8);}['init'](){const _0xcd620=this['editor'],_0xc63a7f=new yt(_0xcd620,{'direction':'backward'}),_0x25c3ea=new yt(_0xcd620,{'direction':'forward'});(_0xcd620['commands']['add']('showPreviousChange',_0xc63a7f),_0xcd620['commands']['add']('showNextChange',_0x25c3ea),_0xcd620['commands']['add']('restoreRevision',new bt(_0xcd620)),this['on']('change:numberOfChanges',()=>{_0xc63a7f['refresh'](),_0x25c3ea['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0xcd620['enableReadOnlyMode']('revision-viewer'),_0xcd620['plugins']['has']('WidgetToolbarRepository'))&&_0xcd620['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x111f94){await this['loadRevisionData'](_0x111f94);const _0x5df4f8={};for(const _0xd588e6 in _0x111f94['diffData']){if(_0x111f94['diffData'][_0xd588e6]['attachChange']&&!_0x111f94['diffData'][_0xd588e6]['attachChange']['isAttached'])continue;const _0x53c064=this['_removeRevisionMarkers'](JSON['parse'](_0x111f94['diffData'][_0xd588e6]['insertions'])),_0x429ec3=this['editor']['editing']['view']['document'],_0xf12295=new _0x254588(_0x429ec3,_0x53c064['map'](_0x948de=>this['_getViewObj'](_0x948de)));this['editor']['data']['processor']['useFillerType']('marked'),_0x5df4f8[_0xd588e6]=this['editor']['data']['processor']['toData'](_0xf12295),this['editor']['data']['processor']['useFillerType']('default');}return _0x5df4f8;}async['getRevisionRootsAttributes'](_0x22020a){await this['loadRevisionData'](_0x22020a);const _0x1fb4f1={};for(const _0x52883e in _0x22020a['diffData'])_0x22020a['diffData'][_0x52883e]['attachChange']&&!_0x22020a['diffData'][_0x52883e]['attachChange']['isAttached']||(_0x1fb4f1[_0x52883e]=_0x22020a['diffData'][_0x52883e]['attributesAfter']||{});return _0x1fb4f1;}['_removeRevisionMarkers'](_0x77c85){return(_0x77c85=_0x77c85['filter'](_0x3dcfe5=>!_0x3dcfe5['name']||'revision-start'!==_0x3dcfe5['name']&&'revision-end'!==_0x3dcfe5['name']))['forEach'](_0x131e44=>{'string'!=typeof _0x131e44&&(_0x131e44['children']=this['_removeRevisionMarkers'](_0x131e44['children']),_0x131e44['attributes']=_0x131e44['attributes']['filter'](_0x1f7658=>!_0x1f7658[0x0]['startsWith']('data-revision-')));}),_0x77c85;}async['compare'](_0x2970df,_0x2cbcb8,_0x3cf469=!0x1){if(!this['isEnabled'])return;const _0x544249=this['diff'],_0x294fb7=this['repository'],_0x2aa3bf='string'==typeof _0x2970df?_0x294fb7['getRevision'](_0x2970df):_0x2970df,_0x89180f='string'==typeof _0x2cbcb8?_0x294fb7['getRevision'](_0x2cbcb8):_0x2cbcb8,_0x261867=_0x2aa3bf['id'],_0x19ece2=_0x89180f?_0x89180f['id']:null;if(!_0x3cf469&&this['diff']&&this['diff']['newRevisionId']===_0x261867&&this['diff']['oldRevisionId']===_0x19ece2)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x261867,_0x19ece2);const _0x400d16=this['_getRevisionsRange'](_0x2aa3bf,_0x89180f,!0x0)['map'](_0x34d1d4=>this['loadRevisionData'](_0x34d1d4));return _0x400d16['push'](new Promise(_0x176d7a=>{setTimeout(_0x176d7a,0x14);})),Promise['all'](_0x400d16)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x365ec7=this['_getDiff'](_0x261867,_0x19ece2);for(const _0x5c31e8 of _0x365ec7['changes'])this['_changeIdToChange']['set'](_0x5c31e8['id'],_0x5c31e8);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x33abd6=>{for(const _0x454ee4 of this['editor']['model']['document']['getRootNames']())_0x33abd6['detachRoot'](_0x454ee4);for(const _0x2fae2a of Object['keys'](_0x365ec7['model'])){const _0x33c63d=_0x33abd6['addRoot'](_0x2fae2a);for(const _0x901011 of Object['keys'](_0x365ec7['attributes'][_0x2fae2a]))_0x33abd6['setAttribute'](_0x901011,_0x365ec7['attributes'][_0x2fae2a][_0x901011],_0x33c63d);_0x33abd6['insert'](_0x365ec7['model'][_0x2fae2a],_0x33c63d,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x365ec7['changes'])),this['isReady']=!0x0;})['catch'](_0x1d2333=>{console['error'](_0x1d2333),this['_cleanUp'](),_0x544249&&(this['diff']=_0x544249),this['isReady']=!0x0;});}['addRevisionData'](_0x289bc9,_0x3e9fe8){const _0x1a0851=this['repository']['createRevision'](_0x289bc9);return _0x1a0851['on']('_update',(_0x122c19,_0x32c13e,_0x1d685f)=>_0x3e9fe8(_0x32c13e,_0x1d685f,_0x1a0851)),this['repository']['addRevision'](_0x1a0851),_0x1a0851;}['loadRevisionData'](_0x2ffbb4){if(!_0x2ffbb4||_0x2ffbb4['diffData'])return Promise['resolve']();{const _0xcc726b=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xcc726b,'revisionId':_0x2ffbb4['id']})['then'](_0x1830fe=>{_0x2ffbb4['_update']({'diffData':_0x1830fe['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},_0x203a61=>{for(const _0x2286da of this['editor']['model']['document']['getRootNames']())_0x203a61['detachRoot'](_0x2286da);});}['_sortAndFilterDiffChanges'](_0x5547fd){const _0x24d462=[],_0x4df94b=new Map();for(const _0x3f3e00 of this['editor']['model']['document']['getRootNames']()){const _0x439e4a=this['editor']['editing']['view']['getDomRoot'](_0x3f3e00);if(!_0x439e4a)continue;const _0x46bb77=_0x439e4a['getClientRects']()['item'](0x0);_0x46bb77&&(_0x24d462['push'](_0x3f3e00),_0x4df94b['set'](_0x3f3e00,_0x46bb77));}return _0x24d462['sort']((_0x372d33,_0x14fefe)=>{const _0x3c999d=_0x4df94b['get'](_0x372d33),_0x108638=_0x4df94b['get'](_0x14fefe);return _0x3c999d['y']-_0x108638['y']||_0x3c999d['x']-_0x108638['x'];}),(_0x5547fd=_0x5547fd['filter'](_0x31a8f5=>_0x24d462['includes'](_0x31a8f5['rootName'])))['sort']((_0x448242,_0x277fe7)=>_0x24d462['indexOf'](_0x448242['rootName'])-_0x24d462['indexOf'](_0x277fe7['rootName'])),_0x5547fd;}['_makeTape'](_0x39ec63){const _0x6fb956=Array['from'](_0x39ec63['markers'])['filter'](([_0x525504,_0x4ae994])=>_0x525504['startsWith']('revision:')&&!_0x4ae994['isCollapsed']),_0x548b85=Array['from'](this['editor']['model']['createRangeIn'](_0x39ec63)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x6fb956['length'])for(const _0x17eddc of _0x548b85){const [_0x4c7807,_0x5b3f0a]=_0x6fb956[0x0],[,_0x265f82,_0x147cb3]=_0x4c7807['split'](':');if(_0x5b3f0a['end']['isEqual'](_0x17eddc['nextPosition'])&&_0x6fb956['shift'](),(_0x17eddc['previousPosition']['isEqual'](_0x5b3f0a['start'])||_0x17eddc['previousPosition']['isAfter'](_0x5b3f0a['start']))&&('insertion'==_0x265f82?_0x17eddc['isAdded']={'userId':_0x147cb3}:'deletion'==_0x265f82&&(_0x17eddc['isRemoved']={'userId':_0x147cb3})),0x0==_0x6fb956['length'])break;}return _0x548b85;}['_refreshStartEndIndex'](_0x537c44){const _0x41e886=new Map();for(let _0x49ea2b=0x0;_0x49ea2b<_0x537c44['length'];_0x49ea2b++)'text'===_0x537c44[_0x49ea2b]['type']?(_0x537c44[_0x49ea2b]['item']['startIndex']=_0x49ea2b,_0x537c44[_0x49ea2b]['item']['endIndex']=_0x49ea2b):('elementStart'===_0x537c44[_0x49ea2b]['type']?_0x537c44[_0x49ea2b]['item']['startIndex']=_0x49ea2b:'elementEnd'===_0x537c44[_0x49ea2b]['type']&&(_0x537c44[_0x49ea2b]['item']['endIndex']=_0x49ea2b),_0x41e886['set'](_0x537c44[_0x49ea2b]['id'],_0x49ea2b));for(const _0x6680e9 of _0x41e886['values']())'elementStart'===_0x537c44[_0x6680e9]['type']?_0x537c44[_0x6680e9]['item']['endIndex']=_0x41e886['get'](_0x537c44[_0x6680e9]['pairId']):'elementEnd'===_0x537c44[_0x6680e9]['type']&&(_0x537c44[_0x6680e9]['item']['startIndex']=_0x41e886['get'](_0x537c44[_0x6680e9]['pairId']));}['_processTape'](_0xc06105){for(let _0x1ee24e=0x0;_0x1ee24e<_0xc06105['length'];_0x1ee24e++){if('elementStart'===_0xc06105[_0x1ee24e]['type'])_0xc06105[_0x1ee24e]['item']['startIndex']=_0x1ee24e;else{if('elementEnd'===_0xc06105[_0x1ee24e]['type']){_0xc06105[_0x1ee24e]['item']['endIndex']=_0x1ee24e;const _0x28d16a=_0xc06105[_0x1ee24e]['item']['startIndex'];_0xc06105[_0x28d16a]['pairId']=_0xc06105[_0x1ee24e]['id'],_0xc06105[_0x1ee24e]['pairId']=_0xc06105[_0x28d16a]['id'];}else _0xc06105[_0x1ee24e]['item']['startIndex']=_0x1ee24e,_0xc06105[_0x1ee24e]['item']['endIndex']=_0x1ee24e,_0xc06105[_0x1ee24e]['pairId']=null;}_0xc06105[_0x1ee24e]['markersStart']||(_0xc06105[_0x1ee24e]['markersStart']=[],_0xc06105[_0x1ee24e]['markersEnd']=[]);}}['_markInsertions'](_0x465ec1,_0x14159f){const _0x1c57a9=_0x465ec1['filter'](_0x27f2c1=>!_0x27f2c1['isAdded']);for(let _0x76583f=0x0;_0x76583f<_0x14159f['length'];_0x76583f++)_0x14159f[_0x76583f]['isAdded']&&(_0x1c57a9[_0x76583f]['isAdded']=_0x14159f[_0x76583f]['isAdded']);}['_makeModelFromViewString'](_0x5c29aa){const _0x5e435a=JSON['parse'](_0x5c29aa),_0x2f5b83=this['editor']['editing']['view']['document'],_0x5cb5dd=new _0x254588(_0x2f5b83,_0x5e435a['map'](_0xbd49aa=>this['_getViewObj'](_0xbd49aa)));return this['editor']['data']['toModel'](_0x5cb5dd);}['_getViewObj'](_0x5c4c5d){const _0x36136e=this['editor']['editing']['view']['document'];if('string'==typeof _0x5c4c5d)return new _0x2a4ea9(_0x36136e,_0x5c4c5d);{const _0xa0cd7c=_0x5c4c5d['children']['map'](_0x5ce093=>this['_getViewObj'](_0x5ce093));return new(tt[_0x5c4c5d['type']]||_0x26bd2b)(_0x36136e,_0x5c4c5d['name'],_0x5c4c5d['attributes'],_0xa0cd7c);}}['_getDiff'](_0x18e035,_0x31a032=null){const _0x43e35b=this['repository']['getRevision'](_0x18e035),_0x1315cd=_0x31a032?this['repository']['getRevision'](_0x31a032):null,_0x4fa3a4=this['_getRevisionsRange'](_0x43e35b,_0x1315cd),_0x34e38a=_0x4fa3a4[_0x4fa3a4['length']-0x1],_0x50ebae=new Map(),_0x4566ec={'model':{},'attributes':{},'changes':[]},_0x457420=new Set(),_0x59adbe=new Map();for(let _0x46c84a=_0x4fa3a4['length']-0x1;_0x46c84a>=0x0;_0x46c84a--){const _0x11a3ea=_0x4fa3a4[_0x46c84a];for(const _0x41b1fe of Object['keys'](_0x11a3ea['diffData']))if(_0x11a3ea['diffData'][_0x41b1fe]['attachChange']){const _0x414fcb=_0x11a3ea['diffData'][_0x41b1fe]['attachChange'];_0x414fcb['isAttached']?(_0x457420['add'](_0x41b1fe),_0x59adbe['has'](_0x41b1fe)&&_0x59adbe['get'](_0x41b1fe)['userId']==_0x414fcb['userId']?_0x59adbe['delete'](_0x41b1fe):_0x59adbe['set'](_0x41b1fe,_0x414fcb)):_0x59adbe['has'](_0x41b1fe)?(_0x457420['delete'](_0x41b1fe),_0x59adbe['delete'](_0x41b1fe)):(_0x457420['add'](_0x41b1fe),_0x59adbe['set'](_0x41b1fe,_0x414fcb));}else _0x457420['add'](_0x41b1fe);}for(const _0x182be6 of _0x457420){const _0x3962da=_0x59adbe['has'](_0x182be6)&&!_0x59adbe['get'](_0x182be6)['isAttached'];let _0x1ed192=_0x3962da?_0x4fa3a4['length']-0x1:0x0;const _0x10a864=_0x3962da?-0x1:0x1;for(;_0x4fa3a4[_0x1ed192];){const _0x6d6996=_0x4fa3a4[_0x1ed192];if(_0x6d6996['diffData'][_0x182be6]){const _0x3188bd=_0x3962da?_0x6d6996['diffData'][_0x182be6]['attributesBefore']:_0x6d6996['diffData'][_0x182be6]['attributesAfter'];_0x4566ec['attributes'][_0x182be6]=_0x3188bd?_0x2da7ca(_0x3188bd):{};break;}_0x1ed192+=_0x10a864;}}for(const _0x1e24b6 of _0x4fa3a4){_0x1e24b6['model']={};for(const _0x10dadb of _0x1e24b6['authors'])_0x50ebae['set'](_0x10dadb['id'],_0x10dadb);for(const _0x9aaf2f of _0x457420){const _0x3d4fbf=_0x1e24b6['diffData'][_0x9aaf2f]?_0x1e24b6['diffData'][_0x9aaf2f]['insertions']:'[]',_0x42d5eb=_0x1e24b6['diffData'][_0x9aaf2f]?_0x1e24b6['diffData'][_0x9aaf2f]['deletions']:'[]';_0x1e24b6['model'][_0x9aaf2f]={'insertions':this['_makeModelFromViewString'](_0x3d4fbf),'deletions':this['_makeModelFromViewString'](_0x42d5eb)};}}for(const _0x5146f4 of _0x457420){let _0x189d5c=null,_0x2b8ba8=0x0;const _0x1e220b=new Map(Array['from'](_0x43e35b['model'][_0x5146f4]['insertions']['markers'])['filter'](([_0x56a384])=>!_0x56a384['startsWith']('revision:')));let _0x587acb=0x0;for(const _0x519a45 of _0x4fa3a4){const _0x1224fb=this['_makeTape'](_0x519a45['model'][_0x5146f4]['insertions']);_0x519a45==_0x43e35b?(_0x189d5c=_0x1224fb,_0x2b8ba8=_0x189d5c['length'],_0x189d5c['forEach'](_0x1bad7e=>{_0x1bad7e['id']=_0x587acb++;}),this['_processTape'](_0x189d5c)):this['_markInsertions'](_0x189d5c,_0x1224fb);const _0x3fcc0e=_0x189d5c['filter'](_0xe45543=>!_0xe45543['isAdded'])['map'](_0x2b8209=>_0x2b8209['id']);let _0x54b21d=0x0;const _0x420863=this['_makeTape'](_0x519a45['model'][_0x5146f4]['deletions']);_0x420863['forEach'](_0x5b1c5c=>{_0x5b1c5c['isRemoved']?_0x5b1c5c['id']=_0x2b8ba8++:_0x5b1c5c['id']=_0x3fcc0e[_0x54b21d++];}),this['_processTape'](_0x420863),this['_setDistance'](_0x189d5c,'isAdded'),this['_setDistance'](_0x420863,'isRemoved'),_0x519a45==_0x43e35b&&this['_markMarkers'](_0x189d5c,_0x1e220b),_0x189d5c=this['_joinTapes'](_0x189d5c,_0x420863),this['_refreshStartEndIndex'](_0x189d5c),this['_setDistance'](_0x189d5c,'isRemoved');}_0x189d5c=_0x189d5c['filter'](_0x49c77b=>!(_0x49c77b['isAdded']&&_0x49c77b['isRemoved']));const _0x5cd04c=new Map(_0x34e38a['model'][_0x5146f4]['deletions']['markers']),_0x1149af=new Set(_0x1e220b['keys']());for(const _0x34d267 of _0x5cd04c['keys']())_0x1149af['delete'](_0x34d267);this['_markSuggestions'](_0x189d5c,_0x1149af),this['_fixObsoleteTags'](_0x189d5c),_0x189d5c=this['_removeMissingPairs'](_0x189d5c),_0x189d5c=this['_markMismatchedRemovedTags'](_0x189d5c),_0x189d5c=this['_removeUnsupportedChanges'](_0x189d5c);const {root:_0x42e3f1,changes:_0x4fc26a}=this['_makeModelFromTape'](_0x189d5c,_0x50ebae,_0x5146f4);_0x4566ec['model'][_0x5146f4]=_0x42e3f1;const _0x155a32=_0x59adbe['get'](_0x5146f4);if(_0x155a32){const _0x34e19d=_0x50ebae['get'](_0x155a32['userId']),_0x36c208=new r({'author':_0x34e19d,'type':_0x155a32['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x5146f4});_0x4fc26a['unshift'](_0x36c208),_0x4566ec['attributes'][_0x5146f4]['revisionHistoryAttachChange']=_0x36c208['id'];}_0x4566ec['changes']=_0x4566ec['changes']['concat'](_0x4fc26a);}return _0x4566ec;}['_markMarkers'](_0x4d7061,_0x5a13f8){for(let _0x5a249c=0x0;_0x5a249c<_0x4d7061['length'];_0x5a249c++)for(const [_0x11df5d,_0x12a5d7]of _0x5a13f8)_0x12a5d7['start']['isEqual'](_0x4d7061[_0x5a249c]['previousPosition'])&&_0x4d7061[_0x5a249c]['markersStart']['push'](_0x11df5d),_0x12a5d7['end']['isEqual'](_0x4d7061[_0x5a249c]['nextPosition'])&&_0x4d7061[_0x5a249c]['markersEnd']['push'](_0x11df5d);}['_joinTapes'](_0x3f7796,_0x3ff6be){let _0x4b2082=[],_0x33891f=0x0,_0x38f81=0x0;for(;_0x33891f<_0x3f7796['length']||_0x38f81<_0x3ff6be['length'];){const _0x119a27=_0x3f7796[_0x33891f]||{},_0x4f94dc=_0x3ff6be[_0x38f81]||{};if(_0x119a27['id']==_0x4f94dc['id'])_0x33891f++,_0x38f81++,_0x4b2082['push'](_0x119a27);else{if(_0x4f94dc['isRemoved']&&_0x119a27['isAdded']){const {commonTape:_0x318cce,iEnd:_0x3ae55f,jEnd:_0x48e60f}=this['_threeWayMerge'](_0x3f7796,_0x33891f,_0x3ff6be,_0x38f81);_0x4b2082=_0x4b2082['concat'](_0x318cce),_0x33891f=_0x3ae55f,_0x38f81=_0x48e60f;}else _0x4f94dc['isRemoved']?(_0x38f81++,_0x4b2082['push'](_0x4f94dc)):(_0x33891f++,_0x4b2082['push'](_0x119a27));}}return _0x4b2082;}['_markSuggestions'](_0x21a25f,_0x5a77a0){const _0x30aaae=[];for(let _0x7f21aa=0x0;_0x7f21aa<_0x21a25f['length'];_0x7f21aa++){for(let _0x1305cd=0x0;_0x1305cd<_0x21a25f[_0x7f21aa]['markersStart']['length'];_0x1305cd++){const _0x25b149=_0x21a25f[_0x7f21aa]['markersStart'][_0x1305cd];if(!_0x5a77a0['has'](_0x25b149))continue;const {group:_0x2a9064,type:_0x283958,authorId:_0x5bfc2a}=_0x7d1ce3(_0x25b149);'revision-suggestion'!=_0x2a9064||'insertion'!=_0x283958&&'deletion'!=_0x283958||(_0x30aaae['unshift']({'type':_0x283958,'name':_0x25b149,'userId':_0x5bfc2a}),_0x21a25f[_0x7f21aa]['markersStart']['splice'](_0x1305cd,0x1),_0x1305cd--);}_0x4f047b(_0x21a25f[_0x7f21aa]);for(let _0x1a7a1c=0x0;_0x1a7a1c<_0x21a25f[_0x7f21aa]['markersEnd']['length'];_0x1a7a1c++){const _0x5d94cc=_0x21a25f[_0x7f21aa]['markersEnd'][_0x1a7a1c];if(!_0x5a77a0['has'](_0x5d94cc))continue;const {group:_0x5b5c5e,type:_0x380bd2}=_0x7d1ce3(_0x5d94cc);if('revision-suggestion'!=_0x5b5c5e||'insertion'!=_0x380bd2&&'deletion'!=_0x380bd2)continue;_0x21a25f[_0x7f21aa]['markersEnd']['splice'](_0x1a7a1c,0x1),_0x1a7a1c--;const _0x49b5d2=_0x30aaae['findIndex'](_0x504fec=>_0x504fec['name']==_0x5d94cc);_0x49b5d2>-0x1&&_0x30aaae['splice'](_0x49b5d2,0x1);}}function _0x7d1ce3(_0x51e5be){const _0x2410ce=_0x51e5be['split'](':');return{'group':_0x2410ce[0x0],'type':_0x2410ce[0x1],'subType':_0x2410ce['length']>=0x5?_0x2410ce[0x2]:null,'id':_0x2410ce['length']<0x5?_0x2410ce[0x2]:_0x2410ce[0x3],'authorId':_0x2410ce['length']<0x5?_0x2410ce[0x3]:_0x2410ce[0x4],'markerCount':0x6==_0x2410ce['length']?_0x2410ce[0x5]:null};}function _0x4f047b(_0x5484a1){for(let _0x52c769=0x0;_0x52c769<_0x30aaae['length'];_0x52c769++){if(_0x5484a1['isAdded']&&'insertion'==_0x30aaae[_0x52c769]['type'])return _0x5484a1['isAddSuggestion']=_0x30aaae[_0x52c769],void delete _0x5484a1['isAdded'];if(!_0x5484a1['isAdded']&&!_0x5484a1['isRemoved']&&'deletion'==_0x30aaae[_0x52c769]['type'])return void(_0x5484a1['isRemoveSuggestion']=_0x30aaae[_0x52c769]);}}}['_setDistance'](_0x4c737e,_0x2ed72f){let _0x4e5d48=0x0,_0x20d9c4=!0x1;const _0x260aaa=new Map();for(const _0x3678d5 of _0x4c737e)_0x3678d5[_0x2ed72f]?_0x20d9c4&&(_0x4e5d48++,_0x20d9c4=!0x1):(_0x4e5d48++,_0x20d9c4=!0x0),_0x260aaa['set'](_0x3678d5['id'],_0x4e5d48);for(let _0x552a7c=0x0;_0x552a7c<_0x4c737e['length'];_0x552a7c++){if('isRemoved'==_0x2ed72f&&_0x4c737e[_0x552a7c]['isAdded']||'isAdded'==_0x2ed72f&&_0x4c737e[_0x552a7c]['isRemoved'])continue;if('text'==_0x4c737e[_0x552a7c]['type']){_0x4c737e[_0x552a7c]['distance']=0x0;continue;}const _0x30e8c4=_0x260aaa['get'](_0x4c737e[_0x552a7c]['pairId']),_0x28962f=_0x260aaa['get'](_0x4c737e[_0x552a7c]['id']);_0x4c737e[_0x552a7c]['distance']=_0x30e8c4-_0x28962f;}}['_getRevisionsRange'](_0x262651,_0x408ba8,_0x185a0d=!0x1){const _0x3f191f=[];let _0x253b94=this['repository']['getIndex'](_0x262651),_0xa5c1c1=this['repository']['getIndex'](_0x408ba8);for(-0x1==_0xa5c1c1&&(_0xa5c1c1=this['repository']['_revisions']['length'],_0x185a0d=!0x1);_0x253b94<_0xa5c1c1;)_0x3f191f['push'](this['repository']['getRevision'](_0x253b94)),_0x253b94++;return _0x185a0d&&_0x3f191f['push'](this['repository']['getRevision'](_0x253b94)),_0x3f191f;}['_threeWayMerge'](_0x5b5699,_0x494675,_0x4bdad2,_0x2e631e){const _0xad5535=this['editor']['model']['schema'];let _0x16f792=_0x494675;for(;_0x5b5699[_0x16f792]&&_0x5b5699[_0x16f792]['isAdded'];)_0x16f792++;let _0x14af57=_0x2e631e;for(;_0x4bdad2[_0x14af57]&&_0x4bdad2[_0x14af57]['isRemoved'];)_0x14af57++;_0x102023(_0x5b5699,_0x494675,_0x16f792),_0x102023(_0x4bdad2,_0x2e631e,_0x14af57);const _0x1fc27d=_0x4bdad2['slice'](_0x2e631e,_0x14af57)['concat'](_0x5b5699['slice'](_0x494675,_0x16f792));return _0x1fc27d['sort']((_0x5446ce,_0x3e04a0)=>_0x5446ce['side']!=_0x3e04a0['side']?_0x5446ce['side']-_0x3e04a0['side']:_0x5446ce['level']!=_0x3e04a0['level']?_0x5446ce['level']-_0x3e04a0['level']:_0x5446ce['distance']!=_0x3e04a0['distance']?_0x3e04a0['distance']-_0x5446ce['distance']:!!_0x5446ce['isAdded']!=!!_0x3e04a0['isAdded']?-0x1==_0x5446ce['side']||0x0==_0x5446ce['side']?_0x5446ce['isAdded']?-0x1:0x1:_0x5446ce['isAdded']?0x1:-0x1:_0x5446ce['index']-_0x3e04a0['index']),{'commonTape':_0x1fc27d,'iEnd':_0x16f792,'jEnd':_0x14af57};function _0x102023(_0x470a2c,_0x4fce93,_0x543251){let _0x1a7453=-0x1,_0x2de612=Number['POSITIVE_INFINITY'],_0x5c13e5=!0x0;for(let _0x4db024=_0x4fce93;_0x4db024<_0x543251;_0x4db024++)if(_0xad5535['isInline'](_0x470a2c[_0x4db024]['item'])||(_0x5c13e5=!0x1),_0x470a2c[_0x4db024]['item']['startIndex']<_0x4fce93&&(_0x1a7453=_0x4db024),_0x470a2c[_0x4db024]['item']['endIndex']>=_0x543251){_0x2de612=_0x4db024;break;}_0x5c13e5&&(_0x1a7453=_0x543251-0x1);for(let _0x3fca71=_0x4fce93;_0x3fca71<_0x543251;_0x3fca71++)_0x470a2c[_0x3fca71]['side']=_0x3fca71<=_0x1a7453?-0x1:_0x3fca71<_0x2de612?0x0:0x1,_0x470a2c[_0x3fca71]['index']=_0x3fca71;let _0x667de8=0x0;for(let _0x4bfd5c=_0x4fce93;_0x4bfd5c<=_0x1a7453;_0x4bfd5c++)0x0==_0x470a2c[_0x4bfd5c]['distance']?_0x470a2c[_0x4bfd5c]['level']=_0x667de8:(_0x667de8++,_0x470a2c[_0x4bfd5c]['level']=_0x667de8,_0x667de8++);for(let _0x2bd6df=_0x4fce93;_0x2bd6df<_0x543251;_0x2bd6df++)0x0==_0x470a2c[_0x2bd6df]['side']&&(_0x470a2c[_0x2bd6df]['level']=_0x667de8);_0x667de8=0x0;for(let _0xdc53f7=_0x543251-0x1;_0xdc53f7>=_0x2de612;_0xdc53f7--)0x0==_0x470a2c[_0xdc53f7]['distance']?_0x470a2c[_0xdc53f7]['level']=_0x667de8:(_0x667de8--,_0x470a2c[_0xdc53f7]['level']=_0x667de8,_0x667de8--);}}['_fixObsoleteTags'](_0x464f16){const _0x3313b5=new Map(),_0x25f8f5=this['editor']['model']['schema'];for(let _0x2f9079=0x1;_0x2f9079<_0x464f16['length'];_0x2f9079++){let _0x5c569f,_0x51cf58,_0x2915fa;const _0x1e30f8=_0x464f16[_0x2f9079],_0x3aa6b4=_0x464f16[_0x2f9079-0x1];if('text'==_0x1e30f8['type'])continue;if(_0x1e30f8['type']!=_0x3aa6b4['type'])continue;if(!_0x25f8f5['isBlock'](_0x3aa6b4['item'])||_0x25f8f5['isLimit'](_0x3aa6b4['item']))continue;if(!_0x25f8f5['isBlock'](_0x1e30f8['item'])||_0x25f8f5['isLimit'](_0x1e30f8['item']))continue;if((_0x464f16[_0x2f9079]['isAdded']||_0x464f16[_0x2f9079]['isAddSuggestion'])&&_0x464f16[_0x2f9079-0x1]['isRemoved'])_0x5c569f=_0x464f16[_0x2f9079],_0x51cf58=_0x464f16[_0x2f9079-0x1],_0x2915fa=_0x2f9079-0x1;else{if(!_0x464f16[_0x2f9079]['isRemoved']||!_0x464f16[_0x2f9079-0x1]['isAdded']&&!_0x464f16[_0x2f9079-0x1]['isAddSuggestion'])continue;_0x5c569f=_0x464f16[_0x2f9079-0x1],_0x51cf58=_0x464f16[_0x2f9079],_0x2915fa=_0x2f9079;}const _0x19a381=_0x5c569f['level']==_0x51cf58['level'],_0x274673=Math['abs'](_0x5c569f['level'])<Math['abs'](_0x51cf58['level'])&&0x0==_0x51cf58['distance'];(_0x19a381||_0x274673)&&(_0x3313b5['set'](_0x51cf58['id'],_0x5c569f['id']),_0x464f16['splice'](_0x2915fa,0x1),_0x2f9079--,_0x5c569f['isAdded']=!0x1);}for(let _0x435b42=0x0;_0x435b42<_0x464f16['length'];_0x435b42++)_0x3313b5['has'](_0x464f16[_0x435b42]['pairId'])&&(_0x464f16[_0x435b42]['pairId']=_0x3313b5['get'](_0x464f16[_0x435b42]['pairId']));}['_removeMissingPairs'](_0x564629){const _0x127100=new Set(_0x564629['map'](_0x31c5e3=>_0x31c5e3['id']));for(let _0x3fd979=0x0;_0x3fd979<_0x564629['length'];_0x3fd979++)_0x127100['has'](_0x564629[_0x3fd979]['pairId'])||0x0==_0x564629[_0x3fd979]['distance']||(_0x564629[_0x3fd979]['isIncorrect']=!0x0);return _0x564629['filter'](_0x1695b0=>!_0x1695b0['isIncorrect']);}['_markMismatchedRemovedTags'](_0x51c47c){const _0x384e56=new Set();for(let _0x378232=0x0;_0x378232<_0x51c47c['length'];_0x378232++){if(_0x384e56['has'](_0x51c47c[_0x378232]['id'])&&_0x51c47c[_0x378232]['isRemoved']&&(_0x51c47c[_0x378232]['isIncorrect']=!0x0),_0x51c47c[_0x378232]['isIncorrect'])continue;if(0x0==_0x51c47c[_0x378232]['distance'])continue;if('elementStart'!=_0x51c47c[_0x378232]['type'])continue;if(null==_0x51c47c[_0x378232]['pairId'])continue;let _0x117b6c=_0x378232+0x1,_0x8db278=0x0;for(;_0x51c47c[_0x117b6c]['id']!=_0x51c47c[_0x378232]['pairId'];)'elementStart'==_0x51c47c[_0x117b6c]['type']?_0x8db278++:'elementEnd'==_0x51c47c[_0x117b6c]['type']&&_0x8db278--,_0x117b6c++;if(0x0!=_0x8db278){if(_0x51c47c[_0x378232]['isRemoved'])_0x51c47c[_0x378232]['isIncorrect']=!0x0;else{for(;_0x117b6c!=_0x378232;)_0x51c47c[_0x117b6c]['isRemoved']&&0x0!=_0x51c47c[_0x117b6c]['distance']&&(_0x51c47c[_0x117b6c]['isIncorrect']=!0x0,_0x384e56['add'](_0x51c47c[_0x117b6c]['pairId'])),_0x117b6c--;}}}return _0x51c47c['filter'](_0x1d1949=>!_0x1d1949['isIncorrect']);}['_removeUnsupportedChanges'](_0x14a2f5){const _0x2b178f=this['editor']['model']['schema'];for(let _0x39f6e7=0x0;_0x39f6e7<_0x14a2f5['length'];_0x39f6e7++){if(!(_0x14a2f5[_0x39f6e7]['isAdded']||_0x14a2f5[_0x39f6e7]['isAddSuggestion']||_0x14a2f5[_0x39f6e7]['isRemoved']||_0x14a2f5[_0x39f6e7]['isRemoveSuggestion']))continue;if(0x0==_0x14a2f5[_0x39f6e7]['distance'])continue;const _0x171ad5=_0x14a2f5[_0x39f6e7]['item'];_0x2b178f['isBlock'](_0x171ad5)||_0x2b178f['isLimit'](_0x171ad5)||(_0x14a2f5[_0x39f6e7]['isAdded']&&delete _0x14a2f5[_0x39f6e7]['isAdded'],_0x14a2f5[_0x39f6e7]['isAddSuggestion']&&delete _0x14a2f5[_0x39f6e7]['isAddSuggestion'],_0x14a2f5[_0x39f6e7]['isRemoveSuggestion']&&delete _0x14a2f5[_0x39f6e7]['isRemoveSuggestion'],_0x14a2f5[_0x39f6e7]['isRemoved']&&(_0x14a2f5[_0x39f6e7]['isIncorrect']=!0x0));}return _0x14a2f5['filter'](_0x330669=>!_0x330669['isIncorrect']);}['_makeModelFromTape'](_0x29574f,_0x5609d6,_0x56f80e){const _0x3406ea=new wt(),_0x113a01=[],_0x2ce95a=new Map(),_0x344fa2=this['editor']['model'],_0x41d60e=_0x344fa2['schema'],_0xac32cc=[_0x3406ea],_0x374928={},_0x4b0e53={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0xdc9976=null;const _0x107e75=[0x0];for(let _0x5067aa=0x0;_0x5067aa<_0x29574f['length'];_0x5067aa++){let _0x115b55,_0x240990;if('elementStart'===_0x29574f[_0x5067aa]['type']){_0x115b55=_0x344fa2['createPositionFromPath'](_0x3406ea,_0x107e75);const _0x28b9e9=new ft(_0x29574f[_0x5067aa]['item']['name'],_0x29574f[_0x5067aa]['item']['getAttributes']());_0xac32cc[0x0]['_appendChild'](_0x28b9e9),_0x107e75['push'](0x0),_0xac32cc['unshift'](_0x28b9e9),_0x240990=_0x344fa2['createPositionFromPath'](_0x3406ea,_0x107e75),_0xdc9976=null;}else{if('elementEnd'===_0x29574f[_0x5067aa]['type'])_0xac32cc['shift'](),_0x115b55=_0x344fa2['createPositionFromPath'](_0x3406ea,_0x107e75),_0x107e75['pop'](),_0x107e75[_0x107e75['length']-0x1]++,_0x240990=_0x344fa2['createPositionFromPath'](_0x3406ea,_0x107e75),_0xdc9976=null;else{if(_0x115b55=_0x344fa2['createPositionFromPath'](_0x3406ea,_0x107e75),_0xdc9976&&_0x1daae6(_0xdc9976,_0x29574f[_0x5067aa]['item']))_0xdc9976['_data']+=_0x29574f[_0x5067aa]['item']['data'];else{const _0x316606=new _t(_0x29574f[_0x5067aa]['item']['data'],_0x29574f[_0x5067aa]['item']['getAttributes']());_0xac32cc[0x0]['_appendChild'](_0x316606),_0xdc9976=_0x316606;}_0x107e75[_0x107e75['length']-0x1]+=_0x29574f[_0x5067aa]['item']['offsetSize'],_0x240990=_0x344fa2['createPositionFromPath'](_0x3406ea,_0x107e75);}}for(const _0x3cb6df of _0x29574f[_0x5067aa]['markersStart'])_0x2ce95a['set'](_0x3cb6df,{'start':_0x115b55,'end':null});_0x53e6fa('isRemoveSuggestion',_0x5067aa,_0x115b55,_0x240990),_0x53e6fa('isAddSuggestion',_0x5067aa,_0x115b55,_0x240990),_0x53e6fa('isRemoved',_0x5067aa,_0x115b55,_0x240990),_0x53e6fa('isAdded',_0x5067aa,_0x115b55,_0x240990);for(const _0x47549f of _0x29574f[_0x5067aa]['markersEnd']){_0x2ce95a['get'](_0x47549f)['end']=_0x240990;}}for(const [_0x48d065,_0x5f2957]of _0x2ce95a){const _0x4c1eda=this['editor']['model']['createRange'](_0x5f2957['start'],_0x5f2957['end']);_0x3406ea['markers']['set'](_0x48d065,_0x4c1eda);}return _0x113a01['sort']((_0x2be76c,_0xf972b9)=>{const _0x2b34fc=_0x3406ea['markers']['get']('revision:'+_0x2be76c['id']),_0x1d9f89=_0x3406ea['markers']['get']('revision:'+_0xf972b9['id']);return _0x2b34fc['start']['isBefore'](_0x1d9f89['start'])?-0x1:_0x2b34fc['start']['isAfter'](_0x1d9f89['start'])?0x1:_0x2b34fc['end']['isBefore'](_0x1d9f89['end'])?-0x1:_0x2b34fc['end']['isAfter'](_0x1d9f89['end'])?0x1:'add'===_0x2be76c['type']?-0x1:0x1;}),{'root':_0x3406ea,'changes':_0x113a01};function _0x53e6fa(_0x457cd1,_0x44852c,_0x409ff5,_0x3be51c){const _0x58c307=!!_0x29574f[_0x44852c][_0x457cd1],_0x55804e=_0x58c307?_0x29574f[_0x44852c][_0x457cd1]['userId']:null,_0x45bfbf=_0x44852c===_0x29574f['length']-0x1,_0x3c8d7d=_0x4b0e53[_0x457cd1][0x0],_0x215745=_0x41d60e['isObject'](_0x29574f[_0x44852c]['item']);!_0x374928[_0x457cd1]&&_0x58c307?_0x374928[_0x457cd1]={'start':_0x409ff5,'tapeItem':_0x29574f[_0x44852c],'userId':_0x55804e,'type':_0x457cd1}:_0x374928[_0x457cd1]&&!_0x58c307?(_0x374928[_0x457cd1]['end']=_0x409ff5,_0x5e788f(_0x374928[_0x457cd1]),_0x374928[_0x457cd1]=null):_0x374928[_0x457cd1]&&_0x58c307&&_0x374928[_0x457cd1]['userId']!==_0x55804e&&(_0x374928[_0x457cd1]['end']=_0x409ff5,_0x3c8d7d&&_0x3c8d7d['userId']===_0x374928[_0x457cd1]['userId']||_0x5e788f(_0x374928[_0x457cd1]),_0x374928[_0x457cd1]={'start':_0x409ff5,'tapeItem':_0x29574f[_0x44852c],'userId':_0x55804e,'type':_0x457cd1}),_0x374928[_0x457cd1]&&_0x215745&&('elementStart'!==_0x29574f[_0x44852c]['type']||_0x3c8d7d&&_0x3c8d7d['userId']===_0x55804e||_0x4b0e53[_0x457cd1]['unshift']({'userId':_0x55804e,'object':_0x29574f[_0x44852c]['item'],'change':_0x374928[_0x457cd1]}),'elementEnd'===_0x29574f[_0x44852c]['type']&&_0x3c8d7d&&_0x3c8d7d['object']===_0x29574f[_0x44852c]['item']&&(_0x4b0e53[_0x457cd1]['shift'](),_0x374928[_0x457cd1]=_0x3c8d7d['change'])),_0x374928[_0x457cd1]&&_0x45bfbf&&(_0x374928[_0x457cd1]['end']=_0x3be51c,_0x5e788f(_0x374928[_0x457cd1]),_0x374928[_0x457cd1]=null);}function _0x5e788f({start:_0x2c7a53,end:_0x553b04,tapeItem:_0x8ab8f5,userId:_0x40aacd,type:_0xa1e378}){const _0x157524=_0x8ab8f5['item'],_0x424561=_0x344fa2['schema']['isBlock'](_0x157524)&&!_0x344fa2['schema']['isLimit'](_0x157524),_0x381ca9=_0x2c7a53['nodeAfter']==_0x553b04['parent']&&_0x553b04['isAtStart'];if(_0x424561&&_0x381ca9)return;const _0x2b0f37=_0x344fa2['createRange'](_0x2c7a53,_0x553b04),_0x375d92=_0x5609d6['get'](_0x40aacd),_0x59037c=new r({'author':_0x375d92,'type':'isAdded'==_0xa1e378||'isAddSuggestion'==_0xa1e378?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0xa1e378||'isRemoveSuggestion'==_0xa1e378},'createdAt':new Date(),'rootName':_0x56f80e});_0x113a01['push'](_0x59037c),_0x3406ea['markers']['set']('revision:'+_0x59037c['id'],_0x2b0f37);}function _0x1daae6(_0x1d0469,_0x1b8faa){const _0x501eed=_0x1d0469['getAttributes'](),_0x357cd7=_0x1b8faa['getAttributes']();for(const _0x280818 of _0x501eed){if(_0x280818[0x1]!==_0x1b8faa['getAttribute'](_0x280818[0x0]))return!0x1;_0x357cd7['next']();}return _0x357cd7['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x34f94e=>{const _0x1fb78a=_0x34f94e['markerName']['split'](':')[0x1],_0x39224f=this['_getChangeFromId'](_0x1fb78a);if(!_0x39224f)return null;const _0x3b077e='add'==_0x39224f['type']?'insertion':'deletion',_0x51479c=['ck-suggestion-marker','ck-suggestion-marker-'+_0x3b077e];return _0x39224f['data']['isSuggestion']&&_0x51479c['push']('ck-suggestion-marker-'+_0x3b077e+'-new'),this['activeChange']==_0x39224f&&_0x51479c['push']('ck-suggestion-marker--active'),{'classes':_0x51479c,'attributes':{'data-change-id':_0x1fb78a}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x5f1220=>{_0x5f1220['on']('element:pre',(_0x1c772e,_0x1532af,_0x59f140)=>{const _0x28c149=_0x1532af['viewItem']['getChild'](0x0);if(!_0x28c149||!_0x28c149['is']('element','code'))return;if(!_0x59f140['consumable']['consume'](_0x28c149,{'attributes':['vid_start','vid_end']}))return;const _0x10e458=_0x1532af['modelRange']['start']['nodeAfter'];_0x59f140['writer']['setAttribute']('vid_start',_0x28c149['getAttribute']('vid_start'),_0x10e458),_0x59f140['writer']['setAttribute']('vid_end',_0x28c149['getAttribute']('vid_end'),_0x10e458);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x1c5ecf=>{_0x1c5ecf['on']('element',(_0x456e64,_0x3a9555,_0x40a7c2)=>{if(!_0x40a7c2['consumable']['consume'](_0x3a9555['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x3a9555['modelRange']['isCollapsed'])return;const _0x12c7cd=_0x3a9555['modelRange']['start']['nodeAfter'];_0x12c7cd['hasAttribute']('vid_start')||_0x12c7cd['hasAttribute']('vid')||(_0x40a7c2['writer']['setAttribute']('vid_start',_0x3a9555['viewItem']['getAttribute']('vid_start'),_0x12c7cd),_0x40a7c2['writer']['setAttribute']('vid_end',_0x3a9555['viewItem']['getAttribute']('vid_end'),_0x12c7cd));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x2d4f71=>_0x2d4f71['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x507bfe,[,_0x5272fc])=>{['vid_start','vid_end','vid']['includes'](_0x5272fc)&&(_0x507bfe['return']=!0x0,_0x507bfe['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x17f42e=>{_0x17f42e['on']('attribute:vid',(_0x1fc451,_0x10ebf3,_0x537ddc)=>{if('\x20'!=_0x10ebf3['item']['data']||_0x10ebf3['item']['parent']['maxOffset']>0x1)return;if(!_0x537ddc['consumable']['consume'](_0x10ebf3['item'],_0x1fc451['name']))return;const _0x4ca751=_0x537ddc['writer'],_0x45ef85=_0x537ddc['mapper']['toViewRange'](_0x10ebf3['range']);_0x4ca751['wrap'](_0x45ef85,_0x4ca751['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0xd2fe52){const _0x197201=_0xd2fe52['plugins']['get']('RevisionViewer');return(_0x79557,_0x5bbb35,_0x248ed0)=>{const _0x230dad=_0x5bbb35['markerName']['split'](':')[0x1],_0x39a889=_0x197201['_getChangeFromId'](_0x230dad);if(!_0x39a889)return null;const _0x8b9b95='add'==_0x39a889['type']?'split':'merge';if(!_0x248ed0['consumable']['test'](_0x5bbb35['markerRange'],_0x79557['name']))return;const _0x4a3f73=_0x5bbb35['markerRange']['getWalker'](),_0x26ac78=_0x5bbb35['markerRange']['start'],_0x5978df=_0xd2fe52['model']['schema'];let _0x4ff39e=null,_0x2e5aad=null,_0x3bb346=!0x1,_0x48f49e=!0x1;for(const _0x41c1e1 of _0x4a3f73){const _0x276dc9=_0x41c1e1['item'];_0x3bb346=_0x3bb346||_0x5978df['isContent'](_0x276dc9);const _0x297480=_0x248ed0['mapper']['toViewElement'](_0x276dc9);if(_0x297480&&_0x297480['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x41c1e1['type']&&(_0x5978df['isBlock'](_0x276dc9)&&!_0x5978df['isLimit'](_0x276dc9)&&(_0x276dc9['nextSibling']||_0x26ac78['isAtEnd']?_0x4ff39e&&_0x4ff39e['parent']==_0x276dc9||(_0x4ff39e=_0x276dc9,_0x328b63(_0x41c1e1['previousPosition']),_0x48f49e=!0x0):_0x2e5aad=_0x2e5aad||_0x41c1e1['previousPosition']));}function _0x328b63(_0xc9ee35){const _0x2c188e=_0x248ed0['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x8b9b95}),_0x2fae37=_0x248ed0['mapper']['toViewPosition'](_0xc9ee35);_0x39a889['data']['isSuggestion']&&_0x248ed0['writer']['addClass']('ck-suggestion-marker-'+_0x8b9b95+'-new',_0x2c188e),_0x197201['activeChange']==_0x39a889&&_0x248ed0['writer']['addClass']('ck-suggestion-marker--active',_0x2c188e),_0x248ed0['writer']['insert'](_0x2fae37,_0x2c188e),_0x248ed0['mapper']['bindElementToMarker'](_0x2c188e,_0x5bbb35['markerName']);}_0x3bb346||_0x48f49e||!_0x2e5aad||_0x328b63(_0x2e5aad);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x5903ab,_0x36dd4b,_0x2a0b9a)=>{const _0x178375=_0x2a0b9a['mapper']['markerNameToElements'](_0x36dd4b['markerName']);if(_0x178375){for(const _0x3c1609 of _0x178375)(_0x3c1609['hasClass']('ck-suggestion-marker-split')||_0x3c1609['hasClass']('ck-suggestion-marker-merge'))&&(_0x2a0b9a['mapper']['unbindElementFromMarkerName'](_0x3c1609,_0x36dd4b['markerName']),_0x2a0b9a['writer']['remove'](_0x3c1609));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x5a087e,_0x58f074,_0x3bd710)=>{const _0x42afb1=_0x58f074['markerName']['split'](':')[0x1],_0x35154e=this['_getChangeFromId'](_0x42afb1);if(!_0x35154e)return null;const _0x10b272='add'==_0x35154e['type']?'split':'merge';if(_0x3bd710['consumable']['test'](_0x58f074['markerRange'],_0x5a087e['name']))for(const _0x33d297 of _0x58f074['markerRange']['getItems']()){if(!_0x33d297['is']('element','softBreak'))continue;const _0x83cf23=_0x3bd710['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x10b272}),_0x3b4371=_0x3bd710['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x33d297));_0x35154e['data']['isSuggestion']&&_0x3bd710['writer']['addClass']('ck-suggestion-marker-'+_0x10b272+'-new',_0x83cf23),this['activeChange']==_0x35154e&&_0x3bd710['writer']['addClass']('ck-suggestion-marker--active',_0x83cf23),_0x3bd710['writer']['insert'](_0x3b4371,_0x83cf23),_0x3bd710['mapper']['bindElementToMarker'](_0x83cf23,_0x58f074['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x3b917b=>{for(const _0x2fc5ed of this['editor']['model']['document']['getRootNames']()){const _0x125a27=this['editor']['model']['document']['getRoot'](_0x2fc5ed),_0x156f48=this['editor']['editing']['view']['document']['getRoot'](_0x2fc5ed);if(_0x156f48){const _0x533767=_0x125a27['getAttribute']('revisionHistoryAttachChange');if(_0x3b917b['removeAttribute']('data-change-id',_0x156f48),_0x3b917b['removeClass']('ck-revision-history-root-add',_0x156f48),_0x3b917b['removeClass']('ck-revision-history-root-remove',_0x156f48),_0x3b917b['removeClass']('ck-revision-history-root--active',_0x156f48),_0x533767){const _0x3617f9=this['_getChangeFromId'](_0x533767);if(!_0x3617f9)return null;_0x3b917b['setAttribute']('data-change-id',_0x533767,_0x156f48),_0x3b917b['addClass']('ck-revision-history-root-'+_0x3617f9['type'],_0x156f48),this['activeChange']==_0x3617f9&&_0x3b917b['addClass']('ck-revision-history-root--active',_0x156f48);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x1c4871=>'revision-comment:'+_0x1c4871,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x2332f3=>'revision-suggestion:'+_0x2332f3,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x1703b7=>({'name':'suggestion:'+_0x1703b7,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x17540b=>{const _0x48f007=_0x17540b['markerName']['split'](':')[0x1];return'insertion'!=_0x48f007&&'deletion'!=_0x48f007?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x48f007]};}}),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',(_0x3f1c96,_0x13ba13,_0x493c37)=>{const _0x4e3682=_0x493c37['mapper']['markerNameToElements'](_0x13ba13['markerName']);if(_0x4e3682){for(const _0x44106d of _0x4e3682)_0x44106d['is']('uiElement')&&(_0x493c37['mapper']['unbindElementFromMarkerName'](_0x44106d,_0x13ba13['markerName']),_0x493c37['writer']['remove'](_0x44106d));}},{'priority':'high'});}['_getChangeFromId'](_0x383a9c){return this['_changeIdToChange']['get'](_0x383a9c);}['_getViewForChange'](_0x5e5ed0){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x5e5ed0),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x50a013,_0x2b96be,_0xaf26d6,_0x12d6bf)=>{_0x12d6bf&&this['_balloon']['remove'](_0x12d6bf),_0xaf26d6&&(this['_balloon']['add']({'view':_0xaf26d6,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x2c764a=this['editor']['editing'],_0x49b73f=this['_getChangeFromId'](_0xaf26d6['changeId']);let _0x558c8c;if(_0x49b73f['data']['isOnRoot']){const _0x396d72=_0x2c764a['view']['getDomRoot'](_0x49b73f['rootName']);_0x558c8c=Array['from'](_0x396d72['getClientRects']());}else{const _0x836173=this['editor']['model']['markers']['get']('revision:'+_0xaf26d6['changeId']);_0x558c8c=Array['from'](_0x2c764a['mapper']['markerNameToElements'](_0x836173['name']))['map'](_0x59c4b0=>_0x2c764a['view']['domConverter']['mapViewToDom'](_0x59c4b0))['map'](_0x5f11d5=>Array['from'](_0x5f11d5['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x558c8c[0x0];return _0x558c8c['find'](_0x1910c1=>_0x1910c1['top']-0x3<=this['_activeViewTarget']['y']&&_0x1910c1['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x1910c1['left']-0x3<=this['_activeViewTarget']['x']&&_0x1910c1['right']+0x3>=this['_activeViewTarget']['x'])||_0x558c8c[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x165bf7,_0x295509,_0x40eac9,_0xcb41cc)=>{this['activeView']=_0x40eac9?this['_getViewForChange'](_0x40eac9):null,this['editor']['model']['change'](()=>{const _0x328b93=this['editor']['editing'];_0xcb41cc&&(_0xcb41cc['data']['isOnRoot']?_0x328b93['view']['change'](_0x2466c6=>{_0x2466c6['removeClass']('ck-revision-history-root--active',_0x328b93['view']['document']['getRoot'](_0xcb41cc['rootName']));}):_0x328b93['reconvertMarker']('revision:'+_0xcb41cc['id'])),_0x40eac9&&(_0x40eac9['data']['isOnRoot']?_0x328b93['view']['change'](_0x43ab33=>{_0x43ab33['addClass']('ck-revision-history-root--active',_0x328b93['view']['document']['getRoot'](_0x40eac9['rootName']));}):_0x328b93['reconvertMarker']('revision:'+_0x40eac9['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x1dc4df,_0x28f404)=>{if(this['activeChange'])return;const _0x37ff9b=this['_findChangeIdFromDomTarget'](_0x28f404['target']),_0x37b125=this['_changeIdToChange']['get'](_0x37ff9b);_0x37b125?(this['_activeViewTarget']={'x':_0x28f404['domEvent']['x'],'y':_0x28f404['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x37b125)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x2a546b,_0x329b5f)=>{const _0x2458ee=this['_findChangeIdFromDomTarget'](_0x329b5f['target']),_0x44133a=this['_changeIdToChange']['get'](_0x2458ee);_0x44133a?(this['_activeViewTarget']={'x':_0x329b5f['domEvent']['x'],'y':_0x329b5f['domEvent']['y']},_0x44133a===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x44133a):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x4e9954){do{const _0x571d39=_0x4e9954['getAttribute']('data-change-id');if(_0x571d39)return _0x571d39;_0x4e9954=_0x4e9954['parent'];}while(_0x4e9954);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0xc883b8=>{for(const _0x44bce3 of this['editor']['model']['markers'])_0xc883b8['removeMarker'](_0x44bce3);});}}function et(_0x310603,_0x16ed10){return(_0x2256b9,_0x18747a,_0xeec38d)=>{if(!_0xeec38d['consumable']['test'](_0x18747a['markerRange'],_0x2256b9['name']))return;const _0x33baab=_0x18747a['markerRange']['getWalker'](),_0x4dff66=_0x18747a['markerRange']['start'],_0x1e3b10=_0x310603['model']['schema'];let _0x3f14c7=null,_0x22376d=null,_0x3bf94d=!0x1,_0xbb922c=!0x1;for(const _0x3f8f0d of _0x33baab){const _0x277d71=_0x3f8f0d['item'];_0x3bf94d=_0x3bf94d||_0x1e3b10['isContent'](_0x277d71);const _0x36f7f5=_0xeec38d['mapper']['toViewElement'](_0x277d71);if(_0x36f7f5&&_0x36f7f5['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3f8f0d['type']&&(_0x1e3b10['isBlock'](_0x277d71)&&!_0x1e3b10['isLimit'](_0x277d71)&&(_0x277d71['nextSibling']||_0x4dff66['isAtEnd']?_0x3f14c7&&_0x3f14c7['parent']==_0x277d71||(_0x3f14c7=_0x277d71,_0x2fff05(_0x3f8f0d['previousPosition']),_0xbb922c=!0x0):_0x22376d=_0x22376d||_0x3f8f0d['previousPosition']));}function _0x2fff05(_0x53b44e){const _0x33b8a7=_0xeec38d['mapper']['toViewPosition'](_0x53b44e),_0x5c37e4=_0xeec38d['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x16ed10});_0xeec38d['writer']['insert'](_0x33b8a7,_0x5c37e4),_0xeec38d['mapper']['bindElementToMarker'](_0x5c37e4,_0x18747a['markerName']);}_0x3bf94d||_0xbb922c||!_0x22376d||_0x2fff05(_0x22376d);};}class bt extends _0x1a7331{constructor(_0x5782a0){super(_0x5782a0);const _0x1ce77c=_0x5782a0['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x1ce77c,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x1ce77c,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x4d06eb=this['editor'],_0x33c10f=_0x4d06eb['plugins']['get'](d),_0x447486=_0x33c10f['isReady']?_0x33c10f['diff']['newRevisionId']:null;_0x4d06eb['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x447486);}['refresh'](){const {isReady:_0x360535,isEnabled:_0x3ffda7}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x360535&&_0x3ffda7;}}class yt extends _0x1a7331{['_step'];constructor(_0x576138,{direction:_0x2cd088}){super(_0x576138);const _0x291e0a=_0x576138['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x2cd088?0x1:-0x1,this['listenTo'](_0x291e0a,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x291e0a,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x291e0a,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x5959e4=this['editor'],_0xdb4e6e=_0x5959e4['plugins']['get'](d),{isNavigationMode:_0x4ed842,currentChangeNumber:_0x4aacc5}=_0xdb4e6e;let _0x1b17bf;if(_0xdb4e6e['activeChange']=_0x4ed842?_0xdb4e6e['diff']['changes']['get'](_0x4aacc5+this['_step']):_0xdb4e6e['diff']['changes']['first'],_0xdb4e6e['activeChange']['data']['isOnRoot'])_0x1b17bf=_0x5959e4['editing']['view']['getDomRoot'](_0xdb4e6e['activeChange']['rootName']);else{const _0x27faa6=_0x5959e4['model']['markers']['get']('revision:'+_0xdb4e6e['activeChange']['id']);_0x1b17bf=_0x1194ea(_0x5959e4['editing'],_0x27faa6);}_0x3ddca5({'target':_0x1b17bf,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x22fcaa,currentChangeNumber:_0x36277b,numberOfChanges:_0x3ecce8,isReady:_0x42b0f6,isEnabled:_0x287b9e}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x287b9e&&_0x42b0f6&&_0x3ecce8)&&(!_0x22fcaa||(0x1===this['_step']?_0x36277b<_0x3ecce8-0x1:_0x36277b>0x0));}}class _i extends _0x4928e5{constructor(_0x143ebf){super(_0x143ebf);const _0x4d5940=this['bindTemplate'],_0xd310c9=new _0xa5e4b7(_0x143ebf),_0x43ccbf=new _0xa5e4b7(_0x143ebf);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',(_0x460851,_0x39f991)=>_0x460851&&_0x39f991>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x5d1e63,_0x2fbb04,_0x1e56e8,_0x395bbe)=>{if(!_0x5d1e63)return y(_0x143ebf,'Loading...');if(!_0x1e56e8)return y(_0x143ebf,'No\x20changes');const _0x13e67c=y(_0x143ebf,'NUMBER_OF_CHANGES',_0x1e56e8);return _0x395bbe?y(_0x143ebf,'X_OF_Y_CHANGES',[_0x2fbb04+0x1,_0x1e56e8]):_0x13e67c;}),_0xd310c9['set']({'label':y(_0x143ebf,'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'}),_0x43ccbf['set']({'label':y(_0x143ebf,'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'}),_0xd310c9['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x43ccbf['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0xd310c9['on']('execute',()=>this['fire']('execute','backward')),_0x43ccbf['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',_0x4d5940['if']('_isStatusLabelVisible','ck-hidden',_0x3a5a03=>!_0x3a5a03)]},'children':[{'text':_0x4d5940['to']('isNavigationMode',_0x4dfe23=>_0x4dfe23?y(_0x143ebf,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x143ebf,'Total')+':\x20')}]},{'text':_0x4d5940['to']('_statusText')}]},new _0x3e4cee(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0xd310c9,_0x43ccbf]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x48eec3{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x3fcf5f=this['editor']['editing']['view'];_0x3fcf5f['change'](_0x4f3b77=>{for(const _0x5e480d of _0x3fcf5f['document']['roots'])_0x4f3b77['addClass'](ce,_0x5e480d);});}['hide'](){const _0x1317e3=this['editor']['editing']['view'];_0x1317e3['change'](_0x510469=>{for(const _0x1847a5 of _0x1317e3['document']['roots'])_0x510469['removeClass'](ce,_0x1847a5);});}}class R extends _0x48eec3{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x1d0e56=this['editor'],_0x503b71=_0x1d0e56['plugins']['get'](d),_0xabd1b0=_0x1d0e56['plugins']['get'](de);_0x1d0e56['ui']['componentFactory']['add']('exitToEditing',_0x274281=>{const _0xf1e1e7=new _0xa5e4b7(_0x274281);return _0xf1e1e7['set']({'label':y(_0x274281,'Back\x20to\x20editing'),'icon':_0x225b5f['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0xf1e1e7,'execute',()=>{_0x1d0e56['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0xf1e1e7;}),_0x1d0e56['ui']['componentFactory']['add']('restoreRevision',_0x320bce=>{const _0x1412c0=new _0xa5e4b7(_0x320bce);return _0x1412c0['set']({'label':y(_0x320bce,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x1412c0['bind']('isEnabled')['to'](_0x1d0e56['commands']['get']('restoreRevision')),this['listenTo'](_0x1412c0,'execute',()=>_0x1d0e56['execute']('restoreRevision')),_0x1412c0;}),_0x1d0e56['ui']['componentFactory']['add']('changesNavigation',_0x2f61fd=>{const _0x1645ef=new _i(_0x2f61fd),_0x516ed4=_0x1d0e56['commands']['get']('showPreviousChange'),_0x5774b8=_0x1d0e56['commands']['get']('showNextChange');return _0x1645ef['bind']('isBackwardNavigationEnabled')['to'](_0x516ed4,'isEnabled'),_0x1645ef['bind']('isForwardNavigationEnabled')['to'](_0x5774b8,'isEnabled'),_0x1645ef['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x503b71),this['listenTo'](_0x1645ef,'execute',(_0x1aa3c5,_0x108241)=>{_0x1d0e56['execute']('forward'===_0x108241?'showNextChange':'showPreviousChange');}),_0x1645ef;}),_0xabd1b0['show'](),_0x503b71['on']('change:isReady',(_0x3db0e9,_0xef463c,_0x498529)=>{_0x498529?_0xabd1b0['hide']():_0xabd1b0['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x1e5598,_0x362232){super(_0x1e5598,_0x362232);const _0x26e647=this['bindTemplate'];this['set']({'label':y(_0x1e5598,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x1e5598,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x26e647['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 _0x178c97=this['fieldView']['element'];this['_tooltipString']=_0x178c97['scrollWidth']>_0x178c97['clientWidth']&&_0x178c97['value']||'';}}class ti extends _0x4928e5{constructor(_0xd3440b,_0x301a31,_0x2a4b3e){super(_0xd3440b);const _0x3692e8=new _0x1bf1c2();_0x3692e8['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 _0x22cbc4=['ck','ck-revision-history-sidebar__revision-author'];_0x2a4b3e&&_0x22cbc4['push']('ck-revision-history-sidebar__revision-author_creator');const _0x5f299d=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0xd3440b,_0x2a4b3e?'Revision\x20creator':'Revision\x20author')},'children':[_0x3692e8,_0x301a31['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x22cbc4},'children':_0x5f299d});}}function ni(_0x2d04b2,_0x4f574a){const _0x3392dd=_0x2d04b2['bindTemplate'],_0x269759=_0x2d04b2['locale'],_0x477290=_0x450638(_0x269759);_0x477290['panelPosition']='sw';const _0x3cf7e4=function(_0x2580af,_0x5f3ce7){const _0x5321b7=function(_0x57b99d,_0x39092b){const _0x2ff419=_0x57b99d['locale'],_0x3681f6={'Compare\x20against\x20selected':y(_0x2ff419,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x2ff419,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x2ff419,'Restore\x20this\x20revision')};return _0x39092b['map'](_0x25c5a0=>{const _0x3e53a7=_0x3681f6[_0x25c5a0['name']];return _0x3e53a7&&_0x3e53a7!==_0x25c5a0['name']&&(_0x25c5a0['name']=_0x3e53a7),_0x25c5a0;});}(_0x2580af,_0x5f3ce7),_0xcccaa=new _0x51892e();for(const _0x4cb057 of _0x5321b7){const _0x2d82af={'type':'button','model':new to({'label':_0x4cb057['name'],'class':_0x4cb057['class'],'withText':!0x0,'role':'menuitem','_action':_0x4cb057['action']})};_0x2d82af['model']['bind']('isEnabled')['to'](_0x2580af,'isActionsDropdownOpen',_0x24a660=>'function'!=typeof _0x4cb057['isEnabled']||(!_0x24a660||_0x4cb057['isEnabled'](_0x2580af))),_0xcccaa['add'](_0x2d82af);}return _0xcccaa;}(_0x2d04b2,_0x4f574a);return _0x2d04b2['bind']('isActionsDropdownOpen')['to'](_0x477290,'isOpen'),_0x477290['buttonView']['set']({'label':y(_0x269759,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x225b5f['threeVerticalDots']}),_0x477290['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x3392dd['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x3392dd['to'](_0xd77ba7=>_0xd77ba7['stopPropagation']())}}),_0x477290['on']('execute',_0x425070=>{_0x2d04b2['isReady']&&'function'==typeof _0x425070['source']['_action']&&_0x425070['source']['_action'](_0x2d04b2);}),_0x2c6c77(_0x477290,_0x3cf7e4,{'role':'menu'}),_0x477290['listenTo'](_0x2d04b2,'change:isActionsDropdownOpen',(_0x474c7f,_0x5b71cc,_0x1a9ac5)=>{if(_0x1a9ac5)for(const _0x8948e5 of _0x477290['listView']['items']){const _0x5c2293=_0x8948e5['children']['first'],_0x2c244a=_0x4f574a['find'](_0x206639=>_0x206639['action']===_0x5c2293['_action'])['isVisible'];_0x8948e5['isVisible']=void 0x0===_0x2c244a||_0x2c244a(_0x2d04b2);}}),_0x477290;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x2bbcd6(_0x4928e5){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x5e0903,_0x2140e2,_0x2fea1a,_0x24d94f){super(_0x5e0903);const _0x1cb347=this['bindTemplate'],_0x3e07c0=function(_0x4ef8fe,_0x5d13b9){const _0x1181d2=Array['from'](_0x5d13b9['authors'])['filter'](_0x443441=>_0x443441!=_0x5d13b9['creator']);return _0x5d13b9['creator']&&_0x1181d2['unshift'](_0x5d13b9['creator']),_0x1181d2['map'](_0x20e373=>new ti(_0x4ef8fe,_0x20e373,_0x20e373==_0x5d13b9['creator']));}(_0x5e0903,_0x2140e2);this['id']=_0x2140e2['id'],this['_revision']=_0x2140e2,this['_requireRevisionName']=_0x24d94f,this['bind']('name','createdAt')['to'](_0x2140e2),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0xdcca08=>{return _0x2c371f=_0x5e0903['uiLanguage'],(_0x23d129=_0xdcca08)['toLocaleDateString'](_0x2c371f,{'month':'long','day':'numeric'})+',\x20'+_0x23d129['toLocaleTimeString'](_0x2c371f,{'hour':'numeric','minute':'numeric'});var _0x2c371f,_0x23d129;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x5e0903,_0x5ead08),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x4171d6=>_0x4171d6||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x4a0cfb,_0x5d9560)=>_0x4a0cfb&&_0x5d9560),this['revisionActionsView']=_0x2fea1a&&_0x2fea1a['length']?ni(this,_0x2fea1a):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x1cb347['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x1cb347['if']('isEnabled','ck-disabled',_0x56b093=>!_0x56b093),_0x1cb347['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x1cb347['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x1cb347['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':_0x1cb347['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':_0x3e07c0}]},this['revisionActionsView']],'on':{'click':_0x1cb347['to'](_0x5c31f3=>{_0x5c31f3['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x51cf35=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x51cf35,'change',()=>{this['_requireRevisionName']&&!_0x51cf35['value']||this['fire']('setName',{'id':this['id'],'name':_0x51cf35['value']}),_0x51cf35['value']||(_0x51cf35['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(_0x52abf0,_0x266fa6){const _0x5d40f8=_0x26f9ae['fromJSDate'](_0x52abf0)['setLocale'](_0x266fa6),_0x4b532b=_0x26f9ae['local'](),_0x1839b6=_0x4b532b['minus']({'days':0x1})['startOf']('day');let _0x268e33,_0x52376f;return _0x5d40f8['hasSame'](_0x4b532b,'day')?(_0x268e33=_0x5d40f8['startOf']('day')['toJSDate'](),_0x52376f=_0x5d40f8['toRelativeCalendar']()):_0x5d40f8['hasSame'](_0x1839b6,'day')?(_0x268e33=_0x1839b6['toJSDate'](),_0x52376f=_0x5d40f8['toRelativeCalendar']()):_0x5d40f8['hasSame'](_0x4b532b,'week')?(_0x268e33=_0x5d40f8['startOf']('week')['toJSDate'](),_0x52376f=_0x5d40f8['weekdayLong']||''):_0x5d40f8['hasSame'](_0x4b532b,'year')?(_0x268e33=_0x5d40f8['startOf']('month')['toJSDate'](),_0x52376f=_0x5d40f8['monthLong']||''):(_0x268e33=_0x5d40f8['startOf']('year')['toJSDate'](),_0x52376f=String(_0x5d40f8['year'])),{'startDate':_0x268e33,'localizedPeriodName':_0x52376f};}class mi extends _0x4928e5{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x49b998,_0xdeda04,_0x2d59da,_0x51baad){super(_0x49b998);const _0x583949=di(_0xdeda04,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0xdeda04,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x2d59da,this['_requireRevisionName']=_0x51baad,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':_0x583949}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0xfdc9e2){const _0x3664a1=new ai(this['locale'],_0xfdc9e2,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x3664a1);}['removeRevision'](_0x587f71){const _0x2e336d=this['revisionViews']['find'](_0x35c798=>_0x35c798['id']===_0x587f71['id']);this['revisionViews']['remove'](_0x2e336d);}}class as extends _0x4928e5{constructor(_0x3ff432){super(_0x3ff432);const _0x487237=new _0x1bf1c2();_0x487237['content']=_0x225b5f['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x487237,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x3ff432,'Revision\x20history')]}]});}}class ci extends _0x4928e5{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x5ade2a,_0x45460c,_0x4f0d7c,_0x26f086){super(_0x5ade2a);const _0x8689b9=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x45460c,this['_revisionActions']=_0x4f0d7c,this['_requireRevisionName']=_0x26f086,this['on']('select',(_0x1ec673,_0x5066ab)=>{this['fire']('revisionSelected',_0x5066ab);}),this['on']('setName',(_0x403c47,_0x18242d)=>{this['fire']('revisionSetName',_0x18242d);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x5ade2a),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x8689b9['if']('isEnabled','ck-disabled',_0x1b1d16=>!_0x1b1d16)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x15f7b3 of this['_revisions'])this['_addRevision'](_0x15f7b3);this['_revisions']['on']('add',(_0x1e51f0,_0x3a7fa7)=>{this['_addRevision'](_0x3a7fa7);}),this['_revisions']['on']('remove',(_0x4639ca,_0x21e077)=>{this['_removeRevision'](_0x21e077);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x27d316=>_0x27d316['revisionViews']['map'](_0x511078=>_0x511078))['flat']();}['selectRevision'](_0x346c48){for(const _0x2cc419 of this['revisionViews'])_0x346c48&&_0x346c48['id']===_0x2cc419['id']?_0x2cc419['select']():_0x2cc419['deselect']();}['highlightRevisions'](_0x3a3fbe){for(const _0x238eda of this['revisionViews'])_0x3a3fbe['some'](({id:_0x35998c})=>_0x35998c===_0x238eda['id'])?_0x238eda['highlight']():_0x238eda['unhighlight']();}['_addRevision'](_0xc53eb2){const _0x2c4624=di(_0xc53eb2['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x4e4edb=this['timePeriodViews']['get'](0x0);_0x4e4edb&&_0x4e4edb['startDate']['getTime']()===_0x2c4624['getTime']()||(_0x4e4edb=new mi(this['locale'],_0x2c4624,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x4e4edb)),_0x4e4edb['addRevision'](_0xc53eb2);}['_removeRevision'](_0x1d4354){const _0x577370=di(_0x1d4354['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x577370)['removeRevision'](_0x1d4354);}['_getTimePeriodViewByStartDate'](_0x302658){return this['timePeriodViews']['find'](_0x53115e=>_0x53115e['startDate']['getTime']()===_0x302658['getTime']());}}class w extends _0x48eec3{['_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(_0x246923){super(_0x246923),this['_revisionViewer']=_0x246923['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x9c49e9=this['_revisionsRepository']['_revisions'],_0x189e59=this['_createRevisionActions'](),_0x3af4d4=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x9c49e9,_0x189e59,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',(_0x4ba3bd,_0x377c54)=>{_0x377c54['revisionViews']['on']('add',(_0x18f1bc,_0x17b24f)=>{_0x17b24f['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)),_0x3af4d4['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x20491b=this['_revisionsRepository']['getRevision'](0x0);if(_0x20491b){const _0xf0d629=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x20491b['id']);this['_revisionViewer']['compare'](_0x20491b,_0xf0d629);}}['_handleRevisionSelected'](_0x2b8eef,_0x107fbd){const _0x2373a0=this['_revisionsRepository']['getRevision'](_0x107fbd['id']),_0x1eb710=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x2373a0['id']);this['_revisionViewer']['compare'](_0x2373a0,_0x1eb710);}['_handleRevisionSetName'](_0x364bd9,_0x3d7f91){this['_revisionsRepository']['getRevision'](_0x3d7f91['id'])['setName'](_0x3d7f91['name']);}['_handleDiffChange'](_0x38fdfe,_0x4dfc73,_0x58f129){const _0x485d86=this['_revisionsRepository']['getRevisionsInDiff'](_0x58f129);_0x485d86['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x485d86),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x485d86[0x0]));}['_createRevisionActions'](){const _0x34df77=this['editor'],_0x59d0c5=w['availableRevisionActions'],_0x446188=_0x34df77['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x446188['length'])return _0x446188['map'](_0x304353=>{const _0x448bfe='string'==typeof _0x304353?Object['assign']({},_0x59d0c5[_0x304353]):_0x304353;return _0x448bfe['action']=_0x448bfe['action']['bind'](this,_0x34df77),_0x448bfe['isVisible']&&(_0x448bfe['isVisible']=_0x448bfe['isVisible']['bind'](this,_0x34df77)),_0x448bfe;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x91bde0},_0x27785e)=>{const _0x5e8fdb=_0x91bde0['get'](d),_0x38d618=_0x5e8fdb['repository'];let _0x176072=_0x5e8fdb['diff']['newRevisionId'],_0x3632e6=_0x27785e['id'];_0x38d618['getIndex'](_0x176072)>_0x38d618['getIndex'](_0x3632e6)&&([_0x176072,_0x3632e6]=[_0x3632e6,_0x176072]),_0x5e8fdb['compare'](_0x176072,_0x3632e6);},'isVisible':({plugins:_0x1792be},_0x1fde28)=>{const _0x1f7f65=_0x1792be['get'](d);return!(_0x1f7f65['repository']['getRevisionsInDiff'](_0x1f7f65['diff'])['length']>0x2)&&!_0x1fde28['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x2769f2,{id:_0x376f42})=>{_0x2769f2['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x376f42);},'isVisible':({plugins:_0x10c9b0},_0x4f49e9)=>!!_0x10c9b0['get'](d)['repository']['getLaterVisibleRevision'](_0x4f49e9['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x3072a2},{id:_0x3add2b,revisionNameView:_0xcec7d5})=>{const _0x42d3aa=_0x3072a2['get'](d),_0x332cf8=_0x42d3aa['repository']['getEarlierVisibleRevision'](_0x3add2b);_0x42d3aa['compare'](_0x3add2b,_0x332cf8),_0xcec7d5['focus'](),_0xcec7d5['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x490c6a,_0x3d971a){super(_0x490c6a),this['_view']=_0x3d971a,this['_toolbarConfig']=ct(_0x490c6a['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x3fac16){const _0x4555ba=this['editor'],_0x3af807=this['view'],_0x873d83=_0x4555ba['editing']['view'],_0x510dc9=_0x3af807['editable'],_0x5d4bad=_0x873d83['document']['getRoot']();_0x510dc9['name']=_0x5d4bad['rootName'],_0x3af807['render']();const _0xa54dfb=_0x510dc9['element'];this['setEditableElement'](_0x510dc9['name'],_0xa54dfb),_0x3af807['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x873d83['attachDomRoot'](_0xa54dfb),this['_elementReplacer']['replace'](_0x3fac16,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x44e64a=this['view'],_0xb7e70f=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0xb7e70f['detachDomRoot'](_0x44e64a['editable']['name']),_0x44e64a['destroy']();}['_initToolbar'](){const _0x577b42=this['view'];_0x577b42['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x577b42['stickyPanel']['limiterElement']=_0x577b42['element'],_0x577b42['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x458218})=>_0x458218),_0x577b42['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x577b42['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x5b2464,_0x15679b,_0x5f45b1={}){super(_0x5b2464),this['stickyPanel']=new lt(_0x5b2464),this['toolbar']=new pt(_0x5b2464,{'shouldGroupWhenFull':_0x5f45b1['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x5b2464,_0x15679b);}['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(_0x1cdfda,_0xf8324){super(_0xf8324),this['sourceElement']=_0x1cdfda,this['model']['document']['createRoot']();const _0x2f9f05=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x2f9f05);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x10dca6,_0x2dff50){const _0x49f65a=new this(_0x10dca6,_0x2dff50);return await _0x49f65a['initPlugins'](),await _0x49f65a['ui']['init'](_0x10dca6),await _0x49f65a['data']['init'](_0x49f65a['config']['get']('initialData')||''),_0x49f65a['fire']('ready'),_0x49f65a;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x162d59{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x1bbc41){super(_0x1bbc41),this['result']='end';}}class H extends _0x162d59{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x532f40){if(super(_0x532f40),!this['editor']['config']['get']('revisionHistory'))throw new _0x2f7a5b('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x2ffb0a=>this['_showRevisionViewer']({..._0x2ffb0a,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x59e21f=>this['_closeRevisionViewer'](_0x59e21f)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x5056f7=>this['_restoreRevision'](_0x5056f7)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x35c241){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x35c241;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x3fb165){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x3fb165);}['getRevision'](_0x1ac34a){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x1ac34a);}['getRevisions'](_0xda6d1d){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0xda6d1d||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x5eacc0=this['editor'],_0x27a086=_0x4f8d84(_0x5eacc0,p),_0x5aadf1=_0x5eacc0['plugins']['get']('RevisionTracker'),_0x1fe639=_0x5eacc0['plugins']['get']('Users')['users'];return _0x27a086['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x27a086['lazyRoots'],(_0x27a086['plugins']['push'](k,d,R,class extends _0x162d59{static get['requires'](){return[d,'Users'];}['init'](){const _0x529986=this['editor']['plugins']['get']('Users');for(const _0xf5641f of _0x1fe639)_0xf5641f['isAnonymous']||_0x529986['getUser'](_0xf5641f['id'])||_0x529986['addUser'](_0xf5641f);const _0x19d503=_0x5aadf1['repository']['getRevisions']();let _0x4cfdd0=null;const _0x3bd86a=this['editor']['plugins']['get']('RevisionViewer');_0x3bd86a['adapter']=_0x5aadf1['adapter'],_0x3bd86a['bind']('isEnabled')['to'](_0x5aadf1),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x5eacc0,'isReadOnly',_0x26aadf=>!_0x26aadf);for(const _0x48c6e6 of _0x19d503){const _0xc55b9f=null===_0x48c6e6['creator'];if(_0xc55b9f&&_0x48c6e6['toVersion']===_0x48c6e6['fromVersion'])continue;const _0x444cb7=_0x48c6e6['toJSON']();_0x3bd86a['addRevisionData'](_0x444cb7,(_0x3f7dcd,_0x47b5d6,_0x36b598)=>{if(_0xc55b9f){if(_0x4cfdd0)_0x4cfdd0['_update'](_0x3f7dcd,_0x47b5d6);else{if(!_0x47b5d6){const _0x3aa215=_0x36b598['toJSON']();_0x3aa215['id']=_0x47fc8d(),_0x5aadf1['saveRevision'](_0x3aa215,_0x36b598['toVersion'])['then'](_0x143959=>{_0x4cfdd0=_0x143959;});}}}else _0x48c6e6['_update'](_0x3f7dcd,_0x47b5d6);});}}},w),_0x27a086);}['_enhanceShowRevisionViewerCallback'](){const _0x389332=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x1512b7=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x128c30=this['editor']['plugins']['get']('Autosave');await _0x128c30['save']();}else await _0x1512b7['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x1f0a8b=this['editor']['plugins']['get']('Dialog');_0x1f0a8b['isOpen']&&_0x1f0a8b['hide']();}const _0x552072=this['_getRevisionViewerEditorConfig']();return _0x389332(_0x552072)['then'](_0x5accc4=>{return(this['_viewerEditor']=_0x5accc4,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x5accc4;})['catch'](_0x1850b2=>(console['error'](_0x1850b2),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x13498d=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'](),_0x13498d(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x4d2ef2=this['editor']['plugins']['get']('Annotations');_0x4d2ef2['refreshVisibility'](),_0x4d2ef2['refreshPositioning']();}})));}['_showRevisionViewer'](_0x5b897c){const _0x4c2a40=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x3a0090=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x41eaca=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x41eaca,_0x5b897c)['then'](_0x3d74d6=>(_0x3a0090['style']['display']='block',_0x4c2a40['style']['display']='none',_0x3d74d6));}['_closeRevisionViewer'](_0xba3d64){const _0x4d3a9f=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x4d3a9f['style']['display']='',_0xba3d64['destroy']();}async['_restoreRevision'](_0x3c50c3){const _0x5808f0=this['editor'],_0x221586=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x1a4614=_0x5808f0['plugins']['get']('RevisionTracker'),_0x33f1de=_0x221586['repository']['getRevision'](_0x3c50c3);let _0x523087,_0x3b8516,_0x285f66;try{_0x523087=await _0x221586['getRevisionData'](_0x33f1de),_0x3b8516=await _0x221586['getRevisionRootsAttributes'](_0x33f1de);}catch(_0x57b484){return void console['error'](_0x57b484);}_0x5808f0['model']['change'](_0x16fc44=>{for(const _0x9c9c4 of Array['from'](_0x5808f0['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x16fc44['removeMarker'](_0x9c9c4);}),_0x221586['isReady']=!0x1,_0x5808f0['model']['enqueueChange'](_0x5032f0=>{_0x5032f0['setSelection'](null),_0x5032f0['removeSelectionAttribute'](_0x5808f0['model']['document']['selection']['getAttributeKeys']());const _0x12198a=Object['keys'](_0x523087);for(const _0x38cea of _0x5808f0['model']['document']['roots'])'$graveyard'!=_0x38cea['rootName']&&_0x38cea['isAttached']()&&!_0x12198a['includes'](_0x38cea['rootName'])&&_0x5032f0['detachRoot'](_0x38cea);for(const _0x28c1c9 of _0x12198a){let _0x55ee67=_0x5808f0['model']['document']['getRoot'](_0x28c1c9);_0x55ee67&&_0x55ee67['isAttached']()||(_0x55ee67=_0x5032f0['addRoot'](_0x28c1c9));const _0xd6e277=_0x3b8516[_0x28c1c9],_0x5230e0=Object['keys'](_0xd6e277),_0x388e5e=_0x523087[_0x28c1c9];for(const _0x87ca85 of _0x55ee67['getAttributeKeys']())_0x5230e0['includes'](_0x87ca85)||_0x5032f0['removeAttribute'](_0x87ca85,_0x55ee67);for(const _0x5c22a4 of _0x5230e0)_0x5032f0['setAttribute'](_0x5c22a4,_0x3b8516[_0x28c1c9][_0x5c22a4],_0x55ee67);_0x5032f0['remove'](_0x5032f0['createRangeIn'](_0x55ee67)),_0x5032f0['insert'](_0x5808f0['data']['parse'](_0x388e5e,_0x55ee67),_0x55ee67,0x0);}});const _0x25d9c8=y(_0x5808f0['locale'],'Restored');if(_0x33f1de['name'])_0x285f66=-0x1==_0x33f1de['name']['indexOf'](_0x25d9c8)?_0x25d9c8+':\x20'+_0x33f1de['name']:_0x33f1de['name'];else _0x285f66=_0x25d9c8+':\x20'+(_0x33f1de['createdAt']['toLocaleDateString'](_0x5808f0['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x33f1de['createdAt']['toLocaleTimeString'](_0x5808f0['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x1a4614['saveRevision']({'name':_0x285f66}),_0x221586['isReady']=!0x0,_0x5808f0['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(_0x28b02d){super(_0x28b02d),this['_revisionViewer']=_0x28b02d['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x19d345=this['_revisionsRepository']['_revisions'],_0x4e8d2a=this['_createRevisionActions'](),_0x47cbe5=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x19d345,_0x4e8d2a,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',(_0x3834d7,_0x573751)=>{_0x573751['revisionViews']['on']('add',(_0x2cceeb,_0x26a53f)=>{_0x26a53f['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)),_0x47cbe5['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x5ce90e=this['_revisionsRepository']['getRevision'](0x0);if(_0x5ce90e){const _0x1279a7=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x5ce90e['id']);this['_revisionViewer']['compare'](_0x5ce90e,_0x1279a7);}}['_handleRevisionSelected'](_0x22e10b,_0x114255){const _0x482219=this['_revisionsRepository']['getRevision'](_0x114255['id']),_0x660b45=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x482219['id']);this['_revisionViewer']['compare'](_0x482219,_0x660b45);}['_handleRevisionSetName'](_0x31408f,_0x4c7a24){this['_revisionsRepository']['getRevision'](_0x4c7a24['id'])['setName'](_0x4c7a24['name']);}['_handleDiffChange'](_0x51f4c0,_0x4398c7,_0x16c5cb){const _0xad751b=this['_revisionsRepository']['getRevisionsInDiff'](_0x16c5cb);_0xad751b['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0xad751b),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0xad751b[0x0]));}['_createRevisionActions'](){const _0x4e57c2=this['editor'],_0x2bb6bc=w['availableRevisionActions'],_0x324fd3=_0x4e57c2['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x324fd3['length'])return _0x324fd3['map'](_0x38c937=>{const _0xa7219d='string'==typeof _0x38c937?Object['assign']({},_0x2bb6bc[_0x38c937]):_0x38c937;return _0xa7219d['action']=_0xa7219d['action']['bind'](this,_0x4e57c2),_0xa7219d['isVisible']&&(_0xa7219d['isVisible']=_0xa7219d['isVisible']['bind'](this,_0x4e57c2)),_0xa7219d;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x51c623},_0x58b47)=>{const _0x412978=_0x51c623['get'](d),_0x15730d=_0x412978['repository'];let _0xaf544f=_0x412978['diff']['newRevisionId'],_0x12d734=_0x58b47['id'];_0x15730d['getIndex'](_0xaf544f)>_0x15730d['getIndex'](_0x12d734)&&([_0xaf544f,_0x12d734]=[_0x12d734,_0xaf544f]),_0x412978['compare'](_0xaf544f,_0x12d734);},'isVisible':({plugins:_0x3d85f9},_0x518e24)=>{const _0xab334=_0x3d85f9['get'](d);return!(_0xab334['repository']['getRevisionsInDiff'](_0xab334['diff'])['length']>0x2)&&!_0x518e24['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x4a7ade,{id:_0x2c4160})=>{_0x4a7ade['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2c4160);},'isVisible':({plugins:_0x182700},_0x42c7f3)=>!!_0x182700['get'](d)['repository']['getLaterVisibleRevision'](_0x42c7f3['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0xad50ad},{id:_0xf9d3dd,revisionNameView:_0x744fc7})=>{const _0x57fc86=_0xad50ad['get'](d),_0x1ec9ff=_0x57fc86['repository']['getEarlierVisibleRevision'](_0xf9d3dd);_0x57fc86['compare'](_0xf9d3dd,_0x1ec9ff),_0x744fc7['focus'](),_0x744fc7['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x37408f,_0x33706f){super(_0x37408f),this['_view']=_0x33706f,this['_toolbarConfig']=ct(_0x37408f['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x4d9476){const _0x42c869=this['editor'],_0x5e925a=this['view'],_0x537caf=_0x42c869['editing']['view'],_0x1e8fb6=_0x5e925a['editable'],_0x4cacd4=_0x537caf['document']['getRoot']();_0x1e8fb6['name']=_0x4cacd4['rootName'],_0x5e925a['render']();const _0x1dcb0e=_0x1e8fb6['element'];this['setEditableElement'](_0x1e8fb6['name'],_0x1dcb0e),_0x5e925a['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x537caf['attachDomRoot'](_0x1dcb0e),this['_elementReplacer']['replace'](_0x4d9476,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x4fe5da=this['view'],_0x5baf7a=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x5baf7a['detachDomRoot'](_0x4fe5da['editable']['name']),_0x4fe5da['destroy']();}['_initToolbar'](){const _0x496756=this['view'];_0x496756['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x496756['stickyPanel']['limiterElement']=_0x496756['element'],_0x496756['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x38daec})=>_0x38daec),_0x496756['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x496756['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x2f6865,_0x393d6e,_0x601aa2={}){super(_0x2f6865),this['stickyPanel']=new lt(_0x2f6865),this['toolbar']=new pt(_0x2f6865,{'shouldGroupWhenFull':_0x601aa2['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x2f6865,_0x393d6e);}['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(_0x212678,_0xce32c3){super(_0xce32c3),this['sourceElement']=_0x212678,this['model']['document']['createRoot']();const _0x4636ad=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x4636ad);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x56456e,_0x53d2a3){const _0x451183=new this(_0x56456e,_0x53d2a3);return await _0x451183['initPlugins'](),await _0x451183['ui']['init'](_0x56456e),await _0x451183['data']['init'](_0x451183['config']['get']('initialData')||''),_0x451183['fire']('ready'),_0x451183;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x48eec3{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x1f9f2e){super(_0x1f9f2e),this['result']='end';}}class H extends _0x48eec3{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x550a7f){if(super(_0x550a7f),!this['editor']['config']['get']('revisionHistory'))throw new _0x3aab1f('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x1ddc6e=>this['_showRevisionViewer']({..._0x1ddc6e,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x21f8fb=>this['_closeRevisionViewer'](_0x21f8fb)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x1e73ed=>this['_restoreRevision'](_0x1e73ed)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x1f524f){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x1f524f;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x35b0d3){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x35b0d3);}['getRevision'](_0x3eb9af){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x3eb9af);}['getRevisions'](_0xf20f10){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0xf20f10||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x4147b9=this['editor'],_0x318910=_0x1200ac(_0x4147b9,p),_0x8a058c=_0x4147b9['plugins']['get']('RevisionTracker'),_0x5a7c68=_0x4147b9['plugins']['get']('Users')['users'];return _0x318910['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x318910['lazyRoots'],(_0x318910['plugins']['push'](k,d,R,class extends _0x48eec3{static get['requires'](){return[d,'Users'];}['init'](){const _0x26c164=this['editor']['plugins']['get']('Users');for(const _0x31ab7f of _0x5a7c68)_0x31ab7f['isAnonymous']||_0x26c164['getUser'](_0x31ab7f['id'])||_0x26c164['addUser'](_0x31ab7f);const _0x188527=_0x8a058c['repository']['getRevisions']();let _0x4e2d4e=null;const _0x256f34=this['editor']['plugins']['get']('RevisionViewer');_0x256f34['adapter']=_0x8a058c['adapter'],_0x256f34['bind']('isEnabled')['to'](_0x8a058c),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x4147b9,'isReadOnly',_0x5cac40=>!_0x5cac40);for(const _0x2ce3e6 of _0x188527){const _0x460df8=null===_0x2ce3e6['creator'];if(_0x460df8&&_0x2ce3e6['toVersion']===_0x2ce3e6['fromVersion'])continue;const _0x5d45d3=_0x2ce3e6['toJSON']();_0x256f34['addRevisionData'](_0x5d45d3,(_0x2728e7,_0x1a61c4,_0x551327)=>{if(_0x460df8){if(_0x4e2d4e)_0x4e2d4e['_update'](_0x2728e7,_0x1a61c4);else{if(!_0x1a61c4){const _0x1e3944=_0x551327['toJSON']();_0x1e3944['id']=_0x4cba8(),_0x8a058c['saveRevision'](_0x1e3944,_0x551327['toVersion'])['then'](_0x39a51a=>{_0x4e2d4e=_0x39a51a;});}}}else _0x2ce3e6['_update'](_0x2728e7,_0x1a61c4);});}}},w),_0x318910);}['_enhanceShowRevisionViewerCallback'](){const _0x124175=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x9643e4=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x479568=this['editor']['plugins']['get']('Autosave');await _0x479568['save']();}else await _0x9643e4['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x366dbb=this['editor']['plugins']['get']('Dialog');_0x366dbb['isOpen']&&_0x366dbb['hide']();}const _0x265505=this['_getRevisionViewerEditorConfig']();return _0x124175(_0x265505)['then'](_0x435296=>{return(this['_viewerEditor']=_0x435296,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x435296;})['catch'](_0x1d9aa5=>(console['error'](_0x1d9aa5),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x6211e8=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'](),_0x6211e8(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x42a327=this['editor']['plugins']['get']('Annotations');_0x42a327['refreshVisibility'](),_0x42a327['refreshPositioning']();}})));}['_showRevisionViewer'](_0x2aaeba){const _0x23100c=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x446da9=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x8d9be=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x8d9be,_0x2aaeba)['then'](_0x30cc4a=>(_0x446da9['style']['display']='block',_0x23100c['style']['display']='none',_0x30cc4a));}['_closeRevisionViewer'](_0x243efd){const _0x2fdf38=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x2fdf38['style']['display']='',_0x243efd['destroy']();}async['_restoreRevision'](_0x3e567b){const _0x5690c0=this['editor'],_0x3a99eb=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x1c44fc=_0x5690c0['plugins']['get']('RevisionTracker'),_0x23c872=_0x3a99eb['repository']['getRevision'](_0x3e567b);let _0x3d5703,_0x586508,_0x449c3c;try{_0x3d5703=await _0x3a99eb['getRevisionData'](_0x23c872),_0x586508=await _0x3a99eb['getRevisionRootsAttributes'](_0x23c872);}catch(_0x8994bd){return void console['error'](_0x8994bd);}_0x5690c0['model']['change'](_0x3fe25b=>{for(const _0x5c5c8f of Array['from'](_0x5690c0['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x3fe25b['removeMarker'](_0x5c5c8f);}),_0x3a99eb['isReady']=!0x1,_0x5690c0['model']['enqueueChange'](_0x5702f0=>{_0x5702f0['setSelection'](null),_0x5702f0['removeSelectionAttribute'](_0x5690c0['model']['document']['selection']['getAttributeKeys']());const _0x462599=Object['keys'](_0x3d5703);for(const _0x243259 of _0x5690c0['model']['document']['roots'])'$graveyard'!=_0x243259['rootName']&&_0x243259['isAttached']()&&!_0x462599['includes'](_0x243259['rootName'])&&_0x5702f0['detachRoot'](_0x243259);for(const _0x13f02e of _0x462599){let _0x40c083=_0x5690c0['model']['document']['getRoot'](_0x13f02e);_0x40c083&&_0x40c083['isAttached']()||(_0x40c083=_0x5702f0['addRoot'](_0x13f02e));const _0x43f9be=_0x586508[_0x13f02e],_0x3bec2d=Object['keys'](_0x43f9be),_0x126168=_0x3d5703[_0x13f02e];for(const _0x5aa545 of _0x40c083['getAttributeKeys']())_0x3bec2d['includes'](_0x5aa545)||_0x5702f0['removeAttribute'](_0x5aa545,_0x40c083);for(const _0x760f13 of _0x3bec2d)_0x5702f0['setAttribute'](_0x760f13,_0x586508[_0x13f02e][_0x760f13],_0x40c083);_0x5702f0['remove'](_0x5702f0['createRangeIn'](_0x40c083)),_0x5702f0['insert'](_0x5690c0['data']['parse'](_0x126168,_0x40c083),_0x40c083,0x0);}});const _0x20a196=y(_0x5690c0['locale'],'Restored');if(_0x23c872['name'])_0x449c3c=-0x1==_0x23c872['name']['indexOf'](_0x20a196)?_0x20a196+':\x20'+_0x23c872['name']:_0x23c872['name'];else _0x449c3c=_0x20a196+':\x20'+(_0x23c872['createdAt']['toLocaleDateString'](_0x5690c0['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x23c872['createdAt']['toLocaleTimeString'](_0x5690c0['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x1c44fc['saveRevision']({'name':_0x449c3c}),_0x3a99eb['isReady']=!0x0,_0x5690c0['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};