@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240514.0 → 0.0.0-nightly-20240515.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 +5 -1
  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 -1
  120. package/src/editor/revisionviewereditor.js +2 -1
  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 -1
  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 -1
  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,4 +20,8 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x26bd26,Context as _0x250484,PendingActions as _0x19b213,icons as _0x3886ba,Command as _0x41a8f1,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x400224,uid as _0x535ce0,Collection as _0xb29b20,logWarning as _0x57b1c8,FocusTracker as _0x32eafd,KeystrokeHandler as _0x77408e,scrollViewportToShowTarget as _0x5b4f0e,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x5c8d32}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x376a85,getMarkerDomElement as _0x3a1967,ConfirmMixin as _0x545dd0,sanitizeEditorConfig as _0x5ac833}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x55c919,ViewText as _0x1e4a24,ViewElement as _0x2f3835,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0xd63b61,ViewAttributeElement as _0x5b8a0f,ViewEmptyElement as _0x58419c,ViewRawElement as _0x4aebd0,ViewUIElement as _0x575c1f,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x1387cf,set as _0x167d6d,unset as _0x209db0,isEqual as _0x42412d}from'lodash-es';import{View as _0x26e5c9,injectCssTransitionDisabler as ts,submitHandler as _0x2be6da,LabeledFieldView as at,createLabeledInputText as _0x9e4e7d,createDropdown as _0x369452,ListView as te,ListItemView as _0x21d8fa,ButtonView as _0x51dfa6,MenuBarMenuView as _0x41603e,MenuBarMenuListView as _0x255e91,MenuBarMenuListItemView as _0x514062,MenuBarMenuListItemButtonView as _0x38f481,ContextualBalloon as _0x743844,ToolbarSeparatorView as _0x5d5f75,IconView as _0x5b75cd,addListToDropdown as _0x12f4ef,ViewModel as to,EditorUI as ht,normalizeToolbarConfig as ct,BoxedEditorUIView as dt,StickyPanelView as lt,ToolbarView as pt,InlineEditableUIView as ut}from'@ckeditor/ckeditor5-ui/dist/index.js';import{DateTime as _0x154ff2}from'luxon';class a extends _0x400224(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x3274db){super(),this['id']=_0x3274db['id']||_0x535ce0(),this['creator']=_0x3274db['creator']||null,this['authors']=_0x3274db['authors']||[],this['diffData']=_0x3274db['diffData']||null,this['toVersion']=_0x3274db['toVersion']||0x0,this['fromVersion']=_0x3274db['fromVersion']||0x0,this['set']('name',_0x3274db['name']||''),this['set']('createdAt',_0x3274db['createdAt']||new Date()),this['set']('attributes',_0x3274db['attributes']||{});}['setName'](_0x522a21){this['_update']({'name':_0x522a21});}['setAttribute'](_0xda4e09,_0x15184d){const _0x15b520=_0x1387cf(this['attributes']);_0x167d6d(_0x15b520,_0xda4e09,_0x15184d),this['_update']({'attributes':_0x15b520});}['removeAttribute'](_0x413033){const _0x4fb886=_0x1387cf(this['attributes']);_0x209db0(_0x4fb886,_0x413033),this['_update']({'attributes':_0x4fb886});}['_update'](_0x52937a,_0x5ec9d8=!0x1){let _0x938631=!0x1;const _0x215d7d={'id':this['id']},_0x41afe9=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x5e1faf of _0x41afe9){const _0x4f57aa=_0x52937a[_0x5e1faf];void 0x0!==_0x4f57aa&&_0x4f57aa!==this[_0x5e1faf]&&(this[_0x5e1faf]=_0x4f57aa,_0x215d7d[_0x5e1faf]=_0x4f57aa,_0x938631=!0x0);}_0x938631&&(_0x215d7d['authors']&&(_0x215d7d['authorsIds']=_0x215d7d['authors']['map'](_0x2d5fa5=>_0x2d5fa5['id']),delete _0x215d7d['authors']),this['fire']('_update',_0x215d7d,_0x5ec9d8));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0xb376=>_0xb376['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x26bd26{['_revisions'];static get['requires'](){return[_0x376a85];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x4a8db2){super(_0x4a8db2),this['_revisions']=new _0xb29b20();}['afterInit'](){!function(_0xe8807d){function _0x157353(_0x1148e7,_0x58ccb9,_0x12a115){const _0x328733={};_0x328733[_0x3d45dc([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x328733[_0x3d45dc([0x72,0x63,0x6f,0x6e])]=[0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36,0x6c,0xd8,0xab,0x4d,0x9a,0x2f,0x5e,0xbc,0x63,0xc6,0x97,0x35,0x6a,0xd4,0xb3,0x7d,0xfa,0xef,0xc5,0x91],_0x328733[_0x3d45dc([0x53])]=[0x63,0x7c,0x77,0x7b,0xf2,0x6b,0x6f,0xc5,0x30,0x1,0x67,0x2b,0xfe,0xd7,0xab,0x76,0xca,0x82,0xc9,0x7d,0xfa,0x59,0x47,0xf0,0xad,0xd4,0xa2,0xaf,0x9c,0xa4,0x72,0xc0,0xb7,0xfd,0x93,0x26,0x36,0x3f,0xf7,0xcc,0x34,0xa5,0xe5,0xf1,0x71,0xd8,0x31,0x15,0x4,0xc7,0x23,0xc3,0x18,0x96,0x5,0x9a,0x7,0x12,0x80,0xe2,0xeb,0x27,0xb2,0x75,0x9,0x83,0x2c,0x1a,0x1b,0x6e,0x5a,0xa0,0x52,0x3b,0xd6,0xb3,0x29,0xe3,0x2f,0x84,0x53,0xd1,0x0,0xed,0x20,0xfc,0xb1,0x5b,0x6a,0xcb,0xbe,0x39,0x4a,0x4c,0x58,0xcf,0xd0,0xef,0xaa,0xfb,0x43,0x4d,0x33,0x85,0x45,0xf9,0x2,0x7f,0x50,0x3c,0x9f,0xa8,0x51,0xa3,0x40,0x8f,0x92,0x9d,0x38,0xf5,0xbc,0xb6,0xda,0x21,0x10,0xff,0xf3,0xd2,0xcd,0xc,0x13,0xec,0x5f,0x97,0x44,0x17,0xc4,0xa7,0x7e,0x3d,0x64,0x5d,0x19,0x73,0x60,0x81,0x4f,0xdc,0x22,0x2a,0x90,0x88,0x46,0xee,0xb8,0x14,0xde,0x5e,0xb,0xdb,0xe0,0x32,0x3a,0xa,0x49,0x6,0x24,0x5c,0xc2,0xd3,0xac,0x62,0x91,0x95,0xe4,0x79,0xe7,0xc8,0x37,0x6d,0x8d,0xd5,0x4e,0xa9,0x6c,0x56,0xf4,0xea,0x65,0x7a,0xae,0x8,0xba,0x78,0x25,0x2e,0x1c,0xa6,0xb4,0xc6,0xe8,0xdd,0x74,0x1f,0x4b,0xbd,0x8b,0x8a,0x70,0x3e,0xb5,0x66,0x48,0x3,0xf6,0xe,0x61,0x35,0x57,0xb9,0x86,0xc1,0x1d,0x9e,0xe1,0xf8,0x98,0x11,0x69,0xd9,0x8e,0x94,0x9b,0x1e,0x87,0xe9,0xce,0x55,0x28,0xdf,0x8c,0xa1,0x89,0xd,0xbf,0xe6,0x42,0x68,0x41,0x99,0x2d,0xf,0xb0,0x54,0xbb,0x16],_0x328733[_0x3d45dc([0x54,0x31])]=[0xc66363a5,0xf87c7c84,0xee777799,0xf67b7b8d,0xfff2f20d,0xd66b6bbd,0xde6f6fb1,0x91c5c554,0x60303050,0x2010103,0xce6767a9,0x562b2b7d,0xe7fefe19,0xb5d7d762,0x4dababe6,0xec76769a,0x8fcaca45,0x1f82829d,0x89c9c940,0xfa7d7d87,0xeffafa15,0xb25959eb,0x8e4747c9,0xfbf0f00b,0x41adadec,0xb3d4d467,0x5fa2a2fd,0x45afafea,0x239c9cbf,0x53a4a4f7,0xe4727296,0x9bc0c05b,0x75b7b7c2,0xe1fdfd1c,0x3d9393ae,0x4c26266a,0x6c36365a,0x7e3f3f41,0xf5f7f702,0x83cccc4f,0x6834345c,0x51a5a5f4,0xd1e5e534,0xf9f1f108,0xe2717193,0xabd8d873,0x62313153,0x2a15153f,0x804040c,0x95c7c752,0x46232365,0x9dc3c35e,0x30181828,0x379696a1,0xa05050f,0x2f9a9ab5,0xe070709,0x24121236,0x1b80809b,0xdfe2e23d,0xcdebeb26,0x4e272769,0x7fb2b2cd,0xea75759f,0x1209091b,0x1d83839e,0x582c2c74,0x341a1a2e,0x361b1b2d,0xdc6e6eb2,0xb45a5aee,0x5ba0a0fb,0xa45252f6,0x763b3b4d,0xb7d6d661,0x7db3b3ce,0x5229297b,0xdde3e33e,0x5e2f2f71,0x13848497,0xa65353f5,0xb9d1d168,0x0,0xc1eded2c,0x40202060,0xe3fcfc1f,0x79b1b1c8,0xb65b5bed,0xd46a6abe,0x8dcbcb46,0x67bebed9,0x7239394b,0x944a4ade,0x984c4cd4,0xb05858e8,0x85cfcf4a,0xbbd0d06b,0xc5efef2a,0x4faaaae5,0xedfbfb16,0x864343c5,0x9a4d4dd7,0x66333355,0x11858594,0x8a4545cf,0xe9f9f910,0x4020206,0xfe7f7f81,0xa05050f0,0x783c3c44,0x259f9fba,0x4ba8a8e3,0xa25151f3,0x5da3a3fe,0x804040c0,0x58f8f8a,0x3f9292ad,0x219d9dbc,0x70383848,0xf1f5f504,0x63bcbcdf,0x77b6b6c1,0xafdada75,0x42212163,0x20101030,0xe5ffff1a,0xfdf3f30e,0xbfd2d26d,0x81cdcd4c,0x180c0c14,0x26131335,0xc3ecec2f,0xbe5f5fe1,0x359797a2,0x884444cc,0x2e171739,0x93c4c457,0x55a7a7f2,0xfc7e7e82,0x7a3d3d47,0xc86464ac,0xba5d5de7,0x3219192b,0xe6737395,0xc06060a0,0x19818198,0x9e4f4fd1,0xa3dcdc7f,0x44222266,0x542a2a7e,0x3b9090ab,0xb888883,0x8c4646ca,0xc7eeee29,0x6bb8b8d3,0x2814143c,0xa7dede79,0xbc5e5ee2,0x160b0b1d,0xaddbdb76,0xdbe0e03b,0x64323256,0x743a3a4e,0x140a0a1e,0x924949db,0xc06060a,0x4824246c,0xb85c5ce4,0x9fc2c25d,0xbdd3d36e,0x43acacef,0xc46262a6,0x399191a8,0x319595a4,0xd3e4e437,0xf279798b,0xd5e7e732,0x8bc8c843,0x6e373759,0xda6d6db7,0x18d8d8c,0xb1d5d564,0x9c4e4ed2,0x49a9a9e0,0xd86c6cb4,0xac5656fa,0xf3f4f407,0xcfeaea25,0xca6565af,0xf47a7a8e,0x47aeaee9,0x10080818,0x6fbabad5,0xf0787888,0x4a25256f,0x5c2e2e72,0x381c1c24,0x57a6a6f1,0x73b4b4c7,0x97c6c651,0xcbe8e823,0xa1dddd7c,0xe874749c,0x3e1f1f21,0x964b4bdd,0x61bdbddc,0xd8b8b86,0xf8a8a85,0xe0707090,0x7c3e3e42,0x71b5b5c4,0xcc6666aa,0x904848d8,0x6030305,0xf7f6f601,0x1c0e0e12,0xc26161a3,0x6a35355f,0xae5757f9,0x69b9b9d0,0x17868691,0x99c1c158,0x3a1d1d27,0x279e9eb9,0xd9e1e138,0xebf8f813,0x2b9898b3,0x22111133,0xd26969bb,0xa9d9d970,0x78e8e89,0x339494a7,0x2d9b9bb6,0x3c1e1e22,0x15878792,0xc9e9e920,0x87cece49,0xaa5555ff,0x50282878,0xa5dfdf7a,0x38c8c8f,0x59a1a1f8,0x9898980,0x1a0d0d17,0x65bfbfda,0xd7e6e631,0x844242c6,0xd06868b8,0x824141c3,0x299999b0,0x5a2d2d77,0x1e0f0f11,0x7bb0b0cb,0xa85454fc,0x6dbbbbd6,0x2c16163a],_0x328733[_0x3d45dc([0x54,0x32])]=[0xa5c66363,0x84f87c7c,0x99ee7777,0x8df67b7b,0xdfff2f2,0xbdd66b6b,0xb1de6f6f,0x5491c5c5,0x50603030,0x3020101,0xa9ce6767,0x7d562b2b,0x19e7fefe,0x62b5d7d7,0xe64dabab,0x9aec7676,0x458fcaca,0x9d1f8282,0x4089c9c9,0x87fa7d7d,0x15effafa,0xebb25959,0xc98e4747,0xbfbf0f0,0xec41adad,0x67b3d4d4,0xfd5fa2a2,0xea45afaf,0xbf239c9c,0xf753a4a4,0x96e47272,0x5b9bc0c0,0xc275b7b7,0x1ce1fdfd,0xae3d9393,0x6a4c2626,0x5a6c3636,0x417e3f3f,0x2f5f7f7,0x4f83cccc,0x5c683434,0xf451a5a5,0x34d1e5e5,0x8f9f1f1,0x93e27171,0x73abd8d8,0x53623131,0x3f2a1515,0xc080404,0x5295c7c7,0x65462323,0x5e9dc3c3,0x28301818,0xa1379696,0xf0a0505,0xb52f9a9a,0x90e0707,0x36241212,0x9b1b8080,0x3ddfe2e2,0x26cdebeb,0x694e2727,0xcd7fb2b2,0x9fea7575,0x1b120909,0x9e1d8383,0x74582c2c,0x2e341a1a,0x2d361b1b,0xb2dc6e6e,0xeeb45a5a,0xfb5ba0a0,0xf6a45252,0x4d763b3b,0x61b7d6d6,0xce7db3b3,0x7b522929,0x3edde3e3,0x715e2f2f,0x97138484,0xf5a65353,0x68b9d1d1,0x0,0x2cc1eded,0x60402020,0x1fe3fcfc,0xc879b1b1,0xedb65b5b,0xbed46a6a,0x468dcbcb,0xd967bebe,0x4b723939,0xde944a4a,0xd4984c4c,0xe8b05858,0x4a85cfcf,0x6bbbd0d0,0x2ac5efef,0xe54faaaa,0x16edfbfb,0xc5864343,0xd79a4d4d,0x55663333,0x94118585,0xcf8a4545,0x10e9f9f9,0x6040202,0x81fe7f7f,0xf0a05050,0x44783c3c,0xba259f9f,0xe34ba8a8,0xf3a25151,0xfe5da3a3,0xc0804040,0x8a058f8f,0xad3f9292,0xbc219d9d,0x48703838,0x4f1f5f5,0xdf63bcbc,0xc177b6b6,0x75afdada,0x63422121,0x30201010,0x1ae5ffff,0xefdf3f3,0x6dbfd2d2,0x4c81cdcd,0x14180c0c,0x35261313,0x2fc3ecec,0xe1be5f5f,0xa2359797,0xcc884444,0x392e1717,0x5793c4c4,0xf255a7a7,0x82fc7e7e,0x477a3d3d,0xacc86464,0xe7ba5d5d,0x2b321919,0x95e67373,0xa0c06060,0x98198181,0xd19e4f4f,0x7fa3dcdc,0x66442222,0x7e542a2a,0xab3b9090,0x830b8888,0xca8c4646,0x29c7eeee,0xd36bb8b8,0x3c281414,0x79a7dede,0xe2bc5e5e,0x1d160b0b,0x76addbdb,0x3bdbe0e0,0x56643232,0x4e743a3a,0x1e140a0a,0xdb924949,0xa0c0606,0x6c482424,0xe4b85c5c,0x5d9fc2c2,0x6ebdd3d3,0xef43acac,0xa6c46262,0xa8399191,0xa4319595,0x37d3e4e4,0x8bf27979,0x32d5e7e7,0x438bc8c8,0x596e3737,0xb7da6d6d,0x8c018d8d,0x64b1d5d5,0xd29c4e4e,0xe049a9a9,0xb4d86c6c,0xfaac5656,0x7f3f4f4,0x25cfeaea,0xafca6565,0x8ef47a7a,0xe947aeae,0x18100808,0xd56fbaba,0x88f07878,0x6f4a2525,0x725c2e2e,0x24381c1c,0xf157a6a6,0xc773b4b4,0x5197c6c6,0x23cbe8e8,0x7ca1dddd,0x9ce87474,0x213e1f1f,0xdd964b4b,0xdc61bdbd,0x860d8b8b,0x850f8a8a,0x90e07070,0x427c3e3e,0xc471b5b5,0xaacc6666,0xd8904848,0x5060303,0x1f7f6f6,0x121c0e0e,0xa3c26161,0x5f6a3535,0xf9ae5757,0xd069b9b9,0x91178686,0x5899c1c1,0x273a1d1d,0xb9279e9e,0x38d9e1e1,0x13ebf8f8,0xb32b9898,0x33221111,0xbbd26969,0x70a9d9d9,0x89078e8e,0xa7339494,0xb62d9b9b,0x223c1e1e,0x92158787,0x20c9e9e9,0x4987cece,0xffaa5555,0x78502828,0x7aa5dfdf,0x8f038c8c,0xf859a1a1,0x80098989,0x171a0d0d,0xda65bfbf,0x31d7e6e6,0xc6844242,0xb8d06868,0xc3824141,0xb0299999,0x775a2d2d,0x111e0f0f,0xcb7bb0b0,0xfca85454,0xd66dbbbb,0x3a2c1616],_0x328733[_0x3d45dc([0x54,0x33])]=[0x63a5c663,0x7c84f87c,0x7799ee77,0x7b8df67b,0xf20dfff2,0x6bbdd66b,0x6fb1de6f,0xc55491c5,0x30506030,0x1030201,0x67a9ce67,0x2b7d562b,0xfe19e7fe,0xd762b5d7,0xabe64dab,0x769aec76,0xca458fca,0x829d1f82,0xc94089c9,0x7d87fa7d,0xfa15effa,0x59ebb259,0x47c98e47,0xf00bfbf0,0xadec41ad,0xd467b3d4,0xa2fd5fa2,0xafea45af,0x9cbf239c,0xa4f753a4,0x7296e472,0xc05b9bc0,0xb7c275b7,0xfd1ce1fd,0x93ae3d93,0x266a4c26,0x365a6c36,0x3f417e3f,0xf702f5f7,0xcc4f83cc,0x345c6834,0xa5f451a5,0xe534d1e5,0xf108f9f1,0x7193e271,0xd873abd8,0x31536231,0x153f2a15,0x40c0804,0xc75295c7,0x23654623,0xc35e9dc3,0x18283018,0x96a13796,0x50f0a05,0x9ab52f9a,0x7090e07,0x12362412,0x809b1b80,0xe23ddfe2,0xeb26cdeb,0x27694e27,0xb2cd7fb2,0x759fea75,0x91b1209,0x839e1d83,0x2c74582c,0x1a2e341a,0x1b2d361b,0x6eb2dc6e,0x5aeeb45a,0xa0fb5ba0,0x52f6a452,0x3b4d763b,0xd661b7d6,0xb3ce7db3,0x297b5229,0xe33edde3,0x2f715e2f,0x84971384,0x53f5a653,0xd168b9d1,0x0,0xed2cc1ed,0x20604020,0xfc1fe3fc,0xb1c879b1,0x5bedb65b,0x6abed46a,0xcb468dcb,0xbed967be,0x394b7239,0x4ade944a,0x4cd4984c,0x58e8b058,0xcf4a85cf,0xd06bbbd0,0xef2ac5ef,0xaae54faa,0xfb16edfb,0x43c58643,0x4dd79a4d,0x33556633,0x85941185,0x45cf8a45,0xf910e9f9,0x2060402,0x7f81fe7f,0x50f0a050,0x3c44783c,0x9fba259f,0xa8e34ba8,0x51f3a251,0xa3fe5da3,0x40c08040,0x8f8a058f,0x92ad3f92,0x9dbc219d,0x38487038,0xf504f1f5,0xbcdf63bc,0xb6c177b6,0xda75afda,0x21634221,0x10302010,0xff1ae5ff,0xf30efdf3,0xd26dbfd2,0xcd4c81cd,0xc14180c,0x13352613,0xec2fc3ec,0x5fe1be5f,0x97a23597,0x44cc8844,0x17392e17,0xc45793c4,0xa7f255a7,0x7e82fc7e,0x3d477a3d,0x64acc864,0x5de7ba5d,0x192b3219,0x7395e673,0x60a0c060,0x81981981,0x4fd19e4f,0xdc7fa3dc,0x22664422,0x2a7e542a,0x90ab3b90,0x88830b88,0x46ca8c46,0xee29c7ee,0xb8d36bb8,0x143c2814,0xde79a7de,0x5ee2bc5e,0xb1d160b,0xdb76addb,0xe03bdbe0,0x32566432,0x3a4e743a,0xa1e140a,0x49db9249,0x60a0c06,0x246c4824,0x5ce4b85c,0xc25d9fc2,0xd36ebdd3,0xacef43ac,0x62a6c462,0x91a83991,0x95a43195,0xe437d3e4,0x798bf279,0xe732d5e7,0xc8438bc8,0x37596e37,0x6db7da6d,0x8d8c018d,0xd564b1d5,0x4ed29c4e,0xa9e049a9,0x6cb4d86c,0x56faac56,0xf407f3f4,0xea25cfea,0x65afca65,0x7a8ef47a,0xaee947ae,0x8181008,0xbad56fba,0x7888f078,0x256f4a25,0x2e725c2e,0x1c24381c,0xa6f157a6,0xb4c773b4,0xc65197c6,0xe823cbe8,0xdd7ca1dd,0x749ce874,0x1f213e1f,0x4bdd964b,0xbddc61bd,0x8b860d8b,0x8a850f8a,0x7090e070,0x3e427c3e,0xb5c471b5,0x66aacc66,0x48d89048,0x3050603,0xf601f7f6,0xe121c0e,0x61a3c261,0x355f6a35,0x57f9ae57,0xb9d069b9,0x86911786,0xc15899c1,0x1d273a1d,0x9eb9279e,0xe138d9e1,0xf813ebf8,0x98b32b98,0x11332211,0x69bbd269,0xd970a9d9,0x8e89078e,0x94a73394,0x9bb62d9b,0x1e223c1e,0x87921587,0xe920c9e9,0xce4987ce,0x55ffaa55,0x28785028,0xdf7aa5df,0x8c8f038c,0xa1f859a1,0x89800989,0xd171a0d,0xbfda65bf,0xe631d7e6,0x42c68442,0x68b8d068,0x41c38241,0x99b02999,0x2d775a2d,0xf111e0f,0xb0cb7bb0,0x54fca854,0xbbd66dbb,0x163a2c16],_0x328733[_0x3d45dc([0x54,0x34])]=[0x6363a5c6,0x7c7c84f8,0x777799ee,0x7b7b8df6,0xf2f20dff,0x6b6bbdd6,0x6f6fb1de,0xc5c55491,0x30305060,0x1010302,0x6767a9ce,0x2b2b7d56,0xfefe19e7,0xd7d762b5,0xababe64d,0x76769aec,0xcaca458f,0x82829d1f,0xc9c94089,0x7d7d87fa,0xfafa15ef,0x5959ebb2,0x4747c98e,0xf0f00bfb,0xadadec41,0xd4d467b3,0xa2a2fd5f,0xafafea45,0x9c9cbf23,0xa4a4f753,0x727296e4,0xc0c05b9b,0xb7b7c275,0xfdfd1ce1,0x9393ae3d,0x26266a4c,0x36365a6c,0x3f3f417e,0xf7f702f5,0xcccc4f83,0x34345c68,0xa5a5f451,0xe5e534d1,0xf1f108f9,0x717193e2,0xd8d873ab,0x31315362,0x15153f2a,0x4040c08,0xc7c75295,0x23236546,0xc3c35e9d,0x18182830,0x9696a137,0x5050f0a,0x9a9ab52f,0x707090e,0x12123624,0x80809b1b,0xe2e23ddf,0xebeb26cd,0x2727694e,0xb2b2cd7f,0x75759fea,0x9091b12,0x83839e1d,0x2c2c7458,0x1a1a2e34,0x1b1b2d36,0x6e6eb2dc,0x5a5aeeb4,0xa0a0fb5b,0x5252f6a4,0x3b3b4d76,0xd6d661b7,0xb3b3ce7d,0x29297b52,0xe3e33edd,0x2f2f715e,0x84849713,0x5353f5a6,0xd1d168b9,0x0,0xeded2cc1,0x20206040,0xfcfc1fe3,0xb1b1c879,0x5b5bedb6,0x6a6abed4,0xcbcb468d,0xbebed967,0x39394b72,0x4a4ade94,0x4c4cd498,0x5858e8b0,0xcfcf4a85,0xd0d06bbb,0xefef2ac5,0xaaaae54f,0xfbfb16ed,0x4343c586,0x4d4dd79a,0x33335566,0x85859411,0x4545cf8a,0xf9f910e9,0x2020604,0x7f7f81fe,0x5050f0a0,0x3c3c4478,0x9f9fba25,0xa8a8e34b,0x5151f3a2,0xa3a3fe5d,0x4040c080,0x8f8f8a05,0x9292ad3f,0x9d9dbc21,0x38384870,0xf5f504f1,0xbcbcdf63,0xb6b6c177,0xdada75af,0x21216342,0x10103020,0xffff1ae5,0xf3f30efd,0xd2d26dbf,0xcdcd4c81,0xc0c1418,0x13133526,0xecec2fc3,0x5f5fe1be,0x9797a235,0x4444cc88,0x1717392e,0xc4c45793,0xa7a7f255,0x7e7e82fc,0x3d3d477a,0x6464acc8,0x5d5de7ba,0x19192b32,0x737395e6,0x6060a0c0,0x81819819,0x4f4fd19e,0xdcdc7fa3,0x22226644,0x2a2a7e54,0x9090ab3b,0x8888830b,0x4646ca8c,0xeeee29c7,0xb8b8d36b,0x14143c28,0xdede79a7,0x5e5ee2bc,0xb0b1d16,0xdbdb76ad,0xe0e03bdb,0x32325664,0x3a3a4e74,0xa0a1e14,0x4949db92,0x6060a0c,0x24246c48,0x5c5ce4b8,0xc2c25d9f,0xd3d36ebd,0xacacef43,0x6262a6c4,0x9191a839,0x9595a431,0xe4e437d3,0x79798bf2,0xe7e732d5,0xc8c8438b,0x3737596e,0x6d6db7da,0x8d8d8c01,0xd5d564b1,0x4e4ed29c,0xa9a9e049,0x6c6cb4d8,0x5656faac,0xf4f407f3,0xeaea25cf,0x6565afca,0x7a7a8ef4,0xaeaee947,0x8081810,0xbabad56f,0x787888f0,0x25256f4a,0x2e2e725c,0x1c1c2438,0xa6a6f157,0xb4b4c773,0xc6c65197,0xe8e823cb,0xdddd7ca1,0x74749ce8,0x1f1f213e,0x4b4bdd96,0xbdbddc61,0x8b8b860d,0x8a8a850f,0x707090e0,0x3e3e427c,0xb5b5c471,0x6666aacc,0x4848d890,0x3030506,0xf6f601f7,0xe0e121c,0x6161a3c2,0x35355f6a,0x5757f9ae,0xb9b9d069,0x86869117,0xc1c15899,0x1d1d273a,0x9e9eb927,0xe1e138d9,0xf8f813eb,0x9898b32b,0x11113322,0x6969bbd2,0xd9d970a9,0x8e8e8907,0x9494a733,0x9b9bb62d,0x1e1e223c,0x87879215,0xe9e920c9,0xcece4987,0x5555ffaa,0x28287850,0xdfdf7aa5,0x8c8c8f03,0xa1a1f859,0x89898009,0xd0d171a,0xbfbfda65,0xe6e631d7,0x4242c684,0x6868b8d0,0x4141c382,0x9999b029,0x2d2d775a,0xf0f111e,0xb0b0cb7b,0x5454fca8,0xbbbbd66d,0x16163a2c],_0x328733[_0x3d45dc([0x55,0x31])]=[0x0,0xe090d0b,0x1c121a16,0x121b171d,0x3824342c,0x362d3927,0x24362e3a,0x2a3f2331,0x70486858,0x7e416553,0x6c5a724e,0x62537f45,0x486c5c74,0x4665517f,0x547e4662,0x5a774b69,0xe090d0b0,0xee99ddbb,0xfc82caa6,0xf28bc7ad,0xd8b4e49c,0xd6bde997,0xc4a6fe8a,0xcaaff381,0x90d8b8e8,0x9ed1b5e3,0x8ccaa2fe,0x82c3aff5,0xa8fc8cc4,0xa6f581cf,0xb4ee96d2,0xbae79bd9,0xdb3bbb7b,0xd532b670,0xc729a16d,0xc920ac66,0xe31f8f57,0xed16825c,0xff0d9541,0xf104984a,0xab73d323,0xa57ade28,0xb761c935,0xb968c43e,0x9357e70f,0x9d5eea04,0x8f45fd19,0x814cf012,0x3bab6bcb,0x35a266c0,0x27b971dd,0x29b07cd6,0x38f5fe7,0xd8652ec,0x1f9d45f1,0x119448fa,0x4be30393,0x45ea0e98,0x57f11985,0x59f8148e,0x73c737bf,0x7dce3ab4,0x6fd52da9,0x61dc20a2,0xad766df6,0xa37f60fd,0xb16477e0,0xbf6d7aeb,0x955259da,0x9b5b54d1,0x894043cc,0x87494ec7,0xdd3e05ae,0xd33708a5,0xc12c1fb8,0xcf2512b3,0xe51a3182,0xeb133c89,0xf9082b94,0xf701269f,0x4de6bd46,0x43efb04d,0x51f4a750,0x5ffdaa5b,0x75c2896a,0x7bcb8461,0x69d0937c,0x67d99e77,0x3daed51e,0x33a7d815,0x21bccf08,0x2fb5c203,0x58ae132,0xb83ec39,0x1998fb24,0x1791f62f,0x764dd68d,0x7844db86,0x6a5fcc9b,0x6456c190,0x4e69e2a1,0x4060efaa,0x527bf8b7,0x5c72f5bc,0x605bed5,0x80cb3de,0x1a17a4c3,0x141ea9c8,0x3e218af9,0x302887f2,0x223390ef,0x2c3a9de4,0x96dd063d,0x98d40b36,0x8acf1c2b,0x84c61120,0xaef93211,0xa0f03f1a,0xb2eb2807,0xbce2250c,0xe6956e65,0xe89c636e,0xfa877473,0xf48e7978,0xdeb15a49,0xd0b85742,0xc2a3405f,0xccaa4d54,0x41ecdaf7,0x4fe5d7fc,0x5dfec0e1,0x53f7cdea,0x79c8eedb,0x77c1e3d0,0x65daf4cd,0x6bd3f9c6,0x31a4b2af,0x3fadbfa4,0x2db6a8b9,0x23bfa5b2,0x9808683,0x7898b88,0x15929c95,0x1b9b919e,0xa17c0a47,0xaf75074c,0xbd6e1051,0xb3671d5a,0x99583e6b,0x97513360,0x854a247d,0x8b432976,0xd134621f,0xdf3d6f14,0xcd267809,0xc32f7502,0xe9105633,0xe7195b38,0xf5024c25,0xfb0b412e,0x9ad7618c,0x94de6c87,0x86c57b9a,0x88cc7691,0xa2f355a0,0xacfa58ab,0xbee14fb6,0xb0e842bd,0xea9f09d4,0xe49604df,0xf68d13c2,0xf8841ec9,0xd2bb3df8,0xdcb230f3,0xcea927ee,0xc0a02ae5,0x7a47b13c,0x744ebc37,0x6655ab2a,0x685ca621,0x42638510,0x4c6a881b,0x5e719f06,0x5078920d,0xa0fd964,0x406d46f,0x161dc372,0x1814ce79,0x322bed48,0x3c22e043,0x2e39f75e,0x2030fa55,0xec9ab701,0xe293ba0a,0xf088ad17,0xfe81a01c,0xd4be832d,0xdab78e26,0xc8ac993b,0xc6a59430,0x9cd2df59,0x92dbd252,0x80c0c54f,0x8ec9c844,0xa4f6eb75,0xaaffe67e,0xb8e4f163,0xb6edfc68,0xc0a67b1,0x2036aba,0x10187da7,0x1e1170ac,0x342e539d,0x3a275e96,0x283c498b,0x26354480,0x7c420fe9,0x724b02e2,0x605015ff,0x6e5918f4,0x44663bc5,0x4a6f36ce,0x587421d3,0x567d2cd8,0x37a10c7a,0x39a80171,0x2bb3166c,0x25ba1b67,0xf853856,0x18c355d,0x13972240,0x1d9e2f4b,0x47e96422,0x49e06929,0x5bfb7e34,0x55f2733f,0x7fcd500e,0x71c45d05,0x63df4a18,0x6dd64713,0xd731dcca,0xd938d1c1,0xcb23c6dc,0xc52acbd7,0xef15e8e6,0xe11ce5ed,0xf307f2f0,0xfd0efffb,0xa779b492,0xa970b999,0xbb6bae84,0xb562a38f,0x9f5d80be,0x91548db5,0x834f9aa8,0x8d4697a3],_0x328733[_0x3d45dc([0x55,0x32])]=[0x0,0xb0e090d,0x161c121a,0x1d121b17,0x2c382434,0x27362d39,0x3a24362e,0x312a3f23,0x58704868,0x537e4165,0x4e6c5a72,0x4562537f,0x74486c5c,0x7f466551,0x62547e46,0x695a774b,0xb0e090d0,0xbbee99dd,0xa6fc82ca,0xadf28bc7,0x9cd8b4e4,0x97d6bde9,0x8ac4a6fe,0x81caaff3,0xe890d8b8,0xe39ed1b5,0xfe8ccaa2,0xf582c3af,0xc4a8fc8c,0xcfa6f581,0xd2b4ee96,0xd9bae79b,0x7bdb3bbb,0x70d532b6,0x6dc729a1,0x66c920ac,0x57e31f8f,0x5ced1682,0x41ff0d95,0x4af10498,0x23ab73d3,0x28a57ade,0x35b761c9,0x3eb968c4,0xf9357e7,0x49d5eea,0x198f45fd,0x12814cf0,0xcb3bab6b,0xc035a266,0xdd27b971,0xd629b07c,0xe7038f5f,0xec0d8652,0xf11f9d45,0xfa119448,0x934be303,0x9845ea0e,0x8557f119,0x8e59f814,0xbf73c737,0xb47dce3a,0xa96fd52d,0xa261dc20,0xf6ad766d,0xfda37f60,0xe0b16477,0xebbf6d7a,0xda955259,0xd19b5b54,0xcc894043,0xc787494e,0xaedd3e05,0xa5d33708,0xb8c12c1f,0xb3cf2512,0x82e51a31,0x89eb133c,0x94f9082b,0x9ff70126,0x464de6bd,0x4d43efb0,0x5051f4a7,0x5b5ffdaa,0x6a75c289,0x617bcb84,0x7c69d093,0x7767d99e,0x1e3daed5,0x1533a7d8,0x821bccf,0x32fb5c2,0x32058ae1,0x390b83ec,0x241998fb,0x2f1791f6,0x8d764dd6,0x867844db,0x9b6a5fcc,0x906456c1,0xa14e69e2,0xaa4060ef,0xb7527bf8,0xbc5c72f5,0xd50605be,0xde080cb3,0xc31a17a4,0xc8141ea9,0xf93e218a,0xf2302887,0xef223390,0xe42c3a9d,0x3d96dd06,0x3698d40b,0x2b8acf1c,0x2084c611,0x11aef932,0x1aa0f03f,0x7b2eb28,0xcbce225,0x65e6956e,0x6ee89c63,0x73fa8774,0x78f48e79,0x49deb15a,0x42d0b857,0x5fc2a340,0x54ccaa4d,0xf741ecda,0xfc4fe5d7,0xe15dfec0,0xea53f7cd,0xdb79c8ee,0xd077c1e3,0xcd65daf4,0xc66bd3f9,0xaf31a4b2,0xa43fadbf,0xb92db6a8,0xb223bfa5,0x83098086,0x8807898b,0x9515929c,0x9e1b9b91,0x47a17c0a,0x4caf7507,0x51bd6e10,0x5ab3671d,0x6b99583e,0x60975133,0x7d854a24,0x768b4329,0x1fd13462,0x14df3d6f,0x9cd2678,0x2c32f75,0x33e91056,0x38e7195b,0x25f5024c,0x2efb0b41,0x8c9ad761,0x8794de6c,0x9a86c57b,0x9188cc76,0xa0a2f355,0xabacfa58,0xb6bee14f,0xbdb0e842,0xd4ea9f09,0xdfe49604,0xc2f68d13,0xc9f8841e,0xf8d2bb3d,0xf3dcb230,0xeecea927,0xe5c0a02a,0x3c7a47b1,0x37744ebc,0x2a6655ab,0x21685ca6,0x10426385,0x1b4c6a88,0x65e719f,0xd507892,0x640a0fd9,0x6f0406d4,0x72161dc3,0x791814ce,0x48322bed,0x433c22e0,0x5e2e39f7,0x552030fa,0x1ec9ab7,0xae293ba,0x17f088ad,0x1cfe81a0,0x2dd4be83,0x26dab78e,0x3bc8ac99,0x30c6a594,0x599cd2df,0x5292dbd2,0x4f80c0c5,0x448ec9c8,0x75a4f6eb,0x7eaaffe6,0x63b8e4f1,0x68b6edfc,0xb10c0a67,0xba02036a,0xa710187d,0xac1e1170,0x9d342e53,0x963a275e,0x8b283c49,0x80263544,0xe97c420f,0xe2724b02,0xff605015,0xf46e5918,0xc544663b,0xce4a6f36,0xd3587421,0xd8567d2c,0x7a37a10c,0x7139a801,0x6c2bb316,0x6725ba1b,0x560f8538,0x5d018c35,0x40139722,0x4b1d9e2f,0x2247e964,0x2949e069,0x345bfb7e,0x3f55f273,0xe7fcd50,0x571c45d,0x1863df4a,0x136dd647,0xcad731dc,0xc1d938d1,0xdccb23c6,0xd7c52acb,0xe6ef15e8,0xede11ce5,0xf0f307f2,0xfbfd0eff,0x92a779b4,0x99a970b9,0x84bb6bae,0x8fb562a3,0xbe9f5d80,0xb591548d,0xa8834f9a,0xa38d4697],_0x328733[_0x3d45dc([0x55,0x33])]=[0x0,0xd0b0e09,0x1a161c12,0x171d121b,0x342c3824,0x3927362d,0x2e3a2436,0x23312a3f,0x68587048,0x65537e41,0x724e6c5a,0x7f456253,0x5c74486c,0x517f4665,0x4662547e,0x4b695a77,0xd0b0e090,0xddbbee99,0xcaa6fc82,0xc7adf28b,0xe49cd8b4,0xe997d6bd,0xfe8ac4a6,0xf381caaf,0xb8e890d8,0xb5e39ed1,0xa2fe8cca,0xaff582c3,0x8cc4a8fc,0x81cfa6f5,0x96d2b4ee,0x9bd9bae7,0xbb7bdb3b,0xb670d532,0xa16dc729,0xac66c920,0x8f57e31f,0x825ced16,0x9541ff0d,0x984af104,0xd323ab73,0xde28a57a,0xc935b761,0xc43eb968,0xe70f9357,0xea049d5e,0xfd198f45,0xf012814c,0x6bcb3bab,0x66c035a2,0x71dd27b9,0x7cd629b0,0x5fe7038f,0x52ec0d86,0x45f11f9d,0x48fa1194,0x3934be3,0xe9845ea,0x198557f1,0x148e59f8,0x37bf73c7,0x3ab47dce,0x2da96fd5,0x20a261dc,0x6df6ad76,0x60fda37f,0x77e0b164,0x7aebbf6d,0x59da9552,0x54d19b5b,0x43cc8940,0x4ec78749,0x5aedd3e,0x8a5d337,0x1fb8c12c,0x12b3cf25,0x3182e51a,0x3c89eb13,0x2b94f908,0x269ff701,0xbd464de6,0xb04d43ef,0xa75051f4,0xaa5b5ffd,0x896a75c2,0x84617bcb,0x937c69d0,0x9e7767d9,0xd51e3dae,0xd81533a7,0xcf0821bc,0xc2032fb5,0xe132058a,0xec390b83,0xfb241998,0xf62f1791,0xd68d764d,0xdb867844,0xcc9b6a5f,0xc1906456,0xe2a14e69,0xefaa4060,0xf8b7527b,0xf5bc5c72,0xbed50605,0xb3de080c,0xa4c31a17,0xa9c8141e,0x8af93e21,0x87f23028,0x90ef2233,0x9de42c3a,0x63d96dd,0xb3698d4,0x1c2b8acf,0x112084c6,0x3211aef9,0x3f1aa0f0,0x2807b2eb,0x250cbce2,0x6e65e695,0x636ee89c,0x7473fa87,0x7978f48e,0x5a49deb1,0x5742d0b8,0x405fc2a3,0x4d54ccaa,0xdaf741ec,0xd7fc4fe5,0xc0e15dfe,0xcdea53f7,0xeedb79c8,0xe3d077c1,0xf4cd65da,0xf9c66bd3,0xb2af31a4,0xbfa43fad,0xa8b92db6,0xa5b223bf,0x86830980,0x8b880789,0x9c951592,0x919e1b9b,0xa47a17c,0x74caf75,0x1051bd6e,0x1d5ab367,0x3e6b9958,0x33609751,0x247d854a,0x29768b43,0x621fd134,0x6f14df3d,0x7809cd26,0x7502c32f,0x5633e910,0x5b38e719,0x4c25f502,0x412efb0b,0x618c9ad7,0x6c8794de,0x7b9a86c5,0x769188cc,0x55a0a2f3,0x58abacfa,0x4fb6bee1,0x42bdb0e8,0x9d4ea9f,0x4dfe496,0x13c2f68d,0x1ec9f884,0x3df8d2bb,0x30f3dcb2,0x27eecea9,0x2ae5c0a0,0xb13c7a47,0xbc37744e,0xab2a6655,0xa621685c,0x85104263,0x881b4c6a,0x9f065e71,0x920d5078,0xd9640a0f,0xd46f0406,0xc372161d,0xce791814,0xed48322b,0xe0433c22,0xf75e2e39,0xfa552030,0xb701ec9a,0xba0ae293,0xad17f088,0xa01cfe81,0x832dd4be,0x8e26dab7,0x993bc8ac,0x9430c6a5,0xdf599cd2,0xd25292db,0xc54f80c0,0xc8448ec9,0xeb75a4f6,0xe67eaaff,0xf163b8e4,0xfc68b6ed,0x67b10c0a,0x6aba0203,0x7da71018,0x70ac1e11,0x539d342e,0x5e963a27,0x498b283c,0x44802635,0xfe97c42,0x2e2724b,0x15ff6050,0x18f46e59,0x3bc54466,0x36ce4a6f,0x21d35874,0x2cd8567d,0xc7a37a1,0x17139a8,0x166c2bb3,0x1b6725ba,0x38560f85,0x355d018c,0x22401397,0x2f4b1d9e,0x642247e9,0x692949e0,0x7e345bfb,0x733f55f2,0x500e7fcd,0x5d0571c4,0x4a1863df,0x47136dd6,0xdccad731,0xd1c1d938,0xc6dccb23,0xcbd7c52a,0xe8e6ef15,0xe5ede11c,0xf2f0f307,0xfffbfd0e,0xb492a779,0xb999a970,0xae84bb6b,0xa38fb562,0x80be9f5d,0x8db59154,0x9aa8834f,0x97a38d46],_0x328733[_0x3d45dc([0x55,0x34])]=[0x0,0x90d0b0e,0x121a161c,0x1b171d12,0x24342c38,0x2d392736,0x362e3a24,0x3f23312a,0x48685870,0x4165537e,0x5a724e6c,0x537f4562,0x6c5c7448,0x65517f46,0x7e466254,0x774b695a,0x90d0b0e0,0x99ddbbee,0x82caa6fc,0x8bc7adf2,0xb4e49cd8,0xbde997d6,0xa6fe8ac4,0xaff381ca,0xd8b8e890,0xd1b5e39e,0xcaa2fe8c,0xc3aff582,0xfc8cc4a8,0xf581cfa6,0xee96d2b4,0xe79bd9ba,0x3bbb7bdb,0x32b670d5,0x29a16dc7,0x20ac66c9,0x1f8f57e3,0x16825ced,0xd9541ff,0x4984af1,0x73d323ab,0x7ade28a5,0x61c935b7,0x68c43eb9,0x57e70f93,0x5eea049d,0x45fd198f,0x4cf01281,0xab6bcb3b,0xa266c035,0xb971dd27,0xb07cd629,0x8f5fe703,0x8652ec0d,0x9d45f11f,0x9448fa11,0xe303934b,0xea0e9845,0xf1198557,0xf8148e59,0xc737bf73,0xce3ab47d,0xd52da96f,0xdc20a261,0x766df6ad,0x7f60fda3,0x6477e0b1,0x6d7aebbf,0x5259da95,0x5b54d19b,0x4043cc89,0x494ec787,0x3e05aedd,0x3708a5d3,0x2c1fb8c1,0x2512b3cf,0x1a3182e5,0x133c89eb,0x82b94f9,0x1269ff7,0xe6bd464d,0xefb04d43,0xf4a75051,0xfdaa5b5f,0xc2896a75,0xcb84617b,0xd0937c69,0xd99e7767,0xaed51e3d,0xa7d81533,0xbccf0821,0xb5c2032f,0x8ae13205,0x83ec390b,0x98fb2419,0x91f62f17,0x4dd68d76,0x44db8678,0x5fcc9b6a,0x56c19064,0x69e2a14e,0x60efaa40,0x7bf8b752,0x72f5bc5c,0x5bed506,0xcb3de08,0x17a4c31a,0x1ea9c814,0x218af93e,0x2887f230,0x3390ef22,0x3a9de42c,0xdd063d96,0xd40b3698,0xcf1c2b8a,0xc6112084,0xf93211ae,0xf03f1aa0,0xeb2807b2,0xe2250cbc,0x956e65e6,0x9c636ee8,0x877473fa,0x8e7978f4,0xb15a49de,0xb85742d0,0xa3405fc2,0xaa4d54cc,0xecdaf741,0xe5d7fc4f,0xfec0e15d,0xf7cdea53,0xc8eedb79,0xc1e3d077,0xdaf4cd65,0xd3f9c66b,0xa4b2af31,0xadbfa43f,0xb6a8b92d,0xbfa5b223,0x80868309,0x898b8807,0x929c9515,0x9b919e1b,0x7c0a47a1,0x75074caf,0x6e1051bd,0x671d5ab3,0x583e6b99,0x51336097,0x4a247d85,0x4329768b,0x34621fd1,0x3d6f14df,0x267809cd,0x2f7502c3,0x105633e9,0x195b38e7,0x24c25f5,0xb412efb,0xd7618c9a,0xde6c8794,0xc57b9a86,0xcc769188,0xf355a0a2,0xfa58abac,0xe14fb6be,0xe842bdb0,0x9f09d4ea,0x9604dfe4,0x8d13c2f6,0x841ec9f8,0xbb3df8d2,0xb230f3dc,0xa927eece,0xa02ae5c0,0x47b13c7a,0x4ebc3774,0x55ab2a66,0x5ca62168,0x63851042,0x6a881b4c,0x719f065e,0x78920d50,0xfd9640a,0x6d46f04,0x1dc37216,0x14ce7918,0x2bed4832,0x22e0433c,0x39f75e2e,0x30fa5520,0x9ab701ec,0x93ba0ae2,0x88ad17f0,0x81a01cfe,0xbe832dd4,0xb78e26da,0xac993bc8,0xa59430c6,0xd2df599c,0xdbd25292,0xc0c54f80,0xc9c8448e,0xf6eb75a4,0xffe67eaa,0xe4f163b8,0xedfc68b6,0xa67b10c,0x36aba02,0x187da710,0x1170ac1e,0x2e539d34,0x275e963a,0x3c498b28,0x35448026,0x420fe97c,0x4b02e272,0x5015ff60,0x5918f46e,0x663bc544,0x6f36ce4a,0x7421d358,0x7d2cd856,0xa10c7a37,0xa8017139,0xb3166c2b,0xba1b6725,0x8538560f,0x8c355d01,0x97224013,0x9e2f4b1d,0xe9642247,0xe0692949,0xfb7e345b,0xf2733f55,0xcd500e7f,0xc45d0571,0xdf4a1863,0xd647136d,0x31dccad7,0x38d1c1d9,0x23c6dccb,0x2acbd7c5,0x15e8e6ef,0x1ce5ede1,0x7f2f0f3,0xefffbfd,0x79b492a7,0x70b999a9,0x6bae84bb,0x62a38fb5,0x5d80be9f,0x548db591,0x4f9aa883,0x4697a38d];const _0x18f715=new Uint8Array(0x10);for(let _0x1ebdc7=0xf;_0x1ebdc7>=0x0;--_0x1ebdc7)_0x18f715[_0x1ebdc7]=_0x12a115%0x100,_0x12a115=parseInt(_0x12a115/0x100);let _0x581b16=null,_0x1d59fa=0x10;const _0x227962=new Uint8Array(_0x58ccb9),_0xe6095e=[],_0xe10b45=[];_0x479a30();for(let _0x5ca197=0x0;_0x5ca197<_0x1148e7[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ca197++)0x10===_0x1d59fa&&(_0x581b16=_0x116c26(_0x18f715),_0x1d59fa=0x0,_0x57961c(_0x18f715)),_0x1148e7[_0x5ca197]^=_0x581b16[_0x1d59fa++];return _0x1148e7;function _0x38824e(_0x1b574a){const _0x164c0d=[];for(let _0x7d999d=0x0;_0x7d999d<_0x1b574a[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7d999d+=0x4)_0x164c0d[_0x3d45dc([0x70,0x75,0x73,0x68])](_0x1b574a[_0x7d999d]<<0x18|_0x1b574a[_0x7d999d+0x1]<<0x10|_0x1b574a[_0x7d999d+0x2]<<0x8|_0x1b574a[_0x7d999d+0x3]);return _0x164c0d;}function _0x57961c(_0x5d6ecd){for(let _0xa82b04=0xf;_0xa82b04>=0x0;_0xa82b04--){if(0xff!==_0x5d6ecd[_0xa82b04]){_0x5d6ecd[_0xa82b04]++;break;}_0x5d6ecd[_0xa82b04]=0x0;}}function _0x116c26(_0x34fb9a){const _0x2ee431=_0xe6095e[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x4e1ae2=[0x0,0x0,0x0,0x0];let t=_0x38824e(_0x34fb9a);for(let _0x3f6cab=0x0;_0x3f6cab<0x4;_0x3f6cab++)t[_0x3f6cab]^=_0xe6095e[0x0][_0x3f6cab];for(let _0x27234b=0x1;_0x27234b<_0x2ee431;_0x27234b++){for(let _0x1fee65=0x0;_0x1fee65<0x4;_0x1fee65++)_0x4e1ae2[_0x1fee65]=_0x328733[_0x3d45dc([0x54,0x31])][t[_0x1fee65]>>0x18&0xff]^_0x328733[_0x3d45dc([0x54,0x32])][t[(_0x1fee65+0x1)%0x4]>>0x10&0xff]^_0x328733[_0x3d45dc([0x54,0x33])][t[(_0x1fee65+0x2)%0x4]>>0x8&0xff]^_0x328733[_0x3d45dc([0x54,0x34])][0xff&t[(_0x1fee65+0x3)%0x4]]^_0xe6095e[_0x27234b][_0x1fee65];t=_0x4e1ae2[_0x3d45dc([0x73,0x6c,0x69,0x63,0x65])]();}const _0x17259f=new Uint8Array(0x10);let _0x5bc1fc;for(let _0x96e63e=0x0;_0x96e63e<0x4;_0x96e63e++)_0x5bc1fc=_0xe6095e[_0x2ee431][_0x96e63e],_0x17259f[0x4*_0x96e63e]=0xff&(_0x328733[_0x3d45dc([0x53])][t[_0x96e63e]>>0x18&0xff]^_0x5bc1fc>>0x18),_0x17259f[0x4*_0x96e63e+0x1]=0xff&(_0x328733[_0x3d45dc([0x53])][t[(_0x96e63e+0x1)%0x4]>>0x10&0xff]^_0x5bc1fc>>0x10),_0x17259f[0x4*_0x96e63e+0x2]=0xff&(_0x328733[_0x3d45dc([0x53])][t[(_0x96e63e+0x2)%0x4]>>0x8&0xff]^_0x5bc1fc>>0x8),_0x17259f[0x4*_0x96e63e+0x3]=0xff&(_0x328733[_0x3d45dc([0x53])][0xff&t[(_0x96e63e+0x3)%0x4]]^_0x5bc1fc);return _0x17259f;}function _0x479a30(){const _0x3d0619=_0x328733[_0x3d45dc([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x227962[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x7a35f=0x0;_0x7a35f<=_0x3d0619;_0x7a35f++)_0xe6095e[_0x3d45dc([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0xe10b45[_0x3d45dc([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x2699f0=0x4*(_0x3d0619+0x1),_0x4a100e=_0x227962[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x449525=_0x38824e(_0x227962);let _0x374b69;for(let _0x2e07ee=0x0;_0x2e07ee<_0x4a100e;_0x2e07ee++)_0x374b69=_0x2e07ee>>0x2,_0xe6095e[_0x374b69][_0x2e07ee%0x4]=_0x449525[_0x2e07ee],_0xe10b45[_0x3d0619-_0x374b69][_0x2e07ee%0x4]=_0x449525[_0x2e07ee];let _0x75c06,_0x31fa87=0x0,t=_0x4a100e;for(;t<_0x2699f0;){_0x75c06=_0x449525[_0x4a100e-0x1],_0x449525[0x0]^=_0x328733[_0x3d45dc([0x53])][_0x75c06>>0x10&0xff]<<0x18^_0x328733[_0x3d45dc([0x53])][_0x75c06>>0x8&0xff]<<0x10^_0x328733[_0x3d45dc([0x53])][0xff&_0x75c06]<<0x8^_0x328733[_0x3d45dc([0x53])][_0x75c06>>0x18&0xff]^_0x328733[_0x3d45dc([0x72,0x63,0x6f,0x6e])][_0x31fa87]<<0x18,_0x31fa87+=0x1;for(let _0x228842=0x1;_0x228842<_0x4a100e/0x2;_0x228842++)_0x449525[_0x228842]^=_0x449525[_0x228842-0x1];_0x75c06=_0x449525[_0x4a100e/0x2-0x1],_0x449525[_0x4a100e/0x2]^=_0x328733[_0x3d45dc([0x53])][0xff&_0x75c06]^_0x328733[_0x3d45dc([0x53])][_0x75c06>>0x8&0xff]<<0x8^_0x328733[_0x3d45dc([0x53])][_0x75c06>>0x10&0xff]<<0x10^_0x328733[_0x3d45dc([0x53])][_0x75c06>>0x18&0xff]<<0x18;for(let _0x48cd08=_0x4a100e/0x2+0x1;_0x48cd08<_0x4a100e;_0x48cd08++)_0x449525[_0x48cd08]^=_0x449525[_0x48cd08-0x1];let _0x28ffef,_0x124cc7,_0x15dc48=0x0;for(;_0x15dc48<_0x4a100e&&t<_0x2699f0;)_0x28ffef=t>>0x2,_0x124cc7=t%0x4,_0xe6095e[_0x28ffef][_0x124cc7]=_0x449525[_0x15dc48],_0xe10b45[_0x3d0619-_0x28ffef][_0x124cc7]=_0x449525[_0x15dc48++],t++;}for(let _0x197cc6=0x1;_0x197cc6<_0x3d0619;_0x197cc6++)for(let _0x37dda7=0x0;_0x37dda7<0x4;_0x37dda7++)_0x75c06=_0xe10b45[_0x197cc6][_0x37dda7],_0xe10b45[_0x197cc6][_0x37dda7]=_0x328733[_0x3d45dc([0x55,0x31])][_0x75c06>>0x18&0xff]^_0x328733[_0x3d45dc([0x55,0x32])][_0x75c06>>0x10&0xff]^_0x328733[_0x3d45dc([0x55,0x33])][_0x75c06>>0x8&0xff]^_0x328733[_0x3d45dc([0x55,0x34])][0xff&_0x75c06];}}function _0x3d45dc(_0x40e944){return _0x40e944['map'](_0x5e2482=>String['fromCharCode'](_0x5e2482))['join']('');}(_0x1afb53=>{function _0x56ac2d(){const _0x54a59a=[{[_0x3d45dc([0x69,0x64])]:0x1,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x3d45dc([0x69,0x64])]:0x2,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3d45dc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3d45dc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3d45dc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3d45dc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3d45dc([0x69,0x64])]:0x3,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3d45dc([0x69,0x64])]:0x4,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3d45dc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3d45dc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3d45dc([0x69,0x64])]:0x5,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x66,0x67,0x69])]:[0xc]}},{[_0x3d45dc([0x69,0x64])]:0x6,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x66,0x67,0x69])]:[0xc]}},{[_0x3d45dc([0x69,0x64])]:0x7,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x66,0x67,0x69])]:[0xc]}},{[_0x3d45dc([0x69,0x64])]:0x8,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x66,0x67,0x69])]:[0xc]}},{[_0x3d45dc([0x69,0x64])]:0x9,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x3d45dc([0x69,0x64])]:0xa,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x50,0x61,0x73,0x74,0x65,0x20,0x66,0x72,0x6f,0x6d,0x20,0x4f,0x66,0x66,0x69,0x63,0x65,0x20,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x50,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x72]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x66,0x67,0x69])]:[0xc]}},{[_0x3d45dc([0x69,0x64])]:0xb,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3d45dc([0x69,0x64])]:0xc,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x3d45dc([0x69,0x64])]:0xd,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x66,0x67,0x69])]:[0xc]}},{[_0x3d45dc([0x69,0x64])]:0xe,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x3d45dc([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])},{[_0x3d45dc([0x69,0x64])]:0xf,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3d45dc([0x69,0x64])]:0x10,[_0x3d45dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3d45dc([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3d45dc([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3d45dc([0x66,0x67,0x69])]:[0xc]}}];return _0x1e6093(_0x54a59a),_0x54a59a;function _0x288757(_0x469957){return 0x1<<_0x469957-0x1;}function _0x1e6093(_0x2b5283){_0x2b5283[_0x3d45dc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x28d285=>{_0x28d285[_0x3d45dc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x288757(_0x28d285[_0x3d45dc([0x69,0x64])]),_0x4ee21a(_0x28d285)&&_0x28d285[_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1e6093(_0x28d285[_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x4ee21a(_0x23a9f7){return _0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x23a9f7;}const _0x3b7000=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x14a5b6=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x88d8c5(_0xeba41b){const _0x5dc433=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x1ca233(_0xeba41b,new Uint8Array([..._0x3b7000,..._0x5dc433,..._0x14a5b6]));}function _0x1ca233(_0x17b69c,_0x1fad67){const _0x28b515=_0x2e8eb9(_0x17b69c),_0x14f930=Array[_0x3d45dc([0x66,0x72,0x6f,0x6d])](_0x5dd6a4(_0x28b515)),_0x567acf=_0x14f930[_0x3d45dc([0x70,0x6f,0x70])](),_0x5a94fd=_0x14f930[_0x3d45dc([0x70,0x6f,0x70])]();return _0x5897d8(_0x157353(_0x14f930,_0x1fad67,_0x5a94fd+0x100*_0x567acf));}function _0x2e8eb9(_0x3810d9){const _0x2ad26e=atob(_0x3810d9),[_0x333083,_0x11d31b]=_0x2ad26e[_0x3d45dc([0x73,0x70,0x6c,0x69,0x74])](_0x3d45dc([0x2d]));try{if(atob(_0x11d31b))return atob(_0x333083);}catch(_0x1f2922){}return _0x2ad26e;}function _0x46403d(_0x2b9a71){try{const _0x343103=_0x88d8c5(_0x2b9a71),_0x2badf8=JSON[_0x3d45dc([0x70,0x61,0x72,0x73,0x65])](_0x343103),_0xe24f38=parseInt(_0x2badf8[_0x3d45dc([0x31])]),_0x533cad=_0x2badf8[_0x3d45dc([0x32])]||'',_0x5814a4=parseInt(_0x2badf8[_0x3d45dc([0x33])]),_0x228216=parseInt(_0x2badf8[_0x3d45dc([0x34])])||0x0,_0x4249f3=parseInt(_0x2badf8[_0x3d45dc([0x35])])||0x0;return{[_0x3d45dc([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x533cad,[_0x3d45dc([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x228216,[_0x3d45dc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0xe24f38,[_0x3d45dc([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x5814a4,[_0x3d45dc([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x4249f3};}catch(_0x335323){return null;}}const _0x2fc536=_0x56ac2d(),_0x57e756={[_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x130904,[_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73])]:_0x39adcd,[_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79])]:_0x3552de},_0xfd5c92=_0x1afb53[_0x3d45dc([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x3a1bf1=_0x3d45dc([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x1afb53?_0x1afb53['context']:_0x1afb53['editor'],_0x3d99b7=_0x3d45dc([0x34,0x30,0x34,0x38,0x31,0x30,0x32,0x38]),_0x391c80=_0x3d45dc([0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39]),_0xf83462=_0x3a1bf1['config']['get'](_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x5b6ee1=_0x2fc536[_0x3d45dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ee21a)[_0x3d45dc([0x66,0x69,0x6e,0x64])](_0xdf4922=>_0xdf4922[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0xfd5c92);function _0x4054f7(_0x5ea8be,_0x4f83e3){_0x57e756[_0x4f83e3[_0x3d45dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x5ea8be,_0x4f83e3),_0x4f83e3[_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4f83e3[_0x3d45dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x3d45dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a6e4=>_0x38ded0(_0x3a1bf1,_0x3a6e4[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x3d45dc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x512fc2=>_0x4054f7(_0x5ea8be,_0x512fc2));}function _0x130904(_0x12b424,_0x39deb4){_0x512eaa(_0x88d302(_0x12b424,_0x39deb4),_0x39deb4);}function _0x39adcd(_0x420853,_0x37b70d){function _0x34dd39(_0x1236b4,_0x1ce7f4){try{if(_0x38ded0(_0x3a1bf1,_0x3d45dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x1236b4){const _0xaa3d32=_0x44c520(_0x3a1bf1,_0x3d45dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x3d45dc([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0xaa3d32)/0x2>_0x1236b4[_0x3d45dc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x561149(_0x1ce7f4[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x88d302(_0x1236b4,_0x1ce7f4);}catch(_0x1a57e1){return _0x561149(_0x1ce7f4[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x512eaa(_0x34dd39(_0x420853,_0x37b70d),_0x37b70d);}function _0x3552de(_0x30c9a1,_0x1034a1){const _0x3837db=_0x14a5b6[0x0]*_0x3b7000[0x1],_0x582ef8=_0x14a5b6[0x0]*_0x3b7000[0x2],_0x553a49=_0x14a5b6[0x2]*_0x3b7000[0x2];_0x38ded0(_0x3a1bf1,_0x3d45dc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x44c520(_0x3a1bf1,_0x3d45dc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3d45dc([0x73,0x74,0x61,0x74,0x65])]==_0x3d45dc([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x188d72()]=_0x553a49);function _0x3cc9fa(_0x595e9e,_0xc235a8){try{return _0x564a1f()?_0x561149(_0xc235a8[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x56,0x61,0x6c,0x69,0x64])):_0x88d302(_0x595e9e,_0xc235a8);}catch(_0xb6e18){return _0x561149(_0xc235a8[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0xf39cfa(_0x44cde3,_0x3e7f0d){const _0x116e29=0x7;if(_0x44cde3==_0x3e7f0d[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x3182a7();else{if(_0x44cde3==_0x3e7f0d[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x54,0x72,0x69,0x61,0x6c])){const _0xfd6b47=_0x266898();_0xfd6b47&&_0x274ef6(_0xfd6b47,_0x3e7f0d[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x26514f=_0x2138b3();window[_0x3d45dc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x274ef6(_0x3d45dc([0x74,0x69,0x6d,0x65]),_0x3e7f0d[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x26514f);const _0x18f449=_0x44c520(_0x3a1bf1,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3d45dc([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x18f449[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x116e29?_0x274ef6(_0x3d45dc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3e7f0d[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x18f449['on'](_0x3d45dc([0x61,0x64,0x64]),()=>{_0x18f449[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x116e29&&_0x274ef6(_0x3d45dc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3e7f0d[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x266898(){if(!_0x38ded0(_0x3a1bf1,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x41e642 in window)if(Number['isNaN'](Number(_0x41e642))){if(window[_0x41e642]===_0x3837db)return _0x3d45dc([0x74,0x69,0x6d,0x65]);if(window[_0x41e642]===_0x582ef8)return _0x3d45dc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x564a1f(){if(!_0x38ded0(_0x3a1bf1,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4b069 in window)if(Number['isNaN'](Number(_0x4b069))&&window[_0x4b069]===_0x553a49)return!0x0;return!0x1;}function _0x274ef6(_0x526521,_0x4965e2){_0x3182a7(),_0x561149(_0x4965e2+_0x3d45dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x526521),window[_0x188d72()]=_0x526521===_0x3d45dc([0x74,0x69,0x6d,0x65])?_0x3837db:_0x582ef8;}function _0x2138b3(){let _0x3892bb=_0x14a5b6[0x6]*_0x3b7000[0x8]*_0x3b7000[0x6];return _0x38ded0(_0x3a1bf1,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3892bb/=0xa),_0x3892bb;}function _0x3182a7(){const _0x21bf24=_0x3a1bf1;function _0x397d0b(){_0x38ded0(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3d45dc([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3d45dc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3d45dc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3d45dc([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x19890c,_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3d45dc([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x19890c,_0x21bf24[_0x3d45dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d45dc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x19890c,_0x21bf24[_0x3d45dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d45dc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x19890c,_0x21bf24[_0x3d45dc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3d45dc([0x6d,0x6f,0x64,0x65,0x6c]))),_0x38ded0(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3d45dc([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3d45dc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3d45dc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3d45dc([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x19890c,_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3d45dc([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x19890c);}_0x21bf24[_0x3d45dc([0x73,0x74,0x61,0x74,0x65])]==_0x3d45dc([0x72,0x65,0x61,0x64,0x79])?_0x397d0b():_0x21bf24[_0x3d45dc([0x6f,0x6e,0x63,0x65])](_0x3d45dc([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x38ded0(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x397d0b(),_0x38ded0(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x3d50fb=_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x1defcf=_0x3d50fb['getRevision'](0x0),_0x1550e0=_0x3d50fb['getEarlierVisibleRevision'](_0x1defcf[_0x3d45dc([0x69,0x64])]);_0x44c520(_0x21bf24,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3d45dc([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x1defcf[_0x3d45dc([0x69,0x64])],_0x1550e0?_0x1550e0[_0x3d45dc([0x69,0x64])]:null,0x1)['then'](()=>_0x397d0b());}});}_0xf39cfa(_0x3cc9fa(_0x30c9a1,_0x1034a1),_0x1034a1);}function _0x88d302(_0x2b2564,_0x2914fc){try{return _0x460bb0(_0x2914fc)?_0x561149(_0x2914fc[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x56,0x61,0x6c,0x69,0x64])):_0x2b2564&&_0x3bad0c(_0x2b2564[_0x3d45dc([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x2914fc)?_0x2b2564[_0x3d45dc([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x3d45dc([0x6f,0x70,0x65,0x6e])][_0x3d45dc([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x3d99b7)/0x2>_0x2b2564[_0x3d45dc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x561149(_0x2914fc[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x2b2564[_0x3d45dc([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x561149(_0x2914fc[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x54,0x72,0x69,0x61,0x6c])):_0x561149(_0x2914fc[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x56,0x61,0x6c,0x69,0x64])):_0x561149(_0x2914fc[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x5d53d9){return _0x561149(_0x2914fc[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x512eaa(_0x3b919c,_0x541255){if(_0x3a1bf1 instanceof _0x250484){const _0x4c9020=_0x3a1bf1;_0x3b919c==_0x541255[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3dc7f6(_0x4c9020):_0x3b919c==_0x541255[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x54,0x72,0x69,0x61,0x6c])&&window[_0x3d45dc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3dc7f6(_0x4c9020),_0x561149(_0x541255[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x14a5b6[0x6]*_0x3b7000[0x8]*_0x3b7000[0x6]),_0x4c9020[_0x3d45dc([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x3d45dc([0x6f,0x6e])](_0x3d45dc([0x61,0x64,0x64]),(_0x4c783b,_0x1c2436)=>{_0x3b919c!=_0x541255[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x3b919c!=_0x541255[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x3b919c!=_0x541255[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x2ccd6e(_0x1c2436);});}else{const _0x4e12d4=_0x3a1bf1;_0x3b919c==_0x541255[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2ccd6e(_0x4e12d4):_0x3b919c==_0x541255[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x54,0x72,0x69,0x61,0x6c])&&_0x4e12d4[_0x3d45dc([0x6f,0x6e])](_0x3d45dc([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x513c9d=0x0;_0x4e12d4[_0x3d45dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d45dc([0x6f,0x6e])](_0x3d45dc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1bd081,_0x3df64c)=>{_0x3df64c[0x0][_0x3d45dc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x513c9d++,0x1f8===_0x513c9d&&(_0x2ccd6e(_0x4e12d4),_0x561149(_0x541255[_0x3d45dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3d45dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x1bd081[_0x3d45dc([0x6f,0x66,0x66])]());},{'priority':_0x3d45dc([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x561149(_0x3e7bed){const _0xa02531=_0x188d72();return _0x3a1bf1[_0xa02531]=_0x3e7bed,_0x3e7bed;}function _0x188d72(){const _0x3c4098=String(window[_0x3d45dc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3d45dc([0x6e,0x6f,0x77])]())[_0x3d45dc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3d45dc([0x2e]),'');let _0xaa2c87='';for(let _0x4c1f9e=0x0;_0x4c1f9e<_0x3c4098[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c1f9e+=0x2){let _0x4fa935=parseInt(_0x3c4098[_0x3d45dc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c1f9e,_0x4c1f9e+0x2));_0x4fa935>=_0x391c80[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4fa935-=_0x391c80[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xaa2c87+=_0x391c80[_0x4fa935];}return _0xaa2c87;}function _0x3dc7f6(_0x3cf1cf){for(const _0x27f8fc of _0x3cf1cf[_0x3d45dc([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x2ccd6e(_0x27f8fc);_0x44c520(_0x3cf1cf,_0x3d45dc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3d45dc([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x44c520(_0x3cf1cf,_0x3d45dc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3d45dc([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x19890c;}function _0x2ccd6e(_0x3f53f9){function _0x189347(){_0x3f53f9[_0x3d45dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d45dc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x19890c,_0x3f53f9[_0x3d45dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d45dc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x19890c,_0x3f53f9[_0x3d45dc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3d45dc([0x6d,0x6f,0x64,0x65,0x6c]));}_0x3f53f9[_0x3d45dc([0x73,0x74,0x61,0x74,0x65])]==_0x3d45dc([0x72,0x65,0x61,0x64,0x79])?_0x189347():_0x3f53f9[_0x3d45dc([0x6f,0x6e,0x63,0x65])](_0x3d45dc([0x72,0x65,0x61,0x64,0x79]),()=>_0x189347());}function _0x19890c(){return null;}function _0x3bad0c(_0x39b1df,_0x419a9d){const _0x37e16c=!!(_0x39b1df&_0x419a9d[_0x3d45dc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x26a62e=_0x2da95b(_0x39b1df,_0x419a9d);return _0x37e16c||_0x26a62e;}function _0x2da95b(_0x15381b,_0x88c1e1){const _0x18a46c=(_0x88c1e1[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x3d45dc([0x66,0x67,0x69])]||null;return!!_0x18a46c&&_0x2fc536[_0x3d45dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1356bf=>_0x18a46c[_0x3d45dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1356bf[_0x3d45dc([0x69,0x64])]))[_0x3d45dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d67a6=>!_0x2b0e21(_0x1d67a6))[_0x3d45dc([0x73,0x6f,0x6d,0x65])](_0x5e4da4=>!!(_0x15381b&_0x5e4da4[_0x3d45dc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x2b0e21(_0x57fb47){const _0x242254={[_0x3d45dc([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])]:_0x13099c};return!!_0x57fb47['forbiddenHandler']&&_0x242254[_0x57fb47['forbiddenHandler']]();}function _0x13099c(){return!window[_0x3d45dc([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x38ded0(_0x3a1bf1,_0x3d45dc([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x460bb0(_0x410a58){if(!_0x38ded0(_0x3a1bf1,_0x410a58[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x4da50d=_0x410a58[_0x3d45dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x5c28bd=_0x4da50d[_0x3d45dc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x3d8b23=_0x4da50d[_0x3d45dc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x4f7e74=_0x4da50d[_0x3d45dc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x38ded0(_0x3a1bf1,_0x3d45dc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x44c520(_0x3a1bf1,_0x3d45dc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3d45dc([0x73,0x74,0x61,0x74,0x65])]==_0x3d45dc([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x5c28bd)return!0x0;if(_0x38ded0(_0x3a1bf1,_0x3d45dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x44c520(_0x3a1bf1,_0x3d45dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x3d45dc([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x3d45dc([0x65,0x6e,0x64])&&_0x3d8b23)return!0x0;return!(!_0x38ded0(_0x3a1bf1,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))||_0x44c520(_0x3a1bf1,_0x3d45dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))[_0x3d45dc([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x3d45dc([0x65,0x6e,0x64])||!_0x4f7e74);}function _0x38ded0(_0x22d4af,_0x320c8f){return _0x22d4af[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3d45dc([0x68,0x61,0x73])](_0x320c8f);}function _0x44c520(_0xd17c53,_0x328636){return _0xd17c53[_0x3d45dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3d45dc([0x67,0x65,0x74])](_0x328636);}function _0x5897d8(_0x21d04f){let _0x4f7314='';for(const _0x48b91a of _0x21d04f)_0x4f7314+=String[_0x3d45dc([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x48b91a);return _0x4f7314;}function _0x5dd6a4(_0x4961b7){const _0x5a7e1f=new Uint8Array(_0x4961b7[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x213bb8=0x0;_0x213bb8<_0x4961b7[_0x3d45dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x213bb8++)_0x5a7e1f[_0x213bb8]=_0x4961b7[_0x3d45dc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x213bb8);return _0x5a7e1f;}_0x5b6ee1&&_0x4054f7(_0x46403d(_0xf83462),_0x5b6ee1);})(_0xe8807d);}(this);}['createRevision'](_0x41c4db){const _0xd3fd26=this['editor']['plugins']['get']('Users');return new a({'id':_0x41c4db['id'],'name':_0x41c4db['name'],'creator':_0x41c4db['creatorId']?_0xd3fd26['getUser'](_0x41c4db['creatorId']):null,'diffData':_0x41c4db['diffData']||_0x41c4db['data'],'authors':_0x41c4db['authorsIds']['map'](_0xe0a53c=>_0xd3fd26['getUser'](_0xe0a53c)),'createdAt':new Date(_0x41c4db['createdAt']),'attributes':_0x41c4db['attributes'],'fromVersion':_0x41c4db['fromVersion'],'toVersion':_0x41c4db['toVersion']});}['addRevision'](_0x1d1bfc,_0x1c8556=0x0){this['_revisions']['add'](_0x1d1bfc,_0x1c8556);}['getRevision'](_0x2519a0){return this['_revisions']['get'](_0x2519a0);}['getRevisions'](_0x2ef9b0={'toJSON':!0x1}){const _0x33a580=Array['from'](this['_revisions']);return _0x33a580['reverse'](),_0x2ef9b0['toJSON']?_0x33a580['map'](_0x13f59d=>_0x13f59d['toJSON']()):_0x33a580;}['getIndex'](_0x26dd02){return this['_revisions']['getIndex'](_0x26dd02);}['getEarlierVisibleRevision'](_0x475ea6){const [,_0x1080c9]=this['getRevisionsIterator'](_0x475ea6,{'direction':'earlier'});return _0x1080c9;}['getLaterVisibleRevision'](_0x34b70b){const [,_0x4b4d9b]=this['getRevisionsIterator'](_0x34b70b,{'direction':'later'});return _0x4b4d9b;}['getRevisionsInDiff'](_0x209384){const _0x5d38af=[];for(const _0x1e007b of this['getRevisionsIterator'](_0x209384['newRevisionId']))if(_0x5d38af['push'](_0x1e007b),_0x1e007b['id']===_0x209384['oldRevisionId'])break;return _0x5d38af;}*['getRevisionsIterator'](_0x839fc2,{direction:_0x317949='earlier',filter:_0x49cf83=_0x27a03b=>!0x0}={}){const _0x378812='earlier'===_0x317949?0x1:-0x1;let _0x1d59ce=this['_revisions']['get'](_0x839fc2),_0x48a90c=this['getIndex'](_0x1d59ce);for(yield _0x1d59ce;_0x1d59ce;){if(_0x48a90c+=_0x378812,_0x1d59ce=this['getRevision'](_0x48a90c),!_0x1d59ce)return;_0x49cf83(_0x1d59ce)&&(yield _0x1d59ce);}}}function y(_0x224653,_0x12efb8,_0x151317){const t=_0x224653['t'];switch(_0x12efb8){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x151317);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x151317);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0xd63b61,'a':_0x5b8a0f,'e':_0x58419c,'r':_0x4aebd0,'u':_0x575c1f};class l extends _0x26bd26{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x376a85,A,_0x19b213];}constructor(_0x838b49){super(_0x838b49),this['adapter']=null,this['currentRevision']=null,this['_revisionDataBuilder']=new J(this['editor']),this['_initialRevisionId']=this['editor']['config']['get']('collaboration.channelId')||'initial',this['_bufferedUpdates']=new Map(),this['_loadedStateData']=null;const _0x54bb22=_0x535ce0();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x54bb22},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x489e8b=this['repository']['getRevision'](0x0),_0x4842c6=_0x489e8b&&null===_0x489e8b['creator']?_0x489e8b:null;if(this['_continueCurrentRevision']=!!_0x4842c6&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x4d93a9=this['_source']['getCurrentRevisionId'](),_0x19a5c3=this['repository']['getRevision'](_0x4d93a9);if(_0x19a5c3)this['_startingVersion']=_0x19a5c3['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x1af7b3=this['_source']['history']['_operations']['find'](_0x3b58ce=>!_0x3b58ce['_isInit']),_0x4410a2=_0x1af7b3?_0x1af7b3['baseVersion']:this['_source']['history']['version'];_0x489e8b?(_0x489e8b['toVersion']<_0x4410a2&&_0x489e8b['_update']({'toVersion':_0x4410a2}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x4842c6['id'],this['_startingVersion']=_0x4842c6['fromVersion']):(this['_startingVersion']=_0x489e8b['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x4410a2,this['_continueCurrentRevision']=!0x1);}}else _0x4842c6&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x4842c6['toVersion'],this['editor']['model']['document']['history']['version']),_0x4842c6['fromVersion']===_0x4842c6['toVersion']?(0x0!==_0x4842c6['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x4842c6['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x4842c6['id'],this['_startingVersion']=_0x4842c6['fromVersion'])),this['_continueCurrentRevision']||(this['_startingVersion']=this['editor']['model']['document']['version']);this['_revisionDataBuilder']['init'](this['_source']['history']),this['_createInitialRevision'](this['_startingVersion']),this['_createCurrentRevision'](this['_startingVersion']),this['adapter']&&this['sendBufferedUpdates']();}),this['bind']('isReady')['to'](this,'_isPendingUpdate',_0x71846c=>!_0x71846c);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x18c91e=this['repository']['getRevision'](0x0),_0x4891b4=await this['getRevisionDocumentData'](_0x18c91e),_0x570a23=await this['getRevisionRootsAttributes'](_0x18c91e);this['_replaceEditorDataWithRevisionData'](_0x4891b4,_0x570a23);}}['setSource'](_0x552a77){this['_source']=_0x552a77;}async['update'](){const _0x4c005b=await this['_source']['getLatestVersion']();if(_0x4c005b>this['currentRevision']['toVersion']){await this['_loadState']();const _0x32a3b8=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x4c005b});_0x32a3b8['authors']=_0x32a3b8['authorsIds']['map'](_0x36e7e4=>this['editor']['plugins']['get']('Users')['getUser'](_0x36e7e4)),this['currentRevision']['_update'](_0x32a3b8);}}async['_loadState'](){this['_continueCurrentRevision']&&!this['_loadedStateData']&&(await this['_loadRevisionData'](this['currentRevision']),this['_revisionDataBuilder']['loadState'](this['currentRevision']),this['_loadedStateData']={'fromVersion':this['currentRevision']['fromVersion'],'authors':this['currentRevision']['authors']['slice']()});}async['saveRevision'](_0x3612e0={},_0x1e8339=null){const _0x353140=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x1e8339>this['currentRevision']['toVersion']&&(_0x1e8339=null),null===_0x1e8339&&(_0x1e8339=await this['_source']['getLatestVersion']());const _0xa0f4f9=this['_getFromVersion'](_0x1e8339),_0x132151=this['buildRevisionData']({'from':_0xa0f4f9,'to':_0x1e8339});if(this['currentRevision']['toVersion']<_0x1e8339){const _0x297bdd=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x1e8339,'to':_0x1e8339});_0x297bdd['authors']=[],_0x297bdd['authorsIds']=[],_0x297bdd['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x297bdd,!0x0),delete _0x297bdd['authors'],_0x353140['push'](_0x297bdd);}_0x3612e0['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x3612e0['name']=_0x3612e0['name']||null,_0x3612e0['id']=_0x3612e0['id']||_0x535ce0(),_0x3612e0={..._0x3612e0,..._0x132151};const _0xb58f19=this['addRevisionData'](_0x3612e0);_0x353140['push'](_0x3612e0);const _0x191193=this['repository']['getIndex'](_0xb58f19);if(0x0!==_0x191193){const _0x176c51=this['repository']['getRevision'](_0x191193-0x1);if(_0x176c51['fromVersion']!==_0x1e8339){const _0x3fae95=this['_revisionDataBuilder']['getData'](_0x1e8339,_0x176c51['toVersion']),_0xd0326c={'id':_0x176c51['id'],'diffData':_0x3fae95['diffData'],'authorsIds':_0x3fae95['authorsIds'],'authors':_0x3fae95['authorsIds']['map'](_0x5539ae=>this['editor']['plugins']['get']('Users')['getUser'](_0x5539ae)),'fromVersion':_0x1e8339};_0x176c51===this['currentRevision']&&(_0xd0326c['createdAt']=new Date(_0x3612e0['createdAt']['getTime']()+0xa)),_0x176c51['_update'](_0xd0326c,!0x0),delete _0xd0326c['authors'],_0x353140['push'](_0xd0326c);}}if(this['adapter']){for(const _0x50502c of _0x353140)this['_bufferUpdate'](_0x50502c['id'],_0x50502c,!0x0);this['sendBufferedUpdates']();}return _0xb58f19;}['addRevisionData'](_0x5ed4e2){const _0x4a5f39=this['repository']['createRevision'](_0x5ed4e2);return this['adapter']&&_0x4a5f39['on']('_update',(_0x3a5eb,_0x55afd9,_0x507bf5)=>{_0x507bf5||(this['_bufferUpdate'](_0x55afd9['id'],_0x55afd9,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x4a5f39,this['_findInsertionIndex'](_0x4a5f39)),_0x4a5f39;}async['getRevisionDocumentData'](_0x32a93b){await this['_loadRevisionData'](_0x32a93b);const _0x340239={};for(const _0x17e93e in _0x32a93b['diffData']){if(_0x32a93b['diffData'][_0x17e93e]['attachChange']&&!_0x32a93b['diffData'][_0x17e93e]['attachChange']['isAttached'])continue;const _0x2bb3db=this['_removeRevisionMarkers'](JSON['parse'](_0x32a93b['diffData'][_0x17e93e]['insertions'])),_0x4c421e=this['editor']['editing']['view']['document'],_0x46236d=new _0x55c919(_0x4c421e,_0x2bb3db['map'](_0x4e1d35=>B(_0x4e1d35,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x340239[_0x17e93e]=this['editor']['data']['processor']['toData'](_0x46236d),this['editor']['data']['processor']['useFillerType']('default');}return _0x340239;}async['getRevisionRootsAttributes'](_0x123fa0){await this['_loadRevisionData'](_0x123fa0);const _0x2e023b={};for(const _0x22d909 in _0x123fa0['diffData'])_0x123fa0['diffData'][_0x22d909]['attachChange']&&!_0x123fa0['diffData'][_0x22d909]['attachChange']['isAttached']||(_0x2e023b[_0x22d909]=_0x123fa0['diffData'][_0x22d909]['attributesAfter']||{});return _0x2e023b;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x23ac52=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0xd70fde=0x0;_0xd70fde<_0x23ac52['length'];_0xd70fde++){const _0x4d5d9b=_0x23ac52[_0xd70fde];let _0xa9e629=!0x1;for(const _0x3a947d of Object['keys'](_0x4d5d9b))void 0x0===_0x4d5d9b[_0x3a947d]?delete _0x4d5d9b[_0x3a947d]:'id'!==_0x3a947d&&(_0xa9e629=!0x0);_0xa9e629||(_0x23ac52[_0xd70fde]=null);}if(_0x23ac52=_0x23ac52['filter'](_0x55fa61=>null!==_0x55fa61),!_0x23ac52['length'])return;for(let _0x1b6597=0x0;_0x1b6597<_0x23ac52['length'];_0x1b6597++){const _0x59c413=_0x23ac52[_0x1b6597];void 0x0!==_0x59c413['fromVersion']&&void 0x0===_0x59c413['toVersion']&&(_0x59c413['toVersion']=this['repository']['getRevision'](_0x59c413['id'])['toVersion']),void 0x0!==_0x59c413['toVersion']&&void 0x0===_0x59c413['fromVersion']&&(_0x59c413['fromVersion']=this['repository']['getRevision'](_0x59c413['id'])['fromVersion']);}const _0x46a2d7=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x23ac52,_0x46a2d7)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x32c60b=>{if(_0x32c60b){for(const _0x54066d of _0x32c60b)this['setRevisionData']({'id':_0x54066d['id'],'createdAt':_0x54066d['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x3c0c63,_0x5eee7d){let _0x384e6f=this['editor']['config']['get']('initialData'),_0x550619=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x384e6f){_0x384e6f={};for(const _0x35ca59 of this['editor']['model']['document']['getRootNames']())_0x384e6f[_0x35ca59]='';}if('string'==typeof _0x384e6f&&(_0x384e6f={'main':_0x384e6f}),void 0x0===_0x550619){_0x550619={};for(const _0x2fe506 of this['editor']['model']['document']['getRootNames']())_0x550619[_0x2fe506]={};}let _0x5509a6=!0x1;const _0x41d1c9=Object['keys'](_0x384e6f),_0x26139e=Object['keys'](_0x3c0c63);for(const _0x296139 of _0x41d1c9){if(_0x384e6f[_0x296139]!==_0x3c0c63[_0x296139]&&''!==_0x384e6f[_0x296139]['trim']()){_0x5509a6=!0x0;break;}if(!_0x42412d(_0x550619[_0x296139],_0x5eee7d[_0x296139])&&Object['keys'](_0x550619[_0x296139])['length']>0x0){_0x5509a6=!0x0;break;}}_0x5509a6||(_0x5509a6=_0x26139e['some'](_0x12595d=>!this['editor']['model']['document']['getRoot'](_0x12595d))),_0x5509a6&&_0x57b1c8('editor-initial-data-replaced-with-revision-data',{'editorData':_0x384e6f,'editorRootsAttributes':_0x550619,'revisionData':_0x3c0c63,'revisionRootsAttributes':_0x5eee7d}),this['editor']['config']['set']('initialData',_0x3c0c63),this['editor']['config']['set']('rootsAttributes',_0x5eee7d);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x3addcd=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x3addcd['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x173c5d){const _0x40b11c=this['repository']['getRevisions']();_0x40b11c['reverse']();let _0x49b72f=0x0;for(;_0x49b72f<_0x40b11c['length'];){const _0x519b73=_0x40b11c[_0x49b72f];if(_0x519b73===this['currentRevision']){_0x49b72f++;continue;}if(_0x519b73['id']===this['_initialRevisionId'])break;const _0x1d93fd=_0x173c5d['toVersion']-_0x519b73['toVersion']||_0x173c5d['fromVersion']-_0x519b73['fromVersion'];if(_0x1d93fd>0x0)break;if(_0x1d93fd<0x0)_0x49b72f++;else{if(!_0x173c5d['creator']&&_0x519b73['creator'])break;if(_0x519b73['creator']||!_0x173c5d['creator']){if(_0x173c5d['createdAt']>_0x519b73['createdAt'])break;_0x49b72f++;}else _0x49b72f++;}}return _0x49b72f;}['setRevisionData'](_0xe673f2){const _0x27addf=this['repository']['getRevision'](_0xe673f2['id']);if(_0xe673f2['createdAt']&&(_0xe673f2['createdAt']=new Date(_0xe673f2['createdAt'])),_0xe673f2['authorsIds']){const _0x12fc68=this['editor']['plugins']['get']('Users');_0xe673f2['authors']=_0xe673f2['authorsIds']['map'](_0x252f23=>_0x12fc68['getUser'](_0x252f23));}_0x27addf['_update'](_0xe673f2,!0x0);}['buildRevisionData']({revision:_0x2796b3=null,from:_0x345749=null,to:_0x4af4ec=null}){_0x345749=null!==_0x345749?_0x345749:_0x2796b3['fromVersion'],_0x4af4ec=null!==_0x4af4ec?_0x4af4ec:_0x2796b3['toVersion'];const _0x58c553=this['_revisionDataBuilder']['getData'](_0x345749,_0x4af4ec),_0x26f04b={'diffData':_0x58c553['diffData'],'authorsIds':_0x58c553['authorsIds'],'fromVersion':_0x345749,'toVersion':_0x4af4ec};if(!_0x2796b3||_0x4af4ec!==_0x2796b3['toVersion']){const _0x1e6381=_0x4af4ec-0x1,_0x2730f2=this['_source']['history']['getOperation'](_0x1e6381);_0x26f04b['createdAt']=_0x2730f2&&_0x2730f2['createdAt']||new Date();}if(this['_loadedStateData']&&_0x345749===this['_loadedStateData']['fromVersion']){for(const _0x951515 of this['_loadedStateData']['authors'])_0x26f04b['authorsIds']['includes'](_0x951515['id'])||_0x26f04b['authorsIds']['push'](_0x951515['id']);}return _0x26f04b;}['_loadRevisionData'](_0x8d43a2){if(!_0x8d43a2||_0x8d43a2['diffData'])return Promise['resolve']();{const _0x757a62=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x757a62,'revisionId':_0x8d43a2['id']})['then'](_0x402a36=>{_0x8d43a2['diffData']=_0x402a36['diffData'];});}}['_bufferUpdate'](_0x2a0553,_0x1d3f0a,_0x192cc2){if(this['_bufferedUpdates']['has'](_0x2a0553)){const _0x23e86d=this['_bufferedUpdates']['get'](_0x2a0553);_0x1d3f0a=_0x192cc2?{..._0x23e86d,..._0x1d3f0a}:{..._0x1d3f0a,..._0x23e86d};}this['_bufferedUpdates']['set'](_0x2a0553,_0x1d3f0a);}['_getFromVersion'](_0x5daf6d){const _0x12fc4a=this['repository']['getRevisions']();_0x12fc4a['reverse'](),_0x12fc4a['shift']();const _0x55ad53=_0x12fc4a['find'](_0x11d809=>_0x11d809['toVersion']<=_0x5daf6d)['toVersion'];return _0x55ad53<this['_startingVersion']?this['_startingVersion']:_0x55ad53;}['_createInitialRevision'](_0x4275d4){const _0x4217fa=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x4217fa)this['_initialRevisionId']=_0x4217fa['id'];else{const _0x121e95=!this['editor']['model']['document']['roots']['find'](_0x342940=>this['editor']['model']['hasContent'](_0x342940)),_0x38b455=this['editor']['plugins']['get']('Users')['me']['id'],_0x282ef1=y(this['editor']['locale'],_0x121e95?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x4275d4,'to':_0x4275d4,'id':this['_initialRevisionId'],'name':_0x282ef1,'creatorId':_0x38b455});}}['_createCurrentRevision'](_0x3ecb1c){const _0x29a05f=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x29a05f),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x3ecb1c,'to':_0x3ecb1c,'id':_0x29a05f,'name':'','creatorId':null}));}['_makeRevision']({name:_0x250191,from:_0x43838e,to:_0x5712d3,creatorId:_0x57b946,id:_0x12eab3}){const _0x7fc314=this['buildRevisionData']({'from':_0x43838e,'to':_0x5712d3});_0x7fc314['name']=_0x250191,_0x7fc314['creatorId']=_0x57b946,_0x7fc314['id']=_0x12eab3;const _0xa2ba77=this['addRevisionData'](_0x7fc314);return this['adapter']&&this['_bufferUpdate'](_0x7fc314['id'],_0x7fc314,!0x0),_0xa2ba77;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x2e5757){return(_0x2e5757=_0x2e5757['filter'](_0x23550d=>!_0x23550d['name']||'revision-start'!==_0x23550d['name']&&'revision-end'!==_0x23550d['name']))['forEach'](_0x3eae60=>{'string'!=typeof _0x3eae60&&(_0x3eae60['children']=this['_removeRevisionMarkers'](_0x3eae60['children']),_0x3eae60['attributes']=_0x3eae60['attributes']['filter'](_0x4e7865=>!_0x4e7865[0x0]['startsWith']('data-revision-')));}),_0x2e5757;}}function B(_0x4242db,_0x58f912){const _0x5b371a=_0x58f912['editing']['view']['document'];if('string'==typeof _0x4242db)return new _0x1e4a24(_0x5b371a,_0x4242db);{const _0x1a60ba=_0x4242db['children']['map'](_0x1756a5=>B(_0x1756a5,_0x58f912));return new(T[_0x4242db['type']]||_0x2f3835)(_0x5b371a,_0x4242db['name'],_0x4242db['attributes'],_0x1a60ba);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x489c01){this['editor']=_0x489c01,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}['init'](_0x472509){this['source']=_0x472509;const _0x56e61c=new Map(),_0x48a4d8=new Map(),_0x3b1b0d=this['editor']['model']['document']['roots']['map'](_0x47bac6=>_0x47bac6['rootName']);for(const _0x4a9fd4 of _0x3b1b0d){const _0x2871da=this['editor']['model']['document']['getRoot'](_0x4a9fd4),_0x32f1c6=q(_0x2871da);_0x56e61c['set'](_0x4a9fd4,_0x32f1c6),_0x48a4d8['set'](_0x4a9fd4,Object['fromEntries'](_0x2871da['getAttributes']()));}const _0xcb31eb=Array['from'](this['editor']['model']['markers'])['map'](_0x28cf75=>[_0x28cf75['name'],_0x28cf75['getRange']()]),_0x2e1d68=this['source']['version'];this['_saveMetaData'](_0x2e1d68,_0x56e61c,_0xcb31eb,_0x48a4d8),this['_startingRevisionId']=this['_revisionId'];const _0x5d5ac1=new Map(),_0x121892=new Map();for(const _0x8b99df of _0x3b1b0d){const _0x4f57ca=G(_0x8b99df);_0x5d5ac1['set'](_0x8b99df,_0x4f57ca),_0x121892['set'](_0x8b99df,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x5d5ac1,[],_0x121892);}['getData'](_0x3e0f03,_0x387588){if(this['_lastFrom']===_0x3e0f03&&this['_lastTo']<=_0x387588)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x387588,!0x0);else{if(!this['_savedMetaData']['has'](_0x3e0f03)){const _0x4a9fd9=this['_getPreviousFrom'](_0x3e0f03);this['_calculateMetaData'](_0x4a9fd9,_0x3e0f03,!0x1);}this['_calculateMetaData'](_0x3e0f03,_0x387588,!0x0);}return this['_lastFrom']=_0x3e0f03,this['_lastTo']=_0x387588,this['_getState']();}['loadState'](_0x378858){this['_reset'](),this['_lastFrom']=_0x378858['fromVersion'],this['_lastTo']=_0x378858['toVersion'];for(const _0x23c9ed in _0x378858['diffData']){const _0x55bb65=_0x378858['diffData'][_0x23c9ed]['attachChange'],_0x1ef3fc=_0x1387cf(_0x378858['diffData'][_0x23c9ed]['attributesBefore'])||{},_0x526944=this['_makeModelFromViewString'](_0x378858['diffData'][_0x23c9ed]['deletions']);_0x526944['rootName']=_0x23c9ed,_0x526944['_isAttached']=!_0x55bb65||!_0x55bb65['isAttached'],_0x526944['isAttached']=()=>_0x526944['_isAttached'],this['_baseRoots']['set'](_0x23c9ed,_0x526944),this['_baseRootsAttributes']['set'](_0x23c9ed,_0x1ef3fc),_0x55bb65&&this['_touchedRoots']['set'](_0x23c9ed,_0x55bb65);const _0x4b8f1c=this['_makeIdsRoot'](_0x526944);this['_baseIdsRoots']['set'](_0x23c9ed,_0x4b8f1c);for(const [_0x38c8ec,_0x1d9c6a]of _0x526944['markers']){if(!_0x38c8ec['startsWith']('revision:'))continue;const _0x5de4a9=_0x38c8ec['split'](':')[0x2];for(const _0x66a169 of _0x1d9c6a['getWalker']({'singleCharacters':!0x0})){const _0x51c1b0=this['_getVidAttributeName'](_0x66a169),_0x55d716='elementEnd'==_0x66a169['type']?_0x66a169['previousPosition']['path']['slice'](0x0,-0x1):_0x66a169['previousPosition']['path'],_0x9a95be=_0x4b8f1c['getNodeByPath'](_0x55d716)['getAttribute'](_0x51c1b0);this['_touched']['set'](_0x9a95be,{'userId':_0x5de4a9});}}}this['_startingRevisionId']=this['_revisionId'];const _0x433c9e=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x219f54=>!this['_touched']['has'](_0x219f54));let _0x4774ca=0x0;const _0x12e594=new Map();for(const _0x12606c in _0x378858['diffData']){const _0x2e554c=_0x378858['diffData'][_0x12606c]['attachChange'],_0x14f75f=_0x1387cf(_0x378858['diffData'][_0x12606c]['attributesAfter'])||{},_0x559d1c=this['_makeModelFromViewString'](_0x378858['diffData'][_0x12606c]['insertions']);_0x559d1c['rootName']=_0x12606c,_0x559d1c['_isAttached']=!_0x2e554c||_0x2e554c['isAttached'],_0x559d1c['isAttached']=()=>_0x559d1c['_isAttached'],this['_diffRoots']['set'](_0x12606c,_0x559d1c),this['_diffRootsAttributes']['set'](_0x12606c,_0x14f75f);const _0x4aa451=this['_makeIdsRoot'](_0x559d1c,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x12606c,_0x4aa451),_0x12e594['set'](_0x12606c,_0x559d1c['isAttached']()?_0x14f75f:{});for(const [_0x27f179,_0x55d747]of _0x559d1c['markers']){if(!_0x27f179['startsWith']('revision:'))continue;const _0x5858f9=_0x27f179['split'](':')[0x2];for(const _0x476592 of _0x55d747['getWalker']({'singleCharacters':!0x0})){const _0x10b6e5=this['_getVidAttributeName'](_0x476592),_0x11b644=this['_revisionId']++,_0xf32c10='elementEnd'==_0x476592['type']?_0x476592['previousPosition']['path']['slice'](0x0,-0x1):_0x476592['previousPosition']['path'];_0x4aa451['getNodeByPath'](_0xf32c10)['_setAttribute'](_0x10b6e5,_0x11b644),this['_touched']['set'](_0x11b644,{'userId':_0x5858f9});}}for(const _0x217693 of this['editor']['model']['createRangeIn'](_0x559d1c)['getWalker']({'singleCharacters':!0x0})){const _0x2af66b=this['_getVidAttributeName'](_0x217693),_0x4f18f5='elementEnd'==_0x217693['type']?_0x217693['previousPosition']['path']['slice'](0x0,-0x1):_0x217693['previousPosition']['path'],_0x4a2400=_0x4aa451['getNodeByPath'](_0x4f18f5);_0x4a2400['getAttribute'](_0x2af66b)>0x0||_0x4a2400['_setAttribute'](_0x2af66b,_0x433c9e[_0x4774ca++]);}for(const [_0x163d08,_0x4d20bc]of _0x559d1c['markers'])_0x163d08['startsWith']('revision:')||this['_markers']['set'](_0x163d08,_0x4d20bc);}const _0x17fc94=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x17fc94),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x17fc94,0x1));const _0x37058f=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x37058f),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x37058f,0x1));const _0x5db8b1=Array['from'](this['_diffRoots'])['map'](([_0x3dda5c,_0x393eae])=>[_0x3dda5c,q(_0x393eae)]);this['_saveMetaData'](this['_lastTo'],_0x5db8b1,this['_markers'],_0x12e594);}['_makeModelFromViewString'](_0x3f5beb){const _0x1237ff=JSON['parse'](_0x3f5beb),_0x264fe1=this['editor']['editing']['view']['document'],_0x4bf3ef=new _0x55c919(_0x264fe1,_0x1237ff['map'](_0x2edcad=>B(_0x2edcad,this['editor'])));return this['editor']['data']['toModel'](_0x4bf3ef);}['_saveMetaData'](_0x22f79e,_0x292bf5,_0x573345,_0x26a017){const _0x39095e=new Map(_0x292bf5),_0x59e1d7=new Map(_0x1387cf(_0x26a017)),_0x3e2811=new Map();for(const [_0x3f0d8e,_0x50f862]of _0x573345)_0x3e2811['set'](_0x3f0d8e,{'start':_0x50f862['start']['clone'](),'end':_0x50f862['end']['clone'](),'rootName':_0x50f862['root']['rootName']});this['_savedMetaData']['set'](_0x22f79e,{'roots':_0x39095e,'markers':_0x3e2811,'rootsAttributes':_0x59e1d7});}['_removeMetaData'](_0x2d3cc6){this['_savedMetaData']['delete'](_0x2d3cc6);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_reset'](){this['_touched']['clear'](),this['_touchedMarkers']['clear'](),this['_touchedRoots']['clear'](),this['_diffRoots']['clear'](),this['_diffRootsAttributes']['clear'](),this['_baseRoots']['clear'](),this['_baseRootsAttributes']['clear'](),this['_idsRoots']['clear'](),this['_baseIdsRoots']['clear'](),this['_markers']['clear'](),this['_revisionId']=0x1,this['_startingRevisionId']=this['_revisionId'];}['_makeIdsRoot'](_0x5b29b4,_0x1b87b7=null){let _0x2b6ee3=null;_0x5b29b4['is']('documentFragment')||(_0x2b6ee3=new ft(_0x5b29b4['name'],{'vid_start':null===_0x1b87b7?this['_revisionId']++:_0x1b87b7++}));const _0x1a0fe8=[];for(const _0x34fd4b of _0x5b29b4['getChildren']())if(_0x34fd4b['is']('element')){_0x1a0fe8['push'](this['_makeIdsRoot'](_0x34fd4b,_0x1b87b7));const _0x4cf6e1=_0x1a0fe8[_0x1a0fe8['length']-0x1];null!==_0x1b87b7&&(_0x1b87b7=_0x4cf6e1['is']('element','$text')?_0x4cf6e1['getAttribute']('vid')+0x1:_0x4cf6e1['getAttribute']('vid_end')+0x1);}else{for(let _0x396dac=0x0;_0x396dac<_0x34fd4b['offsetSize'];_0x396dac++)_0x1a0fe8['push'](new ft('$text',{'vid':null===_0x1b87b7?this['_revisionId']++:_0x1b87b7++}));}if(_0x5b29b4['is']('documentFragment')){const _0x564c75=G(_0x5b29b4['rootName']);return _0x564c75['_insertChild'](0x0,_0x1a0fe8),_0x564c75;}return _0x2b6ee3['_setAttribute']('vid_end',null===_0x1b87b7?this['_revisionId']++:_0x1b87b7++),_0x2b6ee3['_insertChild'](0x0,_0x1a0fe8),_0x2b6ee3;}['_calculateMetaData'](_0x3fdb1e,_0x1fe0d9,_0xf8e93f){this['_reset']();const {roots:_0x18bb31,markers:_0x7216da,rootsAttributes:_0x1bd003}=this['_savedMetaData']['get'](_0x3fdb1e);this['_baseRoots']=new Map(_0x18bb31),this['_baseRootsAttributes']=new Map(_0x1387cf(_0x1bd003));for(const [_0x2d2007,_0x16753c]of this['_baseRoots'])if('$graveyard'!==_0x2d2007&&(this['_diffRoots']['set'](_0x2d2007,q(_0x16753c)),this['_diffRootsAttributes']=new Map(_0x1387cf(_0x1bd003)),_0xf8e93f)){const _0x3a80bd=this['_revisionId'];this['_idsRoots']['set'](_0x2d2007,this['_makeIdsRoot'](_0x16753c)),this['_baseIdsRoots']['set'](_0x2d2007,this['_makeIdsRoot'](_0x16753c,_0x3a80bd));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0xf8e93f&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x45746a,_0x56cc5c]of _0x7216da){const _0x78108b=this['_baseRoots']['get'](_0x56cc5c['rootName']),_0x2c2741=this['_diffRoots']['get'](_0x56cc5c['rootName']),_0x258518=new vt(this['_fixPosition'](_0x56cc5c['start'],_0x78108b),this['_fixPosition'](_0x56cc5c['end'],_0x78108b)),_0xc58b9c=this['_fixRange'](_0x258518,_0x2c2741);_0x78108b['markers']['set'](_0x45746a,_0x258518),this['_markers']['set'](_0x45746a,_0xc58b9c);}this['_applyOperations'](_0x3fdb1e,_0x1fe0d9,_0xf8e93f);}['_applyOperations'](_0x4583b6,_0x4cdcb7,_0x440f74){for(const _0x29d044 of this['source']['getOperations'](_0x4583b6,_0x4cdcb7))this['_handleOperation'](_0x29d044,_0x440f74);for(const _0x3319ba of this['_diffRoots']['values']())_0x3319ba['markers']['clear']();for(const [_0x1f3f93,_0x27189f]of this['_markers']){this['_diffRoots']['get'](_0x27189f['root']['rootName'])['markers']['set'](_0x1f3f93,_0x27189f['clone']());}const _0xf7ceb5=new Map(),_0x152d2e=new Map();for(const [_0x982ce5,_0x10795c]of this['_diffRoots'])_0xf7ceb5['set'](_0x982ce5,q(_0x10795c)),_0x152d2e['set'](_0x982ce5,this['_diffRootsAttributes']['get'](_0x982ce5));this['_saveMetaData'](_0x4cdcb7,_0xf7ceb5,this['_markers'],_0x152d2e);}['_getPreviousFrom'](_0x51cd22){const _0x3c5cd6=Array['from'](this['_savedMetaData']['keys']());_0x3c5cd6['sort']((_0x1f2c83,_0x5de2e9)=>_0x1f2c83-_0x5de2e9),_0x3c5cd6['reverse']();for(const _0x542819 of _0x3c5cd6)if(_0x542819<_0x51cd22)return _0x542819;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x5abc20,_0x4ca97d){const _0x140ca0=Array['from'](_0x4ca97d['markers'])['map'](([_0x4547cf,_0x34ee57])=>[_0x4547cf,this['_fixRange'](_0x34ee57,_0x5abc20)]);_0x5abc20['markers']=new Map(_0x140ca0);}['_transformMarkers'](_0x337c92){for(const _0x46b1e8 of this['_markers']['values']()){const _0x486ef7=_0x46b1e8['getTransformedByOperation'](_0x337c92),_0x25e5e8=vt['_createFromRanges'](_0x486ef7);_0x46b1e8['start']=_0x25e5e8['start'],_0x46b1e8['end']=_0x25e5e8['end'];}}['_handleOperation'](_0x3b3dd7,_0x55aff8){if('addRoot'==_0x3b3dd7['type']||'detachRoot'==_0x3b3dd7['type'])return void this['_handleRootOperation'](_0x3b3dd7,_0x55aff8);if('insert'==_0x3b3dd7['type']){const _0x2aa808=_0x3b3dd7['position']['root']['rootName'];this['_diffRoots']['has'](_0x2aa808)||(this['_diffRoots']['set'](_0x2aa808,G(_0x2aa808,!0x0)),this['_diffRootsAttributes']['set'](_0x2aa808,{}),_0x55aff8&&this['_idsRoots']['set'](_0x2aa808,G(_0x2aa808,!0x0)));}else{if('addRootAttribute'==_0x3b3dd7['type']||'removeRootAttribute'==_0x3b3dd7['type']||'changeRootAttribute'==_0x3b3dd7['type'])return void this['_handleRootAttributeOperation'](_0x3b3dd7);}const _0x5ba8fb=this['_cloneOperation'](_0x3b3dd7,this['_diffRoots']);if('marker'!==_0x3b3dd7['type']&&(_0x5ba8fb['_execute'](),this['_transformMarkers'](_0x5ba8fb)),_0x55aff8)switch(_0x5ba8fb['type']){case'insert':this['_handleInsertOperation'](_0x3b3dd7);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x3b3dd7);break;case'merge':this['_handleMergeOperation'](_0x3b3dd7);break;case'split':this['_handleSplitOperation'](_0x3b3dd7);break;case'marker':this['_handleMarkerOperation'](_0x3b3dd7);}}['_cloneOperation'](_0x1ca895,_0x4bd163){const _0x2a2180=_0x1ca895['clone']();return _0x2a2180['_authorId']=_0x1ca895['_authorId'],this['_fixOperation'](_0x2a2180,_0x4bd163),_0x2a2180;}['_getBaseVids'](_0x4f9f4a){return _0x4f9f4a['map'](_0x269c8b=>{const _0x443178=this['_getVidAttributeName'](_0x269c8b);return Number(_0x269c8b['item']['getAttribute'](_0x443178));});}['_generateTape'](_0x43c4de,_0x3c7f3b){if(_0x43c4de['is']('element','$text'))_0x3c7f3b['push']({'item':_0x43c4de,'type':'text'});else{_0x43c4de['is']('element')&&_0x3c7f3b['push']({'item':_0x43c4de,'type':'elementStart'});for(const _0x392326 of _0x43c4de['getChildren']())this['_generateTape'](_0x392326,_0x3c7f3b);_0x43c4de['is']('element')&&_0x3c7f3b['push']({'item':_0x43c4de,'type':'elementEnd'});}return _0x3c7f3b;}['_getState'](){const _0xa2d2f6=new Map(this['_touched']),_0x213adf=new Map(_0xa2d2f6),_0x57ae41=new Map(),_0x4e36a5={'insertions':{},'deletions':{}},_0x282aed={'insertions':{},'deletions':{}},_0x53aab7=new Map(),_0x6350b=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x6350b['delete']('$graveyard');for(const _0x2f53f8 of _0x6350b){const _0x4bfe66=this['_diffRoots']['get'](_0x2f53f8)||G(_0x2f53f8,!0x1),_0x251227=this['_baseRoots']['get'](_0x2f53f8)||G(_0x2f53f8,!0x1);_0x4bfe66['isAttached']()||_0x251227['isAttached']()?(_0x4e36a5['insertions'][_0x2f53f8]=q(_0x4bfe66),_0x4e36a5['deletions'][_0x2f53f8]=q(_0x251227),this['_copyMarkers'](_0x4e36a5['deletions'][_0x2f53f8],_0x251227),this['_copyMarkers'](_0x4e36a5['insertions'][_0x2f53f8],_0x4bfe66),_0x282aed['insertions'][_0x2f53f8]=this['_generateTape'](this['_idsRoots']['get'](_0x2f53f8),[]),_0x282aed['deletions'][_0x2f53f8]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x2f53f8)||G(_0x2f53f8,!0x1),[])):_0x6350b['delete'](_0x2f53f8);}for(const _0x12b636 of _0x6350b){const _0x5adf91=_0x282aed['insertions'][_0x12b636];for(const _0x4bcd2a of _0x5adf91){const _0x46863a=this['_getVidAttributeName'](_0x4bcd2a),_0x52bbaf=_0x4bcd2a['item']['getAttribute'](_0x46863a);_0x213adf['delete'](_0x52bbaf),_0x52bbaf>=this['_startingRevisionId']&&_0x57ae41['set'](_0x52bbaf,_0xa2d2f6['get'](_0x52bbaf));}}for(const _0x628f53 of _0x6350b){const _0x4a2e19=_0x282aed['insertions'][_0x628f53],_0x2a9689=this['_getBaseVids'](_0x282aed['deletions'][_0x628f53]);let _0x45a8e8=0x0;for(const _0x13e614 of _0x4a2e19){const _0x55b4d1=this['_getVidAttributeName'](_0x13e614),_0x44e1a2=_0x13e614['item']['getAttribute'](_0x55b4d1);if(!_0x57ae41['has'](_0x44e1a2)&&!_0x53aab7['has'](_0x44e1a2)){if(_0x213adf['has'](_0x44e1a2))_0x45a8e8++;else{if(_0x44e1a2!=_0x2a9689[_0x45a8e8]){const _0x4ce9ca=_0xa2d2f6['get'](_0x44e1a2)||_0xa2d2f6['get'](_0x2a9689[_0x45a8e8]);for(;_0x44e1a2!=_0x2a9689[_0x45a8e8];)_0x213adf['has'](_0x2a9689[_0x45a8e8])||(_0x53aab7['set'](_0x2a9689[_0x45a8e8],_0x4ce9ca),_0xa2d2f6['set'](_0x2a9689[_0x45a8e8],_0x4ce9ca)),_0x45a8e8++;}_0x45a8e8++;}}}}for(const _0x346d52 of _0x6350b){const _0x3ce599=_0x282aed['insertions'][_0x346d52];for(const _0xe380b of _0x3ce599){const _0x1c1410=this['_getVidAttributeName'](_0xe380b),_0x7ab24=_0xe380b['item']['getAttribute'](_0x1c1410);if(_0x53aab7['has'](_0x7ab24)){const _0x534834=_0x53aab7['get'](_0x7ab24);_0x213adf['has'](_0x7ab24)||_0x213adf['set'](_0x7ab24,{..._0x534834}),_0x57ae41['set'](_0x7ab24,{..._0x534834});}}}for(const _0x4fc67d of _0x213adf['keys']())_0x4fc67d>=this['_startingRevisionId']&&_0x213adf['delete'](_0x4fc67d);const _0x33936d=new Map();for(const _0x1bae53 of _0x6350b){let _0x163164=_0x282aed['insertions'][_0x1bae53];for(const _0x30b4e3 of _0x163164)if(_0x30b4e3['item']['is']('element','tableCell')){const _0x2bcec8=this['_getVidAttributeName'](_0x30b4e3),_0x2ad4e8=_0x30b4e3['item']['getAttribute'](_0x2bcec8);if(_0x57ae41['has'](_0x2ad4e8)){const _0x4eb12f=_0x30b4e3['item']['parent']['parent']['getAttribute']('vid_start'),_0x26092d=_0x33936d['get'](_0x4eb12f)||new Set();_0x26092d['add'](_0x57ae41['get'](_0x2ad4e8)['userId']),_0x33936d['set'](_0x4eb12f,_0x26092d);}}_0x163164=_0x282aed['deletions'][_0x1bae53];for(const _0xb40614 of _0x163164)if(_0xb40614['item']['is']('element','tableCell')){const _0x45de85=this['_getVidAttributeName'](_0xb40614),_0x3ede95=_0xb40614['item']['getAttribute'](_0x45de85);if(_0x213adf['has'](_0x3ede95)){const _0x552d83=_0xb40614['item']['parent']['parent']['getAttribute']('vid_start'),_0x1d1487=_0x33936d['get'](_0x552d83)||new Set();_0x1d1487['add'](_0x213adf['get'](_0x3ede95)['userId']),_0x33936d['set'](_0x552d83,_0x1d1487);}}for(const _0x567844 of _0x33936d['keys']())(_0x57ae41['has'](_0x567844)||_0x213adf['has'](_0x567844))&&_0x33936d['delete'](_0x567844);}for(const _0xe51fe2 of _0x6350b){const _0x4b9acb=_0x282aed['insertions'][_0xe51fe2];let _0x306548=null,_0x1d4990=null;for(const _0x549af1 of _0x4b9acb){const _0x22e655=this['_getVidAttributeName'](_0x549af1),_0x55454c=_0x549af1['item']['getAttribute'](_0x22e655),_0x4ebefd=_0x33936d['get'](_0x55454c);_0x4ebefd&&'elementStart'==_0x549af1['type']&&(_0x306548=Array['from'](_0x4ebefd)[0x0],_0x1d4990=_0x549af1['item']['getAttribute']('vid_end')),_0x306548&&(_0x213adf['set'](_0x55454c,{'userId':_0x306548}),_0x57ae41['set'](_0x55454c,{'userId':_0x306548})),_0x55454c==_0x1d4990&&(_0x306548=null,_0x1d4990=null);}}const _0x3ea339={},_0x279878=new Set();for(const _0x43cff1 of _0x6350b){const _0x251b76=_0x4e36a5['deletions'][_0x43cff1],_0x1d0df2=_0x4e36a5['insertions'][_0x43cff1];for(const {userId:_0x582af8}of this['_touchedMarkers']['values']())null!==_0x582af8&&_0x279878['add'](_0x582af8);for(const {userId:_0x282a32}of this['_touchedRoots']['values']())null!==_0x282a32&&_0x279878['add'](_0x282a32);this['_markChanges'](_0x1d0df2,_0x282aed['insertions'][_0x43cff1],_0x57ae41,'insertion',_0x279878),this['_markChanges'](_0x251b76,_0x282aed['deletions'][_0x43cff1],_0x213adf,'deletion',_0x279878),_0x3ea339[_0x43cff1]={'insertions':this['_prepareViewToSave'](_0x1d0df2),'deletions':this['_prepareViewToSave'](_0x251b76),'attachChange':this['_touchedRoots']['get'](_0x43cff1)||null,'attributesBefore':_0x1387cf(this['_baseRootsAttributes']['get'](_0x43cff1))||{},'attributesAfter':_0x1387cf(this['_diffRootsAttributes']['get'](_0x43cff1))};}return{'diffData':_0x3ea339,'authorsIds':Array['from'](_0x279878)};}['_processRootBeforeSave'](_0x262018){for(const [,_0x10319b]of _0x262018['markers']){const _0x165214=_0x10319b['start']['getAncestors']()['filter'](_0x5479ee=>'tableCell'==_0x5479ee['name']);for(const _0x13a8e5 of _0x165214)0x1==_0x13a8e5['childCount']&&_0x13a8e5['getChild'](0x0)['is']('element','paragraph')&&_0x13a8e5['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x238e33){this['_processRootBeforeSave'](_0x238e33);const _0xff7788=this['editor']['data']['toView'](_0x238e33,{}),_0x2f92a5=Array['from'](_0xff7788['getChildren']())['map'](_0x4e7902=>this['_getViewJson'](_0x4e7902));return JSON['stringify'](_0x2f92a5);}['_getViewJson'](_0x49eba0){if(_0x49eba0['is']('$text'))return _0x49eba0['data'];{const _0x3dd6ba=_0x49eba0;return{'type':Object['keys'](T)['find'](_0x312e26=>_0x49eba0 instanceof T[_0x312e26]),'name':_0x3dd6ba['name'],'attributes':Array['from'](_0x3dd6ba['getAttributes']()),'children':Array['from'](_0x3dd6ba['getChildren']())['map'](_0x34febc=>this['_getViewJson'](_0x34febc))};}}['_markChanges'](_0x3e0149,_0x4b210f,_0x10fe9f,_0x4335c8,_0x5005a0){let _0x24d98c=null,_0x246a9c=null,_0x192220=0x0;const _0x3d5a72=this['editor']['model'];for(let _0x82dcee=0x0;_0x82dcee<_0x4b210f['length'];_0x82dcee++){const _0x188486=this['_getVidAttributeName'](_0x4b210f[_0x82dcee]),_0x3e80a7=_0x4b210f[_0x82dcee]['item']['getAttribute'](_0x188486),_0x26e21a=_0x10fe9f['get'](_0x3e80a7),_0x16e126=_0x82dcee==_0x4b210f['length']-0x1;(!_0x24d98c&&_0x26e21a&&(_0x24d98c=_0x26e21a,_0x246a9c=_0x4b210f[_0x82dcee]),_0x24d98c&&(!_0x26e21a||_0x26e21a['userId']!=_0x24d98c['userId']))&&(_0x22b222(_0x26e21a,L(_0x246a9c,_0x3e0149,_0x3d5a72),L(_0x4b210f[_0x82dcee],_0x3e0149,_0x3d5a72)),_0x24d98c=_0x26e21a||null,_0x246a9c=_0x26e21a?_0x4b210f[_0x82dcee]:null),_0x24d98c&&_0x16e126&&_0x22b222(_0x26e21a,L(_0x246a9c,_0x3e0149,_0x3d5a72),W(_0x4b210f[_0x82dcee],_0x3e0149,_0x3d5a72));}function _0x22b222(_0x6e96bb,_0x4d8414,_0x398753){const _0x5827db=_0x24d98c['userId'],_0x289558='revision:'+_0x4335c8+':'+_0x5827db+':'+_0x192220++,_0x44c38f=_0x3d5a72['createRange'](_0x4d8414,_0x398753);_0x3e0149['markers']['set'](_0x289558,_0x44c38f),null!==_0x5827db&&_0x5005a0['add'](_0x5827db);}}['_getVidAttributeName'](_0xfb3129){switch(_0xfb3129['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x10f751,_0x50211f){_0x10f751['baseVersion']=null;for(const _0x56c26f in _0x10f751){const _0x2d1851=_0x10f751[_0x56c26f];if(_0x2d1851 instanceof gt){const _0x3a7bba=_0x50211f['get'](_0x2d1851['root']['rootName']);_0x10f751[_0x56c26f]=this['_fixPosition'](_0x2d1851,_0x3a7bba);}if(_0x2d1851 instanceof vt){const _0x49f386=_0x50211f['get'](_0x2d1851['root']['rootName']);_0x10f751[_0x56c26f]=this['_fixRange'](_0x2d1851,_0x49f386);}'root'===_0x56c26f&&(_0x10f751['root']=_0x50211f['get'](_0x10f751['root']['rootName']));}}['_fixRange'](_0x6343a9,_0x218ea7){return this['editor']['model']['createRange'](this['_fixPosition'](_0x6343a9['start'],_0x218ea7),this['_fixPosition'](_0x6343a9['end'],_0x218ea7));}['_fixPosition'](_0x5f2529,_0x44c03d){return this['editor']['model']['createPositionFromPath'](_0x44c03d,_0x5f2529['path'],_0x5f2529['stickiness']);}['_handleInsertOperation'](_0x4b328b){const _0x4e30da=this['_idsRoots']['get'](_0x4b328b['position']['root']['rootName']),_0x3e26eb=this['_fixPosition'](_0x4b328b['position'],_0x4e30da),_0x3844eb=null===_0x4b328b['_authorId']?null:_0x4b328b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x19b68b=_0x3e26eb['parent'],_0x139e82=this['_revisionId'],_0x589f92=[];for(const _0x1adeaf of _0x4b328b['nodes'])if(_0x1adeaf['is']('element'))_0x589f92['push'](this['_makeIdsRoot'](_0x1adeaf));else{for(let _0x288c2f=0x0;_0x288c2f<_0x1adeaf['offsetSize'];_0x288c2f++)_0x589f92['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x3529d6=this['_revisionId'];for(let _0xaa4a85=_0x139e82;_0xaa4a85<_0x3529d6;_0xaa4a85++)this['_touched']['set'](_0xaa4a85,{'userId':_0x3844eb});_0x19b68b['_insertChild'](_0x3e26eb['offset'],_0x589f92);}['_handleMoveOperation'](_0x528c7c){(_0x528c7c=this['_cloneOperation'](_0x528c7c,this['_idsRoots']))['_execute']();const _0x4e5215=null===_0x528c7c['_authorId']?null:_0x528c7c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3d3485=_0x528c7c['getMovedRangeStart'](),_0x3dfe20=_0x3d3485['parent'],_0x597bd4=_0x3d3485['offset'];!function _0xce7a11(_0x23ba36,_0x25c27a,_0x458de2,_0x5b036e){for(let _0x5236ed=_0x458de2;_0x5236ed<_0x5b036e;_0x5236ed++){const _0x4a28d8=_0x25c27a['getChild'](_0x5236ed);_0x4a28d8['is']('element','$text')?_0x23ba36['set'](_0x4a28d8['getAttribute']('vid'),{'userId':_0x4e5215}):(_0x23ba36['set'](_0x4a28d8['getAttribute']('vid_start'),{'userId':_0x4e5215}),_0xce7a11(_0x23ba36,_0x4a28d8,0x0,_0x4a28d8['childCount']),_0x23ba36['set'](_0x4a28d8['getAttribute']('vid_end'),{'userId':_0x4e5215}));}}(this['_touched'],_0x3dfe20,_0x597bd4,_0x597bd4+_0x528c7c['howMany']);}['_handleMergeOperation'](_0x4d14a5){const _0x4cf121=null===(_0x4d14a5=this['_cloneOperation'](_0x4d14a5,this['_idsRoots']))['_authorId']?null:_0x4d14a5['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1e8679=_0x4d14a5['targetPosition']['parent'],_0x106ac2=_0x4d14a5['sourcePosition']['parent'],_0x433ba1=_0x1e8679['getAttribute']('vid_end'),_0x34bc6d=_0x106ac2['getAttribute']('vid_start');_0x1e8679['_setAttribute']('vid_end',_0x106ac2['getAttribute']('vid_end')),_0x106ac2['_setAttribute']('vid_end',_0x433ba1),this['_touched']['set'](_0x34bc6d,{'userId':_0x4cf121}),this['_touched']['set'](_0x433ba1,{'userId':_0x4cf121}),_0x4d14a5['_execute']();}['_handleSplitOperation'](_0xbad37b){const _0x1bf278=null===(_0xbad37b=this['_cloneOperation'](_0xbad37b,this['_idsRoots']))['_authorId']?null:_0xbad37b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2701fd=_0xbad37b['graveyardPosition'],_0x53421f=_0xbad37b['splitPosition']['parent'];_0xbad37b['_execute']();const _0x3907cc=_0x53421f['getAttribute']('vid_end'),_0x1f82e6=_0xbad37b['insertionPosition']['nodeAfter'];if(_0x2701fd){const _0x277639=_0x1f82e6['getAttribute']('vid_end'),_0x380998=_0x53421f['getAttribute']('vid_end');_0x53421f['_setAttribute']('vid_end',_0x277639),_0x1f82e6['_setAttribute']('vid_end',_0x380998),this['_touched']['set'](_0x53421f['getAttribute']('vid_end'),{'userId':_0x1bf278}),this['_touched']['set'](_0x1f82e6['getAttribute']('vid_start'),{'userId':_0x1bf278});}else{const _0x10df0d=this['_revisionId']++,_0x5d8b05=this['_revisionId']++;_0x53421f['_setAttribute']('vid_end',_0x10df0d),_0x1f82e6['_setAttribute']('vid_start',_0x5d8b05),_0x1f82e6['_setAttribute']('vid_end',_0x3907cc),this['_touched']['set'](_0x10df0d,{'userId':_0x1bf278}),this['_touched']['set'](_0x5d8b05,{'userId':_0x1bf278});}}['_handleMarkerOperation'](_0xace30f){if(!_0xace30f['affectsData'])return;const _0x68bfdc=(_0xace30f=this['_cloneOperation'](_0xace30f,this['_diffRoots']))['oldRange']?_0xace30f['oldRange']['root']:null,_0x55b3c0=_0xace30f['newRange']?_0xace30f['newRange']['root']:null;_0x68bfdc&&this['_markers']['delete'](_0xace30f['name']),_0x55b3c0&&this['_markers']['set'](_0xace30f['name'],_0xace30f['newRange']['clone']());const _0x57725b=null===_0xace30f['_authorId']?null:_0xace30f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x29611c=_0xace30f['name'];if(!this['_touchedMarkers']['has'](_0x29611c))return void this['_touchedMarkers']['set'](_0x29611c,{'range':_0xace30f['oldRange'],'userId':_0x57725b});const _0x39cbf8=this['_touchedMarkers']['get'](_0x29611c),_0x2f6d12=_0x39cbf8['range'],_0x5b9fca=_0xace30f['newRange'];null==_0x2f6d12&&null==_0x5b9fca||_0x2f6d12&&_0x5b9fca&&_0x2f6d12['isEqual'](_0x5b9fca)?this['_touchedMarkers']['delete'](_0xace30f['name']):_0x39cbf8['userId']=_0x57725b;}['_handleRootOperation'](_0x71f4f3,_0x306232){this['_diffRoots']['has'](_0x71f4f3['rootName'])?this['_diffRoots']['get'](_0x71f4f3['rootName'])['_isAttached']=_0x71f4f3['isAdd']:(this['_diffRoots']['set'](_0x71f4f3['rootName'],G(_0x71f4f3['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x71f4f3['rootName'],{}),_0x306232&&this['_idsRoots']['set'](_0x71f4f3['rootName'],G(_0x71f4f3['rootName'],!0x0)));const _0x1fa78c=null===_0x71f4f3['_authorId']?null:_0x71f4f3['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x17a47b=this['_touchedRoots']['get'](_0x71f4f3['rootName']);_0x17a47b&&_0x17a47b['userId']===_0x1fa78c?this['_touchedRoots']['delete'](_0x71f4f3['rootName']):this['_touchedRoots']['set'](_0x71f4f3['rootName'],{'userId':_0x1fa78c,'isAttached':_0x71f4f3['isAdd']});}['_handleRootAttributeOperation'](_0x11ab9b){const _0x5d3195=this['_diffRootsAttributes']['get'](_0x11ab9b['root']['rootName']);null===_0x11ab9b['newValue']?delete _0x5d3195[_0x11ab9b['key']]:_0x5d3195[_0x11ab9b['key']]=_0x11ab9b['newValue'];}}function q(_0x13417b){const _0x35d223=G(_0x13417b['rootName'],_0x13417b['isAttached']());for(const _0x358c29 of _0x13417b['getChildren']()){const _0x2da3bc=_0x358c29['_clone'](!0x0);_0x35d223['_appendChild'](_0x2da3bc);}return _0x35d223;}function G(_0x5234a0,_0xc74c82=!0x0){const _0x656a51=new wt();return _0x656a51['rootName']=_0x5234a0,_0x656a51['_isAttached']=_0xc74c82,_0x656a51['isAttached']=()=>_0x656a51['_isAttached'],_0x656a51;}function L(_0x22b9f3,_0x79381b,_0x5de631){const _0x5a795a='elementEnd'==_0x22b9f3['type']?_0x5de631['createPositionAt'](_0x22b9f3['item'],'end'):_0x5de631['createPositionBefore'](_0x22b9f3['item']);return _0x5de631['createPositionFromPath'](_0x79381b,_0x5a795a['path'],_0x5a795a['stickiness']);}function W(_0x2ba3a4,_0x44a226,_0x3f04d2){const _0x5a78e4='elementStart'==_0x2ba3a4['type']?_0x3f04d2['createPositionAt'](_0x2ba3a4['item'],0x0):_0x3f04d2['createPositionAfter'](_0x2ba3a4['item']);return _0x3f04d2['createPositionFromPath'](_0x44a226,_0x5a78e4['path'],_0x5a78e4['stickiness']);}class ns extends _0x26e5c9{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x4bba7e,_0x5f2196){super(_0x4bba7e),this['focusTracker']=new _0x32eafd(),this['keystrokes']=new _0x77408e(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x5f2196),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}['render'](){super['render'](),_0x2be6da({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x3ef359=_0xfa8f2a=>_0xfa8f2a['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3ef359),this['keystrokes']['set']('arrowleft',_0x3ef359),this['keystrokes']['set']('arrowup',_0x3ef359),this['keystrokes']['set']('arrowdown',_0x3ef359);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x378b0d){this['revisionNameInputView']['fieldView']['element']['value']=_0x378b0d['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x5e16e){const _0x5c06e4=new at(this['locale'],_0x9e4e7d),_0x45bfea=_0x5c06e4['fieldView'];_0x45bfea['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x5b65c2=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x5e16e&&(_0x5b65c2+='\x20('+y(this['locale'],'optional')+')'),(_0x5c06e4['label']=_0x5b65c2,_0x45bfea['on']('input',()=>{this['revisionNameInputValue']=_0x45bfea['element']['value']['trim']();}),_0x5c06e4);}}class u extends _0x26bd26{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x3bc8fb=this['editor'],_0x2d361a=_0x3bc8fb['plugins']['get']('RevisionTracker');_0x3bc8fb['ui']['componentFactory']['add']('revisionHistory',_0x3c3643=>{const _0x4dc597=_0x369452(_0x3c3643),_0x57776f=_0x4dc597['panelView']['children'],_0x569df0=new te(_0x3c3643),_0x43d716=new _0x21d8fa(_0x3c3643),_0x59e425=new _0x51dfa6(_0x3c3643),_0x135ca1=new _0x21d8fa(_0x3c3643),_0x599965=new _0x51dfa6(_0x3c3643);return _0x4dc597['bind']('isEnabled')['to'](_0x2d361a,'isReady',_0x2d361a,'isEnabled',_0x3bc8fb,'isReadOnly',(_0x569c8a,_0x58bc0d,_0x4f39ac)=>_0x569c8a&&_0x58bc0d&&!_0x4f39ac),_0x4dc597['buttonView']['set']({'icon':_0x3886ba['history'],'label':y(_0x3c3643,'Revision\x20history'),'tooltip':!0x0}),_0x59e425['set']({'label':y(_0x3c3643,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x59e425['bind']('isEnabled')['to'](_0x2d361a,'isReady',_0x2d361a,'isEnabled',_0x3bc8fb,'isReadOnly',(_0x3cb02f,_0x47c683,_0x1939f2)=>_0x3cb02f&&_0x47c683&&!_0x1939f2),_0x59e425['on']('execute',()=>this['_showDialog']()),_0x599965['set']({'label':y(_0x3c3643,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x599965['bind']('isEnabled')['to'](_0x2d361a,'isReady',_0x3bc8fb,'isReadOnly',(_0x4e9e80,_0x172af1)=>_0x4e9e80&&!_0x172af1),_0x599965['on']('execute',()=>{_0x3bc8fb['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x4dc597['isOpen']=!0x1,_0x3bc8fb['editing']['view']['focus']();}),_0x43d716['children']['add'](_0x59e425),_0x135ca1['children']['add'](_0x599965),_0x569df0['role']='menu',_0x569df0['items']['addMany']([_0x43d716,_0x135ca1]),_0x57776f['add'](_0x569df0),_0x4dc597;}),_0x3bc8fb['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x33eccf=this['editor'],_0x579f6c=_0x33eccf['locale'],_0x3db5f7=new _0x41603e(_0x579f6c),_0x304acc=new _0x255e91(_0x579f6c);_0x3db5f7['buttonView']['set']({'icon':_0x3886ba['history'],'label':y(_0x579f6c,'Revision\x20history')});const _0x36b2b8=new _0x514062(_0x579f6c,_0x3db5f7),_0xf35c21=new _0x38f481(_0x579f6c);_0xf35c21['set']({'label':y(_0x579f6c,'Save\x20current\x20revision')}),_0xf35c21['delegate']('execute')['to'](_0x3db5f7),_0xf35c21['on']('execute',()=>{this['_showDialog']();}),_0x36b2b8['children']['add'](_0xf35c21),_0x304acc['items']['add'](_0x36b2b8);const _0x24522f=new _0x514062(_0x579f6c,_0x3db5f7),_0x5f40a6=new _0x38f481(_0x579f6c);return _0x5f40a6['set']({'label':y(_0x579f6c,'Open\x20revision\x20history')}),_0x5f40a6['delegate']('execute')['to'](_0x3db5f7),_0x5f40a6['on']('execute',()=>{_0x33eccf['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x24522f['children']['add'](_0x5f40a6),_0x304acc['items']['add'](_0x24522f),_0x3db5f7['panelView']['children']['add'](_0x304acc),_0x3db5f7;}['_showDialog'](){const _0x27f578=this['editor'],_0x505336=_0x27f578['locale'],t=_0x505336['t'],_0x33dc42=_0x27f578['plugins']['get']('Dialog'),_0x2203de=_0x27f578['plugins']['get']('RevisionTracker');function _0x144606(_0x47d13a){_0x27f578['config']['get']('revisionHistory.requireRevisionName')&&''===_0x47d13a['revisionName']?_0x47d13a['revisionNameInputView']['errorText']=y(_0x505336,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x27f578['plugins']['get'](l)['saveRevision']({'name':_0x47d13a['revisionName']}),_0x33dc42['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x144606(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x33dc42['show']({'id':'findAndReplace','title':y(_0x505336,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x33dc42['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x4d3918){_0x4d3918['bind']('isEnabled')['to'](_0x2203de,'isReady',_0x2203de,'isEnabled',_0x27f578,'isReadOnly',(_0x1da5b1,_0x1c4041,_0x22ab46)=>_0x1da5b1&&_0x1c4041&&!_0x22ab46);},'onExecute':()=>_0x144606(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x469113=this['editor'],_0x103d64=_0x469113['locale'];this['_saveRevisionFormView']=new ns(_0x103d64,_0x469113['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x26e5c9{['changeId'];['_model'];constructor(_0x1c96a7,_0x1b91ca){super(_0x1c96a7),this['_model']=_0x1b91ca,this['changeId']=_0x1b91ca['id'];const _0x2c08af=this['bindTemplate'],_0x2f86dd=y(_0x1c96a7,_0x1b91ca['data']['isSuggestion']?'Suggested\x20by':'add'==_0x1b91ca['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x1b91ca['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x2c08af['to']('type',_0x1195cb=>'ck-revision-change__'+_0x1195cb)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x2f86dd}]},{'text':'\x20'+_0x1b91ca['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends _0x400224(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x294d6a){super(),this['id']=_0x294d6a['id']||_0x535ce0(),this['author']=_0x294d6a['author'],this['type']=_0x294d6a['type'],this['data']=_0x294d6a['data']||{},this['rootName']=_0x294d6a['rootName'],this['set']('createdAt',_0x294d6a['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class f{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x7cf31a,_0x365b19){this['newRevisionId']=_0x7cf31a,this['oldRevisionId']=_0x365b19,this['changes']=new _0xb29b20();}['_setChanges'](_0x102314){for(const _0x5563f0 of _0x102314)this['changes']['add'](_0x5563f0);}}const tt={'c':_0xd63b61,'a':_0x5b8a0f,'e':_0x58419c,'r':_0x4aebd0,'u':_0x575c1f};class d extends _0x26bd26{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x376a85,_0x743844,A];}constructor(_0x1da5f4){super(_0x1da5f4),this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['set']('activeChange',null),this['set']('activeView',null),this['_activeViewTarget']=null,this['set']('diff',null),this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['on']('change:isEnabled',(_0x5c25dd,_0x3b4a28,_0x126212)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x21897d=>{for(const _0x3c7064 of this['editor']['editing']['view']['document']['roots'])_0x126212?_0x21897d['removeClass']('ck-editor__editable__overlay',_0x3c7064):_0x21897d['addClass']('ck-editor__editable__overlay',_0x3c7064);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x109355=>null!==_0x109355),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x37bef2,_0x4135a2,_0x37a6fe)=>_0x37bef2&&_0x37a6fe?_0x4135a2['changes']['getIndex'](_0x37a6fe):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x26e861,_0x34f2df)=>_0x26e861?_0x34f2df['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x743844);}['init'](){const _0x2b7898=this['editor'],_0x56c7d1=new yt(_0x2b7898,{'direction':'backward'}),_0x162158=new yt(_0x2b7898,{'direction':'forward'});(_0x2b7898['commands']['add']('showPreviousChange',_0x56c7d1),_0x2b7898['commands']['add']('showNextChange',_0x162158),_0x2b7898['commands']['add']('restoreRevision',new bt(_0x2b7898)),this['on']('change:numberOfChanges',()=>{_0x56c7d1['refresh'](),_0x162158['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x2b7898['enableReadOnlyMode']('revision-viewer'),_0x2b7898['plugins']['has']('WidgetToolbarRepository'))&&_0x2b7898['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0xf48b4){await this['loadRevisionData'](_0xf48b4);const _0x3bf7cb={};for(const _0x45c917 in _0xf48b4['diffData']){if(_0xf48b4['diffData'][_0x45c917]['attachChange']&&!_0xf48b4['diffData'][_0x45c917]['attachChange']['isAttached'])continue;const _0x64160f=this['_removeRevisionMarkers'](JSON['parse'](_0xf48b4['diffData'][_0x45c917]['insertions'])),_0x16bef6=this['editor']['editing']['view']['document'],_0x4d5c96=new _0x55c919(_0x16bef6,_0x64160f['map'](_0x325478=>this['_getViewObj'](_0x325478)));this['editor']['data']['processor']['useFillerType']('marked'),_0x3bf7cb[_0x45c917]=this['editor']['data']['processor']['toData'](_0x4d5c96),this['editor']['data']['processor']['useFillerType']('default');}return _0x3bf7cb;}async['getRevisionRootsAttributes'](_0x30a1a8){await this['loadRevisionData'](_0x30a1a8);const _0x2dc455={};for(const _0x128149 in _0x30a1a8['diffData'])_0x30a1a8['diffData'][_0x128149]['attachChange']&&!_0x30a1a8['diffData'][_0x128149]['attachChange']['isAttached']||(_0x2dc455[_0x128149]=_0x30a1a8['diffData'][_0x128149]['attributesAfter']||{});return _0x2dc455;}['_removeRevisionMarkers'](_0x20ac92){return(_0x20ac92=_0x20ac92['filter'](_0x4935f2=>!_0x4935f2['name']||'revision-start'!==_0x4935f2['name']&&'revision-end'!==_0x4935f2['name']))['forEach'](_0x232add=>{'string'!=typeof _0x232add&&(_0x232add['children']=this['_removeRevisionMarkers'](_0x232add['children']),_0x232add['attributes']=_0x232add['attributes']['filter'](_0x1599ac=>!_0x1599ac[0x0]['startsWith']('data-revision-')));}),_0x20ac92;}async['compare'](_0x284233,_0x231fbc,_0xd165c8=!0x1){if(!this['isEnabled'])return;const _0x557638=this['diff'],_0x460e8a=this['repository'],_0x466a80='string'==typeof _0x284233?_0x460e8a['getRevision'](_0x284233):_0x284233,_0x20fc9b='string'==typeof _0x231fbc?_0x460e8a['getRevision'](_0x231fbc):_0x231fbc,_0x29b95a=_0x466a80['id'],_0x31aa2d=_0x20fc9b?_0x20fc9b['id']:null;if(!_0xd165c8&&this['diff']&&this['diff']['newRevisionId']===_0x29b95a&&this['diff']['oldRevisionId']===_0x31aa2d)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x29b95a,_0x31aa2d);const _0x4fb81f=this['_getRevisionsRange'](_0x466a80,_0x20fc9b,!0x0)['map'](_0x463892=>this['loadRevisionData'](_0x463892));return _0x4fb81f['push'](new Promise(_0x443880=>{setTimeout(_0x443880,0x14);})),Promise['all'](_0x4fb81f)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x573391=this['_getDiff'](_0x29b95a,_0x31aa2d);for(const _0x2d4c2f of _0x573391['changes'])this['_changeIdToChange']['set'](_0x2d4c2f['id'],_0x2d4c2f);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x29e392=>{for(const _0x621fd3 of this['editor']['model']['document']['getRootNames']())_0x29e392['detachRoot'](_0x621fd3);for(const _0x4a7ecd of Object['keys'](_0x573391['model'])){const _0x20d495=_0x29e392['addRoot'](_0x4a7ecd);for(const _0x577eeb of Object['keys'](_0x573391['attributes'][_0x4a7ecd]))_0x29e392['setAttribute'](_0x577eeb,_0x573391['attributes'][_0x4a7ecd][_0x577eeb],_0x20d495);_0x29e392['insert'](_0x573391['model'][_0x4a7ecd],_0x20d495,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x573391['changes'])),this['isReady']=!0x0;})['catch'](_0x21f007=>{console['error'](_0x21f007),this['_cleanUp'](),_0x557638&&(this['diff']=_0x557638),this['isReady']=!0x0;});}['addRevisionData'](_0x5ca776,_0x4d8694){const _0x260320=this['repository']['createRevision'](_0x5ca776);return _0x260320['on']('_update',(_0x56e68a,_0x4bde6d,_0x9dd953)=>_0x4d8694(_0x4bde6d,_0x9dd953,_0x260320)),this['repository']['addRevision'](_0x260320),_0x260320;}['loadRevisionData'](_0x26f0a0){if(!_0x26f0a0||_0x26f0a0['diffData'])return Promise['resolve']();{const _0x4308b5=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x4308b5,'revisionId':_0x26f0a0['id']})['then'](_0x3ff68a=>{_0x26f0a0['_update']({'diffData':_0x3ff68a['diffData']},!0x0);});}}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0xfadc42=>{for(const _0x9087dd of this['editor']['model']['document']['getRootNames']())_0xfadc42['detachRoot'](_0x9087dd);});}['_sortAndFilterDiffChanges'](_0x275f0b){const _0xa6de6e=[],_0x1ce748=new Map();for(const _0x45bfbf of this['editor']['model']['document']['getRootNames']()){const _0x53338b=this['editor']['editing']['view']['getDomRoot'](_0x45bfbf);if(!_0x53338b)continue;const _0x39e524=_0x53338b['getClientRects']()['item'](0x0);_0x39e524&&(_0xa6de6e['push'](_0x45bfbf),_0x1ce748['set'](_0x45bfbf,_0x39e524));}return _0xa6de6e['sort']((_0x4bfc45,_0x33c6a2)=>{const _0x5b6f28=_0x1ce748['get'](_0x4bfc45),_0xcf25a9=_0x1ce748['get'](_0x33c6a2);return _0x5b6f28['y']-_0xcf25a9['y']||_0x5b6f28['x']-_0xcf25a9['x'];}),(_0x275f0b=_0x275f0b['filter'](_0x3512ab=>_0xa6de6e['includes'](_0x3512ab['rootName'])))['sort']((_0x444d07,_0x6a507)=>_0xa6de6e['indexOf'](_0x444d07['rootName'])-_0xa6de6e['indexOf'](_0x6a507['rootName'])),_0x275f0b;}['_makeTape'](_0x1848ad){const _0x5daf5d=Array['from'](_0x1848ad['markers'])['filter'](([_0x18acdb,_0x3d27e4])=>_0x18acdb['startsWith']('revision:')&&!_0x3d27e4['isCollapsed']),_0x241153=Array['from'](this['editor']['model']['createRangeIn'](_0x1848ad)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x5daf5d['length'])for(const _0x3a5f87 of _0x241153){const [_0x1da1e8,_0x2876c3]=_0x5daf5d[0x0],[,_0x5debfd,_0xedb13a]=_0x1da1e8['split'](':');if(_0x2876c3['end']['isEqual'](_0x3a5f87['nextPosition'])&&_0x5daf5d['shift'](),(_0x3a5f87['previousPosition']['isEqual'](_0x2876c3['start'])||_0x3a5f87['previousPosition']['isAfter'](_0x2876c3['start']))&&('insertion'==_0x5debfd?_0x3a5f87['isAdded']={'userId':_0xedb13a}:'deletion'==_0x5debfd&&(_0x3a5f87['isRemoved']={'userId':_0xedb13a})),0x0==_0x5daf5d['length'])break;}return _0x241153;}['_refreshStartEndIndex'](_0x719d13){const _0x3193c8=new Map();for(let _0x91ce7a=0x0;_0x91ce7a<_0x719d13['length'];_0x91ce7a++)'text'===_0x719d13[_0x91ce7a]['type']?(_0x719d13[_0x91ce7a]['item']['startIndex']=_0x91ce7a,_0x719d13[_0x91ce7a]['item']['endIndex']=_0x91ce7a):('elementStart'===_0x719d13[_0x91ce7a]['type']?_0x719d13[_0x91ce7a]['item']['startIndex']=_0x91ce7a:'elementEnd'===_0x719d13[_0x91ce7a]['type']&&(_0x719d13[_0x91ce7a]['item']['endIndex']=_0x91ce7a),_0x3193c8['set'](_0x719d13[_0x91ce7a]['id'],_0x91ce7a));for(const _0xa0eb37 of _0x3193c8['values']())'elementStart'===_0x719d13[_0xa0eb37]['type']?_0x719d13[_0xa0eb37]['item']['endIndex']=_0x3193c8['get'](_0x719d13[_0xa0eb37]['pairId']):'elementEnd'===_0x719d13[_0xa0eb37]['type']&&(_0x719d13[_0xa0eb37]['item']['startIndex']=_0x3193c8['get'](_0x719d13[_0xa0eb37]['pairId']));}['_processTape'](_0x5b3356){for(let _0x1d4d97=0x0;_0x1d4d97<_0x5b3356['length'];_0x1d4d97++){if('elementStart'===_0x5b3356[_0x1d4d97]['type'])_0x5b3356[_0x1d4d97]['item']['startIndex']=_0x1d4d97;else{if('elementEnd'===_0x5b3356[_0x1d4d97]['type']){_0x5b3356[_0x1d4d97]['item']['endIndex']=_0x1d4d97;const _0x1f7fd4=_0x5b3356[_0x1d4d97]['item']['startIndex'];_0x5b3356[_0x1f7fd4]['pairId']=_0x5b3356[_0x1d4d97]['id'],_0x5b3356[_0x1d4d97]['pairId']=_0x5b3356[_0x1f7fd4]['id'];}else _0x5b3356[_0x1d4d97]['item']['startIndex']=_0x1d4d97,_0x5b3356[_0x1d4d97]['item']['endIndex']=_0x1d4d97,_0x5b3356[_0x1d4d97]['pairId']=null;}_0x5b3356[_0x1d4d97]['markersStart']||(_0x5b3356[_0x1d4d97]['markersStart']=[],_0x5b3356[_0x1d4d97]['markersEnd']=[]);}}['_markInsertions'](_0x1374a2,_0x3d74e8){const _0x5d55c6=_0x1374a2['filter'](_0x4d4839=>!_0x4d4839['isAdded']);for(let _0x11a86b=0x0;_0x11a86b<_0x3d74e8['length'];_0x11a86b++)_0x3d74e8[_0x11a86b]['isAdded']&&(_0x5d55c6[_0x11a86b]['isAdded']=_0x3d74e8[_0x11a86b]['isAdded']);}['_makeModelFromViewString'](_0x385ff9){const _0x25b4bf=JSON['parse'](_0x385ff9),_0x1dd588=this['editor']['editing']['view']['document'],_0xe28477=new _0x55c919(_0x1dd588,_0x25b4bf['map'](_0x330ef0=>this['_getViewObj'](_0x330ef0)));return this['editor']['data']['toModel'](_0xe28477);}['_getViewObj'](_0x5ec26f){const _0x36cb5b=this['editor']['editing']['view']['document'];if('string'==typeof _0x5ec26f)return new _0x1e4a24(_0x36cb5b,_0x5ec26f);{const _0x2f6457=_0x5ec26f['children']['map'](_0x1dd38b=>this['_getViewObj'](_0x1dd38b));return new(tt[_0x5ec26f['type']]||_0x2f3835)(_0x36cb5b,_0x5ec26f['name'],_0x5ec26f['attributes'],_0x2f6457);}}['_getDiff'](_0x27f17a,_0x26b6bd=null){const _0x3700b5=this['repository']['getRevision'](_0x27f17a),_0x4a1388=_0x26b6bd?this['repository']['getRevision'](_0x26b6bd):null,_0x164fc1=this['_getRevisionsRange'](_0x3700b5,_0x4a1388),_0x4e38cb=_0x164fc1[_0x164fc1['length']-0x1],_0x560c40=new Map(),_0x408a4b={'model':{},'attributes':{},'changes':[]},_0x1a19f8=new Set(),_0x1f5219=new Map();for(let _0x2d9201=_0x164fc1['length']-0x1;_0x2d9201>=0x0;_0x2d9201--){const _0x1b0244=_0x164fc1[_0x2d9201];for(const _0x2fb28b of Object['keys'](_0x1b0244['diffData']))if(_0x1b0244['diffData'][_0x2fb28b]['attachChange']){const _0x5bf8f9=_0x1b0244['diffData'][_0x2fb28b]['attachChange'];_0x5bf8f9['isAttached']?(_0x1a19f8['add'](_0x2fb28b),_0x1f5219['has'](_0x2fb28b)&&_0x1f5219['get'](_0x2fb28b)['userId']==_0x5bf8f9['userId']?_0x1f5219['delete'](_0x2fb28b):_0x1f5219['set'](_0x2fb28b,_0x5bf8f9)):_0x1f5219['has'](_0x2fb28b)?(_0x1a19f8['delete'](_0x2fb28b),_0x1f5219['delete'](_0x2fb28b)):(_0x1a19f8['add'](_0x2fb28b),_0x1f5219['set'](_0x2fb28b,_0x5bf8f9));}else _0x1a19f8['add'](_0x2fb28b);}for(const _0x579681 of _0x1a19f8){const _0xa55189=_0x1f5219['has'](_0x579681)&&!_0x1f5219['get'](_0x579681)['isAttached'];let _0x396909=_0xa55189?_0x164fc1['length']-0x1:0x0;const _0x598833=_0xa55189?-0x1:0x1;for(;_0x164fc1[_0x396909];){const _0x15db4c=_0x164fc1[_0x396909];if(_0x15db4c['diffData'][_0x579681]){const _0x2da953=_0xa55189?_0x15db4c['diffData'][_0x579681]['attributesBefore']:_0x15db4c['diffData'][_0x579681]['attributesAfter'];_0x408a4b['attributes'][_0x579681]=_0x2da953?_0x1387cf(_0x2da953):{};break;}_0x396909+=_0x598833;}}for(const _0x2af230 of _0x164fc1){_0x2af230['model']={};for(const _0x2e5956 of _0x2af230['authors'])_0x560c40['set'](_0x2e5956['id'],_0x2e5956);for(const _0x3f5de3 of _0x1a19f8){const _0x451d7a=_0x2af230['diffData'][_0x3f5de3]?_0x2af230['diffData'][_0x3f5de3]['insertions']:'[]',_0x3f061e=_0x2af230['diffData'][_0x3f5de3]?_0x2af230['diffData'][_0x3f5de3]['deletions']:'[]';_0x2af230['model'][_0x3f5de3]={'insertions':this['_makeModelFromViewString'](_0x451d7a),'deletions':this['_makeModelFromViewString'](_0x3f061e)};}}for(const _0x36b871 of _0x1a19f8){let _0x1d7b72=null,_0x58bf9c=0x0;const _0x391423=new Map(Array['from'](_0x3700b5['model'][_0x36b871]['insertions']['markers'])['filter'](([_0x11b66c])=>!_0x11b66c['startsWith']('revision:')));let _0xebc390=0x0;for(const _0x156143 of _0x164fc1){const _0x91cb96=this['_makeTape'](_0x156143['model'][_0x36b871]['insertions']);_0x156143==_0x3700b5?(_0x1d7b72=_0x91cb96,_0x58bf9c=_0x1d7b72['length'],_0x1d7b72['forEach'](_0x53387b=>{_0x53387b['id']=_0xebc390++;}),this['_processTape'](_0x1d7b72)):this['_markInsertions'](_0x1d7b72,_0x91cb96);const _0xc834eb=_0x1d7b72['filter'](_0x4e8f40=>!_0x4e8f40['isAdded'])['map'](_0x14427a=>_0x14427a['id']);let _0x51631e=0x0;const _0x55b8b1=this['_makeTape'](_0x156143['model'][_0x36b871]['deletions']);_0x55b8b1['forEach'](_0x3fc557=>{_0x3fc557['isRemoved']?_0x3fc557['id']=_0x58bf9c++:_0x3fc557['id']=_0xc834eb[_0x51631e++];}),this['_processTape'](_0x55b8b1),this['_setDistance'](_0x1d7b72,'isAdded'),this['_setDistance'](_0x55b8b1,'isRemoved'),_0x156143==_0x3700b5&&this['_markMarkers'](_0x1d7b72,_0x391423),_0x1d7b72=this['_joinTapes'](_0x1d7b72,_0x55b8b1),this['_refreshStartEndIndex'](_0x1d7b72),this['_setDistance'](_0x1d7b72,'isRemoved');}_0x1d7b72=_0x1d7b72['filter'](_0x3fc8c5=>!(_0x3fc8c5['isAdded']&&_0x3fc8c5['isRemoved']));const _0x4c3463=new Map(_0x4e38cb['model'][_0x36b871]['deletions']['markers']),_0x2bf6df=new Set(_0x391423['keys']());for(const _0x2cd063 of _0x4c3463['keys']())_0x2bf6df['delete'](_0x2cd063);this['_markSuggestions'](_0x1d7b72,_0x2bf6df),this['_fixObsoleteTags'](_0x1d7b72),_0x1d7b72=this['_removeMissingPairs'](_0x1d7b72),_0x1d7b72=this['_markMismatchedRemovedTags'](_0x1d7b72),_0x1d7b72=this['_removeUnsupportedChanges'](_0x1d7b72);const {root:_0x2877f3,changes:_0x10c6fb}=this['_makeModelFromTape'](_0x1d7b72,_0x560c40,_0x36b871);_0x408a4b['model'][_0x36b871]=_0x2877f3;const _0xdd9399=_0x1f5219['get'](_0x36b871);if(_0xdd9399){const _0xeac162=_0x560c40['get'](_0xdd9399['userId']),_0x395994=new r({'author':_0xeac162,'type':_0xdd9399['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x36b871});_0x10c6fb['unshift'](_0x395994),_0x408a4b['attributes'][_0x36b871]['revisionHistoryAttachChange']=_0x395994['id'];}_0x408a4b['changes']=_0x408a4b['changes']['concat'](_0x10c6fb);}return _0x408a4b;}['_markMarkers'](_0x1a9a2e,_0xd3204){for(let _0x3305a0=0x0;_0x3305a0<_0x1a9a2e['length'];_0x3305a0++)for(const [_0x509bf4,_0x1f5606]of _0xd3204)_0x1f5606['start']['isEqual'](_0x1a9a2e[_0x3305a0]['previousPosition'])&&_0x1a9a2e[_0x3305a0]['markersStart']['push'](_0x509bf4),_0x1f5606['end']['isEqual'](_0x1a9a2e[_0x3305a0]['nextPosition'])&&_0x1a9a2e[_0x3305a0]['markersEnd']['push'](_0x509bf4);}['_joinTapes'](_0x3aea2b,_0x4beaa7){let _0x14c372=[],_0x495066=0x0,_0x568585=0x0;for(;_0x495066<_0x3aea2b['length']||_0x568585<_0x4beaa7['length'];){const _0x167ff3=_0x3aea2b[_0x495066]||{},_0x3ab175=_0x4beaa7[_0x568585]||{};if(_0x167ff3['id']==_0x3ab175['id'])_0x495066++,_0x568585++,_0x14c372['push'](_0x167ff3);else{if(_0x3ab175['isRemoved']&&_0x167ff3['isAdded']){const {commonTape:_0x397731,iEnd:_0xfaba5d,jEnd:_0x254ad1}=this['_threeWayMerge'](_0x3aea2b,_0x495066,_0x4beaa7,_0x568585);_0x14c372=_0x14c372['concat'](_0x397731),_0x495066=_0xfaba5d,_0x568585=_0x254ad1;}else _0x3ab175['isRemoved']?(_0x568585++,_0x14c372['push'](_0x3ab175)):(_0x495066++,_0x14c372['push'](_0x167ff3));}}return _0x14c372;}['_markSuggestions'](_0x17b146,_0x9f8529){const _0x51fdb5=[];for(let _0x53399a=0x0;_0x53399a<_0x17b146['length'];_0x53399a++){for(let _0x2c91e1=0x0;_0x2c91e1<_0x17b146[_0x53399a]['markersStart']['length'];_0x2c91e1++){const _0x1e6acc=_0x17b146[_0x53399a]['markersStart'][_0x2c91e1];if(!_0x9f8529['has'](_0x1e6acc))continue;const {group:_0xc80b99,type:_0x2c727e,authorId:_0x45599f}=_0x59c863(_0x1e6acc);'revision-suggestion'!=_0xc80b99||'insertion'!=_0x2c727e&&'deletion'!=_0x2c727e||(_0x51fdb5['unshift']({'type':_0x2c727e,'name':_0x1e6acc,'userId':_0x45599f}),_0x17b146[_0x53399a]['markersStart']['splice'](_0x2c91e1,0x1),_0x2c91e1--);}_0x59b131(_0x17b146[_0x53399a]);for(let _0x5631c8=0x0;_0x5631c8<_0x17b146[_0x53399a]['markersEnd']['length'];_0x5631c8++){const _0x79d97=_0x17b146[_0x53399a]['markersEnd'][_0x5631c8];if(!_0x9f8529['has'](_0x79d97))continue;const {group:_0x337614,type:_0x3a00dc}=_0x59c863(_0x79d97);if('revision-suggestion'!=_0x337614||'insertion'!=_0x3a00dc&&'deletion'!=_0x3a00dc)continue;_0x17b146[_0x53399a]['markersEnd']['splice'](_0x5631c8,0x1),_0x5631c8--;const _0x543e83=_0x51fdb5['findIndex'](_0x59db6e=>_0x59db6e['name']==_0x79d97);_0x543e83>-0x1&&_0x51fdb5['splice'](_0x543e83,0x1);}}function _0x59c863(_0x3445c0){const _0x5a4799=_0x3445c0['split'](':');return{'group':_0x5a4799[0x0],'type':_0x5a4799[0x1],'subType':_0x5a4799['length']>=0x5?_0x5a4799[0x2]:null,'id':_0x5a4799['length']<0x5?_0x5a4799[0x2]:_0x5a4799[0x3],'authorId':_0x5a4799['length']<0x5?_0x5a4799[0x3]:_0x5a4799[0x4],'markerCount':0x6==_0x5a4799['length']?_0x5a4799[0x5]:null};}function _0x59b131(_0x1b8fd2){for(let _0x48a9cd=0x0;_0x48a9cd<_0x51fdb5['length'];_0x48a9cd++){if(_0x1b8fd2['isAdded']&&'insertion'==_0x51fdb5[_0x48a9cd]['type'])return _0x1b8fd2['isAddSuggestion']=_0x51fdb5[_0x48a9cd],void delete _0x1b8fd2['isAdded'];if(!_0x1b8fd2['isAdded']&&!_0x1b8fd2['isRemoved']&&'deletion'==_0x51fdb5[_0x48a9cd]['type'])return void(_0x1b8fd2['isRemoveSuggestion']=_0x51fdb5[_0x48a9cd]);}}}['_setDistance'](_0x258faf,_0x4610eb){let _0x17dca2=0x0,_0x230aac=!0x1;const _0x89f168=new Map();for(const _0xafdda5 of _0x258faf)_0xafdda5[_0x4610eb]?_0x230aac&&(_0x17dca2++,_0x230aac=!0x1):(_0x17dca2++,_0x230aac=!0x0),_0x89f168['set'](_0xafdda5['id'],_0x17dca2);for(let _0x2cf22e=0x0;_0x2cf22e<_0x258faf['length'];_0x2cf22e++){if('isRemoved'==_0x4610eb&&_0x258faf[_0x2cf22e]['isAdded']||'isAdded'==_0x4610eb&&_0x258faf[_0x2cf22e]['isRemoved'])continue;if('text'==_0x258faf[_0x2cf22e]['type']){_0x258faf[_0x2cf22e]['distance']=0x0;continue;}const _0x2f421d=_0x89f168['get'](_0x258faf[_0x2cf22e]['pairId']),_0x459b8d=_0x89f168['get'](_0x258faf[_0x2cf22e]['id']);_0x258faf[_0x2cf22e]['distance']=_0x2f421d-_0x459b8d;}}['_getRevisionsRange'](_0x380e13,_0x5c60ab,_0x166b56=!0x1){const _0x5185b3=[];let _0x7e1265=this['repository']['getIndex'](_0x380e13),_0x377fa7=this['repository']['getIndex'](_0x5c60ab);for(-0x1==_0x377fa7&&(_0x377fa7=this['repository']['_revisions']['length'],_0x166b56=!0x1);_0x7e1265<_0x377fa7;)_0x5185b3['push'](this['repository']['getRevision'](_0x7e1265)),_0x7e1265++;return _0x166b56&&_0x5185b3['push'](this['repository']['getRevision'](_0x7e1265)),_0x5185b3;}['_threeWayMerge'](_0x2dc23f,_0x3b4219,_0x36e888,_0xbf179c){const _0xeb35c3=this['editor']['model']['schema'];let _0x333b21=_0x3b4219;for(;_0x2dc23f[_0x333b21]&&_0x2dc23f[_0x333b21]['isAdded'];)_0x333b21++;let _0x29ffeb=_0xbf179c;for(;_0x36e888[_0x29ffeb]&&_0x36e888[_0x29ffeb]['isRemoved'];)_0x29ffeb++;_0x706ca(_0x2dc23f,_0x3b4219,_0x333b21),_0x706ca(_0x36e888,_0xbf179c,_0x29ffeb);const _0x413cf7=_0x36e888['slice'](_0xbf179c,_0x29ffeb)['concat'](_0x2dc23f['slice'](_0x3b4219,_0x333b21));return _0x413cf7['sort']((_0x3bb8a8,_0x5d74aa)=>_0x3bb8a8['side']!=_0x5d74aa['side']?_0x3bb8a8['side']-_0x5d74aa['side']:_0x3bb8a8['level']!=_0x5d74aa['level']?_0x3bb8a8['level']-_0x5d74aa['level']:_0x3bb8a8['distance']!=_0x5d74aa['distance']?_0x5d74aa['distance']-_0x3bb8a8['distance']:!!_0x3bb8a8['isAdded']!=!!_0x5d74aa['isAdded']?-0x1==_0x3bb8a8['side']||0x0==_0x3bb8a8['side']?_0x3bb8a8['isAdded']?-0x1:0x1:_0x3bb8a8['isAdded']?0x1:-0x1:_0x3bb8a8['index']-_0x5d74aa['index']),{'commonTape':_0x413cf7,'iEnd':_0x333b21,'jEnd':_0x29ffeb};function _0x706ca(_0x3a87e6,_0x195372,_0x507217){let _0x45d1c5=-0x1,_0x7eef3c=Number['POSITIVE_INFINITY'],_0xf211ef=!0x0;for(let _0x2817c7=_0x195372;_0x2817c7<_0x507217;_0x2817c7++)if(_0xeb35c3['isInline'](_0x3a87e6[_0x2817c7]['item'])||(_0xf211ef=!0x1),_0x3a87e6[_0x2817c7]['item']['startIndex']<_0x195372&&(_0x45d1c5=_0x2817c7),_0x3a87e6[_0x2817c7]['item']['endIndex']>=_0x507217){_0x7eef3c=_0x2817c7;break;}_0xf211ef&&(_0x45d1c5=_0x507217-0x1);for(let _0x4c112f=_0x195372;_0x4c112f<_0x507217;_0x4c112f++)_0x3a87e6[_0x4c112f]['side']=_0x4c112f<=_0x45d1c5?-0x1:_0x4c112f<_0x7eef3c?0x0:0x1,_0x3a87e6[_0x4c112f]['index']=_0x4c112f;let _0x2e1a29=0x0;for(let _0x5d8041=_0x195372;_0x5d8041<=_0x45d1c5;_0x5d8041++)0x0==_0x3a87e6[_0x5d8041]['distance']?_0x3a87e6[_0x5d8041]['level']=_0x2e1a29:(_0x2e1a29++,_0x3a87e6[_0x5d8041]['level']=_0x2e1a29,_0x2e1a29++);for(let _0x2c12a9=_0x195372;_0x2c12a9<_0x507217;_0x2c12a9++)0x0==_0x3a87e6[_0x2c12a9]['side']&&(_0x3a87e6[_0x2c12a9]['level']=_0x2e1a29);_0x2e1a29=0x0;for(let _0x49e244=_0x507217-0x1;_0x49e244>=_0x7eef3c;_0x49e244--)0x0==_0x3a87e6[_0x49e244]['distance']?_0x3a87e6[_0x49e244]['level']=_0x2e1a29:(_0x2e1a29--,_0x3a87e6[_0x49e244]['level']=_0x2e1a29,_0x2e1a29--);}}['_fixObsoleteTags'](_0xaa6b0e){const _0x1bacf7=new Map(),_0xb3c949=this['editor']['model']['schema'];for(let _0x32cdd1=0x1;_0x32cdd1<_0xaa6b0e['length'];_0x32cdd1++){let _0x174e6b,_0x368230,_0x1b1ec1;const _0x456a7f=_0xaa6b0e[_0x32cdd1],_0x1e2756=_0xaa6b0e[_0x32cdd1-0x1];if('text'==_0x456a7f['type'])continue;if(_0x456a7f['type']!=_0x1e2756['type'])continue;if(!_0xb3c949['isBlock'](_0x1e2756['item'])||_0xb3c949['isLimit'](_0x1e2756['item']))continue;if(!_0xb3c949['isBlock'](_0x456a7f['item'])||_0xb3c949['isLimit'](_0x456a7f['item']))continue;if((_0xaa6b0e[_0x32cdd1]['isAdded']||_0xaa6b0e[_0x32cdd1]['isAddSuggestion'])&&_0xaa6b0e[_0x32cdd1-0x1]['isRemoved'])_0x174e6b=_0xaa6b0e[_0x32cdd1],_0x368230=_0xaa6b0e[_0x32cdd1-0x1],_0x1b1ec1=_0x32cdd1-0x1;else{if(!_0xaa6b0e[_0x32cdd1]['isRemoved']||!_0xaa6b0e[_0x32cdd1-0x1]['isAdded']&&!_0xaa6b0e[_0x32cdd1-0x1]['isAddSuggestion'])continue;_0x174e6b=_0xaa6b0e[_0x32cdd1-0x1],_0x368230=_0xaa6b0e[_0x32cdd1],_0x1b1ec1=_0x32cdd1;}const _0x305299=_0x174e6b['level']==_0x368230['level'],_0x4aec11=Math['abs'](_0x174e6b['level'])<Math['abs'](_0x368230['level'])&&0x0==_0x368230['distance'];(_0x305299||_0x4aec11)&&(_0x1bacf7['set'](_0x368230['id'],_0x174e6b['id']),_0xaa6b0e['splice'](_0x1b1ec1,0x1),_0x32cdd1--,_0x174e6b['isAdded']=!0x1);}for(let _0x25953f=0x0;_0x25953f<_0xaa6b0e['length'];_0x25953f++)_0x1bacf7['has'](_0xaa6b0e[_0x25953f]['pairId'])&&(_0xaa6b0e[_0x25953f]['pairId']=_0x1bacf7['get'](_0xaa6b0e[_0x25953f]['pairId']));}['_removeMissingPairs'](_0x19aca4){const _0x405204=new Set(_0x19aca4['map'](_0xb88702=>_0xb88702['id']));for(let _0x4e3d99=0x0;_0x4e3d99<_0x19aca4['length'];_0x4e3d99++)_0x405204['has'](_0x19aca4[_0x4e3d99]['pairId'])||0x0==_0x19aca4[_0x4e3d99]['distance']||(_0x19aca4[_0x4e3d99]['isIncorrect']=!0x0);return _0x19aca4['filter'](_0x1df541=>!_0x1df541['isIncorrect']);}['_markMismatchedRemovedTags'](_0xe8c2e9){const _0x2b2db6=new Set();for(let _0x5d902b=0x0;_0x5d902b<_0xe8c2e9['length'];_0x5d902b++){if(_0x2b2db6['has'](_0xe8c2e9[_0x5d902b]['id'])&&_0xe8c2e9[_0x5d902b]['isRemoved']&&(_0xe8c2e9[_0x5d902b]['isIncorrect']=!0x0),_0xe8c2e9[_0x5d902b]['isIncorrect'])continue;if(0x0==_0xe8c2e9[_0x5d902b]['distance'])continue;if('elementStart'!=_0xe8c2e9[_0x5d902b]['type'])continue;if(null==_0xe8c2e9[_0x5d902b]['pairId'])continue;let _0x19c93b=_0x5d902b+0x1,_0x2ea126=0x0;for(;_0xe8c2e9[_0x19c93b]['id']!=_0xe8c2e9[_0x5d902b]['pairId'];)'elementStart'==_0xe8c2e9[_0x19c93b]['type']?_0x2ea126++:'elementEnd'==_0xe8c2e9[_0x19c93b]['type']&&_0x2ea126--,_0x19c93b++;if(0x0!=_0x2ea126){if(_0xe8c2e9[_0x5d902b]['isRemoved'])_0xe8c2e9[_0x5d902b]['isIncorrect']=!0x0;else{for(;_0x19c93b!=_0x5d902b;)_0xe8c2e9[_0x19c93b]['isRemoved']&&0x0!=_0xe8c2e9[_0x19c93b]['distance']&&(_0xe8c2e9[_0x19c93b]['isIncorrect']=!0x0,_0x2b2db6['add'](_0xe8c2e9[_0x19c93b]['pairId'])),_0x19c93b--;}}}return _0xe8c2e9['filter'](_0x44fc99=>!_0x44fc99['isIncorrect']);}['_removeUnsupportedChanges'](_0x509d85){const _0x237914=this['editor']['model']['schema'];for(let _0x5cbf9e=0x0;_0x5cbf9e<_0x509d85['length'];_0x5cbf9e++){if(!(_0x509d85[_0x5cbf9e]['isAdded']||_0x509d85[_0x5cbf9e]['isAddSuggestion']||_0x509d85[_0x5cbf9e]['isRemoved']||_0x509d85[_0x5cbf9e]['isRemoveSuggestion']))continue;if(0x0==_0x509d85[_0x5cbf9e]['distance'])continue;const _0x58a97e=_0x509d85[_0x5cbf9e]['item'];_0x237914['isBlock'](_0x58a97e)||_0x237914['isLimit'](_0x58a97e)||(_0x509d85[_0x5cbf9e]['isAdded']&&delete _0x509d85[_0x5cbf9e]['isAdded'],_0x509d85[_0x5cbf9e]['isAddSuggestion']&&delete _0x509d85[_0x5cbf9e]['isAddSuggestion'],_0x509d85[_0x5cbf9e]['isRemoveSuggestion']&&delete _0x509d85[_0x5cbf9e]['isRemoveSuggestion'],_0x509d85[_0x5cbf9e]['isRemoved']&&(_0x509d85[_0x5cbf9e]['isIncorrect']=!0x0));}return _0x509d85['filter'](_0x134922=>!_0x134922['isIncorrect']);}['_makeModelFromTape'](_0xe9de1e,_0x593dc7,_0x54dfe6){const _0x3d85a8=new wt(),_0x3a6efc=[],_0x241558=new Map(),_0x35edc3=this['editor']['model'],_0xf590cf=_0x35edc3['schema'],_0x363edc=[_0x3d85a8],_0x35d1fe={},_0x419d1e={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x1c50e8=null;const _0x163e8a=[0x0];for(let _0x1a618e=0x0;_0x1a618e<_0xe9de1e['length'];_0x1a618e++){let _0x5a71c3,_0x52e9a4;if('elementStart'===_0xe9de1e[_0x1a618e]['type']){_0x5a71c3=_0x35edc3['createPositionFromPath'](_0x3d85a8,_0x163e8a);const _0x3e8b44=new ft(_0xe9de1e[_0x1a618e]['item']['name'],_0xe9de1e[_0x1a618e]['item']['getAttributes']());_0x363edc[0x0]['_appendChild'](_0x3e8b44),_0x163e8a['push'](0x0),_0x363edc['unshift'](_0x3e8b44),_0x52e9a4=_0x35edc3['createPositionFromPath'](_0x3d85a8,_0x163e8a),_0x1c50e8=null;}else{if('elementEnd'===_0xe9de1e[_0x1a618e]['type'])_0x363edc['shift'](),_0x5a71c3=_0x35edc3['createPositionFromPath'](_0x3d85a8,_0x163e8a),_0x163e8a['pop'](),_0x163e8a[_0x163e8a['length']-0x1]++,_0x52e9a4=_0x35edc3['createPositionFromPath'](_0x3d85a8,_0x163e8a),_0x1c50e8=null;else{if(_0x5a71c3=_0x35edc3['createPositionFromPath'](_0x3d85a8,_0x163e8a),_0x1c50e8&&_0x39507a(_0x1c50e8,_0xe9de1e[_0x1a618e]['item']))_0x1c50e8['_data']+=_0xe9de1e[_0x1a618e]['item']['data'];else{const _0x38fb0b=new _t(_0xe9de1e[_0x1a618e]['item']['data'],_0xe9de1e[_0x1a618e]['item']['getAttributes']());_0x363edc[0x0]['_appendChild'](_0x38fb0b),_0x1c50e8=_0x38fb0b;}_0x163e8a[_0x163e8a['length']-0x1]+=_0xe9de1e[_0x1a618e]['item']['offsetSize'],_0x52e9a4=_0x35edc3['createPositionFromPath'](_0x3d85a8,_0x163e8a);}}for(const _0x2a6317 of _0xe9de1e[_0x1a618e]['markersStart'])_0x241558['set'](_0x2a6317,{'start':_0x5a71c3,'end':null});_0x193b7d('isRemoveSuggestion',_0x1a618e,_0x5a71c3,_0x52e9a4),_0x193b7d('isAddSuggestion',_0x1a618e,_0x5a71c3,_0x52e9a4),_0x193b7d('isRemoved',_0x1a618e,_0x5a71c3,_0x52e9a4),_0x193b7d('isAdded',_0x1a618e,_0x5a71c3,_0x52e9a4);for(const _0xc59f34 of _0xe9de1e[_0x1a618e]['markersEnd']){_0x241558['get'](_0xc59f34)['end']=_0x52e9a4;}}for(const [_0xa432d0,_0x4deb36]of _0x241558){const _0x49c3ef=this['editor']['model']['createRange'](_0x4deb36['start'],_0x4deb36['end']);_0x3d85a8['markers']['set'](_0xa432d0,_0x49c3ef);}return _0x3a6efc['sort']((_0x537ab5,_0x557e1e)=>{const _0x4496bf=_0x3d85a8['markers']['get']('revision:'+_0x537ab5['id']),_0x4537d0=_0x3d85a8['markers']['get']('revision:'+_0x557e1e['id']);return _0x4496bf['start']['isBefore'](_0x4537d0['start'])?-0x1:_0x4496bf['start']['isAfter'](_0x4537d0['start'])?0x1:_0x4496bf['end']['isBefore'](_0x4537d0['end'])?-0x1:_0x4496bf['end']['isAfter'](_0x4537d0['end'])?0x1:'add'===_0x537ab5['type']?-0x1:0x1;}),{'root':_0x3d85a8,'changes':_0x3a6efc};function _0x193b7d(_0x27f1a8,_0x509889,_0x59c073,_0x2b0157){const _0x2716b1=!!_0xe9de1e[_0x509889][_0x27f1a8],_0x58e98c=_0x2716b1?_0xe9de1e[_0x509889][_0x27f1a8]['userId']:null,_0x14cf19=_0x509889===_0xe9de1e['length']-0x1,_0x37cf5c=_0x419d1e[_0x27f1a8][0x0],_0x10927f=_0xf590cf['isObject'](_0xe9de1e[_0x509889]['item']);!_0x35d1fe[_0x27f1a8]&&_0x2716b1?_0x35d1fe[_0x27f1a8]={'start':_0x59c073,'tapeItem':_0xe9de1e[_0x509889],'userId':_0x58e98c,'type':_0x27f1a8}:_0x35d1fe[_0x27f1a8]&&!_0x2716b1?(_0x35d1fe[_0x27f1a8]['end']=_0x59c073,_0x55cbdf(_0x35d1fe[_0x27f1a8]),_0x35d1fe[_0x27f1a8]=null):_0x35d1fe[_0x27f1a8]&&_0x2716b1&&_0x35d1fe[_0x27f1a8]['userId']!==_0x58e98c&&(_0x35d1fe[_0x27f1a8]['end']=_0x59c073,_0x37cf5c&&_0x37cf5c['userId']===_0x35d1fe[_0x27f1a8]['userId']||_0x55cbdf(_0x35d1fe[_0x27f1a8]),_0x35d1fe[_0x27f1a8]={'start':_0x59c073,'tapeItem':_0xe9de1e[_0x509889],'userId':_0x58e98c,'type':_0x27f1a8}),_0x35d1fe[_0x27f1a8]&&_0x10927f&&('elementStart'!==_0xe9de1e[_0x509889]['type']||_0x37cf5c&&_0x37cf5c['userId']===_0x58e98c||_0x419d1e[_0x27f1a8]['unshift']({'userId':_0x58e98c,'object':_0xe9de1e[_0x509889]['item'],'change':_0x35d1fe[_0x27f1a8]}),'elementEnd'===_0xe9de1e[_0x509889]['type']&&_0x37cf5c&&_0x37cf5c['object']===_0xe9de1e[_0x509889]['item']&&(_0x419d1e[_0x27f1a8]['shift'](),_0x35d1fe[_0x27f1a8]=_0x37cf5c['change'])),_0x35d1fe[_0x27f1a8]&&_0x14cf19&&(_0x35d1fe[_0x27f1a8]['end']=_0x2b0157,_0x55cbdf(_0x35d1fe[_0x27f1a8]),_0x35d1fe[_0x27f1a8]=null);}function _0x55cbdf({start:_0x19e647,end:_0xabf3b7,tapeItem:_0x1fd54c,userId:_0x5988ba,type:_0x2dbf5f}){const _0xa86c32=_0x1fd54c['item'],_0x1e738e=_0x35edc3['schema']['isBlock'](_0xa86c32)&&!_0x35edc3['schema']['isLimit'](_0xa86c32),_0x294c7c=_0x19e647['nodeAfter']==_0xabf3b7['parent']&&_0xabf3b7['isAtStart'];if(_0x1e738e&&_0x294c7c)return;const _0x359681=_0x35edc3['createRange'](_0x19e647,_0xabf3b7),_0x2b371d=_0x593dc7['get'](_0x5988ba),_0x5736d7=new r({'author':_0x2b371d,'type':'isAdded'==_0x2dbf5f||'isAddSuggestion'==_0x2dbf5f?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x2dbf5f||'isRemoveSuggestion'==_0x2dbf5f},'createdAt':new Date(),'rootName':_0x54dfe6});_0x3a6efc['push'](_0x5736d7),_0x3d85a8['markers']['set']('revision:'+_0x5736d7['id'],_0x359681);}function _0x39507a(_0x393d9b,_0x4dc31a){const _0x4a0c3d=_0x393d9b['getAttributes'](),_0x252760=_0x4dc31a['getAttributes']();for(const _0x17cc35 of _0x4a0c3d){if(_0x17cc35[0x1]!==_0x4dc31a['getAttribute'](_0x17cc35[0x0]))return!0x1;_0x252760['next']();}return _0x252760['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x324a3e=>{const _0x17431e=_0x324a3e['markerName']['split'](':')[0x1],_0xa9ffef=this['_getChangeFromId'](_0x17431e);if(!_0xa9ffef)return null;const _0x27d437='add'==_0xa9ffef['type']?'insertion':'deletion',_0x3b0a5b=['ck-suggestion-marker','ck-suggestion-marker-'+_0x27d437];return _0xa9ffef['data']['isSuggestion']&&_0x3b0a5b['push']('ck-suggestion-marker-'+_0x27d437+'-new'),this['activeChange']==_0xa9ffef&&_0x3b0a5b['push']('ck-suggestion-marker--active'),{'classes':_0x3b0a5b,'attributes':{'data-change-id':_0x17431e}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x34f2fe=>{_0x34f2fe['on']('element:pre',(_0x45656e,_0x3e106f,_0xe3e2f2)=>{const _0x41d5e4=_0x3e106f['viewItem']['getChild'](0x0);if(!_0x41d5e4||!_0x41d5e4['is']('element','code'))return;if(!_0xe3e2f2['consumable']['consume'](_0x41d5e4,{'attributes':['vid_start','vid_end']}))return;const _0x50d6ca=_0x3e106f['modelRange']['start']['nodeAfter'];_0xe3e2f2['writer']['setAttribute']('vid_start',_0x41d5e4['getAttribute']('vid_start'),_0x50d6ca),_0xe3e2f2['writer']['setAttribute']('vid_end',_0x41d5e4['getAttribute']('vid_end'),_0x50d6ca);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x1f384a=>{_0x1f384a['on']('element',(_0x59ddb3,_0xd093d3,_0x48d055)=>{if(!_0x48d055['consumable']['consume'](_0xd093d3['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0xd093d3['modelRange']['isCollapsed'])return;const _0x3088f7=_0xd093d3['modelRange']['start']['nodeAfter'];_0x3088f7['hasAttribute']('vid_start')||_0x3088f7['hasAttribute']('vid')||(_0x48d055['writer']['setAttribute']('vid_start',_0xd093d3['viewItem']['getAttribute']('vid_start'),_0x3088f7),_0x48d055['writer']['setAttribute']('vid_end',_0xd093d3['viewItem']['getAttribute']('vid_end'),_0x3088f7));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x4f654e=>_0x4f654e['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x4df813,[,_0xcab7f3])=>{['vid_start','vid_end','vid']['includes'](_0xcab7f3)&&(_0x4df813['return']=!0x0,_0x4df813['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x428c3e=>{_0x428c3e['on']('attribute:vid',(_0x115b71,_0x25192e,_0x8a0006)=>{if('\x20'!=_0x25192e['item']['data']||_0x25192e['item']['parent']['maxOffset']>0x1)return;if(!_0x8a0006['consumable']['consume'](_0x25192e['item'],_0x115b71['name']))return;const _0x4b04f7=_0x8a0006['writer'],_0x244234=_0x8a0006['mapper']['toViewRange'](_0x25192e['range']);_0x4b04f7['wrap'](_0x244234,_0x4b04f7['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x4d2fc1){const _0x31e73c=_0x4d2fc1['plugins']['get']('RevisionViewer');return(_0x29bbc7,_0xdc4817,_0x4c1852)=>{const _0x4ff587=_0xdc4817['markerName']['split'](':')[0x1],_0x269026=_0x31e73c['_getChangeFromId'](_0x4ff587);if(!_0x269026)return null;const _0x3b3eed='add'==_0x269026['type']?'split':'merge';if(!_0x4c1852['consumable']['test'](_0xdc4817['markerRange'],_0x29bbc7['name']))return;const _0x5df35f=_0xdc4817['markerRange']['getWalker'](),_0x25949f=_0xdc4817['markerRange']['start'],_0x1bcf7e=_0x4d2fc1['model']['schema'];let _0x205539=null,_0x1bc4b2=null,_0x16a27b=!0x1,_0x140be4=!0x1;for(const _0x3b0260 of _0x5df35f){const _0x59efcb=_0x3b0260['item'];_0x16a27b=_0x16a27b||_0x1bcf7e['isContent'](_0x59efcb);const _0xc8126b=_0x4c1852['mapper']['toViewElement'](_0x59efcb);if(_0xc8126b&&_0xc8126b['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3b0260['type']&&(_0x1bcf7e['isBlock'](_0x59efcb)&&!_0x1bcf7e['isLimit'](_0x59efcb)&&(_0x59efcb['nextSibling']||_0x25949f['isAtEnd']?_0x205539&&_0x205539['parent']==_0x59efcb||(_0x205539=_0x59efcb,_0x235196(_0x3b0260['previousPosition']),_0x140be4=!0x0):_0x1bc4b2=_0x1bc4b2||_0x3b0260['previousPosition']));}function _0x235196(_0x2d8fcd){const _0x578b0c=_0x4c1852['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3b3eed}),_0x1b6fe2=_0x4c1852['mapper']['toViewPosition'](_0x2d8fcd);_0x269026['data']['isSuggestion']&&_0x4c1852['writer']['addClass']('ck-suggestion-marker-'+_0x3b3eed+'-new',_0x578b0c),_0x31e73c['activeChange']==_0x269026&&_0x4c1852['writer']['addClass']('ck-suggestion-marker--active',_0x578b0c),_0x4c1852['writer']['insert'](_0x1b6fe2,_0x578b0c),_0x4c1852['mapper']['bindElementToMarker'](_0x578b0c,_0xdc4817['markerName']);}_0x16a27b||_0x140be4||!_0x1bc4b2||_0x235196(_0x1bc4b2);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x3802c2,_0x4b85df,_0x5497ff)=>{const _0x370641=_0x5497ff['mapper']['markerNameToElements'](_0x4b85df['markerName']);if(_0x370641){for(const _0x44d703 of _0x370641)(_0x44d703['hasClass']('ck-suggestion-marker-split')||_0x44d703['hasClass']('ck-suggestion-marker-merge'))&&(_0x5497ff['mapper']['unbindElementFromMarkerName'](_0x44d703,_0x4b85df['markerName']),_0x5497ff['writer']['remove'](_0x44d703));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x5e09c8,_0x454c68,_0x55080e)=>{const _0x10c969=_0x454c68['markerName']['split'](':')[0x1],_0x57ef14=this['_getChangeFromId'](_0x10c969);if(!_0x57ef14)return null;const _0x17940='add'==_0x57ef14['type']?'split':'merge';if(_0x55080e['consumable']['test'](_0x454c68['markerRange'],_0x5e09c8['name']))for(const _0x3120a0 of _0x454c68['markerRange']['getItems']()){if(!_0x3120a0['is']('element','softBreak'))continue;const _0x38e38a=_0x55080e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x17940}),_0x39758b=_0x55080e['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x3120a0));_0x57ef14['data']['isSuggestion']&&_0x55080e['writer']['addClass']('ck-suggestion-marker-'+_0x17940+'-new',_0x38e38a),this['activeChange']==_0x57ef14&&_0x55080e['writer']['addClass']('ck-suggestion-marker--active',_0x38e38a),_0x55080e['writer']['insert'](_0x39758b,_0x38e38a),_0x55080e['mapper']['bindElementToMarker'](_0x38e38a,_0x454c68['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x2a01f8=>{for(const _0x43fca9 of this['editor']['model']['document']['getRootNames']()){const _0x5c6c02=this['editor']['model']['document']['getRoot'](_0x43fca9),_0x412181=this['editor']['editing']['view']['document']['getRoot'](_0x43fca9);if(_0x412181){const _0x58e475=_0x5c6c02['getAttribute']('revisionHistoryAttachChange');if(_0x2a01f8['removeAttribute']('data-change-id',_0x412181),_0x2a01f8['removeClass']('ck-revision-history-root-add',_0x412181),_0x2a01f8['removeClass']('ck-revision-history-root-remove',_0x412181),_0x2a01f8['removeClass']('ck-revision-history-root--active',_0x412181),_0x58e475){const _0x534935=this['_getChangeFromId'](_0x58e475);if(!_0x534935)return null;_0x2a01f8['setAttribute']('data-change-id',_0x58e475,_0x412181),_0x2a01f8['addClass']('ck-revision-history-root-'+_0x534935['type'],_0x412181),this['activeChange']==_0x534935&&_0x2a01f8['addClass']('ck-revision-history-root--active',_0x412181);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x1eabc9=>'revision-comment:'+_0x1eabc9,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x202109=>'revision-suggestion:'+_0x202109,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x3ee4e8=>({'name':'suggestion:'+_0x3ee4e8,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x2863ff=>{const _0x168a6c=_0x2863ff['markerName']['split'](':')[0x1];return'insertion'!=_0x168a6c&&'deletion'!=_0x168a6c?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x168a6c]};}}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:deletion',et(this['editor'],'merge'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',et(this['editor'],'split'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision-suggestion',(_0x450cfc,_0x589d35,_0x4f78a1)=>{const _0x3d2d9b=_0x4f78a1['mapper']['markerNameToElements'](_0x589d35['markerName']);if(_0x3d2d9b){for(const _0x49a568 of _0x3d2d9b)_0x49a568['is']('uiElement')&&(_0x4f78a1['mapper']['unbindElementFromMarkerName'](_0x49a568,_0x589d35['markerName']),_0x4f78a1['writer']['remove'](_0x49a568));}},{'priority':'high'});}['_getChangeFromId'](_0x31efaa){return this['_changeIdToChange']['get'](_0x31efaa);}['_getViewForChange'](_0x57b2c3){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x57b2c3),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x1f6fd0,_0x22ca9c,_0x8427fd,_0x115da7)=>{_0x115da7&&this['_balloon']['remove'](_0x115da7),_0x8427fd&&(this['_balloon']['add']({'view':_0x8427fd,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x1c9cc5=this['editor']['editing'],_0x3deabb=this['_getChangeFromId'](_0x8427fd['changeId']);let _0x2033f2;if(_0x3deabb['data']['isOnRoot']){const _0x48d4f0=_0x1c9cc5['view']['getDomRoot'](_0x3deabb['rootName']);_0x2033f2=Array['from'](_0x48d4f0['getClientRects']());}else{const _0x1d6a41=this['editor']['model']['markers']['get']('revision:'+_0x8427fd['changeId']);_0x2033f2=Array['from'](_0x1c9cc5['mapper']['markerNameToElements'](_0x1d6a41['name']))['map'](_0x475256=>_0x1c9cc5['view']['domConverter']['mapViewToDom'](_0x475256))['map'](_0x25f39d=>Array['from'](_0x25f39d['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x2033f2[0x0];return _0x2033f2['find'](_0x3ffde5=>_0x3ffde5['top']-0x3<=this['_activeViewTarget']['y']&&_0x3ffde5['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x3ffde5['left']-0x3<=this['_activeViewTarget']['x']&&_0x3ffde5['right']+0x3>=this['_activeViewTarget']['x'])||_0x2033f2[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x207216,_0x79df0f,_0x42ba77,_0x97aed0)=>{this['activeView']=_0x42ba77?this['_getViewForChange'](_0x42ba77):null,this['editor']['model']['change'](()=>{const _0x1a4d96=this['editor']['editing'];_0x97aed0&&(_0x97aed0['data']['isOnRoot']?_0x1a4d96['view']['change'](_0x43e796=>{_0x43e796['removeClass']('ck-revision-history-root--active',_0x1a4d96['view']['document']['getRoot'](_0x97aed0['rootName']));}):_0x1a4d96['reconvertMarker']('revision:'+_0x97aed0['id'])),_0x42ba77&&(_0x42ba77['data']['isOnRoot']?_0x1a4d96['view']['change'](_0x14207d=>{_0x14207d['addClass']('ck-revision-history-root--active',_0x1a4d96['view']['document']['getRoot'](_0x42ba77['rootName']));}):_0x1a4d96['reconvertMarker']('revision:'+_0x42ba77['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x33422f,_0xbbbe8a)=>{if(this['activeChange'])return;const _0x2e5a55=this['_findChangeIdFromDomTarget'](_0xbbbe8a['target']),_0x1121b3=this['_changeIdToChange']['get'](_0x2e5a55);_0x1121b3?(this['_activeViewTarget']={'x':_0xbbbe8a['domEvent']['x'],'y':_0xbbbe8a['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x1121b3)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x292aa9,_0x238f32)=>{const _0x4a4e5f=this['_findChangeIdFromDomTarget'](_0x238f32['target']),_0x2b9e2b=this['_changeIdToChange']['get'](_0x4a4e5f);_0x2b9e2b?(this['_activeViewTarget']={'x':_0x238f32['domEvent']['x'],'y':_0x238f32['domEvent']['y']},_0x2b9e2b===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x2b9e2b):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x39a413){do{const _0x3e2121=_0x39a413['getAttribute']('data-change-id');if(_0x3e2121)return _0x3e2121;_0x39a413=_0x39a413['parent'];}while(_0x39a413);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x3bce77=>{for(const _0xda11d of this['editor']['model']['markers'])_0x3bce77['removeMarker'](_0xda11d);});}}function et(_0x376f98,_0x30e2c1){return(_0x2a93eb,_0xf2d6c5,_0x5715f7)=>{if(!_0x5715f7['consumable']['test'](_0xf2d6c5['markerRange'],_0x2a93eb['name']))return;const _0x3cb27c=_0xf2d6c5['markerRange']['getWalker'](),_0x3294db=_0xf2d6c5['markerRange']['start'],_0x81d24f=_0x376f98['model']['schema'];let _0x3e1b4d=null,_0x6151e4=null,_0x4a1af4=!0x1,_0x326860=!0x1;for(const _0x40f928 of _0x3cb27c){const _0x266a12=_0x40f928['item'];_0x4a1af4=_0x4a1af4||_0x81d24f['isContent'](_0x266a12);const _0x15e363=_0x5715f7['mapper']['toViewElement'](_0x266a12);if(_0x15e363&&_0x15e363['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x40f928['type']&&(_0x81d24f['isBlock'](_0x266a12)&&!_0x81d24f['isLimit'](_0x266a12)&&(_0x266a12['nextSibling']||_0x3294db['isAtEnd']?_0x3e1b4d&&_0x3e1b4d['parent']==_0x266a12||(_0x3e1b4d=_0x266a12,_0x58d1a2(_0x40f928['previousPosition']),_0x326860=!0x0):_0x6151e4=_0x6151e4||_0x40f928['previousPosition']));}function _0x58d1a2(_0x31f09f){const _0x547f2c=_0x5715f7['mapper']['toViewPosition'](_0x31f09f),_0x3618cd=_0x5715f7['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x30e2c1});_0x5715f7['writer']['insert'](_0x547f2c,_0x3618cd),_0x5715f7['mapper']['bindElementToMarker'](_0x3618cd,_0xf2d6c5['markerName']);}_0x4a1af4||_0x326860||!_0x6151e4||_0x58d1a2(_0x6151e4);};}class bt extends _0x41a8f1{constructor(_0xc21c33){super(_0xc21c33);const _0x4ecbbb=_0xc21c33['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x4ecbbb,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x4ecbbb,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x58fccb=this['editor'],_0x270268=_0x58fccb['plugins']['get'](d),_0x355e75=_0x270268['isReady']?_0x270268['diff']['newRevisionId']:null;_0x58fccb['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x355e75);}['refresh'](){const {isReady:_0x5781f9,isEnabled:_0x7a6802}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x5781f9&&_0x7a6802;}}class yt extends _0x41a8f1{['_step'];constructor(_0x1f4ce2,{direction:_0x496eda}){super(_0x1f4ce2);const _0x18f9d9=_0x1f4ce2['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x496eda?0x1:-0x1,this['listenTo'](_0x18f9d9,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x18f9d9,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x18f9d9,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x5adabe=this['editor'],_0x7d325f=_0x5adabe['plugins']['get'](d),{isNavigationMode:_0x3dfa3f,currentChangeNumber:_0x7ecd49}=_0x7d325f;let _0x47b28a;if(_0x7d325f['activeChange']=_0x3dfa3f?_0x7d325f['diff']['changes']['get'](_0x7ecd49+this['_step']):_0x7d325f['diff']['changes']['first'],_0x7d325f['activeChange']['data']['isOnRoot'])_0x47b28a=_0x5adabe['editing']['view']['getDomRoot'](_0x7d325f['activeChange']['rootName']);else{const _0x48d8b0=_0x5adabe['model']['markers']['get']('revision:'+_0x7d325f['activeChange']['id']);_0x47b28a=_0x3a1967(_0x5adabe['editing'],_0x48d8b0);}_0x5b4f0e({'target':_0x47b28a,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x3c9754,currentChangeNumber:_0x541b40,numberOfChanges:_0x32ff00,isReady:_0x213461,isEnabled:_0x5b7810}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x5b7810&&_0x213461&&_0x32ff00)&&(!_0x3c9754||(0x1===this['_step']?_0x541b40<_0x32ff00-0x1:_0x541b40>0x0));}}class _i extends _0x26e5c9{constructor(_0x4f5086){super(_0x4f5086);const _0x103cd4=this['bindTemplate'],_0x1023d9=new _0x51dfa6(_0x4f5086),_0x5edf05=new _0x51dfa6(_0x4f5086);this['set']('isNavigationMode',!0x1),this['set']('isReady',!0x1),this['set']('currentChangeNumber',0x0),this['set']('numberOfChanges',0x0),this['set']('isForwardNavigationEnabled',!0x1),this['set']('isBackwardNavigationEnabled',!0x1),this['bind']('_isStatusLabelVisible')['to'](this,'isReady',this,'numberOfChanges',(_0x37575f,_0x5e5014)=>_0x37575f&&_0x5e5014>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0xab8cf3,_0x519697,_0x5885b1,_0x34b680)=>{if(!_0xab8cf3)return y(_0x4f5086,'Loading...');if(!_0x5885b1)return y(_0x4f5086,'No\x20changes');const _0x5ab87a=y(_0x4f5086,'NUMBER_OF_CHANGES',_0x5885b1);return _0x34b680?y(_0x4f5086,'X_OF_Y_CHANGES',[_0x519697+0x1,_0x5885b1]):_0x5ab87a;}),_0x1023d9['set']({'label':y(_0x4f5086,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M16.435\x2014.494a.75.75\x200\x200\x200\x201.197-.899l-.067-.089-6.992-8a.75.75\x200\x200\x200-1.05-.078l-.079.078-7.008\x208a.75.75\x200\x200\x200\x201.049\x201.066l.08-.078\x206.442-7.354\x206.428\x207.354z\x22/></svg>\x0a'}),_0x5edf05['set']({'label':y(_0x4f5086,'Show\x20next\x20change'),'tooltip':!0x0,'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M16.435\x205.506a.75.75\x200\x200\x201\x201.197.899l-.067.089-6.992\x208a.75.75\x200\x200\x201-1.05.078l-.079-.078-7.008-8a.75.75\x200\x200\x201\x201.049-1.066l.08.078\x206.442\x207.354\x206.428-7.354z\x22/></svg>\x0a'}),_0x1023d9['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x5edf05['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x1023d9['on']('execute',()=>this['fire']('execute','backward')),_0x5edf05['on']('execute',()=>this['fire']('execute','forward')),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-ui','ck-revision-history-ui__changes-navigation']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__wrapper']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__label',_0x103cd4['if']('_isStatusLabelVisible','ck-hidden',_0x47bc2d=>!_0x47bc2d)]},'children':[{'text':_0x103cd4['to']('isNavigationMode',_0x25ec33=>_0x25ec33?y(_0x4f5086,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x4f5086,'Total')+':\x20')}]},{'text':_0x103cd4['to']('_statusText')}]},new _0x5d5f75(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x1023d9,_0x5edf05]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x26bd26{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x429a87=this['editor']['editing']['view'];_0x429a87['change'](_0x5617c1=>{for(const _0x1c687d of _0x429a87['document']['roots'])_0x5617c1['addClass'](ce,_0x1c687d);});}['hide'](){const _0x522262=this['editor']['editing']['view'];_0x522262['change'](_0x32c506=>{for(const _0xdb5f41 of _0x522262['document']['roots'])_0x32c506['removeClass'](ce,_0xdb5f41);});}}class R extends _0x26bd26{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x52d691=this['editor'],_0x375fbb=_0x52d691['plugins']['get'](d),_0x44f055=_0x52d691['plugins']['get'](de);_0x52d691['ui']['componentFactory']['add']('exitToEditing',_0xfc8df3=>{const _0xb5d241=new _0x51dfa6(_0xfc8df3);return _0xb5d241['set']({'label':y(_0xfc8df3,'Back\x20to\x20editing'),'icon':_0x3886ba['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0xb5d241,'execute',()=>{_0x52d691['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0xb5d241;}),_0x52d691['ui']['componentFactory']['add']('restoreRevision',_0x207f81=>{const _0x221a8f=new _0x51dfa6(_0x207f81);return _0x221a8f['set']({'label':y(_0x207f81,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x221a8f['bind']('isEnabled')['to'](_0x52d691['commands']['get']('restoreRevision')),this['listenTo'](_0x221a8f,'execute',()=>_0x52d691['execute']('restoreRevision')),_0x221a8f;}),_0x52d691['ui']['componentFactory']['add']('changesNavigation',_0x3859a9=>{const _0x31fc94=new _i(_0x3859a9),_0x549a9d=_0x52d691['commands']['get']('showPreviousChange'),_0x2697fa=_0x52d691['commands']['get']('showNextChange');return _0x31fc94['bind']('isBackwardNavigationEnabled')['to'](_0x549a9d,'isEnabled'),_0x31fc94['bind']('isForwardNavigationEnabled')['to'](_0x2697fa,'isEnabled'),_0x31fc94['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x375fbb),this['listenTo'](_0x31fc94,'execute',(_0x36b9d5,_0x1876a1)=>{_0x52d691['execute']('forward'===_0x1876a1?'showNextChange':'showPreviousChange');}),_0x31fc94;}),_0x44f055['show'](),_0x375fbb['on']('change:isReady',(_0x245536,_0x1a050b,_0x3e182d)=>{_0x3e182d?_0x44f055['hide']():_0x44f055['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x8722ac,_0x893813){super(_0x8722ac,_0x893813);const _0x6a02b8=this['bindTemplate'];this['set']({'label':y(_0x8722ac,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x8722ac,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x6a02b8['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new mt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x5826af=this['fieldView']['element'];this['_tooltipString']=_0x5826af['scrollWidth']>_0x5826af['clientWidth']&&_0x5826af['value']||'';}}class ti extends _0x26e5c9{constructor(_0xc0b90c,_0x2d715b,_0x5d45e4){super(_0xc0b90c);const _0x567e22=new _0x5b75cd();_0x567e22['set']({'content':'<svg\x20viewBox=\x220\x200\x2011\x2010\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20xmlns:xlink=\x22http://www.w3.org/1999/xlink\x22><path\x20d=\x22M5.5\x205C8.538\x205\x2011\x207.015\x2011\x209.5c0\x20.17-.011.336-.034.5H.034A3.732\x203.732\x200\x200\x201\x200\x209.5C0\x207.015\x202.462\x205\x205.5\x205zm0-5a2.5\x202.5\x200\x201\x201\x200\x205\x202.5\x202.5\x200\x200\x201\x200-5z\x22\x20/></svg>\x0a','viewBox':'0\x200\x2011\x2010'});const _0x2360d4=['ck','ck-revision-history-sidebar__revision-author'];_0x5d45e4&&_0x2360d4['push']('ck-revision-history-sidebar__revision-author_creator');const _0x3b8649=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0xc0b90c,_0x5d45e4?'Revision\x20creator':'Revision\x20author')},'children':[_0x567e22,_0x2d715b['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x2360d4},'children':_0x3b8649});}}function ni(_0x496ede,_0x36d639){const _0x33c301=_0x496ede['bindTemplate'],_0x4bdadd=_0x496ede['locale'],_0x1b7319=_0x369452(_0x4bdadd);_0x1b7319['panelPosition']='sw';const _0x113e53=function(_0x1c8a64,_0x4a302a){const _0x3793d6=function(_0x61c617,_0x505d80){const _0x3e0dbb=_0x61c617['locale'],_0x208c8b={'Compare\x20against\x20selected':y(_0x3e0dbb,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x3e0dbb,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x3e0dbb,'Restore\x20this\x20revision')};return _0x505d80['map'](_0x405be0=>{const _0x4bd86f=_0x208c8b[_0x405be0['name']];return _0x4bd86f&&_0x4bd86f!==_0x405be0['name']&&(_0x405be0['name']=_0x4bd86f),_0x405be0;});}(_0x1c8a64,_0x4a302a),_0x1fc3f3=new _0xb29b20();for(const _0x273899 of _0x3793d6){const _0x217886={'type':'button','model':new to({'label':_0x273899['name'],'class':_0x273899['class'],'withText':!0x0,'role':'menuitem','_action':_0x273899['action']})};_0x217886['model']['bind']('isEnabled')['to'](_0x1c8a64,'isActionsDropdownOpen',_0x65fe9b=>'function'!=typeof _0x273899['isEnabled']||(!_0x65fe9b||_0x273899['isEnabled'](_0x1c8a64))),_0x1fc3f3['add'](_0x217886);}return _0x1fc3f3;}(_0x496ede,_0x36d639);return _0x496ede['bind']('isActionsDropdownOpen')['to'](_0x1b7319,'isOpen'),_0x1b7319['buttonView']['set']({'label':y(_0x4bdadd,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x3886ba['threeVerticalDots']}),_0x1b7319['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x33c301['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x33c301['to'](_0x4d809b=>_0x4d809b['stopPropagation']())}}),_0x1b7319['on']('execute',_0x32da5d=>{_0x496ede['isReady']&&'function'==typeof _0x32da5d['source']['_action']&&_0x32da5d['source']['_action'](_0x496ede);}),_0x12f4ef(_0x1b7319,_0x113e53,{'role':'menu'}),_0x1b7319['listenTo'](_0x496ede,'change:isActionsDropdownOpen',(_0x40b05a,_0x5a6c57,_0x50d252)=>{if(_0x50d252)for(const _0x1dc7f2 of _0x1b7319['listView']['items']){const _0x154eae=_0x1dc7f2['children']['first'],_0x5d48fa=_0x36d639['find'](_0x4f87eb=>_0x4f87eb['action']===_0x154eae['_action'])['isVisible'];_0x1dc7f2['isVisible']=void 0x0===_0x5d48fa||_0x5d48fa(_0x496ede);}}),_0x1b7319;}class ai extends _0x545dd0(_0x26e5c9){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x42106a,_0x3742ea,_0x18adaf,_0x49005f){super(_0x42106a);const _0x381f70=this['bindTemplate'],_0x64ef2=function(_0x4966d6,_0x21263f){const _0x19f8ec=Array['from'](_0x21263f['authors'])['filter'](_0xad2d6b=>_0xad2d6b!=_0x21263f['creator']);return _0x21263f['creator']&&_0x19f8ec['unshift'](_0x21263f['creator']),_0x19f8ec['map'](_0x59e9d5=>new ti(_0x4966d6,_0x59e9d5,_0x59e9d5==_0x21263f['creator']));}(_0x42106a,_0x3742ea);this['id']=_0x3742ea['id'],this['_revision']=_0x3742ea,this['_requireRevisionName']=_0x49005f,this['bind']('name','createdAt')['to'](_0x3742ea),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x3b4837=>{return _0x3bc986=_0x42106a['uiLanguage'],(_0xa4a9c4=_0x3b4837)['toLocaleDateString'](_0x3bc986,{'month':'long','day':'numeric'})+',\x20'+_0xa4a9c4['toLocaleTimeString'](_0x3bc986,{'hour':'numeric','minute':'numeric'});var _0x3bc986,_0xa4a9c4;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x42106a,_0x9e4e7d),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x2eb495=>_0x2eb495||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x1fb662,_0x97d0d0)=>_0x1fb662&&_0x97d0d0),this['revisionActionsView']=_0x18adaf&&_0x18adaf['length']?ni(this,_0x18adaf):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x381f70['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x381f70['if']('isEnabled','ck-disabled',_0x3b9f98=>!_0x3b9f98),_0x381f70['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x381f70['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x381f70['if']('isActionsDropdownOpen','ck-revision-history-sidebar__actions_dropdown_open')]},'children':[this['revisionNameView'],{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision__date']},'children':[{'text':_0x381f70['to']('_createdAtFormatted')}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__revision__controls-wrapper']},'children':[{'tag':'ul','attributes':{'class':['ck','ck-revision-history-sidebar__revision-authors']},'children':_0x64ef2}]},this['revisionActionsView']],'on':{'click':_0x381f70['to'](_0x46a25b=>{_0x46a25b['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x12af63=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x12af63,'change',()=>{this['_requireRevisionName']&&!_0x12af63['value']||this['fire']('setName',{'id':this['id'],'name':_0x12af63['value']}),_0x12af63['value']||(_0x12af63['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function di(_0x32d626,_0x562d82){const _0x10201f=_0x154ff2['fromJSDate'](_0x32d626)['setLocale'](_0x562d82),_0x203934=_0x154ff2['local'](),_0x526b22=_0x203934['minus']({'days':0x1})['startOf']('day');let _0x42d002,_0x47ec1c;return _0x10201f['hasSame'](_0x203934,'day')?(_0x42d002=_0x10201f['startOf']('day')['toJSDate'](),_0x47ec1c=_0x10201f['toRelativeCalendar']()):_0x10201f['hasSame'](_0x526b22,'day')?(_0x42d002=_0x526b22['toJSDate'](),_0x47ec1c=_0x10201f['toRelativeCalendar']()):_0x10201f['hasSame'](_0x203934,'week')?(_0x42d002=_0x10201f['startOf']('week')['toJSDate'](),_0x47ec1c=_0x10201f['weekdayLong']||''):_0x10201f['hasSame'](_0x203934,'year')?(_0x42d002=_0x10201f['startOf']('month')['toJSDate'](),_0x47ec1c=_0x10201f['monthLong']||''):(_0x42d002=_0x10201f['startOf']('year')['toJSDate'](),_0x47ec1c=String(_0x10201f['year'])),{'startDate':_0x42d002,'localizedPeriodName':_0x47ec1c};}class mi extends _0x26e5c9{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x1c3dae,_0x3bc556,_0x52aa26,_0x5377ab){super(_0x1c3dae);const _0x4f5586=di(_0x3bc556,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x3bc556,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x52aa26,this['_requireRevisionName']=_0x5377ab,this['revisionViews']['delegate']('select')['to'](this),this['revisionViews']['delegate']('setName')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period']},'children':[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__label']},'children':[{'text':_0x4f5586}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x239a6f){const _0x23df5b=new ai(this['locale'],_0x239a6f,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x23df5b);}['removeRevision'](_0x4f84a8){const _0x4363f7=this['revisionViews']['find'](_0x24fd69=>_0x24fd69['id']===_0x4f84a8['id']);this['revisionViews']['remove'](_0x4363f7);}}class as extends _0x26e5c9{constructor(_0x1878b4){super(_0x1878b4);const _0x5afb37=new _0x5b75cd();_0x5afb37['content']=_0x3886ba['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x5afb37,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x1878b4,'Revision\x20history')]}]});}}class ci extends _0x26e5c9{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x26c363,_0x2d3337,_0x1560ee,_0x2ba282){super(_0x26c363);const _0x440f69=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x2d3337,this['_revisionActions']=_0x1560ee,this['_requireRevisionName']=_0x2ba282,this['on']('select',(_0xe1879b,_0x17c6a1)=>{this['fire']('revisionSelected',_0x17c6a1);}),this['on']('setName',(_0x2573a5,_0x4cf92b)=>{this['fire']('revisionSetName',_0x4cf92b);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x26c363),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x440f69['if']('isEnabled','ck-disabled',_0xc20b11=>!_0xc20b11)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x20f466 of this['_revisions'])this['_addRevision'](_0x20f466);this['_revisions']['on']('add',(_0x523d20,_0x1c6324)=>{this['_addRevision'](_0x1c6324);}),this['_revisions']['on']('remove',(_0x1d16e8,_0x4cfafa)=>{this['_removeRevision'](_0x4cfafa);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x5c87f3=>_0x5c87f3['revisionViews']['map'](_0x14f11b=>_0x14f11b))['flat']();}['selectRevision'](_0x219827){for(const _0x4f4270 of this['revisionViews'])_0x219827&&_0x219827['id']===_0x4f4270['id']?_0x4f4270['select']():_0x4f4270['deselect']();}['highlightRevisions'](_0xbb3f52){for(const _0x1e9758 of this['revisionViews'])_0xbb3f52['some'](({id:_0x46f557})=>_0x46f557===_0x1e9758['id'])?_0x1e9758['highlight']():_0x1e9758['unhighlight']();}['_addRevision'](_0x2e33f6){const _0x1d3593=di(_0x2e33f6['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x2e2c42=this['timePeriodViews']['get'](0x0);_0x2e2c42&&_0x2e2c42['startDate']['getTime']()===_0x1d3593['getTime']()||(_0x2e2c42=new mi(this['locale'],_0x1d3593,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x2e2c42)),_0x2e2c42['addRevision'](_0x2e33f6);}['_removeRevision'](_0x5c70d5){const _0x4fde8e=di(_0x5c70d5['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x4fde8e)['removeRevision'](_0x5c70d5);}['_getTimePeriodViewByStartDate'](_0x1699dc){return this['timePeriodViews']['find'](_0x5ac141=>_0x5ac141['startDate']['getTime']()===_0x1699dc['getTime']());}}class w extends _0x26bd26{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions'];static ['availableRevisionActions'];static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x1adbad){super(_0x1adbad),this['_revisionViewer']=_0x1adbad['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x455b43=this['_revisionsRepository']['_revisions'],_0x2a5a14=this['_createRevisionActions'](),_0x51ebd8=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x455b43,_0x2a5a14,this['editor']['config']['get']('revisionHistory.requireRevisionName')),this['_sidebarView']['on']('revisionSelected',this['_handleRevisionSelected']['bind'](this)),this['_sidebarView']['on']('revisionSetName',this['_handleRevisionSetName']['bind'](this)),this['_sidebarView']['bind']('isEnabled')['to'](this['_revisionViewer']),this['_sidebarView']['timePeriodViews']['on']('add',(_0x34eb10,_0x4a9655)=>{_0x4a9655['revisionViews']['on']('add',(_0x4c3793,_0x481fdc)=>{_0x481fdc['bind']('isEnabled','isReady')['to'](this['_revisionViewer']);});}),this['_sidebarView']['render'](),this['listenTo'](this['editor']['data'],'ready',this['_handleEditorDataReady']['bind'](this)),this['listenTo'](this['_revisionViewer'],'change:diff',this['_handleDiffChange']['bind'](this)),_0x51ebd8['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x14f57e=this['_revisionsRepository']['getRevision'](0x0);if(_0x14f57e){const _0x4f5129=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x14f57e['id']);this['_revisionViewer']['compare'](_0x14f57e,_0x4f5129);}}['_handleRevisionSelected'](_0x2cac8d,_0x4edbe8){const _0x4e5487=this['_revisionsRepository']['getRevision'](_0x4edbe8['id']),_0x512e94=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4e5487['id']);this['_revisionViewer']['compare'](_0x4e5487,_0x512e94);}['_handleRevisionSetName'](_0x34b2e1,_0x4c845f){this['_revisionsRepository']['getRevision'](_0x4c845f['id'])['setName'](_0x4c845f['name']);}['_handleDiffChange'](_0xda8a38,_0x14cfa9,_0x4bb5c3){const _0x23b13f=this['_revisionsRepository']['getRevisionsInDiff'](_0x4bb5c3);_0x23b13f['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x23b13f),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x23b13f[0x0]));}['_createRevisionActions'](){const _0x46e3f5=this['editor'],_0x4a3a06=w['availableRevisionActions'],_0x584436=_0x46e3f5['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x584436['length'])return _0x584436['map'](_0x33f244=>{const _0x57b615='string'==typeof _0x33f244?Object['assign']({},_0x4a3a06[_0x33f244]):_0x33f244;return _0x57b615['action']=_0x57b615['action']['bind'](this,_0x46e3f5),_0x57b615['isVisible']&&(_0x57b615['isVisible']=_0x57b615['isVisible']['bind'](this,_0x46e3f5)),_0x57b615;});}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x3f4750},_0x39686d)=>{const _0x5b3f90=_0x3f4750['get'](d),_0x12a389=_0x5b3f90['repository'];let _0x415bbc=_0x5b3f90['diff']['newRevisionId'],_0x38e119=_0x39686d['id'];_0x12a389['getIndex'](_0x415bbc)>_0x12a389['getIndex'](_0x38e119)&&([_0x415bbc,_0x38e119]=[_0x38e119,_0x415bbc]),_0x5b3f90['compare'](_0x415bbc,_0x38e119);},'isVisible':({plugins:_0x536d00},_0x2ff35f)=>{const _0x403b14=_0x536d00['get'](d);return!(_0x403b14['repository']['getRevisionsInDiff'](_0x403b14['diff'])['length']>0x2)&&!_0x2ff35f['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x206850,{id:_0x2ace65})=>{_0x206850['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2ace65);},'isVisible':({plugins:_0x3cf7e1},_0x2e98cc)=>!!_0x3cf7e1['get'](d)['repository']['getLaterVisibleRevision'](_0x2e98cc['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x2e4946},{id:_0xc6f663,revisionNameView:_0x42b4d7})=>{const _0x4a6dd3=_0x2e4946['get'](d),_0x2ff0cc=_0x4a6dd3['repository']['getEarlierVisibleRevision'](_0xc6f663);_0x4a6dd3['compare'](_0xc6f663,_0x2ff0cc),_0x42b4d7['focus'](),_0x42b4d7['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x3a3874,_0x14569d){super(_0x3a3874),this['_view']=_0x14569d,this['_toolbarConfig']=ct(_0x3a3874['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x407eeb){const _0x1ef2d9=this['editor'],_0x363256=this['view'],_0x3bc691=_0x1ef2d9['editing']['view'],_0x233e83=_0x363256['editable'],_0x360f70=_0x3bc691['document']['getRoot']();_0x233e83['name']=_0x360f70['rootName'],_0x363256['render']();const _0x545e62=_0x233e83['element'];this['setEditableElement'](_0x233e83['name'],_0x545e62),_0x363256['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x3bc691['attachDomRoot'](_0x545e62),this['_elementReplacer']['replace'](_0x407eeb,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x4b43d6=this['view'],_0x10803f=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x10803f['detachDomRoot'](_0x4b43d6['editable']['name']),_0x4b43d6['destroy']();}['_initToolbar'](){const _0x59c861=this['view'];_0x59c861['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x59c861['stickyPanel']['limiterElement']=_0x59c861['element'],_0x59c861['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x33af6b})=>_0x33af6b),_0x59c861['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x59c861['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x2913ee,_0x1cba13,_0x3c8c61={}){super(_0x2913ee),this['stickyPanel']=new lt(_0x2913ee),this['toolbar']=new pt(_0x2913ee,{'shouldGroupWhenFull':_0x3c8c61['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x2913ee,_0x1cba13);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0xa0c2f5,_0x4e8620){super(_0x4e8620),this['sourceElement']=_0xa0c2f5,this['model']['document']['createRoot']();const _0x14b639=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x14b639);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x554f45,_0x220666){const _0x9784a1=new this(_0x554f45,_0x220666);return await _0x9784a1['initPlugins'](),await _0x9784a1['ui']['init'](_0x554f45),await _0x9784a1['data']['init'](_0x9784a1['config']['get']('initialData')||''),_0x9784a1['fire']('ready'),_0x9784a1;}}const g=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x26bd26{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x3dbc4a){super(_0x3dbc4a),this['result']='end';}}class H extends _0x26bd26{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x19c720){if(super(_0x19c720),!this['editor']['config']['get']('revisionHistory'))throw new _0x5c8d32('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0xecf9ce=>this['_showRevisionViewer']({..._0xecf9ce,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x3d57a1=>this['_closeRevisionViewer'](_0x3d57a1)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x486f62=>this['_restoreRevision'](_0x486f62)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x5d18aa){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x5d18aa;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x421391){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x421391);}['getRevision'](_0x27ffa0){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x27ffa0);}['getRevisions'](_0x57e49a={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x57e49a);}['_getRevisionViewerEditorConfig'](){const _0x59c815=this['editor'],_0x767bb0=_0x5ac833(_0x59c815,g),_0x45784b=_0x59c815['plugins']['get']('RevisionTracker'),_0x2c0590=_0x59c815['plugins']['get']('Users')['users'];return _0x767bb0['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x767bb0['lazyRoots'],(_0x767bb0['plugins']['push'](k,d,R,class extends _0x26bd26{static get['requires'](){return[d,'Users'];}['init'](){const _0x9b4a2b=this['editor']['plugins']['get']('Users');for(const _0x38ec6c of _0x2c0590)_0x38ec6c['isAnonymous']||_0x9b4a2b['getUser'](_0x38ec6c['id'])||_0x9b4a2b['addUser'](_0x38ec6c);const _0x2ea6c2=_0x45784b['repository']['getRevisions']();let _0x4e633f=null;const _0x262e9b=this['editor']['plugins']['get']('RevisionViewer');_0x262e9b['adapter']=_0x45784b['adapter'],_0x262e9b['bind']('isEnabled')['to'](_0x45784b),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x59c815,'isReadOnly',_0x471974=>!_0x471974);for(const _0x342936 of _0x2ea6c2){const _0x280af4=null===_0x342936['creator'];if(_0x280af4&&_0x342936['toVersion']===_0x342936['fromVersion'])continue;const _0x211304=_0x342936['toJSON']();_0x262e9b['addRevisionData'](_0x211304,(_0x31a891,_0x25a68a,_0x4ff6f2)=>{if(_0x280af4){if(_0x4e633f)_0x4e633f['_update'](_0x31a891,_0x25a68a);else{if(!_0x25a68a){const _0x12d9c2=_0x4ff6f2['toJSON']();_0x12d9c2['id']=_0x535ce0(),_0x45784b['saveRevision'](_0x12d9c2,_0x4ff6f2['toVersion'])['then'](_0x5056d5=>{_0x4e633f=_0x5056d5;});}}}else _0x342936['_update'](_0x31a891,_0x25a68a);});}}},w),_0x767bb0);}['_enhanceShowRevisionViewerCallback'](){const _0x1e4d35=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x2ecf7e=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x436a9d=this['editor']['plugins']['get']('Autosave');await _0x436a9d['save']();}else await _0x2ecf7e['update']();this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks']();const _0x27b4f6=this['_getRevisionViewerEditorConfig']();return _0x1e4d35(_0x27b4f6)['then'](_0xc91af1=>{return(this['_viewerEditor']=_0xc91af1,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0xc91af1;})['catch'](_0x3cb1f6=>(console['error'](_0x3cb1f6),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x588d59=this['editor']['config']['get']('revisionHistory')['closeRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.closeRevisionViewerCallback',()=>(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['_viewerEditor']['plugins']['get']('RevisionViewer')['_cleanUp'](),_0x588d59(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x5a2d16=this['editor']['plugins']['get']('Annotations');_0x5a2d16['refreshVisibility'](),_0x5a2d16['refreshPositioning']();}})));}['_showRevisionViewer'](_0x54684e){const _0x49926b=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x156d42=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0xe276a7=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0xe276a7,_0x54684e)['then'](_0x198615=>(_0x156d42['style']['display']='block',_0x49926b['style']['display']='none',_0x198615));}['_closeRevisionViewer'](_0x55d840){const _0x394d40=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x394d40['style']['display']='',_0x55d840['destroy']();}async['_restoreRevision'](_0x4c4620){const _0x1dbb64=this['editor'],_0x3fa54c=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x3e35de=_0x1dbb64['plugins']['get']('RevisionTracker'),_0x249ceb=_0x3fa54c['repository']['getRevision'](_0x4c4620);let _0x484c55,_0x511411,_0x321c04;try{_0x484c55=await _0x3fa54c['getRevisionData'](_0x249ceb),_0x511411=await _0x3fa54c['getRevisionRootsAttributes'](_0x249ceb);}catch(_0x2299a7){return void console['error'](_0x2299a7);}_0x1dbb64['model']['change'](_0x2440ef=>{for(const _0x560c08 of Array['from'](_0x1dbb64['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x2440ef['removeMarker'](_0x560c08);}),_0x3fa54c['isReady']=!0x1,_0x1dbb64['model']['enqueueChange'](_0x8fa0de=>{_0x8fa0de['setSelection'](null),_0x8fa0de['removeSelectionAttribute'](_0x1dbb64['model']['document']['selection']['getAttributeKeys']());const _0x35b3fa=Object['keys'](_0x484c55);for(const _0x532c03 of _0x1dbb64['model']['document']['roots'])'$graveyard'!=_0x532c03['rootName']&&_0x532c03['isAttached']()&&!_0x35b3fa['includes'](_0x532c03['rootName'])&&_0x8fa0de['detachRoot'](_0x532c03);for(const _0x313224 of _0x35b3fa){let _0x340357=_0x1dbb64['model']['document']['getRoot'](_0x313224);_0x340357&&_0x340357['isAttached']()||(_0x340357=_0x8fa0de['addRoot'](_0x313224));const _0x543665=_0x511411[_0x313224],_0x29991b=Object['keys'](_0x543665),_0x59365f=_0x484c55[_0x313224];for(const _0x2a8578 of _0x340357['getAttributeKeys']())_0x29991b['includes'](_0x2a8578)||_0x8fa0de['removeAttribute'](_0x2a8578,_0x340357);for(const _0x59c006 of _0x29991b)_0x8fa0de['setAttribute'](_0x59c006,_0x511411[_0x313224][_0x59c006],_0x340357);_0x8fa0de['remove'](_0x8fa0de['createRangeIn'](_0x340357)),_0x8fa0de['insert'](_0x1dbb64['data']['parse'](_0x59365f,_0x340357),_0x340357,0x0);}});const _0x30de8d=y(_0x1dbb64['locale'],'Restored');if(_0x249ceb['name'])_0x321c04=-0x1==_0x249ceb['name']['indexOf'](_0x30de8d)?_0x30de8d+':\x20'+_0x249ceb['name']:_0x249ceb['name'];else _0x321c04=_0x30de8d+':\x20'+(_0x249ceb['createdAt']['toLocaleDateString'](_0x1dbb64['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x249ceb['createdAt']['toLocaleTimeString'](_0x1dbb64['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x3e35de['saveRevision']({'name':_0x321c04}),_0x3fa54c['isReady']=!0x0,_0x1dbb64['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
23
+ import{Plugin as _0x365282,Context as _0x52c879,PendingActions as _0x15c95f,icons as _0x3f44ce,Command as _0x58d9eb,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x189954,uid as _0x2d17fa,Collection as _0x5db5a3,logWarning as _0x45a2f3,FocusTracker as _0x57b07f,KeystrokeHandler as _0x576e86,scrollViewportToShowTarget as _0x4d495d,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x415b91}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x2bad0c,getMarkerDomElement as _0x511f22,ConfirmMixin as _0x4b3be0,sanitizeEditorConfig as _0x3c37d3}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x19e872,ViewText as _0x319b0c,ViewElement as _0x3c4bca,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x212c9c,ViewAttributeElement as _0x3dfd9c,ViewEmptyElement as _0x2d2023,ViewRawElement as _0x55dd1f,ViewUIElement as _0x52daae,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x2bccda,set as _0x52fc5a,unset as _0x40c236,isEqual as _0x324e2b}from'lodash-es';import{View as _0xb7478c,injectCssTransitionDisabler as ts,submitHandler as _0x3ce3af,LabeledFieldView as at,createLabeledInputText as _0x183417,createDropdown as _0x547be8,ListView as te,ListItemView as _0x2052b4,ButtonView as _0x4d4495,MenuBarMenuView as _0x49b471,MenuBarMenuListView as _0x1a1261,MenuBarMenuListItemView as _0x2b5bdc,MenuBarMenuListItemButtonView as _0xd0ebac,ContextualBalloon as _0x23529a,ToolbarSeparatorView as _0x371d25,IconView as _0x57b90d,addListToDropdown as _0x24f52e,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 _0x64c198}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x189954(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x15e747){super(),this['id']=_0x15e747['id']||_0x2d17fa(),this['creator']=_0x15e747['creator']||null,this['authors']=_0x15e747['authors']||[],this['diffData']=_0x15e747['diffData']||null,this['toVersion']=_0x15e747['toVersion']||0x0,this['fromVersion']=_0x15e747['fromVersion']||0x0,this['set']('name',_0x15e747['name']||''),this['set']('createdAt',_0x15e747['createdAt']||new Date()),this['set']('attributes',_0x15e747['attributes']||{});}['setName'](_0x1dc2a8){this['_update']({'name':_0x1dc2a8});}['setAttribute'](_0x4e26ad,_0x4ad34c){const _0x4f296b=_0x2bccda(this['attributes']);_0x52fc5a(_0x4f296b,_0x4e26ad,_0x4ad34c),this['_update']({'attributes':_0x4f296b});}['removeAttribute'](_0x42024c){const _0x17bc17=_0x2bccda(this['attributes']);_0x40c236(_0x17bc17,_0x42024c),this['_update']({'attributes':_0x17bc17});}['_update'](_0x1c1520,_0x52a4ad=!0x1){let _0x16aac8=!0x1;const _0x1aa279={'id':this['id']},_0x3b0a98=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x5d4e37 of _0x3b0a98){const _0x16031e=_0x1c1520[_0x5d4e37];void 0x0!==_0x16031e&&_0x16031e!==this[_0x5d4e37]&&(this[_0x5d4e37]=_0x16031e,_0x1aa279[_0x5d4e37]=_0x16031e,_0x16aac8=!0x0);}_0x16aac8&&(_0x1aa279['authors']&&(_0x1aa279['authorsIds']=_0x1aa279['authors']['map'](_0x51450d=>_0x51450d['id']),delete _0x1aa279['authors']),this['fire']('_update',_0x1aa279,_0x52a4ad));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x10f82a=>_0x10f82a['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x365282{['_revisions'];static get['requires'](){return[_0x2bad0c];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x47bb43){super(_0x47bb43),this['_revisions']=new _0x5db5a3();}['afterInit'](){!function(_0x55277f){function _0xf6f611(_0x385966,_0x151b66,_0x4f4de9){const _0x18096b={};_0x18096b[_0x5cfbd3([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x18096b[_0x5cfbd3([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],_0x18096b[_0x5cfbd3([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],_0x18096b[_0x5cfbd3([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],_0x18096b[_0x5cfbd3([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],_0x18096b[_0x5cfbd3([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],_0x18096b[_0x5cfbd3([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],_0x18096b[_0x5cfbd3([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],_0x18096b[_0x5cfbd3([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],_0x18096b[_0x5cfbd3([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],_0x18096b[_0x5cfbd3([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 _0x48dc37=new Uint8Array(0x10);for(let _0x43c2c5=0xf;_0x43c2c5>=0x0;--_0x43c2c5)_0x48dc37[_0x43c2c5]=_0x4f4de9%0x100,_0x4f4de9=parseInt(_0x4f4de9/0x100);let _0x157a3f=null,_0x5932c3=0x10;const _0x3ea689=new Uint8Array(_0x151b66),_0x156f5b=[],_0x3ccf4f=[];_0x4e6d0f();for(let _0x4db641=0x0;_0x4db641<_0x385966[_0x5cfbd3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4db641++)0x10===_0x5932c3&&(_0x157a3f=_0x4d1e77(_0x48dc37),_0x5932c3=0x0,_0x1b4c95(_0x48dc37)),_0x385966[_0x4db641]^=_0x157a3f[_0x5932c3++];return _0x385966;function _0x471e9a(_0x512b25){const _0x4697b2=[];for(let _0x2fb010=0x0;_0x2fb010<_0x512b25[_0x5cfbd3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2fb010+=0x4)_0x4697b2[_0x5cfbd3([0x70,0x75,0x73,0x68])](_0x512b25[_0x2fb010]<<0x18|_0x512b25[_0x2fb010+0x1]<<0x10|_0x512b25[_0x2fb010+0x2]<<0x8|_0x512b25[_0x2fb010+0x3]);return _0x4697b2;}function _0x1b4c95(_0xd843c){for(let _0x523a76=0xf;_0x523a76>=0x0;_0x523a76--){if(0xff!==_0xd843c[_0x523a76]){_0xd843c[_0x523a76]++;break;}_0xd843c[_0x523a76]=0x0;}}function _0x4d1e77(_0x346347){const _0x25903e=_0x156f5b[_0x5cfbd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x4467f5=[0x0,0x0,0x0,0x0];let t=_0x471e9a(_0x346347);for(let _0x3e12be=0x0;_0x3e12be<0x4;_0x3e12be++)t[_0x3e12be]^=_0x156f5b[0x0][_0x3e12be];for(let _0x5cdabc=0x1;_0x5cdabc<_0x25903e;_0x5cdabc++){for(let _0x54872c=0x0;_0x54872c<0x4;_0x54872c++)_0x4467f5[_0x54872c]=_0x18096b[_0x5cfbd3([0x54,0x31])][t[_0x54872c]>>0x18&0xff]^_0x18096b[_0x5cfbd3([0x54,0x32])][t[(_0x54872c+0x1)%0x4]>>0x10&0xff]^_0x18096b[_0x5cfbd3([0x54,0x33])][t[(_0x54872c+0x2)%0x4]>>0x8&0xff]^_0x18096b[_0x5cfbd3([0x54,0x34])][0xff&t[(_0x54872c+0x3)%0x4]]^_0x156f5b[_0x5cdabc][_0x54872c];t=_0x4467f5[_0x5cfbd3([0x73,0x6c,0x69,0x63,0x65])]();}const _0x5ac510=new Uint8Array(0x10);let _0x137605;for(let _0x5593b1=0x0;_0x5593b1<0x4;_0x5593b1++)_0x137605=_0x156f5b[_0x25903e][_0x5593b1],_0x5ac510[0x4*_0x5593b1]=0xff&(_0x18096b[_0x5cfbd3([0x53])][t[_0x5593b1]>>0x18&0xff]^_0x137605>>0x18),_0x5ac510[0x4*_0x5593b1+0x1]=0xff&(_0x18096b[_0x5cfbd3([0x53])][t[(_0x5593b1+0x1)%0x4]>>0x10&0xff]^_0x137605>>0x10),_0x5ac510[0x4*_0x5593b1+0x2]=0xff&(_0x18096b[_0x5cfbd3([0x53])][t[(_0x5593b1+0x2)%0x4]>>0x8&0xff]^_0x137605>>0x8),_0x5ac510[0x4*_0x5593b1+0x3]=0xff&(_0x18096b[_0x5cfbd3([0x53])][0xff&t[(_0x5593b1+0x3)%0x4]]^_0x137605);return _0x5ac510;}function _0x4e6d0f(){const _0x4f748d=_0x18096b[_0x5cfbd3([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x3ea689[_0x5cfbd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x44ffbc=0x0;_0x44ffbc<=_0x4f748d;_0x44ffbc++)_0x156f5b[_0x5cfbd3([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x3ccf4f[_0x5cfbd3([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x1abd9b=0x4*(_0x4f748d+0x1),_0x58956e=_0x3ea689[_0x5cfbd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x45228b=_0x471e9a(_0x3ea689);let _0x33da56;for(let _0x3e9c36=0x0;_0x3e9c36<_0x58956e;_0x3e9c36++)_0x33da56=_0x3e9c36>>0x2,_0x156f5b[_0x33da56][_0x3e9c36%0x4]=_0x45228b[_0x3e9c36],_0x3ccf4f[_0x4f748d-_0x33da56][_0x3e9c36%0x4]=_0x45228b[_0x3e9c36];let _0x2e3739,_0x554c16=0x0,t=_0x58956e;for(;t<_0x1abd9b;){_0x2e3739=_0x45228b[_0x58956e-0x1],_0x45228b[0x0]^=_0x18096b[_0x5cfbd3([0x53])][_0x2e3739>>0x10&0xff]<<0x18^_0x18096b[_0x5cfbd3([0x53])][_0x2e3739>>0x8&0xff]<<0x10^_0x18096b[_0x5cfbd3([0x53])][0xff&_0x2e3739]<<0x8^_0x18096b[_0x5cfbd3([0x53])][_0x2e3739>>0x18&0xff]^_0x18096b[_0x5cfbd3([0x72,0x63,0x6f,0x6e])][_0x554c16]<<0x18,_0x554c16+=0x1;for(let _0xcfdaf6=0x1;_0xcfdaf6<_0x58956e/0x2;_0xcfdaf6++)_0x45228b[_0xcfdaf6]^=_0x45228b[_0xcfdaf6-0x1];_0x2e3739=_0x45228b[_0x58956e/0x2-0x1],_0x45228b[_0x58956e/0x2]^=_0x18096b[_0x5cfbd3([0x53])][0xff&_0x2e3739]^_0x18096b[_0x5cfbd3([0x53])][_0x2e3739>>0x8&0xff]<<0x8^_0x18096b[_0x5cfbd3([0x53])][_0x2e3739>>0x10&0xff]<<0x10^_0x18096b[_0x5cfbd3([0x53])][_0x2e3739>>0x18&0xff]<<0x18;for(let _0x161179=_0x58956e/0x2+0x1;_0x161179<_0x58956e;_0x161179++)_0x45228b[_0x161179]^=_0x45228b[_0x161179-0x1];let _0x13c13c,_0x255339,_0x552512=0x0;for(;_0x552512<_0x58956e&&t<_0x1abd9b;)_0x13c13c=t>>0x2,_0x255339=t%0x4,_0x156f5b[_0x13c13c][_0x255339]=_0x45228b[_0x552512],_0x3ccf4f[_0x4f748d-_0x13c13c][_0x255339]=_0x45228b[_0x552512++],t++;}for(let _0x17971d=0x1;_0x17971d<_0x4f748d;_0x17971d++)for(let _0x5e4b43=0x0;_0x5e4b43<0x4;_0x5e4b43++)_0x2e3739=_0x3ccf4f[_0x17971d][_0x5e4b43],_0x3ccf4f[_0x17971d][_0x5e4b43]=_0x18096b[_0x5cfbd3([0x55,0x31])][_0x2e3739>>0x18&0xff]^_0x18096b[_0x5cfbd3([0x55,0x32])][_0x2e3739>>0x10&0xff]^_0x18096b[_0x5cfbd3([0x55,0x33])][_0x2e3739>>0x8&0xff]^_0x18096b[_0x5cfbd3([0x55,0x34])][0xff&_0x2e3739];}}function _0x5cfbd3(_0x142c39){return _0x142c39['map'](_0x1687df=>String['fromCharCode'](_0x1687df))['join']('');}(_0x274b17=>{function _0x138dc7(){const _0x558fae=[{[_0x5cfbd3([0x69,0x64])]:0x1,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x5cfbd3([0x69,0x64])]:0x2,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([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]),[_0x5cfbd3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5cfbd3([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5cfbd3([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5cfbd3([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x5cfbd3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5cfbd3([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5cfbd3([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5cfbd3([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5cfbd3([0x69,0x64])]:0x3,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5cfbd3([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5cfbd3([0x69,0x64])]:0x4,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([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]),[_0x5cfbd3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5cfbd3([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5cfbd3([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5cfbd3([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5cfbd3([0x69,0x64])]:0x5,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5cfbd3([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]),[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5cfbd3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5cfbd3([0x66,0x67,0x69])]:[0xc]}},{[_0x5cfbd3([0x69,0x64])]:0x6,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5cfbd3([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5cfbd3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5cfbd3([0x66,0x67,0x69])]:[0xc]}},{[_0x5cfbd3([0x69,0x64])]:0x7,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5cfbd3([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5cfbd3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5cfbd3([0x66,0x67,0x69])]:[0xc]}},{[_0x5cfbd3([0x69,0x64])]:0x8,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5cfbd3([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]),[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5cfbd3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5cfbd3([0x66,0x67,0x69])]:[0xc]}},{[_0x5cfbd3([0x69,0x64])]:0x9,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5cfbd3([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5cfbd3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5cfbd3([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x5cfbd3([0x69,0x64])]:0xa,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([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]),[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([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]),[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5cfbd3([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]),[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5cfbd3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5cfbd3([0x66,0x67,0x69])]:[0xc]}},{[_0x5cfbd3([0x69,0x64])]:0xb,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5cfbd3([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5cfbd3([0x69,0x64])]:0xc,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x5cfbd3([0x69,0x64])]:0xd,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5cfbd3([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5cfbd3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5cfbd3([0x66,0x67,0x69])]:[0xc]}},{[_0x5cfbd3([0x69,0x64])]:0xe,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x5cfbd3([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([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])},{[_0x5cfbd3([0x69,0x64])]:0xf,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5cfbd3([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5cfbd3([0x69,0x64])]:0x10,[_0x5cfbd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5cfbd3([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5cfbd3([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5cfbd3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5cfbd3([0x66,0x67,0x69])]:[0xc]}}];return _0x424795(_0x558fae),_0x558fae;function _0x3099f1(_0x3a6d5b){return 0x1<<_0x3a6d5b-0x1;}function _0x424795(_0x4163bd){_0x4163bd[_0x5cfbd3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x119f0e=>{_0x119f0e[_0x5cfbd3([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x3099f1(_0x119f0e[_0x5cfbd3([0x69,0x64])]),_0x45c1fc(_0x119f0e)&&_0x119f0e[_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x424795(_0x119f0e[_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x45c1fc(_0x59f1c6){return _0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x59f1c6;}const _0x5cf96f=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0xc875ea=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x57fe98(_0x5d3925){const _0x18cef6=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x5d96ed(_0x5d3925,new Uint8Array([..._0x5cf96f,..._0x18cef6,..._0xc875ea]));}function _0x5d96ed(_0x53fda8,_0x25aea4){const _0x2f5a48=_0x2b3ded(_0x53fda8),_0x30265c=Array[_0x5cfbd3([0x66,0x72,0x6f,0x6d])](_0x48d533(_0x2f5a48)),_0x4ef1c9=_0x30265c[_0x5cfbd3([0x70,0x6f,0x70])](),_0x588ecc=_0x30265c[_0x5cfbd3([0x70,0x6f,0x70])]();return _0x318abc(_0xf6f611(_0x30265c,_0x25aea4,_0x588ecc+0x100*_0x4ef1c9));}function _0x2b3ded(_0x43ccfe){const _0x2c80f8=atob(_0x43ccfe),[_0x53f122,_0x391736]=_0x2c80f8[_0x5cfbd3([0x73,0x70,0x6c,0x69,0x74])](_0x5cfbd3([0x2d]));try{if(atob(_0x391736))return atob(_0x53f122);}catch(_0x4cba1f){}return _0x2c80f8;}function _0x3f5f84(_0x472f9a){try{const _0x13e8e8=_0x57fe98(_0x472f9a),_0x40fe13=JSON[_0x5cfbd3([0x70,0x61,0x72,0x73,0x65])](_0x13e8e8),_0x4a0ecc=parseInt(_0x40fe13[_0x5cfbd3([0x31])]),_0x34ed0d=_0x40fe13[_0x5cfbd3([0x32])]||'',_0x2bebff=parseInt(_0x40fe13[_0x5cfbd3([0x33])]),_0x1a0832=parseInt(_0x40fe13[_0x5cfbd3([0x34])])||0x0,_0x56a3e8=parseInt(_0x40fe13[_0x5cfbd3([0x35])])||0x0;return{[_0x5cfbd3([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x34ed0d,[_0x5cfbd3([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x1a0832,[_0x5cfbd3([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x4a0ecc,[_0x5cfbd3([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x2bebff,[_0x5cfbd3([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x56a3e8};}catch(_0x4d998d){return null;}}const _0x498d18=_0x138dc7(),_0x5e6640={[_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x4693f9,[_0x5cfbd3([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])]:_0x1574cf,[_0x5cfbd3([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])]:_0x340bc5},_0x702a37=_0x274b17[_0x5cfbd3([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x1ff8d7=_0x5cfbd3([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x274b17?_0x274b17['context']:_0x274b17['editor'],_0x1482fb=_0x5cfbd3([0x34,0x30,0x34,0x38,0x31,0x30,0x33,0x30]),_0x500aff=_0x5cfbd3([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]),_0x121531=_0x1ff8d7['config']['get'](_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4eff00=_0x498d18[_0x5cfbd3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x45c1fc)[_0x5cfbd3([0x66,0x69,0x6e,0x64])](_0x883fba=>_0x883fba[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x702a37);function _0x36eb8b(_0x534185,_0x5a5fde){_0x5e6640[_0x5a5fde[_0x5cfbd3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x534185,_0x5a5fde),_0x5a5fde[_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5a5fde[_0x5cfbd3([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x5cfbd3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x117b42=>_0x48ffad(_0x1ff8d7,_0x117b42[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x5cfbd3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x32dbc0=>_0x36eb8b(_0x534185,_0x32dbc0));}function _0x4693f9(_0x476759,_0x38002c){_0x2934aa(_0x466d6a(_0x476759,_0x38002c),_0x38002c);}function _0x1574cf(_0x1cfc52,_0x55d2bc){function _0x407105(_0x4d56a7,_0x5dcbcc){try{if(_0x48ffad(_0x1ff8d7,_0x5cfbd3([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x4d56a7){const _0x4e5bcf=_0x4dd1de(_0x1ff8d7,_0x5cfbd3([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x5cfbd3([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x4e5bcf)/0x2>_0x4d56a7[_0x5cfbd3([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x3377a3(_0x5dcbcc[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x466d6a(_0x4d56a7,_0x5dcbcc);}catch(_0x17aaf2){return _0x3377a3(_0x5dcbcc[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x2934aa(_0x407105(_0x1cfc52,_0x55d2bc),_0x55d2bc);}function _0x340bc5(_0x120fe8,_0x4f2538){const _0x4ac136=_0xc875ea[0x0]*_0x5cf96f[0x1],_0x2bfec8=_0xc875ea[0x0]*_0x5cf96f[0x2],_0x27525b=_0xc875ea[0x2]*_0x5cf96f[0x2];_0x48ffad(_0x1ff8d7,_0x5cfbd3([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4dd1de(_0x1ff8d7,_0x5cfbd3([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5cfbd3([0x73,0x74,0x61,0x74,0x65])]==_0x5cfbd3([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x48f27b()]=_0x27525b);function _0x40491a(_0x2487c9,_0x10e4a8){try{return _0x49b23d()?_0x3377a3(_0x10e4a8[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x56,0x61,0x6c,0x69,0x64])):_0x466d6a(_0x2487c9,_0x10e4a8);}catch(_0xe10988){return _0x3377a3(_0x10e4a8[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x236e85(_0x13c8be,_0x263618){const _0x26ab43=0x7;if(_0x13c8be==_0x263618[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x473f6a();else{if(_0x13c8be==_0x263618[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x54,0x72,0x69,0x61,0x6c])){const _0x101c78=_0x168139();_0x101c78&&_0x53efc9(_0x101c78,_0x263618[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x5c980e=_0x19f600();window[_0x5cfbd3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x53efc9(_0x5cfbd3([0x74,0x69,0x6d,0x65]),_0x263618[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x5c980e);const _0x4ca829=_0x4dd1de(_0x1ff8d7,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5cfbd3([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x4ca829[_0x5cfbd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x26ab43?_0x53efc9(_0x5cfbd3([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x263618[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x4ca829['on'](_0x5cfbd3([0x61,0x64,0x64]),()=>{_0x4ca829[_0x5cfbd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x26ab43&&_0x53efc9(_0x5cfbd3([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x263618[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x168139(){if(!_0x48ffad(_0x1ff8d7,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4e541c in window)if(Number['isNaN'](Number(_0x4e541c))){if(window[_0x4e541c]===_0x4ac136)return _0x5cfbd3([0x74,0x69,0x6d,0x65]);if(window[_0x4e541c]===_0x2bfec8)return _0x5cfbd3([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x49b23d(){if(!_0x48ffad(_0x1ff8d7,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x843212 in window)if(Number['isNaN'](Number(_0x843212))&&window[_0x843212]===_0x27525b)return!0x0;return!0x1;}function _0x53efc9(_0x2feff3,_0x4940cb){_0x473f6a(),_0x3377a3(_0x4940cb+_0x5cfbd3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x2feff3),window[_0x48f27b()]=_0x2feff3===_0x5cfbd3([0x74,0x69,0x6d,0x65])?_0x4ac136:_0x2bfec8;}function _0x19f600(){let _0x282f99=_0xc875ea[0x6]*_0x5cf96f[0x8]*_0x5cf96f[0x6];return _0x48ffad(_0x1ff8d7,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x282f99/=0xa),_0x282f99;}function _0x473f6a(){const _0x2a99c6=_0x1ff8d7;function _0x489313(){_0x48ffad(_0x2a99c6,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x4dd1de(_0x2a99c6,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5cfbd3([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5cfbd3([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4dd1de(_0x2a99c6,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5cfbd3([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4dd1de(_0x2a99c6,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5cfbd3([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x2aa1e8,_0x4dd1de(_0x2a99c6,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5cfbd3([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x2aa1e8,_0x2a99c6[_0x5cfbd3([0x6d,0x6f,0x64,0x65,0x6c])][_0x5cfbd3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2aa1e8,_0x2a99c6[_0x5cfbd3([0x6d,0x6f,0x64,0x65,0x6c])][_0x5cfbd3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2aa1e8,_0x2a99c6[_0x5cfbd3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5cfbd3([0x6d,0x6f,0x64,0x65,0x6c]))),_0x48ffad(_0x2a99c6,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4dd1de(_0x2a99c6,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5cfbd3([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5cfbd3([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4dd1de(_0x2a99c6,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5cfbd3([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4dd1de(_0x2a99c6,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5cfbd3([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x2aa1e8,_0x4dd1de(_0x2a99c6,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5cfbd3([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x2aa1e8);}_0x2a99c6[_0x5cfbd3([0x73,0x74,0x61,0x74,0x65])]==_0x5cfbd3([0x72,0x65,0x61,0x64,0x79])?_0x489313():_0x2a99c6[_0x5cfbd3([0x6f,0x6e,0x63,0x65])](_0x5cfbd3([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x48ffad(_0x2a99c6,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x489313(),_0x48ffad(_0x2a99c6,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x1b66a8=_0x4dd1de(_0x2a99c6,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x22e627=_0x1b66a8['getRevision'](0x0),_0x3adc2e=_0x1b66a8['getEarlierVisibleRevision'](_0x22e627[_0x5cfbd3([0x69,0x64])]);_0x4dd1de(_0x2a99c6,_0x5cfbd3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5cfbd3([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x22e627[_0x5cfbd3([0x69,0x64])],_0x3adc2e?_0x3adc2e[_0x5cfbd3([0x69,0x64])]:null,0x1)['then'](()=>_0x489313());}});}_0x236e85(_0x40491a(_0x120fe8,_0x4f2538),_0x4f2538);}function _0x466d6a(_0x8345ad,_0xbc17e8){try{return _0x3e7b4d(_0xbc17e8)?_0x3377a3(_0xbc17e8[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x56,0x61,0x6c,0x69,0x64])):_0x8345ad&&_0x42c94c(_0x8345ad[_0x5cfbd3([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0xbc17e8)?_0x8345ad[_0x5cfbd3([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x5cfbd3([0x6f,0x70,0x65,0x6e])][_0x5cfbd3([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x1482fb)/0x2>_0x8345ad[_0x5cfbd3([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x3377a3(_0xbc17e8[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x8345ad[_0x5cfbd3([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x3377a3(_0xbc17e8[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x54,0x72,0x69,0x61,0x6c])):_0x3377a3(_0xbc17e8[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x56,0x61,0x6c,0x69,0x64])):_0x3377a3(_0xbc17e8[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x32dfa0){return _0x3377a3(_0xbc17e8[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x2934aa(_0x2399a3,_0x495278){if(_0x1ff8d7 instanceof _0x52c879){const _0x4c93c4=_0x1ff8d7;_0x2399a3==_0x495278[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4704af(_0x4c93c4):_0x2399a3==_0x495278[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x54,0x72,0x69,0x61,0x6c])&&window[_0x5cfbd3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4704af(_0x4c93c4),_0x3377a3(_0x495278[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0xc875ea[0x6]*_0x5cf96f[0x8]*_0x5cf96f[0x6]),_0x4c93c4[_0x5cfbd3([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x5cfbd3([0x6f,0x6e])](_0x5cfbd3([0x61,0x64,0x64]),(_0x3ec146,_0x33dde8)=>{_0x2399a3!=_0x495278[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x2399a3!=_0x495278[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x2399a3!=_0x495278[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x2fd372(_0x33dde8);});}else{const _0x2b0833=_0x1ff8d7;_0x2399a3==_0x495278[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2fd372(_0x2b0833):_0x2399a3==_0x495278[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x54,0x72,0x69,0x61,0x6c])&&_0x2b0833[_0x5cfbd3([0x6f,0x6e])](_0x5cfbd3([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x12c08b=0x0;_0x2b0833[_0x5cfbd3([0x6d,0x6f,0x64,0x65,0x6c])][_0x5cfbd3([0x6f,0x6e])](_0x5cfbd3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x453443,_0x266d4b)=>{_0x266d4b[0x0][_0x5cfbd3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x12c08b++,0x1f8===_0x12c08b&&(_0x2fd372(_0x2b0833),_0x3377a3(_0x495278[_0x5cfbd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5cfbd3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x453443[_0x5cfbd3([0x6f,0x66,0x66])]());},{'priority':_0x5cfbd3([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x3377a3(_0x22b8e1){const _0x13a7e0=_0x48f27b();return _0x1ff8d7[_0x13a7e0]=_0x22b8e1,_0x22b8e1;}function _0x48f27b(){const _0x261e9d=String(window[_0x5cfbd3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5cfbd3([0x6e,0x6f,0x77])]())[_0x5cfbd3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5cfbd3([0x2e]),'');let _0x214578='';for(let _0x5cdc58=0x0;_0x5cdc58<_0x261e9d[_0x5cfbd3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5cdc58+=0x2){let _0x417185=parseInt(_0x261e9d[_0x5cfbd3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5cdc58,_0x5cdc58+0x2));_0x417185>=_0x500aff[_0x5cfbd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x417185-=_0x500aff[_0x5cfbd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x214578+=_0x500aff[_0x417185];}return _0x214578;}function _0x4704af(_0x3712e1){for(const _0x35b42a of _0x3712e1[_0x5cfbd3([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x2fd372(_0x35b42a);_0x4dd1de(_0x3712e1,_0x5cfbd3([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5cfbd3([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x4dd1de(_0x3712e1,_0x5cfbd3([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5cfbd3([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x2aa1e8;}function _0x2fd372(_0x2638fc){function _0x1ed8d4(){_0x2638fc[_0x5cfbd3([0x6d,0x6f,0x64,0x65,0x6c])][_0x5cfbd3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2aa1e8,_0x2638fc[_0x5cfbd3([0x6d,0x6f,0x64,0x65,0x6c])][_0x5cfbd3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2aa1e8,_0x2638fc[_0x5cfbd3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5cfbd3([0x6d,0x6f,0x64,0x65,0x6c]));}_0x2638fc[_0x5cfbd3([0x73,0x74,0x61,0x74,0x65])]==_0x5cfbd3([0x72,0x65,0x61,0x64,0x79])?_0x1ed8d4():_0x2638fc[_0x5cfbd3([0x6f,0x6e,0x63,0x65])](_0x5cfbd3([0x72,0x65,0x61,0x64,0x79]),()=>_0x1ed8d4());}function _0x2aa1e8(){return null;}function _0x42c94c(_0x5ac980,_0x3ea57d){const _0x3d6c84=!!(_0x5ac980&_0x3ea57d[_0x5cfbd3([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0xbda8df=_0x13d5d9(_0x5ac980,_0x3ea57d);return _0x3d6c84||_0xbda8df;}function _0x13d5d9(_0x171a92,_0x6c6ff1){const _0x13fca0=(_0x6c6ff1[_0x5cfbd3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x5cfbd3([0x66,0x67,0x69])]||null;return!!_0x13fca0&&_0x498d18[_0x5cfbd3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58b066=>_0x13fca0[_0x5cfbd3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58b066[_0x5cfbd3([0x69,0x64])]))[_0x5cfbd3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b52e3=>!_0x35b7e2(_0x4b52e3))[_0x5cfbd3([0x73,0x6f,0x6d,0x65])](_0x29e1e0=>!!(_0x171a92&_0x29e1e0[_0x5cfbd3([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x35b7e2(_0x4deeba){const _0x54402d={[_0x5cfbd3([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])]:_0x52b692};return!!_0x4deeba['forbiddenHandler']&&_0x54402d[_0x4deeba['forbiddenHandler']]();}function _0x52b692(){return!window[_0x5cfbd3([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x48ffad(_0x1ff8d7,_0x5cfbd3([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x3e7b4d(_0x1b6906){if(!_0x48ffad(_0x1ff8d7,_0x1b6906[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x37bfd0=_0x1b6906[_0x5cfbd3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x22be9c=_0x37bfd0[_0x5cfbd3([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x201f42=_0x37bfd0[_0x5cfbd3([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x357e8e=_0x37bfd0[_0x5cfbd3([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x48ffad(_0x1ff8d7,_0x5cfbd3([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4dd1de(_0x1ff8d7,_0x5cfbd3([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5cfbd3([0x73,0x74,0x61,0x74,0x65])]==_0x5cfbd3([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x22be9c)return!0x0;if(_0x48ffad(_0x1ff8d7,_0x5cfbd3([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x4dd1de(_0x1ff8d7,_0x5cfbd3([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x5cfbd3([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x5cfbd3([0x65,0x6e,0x64])&&_0x201f42)return!0x0;return!(!_0x48ffad(_0x1ff8d7,_0x5cfbd3([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]))||_0x4dd1de(_0x1ff8d7,_0x5cfbd3([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]))[_0x5cfbd3([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x5cfbd3([0x65,0x6e,0x64])||!_0x357e8e);}function _0x48ffad(_0x58ba26,_0x5774e7){return _0x58ba26[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5cfbd3([0x68,0x61,0x73])](_0x5774e7);}function _0x4dd1de(_0x1077a2,_0x13f325){return _0x1077a2[_0x5cfbd3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5cfbd3([0x67,0x65,0x74])](_0x13f325);}function _0x318abc(_0x5a22c1){let _0x36c606='';for(const _0x4b1517 of _0x5a22c1)_0x36c606+=String[_0x5cfbd3([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x4b1517);return _0x36c606;}function _0x48d533(_0x842d50){const _0x8341b8=new Uint8Array(_0x842d50[_0x5cfbd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x2b89ec=0x0;_0x2b89ec<_0x842d50[_0x5cfbd3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b89ec++)_0x8341b8[_0x2b89ec]=_0x842d50[_0x5cfbd3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2b89ec);return _0x8341b8;}_0x4eff00&&_0x36eb8b(_0x3f5f84(_0x121531),_0x4eff00);})(_0x55277f);}(this);}['createRevision'](_0x3d097c){const _0x2ae64f=this['editor']['plugins']['get']('Users');return new a({'id':_0x3d097c['id'],'name':_0x3d097c['name'],'creator':_0x3d097c['creatorId']?_0x2ae64f['getUser'](_0x3d097c['creatorId']):null,'diffData':_0x3d097c['diffData']||_0x3d097c['data'],'authors':_0x3d097c['authorsIds']['map'](_0x409919=>_0x2ae64f['getUser'](_0x409919)),'createdAt':new Date(_0x3d097c['createdAt']),'attributes':_0x3d097c['attributes'],'fromVersion':_0x3d097c['fromVersion'],'toVersion':_0x3d097c['toVersion']});}['addRevision'](_0x455730,_0x50f4d0=0x0){this['_revisions']['add'](_0x455730,_0x50f4d0);}['getRevision'](_0x541498){return this['_revisions']['get'](_0x541498);}['getRevisions'](_0x1a8290={'toJSON':!0x1}){const _0x17af8b=Array['from'](this['_revisions']);return _0x17af8b['reverse'](),_0x1a8290['toJSON']?_0x17af8b['map'](_0x1ca077=>_0x1ca077['toJSON']()):_0x17af8b;}['getIndex'](_0x393e32){return this['_revisions']['getIndex'](_0x393e32);}['getEarlierVisibleRevision'](_0x1904d3){const [,_0x2416df]=this['getRevisionsIterator'](_0x1904d3,{'direction':'earlier'});return _0x2416df;}['getLaterVisibleRevision'](_0x523457){const [,_0xafe3e4]=this['getRevisionsIterator'](_0x523457,{'direction':'later'});return _0xafe3e4;}['getRevisionsInDiff'](_0x48f9fc){const _0x5b685f=[];for(const _0x59e9f4 of this['getRevisionsIterator'](_0x48f9fc['newRevisionId']))if(_0x5b685f['push'](_0x59e9f4),_0x59e9f4['id']===_0x48f9fc['oldRevisionId'])break;return _0x5b685f;}*['getRevisionsIterator'](_0x21c8b6,{direction:_0x1199d4='earlier',filter:_0x31d4fb=_0x2b80fd=>!0x0}={}){const _0x40208f='earlier'===_0x1199d4?0x1:-0x1;let _0x44a7a5=this['_revisions']['get'](_0x21c8b6),_0x357b70=this['getIndex'](_0x44a7a5);for(yield _0x44a7a5;_0x44a7a5;){if(_0x357b70+=_0x40208f,_0x44a7a5=this['getRevision'](_0x357b70),!_0x44a7a5)return;_0x31d4fb(_0x44a7a5)&&(yield _0x44a7a5);}}}function y(_0x240b62,_0xc47cc,_0xf722f8){const t=_0x240b62['t'];switch(_0xc47cc){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'},_0xf722f8);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0xf722f8);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x212c9c,'a':_0x3dfd9c,'e':_0x2d2023,'r':_0x55dd1f,'u':_0x52daae};class l extends _0x365282{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x2bad0c,A,_0x15c95f];}constructor(_0x12630d){super(_0x12630d),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 _0x344c32=_0x2d17fa();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x344c32},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 _0x264980=this['repository']['getRevision'](0x0),_0x2720f6=_0x264980&&null===_0x264980['creator']?_0x264980:null;if(this['_continueCurrentRevision']=!!_0x2720f6&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0xa8dcff=this['_source']['getCurrentRevisionId'](),_0x54e1=this['repository']['getRevision'](_0xa8dcff);if(_0x54e1)this['_startingVersion']=_0x54e1['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x1eb70d=this['_source']['history']['_operations']['find'](_0x55ef9b=>!_0x55ef9b['_isInit']),_0xd143b4=_0x1eb70d?_0x1eb70d['baseVersion']:this['_source']['history']['version'];_0x264980?(_0x264980['toVersion']<_0xd143b4&&_0x264980['_update']({'toVersion':_0xd143b4}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x2720f6['id'],this['_startingVersion']=_0x2720f6['fromVersion']):(this['_startingVersion']=_0x264980['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0xd143b4,this['_continueCurrentRevision']=!0x1);}}else _0x2720f6&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x2720f6['toVersion'],this['editor']['model']['document']['history']['version']),_0x2720f6['fromVersion']===_0x2720f6['toVersion']?(0x0!==_0x2720f6['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x2720f6['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x2720f6['id'],this['_startingVersion']=_0x2720f6['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',_0x12079b=>!_0x12079b);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x59d5d5=this['repository']['getRevision'](0x0),_0x46f785=await this['getRevisionDocumentData'](_0x59d5d5),_0xe04c44=await this['getRevisionRootsAttributes'](_0x59d5d5);this['_replaceEditorDataWithRevisionData'](_0x46f785,_0xe04c44);}}['setSource'](_0x4401ee){this['_source']=_0x4401ee;}async['update'](){const _0x3cb867=await this['_source']['getLatestVersion']();if(_0x3cb867>this['currentRevision']['toVersion']){await this['_loadState']();const _0x4f941f=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x3cb867});_0x4f941f['authors']=_0x4f941f['authorsIds']['map'](_0xfee0eb=>this['editor']['plugins']['get']('Users')['getUser'](_0xfee0eb)),this['currentRevision']['_update'](_0x4f941f);}}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'](_0xd9a293={},_0x2da6cf=null){const _0x28492c=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x2da6cf>this['currentRevision']['toVersion']&&(_0x2da6cf=null),null===_0x2da6cf&&(_0x2da6cf=await this['_source']['getLatestVersion']());const _0x3cecf4=this['_getFromVersion'](_0x2da6cf),_0x1a4843=this['buildRevisionData']({'from':_0x3cecf4,'to':_0x2da6cf});if(this['currentRevision']['toVersion']<_0x2da6cf){const _0x5b7676=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x2da6cf,'to':_0x2da6cf});_0x5b7676['authors']=[],_0x5b7676['authorsIds']=[],_0x5b7676['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x5b7676,!0x0),delete _0x5b7676['authors'],_0x28492c['push'](_0x5b7676);}_0xd9a293['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0xd9a293['name']=_0xd9a293['name']||null,_0xd9a293['id']=_0xd9a293['id']||_0x2d17fa(),_0xd9a293={..._0xd9a293,..._0x1a4843};const _0x1a623e=this['addRevisionData'](_0xd9a293);_0x28492c['push'](_0xd9a293);const _0x2b9bc5=this['repository']['getIndex'](_0x1a623e);if(0x0!==_0x2b9bc5){const _0x11274a=this['repository']['getRevision'](_0x2b9bc5-0x1);if(_0x11274a['fromVersion']!==_0x2da6cf){const _0x7e712d=this['_revisionDataBuilder']['getData'](_0x2da6cf,_0x11274a['toVersion']),_0x5e4f87={'id':_0x11274a['id'],'diffData':_0x7e712d['diffData'],'authorsIds':_0x7e712d['authorsIds'],'authors':_0x7e712d['authorsIds']['map'](_0x35a0fb=>this['editor']['plugins']['get']('Users')['getUser'](_0x35a0fb)),'fromVersion':_0x2da6cf};_0x11274a===this['currentRevision']&&(_0x5e4f87['createdAt']=new Date(_0xd9a293['createdAt']['getTime']()+0xa)),_0x11274a['_update'](_0x5e4f87,!0x0),delete _0x5e4f87['authors'],_0x28492c['push'](_0x5e4f87);}}if(this['adapter']){for(const _0x50f8f8 of _0x28492c)this['_bufferUpdate'](_0x50f8f8['id'],_0x50f8f8,!0x0);this['sendBufferedUpdates']();}return _0x1a623e;}['addRevisionData'](_0x4fc674){const _0x39edc1=this['repository']['createRevision'](_0x4fc674);return this['adapter']&&_0x39edc1['on']('_update',(_0x29f446,_0x25c5eb,_0x1b85ee)=>{_0x1b85ee||(this['_bufferUpdate'](_0x25c5eb['id'],_0x25c5eb,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x39edc1,this['_findInsertionIndex'](_0x39edc1)),_0x39edc1;}async['getRevisionDocumentData'](_0x598751){await this['_loadRevisionData'](_0x598751);const _0x881954={};for(const _0x494402 in _0x598751['diffData']){if(_0x598751['diffData'][_0x494402]['attachChange']&&!_0x598751['diffData'][_0x494402]['attachChange']['isAttached'])continue;const _0x1713b5=this['_removeRevisionMarkers'](JSON['parse'](_0x598751['diffData'][_0x494402]['insertions'])),_0x496f0a=this['editor']['editing']['view']['document'],_0x49e37b=new _0x19e872(_0x496f0a,_0x1713b5['map'](_0x3642a9=>B(_0x3642a9,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x881954[_0x494402]=this['editor']['data']['processor']['toData'](_0x49e37b),this['editor']['data']['processor']['useFillerType']('default');}return _0x881954;}async['getRevisionRootsAttributes'](_0xccaa70){await this['_loadRevisionData'](_0xccaa70);const _0x4fc21f={};for(const _0x5b5d80 in _0xccaa70['diffData'])_0xccaa70['diffData'][_0x5b5d80]['attachChange']&&!_0xccaa70['diffData'][_0x5b5d80]['attachChange']['isAttached']||(_0x4fc21f[_0x5b5d80]=_0xccaa70['diffData'][_0x5b5d80]['attributesAfter']||{});return _0x4fc21f;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0xfdd0bd=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x223309=0x0;_0x223309<_0xfdd0bd['length'];_0x223309++){const _0x5c18cb=_0xfdd0bd[_0x223309];let _0x185c76=!0x1;for(const _0xd2f6d3 of Object['keys'](_0x5c18cb))void 0x0===_0x5c18cb[_0xd2f6d3]?delete _0x5c18cb[_0xd2f6d3]:'id'!==_0xd2f6d3&&(_0x185c76=!0x0);_0x185c76||(_0xfdd0bd[_0x223309]=null);}if(_0xfdd0bd=_0xfdd0bd['filter'](_0x550015=>null!==_0x550015),!_0xfdd0bd['length'])return;for(let _0x48e8d8=0x0;_0x48e8d8<_0xfdd0bd['length'];_0x48e8d8++){const _0x2f3411=_0xfdd0bd[_0x48e8d8];void 0x0!==_0x2f3411['fromVersion']&&void 0x0===_0x2f3411['toVersion']&&(_0x2f3411['toVersion']=this['repository']['getRevision'](_0x2f3411['id'])['toVersion']),void 0x0!==_0x2f3411['toVersion']&&void 0x0===_0x2f3411['fromVersion']&&(_0x2f3411['fromVersion']=this['repository']['getRevision'](_0x2f3411['id'])['fromVersion']);}const _0x5f2fc3=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0xfdd0bd,_0x5f2fc3)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x2ce267=>{if(_0x2ce267){for(const _0x186429 of _0x2ce267)this['setRevisionData']({'id':_0x186429['id'],'createdAt':_0x186429['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x2defe7,_0x13d6ef){let _0x31b0d2=this['editor']['config']['get']('initialData'),_0xe3dffc=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x31b0d2){_0x31b0d2={};for(const _0x43e559 of this['editor']['model']['document']['getRootNames']())_0x31b0d2[_0x43e559]='';}if('string'==typeof _0x31b0d2&&(_0x31b0d2={'main':_0x31b0d2}),void 0x0===_0xe3dffc){_0xe3dffc={};for(const _0x21e5d4 of this['editor']['model']['document']['getRootNames']())_0xe3dffc[_0x21e5d4]={};}let _0x3a7673=!0x1;const _0x4370d4=Object['keys'](_0x31b0d2),_0x1e392c=Object['keys'](_0x2defe7);for(const _0x312972 of _0x4370d4){if(_0x31b0d2[_0x312972]!==_0x2defe7[_0x312972]&&''!==_0x31b0d2[_0x312972]['trim']()){_0x3a7673=!0x0;break;}if(!_0x324e2b(_0xe3dffc[_0x312972],_0x13d6ef[_0x312972])&&Object['keys'](_0xe3dffc[_0x312972])['length']>0x0){_0x3a7673=!0x0;break;}}_0x3a7673||(_0x3a7673=_0x1e392c['some'](_0x2abdfb=>!this['editor']['model']['document']['getRoot'](_0x2abdfb))),_0x3a7673&&_0x45a2f3('editor-initial-data-replaced-with-revision-data',{'editorData':_0x31b0d2,'editorRootsAttributes':_0xe3dffc,'revisionData':_0x2defe7,'revisionRootsAttributes':_0x13d6ef}),this['editor']['config']['set']('initialData',_0x2defe7),this['editor']['config']['set']('rootsAttributes',_0x13d6ef);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x1bcb23=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x1bcb23['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x68cca4){const _0x6c40a6=this['repository']['getRevisions']();_0x6c40a6['reverse']();let _0xf07807=0x0;for(;_0xf07807<_0x6c40a6['length'];){const _0x91653e=_0x6c40a6[_0xf07807];if(_0x91653e===this['currentRevision']){_0xf07807++;continue;}if(_0x91653e['id']===this['_initialRevisionId'])break;const _0x422778=_0x68cca4['toVersion']-_0x91653e['toVersion']||_0x68cca4['fromVersion']-_0x91653e['fromVersion'];if(_0x422778>0x0)break;if(_0x422778<0x0)_0xf07807++;else{if(!_0x68cca4['creator']&&_0x91653e['creator'])break;if(_0x91653e['creator']||!_0x68cca4['creator']){if(_0x68cca4['createdAt']>_0x91653e['createdAt'])break;_0xf07807++;}else _0xf07807++;}}return _0xf07807;}['setRevisionData'](_0x463883){const _0x4e9e34=this['repository']['getRevision'](_0x463883['id']);if(_0x463883['createdAt']&&(_0x463883['createdAt']=new Date(_0x463883['createdAt'])),_0x463883['authorsIds']){const _0x5002ac=this['editor']['plugins']['get']('Users');_0x463883['authors']=_0x463883['authorsIds']['map'](_0x2d8fa2=>_0x5002ac['getUser'](_0x2d8fa2));}_0x4e9e34['_update'](_0x463883,!0x0);}['buildRevisionData']({revision:_0x270659=null,from:_0x467007=null,to:_0x589019=null}){_0x467007=null!==_0x467007?_0x467007:_0x270659['fromVersion'],_0x589019=null!==_0x589019?_0x589019:_0x270659['toVersion'];const _0x33fb7b=this['_revisionDataBuilder']['getData'](_0x467007,_0x589019),_0x24b6db={'diffData':_0x33fb7b['diffData'],'authorsIds':_0x33fb7b['authorsIds'],'fromVersion':_0x467007,'toVersion':_0x589019};if(!_0x270659||_0x589019!==_0x270659['toVersion']){const _0x28ef5f=_0x589019-0x1,_0x3aff68=this['_source']['history']['getOperation'](_0x28ef5f);_0x24b6db['createdAt']=_0x3aff68&&_0x3aff68['createdAt']||new Date();}if(this['_loadedStateData']&&_0x467007===this['_loadedStateData']['fromVersion']){for(const _0x4a56a9 of this['_loadedStateData']['authors'])_0x24b6db['authorsIds']['includes'](_0x4a56a9['id'])||_0x24b6db['authorsIds']['push'](_0x4a56a9['id']);}return _0x24b6db;}['_loadRevisionData'](_0x4c15a6){if(!_0x4c15a6||_0x4c15a6['diffData'])return Promise['resolve']();{const _0x123c2e=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x123c2e,'revisionId':_0x4c15a6['id']})['then'](_0x33b804=>{_0x4c15a6['diffData']=_0x33b804['diffData'];});}}['_bufferUpdate'](_0x47d18b,_0x1bcfe4,_0x4b4296){if(this['_bufferedUpdates']['has'](_0x47d18b)){const _0x2fb610=this['_bufferedUpdates']['get'](_0x47d18b);_0x1bcfe4=_0x4b4296?{..._0x2fb610,..._0x1bcfe4}:{..._0x1bcfe4,..._0x2fb610};}this['_bufferedUpdates']['set'](_0x47d18b,_0x1bcfe4);}['_getFromVersion'](_0x5d1447){const _0x579626=this['repository']['getRevisions']();_0x579626['reverse'](),_0x579626['shift']();const _0x5b6096=_0x579626['find'](_0x13a21b=>_0x13a21b['toVersion']<=_0x5d1447)['toVersion'];return _0x5b6096<this['_startingVersion']?this['_startingVersion']:_0x5b6096;}['_createInitialRevision'](_0x4c9629){const _0x5debbb=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x5debbb)this['_initialRevisionId']=_0x5debbb['id'];else{const _0x5aa8eb=!this['editor']['model']['document']['roots']['find'](_0x425686=>this['editor']['model']['hasContent'](_0x425686)),_0x3d6aec=this['editor']['plugins']['get']('Users')['me']['id'],_0x1a85c8=y(this['editor']['locale'],_0x5aa8eb?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x4c9629,'to':_0x4c9629,'id':this['_initialRevisionId'],'name':_0x1a85c8,'creatorId':_0x3d6aec});}}['_createCurrentRevision'](_0x202525){const _0xa7f6a2=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0xa7f6a2),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x202525,'to':_0x202525,'id':_0xa7f6a2,'name':'','creatorId':null}));}['_makeRevision']({name:_0x3d8e9d,from:_0x32ad1e,to:_0x4089a9,creatorId:_0x404560,id:_0x1d871f}){const _0x335411=this['buildRevisionData']({'from':_0x32ad1e,'to':_0x4089a9});_0x335411['name']=_0x3d8e9d,_0x335411['creatorId']=_0x404560,_0x335411['id']=_0x1d871f;const _0x2ea6e6=this['addRevisionData'](_0x335411);return this['adapter']&&this['_bufferUpdate'](_0x335411['id'],_0x335411,!0x0),_0x2ea6e6;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x5c4af9){return(_0x5c4af9=_0x5c4af9['filter'](_0x4dffa6=>!_0x4dffa6['name']||'revision-start'!==_0x4dffa6['name']&&'revision-end'!==_0x4dffa6['name']))['forEach'](_0x39881b=>{'string'!=typeof _0x39881b&&(_0x39881b['children']=this['_removeRevisionMarkers'](_0x39881b['children']),_0x39881b['attributes']=_0x39881b['attributes']['filter'](_0x17abe1=>!_0x17abe1[0x0]['startsWith']('data-revision-')));}),_0x5c4af9;}}function B(_0x52ab78,_0x4308e9){const _0x59d374=_0x4308e9['editing']['view']['document'];if('string'==typeof _0x52ab78)return new _0x319b0c(_0x59d374,_0x52ab78);{const _0x398311=_0x52ab78['children']['map'](_0x5c5db1=>B(_0x5c5db1,_0x4308e9));return new(T[_0x52ab78['type']]||_0x3c4bca)(_0x59d374,_0x52ab78['name'],_0x52ab78['attributes'],_0x398311);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x2bd589){this['editor']=_0x2bd589,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'](_0x95466f){this['source']=_0x95466f;const _0x519ddb=new Map(),_0x2d4ad0=new Map(),_0xc12221=this['editor']['model']['document']['roots']['map'](_0x22b7b2=>_0x22b7b2['rootName']);for(const _0x508b6b of _0xc12221){const _0x331a24=this['editor']['model']['document']['getRoot'](_0x508b6b),_0x423c64=q(_0x331a24);_0x519ddb['set'](_0x508b6b,_0x423c64),_0x2d4ad0['set'](_0x508b6b,Object['fromEntries'](_0x331a24['getAttributes']()));}const _0x5751e4=Array['from'](this['editor']['model']['markers'])['map'](_0x35841c=>[_0x35841c['name'],_0x35841c['getRange']()]),_0x5a43e8=this['source']['version'];this['_saveMetaData'](_0x5a43e8,_0x519ddb,_0x5751e4,_0x2d4ad0),this['_startingRevisionId']=this['_revisionId'];const _0x40467a=new Map(),_0x498ed2=new Map();for(const _0x4b58a3 of _0xc12221){const _0xc84994=G(_0x4b58a3);_0x40467a['set'](_0x4b58a3,_0xc84994),_0x498ed2['set'](_0x4b58a3,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x40467a,[],_0x498ed2);}['getData'](_0x3808d2,_0x49202b){if(this['_lastFrom']===_0x3808d2&&this['_lastTo']<=_0x49202b)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x49202b,!0x0);else{if(!this['_savedMetaData']['has'](_0x3808d2)){const _0x16cca0=this['_getPreviousFrom'](_0x3808d2);this['_calculateMetaData'](_0x16cca0,_0x3808d2,!0x1);}this['_calculateMetaData'](_0x3808d2,_0x49202b,!0x0);}return this['_lastFrom']=_0x3808d2,this['_lastTo']=_0x49202b,this['_getState']();}['loadState'](_0x208236){this['_reset'](),this['_lastFrom']=_0x208236['fromVersion'],this['_lastTo']=_0x208236['toVersion'];for(const _0x35ba1d in _0x208236['diffData']){const _0x4c28b0=_0x208236['diffData'][_0x35ba1d]['attachChange'],_0x2f5fc5=_0x2bccda(_0x208236['diffData'][_0x35ba1d]['attributesBefore'])||{},_0xeab14a=this['_makeModelFromViewString'](_0x208236['diffData'][_0x35ba1d]['deletions']);_0xeab14a['rootName']=_0x35ba1d,_0xeab14a['_isAttached']=!_0x4c28b0||!_0x4c28b0['isAttached'],_0xeab14a['isAttached']=()=>_0xeab14a['_isAttached'],this['_baseRoots']['set'](_0x35ba1d,_0xeab14a),this['_baseRootsAttributes']['set'](_0x35ba1d,_0x2f5fc5),_0x4c28b0&&this['_touchedRoots']['set'](_0x35ba1d,_0x4c28b0);const _0x47ccde=this['_makeIdsRoot'](_0xeab14a);this['_baseIdsRoots']['set'](_0x35ba1d,_0x47ccde);for(const [_0xf0ed5e,_0x3e9173]of _0xeab14a['markers']){if(!_0xf0ed5e['startsWith']('revision:'))continue;const _0x7509e9=_0xf0ed5e['split'](':')[0x2];for(const _0x8730aa of _0x3e9173['getWalker']({'singleCharacters':!0x0})){const _0x295e6a=this['_getVidAttributeName'](_0x8730aa),_0x2cd744='elementEnd'==_0x8730aa['type']?_0x8730aa['previousPosition']['path']['slice'](0x0,-0x1):_0x8730aa['previousPosition']['path'],_0x40776c=_0x47ccde['getNodeByPath'](_0x2cd744)['getAttribute'](_0x295e6a);this['_touched']['set'](_0x40776c,{'userId':_0x7509e9});}}}this['_startingRevisionId']=this['_revisionId'];const _0x321d05=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x80a762=>!this['_touched']['has'](_0x80a762));let _0x4774cf=0x0;const _0x432d2a=new Map();for(const _0x3729d4 in _0x208236['diffData']){const _0x379f31=_0x208236['diffData'][_0x3729d4]['attachChange'],_0x34b602=_0x2bccda(_0x208236['diffData'][_0x3729d4]['attributesAfter'])||{},_0x18228a=this['_makeModelFromViewString'](_0x208236['diffData'][_0x3729d4]['insertions']);_0x18228a['rootName']=_0x3729d4,_0x18228a['_isAttached']=!_0x379f31||_0x379f31['isAttached'],_0x18228a['isAttached']=()=>_0x18228a['_isAttached'],this['_diffRoots']['set'](_0x3729d4,_0x18228a),this['_diffRootsAttributes']['set'](_0x3729d4,_0x34b602);const _0x176b2e=this['_makeIdsRoot'](_0x18228a,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x3729d4,_0x176b2e),_0x432d2a['set'](_0x3729d4,_0x18228a['isAttached']()?_0x34b602:{});for(const [_0x14dc4c,_0x15c85e]of _0x18228a['markers']){if(!_0x14dc4c['startsWith']('revision:'))continue;const _0x44eb5a=_0x14dc4c['split'](':')[0x2];for(const _0x5e7dd1 of _0x15c85e['getWalker']({'singleCharacters':!0x0})){const _0x450226=this['_getVidAttributeName'](_0x5e7dd1),_0x1bfd60=this['_revisionId']++,_0x48b451='elementEnd'==_0x5e7dd1['type']?_0x5e7dd1['previousPosition']['path']['slice'](0x0,-0x1):_0x5e7dd1['previousPosition']['path'];_0x176b2e['getNodeByPath'](_0x48b451)['_setAttribute'](_0x450226,_0x1bfd60),this['_touched']['set'](_0x1bfd60,{'userId':_0x44eb5a});}}for(const _0x4fa466 of this['editor']['model']['createRangeIn'](_0x18228a)['getWalker']({'singleCharacters':!0x0})){const _0x1fa80c=this['_getVidAttributeName'](_0x4fa466),_0x1c263b='elementEnd'==_0x4fa466['type']?_0x4fa466['previousPosition']['path']['slice'](0x0,-0x1):_0x4fa466['previousPosition']['path'],_0x4e1990=_0x176b2e['getNodeByPath'](_0x1c263b);_0x4e1990['getAttribute'](_0x1fa80c)>0x0||_0x4e1990['_setAttribute'](_0x1fa80c,_0x321d05[_0x4774cf++]);}for(const [_0x38215e,_0x1e694b]of _0x18228a['markers'])_0x38215e['startsWith']('revision:')||this['_markers']['set'](_0x38215e,_0x1e694b);}const _0x59f327=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x59f327),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x59f327,0x1));const _0x32c323=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x32c323),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x32c323,0x1));const _0x378642=Array['from'](this['_diffRoots'])['map'](([_0x494395,_0x24fb83])=>[_0x494395,q(_0x24fb83)]);this['_saveMetaData'](this['_lastTo'],_0x378642,this['_markers'],_0x432d2a);}['_makeModelFromViewString'](_0x482871){const _0x5f2901=JSON['parse'](_0x482871),_0x5e7acc=this['editor']['editing']['view']['document'],_0x49cf68=new _0x19e872(_0x5e7acc,_0x5f2901['map'](_0x2d09c6=>B(_0x2d09c6,this['editor'])));return this['editor']['data']['toModel'](_0x49cf68);}['_saveMetaData'](_0x1c3c7e,_0x542af2,_0x14e956,_0x3ed9cd){const _0x4ed713=new Map(_0x542af2),_0x49fa78=new Map(_0x2bccda(_0x3ed9cd)),_0x44e626=new Map();for(const [_0x8235aa,_0x4c21fe]of _0x14e956)_0x44e626['set'](_0x8235aa,{'start':_0x4c21fe['start']['clone'](),'end':_0x4c21fe['end']['clone'](),'rootName':_0x4c21fe['root']['rootName']});this['_savedMetaData']['set'](_0x1c3c7e,{'roots':_0x4ed713,'markers':_0x44e626,'rootsAttributes':_0x49fa78});}['_removeMetaData'](_0x21af3d){this['_savedMetaData']['delete'](_0x21af3d);}['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'](_0x1bf631,_0x525bd3=null){let _0x4781dc=null;_0x1bf631['is']('documentFragment')||(_0x4781dc=new ft(_0x1bf631['name'],{'vid_start':null===_0x525bd3?this['_revisionId']++:_0x525bd3++}));const _0x1791f0=[];for(const _0x2af333 of _0x1bf631['getChildren']())if(_0x2af333['is']('element')){_0x1791f0['push'](this['_makeIdsRoot'](_0x2af333,_0x525bd3));const _0x107e96=_0x1791f0[_0x1791f0['length']-0x1];null!==_0x525bd3&&(_0x525bd3=_0x107e96['is']('element','$text')?_0x107e96['getAttribute']('vid')+0x1:_0x107e96['getAttribute']('vid_end')+0x1);}else{for(let _0x3c727b=0x0;_0x3c727b<_0x2af333['offsetSize'];_0x3c727b++)_0x1791f0['push'](new ft('$text',{'vid':null===_0x525bd3?this['_revisionId']++:_0x525bd3++}));}if(_0x1bf631['is']('documentFragment')){const _0x366b63=G(_0x1bf631['rootName']);return _0x366b63['_insertChild'](0x0,_0x1791f0),_0x366b63;}return _0x4781dc['_setAttribute']('vid_end',null===_0x525bd3?this['_revisionId']++:_0x525bd3++),_0x4781dc['_insertChild'](0x0,_0x1791f0),_0x4781dc;}['_calculateMetaData'](_0x5b5686,_0x54d7a8,_0x38b793){this['_reset']();const {roots:_0x16f6bd,markers:_0x38928f,rootsAttributes:_0x5741d5}=this['_savedMetaData']['get'](_0x5b5686);this['_baseRoots']=new Map(_0x16f6bd),this['_baseRootsAttributes']=new Map(_0x2bccda(_0x5741d5));for(const [_0x37eba7,_0x581b18]of this['_baseRoots'])if('$graveyard'!==_0x37eba7&&(this['_diffRoots']['set'](_0x37eba7,q(_0x581b18)),this['_diffRootsAttributes']=new Map(_0x2bccda(_0x5741d5)),_0x38b793)){const _0x53dc7a=this['_revisionId'];this['_idsRoots']['set'](_0x37eba7,this['_makeIdsRoot'](_0x581b18)),this['_baseIdsRoots']['set'](_0x37eba7,this['_makeIdsRoot'](_0x581b18,_0x53dc7a));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x38b793&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x33182d,_0x4a28c0]of _0x38928f){const _0x38d45a=this['_baseRoots']['get'](_0x4a28c0['rootName']),_0x373d59=this['_diffRoots']['get'](_0x4a28c0['rootName']),_0x3dd7b2=new vt(this['_fixPosition'](_0x4a28c0['start'],_0x38d45a),this['_fixPosition'](_0x4a28c0['end'],_0x38d45a)),_0x1808b1=this['_fixRange'](_0x3dd7b2,_0x373d59);_0x38d45a['markers']['set'](_0x33182d,_0x3dd7b2),this['_markers']['set'](_0x33182d,_0x1808b1);}this['_applyOperations'](_0x5b5686,_0x54d7a8,_0x38b793);}['_applyOperations'](_0x2c8225,_0x27d2da,_0x39bda0){for(const _0x2129e6 of this['source']['getOperations'](_0x2c8225,_0x27d2da))this['_handleOperation'](_0x2129e6,_0x39bda0);for(const _0xa1a4bc of this['_diffRoots']['values']())_0xa1a4bc['markers']['clear']();for(const [_0x710da2,_0x57ade0]of this['_markers']){this['_diffRoots']['get'](_0x57ade0['root']['rootName'])['markers']['set'](_0x710da2,_0x57ade0['clone']());}const _0x59314a=new Map(),_0x22af02=new Map();for(const [_0x3a5465,_0x2de340]of this['_diffRoots'])_0x59314a['set'](_0x3a5465,q(_0x2de340)),_0x22af02['set'](_0x3a5465,this['_diffRootsAttributes']['get'](_0x3a5465));this['_saveMetaData'](_0x27d2da,_0x59314a,this['_markers'],_0x22af02);}['_getPreviousFrom'](_0x264431){const _0x19c1aa=Array['from'](this['_savedMetaData']['keys']());_0x19c1aa['sort']((_0x4e7b5f,_0x265e0f)=>_0x4e7b5f-_0x265e0f),_0x19c1aa['reverse']();for(const _0x4fb49d of _0x19c1aa)if(_0x4fb49d<_0x264431)return _0x4fb49d;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x24c509,_0x3d436a){const _0x5b6cb7=Array['from'](_0x3d436a['markers'])['map'](([_0x36ac3d,_0x5351fb])=>[_0x36ac3d,this['_fixRange'](_0x5351fb,_0x24c509)]);_0x24c509['markers']=new Map(_0x5b6cb7);}['_transformMarkers'](_0x2d0a26){for(const _0x2301cc of this['_markers']['values']()){const _0xa7d807=_0x2301cc['getTransformedByOperation'](_0x2d0a26),_0x222375=vt['_createFromRanges'](_0xa7d807);_0x2301cc['start']=_0x222375['start'],_0x2301cc['end']=_0x222375['end'];}}['_handleOperation'](_0x23291d,_0x5cbe1c){if('addRoot'==_0x23291d['type']||'detachRoot'==_0x23291d['type'])return void this['_handleRootOperation'](_0x23291d,_0x5cbe1c);if('insert'==_0x23291d['type']){const _0x32e2be=_0x23291d['position']['root']['rootName'];this['_diffRoots']['has'](_0x32e2be)||(this['_diffRoots']['set'](_0x32e2be,G(_0x32e2be,!0x0)),this['_diffRootsAttributes']['set'](_0x32e2be,{}),_0x5cbe1c&&this['_idsRoots']['set'](_0x32e2be,G(_0x32e2be,!0x0)));}else{if('addRootAttribute'==_0x23291d['type']||'removeRootAttribute'==_0x23291d['type']||'changeRootAttribute'==_0x23291d['type'])return void this['_handleRootAttributeOperation'](_0x23291d);}const _0x417e17=this['_cloneOperation'](_0x23291d,this['_diffRoots']);if('marker'!==_0x23291d['type']&&(_0x417e17['_execute'](),this['_transformMarkers'](_0x417e17)),_0x5cbe1c)switch(_0x417e17['type']){case'insert':this['_handleInsertOperation'](_0x23291d);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x23291d);break;case'merge':this['_handleMergeOperation'](_0x23291d);break;case'split':this['_handleSplitOperation'](_0x23291d);break;case'marker':this['_handleMarkerOperation'](_0x23291d);}}['_cloneOperation'](_0x558a94,_0x2882d1){const _0x36d368=_0x558a94['clone']();return _0x36d368['_authorId']=_0x558a94['_authorId'],this['_fixOperation'](_0x36d368,_0x2882d1),_0x36d368;}['_getBaseVids'](_0x552cc1){return _0x552cc1['map'](_0x1b71d6=>{const _0x23fbc2=this['_getVidAttributeName'](_0x1b71d6);return Number(_0x1b71d6['item']['getAttribute'](_0x23fbc2));});}['_generateTape'](_0x3a29f4,_0x245a2e){if(_0x3a29f4['is']('element','$text'))_0x245a2e['push']({'item':_0x3a29f4,'type':'text'});else{_0x3a29f4['is']('element')&&_0x245a2e['push']({'item':_0x3a29f4,'type':'elementStart'});for(const _0xc0cfdd of _0x3a29f4['getChildren']())this['_generateTape'](_0xc0cfdd,_0x245a2e);_0x3a29f4['is']('element')&&_0x245a2e['push']({'item':_0x3a29f4,'type':'elementEnd'});}return _0x245a2e;}['_getState'](){const _0x4c141e=new Map(this['_touched']),_0x8aecdf=new Map(_0x4c141e),_0x27e666=new Map(),_0x4a9012={'insertions':{},'deletions':{}},_0xab7a59={'insertions':{},'deletions':{}},_0x40568c=new Map(),_0x5093ce=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x5093ce['delete']('$graveyard');for(const _0xe55e83 of _0x5093ce){const _0x21b3c5=this['_diffRoots']['get'](_0xe55e83)||G(_0xe55e83,!0x1),_0x438862=this['_baseRoots']['get'](_0xe55e83)||G(_0xe55e83,!0x1);_0x21b3c5['isAttached']()||_0x438862['isAttached']()?(_0x4a9012['insertions'][_0xe55e83]=q(_0x21b3c5),_0x4a9012['deletions'][_0xe55e83]=q(_0x438862),this['_copyMarkers'](_0x4a9012['deletions'][_0xe55e83],_0x438862),this['_copyMarkers'](_0x4a9012['insertions'][_0xe55e83],_0x21b3c5),_0xab7a59['insertions'][_0xe55e83]=this['_generateTape'](this['_idsRoots']['get'](_0xe55e83),[]),_0xab7a59['deletions'][_0xe55e83]=this['_generateTape'](this['_baseIdsRoots']['get'](_0xe55e83)||G(_0xe55e83,!0x1),[])):_0x5093ce['delete'](_0xe55e83);}for(const _0x40b459 of _0x5093ce){const _0x53ca97=_0xab7a59['insertions'][_0x40b459];for(const _0x5a54f9 of _0x53ca97){const _0x5dccd4=this['_getVidAttributeName'](_0x5a54f9),_0x2c6e6f=_0x5a54f9['item']['getAttribute'](_0x5dccd4);_0x8aecdf['delete'](_0x2c6e6f),_0x2c6e6f>=this['_startingRevisionId']&&_0x27e666['set'](_0x2c6e6f,_0x4c141e['get'](_0x2c6e6f));}}for(const _0x471371 of _0x5093ce){const _0xe109bb=_0xab7a59['insertions'][_0x471371],_0xacbd12=this['_getBaseVids'](_0xab7a59['deletions'][_0x471371]);let _0xb61e2d=0x0;for(const _0x423525 of _0xe109bb){const _0xa30992=this['_getVidAttributeName'](_0x423525),_0x51a066=_0x423525['item']['getAttribute'](_0xa30992);if(!_0x27e666['has'](_0x51a066)&&!_0x40568c['has'](_0x51a066)){if(_0x8aecdf['has'](_0x51a066))_0xb61e2d++;else{if(_0x51a066!=_0xacbd12[_0xb61e2d]){const _0x286caa=_0x4c141e['get'](_0x51a066)||_0x4c141e['get'](_0xacbd12[_0xb61e2d]);for(;_0x51a066!=_0xacbd12[_0xb61e2d];)_0x8aecdf['has'](_0xacbd12[_0xb61e2d])||(_0x40568c['set'](_0xacbd12[_0xb61e2d],_0x286caa),_0x4c141e['set'](_0xacbd12[_0xb61e2d],_0x286caa)),_0xb61e2d++;}_0xb61e2d++;}}}}for(const _0xcd344e of _0x5093ce){const _0x544938=_0xab7a59['insertions'][_0xcd344e];for(const _0x59e0d8 of _0x544938){const _0x301e01=this['_getVidAttributeName'](_0x59e0d8),_0x59c3ca=_0x59e0d8['item']['getAttribute'](_0x301e01);if(_0x40568c['has'](_0x59c3ca)){const _0x48ce0a=_0x40568c['get'](_0x59c3ca);_0x8aecdf['has'](_0x59c3ca)||_0x8aecdf['set'](_0x59c3ca,{..._0x48ce0a}),_0x27e666['set'](_0x59c3ca,{..._0x48ce0a});}}}for(const _0x51e9c4 of _0x8aecdf['keys']())_0x51e9c4>=this['_startingRevisionId']&&_0x8aecdf['delete'](_0x51e9c4);const _0x57a52=new Map();for(const _0x2d7920 of _0x5093ce){let _0x414426=_0xab7a59['insertions'][_0x2d7920];for(const _0x318049 of _0x414426)if(_0x318049['item']['is']('element','tableCell')){const _0x4a9485=this['_getVidAttributeName'](_0x318049),_0x38cc83=_0x318049['item']['getAttribute'](_0x4a9485);if(_0x27e666['has'](_0x38cc83)){const _0x3c3caa=_0x318049['item']['parent']['parent']['getAttribute']('vid_start'),_0x59a60f=_0x57a52['get'](_0x3c3caa)||new Set();_0x59a60f['add'](_0x27e666['get'](_0x38cc83)['userId']),_0x57a52['set'](_0x3c3caa,_0x59a60f);}}_0x414426=_0xab7a59['deletions'][_0x2d7920];for(const _0x3c07f0 of _0x414426)if(_0x3c07f0['item']['is']('element','tableCell')){const _0x5cc5bc=this['_getVidAttributeName'](_0x3c07f0),_0x8cecd=_0x3c07f0['item']['getAttribute'](_0x5cc5bc);if(_0x8aecdf['has'](_0x8cecd)){const _0x12f4a2=_0x3c07f0['item']['parent']['parent']['getAttribute']('vid_start'),_0x586907=_0x57a52['get'](_0x12f4a2)||new Set();_0x586907['add'](_0x8aecdf['get'](_0x8cecd)['userId']),_0x57a52['set'](_0x12f4a2,_0x586907);}}for(const _0x2b5720 of _0x57a52['keys']())(_0x27e666['has'](_0x2b5720)||_0x8aecdf['has'](_0x2b5720))&&_0x57a52['delete'](_0x2b5720);}for(const _0x24a1ed of _0x5093ce){const _0x40fe79=_0xab7a59['insertions'][_0x24a1ed];let _0x23c822=null,_0x5b4422=null;for(const _0xb3e448 of _0x40fe79){const _0x503504=this['_getVidAttributeName'](_0xb3e448),_0x5d1043=_0xb3e448['item']['getAttribute'](_0x503504),_0x4096b8=_0x57a52['get'](_0x5d1043);_0x4096b8&&'elementStart'==_0xb3e448['type']&&(_0x23c822=Array['from'](_0x4096b8)[0x0],_0x5b4422=_0xb3e448['item']['getAttribute']('vid_end')),_0x23c822&&(_0x8aecdf['set'](_0x5d1043,{'userId':_0x23c822}),_0x27e666['set'](_0x5d1043,{'userId':_0x23c822})),_0x5d1043==_0x5b4422&&(_0x23c822=null,_0x5b4422=null);}}const _0x7b6119={},_0xc6c4f0=new Set();for(const _0x59db4f of _0x5093ce){const _0x37e5c5=_0x4a9012['deletions'][_0x59db4f],_0x447492=_0x4a9012['insertions'][_0x59db4f];for(const {userId:_0x23133e}of this['_touchedMarkers']['values']())null!==_0x23133e&&_0xc6c4f0['add'](_0x23133e);for(const {userId:_0x37c8b9}of this['_touchedRoots']['values']())null!==_0x37c8b9&&_0xc6c4f0['add'](_0x37c8b9);this['_markChanges'](_0x447492,_0xab7a59['insertions'][_0x59db4f],_0x27e666,'insertion',_0xc6c4f0),this['_markChanges'](_0x37e5c5,_0xab7a59['deletions'][_0x59db4f],_0x8aecdf,'deletion',_0xc6c4f0),_0x7b6119[_0x59db4f]={'insertions':this['_prepareViewToSave'](_0x447492),'deletions':this['_prepareViewToSave'](_0x37e5c5),'attachChange':this['_touchedRoots']['get'](_0x59db4f)||null,'attributesBefore':_0x2bccda(this['_baseRootsAttributes']['get'](_0x59db4f))||{},'attributesAfter':_0x2bccda(this['_diffRootsAttributes']['get'](_0x59db4f))};}return{'diffData':_0x7b6119,'authorsIds':Array['from'](_0xc6c4f0)};}['_processRootBeforeSave'](_0x742185){for(const [,_0xfffbb9]of _0x742185['markers']){const _0x2438fa=_0xfffbb9['start']['getAncestors']()['filter'](_0x57bdeb=>'tableCell'==_0x57bdeb['name']);for(const _0x2cef36 of _0x2438fa)0x1==_0x2cef36['childCount']&&_0x2cef36['getChild'](0x0)['is']('element','paragraph')&&_0x2cef36['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x328a00){this['_processRootBeforeSave'](_0x328a00);const _0xad94de=this['editor']['data']['toView'](_0x328a00,{}),_0x394df0=Array['from'](_0xad94de['getChildren']())['map'](_0x28a613=>this['_getViewJson'](_0x28a613));return JSON['stringify'](_0x394df0);}['_getViewJson'](_0x4eab59){if(_0x4eab59['is']('$text'))return _0x4eab59['data'];{const _0x54aff3=_0x4eab59;return{'type':Object['keys'](T)['find'](_0x3a4777=>_0x4eab59 instanceof T[_0x3a4777]),'name':_0x54aff3['name'],'attributes':Array['from'](_0x54aff3['getAttributes']()),'children':Array['from'](_0x54aff3['getChildren']())['map'](_0x2f07cc=>this['_getViewJson'](_0x2f07cc))};}}['_markChanges'](_0x2e1633,_0x53ec29,_0x7c916a,_0x5d8d8f,_0x9e6b59){let _0x2d5da3=null,_0x2cae7c=null,_0x50d443=0x0;const _0x4143e7=this['editor']['model'];for(let _0x5766e2=0x0;_0x5766e2<_0x53ec29['length'];_0x5766e2++){const _0x4048e4=this['_getVidAttributeName'](_0x53ec29[_0x5766e2]),_0x1d4705=_0x53ec29[_0x5766e2]['item']['getAttribute'](_0x4048e4),_0x2a27e0=_0x7c916a['get'](_0x1d4705),_0x30a0f2=_0x5766e2==_0x53ec29['length']-0x1;(!_0x2d5da3&&_0x2a27e0&&(_0x2d5da3=_0x2a27e0,_0x2cae7c=_0x53ec29[_0x5766e2]),_0x2d5da3&&(!_0x2a27e0||_0x2a27e0['userId']!=_0x2d5da3['userId']))&&(_0x8be593(_0x2a27e0,L(_0x2cae7c,_0x2e1633,_0x4143e7),L(_0x53ec29[_0x5766e2],_0x2e1633,_0x4143e7)),_0x2d5da3=_0x2a27e0||null,_0x2cae7c=_0x2a27e0?_0x53ec29[_0x5766e2]:null),_0x2d5da3&&_0x30a0f2&&_0x8be593(_0x2a27e0,L(_0x2cae7c,_0x2e1633,_0x4143e7),W(_0x53ec29[_0x5766e2],_0x2e1633,_0x4143e7));}function _0x8be593(_0x21b143,_0x1094c4,_0x37bfa3){const _0x1e6ea5=_0x2d5da3['userId'],_0x3e6557='revision:'+_0x5d8d8f+':'+_0x1e6ea5+':'+_0x50d443++,_0x5a63b5=_0x4143e7['createRange'](_0x1094c4,_0x37bfa3);_0x2e1633['markers']['set'](_0x3e6557,_0x5a63b5),null!==_0x1e6ea5&&_0x9e6b59['add'](_0x1e6ea5);}}['_getVidAttributeName'](_0xd97cfe){switch(_0xd97cfe['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x15aaa0,_0x4c2cf9){_0x15aaa0['baseVersion']=null;for(const _0x510952 in _0x15aaa0){const _0x26c898=_0x15aaa0[_0x510952];if(_0x26c898 instanceof gt){const _0x11cbc3=_0x4c2cf9['get'](_0x26c898['root']['rootName']);_0x15aaa0[_0x510952]=this['_fixPosition'](_0x26c898,_0x11cbc3);}if(_0x26c898 instanceof vt){const _0x3b1d4a=_0x4c2cf9['get'](_0x26c898['root']['rootName']);_0x15aaa0[_0x510952]=this['_fixRange'](_0x26c898,_0x3b1d4a);}'root'===_0x510952&&(_0x15aaa0['root']=_0x4c2cf9['get'](_0x15aaa0['root']['rootName']));}}['_fixRange'](_0x21f2c5,_0xf9193c){return this['editor']['model']['createRange'](this['_fixPosition'](_0x21f2c5['start'],_0xf9193c),this['_fixPosition'](_0x21f2c5['end'],_0xf9193c));}['_fixPosition'](_0x35f263,_0x532b75){return this['editor']['model']['createPositionFromPath'](_0x532b75,_0x35f263['path'],_0x35f263['stickiness']);}['_handleInsertOperation'](_0x155ab3){const _0x2c9f9a=this['_idsRoots']['get'](_0x155ab3['position']['root']['rootName']),_0x3498a4=this['_fixPosition'](_0x155ab3['position'],_0x2c9f9a),_0x23f6da=null===_0x155ab3['_authorId']?null:_0x155ab3['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4fe890=_0x3498a4['parent'],_0x3179bd=this['_revisionId'],_0x45d8a2=[];for(const _0x4c1fd0 of _0x155ab3['nodes'])if(_0x4c1fd0['is']('element'))_0x45d8a2['push'](this['_makeIdsRoot'](_0x4c1fd0));else{for(let _0x56d7c2=0x0;_0x56d7c2<_0x4c1fd0['offsetSize'];_0x56d7c2++)_0x45d8a2['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x21533a=this['_revisionId'];for(let _0x41a41c=_0x3179bd;_0x41a41c<_0x21533a;_0x41a41c++)this['_touched']['set'](_0x41a41c,{'userId':_0x23f6da});_0x4fe890['_insertChild'](_0x3498a4['offset'],_0x45d8a2);}['_handleMoveOperation'](_0x3158c4){(_0x3158c4=this['_cloneOperation'](_0x3158c4,this['_idsRoots']))['_execute']();const _0x267402=null===_0x3158c4['_authorId']?null:_0x3158c4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x20ed2e=_0x3158c4['getMovedRangeStart'](),_0x1f856c=_0x20ed2e['parent'],_0xf29bac=_0x20ed2e['offset'];!function _0x5af24e(_0xeae282,_0xb7b108,_0x52eadd,_0x32675d){for(let _0x495d4b=_0x52eadd;_0x495d4b<_0x32675d;_0x495d4b++){const _0x237e46=_0xb7b108['getChild'](_0x495d4b);_0x237e46['is']('element','$text')?_0xeae282['set'](_0x237e46['getAttribute']('vid'),{'userId':_0x267402}):(_0xeae282['set'](_0x237e46['getAttribute']('vid_start'),{'userId':_0x267402}),_0x5af24e(_0xeae282,_0x237e46,0x0,_0x237e46['childCount']),_0xeae282['set'](_0x237e46['getAttribute']('vid_end'),{'userId':_0x267402}));}}(this['_touched'],_0x1f856c,_0xf29bac,_0xf29bac+_0x3158c4['howMany']);}['_handleMergeOperation'](_0x57346d){const _0x4e44c9=null===(_0x57346d=this['_cloneOperation'](_0x57346d,this['_idsRoots']))['_authorId']?null:_0x57346d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5a7e85=_0x57346d['targetPosition']['parent'],_0x5166c6=_0x57346d['sourcePosition']['parent'],_0xd3e02f=_0x5a7e85['getAttribute']('vid_end'),_0x156507=_0x5166c6['getAttribute']('vid_start');_0x5a7e85['_setAttribute']('vid_end',_0x5166c6['getAttribute']('vid_end')),_0x5166c6['_setAttribute']('vid_end',_0xd3e02f),this['_touched']['set'](_0x156507,{'userId':_0x4e44c9}),this['_touched']['set'](_0xd3e02f,{'userId':_0x4e44c9}),_0x57346d['_execute']();}['_handleSplitOperation'](_0x2334e8){const _0x406735=null===(_0x2334e8=this['_cloneOperation'](_0x2334e8,this['_idsRoots']))['_authorId']?null:_0x2334e8['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x19ffbf=_0x2334e8['graveyardPosition'],_0x1ce50b=_0x2334e8['splitPosition']['parent'];_0x2334e8['_execute']();const _0x3d0fe9=_0x1ce50b['getAttribute']('vid_end'),_0x4a8ea0=_0x2334e8['insertionPosition']['nodeAfter'];if(_0x19ffbf){const _0x1db2ef=_0x4a8ea0['getAttribute']('vid_end'),_0x1c5505=_0x1ce50b['getAttribute']('vid_end');_0x1ce50b['_setAttribute']('vid_end',_0x1db2ef),_0x4a8ea0['_setAttribute']('vid_end',_0x1c5505),this['_touched']['set'](_0x1ce50b['getAttribute']('vid_end'),{'userId':_0x406735}),this['_touched']['set'](_0x4a8ea0['getAttribute']('vid_start'),{'userId':_0x406735});}else{const _0x40453b=this['_revisionId']++,_0xdba9ab=this['_revisionId']++;_0x1ce50b['_setAttribute']('vid_end',_0x40453b),_0x4a8ea0['_setAttribute']('vid_start',_0xdba9ab),_0x4a8ea0['_setAttribute']('vid_end',_0x3d0fe9),this['_touched']['set'](_0x40453b,{'userId':_0x406735}),this['_touched']['set'](_0xdba9ab,{'userId':_0x406735});}}['_handleMarkerOperation'](_0x447345){if(!_0x447345['affectsData'])return;const _0xe1935d=(_0x447345=this['_cloneOperation'](_0x447345,this['_diffRoots']))['oldRange']?_0x447345['oldRange']['root']:null,_0x4d2a32=_0x447345['newRange']?_0x447345['newRange']['root']:null;_0xe1935d&&this['_markers']['delete'](_0x447345['name']),_0x4d2a32&&this['_markers']['set'](_0x447345['name'],_0x447345['newRange']['clone']());const _0x22d2b6=null===_0x447345['_authorId']?null:_0x447345['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x198fc3=_0x447345['name'];if(!this['_touchedMarkers']['has'](_0x198fc3))return void this['_touchedMarkers']['set'](_0x198fc3,{'range':_0x447345['oldRange'],'userId':_0x22d2b6});const _0x17f823=this['_touchedMarkers']['get'](_0x198fc3),_0x56e489=_0x17f823['range'],_0xe08a46=_0x447345['newRange'];null==_0x56e489&&null==_0xe08a46||_0x56e489&&_0xe08a46&&_0x56e489['isEqual'](_0xe08a46)?this['_touchedMarkers']['delete'](_0x447345['name']):_0x17f823['userId']=_0x22d2b6;}['_handleRootOperation'](_0x148646,_0x2395e6){this['_diffRoots']['has'](_0x148646['rootName'])?this['_diffRoots']['get'](_0x148646['rootName'])['_isAttached']=_0x148646['isAdd']:(this['_diffRoots']['set'](_0x148646['rootName'],G(_0x148646['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x148646['rootName'],{}),_0x2395e6&&this['_idsRoots']['set'](_0x148646['rootName'],G(_0x148646['rootName'],!0x0)));const _0x3b8b04=null===_0x148646['_authorId']?null:_0x148646['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xfe1c19=this['_touchedRoots']['get'](_0x148646['rootName']);_0xfe1c19&&_0xfe1c19['userId']===_0x3b8b04?this['_touchedRoots']['delete'](_0x148646['rootName']):this['_touchedRoots']['set'](_0x148646['rootName'],{'userId':_0x3b8b04,'isAttached':_0x148646['isAdd']});}['_handleRootAttributeOperation'](_0x3ca328){const _0x3699b7=this['_diffRootsAttributes']['get'](_0x3ca328['root']['rootName']);null===_0x3ca328['newValue']?delete _0x3699b7[_0x3ca328['key']]:_0x3699b7[_0x3ca328['key']]=_0x3ca328['newValue'];}}function q(_0x3affd0){const _0x440ce6=G(_0x3affd0['rootName'],_0x3affd0['isAttached']());for(const _0x54a126 of _0x3affd0['getChildren']()){const _0x3751be=_0x54a126['_clone'](!0x0);_0x440ce6['_appendChild'](_0x3751be);}return _0x440ce6;}function G(_0x54dd07,_0xf37a8d=!0x0){const _0x316939=new wt();return _0x316939['rootName']=_0x54dd07,_0x316939['_isAttached']=_0xf37a8d,_0x316939['isAttached']=()=>_0x316939['_isAttached'],_0x316939;}function L(_0xfbfa71,_0x24c527,_0x5e8329){const _0x4c8ac5='elementEnd'==_0xfbfa71['type']?_0x5e8329['createPositionAt'](_0xfbfa71['item'],'end'):_0x5e8329['createPositionBefore'](_0xfbfa71['item']);return _0x5e8329['createPositionFromPath'](_0x24c527,_0x4c8ac5['path'],_0x4c8ac5['stickiness']);}function W(_0x4e783d,_0x486f57,_0x4745c8){const _0x30262e='elementStart'==_0x4e783d['type']?_0x4745c8['createPositionAt'](_0x4e783d['item'],0x0):_0x4745c8['createPositionAfter'](_0x4e783d['item']);return _0x4745c8['createPositionFromPath'](_0x486f57,_0x30262e['path'],_0x30262e['stickiness']);}class ns extends _0xb7478c{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x393d91,_0xf72b2a){super(_0x393d91),this['focusTracker']=new _0x57b07f(),this['keystrokes']=new _0x576e86(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0xf72b2a),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'](),_0x3ce3af({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x459844=_0x804b44=>_0x804b44['stopPropagation']();this['keystrokes']['set']('arrowright',_0x459844),this['keystrokes']['set']('arrowleft',_0x459844),this['keystrokes']['set']('arrowup',_0x459844),this['keystrokes']['set']('arrowdown',_0x459844);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x2ab4b2){this['revisionNameInputView']['fieldView']['element']['value']=_0x2ab4b2['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x1a114e){const _0x37830d=new at(this['locale'],_0x183417),_0x2d9818=_0x37830d['fieldView'];_0x2d9818['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x65d07f=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x1a114e&&(_0x65d07f+='\x20('+y(this['locale'],'optional')+')'),(_0x37830d['label']=_0x65d07f,_0x2d9818['on']('input',()=>{this['revisionNameInputValue']=_0x2d9818['element']['value']['trim']();}),_0x37830d);}}class u extends _0x365282{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x232225=this['editor'],_0x1b1c6d=_0x232225['plugins']['get']('RevisionTracker');_0x232225['ui']['componentFactory']['add']('revisionHistory',_0x56b409=>{const _0x441ea2=_0x547be8(_0x56b409),_0x3f7128=_0x441ea2['panelView']['children'],_0x355b24=new te(_0x56b409),_0x4077d8=new _0x2052b4(_0x56b409),_0x1a24d3=new _0x4d4495(_0x56b409),_0x1724c6=new _0x2052b4(_0x56b409),_0xdf609f=new _0x4d4495(_0x56b409);return _0x441ea2['bind']('isEnabled')['to'](_0x1b1c6d,'isReady',_0x1b1c6d,'isEnabled',_0x232225,'isReadOnly',(_0x1bb11e,_0x1715fa,_0x4ffe66)=>_0x1bb11e&&_0x1715fa&&!_0x4ffe66),_0x441ea2['buttonView']['set']({'icon':_0x3f44ce['history'],'label':y(_0x56b409,'Revision\x20history'),'tooltip':!0x0}),_0x1a24d3['set']({'label':y(_0x56b409,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x1a24d3['bind']('isEnabled')['to'](_0x1b1c6d,'isReady',_0x1b1c6d,'isEnabled',_0x232225,'isReadOnly',(_0x391e51,_0x4c90ed,_0x1ae8d2)=>_0x391e51&&_0x4c90ed&&!_0x1ae8d2),_0x1a24d3['on']('execute',()=>this['_showDialog']()),_0xdf609f['set']({'label':y(_0x56b409,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0xdf609f['bind']('isEnabled')['to'](_0x1b1c6d,'isReady',_0x232225,'isReadOnly',(_0x52c9c7,_0x601624)=>_0x52c9c7&&!_0x601624),_0xdf609f['on']('execute',()=>{_0x232225['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x441ea2['isOpen']=!0x1,_0x232225['editing']['view']['focus']();}),_0x4077d8['children']['add'](_0x1a24d3),_0x1724c6['children']['add'](_0xdf609f),_0x355b24['role']='menu',_0x355b24['items']['addMany']([_0x4077d8,_0x1724c6]),_0x3f7128['add'](_0x355b24),_0x441ea2;}),_0x232225['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x493291=this['editor'],_0x54993b=_0x493291['locale'],_0x5c5d6f=new _0x49b471(_0x54993b),_0x5ed4f4=new _0x1a1261(_0x54993b);_0x5c5d6f['buttonView']['set']({'icon':_0x3f44ce['history'],'label':y(_0x54993b,'Revision\x20history')});const _0x6ad6af=new _0x2b5bdc(_0x54993b,_0x5c5d6f),_0x16bc39=new _0xd0ebac(_0x54993b);_0x16bc39['set']({'label':y(_0x54993b,'Save\x20current\x20revision')}),_0x16bc39['delegate']('execute')['to'](_0x5c5d6f),_0x16bc39['on']('execute',()=>{this['_showDialog']();}),_0x6ad6af['children']['add'](_0x16bc39),_0x5ed4f4['items']['add'](_0x6ad6af);const _0x17b87d=new _0x2b5bdc(_0x54993b,_0x5c5d6f),_0x1ffd11=new _0xd0ebac(_0x54993b);return _0x1ffd11['set']({'label':y(_0x54993b,'Open\x20revision\x20history')}),_0x1ffd11['delegate']('execute')['to'](_0x5c5d6f),_0x1ffd11['on']('execute',()=>{_0x493291['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x17b87d['children']['add'](_0x1ffd11),_0x5ed4f4['items']['add'](_0x17b87d),_0x5c5d6f['panelView']['children']['add'](_0x5ed4f4),_0x5c5d6f;}['_showDialog'](){const _0x321f05=this['editor'],_0xf1dbdf=_0x321f05['locale'],t=_0xf1dbdf['t'],_0x3e428d=_0x321f05['plugins']['get']('Dialog'),_0x670c45=_0x321f05['plugins']['get']('RevisionTracker');function _0x403b84(_0xda494f){_0x321f05['config']['get']('revisionHistory.requireRevisionName')&&''===_0xda494f['revisionName']?_0xda494f['revisionNameInputView']['errorText']=y(_0xf1dbdf,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x321f05['plugins']['get'](l)['saveRevision']({'name':_0xda494f['revisionName']}),_0x3e428d['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x403b84(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x3e428d['show']({'id':'findAndReplace','title':y(_0xf1dbdf,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x3e428d['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x13f42){_0x13f42['bind']('isEnabled')['to'](_0x670c45,'isReady',_0x670c45,'isEnabled',_0x321f05,'isReadOnly',(_0xed817a,_0x1f614e,_0x2501dc)=>_0xed817a&&_0x1f614e&&!_0x2501dc);},'onExecute':()=>_0x403b84(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0xa8398=this['editor'],_0x2020c6=_0xa8398['locale'];this['_saveRevisionFormView']=new ns(_0x2020c6,_0xa8398['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0xb7478c{['changeId'];['_model'];constructor(_0x3b8cb2,_0x389d57){super(_0x3b8cb2),this['_model']=_0x389d57,this['changeId']=_0x389d57['id'];const _0x54b581=this['bindTemplate'],_0x33c348=y(_0x3b8cb2,_0x389d57['data']['isSuggestion']?'Suggested\x20by':'add'==_0x389d57['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x389d57['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x54b581['to']('type',_0x8c6833=>'ck-revision-change__'+_0x8c6833)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x33c348}]},{'text':'\x20'+_0x389d57['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x189954(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x3c552d){super(),this['id']=_0x3c552d['id']||_0x2d17fa(),this['author']=_0x3c552d['author'],this['type']=_0x3c552d['type'],this['data']=_0x3c552d['data']||{},this['rootName']=_0x3c552d['rootName'],this['set']('createdAt',_0x3c552d['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(_0x79cf4,_0x134e00){this['newRevisionId']=_0x79cf4,this['oldRevisionId']=_0x134e00,this['changes']=new _0x5db5a3();}['_setChanges'](_0x193b74){for(const _0x370f3d of _0x193b74)this['changes']['add'](_0x370f3d);}}const tt={'c':_0x212c9c,'a':_0x3dfd9c,'e':_0x2d2023,'r':_0x55dd1f,'u':_0x52daae};class d extends _0x365282{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x2bad0c,_0x23529a,A];}constructor(_0x4db7cb){super(_0x4db7cb),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',(_0x10283f,_0x22663c,_0x47b45d)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x163b98=>{for(const _0x19ec65 of this['editor']['editing']['view']['document']['roots'])_0x47b45d?_0x163b98['removeClass']('ck-editor__editable__overlay',_0x19ec65):_0x163b98['addClass']('ck-editor__editable__overlay',_0x19ec65);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x952803=>null!==_0x952803),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x37f3ff,_0x4034e3,_0x578e7f)=>_0x37f3ff&&_0x578e7f?_0x4034e3['changes']['getIndex'](_0x578e7f):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x44a296,_0x25bd8d)=>_0x44a296?_0x25bd8d['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x23529a);}['init'](){const _0x87ec01=this['editor'],_0x163780=new yt(_0x87ec01,{'direction':'backward'}),_0x2ad2fc=new yt(_0x87ec01,{'direction':'forward'});(_0x87ec01['commands']['add']('showPreviousChange',_0x163780),_0x87ec01['commands']['add']('showNextChange',_0x2ad2fc),_0x87ec01['commands']['add']('restoreRevision',new bt(_0x87ec01)),this['on']('change:numberOfChanges',()=>{_0x163780['refresh'](),_0x2ad2fc['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x87ec01['enableReadOnlyMode']('revision-viewer'),_0x87ec01['plugins']['has']('WidgetToolbarRepository'))&&_0x87ec01['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x42a2a7){await this['loadRevisionData'](_0x42a2a7);const _0x36ea45={};for(const _0x4b6bf4 in _0x42a2a7['diffData']){if(_0x42a2a7['diffData'][_0x4b6bf4]['attachChange']&&!_0x42a2a7['diffData'][_0x4b6bf4]['attachChange']['isAttached'])continue;const _0x539ba9=this['_removeRevisionMarkers'](JSON['parse'](_0x42a2a7['diffData'][_0x4b6bf4]['insertions'])),_0x1a8506=this['editor']['editing']['view']['document'],_0x3ee5eb=new _0x19e872(_0x1a8506,_0x539ba9['map'](_0x4549b1=>this['_getViewObj'](_0x4549b1)));this['editor']['data']['processor']['useFillerType']('marked'),_0x36ea45[_0x4b6bf4]=this['editor']['data']['processor']['toData'](_0x3ee5eb),this['editor']['data']['processor']['useFillerType']('default');}return _0x36ea45;}async['getRevisionRootsAttributes'](_0x1d3699){await this['loadRevisionData'](_0x1d3699);const _0x4dd5ee={};for(const _0x241d91 in _0x1d3699['diffData'])_0x1d3699['diffData'][_0x241d91]['attachChange']&&!_0x1d3699['diffData'][_0x241d91]['attachChange']['isAttached']||(_0x4dd5ee[_0x241d91]=_0x1d3699['diffData'][_0x241d91]['attributesAfter']||{});return _0x4dd5ee;}['_removeRevisionMarkers'](_0x385ff9){return(_0x385ff9=_0x385ff9['filter'](_0x2c7091=>!_0x2c7091['name']||'revision-start'!==_0x2c7091['name']&&'revision-end'!==_0x2c7091['name']))['forEach'](_0x18055a=>{'string'!=typeof _0x18055a&&(_0x18055a['children']=this['_removeRevisionMarkers'](_0x18055a['children']),_0x18055a['attributes']=_0x18055a['attributes']['filter'](_0x18a774=>!_0x18a774[0x0]['startsWith']('data-revision-')));}),_0x385ff9;}async['compare'](_0x7cff9e,_0x2f0fa2,_0x1441d1=!0x1){if(!this['isEnabled'])return;const _0x2780cb=this['diff'],_0x8a4750=this['repository'],_0x107bb4='string'==typeof _0x7cff9e?_0x8a4750['getRevision'](_0x7cff9e):_0x7cff9e,_0x277d49='string'==typeof _0x2f0fa2?_0x8a4750['getRevision'](_0x2f0fa2):_0x2f0fa2,_0x4bab19=_0x107bb4['id'],_0x44d91c=_0x277d49?_0x277d49['id']:null;if(!_0x1441d1&&this['diff']&&this['diff']['newRevisionId']===_0x4bab19&&this['diff']['oldRevisionId']===_0x44d91c)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x4bab19,_0x44d91c);const _0x5a5b94=this['_getRevisionsRange'](_0x107bb4,_0x277d49,!0x0)['map'](_0x3fdaf0=>this['loadRevisionData'](_0x3fdaf0));return _0x5a5b94['push'](new Promise(_0x297810=>{setTimeout(_0x297810,0x14);})),Promise['all'](_0x5a5b94)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x141d86=this['_getDiff'](_0x4bab19,_0x44d91c);for(const _0x5696d7 of _0x141d86['changes'])this['_changeIdToChange']['set'](_0x5696d7['id'],_0x5696d7);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x5ee641=>{for(const _0x1cb593 of this['editor']['model']['document']['getRootNames']())_0x5ee641['detachRoot'](_0x1cb593);for(const _0x1f5949 of Object['keys'](_0x141d86['model'])){const _0x4b7962=_0x5ee641['addRoot'](_0x1f5949);for(const _0x237ed7 of Object['keys'](_0x141d86['attributes'][_0x1f5949]))_0x5ee641['setAttribute'](_0x237ed7,_0x141d86['attributes'][_0x1f5949][_0x237ed7],_0x4b7962);_0x5ee641['insert'](_0x141d86['model'][_0x1f5949],_0x4b7962,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x141d86['changes'])),this['isReady']=!0x0;})['catch'](_0x2756f0=>{console['error'](_0x2756f0),this['_cleanUp'](),_0x2780cb&&(this['diff']=_0x2780cb),this['isReady']=!0x0;});}['addRevisionData'](_0x2aac00,_0x2ed5f4){const _0x1cfc39=this['repository']['createRevision'](_0x2aac00);return _0x1cfc39['on']('_update',(_0x25d954,_0x4c3121,_0x524faf)=>_0x2ed5f4(_0x4c3121,_0x524faf,_0x1cfc39)),this['repository']['addRevision'](_0x1cfc39),_0x1cfc39;}['loadRevisionData'](_0xf63284){if(!_0xf63284||_0xf63284['diffData'])return Promise['resolve']();{const _0x3f3dba=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3f3dba,'revisionId':_0xf63284['id']})['then'](_0x524fa4=>{_0xf63284['_update']({'diffData':_0x524fa4['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},_0x14e489=>{for(const _0x2bc15f of this['editor']['model']['document']['getRootNames']())_0x14e489['detachRoot'](_0x2bc15f);});}['_sortAndFilterDiffChanges'](_0x575f55){const _0xf20a9e=[],_0x2a70e9=new Map();for(const _0x3103ac of this['editor']['model']['document']['getRootNames']()){const _0x221563=this['editor']['editing']['view']['getDomRoot'](_0x3103ac);if(!_0x221563)continue;const _0x2cf874=_0x221563['getClientRects']()['item'](0x0);_0x2cf874&&(_0xf20a9e['push'](_0x3103ac),_0x2a70e9['set'](_0x3103ac,_0x2cf874));}return _0xf20a9e['sort']((_0x4df468,_0x308b2f)=>{const _0x5c202e=_0x2a70e9['get'](_0x4df468),_0x5386bf=_0x2a70e9['get'](_0x308b2f);return _0x5c202e['y']-_0x5386bf['y']||_0x5c202e['x']-_0x5386bf['x'];}),(_0x575f55=_0x575f55['filter'](_0x3993ff=>_0xf20a9e['includes'](_0x3993ff['rootName'])))['sort']((_0x4a7029,_0x221ad8)=>_0xf20a9e['indexOf'](_0x4a7029['rootName'])-_0xf20a9e['indexOf'](_0x221ad8['rootName'])),_0x575f55;}['_makeTape'](_0x5968a2){const _0x23a27a=Array['from'](_0x5968a2['markers'])['filter'](([_0xfc4f88,_0x4e4861])=>_0xfc4f88['startsWith']('revision:')&&!_0x4e4861['isCollapsed']),_0x4b4647=Array['from'](this['editor']['model']['createRangeIn'](_0x5968a2)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x23a27a['length'])for(const _0x20ae18 of _0x4b4647){const [_0x26d7d3,_0x59d68b]=_0x23a27a[0x0],[,_0x60dffd,_0x5a5fca]=_0x26d7d3['split'](':');if(_0x59d68b['end']['isEqual'](_0x20ae18['nextPosition'])&&_0x23a27a['shift'](),(_0x20ae18['previousPosition']['isEqual'](_0x59d68b['start'])||_0x20ae18['previousPosition']['isAfter'](_0x59d68b['start']))&&('insertion'==_0x60dffd?_0x20ae18['isAdded']={'userId':_0x5a5fca}:'deletion'==_0x60dffd&&(_0x20ae18['isRemoved']={'userId':_0x5a5fca})),0x0==_0x23a27a['length'])break;}return _0x4b4647;}['_refreshStartEndIndex'](_0xf58998){const _0x5134ec=new Map();for(let _0x3d2b8a=0x0;_0x3d2b8a<_0xf58998['length'];_0x3d2b8a++)'text'===_0xf58998[_0x3d2b8a]['type']?(_0xf58998[_0x3d2b8a]['item']['startIndex']=_0x3d2b8a,_0xf58998[_0x3d2b8a]['item']['endIndex']=_0x3d2b8a):('elementStart'===_0xf58998[_0x3d2b8a]['type']?_0xf58998[_0x3d2b8a]['item']['startIndex']=_0x3d2b8a:'elementEnd'===_0xf58998[_0x3d2b8a]['type']&&(_0xf58998[_0x3d2b8a]['item']['endIndex']=_0x3d2b8a),_0x5134ec['set'](_0xf58998[_0x3d2b8a]['id'],_0x3d2b8a));for(const _0x4bb37d of _0x5134ec['values']())'elementStart'===_0xf58998[_0x4bb37d]['type']?_0xf58998[_0x4bb37d]['item']['endIndex']=_0x5134ec['get'](_0xf58998[_0x4bb37d]['pairId']):'elementEnd'===_0xf58998[_0x4bb37d]['type']&&(_0xf58998[_0x4bb37d]['item']['startIndex']=_0x5134ec['get'](_0xf58998[_0x4bb37d]['pairId']));}['_processTape'](_0x522bec){for(let _0x4c64d1=0x0;_0x4c64d1<_0x522bec['length'];_0x4c64d1++){if('elementStart'===_0x522bec[_0x4c64d1]['type'])_0x522bec[_0x4c64d1]['item']['startIndex']=_0x4c64d1;else{if('elementEnd'===_0x522bec[_0x4c64d1]['type']){_0x522bec[_0x4c64d1]['item']['endIndex']=_0x4c64d1;const _0x20508c=_0x522bec[_0x4c64d1]['item']['startIndex'];_0x522bec[_0x20508c]['pairId']=_0x522bec[_0x4c64d1]['id'],_0x522bec[_0x4c64d1]['pairId']=_0x522bec[_0x20508c]['id'];}else _0x522bec[_0x4c64d1]['item']['startIndex']=_0x4c64d1,_0x522bec[_0x4c64d1]['item']['endIndex']=_0x4c64d1,_0x522bec[_0x4c64d1]['pairId']=null;}_0x522bec[_0x4c64d1]['markersStart']||(_0x522bec[_0x4c64d1]['markersStart']=[],_0x522bec[_0x4c64d1]['markersEnd']=[]);}}['_markInsertions'](_0x356724,_0x33ef7d){const _0x2beaf4=_0x356724['filter'](_0x49199b=>!_0x49199b['isAdded']);for(let _0x1d798b=0x0;_0x1d798b<_0x33ef7d['length'];_0x1d798b++)_0x33ef7d[_0x1d798b]['isAdded']&&(_0x2beaf4[_0x1d798b]['isAdded']=_0x33ef7d[_0x1d798b]['isAdded']);}['_makeModelFromViewString'](_0x21124a){const _0x5970e4=JSON['parse'](_0x21124a),_0x21baf3=this['editor']['editing']['view']['document'],_0x4823d8=new _0x19e872(_0x21baf3,_0x5970e4['map'](_0x2069cf=>this['_getViewObj'](_0x2069cf)));return this['editor']['data']['toModel'](_0x4823d8);}['_getViewObj'](_0x3e3455){const _0x5193fc=this['editor']['editing']['view']['document'];if('string'==typeof _0x3e3455)return new _0x319b0c(_0x5193fc,_0x3e3455);{const _0x4ca75f=_0x3e3455['children']['map'](_0xc6fd3b=>this['_getViewObj'](_0xc6fd3b));return new(tt[_0x3e3455['type']]||_0x3c4bca)(_0x5193fc,_0x3e3455['name'],_0x3e3455['attributes'],_0x4ca75f);}}['_getDiff'](_0x11bb4a,_0x322a39=null){const _0x36d7b0=this['repository']['getRevision'](_0x11bb4a),_0x113c51=_0x322a39?this['repository']['getRevision'](_0x322a39):null,_0x34f382=this['_getRevisionsRange'](_0x36d7b0,_0x113c51),_0x50dc60=_0x34f382[_0x34f382['length']-0x1],_0x5381cd=new Map(),_0x4059da={'model':{},'attributes':{},'changes':[]},_0x288336=new Set(),_0x183511=new Map();for(let _0x4dbef2=_0x34f382['length']-0x1;_0x4dbef2>=0x0;_0x4dbef2--){const _0xff9661=_0x34f382[_0x4dbef2];for(const _0x2d13e6 of Object['keys'](_0xff9661['diffData']))if(_0xff9661['diffData'][_0x2d13e6]['attachChange']){const _0x4a73be=_0xff9661['diffData'][_0x2d13e6]['attachChange'];_0x4a73be['isAttached']?(_0x288336['add'](_0x2d13e6),_0x183511['has'](_0x2d13e6)&&_0x183511['get'](_0x2d13e6)['userId']==_0x4a73be['userId']?_0x183511['delete'](_0x2d13e6):_0x183511['set'](_0x2d13e6,_0x4a73be)):_0x183511['has'](_0x2d13e6)?(_0x288336['delete'](_0x2d13e6),_0x183511['delete'](_0x2d13e6)):(_0x288336['add'](_0x2d13e6),_0x183511['set'](_0x2d13e6,_0x4a73be));}else _0x288336['add'](_0x2d13e6);}for(const _0x1a0206 of _0x288336){const _0x1fc81b=_0x183511['has'](_0x1a0206)&&!_0x183511['get'](_0x1a0206)['isAttached'];let _0x55e21f=_0x1fc81b?_0x34f382['length']-0x1:0x0;const _0x23982c=_0x1fc81b?-0x1:0x1;for(;_0x34f382[_0x55e21f];){const _0x12f012=_0x34f382[_0x55e21f];if(_0x12f012['diffData'][_0x1a0206]){const _0x20d7bd=_0x1fc81b?_0x12f012['diffData'][_0x1a0206]['attributesBefore']:_0x12f012['diffData'][_0x1a0206]['attributesAfter'];_0x4059da['attributes'][_0x1a0206]=_0x20d7bd?_0x2bccda(_0x20d7bd):{};break;}_0x55e21f+=_0x23982c;}}for(const _0x5cb6e5 of _0x34f382){_0x5cb6e5['model']={};for(const _0xf0cc48 of _0x5cb6e5['authors'])_0x5381cd['set'](_0xf0cc48['id'],_0xf0cc48);for(const _0x33dbb5 of _0x288336){const _0xf48691=_0x5cb6e5['diffData'][_0x33dbb5]?_0x5cb6e5['diffData'][_0x33dbb5]['insertions']:'[]',_0x1657cd=_0x5cb6e5['diffData'][_0x33dbb5]?_0x5cb6e5['diffData'][_0x33dbb5]['deletions']:'[]';_0x5cb6e5['model'][_0x33dbb5]={'insertions':this['_makeModelFromViewString'](_0xf48691),'deletions':this['_makeModelFromViewString'](_0x1657cd)};}}for(const _0x53851b of _0x288336){let _0x126370=null,_0x215097=0x0;const _0x178bd6=new Map(Array['from'](_0x36d7b0['model'][_0x53851b]['insertions']['markers'])['filter'](([_0x23fc07])=>!_0x23fc07['startsWith']('revision:')));let _0x11665a=0x0;for(const _0x3efeca of _0x34f382){const _0x517595=this['_makeTape'](_0x3efeca['model'][_0x53851b]['insertions']);_0x3efeca==_0x36d7b0?(_0x126370=_0x517595,_0x215097=_0x126370['length'],_0x126370['forEach'](_0x1f62f8=>{_0x1f62f8['id']=_0x11665a++;}),this['_processTape'](_0x126370)):this['_markInsertions'](_0x126370,_0x517595);const _0x4014f7=_0x126370['filter'](_0x52da0f=>!_0x52da0f['isAdded'])['map'](_0x3e2bce=>_0x3e2bce['id']);let _0x2f6b58=0x0;const _0x2a1b5b=this['_makeTape'](_0x3efeca['model'][_0x53851b]['deletions']);_0x2a1b5b['forEach'](_0x51402e=>{_0x51402e['isRemoved']?_0x51402e['id']=_0x215097++:_0x51402e['id']=_0x4014f7[_0x2f6b58++];}),this['_processTape'](_0x2a1b5b),this['_setDistance'](_0x126370,'isAdded'),this['_setDistance'](_0x2a1b5b,'isRemoved'),_0x3efeca==_0x36d7b0&&this['_markMarkers'](_0x126370,_0x178bd6),_0x126370=this['_joinTapes'](_0x126370,_0x2a1b5b),this['_refreshStartEndIndex'](_0x126370),this['_setDistance'](_0x126370,'isRemoved');}_0x126370=_0x126370['filter'](_0x387058=>!(_0x387058['isAdded']&&_0x387058['isRemoved']));const _0x5145e1=new Map(_0x50dc60['model'][_0x53851b]['deletions']['markers']),_0x35edb6=new Set(_0x178bd6['keys']());for(const _0x571cc0 of _0x5145e1['keys']())_0x35edb6['delete'](_0x571cc0);this['_markSuggestions'](_0x126370,_0x35edb6),this['_fixObsoleteTags'](_0x126370),_0x126370=this['_removeMissingPairs'](_0x126370),_0x126370=this['_markMismatchedRemovedTags'](_0x126370),_0x126370=this['_removeUnsupportedChanges'](_0x126370);const {root:_0x2830fc,changes:_0x10894b}=this['_makeModelFromTape'](_0x126370,_0x5381cd,_0x53851b);_0x4059da['model'][_0x53851b]=_0x2830fc;const _0x3b8188=_0x183511['get'](_0x53851b);if(_0x3b8188){const _0xf0907e=_0x5381cd['get'](_0x3b8188['userId']),_0x14c59f=new r({'author':_0xf0907e,'type':_0x3b8188['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x53851b});_0x10894b['unshift'](_0x14c59f),_0x4059da['attributes'][_0x53851b]['revisionHistoryAttachChange']=_0x14c59f['id'];}_0x4059da['changes']=_0x4059da['changes']['concat'](_0x10894b);}return _0x4059da;}['_markMarkers'](_0x391157,_0x4d5afa){for(let _0x1b2392=0x0;_0x1b2392<_0x391157['length'];_0x1b2392++)for(const [_0xa01d26,_0x139f2b]of _0x4d5afa)_0x139f2b['start']['isEqual'](_0x391157[_0x1b2392]['previousPosition'])&&_0x391157[_0x1b2392]['markersStart']['push'](_0xa01d26),_0x139f2b['end']['isEqual'](_0x391157[_0x1b2392]['nextPosition'])&&_0x391157[_0x1b2392]['markersEnd']['push'](_0xa01d26);}['_joinTapes'](_0x77d8fe,_0x45c808){let _0x2966eb=[],_0x344aca=0x0,_0x57bd49=0x0;for(;_0x344aca<_0x77d8fe['length']||_0x57bd49<_0x45c808['length'];){const _0x19f14c=_0x77d8fe[_0x344aca]||{},_0x443c87=_0x45c808[_0x57bd49]||{};if(_0x19f14c['id']==_0x443c87['id'])_0x344aca++,_0x57bd49++,_0x2966eb['push'](_0x19f14c);else{if(_0x443c87['isRemoved']&&_0x19f14c['isAdded']){const {commonTape:_0x423e34,iEnd:_0x42e345,jEnd:_0x52d1df}=this['_threeWayMerge'](_0x77d8fe,_0x344aca,_0x45c808,_0x57bd49);_0x2966eb=_0x2966eb['concat'](_0x423e34),_0x344aca=_0x42e345,_0x57bd49=_0x52d1df;}else _0x443c87['isRemoved']?(_0x57bd49++,_0x2966eb['push'](_0x443c87)):(_0x344aca++,_0x2966eb['push'](_0x19f14c));}}return _0x2966eb;}['_markSuggestions'](_0x330467,_0x116dff){const _0x1e237a=[];for(let _0x4af3d1=0x0;_0x4af3d1<_0x330467['length'];_0x4af3d1++){for(let _0x5aafc4=0x0;_0x5aafc4<_0x330467[_0x4af3d1]['markersStart']['length'];_0x5aafc4++){const _0x352e76=_0x330467[_0x4af3d1]['markersStart'][_0x5aafc4];if(!_0x116dff['has'](_0x352e76))continue;const {group:_0x47c9f0,type:_0x11b306,authorId:_0x133df2}=_0x320b0e(_0x352e76);'revision-suggestion'!=_0x47c9f0||'insertion'!=_0x11b306&&'deletion'!=_0x11b306||(_0x1e237a['unshift']({'type':_0x11b306,'name':_0x352e76,'userId':_0x133df2}),_0x330467[_0x4af3d1]['markersStart']['splice'](_0x5aafc4,0x1),_0x5aafc4--);}_0x1d5ce4(_0x330467[_0x4af3d1]);for(let _0x577a32=0x0;_0x577a32<_0x330467[_0x4af3d1]['markersEnd']['length'];_0x577a32++){const _0x4b4cb9=_0x330467[_0x4af3d1]['markersEnd'][_0x577a32];if(!_0x116dff['has'](_0x4b4cb9))continue;const {group:_0x48d29c,type:_0x5d25ca}=_0x320b0e(_0x4b4cb9);if('revision-suggestion'!=_0x48d29c||'insertion'!=_0x5d25ca&&'deletion'!=_0x5d25ca)continue;_0x330467[_0x4af3d1]['markersEnd']['splice'](_0x577a32,0x1),_0x577a32--;const _0x22d8cb=_0x1e237a['findIndex'](_0x3e4558=>_0x3e4558['name']==_0x4b4cb9);_0x22d8cb>-0x1&&_0x1e237a['splice'](_0x22d8cb,0x1);}}function _0x320b0e(_0x146ea9){const _0x1b467e=_0x146ea9['split'](':');return{'group':_0x1b467e[0x0],'type':_0x1b467e[0x1],'subType':_0x1b467e['length']>=0x5?_0x1b467e[0x2]:null,'id':_0x1b467e['length']<0x5?_0x1b467e[0x2]:_0x1b467e[0x3],'authorId':_0x1b467e['length']<0x5?_0x1b467e[0x3]:_0x1b467e[0x4],'markerCount':0x6==_0x1b467e['length']?_0x1b467e[0x5]:null};}function _0x1d5ce4(_0x48eebf){for(let _0x46a2a2=0x0;_0x46a2a2<_0x1e237a['length'];_0x46a2a2++){if(_0x48eebf['isAdded']&&'insertion'==_0x1e237a[_0x46a2a2]['type'])return _0x48eebf['isAddSuggestion']=_0x1e237a[_0x46a2a2],void delete _0x48eebf['isAdded'];if(!_0x48eebf['isAdded']&&!_0x48eebf['isRemoved']&&'deletion'==_0x1e237a[_0x46a2a2]['type'])return void(_0x48eebf['isRemoveSuggestion']=_0x1e237a[_0x46a2a2]);}}}['_setDistance'](_0x495665,_0x1c1984){let _0x68088d=0x0,_0x1ec2cb=!0x1;const _0x38764=new Map();for(const _0xc0ea44 of _0x495665)_0xc0ea44[_0x1c1984]?_0x1ec2cb&&(_0x68088d++,_0x1ec2cb=!0x1):(_0x68088d++,_0x1ec2cb=!0x0),_0x38764['set'](_0xc0ea44['id'],_0x68088d);for(let _0x1be0b8=0x0;_0x1be0b8<_0x495665['length'];_0x1be0b8++){if('isRemoved'==_0x1c1984&&_0x495665[_0x1be0b8]['isAdded']||'isAdded'==_0x1c1984&&_0x495665[_0x1be0b8]['isRemoved'])continue;if('text'==_0x495665[_0x1be0b8]['type']){_0x495665[_0x1be0b8]['distance']=0x0;continue;}const _0x3a8c94=_0x38764['get'](_0x495665[_0x1be0b8]['pairId']),_0x295b9b=_0x38764['get'](_0x495665[_0x1be0b8]['id']);_0x495665[_0x1be0b8]['distance']=_0x3a8c94-_0x295b9b;}}['_getRevisionsRange'](_0x26664e,_0x30c46c,_0x5ac6aa=!0x1){const _0x251a45=[];let _0xcb0101=this['repository']['getIndex'](_0x26664e),_0x2f9467=this['repository']['getIndex'](_0x30c46c);for(-0x1==_0x2f9467&&(_0x2f9467=this['repository']['_revisions']['length'],_0x5ac6aa=!0x1);_0xcb0101<_0x2f9467;)_0x251a45['push'](this['repository']['getRevision'](_0xcb0101)),_0xcb0101++;return _0x5ac6aa&&_0x251a45['push'](this['repository']['getRevision'](_0xcb0101)),_0x251a45;}['_threeWayMerge'](_0x7bc1c,_0x32adb5,_0x52552f,_0xb45f1f){const _0x231b54=this['editor']['model']['schema'];let _0x418a73=_0x32adb5;for(;_0x7bc1c[_0x418a73]&&_0x7bc1c[_0x418a73]['isAdded'];)_0x418a73++;let _0x2fb27e=_0xb45f1f;for(;_0x52552f[_0x2fb27e]&&_0x52552f[_0x2fb27e]['isRemoved'];)_0x2fb27e++;_0x4af473(_0x7bc1c,_0x32adb5,_0x418a73),_0x4af473(_0x52552f,_0xb45f1f,_0x2fb27e);const _0x4364fa=_0x52552f['slice'](_0xb45f1f,_0x2fb27e)['concat'](_0x7bc1c['slice'](_0x32adb5,_0x418a73));return _0x4364fa['sort']((_0x466e81,_0xe41c6b)=>_0x466e81['side']!=_0xe41c6b['side']?_0x466e81['side']-_0xe41c6b['side']:_0x466e81['level']!=_0xe41c6b['level']?_0x466e81['level']-_0xe41c6b['level']:_0x466e81['distance']!=_0xe41c6b['distance']?_0xe41c6b['distance']-_0x466e81['distance']:!!_0x466e81['isAdded']!=!!_0xe41c6b['isAdded']?-0x1==_0x466e81['side']||0x0==_0x466e81['side']?_0x466e81['isAdded']?-0x1:0x1:_0x466e81['isAdded']?0x1:-0x1:_0x466e81['index']-_0xe41c6b['index']),{'commonTape':_0x4364fa,'iEnd':_0x418a73,'jEnd':_0x2fb27e};function _0x4af473(_0x3bc52f,_0x40d836,_0xdf9d2){let _0x27932d=-0x1,_0x4977f7=Number['POSITIVE_INFINITY'],_0x2fca3a=!0x0;for(let _0x2106b7=_0x40d836;_0x2106b7<_0xdf9d2;_0x2106b7++)if(_0x231b54['isInline'](_0x3bc52f[_0x2106b7]['item'])||(_0x2fca3a=!0x1),_0x3bc52f[_0x2106b7]['item']['startIndex']<_0x40d836&&(_0x27932d=_0x2106b7),_0x3bc52f[_0x2106b7]['item']['endIndex']>=_0xdf9d2){_0x4977f7=_0x2106b7;break;}_0x2fca3a&&(_0x27932d=_0xdf9d2-0x1);for(let _0x1e3d7b=_0x40d836;_0x1e3d7b<_0xdf9d2;_0x1e3d7b++)_0x3bc52f[_0x1e3d7b]['side']=_0x1e3d7b<=_0x27932d?-0x1:_0x1e3d7b<_0x4977f7?0x0:0x1,_0x3bc52f[_0x1e3d7b]['index']=_0x1e3d7b;let _0x9f022e=0x0;for(let _0x162384=_0x40d836;_0x162384<=_0x27932d;_0x162384++)0x0==_0x3bc52f[_0x162384]['distance']?_0x3bc52f[_0x162384]['level']=_0x9f022e:(_0x9f022e++,_0x3bc52f[_0x162384]['level']=_0x9f022e,_0x9f022e++);for(let _0x9e0386=_0x40d836;_0x9e0386<_0xdf9d2;_0x9e0386++)0x0==_0x3bc52f[_0x9e0386]['side']&&(_0x3bc52f[_0x9e0386]['level']=_0x9f022e);_0x9f022e=0x0;for(let _0x128d3a=_0xdf9d2-0x1;_0x128d3a>=_0x4977f7;_0x128d3a--)0x0==_0x3bc52f[_0x128d3a]['distance']?_0x3bc52f[_0x128d3a]['level']=_0x9f022e:(_0x9f022e--,_0x3bc52f[_0x128d3a]['level']=_0x9f022e,_0x9f022e--);}}['_fixObsoleteTags'](_0x41b999){const _0x12d457=new Map(),_0x3a3836=this['editor']['model']['schema'];for(let _0x155b31=0x1;_0x155b31<_0x41b999['length'];_0x155b31++){let _0x3d5038,_0x1f81ac,_0x782763;const _0x5b6e8e=_0x41b999[_0x155b31],_0x5c8f13=_0x41b999[_0x155b31-0x1];if('text'==_0x5b6e8e['type'])continue;if(_0x5b6e8e['type']!=_0x5c8f13['type'])continue;if(!_0x3a3836['isBlock'](_0x5c8f13['item'])||_0x3a3836['isLimit'](_0x5c8f13['item']))continue;if(!_0x3a3836['isBlock'](_0x5b6e8e['item'])||_0x3a3836['isLimit'](_0x5b6e8e['item']))continue;if((_0x41b999[_0x155b31]['isAdded']||_0x41b999[_0x155b31]['isAddSuggestion'])&&_0x41b999[_0x155b31-0x1]['isRemoved'])_0x3d5038=_0x41b999[_0x155b31],_0x1f81ac=_0x41b999[_0x155b31-0x1],_0x782763=_0x155b31-0x1;else{if(!_0x41b999[_0x155b31]['isRemoved']||!_0x41b999[_0x155b31-0x1]['isAdded']&&!_0x41b999[_0x155b31-0x1]['isAddSuggestion'])continue;_0x3d5038=_0x41b999[_0x155b31-0x1],_0x1f81ac=_0x41b999[_0x155b31],_0x782763=_0x155b31;}const _0x32e4a1=_0x3d5038['level']==_0x1f81ac['level'],_0x662fc7=Math['abs'](_0x3d5038['level'])<Math['abs'](_0x1f81ac['level'])&&0x0==_0x1f81ac['distance'];(_0x32e4a1||_0x662fc7)&&(_0x12d457['set'](_0x1f81ac['id'],_0x3d5038['id']),_0x41b999['splice'](_0x782763,0x1),_0x155b31--,_0x3d5038['isAdded']=!0x1);}for(let _0x36f749=0x0;_0x36f749<_0x41b999['length'];_0x36f749++)_0x12d457['has'](_0x41b999[_0x36f749]['pairId'])&&(_0x41b999[_0x36f749]['pairId']=_0x12d457['get'](_0x41b999[_0x36f749]['pairId']));}['_removeMissingPairs'](_0x36a958){const _0x1538dd=new Set(_0x36a958['map'](_0x1e22c5=>_0x1e22c5['id']));for(let _0x13918a=0x0;_0x13918a<_0x36a958['length'];_0x13918a++)_0x1538dd['has'](_0x36a958[_0x13918a]['pairId'])||0x0==_0x36a958[_0x13918a]['distance']||(_0x36a958[_0x13918a]['isIncorrect']=!0x0);return _0x36a958['filter'](_0xeb6996=>!_0xeb6996['isIncorrect']);}['_markMismatchedRemovedTags'](_0x1a5611){const _0x50964e=new Set();for(let _0x128175=0x0;_0x128175<_0x1a5611['length'];_0x128175++){if(_0x50964e['has'](_0x1a5611[_0x128175]['id'])&&_0x1a5611[_0x128175]['isRemoved']&&(_0x1a5611[_0x128175]['isIncorrect']=!0x0),_0x1a5611[_0x128175]['isIncorrect'])continue;if(0x0==_0x1a5611[_0x128175]['distance'])continue;if('elementStart'!=_0x1a5611[_0x128175]['type'])continue;if(null==_0x1a5611[_0x128175]['pairId'])continue;let _0x598144=_0x128175+0x1,_0x2c1555=0x0;for(;_0x1a5611[_0x598144]['id']!=_0x1a5611[_0x128175]['pairId'];)'elementStart'==_0x1a5611[_0x598144]['type']?_0x2c1555++:'elementEnd'==_0x1a5611[_0x598144]['type']&&_0x2c1555--,_0x598144++;if(0x0!=_0x2c1555){if(_0x1a5611[_0x128175]['isRemoved'])_0x1a5611[_0x128175]['isIncorrect']=!0x0;else{for(;_0x598144!=_0x128175;)_0x1a5611[_0x598144]['isRemoved']&&0x0!=_0x1a5611[_0x598144]['distance']&&(_0x1a5611[_0x598144]['isIncorrect']=!0x0,_0x50964e['add'](_0x1a5611[_0x598144]['pairId'])),_0x598144--;}}}return _0x1a5611['filter'](_0xb0757c=>!_0xb0757c['isIncorrect']);}['_removeUnsupportedChanges'](_0x1dcca8){const _0x3a6b7d=this['editor']['model']['schema'];for(let _0x293611=0x0;_0x293611<_0x1dcca8['length'];_0x293611++){if(!(_0x1dcca8[_0x293611]['isAdded']||_0x1dcca8[_0x293611]['isAddSuggestion']||_0x1dcca8[_0x293611]['isRemoved']||_0x1dcca8[_0x293611]['isRemoveSuggestion']))continue;if(0x0==_0x1dcca8[_0x293611]['distance'])continue;const _0x2fff12=_0x1dcca8[_0x293611]['item'];_0x3a6b7d['isBlock'](_0x2fff12)||_0x3a6b7d['isLimit'](_0x2fff12)||(_0x1dcca8[_0x293611]['isAdded']&&delete _0x1dcca8[_0x293611]['isAdded'],_0x1dcca8[_0x293611]['isAddSuggestion']&&delete _0x1dcca8[_0x293611]['isAddSuggestion'],_0x1dcca8[_0x293611]['isRemoveSuggestion']&&delete _0x1dcca8[_0x293611]['isRemoveSuggestion'],_0x1dcca8[_0x293611]['isRemoved']&&(_0x1dcca8[_0x293611]['isIncorrect']=!0x0));}return _0x1dcca8['filter'](_0x468385=>!_0x468385['isIncorrect']);}['_makeModelFromTape'](_0x4eded3,_0x48f6ae,_0x448b37){const _0x21388b=new wt(),_0x2c6a53=[],_0xf285e0=new Map(),_0x3e2495=this['editor']['model'],_0x47daed=_0x3e2495['schema'],_0x5a0af8=[_0x21388b],_0x134ce1={},_0x2c2c21={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x5ca5c1=null;const _0x3f0ec7=[0x0];for(let _0x4668fd=0x0;_0x4668fd<_0x4eded3['length'];_0x4668fd++){let _0x48856b,_0x382e0c;if('elementStart'===_0x4eded3[_0x4668fd]['type']){_0x48856b=_0x3e2495['createPositionFromPath'](_0x21388b,_0x3f0ec7);const _0x2a5088=new ft(_0x4eded3[_0x4668fd]['item']['name'],_0x4eded3[_0x4668fd]['item']['getAttributes']());_0x5a0af8[0x0]['_appendChild'](_0x2a5088),_0x3f0ec7['push'](0x0),_0x5a0af8['unshift'](_0x2a5088),_0x382e0c=_0x3e2495['createPositionFromPath'](_0x21388b,_0x3f0ec7),_0x5ca5c1=null;}else{if('elementEnd'===_0x4eded3[_0x4668fd]['type'])_0x5a0af8['shift'](),_0x48856b=_0x3e2495['createPositionFromPath'](_0x21388b,_0x3f0ec7),_0x3f0ec7['pop'](),_0x3f0ec7[_0x3f0ec7['length']-0x1]++,_0x382e0c=_0x3e2495['createPositionFromPath'](_0x21388b,_0x3f0ec7),_0x5ca5c1=null;else{if(_0x48856b=_0x3e2495['createPositionFromPath'](_0x21388b,_0x3f0ec7),_0x5ca5c1&&_0x2582b3(_0x5ca5c1,_0x4eded3[_0x4668fd]['item']))_0x5ca5c1['_data']+=_0x4eded3[_0x4668fd]['item']['data'];else{const _0x16cf1b=new _t(_0x4eded3[_0x4668fd]['item']['data'],_0x4eded3[_0x4668fd]['item']['getAttributes']());_0x5a0af8[0x0]['_appendChild'](_0x16cf1b),_0x5ca5c1=_0x16cf1b;}_0x3f0ec7[_0x3f0ec7['length']-0x1]+=_0x4eded3[_0x4668fd]['item']['offsetSize'],_0x382e0c=_0x3e2495['createPositionFromPath'](_0x21388b,_0x3f0ec7);}}for(const _0x5cb756 of _0x4eded3[_0x4668fd]['markersStart'])_0xf285e0['set'](_0x5cb756,{'start':_0x48856b,'end':null});_0x493037('isRemoveSuggestion',_0x4668fd,_0x48856b,_0x382e0c),_0x493037('isAddSuggestion',_0x4668fd,_0x48856b,_0x382e0c),_0x493037('isRemoved',_0x4668fd,_0x48856b,_0x382e0c),_0x493037('isAdded',_0x4668fd,_0x48856b,_0x382e0c);for(const _0x3d13fb of _0x4eded3[_0x4668fd]['markersEnd']){_0xf285e0['get'](_0x3d13fb)['end']=_0x382e0c;}}for(const [_0x39b955,_0x46ed14]of _0xf285e0){const _0x1a015e=this['editor']['model']['createRange'](_0x46ed14['start'],_0x46ed14['end']);_0x21388b['markers']['set'](_0x39b955,_0x1a015e);}return _0x2c6a53['sort']((_0x46a16b,_0x383bad)=>{const _0x46082b=_0x21388b['markers']['get']('revision:'+_0x46a16b['id']),_0x193c80=_0x21388b['markers']['get']('revision:'+_0x383bad['id']);return _0x46082b['start']['isBefore'](_0x193c80['start'])?-0x1:_0x46082b['start']['isAfter'](_0x193c80['start'])?0x1:_0x46082b['end']['isBefore'](_0x193c80['end'])?-0x1:_0x46082b['end']['isAfter'](_0x193c80['end'])?0x1:'add'===_0x46a16b['type']?-0x1:0x1;}),{'root':_0x21388b,'changes':_0x2c6a53};function _0x493037(_0x286c72,_0x235d71,_0x4ca6b4,_0x47c11f){const _0x4649d0=!!_0x4eded3[_0x235d71][_0x286c72],_0x34bffb=_0x4649d0?_0x4eded3[_0x235d71][_0x286c72]['userId']:null,_0x3e1539=_0x235d71===_0x4eded3['length']-0x1,_0x2896f5=_0x2c2c21[_0x286c72][0x0],_0x1a979a=_0x47daed['isObject'](_0x4eded3[_0x235d71]['item']);!_0x134ce1[_0x286c72]&&_0x4649d0?_0x134ce1[_0x286c72]={'start':_0x4ca6b4,'tapeItem':_0x4eded3[_0x235d71],'userId':_0x34bffb,'type':_0x286c72}:_0x134ce1[_0x286c72]&&!_0x4649d0?(_0x134ce1[_0x286c72]['end']=_0x4ca6b4,_0x5943b2(_0x134ce1[_0x286c72]),_0x134ce1[_0x286c72]=null):_0x134ce1[_0x286c72]&&_0x4649d0&&_0x134ce1[_0x286c72]['userId']!==_0x34bffb&&(_0x134ce1[_0x286c72]['end']=_0x4ca6b4,_0x2896f5&&_0x2896f5['userId']===_0x134ce1[_0x286c72]['userId']||_0x5943b2(_0x134ce1[_0x286c72]),_0x134ce1[_0x286c72]={'start':_0x4ca6b4,'tapeItem':_0x4eded3[_0x235d71],'userId':_0x34bffb,'type':_0x286c72}),_0x134ce1[_0x286c72]&&_0x1a979a&&('elementStart'!==_0x4eded3[_0x235d71]['type']||_0x2896f5&&_0x2896f5['userId']===_0x34bffb||_0x2c2c21[_0x286c72]['unshift']({'userId':_0x34bffb,'object':_0x4eded3[_0x235d71]['item'],'change':_0x134ce1[_0x286c72]}),'elementEnd'===_0x4eded3[_0x235d71]['type']&&_0x2896f5&&_0x2896f5['object']===_0x4eded3[_0x235d71]['item']&&(_0x2c2c21[_0x286c72]['shift'](),_0x134ce1[_0x286c72]=_0x2896f5['change'])),_0x134ce1[_0x286c72]&&_0x3e1539&&(_0x134ce1[_0x286c72]['end']=_0x47c11f,_0x5943b2(_0x134ce1[_0x286c72]),_0x134ce1[_0x286c72]=null);}function _0x5943b2({start:_0x2355bd,end:_0x35df88,tapeItem:_0x4a7d3a,userId:_0x1a7e89,type:_0x90771c}){const _0x4b02fc=_0x4a7d3a['item'],_0x485101=_0x3e2495['schema']['isBlock'](_0x4b02fc)&&!_0x3e2495['schema']['isLimit'](_0x4b02fc),_0x2bd272=_0x2355bd['nodeAfter']==_0x35df88['parent']&&_0x35df88['isAtStart'];if(_0x485101&&_0x2bd272)return;const _0x5e86ce=_0x3e2495['createRange'](_0x2355bd,_0x35df88),_0x538ea4=_0x48f6ae['get'](_0x1a7e89),_0x3af0e3=new r({'author':_0x538ea4,'type':'isAdded'==_0x90771c||'isAddSuggestion'==_0x90771c?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x90771c||'isRemoveSuggestion'==_0x90771c},'createdAt':new Date(),'rootName':_0x448b37});_0x2c6a53['push'](_0x3af0e3),_0x21388b['markers']['set']('revision:'+_0x3af0e3['id'],_0x5e86ce);}function _0x2582b3(_0x20c8f3,_0x2439f2){const _0x5e2434=_0x20c8f3['getAttributes'](),_0x3e8ebd=_0x2439f2['getAttributes']();for(const _0x445bfe of _0x5e2434){if(_0x445bfe[0x1]!==_0x2439f2['getAttribute'](_0x445bfe[0x0]))return!0x1;_0x3e8ebd['next']();}return _0x3e8ebd['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0xc9b3ff=>{const _0x44f898=_0xc9b3ff['markerName']['split'](':')[0x1],_0x282978=this['_getChangeFromId'](_0x44f898);if(!_0x282978)return null;const _0x3905ba='add'==_0x282978['type']?'insertion':'deletion',_0x3df67f=['ck-suggestion-marker','ck-suggestion-marker-'+_0x3905ba];return _0x282978['data']['isSuggestion']&&_0x3df67f['push']('ck-suggestion-marker-'+_0x3905ba+'-new'),this['activeChange']==_0x282978&&_0x3df67f['push']('ck-suggestion-marker--active'),{'classes':_0x3df67f,'attributes':{'data-change-id':_0x44f898}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x3d75ee=>{_0x3d75ee['on']('element:pre',(_0x409783,_0x1f2ac4,_0x30d9de)=>{const _0x2eaa64=_0x1f2ac4['viewItem']['getChild'](0x0);if(!_0x2eaa64||!_0x2eaa64['is']('element','code'))return;if(!_0x30d9de['consumable']['consume'](_0x2eaa64,{'attributes':['vid_start','vid_end']}))return;const _0x4b5dde=_0x1f2ac4['modelRange']['start']['nodeAfter'];_0x30d9de['writer']['setAttribute']('vid_start',_0x2eaa64['getAttribute']('vid_start'),_0x4b5dde),_0x30d9de['writer']['setAttribute']('vid_end',_0x2eaa64['getAttribute']('vid_end'),_0x4b5dde);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x5253f4=>{_0x5253f4['on']('element',(_0x32ff99,_0x1f1da4,_0x4cd07e)=>{if(!_0x4cd07e['consumable']['consume'](_0x1f1da4['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x1f1da4['modelRange']['isCollapsed'])return;const _0x45f79d=_0x1f1da4['modelRange']['start']['nodeAfter'];_0x45f79d['hasAttribute']('vid_start')||_0x45f79d['hasAttribute']('vid')||(_0x4cd07e['writer']['setAttribute']('vid_start',_0x1f1da4['viewItem']['getAttribute']('vid_start'),_0x45f79d),_0x4cd07e['writer']['setAttribute']('vid_end',_0x1f1da4['viewItem']['getAttribute']('vid_end'),_0x45f79d));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x172234=>_0x172234['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x414e3b,[,_0x7a13ac])=>{['vid_start','vid_end','vid']['includes'](_0x7a13ac)&&(_0x414e3b['return']=!0x0,_0x414e3b['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x3f9150=>{_0x3f9150['on']('attribute:vid',(_0x3a6213,_0x1c89df,_0x512d6a)=>{if('\x20'!=_0x1c89df['item']['data']||_0x1c89df['item']['parent']['maxOffset']>0x1)return;if(!_0x512d6a['consumable']['consume'](_0x1c89df['item'],_0x3a6213['name']))return;const _0x3e8911=_0x512d6a['writer'],_0x1bc28e=_0x512d6a['mapper']['toViewRange'](_0x1c89df['range']);_0x3e8911['wrap'](_0x1bc28e,_0x3e8911['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x119ecd){const _0x2e95be=_0x119ecd['plugins']['get']('RevisionViewer');return(_0x1b6519,_0x4949b3,_0x185aff)=>{const _0x22d0b7=_0x4949b3['markerName']['split'](':')[0x1],_0xc97725=_0x2e95be['_getChangeFromId'](_0x22d0b7);if(!_0xc97725)return null;const _0x889b22='add'==_0xc97725['type']?'split':'merge';if(!_0x185aff['consumable']['test'](_0x4949b3['markerRange'],_0x1b6519['name']))return;const _0x3419a6=_0x4949b3['markerRange']['getWalker'](),_0x3a02a8=_0x4949b3['markerRange']['start'],_0x4b2f62=_0x119ecd['model']['schema'];let _0x97b7f8=null,_0x2d7461=null,_0x5b20d4=!0x1,_0x4a1077=!0x1;for(const _0x34376d of _0x3419a6){const _0x51c4d2=_0x34376d['item'];_0x5b20d4=_0x5b20d4||_0x4b2f62['isContent'](_0x51c4d2);const _0x4caa57=_0x185aff['mapper']['toViewElement'](_0x51c4d2);if(_0x4caa57&&_0x4caa57['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x34376d['type']&&(_0x4b2f62['isBlock'](_0x51c4d2)&&!_0x4b2f62['isLimit'](_0x51c4d2)&&(_0x51c4d2['nextSibling']||_0x3a02a8['isAtEnd']?_0x97b7f8&&_0x97b7f8['parent']==_0x51c4d2||(_0x97b7f8=_0x51c4d2,_0x15f946(_0x34376d['previousPosition']),_0x4a1077=!0x0):_0x2d7461=_0x2d7461||_0x34376d['previousPosition']));}function _0x15f946(_0x24bda4){const _0x44dfe4=_0x185aff['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x889b22}),_0x14a5a5=_0x185aff['mapper']['toViewPosition'](_0x24bda4);_0xc97725['data']['isSuggestion']&&_0x185aff['writer']['addClass']('ck-suggestion-marker-'+_0x889b22+'-new',_0x44dfe4),_0x2e95be['activeChange']==_0xc97725&&_0x185aff['writer']['addClass']('ck-suggestion-marker--active',_0x44dfe4),_0x185aff['writer']['insert'](_0x14a5a5,_0x44dfe4),_0x185aff['mapper']['bindElementToMarker'](_0x44dfe4,_0x4949b3['markerName']);}_0x5b20d4||_0x4a1077||!_0x2d7461||_0x15f946(_0x2d7461);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x5db14d,_0x599ac4,_0x127c04)=>{const _0x132bd3=_0x127c04['mapper']['markerNameToElements'](_0x599ac4['markerName']);if(_0x132bd3){for(const _0x2103c2 of _0x132bd3)(_0x2103c2['hasClass']('ck-suggestion-marker-split')||_0x2103c2['hasClass']('ck-suggestion-marker-merge'))&&(_0x127c04['mapper']['unbindElementFromMarkerName'](_0x2103c2,_0x599ac4['markerName']),_0x127c04['writer']['remove'](_0x2103c2));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x3da570,_0x5bbcbd,_0x4dfc29)=>{const _0x3498c8=_0x5bbcbd['markerName']['split'](':')[0x1],_0x450546=this['_getChangeFromId'](_0x3498c8);if(!_0x450546)return null;const _0x48c0ad='add'==_0x450546['type']?'split':'merge';if(_0x4dfc29['consumable']['test'](_0x5bbcbd['markerRange'],_0x3da570['name']))for(const _0xbf8fd3 of _0x5bbcbd['markerRange']['getItems']()){if(!_0xbf8fd3['is']('element','softBreak'))continue;const _0x26d6d0=_0x4dfc29['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x48c0ad}),_0x463afe=_0x4dfc29['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0xbf8fd3));_0x450546['data']['isSuggestion']&&_0x4dfc29['writer']['addClass']('ck-suggestion-marker-'+_0x48c0ad+'-new',_0x26d6d0),this['activeChange']==_0x450546&&_0x4dfc29['writer']['addClass']('ck-suggestion-marker--active',_0x26d6d0),_0x4dfc29['writer']['insert'](_0x463afe,_0x26d6d0),_0x4dfc29['mapper']['bindElementToMarker'](_0x26d6d0,_0x5bbcbd['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x3317ad=>{for(const _0x5d6e63 of this['editor']['model']['document']['getRootNames']()){const _0x4117f1=this['editor']['model']['document']['getRoot'](_0x5d6e63),_0x3f3c0d=this['editor']['editing']['view']['document']['getRoot'](_0x5d6e63);if(_0x3f3c0d){const _0xfd11ec=_0x4117f1['getAttribute']('revisionHistoryAttachChange');if(_0x3317ad['removeAttribute']('data-change-id',_0x3f3c0d),_0x3317ad['removeClass']('ck-revision-history-root-add',_0x3f3c0d),_0x3317ad['removeClass']('ck-revision-history-root-remove',_0x3f3c0d),_0x3317ad['removeClass']('ck-revision-history-root--active',_0x3f3c0d),_0xfd11ec){const _0x25f093=this['_getChangeFromId'](_0xfd11ec);if(!_0x25f093)return null;_0x3317ad['setAttribute']('data-change-id',_0xfd11ec,_0x3f3c0d),_0x3317ad['addClass']('ck-revision-history-root-'+_0x25f093['type'],_0x3f3c0d),this['activeChange']==_0x25f093&&_0x3317ad['addClass']('ck-revision-history-root--active',_0x3f3c0d);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x48965b=>'revision-comment:'+_0x48965b,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x5be257=>'revision-suggestion:'+_0x5be257,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x2fa3e6=>({'name':'suggestion:'+_0x2fa3e6,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x143ac6=>{const _0x192ec7=_0x143ac6['markerName']['split'](':')[0x1];return'insertion'!=_0x192ec7&&'deletion'!=_0x192ec7?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x192ec7]};}}),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',(_0x16b534,_0x40a230,_0x4a7a75)=>{const _0x2bf789=_0x4a7a75['mapper']['markerNameToElements'](_0x40a230['markerName']);if(_0x2bf789){for(const _0x48dad4 of _0x2bf789)_0x48dad4['is']('uiElement')&&(_0x4a7a75['mapper']['unbindElementFromMarkerName'](_0x48dad4,_0x40a230['markerName']),_0x4a7a75['writer']['remove'](_0x48dad4));}},{'priority':'high'});}['_getChangeFromId'](_0x39ae77){return this['_changeIdToChange']['get'](_0x39ae77);}['_getViewForChange'](_0x2805af){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x2805af),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x443d58,_0x171c55,_0x756904,_0x27eaf1)=>{_0x27eaf1&&this['_balloon']['remove'](_0x27eaf1),_0x756904&&(this['_balloon']['add']({'view':_0x756904,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x2482a3=this['editor']['editing'],_0x5d5b0f=this['_getChangeFromId'](_0x756904['changeId']);let _0x17c5a3;if(_0x5d5b0f['data']['isOnRoot']){const _0x3b4c80=_0x2482a3['view']['getDomRoot'](_0x5d5b0f['rootName']);_0x17c5a3=Array['from'](_0x3b4c80['getClientRects']());}else{const _0x3fca62=this['editor']['model']['markers']['get']('revision:'+_0x756904['changeId']);_0x17c5a3=Array['from'](_0x2482a3['mapper']['markerNameToElements'](_0x3fca62['name']))['map'](_0x4c8f40=>_0x2482a3['view']['domConverter']['mapViewToDom'](_0x4c8f40))['map'](_0x512e51=>Array['from'](_0x512e51['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x17c5a3[0x0];return _0x17c5a3['find'](_0x451419=>_0x451419['top']-0x3<=this['_activeViewTarget']['y']&&_0x451419['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x451419['left']-0x3<=this['_activeViewTarget']['x']&&_0x451419['right']+0x3>=this['_activeViewTarget']['x'])||_0x17c5a3[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x377346,_0xd88800,_0x2f58e6,_0xe80d70)=>{this['activeView']=_0x2f58e6?this['_getViewForChange'](_0x2f58e6):null,this['editor']['model']['change'](()=>{const _0x3e1d75=this['editor']['editing'];_0xe80d70&&(_0xe80d70['data']['isOnRoot']?_0x3e1d75['view']['change'](_0x47b301=>{_0x47b301['removeClass']('ck-revision-history-root--active',_0x3e1d75['view']['document']['getRoot'](_0xe80d70['rootName']));}):_0x3e1d75['reconvertMarker']('revision:'+_0xe80d70['id'])),_0x2f58e6&&(_0x2f58e6['data']['isOnRoot']?_0x3e1d75['view']['change'](_0x3fbf86=>{_0x3fbf86['addClass']('ck-revision-history-root--active',_0x3e1d75['view']['document']['getRoot'](_0x2f58e6['rootName']));}):_0x3e1d75['reconvertMarker']('revision:'+_0x2f58e6['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x1fbbb7,_0x4e6325)=>{if(this['activeChange'])return;const _0x266cd9=this['_findChangeIdFromDomTarget'](_0x4e6325['target']),_0x9b63e8=this['_changeIdToChange']['get'](_0x266cd9);_0x9b63e8?(this['_activeViewTarget']={'x':_0x4e6325['domEvent']['x'],'y':_0x4e6325['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x9b63e8)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x255ab7,_0x576837)=>{const _0x165e58=this['_findChangeIdFromDomTarget'](_0x576837['target']),_0x5d9398=this['_changeIdToChange']['get'](_0x165e58);_0x5d9398?(this['_activeViewTarget']={'x':_0x576837['domEvent']['x'],'y':_0x576837['domEvent']['y']},_0x5d9398===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x5d9398):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x4fc480){do{const _0xff5df7=_0x4fc480['getAttribute']('data-change-id');if(_0xff5df7)return _0xff5df7;_0x4fc480=_0x4fc480['parent'];}while(_0x4fc480);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x3581b6=>{for(const _0x5c30e1 of this['editor']['model']['markers'])_0x3581b6['removeMarker'](_0x5c30e1);});}}function et(_0x2c00d0,_0x3b0836){return(_0x368b79,_0x6cdcc2,_0xeab515)=>{if(!_0xeab515['consumable']['test'](_0x6cdcc2['markerRange'],_0x368b79['name']))return;const _0x555de9=_0x6cdcc2['markerRange']['getWalker'](),_0x2b6641=_0x6cdcc2['markerRange']['start'],_0x594648=_0x2c00d0['model']['schema'];let _0x3e61a3=null,_0x493751=null,_0x1340e3=!0x1,_0x1effd0=!0x1;for(const _0x2accd5 of _0x555de9){const _0x18892d=_0x2accd5['item'];_0x1340e3=_0x1340e3||_0x594648['isContent'](_0x18892d);const _0x59922b=_0xeab515['mapper']['toViewElement'](_0x18892d);if(_0x59922b&&_0x59922b['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x2accd5['type']&&(_0x594648['isBlock'](_0x18892d)&&!_0x594648['isLimit'](_0x18892d)&&(_0x18892d['nextSibling']||_0x2b6641['isAtEnd']?_0x3e61a3&&_0x3e61a3['parent']==_0x18892d||(_0x3e61a3=_0x18892d,_0x1c6f3b(_0x2accd5['previousPosition']),_0x1effd0=!0x0):_0x493751=_0x493751||_0x2accd5['previousPosition']));}function _0x1c6f3b(_0x3d0c27){const _0x43f4ca=_0xeab515['mapper']['toViewPosition'](_0x3d0c27),_0x235528=_0xeab515['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x3b0836});_0xeab515['writer']['insert'](_0x43f4ca,_0x235528),_0xeab515['mapper']['bindElementToMarker'](_0x235528,_0x6cdcc2['markerName']);}_0x1340e3||_0x1effd0||!_0x493751||_0x1c6f3b(_0x493751);};}class bt extends _0x58d9eb{constructor(_0x2a83f6){super(_0x2a83f6);const _0x4e1bad=_0x2a83f6['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x4e1bad,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x4e1bad,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x20ddac=this['editor'],_0x4b295e=_0x20ddac['plugins']['get'](d),_0x9124ec=_0x4b295e['isReady']?_0x4b295e['diff']['newRevisionId']:null;_0x20ddac['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x9124ec);}['refresh'](){const {isReady:_0x39b3c8,isEnabled:_0x4c3bff}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x39b3c8&&_0x4c3bff;}}class yt extends _0x58d9eb{['_step'];constructor(_0x1ce997,{direction:_0x3c959f}){super(_0x1ce997);const _0x33f236=_0x1ce997['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x3c959f?0x1:-0x1,this['listenTo'](_0x33f236,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x33f236,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x33f236,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x19d1c1=this['editor'],_0x29e40a=_0x19d1c1['plugins']['get'](d),{isNavigationMode:_0x335111,currentChangeNumber:_0x32c5c9}=_0x29e40a;let _0x2d3553;if(_0x29e40a['activeChange']=_0x335111?_0x29e40a['diff']['changes']['get'](_0x32c5c9+this['_step']):_0x29e40a['diff']['changes']['first'],_0x29e40a['activeChange']['data']['isOnRoot'])_0x2d3553=_0x19d1c1['editing']['view']['getDomRoot'](_0x29e40a['activeChange']['rootName']);else{const _0x232512=_0x19d1c1['model']['markers']['get']('revision:'+_0x29e40a['activeChange']['id']);_0x2d3553=_0x511f22(_0x19d1c1['editing'],_0x232512);}_0x4d495d({'target':_0x2d3553,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x467f8e,currentChangeNumber:_0xd1abb6,numberOfChanges:_0x9f0e77,isReady:_0x3ae296,isEnabled:_0x28a6bc}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x28a6bc&&_0x3ae296&&_0x9f0e77)&&(!_0x467f8e||(0x1===this['_step']?_0xd1abb6<_0x9f0e77-0x1:_0xd1abb6>0x0));}}class _i extends _0xb7478c{constructor(_0x19b785){super(_0x19b785);const _0x2d11e2=this['bindTemplate'],_0x33d034=new _0x4d4495(_0x19b785),_0x185beb=new _0x4d4495(_0x19b785);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',(_0x1264a3,_0x4d93fc)=>_0x1264a3&&_0x4d93fc>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x40c893,_0x48cade,_0x31bff9,_0x244197)=>{if(!_0x40c893)return y(_0x19b785,'Loading...');if(!_0x31bff9)return y(_0x19b785,'No\x20changes');const _0x249de6=y(_0x19b785,'NUMBER_OF_CHANGES',_0x31bff9);return _0x244197?y(_0x19b785,'X_OF_Y_CHANGES',[_0x48cade+0x1,_0x31bff9]):_0x249de6;}),_0x33d034['set']({'label':y(_0x19b785,'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'}),_0x185beb['set']({'label':y(_0x19b785,'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'}),_0x33d034['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x185beb['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x33d034['on']('execute',()=>this['fire']('execute','backward')),_0x185beb['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',_0x2d11e2['if']('_isStatusLabelVisible','ck-hidden',_0x20d902=>!_0x20d902)]},'children':[{'text':_0x2d11e2['to']('isNavigationMode',_0x46d824=>_0x46d824?y(_0x19b785,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x19b785,'Total')+':\x20')}]},{'text':_0x2d11e2['to']('_statusText')}]},new _0x371d25(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x33d034,_0x185beb]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x365282{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x49baa4=this['editor']['editing']['view'];_0x49baa4['change'](_0xfaae50=>{for(const _0x11dd43 of _0x49baa4['document']['roots'])_0xfaae50['addClass'](ce,_0x11dd43);});}['hide'](){const _0x5ee90c=this['editor']['editing']['view'];_0x5ee90c['change'](_0x4780dd=>{for(const _0x77ea3 of _0x5ee90c['document']['roots'])_0x4780dd['removeClass'](ce,_0x77ea3);});}}class R extends _0x365282{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0xdb2a64=this['editor'],_0x5c290e=_0xdb2a64['plugins']['get'](d),_0x5010e5=_0xdb2a64['plugins']['get'](de);_0xdb2a64['ui']['componentFactory']['add']('exitToEditing',_0x1181a4=>{const _0x550ace=new _0x4d4495(_0x1181a4);return _0x550ace['set']({'label':y(_0x1181a4,'Back\x20to\x20editing'),'icon':_0x3f44ce['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x550ace,'execute',()=>{_0xdb2a64['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x550ace;}),_0xdb2a64['ui']['componentFactory']['add']('restoreRevision',_0x300147=>{const _0x2b2ddc=new _0x4d4495(_0x300147);return _0x2b2ddc['set']({'label':y(_0x300147,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x2b2ddc['bind']('isEnabled')['to'](_0xdb2a64['commands']['get']('restoreRevision')),this['listenTo'](_0x2b2ddc,'execute',()=>_0xdb2a64['execute']('restoreRevision')),_0x2b2ddc;}),_0xdb2a64['ui']['componentFactory']['add']('changesNavigation',_0x476f69=>{const _0x82fbb0=new _i(_0x476f69),_0x1d6d47=_0xdb2a64['commands']['get']('showPreviousChange'),_0x23ffb8=_0xdb2a64['commands']['get']('showNextChange');return _0x82fbb0['bind']('isBackwardNavigationEnabled')['to'](_0x1d6d47,'isEnabled'),_0x82fbb0['bind']('isForwardNavigationEnabled')['to'](_0x23ffb8,'isEnabled'),_0x82fbb0['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x5c290e),this['listenTo'](_0x82fbb0,'execute',(_0x260cef,_0xe88960)=>{_0xdb2a64['execute']('forward'===_0xe88960?'showNextChange':'showPreviousChange');}),_0x82fbb0;}),_0x5010e5['show'](),_0x5c290e['on']('change:isReady',(_0x4472c2,_0x313419,_0x3ae6d4)=>{_0x3ae6d4?_0x5010e5['hide']():_0x5010e5['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x1a87e4,_0xba8879){super(_0x1a87e4,_0xba8879);const _0x20eba4=this['bindTemplate'];this['set']({'label':y(_0x1a87e4,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x1a87e4,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x20eba4['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 _0x3771f5=this['fieldView']['element'];this['_tooltipString']=_0x3771f5['scrollWidth']>_0x3771f5['clientWidth']&&_0x3771f5['value']||'';}}class ti extends _0xb7478c{constructor(_0x2d0aa4,_0x2b5736,_0x2f0a0c){super(_0x2d0aa4);const _0x4e0e0a=new _0x57b90d();_0x4e0e0a['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 _0x5cb9f5=['ck','ck-revision-history-sidebar__revision-author'];_0x2f0a0c&&_0x5cb9f5['push']('ck-revision-history-sidebar__revision-author_creator');const _0x43f797=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x2d0aa4,_0x2f0a0c?'Revision\x20creator':'Revision\x20author')},'children':[_0x4e0e0a,_0x2b5736['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x5cb9f5},'children':_0x43f797});}}function ni(_0x483556,_0x71c04b){const _0x2444b1=_0x483556['bindTemplate'],_0x100cda=_0x483556['locale'],_0x46ce02=_0x547be8(_0x100cda);_0x46ce02['panelPosition']='sw';const _0x2249d7=function(_0x1a7b55,_0xda253a){const _0x347e4b=function(_0x2d3b5e,_0x5398e8){const _0x2324ea=_0x2d3b5e['locale'],_0x1efdf0={'Compare\x20against\x20selected':y(_0x2324ea,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x2324ea,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x2324ea,'Restore\x20this\x20revision')};return _0x5398e8['map'](_0x311de5=>{const _0x4c8b4b=_0x1efdf0[_0x311de5['name']];return _0x4c8b4b&&_0x4c8b4b!==_0x311de5['name']&&(_0x311de5['name']=_0x4c8b4b),_0x311de5;});}(_0x1a7b55,_0xda253a),_0x38863d=new _0x5db5a3();for(const _0x17e09f of _0x347e4b){const _0x4d86a={'type':'button','model':new to({'label':_0x17e09f['name'],'class':_0x17e09f['class'],'withText':!0x0,'role':'menuitem','_action':_0x17e09f['action']})};_0x4d86a['model']['bind']('isEnabled')['to'](_0x1a7b55,'isActionsDropdownOpen',_0x5ef2be=>'function'!=typeof _0x17e09f['isEnabled']||(!_0x5ef2be||_0x17e09f['isEnabled'](_0x1a7b55))),_0x38863d['add'](_0x4d86a);}return _0x38863d;}(_0x483556,_0x71c04b);return _0x483556['bind']('isActionsDropdownOpen')['to'](_0x46ce02,'isOpen'),_0x46ce02['buttonView']['set']({'label':y(_0x100cda,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x3f44ce['threeVerticalDots']}),_0x46ce02['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x2444b1['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x2444b1['to'](_0x280966=>_0x280966['stopPropagation']())}}),_0x46ce02['on']('execute',_0x4e6c2d=>{_0x483556['isReady']&&'function'==typeof _0x4e6c2d['source']['_action']&&_0x4e6c2d['source']['_action'](_0x483556);}),_0x24f52e(_0x46ce02,_0x2249d7,{'role':'menu'}),_0x46ce02['listenTo'](_0x483556,'change:isActionsDropdownOpen',(_0x232d9f,_0x317d5b,_0x3fdc92)=>{if(_0x3fdc92)for(const _0xd5df5d of _0x46ce02['listView']['items']){const _0x40484b=_0xd5df5d['children']['first'],_0x2a9983=_0x71c04b['find'](_0x5936db=>_0x5936db['action']===_0x40484b['_action'])['isVisible'];_0xd5df5d['isVisible']=void 0x0===_0x2a9983||_0x2a9983(_0x483556);}}),_0x46ce02;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x4b3be0(_0xb7478c){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x298a56,_0x5480ef,_0x1a7ce8,_0x87047d){super(_0x298a56);const _0x223dcb=this['bindTemplate'],_0x397223=function(_0x48b763,_0x519617){const _0x39992e=Array['from'](_0x519617['authors'])['filter'](_0x1c35ac=>_0x1c35ac!=_0x519617['creator']);return _0x519617['creator']&&_0x39992e['unshift'](_0x519617['creator']),_0x39992e['map'](_0x1a5c80=>new ti(_0x48b763,_0x1a5c80,_0x1a5c80==_0x519617['creator']));}(_0x298a56,_0x5480ef);this['id']=_0x5480ef['id'],this['_revision']=_0x5480ef,this['_requireRevisionName']=_0x87047d,this['bind']('name','createdAt')['to'](_0x5480ef),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x18cf56=>{return _0x2922f9=_0x298a56['uiLanguage'],(_0x428eac=_0x18cf56)['toLocaleDateString'](_0x2922f9,{'month':'long','day':'numeric'})+',\x20'+_0x428eac['toLocaleTimeString'](_0x2922f9,{'hour':'numeric','minute':'numeric'});var _0x2922f9,_0x428eac;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x298a56,_0x183417),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x375288=>_0x375288||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x190b81,_0xf7f1b4)=>_0x190b81&&_0xf7f1b4),this['revisionActionsView']=_0x1a7ce8&&_0x1a7ce8['length']?ni(this,_0x1a7ce8):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x223dcb['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x223dcb['if']('isEnabled','ck-disabled',_0x55a686=>!_0x55a686),_0x223dcb['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x223dcb['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x223dcb['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':_0x223dcb['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':_0x397223}]},this['revisionActionsView']],'on':{'click':_0x223dcb['to'](_0xc2c343=>{_0xc2c343['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x309b8a=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x309b8a,'change',()=>{this['_requireRevisionName']&&!_0x309b8a['value']||this['fire']('setName',{'id':this['id'],'name':_0x309b8a['value']}),_0x309b8a['value']||(_0x309b8a['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(_0x447a66,_0x5698e5){const _0x34415a=_0x64c198['fromJSDate'](_0x447a66)['setLocale'](_0x5698e5),_0x2ca675=_0x64c198['local'](),_0x515c6f=_0x2ca675['minus']({'days':0x1})['startOf']('day');let _0x313830,_0x1081c0;return _0x34415a['hasSame'](_0x2ca675,'day')?(_0x313830=_0x34415a['startOf']('day')['toJSDate'](),_0x1081c0=_0x34415a['toRelativeCalendar']()):_0x34415a['hasSame'](_0x515c6f,'day')?(_0x313830=_0x515c6f['toJSDate'](),_0x1081c0=_0x34415a['toRelativeCalendar']()):_0x34415a['hasSame'](_0x2ca675,'week')?(_0x313830=_0x34415a['startOf']('week')['toJSDate'](),_0x1081c0=_0x34415a['weekdayLong']||''):_0x34415a['hasSame'](_0x2ca675,'year')?(_0x313830=_0x34415a['startOf']('month')['toJSDate'](),_0x1081c0=_0x34415a['monthLong']||''):(_0x313830=_0x34415a['startOf']('year')['toJSDate'](),_0x1081c0=String(_0x34415a['year'])),{'startDate':_0x313830,'localizedPeriodName':_0x1081c0};}class mi extends _0xb7478c{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x9822c3,_0x5aa65e,_0x3746c3,_0x161c8c){super(_0x9822c3);const _0xb228b=di(_0x5aa65e,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x5aa65e,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x3746c3,this['_requireRevisionName']=_0x161c8c,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':_0xb228b}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x227168){const _0x53fee8=new ai(this['locale'],_0x227168,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x53fee8);}['removeRevision'](_0x33673c){const _0x3dd13a=this['revisionViews']['find'](_0x377291=>_0x377291['id']===_0x33673c['id']);this['revisionViews']['remove'](_0x3dd13a);}}class as extends _0xb7478c{constructor(_0x549c89){super(_0x549c89);const _0x3244d2=new _0x57b90d();_0x3244d2['content']=_0x3f44ce['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x3244d2,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x549c89,'Revision\x20history')]}]});}}class ci extends _0xb7478c{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x3f6eb9,_0x4cfa22,_0x7e0539,_0x9e0c07){super(_0x3f6eb9);const _0x55d779=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x4cfa22,this['_revisionActions']=_0x7e0539,this['_requireRevisionName']=_0x9e0c07,this['on']('select',(_0x35fa5e,_0x9aef65)=>{this['fire']('revisionSelected',_0x9aef65);}),this['on']('setName',(_0x4fc7ed,_0xe59893)=>{this['fire']('revisionSetName',_0xe59893);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x3f6eb9),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x55d779['if']('isEnabled','ck-disabled',_0x9d3bd1=>!_0x9d3bd1)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x4e87bb of this['_revisions'])this['_addRevision'](_0x4e87bb);this['_revisions']['on']('add',(_0xf8f03,_0x546246)=>{this['_addRevision'](_0x546246);}),this['_revisions']['on']('remove',(_0x1d59ba,_0x1cb583)=>{this['_removeRevision'](_0x1cb583);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x3b20d0=>_0x3b20d0['revisionViews']['map'](_0x3434a5=>_0x3434a5))['flat']();}['selectRevision'](_0x30e852){for(const _0x2b9c42 of this['revisionViews'])_0x30e852&&_0x30e852['id']===_0x2b9c42['id']?_0x2b9c42['select']():_0x2b9c42['deselect']();}['highlightRevisions'](_0x3fd3b5){for(const _0x41c0e0 of this['revisionViews'])_0x3fd3b5['some'](({id:_0x51d18f})=>_0x51d18f===_0x41c0e0['id'])?_0x41c0e0['highlight']():_0x41c0e0['unhighlight']();}['_addRevision'](_0x59e15a){const _0x544232=di(_0x59e15a['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x3c2cdd=this['timePeriodViews']['get'](0x0);_0x3c2cdd&&_0x3c2cdd['startDate']['getTime']()===_0x544232['getTime']()||(_0x3c2cdd=new mi(this['locale'],_0x544232,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x3c2cdd)),_0x3c2cdd['addRevision'](_0x59e15a);}['_removeRevision'](_0x5d19c7){const _0x4a3178=di(_0x5d19c7['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x4a3178)['removeRevision'](_0x5d19c7);}['_getTimePeriodViewByStartDate'](_0x3de8a4){return this['timePeriodViews']['find'](_0x23b21c=>_0x23b21c['startDate']['getTime']()===_0x3de8a4['getTime']());}}class w extends _0x365282{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions'];static ['availableRevisionActions'];static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x41d8a8){super(_0x41d8a8),this['_revisionViewer']=_0x41d8a8['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x5153eb=this['_revisionsRepository']['_revisions'],_0x4065ff=this['_createRevisionActions'](),_0x2875f9=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x5153eb,_0x4065ff,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',(_0x431e60,_0x1a0d13)=>{_0x1a0d13['revisionViews']['on']('add',(_0xa5b41,_0x4c27ee)=>{_0x4c27ee['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)),_0x2875f9['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x4a8c35=this['_revisionsRepository']['getRevision'](0x0);if(_0x4a8c35){const _0xae7500=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4a8c35['id']);this['_revisionViewer']['compare'](_0x4a8c35,_0xae7500);}}['_handleRevisionSelected'](_0xe65395,_0x49fb32){const _0x39eb23=this['_revisionsRepository']['getRevision'](_0x49fb32['id']),_0x41f5ce=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x39eb23['id']);this['_revisionViewer']['compare'](_0x39eb23,_0x41f5ce);}['_handleRevisionSetName'](_0xac8f8c,_0x312f54){this['_revisionsRepository']['getRevision'](_0x312f54['id'])['setName'](_0x312f54['name']);}['_handleDiffChange'](_0x10193b,_0x52d647,_0x151071){const _0x305612=this['_revisionsRepository']['getRevisionsInDiff'](_0x151071);_0x305612['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x305612),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x305612[0x0]));}['_createRevisionActions'](){const _0x58dd8e=this['editor'],_0x103f2d=w['availableRevisionActions'],_0x4814e9=_0x58dd8e['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x4814e9['length'])return _0x4814e9['map'](_0x59fc2b=>{const _0x1bfa23='string'==typeof _0x59fc2b?Object['assign']({},_0x103f2d[_0x59fc2b]):_0x59fc2b;return _0x1bfa23['action']=_0x1bfa23['action']['bind'](this,_0x58dd8e),_0x1bfa23['isVisible']&&(_0x1bfa23['isVisible']=_0x1bfa23['isVisible']['bind'](this,_0x58dd8e)),_0x1bfa23;});}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x24c3da},_0x265f76)=>{const _0x4ac181=_0x24c3da['get'](d),_0x2078fe=_0x4ac181['repository'];let _0x22b41d=_0x4ac181['diff']['newRevisionId'],_0x4a9ae6=_0x265f76['id'];_0x2078fe['getIndex'](_0x22b41d)>_0x2078fe['getIndex'](_0x4a9ae6)&&([_0x22b41d,_0x4a9ae6]=[_0x4a9ae6,_0x22b41d]),_0x4ac181['compare'](_0x22b41d,_0x4a9ae6);},'isVisible':({plugins:_0x1b40e1},_0x5bab6e)=>{const _0x424da2=_0x1b40e1['get'](d);return!(_0x424da2['repository']['getRevisionsInDiff'](_0x424da2['diff'])['length']>0x2)&&!_0x5bab6e['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x15f405,{id:_0x2624d3})=>{_0x15f405['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2624d3);},'isVisible':({plugins:_0x3253df},_0x547261)=>!!_0x3253df['get'](d)['repository']['getLaterVisibleRevision'](_0x547261['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x4de3e5},{id:_0x36893c,revisionNameView:_0x455110})=>{const _0x47667b=_0x4de3e5['get'](d),_0x51eef6=_0x47667b['repository']['getEarlierVisibleRevision'](_0x36893c);_0x47667b['compare'](_0x36893c,_0x51eef6),_0x455110['focus'](),_0x455110['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x17ea96,_0xb23536){super(_0x17ea96),this['_view']=_0xb23536,this['_toolbarConfig']=ct(_0x17ea96['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x1bc02e){const _0x469bb=this['editor'],_0x541bfa=this['view'],_0x6fd10e=_0x469bb['editing']['view'],_0x3e4c1e=_0x541bfa['editable'],_0x45c99a=_0x6fd10e['document']['getRoot']();_0x3e4c1e['name']=_0x45c99a['rootName'],_0x541bfa['render']();const _0x4310cf=_0x3e4c1e['element'];this['setEditableElement'](_0x3e4c1e['name'],_0x4310cf),_0x541bfa['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x6fd10e['attachDomRoot'](_0x4310cf),this['_elementReplacer']['replace'](_0x1bc02e,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x24b237=this['view'],_0x1655ce=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x1655ce['detachDomRoot'](_0x24b237['editable']['name']),_0x24b237['destroy']();}['_initToolbar'](){const _0x353c1f=this['view'];_0x353c1f['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x353c1f['stickyPanel']['limiterElement']=_0x353c1f['element'],_0x353c1f['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x4fc703})=>_0x4fc703),_0x353c1f['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x353c1f['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x2a4788,_0x40c82f,_0x106f2f={}){super(_0x2a4788),this['stickyPanel']=new lt(_0x2a4788),this['toolbar']=new pt(_0x2a4788,{'shouldGroupWhenFull':_0x106f2f['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x2a4788,_0x40c82f);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends/* #__PURE__ -- @preserve */
27
+ rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x149fa0,_0x3985ba){super(_0x3985ba),this['sourceElement']=_0x149fa0,this['model']['document']['createRoot']();const _0x3e086b=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x3e086b);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x3b8f87,_0x4c4628){const _0x4f8f65=new this(_0x3b8f87,_0x4c4628);return await _0x4f8f65['initPlugins'](),await _0x4f8f65['ui']['init'](_0x3b8f87),await _0x4f8f65['data']['init'](_0x4f8f65['config']['get']('initialData')||''),_0x4f8f65['fire']('ready'),_0x4f8f65;}}const g=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x365282{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x1f18dd){super(_0x1f18dd),this['result']='end';}}class H extends _0x365282{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x48ccba){if(super(_0x48ccba),!this['editor']['config']['get']('revisionHistory'))throw new _0x415b91('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x229866=>this['_showRevisionViewer']({..._0x229866,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x347493=>this['_closeRevisionViewer'](_0x347493)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x74afcf=>this['_restoreRevision'](_0x74afcf)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x248773){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x248773;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x438fe6){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x438fe6);}['getRevision'](_0x387ef0){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x387ef0);}['getRevisions'](_0x1b30d7={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x1b30d7);}['_getRevisionViewerEditorConfig'](){const _0xd138ad=this['editor'],_0xb8316c=_0x3c37d3(_0xd138ad,g),_0x23ee1f=_0xd138ad['plugins']['get']('RevisionTracker'),_0x51734c=_0xd138ad['plugins']['get']('Users')['users'];return _0xb8316c['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0xb8316c['lazyRoots'],(_0xb8316c['plugins']['push'](k,d,R,class extends _0x365282{static get['requires'](){return[d,'Users'];}['init'](){const _0x144a4a=this['editor']['plugins']['get']('Users');for(const _0x5af11e of _0x51734c)_0x5af11e['isAnonymous']||_0x144a4a['getUser'](_0x5af11e['id'])||_0x144a4a['addUser'](_0x5af11e);const _0x56b228=_0x23ee1f['repository']['getRevisions']();let _0x52f802=null;const _0xefdfa0=this['editor']['plugins']['get']('RevisionViewer');_0xefdfa0['adapter']=_0x23ee1f['adapter'],_0xefdfa0['bind']('isEnabled')['to'](_0x23ee1f),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0xd138ad,'isReadOnly',_0x32778d=>!_0x32778d);for(const _0x36db34 of _0x56b228){const _0x147384=null===_0x36db34['creator'];if(_0x147384&&_0x36db34['toVersion']===_0x36db34['fromVersion'])continue;const _0x216d89=_0x36db34['toJSON']();_0xefdfa0['addRevisionData'](_0x216d89,(_0x2b0c69,_0x5420c2,_0x2b927e)=>{if(_0x147384){if(_0x52f802)_0x52f802['_update'](_0x2b0c69,_0x5420c2);else{if(!_0x5420c2){const _0x3f0805=_0x2b927e['toJSON']();_0x3f0805['id']=_0x2d17fa(),_0x23ee1f['saveRevision'](_0x3f0805,_0x2b927e['toVersion'])['then'](_0x33af41=>{_0x52f802=_0x33af41;});}}}else _0x36db34['_update'](_0x2b0c69,_0x5420c2);});}}},w),_0xb8316c);}['_enhanceShowRevisionViewerCallback'](){const _0xcadbb8=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x57216d=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x1f4bb1=this['editor']['plugins']['get']('Autosave');await _0x1f4bb1['save']();}else await _0x57216d['update']();this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks']();const _0x9b625d=this['_getRevisionViewerEditorConfig']();return _0xcadbb8(_0x9b625d)['then'](_0x1ee117=>{return(this['_viewerEditor']=_0x1ee117,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x1ee117;})['catch'](_0x14dcaa=>(console['error'](_0x14dcaa),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x43593f=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'](),_0x43593f(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x19acec=this['editor']['plugins']['get']('Annotations');_0x19acec['refreshVisibility'](),_0x19acec['refreshPositioning']();}})));}['_showRevisionViewer'](_0x33aae6){const _0x572c21=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x4f7218=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x5a2a8d=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x5a2a8d,_0x33aae6)['then'](_0x5e9d65=>(_0x4f7218['style']['display']='block',_0x572c21['style']['display']='none',_0x5e9d65));}['_closeRevisionViewer'](_0x31b30f){const _0x24ff58=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x24ff58['style']['display']='',_0x31b30f['destroy']();}async['_restoreRevision'](_0x1a98e9){const _0x43887f=this['editor'],_0x8ef866=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x294295=_0x43887f['plugins']['get']('RevisionTracker'),_0x56c3e9=_0x8ef866['repository']['getRevision'](_0x1a98e9);let _0x11bf08,_0x480e84,_0x57ba2b;try{_0x11bf08=await _0x8ef866['getRevisionData'](_0x56c3e9),_0x480e84=await _0x8ef866['getRevisionRootsAttributes'](_0x56c3e9);}catch(_0x1f769a){return void console['error'](_0x1f769a);}_0x43887f['model']['change'](_0x5a68a6=>{for(const _0x1ee8f0 of Array['from'](_0x43887f['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x5a68a6['removeMarker'](_0x1ee8f0);}),_0x8ef866['isReady']=!0x1,_0x43887f['model']['enqueueChange'](_0x4914ca=>{_0x4914ca['setSelection'](null),_0x4914ca['removeSelectionAttribute'](_0x43887f['model']['document']['selection']['getAttributeKeys']());const _0x44ccc9=Object['keys'](_0x11bf08);for(const _0x48f79c of _0x43887f['model']['document']['roots'])'$graveyard'!=_0x48f79c['rootName']&&_0x48f79c['isAttached']()&&!_0x44ccc9['includes'](_0x48f79c['rootName'])&&_0x4914ca['detachRoot'](_0x48f79c);for(const _0x3e69f0 of _0x44ccc9){let _0x441c24=_0x43887f['model']['document']['getRoot'](_0x3e69f0);_0x441c24&&_0x441c24['isAttached']()||(_0x441c24=_0x4914ca['addRoot'](_0x3e69f0));const _0x588682=_0x480e84[_0x3e69f0],_0x652707=Object['keys'](_0x588682),_0x5c273b=_0x11bf08[_0x3e69f0];for(const _0x2d5a46 of _0x441c24['getAttributeKeys']())_0x652707['includes'](_0x2d5a46)||_0x4914ca['removeAttribute'](_0x2d5a46,_0x441c24);for(const _0x504dd0 of _0x652707)_0x4914ca['setAttribute'](_0x504dd0,_0x480e84[_0x3e69f0][_0x504dd0],_0x441c24);_0x4914ca['remove'](_0x4914ca['createRangeIn'](_0x441c24)),_0x4914ca['insert'](_0x43887f['data']['parse'](_0x5c273b,_0x441c24),_0x441c24,0x0);}});const _0x1ced0b=y(_0x43887f['locale'],'Restored');if(_0x56c3e9['name'])_0x57ba2b=-0x1==_0x56c3e9['name']['indexOf'](_0x1ced0b)?_0x1ced0b+':\x20'+_0x56c3e9['name']:_0x56c3e9['name'];else _0x57ba2b=_0x1ced0b+':\x20'+(_0x56c3e9['createdAt']['toLocaleDateString'](_0x43887f['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x56c3e9['createdAt']['toLocaleTimeString'](_0x43887f['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x294295['saveRevision']({'name':_0x57ba2b}),_0x8ef866['isReady']=!0x0,_0x43887f['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};