@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240626.1 → 0.0.0-nightly-20240627.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 (174) hide show
  1. package/build/revision-history.js +1 -1
  2. package/build/translations/fa.js +1 -1
  3. package/build/translations/he.js +1 -1
  4. package/build/translations/ko.js +1 -1
  5. package/build/translations/nl.js +1 -1
  6. package/build/translations/tk.js +1 -1
  7. package/build/translations/ur.js +1 -1
  8. package/build/translations/zh-cn.js +1 -1
  9. package/dist/index.js +6 -6
  10. package/dist/translations/af.js +1 -1
  11. package/dist/translations/af.umd.js +1 -1
  12. package/dist/translations/ar.js +1 -1
  13. package/dist/translations/ar.umd.js +1 -1
  14. package/dist/translations/az.js +1 -1
  15. package/dist/translations/az.umd.js +1 -1
  16. package/dist/translations/bg.js +1 -1
  17. package/dist/translations/bg.umd.js +1 -1
  18. package/dist/translations/bn.js +1 -1
  19. package/dist/translations/bn.umd.js +1 -1
  20. package/dist/translations/bs.js +1 -1
  21. package/dist/translations/bs.umd.js +1 -1
  22. package/dist/translations/ca.js +1 -1
  23. package/dist/translations/ca.umd.js +1 -1
  24. package/dist/translations/cs.js +1 -1
  25. package/dist/translations/cs.umd.js +1 -1
  26. package/dist/translations/da.js +1 -1
  27. package/dist/translations/da.umd.js +1 -1
  28. package/dist/translations/de-ch.js +1 -1
  29. package/dist/translations/de-ch.umd.js +1 -1
  30. package/dist/translations/de.js +1 -1
  31. package/dist/translations/de.umd.js +1 -1
  32. package/dist/translations/el.js +1 -1
  33. package/dist/translations/el.umd.js +1 -1
  34. package/dist/translations/en-au.js +1 -1
  35. package/dist/translations/en-au.umd.js +1 -1
  36. package/dist/translations/en-gb.js +1 -1
  37. package/dist/translations/en-gb.umd.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/he.js +1 -1
  54. package/dist/translations/he.umd.js +1 -1
  55. package/dist/translations/hi.js +1 -1
  56. package/dist/translations/hi.umd.js +1 -1
  57. package/dist/translations/hr.js +1 -1
  58. package/dist/translations/hr.umd.js +1 -1
  59. package/dist/translations/hu.js +1 -1
  60. package/dist/translations/hu.umd.js +1 -1
  61. package/dist/translations/id.js +1 -1
  62. package/dist/translations/id.umd.js +1 -1
  63. package/dist/translations/it.js +1 -1
  64. package/dist/translations/it.umd.js +1 -1
  65. package/dist/translations/ja.js +1 -1
  66. package/dist/translations/ja.umd.js +1 -1
  67. package/dist/translations/jv.js +1 -1
  68. package/dist/translations/jv.umd.js +1 -1
  69. package/dist/translations/ko.js +1 -1
  70. package/dist/translations/ko.umd.js +1 -1
  71. package/dist/translations/ku.js +1 -1
  72. package/dist/translations/ku.umd.js +1 -1
  73. package/dist/translations/lt.js +1 -1
  74. package/dist/translations/lt.umd.js +1 -1
  75. package/dist/translations/lv.js +1 -1
  76. package/dist/translations/lv.umd.js +1 -1
  77. package/dist/translations/ms.js +1 -1
  78. package/dist/translations/ms.umd.js +1 -1
  79. package/dist/translations/ne.js +1 -1
  80. package/dist/translations/ne.umd.js +1 -1
  81. package/dist/translations/nl.js +1 -1
  82. package/dist/translations/nl.umd.js +1 -1
  83. package/dist/translations/no.js +1 -1
  84. package/dist/translations/no.umd.js +1 -1
  85. package/dist/translations/pl.js +1 -1
  86. package/dist/translations/pl.umd.js +1 -1
  87. package/dist/translations/pt-br.js +1 -1
  88. package/dist/translations/pt-br.umd.js +1 -1
  89. package/dist/translations/pt.js +1 -1
  90. package/dist/translations/pt.umd.js +1 -1
  91. package/dist/translations/ro.js +1 -1
  92. package/dist/translations/ro.umd.js +1 -1
  93. package/dist/translations/ru.js +1 -1
  94. package/dist/translations/ru.umd.js +1 -1
  95. package/dist/translations/sk.js +1 -1
  96. package/dist/translations/sk.umd.js +1 -1
  97. package/dist/translations/sr-latn.js +1 -1
  98. package/dist/translations/sr-latn.umd.js +1 -1
  99. package/dist/translations/sr.js +1 -1
  100. package/dist/translations/sr.umd.js +1 -1
  101. package/dist/translations/sv.js +1 -1
  102. package/dist/translations/sv.umd.js +1 -1
  103. package/dist/translations/th.js +1 -1
  104. package/dist/translations/th.umd.js +1 -1
  105. package/dist/translations/ti.js +1 -1
  106. package/dist/translations/ti.umd.js +1 -1
  107. package/dist/translations/tk.js +1 -1
  108. package/dist/translations/tk.umd.js +1 -1
  109. package/dist/translations/tr.js +1 -1
  110. package/dist/translations/tr.umd.js +1 -1
  111. package/dist/translations/tt.js +1 -1
  112. package/dist/translations/tt.umd.js +1 -1
  113. package/dist/translations/ug.js +1 -1
  114. package/dist/translations/ug.umd.js +1 -1
  115. package/dist/translations/uk.js +1 -1
  116. package/dist/translations/uk.umd.js +1 -1
  117. package/dist/translations/ur.js +1 -1
  118. package/dist/translations/ur.umd.js +1 -1
  119. package/dist/translations/vi.js +1 -1
  120. package/dist/translations/vi.umd.js +1 -1
  121. package/dist/translations/zh-cn.js +1 -1
  122. package/dist/translations/zh-cn.umd.js +1 -1
  123. package/dist/translations/zh.js +1 -1
  124. package/dist/translations/zh.umd.js +1 -1
  125. package/dist/types/revisiontracker.d.ts +6 -1
  126. package/dist/types/revisionviewer.d.ts +82 -0
  127. package/dist/types/ui/revision/createrevisionactionsdropdown.d.ts +4 -1
  128. package/dist/types/ui/revision/revisionauthorview.d.ts +9 -0
  129. package/dist/types/ui/revision/revisionnameview.d.ts +25 -0
  130. package/dist/types/ui/revisionssidebar/revisionssidebarheaderview.d.ts +11 -0
  131. package/lang/translations/fa.po +1 -1
  132. package/lang/translations/he.po +1 -1
  133. package/lang/translations/ko.po +1 -1
  134. package/lang/translations/nl.po +1 -1
  135. package/lang/translations/tk.po +1 -1
  136. package/lang/translations/ur.po +1 -1
  137. package/lang/translations/zh-cn.po +1 -1
  138. package/package.json +5 -5
  139. package/src/changeitem.js +2 -2
  140. package/src/editor/revisionviewereditor.js +2 -2
  141. package/src/editor/revisionviewereditorui.js +1 -1
  142. package/src/editor/revisionviewereditoruiview.js +1 -1
  143. package/src/index.js +1 -1
  144. package/src/revision.js +2 -2
  145. package/src/revisiondiff.js +1 -1
  146. package/src/revisionhistory.js +1 -1
  147. package/src/revisionsrepository.js +1 -1
  148. package/src/revisiontracker.d.ts +6 -1
  149. package/src/revisiontracker.js +1 -1
  150. package/src/revisionviewer.d.ts +82 -0
  151. package/src/revisionviewer.js +1 -1
  152. package/src/ui/revision/createrevisionactionsdropdown.d.ts +4 -1
  153. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  154. package/src/ui/revision/revisionauthorview.d.ts +9 -0
  155. package/src/ui/revision/revisionauthorview.js +1 -1
  156. package/src/ui/revision/revisionnameview.d.ts +25 -0
  157. package/src/ui/revision/revisionnameview.js +1 -1
  158. package/src/ui/revision/revisionview.js +2 -2
  159. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  160. package/src/ui/revision/subrevisionview.js +1 -1
  161. package/src/ui/revision/utils.js +1 -1
  162. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  163. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  164. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  165. package/src/ui/revisionssidebar/revisionssidebarheaderview.d.ts +11 -0
  166. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  167. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  168. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  169. package/src/ui/revisionssidebar/utils.js +1 -1
  170. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  171. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  172. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  173. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  174. package/src/utils/common-translations.js +1 -1
package/dist/index.js CHANGED
@@ -20,10 +20,10 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4d5a42,Context as _0x41baad,PendingActions as _0x15798f,icons as _0x292552,Command as _0x56ecce,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x12a084,uid as _0x12278d,Collection as _0x58b11b,logWarning as _0x43ec1a,FocusTracker as _0x18de0c,KeystrokeHandler as _0x4c8ee6,scrollViewportToShowTarget as _0x36656d,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x557b16}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x529364,getMarkerDomElement as _0x14a85b,ConfirmMixin as _0x44343d,sanitizeEditorConfig as _0x8c5bbd}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x5996a8,ViewText as _0x50935a,ViewElement as _0x2f891b,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x247ba3,ViewAttributeElement as _0x419515,ViewEmptyElement as _0x5ecbf5,ViewRawElement as _0x269589,ViewUIElement as _0x3fbea8,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x1bcc9e,set as _0x5222c3,unset as _0x530af6,isEqual as _0x293674}from'lodash-es';import{View as _0x51fed9,injectCssTransitionDisabler as ts,submitHandler as _0x1f6ce5,LabeledFieldView as at,createLabeledInputText as _0x35e422,createDropdown as _0x53139c,ListView as te,ListItemView as _0x4c97af,ButtonView as _0x9ccdd,MenuBarMenuView as _0x4f360b,MenuBarMenuListView as _0xfb60b8,MenuBarMenuListItemView as _0x609f91,MenuBarMenuListItemButtonView as _0x528f28,ContextualBalloon as _0xc6369b,ToolbarSeparatorView as _0x2ec518,IconView as _0x40db9e,addListToDropdown as _0xe2c02c,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 _0x5043f1}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x12a084(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x5d2f87){super(),this['id']=_0x5d2f87['id']||_0x12278d(),this['creator']=_0x5d2f87['creator']||null,this['authors']=_0x5d2f87['authors']||[],this['diffData']=_0x5d2f87['diffData']||null,this['toVersion']=_0x5d2f87['toVersion']||0x0,this['fromVersion']=_0x5d2f87['fromVersion']||0x0,this['set']('name',_0x5d2f87['name']||''),this['set']('createdAt',_0x5d2f87['createdAt']||new Date()),this['set']('attributes',_0x5d2f87['attributes']||{});}['setName'](_0x24b970){this['_update']({'name':_0x24b970});}['setAttribute'](_0x28cc2c,_0x17ed0e){const _0x59e38d=_0x1bcc9e(this['attributes']);_0x5222c3(_0x59e38d,_0x28cc2c,_0x17ed0e),this['_update']({'attributes':_0x59e38d});}['removeAttribute'](_0x54ef08){const _0x307b9c=_0x1bcc9e(this['attributes']);_0x530af6(_0x307b9c,_0x54ef08),this['_update']({'attributes':_0x307b9c});}['_update'](_0x26cf56,_0x360fd4=!0x1){let _0x16d623=!0x1;const _0x3c1ae1={'id':this['id']},_0x4661ba=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x44f20b of _0x4661ba){const _0x204fa2=_0x26cf56[_0x44f20b];void 0x0!==_0x204fa2&&_0x204fa2!==this[_0x44f20b]&&(this[_0x44f20b]=_0x204fa2,_0x3c1ae1[_0x44f20b]=_0x204fa2,_0x16d623=!0x0);}_0x16d623&&(_0x3c1ae1['authors']&&(_0x3c1ae1['authorsIds']=_0x3c1ae1['authors']['map'](_0x5cf146=>_0x5cf146['id']),delete _0x3c1ae1['authors']),this['fire']('_update',_0x3c1ae1,_0x360fd4));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x5c3e06=>_0x5c3e06['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x4d5a42{['_revisions'];static get['requires'](){return[_0x529364];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x4cd59a){super(_0x4cd59a),this['_revisions']=new _0x58b11b();}['afterInit'](){!function(_0x2d2b66){function _0x3c9f68(_0x1df695,_0x1bbfc0,_0x1284fa){const _0x749d8d={};_0x749d8d[_0x51e617([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x749d8d[_0x51e617([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],_0x749d8d[_0x51e617([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],_0x749d8d[_0x51e617([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],_0x749d8d[_0x51e617([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],_0x749d8d[_0x51e617([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],_0x749d8d[_0x51e617([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],_0x749d8d[_0x51e617([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],_0x749d8d[_0x51e617([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],_0x749d8d[_0x51e617([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],_0x749d8d[_0x51e617([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 _0x2bfb6e=new Uint8Array(0x10);for(let _0x4c60b9=0xf;_0x4c60b9>=0x0;--_0x4c60b9)_0x2bfb6e[_0x4c60b9]=_0x1284fa%0x100,_0x1284fa=parseInt(_0x1284fa/0x100);let _0x16cdd4=null,_0x2c66a3=0x10;const _0x1250ea=new Uint8Array(_0x1bbfc0),_0x29a9ca=[],_0x2cb959=[];_0x380816();for(let _0x38d0ef=0x0;_0x38d0ef<_0x1df695[_0x51e617([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38d0ef++)0x10===_0x2c66a3&&(_0x16cdd4=_0x1a5bd5(_0x2bfb6e),_0x2c66a3=0x0,_0x5bf240(_0x2bfb6e)),_0x1df695[_0x38d0ef]^=_0x16cdd4[_0x2c66a3++];return _0x1df695;function _0x2ff957(_0x451e0c){const _0x15c967=[];for(let _0x58180f=0x0;_0x58180f<_0x451e0c[_0x51e617([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58180f+=0x4)_0x15c967[_0x51e617([0x70,0x75,0x73,0x68])](_0x451e0c[_0x58180f]<<0x18|_0x451e0c[_0x58180f+0x1]<<0x10|_0x451e0c[_0x58180f+0x2]<<0x8|_0x451e0c[_0x58180f+0x3]);return _0x15c967;}function _0x5bf240(_0x2cdbe4){for(let _0x441e92=0xf;_0x441e92>=0x0;_0x441e92--){if(0xff!==_0x2cdbe4[_0x441e92]){_0x2cdbe4[_0x441e92]++;break;}_0x2cdbe4[_0x441e92]=0x0;}}function _0x1a5bd5(_0x47fe22){const _0xcd505d=_0x29a9ca[_0x51e617([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x12e7c1=[0x0,0x0,0x0,0x0];let t=_0x2ff957(_0x47fe22);for(let _0x3e6680=0x0;_0x3e6680<0x4;_0x3e6680++)t[_0x3e6680]^=_0x29a9ca[0x0][_0x3e6680];for(let _0x47f45d=0x1;_0x47f45d<_0xcd505d;_0x47f45d++){for(let _0x5c8ba8=0x0;_0x5c8ba8<0x4;_0x5c8ba8++)_0x12e7c1[_0x5c8ba8]=_0x749d8d[_0x51e617([0x54,0x31])][t[_0x5c8ba8]>>0x18&0xff]^_0x749d8d[_0x51e617([0x54,0x32])][t[(_0x5c8ba8+0x1)%0x4]>>0x10&0xff]^_0x749d8d[_0x51e617([0x54,0x33])][t[(_0x5c8ba8+0x2)%0x4]>>0x8&0xff]^_0x749d8d[_0x51e617([0x54,0x34])][0xff&t[(_0x5c8ba8+0x3)%0x4]]^_0x29a9ca[_0x47f45d][_0x5c8ba8];t=_0x12e7c1[_0x51e617([0x73,0x6c,0x69,0x63,0x65])]();}const _0x2a96ad=new Uint8Array(0x10);let _0x116abc;for(let _0x44bee3=0x0;_0x44bee3<0x4;_0x44bee3++)_0x116abc=_0x29a9ca[_0xcd505d][_0x44bee3],_0x2a96ad[0x4*_0x44bee3]=0xff&(_0x749d8d[_0x51e617([0x53])][t[_0x44bee3]>>0x18&0xff]^_0x116abc>>0x18),_0x2a96ad[0x4*_0x44bee3+0x1]=0xff&(_0x749d8d[_0x51e617([0x53])][t[(_0x44bee3+0x1)%0x4]>>0x10&0xff]^_0x116abc>>0x10),_0x2a96ad[0x4*_0x44bee3+0x2]=0xff&(_0x749d8d[_0x51e617([0x53])][t[(_0x44bee3+0x2)%0x4]>>0x8&0xff]^_0x116abc>>0x8),_0x2a96ad[0x4*_0x44bee3+0x3]=0xff&(_0x749d8d[_0x51e617([0x53])][0xff&t[(_0x44bee3+0x3)%0x4]]^_0x116abc);return _0x2a96ad;}function _0x380816(){const _0x40e394=_0x749d8d[_0x51e617([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x1250ea[_0x51e617([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x2748e3=0x0;_0x2748e3<=_0x40e394;_0x2748e3++)_0x29a9ca[_0x51e617([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x2cb959[_0x51e617([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x5bd8e3=0x4*(_0x40e394+0x1),_0x2fe538=_0x1250ea[_0x51e617([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x40b9d8=_0x2ff957(_0x1250ea);let _0x52c7d4;for(let _0x588398=0x0;_0x588398<_0x2fe538;_0x588398++)_0x52c7d4=_0x588398>>0x2,_0x29a9ca[_0x52c7d4][_0x588398%0x4]=_0x40b9d8[_0x588398],_0x2cb959[_0x40e394-_0x52c7d4][_0x588398%0x4]=_0x40b9d8[_0x588398];let _0x2099a3,_0x5d1343=0x0,t=_0x2fe538;for(;t<_0x5bd8e3;){_0x2099a3=_0x40b9d8[_0x2fe538-0x1],_0x40b9d8[0x0]^=_0x749d8d[_0x51e617([0x53])][_0x2099a3>>0x10&0xff]<<0x18^_0x749d8d[_0x51e617([0x53])][_0x2099a3>>0x8&0xff]<<0x10^_0x749d8d[_0x51e617([0x53])][0xff&_0x2099a3]<<0x8^_0x749d8d[_0x51e617([0x53])][_0x2099a3>>0x18&0xff]^_0x749d8d[_0x51e617([0x72,0x63,0x6f,0x6e])][_0x5d1343]<<0x18,_0x5d1343+=0x1;for(let _0x11c3b3=0x1;_0x11c3b3<_0x2fe538/0x2;_0x11c3b3++)_0x40b9d8[_0x11c3b3]^=_0x40b9d8[_0x11c3b3-0x1];_0x2099a3=_0x40b9d8[_0x2fe538/0x2-0x1],_0x40b9d8[_0x2fe538/0x2]^=_0x749d8d[_0x51e617([0x53])][0xff&_0x2099a3]^_0x749d8d[_0x51e617([0x53])][_0x2099a3>>0x8&0xff]<<0x8^_0x749d8d[_0x51e617([0x53])][_0x2099a3>>0x10&0xff]<<0x10^_0x749d8d[_0x51e617([0x53])][_0x2099a3>>0x18&0xff]<<0x18;for(let _0x3c9ba6=_0x2fe538/0x2+0x1;_0x3c9ba6<_0x2fe538;_0x3c9ba6++)_0x40b9d8[_0x3c9ba6]^=_0x40b9d8[_0x3c9ba6-0x1];let _0x41af20,_0x221d81,_0x3eade8=0x0;for(;_0x3eade8<_0x2fe538&&t<_0x5bd8e3;)_0x41af20=t>>0x2,_0x221d81=t%0x4,_0x29a9ca[_0x41af20][_0x221d81]=_0x40b9d8[_0x3eade8],_0x2cb959[_0x40e394-_0x41af20][_0x221d81]=_0x40b9d8[_0x3eade8++],t++;}for(let _0x32f82f=0x1;_0x32f82f<_0x40e394;_0x32f82f++)for(let _0x225f2e=0x0;_0x225f2e<0x4;_0x225f2e++)_0x2099a3=_0x2cb959[_0x32f82f][_0x225f2e],_0x2cb959[_0x32f82f][_0x225f2e]=_0x749d8d[_0x51e617([0x55,0x31])][_0x2099a3>>0x18&0xff]^_0x749d8d[_0x51e617([0x55,0x32])][_0x2099a3>>0x10&0xff]^_0x749d8d[_0x51e617([0x55,0x33])][_0x2099a3>>0x8&0xff]^_0x749d8d[_0x51e617([0x55,0x34])][0xff&_0x2099a3];}}function _0x51e617(_0x55c85b){return _0x55c85b['map'](_0x3a161f=>String['fromCharCode'](_0x3a161f))['join']('');}(_0x11f081=>{function _0x5c68f1(){const _0x19f371=[{[_0x51e617([0x69,0x64])]:0x1,[_0x51e617([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x51e617([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x51e617([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x51e617([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x51e617([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x51e617([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x51e617([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x51e617([0x69,0x64])]:0x2,[_0x51e617([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x51e617([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x51e617([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x51e617([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x51e617([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x51e617([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]),[_0x51e617([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x51e617([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x51e617([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x51e617([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x51e617([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x51e617([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x51e617([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x51e617([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x51e617([0x69,0x64])]:0x3,[_0x51e617([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x51e617([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x51e617([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x51e617([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x51e617([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x51e617([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x51e617([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x51e617([0x69,0x64])]:0x4,[_0x51e617([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x51e617([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x51e617([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x51e617([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x51e617([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x51e617([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]),[_0x51e617([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x51e617([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x51e617([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x51e617([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x51e617([0x69,0x64])]:0x5,[_0x51e617([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x51e617([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x51e617([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x51e617([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x51e617([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]),[_0x51e617([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x51e617([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x51e617([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x51e617([0x66,0x67,0x69])]:[0xc]}},{[_0x51e617([0x69,0x64])]:0x6,[_0x51e617([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x51e617([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x51e617([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x51e617([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x51e617([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x51e617([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x51e617([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x51e617([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x51e617([0x66,0x67,0x69])]:[0xc]}},{[_0x51e617([0x69,0x64])]:0x7,[_0x51e617([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x51e617([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x51e617([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x51e617([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x51e617([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x51e617([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x51e617([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x51e617([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x51e617([0x66,0x67,0x69])]:[0xc]}},{[_0x51e617([0x69,0x64])]:0x8,[_0x51e617([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x51e617([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x51e617([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x51e617([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x51e617([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]),[_0x51e617([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x51e617([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x51e617([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x51e617([0x66,0x67,0x69])]:[0xc]}},{[_0x51e617([0x69,0x64])]:0x9,[_0x51e617([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x51e617([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x51e617([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x51e617([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x51e617([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x51e617([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x51e617([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x51e617([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x51e617([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x51e617([0x69,0x64])]:0xa,[_0x51e617([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x51e617([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]),[_0x51e617([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x51e617([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]),[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x51e617([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]),[_0x51e617([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x51e617([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x51e617([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x51e617([0x66,0x67,0x69])]:[0xc]}},{[_0x51e617([0x69,0x64])]:0xb,[_0x51e617([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x51e617([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x51e617([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x51e617([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x51e617([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x51e617([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x51e617([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x51e617([0x69,0x64])]:0xc,[_0x51e617([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x51e617([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x51e617([0x69,0x64])]:0xd,[_0x51e617([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x51e617([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x51e617([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x51e617([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x51e617([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x51e617([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x51e617([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x51e617([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x51e617([0x66,0x67,0x69])]:[0xc]}},{[_0x51e617([0x69,0x64])]:0xe,[_0x51e617([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x51e617([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x51e617([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x51e617([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])},{[_0x51e617([0x69,0x64])]:0xf,[_0x51e617([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x51e617([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x51e617([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x51e617([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x51e617([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x51e617([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x51e617([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x51e617([0x69,0x64])]:0x10,[_0x51e617([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x51e617([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x51e617([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x51e617([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x51e617([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x51e617([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x51e617([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x51e617([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x51e617([0x66,0x67,0x69])]:[0xc]}}];return _0x13b398(_0x19f371),_0x19f371;function _0x3ed004(_0xfa2b92){return 0x1<<_0xfa2b92-0x1;}function _0x13b398(_0x16e30f){_0x16e30f[_0x51e617([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2dc200=>{_0x2dc200[_0x51e617([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x3ed004(_0x2dc200[_0x51e617([0x69,0x64])]),_0x305a69(_0x2dc200)&&_0x2dc200[_0x51e617([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x13b398(_0x2dc200[_0x51e617([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x305a69(_0x585bbc){return _0x51e617([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x585bbc;}const _0xd61206=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x5b62ed=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x424ea2(_0x5a5224){const _0x2211a1=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x40b87c(_0x5a5224,new Uint8Array([..._0xd61206,..._0x2211a1,..._0x5b62ed]));}function _0x40b87c(_0x2389e3,_0x20c75c){const _0x556b7a=_0x4f2087(_0x2389e3),_0xf0af22=Array[_0x51e617([0x66,0x72,0x6f,0x6d])](_0x543418(_0x556b7a)),_0x51161f=_0xf0af22[_0x51e617([0x70,0x6f,0x70])](),_0x2b6b52=_0xf0af22[_0x51e617([0x70,0x6f,0x70])]();return _0x447887(_0x3c9f68(_0xf0af22,_0x20c75c,_0x2b6b52+0x100*_0x51161f));}function _0x4f2087(_0x2ea8f8){const _0x394f72=atob(_0x2ea8f8),[_0x5dc7e5,_0x36504f]=_0x394f72[_0x51e617([0x73,0x70,0x6c,0x69,0x74])](_0x51e617([0x2d]));try{if(atob(_0x36504f))return atob(_0x5dc7e5);}catch(_0xedf2e9){}return _0x394f72;}function _0x906403(_0x31471a){try{const _0x5e3edc=_0x424ea2(_0x31471a),_0x2b923b=JSON[_0x51e617([0x70,0x61,0x72,0x73,0x65])](_0x5e3edc),_0x381bc7=parseInt(_0x2b923b[_0x51e617([0x31])]),_0x4496ea=_0x2b923b[_0x51e617([0x32])]||'',_0x27fcef=parseInt(_0x2b923b[_0x51e617([0x33])]),_0x252103=parseInt(_0x2b923b[_0x51e617([0x34])])||0x0,_0x5b9694=parseInt(_0x2b923b[_0x51e617([0x35])])||0x0;return{[_0x51e617([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x4496ea,[_0x51e617([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x252103,[_0x51e617([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x381bc7,[_0x51e617([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x27fcef,[_0x51e617([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x5b9694};}catch(_0x44ed8a){return null;}}const _0x8af993=_0x5c68f1(),_0x42a5f={[_0x51e617([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x433346,[_0x51e617([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])]:_0x1d2ec8,[_0x51e617([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])]:_0x115af8},_0x5da421=_0x11f081[_0x51e617([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x51e617([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x5b0d16=_0x51e617([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x11f081?_0x11f081['context']:_0x11f081['editor'],_0x48c907=_0x51e617([0x34,0x30,0x34,0x38,0x31,0x32,0x35,0x32]),_0x186ef1=_0x51e617([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]),_0x2a5ade=_0x5b0d16['config']['get'](_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x2813d6=_0x8af993[_0x51e617([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x305a69)[_0x51e617([0x66,0x69,0x6e,0x64])](_0x22c26f=>_0x22c26f[_0x51e617([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x5da421);function _0x232d4e(_0x13a9ae,_0x5928f5){_0x42a5f[_0x5928f5[_0x51e617([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x13a9ae,_0x5928f5),_0x5928f5[_0x51e617([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5928f5[_0x51e617([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x51e617([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4aa3c0=>_0x44030a(_0x5b0d16,_0x4aa3c0[_0x51e617([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x51e617([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x313b52=>_0x232d4e(_0x13a9ae,_0x313b52));}function _0x433346(_0x46a84c,_0x19ac03){_0x51c0b0(_0x4a6d5a(_0x46a84c,_0x19ac03),_0x19ac03);}function _0x1d2ec8(_0x32c5ee,_0x359910){function _0x4dcbdf(_0x1d1bdd,_0x2a8242){try{if(_0x44030a(_0x5b0d16,_0x51e617([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x1d1bdd){const _0x5e3686=_0x23c7d7(_0x5b0d16,_0x51e617([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x51e617([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x5e3686)/0x2>_0x1d1bdd[_0x51e617([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x57d7e1(_0x2a8242[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x51e617([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x4a6d5a(_0x1d1bdd,_0x2a8242);}catch(_0x7babbb){return _0x57d7e1(_0x2a8242[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x51e617([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x51c0b0(_0x4dcbdf(_0x32c5ee,_0x359910),_0x359910);}function _0x115af8(_0x5203cc,_0x44ea41){const _0x50bbb6=_0x5b62ed[0x0]*_0xd61206[0x1],_0xcf17d2=_0x5b62ed[0x0]*_0xd61206[0x2],_0x3e9936=_0x5b62ed[0x2]*_0xd61206[0x2];_0x44030a(_0x5b0d16,_0x51e617([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x23c7d7(_0x5b0d16,_0x51e617([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x51e617([0x73,0x74,0x61,0x74,0x65])]==_0x51e617([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x141a24()]=_0x3e9936);function _0x4d3a8c(_0x542309,_0x416b88){try{return _0x5a0891()?_0x57d7e1(_0x416b88[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x51e617([0x56,0x61,0x6c,0x69,0x64])):_0x4a6d5a(_0x542309,_0x416b88);}catch(_0xd62186){return _0x57d7e1(_0x416b88[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x51e617([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x472ebb(_0x4c1e80,_0x1b4d98){const _0x4873ef=0x7;if(_0x4c1e80==_0x1b4d98[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x51e617([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x5323f4();else{if(_0x4c1e80==_0x1b4d98[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x51e617([0x54,0x72,0x69,0x61,0x6c])){const _0x461e7c=_0x535a0c();_0x461e7c&&_0x128bec(_0x461e7c,_0x1b4d98[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x59f8a8=_0xef437d();window[_0x51e617([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x128bec(_0x51e617([0x74,0x69,0x6d,0x65]),_0x1b4d98[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x59f8a8);const _0x528a2d=_0x23c7d7(_0x5b0d16,_0x51e617([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x51e617([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x528a2d[_0x51e617([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x4873ef?_0x128bec(_0x51e617([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1b4d98[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x528a2d['on'](_0x51e617([0x61,0x64,0x64]),()=>{_0x528a2d[_0x51e617([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x4873ef&&_0x128bec(_0x51e617([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1b4d98[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x535a0c(){if(!_0x44030a(_0x5b0d16,_0x51e617([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x328b7f in window)if(Number['isNaN'](Number(_0x328b7f))){if(window[_0x328b7f]===_0x50bbb6)return _0x51e617([0x74,0x69,0x6d,0x65]);if(window[_0x328b7f]===_0xcf17d2)return _0x51e617([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x5a0891(){if(!_0x44030a(_0x5b0d16,_0x51e617([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x222a1d in window)if(Number['isNaN'](Number(_0x222a1d))&&window[_0x222a1d]===_0x3e9936)return!0x0;return!0x1;}function _0x128bec(_0x434e82,_0x3f5943){_0x5323f4(),_0x57d7e1(_0x3f5943+_0x51e617([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x434e82),window[_0x141a24()]=_0x434e82===_0x51e617([0x74,0x69,0x6d,0x65])?_0x50bbb6:_0xcf17d2;}function _0xef437d(){let _0x16438e=_0x5b62ed[0x6]*_0xd61206[0x8]*_0xd61206[0x6];return _0x44030a(_0x5b0d16,_0x51e617([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x16438e/=0xa),_0x16438e;}function _0x5323f4(){const _0x37c9d7=_0x5b0d16;function _0x10fd88(){_0x44030a(_0x37c9d7,_0x51e617([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x23c7d7(_0x37c9d7,_0x51e617([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x51e617([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x51e617([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x23c7d7(_0x37c9d7,_0x51e617([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x51e617([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x23c7d7(_0x37c9d7,_0x51e617([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x51e617([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x2778e5,_0x23c7d7(_0x37c9d7,_0x51e617([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x51e617([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x2778e5,_0x37c9d7[_0x51e617([0x6d,0x6f,0x64,0x65,0x6c])][_0x51e617([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2778e5,_0x37c9d7[_0x51e617([0x6d,0x6f,0x64,0x65,0x6c])][_0x51e617([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2778e5,_0x37c9d7[_0x51e617([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x51e617([0x6d,0x6f,0x64,0x65,0x6c]))),_0x44030a(_0x37c9d7,_0x51e617([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x23c7d7(_0x37c9d7,_0x51e617([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x51e617([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x51e617([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x23c7d7(_0x37c9d7,_0x51e617([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x51e617([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x23c7d7(_0x37c9d7,_0x51e617([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x51e617([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x2778e5,_0x23c7d7(_0x37c9d7,_0x51e617([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x51e617([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x2778e5);}_0x37c9d7[_0x51e617([0x73,0x74,0x61,0x74,0x65])]==_0x51e617([0x72,0x65,0x61,0x64,0x79])?_0x10fd88():_0x37c9d7[_0x51e617([0x6f,0x6e,0x63,0x65])](_0x51e617([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x44030a(_0x37c9d7,_0x51e617([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x10fd88(),_0x44030a(_0x37c9d7,_0x51e617([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x57a47f=_0x23c7d7(_0x37c9d7,_0x51e617([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x3e841c=_0x57a47f['getRevision'](0x0),_0x2bff3b=_0x57a47f['getEarlierVisibleRevision'](_0x3e841c[_0x51e617([0x69,0x64])]);_0x23c7d7(_0x37c9d7,_0x51e617([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x51e617([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x3e841c[_0x51e617([0x69,0x64])],_0x2bff3b?_0x2bff3b[_0x51e617([0x69,0x64])]:null,0x1)['then'](()=>_0x10fd88());}});}_0x472ebb(_0x4d3a8c(_0x5203cc,_0x44ea41),_0x44ea41);}function _0x4a6d5a(_0x11df90,_0x484961){try{return _0x26f2d1(_0x484961)?_0x57d7e1(_0x484961[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x51e617([0x56,0x61,0x6c,0x69,0x64])):_0x11df90&&_0x2d2c9e(_0x11df90[_0x51e617([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x484961)?_0x11df90[_0x51e617([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x51e617([0x6f,0x70,0x65,0x6e])][_0x51e617([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x48c907)/0x2>_0x11df90[_0x51e617([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x57d7e1(_0x484961[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x51e617([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x11df90[_0x51e617([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x57d7e1(_0x484961[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x51e617([0x54,0x72,0x69,0x61,0x6c])):_0x57d7e1(_0x484961[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x51e617([0x56,0x61,0x6c,0x69,0x64])):_0x57d7e1(_0x484961[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x51e617([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x3cd69a){return _0x57d7e1(_0x484961[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x51e617([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x51c0b0(_0x2b0aff,_0x3a764d){if(_0x5b0d16 instanceof _0x41baad){const _0x5a59a5=_0x5b0d16;_0x2b0aff==_0x3a764d[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x51e617([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x11d9c4(_0x5a59a5):_0x2b0aff==_0x3a764d[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x51e617([0x54,0x72,0x69,0x61,0x6c])&&window[_0x51e617([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x11d9c4(_0x5a59a5),_0x57d7e1(_0x3a764d[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x51e617([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x5b62ed[0x6]*_0xd61206[0x8]*_0xd61206[0x6]),_0x5a59a5[_0x51e617([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x51e617([0x6f,0x6e])](_0x51e617([0x61,0x64,0x64]),(_0x5db219,_0x9d4ac4)=>{_0x2b0aff!=_0x3a764d[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x51e617([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x2b0aff!=_0x3a764d[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x51e617([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x2b0aff!=_0x3a764d[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x51e617([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x10e29c(_0x9d4ac4);});}else{const _0x492f10=_0x5b0d16;_0x2b0aff==_0x3a764d[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x51e617([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x10e29c(_0x492f10):_0x2b0aff==_0x3a764d[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x51e617([0x54,0x72,0x69,0x61,0x6c])&&_0x492f10[_0x51e617([0x6f,0x6e])](_0x51e617([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x587ce7=0x0;_0x492f10[_0x51e617([0x6d,0x6f,0x64,0x65,0x6c])][_0x51e617([0x6f,0x6e])](_0x51e617([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x23656b,_0x252ee1)=>{_0x252ee1[0x0][_0x51e617([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x587ce7++,0x1f8===_0x587ce7&&(_0x10e29c(_0x492f10),_0x57d7e1(_0x3a764d[_0x51e617([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x51e617([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x23656b[_0x51e617([0x6f,0x66,0x66])]());},{'priority':_0x51e617([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x57d7e1(_0x143579){const _0x2df05f=_0x141a24();return _0x5b0d16[_0x2df05f]=_0x143579,_0x143579;}function _0x141a24(){const _0x3e06d7=String(window[_0x51e617([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x51e617([0x6e,0x6f,0x77])]())[_0x51e617([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x51e617([0x2e]),'');let _0x51ee7b='';for(let _0x2467ac=0x0;_0x2467ac<_0x3e06d7[_0x51e617([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2467ac+=0x2){let _0x1815bf=parseInt(_0x3e06d7[_0x51e617([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2467ac,_0x2467ac+0x2));_0x1815bf>=_0x186ef1[_0x51e617([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1815bf-=_0x186ef1[_0x51e617([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x51ee7b+=_0x186ef1[_0x1815bf];}return _0x51ee7b;}function _0x11d9c4(_0x384fda){for(const _0x234c29 of _0x384fda[_0x51e617([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x10e29c(_0x234c29);_0x23c7d7(_0x384fda,_0x51e617([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x51e617([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x23c7d7(_0x384fda,_0x51e617([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x51e617([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x2778e5;}function _0x10e29c(_0x14e641){function _0x3adab7(){_0x14e641[_0x51e617([0x6d,0x6f,0x64,0x65,0x6c])][_0x51e617([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2778e5,_0x14e641[_0x51e617([0x6d,0x6f,0x64,0x65,0x6c])][_0x51e617([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2778e5,_0x14e641[_0x51e617([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x51e617([0x6d,0x6f,0x64,0x65,0x6c]));}_0x14e641[_0x51e617([0x73,0x74,0x61,0x74,0x65])]==_0x51e617([0x72,0x65,0x61,0x64,0x79])?_0x3adab7():_0x14e641[_0x51e617([0x6f,0x6e,0x63,0x65])](_0x51e617([0x72,0x65,0x61,0x64,0x79]),()=>_0x3adab7());}function _0x2778e5(){return null;}function _0x2d2c9e(_0x3e822b,_0x5f3fa2){const _0x3ef3f5=!!(_0x3e822b&_0x5f3fa2[_0x51e617([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x1a59cf=_0x34c8e7(_0x3e822b,_0x5f3fa2);return _0x3ef3f5||_0x1a59cf;}function _0x34c8e7(_0x89c28c,_0xdace2a){const _0x1ec529=(_0xdace2a[_0x51e617([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x51e617([0x66,0x67,0x69])]||null;return!!_0x1ec529&&_0x8af993[_0x51e617([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x511e47=>_0x1ec529[_0x51e617([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x511e47[_0x51e617([0x69,0x64])]))[_0x51e617([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4296db=>!_0x1108f4(_0x4296db))[_0x51e617([0x73,0x6f,0x6d,0x65])](_0x3f9731=>!!(_0x89c28c&_0x3f9731[_0x51e617([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x1108f4(_0x212002){const _0x37bc5f={[_0x51e617([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])]:_0x3aec43};return!!_0x212002['forbiddenHandler']&&_0x37bc5f[_0x212002['forbiddenHandler']]();}function _0x3aec43(){return!window[_0x51e617([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x44030a(_0x5b0d16,_0x51e617([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x26f2d1(_0x45d671){if(!_0x44030a(_0x5b0d16,_0x45d671[_0x51e617([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x179b63=_0x45d671[_0x51e617([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0xe2b45d=_0x179b63[_0x51e617([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x410d06=_0x179b63[_0x51e617([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x5565f9=_0x179b63[_0x51e617([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x44030a(_0x5b0d16,_0x51e617([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x23c7d7(_0x5b0d16,_0x51e617([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x51e617([0x73,0x74,0x61,0x74,0x65])]==_0x51e617([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0xe2b45d)return!0x0;if(_0x44030a(_0x5b0d16,_0x51e617([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x23c7d7(_0x5b0d16,_0x51e617([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x51e617([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x51e617([0x65,0x6e,0x64])&&_0x410d06)return!0x0;return!(!_0x44030a(_0x5b0d16,_0x51e617([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]))||_0x23c7d7(_0x5b0d16,_0x51e617([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]))[_0x51e617([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x51e617([0x65,0x6e,0x64])||!_0x5565f9);}function _0x44030a(_0x2f4225,_0x4c6b06){return _0x2f4225[_0x51e617([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x51e617([0x68,0x61,0x73])](_0x4c6b06);}function _0x23c7d7(_0x4e3f4e,_0xcd4ec0){return _0x4e3f4e[_0x51e617([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x51e617([0x67,0x65,0x74])](_0xcd4ec0);}function _0x447887(_0x131150){let _0x398f5b='';for(const _0x44efd1 of _0x131150)_0x398f5b+=String[_0x51e617([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x44efd1);return _0x398f5b;}function _0x543418(_0x1747d6){const _0x597e25=new Uint8Array(_0x1747d6[_0x51e617([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x37e4af=0x0;_0x37e4af<_0x1747d6[_0x51e617([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37e4af++)_0x597e25[_0x37e4af]=_0x1747d6[_0x51e617([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x37e4af);return _0x597e25;}_0x2813d6&&_0x232d4e(_0x906403(_0x2a5ade),_0x2813d6);})(_0x2d2b66);}(this);}['createRevision'](_0x36a480){const _0x3c8c05=this['editor']['plugins']['get']('Users');return new a({'id':_0x36a480['id'],'name':_0x36a480['name'],'creator':_0x36a480['creatorId']?_0x3c8c05['getUser'](_0x36a480['creatorId']):null,'diffData':_0x36a480['diffData']||_0x36a480['data'],'authors':_0x36a480['authorsIds']['map'](_0x114573=>_0x3c8c05['getUser'](_0x114573)),'createdAt':new Date(_0x36a480['createdAt']),'attributes':_0x36a480['attributes'],'fromVersion':_0x36a480['fromVersion'],'toVersion':_0x36a480['toVersion']});}['addRevision'](_0x3db344,_0x465610=0x0){this['_revisions']['add'](_0x3db344,_0x465610);}['getRevision'](_0x5a7b8f){return this['_revisions']['get'](_0x5a7b8f);}['getRevisions'](_0x371f24={'toJSON':!0x1}){const _0x53630e=Array['from'](this['_revisions']);return _0x53630e['reverse'](),_0x371f24['toJSON']?_0x53630e['map'](_0x5b2ba6=>_0x5b2ba6['toJSON']()):_0x53630e;}['getIndex'](_0x33ba99){return this['_revisions']['getIndex'](_0x33ba99);}['getEarlierVisibleRevision'](_0x11b855){const [,_0x2ca072]=this['getRevisionsIterator'](_0x11b855,{'direction':'earlier'});return _0x2ca072;}['getLaterVisibleRevision'](_0x490b24){const [,_0x3f2cea]=this['getRevisionsIterator'](_0x490b24,{'direction':'later'});return _0x3f2cea;}['getRevisionsInDiff'](_0x2f43a8){const _0x129620=[];for(const _0x109e36 of this['getRevisionsIterator'](_0x2f43a8['newRevisionId']))if(_0x129620['push'](_0x109e36),_0x109e36['id']===_0x2f43a8['oldRevisionId'])break;return _0x129620;}*['getRevisionsIterator'](_0x1109d2,{direction:_0x53b169='earlier',filter:_0x54fd86=_0x12f8aa=>!0x0}={}){const _0xfab913='earlier'===_0x53b169?0x1:-0x1;let _0x4ab58=this['_revisions']['get'](_0x1109d2),_0x3f9bec=this['getIndex'](_0x4ab58);for(yield _0x4ab58;_0x4ab58;){if(_0x3f9bec+=_0xfab913,_0x4ab58=this['getRevision'](_0x3f9bec),!_0x4ab58)return;_0x54fd86(_0x4ab58)&&(yield _0x4ab58);}}}function y(_0x52ea50,_0x390bd1,_0xfe448a){const t=_0x52ea50['t'];switch(_0x390bd1){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'},_0xfe448a);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0xfe448a);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x247ba3,'a':_0x419515,'e':_0x5ecbf5,'r':_0x269589,'u':_0x3fbea8};class l extends _0x4d5a42{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x529364,A,_0x15798f];}constructor(_0xeaf237){super(_0xeaf237),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 _0x555a50=_0x12278d();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x555a50},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 _0x566b51=this['repository']['getRevision'](0x0),_0x1a59a7=_0x566b51&&null===_0x566b51['creator']?_0x566b51:null;if(this['_continueCurrentRevision']=!!_0x1a59a7&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x3c0380=this['_source']['getCurrentRevisionId'](),_0x38450b=this['repository']['getRevision'](_0x3c0380);if(_0x38450b)this['_startingVersion']=_0x38450b['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x1f8e3f=this['_source']['history']['_operations']['find'](_0x25318b=>!_0x25318b['_isInit']),_0x28cac1=_0x1f8e3f?_0x1f8e3f['baseVersion']:this['_source']['history']['version'];_0x566b51?(_0x566b51['toVersion']<_0x28cac1&&_0x566b51['_update']({'toVersion':_0x28cac1}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x1a59a7['id'],this['_startingVersion']=_0x1a59a7['fromVersion']):(this['_startingVersion']=_0x566b51['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x28cac1,this['_continueCurrentRevision']=!0x1);}}else _0x1a59a7&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x1a59a7['toVersion'],this['editor']['model']['document']['history']['version']),_0x1a59a7['fromVersion']===_0x1a59a7['toVersion']?(0x0!==_0x1a59a7['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x1a59a7['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x1a59a7['id'],this['_startingVersion']=_0x1a59a7['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',_0x5b8961=>!_0x5b8961);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x5736f8=this['repository']['getRevision'](0x0),_0x44675b=await this['getRevisionDocumentData'](_0x5736f8),_0xc481e3=await this['getRevisionRootsAttributes'](_0x5736f8);this['_replaceEditorDataWithRevisionData'](_0x44675b,_0xc481e3);}}['setSource'](_0x498035){this['_source']=_0x498035;}async['update'](){const _0x27eb11=await this['_source']['getLatestVersion']();if(_0x27eb11>this['currentRevision']['toVersion']){await this['_loadState']();const _0x2865e6=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x27eb11});_0x2865e6['authors']=_0x2865e6['authorsIds']['map'](_0x1bec1a=>this['editor']['plugins']['get']('Users')['getUser'](_0x1bec1a)),this['currentRevision']['_update'](_0x2865e6);}}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'](_0x521b8d={},_0xba7e3f=null){const _0x48d878=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0xba7e3f>this['currentRevision']['toVersion']&&(_0xba7e3f=null),null===_0xba7e3f&&(_0xba7e3f=await this['_source']['getLatestVersion']());const _0x17501b=this['_getFromVersion'](_0xba7e3f),_0x2d593d=this['buildRevisionData']({'from':_0x17501b,'to':_0xba7e3f});if(this['currentRevision']['toVersion']<_0xba7e3f){const _0x4b577a=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0xba7e3f,'to':_0xba7e3f});_0x4b577a['authors']=[],_0x4b577a['authorsIds']=[],_0x4b577a['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x4b577a,!0x0),delete _0x4b577a['authors'],_0x48d878['push'](_0x4b577a);}_0x521b8d['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x521b8d['name']=_0x521b8d['name']||null,_0x521b8d['id']=_0x521b8d['id']||_0x12278d(),_0x521b8d={..._0x521b8d,..._0x2d593d};const _0x405af4=this['addRevisionData'](_0x521b8d);_0x48d878['push'](_0x521b8d);const _0x1fbda0=this['repository']['getIndex'](_0x405af4);if(0x0!==_0x1fbda0){const _0x83ec02=this['repository']['getRevision'](_0x1fbda0-0x1);if(_0x83ec02['fromVersion']!==_0xba7e3f){const _0x453ad6=this['_revisionDataBuilder']['getData'](_0xba7e3f,_0x83ec02['toVersion']),_0x595121={'id':_0x83ec02['id'],'diffData':_0x453ad6['diffData'],'authorsIds':_0x453ad6['authorsIds'],'authors':_0x453ad6['authorsIds']['map'](_0x13b4ff=>this['editor']['plugins']['get']('Users')['getUser'](_0x13b4ff)),'fromVersion':_0xba7e3f};_0x83ec02===this['currentRevision']&&(_0x595121['createdAt']=new Date(_0x521b8d['createdAt']['getTime']()+0xa)),_0x83ec02['_update'](_0x595121,!0x0),delete _0x595121['authors'],_0x48d878['push'](_0x595121);}}if(this['adapter']){for(const _0x8ca76e of _0x48d878)this['_bufferUpdate'](_0x8ca76e['id'],_0x8ca76e,!0x0);this['sendBufferedUpdates']();}return _0x405af4;}['addRevisionData'](_0x2bca94){const _0xc45bf7=this['repository']['createRevision'](_0x2bca94);return this['adapter']&&_0xc45bf7['on']('_update',(_0x4b7cef,_0x137422,_0x40ea34)=>{_0x40ea34||(this['_bufferUpdate'](_0x137422['id'],_0x137422,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0xc45bf7,this['_findInsertionIndex'](_0xc45bf7)),_0xc45bf7;}async['getRevisionDocumentData'](_0x1ef17c){await this['_loadRevisionData'](_0x1ef17c);const _0x3cea23={};for(const _0x49872a in _0x1ef17c['diffData']){if(_0x1ef17c['diffData'][_0x49872a]['attachChange']&&!_0x1ef17c['diffData'][_0x49872a]['attachChange']['isAttached'])continue;const _0x3205df=this['_removeRevisionMarkers'](JSON['parse'](_0x1ef17c['diffData'][_0x49872a]['insertions'])),_0x512f16=this['editor']['editing']['view']['document'],_0x3a845f=new _0x5996a8(_0x512f16,_0x3205df['map'](_0x4937b4=>B(_0x4937b4,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x3cea23[_0x49872a]=this['editor']['data']['processor']['toData'](_0x3a845f),this['editor']['data']['processor']['useFillerType']('default');}return _0x3cea23;}async['getRevisionRootsAttributes'](_0x3f50d9){await this['_loadRevisionData'](_0x3f50d9);const _0x18d28a={};for(const _0x363b4f in _0x3f50d9['diffData'])_0x3f50d9['diffData'][_0x363b4f]['attachChange']&&!_0x3f50d9['diffData'][_0x363b4f]['attachChange']['isAttached']||(_0x18d28a[_0x363b4f]=_0x3f50d9['diffData'][_0x363b4f]['attributesAfter']||{});return _0x18d28a;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x59a0dc=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x16089a=0x0;_0x16089a<_0x59a0dc['length'];_0x16089a++){const _0x3350be=_0x59a0dc[_0x16089a];let _0x13e1c5=!0x1;for(const _0x306759 of Object['keys'](_0x3350be))void 0x0===_0x3350be[_0x306759]?delete _0x3350be[_0x306759]:'id'!==_0x306759&&(_0x13e1c5=!0x0);_0x13e1c5||(_0x59a0dc[_0x16089a]=null);}if(_0x59a0dc=_0x59a0dc['filter'](_0x5d0581=>null!==_0x5d0581),!_0x59a0dc['length'])return;for(let _0x94a735=0x0;_0x94a735<_0x59a0dc['length'];_0x94a735++){const _0x512fd9=_0x59a0dc[_0x94a735];void 0x0!==_0x512fd9['fromVersion']&&void 0x0===_0x512fd9['toVersion']&&(_0x512fd9['toVersion']=this['repository']['getRevision'](_0x512fd9['id'])['toVersion']),void 0x0!==_0x512fd9['toVersion']&&void 0x0===_0x512fd9['fromVersion']&&(_0x512fd9['fromVersion']=this['repository']['getRevision'](_0x512fd9['id'])['fromVersion']);}const _0x4f9aee=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x59a0dc,_0x4f9aee)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x56cc03=>{if(_0x56cc03){for(const _0x30353d of _0x56cc03)this['setRevisionData']({'id':_0x30353d['id'],'createdAt':_0x30353d['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x1b4657,_0x7cc295){let _0x120bff=this['editor']['config']['get']('initialData'),_0x49a7f5=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x120bff){_0x120bff={};for(const _0x27d1dc of this['editor']['model']['document']['getRootNames']())_0x120bff[_0x27d1dc]='';}if('string'==typeof _0x120bff&&(_0x120bff={'main':_0x120bff}),void 0x0===_0x49a7f5){_0x49a7f5={};for(const _0x5dd9b5 of this['editor']['model']['document']['getRootNames']())_0x49a7f5[_0x5dd9b5]={};}let _0x1b0f90=!0x1;const _0x17752b=Object['keys'](_0x120bff),_0x2e6404=Object['keys'](_0x1b4657);for(const _0x1d8252 of _0x17752b){if(_0x120bff[_0x1d8252]!==_0x1b4657[_0x1d8252]&&''!==_0x120bff[_0x1d8252]['trim']()){_0x1b0f90=!0x0;break;}if(!_0x293674(_0x49a7f5[_0x1d8252],_0x7cc295[_0x1d8252])&&Object['keys'](_0x49a7f5[_0x1d8252])['length']>0x0){_0x1b0f90=!0x0;break;}}_0x1b0f90||(_0x1b0f90=_0x2e6404['some'](_0xa2f773=>!this['editor']['model']['document']['getRoot'](_0xa2f773))),_0x1b0f90&&_0x43ec1a('editor-initial-data-replaced-with-revision-data',{'editorData':_0x120bff,'editorRootsAttributes':_0x49a7f5,'revisionData':_0x1b4657,'revisionRootsAttributes':_0x7cc295}),this['editor']['config']['set']('initialData',_0x1b4657),this['editor']['config']['set']('rootsAttributes',_0x7cc295);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x114a73=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x114a73['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x5c8438){const _0xd9e4ea=this['repository']['getRevisions']();_0xd9e4ea['reverse']();let _0x3e271b=0x0;for(;_0x3e271b<_0xd9e4ea['length'];){const _0x211095=_0xd9e4ea[_0x3e271b];if(_0x211095===this['currentRevision']){_0x3e271b++;continue;}if(_0x211095['id']===this['_initialRevisionId'])break;const _0x295518=_0x5c8438['toVersion']-_0x211095['toVersion']||_0x5c8438['fromVersion']-_0x211095['fromVersion'];if(_0x295518>0x0)break;if(_0x295518<0x0)_0x3e271b++;else{if(!_0x5c8438['creator']&&_0x211095['creator'])break;if(_0x211095['creator']||!_0x5c8438['creator']){if(_0x5c8438['createdAt']>_0x211095['createdAt'])break;_0x3e271b++;}else _0x3e271b++;}}return _0x3e271b;}['setRevisionData'](_0x29810d){const _0x134381=this['repository']['getRevision'](_0x29810d['id']);if(_0x29810d['createdAt']&&(_0x29810d['createdAt']=new Date(_0x29810d['createdAt'])),_0x29810d['authorsIds']){const _0x56e23f=this['editor']['plugins']['get']('Users');_0x29810d['authors']=_0x29810d['authorsIds']['map'](_0xf46471=>_0x56e23f['getUser'](_0xf46471));}_0x134381['_update'](_0x29810d,!0x0);}['buildRevisionData']({revision:_0x2d6d08=null,from:_0x3903fe=null,to:_0x2fb6b0=null}){_0x3903fe=null!==_0x3903fe?_0x3903fe:_0x2d6d08['fromVersion'],_0x2fb6b0=null!==_0x2fb6b0?_0x2fb6b0:_0x2d6d08['toVersion'];const _0x4ff12d=this['_revisionDataBuilder']['getData'](_0x3903fe,_0x2fb6b0),_0x1745fe={'diffData':_0x4ff12d['diffData'],'authorsIds':_0x4ff12d['authorsIds'],'fromVersion':_0x3903fe,'toVersion':_0x2fb6b0};if(!_0x2d6d08||_0x2fb6b0!==_0x2d6d08['toVersion']){const _0x4d2371=_0x2fb6b0-0x1,_0x24757f=this['_source']['history']['getOperation'](_0x4d2371);_0x1745fe['createdAt']=_0x24757f&&_0x24757f['createdAt']||new Date();}if(this['_loadedStateData']&&_0x3903fe===this['_loadedStateData']['fromVersion']){for(const _0x471b27 of this['_loadedStateData']['authors'])_0x1745fe['authorsIds']['includes'](_0x471b27['id'])||_0x1745fe['authorsIds']['push'](_0x471b27['id']);}return _0x1745fe;}['_loadRevisionData'](_0x322114){if(!_0x322114||_0x322114['diffData'])return Promise['resolve']();{const _0x50a20d=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x50a20d,'revisionId':_0x322114['id']})['then'](_0x59c875=>{_0x322114['diffData']=_0x59c875['diffData'];});}}['_bufferUpdate'](_0xbc0dbe,_0x42cbcb,_0x4d1b3b){if(this['_bufferedUpdates']['has'](_0xbc0dbe)){const _0x496cf6=this['_bufferedUpdates']['get'](_0xbc0dbe);_0x42cbcb=_0x4d1b3b?{..._0x496cf6,..._0x42cbcb}:{..._0x42cbcb,..._0x496cf6};}this['_bufferedUpdates']['set'](_0xbc0dbe,_0x42cbcb);}['_getFromVersion'](_0x3457c3){const _0x19fbcd=this['repository']['getRevisions']();_0x19fbcd['reverse'](),_0x19fbcd['shift']();const _0x19902c=_0x19fbcd['find'](_0x40c4b7=>_0x40c4b7['toVersion']<=_0x3457c3)['toVersion'];return _0x19902c<this['_startingVersion']?this['_startingVersion']:_0x19902c;}['_createInitialRevision'](_0x2730d0){const _0x53d51c=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x53d51c)this['_initialRevisionId']=_0x53d51c['id'];else{const _0x3293db=!this['editor']['model']['document']['roots']['find'](_0x466194=>this['editor']['model']['hasContent'](_0x466194)),_0x5ca8ef=this['editor']['plugins']['get']('Users')['me']['id'],_0x1927e8=y(this['editor']['locale'],_0x3293db?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x2730d0,'to':_0x2730d0,'id':this['_initialRevisionId'],'name':_0x1927e8,'creatorId':_0x5ca8ef});}}['_createCurrentRevision'](_0x565021){const _0x3a4294=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x3a4294),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x565021,'to':_0x565021,'id':_0x3a4294,'name':'','creatorId':null}));}['_makeRevision']({name:_0x577646,from:_0x4bd838,to:_0x50cb74,creatorId:_0x4440e8,id:_0x42b4df}){const _0x42bcba=this['buildRevisionData']({'from':_0x4bd838,'to':_0x50cb74});_0x42bcba['name']=_0x577646,_0x42bcba['creatorId']=_0x4440e8,_0x42bcba['id']=_0x42b4df;const _0x15f1a9=this['addRevisionData'](_0x42bcba);return this['adapter']&&this['_bufferUpdate'](_0x42bcba['id'],_0x42bcba,!0x0),_0x15f1a9;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0xc2797e){return(_0xc2797e=_0xc2797e['filter'](_0x1b3174=>!_0x1b3174['name']||'revision-start'!==_0x1b3174['name']&&'revision-end'!==_0x1b3174['name']))['forEach'](_0x4b4fae=>{'string'!=typeof _0x4b4fae&&(_0x4b4fae['children']=this['_removeRevisionMarkers'](_0x4b4fae['children']),_0x4b4fae['attributes']=_0x4b4fae['attributes']['filter'](_0x4cd983=>!_0x4cd983[0x0]['startsWith']('data-revision-')));}),_0xc2797e;}}function B(_0xa7a08c,_0x501f44){const _0x5744e4=_0x501f44['editing']['view']['document'];if('string'==typeof _0xa7a08c)return new _0x50935a(_0x5744e4,_0xa7a08c);{const _0x27990e=_0xa7a08c['children']['map'](_0x2e7407=>B(_0x2e7407,_0x501f44));return new(T[_0xa7a08c['type']]||_0x2f891b)(_0x5744e4,_0xa7a08c['name'],_0xa7a08c['attributes'],_0x27990e);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x442659){this['editor']=_0x442659,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'](_0x57d9c0){this['source']=_0x57d9c0;const _0x4cc40f=new Map(),_0xda1e9=new Map(),_0x10d2e7=this['editor']['model']['document']['roots']['map'](_0x219035=>_0x219035['rootName']);for(const _0x1527f1 of _0x10d2e7){const _0x38b7a2=this['editor']['model']['document']['getRoot'](_0x1527f1),_0x5ed978=q(_0x38b7a2);_0x4cc40f['set'](_0x1527f1,_0x5ed978),_0xda1e9['set'](_0x1527f1,Object['fromEntries'](_0x38b7a2['getAttributes']()));}const _0x3a4178=Array['from'](this['editor']['model']['markers'])['map'](_0xaadd39=>[_0xaadd39['name'],_0xaadd39['getRange']()]),_0x2ac90c=this['source']['version'];this['_saveMetaData'](_0x2ac90c,_0x4cc40f,_0x3a4178,_0xda1e9),this['_startingRevisionId']=this['_revisionId'];const _0x197832=new Map(),_0x26f782=new Map();for(const _0x44c3d7 of _0x10d2e7){const _0x2eece5=G(_0x44c3d7);_0x197832['set'](_0x44c3d7,_0x2eece5),_0x26f782['set'](_0x44c3d7,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x197832,[],_0x26f782);}['getData'](_0x2a8ac1,_0x3d6b6c){if(this['_lastFrom']===_0x2a8ac1&&this['_lastTo']<=_0x3d6b6c)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x3d6b6c,!0x0);else{if(!this['_savedMetaData']['has'](_0x2a8ac1)){const _0x5a2bb8=this['_getPreviousFrom'](_0x2a8ac1);this['_calculateMetaData'](_0x5a2bb8,_0x2a8ac1,!0x1);}this['_calculateMetaData'](_0x2a8ac1,_0x3d6b6c,!0x0);}return this['_lastFrom']=_0x2a8ac1,this['_lastTo']=_0x3d6b6c,this['_getState']();}['loadState'](_0x143d0f){this['_reset'](),this['_lastFrom']=_0x143d0f['fromVersion'],this['_lastTo']=_0x143d0f['toVersion'];for(const _0x5b3e34 in _0x143d0f['diffData']){const _0x3ddda2=_0x143d0f['diffData'][_0x5b3e34]['attachChange'],_0x161c78=_0x1bcc9e(_0x143d0f['diffData'][_0x5b3e34]['attributesBefore'])||{},_0x24fd94=this['_makeModelFromViewString'](_0x143d0f['diffData'][_0x5b3e34]['deletions']);_0x24fd94['rootName']=_0x5b3e34,_0x24fd94['_isAttached']=!_0x3ddda2||!_0x3ddda2['isAttached'],_0x24fd94['isAttached']=()=>_0x24fd94['_isAttached'],this['_baseRoots']['set'](_0x5b3e34,_0x24fd94),this['_baseRootsAttributes']['set'](_0x5b3e34,_0x161c78),_0x3ddda2&&this['_touchedRoots']['set'](_0x5b3e34,_0x3ddda2);const _0x418d98=this['_makeIdsRoot'](_0x24fd94);this['_baseIdsRoots']['set'](_0x5b3e34,_0x418d98);for(const [_0x1ce733,_0x22ae6d]of _0x24fd94['markers']){if(!_0x1ce733['startsWith']('revision:'))continue;const _0xe3a473=_0x1ce733['split'](':')[0x2];for(const _0x433f20 of _0x22ae6d['getWalker']({'singleCharacters':!0x0})){const _0x14c304=this['_getVidAttributeName'](_0x433f20),_0x504980='elementEnd'==_0x433f20['type']?_0x433f20['previousPosition']['path']['slice'](0x0,-0x1):_0x433f20['previousPosition']['path'],_0x223a90=_0x418d98['getNodeByPath'](_0x504980)['getAttribute'](_0x14c304);this['_touched']['set'](_0x223a90,{'userId':_0xe3a473});}}}this['_startingRevisionId']=this['_revisionId'];const _0x50587c=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x357b47=>!this['_touched']['has'](_0x357b47));let _0x1e9b97=0x0;const _0x1e028f=new Map();for(const _0x5b6203 in _0x143d0f['diffData']){const _0x3da30e=_0x143d0f['diffData'][_0x5b6203]['attachChange'],_0x39183c=_0x1bcc9e(_0x143d0f['diffData'][_0x5b6203]['attributesAfter'])||{},_0x2374ee=this['_makeModelFromViewString'](_0x143d0f['diffData'][_0x5b6203]['insertions']);_0x2374ee['rootName']=_0x5b6203,_0x2374ee['_isAttached']=!_0x3da30e||_0x3da30e['isAttached'],_0x2374ee['isAttached']=()=>_0x2374ee['_isAttached'],this['_diffRoots']['set'](_0x5b6203,_0x2374ee),this['_diffRootsAttributes']['set'](_0x5b6203,_0x39183c);const _0x563613=this['_makeIdsRoot'](_0x2374ee,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x5b6203,_0x563613),_0x1e028f['set'](_0x5b6203,_0x2374ee['isAttached']()?_0x39183c:{});for(const [_0x1cea5d,_0x4c4ee]of _0x2374ee['markers']){if(!_0x1cea5d['startsWith']('revision:'))continue;const _0x27d854=_0x1cea5d['split'](':')[0x2];for(const _0x256250 of _0x4c4ee['getWalker']({'singleCharacters':!0x0})){const _0x5e6c04=this['_getVidAttributeName'](_0x256250),_0xceaae=this['_revisionId']++,_0x224640='elementEnd'==_0x256250['type']?_0x256250['previousPosition']['path']['slice'](0x0,-0x1):_0x256250['previousPosition']['path'];_0x563613['getNodeByPath'](_0x224640)['_setAttribute'](_0x5e6c04,_0xceaae),this['_touched']['set'](_0xceaae,{'userId':_0x27d854});}}for(const _0x4c9413 of this['editor']['model']['createRangeIn'](_0x2374ee)['getWalker']({'singleCharacters':!0x0})){const _0x4eef54=this['_getVidAttributeName'](_0x4c9413),_0x153b5f='elementEnd'==_0x4c9413['type']?_0x4c9413['previousPosition']['path']['slice'](0x0,-0x1):_0x4c9413['previousPosition']['path'],_0x560c3a=_0x563613['getNodeByPath'](_0x153b5f);_0x560c3a['getAttribute'](_0x4eef54)>0x0||_0x560c3a['_setAttribute'](_0x4eef54,_0x50587c[_0x1e9b97++]);}for(const [_0x4dc814,_0x121c4d]of _0x2374ee['markers'])_0x4dc814['startsWith']('revision:')||this['_markers']['set'](_0x4dc814,_0x121c4d);}const _0x8633a0=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x8633a0),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x8633a0,0x1));const _0xfc7b3c=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0xfc7b3c),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0xfc7b3c,0x1));const _0x39145d=Array['from'](this['_diffRoots'])['map'](([_0x14aa62,_0x41824a])=>[_0x14aa62,q(_0x41824a)]);this['_saveMetaData'](this['_lastTo'],_0x39145d,this['_markers'],_0x1e028f);}['_makeModelFromViewString'](_0x103231){const _0x41ca74=JSON['parse'](_0x103231),_0x434063=this['editor']['editing']['view']['document'],_0x45748b=new _0x5996a8(_0x434063,_0x41ca74['map'](_0x27c88d=>B(_0x27c88d,this['editor'])));return this['editor']['data']['toModel'](_0x45748b);}['_saveMetaData'](_0x34f1c7,_0xfda862,_0x21b25d,_0xca807c){const _0x1b6a50=new Map(_0xfda862),_0x570117=new Map(_0x1bcc9e(_0xca807c)),_0x569469=new Map();for(const [_0x485151,_0x14a265]of _0x21b25d)_0x569469['set'](_0x485151,{'start':_0x14a265['start']['clone'](),'end':_0x14a265['end']['clone'](),'rootName':_0x14a265['root']['rootName']});this['_savedMetaData']['set'](_0x34f1c7,{'roots':_0x1b6a50,'markers':_0x569469,'rootsAttributes':_0x570117});}['_removeMetaData'](_0x1cbb64){this['_savedMetaData']['delete'](_0x1cbb64);}['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'](_0x44a9ee,_0x80f030=null){let _0x316a15=null;_0x44a9ee['is']('documentFragment')||(_0x316a15=new ft(_0x44a9ee['name'],{'vid_start':null===_0x80f030?this['_revisionId']++:_0x80f030++}));const _0x49849f=[];for(const _0x22a2f5 of _0x44a9ee['getChildren']())if(_0x22a2f5['is']('element')){_0x49849f['push'](this['_makeIdsRoot'](_0x22a2f5,_0x80f030));const _0x447817=_0x49849f[_0x49849f['length']-0x1];null!==_0x80f030&&(_0x80f030=_0x447817['is']('element','$text')?_0x447817['getAttribute']('vid')+0x1:_0x447817['getAttribute']('vid_end')+0x1);}else{for(let _0x582d3a=0x0;_0x582d3a<_0x22a2f5['offsetSize'];_0x582d3a++)_0x49849f['push'](new ft('$text',{'vid':null===_0x80f030?this['_revisionId']++:_0x80f030++}));}if(_0x44a9ee['is']('documentFragment')){const _0x345b62=G(_0x44a9ee['rootName']);return _0x345b62['_insertChild'](0x0,_0x49849f),_0x345b62;}return _0x316a15['_setAttribute']('vid_end',null===_0x80f030?this['_revisionId']++:_0x80f030++),_0x316a15['_insertChild'](0x0,_0x49849f),_0x316a15;}['_calculateMetaData'](_0x571bb0,_0x51d0dd,_0x1f6a54){this['_reset']();const {roots:_0x1f08d9,markers:_0x5f2f92,rootsAttributes:_0x3127ac}=this['_savedMetaData']['get'](_0x571bb0);this['_baseRoots']=new Map(_0x1f08d9),this['_baseRootsAttributes']=new Map(_0x1bcc9e(_0x3127ac));for(const [_0x512af7,_0x597907]of this['_baseRoots'])if('$graveyard'!==_0x512af7&&(this['_diffRoots']['set'](_0x512af7,q(_0x597907)),this['_diffRootsAttributes']=new Map(_0x1bcc9e(_0x3127ac)),_0x1f6a54)){const _0x604fb3=this['_revisionId'];this['_idsRoots']['set'](_0x512af7,this['_makeIdsRoot'](_0x597907)),this['_baseIdsRoots']['set'](_0x512af7,this['_makeIdsRoot'](_0x597907,_0x604fb3));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x1f6a54&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x2ab9b2,_0x45d734]of _0x5f2f92){const _0x1971d1=this['_baseRoots']['get'](_0x45d734['rootName']),_0x3aa36c=this['_diffRoots']['get'](_0x45d734['rootName']),_0x278374=new vt(this['_fixPosition'](_0x45d734['start'],_0x1971d1),this['_fixPosition'](_0x45d734['end'],_0x1971d1)),_0x5303d5=this['_fixRange'](_0x278374,_0x3aa36c);_0x1971d1['markers']['set'](_0x2ab9b2,_0x278374),this['_markers']['set'](_0x2ab9b2,_0x5303d5);}this['_applyOperations'](_0x571bb0,_0x51d0dd,_0x1f6a54);}['_applyOperations'](_0x3ecc65,_0x2059b4,_0x47ee3a){for(const _0x5bd99c of this['source']['getOperations'](_0x3ecc65,_0x2059b4))this['_handleOperation'](_0x5bd99c,_0x47ee3a);for(const _0x4ee4d1 of this['_diffRoots']['values']())_0x4ee4d1['markers']['clear']();for(const [_0x58b533,_0x251acb]of this['_markers']){this['_diffRoots']['get'](_0x251acb['root']['rootName'])['markers']['set'](_0x58b533,_0x251acb['clone']());}const _0x51f58c=new Map(),_0x52c09b=new Map();for(const [_0x4bebfb,_0x3ca912]of this['_diffRoots'])_0x51f58c['set'](_0x4bebfb,q(_0x3ca912)),_0x52c09b['set'](_0x4bebfb,this['_diffRootsAttributes']['get'](_0x4bebfb));this['_saveMetaData'](_0x2059b4,_0x51f58c,this['_markers'],_0x52c09b);}['_getPreviousFrom'](_0x35477d){const _0x53a6fc=Array['from'](this['_savedMetaData']['keys']());_0x53a6fc['sort']((_0x41fa3b,_0x185204)=>_0x41fa3b-_0x185204),_0x53a6fc['reverse']();for(const _0x9550ff of _0x53a6fc)if(_0x9550ff<_0x35477d)return _0x9550ff;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x36c56b,_0x4565a8){const _0x42fad4=Array['from'](_0x4565a8['markers'])['map'](([_0x191138,_0x1c6851])=>[_0x191138,this['_fixRange'](_0x1c6851,_0x36c56b)]);_0x36c56b['markers']=new Map(_0x42fad4);}['_transformMarkers'](_0x10a820){for(const _0x2c025a of this['_markers']['values']()){const _0x534be4=_0x2c025a['getTransformedByOperation'](_0x10a820),_0x5308ef=vt['_createFromRanges'](_0x534be4);_0x2c025a['start']=_0x5308ef['start'],_0x2c025a['end']=_0x5308ef['end'];}}['_handleOperation'](_0x53f54f,_0x4f22a7){if('addRoot'==_0x53f54f['type']||'detachRoot'==_0x53f54f['type'])return void this['_handleRootOperation'](_0x53f54f,_0x4f22a7);if('insert'==_0x53f54f['type']){const _0x54122b=_0x53f54f['position']['root']['rootName'];this['_diffRoots']['has'](_0x54122b)||(this['_diffRoots']['set'](_0x54122b,G(_0x54122b,!0x0)),this['_diffRootsAttributes']['set'](_0x54122b,{}),_0x4f22a7&&this['_idsRoots']['set'](_0x54122b,G(_0x54122b,!0x0)));}else{if('addRootAttribute'==_0x53f54f['type']||'removeRootAttribute'==_0x53f54f['type']||'changeRootAttribute'==_0x53f54f['type'])return void this['_handleRootAttributeOperation'](_0x53f54f);}const _0x39a9cd=this['_cloneOperation'](_0x53f54f,this['_diffRoots']);if('marker'!==_0x53f54f['type']&&(_0x39a9cd['_execute'](),this['_transformMarkers'](_0x39a9cd)),_0x4f22a7)switch(_0x39a9cd['type']){case'insert':this['_handleInsertOperation'](_0x53f54f);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x53f54f);break;case'merge':this['_handleMergeOperation'](_0x53f54f);break;case'split':this['_handleSplitOperation'](_0x53f54f);break;case'marker':this['_handleMarkerOperation'](_0x53f54f);}}['_cloneOperation'](_0x9a6844,_0x25b1b6){const _0x551753=_0x9a6844['clone']();return _0x551753['_authorId']=_0x9a6844['_authorId'],this['_fixOperation'](_0x551753,_0x25b1b6),_0x551753;}['_getBaseVids'](_0xc5a3a8){return _0xc5a3a8['map'](_0x1e9900=>{const _0x36fc55=this['_getVidAttributeName'](_0x1e9900);return Number(_0x1e9900['item']['getAttribute'](_0x36fc55));});}['_generateTape'](_0x3c36d7,_0x4d0312){if(_0x3c36d7['is']('element','$text'))_0x4d0312['push']({'item':_0x3c36d7,'type':'text'});else{_0x3c36d7['is']('element')&&_0x4d0312['push']({'item':_0x3c36d7,'type':'elementStart'});for(const _0x3d3aa9 of _0x3c36d7['getChildren']())this['_generateTape'](_0x3d3aa9,_0x4d0312);_0x3c36d7['is']('element')&&_0x4d0312['push']({'item':_0x3c36d7,'type':'elementEnd'});}return _0x4d0312;}['_getState'](){const _0x3c3b4b=new Map(this['_touched']),_0x518985=new Map(_0x3c3b4b),_0x275395=new Map(),_0x23c1f1={'insertions':{},'deletions':{}},_0x18d8c4={'insertions':{},'deletions':{}},_0x278771=new Map(),_0x1e5331=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x1e5331['delete']('$graveyard');for(const _0x3b5ff1 of _0x1e5331){const _0x32f90a=this['_diffRoots']['get'](_0x3b5ff1)||G(_0x3b5ff1,!0x1),_0x3172e1=this['_baseRoots']['get'](_0x3b5ff1)||G(_0x3b5ff1,!0x1);_0x32f90a['isAttached']()||_0x3172e1['isAttached']()?(_0x23c1f1['insertions'][_0x3b5ff1]=q(_0x32f90a),_0x23c1f1['deletions'][_0x3b5ff1]=q(_0x3172e1),this['_copyMarkers'](_0x23c1f1['deletions'][_0x3b5ff1],_0x3172e1),this['_copyMarkers'](_0x23c1f1['insertions'][_0x3b5ff1],_0x32f90a),_0x18d8c4['insertions'][_0x3b5ff1]=this['_generateTape'](this['_idsRoots']['get'](_0x3b5ff1),[]),_0x18d8c4['deletions'][_0x3b5ff1]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x3b5ff1)||G(_0x3b5ff1,!0x1),[])):_0x1e5331['delete'](_0x3b5ff1);}for(const _0x26672a of _0x1e5331){const _0x45ddb6=_0x18d8c4['insertions'][_0x26672a];for(const _0x302308 of _0x45ddb6){const _0x3796b8=this['_getVidAttributeName'](_0x302308),_0x4b04fb=_0x302308['item']['getAttribute'](_0x3796b8);_0x518985['delete'](_0x4b04fb),_0x4b04fb>=this['_startingRevisionId']&&_0x275395['set'](_0x4b04fb,_0x3c3b4b['get'](_0x4b04fb));}}for(const _0x2ef9be of _0x1e5331){const _0x68cc7d=_0x18d8c4['insertions'][_0x2ef9be],_0x342481=this['_getBaseVids'](_0x18d8c4['deletions'][_0x2ef9be]);let _0x3a7200=0x0;for(const _0x41eccf of _0x68cc7d){const _0x576fe1=this['_getVidAttributeName'](_0x41eccf),_0x1226b8=_0x41eccf['item']['getAttribute'](_0x576fe1);if(!_0x275395['has'](_0x1226b8)&&!_0x278771['has'](_0x1226b8)){if(_0x518985['has'](_0x1226b8))_0x3a7200++;else{if(_0x1226b8!=_0x342481[_0x3a7200]){const _0x253db2=_0x3c3b4b['get'](_0x1226b8)||_0x3c3b4b['get'](_0x342481[_0x3a7200]);for(;_0x1226b8!=_0x342481[_0x3a7200];)_0x518985['has'](_0x342481[_0x3a7200])||(_0x278771['set'](_0x342481[_0x3a7200],_0x253db2),_0x3c3b4b['set'](_0x342481[_0x3a7200],_0x253db2)),_0x3a7200++;}_0x3a7200++;}}}}for(const _0x4becf7 of _0x1e5331){const _0x4abaac=_0x18d8c4['insertions'][_0x4becf7];for(const _0x51310e of _0x4abaac){const _0x1c4f1c=this['_getVidAttributeName'](_0x51310e),_0x4c273c=_0x51310e['item']['getAttribute'](_0x1c4f1c);if(_0x278771['has'](_0x4c273c)){const _0x372fd6=_0x278771['get'](_0x4c273c);_0x518985['has'](_0x4c273c)||_0x518985['set'](_0x4c273c,{..._0x372fd6}),_0x275395['set'](_0x4c273c,{..._0x372fd6});}}}for(const _0x16b5ba of _0x518985['keys']())_0x16b5ba>=this['_startingRevisionId']&&_0x518985['delete'](_0x16b5ba);const _0xa2cdf9=new Map();for(const _0x171b75 of _0x1e5331){let _0x146ec2=_0x18d8c4['insertions'][_0x171b75];for(const _0x50628b of _0x146ec2)if(_0x50628b['item']['is']('element','tableCell')){const _0x1a00ce=this['_getVidAttributeName'](_0x50628b),_0x16f529=_0x50628b['item']['getAttribute'](_0x1a00ce);if(_0x275395['has'](_0x16f529)){const _0x2e0046=_0x50628b['item']['parent']['parent']['getAttribute']('vid_start'),_0x3886b5=_0xa2cdf9['get'](_0x2e0046)||new Set();_0x3886b5['add'](_0x275395['get'](_0x16f529)['userId']),_0xa2cdf9['set'](_0x2e0046,_0x3886b5);}}_0x146ec2=_0x18d8c4['deletions'][_0x171b75];for(const _0x114600 of _0x146ec2)if(_0x114600['item']['is']('element','tableCell')){const _0x79b1a7=this['_getVidAttributeName'](_0x114600),_0x1a3c9f=_0x114600['item']['getAttribute'](_0x79b1a7);if(_0x518985['has'](_0x1a3c9f)){const _0x11f688=_0x114600['item']['parent']['parent']['getAttribute']('vid_start'),_0x3d7c86=_0xa2cdf9['get'](_0x11f688)||new Set();_0x3d7c86['add'](_0x518985['get'](_0x1a3c9f)['userId']),_0xa2cdf9['set'](_0x11f688,_0x3d7c86);}}for(const _0x12fc6a of _0xa2cdf9['keys']())(_0x275395['has'](_0x12fc6a)||_0x518985['has'](_0x12fc6a))&&_0xa2cdf9['delete'](_0x12fc6a);}for(const _0x415451 of _0x1e5331){const _0xc969c9=_0x18d8c4['insertions'][_0x415451];let _0x48e94b=null,_0x539140=null;for(const _0x27824d of _0xc969c9){const _0xb134be=this['_getVidAttributeName'](_0x27824d),_0x4ecee5=_0x27824d['item']['getAttribute'](_0xb134be),_0x374e3a=_0xa2cdf9['get'](_0x4ecee5);_0x374e3a&&'elementStart'==_0x27824d['type']&&(_0x48e94b=Array['from'](_0x374e3a)[0x0],_0x539140=_0x27824d['item']['getAttribute']('vid_end')),_0x48e94b&&(_0x518985['set'](_0x4ecee5,{'userId':_0x48e94b}),_0x275395['set'](_0x4ecee5,{'userId':_0x48e94b})),_0x4ecee5==_0x539140&&(_0x48e94b=null,_0x539140=null);}}const _0x44c9b8={},_0x4983bc=new Set();for(const _0x4404f0 of _0x1e5331){const _0x15b7a9=_0x23c1f1['deletions'][_0x4404f0],_0x1a5195=_0x23c1f1['insertions'][_0x4404f0];for(const {userId:_0x55cefd}of this['_touchedMarkers']['values']())null!==_0x55cefd&&_0x4983bc['add'](_0x55cefd);for(const {userId:_0x39b378}of this['_touchedRoots']['values']())null!==_0x39b378&&_0x4983bc['add'](_0x39b378);this['_markChanges'](_0x1a5195,_0x18d8c4['insertions'][_0x4404f0],_0x275395,'insertion',_0x4983bc),this['_markChanges'](_0x15b7a9,_0x18d8c4['deletions'][_0x4404f0],_0x518985,'deletion',_0x4983bc),_0x44c9b8[_0x4404f0]={'insertions':this['_prepareViewToSave'](_0x1a5195),'deletions':this['_prepareViewToSave'](_0x15b7a9),'attachChange':this['_touchedRoots']['get'](_0x4404f0)||null,'attributesBefore':_0x1bcc9e(this['_baseRootsAttributes']['get'](_0x4404f0))||{},'attributesAfter':_0x1bcc9e(this['_diffRootsAttributes']['get'](_0x4404f0))};}return{'diffData':_0x44c9b8,'authorsIds':Array['from'](_0x4983bc)};}['_processRootBeforeSave'](_0x172c7f){for(const [,_0xed629a]of _0x172c7f['markers']){const _0x480055=_0xed629a['start']['getAncestors']()['filter'](_0x4c8865=>'tableCell'==_0x4c8865['name']);for(const _0x46c3cc of _0x480055)0x1==_0x46c3cc['childCount']&&_0x46c3cc['getChild'](0x0)['is']('element','paragraph')&&_0x46c3cc['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x589140){this['_processRootBeforeSave'](_0x589140);const _0x954fbf=this['editor']['data']['toView'](_0x589140,{}),_0x5211a5=Array['from'](_0x954fbf['getChildren']())['map'](_0x51110a=>this['_getViewJson'](_0x51110a));return JSON['stringify'](_0x5211a5);}['_getViewJson'](_0x7e0fd3){if(_0x7e0fd3['is']('$text'))return _0x7e0fd3['data'];{const _0x2975dc=_0x7e0fd3;return{'type':Object['keys'](T)['find'](_0x509e1a=>_0x7e0fd3 instanceof T[_0x509e1a]),'name':_0x2975dc['name'],'attributes':Array['from'](_0x2975dc['getAttributes']()),'children':Array['from'](_0x2975dc['getChildren']())['map'](_0x3b9d42=>this['_getViewJson'](_0x3b9d42))};}}['_markChanges'](_0x4dcac8,_0x31b12e,_0x6aa8d5,_0x465e4d,_0x1bdf4f){let _0x5c2d10=null,_0x119dbd=null,_0x4e6a19=0x0;const _0x20d06c=this['editor']['model'];for(let _0x345c69=0x0;_0x345c69<_0x31b12e['length'];_0x345c69++){const _0x416310=this['_getVidAttributeName'](_0x31b12e[_0x345c69]),_0x50469f=_0x31b12e[_0x345c69]['item']['getAttribute'](_0x416310),_0x2210aa=_0x6aa8d5['get'](_0x50469f),_0x312aef=_0x345c69==_0x31b12e['length']-0x1;(!_0x5c2d10&&_0x2210aa&&(_0x5c2d10=_0x2210aa,_0x119dbd=_0x31b12e[_0x345c69]),_0x5c2d10&&(!_0x2210aa||_0x2210aa['userId']!=_0x5c2d10['userId']))&&(_0x4428f0(_0x2210aa,L(_0x119dbd,_0x4dcac8,_0x20d06c),L(_0x31b12e[_0x345c69],_0x4dcac8,_0x20d06c)),_0x5c2d10=_0x2210aa||null,_0x119dbd=_0x2210aa?_0x31b12e[_0x345c69]:null),_0x5c2d10&&_0x312aef&&_0x4428f0(_0x2210aa,L(_0x119dbd,_0x4dcac8,_0x20d06c),W(_0x31b12e[_0x345c69],_0x4dcac8,_0x20d06c));}function _0x4428f0(_0x1adda6,_0x54e69b,_0x20acb5){const _0x1c8102=_0x5c2d10['userId'],_0x40baf4='revision:'+_0x465e4d+':'+_0x1c8102+':'+_0x4e6a19++,_0x33c3ab=_0x20d06c['createRange'](_0x54e69b,_0x20acb5);_0x4dcac8['markers']['set'](_0x40baf4,_0x33c3ab),null!==_0x1c8102&&_0x1bdf4f['add'](_0x1c8102);}}['_getVidAttributeName'](_0x444352){switch(_0x444352['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x4e3b32,_0x3e1d95){_0x4e3b32['baseVersion']=null;for(const _0x369ea5 in _0x4e3b32){const _0x2e965=_0x4e3b32[_0x369ea5];if(_0x2e965 instanceof gt){const _0x34657b=_0x3e1d95['get'](_0x2e965['root']['rootName']);_0x4e3b32[_0x369ea5]=this['_fixPosition'](_0x2e965,_0x34657b);}if(_0x2e965 instanceof vt){const _0x4ce098=_0x3e1d95['get'](_0x2e965['root']['rootName']);_0x4e3b32[_0x369ea5]=this['_fixRange'](_0x2e965,_0x4ce098);}'root'===_0x369ea5&&(_0x4e3b32['root']=_0x3e1d95['get'](_0x4e3b32['root']['rootName']));}}['_fixRange'](_0x101f4b,_0x8ba591){return this['editor']['model']['createRange'](this['_fixPosition'](_0x101f4b['start'],_0x8ba591),this['_fixPosition'](_0x101f4b['end'],_0x8ba591));}['_fixPosition'](_0xc32dc,_0x34867f){return this['editor']['model']['createPositionFromPath'](_0x34867f,_0xc32dc['path'],_0xc32dc['stickiness']);}['_handleInsertOperation'](_0x5738d9){const _0x5e3abe=this['_idsRoots']['get'](_0x5738d9['position']['root']['rootName']),_0x495044=this['_fixPosition'](_0x5738d9['position'],_0x5e3abe),_0x198a62=null===_0x5738d9['_authorId']?null:_0x5738d9['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4559b9=_0x495044['parent'],_0xb61d96=this['_revisionId'],_0x5a2d94=[];for(const _0x10233b of _0x5738d9['nodes'])if(_0x10233b['is']('element'))_0x5a2d94['push'](this['_makeIdsRoot'](_0x10233b));else{for(let _0x231a37=0x0;_0x231a37<_0x10233b['offsetSize'];_0x231a37++)_0x5a2d94['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x4a22c7=this['_revisionId'];for(let _0x5a2b84=_0xb61d96;_0x5a2b84<_0x4a22c7;_0x5a2b84++)this['_touched']['set'](_0x5a2b84,{'userId':_0x198a62});_0x4559b9['_insertChild'](_0x495044['offset'],_0x5a2d94);}['_handleMoveOperation'](_0x29059f){(_0x29059f=this['_cloneOperation'](_0x29059f,this['_idsRoots']))['_execute']();const _0x3f72f1=null===_0x29059f['_authorId']?null:_0x29059f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3ecce3=_0x29059f['getMovedRangeStart'](),_0x500996=_0x3ecce3['parent'],_0x37cd79=_0x3ecce3['offset'];!function _0x51fd0b(_0x2186bc,_0x425bb2,_0x863401,_0x286bf8){for(let _0x9b398d=_0x863401;_0x9b398d<_0x286bf8;_0x9b398d++){const _0x580df2=_0x425bb2['getChild'](_0x9b398d);_0x580df2['is']('element','$text')?_0x2186bc['set'](_0x580df2['getAttribute']('vid'),{'userId':_0x3f72f1}):(_0x2186bc['set'](_0x580df2['getAttribute']('vid_start'),{'userId':_0x3f72f1}),_0x51fd0b(_0x2186bc,_0x580df2,0x0,_0x580df2['childCount']),_0x2186bc['set'](_0x580df2['getAttribute']('vid_end'),{'userId':_0x3f72f1}));}}(this['_touched'],_0x500996,_0x37cd79,_0x37cd79+_0x29059f['howMany']);}['_handleMergeOperation'](_0x3e9b4a){const _0x6233b1=null===(_0x3e9b4a=this['_cloneOperation'](_0x3e9b4a,this['_idsRoots']))['_authorId']?null:_0x3e9b4a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x17fedc=_0x3e9b4a['targetPosition']['parent'],_0x450def=_0x3e9b4a['sourcePosition']['parent'],_0x100179=_0x17fedc['getAttribute']('vid_end'),_0x17f4bf=_0x450def['getAttribute']('vid_start');_0x17fedc['_setAttribute']('vid_end',_0x450def['getAttribute']('vid_end')),_0x450def['_setAttribute']('vid_end',_0x100179),this['_touched']['set'](_0x17f4bf,{'userId':_0x6233b1}),this['_touched']['set'](_0x100179,{'userId':_0x6233b1}),_0x3e9b4a['_execute']();}['_handleSplitOperation'](_0xb3eff3){const _0x2dda04=null===(_0xb3eff3=this['_cloneOperation'](_0xb3eff3,this['_idsRoots']))['_authorId']?null:_0xb3eff3['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xe05ddc=_0xb3eff3['graveyardPosition'],_0x49a185=_0xb3eff3['splitPosition']['parent'];_0xb3eff3['_execute']();const _0x1caed4=_0x49a185['getAttribute']('vid_end'),_0x4616fc=_0xb3eff3['insertionPosition']['nodeAfter'];if(_0xe05ddc){const _0x598ad5=_0x4616fc['getAttribute']('vid_end'),_0x249925=_0x49a185['getAttribute']('vid_end');_0x49a185['_setAttribute']('vid_end',_0x598ad5),_0x4616fc['_setAttribute']('vid_end',_0x249925),this['_touched']['set'](_0x49a185['getAttribute']('vid_end'),{'userId':_0x2dda04}),this['_touched']['set'](_0x4616fc['getAttribute']('vid_start'),{'userId':_0x2dda04});}else{const _0xbdafcd=this['_revisionId']++,_0x1bad14=this['_revisionId']++;_0x49a185['_setAttribute']('vid_end',_0xbdafcd),_0x4616fc['_setAttribute']('vid_start',_0x1bad14),_0x4616fc['_setAttribute']('vid_end',_0x1caed4),this['_touched']['set'](_0xbdafcd,{'userId':_0x2dda04}),this['_touched']['set'](_0x1bad14,{'userId':_0x2dda04});}}['_handleMarkerOperation'](_0x52c8b0){if(!_0x52c8b0['affectsData'])return;const _0x54abac=(_0x52c8b0=this['_cloneOperation'](_0x52c8b0,this['_diffRoots']))['oldRange']?_0x52c8b0['oldRange']['root']:null,_0x3825f0=_0x52c8b0['newRange']?_0x52c8b0['newRange']['root']:null;_0x54abac&&this['_markers']['delete'](_0x52c8b0['name']),_0x3825f0&&this['_markers']['set'](_0x52c8b0['name'],_0x52c8b0['newRange']['clone']());const _0x51fea8=null===_0x52c8b0['_authorId']?null:_0x52c8b0['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3b54f9=_0x52c8b0['name'];if(!this['_touchedMarkers']['has'](_0x3b54f9))return void this['_touchedMarkers']['set'](_0x3b54f9,{'range':_0x52c8b0['oldRange'],'userId':_0x51fea8});const _0x5c11a4=this['_touchedMarkers']['get'](_0x3b54f9),_0x50bf67=_0x5c11a4['range'],_0x5a1978=_0x52c8b0['newRange'];null==_0x50bf67&&null==_0x5a1978||_0x50bf67&&_0x5a1978&&_0x50bf67['isEqual'](_0x5a1978)?this['_touchedMarkers']['delete'](_0x52c8b0['name']):_0x5c11a4['userId']=_0x51fea8;}['_handleRootOperation'](_0x26ba81,_0x2f9e45){this['_diffRoots']['has'](_0x26ba81['rootName'])?this['_diffRoots']['get'](_0x26ba81['rootName'])['_isAttached']=_0x26ba81['isAdd']:(this['_diffRoots']['set'](_0x26ba81['rootName'],G(_0x26ba81['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x26ba81['rootName'],{}),_0x2f9e45&&this['_idsRoots']['set'](_0x26ba81['rootName'],G(_0x26ba81['rootName'],!0x0)));const _0x20438e=null===_0x26ba81['_authorId']?null:_0x26ba81['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x450c2a=this['_touchedRoots']['get'](_0x26ba81['rootName']);_0x450c2a&&_0x450c2a['userId']===_0x20438e?this['_touchedRoots']['delete'](_0x26ba81['rootName']):this['_touchedRoots']['set'](_0x26ba81['rootName'],{'userId':_0x20438e,'isAttached':_0x26ba81['isAdd']});}['_handleRootAttributeOperation'](_0x1e374d){const _0x13a446=this['_diffRootsAttributes']['get'](_0x1e374d['root']['rootName']);null===_0x1e374d['newValue']?delete _0x13a446[_0x1e374d['key']]:_0x13a446[_0x1e374d['key']]=_0x1e374d['newValue'];}}function q(_0x24335e){const _0xd573d0=G(_0x24335e['rootName'],_0x24335e['isAttached']());for(const _0x589ba0 of _0x24335e['getChildren']()){const _0x1ea545=_0x589ba0['_clone'](!0x0);_0xd573d0['_appendChild'](_0x1ea545);}return _0xd573d0;}function G(_0x51eb94,_0x3abb8a=!0x0){const _0x4148ee=new wt();return _0x4148ee['rootName']=_0x51eb94,_0x4148ee['_isAttached']=_0x3abb8a,_0x4148ee['isAttached']=()=>_0x4148ee['_isAttached'],_0x4148ee;}function L(_0x460f92,_0x1a0874,_0xefef46){const _0x3ebd5e='elementEnd'==_0x460f92['type']?_0xefef46['createPositionAt'](_0x460f92['item'],'end'):_0xefef46['createPositionBefore'](_0x460f92['item']);return _0xefef46['createPositionFromPath'](_0x1a0874,_0x3ebd5e['path'],_0x3ebd5e['stickiness']);}function W(_0x51ff8e,_0xc1227f,_0x48434f){const _0x44db32='elementStart'==_0x51ff8e['type']?_0x48434f['createPositionAt'](_0x51ff8e['item'],0x0):_0x48434f['createPositionAfter'](_0x51ff8e['item']);return _0x48434f['createPositionFromPath'](_0xc1227f,_0x44db32['path'],_0x44db32['stickiness']);}class ns extends _0x51fed9{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x54c192,_0xbf91cb){super(_0x54c192),this['focusTracker']=new _0x18de0c(),this['keystrokes']=new _0x4c8ee6(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0xbf91cb),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'](),_0x1f6ce5({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x58c6a8=_0x1e20df=>_0x1e20df['stopPropagation']();this['keystrokes']['set']('arrowright',_0x58c6a8),this['keystrokes']['set']('arrowleft',_0x58c6a8),this['keystrokes']['set']('arrowup',_0x58c6a8),this['keystrokes']['set']('arrowdown',_0x58c6a8);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x296bb7){this['revisionNameInputView']['fieldView']['element']['value']=_0x296bb7['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x194fb9){const _0x2cbae0=new at(this['locale'],_0x35e422),_0x5a77c0=_0x2cbae0['fieldView'];_0x5a77c0['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x29c5a8=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x194fb9&&(_0x29c5a8+='\x20('+y(this['locale'],'optional')+')'),(_0x2cbae0['label']=_0x29c5a8,_0x5a77c0['on']('input',()=>{this['revisionNameInputValue']=_0x5a77c0['element']['value']['trim']();}),_0x2cbae0);}}class u extends _0x4d5a42{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x191eb0=this['editor'],_0x507ffc=_0x191eb0['plugins']['get']('RevisionTracker');_0x191eb0['ui']['componentFactory']['add']('revisionHistory',_0x4dbc7d=>{const _0x34558f=_0x53139c(_0x4dbc7d),_0x81f637=_0x34558f['panelView']['children'],_0x17fe79=new te(_0x4dbc7d),_0x3e4548=new _0x4c97af(_0x4dbc7d),_0x32a5ea=new _0x9ccdd(_0x4dbc7d),_0x252b72=new _0x4c97af(_0x4dbc7d),_0x384ea8=new _0x9ccdd(_0x4dbc7d);return _0x34558f['bind']('isEnabled')['to'](_0x507ffc,'isReady',_0x507ffc,'isEnabled',_0x191eb0,'isReadOnly',(_0x2a7137,_0x150e31,_0x27d3d0)=>_0x2a7137&&_0x150e31&&!_0x27d3d0),_0x34558f['buttonView']['set']({'icon':_0x292552['history'],'label':y(_0x4dbc7d,'Revision\x20history'),'tooltip':!0x0}),_0x32a5ea['set']({'label':y(_0x4dbc7d,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x32a5ea['bind']('isEnabled')['to'](_0x507ffc,'isReady',_0x507ffc,'isEnabled',_0x191eb0,'isReadOnly',(_0x173a35,_0x49cc94,_0x42d47e)=>_0x173a35&&_0x49cc94&&!_0x42d47e),_0x32a5ea['on']('execute',()=>this['_showDialog']()),_0x384ea8['set']({'label':y(_0x4dbc7d,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x384ea8['bind']('isEnabled')['to'](_0x507ffc,'isReady',_0x191eb0,'isReadOnly',(_0x5ea9dd,_0x14ca0f)=>_0x5ea9dd&&!_0x14ca0f),_0x384ea8['on']('execute',()=>{_0x191eb0['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x34558f['isOpen']=!0x1,_0x191eb0['editing']['view']['focus']();}),_0x3e4548['children']['add'](_0x32a5ea),_0x252b72['children']['add'](_0x384ea8),_0x17fe79['role']='menu',_0x17fe79['items']['addMany']([_0x3e4548,_0x252b72]),_0x81f637['add'](_0x17fe79),_0x34558f;}),_0x191eb0['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0xdd3630=this['editor'],_0x4ed8f4=_0xdd3630['locale'],_0xdd142d=new _0x4f360b(_0x4ed8f4),_0x303fbf=new _0xfb60b8(_0x4ed8f4);_0xdd142d['buttonView']['set']({'icon':_0x292552['history'],'label':y(_0x4ed8f4,'Revision\x20history')});const _0x4df52e=new _0x609f91(_0x4ed8f4,_0xdd142d),_0x29f9a2=new _0x528f28(_0x4ed8f4);_0x29f9a2['set']({'label':y(_0x4ed8f4,'Save\x20current\x20revision')}),_0x29f9a2['delegate']('execute')['to'](_0xdd142d),_0x29f9a2['on']('execute',()=>{this['_showDialog']();}),_0x4df52e['children']['add'](_0x29f9a2),_0x303fbf['items']['add'](_0x4df52e);const _0xc81add=new _0x609f91(_0x4ed8f4,_0xdd142d),_0x484baa=new _0x528f28(_0x4ed8f4);return _0x484baa['set']({'label':y(_0x4ed8f4,'Open\x20revision\x20history')}),_0x484baa['delegate']('execute')['to'](_0xdd142d),_0x484baa['on']('execute',()=>{_0xdd3630['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0xc81add['children']['add'](_0x484baa),_0x303fbf['items']['add'](_0xc81add),_0xdd142d['panelView']['children']['add'](_0x303fbf),_0xdd142d;}['_showDialog'](){const _0x50f120=this['editor'],_0x536e67=_0x50f120['locale'],_0x4e69af=_0x50f120['plugins']['get']('Dialog'),_0x197b9d=_0x50f120['plugins']['get']('RevisionTracker');function _0x4fae69(_0xc67d4e){_0x50f120['config']['get']('revisionHistory.requireRevisionName')&&''===_0xc67d4e['revisionName']?_0xc67d4e['revisionNameInputView']['errorText']=y(_0x536e67,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x50f120['plugins']['get'](l)['saveRevision']({'name':_0xc67d4e['revisionName']}),_0x4e69af['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x4fae69(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x4e69af['show']({'id':'revisionSave','title':y(_0x536e67,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x50f120['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x4e69af['hide']()},{'label':y(_0x50f120['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x22fe23){_0x22fe23['bind']('isEnabled')['to'](_0x197b9d,'isReady',_0x197b9d,'isEnabled',_0x50f120,'isReadOnly',(_0x49eac5,_0x24df14,_0x20ea3b)=>_0x49eac5&&_0x24df14&&!_0x20ea3b);},'onExecute':()=>_0x4fae69(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x5c759b=this['editor'],_0x44ae75=_0x5c759b['locale'];this['_saveRevisionFormView']=new ns(_0x44ae75,_0x5c759b['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x51fed9{['changeId'];['_model'];constructor(_0x5cc9b7,_0x119a7a){super(_0x5cc9b7),this['_model']=_0x119a7a,this['changeId']=_0x119a7a['id'];const _0x9d82e4=this['bindTemplate'],_0x374874=y(_0x5cc9b7,_0x119a7a['data']['isSuggestion']?'Suggested\x20by':'add'==_0x119a7a['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x119a7a['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x9d82e4['to']('type',_0x1735ea=>'ck-revision-change__'+_0x1735ea)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x374874}]},{'text':'\x20'+_0x119a7a['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x12a084(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x3a1795){super(),this['id']=_0x3a1795['id']||_0x12278d(),this['author']=_0x3a1795['author'],this['type']=_0x3a1795['type'],this['data']=_0x3a1795['data']||{},this['rootName']=_0x3a1795['rootName'],this['set']('createdAt',_0x3a1795['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(_0x5a31e4,_0x3b941b){this['newRevisionId']=_0x5a31e4,this['oldRevisionId']=_0x3b941b,this['changes']=new _0x58b11b();}['_setChanges'](_0x3b5999){for(const _0x551b02 of _0x3b5999)this['changes']['add'](_0x551b02);}}const tt={'c':_0x247ba3,'a':_0x419515,'e':_0x5ecbf5,'r':_0x269589,'u':_0x3fbea8};class d extends _0x4d5a42{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x529364,_0xc6369b,A];}constructor(_0x3da6da){super(_0x3da6da),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',(_0x3db25a,_0x1fa3a0,_0x426f67)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x5e4c1e=>{for(const _0x2d82b1 of this['editor']['editing']['view']['document']['roots'])_0x426f67?_0x5e4c1e['removeClass']('ck-editor__editable__overlay',_0x2d82b1):_0x5e4c1e['addClass']('ck-editor__editable__overlay',_0x2d82b1);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x52eb36=>null!==_0x52eb36),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x18833f,_0x8f6a83,_0xa0d0c4)=>_0x18833f&&_0xa0d0c4?_0x8f6a83['changes']['getIndex'](_0xa0d0c4):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x795d12,_0x2b97ea)=>_0x795d12?_0x2b97ea['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0xc6369b);}['init'](){const _0x4fffea=this['editor'],_0x1db9ca=new yt(_0x4fffea,{'direction':'backward'}),_0x4a325c=new yt(_0x4fffea,{'direction':'forward'});(_0x4fffea['commands']['add']('showPreviousChange',_0x1db9ca),_0x4fffea['commands']['add']('showNextChange',_0x4a325c),_0x4fffea['commands']['add']('restoreRevision',new bt(_0x4fffea)),this['on']('change:numberOfChanges',()=>{_0x1db9ca['refresh'](),_0x4a325c['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x4fffea['enableReadOnlyMode']('revision-viewer'),_0x4fffea['plugins']['has']('WidgetToolbarRepository'))&&_0x4fffea['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x4a475b){await this['loadRevisionData'](_0x4a475b);const _0x5a7b1a={};for(const _0x452183 in _0x4a475b['diffData']){if(_0x4a475b['diffData'][_0x452183]['attachChange']&&!_0x4a475b['diffData'][_0x452183]['attachChange']['isAttached'])continue;const _0xce41dd=this['_removeRevisionMarkers'](JSON['parse'](_0x4a475b['diffData'][_0x452183]['insertions'])),_0x2cba32=this['editor']['editing']['view']['document'],_0x5ca4ed=new _0x5996a8(_0x2cba32,_0xce41dd['map'](_0x4a65ce=>this['_getViewObj'](_0x4a65ce)));this['editor']['data']['processor']['useFillerType']('marked'),_0x5a7b1a[_0x452183]=this['editor']['data']['processor']['toData'](_0x5ca4ed),this['editor']['data']['processor']['useFillerType']('default');}return _0x5a7b1a;}async['getRevisionRootsAttributes'](_0x2163c6){await this['loadRevisionData'](_0x2163c6);const _0x1626f6={};for(const _0x4858d6 in _0x2163c6['diffData'])_0x2163c6['diffData'][_0x4858d6]['attachChange']&&!_0x2163c6['diffData'][_0x4858d6]['attachChange']['isAttached']||(_0x1626f6[_0x4858d6]=_0x2163c6['diffData'][_0x4858d6]['attributesAfter']||{});return _0x1626f6;}['_removeRevisionMarkers'](_0x5c50f6){return(_0x5c50f6=_0x5c50f6['filter'](_0x5a25f1=>!_0x5a25f1['name']||'revision-start'!==_0x5a25f1['name']&&'revision-end'!==_0x5a25f1['name']))['forEach'](_0x36f9cb=>{'string'!=typeof _0x36f9cb&&(_0x36f9cb['children']=this['_removeRevisionMarkers'](_0x36f9cb['children']),_0x36f9cb['attributes']=_0x36f9cb['attributes']['filter'](_0x5067b6=>!_0x5067b6[0x0]['startsWith']('data-revision-')));}),_0x5c50f6;}async['compare'](_0x57f01a,_0x48a6df,_0x334b4b=!0x1){if(!this['isEnabled'])return;const _0x40abc5=this['diff'],_0x25d45a=this['repository'],_0x3a5eec='string'==typeof _0x57f01a?_0x25d45a['getRevision'](_0x57f01a):_0x57f01a,_0xaf26d5='string'==typeof _0x48a6df?_0x25d45a['getRevision'](_0x48a6df):_0x48a6df,_0x27dd47=_0x3a5eec['id'],_0x304dc4=_0xaf26d5?_0xaf26d5['id']:null;if(!_0x334b4b&&this['diff']&&this['diff']['newRevisionId']===_0x27dd47&&this['diff']['oldRevisionId']===_0x304dc4)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x27dd47,_0x304dc4);const _0x1087a0=this['_getRevisionsRange'](_0x3a5eec,_0xaf26d5,!0x0)['map'](_0xb7fce8=>this['loadRevisionData'](_0xb7fce8));return _0x1087a0['push'](new Promise(_0x49b302=>{setTimeout(_0x49b302,0x14);})),Promise['all'](_0x1087a0)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x524d14=this['_getDiff'](_0x27dd47,_0x304dc4);for(const _0x12309f of _0x524d14['changes'])this['_changeIdToChange']['set'](_0x12309f['id'],_0x12309f);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x122364=>{for(const _0xfdd3b1 of this['editor']['model']['document']['getRootNames']())_0x122364['detachRoot'](_0xfdd3b1);for(const _0xa29b52 of Object['keys'](_0x524d14['model'])){const _0x2242f7=_0x122364['addRoot'](_0xa29b52);for(const _0x2078e1 of Object['keys'](_0x524d14['attributes'][_0xa29b52]))_0x122364['setAttribute'](_0x2078e1,_0x524d14['attributes'][_0xa29b52][_0x2078e1],_0x2242f7);_0x122364['insert'](_0x524d14['model'][_0xa29b52],_0x2242f7,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x524d14['changes'])),this['isReady']=!0x0;})['catch'](_0x54849f=>{console['error'](_0x54849f),this['_cleanUp'](),_0x40abc5&&(this['diff']=_0x40abc5),this['isReady']=!0x0;});}['addRevisionData'](_0x292d18,_0x5ac939){const _0x1af4fe=this['repository']['createRevision'](_0x292d18);return _0x1af4fe['on']('_update',(_0x44e87b,_0x43138f,_0x330489)=>_0x5ac939(_0x43138f,_0x330489,_0x1af4fe)),this['repository']['addRevision'](_0x1af4fe),_0x1af4fe;}['loadRevisionData'](_0x12dadc){if(!_0x12dadc||_0x12dadc['diffData'])return Promise['resolve']();{const _0x5c3677=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x5c3677,'revisionId':_0x12dadc['id']})['then'](_0x1b1704=>{_0x12dadc['_update']({'diffData':_0x1b1704['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},_0x4f1a33=>{for(const _0x2f8a1e of this['editor']['model']['document']['getRootNames']())_0x4f1a33['detachRoot'](_0x2f8a1e);});}['_sortAndFilterDiffChanges'](_0x4de83d){const _0x48cc12=[],_0x540fd8=new Map();for(const _0x408218 of this['editor']['model']['document']['getRootNames']()){const _0x2c1ff8=this['editor']['editing']['view']['getDomRoot'](_0x408218);if(!_0x2c1ff8)continue;const _0x4b08ed=_0x2c1ff8['getClientRects']()['item'](0x0);_0x4b08ed&&(_0x48cc12['push'](_0x408218),_0x540fd8['set'](_0x408218,_0x4b08ed));}return _0x48cc12['sort']((_0x528eb8,_0x4a3655)=>{const _0x8a2e93=_0x540fd8['get'](_0x528eb8),_0x245e61=_0x540fd8['get'](_0x4a3655);return _0x8a2e93['y']-_0x245e61['y']||_0x8a2e93['x']-_0x245e61['x'];}),(_0x4de83d=_0x4de83d['filter'](_0x3253ae=>_0x48cc12['includes'](_0x3253ae['rootName'])))['sort']((_0x146f87,_0x386178)=>_0x48cc12['indexOf'](_0x146f87['rootName'])-_0x48cc12['indexOf'](_0x386178['rootName'])),_0x4de83d;}['_makeTape'](_0x5dd169){const _0x3e49dc=Array['from'](_0x5dd169['markers'])['filter'](([_0x20b1f4,_0x4dc021])=>_0x20b1f4['startsWith']('revision:')&&!_0x4dc021['isCollapsed']),_0x95ac1c=Array['from'](this['editor']['model']['createRangeIn'](_0x5dd169)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x3e49dc['length'])for(const _0x182804 of _0x95ac1c){const [_0x42827b,_0x352aa1]=_0x3e49dc[0x0],[,_0x4bfe29,_0x58891c]=_0x42827b['split'](':');if(_0x352aa1['end']['isEqual'](_0x182804['nextPosition'])&&_0x3e49dc['shift'](),(_0x182804['previousPosition']['isEqual'](_0x352aa1['start'])||_0x182804['previousPosition']['isAfter'](_0x352aa1['start']))&&('insertion'==_0x4bfe29?_0x182804['isAdded']={'userId':_0x58891c}:'deletion'==_0x4bfe29&&(_0x182804['isRemoved']={'userId':_0x58891c})),0x0==_0x3e49dc['length'])break;}return _0x95ac1c;}['_refreshStartEndIndex'](_0x1c2484){const _0x4b4cc0=new Map();for(let _0x428482=0x0;_0x428482<_0x1c2484['length'];_0x428482++)'text'===_0x1c2484[_0x428482]['type']?(_0x1c2484[_0x428482]['item']['startIndex']=_0x428482,_0x1c2484[_0x428482]['item']['endIndex']=_0x428482):('elementStart'===_0x1c2484[_0x428482]['type']?_0x1c2484[_0x428482]['item']['startIndex']=_0x428482:'elementEnd'===_0x1c2484[_0x428482]['type']&&(_0x1c2484[_0x428482]['item']['endIndex']=_0x428482),_0x4b4cc0['set'](_0x1c2484[_0x428482]['id'],_0x428482));for(const _0x305136 of _0x4b4cc0['values']())'elementStart'===_0x1c2484[_0x305136]['type']?_0x1c2484[_0x305136]['item']['endIndex']=_0x4b4cc0['get'](_0x1c2484[_0x305136]['pairId']):'elementEnd'===_0x1c2484[_0x305136]['type']&&(_0x1c2484[_0x305136]['item']['startIndex']=_0x4b4cc0['get'](_0x1c2484[_0x305136]['pairId']));}['_processTape'](_0x3d16f9){for(let _0x57b2b8=0x0;_0x57b2b8<_0x3d16f9['length'];_0x57b2b8++){if('elementStart'===_0x3d16f9[_0x57b2b8]['type'])_0x3d16f9[_0x57b2b8]['item']['startIndex']=_0x57b2b8;else{if('elementEnd'===_0x3d16f9[_0x57b2b8]['type']){_0x3d16f9[_0x57b2b8]['item']['endIndex']=_0x57b2b8;const _0x22ba2f=_0x3d16f9[_0x57b2b8]['item']['startIndex'];_0x3d16f9[_0x22ba2f]['pairId']=_0x3d16f9[_0x57b2b8]['id'],_0x3d16f9[_0x57b2b8]['pairId']=_0x3d16f9[_0x22ba2f]['id'];}else _0x3d16f9[_0x57b2b8]['item']['startIndex']=_0x57b2b8,_0x3d16f9[_0x57b2b8]['item']['endIndex']=_0x57b2b8,_0x3d16f9[_0x57b2b8]['pairId']=null;}_0x3d16f9[_0x57b2b8]['markersStart']||(_0x3d16f9[_0x57b2b8]['markersStart']=[],_0x3d16f9[_0x57b2b8]['markersEnd']=[]);}}['_markInsertions'](_0x3e11b7,_0x14e6c0){const _0x718b75=_0x3e11b7['filter'](_0x4f386c=>!_0x4f386c['isAdded']);for(let _0x204a7f=0x0;_0x204a7f<_0x14e6c0['length'];_0x204a7f++)_0x14e6c0[_0x204a7f]['isAdded']&&(_0x718b75[_0x204a7f]['isAdded']=_0x14e6c0[_0x204a7f]['isAdded']);}['_makeModelFromViewString'](_0x186699){const _0x131b0c=JSON['parse'](_0x186699),_0x410af2=this['editor']['editing']['view']['document'],_0x587800=new _0x5996a8(_0x410af2,_0x131b0c['map'](_0x3b5bfa=>this['_getViewObj'](_0x3b5bfa)));return this['editor']['data']['toModel'](_0x587800);}['_getViewObj'](_0x20fcc9){const _0xc90d23=this['editor']['editing']['view']['document'];if('string'==typeof _0x20fcc9)return new _0x50935a(_0xc90d23,_0x20fcc9);{const _0xed4b0b=_0x20fcc9['children']['map'](_0x2ce537=>this['_getViewObj'](_0x2ce537));return new(tt[_0x20fcc9['type']]||_0x2f891b)(_0xc90d23,_0x20fcc9['name'],_0x20fcc9['attributes'],_0xed4b0b);}}['_getDiff'](_0x54bf6a,_0x5e8951=null){const _0x125416=this['repository']['getRevision'](_0x54bf6a),_0x5e63b6=_0x5e8951?this['repository']['getRevision'](_0x5e8951):null,_0x1f6187=this['_getRevisionsRange'](_0x125416,_0x5e63b6),_0x2b0efb=_0x1f6187[_0x1f6187['length']-0x1],_0x188aaf=new Map(),_0x42abdc={'model':{},'attributes':{},'changes':[]},_0xc3d5fd=new Set(),_0xc61514=new Map();for(let _0x22097b=_0x1f6187['length']-0x1;_0x22097b>=0x0;_0x22097b--){const _0x1c8a2e=_0x1f6187[_0x22097b];for(const _0x16f87c of Object['keys'](_0x1c8a2e['diffData']))if(_0x1c8a2e['diffData'][_0x16f87c]['attachChange']){const _0x4a62be=_0x1c8a2e['diffData'][_0x16f87c]['attachChange'];_0x4a62be['isAttached']?(_0xc3d5fd['add'](_0x16f87c),_0xc61514['has'](_0x16f87c)&&_0xc61514['get'](_0x16f87c)['userId']==_0x4a62be['userId']?_0xc61514['delete'](_0x16f87c):_0xc61514['set'](_0x16f87c,_0x4a62be)):_0xc61514['has'](_0x16f87c)?(_0xc3d5fd['delete'](_0x16f87c),_0xc61514['delete'](_0x16f87c)):(_0xc3d5fd['add'](_0x16f87c),_0xc61514['set'](_0x16f87c,_0x4a62be));}else _0xc3d5fd['add'](_0x16f87c);}for(const _0x1e52f1 of _0xc3d5fd){const _0x45ccc4=_0xc61514['has'](_0x1e52f1)&&!_0xc61514['get'](_0x1e52f1)['isAttached'];let _0x6f3b17=_0x45ccc4?_0x1f6187['length']-0x1:0x0;const _0x52a727=_0x45ccc4?-0x1:0x1;for(;_0x1f6187[_0x6f3b17];){const _0x247d01=_0x1f6187[_0x6f3b17];if(_0x247d01['diffData'][_0x1e52f1]){const _0x42984f=_0x45ccc4?_0x247d01['diffData'][_0x1e52f1]['attributesBefore']:_0x247d01['diffData'][_0x1e52f1]['attributesAfter'];_0x42abdc['attributes'][_0x1e52f1]=_0x42984f?_0x1bcc9e(_0x42984f):{};break;}_0x6f3b17+=_0x52a727;}}for(const _0x4a7043 of _0x1f6187){_0x4a7043['model']={};for(const _0x2b135e of _0x4a7043['authors'])_0x188aaf['set'](_0x2b135e['id'],_0x2b135e);for(const _0x5947fb of _0xc3d5fd){const _0x578f69=_0x4a7043['diffData'][_0x5947fb]?_0x4a7043['diffData'][_0x5947fb]['insertions']:'[]',_0x54fbd3=_0x4a7043['diffData'][_0x5947fb]?_0x4a7043['diffData'][_0x5947fb]['deletions']:'[]';_0x4a7043['model'][_0x5947fb]={'insertions':this['_makeModelFromViewString'](_0x578f69),'deletions':this['_makeModelFromViewString'](_0x54fbd3)};}}for(const _0x5cae86 of _0xc3d5fd){let _0x1b31c9=null,_0xbab9f9=0x0;const _0xe998c1=new Map(Array['from'](_0x125416['model'][_0x5cae86]['insertions']['markers'])['filter'](([_0x58125b])=>!_0x58125b['startsWith']('revision:')));let _0x7e1cfb=0x0;for(const _0x4b284c of _0x1f6187){const _0x1e31a7=this['_makeTape'](_0x4b284c['model'][_0x5cae86]['insertions']);_0x4b284c==_0x125416?(_0x1b31c9=_0x1e31a7,_0xbab9f9=_0x1b31c9['length'],_0x1b31c9['forEach'](_0x4c7cbf=>{_0x4c7cbf['id']=_0x7e1cfb++;}),this['_processTape'](_0x1b31c9)):this['_markInsertions'](_0x1b31c9,_0x1e31a7);const _0x37e907=_0x1b31c9['filter'](_0x52d00b=>!_0x52d00b['isAdded'])['map'](_0x14829c=>_0x14829c['id']);let _0x6b7376=0x0;const _0x3e17ad=this['_makeTape'](_0x4b284c['model'][_0x5cae86]['deletions']);_0x3e17ad['forEach'](_0x1f5073=>{_0x1f5073['isRemoved']?_0x1f5073['id']=_0xbab9f9++:_0x1f5073['id']=_0x37e907[_0x6b7376++];}),this['_processTape'](_0x3e17ad),this['_setDistance'](_0x1b31c9,'isAdded'),this['_setDistance'](_0x3e17ad,'isRemoved'),_0x4b284c==_0x125416&&this['_markMarkers'](_0x1b31c9,_0xe998c1),_0x1b31c9=this['_joinTapes'](_0x1b31c9,_0x3e17ad),this['_refreshStartEndIndex'](_0x1b31c9),this['_setDistance'](_0x1b31c9,'isRemoved');}_0x1b31c9=_0x1b31c9['filter'](_0x3f4427=>!(_0x3f4427['isAdded']&&_0x3f4427['isRemoved']));const _0x2e7c81=new Map(_0x2b0efb['model'][_0x5cae86]['deletions']['markers']),_0x144ee9=new Set(_0xe998c1['keys']());for(const _0x5d4a12 of _0x2e7c81['keys']())_0x144ee9['delete'](_0x5d4a12);this['_markSuggestions'](_0x1b31c9,_0x144ee9),this['_fixObsoleteTags'](_0x1b31c9),_0x1b31c9=this['_removeMissingPairs'](_0x1b31c9),_0x1b31c9=this['_markMismatchedRemovedTags'](_0x1b31c9),_0x1b31c9=this['_removeUnsupportedChanges'](_0x1b31c9);const {root:_0x10b3f3,changes:_0x61841e}=this['_makeModelFromTape'](_0x1b31c9,_0x188aaf,_0x5cae86);_0x42abdc['model'][_0x5cae86]=_0x10b3f3;const _0x56c2a3=_0xc61514['get'](_0x5cae86);if(_0x56c2a3){const _0x35f056=_0x188aaf['get'](_0x56c2a3['userId']),_0x75a33b=new r({'author':_0x35f056,'type':_0x56c2a3['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x5cae86});_0x61841e['unshift'](_0x75a33b),_0x42abdc['attributes'][_0x5cae86]['revisionHistoryAttachChange']=_0x75a33b['id'];}_0x42abdc['changes']=_0x42abdc['changes']['concat'](_0x61841e);}return _0x42abdc;}['_markMarkers'](_0x40924c,_0x5b8c3c){for(let _0x577dd3=0x0;_0x577dd3<_0x40924c['length'];_0x577dd3++)for(const [_0x3e2f8b,_0x1bf5e1]of _0x5b8c3c)_0x1bf5e1['start']['isEqual'](_0x40924c[_0x577dd3]['previousPosition'])&&_0x40924c[_0x577dd3]['markersStart']['push'](_0x3e2f8b),_0x1bf5e1['end']['isEqual'](_0x40924c[_0x577dd3]['nextPosition'])&&_0x40924c[_0x577dd3]['markersEnd']['push'](_0x3e2f8b);}['_joinTapes'](_0x54f26e,_0x2d629d){let _0x2fcff1=[],_0x4d5211=0x0,_0xcc171=0x0;for(;_0x4d5211<_0x54f26e['length']||_0xcc171<_0x2d629d['length'];){const _0x2556b3=_0x54f26e[_0x4d5211]||{},_0x36003f=_0x2d629d[_0xcc171]||{};if(_0x2556b3['id']==_0x36003f['id'])_0x4d5211++,_0xcc171++,_0x2fcff1['push'](_0x2556b3);else{if(_0x36003f['isRemoved']&&_0x2556b3['isAdded']){const {commonTape:_0x480048,iEnd:_0x1bd7a6,jEnd:_0x2f4f31}=this['_threeWayMerge'](_0x54f26e,_0x4d5211,_0x2d629d,_0xcc171);_0x2fcff1=_0x2fcff1['concat'](_0x480048),_0x4d5211=_0x1bd7a6,_0xcc171=_0x2f4f31;}else _0x36003f['isRemoved']?(_0xcc171++,_0x2fcff1['push'](_0x36003f)):(_0x4d5211++,_0x2fcff1['push'](_0x2556b3));}}return _0x2fcff1;}['_markSuggestions'](_0x4cc18f,_0x21233c){const _0x3a7830=[];for(let _0xb03dcb=0x0;_0xb03dcb<_0x4cc18f['length'];_0xb03dcb++){for(let _0x2d9a18=0x0;_0x2d9a18<_0x4cc18f[_0xb03dcb]['markersStart']['length'];_0x2d9a18++){const _0x1d6cef=_0x4cc18f[_0xb03dcb]['markersStart'][_0x2d9a18];if(!_0x21233c['has'](_0x1d6cef))continue;const {group:_0x4eea6c,type:_0x1656e8,authorId:_0x1d0b6c}=_0x28189d(_0x1d6cef);'revision-suggestion'!=_0x4eea6c||'insertion'!=_0x1656e8&&'deletion'!=_0x1656e8||(_0x3a7830['unshift']({'type':_0x1656e8,'name':_0x1d6cef,'userId':_0x1d0b6c}),_0x4cc18f[_0xb03dcb]['markersStart']['splice'](_0x2d9a18,0x1),_0x2d9a18--);}_0x20f682(_0x4cc18f[_0xb03dcb]);for(let _0x593f4c=0x0;_0x593f4c<_0x4cc18f[_0xb03dcb]['markersEnd']['length'];_0x593f4c++){const _0x710171=_0x4cc18f[_0xb03dcb]['markersEnd'][_0x593f4c];if(!_0x21233c['has'](_0x710171))continue;const {group:_0x34bb68,type:_0x31b889}=_0x28189d(_0x710171);if('revision-suggestion'!=_0x34bb68||'insertion'!=_0x31b889&&'deletion'!=_0x31b889)continue;_0x4cc18f[_0xb03dcb]['markersEnd']['splice'](_0x593f4c,0x1),_0x593f4c--;const _0x4f1916=_0x3a7830['findIndex'](_0x1e2ea9=>_0x1e2ea9['name']==_0x710171);_0x4f1916>-0x1&&_0x3a7830['splice'](_0x4f1916,0x1);}}function _0x28189d(_0x1cdefe){const _0x526fc1=_0x1cdefe['split'](':');return{'group':_0x526fc1[0x0],'type':_0x526fc1[0x1],'subType':_0x526fc1['length']>=0x5?_0x526fc1[0x2]:null,'id':_0x526fc1['length']<0x5?_0x526fc1[0x2]:_0x526fc1[0x3],'authorId':_0x526fc1['length']<0x5?_0x526fc1[0x3]:_0x526fc1[0x4],'markerCount':0x6==_0x526fc1['length']?_0x526fc1[0x5]:null};}function _0x20f682(_0x3e8046){for(let _0x454261=0x0;_0x454261<_0x3a7830['length'];_0x454261++){if(_0x3e8046['isAdded']&&'insertion'==_0x3a7830[_0x454261]['type'])return _0x3e8046['isAddSuggestion']=_0x3a7830[_0x454261],void delete _0x3e8046['isAdded'];if(!_0x3e8046['isAdded']&&!_0x3e8046['isRemoved']&&'deletion'==_0x3a7830[_0x454261]['type'])return void(_0x3e8046['isRemoveSuggestion']=_0x3a7830[_0x454261]);}}}['_setDistance'](_0x3aacba,_0x325590){let _0x5bca26=0x0,_0x16b02c=!0x1;const _0x3fa05b=new Map();for(const _0x501aa9 of _0x3aacba)_0x501aa9[_0x325590]?_0x16b02c&&(_0x5bca26++,_0x16b02c=!0x1):(_0x5bca26++,_0x16b02c=!0x0),_0x3fa05b['set'](_0x501aa9['id'],_0x5bca26);for(let _0x3edb10=0x0;_0x3edb10<_0x3aacba['length'];_0x3edb10++){if('isRemoved'==_0x325590&&_0x3aacba[_0x3edb10]['isAdded']||'isAdded'==_0x325590&&_0x3aacba[_0x3edb10]['isRemoved'])continue;if('text'==_0x3aacba[_0x3edb10]['type']){_0x3aacba[_0x3edb10]['distance']=0x0;continue;}const _0x1c2c8e=_0x3fa05b['get'](_0x3aacba[_0x3edb10]['pairId']),_0x741221=_0x3fa05b['get'](_0x3aacba[_0x3edb10]['id']);_0x3aacba[_0x3edb10]['distance']=_0x1c2c8e-_0x741221;}}['_getRevisionsRange'](_0x2394b7,_0x12b71d,_0x1e7191=!0x1){const _0x3398e6=[];let _0x31818a=this['repository']['getIndex'](_0x2394b7),_0x5a79ba=this['repository']['getIndex'](_0x12b71d);for(-0x1==_0x5a79ba&&(_0x5a79ba=this['repository']['_revisions']['length'],_0x1e7191=!0x1);_0x31818a<_0x5a79ba;)_0x3398e6['push'](this['repository']['getRevision'](_0x31818a)),_0x31818a++;return _0x1e7191&&_0x3398e6['push'](this['repository']['getRevision'](_0x31818a)),_0x3398e6;}['_threeWayMerge'](_0xcd412d,_0x51326e,_0x60919a,_0x40dae1){const _0x361b35=this['editor']['model']['schema'];let _0x4c9ea9=_0x51326e;for(;_0xcd412d[_0x4c9ea9]&&_0xcd412d[_0x4c9ea9]['isAdded'];)_0x4c9ea9++;let _0x23813d=_0x40dae1;for(;_0x60919a[_0x23813d]&&_0x60919a[_0x23813d]['isRemoved'];)_0x23813d++;_0x266a3f(_0xcd412d,_0x51326e,_0x4c9ea9),_0x266a3f(_0x60919a,_0x40dae1,_0x23813d);const _0x45845a=_0x60919a['slice'](_0x40dae1,_0x23813d)['concat'](_0xcd412d['slice'](_0x51326e,_0x4c9ea9));return _0x45845a['sort']((_0x548b1e,_0x369b3e)=>_0x548b1e['side']!=_0x369b3e['side']?_0x548b1e['side']-_0x369b3e['side']:_0x548b1e['level']!=_0x369b3e['level']?_0x548b1e['level']-_0x369b3e['level']:_0x548b1e['distance']!=_0x369b3e['distance']?_0x369b3e['distance']-_0x548b1e['distance']:!!_0x548b1e['isAdded']!=!!_0x369b3e['isAdded']?-0x1==_0x548b1e['side']||0x0==_0x548b1e['side']?_0x548b1e['isAdded']?-0x1:0x1:_0x548b1e['isAdded']?0x1:-0x1:_0x548b1e['index']-_0x369b3e['index']),{'commonTape':_0x45845a,'iEnd':_0x4c9ea9,'jEnd':_0x23813d};function _0x266a3f(_0x1e79e2,_0x316309,_0x3d3b36){let _0x3660ff=-0x1,_0xb0937d=Number['POSITIVE_INFINITY'],_0x121052=!0x0;for(let _0x21dffa=_0x316309;_0x21dffa<_0x3d3b36;_0x21dffa++)if(_0x361b35['isInline'](_0x1e79e2[_0x21dffa]['item'])||(_0x121052=!0x1),_0x1e79e2[_0x21dffa]['item']['startIndex']<_0x316309&&(_0x3660ff=_0x21dffa),_0x1e79e2[_0x21dffa]['item']['endIndex']>=_0x3d3b36){_0xb0937d=_0x21dffa;break;}_0x121052&&(_0x3660ff=_0x3d3b36-0x1);for(let _0x1e6e3b=_0x316309;_0x1e6e3b<_0x3d3b36;_0x1e6e3b++)_0x1e79e2[_0x1e6e3b]['side']=_0x1e6e3b<=_0x3660ff?-0x1:_0x1e6e3b<_0xb0937d?0x0:0x1,_0x1e79e2[_0x1e6e3b]['index']=_0x1e6e3b;let _0x26f859=0x0;for(let _0x154d0b=_0x316309;_0x154d0b<=_0x3660ff;_0x154d0b++)0x0==_0x1e79e2[_0x154d0b]['distance']?_0x1e79e2[_0x154d0b]['level']=_0x26f859:(_0x26f859++,_0x1e79e2[_0x154d0b]['level']=_0x26f859,_0x26f859++);for(let _0xc29d71=_0x316309;_0xc29d71<_0x3d3b36;_0xc29d71++)0x0==_0x1e79e2[_0xc29d71]['side']&&(_0x1e79e2[_0xc29d71]['level']=_0x26f859);_0x26f859=0x0;for(let _0x2e6912=_0x3d3b36-0x1;_0x2e6912>=_0xb0937d;_0x2e6912--)0x0==_0x1e79e2[_0x2e6912]['distance']?_0x1e79e2[_0x2e6912]['level']=_0x26f859:(_0x26f859--,_0x1e79e2[_0x2e6912]['level']=_0x26f859,_0x26f859--);}}['_fixObsoleteTags'](_0x29bfbc){const _0x3bfeaa=new Map(),_0x5de5b3=this['editor']['model']['schema'];for(let _0x49cddc=0x1;_0x49cddc<_0x29bfbc['length'];_0x49cddc++){let _0x35c854,_0x472fcf,_0x1679f9;const _0x39e9e5=_0x29bfbc[_0x49cddc],_0x174601=_0x29bfbc[_0x49cddc-0x1];if('text'==_0x39e9e5['type'])continue;if(_0x39e9e5['type']!=_0x174601['type'])continue;if(!_0x5de5b3['isBlock'](_0x174601['item'])||_0x5de5b3['isLimit'](_0x174601['item']))continue;if(!_0x5de5b3['isBlock'](_0x39e9e5['item'])||_0x5de5b3['isLimit'](_0x39e9e5['item']))continue;if((_0x29bfbc[_0x49cddc]['isAdded']||_0x29bfbc[_0x49cddc]['isAddSuggestion'])&&_0x29bfbc[_0x49cddc-0x1]['isRemoved'])_0x35c854=_0x29bfbc[_0x49cddc],_0x472fcf=_0x29bfbc[_0x49cddc-0x1],_0x1679f9=_0x49cddc-0x1;else{if(!_0x29bfbc[_0x49cddc]['isRemoved']||!_0x29bfbc[_0x49cddc-0x1]['isAdded']&&!_0x29bfbc[_0x49cddc-0x1]['isAddSuggestion'])continue;_0x35c854=_0x29bfbc[_0x49cddc-0x1],_0x472fcf=_0x29bfbc[_0x49cddc],_0x1679f9=_0x49cddc;}const _0x3e426f=_0x35c854['level']==_0x472fcf['level'],_0xce4180=Math['abs'](_0x35c854['level'])<Math['abs'](_0x472fcf['level'])&&0x0==_0x472fcf['distance'];(_0x3e426f||_0xce4180)&&(_0x3bfeaa['set'](_0x472fcf['id'],_0x35c854['id']),_0x29bfbc['splice'](_0x1679f9,0x1),_0x49cddc--,_0x35c854['isAdded']=!0x1);}for(let _0x5ebc05=0x0;_0x5ebc05<_0x29bfbc['length'];_0x5ebc05++)_0x3bfeaa['has'](_0x29bfbc[_0x5ebc05]['pairId'])&&(_0x29bfbc[_0x5ebc05]['pairId']=_0x3bfeaa['get'](_0x29bfbc[_0x5ebc05]['pairId']));}['_removeMissingPairs'](_0x6f43b4){const _0x33ba85=new Set(_0x6f43b4['map'](_0x408008=>_0x408008['id']));for(let _0x26ba62=0x0;_0x26ba62<_0x6f43b4['length'];_0x26ba62++)_0x33ba85['has'](_0x6f43b4[_0x26ba62]['pairId'])||0x0==_0x6f43b4[_0x26ba62]['distance']||(_0x6f43b4[_0x26ba62]['isIncorrect']=!0x0);return _0x6f43b4['filter'](_0x1b848b=>!_0x1b848b['isIncorrect']);}['_markMismatchedRemovedTags'](_0x3b3245){const _0x25f5c5=new Set();for(let _0x548e73=0x0;_0x548e73<_0x3b3245['length'];_0x548e73++){if(_0x25f5c5['has'](_0x3b3245[_0x548e73]['id'])&&_0x3b3245[_0x548e73]['isRemoved']&&(_0x3b3245[_0x548e73]['isIncorrect']=!0x0),_0x3b3245[_0x548e73]['isIncorrect'])continue;if(0x0==_0x3b3245[_0x548e73]['distance'])continue;if('elementStart'!=_0x3b3245[_0x548e73]['type'])continue;if(null==_0x3b3245[_0x548e73]['pairId'])continue;let _0x38d8d1=_0x548e73+0x1,_0x5f39e5=0x0;for(;_0x3b3245[_0x38d8d1]['id']!=_0x3b3245[_0x548e73]['pairId'];)'elementStart'==_0x3b3245[_0x38d8d1]['type']?_0x5f39e5++:'elementEnd'==_0x3b3245[_0x38d8d1]['type']&&_0x5f39e5--,_0x38d8d1++;if(0x0!=_0x5f39e5){if(_0x3b3245[_0x548e73]['isRemoved'])_0x3b3245[_0x548e73]['isIncorrect']=!0x0;else{for(;_0x38d8d1!=_0x548e73;)_0x3b3245[_0x38d8d1]['isRemoved']&&0x0!=_0x3b3245[_0x38d8d1]['distance']&&(_0x3b3245[_0x38d8d1]['isIncorrect']=!0x0,_0x25f5c5['add'](_0x3b3245[_0x38d8d1]['pairId'])),_0x38d8d1--;}}}return _0x3b3245['filter'](_0x2955d0=>!_0x2955d0['isIncorrect']);}['_removeUnsupportedChanges'](_0x3e1dbe){const _0x476659=this['editor']['model']['schema'];for(let _0x13dd51=0x0;_0x13dd51<_0x3e1dbe['length'];_0x13dd51++){if(!(_0x3e1dbe[_0x13dd51]['isAdded']||_0x3e1dbe[_0x13dd51]['isAddSuggestion']||_0x3e1dbe[_0x13dd51]['isRemoved']||_0x3e1dbe[_0x13dd51]['isRemoveSuggestion']))continue;if(0x0==_0x3e1dbe[_0x13dd51]['distance'])continue;const _0x2b80df=_0x3e1dbe[_0x13dd51]['item'];_0x476659['isBlock'](_0x2b80df)||_0x476659['isLimit'](_0x2b80df)||(_0x3e1dbe[_0x13dd51]['isAdded']&&delete _0x3e1dbe[_0x13dd51]['isAdded'],_0x3e1dbe[_0x13dd51]['isAddSuggestion']&&delete _0x3e1dbe[_0x13dd51]['isAddSuggestion'],_0x3e1dbe[_0x13dd51]['isRemoveSuggestion']&&delete _0x3e1dbe[_0x13dd51]['isRemoveSuggestion'],_0x3e1dbe[_0x13dd51]['isRemoved']&&(_0x3e1dbe[_0x13dd51]['isIncorrect']=!0x0));}return _0x3e1dbe['filter'](_0x2f4fc6=>!_0x2f4fc6['isIncorrect']);}['_makeModelFromTape'](_0x1de7ad,_0x4e960a,_0x27ab7e){const _0x2a051c=new wt(),_0x429fd9=[],_0x23c23b=new Map(),_0x4bf9b4=this['editor']['model'],_0x3f4ae8=_0x4bf9b4['schema'],_0x17d8af=[_0x2a051c],_0x24827d={},_0x350ed6={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0xe15c2a=null;const _0x1c31ea=[0x0];for(let _0x1cad64=0x0;_0x1cad64<_0x1de7ad['length'];_0x1cad64++){let _0xe7dafd,_0x5732b4;if('elementStart'===_0x1de7ad[_0x1cad64]['type']){_0xe7dafd=_0x4bf9b4['createPositionFromPath'](_0x2a051c,_0x1c31ea);const _0x3d5499=new ft(_0x1de7ad[_0x1cad64]['item']['name'],_0x1de7ad[_0x1cad64]['item']['getAttributes']());_0x17d8af[0x0]['_appendChild'](_0x3d5499),_0x1c31ea['push'](0x0),_0x17d8af['unshift'](_0x3d5499),_0x5732b4=_0x4bf9b4['createPositionFromPath'](_0x2a051c,_0x1c31ea),_0xe15c2a=null;}else{if('elementEnd'===_0x1de7ad[_0x1cad64]['type'])_0x17d8af['shift'](),_0xe7dafd=_0x4bf9b4['createPositionFromPath'](_0x2a051c,_0x1c31ea),_0x1c31ea['pop'](),_0x1c31ea[_0x1c31ea['length']-0x1]++,_0x5732b4=_0x4bf9b4['createPositionFromPath'](_0x2a051c,_0x1c31ea),_0xe15c2a=null;else{if(_0xe7dafd=_0x4bf9b4['createPositionFromPath'](_0x2a051c,_0x1c31ea),_0xe15c2a&&_0x1a29be(_0xe15c2a,_0x1de7ad[_0x1cad64]['item']))_0xe15c2a['_data']+=_0x1de7ad[_0x1cad64]['item']['data'];else{const _0x16ea2f=new _t(_0x1de7ad[_0x1cad64]['item']['data'],_0x1de7ad[_0x1cad64]['item']['getAttributes']());_0x17d8af[0x0]['_appendChild'](_0x16ea2f),_0xe15c2a=_0x16ea2f;}_0x1c31ea[_0x1c31ea['length']-0x1]+=_0x1de7ad[_0x1cad64]['item']['offsetSize'],_0x5732b4=_0x4bf9b4['createPositionFromPath'](_0x2a051c,_0x1c31ea);}}for(const _0x5289fa of _0x1de7ad[_0x1cad64]['markersStart'])_0x23c23b['set'](_0x5289fa,{'start':_0xe7dafd,'end':null});_0xf4cc49('isRemoveSuggestion',_0x1cad64,_0xe7dafd,_0x5732b4),_0xf4cc49('isAddSuggestion',_0x1cad64,_0xe7dafd,_0x5732b4),_0xf4cc49('isRemoved',_0x1cad64,_0xe7dafd,_0x5732b4),_0xf4cc49('isAdded',_0x1cad64,_0xe7dafd,_0x5732b4);for(const _0x4a7204 of _0x1de7ad[_0x1cad64]['markersEnd']){_0x23c23b['get'](_0x4a7204)['end']=_0x5732b4;}}for(const [_0x4b9ace,_0x46f96e]of _0x23c23b){const _0x304216=this['editor']['model']['createRange'](_0x46f96e['start'],_0x46f96e['end']);_0x2a051c['markers']['set'](_0x4b9ace,_0x304216);}return _0x429fd9['sort']((_0x405d9a,_0x4f437b)=>{const _0x3cecd8=_0x2a051c['markers']['get']('revision:'+_0x405d9a['id']),_0x56071d=_0x2a051c['markers']['get']('revision:'+_0x4f437b['id']);return _0x3cecd8['start']['isBefore'](_0x56071d['start'])?-0x1:_0x3cecd8['start']['isAfter'](_0x56071d['start'])?0x1:_0x3cecd8['end']['isBefore'](_0x56071d['end'])?-0x1:_0x3cecd8['end']['isAfter'](_0x56071d['end'])?0x1:'add'===_0x405d9a['type']?-0x1:0x1;}),{'root':_0x2a051c,'changes':_0x429fd9};function _0xf4cc49(_0x199ef8,_0x367c94,_0x47fd66,_0x4ce595){const _0x15bc77=!!_0x1de7ad[_0x367c94][_0x199ef8],_0x9efc34=_0x15bc77?_0x1de7ad[_0x367c94][_0x199ef8]['userId']:null,_0x43c28b=_0x367c94===_0x1de7ad['length']-0x1,_0x4c19ae=_0x350ed6[_0x199ef8][0x0],_0x2ac346=_0x3f4ae8['isObject'](_0x1de7ad[_0x367c94]['item']);!_0x24827d[_0x199ef8]&&_0x15bc77?_0x24827d[_0x199ef8]={'start':_0x47fd66,'tapeItem':_0x1de7ad[_0x367c94],'userId':_0x9efc34,'type':_0x199ef8}:_0x24827d[_0x199ef8]&&!_0x15bc77?(_0x24827d[_0x199ef8]['end']=_0x47fd66,_0x11ce16(_0x24827d[_0x199ef8]),_0x24827d[_0x199ef8]=null):_0x24827d[_0x199ef8]&&_0x15bc77&&_0x24827d[_0x199ef8]['userId']!==_0x9efc34&&(_0x24827d[_0x199ef8]['end']=_0x47fd66,_0x4c19ae&&_0x4c19ae['userId']===_0x24827d[_0x199ef8]['userId']||_0x11ce16(_0x24827d[_0x199ef8]),_0x24827d[_0x199ef8]={'start':_0x47fd66,'tapeItem':_0x1de7ad[_0x367c94],'userId':_0x9efc34,'type':_0x199ef8}),_0x24827d[_0x199ef8]&&_0x2ac346&&('elementStart'!==_0x1de7ad[_0x367c94]['type']||_0x4c19ae&&_0x4c19ae['userId']===_0x9efc34||_0x350ed6[_0x199ef8]['unshift']({'userId':_0x9efc34,'object':_0x1de7ad[_0x367c94]['item'],'change':_0x24827d[_0x199ef8]}),'elementEnd'===_0x1de7ad[_0x367c94]['type']&&_0x4c19ae&&_0x4c19ae['object']===_0x1de7ad[_0x367c94]['item']&&(_0x350ed6[_0x199ef8]['shift'](),_0x24827d[_0x199ef8]=_0x4c19ae['change'])),_0x24827d[_0x199ef8]&&_0x43c28b&&(_0x24827d[_0x199ef8]['end']=_0x4ce595,_0x11ce16(_0x24827d[_0x199ef8]),_0x24827d[_0x199ef8]=null);}function _0x11ce16({start:_0x1e2360,end:_0x14cb53,tapeItem:_0x41d086,userId:_0x4026bc,type:_0x1437d1}){const _0x1eec2a=_0x41d086['item'],_0x1cf3f2=_0x4bf9b4['schema']['isBlock'](_0x1eec2a)&&!_0x4bf9b4['schema']['isLimit'](_0x1eec2a),_0x409791=_0x1e2360['nodeAfter']==_0x14cb53['parent']&&_0x14cb53['isAtStart'];if(_0x1cf3f2&&_0x409791)return;const _0x1b4a1e=_0x4bf9b4['createRange'](_0x1e2360,_0x14cb53),_0x3217b5=_0x4e960a['get'](_0x4026bc),_0x585b5f=new r({'author':_0x3217b5,'type':'isAdded'==_0x1437d1||'isAddSuggestion'==_0x1437d1?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x1437d1||'isRemoveSuggestion'==_0x1437d1},'createdAt':new Date(),'rootName':_0x27ab7e});_0x429fd9['push'](_0x585b5f),_0x2a051c['markers']['set']('revision:'+_0x585b5f['id'],_0x1b4a1e);}function _0x1a29be(_0x4ff78c,_0xe68f40){const _0x42a5c4=_0x4ff78c['getAttributes'](),_0x2011a0=_0xe68f40['getAttributes']();for(const _0x14575f of _0x42a5c4){if(_0x14575f[0x1]!==_0xe68f40['getAttribute'](_0x14575f[0x0]))return!0x1;_0x2011a0['next']();}return _0x2011a0['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x4b1228=>{const _0x4a244f=_0x4b1228['markerName']['split'](':')[0x1],_0x1a7dbc=this['_getChangeFromId'](_0x4a244f);if(!_0x1a7dbc)return null;const _0x533887='add'==_0x1a7dbc['type']?'insertion':'deletion',_0x55482a=['ck-suggestion-marker','ck-suggestion-marker-'+_0x533887];return _0x1a7dbc['data']['isSuggestion']&&_0x55482a['push']('ck-suggestion-marker-'+_0x533887+'-new'),this['activeChange']==_0x1a7dbc&&_0x55482a['push']('ck-suggestion-marker--active'),{'classes':_0x55482a,'attributes':{'data-change-id':_0x4a244f}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x4be199=>{_0x4be199['on']('element:pre',(_0xfe30d5,_0x1597f6,_0x4d2018)=>{const _0x2e5cac=_0x1597f6['viewItem']['getChild'](0x0);if(!_0x2e5cac||!_0x2e5cac['is']('element','code'))return;if(!_0x4d2018['consumable']['consume'](_0x2e5cac,{'attributes':['vid_start','vid_end']}))return;const _0x3c146f=_0x1597f6['modelRange']['start']['nodeAfter'];_0x4d2018['writer']['setAttribute']('vid_start',_0x2e5cac['getAttribute']('vid_start'),_0x3c146f),_0x4d2018['writer']['setAttribute']('vid_end',_0x2e5cac['getAttribute']('vid_end'),_0x3c146f);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x3311f2=>{_0x3311f2['on']('element',(_0x52ba68,_0x5da215,_0x2d4224)=>{if(!_0x2d4224['consumable']['consume'](_0x5da215['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x5da215['modelRange']['isCollapsed'])return;const _0x2c8310=_0x5da215['modelRange']['start']['nodeAfter'];_0x2c8310['hasAttribute']('vid_start')||_0x2c8310['hasAttribute']('vid')||(_0x2d4224['writer']['setAttribute']('vid_start',_0x5da215['viewItem']['getAttribute']('vid_start'),_0x2c8310),_0x2d4224['writer']['setAttribute']('vid_end',_0x5da215['viewItem']['getAttribute']('vid_end'),_0x2c8310));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x2ab52e=>_0x2ab52e['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x359fe9,[,_0x2b3a39])=>{['vid_start','vid_end','vid']['includes'](_0x2b3a39)&&(_0x359fe9['return']=!0x0,_0x359fe9['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x1a1daf=>{_0x1a1daf['on']('attribute:vid',(_0x2d8aec,_0x11d2b9,_0x4ac588)=>{if('\x20'!=_0x11d2b9['item']['data']||_0x11d2b9['item']['parent']['maxOffset']>0x1)return;if(!_0x4ac588['consumable']['consume'](_0x11d2b9['item'],_0x2d8aec['name']))return;const _0x40a36b=_0x4ac588['writer'],_0x10a1a9=_0x4ac588['mapper']['toViewRange'](_0x11d2b9['range']);_0x40a36b['wrap'](_0x10a1a9,_0x40a36b['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x2343b4){const _0x2ed4b3=_0x2343b4['plugins']['get']('RevisionViewer');return(_0x4c2637,_0x3dc145,_0x147732)=>{const _0x5eefed=_0x3dc145['markerName']['split'](':')[0x1],_0x30bd23=_0x2ed4b3['_getChangeFromId'](_0x5eefed);if(!_0x30bd23)return null;const _0x1f5fa6='add'==_0x30bd23['type']?'split':'merge';if(!_0x147732['consumable']['test'](_0x3dc145['markerRange'],_0x4c2637['name']))return;const _0x46d25f=_0x3dc145['markerRange']['getWalker'](),_0x410e04=_0x3dc145['markerRange']['start'],_0x323e1f=_0x2343b4['model']['schema'];let _0x5ebee2=null,_0x1d2ab3=null,_0x50cb7d=!0x1,_0x2f17ea=!0x1;for(const _0x33a7fc of _0x46d25f){const _0x192a52=_0x33a7fc['item'];_0x50cb7d=_0x50cb7d||_0x323e1f['isContent'](_0x192a52);const _0x5c9abe=_0x147732['mapper']['toViewElement'](_0x192a52);if(_0x5c9abe&&_0x5c9abe['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x33a7fc['type']&&(_0x323e1f['isBlock'](_0x192a52)&&!_0x323e1f['isLimit'](_0x192a52)&&(_0x192a52['nextSibling']||_0x410e04['isAtEnd']?_0x5ebee2&&_0x5ebee2['parent']==_0x192a52||(_0x5ebee2=_0x192a52,_0x487e34(_0x33a7fc['previousPosition']),_0x2f17ea=!0x0):_0x1d2ab3=_0x1d2ab3||_0x33a7fc['previousPosition']));}function _0x487e34(_0x3ab703){const _0x5050ff=_0x147732['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1f5fa6}),_0x5cf05e=_0x147732['mapper']['toViewPosition'](_0x3ab703);_0x30bd23['data']['isSuggestion']&&_0x147732['writer']['addClass']('ck-suggestion-marker-'+_0x1f5fa6+'-new',_0x5050ff),_0x2ed4b3['activeChange']==_0x30bd23&&_0x147732['writer']['addClass']('ck-suggestion-marker--active',_0x5050ff),_0x147732['writer']['insert'](_0x5cf05e,_0x5050ff),_0x147732['mapper']['bindElementToMarker'](_0x5050ff,_0x3dc145['markerName']);}_0x50cb7d||_0x2f17ea||!_0x1d2ab3||_0x487e34(_0x1d2ab3);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x904338,_0x5cffca,_0x5df8a0)=>{const _0x230f30=_0x5df8a0['mapper']['markerNameToElements'](_0x5cffca['markerName']);if(_0x230f30){for(const _0xb35c65 of _0x230f30)(_0xb35c65['hasClass']('ck-suggestion-marker-split')||_0xb35c65['hasClass']('ck-suggestion-marker-merge'))&&(_0x5df8a0['mapper']['unbindElementFromMarkerName'](_0xb35c65,_0x5cffca['markerName']),_0x5df8a0['writer']['remove'](_0xb35c65));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x47f83c,_0x2968aa,_0x4b250d)=>{const _0xb87f4c=_0x2968aa['markerName']['split'](':')[0x1],_0x72fd02=this['_getChangeFromId'](_0xb87f4c);if(!_0x72fd02)return null;const _0x2d615f='add'==_0x72fd02['type']?'split':'merge';if(_0x4b250d['consumable']['test'](_0x2968aa['markerRange'],_0x47f83c['name']))for(const _0x39c1b9 of _0x2968aa['markerRange']['getItems']()){if(!_0x39c1b9['is']('element','softBreak'))continue;const _0x134a16=_0x4b250d['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2d615f}),_0x4951ae=_0x4b250d['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x39c1b9));_0x72fd02['data']['isSuggestion']&&_0x4b250d['writer']['addClass']('ck-suggestion-marker-'+_0x2d615f+'-new',_0x134a16),this['activeChange']==_0x72fd02&&_0x4b250d['writer']['addClass']('ck-suggestion-marker--active',_0x134a16),_0x4b250d['writer']['insert'](_0x4951ae,_0x134a16),_0x4b250d['mapper']['bindElementToMarker'](_0x134a16,_0x2968aa['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x2dfed2=>{for(const _0x28a9c5 of this['editor']['model']['document']['getRootNames']()){const _0x56531e=this['editor']['model']['document']['getRoot'](_0x28a9c5),_0x3fd40e=this['editor']['editing']['view']['document']['getRoot'](_0x28a9c5);if(_0x3fd40e){const _0x20c003=_0x56531e['getAttribute']('revisionHistoryAttachChange');if(_0x2dfed2['removeAttribute']('data-change-id',_0x3fd40e),_0x2dfed2['removeClass']('ck-revision-history-root-add',_0x3fd40e),_0x2dfed2['removeClass']('ck-revision-history-root-remove',_0x3fd40e),_0x2dfed2['removeClass']('ck-revision-history-root--active',_0x3fd40e),_0x20c003){const _0x58bc76=this['_getChangeFromId'](_0x20c003);if(!_0x58bc76)return null;_0x2dfed2['setAttribute']('data-change-id',_0x20c003,_0x3fd40e),_0x2dfed2['addClass']('ck-revision-history-root-'+_0x58bc76['type'],_0x3fd40e),this['activeChange']==_0x58bc76&&_0x2dfed2['addClass']('ck-revision-history-root--active',_0x3fd40e);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x42b481=>'revision-comment:'+_0x42b481,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x245b1e=>'revision-suggestion:'+_0x245b1e,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x652b0=>({'name':'suggestion:'+_0x652b0,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x2808b2=>{const _0x3d1c4d=_0x2808b2['markerName']['split'](':')[0x1];return'insertion'!=_0x3d1c4d&&'deletion'!=_0x3d1c4d?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x3d1c4d]};}}),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',(_0x498554,_0x4ec24f,_0x2bfb37)=>{const _0x224cae=_0x2bfb37['mapper']['markerNameToElements'](_0x4ec24f['markerName']);if(_0x224cae){for(const _0x37b1bf of _0x224cae)_0x37b1bf['is']('uiElement')&&(_0x2bfb37['mapper']['unbindElementFromMarkerName'](_0x37b1bf,_0x4ec24f['markerName']),_0x2bfb37['writer']['remove'](_0x37b1bf));}},{'priority':'high'});}['_getChangeFromId'](_0x26248a){return this['_changeIdToChange']['get'](_0x26248a);}['_getViewForChange'](_0x5a3ab0){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x5a3ab0),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x480e46,_0xf946e7,_0x5cb147,_0x58cccd)=>{_0x58cccd&&this['_balloon']['remove'](_0x58cccd),_0x5cb147&&(this['_balloon']['add']({'view':_0x5cb147,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x99912=this['editor']['editing'],_0x3cffbc=this['_getChangeFromId'](_0x5cb147['changeId']);let _0x1a294;if(_0x3cffbc['data']['isOnRoot']){const _0x5211fe=_0x99912['view']['getDomRoot'](_0x3cffbc['rootName']);_0x1a294=Array['from'](_0x5211fe['getClientRects']());}else{const _0x133ec0=this['editor']['model']['markers']['get']('revision:'+_0x5cb147['changeId']);_0x1a294=Array['from'](_0x99912['mapper']['markerNameToElements'](_0x133ec0['name']))['map'](_0xc4607b=>_0x99912['view']['domConverter']['mapViewToDom'](_0xc4607b))['map'](_0x10e3fc=>Array['from'](_0x10e3fc['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x1a294[0x0];return _0x1a294['find'](_0x103c05=>_0x103c05['top']-0x3<=this['_activeViewTarget']['y']&&_0x103c05['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x103c05['left']-0x3<=this['_activeViewTarget']['x']&&_0x103c05['right']+0x3>=this['_activeViewTarget']['x'])||_0x1a294[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x3fc65e,_0x14c2bb,_0x5278eb,_0x21f4e0)=>{this['activeView']=_0x5278eb?this['_getViewForChange'](_0x5278eb):null,this['editor']['model']['change'](()=>{const _0x2713e7=this['editor']['editing'];_0x21f4e0&&(_0x21f4e0['data']['isOnRoot']?_0x2713e7['view']['change'](_0x2c0db1=>{_0x2c0db1['removeClass']('ck-revision-history-root--active',_0x2713e7['view']['document']['getRoot'](_0x21f4e0['rootName']));}):_0x2713e7['reconvertMarker']('revision:'+_0x21f4e0['id'])),_0x5278eb&&(_0x5278eb['data']['isOnRoot']?_0x2713e7['view']['change'](_0x22afec=>{_0x22afec['addClass']('ck-revision-history-root--active',_0x2713e7['view']['document']['getRoot'](_0x5278eb['rootName']));}):_0x2713e7['reconvertMarker']('revision:'+_0x5278eb['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x2922e1,_0x2402e8)=>{if(this['activeChange'])return;const _0x2d15b8=this['_findChangeIdFromDomTarget'](_0x2402e8['target']),_0x11f843=this['_changeIdToChange']['get'](_0x2d15b8);_0x11f843?(this['_activeViewTarget']={'x':_0x2402e8['domEvent']['x'],'y':_0x2402e8['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x11f843)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x5ef40b,_0x139df8)=>{const _0x982943=this['_findChangeIdFromDomTarget'](_0x139df8['target']),_0x2b1dc0=this['_changeIdToChange']['get'](_0x982943);_0x2b1dc0?(this['_activeViewTarget']={'x':_0x139df8['domEvent']['x'],'y':_0x139df8['domEvent']['y']},_0x2b1dc0===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x2b1dc0):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x49e6fc){do{const _0x1b4ebf=_0x49e6fc['getAttribute']('data-change-id');if(_0x1b4ebf)return _0x1b4ebf;_0x49e6fc=_0x49e6fc['parent'];}while(_0x49e6fc);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x198a82=>{for(const _0x57c8e0 of this['editor']['model']['markers'])_0x198a82['removeMarker'](_0x57c8e0);});}}function et(_0x469405,_0x2633d5){return(_0x4fce66,_0x20734,_0x58e2c0)=>{if(!_0x58e2c0['consumable']['test'](_0x20734['markerRange'],_0x4fce66['name']))return;const _0x4f8614=_0x20734['markerRange']['getWalker'](),_0x11182b=_0x20734['markerRange']['start'],_0x1cd5ea=_0x469405['model']['schema'];let _0x17f868=null,_0x49a855=null,_0x100390=!0x1,_0x13bb85=!0x1;for(const _0x1d9f98 of _0x4f8614){const _0x4b321f=_0x1d9f98['item'];_0x100390=_0x100390||_0x1cd5ea['isContent'](_0x4b321f);const _0x5d1604=_0x58e2c0['mapper']['toViewElement'](_0x4b321f);if(_0x5d1604&&_0x5d1604['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1d9f98['type']&&(_0x1cd5ea['isBlock'](_0x4b321f)&&!_0x1cd5ea['isLimit'](_0x4b321f)&&(_0x4b321f['nextSibling']||_0x11182b['isAtEnd']?_0x17f868&&_0x17f868['parent']==_0x4b321f||(_0x17f868=_0x4b321f,_0x24c076(_0x1d9f98['previousPosition']),_0x13bb85=!0x0):_0x49a855=_0x49a855||_0x1d9f98['previousPosition']));}function _0x24c076(_0x557289){const _0x282cf8=_0x58e2c0['mapper']['toViewPosition'](_0x557289),_0x22c629=_0x58e2c0['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x2633d5});_0x58e2c0['writer']['insert'](_0x282cf8,_0x22c629),_0x58e2c0['mapper']['bindElementToMarker'](_0x22c629,_0x20734['markerName']);}_0x100390||_0x13bb85||!_0x49a855||_0x24c076(_0x49a855);};}class bt extends _0x56ecce{constructor(_0x5e3c92){super(_0x5e3c92);const _0x390a9c=_0x5e3c92['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x390a9c,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x390a9c,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x407432=this['editor'],_0x2c5981=_0x407432['plugins']['get'](d),_0x361c30=_0x2c5981['isReady']?_0x2c5981['diff']['newRevisionId']:null;_0x407432['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x361c30);}['refresh'](){const {isReady:_0x592bbc,isEnabled:_0x18f810}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x592bbc&&_0x18f810;}}class yt extends _0x56ecce{['_step'];constructor(_0x115447,{direction:_0x44212e}){super(_0x115447);const _0x53ac12=_0x115447['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x44212e?0x1:-0x1,this['listenTo'](_0x53ac12,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x53ac12,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x53ac12,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x5d7d8e=this['editor'],_0x4dc5b4=_0x5d7d8e['plugins']['get'](d),{isNavigationMode:_0x550515,currentChangeNumber:_0x4f56b2}=_0x4dc5b4;let _0x449a2b;if(_0x4dc5b4['activeChange']=_0x550515?_0x4dc5b4['diff']['changes']['get'](_0x4f56b2+this['_step']):_0x4dc5b4['diff']['changes']['first'],_0x4dc5b4['activeChange']['data']['isOnRoot'])_0x449a2b=_0x5d7d8e['editing']['view']['getDomRoot'](_0x4dc5b4['activeChange']['rootName']);else{const _0x251fb7=_0x5d7d8e['model']['markers']['get']('revision:'+_0x4dc5b4['activeChange']['id']);_0x449a2b=_0x14a85b(_0x5d7d8e['editing'],_0x251fb7);}_0x36656d({'target':_0x449a2b,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0xe2ae67,currentChangeNumber:_0x482562,numberOfChanges:_0x3d9886,isReady:_0x46690d,isEnabled:_0x56b216}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x56b216&&_0x46690d&&_0x3d9886)&&(!_0xe2ae67||(0x1===this['_step']?_0x482562<_0x3d9886-0x1:_0x482562>0x0));}}class _i extends _0x51fed9{constructor(_0x38b1db){super(_0x38b1db);const _0xb4ab84=this['bindTemplate'],_0x400acb=new _0x9ccdd(_0x38b1db),_0x36b1f3=new _0x9ccdd(_0x38b1db);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',(_0x1addba,_0x520516)=>_0x1addba&&_0x520516>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x40e70f,_0x57ce85,_0x176f7d,_0x2b02d8)=>{if(!_0x40e70f)return y(_0x38b1db,'Loading...');if(!_0x176f7d)return y(_0x38b1db,'No\x20changes');const _0x4b132f=y(_0x38b1db,'NUMBER_OF_CHANGES',_0x176f7d);return _0x2b02d8?y(_0x38b1db,'X_OF_Y_CHANGES',[_0x57ce85+0x1,_0x176f7d]):_0x4b132f;}),_0x400acb['set']({'label':y(_0x38b1db,'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'}),_0x36b1f3['set']({'label':y(_0x38b1db,'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'}),_0x400acb['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x36b1f3['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x400acb['on']('execute',()=>this['fire']('execute','backward')),_0x36b1f3['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',_0xb4ab84['if']('_isStatusLabelVisible','ck-hidden',_0x5c63a5=>!_0x5c63a5)]},'children':[{'text':_0xb4ab84['to']('isNavigationMode',_0x4d840f=>_0x4d840f?y(_0x38b1db,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x38b1db,'Total')+':\x20')}]},{'text':_0xb4ab84['to']('_statusText')}]},new _0x2ec518(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x400acb,_0x36b1f3]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x4d5a42{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x41e443=this['editor']['editing']['view'];_0x41e443['change'](_0x999b65=>{for(const _0x4b3eea of _0x41e443['document']['roots'])_0x999b65['addClass'](ce,_0x4b3eea);});}['hide'](){const _0x47f526=this['editor']['editing']['view'];_0x47f526['change'](_0x418605=>{for(const _0x3b2c17 of _0x47f526['document']['roots'])_0x418605['removeClass'](ce,_0x3b2c17);});}}class R extends _0x4d5a42{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x425cd9=this['editor'],_0x44c5a8=_0x425cd9['plugins']['get'](d),_0x3970f8=_0x425cd9['plugins']['get'](de);_0x425cd9['ui']['componentFactory']['add']('exitToEditing',_0x556046=>{const _0x3b81f1=new _0x9ccdd(_0x556046);return _0x3b81f1['set']({'label':y(_0x556046,'Back\x20to\x20editing'),'icon':_0x292552['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x3b81f1,'execute',()=>{_0x425cd9['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x3b81f1;}),_0x425cd9['ui']['componentFactory']['add']('restoreRevision',_0x40d808=>{const _0x2479ae=new _0x9ccdd(_0x40d808);return _0x2479ae['set']({'label':y(_0x40d808,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x2479ae['bind']('isEnabled')['to'](_0x425cd9['commands']['get']('restoreRevision')),this['listenTo'](_0x2479ae,'execute',()=>_0x425cd9['execute']('restoreRevision')),_0x2479ae;}),_0x425cd9['ui']['componentFactory']['add']('changesNavigation',_0x166ca5=>{const _0x34bac8=new _i(_0x166ca5),_0x195108=_0x425cd9['commands']['get']('showPreviousChange'),_0x302882=_0x425cd9['commands']['get']('showNextChange');return _0x34bac8['bind']('isBackwardNavigationEnabled')['to'](_0x195108,'isEnabled'),_0x34bac8['bind']('isForwardNavigationEnabled')['to'](_0x302882,'isEnabled'),_0x34bac8['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x44c5a8),this['listenTo'](_0x34bac8,'execute',(_0x28684c,_0x2a54ba)=>{_0x425cd9['execute']('forward'===_0x2a54ba?'showNextChange':'showPreviousChange');}),_0x34bac8;}),_0x3970f8['show'](),_0x44c5a8['on']('change:isReady',(_0x4a7498,_0x21e718,_0x714fad)=>{_0x714fad?_0x3970f8['hide']():_0x3970f8['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x55717e,_0x425c81){super(_0x55717e,_0x425c81);const _0x471b43=this['bindTemplate'];this['set']({'label':y(_0x55717e,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x55717e,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x471b43['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 _0x2cd336=this['fieldView']['element'];this['_tooltipString']=_0x2cd336['scrollWidth']>_0x2cd336['clientWidth']&&_0x2cd336['value']||'';}}class ti extends _0x51fed9{constructor(_0x1bca8b,_0x5e9a66,_0x4d625c){super(_0x1bca8b);const _0x3a42c5=new _0x40db9e();_0x3a42c5['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 _0x58a409=['ck','ck-revision-history-sidebar__revision-author'];_0x4d625c&&_0x58a409['push']('ck-revision-history-sidebar__revision-author_creator');const _0x3f1cc9=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x1bca8b,_0x4d625c?'Revision\x20creator':'Revision\x20author')},'children':[_0x3a42c5,_0x5e9a66['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x58a409},'children':_0x3f1cc9});}}function ni(_0x515a74,_0x3b8277){const _0x38c72e=_0x515a74['bindTemplate'],_0x77d8a7=_0x515a74['locale'],_0x5d67f0=_0x53139c(_0x77d8a7);_0x5d67f0['panelPosition']='sw';const _0x42d396=function(_0x58b720,_0x1a2e88){const _0x4892bf=function(_0xed159d,_0x1eabc4){const _0x35d894=_0xed159d['locale'],_0x278b5a={'Compare\x20against\x20selected':y(_0x35d894,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x35d894,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x35d894,'Restore\x20this\x20revision')};return _0x1eabc4['map'](_0x348649=>{const _0x3e7652=_0x278b5a[_0x348649['name']];return _0x3e7652&&_0x3e7652!==_0x348649['name']&&(_0x348649['name']=_0x3e7652),_0x348649;});}(_0x58b720,_0x1a2e88),_0x175896=new _0x58b11b();for(const _0x18c02f of _0x4892bf){const _0x3c57ba={'type':'button','model':new to({'label':_0x18c02f['name'],'class':_0x18c02f['class'],'withText':!0x0,'role':'menuitem','_action':_0x18c02f['action']})};_0x3c57ba['model']['bind']('isEnabled')['to'](_0x58b720,'isActionsDropdownOpen',_0x1dc453=>'function'!=typeof _0x18c02f['isEnabled']||(!_0x1dc453||_0x18c02f['isEnabled'](_0x58b720))),_0x175896['add'](_0x3c57ba);}return _0x175896;}(_0x515a74,_0x3b8277);return _0x515a74['bind']('isActionsDropdownOpen')['to'](_0x5d67f0,'isOpen'),_0x5d67f0['buttonView']['set']({'label':y(_0x77d8a7,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x292552['threeVerticalDots']}),_0x5d67f0['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x38c72e['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x38c72e['to'](_0x189c72=>_0x189c72['stopPropagation']())}}),_0x5d67f0['on']('execute',_0x54ff9c=>{_0x515a74['isReady']&&'function'==typeof _0x54ff9c['source']['_action']&&_0x54ff9c['source']['_action'](_0x515a74);}),_0xe2c02c(_0x5d67f0,_0x42d396,{'role':'menu'}),_0x5d67f0['listenTo'](_0x515a74,'change:isActionsDropdownOpen',(_0x30f113,_0x920b07,_0x5d3078)=>{if(_0x5d3078)for(const _0x375d41 of _0x5d67f0['listView']['items']){const _0x4c920c=_0x375d41['children']['first'],_0x26bb06=_0x3b8277['find'](_0x3ff986=>_0x3ff986['action']===_0x4c920c['_action'])['isVisible'];_0x375d41['isVisible']=void 0x0===_0x26bb06||_0x26bb06(_0x515a74);}}),_0x5d67f0;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x44343d(_0x51fed9){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x43fc45,_0x523a28,_0x123176,_0x40343f){super(_0x43fc45);const _0x2f9ad7=this['bindTemplate'],_0x17809e=function(_0x40a1f8,_0x581200){const _0x1742de=Array['from'](_0x581200['authors'])['filter'](_0x484aa=>_0x484aa!=_0x581200['creator']);return _0x581200['creator']&&_0x1742de['unshift'](_0x581200['creator']),_0x1742de['map'](_0x404fd5=>new ti(_0x40a1f8,_0x404fd5,_0x404fd5==_0x581200['creator']));}(_0x43fc45,_0x523a28);this['id']=_0x523a28['id'],this['_revision']=_0x523a28,this['_requireRevisionName']=_0x40343f,this['bind']('name','createdAt')['to'](_0x523a28),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x54c562=>{return _0xa121db=_0x43fc45['uiLanguage'],(_0x5c2d7e=_0x54c562)['toLocaleDateString'](_0xa121db,{'month':'long','day':'numeric'})+',\x20'+_0x5c2d7e['toLocaleTimeString'](_0xa121db,{'hour':'numeric','minute':'numeric'});var _0xa121db,_0x5c2d7e;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x43fc45,_0x35e422),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0xc401f5=>_0xc401f5||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x2ebe80,_0x6d1af2)=>_0x2ebe80&&_0x6d1af2),this['revisionActionsView']=_0x123176&&_0x123176['length']?ni(this,_0x123176):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x2f9ad7['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x2f9ad7['if']('isEnabled','ck-disabled',_0x4d9bfc=>!_0x4d9bfc),_0x2f9ad7['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x2f9ad7['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x2f9ad7['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':_0x2f9ad7['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':_0x17809e}]},this['revisionActionsView']],'on':{'click':_0x2f9ad7['to'](_0x1c0ba0=>{_0x1c0ba0['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x2bfe15=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x2bfe15,'change',()=>{this['_requireRevisionName']&&!_0x2bfe15['value']||this['fire']('setName',{'id':this['id'],'name':_0x2bfe15['value']}),_0x2bfe15['value']||(_0x2bfe15['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(_0x3769c3,_0x4d4f0d){const _0x3d37e8=_0x5043f1['fromJSDate'](_0x3769c3)['setLocale'](_0x4d4f0d),_0x3a6a6a=_0x5043f1['local'](),_0x27aa91=_0x3a6a6a['minus']({'days':0x1})['startOf']('day');let _0x193528,_0x4080e0;return _0x3d37e8['hasSame'](_0x3a6a6a,'day')?(_0x193528=_0x3d37e8['startOf']('day')['toJSDate'](),_0x4080e0=_0x3d37e8['toRelativeCalendar']()):_0x3d37e8['hasSame'](_0x27aa91,'day')?(_0x193528=_0x27aa91['toJSDate'](),_0x4080e0=_0x3d37e8['toRelativeCalendar']()):_0x3d37e8['hasSame'](_0x3a6a6a,'week')?(_0x193528=_0x3d37e8['startOf']('week')['toJSDate'](),_0x4080e0=_0x3d37e8['weekdayLong']||''):_0x3d37e8['hasSame'](_0x3a6a6a,'year')?(_0x193528=_0x3d37e8['startOf']('month')['toJSDate'](),_0x4080e0=_0x3d37e8['monthLong']||''):(_0x193528=_0x3d37e8['startOf']('year')['toJSDate'](),_0x4080e0=String(_0x3d37e8['year'])),{'startDate':_0x193528,'localizedPeriodName':_0x4080e0};}class mi extends _0x51fed9{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x295146,_0x3b15e5,_0x336adf,_0x557834){super(_0x295146);const _0x907fd7=di(_0x3b15e5,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x3b15e5,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x336adf,this['_requireRevisionName']=_0x557834,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':_0x907fd7}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x8fcaec){const _0x5056fa=new ai(this['locale'],_0x8fcaec,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x5056fa);}['removeRevision'](_0x803faf){const _0x5b6344=this['revisionViews']['find'](_0x38579e=>_0x38579e['id']===_0x803faf['id']);this['revisionViews']['remove'](_0x5b6344);}}class as extends _0x51fed9{constructor(_0xf53c42){super(_0xf53c42);const _0x17ca32=new _0x40db9e();_0x17ca32['content']=_0x292552['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x17ca32,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0xf53c42,'Revision\x20history')]}]});}}class ci extends _0x51fed9{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x65c3dc,_0x1ef89b,_0x501015,_0x284d3e){super(_0x65c3dc);const _0x430be1=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x1ef89b,this['_revisionActions']=_0x501015,this['_requireRevisionName']=_0x284d3e,this['on']('select',(_0x28e32b,_0x26fd69)=>{this['fire']('revisionSelected',_0x26fd69);}),this['on']('setName',(_0xd18764,_0x8ba66c)=>{this['fire']('revisionSetName',_0x8ba66c);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x65c3dc),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x430be1['if']('isEnabled','ck-disabled',_0x4c5a16=>!_0x4c5a16)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x5eaefe of this['_revisions'])this['_addRevision'](_0x5eaefe);this['_revisions']['on']('add',(_0x4a746f,_0x3ec399)=>{this['_addRevision'](_0x3ec399);}),this['_revisions']['on']('remove',(_0x3a9a48,_0x544ff6)=>{this['_removeRevision'](_0x544ff6);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x15b91a=>_0x15b91a['revisionViews']['map'](_0x166808=>_0x166808))['flat']();}['selectRevision'](_0x251ba7){for(const _0x4880e6 of this['revisionViews'])_0x251ba7&&_0x251ba7['id']===_0x4880e6['id']?_0x4880e6['select']():_0x4880e6['deselect']();}['highlightRevisions'](_0x161aca){for(const _0x495239 of this['revisionViews'])_0x161aca['some'](({id:_0x288cc7})=>_0x288cc7===_0x495239['id'])?_0x495239['highlight']():_0x495239['unhighlight']();}['_addRevision'](_0x4254bb){const _0x5d0cb5=di(_0x4254bb['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x1240dd=this['timePeriodViews']['get'](0x0);_0x1240dd&&_0x1240dd['startDate']['getTime']()===_0x5d0cb5['getTime']()||(_0x1240dd=new mi(this['locale'],_0x5d0cb5,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x1240dd)),_0x1240dd['addRevision'](_0x4254bb);}['_removeRevision'](_0x40ae6d){const _0x24a47e=di(_0x40ae6d['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x24a47e)['removeRevision'](_0x40ae6d);}['_getTimePeriodViewByStartDate'](_0xbd9575){return this['timePeriodViews']['find'](_0xd49cdc=>_0xd49cdc['startDate']['getTime']()===_0xbd9575['getTime']());}}class w extends _0x4d5a42{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0xfa4437,Context as _0x4015ec,PendingActions as _0x86a053,icons as _0x11c8c0,Command as _0x55c61c,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x19a374,uid as _0x4d587a,Collection as _0x2fa1af,logWarning as _0xe264d,FocusTracker as _0xe0f2b7,KeystrokeHandler as _0xd9bf79,scrollViewportToShowTarget as _0x1c98ac,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x49b839}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x360443,getMarkerDomElement as _0x43cc40,ConfirmMixin as _0x334d6a,sanitizeEditorConfig as _0x4ceac5}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x4e9a9c,ViewText as _0x2c9816,ViewElement as _0x30e238,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x2f2a05,ViewAttributeElement as _0xd1bcab,ViewEmptyElement as _0x3cff86,ViewRawElement as _0x731309,ViewUIElement as _0x3a86bf,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x582adc,set as _0x144fc8,unset as _0x20d994,isEqual as _0x2dc93d}from'lodash-es';import{View as _0x589ebd,injectCssTransitionDisabler as ts,submitHandler as _0x1b789f,LabeledFieldView as at,createLabeledInputText as _0x8b630e,createDropdown as _0x47e0bd,ListView as te,ListItemView as _0x1242fc,ButtonView as _0x1c1921,MenuBarMenuView as _0x5e5718,MenuBarMenuListView as _0x4ca538,MenuBarMenuListItemView as _0x352236,MenuBarMenuListItemButtonView as _0x598d99,ContextualBalloon as _0x53e1b3,ToolbarSeparatorView as _0x250cdc,IconView as _0x4425ac,addListToDropdown as _0x38e45e,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 _0x33f63c}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x19a374(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x4c5da3){super(),this['id']=_0x4c5da3['id']||_0x4d587a(),this['creator']=_0x4c5da3['creator']||null,this['authors']=_0x4c5da3['authors']||[],this['diffData']=_0x4c5da3['diffData']||null,this['toVersion']=_0x4c5da3['toVersion']||0x0,this['fromVersion']=_0x4c5da3['fromVersion']||0x0,this['set']('name',_0x4c5da3['name']||''),this['set']('createdAt',_0x4c5da3['createdAt']||new Date()),this['set']('attributes',_0x4c5da3['attributes']||{});}['setName'](_0xf5fc96){this['_update']({'name':_0xf5fc96});}['setAttribute'](_0x433a8c,_0x4ff0e4){const _0x33c7c8=_0x582adc(this['attributes']);_0x144fc8(_0x33c7c8,_0x433a8c,_0x4ff0e4),this['_update']({'attributes':_0x33c7c8});}['removeAttribute'](_0x394110){const _0x3cdc67=_0x582adc(this['attributes']);_0x20d994(_0x3cdc67,_0x394110),this['_update']({'attributes':_0x3cdc67});}['_update'](_0x2acc2b,_0xfb2d16=!0x1){let _0x19338c=!0x1;const _0x465f29={'id':this['id']},_0x48c629=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x285c17 of _0x48c629){const _0x99b4da=_0x2acc2b[_0x285c17];void 0x0!==_0x99b4da&&_0x99b4da!==this[_0x285c17]&&(this[_0x285c17]=_0x99b4da,_0x465f29[_0x285c17]=_0x99b4da,_0x19338c=!0x0);}_0x19338c&&(_0x465f29['authors']&&(_0x465f29['authorsIds']=_0x465f29['authors']['map'](_0x9d171b=>_0x9d171b['id']),delete _0x465f29['authors']),this['fire']('_update',_0x465f29,_0xfb2d16));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x45c960=>_0x45c960['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0xfa4437{['_revisions'];static get['requires'](){return[_0x360443];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x22047c){super(_0x22047c),this['_revisions']=new _0x2fa1af();}['afterInit'](){!function(_0x4efa53){function _0x58dc94(_0x2febe6,_0x5bc361,_0x2f89ca){const _0x4d448d={};_0x4d448d[_0x883513([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x4d448d[_0x883513([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],_0x4d448d[_0x883513([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],_0x4d448d[_0x883513([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],_0x4d448d[_0x883513([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],_0x4d448d[_0x883513([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],_0x4d448d[_0x883513([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],_0x4d448d[_0x883513([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],_0x4d448d[_0x883513([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],_0x4d448d[_0x883513([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],_0x4d448d[_0x883513([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 _0x287822=new Uint8Array(0x10);for(let _0xffebbf=0xf;_0xffebbf>=0x0;--_0xffebbf)_0x287822[_0xffebbf]=_0x2f89ca%0x100,_0x2f89ca=parseInt(_0x2f89ca/0x100);let _0x512f57=null,_0x5933bf=0x10;const _0xdd0f63=new Uint8Array(_0x5bc361),_0x28b337=[],_0xb2d1d8=[];_0x1f497b();for(let _0x5c614d=0x0;_0x5c614d<_0x2febe6[_0x883513([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c614d++)0x10===_0x5933bf&&(_0x512f57=_0x4db22e(_0x287822),_0x5933bf=0x0,_0x2add2a(_0x287822)),_0x2febe6[_0x5c614d]^=_0x512f57[_0x5933bf++];return _0x2febe6;function _0xe13eeb(_0x86ffa){const _0x358ce4=[];for(let _0x2e4e45=0x0;_0x2e4e45<_0x86ffa[_0x883513([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e4e45+=0x4)_0x358ce4[_0x883513([0x70,0x75,0x73,0x68])](_0x86ffa[_0x2e4e45]<<0x18|_0x86ffa[_0x2e4e45+0x1]<<0x10|_0x86ffa[_0x2e4e45+0x2]<<0x8|_0x86ffa[_0x2e4e45+0x3]);return _0x358ce4;}function _0x2add2a(_0xd517c3){for(let _0x4d96d1=0xf;_0x4d96d1>=0x0;_0x4d96d1--){if(0xff!==_0xd517c3[_0x4d96d1]){_0xd517c3[_0x4d96d1]++;break;}_0xd517c3[_0x4d96d1]=0x0;}}function _0x4db22e(_0x160b72){const _0x5c13bf=_0x28b337[_0x883513([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x3c11c1=[0x0,0x0,0x0,0x0];let t=_0xe13eeb(_0x160b72);for(let _0xe7b817=0x0;_0xe7b817<0x4;_0xe7b817++)t[_0xe7b817]^=_0x28b337[0x0][_0xe7b817];for(let _0x502178=0x1;_0x502178<_0x5c13bf;_0x502178++){for(let _0x51b669=0x0;_0x51b669<0x4;_0x51b669++)_0x3c11c1[_0x51b669]=_0x4d448d[_0x883513([0x54,0x31])][t[_0x51b669]>>0x18&0xff]^_0x4d448d[_0x883513([0x54,0x32])][t[(_0x51b669+0x1)%0x4]>>0x10&0xff]^_0x4d448d[_0x883513([0x54,0x33])][t[(_0x51b669+0x2)%0x4]>>0x8&0xff]^_0x4d448d[_0x883513([0x54,0x34])][0xff&t[(_0x51b669+0x3)%0x4]]^_0x28b337[_0x502178][_0x51b669];t=_0x3c11c1[_0x883513([0x73,0x6c,0x69,0x63,0x65])]();}const _0x549ceb=new Uint8Array(0x10);let _0x3d2fc8;for(let _0x2444d0=0x0;_0x2444d0<0x4;_0x2444d0++)_0x3d2fc8=_0x28b337[_0x5c13bf][_0x2444d0],_0x549ceb[0x4*_0x2444d0]=0xff&(_0x4d448d[_0x883513([0x53])][t[_0x2444d0]>>0x18&0xff]^_0x3d2fc8>>0x18),_0x549ceb[0x4*_0x2444d0+0x1]=0xff&(_0x4d448d[_0x883513([0x53])][t[(_0x2444d0+0x1)%0x4]>>0x10&0xff]^_0x3d2fc8>>0x10),_0x549ceb[0x4*_0x2444d0+0x2]=0xff&(_0x4d448d[_0x883513([0x53])][t[(_0x2444d0+0x2)%0x4]>>0x8&0xff]^_0x3d2fc8>>0x8),_0x549ceb[0x4*_0x2444d0+0x3]=0xff&(_0x4d448d[_0x883513([0x53])][0xff&t[(_0x2444d0+0x3)%0x4]]^_0x3d2fc8);return _0x549ceb;}function _0x1f497b(){const _0x251038=_0x4d448d[_0x883513([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0xdd0f63[_0x883513([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x2d205e=0x0;_0x2d205e<=_0x251038;_0x2d205e++)_0x28b337[_0x883513([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0xb2d1d8[_0x883513([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x32ca6e=0x4*(_0x251038+0x1),_0xb534e9=_0xdd0f63[_0x883513([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x2e9955=_0xe13eeb(_0xdd0f63);let _0x14076b;for(let _0x462377=0x0;_0x462377<_0xb534e9;_0x462377++)_0x14076b=_0x462377>>0x2,_0x28b337[_0x14076b][_0x462377%0x4]=_0x2e9955[_0x462377],_0xb2d1d8[_0x251038-_0x14076b][_0x462377%0x4]=_0x2e9955[_0x462377];let _0x46c0fa,_0x372498=0x0,t=_0xb534e9;for(;t<_0x32ca6e;){_0x46c0fa=_0x2e9955[_0xb534e9-0x1],_0x2e9955[0x0]^=_0x4d448d[_0x883513([0x53])][_0x46c0fa>>0x10&0xff]<<0x18^_0x4d448d[_0x883513([0x53])][_0x46c0fa>>0x8&0xff]<<0x10^_0x4d448d[_0x883513([0x53])][0xff&_0x46c0fa]<<0x8^_0x4d448d[_0x883513([0x53])][_0x46c0fa>>0x18&0xff]^_0x4d448d[_0x883513([0x72,0x63,0x6f,0x6e])][_0x372498]<<0x18,_0x372498+=0x1;for(let _0x1638b3=0x1;_0x1638b3<_0xb534e9/0x2;_0x1638b3++)_0x2e9955[_0x1638b3]^=_0x2e9955[_0x1638b3-0x1];_0x46c0fa=_0x2e9955[_0xb534e9/0x2-0x1],_0x2e9955[_0xb534e9/0x2]^=_0x4d448d[_0x883513([0x53])][0xff&_0x46c0fa]^_0x4d448d[_0x883513([0x53])][_0x46c0fa>>0x8&0xff]<<0x8^_0x4d448d[_0x883513([0x53])][_0x46c0fa>>0x10&0xff]<<0x10^_0x4d448d[_0x883513([0x53])][_0x46c0fa>>0x18&0xff]<<0x18;for(let _0x1c7940=_0xb534e9/0x2+0x1;_0x1c7940<_0xb534e9;_0x1c7940++)_0x2e9955[_0x1c7940]^=_0x2e9955[_0x1c7940-0x1];let _0x7efcb8,_0x4b3609,_0x397783=0x0;for(;_0x397783<_0xb534e9&&t<_0x32ca6e;)_0x7efcb8=t>>0x2,_0x4b3609=t%0x4,_0x28b337[_0x7efcb8][_0x4b3609]=_0x2e9955[_0x397783],_0xb2d1d8[_0x251038-_0x7efcb8][_0x4b3609]=_0x2e9955[_0x397783++],t++;}for(let _0x498106=0x1;_0x498106<_0x251038;_0x498106++)for(let _0xb3f0f5=0x0;_0xb3f0f5<0x4;_0xb3f0f5++)_0x46c0fa=_0xb2d1d8[_0x498106][_0xb3f0f5],_0xb2d1d8[_0x498106][_0xb3f0f5]=_0x4d448d[_0x883513([0x55,0x31])][_0x46c0fa>>0x18&0xff]^_0x4d448d[_0x883513([0x55,0x32])][_0x46c0fa>>0x10&0xff]^_0x4d448d[_0x883513([0x55,0x33])][_0x46c0fa>>0x8&0xff]^_0x4d448d[_0x883513([0x55,0x34])][0xff&_0x46c0fa];}}function _0x883513(_0x28e336){return _0x28e336['map'](_0x150b82=>String['fromCharCode'](_0x150b82))['join']('');}(_0x972897=>{function _0x12ea0a(){const _0x52521e=[{[_0x883513([0x69,0x64])]:0x1,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x883513([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x883513([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x883513([0x69,0x64])]:0x2,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x883513([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([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]),[_0x883513([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x883513([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x883513([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x883513([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x883513([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x883513([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x883513([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x883513([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x883513([0x69,0x64])]:0x3,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x883513([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x883513([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x883513([0x69,0x64])]:0x4,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([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]),[_0x883513([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x883513([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x883513([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x883513([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x883513([0x69,0x64])]:0x5,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x883513([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x883513([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]),[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x883513([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x883513([0x66,0x67,0x69])]:[0xc]}},{[_0x883513([0x69,0x64])]:0x6,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x883513([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x883513([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x883513([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x883513([0x66,0x67,0x69])]:[0xc]}},{[_0x883513([0x69,0x64])]:0x7,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x883513([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x883513([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x883513([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x883513([0x66,0x67,0x69])]:[0xc]}},{[_0x883513([0x69,0x64])]:0x8,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x883513([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x883513([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]),[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x883513([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x883513([0x66,0x67,0x69])]:[0xc]}},{[_0x883513([0x69,0x64])]:0x9,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x883513([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x883513([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x883513([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x883513([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x883513([0x69,0x64])]:0xa,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([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]),[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x883513([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]),[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x883513([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]),[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x883513([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x883513([0x66,0x67,0x69])]:[0xc]}},{[_0x883513([0x69,0x64])]:0xb,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x883513([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x883513([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x883513([0x69,0x64])]:0xc,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x883513([0x69,0x64])]:0xd,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x883513([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x883513([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x883513([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x883513([0x66,0x67,0x69])]:[0xc]}},{[_0x883513([0x69,0x64])]:0xe,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x883513([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([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])},{[_0x883513([0x69,0x64])]:0xf,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x883513([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x883513([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x883513([0x69,0x64])]:0x10,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x883513([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x883513([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x883513([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x883513([0x66,0x67,0x69])]:[0xc]}}];return _0x1d8866(_0x52521e),_0x52521e;function _0x4c741e(_0x3ee5a2){return 0x1<<_0x3ee5a2-0x1;}function _0x1d8866(_0x2e522d){_0x2e522d[_0x883513([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xceb89a=>{_0xceb89a[_0x883513([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x4c741e(_0xceb89a[_0x883513([0x69,0x64])]),_0x1e01b0(_0xceb89a)&&_0xceb89a[_0x883513([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1d8866(_0xceb89a[_0x883513([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x1e01b0(_0x2376df){return _0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x2376df;}const _0x2abf6a=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x4f73bc=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x5c0f54(_0x4eb030){const _0x451d30=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x4bbad8(_0x4eb030,new Uint8Array([..._0x2abf6a,..._0x451d30,..._0x4f73bc]));}function _0x4bbad8(_0x293903,_0x142904){const _0x164ac8=_0x258eb7(_0x293903),_0xb74444=Array[_0x883513([0x66,0x72,0x6f,0x6d])](_0x58ba6c(_0x164ac8)),_0x5bec85=_0xb74444[_0x883513([0x70,0x6f,0x70])](),_0x5b5fa5=_0xb74444[_0x883513([0x70,0x6f,0x70])]();return _0x32ce4f(_0x58dc94(_0xb74444,_0x142904,_0x5b5fa5+0x100*_0x5bec85));}function _0x258eb7(_0x3b7fa4){const _0x503628=atob(_0x3b7fa4),[_0x50bc89,_0x170cb2]=_0x503628[_0x883513([0x73,0x70,0x6c,0x69,0x74])](_0x883513([0x2d]));try{if(atob(_0x170cb2))return atob(_0x50bc89);}catch(_0x20974a){}return _0x503628;}function _0x101b77(_0x4c7ff8){try{const _0x29709c=_0x5c0f54(_0x4c7ff8),_0x4a8130=JSON[_0x883513([0x70,0x61,0x72,0x73,0x65])](_0x29709c),_0x3e29e4=parseInt(_0x4a8130[_0x883513([0x31])]),_0x17a05a=_0x4a8130[_0x883513([0x32])]||'',_0xc56cd=parseInt(_0x4a8130[_0x883513([0x33])]),_0x3f927d=parseInt(_0x4a8130[_0x883513([0x34])])||0x0,_0x42a605=parseInt(_0x4a8130[_0x883513([0x35])])||0x0;return{[_0x883513([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x17a05a,[_0x883513([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x3f927d,[_0x883513([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x3e29e4,[_0x883513([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0xc56cd,[_0x883513([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x42a605};}catch(_0x45a59a){return null;}}const _0x5b4d30=_0x12ea0a(),_0x2b3ca3={[_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0xdcad00,[_0x883513([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])]:_0x3edaba,[_0x883513([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])]:_0x2d6d24},_0x15bf2e=_0x972897[_0x883513([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0xece90a=_0x883513([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x972897?_0x972897['context']:_0x972897['editor'],_0x4a44f9=_0x883513([0x34,0x30,0x34,0x38,0x31,0x32,0x35,0x34]),_0x23bbd8=_0x883513([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]),_0x18dea3=_0xece90a['config']['get'](_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3195e3=_0x5b4d30[_0x883513([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e01b0)[_0x883513([0x66,0x69,0x6e,0x64])](_0x504230=>_0x504230[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x15bf2e);function _0x57e2f7(_0x4909c1,_0x550833){_0x2b3ca3[_0x550833[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x4909c1,_0x550833),_0x550833[_0x883513([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x550833[_0x883513([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x883513([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x23fdf5=>_0x51114d(_0xece90a,_0x23fdf5[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x883513([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x215363=>_0x57e2f7(_0x4909c1,_0x215363));}function _0xdcad00(_0x2d2c29,_0x5c92cf){_0x59af73(_0x53d307(_0x2d2c29,_0x5c92cf),_0x5c92cf);}function _0x3edaba(_0x661fed,_0x23b304){function _0x1a9039(_0x335ac3,_0x1d2bdd){try{if(_0x51114d(_0xece90a,_0x883513([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x335ac3){const _0x3a8cc1=_0x4b1b69(_0xece90a,_0x883513([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x883513([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x3a8cc1)/0x2>_0x335ac3[_0x883513([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x12cd27(_0x1d2bdd[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x53d307(_0x335ac3,_0x1d2bdd);}catch(_0x41aa1b){return _0x12cd27(_0x1d2bdd[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x59af73(_0x1a9039(_0x661fed,_0x23b304),_0x23b304);}function _0x2d6d24(_0x4c20a7,_0x5341e9){const _0x245e7f=_0x4f73bc[0x0]*_0x2abf6a[0x1],_0x7cf864=_0x4f73bc[0x0]*_0x2abf6a[0x2],_0x1c5ceb=_0x4f73bc[0x2]*_0x2abf6a[0x2];_0x51114d(_0xece90a,_0x883513([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4b1b69(_0xece90a,_0x883513([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x883513([0x73,0x74,0x61,0x74,0x65])]==_0x883513([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0xa9a077()]=_0x1c5ceb);function _0x5d632e(_0x387a06,_0x49dd5d){try{return _0x4be910()?_0x12cd27(_0x49dd5d[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x56,0x61,0x6c,0x69,0x64])):_0x53d307(_0x387a06,_0x49dd5d);}catch(_0x53694f){return _0x12cd27(_0x49dd5d[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1af3cc(_0x285dbb,_0x3841ef){const _0x2ad570=0x7;if(_0x285dbb==_0x3841ef[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x508d98();else{if(_0x285dbb==_0x3841ef[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x54,0x72,0x69,0x61,0x6c])){const _0xc05b02=_0x4955d2();_0xc05b02&&_0x744af2(_0xc05b02,_0x3841ef[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x468c12=_0x1a0aa1();window[_0x883513([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x744af2(_0x883513([0x74,0x69,0x6d,0x65]),_0x3841ef[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x468c12);const _0x536674=_0x4b1b69(_0xece90a,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x883513([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x536674[_0x883513([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2ad570?_0x744af2(_0x883513([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3841ef[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x536674['on'](_0x883513([0x61,0x64,0x64]),()=>{_0x536674[_0x883513([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2ad570&&_0x744af2(_0x883513([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3841ef[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x4955d2(){if(!_0x51114d(_0xece90a,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x3df07e in window)if(Number['isNaN'](Number(_0x3df07e))){if(window[_0x3df07e]===_0x245e7f)return _0x883513([0x74,0x69,0x6d,0x65]);if(window[_0x3df07e]===_0x7cf864)return _0x883513([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x4be910(){if(!_0x51114d(_0xece90a,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x41dd92 in window)if(Number['isNaN'](Number(_0x41dd92))&&window[_0x41dd92]===_0x1c5ceb)return!0x0;return!0x1;}function _0x744af2(_0xf79e6d,_0x32fd97){_0x508d98(),_0x12cd27(_0x32fd97+_0x883513([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0xf79e6d),window[_0xa9a077()]=_0xf79e6d===_0x883513([0x74,0x69,0x6d,0x65])?_0x245e7f:_0x7cf864;}function _0x1a0aa1(){let _0x4dd407=_0x4f73bc[0x6]*_0x2abf6a[0x8]*_0x2abf6a[0x6];return _0x51114d(_0xece90a,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4dd407/=0xa),_0x4dd407;}function _0x508d98(){const _0x432dfd=_0xece90a;function _0x21984b(){_0x51114d(_0x432dfd,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x4b1b69(_0x432dfd,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x883513([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x883513([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4b1b69(_0x432dfd,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x883513([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4b1b69(_0x432dfd,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x883513([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x573566,_0x4b1b69(_0x432dfd,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x883513([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x573566,_0x432dfd[_0x883513([0x6d,0x6f,0x64,0x65,0x6c])][_0x883513([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x573566,_0x432dfd[_0x883513([0x6d,0x6f,0x64,0x65,0x6c])][_0x883513([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x573566,_0x432dfd[_0x883513([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x883513([0x6d,0x6f,0x64,0x65,0x6c]))),_0x51114d(_0x432dfd,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4b1b69(_0x432dfd,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x883513([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x883513([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4b1b69(_0x432dfd,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x883513([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4b1b69(_0x432dfd,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x883513([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x573566,_0x4b1b69(_0x432dfd,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x883513([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x573566);}_0x432dfd[_0x883513([0x73,0x74,0x61,0x74,0x65])]==_0x883513([0x72,0x65,0x61,0x64,0x79])?_0x21984b():_0x432dfd[_0x883513([0x6f,0x6e,0x63,0x65])](_0x883513([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x51114d(_0x432dfd,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x21984b(),_0x51114d(_0x432dfd,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x4c867d=_0x4b1b69(_0x432dfd,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x280de9=_0x4c867d['getRevision'](0x0),_0x13d884=_0x4c867d['getEarlierVisibleRevision'](_0x280de9[_0x883513([0x69,0x64])]);_0x4b1b69(_0x432dfd,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x883513([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x280de9[_0x883513([0x69,0x64])],_0x13d884?_0x13d884[_0x883513([0x69,0x64])]:null,0x1)['then'](()=>_0x21984b());}});}_0x1af3cc(_0x5d632e(_0x4c20a7,_0x5341e9),_0x5341e9);}function _0x53d307(_0x2a536b,_0x2bc039){try{return _0x4292e5(_0x2bc039)?_0x12cd27(_0x2bc039[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x56,0x61,0x6c,0x69,0x64])):_0x2a536b&&_0x246010(_0x2a536b[_0x883513([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x2bc039)?_0x2a536b[_0x883513([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x883513([0x6f,0x70,0x65,0x6e])][_0x883513([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x4a44f9)/0x2>_0x2a536b[_0x883513([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x12cd27(_0x2bc039[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x2a536b[_0x883513([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x12cd27(_0x2bc039[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x54,0x72,0x69,0x61,0x6c])):_0x12cd27(_0x2bc039[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x56,0x61,0x6c,0x69,0x64])):_0x12cd27(_0x2bc039[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x298fbb){return _0x12cd27(_0x2bc039[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x59af73(_0x107760,_0x16eedb){if(_0xece90a instanceof _0x4015ec){const _0x21be96=_0xece90a;_0x107760==_0x16eedb[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3fa01d(_0x21be96):_0x107760==_0x16eedb[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x54,0x72,0x69,0x61,0x6c])&&window[_0x883513([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3fa01d(_0x21be96),_0x12cd27(_0x16eedb[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x4f73bc[0x6]*_0x2abf6a[0x8]*_0x2abf6a[0x6]),_0x21be96[_0x883513([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x883513([0x6f,0x6e])](_0x883513([0x61,0x64,0x64]),(_0x6351e9,_0x49e5b6)=>{_0x107760!=_0x16eedb[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x107760!=_0x16eedb[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x107760!=_0x16eedb[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x3e5142(_0x49e5b6);});}else{const _0x529362=_0xece90a;_0x107760==_0x16eedb[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3e5142(_0x529362):_0x107760==_0x16eedb[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x54,0x72,0x69,0x61,0x6c])&&_0x529362[_0x883513([0x6f,0x6e])](_0x883513([0x72,0x65,0x61,0x64,0x79]),()=>{let _0xc61d9b=0x0;_0x529362[_0x883513([0x6d,0x6f,0x64,0x65,0x6c])][_0x883513([0x6f,0x6e])](_0x883513([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x45ce06,_0x4ca4da)=>{_0x4ca4da[0x0][_0x883513([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xc61d9b++,0x1f8===_0xc61d9b&&(_0x3e5142(_0x529362),_0x12cd27(_0x16eedb[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x45ce06[_0x883513([0x6f,0x66,0x66])]());},{'priority':_0x883513([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x12cd27(_0x2b200b){const _0x57b2a7=_0xa9a077();return _0xece90a[_0x57b2a7]=_0x2b200b,_0x2b200b;}function _0xa9a077(){const _0x4a0907=String(window[_0x883513([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x883513([0x6e,0x6f,0x77])]())[_0x883513([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x883513([0x2e]),'');let _0x589636='';for(let _0x2a5330=0x0;_0x2a5330<_0x4a0907[_0x883513([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a5330+=0x2){let _0x41f8e3=parseInt(_0x4a0907[_0x883513([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a5330,_0x2a5330+0x2));_0x41f8e3>=_0x23bbd8[_0x883513([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x41f8e3-=_0x23bbd8[_0x883513([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x589636+=_0x23bbd8[_0x41f8e3];}return _0x589636;}function _0x3fa01d(_0x59f02c){for(const _0x54c828 of _0x59f02c[_0x883513([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x3e5142(_0x54c828);_0x4b1b69(_0x59f02c,_0x883513([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x883513([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x4b1b69(_0x59f02c,_0x883513([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x883513([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x573566;}function _0x3e5142(_0x23fea7){function _0x33e071(){_0x23fea7[_0x883513([0x6d,0x6f,0x64,0x65,0x6c])][_0x883513([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x573566,_0x23fea7[_0x883513([0x6d,0x6f,0x64,0x65,0x6c])][_0x883513([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x573566,_0x23fea7[_0x883513([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x883513([0x6d,0x6f,0x64,0x65,0x6c]));}_0x23fea7[_0x883513([0x73,0x74,0x61,0x74,0x65])]==_0x883513([0x72,0x65,0x61,0x64,0x79])?_0x33e071():_0x23fea7[_0x883513([0x6f,0x6e,0x63,0x65])](_0x883513([0x72,0x65,0x61,0x64,0x79]),()=>_0x33e071());}function _0x573566(){return null;}function _0x246010(_0x3092ec,_0x2bd33a){const _0x1c75d7=!!(_0x3092ec&_0x2bd33a[_0x883513([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x1edef4=_0x527839(_0x3092ec,_0x2bd33a);return _0x1c75d7||_0x1edef4;}function _0x527839(_0x1629ff,_0x176f73){const _0x403e90=(_0x176f73[_0x883513([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x883513([0x66,0x67,0x69])]||null;return!!_0x403e90&&_0x5b4d30[_0x883513([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x199522=>_0x403e90[_0x883513([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x199522[_0x883513([0x69,0x64])]))[_0x883513([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a8866=>!_0xfe0ed8(_0x2a8866))[_0x883513([0x73,0x6f,0x6d,0x65])](_0x2355bb=>!!(_0x1629ff&_0x2355bb[_0x883513([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0xfe0ed8(_0x46fbd3){const _0x2a90e5={[_0x883513([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])]:_0x517f95};return!!_0x46fbd3['forbiddenHandler']&&_0x2a90e5[_0x46fbd3['forbiddenHandler']]();}function _0x517f95(){return!window[_0x883513([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x51114d(_0xece90a,_0x883513([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x4292e5(_0x55bf42){if(!_0x51114d(_0xece90a,_0x55bf42[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x2934f2=_0x55bf42[_0x883513([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x57f775=_0x2934f2[_0x883513([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x2c0ef4=_0x2934f2[_0x883513([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x3eee58=_0x2934f2[_0x883513([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x51114d(_0xece90a,_0x883513([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4b1b69(_0xece90a,_0x883513([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x883513([0x73,0x74,0x61,0x74,0x65])]==_0x883513([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x57f775)return!0x0;if(_0x51114d(_0xece90a,_0x883513([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x4b1b69(_0xece90a,_0x883513([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x883513([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x883513([0x65,0x6e,0x64])&&_0x2c0ef4)return!0x0;return!(!_0x51114d(_0xece90a,_0x883513([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]))||_0x4b1b69(_0xece90a,_0x883513([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]))[_0x883513([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x883513([0x65,0x6e,0x64])||!_0x3eee58);}function _0x51114d(_0x5b6412,_0x7f3c8){return _0x5b6412[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x883513([0x68,0x61,0x73])](_0x7f3c8);}function _0x4b1b69(_0x53caf0,_0xeaaee2){return _0x53caf0[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x883513([0x67,0x65,0x74])](_0xeaaee2);}function _0x32ce4f(_0x25571c){let _0x330e6e='';for(const _0x556235 of _0x25571c)_0x330e6e+=String[_0x883513([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x556235);return _0x330e6e;}function _0x58ba6c(_0x399a5b){const _0x3b0e41=new Uint8Array(_0x399a5b[_0x883513([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x3c9fae=0x0;_0x3c9fae<_0x399a5b[_0x883513([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c9fae++)_0x3b0e41[_0x3c9fae]=_0x399a5b[_0x883513([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3c9fae);return _0x3b0e41;}_0x3195e3&&_0x57e2f7(_0x101b77(_0x18dea3),_0x3195e3);})(_0x4efa53);}(this);}['createRevision'](_0x208c5a){const _0x1c1f0a=this['editor']['plugins']['get']('Users');return new a({'id':_0x208c5a['id'],'name':_0x208c5a['name'],'creator':_0x208c5a['creatorId']?_0x1c1f0a['getUser'](_0x208c5a['creatorId']):null,'diffData':_0x208c5a['diffData']||_0x208c5a['data'],'authors':_0x208c5a['authorsIds']['map'](_0xea99f1=>_0x1c1f0a['getUser'](_0xea99f1)),'createdAt':new Date(_0x208c5a['createdAt']),'attributes':_0x208c5a['attributes'],'fromVersion':_0x208c5a['fromVersion'],'toVersion':_0x208c5a['toVersion']});}['addRevision'](_0x522b96,_0x37c12f=0x0){this['_revisions']['add'](_0x522b96,_0x37c12f);}['getRevision'](_0x308fc6){return this['_revisions']['get'](_0x308fc6);}['getRevisions'](_0x5355ea={'toJSON':!0x1}){const _0x20855d=Array['from'](this['_revisions']);return _0x20855d['reverse'](),_0x5355ea['toJSON']?_0x20855d['map'](_0x1b7248=>_0x1b7248['toJSON']()):_0x20855d;}['getIndex'](_0x4e0fd1){return this['_revisions']['getIndex'](_0x4e0fd1);}['getEarlierVisibleRevision'](_0x24d7c6){const [,_0x5dcf6a]=this['getRevisionsIterator'](_0x24d7c6,{'direction':'earlier'});return _0x5dcf6a;}['getLaterVisibleRevision'](_0x31ed23){const [,_0x4649f7]=this['getRevisionsIterator'](_0x31ed23,{'direction':'later'});return _0x4649f7;}['getRevisionsInDiff'](_0x46d287){const _0x571587=[];for(const _0x25fce1 of this['getRevisionsIterator'](_0x46d287['newRevisionId']))if(_0x571587['push'](_0x25fce1),_0x25fce1['id']===_0x46d287['oldRevisionId'])break;return _0x571587;}*['getRevisionsIterator'](_0x296f38,{direction:_0x1cc3f1='earlier',filter:_0x4b9311=_0x2aec49=>!0x0}={}){const _0x48c3b7='earlier'===_0x1cc3f1?0x1:-0x1;let _0x53632d=this['_revisions']['get'](_0x296f38),_0xc1b16e=this['getIndex'](_0x53632d);for(yield _0x53632d;_0x53632d;){if(_0xc1b16e+=_0x48c3b7,_0x53632d=this['getRevision'](_0xc1b16e),!_0x53632d)return;_0x4b9311(_0x53632d)&&(yield _0x53632d);}}}function y(_0x5d22f1,_0x3ee430,_0x31aac2){const t=_0x5d22f1['t'];switch(_0x3ee430){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'},_0x31aac2);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x31aac2);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x2f2a05,'a':_0xd1bcab,'e':_0x3cff86,'r':_0x731309,'u':_0x3a86bf};class l extends _0xfa4437{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x360443,A,_0x86a053];}constructor(_0x50ad91){super(_0x50ad91),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 _0x460dfb=_0x4d587a();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x460dfb},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 _0x88bba6=this['repository']['getRevision'](0x0),_0x4e6cb8=_0x88bba6&&null===_0x88bba6['creator']?_0x88bba6:null;if(this['_continueCurrentRevision']=!!_0x4e6cb8&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x3df846=this['_source']['getCurrentRevisionId'](),_0xe13ca1=this['repository']['getRevision'](_0x3df846);if(_0xe13ca1)this['_startingVersion']=_0xe13ca1['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x58bfbb=this['_source']['history']['_operations']['find'](_0x57b8ab=>!_0x57b8ab['_isInit']),_0x3f9eb9=_0x58bfbb?_0x58bfbb['baseVersion']:this['_source']['history']['version'];_0x88bba6?(_0x88bba6['toVersion']<_0x3f9eb9&&_0x88bba6['_update']({'toVersion':_0x3f9eb9}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x4e6cb8['id'],this['_startingVersion']=_0x4e6cb8['fromVersion']):(this['_startingVersion']=_0x88bba6['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x3f9eb9,this['_continueCurrentRevision']=!0x1);}}else _0x4e6cb8&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x4e6cb8['toVersion'],this['editor']['model']['document']['history']['version']),_0x4e6cb8['fromVersion']===_0x4e6cb8['toVersion']?(0x0!==_0x4e6cb8['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x4e6cb8['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x4e6cb8['id'],this['_startingVersion']=_0x4e6cb8['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',_0xadf1ac=>!_0xadf1ac);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x57c7c9=this['repository']['getRevision'](0x0),_0x4374c1=await this['getRevisionDocumentData'](_0x57c7c9),_0x4d058f=await this['getRevisionRootsAttributes'](_0x57c7c9);this['_replaceEditorDataWithRevisionData'](_0x4374c1,_0x4d058f);}}['setSource'](_0x5a1ffc){this['_source']=_0x5a1ffc;}async['update'](){const _0x52851a=await this['_source']['getLatestVersion']();if(_0x52851a>this['currentRevision']['toVersion']){await this['_loadState']();const _0x5ec25a=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x52851a});_0x5ec25a['authors']=_0x5ec25a['authorsIds']['map'](_0x5a4c2c=>this['editor']['plugins']['get']('Users')['getUser'](_0x5a4c2c)),this['currentRevision']['_update'](_0x5ec25a);}}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'](_0x281747={},_0x292667=null){const _0x19cf11=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x292667>this['currentRevision']['toVersion']&&(_0x292667=null),null===_0x292667&&(_0x292667=await this['_source']['getLatestVersion']());const _0x507bcc=this['_getFromVersion'](_0x292667),_0x41b13e=this['buildRevisionData']({'from':_0x507bcc,'to':_0x292667});if(this['currentRevision']['toVersion']<_0x292667){const _0x4099a5=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x292667,'to':_0x292667});_0x4099a5['authors']=[],_0x4099a5['authorsIds']=[],_0x4099a5['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x4099a5,!0x0),delete _0x4099a5['authors'],_0x19cf11['push'](_0x4099a5);}_0x281747['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x281747['name']=_0x281747['name']||null,_0x281747['id']=_0x281747['id']||_0x4d587a(),_0x281747={..._0x281747,..._0x41b13e};const _0x5f5979=this['addRevisionData'](_0x281747);_0x19cf11['push'](_0x281747);const _0x8ae72c=this['repository']['getIndex'](_0x5f5979);if(0x0!==_0x8ae72c){const _0x2b3160=this['repository']['getRevision'](_0x8ae72c-0x1);if(_0x2b3160['fromVersion']!==_0x292667){const _0x2d93eb=this['_revisionDataBuilder']['getData'](_0x292667,_0x2b3160['toVersion']),_0x7cf210={'id':_0x2b3160['id'],'diffData':_0x2d93eb['diffData'],'authorsIds':_0x2d93eb['authorsIds'],'authors':_0x2d93eb['authorsIds']['map'](_0x3d4cd2=>this['editor']['plugins']['get']('Users')['getUser'](_0x3d4cd2)),'fromVersion':_0x292667};_0x2b3160===this['currentRevision']&&(_0x7cf210['createdAt']=new Date(_0x281747['createdAt']['getTime']()+0xa)),_0x2b3160['_update'](_0x7cf210,!0x0),delete _0x7cf210['authors'],_0x19cf11['push'](_0x7cf210);}}if(this['adapter']){for(const _0x4f739f of _0x19cf11)this['_bufferUpdate'](_0x4f739f['id'],_0x4f739f,!0x0);this['sendBufferedUpdates']();}return _0x5f5979;}['addRevisionData'](_0x4661be){const _0x1a146f=this['repository']['createRevision'](_0x4661be);return this['adapter']&&_0x1a146f['on']('_update',(_0x4c9aab,_0x73738d,_0x41da25)=>{_0x41da25||(this['_bufferUpdate'](_0x73738d['id'],_0x73738d,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x1a146f,this['_findInsertionIndex'](_0x1a146f)),_0x1a146f;}async['getRevisionDocumentData'](_0x2cae90){await this['_loadRevisionData'](_0x2cae90);const _0x114604={};for(const _0x4fb2e2 in _0x2cae90['diffData']){if(_0x2cae90['diffData'][_0x4fb2e2]['attachChange']&&!_0x2cae90['diffData'][_0x4fb2e2]['attachChange']['isAttached'])continue;const _0x3bece3=this['_removeRevisionMarkers'](JSON['parse'](_0x2cae90['diffData'][_0x4fb2e2]['insertions'])),_0x55f238=this['editor']['editing']['view']['document'],_0x1c60e2=new _0x4e9a9c(_0x55f238,_0x3bece3['map'](_0x46516a=>B(_0x46516a,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x114604[_0x4fb2e2]=this['editor']['data']['processor']['toData'](_0x1c60e2),this['editor']['data']['processor']['useFillerType']('default');}return _0x114604;}async['getRevisionRootsAttributes'](_0x797974){await this['_loadRevisionData'](_0x797974);const _0x58bcc1={};for(const _0x5baa4c in _0x797974['diffData'])_0x797974['diffData'][_0x5baa4c]['attachChange']&&!_0x797974['diffData'][_0x5baa4c]['attachChange']['isAttached']||(_0x58bcc1[_0x5baa4c]=_0x797974['diffData'][_0x5baa4c]['attributesAfter']||{});return _0x58bcc1;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x302e77=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x1f22e5=0x0;_0x1f22e5<_0x302e77['length'];_0x1f22e5++){const _0x3a00af=_0x302e77[_0x1f22e5];let _0x3d21d2=!0x1;for(const _0x1325f0 of Object['keys'](_0x3a00af))void 0x0===_0x3a00af[_0x1325f0]?delete _0x3a00af[_0x1325f0]:'id'!==_0x1325f0&&(_0x3d21d2=!0x0);_0x3d21d2||(_0x302e77[_0x1f22e5]=null);}if(_0x302e77=_0x302e77['filter'](_0xf2ce7=>null!==_0xf2ce7),!_0x302e77['length'])return;for(let _0x1e9a52=0x0;_0x1e9a52<_0x302e77['length'];_0x1e9a52++){const _0x46cbd7=_0x302e77[_0x1e9a52];void 0x0!==_0x46cbd7['fromVersion']&&void 0x0===_0x46cbd7['toVersion']&&(_0x46cbd7['toVersion']=this['repository']['getRevision'](_0x46cbd7['id'])['toVersion']),void 0x0!==_0x46cbd7['toVersion']&&void 0x0===_0x46cbd7['fromVersion']&&(_0x46cbd7['fromVersion']=this['repository']['getRevision'](_0x46cbd7['id'])['fromVersion']);}const _0xe53eb8=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x302e77,_0xe53eb8)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x246ed8=>{if(_0x246ed8){for(const _0xd2611b of _0x246ed8)this['setRevisionData']({'id':_0xd2611b['id'],'createdAt':_0xd2611b['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x3805eb,_0x13aea0){let _0x1971c6=this['editor']['config']['get']('initialData'),_0xf4612f=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x1971c6){_0x1971c6={};for(const _0x17a014 of this['editor']['model']['document']['getRootNames']())_0x1971c6[_0x17a014]='';}if('string'==typeof _0x1971c6&&(_0x1971c6={'main':_0x1971c6}),void 0x0===_0xf4612f){_0xf4612f={};for(const _0x51ff25 of this['editor']['model']['document']['getRootNames']())_0xf4612f[_0x51ff25]={};}let _0x35e65c=!0x1;const _0x2492ad=Object['keys'](_0x1971c6),_0x5b29be=Object['keys'](_0x3805eb);for(const _0x53f360 of _0x2492ad){if(_0x1971c6[_0x53f360]!==_0x3805eb[_0x53f360]&&''!==_0x1971c6[_0x53f360]['trim']()){_0x35e65c=!0x0;break;}if(!_0x2dc93d(_0xf4612f[_0x53f360],_0x13aea0[_0x53f360])&&Object['keys'](_0xf4612f[_0x53f360])['length']>0x0){_0x35e65c=!0x0;break;}}_0x35e65c||(_0x35e65c=_0x5b29be['some'](_0x134d64=>!this['editor']['model']['document']['getRoot'](_0x134d64))),_0x35e65c&&_0xe264d('editor-initial-data-replaced-with-revision-data',{'editorData':_0x1971c6,'editorRootsAttributes':_0xf4612f,'revisionData':_0x3805eb,'revisionRootsAttributes':_0x13aea0}),this['editor']['config']['set']('initialData',_0x3805eb),this['editor']['config']['set']('rootsAttributes',_0x13aea0);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x2a6db3=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x2a6db3['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x288fe7){const _0x377013=this['repository']['getRevisions']();_0x377013['reverse']();let _0x2a9b6b=0x0;for(;_0x2a9b6b<_0x377013['length'];){const _0x7f4dfd=_0x377013[_0x2a9b6b];if(_0x7f4dfd===this['currentRevision']){_0x2a9b6b++;continue;}if(_0x7f4dfd['id']===this['_initialRevisionId'])break;const _0x2ebfea=_0x288fe7['toVersion']-_0x7f4dfd['toVersion']||_0x288fe7['fromVersion']-_0x7f4dfd['fromVersion'];if(_0x2ebfea>0x0)break;if(_0x2ebfea<0x0)_0x2a9b6b++;else{if(!_0x288fe7['creator']&&_0x7f4dfd['creator'])break;if(_0x7f4dfd['creator']||!_0x288fe7['creator']){if(_0x288fe7['createdAt']>_0x7f4dfd['createdAt'])break;_0x2a9b6b++;}else _0x2a9b6b++;}}return _0x2a9b6b;}['setRevisionData'](_0xe654b){const _0x5cec3f=this['repository']['getRevision'](_0xe654b['id']);if(_0xe654b['createdAt']&&(_0xe654b['createdAt']=new Date(_0xe654b['createdAt'])),_0xe654b['authorsIds']){const _0xb56a0a=this['editor']['plugins']['get']('Users');_0xe654b['authors']=_0xe654b['authorsIds']['map'](_0x145936=>_0xb56a0a['getUser'](_0x145936));}_0x5cec3f['_update'](_0xe654b,!0x0);}['buildRevisionData']({revision:_0x2cef57=null,from:_0x8bffa9=null,to:_0x35223c=null}){_0x8bffa9=null!==_0x8bffa9?_0x8bffa9:_0x2cef57['fromVersion'],_0x35223c=null!==_0x35223c?_0x35223c:_0x2cef57['toVersion'];const _0x4f8400=this['_revisionDataBuilder']['getData'](_0x8bffa9,_0x35223c),_0x2fcbe4={'diffData':_0x4f8400['diffData'],'authorsIds':_0x4f8400['authorsIds'],'fromVersion':_0x8bffa9,'toVersion':_0x35223c};if(!_0x2cef57||_0x35223c!==_0x2cef57['toVersion']){const _0x422023=_0x35223c-0x1,_0x53f238=this['_source']['history']['getOperation'](_0x422023);_0x2fcbe4['createdAt']=_0x53f238&&_0x53f238['createdAt']||new Date();}if(this['_loadedStateData']&&_0x8bffa9===this['_loadedStateData']['fromVersion']){for(const _0x504e58 of this['_loadedStateData']['authors'])_0x2fcbe4['authorsIds']['includes'](_0x504e58['id'])||_0x2fcbe4['authorsIds']['push'](_0x504e58['id']);}return _0x2fcbe4;}['_loadRevisionData'](_0x5d3b1d){if(!_0x5d3b1d||_0x5d3b1d['diffData'])return Promise['resolve']();{const _0x351da1=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x351da1,'revisionId':_0x5d3b1d['id']})['then'](_0x4b4bd9=>{_0x5d3b1d['diffData']=_0x4b4bd9['diffData'];});}}['_bufferUpdate'](_0x208420,_0x9448b7,_0x5bb910){if(this['_bufferedUpdates']['has'](_0x208420)){const _0x39afa1=this['_bufferedUpdates']['get'](_0x208420);_0x9448b7=_0x5bb910?{..._0x39afa1,..._0x9448b7}:{..._0x9448b7,..._0x39afa1};}this['_bufferedUpdates']['set'](_0x208420,_0x9448b7);}['_getFromVersion'](_0x5ece56){const _0x3a9b83=this['repository']['getRevisions']();_0x3a9b83['reverse'](),_0x3a9b83['shift']();const _0x14b97a=_0x3a9b83['find'](_0x35d70e=>_0x35d70e['toVersion']<=_0x5ece56)['toVersion'];return _0x14b97a<this['_startingVersion']?this['_startingVersion']:_0x14b97a;}['_createInitialRevision'](_0x32b40f){const _0x246dc9=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x246dc9)this['_initialRevisionId']=_0x246dc9['id'];else{const _0x103460=!this['editor']['model']['document']['roots']['find'](_0x1aaf9a=>this['editor']['model']['hasContent'](_0x1aaf9a)),_0x2fb444=this['editor']['plugins']['get']('Users')['me']['id'],_0x252c6f=y(this['editor']['locale'],_0x103460?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x32b40f,'to':_0x32b40f,'id':this['_initialRevisionId'],'name':_0x252c6f,'creatorId':_0x2fb444});}}['_createCurrentRevision'](_0xb12be){const _0x7d4f28=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x7d4f28),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0xb12be,'to':_0xb12be,'id':_0x7d4f28,'name':'','creatorId':null}));}['_makeRevision']({name:_0x2829ea,from:_0x43b5ae,to:_0x4e8249,creatorId:_0x42fd54,id:_0x132363}){const _0xa3a6c8=this['buildRevisionData']({'from':_0x43b5ae,'to':_0x4e8249});_0xa3a6c8['name']=_0x2829ea,_0xa3a6c8['creatorId']=_0x42fd54,_0xa3a6c8['id']=_0x132363;const _0x33dc87=this['addRevisionData'](_0xa3a6c8);return this['adapter']&&this['_bufferUpdate'](_0xa3a6c8['id'],_0xa3a6c8,!0x0),_0x33dc87;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x55b306){return(_0x55b306=_0x55b306['filter'](_0x3f3156=>!_0x3f3156['name']||'revision-start'!==_0x3f3156['name']&&'revision-end'!==_0x3f3156['name']))['forEach'](_0x38eeaa=>{'string'!=typeof _0x38eeaa&&(_0x38eeaa['children']=this['_removeRevisionMarkers'](_0x38eeaa['children']),_0x38eeaa['attributes']=_0x38eeaa['attributes']['filter'](_0x4f3624=>!_0x4f3624[0x0]['startsWith']('data-revision-')));}),_0x55b306;}}function B(_0x4290df,_0x1031df){const _0x288ec0=_0x1031df['editing']['view']['document'];if('string'==typeof _0x4290df)return new _0x2c9816(_0x288ec0,_0x4290df);{const _0x490ae2=_0x4290df['children']['map'](_0x2daf27=>B(_0x2daf27,_0x1031df));return new(T[_0x4290df['type']]||_0x30e238)(_0x288ec0,_0x4290df['name'],_0x4290df['attributes'],_0x490ae2);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x2f8e0a){this['editor']=_0x2f8e0a,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'](_0x57407f){this['source']=_0x57407f;const _0x263c68=new Map(),_0x2354b4=new Map(),_0x169e0e=this['editor']['model']['document']['roots']['map'](_0xabf421=>_0xabf421['rootName']);for(const _0x1fb1e8 of _0x169e0e){const _0xfe8fe3=this['editor']['model']['document']['getRoot'](_0x1fb1e8),_0x4d791b=q(_0xfe8fe3);_0x263c68['set'](_0x1fb1e8,_0x4d791b),_0x2354b4['set'](_0x1fb1e8,Object['fromEntries'](_0xfe8fe3['getAttributes']()));}const _0xf7aeab=Array['from'](this['editor']['model']['markers'])['map'](_0x4954b6=>[_0x4954b6['name'],_0x4954b6['getRange']()]),_0x48a905=this['source']['version'];this['_saveMetaData'](_0x48a905,_0x263c68,_0xf7aeab,_0x2354b4),this['_startingRevisionId']=this['_revisionId'];const _0x4eacdc=new Map(),_0x2ebd16=new Map();for(const _0x1dcc45 of _0x169e0e){const _0x2bbf5d=G(_0x1dcc45);_0x4eacdc['set'](_0x1dcc45,_0x2bbf5d),_0x2ebd16['set'](_0x1dcc45,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x4eacdc,[],_0x2ebd16);}['getData'](_0x2d3801,_0xd22e5f){if(this['_lastFrom']===_0x2d3801&&this['_lastTo']<=_0xd22e5f)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0xd22e5f,!0x0);else{if(!this['_savedMetaData']['has'](_0x2d3801)){const _0x2df865=this['_getPreviousFrom'](_0x2d3801);this['_calculateMetaData'](_0x2df865,_0x2d3801,!0x1);}this['_calculateMetaData'](_0x2d3801,_0xd22e5f,!0x0);}return this['_lastFrom']=_0x2d3801,this['_lastTo']=_0xd22e5f,this['_getState']();}['loadState'](_0x2a77f7){this['_reset'](),this['_lastFrom']=_0x2a77f7['fromVersion'],this['_lastTo']=_0x2a77f7['toVersion'];for(const _0x43bbfc in _0x2a77f7['diffData']){const _0x2c2a93=_0x2a77f7['diffData'][_0x43bbfc]['attachChange'],_0x5122c4=_0x582adc(_0x2a77f7['diffData'][_0x43bbfc]['attributesBefore'])||{},_0x57a685=this['_makeModelFromViewString'](_0x2a77f7['diffData'][_0x43bbfc]['deletions']);_0x57a685['rootName']=_0x43bbfc,_0x57a685['_isAttached']=!_0x2c2a93||!_0x2c2a93['isAttached'],_0x57a685['isAttached']=()=>_0x57a685['_isAttached'],this['_baseRoots']['set'](_0x43bbfc,_0x57a685),this['_baseRootsAttributes']['set'](_0x43bbfc,_0x5122c4),_0x2c2a93&&this['_touchedRoots']['set'](_0x43bbfc,_0x2c2a93);const _0xc90e30=this['_makeIdsRoot'](_0x57a685);this['_baseIdsRoots']['set'](_0x43bbfc,_0xc90e30);for(const [_0x54b25f,_0x1c2d95]of _0x57a685['markers']){if(!_0x54b25f['startsWith']('revision:'))continue;const _0x3fb66f=_0x54b25f['split'](':')[0x2];for(const _0x170596 of _0x1c2d95['getWalker']({'singleCharacters':!0x0})){const _0x4dc78d=this['_getVidAttributeName'](_0x170596),_0x20493f='elementEnd'==_0x170596['type']?_0x170596['previousPosition']['path']['slice'](0x0,-0x1):_0x170596['previousPosition']['path'],_0x566ce8=_0xc90e30['getNodeByPath'](_0x20493f)['getAttribute'](_0x4dc78d);this['_touched']['set'](_0x566ce8,{'userId':_0x3fb66f});}}}this['_startingRevisionId']=this['_revisionId'];const _0x52b5a7=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x2dab48=>!this['_touched']['has'](_0x2dab48));let _0x263c98=0x0;const _0x45aead=new Map();for(const _0x12a0b4 in _0x2a77f7['diffData']){const _0x1f8221=_0x2a77f7['diffData'][_0x12a0b4]['attachChange'],_0x44b28d=_0x582adc(_0x2a77f7['diffData'][_0x12a0b4]['attributesAfter'])||{},_0x477c07=this['_makeModelFromViewString'](_0x2a77f7['diffData'][_0x12a0b4]['insertions']);_0x477c07['rootName']=_0x12a0b4,_0x477c07['_isAttached']=!_0x1f8221||_0x1f8221['isAttached'],_0x477c07['isAttached']=()=>_0x477c07['_isAttached'],this['_diffRoots']['set'](_0x12a0b4,_0x477c07),this['_diffRootsAttributes']['set'](_0x12a0b4,_0x44b28d);const _0x18f5a8=this['_makeIdsRoot'](_0x477c07,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x12a0b4,_0x18f5a8),_0x45aead['set'](_0x12a0b4,_0x477c07['isAttached']()?_0x44b28d:{});for(const [_0x1ef66d,_0x250eeb]of _0x477c07['markers']){if(!_0x1ef66d['startsWith']('revision:'))continue;const _0x4998c7=_0x1ef66d['split'](':')[0x2];for(const _0x388f94 of _0x250eeb['getWalker']({'singleCharacters':!0x0})){const _0x11a0e1=this['_getVidAttributeName'](_0x388f94),_0x4dae1c=this['_revisionId']++,_0x3c913c='elementEnd'==_0x388f94['type']?_0x388f94['previousPosition']['path']['slice'](0x0,-0x1):_0x388f94['previousPosition']['path'];_0x18f5a8['getNodeByPath'](_0x3c913c)['_setAttribute'](_0x11a0e1,_0x4dae1c),this['_touched']['set'](_0x4dae1c,{'userId':_0x4998c7});}}for(const _0x2e16ea of this['editor']['model']['createRangeIn'](_0x477c07)['getWalker']({'singleCharacters':!0x0})){const _0x2c44b0=this['_getVidAttributeName'](_0x2e16ea),_0x372a62='elementEnd'==_0x2e16ea['type']?_0x2e16ea['previousPosition']['path']['slice'](0x0,-0x1):_0x2e16ea['previousPosition']['path'],_0x475601=_0x18f5a8['getNodeByPath'](_0x372a62);_0x475601['getAttribute'](_0x2c44b0)>0x0||_0x475601['_setAttribute'](_0x2c44b0,_0x52b5a7[_0x263c98++]);}for(const [_0x599157,_0xa2a5d0]of _0x477c07['markers'])_0x599157['startsWith']('revision:')||this['_markers']['set'](_0x599157,_0xa2a5d0);}const _0x35a5ed=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x35a5ed),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x35a5ed,0x1));const _0x3ffada=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x3ffada),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x3ffada,0x1));const _0x4a7d30=Array['from'](this['_diffRoots'])['map'](([_0x53e319,_0x29014a])=>[_0x53e319,q(_0x29014a)]);this['_saveMetaData'](this['_lastTo'],_0x4a7d30,this['_markers'],_0x45aead);}['_makeModelFromViewString'](_0x19773f){const _0x26d956=JSON['parse'](_0x19773f),_0x8b2921=this['editor']['editing']['view']['document'],_0x25b22e=new _0x4e9a9c(_0x8b2921,_0x26d956['map'](_0x1bed93=>B(_0x1bed93,this['editor'])));return this['editor']['data']['toModel'](_0x25b22e);}['_saveMetaData'](_0x559225,_0x5a34de,_0xf029e2,_0x4628ec){const _0x14fbf2=new Map(_0x5a34de),_0x3254fa=new Map(_0x582adc(_0x4628ec)),_0x37ef4f=new Map();for(const [_0x38f5d3,_0xcff2c1]of _0xf029e2)_0x37ef4f['set'](_0x38f5d3,{'start':_0xcff2c1['start']['clone'](),'end':_0xcff2c1['end']['clone'](),'rootName':_0xcff2c1['root']['rootName']});this['_savedMetaData']['set'](_0x559225,{'roots':_0x14fbf2,'markers':_0x37ef4f,'rootsAttributes':_0x3254fa});}['_removeMetaData'](_0x3c7eca){this['_savedMetaData']['delete'](_0x3c7eca);}['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'](_0x308731,_0x3f4616=null){let _0x4c4c42=null;_0x308731['is']('documentFragment')||(_0x4c4c42=new ft(_0x308731['name'],{'vid_start':null===_0x3f4616?this['_revisionId']++:_0x3f4616++}));const _0x307dc3=[];for(const _0x4d0082 of _0x308731['getChildren']())if(_0x4d0082['is']('element')){_0x307dc3['push'](this['_makeIdsRoot'](_0x4d0082,_0x3f4616));const _0x2c145d=_0x307dc3[_0x307dc3['length']-0x1];null!==_0x3f4616&&(_0x3f4616=_0x2c145d['is']('element','$text')?_0x2c145d['getAttribute']('vid')+0x1:_0x2c145d['getAttribute']('vid_end')+0x1);}else{for(let _0x176e6e=0x0;_0x176e6e<_0x4d0082['offsetSize'];_0x176e6e++)_0x307dc3['push'](new ft('$text',{'vid':null===_0x3f4616?this['_revisionId']++:_0x3f4616++}));}if(_0x308731['is']('documentFragment')){const _0x179ad3=G(_0x308731['rootName']);return _0x179ad3['_insertChild'](0x0,_0x307dc3),_0x179ad3;}return _0x4c4c42['_setAttribute']('vid_end',null===_0x3f4616?this['_revisionId']++:_0x3f4616++),_0x4c4c42['_insertChild'](0x0,_0x307dc3),_0x4c4c42;}['_calculateMetaData'](_0x3c91d0,_0x2ba307,_0x4bc06a){this['_reset']();const {roots:_0x5af579,markers:_0x3bcefa,rootsAttributes:_0x5e55fe}=this['_savedMetaData']['get'](_0x3c91d0);this['_baseRoots']=new Map(_0x5af579),this['_baseRootsAttributes']=new Map(_0x582adc(_0x5e55fe));for(const [_0x188458,_0x1388cd]of this['_baseRoots'])if('$graveyard'!==_0x188458&&(this['_diffRoots']['set'](_0x188458,q(_0x1388cd)),this['_diffRootsAttributes']=new Map(_0x582adc(_0x5e55fe)),_0x4bc06a)){const _0x1fa1d0=this['_revisionId'];this['_idsRoots']['set'](_0x188458,this['_makeIdsRoot'](_0x1388cd)),this['_baseIdsRoots']['set'](_0x188458,this['_makeIdsRoot'](_0x1388cd,_0x1fa1d0));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x4bc06a&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x56ce2e,_0x596865]of _0x3bcefa){const _0x386ee2=this['_baseRoots']['get'](_0x596865['rootName']),_0x53eae3=this['_diffRoots']['get'](_0x596865['rootName']),_0x4eeb3d=new vt(this['_fixPosition'](_0x596865['start'],_0x386ee2),this['_fixPosition'](_0x596865['end'],_0x386ee2)),_0x44d029=this['_fixRange'](_0x4eeb3d,_0x53eae3);_0x386ee2['markers']['set'](_0x56ce2e,_0x4eeb3d),this['_markers']['set'](_0x56ce2e,_0x44d029);}this['_applyOperations'](_0x3c91d0,_0x2ba307,_0x4bc06a);}['_applyOperations'](_0x48b645,_0x230b9b,_0x5a64b2){for(const _0x19379c of this['source']['getOperations'](_0x48b645,_0x230b9b))this['_handleOperation'](_0x19379c,_0x5a64b2);for(const _0x3075d5 of this['_diffRoots']['values']())_0x3075d5['markers']['clear']();for(const [_0x5bc97f,_0x47cf62]of this['_markers']){this['_diffRoots']['get'](_0x47cf62['root']['rootName'])['markers']['set'](_0x5bc97f,_0x47cf62['clone']());}const _0x33f25b=new Map(),_0x250c85=new Map();for(const [_0x437a2e,_0x57802b]of this['_diffRoots'])_0x33f25b['set'](_0x437a2e,q(_0x57802b)),_0x250c85['set'](_0x437a2e,this['_diffRootsAttributes']['get'](_0x437a2e));this['_saveMetaData'](_0x230b9b,_0x33f25b,this['_markers'],_0x250c85);}['_getPreviousFrom'](_0x3271d9){const _0x53062a=Array['from'](this['_savedMetaData']['keys']());_0x53062a['sort']((_0x5465ab,_0xfee4d6)=>_0x5465ab-_0xfee4d6),_0x53062a['reverse']();for(const _0x2a4719 of _0x53062a)if(_0x2a4719<_0x3271d9)return _0x2a4719;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0xfd137,_0x15a326){const _0x4b1f92=Array['from'](_0x15a326['markers'])['map'](([_0x10338e,_0x90d317])=>[_0x10338e,this['_fixRange'](_0x90d317,_0xfd137)]);_0xfd137['markers']=new Map(_0x4b1f92);}['_transformMarkers'](_0x5e89c9){for(const _0x5220a9 of this['_markers']['values']()){const _0x3678a6=_0x5220a9['getTransformedByOperation'](_0x5e89c9),_0x313a62=vt['_createFromRanges'](_0x3678a6);_0x5220a9['start']=_0x313a62['start'],_0x5220a9['end']=_0x313a62['end'];}}['_handleOperation'](_0xf5d701,_0x2d3a89){if('addRoot'==_0xf5d701['type']||'detachRoot'==_0xf5d701['type'])return void this['_handleRootOperation'](_0xf5d701,_0x2d3a89);if('insert'==_0xf5d701['type']){const _0x4b57f4=_0xf5d701['position']['root']['rootName'];this['_diffRoots']['has'](_0x4b57f4)||(this['_diffRoots']['set'](_0x4b57f4,G(_0x4b57f4,!0x0)),this['_diffRootsAttributes']['set'](_0x4b57f4,{}),_0x2d3a89&&this['_idsRoots']['set'](_0x4b57f4,G(_0x4b57f4,!0x0)));}else{if('addRootAttribute'==_0xf5d701['type']||'removeRootAttribute'==_0xf5d701['type']||'changeRootAttribute'==_0xf5d701['type'])return void this['_handleRootAttributeOperation'](_0xf5d701);}const _0x512036=this['_cloneOperation'](_0xf5d701,this['_diffRoots']);if('marker'!==_0xf5d701['type']&&(_0x512036['_execute'](),this['_transformMarkers'](_0x512036)),_0x2d3a89)switch(_0x512036['type']){case'insert':this['_handleInsertOperation'](_0xf5d701);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0xf5d701);break;case'merge':this['_handleMergeOperation'](_0xf5d701);break;case'split':this['_handleSplitOperation'](_0xf5d701);break;case'marker':this['_handleMarkerOperation'](_0xf5d701);}}['_cloneOperation'](_0x3fe8e3,_0x59ddea){const _0x3345c5=_0x3fe8e3['clone']();return _0x3345c5['_authorId']=_0x3fe8e3['_authorId'],this['_fixOperation'](_0x3345c5,_0x59ddea),_0x3345c5;}['_getBaseVids'](_0x50d50d){return _0x50d50d['map'](_0x286eea=>{const _0x570394=this['_getVidAttributeName'](_0x286eea);return Number(_0x286eea['item']['getAttribute'](_0x570394));});}['_generateTape'](_0xc0b21b,_0x2c3ac9){if(_0xc0b21b['is']('element','$text'))_0x2c3ac9['push']({'item':_0xc0b21b,'type':'text'});else{_0xc0b21b['is']('element')&&_0x2c3ac9['push']({'item':_0xc0b21b,'type':'elementStart'});for(const _0x3d70f2 of _0xc0b21b['getChildren']())this['_generateTape'](_0x3d70f2,_0x2c3ac9);_0xc0b21b['is']('element')&&_0x2c3ac9['push']({'item':_0xc0b21b,'type':'elementEnd'});}return _0x2c3ac9;}['_getState'](){const _0x1b29c3=new Map(this['_touched']),_0x1fe5da=new Map(_0x1b29c3),_0x429df3=new Map(),_0x482aaf={'insertions':{},'deletions':{}},_0x1d28fa={'insertions':{},'deletions':{}},_0x5d83c2=new Map(),_0x5d5676=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x5d5676['delete']('$graveyard');for(const _0x1efdad of _0x5d5676){const _0x6d209d=this['_diffRoots']['get'](_0x1efdad)||G(_0x1efdad,!0x1),_0x4ecb59=this['_baseRoots']['get'](_0x1efdad)||G(_0x1efdad,!0x1);_0x6d209d['isAttached']()||_0x4ecb59['isAttached']()?(_0x482aaf['insertions'][_0x1efdad]=q(_0x6d209d),_0x482aaf['deletions'][_0x1efdad]=q(_0x4ecb59),this['_copyMarkers'](_0x482aaf['deletions'][_0x1efdad],_0x4ecb59),this['_copyMarkers'](_0x482aaf['insertions'][_0x1efdad],_0x6d209d),_0x1d28fa['insertions'][_0x1efdad]=this['_generateTape'](this['_idsRoots']['get'](_0x1efdad),[]),_0x1d28fa['deletions'][_0x1efdad]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x1efdad)||G(_0x1efdad,!0x1),[])):_0x5d5676['delete'](_0x1efdad);}for(const _0xc9e217 of _0x5d5676){const _0x48e76b=_0x1d28fa['insertions'][_0xc9e217];for(const _0x177b9b of _0x48e76b){const _0x42f77b=this['_getVidAttributeName'](_0x177b9b),_0x2279cc=_0x177b9b['item']['getAttribute'](_0x42f77b);_0x1fe5da['delete'](_0x2279cc),_0x2279cc>=this['_startingRevisionId']&&_0x429df3['set'](_0x2279cc,_0x1b29c3['get'](_0x2279cc));}}for(const _0xf8a8d2 of _0x5d5676){const _0x185694=_0x1d28fa['insertions'][_0xf8a8d2],_0x56a8bf=this['_getBaseVids'](_0x1d28fa['deletions'][_0xf8a8d2]);let _0x2bcc11=0x0;for(const _0x55ff34 of _0x185694){const _0x270524=this['_getVidAttributeName'](_0x55ff34),_0x4c0791=_0x55ff34['item']['getAttribute'](_0x270524);if(!_0x429df3['has'](_0x4c0791)&&!_0x5d83c2['has'](_0x4c0791)){if(_0x1fe5da['has'](_0x4c0791))_0x2bcc11++;else{if(_0x4c0791!=_0x56a8bf[_0x2bcc11]){const _0x4e209e=_0x1b29c3['get'](_0x4c0791)||_0x1b29c3['get'](_0x56a8bf[_0x2bcc11]);for(;_0x4c0791!=_0x56a8bf[_0x2bcc11];)_0x1fe5da['has'](_0x56a8bf[_0x2bcc11])||(_0x5d83c2['set'](_0x56a8bf[_0x2bcc11],_0x4e209e),_0x1b29c3['set'](_0x56a8bf[_0x2bcc11],_0x4e209e)),_0x2bcc11++;}_0x2bcc11++;}}}}for(const _0x2378b4 of _0x5d5676){const _0x5baccd=_0x1d28fa['insertions'][_0x2378b4];for(const _0x1a8cba of _0x5baccd){const _0x44254a=this['_getVidAttributeName'](_0x1a8cba),_0x53586e=_0x1a8cba['item']['getAttribute'](_0x44254a);if(_0x5d83c2['has'](_0x53586e)){const _0x255cf5=_0x5d83c2['get'](_0x53586e);_0x1fe5da['has'](_0x53586e)||_0x1fe5da['set'](_0x53586e,{..._0x255cf5}),_0x429df3['set'](_0x53586e,{..._0x255cf5});}}}for(const _0x47c989 of _0x1fe5da['keys']())_0x47c989>=this['_startingRevisionId']&&_0x1fe5da['delete'](_0x47c989);const _0x315b26=new Map();for(const _0x517076 of _0x5d5676){let _0x11fd21=_0x1d28fa['insertions'][_0x517076];for(const _0x134606 of _0x11fd21)if(_0x134606['item']['is']('element','tableCell')){const _0x26356d=this['_getVidAttributeName'](_0x134606),_0x549afd=_0x134606['item']['getAttribute'](_0x26356d);if(_0x429df3['has'](_0x549afd)){const _0x2a26b9=_0x134606['item']['parent']['parent']['getAttribute']('vid_start'),_0x11d8b9=_0x315b26['get'](_0x2a26b9)||new Set();_0x11d8b9['add'](_0x429df3['get'](_0x549afd)['userId']),_0x315b26['set'](_0x2a26b9,_0x11d8b9);}}_0x11fd21=_0x1d28fa['deletions'][_0x517076];for(const _0x596096 of _0x11fd21)if(_0x596096['item']['is']('element','tableCell')){const _0x18344f=this['_getVidAttributeName'](_0x596096),_0x5570b4=_0x596096['item']['getAttribute'](_0x18344f);if(_0x1fe5da['has'](_0x5570b4)){const _0x41c02a=_0x596096['item']['parent']['parent']['getAttribute']('vid_start'),_0x1c3579=_0x315b26['get'](_0x41c02a)||new Set();_0x1c3579['add'](_0x1fe5da['get'](_0x5570b4)['userId']),_0x315b26['set'](_0x41c02a,_0x1c3579);}}for(const _0x1dfaa3 of _0x315b26['keys']())(_0x429df3['has'](_0x1dfaa3)||_0x1fe5da['has'](_0x1dfaa3))&&_0x315b26['delete'](_0x1dfaa3);}for(const _0x1272f6 of _0x5d5676){const _0x5737ce=_0x1d28fa['insertions'][_0x1272f6];let _0x1277ed=null,_0x4b830f=null;for(const _0x167ff6 of _0x5737ce){const _0x5aba96=this['_getVidAttributeName'](_0x167ff6),_0x446d7a=_0x167ff6['item']['getAttribute'](_0x5aba96),_0x219f97=_0x315b26['get'](_0x446d7a);_0x219f97&&'elementStart'==_0x167ff6['type']&&(_0x1277ed=Array['from'](_0x219f97)[0x0],_0x4b830f=_0x167ff6['item']['getAttribute']('vid_end')),_0x1277ed&&(_0x1fe5da['set'](_0x446d7a,{'userId':_0x1277ed}),_0x429df3['set'](_0x446d7a,{'userId':_0x1277ed})),_0x446d7a==_0x4b830f&&(_0x1277ed=null,_0x4b830f=null);}}const _0x4675a1={},_0x7fcad4=new Set();for(const _0x2316e7 of _0x5d5676){const _0x298a63=_0x482aaf['deletions'][_0x2316e7],_0x40cc61=_0x482aaf['insertions'][_0x2316e7];for(const {userId:_0x1132a8}of this['_touchedMarkers']['values']())null!==_0x1132a8&&_0x7fcad4['add'](_0x1132a8);for(const {userId:_0x152150}of this['_touchedRoots']['values']())null!==_0x152150&&_0x7fcad4['add'](_0x152150);this['_markChanges'](_0x40cc61,_0x1d28fa['insertions'][_0x2316e7],_0x429df3,'insertion',_0x7fcad4),this['_markChanges'](_0x298a63,_0x1d28fa['deletions'][_0x2316e7],_0x1fe5da,'deletion',_0x7fcad4),_0x4675a1[_0x2316e7]={'insertions':this['_prepareViewToSave'](_0x40cc61),'deletions':this['_prepareViewToSave'](_0x298a63),'attachChange':this['_touchedRoots']['get'](_0x2316e7)||null,'attributesBefore':_0x582adc(this['_baseRootsAttributes']['get'](_0x2316e7))||{},'attributesAfter':_0x582adc(this['_diffRootsAttributes']['get'](_0x2316e7))};}return{'diffData':_0x4675a1,'authorsIds':Array['from'](_0x7fcad4)};}['_processRootBeforeSave'](_0x1961ea){for(const [,_0x4dcbe3]of _0x1961ea['markers']){const _0x10ee9a=_0x4dcbe3['start']['getAncestors']()['filter'](_0x4f5ede=>'tableCell'==_0x4f5ede['name']);for(const _0x174594 of _0x10ee9a)0x1==_0x174594['childCount']&&_0x174594['getChild'](0x0)['is']('element','paragraph')&&_0x174594['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x1014d3){this['_processRootBeforeSave'](_0x1014d3);const _0x282e26=this['editor']['data']['toView'](_0x1014d3,{}),_0x47e20b=Array['from'](_0x282e26['getChildren']())['map'](_0x13ef3a=>this['_getViewJson'](_0x13ef3a));return JSON['stringify'](_0x47e20b);}['_getViewJson'](_0x15837d){if(_0x15837d['is']('$text'))return _0x15837d['data'];{const _0x18018b=_0x15837d;return{'type':Object['keys'](T)['find'](_0x4bfaa3=>_0x15837d instanceof T[_0x4bfaa3]),'name':_0x18018b['name'],'attributes':Array['from'](_0x18018b['getAttributes']()),'children':Array['from'](_0x18018b['getChildren']())['map'](_0x5e33ba=>this['_getViewJson'](_0x5e33ba))};}}['_markChanges'](_0x3cf95a,_0x3a550e,_0x587bbe,_0x4419ec,_0x45ebf9){let _0x41d795=null,_0x313853=null,_0x505488=0x0;const _0x2072bd=this['editor']['model'];for(let _0x38a221=0x0;_0x38a221<_0x3a550e['length'];_0x38a221++){const _0x507aff=this['_getVidAttributeName'](_0x3a550e[_0x38a221]),_0x2a4dd0=_0x3a550e[_0x38a221]['item']['getAttribute'](_0x507aff),_0x4e2946=_0x587bbe['get'](_0x2a4dd0),_0x16ee8a=_0x38a221==_0x3a550e['length']-0x1;(!_0x41d795&&_0x4e2946&&(_0x41d795=_0x4e2946,_0x313853=_0x3a550e[_0x38a221]),_0x41d795&&(!_0x4e2946||_0x4e2946['userId']!=_0x41d795['userId']))&&(_0x20d0e6(_0x4e2946,L(_0x313853,_0x3cf95a,_0x2072bd),L(_0x3a550e[_0x38a221],_0x3cf95a,_0x2072bd)),_0x41d795=_0x4e2946||null,_0x313853=_0x4e2946?_0x3a550e[_0x38a221]:null),_0x41d795&&_0x16ee8a&&_0x20d0e6(_0x4e2946,L(_0x313853,_0x3cf95a,_0x2072bd),W(_0x3a550e[_0x38a221],_0x3cf95a,_0x2072bd));}function _0x20d0e6(_0xe0fd13,_0x36bc66,_0x39f210){const _0x45c14a=_0x41d795['userId'],_0x37097a='revision:'+_0x4419ec+':'+_0x45c14a+':'+_0x505488++,_0x463a22=_0x2072bd['createRange'](_0x36bc66,_0x39f210);_0x3cf95a['markers']['set'](_0x37097a,_0x463a22),null!==_0x45c14a&&_0x45ebf9['add'](_0x45c14a);}}['_getVidAttributeName'](_0x4d33ae){switch(_0x4d33ae['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x2a2bc7,_0x3c715c){_0x2a2bc7['baseVersion']=null;for(const _0x3fc248 in _0x2a2bc7){const _0x438953=_0x2a2bc7[_0x3fc248];if(_0x438953 instanceof gt){const _0x2e320f=_0x3c715c['get'](_0x438953['root']['rootName']);_0x2a2bc7[_0x3fc248]=this['_fixPosition'](_0x438953,_0x2e320f);}if(_0x438953 instanceof vt){const _0x502ff4=_0x3c715c['get'](_0x438953['root']['rootName']);_0x2a2bc7[_0x3fc248]=this['_fixRange'](_0x438953,_0x502ff4);}'root'===_0x3fc248&&(_0x2a2bc7['root']=_0x3c715c['get'](_0x2a2bc7['root']['rootName']));}}['_fixRange'](_0x133b92,_0x521786){return this['editor']['model']['createRange'](this['_fixPosition'](_0x133b92['start'],_0x521786),this['_fixPosition'](_0x133b92['end'],_0x521786));}['_fixPosition'](_0x16985c,_0x3f4a7b){return this['editor']['model']['createPositionFromPath'](_0x3f4a7b,_0x16985c['path'],_0x16985c['stickiness']);}['_handleInsertOperation'](_0x4158fc){const _0x1b4d9b=this['_idsRoots']['get'](_0x4158fc['position']['root']['rootName']),_0x727e31=this['_fixPosition'](_0x4158fc['position'],_0x1b4d9b),_0x8abc08=null===_0x4158fc['_authorId']?null:_0x4158fc['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4f2e8a=_0x727e31['parent'],_0x845399=this['_revisionId'],_0x2117ff=[];for(const _0x5bba79 of _0x4158fc['nodes'])if(_0x5bba79['is']('element'))_0x2117ff['push'](this['_makeIdsRoot'](_0x5bba79));else{for(let _0xce127b=0x0;_0xce127b<_0x5bba79['offsetSize'];_0xce127b++)_0x2117ff['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x17f2a2=this['_revisionId'];for(let _0x341c25=_0x845399;_0x341c25<_0x17f2a2;_0x341c25++)this['_touched']['set'](_0x341c25,{'userId':_0x8abc08});_0x4f2e8a['_insertChild'](_0x727e31['offset'],_0x2117ff);}['_handleMoveOperation'](_0x33681e){(_0x33681e=this['_cloneOperation'](_0x33681e,this['_idsRoots']))['_execute']();const _0x4e5ff1=null===_0x33681e['_authorId']?null:_0x33681e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x348b23=_0x33681e['getMovedRangeStart'](),_0x4b3a2f=_0x348b23['parent'],_0x2e0b2a=_0x348b23['offset'];!function _0x1a76b2(_0x272f5d,_0x461b5f,_0x208ee7,_0x55dfbf){for(let _0x174b22=_0x208ee7;_0x174b22<_0x55dfbf;_0x174b22++){const _0x56b052=_0x461b5f['getChild'](_0x174b22);_0x56b052['is']('element','$text')?_0x272f5d['set'](_0x56b052['getAttribute']('vid'),{'userId':_0x4e5ff1}):(_0x272f5d['set'](_0x56b052['getAttribute']('vid_start'),{'userId':_0x4e5ff1}),_0x1a76b2(_0x272f5d,_0x56b052,0x0,_0x56b052['childCount']),_0x272f5d['set'](_0x56b052['getAttribute']('vid_end'),{'userId':_0x4e5ff1}));}}(this['_touched'],_0x4b3a2f,_0x2e0b2a,_0x2e0b2a+_0x33681e['howMany']);}['_handleMergeOperation'](_0x2a2877){const _0x382888=null===(_0x2a2877=this['_cloneOperation'](_0x2a2877,this['_idsRoots']))['_authorId']?null:_0x2a2877['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5243b6=_0x2a2877['targetPosition']['parent'],_0x447858=_0x2a2877['sourcePosition']['parent'],_0x102089=_0x5243b6['getAttribute']('vid_end'),_0x9a4a29=_0x447858['getAttribute']('vid_start');_0x5243b6['_setAttribute']('vid_end',_0x447858['getAttribute']('vid_end')),_0x447858['_setAttribute']('vid_end',_0x102089),this['_touched']['set'](_0x9a4a29,{'userId':_0x382888}),this['_touched']['set'](_0x102089,{'userId':_0x382888}),_0x2a2877['_execute']();}['_handleSplitOperation'](_0x5f4c30){const _0x5e8702=null===(_0x5f4c30=this['_cloneOperation'](_0x5f4c30,this['_idsRoots']))['_authorId']?null:_0x5f4c30['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2a8179=_0x5f4c30['graveyardPosition'],_0x20f00d=_0x5f4c30['splitPosition']['parent'];_0x5f4c30['_execute']();const _0x146c81=_0x20f00d['getAttribute']('vid_end'),_0x50ad8f=_0x5f4c30['insertionPosition']['nodeAfter'];if(_0x2a8179){const _0x21ee5a=_0x50ad8f['getAttribute']('vid_end'),_0x6ecde8=_0x20f00d['getAttribute']('vid_end');_0x20f00d['_setAttribute']('vid_end',_0x21ee5a),_0x50ad8f['_setAttribute']('vid_end',_0x6ecde8),this['_touched']['set'](_0x20f00d['getAttribute']('vid_end'),{'userId':_0x5e8702}),this['_touched']['set'](_0x50ad8f['getAttribute']('vid_start'),{'userId':_0x5e8702});}else{const _0xa25847=this['_revisionId']++,_0x483b37=this['_revisionId']++;_0x20f00d['_setAttribute']('vid_end',_0xa25847),_0x50ad8f['_setAttribute']('vid_start',_0x483b37),_0x50ad8f['_setAttribute']('vid_end',_0x146c81),this['_touched']['set'](_0xa25847,{'userId':_0x5e8702}),this['_touched']['set'](_0x483b37,{'userId':_0x5e8702});}}['_handleMarkerOperation'](_0x4b25c5){if(!_0x4b25c5['affectsData'])return;const _0xc29557=(_0x4b25c5=this['_cloneOperation'](_0x4b25c5,this['_diffRoots']))['oldRange']?_0x4b25c5['oldRange']['root']:null,_0x3b12cc=_0x4b25c5['newRange']?_0x4b25c5['newRange']['root']:null;_0xc29557&&this['_markers']['delete'](_0x4b25c5['name']),_0x3b12cc&&this['_markers']['set'](_0x4b25c5['name'],_0x4b25c5['newRange']['clone']());const _0x463cd9=null===_0x4b25c5['_authorId']?null:_0x4b25c5['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3c8279=_0x4b25c5['name'];if(!this['_touchedMarkers']['has'](_0x3c8279))return void this['_touchedMarkers']['set'](_0x3c8279,{'range':_0x4b25c5['oldRange'],'userId':_0x463cd9});const _0x50099b=this['_touchedMarkers']['get'](_0x3c8279),_0x100707=_0x50099b['range'],_0x4adefe=_0x4b25c5['newRange'];null==_0x100707&&null==_0x4adefe||_0x100707&&_0x4adefe&&_0x100707['isEqual'](_0x4adefe)?this['_touchedMarkers']['delete'](_0x4b25c5['name']):_0x50099b['userId']=_0x463cd9;}['_handleRootOperation'](_0x539298,_0x519387){this['_diffRoots']['has'](_0x539298['rootName'])?this['_diffRoots']['get'](_0x539298['rootName'])['_isAttached']=_0x539298['isAdd']:(this['_diffRoots']['set'](_0x539298['rootName'],G(_0x539298['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x539298['rootName'],{}),_0x519387&&this['_idsRoots']['set'](_0x539298['rootName'],G(_0x539298['rootName'],!0x0)));const _0x4fe9c2=null===_0x539298['_authorId']?null:_0x539298['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x31cdb7=this['_touchedRoots']['get'](_0x539298['rootName']);_0x31cdb7&&_0x31cdb7['userId']===_0x4fe9c2?this['_touchedRoots']['delete'](_0x539298['rootName']):this['_touchedRoots']['set'](_0x539298['rootName'],{'userId':_0x4fe9c2,'isAttached':_0x539298['isAdd']});}['_handleRootAttributeOperation'](_0x1d0d88){const _0x2c3053=this['_diffRootsAttributes']['get'](_0x1d0d88['root']['rootName']);null===_0x1d0d88['newValue']?delete _0x2c3053[_0x1d0d88['key']]:_0x2c3053[_0x1d0d88['key']]=_0x1d0d88['newValue'];}}function q(_0x5e67ae){const _0x587053=G(_0x5e67ae['rootName'],_0x5e67ae['isAttached']());for(const _0x5bf521 of _0x5e67ae['getChildren']()){const _0x49075f=_0x5bf521['_clone'](!0x0);_0x587053['_appendChild'](_0x49075f);}return _0x587053;}function G(_0x4c0bd5,_0x187a9e=!0x0){const _0x185425=new wt();return _0x185425['rootName']=_0x4c0bd5,_0x185425['_isAttached']=_0x187a9e,_0x185425['isAttached']=()=>_0x185425['_isAttached'],_0x185425;}function L(_0x2c4e70,_0x1de9c0,_0x2cd5a7){const _0x2c181f='elementEnd'==_0x2c4e70['type']?_0x2cd5a7['createPositionAt'](_0x2c4e70['item'],'end'):_0x2cd5a7['createPositionBefore'](_0x2c4e70['item']);return _0x2cd5a7['createPositionFromPath'](_0x1de9c0,_0x2c181f['path'],_0x2c181f['stickiness']);}function W(_0x570d17,_0x183f9e,_0x6b884c){const _0x47a955='elementStart'==_0x570d17['type']?_0x6b884c['createPositionAt'](_0x570d17['item'],0x0):_0x6b884c['createPositionAfter'](_0x570d17['item']);return _0x6b884c['createPositionFromPath'](_0x183f9e,_0x47a955['path'],_0x47a955['stickiness']);}class ns extends _0x589ebd{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0xc45eb8,_0x2fee28){super(_0xc45eb8),this['focusTracker']=new _0xe0f2b7(),this['keystrokes']=new _0xd9bf79(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x2fee28),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'](),_0x1b789f({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x3edb5c=_0x4fe0f2=>_0x4fe0f2['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3edb5c),this['keystrokes']['set']('arrowleft',_0x3edb5c),this['keystrokes']['set']('arrowup',_0x3edb5c),this['keystrokes']['set']('arrowdown',_0x3edb5c);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x150f42){this['revisionNameInputView']['fieldView']['element']['value']=_0x150f42['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x3c7b55){const _0x33dd2c=new at(this['locale'],_0x8b630e),_0x486253=_0x33dd2c['fieldView'];_0x486253['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x3d36d3=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x3c7b55&&(_0x3d36d3+='\x20('+y(this['locale'],'optional')+')'),(_0x33dd2c['label']=_0x3d36d3,_0x486253['on']('input',()=>{this['revisionNameInputValue']=_0x486253['element']['value']['trim']();}),_0x33dd2c);}}class u extends _0xfa4437{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x489853=this['editor'],_0x36ba85=_0x489853['plugins']['get']('RevisionTracker');_0x489853['ui']['componentFactory']['add']('revisionHistory',_0x1cf968=>{const _0x56c0d2=_0x47e0bd(_0x1cf968),_0x4ff931=_0x56c0d2['panelView']['children'],_0x5a4529=new te(_0x1cf968),_0x405724=new _0x1242fc(_0x1cf968),_0x52596f=new _0x1c1921(_0x1cf968),_0x42ec98=new _0x1242fc(_0x1cf968),_0x1a72c8=new _0x1c1921(_0x1cf968);return _0x56c0d2['bind']('isEnabled')['to'](_0x36ba85,'isReady',_0x36ba85,'isEnabled',_0x489853,'isReadOnly',(_0x43d4a5,_0x795830,_0x26bf4a)=>_0x43d4a5&&_0x795830&&!_0x26bf4a),_0x56c0d2['buttonView']['set']({'icon':_0x11c8c0['history'],'label':y(_0x1cf968,'Revision\x20history'),'tooltip':!0x0}),_0x52596f['set']({'label':y(_0x1cf968,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x52596f['bind']('isEnabled')['to'](_0x36ba85,'isReady',_0x36ba85,'isEnabled',_0x489853,'isReadOnly',(_0x32581a,_0x3db9b8,_0x4f9afb)=>_0x32581a&&_0x3db9b8&&!_0x4f9afb),_0x52596f['on']('execute',()=>this['_showDialog']()),_0x1a72c8['set']({'label':y(_0x1cf968,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x1a72c8['bind']('isEnabled')['to'](_0x36ba85,'isReady',_0x489853,'isReadOnly',(_0x6be8b3,_0x2786a7)=>_0x6be8b3&&!_0x2786a7),_0x1a72c8['on']('execute',()=>{_0x489853['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x56c0d2['isOpen']=!0x1,_0x489853['editing']['view']['focus']();}),_0x405724['children']['add'](_0x52596f),_0x42ec98['children']['add'](_0x1a72c8),_0x5a4529['role']='menu',_0x5a4529['items']['addMany']([_0x405724,_0x42ec98]),_0x4ff931['add'](_0x5a4529),_0x56c0d2;}),_0x489853['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x3801d5=this['editor'],_0x10302b=_0x3801d5['locale'],_0x4f5bee=new _0x5e5718(_0x10302b),_0x11455e=new _0x4ca538(_0x10302b);_0x4f5bee['buttonView']['set']({'icon':_0x11c8c0['history'],'label':y(_0x10302b,'Revision\x20history')});const _0x4d00c1=new _0x352236(_0x10302b,_0x4f5bee),_0x54310b=new _0x598d99(_0x10302b);_0x54310b['set']({'label':y(_0x10302b,'Save\x20current\x20revision')}),_0x54310b['delegate']('execute')['to'](_0x4f5bee),_0x54310b['on']('execute',()=>{this['_showDialog']();}),_0x4d00c1['children']['add'](_0x54310b),_0x11455e['items']['add'](_0x4d00c1);const _0x1e9d82=new _0x352236(_0x10302b,_0x4f5bee),_0x4f6ee3=new _0x598d99(_0x10302b);return _0x4f6ee3['set']({'label':y(_0x10302b,'Open\x20revision\x20history')}),_0x4f6ee3['delegate']('execute')['to'](_0x4f5bee),_0x4f6ee3['on']('execute',()=>{_0x3801d5['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x1e9d82['children']['add'](_0x4f6ee3),_0x11455e['items']['add'](_0x1e9d82),_0x4f5bee['panelView']['children']['add'](_0x11455e),_0x4f5bee;}['_showDialog'](){const _0x393676=this['editor'],_0x5b0522=_0x393676['locale'],_0x45b4c7=_0x393676['plugins']['get']('Dialog'),_0x522080=_0x393676['plugins']['get']('RevisionTracker');function _0x473d82(_0x475e4a){_0x393676['config']['get']('revisionHistory.requireRevisionName')&&''===_0x475e4a['revisionName']?_0x475e4a['revisionNameInputView']['errorText']=y(_0x5b0522,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x393676['plugins']['get'](l)['saveRevision']({'name':_0x475e4a['revisionName']}),_0x45b4c7['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x473d82(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x45b4c7['show']({'id':'revisionSave','title':y(_0x5b0522,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x393676['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x45b4c7['hide']()},{'label':y(_0x393676['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x4c8650){_0x4c8650['bind']('isEnabled')['to'](_0x522080,'isReady',_0x522080,'isEnabled',_0x393676,'isReadOnly',(_0x3c0095,_0x3b038a,_0x127b1a)=>_0x3c0095&&_0x3b038a&&!_0x127b1a);},'onExecute':()=>_0x473d82(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x5c87a2=this['editor'],_0x5621d1=_0x5c87a2['locale'];this['_saveRevisionFormView']=new ns(_0x5621d1,_0x5c87a2['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x589ebd{['changeId'];['_model'];constructor(_0x241205,_0x1c72c1){super(_0x241205),this['_model']=_0x1c72c1,this['changeId']=_0x1c72c1['id'];const _0x235f4a=this['bindTemplate'],_0x62f696=y(_0x241205,_0x1c72c1['data']['isSuggestion']?'Suggested\x20by':'add'==_0x1c72c1['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x1c72c1['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x235f4a['to']('type',_0x8c37cd=>'ck-revision-change__'+_0x8c37cd)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x62f696}]},{'text':'\x20'+_0x1c72c1['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x19a374(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x510372){super(),this['id']=_0x510372['id']||_0x4d587a(),this['author']=_0x510372['author'],this['type']=_0x510372['type'],this['data']=_0x510372['data']||{},this['rootName']=_0x510372['rootName'],this['set']('createdAt',_0x510372['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(_0x52ff15,_0x50a624){this['newRevisionId']=_0x52ff15,this['oldRevisionId']=_0x50a624,this['changes']=new _0x2fa1af();}['_setChanges'](_0xeb7709){for(const _0x587646 of _0xeb7709)this['changes']['add'](_0x587646);}}const tt={'c':_0x2f2a05,'a':_0xd1bcab,'e':_0x3cff86,'r':_0x731309,'u':_0x3a86bf};class d extends _0xfa4437{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x360443,_0x53e1b3,A];}constructor(_0x5d1e7d){super(_0x5d1e7d),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',(_0x3ad329,_0x47e4d5,_0x57a4af)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x26fdd2=>{for(const _0x5351de of this['editor']['editing']['view']['document']['roots'])_0x57a4af?_0x26fdd2['removeClass']('ck-editor__editable__overlay',_0x5351de):_0x26fdd2['addClass']('ck-editor__editable__overlay',_0x5351de);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x423f06=>null!==_0x423f06),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x49c1eb,_0x43f33b,_0xd4dffc)=>_0x49c1eb&&_0xd4dffc?_0x43f33b['changes']['getIndex'](_0xd4dffc):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x205c3f,_0xdd081f)=>_0x205c3f?_0xdd081f['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x53e1b3);}['init'](){const _0x195c68=this['editor'],_0x9c950d=new yt(_0x195c68,{'direction':'backward'}),_0x3be2ef=new yt(_0x195c68,{'direction':'forward'});(_0x195c68['commands']['add']('showPreviousChange',_0x9c950d),_0x195c68['commands']['add']('showNextChange',_0x3be2ef),_0x195c68['commands']['add']('restoreRevision',new bt(_0x195c68)),this['on']('change:numberOfChanges',()=>{_0x9c950d['refresh'](),_0x3be2ef['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x195c68['enableReadOnlyMode']('revision-viewer'),_0x195c68['plugins']['has']('WidgetToolbarRepository'))&&_0x195c68['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x242083){await this['loadRevisionData'](_0x242083);const _0x1b5ef5={};for(const _0xe0c394 in _0x242083['diffData']){if(_0x242083['diffData'][_0xe0c394]['attachChange']&&!_0x242083['diffData'][_0xe0c394]['attachChange']['isAttached'])continue;const _0x359e58=this['_removeRevisionMarkers'](JSON['parse'](_0x242083['diffData'][_0xe0c394]['insertions'])),_0x4d139c=this['editor']['editing']['view']['document'],_0x261eed=new _0x4e9a9c(_0x4d139c,_0x359e58['map'](_0x41e0ee=>this['_getViewObj'](_0x41e0ee)));this['editor']['data']['processor']['useFillerType']('marked'),_0x1b5ef5[_0xe0c394]=this['editor']['data']['processor']['toData'](_0x261eed),this['editor']['data']['processor']['useFillerType']('default');}return _0x1b5ef5;}async['getRevisionRootsAttributes'](_0xc7874d){await this['loadRevisionData'](_0xc7874d);const _0x1a0449={};for(const _0x3449ec in _0xc7874d['diffData'])_0xc7874d['diffData'][_0x3449ec]['attachChange']&&!_0xc7874d['diffData'][_0x3449ec]['attachChange']['isAttached']||(_0x1a0449[_0x3449ec]=_0xc7874d['diffData'][_0x3449ec]['attributesAfter']||{});return _0x1a0449;}['_removeRevisionMarkers'](_0x3d93ff){return(_0x3d93ff=_0x3d93ff['filter'](_0x28d995=>!_0x28d995['name']||'revision-start'!==_0x28d995['name']&&'revision-end'!==_0x28d995['name']))['forEach'](_0x188be0=>{'string'!=typeof _0x188be0&&(_0x188be0['children']=this['_removeRevisionMarkers'](_0x188be0['children']),_0x188be0['attributes']=_0x188be0['attributes']['filter'](_0x37ba11=>!_0x37ba11[0x0]['startsWith']('data-revision-')));}),_0x3d93ff;}async['compare'](_0x13f54b,_0x5851c0,_0x38680d=!0x1){if(!this['isEnabled'])return;const _0x214a62=this['diff'],_0x36a60c=this['repository'],_0x2e06a1='string'==typeof _0x13f54b?_0x36a60c['getRevision'](_0x13f54b):_0x13f54b,_0x337bd9='string'==typeof _0x5851c0?_0x36a60c['getRevision'](_0x5851c0):_0x5851c0,_0x5a71d2=_0x2e06a1['id'],_0x128b38=_0x337bd9?_0x337bd9['id']:null;if(!_0x38680d&&this['diff']&&this['diff']['newRevisionId']===_0x5a71d2&&this['diff']['oldRevisionId']===_0x128b38)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x5a71d2,_0x128b38);const _0x12586f=this['_getRevisionsRange'](_0x2e06a1,_0x337bd9,!0x0)['map'](_0x280ec5=>this['loadRevisionData'](_0x280ec5));return _0x12586f['push'](new Promise(_0x28d871=>{setTimeout(_0x28d871,0x14);})),Promise['all'](_0x12586f)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x429939=this['_getDiff'](_0x5a71d2,_0x128b38);for(const _0x544ba8 of _0x429939['changes'])this['_changeIdToChange']['set'](_0x544ba8['id'],_0x544ba8);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0xb6ab41=>{for(const _0x5a4f20 of this['editor']['model']['document']['getRootNames']())_0xb6ab41['detachRoot'](_0x5a4f20);for(const _0x37f4b6 of Object['keys'](_0x429939['model'])){const _0x1bf0d5=_0xb6ab41['addRoot'](_0x37f4b6);for(const _0x3214b8 of Object['keys'](_0x429939['attributes'][_0x37f4b6]))_0xb6ab41['setAttribute'](_0x3214b8,_0x429939['attributes'][_0x37f4b6][_0x3214b8],_0x1bf0d5);_0xb6ab41['insert'](_0x429939['model'][_0x37f4b6],_0x1bf0d5,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x429939['changes'])),this['isReady']=!0x0;})['catch'](_0x4303bb=>{console['error'](_0x4303bb),this['_cleanUp'](),_0x214a62&&(this['diff']=_0x214a62),this['isReady']=!0x0;});}['addRevisionData'](_0xa1be04,_0x21cf8a){const _0x44ff3f=this['repository']['createRevision'](_0xa1be04);return _0x44ff3f['on']('_update',(_0x41d59f,_0x443898,_0x25a576)=>_0x21cf8a(_0x443898,_0x25a576,_0x44ff3f)),this['repository']['addRevision'](_0x44ff3f),_0x44ff3f;}['loadRevisionData'](_0x59012e){if(!_0x59012e||_0x59012e['diffData'])return Promise['resolve']();{const _0x3bfe2d=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3bfe2d,'revisionId':_0x59012e['id']})['then'](_0x336a54=>{_0x59012e['_update']({'diffData':_0x336a54['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},_0xdba558=>{for(const _0x288d37 of this['editor']['model']['document']['getRootNames']())_0xdba558['detachRoot'](_0x288d37);});}['_sortAndFilterDiffChanges'](_0x456efb){const _0x5da2d6=[],_0xbe71b=new Map();for(const _0x39afc4 of this['editor']['model']['document']['getRootNames']()){const _0xac193c=this['editor']['editing']['view']['getDomRoot'](_0x39afc4);if(!_0xac193c)continue;const _0x511081=_0xac193c['getClientRects']()['item'](0x0);_0x511081&&(_0x5da2d6['push'](_0x39afc4),_0xbe71b['set'](_0x39afc4,_0x511081));}return _0x5da2d6['sort']((_0x5d05b6,_0x36bfaf)=>{const _0x5f3948=_0xbe71b['get'](_0x5d05b6),_0x2d4663=_0xbe71b['get'](_0x36bfaf);return _0x5f3948['y']-_0x2d4663['y']||_0x5f3948['x']-_0x2d4663['x'];}),(_0x456efb=_0x456efb['filter'](_0x5aa5df=>_0x5da2d6['includes'](_0x5aa5df['rootName'])))['sort']((_0x48afb8,_0x4b0a34)=>_0x5da2d6['indexOf'](_0x48afb8['rootName'])-_0x5da2d6['indexOf'](_0x4b0a34['rootName'])),_0x456efb;}['_makeTape'](_0x4cbd86){const _0x227307=Array['from'](_0x4cbd86['markers'])['filter'](([_0x58ea00,_0x5e51cb])=>_0x58ea00['startsWith']('revision:')&&!_0x5e51cb['isCollapsed']),_0x3acdfc=Array['from'](this['editor']['model']['createRangeIn'](_0x4cbd86)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x227307['length'])for(const _0x5e5018 of _0x3acdfc){const [_0x49123a,_0x164758]=_0x227307[0x0],[,_0x1335d1,_0x138fbd]=_0x49123a['split'](':');if(_0x164758['end']['isEqual'](_0x5e5018['nextPosition'])&&_0x227307['shift'](),(_0x5e5018['previousPosition']['isEqual'](_0x164758['start'])||_0x5e5018['previousPosition']['isAfter'](_0x164758['start']))&&('insertion'==_0x1335d1?_0x5e5018['isAdded']={'userId':_0x138fbd}:'deletion'==_0x1335d1&&(_0x5e5018['isRemoved']={'userId':_0x138fbd})),0x0==_0x227307['length'])break;}return _0x3acdfc;}['_refreshStartEndIndex'](_0x23b026){const _0x28af7b=new Map();for(let _0xe18e63=0x0;_0xe18e63<_0x23b026['length'];_0xe18e63++)'text'===_0x23b026[_0xe18e63]['type']?(_0x23b026[_0xe18e63]['item']['startIndex']=_0xe18e63,_0x23b026[_0xe18e63]['item']['endIndex']=_0xe18e63):('elementStart'===_0x23b026[_0xe18e63]['type']?_0x23b026[_0xe18e63]['item']['startIndex']=_0xe18e63:'elementEnd'===_0x23b026[_0xe18e63]['type']&&(_0x23b026[_0xe18e63]['item']['endIndex']=_0xe18e63),_0x28af7b['set'](_0x23b026[_0xe18e63]['id'],_0xe18e63));for(const _0x4c48ce of _0x28af7b['values']())'elementStart'===_0x23b026[_0x4c48ce]['type']?_0x23b026[_0x4c48ce]['item']['endIndex']=_0x28af7b['get'](_0x23b026[_0x4c48ce]['pairId']):'elementEnd'===_0x23b026[_0x4c48ce]['type']&&(_0x23b026[_0x4c48ce]['item']['startIndex']=_0x28af7b['get'](_0x23b026[_0x4c48ce]['pairId']));}['_processTape'](_0x2b4ecc){for(let _0x93126e=0x0;_0x93126e<_0x2b4ecc['length'];_0x93126e++){if('elementStart'===_0x2b4ecc[_0x93126e]['type'])_0x2b4ecc[_0x93126e]['item']['startIndex']=_0x93126e;else{if('elementEnd'===_0x2b4ecc[_0x93126e]['type']){_0x2b4ecc[_0x93126e]['item']['endIndex']=_0x93126e;const _0x393daa=_0x2b4ecc[_0x93126e]['item']['startIndex'];_0x2b4ecc[_0x393daa]['pairId']=_0x2b4ecc[_0x93126e]['id'],_0x2b4ecc[_0x93126e]['pairId']=_0x2b4ecc[_0x393daa]['id'];}else _0x2b4ecc[_0x93126e]['item']['startIndex']=_0x93126e,_0x2b4ecc[_0x93126e]['item']['endIndex']=_0x93126e,_0x2b4ecc[_0x93126e]['pairId']=null;}_0x2b4ecc[_0x93126e]['markersStart']||(_0x2b4ecc[_0x93126e]['markersStart']=[],_0x2b4ecc[_0x93126e]['markersEnd']=[]);}}['_markInsertions'](_0x3c8970,_0x208258){const _0xc0c303=_0x3c8970['filter'](_0x41f81c=>!_0x41f81c['isAdded']);for(let _0x244bb0=0x0;_0x244bb0<_0x208258['length'];_0x244bb0++)_0x208258[_0x244bb0]['isAdded']&&(_0xc0c303[_0x244bb0]['isAdded']=_0x208258[_0x244bb0]['isAdded']);}['_makeModelFromViewString'](_0x56713b){const _0x5d7369=JSON['parse'](_0x56713b),_0x4151e1=this['editor']['editing']['view']['document'],_0x5f46f4=new _0x4e9a9c(_0x4151e1,_0x5d7369['map'](_0xfbacc2=>this['_getViewObj'](_0xfbacc2)));return this['editor']['data']['toModel'](_0x5f46f4);}['_getViewObj'](_0x3bc04c){const _0x499d5e=this['editor']['editing']['view']['document'];if('string'==typeof _0x3bc04c)return new _0x2c9816(_0x499d5e,_0x3bc04c);{const _0x1ccce0=_0x3bc04c['children']['map'](_0x4c5afe=>this['_getViewObj'](_0x4c5afe));return new(tt[_0x3bc04c['type']]||_0x30e238)(_0x499d5e,_0x3bc04c['name'],_0x3bc04c['attributes'],_0x1ccce0);}}['_getDiff'](_0x159942,_0x2f625e=null){const _0x328663=this['repository']['getRevision'](_0x159942),_0x44eec5=_0x2f625e?this['repository']['getRevision'](_0x2f625e):null,_0x1433ea=this['_getRevisionsRange'](_0x328663,_0x44eec5),_0x15e564=_0x1433ea[_0x1433ea['length']-0x1],_0x4d0a14=new Map(),_0x475676={'model':{},'attributes':{},'changes':[]},_0x68f69=new Set(),_0x42c781=new Map();for(let _0x5b1942=_0x1433ea['length']-0x1;_0x5b1942>=0x0;_0x5b1942--){const _0xc74cd2=_0x1433ea[_0x5b1942];for(const _0x420fd2 of Object['keys'](_0xc74cd2['diffData']))if(_0xc74cd2['diffData'][_0x420fd2]['attachChange']){const _0x746425=_0xc74cd2['diffData'][_0x420fd2]['attachChange'];_0x746425['isAttached']?(_0x68f69['add'](_0x420fd2),_0x42c781['has'](_0x420fd2)&&_0x42c781['get'](_0x420fd2)['userId']==_0x746425['userId']?_0x42c781['delete'](_0x420fd2):_0x42c781['set'](_0x420fd2,_0x746425)):_0x42c781['has'](_0x420fd2)?(_0x68f69['delete'](_0x420fd2),_0x42c781['delete'](_0x420fd2)):(_0x68f69['add'](_0x420fd2),_0x42c781['set'](_0x420fd2,_0x746425));}else _0x68f69['add'](_0x420fd2);}for(const _0x55d662 of _0x68f69){const _0x3bae82=_0x42c781['has'](_0x55d662)&&!_0x42c781['get'](_0x55d662)['isAttached'];let _0x35a4a3=_0x3bae82?_0x1433ea['length']-0x1:0x0;const _0x3f2e6a=_0x3bae82?-0x1:0x1;for(;_0x1433ea[_0x35a4a3];){const _0x48d3fd=_0x1433ea[_0x35a4a3];if(_0x48d3fd['diffData'][_0x55d662]){const _0x40c754=_0x3bae82?_0x48d3fd['diffData'][_0x55d662]['attributesBefore']:_0x48d3fd['diffData'][_0x55d662]['attributesAfter'];_0x475676['attributes'][_0x55d662]=_0x40c754?_0x582adc(_0x40c754):{};break;}_0x35a4a3+=_0x3f2e6a;}}for(const _0xfd3185 of _0x1433ea){_0xfd3185['model']={};for(const _0x8856d9 of _0xfd3185['authors'])_0x4d0a14['set'](_0x8856d9['id'],_0x8856d9);for(const _0x30d852 of _0x68f69){const _0x3b58d8=_0xfd3185['diffData'][_0x30d852]?_0xfd3185['diffData'][_0x30d852]['insertions']:'[]',_0xbc8cbf=_0xfd3185['diffData'][_0x30d852]?_0xfd3185['diffData'][_0x30d852]['deletions']:'[]';_0xfd3185['model'][_0x30d852]={'insertions':this['_makeModelFromViewString'](_0x3b58d8),'deletions':this['_makeModelFromViewString'](_0xbc8cbf)};}}for(const _0x502b20 of _0x68f69){let _0x324271=null,_0xbfe9e=0x0;const _0x5c8d7=new Map(Array['from'](_0x328663['model'][_0x502b20]['insertions']['markers'])['filter'](([_0x438fb5])=>!_0x438fb5['startsWith']('revision:')));let _0x156ff4=0x0;for(const _0x28ee6b of _0x1433ea){const _0x2777b1=this['_makeTape'](_0x28ee6b['model'][_0x502b20]['insertions']);_0x28ee6b==_0x328663?(_0x324271=_0x2777b1,_0xbfe9e=_0x324271['length'],_0x324271['forEach'](_0x8a1540=>{_0x8a1540['id']=_0x156ff4++;}),this['_processTape'](_0x324271)):this['_markInsertions'](_0x324271,_0x2777b1);const _0x8c07c7=_0x324271['filter'](_0x4a75ad=>!_0x4a75ad['isAdded'])['map'](_0x2bc252=>_0x2bc252['id']);let _0x5c2a0e=0x0;const _0x228cf2=this['_makeTape'](_0x28ee6b['model'][_0x502b20]['deletions']);_0x228cf2['forEach'](_0x3f0bb4=>{_0x3f0bb4['isRemoved']?_0x3f0bb4['id']=_0xbfe9e++:_0x3f0bb4['id']=_0x8c07c7[_0x5c2a0e++];}),this['_processTape'](_0x228cf2),this['_setDistance'](_0x324271,'isAdded'),this['_setDistance'](_0x228cf2,'isRemoved'),_0x28ee6b==_0x328663&&this['_markMarkers'](_0x324271,_0x5c8d7),_0x324271=this['_joinTapes'](_0x324271,_0x228cf2),this['_refreshStartEndIndex'](_0x324271),this['_setDistance'](_0x324271,'isRemoved');}_0x324271=_0x324271['filter'](_0x3e23f1=>!(_0x3e23f1['isAdded']&&_0x3e23f1['isRemoved']));const _0x10831f=new Map(_0x15e564['model'][_0x502b20]['deletions']['markers']),_0x19f5c0=new Set(_0x5c8d7['keys']());for(const _0x493869 of _0x10831f['keys']())_0x19f5c0['delete'](_0x493869);this['_markSuggestions'](_0x324271,_0x19f5c0),this['_fixObsoleteTags'](_0x324271),_0x324271=this['_removeMissingPairs'](_0x324271),_0x324271=this['_markMismatchedRemovedTags'](_0x324271),_0x324271=this['_removeUnsupportedChanges'](_0x324271);const {root:_0x43a6a8,changes:_0xaae250}=this['_makeModelFromTape'](_0x324271,_0x4d0a14,_0x502b20);_0x475676['model'][_0x502b20]=_0x43a6a8;const _0x3b85cf=_0x42c781['get'](_0x502b20);if(_0x3b85cf){const _0x51bdd5=_0x4d0a14['get'](_0x3b85cf['userId']),_0x144b02=new r({'author':_0x51bdd5,'type':_0x3b85cf['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x502b20});_0xaae250['unshift'](_0x144b02),_0x475676['attributes'][_0x502b20]['revisionHistoryAttachChange']=_0x144b02['id'];}_0x475676['changes']=_0x475676['changes']['concat'](_0xaae250);}return _0x475676;}['_markMarkers'](_0x5696c1,_0x1be364){for(let _0x1ef0d8=0x0;_0x1ef0d8<_0x5696c1['length'];_0x1ef0d8++)for(const [_0x830124,_0x11c2d9]of _0x1be364)_0x11c2d9['start']['isEqual'](_0x5696c1[_0x1ef0d8]['previousPosition'])&&_0x5696c1[_0x1ef0d8]['markersStart']['push'](_0x830124),_0x11c2d9['end']['isEqual'](_0x5696c1[_0x1ef0d8]['nextPosition'])&&_0x5696c1[_0x1ef0d8]['markersEnd']['push'](_0x830124);}['_joinTapes'](_0x3a9419,_0x4404ce){let _0xf07225=[],_0xe8b013=0x0,_0x184a76=0x0;for(;_0xe8b013<_0x3a9419['length']||_0x184a76<_0x4404ce['length'];){const _0x1e20bf=_0x3a9419[_0xe8b013]||{},_0x32188d=_0x4404ce[_0x184a76]||{};if(_0x1e20bf['id']==_0x32188d['id'])_0xe8b013++,_0x184a76++,_0xf07225['push'](_0x1e20bf);else{if(_0x32188d['isRemoved']&&_0x1e20bf['isAdded']){const {commonTape:_0x220b80,iEnd:_0x573a00,jEnd:_0x533bfe}=this['_threeWayMerge'](_0x3a9419,_0xe8b013,_0x4404ce,_0x184a76);_0xf07225=_0xf07225['concat'](_0x220b80),_0xe8b013=_0x573a00,_0x184a76=_0x533bfe;}else _0x32188d['isRemoved']?(_0x184a76++,_0xf07225['push'](_0x32188d)):(_0xe8b013++,_0xf07225['push'](_0x1e20bf));}}return _0xf07225;}['_markSuggestions'](_0x2a6ee,_0x2d4886){const _0x331af5=[];for(let _0x207a50=0x0;_0x207a50<_0x2a6ee['length'];_0x207a50++){for(let _0x3044bc=0x0;_0x3044bc<_0x2a6ee[_0x207a50]['markersStart']['length'];_0x3044bc++){const _0x301c70=_0x2a6ee[_0x207a50]['markersStart'][_0x3044bc];if(!_0x2d4886['has'](_0x301c70))continue;const {group:_0x350755,type:_0xc62176,authorId:_0x3fa42c}=_0x2ec9a9(_0x301c70);'revision-suggestion'!=_0x350755||'insertion'!=_0xc62176&&'deletion'!=_0xc62176||(_0x331af5['unshift']({'type':_0xc62176,'name':_0x301c70,'userId':_0x3fa42c}),_0x2a6ee[_0x207a50]['markersStart']['splice'](_0x3044bc,0x1),_0x3044bc--);}_0x22f4ab(_0x2a6ee[_0x207a50]);for(let _0x581064=0x0;_0x581064<_0x2a6ee[_0x207a50]['markersEnd']['length'];_0x581064++){const _0xeb8ed9=_0x2a6ee[_0x207a50]['markersEnd'][_0x581064];if(!_0x2d4886['has'](_0xeb8ed9))continue;const {group:_0x2bd4c9,type:_0x2846c8}=_0x2ec9a9(_0xeb8ed9);if('revision-suggestion'!=_0x2bd4c9||'insertion'!=_0x2846c8&&'deletion'!=_0x2846c8)continue;_0x2a6ee[_0x207a50]['markersEnd']['splice'](_0x581064,0x1),_0x581064--;const _0x52635a=_0x331af5['findIndex'](_0x48ff29=>_0x48ff29['name']==_0xeb8ed9);_0x52635a>-0x1&&_0x331af5['splice'](_0x52635a,0x1);}}function _0x2ec9a9(_0x1cb3d2){const _0x2a716c=_0x1cb3d2['split'](':');return{'group':_0x2a716c[0x0],'type':_0x2a716c[0x1],'subType':_0x2a716c['length']>=0x5?_0x2a716c[0x2]:null,'id':_0x2a716c['length']<0x5?_0x2a716c[0x2]:_0x2a716c[0x3],'authorId':_0x2a716c['length']<0x5?_0x2a716c[0x3]:_0x2a716c[0x4],'markerCount':0x6==_0x2a716c['length']?_0x2a716c[0x5]:null};}function _0x22f4ab(_0x2db139){for(let _0x2ba2c1=0x0;_0x2ba2c1<_0x331af5['length'];_0x2ba2c1++){if(_0x2db139['isAdded']&&'insertion'==_0x331af5[_0x2ba2c1]['type'])return _0x2db139['isAddSuggestion']=_0x331af5[_0x2ba2c1],void delete _0x2db139['isAdded'];if(!_0x2db139['isAdded']&&!_0x2db139['isRemoved']&&'deletion'==_0x331af5[_0x2ba2c1]['type'])return void(_0x2db139['isRemoveSuggestion']=_0x331af5[_0x2ba2c1]);}}}['_setDistance'](_0x6a4442,_0x418fec){let _0x4acb00=0x0,_0x505171=!0x1;const _0x56587a=new Map();for(const _0x3b1204 of _0x6a4442)_0x3b1204[_0x418fec]?_0x505171&&(_0x4acb00++,_0x505171=!0x1):(_0x4acb00++,_0x505171=!0x0),_0x56587a['set'](_0x3b1204['id'],_0x4acb00);for(let _0x2610ea=0x0;_0x2610ea<_0x6a4442['length'];_0x2610ea++){if('isRemoved'==_0x418fec&&_0x6a4442[_0x2610ea]['isAdded']||'isAdded'==_0x418fec&&_0x6a4442[_0x2610ea]['isRemoved'])continue;if('text'==_0x6a4442[_0x2610ea]['type']){_0x6a4442[_0x2610ea]['distance']=0x0;continue;}const _0x2be4b0=_0x56587a['get'](_0x6a4442[_0x2610ea]['pairId']),_0x359aba=_0x56587a['get'](_0x6a4442[_0x2610ea]['id']);_0x6a4442[_0x2610ea]['distance']=_0x2be4b0-_0x359aba;}}['_getRevisionsRange'](_0x162cb3,_0x715124,_0xf52913=!0x1){const _0x4f19dc=[];let _0x11c69f=this['repository']['getIndex'](_0x162cb3),_0x5a2379=this['repository']['getIndex'](_0x715124);for(-0x1==_0x5a2379&&(_0x5a2379=this['repository']['_revisions']['length'],_0xf52913=!0x1);_0x11c69f<_0x5a2379;)_0x4f19dc['push'](this['repository']['getRevision'](_0x11c69f)),_0x11c69f++;return _0xf52913&&_0x4f19dc['push'](this['repository']['getRevision'](_0x11c69f)),_0x4f19dc;}['_threeWayMerge'](_0x155821,_0x43c3a2,_0x3ca308,_0x19b93f){const _0x423ed0=this['editor']['model']['schema'];let _0x44fce7=_0x43c3a2;for(;_0x155821[_0x44fce7]&&_0x155821[_0x44fce7]['isAdded'];)_0x44fce7++;let _0x1c35ce=_0x19b93f;for(;_0x3ca308[_0x1c35ce]&&_0x3ca308[_0x1c35ce]['isRemoved'];)_0x1c35ce++;_0x121fa3(_0x155821,_0x43c3a2,_0x44fce7),_0x121fa3(_0x3ca308,_0x19b93f,_0x1c35ce);const _0x49ad65=_0x3ca308['slice'](_0x19b93f,_0x1c35ce)['concat'](_0x155821['slice'](_0x43c3a2,_0x44fce7));return _0x49ad65['sort']((_0x286b6c,_0x1043b6)=>_0x286b6c['side']!=_0x1043b6['side']?_0x286b6c['side']-_0x1043b6['side']:_0x286b6c['level']!=_0x1043b6['level']?_0x286b6c['level']-_0x1043b6['level']:_0x286b6c['distance']!=_0x1043b6['distance']?_0x1043b6['distance']-_0x286b6c['distance']:!!_0x286b6c['isAdded']!=!!_0x1043b6['isAdded']?-0x1==_0x286b6c['side']||0x0==_0x286b6c['side']?_0x286b6c['isAdded']?-0x1:0x1:_0x286b6c['isAdded']?0x1:-0x1:_0x286b6c['index']-_0x1043b6['index']),{'commonTape':_0x49ad65,'iEnd':_0x44fce7,'jEnd':_0x1c35ce};function _0x121fa3(_0x17a01d,_0x2678d5,_0x51b91e){let _0x4bec75=-0x1,_0x2861ce=Number['POSITIVE_INFINITY'],_0x1fc739=!0x0;for(let _0x3f786d=_0x2678d5;_0x3f786d<_0x51b91e;_0x3f786d++)if(_0x423ed0['isInline'](_0x17a01d[_0x3f786d]['item'])||(_0x1fc739=!0x1),_0x17a01d[_0x3f786d]['item']['startIndex']<_0x2678d5&&(_0x4bec75=_0x3f786d),_0x17a01d[_0x3f786d]['item']['endIndex']>=_0x51b91e){_0x2861ce=_0x3f786d;break;}_0x1fc739&&(_0x4bec75=_0x51b91e-0x1);for(let _0x4ccb7c=_0x2678d5;_0x4ccb7c<_0x51b91e;_0x4ccb7c++)_0x17a01d[_0x4ccb7c]['side']=_0x4ccb7c<=_0x4bec75?-0x1:_0x4ccb7c<_0x2861ce?0x0:0x1,_0x17a01d[_0x4ccb7c]['index']=_0x4ccb7c;let _0x379e1a=0x0;for(let _0x733ee4=_0x2678d5;_0x733ee4<=_0x4bec75;_0x733ee4++)0x0==_0x17a01d[_0x733ee4]['distance']?_0x17a01d[_0x733ee4]['level']=_0x379e1a:(_0x379e1a++,_0x17a01d[_0x733ee4]['level']=_0x379e1a,_0x379e1a++);for(let _0x191790=_0x2678d5;_0x191790<_0x51b91e;_0x191790++)0x0==_0x17a01d[_0x191790]['side']&&(_0x17a01d[_0x191790]['level']=_0x379e1a);_0x379e1a=0x0;for(let _0x4faf87=_0x51b91e-0x1;_0x4faf87>=_0x2861ce;_0x4faf87--)0x0==_0x17a01d[_0x4faf87]['distance']?_0x17a01d[_0x4faf87]['level']=_0x379e1a:(_0x379e1a--,_0x17a01d[_0x4faf87]['level']=_0x379e1a,_0x379e1a--);}}['_fixObsoleteTags'](_0x94a3ec){const _0x3b25c8=new Map(),_0x4d7634=this['editor']['model']['schema'];for(let _0x519b55=0x1;_0x519b55<_0x94a3ec['length'];_0x519b55++){let _0x57e681,_0x33a90a,_0x5ea6ea;const _0x42486c=_0x94a3ec[_0x519b55],_0x39e5c0=_0x94a3ec[_0x519b55-0x1];if('text'==_0x42486c['type'])continue;if(_0x42486c['type']!=_0x39e5c0['type'])continue;if(!_0x4d7634['isBlock'](_0x39e5c0['item'])||_0x4d7634['isLimit'](_0x39e5c0['item']))continue;if(!_0x4d7634['isBlock'](_0x42486c['item'])||_0x4d7634['isLimit'](_0x42486c['item']))continue;if((_0x94a3ec[_0x519b55]['isAdded']||_0x94a3ec[_0x519b55]['isAddSuggestion'])&&_0x94a3ec[_0x519b55-0x1]['isRemoved'])_0x57e681=_0x94a3ec[_0x519b55],_0x33a90a=_0x94a3ec[_0x519b55-0x1],_0x5ea6ea=_0x519b55-0x1;else{if(!_0x94a3ec[_0x519b55]['isRemoved']||!_0x94a3ec[_0x519b55-0x1]['isAdded']&&!_0x94a3ec[_0x519b55-0x1]['isAddSuggestion'])continue;_0x57e681=_0x94a3ec[_0x519b55-0x1],_0x33a90a=_0x94a3ec[_0x519b55],_0x5ea6ea=_0x519b55;}const _0x3199e6=_0x57e681['level']==_0x33a90a['level'],_0x4e948d=Math['abs'](_0x57e681['level'])<Math['abs'](_0x33a90a['level'])&&0x0==_0x33a90a['distance'];(_0x3199e6||_0x4e948d)&&(_0x3b25c8['set'](_0x33a90a['id'],_0x57e681['id']),_0x94a3ec['splice'](_0x5ea6ea,0x1),_0x519b55--,_0x57e681['isAdded']=!0x1);}for(let _0x4480a8=0x0;_0x4480a8<_0x94a3ec['length'];_0x4480a8++)_0x3b25c8['has'](_0x94a3ec[_0x4480a8]['pairId'])&&(_0x94a3ec[_0x4480a8]['pairId']=_0x3b25c8['get'](_0x94a3ec[_0x4480a8]['pairId']));}['_removeMissingPairs'](_0x17ce03){const _0x4217f8=new Set(_0x17ce03['map'](_0x4d4613=>_0x4d4613['id']));for(let _0x389f62=0x0;_0x389f62<_0x17ce03['length'];_0x389f62++)_0x4217f8['has'](_0x17ce03[_0x389f62]['pairId'])||0x0==_0x17ce03[_0x389f62]['distance']||(_0x17ce03[_0x389f62]['isIncorrect']=!0x0);return _0x17ce03['filter'](_0x1e1e91=>!_0x1e1e91['isIncorrect']);}['_markMismatchedRemovedTags'](_0x309c01){const _0x5e7150=new Set();for(let _0x5346e1=0x0;_0x5346e1<_0x309c01['length'];_0x5346e1++){if(_0x5e7150['has'](_0x309c01[_0x5346e1]['id'])&&_0x309c01[_0x5346e1]['isRemoved']&&(_0x309c01[_0x5346e1]['isIncorrect']=!0x0),_0x309c01[_0x5346e1]['isIncorrect'])continue;if(0x0==_0x309c01[_0x5346e1]['distance'])continue;if('elementStart'!=_0x309c01[_0x5346e1]['type'])continue;if(null==_0x309c01[_0x5346e1]['pairId'])continue;let _0x1e6331=_0x5346e1+0x1,_0x1de46d=0x0;for(;_0x309c01[_0x1e6331]['id']!=_0x309c01[_0x5346e1]['pairId'];)'elementStart'==_0x309c01[_0x1e6331]['type']?_0x1de46d++:'elementEnd'==_0x309c01[_0x1e6331]['type']&&_0x1de46d--,_0x1e6331++;if(0x0!=_0x1de46d){if(_0x309c01[_0x5346e1]['isRemoved'])_0x309c01[_0x5346e1]['isIncorrect']=!0x0;else{for(;_0x1e6331!=_0x5346e1;)_0x309c01[_0x1e6331]['isRemoved']&&0x0!=_0x309c01[_0x1e6331]['distance']&&(_0x309c01[_0x1e6331]['isIncorrect']=!0x0,_0x5e7150['add'](_0x309c01[_0x1e6331]['pairId'])),_0x1e6331--;}}}return _0x309c01['filter'](_0x4a2f0f=>!_0x4a2f0f['isIncorrect']);}['_removeUnsupportedChanges'](_0x532a6d){const _0x51be93=this['editor']['model']['schema'];for(let _0x4bf9f5=0x0;_0x4bf9f5<_0x532a6d['length'];_0x4bf9f5++){if(!(_0x532a6d[_0x4bf9f5]['isAdded']||_0x532a6d[_0x4bf9f5]['isAddSuggestion']||_0x532a6d[_0x4bf9f5]['isRemoved']||_0x532a6d[_0x4bf9f5]['isRemoveSuggestion']))continue;if(0x0==_0x532a6d[_0x4bf9f5]['distance'])continue;const _0x194157=_0x532a6d[_0x4bf9f5]['item'];_0x51be93['isBlock'](_0x194157)||_0x51be93['isLimit'](_0x194157)||(_0x532a6d[_0x4bf9f5]['isAdded']&&delete _0x532a6d[_0x4bf9f5]['isAdded'],_0x532a6d[_0x4bf9f5]['isAddSuggestion']&&delete _0x532a6d[_0x4bf9f5]['isAddSuggestion'],_0x532a6d[_0x4bf9f5]['isRemoveSuggestion']&&delete _0x532a6d[_0x4bf9f5]['isRemoveSuggestion'],_0x532a6d[_0x4bf9f5]['isRemoved']&&(_0x532a6d[_0x4bf9f5]['isIncorrect']=!0x0));}return _0x532a6d['filter'](_0x1e190e=>!_0x1e190e['isIncorrect']);}['_makeModelFromTape'](_0x54f6e4,_0x371592,_0x1044e8){const _0x6054ef=new wt(),_0x1bd449=[],_0x41de0d=new Map(),_0x4c14e5=this['editor']['model'],_0x5b0a5e=_0x4c14e5['schema'],_0x169208=[_0x6054ef],_0x1304a8={},_0x1c6dd7={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3c13a4=null;const _0x391e63=[0x0];for(let _0x2d78d0=0x0;_0x2d78d0<_0x54f6e4['length'];_0x2d78d0++){let _0x4493af,_0x45ba93;if('elementStart'===_0x54f6e4[_0x2d78d0]['type']){_0x4493af=_0x4c14e5['createPositionFromPath'](_0x6054ef,_0x391e63);const _0x16b5a7=new ft(_0x54f6e4[_0x2d78d0]['item']['name'],_0x54f6e4[_0x2d78d0]['item']['getAttributes']());_0x169208[0x0]['_appendChild'](_0x16b5a7),_0x391e63['push'](0x0),_0x169208['unshift'](_0x16b5a7),_0x45ba93=_0x4c14e5['createPositionFromPath'](_0x6054ef,_0x391e63),_0x3c13a4=null;}else{if('elementEnd'===_0x54f6e4[_0x2d78d0]['type'])_0x169208['shift'](),_0x4493af=_0x4c14e5['createPositionFromPath'](_0x6054ef,_0x391e63),_0x391e63['pop'](),_0x391e63[_0x391e63['length']-0x1]++,_0x45ba93=_0x4c14e5['createPositionFromPath'](_0x6054ef,_0x391e63),_0x3c13a4=null;else{if(_0x4493af=_0x4c14e5['createPositionFromPath'](_0x6054ef,_0x391e63),_0x3c13a4&&_0x4e0f19(_0x3c13a4,_0x54f6e4[_0x2d78d0]['item']))_0x3c13a4['_data']+=_0x54f6e4[_0x2d78d0]['item']['data'];else{const _0x4c8b6b=new _t(_0x54f6e4[_0x2d78d0]['item']['data'],_0x54f6e4[_0x2d78d0]['item']['getAttributes']());_0x169208[0x0]['_appendChild'](_0x4c8b6b),_0x3c13a4=_0x4c8b6b;}_0x391e63[_0x391e63['length']-0x1]+=_0x54f6e4[_0x2d78d0]['item']['offsetSize'],_0x45ba93=_0x4c14e5['createPositionFromPath'](_0x6054ef,_0x391e63);}}for(const _0x2e6663 of _0x54f6e4[_0x2d78d0]['markersStart'])_0x41de0d['set'](_0x2e6663,{'start':_0x4493af,'end':null});_0x2291f4('isRemoveSuggestion',_0x2d78d0,_0x4493af,_0x45ba93),_0x2291f4('isAddSuggestion',_0x2d78d0,_0x4493af,_0x45ba93),_0x2291f4('isRemoved',_0x2d78d0,_0x4493af,_0x45ba93),_0x2291f4('isAdded',_0x2d78d0,_0x4493af,_0x45ba93);for(const _0x28e09b of _0x54f6e4[_0x2d78d0]['markersEnd']){_0x41de0d['get'](_0x28e09b)['end']=_0x45ba93;}}for(const [_0x1928ef,_0x14b10b]of _0x41de0d){const _0x246a6b=this['editor']['model']['createRange'](_0x14b10b['start'],_0x14b10b['end']);_0x6054ef['markers']['set'](_0x1928ef,_0x246a6b);}return _0x1bd449['sort']((_0x58ec51,_0x37b54f)=>{const _0x51dc65=_0x6054ef['markers']['get']('revision:'+_0x58ec51['id']),_0x22da2d=_0x6054ef['markers']['get']('revision:'+_0x37b54f['id']);return _0x51dc65['start']['isBefore'](_0x22da2d['start'])?-0x1:_0x51dc65['start']['isAfter'](_0x22da2d['start'])?0x1:_0x51dc65['end']['isBefore'](_0x22da2d['end'])?-0x1:_0x51dc65['end']['isAfter'](_0x22da2d['end'])?0x1:'add'===_0x58ec51['type']?-0x1:0x1;}),{'root':_0x6054ef,'changes':_0x1bd449};function _0x2291f4(_0x3a78da,_0x5bf7af,_0xe2cd38,_0x4d603a){const _0x1679bb=!!_0x54f6e4[_0x5bf7af][_0x3a78da],_0x257ccd=_0x1679bb?_0x54f6e4[_0x5bf7af][_0x3a78da]['userId']:null,_0x1c93f9=_0x5bf7af===_0x54f6e4['length']-0x1,_0x54d2dd=_0x1c6dd7[_0x3a78da][0x0],_0xed3b7=_0x5b0a5e['isObject'](_0x54f6e4[_0x5bf7af]['item']);!_0x1304a8[_0x3a78da]&&_0x1679bb?_0x1304a8[_0x3a78da]={'start':_0xe2cd38,'tapeItem':_0x54f6e4[_0x5bf7af],'userId':_0x257ccd,'type':_0x3a78da}:_0x1304a8[_0x3a78da]&&!_0x1679bb?(_0x1304a8[_0x3a78da]['end']=_0xe2cd38,_0x56f7d8(_0x1304a8[_0x3a78da]),_0x1304a8[_0x3a78da]=null):_0x1304a8[_0x3a78da]&&_0x1679bb&&_0x1304a8[_0x3a78da]['userId']!==_0x257ccd&&(_0x1304a8[_0x3a78da]['end']=_0xe2cd38,_0x54d2dd&&_0x54d2dd['userId']===_0x1304a8[_0x3a78da]['userId']||_0x56f7d8(_0x1304a8[_0x3a78da]),_0x1304a8[_0x3a78da]={'start':_0xe2cd38,'tapeItem':_0x54f6e4[_0x5bf7af],'userId':_0x257ccd,'type':_0x3a78da}),_0x1304a8[_0x3a78da]&&_0xed3b7&&('elementStart'!==_0x54f6e4[_0x5bf7af]['type']||_0x54d2dd&&_0x54d2dd['userId']===_0x257ccd||_0x1c6dd7[_0x3a78da]['unshift']({'userId':_0x257ccd,'object':_0x54f6e4[_0x5bf7af]['item'],'change':_0x1304a8[_0x3a78da]}),'elementEnd'===_0x54f6e4[_0x5bf7af]['type']&&_0x54d2dd&&_0x54d2dd['object']===_0x54f6e4[_0x5bf7af]['item']&&(_0x1c6dd7[_0x3a78da]['shift'](),_0x1304a8[_0x3a78da]=_0x54d2dd['change'])),_0x1304a8[_0x3a78da]&&_0x1c93f9&&(_0x1304a8[_0x3a78da]['end']=_0x4d603a,_0x56f7d8(_0x1304a8[_0x3a78da]),_0x1304a8[_0x3a78da]=null);}function _0x56f7d8({start:_0x5b9431,end:_0x1bd396,tapeItem:_0x6ed5f3,userId:_0x376c06,type:_0x4db372}){const _0x23318b=_0x6ed5f3['item'],_0x3f4241=_0x4c14e5['schema']['isBlock'](_0x23318b)&&!_0x4c14e5['schema']['isLimit'](_0x23318b),_0x35fca3=_0x5b9431['nodeAfter']==_0x1bd396['parent']&&_0x1bd396['isAtStart'];if(_0x3f4241&&_0x35fca3)return;const _0x28f499=_0x4c14e5['createRange'](_0x5b9431,_0x1bd396),_0x1e8249=_0x371592['get'](_0x376c06),_0x3d4b6f=new r({'author':_0x1e8249,'type':'isAdded'==_0x4db372||'isAddSuggestion'==_0x4db372?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x4db372||'isRemoveSuggestion'==_0x4db372},'createdAt':new Date(),'rootName':_0x1044e8});_0x1bd449['push'](_0x3d4b6f),_0x6054ef['markers']['set']('revision:'+_0x3d4b6f['id'],_0x28f499);}function _0x4e0f19(_0x148938,_0x1bfee2){const _0x209620=_0x148938['getAttributes'](),_0x35f66c=_0x1bfee2['getAttributes']();for(const _0x163c71 of _0x209620){if(_0x163c71[0x1]!==_0x1bfee2['getAttribute'](_0x163c71[0x0]))return!0x1;_0x35f66c['next']();}return _0x35f66c['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0xe6b6c3=>{const _0x4831d5=_0xe6b6c3['markerName']['split'](':')[0x1],_0x5019db=this['_getChangeFromId'](_0x4831d5);if(!_0x5019db)return null;const _0x2805dd='add'==_0x5019db['type']?'insertion':'deletion',_0x561207=['ck-suggestion-marker','ck-suggestion-marker-'+_0x2805dd];return _0x5019db['data']['isSuggestion']&&_0x561207['push']('ck-suggestion-marker-'+_0x2805dd+'-new'),this['activeChange']==_0x5019db&&_0x561207['push']('ck-suggestion-marker--active'),{'classes':_0x561207,'attributes':{'data-change-id':_0x4831d5}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x5ef8db=>{_0x5ef8db['on']('element:pre',(_0x4809d3,_0xf46a4a,_0x1bcad5)=>{const _0x101e04=_0xf46a4a['viewItem']['getChild'](0x0);if(!_0x101e04||!_0x101e04['is']('element','code'))return;if(!_0x1bcad5['consumable']['consume'](_0x101e04,{'attributes':['vid_start','vid_end']}))return;const _0x29aa52=_0xf46a4a['modelRange']['start']['nodeAfter'];_0x1bcad5['writer']['setAttribute']('vid_start',_0x101e04['getAttribute']('vid_start'),_0x29aa52),_0x1bcad5['writer']['setAttribute']('vid_end',_0x101e04['getAttribute']('vid_end'),_0x29aa52);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x3e5add=>{_0x3e5add['on']('element',(_0xca3fed,_0x23bcc1,_0xf33542)=>{if(!_0xf33542['consumable']['consume'](_0x23bcc1['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x23bcc1['modelRange']['isCollapsed'])return;const _0x2ca5d2=_0x23bcc1['modelRange']['start']['nodeAfter'];_0x2ca5d2['hasAttribute']('vid_start')||_0x2ca5d2['hasAttribute']('vid')||(_0xf33542['writer']['setAttribute']('vid_start',_0x23bcc1['viewItem']['getAttribute']('vid_start'),_0x2ca5d2),_0xf33542['writer']['setAttribute']('vid_end',_0x23bcc1['viewItem']['getAttribute']('vid_end'),_0x2ca5d2));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x196548=>_0x196548['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x4a800e,[,_0x305069])=>{['vid_start','vid_end','vid']['includes'](_0x305069)&&(_0x4a800e['return']=!0x0,_0x4a800e['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x41c359=>{_0x41c359['on']('attribute:vid',(_0x4b0423,_0x5589b4,_0x35a2fa)=>{if('\x20'!=_0x5589b4['item']['data']||_0x5589b4['item']['parent']['maxOffset']>0x1)return;if(!_0x35a2fa['consumable']['consume'](_0x5589b4['item'],_0x4b0423['name']))return;const _0x4abbb7=_0x35a2fa['writer'],_0x52a1b5=_0x35a2fa['mapper']['toViewRange'](_0x5589b4['range']);_0x4abbb7['wrap'](_0x52a1b5,_0x4abbb7['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x23070e){const _0x44d82f=_0x23070e['plugins']['get']('RevisionViewer');return(_0x529fcc,_0x4aa408,_0xd7b66d)=>{const _0x1e35bd=_0x4aa408['markerName']['split'](':')[0x1],_0x48ea8f=_0x44d82f['_getChangeFromId'](_0x1e35bd);if(!_0x48ea8f)return null;const _0x188398='add'==_0x48ea8f['type']?'split':'merge';if(!_0xd7b66d['consumable']['test'](_0x4aa408['markerRange'],_0x529fcc['name']))return;const _0x21472c=_0x4aa408['markerRange']['getWalker'](),_0x34e397=_0x4aa408['markerRange']['start'],_0x3f8f11=_0x23070e['model']['schema'];let _0x19562a=null,_0x2fca68=null,_0x289ff0=!0x1,_0x29dc15=!0x1;for(const _0x51a827 of _0x21472c){const _0x21def5=_0x51a827['item'];_0x289ff0=_0x289ff0||_0x3f8f11['isContent'](_0x21def5);const _0xbef71=_0xd7b66d['mapper']['toViewElement'](_0x21def5);if(_0xbef71&&_0xbef71['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x51a827['type']&&(_0x3f8f11['isBlock'](_0x21def5)&&!_0x3f8f11['isLimit'](_0x21def5)&&(_0x21def5['nextSibling']||_0x34e397['isAtEnd']?_0x19562a&&_0x19562a['parent']==_0x21def5||(_0x19562a=_0x21def5,_0x4a40ea(_0x51a827['previousPosition']),_0x29dc15=!0x0):_0x2fca68=_0x2fca68||_0x51a827['previousPosition']));}function _0x4a40ea(_0x433e4f){const _0x141060=_0xd7b66d['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x188398}),_0x1acfa8=_0xd7b66d['mapper']['toViewPosition'](_0x433e4f);_0x48ea8f['data']['isSuggestion']&&_0xd7b66d['writer']['addClass']('ck-suggestion-marker-'+_0x188398+'-new',_0x141060),_0x44d82f['activeChange']==_0x48ea8f&&_0xd7b66d['writer']['addClass']('ck-suggestion-marker--active',_0x141060),_0xd7b66d['writer']['insert'](_0x1acfa8,_0x141060),_0xd7b66d['mapper']['bindElementToMarker'](_0x141060,_0x4aa408['markerName']);}_0x289ff0||_0x29dc15||!_0x2fca68||_0x4a40ea(_0x2fca68);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x5f200b,_0x55933d,_0x59578c)=>{const _0x2b9456=_0x59578c['mapper']['markerNameToElements'](_0x55933d['markerName']);if(_0x2b9456){for(const _0x338507 of _0x2b9456)(_0x338507['hasClass']('ck-suggestion-marker-split')||_0x338507['hasClass']('ck-suggestion-marker-merge'))&&(_0x59578c['mapper']['unbindElementFromMarkerName'](_0x338507,_0x55933d['markerName']),_0x59578c['writer']['remove'](_0x338507));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x209b25,_0x116ef5,_0x2db6f1)=>{const _0x7a1376=_0x116ef5['markerName']['split'](':')[0x1],_0x5ad1aa=this['_getChangeFromId'](_0x7a1376);if(!_0x5ad1aa)return null;const _0x1817b0='add'==_0x5ad1aa['type']?'split':'merge';if(_0x2db6f1['consumable']['test'](_0x116ef5['markerRange'],_0x209b25['name']))for(const _0x97e441 of _0x116ef5['markerRange']['getItems']()){if(!_0x97e441['is']('element','softBreak'))continue;const _0x412788=_0x2db6f1['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1817b0}),_0x43a1e1=_0x2db6f1['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x97e441));_0x5ad1aa['data']['isSuggestion']&&_0x2db6f1['writer']['addClass']('ck-suggestion-marker-'+_0x1817b0+'-new',_0x412788),this['activeChange']==_0x5ad1aa&&_0x2db6f1['writer']['addClass']('ck-suggestion-marker--active',_0x412788),_0x2db6f1['writer']['insert'](_0x43a1e1,_0x412788),_0x2db6f1['mapper']['bindElementToMarker'](_0x412788,_0x116ef5['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0xd764e7=>{for(const _0x3811bb of this['editor']['model']['document']['getRootNames']()){const _0x26e569=this['editor']['model']['document']['getRoot'](_0x3811bb),_0x3014d3=this['editor']['editing']['view']['document']['getRoot'](_0x3811bb);if(_0x3014d3){const _0x175ad4=_0x26e569['getAttribute']('revisionHistoryAttachChange');if(_0xd764e7['removeAttribute']('data-change-id',_0x3014d3),_0xd764e7['removeClass']('ck-revision-history-root-add',_0x3014d3),_0xd764e7['removeClass']('ck-revision-history-root-remove',_0x3014d3),_0xd764e7['removeClass']('ck-revision-history-root--active',_0x3014d3),_0x175ad4){const _0x5f0c3d=this['_getChangeFromId'](_0x175ad4);if(!_0x5f0c3d)return null;_0xd764e7['setAttribute']('data-change-id',_0x175ad4,_0x3014d3),_0xd764e7['addClass']('ck-revision-history-root-'+_0x5f0c3d['type'],_0x3014d3),this['activeChange']==_0x5f0c3d&&_0xd764e7['addClass']('ck-revision-history-root--active',_0x3014d3);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x585315=>'revision-comment:'+_0x585315,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x2a18a3=>'revision-suggestion:'+_0x2a18a3,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x1e91ba=>({'name':'suggestion:'+_0x1e91ba,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x5cd3d4=>{const _0x593afe=_0x5cd3d4['markerName']['split'](':')[0x1];return'insertion'!=_0x593afe&&'deletion'!=_0x593afe?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x593afe]};}}),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',(_0x3ddac0,_0x17741b,_0x48a162)=>{const _0x4e522d=_0x48a162['mapper']['markerNameToElements'](_0x17741b['markerName']);if(_0x4e522d){for(const _0x56733d of _0x4e522d)_0x56733d['is']('uiElement')&&(_0x48a162['mapper']['unbindElementFromMarkerName'](_0x56733d,_0x17741b['markerName']),_0x48a162['writer']['remove'](_0x56733d));}},{'priority':'high'});}['_getChangeFromId'](_0xc85dd){return this['_changeIdToChange']['get'](_0xc85dd);}['_getViewForChange'](_0xbc2199){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0xbc2199),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x2b737a,_0x34d527,_0x52e342,_0x2cb2d6)=>{_0x2cb2d6&&this['_balloon']['remove'](_0x2cb2d6),_0x52e342&&(this['_balloon']['add']({'view':_0x52e342,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x5ab7ec=this['editor']['editing'],_0x344092=this['_getChangeFromId'](_0x52e342['changeId']);let _0x4fab0a;if(_0x344092['data']['isOnRoot']){const _0x52cf4b=_0x5ab7ec['view']['getDomRoot'](_0x344092['rootName']);_0x4fab0a=Array['from'](_0x52cf4b['getClientRects']());}else{const _0x186ebc=this['editor']['model']['markers']['get']('revision:'+_0x52e342['changeId']);_0x4fab0a=Array['from'](_0x5ab7ec['mapper']['markerNameToElements'](_0x186ebc['name']))['map'](_0x1ae791=>_0x5ab7ec['view']['domConverter']['mapViewToDom'](_0x1ae791))['map'](_0x1d6c6d=>Array['from'](_0x1d6c6d['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x4fab0a[0x0];return _0x4fab0a['find'](_0x144006=>_0x144006['top']-0x3<=this['_activeViewTarget']['y']&&_0x144006['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x144006['left']-0x3<=this['_activeViewTarget']['x']&&_0x144006['right']+0x3>=this['_activeViewTarget']['x'])||_0x4fab0a[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x3ba3d8,_0x140cbe,_0x34fd65,_0x32fbed)=>{this['activeView']=_0x34fd65?this['_getViewForChange'](_0x34fd65):null,this['editor']['model']['change'](()=>{const _0x3f3101=this['editor']['editing'];_0x32fbed&&(_0x32fbed['data']['isOnRoot']?_0x3f3101['view']['change'](_0x16a905=>{_0x16a905['removeClass']('ck-revision-history-root--active',_0x3f3101['view']['document']['getRoot'](_0x32fbed['rootName']));}):_0x3f3101['reconvertMarker']('revision:'+_0x32fbed['id'])),_0x34fd65&&(_0x34fd65['data']['isOnRoot']?_0x3f3101['view']['change'](_0x5d28d5=>{_0x5d28d5['addClass']('ck-revision-history-root--active',_0x3f3101['view']['document']['getRoot'](_0x34fd65['rootName']));}):_0x3f3101['reconvertMarker']('revision:'+_0x34fd65['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x531302,_0x553e53)=>{if(this['activeChange'])return;const _0x45d5c6=this['_findChangeIdFromDomTarget'](_0x553e53['target']),_0x2ef3c0=this['_changeIdToChange']['get'](_0x45d5c6);_0x2ef3c0?(this['_activeViewTarget']={'x':_0x553e53['domEvent']['x'],'y':_0x553e53['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x2ef3c0)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x10e350,_0x18f500)=>{const _0xce61cd=this['_findChangeIdFromDomTarget'](_0x18f500['target']),_0x15c7de=this['_changeIdToChange']['get'](_0xce61cd);_0x15c7de?(this['_activeViewTarget']={'x':_0x18f500['domEvent']['x'],'y':_0x18f500['domEvent']['y']},_0x15c7de===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x15c7de):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x1ccc62){do{const _0x5e8ecc=_0x1ccc62['getAttribute']('data-change-id');if(_0x5e8ecc)return _0x5e8ecc;_0x1ccc62=_0x1ccc62['parent'];}while(_0x1ccc62);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x1cfdd9=>{for(const _0x106c1e of this['editor']['model']['markers'])_0x1cfdd9['removeMarker'](_0x106c1e);});}}function et(_0x4a08c5,_0xad09da){return(_0x1f5e30,_0x16b75e,_0x3b8aed)=>{if(!_0x3b8aed['consumable']['test'](_0x16b75e['markerRange'],_0x1f5e30['name']))return;const _0x25867a=_0x16b75e['markerRange']['getWalker'](),_0x1d482e=_0x16b75e['markerRange']['start'],_0x17e213=_0x4a08c5['model']['schema'];let _0x3bc684=null,_0xda970=null,_0x4d64c1=!0x1,_0x129b7f=!0x1;for(const _0x499921 of _0x25867a){const _0x46c29e=_0x499921['item'];_0x4d64c1=_0x4d64c1||_0x17e213['isContent'](_0x46c29e);const _0x5cd632=_0x3b8aed['mapper']['toViewElement'](_0x46c29e);if(_0x5cd632&&_0x5cd632['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x499921['type']&&(_0x17e213['isBlock'](_0x46c29e)&&!_0x17e213['isLimit'](_0x46c29e)&&(_0x46c29e['nextSibling']||_0x1d482e['isAtEnd']?_0x3bc684&&_0x3bc684['parent']==_0x46c29e||(_0x3bc684=_0x46c29e,_0x4aae64(_0x499921['previousPosition']),_0x129b7f=!0x0):_0xda970=_0xda970||_0x499921['previousPosition']));}function _0x4aae64(_0x3606dc){const _0xa9b675=_0x3b8aed['mapper']['toViewPosition'](_0x3606dc),_0x18a3f1=_0x3b8aed['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0xad09da});_0x3b8aed['writer']['insert'](_0xa9b675,_0x18a3f1),_0x3b8aed['mapper']['bindElementToMarker'](_0x18a3f1,_0x16b75e['markerName']);}_0x4d64c1||_0x129b7f||!_0xda970||_0x4aae64(_0xda970);};}class bt extends _0x55c61c{constructor(_0x314455){super(_0x314455);const _0x35adca=_0x314455['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x35adca,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x35adca,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x5abdec=this['editor'],_0x5e3ac5=_0x5abdec['plugins']['get'](d),_0x4a4992=_0x5e3ac5['isReady']?_0x5e3ac5['diff']['newRevisionId']:null;_0x5abdec['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x4a4992);}['refresh'](){const {isReady:_0x17e15a,isEnabled:_0x4a7e8e}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x17e15a&&_0x4a7e8e;}}class yt extends _0x55c61c{['_step'];constructor(_0x496d2f,{direction:_0x11a30c}){super(_0x496d2f);const _0x3be77e=_0x496d2f['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x11a30c?0x1:-0x1,this['listenTo'](_0x3be77e,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x3be77e,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x3be77e,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x4c8dcb=this['editor'],_0x401073=_0x4c8dcb['plugins']['get'](d),{isNavigationMode:_0x21143b,currentChangeNumber:_0x354a02}=_0x401073;let _0x364c04;if(_0x401073['activeChange']=_0x21143b?_0x401073['diff']['changes']['get'](_0x354a02+this['_step']):_0x401073['diff']['changes']['first'],_0x401073['activeChange']['data']['isOnRoot'])_0x364c04=_0x4c8dcb['editing']['view']['getDomRoot'](_0x401073['activeChange']['rootName']);else{const _0xd1b6df=_0x4c8dcb['model']['markers']['get']('revision:'+_0x401073['activeChange']['id']);_0x364c04=_0x43cc40(_0x4c8dcb['editing'],_0xd1b6df);}_0x1c98ac({'target':_0x364c04,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x4314b9,currentChangeNumber:_0x40d4b2,numberOfChanges:_0x22f818,isReady:_0x13097f,isEnabled:_0x1d0062}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x1d0062&&_0x13097f&&_0x22f818)&&(!_0x4314b9||(0x1===this['_step']?_0x40d4b2<_0x22f818-0x1:_0x40d4b2>0x0));}}class _i extends _0x589ebd{constructor(_0x21cda){super(_0x21cda);const _0x1a7f40=this['bindTemplate'],_0x385ddc=new _0x1c1921(_0x21cda),_0x1ed5b7=new _0x1c1921(_0x21cda);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',(_0x337a6b,_0x131b7a)=>_0x337a6b&&_0x131b7a>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x43d7bb,_0x390291,_0x465dbd,_0x3441d3)=>{if(!_0x43d7bb)return y(_0x21cda,'Loading...');if(!_0x465dbd)return y(_0x21cda,'No\x20changes');const _0x4d912e=y(_0x21cda,'NUMBER_OF_CHANGES',_0x465dbd);return _0x3441d3?y(_0x21cda,'X_OF_Y_CHANGES',[_0x390291+0x1,_0x465dbd]):_0x4d912e;}),_0x385ddc['set']({'label':y(_0x21cda,'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'}),_0x1ed5b7['set']({'label':y(_0x21cda,'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'}),_0x385ddc['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x1ed5b7['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x385ddc['on']('execute',()=>this['fire']('execute','backward')),_0x1ed5b7['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',_0x1a7f40['if']('_isStatusLabelVisible','ck-hidden',_0xe72c49=>!_0xe72c49)]},'children':[{'text':_0x1a7f40['to']('isNavigationMode',_0x5b3b83=>_0x5b3b83?y(_0x21cda,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x21cda,'Total')+':\x20')}]},{'text':_0x1a7f40['to']('_statusText')}]},new _0x250cdc(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x385ddc,_0x1ed5b7]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0xfa4437{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0xae53c1=this['editor']['editing']['view'];_0xae53c1['change'](_0x517782=>{for(const _0x5a628b of _0xae53c1['document']['roots'])_0x517782['addClass'](ce,_0x5a628b);});}['hide'](){const _0x551f60=this['editor']['editing']['view'];_0x551f60['change'](_0x49afd3=>{for(const _0x4762cc of _0x551f60['document']['roots'])_0x49afd3['removeClass'](ce,_0x4762cc);});}}class R extends _0xfa4437{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x4ee2ff=this['editor'],_0x1eb811=_0x4ee2ff['plugins']['get'](d),_0x4311a1=_0x4ee2ff['plugins']['get'](de);_0x4ee2ff['ui']['componentFactory']['add']('exitToEditing',_0x46b393=>{const _0x2783fc=new _0x1c1921(_0x46b393);return _0x2783fc['set']({'label':y(_0x46b393,'Back\x20to\x20editing'),'icon':_0x11c8c0['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x2783fc,'execute',()=>{_0x4ee2ff['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x2783fc;}),_0x4ee2ff['ui']['componentFactory']['add']('restoreRevision',_0x30e097=>{const _0x5813e7=new _0x1c1921(_0x30e097);return _0x5813e7['set']({'label':y(_0x30e097,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x5813e7['bind']('isEnabled')['to'](_0x4ee2ff['commands']['get']('restoreRevision')),this['listenTo'](_0x5813e7,'execute',()=>_0x4ee2ff['execute']('restoreRevision')),_0x5813e7;}),_0x4ee2ff['ui']['componentFactory']['add']('changesNavigation',_0x43c763=>{const _0x5880cf=new _i(_0x43c763),_0x4f510b=_0x4ee2ff['commands']['get']('showPreviousChange'),_0x4e058c=_0x4ee2ff['commands']['get']('showNextChange');return _0x5880cf['bind']('isBackwardNavigationEnabled')['to'](_0x4f510b,'isEnabled'),_0x5880cf['bind']('isForwardNavigationEnabled')['to'](_0x4e058c,'isEnabled'),_0x5880cf['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x1eb811),this['listenTo'](_0x5880cf,'execute',(_0x2632bb,_0x25326f)=>{_0x4ee2ff['execute']('forward'===_0x25326f?'showNextChange':'showPreviousChange');}),_0x5880cf;}),_0x4311a1['show'](),_0x1eb811['on']('change:isReady',(_0x496784,_0x5799b3,_0x4991fc)=>{_0x4991fc?_0x4311a1['hide']():_0x4311a1['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x5853c8,_0x287bc6){super(_0x5853c8,_0x287bc6);const _0x3453ff=this['bindTemplate'];this['set']({'label':y(_0x5853c8,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x5853c8,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x3453ff['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 _0x2f77ae=this['fieldView']['element'];this['_tooltipString']=_0x2f77ae['scrollWidth']>_0x2f77ae['clientWidth']&&_0x2f77ae['value']||'';}}class ti extends _0x589ebd{constructor(_0x49e21f,_0x11d6cf,_0x24e259){super(_0x49e21f);const _0x55070c=new _0x4425ac();_0x55070c['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 _0x276baa=['ck','ck-revision-history-sidebar__revision-author'];_0x24e259&&_0x276baa['push']('ck-revision-history-sidebar__revision-author_creator');const _0x567ca9=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x49e21f,_0x24e259?'Revision\x20creator':'Revision\x20author')},'children':[_0x55070c,_0x11d6cf['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x276baa},'children':_0x567ca9});}}function ni(_0x3d3281,_0x3d2093){const _0x30f1ee=_0x3d3281['bindTemplate'],_0x11b70c=_0x3d3281['locale'],_0x5ec071=_0x47e0bd(_0x11b70c);_0x5ec071['panelPosition']='sw';const _0x178f9e=function(_0xee5a35,_0x669b89){const _0x4f0552=function(_0x56c58f,_0x59e94c){const _0x5cd221=_0x56c58f['locale'],_0x53a689={'Compare\x20against\x20selected':y(_0x5cd221,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x5cd221,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x5cd221,'Restore\x20this\x20revision')};return _0x59e94c['map'](_0x4d200a=>{const _0x46871d=_0x53a689[_0x4d200a['name']];return _0x46871d&&_0x46871d!==_0x4d200a['name']&&(_0x4d200a['name']=_0x46871d),_0x4d200a;});}(_0xee5a35,_0x669b89),_0x27f409=new _0x2fa1af();for(const _0x3c0f2e of _0x4f0552){const _0x5a989c={'type':'button','model':new to({'label':_0x3c0f2e['name'],'class':_0x3c0f2e['class'],'withText':!0x0,'role':'menuitem','_action':_0x3c0f2e['action']})};_0x5a989c['model']['bind']('isEnabled')['to'](_0xee5a35,'isActionsDropdownOpen',_0x1f0bce=>'function'!=typeof _0x3c0f2e['isEnabled']||(!_0x1f0bce||_0x3c0f2e['isEnabled'](_0xee5a35))),_0x27f409['add'](_0x5a989c);}return _0x27f409;}(_0x3d3281,_0x3d2093);return _0x3d3281['bind']('isActionsDropdownOpen')['to'](_0x5ec071,'isOpen'),_0x5ec071['buttonView']['set']({'label':y(_0x11b70c,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x11c8c0['threeVerticalDots']}),_0x5ec071['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x30f1ee['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x30f1ee['to'](_0x8c3171=>_0x8c3171['stopPropagation']())}}),_0x5ec071['on']('execute',_0x2e6b7d=>{_0x3d3281['isReady']&&'function'==typeof _0x2e6b7d['source']['_action']&&_0x2e6b7d['source']['_action'](_0x3d3281);}),_0x38e45e(_0x5ec071,_0x178f9e,{'role':'menu'}),_0x5ec071['listenTo'](_0x3d3281,'change:isActionsDropdownOpen',(_0x5d248d,_0x553915,_0x24164a)=>{if(_0x24164a)for(const _0x5ec904 of _0x5ec071['listView']['items']){const _0x8b3d5d=_0x5ec904['children']['first'],_0x6936e4=_0x3d2093['find'](_0x3112b3=>_0x3112b3['action']===_0x8b3d5d['_action'])['isVisible'];_0x5ec904['isVisible']=void 0x0===_0x6936e4||_0x6936e4(_0x3d3281);}}),_0x5ec071;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x334d6a(_0x589ebd){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x51df43,_0x22b9f7,_0x1ccac1,_0x464563){super(_0x51df43);const _0xda047c=this['bindTemplate'],_0x141143=function(_0x1dfeb9,_0xbb6932){const _0x21ac40=Array['from'](_0xbb6932['authors'])['filter'](_0xfe975e=>_0xfe975e!=_0xbb6932['creator']);return _0xbb6932['creator']&&_0x21ac40['unshift'](_0xbb6932['creator']),_0x21ac40['map'](_0x54388c=>new ti(_0x1dfeb9,_0x54388c,_0x54388c==_0xbb6932['creator']));}(_0x51df43,_0x22b9f7);this['id']=_0x22b9f7['id'],this['_revision']=_0x22b9f7,this['_requireRevisionName']=_0x464563,this['bind']('name','createdAt')['to'](_0x22b9f7),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x274756=>{return _0x33d45e=_0x51df43['uiLanguage'],(_0x41aefb=_0x274756)['toLocaleDateString'](_0x33d45e,{'month':'long','day':'numeric'})+',\x20'+_0x41aefb['toLocaleTimeString'](_0x33d45e,{'hour':'numeric','minute':'numeric'});var _0x33d45e,_0x41aefb;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x51df43,_0x8b630e),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x510c8e=>_0x510c8e||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x3f4cdc,_0x322b86)=>_0x3f4cdc&&_0x322b86),this['revisionActionsView']=_0x1ccac1&&_0x1ccac1['length']?ni(this,_0x1ccac1):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0xda047c['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0xda047c['if']('isEnabled','ck-disabled',_0x1dba28=>!_0x1dba28),_0xda047c['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0xda047c['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0xda047c['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':_0xda047c['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':_0x141143}]},this['revisionActionsView']],'on':{'click':_0xda047c['to'](_0x1149a6=>{_0x1149a6['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x4bae1d=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x4bae1d,'change',()=>{this['_requireRevisionName']&&!_0x4bae1d['value']||this['fire']('setName',{'id':this['id'],'name':_0x4bae1d['value']}),_0x4bae1d['value']||(_0x4bae1d['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(_0x288566,_0x158d74){const _0x3ef93b=_0x33f63c['fromJSDate'](_0x288566)['setLocale'](_0x158d74),_0x10d6b6=_0x33f63c['local'](),_0x369370=_0x10d6b6['minus']({'days':0x1})['startOf']('day');let _0x27d8c2,_0x22d955;return _0x3ef93b['hasSame'](_0x10d6b6,'day')?(_0x27d8c2=_0x3ef93b['startOf']('day')['toJSDate'](),_0x22d955=_0x3ef93b['toRelativeCalendar']()):_0x3ef93b['hasSame'](_0x369370,'day')?(_0x27d8c2=_0x369370['toJSDate'](),_0x22d955=_0x3ef93b['toRelativeCalendar']()):_0x3ef93b['hasSame'](_0x10d6b6,'week')?(_0x27d8c2=_0x3ef93b['startOf']('week')['toJSDate'](),_0x22d955=_0x3ef93b['weekdayLong']||''):_0x3ef93b['hasSame'](_0x10d6b6,'year')?(_0x27d8c2=_0x3ef93b['startOf']('month')['toJSDate'](),_0x22d955=_0x3ef93b['monthLong']||''):(_0x27d8c2=_0x3ef93b['startOf']('year')['toJSDate'](),_0x22d955=String(_0x3ef93b['year'])),{'startDate':_0x27d8c2,'localizedPeriodName':_0x22d955};}class mi extends _0x589ebd{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x3c3bf2,_0x2b8e4c,_0x12eaf5,_0x92faf8){super(_0x3c3bf2);const _0x3967f4=di(_0x2b8e4c,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x2b8e4c,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x12eaf5,this['_requireRevisionName']=_0x92faf8,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':_0x3967f4}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x418556){const _0x27c803=new ai(this['locale'],_0x418556,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x27c803);}['removeRevision'](_0x145197){const _0xa473f0=this['revisionViews']['find'](_0x12d9e7=>_0x12d9e7['id']===_0x145197['id']);this['revisionViews']['remove'](_0xa473f0);}}class as extends _0x589ebd{constructor(_0x4a1327){super(_0x4a1327);const _0xbb87d2=new _0x4425ac();_0xbb87d2['content']=_0x11c8c0['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0xbb87d2,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x4a1327,'Revision\x20history')]}]});}}class ci extends _0x589ebd{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x19fe73,_0x4c7619,_0x2202fe,_0x529bdd){super(_0x19fe73);const _0x467129=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x4c7619,this['_revisionActions']=_0x2202fe,this['_requireRevisionName']=_0x529bdd,this['on']('select',(_0x6d6a5a,_0x2d8265)=>{this['fire']('revisionSelected',_0x2d8265);}),this['on']('setName',(_0x34fff8,_0x49509b)=>{this['fire']('revisionSetName',_0x49509b);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x19fe73),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x467129['if']('isEnabled','ck-disabled',_0x2150cb=>!_0x2150cb)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x362685 of this['_revisions'])this['_addRevision'](_0x362685);this['_revisions']['on']('add',(_0x5f0780,_0x44c834)=>{this['_addRevision'](_0x44c834);}),this['_revisions']['on']('remove',(_0x428325,_0x27e74e)=>{this['_removeRevision'](_0x27e74e);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x3d92af=>_0x3d92af['revisionViews']['map'](_0x43ccc4=>_0x43ccc4))['flat']();}['selectRevision'](_0x2d580d){for(const _0x32650c of this['revisionViews'])_0x2d580d&&_0x2d580d['id']===_0x32650c['id']?_0x32650c['select']():_0x32650c['deselect']();}['highlightRevisions'](_0x44063d){for(const _0x59f1c9 of this['revisionViews'])_0x44063d['some'](({id:_0x5dc5e4})=>_0x5dc5e4===_0x59f1c9['id'])?_0x59f1c9['highlight']():_0x59f1c9['unhighlight']();}['_addRevision'](_0x73507b){const _0x1c5d02=di(_0x73507b['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x5ad2fd=this['timePeriodViews']['get'](0x0);_0x5ad2fd&&_0x5ad2fd['startDate']['getTime']()===_0x1c5d02['getTime']()||(_0x5ad2fd=new mi(this['locale'],_0x1c5d02,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x5ad2fd)),_0x5ad2fd['addRevision'](_0x73507b);}['_removeRevision'](_0x4be943){const _0x1ff208=di(_0x4be943['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x1ff208)['removeRevision'](_0x4be943);}['_getTimePeriodViewByStartDate'](_0x2c5af8){return this['timePeriodViews']['find'](_0x18fbbe=>_0x18fbbe['startDate']['getTime']()===_0x2c5af8['getTime']());}}class w extends _0xfa4437{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
27
27
  ((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
28
- Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x38dcb0){super(_0x38dcb0),this['_revisionViewer']=_0x38dcb0['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x4707a1=this['_revisionsRepository']['_revisions'],_0x4d95d2=this['_createRevisionActions'](),_0x427fbd=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x4707a1,_0x4d95d2,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',(_0x145769,_0x590502)=>{_0x590502['revisionViews']['on']('add',(_0x40cb33,_0xac21b3)=>{_0xac21b3['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)),_0x427fbd['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x18dbb0=this['_revisionsRepository']['getRevision'](0x0);if(_0x18dbb0){const _0x1ee120=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x18dbb0['id']);this['_revisionViewer']['compare'](_0x18dbb0,_0x1ee120);}}['_handleRevisionSelected'](_0x29449f,_0x342681){const _0x211294=this['_revisionsRepository']['getRevision'](_0x342681['id']),_0x50c817=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x211294['id']);this['_revisionViewer']['compare'](_0x211294,_0x50c817);}['_handleRevisionSetName'](_0xce2ca,_0x5e481f){this['_revisionsRepository']['getRevision'](_0x5e481f['id'])['setName'](_0x5e481f['name']);}['_handleDiffChange'](_0x2d2992,_0x2078da,_0x1e14e7){const _0x3263ef=this['_revisionsRepository']['getRevisionsInDiff'](_0x1e14e7);_0x3263ef['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x3263ef),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x3263ef[0x0]));}['_createRevisionActions'](){const _0x25179a=this['editor'],_0x2397e2=w['availableRevisionActions'],_0x203369=_0x25179a['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x203369['length'])return _0x203369['map'](_0x5f3dc1=>{const _0x3f52c4='string'==typeof _0x5f3dc1?Object['assign']({},_0x2397e2[_0x5f3dc1]):_0x5f3dc1;return _0x3f52c4['action']=_0x3f52c4['action']['bind'](this,_0x25179a),_0x3f52c4['isVisible']&&(_0x3f52c4['isVisible']=_0x3f52c4['isVisible']['bind'](this,_0x25179a)),_0x3f52c4;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x3c65f6},_0x4393c4)=>{const _0xc7b044=_0x3c65f6['get'](d),_0x444222=_0xc7b044['repository'];let _0x32c6b6=_0xc7b044['diff']['newRevisionId'],_0x269860=_0x4393c4['id'];_0x444222['getIndex'](_0x32c6b6)>_0x444222['getIndex'](_0x269860)&&([_0x32c6b6,_0x269860]=[_0x269860,_0x32c6b6]),_0xc7b044['compare'](_0x32c6b6,_0x269860);},'isVisible':({plugins:_0xa3cc97},_0x102462)=>{const _0x3cfbd2=_0xa3cc97['get'](d);return!(_0x3cfbd2['repository']['getRevisionsInDiff'](_0x3cfbd2['diff'])['length']>0x2)&&!_0x102462['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x5b05de,{id:_0x56cb39})=>{_0x5b05de['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x56cb39);},'isVisible':({plugins:_0x179d4a},_0x49fc27)=>!!_0x179d4a['get'](d)['repository']['getLaterVisibleRevision'](_0x49fc27['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x36c2d2},{id:_0x6e820e,revisionNameView:_0x50e2cc})=>{const _0xb940c=_0x36c2d2['get'](d),_0x2151c2=_0xb940c['repository']['getEarlierVisibleRevision'](_0x6e820e);_0xb940c['compare'](_0x6e820e,_0x2151c2),_0x50e2cc['focus'](),_0x50e2cc['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x3b26f9,_0x504915){super(_0x3b26f9),this['_view']=_0x504915,this['_toolbarConfig']=ct(_0x3b26f9['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x32adba){const _0x9cc663=this['editor'],_0x1af532=this['view'],_0xea514a=_0x9cc663['editing']['view'],_0x4fa2e7=_0x1af532['editable'],_0x320ce4=_0xea514a['document']['getRoot']();_0x4fa2e7['name']=_0x320ce4['rootName'],_0x1af532['render']();const _0x136017=_0x4fa2e7['element'];this['setEditableElement'](_0x4fa2e7['name'],_0x136017),_0x1af532['editable']['bind']('isFocused')['to'](this['focusTracker']),_0xea514a['attachDomRoot'](_0x136017),this['_elementReplacer']['replace'](_0x32adba,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x1b2598=this['view'],_0x201429=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x201429['detachDomRoot'](_0x1b2598['editable']['name']),_0x1b2598['destroy']();}['_initToolbar'](){const _0x391793=this['view'];_0x391793['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x391793['stickyPanel']['limiterElement']=_0x391793['element'],_0x391793['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x3bcd3f})=>_0x3bcd3f),_0x391793['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x391793['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x540a30,_0x52c3e6,_0x1c6de1={}){super(_0x540a30),this['stickyPanel']=new lt(_0x540a30),this['toolbar']=new pt(_0x540a30,{'shouldGroupWhenFull':_0x1c6de1['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x540a30,_0x52c3e6);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends/* #__PURE__ -- @preserve */
29
- rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x2e188f,_0x6fcb4c){super(_0x6fcb4c),this['sourceElement']=_0x2e188f,this['model']['document']['createRoot']();const _0x4188e2=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x4188e2);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x5652b0,_0x162a67){const _0x58ab6c=new this(_0x5652b0,_0x162a67);return await _0x58ab6c['initPlugins'](),await _0x58ab6c['ui']['init'](_0x5652b0),await _0x58ab6c['data']['init'](_0x58ab6c['config']['get']('initialData')||''),_0x58ab6c['fire']('ready'),_0x58ab6c;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x4d5a42{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x3e6114){super(_0x3e6114),this['result']='end';}}class H extends _0x4d5a42{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x25ec65){if(super(_0x25ec65),!this['editor']['config']['get']('revisionHistory'))throw new _0x557b16('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x1b7319=>this['_showRevisionViewer']({..._0x1b7319,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x74c024=>this['_closeRevisionViewer'](_0x74c024)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x313515=>this['_restoreRevision'](_0x313515)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x25eba5){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x25eba5;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0xaa3fe9){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0xaa3fe9);}['getRevision'](_0x493f1c){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x493f1c);}['getRevisions'](_0xb368dd){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0xb368dd||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0xc526ee=this['editor'],_0x378151=_0x8c5bbd(_0xc526ee,p),_0x4d244f=_0xc526ee['plugins']['get']('RevisionTracker'),_0x3a9f42=_0xc526ee['plugins']['get']('Users')['users'];return _0x378151['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x378151['lazyRoots'],(_0x378151['plugins']['push'](k,d,R,class extends _0x4d5a42{static get['requires'](){return[d,'Users'];}['init'](){const _0x195d85=this['editor']['plugins']['get']('Users');for(const _0x31bb6e of _0x3a9f42)_0x31bb6e['isAnonymous']||_0x195d85['getUser'](_0x31bb6e['id'])||_0x195d85['addUser'](_0x31bb6e);const _0x18b773=_0x4d244f['repository']['getRevisions']();let _0x378d1=null;const _0xf380de=this['editor']['plugins']['get']('RevisionViewer');_0xf380de['adapter']=_0x4d244f['adapter'],_0xf380de['bind']('isEnabled')['to'](_0x4d244f),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0xc526ee,'isReadOnly',_0x3d1a49=>!_0x3d1a49);for(const _0x503e7d of _0x18b773){const _0xb80420=null===_0x503e7d['creator'];if(_0xb80420&&_0x503e7d['toVersion']===_0x503e7d['fromVersion'])continue;const _0x47561c=_0x503e7d['toJSON']();_0xf380de['addRevisionData'](_0x47561c,(_0x3d68a0,_0x39bf0a,_0x503a74)=>{if(_0xb80420){if(_0x378d1)_0x378d1['_update'](_0x3d68a0,_0x39bf0a);else{if(!_0x39bf0a){const _0x133e9e=_0x503a74['toJSON']();_0x133e9e['id']=_0x12278d(),_0x4d244f['saveRevision'](_0x133e9e,_0x503a74['toVersion'])['then'](_0x290ff6=>{_0x378d1=_0x290ff6;});}}}else _0x503e7d['_update'](_0x3d68a0,_0x39bf0a);});}}},w),_0x378151);}['_enhanceShowRevisionViewerCallback'](){const _0x31607f=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x29075b=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x6d682b=this['editor']['plugins']['get']('Autosave');await _0x6d682b['save']();}else await _0x29075b['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x42666=this['editor']['plugins']['get']('Dialog');_0x42666['isOpen']&&_0x42666['hide']();}const _0x2fb06e=this['_getRevisionViewerEditorConfig']();return _0x31607f(_0x2fb06e)['then'](_0x152f27=>{return(this['_viewerEditor']=_0x152f27,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x152f27;})['catch'](_0x35f68b=>(console['error'](_0x35f68b),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x36ed09=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'](),_0x36ed09(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x3a52d4=this['editor']['plugins']['get']('Annotations');_0x3a52d4['refreshVisibility'](),_0x3a52d4['refreshPositioning']();}})));}['_showRevisionViewer'](_0x4513dd){const _0x15818d=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x3077ea=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x115a66=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x115a66,_0x4513dd)['then'](_0x2dbbda=>(_0x3077ea['style']['display']='block',_0x15818d['style']['display']='none',_0x2dbbda));}['_closeRevisionViewer'](_0x2cbead){const _0x14d199=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x14d199['style']['display']='',_0x2cbead['destroy']();}async['_restoreRevision'](_0xc6458){const _0x502598=this['editor'],_0x560809=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x1a3bb5=_0x502598['plugins']['get']('RevisionTracker'),_0x4d6e13=_0x560809['repository']['getRevision'](_0xc6458);let _0x5e9f1c,_0x46142b,_0x47e6a3;try{_0x5e9f1c=await _0x560809['getRevisionData'](_0x4d6e13),_0x46142b=await _0x560809['getRevisionRootsAttributes'](_0x4d6e13);}catch(_0x3bbdcb){return void console['error'](_0x3bbdcb);}_0x502598['model']['change'](_0x5ae033=>{for(const _0x1aa23f of Array['from'](_0x502598['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x5ae033['removeMarker'](_0x1aa23f);}),_0x560809['isReady']=!0x1,_0x502598['model']['enqueueChange'](_0x125ce7=>{_0x125ce7['setSelection'](null),_0x125ce7['removeSelectionAttribute'](_0x502598['model']['document']['selection']['getAttributeKeys']());const _0x545711=Object['keys'](_0x5e9f1c);for(const _0x17e8bb of _0x502598['model']['document']['roots'])'$graveyard'!=_0x17e8bb['rootName']&&_0x17e8bb['isAttached']()&&!_0x545711['includes'](_0x17e8bb['rootName'])&&_0x125ce7['detachRoot'](_0x17e8bb);for(const _0x48cbd4 of _0x545711){let _0x37f964=_0x502598['model']['document']['getRoot'](_0x48cbd4);_0x37f964&&_0x37f964['isAttached']()||(_0x37f964=_0x125ce7['addRoot'](_0x48cbd4));const _0x5da0db=_0x46142b[_0x48cbd4],_0x39752d=Object['keys'](_0x5da0db),_0x406d73=_0x5e9f1c[_0x48cbd4];for(const _0x225e20 of _0x37f964['getAttributeKeys']())_0x39752d['includes'](_0x225e20)||_0x125ce7['removeAttribute'](_0x225e20,_0x37f964);for(const _0x1bdac2 of _0x39752d)_0x125ce7['setAttribute'](_0x1bdac2,_0x46142b[_0x48cbd4][_0x1bdac2],_0x37f964);_0x125ce7['remove'](_0x125ce7['createRangeIn'](_0x37f964)),_0x125ce7['insert'](_0x502598['data']['parse'](_0x406d73,_0x37f964),_0x37f964,0x0);}});const _0x149e28=y(_0x502598['locale'],'Restored');if(_0x4d6e13['name'])_0x47e6a3=-0x1==_0x4d6e13['name']['indexOf'](_0x149e28)?_0x149e28+':\x20'+_0x4d6e13['name']:_0x4d6e13['name'];else _0x47e6a3=_0x149e28+':\x20'+(_0x4d6e13['createdAt']['toLocaleDateString'](_0x502598['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x4d6e13['createdAt']['toLocaleTimeString'](_0x502598['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x1a3bb5['saveRevision']({'name':_0x47e6a3}),_0x560809['isReady']=!0x0,_0x502598['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
28
+ Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x170ad0){super(_0x170ad0),this['_revisionViewer']=_0x170ad0['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x3fb5f7=this['_revisionsRepository']['_revisions'],_0x3955ab=this['_createRevisionActions'](),_0x1d3c92=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x3fb5f7,_0x3955ab,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',(_0x30f23c,_0x501458)=>{_0x501458['revisionViews']['on']('add',(_0x22743b,_0x249d6f)=>{_0x249d6f['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)),_0x1d3c92['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x4f43d8=this['_revisionsRepository']['getRevision'](0x0);if(_0x4f43d8){const _0x432d67=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4f43d8['id']);this['_revisionViewer']['compare'](_0x4f43d8,_0x432d67);}}['_handleRevisionSelected'](_0x1545fc,_0x431bb0){const _0x2202a1=this['_revisionsRepository']['getRevision'](_0x431bb0['id']),_0x2da017=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x2202a1['id']);this['_revisionViewer']['compare'](_0x2202a1,_0x2da017);}['_handleRevisionSetName'](_0x3b063b,_0x4435fc){this['_revisionsRepository']['getRevision'](_0x4435fc['id'])['setName'](_0x4435fc['name']);}['_handleDiffChange'](_0x13fed9,_0xb58d3a,_0x1297ba){const _0x2d5b6f=this['_revisionsRepository']['getRevisionsInDiff'](_0x1297ba);_0x2d5b6f['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x2d5b6f),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x2d5b6f[0x0]));}['_createRevisionActions'](){const _0x5a5804=this['editor'],_0x39bf81=w['availableRevisionActions'],_0x3304f9=_0x5a5804['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x3304f9['length'])return _0x3304f9['map'](_0x990c51=>{const _0x49ee54='string'==typeof _0x990c51?Object['assign']({},_0x39bf81[_0x990c51]):_0x990c51;return _0x49ee54['action']=_0x49ee54['action']['bind'](this,_0x5a5804),_0x49ee54['isVisible']&&(_0x49ee54['isVisible']=_0x49ee54['isVisible']['bind'](this,_0x5a5804)),_0x49ee54;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x2be927},_0xf3604)=>{const _0x571bac=_0x2be927['get'](d),_0x39a5d7=_0x571bac['repository'];let _0x1638a2=_0x571bac['diff']['newRevisionId'],_0x2cc3d2=_0xf3604['id'];_0x39a5d7['getIndex'](_0x1638a2)>_0x39a5d7['getIndex'](_0x2cc3d2)&&([_0x1638a2,_0x2cc3d2]=[_0x2cc3d2,_0x1638a2]),_0x571bac['compare'](_0x1638a2,_0x2cc3d2);},'isVisible':({plugins:_0x368d08},_0x33e065)=>{const _0x3ec688=_0x368d08['get'](d);return!(_0x3ec688['repository']['getRevisionsInDiff'](_0x3ec688['diff'])['length']>0x2)&&!_0x33e065['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x47c0ae,{id:_0x24f97e})=>{_0x47c0ae['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x24f97e);},'isVisible':({plugins:_0xbbf7bb},_0x56236e)=>!!_0xbbf7bb['get'](d)['repository']['getLaterVisibleRevision'](_0x56236e['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x3073f2},{id:_0x1bc31c,revisionNameView:_0x1f79ae})=>{const _0x579923=_0x3073f2['get'](d),_0x3ff401=_0x579923['repository']['getEarlierVisibleRevision'](_0x1bc31c);_0x579923['compare'](_0x1bc31c,_0x3ff401),_0x1f79ae['focus'](),_0x1f79ae['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x19fc01,_0x4b0f67){super(_0x19fc01),this['_view']=_0x4b0f67,this['_toolbarConfig']=ct(_0x19fc01['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x5b046e){const _0x1e9502=this['editor'],_0x40f1ff=this['view'],_0x27f1ad=_0x1e9502['editing']['view'],_0x592944=_0x40f1ff['editable'],_0x502c2f=_0x27f1ad['document']['getRoot']();_0x592944['name']=_0x502c2f['rootName'],_0x40f1ff['render']();const _0x33cdc2=_0x592944['element'];this['setEditableElement'](_0x592944['name'],_0x33cdc2),_0x40f1ff['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x27f1ad['attachDomRoot'](_0x33cdc2),this['_elementReplacer']['replace'](_0x5b046e,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x4adc52=this['view'],_0x25fde1=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x25fde1['detachDomRoot'](_0x4adc52['editable']['name']),_0x4adc52['destroy']();}['_initToolbar'](){const _0x3c7551=this['view'];_0x3c7551['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x3c7551['stickyPanel']['limiterElement']=_0x3c7551['element'],_0x3c7551['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x5635d3})=>_0x5635d3),_0x3c7551['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x3c7551['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x848281,_0x1cdf1c,_0x25b811={}){super(_0x848281),this['stickyPanel']=new lt(_0x848281),this['toolbar']=new pt(_0x848281,{'shouldGroupWhenFull':_0x25b811['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x848281,_0x1cdf1c);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends/* #__PURE__ -- @preserve */
29
+ rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x207852,_0xfe81a6){super(_0xfe81a6),this['sourceElement']=_0x207852,this['model']['document']['createRoot']();const _0x300aba=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x300aba);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x3c66b7,_0x4ef0e5){const _0x23b2ff=new this(_0x3c66b7,_0x4ef0e5);return await _0x23b2ff['initPlugins'](),await _0x23b2ff['ui']['init'](_0x3c66b7),await _0x23b2ff['data']['init'](_0x23b2ff['config']['get']('initialData')||''),_0x23b2ff['fire']('ready'),_0x23b2ff;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0xfa4437{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x18917d){super(_0x18917d),this['result']='end';}}class H extends _0xfa4437{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x1a1f9f){if(super(_0x1a1f9f),!this['editor']['config']['get']('revisionHistory'))throw new _0x49b839('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x5b7211=>this['_showRevisionViewer']({..._0x5b7211,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x5bf2a8=>this['_closeRevisionViewer'](_0x5bf2a8)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x15e11e=>this['_restoreRevision'](_0x15e11e)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x52a210){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x52a210;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x559027){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x559027);}['getRevision'](_0x45c31d){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x45c31d);}['getRevisions'](_0x186a46){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x186a46||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x177a52=this['editor'],_0x113056=_0x4ceac5(_0x177a52,p),_0x41e1b0=_0x177a52['plugins']['get']('RevisionTracker'),_0x28ca9c=_0x177a52['plugins']['get']('Users')['users'];return _0x113056['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x113056['lazyRoots'],(_0x113056['plugins']['push'](k,d,R,class extends _0xfa4437{static get['requires'](){return[d,'Users'];}['init'](){const _0x54ab59=this['editor']['plugins']['get']('Users');for(const _0x26710f of _0x28ca9c)_0x26710f['isAnonymous']||_0x54ab59['getUser'](_0x26710f['id'])||_0x54ab59['addUser'](_0x26710f);const _0x4783f3=_0x41e1b0['repository']['getRevisions']();let _0x564439=null;const _0x581306=this['editor']['plugins']['get']('RevisionViewer');_0x581306['adapter']=_0x41e1b0['adapter'],_0x581306['bind']('isEnabled')['to'](_0x41e1b0),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x177a52,'isReadOnly',_0x126674=>!_0x126674);for(const _0x3c2ab0 of _0x4783f3){const _0x2acc58=null===_0x3c2ab0['creator'];if(_0x2acc58&&_0x3c2ab0['toVersion']===_0x3c2ab0['fromVersion'])continue;const _0x56c39f=_0x3c2ab0['toJSON']();_0x581306['addRevisionData'](_0x56c39f,(_0x3d6f37,_0x2b413c,_0x139c4f)=>{if(_0x2acc58){if(_0x564439)_0x564439['_update'](_0x3d6f37,_0x2b413c);else{if(!_0x2b413c){const _0x2a41dd=_0x139c4f['toJSON']();_0x2a41dd['id']=_0x4d587a(),_0x41e1b0['saveRevision'](_0x2a41dd,_0x139c4f['toVersion'])['then'](_0x5513a9=>{_0x564439=_0x5513a9;});}}}else _0x3c2ab0['_update'](_0x3d6f37,_0x2b413c);});}}},w),_0x113056);}['_enhanceShowRevisionViewerCallback'](){const _0x9deb6b=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x50454b=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x37b12c=this['editor']['plugins']['get']('Autosave');await _0x37b12c['save']();}else await _0x50454b['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x3d101f=this['editor']['plugins']['get']('Dialog');_0x3d101f['isOpen']&&_0x3d101f['hide']();}const _0x52f7bd=this['_getRevisionViewerEditorConfig']();return _0x9deb6b(_0x52f7bd)['then'](_0x32cdb2=>{return(this['_viewerEditor']=_0x32cdb2,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x32cdb2;})['catch'](_0x3c9017=>(console['error'](_0x3c9017),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x4361a5=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'](),_0x4361a5(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x3968ae=this['editor']['plugins']['get']('Annotations');_0x3968ae['refreshVisibility'](),_0x3968ae['refreshPositioning']();}})));}['_showRevisionViewer'](_0x163b9c){const _0x55325c=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x352cc6=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0xb1fdb7=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0xb1fdb7,_0x163b9c)['then'](_0x172163=>(_0x352cc6['style']['display']='block',_0x55325c['style']['display']='none',_0x172163));}['_closeRevisionViewer'](_0x23256b){const _0x151894=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x151894['style']['display']='',_0x23256b['destroy']();}async['_restoreRevision'](_0x32aa0b){const _0x4f0cda=this['editor'],_0x3759b4=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0xfcbc68=_0x4f0cda['plugins']['get']('RevisionTracker'),_0x10b040=_0x3759b4['repository']['getRevision'](_0x32aa0b);let _0x161f1a,_0x205a08,_0x1d54c8;try{_0x161f1a=await _0x3759b4['getRevisionData'](_0x10b040),_0x205a08=await _0x3759b4['getRevisionRootsAttributes'](_0x10b040);}catch(_0xc1f0b){return void console['error'](_0xc1f0b);}_0x4f0cda['model']['change'](_0x4e2c50=>{for(const _0x18b813 of Array['from'](_0x4f0cda['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x4e2c50['removeMarker'](_0x18b813);}),_0x3759b4['isReady']=!0x1,_0x4f0cda['model']['enqueueChange'](_0x37ee4c=>{_0x37ee4c['setSelection'](null),_0x37ee4c['removeSelectionAttribute'](_0x4f0cda['model']['document']['selection']['getAttributeKeys']());const _0x4d1fea=Object['keys'](_0x161f1a);for(const _0x15f284 of _0x4f0cda['model']['document']['roots'])'$graveyard'!=_0x15f284['rootName']&&_0x15f284['isAttached']()&&!_0x4d1fea['includes'](_0x15f284['rootName'])&&_0x37ee4c['detachRoot'](_0x15f284);for(const _0x53555a of _0x4d1fea){let _0xca2246=_0x4f0cda['model']['document']['getRoot'](_0x53555a);_0xca2246&&_0xca2246['isAttached']()||(_0xca2246=_0x37ee4c['addRoot'](_0x53555a));const _0x55ef06=_0x205a08[_0x53555a],_0x27e399=Object['keys'](_0x55ef06),_0x50dc29=_0x161f1a[_0x53555a];for(const _0x53b987 of _0xca2246['getAttributeKeys']())_0x27e399['includes'](_0x53b987)||_0x37ee4c['removeAttribute'](_0x53b987,_0xca2246);for(const _0x41422f of _0x27e399)_0x37ee4c['setAttribute'](_0x41422f,_0x205a08[_0x53555a][_0x41422f],_0xca2246);_0x37ee4c['remove'](_0x37ee4c['createRangeIn'](_0xca2246)),_0x37ee4c['insert'](_0x4f0cda['data']['parse'](_0x50dc29,_0xca2246),_0xca2246,0x0);}});const _0x7dcfa7=y(_0x4f0cda['locale'],'Restored');if(_0x10b040['name'])_0x1d54c8=-0x1==_0x10b040['name']['indexOf'](_0x7dcfa7)?_0x7dcfa7+':\x20'+_0x10b040['name']:_0x10b040['name'];else _0x1d54c8=_0x7dcfa7+':\x20'+(_0x10b040['createdAt']['toLocaleDateString'](_0x4f0cda['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x10b040['createdAt']['toLocaleTimeString'](_0x4f0cda['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0xfcbc68['saveRevision']({'name':_0x1d54c8}),_0x3759b4['isReady']=!0x0,_0x4f0cda['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};