@ckeditor/ckeditor5-revision-history 42.0.0-alpha.11 → 42.0.0-alpha.14

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 _0x28ca11,Context as _0x5e03bf,PendingActions as _0x14e889,icons as _0x5318e5,Command as _0x50e772,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x5a6ef2,uid as _0x1b816b,Collection as _0x40b03c,logWarning as _0x17ae61,FocusTracker as _0x5aadd4,KeystrokeHandler as _0x4833a7,scrollViewportToShowTarget as _0x102259,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x5e996e}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x173f60,getMarkerDomElement as _0x27c734,ConfirmMixin as _0x120ca6,sanitizeEditorConfig as _0xd2e690}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x55e0ce,ViewText as _0x15a6c6,ViewElement as _0x37ea6e,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x3cb80c,ViewAttributeElement as _0x2a9ad7,ViewEmptyElement as _0x388816,ViewRawElement as _0x1b689c,ViewUIElement as _0x4ae6fe,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x2f65c9,set as _0x4cf036,unset as _0x4316e2,isEqual as _0x2a8c87}from'lodash-es';import{View as _0x5b97df,injectCssTransitionDisabler as ts,submitHandler as _0x218750,LabeledFieldView as at,createLabeledInputText as _0x2fdf3a,createDropdown as _0x40b2e8,ListView as te,ListItemView as _0x1a3e54,ButtonView as _0x1eab0c,MenuBarMenuView as _0x565adf,MenuBarMenuListView as _0x451b9b,MenuBarMenuListItemView as _0x5b44f8,MenuBarMenuListItemButtonView as _0x1ad9f6,ContextualBalloon as _0x52d7b4,ToolbarSeparatorView as _0x503090,IconView as _0x4f9823,addListToDropdown as _0x21b132,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 _0x34d35b}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x5a6ef2(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x2cb353){super(),this['id']=_0x2cb353['id']||_0x1b816b(),this['creator']=_0x2cb353['creator']||null,this['authors']=_0x2cb353['authors']||[],this['diffData']=_0x2cb353['diffData']||null,this['toVersion']=_0x2cb353['toVersion']||0x0,this['fromVersion']=_0x2cb353['fromVersion']||0x0,this['set']('name',_0x2cb353['name']||''),this['set']('createdAt',_0x2cb353['createdAt']||new Date()),this['set']('attributes',_0x2cb353['attributes']||{});}['setName'](_0x5f0eaa){this['_update']({'name':_0x5f0eaa});}['setAttribute'](_0x2d353d,_0xf39b3){const _0x1ea5c6=_0x2f65c9(this['attributes']);_0x4cf036(_0x1ea5c6,_0x2d353d,_0xf39b3),this['_update']({'attributes':_0x1ea5c6});}['removeAttribute'](_0x24096d){const _0x5302a4=_0x2f65c9(this['attributes']);_0x4316e2(_0x5302a4,_0x24096d),this['_update']({'attributes':_0x5302a4});}['_update'](_0x45aa72,_0x527e94=!0x1){let _0x4ddf81=!0x1;const _0x610980={'id':this['id']},_0x571cba=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x4dbe5e of _0x571cba){const _0x53150a=_0x45aa72[_0x4dbe5e];void 0x0!==_0x53150a&&_0x53150a!==this[_0x4dbe5e]&&(this[_0x4dbe5e]=_0x53150a,_0x610980[_0x4dbe5e]=_0x53150a,_0x4ddf81=!0x0);}_0x4ddf81&&(_0x610980['authors']&&(_0x610980['authorsIds']=_0x610980['authors']['map'](_0x46e89b=>_0x46e89b['id']),delete _0x610980['authors']),this['fire']('_update',_0x610980,_0x527e94));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x10fb51=>_0x10fb51['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x28ca11{['_revisions'];static get['requires'](){return[_0x173f60];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x360c99){super(_0x360c99),this['_revisions']=new _0x40b03c();}['afterInit'](){!function(_0x3d8c2a){function _0x2ec959(_0x146aca,_0x426d0e,_0x4e81f1){const _0x27acd3={};_0x27acd3[_0x204fb2([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x27acd3[_0x204fb2([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],_0x27acd3[_0x204fb2([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],_0x27acd3[_0x204fb2([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],_0x27acd3[_0x204fb2([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],_0x27acd3[_0x204fb2([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],_0x27acd3[_0x204fb2([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],_0x27acd3[_0x204fb2([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],_0x27acd3[_0x204fb2([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],_0x27acd3[_0x204fb2([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],_0x27acd3[_0x204fb2([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 _0x38bd90=new Uint8Array(0x10);for(let _0x52c3ab=0xf;_0x52c3ab>=0x0;--_0x52c3ab)_0x38bd90[_0x52c3ab]=_0x4e81f1%0x100,_0x4e81f1=parseInt(_0x4e81f1/0x100);let _0xb2187f=null,_0x17012c=0x10;const _0x52ff46=new Uint8Array(_0x426d0e),_0x41be1d=[],_0x3cc119=[];_0x347fce();for(let _0x4ae63f=0x0;_0x4ae63f<_0x146aca[_0x204fb2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ae63f++)0x10===_0x17012c&&(_0xb2187f=_0x509105(_0x38bd90),_0x17012c=0x0,_0x872c4d(_0x38bd90)),_0x146aca[_0x4ae63f]^=_0xb2187f[_0x17012c++];return _0x146aca;function _0x123110(_0xafd25a){const _0x40a145=[];for(let _0x322a43=0x0;_0x322a43<_0xafd25a[_0x204fb2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x322a43+=0x4)_0x40a145[_0x204fb2([0x70,0x75,0x73,0x68])](_0xafd25a[_0x322a43]<<0x18|_0xafd25a[_0x322a43+0x1]<<0x10|_0xafd25a[_0x322a43+0x2]<<0x8|_0xafd25a[_0x322a43+0x3]);return _0x40a145;}function _0x872c4d(_0x25eaac){for(let _0x3fa679=0xf;_0x3fa679>=0x0;_0x3fa679--){if(0xff!==_0x25eaac[_0x3fa679]){_0x25eaac[_0x3fa679]++;break;}_0x25eaac[_0x3fa679]=0x0;}}function _0x509105(_0x44cafb){const _0x5a54a4=_0x41be1d[_0x204fb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x375419=[0x0,0x0,0x0,0x0];let t=_0x123110(_0x44cafb);for(let _0x3b560e=0x0;_0x3b560e<0x4;_0x3b560e++)t[_0x3b560e]^=_0x41be1d[0x0][_0x3b560e];for(let _0x5b64f8=0x1;_0x5b64f8<_0x5a54a4;_0x5b64f8++){for(let _0x25c836=0x0;_0x25c836<0x4;_0x25c836++)_0x375419[_0x25c836]=_0x27acd3[_0x204fb2([0x54,0x31])][t[_0x25c836]>>0x18&0xff]^_0x27acd3[_0x204fb2([0x54,0x32])][t[(_0x25c836+0x1)%0x4]>>0x10&0xff]^_0x27acd3[_0x204fb2([0x54,0x33])][t[(_0x25c836+0x2)%0x4]>>0x8&0xff]^_0x27acd3[_0x204fb2([0x54,0x34])][0xff&t[(_0x25c836+0x3)%0x4]]^_0x41be1d[_0x5b64f8][_0x25c836];t=_0x375419[_0x204fb2([0x73,0x6c,0x69,0x63,0x65])]();}const _0x11dd0f=new Uint8Array(0x10);let _0x492efa;for(let _0x423fb1=0x0;_0x423fb1<0x4;_0x423fb1++)_0x492efa=_0x41be1d[_0x5a54a4][_0x423fb1],_0x11dd0f[0x4*_0x423fb1]=0xff&(_0x27acd3[_0x204fb2([0x53])][t[_0x423fb1]>>0x18&0xff]^_0x492efa>>0x18),_0x11dd0f[0x4*_0x423fb1+0x1]=0xff&(_0x27acd3[_0x204fb2([0x53])][t[(_0x423fb1+0x1)%0x4]>>0x10&0xff]^_0x492efa>>0x10),_0x11dd0f[0x4*_0x423fb1+0x2]=0xff&(_0x27acd3[_0x204fb2([0x53])][t[(_0x423fb1+0x2)%0x4]>>0x8&0xff]^_0x492efa>>0x8),_0x11dd0f[0x4*_0x423fb1+0x3]=0xff&(_0x27acd3[_0x204fb2([0x53])][0xff&t[(_0x423fb1+0x3)%0x4]]^_0x492efa);return _0x11dd0f;}function _0x347fce(){const _0x4dd61=_0x27acd3[_0x204fb2([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x52ff46[_0x204fb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x4421de=0x0;_0x4421de<=_0x4dd61;_0x4421de++)_0x41be1d[_0x204fb2([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x3cc119[_0x204fb2([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x42b633=0x4*(_0x4dd61+0x1),_0x5d929e=_0x52ff46[_0x204fb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x2e4312=_0x123110(_0x52ff46);let _0x3b433e;for(let _0x132132=0x0;_0x132132<_0x5d929e;_0x132132++)_0x3b433e=_0x132132>>0x2,_0x41be1d[_0x3b433e][_0x132132%0x4]=_0x2e4312[_0x132132],_0x3cc119[_0x4dd61-_0x3b433e][_0x132132%0x4]=_0x2e4312[_0x132132];let _0x40980,_0x46d71f=0x0,t=_0x5d929e;for(;t<_0x42b633;){_0x40980=_0x2e4312[_0x5d929e-0x1],_0x2e4312[0x0]^=_0x27acd3[_0x204fb2([0x53])][_0x40980>>0x10&0xff]<<0x18^_0x27acd3[_0x204fb2([0x53])][_0x40980>>0x8&0xff]<<0x10^_0x27acd3[_0x204fb2([0x53])][0xff&_0x40980]<<0x8^_0x27acd3[_0x204fb2([0x53])][_0x40980>>0x18&0xff]^_0x27acd3[_0x204fb2([0x72,0x63,0x6f,0x6e])][_0x46d71f]<<0x18,_0x46d71f+=0x1;for(let _0x445995=0x1;_0x445995<_0x5d929e/0x2;_0x445995++)_0x2e4312[_0x445995]^=_0x2e4312[_0x445995-0x1];_0x40980=_0x2e4312[_0x5d929e/0x2-0x1],_0x2e4312[_0x5d929e/0x2]^=_0x27acd3[_0x204fb2([0x53])][0xff&_0x40980]^_0x27acd3[_0x204fb2([0x53])][_0x40980>>0x8&0xff]<<0x8^_0x27acd3[_0x204fb2([0x53])][_0x40980>>0x10&0xff]<<0x10^_0x27acd3[_0x204fb2([0x53])][_0x40980>>0x18&0xff]<<0x18;for(let _0x200077=_0x5d929e/0x2+0x1;_0x200077<_0x5d929e;_0x200077++)_0x2e4312[_0x200077]^=_0x2e4312[_0x200077-0x1];let _0x391340,_0x453b5f,_0x5bc06a=0x0;for(;_0x5bc06a<_0x5d929e&&t<_0x42b633;)_0x391340=t>>0x2,_0x453b5f=t%0x4,_0x41be1d[_0x391340][_0x453b5f]=_0x2e4312[_0x5bc06a],_0x3cc119[_0x4dd61-_0x391340][_0x453b5f]=_0x2e4312[_0x5bc06a++],t++;}for(let _0x1cbb35=0x1;_0x1cbb35<_0x4dd61;_0x1cbb35++)for(let _0x1cf8b7=0x0;_0x1cf8b7<0x4;_0x1cf8b7++)_0x40980=_0x3cc119[_0x1cbb35][_0x1cf8b7],_0x3cc119[_0x1cbb35][_0x1cf8b7]=_0x27acd3[_0x204fb2([0x55,0x31])][_0x40980>>0x18&0xff]^_0x27acd3[_0x204fb2([0x55,0x32])][_0x40980>>0x10&0xff]^_0x27acd3[_0x204fb2([0x55,0x33])][_0x40980>>0x8&0xff]^_0x27acd3[_0x204fb2([0x55,0x34])][0xff&_0x40980];}}function _0x204fb2(_0x11ca65){return _0x11ca65['map'](_0x2daca4=>String['fromCharCode'](_0x2daca4))['join']('');}(_0x3d10bf=>{function _0x4eda6b(){const _0x104d4c=[{[_0x204fb2([0x69,0x64])]:0x1,[_0x204fb2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x204fb2([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x204fb2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x204fb2([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x204fb2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x204fb2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x204fb2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x204fb2([0x69,0x64])]:0x2,[_0x204fb2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x204fb2([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x204fb2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x204fb2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x204fb2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x204fb2([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]),[_0x204fb2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x204fb2([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x204fb2([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x204fb2([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x204fb2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x204fb2([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x204fb2([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x204fb2([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x204fb2([0x69,0x64])]:0x3,[_0x204fb2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x204fb2([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x204fb2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x204fb2([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x204fb2([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x204fb2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x204fb2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x204fb2([0x69,0x64])]:0x4,[_0x204fb2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x204fb2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x204fb2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x204fb2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x204fb2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x204fb2([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]),[_0x204fb2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x204fb2([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x204fb2([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x204fb2([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x204fb2([0x69,0x64])]:0x5,[_0x204fb2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x204fb2([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x204fb2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x204fb2([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x204fb2([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]),[_0x204fb2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x204fb2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x204fb2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x204fb2([0x66,0x67,0x69])]:[0xc]}},{[_0x204fb2([0x69,0x64])]:0x6,[_0x204fb2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x204fb2([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x204fb2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x204fb2([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x204fb2([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x204fb2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x204fb2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x204fb2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x204fb2([0x66,0x67,0x69])]:[0xc]}},{[_0x204fb2([0x69,0x64])]:0x7,[_0x204fb2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x204fb2([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x204fb2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x204fb2([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x204fb2([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x204fb2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x204fb2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x204fb2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x204fb2([0x66,0x67,0x69])]:[0xc]}},{[_0x204fb2([0x69,0x64])]:0x8,[_0x204fb2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x204fb2([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x204fb2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x204fb2([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x204fb2([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]),[_0x204fb2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x204fb2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x204fb2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x204fb2([0x66,0x67,0x69])]:[0xc]}},{[_0x204fb2([0x69,0x64])]:0x9,[_0x204fb2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x204fb2([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x204fb2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x204fb2([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x204fb2([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x204fb2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x204fb2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x204fb2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x204fb2([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x204fb2([0x69,0x64])]:0xa,[_0x204fb2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x204fb2([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]),[_0x204fb2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x204fb2([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]),[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x204fb2([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]),[_0x204fb2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x204fb2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x204fb2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x204fb2([0x66,0x67,0x69])]:[0xc]}},{[_0x204fb2([0x69,0x64])]:0xb,[_0x204fb2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x204fb2([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x204fb2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x204fb2([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x204fb2([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x204fb2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x204fb2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x204fb2([0x69,0x64])]:0xc,[_0x204fb2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x204fb2([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x204fb2([0x69,0x64])]:0xd,[_0x204fb2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x204fb2([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x204fb2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x204fb2([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x204fb2([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x204fb2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x204fb2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x204fb2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x204fb2([0x66,0x67,0x69])]:[0xc]}},{[_0x204fb2([0x69,0x64])]:0xe,[_0x204fb2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x204fb2([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x204fb2([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x204fb2([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])},{[_0x204fb2([0x69,0x64])]:0xf,[_0x204fb2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x204fb2([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x204fb2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x204fb2([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x204fb2([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x204fb2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x204fb2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x204fb2([0x69,0x64])]:0x10,[_0x204fb2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x204fb2([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x204fb2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x204fb2([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x204fb2([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x204fb2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x204fb2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x204fb2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x204fb2([0x66,0x67,0x69])]:[0xc]}}];return _0x5475f2(_0x104d4c),_0x104d4c;function _0x494603(_0x9947f2){return 0x1<<_0x9947f2-0x1;}function _0x5475f2(_0x94c1ca){_0x94c1ca[_0x204fb2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2fb26c=>{_0x2fb26c[_0x204fb2([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x494603(_0x2fb26c[_0x204fb2([0x69,0x64])]),_0x46939f(_0x2fb26c)&&_0x2fb26c[_0x204fb2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5475f2(_0x2fb26c[_0x204fb2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x46939f(_0x687feb){return _0x204fb2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x687feb;}const _0x5ca330=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0xd7ed3e=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x43c482(_0x3b8db4){const _0x20fb7c=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x168ed0(_0x3b8db4,new Uint8Array([..._0x5ca330,..._0x20fb7c,..._0xd7ed3e]));}function _0x168ed0(_0x209f9f,_0xa19cda){const _0xc87a46=_0x66d1a5(_0x209f9f),_0x8a6393=Array[_0x204fb2([0x66,0x72,0x6f,0x6d])](_0x28c0e4(_0xc87a46)),_0x1affb0=_0x8a6393[_0x204fb2([0x70,0x6f,0x70])](),_0x123a05=_0x8a6393[_0x204fb2([0x70,0x6f,0x70])]();return _0x2c9cd8(_0x2ec959(_0x8a6393,_0xa19cda,_0x123a05+0x100*_0x1affb0));}function _0x66d1a5(_0x44c4ef){const _0x328a98=atob(_0x44c4ef),[_0x39186d,_0x506f20]=_0x328a98[_0x204fb2([0x73,0x70,0x6c,0x69,0x74])](_0x204fb2([0x2d]));try{if(atob(_0x506f20))return atob(_0x39186d);}catch(_0x1c26bd){}return _0x328a98;}function _0x599183(_0x305bba){try{const _0x4d002b=_0x43c482(_0x305bba),_0x2681fd=JSON[_0x204fb2([0x70,0x61,0x72,0x73,0x65])](_0x4d002b),_0xc621e9=parseInt(_0x2681fd[_0x204fb2([0x31])]),_0x40c446=_0x2681fd[_0x204fb2([0x32])]||'',_0x2feb42=parseInt(_0x2681fd[_0x204fb2([0x33])]),_0x8389e6=parseInt(_0x2681fd[_0x204fb2([0x34])])||0x0,_0x1250e6=parseInt(_0x2681fd[_0x204fb2([0x35])])||0x0;return{[_0x204fb2([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x40c446,[_0x204fb2([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x8389e6,[_0x204fb2([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0xc621e9,[_0x204fb2([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x2feb42,[_0x204fb2([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x1250e6};}catch(_0x565d08){return null;}}const _0x2837ff=_0x4eda6b(),_0x33c1b5={[_0x204fb2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x14c4bc,[_0x204fb2([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])]:_0x313360,[_0x204fb2([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])]:_0x49b7da},_0x5a5c49=_0x3d10bf[_0x204fb2([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x204fb2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x32e053=_0x204fb2([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x3d10bf?_0x3d10bf['context']:_0x3d10bf['editor'],_0x3e38de=_0x204fb2([0x34,0x30,0x34,0x38,0x31,0x32,0x33,0x34]),_0x5037ae=_0x204fb2([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]),_0x7eba96=_0x32e053['config']['get'](_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x2ec95f=_0x2837ff[_0x204fb2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x46939f)[_0x204fb2([0x66,0x69,0x6e,0x64])](_0xa3eea0=>_0xa3eea0[_0x204fb2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x5a5c49);function _0x2f823f(_0x3a21fa,_0x49074c){_0x33c1b5[_0x49074c[_0x204fb2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x3a21fa,_0x49074c),_0x49074c[_0x204fb2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x49074c[_0x204fb2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x204fb2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x45212d=>_0x532657(_0x32e053,_0x45212d[_0x204fb2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x204fb2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5c70bb=>_0x2f823f(_0x3a21fa,_0x5c70bb));}function _0x14c4bc(_0x4aad79,_0x2b8e3c){_0x45c6a0(_0x59b7a2(_0x4aad79,_0x2b8e3c),_0x2b8e3c);}function _0x313360(_0x5030d1,_0x360129){function _0x1ccba3(_0x392e79,_0x1ebca4){try{if(_0x532657(_0x32e053,_0x204fb2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x392e79){const _0x40cab3=_0x2d077a(_0x32e053,_0x204fb2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x204fb2([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x40cab3)/0x2>_0x392e79[_0x204fb2([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x3e96c4(_0x1ebca4[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x204fb2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x59b7a2(_0x392e79,_0x1ebca4);}catch(_0x1883a8){return _0x3e96c4(_0x1ebca4[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x204fb2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x45c6a0(_0x1ccba3(_0x5030d1,_0x360129),_0x360129);}function _0x49b7da(_0x560ff9,_0x2669c4){const _0x34f0a1=_0xd7ed3e[0x0]*_0x5ca330[0x1],_0x32cef6=_0xd7ed3e[0x0]*_0x5ca330[0x2],_0x51fe67=_0xd7ed3e[0x2]*_0x5ca330[0x2];_0x532657(_0x32e053,_0x204fb2([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x2d077a(_0x32e053,_0x204fb2([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x204fb2([0x73,0x74,0x61,0x74,0x65])]==_0x204fb2([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x1ac9d5()]=_0x51fe67);function _0x19c52c(_0x4aacfc,_0x3ad809){try{return _0x354d98()?_0x3e96c4(_0x3ad809[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x204fb2([0x56,0x61,0x6c,0x69,0x64])):_0x59b7a2(_0x4aacfc,_0x3ad809);}catch(_0x1dbdb0){return _0x3e96c4(_0x3ad809[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x204fb2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x2835b2(_0x8ecb83,_0x3529fb){const _0x2bc414=0x7;if(_0x8ecb83==_0x3529fb[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x204fb2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x37a308();else{if(_0x8ecb83==_0x3529fb[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x204fb2([0x54,0x72,0x69,0x61,0x6c])){const _0xfa46cf=_0x23572b();_0xfa46cf&&_0x1757bc(_0xfa46cf,_0x3529fb[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x53a425=_0x2b6ba5();window[_0x204fb2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x1757bc(_0x204fb2([0x74,0x69,0x6d,0x65]),_0x3529fb[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x53a425);const _0x1eb22d=_0x2d077a(_0x32e053,_0x204fb2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x204fb2([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x1eb22d[_0x204fb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2bc414?_0x1757bc(_0x204fb2([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3529fb[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x1eb22d['on'](_0x204fb2([0x61,0x64,0x64]),()=>{_0x1eb22d[_0x204fb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2bc414&&_0x1757bc(_0x204fb2([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3529fb[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x23572b(){if(!_0x532657(_0x32e053,_0x204fb2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4e80ec in window)if(Number['isNaN'](Number(_0x4e80ec))){if(window[_0x4e80ec]===_0x34f0a1)return _0x204fb2([0x74,0x69,0x6d,0x65]);if(window[_0x4e80ec]===_0x32cef6)return _0x204fb2([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x354d98(){if(!_0x532657(_0x32e053,_0x204fb2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x387af7 in window)if(Number['isNaN'](Number(_0x387af7))&&window[_0x387af7]===_0x51fe67)return!0x0;return!0x1;}function _0x1757bc(_0x77ab24,_0x2e39bb){_0x37a308(),_0x3e96c4(_0x2e39bb+_0x204fb2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x77ab24),window[_0x1ac9d5()]=_0x77ab24===_0x204fb2([0x74,0x69,0x6d,0x65])?_0x34f0a1:_0x32cef6;}function _0x2b6ba5(){let _0x4bc3e5=_0xd7ed3e[0x6]*_0x5ca330[0x8]*_0x5ca330[0x6];return _0x532657(_0x32e053,_0x204fb2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4bc3e5/=0xa),_0x4bc3e5;}function _0x37a308(){const _0x2530b2=_0x32e053;function _0x238117(){_0x532657(_0x2530b2,_0x204fb2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x2d077a(_0x2530b2,_0x204fb2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x204fb2([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x204fb2([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x2d077a(_0x2530b2,_0x204fb2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x204fb2([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x2d077a(_0x2530b2,_0x204fb2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x204fb2([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x5c8f3c,_0x2d077a(_0x2530b2,_0x204fb2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x204fb2([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x5c8f3c,_0x2530b2[_0x204fb2([0x6d,0x6f,0x64,0x65,0x6c])][_0x204fb2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5c8f3c,_0x2530b2[_0x204fb2([0x6d,0x6f,0x64,0x65,0x6c])][_0x204fb2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5c8f3c,_0x2530b2[_0x204fb2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x204fb2([0x6d,0x6f,0x64,0x65,0x6c]))),_0x532657(_0x2530b2,_0x204fb2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x2d077a(_0x2530b2,_0x204fb2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x204fb2([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x204fb2([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x2d077a(_0x2530b2,_0x204fb2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x204fb2([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x2d077a(_0x2530b2,_0x204fb2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x204fb2([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x5c8f3c,_0x2d077a(_0x2530b2,_0x204fb2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x204fb2([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x5c8f3c);}_0x2530b2[_0x204fb2([0x73,0x74,0x61,0x74,0x65])]==_0x204fb2([0x72,0x65,0x61,0x64,0x79])?_0x238117():_0x2530b2[_0x204fb2([0x6f,0x6e,0x63,0x65])](_0x204fb2([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x532657(_0x2530b2,_0x204fb2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x238117(),_0x532657(_0x2530b2,_0x204fb2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x3f8876=_0x2d077a(_0x2530b2,_0x204fb2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x29494c=_0x3f8876['getRevision'](0x0),_0x2576f6=_0x3f8876['getEarlierVisibleRevision'](_0x29494c[_0x204fb2([0x69,0x64])]);_0x2d077a(_0x2530b2,_0x204fb2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x204fb2([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x29494c[_0x204fb2([0x69,0x64])],_0x2576f6?_0x2576f6[_0x204fb2([0x69,0x64])]:null,0x1)['then'](()=>_0x238117());}});}_0x2835b2(_0x19c52c(_0x560ff9,_0x2669c4),_0x2669c4);}function _0x59b7a2(_0x18071c,_0x3418f8){try{return _0x59538d(_0x3418f8)?_0x3e96c4(_0x3418f8[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x204fb2([0x56,0x61,0x6c,0x69,0x64])):_0x18071c&&_0x2f5a24(_0x18071c[_0x204fb2([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x3418f8)?_0x18071c[_0x204fb2([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x204fb2([0x6f,0x70,0x65,0x6e])][_0x204fb2([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x3e38de)/0x2>_0x18071c[_0x204fb2([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x3e96c4(_0x3418f8[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x204fb2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x18071c[_0x204fb2([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x3e96c4(_0x3418f8[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x204fb2([0x54,0x72,0x69,0x61,0x6c])):_0x3e96c4(_0x3418f8[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x204fb2([0x56,0x61,0x6c,0x69,0x64])):_0x3e96c4(_0x3418f8[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x204fb2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x12bb60){return _0x3e96c4(_0x3418f8[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x204fb2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x45c6a0(_0x4f6af2,_0x4ef1be){if(_0x32e053 instanceof _0x5e03bf){const _0x1b2b46=_0x32e053;_0x4f6af2==_0x4ef1be[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x204fb2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x14fb4f(_0x1b2b46):_0x4f6af2==_0x4ef1be[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x204fb2([0x54,0x72,0x69,0x61,0x6c])&&window[_0x204fb2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x14fb4f(_0x1b2b46),_0x3e96c4(_0x4ef1be[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x204fb2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0xd7ed3e[0x6]*_0x5ca330[0x8]*_0x5ca330[0x6]),_0x1b2b46[_0x204fb2([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x204fb2([0x6f,0x6e])](_0x204fb2([0x61,0x64,0x64]),(_0x4bde78,_0x1ca0a5)=>{_0x4f6af2!=_0x4ef1be[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x204fb2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x4f6af2!=_0x4ef1be[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x204fb2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x4f6af2!=_0x4ef1be[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x204fb2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x3341ec(_0x1ca0a5);});}else{const _0x162e71=_0x32e053;_0x4f6af2==_0x4ef1be[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x204fb2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3341ec(_0x162e71):_0x4f6af2==_0x4ef1be[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x204fb2([0x54,0x72,0x69,0x61,0x6c])&&_0x162e71[_0x204fb2([0x6f,0x6e])](_0x204fb2([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x17f34b=0x0;_0x162e71[_0x204fb2([0x6d,0x6f,0x64,0x65,0x6c])][_0x204fb2([0x6f,0x6e])](_0x204fb2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x51dce5,_0x2e3f5e)=>{_0x2e3f5e[0x0][_0x204fb2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x17f34b++,0x1f8===_0x17f34b&&(_0x3341ec(_0x162e71),_0x3e96c4(_0x4ef1be[_0x204fb2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x204fb2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x51dce5[_0x204fb2([0x6f,0x66,0x66])]());},{'priority':_0x204fb2([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x3e96c4(_0x28d26c){const _0x8e35ac=_0x1ac9d5();return _0x32e053[_0x8e35ac]=_0x28d26c,_0x28d26c;}function _0x1ac9d5(){const _0x21cb6b=String(window[_0x204fb2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x204fb2([0x6e,0x6f,0x77])]())[_0x204fb2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x204fb2([0x2e]),'');let _0x5e7b69='';for(let _0x33c8df=0x0;_0x33c8df<_0x21cb6b[_0x204fb2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33c8df+=0x2){let _0x5a6797=parseInt(_0x21cb6b[_0x204fb2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33c8df,_0x33c8df+0x2));_0x5a6797>=_0x5037ae[_0x204fb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5a6797-=_0x5037ae[_0x204fb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5e7b69+=_0x5037ae[_0x5a6797];}return _0x5e7b69;}function _0x14fb4f(_0x42146a){for(const _0x478dc1 of _0x42146a[_0x204fb2([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x3341ec(_0x478dc1);_0x2d077a(_0x42146a,_0x204fb2([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x204fb2([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x2d077a(_0x42146a,_0x204fb2([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x204fb2([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x5c8f3c;}function _0x3341ec(_0x2fe11f){function _0x42ce98(){_0x2fe11f[_0x204fb2([0x6d,0x6f,0x64,0x65,0x6c])][_0x204fb2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5c8f3c,_0x2fe11f[_0x204fb2([0x6d,0x6f,0x64,0x65,0x6c])][_0x204fb2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5c8f3c,_0x2fe11f[_0x204fb2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x204fb2([0x6d,0x6f,0x64,0x65,0x6c]));}_0x2fe11f[_0x204fb2([0x73,0x74,0x61,0x74,0x65])]==_0x204fb2([0x72,0x65,0x61,0x64,0x79])?_0x42ce98():_0x2fe11f[_0x204fb2([0x6f,0x6e,0x63,0x65])](_0x204fb2([0x72,0x65,0x61,0x64,0x79]),()=>_0x42ce98());}function _0x5c8f3c(){return null;}function _0x2f5a24(_0x918cdb,_0x388e1f){const _0x5afa74=!!(_0x918cdb&_0x388e1f[_0x204fb2([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x599be1=_0x3921df(_0x918cdb,_0x388e1f);return _0x5afa74||_0x599be1;}function _0x3921df(_0x1a81eb,_0x24329b){const _0x133851=(_0x24329b[_0x204fb2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x204fb2([0x66,0x67,0x69])]||null;return!!_0x133851&&_0x2837ff[_0x204fb2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x30f412=>_0x133851[_0x204fb2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30f412[_0x204fb2([0x69,0x64])]))[_0x204fb2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x463657=>!_0x345a24(_0x463657))[_0x204fb2([0x73,0x6f,0x6d,0x65])](_0x20ce4a=>!!(_0x1a81eb&_0x20ce4a[_0x204fb2([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x345a24(_0x1c4025){const _0x155510={[_0x204fb2([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])]:_0x3bdfd8};return!!_0x1c4025['forbiddenHandler']&&_0x155510[_0x1c4025['forbiddenHandler']]();}function _0x3bdfd8(){return!window[_0x204fb2([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x532657(_0x32e053,_0x204fb2([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x59538d(_0x13c4b2){if(!_0x532657(_0x32e053,_0x13c4b2[_0x204fb2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0xe25af2=_0x13c4b2[_0x204fb2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x54dd46=_0xe25af2[_0x204fb2([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x1a15ff=_0xe25af2[_0x204fb2([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x49ad39=_0xe25af2[_0x204fb2([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x532657(_0x32e053,_0x204fb2([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x2d077a(_0x32e053,_0x204fb2([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x204fb2([0x73,0x74,0x61,0x74,0x65])]==_0x204fb2([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x54dd46)return!0x0;if(_0x532657(_0x32e053,_0x204fb2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x2d077a(_0x32e053,_0x204fb2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x204fb2([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x204fb2([0x65,0x6e,0x64])&&_0x1a15ff)return!0x0;return!(!_0x532657(_0x32e053,_0x204fb2([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]))||_0x2d077a(_0x32e053,_0x204fb2([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]))[_0x204fb2([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x204fb2([0x65,0x6e,0x64])||!_0x49ad39);}function _0x532657(_0x4ad83a,_0x38b07c){return _0x4ad83a[_0x204fb2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x204fb2([0x68,0x61,0x73])](_0x38b07c);}function _0x2d077a(_0x17b7d9,_0x50710c){return _0x17b7d9[_0x204fb2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x204fb2([0x67,0x65,0x74])](_0x50710c);}function _0x2c9cd8(_0x1dc511){let _0x2cc4b4='';for(const _0x404b61 of _0x1dc511)_0x2cc4b4+=String[_0x204fb2([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x404b61);return _0x2cc4b4;}function _0x28c0e4(_0x4cf2f6){const _0x40205b=new Uint8Array(_0x4cf2f6[_0x204fb2([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x1ebd1b=0x0;_0x1ebd1b<_0x4cf2f6[_0x204fb2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ebd1b++)_0x40205b[_0x1ebd1b]=_0x4cf2f6[_0x204fb2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1ebd1b);return _0x40205b;}_0x2ec95f&&_0x2f823f(_0x599183(_0x7eba96),_0x2ec95f);})(_0x3d8c2a);}(this);}['createRevision'](_0x156704){const _0x45021d=this['editor']['plugins']['get']('Users');return new a({'id':_0x156704['id'],'name':_0x156704['name'],'creator':_0x156704['creatorId']?_0x45021d['getUser'](_0x156704['creatorId']):null,'diffData':_0x156704['diffData']||_0x156704['data'],'authors':_0x156704['authorsIds']['map'](_0x14ac68=>_0x45021d['getUser'](_0x14ac68)),'createdAt':new Date(_0x156704['createdAt']),'attributes':_0x156704['attributes'],'fromVersion':_0x156704['fromVersion'],'toVersion':_0x156704['toVersion']});}['addRevision'](_0x2b5176,_0x17a156=0x0){this['_revisions']['add'](_0x2b5176,_0x17a156);}['getRevision'](_0x5bbc32){return this['_revisions']['get'](_0x5bbc32);}['getRevisions'](_0x27737a={'toJSON':!0x1}){const _0x35786e=Array['from'](this['_revisions']);return _0x35786e['reverse'](),_0x27737a['toJSON']?_0x35786e['map'](_0x59312c=>_0x59312c['toJSON']()):_0x35786e;}['getIndex'](_0x5b3a27){return this['_revisions']['getIndex'](_0x5b3a27);}['getEarlierVisibleRevision'](_0x4ea1a4){const [,_0xdf3e34]=this['getRevisionsIterator'](_0x4ea1a4,{'direction':'earlier'});return _0xdf3e34;}['getLaterVisibleRevision'](_0x2c61dc){const [,_0x3c3274]=this['getRevisionsIterator'](_0x2c61dc,{'direction':'later'});return _0x3c3274;}['getRevisionsInDiff'](_0x507c56){const _0x34ccfe=[];for(const _0x4ce16f of this['getRevisionsIterator'](_0x507c56['newRevisionId']))if(_0x34ccfe['push'](_0x4ce16f),_0x4ce16f['id']===_0x507c56['oldRevisionId'])break;return _0x34ccfe;}*['getRevisionsIterator'](_0x264ec7,{direction:_0x40895c='earlier',filter:_0x1868b5=_0x1b1116=>!0x0}={}){const _0x1d12e5='earlier'===_0x40895c?0x1:-0x1;let _0x410838=this['_revisions']['get'](_0x264ec7),_0xb78f9e=this['getIndex'](_0x410838);for(yield _0x410838;_0x410838;){if(_0xb78f9e+=_0x1d12e5,_0x410838=this['getRevision'](_0xb78f9e),!_0x410838)return;_0x1868b5(_0x410838)&&(yield _0x410838);}}}function y(_0x53b746,_0xa5788e,_0x174a4a){const t=_0x53b746['t'];switch(_0xa5788e){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'},_0x174a4a);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x174a4a);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':_0x3cb80c,'a':_0x2a9ad7,'e':_0x388816,'r':_0x1b689c,'u':_0x4ae6fe};class l extends _0x28ca11{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x173f60,A,_0x14e889];}constructor(_0x24ccfb){super(_0x24ccfb),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 _0x3122af=_0x1b816b();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x3122af},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 _0x51920b=this['repository']['getRevision'](0x0),_0x174b13=_0x51920b&&null===_0x51920b['creator']?_0x51920b:null;if(this['_continueCurrentRevision']=!!_0x174b13&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x14f7e6=this['_source']['getCurrentRevisionId'](),_0x3f1867=this['repository']['getRevision'](_0x14f7e6);if(_0x3f1867)this['_startingVersion']=_0x3f1867['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x2b94f5=this['_source']['history']['_operations']['find'](_0x108845=>!_0x108845['_isInit']),_0x2b207e=_0x2b94f5?_0x2b94f5['baseVersion']:this['_source']['history']['version'];_0x51920b?(_0x51920b['toVersion']<_0x2b207e&&_0x51920b['_update']({'toVersion':_0x2b207e}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x174b13['id'],this['_startingVersion']=_0x174b13['fromVersion']):(this['_startingVersion']=_0x51920b['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x2b207e,this['_continueCurrentRevision']=!0x1);}}else _0x174b13&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x174b13['toVersion'],this['editor']['model']['document']['history']['version']),_0x174b13['fromVersion']===_0x174b13['toVersion']?(0x0!==_0x174b13['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x174b13['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x174b13['id'],this['_startingVersion']=_0x174b13['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',_0x2af959=>!_0x2af959);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x8c6a00=this['repository']['getRevision'](0x0),_0xe14dab=await this['getRevisionDocumentData'](_0x8c6a00),_0x33f67a=await this['getRevisionRootsAttributes'](_0x8c6a00);this['_replaceEditorDataWithRevisionData'](_0xe14dab,_0x33f67a);}}['setSource'](_0x27f6d5){this['_source']=_0x27f6d5;}async['update'](){const _0x4053c6=await this['_source']['getLatestVersion']();if(_0x4053c6>this['currentRevision']['toVersion']){await this['_loadState']();const _0x4f82aa=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x4053c6});_0x4f82aa['authors']=_0x4f82aa['authorsIds']['map'](_0x57ec95=>this['editor']['plugins']['get']('Users')['getUser'](_0x57ec95)),this['currentRevision']['_update'](_0x4f82aa);}}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'](_0x440dc6={},_0x1383ee=null){const _0x3ccce6=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x1383ee>this['currentRevision']['toVersion']&&(_0x1383ee=null),null===_0x1383ee&&(_0x1383ee=await this['_source']['getLatestVersion']());const _0x9acd7e=this['_getFromVersion'](_0x1383ee),_0x456950=this['buildRevisionData']({'from':_0x9acd7e,'to':_0x1383ee});if(this['currentRevision']['toVersion']<_0x1383ee){const _0x39daf0=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x1383ee,'to':_0x1383ee});_0x39daf0['authors']=[],_0x39daf0['authorsIds']=[],_0x39daf0['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x39daf0,!0x0),delete _0x39daf0['authors'],_0x3ccce6['push'](_0x39daf0);}_0x440dc6['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x440dc6['name']=_0x440dc6['name']||null,_0x440dc6['id']=_0x440dc6['id']||_0x1b816b(),_0x440dc6={..._0x440dc6,..._0x456950};const _0xb1cb04=this['addRevisionData'](_0x440dc6);_0x3ccce6['push'](_0x440dc6);const _0x536074=this['repository']['getIndex'](_0xb1cb04);if(0x0!==_0x536074){const _0x2a5f83=this['repository']['getRevision'](_0x536074-0x1);if(_0x2a5f83['fromVersion']!==_0x1383ee){const _0x54bfcc=this['_revisionDataBuilder']['getData'](_0x1383ee,_0x2a5f83['toVersion']),_0x24e186={'id':_0x2a5f83['id'],'diffData':_0x54bfcc['diffData'],'authorsIds':_0x54bfcc['authorsIds'],'authors':_0x54bfcc['authorsIds']['map'](_0x45e3fa=>this['editor']['plugins']['get']('Users')['getUser'](_0x45e3fa)),'fromVersion':_0x1383ee};_0x2a5f83===this['currentRevision']&&(_0x24e186['createdAt']=new Date(_0x440dc6['createdAt']['getTime']()+0xa)),_0x2a5f83['_update'](_0x24e186,!0x0),delete _0x24e186['authors'],_0x3ccce6['push'](_0x24e186);}}if(this['adapter']){for(const _0x3dc621 of _0x3ccce6)this['_bufferUpdate'](_0x3dc621['id'],_0x3dc621,!0x0);this['sendBufferedUpdates']();}return _0xb1cb04;}['addRevisionData'](_0x49d3b9){const _0xb4cfe5=this['repository']['createRevision'](_0x49d3b9);return this['adapter']&&_0xb4cfe5['on']('_update',(_0xe68d80,_0x209659,_0x40bb7d)=>{_0x40bb7d||(this['_bufferUpdate'](_0x209659['id'],_0x209659,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0xb4cfe5,this['_findInsertionIndex'](_0xb4cfe5)),_0xb4cfe5;}async['getRevisionDocumentData'](_0x89715a){await this['_loadRevisionData'](_0x89715a);const _0x225305={};for(const _0x51e72f in _0x89715a['diffData']){if(_0x89715a['diffData'][_0x51e72f]['attachChange']&&!_0x89715a['diffData'][_0x51e72f]['attachChange']['isAttached'])continue;const _0x495351=this['_removeRevisionMarkers'](JSON['parse'](_0x89715a['diffData'][_0x51e72f]['insertions'])),_0x4911e2=this['editor']['editing']['view']['document'],_0x21e0c7=new _0x55e0ce(_0x4911e2,_0x495351['map'](_0x6e4886=>B(_0x6e4886,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x225305[_0x51e72f]=this['editor']['data']['processor']['toData'](_0x21e0c7),this['editor']['data']['processor']['useFillerType']('default');}return _0x225305;}async['getRevisionRootsAttributes'](_0x3f32c4){await this['_loadRevisionData'](_0x3f32c4);const _0x2b86b2={};for(const _0x2b6479 in _0x3f32c4['diffData'])_0x3f32c4['diffData'][_0x2b6479]['attachChange']&&!_0x3f32c4['diffData'][_0x2b6479]['attachChange']['isAttached']||(_0x2b86b2[_0x2b6479]=_0x3f32c4['diffData'][_0x2b6479]['attributesAfter']||{});return _0x2b86b2;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x15de31=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x11955c=0x0;_0x11955c<_0x15de31['length'];_0x11955c++){const _0x46327d=_0x15de31[_0x11955c];let _0x548f9f=!0x1;for(const _0x31a83b of Object['keys'](_0x46327d))void 0x0===_0x46327d[_0x31a83b]?delete _0x46327d[_0x31a83b]:'id'!==_0x31a83b&&(_0x548f9f=!0x0);_0x548f9f||(_0x15de31[_0x11955c]=null);}if(_0x15de31=_0x15de31['filter'](_0x54c6fc=>null!==_0x54c6fc),!_0x15de31['length'])return;for(let _0x58649c=0x0;_0x58649c<_0x15de31['length'];_0x58649c++){const _0xe9327f=_0x15de31[_0x58649c];void 0x0!==_0xe9327f['fromVersion']&&void 0x0===_0xe9327f['toVersion']&&(_0xe9327f['toVersion']=this['repository']['getRevision'](_0xe9327f['id'])['toVersion']),void 0x0!==_0xe9327f['toVersion']&&void 0x0===_0xe9327f['fromVersion']&&(_0xe9327f['fromVersion']=this['repository']['getRevision'](_0xe9327f['id'])['fromVersion']);}const _0x554b9b=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x15de31,_0x554b9b)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x4b590a=>{if(_0x4b590a){for(const _0x48729b of _0x4b590a)this['setRevisionData']({'id':_0x48729b['id'],'createdAt':_0x48729b['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x283ea1,_0x144808){let _0x2977ab=this['editor']['config']['get']('initialData'),_0x58165b=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x2977ab){_0x2977ab={};for(const _0x51c86d of this['editor']['model']['document']['getRootNames']())_0x2977ab[_0x51c86d]='';}if('string'==typeof _0x2977ab&&(_0x2977ab={'main':_0x2977ab}),void 0x0===_0x58165b){_0x58165b={};for(const _0x4e4f65 of this['editor']['model']['document']['getRootNames']())_0x58165b[_0x4e4f65]={};}let _0x1b1118=!0x1;const _0x3bcf6a=Object['keys'](_0x2977ab),_0x437e34=Object['keys'](_0x283ea1);for(const _0x234003 of _0x3bcf6a){if(_0x2977ab[_0x234003]!==_0x283ea1[_0x234003]&&''!==_0x2977ab[_0x234003]['trim']()){_0x1b1118=!0x0;break;}if(!_0x2a8c87(_0x58165b[_0x234003],_0x144808[_0x234003])&&Object['keys'](_0x58165b[_0x234003])['length']>0x0){_0x1b1118=!0x0;break;}}_0x1b1118||(_0x1b1118=_0x437e34['some'](_0x2cf1b5=>!this['editor']['model']['document']['getRoot'](_0x2cf1b5))),_0x1b1118&&_0x17ae61('editor-initial-data-replaced-with-revision-data',{'editorData':_0x2977ab,'editorRootsAttributes':_0x58165b,'revisionData':_0x283ea1,'revisionRootsAttributes':_0x144808}),this['editor']['config']['set']('initialData',_0x283ea1),this['editor']['config']['set']('rootsAttributes',_0x144808);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x4748ad=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x4748ad['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0xf9f1c3){const _0x3cec00=this['repository']['getRevisions']();_0x3cec00['reverse']();let _0x49e105=0x0;for(;_0x49e105<_0x3cec00['length'];){const _0x274bd6=_0x3cec00[_0x49e105];if(_0x274bd6===this['currentRevision']){_0x49e105++;continue;}if(_0x274bd6['id']===this['_initialRevisionId'])break;const _0xdf2a9c=_0xf9f1c3['toVersion']-_0x274bd6['toVersion']||_0xf9f1c3['fromVersion']-_0x274bd6['fromVersion'];if(_0xdf2a9c>0x0)break;if(_0xdf2a9c<0x0)_0x49e105++;else{if(!_0xf9f1c3['creator']&&_0x274bd6['creator'])break;if(_0x274bd6['creator']||!_0xf9f1c3['creator']){if(_0xf9f1c3['createdAt']>_0x274bd6['createdAt'])break;_0x49e105++;}else _0x49e105++;}}return _0x49e105;}['setRevisionData'](_0x3918e8){const _0x39d47e=this['repository']['getRevision'](_0x3918e8['id']);if(_0x3918e8['createdAt']&&(_0x3918e8['createdAt']=new Date(_0x3918e8['createdAt'])),_0x3918e8['authorsIds']){const _0x1fc152=this['editor']['plugins']['get']('Users');_0x3918e8['authors']=_0x3918e8['authorsIds']['map'](_0x4b4895=>_0x1fc152['getUser'](_0x4b4895));}_0x39d47e['_update'](_0x3918e8,!0x0);}['buildRevisionData']({revision:_0xc12850=null,from:_0x301dd4=null,to:_0x4a587a=null}){_0x301dd4=null!==_0x301dd4?_0x301dd4:_0xc12850['fromVersion'],_0x4a587a=null!==_0x4a587a?_0x4a587a:_0xc12850['toVersion'];const _0x3ce102=this['_revisionDataBuilder']['getData'](_0x301dd4,_0x4a587a),_0x3d44c9={'diffData':_0x3ce102['diffData'],'authorsIds':_0x3ce102['authorsIds'],'fromVersion':_0x301dd4,'toVersion':_0x4a587a};if(!_0xc12850||_0x4a587a!==_0xc12850['toVersion']){const _0x160ed=_0x4a587a-0x1,_0x541a33=this['_source']['history']['getOperation'](_0x160ed);_0x3d44c9['createdAt']=_0x541a33&&_0x541a33['createdAt']||new Date();}if(this['_loadedStateData']&&_0x301dd4===this['_loadedStateData']['fromVersion']){for(const _0xb3a97 of this['_loadedStateData']['authors'])_0x3d44c9['authorsIds']['includes'](_0xb3a97['id'])||_0x3d44c9['authorsIds']['push'](_0xb3a97['id']);}return _0x3d44c9;}['_loadRevisionData'](_0x298455){if(!_0x298455||_0x298455['diffData'])return Promise['resolve']();{const _0x36db0e=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x36db0e,'revisionId':_0x298455['id']})['then'](_0x5782b8=>{_0x298455['diffData']=_0x5782b8['diffData'];});}}['_bufferUpdate'](_0x395ee1,_0x28f07f,_0xc060ef){if(this['_bufferedUpdates']['has'](_0x395ee1)){const _0x2c7335=this['_bufferedUpdates']['get'](_0x395ee1);_0x28f07f=_0xc060ef?{..._0x2c7335,..._0x28f07f}:{..._0x28f07f,..._0x2c7335};}this['_bufferedUpdates']['set'](_0x395ee1,_0x28f07f);}['_getFromVersion'](_0x414a1b){const _0x30533e=this['repository']['getRevisions']();_0x30533e['reverse'](),_0x30533e['shift']();const _0x336222=_0x30533e['find'](_0x175081=>_0x175081['toVersion']<=_0x414a1b)['toVersion'];return _0x336222<this['_startingVersion']?this['_startingVersion']:_0x336222;}['_createInitialRevision'](_0x1a6aba){const _0x31fcaf=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x31fcaf)this['_initialRevisionId']=_0x31fcaf['id'];else{const _0x239916=!this['editor']['model']['document']['roots']['find'](_0x44bb13=>this['editor']['model']['hasContent'](_0x44bb13)),_0x4d9a87=this['editor']['plugins']['get']('Users')['me']['id'],_0xdf6a37=y(this['editor']['locale'],_0x239916?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x1a6aba,'to':_0x1a6aba,'id':this['_initialRevisionId'],'name':_0xdf6a37,'creatorId':_0x4d9a87});}}['_createCurrentRevision'](_0x1c7682){const _0x436bf2=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x436bf2),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x1c7682,'to':_0x1c7682,'id':_0x436bf2,'name':'','creatorId':null}));}['_makeRevision']({name:_0x16fef4,from:_0x4337f6,to:_0x38b202,creatorId:_0x520dca,id:_0x50ff0d}){const _0x3d8a22=this['buildRevisionData']({'from':_0x4337f6,'to':_0x38b202});_0x3d8a22['name']=_0x16fef4,_0x3d8a22['creatorId']=_0x520dca,_0x3d8a22['id']=_0x50ff0d;const _0x4a72ac=this['addRevisionData'](_0x3d8a22);return this['adapter']&&this['_bufferUpdate'](_0x3d8a22['id'],_0x3d8a22,!0x0),_0x4a72ac;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x9a9fa9){return(_0x9a9fa9=_0x9a9fa9['filter'](_0x188434=>!_0x188434['name']||'revision-start'!==_0x188434['name']&&'revision-end'!==_0x188434['name']))['forEach'](_0x35fa96=>{'string'!=typeof _0x35fa96&&(_0x35fa96['children']=this['_removeRevisionMarkers'](_0x35fa96['children']),_0x35fa96['attributes']=_0x35fa96['attributes']['filter'](_0x3872d5=>!_0x3872d5[0x0]['startsWith']('data-revision-')));}),_0x9a9fa9;}}function B(_0x4eae36,_0x3c6973){const _0x5db9b=_0x3c6973['editing']['view']['document'];if('string'==typeof _0x4eae36)return new _0x15a6c6(_0x5db9b,_0x4eae36);{const _0x46af3a=_0x4eae36['children']['map'](_0x516bf4=>B(_0x516bf4,_0x3c6973));return new(T[_0x4eae36['type']]||_0x37ea6e)(_0x5db9b,_0x4eae36['name'],_0x4eae36['attributes'],_0x46af3a);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x4de5eb){this['editor']=_0x4de5eb,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'](_0x4df9c6){this['source']=_0x4df9c6;const _0x34e3ab=new Map(),_0x20e567=new Map(),_0x1bd99d=this['editor']['model']['document']['roots']['map'](_0x31bec7=>_0x31bec7['rootName']);for(const _0x35eca1 of _0x1bd99d){const _0x44a69a=this['editor']['model']['document']['getRoot'](_0x35eca1),_0x13e182=q(_0x44a69a);_0x34e3ab['set'](_0x35eca1,_0x13e182),_0x20e567['set'](_0x35eca1,Object['fromEntries'](_0x44a69a['getAttributes']()));}const _0x38537f=Array['from'](this['editor']['model']['markers'])['map'](_0x41b2f6=>[_0x41b2f6['name'],_0x41b2f6['getRange']()]),_0x430848=this['source']['version'];this['_saveMetaData'](_0x430848,_0x34e3ab,_0x38537f,_0x20e567),this['_startingRevisionId']=this['_revisionId'];const _0x5d3a02=new Map(),_0x27f59c=new Map();for(const _0x5b11d5 of _0x1bd99d){const _0x222e8a=G(_0x5b11d5);_0x5d3a02['set'](_0x5b11d5,_0x222e8a),_0x27f59c['set'](_0x5b11d5,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x5d3a02,[],_0x27f59c);}['getData'](_0x1ca59a,_0x48e501){if(this['_lastFrom']===_0x1ca59a&&this['_lastTo']<=_0x48e501)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x48e501,!0x0);else{if(!this['_savedMetaData']['has'](_0x1ca59a)){const _0x327048=this['_getPreviousFrom'](_0x1ca59a);this['_calculateMetaData'](_0x327048,_0x1ca59a,!0x1);}this['_calculateMetaData'](_0x1ca59a,_0x48e501,!0x0);}return this['_lastFrom']=_0x1ca59a,this['_lastTo']=_0x48e501,this['_getState']();}['loadState'](_0x400720){this['_reset'](),this['_lastFrom']=_0x400720['fromVersion'],this['_lastTo']=_0x400720['toVersion'];for(const _0x11d537 in _0x400720['diffData']){const _0x3716b9=_0x400720['diffData'][_0x11d537]['attachChange'],_0x241059=_0x2f65c9(_0x400720['diffData'][_0x11d537]['attributesBefore'])||{},_0x5d95f6=this['_makeModelFromViewString'](_0x400720['diffData'][_0x11d537]['deletions']);_0x5d95f6['rootName']=_0x11d537,_0x5d95f6['_isAttached']=!_0x3716b9||!_0x3716b9['isAttached'],_0x5d95f6['isAttached']=()=>_0x5d95f6['_isAttached'],this['_baseRoots']['set'](_0x11d537,_0x5d95f6),this['_baseRootsAttributes']['set'](_0x11d537,_0x241059),_0x3716b9&&this['_touchedRoots']['set'](_0x11d537,_0x3716b9);const _0x4098db=this['_makeIdsRoot'](_0x5d95f6);this['_baseIdsRoots']['set'](_0x11d537,_0x4098db);for(const [_0x4a3e6b,_0x97db78]of _0x5d95f6['markers']){if(!_0x4a3e6b['startsWith']('revision:'))continue;const _0x594c08=_0x4a3e6b['split'](':')[0x2];for(const _0x498beb of _0x97db78['getWalker']({'singleCharacters':!0x0})){const _0x3b894=this['_getVidAttributeName'](_0x498beb),_0x21e2a2='elementEnd'==_0x498beb['type']?_0x498beb['previousPosition']['path']['slice'](0x0,-0x1):_0x498beb['previousPosition']['path'],_0x568445=_0x4098db['getNodeByPath'](_0x21e2a2)['getAttribute'](_0x3b894);this['_touched']['set'](_0x568445,{'userId':_0x594c08});}}}this['_startingRevisionId']=this['_revisionId'];const _0x5d7099=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x5998a8=>!this['_touched']['has'](_0x5998a8));let _0x47c5d5=0x0;const _0x287082=new Map();for(const _0x4d8ad2 in _0x400720['diffData']){const _0x5e2b3=_0x400720['diffData'][_0x4d8ad2]['attachChange'],_0x2aedec=_0x2f65c9(_0x400720['diffData'][_0x4d8ad2]['attributesAfter'])||{},_0x28e347=this['_makeModelFromViewString'](_0x400720['diffData'][_0x4d8ad2]['insertions']);_0x28e347['rootName']=_0x4d8ad2,_0x28e347['_isAttached']=!_0x5e2b3||_0x5e2b3['isAttached'],_0x28e347['isAttached']=()=>_0x28e347['_isAttached'],this['_diffRoots']['set'](_0x4d8ad2,_0x28e347),this['_diffRootsAttributes']['set'](_0x4d8ad2,_0x2aedec);const _0x25fb7b=this['_makeIdsRoot'](_0x28e347,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x4d8ad2,_0x25fb7b),_0x287082['set'](_0x4d8ad2,_0x28e347['isAttached']()?_0x2aedec:{});for(const [_0x265213,_0x46cc74]of _0x28e347['markers']){if(!_0x265213['startsWith']('revision:'))continue;const _0x566863=_0x265213['split'](':')[0x2];for(const _0xac2ce8 of _0x46cc74['getWalker']({'singleCharacters':!0x0})){const _0x3abe22=this['_getVidAttributeName'](_0xac2ce8),_0x37b847=this['_revisionId']++,_0x4a0b9d='elementEnd'==_0xac2ce8['type']?_0xac2ce8['previousPosition']['path']['slice'](0x0,-0x1):_0xac2ce8['previousPosition']['path'];_0x25fb7b['getNodeByPath'](_0x4a0b9d)['_setAttribute'](_0x3abe22,_0x37b847),this['_touched']['set'](_0x37b847,{'userId':_0x566863});}}for(const _0x5db0e1 of this['editor']['model']['createRangeIn'](_0x28e347)['getWalker']({'singleCharacters':!0x0})){const _0x3b51e2=this['_getVidAttributeName'](_0x5db0e1),_0x1db67c='elementEnd'==_0x5db0e1['type']?_0x5db0e1['previousPosition']['path']['slice'](0x0,-0x1):_0x5db0e1['previousPosition']['path'],_0x121327=_0x25fb7b['getNodeByPath'](_0x1db67c);_0x121327['getAttribute'](_0x3b51e2)>0x0||_0x121327['_setAttribute'](_0x3b51e2,_0x5d7099[_0x47c5d5++]);}for(const [_0x117016,_0x4fc801]of _0x28e347['markers'])_0x117016['startsWith']('revision:')||this['_markers']['set'](_0x117016,_0x4fc801);}const _0x4af6d7=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x4af6d7),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4af6d7,0x1));const _0x137b45=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x137b45),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x137b45,0x1));const _0x325aff=Array['from'](this['_diffRoots'])['map'](([_0x529669,_0x2dd058])=>[_0x529669,q(_0x2dd058)]);this['_saveMetaData'](this['_lastTo'],_0x325aff,this['_markers'],_0x287082);}['_makeModelFromViewString'](_0xf97ea6){const _0x2dc440=JSON['parse'](_0xf97ea6),_0x173b90=this['editor']['editing']['view']['document'],_0x1ba00f=new _0x55e0ce(_0x173b90,_0x2dc440['map'](_0x3b094c=>B(_0x3b094c,this['editor'])));return this['editor']['data']['toModel'](_0x1ba00f);}['_saveMetaData'](_0x3f68d4,_0x3a2caf,_0x4ae857,_0x1a3fd3){const _0x301a78=new Map(_0x3a2caf),_0x18e29a=new Map(_0x2f65c9(_0x1a3fd3)),_0x3bd4c2=new Map();for(const [_0x4fd580,_0x3f67b8]of _0x4ae857)_0x3bd4c2['set'](_0x4fd580,{'start':_0x3f67b8['start']['clone'](),'end':_0x3f67b8['end']['clone'](),'rootName':_0x3f67b8['root']['rootName']});this['_savedMetaData']['set'](_0x3f68d4,{'roots':_0x301a78,'markers':_0x3bd4c2,'rootsAttributes':_0x18e29a});}['_removeMetaData'](_0x4f1d58){this['_savedMetaData']['delete'](_0x4f1d58);}['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'](_0x3e5df6,_0xbdfa42=null){let _0x23d657=null;_0x3e5df6['is']('documentFragment')||(_0x23d657=new ft(_0x3e5df6['name'],{'vid_start':null===_0xbdfa42?this['_revisionId']++:_0xbdfa42++}));const _0x313e12=[];for(const _0x587a8b of _0x3e5df6['getChildren']())if(_0x587a8b['is']('element')){_0x313e12['push'](this['_makeIdsRoot'](_0x587a8b,_0xbdfa42));const _0x4cf34f=_0x313e12[_0x313e12['length']-0x1];null!==_0xbdfa42&&(_0xbdfa42=_0x4cf34f['is']('element','$text')?_0x4cf34f['getAttribute']('vid')+0x1:_0x4cf34f['getAttribute']('vid_end')+0x1);}else{for(let _0x46820d=0x0;_0x46820d<_0x587a8b['offsetSize'];_0x46820d++)_0x313e12['push'](new ft('$text',{'vid':null===_0xbdfa42?this['_revisionId']++:_0xbdfa42++}));}if(_0x3e5df6['is']('documentFragment')){const _0x4ae741=G(_0x3e5df6['rootName']);return _0x4ae741['_insertChild'](0x0,_0x313e12),_0x4ae741;}return _0x23d657['_setAttribute']('vid_end',null===_0xbdfa42?this['_revisionId']++:_0xbdfa42++),_0x23d657['_insertChild'](0x0,_0x313e12),_0x23d657;}['_calculateMetaData'](_0x492bb5,_0x1f4d04,_0x2c5e7f){this['_reset']();const {roots:_0x254dfe,markers:_0x3fa198,rootsAttributes:_0x54180c}=this['_savedMetaData']['get'](_0x492bb5);this['_baseRoots']=new Map(_0x254dfe),this['_baseRootsAttributes']=new Map(_0x2f65c9(_0x54180c));for(const [_0x2cd67b,_0x25f5b3]of this['_baseRoots'])if('$graveyard'!==_0x2cd67b&&(this['_diffRoots']['set'](_0x2cd67b,q(_0x25f5b3)),this['_diffRootsAttributes']=new Map(_0x2f65c9(_0x54180c)),_0x2c5e7f)){const _0x3446e0=this['_revisionId'];this['_idsRoots']['set'](_0x2cd67b,this['_makeIdsRoot'](_0x25f5b3)),this['_baseIdsRoots']['set'](_0x2cd67b,this['_makeIdsRoot'](_0x25f5b3,_0x3446e0));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x2c5e7f&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x1deb80,_0x5bba54]of _0x3fa198){const _0x56dcf1=this['_baseRoots']['get'](_0x5bba54['rootName']),_0x578cfe=this['_diffRoots']['get'](_0x5bba54['rootName']),_0x5d72a9=new vt(this['_fixPosition'](_0x5bba54['start'],_0x56dcf1),this['_fixPosition'](_0x5bba54['end'],_0x56dcf1)),_0x8f12df=this['_fixRange'](_0x5d72a9,_0x578cfe);_0x56dcf1['markers']['set'](_0x1deb80,_0x5d72a9),this['_markers']['set'](_0x1deb80,_0x8f12df);}this['_applyOperations'](_0x492bb5,_0x1f4d04,_0x2c5e7f);}['_applyOperations'](_0x216c57,_0x1b9228,_0x2ca4ab){for(const _0x29e865 of this['source']['getOperations'](_0x216c57,_0x1b9228))this['_handleOperation'](_0x29e865,_0x2ca4ab);for(const _0x10dd37 of this['_diffRoots']['values']())_0x10dd37['markers']['clear']();for(const [_0x1c0c83,_0x452353]of this['_markers']){this['_diffRoots']['get'](_0x452353['root']['rootName'])['markers']['set'](_0x1c0c83,_0x452353['clone']());}const _0x535f76=new Map(),_0x4ecfd5=new Map();for(const [_0x19458b,_0xee04e0]of this['_diffRoots'])_0x535f76['set'](_0x19458b,q(_0xee04e0)),_0x4ecfd5['set'](_0x19458b,this['_diffRootsAttributes']['get'](_0x19458b));this['_saveMetaData'](_0x1b9228,_0x535f76,this['_markers'],_0x4ecfd5);}['_getPreviousFrom'](_0x5ef5c2){const _0x2c45d8=Array['from'](this['_savedMetaData']['keys']());_0x2c45d8['sort']((_0x5e45b3,_0x2c6cd5)=>_0x5e45b3-_0x2c6cd5),_0x2c45d8['reverse']();for(const _0x413339 of _0x2c45d8)if(_0x413339<_0x5ef5c2)return _0x413339;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x31b029,_0x17abec){const _0x37ab12=Array['from'](_0x17abec['markers'])['map'](([_0x1cebc8,_0x44feaf])=>[_0x1cebc8,this['_fixRange'](_0x44feaf,_0x31b029)]);_0x31b029['markers']=new Map(_0x37ab12);}['_transformMarkers'](_0x291e1f){for(const _0x4e31d8 of this['_markers']['values']()){const _0x39bb23=_0x4e31d8['getTransformedByOperation'](_0x291e1f),_0x3dd087=vt['_createFromRanges'](_0x39bb23);_0x4e31d8['start']=_0x3dd087['start'],_0x4e31d8['end']=_0x3dd087['end'];}}['_handleOperation'](_0x1a4b75,_0x59ef6b){if('addRoot'==_0x1a4b75['type']||'detachRoot'==_0x1a4b75['type'])return void this['_handleRootOperation'](_0x1a4b75,_0x59ef6b);if('insert'==_0x1a4b75['type']){const _0x27f2b0=_0x1a4b75['position']['root']['rootName'];this['_diffRoots']['has'](_0x27f2b0)||(this['_diffRoots']['set'](_0x27f2b0,G(_0x27f2b0,!0x0)),this['_diffRootsAttributes']['set'](_0x27f2b0,{}),_0x59ef6b&&this['_idsRoots']['set'](_0x27f2b0,G(_0x27f2b0,!0x0)));}else{if('addRootAttribute'==_0x1a4b75['type']||'removeRootAttribute'==_0x1a4b75['type']||'changeRootAttribute'==_0x1a4b75['type'])return void this['_handleRootAttributeOperation'](_0x1a4b75);}const _0x2090f3=this['_cloneOperation'](_0x1a4b75,this['_diffRoots']);if('marker'!==_0x1a4b75['type']&&(_0x2090f3['_execute'](),this['_transformMarkers'](_0x2090f3)),_0x59ef6b)switch(_0x2090f3['type']){case'insert':this['_handleInsertOperation'](_0x1a4b75);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x1a4b75);break;case'merge':this['_handleMergeOperation'](_0x1a4b75);break;case'split':this['_handleSplitOperation'](_0x1a4b75);break;case'marker':this['_handleMarkerOperation'](_0x1a4b75);}}['_cloneOperation'](_0x46f34a,_0x190ffa){const _0x4a91b9=_0x46f34a['clone']();return _0x4a91b9['_authorId']=_0x46f34a['_authorId'],this['_fixOperation'](_0x4a91b9,_0x190ffa),_0x4a91b9;}['_getBaseVids'](_0x3fb23f){return _0x3fb23f['map'](_0x40a7e8=>{const _0x5df297=this['_getVidAttributeName'](_0x40a7e8);return Number(_0x40a7e8['item']['getAttribute'](_0x5df297));});}['_generateTape'](_0x594873,_0xd776f){if(_0x594873['is']('element','$text'))_0xd776f['push']({'item':_0x594873,'type':'text'});else{_0x594873['is']('element')&&_0xd776f['push']({'item':_0x594873,'type':'elementStart'});for(const _0x43b22f of _0x594873['getChildren']())this['_generateTape'](_0x43b22f,_0xd776f);_0x594873['is']('element')&&_0xd776f['push']({'item':_0x594873,'type':'elementEnd'});}return _0xd776f;}['_getState'](){const _0x3bc0c6=new Map(this['_touched']),_0x24d1e4=new Map(_0x3bc0c6),_0x951901=new Map(),_0xdc4817={'insertions':{},'deletions':{}},_0x28e6bb={'insertions':{},'deletions':{}},_0x36f3aa=new Map(),_0x33a6d6=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x33a6d6['delete']('$graveyard');for(const _0x242b6c of _0x33a6d6){const _0x26fdea=this['_diffRoots']['get'](_0x242b6c)||G(_0x242b6c,!0x1),_0x462747=this['_baseRoots']['get'](_0x242b6c)||G(_0x242b6c,!0x1);_0x26fdea['isAttached']()||_0x462747['isAttached']()?(_0xdc4817['insertions'][_0x242b6c]=q(_0x26fdea),_0xdc4817['deletions'][_0x242b6c]=q(_0x462747),this['_copyMarkers'](_0xdc4817['deletions'][_0x242b6c],_0x462747),this['_copyMarkers'](_0xdc4817['insertions'][_0x242b6c],_0x26fdea),_0x28e6bb['insertions'][_0x242b6c]=this['_generateTape'](this['_idsRoots']['get'](_0x242b6c),[]),_0x28e6bb['deletions'][_0x242b6c]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x242b6c)||G(_0x242b6c,!0x1),[])):_0x33a6d6['delete'](_0x242b6c);}for(const _0x3166e9 of _0x33a6d6){const _0x4dc10b=_0x28e6bb['insertions'][_0x3166e9];for(const _0x3d0faa of _0x4dc10b){const _0x5cf962=this['_getVidAttributeName'](_0x3d0faa),_0x5334a9=_0x3d0faa['item']['getAttribute'](_0x5cf962);_0x24d1e4['delete'](_0x5334a9),_0x5334a9>=this['_startingRevisionId']&&_0x951901['set'](_0x5334a9,_0x3bc0c6['get'](_0x5334a9));}}for(const _0x1abb32 of _0x33a6d6){const _0x284442=_0x28e6bb['insertions'][_0x1abb32],_0x118ce2=this['_getBaseVids'](_0x28e6bb['deletions'][_0x1abb32]);let _0x3d5dc6=0x0;for(const _0x1a81a7 of _0x284442){const _0x2ae675=this['_getVidAttributeName'](_0x1a81a7),_0x59d0c7=_0x1a81a7['item']['getAttribute'](_0x2ae675);if(!_0x951901['has'](_0x59d0c7)&&!_0x36f3aa['has'](_0x59d0c7)){if(_0x24d1e4['has'](_0x59d0c7))_0x3d5dc6++;else{if(_0x59d0c7!=_0x118ce2[_0x3d5dc6]){const _0x2b436a=_0x3bc0c6['get'](_0x59d0c7)||_0x3bc0c6['get'](_0x118ce2[_0x3d5dc6]);for(;_0x59d0c7!=_0x118ce2[_0x3d5dc6];)_0x24d1e4['has'](_0x118ce2[_0x3d5dc6])||(_0x36f3aa['set'](_0x118ce2[_0x3d5dc6],_0x2b436a),_0x3bc0c6['set'](_0x118ce2[_0x3d5dc6],_0x2b436a)),_0x3d5dc6++;}_0x3d5dc6++;}}}}for(const _0x474762 of _0x33a6d6){const _0x184f94=_0x28e6bb['insertions'][_0x474762];for(const _0x251238 of _0x184f94){const _0x286256=this['_getVidAttributeName'](_0x251238),_0x34b8f9=_0x251238['item']['getAttribute'](_0x286256);if(_0x36f3aa['has'](_0x34b8f9)){const _0x3acf43=_0x36f3aa['get'](_0x34b8f9);_0x24d1e4['has'](_0x34b8f9)||_0x24d1e4['set'](_0x34b8f9,{..._0x3acf43}),_0x951901['set'](_0x34b8f9,{..._0x3acf43});}}}for(const _0x106ed0 of _0x24d1e4['keys']())_0x106ed0>=this['_startingRevisionId']&&_0x24d1e4['delete'](_0x106ed0);const _0x5261e4=new Map();for(const _0x38238c of _0x33a6d6){let _0x457e81=_0x28e6bb['insertions'][_0x38238c];for(const _0x3f3484 of _0x457e81)if(_0x3f3484['item']['is']('element','tableCell')){const _0x3c637d=this['_getVidAttributeName'](_0x3f3484),_0x259881=_0x3f3484['item']['getAttribute'](_0x3c637d);if(_0x951901['has'](_0x259881)){const _0xb6afa6=_0x3f3484['item']['parent']['parent']['getAttribute']('vid_start'),_0x5b9b9a=_0x5261e4['get'](_0xb6afa6)||new Set();_0x5b9b9a['add'](_0x951901['get'](_0x259881)['userId']),_0x5261e4['set'](_0xb6afa6,_0x5b9b9a);}}_0x457e81=_0x28e6bb['deletions'][_0x38238c];for(const _0xf9a4b4 of _0x457e81)if(_0xf9a4b4['item']['is']('element','tableCell')){const _0x3e0e31=this['_getVidAttributeName'](_0xf9a4b4),_0x4c0da4=_0xf9a4b4['item']['getAttribute'](_0x3e0e31);if(_0x24d1e4['has'](_0x4c0da4)){const _0x1868d1=_0xf9a4b4['item']['parent']['parent']['getAttribute']('vid_start'),_0x1169c2=_0x5261e4['get'](_0x1868d1)||new Set();_0x1169c2['add'](_0x24d1e4['get'](_0x4c0da4)['userId']),_0x5261e4['set'](_0x1868d1,_0x1169c2);}}for(const _0x11925b of _0x5261e4['keys']())(_0x951901['has'](_0x11925b)||_0x24d1e4['has'](_0x11925b))&&_0x5261e4['delete'](_0x11925b);}for(const _0x46a358 of _0x33a6d6){const _0x48ca7b=_0x28e6bb['insertions'][_0x46a358];let _0x4b6d7a=null,_0x2420ce=null;for(const _0x4465a2 of _0x48ca7b){const _0x195f0b=this['_getVidAttributeName'](_0x4465a2),_0x1c1de0=_0x4465a2['item']['getAttribute'](_0x195f0b),_0x29d061=_0x5261e4['get'](_0x1c1de0);_0x29d061&&'elementStart'==_0x4465a2['type']&&(_0x4b6d7a=Array['from'](_0x29d061)[0x0],_0x2420ce=_0x4465a2['item']['getAttribute']('vid_end')),_0x4b6d7a&&(_0x24d1e4['set'](_0x1c1de0,{'userId':_0x4b6d7a}),_0x951901['set'](_0x1c1de0,{'userId':_0x4b6d7a})),_0x1c1de0==_0x2420ce&&(_0x4b6d7a=null,_0x2420ce=null);}}const _0x53e7e2={},_0x1e6986=new Set();for(const _0x40a31f of _0x33a6d6){const _0x10261b=_0xdc4817['deletions'][_0x40a31f],_0x556ee1=_0xdc4817['insertions'][_0x40a31f];for(const {userId:_0x383361}of this['_touchedMarkers']['values']())null!==_0x383361&&_0x1e6986['add'](_0x383361);for(const {userId:_0x5bef61}of this['_touchedRoots']['values']())null!==_0x5bef61&&_0x1e6986['add'](_0x5bef61);this['_markChanges'](_0x556ee1,_0x28e6bb['insertions'][_0x40a31f],_0x951901,'insertion',_0x1e6986),this['_markChanges'](_0x10261b,_0x28e6bb['deletions'][_0x40a31f],_0x24d1e4,'deletion',_0x1e6986),_0x53e7e2[_0x40a31f]={'insertions':this['_prepareViewToSave'](_0x556ee1),'deletions':this['_prepareViewToSave'](_0x10261b),'attachChange':this['_touchedRoots']['get'](_0x40a31f)||null,'attributesBefore':_0x2f65c9(this['_baseRootsAttributes']['get'](_0x40a31f))||{},'attributesAfter':_0x2f65c9(this['_diffRootsAttributes']['get'](_0x40a31f))};}return{'diffData':_0x53e7e2,'authorsIds':Array['from'](_0x1e6986)};}['_processRootBeforeSave'](_0x346d6c){for(const [,_0x2fcfe3]of _0x346d6c['markers']){const _0x31ce95=_0x2fcfe3['start']['getAncestors']()['filter'](_0x49ea67=>'tableCell'==_0x49ea67['name']);for(const _0x50adcb of _0x31ce95)0x1==_0x50adcb['childCount']&&_0x50adcb['getChild'](0x0)['is']('element','paragraph')&&_0x50adcb['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x5bfbe4){this['_processRootBeforeSave'](_0x5bfbe4);const _0xed5b5c=this['editor']['data']['toView'](_0x5bfbe4,{}),_0x330410=Array['from'](_0xed5b5c['getChildren']())['map'](_0x584dc7=>this['_getViewJson'](_0x584dc7));return JSON['stringify'](_0x330410);}['_getViewJson'](_0x4f8086){if(_0x4f8086['is']('$text'))return _0x4f8086['data'];{const _0x50c7b3=_0x4f8086;return{'type':Object['keys'](T)['find'](_0x394536=>_0x4f8086 instanceof T[_0x394536]),'name':_0x50c7b3['name'],'attributes':Array['from'](_0x50c7b3['getAttributes']()),'children':Array['from'](_0x50c7b3['getChildren']())['map'](_0x7e1e4b=>this['_getViewJson'](_0x7e1e4b))};}}['_markChanges'](_0x5660e8,_0x4ec64f,_0x24e781,_0x2d5d34,_0x487580){let _0x4ceb86=null,_0x261cb9=null,_0x4ced16=0x0;const _0x3efcad=this['editor']['model'];for(let _0x9e235f=0x0;_0x9e235f<_0x4ec64f['length'];_0x9e235f++){const _0x56aa5e=this['_getVidAttributeName'](_0x4ec64f[_0x9e235f]),_0x3a1d35=_0x4ec64f[_0x9e235f]['item']['getAttribute'](_0x56aa5e),_0x477fac=_0x24e781['get'](_0x3a1d35),_0x36966a=_0x9e235f==_0x4ec64f['length']-0x1;(!_0x4ceb86&&_0x477fac&&(_0x4ceb86=_0x477fac,_0x261cb9=_0x4ec64f[_0x9e235f]),_0x4ceb86&&(!_0x477fac||_0x477fac['userId']!=_0x4ceb86['userId']))&&(_0x4039d4(_0x477fac,L(_0x261cb9,_0x5660e8,_0x3efcad),L(_0x4ec64f[_0x9e235f],_0x5660e8,_0x3efcad)),_0x4ceb86=_0x477fac||null,_0x261cb9=_0x477fac?_0x4ec64f[_0x9e235f]:null),_0x4ceb86&&_0x36966a&&_0x4039d4(_0x477fac,L(_0x261cb9,_0x5660e8,_0x3efcad),W(_0x4ec64f[_0x9e235f],_0x5660e8,_0x3efcad));}function _0x4039d4(_0x20d7e4,_0x4ac826,_0x5d1a38){const _0x2c504b=_0x4ceb86['userId'],_0x3f351b='revision:'+_0x2d5d34+':'+_0x2c504b+':'+_0x4ced16++,_0x26feb6=_0x3efcad['createRange'](_0x4ac826,_0x5d1a38);_0x5660e8['markers']['set'](_0x3f351b,_0x26feb6),null!==_0x2c504b&&_0x487580['add'](_0x2c504b);}}['_getVidAttributeName'](_0x657c8f){switch(_0x657c8f['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x2a0a50,_0x2c7020){_0x2a0a50['baseVersion']=null;for(const _0x5dd187 in _0x2a0a50){const _0x386f0a=_0x2a0a50[_0x5dd187];if(_0x386f0a instanceof gt){const _0x4b4115=_0x2c7020['get'](_0x386f0a['root']['rootName']);_0x2a0a50[_0x5dd187]=this['_fixPosition'](_0x386f0a,_0x4b4115);}if(_0x386f0a instanceof vt){const _0x4683b4=_0x2c7020['get'](_0x386f0a['root']['rootName']);_0x2a0a50[_0x5dd187]=this['_fixRange'](_0x386f0a,_0x4683b4);}'root'===_0x5dd187&&(_0x2a0a50['root']=_0x2c7020['get'](_0x2a0a50['root']['rootName']));}}['_fixRange'](_0x4c383f,_0x5d7d03){return this['editor']['model']['createRange'](this['_fixPosition'](_0x4c383f['start'],_0x5d7d03),this['_fixPosition'](_0x4c383f['end'],_0x5d7d03));}['_fixPosition'](_0x5c3bd5,_0x75a815){return this['editor']['model']['createPositionFromPath'](_0x75a815,_0x5c3bd5['path'],_0x5c3bd5['stickiness']);}['_handleInsertOperation'](_0x2ebdfd){const _0x2f41ca=this['_idsRoots']['get'](_0x2ebdfd['position']['root']['rootName']),_0x153662=this['_fixPosition'](_0x2ebdfd['position'],_0x2f41ca),_0x28c1af=null===_0x2ebdfd['_authorId']?null:_0x2ebdfd['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x14af4f=_0x153662['parent'],_0x235ba6=this['_revisionId'],_0x2c69bc=[];for(const _0x27a56e of _0x2ebdfd['nodes'])if(_0x27a56e['is']('element'))_0x2c69bc['push'](this['_makeIdsRoot'](_0x27a56e));else{for(let _0x52db32=0x0;_0x52db32<_0x27a56e['offsetSize'];_0x52db32++)_0x2c69bc['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x4486d6=this['_revisionId'];for(let _0x36393d=_0x235ba6;_0x36393d<_0x4486d6;_0x36393d++)this['_touched']['set'](_0x36393d,{'userId':_0x28c1af});_0x14af4f['_insertChild'](_0x153662['offset'],_0x2c69bc);}['_handleMoveOperation'](_0x5db5b1){(_0x5db5b1=this['_cloneOperation'](_0x5db5b1,this['_idsRoots']))['_execute']();const _0x337c36=null===_0x5db5b1['_authorId']?null:_0x5db5b1['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x426145=_0x5db5b1['getMovedRangeStart'](),_0x33f208=_0x426145['parent'],_0x364d79=_0x426145['offset'];!function _0xff7a72(_0x2451a7,_0x5cd6bc,_0x5d43df,_0x3b76ae){for(let _0xebeb2f=_0x5d43df;_0xebeb2f<_0x3b76ae;_0xebeb2f++){const _0x3a5049=_0x5cd6bc['getChild'](_0xebeb2f);_0x3a5049['is']('element','$text')?_0x2451a7['set'](_0x3a5049['getAttribute']('vid'),{'userId':_0x337c36}):(_0x2451a7['set'](_0x3a5049['getAttribute']('vid_start'),{'userId':_0x337c36}),_0xff7a72(_0x2451a7,_0x3a5049,0x0,_0x3a5049['childCount']),_0x2451a7['set'](_0x3a5049['getAttribute']('vid_end'),{'userId':_0x337c36}));}}(this['_touched'],_0x33f208,_0x364d79,_0x364d79+_0x5db5b1['howMany']);}['_handleMergeOperation'](_0x358b24){const _0x1b286c=null===(_0x358b24=this['_cloneOperation'](_0x358b24,this['_idsRoots']))['_authorId']?null:_0x358b24['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x46df27=_0x358b24['targetPosition']['parent'],_0x5e64c5=_0x358b24['sourcePosition']['parent'],_0x233684=_0x46df27['getAttribute']('vid_end'),_0xadaf81=_0x5e64c5['getAttribute']('vid_start');_0x46df27['_setAttribute']('vid_end',_0x5e64c5['getAttribute']('vid_end')),_0x5e64c5['_setAttribute']('vid_end',_0x233684),this['_touched']['set'](_0xadaf81,{'userId':_0x1b286c}),this['_touched']['set'](_0x233684,{'userId':_0x1b286c}),_0x358b24['_execute']();}['_handleSplitOperation'](_0x3aadc4){const _0x48868d=null===(_0x3aadc4=this['_cloneOperation'](_0x3aadc4,this['_idsRoots']))['_authorId']?null:_0x3aadc4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x349177=_0x3aadc4['graveyardPosition'],_0x59cbe3=_0x3aadc4['splitPosition']['parent'];_0x3aadc4['_execute']();const _0x275079=_0x59cbe3['getAttribute']('vid_end'),_0x3ba9fc=_0x3aadc4['insertionPosition']['nodeAfter'];if(_0x349177){const _0x27beab=_0x3ba9fc['getAttribute']('vid_end'),_0x8b7371=_0x59cbe3['getAttribute']('vid_end');_0x59cbe3['_setAttribute']('vid_end',_0x27beab),_0x3ba9fc['_setAttribute']('vid_end',_0x8b7371),this['_touched']['set'](_0x59cbe3['getAttribute']('vid_end'),{'userId':_0x48868d}),this['_touched']['set'](_0x3ba9fc['getAttribute']('vid_start'),{'userId':_0x48868d});}else{const _0x4c9ca3=this['_revisionId']++,_0x45adbd=this['_revisionId']++;_0x59cbe3['_setAttribute']('vid_end',_0x4c9ca3),_0x3ba9fc['_setAttribute']('vid_start',_0x45adbd),_0x3ba9fc['_setAttribute']('vid_end',_0x275079),this['_touched']['set'](_0x4c9ca3,{'userId':_0x48868d}),this['_touched']['set'](_0x45adbd,{'userId':_0x48868d});}}['_handleMarkerOperation'](_0x5e78a6){if(!_0x5e78a6['affectsData'])return;const _0x3811a4=(_0x5e78a6=this['_cloneOperation'](_0x5e78a6,this['_diffRoots']))['oldRange']?_0x5e78a6['oldRange']['root']:null,_0x1b4058=_0x5e78a6['newRange']?_0x5e78a6['newRange']['root']:null;_0x3811a4&&this['_markers']['delete'](_0x5e78a6['name']),_0x1b4058&&this['_markers']['set'](_0x5e78a6['name'],_0x5e78a6['newRange']['clone']());const _0x5d5714=null===_0x5e78a6['_authorId']?null:_0x5e78a6['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5cbe26=_0x5e78a6['name'];if(!this['_touchedMarkers']['has'](_0x5cbe26))return void this['_touchedMarkers']['set'](_0x5cbe26,{'range':_0x5e78a6['oldRange'],'userId':_0x5d5714});const _0x333cbe=this['_touchedMarkers']['get'](_0x5cbe26),_0x32d126=_0x333cbe['range'],_0xedbbe0=_0x5e78a6['newRange'];null==_0x32d126&&null==_0xedbbe0||_0x32d126&&_0xedbbe0&&_0x32d126['isEqual'](_0xedbbe0)?this['_touchedMarkers']['delete'](_0x5e78a6['name']):_0x333cbe['userId']=_0x5d5714;}['_handleRootOperation'](_0x4b762c,_0x4b48f2){this['_diffRoots']['has'](_0x4b762c['rootName'])?this['_diffRoots']['get'](_0x4b762c['rootName'])['_isAttached']=_0x4b762c['isAdd']:(this['_diffRoots']['set'](_0x4b762c['rootName'],G(_0x4b762c['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x4b762c['rootName'],{}),_0x4b48f2&&this['_idsRoots']['set'](_0x4b762c['rootName'],G(_0x4b762c['rootName'],!0x0)));const _0x1ad0f9=null===_0x4b762c['_authorId']?null:_0x4b762c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x31b682=this['_touchedRoots']['get'](_0x4b762c['rootName']);_0x31b682&&_0x31b682['userId']===_0x1ad0f9?this['_touchedRoots']['delete'](_0x4b762c['rootName']):this['_touchedRoots']['set'](_0x4b762c['rootName'],{'userId':_0x1ad0f9,'isAttached':_0x4b762c['isAdd']});}['_handleRootAttributeOperation'](_0x2a4279){const _0x59d191=this['_diffRootsAttributes']['get'](_0x2a4279['root']['rootName']);null===_0x2a4279['newValue']?delete _0x59d191[_0x2a4279['key']]:_0x59d191[_0x2a4279['key']]=_0x2a4279['newValue'];}}function q(_0x441a18){const _0x5c0819=G(_0x441a18['rootName'],_0x441a18['isAttached']());for(const _0x408edf of _0x441a18['getChildren']()){const _0x1c0456=_0x408edf['_clone'](!0x0);_0x5c0819['_appendChild'](_0x1c0456);}return _0x5c0819;}function G(_0x1c8a76,_0x299c5a=!0x0){const _0x524f73=new wt();return _0x524f73['rootName']=_0x1c8a76,_0x524f73['_isAttached']=_0x299c5a,_0x524f73['isAttached']=()=>_0x524f73['_isAttached'],_0x524f73;}function L(_0x34ae69,_0xc7b2cc,_0x46ec94){const _0x572660='elementEnd'==_0x34ae69['type']?_0x46ec94['createPositionAt'](_0x34ae69['item'],'end'):_0x46ec94['createPositionBefore'](_0x34ae69['item']);return _0x46ec94['createPositionFromPath'](_0xc7b2cc,_0x572660['path'],_0x572660['stickiness']);}function W(_0x401bc5,_0x5040a1,_0x3c9b51){const _0xfaa464='elementStart'==_0x401bc5['type']?_0x3c9b51['createPositionAt'](_0x401bc5['item'],0x0):_0x3c9b51['createPositionAfter'](_0x401bc5['item']);return _0x3c9b51['createPositionFromPath'](_0x5040a1,_0xfaa464['path'],_0xfaa464['stickiness']);}class ns extends _0x5b97df{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x3a25ac,_0x41e550){super(_0x3a25ac),this['focusTracker']=new _0x5aadd4(),this['keystrokes']=new _0x4833a7(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x41e550),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'](),_0x218750({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x70f395=_0x31e9db=>_0x31e9db['stopPropagation']();this['keystrokes']['set']('arrowright',_0x70f395),this['keystrokes']['set']('arrowleft',_0x70f395),this['keystrokes']['set']('arrowup',_0x70f395),this['keystrokes']['set']('arrowdown',_0x70f395);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x13c91b){this['revisionNameInputView']['fieldView']['element']['value']=_0x13c91b['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x18c528){const _0x122792=new at(this['locale'],_0x2fdf3a),_0x38369d=_0x122792['fieldView'];_0x38369d['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x4e5414=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x18c528&&(_0x4e5414+='\x20('+y(this['locale'],'optional')+')'),(_0x122792['label']=_0x4e5414,_0x38369d['on']('input',()=>{this['revisionNameInputValue']=_0x38369d['element']['value']['trim']();}),_0x122792);}}class u extends _0x28ca11{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x2b3313=this['editor'],_0x490528=_0x2b3313['plugins']['get']('RevisionTracker');_0x2b3313['ui']['componentFactory']['add']('revisionHistory',_0x13d48e=>{const _0x498d96=_0x40b2e8(_0x13d48e),_0x3ebae1=_0x498d96['panelView']['children'],_0x477756=new te(_0x13d48e),_0x2f1a36=new _0x1a3e54(_0x13d48e),_0x254748=new _0x1eab0c(_0x13d48e),_0x328fa8=new _0x1a3e54(_0x13d48e),_0x2539f1=new _0x1eab0c(_0x13d48e);return _0x498d96['bind']('isEnabled')['to'](_0x490528,'isReady',_0x490528,'isEnabled',_0x2b3313,'isReadOnly',(_0x43151c,_0x478364,_0x57fa84)=>_0x43151c&&_0x478364&&!_0x57fa84),_0x498d96['buttonView']['set']({'icon':_0x5318e5['history'],'label':y(_0x13d48e,'Revision\x20history'),'tooltip':!0x0}),_0x254748['set']({'label':y(_0x13d48e,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x254748['bind']('isEnabled')['to'](_0x490528,'isReady',_0x490528,'isEnabled',_0x2b3313,'isReadOnly',(_0x226874,_0x1444be,_0x1b7ff8)=>_0x226874&&_0x1444be&&!_0x1b7ff8),_0x254748['on']('execute',()=>this['_showDialog']()),_0x2539f1['set']({'label':y(_0x13d48e,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x2539f1['bind']('isEnabled')['to'](_0x490528,'isReady',_0x2b3313,'isReadOnly',(_0x2aecb8,_0x1faa5e)=>_0x2aecb8&&!_0x1faa5e),_0x2539f1['on']('execute',()=>{_0x2b3313['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x498d96['isOpen']=!0x1,_0x2b3313['editing']['view']['focus']();}),_0x2f1a36['children']['add'](_0x254748),_0x328fa8['children']['add'](_0x2539f1),_0x477756['role']='menu',_0x477756['items']['addMany']([_0x2f1a36,_0x328fa8]),_0x3ebae1['add'](_0x477756),_0x498d96;}),_0x2b3313['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x3d4ab5=this['editor'],_0x36c9ba=_0x3d4ab5['locale'],_0x5e2993=new _0x565adf(_0x36c9ba),_0x625fdc=new _0x451b9b(_0x36c9ba);_0x5e2993['buttonView']['set']({'icon':_0x5318e5['history'],'label':y(_0x36c9ba,'Revision\x20history')});const _0xa1bc7f=new _0x5b44f8(_0x36c9ba,_0x5e2993),_0x2dc50a=new _0x1ad9f6(_0x36c9ba);_0x2dc50a['set']({'label':y(_0x36c9ba,'Save\x20current\x20revision')}),_0x2dc50a['delegate']('execute')['to'](_0x5e2993),_0x2dc50a['on']('execute',()=>{this['_showDialog']();}),_0xa1bc7f['children']['add'](_0x2dc50a),_0x625fdc['items']['add'](_0xa1bc7f);const _0x4e5a5b=new _0x5b44f8(_0x36c9ba,_0x5e2993),_0x5e70c2=new _0x1ad9f6(_0x36c9ba);return _0x5e70c2['set']({'label':y(_0x36c9ba,'Open\x20revision\x20history')}),_0x5e70c2['delegate']('execute')['to'](_0x5e2993),_0x5e70c2['on']('execute',()=>{_0x3d4ab5['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x4e5a5b['children']['add'](_0x5e70c2),_0x625fdc['items']['add'](_0x4e5a5b),_0x5e2993['panelView']['children']['add'](_0x625fdc),_0x5e2993;}['_showDialog'](){const _0x468536=this['editor'],_0x417e22=_0x468536['locale'],t=_0x417e22['t'],_0x1fe1a7=_0x468536['plugins']['get']('Dialog'),_0x2387d0=_0x468536['plugins']['get']('RevisionTracker');function _0xd11cb1(_0x4f651c){_0x468536['config']['get']('revisionHistory.requireRevisionName')&&''===_0x4f651c['revisionName']?_0x4f651c['revisionNameInputView']['errorText']=y(_0x417e22,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x468536['plugins']['get'](l)['saveRevision']({'name':_0x4f651c['revisionName']}),_0x1fe1a7['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0xd11cb1(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x1fe1a7['show']({'id':'revisionSave','title':y(_0x417e22,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x1fe1a7['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x3cf781){_0x3cf781['bind']('isEnabled')['to'](_0x2387d0,'isReady',_0x2387d0,'isEnabled',_0x468536,'isReadOnly',(_0x5f2146,_0x4babd9,_0x3ee9db)=>_0x5f2146&&_0x4babd9&&!_0x3ee9db);},'onExecute':()=>_0xd11cb1(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x641e0f=this['editor'],_0x5530af=_0x641e0f['locale'];this['_saveRevisionFormView']=new ns(_0x5530af,_0x641e0f['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x5b97df{['changeId'];['_model'];constructor(_0x5dd3fd,_0x92a846){super(_0x5dd3fd),this['_model']=_0x92a846,this['changeId']=_0x92a846['id'];const _0x1a8df8=this['bindTemplate'],_0x482710=y(_0x5dd3fd,_0x92a846['data']['isSuggestion']?'Suggested\x20by':'add'==_0x92a846['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x92a846['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x1a8df8['to']('type',_0x558e7e=>'ck-revision-change__'+_0x558e7e)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x482710}]},{'text':'\x20'+_0x92a846['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x5a6ef2(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x1a6f53){super(),this['id']=_0x1a6f53['id']||_0x1b816b(),this['author']=_0x1a6f53['author'],this['type']=_0x1a6f53['type'],this['data']=_0x1a6f53['data']||{},this['rootName']=_0x1a6f53['rootName'],this['set']('createdAt',_0x1a6f53['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(_0x15868b,_0x1c0570){this['newRevisionId']=_0x15868b,this['oldRevisionId']=_0x1c0570,this['changes']=new _0x40b03c();}['_setChanges'](_0x3b0d19){for(const _0x106452 of _0x3b0d19)this['changes']['add'](_0x106452);}}const tt={'c':_0x3cb80c,'a':_0x2a9ad7,'e':_0x388816,'r':_0x1b689c,'u':_0x4ae6fe};class d extends _0x28ca11{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x173f60,_0x52d7b4,A];}constructor(_0x1666ff){super(_0x1666ff),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',(_0x234cf9,_0x32cda6,_0x3e7b87)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x3c87e2=>{for(const _0x3c1909 of this['editor']['editing']['view']['document']['roots'])_0x3e7b87?_0x3c87e2['removeClass']('ck-editor__editable__overlay',_0x3c1909):_0x3c87e2['addClass']('ck-editor__editable__overlay',_0x3c1909);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x2d27af=>null!==_0x2d27af),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x48597f,_0x1fa049,_0x33642e)=>_0x48597f&&_0x33642e?_0x1fa049['changes']['getIndex'](_0x33642e):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x532af7,_0x33bb05)=>_0x532af7?_0x33bb05['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x52d7b4);}['init'](){const _0x2f6eed=this['editor'],_0x252927=new yt(_0x2f6eed,{'direction':'backward'}),_0x41a602=new yt(_0x2f6eed,{'direction':'forward'});(_0x2f6eed['commands']['add']('showPreviousChange',_0x252927),_0x2f6eed['commands']['add']('showNextChange',_0x41a602),_0x2f6eed['commands']['add']('restoreRevision',new bt(_0x2f6eed)),this['on']('change:numberOfChanges',()=>{_0x252927['refresh'](),_0x41a602['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x2f6eed['enableReadOnlyMode']('revision-viewer'),_0x2f6eed['plugins']['has']('WidgetToolbarRepository'))&&_0x2f6eed['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x3b951f){await this['loadRevisionData'](_0x3b951f);const _0x51313d={};for(const _0x34bdb2 in _0x3b951f['diffData']){if(_0x3b951f['diffData'][_0x34bdb2]['attachChange']&&!_0x3b951f['diffData'][_0x34bdb2]['attachChange']['isAttached'])continue;const _0x5282c5=this['_removeRevisionMarkers'](JSON['parse'](_0x3b951f['diffData'][_0x34bdb2]['insertions'])),_0x41bace=this['editor']['editing']['view']['document'],_0x1d27d6=new _0x55e0ce(_0x41bace,_0x5282c5['map'](_0xbd4578=>this['_getViewObj'](_0xbd4578)));this['editor']['data']['processor']['useFillerType']('marked'),_0x51313d[_0x34bdb2]=this['editor']['data']['processor']['toData'](_0x1d27d6),this['editor']['data']['processor']['useFillerType']('default');}return _0x51313d;}async['getRevisionRootsAttributes'](_0x3ecbaf){await this['loadRevisionData'](_0x3ecbaf);const _0x2c9f33={};for(const _0x40e608 in _0x3ecbaf['diffData'])_0x3ecbaf['diffData'][_0x40e608]['attachChange']&&!_0x3ecbaf['diffData'][_0x40e608]['attachChange']['isAttached']||(_0x2c9f33[_0x40e608]=_0x3ecbaf['diffData'][_0x40e608]['attributesAfter']||{});return _0x2c9f33;}['_removeRevisionMarkers'](_0x5893e4){return(_0x5893e4=_0x5893e4['filter'](_0xce79a2=>!_0xce79a2['name']||'revision-start'!==_0xce79a2['name']&&'revision-end'!==_0xce79a2['name']))['forEach'](_0x534bb8=>{'string'!=typeof _0x534bb8&&(_0x534bb8['children']=this['_removeRevisionMarkers'](_0x534bb8['children']),_0x534bb8['attributes']=_0x534bb8['attributes']['filter'](_0x5bdd95=>!_0x5bdd95[0x0]['startsWith']('data-revision-')));}),_0x5893e4;}async['compare'](_0x3d1f9f,_0x293c1c,_0x1c31f2=!0x1){if(!this['isEnabled'])return;const _0x344669=this['diff'],_0x1aba3c=this['repository'],_0x3a0eaf='string'==typeof _0x3d1f9f?_0x1aba3c['getRevision'](_0x3d1f9f):_0x3d1f9f,_0x407ef1='string'==typeof _0x293c1c?_0x1aba3c['getRevision'](_0x293c1c):_0x293c1c,_0x310cee=_0x3a0eaf['id'],_0x94cacf=_0x407ef1?_0x407ef1['id']:null;if(!_0x1c31f2&&this['diff']&&this['diff']['newRevisionId']===_0x310cee&&this['diff']['oldRevisionId']===_0x94cacf)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x310cee,_0x94cacf);const _0xd3e081=this['_getRevisionsRange'](_0x3a0eaf,_0x407ef1,!0x0)['map'](_0x585209=>this['loadRevisionData'](_0x585209));return _0xd3e081['push'](new Promise(_0x572a89=>{setTimeout(_0x572a89,0x14);})),Promise['all'](_0xd3e081)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x285b8e=this['_getDiff'](_0x310cee,_0x94cacf);for(const _0x2f05f7 of _0x285b8e['changes'])this['_changeIdToChange']['set'](_0x2f05f7['id'],_0x2f05f7);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x178973=>{for(const _0x3f5f2c of this['editor']['model']['document']['getRootNames']())_0x178973['detachRoot'](_0x3f5f2c);for(const _0x1fe330 of Object['keys'](_0x285b8e['model'])){const _0x8338da=_0x178973['addRoot'](_0x1fe330);for(const _0x42d81c of Object['keys'](_0x285b8e['attributes'][_0x1fe330]))_0x178973['setAttribute'](_0x42d81c,_0x285b8e['attributes'][_0x1fe330][_0x42d81c],_0x8338da);_0x178973['insert'](_0x285b8e['model'][_0x1fe330],_0x8338da,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x285b8e['changes'])),this['isReady']=!0x0;})['catch'](_0x29c64f=>{console['error'](_0x29c64f),this['_cleanUp'](),_0x344669&&(this['diff']=_0x344669),this['isReady']=!0x0;});}['addRevisionData'](_0x56b03b,_0x210541){const _0x2c1081=this['repository']['createRevision'](_0x56b03b);return _0x2c1081['on']('_update',(_0x122bc9,_0x202ec1,_0x102e2b)=>_0x210541(_0x202ec1,_0x102e2b,_0x2c1081)),this['repository']['addRevision'](_0x2c1081),_0x2c1081;}['loadRevisionData'](_0x4ff727){if(!_0x4ff727||_0x4ff727['diffData'])return Promise['resolve']();{const _0x4856bd=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x4856bd,'revisionId':_0x4ff727['id']})['then'](_0x3cee0b=>{_0x4ff727['_update']({'diffData':_0x3cee0b['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},_0x5e52a2=>{for(const _0x347f98 of this['editor']['model']['document']['getRootNames']())_0x5e52a2['detachRoot'](_0x347f98);});}['_sortAndFilterDiffChanges'](_0x1cd8f8){const _0xff8b9e=[],_0x144121=new Map();for(const _0x3891b4 of this['editor']['model']['document']['getRootNames']()){const _0x2ffb6d=this['editor']['editing']['view']['getDomRoot'](_0x3891b4);if(!_0x2ffb6d)continue;const _0x1278f3=_0x2ffb6d['getClientRects']()['item'](0x0);_0x1278f3&&(_0xff8b9e['push'](_0x3891b4),_0x144121['set'](_0x3891b4,_0x1278f3));}return _0xff8b9e['sort']((_0x593747,_0x26c432)=>{const _0x437bb4=_0x144121['get'](_0x593747),_0x48b4a6=_0x144121['get'](_0x26c432);return _0x437bb4['y']-_0x48b4a6['y']||_0x437bb4['x']-_0x48b4a6['x'];}),(_0x1cd8f8=_0x1cd8f8['filter'](_0xb1720f=>_0xff8b9e['includes'](_0xb1720f['rootName'])))['sort']((_0x485e2b,_0x4efaea)=>_0xff8b9e['indexOf'](_0x485e2b['rootName'])-_0xff8b9e['indexOf'](_0x4efaea['rootName'])),_0x1cd8f8;}['_makeTape'](_0x2a88e6){const _0x22e59d=Array['from'](_0x2a88e6['markers'])['filter'](([_0x4c864a,_0x276e23])=>_0x4c864a['startsWith']('revision:')&&!_0x276e23['isCollapsed']),_0x30033e=Array['from'](this['editor']['model']['createRangeIn'](_0x2a88e6)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x22e59d['length'])for(const _0x22d85f of _0x30033e){const [_0xf2f3ae,_0x2c6854]=_0x22e59d[0x0],[,_0x2197b4,_0x588daa]=_0xf2f3ae['split'](':');if(_0x2c6854['end']['isEqual'](_0x22d85f['nextPosition'])&&_0x22e59d['shift'](),(_0x22d85f['previousPosition']['isEqual'](_0x2c6854['start'])||_0x22d85f['previousPosition']['isAfter'](_0x2c6854['start']))&&('insertion'==_0x2197b4?_0x22d85f['isAdded']={'userId':_0x588daa}:'deletion'==_0x2197b4&&(_0x22d85f['isRemoved']={'userId':_0x588daa})),0x0==_0x22e59d['length'])break;}return _0x30033e;}['_refreshStartEndIndex'](_0x5682db){const _0x22d9af=new Map();for(let _0x2187a3=0x0;_0x2187a3<_0x5682db['length'];_0x2187a3++)'text'===_0x5682db[_0x2187a3]['type']?(_0x5682db[_0x2187a3]['item']['startIndex']=_0x2187a3,_0x5682db[_0x2187a3]['item']['endIndex']=_0x2187a3):('elementStart'===_0x5682db[_0x2187a3]['type']?_0x5682db[_0x2187a3]['item']['startIndex']=_0x2187a3:'elementEnd'===_0x5682db[_0x2187a3]['type']&&(_0x5682db[_0x2187a3]['item']['endIndex']=_0x2187a3),_0x22d9af['set'](_0x5682db[_0x2187a3]['id'],_0x2187a3));for(const _0x35d04a of _0x22d9af['values']())'elementStart'===_0x5682db[_0x35d04a]['type']?_0x5682db[_0x35d04a]['item']['endIndex']=_0x22d9af['get'](_0x5682db[_0x35d04a]['pairId']):'elementEnd'===_0x5682db[_0x35d04a]['type']&&(_0x5682db[_0x35d04a]['item']['startIndex']=_0x22d9af['get'](_0x5682db[_0x35d04a]['pairId']));}['_processTape'](_0xa4ae22){for(let _0x1126ba=0x0;_0x1126ba<_0xa4ae22['length'];_0x1126ba++){if('elementStart'===_0xa4ae22[_0x1126ba]['type'])_0xa4ae22[_0x1126ba]['item']['startIndex']=_0x1126ba;else{if('elementEnd'===_0xa4ae22[_0x1126ba]['type']){_0xa4ae22[_0x1126ba]['item']['endIndex']=_0x1126ba;const _0x3a0e34=_0xa4ae22[_0x1126ba]['item']['startIndex'];_0xa4ae22[_0x3a0e34]['pairId']=_0xa4ae22[_0x1126ba]['id'],_0xa4ae22[_0x1126ba]['pairId']=_0xa4ae22[_0x3a0e34]['id'];}else _0xa4ae22[_0x1126ba]['item']['startIndex']=_0x1126ba,_0xa4ae22[_0x1126ba]['item']['endIndex']=_0x1126ba,_0xa4ae22[_0x1126ba]['pairId']=null;}_0xa4ae22[_0x1126ba]['markersStart']||(_0xa4ae22[_0x1126ba]['markersStart']=[],_0xa4ae22[_0x1126ba]['markersEnd']=[]);}}['_markInsertions'](_0x31d8ac,_0x40ad7f){const _0x1c3479=_0x31d8ac['filter'](_0xd90b0d=>!_0xd90b0d['isAdded']);for(let _0x242b8c=0x0;_0x242b8c<_0x40ad7f['length'];_0x242b8c++)_0x40ad7f[_0x242b8c]['isAdded']&&(_0x1c3479[_0x242b8c]['isAdded']=_0x40ad7f[_0x242b8c]['isAdded']);}['_makeModelFromViewString'](_0x20b0df){const _0x102128=JSON['parse'](_0x20b0df),_0x9d258=this['editor']['editing']['view']['document'],_0xc384d=new _0x55e0ce(_0x9d258,_0x102128['map'](_0x4f7e5a=>this['_getViewObj'](_0x4f7e5a)));return this['editor']['data']['toModel'](_0xc384d);}['_getViewObj'](_0x24fa00){const _0x5d8809=this['editor']['editing']['view']['document'];if('string'==typeof _0x24fa00)return new _0x15a6c6(_0x5d8809,_0x24fa00);{const _0x12b9bc=_0x24fa00['children']['map'](_0x3ffe5f=>this['_getViewObj'](_0x3ffe5f));return new(tt[_0x24fa00['type']]||_0x37ea6e)(_0x5d8809,_0x24fa00['name'],_0x24fa00['attributes'],_0x12b9bc);}}['_getDiff'](_0x49ffe2,_0x5c6846=null){const _0x58bafb=this['repository']['getRevision'](_0x49ffe2),_0x27411e=_0x5c6846?this['repository']['getRevision'](_0x5c6846):null,_0x7e9d07=this['_getRevisionsRange'](_0x58bafb,_0x27411e),_0x97524f=_0x7e9d07[_0x7e9d07['length']-0x1],_0x484113=new Map(),_0x37226b={'model':{},'attributes':{},'changes':[]},_0x1ff667=new Set(),_0x5326a5=new Map();for(let _0x2eddc8=_0x7e9d07['length']-0x1;_0x2eddc8>=0x0;_0x2eddc8--){const _0x2bcd77=_0x7e9d07[_0x2eddc8];for(const _0x44800c of Object['keys'](_0x2bcd77['diffData']))if(_0x2bcd77['diffData'][_0x44800c]['attachChange']){const _0x52aca6=_0x2bcd77['diffData'][_0x44800c]['attachChange'];_0x52aca6['isAttached']?(_0x1ff667['add'](_0x44800c),_0x5326a5['has'](_0x44800c)&&_0x5326a5['get'](_0x44800c)['userId']==_0x52aca6['userId']?_0x5326a5['delete'](_0x44800c):_0x5326a5['set'](_0x44800c,_0x52aca6)):_0x5326a5['has'](_0x44800c)?(_0x1ff667['delete'](_0x44800c),_0x5326a5['delete'](_0x44800c)):(_0x1ff667['add'](_0x44800c),_0x5326a5['set'](_0x44800c,_0x52aca6));}else _0x1ff667['add'](_0x44800c);}for(const _0xfa98f of _0x1ff667){const _0x44ddcb=_0x5326a5['has'](_0xfa98f)&&!_0x5326a5['get'](_0xfa98f)['isAttached'];let _0x3fe934=_0x44ddcb?_0x7e9d07['length']-0x1:0x0;const _0x5bf610=_0x44ddcb?-0x1:0x1;for(;_0x7e9d07[_0x3fe934];){const _0x58884a=_0x7e9d07[_0x3fe934];if(_0x58884a['diffData'][_0xfa98f]){const _0x131a95=_0x44ddcb?_0x58884a['diffData'][_0xfa98f]['attributesBefore']:_0x58884a['diffData'][_0xfa98f]['attributesAfter'];_0x37226b['attributes'][_0xfa98f]=_0x131a95?_0x2f65c9(_0x131a95):{};break;}_0x3fe934+=_0x5bf610;}}for(const _0xd791d0 of _0x7e9d07){_0xd791d0['model']={};for(const _0x335212 of _0xd791d0['authors'])_0x484113['set'](_0x335212['id'],_0x335212);for(const _0x38c2b8 of _0x1ff667){const _0xb568e7=_0xd791d0['diffData'][_0x38c2b8]?_0xd791d0['diffData'][_0x38c2b8]['insertions']:'[]',_0x1b5044=_0xd791d0['diffData'][_0x38c2b8]?_0xd791d0['diffData'][_0x38c2b8]['deletions']:'[]';_0xd791d0['model'][_0x38c2b8]={'insertions':this['_makeModelFromViewString'](_0xb568e7),'deletions':this['_makeModelFromViewString'](_0x1b5044)};}}for(const _0x11bd6c of _0x1ff667){let _0x4ce15c=null,_0x440477=0x0;const _0x30a62e=new Map(Array['from'](_0x58bafb['model'][_0x11bd6c]['insertions']['markers'])['filter'](([_0x38bee0])=>!_0x38bee0['startsWith']('revision:')));let _0x356d19=0x0;for(const _0x54123c of _0x7e9d07){const _0x2e5ed4=this['_makeTape'](_0x54123c['model'][_0x11bd6c]['insertions']);_0x54123c==_0x58bafb?(_0x4ce15c=_0x2e5ed4,_0x440477=_0x4ce15c['length'],_0x4ce15c['forEach'](_0x109284=>{_0x109284['id']=_0x356d19++;}),this['_processTape'](_0x4ce15c)):this['_markInsertions'](_0x4ce15c,_0x2e5ed4);const _0x3387b3=_0x4ce15c['filter'](_0x48885b=>!_0x48885b['isAdded'])['map'](_0x201a27=>_0x201a27['id']);let _0x1e59c9=0x0;const _0x1da451=this['_makeTape'](_0x54123c['model'][_0x11bd6c]['deletions']);_0x1da451['forEach'](_0x1e8b55=>{_0x1e8b55['isRemoved']?_0x1e8b55['id']=_0x440477++:_0x1e8b55['id']=_0x3387b3[_0x1e59c9++];}),this['_processTape'](_0x1da451),this['_setDistance'](_0x4ce15c,'isAdded'),this['_setDistance'](_0x1da451,'isRemoved'),_0x54123c==_0x58bafb&&this['_markMarkers'](_0x4ce15c,_0x30a62e),_0x4ce15c=this['_joinTapes'](_0x4ce15c,_0x1da451),this['_refreshStartEndIndex'](_0x4ce15c),this['_setDistance'](_0x4ce15c,'isRemoved');}_0x4ce15c=_0x4ce15c['filter'](_0x5466b1=>!(_0x5466b1['isAdded']&&_0x5466b1['isRemoved']));const _0x11f1ae=new Map(_0x97524f['model'][_0x11bd6c]['deletions']['markers']),_0x575834=new Set(_0x30a62e['keys']());for(const _0xf61a4 of _0x11f1ae['keys']())_0x575834['delete'](_0xf61a4);this['_markSuggestions'](_0x4ce15c,_0x575834),this['_fixObsoleteTags'](_0x4ce15c),_0x4ce15c=this['_removeMissingPairs'](_0x4ce15c),_0x4ce15c=this['_markMismatchedRemovedTags'](_0x4ce15c),_0x4ce15c=this['_removeUnsupportedChanges'](_0x4ce15c);const {root:_0x32d849,changes:_0x316816}=this['_makeModelFromTape'](_0x4ce15c,_0x484113,_0x11bd6c);_0x37226b['model'][_0x11bd6c]=_0x32d849;const _0x25911e=_0x5326a5['get'](_0x11bd6c);if(_0x25911e){const _0x516dae=_0x484113['get'](_0x25911e['userId']),_0x1fc62d=new r({'author':_0x516dae,'type':_0x25911e['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x11bd6c});_0x316816['unshift'](_0x1fc62d),_0x37226b['attributes'][_0x11bd6c]['revisionHistoryAttachChange']=_0x1fc62d['id'];}_0x37226b['changes']=_0x37226b['changes']['concat'](_0x316816);}return _0x37226b;}['_markMarkers'](_0x5dc9ae,_0x41058b){for(let _0x582e6e=0x0;_0x582e6e<_0x5dc9ae['length'];_0x582e6e++)for(const [_0x356acc,_0x172878]of _0x41058b)_0x172878['start']['isEqual'](_0x5dc9ae[_0x582e6e]['previousPosition'])&&_0x5dc9ae[_0x582e6e]['markersStart']['push'](_0x356acc),_0x172878['end']['isEqual'](_0x5dc9ae[_0x582e6e]['nextPosition'])&&_0x5dc9ae[_0x582e6e]['markersEnd']['push'](_0x356acc);}['_joinTapes'](_0x199e67,_0x1ce575){let _0x26b506=[],_0x566260=0x0,_0x237605=0x0;for(;_0x566260<_0x199e67['length']||_0x237605<_0x1ce575['length'];){const _0x14c673=_0x199e67[_0x566260]||{},_0x30dac7=_0x1ce575[_0x237605]||{};if(_0x14c673['id']==_0x30dac7['id'])_0x566260++,_0x237605++,_0x26b506['push'](_0x14c673);else{if(_0x30dac7['isRemoved']&&_0x14c673['isAdded']){const {commonTape:_0x417f76,iEnd:_0x3bf638,jEnd:_0x7714}=this['_threeWayMerge'](_0x199e67,_0x566260,_0x1ce575,_0x237605);_0x26b506=_0x26b506['concat'](_0x417f76),_0x566260=_0x3bf638,_0x237605=_0x7714;}else _0x30dac7['isRemoved']?(_0x237605++,_0x26b506['push'](_0x30dac7)):(_0x566260++,_0x26b506['push'](_0x14c673));}}return _0x26b506;}['_markSuggestions'](_0x494e41,_0x31969e){const _0x795427=[];for(let _0x38a7e7=0x0;_0x38a7e7<_0x494e41['length'];_0x38a7e7++){for(let _0xd6c8d1=0x0;_0xd6c8d1<_0x494e41[_0x38a7e7]['markersStart']['length'];_0xd6c8d1++){const _0x1d4650=_0x494e41[_0x38a7e7]['markersStart'][_0xd6c8d1];if(!_0x31969e['has'](_0x1d4650))continue;const {group:_0x27d534,type:_0x15a7bc,authorId:_0x4ceab2}=_0x372ece(_0x1d4650);'revision-suggestion'!=_0x27d534||'insertion'!=_0x15a7bc&&'deletion'!=_0x15a7bc||(_0x795427['unshift']({'type':_0x15a7bc,'name':_0x1d4650,'userId':_0x4ceab2}),_0x494e41[_0x38a7e7]['markersStart']['splice'](_0xd6c8d1,0x1),_0xd6c8d1--);}_0x471ef5(_0x494e41[_0x38a7e7]);for(let _0x504e4c=0x0;_0x504e4c<_0x494e41[_0x38a7e7]['markersEnd']['length'];_0x504e4c++){const _0x283b78=_0x494e41[_0x38a7e7]['markersEnd'][_0x504e4c];if(!_0x31969e['has'](_0x283b78))continue;const {group:_0xf41d5f,type:_0x15b72e}=_0x372ece(_0x283b78);if('revision-suggestion'!=_0xf41d5f||'insertion'!=_0x15b72e&&'deletion'!=_0x15b72e)continue;_0x494e41[_0x38a7e7]['markersEnd']['splice'](_0x504e4c,0x1),_0x504e4c--;const _0x35d550=_0x795427['findIndex'](_0x416145=>_0x416145['name']==_0x283b78);_0x35d550>-0x1&&_0x795427['splice'](_0x35d550,0x1);}}function _0x372ece(_0x7da1f5){const _0x628aa4=_0x7da1f5['split'](':');return{'group':_0x628aa4[0x0],'type':_0x628aa4[0x1],'subType':_0x628aa4['length']>=0x5?_0x628aa4[0x2]:null,'id':_0x628aa4['length']<0x5?_0x628aa4[0x2]:_0x628aa4[0x3],'authorId':_0x628aa4['length']<0x5?_0x628aa4[0x3]:_0x628aa4[0x4],'markerCount':0x6==_0x628aa4['length']?_0x628aa4[0x5]:null};}function _0x471ef5(_0x724e30){for(let _0x2d2b08=0x0;_0x2d2b08<_0x795427['length'];_0x2d2b08++){if(_0x724e30['isAdded']&&'insertion'==_0x795427[_0x2d2b08]['type'])return _0x724e30['isAddSuggestion']=_0x795427[_0x2d2b08],void delete _0x724e30['isAdded'];if(!_0x724e30['isAdded']&&!_0x724e30['isRemoved']&&'deletion'==_0x795427[_0x2d2b08]['type'])return void(_0x724e30['isRemoveSuggestion']=_0x795427[_0x2d2b08]);}}}['_setDistance'](_0x52e804,_0x4bbed8){let _0x19a4aa=0x0,_0xf3e12c=!0x1;const _0x3fde44=new Map();for(const _0x48586b of _0x52e804)_0x48586b[_0x4bbed8]?_0xf3e12c&&(_0x19a4aa++,_0xf3e12c=!0x1):(_0x19a4aa++,_0xf3e12c=!0x0),_0x3fde44['set'](_0x48586b['id'],_0x19a4aa);for(let _0x447286=0x0;_0x447286<_0x52e804['length'];_0x447286++){if('isRemoved'==_0x4bbed8&&_0x52e804[_0x447286]['isAdded']||'isAdded'==_0x4bbed8&&_0x52e804[_0x447286]['isRemoved'])continue;if('text'==_0x52e804[_0x447286]['type']){_0x52e804[_0x447286]['distance']=0x0;continue;}const _0x1654f9=_0x3fde44['get'](_0x52e804[_0x447286]['pairId']),_0x3b1bc1=_0x3fde44['get'](_0x52e804[_0x447286]['id']);_0x52e804[_0x447286]['distance']=_0x1654f9-_0x3b1bc1;}}['_getRevisionsRange'](_0x28d6ae,_0x1505f8,_0x5c7608=!0x1){const _0x1bd5c3=[];let _0x193aa8=this['repository']['getIndex'](_0x28d6ae),_0x424a17=this['repository']['getIndex'](_0x1505f8);for(-0x1==_0x424a17&&(_0x424a17=this['repository']['_revisions']['length'],_0x5c7608=!0x1);_0x193aa8<_0x424a17;)_0x1bd5c3['push'](this['repository']['getRevision'](_0x193aa8)),_0x193aa8++;return _0x5c7608&&_0x1bd5c3['push'](this['repository']['getRevision'](_0x193aa8)),_0x1bd5c3;}['_threeWayMerge'](_0x37cddc,_0x2ce54e,_0x3edbbb,_0x14641a){const _0x50c984=this['editor']['model']['schema'];let _0x258d2e=_0x2ce54e;for(;_0x37cddc[_0x258d2e]&&_0x37cddc[_0x258d2e]['isAdded'];)_0x258d2e++;let _0x19bed2=_0x14641a;for(;_0x3edbbb[_0x19bed2]&&_0x3edbbb[_0x19bed2]['isRemoved'];)_0x19bed2++;_0x3b7301(_0x37cddc,_0x2ce54e,_0x258d2e),_0x3b7301(_0x3edbbb,_0x14641a,_0x19bed2);const _0x5da256=_0x3edbbb['slice'](_0x14641a,_0x19bed2)['concat'](_0x37cddc['slice'](_0x2ce54e,_0x258d2e));return _0x5da256['sort']((_0x5bc1c5,_0x5d1ec7)=>_0x5bc1c5['side']!=_0x5d1ec7['side']?_0x5bc1c5['side']-_0x5d1ec7['side']:_0x5bc1c5['level']!=_0x5d1ec7['level']?_0x5bc1c5['level']-_0x5d1ec7['level']:_0x5bc1c5['distance']!=_0x5d1ec7['distance']?_0x5d1ec7['distance']-_0x5bc1c5['distance']:!!_0x5bc1c5['isAdded']!=!!_0x5d1ec7['isAdded']?-0x1==_0x5bc1c5['side']||0x0==_0x5bc1c5['side']?_0x5bc1c5['isAdded']?-0x1:0x1:_0x5bc1c5['isAdded']?0x1:-0x1:_0x5bc1c5['index']-_0x5d1ec7['index']),{'commonTape':_0x5da256,'iEnd':_0x258d2e,'jEnd':_0x19bed2};function _0x3b7301(_0x45de47,_0x51b0a3,_0x285e23){let _0x52675a=-0x1,_0x6ab455=Number['POSITIVE_INFINITY'],_0x5b0045=!0x0;for(let _0x5c99c4=_0x51b0a3;_0x5c99c4<_0x285e23;_0x5c99c4++)if(_0x50c984['isInline'](_0x45de47[_0x5c99c4]['item'])||(_0x5b0045=!0x1),_0x45de47[_0x5c99c4]['item']['startIndex']<_0x51b0a3&&(_0x52675a=_0x5c99c4),_0x45de47[_0x5c99c4]['item']['endIndex']>=_0x285e23){_0x6ab455=_0x5c99c4;break;}_0x5b0045&&(_0x52675a=_0x285e23-0x1);for(let _0x114152=_0x51b0a3;_0x114152<_0x285e23;_0x114152++)_0x45de47[_0x114152]['side']=_0x114152<=_0x52675a?-0x1:_0x114152<_0x6ab455?0x0:0x1,_0x45de47[_0x114152]['index']=_0x114152;let _0xe99468=0x0;for(let _0x43aa6c=_0x51b0a3;_0x43aa6c<=_0x52675a;_0x43aa6c++)0x0==_0x45de47[_0x43aa6c]['distance']?_0x45de47[_0x43aa6c]['level']=_0xe99468:(_0xe99468++,_0x45de47[_0x43aa6c]['level']=_0xe99468,_0xe99468++);for(let _0x272bef=_0x51b0a3;_0x272bef<_0x285e23;_0x272bef++)0x0==_0x45de47[_0x272bef]['side']&&(_0x45de47[_0x272bef]['level']=_0xe99468);_0xe99468=0x0;for(let _0x220610=_0x285e23-0x1;_0x220610>=_0x6ab455;_0x220610--)0x0==_0x45de47[_0x220610]['distance']?_0x45de47[_0x220610]['level']=_0xe99468:(_0xe99468--,_0x45de47[_0x220610]['level']=_0xe99468,_0xe99468--);}}['_fixObsoleteTags'](_0x55bc89){const _0x17f5f0=new Map(),_0x12c057=this['editor']['model']['schema'];for(let _0x3b6369=0x1;_0x3b6369<_0x55bc89['length'];_0x3b6369++){let _0x33c344,_0x2da998,_0x11554c;const _0x159327=_0x55bc89[_0x3b6369],_0x499d99=_0x55bc89[_0x3b6369-0x1];if('text'==_0x159327['type'])continue;if(_0x159327['type']!=_0x499d99['type'])continue;if(!_0x12c057['isBlock'](_0x499d99['item'])||_0x12c057['isLimit'](_0x499d99['item']))continue;if(!_0x12c057['isBlock'](_0x159327['item'])||_0x12c057['isLimit'](_0x159327['item']))continue;if((_0x55bc89[_0x3b6369]['isAdded']||_0x55bc89[_0x3b6369]['isAddSuggestion'])&&_0x55bc89[_0x3b6369-0x1]['isRemoved'])_0x33c344=_0x55bc89[_0x3b6369],_0x2da998=_0x55bc89[_0x3b6369-0x1],_0x11554c=_0x3b6369-0x1;else{if(!_0x55bc89[_0x3b6369]['isRemoved']||!_0x55bc89[_0x3b6369-0x1]['isAdded']&&!_0x55bc89[_0x3b6369-0x1]['isAddSuggestion'])continue;_0x33c344=_0x55bc89[_0x3b6369-0x1],_0x2da998=_0x55bc89[_0x3b6369],_0x11554c=_0x3b6369;}const _0x10cf5a=_0x33c344['level']==_0x2da998['level'],_0x470d13=Math['abs'](_0x33c344['level'])<Math['abs'](_0x2da998['level'])&&0x0==_0x2da998['distance'];(_0x10cf5a||_0x470d13)&&(_0x17f5f0['set'](_0x2da998['id'],_0x33c344['id']),_0x55bc89['splice'](_0x11554c,0x1),_0x3b6369--,_0x33c344['isAdded']=!0x1);}for(let _0x255cfd=0x0;_0x255cfd<_0x55bc89['length'];_0x255cfd++)_0x17f5f0['has'](_0x55bc89[_0x255cfd]['pairId'])&&(_0x55bc89[_0x255cfd]['pairId']=_0x17f5f0['get'](_0x55bc89[_0x255cfd]['pairId']));}['_removeMissingPairs'](_0x1f166){const _0x1fafb6=new Set(_0x1f166['map'](_0x499d09=>_0x499d09['id']));for(let _0x3f92b2=0x0;_0x3f92b2<_0x1f166['length'];_0x3f92b2++)_0x1fafb6['has'](_0x1f166[_0x3f92b2]['pairId'])||0x0==_0x1f166[_0x3f92b2]['distance']||(_0x1f166[_0x3f92b2]['isIncorrect']=!0x0);return _0x1f166['filter'](_0x3b8f4c=>!_0x3b8f4c['isIncorrect']);}['_markMismatchedRemovedTags'](_0x14a945){const _0x5d9de4=new Set();for(let _0x4f7aae=0x0;_0x4f7aae<_0x14a945['length'];_0x4f7aae++){if(_0x5d9de4['has'](_0x14a945[_0x4f7aae]['id'])&&_0x14a945[_0x4f7aae]['isRemoved']&&(_0x14a945[_0x4f7aae]['isIncorrect']=!0x0),_0x14a945[_0x4f7aae]['isIncorrect'])continue;if(0x0==_0x14a945[_0x4f7aae]['distance'])continue;if('elementStart'!=_0x14a945[_0x4f7aae]['type'])continue;if(null==_0x14a945[_0x4f7aae]['pairId'])continue;let _0x19da91=_0x4f7aae+0x1,_0x20c4a4=0x0;for(;_0x14a945[_0x19da91]['id']!=_0x14a945[_0x4f7aae]['pairId'];)'elementStart'==_0x14a945[_0x19da91]['type']?_0x20c4a4++:'elementEnd'==_0x14a945[_0x19da91]['type']&&_0x20c4a4--,_0x19da91++;if(0x0!=_0x20c4a4){if(_0x14a945[_0x4f7aae]['isRemoved'])_0x14a945[_0x4f7aae]['isIncorrect']=!0x0;else{for(;_0x19da91!=_0x4f7aae;)_0x14a945[_0x19da91]['isRemoved']&&0x0!=_0x14a945[_0x19da91]['distance']&&(_0x14a945[_0x19da91]['isIncorrect']=!0x0,_0x5d9de4['add'](_0x14a945[_0x19da91]['pairId'])),_0x19da91--;}}}return _0x14a945['filter'](_0x5d9f14=>!_0x5d9f14['isIncorrect']);}['_removeUnsupportedChanges'](_0x4619e0){const _0x1babb2=this['editor']['model']['schema'];for(let _0x56ad6f=0x0;_0x56ad6f<_0x4619e0['length'];_0x56ad6f++){if(!(_0x4619e0[_0x56ad6f]['isAdded']||_0x4619e0[_0x56ad6f]['isAddSuggestion']||_0x4619e0[_0x56ad6f]['isRemoved']||_0x4619e0[_0x56ad6f]['isRemoveSuggestion']))continue;if(0x0==_0x4619e0[_0x56ad6f]['distance'])continue;const _0x28d5fe=_0x4619e0[_0x56ad6f]['item'];_0x1babb2['isBlock'](_0x28d5fe)||_0x1babb2['isLimit'](_0x28d5fe)||(_0x4619e0[_0x56ad6f]['isAdded']&&delete _0x4619e0[_0x56ad6f]['isAdded'],_0x4619e0[_0x56ad6f]['isAddSuggestion']&&delete _0x4619e0[_0x56ad6f]['isAddSuggestion'],_0x4619e0[_0x56ad6f]['isRemoveSuggestion']&&delete _0x4619e0[_0x56ad6f]['isRemoveSuggestion'],_0x4619e0[_0x56ad6f]['isRemoved']&&(_0x4619e0[_0x56ad6f]['isIncorrect']=!0x0));}return _0x4619e0['filter'](_0x34f552=>!_0x34f552['isIncorrect']);}['_makeModelFromTape'](_0x897489,_0x4d5aa6,_0x45c687){const _0x306c4b=new wt(),_0x2653f2=[],_0x22c070=new Map(),_0xce801b=this['editor']['model'],_0x1dc28a=_0xce801b['schema'],_0x4f8a57=[_0x306c4b],_0x5f5544={},_0x4e307d={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x19c1f1=null;const _0x1b9fe=[0x0];for(let _0x314ee2=0x0;_0x314ee2<_0x897489['length'];_0x314ee2++){let _0xfe9330,_0x2521f2;if('elementStart'===_0x897489[_0x314ee2]['type']){_0xfe9330=_0xce801b['createPositionFromPath'](_0x306c4b,_0x1b9fe);const _0x39d377=new ft(_0x897489[_0x314ee2]['item']['name'],_0x897489[_0x314ee2]['item']['getAttributes']());_0x4f8a57[0x0]['_appendChild'](_0x39d377),_0x1b9fe['push'](0x0),_0x4f8a57['unshift'](_0x39d377),_0x2521f2=_0xce801b['createPositionFromPath'](_0x306c4b,_0x1b9fe),_0x19c1f1=null;}else{if('elementEnd'===_0x897489[_0x314ee2]['type'])_0x4f8a57['shift'](),_0xfe9330=_0xce801b['createPositionFromPath'](_0x306c4b,_0x1b9fe),_0x1b9fe['pop'](),_0x1b9fe[_0x1b9fe['length']-0x1]++,_0x2521f2=_0xce801b['createPositionFromPath'](_0x306c4b,_0x1b9fe),_0x19c1f1=null;else{if(_0xfe9330=_0xce801b['createPositionFromPath'](_0x306c4b,_0x1b9fe),_0x19c1f1&&_0x47b374(_0x19c1f1,_0x897489[_0x314ee2]['item']))_0x19c1f1['_data']+=_0x897489[_0x314ee2]['item']['data'];else{const _0x61cc2e=new _t(_0x897489[_0x314ee2]['item']['data'],_0x897489[_0x314ee2]['item']['getAttributes']());_0x4f8a57[0x0]['_appendChild'](_0x61cc2e),_0x19c1f1=_0x61cc2e;}_0x1b9fe[_0x1b9fe['length']-0x1]+=_0x897489[_0x314ee2]['item']['offsetSize'],_0x2521f2=_0xce801b['createPositionFromPath'](_0x306c4b,_0x1b9fe);}}for(const _0x1c5632 of _0x897489[_0x314ee2]['markersStart'])_0x22c070['set'](_0x1c5632,{'start':_0xfe9330,'end':null});_0x1a7fa6('isRemoveSuggestion',_0x314ee2,_0xfe9330,_0x2521f2),_0x1a7fa6('isAddSuggestion',_0x314ee2,_0xfe9330,_0x2521f2),_0x1a7fa6('isRemoved',_0x314ee2,_0xfe9330,_0x2521f2),_0x1a7fa6('isAdded',_0x314ee2,_0xfe9330,_0x2521f2);for(const _0x175e92 of _0x897489[_0x314ee2]['markersEnd']){_0x22c070['get'](_0x175e92)['end']=_0x2521f2;}}for(const [_0x31edb2,_0x4245a6]of _0x22c070){const _0x26a412=this['editor']['model']['createRange'](_0x4245a6['start'],_0x4245a6['end']);_0x306c4b['markers']['set'](_0x31edb2,_0x26a412);}return _0x2653f2['sort']((_0x5b3993,_0x44f6d3)=>{const _0x746a63=_0x306c4b['markers']['get']('revision:'+_0x5b3993['id']),_0x528f63=_0x306c4b['markers']['get']('revision:'+_0x44f6d3['id']);return _0x746a63['start']['isBefore'](_0x528f63['start'])?-0x1:_0x746a63['start']['isAfter'](_0x528f63['start'])?0x1:_0x746a63['end']['isBefore'](_0x528f63['end'])?-0x1:_0x746a63['end']['isAfter'](_0x528f63['end'])?0x1:'add'===_0x5b3993['type']?-0x1:0x1;}),{'root':_0x306c4b,'changes':_0x2653f2};function _0x1a7fa6(_0x3e735e,_0x19c465,_0x276ced,_0x88c8d6){const _0x233e3b=!!_0x897489[_0x19c465][_0x3e735e],_0x2b3caa=_0x233e3b?_0x897489[_0x19c465][_0x3e735e]['userId']:null,_0x46d3d7=_0x19c465===_0x897489['length']-0x1,_0x1fbe0c=_0x4e307d[_0x3e735e][0x0],_0x12d326=_0x1dc28a['isObject'](_0x897489[_0x19c465]['item']);!_0x5f5544[_0x3e735e]&&_0x233e3b?_0x5f5544[_0x3e735e]={'start':_0x276ced,'tapeItem':_0x897489[_0x19c465],'userId':_0x2b3caa,'type':_0x3e735e}:_0x5f5544[_0x3e735e]&&!_0x233e3b?(_0x5f5544[_0x3e735e]['end']=_0x276ced,_0x402884(_0x5f5544[_0x3e735e]),_0x5f5544[_0x3e735e]=null):_0x5f5544[_0x3e735e]&&_0x233e3b&&_0x5f5544[_0x3e735e]['userId']!==_0x2b3caa&&(_0x5f5544[_0x3e735e]['end']=_0x276ced,_0x1fbe0c&&_0x1fbe0c['userId']===_0x5f5544[_0x3e735e]['userId']||_0x402884(_0x5f5544[_0x3e735e]),_0x5f5544[_0x3e735e]={'start':_0x276ced,'tapeItem':_0x897489[_0x19c465],'userId':_0x2b3caa,'type':_0x3e735e}),_0x5f5544[_0x3e735e]&&_0x12d326&&('elementStart'!==_0x897489[_0x19c465]['type']||_0x1fbe0c&&_0x1fbe0c['userId']===_0x2b3caa||_0x4e307d[_0x3e735e]['unshift']({'userId':_0x2b3caa,'object':_0x897489[_0x19c465]['item'],'change':_0x5f5544[_0x3e735e]}),'elementEnd'===_0x897489[_0x19c465]['type']&&_0x1fbe0c&&_0x1fbe0c['object']===_0x897489[_0x19c465]['item']&&(_0x4e307d[_0x3e735e]['shift'](),_0x5f5544[_0x3e735e]=_0x1fbe0c['change'])),_0x5f5544[_0x3e735e]&&_0x46d3d7&&(_0x5f5544[_0x3e735e]['end']=_0x88c8d6,_0x402884(_0x5f5544[_0x3e735e]),_0x5f5544[_0x3e735e]=null);}function _0x402884({start:_0x531c85,end:_0x1d34d4,tapeItem:_0x4afde5,userId:_0x1092ed,type:_0x4375ee}){const _0x444cbd=_0x4afde5['item'],_0x3c71fb=_0xce801b['schema']['isBlock'](_0x444cbd)&&!_0xce801b['schema']['isLimit'](_0x444cbd),_0x42d72b=_0x531c85['nodeAfter']==_0x1d34d4['parent']&&_0x1d34d4['isAtStart'];if(_0x3c71fb&&_0x42d72b)return;const _0x52224f=_0xce801b['createRange'](_0x531c85,_0x1d34d4),_0x3cb22a=_0x4d5aa6['get'](_0x1092ed),_0x406633=new r({'author':_0x3cb22a,'type':'isAdded'==_0x4375ee||'isAddSuggestion'==_0x4375ee?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x4375ee||'isRemoveSuggestion'==_0x4375ee},'createdAt':new Date(),'rootName':_0x45c687});_0x2653f2['push'](_0x406633),_0x306c4b['markers']['set']('revision:'+_0x406633['id'],_0x52224f);}function _0x47b374(_0x15cb02,_0x28b8da){const _0xf9a48f=_0x15cb02['getAttributes'](),_0x5af08b=_0x28b8da['getAttributes']();for(const _0x204d74 of _0xf9a48f){if(_0x204d74[0x1]!==_0x28b8da['getAttribute'](_0x204d74[0x0]))return!0x1;_0x5af08b['next']();}return _0x5af08b['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x3e8f40=>{const _0x4a49cb=_0x3e8f40['markerName']['split'](':')[0x1],_0x2ba6cf=this['_getChangeFromId'](_0x4a49cb);if(!_0x2ba6cf)return null;const _0x2afb25='add'==_0x2ba6cf['type']?'insertion':'deletion',_0x2ef2ac=['ck-suggestion-marker','ck-suggestion-marker-'+_0x2afb25];return _0x2ba6cf['data']['isSuggestion']&&_0x2ef2ac['push']('ck-suggestion-marker-'+_0x2afb25+'-new'),this['activeChange']==_0x2ba6cf&&_0x2ef2ac['push']('ck-suggestion-marker--active'),{'classes':_0x2ef2ac,'attributes':{'data-change-id':_0x4a49cb}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x512759=>{_0x512759['on']('element:pre',(_0x28d0a2,_0x28969e,_0x3fa9e9)=>{const _0x520674=_0x28969e['viewItem']['getChild'](0x0);if(!_0x520674||!_0x520674['is']('element','code'))return;if(!_0x3fa9e9['consumable']['consume'](_0x520674,{'attributes':['vid_start','vid_end']}))return;const _0x23442e=_0x28969e['modelRange']['start']['nodeAfter'];_0x3fa9e9['writer']['setAttribute']('vid_start',_0x520674['getAttribute']('vid_start'),_0x23442e),_0x3fa9e9['writer']['setAttribute']('vid_end',_0x520674['getAttribute']('vid_end'),_0x23442e);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x599431=>{_0x599431['on']('element',(_0x4d8a36,_0x41b872,_0x4f5096)=>{if(!_0x4f5096['consumable']['consume'](_0x41b872['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x41b872['modelRange']['isCollapsed'])return;const _0x3c2bbf=_0x41b872['modelRange']['start']['nodeAfter'];_0x3c2bbf['hasAttribute']('vid_start')||_0x3c2bbf['hasAttribute']('vid')||(_0x4f5096['writer']['setAttribute']('vid_start',_0x41b872['viewItem']['getAttribute']('vid_start'),_0x3c2bbf),_0x4f5096['writer']['setAttribute']('vid_end',_0x41b872['viewItem']['getAttribute']('vid_end'),_0x3c2bbf));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x218a1a=>_0x218a1a['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x1c4849,[,_0x4390a6])=>{['vid_start','vid_end','vid']['includes'](_0x4390a6)&&(_0x1c4849['return']=!0x0,_0x1c4849['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x710ea7=>{_0x710ea7['on']('attribute:vid',(_0x10c1ae,_0x43bb15,_0x1d5107)=>{if('\x20'!=_0x43bb15['item']['data']||_0x43bb15['item']['parent']['maxOffset']>0x1)return;if(!_0x1d5107['consumable']['consume'](_0x43bb15['item'],_0x10c1ae['name']))return;const _0x108e7c=_0x1d5107['writer'],_0x3efecb=_0x1d5107['mapper']['toViewRange'](_0x43bb15['range']);_0x108e7c['wrap'](_0x3efecb,_0x108e7c['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0xa1e58c){const _0x1ce16a=_0xa1e58c['plugins']['get']('RevisionViewer');return(_0x274067,_0x3b58cd,_0x3a13b8)=>{const _0x3c0100=_0x3b58cd['markerName']['split'](':')[0x1],_0x5a3624=_0x1ce16a['_getChangeFromId'](_0x3c0100);if(!_0x5a3624)return null;const _0x3b3f13='add'==_0x5a3624['type']?'split':'merge';if(!_0x3a13b8['consumable']['test'](_0x3b58cd['markerRange'],_0x274067['name']))return;const _0x1a805d=_0x3b58cd['markerRange']['getWalker'](),_0x43ffcc=_0x3b58cd['markerRange']['start'],_0x219d14=_0xa1e58c['model']['schema'];let _0x4e775b=null,_0x2f9a5d=null,_0x227112=!0x1,_0x570464=!0x1;for(const _0x45dfa4 of _0x1a805d){const _0x23fec3=_0x45dfa4['item'];_0x227112=_0x227112||_0x219d14['isContent'](_0x23fec3);const _0x56ee0b=_0x3a13b8['mapper']['toViewElement'](_0x23fec3);if(_0x56ee0b&&_0x56ee0b['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x45dfa4['type']&&(_0x219d14['isBlock'](_0x23fec3)&&!_0x219d14['isLimit'](_0x23fec3)&&(_0x23fec3['nextSibling']||_0x43ffcc['isAtEnd']?_0x4e775b&&_0x4e775b['parent']==_0x23fec3||(_0x4e775b=_0x23fec3,_0x1f7ef7(_0x45dfa4['previousPosition']),_0x570464=!0x0):_0x2f9a5d=_0x2f9a5d||_0x45dfa4['previousPosition']));}function _0x1f7ef7(_0x27b5ae){const _0x3bf367=_0x3a13b8['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3b3f13}),_0x529297=_0x3a13b8['mapper']['toViewPosition'](_0x27b5ae);_0x5a3624['data']['isSuggestion']&&_0x3a13b8['writer']['addClass']('ck-suggestion-marker-'+_0x3b3f13+'-new',_0x3bf367),_0x1ce16a['activeChange']==_0x5a3624&&_0x3a13b8['writer']['addClass']('ck-suggestion-marker--active',_0x3bf367),_0x3a13b8['writer']['insert'](_0x529297,_0x3bf367),_0x3a13b8['mapper']['bindElementToMarker'](_0x3bf367,_0x3b58cd['markerName']);}_0x227112||_0x570464||!_0x2f9a5d||_0x1f7ef7(_0x2f9a5d);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0xa65ad1,_0x48698c,_0x442fa6)=>{const _0x57941e=_0x442fa6['mapper']['markerNameToElements'](_0x48698c['markerName']);if(_0x57941e){for(const _0xa4982 of _0x57941e)(_0xa4982['hasClass']('ck-suggestion-marker-split')||_0xa4982['hasClass']('ck-suggestion-marker-merge'))&&(_0x442fa6['mapper']['unbindElementFromMarkerName'](_0xa4982,_0x48698c['markerName']),_0x442fa6['writer']['remove'](_0xa4982));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x1c6239,_0x45f2ea,_0xa85d70)=>{const _0x5d7dde=_0x45f2ea['markerName']['split'](':')[0x1],_0x58a25a=this['_getChangeFromId'](_0x5d7dde);if(!_0x58a25a)return null;const _0x266b90='add'==_0x58a25a['type']?'split':'merge';if(_0xa85d70['consumable']['test'](_0x45f2ea['markerRange'],_0x1c6239['name']))for(const _0x1d0765 of _0x45f2ea['markerRange']['getItems']()){if(!_0x1d0765['is']('element','softBreak'))continue;const _0x112496=_0xa85d70['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x266b90}),_0x14b56a=_0xa85d70['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x1d0765));_0x58a25a['data']['isSuggestion']&&_0xa85d70['writer']['addClass']('ck-suggestion-marker-'+_0x266b90+'-new',_0x112496),this['activeChange']==_0x58a25a&&_0xa85d70['writer']['addClass']('ck-suggestion-marker--active',_0x112496),_0xa85d70['writer']['insert'](_0x14b56a,_0x112496),_0xa85d70['mapper']['bindElementToMarker'](_0x112496,_0x45f2ea['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x4d267f=>{for(const _0x20da21 of this['editor']['model']['document']['getRootNames']()){const _0x1be22b=this['editor']['model']['document']['getRoot'](_0x20da21),_0x581bd6=this['editor']['editing']['view']['document']['getRoot'](_0x20da21);if(_0x581bd6){const _0x15796a=_0x1be22b['getAttribute']('revisionHistoryAttachChange');if(_0x4d267f['removeAttribute']('data-change-id',_0x581bd6),_0x4d267f['removeClass']('ck-revision-history-root-add',_0x581bd6),_0x4d267f['removeClass']('ck-revision-history-root-remove',_0x581bd6),_0x4d267f['removeClass']('ck-revision-history-root--active',_0x581bd6),_0x15796a){const _0x174950=this['_getChangeFromId'](_0x15796a);if(!_0x174950)return null;_0x4d267f['setAttribute']('data-change-id',_0x15796a,_0x581bd6),_0x4d267f['addClass']('ck-revision-history-root-'+_0x174950['type'],_0x581bd6),this['activeChange']==_0x174950&&_0x4d267f['addClass']('ck-revision-history-root--active',_0x581bd6);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0xe3279d=>'revision-comment:'+_0xe3279d,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x1908c7=>'revision-suggestion:'+_0x1908c7,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x485435=>({'name':'suggestion:'+_0x485435,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x4099dc=>{const _0x509b5f=_0x4099dc['markerName']['split'](':')[0x1];return'insertion'!=_0x509b5f&&'deletion'!=_0x509b5f?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x509b5f]};}}),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',(_0x57247d,_0x3f0334,_0x1e8d19)=>{const _0x50dabf=_0x1e8d19['mapper']['markerNameToElements'](_0x3f0334['markerName']);if(_0x50dabf){for(const _0x46f4c6 of _0x50dabf)_0x46f4c6['is']('uiElement')&&(_0x1e8d19['mapper']['unbindElementFromMarkerName'](_0x46f4c6,_0x3f0334['markerName']),_0x1e8d19['writer']['remove'](_0x46f4c6));}},{'priority':'high'});}['_getChangeFromId'](_0x26251a){return this['_changeIdToChange']['get'](_0x26251a);}['_getViewForChange'](_0x4da941){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x4da941),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x23e587,_0x3ab371,_0x39800e,_0x183e64)=>{_0x183e64&&this['_balloon']['remove'](_0x183e64),_0x39800e&&(this['_balloon']['add']({'view':_0x39800e,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x25a4c6=this['editor']['editing'],_0x5839cc=this['_getChangeFromId'](_0x39800e['changeId']);let _0x129039;if(_0x5839cc['data']['isOnRoot']){const _0x302d82=_0x25a4c6['view']['getDomRoot'](_0x5839cc['rootName']);_0x129039=Array['from'](_0x302d82['getClientRects']());}else{const _0x417344=this['editor']['model']['markers']['get']('revision:'+_0x39800e['changeId']);_0x129039=Array['from'](_0x25a4c6['mapper']['markerNameToElements'](_0x417344['name']))['map'](_0x288ee2=>_0x25a4c6['view']['domConverter']['mapViewToDom'](_0x288ee2))['map'](_0x5ae2e3=>Array['from'](_0x5ae2e3['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x129039[0x0];return _0x129039['find'](_0x467b55=>_0x467b55['top']-0x3<=this['_activeViewTarget']['y']&&_0x467b55['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x467b55['left']-0x3<=this['_activeViewTarget']['x']&&_0x467b55['right']+0x3>=this['_activeViewTarget']['x'])||_0x129039[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x4383cd,_0x50fdf8,_0x3c7fdc,_0x52a9ed)=>{this['activeView']=_0x3c7fdc?this['_getViewForChange'](_0x3c7fdc):null,this['editor']['model']['change'](()=>{const _0x56bc1e=this['editor']['editing'];_0x52a9ed&&(_0x52a9ed['data']['isOnRoot']?_0x56bc1e['view']['change'](_0x4ff195=>{_0x4ff195['removeClass']('ck-revision-history-root--active',_0x56bc1e['view']['document']['getRoot'](_0x52a9ed['rootName']));}):_0x56bc1e['reconvertMarker']('revision:'+_0x52a9ed['id'])),_0x3c7fdc&&(_0x3c7fdc['data']['isOnRoot']?_0x56bc1e['view']['change'](_0x5d7f26=>{_0x5d7f26['addClass']('ck-revision-history-root--active',_0x56bc1e['view']['document']['getRoot'](_0x3c7fdc['rootName']));}):_0x56bc1e['reconvertMarker']('revision:'+_0x3c7fdc['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x5e256a,_0x2df2f7)=>{if(this['activeChange'])return;const _0x244880=this['_findChangeIdFromDomTarget'](_0x2df2f7['target']),_0x1ed54c=this['_changeIdToChange']['get'](_0x244880);_0x1ed54c?(this['_activeViewTarget']={'x':_0x2df2f7['domEvent']['x'],'y':_0x2df2f7['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x1ed54c)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x2979ce,_0x2b47d6)=>{const _0x1034e5=this['_findChangeIdFromDomTarget'](_0x2b47d6['target']),_0x2c7e8d=this['_changeIdToChange']['get'](_0x1034e5);_0x2c7e8d?(this['_activeViewTarget']={'x':_0x2b47d6['domEvent']['x'],'y':_0x2b47d6['domEvent']['y']},_0x2c7e8d===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x2c7e8d):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x28d55b){do{const _0x2c52fd=_0x28d55b['getAttribute']('data-change-id');if(_0x2c52fd)return _0x2c52fd;_0x28d55b=_0x28d55b['parent'];}while(_0x28d55b);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x19eebb=>{for(const _0x132870 of this['editor']['model']['markers'])_0x19eebb['removeMarker'](_0x132870);});}}function et(_0x52b5db,_0x2c110b){return(_0x13655d,_0x4ee0cf,_0x2b4eea)=>{if(!_0x2b4eea['consumable']['test'](_0x4ee0cf['markerRange'],_0x13655d['name']))return;const _0x338ec8=_0x4ee0cf['markerRange']['getWalker'](),_0x213a9c=_0x4ee0cf['markerRange']['start'],_0x14a452=_0x52b5db['model']['schema'];let _0x504557=null,_0x422331=null,_0x53c401=!0x1,_0x34b0f0=!0x1;for(const _0x354e4c of _0x338ec8){const _0x36ada2=_0x354e4c['item'];_0x53c401=_0x53c401||_0x14a452['isContent'](_0x36ada2);const _0x370a31=_0x2b4eea['mapper']['toViewElement'](_0x36ada2);if(_0x370a31&&_0x370a31['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x354e4c['type']&&(_0x14a452['isBlock'](_0x36ada2)&&!_0x14a452['isLimit'](_0x36ada2)&&(_0x36ada2['nextSibling']||_0x213a9c['isAtEnd']?_0x504557&&_0x504557['parent']==_0x36ada2||(_0x504557=_0x36ada2,_0x59e2fe(_0x354e4c['previousPosition']),_0x34b0f0=!0x0):_0x422331=_0x422331||_0x354e4c['previousPosition']));}function _0x59e2fe(_0x132a65){const _0x2490ae=_0x2b4eea['mapper']['toViewPosition'](_0x132a65),_0x448fee=_0x2b4eea['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x2c110b});_0x2b4eea['writer']['insert'](_0x2490ae,_0x448fee),_0x2b4eea['mapper']['bindElementToMarker'](_0x448fee,_0x4ee0cf['markerName']);}_0x53c401||_0x34b0f0||!_0x422331||_0x59e2fe(_0x422331);};}class bt extends _0x50e772{constructor(_0x485ec9){super(_0x485ec9);const _0x254103=_0x485ec9['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x254103,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x254103,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x5713b8=this['editor'],_0x4d01b4=_0x5713b8['plugins']['get'](d),_0x5039bc=_0x4d01b4['isReady']?_0x4d01b4['diff']['newRevisionId']:null;_0x5713b8['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x5039bc);}['refresh'](){const {isReady:_0x1b2f71,isEnabled:_0x230250}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x1b2f71&&_0x230250;}}class yt extends _0x50e772{['_step'];constructor(_0x4da827,{direction:_0x541646}){super(_0x4da827);const _0x12bebc=_0x4da827['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x541646?0x1:-0x1,this['listenTo'](_0x12bebc,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x12bebc,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x12bebc,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x3e5762=this['editor'],_0x3dab51=_0x3e5762['plugins']['get'](d),{isNavigationMode:_0x4db3ca,currentChangeNumber:_0x50292a}=_0x3dab51;let _0x559850;if(_0x3dab51['activeChange']=_0x4db3ca?_0x3dab51['diff']['changes']['get'](_0x50292a+this['_step']):_0x3dab51['diff']['changes']['first'],_0x3dab51['activeChange']['data']['isOnRoot'])_0x559850=_0x3e5762['editing']['view']['getDomRoot'](_0x3dab51['activeChange']['rootName']);else{const _0x5d7c7b=_0x3e5762['model']['markers']['get']('revision:'+_0x3dab51['activeChange']['id']);_0x559850=_0x27c734(_0x3e5762['editing'],_0x5d7c7b);}_0x102259({'target':_0x559850,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x3fced4,currentChangeNumber:_0x5980d0,numberOfChanges:_0x320b51,isReady:_0x2e0cc,isEnabled:_0x561170}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x561170&&_0x2e0cc&&_0x320b51)&&(!_0x3fced4||(0x1===this['_step']?_0x5980d0<_0x320b51-0x1:_0x5980d0>0x0));}}class _i extends _0x5b97df{constructor(_0x95ef91){super(_0x95ef91);const _0x11f3f6=this['bindTemplate'],_0x1cdb4b=new _0x1eab0c(_0x95ef91),_0x5c637e=new _0x1eab0c(_0x95ef91);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',(_0x13e05a,_0x231fc8)=>_0x13e05a&&_0x231fc8>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x3b749e,_0x86ebb6,_0x594ba1,_0x377f01)=>{if(!_0x3b749e)return y(_0x95ef91,'Loading...');if(!_0x594ba1)return y(_0x95ef91,'No\x20changes');const _0x276494=y(_0x95ef91,'NUMBER_OF_CHANGES',_0x594ba1);return _0x377f01?y(_0x95ef91,'X_OF_Y_CHANGES',[_0x86ebb6+0x1,_0x594ba1]):_0x276494;}),_0x1cdb4b['set']({'label':y(_0x95ef91,'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'}),_0x5c637e['set']({'label':y(_0x95ef91,'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'}),_0x1cdb4b['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x5c637e['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x1cdb4b['on']('execute',()=>this['fire']('execute','backward')),_0x5c637e['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',_0x11f3f6['if']('_isStatusLabelVisible','ck-hidden',_0x336e9e=>!_0x336e9e)]},'children':[{'text':_0x11f3f6['to']('isNavigationMode',_0x21d01a=>_0x21d01a?y(_0x95ef91,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x95ef91,'Total')+':\x20')}]},{'text':_0x11f3f6['to']('_statusText')}]},new _0x503090(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x1cdb4b,_0x5c637e]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x28ca11{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x5bbeb2=this['editor']['editing']['view'];_0x5bbeb2['change'](_0x125938=>{for(const _0x3451b7 of _0x5bbeb2['document']['roots'])_0x125938['addClass'](ce,_0x3451b7);});}['hide'](){const _0x35d98b=this['editor']['editing']['view'];_0x35d98b['change'](_0x4d691c=>{for(const _0x15f0cb of _0x35d98b['document']['roots'])_0x4d691c['removeClass'](ce,_0x15f0cb);});}}class R extends _0x28ca11{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x320231=this['editor'],_0x580ab6=_0x320231['plugins']['get'](d),_0x4d59d9=_0x320231['plugins']['get'](de);_0x320231['ui']['componentFactory']['add']('exitToEditing',_0x2ec4ea=>{const _0x9c830d=new _0x1eab0c(_0x2ec4ea);return _0x9c830d['set']({'label':y(_0x2ec4ea,'Back\x20to\x20editing'),'icon':_0x5318e5['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x9c830d,'execute',()=>{_0x320231['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x9c830d;}),_0x320231['ui']['componentFactory']['add']('restoreRevision',_0x4192d1=>{const _0x3475e6=new _0x1eab0c(_0x4192d1);return _0x3475e6['set']({'label':y(_0x4192d1,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x3475e6['bind']('isEnabled')['to'](_0x320231['commands']['get']('restoreRevision')),this['listenTo'](_0x3475e6,'execute',()=>_0x320231['execute']('restoreRevision')),_0x3475e6;}),_0x320231['ui']['componentFactory']['add']('changesNavigation',_0x2c9622=>{const _0x39fc88=new _i(_0x2c9622),_0x23beae=_0x320231['commands']['get']('showPreviousChange'),_0x236130=_0x320231['commands']['get']('showNextChange');return _0x39fc88['bind']('isBackwardNavigationEnabled')['to'](_0x23beae,'isEnabled'),_0x39fc88['bind']('isForwardNavigationEnabled')['to'](_0x236130,'isEnabled'),_0x39fc88['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x580ab6),this['listenTo'](_0x39fc88,'execute',(_0x4263c0,_0x1741ab)=>{_0x320231['execute']('forward'===_0x1741ab?'showNextChange':'showPreviousChange');}),_0x39fc88;}),_0x4d59d9['show'](),_0x580ab6['on']('change:isReady',(_0x114d1b,_0x14b108,_0x258de8)=>{_0x258de8?_0x4d59d9['hide']():_0x4d59d9['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x42a21e,_0x15c05c){super(_0x42a21e,_0x15c05c);const _0x545222=this['bindTemplate'];this['set']({'label':y(_0x42a21e,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x42a21e,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x545222['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 _0xc86f71=this['fieldView']['element'];this['_tooltipString']=_0xc86f71['scrollWidth']>_0xc86f71['clientWidth']&&_0xc86f71['value']||'';}}class ti extends _0x5b97df{constructor(_0x12e03f,_0x3050d2,_0x5da3dc){super(_0x12e03f);const _0x124a92=new _0x4f9823();_0x124a92['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 _0x494c26=['ck','ck-revision-history-sidebar__revision-author'];_0x5da3dc&&_0x494c26['push']('ck-revision-history-sidebar__revision-author_creator');const _0x2357a5=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x12e03f,_0x5da3dc?'Revision\x20creator':'Revision\x20author')},'children':[_0x124a92,_0x3050d2['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x494c26},'children':_0x2357a5});}}function ni(_0x1801a2,_0x44e66f){const _0x509b53=_0x1801a2['bindTemplate'],_0x1f1423=_0x1801a2['locale'],_0x8cb521=_0x40b2e8(_0x1f1423);_0x8cb521['panelPosition']='sw';const _0x3ad841=function(_0x56bc2d,_0x405345){const _0x1c9b3a=function(_0x5c9188,_0x222571){const _0x540c9c=_0x5c9188['locale'],_0x230b02={'Compare\x20against\x20selected':y(_0x540c9c,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x540c9c,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x540c9c,'Restore\x20this\x20revision')};return _0x222571['map'](_0x21dea0=>{const _0x5d1288=_0x230b02[_0x21dea0['name']];return _0x5d1288&&_0x5d1288!==_0x21dea0['name']&&(_0x21dea0['name']=_0x5d1288),_0x21dea0;});}(_0x56bc2d,_0x405345),_0x5bc8e4=new _0x40b03c();for(const _0x5989fe of _0x1c9b3a){const _0x5e1106={'type':'button','model':new to({'label':_0x5989fe['name'],'class':_0x5989fe['class'],'withText':!0x0,'role':'menuitem','_action':_0x5989fe['action']})};_0x5e1106['model']['bind']('isEnabled')['to'](_0x56bc2d,'isActionsDropdownOpen',_0x30fe1c=>'function'!=typeof _0x5989fe['isEnabled']||(!_0x30fe1c||_0x5989fe['isEnabled'](_0x56bc2d))),_0x5bc8e4['add'](_0x5e1106);}return _0x5bc8e4;}(_0x1801a2,_0x44e66f);return _0x1801a2['bind']('isActionsDropdownOpen')['to'](_0x8cb521,'isOpen'),_0x8cb521['buttonView']['set']({'label':y(_0x1f1423,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x5318e5['threeVerticalDots']}),_0x8cb521['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x509b53['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x509b53['to'](_0x4887c2=>_0x4887c2['stopPropagation']())}}),_0x8cb521['on']('execute',_0x3831b8=>{_0x1801a2['isReady']&&'function'==typeof _0x3831b8['source']['_action']&&_0x3831b8['source']['_action'](_0x1801a2);}),_0x21b132(_0x8cb521,_0x3ad841,{'role':'menu'}),_0x8cb521['listenTo'](_0x1801a2,'change:isActionsDropdownOpen',(_0x1d0f30,_0xaa3b0e,_0x21242a)=>{if(_0x21242a)for(const _0x5e65aa of _0x8cb521['listView']['items']){const _0x2ac448=_0x5e65aa['children']['first'],_0xbed4eb=_0x44e66f['find'](_0x1678bb=>_0x1678bb['action']===_0x2ac448['_action'])['isVisible'];_0x5e65aa['isVisible']=void 0x0===_0xbed4eb||_0xbed4eb(_0x1801a2);}}),_0x8cb521;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x120ca6(_0x5b97df){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x139bc3,_0x1cecc5,_0x1f7c8f,_0x22271a){super(_0x139bc3);const _0x3984ef=this['bindTemplate'],_0x15fe1f=function(_0x1521b3,_0x63361e){const _0x373432=Array['from'](_0x63361e['authors'])['filter'](_0x39ab94=>_0x39ab94!=_0x63361e['creator']);return _0x63361e['creator']&&_0x373432['unshift'](_0x63361e['creator']),_0x373432['map'](_0x225c58=>new ti(_0x1521b3,_0x225c58,_0x225c58==_0x63361e['creator']));}(_0x139bc3,_0x1cecc5);this['id']=_0x1cecc5['id'],this['_revision']=_0x1cecc5,this['_requireRevisionName']=_0x22271a,this['bind']('name','createdAt')['to'](_0x1cecc5),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x5f0d8c=>{return _0x360679=_0x139bc3['uiLanguage'],(_0x488123=_0x5f0d8c)['toLocaleDateString'](_0x360679,{'month':'long','day':'numeric'})+',\x20'+_0x488123['toLocaleTimeString'](_0x360679,{'hour':'numeric','minute':'numeric'});var _0x360679,_0x488123;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x139bc3,_0x2fdf3a),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x4c0024=>_0x4c0024||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x53df16,_0x427c27)=>_0x53df16&&_0x427c27),this['revisionActionsView']=_0x1f7c8f&&_0x1f7c8f['length']?ni(this,_0x1f7c8f):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x3984ef['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x3984ef['if']('isEnabled','ck-disabled',_0x3dd6c9=>!_0x3dd6c9),_0x3984ef['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x3984ef['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x3984ef['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':_0x3984ef['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':_0x15fe1f}]},this['revisionActionsView']],'on':{'click':_0x3984ef['to'](_0x36c86a=>{_0x36c86a['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x2d5735=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x2d5735,'change',()=>{this['_requireRevisionName']&&!_0x2d5735['value']||this['fire']('setName',{'id':this['id'],'name':_0x2d5735['value']}),_0x2d5735['value']||(_0x2d5735['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(_0x255174,_0x59d694){const _0x338275=_0x34d35b['fromJSDate'](_0x255174)['setLocale'](_0x59d694),_0x213e9a=_0x34d35b['local'](),_0x386c8f=_0x213e9a['minus']({'days':0x1})['startOf']('day');let _0x2a7578,_0x32b67b;return _0x338275['hasSame'](_0x213e9a,'day')?(_0x2a7578=_0x338275['startOf']('day')['toJSDate'](),_0x32b67b=_0x338275['toRelativeCalendar']()):_0x338275['hasSame'](_0x386c8f,'day')?(_0x2a7578=_0x386c8f['toJSDate'](),_0x32b67b=_0x338275['toRelativeCalendar']()):_0x338275['hasSame'](_0x213e9a,'week')?(_0x2a7578=_0x338275['startOf']('week')['toJSDate'](),_0x32b67b=_0x338275['weekdayLong']||''):_0x338275['hasSame'](_0x213e9a,'year')?(_0x2a7578=_0x338275['startOf']('month')['toJSDate'](),_0x32b67b=_0x338275['monthLong']||''):(_0x2a7578=_0x338275['startOf']('year')['toJSDate'](),_0x32b67b=String(_0x338275['year'])),{'startDate':_0x2a7578,'localizedPeriodName':_0x32b67b};}class mi extends _0x5b97df{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x34821e,_0x1f960a,_0x1a08ed,_0x4631f2){super(_0x34821e);const _0x38ee4a=di(_0x1f960a,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x1f960a,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x1a08ed,this['_requireRevisionName']=_0x4631f2,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':_0x38ee4a}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x1d8eac){const _0x47e710=new ai(this['locale'],_0x1d8eac,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x47e710);}['removeRevision'](_0x123e7b){const _0x10c268=this['revisionViews']['find'](_0x5ece56=>_0x5ece56['id']===_0x123e7b['id']);this['revisionViews']['remove'](_0x10c268);}}class as extends _0x5b97df{constructor(_0x5e08ec){super(_0x5e08ec);const _0x6076ec=new _0x4f9823();_0x6076ec['content']=_0x5318e5['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x6076ec,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x5e08ec,'Revision\x20history')]}]});}}class ci extends _0x5b97df{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x67988f,_0x31b837,_0x5b5e87,_0x22c1ca){super(_0x67988f);const _0xc47de4=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x31b837,this['_revisionActions']=_0x5b5e87,this['_requireRevisionName']=_0x22c1ca,this['on']('select',(_0x46461d,_0x41717f)=>{this['fire']('revisionSelected',_0x41717f);}),this['on']('setName',(_0x1a5fbc,_0x4e43cf)=>{this['fire']('revisionSetName',_0x4e43cf);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x67988f),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0xc47de4['if']('isEnabled','ck-disabled',_0xc4e036=>!_0xc4e036)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x413764 of this['_revisions'])this['_addRevision'](_0x413764);this['_revisions']['on']('add',(_0x421b0b,_0x57475f)=>{this['_addRevision'](_0x57475f);}),this['_revisions']['on']('remove',(_0x31419e,_0x53030c)=>{this['_removeRevision'](_0x53030c);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x30fdf7=>_0x30fdf7['revisionViews']['map'](_0x5a0008=>_0x5a0008))['flat']();}['selectRevision'](_0x543622){for(const _0x383947 of this['revisionViews'])_0x543622&&_0x543622['id']===_0x383947['id']?_0x383947['select']():_0x383947['deselect']();}['highlightRevisions'](_0x3404a2){for(const _0xad7c9f of this['revisionViews'])_0x3404a2['some'](({id:_0x8d9f74})=>_0x8d9f74===_0xad7c9f['id'])?_0xad7c9f['highlight']():_0xad7c9f['unhighlight']();}['_addRevision'](_0x310d09){const _0x38f439=di(_0x310d09['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x1e8b58=this['timePeriodViews']['get'](0x0);_0x1e8b58&&_0x1e8b58['startDate']['getTime']()===_0x38f439['getTime']()||(_0x1e8b58=new mi(this['locale'],_0x38f439,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x1e8b58)),_0x1e8b58['addRevision'](_0x310d09);}['_removeRevision'](_0x5545c3){const _0x3a2d27=di(_0x5545c3['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x3a2d27)['removeRevision'](_0x5545c3);}['_getTimePeriodViewByStartDate'](_0x4c41e9){return this['timePeriodViews']['find'](_0x21f811=>_0x21f811['startDate']['getTime']()===_0x4c41e9['getTime']());}}class w extends _0x28ca11{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x14cffe,Context as _0x303590,PendingActions as _0x3ec53a,icons as _0x3398b1,Command as _0x133b0b,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x4dd59d,uid as _0x2bbace,Collection as _0x9053aa,logWarning as _0x70a362,FocusTracker as _0xb34329,KeystrokeHandler as _0x1b6f80,scrollViewportToShowTarget as _0x5d8123,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x59d048}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x263be0,getMarkerDomElement as _0x2115e1,ConfirmMixin as _0x2a9c48,sanitizeEditorConfig as _0x256394}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x405474,ViewText as _0x403540,ViewElement as _0x250e56,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x27bf8b,ViewAttributeElement as _0x57df7d,ViewEmptyElement as _0xe9e302,ViewRawElement as _0xdbb659,ViewUIElement as _0x2ecba1,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0xe75fe7,set as _0x5c0b8e,unset as _0x4c60c5,isEqual as _0x262967}from'lodash-es';import{View as _0x46a098,injectCssTransitionDisabler as ts,submitHandler as _0x2f68e7,LabeledFieldView as at,createLabeledInputText as _0x2c31d9,createDropdown as _0x580c86,ListView as te,ListItemView as _0x1cbfc2,ButtonView as _0x2484d4,MenuBarMenuView as _0x5fde76,MenuBarMenuListView as _0x3aaace,MenuBarMenuListItemView as _0x5c2c8d,MenuBarMenuListItemButtonView as _0x308a8f,ContextualBalloon as _0x553bf6,ToolbarSeparatorView as _0x4892e9,IconView as _0x4dde65,addListToDropdown as _0x923b8a,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 _0x354dc3}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x4dd59d(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0xe456e2){super(),this['id']=_0xe456e2['id']||_0x2bbace(),this['creator']=_0xe456e2['creator']||null,this['authors']=_0xe456e2['authors']||[],this['diffData']=_0xe456e2['diffData']||null,this['toVersion']=_0xe456e2['toVersion']||0x0,this['fromVersion']=_0xe456e2['fromVersion']||0x0,this['set']('name',_0xe456e2['name']||''),this['set']('createdAt',_0xe456e2['createdAt']||new Date()),this['set']('attributes',_0xe456e2['attributes']||{});}['setName'](_0x29cc6f){this['_update']({'name':_0x29cc6f});}['setAttribute'](_0x465630,_0x1db000){const _0x54d325=_0xe75fe7(this['attributes']);_0x5c0b8e(_0x54d325,_0x465630,_0x1db000),this['_update']({'attributes':_0x54d325});}['removeAttribute'](_0xb4a858){const _0x2493d0=_0xe75fe7(this['attributes']);_0x4c60c5(_0x2493d0,_0xb4a858),this['_update']({'attributes':_0x2493d0});}['_update'](_0x2faee7,_0x392fb5=!0x1){let _0x37320f=!0x1;const _0x176998={'id':this['id']},_0x310708=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x322651 of _0x310708){const _0x30da10=_0x2faee7[_0x322651];void 0x0!==_0x30da10&&_0x30da10!==this[_0x322651]&&(this[_0x322651]=_0x30da10,_0x176998[_0x322651]=_0x30da10,_0x37320f=!0x0);}_0x37320f&&(_0x176998['authors']&&(_0x176998['authorsIds']=_0x176998['authors']['map'](_0x313309=>_0x313309['id']),delete _0x176998['authors']),this['fire']('_update',_0x176998,_0x392fb5));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x3c9696=>_0x3c9696['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x14cffe{['_revisions'];static get['requires'](){return[_0x263be0];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x1573fa){super(_0x1573fa),this['_revisions']=new _0x9053aa();}['afterInit'](){!function(_0x2584b9){function _0x16bef7(_0x949552,_0x5c0ff3,_0x498f77){const _0x36828d={};_0x36828d[_0x39e0b9([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x36828d[_0x39e0b9([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],_0x36828d[_0x39e0b9([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],_0x36828d[_0x39e0b9([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],_0x36828d[_0x39e0b9([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],_0x36828d[_0x39e0b9([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],_0x36828d[_0x39e0b9([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],_0x36828d[_0x39e0b9([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],_0x36828d[_0x39e0b9([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],_0x36828d[_0x39e0b9([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],_0x36828d[_0x39e0b9([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 _0x7c4f15=new Uint8Array(0x10);for(let _0x246a0f=0xf;_0x246a0f>=0x0;--_0x246a0f)_0x7c4f15[_0x246a0f]=_0x498f77%0x100,_0x498f77=parseInt(_0x498f77/0x100);let _0x17c9e8=null,_0x1cb903=0x10;const _0x4624c4=new Uint8Array(_0x5c0ff3),_0x4c2749=[],_0x272293=[];_0x5ed9db();for(let _0x18cf84=0x0;_0x18cf84<_0x949552[_0x39e0b9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x18cf84++)0x10===_0x1cb903&&(_0x17c9e8=_0x4621f6(_0x7c4f15),_0x1cb903=0x0,_0xe0d554(_0x7c4f15)),_0x949552[_0x18cf84]^=_0x17c9e8[_0x1cb903++];return _0x949552;function _0x11ad88(_0x4b4772){const _0x27f9ae=[];for(let _0x31c6d6=0x0;_0x31c6d6<_0x4b4772[_0x39e0b9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31c6d6+=0x4)_0x27f9ae[_0x39e0b9([0x70,0x75,0x73,0x68])](_0x4b4772[_0x31c6d6]<<0x18|_0x4b4772[_0x31c6d6+0x1]<<0x10|_0x4b4772[_0x31c6d6+0x2]<<0x8|_0x4b4772[_0x31c6d6+0x3]);return _0x27f9ae;}function _0xe0d554(_0x44a535){for(let _0x25653c=0xf;_0x25653c>=0x0;_0x25653c--){if(0xff!==_0x44a535[_0x25653c]){_0x44a535[_0x25653c]++;break;}_0x44a535[_0x25653c]=0x0;}}function _0x4621f6(_0x10ce67){const _0x2c20c9=_0x4c2749[_0x39e0b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x4c6ed7=[0x0,0x0,0x0,0x0];let t=_0x11ad88(_0x10ce67);for(let _0xc57a81=0x0;_0xc57a81<0x4;_0xc57a81++)t[_0xc57a81]^=_0x4c2749[0x0][_0xc57a81];for(let _0x39764e=0x1;_0x39764e<_0x2c20c9;_0x39764e++){for(let _0xde7ff5=0x0;_0xde7ff5<0x4;_0xde7ff5++)_0x4c6ed7[_0xde7ff5]=_0x36828d[_0x39e0b9([0x54,0x31])][t[_0xde7ff5]>>0x18&0xff]^_0x36828d[_0x39e0b9([0x54,0x32])][t[(_0xde7ff5+0x1)%0x4]>>0x10&0xff]^_0x36828d[_0x39e0b9([0x54,0x33])][t[(_0xde7ff5+0x2)%0x4]>>0x8&0xff]^_0x36828d[_0x39e0b9([0x54,0x34])][0xff&t[(_0xde7ff5+0x3)%0x4]]^_0x4c2749[_0x39764e][_0xde7ff5];t=_0x4c6ed7[_0x39e0b9([0x73,0x6c,0x69,0x63,0x65])]();}const _0x38b678=new Uint8Array(0x10);let _0x52c93d;for(let _0x144bfc=0x0;_0x144bfc<0x4;_0x144bfc++)_0x52c93d=_0x4c2749[_0x2c20c9][_0x144bfc],_0x38b678[0x4*_0x144bfc]=0xff&(_0x36828d[_0x39e0b9([0x53])][t[_0x144bfc]>>0x18&0xff]^_0x52c93d>>0x18),_0x38b678[0x4*_0x144bfc+0x1]=0xff&(_0x36828d[_0x39e0b9([0x53])][t[(_0x144bfc+0x1)%0x4]>>0x10&0xff]^_0x52c93d>>0x10),_0x38b678[0x4*_0x144bfc+0x2]=0xff&(_0x36828d[_0x39e0b9([0x53])][t[(_0x144bfc+0x2)%0x4]>>0x8&0xff]^_0x52c93d>>0x8),_0x38b678[0x4*_0x144bfc+0x3]=0xff&(_0x36828d[_0x39e0b9([0x53])][0xff&t[(_0x144bfc+0x3)%0x4]]^_0x52c93d);return _0x38b678;}function _0x5ed9db(){const _0x165c20=_0x36828d[_0x39e0b9([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x4624c4[_0x39e0b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x4a6abf=0x0;_0x4a6abf<=_0x165c20;_0x4a6abf++)_0x4c2749[_0x39e0b9([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x272293[_0x39e0b9([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x3202f1=0x4*(_0x165c20+0x1),_0x298f8d=_0x4624c4[_0x39e0b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x58a5a4=_0x11ad88(_0x4624c4);let _0x2ba469;for(let _0xa9fc26=0x0;_0xa9fc26<_0x298f8d;_0xa9fc26++)_0x2ba469=_0xa9fc26>>0x2,_0x4c2749[_0x2ba469][_0xa9fc26%0x4]=_0x58a5a4[_0xa9fc26],_0x272293[_0x165c20-_0x2ba469][_0xa9fc26%0x4]=_0x58a5a4[_0xa9fc26];let _0x118c5b,_0x36134d=0x0,t=_0x298f8d;for(;t<_0x3202f1;){_0x118c5b=_0x58a5a4[_0x298f8d-0x1],_0x58a5a4[0x0]^=_0x36828d[_0x39e0b9([0x53])][_0x118c5b>>0x10&0xff]<<0x18^_0x36828d[_0x39e0b9([0x53])][_0x118c5b>>0x8&0xff]<<0x10^_0x36828d[_0x39e0b9([0x53])][0xff&_0x118c5b]<<0x8^_0x36828d[_0x39e0b9([0x53])][_0x118c5b>>0x18&0xff]^_0x36828d[_0x39e0b9([0x72,0x63,0x6f,0x6e])][_0x36134d]<<0x18,_0x36134d+=0x1;for(let _0x512b50=0x1;_0x512b50<_0x298f8d/0x2;_0x512b50++)_0x58a5a4[_0x512b50]^=_0x58a5a4[_0x512b50-0x1];_0x118c5b=_0x58a5a4[_0x298f8d/0x2-0x1],_0x58a5a4[_0x298f8d/0x2]^=_0x36828d[_0x39e0b9([0x53])][0xff&_0x118c5b]^_0x36828d[_0x39e0b9([0x53])][_0x118c5b>>0x8&0xff]<<0x8^_0x36828d[_0x39e0b9([0x53])][_0x118c5b>>0x10&0xff]<<0x10^_0x36828d[_0x39e0b9([0x53])][_0x118c5b>>0x18&0xff]<<0x18;for(let _0xb5086d=_0x298f8d/0x2+0x1;_0xb5086d<_0x298f8d;_0xb5086d++)_0x58a5a4[_0xb5086d]^=_0x58a5a4[_0xb5086d-0x1];let _0x298904,_0x192d04,_0x55f23e=0x0;for(;_0x55f23e<_0x298f8d&&t<_0x3202f1;)_0x298904=t>>0x2,_0x192d04=t%0x4,_0x4c2749[_0x298904][_0x192d04]=_0x58a5a4[_0x55f23e],_0x272293[_0x165c20-_0x298904][_0x192d04]=_0x58a5a4[_0x55f23e++],t++;}for(let _0x4fbb76=0x1;_0x4fbb76<_0x165c20;_0x4fbb76++)for(let _0x42554e=0x0;_0x42554e<0x4;_0x42554e++)_0x118c5b=_0x272293[_0x4fbb76][_0x42554e],_0x272293[_0x4fbb76][_0x42554e]=_0x36828d[_0x39e0b9([0x55,0x31])][_0x118c5b>>0x18&0xff]^_0x36828d[_0x39e0b9([0x55,0x32])][_0x118c5b>>0x10&0xff]^_0x36828d[_0x39e0b9([0x55,0x33])][_0x118c5b>>0x8&0xff]^_0x36828d[_0x39e0b9([0x55,0x34])][0xff&_0x118c5b];}}function _0x39e0b9(_0x2c997c){return _0x2c997c['map'](_0x3f33d3=>String['fromCharCode'](_0x3f33d3))['join']('');}(_0x378f5b=>{function _0x4596fa(){const _0x1cbb6b=[{[_0x39e0b9([0x69,0x64])]:0x1,[_0x39e0b9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x39e0b9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x39e0b9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x39e0b9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x39e0b9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x39e0b9([0x69,0x64])]:0x2,[_0x39e0b9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x39e0b9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x39e0b9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x39e0b9([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]),[_0x39e0b9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x39e0b9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x39e0b9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x39e0b9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x39e0b9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x39e0b9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x39e0b9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x39e0b9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x39e0b9([0x69,0x64])]:0x3,[_0x39e0b9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x39e0b9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x39e0b9([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x39e0b9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x39e0b9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x39e0b9([0x69,0x64])]:0x4,[_0x39e0b9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x39e0b9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x39e0b9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x39e0b9([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]),[_0x39e0b9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x39e0b9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x39e0b9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x39e0b9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x39e0b9([0x69,0x64])]:0x5,[_0x39e0b9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x39e0b9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x39e0b9([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]),[_0x39e0b9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x39e0b9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x39e0b9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x39e0b9([0x66,0x67,0x69])]:[0xc]}},{[_0x39e0b9([0x69,0x64])]:0x6,[_0x39e0b9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x39e0b9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x39e0b9([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x39e0b9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x39e0b9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x39e0b9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x39e0b9([0x66,0x67,0x69])]:[0xc]}},{[_0x39e0b9([0x69,0x64])]:0x7,[_0x39e0b9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x39e0b9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x39e0b9([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x39e0b9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x39e0b9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x39e0b9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x39e0b9([0x66,0x67,0x69])]:[0xc]}},{[_0x39e0b9([0x69,0x64])]:0x8,[_0x39e0b9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x39e0b9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x39e0b9([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]),[_0x39e0b9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x39e0b9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x39e0b9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x39e0b9([0x66,0x67,0x69])]:[0xc]}},{[_0x39e0b9([0x69,0x64])]:0x9,[_0x39e0b9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x39e0b9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x39e0b9([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x39e0b9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x39e0b9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x39e0b9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x39e0b9([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x39e0b9([0x69,0x64])]:0xa,[_0x39e0b9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([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]),[_0x39e0b9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([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]),[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x39e0b9([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]),[_0x39e0b9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x39e0b9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x39e0b9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x39e0b9([0x66,0x67,0x69])]:[0xc]}},{[_0x39e0b9([0x69,0x64])]:0xb,[_0x39e0b9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x39e0b9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x39e0b9([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x39e0b9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x39e0b9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x39e0b9([0x69,0x64])]:0xc,[_0x39e0b9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x39e0b9([0x69,0x64])]:0xd,[_0x39e0b9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x39e0b9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x39e0b9([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x39e0b9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x39e0b9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x39e0b9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x39e0b9([0x66,0x67,0x69])]:[0xc]}},{[_0x39e0b9([0x69,0x64])]:0xe,[_0x39e0b9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x39e0b9([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x39e0b9([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])},{[_0x39e0b9([0x69,0x64])]:0xf,[_0x39e0b9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x39e0b9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x39e0b9([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x39e0b9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x39e0b9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x39e0b9([0x69,0x64])]:0x10,[_0x39e0b9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x39e0b9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x39e0b9([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x39e0b9([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x39e0b9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x39e0b9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x39e0b9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x39e0b9([0x66,0x67,0x69])]:[0xc]}}];return _0x554596(_0x1cbb6b),_0x1cbb6b;function _0x5cc7ab(_0x4d7435){return 0x1<<_0x4d7435-0x1;}function _0x554596(_0x57752a){_0x57752a[_0x39e0b9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ea225=>{_0x2ea225[_0x39e0b9([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x5cc7ab(_0x2ea225[_0x39e0b9([0x69,0x64])]),_0x360c5f(_0x2ea225)&&_0x2ea225[_0x39e0b9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x554596(_0x2ea225[_0x39e0b9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x360c5f(_0x430424){return _0x39e0b9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x430424;}const _0x200e65=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x28afe5=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x556408(_0x4daedc){const _0x176379=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x35f347(_0x4daedc,new Uint8Array([..._0x200e65,..._0x176379,..._0x28afe5]));}function _0x35f347(_0x2e6bc6,_0x3ee1b9){const _0x34bd10=_0x2803c5(_0x2e6bc6),_0x19d143=Array[_0x39e0b9([0x66,0x72,0x6f,0x6d])](_0x254055(_0x34bd10)),_0x2fbc00=_0x19d143[_0x39e0b9([0x70,0x6f,0x70])](),_0x436b10=_0x19d143[_0x39e0b9([0x70,0x6f,0x70])]();return _0x235edb(_0x16bef7(_0x19d143,_0x3ee1b9,_0x436b10+0x100*_0x2fbc00));}function _0x2803c5(_0x3a26b2){const _0x44880a=atob(_0x3a26b2),[_0x38e2cc,_0x498605]=_0x44880a[_0x39e0b9([0x73,0x70,0x6c,0x69,0x74])](_0x39e0b9([0x2d]));try{if(atob(_0x498605))return atob(_0x38e2cc);}catch(_0x48c3cc){}return _0x44880a;}function _0x3456f5(_0x197fcd){try{const _0x2225ad=_0x556408(_0x197fcd),_0x51fc84=JSON[_0x39e0b9([0x70,0x61,0x72,0x73,0x65])](_0x2225ad),_0x3235d8=parseInt(_0x51fc84[_0x39e0b9([0x31])]),_0xc0c837=_0x51fc84[_0x39e0b9([0x32])]||'',_0x338bdf=parseInt(_0x51fc84[_0x39e0b9([0x33])]),_0x3780b3=parseInt(_0x51fc84[_0x39e0b9([0x34])])||0x0,_0x4a0c2d=parseInt(_0x51fc84[_0x39e0b9([0x35])])||0x0;return{[_0x39e0b9([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0xc0c837,[_0x39e0b9([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x3780b3,[_0x39e0b9([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x3235d8,[_0x39e0b9([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x338bdf,[_0x39e0b9([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x4a0c2d};}catch(_0x36085a){return null;}}const _0x53a07f=_0x4596fa(),_0x236367={[_0x39e0b9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x2d060f,[_0x39e0b9([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])]:_0x330232,[_0x39e0b9([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])]:_0x1e8491},_0x432331=_0x378f5b[_0x39e0b9([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x39e0b9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x9011d6=_0x39e0b9([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x378f5b?_0x378f5b['context']:_0x378f5b['editor'],_0xe9e3e1=_0x39e0b9([0x34,0x30,0x34,0x38,0x31,0x32,0x33,0x38]),_0x23eb18=_0x39e0b9([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]),_0x2fe6d4=_0x9011d6['config']['get'](_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4d90e5=_0x53a07f[_0x39e0b9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x360c5f)[_0x39e0b9([0x66,0x69,0x6e,0x64])](_0x3bbd02=>_0x3bbd02[_0x39e0b9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x432331);function _0x398029(_0x1ec70d,_0x9ad791){_0x236367[_0x9ad791[_0x39e0b9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x1ec70d,_0x9ad791),_0x9ad791[_0x39e0b9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x9ad791[_0x39e0b9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x39e0b9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x316bc1=>_0x5ba172(_0x9011d6,_0x316bc1[_0x39e0b9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x39e0b9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3a735f=>_0x398029(_0x1ec70d,_0x3a735f));}function _0x2d060f(_0x4b992b,_0xa79cc7){_0x481ba5(_0x40499d(_0x4b992b,_0xa79cc7),_0xa79cc7);}function _0x330232(_0x2be600,_0x29a506){function _0x964c2b(_0x3b4cb7,_0x1317d8){try{if(_0x5ba172(_0x9011d6,_0x39e0b9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x3b4cb7){const _0x415531=_0x4afd50(_0x9011d6,_0x39e0b9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x39e0b9([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x415531)/0x2>_0x3b4cb7[_0x39e0b9([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x372e93(_0x1317d8[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x39e0b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x40499d(_0x3b4cb7,_0x1317d8);}catch(_0x43262a){return _0x372e93(_0x1317d8[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x39e0b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x481ba5(_0x964c2b(_0x2be600,_0x29a506),_0x29a506);}function _0x1e8491(_0x57f6c4,_0x61f797){const _0x2940ab=_0x28afe5[0x0]*_0x200e65[0x1],_0x432532=_0x28afe5[0x0]*_0x200e65[0x2],_0x40f3a3=_0x28afe5[0x2]*_0x200e65[0x2];_0x5ba172(_0x9011d6,_0x39e0b9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4afd50(_0x9011d6,_0x39e0b9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x39e0b9([0x73,0x74,0x61,0x74,0x65])]==_0x39e0b9([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x3358ad()]=_0x40f3a3);function _0x37634c(_0x348ff6,_0x429b00){try{return _0x56f5cd()?_0x372e93(_0x429b00[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x39e0b9([0x56,0x61,0x6c,0x69,0x64])):_0x40499d(_0x348ff6,_0x429b00);}catch(_0x5e6384){return _0x372e93(_0x429b00[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x39e0b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x87eb0(_0xb702fa,_0x142e74){const _0x2f18d1=0x7;if(_0xb702fa==_0x142e74[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x39e0b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x5278d4();else{if(_0xb702fa==_0x142e74[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x39e0b9([0x54,0x72,0x69,0x61,0x6c])){const _0x50b842=_0x550132();_0x50b842&&_0x2377e1(_0x50b842,_0x142e74[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x360e41=_0x4e1b29();window[_0x39e0b9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2377e1(_0x39e0b9([0x74,0x69,0x6d,0x65]),_0x142e74[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x360e41);const _0x560c3e=_0x4afd50(_0x9011d6,_0x39e0b9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x39e0b9([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x560c3e[_0x39e0b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2f18d1?_0x2377e1(_0x39e0b9([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x142e74[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x560c3e['on'](_0x39e0b9([0x61,0x64,0x64]),()=>{_0x560c3e[_0x39e0b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2f18d1&&_0x2377e1(_0x39e0b9([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x142e74[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x550132(){if(!_0x5ba172(_0x9011d6,_0x39e0b9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0xbd3de6 in window)if(Number['isNaN'](Number(_0xbd3de6))){if(window[_0xbd3de6]===_0x2940ab)return _0x39e0b9([0x74,0x69,0x6d,0x65]);if(window[_0xbd3de6]===_0x432532)return _0x39e0b9([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x56f5cd(){if(!_0x5ba172(_0x9011d6,_0x39e0b9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x3762de in window)if(Number['isNaN'](Number(_0x3762de))&&window[_0x3762de]===_0x40f3a3)return!0x0;return!0x1;}function _0x2377e1(_0x50f25b,_0x266198){_0x5278d4(),_0x372e93(_0x266198+_0x39e0b9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x50f25b),window[_0x3358ad()]=_0x50f25b===_0x39e0b9([0x74,0x69,0x6d,0x65])?_0x2940ab:_0x432532;}function _0x4e1b29(){let _0x1aaf4a=_0x28afe5[0x6]*_0x200e65[0x8]*_0x200e65[0x6];return _0x5ba172(_0x9011d6,_0x39e0b9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1aaf4a/=0xa),_0x1aaf4a;}function _0x5278d4(){const _0x303677=_0x9011d6;function _0x4c97cf(){_0x5ba172(_0x303677,_0x39e0b9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x4afd50(_0x303677,_0x39e0b9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x39e0b9([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x39e0b9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4afd50(_0x303677,_0x39e0b9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x39e0b9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4afd50(_0x303677,_0x39e0b9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x39e0b9([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x9f8e31,_0x4afd50(_0x303677,_0x39e0b9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x39e0b9([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x9f8e31,_0x303677[_0x39e0b9([0x6d,0x6f,0x64,0x65,0x6c])][_0x39e0b9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x9f8e31,_0x303677[_0x39e0b9([0x6d,0x6f,0x64,0x65,0x6c])][_0x39e0b9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x9f8e31,_0x303677[_0x39e0b9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x39e0b9([0x6d,0x6f,0x64,0x65,0x6c]))),_0x5ba172(_0x303677,_0x39e0b9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4afd50(_0x303677,_0x39e0b9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x39e0b9([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x39e0b9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4afd50(_0x303677,_0x39e0b9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x39e0b9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4afd50(_0x303677,_0x39e0b9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x39e0b9([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x9f8e31,_0x4afd50(_0x303677,_0x39e0b9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x39e0b9([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x9f8e31);}_0x303677[_0x39e0b9([0x73,0x74,0x61,0x74,0x65])]==_0x39e0b9([0x72,0x65,0x61,0x64,0x79])?_0x4c97cf():_0x303677[_0x39e0b9([0x6f,0x6e,0x63,0x65])](_0x39e0b9([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x5ba172(_0x303677,_0x39e0b9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x4c97cf(),_0x5ba172(_0x303677,_0x39e0b9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x4f4e1c=_0x4afd50(_0x303677,_0x39e0b9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4e0011=_0x4f4e1c['getRevision'](0x0),_0x413de1=_0x4f4e1c['getEarlierVisibleRevision'](_0x4e0011[_0x39e0b9([0x69,0x64])]);_0x4afd50(_0x303677,_0x39e0b9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x39e0b9([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4e0011[_0x39e0b9([0x69,0x64])],_0x413de1?_0x413de1[_0x39e0b9([0x69,0x64])]:null,0x1)['then'](()=>_0x4c97cf());}});}_0x87eb0(_0x37634c(_0x57f6c4,_0x61f797),_0x61f797);}function _0x40499d(_0x1806c4,_0x2922a4){try{return _0x47c58b(_0x2922a4)?_0x372e93(_0x2922a4[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x39e0b9([0x56,0x61,0x6c,0x69,0x64])):_0x1806c4&&_0x342460(_0x1806c4[_0x39e0b9([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x2922a4)?_0x1806c4[_0x39e0b9([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x39e0b9([0x6f,0x70,0x65,0x6e])][_0x39e0b9([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0xe9e3e1)/0x2>_0x1806c4[_0x39e0b9([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x372e93(_0x2922a4[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x39e0b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x1806c4[_0x39e0b9([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x372e93(_0x2922a4[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x39e0b9([0x54,0x72,0x69,0x61,0x6c])):_0x372e93(_0x2922a4[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x39e0b9([0x56,0x61,0x6c,0x69,0x64])):_0x372e93(_0x2922a4[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x39e0b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x407cc9){return _0x372e93(_0x2922a4[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x39e0b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x481ba5(_0x931963,_0x3ab946){if(_0x9011d6 instanceof _0x303590){const _0x47e594=_0x9011d6;_0x931963==_0x3ab946[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x39e0b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4ba59e(_0x47e594):_0x931963==_0x3ab946[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x39e0b9([0x54,0x72,0x69,0x61,0x6c])&&window[_0x39e0b9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4ba59e(_0x47e594),_0x372e93(_0x3ab946[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x39e0b9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x28afe5[0x6]*_0x200e65[0x8]*_0x200e65[0x6]),_0x47e594[_0x39e0b9([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x39e0b9([0x6f,0x6e])](_0x39e0b9([0x61,0x64,0x64]),(_0x354814,_0x4a03ad)=>{_0x931963!=_0x3ab946[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x39e0b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x931963!=_0x3ab946[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x39e0b9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x931963!=_0x3ab946[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x39e0b9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x2456fd(_0x4a03ad);});}else{const _0x43a051=_0x9011d6;_0x931963==_0x3ab946[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x39e0b9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2456fd(_0x43a051):_0x931963==_0x3ab946[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x39e0b9([0x54,0x72,0x69,0x61,0x6c])&&_0x43a051[_0x39e0b9([0x6f,0x6e])](_0x39e0b9([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x3c2c32=0x0;_0x43a051[_0x39e0b9([0x6d,0x6f,0x64,0x65,0x6c])][_0x39e0b9([0x6f,0x6e])](_0x39e0b9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3852d9,_0x54a878)=>{_0x54a878[0x0][_0x39e0b9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3c2c32++,0x1f8===_0x3c2c32&&(_0x2456fd(_0x43a051),_0x372e93(_0x3ab946[_0x39e0b9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x39e0b9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x3852d9[_0x39e0b9([0x6f,0x66,0x66])]());},{'priority':_0x39e0b9([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x372e93(_0x35d1fd){const _0x43b572=_0x3358ad();return _0x9011d6[_0x43b572]=_0x35d1fd,_0x35d1fd;}function _0x3358ad(){const _0x4bda20=String(window[_0x39e0b9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x39e0b9([0x6e,0x6f,0x77])]())[_0x39e0b9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x39e0b9([0x2e]),'');let _0x54f717='';for(let _0x5ad5ea=0x0;_0x5ad5ea<_0x4bda20[_0x39e0b9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ad5ea+=0x2){let _0x9ae062=parseInt(_0x4bda20[_0x39e0b9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ad5ea,_0x5ad5ea+0x2));_0x9ae062>=_0x23eb18[_0x39e0b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x9ae062-=_0x23eb18[_0x39e0b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x54f717+=_0x23eb18[_0x9ae062];}return _0x54f717;}function _0x4ba59e(_0x35d62f){for(const _0x94d402 of _0x35d62f[_0x39e0b9([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x2456fd(_0x94d402);_0x4afd50(_0x35d62f,_0x39e0b9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x39e0b9([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x4afd50(_0x35d62f,_0x39e0b9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x39e0b9([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x9f8e31;}function _0x2456fd(_0x4021dc){function _0x59fa74(){_0x4021dc[_0x39e0b9([0x6d,0x6f,0x64,0x65,0x6c])][_0x39e0b9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x9f8e31,_0x4021dc[_0x39e0b9([0x6d,0x6f,0x64,0x65,0x6c])][_0x39e0b9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x9f8e31,_0x4021dc[_0x39e0b9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x39e0b9([0x6d,0x6f,0x64,0x65,0x6c]));}_0x4021dc[_0x39e0b9([0x73,0x74,0x61,0x74,0x65])]==_0x39e0b9([0x72,0x65,0x61,0x64,0x79])?_0x59fa74():_0x4021dc[_0x39e0b9([0x6f,0x6e,0x63,0x65])](_0x39e0b9([0x72,0x65,0x61,0x64,0x79]),()=>_0x59fa74());}function _0x9f8e31(){return null;}function _0x342460(_0xf474b5,_0x120d3e){const _0x62efe3=!!(_0xf474b5&_0x120d3e[_0x39e0b9([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x422974=_0x24ceb1(_0xf474b5,_0x120d3e);return _0x62efe3||_0x422974;}function _0x24ceb1(_0x216ca7,_0x16d442){const _0x357791=(_0x16d442[_0x39e0b9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x39e0b9([0x66,0x67,0x69])]||null;return!!_0x357791&&_0x53a07f[_0x39e0b9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47dcdc=>_0x357791[_0x39e0b9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47dcdc[_0x39e0b9([0x69,0x64])]))[_0x39e0b9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ff3bb=>!_0x2ba4db(_0x3ff3bb))[_0x39e0b9([0x73,0x6f,0x6d,0x65])](_0x219965=>!!(_0x216ca7&_0x219965[_0x39e0b9([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x2ba4db(_0x4560c0){const _0x1f44bc={[_0x39e0b9([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])]:_0x3b0f37};return!!_0x4560c0['forbiddenHandler']&&_0x1f44bc[_0x4560c0['forbiddenHandler']]();}function _0x3b0f37(){return!window[_0x39e0b9([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x5ba172(_0x9011d6,_0x39e0b9([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x47c58b(_0x27544f){if(!_0x5ba172(_0x9011d6,_0x27544f[_0x39e0b9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0xfec7ae=_0x27544f[_0x39e0b9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0xeec751=_0xfec7ae[_0x39e0b9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x444e60=_0xfec7ae[_0x39e0b9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x39dae8=_0xfec7ae[_0x39e0b9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x5ba172(_0x9011d6,_0x39e0b9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4afd50(_0x9011d6,_0x39e0b9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x39e0b9([0x73,0x74,0x61,0x74,0x65])]==_0x39e0b9([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0xeec751)return!0x0;if(_0x5ba172(_0x9011d6,_0x39e0b9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x4afd50(_0x9011d6,_0x39e0b9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x39e0b9([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x39e0b9([0x65,0x6e,0x64])&&_0x444e60)return!0x0;return!(!_0x5ba172(_0x9011d6,_0x39e0b9([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]))||_0x4afd50(_0x9011d6,_0x39e0b9([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]))[_0x39e0b9([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x39e0b9([0x65,0x6e,0x64])||!_0x39dae8);}function _0x5ba172(_0x44d815,_0x5c3b7b){return _0x44d815[_0x39e0b9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x39e0b9([0x68,0x61,0x73])](_0x5c3b7b);}function _0x4afd50(_0x987741,_0x2c2e79){return _0x987741[_0x39e0b9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x39e0b9([0x67,0x65,0x74])](_0x2c2e79);}function _0x235edb(_0xb275a9){let _0x2ba981='';for(const _0x5e91dd of _0xb275a9)_0x2ba981+=String[_0x39e0b9([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x5e91dd);return _0x2ba981;}function _0x254055(_0x4b9b10){const _0x10a279=new Uint8Array(_0x4b9b10[_0x39e0b9([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x9ee69f=0x0;_0x9ee69f<_0x4b9b10[_0x39e0b9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x9ee69f++)_0x10a279[_0x9ee69f]=_0x4b9b10[_0x39e0b9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x9ee69f);return _0x10a279;}_0x4d90e5&&_0x398029(_0x3456f5(_0x2fe6d4),_0x4d90e5);})(_0x2584b9);}(this);}['createRevision'](_0x32052c){const _0x150b53=this['editor']['plugins']['get']('Users');return new a({'id':_0x32052c['id'],'name':_0x32052c['name'],'creator':_0x32052c['creatorId']?_0x150b53['getUser'](_0x32052c['creatorId']):null,'diffData':_0x32052c['diffData']||_0x32052c['data'],'authors':_0x32052c['authorsIds']['map'](_0x594c63=>_0x150b53['getUser'](_0x594c63)),'createdAt':new Date(_0x32052c['createdAt']),'attributes':_0x32052c['attributes'],'fromVersion':_0x32052c['fromVersion'],'toVersion':_0x32052c['toVersion']});}['addRevision'](_0x24dc12,_0x25c5cd=0x0){this['_revisions']['add'](_0x24dc12,_0x25c5cd);}['getRevision'](_0x4de3cd){return this['_revisions']['get'](_0x4de3cd);}['getRevisions'](_0x100838={'toJSON':!0x1}){const _0x5af9ec=Array['from'](this['_revisions']);return _0x5af9ec['reverse'](),_0x100838['toJSON']?_0x5af9ec['map'](_0x39e9b6=>_0x39e9b6['toJSON']()):_0x5af9ec;}['getIndex'](_0x373abb){return this['_revisions']['getIndex'](_0x373abb);}['getEarlierVisibleRevision'](_0x5c5b5b){const [,_0x366cab]=this['getRevisionsIterator'](_0x5c5b5b,{'direction':'earlier'});return _0x366cab;}['getLaterVisibleRevision'](_0x540176){const [,_0x3a11e3]=this['getRevisionsIterator'](_0x540176,{'direction':'later'});return _0x3a11e3;}['getRevisionsInDiff'](_0x4574c0){const _0x81eaf2=[];for(const _0x1d4bdf of this['getRevisionsIterator'](_0x4574c0['newRevisionId']))if(_0x81eaf2['push'](_0x1d4bdf),_0x1d4bdf['id']===_0x4574c0['oldRevisionId'])break;return _0x81eaf2;}*['getRevisionsIterator'](_0x4f3847,{direction:_0x5aceaf='earlier',filter:_0x191c5c=_0x348916=>!0x0}={}){const _0x12e475='earlier'===_0x5aceaf?0x1:-0x1;let _0x5d8da9=this['_revisions']['get'](_0x4f3847),_0x28db78=this['getIndex'](_0x5d8da9);for(yield _0x5d8da9;_0x5d8da9;){if(_0x28db78+=_0x12e475,_0x5d8da9=this['getRevision'](_0x28db78),!_0x5d8da9)return;_0x191c5c(_0x5d8da9)&&(yield _0x5d8da9);}}}function y(_0x1b1755,_0x32ba05,_0x2e7541){const t=_0x1b1755['t'];switch(_0x32ba05){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'},_0x2e7541);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2e7541);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':_0x27bf8b,'a':_0x57df7d,'e':_0xe9e302,'r':_0xdbb659,'u':_0x2ecba1};class l extends _0x14cffe{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x263be0,A,_0x3ec53a];}constructor(_0x3021f7){super(_0x3021f7),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 _0x4e3044=_0x2bbace();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x4e3044},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 _0x1055a9=this['repository']['getRevision'](0x0),_0x562992=_0x1055a9&&null===_0x1055a9['creator']?_0x1055a9:null;if(this['_continueCurrentRevision']=!!_0x562992&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x4c9bdd=this['_source']['getCurrentRevisionId'](),_0x1863fc=this['repository']['getRevision'](_0x4c9bdd);if(_0x1863fc)this['_startingVersion']=_0x1863fc['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x353d2d=this['_source']['history']['_operations']['find'](_0x4472f0=>!_0x4472f0['_isInit']),_0x2fb26c=_0x353d2d?_0x353d2d['baseVersion']:this['_source']['history']['version'];_0x1055a9?(_0x1055a9['toVersion']<_0x2fb26c&&_0x1055a9['_update']({'toVersion':_0x2fb26c}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x562992['id'],this['_startingVersion']=_0x562992['fromVersion']):(this['_startingVersion']=_0x1055a9['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x2fb26c,this['_continueCurrentRevision']=!0x1);}}else _0x562992&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x562992['toVersion'],this['editor']['model']['document']['history']['version']),_0x562992['fromVersion']===_0x562992['toVersion']?(0x0!==_0x562992['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x562992['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x562992['id'],this['_startingVersion']=_0x562992['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',_0x139762=>!_0x139762);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x540917=this['repository']['getRevision'](0x0),_0x406f21=await this['getRevisionDocumentData'](_0x540917),_0x24f27d=await this['getRevisionRootsAttributes'](_0x540917);this['_replaceEditorDataWithRevisionData'](_0x406f21,_0x24f27d);}}['setSource'](_0xa0ddd2){this['_source']=_0xa0ddd2;}async['update'](){const _0x1c52d3=await this['_source']['getLatestVersion']();if(_0x1c52d3>this['currentRevision']['toVersion']){await this['_loadState']();const _0x14dce5=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x1c52d3});_0x14dce5['authors']=_0x14dce5['authorsIds']['map'](_0x2da5c8=>this['editor']['plugins']['get']('Users')['getUser'](_0x2da5c8)),this['currentRevision']['_update'](_0x14dce5);}}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'](_0x178106={},_0x5975c8=null){const _0x977814=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x5975c8>this['currentRevision']['toVersion']&&(_0x5975c8=null),null===_0x5975c8&&(_0x5975c8=await this['_source']['getLatestVersion']());const _0x185a2a=this['_getFromVersion'](_0x5975c8),_0x3bf464=this['buildRevisionData']({'from':_0x185a2a,'to':_0x5975c8});if(this['currentRevision']['toVersion']<_0x5975c8){const _0x46b93c=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x5975c8,'to':_0x5975c8});_0x46b93c['authors']=[],_0x46b93c['authorsIds']=[],_0x46b93c['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x46b93c,!0x0),delete _0x46b93c['authors'],_0x977814['push'](_0x46b93c);}_0x178106['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x178106['name']=_0x178106['name']||null,_0x178106['id']=_0x178106['id']||_0x2bbace(),_0x178106={..._0x178106,..._0x3bf464};const _0x4e6463=this['addRevisionData'](_0x178106);_0x977814['push'](_0x178106);const _0x5d3a5c=this['repository']['getIndex'](_0x4e6463);if(0x0!==_0x5d3a5c){const _0x3ae703=this['repository']['getRevision'](_0x5d3a5c-0x1);if(_0x3ae703['fromVersion']!==_0x5975c8){const _0x2e4c49=this['_revisionDataBuilder']['getData'](_0x5975c8,_0x3ae703['toVersion']),_0x235386={'id':_0x3ae703['id'],'diffData':_0x2e4c49['diffData'],'authorsIds':_0x2e4c49['authorsIds'],'authors':_0x2e4c49['authorsIds']['map'](_0x188c01=>this['editor']['plugins']['get']('Users')['getUser'](_0x188c01)),'fromVersion':_0x5975c8};_0x3ae703===this['currentRevision']&&(_0x235386['createdAt']=new Date(_0x178106['createdAt']['getTime']()+0xa)),_0x3ae703['_update'](_0x235386,!0x0),delete _0x235386['authors'],_0x977814['push'](_0x235386);}}if(this['adapter']){for(const _0x4cc2f6 of _0x977814)this['_bufferUpdate'](_0x4cc2f6['id'],_0x4cc2f6,!0x0);this['sendBufferedUpdates']();}return _0x4e6463;}['addRevisionData'](_0x5cf970){const _0x186704=this['repository']['createRevision'](_0x5cf970);return this['adapter']&&_0x186704['on']('_update',(_0x504fd8,_0x29f272,_0x59e5e1)=>{_0x59e5e1||(this['_bufferUpdate'](_0x29f272['id'],_0x29f272,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x186704,this['_findInsertionIndex'](_0x186704)),_0x186704;}async['getRevisionDocumentData'](_0xcc3c8e){await this['_loadRevisionData'](_0xcc3c8e);const _0x3b94b8={};for(const _0x56023f in _0xcc3c8e['diffData']){if(_0xcc3c8e['diffData'][_0x56023f]['attachChange']&&!_0xcc3c8e['diffData'][_0x56023f]['attachChange']['isAttached'])continue;const _0xf0627d=this['_removeRevisionMarkers'](JSON['parse'](_0xcc3c8e['diffData'][_0x56023f]['insertions'])),_0x42c83e=this['editor']['editing']['view']['document'],_0x26f5a6=new _0x405474(_0x42c83e,_0xf0627d['map'](_0x13c531=>B(_0x13c531,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x3b94b8[_0x56023f]=this['editor']['data']['processor']['toData'](_0x26f5a6),this['editor']['data']['processor']['useFillerType']('default');}return _0x3b94b8;}async['getRevisionRootsAttributes'](_0x27fcad){await this['_loadRevisionData'](_0x27fcad);const _0x469e6a={};for(const _0x28b82 in _0x27fcad['diffData'])_0x27fcad['diffData'][_0x28b82]['attachChange']&&!_0x27fcad['diffData'][_0x28b82]['attachChange']['isAttached']||(_0x469e6a[_0x28b82]=_0x27fcad['diffData'][_0x28b82]['attributesAfter']||{});return _0x469e6a;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x456b9=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x2df367=0x0;_0x2df367<_0x456b9['length'];_0x2df367++){const _0x51c302=_0x456b9[_0x2df367];let _0x2ad620=!0x1;for(const _0x179725 of Object['keys'](_0x51c302))void 0x0===_0x51c302[_0x179725]?delete _0x51c302[_0x179725]:'id'!==_0x179725&&(_0x2ad620=!0x0);_0x2ad620||(_0x456b9[_0x2df367]=null);}if(_0x456b9=_0x456b9['filter'](_0x504ec0=>null!==_0x504ec0),!_0x456b9['length'])return;for(let _0x32059f=0x0;_0x32059f<_0x456b9['length'];_0x32059f++){const _0x3e4019=_0x456b9[_0x32059f];void 0x0!==_0x3e4019['fromVersion']&&void 0x0===_0x3e4019['toVersion']&&(_0x3e4019['toVersion']=this['repository']['getRevision'](_0x3e4019['id'])['toVersion']),void 0x0!==_0x3e4019['toVersion']&&void 0x0===_0x3e4019['fromVersion']&&(_0x3e4019['fromVersion']=this['repository']['getRevision'](_0x3e4019['id'])['fromVersion']);}const _0x48aa26=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x456b9,_0x48aa26)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x1fc7ec=>{if(_0x1fc7ec){for(const _0xc8efe6 of _0x1fc7ec)this['setRevisionData']({'id':_0xc8efe6['id'],'createdAt':_0xc8efe6['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x11edbb,_0x39550f){let _0x10af33=this['editor']['config']['get']('initialData'),_0x146ddd=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x10af33){_0x10af33={};for(const _0x5c606d of this['editor']['model']['document']['getRootNames']())_0x10af33[_0x5c606d]='';}if('string'==typeof _0x10af33&&(_0x10af33={'main':_0x10af33}),void 0x0===_0x146ddd){_0x146ddd={};for(const _0x4c33c4 of this['editor']['model']['document']['getRootNames']())_0x146ddd[_0x4c33c4]={};}let _0x4ce5bd=!0x1;const _0x4debff=Object['keys'](_0x10af33),_0x1374b9=Object['keys'](_0x11edbb);for(const _0x23901f of _0x4debff){if(_0x10af33[_0x23901f]!==_0x11edbb[_0x23901f]&&''!==_0x10af33[_0x23901f]['trim']()){_0x4ce5bd=!0x0;break;}if(!_0x262967(_0x146ddd[_0x23901f],_0x39550f[_0x23901f])&&Object['keys'](_0x146ddd[_0x23901f])['length']>0x0){_0x4ce5bd=!0x0;break;}}_0x4ce5bd||(_0x4ce5bd=_0x1374b9['some'](_0x1f542e=>!this['editor']['model']['document']['getRoot'](_0x1f542e))),_0x4ce5bd&&_0x70a362('editor-initial-data-replaced-with-revision-data',{'editorData':_0x10af33,'editorRootsAttributes':_0x146ddd,'revisionData':_0x11edbb,'revisionRootsAttributes':_0x39550f}),this['editor']['config']['set']('initialData',_0x11edbb),this['editor']['config']['set']('rootsAttributes',_0x39550f);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x856a5f=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x856a5f['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x645925){const _0x3a9174=this['repository']['getRevisions']();_0x3a9174['reverse']();let _0x51d87e=0x0;for(;_0x51d87e<_0x3a9174['length'];){const _0x1b4bff=_0x3a9174[_0x51d87e];if(_0x1b4bff===this['currentRevision']){_0x51d87e++;continue;}if(_0x1b4bff['id']===this['_initialRevisionId'])break;const _0x201983=_0x645925['toVersion']-_0x1b4bff['toVersion']||_0x645925['fromVersion']-_0x1b4bff['fromVersion'];if(_0x201983>0x0)break;if(_0x201983<0x0)_0x51d87e++;else{if(!_0x645925['creator']&&_0x1b4bff['creator'])break;if(_0x1b4bff['creator']||!_0x645925['creator']){if(_0x645925['createdAt']>_0x1b4bff['createdAt'])break;_0x51d87e++;}else _0x51d87e++;}}return _0x51d87e;}['setRevisionData'](_0x172ae4){const _0x28f83b=this['repository']['getRevision'](_0x172ae4['id']);if(_0x172ae4['createdAt']&&(_0x172ae4['createdAt']=new Date(_0x172ae4['createdAt'])),_0x172ae4['authorsIds']){const _0x2ab0b5=this['editor']['plugins']['get']('Users');_0x172ae4['authors']=_0x172ae4['authorsIds']['map'](_0x589834=>_0x2ab0b5['getUser'](_0x589834));}_0x28f83b['_update'](_0x172ae4,!0x0);}['buildRevisionData']({revision:_0x1813f7=null,from:_0x980625=null,to:_0x3ad1d1=null}){_0x980625=null!==_0x980625?_0x980625:_0x1813f7['fromVersion'],_0x3ad1d1=null!==_0x3ad1d1?_0x3ad1d1:_0x1813f7['toVersion'];const _0x1d0086=this['_revisionDataBuilder']['getData'](_0x980625,_0x3ad1d1),_0xfc5993={'diffData':_0x1d0086['diffData'],'authorsIds':_0x1d0086['authorsIds'],'fromVersion':_0x980625,'toVersion':_0x3ad1d1};if(!_0x1813f7||_0x3ad1d1!==_0x1813f7['toVersion']){const _0x41b169=_0x3ad1d1-0x1,_0x4507c4=this['_source']['history']['getOperation'](_0x41b169);_0xfc5993['createdAt']=_0x4507c4&&_0x4507c4['createdAt']||new Date();}if(this['_loadedStateData']&&_0x980625===this['_loadedStateData']['fromVersion']){for(const _0x3f37d7 of this['_loadedStateData']['authors'])_0xfc5993['authorsIds']['includes'](_0x3f37d7['id'])||_0xfc5993['authorsIds']['push'](_0x3f37d7['id']);}return _0xfc5993;}['_loadRevisionData'](_0x3d25cf){if(!_0x3d25cf||_0x3d25cf['diffData'])return Promise['resolve']();{const _0x43f6db=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x43f6db,'revisionId':_0x3d25cf['id']})['then'](_0xcc46a9=>{_0x3d25cf['diffData']=_0xcc46a9['diffData'];});}}['_bufferUpdate'](_0x46205a,_0x351fa7,_0x407021){if(this['_bufferedUpdates']['has'](_0x46205a)){const _0x5202df=this['_bufferedUpdates']['get'](_0x46205a);_0x351fa7=_0x407021?{..._0x5202df,..._0x351fa7}:{..._0x351fa7,..._0x5202df};}this['_bufferedUpdates']['set'](_0x46205a,_0x351fa7);}['_getFromVersion'](_0xc50cae){const _0xfb842a=this['repository']['getRevisions']();_0xfb842a['reverse'](),_0xfb842a['shift']();const _0x3a9a11=_0xfb842a['find'](_0x592e01=>_0x592e01['toVersion']<=_0xc50cae)['toVersion'];return _0x3a9a11<this['_startingVersion']?this['_startingVersion']:_0x3a9a11;}['_createInitialRevision'](_0x7baa3){const _0x4188ac=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x4188ac)this['_initialRevisionId']=_0x4188ac['id'];else{const _0x434f61=!this['editor']['model']['document']['roots']['find'](_0x38f950=>this['editor']['model']['hasContent'](_0x38f950)),_0xbc4ff6=this['editor']['plugins']['get']('Users')['me']['id'],_0x148b11=y(this['editor']['locale'],_0x434f61?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x7baa3,'to':_0x7baa3,'id':this['_initialRevisionId'],'name':_0x148b11,'creatorId':_0xbc4ff6});}}['_createCurrentRevision'](_0x23e8f1){const _0x157d72=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x157d72),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x23e8f1,'to':_0x23e8f1,'id':_0x157d72,'name':'','creatorId':null}));}['_makeRevision']({name:_0x4e88de,from:_0x29fe9a,to:_0x29c728,creatorId:_0x8d1c65,id:_0x40602e}){const _0xf30f80=this['buildRevisionData']({'from':_0x29fe9a,'to':_0x29c728});_0xf30f80['name']=_0x4e88de,_0xf30f80['creatorId']=_0x8d1c65,_0xf30f80['id']=_0x40602e;const _0x49c22f=this['addRevisionData'](_0xf30f80);return this['adapter']&&this['_bufferUpdate'](_0xf30f80['id'],_0xf30f80,!0x0),_0x49c22f;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x422dc5){return(_0x422dc5=_0x422dc5['filter'](_0x3e51a6=>!_0x3e51a6['name']||'revision-start'!==_0x3e51a6['name']&&'revision-end'!==_0x3e51a6['name']))['forEach'](_0x262d17=>{'string'!=typeof _0x262d17&&(_0x262d17['children']=this['_removeRevisionMarkers'](_0x262d17['children']),_0x262d17['attributes']=_0x262d17['attributes']['filter'](_0x1c2677=>!_0x1c2677[0x0]['startsWith']('data-revision-')));}),_0x422dc5;}}function B(_0x2c155e,_0x30d7cf){const _0x4cef11=_0x30d7cf['editing']['view']['document'];if('string'==typeof _0x2c155e)return new _0x403540(_0x4cef11,_0x2c155e);{const _0x2844df=_0x2c155e['children']['map'](_0x580e3f=>B(_0x580e3f,_0x30d7cf));return new(T[_0x2c155e['type']]||_0x250e56)(_0x4cef11,_0x2c155e['name'],_0x2c155e['attributes'],_0x2844df);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0xb61d7c){this['editor']=_0xb61d7c,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'](_0x5ae3c2){this['source']=_0x5ae3c2;const _0x22b173=new Map(),_0xe284eb=new Map(),_0x3cb82a=this['editor']['model']['document']['roots']['map'](_0xd78cd=>_0xd78cd['rootName']);for(const _0xe070c9 of _0x3cb82a){const _0x530097=this['editor']['model']['document']['getRoot'](_0xe070c9),_0x696470=q(_0x530097);_0x22b173['set'](_0xe070c9,_0x696470),_0xe284eb['set'](_0xe070c9,Object['fromEntries'](_0x530097['getAttributes']()));}const _0x5ee498=Array['from'](this['editor']['model']['markers'])['map'](_0x8d2eca=>[_0x8d2eca['name'],_0x8d2eca['getRange']()]),_0x1bd18a=this['source']['version'];this['_saveMetaData'](_0x1bd18a,_0x22b173,_0x5ee498,_0xe284eb),this['_startingRevisionId']=this['_revisionId'];const _0x391b21=new Map(),_0x7cba9d=new Map();for(const _0x56d69c of _0x3cb82a){const _0x3c7c2b=G(_0x56d69c);_0x391b21['set'](_0x56d69c,_0x3c7c2b),_0x7cba9d['set'](_0x56d69c,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x391b21,[],_0x7cba9d);}['getData'](_0x43aa43,_0x205bbc){if(this['_lastFrom']===_0x43aa43&&this['_lastTo']<=_0x205bbc)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x205bbc,!0x0);else{if(!this['_savedMetaData']['has'](_0x43aa43)){const _0x30b6a6=this['_getPreviousFrom'](_0x43aa43);this['_calculateMetaData'](_0x30b6a6,_0x43aa43,!0x1);}this['_calculateMetaData'](_0x43aa43,_0x205bbc,!0x0);}return this['_lastFrom']=_0x43aa43,this['_lastTo']=_0x205bbc,this['_getState']();}['loadState'](_0x587d3f){this['_reset'](),this['_lastFrom']=_0x587d3f['fromVersion'],this['_lastTo']=_0x587d3f['toVersion'];for(const _0x17101a in _0x587d3f['diffData']){const _0x2e33fe=_0x587d3f['diffData'][_0x17101a]['attachChange'],_0x2e8dd9=_0xe75fe7(_0x587d3f['diffData'][_0x17101a]['attributesBefore'])||{},_0x2bdb7b=this['_makeModelFromViewString'](_0x587d3f['diffData'][_0x17101a]['deletions']);_0x2bdb7b['rootName']=_0x17101a,_0x2bdb7b['_isAttached']=!_0x2e33fe||!_0x2e33fe['isAttached'],_0x2bdb7b['isAttached']=()=>_0x2bdb7b['_isAttached'],this['_baseRoots']['set'](_0x17101a,_0x2bdb7b),this['_baseRootsAttributes']['set'](_0x17101a,_0x2e8dd9),_0x2e33fe&&this['_touchedRoots']['set'](_0x17101a,_0x2e33fe);const _0x56db05=this['_makeIdsRoot'](_0x2bdb7b);this['_baseIdsRoots']['set'](_0x17101a,_0x56db05);for(const [_0x639ebd,_0x10b6e0]of _0x2bdb7b['markers']){if(!_0x639ebd['startsWith']('revision:'))continue;const _0x51daea=_0x639ebd['split'](':')[0x2];for(const _0x1c5a08 of _0x10b6e0['getWalker']({'singleCharacters':!0x0})){const _0x4f6827=this['_getVidAttributeName'](_0x1c5a08),_0x2b8dc4='elementEnd'==_0x1c5a08['type']?_0x1c5a08['previousPosition']['path']['slice'](0x0,-0x1):_0x1c5a08['previousPosition']['path'],_0x2d5763=_0x56db05['getNodeByPath'](_0x2b8dc4)['getAttribute'](_0x4f6827);this['_touched']['set'](_0x2d5763,{'userId':_0x51daea});}}}this['_startingRevisionId']=this['_revisionId'];const _0x472e69=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x5d3fab=>!this['_touched']['has'](_0x5d3fab));let _0x1336e1=0x0;const _0x49b2c4=new Map();for(const _0x1544ff in _0x587d3f['diffData']){const _0x5b180b=_0x587d3f['diffData'][_0x1544ff]['attachChange'],_0xf4a651=_0xe75fe7(_0x587d3f['diffData'][_0x1544ff]['attributesAfter'])||{},_0x43540d=this['_makeModelFromViewString'](_0x587d3f['diffData'][_0x1544ff]['insertions']);_0x43540d['rootName']=_0x1544ff,_0x43540d['_isAttached']=!_0x5b180b||_0x5b180b['isAttached'],_0x43540d['isAttached']=()=>_0x43540d['_isAttached'],this['_diffRoots']['set'](_0x1544ff,_0x43540d),this['_diffRootsAttributes']['set'](_0x1544ff,_0xf4a651);const _0x1b3926=this['_makeIdsRoot'](_0x43540d,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x1544ff,_0x1b3926),_0x49b2c4['set'](_0x1544ff,_0x43540d['isAttached']()?_0xf4a651:{});for(const [_0x3c2814,_0x33b2c1]of _0x43540d['markers']){if(!_0x3c2814['startsWith']('revision:'))continue;const _0x291673=_0x3c2814['split'](':')[0x2];for(const _0x436465 of _0x33b2c1['getWalker']({'singleCharacters':!0x0})){const _0x3090c6=this['_getVidAttributeName'](_0x436465),_0xba894d=this['_revisionId']++,_0x41ffa9='elementEnd'==_0x436465['type']?_0x436465['previousPosition']['path']['slice'](0x0,-0x1):_0x436465['previousPosition']['path'];_0x1b3926['getNodeByPath'](_0x41ffa9)['_setAttribute'](_0x3090c6,_0xba894d),this['_touched']['set'](_0xba894d,{'userId':_0x291673});}}for(const _0x3b1bc7 of this['editor']['model']['createRangeIn'](_0x43540d)['getWalker']({'singleCharacters':!0x0})){const _0x542010=this['_getVidAttributeName'](_0x3b1bc7),_0x2f6b9e='elementEnd'==_0x3b1bc7['type']?_0x3b1bc7['previousPosition']['path']['slice'](0x0,-0x1):_0x3b1bc7['previousPosition']['path'],_0x33eacf=_0x1b3926['getNodeByPath'](_0x2f6b9e);_0x33eacf['getAttribute'](_0x542010)>0x0||_0x33eacf['_setAttribute'](_0x542010,_0x472e69[_0x1336e1++]);}for(const [_0x548906,_0x51efe2]of _0x43540d['markers'])_0x548906['startsWith']('revision:')||this['_markers']['set'](_0x548906,_0x51efe2);}const _0x1054dd=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x1054dd),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1054dd,0x1));const _0x42eb7e=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x42eb7e),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x42eb7e,0x1));const _0x493726=Array['from'](this['_diffRoots'])['map'](([_0x59c737,_0x91b8ca])=>[_0x59c737,q(_0x91b8ca)]);this['_saveMetaData'](this['_lastTo'],_0x493726,this['_markers'],_0x49b2c4);}['_makeModelFromViewString'](_0x4aedcf){const _0x5cdf90=JSON['parse'](_0x4aedcf),_0x492804=this['editor']['editing']['view']['document'],_0x16a938=new _0x405474(_0x492804,_0x5cdf90['map'](_0x45f57c=>B(_0x45f57c,this['editor'])));return this['editor']['data']['toModel'](_0x16a938);}['_saveMetaData'](_0x53023c,_0x506415,_0xafb9c9,_0x4522c1){const _0x5e5a7c=new Map(_0x506415),_0x45dbf0=new Map(_0xe75fe7(_0x4522c1)),_0x5cf074=new Map();for(const [_0xeb6716,_0x33face]of _0xafb9c9)_0x5cf074['set'](_0xeb6716,{'start':_0x33face['start']['clone'](),'end':_0x33face['end']['clone'](),'rootName':_0x33face['root']['rootName']});this['_savedMetaData']['set'](_0x53023c,{'roots':_0x5e5a7c,'markers':_0x5cf074,'rootsAttributes':_0x45dbf0});}['_removeMetaData'](_0x3a621b){this['_savedMetaData']['delete'](_0x3a621b);}['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'](_0x5387a7,_0x3103dc=null){let _0x1063f2=null;_0x5387a7['is']('documentFragment')||(_0x1063f2=new ft(_0x5387a7['name'],{'vid_start':null===_0x3103dc?this['_revisionId']++:_0x3103dc++}));const _0x48884b=[];for(const _0x2066be of _0x5387a7['getChildren']())if(_0x2066be['is']('element')){_0x48884b['push'](this['_makeIdsRoot'](_0x2066be,_0x3103dc));const _0x16f4cb=_0x48884b[_0x48884b['length']-0x1];null!==_0x3103dc&&(_0x3103dc=_0x16f4cb['is']('element','$text')?_0x16f4cb['getAttribute']('vid')+0x1:_0x16f4cb['getAttribute']('vid_end')+0x1);}else{for(let _0x363c71=0x0;_0x363c71<_0x2066be['offsetSize'];_0x363c71++)_0x48884b['push'](new ft('$text',{'vid':null===_0x3103dc?this['_revisionId']++:_0x3103dc++}));}if(_0x5387a7['is']('documentFragment')){const _0x466853=G(_0x5387a7['rootName']);return _0x466853['_insertChild'](0x0,_0x48884b),_0x466853;}return _0x1063f2['_setAttribute']('vid_end',null===_0x3103dc?this['_revisionId']++:_0x3103dc++),_0x1063f2['_insertChild'](0x0,_0x48884b),_0x1063f2;}['_calculateMetaData'](_0x1e3792,_0x27606c,_0x20fe5c){this['_reset']();const {roots:_0x105399,markers:_0x30a3e1,rootsAttributes:_0x5e37a7}=this['_savedMetaData']['get'](_0x1e3792);this['_baseRoots']=new Map(_0x105399),this['_baseRootsAttributes']=new Map(_0xe75fe7(_0x5e37a7));for(const [_0x1668fb,_0x18291a]of this['_baseRoots'])if('$graveyard'!==_0x1668fb&&(this['_diffRoots']['set'](_0x1668fb,q(_0x18291a)),this['_diffRootsAttributes']=new Map(_0xe75fe7(_0x5e37a7)),_0x20fe5c)){const _0x2af837=this['_revisionId'];this['_idsRoots']['set'](_0x1668fb,this['_makeIdsRoot'](_0x18291a)),this['_baseIdsRoots']['set'](_0x1668fb,this['_makeIdsRoot'](_0x18291a,_0x2af837));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x20fe5c&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x4e8dbf,_0x5ea707]of _0x30a3e1){const _0x504a87=this['_baseRoots']['get'](_0x5ea707['rootName']),_0x40de74=this['_diffRoots']['get'](_0x5ea707['rootName']),_0x45f414=new vt(this['_fixPosition'](_0x5ea707['start'],_0x504a87),this['_fixPosition'](_0x5ea707['end'],_0x504a87)),_0x26a184=this['_fixRange'](_0x45f414,_0x40de74);_0x504a87['markers']['set'](_0x4e8dbf,_0x45f414),this['_markers']['set'](_0x4e8dbf,_0x26a184);}this['_applyOperations'](_0x1e3792,_0x27606c,_0x20fe5c);}['_applyOperations'](_0x1fb2c2,_0x4b842b,_0x3e51f7){for(const _0x403f56 of this['source']['getOperations'](_0x1fb2c2,_0x4b842b))this['_handleOperation'](_0x403f56,_0x3e51f7);for(const _0x23f43d of this['_diffRoots']['values']())_0x23f43d['markers']['clear']();for(const [_0x36e1dc,_0xa3594c]of this['_markers']){this['_diffRoots']['get'](_0xa3594c['root']['rootName'])['markers']['set'](_0x36e1dc,_0xa3594c['clone']());}const _0x3a6fcb=new Map(),_0x44bce0=new Map();for(const [_0xe05141,_0x3893d9]of this['_diffRoots'])_0x3a6fcb['set'](_0xe05141,q(_0x3893d9)),_0x44bce0['set'](_0xe05141,this['_diffRootsAttributes']['get'](_0xe05141));this['_saveMetaData'](_0x4b842b,_0x3a6fcb,this['_markers'],_0x44bce0);}['_getPreviousFrom'](_0xc6d510){const _0xfd9988=Array['from'](this['_savedMetaData']['keys']());_0xfd9988['sort']((_0x137837,_0x5e2f45)=>_0x137837-_0x5e2f45),_0xfd9988['reverse']();for(const _0x473a1a of _0xfd9988)if(_0x473a1a<_0xc6d510)return _0x473a1a;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x4722fc,_0x3ac7d6){const _0x173a65=Array['from'](_0x3ac7d6['markers'])['map'](([_0x39d43b,_0x3897d2])=>[_0x39d43b,this['_fixRange'](_0x3897d2,_0x4722fc)]);_0x4722fc['markers']=new Map(_0x173a65);}['_transformMarkers'](_0x38958f){for(const _0x3cc065 of this['_markers']['values']()){const _0x4bb461=_0x3cc065['getTransformedByOperation'](_0x38958f),_0xb6bbb2=vt['_createFromRanges'](_0x4bb461);_0x3cc065['start']=_0xb6bbb2['start'],_0x3cc065['end']=_0xb6bbb2['end'];}}['_handleOperation'](_0x141aa6,_0x315bae){if('addRoot'==_0x141aa6['type']||'detachRoot'==_0x141aa6['type'])return void this['_handleRootOperation'](_0x141aa6,_0x315bae);if('insert'==_0x141aa6['type']){const _0x479c8f=_0x141aa6['position']['root']['rootName'];this['_diffRoots']['has'](_0x479c8f)||(this['_diffRoots']['set'](_0x479c8f,G(_0x479c8f,!0x0)),this['_diffRootsAttributes']['set'](_0x479c8f,{}),_0x315bae&&this['_idsRoots']['set'](_0x479c8f,G(_0x479c8f,!0x0)));}else{if('addRootAttribute'==_0x141aa6['type']||'removeRootAttribute'==_0x141aa6['type']||'changeRootAttribute'==_0x141aa6['type'])return void this['_handleRootAttributeOperation'](_0x141aa6);}const _0x3080e9=this['_cloneOperation'](_0x141aa6,this['_diffRoots']);if('marker'!==_0x141aa6['type']&&(_0x3080e9['_execute'](),this['_transformMarkers'](_0x3080e9)),_0x315bae)switch(_0x3080e9['type']){case'insert':this['_handleInsertOperation'](_0x141aa6);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x141aa6);break;case'merge':this['_handleMergeOperation'](_0x141aa6);break;case'split':this['_handleSplitOperation'](_0x141aa6);break;case'marker':this['_handleMarkerOperation'](_0x141aa6);}}['_cloneOperation'](_0x59f82a,_0x37b8d8){const _0x4c8bcc=_0x59f82a['clone']();return _0x4c8bcc['_authorId']=_0x59f82a['_authorId'],this['_fixOperation'](_0x4c8bcc,_0x37b8d8),_0x4c8bcc;}['_getBaseVids'](_0x1694e8){return _0x1694e8['map'](_0x42f711=>{const _0x3cbb25=this['_getVidAttributeName'](_0x42f711);return Number(_0x42f711['item']['getAttribute'](_0x3cbb25));});}['_generateTape'](_0x5d9551,_0x2f660b){if(_0x5d9551['is']('element','$text'))_0x2f660b['push']({'item':_0x5d9551,'type':'text'});else{_0x5d9551['is']('element')&&_0x2f660b['push']({'item':_0x5d9551,'type':'elementStart'});for(const _0x383959 of _0x5d9551['getChildren']())this['_generateTape'](_0x383959,_0x2f660b);_0x5d9551['is']('element')&&_0x2f660b['push']({'item':_0x5d9551,'type':'elementEnd'});}return _0x2f660b;}['_getState'](){const _0x22be7d=new Map(this['_touched']),_0x4eb413=new Map(_0x22be7d),_0x1a60cb=new Map(),_0x3d3487={'insertions':{},'deletions':{}},_0x5f551c={'insertions':{},'deletions':{}},_0x18687b=new Map(),_0x3498b4=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x3498b4['delete']('$graveyard');for(const _0x54453d of _0x3498b4){const _0x4ca35f=this['_diffRoots']['get'](_0x54453d)||G(_0x54453d,!0x1),_0x2880e6=this['_baseRoots']['get'](_0x54453d)||G(_0x54453d,!0x1);_0x4ca35f['isAttached']()||_0x2880e6['isAttached']()?(_0x3d3487['insertions'][_0x54453d]=q(_0x4ca35f),_0x3d3487['deletions'][_0x54453d]=q(_0x2880e6),this['_copyMarkers'](_0x3d3487['deletions'][_0x54453d],_0x2880e6),this['_copyMarkers'](_0x3d3487['insertions'][_0x54453d],_0x4ca35f),_0x5f551c['insertions'][_0x54453d]=this['_generateTape'](this['_idsRoots']['get'](_0x54453d),[]),_0x5f551c['deletions'][_0x54453d]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x54453d)||G(_0x54453d,!0x1),[])):_0x3498b4['delete'](_0x54453d);}for(const _0x482975 of _0x3498b4){const _0x17ee28=_0x5f551c['insertions'][_0x482975];for(const _0x377f06 of _0x17ee28){const _0x474c1a=this['_getVidAttributeName'](_0x377f06),_0x314f15=_0x377f06['item']['getAttribute'](_0x474c1a);_0x4eb413['delete'](_0x314f15),_0x314f15>=this['_startingRevisionId']&&_0x1a60cb['set'](_0x314f15,_0x22be7d['get'](_0x314f15));}}for(const _0x124139 of _0x3498b4){const _0xc0d5d9=_0x5f551c['insertions'][_0x124139],_0x1cfb60=this['_getBaseVids'](_0x5f551c['deletions'][_0x124139]);let _0x4457b9=0x0;for(const _0x38bc20 of _0xc0d5d9){const _0x449a2a=this['_getVidAttributeName'](_0x38bc20),_0x273c03=_0x38bc20['item']['getAttribute'](_0x449a2a);if(!_0x1a60cb['has'](_0x273c03)&&!_0x18687b['has'](_0x273c03)){if(_0x4eb413['has'](_0x273c03))_0x4457b9++;else{if(_0x273c03!=_0x1cfb60[_0x4457b9]){const _0x54a898=_0x22be7d['get'](_0x273c03)||_0x22be7d['get'](_0x1cfb60[_0x4457b9]);for(;_0x273c03!=_0x1cfb60[_0x4457b9];)_0x4eb413['has'](_0x1cfb60[_0x4457b9])||(_0x18687b['set'](_0x1cfb60[_0x4457b9],_0x54a898),_0x22be7d['set'](_0x1cfb60[_0x4457b9],_0x54a898)),_0x4457b9++;}_0x4457b9++;}}}}for(const _0x2011b8 of _0x3498b4){const _0x4ba5c1=_0x5f551c['insertions'][_0x2011b8];for(const _0x34109a of _0x4ba5c1){const _0x166b4c=this['_getVidAttributeName'](_0x34109a),_0x13db34=_0x34109a['item']['getAttribute'](_0x166b4c);if(_0x18687b['has'](_0x13db34)){const _0x5d90d1=_0x18687b['get'](_0x13db34);_0x4eb413['has'](_0x13db34)||_0x4eb413['set'](_0x13db34,{..._0x5d90d1}),_0x1a60cb['set'](_0x13db34,{..._0x5d90d1});}}}for(const _0xf6fc3d of _0x4eb413['keys']())_0xf6fc3d>=this['_startingRevisionId']&&_0x4eb413['delete'](_0xf6fc3d);const _0x5c3551=new Map();for(const _0x331f8b of _0x3498b4){let _0x176a8d=_0x5f551c['insertions'][_0x331f8b];for(const _0x493640 of _0x176a8d)if(_0x493640['item']['is']('element','tableCell')){const _0x1684f3=this['_getVidAttributeName'](_0x493640),_0x450e9a=_0x493640['item']['getAttribute'](_0x1684f3);if(_0x1a60cb['has'](_0x450e9a)){const _0x141b6f=_0x493640['item']['parent']['parent']['getAttribute']('vid_start'),_0x13dccd=_0x5c3551['get'](_0x141b6f)||new Set();_0x13dccd['add'](_0x1a60cb['get'](_0x450e9a)['userId']),_0x5c3551['set'](_0x141b6f,_0x13dccd);}}_0x176a8d=_0x5f551c['deletions'][_0x331f8b];for(const _0x4ffe35 of _0x176a8d)if(_0x4ffe35['item']['is']('element','tableCell')){const _0x5c89a7=this['_getVidAttributeName'](_0x4ffe35),_0x4f9de5=_0x4ffe35['item']['getAttribute'](_0x5c89a7);if(_0x4eb413['has'](_0x4f9de5)){const _0x4f4a52=_0x4ffe35['item']['parent']['parent']['getAttribute']('vid_start'),_0x2c7121=_0x5c3551['get'](_0x4f4a52)||new Set();_0x2c7121['add'](_0x4eb413['get'](_0x4f9de5)['userId']),_0x5c3551['set'](_0x4f4a52,_0x2c7121);}}for(const _0x3eff0b of _0x5c3551['keys']())(_0x1a60cb['has'](_0x3eff0b)||_0x4eb413['has'](_0x3eff0b))&&_0x5c3551['delete'](_0x3eff0b);}for(const _0x378feb of _0x3498b4){const _0x19ba98=_0x5f551c['insertions'][_0x378feb];let _0x5718ba=null,_0x5006e7=null;for(const _0x2c6f39 of _0x19ba98){const _0xaadbf9=this['_getVidAttributeName'](_0x2c6f39),_0x3f55cc=_0x2c6f39['item']['getAttribute'](_0xaadbf9),_0x44d051=_0x5c3551['get'](_0x3f55cc);_0x44d051&&'elementStart'==_0x2c6f39['type']&&(_0x5718ba=Array['from'](_0x44d051)[0x0],_0x5006e7=_0x2c6f39['item']['getAttribute']('vid_end')),_0x5718ba&&(_0x4eb413['set'](_0x3f55cc,{'userId':_0x5718ba}),_0x1a60cb['set'](_0x3f55cc,{'userId':_0x5718ba})),_0x3f55cc==_0x5006e7&&(_0x5718ba=null,_0x5006e7=null);}}const _0x1a81de={},_0x1d5034=new Set();for(const _0x1fe2a3 of _0x3498b4){const _0x428ff7=_0x3d3487['deletions'][_0x1fe2a3],_0x36f9cb=_0x3d3487['insertions'][_0x1fe2a3];for(const {userId:_0x192e8a}of this['_touchedMarkers']['values']())null!==_0x192e8a&&_0x1d5034['add'](_0x192e8a);for(const {userId:_0x19bcce}of this['_touchedRoots']['values']())null!==_0x19bcce&&_0x1d5034['add'](_0x19bcce);this['_markChanges'](_0x36f9cb,_0x5f551c['insertions'][_0x1fe2a3],_0x1a60cb,'insertion',_0x1d5034),this['_markChanges'](_0x428ff7,_0x5f551c['deletions'][_0x1fe2a3],_0x4eb413,'deletion',_0x1d5034),_0x1a81de[_0x1fe2a3]={'insertions':this['_prepareViewToSave'](_0x36f9cb),'deletions':this['_prepareViewToSave'](_0x428ff7),'attachChange':this['_touchedRoots']['get'](_0x1fe2a3)||null,'attributesBefore':_0xe75fe7(this['_baseRootsAttributes']['get'](_0x1fe2a3))||{},'attributesAfter':_0xe75fe7(this['_diffRootsAttributes']['get'](_0x1fe2a3))};}return{'diffData':_0x1a81de,'authorsIds':Array['from'](_0x1d5034)};}['_processRootBeforeSave'](_0x54505b){for(const [,_0x30cdce]of _0x54505b['markers']){const _0x20f24b=_0x30cdce['start']['getAncestors']()['filter'](_0x5d0407=>'tableCell'==_0x5d0407['name']);for(const _0x584ef2 of _0x20f24b)0x1==_0x584ef2['childCount']&&_0x584ef2['getChild'](0x0)['is']('element','paragraph')&&_0x584ef2['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x196a88){this['_processRootBeforeSave'](_0x196a88);const _0x1f837b=this['editor']['data']['toView'](_0x196a88,{}),_0x46978a=Array['from'](_0x1f837b['getChildren']())['map'](_0x3bfff2=>this['_getViewJson'](_0x3bfff2));return JSON['stringify'](_0x46978a);}['_getViewJson'](_0x368991){if(_0x368991['is']('$text'))return _0x368991['data'];{const _0x49e5c5=_0x368991;return{'type':Object['keys'](T)['find'](_0x380e58=>_0x368991 instanceof T[_0x380e58]),'name':_0x49e5c5['name'],'attributes':Array['from'](_0x49e5c5['getAttributes']()),'children':Array['from'](_0x49e5c5['getChildren']())['map'](_0xef3be5=>this['_getViewJson'](_0xef3be5))};}}['_markChanges'](_0x11f2e2,_0x333a84,_0x88179a,_0x30c32f,_0x7a52f5){let _0x2d317b=null,_0x52ad6e=null,_0xbb8153=0x0;const _0x1dfd70=this['editor']['model'];for(let _0x5c376d=0x0;_0x5c376d<_0x333a84['length'];_0x5c376d++){const _0x5f4ae3=this['_getVidAttributeName'](_0x333a84[_0x5c376d]),_0x3c5a6d=_0x333a84[_0x5c376d]['item']['getAttribute'](_0x5f4ae3),_0x1b1f03=_0x88179a['get'](_0x3c5a6d),_0x169417=_0x5c376d==_0x333a84['length']-0x1;(!_0x2d317b&&_0x1b1f03&&(_0x2d317b=_0x1b1f03,_0x52ad6e=_0x333a84[_0x5c376d]),_0x2d317b&&(!_0x1b1f03||_0x1b1f03['userId']!=_0x2d317b['userId']))&&(_0x2424c8(_0x1b1f03,L(_0x52ad6e,_0x11f2e2,_0x1dfd70),L(_0x333a84[_0x5c376d],_0x11f2e2,_0x1dfd70)),_0x2d317b=_0x1b1f03||null,_0x52ad6e=_0x1b1f03?_0x333a84[_0x5c376d]:null),_0x2d317b&&_0x169417&&_0x2424c8(_0x1b1f03,L(_0x52ad6e,_0x11f2e2,_0x1dfd70),W(_0x333a84[_0x5c376d],_0x11f2e2,_0x1dfd70));}function _0x2424c8(_0x4c8f45,_0x539cf0,_0x4e434e){const _0x4b8b58=_0x2d317b['userId'],_0x23db12='revision:'+_0x30c32f+':'+_0x4b8b58+':'+_0xbb8153++,_0x21d90a=_0x1dfd70['createRange'](_0x539cf0,_0x4e434e);_0x11f2e2['markers']['set'](_0x23db12,_0x21d90a),null!==_0x4b8b58&&_0x7a52f5['add'](_0x4b8b58);}}['_getVidAttributeName'](_0x54fabd){switch(_0x54fabd['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x21212a,_0x2c3590){_0x21212a['baseVersion']=null;for(const _0x24c02b in _0x21212a){const _0x5e0d04=_0x21212a[_0x24c02b];if(_0x5e0d04 instanceof gt){const _0x4b48c2=_0x2c3590['get'](_0x5e0d04['root']['rootName']);_0x21212a[_0x24c02b]=this['_fixPosition'](_0x5e0d04,_0x4b48c2);}if(_0x5e0d04 instanceof vt){const _0x54af2a=_0x2c3590['get'](_0x5e0d04['root']['rootName']);_0x21212a[_0x24c02b]=this['_fixRange'](_0x5e0d04,_0x54af2a);}'root'===_0x24c02b&&(_0x21212a['root']=_0x2c3590['get'](_0x21212a['root']['rootName']));}}['_fixRange'](_0x2e2ded,_0x29af6c){return this['editor']['model']['createRange'](this['_fixPosition'](_0x2e2ded['start'],_0x29af6c),this['_fixPosition'](_0x2e2ded['end'],_0x29af6c));}['_fixPosition'](_0x231f60,_0x487817){return this['editor']['model']['createPositionFromPath'](_0x487817,_0x231f60['path'],_0x231f60['stickiness']);}['_handleInsertOperation'](_0x337eab){const _0x52529e=this['_idsRoots']['get'](_0x337eab['position']['root']['rootName']),_0x54c389=this['_fixPosition'](_0x337eab['position'],_0x52529e),_0x27ee32=null===_0x337eab['_authorId']?null:_0x337eab['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2b3ebd=_0x54c389['parent'],_0x1949ef=this['_revisionId'],_0x55ca3a=[];for(const _0x2f0bbb of _0x337eab['nodes'])if(_0x2f0bbb['is']('element'))_0x55ca3a['push'](this['_makeIdsRoot'](_0x2f0bbb));else{for(let _0x4f1f83=0x0;_0x4f1f83<_0x2f0bbb['offsetSize'];_0x4f1f83++)_0x55ca3a['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x4ce3c9=this['_revisionId'];for(let _0x3de072=_0x1949ef;_0x3de072<_0x4ce3c9;_0x3de072++)this['_touched']['set'](_0x3de072,{'userId':_0x27ee32});_0x2b3ebd['_insertChild'](_0x54c389['offset'],_0x55ca3a);}['_handleMoveOperation'](_0x87082c){(_0x87082c=this['_cloneOperation'](_0x87082c,this['_idsRoots']))['_execute']();const _0x3eb1e9=null===_0x87082c['_authorId']?null:_0x87082c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x14b393=_0x87082c['getMovedRangeStart'](),_0x2c8419=_0x14b393['parent'],_0x6184c7=_0x14b393['offset'];!function _0x4a659f(_0xcaeaee,_0x2fbfff,_0x16c19c,_0x3b1b8a){for(let _0x143482=_0x16c19c;_0x143482<_0x3b1b8a;_0x143482++){const _0x3623a9=_0x2fbfff['getChild'](_0x143482);_0x3623a9['is']('element','$text')?_0xcaeaee['set'](_0x3623a9['getAttribute']('vid'),{'userId':_0x3eb1e9}):(_0xcaeaee['set'](_0x3623a9['getAttribute']('vid_start'),{'userId':_0x3eb1e9}),_0x4a659f(_0xcaeaee,_0x3623a9,0x0,_0x3623a9['childCount']),_0xcaeaee['set'](_0x3623a9['getAttribute']('vid_end'),{'userId':_0x3eb1e9}));}}(this['_touched'],_0x2c8419,_0x6184c7,_0x6184c7+_0x87082c['howMany']);}['_handleMergeOperation'](_0x4f4349){const _0x3a3a64=null===(_0x4f4349=this['_cloneOperation'](_0x4f4349,this['_idsRoots']))['_authorId']?null:_0x4f4349['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xf43304=_0x4f4349['targetPosition']['parent'],_0x324e6a=_0x4f4349['sourcePosition']['parent'],_0x1e0d1c=_0xf43304['getAttribute']('vid_end'),_0x29188f=_0x324e6a['getAttribute']('vid_start');_0xf43304['_setAttribute']('vid_end',_0x324e6a['getAttribute']('vid_end')),_0x324e6a['_setAttribute']('vid_end',_0x1e0d1c),this['_touched']['set'](_0x29188f,{'userId':_0x3a3a64}),this['_touched']['set'](_0x1e0d1c,{'userId':_0x3a3a64}),_0x4f4349['_execute']();}['_handleSplitOperation'](_0x5d6cbb){const _0xb5b813=null===(_0x5d6cbb=this['_cloneOperation'](_0x5d6cbb,this['_idsRoots']))['_authorId']?null:_0x5d6cbb['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x16e212=_0x5d6cbb['graveyardPosition'],_0x6bfb14=_0x5d6cbb['splitPosition']['parent'];_0x5d6cbb['_execute']();const _0x4b92d3=_0x6bfb14['getAttribute']('vid_end'),_0x1de5ab=_0x5d6cbb['insertionPosition']['nodeAfter'];if(_0x16e212){const _0x51b188=_0x1de5ab['getAttribute']('vid_end'),_0x494091=_0x6bfb14['getAttribute']('vid_end');_0x6bfb14['_setAttribute']('vid_end',_0x51b188),_0x1de5ab['_setAttribute']('vid_end',_0x494091),this['_touched']['set'](_0x6bfb14['getAttribute']('vid_end'),{'userId':_0xb5b813}),this['_touched']['set'](_0x1de5ab['getAttribute']('vid_start'),{'userId':_0xb5b813});}else{const _0x14cebc=this['_revisionId']++,_0xb8ecc5=this['_revisionId']++;_0x6bfb14['_setAttribute']('vid_end',_0x14cebc),_0x1de5ab['_setAttribute']('vid_start',_0xb8ecc5),_0x1de5ab['_setAttribute']('vid_end',_0x4b92d3),this['_touched']['set'](_0x14cebc,{'userId':_0xb5b813}),this['_touched']['set'](_0xb8ecc5,{'userId':_0xb5b813});}}['_handleMarkerOperation'](_0x51cbf4){if(!_0x51cbf4['affectsData'])return;const _0x3f4681=(_0x51cbf4=this['_cloneOperation'](_0x51cbf4,this['_diffRoots']))['oldRange']?_0x51cbf4['oldRange']['root']:null,_0x84eebc=_0x51cbf4['newRange']?_0x51cbf4['newRange']['root']:null;_0x3f4681&&this['_markers']['delete'](_0x51cbf4['name']),_0x84eebc&&this['_markers']['set'](_0x51cbf4['name'],_0x51cbf4['newRange']['clone']());const _0x51b200=null===_0x51cbf4['_authorId']?null:_0x51cbf4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1ea2ba=_0x51cbf4['name'];if(!this['_touchedMarkers']['has'](_0x1ea2ba))return void this['_touchedMarkers']['set'](_0x1ea2ba,{'range':_0x51cbf4['oldRange'],'userId':_0x51b200});const _0x298c28=this['_touchedMarkers']['get'](_0x1ea2ba),_0x56d8b9=_0x298c28['range'],_0x4a4c12=_0x51cbf4['newRange'];null==_0x56d8b9&&null==_0x4a4c12||_0x56d8b9&&_0x4a4c12&&_0x56d8b9['isEqual'](_0x4a4c12)?this['_touchedMarkers']['delete'](_0x51cbf4['name']):_0x298c28['userId']=_0x51b200;}['_handleRootOperation'](_0xeeee4,_0x37e88f){this['_diffRoots']['has'](_0xeeee4['rootName'])?this['_diffRoots']['get'](_0xeeee4['rootName'])['_isAttached']=_0xeeee4['isAdd']:(this['_diffRoots']['set'](_0xeeee4['rootName'],G(_0xeeee4['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0xeeee4['rootName'],{}),_0x37e88f&&this['_idsRoots']['set'](_0xeeee4['rootName'],G(_0xeeee4['rootName'],!0x0)));const _0x40c69a=null===_0xeeee4['_authorId']?null:_0xeeee4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x30619a=this['_touchedRoots']['get'](_0xeeee4['rootName']);_0x30619a&&_0x30619a['userId']===_0x40c69a?this['_touchedRoots']['delete'](_0xeeee4['rootName']):this['_touchedRoots']['set'](_0xeeee4['rootName'],{'userId':_0x40c69a,'isAttached':_0xeeee4['isAdd']});}['_handleRootAttributeOperation'](_0x83a198){const _0x199be2=this['_diffRootsAttributes']['get'](_0x83a198['root']['rootName']);null===_0x83a198['newValue']?delete _0x199be2[_0x83a198['key']]:_0x199be2[_0x83a198['key']]=_0x83a198['newValue'];}}function q(_0x149fa9){const _0x30a251=G(_0x149fa9['rootName'],_0x149fa9['isAttached']());for(const _0x3e0cc9 of _0x149fa9['getChildren']()){const _0x355938=_0x3e0cc9['_clone'](!0x0);_0x30a251['_appendChild'](_0x355938);}return _0x30a251;}function G(_0x35f0db,_0x1047d6=!0x0){const _0x2f4867=new wt();return _0x2f4867['rootName']=_0x35f0db,_0x2f4867['_isAttached']=_0x1047d6,_0x2f4867['isAttached']=()=>_0x2f4867['_isAttached'],_0x2f4867;}function L(_0x272be8,_0x4e8831,_0x291f34){const _0xd8e341='elementEnd'==_0x272be8['type']?_0x291f34['createPositionAt'](_0x272be8['item'],'end'):_0x291f34['createPositionBefore'](_0x272be8['item']);return _0x291f34['createPositionFromPath'](_0x4e8831,_0xd8e341['path'],_0xd8e341['stickiness']);}function W(_0x57078e,_0x214e89,_0x695f9c){const _0x138475='elementStart'==_0x57078e['type']?_0x695f9c['createPositionAt'](_0x57078e['item'],0x0):_0x695f9c['createPositionAfter'](_0x57078e['item']);return _0x695f9c['createPositionFromPath'](_0x214e89,_0x138475['path'],_0x138475['stickiness']);}class ns extends _0x46a098{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x5ef356,_0x39a793){super(_0x5ef356),this['focusTracker']=new _0xb34329(),this['keystrokes']=new _0x1b6f80(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x39a793),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'](),_0x2f68e7({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x35d950=_0x39efc3=>_0x39efc3['stopPropagation']();this['keystrokes']['set']('arrowright',_0x35d950),this['keystrokes']['set']('arrowleft',_0x35d950),this['keystrokes']['set']('arrowup',_0x35d950),this['keystrokes']['set']('arrowdown',_0x35d950);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x4dc018){this['revisionNameInputView']['fieldView']['element']['value']=_0x4dc018['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x4797b4){const _0x33739d=new at(this['locale'],_0x2c31d9),_0x3536cb=_0x33739d['fieldView'];_0x3536cb['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x54009e=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x4797b4&&(_0x54009e+='\x20('+y(this['locale'],'optional')+')'),(_0x33739d['label']=_0x54009e,_0x3536cb['on']('input',()=>{this['revisionNameInputValue']=_0x3536cb['element']['value']['trim']();}),_0x33739d);}}class u extends _0x14cffe{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x498dc9=this['editor'],_0x4acace=_0x498dc9['plugins']['get']('RevisionTracker');_0x498dc9['ui']['componentFactory']['add']('revisionHistory',_0x25bf1a=>{const _0x453eb9=_0x580c86(_0x25bf1a),_0x2fc2c6=_0x453eb9['panelView']['children'],_0x46e93b=new te(_0x25bf1a),_0x1c94fa=new _0x1cbfc2(_0x25bf1a),_0x269325=new _0x2484d4(_0x25bf1a),_0x48c17e=new _0x1cbfc2(_0x25bf1a),_0x1fbd5b=new _0x2484d4(_0x25bf1a);return _0x453eb9['bind']('isEnabled')['to'](_0x4acace,'isReady',_0x4acace,'isEnabled',_0x498dc9,'isReadOnly',(_0x2aaa57,_0x3b5b24,_0x5afaaa)=>_0x2aaa57&&_0x3b5b24&&!_0x5afaaa),_0x453eb9['buttonView']['set']({'icon':_0x3398b1['history'],'label':y(_0x25bf1a,'Revision\x20history'),'tooltip':!0x0}),_0x269325['set']({'label':y(_0x25bf1a,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x269325['bind']('isEnabled')['to'](_0x4acace,'isReady',_0x4acace,'isEnabled',_0x498dc9,'isReadOnly',(_0x183dea,_0x180296,_0x1810a5)=>_0x183dea&&_0x180296&&!_0x1810a5),_0x269325['on']('execute',()=>this['_showDialog']()),_0x1fbd5b['set']({'label':y(_0x25bf1a,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x1fbd5b['bind']('isEnabled')['to'](_0x4acace,'isReady',_0x498dc9,'isReadOnly',(_0x1496f7,_0x453002)=>_0x1496f7&&!_0x453002),_0x1fbd5b['on']('execute',()=>{_0x498dc9['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x453eb9['isOpen']=!0x1,_0x498dc9['editing']['view']['focus']();}),_0x1c94fa['children']['add'](_0x269325),_0x48c17e['children']['add'](_0x1fbd5b),_0x46e93b['role']='menu',_0x46e93b['items']['addMany']([_0x1c94fa,_0x48c17e]),_0x2fc2c6['add'](_0x46e93b),_0x453eb9;}),_0x498dc9['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x369322=this['editor'],_0x165d5e=_0x369322['locale'],_0x420f40=new _0x5fde76(_0x165d5e),_0x12ef02=new _0x3aaace(_0x165d5e);_0x420f40['buttonView']['set']({'icon':_0x3398b1['history'],'label':y(_0x165d5e,'Revision\x20history')});const _0x551f95=new _0x5c2c8d(_0x165d5e,_0x420f40),_0x508cda=new _0x308a8f(_0x165d5e);_0x508cda['set']({'label':y(_0x165d5e,'Save\x20current\x20revision')}),_0x508cda['delegate']('execute')['to'](_0x420f40),_0x508cda['on']('execute',()=>{this['_showDialog']();}),_0x551f95['children']['add'](_0x508cda),_0x12ef02['items']['add'](_0x551f95);const _0x3d98ff=new _0x5c2c8d(_0x165d5e,_0x420f40),_0x3ed8a3=new _0x308a8f(_0x165d5e);return _0x3ed8a3['set']({'label':y(_0x165d5e,'Open\x20revision\x20history')}),_0x3ed8a3['delegate']('execute')['to'](_0x420f40),_0x3ed8a3['on']('execute',()=>{_0x369322['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x3d98ff['children']['add'](_0x3ed8a3),_0x12ef02['items']['add'](_0x3d98ff),_0x420f40['panelView']['children']['add'](_0x12ef02),_0x420f40;}['_showDialog'](){const _0x37f7aa=this['editor'],_0x454802=_0x37f7aa['locale'],t=_0x454802['t'],_0x19f647=_0x37f7aa['plugins']['get']('Dialog'),_0x14d1fc=_0x37f7aa['plugins']['get']('RevisionTracker');function _0x347a18(_0x376cca){_0x37f7aa['config']['get']('revisionHistory.requireRevisionName')&&''===_0x376cca['revisionName']?_0x376cca['revisionNameInputView']['errorText']=y(_0x454802,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x37f7aa['plugins']['get'](l)['saveRevision']({'name':_0x376cca['revisionName']}),_0x19f647['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x347a18(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x19f647['show']({'id':'revisionSave','title':y(_0x454802,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x19f647['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x4fd819){_0x4fd819['bind']('isEnabled')['to'](_0x14d1fc,'isReady',_0x14d1fc,'isEnabled',_0x37f7aa,'isReadOnly',(_0x56ade5,_0x2baf93,_0x3ffcf6)=>_0x56ade5&&_0x2baf93&&!_0x3ffcf6);},'onExecute':()=>_0x347a18(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x381451=this['editor'],_0x1e6340=_0x381451['locale'];this['_saveRevisionFormView']=new ns(_0x1e6340,_0x381451['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x46a098{['changeId'];['_model'];constructor(_0x33a3f4,_0x17d584){super(_0x33a3f4),this['_model']=_0x17d584,this['changeId']=_0x17d584['id'];const _0x5d1287=this['bindTemplate'],_0xd70131=y(_0x33a3f4,_0x17d584['data']['isSuggestion']?'Suggested\x20by':'add'==_0x17d584['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x17d584['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x5d1287['to']('type',_0x5fc3ee=>'ck-revision-change__'+_0x5fc3ee)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0xd70131}]},{'text':'\x20'+_0x17d584['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x4dd59d(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x5ea759){super(),this['id']=_0x5ea759['id']||_0x2bbace(),this['author']=_0x5ea759['author'],this['type']=_0x5ea759['type'],this['data']=_0x5ea759['data']||{},this['rootName']=_0x5ea759['rootName'],this['set']('createdAt',_0x5ea759['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(_0x238002,_0x1577f8){this['newRevisionId']=_0x238002,this['oldRevisionId']=_0x1577f8,this['changes']=new _0x9053aa();}['_setChanges'](_0x59963c){for(const _0x338c52 of _0x59963c)this['changes']['add'](_0x338c52);}}const tt={'c':_0x27bf8b,'a':_0x57df7d,'e':_0xe9e302,'r':_0xdbb659,'u':_0x2ecba1};class d extends _0x14cffe{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x263be0,_0x553bf6,A];}constructor(_0x46d6d8){super(_0x46d6d8),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',(_0x379e7c,_0x36c1d0,_0x28810c)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x5e4749=>{for(const _0x50bf12 of this['editor']['editing']['view']['document']['roots'])_0x28810c?_0x5e4749['removeClass']('ck-editor__editable__overlay',_0x50bf12):_0x5e4749['addClass']('ck-editor__editable__overlay',_0x50bf12);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x3a876d=>null!==_0x3a876d),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x2cf919,_0x267b07,_0x49d90f)=>_0x2cf919&&_0x49d90f?_0x267b07['changes']['getIndex'](_0x49d90f):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0xb7ea00,_0x74f228)=>_0xb7ea00?_0x74f228['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x553bf6);}['init'](){const _0x141a6a=this['editor'],_0x297100=new yt(_0x141a6a,{'direction':'backward'}),_0x5becba=new yt(_0x141a6a,{'direction':'forward'});(_0x141a6a['commands']['add']('showPreviousChange',_0x297100),_0x141a6a['commands']['add']('showNextChange',_0x5becba),_0x141a6a['commands']['add']('restoreRevision',new bt(_0x141a6a)),this['on']('change:numberOfChanges',()=>{_0x297100['refresh'](),_0x5becba['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x141a6a['enableReadOnlyMode']('revision-viewer'),_0x141a6a['plugins']['has']('WidgetToolbarRepository'))&&_0x141a6a['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x3b0657){await this['loadRevisionData'](_0x3b0657);const _0x1908d4={};for(const _0x4cca46 in _0x3b0657['diffData']){if(_0x3b0657['diffData'][_0x4cca46]['attachChange']&&!_0x3b0657['diffData'][_0x4cca46]['attachChange']['isAttached'])continue;const _0x1b0290=this['_removeRevisionMarkers'](JSON['parse'](_0x3b0657['diffData'][_0x4cca46]['insertions'])),_0x5a1dae=this['editor']['editing']['view']['document'],_0x3ebf6c=new _0x405474(_0x5a1dae,_0x1b0290['map'](_0x534085=>this['_getViewObj'](_0x534085)));this['editor']['data']['processor']['useFillerType']('marked'),_0x1908d4[_0x4cca46]=this['editor']['data']['processor']['toData'](_0x3ebf6c),this['editor']['data']['processor']['useFillerType']('default');}return _0x1908d4;}async['getRevisionRootsAttributes'](_0x1aaf6c){await this['loadRevisionData'](_0x1aaf6c);const _0x57a2fb={};for(const _0x10f0ff in _0x1aaf6c['diffData'])_0x1aaf6c['diffData'][_0x10f0ff]['attachChange']&&!_0x1aaf6c['diffData'][_0x10f0ff]['attachChange']['isAttached']||(_0x57a2fb[_0x10f0ff]=_0x1aaf6c['diffData'][_0x10f0ff]['attributesAfter']||{});return _0x57a2fb;}['_removeRevisionMarkers'](_0x5ce626){return(_0x5ce626=_0x5ce626['filter'](_0x5842a4=>!_0x5842a4['name']||'revision-start'!==_0x5842a4['name']&&'revision-end'!==_0x5842a4['name']))['forEach'](_0x3e7671=>{'string'!=typeof _0x3e7671&&(_0x3e7671['children']=this['_removeRevisionMarkers'](_0x3e7671['children']),_0x3e7671['attributes']=_0x3e7671['attributes']['filter'](_0x56342e=>!_0x56342e[0x0]['startsWith']('data-revision-')));}),_0x5ce626;}async['compare'](_0x33ce2a,_0x4eaf0f,_0x111f22=!0x1){if(!this['isEnabled'])return;const _0x19568b=this['diff'],_0x25ba51=this['repository'],_0x363a1e='string'==typeof _0x33ce2a?_0x25ba51['getRevision'](_0x33ce2a):_0x33ce2a,_0x30ddf5='string'==typeof _0x4eaf0f?_0x25ba51['getRevision'](_0x4eaf0f):_0x4eaf0f,_0x3621ec=_0x363a1e['id'],_0x1c65c5=_0x30ddf5?_0x30ddf5['id']:null;if(!_0x111f22&&this['diff']&&this['diff']['newRevisionId']===_0x3621ec&&this['diff']['oldRevisionId']===_0x1c65c5)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x3621ec,_0x1c65c5);const _0x2c8390=this['_getRevisionsRange'](_0x363a1e,_0x30ddf5,!0x0)['map'](_0xe32f9d=>this['loadRevisionData'](_0xe32f9d));return _0x2c8390['push'](new Promise(_0x41e5be=>{setTimeout(_0x41e5be,0x14);})),Promise['all'](_0x2c8390)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x3e1a64=this['_getDiff'](_0x3621ec,_0x1c65c5);for(const _0x3391b0 of _0x3e1a64['changes'])this['_changeIdToChange']['set'](_0x3391b0['id'],_0x3391b0);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x13b075=>{for(const _0x542618 of this['editor']['model']['document']['getRootNames']())_0x13b075['detachRoot'](_0x542618);for(const _0x33364c of Object['keys'](_0x3e1a64['model'])){const _0x224f8d=_0x13b075['addRoot'](_0x33364c);for(const _0x3c51b9 of Object['keys'](_0x3e1a64['attributes'][_0x33364c]))_0x13b075['setAttribute'](_0x3c51b9,_0x3e1a64['attributes'][_0x33364c][_0x3c51b9],_0x224f8d);_0x13b075['insert'](_0x3e1a64['model'][_0x33364c],_0x224f8d,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x3e1a64['changes'])),this['isReady']=!0x0;})['catch'](_0x667825=>{console['error'](_0x667825),this['_cleanUp'](),_0x19568b&&(this['diff']=_0x19568b),this['isReady']=!0x0;});}['addRevisionData'](_0x587141,_0x25a08a){const _0x229ad7=this['repository']['createRevision'](_0x587141);return _0x229ad7['on']('_update',(_0x120b3c,_0x2e9015,_0x57a5a9)=>_0x25a08a(_0x2e9015,_0x57a5a9,_0x229ad7)),this['repository']['addRevision'](_0x229ad7),_0x229ad7;}['loadRevisionData'](_0x2bcf78){if(!_0x2bcf78||_0x2bcf78['diffData'])return Promise['resolve']();{const _0x5bf24e=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x5bf24e,'revisionId':_0x2bcf78['id']})['then'](_0x3d495c=>{_0x2bcf78['_update']({'diffData':_0x3d495c['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},_0x4e4cef=>{for(const _0x4645a7 of this['editor']['model']['document']['getRootNames']())_0x4e4cef['detachRoot'](_0x4645a7);});}['_sortAndFilterDiffChanges'](_0x1f8ef2){const _0x153dd2=[],_0x5a89f5=new Map();for(const _0x14acdb of this['editor']['model']['document']['getRootNames']()){const _0x55e84a=this['editor']['editing']['view']['getDomRoot'](_0x14acdb);if(!_0x55e84a)continue;const _0x33af4=_0x55e84a['getClientRects']()['item'](0x0);_0x33af4&&(_0x153dd2['push'](_0x14acdb),_0x5a89f5['set'](_0x14acdb,_0x33af4));}return _0x153dd2['sort']((_0x209d3a,_0x16ffc2)=>{const _0x3c0e1a=_0x5a89f5['get'](_0x209d3a),_0x4da806=_0x5a89f5['get'](_0x16ffc2);return _0x3c0e1a['y']-_0x4da806['y']||_0x3c0e1a['x']-_0x4da806['x'];}),(_0x1f8ef2=_0x1f8ef2['filter'](_0x45fd95=>_0x153dd2['includes'](_0x45fd95['rootName'])))['sort']((_0x3f48ce,_0x481356)=>_0x153dd2['indexOf'](_0x3f48ce['rootName'])-_0x153dd2['indexOf'](_0x481356['rootName'])),_0x1f8ef2;}['_makeTape'](_0x50a159){const _0x102275=Array['from'](_0x50a159['markers'])['filter'](([_0x5b7e02,_0x3fb7c7])=>_0x5b7e02['startsWith']('revision:')&&!_0x3fb7c7['isCollapsed']),_0x4d224c=Array['from'](this['editor']['model']['createRangeIn'](_0x50a159)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x102275['length'])for(const _0x40082a of _0x4d224c){const [_0xf5b79e,_0x40ec02]=_0x102275[0x0],[,_0x17570a,_0x55dffc]=_0xf5b79e['split'](':');if(_0x40ec02['end']['isEqual'](_0x40082a['nextPosition'])&&_0x102275['shift'](),(_0x40082a['previousPosition']['isEqual'](_0x40ec02['start'])||_0x40082a['previousPosition']['isAfter'](_0x40ec02['start']))&&('insertion'==_0x17570a?_0x40082a['isAdded']={'userId':_0x55dffc}:'deletion'==_0x17570a&&(_0x40082a['isRemoved']={'userId':_0x55dffc})),0x0==_0x102275['length'])break;}return _0x4d224c;}['_refreshStartEndIndex'](_0x4b34f4){const _0x15a4de=new Map();for(let _0x3b66f4=0x0;_0x3b66f4<_0x4b34f4['length'];_0x3b66f4++)'text'===_0x4b34f4[_0x3b66f4]['type']?(_0x4b34f4[_0x3b66f4]['item']['startIndex']=_0x3b66f4,_0x4b34f4[_0x3b66f4]['item']['endIndex']=_0x3b66f4):('elementStart'===_0x4b34f4[_0x3b66f4]['type']?_0x4b34f4[_0x3b66f4]['item']['startIndex']=_0x3b66f4:'elementEnd'===_0x4b34f4[_0x3b66f4]['type']&&(_0x4b34f4[_0x3b66f4]['item']['endIndex']=_0x3b66f4),_0x15a4de['set'](_0x4b34f4[_0x3b66f4]['id'],_0x3b66f4));for(const _0x5cd820 of _0x15a4de['values']())'elementStart'===_0x4b34f4[_0x5cd820]['type']?_0x4b34f4[_0x5cd820]['item']['endIndex']=_0x15a4de['get'](_0x4b34f4[_0x5cd820]['pairId']):'elementEnd'===_0x4b34f4[_0x5cd820]['type']&&(_0x4b34f4[_0x5cd820]['item']['startIndex']=_0x15a4de['get'](_0x4b34f4[_0x5cd820]['pairId']));}['_processTape'](_0x1a76e6){for(let _0x23263e=0x0;_0x23263e<_0x1a76e6['length'];_0x23263e++){if('elementStart'===_0x1a76e6[_0x23263e]['type'])_0x1a76e6[_0x23263e]['item']['startIndex']=_0x23263e;else{if('elementEnd'===_0x1a76e6[_0x23263e]['type']){_0x1a76e6[_0x23263e]['item']['endIndex']=_0x23263e;const _0x10ce3c=_0x1a76e6[_0x23263e]['item']['startIndex'];_0x1a76e6[_0x10ce3c]['pairId']=_0x1a76e6[_0x23263e]['id'],_0x1a76e6[_0x23263e]['pairId']=_0x1a76e6[_0x10ce3c]['id'];}else _0x1a76e6[_0x23263e]['item']['startIndex']=_0x23263e,_0x1a76e6[_0x23263e]['item']['endIndex']=_0x23263e,_0x1a76e6[_0x23263e]['pairId']=null;}_0x1a76e6[_0x23263e]['markersStart']||(_0x1a76e6[_0x23263e]['markersStart']=[],_0x1a76e6[_0x23263e]['markersEnd']=[]);}}['_markInsertions'](_0x3df8a7,_0x56dbbc){const _0x3bb397=_0x3df8a7['filter'](_0x1632ef=>!_0x1632ef['isAdded']);for(let _0x246372=0x0;_0x246372<_0x56dbbc['length'];_0x246372++)_0x56dbbc[_0x246372]['isAdded']&&(_0x3bb397[_0x246372]['isAdded']=_0x56dbbc[_0x246372]['isAdded']);}['_makeModelFromViewString'](_0x20c53d){const _0x4adf75=JSON['parse'](_0x20c53d),_0x1ac076=this['editor']['editing']['view']['document'],_0x361e25=new _0x405474(_0x1ac076,_0x4adf75['map'](_0x2d3493=>this['_getViewObj'](_0x2d3493)));return this['editor']['data']['toModel'](_0x361e25);}['_getViewObj'](_0x1ac553){const _0x2b9f00=this['editor']['editing']['view']['document'];if('string'==typeof _0x1ac553)return new _0x403540(_0x2b9f00,_0x1ac553);{const _0x4be40f=_0x1ac553['children']['map'](_0x35cbab=>this['_getViewObj'](_0x35cbab));return new(tt[_0x1ac553['type']]||_0x250e56)(_0x2b9f00,_0x1ac553['name'],_0x1ac553['attributes'],_0x4be40f);}}['_getDiff'](_0x35dfad,_0x3fd4f2=null){const _0x155eec=this['repository']['getRevision'](_0x35dfad),_0x5938c5=_0x3fd4f2?this['repository']['getRevision'](_0x3fd4f2):null,_0x177208=this['_getRevisionsRange'](_0x155eec,_0x5938c5),_0x52114b=_0x177208[_0x177208['length']-0x1],_0x546d58=new Map(),_0xf00557={'model':{},'attributes':{},'changes':[]},_0x599be5=new Set(),_0x1b7d91=new Map();for(let _0x48dc89=_0x177208['length']-0x1;_0x48dc89>=0x0;_0x48dc89--){const _0x231235=_0x177208[_0x48dc89];for(const _0x4f4897 of Object['keys'](_0x231235['diffData']))if(_0x231235['diffData'][_0x4f4897]['attachChange']){const _0x15a37f=_0x231235['diffData'][_0x4f4897]['attachChange'];_0x15a37f['isAttached']?(_0x599be5['add'](_0x4f4897),_0x1b7d91['has'](_0x4f4897)&&_0x1b7d91['get'](_0x4f4897)['userId']==_0x15a37f['userId']?_0x1b7d91['delete'](_0x4f4897):_0x1b7d91['set'](_0x4f4897,_0x15a37f)):_0x1b7d91['has'](_0x4f4897)?(_0x599be5['delete'](_0x4f4897),_0x1b7d91['delete'](_0x4f4897)):(_0x599be5['add'](_0x4f4897),_0x1b7d91['set'](_0x4f4897,_0x15a37f));}else _0x599be5['add'](_0x4f4897);}for(const _0x4db644 of _0x599be5){const _0x5b20fa=_0x1b7d91['has'](_0x4db644)&&!_0x1b7d91['get'](_0x4db644)['isAttached'];let _0x3da377=_0x5b20fa?_0x177208['length']-0x1:0x0;const _0x19cada=_0x5b20fa?-0x1:0x1;for(;_0x177208[_0x3da377];){const _0xa68699=_0x177208[_0x3da377];if(_0xa68699['diffData'][_0x4db644]){const _0x167c5f=_0x5b20fa?_0xa68699['diffData'][_0x4db644]['attributesBefore']:_0xa68699['diffData'][_0x4db644]['attributesAfter'];_0xf00557['attributes'][_0x4db644]=_0x167c5f?_0xe75fe7(_0x167c5f):{};break;}_0x3da377+=_0x19cada;}}for(const _0x3298f9 of _0x177208){_0x3298f9['model']={};for(const _0x26c20a of _0x3298f9['authors'])_0x546d58['set'](_0x26c20a['id'],_0x26c20a);for(const _0x4c1f47 of _0x599be5){const _0x5e5a70=_0x3298f9['diffData'][_0x4c1f47]?_0x3298f9['diffData'][_0x4c1f47]['insertions']:'[]',_0x2dd6f7=_0x3298f9['diffData'][_0x4c1f47]?_0x3298f9['diffData'][_0x4c1f47]['deletions']:'[]';_0x3298f9['model'][_0x4c1f47]={'insertions':this['_makeModelFromViewString'](_0x5e5a70),'deletions':this['_makeModelFromViewString'](_0x2dd6f7)};}}for(const _0x6d616a of _0x599be5){let _0x115f03=null,_0x3d3732=0x0;const _0x5abd77=new Map(Array['from'](_0x155eec['model'][_0x6d616a]['insertions']['markers'])['filter'](([_0x42184f])=>!_0x42184f['startsWith']('revision:')));let _0x2a75e3=0x0;for(const _0x41f238 of _0x177208){const _0x591183=this['_makeTape'](_0x41f238['model'][_0x6d616a]['insertions']);_0x41f238==_0x155eec?(_0x115f03=_0x591183,_0x3d3732=_0x115f03['length'],_0x115f03['forEach'](_0x166e0d=>{_0x166e0d['id']=_0x2a75e3++;}),this['_processTape'](_0x115f03)):this['_markInsertions'](_0x115f03,_0x591183);const _0x50dad4=_0x115f03['filter'](_0x39225b=>!_0x39225b['isAdded'])['map'](_0x5ea613=>_0x5ea613['id']);let _0x5ea9fa=0x0;const _0x2925fd=this['_makeTape'](_0x41f238['model'][_0x6d616a]['deletions']);_0x2925fd['forEach'](_0x3d7594=>{_0x3d7594['isRemoved']?_0x3d7594['id']=_0x3d3732++:_0x3d7594['id']=_0x50dad4[_0x5ea9fa++];}),this['_processTape'](_0x2925fd),this['_setDistance'](_0x115f03,'isAdded'),this['_setDistance'](_0x2925fd,'isRemoved'),_0x41f238==_0x155eec&&this['_markMarkers'](_0x115f03,_0x5abd77),_0x115f03=this['_joinTapes'](_0x115f03,_0x2925fd),this['_refreshStartEndIndex'](_0x115f03),this['_setDistance'](_0x115f03,'isRemoved');}_0x115f03=_0x115f03['filter'](_0x4bbd4f=>!(_0x4bbd4f['isAdded']&&_0x4bbd4f['isRemoved']));const _0x2886ea=new Map(_0x52114b['model'][_0x6d616a]['deletions']['markers']),_0x1b65d1=new Set(_0x5abd77['keys']());for(const _0x4231f0 of _0x2886ea['keys']())_0x1b65d1['delete'](_0x4231f0);this['_markSuggestions'](_0x115f03,_0x1b65d1),this['_fixObsoleteTags'](_0x115f03),_0x115f03=this['_removeMissingPairs'](_0x115f03),_0x115f03=this['_markMismatchedRemovedTags'](_0x115f03),_0x115f03=this['_removeUnsupportedChanges'](_0x115f03);const {root:_0x47a1e7,changes:_0x50bc93}=this['_makeModelFromTape'](_0x115f03,_0x546d58,_0x6d616a);_0xf00557['model'][_0x6d616a]=_0x47a1e7;const _0x309fad=_0x1b7d91['get'](_0x6d616a);if(_0x309fad){const _0x1dc1ae=_0x546d58['get'](_0x309fad['userId']),_0x1c6535=new r({'author':_0x1dc1ae,'type':_0x309fad['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x6d616a});_0x50bc93['unshift'](_0x1c6535),_0xf00557['attributes'][_0x6d616a]['revisionHistoryAttachChange']=_0x1c6535['id'];}_0xf00557['changes']=_0xf00557['changes']['concat'](_0x50bc93);}return _0xf00557;}['_markMarkers'](_0x53cc67,_0x2d2aeb){for(let _0x5a887e=0x0;_0x5a887e<_0x53cc67['length'];_0x5a887e++)for(const [_0x515f21,_0x5d4e96]of _0x2d2aeb)_0x5d4e96['start']['isEqual'](_0x53cc67[_0x5a887e]['previousPosition'])&&_0x53cc67[_0x5a887e]['markersStart']['push'](_0x515f21),_0x5d4e96['end']['isEqual'](_0x53cc67[_0x5a887e]['nextPosition'])&&_0x53cc67[_0x5a887e]['markersEnd']['push'](_0x515f21);}['_joinTapes'](_0x46a4aa,_0x39b3d2){let _0x5b1e64=[],_0x16d997=0x0,_0x3b21e5=0x0;for(;_0x16d997<_0x46a4aa['length']||_0x3b21e5<_0x39b3d2['length'];){const _0x36cf12=_0x46a4aa[_0x16d997]||{},_0x45b457=_0x39b3d2[_0x3b21e5]||{};if(_0x36cf12['id']==_0x45b457['id'])_0x16d997++,_0x3b21e5++,_0x5b1e64['push'](_0x36cf12);else{if(_0x45b457['isRemoved']&&_0x36cf12['isAdded']){const {commonTape:_0x4e52e6,iEnd:_0x4a2983,jEnd:_0x48b740}=this['_threeWayMerge'](_0x46a4aa,_0x16d997,_0x39b3d2,_0x3b21e5);_0x5b1e64=_0x5b1e64['concat'](_0x4e52e6),_0x16d997=_0x4a2983,_0x3b21e5=_0x48b740;}else _0x45b457['isRemoved']?(_0x3b21e5++,_0x5b1e64['push'](_0x45b457)):(_0x16d997++,_0x5b1e64['push'](_0x36cf12));}}return _0x5b1e64;}['_markSuggestions'](_0x136c5e,_0x40c1ac){const _0x5643f5=[];for(let _0x301b11=0x0;_0x301b11<_0x136c5e['length'];_0x301b11++){for(let _0x4ce1c4=0x0;_0x4ce1c4<_0x136c5e[_0x301b11]['markersStart']['length'];_0x4ce1c4++){const _0x3dfb3f=_0x136c5e[_0x301b11]['markersStart'][_0x4ce1c4];if(!_0x40c1ac['has'](_0x3dfb3f))continue;const {group:_0x16b4db,type:_0x4a4ee8,authorId:_0x169e75}=_0x5ac889(_0x3dfb3f);'revision-suggestion'!=_0x16b4db||'insertion'!=_0x4a4ee8&&'deletion'!=_0x4a4ee8||(_0x5643f5['unshift']({'type':_0x4a4ee8,'name':_0x3dfb3f,'userId':_0x169e75}),_0x136c5e[_0x301b11]['markersStart']['splice'](_0x4ce1c4,0x1),_0x4ce1c4--);}_0x151866(_0x136c5e[_0x301b11]);for(let _0x1ab190=0x0;_0x1ab190<_0x136c5e[_0x301b11]['markersEnd']['length'];_0x1ab190++){const _0x6b9252=_0x136c5e[_0x301b11]['markersEnd'][_0x1ab190];if(!_0x40c1ac['has'](_0x6b9252))continue;const {group:_0xcf7f75,type:_0x52523a}=_0x5ac889(_0x6b9252);if('revision-suggestion'!=_0xcf7f75||'insertion'!=_0x52523a&&'deletion'!=_0x52523a)continue;_0x136c5e[_0x301b11]['markersEnd']['splice'](_0x1ab190,0x1),_0x1ab190--;const _0x3e78a9=_0x5643f5['findIndex'](_0xfa5292=>_0xfa5292['name']==_0x6b9252);_0x3e78a9>-0x1&&_0x5643f5['splice'](_0x3e78a9,0x1);}}function _0x5ac889(_0x4bf29e){const _0x5f421a=_0x4bf29e['split'](':');return{'group':_0x5f421a[0x0],'type':_0x5f421a[0x1],'subType':_0x5f421a['length']>=0x5?_0x5f421a[0x2]:null,'id':_0x5f421a['length']<0x5?_0x5f421a[0x2]:_0x5f421a[0x3],'authorId':_0x5f421a['length']<0x5?_0x5f421a[0x3]:_0x5f421a[0x4],'markerCount':0x6==_0x5f421a['length']?_0x5f421a[0x5]:null};}function _0x151866(_0xa4783a){for(let _0x2dfff9=0x0;_0x2dfff9<_0x5643f5['length'];_0x2dfff9++){if(_0xa4783a['isAdded']&&'insertion'==_0x5643f5[_0x2dfff9]['type'])return _0xa4783a['isAddSuggestion']=_0x5643f5[_0x2dfff9],void delete _0xa4783a['isAdded'];if(!_0xa4783a['isAdded']&&!_0xa4783a['isRemoved']&&'deletion'==_0x5643f5[_0x2dfff9]['type'])return void(_0xa4783a['isRemoveSuggestion']=_0x5643f5[_0x2dfff9]);}}}['_setDistance'](_0x1ea12d,_0x158b20){let _0x2d5cec=0x0,_0x4dc025=!0x1;const _0x452069=new Map();for(const _0x1e727c of _0x1ea12d)_0x1e727c[_0x158b20]?_0x4dc025&&(_0x2d5cec++,_0x4dc025=!0x1):(_0x2d5cec++,_0x4dc025=!0x0),_0x452069['set'](_0x1e727c['id'],_0x2d5cec);for(let _0x50813a=0x0;_0x50813a<_0x1ea12d['length'];_0x50813a++){if('isRemoved'==_0x158b20&&_0x1ea12d[_0x50813a]['isAdded']||'isAdded'==_0x158b20&&_0x1ea12d[_0x50813a]['isRemoved'])continue;if('text'==_0x1ea12d[_0x50813a]['type']){_0x1ea12d[_0x50813a]['distance']=0x0;continue;}const _0x2c338d=_0x452069['get'](_0x1ea12d[_0x50813a]['pairId']),_0x349f67=_0x452069['get'](_0x1ea12d[_0x50813a]['id']);_0x1ea12d[_0x50813a]['distance']=_0x2c338d-_0x349f67;}}['_getRevisionsRange'](_0x18fa85,_0x52883c,_0x33a50c=!0x1){const _0x21182c=[];let _0x3ef75b=this['repository']['getIndex'](_0x18fa85),_0x101445=this['repository']['getIndex'](_0x52883c);for(-0x1==_0x101445&&(_0x101445=this['repository']['_revisions']['length'],_0x33a50c=!0x1);_0x3ef75b<_0x101445;)_0x21182c['push'](this['repository']['getRevision'](_0x3ef75b)),_0x3ef75b++;return _0x33a50c&&_0x21182c['push'](this['repository']['getRevision'](_0x3ef75b)),_0x21182c;}['_threeWayMerge'](_0x3ecf56,_0x546521,_0x9125e2,_0x40063c){const _0xd19b9f=this['editor']['model']['schema'];let _0x419589=_0x546521;for(;_0x3ecf56[_0x419589]&&_0x3ecf56[_0x419589]['isAdded'];)_0x419589++;let _0x49271f=_0x40063c;for(;_0x9125e2[_0x49271f]&&_0x9125e2[_0x49271f]['isRemoved'];)_0x49271f++;_0x23b92a(_0x3ecf56,_0x546521,_0x419589),_0x23b92a(_0x9125e2,_0x40063c,_0x49271f);const _0x3943a6=_0x9125e2['slice'](_0x40063c,_0x49271f)['concat'](_0x3ecf56['slice'](_0x546521,_0x419589));return _0x3943a6['sort']((_0x7b2350,_0x1add11)=>_0x7b2350['side']!=_0x1add11['side']?_0x7b2350['side']-_0x1add11['side']:_0x7b2350['level']!=_0x1add11['level']?_0x7b2350['level']-_0x1add11['level']:_0x7b2350['distance']!=_0x1add11['distance']?_0x1add11['distance']-_0x7b2350['distance']:!!_0x7b2350['isAdded']!=!!_0x1add11['isAdded']?-0x1==_0x7b2350['side']||0x0==_0x7b2350['side']?_0x7b2350['isAdded']?-0x1:0x1:_0x7b2350['isAdded']?0x1:-0x1:_0x7b2350['index']-_0x1add11['index']),{'commonTape':_0x3943a6,'iEnd':_0x419589,'jEnd':_0x49271f};function _0x23b92a(_0xee61e6,_0x7cd8ca,_0x53d86c){let _0x1dd8e6=-0x1,_0x4b3a64=Number['POSITIVE_INFINITY'],_0x107c74=!0x0;for(let _0x236ef6=_0x7cd8ca;_0x236ef6<_0x53d86c;_0x236ef6++)if(_0xd19b9f['isInline'](_0xee61e6[_0x236ef6]['item'])||(_0x107c74=!0x1),_0xee61e6[_0x236ef6]['item']['startIndex']<_0x7cd8ca&&(_0x1dd8e6=_0x236ef6),_0xee61e6[_0x236ef6]['item']['endIndex']>=_0x53d86c){_0x4b3a64=_0x236ef6;break;}_0x107c74&&(_0x1dd8e6=_0x53d86c-0x1);for(let _0x8fb798=_0x7cd8ca;_0x8fb798<_0x53d86c;_0x8fb798++)_0xee61e6[_0x8fb798]['side']=_0x8fb798<=_0x1dd8e6?-0x1:_0x8fb798<_0x4b3a64?0x0:0x1,_0xee61e6[_0x8fb798]['index']=_0x8fb798;let _0x111a0d=0x0;for(let _0x579541=_0x7cd8ca;_0x579541<=_0x1dd8e6;_0x579541++)0x0==_0xee61e6[_0x579541]['distance']?_0xee61e6[_0x579541]['level']=_0x111a0d:(_0x111a0d++,_0xee61e6[_0x579541]['level']=_0x111a0d,_0x111a0d++);for(let _0x1509fd=_0x7cd8ca;_0x1509fd<_0x53d86c;_0x1509fd++)0x0==_0xee61e6[_0x1509fd]['side']&&(_0xee61e6[_0x1509fd]['level']=_0x111a0d);_0x111a0d=0x0;for(let _0x5dd462=_0x53d86c-0x1;_0x5dd462>=_0x4b3a64;_0x5dd462--)0x0==_0xee61e6[_0x5dd462]['distance']?_0xee61e6[_0x5dd462]['level']=_0x111a0d:(_0x111a0d--,_0xee61e6[_0x5dd462]['level']=_0x111a0d,_0x111a0d--);}}['_fixObsoleteTags'](_0xfca6be){const _0xf7771f=new Map(),_0x2dac92=this['editor']['model']['schema'];for(let _0x15c85e=0x1;_0x15c85e<_0xfca6be['length'];_0x15c85e++){let _0x1311b4,_0x13fa6b,_0x5a4a58;const _0x456915=_0xfca6be[_0x15c85e],_0x570b6b=_0xfca6be[_0x15c85e-0x1];if('text'==_0x456915['type'])continue;if(_0x456915['type']!=_0x570b6b['type'])continue;if(!_0x2dac92['isBlock'](_0x570b6b['item'])||_0x2dac92['isLimit'](_0x570b6b['item']))continue;if(!_0x2dac92['isBlock'](_0x456915['item'])||_0x2dac92['isLimit'](_0x456915['item']))continue;if((_0xfca6be[_0x15c85e]['isAdded']||_0xfca6be[_0x15c85e]['isAddSuggestion'])&&_0xfca6be[_0x15c85e-0x1]['isRemoved'])_0x1311b4=_0xfca6be[_0x15c85e],_0x13fa6b=_0xfca6be[_0x15c85e-0x1],_0x5a4a58=_0x15c85e-0x1;else{if(!_0xfca6be[_0x15c85e]['isRemoved']||!_0xfca6be[_0x15c85e-0x1]['isAdded']&&!_0xfca6be[_0x15c85e-0x1]['isAddSuggestion'])continue;_0x1311b4=_0xfca6be[_0x15c85e-0x1],_0x13fa6b=_0xfca6be[_0x15c85e],_0x5a4a58=_0x15c85e;}const _0x4bbcb7=_0x1311b4['level']==_0x13fa6b['level'],_0x5ec26b=Math['abs'](_0x1311b4['level'])<Math['abs'](_0x13fa6b['level'])&&0x0==_0x13fa6b['distance'];(_0x4bbcb7||_0x5ec26b)&&(_0xf7771f['set'](_0x13fa6b['id'],_0x1311b4['id']),_0xfca6be['splice'](_0x5a4a58,0x1),_0x15c85e--,_0x1311b4['isAdded']=!0x1);}for(let _0x323120=0x0;_0x323120<_0xfca6be['length'];_0x323120++)_0xf7771f['has'](_0xfca6be[_0x323120]['pairId'])&&(_0xfca6be[_0x323120]['pairId']=_0xf7771f['get'](_0xfca6be[_0x323120]['pairId']));}['_removeMissingPairs'](_0x337ccb){const _0x48a3a1=new Set(_0x337ccb['map'](_0xf6cd8e=>_0xf6cd8e['id']));for(let _0x19cd08=0x0;_0x19cd08<_0x337ccb['length'];_0x19cd08++)_0x48a3a1['has'](_0x337ccb[_0x19cd08]['pairId'])||0x0==_0x337ccb[_0x19cd08]['distance']||(_0x337ccb[_0x19cd08]['isIncorrect']=!0x0);return _0x337ccb['filter'](_0x385acb=>!_0x385acb['isIncorrect']);}['_markMismatchedRemovedTags'](_0x8f496){const _0x12556c=new Set();for(let _0x4d12b7=0x0;_0x4d12b7<_0x8f496['length'];_0x4d12b7++){if(_0x12556c['has'](_0x8f496[_0x4d12b7]['id'])&&_0x8f496[_0x4d12b7]['isRemoved']&&(_0x8f496[_0x4d12b7]['isIncorrect']=!0x0),_0x8f496[_0x4d12b7]['isIncorrect'])continue;if(0x0==_0x8f496[_0x4d12b7]['distance'])continue;if('elementStart'!=_0x8f496[_0x4d12b7]['type'])continue;if(null==_0x8f496[_0x4d12b7]['pairId'])continue;let _0x5e1816=_0x4d12b7+0x1,_0x16a1cb=0x0;for(;_0x8f496[_0x5e1816]['id']!=_0x8f496[_0x4d12b7]['pairId'];)'elementStart'==_0x8f496[_0x5e1816]['type']?_0x16a1cb++:'elementEnd'==_0x8f496[_0x5e1816]['type']&&_0x16a1cb--,_0x5e1816++;if(0x0!=_0x16a1cb){if(_0x8f496[_0x4d12b7]['isRemoved'])_0x8f496[_0x4d12b7]['isIncorrect']=!0x0;else{for(;_0x5e1816!=_0x4d12b7;)_0x8f496[_0x5e1816]['isRemoved']&&0x0!=_0x8f496[_0x5e1816]['distance']&&(_0x8f496[_0x5e1816]['isIncorrect']=!0x0,_0x12556c['add'](_0x8f496[_0x5e1816]['pairId'])),_0x5e1816--;}}}return _0x8f496['filter'](_0x578b79=>!_0x578b79['isIncorrect']);}['_removeUnsupportedChanges'](_0x5a0bb8){const _0x508a9a=this['editor']['model']['schema'];for(let _0x44012c=0x0;_0x44012c<_0x5a0bb8['length'];_0x44012c++){if(!(_0x5a0bb8[_0x44012c]['isAdded']||_0x5a0bb8[_0x44012c]['isAddSuggestion']||_0x5a0bb8[_0x44012c]['isRemoved']||_0x5a0bb8[_0x44012c]['isRemoveSuggestion']))continue;if(0x0==_0x5a0bb8[_0x44012c]['distance'])continue;const _0x1cd979=_0x5a0bb8[_0x44012c]['item'];_0x508a9a['isBlock'](_0x1cd979)||_0x508a9a['isLimit'](_0x1cd979)||(_0x5a0bb8[_0x44012c]['isAdded']&&delete _0x5a0bb8[_0x44012c]['isAdded'],_0x5a0bb8[_0x44012c]['isAddSuggestion']&&delete _0x5a0bb8[_0x44012c]['isAddSuggestion'],_0x5a0bb8[_0x44012c]['isRemoveSuggestion']&&delete _0x5a0bb8[_0x44012c]['isRemoveSuggestion'],_0x5a0bb8[_0x44012c]['isRemoved']&&(_0x5a0bb8[_0x44012c]['isIncorrect']=!0x0));}return _0x5a0bb8['filter'](_0x56bafc=>!_0x56bafc['isIncorrect']);}['_makeModelFromTape'](_0x1b0e4a,_0xe0c887,_0x37cfbc){const _0x4155fa=new wt(),_0x1a5b42=[],_0x5b6f48=new Map(),_0x17fdb0=this['editor']['model'],_0x4b9121=_0x17fdb0['schema'],_0x2f1b1b=[_0x4155fa],_0x14eb0f={},_0x2e8639={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x25dde0=null;const _0x3e3167=[0x0];for(let _0x3e8d63=0x0;_0x3e8d63<_0x1b0e4a['length'];_0x3e8d63++){let _0x52c196,_0x54caf4;if('elementStart'===_0x1b0e4a[_0x3e8d63]['type']){_0x52c196=_0x17fdb0['createPositionFromPath'](_0x4155fa,_0x3e3167);const _0x493fe4=new ft(_0x1b0e4a[_0x3e8d63]['item']['name'],_0x1b0e4a[_0x3e8d63]['item']['getAttributes']());_0x2f1b1b[0x0]['_appendChild'](_0x493fe4),_0x3e3167['push'](0x0),_0x2f1b1b['unshift'](_0x493fe4),_0x54caf4=_0x17fdb0['createPositionFromPath'](_0x4155fa,_0x3e3167),_0x25dde0=null;}else{if('elementEnd'===_0x1b0e4a[_0x3e8d63]['type'])_0x2f1b1b['shift'](),_0x52c196=_0x17fdb0['createPositionFromPath'](_0x4155fa,_0x3e3167),_0x3e3167['pop'](),_0x3e3167[_0x3e3167['length']-0x1]++,_0x54caf4=_0x17fdb0['createPositionFromPath'](_0x4155fa,_0x3e3167),_0x25dde0=null;else{if(_0x52c196=_0x17fdb0['createPositionFromPath'](_0x4155fa,_0x3e3167),_0x25dde0&&_0x5cb37f(_0x25dde0,_0x1b0e4a[_0x3e8d63]['item']))_0x25dde0['_data']+=_0x1b0e4a[_0x3e8d63]['item']['data'];else{const _0x275c82=new _t(_0x1b0e4a[_0x3e8d63]['item']['data'],_0x1b0e4a[_0x3e8d63]['item']['getAttributes']());_0x2f1b1b[0x0]['_appendChild'](_0x275c82),_0x25dde0=_0x275c82;}_0x3e3167[_0x3e3167['length']-0x1]+=_0x1b0e4a[_0x3e8d63]['item']['offsetSize'],_0x54caf4=_0x17fdb0['createPositionFromPath'](_0x4155fa,_0x3e3167);}}for(const _0xe3bdb4 of _0x1b0e4a[_0x3e8d63]['markersStart'])_0x5b6f48['set'](_0xe3bdb4,{'start':_0x52c196,'end':null});_0x2a2f28('isRemoveSuggestion',_0x3e8d63,_0x52c196,_0x54caf4),_0x2a2f28('isAddSuggestion',_0x3e8d63,_0x52c196,_0x54caf4),_0x2a2f28('isRemoved',_0x3e8d63,_0x52c196,_0x54caf4),_0x2a2f28('isAdded',_0x3e8d63,_0x52c196,_0x54caf4);for(const _0x5ccb5d of _0x1b0e4a[_0x3e8d63]['markersEnd']){_0x5b6f48['get'](_0x5ccb5d)['end']=_0x54caf4;}}for(const [_0x3d65cd,_0x28a039]of _0x5b6f48){const _0x22d00d=this['editor']['model']['createRange'](_0x28a039['start'],_0x28a039['end']);_0x4155fa['markers']['set'](_0x3d65cd,_0x22d00d);}return _0x1a5b42['sort']((_0xf35dfe,_0x321752)=>{const _0x5c9448=_0x4155fa['markers']['get']('revision:'+_0xf35dfe['id']),_0x3ceefc=_0x4155fa['markers']['get']('revision:'+_0x321752['id']);return _0x5c9448['start']['isBefore'](_0x3ceefc['start'])?-0x1:_0x5c9448['start']['isAfter'](_0x3ceefc['start'])?0x1:_0x5c9448['end']['isBefore'](_0x3ceefc['end'])?-0x1:_0x5c9448['end']['isAfter'](_0x3ceefc['end'])?0x1:'add'===_0xf35dfe['type']?-0x1:0x1;}),{'root':_0x4155fa,'changes':_0x1a5b42};function _0x2a2f28(_0x121be2,_0x4ea640,_0x16032c,_0x316f83){const _0x144f11=!!_0x1b0e4a[_0x4ea640][_0x121be2],_0x16d70b=_0x144f11?_0x1b0e4a[_0x4ea640][_0x121be2]['userId']:null,_0x56d057=_0x4ea640===_0x1b0e4a['length']-0x1,_0x29209f=_0x2e8639[_0x121be2][0x0],_0x54f519=_0x4b9121['isObject'](_0x1b0e4a[_0x4ea640]['item']);!_0x14eb0f[_0x121be2]&&_0x144f11?_0x14eb0f[_0x121be2]={'start':_0x16032c,'tapeItem':_0x1b0e4a[_0x4ea640],'userId':_0x16d70b,'type':_0x121be2}:_0x14eb0f[_0x121be2]&&!_0x144f11?(_0x14eb0f[_0x121be2]['end']=_0x16032c,_0x57d06f(_0x14eb0f[_0x121be2]),_0x14eb0f[_0x121be2]=null):_0x14eb0f[_0x121be2]&&_0x144f11&&_0x14eb0f[_0x121be2]['userId']!==_0x16d70b&&(_0x14eb0f[_0x121be2]['end']=_0x16032c,_0x29209f&&_0x29209f['userId']===_0x14eb0f[_0x121be2]['userId']||_0x57d06f(_0x14eb0f[_0x121be2]),_0x14eb0f[_0x121be2]={'start':_0x16032c,'tapeItem':_0x1b0e4a[_0x4ea640],'userId':_0x16d70b,'type':_0x121be2}),_0x14eb0f[_0x121be2]&&_0x54f519&&('elementStart'!==_0x1b0e4a[_0x4ea640]['type']||_0x29209f&&_0x29209f['userId']===_0x16d70b||_0x2e8639[_0x121be2]['unshift']({'userId':_0x16d70b,'object':_0x1b0e4a[_0x4ea640]['item'],'change':_0x14eb0f[_0x121be2]}),'elementEnd'===_0x1b0e4a[_0x4ea640]['type']&&_0x29209f&&_0x29209f['object']===_0x1b0e4a[_0x4ea640]['item']&&(_0x2e8639[_0x121be2]['shift'](),_0x14eb0f[_0x121be2]=_0x29209f['change'])),_0x14eb0f[_0x121be2]&&_0x56d057&&(_0x14eb0f[_0x121be2]['end']=_0x316f83,_0x57d06f(_0x14eb0f[_0x121be2]),_0x14eb0f[_0x121be2]=null);}function _0x57d06f({start:_0x19c8c4,end:_0x340531,tapeItem:_0x42ec4c,userId:_0x23e0b9,type:_0x15c256}){const _0x57b45b=_0x42ec4c['item'],_0x54dd84=_0x17fdb0['schema']['isBlock'](_0x57b45b)&&!_0x17fdb0['schema']['isLimit'](_0x57b45b),_0x524494=_0x19c8c4['nodeAfter']==_0x340531['parent']&&_0x340531['isAtStart'];if(_0x54dd84&&_0x524494)return;const _0x5d56e5=_0x17fdb0['createRange'](_0x19c8c4,_0x340531),_0x5086e4=_0xe0c887['get'](_0x23e0b9),_0x29308c=new r({'author':_0x5086e4,'type':'isAdded'==_0x15c256||'isAddSuggestion'==_0x15c256?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x15c256||'isRemoveSuggestion'==_0x15c256},'createdAt':new Date(),'rootName':_0x37cfbc});_0x1a5b42['push'](_0x29308c),_0x4155fa['markers']['set']('revision:'+_0x29308c['id'],_0x5d56e5);}function _0x5cb37f(_0x1a5ca5,_0x2ab806){const _0x357760=_0x1a5ca5['getAttributes'](),_0x4a2b1e=_0x2ab806['getAttributes']();for(const _0xaf6f5e of _0x357760){if(_0xaf6f5e[0x1]!==_0x2ab806['getAttribute'](_0xaf6f5e[0x0]))return!0x1;_0x4a2b1e['next']();}return _0x4a2b1e['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x4820ab=>{const _0x480348=_0x4820ab['markerName']['split'](':')[0x1],_0x5c67bd=this['_getChangeFromId'](_0x480348);if(!_0x5c67bd)return null;const _0x383fa0='add'==_0x5c67bd['type']?'insertion':'deletion',_0x4a33c0=['ck-suggestion-marker','ck-suggestion-marker-'+_0x383fa0];return _0x5c67bd['data']['isSuggestion']&&_0x4a33c0['push']('ck-suggestion-marker-'+_0x383fa0+'-new'),this['activeChange']==_0x5c67bd&&_0x4a33c0['push']('ck-suggestion-marker--active'),{'classes':_0x4a33c0,'attributes':{'data-change-id':_0x480348}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x12b677=>{_0x12b677['on']('element:pre',(_0x47470c,_0x4c9aa6,_0x1d5b6a)=>{const _0x336374=_0x4c9aa6['viewItem']['getChild'](0x0);if(!_0x336374||!_0x336374['is']('element','code'))return;if(!_0x1d5b6a['consumable']['consume'](_0x336374,{'attributes':['vid_start','vid_end']}))return;const _0x21cfb6=_0x4c9aa6['modelRange']['start']['nodeAfter'];_0x1d5b6a['writer']['setAttribute']('vid_start',_0x336374['getAttribute']('vid_start'),_0x21cfb6),_0x1d5b6a['writer']['setAttribute']('vid_end',_0x336374['getAttribute']('vid_end'),_0x21cfb6);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x4b905e=>{_0x4b905e['on']('element',(_0x29cada,_0x5a9dd2,_0x3fa525)=>{if(!_0x3fa525['consumable']['consume'](_0x5a9dd2['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x5a9dd2['modelRange']['isCollapsed'])return;const _0x3d4abc=_0x5a9dd2['modelRange']['start']['nodeAfter'];_0x3d4abc['hasAttribute']('vid_start')||_0x3d4abc['hasAttribute']('vid')||(_0x3fa525['writer']['setAttribute']('vid_start',_0x5a9dd2['viewItem']['getAttribute']('vid_start'),_0x3d4abc),_0x3fa525['writer']['setAttribute']('vid_end',_0x5a9dd2['viewItem']['getAttribute']('vid_end'),_0x3d4abc));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x31752a=>_0x31752a['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x3855b6,[,_0x2eadfd])=>{['vid_start','vid_end','vid']['includes'](_0x2eadfd)&&(_0x3855b6['return']=!0x0,_0x3855b6['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x55787f=>{_0x55787f['on']('attribute:vid',(_0x4fe5ac,_0x589d61,_0x26d1f0)=>{if('\x20'!=_0x589d61['item']['data']||_0x589d61['item']['parent']['maxOffset']>0x1)return;if(!_0x26d1f0['consumable']['consume'](_0x589d61['item'],_0x4fe5ac['name']))return;const _0x46293d=_0x26d1f0['writer'],_0x516460=_0x26d1f0['mapper']['toViewRange'](_0x589d61['range']);_0x46293d['wrap'](_0x516460,_0x46293d['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x54821e){const _0x2d8ca3=_0x54821e['plugins']['get']('RevisionViewer');return(_0x3c4383,_0x4becb1,_0x5163b0)=>{const _0x5c37ad=_0x4becb1['markerName']['split'](':')[0x1],_0x468506=_0x2d8ca3['_getChangeFromId'](_0x5c37ad);if(!_0x468506)return null;const _0x370f8d='add'==_0x468506['type']?'split':'merge';if(!_0x5163b0['consumable']['test'](_0x4becb1['markerRange'],_0x3c4383['name']))return;const _0x2c9469=_0x4becb1['markerRange']['getWalker'](),_0x43a6a6=_0x4becb1['markerRange']['start'],_0x41aa8f=_0x54821e['model']['schema'];let _0x553c59=null,_0x5ef976=null,_0x3b5332=!0x1,_0x4ffb46=!0x1;for(const _0x35ae1e of _0x2c9469){const _0x38a795=_0x35ae1e['item'];_0x3b5332=_0x3b5332||_0x41aa8f['isContent'](_0x38a795);const _0x345b66=_0x5163b0['mapper']['toViewElement'](_0x38a795);if(_0x345b66&&_0x345b66['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x35ae1e['type']&&(_0x41aa8f['isBlock'](_0x38a795)&&!_0x41aa8f['isLimit'](_0x38a795)&&(_0x38a795['nextSibling']||_0x43a6a6['isAtEnd']?_0x553c59&&_0x553c59['parent']==_0x38a795||(_0x553c59=_0x38a795,_0x273f7a(_0x35ae1e['previousPosition']),_0x4ffb46=!0x0):_0x5ef976=_0x5ef976||_0x35ae1e['previousPosition']));}function _0x273f7a(_0x5ca75a){const _0x2f16fd=_0x5163b0['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x370f8d}),_0x2cee78=_0x5163b0['mapper']['toViewPosition'](_0x5ca75a);_0x468506['data']['isSuggestion']&&_0x5163b0['writer']['addClass']('ck-suggestion-marker-'+_0x370f8d+'-new',_0x2f16fd),_0x2d8ca3['activeChange']==_0x468506&&_0x5163b0['writer']['addClass']('ck-suggestion-marker--active',_0x2f16fd),_0x5163b0['writer']['insert'](_0x2cee78,_0x2f16fd),_0x5163b0['mapper']['bindElementToMarker'](_0x2f16fd,_0x4becb1['markerName']);}_0x3b5332||_0x4ffb46||!_0x5ef976||_0x273f7a(_0x5ef976);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x279e5,_0x1aa8d4,_0x4dbc54)=>{const _0x23c5d5=_0x4dbc54['mapper']['markerNameToElements'](_0x1aa8d4['markerName']);if(_0x23c5d5){for(const _0x9d3982 of _0x23c5d5)(_0x9d3982['hasClass']('ck-suggestion-marker-split')||_0x9d3982['hasClass']('ck-suggestion-marker-merge'))&&(_0x4dbc54['mapper']['unbindElementFromMarkerName'](_0x9d3982,_0x1aa8d4['markerName']),_0x4dbc54['writer']['remove'](_0x9d3982));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x273d57,_0x16db01,_0x398a72)=>{const _0x1c3ccc=_0x16db01['markerName']['split'](':')[0x1],_0x41ae2e=this['_getChangeFromId'](_0x1c3ccc);if(!_0x41ae2e)return null;const _0x3c186e='add'==_0x41ae2e['type']?'split':'merge';if(_0x398a72['consumable']['test'](_0x16db01['markerRange'],_0x273d57['name']))for(const _0x23649d of _0x16db01['markerRange']['getItems']()){if(!_0x23649d['is']('element','softBreak'))continue;const _0x1afcb3=_0x398a72['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3c186e}),_0x50cb46=_0x398a72['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x23649d));_0x41ae2e['data']['isSuggestion']&&_0x398a72['writer']['addClass']('ck-suggestion-marker-'+_0x3c186e+'-new',_0x1afcb3),this['activeChange']==_0x41ae2e&&_0x398a72['writer']['addClass']('ck-suggestion-marker--active',_0x1afcb3),_0x398a72['writer']['insert'](_0x50cb46,_0x1afcb3),_0x398a72['mapper']['bindElementToMarker'](_0x1afcb3,_0x16db01['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x2cdb6c=>{for(const _0x2df7cf of this['editor']['model']['document']['getRootNames']()){const _0x222eae=this['editor']['model']['document']['getRoot'](_0x2df7cf),_0x345008=this['editor']['editing']['view']['document']['getRoot'](_0x2df7cf);if(_0x345008){const _0xaa5899=_0x222eae['getAttribute']('revisionHistoryAttachChange');if(_0x2cdb6c['removeAttribute']('data-change-id',_0x345008),_0x2cdb6c['removeClass']('ck-revision-history-root-add',_0x345008),_0x2cdb6c['removeClass']('ck-revision-history-root-remove',_0x345008),_0x2cdb6c['removeClass']('ck-revision-history-root--active',_0x345008),_0xaa5899){const _0x11c055=this['_getChangeFromId'](_0xaa5899);if(!_0x11c055)return null;_0x2cdb6c['setAttribute']('data-change-id',_0xaa5899,_0x345008),_0x2cdb6c['addClass']('ck-revision-history-root-'+_0x11c055['type'],_0x345008),this['activeChange']==_0x11c055&&_0x2cdb6c['addClass']('ck-revision-history-root--active',_0x345008);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x4e335f=>'revision-comment:'+_0x4e335f,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x17f0bf=>'revision-suggestion:'+_0x17f0bf,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x193d90=>({'name':'suggestion:'+_0x193d90,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0xf0c3de=>{const _0x15d577=_0xf0c3de['markerName']['split'](':')[0x1];return'insertion'!=_0x15d577&&'deletion'!=_0x15d577?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x15d577]};}}),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',(_0x13a23f,_0x57483b,_0x268cb9)=>{const _0x44d413=_0x268cb9['mapper']['markerNameToElements'](_0x57483b['markerName']);if(_0x44d413){for(const _0x5595d3 of _0x44d413)_0x5595d3['is']('uiElement')&&(_0x268cb9['mapper']['unbindElementFromMarkerName'](_0x5595d3,_0x57483b['markerName']),_0x268cb9['writer']['remove'](_0x5595d3));}},{'priority':'high'});}['_getChangeFromId'](_0x2b3c7b){return this['_changeIdToChange']['get'](_0x2b3c7b);}['_getViewForChange'](_0x5b0dfd){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x5b0dfd),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x4a5814,_0x4b2ff5,_0x308229,_0x158734)=>{_0x158734&&this['_balloon']['remove'](_0x158734),_0x308229&&(this['_balloon']['add']({'view':_0x308229,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x7cdfea=this['editor']['editing'],_0xac35c8=this['_getChangeFromId'](_0x308229['changeId']);let _0x29553c;if(_0xac35c8['data']['isOnRoot']){const _0x2bdf73=_0x7cdfea['view']['getDomRoot'](_0xac35c8['rootName']);_0x29553c=Array['from'](_0x2bdf73['getClientRects']());}else{const _0x282740=this['editor']['model']['markers']['get']('revision:'+_0x308229['changeId']);_0x29553c=Array['from'](_0x7cdfea['mapper']['markerNameToElements'](_0x282740['name']))['map'](_0x1765f7=>_0x7cdfea['view']['domConverter']['mapViewToDom'](_0x1765f7))['map'](_0x423a5b=>Array['from'](_0x423a5b['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x29553c[0x0];return _0x29553c['find'](_0x32000d=>_0x32000d['top']-0x3<=this['_activeViewTarget']['y']&&_0x32000d['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x32000d['left']-0x3<=this['_activeViewTarget']['x']&&_0x32000d['right']+0x3>=this['_activeViewTarget']['x'])||_0x29553c[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x2fdcf1,_0x5b7f72,_0x8f5685,_0x230bc0)=>{this['activeView']=_0x8f5685?this['_getViewForChange'](_0x8f5685):null,this['editor']['model']['change'](()=>{const _0x20199e=this['editor']['editing'];_0x230bc0&&(_0x230bc0['data']['isOnRoot']?_0x20199e['view']['change'](_0x320ac4=>{_0x320ac4['removeClass']('ck-revision-history-root--active',_0x20199e['view']['document']['getRoot'](_0x230bc0['rootName']));}):_0x20199e['reconvertMarker']('revision:'+_0x230bc0['id'])),_0x8f5685&&(_0x8f5685['data']['isOnRoot']?_0x20199e['view']['change'](_0x1ddcbd=>{_0x1ddcbd['addClass']('ck-revision-history-root--active',_0x20199e['view']['document']['getRoot'](_0x8f5685['rootName']));}):_0x20199e['reconvertMarker']('revision:'+_0x8f5685['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x2c4929,_0x297f9a)=>{if(this['activeChange'])return;const _0x47962e=this['_findChangeIdFromDomTarget'](_0x297f9a['target']),_0x36f41d=this['_changeIdToChange']['get'](_0x47962e);_0x36f41d?(this['_activeViewTarget']={'x':_0x297f9a['domEvent']['x'],'y':_0x297f9a['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x36f41d)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x247bfa,_0x365cf7)=>{const _0x2dc784=this['_findChangeIdFromDomTarget'](_0x365cf7['target']),_0x521139=this['_changeIdToChange']['get'](_0x2dc784);_0x521139?(this['_activeViewTarget']={'x':_0x365cf7['domEvent']['x'],'y':_0x365cf7['domEvent']['y']},_0x521139===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x521139):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x5cd5e2){do{const _0x2bff55=_0x5cd5e2['getAttribute']('data-change-id');if(_0x2bff55)return _0x2bff55;_0x5cd5e2=_0x5cd5e2['parent'];}while(_0x5cd5e2);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x3cd810=>{for(const _0x46a79e of this['editor']['model']['markers'])_0x3cd810['removeMarker'](_0x46a79e);});}}function et(_0xc64a35,_0x537d06){return(_0xb1e6b5,_0x30b24b,_0x3d92d3)=>{if(!_0x3d92d3['consumable']['test'](_0x30b24b['markerRange'],_0xb1e6b5['name']))return;const _0x3516ad=_0x30b24b['markerRange']['getWalker'](),_0x59f0b5=_0x30b24b['markerRange']['start'],_0x52aaf9=_0xc64a35['model']['schema'];let _0x4a48b1=null,_0x5f1c92=null,_0xd8f6ab=!0x1,_0x333b14=!0x1;for(const _0x39d6fa of _0x3516ad){const _0x464621=_0x39d6fa['item'];_0xd8f6ab=_0xd8f6ab||_0x52aaf9['isContent'](_0x464621);const _0x2517c9=_0x3d92d3['mapper']['toViewElement'](_0x464621);if(_0x2517c9&&_0x2517c9['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x39d6fa['type']&&(_0x52aaf9['isBlock'](_0x464621)&&!_0x52aaf9['isLimit'](_0x464621)&&(_0x464621['nextSibling']||_0x59f0b5['isAtEnd']?_0x4a48b1&&_0x4a48b1['parent']==_0x464621||(_0x4a48b1=_0x464621,_0xdf200(_0x39d6fa['previousPosition']),_0x333b14=!0x0):_0x5f1c92=_0x5f1c92||_0x39d6fa['previousPosition']));}function _0xdf200(_0x5230cd){const _0x3caa0f=_0x3d92d3['mapper']['toViewPosition'](_0x5230cd),_0x1f8b51=_0x3d92d3['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x537d06});_0x3d92d3['writer']['insert'](_0x3caa0f,_0x1f8b51),_0x3d92d3['mapper']['bindElementToMarker'](_0x1f8b51,_0x30b24b['markerName']);}_0xd8f6ab||_0x333b14||!_0x5f1c92||_0xdf200(_0x5f1c92);};}class bt extends _0x133b0b{constructor(_0x5d720d){super(_0x5d720d);const _0x41a93e=_0x5d720d['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x41a93e,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x41a93e,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x4d053a=this['editor'],_0x420c45=_0x4d053a['plugins']['get'](d),_0x583e6c=_0x420c45['isReady']?_0x420c45['diff']['newRevisionId']:null;_0x4d053a['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x583e6c);}['refresh'](){const {isReady:_0x307abb,isEnabled:_0x1b369c}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x307abb&&_0x1b369c;}}class yt extends _0x133b0b{['_step'];constructor(_0x1179d6,{direction:_0xc08677}){super(_0x1179d6);const _0x1896b9=_0x1179d6['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0xc08677?0x1:-0x1,this['listenTo'](_0x1896b9,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x1896b9,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x1896b9,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x4535ec=this['editor'],_0x3d4e5d=_0x4535ec['plugins']['get'](d),{isNavigationMode:_0xf8be94,currentChangeNumber:_0x4891dd}=_0x3d4e5d;let _0x2a20e6;if(_0x3d4e5d['activeChange']=_0xf8be94?_0x3d4e5d['diff']['changes']['get'](_0x4891dd+this['_step']):_0x3d4e5d['diff']['changes']['first'],_0x3d4e5d['activeChange']['data']['isOnRoot'])_0x2a20e6=_0x4535ec['editing']['view']['getDomRoot'](_0x3d4e5d['activeChange']['rootName']);else{const _0x4789e1=_0x4535ec['model']['markers']['get']('revision:'+_0x3d4e5d['activeChange']['id']);_0x2a20e6=_0x2115e1(_0x4535ec['editing'],_0x4789e1);}_0x5d8123({'target':_0x2a20e6,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x377306,currentChangeNumber:_0x2f09fe,numberOfChanges:_0x530cd1,isReady:_0x3018ab,isEnabled:_0x4b047e}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x4b047e&&_0x3018ab&&_0x530cd1)&&(!_0x377306||(0x1===this['_step']?_0x2f09fe<_0x530cd1-0x1:_0x2f09fe>0x0));}}class _i extends _0x46a098{constructor(_0x3e34ea){super(_0x3e34ea);const _0x48b433=this['bindTemplate'],_0x5d9b69=new _0x2484d4(_0x3e34ea),_0x179c15=new _0x2484d4(_0x3e34ea);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',(_0x34dd24,_0x3c1390)=>_0x34dd24&&_0x3c1390>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x705db9,_0x14079f,_0xb5bcc5,_0x4e28d3)=>{if(!_0x705db9)return y(_0x3e34ea,'Loading...');if(!_0xb5bcc5)return y(_0x3e34ea,'No\x20changes');const _0x22ec05=y(_0x3e34ea,'NUMBER_OF_CHANGES',_0xb5bcc5);return _0x4e28d3?y(_0x3e34ea,'X_OF_Y_CHANGES',[_0x14079f+0x1,_0xb5bcc5]):_0x22ec05;}),_0x5d9b69['set']({'label':y(_0x3e34ea,'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'}),_0x179c15['set']({'label':y(_0x3e34ea,'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'}),_0x5d9b69['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x179c15['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x5d9b69['on']('execute',()=>this['fire']('execute','backward')),_0x179c15['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',_0x48b433['if']('_isStatusLabelVisible','ck-hidden',_0x448c29=>!_0x448c29)]},'children':[{'text':_0x48b433['to']('isNavigationMode',_0x4332de=>_0x4332de?y(_0x3e34ea,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x3e34ea,'Total')+':\x20')}]},{'text':_0x48b433['to']('_statusText')}]},new _0x4892e9(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x5d9b69,_0x179c15]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x14cffe{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x51f185=this['editor']['editing']['view'];_0x51f185['change'](_0x7f90cf=>{for(const _0x559603 of _0x51f185['document']['roots'])_0x7f90cf['addClass'](ce,_0x559603);});}['hide'](){const _0x136d6b=this['editor']['editing']['view'];_0x136d6b['change'](_0x52a3f9=>{for(const _0x335735 of _0x136d6b['document']['roots'])_0x52a3f9['removeClass'](ce,_0x335735);});}}class R extends _0x14cffe{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x20efac=this['editor'],_0x5c8460=_0x20efac['plugins']['get'](d),_0x42ae68=_0x20efac['plugins']['get'](de);_0x20efac['ui']['componentFactory']['add']('exitToEditing',_0x46a514=>{const _0x38a0ba=new _0x2484d4(_0x46a514);return _0x38a0ba['set']({'label':y(_0x46a514,'Back\x20to\x20editing'),'icon':_0x3398b1['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x38a0ba,'execute',()=>{_0x20efac['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x38a0ba;}),_0x20efac['ui']['componentFactory']['add']('restoreRevision',_0x153cfe=>{const _0xbced83=new _0x2484d4(_0x153cfe);return _0xbced83['set']({'label':y(_0x153cfe,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0xbced83['bind']('isEnabled')['to'](_0x20efac['commands']['get']('restoreRevision')),this['listenTo'](_0xbced83,'execute',()=>_0x20efac['execute']('restoreRevision')),_0xbced83;}),_0x20efac['ui']['componentFactory']['add']('changesNavigation',_0x11bb18=>{const _0x3b03d4=new _i(_0x11bb18),_0x543a44=_0x20efac['commands']['get']('showPreviousChange'),_0x254b3f=_0x20efac['commands']['get']('showNextChange');return _0x3b03d4['bind']('isBackwardNavigationEnabled')['to'](_0x543a44,'isEnabled'),_0x3b03d4['bind']('isForwardNavigationEnabled')['to'](_0x254b3f,'isEnabled'),_0x3b03d4['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x5c8460),this['listenTo'](_0x3b03d4,'execute',(_0x5e2fdc,_0x1bddcd)=>{_0x20efac['execute']('forward'===_0x1bddcd?'showNextChange':'showPreviousChange');}),_0x3b03d4;}),_0x42ae68['show'](),_0x5c8460['on']('change:isReady',(_0x191cf1,_0x1cb821,_0x1ce3b2)=>{_0x1ce3b2?_0x42ae68['hide']():_0x42ae68['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0xc5e7e7,_0x4e82f8){super(_0xc5e7e7,_0x4e82f8);const _0x11e8ac=this['bindTemplate'];this['set']({'label':y(_0xc5e7e7,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0xc5e7e7,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x11e8ac['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 _0x4998f3=this['fieldView']['element'];this['_tooltipString']=_0x4998f3['scrollWidth']>_0x4998f3['clientWidth']&&_0x4998f3['value']||'';}}class ti extends _0x46a098{constructor(_0xed4dde,_0x1d2ae2,_0xb2ce4b){super(_0xed4dde);const _0x306b52=new _0x4dde65();_0x306b52['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 _0x69dff4=['ck','ck-revision-history-sidebar__revision-author'];_0xb2ce4b&&_0x69dff4['push']('ck-revision-history-sidebar__revision-author_creator');const _0x56b71b=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0xed4dde,_0xb2ce4b?'Revision\x20creator':'Revision\x20author')},'children':[_0x306b52,_0x1d2ae2['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x69dff4},'children':_0x56b71b});}}function ni(_0x592dfc,_0x353a61){const _0x2e138d=_0x592dfc['bindTemplate'],_0x5ebe7b=_0x592dfc['locale'],_0x1cf7df=_0x580c86(_0x5ebe7b);_0x1cf7df['panelPosition']='sw';const _0x1f1a79=function(_0x5400ca,_0x180fd1){const _0x34aece=function(_0x25001d,_0x4aebd8){const _0x3f1d50=_0x25001d['locale'],_0x5dfe1f={'Compare\x20against\x20selected':y(_0x3f1d50,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x3f1d50,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x3f1d50,'Restore\x20this\x20revision')};return _0x4aebd8['map'](_0x90ada6=>{const _0xf8acf7=_0x5dfe1f[_0x90ada6['name']];return _0xf8acf7&&_0xf8acf7!==_0x90ada6['name']&&(_0x90ada6['name']=_0xf8acf7),_0x90ada6;});}(_0x5400ca,_0x180fd1),_0x5703f2=new _0x9053aa();for(const _0x412f13 of _0x34aece){const _0x4c219d={'type':'button','model':new to({'label':_0x412f13['name'],'class':_0x412f13['class'],'withText':!0x0,'role':'menuitem','_action':_0x412f13['action']})};_0x4c219d['model']['bind']('isEnabled')['to'](_0x5400ca,'isActionsDropdownOpen',_0x55bdc2=>'function'!=typeof _0x412f13['isEnabled']||(!_0x55bdc2||_0x412f13['isEnabled'](_0x5400ca))),_0x5703f2['add'](_0x4c219d);}return _0x5703f2;}(_0x592dfc,_0x353a61);return _0x592dfc['bind']('isActionsDropdownOpen')['to'](_0x1cf7df,'isOpen'),_0x1cf7df['buttonView']['set']({'label':y(_0x5ebe7b,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x3398b1['threeVerticalDots']}),_0x1cf7df['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x2e138d['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x2e138d['to'](_0x226e86=>_0x226e86['stopPropagation']())}}),_0x1cf7df['on']('execute',_0x50c05c=>{_0x592dfc['isReady']&&'function'==typeof _0x50c05c['source']['_action']&&_0x50c05c['source']['_action'](_0x592dfc);}),_0x923b8a(_0x1cf7df,_0x1f1a79,{'role':'menu'}),_0x1cf7df['listenTo'](_0x592dfc,'change:isActionsDropdownOpen',(_0x330284,_0x4b38ef,_0x282e08)=>{if(_0x282e08)for(const _0x4ed622 of _0x1cf7df['listView']['items']){const _0x414c82=_0x4ed622['children']['first'],_0x2edf3b=_0x353a61['find'](_0x5bca4f=>_0x5bca4f['action']===_0x414c82['_action'])['isVisible'];_0x4ed622['isVisible']=void 0x0===_0x2edf3b||_0x2edf3b(_0x592dfc);}}),_0x1cf7df;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x2a9c48(_0x46a098){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x14af7a,_0x455322,_0x546c72,_0x3a2b9a){super(_0x14af7a);const _0x476aeb=this['bindTemplate'],_0x548306=function(_0x4fc341,_0x19d62c){const _0x5ea53b=Array['from'](_0x19d62c['authors'])['filter'](_0x2aa1bb=>_0x2aa1bb!=_0x19d62c['creator']);return _0x19d62c['creator']&&_0x5ea53b['unshift'](_0x19d62c['creator']),_0x5ea53b['map'](_0x247902=>new ti(_0x4fc341,_0x247902,_0x247902==_0x19d62c['creator']));}(_0x14af7a,_0x455322);this['id']=_0x455322['id'],this['_revision']=_0x455322,this['_requireRevisionName']=_0x3a2b9a,this['bind']('name','createdAt')['to'](_0x455322),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x28be38=>{return _0x25e6f3=_0x14af7a['uiLanguage'],(_0x8ef73f=_0x28be38)['toLocaleDateString'](_0x25e6f3,{'month':'long','day':'numeric'})+',\x20'+_0x8ef73f['toLocaleTimeString'](_0x25e6f3,{'hour':'numeric','minute':'numeric'});var _0x25e6f3,_0x8ef73f;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x14af7a,_0x2c31d9),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x8d850a=>_0x8d850a||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x49488b,_0x326803)=>_0x49488b&&_0x326803),this['revisionActionsView']=_0x546c72&&_0x546c72['length']?ni(this,_0x546c72):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x476aeb['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x476aeb['if']('isEnabled','ck-disabled',_0x24ab2e=>!_0x24ab2e),_0x476aeb['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x476aeb['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x476aeb['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':_0x476aeb['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':_0x548306}]},this['revisionActionsView']],'on':{'click':_0x476aeb['to'](_0x2cac12=>{_0x2cac12['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x5bbf6e=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x5bbf6e,'change',()=>{this['_requireRevisionName']&&!_0x5bbf6e['value']||this['fire']('setName',{'id':this['id'],'name':_0x5bbf6e['value']}),_0x5bbf6e['value']||(_0x5bbf6e['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(_0x1c49b9,_0x2f6b73){const _0x56581e=_0x354dc3['fromJSDate'](_0x1c49b9)['setLocale'](_0x2f6b73),_0x4efe36=_0x354dc3['local'](),_0x3f01f4=_0x4efe36['minus']({'days':0x1})['startOf']('day');let _0x573d27,_0x6aa5ca;return _0x56581e['hasSame'](_0x4efe36,'day')?(_0x573d27=_0x56581e['startOf']('day')['toJSDate'](),_0x6aa5ca=_0x56581e['toRelativeCalendar']()):_0x56581e['hasSame'](_0x3f01f4,'day')?(_0x573d27=_0x3f01f4['toJSDate'](),_0x6aa5ca=_0x56581e['toRelativeCalendar']()):_0x56581e['hasSame'](_0x4efe36,'week')?(_0x573d27=_0x56581e['startOf']('week')['toJSDate'](),_0x6aa5ca=_0x56581e['weekdayLong']||''):_0x56581e['hasSame'](_0x4efe36,'year')?(_0x573d27=_0x56581e['startOf']('month')['toJSDate'](),_0x6aa5ca=_0x56581e['monthLong']||''):(_0x573d27=_0x56581e['startOf']('year')['toJSDate'](),_0x6aa5ca=String(_0x56581e['year'])),{'startDate':_0x573d27,'localizedPeriodName':_0x6aa5ca};}class mi extends _0x46a098{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x4a5060,_0x5e0bc3,_0x203bd8,_0x229dfd){super(_0x4a5060);const _0x536242=di(_0x5e0bc3,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x5e0bc3,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x203bd8,this['_requireRevisionName']=_0x229dfd,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':_0x536242}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x57baf8){const _0x48e195=new ai(this['locale'],_0x57baf8,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x48e195);}['removeRevision'](_0x2e2b33){const _0x1c7e29=this['revisionViews']['find'](_0x40ef53=>_0x40ef53['id']===_0x2e2b33['id']);this['revisionViews']['remove'](_0x1c7e29);}}class as extends _0x46a098{constructor(_0x1740df){super(_0x1740df);const _0x25d265=new _0x4dde65();_0x25d265['content']=_0x3398b1['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x25d265,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x1740df,'Revision\x20history')]}]});}}class ci extends _0x46a098{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x113be8,_0x2cd693,_0x5d28a2,_0x3ac52f){super(_0x113be8);const _0x5c0523=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x2cd693,this['_revisionActions']=_0x5d28a2,this['_requireRevisionName']=_0x3ac52f,this['on']('select',(_0x5455d3,_0x11c849)=>{this['fire']('revisionSelected',_0x11c849);}),this['on']('setName',(_0x11c881,_0x437f24)=>{this['fire']('revisionSetName',_0x437f24);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x113be8),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x5c0523['if']('isEnabled','ck-disabled',_0x2497ba=>!_0x2497ba)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x2e7930 of this['_revisions'])this['_addRevision'](_0x2e7930);this['_revisions']['on']('add',(_0x121dfe,_0x25ef22)=>{this['_addRevision'](_0x25ef22);}),this['_revisions']['on']('remove',(_0x3f42f7,_0x17dd46)=>{this['_removeRevision'](_0x17dd46);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x208ccb=>_0x208ccb['revisionViews']['map'](_0x158df3=>_0x158df3))['flat']();}['selectRevision'](_0x453d66){for(const _0x5b6d2a of this['revisionViews'])_0x453d66&&_0x453d66['id']===_0x5b6d2a['id']?_0x5b6d2a['select']():_0x5b6d2a['deselect']();}['highlightRevisions'](_0xb7cb24){for(const _0x24a987 of this['revisionViews'])_0xb7cb24['some'](({id:_0x2c0a84})=>_0x2c0a84===_0x24a987['id'])?_0x24a987['highlight']():_0x24a987['unhighlight']();}['_addRevision'](_0x1efac2){const _0x1ba652=di(_0x1efac2['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0xf67d12=this['timePeriodViews']['get'](0x0);_0xf67d12&&_0xf67d12['startDate']['getTime']()===_0x1ba652['getTime']()||(_0xf67d12=new mi(this['locale'],_0x1ba652,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0xf67d12)),_0xf67d12['addRevision'](_0x1efac2);}['_removeRevision'](_0x291d44){const _0x4e7cc6=di(_0x291d44['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x4e7cc6)['removeRevision'](_0x291d44);}['_getTimePeriodViewByStartDate'](_0x98aec1){return this['timePeriodViews']['find'](_0x3b4818=>_0x3b4818['startDate']['getTime']()===_0x98aec1['getTime']());}}class w extends _0x14cffe{['_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(_0x370349){super(_0x370349),this['_revisionViewer']=_0x370349['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x344c22=this['_revisionsRepository']['_revisions'],_0x375bd7=this['_createRevisionActions'](),_0x572988=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x344c22,_0x375bd7,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',(_0x3f2577,_0xb9f669)=>{_0xb9f669['revisionViews']['on']('add',(_0x6a1913,_0x41ee2e)=>{_0x41ee2e['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)),_0x572988['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x856ac0=this['_revisionsRepository']['getRevision'](0x0);if(_0x856ac0){const _0x98c8b9=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x856ac0['id']);this['_revisionViewer']['compare'](_0x856ac0,_0x98c8b9);}}['_handleRevisionSelected'](_0x59eacc,_0x3e10b9){const _0x13813e=this['_revisionsRepository']['getRevision'](_0x3e10b9['id']),_0x19e400=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x13813e['id']);this['_revisionViewer']['compare'](_0x13813e,_0x19e400);}['_handleRevisionSetName'](_0x1fada8,_0x457b85){this['_revisionsRepository']['getRevision'](_0x457b85['id'])['setName'](_0x457b85['name']);}['_handleDiffChange'](_0xba932e,_0x3cc8e9,_0x36ce05){const _0x134816=this['_revisionsRepository']['getRevisionsInDiff'](_0x36ce05);_0x134816['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x134816),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x134816[0x0]));}['_createRevisionActions'](){const _0xe76ce=this['editor'],_0x491cb1=w['availableRevisionActions'],_0x3afe54=_0xe76ce['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x3afe54['length'])return _0x3afe54['map'](_0x1c0e99=>{const _0x1081da='string'==typeof _0x1c0e99?Object['assign']({},_0x491cb1[_0x1c0e99]):_0x1c0e99;return _0x1081da['action']=_0x1081da['action']['bind'](this,_0xe76ce),_0x1081da['isVisible']&&(_0x1081da['isVisible']=_0x1081da['isVisible']['bind'](this,_0xe76ce)),_0x1081da;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x1be37c},_0x1857a7)=>{const _0x230e5e=_0x1be37c['get'](d),_0x951986=_0x230e5e['repository'];let _0x1de50a=_0x230e5e['diff']['newRevisionId'],_0x14befa=_0x1857a7['id'];_0x951986['getIndex'](_0x1de50a)>_0x951986['getIndex'](_0x14befa)&&([_0x1de50a,_0x14befa]=[_0x14befa,_0x1de50a]),_0x230e5e['compare'](_0x1de50a,_0x14befa);},'isVisible':({plugins:_0x495840},_0x1ee808)=>{const _0x3c3322=_0x495840['get'](d);return!(_0x3c3322['repository']['getRevisionsInDiff'](_0x3c3322['diff'])['length']>0x2)&&!_0x1ee808['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x458224,{id:_0x12d2fc})=>{_0x458224['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x12d2fc);},'isVisible':({plugins:_0x6182ed},_0x51710c)=>!!_0x6182ed['get'](d)['repository']['getLaterVisibleRevision'](_0x51710c['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x1461e8},{id:_0x1cb4d7,revisionNameView:_0x4a8a9c})=>{const _0x26e1e6=_0x1461e8['get'](d),_0x41e162=_0x26e1e6['repository']['getEarlierVisibleRevision'](_0x1cb4d7);_0x26e1e6['compare'](_0x1cb4d7,_0x41e162),_0x4a8a9c['focus'](),_0x4a8a9c['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x2c06f4,_0xa6c634){super(_0x2c06f4),this['_view']=_0xa6c634,this['_toolbarConfig']=ct(_0x2c06f4['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x45649f){const _0x3c2304=this['editor'],_0x191627=this['view'],_0x2b62cc=_0x3c2304['editing']['view'],_0x289e7c=_0x191627['editable'],_0x23b26c=_0x2b62cc['document']['getRoot']();_0x289e7c['name']=_0x23b26c['rootName'],_0x191627['render']();const _0x1aea0d=_0x289e7c['element'];this['setEditableElement'](_0x289e7c['name'],_0x1aea0d),_0x191627['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x2b62cc['attachDomRoot'](_0x1aea0d),this['_elementReplacer']['replace'](_0x45649f,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x471a44=this['view'],_0x2cf06c=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x2cf06c['detachDomRoot'](_0x471a44['editable']['name']),_0x471a44['destroy']();}['_initToolbar'](){const _0x4e3955=this['view'];_0x4e3955['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x4e3955['stickyPanel']['limiterElement']=_0x4e3955['element'],_0x4e3955['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x452ce7})=>_0x452ce7),_0x4e3955['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x4e3955['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x1fa044,_0x5bf38e,_0x206042={}){super(_0x1fa044),this['stickyPanel']=new lt(_0x1fa044),this['toolbar']=new pt(_0x1fa044,{'shouldGroupWhenFull':_0x206042['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x1fa044,_0x5bf38e);}['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(_0xd61e88,_0x19c2ed){super(_0x19c2ed),this['sourceElement']=_0xd61e88,this['model']['document']['createRoot']();const _0x50a275=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x50a275);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x23c7b7,_0x122042){const _0x752472=new this(_0x23c7b7,_0x122042);return await _0x752472['initPlugins'](),await _0x752472['ui']['init'](_0x23c7b7),await _0x752472['data']['init'](_0x752472['config']['get']('initialData')||''),_0x752472['fire']('ready'),_0x752472;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x28ca11{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x528581){super(_0x528581),this['result']='end';}}class H extends _0x28ca11{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x53aee2){if(super(_0x53aee2),!this['editor']['config']['get']('revisionHistory'))throw new _0x5e996e('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x579d5f=>this['_showRevisionViewer']({..._0x579d5f,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x5f02c6=>this['_closeRevisionViewer'](_0x5f02c6)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0xf6c7f=>this['_restoreRevision'](_0xf6c7f)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x40e33a){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x40e33a;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x39dd70){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x39dd70);}['getRevision'](_0x48ac6f){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x48ac6f);}['getRevisions'](_0xa6e4f9){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0xa6e4f9||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x13a16a=this['editor'],_0x4d735f=_0xd2e690(_0x13a16a,p),_0x513c85=_0x13a16a['plugins']['get']('RevisionTracker'),_0xa53e14=_0x13a16a['plugins']['get']('Users')['users'];return _0x4d735f['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x4d735f['lazyRoots'],(_0x4d735f['plugins']['push'](k,d,R,class extends _0x28ca11{static get['requires'](){return[d,'Users'];}['init'](){const _0xfd36ca=this['editor']['plugins']['get']('Users');for(const _0x3ea21c of _0xa53e14)_0x3ea21c['isAnonymous']||_0xfd36ca['getUser'](_0x3ea21c['id'])||_0xfd36ca['addUser'](_0x3ea21c);const _0x34a4c6=_0x513c85['repository']['getRevisions']();let _0x3e459f=null;const _0x14af78=this['editor']['plugins']['get']('RevisionViewer');_0x14af78['adapter']=_0x513c85['adapter'],_0x14af78['bind']('isEnabled')['to'](_0x513c85),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x13a16a,'isReadOnly',_0x1e96aa=>!_0x1e96aa);for(const _0x503813 of _0x34a4c6){const _0x1708b7=null===_0x503813['creator'];if(_0x1708b7&&_0x503813['toVersion']===_0x503813['fromVersion'])continue;const _0x37b743=_0x503813['toJSON']();_0x14af78['addRevisionData'](_0x37b743,(_0xfbfc25,_0x1ddd97,_0x5656b7)=>{if(_0x1708b7){if(_0x3e459f)_0x3e459f['_update'](_0xfbfc25,_0x1ddd97);else{if(!_0x1ddd97){const _0x2ace44=_0x5656b7['toJSON']();_0x2ace44['id']=_0x1b816b(),_0x513c85['saveRevision'](_0x2ace44,_0x5656b7['toVersion'])['then'](_0x388165=>{_0x3e459f=_0x388165;});}}}else _0x503813['_update'](_0xfbfc25,_0x1ddd97);});}}},w),_0x4d735f);}['_enhanceShowRevisionViewerCallback'](){const _0x3bbccf=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x4c2434=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x1a7e68=this['editor']['plugins']['get']('Autosave');await _0x1a7e68['save']();}else await _0x4c2434['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x3b995a=this['editor']['plugins']['get']('Dialog');_0x3b995a['isOpen']&&_0x3b995a['hide']();}const _0x49c06f=this['_getRevisionViewerEditorConfig']();return _0x3bbccf(_0x49c06f)['then'](_0x2ca8ea=>{return(this['_viewerEditor']=_0x2ca8ea,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x2ca8ea;})['catch'](_0x30d7ee=>(console['error'](_0x30d7ee),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0xdc719c=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'](),_0xdc719c(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x2e57d3=this['editor']['plugins']['get']('Annotations');_0x2e57d3['refreshVisibility'](),_0x2e57d3['refreshPositioning']();}})));}['_showRevisionViewer'](_0xfacabf){const _0x35886c=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x550502=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x205e94=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x205e94,_0xfacabf)['then'](_0xd647b=>(_0x550502['style']['display']='block',_0x35886c['style']['display']='none',_0xd647b));}['_closeRevisionViewer'](_0x248ece){const _0x47b8f6=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x47b8f6['style']['display']='',_0x248ece['destroy']();}async['_restoreRevision'](_0x56ea14){const _0x128aaa=this['editor'],_0x2477d7=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x5f9d19=_0x128aaa['plugins']['get']('RevisionTracker'),_0x2ef973=_0x2477d7['repository']['getRevision'](_0x56ea14);let _0x43cb4a,_0x1a7136,_0x4545af;try{_0x43cb4a=await _0x2477d7['getRevisionData'](_0x2ef973),_0x1a7136=await _0x2477d7['getRevisionRootsAttributes'](_0x2ef973);}catch(_0x36ceda){return void console['error'](_0x36ceda);}_0x128aaa['model']['change'](_0x5ea67c=>{for(const _0x2fc3cd of Array['from'](_0x128aaa['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x5ea67c['removeMarker'](_0x2fc3cd);}),_0x2477d7['isReady']=!0x1,_0x128aaa['model']['enqueueChange'](_0x5aa3d3=>{_0x5aa3d3['setSelection'](null),_0x5aa3d3['removeSelectionAttribute'](_0x128aaa['model']['document']['selection']['getAttributeKeys']());const _0x7e2e7b=Object['keys'](_0x43cb4a);for(const _0x4f1c98 of _0x128aaa['model']['document']['roots'])'$graveyard'!=_0x4f1c98['rootName']&&_0x4f1c98['isAttached']()&&!_0x7e2e7b['includes'](_0x4f1c98['rootName'])&&_0x5aa3d3['detachRoot'](_0x4f1c98);for(const _0x92ec3d of _0x7e2e7b){let _0x529622=_0x128aaa['model']['document']['getRoot'](_0x92ec3d);_0x529622&&_0x529622['isAttached']()||(_0x529622=_0x5aa3d3['addRoot'](_0x92ec3d));const _0x4ac0f5=_0x1a7136[_0x92ec3d],_0x3c832e=Object['keys'](_0x4ac0f5),_0x645548=_0x43cb4a[_0x92ec3d];for(const _0x573eec of _0x529622['getAttributeKeys']())_0x3c832e['includes'](_0x573eec)||_0x5aa3d3['removeAttribute'](_0x573eec,_0x529622);for(const _0x26ff25 of _0x3c832e)_0x5aa3d3['setAttribute'](_0x26ff25,_0x1a7136[_0x92ec3d][_0x26ff25],_0x529622);_0x5aa3d3['remove'](_0x5aa3d3['createRangeIn'](_0x529622)),_0x5aa3d3['insert'](_0x128aaa['data']['parse'](_0x645548,_0x529622),_0x529622,0x0);}});const _0x35e115=y(_0x128aaa['locale'],'Restored');if(_0x2ef973['name'])_0x4545af=-0x1==_0x2ef973['name']['indexOf'](_0x35e115)?_0x35e115+':\x20'+_0x2ef973['name']:_0x2ef973['name'];else _0x4545af=_0x35e115+':\x20'+(_0x2ef973['createdAt']['toLocaleDateString'](_0x128aaa['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x2ef973['createdAt']['toLocaleTimeString'](_0x128aaa['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x5f9d19['saveRevision']({'name':_0x4545af}),_0x2477d7['isReady']=!0x0,_0x128aaa['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(_0x4b65a7){super(_0x4b65a7),this['_revisionViewer']=_0x4b65a7['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x56f3b3=this['_revisionsRepository']['_revisions'],_0x5ae477=this['_createRevisionActions'](),_0x2b3241=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x56f3b3,_0x5ae477,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',(_0x58051e,_0x1e78e4)=>{_0x1e78e4['revisionViews']['on']('add',(_0x1511c6,_0x2ded11)=>{_0x2ded11['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)),_0x2b3241['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x29d2a7=this['_revisionsRepository']['getRevision'](0x0);if(_0x29d2a7){const _0x2b5700=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x29d2a7['id']);this['_revisionViewer']['compare'](_0x29d2a7,_0x2b5700);}}['_handleRevisionSelected'](_0x5d49b9,_0x78209c){const _0x30c38c=this['_revisionsRepository']['getRevision'](_0x78209c['id']),_0x3508db=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x30c38c['id']);this['_revisionViewer']['compare'](_0x30c38c,_0x3508db);}['_handleRevisionSetName'](_0x30894d,_0x5cc39b){this['_revisionsRepository']['getRevision'](_0x5cc39b['id'])['setName'](_0x5cc39b['name']);}['_handleDiffChange'](_0x2bc720,_0x3590ad,_0x11cff1){const _0x4ed9d6=this['_revisionsRepository']['getRevisionsInDiff'](_0x11cff1);_0x4ed9d6['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x4ed9d6),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x4ed9d6[0x0]));}['_createRevisionActions'](){const _0x34f290=this['editor'],_0x56bb21=w['availableRevisionActions'],_0x115b0d=_0x34f290['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x115b0d['length'])return _0x115b0d['map'](_0x3d8222=>{const _0x39bd12='string'==typeof _0x3d8222?Object['assign']({},_0x56bb21[_0x3d8222]):_0x3d8222;return _0x39bd12['action']=_0x39bd12['action']['bind'](this,_0x34f290),_0x39bd12['isVisible']&&(_0x39bd12['isVisible']=_0x39bd12['isVisible']['bind'](this,_0x34f290)),_0x39bd12;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x32bc83},_0x33d5fe)=>{const _0x22c227=_0x32bc83['get'](d),_0x3180b0=_0x22c227['repository'];let _0x5a00c2=_0x22c227['diff']['newRevisionId'],_0x4814f0=_0x33d5fe['id'];_0x3180b0['getIndex'](_0x5a00c2)>_0x3180b0['getIndex'](_0x4814f0)&&([_0x5a00c2,_0x4814f0]=[_0x4814f0,_0x5a00c2]),_0x22c227['compare'](_0x5a00c2,_0x4814f0);},'isVisible':({plugins:_0xc1526},_0xc5c47a)=>{const _0x586c88=_0xc1526['get'](d);return!(_0x586c88['repository']['getRevisionsInDiff'](_0x586c88['diff'])['length']>0x2)&&!_0xc5c47a['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x500cfe,{id:_0x4a590e})=>{_0x500cfe['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x4a590e);},'isVisible':({plugins:_0x5454cb},_0x5cb357)=>!!_0x5454cb['get'](d)['repository']['getLaterVisibleRevision'](_0x5cb357['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x501a50},{id:_0x3e67c1,revisionNameView:_0x284e9c})=>{const _0x51e760=_0x501a50['get'](d),_0x7407b9=_0x51e760['repository']['getEarlierVisibleRevision'](_0x3e67c1);_0x51e760['compare'](_0x3e67c1,_0x7407b9),_0x284e9c['focus'](),_0x284e9c['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x3fff7d,_0x40555a){super(_0x3fff7d),this['_view']=_0x40555a,this['_toolbarConfig']=ct(_0x3fff7d['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x59a03f){const _0x15e908=this['editor'],_0x2a0314=this['view'],_0x1eea8b=_0x15e908['editing']['view'],_0x347bea=_0x2a0314['editable'],_0x2dda7d=_0x1eea8b['document']['getRoot']();_0x347bea['name']=_0x2dda7d['rootName'],_0x2a0314['render']();const _0x4dfa91=_0x347bea['element'];this['setEditableElement'](_0x347bea['name'],_0x4dfa91),_0x2a0314['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x1eea8b['attachDomRoot'](_0x4dfa91),this['_elementReplacer']['replace'](_0x59a03f,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0xbfd3b0=this['view'],_0x201fe1=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x201fe1['detachDomRoot'](_0xbfd3b0['editable']['name']),_0xbfd3b0['destroy']();}['_initToolbar'](){const _0x2e7ac2=this['view'];_0x2e7ac2['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x2e7ac2['stickyPanel']['limiterElement']=_0x2e7ac2['element'],_0x2e7ac2['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x1db770})=>_0x1db770),_0x2e7ac2['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x2e7ac2['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x4dd12e,_0x56cf5d,_0x322e55={}){super(_0x4dd12e),this['stickyPanel']=new lt(_0x4dd12e),this['toolbar']=new pt(_0x4dd12e,{'shouldGroupWhenFull':_0x322e55['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x4dd12e,_0x56cf5d);}['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(_0xd009e8,_0x241da2){super(_0x241da2),this['sourceElement']=_0xd009e8,this['model']['document']['createRoot']();const _0x384b03=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x384b03);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x3e1f56,_0x496293){const _0x2b6919=new this(_0x3e1f56,_0x496293);return await _0x2b6919['initPlugins'](),await _0x2b6919['ui']['init'](_0x3e1f56),await _0x2b6919['data']['init'](_0x2b6919['config']['get']('initialData')||''),_0x2b6919['fire']('ready'),_0x2b6919;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x14cffe{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x45a37e){super(_0x45a37e),this['result']='end';}}class H extends _0x14cffe{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x32a358){if(super(_0x32a358),!this['editor']['config']['get']('revisionHistory'))throw new _0x59d048('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x199957=>this['_showRevisionViewer']({..._0x199957,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x2b3cf2=>this['_closeRevisionViewer'](_0x2b3cf2)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x270698=>this['_restoreRevision'](_0x270698)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x1970d8){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x1970d8;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x53e1ed){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x53e1ed);}['getRevision'](_0x311f6e){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x311f6e);}['getRevisions'](_0x97da93){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x97da93||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x5c06db=this['editor'],_0x2a5850=_0x256394(_0x5c06db,p),_0x45247f=_0x5c06db['plugins']['get']('RevisionTracker'),_0x10dc8b=_0x5c06db['plugins']['get']('Users')['users'];return _0x2a5850['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x2a5850['lazyRoots'],(_0x2a5850['plugins']['push'](k,d,R,class extends _0x14cffe{static get['requires'](){return[d,'Users'];}['init'](){const _0x297708=this['editor']['plugins']['get']('Users');for(const _0x1bcb70 of _0x10dc8b)_0x1bcb70['isAnonymous']||_0x297708['getUser'](_0x1bcb70['id'])||_0x297708['addUser'](_0x1bcb70);const _0x658533=_0x45247f['repository']['getRevisions']();let _0x2a4bd1=null;const _0x5a66a7=this['editor']['plugins']['get']('RevisionViewer');_0x5a66a7['adapter']=_0x45247f['adapter'],_0x5a66a7['bind']('isEnabled')['to'](_0x45247f),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x5c06db,'isReadOnly',_0x2c13cc=>!_0x2c13cc);for(const _0xa0ab41 of _0x658533){const _0x487181=null===_0xa0ab41['creator'];if(_0x487181&&_0xa0ab41['toVersion']===_0xa0ab41['fromVersion'])continue;const _0x2faecc=_0xa0ab41['toJSON']();_0x5a66a7['addRevisionData'](_0x2faecc,(_0x10d5af,_0x3f7b85,_0x222a2)=>{if(_0x487181){if(_0x2a4bd1)_0x2a4bd1['_update'](_0x10d5af,_0x3f7b85);else{if(!_0x3f7b85){const _0x4846aa=_0x222a2['toJSON']();_0x4846aa['id']=_0x2bbace(),_0x45247f['saveRevision'](_0x4846aa,_0x222a2['toVersion'])['then'](_0x1af643=>{_0x2a4bd1=_0x1af643;});}}}else _0xa0ab41['_update'](_0x10d5af,_0x3f7b85);});}}},w),_0x2a5850);}['_enhanceShowRevisionViewerCallback'](){const _0x3c5346=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x3ce7db=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x45134a=this['editor']['plugins']['get']('Autosave');await _0x45134a['save']();}else await _0x3ce7db['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x4f2e1e=this['editor']['plugins']['get']('Dialog');_0x4f2e1e['isOpen']&&_0x4f2e1e['hide']();}const _0x1df2e4=this['_getRevisionViewerEditorConfig']();return _0x3c5346(_0x1df2e4)['then'](_0x3930cc=>{return(this['_viewerEditor']=_0x3930cc,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x3930cc;})['catch'](_0x39872a=>(console['error'](_0x39872a),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x5ec751=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'](),_0x5ec751(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x2b20b5=this['editor']['plugins']['get']('Annotations');_0x2b20b5['refreshVisibility'](),_0x2b20b5['refreshPositioning']();}})));}['_showRevisionViewer'](_0x25944c){const _0x7c1dd8=this['editor']['config']['get']('revisionHistory.editorContainer'),_0xf2a23d=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x387621=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x387621,_0x25944c)['then'](_0x1c2eaf=>(_0xf2a23d['style']['display']='block',_0x7c1dd8['style']['display']='none',_0x1c2eaf));}['_closeRevisionViewer'](_0x5b26e6){const _0x1e8185=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x1e8185['style']['display']='',_0x5b26e6['destroy']();}async['_restoreRevision'](_0x1f334a){const _0x30fb19=this['editor'],_0x4232e7=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x9f060f=_0x30fb19['plugins']['get']('RevisionTracker'),_0x5a3a52=_0x4232e7['repository']['getRevision'](_0x1f334a);let _0x45b141,_0x1ca447,_0xf63d3a;try{_0x45b141=await _0x4232e7['getRevisionData'](_0x5a3a52),_0x1ca447=await _0x4232e7['getRevisionRootsAttributes'](_0x5a3a52);}catch(_0x230f0d){return void console['error'](_0x230f0d);}_0x30fb19['model']['change'](_0x433499=>{for(const _0x5146eb of Array['from'](_0x30fb19['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x433499['removeMarker'](_0x5146eb);}),_0x4232e7['isReady']=!0x1,_0x30fb19['model']['enqueueChange'](_0x1f370a=>{_0x1f370a['setSelection'](null),_0x1f370a['removeSelectionAttribute'](_0x30fb19['model']['document']['selection']['getAttributeKeys']());const _0x223697=Object['keys'](_0x45b141);for(const _0xd140ba of _0x30fb19['model']['document']['roots'])'$graveyard'!=_0xd140ba['rootName']&&_0xd140ba['isAttached']()&&!_0x223697['includes'](_0xd140ba['rootName'])&&_0x1f370a['detachRoot'](_0xd140ba);for(const _0x239b68 of _0x223697){let _0x4619aa=_0x30fb19['model']['document']['getRoot'](_0x239b68);_0x4619aa&&_0x4619aa['isAttached']()||(_0x4619aa=_0x1f370a['addRoot'](_0x239b68));const _0x219072=_0x1ca447[_0x239b68],_0x182c8a=Object['keys'](_0x219072),_0x43afb3=_0x45b141[_0x239b68];for(const _0x51bd08 of _0x4619aa['getAttributeKeys']())_0x182c8a['includes'](_0x51bd08)||_0x1f370a['removeAttribute'](_0x51bd08,_0x4619aa);for(const _0x11635c of _0x182c8a)_0x1f370a['setAttribute'](_0x11635c,_0x1ca447[_0x239b68][_0x11635c],_0x4619aa);_0x1f370a['remove'](_0x1f370a['createRangeIn'](_0x4619aa)),_0x1f370a['insert'](_0x30fb19['data']['parse'](_0x43afb3,_0x4619aa),_0x4619aa,0x0);}});const _0x242f04=y(_0x30fb19['locale'],'Restored');if(_0x5a3a52['name'])_0xf63d3a=-0x1==_0x5a3a52['name']['indexOf'](_0x242f04)?_0x242f04+':\x20'+_0x5a3a52['name']:_0x5a3a52['name'];else _0xf63d3a=_0x242f04+':\x20'+(_0x5a3a52['createdAt']['toLocaleDateString'](_0x30fb19['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x5a3a52['createdAt']['toLocaleTimeString'](_0x30fb19['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x9f060f['saveRevision']({'name':_0xf63d3a}),_0x4232e7['isReady']=!0x0,_0x30fb19['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};