@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240605.1 → 0.0.0-nightly-20240607.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/az.js +1 -1
  8. package/dist/translations/az.umd.js +1 -1
  9. package/dist/translations/bg.js +1 -1
  10. package/dist/translations/bg.umd.js +1 -1
  11. package/dist/translations/bn.js +1 -1
  12. package/dist/translations/bn.umd.js +1 -1
  13. package/dist/translations/bs.js +1 -1
  14. package/dist/translations/bs.umd.js +1 -1
  15. package/dist/translations/ca.js +1 -1
  16. package/dist/translations/ca.umd.js +1 -1
  17. package/dist/translations/cs.js +1 -1
  18. package/dist/translations/cs.umd.js +1 -1
  19. package/dist/translations/da.js +1 -1
  20. package/dist/translations/da.umd.js +1 -1
  21. package/dist/translations/de-ch.js +1 -1
  22. package/dist/translations/de-ch.umd.js +1 -1
  23. package/dist/translations/de.js +1 -1
  24. package/dist/translations/de.umd.js +1 -1
  25. package/dist/translations/el.js +1 -1
  26. package/dist/translations/el.umd.js +1 -1
  27. package/dist/translations/en-au.js +1 -1
  28. package/dist/translations/en-au.umd.js +1 -1
  29. package/dist/translations/en-gb.js +1 -1
  30. package/dist/translations/en-gb.umd.js +1 -1
  31. package/dist/translations/en.umd.js +1 -1
  32. package/dist/translations/es-co.js +1 -1
  33. package/dist/translations/es-co.umd.js +1 -1
  34. package/dist/translations/es.js +1 -1
  35. package/dist/translations/es.umd.js +1 -1
  36. package/dist/translations/et.js +1 -1
  37. package/dist/translations/et.umd.js +1 -1
  38. package/dist/translations/fa.js +1 -1
  39. package/dist/translations/fa.umd.js +1 -1
  40. package/dist/translations/fi.js +1 -1
  41. package/dist/translations/fi.umd.js +1 -1
  42. package/dist/translations/fr.js +1 -1
  43. package/dist/translations/fr.umd.js +1 -1
  44. package/dist/translations/gl.js +1 -1
  45. package/dist/translations/gl.umd.js +1 -1
  46. package/dist/translations/he.js +1 -1
  47. package/dist/translations/he.umd.js +1 -1
  48. package/dist/translations/hi.js +1 -1
  49. package/dist/translations/hi.umd.js +1 -1
  50. package/dist/translations/hr.js +1 -1
  51. package/dist/translations/hr.umd.js +1 -1
  52. package/dist/translations/hu.js +1 -1
  53. package/dist/translations/hu.umd.js +1 -1
  54. package/dist/translations/id.js +1 -1
  55. package/dist/translations/id.umd.js +1 -1
  56. package/dist/translations/it.js +1 -1
  57. package/dist/translations/it.umd.js +1 -1
  58. package/dist/translations/ja.js +1 -1
  59. package/dist/translations/ja.umd.js +1 -1
  60. package/dist/translations/jv.js +1 -1
  61. package/dist/translations/jv.umd.js +1 -1
  62. package/dist/translations/ko.js +1 -1
  63. package/dist/translations/ko.umd.js +1 -1
  64. package/dist/translations/ku.js +1 -1
  65. package/dist/translations/ku.umd.js +1 -1
  66. package/dist/translations/lt.js +1 -1
  67. package/dist/translations/lt.umd.js +1 -1
  68. package/dist/translations/lv.js +1 -1
  69. package/dist/translations/lv.umd.js +1 -1
  70. package/dist/translations/ms.js +1 -1
  71. package/dist/translations/ms.umd.js +1 -1
  72. package/dist/translations/ne.js +1 -1
  73. package/dist/translations/ne.umd.js +1 -1
  74. package/dist/translations/nl.js +1 -1
  75. package/dist/translations/nl.umd.js +1 -1
  76. package/dist/translations/no.js +1 -1
  77. package/dist/translations/no.umd.js +1 -1
  78. package/dist/translations/pl.js +1 -1
  79. package/dist/translations/pl.umd.js +1 -1
  80. package/dist/translations/pt-br.js +1 -1
  81. package/dist/translations/pt-br.umd.js +1 -1
  82. package/dist/translations/pt.js +1 -1
  83. package/dist/translations/pt.umd.js +1 -1
  84. package/dist/translations/ro.js +1 -1
  85. package/dist/translations/ro.umd.js +1 -1
  86. package/dist/translations/ru.js +1 -1
  87. package/dist/translations/ru.umd.js +1 -1
  88. package/dist/translations/sk.js +1 -1
  89. package/dist/translations/sk.umd.js +1 -1
  90. package/dist/translations/sr-latn.js +1 -1
  91. package/dist/translations/sr-latn.umd.js +1 -1
  92. package/dist/translations/sr.js +1 -1
  93. package/dist/translations/sr.umd.js +1 -1
  94. package/dist/translations/sv.js +1 -1
  95. package/dist/translations/sv.umd.js +1 -1
  96. package/dist/translations/th.js +1 -1
  97. package/dist/translations/th.umd.js +1 -1
  98. package/dist/translations/ti.js +1 -1
  99. package/dist/translations/ti.umd.js +1 -1
  100. package/dist/translations/tk.js +1 -1
  101. package/dist/translations/tk.umd.js +1 -1
  102. package/dist/translations/tr.js +1 -1
  103. package/dist/translations/tr.umd.js +1 -1
  104. package/dist/translations/tt.js +1 -1
  105. package/dist/translations/tt.umd.js +1 -1
  106. package/dist/translations/ug.js +1 -1
  107. package/dist/translations/ug.umd.js +1 -1
  108. package/dist/translations/uk.js +1 -1
  109. package/dist/translations/uk.umd.js +1 -1
  110. package/dist/translations/ur.js +1 -1
  111. package/dist/translations/ur.umd.js +1 -1
  112. package/dist/translations/vi.js +1 -1
  113. package/dist/translations/vi.umd.js +1 -1
  114. package/dist/translations/zh-cn.js +1 -1
  115. package/dist/translations/zh-cn.umd.js +1 -1
  116. package/dist/translations/zh.js +1 -1
  117. package/dist/translations/zh.umd.js +1 -1
  118. package/package.json +5 -5
  119. package/src/changeitem.js +2 -2
  120. package/src/editor/revisionviewereditor.js +2 -2
  121. package/src/editor/revisionviewereditorui.js +1 -1
  122. package/src/editor/revisionviewereditoruiview.js +1 -1
  123. package/src/index.js +1 -1
  124. package/src/revision.js +2 -2
  125. package/src/revisiondiff.js +1 -1
  126. package/src/revisionhistory.js +1 -1
  127. package/src/revisionsrepository.js +1 -1
  128. package/src/revisiontracker.js +1 -1
  129. package/src/revisionviewer.js +1 -1
  130. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  131. package/src/ui/revision/revisionauthorview.js +1 -1
  132. package/src/ui/revision/revisionnameview.js +1 -1
  133. package/src/ui/revision/revisionview.js +2 -2
  134. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  135. package/src/ui/revision/subrevisionview.js +1 -1
  136. package/src/ui/revision/utils.js +1 -1
  137. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  138. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  139. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  140. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  141. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  142. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  143. package/src/ui/revisionssidebar/utils.js +1 -1
  144. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  145. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  146. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  147. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  148. package/src/utils/common-translations.js +1 -1
package/dist/index.js CHANGED
@@ -20,10 +20,10 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2fb962,Context as _0x5ae7c7,PendingActions as _0x1357b7,icons as _0x403ea6,Command as _0x64dfdf,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x5cdee1,uid as _0x387b3f,Collection as _0x2a8c18,logWarning as _0x5be8f5,FocusTracker as _0x1dcd76,KeystrokeHandler as _0x14c947,scrollViewportToShowTarget as _0x55786a,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x24ff99}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x52f1f2,getMarkerDomElement as _0x1eea61,ConfirmMixin as _0xf3c12c,sanitizeEditorConfig as _0x21c2b0}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x5b6b51,ViewText as _0x325dd2,ViewElement as _0x2f8f9d,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x4ceace,ViewAttributeElement as _0x5769f3,ViewEmptyElement as _0xa25d7c,ViewRawElement as _0x6d9957,ViewUIElement as _0x4602e4,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x13bce4,set as _0x521f9b,unset as _0x1e17ee,isEqual as _0x4aa1da}from'lodash-es';import{View as _0x1275b9,injectCssTransitionDisabler as ts,submitHandler as _0x4100f6,LabeledFieldView as at,createLabeledInputText as _0x57da9f,createDropdown as _0x5419ca,ListView as te,ListItemView as _0x3b56f3,ButtonView as _0x59d598,MenuBarMenuView as _0xf5868d,MenuBarMenuListView as _0x135b7d,MenuBarMenuListItemView as _0x491fb8,MenuBarMenuListItemButtonView as _0x4d5adb,ContextualBalloon as _0x461d25,ToolbarSeparatorView as _0x542708,IconView as _0x55f9b6,addListToDropdown as _0x1ec9ae,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 _0x4fc196}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x5cdee1(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x4c59aa){super(),this['id']=_0x4c59aa['id']||_0x387b3f(),this['creator']=_0x4c59aa['creator']||null,this['authors']=_0x4c59aa['authors']||[],this['diffData']=_0x4c59aa['diffData']||null,this['toVersion']=_0x4c59aa['toVersion']||0x0,this['fromVersion']=_0x4c59aa['fromVersion']||0x0,this['set']('name',_0x4c59aa['name']||''),this['set']('createdAt',_0x4c59aa['createdAt']||new Date()),this['set']('attributes',_0x4c59aa['attributes']||{});}['setName'](_0x5ce9ec){this['_update']({'name':_0x5ce9ec});}['setAttribute'](_0x5587af,_0x125c1b){const _0x2642b0=_0x13bce4(this['attributes']);_0x521f9b(_0x2642b0,_0x5587af,_0x125c1b),this['_update']({'attributes':_0x2642b0});}['removeAttribute'](_0x4fd412){const _0x1c35ab=_0x13bce4(this['attributes']);_0x1e17ee(_0x1c35ab,_0x4fd412),this['_update']({'attributes':_0x1c35ab});}['_update'](_0x111810,_0x1df184=!0x1){let _0x2b83aa=!0x1;const _0x183d86={'id':this['id']},_0x235a4b=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x26e8e7 of _0x235a4b){const _0x360b22=_0x111810[_0x26e8e7];void 0x0!==_0x360b22&&_0x360b22!==this[_0x26e8e7]&&(this[_0x26e8e7]=_0x360b22,_0x183d86[_0x26e8e7]=_0x360b22,_0x2b83aa=!0x0);}_0x2b83aa&&(_0x183d86['authors']&&(_0x183d86['authorsIds']=_0x183d86['authors']['map'](_0x131a52=>_0x131a52['id']),delete _0x183d86['authors']),this['fire']('_update',_0x183d86,_0x1df184));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x24bf27=>_0x24bf27['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x2fb962{['_revisions'];static get['requires'](){return[_0x52f1f2];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x2fbc06){super(_0x2fbc06),this['_revisions']=new _0x2a8c18();}['afterInit'](){!function(_0x273d2b){function _0x266484(_0x2f6987,_0x179507,_0x1cab4f){const _0x44e772={};_0x44e772[_0x2b5d60([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x44e772[_0x2b5d60([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],_0x44e772[_0x2b5d60([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],_0x44e772[_0x2b5d60([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],_0x44e772[_0x2b5d60([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],_0x44e772[_0x2b5d60([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],_0x44e772[_0x2b5d60([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],_0x44e772[_0x2b5d60([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],_0x44e772[_0x2b5d60([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],_0x44e772[_0x2b5d60([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],_0x44e772[_0x2b5d60([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 _0x3b8138=new Uint8Array(0x10);for(let _0x2ed9a8=0xf;_0x2ed9a8>=0x0;--_0x2ed9a8)_0x3b8138[_0x2ed9a8]=_0x1cab4f%0x100,_0x1cab4f=parseInt(_0x1cab4f/0x100);let _0x517b74=null,_0x393d1b=0x10;const _0x461b01=new Uint8Array(_0x179507),_0xd5ba23=[],_0x1561aa=[];_0x3f4e83();for(let _0x169900=0x0;_0x169900<_0x2f6987[_0x2b5d60([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x169900++)0x10===_0x393d1b&&(_0x517b74=_0x45f95f(_0x3b8138),_0x393d1b=0x0,_0x4bda08(_0x3b8138)),_0x2f6987[_0x169900]^=_0x517b74[_0x393d1b++];return _0x2f6987;function _0x45e380(_0x165899){const _0x3aaf85=[];for(let _0x2c13c4=0x0;_0x2c13c4<_0x165899[_0x2b5d60([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c13c4+=0x4)_0x3aaf85[_0x2b5d60([0x70,0x75,0x73,0x68])](_0x165899[_0x2c13c4]<<0x18|_0x165899[_0x2c13c4+0x1]<<0x10|_0x165899[_0x2c13c4+0x2]<<0x8|_0x165899[_0x2c13c4+0x3]);return _0x3aaf85;}function _0x4bda08(_0x1024e5){for(let _0x5b0f5b=0xf;_0x5b0f5b>=0x0;_0x5b0f5b--){if(0xff!==_0x1024e5[_0x5b0f5b]){_0x1024e5[_0x5b0f5b]++;break;}_0x1024e5[_0x5b0f5b]=0x0;}}function _0x45f95f(_0x4f54ea){const _0x1d2e75=_0xd5ba23[_0x2b5d60([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x3f377e=[0x0,0x0,0x0,0x0];let t=_0x45e380(_0x4f54ea);for(let _0x3a57a8=0x0;_0x3a57a8<0x4;_0x3a57a8++)t[_0x3a57a8]^=_0xd5ba23[0x0][_0x3a57a8];for(let _0x5cd082=0x1;_0x5cd082<_0x1d2e75;_0x5cd082++){for(let _0x2f57fc=0x0;_0x2f57fc<0x4;_0x2f57fc++)_0x3f377e[_0x2f57fc]=_0x44e772[_0x2b5d60([0x54,0x31])][t[_0x2f57fc]>>0x18&0xff]^_0x44e772[_0x2b5d60([0x54,0x32])][t[(_0x2f57fc+0x1)%0x4]>>0x10&0xff]^_0x44e772[_0x2b5d60([0x54,0x33])][t[(_0x2f57fc+0x2)%0x4]>>0x8&0xff]^_0x44e772[_0x2b5d60([0x54,0x34])][0xff&t[(_0x2f57fc+0x3)%0x4]]^_0xd5ba23[_0x5cd082][_0x2f57fc];t=_0x3f377e[_0x2b5d60([0x73,0x6c,0x69,0x63,0x65])]();}const _0x26a4b7=new Uint8Array(0x10);let _0x23538c;for(let _0x50de44=0x0;_0x50de44<0x4;_0x50de44++)_0x23538c=_0xd5ba23[_0x1d2e75][_0x50de44],_0x26a4b7[0x4*_0x50de44]=0xff&(_0x44e772[_0x2b5d60([0x53])][t[_0x50de44]>>0x18&0xff]^_0x23538c>>0x18),_0x26a4b7[0x4*_0x50de44+0x1]=0xff&(_0x44e772[_0x2b5d60([0x53])][t[(_0x50de44+0x1)%0x4]>>0x10&0xff]^_0x23538c>>0x10),_0x26a4b7[0x4*_0x50de44+0x2]=0xff&(_0x44e772[_0x2b5d60([0x53])][t[(_0x50de44+0x2)%0x4]>>0x8&0xff]^_0x23538c>>0x8),_0x26a4b7[0x4*_0x50de44+0x3]=0xff&(_0x44e772[_0x2b5d60([0x53])][0xff&t[(_0x50de44+0x3)%0x4]]^_0x23538c);return _0x26a4b7;}function _0x3f4e83(){const _0x61a49b=_0x44e772[_0x2b5d60([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x461b01[_0x2b5d60([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x4d1684=0x0;_0x4d1684<=_0x61a49b;_0x4d1684++)_0xd5ba23[_0x2b5d60([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x1561aa[_0x2b5d60([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x589df1=0x4*(_0x61a49b+0x1),_0x2285ea=_0x461b01[_0x2b5d60([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x11a879=_0x45e380(_0x461b01);let _0x3f9cb7;for(let _0x4ce337=0x0;_0x4ce337<_0x2285ea;_0x4ce337++)_0x3f9cb7=_0x4ce337>>0x2,_0xd5ba23[_0x3f9cb7][_0x4ce337%0x4]=_0x11a879[_0x4ce337],_0x1561aa[_0x61a49b-_0x3f9cb7][_0x4ce337%0x4]=_0x11a879[_0x4ce337];let _0x32966f,_0x34a672=0x0,t=_0x2285ea;for(;t<_0x589df1;){_0x32966f=_0x11a879[_0x2285ea-0x1],_0x11a879[0x0]^=_0x44e772[_0x2b5d60([0x53])][_0x32966f>>0x10&0xff]<<0x18^_0x44e772[_0x2b5d60([0x53])][_0x32966f>>0x8&0xff]<<0x10^_0x44e772[_0x2b5d60([0x53])][0xff&_0x32966f]<<0x8^_0x44e772[_0x2b5d60([0x53])][_0x32966f>>0x18&0xff]^_0x44e772[_0x2b5d60([0x72,0x63,0x6f,0x6e])][_0x34a672]<<0x18,_0x34a672+=0x1;for(let _0x19d056=0x1;_0x19d056<_0x2285ea/0x2;_0x19d056++)_0x11a879[_0x19d056]^=_0x11a879[_0x19d056-0x1];_0x32966f=_0x11a879[_0x2285ea/0x2-0x1],_0x11a879[_0x2285ea/0x2]^=_0x44e772[_0x2b5d60([0x53])][0xff&_0x32966f]^_0x44e772[_0x2b5d60([0x53])][_0x32966f>>0x8&0xff]<<0x8^_0x44e772[_0x2b5d60([0x53])][_0x32966f>>0x10&0xff]<<0x10^_0x44e772[_0x2b5d60([0x53])][_0x32966f>>0x18&0xff]<<0x18;for(let _0x338ae8=_0x2285ea/0x2+0x1;_0x338ae8<_0x2285ea;_0x338ae8++)_0x11a879[_0x338ae8]^=_0x11a879[_0x338ae8-0x1];let _0x259d17,_0x370dfb,_0x371825=0x0;for(;_0x371825<_0x2285ea&&t<_0x589df1;)_0x259d17=t>>0x2,_0x370dfb=t%0x4,_0xd5ba23[_0x259d17][_0x370dfb]=_0x11a879[_0x371825],_0x1561aa[_0x61a49b-_0x259d17][_0x370dfb]=_0x11a879[_0x371825++],t++;}for(let _0x26f129=0x1;_0x26f129<_0x61a49b;_0x26f129++)for(let _0x12ee3f=0x0;_0x12ee3f<0x4;_0x12ee3f++)_0x32966f=_0x1561aa[_0x26f129][_0x12ee3f],_0x1561aa[_0x26f129][_0x12ee3f]=_0x44e772[_0x2b5d60([0x55,0x31])][_0x32966f>>0x18&0xff]^_0x44e772[_0x2b5d60([0x55,0x32])][_0x32966f>>0x10&0xff]^_0x44e772[_0x2b5d60([0x55,0x33])][_0x32966f>>0x8&0xff]^_0x44e772[_0x2b5d60([0x55,0x34])][0xff&_0x32966f];}}function _0x2b5d60(_0x931c08){return _0x931c08['map'](_0x1e6ac9=>String['fromCharCode'](_0x1e6ac9))['join']('');}(_0x389079=>{function _0x25f2ca(){const _0x4a1ac8=[{[_0x2b5d60([0x69,0x64])]:0x1,[_0x2b5d60([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x2b5d60([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2b5d60([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b5d60([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2b5d60([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x2b5d60([0x69,0x64])]:0x2,[_0x2b5d60([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x2b5d60([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2b5d60([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b5d60([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]),[_0x2b5d60([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2b5d60([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2b5d60([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2b5d60([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x2b5d60([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2b5d60([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2b5d60([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2b5d60([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2b5d60([0x69,0x64])]:0x3,[_0x2b5d60([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x2b5d60([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2b5d60([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2b5d60([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b5d60([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2b5d60([0x69,0x64])]:0x4,[_0x2b5d60([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x2b5d60([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2b5d60([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b5d60([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]),[_0x2b5d60([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2b5d60([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2b5d60([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2b5d60([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2b5d60([0x69,0x64])]:0x5,[_0x2b5d60([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x2b5d60([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2b5d60([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]),[_0x2b5d60([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b5d60([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2b5d60([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2b5d60([0x66,0x67,0x69])]:[0xc]}},{[_0x2b5d60([0x69,0x64])]:0x6,[_0x2b5d60([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x2b5d60([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2b5d60([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2b5d60([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b5d60([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2b5d60([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2b5d60([0x66,0x67,0x69])]:[0xc]}},{[_0x2b5d60([0x69,0x64])]:0x7,[_0x2b5d60([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x2b5d60([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2b5d60([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2b5d60([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b5d60([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2b5d60([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2b5d60([0x66,0x67,0x69])]:[0xc]}},{[_0x2b5d60([0x69,0x64])]:0x8,[_0x2b5d60([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x2b5d60([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2b5d60([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]),[_0x2b5d60([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b5d60([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2b5d60([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2b5d60([0x66,0x67,0x69])]:[0xc]}},{[_0x2b5d60([0x69,0x64])]:0x9,[_0x2b5d60([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x2b5d60([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2b5d60([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2b5d60([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b5d60([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2b5d60([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2b5d60([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x2b5d60([0x69,0x64])]:0xa,[_0x2b5d60([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([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]),[_0x2b5d60([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([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]),[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2b5d60([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]),[_0x2b5d60([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b5d60([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2b5d60([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2b5d60([0x66,0x67,0x69])]:[0xc]}},{[_0x2b5d60([0x69,0x64])]:0xb,[_0x2b5d60([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x2b5d60([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2b5d60([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2b5d60([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b5d60([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2b5d60([0x69,0x64])]:0xc,[_0x2b5d60([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x2b5d60([0x69,0x64])]:0xd,[_0x2b5d60([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x2b5d60([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2b5d60([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2b5d60([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b5d60([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2b5d60([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2b5d60([0x66,0x67,0x69])]:[0xc]}},{[_0x2b5d60([0x69,0x64])]:0xe,[_0x2b5d60([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x2b5d60([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b5d60([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])},{[_0x2b5d60([0x69,0x64])]:0xf,[_0x2b5d60([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x2b5d60([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2b5d60([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2b5d60([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b5d60([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2b5d60([0x69,0x64])]:0x10,[_0x2b5d60([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x2b5d60([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2b5d60([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2b5d60([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2b5d60([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2b5d60([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2b5d60([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2b5d60([0x66,0x67,0x69])]:[0xc]}}];return _0x489250(_0x4a1ac8),_0x4a1ac8;function _0x801787(_0x7fbd0d){return 0x1<<_0x7fbd0d-0x1;}function _0x489250(_0x2efd3d){_0x2efd3d[_0x2b5d60([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5aaa20=>{_0x5aaa20[_0x2b5d60([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x801787(_0x5aaa20[_0x2b5d60([0x69,0x64])]),_0x24cfc4(_0x5aaa20)&&_0x5aaa20[_0x2b5d60([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x489250(_0x5aaa20[_0x2b5d60([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x24cfc4(_0x552d8c){return _0x2b5d60([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x552d8c;}const _0xe4c7c0=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x1ab4c4=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x4f5e5b(_0x2fee7e){const _0x484db0=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x2f0739(_0x2fee7e,new Uint8Array([..._0xe4c7c0,..._0x484db0,..._0x1ab4c4]));}function _0x2f0739(_0x20b50c,_0x5c0408){const _0x103afd=_0x343796(_0x20b50c),_0x38b799=Array[_0x2b5d60([0x66,0x72,0x6f,0x6d])](_0x5841f2(_0x103afd)),_0x4a3d39=_0x38b799[_0x2b5d60([0x70,0x6f,0x70])](),_0x5cce56=_0x38b799[_0x2b5d60([0x70,0x6f,0x70])]();return _0x5bc275(_0x266484(_0x38b799,_0x5c0408,_0x5cce56+0x100*_0x4a3d39));}function _0x343796(_0x27a8c5){const _0x44aa96=atob(_0x27a8c5),[_0x5583f9,_0x5e232c]=_0x44aa96[_0x2b5d60([0x73,0x70,0x6c,0x69,0x74])](_0x2b5d60([0x2d]));try{if(atob(_0x5e232c))return atob(_0x5583f9);}catch(_0x5c873f){}return _0x44aa96;}function _0x212cf0(_0x246336){try{const _0x1e2e51=_0x4f5e5b(_0x246336),_0x1777f3=JSON[_0x2b5d60([0x70,0x61,0x72,0x73,0x65])](_0x1e2e51),_0x14922e=parseInt(_0x1777f3[_0x2b5d60([0x31])]),_0x124e75=_0x1777f3[_0x2b5d60([0x32])]||'',_0x34a47a=parseInt(_0x1777f3[_0x2b5d60([0x33])]),_0x595c0f=parseInt(_0x1777f3[_0x2b5d60([0x34])])||0x0,_0x1dc49c=parseInt(_0x1777f3[_0x2b5d60([0x35])])||0x0;return{[_0x2b5d60([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x124e75,[_0x2b5d60([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x595c0f,[_0x2b5d60([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x14922e,[_0x2b5d60([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x34a47a,[_0x2b5d60([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x1dc49c};}catch(_0x15afcf){return null;}}const _0x2ec1f3=_0x25f2ca(),_0x252919={[_0x2b5d60([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0xe71087,[_0x2b5d60([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])]:_0x31ea0d,[_0x2b5d60([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])]:_0x31fa24},_0x186ed9=_0x389079[_0x2b5d60([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x2b5d60([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x195b12=_0x2b5d60([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x389079?_0x389079['context']:_0x389079['editor'],_0x48c651=_0x2b5d60([0x34,0x30,0x34,0x38,0x31,0x32,0x31,0x30]),_0x801352=_0x2b5d60([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]),_0x43b788=_0x195b12['config']['get'](_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x241033=_0x2ec1f3[_0x2b5d60([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24cfc4)[_0x2b5d60([0x66,0x69,0x6e,0x64])](_0x305dfc=>_0x305dfc[_0x2b5d60([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x186ed9);function _0x434aa9(_0x4cea9f,_0x480ec6){_0x252919[_0x480ec6[_0x2b5d60([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x4cea9f,_0x480ec6),_0x480ec6[_0x2b5d60([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x480ec6[_0x2b5d60([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x2b5d60([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x528c7b=>_0x5c9945(_0x195b12,_0x528c7b[_0x2b5d60([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x2b5d60([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1fc543=>_0x434aa9(_0x4cea9f,_0x1fc543));}function _0xe71087(_0x3b154f,_0x3f71af){_0x1aac25(_0x26ca23(_0x3b154f,_0x3f71af),_0x3f71af);}function _0x31ea0d(_0x4c54e6,_0x139ab7){function _0x35de4c(_0xb9019a,_0x39ed39){try{if(_0x5c9945(_0x195b12,_0x2b5d60([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0xb9019a){const _0x34b84c=_0x5df8cf(_0x195b12,_0x2b5d60([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x2b5d60([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x34b84c)/0x2>_0xb9019a[_0x2b5d60([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x58455c(_0x39ed39[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b5d60([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x26ca23(_0xb9019a,_0x39ed39);}catch(_0x526157){return _0x58455c(_0x39ed39[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b5d60([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x1aac25(_0x35de4c(_0x4c54e6,_0x139ab7),_0x139ab7);}function _0x31fa24(_0x1310af,_0x2c1b88){const _0x1387b6=_0x1ab4c4[0x0]*_0xe4c7c0[0x1],_0x435eaa=_0x1ab4c4[0x0]*_0xe4c7c0[0x2],_0x5a1851=_0x1ab4c4[0x2]*_0xe4c7c0[0x2];_0x5c9945(_0x195b12,_0x2b5d60([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x5df8cf(_0x195b12,_0x2b5d60([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2b5d60([0x73,0x74,0x61,0x74,0x65])]==_0x2b5d60([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x153aa7()]=_0x5a1851);function _0x24d94b(_0x41772e,_0xd6ee9b){try{return _0x5cb929()?_0x58455c(_0xd6ee9b[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b5d60([0x56,0x61,0x6c,0x69,0x64])):_0x26ca23(_0x41772e,_0xd6ee9b);}catch(_0x4ab5ef){return _0x58455c(_0xd6ee9b[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b5d60([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x27db9d(_0x13786d,_0x3a1c7d){const _0x6949ee=0x7;if(_0x13786d==_0x3a1c7d[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b5d60([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x161003();else{if(_0x13786d==_0x3a1c7d[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b5d60([0x54,0x72,0x69,0x61,0x6c])){const _0x5cbf1b=_0x5d840d();_0x5cbf1b&&_0xcc44c6(_0x5cbf1b,_0x3a1c7d[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x4c7c38=_0x504a22();window[_0x2b5d60([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xcc44c6(_0x2b5d60([0x74,0x69,0x6d,0x65]),_0x3a1c7d[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x4c7c38);const _0x21c91e=_0x5df8cf(_0x195b12,_0x2b5d60([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2b5d60([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x21c91e[_0x2b5d60([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x6949ee?_0xcc44c6(_0x2b5d60([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3a1c7d[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x21c91e['on'](_0x2b5d60([0x61,0x64,0x64]),()=>{_0x21c91e[_0x2b5d60([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x6949ee&&_0xcc44c6(_0x2b5d60([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3a1c7d[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x5d840d(){if(!_0x5c9945(_0x195b12,_0x2b5d60([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x29e375 in window)if(Number['isNaN'](Number(_0x29e375))){if(window[_0x29e375]===_0x1387b6)return _0x2b5d60([0x74,0x69,0x6d,0x65]);if(window[_0x29e375]===_0x435eaa)return _0x2b5d60([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x5cb929(){if(!_0x5c9945(_0x195b12,_0x2b5d60([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x1dd7ca in window)if(Number['isNaN'](Number(_0x1dd7ca))&&window[_0x1dd7ca]===_0x5a1851)return!0x0;return!0x1;}function _0xcc44c6(_0x1383b0,_0x299e85){_0x161003(),_0x58455c(_0x299e85+_0x2b5d60([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x1383b0),window[_0x153aa7()]=_0x1383b0===_0x2b5d60([0x74,0x69,0x6d,0x65])?_0x1387b6:_0x435eaa;}function _0x504a22(){let _0x4b998c=_0x1ab4c4[0x6]*_0xe4c7c0[0x8]*_0xe4c7c0[0x6];return _0x5c9945(_0x195b12,_0x2b5d60([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4b998c/=0xa),_0x4b998c;}function _0x161003(){const _0x1a4d58=_0x195b12;function _0x5217d9(){_0x5c9945(_0x1a4d58,_0x2b5d60([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x5df8cf(_0x1a4d58,_0x2b5d60([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2b5d60([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2b5d60([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x5df8cf(_0x1a4d58,_0x2b5d60([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2b5d60([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x5df8cf(_0x1a4d58,_0x2b5d60([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2b5d60([0x75,0x70,0x64,0x61,0x74,0x65])]=_0xf2494f,_0x5df8cf(_0x1a4d58,_0x2b5d60([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2b5d60([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0xf2494f,_0x1a4d58[_0x2b5d60([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b5d60([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf2494f,_0x1a4d58[_0x2b5d60([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b5d60([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf2494f,_0x1a4d58[_0x2b5d60([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2b5d60([0x6d,0x6f,0x64,0x65,0x6c]))),_0x5c9945(_0x1a4d58,_0x2b5d60([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x5df8cf(_0x1a4d58,_0x2b5d60([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2b5d60([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2b5d60([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x5df8cf(_0x1a4d58,_0x2b5d60([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2b5d60([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x5df8cf(_0x1a4d58,_0x2b5d60([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2b5d60([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0xf2494f,_0x5df8cf(_0x1a4d58,_0x2b5d60([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2b5d60([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0xf2494f);}_0x1a4d58[_0x2b5d60([0x73,0x74,0x61,0x74,0x65])]==_0x2b5d60([0x72,0x65,0x61,0x64,0x79])?_0x5217d9():_0x1a4d58[_0x2b5d60([0x6f,0x6e,0x63,0x65])](_0x2b5d60([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x5c9945(_0x1a4d58,_0x2b5d60([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x5217d9(),_0x5c9945(_0x1a4d58,_0x2b5d60([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x59bc8c=_0x5df8cf(_0x1a4d58,_0x2b5d60([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x3f461c=_0x59bc8c['getRevision'](0x0),_0x23106c=_0x59bc8c['getEarlierVisibleRevision'](_0x3f461c[_0x2b5d60([0x69,0x64])]);_0x5df8cf(_0x1a4d58,_0x2b5d60([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2b5d60([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x3f461c[_0x2b5d60([0x69,0x64])],_0x23106c?_0x23106c[_0x2b5d60([0x69,0x64])]:null,0x1)['then'](()=>_0x5217d9());}});}_0x27db9d(_0x24d94b(_0x1310af,_0x2c1b88),_0x2c1b88);}function _0x26ca23(_0x521e44,_0x13dcd2){try{return _0x2640d5(_0x13dcd2)?_0x58455c(_0x13dcd2[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b5d60([0x56,0x61,0x6c,0x69,0x64])):_0x521e44&&_0x196180(_0x521e44[_0x2b5d60([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x13dcd2)?_0x521e44[_0x2b5d60([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x2b5d60([0x6f,0x70,0x65,0x6e])][_0x2b5d60([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x48c651)/0x2>_0x521e44[_0x2b5d60([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x58455c(_0x13dcd2[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b5d60([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x521e44[_0x2b5d60([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x58455c(_0x13dcd2[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b5d60([0x54,0x72,0x69,0x61,0x6c])):_0x58455c(_0x13dcd2[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b5d60([0x56,0x61,0x6c,0x69,0x64])):_0x58455c(_0x13dcd2[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b5d60([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x410952){return _0x58455c(_0x13dcd2[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b5d60([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1aac25(_0x3f1b60,_0x4c3820){if(_0x195b12 instanceof _0x5ae7c7){const _0x57fa85=_0x195b12;_0x3f1b60==_0x4c3820[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b5d60([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0xc1ef9c(_0x57fa85):_0x3f1b60==_0x4c3820[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b5d60([0x54,0x72,0x69,0x61,0x6c])&&window[_0x2b5d60([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xc1ef9c(_0x57fa85),_0x58455c(_0x4c3820[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b5d60([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x1ab4c4[0x6]*_0xe4c7c0[0x8]*_0xe4c7c0[0x6]),_0x57fa85[_0x2b5d60([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x2b5d60([0x6f,0x6e])](_0x2b5d60([0x61,0x64,0x64]),(_0x3ee2c7,_0x1d1002)=>{_0x3f1b60!=_0x4c3820[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b5d60([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x3f1b60!=_0x4c3820[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b5d60([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x3f1b60!=_0x4c3820[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b5d60([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x560e1b(_0x1d1002);});}else{const _0x32dd5d=_0x195b12;_0x3f1b60==_0x4c3820[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b5d60([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x560e1b(_0x32dd5d):_0x3f1b60==_0x4c3820[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b5d60([0x54,0x72,0x69,0x61,0x6c])&&_0x32dd5d[_0x2b5d60([0x6f,0x6e])](_0x2b5d60([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x55ab92=0x0;_0x32dd5d[_0x2b5d60([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b5d60([0x6f,0x6e])](_0x2b5d60([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xe6dda6,_0x2bafa3)=>{_0x2bafa3[0x0][_0x2b5d60([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x55ab92++,0x1f8===_0x55ab92&&(_0x560e1b(_0x32dd5d),_0x58455c(_0x4c3820[_0x2b5d60([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2b5d60([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0xe6dda6[_0x2b5d60([0x6f,0x66,0x66])]());},{'priority':_0x2b5d60([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x58455c(_0x3a92d7){const _0x204d3f=_0x153aa7();return _0x195b12[_0x204d3f]=_0x3a92d7,_0x3a92d7;}function _0x153aa7(){const _0x33c6d7=String(window[_0x2b5d60([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2b5d60([0x6e,0x6f,0x77])]())[_0x2b5d60([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2b5d60([0x2e]),'');let _0x5718cb='';for(let _0x1a3adf=0x0;_0x1a3adf<_0x33c6d7[_0x2b5d60([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a3adf+=0x2){let _0x3b1258=parseInt(_0x33c6d7[_0x2b5d60([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a3adf,_0x1a3adf+0x2));_0x3b1258>=_0x801352[_0x2b5d60([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3b1258-=_0x801352[_0x2b5d60([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5718cb+=_0x801352[_0x3b1258];}return _0x5718cb;}function _0xc1ef9c(_0x3c632f){for(const _0x353228 of _0x3c632f[_0x2b5d60([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x560e1b(_0x353228);_0x5df8cf(_0x3c632f,_0x2b5d60([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2b5d60([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x5df8cf(_0x3c632f,_0x2b5d60([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2b5d60([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0xf2494f;}function _0x560e1b(_0x400536){function _0x70a4f5(){_0x400536[_0x2b5d60([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b5d60([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf2494f,_0x400536[_0x2b5d60([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b5d60([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf2494f,_0x400536[_0x2b5d60([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2b5d60([0x6d,0x6f,0x64,0x65,0x6c]));}_0x400536[_0x2b5d60([0x73,0x74,0x61,0x74,0x65])]==_0x2b5d60([0x72,0x65,0x61,0x64,0x79])?_0x70a4f5():_0x400536[_0x2b5d60([0x6f,0x6e,0x63,0x65])](_0x2b5d60([0x72,0x65,0x61,0x64,0x79]),()=>_0x70a4f5());}function _0xf2494f(){return null;}function _0x196180(_0x145bf7,_0x2fa485){const _0x3e6955=!!(_0x145bf7&_0x2fa485[_0x2b5d60([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x51e9f4=_0x3e9219(_0x145bf7,_0x2fa485);return _0x3e6955||_0x51e9f4;}function _0x3e9219(_0x5bda26,_0x20b6de){const _0x4fa12e=(_0x20b6de[_0x2b5d60([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x2b5d60([0x66,0x67,0x69])]||null;return!!_0x4fa12e&&_0x2ec1f3[_0x2b5d60([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xce2dfa=>_0x4fa12e[_0x2b5d60([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xce2dfa[_0x2b5d60([0x69,0x64])]))[_0x2b5d60([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e6a58=>!_0x44daeb(_0x2e6a58))[_0x2b5d60([0x73,0x6f,0x6d,0x65])](_0x9b2fd1=>!!(_0x5bda26&_0x9b2fd1[_0x2b5d60([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x44daeb(_0x701081){const _0x5edb2f={[_0x2b5d60([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])]:_0x839e54};return!!_0x701081['forbiddenHandler']&&_0x5edb2f[_0x701081['forbiddenHandler']]();}function _0x839e54(){return!window[_0x2b5d60([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x5c9945(_0x195b12,_0x2b5d60([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x2640d5(_0x22ae02){if(!_0x5c9945(_0x195b12,_0x22ae02[_0x2b5d60([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x1d6156=_0x22ae02[_0x2b5d60([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x7d52d8=_0x1d6156[_0x2b5d60([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x1e2a24=_0x1d6156[_0x2b5d60([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x41cd83=_0x1d6156[_0x2b5d60([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x5c9945(_0x195b12,_0x2b5d60([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x5df8cf(_0x195b12,_0x2b5d60([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2b5d60([0x73,0x74,0x61,0x74,0x65])]==_0x2b5d60([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x7d52d8)return!0x0;if(_0x5c9945(_0x195b12,_0x2b5d60([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x5df8cf(_0x195b12,_0x2b5d60([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x2b5d60([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x2b5d60([0x65,0x6e,0x64])&&_0x1e2a24)return!0x0;return!(!_0x5c9945(_0x195b12,_0x2b5d60([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]))||_0x5df8cf(_0x195b12,_0x2b5d60([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]))[_0x2b5d60([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x2b5d60([0x65,0x6e,0x64])||!_0x41cd83);}function _0x5c9945(_0x101b35,_0x189599){return _0x101b35[_0x2b5d60([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2b5d60([0x68,0x61,0x73])](_0x189599);}function _0x5df8cf(_0x1deebd,_0x5e1871){return _0x1deebd[_0x2b5d60([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2b5d60([0x67,0x65,0x74])](_0x5e1871);}function _0x5bc275(_0x52266e){let _0x40f1c1='';for(const _0x5bb13c of _0x52266e)_0x40f1c1+=String[_0x2b5d60([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x5bb13c);return _0x40f1c1;}function _0x5841f2(_0x4a144c){const _0x47f474=new Uint8Array(_0x4a144c[_0x2b5d60([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x2f3a37=0x0;_0x2f3a37<_0x4a144c[_0x2b5d60([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f3a37++)_0x47f474[_0x2f3a37]=_0x4a144c[_0x2b5d60([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2f3a37);return _0x47f474;}_0x241033&&_0x434aa9(_0x212cf0(_0x43b788),_0x241033);})(_0x273d2b);}(this);}['createRevision'](_0x177c31){const _0xbd16fc=this['editor']['plugins']['get']('Users');return new a({'id':_0x177c31['id'],'name':_0x177c31['name'],'creator':_0x177c31['creatorId']?_0xbd16fc['getUser'](_0x177c31['creatorId']):null,'diffData':_0x177c31['diffData']||_0x177c31['data'],'authors':_0x177c31['authorsIds']['map'](_0x3c5034=>_0xbd16fc['getUser'](_0x3c5034)),'createdAt':new Date(_0x177c31['createdAt']),'attributes':_0x177c31['attributes'],'fromVersion':_0x177c31['fromVersion'],'toVersion':_0x177c31['toVersion']});}['addRevision'](_0x192d3f,_0x3123d7=0x0){this['_revisions']['add'](_0x192d3f,_0x3123d7);}['getRevision'](_0x4c4683){return this['_revisions']['get'](_0x4c4683);}['getRevisions'](_0x5a4dca={'toJSON':!0x1}){const _0x8fdcd4=Array['from'](this['_revisions']);return _0x8fdcd4['reverse'](),_0x5a4dca['toJSON']?_0x8fdcd4['map'](_0x1ad6dc=>_0x1ad6dc['toJSON']()):_0x8fdcd4;}['getIndex'](_0x340741){return this['_revisions']['getIndex'](_0x340741);}['getEarlierVisibleRevision'](_0x3c0c92){const [,_0x234d62]=this['getRevisionsIterator'](_0x3c0c92,{'direction':'earlier'});return _0x234d62;}['getLaterVisibleRevision'](_0xbfdf2b){const [,_0x5bdd6e]=this['getRevisionsIterator'](_0xbfdf2b,{'direction':'later'});return _0x5bdd6e;}['getRevisionsInDiff'](_0x39b73b){const _0x22da97=[];for(const _0x1e4149 of this['getRevisionsIterator'](_0x39b73b['newRevisionId']))if(_0x22da97['push'](_0x1e4149),_0x1e4149['id']===_0x39b73b['oldRevisionId'])break;return _0x22da97;}*['getRevisionsIterator'](_0x15ebd9,{direction:_0x45dc14='earlier',filter:_0x3da902=_0x291512=>!0x0}={}){const _0x2803f5='earlier'===_0x45dc14?0x1:-0x1;let _0x31cc70=this['_revisions']['get'](_0x15ebd9),_0x59a22f=this['getIndex'](_0x31cc70);for(yield _0x31cc70;_0x31cc70;){if(_0x59a22f+=_0x2803f5,_0x31cc70=this['getRevision'](_0x59a22f),!_0x31cc70)return;_0x3da902(_0x31cc70)&&(yield _0x31cc70);}}}function y(_0x2a4de6,_0x10a35a,_0x22648b){const t=_0x2a4de6['t'];switch(_0x10a35a){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'},_0x22648b);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x22648b);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x4ceace,'a':_0x5769f3,'e':_0xa25d7c,'r':_0x6d9957,'u':_0x4602e4};class l extends _0x2fb962{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x52f1f2,A,_0x1357b7];}constructor(_0x3d04f7){super(_0x3d04f7),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 _0x31ce9d=_0x387b3f();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x31ce9d},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 _0x2370d0=this['repository']['getRevision'](0x0),_0x32920a=_0x2370d0&&null===_0x2370d0['creator']?_0x2370d0:null;if(this['_continueCurrentRevision']=!!_0x32920a&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x42dace=this['_source']['getCurrentRevisionId'](),_0x420e1c=this['repository']['getRevision'](_0x42dace);if(_0x420e1c)this['_startingVersion']=_0x420e1c['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x201a06=this['_source']['history']['_operations']['find'](_0x50fb40=>!_0x50fb40['_isInit']),_0x564ec5=_0x201a06?_0x201a06['baseVersion']:this['_source']['history']['version'];_0x2370d0?(_0x2370d0['toVersion']<_0x564ec5&&_0x2370d0['_update']({'toVersion':_0x564ec5}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x32920a['id'],this['_startingVersion']=_0x32920a['fromVersion']):(this['_startingVersion']=_0x2370d0['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x564ec5,this['_continueCurrentRevision']=!0x1);}}else _0x32920a&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x32920a['toVersion'],this['editor']['model']['document']['history']['version']),_0x32920a['fromVersion']===_0x32920a['toVersion']?(0x0!==_0x32920a['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x32920a['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x32920a['id'],this['_startingVersion']=_0x32920a['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',_0x46a970=>!_0x46a970);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x214748=this['repository']['getRevision'](0x0),_0x3e4b7f=await this['getRevisionDocumentData'](_0x214748),_0x580b24=await this['getRevisionRootsAttributes'](_0x214748);this['_replaceEditorDataWithRevisionData'](_0x3e4b7f,_0x580b24);}}['setSource'](_0x1872cd){this['_source']=_0x1872cd;}async['update'](){const _0x35cc87=await this['_source']['getLatestVersion']();if(_0x35cc87>this['currentRevision']['toVersion']){await this['_loadState']();const _0x49dc67=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x35cc87});_0x49dc67['authors']=_0x49dc67['authorsIds']['map'](_0xc5821c=>this['editor']['plugins']['get']('Users')['getUser'](_0xc5821c)),this['currentRevision']['_update'](_0x49dc67);}}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'](_0x57d69e={},_0x29f3c1=null){const _0x4a8d1d=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x29f3c1>this['currentRevision']['toVersion']&&(_0x29f3c1=null),null===_0x29f3c1&&(_0x29f3c1=await this['_source']['getLatestVersion']());const _0x3a2b11=this['_getFromVersion'](_0x29f3c1),_0x126dab=this['buildRevisionData']({'from':_0x3a2b11,'to':_0x29f3c1});if(this['currentRevision']['toVersion']<_0x29f3c1){const _0x14c225=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x29f3c1,'to':_0x29f3c1});_0x14c225['authors']=[],_0x14c225['authorsIds']=[],_0x14c225['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x14c225,!0x0),delete _0x14c225['authors'],_0x4a8d1d['push'](_0x14c225);}_0x57d69e['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x57d69e['name']=_0x57d69e['name']||null,_0x57d69e['id']=_0x57d69e['id']||_0x387b3f(),_0x57d69e={..._0x57d69e,..._0x126dab};const _0x5562a1=this['addRevisionData'](_0x57d69e);_0x4a8d1d['push'](_0x57d69e);const _0x13f2cc=this['repository']['getIndex'](_0x5562a1);if(0x0!==_0x13f2cc){const _0x245f38=this['repository']['getRevision'](_0x13f2cc-0x1);if(_0x245f38['fromVersion']!==_0x29f3c1){const _0x5c0e0b=this['_revisionDataBuilder']['getData'](_0x29f3c1,_0x245f38['toVersion']),_0x557683={'id':_0x245f38['id'],'diffData':_0x5c0e0b['diffData'],'authorsIds':_0x5c0e0b['authorsIds'],'authors':_0x5c0e0b['authorsIds']['map'](_0x13e1ff=>this['editor']['plugins']['get']('Users')['getUser'](_0x13e1ff)),'fromVersion':_0x29f3c1};_0x245f38===this['currentRevision']&&(_0x557683['createdAt']=new Date(_0x57d69e['createdAt']['getTime']()+0xa)),_0x245f38['_update'](_0x557683,!0x0),delete _0x557683['authors'],_0x4a8d1d['push'](_0x557683);}}if(this['adapter']){for(const _0x52e17c of _0x4a8d1d)this['_bufferUpdate'](_0x52e17c['id'],_0x52e17c,!0x0);this['sendBufferedUpdates']();}return _0x5562a1;}['addRevisionData'](_0x4c0345){const _0x2fa371=this['repository']['createRevision'](_0x4c0345);return this['adapter']&&_0x2fa371['on']('_update',(_0x2e7ed2,_0x3efa79,_0x1d52c5)=>{_0x1d52c5||(this['_bufferUpdate'](_0x3efa79['id'],_0x3efa79,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x2fa371,this['_findInsertionIndex'](_0x2fa371)),_0x2fa371;}async['getRevisionDocumentData'](_0x4d5941){await this['_loadRevisionData'](_0x4d5941);const _0x39600c={};for(const _0x214558 in _0x4d5941['diffData']){if(_0x4d5941['diffData'][_0x214558]['attachChange']&&!_0x4d5941['diffData'][_0x214558]['attachChange']['isAttached'])continue;const _0x449bd1=this['_removeRevisionMarkers'](JSON['parse'](_0x4d5941['diffData'][_0x214558]['insertions'])),_0x3dd3dc=this['editor']['editing']['view']['document'],_0x20234d=new _0x5b6b51(_0x3dd3dc,_0x449bd1['map'](_0x496b18=>B(_0x496b18,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x39600c[_0x214558]=this['editor']['data']['processor']['toData'](_0x20234d),this['editor']['data']['processor']['useFillerType']('default');}return _0x39600c;}async['getRevisionRootsAttributes'](_0x1b72f5){await this['_loadRevisionData'](_0x1b72f5);const _0x54c131={};for(const _0x3db671 in _0x1b72f5['diffData'])_0x1b72f5['diffData'][_0x3db671]['attachChange']&&!_0x1b72f5['diffData'][_0x3db671]['attachChange']['isAttached']||(_0x54c131[_0x3db671]=_0x1b72f5['diffData'][_0x3db671]['attributesAfter']||{});return _0x54c131;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x58b3cf=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x125989=0x0;_0x125989<_0x58b3cf['length'];_0x125989++){const _0x19f6f4=_0x58b3cf[_0x125989];let _0x57926d=!0x1;for(const _0x4f4b53 of Object['keys'](_0x19f6f4))void 0x0===_0x19f6f4[_0x4f4b53]?delete _0x19f6f4[_0x4f4b53]:'id'!==_0x4f4b53&&(_0x57926d=!0x0);_0x57926d||(_0x58b3cf[_0x125989]=null);}if(_0x58b3cf=_0x58b3cf['filter'](_0x22348d=>null!==_0x22348d),!_0x58b3cf['length'])return;for(let _0x1c5ada=0x0;_0x1c5ada<_0x58b3cf['length'];_0x1c5ada++){const _0xf6c633=_0x58b3cf[_0x1c5ada];void 0x0!==_0xf6c633['fromVersion']&&void 0x0===_0xf6c633['toVersion']&&(_0xf6c633['toVersion']=this['repository']['getRevision'](_0xf6c633['id'])['toVersion']),void 0x0!==_0xf6c633['toVersion']&&void 0x0===_0xf6c633['fromVersion']&&(_0xf6c633['fromVersion']=this['repository']['getRevision'](_0xf6c633['id'])['fromVersion']);}const _0x315cea=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x58b3cf,_0x315cea)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0xbbdf09=>{if(_0xbbdf09){for(const _0x28664e of _0xbbdf09)this['setRevisionData']({'id':_0x28664e['id'],'createdAt':_0x28664e['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x5cfbbe,_0x2928b3){let _0x245dec=this['editor']['config']['get']('initialData'),_0x3b2781=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x245dec){_0x245dec={};for(const _0xdbadd1 of this['editor']['model']['document']['getRootNames']())_0x245dec[_0xdbadd1]='';}if('string'==typeof _0x245dec&&(_0x245dec={'main':_0x245dec}),void 0x0===_0x3b2781){_0x3b2781={};for(const _0x1b8869 of this['editor']['model']['document']['getRootNames']())_0x3b2781[_0x1b8869]={};}let _0xfbec89=!0x1;const _0x4b24f3=Object['keys'](_0x245dec),_0x38f8f9=Object['keys'](_0x5cfbbe);for(const _0x1c3e31 of _0x4b24f3){if(_0x245dec[_0x1c3e31]!==_0x5cfbbe[_0x1c3e31]&&''!==_0x245dec[_0x1c3e31]['trim']()){_0xfbec89=!0x0;break;}if(!_0x4aa1da(_0x3b2781[_0x1c3e31],_0x2928b3[_0x1c3e31])&&Object['keys'](_0x3b2781[_0x1c3e31])['length']>0x0){_0xfbec89=!0x0;break;}}_0xfbec89||(_0xfbec89=_0x38f8f9['some'](_0x562236=>!this['editor']['model']['document']['getRoot'](_0x562236))),_0xfbec89&&_0x5be8f5('editor-initial-data-replaced-with-revision-data',{'editorData':_0x245dec,'editorRootsAttributes':_0x3b2781,'revisionData':_0x5cfbbe,'revisionRootsAttributes':_0x2928b3}),this['editor']['config']['set']('initialData',_0x5cfbbe),this['editor']['config']['set']('rootsAttributes',_0x2928b3);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x2ed0c7=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x2ed0c7['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x3e3b1e){const _0x27b716=this['repository']['getRevisions']();_0x27b716['reverse']();let _0x25df55=0x0;for(;_0x25df55<_0x27b716['length'];){const _0x59a038=_0x27b716[_0x25df55];if(_0x59a038===this['currentRevision']){_0x25df55++;continue;}if(_0x59a038['id']===this['_initialRevisionId'])break;const _0x4d94d2=_0x3e3b1e['toVersion']-_0x59a038['toVersion']||_0x3e3b1e['fromVersion']-_0x59a038['fromVersion'];if(_0x4d94d2>0x0)break;if(_0x4d94d2<0x0)_0x25df55++;else{if(!_0x3e3b1e['creator']&&_0x59a038['creator'])break;if(_0x59a038['creator']||!_0x3e3b1e['creator']){if(_0x3e3b1e['createdAt']>_0x59a038['createdAt'])break;_0x25df55++;}else _0x25df55++;}}return _0x25df55;}['setRevisionData'](_0x2d5c42){const _0x56415a=this['repository']['getRevision'](_0x2d5c42['id']);if(_0x2d5c42['createdAt']&&(_0x2d5c42['createdAt']=new Date(_0x2d5c42['createdAt'])),_0x2d5c42['authorsIds']){const _0x35b70e=this['editor']['plugins']['get']('Users');_0x2d5c42['authors']=_0x2d5c42['authorsIds']['map'](_0x2531ee=>_0x35b70e['getUser'](_0x2531ee));}_0x56415a['_update'](_0x2d5c42,!0x0);}['buildRevisionData']({revision:_0x3dba19=null,from:_0x34d21e=null,to:_0x142323=null}){_0x34d21e=null!==_0x34d21e?_0x34d21e:_0x3dba19['fromVersion'],_0x142323=null!==_0x142323?_0x142323:_0x3dba19['toVersion'];const _0x3121ba=this['_revisionDataBuilder']['getData'](_0x34d21e,_0x142323),_0x46c0a2={'diffData':_0x3121ba['diffData'],'authorsIds':_0x3121ba['authorsIds'],'fromVersion':_0x34d21e,'toVersion':_0x142323};if(!_0x3dba19||_0x142323!==_0x3dba19['toVersion']){const _0x274455=_0x142323-0x1,_0x230d68=this['_source']['history']['getOperation'](_0x274455);_0x46c0a2['createdAt']=_0x230d68&&_0x230d68['createdAt']||new Date();}if(this['_loadedStateData']&&_0x34d21e===this['_loadedStateData']['fromVersion']){for(const _0xa08dbb of this['_loadedStateData']['authors'])_0x46c0a2['authorsIds']['includes'](_0xa08dbb['id'])||_0x46c0a2['authorsIds']['push'](_0xa08dbb['id']);}return _0x46c0a2;}['_loadRevisionData'](_0x424790){if(!_0x424790||_0x424790['diffData'])return Promise['resolve']();{const _0x2e5cfd=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2e5cfd,'revisionId':_0x424790['id']})['then'](_0x357ab5=>{_0x424790['diffData']=_0x357ab5['diffData'];});}}['_bufferUpdate'](_0x5d359c,_0x112fc3,_0x4b5819){if(this['_bufferedUpdates']['has'](_0x5d359c)){const _0x5a24b1=this['_bufferedUpdates']['get'](_0x5d359c);_0x112fc3=_0x4b5819?{..._0x5a24b1,..._0x112fc3}:{..._0x112fc3,..._0x5a24b1};}this['_bufferedUpdates']['set'](_0x5d359c,_0x112fc3);}['_getFromVersion'](_0x3be74d){const _0xb9ba9f=this['repository']['getRevisions']();_0xb9ba9f['reverse'](),_0xb9ba9f['shift']();const _0x125786=_0xb9ba9f['find'](_0x4fadd6=>_0x4fadd6['toVersion']<=_0x3be74d)['toVersion'];return _0x125786<this['_startingVersion']?this['_startingVersion']:_0x125786;}['_createInitialRevision'](_0xc0e242){const _0x4e83db=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x4e83db)this['_initialRevisionId']=_0x4e83db['id'];else{const _0x12e038=!this['editor']['model']['document']['roots']['find'](_0x17331e=>this['editor']['model']['hasContent'](_0x17331e)),_0xe17f30=this['editor']['plugins']['get']('Users')['me']['id'],_0x93e9c9=y(this['editor']['locale'],_0x12e038?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0xc0e242,'to':_0xc0e242,'id':this['_initialRevisionId'],'name':_0x93e9c9,'creatorId':_0xe17f30});}}['_createCurrentRevision'](_0x1c1c44){const _0x5ec0a2=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x5ec0a2),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x1c1c44,'to':_0x1c1c44,'id':_0x5ec0a2,'name':'','creatorId':null}));}['_makeRevision']({name:_0x348088,from:_0x2b4569,to:_0x3cfba3,creatorId:_0xc92d7b,id:_0x36b00d}){const _0x1a52ce=this['buildRevisionData']({'from':_0x2b4569,'to':_0x3cfba3});_0x1a52ce['name']=_0x348088,_0x1a52ce['creatorId']=_0xc92d7b,_0x1a52ce['id']=_0x36b00d;const _0x146262=this['addRevisionData'](_0x1a52ce);return this['adapter']&&this['_bufferUpdate'](_0x1a52ce['id'],_0x1a52ce,!0x0),_0x146262;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x12dfd3){return(_0x12dfd3=_0x12dfd3['filter'](_0x200868=>!_0x200868['name']||'revision-start'!==_0x200868['name']&&'revision-end'!==_0x200868['name']))['forEach'](_0x101b62=>{'string'!=typeof _0x101b62&&(_0x101b62['children']=this['_removeRevisionMarkers'](_0x101b62['children']),_0x101b62['attributes']=_0x101b62['attributes']['filter'](_0x4964c7=>!_0x4964c7[0x0]['startsWith']('data-revision-')));}),_0x12dfd3;}}function B(_0x3f962a,_0x45ea9b){const _0x11d5df=_0x45ea9b['editing']['view']['document'];if('string'==typeof _0x3f962a)return new _0x325dd2(_0x11d5df,_0x3f962a);{const _0x201791=_0x3f962a['children']['map'](_0x265b1d=>B(_0x265b1d,_0x45ea9b));return new(T[_0x3f962a['type']]||_0x2f8f9d)(_0x11d5df,_0x3f962a['name'],_0x3f962a['attributes'],_0x201791);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x4c9be6){this['editor']=_0x4c9be6,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'](_0x1f48a8){this['source']=_0x1f48a8;const _0x557352=new Map(),_0x2dc487=new Map(),_0x5ea73e=this['editor']['model']['document']['roots']['map'](_0x34391e=>_0x34391e['rootName']);for(const _0x2edf61 of _0x5ea73e){const _0xc76f33=this['editor']['model']['document']['getRoot'](_0x2edf61),_0x36345b=q(_0xc76f33);_0x557352['set'](_0x2edf61,_0x36345b),_0x2dc487['set'](_0x2edf61,Object['fromEntries'](_0xc76f33['getAttributes']()));}const _0x3eb61d=Array['from'](this['editor']['model']['markers'])['map'](_0x1b4aec=>[_0x1b4aec['name'],_0x1b4aec['getRange']()]),_0x2802f0=this['source']['version'];this['_saveMetaData'](_0x2802f0,_0x557352,_0x3eb61d,_0x2dc487),this['_startingRevisionId']=this['_revisionId'];const _0x2b298f=new Map(),_0x1daccf=new Map();for(const _0x4c9394 of _0x5ea73e){const _0x2024c5=G(_0x4c9394);_0x2b298f['set'](_0x4c9394,_0x2024c5),_0x1daccf['set'](_0x4c9394,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x2b298f,[],_0x1daccf);}['getData'](_0x322e2f,_0x5b80ce){if(this['_lastFrom']===_0x322e2f&&this['_lastTo']<=_0x5b80ce)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x5b80ce,!0x0);else{if(!this['_savedMetaData']['has'](_0x322e2f)){const _0x26f4ab=this['_getPreviousFrom'](_0x322e2f);this['_calculateMetaData'](_0x26f4ab,_0x322e2f,!0x1);}this['_calculateMetaData'](_0x322e2f,_0x5b80ce,!0x0);}return this['_lastFrom']=_0x322e2f,this['_lastTo']=_0x5b80ce,this['_getState']();}['loadState'](_0x1eaa29){this['_reset'](),this['_lastFrom']=_0x1eaa29['fromVersion'],this['_lastTo']=_0x1eaa29['toVersion'];for(const _0x4819d3 in _0x1eaa29['diffData']){const _0x142c10=_0x1eaa29['diffData'][_0x4819d3]['attachChange'],_0x162b64=_0x13bce4(_0x1eaa29['diffData'][_0x4819d3]['attributesBefore'])||{},_0x252461=this['_makeModelFromViewString'](_0x1eaa29['diffData'][_0x4819d3]['deletions']);_0x252461['rootName']=_0x4819d3,_0x252461['_isAttached']=!_0x142c10||!_0x142c10['isAttached'],_0x252461['isAttached']=()=>_0x252461['_isAttached'],this['_baseRoots']['set'](_0x4819d3,_0x252461),this['_baseRootsAttributes']['set'](_0x4819d3,_0x162b64),_0x142c10&&this['_touchedRoots']['set'](_0x4819d3,_0x142c10);const _0x39c07a=this['_makeIdsRoot'](_0x252461);this['_baseIdsRoots']['set'](_0x4819d3,_0x39c07a);for(const [_0x164bfe,_0x401e91]of _0x252461['markers']){if(!_0x164bfe['startsWith']('revision:'))continue;const _0x399409=_0x164bfe['split'](':')[0x2];for(const _0x3a13a5 of _0x401e91['getWalker']({'singleCharacters':!0x0})){const _0x2b354d=this['_getVidAttributeName'](_0x3a13a5),_0x4335ce='elementEnd'==_0x3a13a5['type']?_0x3a13a5['previousPosition']['path']['slice'](0x0,-0x1):_0x3a13a5['previousPosition']['path'],_0x1b9f01=_0x39c07a['getNodeByPath'](_0x4335ce)['getAttribute'](_0x2b354d);this['_touched']['set'](_0x1b9f01,{'userId':_0x399409});}}}this['_startingRevisionId']=this['_revisionId'];const _0xf93b24=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x43f85f=>!this['_touched']['has'](_0x43f85f));let _0x20e7df=0x0;const _0x3a6034=new Map();for(const _0x254691 in _0x1eaa29['diffData']){const _0x22afea=_0x1eaa29['diffData'][_0x254691]['attachChange'],_0xe8a404=_0x13bce4(_0x1eaa29['diffData'][_0x254691]['attributesAfter'])||{},_0xaa46ca=this['_makeModelFromViewString'](_0x1eaa29['diffData'][_0x254691]['insertions']);_0xaa46ca['rootName']=_0x254691,_0xaa46ca['_isAttached']=!_0x22afea||_0x22afea['isAttached'],_0xaa46ca['isAttached']=()=>_0xaa46ca['_isAttached'],this['_diffRoots']['set'](_0x254691,_0xaa46ca),this['_diffRootsAttributes']['set'](_0x254691,_0xe8a404);const _0x69d88c=this['_makeIdsRoot'](_0xaa46ca,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x254691,_0x69d88c),_0x3a6034['set'](_0x254691,_0xaa46ca['isAttached']()?_0xe8a404:{});for(const [_0x4fd3ff,_0xb89b1a]of _0xaa46ca['markers']){if(!_0x4fd3ff['startsWith']('revision:'))continue;const _0x58bde4=_0x4fd3ff['split'](':')[0x2];for(const _0x989cfc of _0xb89b1a['getWalker']({'singleCharacters':!0x0})){const _0x3991a5=this['_getVidAttributeName'](_0x989cfc),_0x5bde89=this['_revisionId']++,_0x57cb49='elementEnd'==_0x989cfc['type']?_0x989cfc['previousPosition']['path']['slice'](0x0,-0x1):_0x989cfc['previousPosition']['path'];_0x69d88c['getNodeByPath'](_0x57cb49)['_setAttribute'](_0x3991a5,_0x5bde89),this['_touched']['set'](_0x5bde89,{'userId':_0x58bde4});}}for(const _0x4cb738 of this['editor']['model']['createRangeIn'](_0xaa46ca)['getWalker']({'singleCharacters':!0x0})){const _0x4343cd=this['_getVidAttributeName'](_0x4cb738),_0x1b2587='elementEnd'==_0x4cb738['type']?_0x4cb738['previousPosition']['path']['slice'](0x0,-0x1):_0x4cb738['previousPosition']['path'],_0x3a32b7=_0x69d88c['getNodeByPath'](_0x1b2587);_0x3a32b7['getAttribute'](_0x4343cd)>0x0||_0x3a32b7['_setAttribute'](_0x4343cd,_0xf93b24[_0x20e7df++]);}for(const [_0x500b87,_0x376c3e]of _0xaa46ca['markers'])_0x500b87['startsWith']('revision:')||this['_markers']['set'](_0x500b87,_0x376c3e);}const _0x347411=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x347411),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x347411,0x1));const _0x1c1e4b=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x1c1e4b),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1c1e4b,0x1));const _0x58818=Array['from'](this['_diffRoots'])['map'](([_0x59aa8e,_0x5a9cf0])=>[_0x59aa8e,q(_0x5a9cf0)]);this['_saveMetaData'](this['_lastTo'],_0x58818,this['_markers'],_0x3a6034);}['_makeModelFromViewString'](_0x18aa3f){const _0x15309b=JSON['parse'](_0x18aa3f),_0x3789d8=this['editor']['editing']['view']['document'],_0x531cba=new _0x5b6b51(_0x3789d8,_0x15309b['map'](_0x5e81f3=>B(_0x5e81f3,this['editor'])));return this['editor']['data']['toModel'](_0x531cba);}['_saveMetaData'](_0x11e651,_0x1c6924,_0x1e2d3f,_0x355ca5){const _0x344584=new Map(_0x1c6924),_0x5f12a3=new Map(_0x13bce4(_0x355ca5)),_0x3fcfd2=new Map();for(const [_0x413ec9,_0x52abc9]of _0x1e2d3f)_0x3fcfd2['set'](_0x413ec9,{'start':_0x52abc9['start']['clone'](),'end':_0x52abc9['end']['clone'](),'rootName':_0x52abc9['root']['rootName']});this['_savedMetaData']['set'](_0x11e651,{'roots':_0x344584,'markers':_0x3fcfd2,'rootsAttributes':_0x5f12a3});}['_removeMetaData'](_0x387493){this['_savedMetaData']['delete'](_0x387493);}['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'](_0x2c6adf,_0x4e625e=null){let _0x412713=null;_0x2c6adf['is']('documentFragment')||(_0x412713=new ft(_0x2c6adf['name'],{'vid_start':null===_0x4e625e?this['_revisionId']++:_0x4e625e++}));const _0x1f155b=[];for(const _0xc8bbd4 of _0x2c6adf['getChildren']())if(_0xc8bbd4['is']('element')){_0x1f155b['push'](this['_makeIdsRoot'](_0xc8bbd4,_0x4e625e));const _0x5a2d7b=_0x1f155b[_0x1f155b['length']-0x1];null!==_0x4e625e&&(_0x4e625e=_0x5a2d7b['is']('element','$text')?_0x5a2d7b['getAttribute']('vid')+0x1:_0x5a2d7b['getAttribute']('vid_end')+0x1);}else{for(let _0x51d0f0=0x0;_0x51d0f0<_0xc8bbd4['offsetSize'];_0x51d0f0++)_0x1f155b['push'](new ft('$text',{'vid':null===_0x4e625e?this['_revisionId']++:_0x4e625e++}));}if(_0x2c6adf['is']('documentFragment')){const _0x2a6077=G(_0x2c6adf['rootName']);return _0x2a6077['_insertChild'](0x0,_0x1f155b),_0x2a6077;}return _0x412713['_setAttribute']('vid_end',null===_0x4e625e?this['_revisionId']++:_0x4e625e++),_0x412713['_insertChild'](0x0,_0x1f155b),_0x412713;}['_calculateMetaData'](_0x769185,_0x27782e,_0x5098ed){this['_reset']();const {roots:_0x2363af,markers:_0x2dc7f4,rootsAttributes:_0x49f0f6}=this['_savedMetaData']['get'](_0x769185);this['_baseRoots']=new Map(_0x2363af),this['_baseRootsAttributes']=new Map(_0x13bce4(_0x49f0f6));for(const [_0x517c87,_0x15d745]of this['_baseRoots'])if('$graveyard'!==_0x517c87&&(this['_diffRoots']['set'](_0x517c87,q(_0x15d745)),this['_diffRootsAttributes']=new Map(_0x13bce4(_0x49f0f6)),_0x5098ed)){const _0x45a5a0=this['_revisionId'];this['_idsRoots']['set'](_0x517c87,this['_makeIdsRoot'](_0x15d745)),this['_baseIdsRoots']['set'](_0x517c87,this['_makeIdsRoot'](_0x15d745,_0x45a5a0));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x5098ed&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x10cfa3,_0x30df89]of _0x2dc7f4){const _0x560041=this['_baseRoots']['get'](_0x30df89['rootName']),_0x173130=this['_diffRoots']['get'](_0x30df89['rootName']),_0x3c5e02=new vt(this['_fixPosition'](_0x30df89['start'],_0x560041),this['_fixPosition'](_0x30df89['end'],_0x560041)),_0x257393=this['_fixRange'](_0x3c5e02,_0x173130);_0x560041['markers']['set'](_0x10cfa3,_0x3c5e02),this['_markers']['set'](_0x10cfa3,_0x257393);}this['_applyOperations'](_0x769185,_0x27782e,_0x5098ed);}['_applyOperations'](_0x3f6a0,_0x4d03c6,_0x2fc695){for(const _0x5b3fd0 of this['source']['getOperations'](_0x3f6a0,_0x4d03c6))this['_handleOperation'](_0x5b3fd0,_0x2fc695);for(const _0x334a05 of this['_diffRoots']['values']())_0x334a05['markers']['clear']();for(const [_0x28170a,_0x36488c]of this['_markers']){this['_diffRoots']['get'](_0x36488c['root']['rootName'])['markers']['set'](_0x28170a,_0x36488c['clone']());}const _0x3afe1b=new Map(),_0x275f9a=new Map();for(const [_0x59f5ad,_0x467a0e]of this['_diffRoots'])_0x3afe1b['set'](_0x59f5ad,q(_0x467a0e)),_0x275f9a['set'](_0x59f5ad,this['_diffRootsAttributes']['get'](_0x59f5ad));this['_saveMetaData'](_0x4d03c6,_0x3afe1b,this['_markers'],_0x275f9a);}['_getPreviousFrom'](_0x68554d){const _0x396040=Array['from'](this['_savedMetaData']['keys']());_0x396040['sort']((_0x31b5a1,_0x400cb2)=>_0x31b5a1-_0x400cb2),_0x396040['reverse']();for(const _0x509ec4 of _0x396040)if(_0x509ec4<_0x68554d)return _0x509ec4;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0xa7098d,_0x4367b7){const _0x1bbc99=Array['from'](_0x4367b7['markers'])['map'](([_0x119361,_0x48f9b4])=>[_0x119361,this['_fixRange'](_0x48f9b4,_0xa7098d)]);_0xa7098d['markers']=new Map(_0x1bbc99);}['_transformMarkers'](_0x5076e2){for(const _0x2b02fb of this['_markers']['values']()){const _0x27346b=_0x2b02fb['getTransformedByOperation'](_0x5076e2),_0x1c6056=vt['_createFromRanges'](_0x27346b);_0x2b02fb['start']=_0x1c6056['start'],_0x2b02fb['end']=_0x1c6056['end'];}}['_handleOperation'](_0x20b60b,_0x288697){if('addRoot'==_0x20b60b['type']||'detachRoot'==_0x20b60b['type'])return void this['_handleRootOperation'](_0x20b60b,_0x288697);if('insert'==_0x20b60b['type']){const _0x436473=_0x20b60b['position']['root']['rootName'];this['_diffRoots']['has'](_0x436473)||(this['_diffRoots']['set'](_0x436473,G(_0x436473,!0x0)),this['_diffRootsAttributes']['set'](_0x436473,{}),_0x288697&&this['_idsRoots']['set'](_0x436473,G(_0x436473,!0x0)));}else{if('addRootAttribute'==_0x20b60b['type']||'removeRootAttribute'==_0x20b60b['type']||'changeRootAttribute'==_0x20b60b['type'])return void this['_handleRootAttributeOperation'](_0x20b60b);}const _0x236621=this['_cloneOperation'](_0x20b60b,this['_diffRoots']);if('marker'!==_0x20b60b['type']&&(_0x236621['_execute'](),this['_transformMarkers'](_0x236621)),_0x288697)switch(_0x236621['type']){case'insert':this['_handleInsertOperation'](_0x20b60b);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x20b60b);break;case'merge':this['_handleMergeOperation'](_0x20b60b);break;case'split':this['_handleSplitOperation'](_0x20b60b);break;case'marker':this['_handleMarkerOperation'](_0x20b60b);}}['_cloneOperation'](_0x46812c,_0x26fca3){const _0x2f4fac=_0x46812c['clone']();return _0x2f4fac['_authorId']=_0x46812c['_authorId'],this['_fixOperation'](_0x2f4fac,_0x26fca3),_0x2f4fac;}['_getBaseVids'](_0x2747f5){return _0x2747f5['map'](_0x2f11a9=>{const _0x2197f1=this['_getVidAttributeName'](_0x2f11a9);return Number(_0x2f11a9['item']['getAttribute'](_0x2197f1));});}['_generateTape'](_0x4c4ee2,_0x1d49a9){if(_0x4c4ee2['is']('element','$text'))_0x1d49a9['push']({'item':_0x4c4ee2,'type':'text'});else{_0x4c4ee2['is']('element')&&_0x1d49a9['push']({'item':_0x4c4ee2,'type':'elementStart'});for(const _0x2d679d of _0x4c4ee2['getChildren']())this['_generateTape'](_0x2d679d,_0x1d49a9);_0x4c4ee2['is']('element')&&_0x1d49a9['push']({'item':_0x4c4ee2,'type':'elementEnd'});}return _0x1d49a9;}['_getState'](){const _0x293787=new Map(this['_touched']),_0xd1d4fe=new Map(_0x293787),_0x2a680b=new Map(),_0x2da456={'insertions':{},'deletions':{}},_0x2470ea={'insertions':{},'deletions':{}},_0x69c44b=new Map(),_0x3fdac5=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x3fdac5['delete']('$graveyard');for(const _0x5c4e96 of _0x3fdac5){const _0x464e65=this['_diffRoots']['get'](_0x5c4e96)||G(_0x5c4e96,!0x1),_0x53947c=this['_baseRoots']['get'](_0x5c4e96)||G(_0x5c4e96,!0x1);_0x464e65['isAttached']()||_0x53947c['isAttached']()?(_0x2da456['insertions'][_0x5c4e96]=q(_0x464e65),_0x2da456['deletions'][_0x5c4e96]=q(_0x53947c),this['_copyMarkers'](_0x2da456['deletions'][_0x5c4e96],_0x53947c),this['_copyMarkers'](_0x2da456['insertions'][_0x5c4e96],_0x464e65),_0x2470ea['insertions'][_0x5c4e96]=this['_generateTape'](this['_idsRoots']['get'](_0x5c4e96),[]),_0x2470ea['deletions'][_0x5c4e96]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x5c4e96)||G(_0x5c4e96,!0x1),[])):_0x3fdac5['delete'](_0x5c4e96);}for(const _0x5d6fd2 of _0x3fdac5){const _0x6505a1=_0x2470ea['insertions'][_0x5d6fd2];for(const _0x35d282 of _0x6505a1){const _0x225d7d=this['_getVidAttributeName'](_0x35d282),_0x45a821=_0x35d282['item']['getAttribute'](_0x225d7d);_0xd1d4fe['delete'](_0x45a821),_0x45a821>=this['_startingRevisionId']&&_0x2a680b['set'](_0x45a821,_0x293787['get'](_0x45a821));}}for(const _0x3a2d3e of _0x3fdac5){const _0x1906c3=_0x2470ea['insertions'][_0x3a2d3e],_0x374d69=this['_getBaseVids'](_0x2470ea['deletions'][_0x3a2d3e]);let _0x288dac=0x0;for(const _0x554a45 of _0x1906c3){const _0x5e5a59=this['_getVidAttributeName'](_0x554a45),_0x344d4c=_0x554a45['item']['getAttribute'](_0x5e5a59);if(!_0x2a680b['has'](_0x344d4c)&&!_0x69c44b['has'](_0x344d4c)){if(_0xd1d4fe['has'](_0x344d4c))_0x288dac++;else{if(_0x344d4c!=_0x374d69[_0x288dac]){const _0x4115d1=_0x293787['get'](_0x344d4c)||_0x293787['get'](_0x374d69[_0x288dac]);for(;_0x344d4c!=_0x374d69[_0x288dac];)_0xd1d4fe['has'](_0x374d69[_0x288dac])||(_0x69c44b['set'](_0x374d69[_0x288dac],_0x4115d1),_0x293787['set'](_0x374d69[_0x288dac],_0x4115d1)),_0x288dac++;}_0x288dac++;}}}}for(const _0x180c87 of _0x3fdac5){const _0x4d2fea=_0x2470ea['insertions'][_0x180c87];for(const _0x258bd9 of _0x4d2fea){const _0x2e1e4a=this['_getVidAttributeName'](_0x258bd9),_0x4e07ad=_0x258bd9['item']['getAttribute'](_0x2e1e4a);if(_0x69c44b['has'](_0x4e07ad)){const _0x4ad56b=_0x69c44b['get'](_0x4e07ad);_0xd1d4fe['has'](_0x4e07ad)||_0xd1d4fe['set'](_0x4e07ad,{..._0x4ad56b}),_0x2a680b['set'](_0x4e07ad,{..._0x4ad56b});}}}for(const _0x59042e of _0xd1d4fe['keys']())_0x59042e>=this['_startingRevisionId']&&_0xd1d4fe['delete'](_0x59042e);const _0x5a06bb=new Map();for(const _0x93d35 of _0x3fdac5){let _0x49b510=_0x2470ea['insertions'][_0x93d35];for(const _0x20c0f9 of _0x49b510)if(_0x20c0f9['item']['is']('element','tableCell')){const _0x269c4e=this['_getVidAttributeName'](_0x20c0f9),_0x3fb292=_0x20c0f9['item']['getAttribute'](_0x269c4e);if(_0x2a680b['has'](_0x3fb292)){const _0x197afd=_0x20c0f9['item']['parent']['parent']['getAttribute']('vid_start'),_0x50cced=_0x5a06bb['get'](_0x197afd)||new Set();_0x50cced['add'](_0x2a680b['get'](_0x3fb292)['userId']),_0x5a06bb['set'](_0x197afd,_0x50cced);}}_0x49b510=_0x2470ea['deletions'][_0x93d35];for(const _0x17d824 of _0x49b510)if(_0x17d824['item']['is']('element','tableCell')){const _0xa5f2cf=this['_getVidAttributeName'](_0x17d824),_0x2bfde7=_0x17d824['item']['getAttribute'](_0xa5f2cf);if(_0xd1d4fe['has'](_0x2bfde7)){const _0x30cb9a=_0x17d824['item']['parent']['parent']['getAttribute']('vid_start'),_0x285973=_0x5a06bb['get'](_0x30cb9a)||new Set();_0x285973['add'](_0xd1d4fe['get'](_0x2bfde7)['userId']),_0x5a06bb['set'](_0x30cb9a,_0x285973);}}for(const _0x5b4f40 of _0x5a06bb['keys']())(_0x2a680b['has'](_0x5b4f40)||_0xd1d4fe['has'](_0x5b4f40))&&_0x5a06bb['delete'](_0x5b4f40);}for(const _0x2d91c9 of _0x3fdac5){const _0x51e7be=_0x2470ea['insertions'][_0x2d91c9];let _0x2c2138=null,_0x102b36=null;for(const _0x36e998 of _0x51e7be){const _0x22477d=this['_getVidAttributeName'](_0x36e998),_0x48a207=_0x36e998['item']['getAttribute'](_0x22477d),_0x47f8ba=_0x5a06bb['get'](_0x48a207);_0x47f8ba&&'elementStart'==_0x36e998['type']&&(_0x2c2138=Array['from'](_0x47f8ba)[0x0],_0x102b36=_0x36e998['item']['getAttribute']('vid_end')),_0x2c2138&&(_0xd1d4fe['set'](_0x48a207,{'userId':_0x2c2138}),_0x2a680b['set'](_0x48a207,{'userId':_0x2c2138})),_0x48a207==_0x102b36&&(_0x2c2138=null,_0x102b36=null);}}const _0x2c73d4={},_0x5b8aca=new Set();for(const _0x3b53a4 of _0x3fdac5){const _0x208621=_0x2da456['deletions'][_0x3b53a4],_0x4fa1b7=_0x2da456['insertions'][_0x3b53a4];for(const {userId:_0x3a09c9}of this['_touchedMarkers']['values']())null!==_0x3a09c9&&_0x5b8aca['add'](_0x3a09c9);for(const {userId:_0x1d0b7a}of this['_touchedRoots']['values']())null!==_0x1d0b7a&&_0x5b8aca['add'](_0x1d0b7a);this['_markChanges'](_0x4fa1b7,_0x2470ea['insertions'][_0x3b53a4],_0x2a680b,'insertion',_0x5b8aca),this['_markChanges'](_0x208621,_0x2470ea['deletions'][_0x3b53a4],_0xd1d4fe,'deletion',_0x5b8aca),_0x2c73d4[_0x3b53a4]={'insertions':this['_prepareViewToSave'](_0x4fa1b7),'deletions':this['_prepareViewToSave'](_0x208621),'attachChange':this['_touchedRoots']['get'](_0x3b53a4)||null,'attributesBefore':_0x13bce4(this['_baseRootsAttributes']['get'](_0x3b53a4))||{},'attributesAfter':_0x13bce4(this['_diffRootsAttributes']['get'](_0x3b53a4))};}return{'diffData':_0x2c73d4,'authorsIds':Array['from'](_0x5b8aca)};}['_processRootBeforeSave'](_0x3ddebb){for(const [,_0x201eee]of _0x3ddebb['markers']){const _0x10be0e=_0x201eee['start']['getAncestors']()['filter'](_0x323642=>'tableCell'==_0x323642['name']);for(const _0x569b18 of _0x10be0e)0x1==_0x569b18['childCount']&&_0x569b18['getChild'](0x0)['is']('element','paragraph')&&_0x569b18['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x2426c6){this['_processRootBeforeSave'](_0x2426c6);const _0x441199=this['editor']['data']['toView'](_0x2426c6,{}),_0x511601=Array['from'](_0x441199['getChildren']())['map'](_0x4e5fab=>this['_getViewJson'](_0x4e5fab));return JSON['stringify'](_0x511601);}['_getViewJson'](_0x11c3b5){if(_0x11c3b5['is']('$text'))return _0x11c3b5['data'];{const _0x220401=_0x11c3b5;return{'type':Object['keys'](T)['find'](_0x37402e=>_0x11c3b5 instanceof T[_0x37402e]),'name':_0x220401['name'],'attributes':Array['from'](_0x220401['getAttributes']()),'children':Array['from'](_0x220401['getChildren']())['map'](_0x5c96ac=>this['_getViewJson'](_0x5c96ac))};}}['_markChanges'](_0x241724,_0x31b509,_0x442677,_0x25a2f2,_0x17eb3d){let _0x9dfaf4=null,_0x1a0058=null,_0x57dec4=0x0;const _0x5a287c=this['editor']['model'];for(let _0x11ff1a=0x0;_0x11ff1a<_0x31b509['length'];_0x11ff1a++){const _0x1b974d=this['_getVidAttributeName'](_0x31b509[_0x11ff1a]),_0xb3deaf=_0x31b509[_0x11ff1a]['item']['getAttribute'](_0x1b974d),_0x111f36=_0x442677['get'](_0xb3deaf),_0x14c934=_0x11ff1a==_0x31b509['length']-0x1;(!_0x9dfaf4&&_0x111f36&&(_0x9dfaf4=_0x111f36,_0x1a0058=_0x31b509[_0x11ff1a]),_0x9dfaf4&&(!_0x111f36||_0x111f36['userId']!=_0x9dfaf4['userId']))&&(_0x24ff73(_0x111f36,L(_0x1a0058,_0x241724,_0x5a287c),L(_0x31b509[_0x11ff1a],_0x241724,_0x5a287c)),_0x9dfaf4=_0x111f36||null,_0x1a0058=_0x111f36?_0x31b509[_0x11ff1a]:null),_0x9dfaf4&&_0x14c934&&_0x24ff73(_0x111f36,L(_0x1a0058,_0x241724,_0x5a287c),W(_0x31b509[_0x11ff1a],_0x241724,_0x5a287c));}function _0x24ff73(_0x40d22b,_0x2a6c71,_0x2233c4){const _0x200f83=_0x9dfaf4['userId'],_0x372c6b='revision:'+_0x25a2f2+':'+_0x200f83+':'+_0x57dec4++,_0x2e4476=_0x5a287c['createRange'](_0x2a6c71,_0x2233c4);_0x241724['markers']['set'](_0x372c6b,_0x2e4476),null!==_0x200f83&&_0x17eb3d['add'](_0x200f83);}}['_getVidAttributeName'](_0x4f06be){switch(_0x4f06be['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x35f158,_0x1f3c22){_0x35f158['baseVersion']=null;for(const _0x2d7d7c in _0x35f158){const _0x1783ca=_0x35f158[_0x2d7d7c];if(_0x1783ca instanceof gt){const _0x13a298=_0x1f3c22['get'](_0x1783ca['root']['rootName']);_0x35f158[_0x2d7d7c]=this['_fixPosition'](_0x1783ca,_0x13a298);}if(_0x1783ca instanceof vt){const _0xd3c1fa=_0x1f3c22['get'](_0x1783ca['root']['rootName']);_0x35f158[_0x2d7d7c]=this['_fixRange'](_0x1783ca,_0xd3c1fa);}'root'===_0x2d7d7c&&(_0x35f158['root']=_0x1f3c22['get'](_0x35f158['root']['rootName']));}}['_fixRange'](_0x2ab875,_0x22ad57){return this['editor']['model']['createRange'](this['_fixPosition'](_0x2ab875['start'],_0x22ad57),this['_fixPosition'](_0x2ab875['end'],_0x22ad57));}['_fixPosition'](_0x1ba830,_0x5749c9){return this['editor']['model']['createPositionFromPath'](_0x5749c9,_0x1ba830['path'],_0x1ba830['stickiness']);}['_handleInsertOperation'](_0x6677b8){const _0x317891=this['_idsRoots']['get'](_0x6677b8['position']['root']['rootName']),_0x15ddf1=this['_fixPosition'](_0x6677b8['position'],_0x317891),_0x4452e6=null===_0x6677b8['_authorId']?null:_0x6677b8['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x140242=_0x15ddf1['parent'],_0x1e0c64=this['_revisionId'],_0x4eaffe=[];for(const _0x1993e4 of _0x6677b8['nodes'])if(_0x1993e4['is']('element'))_0x4eaffe['push'](this['_makeIdsRoot'](_0x1993e4));else{for(let _0x31a993=0x0;_0x31a993<_0x1993e4['offsetSize'];_0x31a993++)_0x4eaffe['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x138816=this['_revisionId'];for(let _0x185839=_0x1e0c64;_0x185839<_0x138816;_0x185839++)this['_touched']['set'](_0x185839,{'userId':_0x4452e6});_0x140242['_insertChild'](_0x15ddf1['offset'],_0x4eaffe);}['_handleMoveOperation'](_0xfc4c7e){(_0xfc4c7e=this['_cloneOperation'](_0xfc4c7e,this['_idsRoots']))['_execute']();const _0x47083c=null===_0xfc4c7e['_authorId']?null:_0xfc4c7e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x421649=_0xfc4c7e['getMovedRangeStart'](),_0x304e15=_0x421649['parent'],_0x2b3e4b=_0x421649['offset'];!function _0x5dc4cb(_0x5311b5,_0x40dc16,_0x4efb13,_0x2f747a){for(let _0x717bb0=_0x4efb13;_0x717bb0<_0x2f747a;_0x717bb0++){const _0x30e870=_0x40dc16['getChild'](_0x717bb0);_0x30e870['is']('element','$text')?_0x5311b5['set'](_0x30e870['getAttribute']('vid'),{'userId':_0x47083c}):(_0x5311b5['set'](_0x30e870['getAttribute']('vid_start'),{'userId':_0x47083c}),_0x5dc4cb(_0x5311b5,_0x30e870,0x0,_0x30e870['childCount']),_0x5311b5['set'](_0x30e870['getAttribute']('vid_end'),{'userId':_0x47083c}));}}(this['_touched'],_0x304e15,_0x2b3e4b,_0x2b3e4b+_0xfc4c7e['howMany']);}['_handleMergeOperation'](_0x451d1d){const _0x47d755=null===(_0x451d1d=this['_cloneOperation'](_0x451d1d,this['_idsRoots']))['_authorId']?null:_0x451d1d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3a1982=_0x451d1d['targetPosition']['parent'],_0xbe8fb5=_0x451d1d['sourcePosition']['parent'],_0x4a88cc=_0x3a1982['getAttribute']('vid_end'),_0x9afa75=_0xbe8fb5['getAttribute']('vid_start');_0x3a1982['_setAttribute']('vid_end',_0xbe8fb5['getAttribute']('vid_end')),_0xbe8fb5['_setAttribute']('vid_end',_0x4a88cc),this['_touched']['set'](_0x9afa75,{'userId':_0x47d755}),this['_touched']['set'](_0x4a88cc,{'userId':_0x47d755}),_0x451d1d['_execute']();}['_handleSplitOperation'](_0x4e3d9c){const _0x29fccc=null===(_0x4e3d9c=this['_cloneOperation'](_0x4e3d9c,this['_idsRoots']))['_authorId']?null:_0x4e3d9c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x495cc9=_0x4e3d9c['graveyardPosition'],_0x1acf77=_0x4e3d9c['splitPosition']['parent'];_0x4e3d9c['_execute']();const _0x12b504=_0x1acf77['getAttribute']('vid_end'),_0x5b4fbe=_0x4e3d9c['insertionPosition']['nodeAfter'];if(_0x495cc9){const _0x3be65c=_0x5b4fbe['getAttribute']('vid_end'),_0xce6fe4=_0x1acf77['getAttribute']('vid_end');_0x1acf77['_setAttribute']('vid_end',_0x3be65c),_0x5b4fbe['_setAttribute']('vid_end',_0xce6fe4),this['_touched']['set'](_0x1acf77['getAttribute']('vid_end'),{'userId':_0x29fccc}),this['_touched']['set'](_0x5b4fbe['getAttribute']('vid_start'),{'userId':_0x29fccc});}else{const _0x36f2ba=this['_revisionId']++,_0x4e528c=this['_revisionId']++;_0x1acf77['_setAttribute']('vid_end',_0x36f2ba),_0x5b4fbe['_setAttribute']('vid_start',_0x4e528c),_0x5b4fbe['_setAttribute']('vid_end',_0x12b504),this['_touched']['set'](_0x36f2ba,{'userId':_0x29fccc}),this['_touched']['set'](_0x4e528c,{'userId':_0x29fccc});}}['_handleMarkerOperation'](_0x310184){if(!_0x310184['affectsData'])return;const _0x20c622=(_0x310184=this['_cloneOperation'](_0x310184,this['_diffRoots']))['oldRange']?_0x310184['oldRange']['root']:null,_0x3fd8cc=_0x310184['newRange']?_0x310184['newRange']['root']:null;_0x20c622&&this['_markers']['delete'](_0x310184['name']),_0x3fd8cc&&this['_markers']['set'](_0x310184['name'],_0x310184['newRange']['clone']());const _0x3d99a0=null===_0x310184['_authorId']?null:_0x310184['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3880cd=_0x310184['name'];if(!this['_touchedMarkers']['has'](_0x3880cd))return void this['_touchedMarkers']['set'](_0x3880cd,{'range':_0x310184['oldRange'],'userId':_0x3d99a0});const _0x306834=this['_touchedMarkers']['get'](_0x3880cd),_0x11e005=_0x306834['range'],_0x211e7b=_0x310184['newRange'];null==_0x11e005&&null==_0x211e7b||_0x11e005&&_0x211e7b&&_0x11e005['isEqual'](_0x211e7b)?this['_touchedMarkers']['delete'](_0x310184['name']):_0x306834['userId']=_0x3d99a0;}['_handleRootOperation'](_0x4bd297,_0x5309dc){this['_diffRoots']['has'](_0x4bd297['rootName'])?this['_diffRoots']['get'](_0x4bd297['rootName'])['_isAttached']=_0x4bd297['isAdd']:(this['_diffRoots']['set'](_0x4bd297['rootName'],G(_0x4bd297['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x4bd297['rootName'],{}),_0x5309dc&&this['_idsRoots']['set'](_0x4bd297['rootName'],G(_0x4bd297['rootName'],!0x0)));const _0x45bce3=null===_0x4bd297['_authorId']?null:_0x4bd297['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xdc6dd=this['_touchedRoots']['get'](_0x4bd297['rootName']);_0xdc6dd&&_0xdc6dd['userId']===_0x45bce3?this['_touchedRoots']['delete'](_0x4bd297['rootName']):this['_touchedRoots']['set'](_0x4bd297['rootName'],{'userId':_0x45bce3,'isAttached':_0x4bd297['isAdd']});}['_handleRootAttributeOperation'](_0x5b2702){const _0xbca3ce=this['_diffRootsAttributes']['get'](_0x5b2702['root']['rootName']);null===_0x5b2702['newValue']?delete _0xbca3ce[_0x5b2702['key']]:_0xbca3ce[_0x5b2702['key']]=_0x5b2702['newValue'];}}function q(_0x85d251){const _0x21573a=G(_0x85d251['rootName'],_0x85d251['isAttached']());for(const _0x53788d of _0x85d251['getChildren']()){const _0x365df9=_0x53788d['_clone'](!0x0);_0x21573a['_appendChild'](_0x365df9);}return _0x21573a;}function G(_0x36ca6d,_0x72a6c6=!0x0){const _0x46822c=new wt();return _0x46822c['rootName']=_0x36ca6d,_0x46822c['_isAttached']=_0x72a6c6,_0x46822c['isAttached']=()=>_0x46822c['_isAttached'],_0x46822c;}function L(_0x259fb2,_0x2bf496,_0x2d87cf){const _0x2222d4='elementEnd'==_0x259fb2['type']?_0x2d87cf['createPositionAt'](_0x259fb2['item'],'end'):_0x2d87cf['createPositionBefore'](_0x259fb2['item']);return _0x2d87cf['createPositionFromPath'](_0x2bf496,_0x2222d4['path'],_0x2222d4['stickiness']);}function W(_0x40b606,_0x3c722f,_0x386cfe){const _0x2a9352='elementStart'==_0x40b606['type']?_0x386cfe['createPositionAt'](_0x40b606['item'],0x0):_0x386cfe['createPositionAfter'](_0x40b606['item']);return _0x386cfe['createPositionFromPath'](_0x3c722f,_0x2a9352['path'],_0x2a9352['stickiness']);}class ns extends _0x1275b9{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x594545,_0x174dc6){super(_0x594545),this['focusTracker']=new _0x1dcd76(),this['keystrokes']=new _0x14c947(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x174dc6),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'](),_0x4100f6({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x2beb38=_0xff37b0=>_0xff37b0['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2beb38),this['keystrokes']['set']('arrowleft',_0x2beb38),this['keystrokes']['set']('arrowup',_0x2beb38),this['keystrokes']['set']('arrowdown',_0x2beb38);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x49b09a){this['revisionNameInputView']['fieldView']['element']['value']=_0x49b09a['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0xf2fef5){const _0x159de4=new at(this['locale'],_0x57da9f),_0x4eb2ac=_0x159de4['fieldView'];_0x4eb2ac['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x44cf0a=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0xf2fef5&&(_0x44cf0a+='\x20('+y(this['locale'],'optional')+')'),(_0x159de4['label']=_0x44cf0a,_0x4eb2ac['on']('input',()=>{this['revisionNameInputValue']=_0x4eb2ac['element']['value']['trim']();}),_0x159de4);}}class u extends _0x2fb962{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x23f744=this['editor'],_0x5a809a=_0x23f744['plugins']['get']('RevisionTracker');_0x23f744['ui']['componentFactory']['add']('revisionHistory',_0x3e199e=>{const _0x236e19=_0x5419ca(_0x3e199e),_0x11dd70=_0x236e19['panelView']['children'],_0x384056=new te(_0x3e199e),_0x2bcebf=new _0x3b56f3(_0x3e199e),_0x148f1a=new _0x59d598(_0x3e199e),_0x32b76e=new _0x3b56f3(_0x3e199e),_0x44fe95=new _0x59d598(_0x3e199e);return _0x236e19['bind']('isEnabled')['to'](_0x5a809a,'isReady',_0x5a809a,'isEnabled',_0x23f744,'isReadOnly',(_0x5a1270,_0x4955d8,_0x25abf5)=>_0x5a1270&&_0x4955d8&&!_0x25abf5),_0x236e19['buttonView']['set']({'icon':_0x403ea6['history'],'label':y(_0x3e199e,'Revision\x20history'),'tooltip':!0x0}),_0x148f1a['set']({'label':y(_0x3e199e,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x148f1a['bind']('isEnabled')['to'](_0x5a809a,'isReady',_0x5a809a,'isEnabled',_0x23f744,'isReadOnly',(_0x1256e9,_0x535dbd,_0xdeeae1)=>_0x1256e9&&_0x535dbd&&!_0xdeeae1),_0x148f1a['on']('execute',()=>this['_showDialog']()),_0x44fe95['set']({'label':y(_0x3e199e,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x44fe95['bind']('isEnabled')['to'](_0x5a809a,'isReady',_0x23f744,'isReadOnly',(_0x4ef4d3,_0x1fa5bb)=>_0x4ef4d3&&!_0x1fa5bb),_0x44fe95['on']('execute',()=>{_0x23f744['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x236e19['isOpen']=!0x1,_0x23f744['editing']['view']['focus']();}),_0x2bcebf['children']['add'](_0x148f1a),_0x32b76e['children']['add'](_0x44fe95),_0x384056['role']='menu',_0x384056['items']['addMany']([_0x2bcebf,_0x32b76e]),_0x11dd70['add'](_0x384056),_0x236e19;}),_0x23f744['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x218974=this['editor'],_0x2821ab=_0x218974['locale'],_0x5ef4be=new _0xf5868d(_0x2821ab),_0x401a42=new _0x135b7d(_0x2821ab);_0x5ef4be['buttonView']['set']({'icon':_0x403ea6['history'],'label':y(_0x2821ab,'Revision\x20history')});const _0x1cbad8=new _0x491fb8(_0x2821ab,_0x5ef4be),_0x2c1a85=new _0x4d5adb(_0x2821ab);_0x2c1a85['set']({'label':y(_0x2821ab,'Save\x20current\x20revision')}),_0x2c1a85['delegate']('execute')['to'](_0x5ef4be),_0x2c1a85['on']('execute',()=>{this['_showDialog']();}),_0x1cbad8['children']['add'](_0x2c1a85),_0x401a42['items']['add'](_0x1cbad8);const _0x392952=new _0x491fb8(_0x2821ab,_0x5ef4be),_0x2b767c=new _0x4d5adb(_0x2821ab);return _0x2b767c['set']({'label':y(_0x2821ab,'Open\x20revision\x20history')}),_0x2b767c['delegate']('execute')['to'](_0x5ef4be),_0x2b767c['on']('execute',()=>{_0x218974['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x392952['children']['add'](_0x2b767c),_0x401a42['items']['add'](_0x392952),_0x5ef4be['panelView']['children']['add'](_0x401a42),_0x5ef4be;}['_showDialog'](){const _0x23f3f6=this['editor'],_0x1e93f9=_0x23f3f6['locale'],t=_0x1e93f9['t'],_0x155d3e=_0x23f3f6['plugins']['get']('Dialog'),_0x5031fe=_0x23f3f6['plugins']['get']('RevisionTracker');function _0x2fb669(_0x3e1de4){_0x23f3f6['config']['get']('revisionHistory.requireRevisionName')&&''===_0x3e1de4['revisionName']?_0x3e1de4['revisionNameInputView']['errorText']=y(_0x1e93f9,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x23f3f6['plugins']['get'](l)['saveRevision']({'name':_0x3e1de4['revisionName']}),_0x155d3e['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x2fb669(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x155d3e['show']({'id':'revisionSave','title':y(_0x1e93f9,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x155d3e['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x4f0bee){_0x4f0bee['bind']('isEnabled')['to'](_0x5031fe,'isReady',_0x5031fe,'isEnabled',_0x23f3f6,'isReadOnly',(_0x8af3a8,_0x40f073,_0x38a11d)=>_0x8af3a8&&_0x40f073&&!_0x38a11d);},'onExecute':()=>_0x2fb669(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x131c77=this['editor'],_0x322c67=_0x131c77['locale'];this['_saveRevisionFormView']=new ns(_0x322c67,_0x131c77['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x1275b9{['changeId'];['_model'];constructor(_0x1fa874,_0x19080b){super(_0x1fa874),this['_model']=_0x19080b,this['changeId']=_0x19080b['id'];const _0x518f2e=this['bindTemplate'],_0x5f338d=y(_0x1fa874,_0x19080b['data']['isSuggestion']?'Suggested\x20by':'add'==_0x19080b['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x19080b['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x518f2e['to']('type',_0x2c5444=>'ck-revision-change__'+_0x2c5444)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x5f338d}]},{'text':'\x20'+_0x19080b['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x5cdee1(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0xaf41c6){super(),this['id']=_0xaf41c6['id']||_0x387b3f(),this['author']=_0xaf41c6['author'],this['type']=_0xaf41c6['type'],this['data']=_0xaf41c6['data']||{},this['rootName']=_0xaf41c6['rootName'],this['set']('createdAt',_0xaf41c6['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(_0x7ff3ad,_0x5b1c3f){this['newRevisionId']=_0x7ff3ad,this['oldRevisionId']=_0x5b1c3f,this['changes']=new _0x2a8c18();}['_setChanges'](_0x4a4148){for(const _0x54eda5 of _0x4a4148)this['changes']['add'](_0x54eda5);}}const tt={'c':_0x4ceace,'a':_0x5769f3,'e':_0xa25d7c,'r':_0x6d9957,'u':_0x4602e4};class d extends _0x2fb962{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x52f1f2,_0x461d25,A];}constructor(_0x2138d2){super(_0x2138d2),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',(_0x1b7258,_0x1bfb39,_0x55c449)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x17a6ae=>{for(const _0x190ae4 of this['editor']['editing']['view']['document']['roots'])_0x55c449?_0x17a6ae['removeClass']('ck-editor__editable__overlay',_0x190ae4):_0x17a6ae['addClass']('ck-editor__editable__overlay',_0x190ae4);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x554035=>null!==_0x554035),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x74cf7a,_0x5dd8a4,_0x2c18aa)=>_0x74cf7a&&_0x2c18aa?_0x5dd8a4['changes']['getIndex'](_0x2c18aa):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x455fd5,_0x5eb81d)=>_0x455fd5?_0x5eb81d['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x461d25);}['init'](){const _0x340a18=this['editor'],_0x3af177=new yt(_0x340a18,{'direction':'backward'}),_0x33a6b7=new yt(_0x340a18,{'direction':'forward'});(_0x340a18['commands']['add']('showPreviousChange',_0x3af177),_0x340a18['commands']['add']('showNextChange',_0x33a6b7),_0x340a18['commands']['add']('restoreRevision',new bt(_0x340a18)),this['on']('change:numberOfChanges',()=>{_0x3af177['refresh'](),_0x33a6b7['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x340a18['enableReadOnlyMode']('revision-viewer'),_0x340a18['plugins']['has']('WidgetToolbarRepository'))&&_0x340a18['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x4fec90){await this['loadRevisionData'](_0x4fec90);const _0x3585a3={};for(const _0x3a1165 in _0x4fec90['diffData']){if(_0x4fec90['diffData'][_0x3a1165]['attachChange']&&!_0x4fec90['diffData'][_0x3a1165]['attachChange']['isAttached'])continue;const _0x2366dc=this['_removeRevisionMarkers'](JSON['parse'](_0x4fec90['diffData'][_0x3a1165]['insertions'])),_0x56a08a=this['editor']['editing']['view']['document'],_0x17d5f0=new _0x5b6b51(_0x56a08a,_0x2366dc['map'](_0x372418=>this['_getViewObj'](_0x372418)));this['editor']['data']['processor']['useFillerType']('marked'),_0x3585a3[_0x3a1165]=this['editor']['data']['processor']['toData'](_0x17d5f0),this['editor']['data']['processor']['useFillerType']('default');}return _0x3585a3;}async['getRevisionRootsAttributes'](_0x1fc197){await this['loadRevisionData'](_0x1fc197);const _0xfe0298={};for(const _0x46ec08 in _0x1fc197['diffData'])_0x1fc197['diffData'][_0x46ec08]['attachChange']&&!_0x1fc197['diffData'][_0x46ec08]['attachChange']['isAttached']||(_0xfe0298[_0x46ec08]=_0x1fc197['diffData'][_0x46ec08]['attributesAfter']||{});return _0xfe0298;}['_removeRevisionMarkers'](_0xabb586){return(_0xabb586=_0xabb586['filter'](_0x587749=>!_0x587749['name']||'revision-start'!==_0x587749['name']&&'revision-end'!==_0x587749['name']))['forEach'](_0x372729=>{'string'!=typeof _0x372729&&(_0x372729['children']=this['_removeRevisionMarkers'](_0x372729['children']),_0x372729['attributes']=_0x372729['attributes']['filter'](_0x4148c6=>!_0x4148c6[0x0]['startsWith']('data-revision-')));}),_0xabb586;}async['compare'](_0x5b9e2b,_0x2f5bb0,_0x2e5bbc=!0x1){if(!this['isEnabled'])return;const _0x1bdbab=this['diff'],_0x4c50c1=this['repository'],_0x11f988='string'==typeof _0x5b9e2b?_0x4c50c1['getRevision'](_0x5b9e2b):_0x5b9e2b,_0x29750a='string'==typeof _0x2f5bb0?_0x4c50c1['getRevision'](_0x2f5bb0):_0x2f5bb0,_0x389040=_0x11f988['id'],_0x7507f1=_0x29750a?_0x29750a['id']:null;if(!_0x2e5bbc&&this['diff']&&this['diff']['newRevisionId']===_0x389040&&this['diff']['oldRevisionId']===_0x7507f1)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x389040,_0x7507f1);const _0x3a0926=this['_getRevisionsRange'](_0x11f988,_0x29750a,!0x0)['map'](_0x2cc9c8=>this['loadRevisionData'](_0x2cc9c8));return _0x3a0926['push'](new Promise(_0x256e2e=>{setTimeout(_0x256e2e,0x14);})),Promise['all'](_0x3a0926)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x1cd89e=this['_getDiff'](_0x389040,_0x7507f1);for(const _0x5abdc6 of _0x1cd89e['changes'])this['_changeIdToChange']['set'](_0x5abdc6['id'],_0x5abdc6);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x4365b7=>{for(const _0x403581 of this['editor']['model']['document']['getRootNames']())_0x4365b7['detachRoot'](_0x403581);for(const _0x4d11fb of Object['keys'](_0x1cd89e['model'])){const _0x474d8a=_0x4365b7['addRoot'](_0x4d11fb);for(const _0x2f3667 of Object['keys'](_0x1cd89e['attributes'][_0x4d11fb]))_0x4365b7['setAttribute'](_0x2f3667,_0x1cd89e['attributes'][_0x4d11fb][_0x2f3667],_0x474d8a);_0x4365b7['insert'](_0x1cd89e['model'][_0x4d11fb],_0x474d8a,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x1cd89e['changes'])),this['isReady']=!0x0;})['catch'](_0x14e81e=>{console['error'](_0x14e81e),this['_cleanUp'](),_0x1bdbab&&(this['diff']=_0x1bdbab),this['isReady']=!0x0;});}['addRevisionData'](_0x3fe75f,_0x135881){const _0x17218a=this['repository']['createRevision'](_0x3fe75f);return _0x17218a['on']('_update',(_0x31ef7a,_0x5d4a97,_0x1212e6)=>_0x135881(_0x5d4a97,_0x1212e6,_0x17218a)),this['repository']['addRevision'](_0x17218a),_0x17218a;}['loadRevisionData'](_0x1012f5){if(!_0x1012f5||_0x1012f5['diffData'])return Promise['resolve']();{const _0xbd988b=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xbd988b,'revisionId':_0x1012f5['id']})['then'](_0xfed309=>{_0x1012f5['_update']({'diffData':_0xfed309['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},_0x237711=>{for(const _0x3370d9 of this['editor']['model']['document']['getRootNames']())_0x237711['detachRoot'](_0x3370d9);});}['_sortAndFilterDiffChanges'](_0x49314c){const _0x39faf2=[],_0xe7a618=new Map();for(const _0x32dd7a of this['editor']['model']['document']['getRootNames']()){const _0x314659=this['editor']['editing']['view']['getDomRoot'](_0x32dd7a);if(!_0x314659)continue;const _0x3a5bf4=_0x314659['getClientRects']()['item'](0x0);_0x3a5bf4&&(_0x39faf2['push'](_0x32dd7a),_0xe7a618['set'](_0x32dd7a,_0x3a5bf4));}return _0x39faf2['sort']((_0x4366a5,_0x4e9f2d)=>{const _0xeed925=_0xe7a618['get'](_0x4366a5),_0x1c753f=_0xe7a618['get'](_0x4e9f2d);return _0xeed925['y']-_0x1c753f['y']||_0xeed925['x']-_0x1c753f['x'];}),(_0x49314c=_0x49314c['filter'](_0x13a88e=>_0x39faf2['includes'](_0x13a88e['rootName'])))['sort']((_0x18361d,_0x579c46)=>_0x39faf2['indexOf'](_0x18361d['rootName'])-_0x39faf2['indexOf'](_0x579c46['rootName'])),_0x49314c;}['_makeTape'](_0xf670d7){const _0x6a873=Array['from'](_0xf670d7['markers'])['filter'](([_0x58a32f,_0x4ff430])=>_0x58a32f['startsWith']('revision:')&&!_0x4ff430['isCollapsed']),_0x32779a=Array['from'](this['editor']['model']['createRangeIn'](_0xf670d7)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x6a873['length'])for(const _0x2b272f of _0x32779a){const [_0x5d23bb,_0x58cbde]=_0x6a873[0x0],[,_0x391c5d,_0x5b357a]=_0x5d23bb['split'](':');if(_0x58cbde['end']['isEqual'](_0x2b272f['nextPosition'])&&_0x6a873['shift'](),(_0x2b272f['previousPosition']['isEqual'](_0x58cbde['start'])||_0x2b272f['previousPosition']['isAfter'](_0x58cbde['start']))&&('insertion'==_0x391c5d?_0x2b272f['isAdded']={'userId':_0x5b357a}:'deletion'==_0x391c5d&&(_0x2b272f['isRemoved']={'userId':_0x5b357a})),0x0==_0x6a873['length'])break;}return _0x32779a;}['_refreshStartEndIndex'](_0x51794b){const _0x3d6610=new Map();for(let _0x433fc4=0x0;_0x433fc4<_0x51794b['length'];_0x433fc4++)'text'===_0x51794b[_0x433fc4]['type']?(_0x51794b[_0x433fc4]['item']['startIndex']=_0x433fc4,_0x51794b[_0x433fc4]['item']['endIndex']=_0x433fc4):('elementStart'===_0x51794b[_0x433fc4]['type']?_0x51794b[_0x433fc4]['item']['startIndex']=_0x433fc4:'elementEnd'===_0x51794b[_0x433fc4]['type']&&(_0x51794b[_0x433fc4]['item']['endIndex']=_0x433fc4),_0x3d6610['set'](_0x51794b[_0x433fc4]['id'],_0x433fc4));for(const _0x2e9802 of _0x3d6610['values']())'elementStart'===_0x51794b[_0x2e9802]['type']?_0x51794b[_0x2e9802]['item']['endIndex']=_0x3d6610['get'](_0x51794b[_0x2e9802]['pairId']):'elementEnd'===_0x51794b[_0x2e9802]['type']&&(_0x51794b[_0x2e9802]['item']['startIndex']=_0x3d6610['get'](_0x51794b[_0x2e9802]['pairId']));}['_processTape'](_0x3bb79c){for(let _0x253af2=0x0;_0x253af2<_0x3bb79c['length'];_0x253af2++){if('elementStart'===_0x3bb79c[_0x253af2]['type'])_0x3bb79c[_0x253af2]['item']['startIndex']=_0x253af2;else{if('elementEnd'===_0x3bb79c[_0x253af2]['type']){_0x3bb79c[_0x253af2]['item']['endIndex']=_0x253af2;const _0x3a2fe6=_0x3bb79c[_0x253af2]['item']['startIndex'];_0x3bb79c[_0x3a2fe6]['pairId']=_0x3bb79c[_0x253af2]['id'],_0x3bb79c[_0x253af2]['pairId']=_0x3bb79c[_0x3a2fe6]['id'];}else _0x3bb79c[_0x253af2]['item']['startIndex']=_0x253af2,_0x3bb79c[_0x253af2]['item']['endIndex']=_0x253af2,_0x3bb79c[_0x253af2]['pairId']=null;}_0x3bb79c[_0x253af2]['markersStart']||(_0x3bb79c[_0x253af2]['markersStart']=[],_0x3bb79c[_0x253af2]['markersEnd']=[]);}}['_markInsertions'](_0x4492fd,_0xb20041){const _0x5722d0=_0x4492fd['filter'](_0x16d5be=>!_0x16d5be['isAdded']);for(let _0x2d7964=0x0;_0x2d7964<_0xb20041['length'];_0x2d7964++)_0xb20041[_0x2d7964]['isAdded']&&(_0x5722d0[_0x2d7964]['isAdded']=_0xb20041[_0x2d7964]['isAdded']);}['_makeModelFromViewString'](_0x3c6202){const _0x33dabc=JSON['parse'](_0x3c6202),_0x2f2037=this['editor']['editing']['view']['document'],_0x131082=new _0x5b6b51(_0x2f2037,_0x33dabc['map'](_0x4d0ee4=>this['_getViewObj'](_0x4d0ee4)));return this['editor']['data']['toModel'](_0x131082);}['_getViewObj'](_0x407ad9){const _0x7e5c=this['editor']['editing']['view']['document'];if('string'==typeof _0x407ad9)return new _0x325dd2(_0x7e5c,_0x407ad9);{const _0x4a26f6=_0x407ad9['children']['map'](_0x5ac8a8=>this['_getViewObj'](_0x5ac8a8));return new(tt[_0x407ad9['type']]||_0x2f8f9d)(_0x7e5c,_0x407ad9['name'],_0x407ad9['attributes'],_0x4a26f6);}}['_getDiff'](_0x57da2e,_0x55c32d=null){const _0x18826c=this['repository']['getRevision'](_0x57da2e),_0x340924=_0x55c32d?this['repository']['getRevision'](_0x55c32d):null,_0x208fb0=this['_getRevisionsRange'](_0x18826c,_0x340924),_0x10973d=_0x208fb0[_0x208fb0['length']-0x1],_0x373a75=new Map(),_0x1c7382={'model':{},'attributes':{},'changes':[]},_0x489d80=new Set(),_0x3a1eba=new Map();for(let _0x562e8a=_0x208fb0['length']-0x1;_0x562e8a>=0x0;_0x562e8a--){const _0x7248d6=_0x208fb0[_0x562e8a];for(const _0x4cd7fc of Object['keys'](_0x7248d6['diffData']))if(_0x7248d6['diffData'][_0x4cd7fc]['attachChange']){const _0x15526b=_0x7248d6['diffData'][_0x4cd7fc]['attachChange'];_0x15526b['isAttached']?(_0x489d80['add'](_0x4cd7fc),_0x3a1eba['has'](_0x4cd7fc)&&_0x3a1eba['get'](_0x4cd7fc)['userId']==_0x15526b['userId']?_0x3a1eba['delete'](_0x4cd7fc):_0x3a1eba['set'](_0x4cd7fc,_0x15526b)):_0x3a1eba['has'](_0x4cd7fc)?(_0x489d80['delete'](_0x4cd7fc),_0x3a1eba['delete'](_0x4cd7fc)):(_0x489d80['add'](_0x4cd7fc),_0x3a1eba['set'](_0x4cd7fc,_0x15526b));}else _0x489d80['add'](_0x4cd7fc);}for(const _0x15634b of _0x489d80){const _0x38e7d6=_0x3a1eba['has'](_0x15634b)&&!_0x3a1eba['get'](_0x15634b)['isAttached'];let _0xf1d9ee=_0x38e7d6?_0x208fb0['length']-0x1:0x0;const _0x431d19=_0x38e7d6?-0x1:0x1;for(;_0x208fb0[_0xf1d9ee];){const _0x53610f=_0x208fb0[_0xf1d9ee];if(_0x53610f['diffData'][_0x15634b]){const _0x31bb78=_0x38e7d6?_0x53610f['diffData'][_0x15634b]['attributesBefore']:_0x53610f['diffData'][_0x15634b]['attributesAfter'];_0x1c7382['attributes'][_0x15634b]=_0x31bb78?_0x13bce4(_0x31bb78):{};break;}_0xf1d9ee+=_0x431d19;}}for(const _0x469fc1 of _0x208fb0){_0x469fc1['model']={};for(const _0x1dbd10 of _0x469fc1['authors'])_0x373a75['set'](_0x1dbd10['id'],_0x1dbd10);for(const _0x293034 of _0x489d80){const _0x37a05f=_0x469fc1['diffData'][_0x293034]?_0x469fc1['diffData'][_0x293034]['insertions']:'[]',_0x2502eb=_0x469fc1['diffData'][_0x293034]?_0x469fc1['diffData'][_0x293034]['deletions']:'[]';_0x469fc1['model'][_0x293034]={'insertions':this['_makeModelFromViewString'](_0x37a05f),'deletions':this['_makeModelFromViewString'](_0x2502eb)};}}for(const _0x9ddc78 of _0x489d80){let _0x1d6a3b=null,_0x249eb9=0x0;const _0x2a3835=new Map(Array['from'](_0x18826c['model'][_0x9ddc78]['insertions']['markers'])['filter'](([_0xdc56d1])=>!_0xdc56d1['startsWith']('revision:')));let _0x38f194=0x0;for(const _0x818f54 of _0x208fb0){const _0x3dbbf4=this['_makeTape'](_0x818f54['model'][_0x9ddc78]['insertions']);_0x818f54==_0x18826c?(_0x1d6a3b=_0x3dbbf4,_0x249eb9=_0x1d6a3b['length'],_0x1d6a3b['forEach'](_0x2689d7=>{_0x2689d7['id']=_0x38f194++;}),this['_processTape'](_0x1d6a3b)):this['_markInsertions'](_0x1d6a3b,_0x3dbbf4);const _0x70edca=_0x1d6a3b['filter'](_0x38381f=>!_0x38381f['isAdded'])['map'](_0x375213=>_0x375213['id']);let _0x287b1d=0x0;const _0x4baade=this['_makeTape'](_0x818f54['model'][_0x9ddc78]['deletions']);_0x4baade['forEach'](_0x527820=>{_0x527820['isRemoved']?_0x527820['id']=_0x249eb9++:_0x527820['id']=_0x70edca[_0x287b1d++];}),this['_processTape'](_0x4baade),this['_setDistance'](_0x1d6a3b,'isAdded'),this['_setDistance'](_0x4baade,'isRemoved'),_0x818f54==_0x18826c&&this['_markMarkers'](_0x1d6a3b,_0x2a3835),_0x1d6a3b=this['_joinTapes'](_0x1d6a3b,_0x4baade),this['_refreshStartEndIndex'](_0x1d6a3b),this['_setDistance'](_0x1d6a3b,'isRemoved');}_0x1d6a3b=_0x1d6a3b['filter'](_0x26ec45=>!(_0x26ec45['isAdded']&&_0x26ec45['isRemoved']));const _0x279a5a=new Map(_0x10973d['model'][_0x9ddc78]['deletions']['markers']),_0x4b7071=new Set(_0x2a3835['keys']());for(const _0xda3ce1 of _0x279a5a['keys']())_0x4b7071['delete'](_0xda3ce1);this['_markSuggestions'](_0x1d6a3b,_0x4b7071),this['_fixObsoleteTags'](_0x1d6a3b),_0x1d6a3b=this['_removeMissingPairs'](_0x1d6a3b),_0x1d6a3b=this['_markMismatchedRemovedTags'](_0x1d6a3b),_0x1d6a3b=this['_removeUnsupportedChanges'](_0x1d6a3b);const {root:_0x371943,changes:_0x25bd7e}=this['_makeModelFromTape'](_0x1d6a3b,_0x373a75,_0x9ddc78);_0x1c7382['model'][_0x9ddc78]=_0x371943;const _0x5f406a=_0x3a1eba['get'](_0x9ddc78);if(_0x5f406a){const _0x386d05=_0x373a75['get'](_0x5f406a['userId']),_0x342c7a=new r({'author':_0x386d05,'type':_0x5f406a['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x9ddc78});_0x25bd7e['unshift'](_0x342c7a),_0x1c7382['attributes'][_0x9ddc78]['revisionHistoryAttachChange']=_0x342c7a['id'];}_0x1c7382['changes']=_0x1c7382['changes']['concat'](_0x25bd7e);}return _0x1c7382;}['_markMarkers'](_0x4aeeb3,_0x498aeb){for(let _0x1c5a0c=0x0;_0x1c5a0c<_0x4aeeb3['length'];_0x1c5a0c++)for(const [_0xa671b3,_0x500bf6]of _0x498aeb)_0x500bf6['start']['isEqual'](_0x4aeeb3[_0x1c5a0c]['previousPosition'])&&_0x4aeeb3[_0x1c5a0c]['markersStart']['push'](_0xa671b3),_0x500bf6['end']['isEqual'](_0x4aeeb3[_0x1c5a0c]['nextPosition'])&&_0x4aeeb3[_0x1c5a0c]['markersEnd']['push'](_0xa671b3);}['_joinTapes'](_0x4255f3,_0x21a409){let _0x270477=[],_0x573bce=0x0,_0x3ab8e2=0x0;for(;_0x573bce<_0x4255f3['length']||_0x3ab8e2<_0x21a409['length'];){const _0x32648f=_0x4255f3[_0x573bce]||{},_0x2562fc=_0x21a409[_0x3ab8e2]||{};if(_0x32648f['id']==_0x2562fc['id'])_0x573bce++,_0x3ab8e2++,_0x270477['push'](_0x32648f);else{if(_0x2562fc['isRemoved']&&_0x32648f['isAdded']){const {commonTape:_0x8a741a,iEnd:_0x338358,jEnd:_0x402e69}=this['_threeWayMerge'](_0x4255f3,_0x573bce,_0x21a409,_0x3ab8e2);_0x270477=_0x270477['concat'](_0x8a741a),_0x573bce=_0x338358,_0x3ab8e2=_0x402e69;}else _0x2562fc['isRemoved']?(_0x3ab8e2++,_0x270477['push'](_0x2562fc)):(_0x573bce++,_0x270477['push'](_0x32648f));}}return _0x270477;}['_markSuggestions'](_0x36ea7e,_0x294a33){const _0x1baa66=[];for(let _0x5edb13=0x0;_0x5edb13<_0x36ea7e['length'];_0x5edb13++){for(let _0xa1b66c=0x0;_0xa1b66c<_0x36ea7e[_0x5edb13]['markersStart']['length'];_0xa1b66c++){const _0x5b3e9b=_0x36ea7e[_0x5edb13]['markersStart'][_0xa1b66c];if(!_0x294a33['has'](_0x5b3e9b))continue;const {group:_0x2c2ce4,type:_0x8de813,authorId:_0x1a0bfd}=_0x5ae274(_0x5b3e9b);'revision-suggestion'!=_0x2c2ce4||'insertion'!=_0x8de813&&'deletion'!=_0x8de813||(_0x1baa66['unshift']({'type':_0x8de813,'name':_0x5b3e9b,'userId':_0x1a0bfd}),_0x36ea7e[_0x5edb13]['markersStart']['splice'](_0xa1b66c,0x1),_0xa1b66c--);}_0x3b3c3a(_0x36ea7e[_0x5edb13]);for(let _0x52c24f=0x0;_0x52c24f<_0x36ea7e[_0x5edb13]['markersEnd']['length'];_0x52c24f++){const _0x213089=_0x36ea7e[_0x5edb13]['markersEnd'][_0x52c24f];if(!_0x294a33['has'](_0x213089))continue;const {group:_0x1f8793,type:_0x5cb5cc}=_0x5ae274(_0x213089);if('revision-suggestion'!=_0x1f8793||'insertion'!=_0x5cb5cc&&'deletion'!=_0x5cb5cc)continue;_0x36ea7e[_0x5edb13]['markersEnd']['splice'](_0x52c24f,0x1),_0x52c24f--;const _0x23e0b2=_0x1baa66['findIndex'](_0x6f11e8=>_0x6f11e8['name']==_0x213089);_0x23e0b2>-0x1&&_0x1baa66['splice'](_0x23e0b2,0x1);}}function _0x5ae274(_0x18075){const _0x4b0de1=_0x18075['split'](':');return{'group':_0x4b0de1[0x0],'type':_0x4b0de1[0x1],'subType':_0x4b0de1['length']>=0x5?_0x4b0de1[0x2]:null,'id':_0x4b0de1['length']<0x5?_0x4b0de1[0x2]:_0x4b0de1[0x3],'authorId':_0x4b0de1['length']<0x5?_0x4b0de1[0x3]:_0x4b0de1[0x4],'markerCount':0x6==_0x4b0de1['length']?_0x4b0de1[0x5]:null};}function _0x3b3c3a(_0x3f20cb){for(let _0x5dcda4=0x0;_0x5dcda4<_0x1baa66['length'];_0x5dcda4++){if(_0x3f20cb['isAdded']&&'insertion'==_0x1baa66[_0x5dcda4]['type'])return _0x3f20cb['isAddSuggestion']=_0x1baa66[_0x5dcda4],void delete _0x3f20cb['isAdded'];if(!_0x3f20cb['isAdded']&&!_0x3f20cb['isRemoved']&&'deletion'==_0x1baa66[_0x5dcda4]['type'])return void(_0x3f20cb['isRemoveSuggestion']=_0x1baa66[_0x5dcda4]);}}}['_setDistance'](_0x2af832,_0x319b7e){let _0x3237b6=0x0,_0x2d70cd=!0x1;const _0x5c5db3=new Map();for(const _0x2babd3 of _0x2af832)_0x2babd3[_0x319b7e]?_0x2d70cd&&(_0x3237b6++,_0x2d70cd=!0x1):(_0x3237b6++,_0x2d70cd=!0x0),_0x5c5db3['set'](_0x2babd3['id'],_0x3237b6);for(let _0x1fb8d9=0x0;_0x1fb8d9<_0x2af832['length'];_0x1fb8d9++){if('isRemoved'==_0x319b7e&&_0x2af832[_0x1fb8d9]['isAdded']||'isAdded'==_0x319b7e&&_0x2af832[_0x1fb8d9]['isRemoved'])continue;if('text'==_0x2af832[_0x1fb8d9]['type']){_0x2af832[_0x1fb8d9]['distance']=0x0;continue;}const _0x244343=_0x5c5db3['get'](_0x2af832[_0x1fb8d9]['pairId']),_0x36ce38=_0x5c5db3['get'](_0x2af832[_0x1fb8d9]['id']);_0x2af832[_0x1fb8d9]['distance']=_0x244343-_0x36ce38;}}['_getRevisionsRange'](_0x4926b6,_0x1ff8f3,_0x5df206=!0x1){const _0x223d7f=[];let _0x562644=this['repository']['getIndex'](_0x4926b6),_0x231d80=this['repository']['getIndex'](_0x1ff8f3);for(-0x1==_0x231d80&&(_0x231d80=this['repository']['_revisions']['length'],_0x5df206=!0x1);_0x562644<_0x231d80;)_0x223d7f['push'](this['repository']['getRevision'](_0x562644)),_0x562644++;return _0x5df206&&_0x223d7f['push'](this['repository']['getRevision'](_0x562644)),_0x223d7f;}['_threeWayMerge'](_0x75ad43,_0x39d772,_0x5bc257,_0x2685b7){const _0x469016=this['editor']['model']['schema'];let _0x3d3210=_0x39d772;for(;_0x75ad43[_0x3d3210]&&_0x75ad43[_0x3d3210]['isAdded'];)_0x3d3210++;let _0x10c607=_0x2685b7;for(;_0x5bc257[_0x10c607]&&_0x5bc257[_0x10c607]['isRemoved'];)_0x10c607++;_0x1614ad(_0x75ad43,_0x39d772,_0x3d3210),_0x1614ad(_0x5bc257,_0x2685b7,_0x10c607);const _0x4ff9bb=_0x5bc257['slice'](_0x2685b7,_0x10c607)['concat'](_0x75ad43['slice'](_0x39d772,_0x3d3210));return _0x4ff9bb['sort']((_0x595337,_0x15dfbf)=>_0x595337['side']!=_0x15dfbf['side']?_0x595337['side']-_0x15dfbf['side']:_0x595337['level']!=_0x15dfbf['level']?_0x595337['level']-_0x15dfbf['level']:_0x595337['distance']!=_0x15dfbf['distance']?_0x15dfbf['distance']-_0x595337['distance']:!!_0x595337['isAdded']!=!!_0x15dfbf['isAdded']?-0x1==_0x595337['side']||0x0==_0x595337['side']?_0x595337['isAdded']?-0x1:0x1:_0x595337['isAdded']?0x1:-0x1:_0x595337['index']-_0x15dfbf['index']),{'commonTape':_0x4ff9bb,'iEnd':_0x3d3210,'jEnd':_0x10c607};function _0x1614ad(_0x3d3ab1,_0xe2d3b3,_0x16cbe1){let _0x22f628=-0x1,_0x3106de=Number['POSITIVE_INFINITY'],_0x49c467=!0x0;for(let _0x55aca1=_0xe2d3b3;_0x55aca1<_0x16cbe1;_0x55aca1++)if(_0x469016['isInline'](_0x3d3ab1[_0x55aca1]['item'])||(_0x49c467=!0x1),_0x3d3ab1[_0x55aca1]['item']['startIndex']<_0xe2d3b3&&(_0x22f628=_0x55aca1),_0x3d3ab1[_0x55aca1]['item']['endIndex']>=_0x16cbe1){_0x3106de=_0x55aca1;break;}_0x49c467&&(_0x22f628=_0x16cbe1-0x1);for(let _0x3b6a6e=_0xe2d3b3;_0x3b6a6e<_0x16cbe1;_0x3b6a6e++)_0x3d3ab1[_0x3b6a6e]['side']=_0x3b6a6e<=_0x22f628?-0x1:_0x3b6a6e<_0x3106de?0x0:0x1,_0x3d3ab1[_0x3b6a6e]['index']=_0x3b6a6e;let _0x4ebab7=0x0;for(let _0x352cdb=_0xe2d3b3;_0x352cdb<=_0x22f628;_0x352cdb++)0x0==_0x3d3ab1[_0x352cdb]['distance']?_0x3d3ab1[_0x352cdb]['level']=_0x4ebab7:(_0x4ebab7++,_0x3d3ab1[_0x352cdb]['level']=_0x4ebab7,_0x4ebab7++);for(let _0x2d1559=_0xe2d3b3;_0x2d1559<_0x16cbe1;_0x2d1559++)0x0==_0x3d3ab1[_0x2d1559]['side']&&(_0x3d3ab1[_0x2d1559]['level']=_0x4ebab7);_0x4ebab7=0x0;for(let _0x8b9eb9=_0x16cbe1-0x1;_0x8b9eb9>=_0x3106de;_0x8b9eb9--)0x0==_0x3d3ab1[_0x8b9eb9]['distance']?_0x3d3ab1[_0x8b9eb9]['level']=_0x4ebab7:(_0x4ebab7--,_0x3d3ab1[_0x8b9eb9]['level']=_0x4ebab7,_0x4ebab7--);}}['_fixObsoleteTags'](_0x302161){const _0x4089b2=new Map(),_0x190332=this['editor']['model']['schema'];for(let _0x346ea7=0x1;_0x346ea7<_0x302161['length'];_0x346ea7++){let _0x162183,_0x16e787,_0x475c2f;const _0x54c0fd=_0x302161[_0x346ea7],_0x4bf80f=_0x302161[_0x346ea7-0x1];if('text'==_0x54c0fd['type'])continue;if(_0x54c0fd['type']!=_0x4bf80f['type'])continue;if(!_0x190332['isBlock'](_0x4bf80f['item'])||_0x190332['isLimit'](_0x4bf80f['item']))continue;if(!_0x190332['isBlock'](_0x54c0fd['item'])||_0x190332['isLimit'](_0x54c0fd['item']))continue;if((_0x302161[_0x346ea7]['isAdded']||_0x302161[_0x346ea7]['isAddSuggestion'])&&_0x302161[_0x346ea7-0x1]['isRemoved'])_0x162183=_0x302161[_0x346ea7],_0x16e787=_0x302161[_0x346ea7-0x1],_0x475c2f=_0x346ea7-0x1;else{if(!_0x302161[_0x346ea7]['isRemoved']||!_0x302161[_0x346ea7-0x1]['isAdded']&&!_0x302161[_0x346ea7-0x1]['isAddSuggestion'])continue;_0x162183=_0x302161[_0x346ea7-0x1],_0x16e787=_0x302161[_0x346ea7],_0x475c2f=_0x346ea7;}const _0x50a060=_0x162183['level']==_0x16e787['level'],_0x340c13=Math['abs'](_0x162183['level'])<Math['abs'](_0x16e787['level'])&&0x0==_0x16e787['distance'];(_0x50a060||_0x340c13)&&(_0x4089b2['set'](_0x16e787['id'],_0x162183['id']),_0x302161['splice'](_0x475c2f,0x1),_0x346ea7--,_0x162183['isAdded']=!0x1);}for(let _0x34b8b5=0x0;_0x34b8b5<_0x302161['length'];_0x34b8b5++)_0x4089b2['has'](_0x302161[_0x34b8b5]['pairId'])&&(_0x302161[_0x34b8b5]['pairId']=_0x4089b2['get'](_0x302161[_0x34b8b5]['pairId']));}['_removeMissingPairs'](_0x1b1c79){const _0x303606=new Set(_0x1b1c79['map'](_0x1876c0=>_0x1876c0['id']));for(let _0x3b4128=0x0;_0x3b4128<_0x1b1c79['length'];_0x3b4128++)_0x303606['has'](_0x1b1c79[_0x3b4128]['pairId'])||0x0==_0x1b1c79[_0x3b4128]['distance']||(_0x1b1c79[_0x3b4128]['isIncorrect']=!0x0);return _0x1b1c79['filter'](_0x48bd4e=>!_0x48bd4e['isIncorrect']);}['_markMismatchedRemovedTags'](_0x1c2b55){const _0x10133d=new Set();for(let _0x47e32f=0x0;_0x47e32f<_0x1c2b55['length'];_0x47e32f++){if(_0x10133d['has'](_0x1c2b55[_0x47e32f]['id'])&&_0x1c2b55[_0x47e32f]['isRemoved']&&(_0x1c2b55[_0x47e32f]['isIncorrect']=!0x0),_0x1c2b55[_0x47e32f]['isIncorrect'])continue;if(0x0==_0x1c2b55[_0x47e32f]['distance'])continue;if('elementStart'!=_0x1c2b55[_0x47e32f]['type'])continue;if(null==_0x1c2b55[_0x47e32f]['pairId'])continue;let _0x15b73d=_0x47e32f+0x1,_0x2660dd=0x0;for(;_0x1c2b55[_0x15b73d]['id']!=_0x1c2b55[_0x47e32f]['pairId'];)'elementStart'==_0x1c2b55[_0x15b73d]['type']?_0x2660dd++:'elementEnd'==_0x1c2b55[_0x15b73d]['type']&&_0x2660dd--,_0x15b73d++;if(0x0!=_0x2660dd){if(_0x1c2b55[_0x47e32f]['isRemoved'])_0x1c2b55[_0x47e32f]['isIncorrect']=!0x0;else{for(;_0x15b73d!=_0x47e32f;)_0x1c2b55[_0x15b73d]['isRemoved']&&0x0!=_0x1c2b55[_0x15b73d]['distance']&&(_0x1c2b55[_0x15b73d]['isIncorrect']=!0x0,_0x10133d['add'](_0x1c2b55[_0x15b73d]['pairId'])),_0x15b73d--;}}}return _0x1c2b55['filter'](_0x3cae0a=>!_0x3cae0a['isIncorrect']);}['_removeUnsupportedChanges'](_0xd4e1eb){const _0x5cdf05=this['editor']['model']['schema'];for(let _0x24152d=0x0;_0x24152d<_0xd4e1eb['length'];_0x24152d++){if(!(_0xd4e1eb[_0x24152d]['isAdded']||_0xd4e1eb[_0x24152d]['isAddSuggestion']||_0xd4e1eb[_0x24152d]['isRemoved']||_0xd4e1eb[_0x24152d]['isRemoveSuggestion']))continue;if(0x0==_0xd4e1eb[_0x24152d]['distance'])continue;const _0x2e29e2=_0xd4e1eb[_0x24152d]['item'];_0x5cdf05['isBlock'](_0x2e29e2)||_0x5cdf05['isLimit'](_0x2e29e2)||(_0xd4e1eb[_0x24152d]['isAdded']&&delete _0xd4e1eb[_0x24152d]['isAdded'],_0xd4e1eb[_0x24152d]['isAddSuggestion']&&delete _0xd4e1eb[_0x24152d]['isAddSuggestion'],_0xd4e1eb[_0x24152d]['isRemoveSuggestion']&&delete _0xd4e1eb[_0x24152d]['isRemoveSuggestion'],_0xd4e1eb[_0x24152d]['isRemoved']&&(_0xd4e1eb[_0x24152d]['isIncorrect']=!0x0));}return _0xd4e1eb['filter'](_0x513384=>!_0x513384['isIncorrect']);}['_makeModelFromTape'](_0x5048ac,_0xf3f6d5,_0x9f1c1c){const _0x42078b=new wt(),_0x2b12b3=[],_0x14173e=new Map(),_0xb50d09=this['editor']['model'],_0x2ac6b3=_0xb50d09['schema'],_0x3d860f=[_0x42078b],_0xeab345={},_0x3d9e86={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3d2993=null;const _0xb9aa9=[0x0];for(let _0x50a09b=0x0;_0x50a09b<_0x5048ac['length'];_0x50a09b++){let _0x355923,_0x1cacbc;if('elementStart'===_0x5048ac[_0x50a09b]['type']){_0x355923=_0xb50d09['createPositionFromPath'](_0x42078b,_0xb9aa9);const _0x522ce4=new ft(_0x5048ac[_0x50a09b]['item']['name'],_0x5048ac[_0x50a09b]['item']['getAttributes']());_0x3d860f[0x0]['_appendChild'](_0x522ce4),_0xb9aa9['push'](0x0),_0x3d860f['unshift'](_0x522ce4),_0x1cacbc=_0xb50d09['createPositionFromPath'](_0x42078b,_0xb9aa9),_0x3d2993=null;}else{if('elementEnd'===_0x5048ac[_0x50a09b]['type'])_0x3d860f['shift'](),_0x355923=_0xb50d09['createPositionFromPath'](_0x42078b,_0xb9aa9),_0xb9aa9['pop'](),_0xb9aa9[_0xb9aa9['length']-0x1]++,_0x1cacbc=_0xb50d09['createPositionFromPath'](_0x42078b,_0xb9aa9),_0x3d2993=null;else{if(_0x355923=_0xb50d09['createPositionFromPath'](_0x42078b,_0xb9aa9),_0x3d2993&&_0x4019c2(_0x3d2993,_0x5048ac[_0x50a09b]['item']))_0x3d2993['_data']+=_0x5048ac[_0x50a09b]['item']['data'];else{const _0xdaec39=new _t(_0x5048ac[_0x50a09b]['item']['data'],_0x5048ac[_0x50a09b]['item']['getAttributes']());_0x3d860f[0x0]['_appendChild'](_0xdaec39),_0x3d2993=_0xdaec39;}_0xb9aa9[_0xb9aa9['length']-0x1]+=_0x5048ac[_0x50a09b]['item']['offsetSize'],_0x1cacbc=_0xb50d09['createPositionFromPath'](_0x42078b,_0xb9aa9);}}for(const _0x25e207 of _0x5048ac[_0x50a09b]['markersStart'])_0x14173e['set'](_0x25e207,{'start':_0x355923,'end':null});_0x387be6('isRemoveSuggestion',_0x50a09b,_0x355923,_0x1cacbc),_0x387be6('isAddSuggestion',_0x50a09b,_0x355923,_0x1cacbc),_0x387be6('isRemoved',_0x50a09b,_0x355923,_0x1cacbc),_0x387be6('isAdded',_0x50a09b,_0x355923,_0x1cacbc);for(const _0x2bbbcf of _0x5048ac[_0x50a09b]['markersEnd']){_0x14173e['get'](_0x2bbbcf)['end']=_0x1cacbc;}}for(const [_0x6e9f54,_0xe776eb]of _0x14173e){const _0x4d9d52=this['editor']['model']['createRange'](_0xe776eb['start'],_0xe776eb['end']);_0x42078b['markers']['set'](_0x6e9f54,_0x4d9d52);}return _0x2b12b3['sort']((_0x394aee,_0x3d514b)=>{const _0x5dee61=_0x42078b['markers']['get']('revision:'+_0x394aee['id']),_0x55e059=_0x42078b['markers']['get']('revision:'+_0x3d514b['id']);return _0x5dee61['start']['isBefore'](_0x55e059['start'])?-0x1:_0x5dee61['start']['isAfter'](_0x55e059['start'])?0x1:_0x5dee61['end']['isBefore'](_0x55e059['end'])?-0x1:_0x5dee61['end']['isAfter'](_0x55e059['end'])?0x1:'add'===_0x394aee['type']?-0x1:0x1;}),{'root':_0x42078b,'changes':_0x2b12b3};function _0x387be6(_0x2b66e4,_0x498f4b,_0x562dcc,_0x6e7956){const _0x4bf042=!!_0x5048ac[_0x498f4b][_0x2b66e4],_0x46deb6=_0x4bf042?_0x5048ac[_0x498f4b][_0x2b66e4]['userId']:null,_0x58aa88=_0x498f4b===_0x5048ac['length']-0x1,_0x378264=_0x3d9e86[_0x2b66e4][0x0],_0x7af74e=_0x2ac6b3['isObject'](_0x5048ac[_0x498f4b]['item']);!_0xeab345[_0x2b66e4]&&_0x4bf042?_0xeab345[_0x2b66e4]={'start':_0x562dcc,'tapeItem':_0x5048ac[_0x498f4b],'userId':_0x46deb6,'type':_0x2b66e4}:_0xeab345[_0x2b66e4]&&!_0x4bf042?(_0xeab345[_0x2b66e4]['end']=_0x562dcc,_0x3347fa(_0xeab345[_0x2b66e4]),_0xeab345[_0x2b66e4]=null):_0xeab345[_0x2b66e4]&&_0x4bf042&&_0xeab345[_0x2b66e4]['userId']!==_0x46deb6&&(_0xeab345[_0x2b66e4]['end']=_0x562dcc,_0x378264&&_0x378264['userId']===_0xeab345[_0x2b66e4]['userId']||_0x3347fa(_0xeab345[_0x2b66e4]),_0xeab345[_0x2b66e4]={'start':_0x562dcc,'tapeItem':_0x5048ac[_0x498f4b],'userId':_0x46deb6,'type':_0x2b66e4}),_0xeab345[_0x2b66e4]&&_0x7af74e&&('elementStart'!==_0x5048ac[_0x498f4b]['type']||_0x378264&&_0x378264['userId']===_0x46deb6||_0x3d9e86[_0x2b66e4]['unshift']({'userId':_0x46deb6,'object':_0x5048ac[_0x498f4b]['item'],'change':_0xeab345[_0x2b66e4]}),'elementEnd'===_0x5048ac[_0x498f4b]['type']&&_0x378264&&_0x378264['object']===_0x5048ac[_0x498f4b]['item']&&(_0x3d9e86[_0x2b66e4]['shift'](),_0xeab345[_0x2b66e4]=_0x378264['change'])),_0xeab345[_0x2b66e4]&&_0x58aa88&&(_0xeab345[_0x2b66e4]['end']=_0x6e7956,_0x3347fa(_0xeab345[_0x2b66e4]),_0xeab345[_0x2b66e4]=null);}function _0x3347fa({start:_0xda6a2a,end:_0x5b169a,tapeItem:_0x169d2b,userId:_0x3d0afe,type:_0x263239}){const _0x55e9e4=_0x169d2b['item'],_0x467a9c=_0xb50d09['schema']['isBlock'](_0x55e9e4)&&!_0xb50d09['schema']['isLimit'](_0x55e9e4),_0x30c8ac=_0xda6a2a['nodeAfter']==_0x5b169a['parent']&&_0x5b169a['isAtStart'];if(_0x467a9c&&_0x30c8ac)return;const _0x404f1d=_0xb50d09['createRange'](_0xda6a2a,_0x5b169a),_0x1b5bdc=_0xf3f6d5['get'](_0x3d0afe),_0x2306ce=new r({'author':_0x1b5bdc,'type':'isAdded'==_0x263239||'isAddSuggestion'==_0x263239?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x263239||'isRemoveSuggestion'==_0x263239},'createdAt':new Date(),'rootName':_0x9f1c1c});_0x2b12b3['push'](_0x2306ce),_0x42078b['markers']['set']('revision:'+_0x2306ce['id'],_0x404f1d);}function _0x4019c2(_0x39a557,_0x576b6a){const _0x1fe274=_0x39a557['getAttributes'](),_0x4aaf4f=_0x576b6a['getAttributes']();for(const _0x551c72 of _0x1fe274){if(_0x551c72[0x1]!==_0x576b6a['getAttribute'](_0x551c72[0x0]))return!0x1;_0x4aaf4f['next']();}return _0x4aaf4f['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x795dfb=>{const _0xbce53e=_0x795dfb['markerName']['split'](':')[0x1],_0x420c3a=this['_getChangeFromId'](_0xbce53e);if(!_0x420c3a)return null;const _0x2da713='add'==_0x420c3a['type']?'insertion':'deletion',_0x386321=['ck-suggestion-marker','ck-suggestion-marker-'+_0x2da713];return _0x420c3a['data']['isSuggestion']&&_0x386321['push']('ck-suggestion-marker-'+_0x2da713+'-new'),this['activeChange']==_0x420c3a&&_0x386321['push']('ck-suggestion-marker--active'),{'classes':_0x386321,'attributes':{'data-change-id':_0xbce53e}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x5f4ac6=>{_0x5f4ac6['on']('element:pre',(_0x5cbf4b,_0x2c684a,_0xd13a56)=>{const _0x504a25=_0x2c684a['viewItem']['getChild'](0x0);if(!_0x504a25||!_0x504a25['is']('element','code'))return;if(!_0xd13a56['consumable']['consume'](_0x504a25,{'attributes':['vid_start','vid_end']}))return;const _0x3eed2c=_0x2c684a['modelRange']['start']['nodeAfter'];_0xd13a56['writer']['setAttribute']('vid_start',_0x504a25['getAttribute']('vid_start'),_0x3eed2c),_0xd13a56['writer']['setAttribute']('vid_end',_0x504a25['getAttribute']('vid_end'),_0x3eed2c);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x11e4d9=>{_0x11e4d9['on']('element',(_0x39b11c,_0x3ca31e,_0x1e3a16)=>{if(!_0x1e3a16['consumable']['consume'](_0x3ca31e['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x3ca31e['modelRange']['isCollapsed'])return;const _0xe27f93=_0x3ca31e['modelRange']['start']['nodeAfter'];_0xe27f93['hasAttribute']('vid_start')||_0xe27f93['hasAttribute']('vid')||(_0x1e3a16['writer']['setAttribute']('vid_start',_0x3ca31e['viewItem']['getAttribute']('vid_start'),_0xe27f93),_0x1e3a16['writer']['setAttribute']('vid_end',_0x3ca31e['viewItem']['getAttribute']('vid_end'),_0xe27f93));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x2c4a36=>_0x2c4a36['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x14a4aa,[,_0x48555a])=>{['vid_start','vid_end','vid']['includes'](_0x48555a)&&(_0x14a4aa['return']=!0x0,_0x14a4aa['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x19be7c=>{_0x19be7c['on']('attribute:vid',(_0x14f4b0,_0xbcd34a,_0x1d8a6b)=>{if('\x20'!=_0xbcd34a['item']['data']||_0xbcd34a['item']['parent']['maxOffset']>0x1)return;if(!_0x1d8a6b['consumable']['consume'](_0xbcd34a['item'],_0x14f4b0['name']))return;const _0xd68c7f=_0x1d8a6b['writer'],_0x239bce=_0x1d8a6b['mapper']['toViewRange'](_0xbcd34a['range']);_0xd68c7f['wrap'](_0x239bce,_0xd68c7f['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x57c29d){const _0x386124=_0x57c29d['plugins']['get']('RevisionViewer');return(_0x1b7c16,_0x5186d2,_0xa50395)=>{const _0x58ffe2=_0x5186d2['markerName']['split'](':')[0x1],_0x30ffc7=_0x386124['_getChangeFromId'](_0x58ffe2);if(!_0x30ffc7)return null;const _0x5808fe='add'==_0x30ffc7['type']?'split':'merge';if(!_0xa50395['consumable']['test'](_0x5186d2['markerRange'],_0x1b7c16['name']))return;const _0x36f100=_0x5186d2['markerRange']['getWalker'](),_0x3ca0d0=_0x5186d2['markerRange']['start'],_0x3f06d1=_0x57c29d['model']['schema'];let _0x2471cd=null,_0x670a39=null,_0x215aa7=!0x1,_0x3394c3=!0x1;for(const _0x39f0a9 of _0x36f100){const _0x33b647=_0x39f0a9['item'];_0x215aa7=_0x215aa7||_0x3f06d1['isContent'](_0x33b647);const _0xb94e08=_0xa50395['mapper']['toViewElement'](_0x33b647);if(_0xb94e08&&_0xb94e08['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x39f0a9['type']&&(_0x3f06d1['isBlock'](_0x33b647)&&!_0x3f06d1['isLimit'](_0x33b647)&&(_0x33b647['nextSibling']||_0x3ca0d0['isAtEnd']?_0x2471cd&&_0x2471cd['parent']==_0x33b647||(_0x2471cd=_0x33b647,_0x47700b(_0x39f0a9['previousPosition']),_0x3394c3=!0x0):_0x670a39=_0x670a39||_0x39f0a9['previousPosition']));}function _0x47700b(_0x25b8a5){const _0x39950e=_0xa50395['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5808fe}),_0x52a06f=_0xa50395['mapper']['toViewPosition'](_0x25b8a5);_0x30ffc7['data']['isSuggestion']&&_0xa50395['writer']['addClass']('ck-suggestion-marker-'+_0x5808fe+'-new',_0x39950e),_0x386124['activeChange']==_0x30ffc7&&_0xa50395['writer']['addClass']('ck-suggestion-marker--active',_0x39950e),_0xa50395['writer']['insert'](_0x52a06f,_0x39950e),_0xa50395['mapper']['bindElementToMarker'](_0x39950e,_0x5186d2['markerName']);}_0x215aa7||_0x3394c3||!_0x670a39||_0x47700b(_0x670a39);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x5cc35c,_0x24f004,_0x15daec)=>{const _0x4444e5=_0x15daec['mapper']['markerNameToElements'](_0x24f004['markerName']);if(_0x4444e5){for(const _0x2c204a of _0x4444e5)(_0x2c204a['hasClass']('ck-suggestion-marker-split')||_0x2c204a['hasClass']('ck-suggestion-marker-merge'))&&(_0x15daec['mapper']['unbindElementFromMarkerName'](_0x2c204a,_0x24f004['markerName']),_0x15daec['writer']['remove'](_0x2c204a));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x1afb57,_0x3e68a1,_0x17d089)=>{const _0x184ae5=_0x3e68a1['markerName']['split'](':')[0x1],_0x16a173=this['_getChangeFromId'](_0x184ae5);if(!_0x16a173)return null;const _0x334361='add'==_0x16a173['type']?'split':'merge';if(_0x17d089['consumable']['test'](_0x3e68a1['markerRange'],_0x1afb57['name']))for(const _0xb692de of _0x3e68a1['markerRange']['getItems']()){if(!_0xb692de['is']('element','softBreak'))continue;const _0x5c8a64=_0x17d089['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x334361}),_0x569d97=_0x17d089['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0xb692de));_0x16a173['data']['isSuggestion']&&_0x17d089['writer']['addClass']('ck-suggestion-marker-'+_0x334361+'-new',_0x5c8a64),this['activeChange']==_0x16a173&&_0x17d089['writer']['addClass']('ck-suggestion-marker--active',_0x5c8a64),_0x17d089['writer']['insert'](_0x569d97,_0x5c8a64),_0x17d089['mapper']['bindElementToMarker'](_0x5c8a64,_0x3e68a1['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x15aacd=>{for(const _0x361316 of this['editor']['model']['document']['getRootNames']()){const _0x28dbed=this['editor']['model']['document']['getRoot'](_0x361316),_0x3f0368=this['editor']['editing']['view']['document']['getRoot'](_0x361316);if(_0x3f0368){const _0x46dcf6=_0x28dbed['getAttribute']('revisionHistoryAttachChange');if(_0x15aacd['removeAttribute']('data-change-id',_0x3f0368),_0x15aacd['removeClass']('ck-revision-history-root-add',_0x3f0368),_0x15aacd['removeClass']('ck-revision-history-root-remove',_0x3f0368),_0x15aacd['removeClass']('ck-revision-history-root--active',_0x3f0368),_0x46dcf6){const _0x44ed20=this['_getChangeFromId'](_0x46dcf6);if(!_0x44ed20)return null;_0x15aacd['setAttribute']('data-change-id',_0x46dcf6,_0x3f0368),_0x15aacd['addClass']('ck-revision-history-root-'+_0x44ed20['type'],_0x3f0368),this['activeChange']==_0x44ed20&&_0x15aacd['addClass']('ck-revision-history-root--active',_0x3f0368);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0xb752ab=>'revision-comment:'+_0xb752ab,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x3547a8=>'revision-suggestion:'+_0x3547a8,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x22c712=>({'name':'suggestion:'+_0x22c712,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x34b7aa=>{const _0x1c3148=_0x34b7aa['markerName']['split'](':')[0x1];return'insertion'!=_0x1c3148&&'deletion'!=_0x1c3148?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x1c3148]};}}),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',(_0x4f20ca,_0x2e2064,_0x17eee7)=>{const _0x8aa73d=_0x17eee7['mapper']['markerNameToElements'](_0x2e2064['markerName']);if(_0x8aa73d){for(const _0x119615 of _0x8aa73d)_0x119615['is']('uiElement')&&(_0x17eee7['mapper']['unbindElementFromMarkerName'](_0x119615,_0x2e2064['markerName']),_0x17eee7['writer']['remove'](_0x119615));}},{'priority':'high'});}['_getChangeFromId'](_0x539085){return this['_changeIdToChange']['get'](_0x539085);}['_getViewForChange'](_0x3d9a38){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x3d9a38),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x4f0adb,_0x570cb8,_0x4fa95d,_0x1fdc7c)=>{_0x1fdc7c&&this['_balloon']['remove'](_0x1fdc7c),_0x4fa95d&&(this['_balloon']['add']({'view':_0x4fa95d,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x281cae=this['editor']['editing'],_0x312d70=this['_getChangeFromId'](_0x4fa95d['changeId']);let _0x564e70;if(_0x312d70['data']['isOnRoot']){const _0x10b01c=_0x281cae['view']['getDomRoot'](_0x312d70['rootName']);_0x564e70=Array['from'](_0x10b01c['getClientRects']());}else{const _0x1ac0f1=this['editor']['model']['markers']['get']('revision:'+_0x4fa95d['changeId']);_0x564e70=Array['from'](_0x281cae['mapper']['markerNameToElements'](_0x1ac0f1['name']))['map'](_0x4174e0=>_0x281cae['view']['domConverter']['mapViewToDom'](_0x4174e0))['map'](_0x1fb6a6=>Array['from'](_0x1fb6a6['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x564e70[0x0];return _0x564e70['find'](_0x2fc6dc=>_0x2fc6dc['top']-0x3<=this['_activeViewTarget']['y']&&_0x2fc6dc['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x2fc6dc['left']-0x3<=this['_activeViewTarget']['x']&&_0x2fc6dc['right']+0x3>=this['_activeViewTarget']['x'])||_0x564e70[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x1cfae5,_0x45b929,_0x3ec3a1,_0x386300)=>{this['activeView']=_0x3ec3a1?this['_getViewForChange'](_0x3ec3a1):null,this['editor']['model']['change'](()=>{const _0x48fe0a=this['editor']['editing'];_0x386300&&(_0x386300['data']['isOnRoot']?_0x48fe0a['view']['change'](_0x3dd3b0=>{_0x3dd3b0['removeClass']('ck-revision-history-root--active',_0x48fe0a['view']['document']['getRoot'](_0x386300['rootName']));}):_0x48fe0a['reconvertMarker']('revision:'+_0x386300['id'])),_0x3ec3a1&&(_0x3ec3a1['data']['isOnRoot']?_0x48fe0a['view']['change'](_0x1bf010=>{_0x1bf010['addClass']('ck-revision-history-root--active',_0x48fe0a['view']['document']['getRoot'](_0x3ec3a1['rootName']));}):_0x48fe0a['reconvertMarker']('revision:'+_0x3ec3a1['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x5e39ef,_0x29731d)=>{if(this['activeChange'])return;const _0x25a1db=this['_findChangeIdFromDomTarget'](_0x29731d['target']),_0x1340ef=this['_changeIdToChange']['get'](_0x25a1db);_0x1340ef?(this['_activeViewTarget']={'x':_0x29731d['domEvent']['x'],'y':_0x29731d['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x1340ef)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x3803f9,_0xbdbd53)=>{const _0x3cde67=this['_findChangeIdFromDomTarget'](_0xbdbd53['target']),_0x283af6=this['_changeIdToChange']['get'](_0x3cde67);_0x283af6?(this['_activeViewTarget']={'x':_0xbdbd53['domEvent']['x'],'y':_0xbdbd53['domEvent']['y']},_0x283af6===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x283af6):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x88e6d4){do{const _0xbf9a9f=_0x88e6d4['getAttribute']('data-change-id');if(_0xbf9a9f)return _0xbf9a9f;_0x88e6d4=_0x88e6d4['parent'];}while(_0x88e6d4);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x351420=>{for(const _0x33ebc6 of this['editor']['model']['markers'])_0x351420['removeMarker'](_0x33ebc6);});}}function et(_0x533ac9,_0x329f70){return(_0x3f0ef9,_0x4ae6bd,_0x221232)=>{if(!_0x221232['consumable']['test'](_0x4ae6bd['markerRange'],_0x3f0ef9['name']))return;const _0xab6f1d=_0x4ae6bd['markerRange']['getWalker'](),_0x62c905=_0x4ae6bd['markerRange']['start'],_0x2adeab=_0x533ac9['model']['schema'];let _0x18fa6f=null,_0x5c4df3=null,_0x1f3ab0=!0x1,_0x5a1579=!0x1;for(const _0x4149ff of _0xab6f1d){const _0x4e58f9=_0x4149ff['item'];_0x1f3ab0=_0x1f3ab0||_0x2adeab['isContent'](_0x4e58f9);const _0x567963=_0x221232['mapper']['toViewElement'](_0x4e58f9);if(_0x567963&&_0x567963['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4149ff['type']&&(_0x2adeab['isBlock'](_0x4e58f9)&&!_0x2adeab['isLimit'](_0x4e58f9)&&(_0x4e58f9['nextSibling']||_0x62c905['isAtEnd']?_0x18fa6f&&_0x18fa6f['parent']==_0x4e58f9||(_0x18fa6f=_0x4e58f9,_0xcf710c(_0x4149ff['previousPosition']),_0x5a1579=!0x0):_0x5c4df3=_0x5c4df3||_0x4149ff['previousPosition']));}function _0xcf710c(_0x39675a){const _0x4e1949=_0x221232['mapper']['toViewPosition'](_0x39675a),_0x4ec46f=_0x221232['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x329f70});_0x221232['writer']['insert'](_0x4e1949,_0x4ec46f),_0x221232['mapper']['bindElementToMarker'](_0x4ec46f,_0x4ae6bd['markerName']);}_0x1f3ab0||_0x5a1579||!_0x5c4df3||_0xcf710c(_0x5c4df3);};}class bt extends _0x64dfdf{constructor(_0x114d0e){super(_0x114d0e);const _0x5dacd9=_0x114d0e['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x5dacd9,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x5dacd9,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x31b64c=this['editor'],_0x371fc1=_0x31b64c['plugins']['get'](d),_0x28c440=_0x371fc1['isReady']?_0x371fc1['diff']['newRevisionId']:null;_0x31b64c['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x28c440);}['refresh'](){const {isReady:_0x35351c,isEnabled:_0x520e6d}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x35351c&&_0x520e6d;}}class yt extends _0x64dfdf{['_step'];constructor(_0x1824d1,{direction:_0x7cb99b}){super(_0x1824d1);const _0x123528=_0x1824d1['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x7cb99b?0x1:-0x1,this['listenTo'](_0x123528,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x123528,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x123528,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x1347fa=this['editor'],_0x1b11d8=_0x1347fa['plugins']['get'](d),{isNavigationMode:_0x450745,currentChangeNumber:_0xedc2c3}=_0x1b11d8;let _0x210ccd;if(_0x1b11d8['activeChange']=_0x450745?_0x1b11d8['diff']['changes']['get'](_0xedc2c3+this['_step']):_0x1b11d8['diff']['changes']['first'],_0x1b11d8['activeChange']['data']['isOnRoot'])_0x210ccd=_0x1347fa['editing']['view']['getDomRoot'](_0x1b11d8['activeChange']['rootName']);else{const _0x3ae455=_0x1347fa['model']['markers']['get']('revision:'+_0x1b11d8['activeChange']['id']);_0x210ccd=_0x1eea61(_0x1347fa['editing'],_0x3ae455);}_0x55786a({'target':_0x210ccd,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x3e8630,currentChangeNumber:_0x54ac0c,numberOfChanges:_0x1c3e3b,isReady:_0x731af5,isEnabled:_0x443d1e}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x443d1e&&_0x731af5&&_0x1c3e3b)&&(!_0x3e8630||(0x1===this['_step']?_0x54ac0c<_0x1c3e3b-0x1:_0x54ac0c>0x0));}}class _i extends _0x1275b9{constructor(_0x710cc8){super(_0x710cc8);const _0x5386c3=this['bindTemplate'],_0x21d8bf=new _0x59d598(_0x710cc8),_0x4c18b5=new _0x59d598(_0x710cc8);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',(_0x498555,_0x51f042)=>_0x498555&&_0x51f042>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0xb1f88e,_0x2be48c,_0xf17e1b,_0x1d6a2c)=>{if(!_0xb1f88e)return y(_0x710cc8,'Loading...');if(!_0xf17e1b)return y(_0x710cc8,'No\x20changes');const _0x1a1871=y(_0x710cc8,'NUMBER_OF_CHANGES',_0xf17e1b);return _0x1d6a2c?y(_0x710cc8,'X_OF_Y_CHANGES',[_0x2be48c+0x1,_0xf17e1b]):_0x1a1871;}),_0x21d8bf['set']({'label':y(_0x710cc8,'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'}),_0x4c18b5['set']({'label':y(_0x710cc8,'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'}),_0x21d8bf['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x4c18b5['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x21d8bf['on']('execute',()=>this['fire']('execute','backward')),_0x4c18b5['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',_0x5386c3['if']('_isStatusLabelVisible','ck-hidden',_0x2d16f8=>!_0x2d16f8)]},'children':[{'text':_0x5386c3['to']('isNavigationMode',_0x4ceeb1=>_0x4ceeb1?y(_0x710cc8,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x710cc8,'Total')+':\x20')}]},{'text':_0x5386c3['to']('_statusText')}]},new _0x542708(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x21d8bf,_0x4c18b5]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x2fb962{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x46428b=this['editor']['editing']['view'];_0x46428b['change'](_0x1f4b69=>{for(const _0x3cf7cd of _0x46428b['document']['roots'])_0x1f4b69['addClass'](ce,_0x3cf7cd);});}['hide'](){const _0x890aaa=this['editor']['editing']['view'];_0x890aaa['change'](_0x4e7a22=>{for(const _0x1811e4 of _0x890aaa['document']['roots'])_0x4e7a22['removeClass'](ce,_0x1811e4);});}}class R extends _0x2fb962{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x4d9446=this['editor'],_0x2e9ed2=_0x4d9446['plugins']['get'](d),_0x3a9eb4=_0x4d9446['plugins']['get'](de);_0x4d9446['ui']['componentFactory']['add']('exitToEditing',_0xf57245=>{const _0x1eab0e=new _0x59d598(_0xf57245);return _0x1eab0e['set']({'label':y(_0xf57245,'Back\x20to\x20editing'),'icon':_0x403ea6['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x1eab0e,'execute',()=>{_0x4d9446['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x1eab0e;}),_0x4d9446['ui']['componentFactory']['add']('restoreRevision',_0x27ed6a=>{const _0x42620b=new _0x59d598(_0x27ed6a);return _0x42620b['set']({'label':y(_0x27ed6a,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x42620b['bind']('isEnabled')['to'](_0x4d9446['commands']['get']('restoreRevision')),this['listenTo'](_0x42620b,'execute',()=>_0x4d9446['execute']('restoreRevision')),_0x42620b;}),_0x4d9446['ui']['componentFactory']['add']('changesNavigation',_0x71faeb=>{const _0x29f613=new _i(_0x71faeb),_0x355931=_0x4d9446['commands']['get']('showPreviousChange'),_0x52344d=_0x4d9446['commands']['get']('showNextChange');return _0x29f613['bind']('isBackwardNavigationEnabled')['to'](_0x355931,'isEnabled'),_0x29f613['bind']('isForwardNavigationEnabled')['to'](_0x52344d,'isEnabled'),_0x29f613['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x2e9ed2),this['listenTo'](_0x29f613,'execute',(_0x4105a7,_0x5bdb5a)=>{_0x4d9446['execute']('forward'===_0x5bdb5a?'showNextChange':'showPreviousChange');}),_0x29f613;}),_0x3a9eb4['show'](),_0x2e9ed2['on']('change:isReady',(_0x22e9a3,_0x4d93d2,_0x5628c5)=>{_0x5628c5?_0x3a9eb4['hide']():_0x3a9eb4['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x1fa10d,_0x26835b){super(_0x1fa10d,_0x26835b);const _0x290f32=this['bindTemplate'];this['set']({'label':y(_0x1fa10d,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x1fa10d,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x290f32['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 _0x52c372=this['fieldView']['element'];this['_tooltipString']=_0x52c372['scrollWidth']>_0x52c372['clientWidth']&&_0x52c372['value']||'';}}class ti extends _0x1275b9{constructor(_0x395d2a,_0x16517f,_0x36b834){super(_0x395d2a);const _0xba00b3=new _0x55f9b6();_0xba00b3['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 _0x5f3e04=['ck','ck-revision-history-sidebar__revision-author'];_0x36b834&&_0x5f3e04['push']('ck-revision-history-sidebar__revision-author_creator');const _0x4c450b=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x395d2a,_0x36b834?'Revision\x20creator':'Revision\x20author')},'children':[_0xba00b3,_0x16517f['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x5f3e04},'children':_0x4c450b});}}function ni(_0x296e0b,_0x58e27a){const _0x18065b=_0x296e0b['bindTemplate'],_0x1f7370=_0x296e0b['locale'],_0x1386de=_0x5419ca(_0x1f7370);_0x1386de['panelPosition']='sw';const _0x58394e=function(_0x1d8bb4,_0x4f0316){const _0x49d363=function(_0x3317f6,_0x5d8920){const _0x2ef5af=_0x3317f6['locale'],_0x549524={'Compare\x20against\x20selected':y(_0x2ef5af,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x2ef5af,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x2ef5af,'Restore\x20this\x20revision')};return _0x5d8920['map'](_0x117401=>{const _0x338cc2=_0x549524[_0x117401['name']];return _0x338cc2&&_0x338cc2!==_0x117401['name']&&(_0x117401['name']=_0x338cc2),_0x117401;});}(_0x1d8bb4,_0x4f0316),_0x3ba888=new _0x2a8c18();for(const _0x4c49c3 of _0x49d363){const _0xeae9a8={'type':'button','model':new to({'label':_0x4c49c3['name'],'class':_0x4c49c3['class'],'withText':!0x0,'role':'menuitem','_action':_0x4c49c3['action']})};_0xeae9a8['model']['bind']('isEnabled')['to'](_0x1d8bb4,'isActionsDropdownOpen',_0x2a95a1=>'function'!=typeof _0x4c49c3['isEnabled']||(!_0x2a95a1||_0x4c49c3['isEnabled'](_0x1d8bb4))),_0x3ba888['add'](_0xeae9a8);}return _0x3ba888;}(_0x296e0b,_0x58e27a);return _0x296e0b['bind']('isActionsDropdownOpen')['to'](_0x1386de,'isOpen'),_0x1386de['buttonView']['set']({'label':y(_0x1f7370,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x403ea6['threeVerticalDots']}),_0x1386de['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x18065b['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x18065b['to'](_0x2849b3=>_0x2849b3['stopPropagation']())}}),_0x1386de['on']('execute',_0x49dea8=>{_0x296e0b['isReady']&&'function'==typeof _0x49dea8['source']['_action']&&_0x49dea8['source']['_action'](_0x296e0b);}),_0x1ec9ae(_0x1386de,_0x58394e,{'role':'menu'}),_0x1386de['listenTo'](_0x296e0b,'change:isActionsDropdownOpen',(_0xd6ced5,_0x8b6855,_0x3b964a)=>{if(_0x3b964a)for(const _0x5a7256 of _0x1386de['listView']['items']){const _0x236cc3=_0x5a7256['children']['first'],_0x1f5503=_0x58e27a['find'](_0x4d14e5=>_0x4d14e5['action']===_0x236cc3['_action'])['isVisible'];_0x5a7256['isVisible']=void 0x0===_0x1f5503||_0x1f5503(_0x296e0b);}}),_0x1386de;}class ai extends/* #__PURE__ -- @preserve */
26
- _0xf3c12c(_0x1275b9){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x17a189,_0x18330d,_0x44cf84,_0x3b2dfb){super(_0x17a189);const _0x2e95d=this['bindTemplate'],_0x1407f3=function(_0x1f8460,_0x53515b){const _0x588afb=Array['from'](_0x53515b['authors'])['filter'](_0x512cdc=>_0x512cdc!=_0x53515b['creator']);return _0x53515b['creator']&&_0x588afb['unshift'](_0x53515b['creator']),_0x588afb['map'](_0x222ef2=>new ti(_0x1f8460,_0x222ef2,_0x222ef2==_0x53515b['creator']));}(_0x17a189,_0x18330d);this['id']=_0x18330d['id'],this['_revision']=_0x18330d,this['_requireRevisionName']=_0x3b2dfb,this['bind']('name','createdAt')['to'](_0x18330d),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x5cbdbb=>{return _0x31ff33=_0x17a189['uiLanguage'],(_0x2b979a=_0x5cbdbb)['toLocaleDateString'](_0x31ff33,{'month':'long','day':'numeric'})+',\x20'+_0x2b979a['toLocaleTimeString'](_0x31ff33,{'hour':'numeric','minute':'numeric'});var _0x31ff33,_0x2b979a;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x17a189,_0x57da9f),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x1377be=>_0x1377be||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x267823,_0x47921)=>_0x267823&&_0x47921),this['revisionActionsView']=_0x44cf84&&_0x44cf84['length']?ni(this,_0x44cf84):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x2e95d['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x2e95d['if']('isEnabled','ck-disabled',_0x12207f=>!_0x12207f),_0x2e95d['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x2e95d['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x2e95d['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':_0x2e95d['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':_0x1407f3}]},this['revisionActionsView']],'on':{'click':_0x2e95d['to'](_0x3cd48f=>{_0x3cd48f['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x3234f2=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x3234f2,'change',()=>{this['_requireRevisionName']&&!_0x3234f2['value']||this['fire']('setName',{'id':this['id'],'name':_0x3234f2['value']}),_0x3234f2['value']||(_0x3234f2['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(_0x5034ef,_0x1486d6){const _0x29e4fd=_0x4fc196['fromJSDate'](_0x5034ef)['setLocale'](_0x1486d6),_0x289b93=_0x4fc196['local'](),_0x1af4bd=_0x289b93['minus']({'days':0x1})['startOf']('day');let _0x4e7fab,_0x3b61f7;return _0x29e4fd['hasSame'](_0x289b93,'day')?(_0x4e7fab=_0x29e4fd['startOf']('day')['toJSDate'](),_0x3b61f7=_0x29e4fd['toRelativeCalendar']()):_0x29e4fd['hasSame'](_0x1af4bd,'day')?(_0x4e7fab=_0x1af4bd['toJSDate'](),_0x3b61f7=_0x29e4fd['toRelativeCalendar']()):_0x29e4fd['hasSame'](_0x289b93,'week')?(_0x4e7fab=_0x29e4fd['startOf']('week')['toJSDate'](),_0x3b61f7=_0x29e4fd['weekdayLong']||''):_0x29e4fd['hasSame'](_0x289b93,'year')?(_0x4e7fab=_0x29e4fd['startOf']('month')['toJSDate'](),_0x3b61f7=_0x29e4fd['monthLong']||''):(_0x4e7fab=_0x29e4fd['startOf']('year')['toJSDate'](),_0x3b61f7=String(_0x29e4fd['year'])),{'startDate':_0x4e7fab,'localizedPeriodName':_0x3b61f7};}class mi extends _0x1275b9{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0xd95acf,_0x2fda16,_0x3efc44,_0x1df1e7){super(_0xd95acf);const _0x521e84=di(_0x2fda16,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x2fda16,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x3efc44,this['_requireRevisionName']=_0x1df1e7,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':_0x521e84}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x516f2d){const _0x4a9140=new ai(this['locale'],_0x516f2d,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x4a9140);}['removeRevision'](_0x260099){const _0x20f2f0=this['revisionViews']['find'](_0x53a563=>_0x53a563['id']===_0x260099['id']);this['revisionViews']['remove'](_0x20f2f0);}}class as extends _0x1275b9{constructor(_0xa8b1f9){super(_0xa8b1f9);const _0x139c37=new _0x55f9b6();_0x139c37['content']=_0x403ea6['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x139c37,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0xa8b1f9,'Revision\x20history')]}]});}}class ci extends _0x1275b9{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x578660,_0x279d7a,_0x4c6d76,_0x270f35){super(_0x578660);const _0x5873b8=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x279d7a,this['_revisionActions']=_0x4c6d76,this['_requireRevisionName']=_0x270f35,this['on']('select',(_0x3a32e1,_0x53f3b7)=>{this['fire']('revisionSelected',_0x53f3b7);}),this['on']('setName',(_0x59c2d8,_0x5f3fc6)=>{this['fire']('revisionSetName',_0x5f3fc6);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x578660),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x5873b8['if']('isEnabled','ck-disabled',_0x2285c3=>!_0x2285c3)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x28fb3f of this['_revisions'])this['_addRevision'](_0x28fb3f);this['_revisions']['on']('add',(_0x3b536d,_0x25a926)=>{this['_addRevision'](_0x25a926);}),this['_revisions']['on']('remove',(_0x1acf13,_0x252738)=>{this['_removeRevision'](_0x252738);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x50634e=>_0x50634e['revisionViews']['map'](_0x3378ef=>_0x3378ef))['flat']();}['selectRevision'](_0x517572){for(const _0xd8a87f of this['revisionViews'])_0x517572&&_0x517572['id']===_0xd8a87f['id']?_0xd8a87f['select']():_0xd8a87f['deselect']();}['highlightRevisions'](_0x3685d3){for(const _0x5394a0 of this['revisionViews'])_0x3685d3['some'](({id:_0x4d639c})=>_0x4d639c===_0x5394a0['id'])?_0x5394a0['highlight']():_0x5394a0['unhighlight']();}['_addRevision'](_0x1380e3){const _0x810519=di(_0x1380e3['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x24adc0=this['timePeriodViews']['get'](0x0);_0x24adc0&&_0x24adc0['startDate']['getTime']()===_0x810519['getTime']()||(_0x24adc0=new mi(this['locale'],_0x810519,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x24adc0)),_0x24adc0['addRevision'](_0x1380e3);}['_removeRevision'](_0x48650c){const _0x290870=di(_0x48650c['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x290870)['removeRevision'](_0x48650c);}['_getTimePeriodViewByStartDate'](_0xcdaa55){return this['timePeriodViews']['find'](_0x2e4386=>_0x2e4386['startDate']['getTime']()===_0xcdaa55['getTime']());}}class w extends _0x2fb962{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x86ef99,Context as _0x44c66b,PendingActions as _0x284bfe,icons as _0x52afaf,Command as _0x1fa5d9,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x5e23f1,uid as _0x380ed5,Collection as _0x253a22,logWarning as _0x2515b6,FocusTracker as _0x2fc202,KeystrokeHandler as _0x1da988,scrollViewportToShowTarget as _0x2c2e18,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x372945}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x247d28,getMarkerDomElement as _0x461718,ConfirmMixin as _0x5bdb05,sanitizeEditorConfig as _0x43ce94}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x2e7777,ViewText as _0x294f08,ViewElement as _0x1d20e4,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x516873,ViewAttributeElement as _0x54e7ba,ViewEmptyElement as _0x4d4939,ViewRawElement as _0x6a5a9e,ViewUIElement as _0x193691,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x5d080c,set as _0x947d7b,unset as _0x2369b4,isEqual as _0xa481b1}from'lodash-es';import{View as _0x415edb,injectCssTransitionDisabler as ts,submitHandler as _0x1682e7,LabeledFieldView as at,createLabeledInputText as _0x5bc8e7,createDropdown as _0x4e3765,ListView as te,ListItemView as _0x44ebb4,ButtonView as _0x28fe5f,MenuBarMenuView as _0x189cf5,MenuBarMenuListView as _0x310c3c,MenuBarMenuListItemView as _0x529acb,MenuBarMenuListItemButtonView as _0x553ba1,ContextualBalloon as _0x4b71db,ToolbarSeparatorView as _0x3e9cc5,IconView as _0x4783d4,addListToDropdown as _0x1f2450,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 _0x1e74a8}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x5e23f1(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x1f2677){super(),this['id']=_0x1f2677['id']||_0x380ed5(),this['creator']=_0x1f2677['creator']||null,this['authors']=_0x1f2677['authors']||[],this['diffData']=_0x1f2677['diffData']||null,this['toVersion']=_0x1f2677['toVersion']||0x0,this['fromVersion']=_0x1f2677['fromVersion']||0x0,this['set']('name',_0x1f2677['name']||''),this['set']('createdAt',_0x1f2677['createdAt']||new Date()),this['set']('attributes',_0x1f2677['attributes']||{});}['setName'](_0x23d24b){this['_update']({'name':_0x23d24b});}['setAttribute'](_0x3febea,_0x5d5bdd){const _0x21844d=_0x5d080c(this['attributes']);_0x947d7b(_0x21844d,_0x3febea,_0x5d5bdd),this['_update']({'attributes':_0x21844d});}['removeAttribute'](_0x7ab684){const _0x10d0e1=_0x5d080c(this['attributes']);_0x2369b4(_0x10d0e1,_0x7ab684),this['_update']({'attributes':_0x10d0e1});}['_update'](_0x4545ba,_0x1ff607=!0x1){let _0x13898c=!0x1;const _0x334ba7={'id':this['id']},_0x462f44=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x30e0e3 of _0x462f44){const _0x5d30fd=_0x4545ba[_0x30e0e3];void 0x0!==_0x5d30fd&&_0x5d30fd!==this[_0x30e0e3]&&(this[_0x30e0e3]=_0x5d30fd,_0x334ba7[_0x30e0e3]=_0x5d30fd,_0x13898c=!0x0);}_0x13898c&&(_0x334ba7['authors']&&(_0x334ba7['authorsIds']=_0x334ba7['authors']['map'](_0x536d59=>_0x536d59['id']),delete _0x334ba7['authors']),this['fire']('_update',_0x334ba7,_0x1ff607));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x58f405=>_0x58f405['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x86ef99{['_revisions'];static get['requires'](){return[_0x247d28];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x34885b){super(_0x34885b),this['_revisions']=new _0x253a22();}['afterInit'](){!function(_0x21d42b){function _0x580d2f(_0x54b135,_0x335348,_0x540e0f){const _0x37f07a={};_0x37f07a[_0xf5f04d([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x37f07a[_0xf5f04d([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],_0x37f07a[_0xf5f04d([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],_0x37f07a[_0xf5f04d([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],_0x37f07a[_0xf5f04d([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],_0x37f07a[_0xf5f04d([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],_0x37f07a[_0xf5f04d([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],_0x37f07a[_0xf5f04d([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],_0x37f07a[_0xf5f04d([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],_0x37f07a[_0xf5f04d([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],_0x37f07a[_0xf5f04d([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 _0x3294bf=new Uint8Array(0x10);for(let _0x1d5e2e=0xf;_0x1d5e2e>=0x0;--_0x1d5e2e)_0x3294bf[_0x1d5e2e]=_0x540e0f%0x100,_0x540e0f=parseInt(_0x540e0f/0x100);let _0x437a7e=null,_0x3832aa=0x10;const _0x6d6013=new Uint8Array(_0x335348),_0xd4f4ad=[],_0x3f94c0=[];_0xebbe06();for(let _0x3a0b72=0x0;_0x3a0b72<_0x54b135[_0xf5f04d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a0b72++)0x10===_0x3832aa&&(_0x437a7e=_0x31a4df(_0x3294bf),_0x3832aa=0x0,_0x124c82(_0x3294bf)),_0x54b135[_0x3a0b72]^=_0x437a7e[_0x3832aa++];return _0x54b135;function _0x2ee3cf(_0x2913c4){const _0x200ab3=[];for(let _0x5a25aa=0x0;_0x5a25aa<_0x2913c4[_0xf5f04d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a25aa+=0x4)_0x200ab3[_0xf5f04d([0x70,0x75,0x73,0x68])](_0x2913c4[_0x5a25aa]<<0x18|_0x2913c4[_0x5a25aa+0x1]<<0x10|_0x2913c4[_0x5a25aa+0x2]<<0x8|_0x2913c4[_0x5a25aa+0x3]);return _0x200ab3;}function _0x124c82(_0x41ab8e){for(let _0x5a5f71=0xf;_0x5a5f71>=0x0;_0x5a5f71--){if(0xff!==_0x41ab8e[_0x5a5f71]){_0x41ab8e[_0x5a5f71]++;break;}_0x41ab8e[_0x5a5f71]=0x0;}}function _0x31a4df(_0x5468c0){const _0x45688e=_0xd4f4ad[_0xf5f04d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x1147d2=[0x0,0x0,0x0,0x0];let t=_0x2ee3cf(_0x5468c0);for(let _0x32fe0c=0x0;_0x32fe0c<0x4;_0x32fe0c++)t[_0x32fe0c]^=_0xd4f4ad[0x0][_0x32fe0c];for(let _0x1db0df=0x1;_0x1db0df<_0x45688e;_0x1db0df++){for(let _0x30edde=0x0;_0x30edde<0x4;_0x30edde++)_0x1147d2[_0x30edde]=_0x37f07a[_0xf5f04d([0x54,0x31])][t[_0x30edde]>>0x18&0xff]^_0x37f07a[_0xf5f04d([0x54,0x32])][t[(_0x30edde+0x1)%0x4]>>0x10&0xff]^_0x37f07a[_0xf5f04d([0x54,0x33])][t[(_0x30edde+0x2)%0x4]>>0x8&0xff]^_0x37f07a[_0xf5f04d([0x54,0x34])][0xff&t[(_0x30edde+0x3)%0x4]]^_0xd4f4ad[_0x1db0df][_0x30edde];t=_0x1147d2[_0xf5f04d([0x73,0x6c,0x69,0x63,0x65])]();}const _0x1fa66c=new Uint8Array(0x10);let _0x17afc5;for(let _0x536747=0x0;_0x536747<0x4;_0x536747++)_0x17afc5=_0xd4f4ad[_0x45688e][_0x536747],_0x1fa66c[0x4*_0x536747]=0xff&(_0x37f07a[_0xf5f04d([0x53])][t[_0x536747]>>0x18&0xff]^_0x17afc5>>0x18),_0x1fa66c[0x4*_0x536747+0x1]=0xff&(_0x37f07a[_0xf5f04d([0x53])][t[(_0x536747+0x1)%0x4]>>0x10&0xff]^_0x17afc5>>0x10),_0x1fa66c[0x4*_0x536747+0x2]=0xff&(_0x37f07a[_0xf5f04d([0x53])][t[(_0x536747+0x2)%0x4]>>0x8&0xff]^_0x17afc5>>0x8),_0x1fa66c[0x4*_0x536747+0x3]=0xff&(_0x37f07a[_0xf5f04d([0x53])][0xff&t[(_0x536747+0x3)%0x4]]^_0x17afc5);return _0x1fa66c;}function _0xebbe06(){const _0x56482c=_0x37f07a[_0xf5f04d([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x6d6013[_0xf5f04d([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x43815f=0x0;_0x43815f<=_0x56482c;_0x43815f++)_0xd4f4ad[_0xf5f04d([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x3f94c0[_0xf5f04d([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x445515=0x4*(_0x56482c+0x1),_0x115a48=_0x6d6013[_0xf5f04d([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x5a9aee=_0x2ee3cf(_0x6d6013);let _0x3d61f0;for(let _0x3666ca=0x0;_0x3666ca<_0x115a48;_0x3666ca++)_0x3d61f0=_0x3666ca>>0x2,_0xd4f4ad[_0x3d61f0][_0x3666ca%0x4]=_0x5a9aee[_0x3666ca],_0x3f94c0[_0x56482c-_0x3d61f0][_0x3666ca%0x4]=_0x5a9aee[_0x3666ca];let _0x118ee3,_0x19ca00=0x0,t=_0x115a48;for(;t<_0x445515;){_0x118ee3=_0x5a9aee[_0x115a48-0x1],_0x5a9aee[0x0]^=_0x37f07a[_0xf5f04d([0x53])][_0x118ee3>>0x10&0xff]<<0x18^_0x37f07a[_0xf5f04d([0x53])][_0x118ee3>>0x8&0xff]<<0x10^_0x37f07a[_0xf5f04d([0x53])][0xff&_0x118ee3]<<0x8^_0x37f07a[_0xf5f04d([0x53])][_0x118ee3>>0x18&0xff]^_0x37f07a[_0xf5f04d([0x72,0x63,0x6f,0x6e])][_0x19ca00]<<0x18,_0x19ca00+=0x1;for(let _0x207b83=0x1;_0x207b83<_0x115a48/0x2;_0x207b83++)_0x5a9aee[_0x207b83]^=_0x5a9aee[_0x207b83-0x1];_0x118ee3=_0x5a9aee[_0x115a48/0x2-0x1],_0x5a9aee[_0x115a48/0x2]^=_0x37f07a[_0xf5f04d([0x53])][0xff&_0x118ee3]^_0x37f07a[_0xf5f04d([0x53])][_0x118ee3>>0x8&0xff]<<0x8^_0x37f07a[_0xf5f04d([0x53])][_0x118ee3>>0x10&0xff]<<0x10^_0x37f07a[_0xf5f04d([0x53])][_0x118ee3>>0x18&0xff]<<0x18;for(let _0x5ed2a4=_0x115a48/0x2+0x1;_0x5ed2a4<_0x115a48;_0x5ed2a4++)_0x5a9aee[_0x5ed2a4]^=_0x5a9aee[_0x5ed2a4-0x1];let _0x5a3b93,_0x573083,_0x5e993c=0x0;for(;_0x5e993c<_0x115a48&&t<_0x445515;)_0x5a3b93=t>>0x2,_0x573083=t%0x4,_0xd4f4ad[_0x5a3b93][_0x573083]=_0x5a9aee[_0x5e993c],_0x3f94c0[_0x56482c-_0x5a3b93][_0x573083]=_0x5a9aee[_0x5e993c++],t++;}for(let _0x42ac88=0x1;_0x42ac88<_0x56482c;_0x42ac88++)for(let _0x197655=0x0;_0x197655<0x4;_0x197655++)_0x118ee3=_0x3f94c0[_0x42ac88][_0x197655],_0x3f94c0[_0x42ac88][_0x197655]=_0x37f07a[_0xf5f04d([0x55,0x31])][_0x118ee3>>0x18&0xff]^_0x37f07a[_0xf5f04d([0x55,0x32])][_0x118ee3>>0x10&0xff]^_0x37f07a[_0xf5f04d([0x55,0x33])][_0x118ee3>>0x8&0xff]^_0x37f07a[_0xf5f04d([0x55,0x34])][0xff&_0x118ee3];}}function _0xf5f04d(_0x58205e){return _0x58205e['map'](_0x48f88b=>String['fromCharCode'](_0x48f88b))['join']('');}(_0x5b732f=>{function _0xba8f01(){const _0x36410b=[{[_0xf5f04d([0x69,0x64])]:0x1,[_0xf5f04d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0xf5f04d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xf5f04d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf5f04d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xf5f04d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0xf5f04d([0x69,0x64])]:0x2,[_0xf5f04d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0xf5f04d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xf5f04d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf5f04d([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]),[_0xf5f04d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xf5f04d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0xf5f04d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0xf5f04d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0xf5f04d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xf5f04d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0xf5f04d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0xf5f04d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0xf5f04d([0x69,0x64])]:0x3,[_0xf5f04d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0xf5f04d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xf5f04d([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xf5f04d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf5f04d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0xf5f04d([0x69,0x64])]:0x4,[_0xf5f04d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0xf5f04d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xf5f04d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf5f04d([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]),[_0xf5f04d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xf5f04d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0xf5f04d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0xf5f04d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0xf5f04d([0x69,0x64])]:0x5,[_0xf5f04d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0xf5f04d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xf5f04d([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]),[_0xf5f04d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf5f04d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xf5f04d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xf5f04d([0x66,0x67,0x69])]:[0xc]}},{[_0xf5f04d([0x69,0x64])]:0x6,[_0xf5f04d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0xf5f04d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xf5f04d([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xf5f04d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf5f04d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xf5f04d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xf5f04d([0x66,0x67,0x69])]:[0xc]}},{[_0xf5f04d([0x69,0x64])]:0x7,[_0xf5f04d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0xf5f04d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xf5f04d([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xf5f04d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf5f04d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xf5f04d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xf5f04d([0x66,0x67,0x69])]:[0xc]}},{[_0xf5f04d([0x69,0x64])]:0x8,[_0xf5f04d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0xf5f04d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xf5f04d([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]),[_0xf5f04d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf5f04d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xf5f04d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xf5f04d([0x66,0x67,0x69])]:[0xc]}},{[_0xf5f04d([0x69,0x64])]:0x9,[_0xf5f04d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0xf5f04d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xf5f04d([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xf5f04d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf5f04d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xf5f04d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xf5f04d([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0xf5f04d([0x69,0x64])]:0xa,[_0xf5f04d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([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]),[_0xf5f04d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([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]),[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xf5f04d([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]),[_0xf5f04d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf5f04d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xf5f04d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xf5f04d([0x66,0x67,0x69])]:[0xc]}},{[_0xf5f04d([0x69,0x64])]:0xb,[_0xf5f04d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0xf5f04d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xf5f04d([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xf5f04d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf5f04d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0xf5f04d([0x69,0x64])]:0xc,[_0xf5f04d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0xf5f04d([0x69,0x64])]:0xd,[_0xf5f04d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0xf5f04d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xf5f04d([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xf5f04d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf5f04d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xf5f04d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xf5f04d([0x66,0x67,0x69])]:[0xc]}},{[_0xf5f04d([0x69,0x64])]:0xe,[_0xf5f04d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0xf5f04d([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf5f04d([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])},{[_0xf5f04d([0x69,0x64])]:0xf,[_0xf5f04d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0xf5f04d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xf5f04d([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xf5f04d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf5f04d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0xf5f04d([0x69,0x64])]:0x10,[_0xf5f04d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0xf5f04d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xf5f04d([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xf5f04d([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xf5f04d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xf5f04d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xf5f04d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xf5f04d([0x66,0x67,0x69])]:[0xc]}}];return _0x279c8b(_0x36410b),_0x36410b;function _0x5f4916(_0x3e15f7){return 0x1<<_0x3e15f7-0x1;}function _0x279c8b(_0xd49ef4){_0xd49ef4[_0xf5f04d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x58b223=>{_0x58b223[_0xf5f04d([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x5f4916(_0x58b223[_0xf5f04d([0x69,0x64])]),_0x52b929(_0x58b223)&&_0x58b223[_0xf5f04d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x279c8b(_0x58b223[_0xf5f04d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x52b929(_0x5e217d){return _0xf5f04d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x5e217d;}const _0x3654c7=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x267c1e=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x10ef5f(_0x54a617){const _0x3ffe0d=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x4dec1a(_0x54a617,new Uint8Array([..._0x3654c7,..._0x3ffe0d,..._0x267c1e]));}function _0x4dec1a(_0x256ec9,_0x5812d8){const _0x4e8d3f=_0x16c985(_0x256ec9),_0x4017af=Array[_0xf5f04d([0x66,0x72,0x6f,0x6d])](_0x1c5ef2(_0x4e8d3f)),_0x226878=_0x4017af[_0xf5f04d([0x70,0x6f,0x70])](),_0x56b69d=_0x4017af[_0xf5f04d([0x70,0x6f,0x70])]();return _0x3fddd4(_0x580d2f(_0x4017af,_0x5812d8,_0x56b69d+0x100*_0x226878));}function _0x16c985(_0x24ca4b){const _0x5bcd0c=atob(_0x24ca4b),[_0x45a0fc,_0x356628]=_0x5bcd0c[_0xf5f04d([0x73,0x70,0x6c,0x69,0x74])](_0xf5f04d([0x2d]));try{if(atob(_0x356628))return atob(_0x45a0fc);}catch(_0xd8d97f){}return _0x5bcd0c;}function _0x50a30a(_0x367d4d){try{const _0x4eb2b3=_0x10ef5f(_0x367d4d),_0xce57de=JSON[_0xf5f04d([0x70,0x61,0x72,0x73,0x65])](_0x4eb2b3),_0x11f833=parseInt(_0xce57de[_0xf5f04d([0x31])]),_0x3cf643=_0xce57de[_0xf5f04d([0x32])]||'',_0x4cd300=parseInt(_0xce57de[_0xf5f04d([0x33])]),_0x4d6a30=parseInt(_0xce57de[_0xf5f04d([0x34])])||0x0,_0x33f4fe=parseInt(_0xce57de[_0xf5f04d([0x35])])||0x0;return{[_0xf5f04d([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x3cf643,[_0xf5f04d([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x4d6a30,[_0xf5f04d([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x11f833,[_0xf5f04d([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x4cd300,[_0xf5f04d([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x33f4fe};}catch(_0x1c333d){return null;}}const _0x3a9641=_0xba8f01(),_0x4e95a9={[_0xf5f04d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x36e73e,[_0xf5f04d([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])]:_0x1327c4,[_0xf5f04d([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])]:_0x300747},_0xe87002=_0x5b732f[_0xf5f04d([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0xf5f04d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x56ff2b=_0xf5f04d([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x5b732f?_0x5b732f['context']:_0x5b732f['editor'],_0x46ca67=_0xf5f04d([0x34,0x30,0x34,0x38,0x31,0x32,0x31,0x34]),_0x3e479e=_0xf5f04d([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]),_0x27e22e=_0x56ff2b['config']['get'](_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x397ba7=_0x3a9641[_0xf5f04d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x52b929)[_0xf5f04d([0x66,0x69,0x6e,0x64])](_0x380776=>_0x380776[_0xf5f04d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0xe87002);function _0x48efd9(_0x41500d,_0x16cc9e){_0x4e95a9[_0x16cc9e[_0xf5f04d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x41500d,_0x16cc9e),_0x16cc9e[_0xf5f04d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x16cc9e[_0xf5f04d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0xf5f04d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3bb2c6=>_0x10cb3d(_0x56ff2b,_0x3bb2c6[_0xf5f04d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0xf5f04d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1b8073=>_0x48efd9(_0x41500d,_0x1b8073));}function _0x36e73e(_0x4c7070,_0x205b77){_0x59850c(_0x1f4efe(_0x4c7070,_0x205b77),_0x205b77);}function _0x1327c4(_0x3526a9,_0xb04fb4){function _0x3ce78b(_0x2832d7,_0x257da4){try{if(_0x10cb3d(_0x56ff2b,_0xf5f04d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x2832d7){const _0x565688=_0x1711a0(_0x56ff2b,_0xf5f04d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0xf5f04d([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x565688)/0x2>_0x2832d7[_0xf5f04d([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x43d766(_0x257da4[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf5f04d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x1f4efe(_0x2832d7,_0x257da4);}catch(_0x2f46f2){return _0x43d766(_0x257da4[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf5f04d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x59850c(_0x3ce78b(_0x3526a9,_0xb04fb4),_0xb04fb4);}function _0x300747(_0x428ac7,_0x4f8e1e){const _0x41ce09=_0x267c1e[0x0]*_0x3654c7[0x1],_0x5cb71c=_0x267c1e[0x0]*_0x3654c7[0x2],_0x4d9f69=_0x267c1e[0x2]*_0x3654c7[0x2];_0x10cb3d(_0x56ff2b,_0xf5f04d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1711a0(_0x56ff2b,_0xf5f04d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0xf5f04d([0x73,0x74,0x61,0x74,0x65])]==_0xf5f04d([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x3eb295()]=_0x4d9f69);function _0x9e5be2(_0x362ac9,_0x407133){try{return _0x3aed68()?_0x43d766(_0x407133[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf5f04d([0x56,0x61,0x6c,0x69,0x64])):_0x1f4efe(_0x362ac9,_0x407133);}catch(_0x262f78){return _0x43d766(_0x407133[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf5f04d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x2491c5(_0x22ad76,_0x296ab2){const _0x4332da=0x7;if(_0x22ad76==_0x296ab2[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf5f04d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x2f0097();else{if(_0x22ad76==_0x296ab2[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf5f04d([0x54,0x72,0x69,0x61,0x6c])){const _0x11e5f2=_0x2fdd88();_0x11e5f2&&_0x2ac793(_0x11e5f2,_0x296ab2[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x526651=_0x164063();window[_0xf5f04d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2ac793(_0xf5f04d([0x74,0x69,0x6d,0x65]),_0x296ab2[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x526651);const _0x2d4e4e=_0x1711a0(_0x56ff2b,_0xf5f04d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0xf5f04d([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x2d4e4e[_0xf5f04d([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x4332da?_0x2ac793(_0xf5f04d([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x296ab2[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x2d4e4e['on'](_0xf5f04d([0x61,0x64,0x64]),()=>{_0x2d4e4e[_0xf5f04d([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x4332da&&_0x2ac793(_0xf5f04d([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x296ab2[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x2fdd88(){if(!_0x10cb3d(_0x56ff2b,_0xf5f04d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x331a87 in window)if(Number['isNaN'](Number(_0x331a87))){if(window[_0x331a87]===_0x41ce09)return _0xf5f04d([0x74,0x69,0x6d,0x65]);if(window[_0x331a87]===_0x5cb71c)return _0xf5f04d([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x3aed68(){if(!_0x10cb3d(_0x56ff2b,_0xf5f04d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x447bc2 in window)if(Number['isNaN'](Number(_0x447bc2))&&window[_0x447bc2]===_0x4d9f69)return!0x0;return!0x1;}function _0x2ac793(_0x232957,_0x33a5c6){_0x2f0097(),_0x43d766(_0x33a5c6+_0xf5f04d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x232957),window[_0x3eb295()]=_0x232957===_0xf5f04d([0x74,0x69,0x6d,0x65])?_0x41ce09:_0x5cb71c;}function _0x164063(){let _0x537fa9=_0x267c1e[0x6]*_0x3654c7[0x8]*_0x3654c7[0x6];return _0x10cb3d(_0x56ff2b,_0xf5f04d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x537fa9/=0xa),_0x537fa9;}function _0x2f0097(){const _0xe4fcaa=_0x56ff2b;function _0x4b6bee(){_0x10cb3d(_0xe4fcaa,_0xf5f04d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x1711a0(_0xe4fcaa,_0xf5f04d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xf5f04d([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0xf5f04d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1711a0(_0xe4fcaa,_0xf5f04d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xf5f04d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1711a0(_0xe4fcaa,_0xf5f04d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xf5f04d([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x92b2dc,_0x1711a0(_0xe4fcaa,_0xf5f04d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xf5f04d([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x92b2dc,_0xe4fcaa[_0xf5f04d([0x6d,0x6f,0x64,0x65,0x6c])][_0xf5f04d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x92b2dc,_0xe4fcaa[_0xf5f04d([0x6d,0x6f,0x64,0x65,0x6c])][_0xf5f04d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x92b2dc,_0xe4fcaa[_0xf5f04d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xf5f04d([0x6d,0x6f,0x64,0x65,0x6c]))),_0x10cb3d(_0xe4fcaa,_0xf5f04d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1711a0(_0xe4fcaa,_0xf5f04d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xf5f04d([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0xf5f04d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1711a0(_0xe4fcaa,_0xf5f04d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xf5f04d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1711a0(_0xe4fcaa,_0xf5f04d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xf5f04d([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x92b2dc,_0x1711a0(_0xe4fcaa,_0xf5f04d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xf5f04d([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x92b2dc);}_0xe4fcaa[_0xf5f04d([0x73,0x74,0x61,0x74,0x65])]==_0xf5f04d([0x72,0x65,0x61,0x64,0x79])?_0x4b6bee():_0xe4fcaa[_0xf5f04d([0x6f,0x6e,0x63,0x65])](_0xf5f04d([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x10cb3d(_0xe4fcaa,_0xf5f04d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x4b6bee(),_0x10cb3d(_0xe4fcaa,_0xf5f04d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x1b15a8=_0x1711a0(_0xe4fcaa,_0xf5f04d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x18ae1b=_0x1b15a8['getRevision'](0x0),_0x3a57b9=_0x1b15a8['getEarlierVisibleRevision'](_0x18ae1b[_0xf5f04d([0x69,0x64])]);_0x1711a0(_0xe4fcaa,_0xf5f04d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xf5f04d([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x18ae1b[_0xf5f04d([0x69,0x64])],_0x3a57b9?_0x3a57b9[_0xf5f04d([0x69,0x64])]:null,0x1)['then'](()=>_0x4b6bee());}});}_0x2491c5(_0x9e5be2(_0x428ac7,_0x4f8e1e),_0x4f8e1e);}function _0x1f4efe(_0x3e737d,_0x38ad3a){try{return _0x16fb09(_0x38ad3a)?_0x43d766(_0x38ad3a[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf5f04d([0x56,0x61,0x6c,0x69,0x64])):_0x3e737d&&_0x387071(_0x3e737d[_0xf5f04d([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x38ad3a)?_0x3e737d[_0xf5f04d([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0xf5f04d([0x6f,0x70,0x65,0x6e])][_0xf5f04d([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x46ca67)/0x2>_0x3e737d[_0xf5f04d([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x43d766(_0x38ad3a[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf5f04d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x3e737d[_0xf5f04d([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x43d766(_0x38ad3a[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf5f04d([0x54,0x72,0x69,0x61,0x6c])):_0x43d766(_0x38ad3a[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf5f04d([0x56,0x61,0x6c,0x69,0x64])):_0x43d766(_0x38ad3a[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf5f04d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x181a4f){return _0x43d766(_0x38ad3a[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf5f04d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x59850c(_0x36890b,_0x427ed1){if(_0x56ff2b instanceof _0x44c66b){const _0x46ba97=_0x56ff2b;_0x36890b==_0x427ed1[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf5f04d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4fdfa6(_0x46ba97):_0x36890b==_0x427ed1[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf5f04d([0x54,0x72,0x69,0x61,0x6c])&&window[_0xf5f04d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4fdfa6(_0x46ba97),_0x43d766(_0x427ed1[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf5f04d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x267c1e[0x6]*_0x3654c7[0x8]*_0x3654c7[0x6]),_0x46ba97[_0xf5f04d([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0xf5f04d([0x6f,0x6e])](_0xf5f04d([0x61,0x64,0x64]),(_0x541b2c,_0xadada4)=>{_0x36890b!=_0x427ed1[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf5f04d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x36890b!=_0x427ed1[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf5f04d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x36890b!=_0x427ed1[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf5f04d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x1e5ad4(_0xadada4);});}else{const _0x304697=_0x56ff2b;_0x36890b==_0x427ed1[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf5f04d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x1e5ad4(_0x304697):_0x36890b==_0x427ed1[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf5f04d([0x54,0x72,0x69,0x61,0x6c])&&_0x304697[_0xf5f04d([0x6f,0x6e])](_0xf5f04d([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x34082d=0x0;_0x304697[_0xf5f04d([0x6d,0x6f,0x64,0x65,0x6c])][_0xf5f04d([0x6f,0x6e])](_0xf5f04d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x213d2e,_0x481427)=>{_0x481427[0x0][_0xf5f04d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x34082d++,0x1f8===_0x34082d&&(_0x1e5ad4(_0x304697),_0x43d766(_0x427ed1[_0xf5f04d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xf5f04d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x213d2e[_0xf5f04d([0x6f,0x66,0x66])]());},{'priority':_0xf5f04d([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x43d766(_0x2d89c0){const _0x3ac1ed=_0x3eb295();return _0x56ff2b[_0x3ac1ed]=_0x2d89c0,_0x2d89c0;}function _0x3eb295(){const _0x24b432=String(window[_0xf5f04d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xf5f04d([0x6e,0x6f,0x77])]())[_0xf5f04d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xf5f04d([0x2e]),'');let _0x555410='';for(let _0x2eb489=0x0;_0x2eb489<_0x24b432[_0xf5f04d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2eb489+=0x2){let _0x56d255=parseInt(_0x24b432[_0xf5f04d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2eb489,_0x2eb489+0x2));_0x56d255>=_0x3e479e[_0xf5f04d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x56d255-=_0x3e479e[_0xf5f04d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x555410+=_0x3e479e[_0x56d255];}return _0x555410;}function _0x4fdfa6(_0x3f331d){for(const _0x273c32 of _0x3f331d[_0xf5f04d([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x1e5ad4(_0x273c32);_0x1711a0(_0x3f331d,_0xf5f04d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0xf5f04d([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x1711a0(_0x3f331d,_0xf5f04d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0xf5f04d([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x92b2dc;}function _0x1e5ad4(_0x13ba39){function _0x4b2684(){_0x13ba39[_0xf5f04d([0x6d,0x6f,0x64,0x65,0x6c])][_0xf5f04d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x92b2dc,_0x13ba39[_0xf5f04d([0x6d,0x6f,0x64,0x65,0x6c])][_0xf5f04d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x92b2dc,_0x13ba39[_0xf5f04d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xf5f04d([0x6d,0x6f,0x64,0x65,0x6c]));}_0x13ba39[_0xf5f04d([0x73,0x74,0x61,0x74,0x65])]==_0xf5f04d([0x72,0x65,0x61,0x64,0x79])?_0x4b2684():_0x13ba39[_0xf5f04d([0x6f,0x6e,0x63,0x65])](_0xf5f04d([0x72,0x65,0x61,0x64,0x79]),()=>_0x4b2684());}function _0x92b2dc(){return null;}function _0x387071(_0xada315,_0xe6a609){const _0x5730db=!!(_0xada315&_0xe6a609[_0xf5f04d([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x464314=_0x4fcaaf(_0xada315,_0xe6a609);return _0x5730db||_0x464314;}function _0x4fcaaf(_0x159a44,_0x7bb907){const _0x595bf2=(_0x7bb907[_0xf5f04d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0xf5f04d([0x66,0x67,0x69])]||null;return!!_0x595bf2&&_0x3a9641[_0xf5f04d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x23a393=>_0x595bf2[_0xf5f04d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23a393[_0xf5f04d([0x69,0x64])]))[_0xf5f04d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3453e0=>!_0x406156(_0x3453e0))[_0xf5f04d([0x73,0x6f,0x6d,0x65])](_0x5e7316=>!!(_0x159a44&_0x5e7316[_0xf5f04d([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x406156(_0xa1bc45){const _0x5d2482={[_0xf5f04d([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])]:_0x3e26ca};return!!_0xa1bc45['forbiddenHandler']&&_0x5d2482[_0xa1bc45['forbiddenHandler']]();}function _0x3e26ca(){return!window[_0xf5f04d([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x10cb3d(_0x56ff2b,_0xf5f04d([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x16fb09(_0x10b905){if(!_0x10cb3d(_0x56ff2b,_0x10b905[_0xf5f04d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x511a0d=_0x10b905[_0xf5f04d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x21d89b=_0x511a0d[_0xf5f04d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x776dd5=_0x511a0d[_0xf5f04d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x53380d=_0x511a0d[_0xf5f04d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x10cb3d(_0x56ff2b,_0xf5f04d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1711a0(_0x56ff2b,_0xf5f04d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0xf5f04d([0x73,0x74,0x61,0x74,0x65])]==_0xf5f04d([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x21d89b)return!0x0;if(_0x10cb3d(_0x56ff2b,_0xf5f04d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x1711a0(_0x56ff2b,_0xf5f04d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0xf5f04d([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0xf5f04d([0x65,0x6e,0x64])&&_0x776dd5)return!0x0;return!(!_0x10cb3d(_0x56ff2b,_0xf5f04d([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]))||_0x1711a0(_0x56ff2b,_0xf5f04d([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]))[_0xf5f04d([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0xf5f04d([0x65,0x6e,0x64])||!_0x53380d);}function _0x10cb3d(_0x103bc9,_0x5e4595){return _0x103bc9[_0xf5f04d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0xf5f04d([0x68,0x61,0x73])](_0x5e4595);}function _0x1711a0(_0x37c9b2,_0x3ca52d){return _0x37c9b2[_0xf5f04d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0xf5f04d([0x67,0x65,0x74])](_0x3ca52d);}function _0x3fddd4(_0x5f4e1a){let _0x3a1863='';for(const _0x1514bb of _0x5f4e1a)_0x3a1863+=String[_0xf5f04d([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x1514bb);return _0x3a1863;}function _0x1c5ef2(_0x45047d){const _0x3578eb=new Uint8Array(_0x45047d[_0xf5f04d([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x12db85=0x0;_0x12db85<_0x45047d[_0xf5f04d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12db85++)_0x3578eb[_0x12db85]=_0x45047d[_0xf5f04d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x12db85);return _0x3578eb;}_0x397ba7&&_0x48efd9(_0x50a30a(_0x27e22e),_0x397ba7);})(_0x21d42b);}(this);}['createRevision'](_0x38f93d){const _0x2beea1=this['editor']['plugins']['get']('Users');return new a({'id':_0x38f93d['id'],'name':_0x38f93d['name'],'creator':_0x38f93d['creatorId']?_0x2beea1['getUser'](_0x38f93d['creatorId']):null,'diffData':_0x38f93d['diffData']||_0x38f93d['data'],'authors':_0x38f93d['authorsIds']['map'](_0x2f2592=>_0x2beea1['getUser'](_0x2f2592)),'createdAt':new Date(_0x38f93d['createdAt']),'attributes':_0x38f93d['attributes'],'fromVersion':_0x38f93d['fromVersion'],'toVersion':_0x38f93d['toVersion']});}['addRevision'](_0x2a6428,_0xa6ff22=0x0){this['_revisions']['add'](_0x2a6428,_0xa6ff22);}['getRevision'](_0x44e8d5){return this['_revisions']['get'](_0x44e8d5);}['getRevisions'](_0x3ee09e={'toJSON':!0x1}){const _0x39c8e7=Array['from'](this['_revisions']);return _0x39c8e7['reverse'](),_0x3ee09e['toJSON']?_0x39c8e7['map'](_0x39e1b5=>_0x39e1b5['toJSON']()):_0x39c8e7;}['getIndex'](_0x1d9837){return this['_revisions']['getIndex'](_0x1d9837);}['getEarlierVisibleRevision'](_0x4db6d1){const [,_0x141900]=this['getRevisionsIterator'](_0x4db6d1,{'direction':'earlier'});return _0x141900;}['getLaterVisibleRevision'](_0x4db153){const [,_0x4b62a7]=this['getRevisionsIterator'](_0x4db153,{'direction':'later'});return _0x4b62a7;}['getRevisionsInDiff'](_0x5498c5){const _0x4b64dc=[];for(const _0x54badd of this['getRevisionsIterator'](_0x5498c5['newRevisionId']))if(_0x4b64dc['push'](_0x54badd),_0x54badd['id']===_0x5498c5['oldRevisionId'])break;return _0x4b64dc;}*['getRevisionsIterator'](_0x353b97,{direction:_0x11b74c='earlier',filter:_0x9a3363=_0xa4a38=>!0x0}={}){const _0x4a1742='earlier'===_0x11b74c?0x1:-0x1;let _0x39b29e=this['_revisions']['get'](_0x353b97),_0x3b561e=this['getIndex'](_0x39b29e);for(yield _0x39b29e;_0x39b29e;){if(_0x3b561e+=_0x4a1742,_0x39b29e=this['getRevision'](_0x3b561e),!_0x39b29e)return;_0x9a3363(_0x39b29e)&&(yield _0x39b29e);}}}function y(_0x302679,_0x197d10,_0x55da7f){const t=_0x302679['t'];switch(_0x197d10){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'},_0x55da7f);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x55da7f);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x516873,'a':_0x54e7ba,'e':_0x4d4939,'r':_0x6a5a9e,'u':_0x193691};class l extends _0x86ef99{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x247d28,A,_0x284bfe];}constructor(_0x3271fd){super(_0x3271fd),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 _0x5ceb8a=_0x380ed5();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x5ceb8a},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 _0x50304e=this['repository']['getRevision'](0x0),_0xff73c3=_0x50304e&&null===_0x50304e['creator']?_0x50304e:null;if(this['_continueCurrentRevision']=!!_0xff73c3&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x8580f1=this['_source']['getCurrentRevisionId'](),_0x3add05=this['repository']['getRevision'](_0x8580f1);if(_0x3add05)this['_startingVersion']=_0x3add05['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x38c8c6=this['_source']['history']['_operations']['find'](_0x24a2d9=>!_0x24a2d9['_isInit']),_0x45e1a3=_0x38c8c6?_0x38c8c6['baseVersion']:this['_source']['history']['version'];_0x50304e?(_0x50304e['toVersion']<_0x45e1a3&&_0x50304e['_update']({'toVersion':_0x45e1a3}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0xff73c3['id'],this['_startingVersion']=_0xff73c3['fromVersion']):(this['_startingVersion']=_0x50304e['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x45e1a3,this['_continueCurrentRevision']=!0x1);}}else _0xff73c3&&(this['editor']['model']['document']['history']['version']=Math['max'](_0xff73c3['toVersion'],this['editor']['model']['document']['history']['version']),_0xff73c3['fromVersion']===_0xff73c3['toVersion']?(0x0!==_0xff73c3['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0xff73c3['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0xff73c3['id'],this['_startingVersion']=_0xff73c3['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',_0x20317f=>!_0x20317f);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x1b637e=this['repository']['getRevision'](0x0),_0x17eba3=await this['getRevisionDocumentData'](_0x1b637e),_0x42e119=await this['getRevisionRootsAttributes'](_0x1b637e);this['_replaceEditorDataWithRevisionData'](_0x17eba3,_0x42e119);}}['setSource'](_0x334825){this['_source']=_0x334825;}async['update'](){const _0xa4ac3=await this['_source']['getLatestVersion']();if(_0xa4ac3>this['currentRevision']['toVersion']){await this['_loadState']();const _0x7ac662=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0xa4ac3});_0x7ac662['authors']=_0x7ac662['authorsIds']['map'](_0x13063a=>this['editor']['plugins']['get']('Users')['getUser'](_0x13063a)),this['currentRevision']['_update'](_0x7ac662);}}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'](_0x1eb2a4={},_0x31b3aa=null){const _0xe704e6=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x31b3aa>this['currentRevision']['toVersion']&&(_0x31b3aa=null),null===_0x31b3aa&&(_0x31b3aa=await this['_source']['getLatestVersion']());const _0x93a5ed=this['_getFromVersion'](_0x31b3aa),_0x277211=this['buildRevisionData']({'from':_0x93a5ed,'to':_0x31b3aa});if(this['currentRevision']['toVersion']<_0x31b3aa){const _0x1a1769=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x31b3aa,'to':_0x31b3aa});_0x1a1769['authors']=[],_0x1a1769['authorsIds']=[],_0x1a1769['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x1a1769,!0x0),delete _0x1a1769['authors'],_0xe704e6['push'](_0x1a1769);}_0x1eb2a4['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x1eb2a4['name']=_0x1eb2a4['name']||null,_0x1eb2a4['id']=_0x1eb2a4['id']||_0x380ed5(),_0x1eb2a4={..._0x1eb2a4,..._0x277211};const _0x4f7294=this['addRevisionData'](_0x1eb2a4);_0xe704e6['push'](_0x1eb2a4);const _0x542c40=this['repository']['getIndex'](_0x4f7294);if(0x0!==_0x542c40){const _0x3d2774=this['repository']['getRevision'](_0x542c40-0x1);if(_0x3d2774['fromVersion']!==_0x31b3aa){const _0x17bfa6=this['_revisionDataBuilder']['getData'](_0x31b3aa,_0x3d2774['toVersion']),_0x45a76f={'id':_0x3d2774['id'],'diffData':_0x17bfa6['diffData'],'authorsIds':_0x17bfa6['authorsIds'],'authors':_0x17bfa6['authorsIds']['map'](_0x450214=>this['editor']['plugins']['get']('Users')['getUser'](_0x450214)),'fromVersion':_0x31b3aa};_0x3d2774===this['currentRevision']&&(_0x45a76f['createdAt']=new Date(_0x1eb2a4['createdAt']['getTime']()+0xa)),_0x3d2774['_update'](_0x45a76f,!0x0),delete _0x45a76f['authors'],_0xe704e6['push'](_0x45a76f);}}if(this['adapter']){for(const _0x5508ab of _0xe704e6)this['_bufferUpdate'](_0x5508ab['id'],_0x5508ab,!0x0);this['sendBufferedUpdates']();}return _0x4f7294;}['addRevisionData'](_0x30ca6d){const _0x5ce1e4=this['repository']['createRevision'](_0x30ca6d);return this['adapter']&&_0x5ce1e4['on']('_update',(_0x3165b0,_0x20396f,_0x30cd85)=>{_0x30cd85||(this['_bufferUpdate'](_0x20396f['id'],_0x20396f,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x5ce1e4,this['_findInsertionIndex'](_0x5ce1e4)),_0x5ce1e4;}async['getRevisionDocumentData'](_0xf823c8){await this['_loadRevisionData'](_0xf823c8);const _0x2874eb={};for(const _0x1bfcbb in _0xf823c8['diffData']){if(_0xf823c8['diffData'][_0x1bfcbb]['attachChange']&&!_0xf823c8['diffData'][_0x1bfcbb]['attachChange']['isAttached'])continue;const _0x2673dd=this['_removeRevisionMarkers'](JSON['parse'](_0xf823c8['diffData'][_0x1bfcbb]['insertions'])),_0x2df724=this['editor']['editing']['view']['document'],_0x5cced1=new _0x2e7777(_0x2df724,_0x2673dd['map'](_0x186977=>B(_0x186977,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x2874eb[_0x1bfcbb]=this['editor']['data']['processor']['toData'](_0x5cced1),this['editor']['data']['processor']['useFillerType']('default');}return _0x2874eb;}async['getRevisionRootsAttributes'](_0x3b7aa2){await this['_loadRevisionData'](_0x3b7aa2);const _0x46753d={};for(const _0x2ea079 in _0x3b7aa2['diffData'])_0x3b7aa2['diffData'][_0x2ea079]['attachChange']&&!_0x3b7aa2['diffData'][_0x2ea079]['attachChange']['isAttached']||(_0x46753d[_0x2ea079]=_0x3b7aa2['diffData'][_0x2ea079]['attributesAfter']||{});return _0x46753d;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x22e678=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x38d6f1=0x0;_0x38d6f1<_0x22e678['length'];_0x38d6f1++){const _0x574cba=_0x22e678[_0x38d6f1];let _0x40fe98=!0x1;for(const _0x55b043 of Object['keys'](_0x574cba))void 0x0===_0x574cba[_0x55b043]?delete _0x574cba[_0x55b043]:'id'!==_0x55b043&&(_0x40fe98=!0x0);_0x40fe98||(_0x22e678[_0x38d6f1]=null);}if(_0x22e678=_0x22e678['filter'](_0x362d73=>null!==_0x362d73),!_0x22e678['length'])return;for(let _0x3b30fd=0x0;_0x3b30fd<_0x22e678['length'];_0x3b30fd++){const _0x585e2a=_0x22e678[_0x3b30fd];void 0x0!==_0x585e2a['fromVersion']&&void 0x0===_0x585e2a['toVersion']&&(_0x585e2a['toVersion']=this['repository']['getRevision'](_0x585e2a['id'])['toVersion']),void 0x0!==_0x585e2a['toVersion']&&void 0x0===_0x585e2a['fromVersion']&&(_0x585e2a['fromVersion']=this['repository']['getRevision'](_0x585e2a['id'])['fromVersion']);}const _0x156547=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x22e678,_0x156547)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x4aa18f=>{if(_0x4aa18f){for(const _0x2a1d90 of _0x4aa18f)this['setRevisionData']({'id':_0x2a1d90['id'],'createdAt':_0x2a1d90['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x2bb319,_0x278f4f){let _0x4cae08=this['editor']['config']['get']('initialData'),_0x493379=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x4cae08){_0x4cae08={};for(const _0x3b6942 of this['editor']['model']['document']['getRootNames']())_0x4cae08[_0x3b6942]='';}if('string'==typeof _0x4cae08&&(_0x4cae08={'main':_0x4cae08}),void 0x0===_0x493379){_0x493379={};for(const _0x1e9555 of this['editor']['model']['document']['getRootNames']())_0x493379[_0x1e9555]={};}let _0x2a7264=!0x1;const _0x3ad7bb=Object['keys'](_0x4cae08),_0x2e708f=Object['keys'](_0x2bb319);for(const _0x24e36b of _0x3ad7bb){if(_0x4cae08[_0x24e36b]!==_0x2bb319[_0x24e36b]&&''!==_0x4cae08[_0x24e36b]['trim']()){_0x2a7264=!0x0;break;}if(!_0xa481b1(_0x493379[_0x24e36b],_0x278f4f[_0x24e36b])&&Object['keys'](_0x493379[_0x24e36b])['length']>0x0){_0x2a7264=!0x0;break;}}_0x2a7264||(_0x2a7264=_0x2e708f['some'](_0x2bb351=>!this['editor']['model']['document']['getRoot'](_0x2bb351))),_0x2a7264&&_0x2515b6('editor-initial-data-replaced-with-revision-data',{'editorData':_0x4cae08,'editorRootsAttributes':_0x493379,'revisionData':_0x2bb319,'revisionRootsAttributes':_0x278f4f}),this['editor']['config']['set']('initialData',_0x2bb319),this['editor']['config']['set']('rootsAttributes',_0x278f4f);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x4daab0=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x4daab0['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0xe5c9a7){const _0x197487=this['repository']['getRevisions']();_0x197487['reverse']();let _0x30f7fa=0x0;for(;_0x30f7fa<_0x197487['length'];){const _0x13b03b=_0x197487[_0x30f7fa];if(_0x13b03b===this['currentRevision']){_0x30f7fa++;continue;}if(_0x13b03b['id']===this['_initialRevisionId'])break;const _0x115aa8=_0xe5c9a7['toVersion']-_0x13b03b['toVersion']||_0xe5c9a7['fromVersion']-_0x13b03b['fromVersion'];if(_0x115aa8>0x0)break;if(_0x115aa8<0x0)_0x30f7fa++;else{if(!_0xe5c9a7['creator']&&_0x13b03b['creator'])break;if(_0x13b03b['creator']||!_0xe5c9a7['creator']){if(_0xe5c9a7['createdAt']>_0x13b03b['createdAt'])break;_0x30f7fa++;}else _0x30f7fa++;}}return _0x30f7fa;}['setRevisionData'](_0x51397f){const _0x34c9b0=this['repository']['getRevision'](_0x51397f['id']);if(_0x51397f['createdAt']&&(_0x51397f['createdAt']=new Date(_0x51397f['createdAt'])),_0x51397f['authorsIds']){const _0x4bc9fb=this['editor']['plugins']['get']('Users');_0x51397f['authors']=_0x51397f['authorsIds']['map'](_0x258a54=>_0x4bc9fb['getUser'](_0x258a54));}_0x34c9b0['_update'](_0x51397f,!0x0);}['buildRevisionData']({revision:_0x32d903=null,from:_0x436c48=null,to:_0x3a25dc=null}){_0x436c48=null!==_0x436c48?_0x436c48:_0x32d903['fromVersion'],_0x3a25dc=null!==_0x3a25dc?_0x3a25dc:_0x32d903['toVersion'];const _0x1990de=this['_revisionDataBuilder']['getData'](_0x436c48,_0x3a25dc),_0x490171={'diffData':_0x1990de['diffData'],'authorsIds':_0x1990de['authorsIds'],'fromVersion':_0x436c48,'toVersion':_0x3a25dc};if(!_0x32d903||_0x3a25dc!==_0x32d903['toVersion']){const _0x429803=_0x3a25dc-0x1,_0x5bb5ef=this['_source']['history']['getOperation'](_0x429803);_0x490171['createdAt']=_0x5bb5ef&&_0x5bb5ef['createdAt']||new Date();}if(this['_loadedStateData']&&_0x436c48===this['_loadedStateData']['fromVersion']){for(const _0x5309b0 of this['_loadedStateData']['authors'])_0x490171['authorsIds']['includes'](_0x5309b0['id'])||_0x490171['authorsIds']['push'](_0x5309b0['id']);}return _0x490171;}['_loadRevisionData'](_0x41147e){if(!_0x41147e||_0x41147e['diffData'])return Promise['resolve']();{const _0x5b99d9=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x5b99d9,'revisionId':_0x41147e['id']})['then'](_0x4727f2=>{_0x41147e['diffData']=_0x4727f2['diffData'];});}}['_bufferUpdate'](_0x2abc58,_0x369d54,_0x42fa7c){if(this['_bufferedUpdates']['has'](_0x2abc58)){const _0x4a2522=this['_bufferedUpdates']['get'](_0x2abc58);_0x369d54=_0x42fa7c?{..._0x4a2522,..._0x369d54}:{..._0x369d54,..._0x4a2522};}this['_bufferedUpdates']['set'](_0x2abc58,_0x369d54);}['_getFromVersion'](_0x282bec){const _0x536172=this['repository']['getRevisions']();_0x536172['reverse'](),_0x536172['shift']();const _0xc13ba2=_0x536172['find'](_0x32fc48=>_0x32fc48['toVersion']<=_0x282bec)['toVersion'];return _0xc13ba2<this['_startingVersion']?this['_startingVersion']:_0xc13ba2;}['_createInitialRevision'](_0x44f2f6){const _0x2947c1=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x2947c1)this['_initialRevisionId']=_0x2947c1['id'];else{const _0x338c94=!this['editor']['model']['document']['roots']['find'](_0x1ddf8e=>this['editor']['model']['hasContent'](_0x1ddf8e)),_0x176358=this['editor']['plugins']['get']('Users')['me']['id'],_0x327f03=y(this['editor']['locale'],_0x338c94?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x44f2f6,'to':_0x44f2f6,'id':this['_initialRevisionId'],'name':_0x327f03,'creatorId':_0x176358});}}['_createCurrentRevision'](_0x492f25){const _0x2b4426=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x2b4426),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x492f25,'to':_0x492f25,'id':_0x2b4426,'name':'','creatorId':null}));}['_makeRevision']({name:_0x204f87,from:_0x415c20,to:_0x3c3af3,creatorId:_0x375763,id:_0x32cffd}){const _0x716b80=this['buildRevisionData']({'from':_0x415c20,'to':_0x3c3af3});_0x716b80['name']=_0x204f87,_0x716b80['creatorId']=_0x375763,_0x716b80['id']=_0x32cffd;const _0x3247d6=this['addRevisionData'](_0x716b80);return this['adapter']&&this['_bufferUpdate'](_0x716b80['id'],_0x716b80,!0x0),_0x3247d6;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x1de39b){return(_0x1de39b=_0x1de39b['filter'](_0x1089da=>!_0x1089da['name']||'revision-start'!==_0x1089da['name']&&'revision-end'!==_0x1089da['name']))['forEach'](_0x5dfb8d=>{'string'!=typeof _0x5dfb8d&&(_0x5dfb8d['children']=this['_removeRevisionMarkers'](_0x5dfb8d['children']),_0x5dfb8d['attributes']=_0x5dfb8d['attributes']['filter'](_0x590be0=>!_0x590be0[0x0]['startsWith']('data-revision-')));}),_0x1de39b;}}function B(_0xc8ec57,_0x70f9b0){const _0x40da53=_0x70f9b0['editing']['view']['document'];if('string'==typeof _0xc8ec57)return new _0x294f08(_0x40da53,_0xc8ec57);{const _0xe26c31=_0xc8ec57['children']['map'](_0x29ffd3=>B(_0x29ffd3,_0x70f9b0));return new(T[_0xc8ec57['type']]||_0x1d20e4)(_0x40da53,_0xc8ec57['name'],_0xc8ec57['attributes'],_0xe26c31);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x54ffa5){this['editor']=_0x54ffa5,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'](_0x555179){this['source']=_0x555179;const _0x193698=new Map(),_0x5889a6=new Map(),_0x22b8ac=this['editor']['model']['document']['roots']['map'](_0x50ee2f=>_0x50ee2f['rootName']);for(const _0xa9b3d7 of _0x22b8ac){const _0x321926=this['editor']['model']['document']['getRoot'](_0xa9b3d7),_0x491764=q(_0x321926);_0x193698['set'](_0xa9b3d7,_0x491764),_0x5889a6['set'](_0xa9b3d7,Object['fromEntries'](_0x321926['getAttributes']()));}const _0x5b22f1=Array['from'](this['editor']['model']['markers'])['map'](_0x54e34d=>[_0x54e34d['name'],_0x54e34d['getRange']()]),_0x212edf=this['source']['version'];this['_saveMetaData'](_0x212edf,_0x193698,_0x5b22f1,_0x5889a6),this['_startingRevisionId']=this['_revisionId'];const _0xda0faa=new Map(),_0x32e089=new Map();for(const _0x45f570 of _0x22b8ac){const _0x20d2aa=G(_0x45f570);_0xda0faa['set'](_0x45f570,_0x20d2aa),_0x32e089['set'](_0x45f570,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0xda0faa,[],_0x32e089);}['getData'](_0x22a730,_0x3f42a9){if(this['_lastFrom']===_0x22a730&&this['_lastTo']<=_0x3f42a9)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x3f42a9,!0x0);else{if(!this['_savedMetaData']['has'](_0x22a730)){const _0x5aceed=this['_getPreviousFrom'](_0x22a730);this['_calculateMetaData'](_0x5aceed,_0x22a730,!0x1);}this['_calculateMetaData'](_0x22a730,_0x3f42a9,!0x0);}return this['_lastFrom']=_0x22a730,this['_lastTo']=_0x3f42a9,this['_getState']();}['loadState'](_0x256984){this['_reset'](),this['_lastFrom']=_0x256984['fromVersion'],this['_lastTo']=_0x256984['toVersion'];for(const _0x3c152e in _0x256984['diffData']){const _0x153150=_0x256984['diffData'][_0x3c152e]['attachChange'],_0x365a07=_0x5d080c(_0x256984['diffData'][_0x3c152e]['attributesBefore'])||{},_0x24b1a1=this['_makeModelFromViewString'](_0x256984['diffData'][_0x3c152e]['deletions']);_0x24b1a1['rootName']=_0x3c152e,_0x24b1a1['_isAttached']=!_0x153150||!_0x153150['isAttached'],_0x24b1a1['isAttached']=()=>_0x24b1a1['_isAttached'],this['_baseRoots']['set'](_0x3c152e,_0x24b1a1),this['_baseRootsAttributes']['set'](_0x3c152e,_0x365a07),_0x153150&&this['_touchedRoots']['set'](_0x3c152e,_0x153150);const _0x37622d=this['_makeIdsRoot'](_0x24b1a1);this['_baseIdsRoots']['set'](_0x3c152e,_0x37622d);for(const [_0x2ae0c3,_0x260529]of _0x24b1a1['markers']){if(!_0x2ae0c3['startsWith']('revision:'))continue;const _0x1336eb=_0x2ae0c3['split'](':')[0x2];for(const _0xd0b59f of _0x260529['getWalker']({'singleCharacters':!0x0})){const _0x44b8fd=this['_getVidAttributeName'](_0xd0b59f),_0x49fe6a='elementEnd'==_0xd0b59f['type']?_0xd0b59f['previousPosition']['path']['slice'](0x0,-0x1):_0xd0b59f['previousPosition']['path'],_0x5eb566=_0x37622d['getNodeByPath'](_0x49fe6a)['getAttribute'](_0x44b8fd);this['_touched']['set'](_0x5eb566,{'userId':_0x1336eb});}}}this['_startingRevisionId']=this['_revisionId'];const _0x39ed26=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x7e377=>!this['_touched']['has'](_0x7e377));let _0x3d609a=0x0;const _0x38b89b=new Map();for(const _0x382949 in _0x256984['diffData']){const _0x327f15=_0x256984['diffData'][_0x382949]['attachChange'],_0x5684ac=_0x5d080c(_0x256984['diffData'][_0x382949]['attributesAfter'])||{},_0x2ef2c5=this['_makeModelFromViewString'](_0x256984['diffData'][_0x382949]['insertions']);_0x2ef2c5['rootName']=_0x382949,_0x2ef2c5['_isAttached']=!_0x327f15||_0x327f15['isAttached'],_0x2ef2c5['isAttached']=()=>_0x2ef2c5['_isAttached'],this['_diffRoots']['set'](_0x382949,_0x2ef2c5),this['_diffRootsAttributes']['set'](_0x382949,_0x5684ac);const _0x5502a3=this['_makeIdsRoot'](_0x2ef2c5,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x382949,_0x5502a3),_0x38b89b['set'](_0x382949,_0x2ef2c5['isAttached']()?_0x5684ac:{});for(const [_0x39cdfa,_0x2abce6]of _0x2ef2c5['markers']){if(!_0x39cdfa['startsWith']('revision:'))continue;const _0x1ccf20=_0x39cdfa['split'](':')[0x2];for(const _0x17b782 of _0x2abce6['getWalker']({'singleCharacters':!0x0})){const _0x188fcd=this['_getVidAttributeName'](_0x17b782),_0x3e6924=this['_revisionId']++,_0x1443d7='elementEnd'==_0x17b782['type']?_0x17b782['previousPosition']['path']['slice'](0x0,-0x1):_0x17b782['previousPosition']['path'];_0x5502a3['getNodeByPath'](_0x1443d7)['_setAttribute'](_0x188fcd,_0x3e6924),this['_touched']['set'](_0x3e6924,{'userId':_0x1ccf20});}}for(const _0x54c8e0 of this['editor']['model']['createRangeIn'](_0x2ef2c5)['getWalker']({'singleCharacters':!0x0})){const _0x5d8f36=this['_getVidAttributeName'](_0x54c8e0),_0x35c81f='elementEnd'==_0x54c8e0['type']?_0x54c8e0['previousPosition']['path']['slice'](0x0,-0x1):_0x54c8e0['previousPosition']['path'],_0x3a23b6=_0x5502a3['getNodeByPath'](_0x35c81f);_0x3a23b6['getAttribute'](_0x5d8f36)>0x0||_0x3a23b6['_setAttribute'](_0x5d8f36,_0x39ed26[_0x3d609a++]);}for(const [_0x2d41fb,_0x2eadb0]of _0x2ef2c5['markers'])_0x2d41fb['startsWith']('revision:')||this['_markers']['set'](_0x2d41fb,_0x2eadb0);}const _0x281198=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x281198),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x281198,0x1));const _0x2700af=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x2700af),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x2700af,0x1));const _0x121fd7=Array['from'](this['_diffRoots'])['map'](([_0x47b30b,_0x799cb8])=>[_0x47b30b,q(_0x799cb8)]);this['_saveMetaData'](this['_lastTo'],_0x121fd7,this['_markers'],_0x38b89b);}['_makeModelFromViewString'](_0x5806ed){const _0x23f050=JSON['parse'](_0x5806ed),_0x5c7f84=this['editor']['editing']['view']['document'],_0x2c0dee=new _0x2e7777(_0x5c7f84,_0x23f050['map'](_0x16579f=>B(_0x16579f,this['editor'])));return this['editor']['data']['toModel'](_0x2c0dee);}['_saveMetaData'](_0xe8bafe,_0xdd3a43,_0x58fa4f,_0x301526){const _0x52de64=new Map(_0xdd3a43),_0x1b7441=new Map(_0x5d080c(_0x301526)),_0x138120=new Map();for(const [_0x509821,_0x1ddf41]of _0x58fa4f)_0x138120['set'](_0x509821,{'start':_0x1ddf41['start']['clone'](),'end':_0x1ddf41['end']['clone'](),'rootName':_0x1ddf41['root']['rootName']});this['_savedMetaData']['set'](_0xe8bafe,{'roots':_0x52de64,'markers':_0x138120,'rootsAttributes':_0x1b7441});}['_removeMetaData'](_0x3f6da8){this['_savedMetaData']['delete'](_0x3f6da8);}['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'](_0x12183c,_0x2cc319=null){let _0xac0270=null;_0x12183c['is']('documentFragment')||(_0xac0270=new ft(_0x12183c['name'],{'vid_start':null===_0x2cc319?this['_revisionId']++:_0x2cc319++}));const _0x83f6d6=[];for(const _0x1c3f60 of _0x12183c['getChildren']())if(_0x1c3f60['is']('element')){_0x83f6d6['push'](this['_makeIdsRoot'](_0x1c3f60,_0x2cc319));const _0x5a62d7=_0x83f6d6[_0x83f6d6['length']-0x1];null!==_0x2cc319&&(_0x2cc319=_0x5a62d7['is']('element','$text')?_0x5a62d7['getAttribute']('vid')+0x1:_0x5a62d7['getAttribute']('vid_end')+0x1);}else{for(let _0x369b26=0x0;_0x369b26<_0x1c3f60['offsetSize'];_0x369b26++)_0x83f6d6['push'](new ft('$text',{'vid':null===_0x2cc319?this['_revisionId']++:_0x2cc319++}));}if(_0x12183c['is']('documentFragment')){const _0x9817de=G(_0x12183c['rootName']);return _0x9817de['_insertChild'](0x0,_0x83f6d6),_0x9817de;}return _0xac0270['_setAttribute']('vid_end',null===_0x2cc319?this['_revisionId']++:_0x2cc319++),_0xac0270['_insertChild'](0x0,_0x83f6d6),_0xac0270;}['_calculateMetaData'](_0x4b7d77,_0x2f146b,_0x50e893){this['_reset']();const {roots:_0x48602d,markers:_0xe15aa6,rootsAttributes:_0x4e92d8}=this['_savedMetaData']['get'](_0x4b7d77);this['_baseRoots']=new Map(_0x48602d),this['_baseRootsAttributes']=new Map(_0x5d080c(_0x4e92d8));for(const [_0x31cb71,_0x1a0364]of this['_baseRoots'])if('$graveyard'!==_0x31cb71&&(this['_diffRoots']['set'](_0x31cb71,q(_0x1a0364)),this['_diffRootsAttributes']=new Map(_0x5d080c(_0x4e92d8)),_0x50e893)){const _0x591464=this['_revisionId'];this['_idsRoots']['set'](_0x31cb71,this['_makeIdsRoot'](_0x1a0364)),this['_baseIdsRoots']['set'](_0x31cb71,this['_makeIdsRoot'](_0x1a0364,_0x591464));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x50e893&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x1b586b,_0x202b78]of _0xe15aa6){const _0x470b69=this['_baseRoots']['get'](_0x202b78['rootName']),_0x9b216a=this['_diffRoots']['get'](_0x202b78['rootName']),_0x1e6ae6=new vt(this['_fixPosition'](_0x202b78['start'],_0x470b69),this['_fixPosition'](_0x202b78['end'],_0x470b69)),_0x36cded=this['_fixRange'](_0x1e6ae6,_0x9b216a);_0x470b69['markers']['set'](_0x1b586b,_0x1e6ae6),this['_markers']['set'](_0x1b586b,_0x36cded);}this['_applyOperations'](_0x4b7d77,_0x2f146b,_0x50e893);}['_applyOperations'](_0x4850c3,_0x30134c,_0x5cf1be){for(const _0x10f60e of this['source']['getOperations'](_0x4850c3,_0x30134c))this['_handleOperation'](_0x10f60e,_0x5cf1be);for(const _0x432fdc of this['_diffRoots']['values']())_0x432fdc['markers']['clear']();for(const [_0x5c29a0,_0x5b1306]of this['_markers']){this['_diffRoots']['get'](_0x5b1306['root']['rootName'])['markers']['set'](_0x5c29a0,_0x5b1306['clone']());}const _0x530bc4=new Map(),_0x1283b8=new Map();for(const [_0x4cc79a,_0x3c00b1]of this['_diffRoots'])_0x530bc4['set'](_0x4cc79a,q(_0x3c00b1)),_0x1283b8['set'](_0x4cc79a,this['_diffRootsAttributes']['get'](_0x4cc79a));this['_saveMetaData'](_0x30134c,_0x530bc4,this['_markers'],_0x1283b8);}['_getPreviousFrom'](_0x2250c4){const _0x599028=Array['from'](this['_savedMetaData']['keys']());_0x599028['sort']((_0x395f16,_0x3351a2)=>_0x395f16-_0x3351a2),_0x599028['reverse']();for(const _0x283dd3 of _0x599028)if(_0x283dd3<_0x2250c4)return _0x283dd3;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x1f606d,_0x17eb31){const _0x2d52f3=Array['from'](_0x17eb31['markers'])['map'](([_0x36c0c5,_0x12c4a4])=>[_0x36c0c5,this['_fixRange'](_0x12c4a4,_0x1f606d)]);_0x1f606d['markers']=new Map(_0x2d52f3);}['_transformMarkers'](_0x20315d){for(const _0x3edc34 of this['_markers']['values']()){const _0x527b97=_0x3edc34['getTransformedByOperation'](_0x20315d),_0x49c553=vt['_createFromRanges'](_0x527b97);_0x3edc34['start']=_0x49c553['start'],_0x3edc34['end']=_0x49c553['end'];}}['_handleOperation'](_0x4b68a0,_0x4196c3){if('addRoot'==_0x4b68a0['type']||'detachRoot'==_0x4b68a0['type'])return void this['_handleRootOperation'](_0x4b68a0,_0x4196c3);if('insert'==_0x4b68a0['type']){const _0x28c7fb=_0x4b68a0['position']['root']['rootName'];this['_diffRoots']['has'](_0x28c7fb)||(this['_diffRoots']['set'](_0x28c7fb,G(_0x28c7fb,!0x0)),this['_diffRootsAttributes']['set'](_0x28c7fb,{}),_0x4196c3&&this['_idsRoots']['set'](_0x28c7fb,G(_0x28c7fb,!0x0)));}else{if('addRootAttribute'==_0x4b68a0['type']||'removeRootAttribute'==_0x4b68a0['type']||'changeRootAttribute'==_0x4b68a0['type'])return void this['_handleRootAttributeOperation'](_0x4b68a0);}const _0x2b720d=this['_cloneOperation'](_0x4b68a0,this['_diffRoots']);if('marker'!==_0x4b68a0['type']&&(_0x2b720d['_execute'](),this['_transformMarkers'](_0x2b720d)),_0x4196c3)switch(_0x2b720d['type']){case'insert':this['_handleInsertOperation'](_0x4b68a0);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x4b68a0);break;case'merge':this['_handleMergeOperation'](_0x4b68a0);break;case'split':this['_handleSplitOperation'](_0x4b68a0);break;case'marker':this['_handleMarkerOperation'](_0x4b68a0);}}['_cloneOperation'](_0x3b9f91,_0x367150){const _0xaa96d=_0x3b9f91['clone']();return _0xaa96d['_authorId']=_0x3b9f91['_authorId'],this['_fixOperation'](_0xaa96d,_0x367150),_0xaa96d;}['_getBaseVids'](_0x3b3f76){return _0x3b3f76['map'](_0x2d6bd2=>{const _0x37912a=this['_getVidAttributeName'](_0x2d6bd2);return Number(_0x2d6bd2['item']['getAttribute'](_0x37912a));});}['_generateTape'](_0x51c8b5,_0x2c43c1){if(_0x51c8b5['is']('element','$text'))_0x2c43c1['push']({'item':_0x51c8b5,'type':'text'});else{_0x51c8b5['is']('element')&&_0x2c43c1['push']({'item':_0x51c8b5,'type':'elementStart'});for(const _0xa27a0d of _0x51c8b5['getChildren']())this['_generateTape'](_0xa27a0d,_0x2c43c1);_0x51c8b5['is']('element')&&_0x2c43c1['push']({'item':_0x51c8b5,'type':'elementEnd'});}return _0x2c43c1;}['_getState'](){const _0x323c34=new Map(this['_touched']),_0x2cea5e=new Map(_0x323c34),_0x423865=new Map(),_0x52054d={'insertions':{},'deletions':{}},_0x1989a8={'insertions':{},'deletions':{}},_0x18ba82=new Map(),_0x4c8b9c=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x4c8b9c['delete']('$graveyard');for(const _0x5859d4 of _0x4c8b9c){const _0x4e40c5=this['_diffRoots']['get'](_0x5859d4)||G(_0x5859d4,!0x1),_0x31ea8c=this['_baseRoots']['get'](_0x5859d4)||G(_0x5859d4,!0x1);_0x4e40c5['isAttached']()||_0x31ea8c['isAttached']()?(_0x52054d['insertions'][_0x5859d4]=q(_0x4e40c5),_0x52054d['deletions'][_0x5859d4]=q(_0x31ea8c),this['_copyMarkers'](_0x52054d['deletions'][_0x5859d4],_0x31ea8c),this['_copyMarkers'](_0x52054d['insertions'][_0x5859d4],_0x4e40c5),_0x1989a8['insertions'][_0x5859d4]=this['_generateTape'](this['_idsRoots']['get'](_0x5859d4),[]),_0x1989a8['deletions'][_0x5859d4]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x5859d4)||G(_0x5859d4,!0x1),[])):_0x4c8b9c['delete'](_0x5859d4);}for(const _0x170571 of _0x4c8b9c){const _0x205abd=_0x1989a8['insertions'][_0x170571];for(const _0x1e4391 of _0x205abd){const _0x42fa68=this['_getVidAttributeName'](_0x1e4391),_0x2b002e=_0x1e4391['item']['getAttribute'](_0x42fa68);_0x2cea5e['delete'](_0x2b002e),_0x2b002e>=this['_startingRevisionId']&&_0x423865['set'](_0x2b002e,_0x323c34['get'](_0x2b002e));}}for(const _0x372a25 of _0x4c8b9c){const _0x43190d=_0x1989a8['insertions'][_0x372a25],_0x547470=this['_getBaseVids'](_0x1989a8['deletions'][_0x372a25]);let _0x23e289=0x0;for(const _0x21ee73 of _0x43190d){const _0x360ce2=this['_getVidAttributeName'](_0x21ee73),_0x566fdf=_0x21ee73['item']['getAttribute'](_0x360ce2);if(!_0x423865['has'](_0x566fdf)&&!_0x18ba82['has'](_0x566fdf)){if(_0x2cea5e['has'](_0x566fdf))_0x23e289++;else{if(_0x566fdf!=_0x547470[_0x23e289]){const _0x3f55cd=_0x323c34['get'](_0x566fdf)||_0x323c34['get'](_0x547470[_0x23e289]);for(;_0x566fdf!=_0x547470[_0x23e289];)_0x2cea5e['has'](_0x547470[_0x23e289])||(_0x18ba82['set'](_0x547470[_0x23e289],_0x3f55cd),_0x323c34['set'](_0x547470[_0x23e289],_0x3f55cd)),_0x23e289++;}_0x23e289++;}}}}for(const _0x1356b6 of _0x4c8b9c){const _0x45b34f=_0x1989a8['insertions'][_0x1356b6];for(const _0x5501e0 of _0x45b34f){const _0x1465e6=this['_getVidAttributeName'](_0x5501e0),_0x629dac=_0x5501e0['item']['getAttribute'](_0x1465e6);if(_0x18ba82['has'](_0x629dac)){const _0x1cc6a2=_0x18ba82['get'](_0x629dac);_0x2cea5e['has'](_0x629dac)||_0x2cea5e['set'](_0x629dac,{..._0x1cc6a2}),_0x423865['set'](_0x629dac,{..._0x1cc6a2});}}}for(const _0x477915 of _0x2cea5e['keys']())_0x477915>=this['_startingRevisionId']&&_0x2cea5e['delete'](_0x477915);const _0x3244c5=new Map();for(const _0x5d3362 of _0x4c8b9c){let _0x2edac4=_0x1989a8['insertions'][_0x5d3362];for(const _0x1d582c of _0x2edac4)if(_0x1d582c['item']['is']('element','tableCell')){const _0x28661f=this['_getVidAttributeName'](_0x1d582c),_0x47487a=_0x1d582c['item']['getAttribute'](_0x28661f);if(_0x423865['has'](_0x47487a)){const _0x9b2204=_0x1d582c['item']['parent']['parent']['getAttribute']('vid_start'),_0x174a7d=_0x3244c5['get'](_0x9b2204)||new Set();_0x174a7d['add'](_0x423865['get'](_0x47487a)['userId']),_0x3244c5['set'](_0x9b2204,_0x174a7d);}}_0x2edac4=_0x1989a8['deletions'][_0x5d3362];for(const _0x48c064 of _0x2edac4)if(_0x48c064['item']['is']('element','tableCell')){const _0x58c1d8=this['_getVidAttributeName'](_0x48c064),_0x2e4253=_0x48c064['item']['getAttribute'](_0x58c1d8);if(_0x2cea5e['has'](_0x2e4253)){const _0x4c3aa6=_0x48c064['item']['parent']['parent']['getAttribute']('vid_start'),_0x10bcc0=_0x3244c5['get'](_0x4c3aa6)||new Set();_0x10bcc0['add'](_0x2cea5e['get'](_0x2e4253)['userId']),_0x3244c5['set'](_0x4c3aa6,_0x10bcc0);}}for(const _0x122cea of _0x3244c5['keys']())(_0x423865['has'](_0x122cea)||_0x2cea5e['has'](_0x122cea))&&_0x3244c5['delete'](_0x122cea);}for(const _0x5230ba of _0x4c8b9c){const _0x39207f=_0x1989a8['insertions'][_0x5230ba];let _0x46fc84=null,_0x4e9594=null;for(const _0x4e7423 of _0x39207f){const _0x493dba=this['_getVidAttributeName'](_0x4e7423),_0x18ff11=_0x4e7423['item']['getAttribute'](_0x493dba),_0x120f71=_0x3244c5['get'](_0x18ff11);_0x120f71&&'elementStart'==_0x4e7423['type']&&(_0x46fc84=Array['from'](_0x120f71)[0x0],_0x4e9594=_0x4e7423['item']['getAttribute']('vid_end')),_0x46fc84&&(_0x2cea5e['set'](_0x18ff11,{'userId':_0x46fc84}),_0x423865['set'](_0x18ff11,{'userId':_0x46fc84})),_0x18ff11==_0x4e9594&&(_0x46fc84=null,_0x4e9594=null);}}const _0x362879={},_0x3cbacf=new Set();for(const _0x44a1fb of _0x4c8b9c){const _0x40abce=_0x52054d['deletions'][_0x44a1fb],_0x2263f5=_0x52054d['insertions'][_0x44a1fb];for(const {userId:_0x23f1b2}of this['_touchedMarkers']['values']())null!==_0x23f1b2&&_0x3cbacf['add'](_0x23f1b2);for(const {userId:_0x532b1e}of this['_touchedRoots']['values']())null!==_0x532b1e&&_0x3cbacf['add'](_0x532b1e);this['_markChanges'](_0x2263f5,_0x1989a8['insertions'][_0x44a1fb],_0x423865,'insertion',_0x3cbacf),this['_markChanges'](_0x40abce,_0x1989a8['deletions'][_0x44a1fb],_0x2cea5e,'deletion',_0x3cbacf),_0x362879[_0x44a1fb]={'insertions':this['_prepareViewToSave'](_0x2263f5),'deletions':this['_prepareViewToSave'](_0x40abce),'attachChange':this['_touchedRoots']['get'](_0x44a1fb)||null,'attributesBefore':_0x5d080c(this['_baseRootsAttributes']['get'](_0x44a1fb))||{},'attributesAfter':_0x5d080c(this['_diffRootsAttributes']['get'](_0x44a1fb))};}return{'diffData':_0x362879,'authorsIds':Array['from'](_0x3cbacf)};}['_processRootBeforeSave'](_0x4ccb88){for(const [,_0x5872c9]of _0x4ccb88['markers']){const _0x2226fe=_0x5872c9['start']['getAncestors']()['filter'](_0xf8ed87=>'tableCell'==_0xf8ed87['name']);for(const _0x110085 of _0x2226fe)0x1==_0x110085['childCount']&&_0x110085['getChild'](0x0)['is']('element','paragraph')&&_0x110085['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x100aae){this['_processRootBeforeSave'](_0x100aae);const _0x8895d2=this['editor']['data']['toView'](_0x100aae,{}),_0x47f2be=Array['from'](_0x8895d2['getChildren']())['map'](_0x19dc65=>this['_getViewJson'](_0x19dc65));return JSON['stringify'](_0x47f2be);}['_getViewJson'](_0xa4967f){if(_0xa4967f['is']('$text'))return _0xa4967f['data'];{const _0x118964=_0xa4967f;return{'type':Object['keys'](T)['find'](_0xbea1dc=>_0xa4967f instanceof T[_0xbea1dc]),'name':_0x118964['name'],'attributes':Array['from'](_0x118964['getAttributes']()),'children':Array['from'](_0x118964['getChildren']())['map'](_0x51a271=>this['_getViewJson'](_0x51a271))};}}['_markChanges'](_0x22aaa8,_0x2fe331,_0x2071b9,_0x189065,_0x349f34){let _0x2a6380=null,_0x5c122b=null,_0x111ccb=0x0;const _0x201f4b=this['editor']['model'];for(let _0x442d22=0x0;_0x442d22<_0x2fe331['length'];_0x442d22++){const _0x36d25a=this['_getVidAttributeName'](_0x2fe331[_0x442d22]),_0x20bf57=_0x2fe331[_0x442d22]['item']['getAttribute'](_0x36d25a),_0x3e7e11=_0x2071b9['get'](_0x20bf57),_0x42144a=_0x442d22==_0x2fe331['length']-0x1;(!_0x2a6380&&_0x3e7e11&&(_0x2a6380=_0x3e7e11,_0x5c122b=_0x2fe331[_0x442d22]),_0x2a6380&&(!_0x3e7e11||_0x3e7e11['userId']!=_0x2a6380['userId']))&&(_0x4c9922(_0x3e7e11,L(_0x5c122b,_0x22aaa8,_0x201f4b),L(_0x2fe331[_0x442d22],_0x22aaa8,_0x201f4b)),_0x2a6380=_0x3e7e11||null,_0x5c122b=_0x3e7e11?_0x2fe331[_0x442d22]:null),_0x2a6380&&_0x42144a&&_0x4c9922(_0x3e7e11,L(_0x5c122b,_0x22aaa8,_0x201f4b),W(_0x2fe331[_0x442d22],_0x22aaa8,_0x201f4b));}function _0x4c9922(_0x159da7,_0x4967fa,_0x4d2621){const _0x57438f=_0x2a6380['userId'],_0xed87d2='revision:'+_0x189065+':'+_0x57438f+':'+_0x111ccb++,_0x34c40f=_0x201f4b['createRange'](_0x4967fa,_0x4d2621);_0x22aaa8['markers']['set'](_0xed87d2,_0x34c40f),null!==_0x57438f&&_0x349f34['add'](_0x57438f);}}['_getVidAttributeName'](_0x93d4b4){switch(_0x93d4b4['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x4e8ace,_0x47ecb7){_0x4e8ace['baseVersion']=null;for(const _0x464674 in _0x4e8ace){const _0x3d18b4=_0x4e8ace[_0x464674];if(_0x3d18b4 instanceof gt){const _0x25ca3f=_0x47ecb7['get'](_0x3d18b4['root']['rootName']);_0x4e8ace[_0x464674]=this['_fixPosition'](_0x3d18b4,_0x25ca3f);}if(_0x3d18b4 instanceof vt){const _0x175cb8=_0x47ecb7['get'](_0x3d18b4['root']['rootName']);_0x4e8ace[_0x464674]=this['_fixRange'](_0x3d18b4,_0x175cb8);}'root'===_0x464674&&(_0x4e8ace['root']=_0x47ecb7['get'](_0x4e8ace['root']['rootName']));}}['_fixRange'](_0xa595ad,_0x4e0555){return this['editor']['model']['createRange'](this['_fixPosition'](_0xa595ad['start'],_0x4e0555),this['_fixPosition'](_0xa595ad['end'],_0x4e0555));}['_fixPosition'](_0x1fd075,_0x11d4d7){return this['editor']['model']['createPositionFromPath'](_0x11d4d7,_0x1fd075['path'],_0x1fd075['stickiness']);}['_handleInsertOperation'](_0x3d511f){const _0x3a368a=this['_idsRoots']['get'](_0x3d511f['position']['root']['rootName']),_0x55c73b=this['_fixPosition'](_0x3d511f['position'],_0x3a368a),_0x154897=null===_0x3d511f['_authorId']?null:_0x3d511f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xc970c=_0x55c73b['parent'],_0x101e44=this['_revisionId'],_0x49926c=[];for(const _0x14127f of _0x3d511f['nodes'])if(_0x14127f['is']('element'))_0x49926c['push'](this['_makeIdsRoot'](_0x14127f));else{for(let _0x39c315=0x0;_0x39c315<_0x14127f['offsetSize'];_0x39c315++)_0x49926c['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x3d7717=this['_revisionId'];for(let _0x4780fb=_0x101e44;_0x4780fb<_0x3d7717;_0x4780fb++)this['_touched']['set'](_0x4780fb,{'userId':_0x154897});_0xc970c['_insertChild'](_0x55c73b['offset'],_0x49926c);}['_handleMoveOperation'](_0x2de390){(_0x2de390=this['_cloneOperation'](_0x2de390,this['_idsRoots']))['_execute']();const _0x3b9732=null===_0x2de390['_authorId']?null:_0x2de390['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1e1223=_0x2de390['getMovedRangeStart'](),_0x50e0f0=_0x1e1223['parent'],_0x503ea5=_0x1e1223['offset'];!function _0xfb58ff(_0x1d107b,_0x58f403,_0x11ea39,_0x55d8e9){for(let _0x28c277=_0x11ea39;_0x28c277<_0x55d8e9;_0x28c277++){const _0x56554e=_0x58f403['getChild'](_0x28c277);_0x56554e['is']('element','$text')?_0x1d107b['set'](_0x56554e['getAttribute']('vid'),{'userId':_0x3b9732}):(_0x1d107b['set'](_0x56554e['getAttribute']('vid_start'),{'userId':_0x3b9732}),_0xfb58ff(_0x1d107b,_0x56554e,0x0,_0x56554e['childCount']),_0x1d107b['set'](_0x56554e['getAttribute']('vid_end'),{'userId':_0x3b9732}));}}(this['_touched'],_0x50e0f0,_0x503ea5,_0x503ea5+_0x2de390['howMany']);}['_handleMergeOperation'](_0x5563d9){const _0x4e7af2=null===(_0x5563d9=this['_cloneOperation'](_0x5563d9,this['_idsRoots']))['_authorId']?null:_0x5563d9['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1bccf7=_0x5563d9['targetPosition']['parent'],_0xaf4477=_0x5563d9['sourcePosition']['parent'],_0x4c9aed=_0x1bccf7['getAttribute']('vid_end'),_0x3d6e40=_0xaf4477['getAttribute']('vid_start');_0x1bccf7['_setAttribute']('vid_end',_0xaf4477['getAttribute']('vid_end')),_0xaf4477['_setAttribute']('vid_end',_0x4c9aed),this['_touched']['set'](_0x3d6e40,{'userId':_0x4e7af2}),this['_touched']['set'](_0x4c9aed,{'userId':_0x4e7af2}),_0x5563d9['_execute']();}['_handleSplitOperation'](_0x4df591){const _0x8b85fb=null===(_0x4df591=this['_cloneOperation'](_0x4df591,this['_idsRoots']))['_authorId']?null:_0x4df591['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x24e799=_0x4df591['graveyardPosition'],_0x53f1f3=_0x4df591['splitPosition']['parent'];_0x4df591['_execute']();const _0x255526=_0x53f1f3['getAttribute']('vid_end'),_0x450f8e=_0x4df591['insertionPosition']['nodeAfter'];if(_0x24e799){const _0x1d7f45=_0x450f8e['getAttribute']('vid_end'),_0x3b0663=_0x53f1f3['getAttribute']('vid_end');_0x53f1f3['_setAttribute']('vid_end',_0x1d7f45),_0x450f8e['_setAttribute']('vid_end',_0x3b0663),this['_touched']['set'](_0x53f1f3['getAttribute']('vid_end'),{'userId':_0x8b85fb}),this['_touched']['set'](_0x450f8e['getAttribute']('vid_start'),{'userId':_0x8b85fb});}else{const _0x4072f8=this['_revisionId']++,_0x3e8928=this['_revisionId']++;_0x53f1f3['_setAttribute']('vid_end',_0x4072f8),_0x450f8e['_setAttribute']('vid_start',_0x3e8928),_0x450f8e['_setAttribute']('vid_end',_0x255526),this['_touched']['set'](_0x4072f8,{'userId':_0x8b85fb}),this['_touched']['set'](_0x3e8928,{'userId':_0x8b85fb});}}['_handleMarkerOperation'](_0x1d0af3){if(!_0x1d0af3['affectsData'])return;const _0x8b4959=(_0x1d0af3=this['_cloneOperation'](_0x1d0af3,this['_diffRoots']))['oldRange']?_0x1d0af3['oldRange']['root']:null,_0x13da7e=_0x1d0af3['newRange']?_0x1d0af3['newRange']['root']:null;_0x8b4959&&this['_markers']['delete'](_0x1d0af3['name']),_0x13da7e&&this['_markers']['set'](_0x1d0af3['name'],_0x1d0af3['newRange']['clone']());const _0x57de0e=null===_0x1d0af3['_authorId']?null:_0x1d0af3['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4b9466=_0x1d0af3['name'];if(!this['_touchedMarkers']['has'](_0x4b9466))return void this['_touchedMarkers']['set'](_0x4b9466,{'range':_0x1d0af3['oldRange'],'userId':_0x57de0e});const _0x38235c=this['_touchedMarkers']['get'](_0x4b9466),_0x28ae3f=_0x38235c['range'],_0x335dc9=_0x1d0af3['newRange'];null==_0x28ae3f&&null==_0x335dc9||_0x28ae3f&&_0x335dc9&&_0x28ae3f['isEqual'](_0x335dc9)?this['_touchedMarkers']['delete'](_0x1d0af3['name']):_0x38235c['userId']=_0x57de0e;}['_handleRootOperation'](_0x4c3137,_0x4fb350){this['_diffRoots']['has'](_0x4c3137['rootName'])?this['_diffRoots']['get'](_0x4c3137['rootName'])['_isAttached']=_0x4c3137['isAdd']:(this['_diffRoots']['set'](_0x4c3137['rootName'],G(_0x4c3137['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x4c3137['rootName'],{}),_0x4fb350&&this['_idsRoots']['set'](_0x4c3137['rootName'],G(_0x4c3137['rootName'],!0x0)));const _0x22b7e5=null===_0x4c3137['_authorId']?null:_0x4c3137['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2cf210=this['_touchedRoots']['get'](_0x4c3137['rootName']);_0x2cf210&&_0x2cf210['userId']===_0x22b7e5?this['_touchedRoots']['delete'](_0x4c3137['rootName']):this['_touchedRoots']['set'](_0x4c3137['rootName'],{'userId':_0x22b7e5,'isAttached':_0x4c3137['isAdd']});}['_handleRootAttributeOperation'](_0x429be3){const _0x48674d=this['_diffRootsAttributes']['get'](_0x429be3['root']['rootName']);null===_0x429be3['newValue']?delete _0x48674d[_0x429be3['key']]:_0x48674d[_0x429be3['key']]=_0x429be3['newValue'];}}function q(_0x53be53){const _0x14f33a=G(_0x53be53['rootName'],_0x53be53['isAttached']());for(const _0x98cb4b of _0x53be53['getChildren']()){const _0x5f378c=_0x98cb4b['_clone'](!0x0);_0x14f33a['_appendChild'](_0x5f378c);}return _0x14f33a;}function G(_0x215eaa,_0xd67f4=!0x0){const _0x209dec=new wt();return _0x209dec['rootName']=_0x215eaa,_0x209dec['_isAttached']=_0xd67f4,_0x209dec['isAttached']=()=>_0x209dec['_isAttached'],_0x209dec;}function L(_0x333dac,_0x5821f3,_0x4eb56a){const _0x25dfbe='elementEnd'==_0x333dac['type']?_0x4eb56a['createPositionAt'](_0x333dac['item'],'end'):_0x4eb56a['createPositionBefore'](_0x333dac['item']);return _0x4eb56a['createPositionFromPath'](_0x5821f3,_0x25dfbe['path'],_0x25dfbe['stickiness']);}function W(_0x34bb53,_0x12e6ac,_0x3e0047){const _0x3f4d3a='elementStart'==_0x34bb53['type']?_0x3e0047['createPositionAt'](_0x34bb53['item'],0x0):_0x3e0047['createPositionAfter'](_0x34bb53['item']);return _0x3e0047['createPositionFromPath'](_0x12e6ac,_0x3f4d3a['path'],_0x3f4d3a['stickiness']);}class ns extends _0x415edb{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x38b01a,_0x1f3329){super(_0x38b01a),this['focusTracker']=new _0x2fc202(),this['keystrokes']=new _0x1da988(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x1f3329),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'](),_0x1682e7({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x1f1ee5=_0x304aed=>_0x304aed['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1f1ee5),this['keystrokes']['set']('arrowleft',_0x1f1ee5),this['keystrokes']['set']('arrowup',_0x1f1ee5),this['keystrokes']['set']('arrowdown',_0x1f1ee5);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x42eb01){this['revisionNameInputView']['fieldView']['element']['value']=_0x42eb01['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x355d8d){const _0x27e577=new at(this['locale'],_0x5bc8e7),_0x55c6f5=_0x27e577['fieldView'];_0x55c6f5['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x250752=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x355d8d&&(_0x250752+='\x20('+y(this['locale'],'optional')+')'),(_0x27e577['label']=_0x250752,_0x55c6f5['on']('input',()=>{this['revisionNameInputValue']=_0x55c6f5['element']['value']['trim']();}),_0x27e577);}}class u extends _0x86ef99{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x45ef1f=this['editor'],_0x4e09de=_0x45ef1f['plugins']['get']('RevisionTracker');_0x45ef1f['ui']['componentFactory']['add']('revisionHistory',_0x445fe7=>{const _0x30a984=_0x4e3765(_0x445fe7),_0x30949f=_0x30a984['panelView']['children'],_0x1b553a=new te(_0x445fe7),_0xd73091=new _0x44ebb4(_0x445fe7),_0x26e487=new _0x28fe5f(_0x445fe7),_0x50276f=new _0x44ebb4(_0x445fe7),_0x5261ed=new _0x28fe5f(_0x445fe7);return _0x30a984['bind']('isEnabled')['to'](_0x4e09de,'isReady',_0x4e09de,'isEnabled',_0x45ef1f,'isReadOnly',(_0x369e6a,_0x21c50d,_0x3ef05d)=>_0x369e6a&&_0x21c50d&&!_0x3ef05d),_0x30a984['buttonView']['set']({'icon':_0x52afaf['history'],'label':y(_0x445fe7,'Revision\x20history'),'tooltip':!0x0}),_0x26e487['set']({'label':y(_0x445fe7,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x26e487['bind']('isEnabled')['to'](_0x4e09de,'isReady',_0x4e09de,'isEnabled',_0x45ef1f,'isReadOnly',(_0x223e6d,_0x229dc8,_0x472078)=>_0x223e6d&&_0x229dc8&&!_0x472078),_0x26e487['on']('execute',()=>this['_showDialog']()),_0x5261ed['set']({'label':y(_0x445fe7,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x5261ed['bind']('isEnabled')['to'](_0x4e09de,'isReady',_0x45ef1f,'isReadOnly',(_0x588b62,_0x51a8b4)=>_0x588b62&&!_0x51a8b4),_0x5261ed['on']('execute',()=>{_0x45ef1f['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x30a984['isOpen']=!0x1,_0x45ef1f['editing']['view']['focus']();}),_0xd73091['children']['add'](_0x26e487),_0x50276f['children']['add'](_0x5261ed),_0x1b553a['role']='menu',_0x1b553a['items']['addMany']([_0xd73091,_0x50276f]),_0x30949f['add'](_0x1b553a),_0x30a984;}),_0x45ef1f['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x1ed79c=this['editor'],_0x57477d=_0x1ed79c['locale'],_0x5918aa=new _0x189cf5(_0x57477d),_0x2dd966=new _0x310c3c(_0x57477d);_0x5918aa['buttonView']['set']({'icon':_0x52afaf['history'],'label':y(_0x57477d,'Revision\x20history')});const _0x55ff11=new _0x529acb(_0x57477d,_0x5918aa),_0x16c3a2=new _0x553ba1(_0x57477d);_0x16c3a2['set']({'label':y(_0x57477d,'Save\x20current\x20revision')}),_0x16c3a2['delegate']('execute')['to'](_0x5918aa),_0x16c3a2['on']('execute',()=>{this['_showDialog']();}),_0x55ff11['children']['add'](_0x16c3a2),_0x2dd966['items']['add'](_0x55ff11);const _0x20f6ba=new _0x529acb(_0x57477d,_0x5918aa),_0x3fd10b=new _0x553ba1(_0x57477d);return _0x3fd10b['set']({'label':y(_0x57477d,'Open\x20revision\x20history')}),_0x3fd10b['delegate']('execute')['to'](_0x5918aa),_0x3fd10b['on']('execute',()=>{_0x1ed79c['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x20f6ba['children']['add'](_0x3fd10b),_0x2dd966['items']['add'](_0x20f6ba),_0x5918aa['panelView']['children']['add'](_0x2dd966),_0x5918aa;}['_showDialog'](){const _0x2f8e5c=this['editor'],_0x22c26f=_0x2f8e5c['locale'],t=_0x22c26f['t'],_0x4f9ef3=_0x2f8e5c['plugins']['get']('Dialog'),_0x549488=_0x2f8e5c['plugins']['get']('RevisionTracker');function _0x3f0b9e(_0x43d733){_0x2f8e5c['config']['get']('revisionHistory.requireRevisionName')&&''===_0x43d733['revisionName']?_0x43d733['revisionNameInputView']['errorText']=y(_0x22c26f,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x2f8e5c['plugins']['get'](l)['saveRevision']({'name':_0x43d733['revisionName']}),_0x4f9ef3['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x3f0b9e(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x4f9ef3['show']({'id':'revisionSave','title':y(_0x22c26f,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x4f9ef3['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x5ea5ea){_0x5ea5ea['bind']('isEnabled')['to'](_0x549488,'isReady',_0x549488,'isEnabled',_0x2f8e5c,'isReadOnly',(_0x32baea,_0xaa1cd1,_0xe1f78f)=>_0x32baea&&_0xaa1cd1&&!_0xe1f78f);},'onExecute':()=>_0x3f0b9e(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0xeb31d7=this['editor'],_0x566c7d=_0xeb31d7['locale'];this['_saveRevisionFormView']=new ns(_0x566c7d,_0xeb31d7['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x415edb{['changeId'];['_model'];constructor(_0x1d1377,_0x21738f){super(_0x1d1377),this['_model']=_0x21738f,this['changeId']=_0x21738f['id'];const _0x4956ee=this['bindTemplate'],_0x1f4318=y(_0x1d1377,_0x21738f['data']['isSuggestion']?'Suggested\x20by':'add'==_0x21738f['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x21738f['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x4956ee['to']('type',_0x39e977=>'ck-revision-change__'+_0x39e977)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x1f4318}]},{'text':'\x20'+_0x21738f['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x5e23f1(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x59ddc5){super(),this['id']=_0x59ddc5['id']||_0x380ed5(),this['author']=_0x59ddc5['author'],this['type']=_0x59ddc5['type'],this['data']=_0x59ddc5['data']||{},this['rootName']=_0x59ddc5['rootName'],this['set']('createdAt',_0x59ddc5['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(_0x3b9489,_0x3bbc2b){this['newRevisionId']=_0x3b9489,this['oldRevisionId']=_0x3bbc2b,this['changes']=new _0x253a22();}['_setChanges'](_0x4d7dd1){for(const _0x62c2e of _0x4d7dd1)this['changes']['add'](_0x62c2e);}}const tt={'c':_0x516873,'a':_0x54e7ba,'e':_0x4d4939,'r':_0x6a5a9e,'u':_0x193691};class d extends _0x86ef99{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x247d28,_0x4b71db,A];}constructor(_0x56a404){super(_0x56a404),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',(_0x24bec0,_0x1ab1fc,_0x4300ad)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x135d11=>{for(const _0x47d349 of this['editor']['editing']['view']['document']['roots'])_0x4300ad?_0x135d11['removeClass']('ck-editor__editable__overlay',_0x47d349):_0x135d11['addClass']('ck-editor__editable__overlay',_0x47d349);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x21cb56=>null!==_0x21cb56),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0xea43c4,_0x32b99f,_0x4f351c)=>_0xea43c4&&_0x4f351c?_0x32b99f['changes']['getIndex'](_0x4f351c):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x562492,_0x3edb3a)=>_0x562492?_0x3edb3a['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x4b71db);}['init'](){const _0x2cb5a6=this['editor'],_0x3bd757=new yt(_0x2cb5a6,{'direction':'backward'}),_0x222eeb=new yt(_0x2cb5a6,{'direction':'forward'});(_0x2cb5a6['commands']['add']('showPreviousChange',_0x3bd757),_0x2cb5a6['commands']['add']('showNextChange',_0x222eeb),_0x2cb5a6['commands']['add']('restoreRevision',new bt(_0x2cb5a6)),this['on']('change:numberOfChanges',()=>{_0x3bd757['refresh'](),_0x222eeb['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x2cb5a6['enableReadOnlyMode']('revision-viewer'),_0x2cb5a6['plugins']['has']('WidgetToolbarRepository'))&&_0x2cb5a6['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x2a03f8){await this['loadRevisionData'](_0x2a03f8);const _0x1e2e87={};for(const _0x17cd4c in _0x2a03f8['diffData']){if(_0x2a03f8['diffData'][_0x17cd4c]['attachChange']&&!_0x2a03f8['diffData'][_0x17cd4c]['attachChange']['isAttached'])continue;const _0x302b79=this['_removeRevisionMarkers'](JSON['parse'](_0x2a03f8['diffData'][_0x17cd4c]['insertions'])),_0x141660=this['editor']['editing']['view']['document'],_0xc17c83=new _0x2e7777(_0x141660,_0x302b79['map'](_0x7d3d2=>this['_getViewObj'](_0x7d3d2)));this['editor']['data']['processor']['useFillerType']('marked'),_0x1e2e87[_0x17cd4c]=this['editor']['data']['processor']['toData'](_0xc17c83),this['editor']['data']['processor']['useFillerType']('default');}return _0x1e2e87;}async['getRevisionRootsAttributes'](_0xfce377){await this['loadRevisionData'](_0xfce377);const _0x7310cb={};for(const _0x1f548a in _0xfce377['diffData'])_0xfce377['diffData'][_0x1f548a]['attachChange']&&!_0xfce377['diffData'][_0x1f548a]['attachChange']['isAttached']||(_0x7310cb[_0x1f548a]=_0xfce377['diffData'][_0x1f548a]['attributesAfter']||{});return _0x7310cb;}['_removeRevisionMarkers'](_0x26dcf2){return(_0x26dcf2=_0x26dcf2['filter'](_0x341f5f=>!_0x341f5f['name']||'revision-start'!==_0x341f5f['name']&&'revision-end'!==_0x341f5f['name']))['forEach'](_0x5f106a=>{'string'!=typeof _0x5f106a&&(_0x5f106a['children']=this['_removeRevisionMarkers'](_0x5f106a['children']),_0x5f106a['attributes']=_0x5f106a['attributes']['filter'](_0x443599=>!_0x443599[0x0]['startsWith']('data-revision-')));}),_0x26dcf2;}async['compare'](_0x1eda7c,_0x560af1,_0x49bfd3=!0x1){if(!this['isEnabled'])return;const _0x516602=this['diff'],_0x4e6010=this['repository'],_0xf40c2d='string'==typeof _0x1eda7c?_0x4e6010['getRevision'](_0x1eda7c):_0x1eda7c,_0x5dc8c8='string'==typeof _0x560af1?_0x4e6010['getRevision'](_0x560af1):_0x560af1,_0x5d4e58=_0xf40c2d['id'],_0x459357=_0x5dc8c8?_0x5dc8c8['id']:null;if(!_0x49bfd3&&this['diff']&&this['diff']['newRevisionId']===_0x5d4e58&&this['diff']['oldRevisionId']===_0x459357)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x5d4e58,_0x459357);const _0xeb8e44=this['_getRevisionsRange'](_0xf40c2d,_0x5dc8c8,!0x0)['map'](_0xcd51e5=>this['loadRevisionData'](_0xcd51e5));return _0xeb8e44['push'](new Promise(_0x392fcc=>{setTimeout(_0x392fcc,0x14);})),Promise['all'](_0xeb8e44)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x2e45c3=this['_getDiff'](_0x5d4e58,_0x459357);for(const _0x5d41e7 of _0x2e45c3['changes'])this['_changeIdToChange']['set'](_0x5d41e7['id'],_0x5d41e7);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x12504d=>{for(const _0x87db37 of this['editor']['model']['document']['getRootNames']())_0x12504d['detachRoot'](_0x87db37);for(const _0x16cb17 of Object['keys'](_0x2e45c3['model'])){const _0x27476b=_0x12504d['addRoot'](_0x16cb17);for(const _0x40a2c0 of Object['keys'](_0x2e45c3['attributes'][_0x16cb17]))_0x12504d['setAttribute'](_0x40a2c0,_0x2e45c3['attributes'][_0x16cb17][_0x40a2c0],_0x27476b);_0x12504d['insert'](_0x2e45c3['model'][_0x16cb17],_0x27476b,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x2e45c3['changes'])),this['isReady']=!0x0;})['catch'](_0x559f4e=>{console['error'](_0x559f4e),this['_cleanUp'](),_0x516602&&(this['diff']=_0x516602),this['isReady']=!0x0;});}['addRevisionData'](_0x3d618a,_0x3fbb17){const _0x1a068c=this['repository']['createRevision'](_0x3d618a);return _0x1a068c['on']('_update',(_0xbcdd2b,_0x48f2ea,_0x1c6398)=>_0x3fbb17(_0x48f2ea,_0x1c6398,_0x1a068c)),this['repository']['addRevision'](_0x1a068c),_0x1a068c;}['loadRevisionData'](_0x4c9284){if(!_0x4c9284||_0x4c9284['diffData'])return Promise['resolve']();{const _0x2f72e1=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2f72e1,'revisionId':_0x4c9284['id']})['then'](_0x53724c=>{_0x4c9284['_update']({'diffData':_0x53724c['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},_0x453269=>{for(const _0x46b03 of this['editor']['model']['document']['getRootNames']())_0x453269['detachRoot'](_0x46b03);});}['_sortAndFilterDiffChanges'](_0x39876e){const _0x3ef427=[],_0x11150a=new Map();for(const _0x41ecd3 of this['editor']['model']['document']['getRootNames']()){const _0x5d2fc9=this['editor']['editing']['view']['getDomRoot'](_0x41ecd3);if(!_0x5d2fc9)continue;const _0x5adb9a=_0x5d2fc9['getClientRects']()['item'](0x0);_0x5adb9a&&(_0x3ef427['push'](_0x41ecd3),_0x11150a['set'](_0x41ecd3,_0x5adb9a));}return _0x3ef427['sort']((_0x2987eb,_0x3135ed)=>{const _0x4f3068=_0x11150a['get'](_0x2987eb),_0x10b928=_0x11150a['get'](_0x3135ed);return _0x4f3068['y']-_0x10b928['y']||_0x4f3068['x']-_0x10b928['x'];}),(_0x39876e=_0x39876e['filter'](_0x2d1412=>_0x3ef427['includes'](_0x2d1412['rootName'])))['sort']((_0x5a786c,_0x13f65f)=>_0x3ef427['indexOf'](_0x5a786c['rootName'])-_0x3ef427['indexOf'](_0x13f65f['rootName'])),_0x39876e;}['_makeTape'](_0x37b690){const _0x5d741e=Array['from'](_0x37b690['markers'])['filter'](([_0x37e10b,_0x4a5dd2])=>_0x37e10b['startsWith']('revision:')&&!_0x4a5dd2['isCollapsed']),_0xf8a8d7=Array['from'](this['editor']['model']['createRangeIn'](_0x37b690)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x5d741e['length'])for(const _0x417a37 of _0xf8a8d7){const [_0x5918db,_0x7f916a]=_0x5d741e[0x0],[,_0x544847,_0x22ee3c]=_0x5918db['split'](':');if(_0x7f916a['end']['isEqual'](_0x417a37['nextPosition'])&&_0x5d741e['shift'](),(_0x417a37['previousPosition']['isEqual'](_0x7f916a['start'])||_0x417a37['previousPosition']['isAfter'](_0x7f916a['start']))&&('insertion'==_0x544847?_0x417a37['isAdded']={'userId':_0x22ee3c}:'deletion'==_0x544847&&(_0x417a37['isRemoved']={'userId':_0x22ee3c})),0x0==_0x5d741e['length'])break;}return _0xf8a8d7;}['_refreshStartEndIndex'](_0x45536c){const _0x509ff8=new Map();for(let _0x55def4=0x0;_0x55def4<_0x45536c['length'];_0x55def4++)'text'===_0x45536c[_0x55def4]['type']?(_0x45536c[_0x55def4]['item']['startIndex']=_0x55def4,_0x45536c[_0x55def4]['item']['endIndex']=_0x55def4):('elementStart'===_0x45536c[_0x55def4]['type']?_0x45536c[_0x55def4]['item']['startIndex']=_0x55def4:'elementEnd'===_0x45536c[_0x55def4]['type']&&(_0x45536c[_0x55def4]['item']['endIndex']=_0x55def4),_0x509ff8['set'](_0x45536c[_0x55def4]['id'],_0x55def4));for(const _0x1045f6 of _0x509ff8['values']())'elementStart'===_0x45536c[_0x1045f6]['type']?_0x45536c[_0x1045f6]['item']['endIndex']=_0x509ff8['get'](_0x45536c[_0x1045f6]['pairId']):'elementEnd'===_0x45536c[_0x1045f6]['type']&&(_0x45536c[_0x1045f6]['item']['startIndex']=_0x509ff8['get'](_0x45536c[_0x1045f6]['pairId']));}['_processTape'](_0x5b2df0){for(let _0x33874b=0x0;_0x33874b<_0x5b2df0['length'];_0x33874b++){if('elementStart'===_0x5b2df0[_0x33874b]['type'])_0x5b2df0[_0x33874b]['item']['startIndex']=_0x33874b;else{if('elementEnd'===_0x5b2df0[_0x33874b]['type']){_0x5b2df0[_0x33874b]['item']['endIndex']=_0x33874b;const _0xbcc462=_0x5b2df0[_0x33874b]['item']['startIndex'];_0x5b2df0[_0xbcc462]['pairId']=_0x5b2df0[_0x33874b]['id'],_0x5b2df0[_0x33874b]['pairId']=_0x5b2df0[_0xbcc462]['id'];}else _0x5b2df0[_0x33874b]['item']['startIndex']=_0x33874b,_0x5b2df0[_0x33874b]['item']['endIndex']=_0x33874b,_0x5b2df0[_0x33874b]['pairId']=null;}_0x5b2df0[_0x33874b]['markersStart']||(_0x5b2df0[_0x33874b]['markersStart']=[],_0x5b2df0[_0x33874b]['markersEnd']=[]);}}['_markInsertions'](_0x153e30,_0x1b3dea){const _0x354c40=_0x153e30['filter'](_0x3665b2=>!_0x3665b2['isAdded']);for(let _0x3dddfb=0x0;_0x3dddfb<_0x1b3dea['length'];_0x3dddfb++)_0x1b3dea[_0x3dddfb]['isAdded']&&(_0x354c40[_0x3dddfb]['isAdded']=_0x1b3dea[_0x3dddfb]['isAdded']);}['_makeModelFromViewString'](_0x5b79af){const _0x40a66a=JSON['parse'](_0x5b79af),_0x3ac615=this['editor']['editing']['view']['document'],_0x4707d3=new _0x2e7777(_0x3ac615,_0x40a66a['map'](_0x57b1ba=>this['_getViewObj'](_0x57b1ba)));return this['editor']['data']['toModel'](_0x4707d3);}['_getViewObj'](_0x68fbb6){const _0x35c8e2=this['editor']['editing']['view']['document'];if('string'==typeof _0x68fbb6)return new _0x294f08(_0x35c8e2,_0x68fbb6);{const _0x48c469=_0x68fbb6['children']['map'](_0x78c472=>this['_getViewObj'](_0x78c472));return new(tt[_0x68fbb6['type']]||_0x1d20e4)(_0x35c8e2,_0x68fbb6['name'],_0x68fbb6['attributes'],_0x48c469);}}['_getDiff'](_0x29937c,_0x1813ff=null){const _0x233a83=this['repository']['getRevision'](_0x29937c),_0x459c91=_0x1813ff?this['repository']['getRevision'](_0x1813ff):null,_0x59162d=this['_getRevisionsRange'](_0x233a83,_0x459c91),_0x56cf69=_0x59162d[_0x59162d['length']-0x1],_0x22d021=new Map(),_0xd5c14d={'model':{},'attributes':{},'changes':[]},_0x5c532c=new Set(),_0x5d15c9=new Map();for(let _0x41b890=_0x59162d['length']-0x1;_0x41b890>=0x0;_0x41b890--){const _0x9cbf22=_0x59162d[_0x41b890];for(const _0x5df0d5 of Object['keys'](_0x9cbf22['diffData']))if(_0x9cbf22['diffData'][_0x5df0d5]['attachChange']){const _0x3b6523=_0x9cbf22['diffData'][_0x5df0d5]['attachChange'];_0x3b6523['isAttached']?(_0x5c532c['add'](_0x5df0d5),_0x5d15c9['has'](_0x5df0d5)&&_0x5d15c9['get'](_0x5df0d5)['userId']==_0x3b6523['userId']?_0x5d15c9['delete'](_0x5df0d5):_0x5d15c9['set'](_0x5df0d5,_0x3b6523)):_0x5d15c9['has'](_0x5df0d5)?(_0x5c532c['delete'](_0x5df0d5),_0x5d15c9['delete'](_0x5df0d5)):(_0x5c532c['add'](_0x5df0d5),_0x5d15c9['set'](_0x5df0d5,_0x3b6523));}else _0x5c532c['add'](_0x5df0d5);}for(const _0x4b1226 of _0x5c532c){const _0x4d62df=_0x5d15c9['has'](_0x4b1226)&&!_0x5d15c9['get'](_0x4b1226)['isAttached'];let _0x4dbf2f=_0x4d62df?_0x59162d['length']-0x1:0x0;const _0x18dfea=_0x4d62df?-0x1:0x1;for(;_0x59162d[_0x4dbf2f];){const _0xbcd1b8=_0x59162d[_0x4dbf2f];if(_0xbcd1b8['diffData'][_0x4b1226]){const _0x1fc82f=_0x4d62df?_0xbcd1b8['diffData'][_0x4b1226]['attributesBefore']:_0xbcd1b8['diffData'][_0x4b1226]['attributesAfter'];_0xd5c14d['attributes'][_0x4b1226]=_0x1fc82f?_0x5d080c(_0x1fc82f):{};break;}_0x4dbf2f+=_0x18dfea;}}for(const _0xe6cc9e of _0x59162d){_0xe6cc9e['model']={};for(const _0xf6a428 of _0xe6cc9e['authors'])_0x22d021['set'](_0xf6a428['id'],_0xf6a428);for(const _0x181b5c of _0x5c532c){const _0x3f254b=_0xe6cc9e['diffData'][_0x181b5c]?_0xe6cc9e['diffData'][_0x181b5c]['insertions']:'[]',_0x25f87e=_0xe6cc9e['diffData'][_0x181b5c]?_0xe6cc9e['diffData'][_0x181b5c]['deletions']:'[]';_0xe6cc9e['model'][_0x181b5c]={'insertions':this['_makeModelFromViewString'](_0x3f254b),'deletions':this['_makeModelFromViewString'](_0x25f87e)};}}for(const _0xee42bb of _0x5c532c){let _0x38d8a8=null,_0x48401d=0x0;const _0x3c7218=new Map(Array['from'](_0x233a83['model'][_0xee42bb]['insertions']['markers'])['filter'](([_0x57dab6])=>!_0x57dab6['startsWith']('revision:')));let _0xe4c7d5=0x0;for(const _0x6a48c0 of _0x59162d){const _0x25777a=this['_makeTape'](_0x6a48c0['model'][_0xee42bb]['insertions']);_0x6a48c0==_0x233a83?(_0x38d8a8=_0x25777a,_0x48401d=_0x38d8a8['length'],_0x38d8a8['forEach'](_0x111188=>{_0x111188['id']=_0xe4c7d5++;}),this['_processTape'](_0x38d8a8)):this['_markInsertions'](_0x38d8a8,_0x25777a);const _0x497b57=_0x38d8a8['filter'](_0x241a0e=>!_0x241a0e['isAdded'])['map'](_0x105ed3=>_0x105ed3['id']);let _0x37f051=0x0;const _0x4febe7=this['_makeTape'](_0x6a48c0['model'][_0xee42bb]['deletions']);_0x4febe7['forEach'](_0x5a136e=>{_0x5a136e['isRemoved']?_0x5a136e['id']=_0x48401d++:_0x5a136e['id']=_0x497b57[_0x37f051++];}),this['_processTape'](_0x4febe7),this['_setDistance'](_0x38d8a8,'isAdded'),this['_setDistance'](_0x4febe7,'isRemoved'),_0x6a48c0==_0x233a83&&this['_markMarkers'](_0x38d8a8,_0x3c7218),_0x38d8a8=this['_joinTapes'](_0x38d8a8,_0x4febe7),this['_refreshStartEndIndex'](_0x38d8a8),this['_setDistance'](_0x38d8a8,'isRemoved');}_0x38d8a8=_0x38d8a8['filter'](_0x43302d=>!(_0x43302d['isAdded']&&_0x43302d['isRemoved']));const _0x3b90f7=new Map(_0x56cf69['model'][_0xee42bb]['deletions']['markers']),_0x1610d2=new Set(_0x3c7218['keys']());for(const _0x4d9207 of _0x3b90f7['keys']())_0x1610d2['delete'](_0x4d9207);this['_markSuggestions'](_0x38d8a8,_0x1610d2),this['_fixObsoleteTags'](_0x38d8a8),_0x38d8a8=this['_removeMissingPairs'](_0x38d8a8),_0x38d8a8=this['_markMismatchedRemovedTags'](_0x38d8a8),_0x38d8a8=this['_removeUnsupportedChanges'](_0x38d8a8);const {root:_0x38c4ab,changes:_0x17036f}=this['_makeModelFromTape'](_0x38d8a8,_0x22d021,_0xee42bb);_0xd5c14d['model'][_0xee42bb]=_0x38c4ab;const _0x2a8fc8=_0x5d15c9['get'](_0xee42bb);if(_0x2a8fc8){const _0x512182=_0x22d021['get'](_0x2a8fc8['userId']),_0x4ee0f8=new r({'author':_0x512182,'type':_0x2a8fc8['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0xee42bb});_0x17036f['unshift'](_0x4ee0f8),_0xd5c14d['attributes'][_0xee42bb]['revisionHistoryAttachChange']=_0x4ee0f8['id'];}_0xd5c14d['changes']=_0xd5c14d['changes']['concat'](_0x17036f);}return _0xd5c14d;}['_markMarkers'](_0x4aba36,_0x5691f4){for(let _0x3ca77c=0x0;_0x3ca77c<_0x4aba36['length'];_0x3ca77c++)for(const [_0x56a296,_0x1e4f80]of _0x5691f4)_0x1e4f80['start']['isEqual'](_0x4aba36[_0x3ca77c]['previousPosition'])&&_0x4aba36[_0x3ca77c]['markersStart']['push'](_0x56a296),_0x1e4f80['end']['isEqual'](_0x4aba36[_0x3ca77c]['nextPosition'])&&_0x4aba36[_0x3ca77c]['markersEnd']['push'](_0x56a296);}['_joinTapes'](_0x254917,_0x427d32){let _0xa43b24=[],_0x12cf6f=0x0,_0x16770d=0x0;for(;_0x12cf6f<_0x254917['length']||_0x16770d<_0x427d32['length'];){const _0x186675=_0x254917[_0x12cf6f]||{},_0x514a85=_0x427d32[_0x16770d]||{};if(_0x186675['id']==_0x514a85['id'])_0x12cf6f++,_0x16770d++,_0xa43b24['push'](_0x186675);else{if(_0x514a85['isRemoved']&&_0x186675['isAdded']){const {commonTape:_0x4a26a9,iEnd:_0x2a67e6,jEnd:_0x9990e8}=this['_threeWayMerge'](_0x254917,_0x12cf6f,_0x427d32,_0x16770d);_0xa43b24=_0xa43b24['concat'](_0x4a26a9),_0x12cf6f=_0x2a67e6,_0x16770d=_0x9990e8;}else _0x514a85['isRemoved']?(_0x16770d++,_0xa43b24['push'](_0x514a85)):(_0x12cf6f++,_0xa43b24['push'](_0x186675));}}return _0xa43b24;}['_markSuggestions'](_0xc795a4,_0x262f2d){const _0x271368=[];for(let _0x200b30=0x0;_0x200b30<_0xc795a4['length'];_0x200b30++){for(let _0x4a69e8=0x0;_0x4a69e8<_0xc795a4[_0x200b30]['markersStart']['length'];_0x4a69e8++){const _0x299bfa=_0xc795a4[_0x200b30]['markersStart'][_0x4a69e8];if(!_0x262f2d['has'](_0x299bfa))continue;const {group:_0xd797e9,type:_0x3042d5,authorId:_0x490861}=_0x530eed(_0x299bfa);'revision-suggestion'!=_0xd797e9||'insertion'!=_0x3042d5&&'deletion'!=_0x3042d5||(_0x271368['unshift']({'type':_0x3042d5,'name':_0x299bfa,'userId':_0x490861}),_0xc795a4[_0x200b30]['markersStart']['splice'](_0x4a69e8,0x1),_0x4a69e8--);}_0x35b506(_0xc795a4[_0x200b30]);for(let _0x567fff=0x0;_0x567fff<_0xc795a4[_0x200b30]['markersEnd']['length'];_0x567fff++){const _0x3502a7=_0xc795a4[_0x200b30]['markersEnd'][_0x567fff];if(!_0x262f2d['has'](_0x3502a7))continue;const {group:_0x4511f7,type:_0x1cbcb1}=_0x530eed(_0x3502a7);if('revision-suggestion'!=_0x4511f7||'insertion'!=_0x1cbcb1&&'deletion'!=_0x1cbcb1)continue;_0xc795a4[_0x200b30]['markersEnd']['splice'](_0x567fff,0x1),_0x567fff--;const _0x14db53=_0x271368['findIndex'](_0xbb51d0=>_0xbb51d0['name']==_0x3502a7);_0x14db53>-0x1&&_0x271368['splice'](_0x14db53,0x1);}}function _0x530eed(_0x102435){const _0x574911=_0x102435['split'](':');return{'group':_0x574911[0x0],'type':_0x574911[0x1],'subType':_0x574911['length']>=0x5?_0x574911[0x2]:null,'id':_0x574911['length']<0x5?_0x574911[0x2]:_0x574911[0x3],'authorId':_0x574911['length']<0x5?_0x574911[0x3]:_0x574911[0x4],'markerCount':0x6==_0x574911['length']?_0x574911[0x5]:null};}function _0x35b506(_0x2b8dee){for(let _0x309d9d=0x0;_0x309d9d<_0x271368['length'];_0x309d9d++){if(_0x2b8dee['isAdded']&&'insertion'==_0x271368[_0x309d9d]['type'])return _0x2b8dee['isAddSuggestion']=_0x271368[_0x309d9d],void delete _0x2b8dee['isAdded'];if(!_0x2b8dee['isAdded']&&!_0x2b8dee['isRemoved']&&'deletion'==_0x271368[_0x309d9d]['type'])return void(_0x2b8dee['isRemoveSuggestion']=_0x271368[_0x309d9d]);}}}['_setDistance'](_0x4893f8,_0x2718e8){let _0x4b1aa0=0x0,_0x27750b=!0x1;const _0x5a95bd=new Map();for(const _0x2b1450 of _0x4893f8)_0x2b1450[_0x2718e8]?_0x27750b&&(_0x4b1aa0++,_0x27750b=!0x1):(_0x4b1aa0++,_0x27750b=!0x0),_0x5a95bd['set'](_0x2b1450['id'],_0x4b1aa0);for(let _0x4cd9c7=0x0;_0x4cd9c7<_0x4893f8['length'];_0x4cd9c7++){if('isRemoved'==_0x2718e8&&_0x4893f8[_0x4cd9c7]['isAdded']||'isAdded'==_0x2718e8&&_0x4893f8[_0x4cd9c7]['isRemoved'])continue;if('text'==_0x4893f8[_0x4cd9c7]['type']){_0x4893f8[_0x4cd9c7]['distance']=0x0;continue;}const _0x520204=_0x5a95bd['get'](_0x4893f8[_0x4cd9c7]['pairId']),_0xf5aab1=_0x5a95bd['get'](_0x4893f8[_0x4cd9c7]['id']);_0x4893f8[_0x4cd9c7]['distance']=_0x520204-_0xf5aab1;}}['_getRevisionsRange'](_0xe8b903,_0x233967,_0x427e95=!0x1){const _0x3e756b=[];let _0xc00690=this['repository']['getIndex'](_0xe8b903),_0x523464=this['repository']['getIndex'](_0x233967);for(-0x1==_0x523464&&(_0x523464=this['repository']['_revisions']['length'],_0x427e95=!0x1);_0xc00690<_0x523464;)_0x3e756b['push'](this['repository']['getRevision'](_0xc00690)),_0xc00690++;return _0x427e95&&_0x3e756b['push'](this['repository']['getRevision'](_0xc00690)),_0x3e756b;}['_threeWayMerge'](_0x4896ed,_0x506a86,_0x128de3,_0x37b223){const _0x50d3fd=this['editor']['model']['schema'];let _0x14163b=_0x506a86;for(;_0x4896ed[_0x14163b]&&_0x4896ed[_0x14163b]['isAdded'];)_0x14163b++;let _0x20b05a=_0x37b223;for(;_0x128de3[_0x20b05a]&&_0x128de3[_0x20b05a]['isRemoved'];)_0x20b05a++;_0xf99c2d(_0x4896ed,_0x506a86,_0x14163b),_0xf99c2d(_0x128de3,_0x37b223,_0x20b05a);const _0x5a66d5=_0x128de3['slice'](_0x37b223,_0x20b05a)['concat'](_0x4896ed['slice'](_0x506a86,_0x14163b));return _0x5a66d5['sort']((_0x2210fc,_0x2900cf)=>_0x2210fc['side']!=_0x2900cf['side']?_0x2210fc['side']-_0x2900cf['side']:_0x2210fc['level']!=_0x2900cf['level']?_0x2210fc['level']-_0x2900cf['level']:_0x2210fc['distance']!=_0x2900cf['distance']?_0x2900cf['distance']-_0x2210fc['distance']:!!_0x2210fc['isAdded']!=!!_0x2900cf['isAdded']?-0x1==_0x2210fc['side']||0x0==_0x2210fc['side']?_0x2210fc['isAdded']?-0x1:0x1:_0x2210fc['isAdded']?0x1:-0x1:_0x2210fc['index']-_0x2900cf['index']),{'commonTape':_0x5a66d5,'iEnd':_0x14163b,'jEnd':_0x20b05a};function _0xf99c2d(_0x4f58be,_0x2746d9,_0x5c5655){let _0x3171c2=-0x1,_0xdb0e3=Number['POSITIVE_INFINITY'],_0x40dddf=!0x0;for(let _0x3c2087=_0x2746d9;_0x3c2087<_0x5c5655;_0x3c2087++)if(_0x50d3fd['isInline'](_0x4f58be[_0x3c2087]['item'])||(_0x40dddf=!0x1),_0x4f58be[_0x3c2087]['item']['startIndex']<_0x2746d9&&(_0x3171c2=_0x3c2087),_0x4f58be[_0x3c2087]['item']['endIndex']>=_0x5c5655){_0xdb0e3=_0x3c2087;break;}_0x40dddf&&(_0x3171c2=_0x5c5655-0x1);for(let _0x44f5a6=_0x2746d9;_0x44f5a6<_0x5c5655;_0x44f5a6++)_0x4f58be[_0x44f5a6]['side']=_0x44f5a6<=_0x3171c2?-0x1:_0x44f5a6<_0xdb0e3?0x0:0x1,_0x4f58be[_0x44f5a6]['index']=_0x44f5a6;let _0x26bd4=0x0;for(let _0x59f1e7=_0x2746d9;_0x59f1e7<=_0x3171c2;_0x59f1e7++)0x0==_0x4f58be[_0x59f1e7]['distance']?_0x4f58be[_0x59f1e7]['level']=_0x26bd4:(_0x26bd4++,_0x4f58be[_0x59f1e7]['level']=_0x26bd4,_0x26bd4++);for(let _0x176bba=_0x2746d9;_0x176bba<_0x5c5655;_0x176bba++)0x0==_0x4f58be[_0x176bba]['side']&&(_0x4f58be[_0x176bba]['level']=_0x26bd4);_0x26bd4=0x0;for(let _0x4ab1f2=_0x5c5655-0x1;_0x4ab1f2>=_0xdb0e3;_0x4ab1f2--)0x0==_0x4f58be[_0x4ab1f2]['distance']?_0x4f58be[_0x4ab1f2]['level']=_0x26bd4:(_0x26bd4--,_0x4f58be[_0x4ab1f2]['level']=_0x26bd4,_0x26bd4--);}}['_fixObsoleteTags'](_0x5ec9b3){const _0x8288e6=new Map(),_0x3a9343=this['editor']['model']['schema'];for(let _0x531b15=0x1;_0x531b15<_0x5ec9b3['length'];_0x531b15++){let _0x55e89e,_0x72aaeb,_0x424535;const _0x1a7ecb=_0x5ec9b3[_0x531b15],_0x343f46=_0x5ec9b3[_0x531b15-0x1];if('text'==_0x1a7ecb['type'])continue;if(_0x1a7ecb['type']!=_0x343f46['type'])continue;if(!_0x3a9343['isBlock'](_0x343f46['item'])||_0x3a9343['isLimit'](_0x343f46['item']))continue;if(!_0x3a9343['isBlock'](_0x1a7ecb['item'])||_0x3a9343['isLimit'](_0x1a7ecb['item']))continue;if((_0x5ec9b3[_0x531b15]['isAdded']||_0x5ec9b3[_0x531b15]['isAddSuggestion'])&&_0x5ec9b3[_0x531b15-0x1]['isRemoved'])_0x55e89e=_0x5ec9b3[_0x531b15],_0x72aaeb=_0x5ec9b3[_0x531b15-0x1],_0x424535=_0x531b15-0x1;else{if(!_0x5ec9b3[_0x531b15]['isRemoved']||!_0x5ec9b3[_0x531b15-0x1]['isAdded']&&!_0x5ec9b3[_0x531b15-0x1]['isAddSuggestion'])continue;_0x55e89e=_0x5ec9b3[_0x531b15-0x1],_0x72aaeb=_0x5ec9b3[_0x531b15],_0x424535=_0x531b15;}const _0x1334fa=_0x55e89e['level']==_0x72aaeb['level'],_0x3e52c2=Math['abs'](_0x55e89e['level'])<Math['abs'](_0x72aaeb['level'])&&0x0==_0x72aaeb['distance'];(_0x1334fa||_0x3e52c2)&&(_0x8288e6['set'](_0x72aaeb['id'],_0x55e89e['id']),_0x5ec9b3['splice'](_0x424535,0x1),_0x531b15--,_0x55e89e['isAdded']=!0x1);}for(let _0x4c6618=0x0;_0x4c6618<_0x5ec9b3['length'];_0x4c6618++)_0x8288e6['has'](_0x5ec9b3[_0x4c6618]['pairId'])&&(_0x5ec9b3[_0x4c6618]['pairId']=_0x8288e6['get'](_0x5ec9b3[_0x4c6618]['pairId']));}['_removeMissingPairs'](_0x497784){const _0x2f904f=new Set(_0x497784['map'](_0x25472d=>_0x25472d['id']));for(let _0x262430=0x0;_0x262430<_0x497784['length'];_0x262430++)_0x2f904f['has'](_0x497784[_0x262430]['pairId'])||0x0==_0x497784[_0x262430]['distance']||(_0x497784[_0x262430]['isIncorrect']=!0x0);return _0x497784['filter'](_0x2a0f0f=>!_0x2a0f0f['isIncorrect']);}['_markMismatchedRemovedTags'](_0x29e7e0){const _0x5492b5=new Set();for(let _0x410c50=0x0;_0x410c50<_0x29e7e0['length'];_0x410c50++){if(_0x5492b5['has'](_0x29e7e0[_0x410c50]['id'])&&_0x29e7e0[_0x410c50]['isRemoved']&&(_0x29e7e0[_0x410c50]['isIncorrect']=!0x0),_0x29e7e0[_0x410c50]['isIncorrect'])continue;if(0x0==_0x29e7e0[_0x410c50]['distance'])continue;if('elementStart'!=_0x29e7e0[_0x410c50]['type'])continue;if(null==_0x29e7e0[_0x410c50]['pairId'])continue;let _0x55b7e6=_0x410c50+0x1,_0x27ce0d=0x0;for(;_0x29e7e0[_0x55b7e6]['id']!=_0x29e7e0[_0x410c50]['pairId'];)'elementStart'==_0x29e7e0[_0x55b7e6]['type']?_0x27ce0d++:'elementEnd'==_0x29e7e0[_0x55b7e6]['type']&&_0x27ce0d--,_0x55b7e6++;if(0x0!=_0x27ce0d){if(_0x29e7e0[_0x410c50]['isRemoved'])_0x29e7e0[_0x410c50]['isIncorrect']=!0x0;else{for(;_0x55b7e6!=_0x410c50;)_0x29e7e0[_0x55b7e6]['isRemoved']&&0x0!=_0x29e7e0[_0x55b7e6]['distance']&&(_0x29e7e0[_0x55b7e6]['isIncorrect']=!0x0,_0x5492b5['add'](_0x29e7e0[_0x55b7e6]['pairId'])),_0x55b7e6--;}}}return _0x29e7e0['filter'](_0x237398=>!_0x237398['isIncorrect']);}['_removeUnsupportedChanges'](_0x51d050){const _0x107fbb=this['editor']['model']['schema'];for(let _0x457865=0x0;_0x457865<_0x51d050['length'];_0x457865++){if(!(_0x51d050[_0x457865]['isAdded']||_0x51d050[_0x457865]['isAddSuggestion']||_0x51d050[_0x457865]['isRemoved']||_0x51d050[_0x457865]['isRemoveSuggestion']))continue;if(0x0==_0x51d050[_0x457865]['distance'])continue;const _0x2b94ef=_0x51d050[_0x457865]['item'];_0x107fbb['isBlock'](_0x2b94ef)||_0x107fbb['isLimit'](_0x2b94ef)||(_0x51d050[_0x457865]['isAdded']&&delete _0x51d050[_0x457865]['isAdded'],_0x51d050[_0x457865]['isAddSuggestion']&&delete _0x51d050[_0x457865]['isAddSuggestion'],_0x51d050[_0x457865]['isRemoveSuggestion']&&delete _0x51d050[_0x457865]['isRemoveSuggestion'],_0x51d050[_0x457865]['isRemoved']&&(_0x51d050[_0x457865]['isIncorrect']=!0x0));}return _0x51d050['filter'](_0x263bbe=>!_0x263bbe['isIncorrect']);}['_makeModelFromTape'](_0xd83d80,_0x1e81ca,_0x1555da){const _0x33263f=new wt(),_0x438633=[],_0x35ad68=new Map(),_0x29151f=this['editor']['model'],_0x57310e=_0x29151f['schema'],_0x46ab15=[_0x33263f],_0x327966={},_0x2fc7bd={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x1fb7fe=null;const _0x4dabc9=[0x0];for(let _0x435e68=0x0;_0x435e68<_0xd83d80['length'];_0x435e68++){let _0x1a818d,_0x307628;if('elementStart'===_0xd83d80[_0x435e68]['type']){_0x1a818d=_0x29151f['createPositionFromPath'](_0x33263f,_0x4dabc9);const _0x32e51a=new ft(_0xd83d80[_0x435e68]['item']['name'],_0xd83d80[_0x435e68]['item']['getAttributes']());_0x46ab15[0x0]['_appendChild'](_0x32e51a),_0x4dabc9['push'](0x0),_0x46ab15['unshift'](_0x32e51a),_0x307628=_0x29151f['createPositionFromPath'](_0x33263f,_0x4dabc9),_0x1fb7fe=null;}else{if('elementEnd'===_0xd83d80[_0x435e68]['type'])_0x46ab15['shift'](),_0x1a818d=_0x29151f['createPositionFromPath'](_0x33263f,_0x4dabc9),_0x4dabc9['pop'](),_0x4dabc9[_0x4dabc9['length']-0x1]++,_0x307628=_0x29151f['createPositionFromPath'](_0x33263f,_0x4dabc9),_0x1fb7fe=null;else{if(_0x1a818d=_0x29151f['createPositionFromPath'](_0x33263f,_0x4dabc9),_0x1fb7fe&&_0x136fea(_0x1fb7fe,_0xd83d80[_0x435e68]['item']))_0x1fb7fe['_data']+=_0xd83d80[_0x435e68]['item']['data'];else{const _0x5e63e4=new _t(_0xd83d80[_0x435e68]['item']['data'],_0xd83d80[_0x435e68]['item']['getAttributes']());_0x46ab15[0x0]['_appendChild'](_0x5e63e4),_0x1fb7fe=_0x5e63e4;}_0x4dabc9[_0x4dabc9['length']-0x1]+=_0xd83d80[_0x435e68]['item']['offsetSize'],_0x307628=_0x29151f['createPositionFromPath'](_0x33263f,_0x4dabc9);}}for(const _0x18fb08 of _0xd83d80[_0x435e68]['markersStart'])_0x35ad68['set'](_0x18fb08,{'start':_0x1a818d,'end':null});_0x5a856e('isRemoveSuggestion',_0x435e68,_0x1a818d,_0x307628),_0x5a856e('isAddSuggestion',_0x435e68,_0x1a818d,_0x307628),_0x5a856e('isRemoved',_0x435e68,_0x1a818d,_0x307628),_0x5a856e('isAdded',_0x435e68,_0x1a818d,_0x307628);for(const _0x55ac7e of _0xd83d80[_0x435e68]['markersEnd']){_0x35ad68['get'](_0x55ac7e)['end']=_0x307628;}}for(const [_0xb379ce,_0x47c759]of _0x35ad68){const _0x2a3c20=this['editor']['model']['createRange'](_0x47c759['start'],_0x47c759['end']);_0x33263f['markers']['set'](_0xb379ce,_0x2a3c20);}return _0x438633['sort']((_0x1045ab,_0x3d19d5)=>{const _0x3694dd=_0x33263f['markers']['get']('revision:'+_0x1045ab['id']),_0x2c1308=_0x33263f['markers']['get']('revision:'+_0x3d19d5['id']);return _0x3694dd['start']['isBefore'](_0x2c1308['start'])?-0x1:_0x3694dd['start']['isAfter'](_0x2c1308['start'])?0x1:_0x3694dd['end']['isBefore'](_0x2c1308['end'])?-0x1:_0x3694dd['end']['isAfter'](_0x2c1308['end'])?0x1:'add'===_0x1045ab['type']?-0x1:0x1;}),{'root':_0x33263f,'changes':_0x438633};function _0x5a856e(_0x42d7e5,_0x38bead,_0x16758d,_0x27d360){const _0x215d99=!!_0xd83d80[_0x38bead][_0x42d7e5],_0x5ef63e=_0x215d99?_0xd83d80[_0x38bead][_0x42d7e5]['userId']:null,_0x4fd55d=_0x38bead===_0xd83d80['length']-0x1,_0x2c1bb4=_0x2fc7bd[_0x42d7e5][0x0],_0x24c4cb=_0x57310e['isObject'](_0xd83d80[_0x38bead]['item']);!_0x327966[_0x42d7e5]&&_0x215d99?_0x327966[_0x42d7e5]={'start':_0x16758d,'tapeItem':_0xd83d80[_0x38bead],'userId':_0x5ef63e,'type':_0x42d7e5}:_0x327966[_0x42d7e5]&&!_0x215d99?(_0x327966[_0x42d7e5]['end']=_0x16758d,_0x3befc9(_0x327966[_0x42d7e5]),_0x327966[_0x42d7e5]=null):_0x327966[_0x42d7e5]&&_0x215d99&&_0x327966[_0x42d7e5]['userId']!==_0x5ef63e&&(_0x327966[_0x42d7e5]['end']=_0x16758d,_0x2c1bb4&&_0x2c1bb4['userId']===_0x327966[_0x42d7e5]['userId']||_0x3befc9(_0x327966[_0x42d7e5]),_0x327966[_0x42d7e5]={'start':_0x16758d,'tapeItem':_0xd83d80[_0x38bead],'userId':_0x5ef63e,'type':_0x42d7e5}),_0x327966[_0x42d7e5]&&_0x24c4cb&&('elementStart'!==_0xd83d80[_0x38bead]['type']||_0x2c1bb4&&_0x2c1bb4['userId']===_0x5ef63e||_0x2fc7bd[_0x42d7e5]['unshift']({'userId':_0x5ef63e,'object':_0xd83d80[_0x38bead]['item'],'change':_0x327966[_0x42d7e5]}),'elementEnd'===_0xd83d80[_0x38bead]['type']&&_0x2c1bb4&&_0x2c1bb4['object']===_0xd83d80[_0x38bead]['item']&&(_0x2fc7bd[_0x42d7e5]['shift'](),_0x327966[_0x42d7e5]=_0x2c1bb4['change'])),_0x327966[_0x42d7e5]&&_0x4fd55d&&(_0x327966[_0x42d7e5]['end']=_0x27d360,_0x3befc9(_0x327966[_0x42d7e5]),_0x327966[_0x42d7e5]=null);}function _0x3befc9({start:_0x4cbf0a,end:_0x471ab5,tapeItem:_0x4978db,userId:_0x487638,type:_0x3d2c11}){const _0xc7b188=_0x4978db['item'],_0x3abf21=_0x29151f['schema']['isBlock'](_0xc7b188)&&!_0x29151f['schema']['isLimit'](_0xc7b188),_0x3e0bf5=_0x4cbf0a['nodeAfter']==_0x471ab5['parent']&&_0x471ab5['isAtStart'];if(_0x3abf21&&_0x3e0bf5)return;const _0x1fb536=_0x29151f['createRange'](_0x4cbf0a,_0x471ab5),_0x28639c=_0x1e81ca['get'](_0x487638),_0x41eea5=new r({'author':_0x28639c,'type':'isAdded'==_0x3d2c11||'isAddSuggestion'==_0x3d2c11?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x3d2c11||'isRemoveSuggestion'==_0x3d2c11},'createdAt':new Date(),'rootName':_0x1555da});_0x438633['push'](_0x41eea5),_0x33263f['markers']['set']('revision:'+_0x41eea5['id'],_0x1fb536);}function _0x136fea(_0x7ceea,_0x4f9cdd){const _0x2134c7=_0x7ceea['getAttributes'](),_0x53f29a=_0x4f9cdd['getAttributes']();for(const _0x2fdb71 of _0x2134c7){if(_0x2fdb71[0x1]!==_0x4f9cdd['getAttribute'](_0x2fdb71[0x0]))return!0x1;_0x53f29a['next']();}return _0x53f29a['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x532e92=>{const _0x5c213f=_0x532e92['markerName']['split'](':')[0x1],_0x5a7a40=this['_getChangeFromId'](_0x5c213f);if(!_0x5a7a40)return null;const _0x3d0127='add'==_0x5a7a40['type']?'insertion':'deletion',_0xc5ec68=['ck-suggestion-marker','ck-suggestion-marker-'+_0x3d0127];return _0x5a7a40['data']['isSuggestion']&&_0xc5ec68['push']('ck-suggestion-marker-'+_0x3d0127+'-new'),this['activeChange']==_0x5a7a40&&_0xc5ec68['push']('ck-suggestion-marker--active'),{'classes':_0xc5ec68,'attributes':{'data-change-id':_0x5c213f}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x2f79a0=>{_0x2f79a0['on']('element:pre',(_0x5ccd55,_0x34764c,_0x1d4e3d)=>{const _0x280f3c=_0x34764c['viewItem']['getChild'](0x0);if(!_0x280f3c||!_0x280f3c['is']('element','code'))return;if(!_0x1d4e3d['consumable']['consume'](_0x280f3c,{'attributes':['vid_start','vid_end']}))return;const _0x5cac3a=_0x34764c['modelRange']['start']['nodeAfter'];_0x1d4e3d['writer']['setAttribute']('vid_start',_0x280f3c['getAttribute']('vid_start'),_0x5cac3a),_0x1d4e3d['writer']['setAttribute']('vid_end',_0x280f3c['getAttribute']('vid_end'),_0x5cac3a);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x29a543=>{_0x29a543['on']('element',(_0x1ae87f,_0x4562b4,_0x43800b)=>{if(!_0x43800b['consumable']['consume'](_0x4562b4['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x4562b4['modelRange']['isCollapsed'])return;const _0x4d343b=_0x4562b4['modelRange']['start']['nodeAfter'];_0x4d343b['hasAttribute']('vid_start')||_0x4d343b['hasAttribute']('vid')||(_0x43800b['writer']['setAttribute']('vid_start',_0x4562b4['viewItem']['getAttribute']('vid_start'),_0x4d343b),_0x43800b['writer']['setAttribute']('vid_end',_0x4562b4['viewItem']['getAttribute']('vid_end'),_0x4d343b));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x342424=>_0x342424['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0xe5a965,[,_0x13436e])=>{['vid_start','vid_end','vid']['includes'](_0x13436e)&&(_0xe5a965['return']=!0x0,_0xe5a965['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x5f0e84=>{_0x5f0e84['on']('attribute:vid',(_0x3f1c4e,_0x5572b4,_0x51edaf)=>{if('\x20'!=_0x5572b4['item']['data']||_0x5572b4['item']['parent']['maxOffset']>0x1)return;if(!_0x51edaf['consumable']['consume'](_0x5572b4['item'],_0x3f1c4e['name']))return;const _0x8a40f3=_0x51edaf['writer'],_0x53864b=_0x51edaf['mapper']['toViewRange'](_0x5572b4['range']);_0x8a40f3['wrap'](_0x53864b,_0x8a40f3['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x11ea99){const _0x229a62=_0x11ea99['plugins']['get']('RevisionViewer');return(_0x1c0f08,_0x14a13a,_0x1799f1)=>{const _0x32b9de=_0x14a13a['markerName']['split'](':')[0x1],_0x2744c8=_0x229a62['_getChangeFromId'](_0x32b9de);if(!_0x2744c8)return null;const _0x46cc69='add'==_0x2744c8['type']?'split':'merge';if(!_0x1799f1['consumable']['test'](_0x14a13a['markerRange'],_0x1c0f08['name']))return;const _0x3990a0=_0x14a13a['markerRange']['getWalker'](),_0x4fa1c0=_0x14a13a['markerRange']['start'],_0x2d9e2e=_0x11ea99['model']['schema'];let _0x1614c6=null,_0x5ec4e4=null,_0x52289d=!0x1,_0x9d192d=!0x1;for(const _0x5b7623 of _0x3990a0){const _0x4c7e4a=_0x5b7623['item'];_0x52289d=_0x52289d||_0x2d9e2e['isContent'](_0x4c7e4a);const _0x210555=_0x1799f1['mapper']['toViewElement'](_0x4c7e4a);if(_0x210555&&_0x210555['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5b7623['type']&&(_0x2d9e2e['isBlock'](_0x4c7e4a)&&!_0x2d9e2e['isLimit'](_0x4c7e4a)&&(_0x4c7e4a['nextSibling']||_0x4fa1c0['isAtEnd']?_0x1614c6&&_0x1614c6['parent']==_0x4c7e4a||(_0x1614c6=_0x4c7e4a,_0x212a7b(_0x5b7623['previousPosition']),_0x9d192d=!0x0):_0x5ec4e4=_0x5ec4e4||_0x5b7623['previousPosition']));}function _0x212a7b(_0x3a4c21){const _0x26a839=_0x1799f1['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x46cc69}),_0x562646=_0x1799f1['mapper']['toViewPosition'](_0x3a4c21);_0x2744c8['data']['isSuggestion']&&_0x1799f1['writer']['addClass']('ck-suggestion-marker-'+_0x46cc69+'-new',_0x26a839),_0x229a62['activeChange']==_0x2744c8&&_0x1799f1['writer']['addClass']('ck-suggestion-marker--active',_0x26a839),_0x1799f1['writer']['insert'](_0x562646,_0x26a839),_0x1799f1['mapper']['bindElementToMarker'](_0x26a839,_0x14a13a['markerName']);}_0x52289d||_0x9d192d||!_0x5ec4e4||_0x212a7b(_0x5ec4e4);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x472293,_0xbbd304,_0x3bb6ca)=>{const _0x2e6ae1=_0x3bb6ca['mapper']['markerNameToElements'](_0xbbd304['markerName']);if(_0x2e6ae1){for(const _0x3d31a8 of _0x2e6ae1)(_0x3d31a8['hasClass']('ck-suggestion-marker-split')||_0x3d31a8['hasClass']('ck-suggestion-marker-merge'))&&(_0x3bb6ca['mapper']['unbindElementFromMarkerName'](_0x3d31a8,_0xbbd304['markerName']),_0x3bb6ca['writer']['remove'](_0x3d31a8));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x2fa24d,_0x4528f4,_0x43bbd2)=>{const _0x264496=_0x4528f4['markerName']['split'](':')[0x1],_0x57d138=this['_getChangeFromId'](_0x264496);if(!_0x57d138)return null;const _0x3e35d9='add'==_0x57d138['type']?'split':'merge';if(_0x43bbd2['consumable']['test'](_0x4528f4['markerRange'],_0x2fa24d['name']))for(const _0x3020a4 of _0x4528f4['markerRange']['getItems']()){if(!_0x3020a4['is']('element','softBreak'))continue;const _0x28f05e=_0x43bbd2['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3e35d9}),_0x32649a=_0x43bbd2['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x3020a4));_0x57d138['data']['isSuggestion']&&_0x43bbd2['writer']['addClass']('ck-suggestion-marker-'+_0x3e35d9+'-new',_0x28f05e),this['activeChange']==_0x57d138&&_0x43bbd2['writer']['addClass']('ck-suggestion-marker--active',_0x28f05e),_0x43bbd2['writer']['insert'](_0x32649a,_0x28f05e),_0x43bbd2['mapper']['bindElementToMarker'](_0x28f05e,_0x4528f4['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x2e294a=>{for(const _0x29025e of this['editor']['model']['document']['getRootNames']()){const _0x1d7f4f=this['editor']['model']['document']['getRoot'](_0x29025e),_0x1222fa=this['editor']['editing']['view']['document']['getRoot'](_0x29025e);if(_0x1222fa){const _0x1c5dcb=_0x1d7f4f['getAttribute']('revisionHistoryAttachChange');if(_0x2e294a['removeAttribute']('data-change-id',_0x1222fa),_0x2e294a['removeClass']('ck-revision-history-root-add',_0x1222fa),_0x2e294a['removeClass']('ck-revision-history-root-remove',_0x1222fa),_0x2e294a['removeClass']('ck-revision-history-root--active',_0x1222fa),_0x1c5dcb){const _0x24250f=this['_getChangeFromId'](_0x1c5dcb);if(!_0x24250f)return null;_0x2e294a['setAttribute']('data-change-id',_0x1c5dcb,_0x1222fa),_0x2e294a['addClass']('ck-revision-history-root-'+_0x24250f['type'],_0x1222fa),this['activeChange']==_0x24250f&&_0x2e294a['addClass']('ck-revision-history-root--active',_0x1222fa);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x568d9c=>'revision-comment:'+_0x568d9c,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x199db4=>'revision-suggestion:'+_0x199db4,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x50b795=>({'name':'suggestion:'+_0x50b795,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x21d752=>{const _0x4a05c0=_0x21d752['markerName']['split'](':')[0x1];return'insertion'!=_0x4a05c0&&'deletion'!=_0x4a05c0?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x4a05c0]};}}),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',(_0xc51488,_0x5f180a,_0x263669)=>{const _0x1d1ced=_0x263669['mapper']['markerNameToElements'](_0x5f180a['markerName']);if(_0x1d1ced){for(const _0x29618e of _0x1d1ced)_0x29618e['is']('uiElement')&&(_0x263669['mapper']['unbindElementFromMarkerName'](_0x29618e,_0x5f180a['markerName']),_0x263669['writer']['remove'](_0x29618e));}},{'priority':'high'});}['_getChangeFromId'](_0xc9ca4b){return this['_changeIdToChange']['get'](_0xc9ca4b);}['_getViewForChange'](_0x17dbde){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x17dbde),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x225fca,_0x2856bd,_0x4b938d,_0x14bcde)=>{_0x14bcde&&this['_balloon']['remove'](_0x14bcde),_0x4b938d&&(this['_balloon']['add']({'view':_0x4b938d,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x1af2ca=this['editor']['editing'],_0xbf60db=this['_getChangeFromId'](_0x4b938d['changeId']);let _0x4d485b;if(_0xbf60db['data']['isOnRoot']){const _0x55d3de=_0x1af2ca['view']['getDomRoot'](_0xbf60db['rootName']);_0x4d485b=Array['from'](_0x55d3de['getClientRects']());}else{const _0x5b5140=this['editor']['model']['markers']['get']('revision:'+_0x4b938d['changeId']);_0x4d485b=Array['from'](_0x1af2ca['mapper']['markerNameToElements'](_0x5b5140['name']))['map'](_0x5a4b15=>_0x1af2ca['view']['domConverter']['mapViewToDom'](_0x5a4b15))['map'](_0x3227dd=>Array['from'](_0x3227dd['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x4d485b[0x0];return _0x4d485b['find'](_0x378597=>_0x378597['top']-0x3<=this['_activeViewTarget']['y']&&_0x378597['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x378597['left']-0x3<=this['_activeViewTarget']['x']&&_0x378597['right']+0x3>=this['_activeViewTarget']['x'])||_0x4d485b[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x18c183,_0x51f6bc,_0x235310,_0x3161a8)=>{this['activeView']=_0x235310?this['_getViewForChange'](_0x235310):null,this['editor']['model']['change'](()=>{const _0x1d77ca=this['editor']['editing'];_0x3161a8&&(_0x3161a8['data']['isOnRoot']?_0x1d77ca['view']['change'](_0x49fa06=>{_0x49fa06['removeClass']('ck-revision-history-root--active',_0x1d77ca['view']['document']['getRoot'](_0x3161a8['rootName']));}):_0x1d77ca['reconvertMarker']('revision:'+_0x3161a8['id'])),_0x235310&&(_0x235310['data']['isOnRoot']?_0x1d77ca['view']['change'](_0x43c848=>{_0x43c848['addClass']('ck-revision-history-root--active',_0x1d77ca['view']['document']['getRoot'](_0x235310['rootName']));}):_0x1d77ca['reconvertMarker']('revision:'+_0x235310['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x47be95,_0x1ba6a8)=>{if(this['activeChange'])return;const _0x2f9378=this['_findChangeIdFromDomTarget'](_0x1ba6a8['target']),_0x467831=this['_changeIdToChange']['get'](_0x2f9378);_0x467831?(this['_activeViewTarget']={'x':_0x1ba6a8['domEvent']['x'],'y':_0x1ba6a8['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x467831)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x1b0657,_0x2eba28)=>{const _0x31ac18=this['_findChangeIdFromDomTarget'](_0x2eba28['target']),_0x951af=this['_changeIdToChange']['get'](_0x31ac18);_0x951af?(this['_activeViewTarget']={'x':_0x2eba28['domEvent']['x'],'y':_0x2eba28['domEvent']['y']},_0x951af===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x951af):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x1175a1){do{const _0x30906a=_0x1175a1['getAttribute']('data-change-id');if(_0x30906a)return _0x30906a;_0x1175a1=_0x1175a1['parent'];}while(_0x1175a1);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x3c6283=>{for(const _0x5028a8 of this['editor']['model']['markers'])_0x3c6283['removeMarker'](_0x5028a8);});}}function et(_0x22cb25,_0x3afbf0){return(_0x1fef5b,_0xb03e8e,_0x44d48c)=>{if(!_0x44d48c['consumable']['test'](_0xb03e8e['markerRange'],_0x1fef5b['name']))return;const _0x28463a=_0xb03e8e['markerRange']['getWalker'](),_0x2016de=_0xb03e8e['markerRange']['start'],_0xc430a9=_0x22cb25['model']['schema'];let _0xc59672=null,_0x422ccd=null,_0x4d6d5e=!0x1,_0x5dbf2e=!0x1;for(const _0x23570f of _0x28463a){const _0x1e4a35=_0x23570f['item'];_0x4d6d5e=_0x4d6d5e||_0xc430a9['isContent'](_0x1e4a35);const _0x2ae69c=_0x44d48c['mapper']['toViewElement'](_0x1e4a35);if(_0x2ae69c&&_0x2ae69c['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x23570f['type']&&(_0xc430a9['isBlock'](_0x1e4a35)&&!_0xc430a9['isLimit'](_0x1e4a35)&&(_0x1e4a35['nextSibling']||_0x2016de['isAtEnd']?_0xc59672&&_0xc59672['parent']==_0x1e4a35||(_0xc59672=_0x1e4a35,_0x536419(_0x23570f['previousPosition']),_0x5dbf2e=!0x0):_0x422ccd=_0x422ccd||_0x23570f['previousPosition']));}function _0x536419(_0x59e35b){const _0x4755b0=_0x44d48c['mapper']['toViewPosition'](_0x59e35b),_0x11a8fb=_0x44d48c['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x3afbf0});_0x44d48c['writer']['insert'](_0x4755b0,_0x11a8fb),_0x44d48c['mapper']['bindElementToMarker'](_0x11a8fb,_0xb03e8e['markerName']);}_0x4d6d5e||_0x5dbf2e||!_0x422ccd||_0x536419(_0x422ccd);};}class bt extends _0x1fa5d9{constructor(_0x2d823d){super(_0x2d823d);const _0x1e6c74=_0x2d823d['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x1e6c74,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x1e6c74,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x33a13f=this['editor'],_0x8608a=_0x33a13f['plugins']['get'](d),_0x4a20ad=_0x8608a['isReady']?_0x8608a['diff']['newRevisionId']:null;_0x33a13f['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x4a20ad);}['refresh'](){const {isReady:_0x415f7c,isEnabled:_0x1a55f7}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x415f7c&&_0x1a55f7;}}class yt extends _0x1fa5d9{['_step'];constructor(_0x4c56da,{direction:_0x5bd6f7}){super(_0x4c56da);const _0x47d37d=_0x4c56da['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x5bd6f7?0x1:-0x1,this['listenTo'](_0x47d37d,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x47d37d,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x47d37d,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x1e2316=this['editor'],_0x4183cb=_0x1e2316['plugins']['get'](d),{isNavigationMode:_0x16118d,currentChangeNumber:_0x1dd41e}=_0x4183cb;let _0x4d5ef4;if(_0x4183cb['activeChange']=_0x16118d?_0x4183cb['diff']['changes']['get'](_0x1dd41e+this['_step']):_0x4183cb['diff']['changes']['first'],_0x4183cb['activeChange']['data']['isOnRoot'])_0x4d5ef4=_0x1e2316['editing']['view']['getDomRoot'](_0x4183cb['activeChange']['rootName']);else{const _0x3ac816=_0x1e2316['model']['markers']['get']('revision:'+_0x4183cb['activeChange']['id']);_0x4d5ef4=_0x461718(_0x1e2316['editing'],_0x3ac816);}_0x2c2e18({'target':_0x4d5ef4,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x54390f,currentChangeNumber:_0x209d38,numberOfChanges:_0x559fd8,isReady:_0x5356ae,isEnabled:_0x5b48ac}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x5b48ac&&_0x5356ae&&_0x559fd8)&&(!_0x54390f||(0x1===this['_step']?_0x209d38<_0x559fd8-0x1:_0x209d38>0x0));}}class _i extends _0x415edb{constructor(_0x3a4377){super(_0x3a4377);const _0x55fd18=this['bindTemplate'],_0x101d2b=new _0x28fe5f(_0x3a4377),_0xf4d20a=new _0x28fe5f(_0x3a4377);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',(_0xcdc58e,_0x251e3c)=>_0xcdc58e&&_0x251e3c>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x27e39b,_0x5d8c52,_0x380ec1,_0x4c14b0)=>{if(!_0x27e39b)return y(_0x3a4377,'Loading...');if(!_0x380ec1)return y(_0x3a4377,'No\x20changes');const _0x2e654d=y(_0x3a4377,'NUMBER_OF_CHANGES',_0x380ec1);return _0x4c14b0?y(_0x3a4377,'X_OF_Y_CHANGES',[_0x5d8c52+0x1,_0x380ec1]):_0x2e654d;}),_0x101d2b['set']({'label':y(_0x3a4377,'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'}),_0xf4d20a['set']({'label':y(_0x3a4377,'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'}),_0x101d2b['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0xf4d20a['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x101d2b['on']('execute',()=>this['fire']('execute','backward')),_0xf4d20a['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',_0x55fd18['if']('_isStatusLabelVisible','ck-hidden',_0x4dfb64=>!_0x4dfb64)]},'children':[{'text':_0x55fd18['to']('isNavigationMode',_0x5cd600=>_0x5cd600?y(_0x3a4377,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x3a4377,'Total')+':\x20')}]},{'text':_0x55fd18['to']('_statusText')}]},new _0x3e9cc5(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x101d2b,_0xf4d20a]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x86ef99{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x5cec59=this['editor']['editing']['view'];_0x5cec59['change'](_0x14f29f=>{for(const _0x30ae8f of _0x5cec59['document']['roots'])_0x14f29f['addClass'](ce,_0x30ae8f);});}['hide'](){const _0x175dd2=this['editor']['editing']['view'];_0x175dd2['change'](_0x63c5c5=>{for(const _0x5684a8 of _0x175dd2['document']['roots'])_0x63c5c5['removeClass'](ce,_0x5684a8);});}}class R extends _0x86ef99{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x5b0324=this['editor'],_0x5ce5da=_0x5b0324['plugins']['get'](d),_0x2788ca=_0x5b0324['plugins']['get'](de);_0x5b0324['ui']['componentFactory']['add']('exitToEditing',_0x2c0c3b=>{const _0x2a66c7=new _0x28fe5f(_0x2c0c3b);return _0x2a66c7['set']({'label':y(_0x2c0c3b,'Back\x20to\x20editing'),'icon':_0x52afaf['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x2a66c7,'execute',()=>{_0x5b0324['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x2a66c7;}),_0x5b0324['ui']['componentFactory']['add']('restoreRevision',_0x2d6799=>{const _0x4cf52a=new _0x28fe5f(_0x2d6799);return _0x4cf52a['set']({'label':y(_0x2d6799,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x4cf52a['bind']('isEnabled')['to'](_0x5b0324['commands']['get']('restoreRevision')),this['listenTo'](_0x4cf52a,'execute',()=>_0x5b0324['execute']('restoreRevision')),_0x4cf52a;}),_0x5b0324['ui']['componentFactory']['add']('changesNavigation',_0x52bbb7=>{const _0x8146d3=new _i(_0x52bbb7),_0xb8ae32=_0x5b0324['commands']['get']('showPreviousChange'),_0x445e22=_0x5b0324['commands']['get']('showNextChange');return _0x8146d3['bind']('isBackwardNavigationEnabled')['to'](_0xb8ae32,'isEnabled'),_0x8146d3['bind']('isForwardNavigationEnabled')['to'](_0x445e22,'isEnabled'),_0x8146d3['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x5ce5da),this['listenTo'](_0x8146d3,'execute',(_0x264b26,_0x4ff1ca)=>{_0x5b0324['execute']('forward'===_0x4ff1ca?'showNextChange':'showPreviousChange');}),_0x8146d3;}),_0x2788ca['show'](),_0x5ce5da['on']('change:isReady',(_0x155c75,_0xa80e7b,_0x507359)=>{_0x507359?_0x2788ca['hide']():_0x2788ca['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x101073,_0xc28ac6){super(_0x101073,_0xc28ac6);const _0x197045=this['bindTemplate'];this['set']({'label':y(_0x101073,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x101073,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x197045['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 _0x492973=this['fieldView']['element'];this['_tooltipString']=_0x492973['scrollWidth']>_0x492973['clientWidth']&&_0x492973['value']||'';}}class ti extends _0x415edb{constructor(_0xf21794,_0x31d456,_0x5ba92a){super(_0xf21794);const _0x314505=new _0x4783d4();_0x314505['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 _0x270c16=['ck','ck-revision-history-sidebar__revision-author'];_0x5ba92a&&_0x270c16['push']('ck-revision-history-sidebar__revision-author_creator');const _0x2fa65c=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0xf21794,_0x5ba92a?'Revision\x20creator':'Revision\x20author')},'children':[_0x314505,_0x31d456['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x270c16},'children':_0x2fa65c});}}function ni(_0x500a3d,_0x2c15fb){const _0x472231=_0x500a3d['bindTemplate'],_0x53b965=_0x500a3d['locale'],_0x45465a=_0x4e3765(_0x53b965);_0x45465a['panelPosition']='sw';const _0x242e59=function(_0x12006a,_0x23a9e9){const _0x5185a6=function(_0x13d025,_0x234407){const _0x391a6c=_0x13d025['locale'],_0x4827cf={'Compare\x20against\x20selected':y(_0x391a6c,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x391a6c,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x391a6c,'Restore\x20this\x20revision')};return _0x234407['map'](_0x499802=>{const _0x2fe618=_0x4827cf[_0x499802['name']];return _0x2fe618&&_0x2fe618!==_0x499802['name']&&(_0x499802['name']=_0x2fe618),_0x499802;});}(_0x12006a,_0x23a9e9),_0x4d281a=new _0x253a22();for(const _0xd23272 of _0x5185a6){const _0x15db6c={'type':'button','model':new to({'label':_0xd23272['name'],'class':_0xd23272['class'],'withText':!0x0,'role':'menuitem','_action':_0xd23272['action']})};_0x15db6c['model']['bind']('isEnabled')['to'](_0x12006a,'isActionsDropdownOpen',_0x2b0a1d=>'function'!=typeof _0xd23272['isEnabled']||(!_0x2b0a1d||_0xd23272['isEnabled'](_0x12006a))),_0x4d281a['add'](_0x15db6c);}return _0x4d281a;}(_0x500a3d,_0x2c15fb);return _0x500a3d['bind']('isActionsDropdownOpen')['to'](_0x45465a,'isOpen'),_0x45465a['buttonView']['set']({'label':y(_0x53b965,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x52afaf['threeVerticalDots']}),_0x45465a['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x472231['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x472231['to'](_0x33b0e1=>_0x33b0e1['stopPropagation']())}}),_0x45465a['on']('execute',_0x460670=>{_0x500a3d['isReady']&&'function'==typeof _0x460670['source']['_action']&&_0x460670['source']['_action'](_0x500a3d);}),_0x1f2450(_0x45465a,_0x242e59,{'role':'menu'}),_0x45465a['listenTo'](_0x500a3d,'change:isActionsDropdownOpen',(_0x59cb93,_0x31ffb3,_0x61f6ad)=>{if(_0x61f6ad)for(const _0x6f0a18 of _0x45465a['listView']['items']){const _0x2f54b7=_0x6f0a18['children']['first'],_0x2158fe=_0x2c15fb['find'](_0x5be10b=>_0x5be10b['action']===_0x2f54b7['_action'])['isVisible'];_0x6f0a18['isVisible']=void 0x0===_0x2158fe||_0x2158fe(_0x500a3d);}}),_0x45465a;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x5bdb05(_0x415edb){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x54758e,_0x4ce007,_0x5e2f32,_0x27ca0c){super(_0x54758e);const _0x5db34b=this['bindTemplate'],_0x2126f3=function(_0x14b0bd,_0x576510){const _0x22bbb2=Array['from'](_0x576510['authors'])['filter'](_0x17ebb1=>_0x17ebb1!=_0x576510['creator']);return _0x576510['creator']&&_0x22bbb2['unshift'](_0x576510['creator']),_0x22bbb2['map'](_0x3d57a0=>new ti(_0x14b0bd,_0x3d57a0,_0x3d57a0==_0x576510['creator']));}(_0x54758e,_0x4ce007);this['id']=_0x4ce007['id'],this['_revision']=_0x4ce007,this['_requireRevisionName']=_0x27ca0c,this['bind']('name','createdAt')['to'](_0x4ce007),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x1e2009=>{return _0x26170f=_0x54758e['uiLanguage'],(_0x6f64a7=_0x1e2009)['toLocaleDateString'](_0x26170f,{'month':'long','day':'numeric'})+',\x20'+_0x6f64a7['toLocaleTimeString'](_0x26170f,{'hour':'numeric','minute':'numeric'});var _0x26170f,_0x6f64a7;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x54758e,_0x5bc8e7),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x21b85d=>_0x21b85d||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x3e8779,_0xaf65ae)=>_0x3e8779&&_0xaf65ae),this['revisionActionsView']=_0x5e2f32&&_0x5e2f32['length']?ni(this,_0x5e2f32):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x5db34b['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x5db34b['if']('isEnabled','ck-disabled',_0x347780=>!_0x347780),_0x5db34b['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x5db34b['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x5db34b['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':_0x5db34b['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':_0x2126f3}]},this['revisionActionsView']],'on':{'click':_0x5db34b['to'](_0xc05a32=>{_0xc05a32['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x3f5cb8=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x3f5cb8,'change',()=>{this['_requireRevisionName']&&!_0x3f5cb8['value']||this['fire']('setName',{'id':this['id'],'name':_0x3f5cb8['value']}),_0x3f5cb8['value']||(_0x3f5cb8['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(_0x3e3739,_0x28414a){const _0x2c2e70=_0x1e74a8['fromJSDate'](_0x3e3739)['setLocale'](_0x28414a),_0x49b28c=_0x1e74a8['local'](),_0x5cf931=_0x49b28c['minus']({'days':0x1})['startOf']('day');let _0x3464f1,_0x1b3fab;return _0x2c2e70['hasSame'](_0x49b28c,'day')?(_0x3464f1=_0x2c2e70['startOf']('day')['toJSDate'](),_0x1b3fab=_0x2c2e70['toRelativeCalendar']()):_0x2c2e70['hasSame'](_0x5cf931,'day')?(_0x3464f1=_0x5cf931['toJSDate'](),_0x1b3fab=_0x2c2e70['toRelativeCalendar']()):_0x2c2e70['hasSame'](_0x49b28c,'week')?(_0x3464f1=_0x2c2e70['startOf']('week')['toJSDate'](),_0x1b3fab=_0x2c2e70['weekdayLong']||''):_0x2c2e70['hasSame'](_0x49b28c,'year')?(_0x3464f1=_0x2c2e70['startOf']('month')['toJSDate'](),_0x1b3fab=_0x2c2e70['monthLong']||''):(_0x3464f1=_0x2c2e70['startOf']('year')['toJSDate'](),_0x1b3fab=String(_0x2c2e70['year'])),{'startDate':_0x3464f1,'localizedPeriodName':_0x1b3fab};}class mi extends _0x415edb{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x169f59,_0x50431f,_0x29f74c,_0x26e48d){super(_0x169f59);const _0x219b10=di(_0x50431f,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x50431f,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x29f74c,this['_requireRevisionName']=_0x26e48d,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':_0x219b10}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x5dd98f){const _0x4f7776=new ai(this['locale'],_0x5dd98f,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x4f7776);}['removeRevision'](_0x357af7){const _0x499bb2=this['revisionViews']['find'](_0x5b2ae9=>_0x5b2ae9['id']===_0x357af7['id']);this['revisionViews']['remove'](_0x499bb2);}}class as extends _0x415edb{constructor(_0x6df1bb){super(_0x6df1bb);const _0x2c2bce=new _0x4783d4();_0x2c2bce['content']=_0x52afaf['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x2c2bce,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x6df1bb,'Revision\x20history')]}]});}}class ci extends _0x415edb{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x50fca6,_0x57c87b,_0xdc4e03,_0x1b576c){super(_0x50fca6);const _0x4f61f1=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x57c87b,this['_revisionActions']=_0xdc4e03,this['_requireRevisionName']=_0x1b576c,this['on']('select',(_0x7f0d14,_0x3f90ed)=>{this['fire']('revisionSelected',_0x3f90ed);}),this['on']('setName',(_0x543b2f,_0x191c2a)=>{this['fire']('revisionSetName',_0x191c2a);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x50fca6),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x4f61f1['if']('isEnabled','ck-disabled',_0x160ea6=>!_0x160ea6)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x37ecb3 of this['_revisions'])this['_addRevision'](_0x37ecb3);this['_revisions']['on']('add',(_0x573171,_0x4cadd0)=>{this['_addRevision'](_0x4cadd0);}),this['_revisions']['on']('remove',(_0xac6fee,_0x3d4186)=>{this['_removeRevision'](_0x3d4186);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x1908e8=>_0x1908e8['revisionViews']['map'](_0x130e18=>_0x130e18))['flat']();}['selectRevision'](_0x60386e){for(const _0x3c1f98 of this['revisionViews'])_0x60386e&&_0x60386e['id']===_0x3c1f98['id']?_0x3c1f98['select']():_0x3c1f98['deselect']();}['highlightRevisions'](_0x476858){for(const _0x482d91 of this['revisionViews'])_0x476858['some'](({id:_0xff59d6})=>_0xff59d6===_0x482d91['id'])?_0x482d91['highlight']():_0x482d91['unhighlight']();}['_addRevision'](_0x72bfb1){const _0x4c6581=di(_0x72bfb1['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x2dccb4=this['timePeriodViews']['get'](0x0);_0x2dccb4&&_0x2dccb4['startDate']['getTime']()===_0x4c6581['getTime']()||(_0x2dccb4=new mi(this['locale'],_0x4c6581,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x2dccb4)),_0x2dccb4['addRevision'](_0x72bfb1);}['_removeRevision'](_0x3e6ed9){const _0x5273fb=di(_0x3e6ed9['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x5273fb)['removeRevision'](_0x3e6ed9);}['_getTimePeriodViewByStartDate'](_0x754248){return this['timePeriodViews']['find'](_0x53313c=>_0x53313c['startDate']['getTime']()===_0x754248['getTime']());}}class w extends _0x86ef99{['_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(_0x426128){super(_0x426128),this['_revisionViewer']=_0x426128['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x526fe8=this['_revisionsRepository']['_revisions'],_0x37a7b0=this['_createRevisionActions'](),_0x40898f=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x526fe8,_0x37a7b0,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',(_0x154477,_0x29751a)=>{_0x29751a['revisionViews']['on']('add',(_0x50e245,_0x42b679)=>{_0x42b679['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)),_0x40898f['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x59dca7=this['_revisionsRepository']['getRevision'](0x0);if(_0x59dca7){const _0x293529=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x59dca7['id']);this['_revisionViewer']['compare'](_0x59dca7,_0x293529);}}['_handleRevisionSelected'](_0x6dc96b,_0x525360){const _0x7cf6ee=this['_revisionsRepository']['getRevision'](_0x525360['id']),_0x54ce8d=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x7cf6ee['id']);this['_revisionViewer']['compare'](_0x7cf6ee,_0x54ce8d);}['_handleRevisionSetName'](_0x4c877f,_0x59230f){this['_revisionsRepository']['getRevision'](_0x59230f['id'])['setName'](_0x59230f['name']);}['_handleDiffChange'](_0x290839,_0x21b34b,_0x4d5a7d){const _0x1d94ee=this['_revisionsRepository']['getRevisionsInDiff'](_0x4d5a7d);_0x1d94ee['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x1d94ee),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x1d94ee[0x0]));}['_createRevisionActions'](){const _0x3489f6=this['editor'],_0xeda1e7=w['availableRevisionActions'],_0x587cab=_0x3489f6['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x587cab['length'])return _0x587cab['map'](_0x76a00c=>{const _0x2c5eae='string'==typeof _0x76a00c?Object['assign']({},_0xeda1e7[_0x76a00c]):_0x76a00c;return _0x2c5eae['action']=_0x2c5eae['action']['bind'](this,_0x3489f6),_0x2c5eae['isVisible']&&(_0x2c5eae['isVisible']=_0x2c5eae['isVisible']['bind'](this,_0x3489f6)),_0x2c5eae;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x1ffbf1},_0x43336c)=>{const _0x40616b=_0x1ffbf1['get'](d),_0x2c2c79=_0x40616b['repository'];let _0x4606c0=_0x40616b['diff']['newRevisionId'],_0x14dca1=_0x43336c['id'];_0x2c2c79['getIndex'](_0x4606c0)>_0x2c2c79['getIndex'](_0x14dca1)&&([_0x4606c0,_0x14dca1]=[_0x14dca1,_0x4606c0]),_0x40616b['compare'](_0x4606c0,_0x14dca1);},'isVisible':({plugins:_0x5b46b6},_0x4a9a53)=>{const _0xeb4458=_0x5b46b6['get'](d);return!(_0xeb4458['repository']['getRevisionsInDiff'](_0xeb4458['diff'])['length']>0x2)&&!_0x4a9a53['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x3c1f46,{id:_0x5c3ea0})=>{_0x3c1f46['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x5c3ea0);},'isVisible':({plugins:_0x23b308},_0x2bfc72)=>!!_0x23b308['get'](d)['repository']['getLaterVisibleRevision'](_0x2bfc72['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x692a5},{id:_0x314e1c,revisionNameView:_0x149bc3})=>{const _0x1dd6b2=_0x692a5['get'](d),_0x2e9e97=_0x1dd6b2['repository']['getEarlierVisibleRevision'](_0x314e1c);_0x1dd6b2['compare'](_0x314e1c,_0x2e9e97),_0x149bc3['focus'](),_0x149bc3['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x2e0d28,_0x1b7aef){super(_0x2e0d28),this['_view']=_0x1b7aef,this['_toolbarConfig']=ct(_0x2e0d28['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x424917){const _0x468b0c=this['editor'],_0x457d74=this['view'],_0x5eebb7=_0x468b0c['editing']['view'],_0x4541c0=_0x457d74['editable'],_0x5cd45a=_0x5eebb7['document']['getRoot']();_0x4541c0['name']=_0x5cd45a['rootName'],_0x457d74['render']();const _0x2c6b50=_0x4541c0['element'];this['setEditableElement'](_0x4541c0['name'],_0x2c6b50),_0x457d74['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x5eebb7['attachDomRoot'](_0x2c6b50),this['_elementReplacer']['replace'](_0x424917,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x4fa50c=this['view'],_0x42c173=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x42c173['detachDomRoot'](_0x4fa50c['editable']['name']),_0x4fa50c['destroy']();}['_initToolbar'](){const _0x20ddc6=this['view'];_0x20ddc6['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x20ddc6['stickyPanel']['limiterElement']=_0x20ddc6['element'],_0x20ddc6['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x15c36a})=>_0x15c36a),_0x20ddc6['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x20ddc6['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x434830,_0x1a021a,_0x401c7c={}){super(_0x434830),this['stickyPanel']=new lt(_0x434830),this['toolbar']=new pt(_0x434830,{'shouldGroupWhenFull':_0x401c7c['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x434830,_0x1a021a);}['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(_0x31e62a,_0x4e7306){super(_0x4e7306),this['sourceElement']=_0x31e62a,this['model']['document']['createRoot']();const _0x240e21=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x240e21);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x51df83,_0x316afc){const _0x533637=new this(_0x51df83,_0x316afc);return await _0x533637['initPlugins'](),await _0x533637['ui']['init'](_0x51df83),await _0x533637['data']['init'](_0x533637['config']['get']('initialData')||''),_0x533637['fire']('ready'),_0x533637;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x2fb962{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x527a8b){super(_0x527a8b),this['result']='end';}}class H extends _0x2fb962{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x31622f){if(super(_0x31622f),!this['editor']['config']['get']('revisionHistory'))throw new _0x24ff99('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0xa75b82=>this['_showRevisionViewer']({..._0xa75b82,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x1af7d4=>this['_closeRevisionViewer'](_0x1af7d4)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x377501=>this['_restoreRevision'](_0x377501)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x11264e){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x11264e;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0xbd4ee2){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0xbd4ee2);}['getRevision'](_0x14fff1){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x14fff1);}['getRevisions'](_0x255b86){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x255b86||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x4c85ed=this['editor'],_0x509e59=_0x21c2b0(_0x4c85ed,p),_0x15d680=_0x4c85ed['plugins']['get']('RevisionTracker'),_0x3d7c7c=_0x4c85ed['plugins']['get']('Users')['users'];return _0x509e59['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x509e59['lazyRoots'],(_0x509e59['plugins']['push'](k,d,R,class extends _0x2fb962{static get['requires'](){return[d,'Users'];}['init'](){const _0x4551ec=this['editor']['plugins']['get']('Users');for(const _0x26cad9 of _0x3d7c7c)_0x26cad9['isAnonymous']||_0x4551ec['getUser'](_0x26cad9['id'])||_0x4551ec['addUser'](_0x26cad9);const _0x204717=_0x15d680['repository']['getRevisions']();let _0x58cc4b=null;const _0x3a1001=this['editor']['plugins']['get']('RevisionViewer');_0x3a1001['adapter']=_0x15d680['adapter'],_0x3a1001['bind']('isEnabled')['to'](_0x15d680),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x4c85ed,'isReadOnly',_0x112845=>!_0x112845);for(const _0x2541e4 of _0x204717){const _0x56ffdc=null===_0x2541e4['creator'];if(_0x56ffdc&&_0x2541e4['toVersion']===_0x2541e4['fromVersion'])continue;const _0x3d37b2=_0x2541e4['toJSON']();_0x3a1001['addRevisionData'](_0x3d37b2,(_0x253f64,_0x10f03e,_0x5a80bf)=>{if(_0x56ffdc){if(_0x58cc4b)_0x58cc4b['_update'](_0x253f64,_0x10f03e);else{if(!_0x10f03e){const _0x2769ef=_0x5a80bf['toJSON']();_0x2769ef['id']=_0x387b3f(),_0x15d680['saveRevision'](_0x2769ef,_0x5a80bf['toVersion'])['then'](_0x4387fc=>{_0x58cc4b=_0x4387fc;});}}}else _0x2541e4['_update'](_0x253f64,_0x10f03e);});}}},w),_0x509e59);}['_enhanceShowRevisionViewerCallback'](){const _0x1bcead=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x43b94c=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x1a61b8=this['editor']['plugins']['get']('Autosave');await _0x1a61b8['save']();}else await _0x43b94c['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x34d31d=this['editor']['plugins']['get']('Dialog');_0x34d31d['isOpen']&&_0x34d31d['hide']();}const _0x138476=this['_getRevisionViewerEditorConfig']();return _0x1bcead(_0x138476)['then'](_0x10ce63=>{return(this['_viewerEditor']=_0x10ce63,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x10ce63;})['catch'](_0x235a01=>(console['error'](_0x235a01),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x956cfb=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'](),_0x956cfb(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x1b8edf=this['editor']['plugins']['get']('Annotations');_0x1b8edf['refreshVisibility'](),_0x1b8edf['refreshPositioning']();}})));}['_showRevisionViewer'](_0x2e4630){const _0xd90934=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x2429bb=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x3d133d=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x3d133d,_0x2e4630)['then'](_0x2bb91d=>(_0x2429bb['style']['display']='block',_0xd90934['style']['display']='none',_0x2bb91d));}['_closeRevisionViewer'](_0x21dc73){const _0x358739=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x358739['style']['display']='',_0x21dc73['destroy']();}async['_restoreRevision'](_0x585de1){const _0x371d0a=this['editor'],_0x1106e0=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x46962b=_0x371d0a['plugins']['get']('RevisionTracker'),_0x93fce5=_0x1106e0['repository']['getRevision'](_0x585de1);let _0x55e2a0,_0x55a993,_0x354bf6;try{_0x55e2a0=await _0x1106e0['getRevisionData'](_0x93fce5),_0x55a993=await _0x1106e0['getRevisionRootsAttributes'](_0x93fce5);}catch(_0x93c0b6){return void console['error'](_0x93c0b6);}_0x371d0a['model']['change'](_0x1a6422=>{for(const _0x1beee9 of Array['from'](_0x371d0a['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x1a6422['removeMarker'](_0x1beee9);}),_0x1106e0['isReady']=!0x1,_0x371d0a['model']['enqueueChange'](_0xb4fa95=>{_0xb4fa95['setSelection'](null),_0xb4fa95['removeSelectionAttribute'](_0x371d0a['model']['document']['selection']['getAttributeKeys']());const _0x29f123=Object['keys'](_0x55e2a0);for(const _0x545314 of _0x371d0a['model']['document']['roots'])'$graveyard'!=_0x545314['rootName']&&_0x545314['isAttached']()&&!_0x29f123['includes'](_0x545314['rootName'])&&_0xb4fa95['detachRoot'](_0x545314);for(const _0x39bb45 of _0x29f123){let _0x5d7bdf=_0x371d0a['model']['document']['getRoot'](_0x39bb45);_0x5d7bdf&&_0x5d7bdf['isAttached']()||(_0x5d7bdf=_0xb4fa95['addRoot'](_0x39bb45));const _0x4e0fd3=_0x55a993[_0x39bb45],_0x46952d=Object['keys'](_0x4e0fd3),_0x5d7cbd=_0x55e2a0[_0x39bb45];for(const _0x432cd7 of _0x5d7bdf['getAttributeKeys']())_0x46952d['includes'](_0x432cd7)||_0xb4fa95['removeAttribute'](_0x432cd7,_0x5d7bdf);for(const _0x24811f of _0x46952d)_0xb4fa95['setAttribute'](_0x24811f,_0x55a993[_0x39bb45][_0x24811f],_0x5d7bdf);_0xb4fa95['remove'](_0xb4fa95['createRangeIn'](_0x5d7bdf)),_0xb4fa95['insert'](_0x371d0a['data']['parse'](_0x5d7cbd,_0x5d7bdf),_0x5d7bdf,0x0);}});const _0x568f84=y(_0x371d0a['locale'],'Restored');if(_0x93fce5['name'])_0x354bf6=-0x1==_0x93fce5['name']['indexOf'](_0x568f84)?_0x568f84+':\x20'+_0x93fce5['name']:_0x93fce5['name'];else _0x354bf6=_0x568f84+':\x20'+(_0x93fce5['createdAt']['toLocaleDateString'](_0x371d0a['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x93fce5['createdAt']['toLocaleTimeString'](_0x371d0a['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x46962b['saveRevision']({'name':_0x354bf6}),_0x1106e0['isReady']=!0x0,_0x371d0a['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(_0x56f19e){super(_0x56f19e),this['_revisionViewer']=_0x56f19e['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x41a095=this['_revisionsRepository']['_revisions'],_0xc79b03=this['_createRevisionActions'](),_0x4a2d38=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x41a095,_0xc79b03,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',(_0x541f14,_0x1ff17)=>{_0x1ff17['revisionViews']['on']('add',(_0xaf7c0a,_0x527359)=>{_0x527359['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)),_0x4a2d38['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x319f7c=this['_revisionsRepository']['getRevision'](0x0);if(_0x319f7c){const _0x28ed65=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x319f7c['id']);this['_revisionViewer']['compare'](_0x319f7c,_0x28ed65);}}['_handleRevisionSelected'](_0x478e10,_0x3e7b09){const _0x5e61fb=this['_revisionsRepository']['getRevision'](_0x3e7b09['id']),_0x57c025=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x5e61fb['id']);this['_revisionViewer']['compare'](_0x5e61fb,_0x57c025);}['_handleRevisionSetName'](_0x4feac9,_0x102670){this['_revisionsRepository']['getRevision'](_0x102670['id'])['setName'](_0x102670['name']);}['_handleDiffChange'](_0x45fb56,_0x53e1ca,_0x118b88){const _0xafcf35=this['_revisionsRepository']['getRevisionsInDiff'](_0x118b88);_0xafcf35['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0xafcf35),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0xafcf35[0x0]));}['_createRevisionActions'](){const _0x5c4a3a=this['editor'],_0x5301c8=w['availableRevisionActions'],_0x185b5e=_0x5c4a3a['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x185b5e['length'])return _0x185b5e['map'](_0x44a3ab=>{const _0x51e487='string'==typeof _0x44a3ab?Object['assign']({},_0x5301c8[_0x44a3ab]):_0x44a3ab;return _0x51e487['action']=_0x51e487['action']['bind'](this,_0x5c4a3a),_0x51e487['isVisible']&&(_0x51e487['isVisible']=_0x51e487['isVisible']['bind'](this,_0x5c4a3a)),_0x51e487;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x5b641b},_0x5dbb7c)=>{const _0x19cfd8=_0x5b641b['get'](d),_0x21d672=_0x19cfd8['repository'];let _0x40ce5c=_0x19cfd8['diff']['newRevisionId'],_0x2856a1=_0x5dbb7c['id'];_0x21d672['getIndex'](_0x40ce5c)>_0x21d672['getIndex'](_0x2856a1)&&([_0x40ce5c,_0x2856a1]=[_0x2856a1,_0x40ce5c]),_0x19cfd8['compare'](_0x40ce5c,_0x2856a1);},'isVisible':({plugins:_0x233e2b},_0x1adeea)=>{const _0xd7937e=_0x233e2b['get'](d);return!(_0xd7937e['repository']['getRevisionsInDiff'](_0xd7937e['diff'])['length']>0x2)&&!_0x1adeea['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x26116c,{id:_0x3fce89})=>{_0x26116c['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x3fce89);},'isVisible':({plugins:_0x5e7234},_0x245c03)=>!!_0x5e7234['get'](d)['repository']['getLaterVisibleRevision'](_0x245c03['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0xe9ca43},{id:_0x285e80,revisionNameView:_0x485f43})=>{const _0x2d3ff6=_0xe9ca43['get'](d),_0x3456df=_0x2d3ff6['repository']['getEarlierVisibleRevision'](_0x285e80);_0x2d3ff6['compare'](_0x285e80,_0x3456df),_0x485f43['focus'](),_0x485f43['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x39965a,_0x2086cf){super(_0x39965a),this['_view']=_0x2086cf,this['_toolbarConfig']=ct(_0x39965a['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0xc469){const _0x262871=this['editor'],_0x29edad=this['view'],_0x2fe6a4=_0x262871['editing']['view'],_0x5f1369=_0x29edad['editable'],_0xb175c8=_0x2fe6a4['document']['getRoot']();_0x5f1369['name']=_0xb175c8['rootName'],_0x29edad['render']();const _0x4128fe=_0x5f1369['element'];this['setEditableElement'](_0x5f1369['name'],_0x4128fe),_0x29edad['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x2fe6a4['attachDomRoot'](_0x4128fe),this['_elementReplacer']['replace'](_0xc469,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x29eef9=this['view'],_0x2b7570=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x2b7570['detachDomRoot'](_0x29eef9['editable']['name']),_0x29eef9['destroy']();}['_initToolbar'](){const _0x11ce7a=this['view'];_0x11ce7a['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x11ce7a['stickyPanel']['limiterElement']=_0x11ce7a['element'],_0x11ce7a['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x195f17})=>_0x195f17),_0x11ce7a['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x11ce7a['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x20d21d,_0x53c644,_0x37a0eb={}){super(_0x20d21d),this['stickyPanel']=new lt(_0x20d21d),this['toolbar']=new pt(_0x20d21d,{'shouldGroupWhenFull':_0x37a0eb['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x20d21d,_0x53c644);}['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(_0x2a0600,_0x1d2538){super(_0x1d2538),this['sourceElement']=_0x2a0600,this['model']['document']['createRoot']();const _0x1362e0=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x1362e0);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0xe749ac,_0x34f0e8){const _0x446335=new this(_0xe749ac,_0x34f0e8);return await _0x446335['initPlugins'](),await _0x446335['ui']['init'](_0xe749ac),await _0x446335['data']['init'](_0x446335['config']['get']('initialData')||''),_0x446335['fire']('ready'),_0x446335;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x86ef99{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x5816e0){super(_0x5816e0),this['result']='end';}}class H extends _0x86ef99{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x4ede66){if(super(_0x4ede66),!this['editor']['config']['get']('revisionHistory'))throw new _0x372945('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x4290b9=>this['_showRevisionViewer']({..._0x4290b9,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x5550e2=>this['_closeRevisionViewer'](_0x5550e2)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x505bd3=>this['_restoreRevision'](_0x505bd3)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0xa6ea90){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0xa6ea90;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x5dd035){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x5dd035);}['getRevision'](_0x1bffb2){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x1bffb2);}['getRevisions'](_0xd049ab){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0xd049ab||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x3528b8=this['editor'],_0x1f7335=_0x43ce94(_0x3528b8,p),_0x3a6825=_0x3528b8['plugins']['get']('RevisionTracker'),_0x1e594c=_0x3528b8['plugins']['get']('Users')['users'];return _0x1f7335['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x1f7335['lazyRoots'],(_0x1f7335['plugins']['push'](k,d,R,class extends _0x86ef99{static get['requires'](){return[d,'Users'];}['init'](){const _0x3996ac=this['editor']['plugins']['get']('Users');for(const _0x1584cf of _0x1e594c)_0x1584cf['isAnonymous']||_0x3996ac['getUser'](_0x1584cf['id'])||_0x3996ac['addUser'](_0x1584cf);const _0x1635f0=_0x3a6825['repository']['getRevisions']();let _0x3e416d=null;const _0xe4e1f3=this['editor']['plugins']['get']('RevisionViewer');_0xe4e1f3['adapter']=_0x3a6825['adapter'],_0xe4e1f3['bind']('isEnabled')['to'](_0x3a6825),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x3528b8,'isReadOnly',_0x238764=>!_0x238764);for(const _0x5c307a of _0x1635f0){const _0x32e5f3=null===_0x5c307a['creator'];if(_0x32e5f3&&_0x5c307a['toVersion']===_0x5c307a['fromVersion'])continue;const _0x50bbce=_0x5c307a['toJSON']();_0xe4e1f3['addRevisionData'](_0x50bbce,(_0x46185b,_0x30f477,_0x10b1f7)=>{if(_0x32e5f3){if(_0x3e416d)_0x3e416d['_update'](_0x46185b,_0x30f477);else{if(!_0x30f477){const _0x5c6dc0=_0x10b1f7['toJSON']();_0x5c6dc0['id']=_0x380ed5(),_0x3a6825['saveRevision'](_0x5c6dc0,_0x10b1f7['toVersion'])['then'](_0x58e810=>{_0x3e416d=_0x58e810;});}}}else _0x5c307a['_update'](_0x46185b,_0x30f477);});}}},w),_0x1f7335);}['_enhanceShowRevisionViewerCallback'](){const _0x47e205=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x477533=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x52b545=this['editor']['plugins']['get']('Autosave');await _0x52b545['save']();}else await _0x477533['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x31e48f=this['editor']['plugins']['get']('Dialog');_0x31e48f['isOpen']&&_0x31e48f['hide']();}const _0x15e900=this['_getRevisionViewerEditorConfig']();return _0x47e205(_0x15e900)['then'](_0x3ae6f0=>{return(this['_viewerEditor']=_0x3ae6f0,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x3ae6f0;})['catch'](_0x2c33f9=>(console['error'](_0x2c33f9),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x390ed5=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'](),_0x390ed5(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x2a31d8=this['editor']['plugins']['get']('Annotations');_0x2a31d8['refreshVisibility'](),_0x2a31d8['refreshPositioning']();}})));}['_showRevisionViewer'](_0x1b88c2){const _0x3e9dbc=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x5d83a2=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x18a806=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x18a806,_0x1b88c2)['then'](_0x5b115c=>(_0x5d83a2['style']['display']='block',_0x3e9dbc['style']['display']='none',_0x5b115c));}['_closeRevisionViewer'](_0x23cc37){const _0x29e4ab=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x29e4ab['style']['display']='',_0x23cc37['destroy']();}async['_restoreRevision'](_0x2a8047){const _0x2eb2ba=this['editor'],_0x23abdc=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x2cd464=_0x2eb2ba['plugins']['get']('RevisionTracker'),_0xe96533=_0x23abdc['repository']['getRevision'](_0x2a8047);let _0xc96807,_0x3ffda6,_0x33cc32;try{_0xc96807=await _0x23abdc['getRevisionData'](_0xe96533),_0x3ffda6=await _0x23abdc['getRevisionRootsAttributes'](_0xe96533);}catch(_0x298046){return void console['error'](_0x298046);}_0x2eb2ba['model']['change'](_0x3daa44=>{for(const _0x3c24d8 of Array['from'](_0x2eb2ba['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x3daa44['removeMarker'](_0x3c24d8);}),_0x23abdc['isReady']=!0x1,_0x2eb2ba['model']['enqueueChange'](_0xb88752=>{_0xb88752['setSelection'](null),_0xb88752['removeSelectionAttribute'](_0x2eb2ba['model']['document']['selection']['getAttributeKeys']());const _0x5dda5f=Object['keys'](_0xc96807);for(const _0x4fd283 of _0x2eb2ba['model']['document']['roots'])'$graveyard'!=_0x4fd283['rootName']&&_0x4fd283['isAttached']()&&!_0x5dda5f['includes'](_0x4fd283['rootName'])&&_0xb88752['detachRoot'](_0x4fd283);for(const _0x35b59f of _0x5dda5f){let _0x350a65=_0x2eb2ba['model']['document']['getRoot'](_0x35b59f);_0x350a65&&_0x350a65['isAttached']()||(_0x350a65=_0xb88752['addRoot'](_0x35b59f));const _0x5387bf=_0x3ffda6[_0x35b59f],_0x5dda39=Object['keys'](_0x5387bf),_0x4ee905=_0xc96807[_0x35b59f];for(const _0xda0b5c of _0x350a65['getAttributeKeys']())_0x5dda39['includes'](_0xda0b5c)||_0xb88752['removeAttribute'](_0xda0b5c,_0x350a65);for(const _0x5ef96f of _0x5dda39)_0xb88752['setAttribute'](_0x5ef96f,_0x3ffda6[_0x35b59f][_0x5ef96f],_0x350a65);_0xb88752['remove'](_0xb88752['createRangeIn'](_0x350a65)),_0xb88752['insert'](_0x2eb2ba['data']['parse'](_0x4ee905,_0x350a65),_0x350a65,0x0);}});const _0x47c4e0=y(_0x2eb2ba['locale'],'Restored');if(_0xe96533['name'])_0x33cc32=-0x1==_0xe96533['name']['indexOf'](_0x47c4e0)?_0x47c4e0+':\x20'+_0xe96533['name']:_0xe96533['name'];else _0x33cc32=_0x47c4e0+':\x20'+(_0xe96533['createdAt']['toLocaleDateString'](_0x2eb2ba['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0xe96533['createdAt']['toLocaleTimeString'](_0x2eb2ba['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x2cd464['saveRevision']({'name':_0x33cc32}),_0x23abdc['isReady']=!0x0,_0x2eb2ba['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};