@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240707.0 → 0.0.0-nightly-20240709.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/az.js +1 -1
  8. package/dist/translations/az.umd.js +1 -1
  9. package/dist/translations/bg.js +1 -1
  10. package/dist/translations/bg.umd.js +1 -1
  11. package/dist/translations/bn.js +1 -1
  12. package/dist/translations/bn.umd.js +1 -1
  13. package/dist/translations/bs.js +1 -1
  14. package/dist/translations/bs.umd.js +1 -1
  15. package/dist/translations/ca.js +1 -1
  16. package/dist/translations/ca.umd.js +1 -1
  17. package/dist/translations/cs.js +1 -1
  18. package/dist/translations/cs.umd.js +1 -1
  19. package/dist/translations/da.js +1 -1
  20. package/dist/translations/da.umd.js +1 -1
  21. package/dist/translations/de-ch.js +1 -1
  22. package/dist/translations/de-ch.umd.js +1 -1
  23. package/dist/translations/de.js +1 -1
  24. package/dist/translations/de.umd.js +1 -1
  25. package/dist/translations/el.js +1 -1
  26. package/dist/translations/el.umd.js +1 -1
  27. package/dist/translations/en-au.js +1 -1
  28. package/dist/translations/en-au.umd.js +1 -1
  29. package/dist/translations/en-gb.js +1 -1
  30. package/dist/translations/en-gb.umd.js +1 -1
  31. package/dist/translations/en.umd.js +1 -1
  32. package/dist/translations/es-co.js +1 -1
  33. package/dist/translations/es-co.umd.js +1 -1
  34. package/dist/translations/es.js +1 -1
  35. package/dist/translations/es.umd.js +1 -1
  36. package/dist/translations/et.js +1 -1
  37. package/dist/translations/et.umd.js +1 -1
  38. package/dist/translations/fa.js +1 -1
  39. package/dist/translations/fa.umd.js +1 -1
  40. package/dist/translations/fi.js +1 -1
  41. package/dist/translations/fi.umd.js +1 -1
  42. package/dist/translations/fr.js +1 -1
  43. package/dist/translations/fr.umd.js +1 -1
  44. package/dist/translations/gl.js +1 -1
  45. package/dist/translations/gl.umd.js +1 -1
  46. package/dist/translations/he.js +1 -1
  47. package/dist/translations/he.umd.js +1 -1
  48. package/dist/translations/hi.js +1 -1
  49. package/dist/translations/hi.umd.js +1 -1
  50. package/dist/translations/hr.js +1 -1
  51. package/dist/translations/hr.umd.js +1 -1
  52. package/dist/translations/hu.js +1 -1
  53. package/dist/translations/hu.umd.js +1 -1
  54. package/dist/translations/id.js +1 -1
  55. package/dist/translations/id.umd.js +1 -1
  56. package/dist/translations/it.js +1 -1
  57. package/dist/translations/it.umd.js +1 -1
  58. package/dist/translations/ja.js +1 -1
  59. package/dist/translations/ja.umd.js +1 -1
  60. package/dist/translations/jv.js +1 -1
  61. package/dist/translations/jv.umd.js +1 -1
  62. package/dist/translations/ko.js +1 -1
  63. package/dist/translations/ko.umd.js +1 -1
  64. package/dist/translations/ku.js +1 -1
  65. package/dist/translations/ku.umd.js +1 -1
  66. package/dist/translations/lt.js +1 -1
  67. package/dist/translations/lt.umd.js +1 -1
  68. package/dist/translations/lv.js +1 -1
  69. package/dist/translations/lv.umd.js +1 -1
  70. package/dist/translations/ms.js +1 -1
  71. package/dist/translations/ms.umd.js +1 -1
  72. package/dist/translations/ne.js +1 -1
  73. package/dist/translations/ne.umd.js +1 -1
  74. package/dist/translations/nl.js +1 -1
  75. package/dist/translations/nl.umd.js +1 -1
  76. package/dist/translations/no.js +1 -1
  77. package/dist/translations/no.umd.js +1 -1
  78. package/dist/translations/pl.js +1 -1
  79. package/dist/translations/pl.umd.js +1 -1
  80. package/dist/translations/pt-br.js +1 -1
  81. package/dist/translations/pt-br.umd.js +1 -1
  82. package/dist/translations/pt.js +1 -1
  83. package/dist/translations/pt.umd.js +1 -1
  84. package/dist/translations/ro.js +1 -1
  85. package/dist/translations/ro.umd.js +1 -1
  86. package/dist/translations/ru.js +1 -1
  87. package/dist/translations/ru.umd.js +1 -1
  88. package/dist/translations/sk.js +1 -1
  89. package/dist/translations/sk.umd.js +1 -1
  90. package/dist/translations/sr-latn.js +1 -1
  91. package/dist/translations/sr-latn.umd.js +1 -1
  92. package/dist/translations/sr.js +1 -1
  93. package/dist/translations/sr.umd.js +1 -1
  94. package/dist/translations/sv.js +1 -1
  95. package/dist/translations/sv.umd.js +1 -1
  96. package/dist/translations/th.js +1 -1
  97. package/dist/translations/th.umd.js +1 -1
  98. package/dist/translations/ti.js +1 -1
  99. package/dist/translations/ti.umd.js +1 -1
  100. package/dist/translations/tk.js +1 -1
  101. package/dist/translations/tk.umd.js +1 -1
  102. package/dist/translations/tr.js +1 -1
  103. package/dist/translations/tr.umd.js +1 -1
  104. package/dist/translations/tt.js +1 -1
  105. package/dist/translations/tt.umd.js +1 -1
  106. package/dist/translations/ug.js +1 -1
  107. package/dist/translations/ug.umd.js +1 -1
  108. package/dist/translations/uk.js +1 -1
  109. package/dist/translations/uk.umd.js +1 -1
  110. package/dist/translations/ur.js +1 -1
  111. package/dist/translations/ur.umd.js +1 -1
  112. package/dist/translations/vi.js +1 -1
  113. package/dist/translations/vi.umd.js +1 -1
  114. package/dist/translations/zh-cn.js +1 -1
  115. package/dist/translations/zh-cn.umd.js +1 -1
  116. package/dist/translations/zh.js +1 -1
  117. package/dist/translations/zh.umd.js +1 -1
  118. package/package.json +5 -5
  119. package/src/changeitem.js +2 -2
  120. package/src/editor/revisionviewereditor.js +2 -2
  121. package/src/editor/revisionviewereditorui.js +1 -1
  122. package/src/editor/revisionviewereditoruiview.js +1 -1
  123. package/src/index.js +1 -1
  124. package/src/revision.js +2 -2
  125. package/src/revisiondiff.js +1 -1
  126. package/src/revisionhistory.js +1 -1
  127. package/src/revisionsrepository.js +1 -1
  128. package/src/revisiontracker.js +1 -1
  129. package/src/revisionviewer.js +1 -1
  130. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  131. package/src/ui/revision/revisionauthorview.js +1 -1
  132. package/src/ui/revision/revisionnameview.js +1 -1
  133. package/src/ui/revision/revisionview.js +2 -2
  134. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  135. package/src/ui/revision/subrevisionview.js +1 -1
  136. package/src/ui/revision/utils.js +1 -1
  137. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  138. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  139. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  140. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  141. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  142. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  143. package/src/ui/revisionssidebar/utils.js +1 -1
  144. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  145. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  146. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  147. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  148. package/src/utils/common-translations.js +1 -1
package/dist/index.js CHANGED
@@ -20,10 +20,10 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5a4e73,Context as _0x36aba5,PendingActions as _0x47e012,icons as _0x2517eb,Command as _0x203086,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x49c563,uid as _0x181127,Collection as _0x9a0466,logWarning as _0x161b35,FocusTracker as _0xbc6344,KeystrokeHandler as _0x1d5133,scrollViewportToShowTarget as _0x32049e,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x2bb715}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x51f416,getMarkerDomElement as _0x15c700,ConfirmMixin as _0x4d04bb,sanitizeEditorConfig as _0x2d2fee}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x186b9b,ViewText as _0x55bc93,ViewElement as _0x2e9eb9,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x180e8f,ViewAttributeElement as _0x24b024,ViewEmptyElement as _0x418b40,ViewRawElement as _0x41f5cc,ViewUIElement as _0x45744f,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x31666e,set as _0x16a826,unset as _0xa5680c,isEqual as _0x3141a6}from'lodash-es';import{View as _0x1cec7e,injectCssTransitionDisabler as ts,submitHandler as _0x195189,LabeledFieldView as at,createLabeledInputText as _0x4e1ed6,createDropdown as _0x5e442a,ListView as te,ListItemView as _0x500ded,ButtonView as _0x5296c0,MenuBarMenuView as _0x1b5ca3,MenuBarMenuListView as _0x44ef10,MenuBarMenuListItemView as _0x1f12e9,MenuBarMenuListItemButtonView as _0x3e2ad6,ContextualBalloon as _0x32fc92,ToolbarSeparatorView as _0x5416f0,IconView as _0x1a5a55,addListToDropdown as _0x5194f1,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 _0xc62d37}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x49c563(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x3bd4b6){super(),this['id']=_0x3bd4b6['id']||_0x181127(),this['creator']=_0x3bd4b6['creator']||null,this['authors']=_0x3bd4b6['authors']||[],this['diffData']=_0x3bd4b6['diffData']||null,this['toVersion']=_0x3bd4b6['toVersion']||0x0,this['fromVersion']=_0x3bd4b6['fromVersion']||0x0,this['set']('name',_0x3bd4b6['name']||''),this['set']('createdAt',_0x3bd4b6['createdAt']||new Date()),this['set']('attributes',_0x3bd4b6['attributes']||{});}['setName'](_0x3bdd26){this['_update']({'name':_0x3bdd26});}['setAttribute'](_0x335a9b,_0x2b768d){const _0xa83c6c=_0x31666e(this['attributes']);_0x16a826(_0xa83c6c,_0x335a9b,_0x2b768d),this['_update']({'attributes':_0xa83c6c});}['removeAttribute'](_0x39264a){const _0x4f1a80=_0x31666e(this['attributes']);_0xa5680c(_0x4f1a80,_0x39264a),this['_update']({'attributes':_0x4f1a80});}['_update'](_0x251a15,_0x4175c2=!0x1){let _0x1ffba0=!0x1;const _0x537aa={'id':this['id']},_0x323865=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x4f0db9 of _0x323865){const _0x56a1cb=_0x251a15[_0x4f0db9];void 0x0!==_0x56a1cb&&_0x56a1cb!==this[_0x4f0db9]&&(this[_0x4f0db9]=_0x56a1cb,_0x537aa[_0x4f0db9]=_0x56a1cb,_0x1ffba0=!0x0);}_0x1ffba0&&(_0x537aa['authors']&&(_0x537aa['authorsIds']=_0x537aa['authors']['map'](_0x54e558=>_0x54e558['id']),delete _0x537aa['authors']),this['fire']('_update',_0x537aa,_0x4175c2));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0xee942e=>_0xee942e['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x5a4e73{['_revisions'];static get['requires'](){return[_0x51f416];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x4cba0e){super(_0x4cba0e),this['_revisions']=new _0x9a0466();}['afterInit'](){!function(_0x3db744){function _0x5476f4(_0x3407,_0x19e1bc,_0x34e15e){const _0x209b07={};_0x209b07[_0x23094d([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x209b07[_0x23094d([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],_0x209b07[_0x23094d([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],_0x209b07[_0x23094d([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],_0x209b07[_0x23094d([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],_0x209b07[_0x23094d([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],_0x209b07[_0x23094d([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],_0x209b07[_0x23094d([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],_0x209b07[_0x23094d([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],_0x209b07[_0x23094d([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],_0x209b07[_0x23094d([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 _0x473dbe=new Uint8Array(0x10);for(let _0x448b4a=0xf;_0x448b4a>=0x0;--_0x448b4a)_0x473dbe[_0x448b4a]=_0x34e15e%0x100,_0x34e15e=parseInt(_0x34e15e/0x100);let _0x435073=null,_0x109a26=0x10;const _0x5214b4=new Uint8Array(_0x19e1bc),_0xa9e443=[],_0x580b3d=[];_0x2fd522();for(let _0x51c250=0x0;_0x51c250<_0x3407[_0x23094d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51c250++)0x10===_0x109a26&&(_0x435073=_0xf6a91f(_0x473dbe),_0x109a26=0x0,_0x577030(_0x473dbe)),_0x3407[_0x51c250]^=_0x435073[_0x109a26++];return _0x3407;function _0x34d0aa(_0x4c60eb){const _0x2f5789=[];for(let _0x17604b=0x0;_0x17604b<_0x4c60eb[_0x23094d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17604b+=0x4)_0x2f5789[_0x23094d([0x70,0x75,0x73,0x68])](_0x4c60eb[_0x17604b]<<0x18|_0x4c60eb[_0x17604b+0x1]<<0x10|_0x4c60eb[_0x17604b+0x2]<<0x8|_0x4c60eb[_0x17604b+0x3]);return _0x2f5789;}function _0x577030(_0x142141){for(let _0x15211c=0xf;_0x15211c>=0x0;_0x15211c--){if(0xff!==_0x142141[_0x15211c]){_0x142141[_0x15211c]++;break;}_0x142141[_0x15211c]=0x0;}}function _0xf6a91f(_0x2f3420){const _0x111381=_0xa9e443[_0x23094d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x4bbc01=[0x0,0x0,0x0,0x0];let t=_0x34d0aa(_0x2f3420);for(let _0x3bd317=0x0;_0x3bd317<0x4;_0x3bd317++)t[_0x3bd317]^=_0xa9e443[0x0][_0x3bd317];for(let _0x18f89e=0x1;_0x18f89e<_0x111381;_0x18f89e++){for(let _0x51b93d=0x0;_0x51b93d<0x4;_0x51b93d++)_0x4bbc01[_0x51b93d]=_0x209b07[_0x23094d([0x54,0x31])][t[_0x51b93d]>>0x18&0xff]^_0x209b07[_0x23094d([0x54,0x32])][t[(_0x51b93d+0x1)%0x4]>>0x10&0xff]^_0x209b07[_0x23094d([0x54,0x33])][t[(_0x51b93d+0x2)%0x4]>>0x8&0xff]^_0x209b07[_0x23094d([0x54,0x34])][0xff&t[(_0x51b93d+0x3)%0x4]]^_0xa9e443[_0x18f89e][_0x51b93d];t=_0x4bbc01[_0x23094d([0x73,0x6c,0x69,0x63,0x65])]();}const _0x570885=new Uint8Array(0x10);let _0x4eff10;for(let _0x587899=0x0;_0x587899<0x4;_0x587899++)_0x4eff10=_0xa9e443[_0x111381][_0x587899],_0x570885[0x4*_0x587899]=0xff&(_0x209b07[_0x23094d([0x53])][t[_0x587899]>>0x18&0xff]^_0x4eff10>>0x18),_0x570885[0x4*_0x587899+0x1]=0xff&(_0x209b07[_0x23094d([0x53])][t[(_0x587899+0x1)%0x4]>>0x10&0xff]^_0x4eff10>>0x10),_0x570885[0x4*_0x587899+0x2]=0xff&(_0x209b07[_0x23094d([0x53])][t[(_0x587899+0x2)%0x4]>>0x8&0xff]^_0x4eff10>>0x8),_0x570885[0x4*_0x587899+0x3]=0xff&(_0x209b07[_0x23094d([0x53])][0xff&t[(_0x587899+0x3)%0x4]]^_0x4eff10);return _0x570885;}function _0x2fd522(){const _0x5e9ed4=_0x209b07[_0x23094d([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x5214b4[_0x23094d([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x42b1c0=0x0;_0x42b1c0<=_0x5e9ed4;_0x42b1c0++)_0xa9e443[_0x23094d([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x580b3d[_0x23094d([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0xaf43f9=0x4*(_0x5e9ed4+0x1),_0x2fe3c5=_0x5214b4[_0x23094d([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x321774=_0x34d0aa(_0x5214b4);let _0x104e05;for(let _0x464a61=0x0;_0x464a61<_0x2fe3c5;_0x464a61++)_0x104e05=_0x464a61>>0x2,_0xa9e443[_0x104e05][_0x464a61%0x4]=_0x321774[_0x464a61],_0x580b3d[_0x5e9ed4-_0x104e05][_0x464a61%0x4]=_0x321774[_0x464a61];let _0x2a9366,_0x5eb6f8=0x0,t=_0x2fe3c5;for(;t<_0xaf43f9;){_0x2a9366=_0x321774[_0x2fe3c5-0x1],_0x321774[0x0]^=_0x209b07[_0x23094d([0x53])][_0x2a9366>>0x10&0xff]<<0x18^_0x209b07[_0x23094d([0x53])][_0x2a9366>>0x8&0xff]<<0x10^_0x209b07[_0x23094d([0x53])][0xff&_0x2a9366]<<0x8^_0x209b07[_0x23094d([0x53])][_0x2a9366>>0x18&0xff]^_0x209b07[_0x23094d([0x72,0x63,0x6f,0x6e])][_0x5eb6f8]<<0x18,_0x5eb6f8+=0x1;for(let _0x2cf776=0x1;_0x2cf776<_0x2fe3c5/0x2;_0x2cf776++)_0x321774[_0x2cf776]^=_0x321774[_0x2cf776-0x1];_0x2a9366=_0x321774[_0x2fe3c5/0x2-0x1],_0x321774[_0x2fe3c5/0x2]^=_0x209b07[_0x23094d([0x53])][0xff&_0x2a9366]^_0x209b07[_0x23094d([0x53])][_0x2a9366>>0x8&0xff]<<0x8^_0x209b07[_0x23094d([0x53])][_0x2a9366>>0x10&0xff]<<0x10^_0x209b07[_0x23094d([0x53])][_0x2a9366>>0x18&0xff]<<0x18;for(let _0x385681=_0x2fe3c5/0x2+0x1;_0x385681<_0x2fe3c5;_0x385681++)_0x321774[_0x385681]^=_0x321774[_0x385681-0x1];let _0xd5ec31,_0x5b91ab,_0x4b2e1d=0x0;for(;_0x4b2e1d<_0x2fe3c5&&t<_0xaf43f9;)_0xd5ec31=t>>0x2,_0x5b91ab=t%0x4,_0xa9e443[_0xd5ec31][_0x5b91ab]=_0x321774[_0x4b2e1d],_0x580b3d[_0x5e9ed4-_0xd5ec31][_0x5b91ab]=_0x321774[_0x4b2e1d++],t++;}for(let _0x50e191=0x1;_0x50e191<_0x5e9ed4;_0x50e191++)for(let _0xd2a1df=0x0;_0xd2a1df<0x4;_0xd2a1df++)_0x2a9366=_0x580b3d[_0x50e191][_0xd2a1df],_0x580b3d[_0x50e191][_0xd2a1df]=_0x209b07[_0x23094d([0x55,0x31])][_0x2a9366>>0x18&0xff]^_0x209b07[_0x23094d([0x55,0x32])][_0x2a9366>>0x10&0xff]^_0x209b07[_0x23094d([0x55,0x33])][_0x2a9366>>0x8&0xff]^_0x209b07[_0x23094d([0x55,0x34])][0xff&_0x2a9366];}}function _0x23094d(_0x2c3475){return _0x2c3475['map'](_0x2d6e22=>String['fromCharCode'](_0x2d6e22))['join']('');}(_0x11c7c6=>{function _0x1d8622(){const _0x5be68b=[{[_0x23094d([0x69,0x64])]:0x1,[_0x23094d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x23094d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x23094d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x23094d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x23094d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x23094d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x23094d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x23094d([0x69,0x64])]:0x2,[_0x23094d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x23094d([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x23094d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x23094d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x23094d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x23094d([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]),[_0x23094d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x23094d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x23094d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x23094d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x23094d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x23094d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x23094d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x23094d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x23094d([0x69,0x64])]:0x3,[_0x23094d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x23094d([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x23094d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x23094d([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x23094d([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x23094d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x23094d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x23094d([0x69,0x64])]:0x4,[_0x23094d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x23094d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x23094d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x23094d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x23094d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x23094d([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]),[_0x23094d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x23094d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x23094d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x23094d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x23094d([0x69,0x64])]:0x5,[_0x23094d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x23094d([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x23094d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x23094d([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x23094d([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]),[_0x23094d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x23094d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x23094d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x23094d([0x66,0x67,0x69])]:[0xc]}},{[_0x23094d([0x69,0x64])]:0x6,[_0x23094d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x23094d([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x23094d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x23094d([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x23094d([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x23094d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x23094d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x23094d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x23094d([0x66,0x67,0x69])]:[0xc]}},{[_0x23094d([0x69,0x64])]:0x7,[_0x23094d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x23094d([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x23094d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x23094d([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x23094d([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x23094d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x23094d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x23094d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x23094d([0x66,0x67,0x69])]:[0xc]}},{[_0x23094d([0x69,0x64])]:0x8,[_0x23094d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x23094d([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x23094d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x23094d([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x23094d([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]),[_0x23094d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x23094d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x23094d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x23094d([0x66,0x67,0x69])]:[0xc]}},{[_0x23094d([0x69,0x64])]:0x9,[_0x23094d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x23094d([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x23094d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x23094d([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x23094d([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x23094d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x23094d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x23094d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x23094d([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x23094d([0x69,0x64])]:0xa,[_0x23094d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x23094d([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]),[_0x23094d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x23094d([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]),[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x23094d([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]),[_0x23094d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x23094d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x23094d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x23094d([0x66,0x67,0x69])]:[0xc]}},{[_0x23094d([0x69,0x64])]:0xb,[_0x23094d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x23094d([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x23094d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x23094d([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x23094d([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x23094d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x23094d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x23094d([0x69,0x64])]:0xc,[_0x23094d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x23094d([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x23094d([0x69,0x64])]:0xd,[_0x23094d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x23094d([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x23094d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x23094d([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x23094d([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x23094d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x23094d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x23094d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x23094d([0x66,0x67,0x69])]:[0xc]}},{[_0x23094d([0x69,0x64])]:0xe,[_0x23094d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x23094d([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x23094d([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x23094d([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])},{[_0x23094d([0x69,0x64])]:0xf,[_0x23094d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x23094d([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x23094d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x23094d([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x23094d([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x23094d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x23094d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x23094d([0x69,0x64])]:0x10,[_0x23094d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x23094d([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x23094d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x23094d([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x23094d([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x23094d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x23094d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x23094d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x23094d([0x66,0x67,0x69])]:[0xc]}}];return _0xc953ec(_0x5be68b),_0x5be68b;function _0x3a7a71(_0x56bdb5){return 0x1<<_0x56bdb5-0x1;}function _0xc953ec(_0x3205b3){_0x3205b3[_0x23094d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x268fba=>{_0x268fba[_0x23094d([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x3a7a71(_0x268fba[_0x23094d([0x69,0x64])]),_0x5f538a(_0x268fba)&&_0x268fba[_0x23094d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0xc953ec(_0x268fba[_0x23094d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x5f538a(_0x472bb8){return _0x23094d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x472bb8;}const _0x5e1ffd=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x3790c4=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x4dc92e(_0x426fa4){const _0x319054=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0xac3e6a(_0x426fa4,new Uint8Array([..._0x5e1ffd,..._0x319054,..._0x3790c4]));}function _0xac3e6a(_0x4a6c41,_0x591f8e){const _0x12d76a=_0x492f9e(_0x4a6c41),_0x3fb330=Array[_0x23094d([0x66,0x72,0x6f,0x6d])](_0x153fc0(_0x12d76a)),_0x141455=_0x3fb330[_0x23094d([0x70,0x6f,0x70])](),_0x102fcf=_0x3fb330[_0x23094d([0x70,0x6f,0x70])]();return _0x52959a(_0x5476f4(_0x3fb330,_0x591f8e,_0x102fcf+0x100*_0x141455));}function _0x492f9e(_0x3ee11a){const _0x4c2c24=atob(_0x3ee11a),[_0x57ea0a,_0x568a3c]=_0x4c2c24[_0x23094d([0x73,0x70,0x6c,0x69,0x74])](_0x23094d([0x2d]));try{if(atob(_0x568a3c))return atob(_0x57ea0a);}catch(_0x18c633){}return _0x4c2c24;}function _0x562227(_0x360f3){try{const _0x5361bc=_0x4dc92e(_0x360f3),_0x592ea6=JSON[_0x23094d([0x70,0x61,0x72,0x73,0x65])](_0x5361bc),_0x365521=parseInt(_0x592ea6[_0x23094d([0x31])]),_0x31c6f9=_0x592ea6[_0x23094d([0x32])]||'',_0x4613c8=parseInt(_0x592ea6[_0x23094d([0x33])]),_0x4ca407=parseInt(_0x592ea6[_0x23094d([0x34])])||0x0,_0x1eb61f=parseInt(_0x592ea6[_0x23094d([0x35])])||0x0;return{[_0x23094d([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x31c6f9,[_0x23094d([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x4ca407,[_0x23094d([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x365521,[_0x23094d([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x4613c8,[_0x23094d([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x1eb61f};}catch(_0x469279){return null;}}const _0x20c9b=_0x1d8622(),_0x437ba5={[_0x23094d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x3b7cac,[_0x23094d([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])]:_0x12eda7,[_0x23094d([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])]:_0x29fdd3},_0x5345ac=_0x11c7c6[_0x23094d([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x23094d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x2ec848=_0x23094d([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x11c7c6?_0x11c7c6['context']:_0x11c7c6['editor'],_0x28d55e=_0x23094d([0x34,0x30,0x34,0x38,0x31,0x34,0x31,0x34]),_0x4e8362=_0x23094d([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]),_0x206423=_0x2ec848['config']['get'](_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x29d47a=_0x20c9b[_0x23094d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5f538a)[_0x23094d([0x66,0x69,0x6e,0x64])](_0x1f1005=>_0x1f1005[_0x23094d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x5345ac);function _0x28c9ba(_0x40f754,_0x4c153a){_0x437ba5[_0x4c153a[_0x23094d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x40f754,_0x4c153a),_0x4c153a[_0x23094d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4c153a[_0x23094d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x23094d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1cf625=>_0xb62ded(_0x2ec848,_0x1cf625[_0x23094d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x23094d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4766c1=>_0x28c9ba(_0x40f754,_0x4766c1));}function _0x3b7cac(_0x3a6f49,_0x23108e){_0x5cbfe7(_0x170523(_0x3a6f49,_0x23108e),_0x23108e);}function _0x12eda7(_0x28e1d2,_0x3aaa23){function _0x263b42(_0x4a989d,_0x184832){try{if(_0xb62ded(_0x2ec848,_0x23094d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x4a989d){const _0x5057aa=_0x217ce1(_0x2ec848,_0x23094d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x23094d([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x5057aa)/0x2>_0x4a989d[_0x23094d([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x387e67(_0x184832[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x23094d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x170523(_0x4a989d,_0x184832);}catch(_0x4ddabb){return _0x387e67(_0x184832[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x23094d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x5cbfe7(_0x263b42(_0x28e1d2,_0x3aaa23),_0x3aaa23);}function _0x29fdd3(_0xb39e8e,_0x2cd642){const _0xf7d75a=_0x3790c4[0x0]*_0x5e1ffd[0x1],_0x392b10=_0x3790c4[0x0]*_0x5e1ffd[0x2],_0x53518a=_0x3790c4[0x2]*_0x5e1ffd[0x2];_0xb62ded(_0x2ec848,_0x23094d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x217ce1(_0x2ec848,_0x23094d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x23094d([0x73,0x74,0x61,0x74,0x65])]==_0x23094d([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x1f0abe()]=_0x53518a);function _0xcff129(_0x1dbcde,_0x1263c4){try{return _0x5416e0()?_0x387e67(_0x1263c4[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x23094d([0x56,0x61,0x6c,0x69,0x64])):_0x170523(_0x1dbcde,_0x1263c4);}catch(_0x1a0773){return _0x387e67(_0x1263c4[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x23094d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1f93b9(_0x23d432,_0x3ecae1){const _0x120a91=0x7;if(_0x23d432==_0x3ecae1[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x23094d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x4cc61e();else{if(_0x23d432==_0x3ecae1[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x23094d([0x54,0x72,0x69,0x61,0x6c])){const _0x86ccb7=_0x26505e();_0x86ccb7&&_0x5d3457(_0x86ccb7,_0x3ecae1[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x4a5502=_0x5af3bf();window[_0x23094d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x5d3457(_0x23094d([0x74,0x69,0x6d,0x65]),_0x3ecae1[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x4a5502);const _0x15eb01=_0x217ce1(_0x2ec848,_0x23094d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x23094d([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x15eb01[_0x23094d([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x120a91?_0x5d3457(_0x23094d([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3ecae1[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x15eb01['on'](_0x23094d([0x61,0x64,0x64]),()=>{_0x15eb01[_0x23094d([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x120a91&&_0x5d3457(_0x23094d([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3ecae1[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x26505e(){if(!_0xb62ded(_0x2ec848,_0x23094d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0xbbb86c in window)if(Number['isNaN'](Number(_0xbbb86c))){if(window[_0xbbb86c]===_0xf7d75a)return _0x23094d([0x74,0x69,0x6d,0x65]);if(window[_0xbbb86c]===_0x392b10)return _0x23094d([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x5416e0(){if(!_0xb62ded(_0x2ec848,_0x23094d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4fd542 in window)if(Number['isNaN'](Number(_0x4fd542))&&window[_0x4fd542]===_0x53518a)return!0x0;return!0x1;}function _0x5d3457(_0x2cf66a,_0x312b18){_0x4cc61e(),_0x387e67(_0x312b18+_0x23094d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x2cf66a),window[_0x1f0abe()]=_0x2cf66a===_0x23094d([0x74,0x69,0x6d,0x65])?_0xf7d75a:_0x392b10;}function _0x5af3bf(){let _0x145916=_0x3790c4[0x6]*_0x5e1ffd[0x8]*_0x5e1ffd[0x6];return _0xb62ded(_0x2ec848,_0x23094d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x145916/=0xa),_0x145916;}function _0x4cc61e(){const _0x4e9e3c=_0x2ec848;function _0x1c2f86(){_0xb62ded(_0x4e9e3c,_0x23094d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x217ce1(_0x4e9e3c,_0x23094d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x23094d([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x23094d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x217ce1(_0x4e9e3c,_0x23094d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x23094d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x217ce1(_0x4e9e3c,_0x23094d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x23094d([0x75,0x70,0x64,0x61,0x74,0x65])]=_0xa434cd,_0x217ce1(_0x4e9e3c,_0x23094d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x23094d([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0xa434cd,_0x4e9e3c[_0x23094d([0x6d,0x6f,0x64,0x65,0x6c])][_0x23094d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa434cd,_0x4e9e3c[_0x23094d([0x6d,0x6f,0x64,0x65,0x6c])][_0x23094d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa434cd,_0x4e9e3c[_0x23094d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x23094d([0x6d,0x6f,0x64,0x65,0x6c]))),_0xb62ded(_0x4e9e3c,_0x23094d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x217ce1(_0x4e9e3c,_0x23094d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x23094d([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x23094d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x217ce1(_0x4e9e3c,_0x23094d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x23094d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x217ce1(_0x4e9e3c,_0x23094d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x23094d([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0xa434cd,_0x217ce1(_0x4e9e3c,_0x23094d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x23094d([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0xa434cd);}_0x4e9e3c[_0x23094d([0x73,0x74,0x61,0x74,0x65])]==_0x23094d([0x72,0x65,0x61,0x64,0x79])?_0x1c2f86():_0x4e9e3c[_0x23094d([0x6f,0x6e,0x63,0x65])](_0x23094d([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0xb62ded(_0x4e9e3c,_0x23094d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x1c2f86(),_0xb62ded(_0x4e9e3c,_0x23094d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x524720=_0x217ce1(_0x4e9e3c,_0x23094d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4228ff=_0x524720['getRevision'](0x0),_0x51d40e=_0x524720['getEarlierVisibleRevision'](_0x4228ff[_0x23094d([0x69,0x64])]);_0x217ce1(_0x4e9e3c,_0x23094d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x23094d([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4228ff[_0x23094d([0x69,0x64])],_0x51d40e?_0x51d40e[_0x23094d([0x69,0x64])]:null,0x1)['then'](()=>_0x1c2f86());}});}_0x1f93b9(_0xcff129(_0xb39e8e,_0x2cd642),_0x2cd642);}function _0x170523(_0x8ceb83,_0x22c861){try{return _0x50d2b4(_0x22c861)?_0x387e67(_0x22c861[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x23094d([0x56,0x61,0x6c,0x69,0x64])):_0x8ceb83&&_0x85115(_0x8ceb83[_0x23094d([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x22c861)?_0x8ceb83[_0x23094d([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x23094d([0x6f,0x70,0x65,0x6e])][_0x23094d([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x28d55e)/0x2>_0x8ceb83[_0x23094d([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x387e67(_0x22c861[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x23094d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x8ceb83[_0x23094d([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x387e67(_0x22c861[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x23094d([0x54,0x72,0x69,0x61,0x6c])):_0x387e67(_0x22c861[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x23094d([0x56,0x61,0x6c,0x69,0x64])):_0x387e67(_0x22c861[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x23094d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x543bcb){return _0x387e67(_0x22c861[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x23094d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5cbfe7(_0x295cd4,_0x50066c){if(_0x2ec848 instanceof _0x36aba5){const _0x3602d5=_0x2ec848;_0x295cd4==_0x50066c[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x23094d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x244d43(_0x3602d5):_0x295cd4==_0x50066c[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x23094d([0x54,0x72,0x69,0x61,0x6c])&&window[_0x23094d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x244d43(_0x3602d5),_0x387e67(_0x50066c[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x23094d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x3790c4[0x6]*_0x5e1ffd[0x8]*_0x5e1ffd[0x6]),_0x3602d5[_0x23094d([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x23094d([0x6f,0x6e])](_0x23094d([0x61,0x64,0x64]),(_0x487ee2,_0x1dcf06)=>{_0x295cd4!=_0x50066c[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x23094d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x295cd4!=_0x50066c[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x23094d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x295cd4!=_0x50066c[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x23094d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x2e1b8d(_0x1dcf06);});}else{const _0x53ec44=_0x2ec848;_0x295cd4==_0x50066c[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x23094d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2e1b8d(_0x53ec44):_0x295cd4==_0x50066c[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x23094d([0x54,0x72,0x69,0x61,0x6c])&&_0x53ec44[_0x23094d([0x6f,0x6e])](_0x23094d([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x4f780a=0x0;_0x53ec44[_0x23094d([0x6d,0x6f,0x64,0x65,0x6c])][_0x23094d([0x6f,0x6e])](_0x23094d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x49a3fa,_0x18a771)=>{_0x18a771[0x0][_0x23094d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4f780a++,0x1f8===_0x4f780a&&(_0x2e1b8d(_0x53ec44),_0x387e67(_0x50066c[_0x23094d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x23094d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x49a3fa[_0x23094d([0x6f,0x66,0x66])]());},{'priority':_0x23094d([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x387e67(_0x2ddfa5){const _0x49d42d=_0x1f0abe();return _0x2ec848[_0x49d42d]=_0x2ddfa5,_0x2ddfa5;}function _0x1f0abe(){const _0x240c8a=String(window[_0x23094d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x23094d([0x6e,0x6f,0x77])]())[_0x23094d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x23094d([0x2e]),'');let _0x159209='';for(let _0x4a4083=0x0;_0x4a4083<_0x240c8a[_0x23094d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a4083+=0x2){let _0x34a11e=parseInt(_0x240c8a[_0x23094d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a4083,_0x4a4083+0x2));_0x34a11e>=_0x4e8362[_0x23094d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x34a11e-=_0x4e8362[_0x23094d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x159209+=_0x4e8362[_0x34a11e];}return _0x159209;}function _0x244d43(_0x393dce){for(const _0x4d2790 of _0x393dce[_0x23094d([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x2e1b8d(_0x4d2790);_0x217ce1(_0x393dce,_0x23094d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x23094d([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x217ce1(_0x393dce,_0x23094d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x23094d([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0xa434cd;}function _0x2e1b8d(_0x53d198){function _0x2751c7(){_0x53d198[_0x23094d([0x6d,0x6f,0x64,0x65,0x6c])][_0x23094d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa434cd,_0x53d198[_0x23094d([0x6d,0x6f,0x64,0x65,0x6c])][_0x23094d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa434cd,_0x53d198[_0x23094d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x23094d([0x6d,0x6f,0x64,0x65,0x6c]));}_0x53d198[_0x23094d([0x73,0x74,0x61,0x74,0x65])]==_0x23094d([0x72,0x65,0x61,0x64,0x79])?_0x2751c7():_0x53d198[_0x23094d([0x6f,0x6e,0x63,0x65])](_0x23094d([0x72,0x65,0x61,0x64,0x79]),()=>_0x2751c7());}function _0xa434cd(){return null;}function _0x85115(_0x4be9c2,_0x14812a){const _0x5379de=!!(_0x4be9c2&_0x14812a[_0x23094d([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x12f538=_0x56eeb5(_0x4be9c2,_0x14812a);return _0x5379de||_0x12f538;}function _0x56eeb5(_0x322a09,_0x2a2d6f){const _0x581970=(_0x2a2d6f[_0x23094d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x23094d([0x66,0x67,0x69])]||null;return!!_0x581970&&_0x20c9b[_0x23094d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x270716=>_0x581970[_0x23094d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x270716[_0x23094d([0x69,0x64])]))[_0x23094d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x265a7d=>!_0xa95afa(_0x265a7d))[_0x23094d([0x73,0x6f,0x6d,0x65])](_0x437d10=>!!(_0x322a09&_0x437d10[_0x23094d([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0xa95afa(_0x2893c2){const _0x41cbff={[_0x23094d([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])]:_0x249b76};return!!_0x2893c2['forbiddenHandler']&&_0x41cbff[_0x2893c2['forbiddenHandler']]();}function _0x249b76(){return!window[_0x23094d([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0xb62ded(_0x2ec848,_0x23094d([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x50d2b4(_0x4f2c82){if(!_0xb62ded(_0x2ec848,_0x4f2c82[_0x23094d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x4aeb2b=_0x4f2c82[_0x23094d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x44e2a2=_0x4aeb2b[_0x23094d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x301dd2=_0x4aeb2b[_0x23094d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x4129ae=_0x4aeb2b[_0x23094d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0xb62ded(_0x2ec848,_0x23094d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x217ce1(_0x2ec848,_0x23094d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x23094d([0x73,0x74,0x61,0x74,0x65])]==_0x23094d([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x44e2a2)return!0x0;if(_0xb62ded(_0x2ec848,_0x23094d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x217ce1(_0x2ec848,_0x23094d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x23094d([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x23094d([0x65,0x6e,0x64])&&_0x301dd2)return!0x0;return!(!_0xb62ded(_0x2ec848,_0x23094d([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]))||_0x217ce1(_0x2ec848,_0x23094d([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]))[_0x23094d([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x23094d([0x65,0x6e,0x64])||!_0x4129ae);}function _0xb62ded(_0x1e08fb,_0x2e52fc){return _0x1e08fb[_0x23094d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x23094d([0x68,0x61,0x73])](_0x2e52fc);}function _0x217ce1(_0x18c4c7,_0x32e65f){return _0x18c4c7[_0x23094d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x23094d([0x67,0x65,0x74])](_0x32e65f);}function _0x52959a(_0x430314){let _0x562e0c='';for(const _0x3c3d6c of _0x430314)_0x562e0c+=String[_0x23094d([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x3c3d6c);return _0x562e0c;}function _0x153fc0(_0x5654f6){const _0x299b4d=new Uint8Array(_0x5654f6[_0x23094d([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x2d033a=0x0;_0x2d033a<_0x5654f6[_0x23094d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d033a++)_0x299b4d[_0x2d033a]=_0x5654f6[_0x23094d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2d033a);return _0x299b4d;}_0x29d47a&&_0x28c9ba(_0x562227(_0x206423),_0x29d47a);})(_0x3db744);}(this);}['createRevision'](_0x2e7985){const _0x14c8e2=this['editor']['plugins']['get']('Users');return new a({'id':_0x2e7985['id'],'name':_0x2e7985['name'],'creator':_0x2e7985['creatorId']?_0x14c8e2['getUser'](_0x2e7985['creatorId']):null,'diffData':_0x2e7985['diffData']||_0x2e7985['data'],'authors':_0x2e7985['authorsIds']['map'](_0x247b8f=>_0x14c8e2['getUser'](_0x247b8f)),'createdAt':new Date(_0x2e7985['createdAt']),'attributes':_0x2e7985['attributes'],'fromVersion':_0x2e7985['fromVersion'],'toVersion':_0x2e7985['toVersion']});}['addRevision'](_0x12d04e,_0x40571e=0x0){this['_revisions']['add'](_0x12d04e,_0x40571e);}['getRevision'](_0x6a3473){return this['_revisions']['get'](_0x6a3473);}['getRevisions'](_0x10c16d={'toJSON':!0x1}){const _0xa972b6=Array['from'](this['_revisions']);return _0xa972b6['reverse'](),_0x10c16d['toJSON']?_0xa972b6['map'](_0x27cadc=>_0x27cadc['toJSON']()):_0xa972b6;}['getIndex'](_0x5e4411){return this['_revisions']['getIndex'](_0x5e4411);}['getEarlierVisibleRevision'](_0x44fadf){const [,_0x52b2c1]=this['getRevisionsIterator'](_0x44fadf,{'direction':'earlier'});return _0x52b2c1;}['getLaterVisibleRevision'](_0x23b838){const [,_0x22a97d]=this['getRevisionsIterator'](_0x23b838,{'direction':'later'});return _0x22a97d;}['getRevisionsInDiff'](_0x349f06){const _0x305a82=[];for(const _0x374f63 of this['getRevisionsIterator'](_0x349f06['newRevisionId']))if(_0x305a82['push'](_0x374f63),_0x374f63['id']===_0x349f06['oldRevisionId'])break;return _0x305a82;}*['getRevisionsIterator'](_0x3e632e,{direction:_0x1b95da='earlier',filter:_0x41433a=_0x336bb2=>!0x0}={}){const _0x3821d1='earlier'===_0x1b95da?0x1:-0x1;let _0x178662=this['_revisions']['get'](_0x3e632e),_0x272cf5=this['getIndex'](_0x178662);for(yield _0x178662;_0x178662;){if(_0x272cf5+=_0x3821d1,_0x178662=this['getRevision'](_0x272cf5),!_0x178662)return;_0x41433a(_0x178662)&&(yield _0x178662);}}}function y(_0x4cb4a8,_0x538e0a,_0x3bd303){const t=_0x4cb4a8['t'];switch(_0x538e0a){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'},_0x3bd303);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x3bd303);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':_0x180e8f,'a':_0x24b024,'e':_0x418b40,'r':_0x41f5cc,'u':_0x45744f};class l extends _0x5a4e73{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x51f416,A,_0x47e012];}constructor(_0x315747){super(_0x315747),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 _0x3fdf3f=_0x181127();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x3fdf3f},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 _0x1b084e=this['repository']['getRevision'](0x0),_0x5d81ee=_0x1b084e&&null===_0x1b084e['creator']?_0x1b084e:null;if(this['_continueCurrentRevision']=!!_0x5d81ee&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x5a82b5=this['_source']['getCurrentRevisionId'](),_0x3a59c5=this['repository']['getRevision'](_0x5a82b5);if(_0x3a59c5)this['_startingVersion']=_0x3a59c5['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x1e4e35=this['_source']['history']['_operations']['find'](_0x168d12=>!_0x168d12['_isInit']),_0x8ba32=_0x1e4e35?_0x1e4e35['baseVersion']:this['_source']['history']['version'];_0x1b084e?(_0x1b084e['toVersion']<_0x8ba32&&_0x1b084e['_update']({'toVersion':_0x8ba32}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x5d81ee['id'],this['_startingVersion']=_0x5d81ee['fromVersion']):(this['_startingVersion']=_0x1b084e['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x8ba32,this['_continueCurrentRevision']=!0x1);}}else _0x5d81ee&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x5d81ee['toVersion'],this['editor']['model']['document']['history']['version']),_0x5d81ee['fromVersion']===_0x5d81ee['toVersion']?(0x0!==_0x5d81ee['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x5d81ee['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x5d81ee['id'],this['_startingVersion']=_0x5d81ee['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',_0x1570c3=>!_0x1570c3);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x8ac1a7=this['repository']['getRevision'](0x0),_0x325946=await this['getRevisionDocumentData'](_0x8ac1a7),_0x551960=await this['getRevisionRootsAttributes'](_0x8ac1a7);this['_replaceEditorDataWithRevisionData'](_0x325946,_0x551960);}}['setSource'](_0x2b069d){this['_source']=_0x2b069d;}async['update'](){const _0xcaa989=await this['_source']['getLatestVersion']();if(_0xcaa989>this['currentRevision']['toVersion']){await this['_loadState']();const _0x1a4bc0=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0xcaa989});_0x1a4bc0['authors']=_0x1a4bc0['authorsIds']['map'](_0x33448a=>this['editor']['plugins']['get']('Users')['getUser'](_0x33448a)),this['currentRevision']['_update'](_0x1a4bc0);}}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'](_0x573c70={},_0x2d37e9=null){const _0x416934=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x2d37e9>this['currentRevision']['toVersion']&&(_0x2d37e9=null),null===_0x2d37e9&&(_0x2d37e9=await this['_source']['getLatestVersion']());const _0x1aac1c=this['_getFromVersion'](_0x2d37e9),_0x535b51=this['buildRevisionData']({'from':_0x1aac1c,'to':_0x2d37e9});if(this['currentRevision']['toVersion']<_0x2d37e9){const _0x46f13d=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x2d37e9,'to':_0x2d37e9});_0x46f13d['authors']=[],_0x46f13d['authorsIds']=[],_0x46f13d['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x46f13d,!0x0),delete _0x46f13d['authors'],_0x416934['push'](_0x46f13d);}_0x573c70['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x573c70['name']=_0x573c70['name']||null,_0x573c70['id']=_0x573c70['id']||_0x181127(),_0x573c70={..._0x573c70,..._0x535b51};const _0x28bbe8=this['addRevisionData'](_0x573c70);_0x416934['push'](_0x573c70);const _0x25bfb4=this['repository']['getIndex'](_0x28bbe8);if(0x0!==_0x25bfb4){const _0x2b8c3f=this['repository']['getRevision'](_0x25bfb4-0x1);if(_0x2b8c3f['fromVersion']!==_0x2d37e9){const _0x89d1ab=this['_revisionDataBuilder']['getData'](_0x2d37e9,_0x2b8c3f['toVersion']),_0x3bddae={'id':_0x2b8c3f['id'],'diffData':_0x89d1ab['diffData'],'authorsIds':_0x89d1ab['authorsIds'],'authors':_0x89d1ab['authorsIds']['map'](_0x6fa82c=>this['editor']['plugins']['get']('Users')['getUser'](_0x6fa82c)),'fromVersion':_0x2d37e9};_0x2b8c3f===this['currentRevision']&&(_0x3bddae['createdAt']=new Date(_0x573c70['createdAt']['getTime']()+0xa)),_0x2b8c3f['_update'](_0x3bddae,!0x0),delete _0x3bddae['authors'],_0x416934['push'](_0x3bddae);}}if(this['adapter']){for(const _0x5a420d of _0x416934)this['_bufferUpdate'](_0x5a420d['id'],_0x5a420d,!0x0);this['sendBufferedUpdates']();}return _0x28bbe8;}['addRevisionData'](_0x4db74d){const _0xb77ab7=this['repository']['createRevision'](_0x4db74d);return this['adapter']&&_0xb77ab7['on']('_update',(_0x2272e3,_0x132ff1,_0x42b094)=>{_0x42b094||(this['_bufferUpdate'](_0x132ff1['id'],_0x132ff1,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0xb77ab7,this['_findInsertionIndex'](_0xb77ab7)),_0xb77ab7;}async['getRevisionDocumentData'](_0x12b334){await this['_loadRevisionData'](_0x12b334);const _0x16bf6b={};for(const _0x32fa6e in _0x12b334['diffData']){if(_0x12b334['diffData'][_0x32fa6e]['attachChange']&&!_0x12b334['diffData'][_0x32fa6e]['attachChange']['isAttached'])continue;const _0x93d6d3=this['_removeRevisionMarkers'](JSON['parse'](_0x12b334['diffData'][_0x32fa6e]['insertions'])),_0x60d0e5=this['editor']['editing']['view']['document'],_0x5c3544=new _0x186b9b(_0x60d0e5,_0x93d6d3['map'](_0xf00839=>B(_0xf00839,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x16bf6b[_0x32fa6e]=this['editor']['data']['processor']['toData'](_0x5c3544),this['editor']['data']['processor']['useFillerType']('default');}return _0x16bf6b;}async['getRevisionRootsAttributes'](_0x50091e){await this['_loadRevisionData'](_0x50091e);const _0x293524={};for(const _0x47e3e2 in _0x50091e['diffData'])_0x50091e['diffData'][_0x47e3e2]['attachChange']&&!_0x50091e['diffData'][_0x47e3e2]['attachChange']['isAttached']||(_0x293524[_0x47e3e2]=_0x50091e['diffData'][_0x47e3e2]['attributesAfter']||{});return _0x293524;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x3221f5=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x215196=0x0;_0x215196<_0x3221f5['length'];_0x215196++){const _0x2f40ac=_0x3221f5[_0x215196];let _0x4c9666=!0x1;for(const _0x422248 of Object['keys'](_0x2f40ac))void 0x0===_0x2f40ac[_0x422248]?delete _0x2f40ac[_0x422248]:'id'!==_0x422248&&(_0x4c9666=!0x0);_0x4c9666||(_0x3221f5[_0x215196]=null);}if(_0x3221f5=_0x3221f5['filter'](_0x288be6=>null!==_0x288be6),!_0x3221f5['length'])return;for(let _0xc743b1=0x0;_0xc743b1<_0x3221f5['length'];_0xc743b1++){const _0xc970c8=_0x3221f5[_0xc743b1];void 0x0!==_0xc970c8['fromVersion']&&void 0x0===_0xc970c8['toVersion']&&(_0xc970c8['toVersion']=this['repository']['getRevision'](_0xc970c8['id'])['toVersion']),void 0x0!==_0xc970c8['toVersion']&&void 0x0===_0xc970c8['fromVersion']&&(_0xc970c8['fromVersion']=this['repository']['getRevision'](_0xc970c8['id'])['fromVersion']);}const _0x32d258=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x3221f5,_0x32d258)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x2d2487=>{if(_0x2d2487){for(const _0x5831bf of _0x2d2487)this['setRevisionData']({'id':_0x5831bf['id'],'createdAt':_0x5831bf['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x553b57,_0x24ce02){let _0x297666=this['editor']['config']['get']('initialData'),_0x8a43c3=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x297666){_0x297666={};for(const _0x388755 of this['editor']['model']['document']['getRootNames']())_0x297666[_0x388755]='';}if('string'==typeof _0x297666&&(_0x297666={'main':_0x297666}),void 0x0===_0x8a43c3){_0x8a43c3={};for(const _0x598236 of this['editor']['model']['document']['getRootNames']())_0x8a43c3[_0x598236]={};}let _0x361d5c=!0x1;const _0x7f247d=Object['keys'](_0x297666),_0x2b940e=Object['keys'](_0x553b57);for(const _0x1a8107 of _0x7f247d){if(_0x297666[_0x1a8107]!==_0x553b57[_0x1a8107]&&''!==_0x297666[_0x1a8107]['trim']()){_0x361d5c=!0x0;break;}if(!_0x3141a6(_0x8a43c3[_0x1a8107],_0x24ce02[_0x1a8107])&&Object['keys'](_0x8a43c3[_0x1a8107])['length']>0x0){_0x361d5c=!0x0;break;}}_0x361d5c||(_0x361d5c=_0x2b940e['some'](_0x32a21c=>!this['editor']['model']['document']['getRoot'](_0x32a21c))),_0x361d5c&&_0x161b35('editor-initial-data-replaced-with-revision-data',{'editorData':_0x297666,'editorRootsAttributes':_0x8a43c3,'revisionData':_0x553b57,'revisionRootsAttributes':_0x24ce02}),this['editor']['config']['set']('initialData',_0x553b57),this['editor']['config']['set']('rootsAttributes',_0x24ce02);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x4dcb15=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x4dcb15['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x4b6057){const _0x41eafd=this['repository']['getRevisions']();_0x41eafd['reverse']();let _0x4a8bb6=0x0;for(;_0x4a8bb6<_0x41eafd['length'];){const _0x7feedc=_0x41eafd[_0x4a8bb6];if(_0x7feedc===this['currentRevision']){_0x4a8bb6++;continue;}if(_0x7feedc['id']===this['_initialRevisionId'])break;const _0x138995=_0x4b6057['toVersion']-_0x7feedc['toVersion']||_0x4b6057['fromVersion']-_0x7feedc['fromVersion'];if(_0x138995>0x0)break;if(_0x138995<0x0)_0x4a8bb6++;else{if(!_0x4b6057['creator']&&_0x7feedc['creator'])break;if(_0x7feedc['creator']||!_0x4b6057['creator']){if(_0x4b6057['createdAt']>_0x7feedc['createdAt'])break;_0x4a8bb6++;}else _0x4a8bb6++;}}return _0x4a8bb6;}['setRevisionData'](_0x538591){const _0x5b1c5a=this['repository']['getRevision'](_0x538591['id']);if(_0x538591['createdAt']&&(_0x538591['createdAt']=new Date(_0x538591['createdAt'])),_0x538591['authorsIds']){const _0x22ef96=this['editor']['plugins']['get']('Users');_0x538591['authors']=_0x538591['authorsIds']['map'](_0xaccb27=>_0x22ef96['getUser'](_0xaccb27));}_0x5b1c5a['_update'](_0x538591,!0x0);}['buildRevisionData']({revision:_0x59bf16=null,from:_0x5e6e45=null,to:_0x4e41a5=null}){_0x5e6e45=null!==_0x5e6e45?_0x5e6e45:_0x59bf16['fromVersion'],_0x4e41a5=null!==_0x4e41a5?_0x4e41a5:_0x59bf16['toVersion'];const _0x3d1379=this['_revisionDataBuilder']['getData'](_0x5e6e45,_0x4e41a5),_0x3a494b={'diffData':_0x3d1379['diffData'],'authorsIds':_0x3d1379['authorsIds'],'fromVersion':_0x5e6e45,'toVersion':_0x4e41a5};if(!_0x59bf16||_0x4e41a5!==_0x59bf16['toVersion']){const _0x400c26=_0x4e41a5-0x1,_0x25076e=this['_source']['history']['getOperation'](_0x400c26);_0x3a494b['createdAt']=_0x25076e&&_0x25076e['createdAt']||new Date();}if(this['_loadedStateData']&&_0x5e6e45===this['_loadedStateData']['fromVersion']){for(const _0x44b8d8 of this['_loadedStateData']['authors'])_0x3a494b['authorsIds']['includes'](_0x44b8d8['id'])||_0x3a494b['authorsIds']['push'](_0x44b8d8['id']);}return _0x3a494b;}['_loadRevisionData'](_0x176e6e){if(!_0x176e6e||_0x176e6e['diffData'])return Promise['resolve']();{const _0x4884d9=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x4884d9,'revisionId':_0x176e6e['id']})['then'](_0x473aad=>{_0x176e6e['diffData']=_0x473aad['diffData'];});}}['_bufferUpdate'](_0x125c4f,_0x2e705c,_0x4b6e96){if(this['_bufferedUpdates']['has'](_0x125c4f)){const _0xc1722f=this['_bufferedUpdates']['get'](_0x125c4f);_0x2e705c=_0x4b6e96?{..._0xc1722f,..._0x2e705c}:{..._0x2e705c,..._0xc1722f};}this['_bufferedUpdates']['set'](_0x125c4f,_0x2e705c);}['_getFromVersion'](_0x5a90ca){const _0x658dc6=this['repository']['getRevisions']();_0x658dc6['reverse'](),_0x658dc6['shift']();const _0x581c52=_0x658dc6['find'](_0x58e5e9=>_0x58e5e9['toVersion']<=_0x5a90ca)['toVersion'];return _0x581c52<this['_startingVersion']?this['_startingVersion']:_0x581c52;}['_createInitialRevision'](_0x5746aa){const _0x5dfd2e=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x5dfd2e)this['_initialRevisionId']=_0x5dfd2e['id'];else{const _0xaa657d=!this['editor']['model']['document']['roots']['find'](_0x57e428=>this['editor']['model']['hasContent'](_0x57e428)),_0x188a8f=this['editor']['plugins']['get']('Users')['me']['id'],_0x1ced10=y(this['editor']['locale'],_0xaa657d?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x5746aa,'to':_0x5746aa,'id':this['_initialRevisionId'],'name':_0x1ced10,'creatorId':_0x188a8f});}}['_createCurrentRevision'](_0x59b162){const _0x509dcb=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x509dcb),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x59b162,'to':_0x59b162,'id':_0x509dcb,'name':'','creatorId':null}));}['_makeRevision']({name:_0x221c13,from:_0x37d549,to:_0x27630f,creatorId:_0x4d599b,id:_0x42c58e}){const _0x4dbee5=this['buildRevisionData']({'from':_0x37d549,'to':_0x27630f});_0x4dbee5['name']=_0x221c13,_0x4dbee5['creatorId']=_0x4d599b,_0x4dbee5['id']=_0x42c58e;const _0x2aed01=this['addRevisionData'](_0x4dbee5);return this['adapter']&&this['_bufferUpdate'](_0x4dbee5['id'],_0x4dbee5,!0x0),_0x2aed01;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x1024ca){return(_0x1024ca=_0x1024ca['filter'](_0x2d7822=>!_0x2d7822['name']||'revision-start'!==_0x2d7822['name']&&'revision-end'!==_0x2d7822['name']))['forEach'](_0x2f859d=>{'string'!=typeof _0x2f859d&&(_0x2f859d['children']=this['_removeRevisionMarkers'](_0x2f859d['children']),_0x2f859d['attributes']=_0x2f859d['attributes']['filter'](_0x5131d8=>!_0x5131d8[0x0]['startsWith']('data-revision-')));}),_0x1024ca;}}function B(_0x84d0c4,_0x4e957e){const _0x4e2481=_0x4e957e['editing']['view']['document'];if('string'==typeof _0x84d0c4)return new _0x55bc93(_0x4e2481,_0x84d0c4);{const _0x4418dc=_0x84d0c4['children']['map'](_0x4121e8=>B(_0x4121e8,_0x4e957e));return new(T[_0x84d0c4['type']]||_0x2e9eb9)(_0x4e2481,_0x84d0c4['name'],_0x84d0c4['attributes'],_0x4418dc);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x33923a){this['editor']=_0x33923a,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'](_0x14ce9d){this['source']=_0x14ce9d;const _0x45db17=new Map(),_0x19419a=new Map(),_0x255e6f=this['editor']['model']['document']['roots']['map'](_0x1b31ca=>_0x1b31ca['rootName']);for(const _0x4052f4 of _0x255e6f){const _0x6190be=this['editor']['model']['document']['getRoot'](_0x4052f4),_0xe03ac6=q(_0x6190be);_0x45db17['set'](_0x4052f4,_0xe03ac6),_0x19419a['set'](_0x4052f4,Object['fromEntries'](_0x6190be['getAttributes']()));}const _0x79253e=Array['from'](this['editor']['model']['markers'])['map'](_0x2132a3=>[_0x2132a3['name'],_0x2132a3['getRange']()]),_0x314c79=this['source']['version'];this['_saveMetaData'](_0x314c79,_0x45db17,_0x79253e,_0x19419a),this['_startingRevisionId']=this['_revisionId'];const _0x4f5f2b=new Map(),_0x424df1=new Map();for(const _0x34cbeb of _0x255e6f){const _0x414561=G(_0x34cbeb);_0x4f5f2b['set'](_0x34cbeb,_0x414561),_0x424df1['set'](_0x34cbeb,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x4f5f2b,[],_0x424df1);}['getData'](_0x444a1a,_0x51d454){if(this['_lastFrom']===_0x444a1a&&this['_lastTo']<=_0x51d454)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x51d454,!0x0);else{if(!this['_savedMetaData']['has'](_0x444a1a)){const _0x48de9a=this['_getPreviousFrom'](_0x444a1a);this['_calculateMetaData'](_0x48de9a,_0x444a1a,!0x1);}this['_calculateMetaData'](_0x444a1a,_0x51d454,!0x0);}return this['_lastFrom']=_0x444a1a,this['_lastTo']=_0x51d454,this['_getState']();}['loadState'](_0xa2732b){this['_reset'](),this['_lastFrom']=_0xa2732b['fromVersion'],this['_lastTo']=_0xa2732b['toVersion'];for(const _0x1ea4df in _0xa2732b['diffData']){const _0xf60640=_0xa2732b['diffData'][_0x1ea4df]['attachChange'],_0x19675b=_0x31666e(_0xa2732b['diffData'][_0x1ea4df]['attributesBefore'])||{},_0x4c6661=this['_makeModelFromViewString'](_0xa2732b['diffData'][_0x1ea4df]['deletions']);_0x4c6661['rootName']=_0x1ea4df,_0x4c6661['_isAttached']=!_0xf60640||!_0xf60640['isAttached'],_0x4c6661['isAttached']=()=>_0x4c6661['_isAttached'],this['_baseRoots']['set'](_0x1ea4df,_0x4c6661),this['_baseRootsAttributes']['set'](_0x1ea4df,_0x19675b),_0xf60640&&this['_touchedRoots']['set'](_0x1ea4df,_0xf60640);const _0x27bf2b=this['_makeIdsRoot'](_0x4c6661);this['_baseIdsRoots']['set'](_0x1ea4df,_0x27bf2b);for(const [_0x2b0e6e,_0x1780a4]of _0x4c6661['markers']){if(!_0x2b0e6e['startsWith']('revision:'))continue;const _0x320d5b=_0x2b0e6e['split'](':')[0x2];for(const _0x96040 of _0x1780a4['getWalker']({'singleCharacters':!0x0})){const _0x20dfc3=this['_getVidAttributeName'](_0x96040),_0x415cba='elementEnd'==_0x96040['type']?_0x96040['previousPosition']['path']['slice'](0x0,-0x1):_0x96040['previousPosition']['path'],_0x5434bd=_0x27bf2b['getNodeByPath'](_0x415cba)['getAttribute'](_0x20dfc3);this['_touched']['set'](_0x5434bd,{'userId':_0x320d5b});}}}this['_startingRevisionId']=this['_revisionId'];const _0x29f1a7=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x336da5=>!this['_touched']['has'](_0x336da5));let _0x180c7d=0x0;const _0xda71b6=new Map();for(const _0x2b12d9 in _0xa2732b['diffData']){const _0x32a9ff=_0xa2732b['diffData'][_0x2b12d9]['attachChange'],_0x79a02d=_0x31666e(_0xa2732b['diffData'][_0x2b12d9]['attributesAfter'])||{},_0x5160ec=this['_makeModelFromViewString'](_0xa2732b['diffData'][_0x2b12d9]['insertions']);_0x5160ec['rootName']=_0x2b12d9,_0x5160ec['_isAttached']=!_0x32a9ff||_0x32a9ff['isAttached'],_0x5160ec['isAttached']=()=>_0x5160ec['_isAttached'],this['_diffRoots']['set'](_0x2b12d9,_0x5160ec),this['_diffRootsAttributes']['set'](_0x2b12d9,_0x79a02d);const _0x5d1110=this['_makeIdsRoot'](_0x5160ec,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x2b12d9,_0x5d1110),_0xda71b6['set'](_0x2b12d9,_0x5160ec['isAttached']()?_0x79a02d:{});for(const [_0x501edc,_0x4668c8]of _0x5160ec['markers']){if(!_0x501edc['startsWith']('revision:'))continue;const _0x4c5478=_0x501edc['split'](':')[0x2];for(const _0x45ae3c of _0x4668c8['getWalker']({'singleCharacters':!0x0})){const _0x2f0749=this['_getVidAttributeName'](_0x45ae3c),_0x1e6e1c=this['_revisionId']++,_0x1adbf5='elementEnd'==_0x45ae3c['type']?_0x45ae3c['previousPosition']['path']['slice'](0x0,-0x1):_0x45ae3c['previousPosition']['path'];_0x5d1110['getNodeByPath'](_0x1adbf5)['_setAttribute'](_0x2f0749,_0x1e6e1c),this['_touched']['set'](_0x1e6e1c,{'userId':_0x4c5478});}}for(const _0x5c05fa of this['editor']['model']['createRangeIn'](_0x5160ec)['getWalker']({'singleCharacters':!0x0})){const _0x423377=this['_getVidAttributeName'](_0x5c05fa),_0x38b20e='elementEnd'==_0x5c05fa['type']?_0x5c05fa['previousPosition']['path']['slice'](0x0,-0x1):_0x5c05fa['previousPosition']['path'],_0x319413=_0x5d1110['getNodeByPath'](_0x38b20e);_0x319413['getAttribute'](_0x423377)>0x0||_0x319413['_setAttribute'](_0x423377,_0x29f1a7[_0x180c7d++]);}for(const [_0x4cc9fa,_0x56ec1b]of _0x5160ec['markers'])_0x4cc9fa['startsWith']('revision:')||this['_markers']['set'](_0x4cc9fa,_0x56ec1b);}const _0xe34d31=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0xe34d31),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0xe34d31,0x1));const _0x39de99=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x39de99),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x39de99,0x1));const _0x241776=Array['from'](this['_diffRoots'])['map'](([_0xa7d66f,_0x2a4ce3])=>[_0xa7d66f,q(_0x2a4ce3)]);this['_saveMetaData'](this['_lastTo'],_0x241776,this['_markers'],_0xda71b6);}['_makeModelFromViewString'](_0x57c464){const _0x539ea5=JSON['parse'](_0x57c464),_0x364f49=this['editor']['editing']['view']['document'],_0x94f83a=new _0x186b9b(_0x364f49,_0x539ea5['map'](_0x2aaec8=>B(_0x2aaec8,this['editor'])));return this['editor']['data']['toModel'](_0x94f83a);}['_saveMetaData'](_0x473cfc,_0x5f59e6,_0x51b646,_0x4cded5){const _0x2a838c=new Map(_0x5f59e6),_0x4c1a86=new Map(_0x31666e(_0x4cded5)),_0x2519aa=new Map();for(const [_0x5576e7,_0x5acaef]of _0x51b646)_0x2519aa['set'](_0x5576e7,{'start':_0x5acaef['start']['clone'](),'end':_0x5acaef['end']['clone'](),'rootName':_0x5acaef['root']['rootName']});this['_savedMetaData']['set'](_0x473cfc,{'roots':_0x2a838c,'markers':_0x2519aa,'rootsAttributes':_0x4c1a86});}['_removeMetaData'](_0x461a22){this['_savedMetaData']['delete'](_0x461a22);}['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'](_0x530fac,_0x1317a9=null){let _0x54b8dc=null;_0x530fac['is']('documentFragment')||(_0x54b8dc=new ft(_0x530fac['name'],{'vid_start':null===_0x1317a9?this['_revisionId']++:_0x1317a9++}));const _0x1f4a60=[];for(const _0x5bbb37 of _0x530fac['getChildren']())if(_0x5bbb37['is']('element')){_0x1f4a60['push'](this['_makeIdsRoot'](_0x5bbb37,_0x1317a9));const _0x5c7fc3=_0x1f4a60[_0x1f4a60['length']-0x1];null!==_0x1317a9&&(_0x1317a9=_0x5c7fc3['is']('element','$text')?_0x5c7fc3['getAttribute']('vid')+0x1:_0x5c7fc3['getAttribute']('vid_end')+0x1);}else{for(let _0x3cd748=0x0;_0x3cd748<_0x5bbb37['offsetSize'];_0x3cd748++)_0x1f4a60['push'](new ft('$text',{'vid':null===_0x1317a9?this['_revisionId']++:_0x1317a9++}));}if(_0x530fac['is']('documentFragment')){const _0x26b1a9=G(_0x530fac['rootName']);return _0x26b1a9['_insertChild'](0x0,_0x1f4a60),_0x26b1a9;}return _0x54b8dc['_setAttribute']('vid_end',null===_0x1317a9?this['_revisionId']++:_0x1317a9++),_0x54b8dc['_insertChild'](0x0,_0x1f4a60),_0x54b8dc;}['_calculateMetaData'](_0x24fff5,_0x5317f7,_0x3378d9){this['_reset']();const {roots:_0x227f0d,markers:_0x183e79,rootsAttributes:_0x42f708}=this['_savedMetaData']['get'](_0x24fff5);this['_baseRoots']=new Map(_0x227f0d),this['_baseRootsAttributes']=new Map(_0x31666e(_0x42f708));for(const [_0x4a4581,_0x291580]of this['_baseRoots'])if('$graveyard'!==_0x4a4581&&(this['_diffRoots']['set'](_0x4a4581,q(_0x291580)),this['_diffRootsAttributes']=new Map(_0x31666e(_0x42f708)),_0x3378d9)){const _0x137604=this['_revisionId'];this['_idsRoots']['set'](_0x4a4581,this['_makeIdsRoot'](_0x291580)),this['_baseIdsRoots']['set'](_0x4a4581,this['_makeIdsRoot'](_0x291580,_0x137604));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x3378d9&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x19516d,_0xdcd5a0]of _0x183e79){const _0x5826f9=this['_baseRoots']['get'](_0xdcd5a0['rootName']),_0x4fd960=this['_diffRoots']['get'](_0xdcd5a0['rootName']),_0xb63bf8=new vt(this['_fixPosition'](_0xdcd5a0['start'],_0x5826f9),this['_fixPosition'](_0xdcd5a0['end'],_0x5826f9)),_0x5d71f0=this['_fixRange'](_0xb63bf8,_0x4fd960);_0x5826f9['markers']['set'](_0x19516d,_0xb63bf8),this['_markers']['set'](_0x19516d,_0x5d71f0);}this['_applyOperations'](_0x24fff5,_0x5317f7,_0x3378d9);}['_applyOperations'](_0x3add0d,_0x2f46d1,_0x198a4c){for(const _0x9fc18c of this['source']['getOperations'](_0x3add0d,_0x2f46d1))this['_handleOperation'](_0x9fc18c,_0x198a4c);for(const _0x49c532 of this['_diffRoots']['values']())_0x49c532['markers']['clear']();for(const [_0xb40e1c,_0x585e0a]of this['_markers']){this['_diffRoots']['get'](_0x585e0a['root']['rootName'])['markers']['set'](_0xb40e1c,_0x585e0a['clone']());}const _0x466f8d=new Map(),_0xe5918d=new Map();for(const [_0x115aa9,_0x3052a8]of this['_diffRoots'])_0x466f8d['set'](_0x115aa9,q(_0x3052a8)),_0xe5918d['set'](_0x115aa9,this['_diffRootsAttributes']['get'](_0x115aa9));this['_saveMetaData'](_0x2f46d1,_0x466f8d,this['_markers'],_0xe5918d);}['_getPreviousFrom'](_0x14f643){const _0x236fd7=Array['from'](this['_savedMetaData']['keys']());_0x236fd7['sort']((_0x281dac,_0x1d3dec)=>_0x281dac-_0x1d3dec),_0x236fd7['reverse']();for(const _0x2731ce of _0x236fd7)if(_0x2731ce<_0x14f643)return _0x2731ce;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x2353ef,_0x109744){const _0x20369d=Array['from'](_0x109744['markers'])['map'](([_0xe5809c,_0x29cede])=>[_0xe5809c,this['_fixRange'](_0x29cede,_0x2353ef)]);_0x2353ef['markers']=new Map(_0x20369d);}['_transformMarkers'](_0x23e160){for(const _0x3d4bfd of this['_markers']['values']()){const _0x3a159d=_0x3d4bfd['getTransformedByOperation'](_0x23e160),_0x6fe09e=vt['_createFromRanges'](_0x3a159d);_0x3d4bfd['start']=_0x6fe09e['start'],_0x3d4bfd['end']=_0x6fe09e['end'];}}['_handleOperation'](_0xa6edc3,_0x39194c){if('addRoot'==_0xa6edc3['type']||'detachRoot'==_0xa6edc3['type'])return void this['_handleRootOperation'](_0xa6edc3,_0x39194c);if('insert'==_0xa6edc3['type']){const _0x4392fb=_0xa6edc3['position']['root']['rootName'];this['_diffRoots']['has'](_0x4392fb)||(this['_diffRoots']['set'](_0x4392fb,G(_0x4392fb,!0x0)),this['_diffRootsAttributes']['set'](_0x4392fb,{}),_0x39194c&&this['_idsRoots']['set'](_0x4392fb,G(_0x4392fb,!0x0)));}else{if('addRootAttribute'==_0xa6edc3['type']||'removeRootAttribute'==_0xa6edc3['type']||'changeRootAttribute'==_0xa6edc3['type'])return void this['_handleRootAttributeOperation'](_0xa6edc3);}const _0x566ee6=this['_cloneOperation'](_0xa6edc3,this['_diffRoots']);if('marker'!==_0xa6edc3['type']&&(_0x566ee6['_execute'](),this['_transformMarkers'](_0x566ee6)),_0x39194c)switch(_0x566ee6['type']){case'insert':this['_handleInsertOperation'](_0xa6edc3);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0xa6edc3);break;case'merge':this['_handleMergeOperation'](_0xa6edc3);break;case'split':this['_handleSplitOperation'](_0xa6edc3);break;case'marker':this['_handleMarkerOperation'](_0xa6edc3);}}['_cloneOperation'](_0x5c098e,_0x4ef552){const _0x5e850f=_0x5c098e['clone']();return _0x5e850f['_authorId']=_0x5c098e['_authorId'],this['_fixOperation'](_0x5e850f,_0x4ef552),_0x5e850f;}['_getBaseVids'](_0x2158f6){return _0x2158f6['map'](_0x10c1e5=>{const _0x354db4=this['_getVidAttributeName'](_0x10c1e5);return Number(_0x10c1e5['item']['getAttribute'](_0x354db4));});}['_generateTape'](_0x221d45,_0x1f4fc8){if(_0x221d45['is']('element','$text'))_0x1f4fc8['push']({'item':_0x221d45,'type':'text'});else{_0x221d45['is']('element')&&_0x1f4fc8['push']({'item':_0x221d45,'type':'elementStart'});for(const _0x46f04f of _0x221d45['getChildren']())this['_generateTape'](_0x46f04f,_0x1f4fc8);_0x221d45['is']('element')&&_0x1f4fc8['push']({'item':_0x221d45,'type':'elementEnd'});}return _0x1f4fc8;}['_getState'](){const _0x410e5a=new Map(this['_touched']),_0x5f53e1=new Map(_0x410e5a),_0x384173=new Map(),_0x123e98={'insertions':{},'deletions':{}},_0x150b21={'insertions':{},'deletions':{}},_0x76e8a9=new Map(),_0x46e8ec=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x46e8ec['delete']('$graveyard');for(const _0x58a780 of _0x46e8ec){const _0x3a4941=this['_diffRoots']['get'](_0x58a780)||G(_0x58a780,!0x1),_0x2fffa2=this['_baseRoots']['get'](_0x58a780)||G(_0x58a780,!0x1);_0x3a4941['isAttached']()||_0x2fffa2['isAttached']()?(_0x123e98['insertions'][_0x58a780]=q(_0x3a4941),_0x123e98['deletions'][_0x58a780]=q(_0x2fffa2),this['_copyMarkers'](_0x123e98['deletions'][_0x58a780],_0x2fffa2),this['_copyMarkers'](_0x123e98['insertions'][_0x58a780],_0x3a4941),_0x150b21['insertions'][_0x58a780]=this['_generateTape'](this['_idsRoots']['get'](_0x58a780),[]),_0x150b21['deletions'][_0x58a780]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x58a780)||G(_0x58a780,!0x1),[])):_0x46e8ec['delete'](_0x58a780);}for(const _0x42e732 of _0x46e8ec){const _0x41127e=_0x150b21['insertions'][_0x42e732];for(const _0x19c20d of _0x41127e){const _0x1b8eb4=this['_getVidAttributeName'](_0x19c20d),_0x53cf20=_0x19c20d['item']['getAttribute'](_0x1b8eb4);_0x5f53e1['delete'](_0x53cf20),_0x53cf20>=this['_startingRevisionId']&&_0x384173['set'](_0x53cf20,_0x410e5a['get'](_0x53cf20));}}for(const _0x561388 of _0x46e8ec){const _0x121208=_0x150b21['insertions'][_0x561388],_0x57703d=this['_getBaseVids'](_0x150b21['deletions'][_0x561388]);let _0x11c37d=0x0;for(const _0x1749df of _0x121208){const _0xb85a6a=this['_getVidAttributeName'](_0x1749df),_0x34eac7=_0x1749df['item']['getAttribute'](_0xb85a6a);if(!_0x384173['has'](_0x34eac7)&&!_0x76e8a9['has'](_0x34eac7)){if(_0x5f53e1['has'](_0x34eac7))_0x11c37d++;else{if(_0x34eac7!=_0x57703d[_0x11c37d]){const _0x111721=_0x410e5a['get'](_0x34eac7)||_0x410e5a['get'](_0x57703d[_0x11c37d]);for(;_0x34eac7!=_0x57703d[_0x11c37d];)_0x5f53e1['has'](_0x57703d[_0x11c37d])||(_0x76e8a9['set'](_0x57703d[_0x11c37d],_0x111721),_0x410e5a['set'](_0x57703d[_0x11c37d],_0x111721)),_0x11c37d++;}_0x11c37d++;}}}}for(const _0x2eaa62 of _0x46e8ec){const _0x5905c2=_0x150b21['insertions'][_0x2eaa62];for(const _0x4c7f62 of _0x5905c2){const _0x59bc85=this['_getVidAttributeName'](_0x4c7f62),_0x20122a=_0x4c7f62['item']['getAttribute'](_0x59bc85);if(_0x76e8a9['has'](_0x20122a)){const _0x552cc8=_0x76e8a9['get'](_0x20122a);_0x5f53e1['has'](_0x20122a)||_0x5f53e1['set'](_0x20122a,{..._0x552cc8}),_0x384173['set'](_0x20122a,{..._0x552cc8});}}}for(const _0x59727b of _0x5f53e1['keys']())_0x59727b>=this['_startingRevisionId']&&_0x5f53e1['delete'](_0x59727b);const _0x33f1f2=new Map();for(const _0x5ee79d of _0x46e8ec){let _0x312b19=_0x150b21['insertions'][_0x5ee79d];for(const _0x4e4e37 of _0x312b19)if(_0x4e4e37['item']['is']('element','tableCell')){const _0x19fda6=this['_getVidAttributeName'](_0x4e4e37),_0x9556e9=_0x4e4e37['item']['getAttribute'](_0x19fda6);if(_0x384173['has'](_0x9556e9)){const _0x2dfc7e=_0x4e4e37['item']['parent']['parent']['getAttribute']('vid_start'),_0x3ccf21=_0x33f1f2['get'](_0x2dfc7e)||new Set();_0x3ccf21['add'](_0x384173['get'](_0x9556e9)['userId']),_0x33f1f2['set'](_0x2dfc7e,_0x3ccf21);}}_0x312b19=_0x150b21['deletions'][_0x5ee79d];for(const _0x4737e9 of _0x312b19)if(_0x4737e9['item']['is']('element','tableCell')){const _0x6b2bbf=this['_getVidAttributeName'](_0x4737e9),_0x10bbde=_0x4737e9['item']['getAttribute'](_0x6b2bbf);if(_0x5f53e1['has'](_0x10bbde)){const _0x313528=_0x4737e9['item']['parent']['parent']['getAttribute']('vid_start'),_0x53b8eb=_0x33f1f2['get'](_0x313528)||new Set();_0x53b8eb['add'](_0x5f53e1['get'](_0x10bbde)['userId']),_0x33f1f2['set'](_0x313528,_0x53b8eb);}}for(const _0x2ebd70 of _0x33f1f2['keys']())(_0x384173['has'](_0x2ebd70)||_0x5f53e1['has'](_0x2ebd70))&&_0x33f1f2['delete'](_0x2ebd70);}for(const _0xeb17da of _0x46e8ec){const _0x4a013a=_0x150b21['insertions'][_0xeb17da];let _0x5e21fa=null,_0x2962fa=null;for(const _0x4beb60 of _0x4a013a){const _0xd55f5c=this['_getVidAttributeName'](_0x4beb60),_0x79634b=_0x4beb60['item']['getAttribute'](_0xd55f5c),_0x10f949=_0x33f1f2['get'](_0x79634b);_0x10f949&&'elementStart'==_0x4beb60['type']&&(_0x5e21fa=Array['from'](_0x10f949)[0x0],_0x2962fa=_0x4beb60['item']['getAttribute']('vid_end')),_0x5e21fa&&(_0x5f53e1['set'](_0x79634b,{'userId':_0x5e21fa}),_0x384173['set'](_0x79634b,{'userId':_0x5e21fa})),_0x79634b==_0x2962fa&&(_0x5e21fa=null,_0x2962fa=null);}}const _0x279420={},_0x183f15=new Set();for(const _0x5e45f4 of _0x46e8ec){const _0x54733d=_0x123e98['deletions'][_0x5e45f4],_0x50dfce=_0x123e98['insertions'][_0x5e45f4];for(const {userId:_0x1318a1}of this['_touchedMarkers']['values']())null!==_0x1318a1&&_0x183f15['add'](_0x1318a1);for(const {userId:_0x28721c}of this['_touchedRoots']['values']())null!==_0x28721c&&_0x183f15['add'](_0x28721c);this['_markChanges'](_0x50dfce,_0x150b21['insertions'][_0x5e45f4],_0x384173,'insertion',_0x183f15),this['_markChanges'](_0x54733d,_0x150b21['deletions'][_0x5e45f4],_0x5f53e1,'deletion',_0x183f15),_0x279420[_0x5e45f4]={'insertions':this['_prepareViewToSave'](_0x50dfce),'deletions':this['_prepareViewToSave'](_0x54733d),'attachChange':this['_touchedRoots']['get'](_0x5e45f4)||null,'attributesBefore':_0x31666e(this['_baseRootsAttributes']['get'](_0x5e45f4))||{},'attributesAfter':_0x31666e(this['_diffRootsAttributes']['get'](_0x5e45f4))};}return{'diffData':_0x279420,'authorsIds':Array['from'](_0x183f15)};}['_processRootBeforeSave'](_0x4f5690){for(const [,_0x495370]of _0x4f5690['markers']){const _0x3f8f86=_0x495370['start']['getAncestors']()['filter'](_0x3ac132=>'tableCell'==_0x3ac132['name']);for(const _0x6483bf of _0x3f8f86)0x1==_0x6483bf['childCount']&&_0x6483bf['getChild'](0x0)['is']('element','paragraph')&&_0x6483bf['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x50f581){this['_processRootBeforeSave'](_0x50f581);const _0x349512=this['editor']['data']['toView'](_0x50f581,{}),_0x1f5961=Array['from'](_0x349512['getChildren']())['map'](_0x580498=>this['_getViewJson'](_0x580498));return JSON['stringify'](_0x1f5961);}['_getViewJson'](_0x1d5b70){if(_0x1d5b70['is']('$text'))return _0x1d5b70['data'];{const _0x594537=_0x1d5b70;return{'type':Object['keys'](T)['find'](_0x3e395f=>_0x1d5b70 instanceof T[_0x3e395f]),'name':_0x594537['name'],'attributes':Array['from'](_0x594537['getAttributes']()),'children':Array['from'](_0x594537['getChildren']())['map'](_0x361b06=>this['_getViewJson'](_0x361b06))};}}['_markChanges'](_0xeef0a1,_0x283d81,_0x48da6f,_0x1a2091,_0x44e582){let _0x5d710e=null,_0x10436b=null,_0x1a4cd9=0x0;const _0x2e6701=this['editor']['model'];for(let _0x16c52d=0x0;_0x16c52d<_0x283d81['length'];_0x16c52d++){const _0x41e93d=this['_getVidAttributeName'](_0x283d81[_0x16c52d]),_0x2c4760=_0x283d81[_0x16c52d]['item']['getAttribute'](_0x41e93d),_0x326a3=_0x48da6f['get'](_0x2c4760),_0x3bacd4=_0x16c52d==_0x283d81['length']-0x1;(!_0x5d710e&&_0x326a3&&(_0x5d710e=_0x326a3,_0x10436b=_0x283d81[_0x16c52d]),_0x5d710e&&(!_0x326a3||_0x326a3['userId']!=_0x5d710e['userId']))&&(_0x2b875b(_0x326a3,L(_0x10436b,_0xeef0a1,_0x2e6701),L(_0x283d81[_0x16c52d],_0xeef0a1,_0x2e6701)),_0x5d710e=_0x326a3||null,_0x10436b=_0x326a3?_0x283d81[_0x16c52d]:null),_0x5d710e&&_0x3bacd4&&_0x2b875b(_0x326a3,L(_0x10436b,_0xeef0a1,_0x2e6701),W(_0x283d81[_0x16c52d],_0xeef0a1,_0x2e6701));}function _0x2b875b(_0x16e8b6,_0x554ff8,_0x5e5baf){const _0x5bdaed=_0x5d710e['userId'],_0x5a8a0a='revision:'+_0x1a2091+':'+_0x5bdaed+':'+_0x1a4cd9++,_0x6db90d=_0x2e6701['createRange'](_0x554ff8,_0x5e5baf);_0xeef0a1['markers']['set'](_0x5a8a0a,_0x6db90d),null!==_0x5bdaed&&_0x44e582['add'](_0x5bdaed);}}['_getVidAttributeName'](_0x41300b){switch(_0x41300b['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x5e5bbd,_0x31c7aa){_0x5e5bbd['baseVersion']=null;for(const _0x5e9f0c in _0x5e5bbd){const _0x457e70=_0x5e5bbd[_0x5e9f0c];if(_0x457e70 instanceof gt){const _0x5de5f1=_0x31c7aa['get'](_0x457e70['root']['rootName']);_0x5e5bbd[_0x5e9f0c]=this['_fixPosition'](_0x457e70,_0x5de5f1);}if(_0x457e70 instanceof vt){const _0x5e2b33=_0x31c7aa['get'](_0x457e70['root']['rootName']);_0x5e5bbd[_0x5e9f0c]=this['_fixRange'](_0x457e70,_0x5e2b33);}'root'===_0x5e9f0c&&(_0x5e5bbd['root']=_0x31c7aa['get'](_0x5e5bbd['root']['rootName']));}}['_fixRange'](_0x171e94,_0x24bc87){return this['editor']['model']['createRange'](this['_fixPosition'](_0x171e94['start'],_0x24bc87),this['_fixPosition'](_0x171e94['end'],_0x24bc87));}['_fixPosition'](_0x41e6bb,_0x25ad28){return this['editor']['model']['createPositionFromPath'](_0x25ad28,_0x41e6bb['path'],_0x41e6bb['stickiness']);}['_handleInsertOperation'](_0x29efa8){const _0x137fc0=this['_idsRoots']['get'](_0x29efa8['position']['root']['rootName']),_0x23c9b0=this['_fixPosition'](_0x29efa8['position'],_0x137fc0),_0x469944=null===_0x29efa8['_authorId']?null:_0x29efa8['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2ff83f=_0x23c9b0['parent'],_0x38bad0=this['_revisionId'],_0x1489a6=[];for(const _0x8ab3e8 of _0x29efa8['nodes'])if(_0x8ab3e8['is']('element'))_0x1489a6['push'](this['_makeIdsRoot'](_0x8ab3e8));else{for(let _0x40d84f=0x0;_0x40d84f<_0x8ab3e8['offsetSize'];_0x40d84f++)_0x1489a6['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x11995e=this['_revisionId'];for(let _0x2812b6=_0x38bad0;_0x2812b6<_0x11995e;_0x2812b6++)this['_touched']['set'](_0x2812b6,{'userId':_0x469944});_0x2ff83f['_insertChild'](_0x23c9b0['offset'],_0x1489a6);}['_handleMoveOperation'](_0x205d99){(_0x205d99=this['_cloneOperation'](_0x205d99,this['_idsRoots']))['_execute']();const _0x363797=null===_0x205d99['_authorId']?null:_0x205d99['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x38735c=_0x205d99['getMovedRangeStart'](),_0x50d031=_0x38735c['parent'],_0xb7fa8e=_0x38735c['offset'];!function _0xd7f7ba(_0x37897e,_0x367891,_0x36872d,_0x17fe7c){for(let _0x57734a=_0x36872d;_0x57734a<_0x17fe7c;_0x57734a++){const _0xf7b3ba=_0x367891['getChild'](_0x57734a);_0xf7b3ba['is']('element','$text')?_0x37897e['set'](_0xf7b3ba['getAttribute']('vid'),{'userId':_0x363797}):(_0x37897e['set'](_0xf7b3ba['getAttribute']('vid_start'),{'userId':_0x363797}),_0xd7f7ba(_0x37897e,_0xf7b3ba,0x0,_0xf7b3ba['childCount']),_0x37897e['set'](_0xf7b3ba['getAttribute']('vid_end'),{'userId':_0x363797}));}}(this['_touched'],_0x50d031,_0xb7fa8e,_0xb7fa8e+_0x205d99['howMany']);}['_handleMergeOperation'](_0x401945){const _0x394ae7=null===(_0x401945=this['_cloneOperation'](_0x401945,this['_idsRoots']))['_authorId']?null:_0x401945['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4b1ae8=_0x401945['targetPosition']['parent'],_0x3a6faf=_0x401945['sourcePosition']['parent'],_0x4fcccb=_0x4b1ae8['getAttribute']('vid_end'),_0x334320=_0x3a6faf['getAttribute']('vid_start');_0x4b1ae8['_setAttribute']('vid_end',_0x3a6faf['getAttribute']('vid_end')),_0x3a6faf['_setAttribute']('vid_end',_0x4fcccb),this['_touched']['set'](_0x334320,{'userId':_0x394ae7}),this['_touched']['set'](_0x4fcccb,{'userId':_0x394ae7}),_0x401945['_execute']();}['_handleSplitOperation'](_0x31085b){const _0x567d6d=null===(_0x31085b=this['_cloneOperation'](_0x31085b,this['_idsRoots']))['_authorId']?null:_0x31085b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x106945=_0x31085b['graveyardPosition'],_0x4c1d52=_0x31085b['splitPosition']['parent'];_0x31085b['_execute']();const _0x2d864d=_0x4c1d52['getAttribute']('vid_end'),_0x1c83fa=_0x31085b['insertionPosition']['nodeAfter'];if(_0x106945){const _0x475507=_0x1c83fa['getAttribute']('vid_end'),_0x276802=_0x4c1d52['getAttribute']('vid_end');_0x4c1d52['_setAttribute']('vid_end',_0x475507),_0x1c83fa['_setAttribute']('vid_end',_0x276802),this['_touched']['set'](_0x4c1d52['getAttribute']('vid_end'),{'userId':_0x567d6d}),this['_touched']['set'](_0x1c83fa['getAttribute']('vid_start'),{'userId':_0x567d6d});}else{const _0x54736a=this['_revisionId']++,_0x2118d5=this['_revisionId']++;_0x4c1d52['_setAttribute']('vid_end',_0x54736a),_0x1c83fa['_setAttribute']('vid_start',_0x2118d5),_0x1c83fa['_setAttribute']('vid_end',_0x2d864d),this['_touched']['set'](_0x54736a,{'userId':_0x567d6d}),this['_touched']['set'](_0x2118d5,{'userId':_0x567d6d});}}['_handleMarkerOperation'](_0x25f963){if(!_0x25f963['affectsData'])return;const _0x6043e3=(_0x25f963=this['_cloneOperation'](_0x25f963,this['_diffRoots']))['oldRange']?_0x25f963['oldRange']['root']:null,_0x176e30=_0x25f963['newRange']?_0x25f963['newRange']['root']:null;_0x6043e3&&this['_markers']['delete'](_0x25f963['name']),_0x176e30&&this['_markers']['set'](_0x25f963['name'],_0x25f963['newRange']['clone']());const _0x1c684b=null===_0x25f963['_authorId']?null:_0x25f963['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x199eb6=_0x25f963['name'];if(!this['_touchedMarkers']['has'](_0x199eb6))return void this['_touchedMarkers']['set'](_0x199eb6,{'range':_0x25f963['oldRange'],'userId':_0x1c684b});const _0x512eee=this['_touchedMarkers']['get'](_0x199eb6),_0x34aac4=_0x512eee['range'],_0x592621=_0x25f963['newRange'];null==_0x34aac4&&null==_0x592621||_0x34aac4&&_0x592621&&_0x34aac4['isEqual'](_0x592621)?this['_touchedMarkers']['delete'](_0x25f963['name']):_0x512eee['userId']=_0x1c684b;}['_handleRootOperation'](_0xd1e9a8,_0x200e36){this['_diffRoots']['has'](_0xd1e9a8['rootName'])?this['_diffRoots']['get'](_0xd1e9a8['rootName'])['_isAttached']=_0xd1e9a8['isAdd']:(this['_diffRoots']['set'](_0xd1e9a8['rootName'],G(_0xd1e9a8['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0xd1e9a8['rootName'],{}),_0x200e36&&this['_idsRoots']['set'](_0xd1e9a8['rootName'],G(_0xd1e9a8['rootName'],!0x0)));const _0x1d4f7c=null===_0xd1e9a8['_authorId']?null:_0xd1e9a8['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x307bc9=this['_touchedRoots']['get'](_0xd1e9a8['rootName']);_0x307bc9&&_0x307bc9['userId']===_0x1d4f7c?this['_touchedRoots']['delete'](_0xd1e9a8['rootName']):this['_touchedRoots']['set'](_0xd1e9a8['rootName'],{'userId':_0x1d4f7c,'isAttached':_0xd1e9a8['isAdd']});}['_handleRootAttributeOperation'](_0x11e945){const _0x7004b5=this['_diffRootsAttributes']['get'](_0x11e945['root']['rootName']);null===_0x11e945['newValue']?delete _0x7004b5[_0x11e945['key']]:_0x7004b5[_0x11e945['key']]=_0x11e945['newValue'];}}function q(_0xb6e99f){const _0x2c98cc=G(_0xb6e99f['rootName'],_0xb6e99f['isAttached']());for(const _0x537569 of _0xb6e99f['getChildren']()){const _0x556fce=_0x537569['_clone'](!0x0);_0x2c98cc['_appendChild'](_0x556fce);}return _0x2c98cc;}function G(_0x155204,_0x4b238b=!0x0){const _0x1e9144=new wt();return _0x1e9144['rootName']=_0x155204,_0x1e9144['_isAttached']=_0x4b238b,_0x1e9144['isAttached']=()=>_0x1e9144['_isAttached'],_0x1e9144;}function L(_0x52ec22,_0x1e3d9f,_0x377fd8){const _0x191b3b='elementEnd'==_0x52ec22['type']?_0x377fd8['createPositionAt'](_0x52ec22['item'],'end'):_0x377fd8['createPositionBefore'](_0x52ec22['item']);return _0x377fd8['createPositionFromPath'](_0x1e3d9f,_0x191b3b['path'],_0x191b3b['stickiness']);}function W(_0x1c2cb7,_0x585262,_0x2b7cb5){const _0x8be97='elementStart'==_0x1c2cb7['type']?_0x2b7cb5['createPositionAt'](_0x1c2cb7['item'],0x0):_0x2b7cb5['createPositionAfter'](_0x1c2cb7['item']);return _0x2b7cb5['createPositionFromPath'](_0x585262,_0x8be97['path'],_0x8be97['stickiness']);}class ns extends _0x1cec7e{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x392f99,_0x11fdd6){super(_0x392f99),this['focusTracker']=new _0xbc6344(),this['keystrokes']=new _0x1d5133(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x11fdd6),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'](),_0x195189({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0xf2b3ee=_0x270ee5=>_0x270ee5['stopPropagation']();this['keystrokes']['set']('arrowright',_0xf2b3ee),this['keystrokes']['set']('arrowleft',_0xf2b3ee),this['keystrokes']['set']('arrowup',_0xf2b3ee),this['keystrokes']['set']('arrowdown',_0xf2b3ee);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x331e8f){this['revisionNameInputView']['fieldView']['element']['value']=_0x331e8f['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x4551d6){const _0x34063c=new at(this['locale'],_0x4e1ed6),_0x54b802=_0x34063c['fieldView'];_0x54b802['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x14d637=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x4551d6&&(_0x14d637+='\x20('+y(this['locale'],'optional')+')'),(_0x34063c['label']=_0x14d637,_0x54b802['on']('input',()=>{this['revisionNameInputValue']=_0x54b802['element']['value']['trim']();}),_0x34063c);}}class u extends _0x5a4e73{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0xe267e5=this['editor'],_0x339d6a=_0xe267e5['plugins']['get']('RevisionTracker');_0xe267e5['ui']['componentFactory']['add']('revisionHistory',_0x47fd16=>{const _0x19d71a=_0x5e442a(_0x47fd16),_0x47e40c=_0x19d71a['panelView']['children'],_0x5c2650=new te(_0x47fd16),_0xceb4b1=new _0x500ded(_0x47fd16),_0x54eabd=new _0x5296c0(_0x47fd16),_0x30c378=new _0x500ded(_0x47fd16),_0x3478e7=new _0x5296c0(_0x47fd16);return _0x19d71a['bind']('isEnabled')['to'](_0x339d6a,'isReady',_0x339d6a,'isEnabled',_0xe267e5,'isReadOnly',(_0x569bc0,_0x36f10d,_0x328750)=>_0x569bc0&&_0x36f10d&&!_0x328750),_0x19d71a['buttonView']['set']({'icon':_0x2517eb['history'],'label':y(_0x47fd16,'Revision\x20history'),'tooltip':!0x0}),_0x54eabd['set']({'label':y(_0x47fd16,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x54eabd['bind']('isEnabled')['to'](_0x339d6a,'isReady',_0x339d6a,'isEnabled',_0xe267e5,'isReadOnly',(_0x520b57,_0xa7b482,_0x1aefca)=>_0x520b57&&_0xa7b482&&!_0x1aefca),_0x54eabd['on']('execute',()=>this['_showDialog']()),_0x3478e7['set']({'label':y(_0x47fd16,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x3478e7['bind']('isEnabled')['to'](_0x339d6a,'isReady',_0xe267e5,'isReadOnly',(_0x21385b,_0x4946fb)=>_0x21385b&&!_0x4946fb),_0x3478e7['on']('execute',()=>{_0xe267e5['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x19d71a['isOpen']=!0x1,_0xe267e5['editing']['view']['focus']();}),_0xceb4b1['children']['add'](_0x54eabd),_0x30c378['children']['add'](_0x3478e7),_0x5c2650['role']='menu',_0x5c2650['items']['addMany']([_0xceb4b1,_0x30c378]),_0x47e40c['add'](_0x5c2650),_0x19d71a;}),_0xe267e5['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x114007=this['editor'],_0x5d5b42=_0x114007['locale'],_0x268926=new _0x1b5ca3(_0x5d5b42),_0x48e29c=new _0x44ef10(_0x5d5b42);_0x268926['buttonView']['set']({'icon':_0x2517eb['history'],'label':y(_0x5d5b42,'Revision\x20history')});const _0x455000=new _0x1f12e9(_0x5d5b42,_0x268926),_0xf8dd21=new _0x3e2ad6(_0x5d5b42);_0xf8dd21['set']({'label':y(_0x5d5b42,'Save\x20current\x20revision')}),_0xf8dd21['delegate']('execute')['to'](_0x268926),_0xf8dd21['on']('execute',()=>{this['_showDialog']();}),_0x455000['children']['add'](_0xf8dd21),_0x48e29c['items']['add'](_0x455000);const _0xa91d3a=new _0x1f12e9(_0x5d5b42,_0x268926),_0x5838a6=new _0x3e2ad6(_0x5d5b42);return _0x5838a6['set']({'label':y(_0x5d5b42,'Open\x20revision\x20history')}),_0x5838a6['delegate']('execute')['to'](_0x268926),_0x5838a6['on']('execute',()=>{_0x114007['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0xa91d3a['children']['add'](_0x5838a6),_0x48e29c['items']['add'](_0xa91d3a),_0x268926['panelView']['children']['add'](_0x48e29c),_0x268926;}['_showDialog'](){const _0x49f6aa=this['editor'],_0x719b16=_0x49f6aa['locale'],_0x30a798=_0x49f6aa['plugins']['get']('Dialog'),_0x1f840c=_0x49f6aa['plugins']['get']('RevisionTracker');function _0x2630ef(_0x22e297){_0x49f6aa['config']['get']('revisionHistory.requireRevisionName')&&''===_0x22e297['revisionName']?_0x22e297['revisionNameInputView']['errorText']=y(_0x719b16,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x49f6aa['plugins']['get'](l)['saveRevision']({'name':_0x22e297['revisionName']}),_0x30a798['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x2630ef(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x30a798['show']({'id':'revisionSave','title':y(_0x719b16,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x49f6aa['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x30a798['hide']()},{'label':y(_0x49f6aa['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x26731f){_0x26731f['bind']('isEnabled')['to'](_0x1f840c,'isReady',_0x1f840c,'isEnabled',_0x49f6aa,'isReadOnly',(_0x1b8a26,_0x207545,_0x32981f)=>_0x1b8a26&&_0x207545&&!_0x32981f);},'onExecute':()=>_0x2630ef(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x9ecc71=this['editor'],_0x5a8c3b=_0x9ecc71['locale'];this['_saveRevisionFormView']=new ns(_0x5a8c3b,_0x9ecc71['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x1cec7e{['changeId'];['_model'];constructor(_0x305cf9,_0x284189){super(_0x305cf9),this['_model']=_0x284189,this['changeId']=_0x284189['id'];const _0x1f2df7=this['bindTemplate'],_0x42a64a=y(_0x305cf9,_0x284189['data']['isSuggestion']?'Suggested\x20by':'add'==_0x284189['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x284189['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x1f2df7['to']('type',_0x15eb19=>'ck-revision-change__'+_0x15eb19)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x42a64a}]},{'text':'\x20'+_0x284189['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x49c563(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x5a5620){super(),this['id']=_0x5a5620['id']||_0x181127(),this['author']=_0x5a5620['author'],this['type']=_0x5a5620['type'],this['data']=_0x5a5620['data']||{},this['rootName']=_0x5a5620['rootName'],this['set']('createdAt',_0x5a5620['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(_0x521567,_0x2793e2){this['newRevisionId']=_0x521567,this['oldRevisionId']=_0x2793e2,this['changes']=new _0x9a0466();}['_setChanges'](_0x4cbd2a){for(const _0x1e09ba of _0x4cbd2a)this['changes']['add'](_0x1e09ba);}}const tt={'c':_0x180e8f,'a':_0x24b024,'e':_0x418b40,'r':_0x41f5cc,'u':_0x45744f};class d extends _0x5a4e73{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x51f416,_0x32fc92,A];}constructor(_0x422abd){super(_0x422abd),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',(_0x144a21,_0x573ce4,_0x549c88)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x3eaf8c=>{for(const _0x2d246f of this['editor']['editing']['view']['document']['roots'])_0x549c88?_0x3eaf8c['removeClass']('ck-editor__editable__overlay',_0x2d246f):_0x3eaf8c['addClass']('ck-editor__editable__overlay',_0x2d246f);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x1169c0=>null!==_0x1169c0),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x4af6ea,_0x29e9fb,_0x480efb)=>_0x4af6ea&&_0x480efb?_0x29e9fb['changes']['getIndex'](_0x480efb):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x46f040,_0x2f9de1)=>_0x46f040?_0x2f9de1['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x32fc92);}['init'](){const _0x3b1089=this['editor'],_0x569868=new yt(_0x3b1089,{'direction':'backward'}),_0x148dc5=new yt(_0x3b1089,{'direction':'forward'});(_0x3b1089['commands']['add']('showPreviousChange',_0x569868),_0x3b1089['commands']['add']('showNextChange',_0x148dc5),_0x3b1089['commands']['add']('restoreRevision',new bt(_0x3b1089)),this['on']('change:numberOfChanges',()=>{_0x569868['refresh'](),_0x148dc5['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x3b1089['enableReadOnlyMode']('revision-viewer'),_0x3b1089['plugins']['has']('WidgetToolbarRepository'))&&_0x3b1089['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x167e80){await this['loadRevisionData'](_0x167e80);const _0x3460e1={};for(const _0x5ef318 in _0x167e80['diffData']){if(_0x167e80['diffData'][_0x5ef318]['attachChange']&&!_0x167e80['diffData'][_0x5ef318]['attachChange']['isAttached'])continue;const _0x404434=this['_removeRevisionMarkers'](JSON['parse'](_0x167e80['diffData'][_0x5ef318]['insertions'])),_0x5319e1=this['editor']['editing']['view']['document'],_0x7ece3d=new _0x186b9b(_0x5319e1,_0x404434['map'](_0x408761=>this['_getViewObj'](_0x408761)));this['editor']['data']['processor']['useFillerType']('marked'),_0x3460e1[_0x5ef318]=this['editor']['data']['processor']['toData'](_0x7ece3d),this['editor']['data']['processor']['useFillerType']('default');}return _0x3460e1;}async['getRevisionRootsAttributes'](_0x281bd9){await this['loadRevisionData'](_0x281bd9);const _0x5c9314={};for(const _0x544675 in _0x281bd9['diffData'])_0x281bd9['diffData'][_0x544675]['attachChange']&&!_0x281bd9['diffData'][_0x544675]['attachChange']['isAttached']||(_0x5c9314[_0x544675]=_0x281bd9['diffData'][_0x544675]['attributesAfter']||{});return _0x5c9314;}['_removeRevisionMarkers'](_0x120029){return(_0x120029=_0x120029['filter'](_0x198492=>!_0x198492['name']||'revision-start'!==_0x198492['name']&&'revision-end'!==_0x198492['name']))['forEach'](_0x1299db=>{'string'!=typeof _0x1299db&&(_0x1299db['children']=this['_removeRevisionMarkers'](_0x1299db['children']),_0x1299db['attributes']=_0x1299db['attributes']['filter'](_0x40f4f4=>!_0x40f4f4[0x0]['startsWith']('data-revision-')));}),_0x120029;}async['compare'](_0x1d1225,_0x4cb29d,_0x8ed355=!0x1){if(!this['isEnabled'])return;const _0x3248e7=this['diff'],_0x5f3d16=this['repository'],_0x6595b6='string'==typeof _0x1d1225?_0x5f3d16['getRevision'](_0x1d1225):_0x1d1225,_0x2f4a56='string'==typeof _0x4cb29d?_0x5f3d16['getRevision'](_0x4cb29d):_0x4cb29d,_0x17c620=_0x6595b6['id'],_0xbab685=_0x2f4a56?_0x2f4a56['id']:null;if(!_0x8ed355&&this['diff']&&this['diff']['newRevisionId']===_0x17c620&&this['diff']['oldRevisionId']===_0xbab685)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x17c620,_0xbab685);const _0x2f09db=this['_getRevisionsRange'](_0x6595b6,_0x2f4a56,!0x0)['map'](_0x59eec2=>this['loadRevisionData'](_0x59eec2));return _0x2f09db['push'](new Promise(_0x4c3e61=>{setTimeout(_0x4c3e61,0x14);})),Promise['all'](_0x2f09db)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x4d4670=this['_getDiff'](_0x17c620,_0xbab685);for(const _0x4622f9 of _0x4d4670['changes'])this['_changeIdToChange']['set'](_0x4622f9['id'],_0x4622f9);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x101aed=>{for(const _0x497abd of this['editor']['model']['document']['getRootNames']())_0x101aed['detachRoot'](_0x497abd);for(const _0x2e809a of Object['keys'](_0x4d4670['model'])){const _0x4e17b7=_0x101aed['addRoot'](_0x2e809a);for(const _0x45b70d of Object['keys'](_0x4d4670['attributes'][_0x2e809a]))_0x101aed['setAttribute'](_0x45b70d,_0x4d4670['attributes'][_0x2e809a][_0x45b70d],_0x4e17b7);_0x101aed['insert'](_0x4d4670['model'][_0x2e809a],_0x4e17b7,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x4d4670['changes'])),this['isReady']=!0x0;})['catch'](_0x1361bf=>{console['error'](_0x1361bf),this['_cleanUp'](),_0x3248e7&&(this['diff']=_0x3248e7),this['isReady']=!0x0;});}['addRevisionData'](_0x1c9b9b,_0x11d39c){const _0x202b3b=this['repository']['createRevision'](_0x1c9b9b);return _0x202b3b['on']('_update',(_0xced68e,_0x546b7c,_0x3013d1)=>_0x11d39c(_0x546b7c,_0x3013d1,_0x202b3b)),this['repository']['addRevision'](_0x202b3b),_0x202b3b;}['loadRevisionData'](_0x23ff2d){if(!_0x23ff2d||_0x23ff2d['diffData'])return Promise['resolve']();{const _0x537c43=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x537c43,'revisionId':_0x23ff2d['id']})['then'](_0x461e6f=>{_0x23ff2d['_update']({'diffData':_0x461e6f['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},_0x29ba56=>{for(const _0x429196 of this['editor']['model']['document']['getRootNames']())_0x29ba56['detachRoot'](_0x429196);});}['_sortAndFilterDiffChanges'](_0x3b4b35){const _0x46082d=[],_0x36de3b=new Map();for(const _0x381748 of this['editor']['model']['document']['getRootNames']()){const _0x2535f1=this['editor']['editing']['view']['getDomRoot'](_0x381748);if(!_0x2535f1)continue;const _0xcd4520=_0x2535f1['getClientRects']()['item'](0x0);_0xcd4520&&(_0x46082d['push'](_0x381748),_0x36de3b['set'](_0x381748,_0xcd4520));}return _0x46082d['sort']((_0x805eb5,_0x45074b)=>{const _0xb26dab=_0x36de3b['get'](_0x805eb5),_0x4a787c=_0x36de3b['get'](_0x45074b);return _0xb26dab['y']-_0x4a787c['y']||_0xb26dab['x']-_0x4a787c['x'];}),(_0x3b4b35=_0x3b4b35['filter'](_0x33464b=>_0x46082d['includes'](_0x33464b['rootName'])))['sort']((_0x2103d9,_0xa0ed57)=>_0x46082d['indexOf'](_0x2103d9['rootName'])-_0x46082d['indexOf'](_0xa0ed57['rootName'])),_0x3b4b35;}['_makeTape'](_0x3f3be6){const _0x3d17c8=Array['from'](_0x3f3be6['markers'])['filter'](([_0x29c41e,_0x135579])=>_0x29c41e['startsWith']('revision:')&&!_0x135579['isCollapsed']),_0x302716=Array['from'](this['editor']['model']['createRangeIn'](_0x3f3be6)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x3d17c8['length'])for(const _0x2f5895 of _0x302716){const [_0x322183,_0x1a78a8]=_0x3d17c8[0x0],[,_0x2834fa,_0x1acd6b]=_0x322183['split'](':');if(_0x1a78a8['end']['isEqual'](_0x2f5895['nextPosition'])&&_0x3d17c8['shift'](),(_0x2f5895['previousPosition']['isEqual'](_0x1a78a8['start'])||_0x2f5895['previousPosition']['isAfter'](_0x1a78a8['start']))&&('insertion'==_0x2834fa?_0x2f5895['isAdded']={'userId':_0x1acd6b}:'deletion'==_0x2834fa&&(_0x2f5895['isRemoved']={'userId':_0x1acd6b})),0x0==_0x3d17c8['length'])break;}return _0x302716;}['_refreshStartEndIndex'](_0x2b93f4){const _0x2b22eb=new Map();for(let _0x3afb70=0x0;_0x3afb70<_0x2b93f4['length'];_0x3afb70++)'text'===_0x2b93f4[_0x3afb70]['type']?(_0x2b93f4[_0x3afb70]['item']['startIndex']=_0x3afb70,_0x2b93f4[_0x3afb70]['item']['endIndex']=_0x3afb70):('elementStart'===_0x2b93f4[_0x3afb70]['type']?_0x2b93f4[_0x3afb70]['item']['startIndex']=_0x3afb70:'elementEnd'===_0x2b93f4[_0x3afb70]['type']&&(_0x2b93f4[_0x3afb70]['item']['endIndex']=_0x3afb70),_0x2b22eb['set'](_0x2b93f4[_0x3afb70]['id'],_0x3afb70));for(const _0x1e9895 of _0x2b22eb['values']())'elementStart'===_0x2b93f4[_0x1e9895]['type']?_0x2b93f4[_0x1e9895]['item']['endIndex']=_0x2b22eb['get'](_0x2b93f4[_0x1e9895]['pairId']):'elementEnd'===_0x2b93f4[_0x1e9895]['type']&&(_0x2b93f4[_0x1e9895]['item']['startIndex']=_0x2b22eb['get'](_0x2b93f4[_0x1e9895]['pairId']));}['_processTape'](_0x28ccac){for(let _0x2ae445=0x0;_0x2ae445<_0x28ccac['length'];_0x2ae445++){if('elementStart'===_0x28ccac[_0x2ae445]['type'])_0x28ccac[_0x2ae445]['item']['startIndex']=_0x2ae445;else{if('elementEnd'===_0x28ccac[_0x2ae445]['type']){_0x28ccac[_0x2ae445]['item']['endIndex']=_0x2ae445;const _0x5d13f5=_0x28ccac[_0x2ae445]['item']['startIndex'];_0x28ccac[_0x5d13f5]['pairId']=_0x28ccac[_0x2ae445]['id'],_0x28ccac[_0x2ae445]['pairId']=_0x28ccac[_0x5d13f5]['id'];}else _0x28ccac[_0x2ae445]['item']['startIndex']=_0x2ae445,_0x28ccac[_0x2ae445]['item']['endIndex']=_0x2ae445,_0x28ccac[_0x2ae445]['pairId']=null;}_0x28ccac[_0x2ae445]['markersStart']||(_0x28ccac[_0x2ae445]['markersStart']=[],_0x28ccac[_0x2ae445]['markersEnd']=[]);}}['_markInsertions'](_0x555fbd,_0x420e4a){const _0x21fdb2=_0x555fbd['filter'](_0x36abd7=>!_0x36abd7['isAdded']);for(let _0x14726a=0x0;_0x14726a<_0x420e4a['length'];_0x14726a++)_0x420e4a[_0x14726a]['isAdded']&&(_0x21fdb2[_0x14726a]['isAdded']=_0x420e4a[_0x14726a]['isAdded']);}['_makeModelFromViewString'](_0x42c769){const _0x67e862=JSON['parse'](_0x42c769),_0x1aaf44=this['editor']['editing']['view']['document'],_0x2b81e4=new _0x186b9b(_0x1aaf44,_0x67e862['map'](_0x10fd02=>this['_getViewObj'](_0x10fd02)));return this['editor']['data']['toModel'](_0x2b81e4);}['_getViewObj'](_0x17d06f){const _0x3ac59e=this['editor']['editing']['view']['document'];if('string'==typeof _0x17d06f)return new _0x55bc93(_0x3ac59e,_0x17d06f);{const _0x9df3a3=_0x17d06f['children']['map'](_0x291c6e=>this['_getViewObj'](_0x291c6e));return new(tt[_0x17d06f['type']]||_0x2e9eb9)(_0x3ac59e,_0x17d06f['name'],_0x17d06f['attributes'],_0x9df3a3);}}['_getDiff'](_0x1ec400,_0x4d1cc0=null){const _0x1b8fe3=this['repository']['getRevision'](_0x1ec400),_0x214fb9=_0x4d1cc0?this['repository']['getRevision'](_0x4d1cc0):null,_0x15cf38=this['_getRevisionsRange'](_0x1b8fe3,_0x214fb9),_0x369e78=_0x15cf38[_0x15cf38['length']-0x1],_0x4d1913=new Map(),_0x512514={'model':{},'attributes':{},'changes':[]},_0x52dd59=new Set(),_0x2df5a3=new Map();for(let _0x5d7002=_0x15cf38['length']-0x1;_0x5d7002>=0x0;_0x5d7002--){const _0x4cd215=_0x15cf38[_0x5d7002];for(const _0x392862 of Object['keys'](_0x4cd215['diffData']))if(_0x4cd215['diffData'][_0x392862]['attachChange']){const _0x218d29=_0x4cd215['diffData'][_0x392862]['attachChange'];_0x218d29['isAttached']?(_0x52dd59['add'](_0x392862),_0x2df5a3['has'](_0x392862)&&_0x2df5a3['get'](_0x392862)['userId']==_0x218d29['userId']?_0x2df5a3['delete'](_0x392862):_0x2df5a3['set'](_0x392862,_0x218d29)):_0x2df5a3['has'](_0x392862)?(_0x52dd59['delete'](_0x392862),_0x2df5a3['delete'](_0x392862)):(_0x52dd59['add'](_0x392862),_0x2df5a3['set'](_0x392862,_0x218d29));}else _0x52dd59['add'](_0x392862);}for(const _0x1e429c of _0x52dd59){const _0x127e08=_0x2df5a3['has'](_0x1e429c)&&!_0x2df5a3['get'](_0x1e429c)['isAttached'];let _0x5e2a83=_0x127e08?_0x15cf38['length']-0x1:0x0;const _0x58cbcf=_0x127e08?-0x1:0x1;for(;_0x15cf38[_0x5e2a83];){const _0x5811ae=_0x15cf38[_0x5e2a83];if(_0x5811ae['diffData'][_0x1e429c]){const _0x13c234=_0x127e08?_0x5811ae['diffData'][_0x1e429c]['attributesBefore']:_0x5811ae['diffData'][_0x1e429c]['attributesAfter'];_0x512514['attributes'][_0x1e429c]=_0x13c234?_0x31666e(_0x13c234):{};break;}_0x5e2a83+=_0x58cbcf;}}for(const _0x2769af of _0x15cf38){_0x2769af['model']={};for(const _0x10d6fe of _0x2769af['authors'])_0x4d1913['set'](_0x10d6fe['id'],_0x10d6fe);for(const _0x123293 of _0x52dd59){const _0x127729=_0x2769af['diffData'][_0x123293]?_0x2769af['diffData'][_0x123293]['insertions']:'[]',_0x1cdf41=_0x2769af['diffData'][_0x123293]?_0x2769af['diffData'][_0x123293]['deletions']:'[]';_0x2769af['model'][_0x123293]={'insertions':this['_makeModelFromViewString'](_0x127729),'deletions':this['_makeModelFromViewString'](_0x1cdf41)};}}for(const _0x3e4ed3 of _0x52dd59){let _0x40334b=null,_0x37b31c=0x0;const _0x36264d=new Map(Array['from'](_0x1b8fe3['model'][_0x3e4ed3]['insertions']['markers'])['filter'](([_0x1b2b8b])=>!_0x1b2b8b['startsWith']('revision:')));let _0x4abd1f=0x0;for(const _0x22bdec of _0x15cf38){const _0x238067=this['_makeTape'](_0x22bdec['model'][_0x3e4ed3]['insertions']);_0x22bdec==_0x1b8fe3?(_0x40334b=_0x238067,_0x37b31c=_0x40334b['length'],_0x40334b['forEach'](_0x5d04f0=>{_0x5d04f0['id']=_0x4abd1f++;}),this['_processTape'](_0x40334b)):this['_markInsertions'](_0x40334b,_0x238067);const _0x2f5d3a=_0x40334b['filter'](_0x222b2b=>!_0x222b2b['isAdded'])['map'](_0x4e0580=>_0x4e0580['id']);let _0x35ac7b=0x0;const _0x1ea80f=this['_makeTape'](_0x22bdec['model'][_0x3e4ed3]['deletions']);_0x1ea80f['forEach'](_0x4c3546=>{_0x4c3546['isRemoved']?_0x4c3546['id']=_0x37b31c++:_0x4c3546['id']=_0x2f5d3a[_0x35ac7b++];}),this['_processTape'](_0x1ea80f),this['_setDistance'](_0x40334b,'isAdded'),this['_setDistance'](_0x1ea80f,'isRemoved'),_0x22bdec==_0x1b8fe3&&this['_markMarkers'](_0x40334b,_0x36264d),_0x40334b=this['_joinTapes'](_0x40334b,_0x1ea80f),this['_refreshStartEndIndex'](_0x40334b),this['_setDistance'](_0x40334b,'isRemoved');}_0x40334b=_0x40334b['filter'](_0x4a5643=>!(_0x4a5643['isAdded']&&_0x4a5643['isRemoved']));const _0x1538e1=new Map(_0x369e78['model'][_0x3e4ed3]['deletions']['markers']),_0x13f848=new Set(_0x36264d['keys']());for(const _0x36a654 of _0x1538e1['keys']())_0x13f848['delete'](_0x36a654);this['_markSuggestions'](_0x40334b,_0x13f848),this['_fixObsoleteTags'](_0x40334b),_0x40334b=this['_removeMissingPairs'](_0x40334b),_0x40334b=this['_markMismatchedRemovedTags'](_0x40334b),_0x40334b=this['_removeUnsupportedChanges'](_0x40334b);const {root:_0x33cdf8,changes:_0x540b81}=this['_makeModelFromTape'](_0x40334b,_0x4d1913,_0x3e4ed3);_0x512514['model'][_0x3e4ed3]=_0x33cdf8;const _0x2abe14=_0x2df5a3['get'](_0x3e4ed3);if(_0x2abe14){const _0x20ba37=_0x4d1913['get'](_0x2abe14['userId']),_0x5e58cc=new r({'author':_0x20ba37,'type':_0x2abe14['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x3e4ed3});_0x540b81['unshift'](_0x5e58cc),_0x512514['attributes'][_0x3e4ed3]['revisionHistoryAttachChange']=_0x5e58cc['id'];}_0x512514['changes']=_0x512514['changes']['concat'](_0x540b81);}return _0x512514;}['_markMarkers'](_0x184aad,_0x8dab6e){for(let _0x57c29f=0x0;_0x57c29f<_0x184aad['length'];_0x57c29f++)for(const [_0x9210f5,_0xa49d0b]of _0x8dab6e)_0xa49d0b['start']['isEqual'](_0x184aad[_0x57c29f]['previousPosition'])&&_0x184aad[_0x57c29f]['markersStart']['push'](_0x9210f5),_0xa49d0b['end']['isEqual'](_0x184aad[_0x57c29f]['nextPosition'])&&_0x184aad[_0x57c29f]['markersEnd']['push'](_0x9210f5);}['_joinTapes'](_0x1a3103,_0x885f8f){let _0xbf3313=[],_0x24ea42=0x0,_0x50ed0f=0x0;for(;_0x24ea42<_0x1a3103['length']||_0x50ed0f<_0x885f8f['length'];){const _0x22ee6f=_0x1a3103[_0x24ea42]||{},_0x32b01b=_0x885f8f[_0x50ed0f]||{};if(_0x22ee6f['id']==_0x32b01b['id'])_0x24ea42++,_0x50ed0f++,_0xbf3313['push'](_0x22ee6f);else{if(_0x32b01b['isRemoved']&&_0x22ee6f['isAdded']){const {commonTape:_0x5507a0,iEnd:_0x55e696,jEnd:_0x2cfccf}=this['_threeWayMerge'](_0x1a3103,_0x24ea42,_0x885f8f,_0x50ed0f);_0xbf3313=_0xbf3313['concat'](_0x5507a0),_0x24ea42=_0x55e696,_0x50ed0f=_0x2cfccf;}else _0x32b01b['isRemoved']?(_0x50ed0f++,_0xbf3313['push'](_0x32b01b)):(_0x24ea42++,_0xbf3313['push'](_0x22ee6f));}}return _0xbf3313;}['_markSuggestions'](_0x2a190f,_0x18ffa1){const _0x53cd9e=[];for(let _0x127b8f=0x0;_0x127b8f<_0x2a190f['length'];_0x127b8f++){for(let _0x4fb6c7=0x0;_0x4fb6c7<_0x2a190f[_0x127b8f]['markersStart']['length'];_0x4fb6c7++){const _0x80578a=_0x2a190f[_0x127b8f]['markersStart'][_0x4fb6c7];if(!_0x18ffa1['has'](_0x80578a))continue;const {group:_0x433927,type:_0x550f0d,authorId:_0x2ed233}=_0x544a7c(_0x80578a);'revision-suggestion'!=_0x433927||'insertion'!=_0x550f0d&&'deletion'!=_0x550f0d||(_0x53cd9e['unshift']({'type':_0x550f0d,'name':_0x80578a,'userId':_0x2ed233}),_0x2a190f[_0x127b8f]['markersStart']['splice'](_0x4fb6c7,0x1),_0x4fb6c7--);}_0x17a848(_0x2a190f[_0x127b8f]);for(let _0x30525d=0x0;_0x30525d<_0x2a190f[_0x127b8f]['markersEnd']['length'];_0x30525d++){const _0x5698a8=_0x2a190f[_0x127b8f]['markersEnd'][_0x30525d];if(!_0x18ffa1['has'](_0x5698a8))continue;const {group:_0x33c124,type:_0x344c52}=_0x544a7c(_0x5698a8);if('revision-suggestion'!=_0x33c124||'insertion'!=_0x344c52&&'deletion'!=_0x344c52)continue;_0x2a190f[_0x127b8f]['markersEnd']['splice'](_0x30525d,0x1),_0x30525d--;const _0x5b6eaa=_0x53cd9e['findIndex'](_0x2d292d=>_0x2d292d['name']==_0x5698a8);_0x5b6eaa>-0x1&&_0x53cd9e['splice'](_0x5b6eaa,0x1);}}function _0x544a7c(_0xb95506){const _0x59e497=_0xb95506['split'](':');return{'group':_0x59e497[0x0],'type':_0x59e497[0x1],'subType':_0x59e497['length']>=0x5?_0x59e497[0x2]:null,'id':_0x59e497['length']<0x5?_0x59e497[0x2]:_0x59e497[0x3],'authorId':_0x59e497['length']<0x5?_0x59e497[0x3]:_0x59e497[0x4],'markerCount':0x6==_0x59e497['length']?_0x59e497[0x5]:null};}function _0x17a848(_0x3a2459){for(let _0x4135d6=0x0;_0x4135d6<_0x53cd9e['length'];_0x4135d6++){if(_0x3a2459['isAdded']&&'insertion'==_0x53cd9e[_0x4135d6]['type'])return _0x3a2459['isAddSuggestion']=_0x53cd9e[_0x4135d6],void delete _0x3a2459['isAdded'];if(!_0x3a2459['isAdded']&&!_0x3a2459['isRemoved']&&'deletion'==_0x53cd9e[_0x4135d6]['type'])return void(_0x3a2459['isRemoveSuggestion']=_0x53cd9e[_0x4135d6]);}}}['_setDistance'](_0x4666a5,_0x1522b3){let _0x3c4f5b=0x0,_0x204804=!0x1;const _0x1dc197=new Map();for(const _0xa8959f of _0x4666a5)_0xa8959f[_0x1522b3]?_0x204804&&(_0x3c4f5b++,_0x204804=!0x1):(_0x3c4f5b++,_0x204804=!0x0),_0x1dc197['set'](_0xa8959f['id'],_0x3c4f5b);for(let _0x35a9b4=0x0;_0x35a9b4<_0x4666a5['length'];_0x35a9b4++){if('isRemoved'==_0x1522b3&&_0x4666a5[_0x35a9b4]['isAdded']||'isAdded'==_0x1522b3&&_0x4666a5[_0x35a9b4]['isRemoved'])continue;if('text'==_0x4666a5[_0x35a9b4]['type']){_0x4666a5[_0x35a9b4]['distance']=0x0;continue;}const _0x5e336f=_0x1dc197['get'](_0x4666a5[_0x35a9b4]['pairId']),_0x1317de=_0x1dc197['get'](_0x4666a5[_0x35a9b4]['id']);_0x4666a5[_0x35a9b4]['distance']=_0x5e336f-_0x1317de;}}['_getRevisionsRange'](_0x157874,_0xa1109b,_0xc38bd6=!0x1){const _0x13f233=[];let _0x4aa7b4=this['repository']['getIndex'](_0x157874),_0x1a37ce=this['repository']['getIndex'](_0xa1109b);for(-0x1==_0x1a37ce&&(_0x1a37ce=this['repository']['_revisions']['length'],_0xc38bd6=!0x1);_0x4aa7b4<_0x1a37ce;)_0x13f233['push'](this['repository']['getRevision'](_0x4aa7b4)),_0x4aa7b4++;return _0xc38bd6&&_0x13f233['push'](this['repository']['getRevision'](_0x4aa7b4)),_0x13f233;}['_threeWayMerge'](_0x575510,_0x29c42d,_0x3bc313,_0x1d9473){const _0x51a431=this['editor']['model']['schema'];let _0x170873=_0x29c42d;for(;_0x575510[_0x170873]&&_0x575510[_0x170873]['isAdded'];)_0x170873++;let _0x35b1d2=_0x1d9473;for(;_0x3bc313[_0x35b1d2]&&_0x3bc313[_0x35b1d2]['isRemoved'];)_0x35b1d2++;_0x12db8a(_0x575510,_0x29c42d,_0x170873),_0x12db8a(_0x3bc313,_0x1d9473,_0x35b1d2);const _0x5e6c3d=_0x3bc313['slice'](_0x1d9473,_0x35b1d2)['concat'](_0x575510['slice'](_0x29c42d,_0x170873));return _0x5e6c3d['sort']((_0x273f8e,_0x1db12d)=>_0x273f8e['side']!=_0x1db12d['side']?_0x273f8e['side']-_0x1db12d['side']:_0x273f8e['level']!=_0x1db12d['level']?_0x273f8e['level']-_0x1db12d['level']:_0x273f8e['distance']!=_0x1db12d['distance']?_0x1db12d['distance']-_0x273f8e['distance']:!!_0x273f8e['isAdded']!=!!_0x1db12d['isAdded']?-0x1==_0x273f8e['side']||0x0==_0x273f8e['side']?_0x273f8e['isAdded']?-0x1:0x1:_0x273f8e['isAdded']?0x1:-0x1:_0x273f8e['index']-_0x1db12d['index']),{'commonTape':_0x5e6c3d,'iEnd':_0x170873,'jEnd':_0x35b1d2};function _0x12db8a(_0x41d97f,_0x3770a9,_0x2be238){let _0x40cf5e=-0x1,_0x5d40e7=Number['POSITIVE_INFINITY'],_0x22fafa=!0x0;for(let _0xcbd702=_0x3770a9;_0xcbd702<_0x2be238;_0xcbd702++)if(_0x51a431['isInline'](_0x41d97f[_0xcbd702]['item'])||(_0x22fafa=!0x1),_0x41d97f[_0xcbd702]['item']['startIndex']<_0x3770a9&&(_0x40cf5e=_0xcbd702),_0x41d97f[_0xcbd702]['item']['endIndex']>=_0x2be238){_0x5d40e7=_0xcbd702;break;}_0x22fafa&&(_0x40cf5e=_0x2be238-0x1);for(let _0x5f2b3d=_0x3770a9;_0x5f2b3d<_0x2be238;_0x5f2b3d++)_0x41d97f[_0x5f2b3d]['side']=_0x5f2b3d<=_0x40cf5e?-0x1:_0x5f2b3d<_0x5d40e7?0x0:0x1,_0x41d97f[_0x5f2b3d]['index']=_0x5f2b3d;let _0x1eab68=0x0;for(let _0x37585e=_0x3770a9;_0x37585e<=_0x40cf5e;_0x37585e++)0x0==_0x41d97f[_0x37585e]['distance']?_0x41d97f[_0x37585e]['level']=_0x1eab68:(_0x1eab68++,_0x41d97f[_0x37585e]['level']=_0x1eab68,_0x1eab68++);for(let _0x324e0a=_0x3770a9;_0x324e0a<_0x2be238;_0x324e0a++)0x0==_0x41d97f[_0x324e0a]['side']&&(_0x41d97f[_0x324e0a]['level']=_0x1eab68);_0x1eab68=0x0;for(let _0x435b59=_0x2be238-0x1;_0x435b59>=_0x5d40e7;_0x435b59--)0x0==_0x41d97f[_0x435b59]['distance']?_0x41d97f[_0x435b59]['level']=_0x1eab68:(_0x1eab68--,_0x41d97f[_0x435b59]['level']=_0x1eab68,_0x1eab68--);}}['_fixObsoleteTags'](_0x4032c1){const _0x1c2ac4=new Map(),_0x16479f=this['editor']['model']['schema'];for(let _0x16562f=0x1;_0x16562f<_0x4032c1['length'];_0x16562f++){let _0x67b39b,_0x48a983,_0x329327;const _0x166fab=_0x4032c1[_0x16562f],_0x5c309a=_0x4032c1[_0x16562f-0x1];if('text'==_0x166fab['type'])continue;if(_0x166fab['type']!=_0x5c309a['type'])continue;if(!_0x16479f['isBlock'](_0x5c309a['item'])||_0x16479f['isLimit'](_0x5c309a['item']))continue;if(!_0x16479f['isBlock'](_0x166fab['item'])||_0x16479f['isLimit'](_0x166fab['item']))continue;if((_0x4032c1[_0x16562f]['isAdded']||_0x4032c1[_0x16562f]['isAddSuggestion'])&&_0x4032c1[_0x16562f-0x1]['isRemoved'])_0x67b39b=_0x4032c1[_0x16562f],_0x48a983=_0x4032c1[_0x16562f-0x1],_0x329327=_0x16562f-0x1;else{if(!_0x4032c1[_0x16562f]['isRemoved']||!_0x4032c1[_0x16562f-0x1]['isAdded']&&!_0x4032c1[_0x16562f-0x1]['isAddSuggestion'])continue;_0x67b39b=_0x4032c1[_0x16562f-0x1],_0x48a983=_0x4032c1[_0x16562f],_0x329327=_0x16562f;}const _0x39ae39=_0x67b39b['level']==_0x48a983['level'],_0x3f2a21=Math['abs'](_0x67b39b['level'])<Math['abs'](_0x48a983['level'])&&0x0==_0x48a983['distance'];(_0x39ae39||_0x3f2a21)&&(_0x1c2ac4['set'](_0x48a983['id'],_0x67b39b['id']),_0x4032c1['splice'](_0x329327,0x1),_0x16562f--,_0x67b39b['isAdded']=!0x1);}for(let _0x4a3d84=0x0;_0x4a3d84<_0x4032c1['length'];_0x4a3d84++)_0x1c2ac4['has'](_0x4032c1[_0x4a3d84]['pairId'])&&(_0x4032c1[_0x4a3d84]['pairId']=_0x1c2ac4['get'](_0x4032c1[_0x4a3d84]['pairId']));}['_removeMissingPairs'](_0x520390){const _0x3eaa71=new Set(_0x520390['map'](_0x94ef7f=>_0x94ef7f['id']));for(let _0x5341fe=0x0;_0x5341fe<_0x520390['length'];_0x5341fe++)_0x3eaa71['has'](_0x520390[_0x5341fe]['pairId'])||0x0==_0x520390[_0x5341fe]['distance']||(_0x520390[_0x5341fe]['isIncorrect']=!0x0);return _0x520390['filter'](_0x397e7f=>!_0x397e7f['isIncorrect']);}['_markMismatchedRemovedTags'](_0x106f17){const _0x2a1640=new Set();for(let _0x5d5fd8=0x0;_0x5d5fd8<_0x106f17['length'];_0x5d5fd8++){if(_0x2a1640['has'](_0x106f17[_0x5d5fd8]['id'])&&_0x106f17[_0x5d5fd8]['isRemoved']&&(_0x106f17[_0x5d5fd8]['isIncorrect']=!0x0),_0x106f17[_0x5d5fd8]['isIncorrect'])continue;if(0x0==_0x106f17[_0x5d5fd8]['distance'])continue;if('elementStart'!=_0x106f17[_0x5d5fd8]['type'])continue;if(null==_0x106f17[_0x5d5fd8]['pairId'])continue;let _0xfe4f34=_0x5d5fd8+0x1,_0x500df3=0x0;for(;_0x106f17[_0xfe4f34]['id']!=_0x106f17[_0x5d5fd8]['pairId'];)'elementStart'==_0x106f17[_0xfe4f34]['type']?_0x500df3++:'elementEnd'==_0x106f17[_0xfe4f34]['type']&&_0x500df3--,_0xfe4f34++;if(0x0!=_0x500df3){if(_0x106f17[_0x5d5fd8]['isRemoved'])_0x106f17[_0x5d5fd8]['isIncorrect']=!0x0;else{for(;_0xfe4f34!=_0x5d5fd8;)_0x106f17[_0xfe4f34]['isRemoved']&&0x0!=_0x106f17[_0xfe4f34]['distance']&&(_0x106f17[_0xfe4f34]['isIncorrect']=!0x0,_0x2a1640['add'](_0x106f17[_0xfe4f34]['pairId'])),_0xfe4f34--;}}}return _0x106f17['filter'](_0x5a6c8c=>!_0x5a6c8c['isIncorrect']);}['_removeUnsupportedChanges'](_0x129693){const _0x21f17c=this['editor']['model']['schema'];for(let _0x11c39d=0x0;_0x11c39d<_0x129693['length'];_0x11c39d++){if(!(_0x129693[_0x11c39d]['isAdded']||_0x129693[_0x11c39d]['isAddSuggestion']||_0x129693[_0x11c39d]['isRemoved']||_0x129693[_0x11c39d]['isRemoveSuggestion']))continue;if(0x0==_0x129693[_0x11c39d]['distance'])continue;const _0x232bdf=_0x129693[_0x11c39d]['item'];_0x21f17c['isBlock'](_0x232bdf)||_0x21f17c['isLimit'](_0x232bdf)||(_0x129693[_0x11c39d]['isAdded']&&delete _0x129693[_0x11c39d]['isAdded'],_0x129693[_0x11c39d]['isAddSuggestion']&&delete _0x129693[_0x11c39d]['isAddSuggestion'],_0x129693[_0x11c39d]['isRemoveSuggestion']&&delete _0x129693[_0x11c39d]['isRemoveSuggestion'],_0x129693[_0x11c39d]['isRemoved']&&(_0x129693[_0x11c39d]['isIncorrect']=!0x0));}return _0x129693['filter'](_0x4a584c=>!_0x4a584c['isIncorrect']);}['_makeModelFromTape'](_0x547a8d,_0x27e46e,_0x174977){const _0x192844=new wt(),_0xa12e2e=[],_0x2dc20f=new Map(),_0x1a13ae=this['editor']['model'],_0x153c94=_0x1a13ae['schema'],_0x3c7006=[_0x192844],_0x890e29={},_0xa1004a={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x411651=null;const _0xefb179=[0x0];for(let _0x48d50a=0x0;_0x48d50a<_0x547a8d['length'];_0x48d50a++){let _0x2fe74d,_0x5d1f15;if('elementStart'===_0x547a8d[_0x48d50a]['type']){_0x2fe74d=_0x1a13ae['createPositionFromPath'](_0x192844,_0xefb179);const _0xc185a3=new ft(_0x547a8d[_0x48d50a]['item']['name'],_0x547a8d[_0x48d50a]['item']['getAttributes']());_0x3c7006[0x0]['_appendChild'](_0xc185a3),_0xefb179['push'](0x0),_0x3c7006['unshift'](_0xc185a3),_0x5d1f15=_0x1a13ae['createPositionFromPath'](_0x192844,_0xefb179),_0x411651=null;}else{if('elementEnd'===_0x547a8d[_0x48d50a]['type'])_0x3c7006['shift'](),_0x2fe74d=_0x1a13ae['createPositionFromPath'](_0x192844,_0xefb179),_0xefb179['pop'](),_0xefb179[_0xefb179['length']-0x1]++,_0x5d1f15=_0x1a13ae['createPositionFromPath'](_0x192844,_0xefb179),_0x411651=null;else{if(_0x2fe74d=_0x1a13ae['createPositionFromPath'](_0x192844,_0xefb179),_0x411651&&_0x36fc02(_0x411651,_0x547a8d[_0x48d50a]['item']))_0x411651['_data']+=_0x547a8d[_0x48d50a]['item']['data'];else{const _0x1e3260=new _t(_0x547a8d[_0x48d50a]['item']['data'],_0x547a8d[_0x48d50a]['item']['getAttributes']());_0x3c7006[0x0]['_appendChild'](_0x1e3260),_0x411651=_0x1e3260;}_0xefb179[_0xefb179['length']-0x1]+=_0x547a8d[_0x48d50a]['item']['offsetSize'],_0x5d1f15=_0x1a13ae['createPositionFromPath'](_0x192844,_0xefb179);}}for(const _0x4e8274 of _0x547a8d[_0x48d50a]['markersStart'])_0x2dc20f['set'](_0x4e8274,{'start':_0x2fe74d,'end':null});_0x18dee3('isRemoveSuggestion',_0x48d50a,_0x2fe74d,_0x5d1f15),_0x18dee3('isAddSuggestion',_0x48d50a,_0x2fe74d,_0x5d1f15),_0x18dee3('isRemoved',_0x48d50a,_0x2fe74d,_0x5d1f15),_0x18dee3('isAdded',_0x48d50a,_0x2fe74d,_0x5d1f15);for(const _0x32d8c4 of _0x547a8d[_0x48d50a]['markersEnd']){_0x2dc20f['get'](_0x32d8c4)['end']=_0x5d1f15;}}for(const [_0x29b8e9,_0x5f1237]of _0x2dc20f){const _0x4500fb=this['editor']['model']['createRange'](_0x5f1237['start'],_0x5f1237['end']);_0x192844['markers']['set'](_0x29b8e9,_0x4500fb);}return _0xa12e2e['sort']((_0xe67c07,_0x2e4a63)=>{const _0x31a456=_0x192844['markers']['get']('revision:'+_0xe67c07['id']),_0x357371=_0x192844['markers']['get']('revision:'+_0x2e4a63['id']);return _0x31a456['start']['isBefore'](_0x357371['start'])?-0x1:_0x31a456['start']['isAfter'](_0x357371['start'])?0x1:_0x31a456['end']['isBefore'](_0x357371['end'])?-0x1:_0x31a456['end']['isAfter'](_0x357371['end'])?0x1:'add'===_0xe67c07['type']?-0x1:0x1;}),{'root':_0x192844,'changes':_0xa12e2e};function _0x18dee3(_0x3f4ee3,_0x1bc200,_0x4c4faf,_0x524975){const _0x58fdd2=!!_0x547a8d[_0x1bc200][_0x3f4ee3],_0x144260=_0x58fdd2?_0x547a8d[_0x1bc200][_0x3f4ee3]['userId']:null,_0x3238cf=_0x1bc200===_0x547a8d['length']-0x1,_0xd71ee5=_0xa1004a[_0x3f4ee3][0x0],_0x565da8=_0x153c94['isObject'](_0x547a8d[_0x1bc200]['item']);!_0x890e29[_0x3f4ee3]&&_0x58fdd2?_0x890e29[_0x3f4ee3]={'start':_0x4c4faf,'tapeItem':_0x547a8d[_0x1bc200],'userId':_0x144260,'type':_0x3f4ee3}:_0x890e29[_0x3f4ee3]&&!_0x58fdd2?(_0x890e29[_0x3f4ee3]['end']=_0x4c4faf,_0x5c96ec(_0x890e29[_0x3f4ee3]),_0x890e29[_0x3f4ee3]=null):_0x890e29[_0x3f4ee3]&&_0x58fdd2&&_0x890e29[_0x3f4ee3]['userId']!==_0x144260&&(_0x890e29[_0x3f4ee3]['end']=_0x4c4faf,_0xd71ee5&&_0xd71ee5['userId']===_0x890e29[_0x3f4ee3]['userId']||_0x5c96ec(_0x890e29[_0x3f4ee3]),_0x890e29[_0x3f4ee3]={'start':_0x4c4faf,'tapeItem':_0x547a8d[_0x1bc200],'userId':_0x144260,'type':_0x3f4ee3}),_0x890e29[_0x3f4ee3]&&_0x565da8&&('elementStart'!==_0x547a8d[_0x1bc200]['type']||_0xd71ee5&&_0xd71ee5['userId']===_0x144260||_0xa1004a[_0x3f4ee3]['unshift']({'userId':_0x144260,'object':_0x547a8d[_0x1bc200]['item'],'change':_0x890e29[_0x3f4ee3]}),'elementEnd'===_0x547a8d[_0x1bc200]['type']&&_0xd71ee5&&_0xd71ee5['object']===_0x547a8d[_0x1bc200]['item']&&(_0xa1004a[_0x3f4ee3]['shift'](),_0x890e29[_0x3f4ee3]=_0xd71ee5['change'])),_0x890e29[_0x3f4ee3]&&_0x3238cf&&(_0x890e29[_0x3f4ee3]['end']=_0x524975,_0x5c96ec(_0x890e29[_0x3f4ee3]),_0x890e29[_0x3f4ee3]=null);}function _0x5c96ec({start:_0x142532,end:_0x31b221,tapeItem:_0x2eaa31,userId:_0x5a5749,type:_0x1fc6b9}){const _0x28228a=_0x2eaa31['item'],_0x27de55=_0x1a13ae['schema']['isBlock'](_0x28228a)&&!_0x1a13ae['schema']['isLimit'](_0x28228a),_0x143646=_0x142532['nodeAfter']==_0x31b221['parent']&&_0x31b221['isAtStart'];if(_0x27de55&&_0x143646)return;const _0x37a59c=_0x1a13ae['createRange'](_0x142532,_0x31b221),_0x5e4571=_0x27e46e['get'](_0x5a5749),_0x3ae472=new r({'author':_0x5e4571,'type':'isAdded'==_0x1fc6b9||'isAddSuggestion'==_0x1fc6b9?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x1fc6b9||'isRemoveSuggestion'==_0x1fc6b9},'createdAt':new Date(),'rootName':_0x174977});_0xa12e2e['push'](_0x3ae472),_0x192844['markers']['set']('revision:'+_0x3ae472['id'],_0x37a59c);}function _0x36fc02(_0x28bb35,_0x546875){const _0x59c1bd=_0x28bb35['getAttributes'](),_0x435c04=_0x546875['getAttributes']();for(const _0x4b3886 of _0x59c1bd){if(_0x4b3886[0x1]!==_0x546875['getAttribute'](_0x4b3886[0x0]))return!0x1;_0x435c04['next']();}return _0x435c04['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x190247=>{const _0x40be41=_0x190247['markerName']['split'](':')[0x1],_0x3cdcfa=this['_getChangeFromId'](_0x40be41);if(!_0x3cdcfa)return null;const _0x28ad20='add'==_0x3cdcfa['type']?'insertion':'deletion',_0xf79c03=['ck-suggestion-marker','ck-suggestion-marker-'+_0x28ad20];return _0x3cdcfa['data']['isSuggestion']&&_0xf79c03['push']('ck-suggestion-marker-'+_0x28ad20+'-new'),this['activeChange']==_0x3cdcfa&&_0xf79c03['push']('ck-suggestion-marker--active'),{'classes':_0xf79c03,'attributes':{'data-change-id':_0x40be41}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x4b1e28=>{_0x4b1e28['on']('element:pre',(_0x31122a,_0x3afca6,_0x1c537f)=>{const _0x533e67=_0x3afca6['viewItem']['getChild'](0x0);if(!_0x533e67||!_0x533e67['is']('element','code'))return;if(!_0x1c537f['consumable']['consume'](_0x533e67,{'attributes':['vid_start','vid_end']}))return;const _0x282379=_0x3afca6['modelRange']['start']['nodeAfter'];_0x1c537f['writer']['setAttribute']('vid_start',_0x533e67['getAttribute']('vid_start'),_0x282379),_0x1c537f['writer']['setAttribute']('vid_end',_0x533e67['getAttribute']('vid_end'),_0x282379);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x128597=>{_0x128597['on']('element',(_0x194d34,_0x38efc1,_0xe61f30)=>{if(!_0xe61f30['consumable']['consume'](_0x38efc1['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x38efc1['modelRange']['isCollapsed'])return;const _0x28d688=_0x38efc1['modelRange']['start']['nodeAfter'];_0x28d688['hasAttribute']('vid_start')||_0x28d688['hasAttribute']('vid')||(_0xe61f30['writer']['setAttribute']('vid_start',_0x38efc1['viewItem']['getAttribute']('vid_start'),_0x28d688),_0xe61f30['writer']['setAttribute']('vid_end',_0x38efc1['viewItem']['getAttribute']('vid_end'),_0x28d688));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x650b4d=>_0x650b4d['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x21bbdf,[,_0x137df6])=>{['vid_start','vid_end','vid']['includes'](_0x137df6)&&(_0x21bbdf['return']=!0x0,_0x21bbdf['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x395e33=>{_0x395e33['on']('attribute:vid',(_0x26dca1,_0x38aa0a,_0x7b2410)=>{if('\x20'!=_0x38aa0a['item']['data']||_0x38aa0a['item']['parent']['maxOffset']>0x1)return;if(!_0x7b2410['consumable']['consume'](_0x38aa0a['item'],_0x26dca1['name']))return;const _0x5b90dc=_0x7b2410['writer'],_0x565753=_0x7b2410['mapper']['toViewRange'](_0x38aa0a['range']);_0x5b90dc['wrap'](_0x565753,_0x5b90dc['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x14c515){const _0x3025df=_0x14c515['plugins']['get']('RevisionViewer');return(_0x5d1699,_0x2d6867,_0x8d3d9a)=>{const _0x559d46=_0x2d6867['markerName']['split'](':')[0x1],_0x4dd9e6=_0x3025df['_getChangeFromId'](_0x559d46);if(!_0x4dd9e6)return null;const _0x11d75b='add'==_0x4dd9e6['type']?'split':'merge';if(!_0x8d3d9a['consumable']['test'](_0x2d6867['markerRange'],_0x5d1699['name']))return;const _0xa74e4b=_0x2d6867['markerRange']['getWalker'](),_0x5c1361=_0x2d6867['markerRange']['start'],_0x57a15e=_0x14c515['model']['schema'];let _0x496a40=null,_0x17f22a=null,_0x3a86ca=!0x1,_0x3163a9=!0x1;for(const _0xadd3ee of _0xa74e4b){const _0x14ff4a=_0xadd3ee['item'];_0x3a86ca=_0x3a86ca||_0x57a15e['isContent'](_0x14ff4a);const _0x13e305=_0x8d3d9a['mapper']['toViewElement'](_0x14ff4a);if(_0x13e305&&_0x13e305['getCustomProperty']('addHighlight'))return;'elementEnd'==_0xadd3ee['type']&&(_0x57a15e['isBlock'](_0x14ff4a)&&!_0x57a15e['isLimit'](_0x14ff4a)&&(_0x14ff4a['nextSibling']||_0x5c1361['isAtEnd']?_0x496a40&&_0x496a40['parent']==_0x14ff4a||(_0x496a40=_0x14ff4a,_0x3668b2(_0xadd3ee['previousPosition']),_0x3163a9=!0x0):_0x17f22a=_0x17f22a||_0xadd3ee['previousPosition']));}function _0x3668b2(_0x40c82c){const _0x25aef8=_0x8d3d9a['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x11d75b}),_0xb4be9d=_0x8d3d9a['mapper']['toViewPosition'](_0x40c82c);_0x4dd9e6['data']['isSuggestion']&&_0x8d3d9a['writer']['addClass']('ck-suggestion-marker-'+_0x11d75b+'-new',_0x25aef8),_0x3025df['activeChange']==_0x4dd9e6&&_0x8d3d9a['writer']['addClass']('ck-suggestion-marker--active',_0x25aef8),_0x8d3d9a['writer']['insert'](_0xb4be9d,_0x25aef8),_0x8d3d9a['mapper']['bindElementToMarker'](_0x25aef8,_0x2d6867['markerName']);}_0x3a86ca||_0x3163a9||!_0x17f22a||_0x3668b2(_0x17f22a);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x20bf07,_0x3cc1f1,_0x85ac7b)=>{const _0x548cc2=_0x85ac7b['mapper']['markerNameToElements'](_0x3cc1f1['markerName']);if(_0x548cc2){for(const _0x1249d6 of _0x548cc2)(_0x1249d6['hasClass']('ck-suggestion-marker-split')||_0x1249d6['hasClass']('ck-suggestion-marker-merge'))&&(_0x85ac7b['mapper']['unbindElementFromMarkerName'](_0x1249d6,_0x3cc1f1['markerName']),_0x85ac7b['writer']['remove'](_0x1249d6));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x4190b3,_0x56d7ff,_0x5265fd)=>{const _0x5a8481=_0x56d7ff['markerName']['split'](':')[0x1],_0x4be656=this['_getChangeFromId'](_0x5a8481);if(!_0x4be656)return null;const _0x4e035d='add'==_0x4be656['type']?'split':'merge';if(_0x5265fd['consumable']['test'](_0x56d7ff['markerRange'],_0x4190b3['name']))for(const _0x17b891 of _0x56d7ff['markerRange']['getItems']()){if(!_0x17b891['is']('element','softBreak'))continue;const _0x405128=_0x5265fd['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4e035d}),_0x3b13cc=_0x5265fd['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x17b891));_0x4be656['data']['isSuggestion']&&_0x5265fd['writer']['addClass']('ck-suggestion-marker-'+_0x4e035d+'-new',_0x405128),this['activeChange']==_0x4be656&&_0x5265fd['writer']['addClass']('ck-suggestion-marker--active',_0x405128),_0x5265fd['writer']['insert'](_0x3b13cc,_0x405128),_0x5265fd['mapper']['bindElementToMarker'](_0x405128,_0x56d7ff['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x1cc5c6=>{for(const _0x29815c of this['editor']['model']['document']['getRootNames']()){const _0x31dae5=this['editor']['model']['document']['getRoot'](_0x29815c),_0xa2e5fa=this['editor']['editing']['view']['document']['getRoot'](_0x29815c);if(_0xa2e5fa){const _0x3db839=_0x31dae5['getAttribute']('revisionHistoryAttachChange');if(_0x1cc5c6['removeAttribute']('data-change-id',_0xa2e5fa),_0x1cc5c6['removeClass']('ck-revision-history-root-add',_0xa2e5fa),_0x1cc5c6['removeClass']('ck-revision-history-root-remove',_0xa2e5fa),_0x1cc5c6['removeClass']('ck-revision-history-root--active',_0xa2e5fa),_0x3db839){const _0x33b0b0=this['_getChangeFromId'](_0x3db839);if(!_0x33b0b0)return null;_0x1cc5c6['setAttribute']('data-change-id',_0x3db839,_0xa2e5fa),_0x1cc5c6['addClass']('ck-revision-history-root-'+_0x33b0b0['type'],_0xa2e5fa),this['activeChange']==_0x33b0b0&&_0x1cc5c6['addClass']('ck-revision-history-root--active',_0xa2e5fa);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x4db93d=>'revision-comment:'+_0x4db93d,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x53db85=>'revision-suggestion:'+_0x53db85,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x30ef2a=>({'name':'suggestion:'+_0x30ef2a,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x36f92b=>{const _0x1a1366=_0x36f92b['markerName']['split'](':')[0x1];return'insertion'!=_0x1a1366&&'deletion'!=_0x1a1366?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x1a1366]};}}),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',(_0x14ba7f,_0x52828b,_0x279b45)=>{const _0x5b7e10=_0x279b45['mapper']['markerNameToElements'](_0x52828b['markerName']);if(_0x5b7e10){for(const _0x180afa of _0x5b7e10)_0x180afa['is']('uiElement')&&(_0x279b45['mapper']['unbindElementFromMarkerName'](_0x180afa,_0x52828b['markerName']),_0x279b45['writer']['remove'](_0x180afa));}},{'priority':'high'});}['_getChangeFromId'](_0x24b739){return this['_changeIdToChange']['get'](_0x24b739);}['_getViewForChange'](_0x2c0dee){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x2c0dee),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x5a728c,_0x4008a1,_0x2e08fa,_0x4c3977)=>{_0x4c3977&&this['_balloon']['remove'](_0x4c3977),_0x2e08fa&&(this['_balloon']['add']({'view':_0x2e08fa,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x26ab3c=this['editor']['editing'],_0xf03988=this['_getChangeFromId'](_0x2e08fa['changeId']);let _0x5e17e6;if(_0xf03988['data']['isOnRoot']){const _0x2cfd7f=_0x26ab3c['view']['getDomRoot'](_0xf03988['rootName']);_0x5e17e6=Array['from'](_0x2cfd7f['getClientRects']());}else{const _0x346256=this['editor']['model']['markers']['get']('revision:'+_0x2e08fa['changeId']);_0x5e17e6=Array['from'](_0x26ab3c['mapper']['markerNameToElements'](_0x346256['name']))['map'](_0x435fc9=>_0x26ab3c['view']['domConverter']['mapViewToDom'](_0x435fc9))['map'](_0x4dbd39=>Array['from'](_0x4dbd39['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x5e17e6[0x0];return _0x5e17e6['find'](_0x12f19c=>_0x12f19c['top']-0x3<=this['_activeViewTarget']['y']&&_0x12f19c['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x12f19c['left']-0x3<=this['_activeViewTarget']['x']&&_0x12f19c['right']+0x3>=this['_activeViewTarget']['x'])||_0x5e17e6[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x509725,_0x7390ed,_0x42f483,_0x590bcf)=>{this['activeView']=_0x42f483?this['_getViewForChange'](_0x42f483):null,this['editor']['model']['change'](()=>{const _0x2f0979=this['editor']['editing'];_0x590bcf&&(_0x590bcf['data']['isOnRoot']?_0x2f0979['view']['change'](_0x1eb96a=>{_0x1eb96a['removeClass']('ck-revision-history-root--active',_0x2f0979['view']['document']['getRoot'](_0x590bcf['rootName']));}):_0x2f0979['reconvertMarker']('revision:'+_0x590bcf['id'])),_0x42f483&&(_0x42f483['data']['isOnRoot']?_0x2f0979['view']['change'](_0x5783bf=>{_0x5783bf['addClass']('ck-revision-history-root--active',_0x2f0979['view']['document']['getRoot'](_0x42f483['rootName']));}):_0x2f0979['reconvertMarker']('revision:'+_0x42f483['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x574fda,_0x339ab2)=>{if(this['activeChange'])return;const _0x1085db=this['_findChangeIdFromDomTarget'](_0x339ab2['target']),_0x8ba5cb=this['_changeIdToChange']['get'](_0x1085db);_0x8ba5cb?(this['_activeViewTarget']={'x':_0x339ab2['domEvent']['x'],'y':_0x339ab2['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x8ba5cb)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x4de536,_0x32d041)=>{const _0x4f9455=this['_findChangeIdFromDomTarget'](_0x32d041['target']),_0x54bc12=this['_changeIdToChange']['get'](_0x4f9455);_0x54bc12?(this['_activeViewTarget']={'x':_0x32d041['domEvent']['x'],'y':_0x32d041['domEvent']['y']},_0x54bc12===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x54bc12):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x1ae642){do{const _0x2a5c36=_0x1ae642['getAttribute']('data-change-id');if(_0x2a5c36)return _0x2a5c36;_0x1ae642=_0x1ae642['parent'];}while(_0x1ae642);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x54dfa4=>{for(const _0x3ed458 of this['editor']['model']['markers'])_0x54dfa4['removeMarker'](_0x3ed458);});}}function et(_0x1d5f80,_0x30b56d){return(_0x57a692,_0x38c68f,_0xc54c5c)=>{if(!_0xc54c5c['consumable']['test'](_0x38c68f['markerRange'],_0x57a692['name']))return;const _0x24a5ad=_0x38c68f['markerRange']['getWalker'](),_0x55a201=_0x38c68f['markerRange']['start'],_0x481b2e=_0x1d5f80['model']['schema'];let _0x55a19e=null,_0x349ca4=null,_0x13937b=!0x1,_0x40dd3a=!0x1;for(const _0x41a506 of _0x24a5ad){const _0x53e5cf=_0x41a506['item'];_0x13937b=_0x13937b||_0x481b2e['isContent'](_0x53e5cf);const _0x20ac11=_0xc54c5c['mapper']['toViewElement'](_0x53e5cf);if(_0x20ac11&&_0x20ac11['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x41a506['type']&&(_0x481b2e['isBlock'](_0x53e5cf)&&!_0x481b2e['isLimit'](_0x53e5cf)&&(_0x53e5cf['nextSibling']||_0x55a201['isAtEnd']?_0x55a19e&&_0x55a19e['parent']==_0x53e5cf||(_0x55a19e=_0x53e5cf,_0x4d7539(_0x41a506['previousPosition']),_0x40dd3a=!0x0):_0x349ca4=_0x349ca4||_0x41a506['previousPosition']));}function _0x4d7539(_0x22f65a){const _0x4488fd=_0xc54c5c['mapper']['toViewPosition'](_0x22f65a),_0x2ef479=_0xc54c5c['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x30b56d});_0xc54c5c['writer']['insert'](_0x4488fd,_0x2ef479),_0xc54c5c['mapper']['bindElementToMarker'](_0x2ef479,_0x38c68f['markerName']);}_0x13937b||_0x40dd3a||!_0x349ca4||_0x4d7539(_0x349ca4);};}class bt extends _0x203086{constructor(_0x79e041){super(_0x79e041);const _0x12ae78=_0x79e041['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x12ae78,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x12ae78,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x211de9=this['editor'],_0x9a5f60=_0x211de9['plugins']['get'](d),_0x1934dc=_0x9a5f60['isReady']?_0x9a5f60['diff']['newRevisionId']:null;_0x211de9['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1934dc);}['refresh'](){const {isReady:_0x3f4f1e,isEnabled:_0x1b9a96}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x3f4f1e&&_0x1b9a96;}}class yt extends _0x203086{['_step'];constructor(_0x28d7fa,{direction:_0xfa242b}){super(_0x28d7fa);const _0x3908f0=_0x28d7fa['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0xfa242b?0x1:-0x1,this['listenTo'](_0x3908f0,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x3908f0,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x3908f0,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x3365b9=this['editor'],_0x395bb9=_0x3365b9['plugins']['get'](d),{isNavigationMode:_0x29a2b8,currentChangeNumber:_0x493a05}=_0x395bb9;let _0x1c7067;if(_0x395bb9['activeChange']=_0x29a2b8?_0x395bb9['diff']['changes']['get'](_0x493a05+this['_step']):_0x395bb9['diff']['changes']['first'],_0x395bb9['activeChange']['data']['isOnRoot'])_0x1c7067=_0x3365b9['editing']['view']['getDomRoot'](_0x395bb9['activeChange']['rootName']);else{const _0x15d281=_0x3365b9['model']['markers']['get']('revision:'+_0x395bb9['activeChange']['id']);_0x1c7067=_0x15c700(_0x3365b9['editing'],_0x15d281);}_0x32049e({'target':_0x1c7067,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x5cd8b6,currentChangeNumber:_0x1051af,numberOfChanges:_0x556fc8,isReady:_0x3c4a19,isEnabled:_0x2de86e}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x2de86e&&_0x3c4a19&&_0x556fc8)&&(!_0x5cd8b6||(0x1===this['_step']?_0x1051af<_0x556fc8-0x1:_0x1051af>0x0));}}class _i extends _0x1cec7e{constructor(_0x45dba6){super(_0x45dba6);const _0x5525e1=this['bindTemplate'],_0x5be5bb=new _0x5296c0(_0x45dba6),_0x3bea74=new _0x5296c0(_0x45dba6);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',(_0x2499d5,_0x59b0f8)=>_0x2499d5&&_0x59b0f8>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x4146ce,_0x4b5f35,_0xc2249b,_0x12108)=>{if(!_0x4146ce)return y(_0x45dba6,'Loading...');if(!_0xc2249b)return y(_0x45dba6,'No\x20changes');const _0x67bc27=y(_0x45dba6,'NUMBER_OF_CHANGES',_0xc2249b);return _0x12108?y(_0x45dba6,'X_OF_Y_CHANGES',[_0x4b5f35+0x1,_0xc2249b]):_0x67bc27;}),_0x5be5bb['set']({'label':y(_0x45dba6,'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'}),_0x3bea74['set']({'label':y(_0x45dba6,'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'}),_0x5be5bb['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x3bea74['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x5be5bb['on']('execute',()=>this['fire']('execute','backward')),_0x3bea74['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',_0x5525e1['if']('_isStatusLabelVisible','ck-hidden',_0x50062b=>!_0x50062b)]},'children':[{'text':_0x5525e1['to']('isNavigationMode',_0x144303=>_0x144303?y(_0x45dba6,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x45dba6,'Total')+':\x20')}]},{'text':_0x5525e1['to']('_statusText')}]},new _0x5416f0(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x5be5bb,_0x3bea74]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x5a4e73{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x350723=this['editor']['editing']['view'];_0x350723['change'](_0x2b180f=>{for(const _0x6a9ec8 of _0x350723['document']['roots'])_0x2b180f['addClass'](ce,_0x6a9ec8);});}['hide'](){const _0x2d2f60=this['editor']['editing']['view'];_0x2d2f60['change'](_0x25f7ae=>{for(const _0xa7274f of _0x2d2f60['document']['roots'])_0x25f7ae['removeClass'](ce,_0xa7274f);});}}class R extends _0x5a4e73{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x128c16=this['editor'],_0x2cbb48=_0x128c16['plugins']['get'](d),_0x493c4a=_0x128c16['plugins']['get'](de);_0x128c16['ui']['componentFactory']['add']('exitToEditing',_0x21f476=>{const _0x207cd2=new _0x5296c0(_0x21f476);return _0x207cd2['set']({'label':y(_0x21f476,'Back\x20to\x20editing'),'icon':_0x2517eb['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x207cd2,'execute',()=>{_0x128c16['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x207cd2;}),_0x128c16['ui']['componentFactory']['add']('restoreRevision',_0x5965ac=>{const _0x265485=new _0x5296c0(_0x5965ac);return _0x265485['set']({'label':y(_0x5965ac,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x265485['bind']('isEnabled')['to'](_0x128c16['commands']['get']('restoreRevision')),this['listenTo'](_0x265485,'execute',()=>_0x128c16['execute']('restoreRevision')),_0x265485;}),_0x128c16['ui']['componentFactory']['add']('changesNavigation',_0x3335a=>{const _0x1030ff=new _i(_0x3335a),_0x40b8ac=_0x128c16['commands']['get']('showPreviousChange'),_0x4a0d0b=_0x128c16['commands']['get']('showNextChange');return _0x1030ff['bind']('isBackwardNavigationEnabled')['to'](_0x40b8ac,'isEnabled'),_0x1030ff['bind']('isForwardNavigationEnabled')['to'](_0x4a0d0b,'isEnabled'),_0x1030ff['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x2cbb48),this['listenTo'](_0x1030ff,'execute',(_0x588849,_0x519a21)=>{_0x128c16['execute']('forward'===_0x519a21?'showNextChange':'showPreviousChange');}),_0x1030ff;}),_0x493c4a['show'](),_0x2cbb48['on']('change:isReady',(_0xa029,_0x4cd05a,_0x5dc63)=>{_0x5dc63?_0x493c4a['hide']():_0x493c4a['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x378ee9,_0x492ef1){super(_0x378ee9,_0x492ef1);const _0x216caa=this['bindTemplate'];this['set']({'label':y(_0x378ee9,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x378ee9,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x216caa['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 _0x142e84=this['fieldView']['element'];this['_tooltipString']=_0x142e84['scrollWidth']>_0x142e84['clientWidth']&&_0x142e84['value']||'';}}class ti extends _0x1cec7e{constructor(_0x37132e,_0x125006,_0x21faf3){super(_0x37132e);const _0x6ff02e=new _0x1a5a55();_0x6ff02e['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 _0x56fc79=['ck','ck-revision-history-sidebar__revision-author'];_0x21faf3&&_0x56fc79['push']('ck-revision-history-sidebar__revision-author_creator');const _0x3cbccd=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x37132e,_0x21faf3?'Revision\x20creator':'Revision\x20author')},'children':[_0x6ff02e,_0x125006['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x56fc79},'children':_0x3cbccd});}}function ni(_0x1d9f6a,_0x4e96ea){const _0xceb7ff=_0x1d9f6a['bindTemplate'],_0x5e437f=_0x1d9f6a['locale'],_0x554af1=_0x5e442a(_0x5e437f);_0x554af1['panelPosition']='sw';const _0x10b52a=function(_0x49a265,_0x158271){const _0xc7349b=function(_0x4d2ea6,_0x39a6a0){const _0x3e13db=_0x4d2ea6['locale'],_0x105116={'Compare\x20against\x20selected':y(_0x3e13db,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x3e13db,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x3e13db,'Restore\x20this\x20revision')};return _0x39a6a0['map'](_0x2c1caf=>{const _0x19e2fa=_0x105116[_0x2c1caf['name']];return _0x19e2fa&&_0x19e2fa!==_0x2c1caf['name']&&(_0x2c1caf['name']=_0x19e2fa),_0x2c1caf;});}(_0x49a265,_0x158271),_0x38449f=new _0x9a0466();for(const _0x18c983 of _0xc7349b){const _0x3042eb={'type':'button','model':new to({'label':_0x18c983['name'],'class':_0x18c983['class'],'withText':!0x0,'role':'menuitem','_action':_0x18c983['action']})};_0x3042eb['model']['bind']('isEnabled')['to'](_0x49a265,'isActionsDropdownOpen',_0x471bb4=>'function'!=typeof _0x18c983['isEnabled']||(!_0x471bb4||_0x18c983['isEnabled'](_0x49a265))),_0x38449f['add'](_0x3042eb);}return _0x38449f;}(_0x1d9f6a,_0x4e96ea);return _0x1d9f6a['bind']('isActionsDropdownOpen')['to'](_0x554af1,'isOpen'),_0x554af1['buttonView']['set']({'label':y(_0x5e437f,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x2517eb['threeVerticalDots']}),_0x554af1['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0xceb7ff['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0xceb7ff['to'](_0x170e88=>_0x170e88['stopPropagation']())}}),_0x554af1['on']('execute',_0x4a50d2=>{_0x1d9f6a['isReady']&&'function'==typeof _0x4a50d2['source']['_action']&&_0x4a50d2['source']['_action'](_0x1d9f6a);}),_0x5194f1(_0x554af1,_0x10b52a,{'role':'menu'}),_0x554af1['listenTo'](_0x1d9f6a,'change:isActionsDropdownOpen',(_0x49b06a,_0x21e153,_0x4710d2)=>{if(_0x4710d2)for(const _0x31a455 of _0x554af1['listView']['items']){const _0x53e4e8=_0x31a455['children']['first'],_0x368e79=_0x4e96ea['find'](_0x4ad7cb=>_0x4ad7cb['action']===_0x53e4e8['_action'])['isVisible'];_0x31a455['isVisible']=void 0x0===_0x368e79||_0x368e79(_0x1d9f6a);}}),_0x554af1;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x4d04bb(_0x1cec7e){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x47a9cd,_0x560331,_0x330f68,_0x501f9a){super(_0x47a9cd);const _0x5143b8=this['bindTemplate'],_0x25259d=function(_0x104073,_0x1285cc){const _0x6cee48=Array['from'](_0x1285cc['authors'])['filter'](_0x238a59=>_0x238a59!=_0x1285cc['creator']);return _0x1285cc['creator']&&_0x6cee48['unshift'](_0x1285cc['creator']),_0x6cee48['map'](_0x5360e9=>new ti(_0x104073,_0x5360e9,_0x5360e9==_0x1285cc['creator']));}(_0x47a9cd,_0x560331);this['id']=_0x560331['id'],this['_revision']=_0x560331,this['_requireRevisionName']=_0x501f9a,this['bind']('name','createdAt')['to'](_0x560331),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x1c1688=>{return _0x5d9a7e=_0x47a9cd['uiLanguage'],(_0x3a8d2c=_0x1c1688)['toLocaleDateString'](_0x5d9a7e,{'month':'long','day':'numeric'})+',\x20'+_0x3a8d2c['toLocaleTimeString'](_0x5d9a7e,{'hour':'numeric','minute':'numeric'});var _0x5d9a7e,_0x3a8d2c;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x47a9cd,_0x4e1ed6),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x1fc770=>_0x1fc770||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x5034f2,_0x368da3)=>_0x5034f2&&_0x368da3),this['revisionActionsView']=_0x330f68&&_0x330f68['length']?ni(this,_0x330f68):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x5143b8['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x5143b8['if']('isEnabled','ck-disabled',_0x194fce=>!_0x194fce),_0x5143b8['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x5143b8['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x5143b8['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':_0x5143b8['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':_0x25259d}]},this['revisionActionsView']],'on':{'click':_0x5143b8['to'](_0x44ea6c=>{_0x44ea6c['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x48c0c2=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x48c0c2,'change',()=>{this['_requireRevisionName']&&!_0x48c0c2['value']||this['fire']('setName',{'id':this['id'],'name':_0x48c0c2['value']}),_0x48c0c2['value']||(_0x48c0c2['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(_0x47ecea,_0x1148c6){const _0x482b90=_0xc62d37['fromJSDate'](_0x47ecea)['setLocale'](_0x1148c6),_0x15db72=_0xc62d37['local'](),_0x10ba45=_0x15db72['minus']({'days':0x1})['startOf']('day');let _0x3d842c,_0x1744f0;return _0x482b90['hasSame'](_0x15db72,'day')?(_0x3d842c=_0x482b90['startOf']('day')['toJSDate'](),_0x1744f0=_0x482b90['toRelativeCalendar']()):_0x482b90['hasSame'](_0x10ba45,'day')?(_0x3d842c=_0x10ba45['toJSDate'](),_0x1744f0=_0x482b90['toRelativeCalendar']()):_0x482b90['hasSame'](_0x15db72,'week')?(_0x3d842c=_0x482b90['startOf']('week')['toJSDate'](),_0x1744f0=_0x482b90['weekdayLong']||''):_0x482b90['hasSame'](_0x15db72,'year')?(_0x3d842c=_0x482b90['startOf']('month')['toJSDate'](),_0x1744f0=_0x482b90['monthLong']||''):(_0x3d842c=_0x482b90['startOf']('year')['toJSDate'](),_0x1744f0=String(_0x482b90['year'])),{'startDate':_0x3d842c,'localizedPeriodName':_0x1744f0};}class mi extends _0x1cec7e{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x52a38d,_0x7a79b2,_0x27fcf6,_0x4a48fa){super(_0x52a38d);const _0x2003b8=di(_0x7a79b2,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x7a79b2,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x27fcf6,this['_requireRevisionName']=_0x4a48fa,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':_0x2003b8}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x112efb){const _0x44fd89=new ai(this['locale'],_0x112efb,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x44fd89);}['removeRevision'](_0x292f0c){const _0x457984=this['revisionViews']['find'](_0x5bea3a=>_0x5bea3a['id']===_0x292f0c['id']);this['revisionViews']['remove'](_0x457984);}}class as extends _0x1cec7e{constructor(_0x5b14a9){super(_0x5b14a9);const _0x4cf06e=new _0x1a5a55();_0x4cf06e['content']=_0x2517eb['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x4cf06e,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x5b14a9,'Revision\x20history')]}]});}}class ci extends _0x1cec7e{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x355b11,_0x1ee869,_0x3ea144,_0xb94650){super(_0x355b11);const _0x1e1130=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x1ee869,this['_revisionActions']=_0x3ea144,this['_requireRevisionName']=_0xb94650,this['on']('select',(_0x157f5a,_0x341e8f)=>{this['fire']('revisionSelected',_0x341e8f);}),this['on']('setName',(_0x59232a,_0x1d09e1)=>{this['fire']('revisionSetName',_0x1d09e1);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x355b11),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x1e1130['if']('isEnabled','ck-disabled',_0x7a1f4=>!_0x7a1f4)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x2bd4df of this['_revisions'])this['_addRevision'](_0x2bd4df);this['_revisions']['on']('add',(_0x42a6df,_0xc96778)=>{this['_addRevision'](_0xc96778);}),this['_revisions']['on']('remove',(_0xdf8c11,_0x317ef6)=>{this['_removeRevision'](_0x317ef6);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0xf4b828=>_0xf4b828['revisionViews']['map'](_0x296797=>_0x296797))['flat']();}['selectRevision'](_0x156ffb){for(const _0x3d697d of this['revisionViews'])_0x156ffb&&_0x156ffb['id']===_0x3d697d['id']?_0x3d697d['select']():_0x3d697d['deselect']();}['highlightRevisions'](_0x369241){for(const _0x40f58d of this['revisionViews'])_0x369241['some'](({id:_0x2dcb7e})=>_0x2dcb7e===_0x40f58d['id'])?_0x40f58d['highlight']():_0x40f58d['unhighlight']();}['_addRevision'](_0x4c91e8){const _0x49582e=di(_0x4c91e8['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x296d17=this['timePeriodViews']['get'](0x0);_0x296d17&&_0x296d17['startDate']['getTime']()===_0x49582e['getTime']()||(_0x296d17=new mi(this['locale'],_0x49582e,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x296d17)),_0x296d17['addRevision'](_0x4c91e8);}['_removeRevision'](_0x488689){const _0x6a0889=di(_0x488689['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x6a0889)['removeRevision'](_0x488689);}['_getTimePeriodViewByStartDate'](_0x582fcb){return this['timePeriodViews']['find'](_0x4fc0c1=>_0x4fc0c1['startDate']['getTime']()===_0x582fcb['getTime']());}}class w extends _0x5a4e73{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x1ed686,Context as _0x3369da,PendingActions as _0x497fc3,icons as _0x5d7b1e,Command as _0x47b150,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x174ce0,uid as _0x2afba9,Collection as _0x1ed60d,logWarning as _0x229707,FocusTracker as _0x3c6b64,KeystrokeHandler as _0x23c060,scrollViewportToShowTarget as _0x4731a4,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x587587}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x255bcb,getMarkerDomElement as _0x14a388,ConfirmMixin as _0x38bc7b,sanitizeEditorConfig as _0x337d49}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x486f74,ViewText as _0x186bc1,ViewElement as _0x5c9e40,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x5e1b72,ViewAttributeElement as _0x367740,ViewEmptyElement as _0x294d48,ViewRawElement as _0x8a1bb2,ViewUIElement as _0x14f150,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x57d54c,set as _0x1e4854,unset as _0x21a0cb,isEqual as _0x456bf2}from'lodash-es';import{View as _0x28ae58,injectCssTransitionDisabler as ts,submitHandler as _0x26fb83,LabeledFieldView as at,createLabeledInputText as _0x10f167,createDropdown as _0x51e52f,ListView as te,ListItemView as _0x2f3fb8,ButtonView as _0x1f7c37,MenuBarMenuView as _0xa20eb8,MenuBarMenuListView as _0x3f6389,MenuBarMenuListItemView as _0x526242,MenuBarMenuListItemButtonView as _0x4795d8,ContextualBalloon as _0x358427,ToolbarSeparatorView as _0x386219,IconView as _0x352846,addListToDropdown as _0x226018,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 _0xdf50c0}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x174ce0(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x18175d){super(),this['id']=_0x18175d['id']||_0x2afba9(),this['creator']=_0x18175d['creator']||null,this['authors']=_0x18175d['authors']||[],this['diffData']=_0x18175d['diffData']||null,this['toVersion']=_0x18175d['toVersion']||0x0,this['fromVersion']=_0x18175d['fromVersion']||0x0,this['set']('name',_0x18175d['name']||''),this['set']('createdAt',_0x18175d['createdAt']||new Date()),this['set']('attributes',_0x18175d['attributes']||{});}['setName'](_0x5b77f0){this['_update']({'name':_0x5b77f0});}['setAttribute'](_0x17b7d8,_0x5ccce3){const _0x5679a7=_0x57d54c(this['attributes']);_0x1e4854(_0x5679a7,_0x17b7d8,_0x5ccce3),this['_update']({'attributes':_0x5679a7});}['removeAttribute'](_0x255d45){const _0x41423b=_0x57d54c(this['attributes']);_0x21a0cb(_0x41423b,_0x255d45),this['_update']({'attributes':_0x41423b});}['_update'](_0x9589bd,_0x274d26=!0x1){let _0x42242f=!0x1;const _0x3b2aa5={'id':this['id']},_0x46233d=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x3919b4 of _0x46233d){const _0x4236fb=_0x9589bd[_0x3919b4];void 0x0!==_0x4236fb&&_0x4236fb!==this[_0x3919b4]&&(this[_0x3919b4]=_0x4236fb,_0x3b2aa5[_0x3919b4]=_0x4236fb,_0x42242f=!0x0);}_0x42242f&&(_0x3b2aa5['authors']&&(_0x3b2aa5['authorsIds']=_0x3b2aa5['authors']['map'](_0x5422b2=>_0x5422b2['id']),delete _0x3b2aa5['authors']),this['fire']('_update',_0x3b2aa5,_0x274d26));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x1c84b4=>_0x1c84b4['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x1ed686{['_revisions'];static get['requires'](){return[_0x255bcb];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x5508d5){super(_0x5508d5),this['_revisions']=new _0x1ed60d();}['afterInit'](){!function(_0x1bada1){function _0x2b1618(_0xa13fc4,_0x2830e7,_0x49b97c){const _0x3d7d74={};_0x3d7d74[_0x239922([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x3d7d74[_0x239922([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],_0x3d7d74[_0x239922([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],_0x3d7d74[_0x239922([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],_0x3d7d74[_0x239922([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],_0x3d7d74[_0x239922([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],_0x3d7d74[_0x239922([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],_0x3d7d74[_0x239922([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],_0x3d7d74[_0x239922([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],_0x3d7d74[_0x239922([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],_0x3d7d74[_0x239922([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 _0x51a936=new Uint8Array(0x10);for(let _0x1e797a=0xf;_0x1e797a>=0x0;--_0x1e797a)_0x51a936[_0x1e797a]=_0x49b97c%0x100,_0x49b97c=parseInt(_0x49b97c/0x100);let _0x440c6b=null,_0x12d37f=0x10;const _0x3a93f7=new Uint8Array(_0x2830e7),_0x466487=[],_0x29b4db=[];_0x3c8ae6();for(let _0x53d7cc=0x0;_0x53d7cc<_0xa13fc4[_0x239922([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53d7cc++)0x10===_0x12d37f&&(_0x440c6b=_0x57b222(_0x51a936),_0x12d37f=0x0,_0x54a8a4(_0x51a936)),_0xa13fc4[_0x53d7cc]^=_0x440c6b[_0x12d37f++];return _0xa13fc4;function _0x213cf4(_0x1c7523){const _0x71bc5a=[];for(let _0x511f5c=0x0;_0x511f5c<_0x1c7523[_0x239922([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x511f5c+=0x4)_0x71bc5a[_0x239922([0x70,0x75,0x73,0x68])](_0x1c7523[_0x511f5c]<<0x18|_0x1c7523[_0x511f5c+0x1]<<0x10|_0x1c7523[_0x511f5c+0x2]<<0x8|_0x1c7523[_0x511f5c+0x3]);return _0x71bc5a;}function _0x54a8a4(_0x2a889f){for(let _0x2dc856=0xf;_0x2dc856>=0x0;_0x2dc856--){if(0xff!==_0x2a889f[_0x2dc856]){_0x2a889f[_0x2dc856]++;break;}_0x2a889f[_0x2dc856]=0x0;}}function _0x57b222(_0x440b29){const _0x535c45=_0x466487[_0x239922([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x30d045=[0x0,0x0,0x0,0x0];let t=_0x213cf4(_0x440b29);for(let _0x8e0bea=0x0;_0x8e0bea<0x4;_0x8e0bea++)t[_0x8e0bea]^=_0x466487[0x0][_0x8e0bea];for(let _0x3bff0b=0x1;_0x3bff0b<_0x535c45;_0x3bff0b++){for(let _0x54f7e5=0x0;_0x54f7e5<0x4;_0x54f7e5++)_0x30d045[_0x54f7e5]=_0x3d7d74[_0x239922([0x54,0x31])][t[_0x54f7e5]>>0x18&0xff]^_0x3d7d74[_0x239922([0x54,0x32])][t[(_0x54f7e5+0x1)%0x4]>>0x10&0xff]^_0x3d7d74[_0x239922([0x54,0x33])][t[(_0x54f7e5+0x2)%0x4]>>0x8&0xff]^_0x3d7d74[_0x239922([0x54,0x34])][0xff&t[(_0x54f7e5+0x3)%0x4]]^_0x466487[_0x3bff0b][_0x54f7e5];t=_0x30d045[_0x239922([0x73,0x6c,0x69,0x63,0x65])]();}const _0x35f995=new Uint8Array(0x10);let _0x5aabe6;for(let _0x1687d1=0x0;_0x1687d1<0x4;_0x1687d1++)_0x5aabe6=_0x466487[_0x535c45][_0x1687d1],_0x35f995[0x4*_0x1687d1]=0xff&(_0x3d7d74[_0x239922([0x53])][t[_0x1687d1]>>0x18&0xff]^_0x5aabe6>>0x18),_0x35f995[0x4*_0x1687d1+0x1]=0xff&(_0x3d7d74[_0x239922([0x53])][t[(_0x1687d1+0x1)%0x4]>>0x10&0xff]^_0x5aabe6>>0x10),_0x35f995[0x4*_0x1687d1+0x2]=0xff&(_0x3d7d74[_0x239922([0x53])][t[(_0x1687d1+0x2)%0x4]>>0x8&0xff]^_0x5aabe6>>0x8),_0x35f995[0x4*_0x1687d1+0x3]=0xff&(_0x3d7d74[_0x239922([0x53])][0xff&t[(_0x1687d1+0x3)%0x4]]^_0x5aabe6);return _0x35f995;}function _0x3c8ae6(){const _0x1e9efa=_0x3d7d74[_0x239922([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x3a93f7[_0x239922([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x418338=0x0;_0x418338<=_0x1e9efa;_0x418338++)_0x466487[_0x239922([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x29b4db[_0x239922([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x31c7c3=0x4*(_0x1e9efa+0x1),_0x5a7ee0=_0x3a93f7[_0x239922([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x59f3b2=_0x213cf4(_0x3a93f7);let _0x11af6b;for(let _0x2cc138=0x0;_0x2cc138<_0x5a7ee0;_0x2cc138++)_0x11af6b=_0x2cc138>>0x2,_0x466487[_0x11af6b][_0x2cc138%0x4]=_0x59f3b2[_0x2cc138],_0x29b4db[_0x1e9efa-_0x11af6b][_0x2cc138%0x4]=_0x59f3b2[_0x2cc138];let _0x317254,_0x1f3710=0x0,t=_0x5a7ee0;for(;t<_0x31c7c3;){_0x317254=_0x59f3b2[_0x5a7ee0-0x1],_0x59f3b2[0x0]^=_0x3d7d74[_0x239922([0x53])][_0x317254>>0x10&0xff]<<0x18^_0x3d7d74[_0x239922([0x53])][_0x317254>>0x8&0xff]<<0x10^_0x3d7d74[_0x239922([0x53])][0xff&_0x317254]<<0x8^_0x3d7d74[_0x239922([0x53])][_0x317254>>0x18&0xff]^_0x3d7d74[_0x239922([0x72,0x63,0x6f,0x6e])][_0x1f3710]<<0x18,_0x1f3710+=0x1;for(let _0x17aeeb=0x1;_0x17aeeb<_0x5a7ee0/0x2;_0x17aeeb++)_0x59f3b2[_0x17aeeb]^=_0x59f3b2[_0x17aeeb-0x1];_0x317254=_0x59f3b2[_0x5a7ee0/0x2-0x1],_0x59f3b2[_0x5a7ee0/0x2]^=_0x3d7d74[_0x239922([0x53])][0xff&_0x317254]^_0x3d7d74[_0x239922([0x53])][_0x317254>>0x8&0xff]<<0x8^_0x3d7d74[_0x239922([0x53])][_0x317254>>0x10&0xff]<<0x10^_0x3d7d74[_0x239922([0x53])][_0x317254>>0x18&0xff]<<0x18;for(let _0x1f70fc=_0x5a7ee0/0x2+0x1;_0x1f70fc<_0x5a7ee0;_0x1f70fc++)_0x59f3b2[_0x1f70fc]^=_0x59f3b2[_0x1f70fc-0x1];let _0x5e9d2f,_0x46418f,_0xe9be46=0x0;for(;_0xe9be46<_0x5a7ee0&&t<_0x31c7c3;)_0x5e9d2f=t>>0x2,_0x46418f=t%0x4,_0x466487[_0x5e9d2f][_0x46418f]=_0x59f3b2[_0xe9be46],_0x29b4db[_0x1e9efa-_0x5e9d2f][_0x46418f]=_0x59f3b2[_0xe9be46++],t++;}for(let _0x46fd2d=0x1;_0x46fd2d<_0x1e9efa;_0x46fd2d++)for(let _0x16cc34=0x0;_0x16cc34<0x4;_0x16cc34++)_0x317254=_0x29b4db[_0x46fd2d][_0x16cc34],_0x29b4db[_0x46fd2d][_0x16cc34]=_0x3d7d74[_0x239922([0x55,0x31])][_0x317254>>0x18&0xff]^_0x3d7d74[_0x239922([0x55,0x32])][_0x317254>>0x10&0xff]^_0x3d7d74[_0x239922([0x55,0x33])][_0x317254>>0x8&0xff]^_0x3d7d74[_0x239922([0x55,0x34])][0xff&_0x317254];}}function _0x239922(_0x1a3c1c){return _0x1a3c1c['map'](_0x21d556=>String['fromCharCode'](_0x21d556))['join']('');}(_0x14736c=>{function _0x431f99(){const _0x288e51=[{[_0x239922([0x69,0x64])]:0x1,[_0x239922([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x239922([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x239922([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x239922([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x239922([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x239922([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x239922([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x239922([0x69,0x64])]:0x2,[_0x239922([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x239922([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x239922([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x239922([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x239922([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x239922([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]),[_0x239922([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x239922([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x239922([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x239922([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x239922([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x239922([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x239922([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x239922([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x239922([0x69,0x64])]:0x3,[_0x239922([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x239922([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x239922([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x239922([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x239922([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x239922([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x239922([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x239922([0x69,0x64])]:0x4,[_0x239922([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x239922([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x239922([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x239922([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x239922([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x239922([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]),[_0x239922([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x239922([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x239922([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x239922([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x239922([0x69,0x64])]:0x5,[_0x239922([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x239922([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x239922([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x239922([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x239922([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]),[_0x239922([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x239922([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x239922([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x239922([0x66,0x67,0x69])]:[0xc]}},{[_0x239922([0x69,0x64])]:0x6,[_0x239922([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x239922([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x239922([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x239922([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x239922([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x239922([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x239922([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x239922([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x239922([0x66,0x67,0x69])]:[0xc]}},{[_0x239922([0x69,0x64])]:0x7,[_0x239922([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x239922([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x239922([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x239922([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x239922([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x239922([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x239922([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x239922([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x239922([0x66,0x67,0x69])]:[0xc]}},{[_0x239922([0x69,0x64])]:0x8,[_0x239922([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x239922([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x239922([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x239922([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x239922([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]),[_0x239922([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x239922([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x239922([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x239922([0x66,0x67,0x69])]:[0xc]}},{[_0x239922([0x69,0x64])]:0x9,[_0x239922([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x239922([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x239922([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x239922([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x239922([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x239922([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x239922([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x239922([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x239922([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x239922([0x69,0x64])]:0xa,[_0x239922([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x239922([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]),[_0x239922([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x239922([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]),[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x239922([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]),[_0x239922([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x239922([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x239922([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x239922([0x66,0x67,0x69])]:[0xc]}},{[_0x239922([0x69,0x64])]:0xb,[_0x239922([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x239922([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x239922([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x239922([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x239922([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x239922([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x239922([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x239922([0x69,0x64])]:0xc,[_0x239922([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x239922([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x239922([0x69,0x64])]:0xd,[_0x239922([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x239922([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x239922([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x239922([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x239922([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x239922([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x239922([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x239922([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x239922([0x66,0x67,0x69])]:[0xc]}},{[_0x239922([0x69,0x64])]:0xe,[_0x239922([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x239922([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x239922([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x239922([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])},{[_0x239922([0x69,0x64])]:0xf,[_0x239922([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x239922([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x239922([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x239922([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x239922([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x239922([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x239922([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x239922([0x69,0x64])]:0x10,[_0x239922([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x239922([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x239922([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x239922([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x239922([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x239922([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x239922([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x239922([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x239922([0x66,0x67,0x69])]:[0xc]}}];return _0x4be815(_0x288e51),_0x288e51;function _0x3930cb(_0x2b7152){return 0x1<<_0x2b7152-0x1;}function _0x4be815(_0x1fc9fd){_0x1fc9fd[_0x239922([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e162c=>{_0x5e162c[_0x239922([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x3930cb(_0x5e162c[_0x239922([0x69,0x64])]),_0x3f2f88(_0x5e162c)&&_0x5e162c[_0x239922([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4be815(_0x5e162c[_0x239922([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x3f2f88(_0x48ddf7){return _0x239922([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x48ddf7;}const _0x5e1c9e=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x1b3350=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x33dbbd(_0x5b1f86){const _0x1b6d1d=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x2f0f6d(_0x5b1f86,new Uint8Array([..._0x5e1c9e,..._0x1b6d1d,..._0x1b3350]));}function _0x2f0f6d(_0x3e79f1,_0x5c0e03){const _0x457029=_0x2c12b2(_0x3e79f1),_0x6a0eb6=Array[_0x239922([0x66,0x72,0x6f,0x6d])](_0x1826dc(_0x457029)),_0x54b7db=_0x6a0eb6[_0x239922([0x70,0x6f,0x70])](),_0x11760b=_0x6a0eb6[_0x239922([0x70,0x6f,0x70])]();return _0x245699(_0x2b1618(_0x6a0eb6,_0x5c0e03,_0x11760b+0x100*_0x54b7db));}function _0x2c12b2(_0x5aeefe){const _0x5323d3=atob(_0x5aeefe),[_0xf3d75f,_0x3e43b2]=_0x5323d3[_0x239922([0x73,0x70,0x6c,0x69,0x74])](_0x239922([0x2d]));try{if(atob(_0x3e43b2))return atob(_0xf3d75f);}catch(_0x38b0ce){}return _0x5323d3;}function _0x21fd5f(_0x269cb5){try{const _0x5950fc=_0x33dbbd(_0x269cb5),_0x3c7ab4=JSON[_0x239922([0x70,0x61,0x72,0x73,0x65])](_0x5950fc),_0xf36c1a=parseInt(_0x3c7ab4[_0x239922([0x31])]),_0x580609=_0x3c7ab4[_0x239922([0x32])]||'',_0x449d1a=parseInt(_0x3c7ab4[_0x239922([0x33])]),_0x135e1d=parseInt(_0x3c7ab4[_0x239922([0x34])])||0x0,_0x1a7933=parseInt(_0x3c7ab4[_0x239922([0x35])])||0x0;return{[_0x239922([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x580609,[_0x239922([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x135e1d,[_0x239922([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0xf36c1a,[_0x239922([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x449d1a,[_0x239922([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x1a7933};}catch(_0x2dfdbf){return null;}}const _0x9f1d02=_0x431f99(),_0x910515={[_0x239922([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x117fec,[_0x239922([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])]:_0x5d43be,[_0x239922([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])]:_0x146616},_0x55c2b8=_0x14736c[_0x239922([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x239922([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x261a0e=_0x239922([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x14736c?_0x14736c['context']:_0x14736c['editor'],_0x46260a=_0x239922([0x34,0x30,0x34,0x38,0x31,0x34,0x31,0x38]),_0x3335d6=_0x239922([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]),_0x1ed2f3=_0x261a0e['config']['get'](_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x37293a=_0x9f1d02[_0x239922([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f2f88)[_0x239922([0x66,0x69,0x6e,0x64])](_0x41680a=>_0x41680a[_0x239922([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x55c2b8);function _0x23f08e(_0x3631d0,_0x48a95d){_0x910515[_0x48a95d[_0x239922([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x3631d0,_0x48a95d),_0x48a95d[_0x239922([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x48a95d[_0x239922([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x239922([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2bbc27=>_0x38a4ff(_0x261a0e,_0x2bbc27[_0x239922([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x239922([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x203606=>_0x23f08e(_0x3631d0,_0x203606));}function _0x117fec(_0x3dfa31,_0x419136){_0x27178a(_0x21f74c(_0x3dfa31,_0x419136),_0x419136);}function _0x5d43be(_0x3b1f25,_0x34a79d){function _0x541014(_0x29291b,_0x563f49){try{if(_0x38a4ff(_0x261a0e,_0x239922([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x29291b){const _0x8b9d62=_0x5cec7c(_0x261a0e,_0x239922([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x239922([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x8b9d62)/0x2>_0x29291b[_0x239922([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x1195db(_0x563f49[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x239922([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x21f74c(_0x29291b,_0x563f49);}catch(_0x417cab){return _0x1195db(_0x563f49[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x239922([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x27178a(_0x541014(_0x3b1f25,_0x34a79d),_0x34a79d);}function _0x146616(_0x1c10e6,_0x53003b){const _0x19c109=_0x1b3350[0x0]*_0x5e1c9e[0x1],_0x2b2148=_0x1b3350[0x0]*_0x5e1c9e[0x2],_0x4d4ab0=_0x1b3350[0x2]*_0x5e1c9e[0x2];_0x38a4ff(_0x261a0e,_0x239922([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x5cec7c(_0x261a0e,_0x239922([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x239922([0x73,0x74,0x61,0x74,0x65])]==_0x239922([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x341c66()]=_0x4d4ab0);function _0x21827a(_0x81c34e,_0x191e3c){try{return _0x290539()?_0x1195db(_0x191e3c[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x239922([0x56,0x61,0x6c,0x69,0x64])):_0x21f74c(_0x81c34e,_0x191e3c);}catch(_0x21baab){return _0x1195db(_0x191e3c[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x239922([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x116f48(_0x3d3132,_0x575c0a){const _0x44f1dc=0x7;if(_0x3d3132==_0x575c0a[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x239922([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x2b0a6a();else{if(_0x3d3132==_0x575c0a[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x239922([0x54,0x72,0x69,0x61,0x6c])){const _0x38358f=_0x2b75d9();_0x38358f&&_0x154ece(_0x38358f,_0x575c0a[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x4c556b=_0x300df9();window[_0x239922([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x154ece(_0x239922([0x74,0x69,0x6d,0x65]),_0x575c0a[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x4c556b);const _0x19232e=_0x5cec7c(_0x261a0e,_0x239922([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x239922([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x19232e[_0x239922([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x44f1dc?_0x154ece(_0x239922([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x575c0a[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x19232e['on'](_0x239922([0x61,0x64,0x64]),()=>{_0x19232e[_0x239922([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x44f1dc&&_0x154ece(_0x239922([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x575c0a[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x2b75d9(){if(!_0x38a4ff(_0x261a0e,_0x239922([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4df8bf in window)if(Number['isNaN'](Number(_0x4df8bf))){if(window[_0x4df8bf]===_0x19c109)return _0x239922([0x74,0x69,0x6d,0x65]);if(window[_0x4df8bf]===_0x2b2148)return _0x239922([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x290539(){if(!_0x38a4ff(_0x261a0e,_0x239922([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x3a7f45 in window)if(Number['isNaN'](Number(_0x3a7f45))&&window[_0x3a7f45]===_0x4d4ab0)return!0x0;return!0x1;}function _0x154ece(_0x4013a4,_0x2b1c82){_0x2b0a6a(),_0x1195db(_0x2b1c82+_0x239922([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x4013a4),window[_0x341c66()]=_0x4013a4===_0x239922([0x74,0x69,0x6d,0x65])?_0x19c109:_0x2b2148;}function _0x300df9(){let _0x4ce502=_0x1b3350[0x6]*_0x5e1c9e[0x8]*_0x5e1c9e[0x6];return _0x38a4ff(_0x261a0e,_0x239922([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4ce502/=0xa),_0x4ce502;}function _0x2b0a6a(){const _0x5894b3=_0x261a0e;function _0x1d7cc2(){_0x38a4ff(_0x5894b3,_0x239922([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x5cec7c(_0x5894b3,_0x239922([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x239922([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x239922([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x5cec7c(_0x5894b3,_0x239922([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x239922([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x5cec7c(_0x5894b3,_0x239922([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x239922([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x2b5a97,_0x5cec7c(_0x5894b3,_0x239922([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x239922([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x2b5a97,_0x5894b3[_0x239922([0x6d,0x6f,0x64,0x65,0x6c])][_0x239922([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2b5a97,_0x5894b3[_0x239922([0x6d,0x6f,0x64,0x65,0x6c])][_0x239922([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2b5a97,_0x5894b3[_0x239922([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x239922([0x6d,0x6f,0x64,0x65,0x6c]))),_0x38a4ff(_0x5894b3,_0x239922([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x5cec7c(_0x5894b3,_0x239922([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x239922([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x239922([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x5cec7c(_0x5894b3,_0x239922([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x239922([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x5cec7c(_0x5894b3,_0x239922([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x239922([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x2b5a97,_0x5cec7c(_0x5894b3,_0x239922([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x239922([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x2b5a97);}_0x5894b3[_0x239922([0x73,0x74,0x61,0x74,0x65])]==_0x239922([0x72,0x65,0x61,0x64,0x79])?_0x1d7cc2():_0x5894b3[_0x239922([0x6f,0x6e,0x63,0x65])](_0x239922([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x38a4ff(_0x5894b3,_0x239922([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x1d7cc2(),_0x38a4ff(_0x5894b3,_0x239922([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x4d440f=_0x5cec7c(_0x5894b3,_0x239922([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x53cb61=_0x4d440f['getRevision'](0x0),_0x1c68c3=_0x4d440f['getEarlierVisibleRevision'](_0x53cb61[_0x239922([0x69,0x64])]);_0x5cec7c(_0x5894b3,_0x239922([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x239922([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x53cb61[_0x239922([0x69,0x64])],_0x1c68c3?_0x1c68c3[_0x239922([0x69,0x64])]:null,0x1)['then'](()=>_0x1d7cc2());}});}_0x116f48(_0x21827a(_0x1c10e6,_0x53003b),_0x53003b);}function _0x21f74c(_0x35d1ee,_0x401a60){try{return _0x3f5e7b(_0x401a60)?_0x1195db(_0x401a60[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x239922([0x56,0x61,0x6c,0x69,0x64])):_0x35d1ee&&_0x5aa5f5(_0x35d1ee[_0x239922([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x401a60)?_0x35d1ee[_0x239922([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x239922([0x6f,0x70,0x65,0x6e])][_0x239922([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x46260a)/0x2>_0x35d1ee[_0x239922([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x1195db(_0x401a60[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x239922([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x35d1ee[_0x239922([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x1195db(_0x401a60[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x239922([0x54,0x72,0x69,0x61,0x6c])):_0x1195db(_0x401a60[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x239922([0x56,0x61,0x6c,0x69,0x64])):_0x1195db(_0x401a60[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x239922([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x28c0b7){return _0x1195db(_0x401a60[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x239922([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x27178a(_0x1a0b1a,_0x3d7840){if(_0x261a0e instanceof _0x3369da){const _0x219aff=_0x261a0e;_0x1a0b1a==_0x3d7840[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x239922([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2151c0(_0x219aff):_0x1a0b1a==_0x3d7840[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x239922([0x54,0x72,0x69,0x61,0x6c])&&window[_0x239922([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2151c0(_0x219aff),_0x1195db(_0x3d7840[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x239922([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x1b3350[0x6]*_0x5e1c9e[0x8]*_0x5e1c9e[0x6]),_0x219aff[_0x239922([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x239922([0x6f,0x6e])](_0x239922([0x61,0x64,0x64]),(_0x49f58c,_0x40a0e8)=>{_0x1a0b1a!=_0x3d7840[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x239922([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x1a0b1a!=_0x3d7840[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x239922([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x1a0b1a!=_0x3d7840[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x239922([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x5d1717(_0x40a0e8);});}else{const _0x46327d=_0x261a0e;_0x1a0b1a==_0x3d7840[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x239922([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x5d1717(_0x46327d):_0x1a0b1a==_0x3d7840[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x239922([0x54,0x72,0x69,0x61,0x6c])&&_0x46327d[_0x239922([0x6f,0x6e])](_0x239922([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x205391=0x0;_0x46327d[_0x239922([0x6d,0x6f,0x64,0x65,0x6c])][_0x239922([0x6f,0x6e])](_0x239922([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3b98d0,_0x1f2724)=>{_0x1f2724[0x0][_0x239922([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x205391++,0x1f8===_0x205391&&(_0x5d1717(_0x46327d),_0x1195db(_0x3d7840[_0x239922([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x239922([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x3b98d0[_0x239922([0x6f,0x66,0x66])]());},{'priority':_0x239922([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x1195db(_0x363f82){const _0x5d2146=_0x341c66();return _0x261a0e[_0x5d2146]=_0x363f82,_0x363f82;}function _0x341c66(){const _0x46d0d7=String(window[_0x239922([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x239922([0x6e,0x6f,0x77])]())[_0x239922([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x239922([0x2e]),'');let _0x4150e8='';for(let _0x294149=0x0;_0x294149<_0x46d0d7[_0x239922([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x294149+=0x2){let _0x348320=parseInt(_0x46d0d7[_0x239922([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x294149,_0x294149+0x2));_0x348320>=_0x3335d6[_0x239922([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x348320-=_0x3335d6[_0x239922([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4150e8+=_0x3335d6[_0x348320];}return _0x4150e8;}function _0x2151c0(_0x23e9e0){for(const _0x4acadd of _0x23e9e0[_0x239922([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x5d1717(_0x4acadd);_0x5cec7c(_0x23e9e0,_0x239922([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x239922([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x5cec7c(_0x23e9e0,_0x239922([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x239922([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x2b5a97;}function _0x5d1717(_0x371432){function _0x5ad504(){_0x371432[_0x239922([0x6d,0x6f,0x64,0x65,0x6c])][_0x239922([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2b5a97,_0x371432[_0x239922([0x6d,0x6f,0x64,0x65,0x6c])][_0x239922([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2b5a97,_0x371432[_0x239922([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x239922([0x6d,0x6f,0x64,0x65,0x6c]));}_0x371432[_0x239922([0x73,0x74,0x61,0x74,0x65])]==_0x239922([0x72,0x65,0x61,0x64,0x79])?_0x5ad504():_0x371432[_0x239922([0x6f,0x6e,0x63,0x65])](_0x239922([0x72,0x65,0x61,0x64,0x79]),()=>_0x5ad504());}function _0x2b5a97(){return null;}function _0x5aa5f5(_0x509fa1,_0x302484){const _0x187f27=!!(_0x509fa1&_0x302484[_0x239922([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x741b30=_0x8c488b(_0x509fa1,_0x302484);return _0x187f27||_0x741b30;}function _0x8c488b(_0x125a51,_0xc6341e){const _0x4b91c3=(_0xc6341e[_0x239922([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x239922([0x66,0x67,0x69])]||null;return!!_0x4b91c3&&_0x9f1d02[_0x239922([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x381110=>_0x4b91c3[_0x239922([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x381110[_0x239922([0x69,0x64])]))[_0x239922([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x152680=>!_0x294a6f(_0x152680))[_0x239922([0x73,0x6f,0x6d,0x65])](_0x480307=>!!(_0x125a51&_0x480307[_0x239922([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x294a6f(_0x4ddba2){const _0x1553b6={[_0x239922([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])]:_0x41433b};return!!_0x4ddba2['forbiddenHandler']&&_0x1553b6[_0x4ddba2['forbiddenHandler']]();}function _0x41433b(){return!window[_0x239922([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x38a4ff(_0x261a0e,_0x239922([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x3f5e7b(_0x37f98a){if(!_0x38a4ff(_0x261a0e,_0x37f98a[_0x239922([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x139845=_0x37f98a[_0x239922([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x4c9eb0=_0x139845[_0x239922([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0xd8496a=_0x139845[_0x239922([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x3344ce=_0x139845[_0x239922([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x38a4ff(_0x261a0e,_0x239922([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x5cec7c(_0x261a0e,_0x239922([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x239922([0x73,0x74,0x61,0x74,0x65])]==_0x239922([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x4c9eb0)return!0x0;if(_0x38a4ff(_0x261a0e,_0x239922([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x5cec7c(_0x261a0e,_0x239922([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x239922([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x239922([0x65,0x6e,0x64])&&_0xd8496a)return!0x0;return!(!_0x38a4ff(_0x261a0e,_0x239922([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]))||_0x5cec7c(_0x261a0e,_0x239922([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]))[_0x239922([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x239922([0x65,0x6e,0x64])||!_0x3344ce);}function _0x38a4ff(_0x145799,_0x2cadf1){return _0x145799[_0x239922([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x239922([0x68,0x61,0x73])](_0x2cadf1);}function _0x5cec7c(_0x3b59ee,_0x84e367){return _0x3b59ee[_0x239922([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x239922([0x67,0x65,0x74])](_0x84e367);}function _0x245699(_0x14cc68){let _0x1c9ffb='';for(const _0x3f6cb9 of _0x14cc68)_0x1c9ffb+=String[_0x239922([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x3f6cb9);return _0x1c9ffb;}function _0x1826dc(_0x3b5c8e){const _0x16f54c=new Uint8Array(_0x3b5c8e[_0x239922([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x27370e=0x0;_0x27370e<_0x3b5c8e[_0x239922([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27370e++)_0x16f54c[_0x27370e]=_0x3b5c8e[_0x239922([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x27370e);return _0x16f54c;}_0x37293a&&_0x23f08e(_0x21fd5f(_0x1ed2f3),_0x37293a);})(_0x1bada1);}(this);}['createRevision'](_0x58399a){const _0x3a28d1=this['editor']['plugins']['get']('Users');return new a({'id':_0x58399a['id'],'name':_0x58399a['name'],'creator':_0x58399a['creatorId']?_0x3a28d1['getUser'](_0x58399a['creatorId']):null,'diffData':_0x58399a['diffData']||_0x58399a['data'],'authors':_0x58399a['authorsIds']['map'](_0x4871fe=>_0x3a28d1['getUser'](_0x4871fe)),'createdAt':new Date(_0x58399a['createdAt']),'attributes':_0x58399a['attributes'],'fromVersion':_0x58399a['fromVersion'],'toVersion':_0x58399a['toVersion']});}['addRevision'](_0x3db411,_0xa4f8b8=0x0){this['_revisions']['add'](_0x3db411,_0xa4f8b8);}['getRevision'](_0x481438){return this['_revisions']['get'](_0x481438);}['getRevisions'](_0x423570={'toJSON':!0x1}){const _0x2fe6fd=Array['from'](this['_revisions']);return _0x2fe6fd['reverse'](),_0x423570['toJSON']?_0x2fe6fd['map'](_0x503221=>_0x503221['toJSON']()):_0x2fe6fd;}['getIndex'](_0x3e341f){return this['_revisions']['getIndex'](_0x3e341f);}['getEarlierVisibleRevision'](_0x14f145){const [,_0x5986b2]=this['getRevisionsIterator'](_0x14f145,{'direction':'earlier'});return _0x5986b2;}['getLaterVisibleRevision'](_0x21049f){const [,_0x3cb7e8]=this['getRevisionsIterator'](_0x21049f,{'direction':'later'});return _0x3cb7e8;}['getRevisionsInDiff'](_0x56afee){const _0x445358=[];for(const _0x56e153 of this['getRevisionsIterator'](_0x56afee['newRevisionId']))if(_0x445358['push'](_0x56e153),_0x56e153['id']===_0x56afee['oldRevisionId'])break;return _0x445358;}*['getRevisionsIterator'](_0x3d5692,{direction:_0x15dd2d='earlier',filter:_0x288b12=_0x24bb3e=>!0x0}={}){const _0x2f7c6='earlier'===_0x15dd2d?0x1:-0x1;let _0x2e9cf2=this['_revisions']['get'](_0x3d5692),_0x32a0d5=this['getIndex'](_0x2e9cf2);for(yield _0x2e9cf2;_0x2e9cf2;){if(_0x32a0d5+=_0x2f7c6,_0x2e9cf2=this['getRevision'](_0x32a0d5),!_0x2e9cf2)return;_0x288b12(_0x2e9cf2)&&(yield _0x2e9cf2);}}}function y(_0x1aeb60,_0x269eff,_0x2acc43){const t=_0x1aeb60['t'];switch(_0x269eff){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'},_0x2acc43);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2acc43);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':_0x5e1b72,'a':_0x367740,'e':_0x294d48,'r':_0x8a1bb2,'u':_0x14f150};class l extends _0x1ed686{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x255bcb,A,_0x497fc3];}constructor(_0x2b7bce){super(_0x2b7bce),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 _0x2f106d=_0x2afba9();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x2f106d},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 _0x2e6887=this['repository']['getRevision'](0x0),_0x1ff4de=_0x2e6887&&null===_0x2e6887['creator']?_0x2e6887:null;if(this['_continueCurrentRevision']=!!_0x1ff4de&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x41c890=this['_source']['getCurrentRevisionId'](),_0x1acea0=this['repository']['getRevision'](_0x41c890);if(_0x1acea0)this['_startingVersion']=_0x1acea0['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x4d77a1=this['_source']['history']['_operations']['find'](_0x36e154=>!_0x36e154['_isInit']),_0x5f3ad2=_0x4d77a1?_0x4d77a1['baseVersion']:this['_source']['history']['version'];_0x2e6887?(_0x2e6887['toVersion']<_0x5f3ad2&&_0x2e6887['_update']({'toVersion':_0x5f3ad2}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x1ff4de['id'],this['_startingVersion']=_0x1ff4de['fromVersion']):(this['_startingVersion']=_0x2e6887['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x5f3ad2,this['_continueCurrentRevision']=!0x1);}}else _0x1ff4de&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x1ff4de['toVersion'],this['editor']['model']['document']['history']['version']),_0x1ff4de['fromVersion']===_0x1ff4de['toVersion']?(0x0!==_0x1ff4de['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x1ff4de['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x1ff4de['id'],this['_startingVersion']=_0x1ff4de['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',_0x376578=>!_0x376578);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x5c59ee=this['repository']['getRevision'](0x0),_0x256a73=await this['getRevisionDocumentData'](_0x5c59ee),_0x5a2989=await this['getRevisionRootsAttributes'](_0x5c59ee);this['_replaceEditorDataWithRevisionData'](_0x256a73,_0x5a2989);}}['setSource'](_0x44ffd6){this['_source']=_0x44ffd6;}async['update'](){const _0xde4a87=await this['_source']['getLatestVersion']();if(_0xde4a87>this['currentRevision']['toVersion']){await this['_loadState']();const _0x3b210a=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0xde4a87});_0x3b210a['authors']=_0x3b210a['authorsIds']['map'](_0x5711fa=>this['editor']['plugins']['get']('Users')['getUser'](_0x5711fa)),this['currentRevision']['_update'](_0x3b210a);}}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'](_0x1c09da={},_0x2e707c=null){const _0x69ed74=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x2e707c>this['currentRevision']['toVersion']&&(_0x2e707c=null),null===_0x2e707c&&(_0x2e707c=await this['_source']['getLatestVersion']());const _0x29264d=this['_getFromVersion'](_0x2e707c),_0x12661c=this['buildRevisionData']({'from':_0x29264d,'to':_0x2e707c});if(this['currentRevision']['toVersion']<_0x2e707c){const _0x9b22d1=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x2e707c,'to':_0x2e707c});_0x9b22d1['authors']=[],_0x9b22d1['authorsIds']=[],_0x9b22d1['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x9b22d1,!0x0),delete _0x9b22d1['authors'],_0x69ed74['push'](_0x9b22d1);}_0x1c09da['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x1c09da['name']=_0x1c09da['name']||null,_0x1c09da['id']=_0x1c09da['id']||_0x2afba9(),_0x1c09da={..._0x1c09da,..._0x12661c};const _0x1ad621=this['addRevisionData'](_0x1c09da);_0x69ed74['push'](_0x1c09da);const _0x2f5b47=this['repository']['getIndex'](_0x1ad621);if(0x0!==_0x2f5b47){const _0x1aca12=this['repository']['getRevision'](_0x2f5b47-0x1);if(_0x1aca12['fromVersion']!==_0x2e707c){const _0x46e239=this['_revisionDataBuilder']['getData'](_0x2e707c,_0x1aca12['toVersion']),_0x4fdc60={'id':_0x1aca12['id'],'diffData':_0x46e239['diffData'],'authorsIds':_0x46e239['authorsIds'],'authors':_0x46e239['authorsIds']['map'](_0xadfc1c=>this['editor']['plugins']['get']('Users')['getUser'](_0xadfc1c)),'fromVersion':_0x2e707c};_0x1aca12===this['currentRevision']&&(_0x4fdc60['createdAt']=new Date(_0x1c09da['createdAt']['getTime']()+0xa)),_0x1aca12['_update'](_0x4fdc60,!0x0),delete _0x4fdc60['authors'],_0x69ed74['push'](_0x4fdc60);}}if(this['adapter']){for(const _0xb7d635 of _0x69ed74)this['_bufferUpdate'](_0xb7d635['id'],_0xb7d635,!0x0);this['sendBufferedUpdates']();}return _0x1ad621;}['addRevisionData'](_0x32b71d){const _0x9e889a=this['repository']['createRevision'](_0x32b71d);return this['adapter']&&_0x9e889a['on']('_update',(_0x140ec2,_0x2f5b02,_0x12cf87)=>{_0x12cf87||(this['_bufferUpdate'](_0x2f5b02['id'],_0x2f5b02,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x9e889a,this['_findInsertionIndex'](_0x9e889a)),_0x9e889a;}async['getRevisionDocumentData'](_0xa00955){await this['_loadRevisionData'](_0xa00955);const _0x1f55b2={};for(const _0x2e875c in _0xa00955['diffData']){if(_0xa00955['diffData'][_0x2e875c]['attachChange']&&!_0xa00955['diffData'][_0x2e875c]['attachChange']['isAttached'])continue;const _0x374a4b=this['_removeRevisionMarkers'](JSON['parse'](_0xa00955['diffData'][_0x2e875c]['insertions'])),_0x233007=this['editor']['editing']['view']['document'],_0x20fa51=new _0x486f74(_0x233007,_0x374a4b['map'](_0x391743=>B(_0x391743,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x1f55b2[_0x2e875c]=this['editor']['data']['processor']['toData'](_0x20fa51),this['editor']['data']['processor']['useFillerType']('default');}return _0x1f55b2;}async['getRevisionRootsAttributes'](_0x5e2836){await this['_loadRevisionData'](_0x5e2836);const _0x8bd886={};for(const _0x4958cf in _0x5e2836['diffData'])_0x5e2836['diffData'][_0x4958cf]['attachChange']&&!_0x5e2836['diffData'][_0x4958cf]['attachChange']['isAttached']||(_0x8bd886[_0x4958cf]=_0x5e2836['diffData'][_0x4958cf]['attributesAfter']||{});return _0x8bd886;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x450ee3=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x1d3d07=0x0;_0x1d3d07<_0x450ee3['length'];_0x1d3d07++){const _0x2a015a=_0x450ee3[_0x1d3d07];let _0x22c7f7=!0x1;for(const _0x132917 of Object['keys'](_0x2a015a))void 0x0===_0x2a015a[_0x132917]?delete _0x2a015a[_0x132917]:'id'!==_0x132917&&(_0x22c7f7=!0x0);_0x22c7f7||(_0x450ee3[_0x1d3d07]=null);}if(_0x450ee3=_0x450ee3['filter'](_0x2ddc3c=>null!==_0x2ddc3c),!_0x450ee3['length'])return;for(let _0x27c637=0x0;_0x27c637<_0x450ee3['length'];_0x27c637++){const _0x1aa595=_0x450ee3[_0x27c637];void 0x0!==_0x1aa595['fromVersion']&&void 0x0===_0x1aa595['toVersion']&&(_0x1aa595['toVersion']=this['repository']['getRevision'](_0x1aa595['id'])['toVersion']),void 0x0!==_0x1aa595['toVersion']&&void 0x0===_0x1aa595['fromVersion']&&(_0x1aa595['fromVersion']=this['repository']['getRevision'](_0x1aa595['id'])['fromVersion']);}const _0x4ed12d=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x450ee3,_0x4ed12d)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x1bfcee=>{if(_0x1bfcee){for(const _0x116cf0 of _0x1bfcee)this['setRevisionData']({'id':_0x116cf0['id'],'createdAt':_0x116cf0['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x413aad,_0x3408bd){let _0x33c3cd=this['editor']['config']['get']('initialData'),_0x2cbd16=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x33c3cd){_0x33c3cd={};for(const _0x5116e3 of this['editor']['model']['document']['getRootNames']())_0x33c3cd[_0x5116e3]='';}if('string'==typeof _0x33c3cd&&(_0x33c3cd={'main':_0x33c3cd}),void 0x0===_0x2cbd16){_0x2cbd16={};for(const _0x37c41c of this['editor']['model']['document']['getRootNames']())_0x2cbd16[_0x37c41c]={};}let _0x5542ec=!0x1;const _0x515b2c=Object['keys'](_0x33c3cd),_0x5f0d93=Object['keys'](_0x413aad);for(const _0x1d76e3 of _0x515b2c){if(_0x33c3cd[_0x1d76e3]!==_0x413aad[_0x1d76e3]&&''!==_0x33c3cd[_0x1d76e3]['trim']()){_0x5542ec=!0x0;break;}if(!_0x456bf2(_0x2cbd16[_0x1d76e3],_0x3408bd[_0x1d76e3])&&Object['keys'](_0x2cbd16[_0x1d76e3])['length']>0x0){_0x5542ec=!0x0;break;}}_0x5542ec||(_0x5542ec=_0x5f0d93['some'](_0x210d50=>!this['editor']['model']['document']['getRoot'](_0x210d50))),_0x5542ec&&_0x229707('editor-initial-data-replaced-with-revision-data',{'editorData':_0x33c3cd,'editorRootsAttributes':_0x2cbd16,'revisionData':_0x413aad,'revisionRootsAttributes':_0x3408bd}),this['editor']['config']['set']('initialData',_0x413aad),this['editor']['config']['set']('rootsAttributes',_0x3408bd);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x299487=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x299487['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x5548c8){const _0x283ef1=this['repository']['getRevisions']();_0x283ef1['reverse']();let _0x1f9705=0x0;for(;_0x1f9705<_0x283ef1['length'];){const _0x32593d=_0x283ef1[_0x1f9705];if(_0x32593d===this['currentRevision']){_0x1f9705++;continue;}if(_0x32593d['id']===this['_initialRevisionId'])break;const _0x521b7f=_0x5548c8['toVersion']-_0x32593d['toVersion']||_0x5548c8['fromVersion']-_0x32593d['fromVersion'];if(_0x521b7f>0x0)break;if(_0x521b7f<0x0)_0x1f9705++;else{if(!_0x5548c8['creator']&&_0x32593d['creator'])break;if(_0x32593d['creator']||!_0x5548c8['creator']){if(_0x5548c8['createdAt']>_0x32593d['createdAt'])break;_0x1f9705++;}else _0x1f9705++;}}return _0x1f9705;}['setRevisionData'](_0xaad61c){const _0x1a8d70=this['repository']['getRevision'](_0xaad61c['id']);if(_0xaad61c['createdAt']&&(_0xaad61c['createdAt']=new Date(_0xaad61c['createdAt'])),_0xaad61c['authorsIds']){const _0x28e914=this['editor']['plugins']['get']('Users');_0xaad61c['authors']=_0xaad61c['authorsIds']['map'](_0x4f4378=>_0x28e914['getUser'](_0x4f4378));}_0x1a8d70['_update'](_0xaad61c,!0x0);}['buildRevisionData']({revision:_0x37a55e=null,from:_0x5ae231=null,to:_0x1cea36=null}){_0x5ae231=null!==_0x5ae231?_0x5ae231:_0x37a55e['fromVersion'],_0x1cea36=null!==_0x1cea36?_0x1cea36:_0x37a55e['toVersion'];const _0x71e138=this['_revisionDataBuilder']['getData'](_0x5ae231,_0x1cea36),_0x9ea0ef={'diffData':_0x71e138['diffData'],'authorsIds':_0x71e138['authorsIds'],'fromVersion':_0x5ae231,'toVersion':_0x1cea36};if(!_0x37a55e||_0x1cea36!==_0x37a55e['toVersion']){const _0x36a92f=_0x1cea36-0x1,_0x10cce8=this['_source']['history']['getOperation'](_0x36a92f);_0x9ea0ef['createdAt']=_0x10cce8&&_0x10cce8['createdAt']||new Date();}if(this['_loadedStateData']&&_0x5ae231===this['_loadedStateData']['fromVersion']){for(const _0x4a29b8 of this['_loadedStateData']['authors'])_0x9ea0ef['authorsIds']['includes'](_0x4a29b8['id'])||_0x9ea0ef['authorsIds']['push'](_0x4a29b8['id']);}return _0x9ea0ef;}['_loadRevisionData'](_0x4e8c53){if(!_0x4e8c53||_0x4e8c53['diffData'])return Promise['resolve']();{const _0x4cef6f=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x4cef6f,'revisionId':_0x4e8c53['id']})['then'](_0x165f59=>{_0x4e8c53['diffData']=_0x165f59['diffData'];});}}['_bufferUpdate'](_0x1c7002,_0x505027,_0x5b0b6d){if(this['_bufferedUpdates']['has'](_0x1c7002)){const _0x262ee0=this['_bufferedUpdates']['get'](_0x1c7002);_0x505027=_0x5b0b6d?{..._0x262ee0,..._0x505027}:{..._0x505027,..._0x262ee0};}this['_bufferedUpdates']['set'](_0x1c7002,_0x505027);}['_getFromVersion'](_0x26df76){const _0x3a6c23=this['repository']['getRevisions']();_0x3a6c23['reverse'](),_0x3a6c23['shift']();const _0x53a9b1=_0x3a6c23['find'](_0x278cab=>_0x278cab['toVersion']<=_0x26df76)['toVersion'];return _0x53a9b1<this['_startingVersion']?this['_startingVersion']:_0x53a9b1;}['_createInitialRevision'](_0x40c717){const _0x468002=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x468002)this['_initialRevisionId']=_0x468002['id'];else{const _0x160fe7=!this['editor']['model']['document']['roots']['find'](_0x41923c=>this['editor']['model']['hasContent'](_0x41923c)),_0xcc2c22=this['editor']['plugins']['get']('Users')['me']['id'],_0x4c2f13=y(this['editor']['locale'],_0x160fe7?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x40c717,'to':_0x40c717,'id':this['_initialRevisionId'],'name':_0x4c2f13,'creatorId':_0xcc2c22});}}['_createCurrentRevision'](_0x2fa8c8){const _0x26ec0a=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x26ec0a),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x2fa8c8,'to':_0x2fa8c8,'id':_0x26ec0a,'name':'','creatorId':null}));}['_makeRevision']({name:_0x269bf4,from:_0x106de5,to:_0x4a2e14,creatorId:_0x562a6e,id:_0x435123}){const _0x5018dc=this['buildRevisionData']({'from':_0x106de5,'to':_0x4a2e14});_0x5018dc['name']=_0x269bf4,_0x5018dc['creatorId']=_0x562a6e,_0x5018dc['id']=_0x435123;const _0x554fcf=this['addRevisionData'](_0x5018dc);return this['adapter']&&this['_bufferUpdate'](_0x5018dc['id'],_0x5018dc,!0x0),_0x554fcf;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x48a403){return(_0x48a403=_0x48a403['filter'](_0x4450af=>!_0x4450af['name']||'revision-start'!==_0x4450af['name']&&'revision-end'!==_0x4450af['name']))['forEach'](_0x566061=>{'string'!=typeof _0x566061&&(_0x566061['children']=this['_removeRevisionMarkers'](_0x566061['children']),_0x566061['attributes']=_0x566061['attributes']['filter'](_0x445540=>!_0x445540[0x0]['startsWith']('data-revision-')));}),_0x48a403;}}function B(_0xb4557b,_0x52a742){const _0x21ff37=_0x52a742['editing']['view']['document'];if('string'==typeof _0xb4557b)return new _0x186bc1(_0x21ff37,_0xb4557b);{const _0x591f76=_0xb4557b['children']['map'](_0xf4c740=>B(_0xf4c740,_0x52a742));return new(T[_0xb4557b['type']]||_0x5c9e40)(_0x21ff37,_0xb4557b['name'],_0xb4557b['attributes'],_0x591f76);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x1714f6){this['editor']=_0x1714f6,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'](_0x45ef43){this['source']=_0x45ef43;const _0x1bacfe=new Map(),_0x1ad786=new Map(),_0x2af0fb=this['editor']['model']['document']['roots']['map'](_0x40dd1a=>_0x40dd1a['rootName']);for(const _0x543a60 of _0x2af0fb){const _0xdbc1cc=this['editor']['model']['document']['getRoot'](_0x543a60),_0xc3a280=q(_0xdbc1cc);_0x1bacfe['set'](_0x543a60,_0xc3a280),_0x1ad786['set'](_0x543a60,Object['fromEntries'](_0xdbc1cc['getAttributes']()));}const _0x54f1d8=Array['from'](this['editor']['model']['markers'])['map'](_0x1de938=>[_0x1de938['name'],_0x1de938['getRange']()]),_0x13957b=this['source']['version'];this['_saveMetaData'](_0x13957b,_0x1bacfe,_0x54f1d8,_0x1ad786),this['_startingRevisionId']=this['_revisionId'];const _0x149f8f=new Map(),_0x58f677=new Map();for(const _0x5b2d8a of _0x2af0fb){const _0x320311=G(_0x5b2d8a);_0x149f8f['set'](_0x5b2d8a,_0x320311),_0x58f677['set'](_0x5b2d8a,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x149f8f,[],_0x58f677);}['getData'](_0x2642b8,_0x483672){if(this['_lastFrom']===_0x2642b8&&this['_lastTo']<=_0x483672)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x483672,!0x0);else{if(!this['_savedMetaData']['has'](_0x2642b8)){const _0x225f85=this['_getPreviousFrom'](_0x2642b8);this['_calculateMetaData'](_0x225f85,_0x2642b8,!0x1);}this['_calculateMetaData'](_0x2642b8,_0x483672,!0x0);}return this['_lastFrom']=_0x2642b8,this['_lastTo']=_0x483672,this['_getState']();}['loadState'](_0x3d224e){this['_reset'](),this['_lastFrom']=_0x3d224e['fromVersion'],this['_lastTo']=_0x3d224e['toVersion'];for(const _0x4d65c0 in _0x3d224e['diffData']){const _0x54d9b5=_0x3d224e['diffData'][_0x4d65c0]['attachChange'],_0x22ecc7=_0x57d54c(_0x3d224e['diffData'][_0x4d65c0]['attributesBefore'])||{},_0x2edc19=this['_makeModelFromViewString'](_0x3d224e['diffData'][_0x4d65c0]['deletions']);_0x2edc19['rootName']=_0x4d65c0,_0x2edc19['_isAttached']=!_0x54d9b5||!_0x54d9b5['isAttached'],_0x2edc19['isAttached']=()=>_0x2edc19['_isAttached'],this['_baseRoots']['set'](_0x4d65c0,_0x2edc19),this['_baseRootsAttributes']['set'](_0x4d65c0,_0x22ecc7),_0x54d9b5&&this['_touchedRoots']['set'](_0x4d65c0,_0x54d9b5);const _0x54a3a1=this['_makeIdsRoot'](_0x2edc19);this['_baseIdsRoots']['set'](_0x4d65c0,_0x54a3a1);for(const [_0x48e1cb,_0x587951]of _0x2edc19['markers']){if(!_0x48e1cb['startsWith']('revision:'))continue;const _0x1163bf=_0x48e1cb['split'](':')[0x2];for(const _0x29ef59 of _0x587951['getWalker']({'singleCharacters':!0x0})){const _0x4afa74=this['_getVidAttributeName'](_0x29ef59),_0x551a01='elementEnd'==_0x29ef59['type']?_0x29ef59['previousPosition']['path']['slice'](0x0,-0x1):_0x29ef59['previousPosition']['path'],_0x3f8dbe=_0x54a3a1['getNodeByPath'](_0x551a01)['getAttribute'](_0x4afa74);this['_touched']['set'](_0x3f8dbe,{'userId':_0x1163bf});}}}this['_startingRevisionId']=this['_revisionId'];const _0x1c5b60=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x2f90c9=>!this['_touched']['has'](_0x2f90c9));let _0x27cc27=0x0;const _0x45fbcd=new Map();for(const _0x2e451a in _0x3d224e['diffData']){const _0x4d87fb=_0x3d224e['diffData'][_0x2e451a]['attachChange'],_0x19c1c4=_0x57d54c(_0x3d224e['diffData'][_0x2e451a]['attributesAfter'])||{},_0x23a03a=this['_makeModelFromViewString'](_0x3d224e['diffData'][_0x2e451a]['insertions']);_0x23a03a['rootName']=_0x2e451a,_0x23a03a['_isAttached']=!_0x4d87fb||_0x4d87fb['isAttached'],_0x23a03a['isAttached']=()=>_0x23a03a['_isAttached'],this['_diffRoots']['set'](_0x2e451a,_0x23a03a),this['_diffRootsAttributes']['set'](_0x2e451a,_0x19c1c4);const _0x3592b2=this['_makeIdsRoot'](_0x23a03a,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x2e451a,_0x3592b2),_0x45fbcd['set'](_0x2e451a,_0x23a03a['isAttached']()?_0x19c1c4:{});for(const [_0x436c97,_0xb2c702]of _0x23a03a['markers']){if(!_0x436c97['startsWith']('revision:'))continue;const _0x1f0634=_0x436c97['split'](':')[0x2];for(const _0x2db3d2 of _0xb2c702['getWalker']({'singleCharacters':!0x0})){const _0x42a33d=this['_getVidAttributeName'](_0x2db3d2),_0x343370=this['_revisionId']++,_0x5e01d1='elementEnd'==_0x2db3d2['type']?_0x2db3d2['previousPosition']['path']['slice'](0x0,-0x1):_0x2db3d2['previousPosition']['path'];_0x3592b2['getNodeByPath'](_0x5e01d1)['_setAttribute'](_0x42a33d,_0x343370),this['_touched']['set'](_0x343370,{'userId':_0x1f0634});}}for(const _0x48f0e1 of this['editor']['model']['createRangeIn'](_0x23a03a)['getWalker']({'singleCharacters':!0x0})){const _0xca9552=this['_getVidAttributeName'](_0x48f0e1),_0x3d2c9b='elementEnd'==_0x48f0e1['type']?_0x48f0e1['previousPosition']['path']['slice'](0x0,-0x1):_0x48f0e1['previousPosition']['path'],_0x26c53f=_0x3592b2['getNodeByPath'](_0x3d2c9b);_0x26c53f['getAttribute'](_0xca9552)>0x0||_0x26c53f['_setAttribute'](_0xca9552,_0x1c5b60[_0x27cc27++]);}for(const [_0x3f9401,_0x2f8b96]of _0x23a03a['markers'])_0x3f9401['startsWith']('revision:')||this['_markers']['set'](_0x3f9401,_0x2f8b96);}const _0x1a466b=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x1a466b),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1a466b,0x1));const _0x4dbbdd=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x4dbbdd),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4dbbdd,0x1));const _0x171b56=Array['from'](this['_diffRoots'])['map'](([_0x2d83a1,_0x4c9027])=>[_0x2d83a1,q(_0x4c9027)]);this['_saveMetaData'](this['_lastTo'],_0x171b56,this['_markers'],_0x45fbcd);}['_makeModelFromViewString'](_0x22fd4c){const _0x47ce41=JSON['parse'](_0x22fd4c),_0x169bc8=this['editor']['editing']['view']['document'],_0x58da08=new _0x486f74(_0x169bc8,_0x47ce41['map'](_0x3122f6=>B(_0x3122f6,this['editor'])));return this['editor']['data']['toModel'](_0x58da08);}['_saveMetaData'](_0x196770,_0x55015a,_0x2a838a,_0x1afc62){const _0x1cba6f=new Map(_0x55015a),_0x378d1d=new Map(_0x57d54c(_0x1afc62)),_0x19830f=new Map();for(const [_0x3f3eac,_0x557c19]of _0x2a838a)_0x19830f['set'](_0x3f3eac,{'start':_0x557c19['start']['clone'](),'end':_0x557c19['end']['clone'](),'rootName':_0x557c19['root']['rootName']});this['_savedMetaData']['set'](_0x196770,{'roots':_0x1cba6f,'markers':_0x19830f,'rootsAttributes':_0x378d1d});}['_removeMetaData'](_0x463be3){this['_savedMetaData']['delete'](_0x463be3);}['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'](_0x1a0c13,_0x456b4f=null){let _0xa20508=null;_0x1a0c13['is']('documentFragment')||(_0xa20508=new ft(_0x1a0c13['name'],{'vid_start':null===_0x456b4f?this['_revisionId']++:_0x456b4f++}));const _0x427638=[];for(const _0x49f467 of _0x1a0c13['getChildren']())if(_0x49f467['is']('element')){_0x427638['push'](this['_makeIdsRoot'](_0x49f467,_0x456b4f));const _0x3e8323=_0x427638[_0x427638['length']-0x1];null!==_0x456b4f&&(_0x456b4f=_0x3e8323['is']('element','$text')?_0x3e8323['getAttribute']('vid')+0x1:_0x3e8323['getAttribute']('vid_end')+0x1);}else{for(let _0x3414f0=0x0;_0x3414f0<_0x49f467['offsetSize'];_0x3414f0++)_0x427638['push'](new ft('$text',{'vid':null===_0x456b4f?this['_revisionId']++:_0x456b4f++}));}if(_0x1a0c13['is']('documentFragment')){const _0x4b4c0f=G(_0x1a0c13['rootName']);return _0x4b4c0f['_insertChild'](0x0,_0x427638),_0x4b4c0f;}return _0xa20508['_setAttribute']('vid_end',null===_0x456b4f?this['_revisionId']++:_0x456b4f++),_0xa20508['_insertChild'](0x0,_0x427638),_0xa20508;}['_calculateMetaData'](_0x4d9352,_0xee29d,_0x3b8e7d){this['_reset']();const {roots:_0x561847,markers:_0x554d24,rootsAttributes:_0x5bb9b6}=this['_savedMetaData']['get'](_0x4d9352);this['_baseRoots']=new Map(_0x561847),this['_baseRootsAttributes']=new Map(_0x57d54c(_0x5bb9b6));for(const [_0x4609db,_0x5f5464]of this['_baseRoots'])if('$graveyard'!==_0x4609db&&(this['_diffRoots']['set'](_0x4609db,q(_0x5f5464)),this['_diffRootsAttributes']=new Map(_0x57d54c(_0x5bb9b6)),_0x3b8e7d)){const _0x4d41e4=this['_revisionId'];this['_idsRoots']['set'](_0x4609db,this['_makeIdsRoot'](_0x5f5464)),this['_baseIdsRoots']['set'](_0x4609db,this['_makeIdsRoot'](_0x5f5464,_0x4d41e4));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x3b8e7d&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x3c9f28,_0x54e165]of _0x554d24){const _0x36cfba=this['_baseRoots']['get'](_0x54e165['rootName']),_0x3a391b=this['_diffRoots']['get'](_0x54e165['rootName']),_0x45818c=new vt(this['_fixPosition'](_0x54e165['start'],_0x36cfba),this['_fixPosition'](_0x54e165['end'],_0x36cfba)),_0x444a1d=this['_fixRange'](_0x45818c,_0x3a391b);_0x36cfba['markers']['set'](_0x3c9f28,_0x45818c),this['_markers']['set'](_0x3c9f28,_0x444a1d);}this['_applyOperations'](_0x4d9352,_0xee29d,_0x3b8e7d);}['_applyOperations'](_0x24aa0b,_0x4af703,_0xc5d912){for(const _0x269f0b of this['source']['getOperations'](_0x24aa0b,_0x4af703))this['_handleOperation'](_0x269f0b,_0xc5d912);for(const _0x31df25 of this['_diffRoots']['values']())_0x31df25['markers']['clear']();for(const [_0x56583c,_0x526178]of this['_markers']){this['_diffRoots']['get'](_0x526178['root']['rootName'])['markers']['set'](_0x56583c,_0x526178['clone']());}const _0x3f5cae=new Map(),_0x45a752=new Map();for(const [_0x1a35b9,_0x33e04f]of this['_diffRoots'])_0x3f5cae['set'](_0x1a35b9,q(_0x33e04f)),_0x45a752['set'](_0x1a35b9,this['_diffRootsAttributes']['get'](_0x1a35b9));this['_saveMetaData'](_0x4af703,_0x3f5cae,this['_markers'],_0x45a752);}['_getPreviousFrom'](_0x5a404f){const _0x21dfba=Array['from'](this['_savedMetaData']['keys']());_0x21dfba['sort']((_0x55c381,_0x34cbcf)=>_0x55c381-_0x34cbcf),_0x21dfba['reverse']();for(const _0x458fef of _0x21dfba)if(_0x458fef<_0x5a404f)return _0x458fef;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x1eefb2,_0x496466){const _0x1a0daf=Array['from'](_0x496466['markers'])['map'](([_0x2b39a2,_0x21f0e3])=>[_0x2b39a2,this['_fixRange'](_0x21f0e3,_0x1eefb2)]);_0x1eefb2['markers']=new Map(_0x1a0daf);}['_transformMarkers'](_0x536536){for(const _0x13d039 of this['_markers']['values']()){const _0x54a195=_0x13d039['getTransformedByOperation'](_0x536536),_0x44c287=vt['_createFromRanges'](_0x54a195);_0x13d039['start']=_0x44c287['start'],_0x13d039['end']=_0x44c287['end'];}}['_handleOperation'](_0x35bd73,_0x4080f5){if('addRoot'==_0x35bd73['type']||'detachRoot'==_0x35bd73['type'])return void this['_handleRootOperation'](_0x35bd73,_0x4080f5);if('insert'==_0x35bd73['type']){const _0x842239=_0x35bd73['position']['root']['rootName'];this['_diffRoots']['has'](_0x842239)||(this['_diffRoots']['set'](_0x842239,G(_0x842239,!0x0)),this['_diffRootsAttributes']['set'](_0x842239,{}),_0x4080f5&&this['_idsRoots']['set'](_0x842239,G(_0x842239,!0x0)));}else{if('addRootAttribute'==_0x35bd73['type']||'removeRootAttribute'==_0x35bd73['type']||'changeRootAttribute'==_0x35bd73['type'])return void this['_handleRootAttributeOperation'](_0x35bd73);}const _0x1007b0=this['_cloneOperation'](_0x35bd73,this['_diffRoots']);if('marker'!==_0x35bd73['type']&&(_0x1007b0['_execute'](),this['_transformMarkers'](_0x1007b0)),_0x4080f5)switch(_0x1007b0['type']){case'insert':this['_handleInsertOperation'](_0x35bd73);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x35bd73);break;case'merge':this['_handleMergeOperation'](_0x35bd73);break;case'split':this['_handleSplitOperation'](_0x35bd73);break;case'marker':this['_handleMarkerOperation'](_0x35bd73);}}['_cloneOperation'](_0x4c472b,_0x3dd9ff){const _0x4313b1=_0x4c472b['clone']();return _0x4313b1['_authorId']=_0x4c472b['_authorId'],this['_fixOperation'](_0x4313b1,_0x3dd9ff),_0x4313b1;}['_getBaseVids'](_0x561924){return _0x561924['map'](_0x78ca5f=>{const _0xb23ee8=this['_getVidAttributeName'](_0x78ca5f);return Number(_0x78ca5f['item']['getAttribute'](_0xb23ee8));});}['_generateTape'](_0x278e37,_0x33a1b8){if(_0x278e37['is']('element','$text'))_0x33a1b8['push']({'item':_0x278e37,'type':'text'});else{_0x278e37['is']('element')&&_0x33a1b8['push']({'item':_0x278e37,'type':'elementStart'});for(const _0x44cf91 of _0x278e37['getChildren']())this['_generateTape'](_0x44cf91,_0x33a1b8);_0x278e37['is']('element')&&_0x33a1b8['push']({'item':_0x278e37,'type':'elementEnd'});}return _0x33a1b8;}['_getState'](){const _0x39b70c=new Map(this['_touched']),_0x25610e=new Map(_0x39b70c),_0x992bc=new Map(),_0x49f5ce={'insertions':{},'deletions':{}},_0x4d7d8f={'insertions':{},'deletions':{}},_0x487308=new Map(),_0x5e104d=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x5e104d['delete']('$graveyard');for(const _0x4daebf of _0x5e104d){const _0xa8599c=this['_diffRoots']['get'](_0x4daebf)||G(_0x4daebf,!0x1),_0x5d34c8=this['_baseRoots']['get'](_0x4daebf)||G(_0x4daebf,!0x1);_0xa8599c['isAttached']()||_0x5d34c8['isAttached']()?(_0x49f5ce['insertions'][_0x4daebf]=q(_0xa8599c),_0x49f5ce['deletions'][_0x4daebf]=q(_0x5d34c8),this['_copyMarkers'](_0x49f5ce['deletions'][_0x4daebf],_0x5d34c8),this['_copyMarkers'](_0x49f5ce['insertions'][_0x4daebf],_0xa8599c),_0x4d7d8f['insertions'][_0x4daebf]=this['_generateTape'](this['_idsRoots']['get'](_0x4daebf),[]),_0x4d7d8f['deletions'][_0x4daebf]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x4daebf)||G(_0x4daebf,!0x1),[])):_0x5e104d['delete'](_0x4daebf);}for(const _0x756e1d of _0x5e104d){const _0x2a240e=_0x4d7d8f['insertions'][_0x756e1d];for(const _0x4abce1 of _0x2a240e){const _0x3765b1=this['_getVidAttributeName'](_0x4abce1),_0x2a996c=_0x4abce1['item']['getAttribute'](_0x3765b1);_0x25610e['delete'](_0x2a996c),_0x2a996c>=this['_startingRevisionId']&&_0x992bc['set'](_0x2a996c,_0x39b70c['get'](_0x2a996c));}}for(const _0x31b5ab of _0x5e104d){const _0x40bd0d=_0x4d7d8f['insertions'][_0x31b5ab],_0x4b9144=this['_getBaseVids'](_0x4d7d8f['deletions'][_0x31b5ab]);let _0x5ea64c=0x0;for(const _0x11a2b2 of _0x40bd0d){const _0x37b4bf=this['_getVidAttributeName'](_0x11a2b2),_0x1b4de9=_0x11a2b2['item']['getAttribute'](_0x37b4bf);if(!_0x992bc['has'](_0x1b4de9)&&!_0x487308['has'](_0x1b4de9)){if(_0x25610e['has'](_0x1b4de9))_0x5ea64c++;else{if(_0x1b4de9!=_0x4b9144[_0x5ea64c]){const _0x319a44=_0x39b70c['get'](_0x1b4de9)||_0x39b70c['get'](_0x4b9144[_0x5ea64c]);for(;_0x1b4de9!=_0x4b9144[_0x5ea64c];)_0x25610e['has'](_0x4b9144[_0x5ea64c])||(_0x487308['set'](_0x4b9144[_0x5ea64c],_0x319a44),_0x39b70c['set'](_0x4b9144[_0x5ea64c],_0x319a44)),_0x5ea64c++;}_0x5ea64c++;}}}}for(const _0x1e26dc of _0x5e104d){const _0x30070f=_0x4d7d8f['insertions'][_0x1e26dc];for(const _0x6c07d4 of _0x30070f){const _0x44baa5=this['_getVidAttributeName'](_0x6c07d4),_0x19493b=_0x6c07d4['item']['getAttribute'](_0x44baa5);if(_0x487308['has'](_0x19493b)){const _0x24e08c=_0x487308['get'](_0x19493b);_0x25610e['has'](_0x19493b)||_0x25610e['set'](_0x19493b,{..._0x24e08c}),_0x992bc['set'](_0x19493b,{..._0x24e08c});}}}for(const _0x2dc0c5 of _0x25610e['keys']())_0x2dc0c5>=this['_startingRevisionId']&&_0x25610e['delete'](_0x2dc0c5);const _0x2a04c6=new Map();for(const _0x35e7e4 of _0x5e104d){let _0x2e8e87=_0x4d7d8f['insertions'][_0x35e7e4];for(const _0x89769 of _0x2e8e87)if(_0x89769['item']['is']('element','tableCell')){const _0x34bd75=this['_getVidAttributeName'](_0x89769),_0x5a50d9=_0x89769['item']['getAttribute'](_0x34bd75);if(_0x992bc['has'](_0x5a50d9)){const _0x3365e8=_0x89769['item']['parent']['parent']['getAttribute']('vid_start'),_0x25c768=_0x2a04c6['get'](_0x3365e8)||new Set();_0x25c768['add'](_0x992bc['get'](_0x5a50d9)['userId']),_0x2a04c6['set'](_0x3365e8,_0x25c768);}}_0x2e8e87=_0x4d7d8f['deletions'][_0x35e7e4];for(const _0x20ece6 of _0x2e8e87)if(_0x20ece6['item']['is']('element','tableCell')){const _0x51d84e=this['_getVidAttributeName'](_0x20ece6),_0x2f555d=_0x20ece6['item']['getAttribute'](_0x51d84e);if(_0x25610e['has'](_0x2f555d)){const _0x48f5fe=_0x20ece6['item']['parent']['parent']['getAttribute']('vid_start'),_0x252e08=_0x2a04c6['get'](_0x48f5fe)||new Set();_0x252e08['add'](_0x25610e['get'](_0x2f555d)['userId']),_0x2a04c6['set'](_0x48f5fe,_0x252e08);}}for(const _0x190e35 of _0x2a04c6['keys']())(_0x992bc['has'](_0x190e35)||_0x25610e['has'](_0x190e35))&&_0x2a04c6['delete'](_0x190e35);}for(const _0x2b4f64 of _0x5e104d){const _0x361135=_0x4d7d8f['insertions'][_0x2b4f64];let _0x1c908b=null,_0x5388d0=null;for(const _0x5a40a3 of _0x361135){const _0x4afb9a=this['_getVidAttributeName'](_0x5a40a3),_0x31ab1a=_0x5a40a3['item']['getAttribute'](_0x4afb9a),_0x423c69=_0x2a04c6['get'](_0x31ab1a);_0x423c69&&'elementStart'==_0x5a40a3['type']&&(_0x1c908b=Array['from'](_0x423c69)[0x0],_0x5388d0=_0x5a40a3['item']['getAttribute']('vid_end')),_0x1c908b&&(_0x25610e['set'](_0x31ab1a,{'userId':_0x1c908b}),_0x992bc['set'](_0x31ab1a,{'userId':_0x1c908b})),_0x31ab1a==_0x5388d0&&(_0x1c908b=null,_0x5388d0=null);}}const _0x2dd43b={},_0x420ba1=new Set();for(const _0x27b9cc of _0x5e104d){const _0x491165=_0x49f5ce['deletions'][_0x27b9cc],_0x4fddf2=_0x49f5ce['insertions'][_0x27b9cc];for(const {userId:_0x2aa6d6}of this['_touchedMarkers']['values']())null!==_0x2aa6d6&&_0x420ba1['add'](_0x2aa6d6);for(const {userId:_0x207579}of this['_touchedRoots']['values']())null!==_0x207579&&_0x420ba1['add'](_0x207579);this['_markChanges'](_0x4fddf2,_0x4d7d8f['insertions'][_0x27b9cc],_0x992bc,'insertion',_0x420ba1),this['_markChanges'](_0x491165,_0x4d7d8f['deletions'][_0x27b9cc],_0x25610e,'deletion',_0x420ba1),_0x2dd43b[_0x27b9cc]={'insertions':this['_prepareViewToSave'](_0x4fddf2),'deletions':this['_prepareViewToSave'](_0x491165),'attachChange':this['_touchedRoots']['get'](_0x27b9cc)||null,'attributesBefore':_0x57d54c(this['_baseRootsAttributes']['get'](_0x27b9cc))||{},'attributesAfter':_0x57d54c(this['_diffRootsAttributes']['get'](_0x27b9cc))};}return{'diffData':_0x2dd43b,'authorsIds':Array['from'](_0x420ba1)};}['_processRootBeforeSave'](_0x5233e8){for(const [,_0x3d6bd5]of _0x5233e8['markers']){const _0x3d49e7=_0x3d6bd5['start']['getAncestors']()['filter'](_0x5e1c30=>'tableCell'==_0x5e1c30['name']);for(const _0x2060c6 of _0x3d49e7)0x1==_0x2060c6['childCount']&&_0x2060c6['getChild'](0x0)['is']('element','paragraph')&&_0x2060c6['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x61cc2c){this['_processRootBeforeSave'](_0x61cc2c);const _0x1fd54e=this['editor']['data']['toView'](_0x61cc2c,{}),_0x33ce9c=Array['from'](_0x1fd54e['getChildren']())['map'](_0x451aaa=>this['_getViewJson'](_0x451aaa));return JSON['stringify'](_0x33ce9c);}['_getViewJson'](_0x28c024){if(_0x28c024['is']('$text'))return _0x28c024['data'];{const _0x37b62d=_0x28c024;return{'type':Object['keys'](T)['find'](_0x248c9d=>_0x28c024 instanceof T[_0x248c9d]),'name':_0x37b62d['name'],'attributes':Array['from'](_0x37b62d['getAttributes']()),'children':Array['from'](_0x37b62d['getChildren']())['map'](_0x4ada52=>this['_getViewJson'](_0x4ada52))};}}['_markChanges'](_0x357c1d,_0x2ab4e1,_0x57ed4b,_0x1d3323,_0xbb72f4){let _0x2b18f8=null,_0xb4c1e0=null,_0x1c7aa3=0x0;const _0x19ef2e=this['editor']['model'];for(let _0xdc33f2=0x0;_0xdc33f2<_0x2ab4e1['length'];_0xdc33f2++){const _0x2f77bb=this['_getVidAttributeName'](_0x2ab4e1[_0xdc33f2]),_0x37a4ad=_0x2ab4e1[_0xdc33f2]['item']['getAttribute'](_0x2f77bb),_0x2d3d01=_0x57ed4b['get'](_0x37a4ad),_0x38f4c3=_0xdc33f2==_0x2ab4e1['length']-0x1;(!_0x2b18f8&&_0x2d3d01&&(_0x2b18f8=_0x2d3d01,_0xb4c1e0=_0x2ab4e1[_0xdc33f2]),_0x2b18f8&&(!_0x2d3d01||_0x2d3d01['userId']!=_0x2b18f8['userId']))&&(_0x219638(_0x2d3d01,L(_0xb4c1e0,_0x357c1d,_0x19ef2e),L(_0x2ab4e1[_0xdc33f2],_0x357c1d,_0x19ef2e)),_0x2b18f8=_0x2d3d01||null,_0xb4c1e0=_0x2d3d01?_0x2ab4e1[_0xdc33f2]:null),_0x2b18f8&&_0x38f4c3&&_0x219638(_0x2d3d01,L(_0xb4c1e0,_0x357c1d,_0x19ef2e),W(_0x2ab4e1[_0xdc33f2],_0x357c1d,_0x19ef2e));}function _0x219638(_0x105091,_0x12fd50,_0x3e12b8){const _0xa1a33d=_0x2b18f8['userId'],_0x12c38e='revision:'+_0x1d3323+':'+_0xa1a33d+':'+_0x1c7aa3++,_0x1cb4a8=_0x19ef2e['createRange'](_0x12fd50,_0x3e12b8);_0x357c1d['markers']['set'](_0x12c38e,_0x1cb4a8),null!==_0xa1a33d&&_0xbb72f4['add'](_0xa1a33d);}}['_getVidAttributeName'](_0x28121d){switch(_0x28121d['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x4a1dfa,_0x21a3ee){_0x4a1dfa['baseVersion']=null;for(const _0x13a1b1 in _0x4a1dfa){const _0x10e80b=_0x4a1dfa[_0x13a1b1];if(_0x10e80b instanceof gt){const _0x442498=_0x21a3ee['get'](_0x10e80b['root']['rootName']);_0x4a1dfa[_0x13a1b1]=this['_fixPosition'](_0x10e80b,_0x442498);}if(_0x10e80b instanceof vt){const _0x4e4cb9=_0x21a3ee['get'](_0x10e80b['root']['rootName']);_0x4a1dfa[_0x13a1b1]=this['_fixRange'](_0x10e80b,_0x4e4cb9);}'root'===_0x13a1b1&&(_0x4a1dfa['root']=_0x21a3ee['get'](_0x4a1dfa['root']['rootName']));}}['_fixRange'](_0x2c8c56,_0x1ce3b5){return this['editor']['model']['createRange'](this['_fixPosition'](_0x2c8c56['start'],_0x1ce3b5),this['_fixPosition'](_0x2c8c56['end'],_0x1ce3b5));}['_fixPosition'](_0x15e9d6,_0x2dd2f3){return this['editor']['model']['createPositionFromPath'](_0x2dd2f3,_0x15e9d6['path'],_0x15e9d6['stickiness']);}['_handleInsertOperation'](_0x2c252b){const _0x47409c=this['_idsRoots']['get'](_0x2c252b['position']['root']['rootName']),_0x1f28cb=this['_fixPosition'](_0x2c252b['position'],_0x47409c),_0x58b955=null===_0x2c252b['_authorId']?null:_0x2c252b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x14b250=_0x1f28cb['parent'],_0xee6ae9=this['_revisionId'],_0x1291fa=[];for(const _0xb1d1c1 of _0x2c252b['nodes'])if(_0xb1d1c1['is']('element'))_0x1291fa['push'](this['_makeIdsRoot'](_0xb1d1c1));else{for(let _0x72ac95=0x0;_0x72ac95<_0xb1d1c1['offsetSize'];_0x72ac95++)_0x1291fa['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x5118bf=this['_revisionId'];for(let _0x4f72c7=_0xee6ae9;_0x4f72c7<_0x5118bf;_0x4f72c7++)this['_touched']['set'](_0x4f72c7,{'userId':_0x58b955});_0x14b250['_insertChild'](_0x1f28cb['offset'],_0x1291fa);}['_handleMoveOperation'](_0x4e7b43){(_0x4e7b43=this['_cloneOperation'](_0x4e7b43,this['_idsRoots']))['_execute']();const _0x2af545=null===_0x4e7b43['_authorId']?null:_0x4e7b43['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x28adf4=_0x4e7b43['getMovedRangeStart'](),_0x31c68d=_0x28adf4['parent'],_0x420d91=_0x28adf4['offset'];!function _0x121db6(_0x104bd1,_0x27b633,_0x2f67cf,_0x18e05e){for(let _0xe7a5ae=_0x2f67cf;_0xe7a5ae<_0x18e05e;_0xe7a5ae++){const _0xa56cc9=_0x27b633['getChild'](_0xe7a5ae);_0xa56cc9['is']('element','$text')?_0x104bd1['set'](_0xa56cc9['getAttribute']('vid'),{'userId':_0x2af545}):(_0x104bd1['set'](_0xa56cc9['getAttribute']('vid_start'),{'userId':_0x2af545}),_0x121db6(_0x104bd1,_0xa56cc9,0x0,_0xa56cc9['childCount']),_0x104bd1['set'](_0xa56cc9['getAttribute']('vid_end'),{'userId':_0x2af545}));}}(this['_touched'],_0x31c68d,_0x420d91,_0x420d91+_0x4e7b43['howMany']);}['_handleMergeOperation'](_0x117a4d){const _0x35d65a=null===(_0x117a4d=this['_cloneOperation'](_0x117a4d,this['_idsRoots']))['_authorId']?null:_0x117a4d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x12f723=_0x117a4d['targetPosition']['parent'],_0xc88d75=_0x117a4d['sourcePosition']['parent'],_0x3865b8=_0x12f723['getAttribute']('vid_end'),_0x5c1347=_0xc88d75['getAttribute']('vid_start');_0x12f723['_setAttribute']('vid_end',_0xc88d75['getAttribute']('vid_end')),_0xc88d75['_setAttribute']('vid_end',_0x3865b8),this['_touched']['set'](_0x5c1347,{'userId':_0x35d65a}),this['_touched']['set'](_0x3865b8,{'userId':_0x35d65a}),_0x117a4d['_execute']();}['_handleSplitOperation'](_0x473935){const _0x3a54a2=null===(_0x473935=this['_cloneOperation'](_0x473935,this['_idsRoots']))['_authorId']?null:_0x473935['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x320040=_0x473935['graveyardPosition'],_0xa3f248=_0x473935['splitPosition']['parent'];_0x473935['_execute']();const _0x14c676=_0xa3f248['getAttribute']('vid_end'),_0x479d96=_0x473935['insertionPosition']['nodeAfter'];if(_0x320040){const _0x2b5046=_0x479d96['getAttribute']('vid_end'),_0x2aef45=_0xa3f248['getAttribute']('vid_end');_0xa3f248['_setAttribute']('vid_end',_0x2b5046),_0x479d96['_setAttribute']('vid_end',_0x2aef45),this['_touched']['set'](_0xa3f248['getAttribute']('vid_end'),{'userId':_0x3a54a2}),this['_touched']['set'](_0x479d96['getAttribute']('vid_start'),{'userId':_0x3a54a2});}else{const _0x37579c=this['_revisionId']++,_0xf8d712=this['_revisionId']++;_0xa3f248['_setAttribute']('vid_end',_0x37579c),_0x479d96['_setAttribute']('vid_start',_0xf8d712),_0x479d96['_setAttribute']('vid_end',_0x14c676),this['_touched']['set'](_0x37579c,{'userId':_0x3a54a2}),this['_touched']['set'](_0xf8d712,{'userId':_0x3a54a2});}}['_handleMarkerOperation'](_0x197513){if(!_0x197513['affectsData'])return;const _0x5563d0=(_0x197513=this['_cloneOperation'](_0x197513,this['_diffRoots']))['oldRange']?_0x197513['oldRange']['root']:null,_0x237f61=_0x197513['newRange']?_0x197513['newRange']['root']:null;_0x5563d0&&this['_markers']['delete'](_0x197513['name']),_0x237f61&&this['_markers']['set'](_0x197513['name'],_0x197513['newRange']['clone']());const _0x262022=null===_0x197513['_authorId']?null:_0x197513['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x85ed2b=_0x197513['name'];if(!this['_touchedMarkers']['has'](_0x85ed2b))return void this['_touchedMarkers']['set'](_0x85ed2b,{'range':_0x197513['oldRange'],'userId':_0x262022});const _0x301cc6=this['_touchedMarkers']['get'](_0x85ed2b),_0x50fe12=_0x301cc6['range'],_0x72daa1=_0x197513['newRange'];null==_0x50fe12&&null==_0x72daa1||_0x50fe12&&_0x72daa1&&_0x50fe12['isEqual'](_0x72daa1)?this['_touchedMarkers']['delete'](_0x197513['name']):_0x301cc6['userId']=_0x262022;}['_handleRootOperation'](_0x37e346,_0x1d8b2f){this['_diffRoots']['has'](_0x37e346['rootName'])?this['_diffRoots']['get'](_0x37e346['rootName'])['_isAttached']=_0x37e346['isAdd']:(this['_diffRoots']['set'](_0x37e346['rootName'],G(_0x37e346['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x37e346['rootName'],{}),_0x1d8b2f&&this['_idsRoots']['set'](_0x37e346['rootName'],G(_0x37e346['rootName'],!0x0)));const _0x497760=null===_0x37e346['_authorId']?null:_0x37e346['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x49416e=this['_touchedRoots']['get'](_0x37e346['rootName']);_0x49416e&&_0x49416e['userId']===_0x497760?this['_touchedRoots']['delete'](_0x37e346['rootName']):this['_touchedRoots']['set'](_0x37e346['rootName'],{'userId':_0x497760,'isAttached':_0x37e346['isAdd']});}['_handleRootAttributeOperation'](_0x41ec7c){const _0x50edaf=this['_diffRootsAttributes']['get'](_0x41ec7c['root']['rootName']);null===_0x41ec7c['newValue']?delete _0x50edaf[_0x41ec7c['key']]:_0x50edaf[_0x41ec7c['key']]=_0x41ec7c['newValue'];}}function q(_0x815b2){const _0x258ec5=G(_0x815b2['rootName'],_0x815b2['isAttached']());for(const _0x1aeb31 of _0x815b2['getChildren']()){const _0x19e80e=_0x1aeb31['_clone'](!0x0);_0x258ec5['_appendChild'](_0x19e80e);}return _0x258ec5;}function G(_0x5183d5,_0x2590d9=!0x0){const _0x5f3c9c=new wt();return _0x5f3c9c['rootName']=_0x5183d5,_0x5f3c9c['_isAttached']=_0x2590d9,_0x5f3c9c['isAttached']=()=>_0x5f3c9c['_isAttached'],_0x5f3c9c;}function L(_0x28cc14,_0x55da75,_0x4e1eab){const _0xc68a73='elementEnd'==_0x28cc14['type']?_0x4e1eab['createPositionAt'](_0x28cc14['item'],'end'):_0x4e1eab['createPositionBefore'](_0x28cc14['item']);return _0x4e1eab['createPositionFromPath'](_0x55da75,_0xc68a73['path'],_0xc68a73['stickiness']);}function W(_0x492e2c,_0x8a4232,_0x946c4e){const _0x10a161='elementStart'==_0x492e2c['type']?_0x946c4e['createPositionAt'](_0x492e2c['item'],0x0):_0x946c4e['createPositionAfter'](_0x492e2c['item']);return _0x946c4e['createPositionFromPath'](_0x8a4232,_0x10a161['path'],_0x10a161['stickiness']);}class ns extends _0x28ae58{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x2b6d31,_0xc61d81){super(_0x2b6d31),this['focusTracker']=new _0x3c6b64(),this['keystrokes']=new _0x23c060(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0xc61d81),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'](),_0x26fb83({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x593699=_0x29baf0=>_0x29baf0['stopPropagation']();this['keystrokes']['set']('arrowright',_0x593699),this['keystrokes']['set']('arrowleft',_0x593699),this['keystrokes']['set']('arrowup',_0x593699),this['keystrokes']['set']('arrowdown',_0x593699);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x2c2b3a){this['revisionNameInputView']['fieldView']['element']['value']=_0x2c2b3a['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x360a3d){const _0x301303=new at(this['locale'],_0x10f167),_0x1971a8=_0x301303['fieldView'];_0x1971a8['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x5333c9=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x360a3d&&(_0x5333c9+='\x20('+y(this['locale'],'optional')+')'),(_0x301303['label']=_0x5333c9,_0x1971a8['on']('input',()=>{this['revisionNameInputValue']=_0x1971a8['element']['value']['trim']();}),_0x301303);}}class u extends _0x1ed686{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x201a00=this['editor'],_0x3b0052=_0x201a00['plugins']['get']('RevisionTracker');_0x201a00['ui']['componentFactory']['add']('revisionHistory',_0x519b4f=>{const _0x298e8f=_0x51e52f(_0x519b4f),_0x5bcc7f=_0x298e8f['panelView']['children'],_0xc84fe4=new te(_0x519b4f),_0x1a690f=new _0x2f3fb8(_0x519b4f),_0x108cb4=new _0x1f7c37(_0x519b4f),_0x43a471=new _0x2f3fb8(_0x519b4f),_0x1f54a6=new _0x1f7c37(_0x519b4f);return _0x298e8f['bind']('isEnabled')['to'](_0x3b0052,'isReady',_0x3b0052,'isEnabled',_0x201a00,'isReadOnly',(_0x173746,_0x9d03e3,_0x2589b6)=>_0x173746&&_0x9d03e3&&!_0x2589b6),_0x298e8f['buttonView']['set']({'icon':_0x5d7b1e['history'],'label':y(_0x519b4f,'Revision\x20history'),'tooltip':!0x0}),_0x108cb4['set']({'label':y(_0x519b4f,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x108cb4['bind']('isEnabled')['to'](_0x3b0052,'isReady',_0x3b0052,'isEnabled',_0x201a00,'isReadOnly',(_0x3c5bb8,_0x5c9ea4,_0x5f5b5b)=>_0x3c5bb8&&_0x5c9ea4&&!_0x5f5b5b),_0x108cb4['on']('execute',()=>this['_showDialog']()),_0x1f54a6['set']({'label':y(_0x519b4f,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x1f54a6['bind']('isEnabled')['to'](_0x3b0052,'isReady',_0x201a00,'isReadOnly',(_0x5ad651,_0xf8975a)=>_0x5ad651&&!_0xf8975a),_0x1f54a6['on']('execute',()=>{_0x201a00['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x298e8f['isOpen']=!0x1,_0x201a00['editing']['view']['focus']();}),_0x1a690f['children']['add'](_0x108cb4),_0x43a471['children']['add'](_0x1f54a6),_0xc84fe4['role']='menu',_0xc84fe4['items']['addMany']([_0x1a690f,_0x43a471]),_0x5bcc7f['add'](_0xc84fe4),_0x298e8f;}),_0x201a00['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x3d4a78=this['editor'],_0x40ecb0=_0x3d4a78['locale'],_0x3c1424=new _0xa20eb8(_0x40ecb0),_0x47d46d=new _0x3f6389(_0x40ecb0);_0x3c1424['buttonView']['set']({'icon':_0x5d7b1e['history'],'label':y(_0x40ecb0,'Revision\x20history')});const _0x36a3f3=new _0x526242(_0x40ecb0,_0x3c1424),_0x1d7ebc=new _0x4795d8(_0x40ecb0);_0x1d7ebc['set']({'label':y(_0x40ecb0,'Save\x20current\x20revision')}),_0x1d7ebc['delegate']('execute')['to'](_0x3c1424),_0x1d7ebc['on']('execute',()=>{this['_showDialog']();}),_0x36a3f3['children']['add'](_0x1d7ebc),_0x47d46d['items']['add'](_0x36a3f3);const _0x458df0=new _0x526242(_0x40ecb0,_0x3c1424),_0x1718f4=new _0x4795d8(_0x40ecb0);return _0x1718f4['set']({'label':y(_0x40ecb0,'Open\x20revision\x20history')}),_0x1718f4['delegate']('execute')['to'](_0x3c1424),_0x1718f4['on']('execute',()=>{_0x3d4a78['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x458df0['children']['add'](_0x1718f4),_0x47d46d['items']['add'](_0x458df0),_0x3c1424['panelView']['children']['add'](_0x47d46d),_0x3c1424;}['_showDialog'](){const _0x224b53=this['editor'],_0x451ef4=_0x224b53['locale'],_0x272f79=_0x224b53['plugins']['get']('Dialog'),_0x3652f4=_0x224b53['plugins']['get']('RevisionTracker');function _0x11cf77(_0x4061b3){_0x224b53['config']['get']('revisionHistory.requireRevisionName')&&''===_0x4061b3['revisionName']?_0x4061b3['revisionNameInputView']['errorText']=y(_0x451ef4,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x224b53['plugins']['get'](l)['saveRevision']({'name':_0x4061b3['revisionName']}),_0x272f79['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x11cf77(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x272f79['show']({'id':'revisionSave','title':y(_0x451ef4,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x224b53['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x272f79['hide']()},{'label':y(_0x224b53['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x249509){_0x249509['bind']('isEnabled')['to'](_0x3652f4,'isReady',_0x3652f4,'isEnabled',_0x224b53,'isReadOnly',(_0x188b65,_0x195a89,_0x376c5e)=>_0x188b65&&_0x195a89&&!_0x376c5e);},'onExecute':()=>_0x11cf77(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x46bb67=this['editor'],_0x1b2fb0=_0x46bb67['locale'];this['_saveRevisionFormView']=new ns(_0x1b2fb0,_0x46bb67['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x28ae58{['changeId'];['_model'];constructor(_0x31ef58,_0x298ce7){super(_0x31ef58),this['_model']=_0x298ce7,this['changeId']=_0x298ce7['id'];const _0x492f37=this['bindTemplate'],_0x378c0e=y(_0x31ef58,_0x298ce7['data']['isSuggestion']?'Suggested\x20by':'add'==_0x298ce7['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x298ce7['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x492f37['to']('type',_0x15bfcd=>'ck-revision-change__'+_0x15bfcd)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x378c0e}]},{'text':'\x20'+_0x298ce7['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x174ce0(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x5e36da){super(),this['id']=_0x5e36da['id']||_0x2afba9(),this['author']=_0x5e36da['author'],this['type']=_0x5e36da['type'],this['data']=_0x5e36da['data']||{},this['rootName']=_0x5e36da['rootName'],this['set']('createdAt',_0x5e36da['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(_0x4d296f,_0xb80e32){this['newRevisionId']=_0x4d296f,this['oldRevisionId']=_0xb80e32,this['changes']=new _0x1ed60d();}['_setChanges'](_0x3dca2c){for(const _0x5ae098 of _0x3dca2c)this['changes']['add'](_0x5ae098);}}const tt={'c':_0x5e1b72,'a':_0x367740,'e':_0x294d48,'r':_0x8a1bb2,'u':_0x14f150};class d extends _0x1ed686{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x255bcb,_0x358427,A];}constructor(_0x3432fb){super(_0x3432fb),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',(_0x5bdd0a,_0x5ad434,_0xa84961)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x2fdd7e=>{for(const _0x2368ac of this['editor']['editing']['view']['document']['roots'])_0xa84961?_0x2fdd7e['removeClass']('ck-editor__editable__overlay',_0x2368ac):_0x2fdd7e['addClass']('ck-editor__editable__overlay',_0x2368ac);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x5a5bda=>null!==_0x5a5bda),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x46f3fd,_0x333985,_0x34971d)=>_0x46f3fd&&_0x34971d?_0x333985['changes']['getIndex'](_0x34971d):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x1dd333,_0x597087)=>_0x1dd333?_0x597087['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x358427);}['init'](){const _0x2d38ad=this['editor'],_0x1e5352=new yt(_0x2d38ad,{'direction':'backward'}),_0x120384=new yt(_0x2d38ad,{'direction':'forward'});(_0x2d38ad['commands']['add']('showPreviousChange',_0x1e5352),_0x2d38ad['commands']['add']('showNextChange',_0x120384),_0x2d38ad['commands']['add']('restoreRevision',new bt(_0x2d38ad)),this['on']('change:numberOfChanges',()=>{_0x1e5352['refresh'](),_0x120384['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x2d38ad['enableReadOnlyMode']('revision-viewer'),_0x2d38ad['plugins']['has']('WidgetToolbarRepository'))&&_0x2d38ad['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x406a23){await this['loadRevisionData'](_0x406a23);const _0x427e7b={};for(const _0x2a3497 in _0x406a23['diffData']){if(_0x406a23['diffData'][_0x2a3497]['attachChange']&&!_0x406a23['diffData'][_0x2a3497]['attachChange']['isAttached'])continue;const _0x3d55cf=this['_removeRevisionMarkers'](JSON['parse'](_0x406a23['diffData'][_0x2a3497]['insertions'])),_0x58f29a=this['editor']['editing']['view']['document'],_0x404c9e=new _0x486f74(_0x58f29a,_0x3d55cf['map'](_0x446ca1=>this['_getViewObj'](_0x446ca1)));this['editor']['data']['processor']['useFillerType']('marked'),_0x427e7b[_0x2a3497]=this['editor']['data']['processor']['toData'](_0x404c9e),this['editor']['data']['processor']['useFillerType']('default');}return _0x427e7b;}async['getRevisionRootsAttributes'](_0xa64ea6){await this['loadRevisionData'](_0xa64ea6);const _0x3a3f17={};for(const _0xde899 in _0xa64ea6['diffData'])_0xa64ea6['diffData'][_0xde899]['attachChange']&&!_0xa64ea6['diffData'][_0xde899]['attachChange']['isAttached']||(_0x3a3f17[_0xde899]=_0xa64ea6['diffData'][_0xde899]['attributesAfter']||{});return _0x3a3f17;}['_removeRevisionMarkers'](_0x17958b){return(_0x17958b=_0x17958b['filter'](_0x1ec0f0=>!_0x1ec0f0['name']||'revision-start'!==_0x1ec0f0['name']&&'revision-end'!==_0x1ec0f0['name']))['forEach'](_0x5895a4=>{'string'!=typeof _0x5895a4&&(_0x5895a4['children']=this['_removeRevisionMarkers'](_0x5895a4['children']),_0x5895a4['attributes']=_0x5895a4['attributes']['filter'](_0x2a1dcf=>!_0x2a1dcf[0x0]['startsWith']('data-revision-')));}),_0x17958b;}async['compare'](_0x567e58,_0x4af436,_0x387f27=!0x1){if(!this['isEnabled'])return;const _0x12bdc7=this['diff'],_0x29c4bc=this['repository'],_0x119d2c='string'==typeof _0x567e58?_0x29c4bc['getRevision'](_0x567e58):_0x567e58,_0xf84064='string'==typeof _0x4af436?_0x29c4bc['getRevision'](_0x4af436):_0x4af436,_0x3a29de=_0x119d2c['id'],_0x574bd7=_0xf84064?_0xf84064['id']:null;if(!_0x387f27&&this['diff']&&this['diff']['newRevisionId']===_0x3a29de&&this['diff']['oldRevisionId']===_0x574bd7)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x3a29de,_0x574bd7);const _0x22c19b=this['_getRevisionsRange'](_0x119d2c,_0xf84064,!0x0)['map'](_0xe61da2=>this['loadRevisionData'](_0xe61da2));return _0x22c19b['push'](new Promise(_0x307850=>{setTimeout(_0x307850,0x14);})),Promise['all'](_0x22c19b)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0xac77b2=this['_getDiff'](_0x3a29de,_0x574bd7);for(const _0x441a3c of _0xac77b2['changes'])this['_changeIdToChange']['set'](_0x441a3c['id'],_0x441a3c);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x57d02f=>{for(const _0x581507 of this['editor']['model']['document']['getRootNames']())_0x57d02f['detachRoot'](_0x581507);for(const _0x65bacb of Object['keys'](_0xac77b2['model'])){const _0xe3d029=_0x57d02f['addRoot'](_0x65bacb);for(const _0x436dfe of Object['keys'](_0xac77b2['attributes'][_0x65bacb]))_0x57d02f['setAttribute'](_0x436dfe,_0xac77b2['attributes'][_0x65bacb][_0x436dfe],_0xe3d029);_0x57d02f['insert'](_0xac77b2['model'][_0x65bacb],_0xe3d029,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0xac77b2['changes'])),this['isReady']=!0x0;})['catch'](_0xc6777f=>{console['error'](_0xc6777f),this['_cleanUp'](),_0x12bdc7&&(this['diff']=_0x12bdc7),this['isReady']=!0x0;});}['addRevisionData'](_0x3fdee0,_0x2a81e7){const _0x620390=this['repository']['createRevision'](_0x3fdee0);return _0x620390['on']('_update',(_0x459bd1,_0x12c2ee,_0x18e245)=>_0x2a81e7(_0x12c2ee,_0x18e245,_0x620390)),this['repository']['addRevision'](_0x620390),_0x620390;}['loadRevisionData'](_0x4654de){if(!_0x4654de||_0x4654de['diffData'])return Promise['resolve']();{const _0xf606d5=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xf606d5,'revisionId':_0x4654de['id']})['then'](_0x66eb9b=>{_0x4654de['_update']({'diffData':_0x66eb9b['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},_0x876e1=>{for(const _0x3f5261 of this['editor']['model']['document']['getRootNames']())_0x876e1['detachRoot'](_0x3f5261);});}['_sortAndFilterDiffChanges'](_0x45917f){const _0x5472ef=[],_0x6f45c7=new Map();for(const _0x31fe42 of this['editor']['model']['document']['getRootNames']()){const _0x5ee4a8=this['editor']['editing']['view']['getDomRoot'](_0x31fe42);if(!_0x5ee4a8)continue;const _0x22c22b=_0x5ee4a8['getClientRects']()['item'](0x0);_0x22c22b&&(_0x5472ef['push'](_0x31fe42),_0x6f45c7['set'](_0x31fe42,_0x22c22b));}return _0x5472ef['sort']((_0x3410cc,_0x36e14)=>{const _0x2e338e=_0x6f45c7['get'](_0x3410cc),_0x234042=_0x6f45c7['get'](_0x36e14);return _0x2e338e['y']-_0x234042['y']||_0x2e338e['x']-_0x234042['x'];}),(_0x45917f=_0x45917f['filter'](_0xcdbdd2=>_0x5472ef['includes'](_0xcdbdd2['rootName'])))['sort']((_0x59d7de,_0x3f8068)=>_0x5472ef['indexOf'](_0x59d7de['rootName'])-_0x5472ef['indexOf'](_0x3f8068['rootName'])),_0x45917f;}['_makeTape'](_0x40aba0){const _0x26d3fd=Array['from'](_0x40aba0['markers'])['filter'](([_0x488461,_0x2ebb8e])=>_0x488461['startsWith']('revision:')&&!_0x2ebb8e['isCollapsed']),_0x9cbf1b=Array['from'](this['editor']['model']['createRangeIn'](_0x40aba0)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x26d3fd['length'])for(const _0x424014 of _0x9cbf1b){const [_0x4d9f54,_0x3b34b1]=_0x26d3fd[0x0],[,_0x4cd900,_0xf5e110]=_0x4d9f54['split'](':');if(_0x3b34b1['end']['isEqual'](_0x424014['nextPosition'])&&_0x26d3fd['shift'](),(_0x424014['previousPosition']['isEqual'](_0x3b34b1['start'])||_0x424014['previousPosition']['isAfter'](_0x3b34b1['start']))&&('insertion'==_0x4cd900?_0x424014['isAdded']={'userId':_0xf5e110}:'deletion'==_0x4cd900&&(_0x424014['isRemoved']={'userId':_0xf5e110})),0x0==_0x26d3fd['length'])break;}return _0x9cbf1b;}['_refreshStartEndIndex'](_0x7f2fd8){const _0x5c2288=new Map();for(let _0xa03595=0x0;_0xa03595<_0x7f2fd8['length'];_0xa03595++)'text'===_0x7f2fd8[_0xa03595]['type']?(_0x7f2fd8[_0xa03595]['item']['startIndex']=_0xa03595,_0x7f2fd8[_0xa03595]['item']['endIndex']=_0xa03595):('elementStart'===_0x7f2fd8[_0xa03595]['type']?_0x7f2fd8[_0xa03595]['item']['startIndex']=_0xa03595:'elementEnd'===_0x7f2fd8[_0xa03595]['type']&&(_0x7f2fd8[_0xa03595]['item']['endIndex']=_0xa03595),_0x5c2288['set'](_0x7f2fd8[_0xa03595]['id'],_0xa03595));for(const _0x391069 of _0x5c2288['values']())'elementStart'===_0x7f2fd8[_0x391069]['type']?_0x7f2fd8[_0x391069]['item']['endIndex']=_0x5c2288['get'](_0x7f2fd8[_0x391069]['pairId']):'elementEnd'===_0x7f2fd8[_0x391069]['type']&&(_0x7f2fd8[_0x391069]['item']['startIndex']=_0x5c2288['get'](_0x7f2fd8[_0x391069]['pairId']));}['_processTape'](_0x5b98e8){for(let _0x347054=0x0;_0x347054<_0x5b98e8['length'];_0x347054++){if('elementStart'===_0x5b98e8[_0x347054]['type'])_0x5b98e8[_0x347054]['item']['startIndex']=_0x347054;else{if('elementEnd'===_0x5b98e8[_0x347054]['type']){_0x5b98e8[_0x347054]['item']['endIndex']=_0x347054;const _0x3e343f=_0x5b98e8[_0x347054]['item']['startIndex'];_0x5b98e8[_0x3e343f]['pairId']=_0x5b98e8[_0x347054]['id'],_0x5b98e8[_0x347054]['pairId']=_0x5b98e8[_0x3e343f]['id'];}else _0x5b98e8[_0x347054]['item']['startIndex']=_0x347054,_0x5b98e8[_0x347054]['item']['endIndex']=_0x347054,_0x5b98e8[_0x347054]['pairId']=null;}_0x5b98e8[_0x347054]['markersStart']||(_0x5b98e8[_0x347054]['markersStart']=[],_0x5b98e8[_0x347054]['markersEnd']=[]);}}['_markInsertions'](_0x5ae9ee,_0x560421){const _0x26c367=_0x5ae9ee['filter'](_0x35907a=>!_0x35907a['isAdded']);for(let _0x1216c2=0x0;_0x1216c2<_0x560421['length'];_0x1216c2++)_0x560421[_0x1216c2]['isAdded']&&(_0x26c367[_0x1216c2]['isAdded']=_0x560421[_0x1216c2]['isAdded']);}['_makeModelFromViewString'](_0x4b4806){const _0x4384db=JSON['parse'](_0x4b4806),_0x4bad7f=this['editor']['editing']['view']['document'],_0x337ae0=new _0x486f74(_0x4bad7f,_0x4384db['map'](_0x15a71c=>this['_getViewObj'](_0x15a71c)));return this['editor']['data']['toModel'](_0x337ae0);}['_getViewObj'](_0xb5c78c){const _0x12a3cf=this['editor']['editing']['view']['document'];if('string'==typeof _0xb5c78c)return new _0x186bc1(_0x12a3cf,_0xb5c78c);{const _0x590b9f=_0xb5c78c['children']['map'](_0x827452=>this['_getViewObj'](_0x827452));return new(tt[_0xb5c78c['type']]||_0x5c9e40)(_0x12a3cf,_0xb5c78c['name'],_0xb5c78c['attributes'],_0x590b9f);}}['_getDiff'](_0x625626,_0x5c432d=null){const _0x27e961=this['repository']['getRevision'](_0x625626),_0x26a2e1=_0x5c432d?this['repository']['getRevision'](_0x5c432d):null,_0x3e8218=this['_getRevisionsRange'](_0x27e961,_0x26a2e1),_0x470210=_0x3e8218[_0x3e8218['length']-0x1],_0x5f4022=new Map(),_0x501c1f={'model':{},'attributes':{},'changes':[]},_0x3146cb=new Set(),_0x5d7f87=new Map();for(let _0x3d7f41=_0x3e8218['length']-0x1;_0x3d7f41>=0x0;_0x3d7f41--){const _0x5830cc=_0x3e8218[_0x3d7f41];for(const _0x5dcfe1 of Object['keys'](_0x5830cc['diffData']))if(_0x5830cc['diffData'][_0x5dcfe1]['attachChange']){const _0x2f9d04=_0x5830cc['diffData'][_0x5dcfe1]['attachChange'];_0x2f9d04['isAttached']?(_0x3146cb['add'](_0x5dcfe1),_0x5d7f87['has'](_0x5dcfe1)&&_0x5d7f87['get'](_0x5dcfe1)['userId']==_0x2f9d04['userId']?_0x5d7f87['delete'](_0x5dcfe1):_0x5d7f87['set'](_0x5dcfe1,_0x2f9d04)):_0x5d7f87['has'](_0x5dcfe1)?(_0x3146cb['delete'](_0x5dcfe1),_0x5d7f87['delete'](_0x5dcfe1)):(_0x3146cb['add'](_0x5dcfe1),_0x5d7f87['set'](_0x5dcfe1,_0x2f9d04));}else _0x3146cb['add'](_0x5dcfe1);}for(const _0x298340 of _0x3146cb){const _0x5a9005=_0x5d7f87['has'](_0x298340)&&!_0x5d7f87['get'](_0x298340)['isAttached'];let _0x5ae15b=_0x5a9005?_0x3e8218['length']-0x1:0x0;const _0x1c5e54=_0x5a9005?-0x1:0x1;for(;_0x3e8218[_0x5ae15b];){const _0x5ba850=_0x3e8218[_0x5ae15b];if(_0x5ba850['diffData'][_0x298340]){const _0x45b410=_0x5a9005?_0x5ba850['diffData'][_0x298340]['attributesBefore']:_0x5ba850['diffData'][_0x298340]['attributesAfter'];_0x501c1f['attributes'][_0x298340]=_0x45b410?_0x57d54c(_0x45b410):{};break;}_0x5ae15b+=_0x1c5e54;}}for(const _0x53919d of _0x3e8218){_0x53919d['model']={};for(const _0x2e14de of _0x53919d['authors'])_0x5f4022['set'](_0x2e14de['id'],_0x2e14de);for(const _0x86430 of _0x3146cb){const _0xf26ba0=_0x53919d['diffData'][_0x86430]?_0x53919d['diffData'][_0x86430]['insertions']:'[]',_0x206a14=_0x53919d['diffData'][_0x86430]?_0x53919d['diffData'][_0x86430]['deletions']:'[]';_0x53919d['model'][_0x86430]={'insertions':this['_makeModelFromViewString'](_0xf26ba0),'deletions':this['_makeModelFromViewString'](_0x206a14)};}}for(const _0x553304 of _0x3146cb){let _0x3b07c3=null,_0xa20469=0x0;const _0x784791=new Map(Array['from'](_0x27e961['model'][_0x553304]['insertions']['markers'])['filter'](([_0x87e544])=>!_0x87e544['startsWith']('revision:')));let _0x50daca=0x0;for(const _0x3b7f12 of _0x3e8218){const _0x6285a8=this['_makeTape'](_0x3b7f12['model'][_0x553304]['insertions']);_0x3b7f12==_0x27e961?(_0x3b07c3=_0x6285a8,_0xa20469=_0x3b07c3['length'],_0x3b07c3['forEach'](_0x2b0a30=>{_0x2b0a30['id']=_0x50daca++;}),this['_processTape'](_0x3b07c3)):this['_markInsertions'](_0x3b07c3,_0x6285a8);const _0x1260d6=_0x3b07c3['filter'](_0x451d8d=>!_0x451d8d['isAdded'])['map'](_0xc1b7f1=>_0xc1b7f1['id']);let _0x28f164=0x0;const _0x3d62e5=this['_makeTape'](_0x3b7f12['model'][_0x553304]['deletions']);_0x3d62e5['forEach'](_0x34621c=>{_0x34621c['isRemoved']?_0x34621c['id']=_0xa20469++:_0x34621c['id']=_0x1260d6[_0x28f164++];}),this['_processTape'](_0x3d62e5),this['_setDistance'](_0x3b07c3,'isAdded'),this['_setDistance'](_0x3d62e5,'isRemoved'),_0x3b7f12==_0x27e961&&this['_markMarkers'](_0x3b07c3,_0x784791),_0x3b07c3=this['_joinTapes'](_0x3b07c3,_0x3d62e5),this['_refreshStartEndIndex'](_0x3b07c3),this['_setDistance'](_0x3b07c3,'isRemoved');}_0x3b07c3=_0x3b07c3['filter'](_0x39a569=>!(_0x39a569['isAdded']&&_0x39a569['isRemoved']));const _0x3a9470=new Map(_0x470210['model'][_0x553304]['deletions']['markers']),_0x41b880=new Set(_0x784791['keys']());for(const _0x5f1831 of _0x3a9470['keys']())_0x41b880['delete'](_0x5f1831);this['_markSuggestions'](_0x3b07c3,_0x41b880),this['_fixObsoleteTags'](_0x3b07c3),_0x3b07c3=this['_removeMissingPairs'](_0x3b07c3),_0x3b07c3=this['_markMismatchedRemovedTags'](_0x3b07c3),_0x3b07c3=this['_removeUnsupportedChanges'](_0x3b07c3);const {root:_0x547469,changes:_0x18afbe}=this['_makeModelFromTape'](_0x3b07c3,_0x5f4022,_0x553304);_0x501c1f['model'][_0x553304]=_0x547469;const _0x26bb6f=_0x5d7f87['get'](_0x553304);if(_0x26bb6f){const _0x3c9eef=_0x5f4022['get'](_0x26bb6f['userId']),_0x4ab0d1=new r({'author':_0x3c9eef,'type':_0x26bb6f['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x553304});_0x18afbe['unshift'](_0x4ab0d1),_0x501c1f['attributes'][_0x553304]['revisionHistoryAttachChange']=_0x4ab0d1['id'];}_0x501c1f['changes']=_0x501c1f['changes']['concat'](_0x18afbe);}return _0x501c1f;}['_markMarkers'](_0x163bc6,_0x173921){for(let _0x30851d=0x0;_0x30851d<_0x163bc6['length'];_0x30851d++)for(const [_0x450b74,_0x38ccdf]of _0x173921)_0x38ccdf['start']['isEqual'](_0x163bc6[_0x30851d]['previousPosition'])&&_0x163bc6[_0x30851d]['markersStart']['push'](_0x450b74),_0x38ccdf['end']['isEqual'](_0x163bc6[_0x30851d]['nextPosition'])&&_0x163bc6[_0x30851d]['markersEnd']['push'](_0x450b74);}['_joinTapes'](_0x319f17,_0x53b6b6){let _0x54b0ed=[],_0x24c135=0x0,_0xc23dd0=0x0;for(;_0x24c135<_0x319f17['length']||_0xc23dd0<_0x53b6b6['length'];){const _0x478e13=_0x319f17[_0x24c135]||{},_0x332d41=_0x53b6b6[_0xc23dd0]||{};if(_0x478e13['id']==_0x332d41['id'])_0x24c135++,_0xc23dd0++,_0x54b0ed['push'](_0x478e13);else{if(_0x332d41['isRemoved']&&_0x478e13['isAdded']){const {commonTape:_0x37637a,iEnd:_0x52986f,jEnd:_0x2e43d4}=this['_threeWayMerge'](_0x319f17,_0x24c135,_0x53b6b6,_0xc23dd0);_0x54b0ed=_0x54b0ed['concat'](_0x37637a),_0x24c135=_0x52986f,_0xc23dd0=_0x2e43d4;}else _0x332d41['isRemoved']?(_0xc23dd0++,_0x54b0ed['push'](_0x332d41)):(_0x24c135++,_0x54b0ed['push'](_0x478e13));}}return _0x54b0ed;}['_markSuggestions'](_0x503888,_0x4c6883){const _0x3bf5d2=[];for(let _0x167d8d=0x0;_0x167d8d<_0x503888['length'];_0x167d8d++){for(let _0x2417ea=0x0;_0x2417ea<_0x503888[_0x167d8d]['markersStart']['length'];_0x2417ea++){const _0x9f2a12=_0x503888[_0x167d8d]['markersStart'][_0x2417ea];if(!_0x4c6883['has'](_0x9f2a12))continue;const {group:_0x42f280,type:_0x2bf29f,authorId:_0x33f106}=_0x588711(_0x9f2a12);'revision-suggestion'!=_0x42f280||'insertion'!=_0x2bf29f&&'deletion'!=_0x2bf29f||(_0x3bf5d2['unshift']({'type':_0x2bf29f,'name':_0x9f2a12,'userId':_0x33f106}),_0x503888[_0x167d8d]['markersStart']['splice'](_0x2417ea,0x1),_0x2417ea--);}_0x558670(_0x503888[_0x167d8d]);for(let _0x32e31b=0x0;_0x32e31b<_0x503888[_0x167d8d]['markersEnd']['length'];_0x32e31b++){const _0x4d383c=_0x503888[_0x167d8d]['markersEnd'][_0x32e31b];if(!_0x4c6883['has'](_0x4d383c))continue;const {group:_0x2c9d7f,type:_0x41cb9e}=_0x588711(_0x4d383c);if('revision-suggestion'!=_0x2c9d7f||'insertion'!=_0x41cb9e&&'deletion'!=_0x41cb9e)continue;_0x503888[_0x167d8d]['markersEnd']['splice'](_0x32e31b,0x1),_0x32e31b--;const _0x4e8d29=_0x3bf5d2['findIndex'](_0xb37248=>_0xb37248['name']==_0x4d383c);_0x4e8d29>-0x1&&_0x3bf5d2['splice'](_0x4e8d29,0x1);}}function _0x588711(_0x21a0d1){const _0x1db9f1=_0x21a0d1['split'](':');return{'group':_0x1db9f1[0x0],'type':_0x1db9f1[0x1],'subType':_0x1db9f1['length']>=0x5?_0x1db9f1[0x2]:null,'id':_0x1db9f1['length']<0x5?_0x1db9f1[0x2]:_0x1db9f1[0x3],'authorId':_0x1db9f1['length']<0x5?_0x1db9f1[0x3]:_0x1db9f1[0x4],'markerCount':0x6==_0x1db9f1['length']?_0x1db9f1[0x5]:null};}function _0x558670(_0x39ddde){for(let _0x218382=0x0;_0x218382<_0x3bf5d2['length'];_0x218382++){if(_0x39ddde['isAdded']&&'insertion'==_0x3bf5d2[_0x218382]['type'])return _0x39ddde['isAddSuggestion']=_0x3bf5d2[_0x218382],void delete _0x39ddde['isAdded'];if(!_0x39ddde['isAdded']&&!_0x39ddde['isRemoved']&&'deletion'==_0x3bf5d2[_0x218382]['type'])return void(_0x39ddde['isRemoveSuggestion']=_0x3bf5d2[_0x218382]);}}}['_setDistance'](_0x159c3e,_0x144e88){let _0x2ddf90=0x0,_0x364eca=!0x1;const _0x3a2e37=new Map();for(const _0x31eab4 of _0x159c3e)_0x31eab4[_0x144e88]?_0x364eca&&(_0x2ddf90++,_0x364eca=!0x1):(_0x2ddf90++,_0x364eca=!0x0),_0x3a2e37['set'](_0x31eab4['id'],_0x2ddf90);for(let _0x1be518=0x0;_0x1be518<_0x159c3e['length'];_0x1be518++){if('isRemoved'==_0x144e88&&_0x159c3e[_0x1be518]['isAdded']||'isAdded'==_0x144e88&&_0x159c3e[_0x1be518]['isRemoved'])continue;if('text'==_0x159c3e[_0x1be518]['type']){_0x159c3e[_0x1be518]['distance']=0x0;continue;}const _0x95daa2=_0x3a2e37['get'](_0x159c3e[_0x1be518]['pairId']),_0x5c7d30=_0x3a2e37['get'](_0x159c3e[_0x1be518]['id']);_0x159c3e[_0x1be518]['distance']=_0x95daa2-_0x5c7d30;}}['_getRevisionsRange'](_0x321e47,_0x5e0ced,_0x621480=!0x1){const _0x28630e=[];let _0x54019b=this['repository']['getIndex'](_0x321e47),_0xc2c454=this['repository']['getIndex'](_0x5e0ced);for(-0x1==_0xc2c454&&(_0xc2c454=this['repository']['_revisions']['length'],_0x621480=!0x1);_0x54019b<_0xc2c454;)_0x28630e['push'](this['repository']['getRevision'](_0x54019b)),_0x54019b++;return _0x621480&&_0x28630e['push'](this['repository']['getRevision'](_0x54019b)),_0x28630e;}['_threeWayMerge'](_0x59e862,_0x9d449f,_0x5cd3fc,_0x408fb1){const _0x1effa2=this['editor']['model']['schema'];let _0x4f49b6=_0x9d449f;for(;_0x59e862[_0x4f49b6]&&_0x59e862[_0x4f49b6]['isAdded'];)_0x4f49b6++;let _0x2f02ee=_0x408fb1;for(;_0x5cd3fc[_0x2f02ee]&&_0x5cd3fc[_0x2f02ee]['isRemoved'];)_0x2f02ee++;_0x313e6f(_0x59e862,_0x9d449f,_0x4f49b6),_0x313e6f(_0x5cd3fc,_0x408fb1,_0x2f02ee);const _0x17d0c6=_0x5cd3fc['slice'](_0x408fb1,_0x2f02ee)['concat'](_0x59e862['slice'](_0x9d449f,_0x4f49b6));return _0x17d0c6['sort']((_0x55a9bf,_0x551813)=>_0x55a9bf['side']!=_0x551813['side']?_0x55a9bf['side']-_0x551813['side']:_0x55a9bf['level']!=_0x551813['level']?_0x55a9bf['level']-_0x551813['level']:_0x55a9bf['distance']!=_0x551813['distance']?_0x551813['distance']-_0x55a9bf['distance']:!!_0x55a9bf['isAdded']!=!!_0x551813['isAdded']?-0x1==_0x55a9bf['side']||0x0==_0x55a9bf['side']?_0x55a9bf['isAdded']?-0x1:0x1:_0x55a9bf['isAdded']?0x1:-0x1:_0x55a9bf['index']-_0x551813['index']),{'commonTape':_0x17d0c6,'iEnd':_0x4f49b6,'jEnd':_0x2f02ee};function _0x313e6f(_0x46ac80,_0x4701a8,_0xe08e65){let _0x3efbe5=-0x1,_0x3561fa=Number['POSITIVE_INFINITY'],_0x3e5072=!0x0;for(let _0x37c699=_0x4701a8;_0x37c699<_0xe08e65;_0x37c699++)if(_0x1effa2['isInline'](_0x46ac80[_0x37c699]['item'])||(_0x3e5072=!0x1),_0x46ac80[_0x37c699]['item']['startIndex']<_0x4701a8&&(_0x3efbe5=_0x37c699),_0x46ac80[_0x37c699]['item']['endIndex']>=_0xe08e65){_0x3561fa=_0x37c699;break;}_0x3e5072&&(_0x3efbe5=_0xe08e65-0x1);for(let _0x2437c0=_0x4701a8;_0x2437c0<_0xe08e65;_0x2437c0++)_0x46ac80[_0x2437c0]['side']=_0x2437c0<=_0x3efbe5?-0x1:_0x2437c0<_0x3561fa?0x0:0x1,_0x46ac80[_0x2437c0]['index']=_0x2437c0;let _0x3b0790=0x0;for(let _0x5f002a=_0x4701a8;_0x5f002a<=_0x3efbe5;_0x5f002a++)0x0==_0x46ac80[_0x5f002a]['distance']?_0x46ac80[_0x5f002a]['level']=_0x3b0790:(_0x3b0790++,_0x46ac80[_0x5f002a]['level']=_0x3b0790,_0x3b0790++);for(let _0x30701c=_0x4701a8;_0x30701c<_0xe08e65;_0x30701c++)0x0==_0x46ac80[_0x30701c]['side']&&(_0x46ac80[_0x30701c]['level']=_0x3b0790);_0x3b0790=0x0;for(let _0x29e2d4=_0xe08e65-0x1;_0x29e2d4>=_0x3561fa;_0x29e2d4--)0x0==_0x46ac80[_0x29e2d4]['distance']?_0x46ac80[_0x29e2d4]['level']=_0x3b0790:(_0x3b0790--,_0x46ac80[_0x29e2d4]['level']=_0x3b0790,_0x3b0790--);}}['_fixObsoleteTags'](_0x239d8e){const _0x9fe7eb=new Map(),_0x44a8a1=this['editor']['model']['schema'];for(let _0x9e6012=0x1;_0x9e6012<_0x239d8e['length'];_0x9e6012++){let _0x263e0a,_0x517331,_0x2344d4;const _0x28db3e=_0x239d8e[_0x9e6012],_0x5a73a9=_0x239d8e[_0x9e6012-0x1];if('text'==_0x28db3e['type'])continue;if(_0x28db3e['type']!=_0x5a73a9['type'])continue;if(!_0x44a8a1['isBlock'](_0x5a73a9['item'])||_0x44a8a1['isLimit'](_0x5a73a9['item']))continue;if(!_0x44a8a1['isBlock'](_0x28db3e['item'])||_0x44a8a1['isLimit'](_0x28db3e['item']))continue;if((_0x239d8e[_0x9e6012]['isAdded']||_0x239d8e[_0x9e6012]['isAddSuggestion'])&&_0x239d8e[_0x9e6012-0x1]['isRemoved'])_0x263e0a=_0x239d8e[_0x9e6012],_0x517331=_0x239d8e[_0x9e6012-0x1],_0x2344d4=_0x9e6012-0x1;else{if(!_0x239d8e[_0x9e6012]['isRemoved']||!_0x239d8e[_0x9e6012-0x1]['isAdded']&&!_0x239d8e[_0x9e6012-0x1]['isAddSuggestion'])continue;_0x263e0a=_0x239d8e[_0x9e6012-0x1],_0x517331=_0x239d8e[_0x9e6012],_0x2344d4=_0x9e6012;}const _0x37bd25=_0x263e0a['level']==_0x517331['level'],_0x4a8a3c=Math['abs'](_0x263e0a['level'])<Math['abs'](_0x517331['level'])&&0x0==_0x517331['distance'];(_0x37bd25||_0x4a8a3c)&&(_0x9fe7eb['set'](_0x517331['id'],_0x263e0a['id']),_0x239d8e['splice'](_0x2344d4,0x1),_0x9e6012--,_0x263e0a['isAdded']=!0x1);}for(let _0x24675f=0x0;_0x24675f<_0x239d8e['length'];_0x24675f++)_0x9fe7eb['has'](_0x239d8e[_0x24675f]['pairId'])&&(_0x239d8e[_0x24675f]['pairId']=_0x9fe7eb['get'](_0x239d8e[_0x24675f]['pairId']));}['_removeMissingPairs'](_0x47579c){const _0x48cdab=new Set(_0x47579c['map'](_0x120e81=>_0x120e81['id']));for(let _0x5d91bb=0x0;_0x5d91bb<_0x47579c['length'];_0x5d91bb++)_0x48cdab['has'](_0x47579c[_0x5d91bb]['pairId'])||0x0==_0x47579c[_0x5d91bb]['distance']||(_0x47579c[_0x5d91bb]['isIncorrect']=!0x0);return _0x47579c['filter'](_0x4e3f59=>!_0x4e3f59['isIncorrect']);}['_markMismatchedRemovedTags'](_0x5ef107){const _0xf49752=new Set();for(let _0x166809=0x0;_0x166809<_0x5ef107['length'];_0x166809++){if(_0xf49752['has'](_0x5ef107[_0x166809]['id'])&&_0x5ef107[_0x166809]['isRemoved']&&(_0x5ef107[_0x166809]['isIncorrect']=!0x0),_0x5ef107[_0x166809]['isIncorrect'])continue;if(0x0==_0x5ef107[_0x166809]['distance'])continue;if('elementStart'!=_0x5ef107[_0x166809]['type'])continue;if(null==_0x5ef107[_0x166809]['pairId'])continue;let _0x7cb55a=_0x166809+0x1,_0x135744=0x0;for(;_0x5ef107[_0x7cb55a]['id']!=_0x5ef107[_0x166809]['pairId'];)'elementStart'==_0x5ef107[_0x7cb55a]['type']?_0x135744++:'elementEnd'==_0x5ef107[_0x7cb55a]['type']&&_0x135744--,_0x7cb55a++;if(0x0!=_0x135744){if(_0x5ef107[_0x166809]['isRemoved'])_0x5ef107[_0x166809]['isIncorrect']=!0x0;else{for(;_0x7cb55a!=_0x166809;)_0x5ef107[_0x7cb55a]['isRemoved']&&0x0!=_0x5ef107[_0x7cb55a]['distance']&&(_0x5ef107[_0x7cb55a]['isIncorrect']=!0x0,_0xf49752['add'](_0x5ef107[_0x7cb55a]['pairId'])),_0x7cb55a--;}}}return _0x5ef107['filter'](_0x246a61=>!_0x246a61['isIncorrect']);}['_removeUnsupportedChanges'](_0x2c6ac4){const _0x2f5f6d=this['editor']['model']['schema'];for(let _0x102c9d=0x0;_0x102c9d<_0x2c6ac4['length'];_0x102c9d++){if(!(_0x2c6ac4[_0x102c9d]['isAdded']||_0x2c6ac4[_0x102c9d]['isAddSuggestion']||_0x2c6ac4[_0x102c9d]['isRemoved']||_0x2c6ac4[_0x102c9d]['isRemoveSuggestion']))continue;if(0x0==_0x2c6ac4[_0x102c9d]['distance'])continue;const _0x42c637=_0x2c6ac4[_0x102c9d]['item'];_0x2f5f6d['isBlock'](_0x42c637)||_0x2f5f6d['isLimit'](_0x42c637)||(_0x2c6ac4[_0x102c9d]['isAdded']&&delete _0x2c6ac4[_0x102c9d]['isAdded'],_0x2c6ac4[_0x102c9d]['isAddSuggestion']&&delete _0x2c6ac4[_0x102c9d]['isAddSuggestion'],_0x2c6ac4[_0x102c9d]['isRemoveSuggestion']&&delete _0x2c6ac4[_0x102c9d]['isRemoveSuggestion'],_0x2c6ac4[_0x102c9d]['isRemoved']&&(_0x2c6ac4[_0x102c9d]['isIncorrect']=!0x0));}return _0x2c6ac4['filter'](_0x34d8e9=>!_0x34d8e9['isIncorrect']);}['_makeModelFromTape'](_0x24203a,_0x176a85,_0x42cac5){const _0x5c610e=new wt(),_0x4d4c2d=[],_0xa963d=new Map(),_0x68d8f2=this['editor']['model'],_0xab5ac1=_0x68d8f2['schema'],_0x1bd81c=[_0x5c610e],_0x2bf482={},_0xcb1d29={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x16f452=null;const _0x53dc72=[0x0];for(let _0x4cc157=0x0;_0x4cc157<_0x24203a['length'];_0x4cc157++){let _0x1f5399,_0xb941b3;if('elementStart'===_0x24203a[_0x4cc157]['type']){_0x1f5399=_0x68d8f2['createPositionFromPath'](_0x5c610e,_0x53dc72);const _0x4e3907=new ft(_0x24203a[_0x4cc157]['item']['name'],_0x24203a[_0x4cc157]['item']['getAttributes']());_0x1bd81c[0x0]['_appendChild'](_0x4e3907),_0x53dc72['push'](0x0),_0x1bd81c['unshift'](_0x4e3907),_0xb941b3=_0x68d8f2['createPositionFromPath'](_0x5c610e,_0x53dc72),_0x16f452=null;}else{if('elementEnd'===_0x24203a[_0x4cc157]['type'])_0x1bd81c['shift'](),_0x1f5399=_0x68d8f2['createPositionFromPath'](_0x5c610e,_0x53dc72),_0x53dc72['pop'](),_0x53dc72[_0x53dc72['length']-0x1]++,_0xb941b3=_0x68d8f2['createPositionFromPath'](_0x5c610e,_0x53dc72),_0x16f452=null;else{if(_0x1f5399=_0x68d8f2['createPositionFromPath'](_0x5c610e,_0x53dc72),_0x16f452&&_0x564f63(_0x16f452,_0x24203a[_0x4cc157]['item']))_0x16f452['_data']+=_0x24203a[_0x4cc157]['item']['data'];else{const _0x2c5607=new _t(_0x24203a[_0x4cc157]['item']['data'],_0x24203a[_0x4cc157]['item']['getAttributes']());_0x1bd81c[0x0]['_appendChild'](_0x2c5607),_0x16f452=_0x2c5607;}_0x53dc72[_0x53dc72['length']-0x1]+=_0x24203a[_0x4cc157]['item']['offsetSize'],_0xb941b3=_0x68d8f2['createPositionFromPath'](_0x5c610e,_0x53dc72);}}for(const _0x64001b of _0x24203a[_0x4cc157]['markersStart'])_0xa963d['set'](_0x64001b,{'start':_0x1f5399,'end':null});_0x40a3b3('isRemoveSuggestion',_0x4cc157,_0x1f5399,_0xb941b3),_0x40a3b3('isAddSuggestion',_0x4cc157,_0x1f5399,_0xb941b3),_0x40a3b3('isRemoved',_0x4cc157,_0x1f5399,_0xb941b3),_0x40a3b3('isAdded',_0x4cc157,_0x1f5399,_0xb941b3);for(const _0x23cc30 of _0x24203a[_0x4cc157]['markersEnd']){_0xa963d['get'](_0x23cc30)['end']=_0xb941b3;}}for(const [_0x44d8ae,_0x18aa9e]of _0xa963d){const _0x907d36=this['editor']['model']['createRange'](_0x18aa9e['start'],_0x18aa9e['end']);_0x5c610e['markers']['set'](_0x44d8ae,_0x907d36);}return _0x4d4c2d['sort']((_0x5c0bdf,_0x68d3)=>{const _0x1313c7=_0x5c610e['markers']['get']('revision:'+_0x5c0bdf['id']),_0x58bed9=_0x5c610e['markers']['get']('revision:'+_0x68d3['id']);return _0x1313c7['start']['isBefore'](_0x58bed9['start'])?-0x1:_0x1313c7['start']['isAfter'](_0x58bed9['start'])?0x1:_0x1313c7['end']['isBefore'](_0x58bed9['end'])?-0x1:_0x1313c7['end']['isAfter'](_0x58bed9['end'])?0x1:'add'===_0x5c0bdf['type']?-0x1:0x1;}),{'root':_0x5c610e,'changes':_0x4d4c2d};function _0x40a3b3(_0x220cf4,_0x45dbe5,_0x44008f,_0x48e436){const _0xd038de=!!_0x24203a[_0x45dbe5][_0x220cf4],_0x164b98=_0xd038de?_0x24203a[_0x45dbe5][_0x220cf4]['userId']:null,_0x4931dc=_0x45dbe5===_0x24203a['length']-0x1,_0x3657ee=_0xcb1d29[_0x220cf4][0x0],_0x50e42a=_0xab5ac1['isObject'](_0x24203a[_0x45dbe5]['item']);!_0x2bf482[_0x220cf4]&&_0xd038de?_0x2bf482[_0x220cf4]={'start':_0x44008f,'tapeItem':_0x24203a[_0x45dbe5],'userId':_0x164b98,'type':_0x220cf4}:_0x2bf482[_0x220cf4]&&!_0xd038de?(_0x2bf482[_0x220cf4]['end']=_0x44008f,_0x5b880f(_0x2bf482[_0x220cf4]),_0x2bf482[_0x220cf4]=null):_0x2bf482[_0x220cf4]&&_0xd038de&&_0x2bf482[_0x220cf4]['userId']!==_0x164b98&&(_0x2bf482[_0x220cf4]['end']=_0x44008f,_0x3657ee&&_0x3657ee['userId']===_0x2bf482[_0x220cf4]['userId']||_0x5b880f(_0x2bf482[_0x220cf4]),_0x2bf482[_0x220cf4]={'start':_0x44008f,'tapeItem':_0x24203a[_0x45dbe5],'userId':_0x164b98,'type':_0x220cf4}),_0x2bf482[_0x220cf4]&&_0x50e42a&&('elementStart'!==_0x24203a[_0x45dbe5]['type']||_0x3657ee&&_0x3657ee['userId']===_0x164b98||_0xcb1d29[_0x220cf4]['unshift']({'userId':_0x164b98,'object':_0x24203a[_0x45dbe5]['item'],'change':_0x2bf482[_0x220cf4]}),'elementEnd'===_0x24203a[_0x45dbe5]['type']&&_0x3657ee&&_0x3657ee['object']===_0x24203a[_0x45dbe5]['item']&&(_0xcb1d29[_0x220cf4]['shift'](),_0x2bf482[_0x220cf4]=_0x3657ee['change'])),_0x2bf482[_0x220cf4]&&_0x4931dc&&(_0x2bf482[_0x220cf4]['end']=_0x48e436,_0x5b880f(_0x2bf482[_0x220cf4]),_0x2bf482[_0x220cf4]=null);}function _0x5b880f({start:_0x32ff01,end:_0x20497e,tapeItem:_0x25d6f2,userId:_0x567f24,type:_0x19444a}){const _0x5ca695=_0x25d6f2['item'],_0x4ddf49=_0x68d8f2['schema']['isBlock'](_0x5ca695)&&!_0x68d8f2['schema']['isLimit'](_0x5ca695),_0x5610fd=_0x32ff01['nodeAfter']==_0x20497e['parent']&&_0x20497e['isAtStart'];if(_0x4ddf49&&_0x5610fd)return;const _0x4d157a=_0x68d8f2['createRange'](_0x32ff01,_0x20497e),_0x53a475=_0x176a85['get'](_0x567f24),_0x3c5dbd=new r({'author':_0x53a475,'type':'isAdded'==_0x19444a||'isAddSuggestion'==_0x19444a?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x19444a||'isRemoveSuggestion'==_0x19444a},'createdAt':new Date(),'rootName':_0x42cac5});_0x4d4c2d['push'](_0x3c5dbd),_0x5c610e['markers']['set']('revision:'+_0x3c5dbd['id'],_0x4d157a);}function _0x564f63(_0x3e0469,_0x4166ef){const _0x2864cb=_0x3e0469['getAttributes'](),_0x5ad81f=_0x4166ef['getAttributes']();for(const _0x548679 of _0x2864cb){if(_0x548679[0x1]!==_0x4166ef['getAttribute'](_0x548679[0x0]))return!0x1;_0x5ad81f['next']();}return _0x5ad81f['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x5bc30d=>{const _0x475c0f=_0x5bc30d['markerName']['split'](':')[0x1],_0x2ba513=this['_getChangeFromId'](_0x475c0f);if(!_0x2ba513)return null;const _0x50083e='add'==_0x2ba513['type']?'insertion':'deletion',_0x597040=['ck-suggestion-marker','ck-suggestion-marker-'+_0x50083e];return _0x2ba513['data']['isSuggestion']&&_0x597040['push']('ck-suggestion-marker-'+_0x50083e+'-new'),this['activeChange']==_0x2ba513&&_0x597040['push']('ck-suggestion-marker--active'),{'classes':_0x597040,'attributes':{'data-change-id':_0x475c0f}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x1fbc32=>{_0x1fbc32['on']('element:pre',(_0x1be9b2,_0xeb9f5b,_0x34c53d)=>{const _0x557c53=_0xeb9f5b['viewItem']['getChild'](0x0);if(!_0x557c53||!_0x557c53['is']('element','code'))return;if(!_0x34c53d['consumable']['consume'](_0x557c53,{'attributes':['vid_start','vid_end']}))return;const _0x247eb7=_0xeb9f5b['modelRange']['start']['nodeAfter'];_0x34c53d['writer']['setAttribute']('vid_start',_0x557c53['getAttribute']('vid_start'),_0x247eb7),_0x34c53d['writer']['setAttribute']('vid_end',_0x557c53['getAttribute']('vid_end'),_0x247eb7);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0xc40475=>{_0xc40475['on']('element',(_0xd4d75c,_0x218855,_0x9fb02b)=>{if(!_0x9fb02b['consumable']['consume'](_0x218855['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x218855['modelRange']['isCollapsed'])return;const _0x175169=_0x218855['modelRange']['start']['nodeAfter'];_0x175169['hasAttribute']('vid_start')||_0x175169['hasAttribute']('vid')||(_0x9fb02b['writer']['setAttribute']('vid_start',_0x218855['viewItem']['getAttribute']('vid_start'),_0x175169),_0x9fb02b['writer']['setAttribute']('vid_end',_0x218855['viewItem']['getAttribute']('vid_end'),_0x175169));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x72aa77=>_0x72aa77['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x5ec775,[,_0x509486])=>{['vid_start','vid_end','vid']['includes'](_0x509486)&&(_0x5ec775['return']=!0x0,_0x5ec775['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x581780=>{_0x581780['on']('attribute:vid',(_0xe85640,_0x12a353,_0x548938)=>{if('\x20'!=_0x12a353['item']['data']||_0x12a353['item']['parent']['maxOffset']>0x1)return;if(!_0x548938['consumable']['consume'](_0x12a353['item'],_0xe85640['name']))return;const _0x137c9d=_0x548938['writer'],_0x16a0ec=_0x548938['mapper']['toViewRange'](_0x12a353['range']);_0x137c9d['wrap'](_0x16a0ec,_0x137c9d['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x2a037e){const _0x4416ff=_0x2a037e['plugins']['get']('RevisionViewer');return(_0x16111d,_0x100349,_0x4c7455)=>{const _0xb25d4d=_0x100349['markerName']['split'](':')[0x1],_0x6d6b3=_0x4416ff['_getChangeFromId'](_0xb25d4d);if(!_0x6d6b3)return null;const _0x5168a1='add'==_0x6d6b3['type']?'split':'merge';if(!_0x4c7455['consumable']['test'](_0x100349['markerRange'],_0x16111d['name']))return;const _0x475884=_0x100349['markerRange']['getWalker'](),_0x53f38b=_0x100349['markerRange']['start'],_0x13e915=_0x2a037e['model']['schema'];let _0x44fde4=null,_0x10976e=null,_0x808a92=!0x1,_0x53f92d=!0x1;for(const _0x19081f of _0x475884){const _0x113edd=_0x19081f['item'];_0x808a92=_0x808a92||_0x13e915['isContent'](_0x113edd);const _0x5d774a=_0x4c7455['mapper']['toViewElement'](_0x113edd);if(_0x5d774a&&_0x5d774a['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x19081f['type']&&(_0x13e915['isBlock'](_0x113edd)&&!_0x13e915['isLimit'](_0x113edd)&&(_0x113edd['nextSibling']||_0x53f38b['isAtEnd']?_0x44fde4&&_0x44fde4['parent']==_0x113edd||(_0x44fde4=_0x113edd,_0x1ad711(_0x19081f['previousPosition']),_0x53f92d=!0x0):_0x10976e=_0x10976e||_0x19081f['previousPosition']));}function _0x1ad711(_0x7b8dc3){const _0x44495a=_0x4c7455['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5168a1}),_0x123f24=_0x4c7455['mapper']['toViewPosition'](_0x7b8dc3);_0x6d6b3['data']['isSuggestion']&&_0x4c7455['writer']['addClass']('ck-suggestion-marker-'+_0x5168a1+'-new',_0x44495a),_0x4416ff['activeChange']==_0x6d6b3&&_0x4c7455['writer']['addClass']('ck-suggestion-marker--active',_0x44495a),_0x4c7455['writer']['insert'](_0x123f24,_0x44495a),_0x4c7455['mapper']['bindElementToMarker'](_0x44495a,_0x100349['markerName']);}_0x808a92||_0x53f92d||!_0x10976e||_0x1ad711(_0x10976e);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x4a5eb6,_0x1c7760,_0xc30503)=>{const _0x108c77=_0xc30503['mapper']['markerNameToElements'](_0x1c7760['markerName']);if(_0x108c77){for(const _0x135ca1 of _0x108c77)(_0x135ca1['hasClass']('ck-suggestion-marker-split')||_0x135ca1['hasClass']('ck-suggestion-marker-merge'))&&(_0xc30503['mapper']['unbindElementFromMarkerName'](_0x135ca1,_0x1c7760['markerName']),_0xc30503['writer']['remove'](_0x135ca1));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x1d33be,_0x1e4ceb,_0x14337d)=>{const _0x87efed=_0x1e4ceb['markerName']['split'](':')[0x1],_0x2022b2=this['_getChangeFromId'](_0x87efed);if(!_0x2022b2)return null;const _0x3c0e06='add'==_0x2022b2['type']?'split':'merge';if(_0x14337d['consumable']['test'](_0x1e4ceb['markerRange'],_0x1d33be['name']))for(const _0x1a1336 of _0x1e4ceb['markerRange']['getItems']()){if(!_0x1a1336['is']('element','softBreak'))continue;const _0x8c998e=_0x14337d['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3c0e06}),_0x25f0f6=_0x14337d['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x1a1336));_0x2022b2['data']['isSuggestion']&&_0x14337d['writer']['addClass']('ck-suggestion-marker-'+_0x3c0e06+'-new',_0x8c998e),this['activeChange']==_0x2022b2&&_0x14337d['writer']['addClass']('ck-suggestion-marker--active',_0x8c998e),_0x14337d['writer']['insert'](_0x25f0f6,_0x8c998e),_0x14337d['mapper']['bindElementToMarker'](_0x8c998e,_0x1e4ceb['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x4f628f=>{for(const _0x5508e3 of this['editor']['model']['document']['getRootNames']()){const _0x57c645=this['editor']['model']['document']['getRoot'](_0x5508e3),_0x567b74=this['editor']['editing']['view']['document']['getRoot'](_0x5508e3);if(_0x567b74){const _0x559b63=_0x57c645['getAttribute']('revisionHistoryAttachChange');if(_0x4f628f['removeAttribute']('data-change-id',_0x567b74),_0x4f628f['removeClass']('ck-revision-history-root-add',_0x567b74),_0x4f628f['removeClass']('ck-revision-history-root-remove',_0x567b74),_0x4f628f['removeClass']('ck-revision-history-root--active',_0x567b74),_0x559b63){const _0x5de1aa=this['_getChangeFromId'](_0x559b63);if(!_0x5de1aa)return null;_0x4f628f['setAttribute']('data-change-id',_0x559b63,_0x567b74),_0x4f628f['addClass']('ck-revision-history-root-'+_0x5de1aa['type'],_0x567b74),this['activeChange']==_0x5de1aa&&_0x4f628f['addClass']('ck-revision-history-root--active',_0x567b74);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x5b0ef2=>'revision-comment:'+_0x5b0ef2,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x4c6292=>'revision-suggestion:'+_0x4c6292,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x39f5cb=>({'name':'suggestion:'+_0x39f5cb,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x11e62d=>{const _0x590c49=_0x11e62d['markerName']['split'](':')[0x1];return'insertion'!=_0x590c49&&'deletion'!=_0x590c49?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x590c49]};}}),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',(_0x37b98d,_0x2a57ff,_0x2aa884)=>{const _0xc93ede=_0x2aa884['mapper']['markerNameToElements'](_0x2a57ff['markerName']);if(_0xc93ede){for(const _0x553ea9 of _0xc93ede)_0x553ea9['is']('uiElement')&&(_0x2aa884['mapper']['unbindElementFromMarkerName'](_0x553ea9,_0x2a57ff['markerName']),_0x2aa884['writer']['remove'](_0x553ea9));}},{'priority':'high'});}['_getChangeFromId'](_0x9f5a1a){return this['_changeIdToChange']['get'](_0x9f5a1a);}['_getViewForChange'](_0x8f5636){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x8f5636),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x4cb1ae,_0x5a0dca,_0x29c22d,_0x3528f7)=>{_0x3528f7&&this['_balloon']['remove'](_0x3528f7),_0x29c22d&&(this['_balloon']['add']({'view':_0x29c22d,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x2a0e1f=this['editor']['editing'],_0x7f8602=this['_getChangeFromId'](_0x29c22d['changeId']);let _0x4d51d6;if(_0x7f8602['data']['isOnRoot']){const _0x1084f3=_0x2a0e1f['view']['getDomRoot'](_0x7f8602['rootName']);_0x4d51d6=Array['from'](_0x1084f3['getClientRects']());}else{const _0x686d75=this['editor']['model']['markers']['get']('revision:'+_0x29c22d['changeId']);_0x4d51d6=Array['from'](_0x2a0e1f['mapper']['markerNameToElements'](_0x686d75['name']))['map'](_0x1011ab=>_0x2a0e1f['view']['domConverter']['mapViewToDom'](_0x1011ab))['map'](_0x1e6ea3=>Array['from'](_0x1e6ea3['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x4d51d6[0x0];return _0x4d51d6['find'](_0x4ab03e=>_0x4ab03e['top']-0x3<=this['_activeViewTarget']['y']&&_0x4ab03e['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x4ab03e['left']-0x3<=this['_activeViewTarget']['x']&&_0x4ab03e['right']+0x3>=this['_activeViewTarget']['x'])||_0x4d51d6[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x1972ed,_0x31946a,_0x57c02a,_0x45ec23)=>{this['activeView']=_0x57c02a?this['_getViewForChange'](_0x57c02a):null,this['editor']['model']['change'](()=>{const _0x50e4bd=this['editor']['editing'];_0x45ec23&&(_0x45ec23['data']['isOnRoot']?_0x50e4bd['view']['change'](_0x46df35=>{_0x46df35['removeClass']('ck-revision-history-root--active',_0x50e4bd['view']['document']['getRoot'](_0x45ec23['rootName']));}):_0x50e4bd['reconvertMarker']('revision:'+_0x45ec23['id'])),_0x57c02a&&(_0x57c02a['data']['isOnRoot']?_0x50e4bd['view']['change'](_0x49c880=>{_0x49c880['addClass']('ck-revision-history-root--active',_0x50e4bd['view']['document']['getRoot'](_0x57c02a['rootName']));}):_0x50e4bd['reconvertMarker']('revision:'+_0x57c02a['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x3e4e97,_0x1810ba)=>{if(this['activeChange'])return;const _0x19b0f9=this['_findChangeIdFromDomTarget'](_0x1810ba['target']),_0x84435a=this['_changeIdToChange']['get'](_0x19b0f9);_0x84435a?(this['_activeViewTarget']={'x':_0x1810ba['domEvent']['x'],'y':_0x1810ba['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x84435a)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x174f8f,_0x3c66ae)=>{const _0x157e8b=this['_findChangeIdFromDomTarget'](_0x3c66ae['target']),_0x58a8d7=this['_changeIdToChange']['get'](_0x157e8b);_0x58a8d7?(this['_activeViewTarget']={'x':_0x3c66ae['domEvent']['x'],'y':_0x3c66ae['domEvent']['y']},_0x58a8d7===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x58a8d7):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0xb5d56c){do{const _0x1898c5=_0xb5d56c['getAttribute']('data-change-id');if(_0x1898c5)return _0x1898c5;_0xb5d56c=_0xb5d56c['parent'];}while(_0xb5d56c);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x545592=>{for(const _0x2c791b of this['editor']['model']['markers'])_0x545592['removeMarker'](_0x2c791b);});}}function et(_0x145a4c,_0x457104){return(_0x16b910,_0x2ffaaa,_0x37127b)=>{if(!_0x37127b['consumable']['test'](_0x2ffaaa['markerRange'],_0x16b910['name']))return;const _0x2f79b0=_0x2ffaaa['markerRange']['getWalker'](),_0x464f6f=_0x2ffaaa['markerRange']['start'],_0x15d1ab=_0x145a4c['model']['schema'];let _0x178232=null,_0x493ee1=null,_0x84a165=!0x1,_0x42851b=!0x1;for(const _0xed1626 of _0x2f79b0){const _0x54310c=_0xed1626['item'];_0x84a165=_0x84a165||_0x15d1ab['isContent'](_0x54310c);const _0x49714c=_0x37127b['mapper']['toViewElement'](_0x54310c);if(_0x49714c&&_0x49714c['getCustomProperty']('addHighlight'))return;'elementEnd'==_0xed1626['type']&&(_0x15d1ab['isBlock'](_0x54310c)&&!_0x15d1ab['isLimit'](_0x54310c)&&(_0x54310c['nextSibling']||_0x464f6f['isAtEnd']?_0x178232&&_0x178232['parent']==_0x54310c||(_0x178232=_0x54310c,_0x2caac5(_0xed1626['previousPosition']),_0x42851b=!0x0):_0x493ee1=_0x493ee1||_0xed1626['previousPosition']));}function _0x2caac5(_0x3325ca){const _0x188623=_0x37127b['mapper']['toViewPosition'](_0x3325ca),_0x55c1ee=_0x37127b['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x457104});_0x37127b['writer']['insert'](_0x188623,_0x55c1ee),_0x37127b['mapper']['bindElementToMarker'](_0x55c1ee,_0x2ffaaa['markerName']);}_0x84a165||_0x42851b||!_0x493ee1||_0x2caac5(_0x493ee1);};}class bt extends _0x47b150{constructor(_0x376def){super(_0x376def);const _0x81602=_0x376def['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x81602,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x81602,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x3b7ce1=this['editor'],_0x13cd8e=_0x3b7ce1['plugins']['get'](d),_0x48b145=_0x13cd8e['isReady']?_0x13cd8e['diff']['newRevisionId']:null;_0x3b7ce1['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x48b145);}['refresh'](){const {isReady:_0x8c2e9a,isEnabled:_0x499a36}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x8c2e9a&&_0x499a36;}}class yt extends _0x47b150{['_step'];constructor(_0x2ccbab,{direction:_0x5a1c98}){super(_0x2ccbab);const _0x20c0e7=_0x2ccbab['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x5a1c98?0x1:-0x1,this['listenTo'](_0x20c0e7,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x20c0e7,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x20c0e7,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x1d82d4=this['editor'],_0x20b5d7=_0x1d82d4['plugins']['get'](d),{isNavigationMode:_0xdbf668,currentChangeNumber:_0x127d48}=_0x20b5d7;let _0x1a05ab;if(_0x20b5d7['activeChange']=_0xdbf668?_0x20b5d7['diff']['changes']['get'](_0x127d48+this['_step']):_0x20b5d7['diff']['changes']['first'],_0x20b5d7['activeChange']['data']['isOnRoot'])_0x1a05ab=_0x1d82d4['editing']['view']['getDomRoot'](_0x20b5d7['activeChange']['rootName']);else{const _0x24ebcb=_0x1d82d4['model']['markers']['get']('revision:'+_0x20b5d7['activeChange']['id']);_0x1a05ab=_0x14a388(_0x1d82d4['editing'],_0x24ebcb);}_0x4731a4({'target':_0x1a05ab,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x58ee6a,currentChangeNumber:_0x4e924e,numberOfChanges:_0x3dc933,isReady:_0x4d9d75,isEnabled:_0x1f231f}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x1f231f&&_0x4d9d75&&_0x3dc933)&&(!_0x58ee6a||(0x1===this['_step']?_0x4e924e<_0x3dc933-0x1:_0x4e924e>0x0));}}class _i extends _0x28ae58{constructor(_0x508af9){super(_0x508af9);const _0x28c9f2=this['bindTemplate'],_0x23d5ce=new _0x1f7c37(_0x508af9),_0x3e55de=new _0x1f7c37(_0x508af9);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',(_0x257e7b,_0x667a36)=>_0x257e7b&&_0x667a36>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x3e6d15,_0x260a20,_0x3a614c,_0xf5987e)=>{if(!_0x3e6d15)return y(_0x508af9,'Loading...');if(!_0x3a614c)return y(_0x508af9,'No\x20changes');const _0x4b5ad7=y(_0x508af9,'NUMBER_OF_CHANGES',_0x3a614c);return _0xf5987e?y(_0x508af9,'X_OF_Y_CHANGES',[_0x260a20+0x1,_0x3a614c]):_0x4b5ad7;}),_0x23d5ce['set']({'label':y(_0x508af9,'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'}),_0x3e55de['set']({'label':y(_0x508af9,'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'}),_0x23d5ce['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x3e55de['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x23d5ce['on']('execute',()=>this['fire']('execute','backward')),_0x3e55de['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',_0x28c9f2['if']('_isStatusLabelVisible','ck-hidden',_0x53d811=>!_0x53d811)]},'children':[{'text':_0x28c9f2['to']('isNavigationMode',_0x594134=>_0x594134?y(_0x508af9,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x508af9,'Total')+':\x20')}]},{'text':_0x28c9f2['to']('_statusText')}]},new _0x386219(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x23d5ce,_0x3e55de]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x1ed686{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x4a4b54=this['editor']['editing']['view'];_0x4a4b54['change'](_0xbb840a=>{for(const _0xe28e17 of _0x4a4b54['document']['roots'])_0xbb840a['addClass'](ce,_0xe28e17);});}['hide'](){const _0x2246fe=this['editor']['editing']['view'];_0x2246fe['change'](_0x461508=>{for(const _0x2d2c7a of _0x2246fe['document']['roots'])_0x461508['removeClass'](ce,_0x2d2c7a);});}}class R extends _0x1ed686{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x2a9b5a=this['editor'],_0x2d6e6f=_0x2a9b5a['plugins']['get'](d),_0x2ab8b2=_0x2a9b5a['plugins']['get'](de);_0x2a9b5a['ui']['componentFactory']['add']('exitToEditing',_0x65f413=>{const _0x53c8cb=new _0x1f7c37(_0x65f413);return _0x53c8cb['set']({'label':y(_0x65f413,'Back\x20to\x20editing'),'icon':_0x5d7b1e['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x53c8cb,'execute',()=>{_0x2a9b5a['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x53c8cb;}),_0x2a9b5a['ui']['componentFactory']['add']('restoreRevision',_0x571822=>{const _0x3c5c5b=new _0x1f7c37(_0x571822);return _0x3c5c5b['set']({'label':y(_0x571822,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x3c5c5b['bind']('isEnabled')['to'](_0x2a9b5a['commands']['get']('restoreRevision')),this['listenTo'](_0x3c5c5b,'execute',()=>_0x2a9b5a['execute']('restoreRevision')),_0x3c5c5b;}),_0x2a9b5a['ui']['componentFactory']['add']('changesNavigation',_0x5eae0e=>{const _0x1c0af5=new _i(_0x5eae0e),_0x1fe7b7=_0x2a9b5a['commands']['get']('showPreviousChange'),_0x2b1925=_0x2a9b5a['commands']['get']('showNextChange');return _0x1c0af5['bind']('isBackwardNavigationEnabled')['to'](_0x1fe7b7,'isEnabled'),_0x1c0af5['bind']('isForwardNavigationEnabled')['to'](_0x2b1925,'isEnabled'),_0x1c0af5['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x2d6e6f),this['listenTo'](_0x1c0af5,'execute',(_0x2f6241,_0x3a8c9b)=>{_0x2a9b5a['execute']('forward'===_0x3a8c9b?'showNextChange':'showPreviousChange');}),_0x1c0af5;}),_0x2ab8b2['show'](),_0x2d6e6f['on']('change:isReady',(_0x485f60,_0x59f798,_0x512066)=>{_0x512066?_0x2ab8b2['hide']():_0x2ab8b2['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x510283,_0x256763){super(_0x510283,_0x256763);const _0x1fb158=this['bindTemplate'];this['set']({'label':y(_0x510283,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x510283,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x1fb158['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 _0x5777ed=this['fieldView']['element'];this['_tooltipString']=_0x5777ed['scrollWidth']>_0x5777ed['clientWidth']&&_0x5777ed['value']||'';}}class ti extends _0x28ae58{constructor(_0x35fe9a,_0x32931c,_0x5d00ff){super(_0x35fe9a);const _0x4ee724=new _0x352846();_0x4ee724['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 _0x15b2da=['ck','ck-revision-history-sidebar__revision-author'];_0x5d00ff&&_0x15b2da['push']('ck-revision-history-sidebar__revision-author_creator');const _0x4f4bc5=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x35fe9a,_0x5d00ff?'Revision\x20creator':'Revision\x20author')},'children':[_0x4ee724,_0x32931c['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x15b2da},'children':_0x4f4bc5});}}function ni(_0x51d61b,_0x36361e){const _0x2f16d0=_0x51d61b['bindTemplate'],_0x2bd4c7=_0x51d61b['locale'],_0x5da023=_0x51e52f(_0x2bd4c7);_0x5da023['panelPosition']='sw';const _0x1070ad=function(_0x4034b1,_0x4391c4){const _0x3573b3=function(_0x240210,_0x149ad9){const _0x5a51dc=_0x240210['locale'],_0x17ccec={'Compare\x20against\x20selected':y(_0x5a51dc,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x5a51dc,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x5a51dc,'Restore\x20this\x20revision')};return _0x149ad9['map'](_0x1f65d1=>{const _0x25e117=_0x17ccec[_0x1f65d1['name']];return _0x25e117&&_0x25e117!==_0x1f65d1['name']&&(_0x1f65d1['name']=_0x25e117),_0x1f65d1;});}(_0x4034b1,_0x4391c4),_0x1068e3=new _0x1ed60d();for(const _0xc4ff4a of _0x3573b3){const _0x1fc7ef={'type':'button','model':new to({'label':_0xc4ff4a['name'],'class':_0xc4ff4a['class'],'withText':!0x0,'role':'menuitem','_action':_0xc4ff4a['action']})};_0x1fc7ef['model']['bind']('isEnabled')['to'](_0x4034b1,'isActionsDropdownOpen',_0xe8f4bc=>'function'!=typeof _0xc4ff4a['isEnabled']||(!_0xe8f4bc||_0xc4ff4a['isEnabled'](_0x4034b1))),_0x1068e3['add'](_0x1fc7ef);}return _0x1068e3;}(_0x51d61b,_0x36361e);return _0x51d61b['bind']('isActionsDropdownOpen')['to'](_0x5da023,'isOpen'),_0x5da023['buttonView']['set']({'label':y(_0x2bd4c7,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x5d7b1e['threeVerticalDots']}),_0x5da023['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x2f16d0['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x2f16d0['to'](_0x46a2e4=>_0x46a2e4['stopPropagation']())}}),_0x5da023['on']('execute',_0x1fc407=>{_0x51d61b['isReady']&&'function'==typeof _0x1fc407['source']['_action']&&_0x1fc407['source']['_action'](_0x51d61b);}),_0x226018(_0x5da023,_0x1070ad,{'role':'menu'}),_0x5da023['listenTo'](_0x51d61b,'change:isActionsDropdownOpen',(_0x5c1091,_0x37a355,_0x1e1a8d)=>{if(_0x1e1a8d)for(const _0x207412 of _0x5da023['listView']['items']){const _0x10c361=_0x207412['children']['first'],_0x2c0304=_0x36361e['find'](_0x43cdec=>_0x43cdec['action']===_0x10c361['_action'])['isVisible'];_0x207412['isVisible']=void 0x0===_0x2c0304||_0x2c0304(_0x51d61b);}}),_0x5da023;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x38bc7b(_0x28ae58){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x4cce19,_0x37046a,_0x5b7eea,_0x5e489f){super(_0x4cce19);const _0x965482=this['bindTemplate'],_0x446e0d=function(_0x29f162,_0x16bcec){const _0x52e8cf=Array['from'](_0x16bcec['authors'])['filter'](_0x462437=>_0x462437!=_0x16bcec['creator']);return _0x16bcec['creator']&&_0x52e8cf['unshift'](_0x16bcec['creator']),_0x52e8cf['map'](_0x37d53d=>new ti(_0x29f162,_0x37d53d,_0x37d53d==_0x16bcec['creator']));}(_0x4cce19,_0x37046a);this['id']=_0x37046a['id'],this['_revision']=_0x37046a,this['_requireRevisionName']=_0x5e489f,this['bind']('name','createdAt')['to'](_0x37046a),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x4e9284=>{return _0x585b2e=_0x4cce19['uiLanguage'],(_0x5f2136=_0x4e9284)['toLocaleDateString'](_0x585b2e,{'month':'long','day':'numeric'})+',\x20'+_0x5f2136['toLocaleTimeString'](_0x585b2e,{'hour':'numeric','minute':'numeric'});var _0x585b2e,_0x5f2136;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x4cce19,_0x10f167),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x33201d=>_0x33201d||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x2e9195,_0x127716)=>_0x2e9195&&_0x127716),this['revisionActionsView']=_0x5b7eea&&_0x5b7eea['length']?ni(this,_0x5b7eea):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x965482['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x965482['if']('isEnabled','ck-disabled',_0x19ef61=>!_0x19ef61),_0x965482['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x965482['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x965482['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':_0x965482['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':_0x446e0d}]},this['revisionActionsView']],'on':{'click':_0x965482['to'](_0x3bb0b7=>{_0x3bb0b7['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x5c5210=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x5c5210,'change',()=>{this['_requireRevisionName']&&!_0x5c5210['value']||this['fire']('setName',{'id':this['id'],'name':_0x5c5210['value']}),_0x5c5210['value']||(_0x5c5210['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(_0x4d06b6,_0x172a36){const _0x1ed0be=_0xdf50c0['fromJSDate'](_0x4d06b6)['setLocale'](_0x172a36),_0x5a52d5=_0xdf50c0['local'](),_0xcfa938=_0x5a52d5['minus']({'days':0x1})['startOf']('day');let _0x45fd54,_0x39f3ef;return _0x1ed0be['hasSame'](_0x5a52d5,'day')?(_0x45fd54=_0x1ed0be['startOf']('day')['toJSDate'](),_0x39f3ef=_0x1ed0be['toRelativeCalendar']()):_0x1ed0be['hasSame'](_0xcfa938,'day')?(_0x45fd54=_0xcfa938['toJSDate'](),_0x39f3ef=_0x1ed0be['toRelativeCalendar']()):_0x1ed0be['hasSame'](_0x5a52d5,'week')?(_0x45fd54=_0x1ed0be['startOf']('week')['toJSDate'](),_0x39f3ef=_0x1ed0be['weekdayLong']||''):_0x1ed0be['hasSame'](_0x5a52d5,'year')?(_0x45fd54=_0x1ed0be['startOf']('month')['toJSDate'](),_0x39f3ef=_0x1ed0be['monthLong']||''):(_0x45fd54=_0x1ed0be['startOf']('year')['toJSDate'](),_0x39f3ef=String(_0x1ed0be['year'])),{'startDate':_0x45fd54,'localizedPeriodName':_0x39f3ef};}class mi extends _0x28ae58{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x344481,_0x1d2d09,_0x5004da,_0x256fc0){super(_0x344481);const _0x358121=di(_0x1d2d09,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x1d2d09,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x5004da,this['_requireRevisionName']=_0x256fc0,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':_0x358121}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x4068c5){const _0x278dba=new ai(this['locale'],_0x4068c5,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x278dba);}['removeRevision'](_0x51e9d0){const _0x35f2b3=this['revisionViews']['find'](_0x4eb313=>_0x4eb313['id']===_0x51e9d0['id']);this['revisionViews']['remove'](_0x35f2b3);}}class as extends _0x28ae58{constructor(_0x20ae7e){super(_0x20ae7e);const _0x5ae7b6=new _0x352846();_0x5ae7b6['content']=_0x5d7b1e['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x5ae7b6,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x20ae7e,'Revision\x20history')]}]});}}class ci extends _0x28ae58{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x411dc7,_0x54fb7c,_0x50ed1f,_0x1a3196){super(_0x411dc7);const _0xdae61b=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x54fb7c,this['_revisionActions']=_0x50ed1f,this['_requireRevisionName']=_0x1a3196,this['on']('select',(_0x3943a1,_0x556249)=>{this['fire']('revisionSelected',_0x556249);}),this['on']('setName',(_0x1faace,_0x2c6d17)=>{this['fire']('revisionSetName',_0x2c6d17);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x411dc7),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0xdae61b['if']('isEnabled','ck-disabled',_0x57f3ef=>!_0x57f3ef)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x2f1aa7 of this['_revisions'])this['_addRevision'](_0x2f1aa7);this['_revisions']['on']('add',(_0x22540c,_0x3e142c)=>{this['_addRevision'](_0x3e142c);}),this['_revisions']['on']('remove',(_0xc69a9f,_0x22db9c)=>{this['_removeRevision'](_0x22db9c);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x4b17da=>_0x4b17da['revisionViews']['map'](_0x59ef12=>_0x59ef12))['flat']();}['selectRevision'](_0x1e6e5d){for(const _0x549952 of this['revisionViews'])_0x1e6e5d&&_0x1e6e5d['id']===_0x549952['id']?_0x549952['select']():_0x549952['deselect']();}['highlightRevisions'](_0x2f8abd){for(const _0x2a8717 of this['revisionViews'])_0x2f8abd['some'](({id:_0x2012a9})=>_0x2012a9===_0x2a8717['id'])?_0x2a8717['highlight']():_0x2a8717['unhighlight']();}['_addRevision'](_0x14e18b){const _0x2a40d6=di(_0x14e18b['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x55c81a=this['timePeriodViews']['get'](0x0);_0x55c81a&&_0x55c81a['startDate']['getTime']()===_0x2a40d6['getTime']()||(_0x55c81a=new mi(this['locale'],_0x2a40d6,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x55c81a)),_0x55c81a['addRevision'](_0x14e18b);}['_removeRevision'](_0x226acb){const _0x15bb8e=di(_0x226acb['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x15bb8e)['removeRevision'](_0x226acb);}['_getTimePeriodViewByStartDate'](_0x416a76){return this['timePeriodViews']['find'](_0x5950f3=>_0x5950f3['startDate']['getTime']()===_0x416a76['getTime']());}}class w extends _0x1ed686{['_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(_0x241711){super(_0x241711),this['_revisionViewer']=_0x241711['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x51840c=this['_revisionsRepository']['_revisions'],_0x35a3d1=this['_createRevisionActions'](),_0x5a495b=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x51840c,_0x35a3d1,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',(_0xcfea62,_0x106122)=>{_0x106122['revisionViews']['on']('add',(_0x1bb06d,_0x10dfc1)=>{_0x10dfc1['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)),_0x5a495b['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x1c57ac=this['_revisionsRepository']['getRevision'](0x0);if(_0x1c57ac){const _0x1ef303=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x1c57ac['id']);this['_revisionViewer']['compare'](_0x1c57ac,_0x1ef303);}}['_handleRevisionSelected'](_0x28579a,_0x5e664b){const _0xd71ba4=this['_revisionsRepository']['getRevision'](_0x5e664b['id']),_0x1f6cfe=this['_revisionsRepository']['getEarlierVisibleRevision'](_0xd71ba4['id']);this['_revisionViewer']['compare'](_0xd71ba4,_0x1f6cfe);}['_handleRevisionSetName'](_0x55a556,_0x35c1a6){this['_revisionsRepository']['getRevision'](_0x35c1a6['id'])['setName'](_0x35c1a6['name']);}['_handleDiffChange'](_0x42ee12,_0x3ec26f,_0x42ed7f){const _0x1f9042=this['_revisionsRepository']['getRevisionsInDiff'](_0x42ed7f);_0x1f9042['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x1f9042),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x1f9042[0x0]));}['_createRevisionActions'](){const _0x43202d=this['editor'],_0x147912=w['availableRevisionActions'],_0x187c92=_0x43202d['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x187c92['length'])return _0x187c92['map'](_0x4b4777=>{const _0x7f3616='string'==typeof _0x4b4777?Object['assign']({},_0x147912[_0x4b4777]):_0x4b4777;return _0x7f3616['action']=_0x7f3616['action']['bind'](this,_0x43202d),_0x7f3616['isVisible']&&(_0x7f3616['isVisible']=_0x7f3616['isVisible']['bind'](this,_0x43202d)),_0x7f3616;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x2ce9a1},_0x57d0c7)=>{const _0x4074f2=_0x2ce9a1['get'](d),_0x353af2=_0x4074f2['repository'];let _0x1b8dc2=_0x4074f2['diff']['newRevisionId'],_0x345fb7=_0x57d0c7['id'];_0x353af2['getIndex'](_0x1b8dc2)>_0x353af2['getIndex'](_0x345fb7)&&([_0x1b8dc2,_0x345fb7]=[_0x345fb7,_0x1b8dc2]),_0x4074f2['compare'](_0x1b8dc2,_0x345fb7);},'isVisible':({plugins:_0x32e940},_0x2399c0)=>{const _0x510ce5=_0x32e940['get'](d);return!(_0x510ce5['repository']['getRevisionsInDiff'](_0x510ce5['diff'])['length']>0x2)&&!_0x2399c0['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x457234,{id:_0xa437c4})=>{_0x457234['config']['get']('revisionHistory')['restoreRevisionCallback'](_0xa437c4);},'isVisible':({plugins:_0x1106d1},_0x30ba99)=>!!_0x1106d1['get'](d)['repository']['getLaterVisibleRevision'](_0x30ba99['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x19b815},{id:_0x33257e,revisionNameView:_0x4ea9a9})=>{const _0x14f0e3=_0x19b815['get'](d),_0x40c0de=_0x14f0e3['repository']['getEarlierVisibleRevision'](_0x33257e);_0x14f0e3['compare'](_0x33257e,_0x40c0de),_0x4ea9a9['focus'](),_0x4ea9a9['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x25b18c,_0x3a3a40){super(_0x25b18c),this['_view']=_0x3a3a40,this['_toolbarConfig']=ct(_0x25b18c['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x3cafa7){const _0x48ceec=this['editor'],_0x259b61=this['view'],_0x1523ac=_0x48ceec['editing']['view'],_0x174d84=_0x259b61['editable'],_0x3d7458=_0x1523ac['document']['getRoot']();_0x174d84['name']=_0x3d7458['rootName'],_0x259b61['render']();const _0x213e1b=_0x174d84['element'];this['setEditableElement'](_0x174d84['name'],_0x213e1b),_0x259b61['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x1523ac['attachDomRoot'](_0x213e1b),this['_elementReplacer']['replace'](_0x3cafa7,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x1bee47=this['view'],_0x32939e=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x32939e['detachDomRoot'](_0x1bee47['editable']['name']),_0x1bee47['destroy']();}['_initToolbar'](){const _0x5ad2aa=this['view'];_0x5ad2aa['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x5ad2aa['stickyPanel']['limiterElement']=_0x5ad2aa['element'],_0x5ad2aa['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x177679})=>_0x177679),_0x5ad2aa['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x5ad2aa['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x49adaa,_0x326200,_0x3a183c={}){super(_0x49adaa),this['stickyPanel']=new lt(_0x49adaa),this['toolbar']=new pt(_0x49adaa,{'shouldGroupWhenFull':_0x3a183c['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x49adaa,_0x326200);}['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(_0xab9207,_0x398902){super(_0x398902),this['sourceElement']=_0xab9207,this['model']['document']['createRoot']();const _0x25adc1=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x25adc1);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x5d986d,_0x5eabdf){const _0x339496=new this(_0x5d986d,_0x5eabdf);return await _0x339496['initPlugins'](),await _0x339496['ui']['init'](_0x5d986d),await _0x339496['data']['init'](_0x339496['config']['get']('initialData')||''),_0x339496['fire']('ready'),_0x339496;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x5a4e73{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x506902){super(_0x506902),this['result']='end';}}class H extends _0x5a4e73{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x1d4845){if(super(_0x1d4845),!this['editor']['config']['get']('revisionHistory'))throw new _0x2bb715('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x1b562c=>this['_showRevisionViewer']({..._0x1b562c,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x29713d=>this['_closeRevisionViewer'](_0x29713d)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x1df110=>this['_restoreRevision'](_0x1df110)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x1dd81e){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x1dd81e;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x28550f){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x28550f);}['getRevision'](_0x478302){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x478302);}['getRevisions'](_0x530807){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x530807||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x2996ec=this['editor'],_0x48cd2d=_0x2d2fee(_0x2996ec,p),_0x4c5ca4=_0x2996ec['plugins']['get']('RevisionTracker'),_0x474330=_0x2996ec['plugins']['get']('Users')['users'];return _0x48cd2d['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x48cd2d['lazyRoots'],(_0x48cd2d['plugins']['push'](k,d,R,class extends _0x5a4e73{static get['requires'](){return[d,'Users'];}['init'](){const _0x118eb9=this['editor']['plugins']['get']('Users');for(const _0x25c325 of _0x474330)_0x25c325['isAnonymous']||_0x118eb9['getUser'](_0x25c325['id'])||_0x118eb9['addUser'](_0x25c325);const _0x1afcc2=_0x4c5ca4['repository']['getRevisions']();let _0x2ceea8=null;const _0x17b15d=this['editor']['plugins']['get']('RevisionViewer');_0x17b15d['adapter']=_0x4c5ca4['adapter'],_0x17b15d['bind']('isEnabled')['to'](_0x4c5ca4),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x2996ec,'isReadOnly',_0x5ef5f7=>!_0x5ef5f7);for(const _0x1680fb of _0x1afcc2){const _0x3d8323=null===_0x1680fb['creator'];if(_0x3d8323&&_0x1680fb['toVersion']===_0x1680fb['fromVersion'])continue;const _0x34f5ee=_0x1680fb['toJSON']();_0x17b15d['addRevisionData'](_0x34f5ee,(_0x2fbb53,_0x1adf1d,_0xb45098)=>{if(_0x3d8323){if(_0x2ceea8)_0x2ceea8['_update'](_0x2fbb53,_0x1adf1d);else{if(!_0x1adf1d){const _0x13445f=_0xb45098['toJSON']();_0x13445f['id']=_0x181127(),_0x4c5ca4['saveRevision'](_0x13445f,_0xb45098['toVersion'])['then'](_0x31b1a9=>{_0x2ceea8=_0x31b1a9;});}}}else _0x1680fb['_update'](_0x2fbb53,_0x1adf1d);});}}},w),_0x48cd2d);}['_enhanceShowRevisionViewerCallback'](){const _0x24ae13=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x5eda56=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x49441a=this['editor']['plugins']['get']('Autosave');await _0x49441a['save']();}else await _0x5eda56['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0xb953be=this['editor']['plugins']['get']('Dialog');_0xb953be['isOpen']&&_0xb953be['hide']();}const _0x518fe4=this['_getRevisionViewerEditorConfig']();return _0x24ae13(_0x518fe4)['then'](_0x2701ee=>{return(this['_viewerEditor']=_0x2701ee,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x2701ee;})['catch'](_0x5a3bfb=>(console['error'](_0x5a3bfb),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x3e3b63=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'](),_0x3e3b63(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x5d72b9=this['editor']['plugins']['get']('Annotations');_0x5d72b9['refreshVisibility'](),_0x5d72b9['refreshPositioning']();}})));}['_showRevisionViewer'](_0x419031){const _0x54bad3=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x105653=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x233d1e=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x233d1e,_0x419031)['then'](_0x1550ee=>(_0x105653['style']['display']='block',_0x54bad3['style']['display']='none',_0x1550ee));}['_closeRevisionViewer'](_0x5c449b){const _0x17cd21=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x17cd21['style']['display']='',_0x5c449b['destroy']();}async['_restoreRevision'](_0x1d2bb9){const _0x299330=this['editor'],_0x248a71=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x5245ae=_0x299330['plugins']['get']('RevisionTracker'),_0x37b4d6=_0x248a71['repository']['getRevision'](_0x1d2bb9);let _0x5c1649,_0x407206,_0x37b241;try{_0x5c1649=await _0x248a71['getRevisionData'](_0x37b4d6),_0x407206=await _0x248a71['getRevisionRootsAttributes'](_0x37b4d6);}catch(_0x7eb9ed){return void console['error'](_0x7eb9ed);}_0x299330['model']['change'](_0xe4940d=>{for(const _0x31ee61 of Array['from'](_0x299330['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0xe4940d['removeMarker'](_0x31ee61);}),_0x248a71['isReady']=!0x1,_0x299330['model']['enqueueChange'](_0x5c84bd=>{_0x5c84bd['setSelection'](null),_0x5c84bd['removeSelectionAttribute'](_0x299330['model']['document']['selection']['getAttributeKeys']());const _0x13c363=Object['keys'](_0x5c1649);for(const _0x44eda0 of _0x299330['model']['document']['roots'])'$graveyard'!=_0x44eda0['rootName']&&_0x44eda0['isAttached']()&&!_0x13c363['includes'](_0x44eda0['rootName'])&&_0x5c84bd['detachRoot'](_0x44eda0);for(const _0x32c1a1 of _0x13c363){let _0x4ea01b=_0x299330['model']['document']['getRoot'](_0x32c1a1);_0x4ea01b&&_0x4ea01b['isAttached']()||(_0x4ea01b=_0x5c84bd['addRoot'](_0x32c1a1));const _0x22a32c=_0x407206[_0x32c1a1],_0x4784fc=Object['keys'](_0x22a32c),_0x43fb0f=_0x5c1649[_0x32c1a1];for(const _0x4b98b6 of _0x4ea01b['getAttributeKeys']())_0x4784fc['includes'](_0x4b98b6)||_0x5c84bd['removeAttribute'](_0x4b98b6,_0x4ea01b);for(const _0x4f970a of _0x4784fc)_0x5c84bd['setAttribute'](_0x4f970a,_0x407206[_0x32c1a1][_0x4f970a],_0x4ea01b);_0x5c84bd['remove'](_0x5c84bd['createRangeIn'](_0x4ea01b)),_0x5c84bd['insert'](_0x299330['data']['parse'](_0x43fb0f,_0x4ea01b),_0x4ea01b,0x0);}});const _0x45c9f1=y(_0x299330['locale'],'Restored');if(_0x37b4d6['name'])_0x37b241=-0x1==_0x37b4d6['name']['indexOf'](_0x45c9f1)?_0x45c9f1+':\x20'+_0x37b4d6['name']:_0x37b4d6['name'];else _0x37b241=_0x45c9f1+':\x20'+(_0x37b4d6['createdAt']['toLocaleDateString'](_0x299330['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x37b4d6['createdAt']['toLocaleTimeString'](_0x299330['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x5245ae['saveRevision']({'name':_0x37b241}),_0x248a71['isReady']=!0x0,_0x299330['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(_0x779d31){super(_0x779d31),this['_revisionViewer']=_0x779d31['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x3b492c=this['_revisionsRepository']['_revisions'],_0x40ac92=this['_createRevisionActions'](),_0x208ff7=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x3b492c,_0x40ac92,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',(_0x4d0192,_0x396c14)=>{_0x396c14['revisionViews']['on']('add',(_0x1e3753,_0x560cb5)=>{_0x560cb5['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)),_0x208ff7['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x233b92=this['_revisionsRepository']['getRevision'](0x0);if(_0x233b92){const _0x358ca2=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x233b92['id']);this['_revisionViewer']['compare'](_0x233b92,_0x358ca2);}}['_handleRevisionSelected'](_0x308ffb,_0x31661a){const _0x4fe3b8=this['_revisionsRepository']['getRevision'](_0x31661a['id']),_0x181982=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4fe3b8['id']);this['_revisionViewer']['compare'](_0x4fe3b8,_0x181982);}['_handleRevisionSetName'](_0x121fc0,_0x49bc7e){this['_revisionsRepository']['getRevision'](_0x49bc7e['id'])['setName'](_0x49bc7e['name']);}['_handleDiffChange'](_0x27be96,_0x346971,_0x5dda59){const _0x214eef=this['_revisionsRepository']['getRevisionsInDiff'](_0x5dda59);_0x214eef['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x214eef),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x214eef[0x0]));}['_createRevisionActions'](){const _0x572816=this['editor'],_0x44551f=w['availableRevisionActions'],_0x512a47=_0x572816['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x512a47['length'])return _0x512a47['map'](_0x234cdb=>{const _0x34a83c='string'==typeof _0x234cdb?Object['assign']({},_0x44551f[_0x234cdb]):_0x234cdb;return _0x34a83c['action']=_0x34a83c['action']['bind'](this,_0x572816),_0x34a83c['isVisible']&&(_0x34a83c['isVisible']=_0x34a83c['isVisible']['bind'](this,_0x572816)),_0x34a83c;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x4d76b9},_0x28a3d0)=>{const _0x1c3714=_0x4d76b9['get'](d),_0x1d464d=_0x1c3714['repository'];let _0x42064a=_0x1c3714['diff']['newRevisionId'],_0x5a9482=_0x28a3d0['id'];_0x1d464d['getIndex'](_0x42064a)>_0x1d464d['getIndex'](_0x5a9482)&&([_0x42064a,_0x5a9482]=[_0x5a9482,_0x42064a]),_0x1c3714['compare'](_0x42064a,_0x5a9482);},'isVisible':({plugins:_0x3d4ded},_0x892645)=>{const _0x47864a=_0x3d4ded['get'](d);return!(_0x47864a['repository']['getRevisionsInDiff'](_0x47864a['diff'])['length']>0x2)&&!_0x892645['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x42f80c,{id:_0x486a00})=>{_0x42f80c['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x486a00);},'isVisible':({plugins:_0x58b41c},_0x1b1cc4)=>!!_0x58b41c['get'](d)['repository']['getLaterVisibleRevision'](_0x1b1cc4['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x138683},{id:_0x4f3bb2,revisionNameView:_0x51a133})=>{const _0x4d5251=_0x138683['get'](d),_0x1678cb=_0x4d5251['repository']['getEarlierVisibleRevision'](_0x4f3bb2);_0x4d5251['compare'](_0x4f3bb2,_0x1678cb),_0x51a133['focus'](),_0x51a133['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0xb87e74,_0x368e0f){super(_0xb87e74),this['_view']=_0x368e0f,this['_toolbarConfig']=ct(_0xb87e74['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0xe1af93){const _0x36c035=this['editor'],_0x4cd78e=this['view'],_0x31a9cd=_0x36c035['editing']['view'],_0x2a1d5d=_0x4cd78e['editable'],_0x41915a=_0x31a9cd['document']['getRoot']();_0x2a1d5d['name']=_0x41915a['rootName'],_0x4cd78e['render']();const _0x441a45=_0x2a1d5d['element'];this['setEditableElement'](_0x2a1d5d['name'],_0x441a45),_0x4cd78e['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x31a9cd['attachDomRoot'](_0x441a45),this['_elementReplacer']['replace'](_0xe1af93,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0xbec69=this['view'],_0x3fd69a=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x3fd69a['detachDomRoot'](_0xbec69['editable']['name']),_0xbec69['destroy']();}['_initToolbar'](){const _0x1638a5=this['view'];_0x1638a5['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x1638a5['stickyPanel']['limiterElement']=_0x1638a5['element'],_0x1638a5['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x2ff006})=>_0x2ff006),_0x1638a5['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x1638a5['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x190d17,_0x4227d7,_0x665358={}){super(_0x190d17),this['stickyPanel']=new lt(_0x190d17),this['toolbar']=new pt(_0x190d17,{'shouldGroupWhenFull':_0x665358['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x190d17,_0x4227d7);}['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(_0x54878d,_0x531e12){super(_0x531e12),this['sourceElement']=_0x54878d,this['model']['document']['createRoot']();const _0x55cc50=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x55cc50);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x3c75cd,_0x74441a){const _0x27866d=new this(_0x3c75cd,_0x74441a);return await _0x27866d['initPlugins'](),await _0x27866d['ui']['init'](_0x3c75cd),await _0x27866d['data']['init'](_0x27866d['config']['get']('initialData')||''),_0x27866d['fire']('ready'),_0x27866d;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x1ed686{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x4b1a5b){super(_0x4b1a5b),this['result']='end';}}class H extends _0x1ed686{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x105092){if(super(_0x105092),!this['editor']['config']['get']('revisionHistory'))throw new _0x587587('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x2c2ef3=>this['_showRevisionViewer']({..._0x2c2ef3,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x39f271=>this['_closeRevisionViewer'](_0x39f271)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x11850f=>this['_restoreRevision'](_0x11850f)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x1625c8){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x1625c8;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x33c671){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x33c671);}['getRevision'](_0xde031d){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0xde031d);}['getRevisions'](_0x22e9bc){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x22e9bc||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0xbbae34=this['editor'],_0x3d800c=_0x337d49(_0xbbae34,p),_0x5f5aca=_0xbbae34['plugins']['get']('RevisionTracker'),_0x528c18=_0xbbae34['plugins']['get']('Users')['users'];return _0x3d800c['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x3d800c['lazyRoots'],(_0x3d800c['plugins']['push'](k,d,R,class extends _0x1ed686{static get['requires'](){return[d,'Users'];}['init'](){const _0x59c9f4=this['editor']['plugins']['get']('Users');for(const _0x3acc5b of _0x528c18)_0x3acc5b['isAnonymous']||_0x59c9f4['getUser'](_0x3acc5b['id'])||_0x59c9f4['addUser'](_0x3acc5b);const _0x38d425=_0x5f5aca['repository']['getRevisions']();let _0x54dd6a=null;const _0x3fb8fa=this['editor']['plugins']['get']('RevisionViewer');_0x3fb8fa['adapter']=_0x5f5aca['adapter'],_0x3fb8fa['bind']('isEnabled')['to'](_0x5f5aca),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0xbbae34,'isReadOnly',_0x244510=>!_0x244510);for(const _0x3b9642 of _0x38d425){const _0x392e99=null===_0x3b9642['creator'];if(_0x392e99&&_0x3b9642['toVersion']===_0x3b9642['fromVersion'])continue;const _0x285c12=_0x3b9642['toJSON']();_0x3fb8fa['addRevisionData'](_0x285c12,(_0x378a04,_0x2138b3,_0x100064)=>{if(_0x392e99){if(_0x54dd6a)_0x54dd6a['_update'](_0x378a04,_0x2138b3);else{if(!_0x2138b3){const _0x341a2b=_0x100064['toJSON']();_0x341a2b['id']=_0x2afba9(),_0x5f5aca['saveRevision'](_0x341a2b,_0x100064['toVersion'])['then'](_0x473ae8=>{_0x54dd6a=_0x473ae8;});}}}else _0x3b9642['_update'](_0x378a04,_0x2138b3);});}}},w),_0x3d800c);}['_enhanceShowRevisionViewerCallback'](){const _0x3e822e=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x341bf1=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x31dc0e=this['editor']['plugins']['get']('Autosave');await _0x31dc0e['save']();}else await _0x341bf1['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x3bcc50=this['editor']['plugins']['get']('Dialog');_0x3bcc50['isOpen']&&_0x3bcc50['hide']();}const _0x22c2fe=this['_getRevisionViewerEditorConfig']();return _0x3e822e(_0x22c2fe)['then'](_0x66b216=>{return(this['_viewerEditor']=_0x66b216,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x66b216;})['catch'](_0x4f2d2d=>(console['error'](_0x4f2d2d),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x216152=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'](),_0x216152(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x41f7ca=this['editor']['plugins']['get']('Annotations');_0x41f7ca['refreshVisibility'](),_0x41f7ca['refreshPositioning']();}})));}['_showRevisionViewer'](_0x28fbc){const _0x4f1660=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x37c8c1=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x2ba2c6=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x2ba2c6,_0x28fbc)['then'](_0x4ff770=>(_0x37c8c1['style']['display']='block',_0x4f1660['style']['display']='none',_0x4ff770));}['_closeRevisionViewer'](_0x4707f8){const _0x35889a=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x35889a['style']['display']='',_0x4707f8['destroy']();}async['_restoreRevision'](_0x3a4286){const _0x5eb709=this['editor'],_0x4f3418=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x1826c1=_0x5eb709['plugins']['get']('RevisionTracker'),_0x43f1ba=_0x4f3418['repository']['getRevision'](_0x3a4286);let _0x2dddcb,_0x22d3ce,_0x3e8cfe;try{_0x2dddcb=await _0x4f3418['getRevisionData'](_0x43f1ba),_0x22d3ce=await _0x4f3418['getRevisionRootsAttributes'](_0x43f1ba);}catch(_0x4e2760){return void console['error'](_0x4e2760);}_0x5eb709['model']['change'](_0x2d6436=>{for(const _0x2e361d of Array['from'](_0x5eb709['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x2d6436['removeMarker'](_0x2e361d);}),_0x4f3418['isReady']=!0x1,_0x5eb709['model']['enqueueChange'](_0x2dbc7b=>{_0x2dbc7b['setSelection'](null),_0x2dbc7b['removeSelectionAttribute'](_0x5eb709['model']['document']['selection']['getAttributeKeys']());const _0x6798b0=Object['keys'](_0x2dddcb);for(const _0x247ef1 of _0x5eb709['model']['document']['roots'])'$graveyard'!=_0x247ef1['rootName']&&_0x247ef1['isAttached']()&&!_0x6798b0['includes'](_0x247ef1['rootName'])&&_0x2dbc7b['detachRoot'](_0x247ef1);for(const _0x4c33b9 of _0x6798b0){let _0x41c44d=_0x5eb709['model']['document']['getRoot'](_0x4c33b9);_0x41c44d&&_0x41c44d['isAttached']()||(_0x41c44d=_0x2dbc7b['addRoot'](_0x4c33b9));const _0x8e545f=_0x22d3ce[_0x4c33b9],_0x4aa785=Object['keys'](_0x8e545f),_0x193523=_0x2dddcb[_0x4c33b9];for(const _0x4f79d1 of _0x41c44d['getAttributeKeys']())_0x4aa785['includes'](_0x4f79d1)||_0x2dbc7b['removeAttribute'](_0x4f79d1,_0x41c44d);for(const _0x101fda of _0x4aa785)_0x2dbc7b['setAttribute'](_0x101fda,_0x22d3ce[_0x4c33b9][_0x101fda],_0x41c44d);_0x2dbc7b['remove'](_0x2dbc7b['createRangeIn'](_0x41c44d)),_0x2dbc7b['insert'](_0x5eb709['data']['parse'](_0x193523,_0x41c44d),_0x41c44d,0x0);}});const _0x440a53=y(_0x5eb709['locale'],'Restored');if(_0x43f1ba['name'])_0x3e8cfe=-0x1==_0x43f1ba['name']['indexOf'](_0x440a53)?_0x440a53+':\x20'+_0x43f1ba['name']:_0x43f1ba['name'];else _0x3e8cfe=_0x440a53+':\x20'+(_0x43f1ba['createdAt']['toLocaleDateString'](_0x5eb709['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x43f1ba['createdAt']['toLocaleTimeString'](_0x5eb709['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x1826c1['saveRevision']({'name':_0x3e8cfe}),_0x4f3418['isReady']=!0x0,_0x5eb709['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};