@ckeditor/ckeditor5-revision-history 43.0.0-alpha.6 → 43.1.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.js +6 -6
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/az.js +1 -1
  9. package/dist/translations/az.umd.js +1 -1
  10. package/dist/translations/bg.js +1 -1
  11. package/dist/translations/bg.umd.js +1 -1
  12. package/dist/translations/bn.js +1 -1
  13. package/dist/translations/bn.umd.js +1 -1
  14. package/dist/translations/bs.js +1 -1
  15. package/dist/translations/bs.umd.js +1 -1
  16. package/dist/translations/ca.js +1 -1
  17. package/dist/translations/ca.umd.js +1 -1
  18. package/dist/translations/cs.js +1 -1
  19. package/dist/translations/cs.umd.js +1 -1
  20. package/dist/translations/da.js +1 -1
  21. package/dist/translations/da.umd.js +1 -1
  22. package/dist/translations/de-ch.js +1 -1
  23. package/dist/translations/de-ch.umd.js +1 -1
  24. package/dist/translations/de.js +1 -1
  25. package/dist/translations/de.umd.js +1 -1
  26. package/dist/translations/el.js +1 -1
  27. package/dist/translations/el.umd.js +1 -1
  28. package/dist/translations/en-au.js +1 -1
  29. package/dist/translations/en-au.umd.js +1 -1
  30. package/dist/translations/en-gb.js +1 -1
  31. package/dist/translations/en-gb.umd.js +1 -1
  32. package/dist/translations/en.umd.js +1 -1
  33. package/dist/translations/es-co.js +1 -1
  34. package/dist/translations/es-co.umd.js +1 -1
  35. package/dist/translations/es.js +1 -1
  36. package/dist/translations/es.umd.js +1 -1
  37. package/dist/translations/et.js +1 -1
  38. package/dist/translations/et.umd.js +1 -1
  39. package/dist/translations/fa.js +1 -1
  40. package/dist/translations/fa.umd.js +1 -1
  41. package/dist/translations/fi.js +1 -1
  42. package/dist/translations/fi.umd.js +1 -1
  43. package/dist/translations/fr.js +1 -1
  44. package/dist/translations/fr.umd.js +1 -1
  45. package/dist/translations/gl.js +1 -1
  46. package/dist/translations/gl.umd.js +1 -1
  47. package/dist/translations/he.js +1 -1
  48. package/dist/translations/he.umd.js +1 -1
  49. package/dist/translations/hi.js +1 -1
  50. package/dist/translations/hi.umd.js +1 -1
  51. package/dist/translations/hr.js +1 -1
  52. package/dist/translations/hr.umd.js +1 -1
  53. package/dist/translations/hu.js +1 -1
  54. package/dist/translations/hu.umd.js +1 -1
  55. package/dist/translations/id.js +1 -1
  56. package/dist/translations/id.umd.js +1 -1
  57. package/dist/translations/it.js +1 -1
  58. package/dist/translations/it.umd.js +1 -1
  59. package/dist/translations/ja.js +1 -1
  60. package/dist/translations/ja.umd.js +1 -1
  61. package/dist/translations/jv.js +1 -1
  62. package/dist/translations/jv.umd.js +1 -1
  63. package/dist/translations/ko.js +1 -1
  64. package/dist/translations/ko.umd.js +1 -1
  65. package/dist/translations/ku.js +1 -1
  66. package/dist/translations/ku.umd.js +1 -1
  67. package/dist/translations/lt.js +1 -1
  68. package/dist/translations/lt.umd.js +1 -1
  69. package/dist/translations/lv.js +1 -1
  70. package/dist/translations/lv.umd.js +1 -1
  71. package/dist/translations/ms.js +1 -1
  72. package/dist/translations/ms.umd.js +1 -1
  73. package/dist/translations/ne.js +1 -1
  74. package/dist/translations/ne.umd.js +1 -1
  75. package/dist/translations/nl.js +1 -1
  76. package/dist/translations/nl.umd.js +1 -1
  77. package/dist/translations/no.js +1 -1
  78. package/dist/translations/no.umd.js +1 -1
  79. package/dist/translations/pl.js +1 -1
  80. package/dist/translations/pl.umd.js +1 -1
  81. package/dist/translations/pt-br.js +1 -1
  82. package/dist/translations/pt-br.umd.js +1 -1
  83. package/dist/translations/pt.js +1 -1
  84. package/dist/translations/pt.umd.js +1 -1
  85. package/dist/translations/ro.js +1 -1
  86. package/dist/translations/ro.umd.js +1 -1
  87. package/dist/translations/ru.js +1 -1
  88. package/dist/translations/ru.umd.js +1 -1
  89. package/dist/translations/sk.js +1 -1
  90. package/dist/translations/sk.umd.js +1 -1
  91. package/dist/translations/sr-latn.js +1 -1
  92. package/dist/translations/sr-latn.umd.js +1 -1
  93. package/dist/translations/sr.js +1 -1
  94. package/dist/translations/sr.umd.js +1 -1
  95. package/dist/translations/sv.js +1 -1
  96. package/dist/translations/sv.umd.js +1 -1
  97. package/dist/translations/th.js +1 -1
  98. package/dist/translations/th.umd.js +1 -1
  99. package/dist/translations/ti.js +1 -1
  100. package/dist/translations/ti.umd.js +1 -1
  101. package/dist/translations/tk.js +1 -1
  102. package/dist/translations/tk.umd.js +1 -1
  103. package/dist/translations/tr.js +1 -1
  104. package/dist/translations/tr.umd.js +1 -1
  105. package/dist/translations/tt.js +1 -1
  106. package/dist/translations/tt.umd.js +1 -1
  107. package/dist/translations/ug.js +1 -1
  108. package/dist/translations/ug.umd.js +1 -1
  109. package/dist/translations/uk.js +1 -1
  110. package/dist/translations/uk.umd.js +1 -1
  111. package/dist/translations/ur.js +1 -1
  112. package/dist/translations/ur.umd.js +1 -1
  113. package/dist/translations/vi.js +1 -1
  114. package/dist/translations/vi.umd.js +1 -1
  115. package/dist/translations/zh-cn.js +1 -1
  116. package/dist/translations/zh-cn.umd.js +1 -1
  117. package/dist/translations/zh.js +1 -1
  118. package/dist/translations/zh.umd.js +1 -1
  119. package/package.json +8 -8
  120. package/src/changeitem.js +2 -2
  121. package/src/editor/revisionviewereditor.js +2 -2
  122. package/src/editor/revisionviewereditorui.js +1 -1
  123. package/src/editor/revisionviewereditoruiview.js +1 -1
  124. package/src/index.d.ts +1 -0
  125. package/src/index.js +1 -1
  126. package/src/revision.js +2 -2
  127. package/src/revisiondiff.js +1 -1
  128. package/src/revisionhistory.js +1 -1
  129. package/src/revisionsrepository.js +1 -1
  130. package/src/revisiontracker.js +1 -1
  131. package/src/revisionviewer.js +1 -1
  132. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  133. package/src/ui/revision/revisionauthorview.js +1 -1
  134. package/src/ui/revision/revisionnameview.js +1 -1
  135. package/src/ui/revision/revisionview.js +2 -2
  136. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  137. package/src/ui/revision/subrevisionview.js +1 -1
  138. package/src/ui/revision/utils.js +1 -1
  139. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  140. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  141. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  142. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  143. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  144. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  145. package/src/ui/revisionssidebar/utils.js +1 -1
  146. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  147. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  148. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  149. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  150. 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 _0x47193e,Context as _0x31d3ad,PendingActions as _0x5575c2,icons as _0x3918d9,Command as _0x19ad1b,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x233d5d,uid as _0x50a52d,Collection as _0x2b2b84,logWarning as _0xeaaa32,FocusTracker as _0x1ff205,KeystrokeHandler as _0x4ea145,scrollViewportToShowTarget as _0x353841,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x247002}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0xaeb61,getMarkerDomElement as _0x39447d,ConfirmMixin as _0x5b4ada,sanitizeEditorConfig as _0x43dd50}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x4f3b65,ViewText as _0xda638,ViewElement as _0x2a35af,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x319721,ViewAttributeElement as _0x378a42,ViewEmptyElement as _0x4772f7,ViewRawElement as _0x69908f,ViewUIElement as _0x2059d8,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x4cbbfa,set as _0x41bf09,unset as _0xd3ad2d,isEqual as _0x2d30da}from'lodash-es';import{View as _0x4da36d,injectCssTransitionDisabler as ts,submitHandler as _0x24952c,LabeledFieldView as at,createLabeledInputText as _0x1758b7,createDropdown as _0x49c129,ListView as te,ListItemView as _0x718882,ButtonView as _0x33cdf3,MenuBarMenuView as _0x2e5a95,MenuBarMenuListView as _0x1183b3,MenuBarMenuListItemView as _0x34fe41,MenuBarMenuListItemButtonView as _0x456393,ContextualBalloon as _0x3439a9,ToolbarSeparatorView as _0x3f97f7,IconView as _0x542ab4,addListToDropdown as _0x3deaea,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 _0x355e4d}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x233d5d(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x277615){super(),this['id']=_0x277615['id']||_0x50a52d(),this['creator']=_0x277615['creator']||null,this['authors']=_0x277615['authors']||[],this['diffData']=_0x277615['diffData']||null,this['toVersion']=_0x277615['toVersion']||0x0,this['fromVersion']=_0x277615['fromVersion']||0x0,this['set']('name',_0x277615['name']||''),this['set']('createdAt',_0x277615['createdAt']||new Date()),this['set']('attributes',_0x277615['attributes']||{});}['setName'](_0x155441){this['_update']({'name':_0x155441});}['setAttribute'](_0x294f48,_0x817d9f){const _0x3374e2=_0x4cbbfa(this['attributes']);_0x41bf09(_0x3374e2,_0x294f48,_0x817d9f),this['_update']({'attributes':_0x3374e2});}['removeAttribute'](_0x1d47ff){const _0xbfa8ef=_0x4cbbfa(this['attributes']);_0xd3ad2d(_0xbfa8ef,_0x1d47ff),this['_update']({'attributes':_0xbfa8ef});}['_update'](_0x3499be,_0x5acd5d=!0x1){let _0x308a58=!0x1;const _0x22a37e={'id':this['id']},_0x3565ce=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x41334f of _0x3565ce){const _0x141aa7=_0x3499be[_0x41334f];void 0x0!==_0x141aa7&&_0x141aa7!==this[_0x41334f]&&(this[_0x41334f]=_0x141aa7,_0x22a37e[_0x41334f]=_0x141aa7,_0x308a58=!0x0);}_0x308a58&&(_0x22a37e['authors']&&(_0x22a37e['authorsIds']=_0x22a37e['authors']['map'](_0x2fc3e6=>_0x2fc3e6['id']),delete _0x22a37e['authors']),this['fire']('_update',_0x22a37e,_0x5acd5d));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x2eaffb=>_0x2eaffb['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x47193e{['_revisions'];static get['requires'](){return[_0xaeb61];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x272218){super(_0x272218),this['_revisions']=new _0x2b2b84();}['afterInit'](){!function(_0x1ced5f){function _0x5e6e18(_0x295ed7,_0x13781d,_0xe260a9){const _0xedecc={};_0xedecc[_0x3e1a0c([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0xedecc[_0x3e1a0c([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],_0xedecc[_0x3e1a0c([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],_0xedecc[_0x3e1a0c([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],_0xedecc[_0x3e1a0c([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],_0xedecc[_0x3e1a0c([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],_0xedecc[_0x3e1a0c([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],_0xedecc[_0x3e1a0c([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],_0xedecc[_0x3e1a0c([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],_0xedecc[_0x3e1a0c([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],_0xedecc[_0x3e1a0c([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 _0x3cd2d9=new Uint8Array(0x10);for(let _0x1139bd=0xf;_0x1139bd>=0x0;--_0x1139bd)_0x3cd2d9[_0x1139bd]=_0xe260a9%0x100,_0xe260a9=parseInt(_0xe260a9/0x100);let _0x255f63=null,_0x30afd2=0x10;const _0x520e45=new Uint8Array(_0x13781d),_0x3ec326=[],_0xadf377=[];_0x3e21b6();for(let _0x4b516c=0x0;_0x4b516c<_0x295ed7[_0x3e1a0c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4b516c++)0x10===_0x30afd2&&(_0x255f63=_0x6cb056(_0x3cd2d9),_0x30afd2=0x0,_0x2a03d6(_0x3cd2d9)),_0x295ed7[_0x4b516c]^=_0x255f63[_0x30afd2++];return _0x295ed7;function _0x1b924c(_0x42abc5){const _0x2dad12=[];for(let _0x3035d=0x0;_0x3035d<_0x42abc5[_0x3e1a0c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3035d+=0x4)_0x2dad12[_0x3e1a0c([0x70,0x75,0x73,0x68])](_0x42abc5[_0x3035d]<<0x18|_0x42abc5[_0x3035d+0x1]<<0x10|_0x42abc5[_0x3035d+0x2]<<0x8|_0x42abc5[_0x3035d+0x3]);return _0x2dad12;}function _0x2a03d6(_0x160100){for(let _0x3c34b9=0xf;_0x3c34b9>=0x0;_0x3c34b9--){if(0xff!==_0x160100[_0x3c34b9]){_0x160100[_0x3c34b9]++;break;}_0x160100[_0x3c34b9]=0x0;}}function _0x6cb056(_0x5637b4){const _0x1556e3=_0x3ec326[_0x3e1a0c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x267c52=[0x0,0x0,0x0,0x0];let t=_0x1b924c(_0x5637b4);for(let _0x339446=0x0;_0x339446<0x4;_0x339446++)t[_0x339446]^=_0x3ec326[0x0][_0x339446];for(let _0x598ae6=0x1;_0x598ae6<_0x1556e3;_0x598ae6++){for(let _0x2a5bf4=0x0;_0x2a5bf4<0x4;_0x2a5bf4++)_0x267c52[_0x2a5bf4]=_0xedecc[_0x3e1a0c([0x54,0x31])][t[_0x2a5bf4]>>0x18&0xff]^_0xedecc[_0x3e1a0c([0x54,0x32])][t[(_0x2a5bf4+0x1)%0x4]>>0x10&0xff]^_0xedecc[_0x3e1a0c([0x54,0x33])][t[(_0x2a5bf4+0x2)%0x4]>>0x8&0xff]^_0xedecc[_0x3e1a0c([0x54,0x34])][0xff&t[(_0x2a5bf4+0x3)%0x4]]^_0x3ec326[_0x598ae6][_0x2a5bf4];t=_0x267c52[_0x3e1a0c([0x73,0x6c,0x69,0x63,0x65])]();}const _0x536110=new Uint8Array(0x10);let _0x398659;for(let _0x547b3c=0x0;_0x547b3c<0x4;_0x547b3c++)_0x398659=_0x3ec326[_0x1556e3][_0x547b3c],_0x536110[0x4*_0x547b3c]=0xff&(_0xedecc[_0x3e1a0c([0x53])][t[_0x547b3c]>>0x18&0xff]^_0x398659>>0x18),_0x536110[0x4*_0x547b3c+0x1]=0xff&(_0xedecc[_0x3e1a0c([0x53])][t[(_0x547b3c+0x1)%0x4]>>0x10&0xff]^_0x398659>>0x10),_0x536110[0x4*_0x547b3c+0x2]=0xff&(_0xedecc[_0x3e1a0c([0x53])][t[(_0x547b3c+0x2)%0x4]>>0x8&0xff]^_0x398659>>0x8),_0x536110[0x4*_0x547b3c+0x3]=0xff&(_0xedecc[_0x3e1a0c([0x53])][0xff&t[(_0x547b3c+0x3)%0x4]]^_0x398659);return _0x536110;}function _0x3e21b6(){const _0x57bed0=_0xedecc[_0x3e1a0c([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x520e45[_0x3e1a0c([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x2f56e4=0x0;_0x2f56e4<=_0x57bed0;_0x2f56e4++)_0x3ec326[_0x3e1a0c([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0xadf377[_0x3e1a0c([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x4a08a3=0x4*(_0x57bed0+0x1),_0x3a3d63=_0x520e45[_0x3e1a0c([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x5be678=_0x1b924c(_0x520e45);let _0x2c1b32;for(let _0x5481ca=0x0;_0x5481ca<_0x3a3d63;_0x5481ca++)_0x2c1b32=_0x5481ca>>0x2,_0x3ec326[_0x2c1b32][_0x5481ca%0x4]=_0x5be678[_0x5481ca],_0xadf377[_0x57bed0-_0x2c1b32][_0x5481ca%0x4]=_0x5be678[_0x5481ca];let _0x14b01b,_0x23699c=0x0,t=_0x3a3d63;for(;t<_0x4a08a3;){_0x14b01b=_0x5be678[_0x3a3d63-0x1],_0x5be678[0x0]^=_0xedecc[_0x3e1a0c([0x53])][_0x14b01b>>0x10&0xff]<<0x18^_0xedecc[_0x3e1a0c([0x53])][_0x14b01b>>0x8&0xff]<<0x10^_0xedecc[_0x3e1a0c([0x53])][0xff&_0x14b01b]<<0x8^_0xedecc[_0x3e1a0c([0x53])][_0x14b01b>>0x18&0xff]^_0xedecc[_0x3e1a0c([0x72,0x63,0x6f,0x6e])][_0x23699c]<<0x18,_0x23699c+=0x1;for(let _0x2b8f49=0x1;_0x2b8f49<_0x3a3d63/0x2;_0x2b8f49++)_0x5be678[_0x2b8f49]^=_0x5be678[_0x2b8f49-0x1];_0x14b01b=_0x5be678[_0x3a3d63/0x2-0x1],_0x5be678[_0x3a3d63/0x2]^=_0xedecc[_0x3e1a0c([0x53])][0xff&_0x14b01b]^_0xedecc[_0x3e1a0c([0x53])][_0x14b01b>>0x8&0xff]<<0x8^_0xedecc[_0x3e1a0c([0x53])][_0x14b01b>>0x10&0xff]<<0x10^_0xedecc[_0x3e1a0c([0x53])][_0x14b01b>>0x18&0xff]<<0x18;for(let _0x100fd0=_0x3a3d63/0x2+0x1;_0x100fd0<_0x3a3d63;_0x100fd0++)_0x5be678[_0x100fd0]^=_0x5be678[_0x100fd0-0x1];let _0x39e386,_0x27e895,_0x3b4c16=0x0;for(;_0x3b4c16<_0x3a3d63&&t<_0x4a08a3;)_0x39e386=t>>0x2,_0x27e895=t%0x4,_0x3ec326[_0x39e386][_0x27e895]=_0x5be678[_0x3b4c16],_0xadf377[_0x57bed0-_0x39e386][_0x27e895]=_0x5be678[_0x3b4c16++],t++;}for(let _0x5c04aa=0x1;_0x5c04aa<_0x57bed0;_0x5c04aa++)for(let _0xc6fa84=0x0;_0xc6fa84<0x4;_0xc6fa84++)_0x14b01b=_0xadf377[_0x5c04aa][_0xc6fa84],_0xadf377[_0x5c04aa][_0xc6fa84]=_0xedecc[_0x3e1a0c([0x55,0x31])][_0x14b01b>>0x18&0xff]^_0xedecc[_0x3e1a0c([0x55,0x32])][_0x14b01b>>0x10&0xff]^_0xedecc[_0x3e1a0c([0x55,0x33])][_0x14b01b>>0x8&0xff]^_0xedecc[_0x3e1a0c([0x55,0x34])][0xff&_0x14b01b];}}function _0x3e1a0c(_0xf896b3){return _0xf896b3['map'](_0x5e4fb8=>String['fromCharCode'](_0x5e4fb8))['join']('');}(_0x426eea=>{function _0x53f59b(){const _0x34c6e9=[{[_0x3e1a0c([0x69,0x64])]:0x1,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x3e1a0c([0x69,0x64])]:0x2,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([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]),[_0x3e1a0c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3e1a0c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3e1a0c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3e1a0c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x3e1a0c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3e1a0c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3e1a0c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3e1a0c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3e1a0c([0x69,0x64])]:0x3,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3e1a0c([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3e1a0c([0x69,0x64])]:0x4,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([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]),[_0x3e1a0c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3e1a0c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3e1a0c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3e1a0c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3e1a0c([0x69,0x64])]:0x5,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3e1a0c([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]),[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3e1a0c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3e1a0c([0x66,0x67,0x69])]:[0xc]}},{[_0x3e1a0c([0x69,0x64])]:0x6,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3e1a0c([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3e1a0c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3e1a0c([0x66,0x67,0x69])]:[0xc]}},{[_0x3e1a0c([0x69,0x64])]:0x7,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3e1a0c([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3e1a0c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3e1a0c([0x66,0x67,0x69])]:[0xc]}},{[_0x3e1a0c([0x69,0x64])]:0x8,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3e1a0c([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]),[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3e1a0c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3e1a0c([0x66,0x67,0x69])]:[0xc]}},{[_0x3e1a0c([0x69,0x64])]:0x9,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3e1a0c([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3e1a0c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3e1a0c([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x3e1a0c([0x69,0x64])]:0xa,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([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]),[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([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]),[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3e1a0c([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]),[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3e1a0c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3e1a0c([0x66,0x67,0x69])]:[0xc]}},{[_0x3e1a0c([0x69,0x64])]:0xb,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3e1a0c([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3e1a0c([0x69,0x64])]:0xc,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x3e1a0c([0x69,0x64])]:0xd,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3e1a0c([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3e1a0c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3e1a0c([0x66,0x67,0x69])]:[0xc]}},{[_0x3e1a0c([0x69,0x64])]:0xe,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x3e1a0c([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([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])},{[_0x3e1a0c([0x69,0x64])]:0xf,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3e1a0c([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3e1a0c([0x69,0x64])]:0x10,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3e1a0c([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3e1a0c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3e1a0c([0x66,0x67,0x69])]:[0xc]}}];return _0x4373a1(_0x34c6e9),_0x34c6e9;function _0x14135f(_0x4599e5){return 0x1<<_0x4599e5-0x1;}function _0x4373a1(_0xd9ccc0){_0xd9ccc0[_0x3e1a0c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xace578=>{_0xace578[_0x3e1a0c([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x14135f(_0xace578[_0x3e1a0c([0x69,0x64])]),_0x5b5157(_0xace578)&&_0xace578[_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4373a1(_0xace578[_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x5b5157(_0x2ba1f7){return _0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x2ba1f7;}const _0x235992=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x5919af=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x138cea(_0x507c4b){const _0x28aa37=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x21dc6d(_0x507c4b,new Uint8Array([..._0x235992,..._0x28aa37,..._0x5919af]));}function _0x21dc6d(_0x3f0505,_0x1aedc2){const _0xd13062=_0x4f5899(_0x3f0505),_0x2004f5=Array[_0x3e1a0c([0x66,0x72,0x6f,0x6d])](_0x5c7f1b(_0xd13062)),_0x41e075=_0x2004f5[_0x3e1a0c([0x70,0x6f,0x70])](),_0x5972e2=_0x2004f5[_0x3e1a0c([0x70,0x6f,0x70])]();return _0x44541a(_0x5e6e18(_0x2004f5,_0x1aedc2,_0x5972e2+0x100*_0x41e075));}function _0x4f5899(_0x2c2227){const _0x5aff16=atob(_0x2c2227),[_0x597f2b,_0x34e749]=_0x5aff16[_0x3e1a0c([0x73,0x70,0x6c,0x69,0x74])](_0x3e1a0c([0x2d]));try{if(atob(_0x34e749))return atob(_0x597f2b);}catch(_0x2e5c92){}return _0x5aff16;}function _0x1b617b(_0x4b4d3d){try{const _0x2ea039=_0x138cea(_0x4b4d3d),_0x2f08e8=JSON[_0x3e1a0c([0x70,0x61,0x72,0x73,0x65])](_0x2ea039),_0x46a2ea=parseInt(_0x2f08e8[_0x3e1a0c([0x31])]),_0x1e9b54=_0x2f08e8[_0x3e1a0c([0x32])]||'',_0x49a7df=parseInt(_0x2f08e8[_0x3e1a0c([0x33])]),_0x38b1e3=parseInt(_0x2f08e8[_0x3e1a0c([0x34])])||0x0,_0x35d349=parseInt(_0x2f08e8[_0x3e1a0c([0x35])])||0x0;return{[_0x3e1a0c([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x1e9b54,[_0x3e1a0c([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x38b1e3,[_0x3e1a0c([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x46a2ea,[_0x3e1a0c([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x49a7df,[_0x3e1a0c([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x35d349};}catch(_0x36b58e){return null;}}const _0x37d5e9=_0x53f59b(),_0x2e960d={[_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x19ada2,[_0x3e1a0c([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])]:_0x1ae44e,[_0x3e1a0c([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])]:_0x9d14a8},_0xd59791=_0x426eea[_0x3e1a0c([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x40a12b=_0x3e1a0c([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x426eea?_0x426eea['context']:_0x426eea['editor'],_0x23b15b=_0x3e1a0c([0x34,0x30,0x34,0x38,0x31,0x36,0x31,0x34]),_0x1db7b9=_0x3e1a0c([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]),_0x42a78f=_0x40a12b['config']['get'](_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x208d4f=_0x37d5e9[_0x3e1a0c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b5157)[_0x3e1a0c([0x66,0x69,0x6e,0x64])](_0x1fffc8=>_0x1fffc8[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0xd59791);function _0x2d151e(_0x21ace2,_0x4d5ba7){_0x2e960d[_0x4d5ba7[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x21ace2,_0x4d5ba7),_0x4d5ba7[_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4d5ba7[_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x3e1a0c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18f7a2=>_0x19eb94(_0x40a12b,_0x18f7a2[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x3e1a0c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2a87ec=>_0x2d151e(_0x21ace2,_0x2a87ec));}function _0x19ada2(_0x4e7fbf,_0x14b5b3){_0x4cf56f(_0x11bc0a(_0x4e7fbf,_0x14b5b3),_0x14b5b3);}function _0x1ae44e(_0x59a4d3,_0x26b656){function _0x35961f(_0x4ed0ca,_0x453daf){try{if(_0x19eb94(_0x40a12b,_0x3e1a0c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x4ed0ca){const _0x239760=_0x11cccd(_0x40a12b,_0x3e1a0c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x3e1a0c([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x239760)/0x2>_0x4ed0ca[_0x3e1a0c([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x1494c5(_0x453daf[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x11bc0a(_0x4ed0ca,_0x453daf);}catch(_0xbae5c1){return _0x1494c5(_0x453daf[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x4cf56f(_0x35961f(_0x59a4d3,_0x26b656),_0x26b656);}function _0x9d14a8(_0x2b88c7,_0x5484d8){const _0x2d942f=_0x5919af[0x0]*_0x235992[0x1],_0x299f73=_0x5919af[0x0]*_0x235992[0x2],_0x392320=_0x5919af[0x2]*_0x235992[0x2];_0x19eb94(_0x40a12b,_0x3e1a0c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x11cccd(_0x40a12b,_0x3e1a0c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3e1a0c([0x73,0x74,0x61,0x74,0x65])]==_0x3e1a0c([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x20b386()]=_0x392320);function _0x59de87(_0x473efe,_0x4d7f3e){try{return _0x1db410()?_0x1494c5(_0x4d7f3e[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x56,0x61,0x6c,0x69,0x64])):_0x11bc0a(_0x473efe,_0x4d7f3e);}catch(_0x229f40){return _0x1494c5(_0x4d7f3e[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x66989(_0x2dc62f,_0x4299b4){const _0x32f552=0x7;if(_0x2dc62f==_0x4299b4[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x4cbf74();else{if(_0x2dc62f==_0x4299b4[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x54,0x72,0x69,0x61,0x6c])){const _0x1d2d5a=_0x2a40ee();_0x1d2d5a&&_0x46bd48(_0x1d2d5a,_0x4299b4[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x228d6b=_0x279898();window[_0x3e1a0c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x46bd48(_0x3e1a0c([0x74,0x69,0x6d,0x65]),_0x4299b4[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x228d6b);const _0x17d7fe=_0x11cccd(_0x40a12b,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3e1a0c([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x17d7fe[_0x3e1a0c([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x32f552?_0x46bd48(_0x3e1a0c([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4299b4[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x17d7fe['on'](_0x3e1a0c([0x61,0x64,0x64]),()=>{_0x17d7fe[_0x3e1a0c([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x32f552&&_0x46bd48(_0x3e1a0c([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4299b4[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x2a40ee(){if(!_0x19eb94(_0x40a12b,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x17130b in window)if(Number['isNaN'](Number(_0x17130b))){if(window[_0x17130b]===_0x2d942f)return _0x3e1a0c([0x74,0x69,0x6d,0x65]);if(window[_0x17130b]===_0x299f73)return _0x3e1a0c([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x1db410(){if(!_0x19eb94(_0x40a12b,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x2fc04e in window)if(Number['isNaN'](Number(_0x2fc04e))&&window[_0x2fc04e]===_0x392320)return!0x0;return!0x1;}function _0x46bd48(_0x328158,_0x46abd5){_0x4cbf74(),_0x1494c5(_0x46abd5+_0x3e1a0c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x328158),window[_0x20b386()]=_0x328158===_0x3e1a0c([0x74,0x69,0x6d,0x65])?_0x2d942f:_0x299f73;}function _0x279898(){let _0x5b48f6=_0x5919af[0x6]*_0x235992[0x8]*_0x235992[0x6];return _0x19eb94(_0x40a12b,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x5b48f6/=0xa),_0x5b48f6;}function _0x4cbf74(){const _0x420330=_0x40a12b;function _0x3b6afa(){_0x19eb94(_0x420330,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x11cccd(_0x420330,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3e1a0c([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3e1a0c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x11cccd(_0x420330,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3e1a0c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x11cccd(_0x420330,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3e1a0c([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x5b4897,_0x11cccd(_0x420330,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3e1a0c([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x5b4897,_0x420330[_0x3e1a0c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e1a0c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5b4897,_0x420330[_0x3e1a0c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e1a0c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5b4897,_0x420330[_0x3e1a0c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e1a0c([0x6d,0x6f,0x64,0x65,0x6c]))),_0x19eb94(_0x420330,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x11cccd(_0x420330,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3e1a0c([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3e1a0c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x11cccd(_0x420330,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3e1a0c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x11cccd(_0x420330,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3e1a0c([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x5b4897,_0x11cccd(_0x420330,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3e1a0c([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x5b4897);}_0x420330[_0x3e1a0c([0x73,0x74,0x61,0x74,0x65])]==_0x3e1a0c([0x72,0x65,0x61,0x64,0x79])?_0x3b6afa():_0x420330[_0x3e1a0c([0x6f,0x6e,0x63,0x65])](_0x3e1a0c([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x19eb94(_0x420330,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x3b6afa(),_0x19eb94(_0x420330,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x22a0c0=_0x11cccd(_0x420330,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x1b6101=_0x22a0c0['getRevision'](0x0),_0x46fe5d=_0x22a0c0['getEarlierVisibleRevision'](_0x1b6101[_0x3e1a0c([0x69,0x64])]);_0x11cccd(_0x420330,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3e1a0c([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x1b6101[_0x3e1a0c([0x69,0x64])],_0x46fe5d?_0x46fe5d[_0x3e1a0c([0x69,0x64])]:null,0x1)['then'](()=>_0x3b6afa());}});}_0x66989(_0x59de87(_0x2b88c7,_0x5484d8),_0x5484d8);}function _0x11bc0a(_0x21f089,_0x5dad6c){try{return _0x4bb8f9(_0x5dad6c)?_0x1494c5(_0x5dad6c[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x56,0x61,0x6c,0x69,0x64])):_0x21f089&&_0x2e12d9(_0x21f089[_0x3e1a0c([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x5dad6c)?_0x21f089[_0x3e1a0c([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x3e1a0c([0x6f,0x70,0x65,0x6e])][_0x3e1a0c([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x23b15b)/0x2>_0x21f089[_0x3e1a0c([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x1494c5(_0x5dad6c[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x21f089[_0x3e1a0c([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x1494c5(_0x5dad6c[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x54,0x72,0x69,0x61,0x6c])):_0x1494c5(_0x5dad6c[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x56,0x61,0x6c,0x69,0x64])):_0x1494c5(_0x5dad6c[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x725e68){return _0x1494c5(_0x5dad6c[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x4cf56f(_0x275f67,_0x232090){if(_0x40a12b instanceof _0x31d3ad){const _0x3742fd=_0x40a12b;_0x275f67==_0x232090[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2a6f49(_0x3742fd):_0x275f67==_0x232090[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x54,0x72,0x69,0x61,0x6c])&&window[_0x3e1a0c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2a6f49(_0x3742fd),_0x1494c5(_0x232090[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x5919af[0x6]*_0x235992[0x8]*_0x235992[0x6]),_0x3742fd[_0x3e1a0c([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x3e1a0c([0x6f,0x6e])](_0x3e1a0c([0x61,0x64,0x64]),(_0x100b1f,_0x2f98e3)=>{_0x275f67!=_0x232090[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x275f67!=_0x232090[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x275f67!=_0x232090[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x7e80cd(_0x2f98e3);});}else{const _0x2a4046=_0x40a12b;_0x275f67==_0x232090[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x7e80cd(_0x2a4046):_0x275f67==_0x232090[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x54,0x72,0x69,0x61,0x6c])&&_0x2a4046[_0x3e1a0c([0x6f,0x6e])](_0x3e1a0c([0x72,0x65,0x61,0x64,0x79]),()=>{let _0xa4feee=0x0;_0x2a4046[_0x3e1a0c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e1a0c([0x6f,0x6e])](_0x3e1a0c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x53772b,_0x1da237)=>{_0x1da237[0x0][_0x3e1a0c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xa4feee++,0x1f8===_0xa4feee&&(_0x7e80cd(_0x2a4046),_0x1494c5(_0x232090[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x53772b[_0x3e1a0c([0x6f,0x66,0x66])]());},{'priority':_0x3e1a0c([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x1494c5(_0x4f51f4){const _0x3f0602=_0x20b386();return _0x40a12b[_0x3f0602]=_0x4f51f4,_0x4f51f4;}function _0x20b386(){const _0x539031=String(window[_0x3e1a0c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e1a0c([0x6e,0x6f,0x77])]())[_0x3e1a0c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e1a0c([0x2e]),'');let _0x50039f='';for(let _0x2b4760=0x0;_0x2b4760<_0x539031[_0x3e1a0c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b4760+=0x2){let _0x31c965=parseInt(_0x539031[_0x3e1a0c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b4760,_0x2b4760+0x2));_0x31c965>=_0x1db7b9[_0x3e1a0c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x31c965-=_0x1db7b9[_0x3e1a0c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x50039f+=_0x1db7b9[_0x31c965];}return _0x50039f;}function _0x2a6f49(_0xbe895b){for(const _0x7aafcf of _0xbe895b[_0x3e1a0c([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x7e80cd(_0x7aafcf);_0x11cccd(_0xbe895b,_0x3e1a0c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3e1a0c([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x11cccd(_0xbe895b,_0x3e1a0c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3e1a0c([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x5b4897;}function _0x7e80cd(_0x2bcee0){function _0x3b4c86(){_0x2bcee0[_0x3e1a0c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e1a0c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5b4897,_0x2bcee0[_0x3e1a0c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e1a0c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5b4897,_0x2bcee0[_0x3e1a0c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e1a0c([0x6d,0x6f,0x64,0x65,0x6c]));}_0x2bcee0[_0x3e1a0c([0x73,0x74,0x61,0x74,0x65])]==_0x3e1a0c([0x72,0x65,0x61,0x64,0x79])?_0x3b4c86():_0x2bcee0[_0x3e1a0c([0x6f,0x6e,0x63,0x65])](_0x3e1a0c([0x72,0x65,0x61,0x64,0x79]),()=>_0x3b4c86());}function _0x5b4897(){return null;}function _0x2e12d9(_0x5bf8f4,_0x4b5a2b){const _0x2d1a80=!!(_0x5bf8f4&_0x4b5a2b[_0x3e1a0c([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x527c2b=_0xe52492(_0x5bf8f4,_0x4b5a2b);return _0x2d1a80||_0x527c2b;}function _0xe52492(_0x53f41c,_0x4549ad){const _0x35fbe2=(_0x4549ad[_0x3e1a0c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x3e1a0c([0x66,0x67,0x69])]||null;return!!_0x35fbe2&&_0x37d5e9[_0x3e1a0c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x292b95=>_0x35fbe2[_0x3e1a0c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x292b95[_0x3e1a0c([0x69,0x64])]))[_0x3e1a0c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b897a=>!_0x52625c(_0x2b897a))[_0x3e1a0c([0x73,0x6f,0x6d,0x65])](_0x146d6a=>!!(_0x53f41c&_0x146d6a[_0x3e1a0c([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x52625c(_0x21c6af){const _0x32df86={[_0x3e1a0c([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])]:_0x27f588};return!!_0x21c6af['forbiddenHandler']&&_0x32df86[_0x21c6af['forbiddenHandler']]();}function _0x27f588(){return!window[_0x3e1a0c([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x19eb94(_0x40a12b,_0x3e1a0c([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x4bb8f9(_0x26de05){if(!_0x19eb94(_0x40a12b,_0x26de05[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x3fabd4=_0x26de05[_0x3e1a0c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x3e2f7e=_0x3fabd4[_0x3e1a0c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0xb4b5e9=_0x3fabd4[_0x3e1a0c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x18e692=_0x3fabd4[_0x3e1a0c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x19eb94(_0x40a12b,_0x3e1a0c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x11cccd(_0x40a12b,_0x3e1a0c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3e1a0c([0x73,0x74,0x61,0x74,0x65])]==_0x3e1a0c([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x3e2f7e)return!0x0;if(_0x19eb94(_0x40a12b,_0x3e1a0c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x11cccd(_0x40a12b,_0x3e1a0c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x3e1a0c([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x3e1a0c([0x65,0x6e,0x64])&&_0xb4b5e9)return!0x0;return!(!_0x19eb94(_0x40a12b,_0x3e1a0c([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]))||_0x11cccd(_0x40a12b,_0x3e1a0c([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]))[_0x3e1a0c([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x3e1a0c([0x65,0x6e,0x64])||!_0x18e692);}function _0x19eb94(_0x14e0b9,_0x1e1e55){return _0x14e0b9[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3e1a0c([0x68,0x61,0x73])](_0x1e1e55);}function _0x11cccd(_0x214f11,_0x2adc24){return _0x214f11[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3e1a0c([0x67,0x65,0x74])](_0x2adc24);}function _0x44541a(_0x58c4fb){let _0x5c3d5b='';for(const _0x51d4fd of _0x58c4fb)_0x5c3d5b+=String[_0x3e1a0c([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x51d4fd);return _0x5c3d5b;}function _0x5c7f1b(_0x2beec3){const _0x41028f=new Uint8Array(_0x2beec3[_0x3e1a0c([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x3ed8ad=0x0;_0x3ed8ad<_0x2beec3[_0x3e1a0c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ed8ad++)_0x41028f[_0x3ed8ad]=_0x2beec3[_0x3e1a0c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3ed8ad);return _0x41028f;}_0x208d4f&&_0x2d151e(_0x1b617b(_0x42a78f),_0x208d4f);})(_0x1ced5f);}(this);}['createRevision'](_0x1820f3){const _0x5e4f28=this['editor']['plugins']['get']('Users');return new a({'id':_0x1820f3['id'],'name':_0x1820f3['name'],'creator':_0x1820f3['creatorId']?_0x5e4f28['getUser'](_0x1820f3['creatorId']):null,'diffData':_0x1820f3['diffData']||_0x1820f3['data'],'authors':_0x1820f3['authorsIds']['map'](_0x4d0bbd=>_0x5e4f28['getUser'](_0x4d0bbd)),'createdAt':new Date(_0x1820f3['createdAt']),'attributes':_0x1820f3['attributes'],'fromVersion':_0x1820f3['fromVersion'],'toVersion':_0x1820f3['toVersion']});}['addRevision'](_0x16fca9,_0x41e2f0=0x0){this['_revisions']['add'](_0x16fca9,_0x41e2f0);}['getRevision'](_0x848342){return this['_revisions']['get'](_0x848342);}['getRevisions'](_0x527c9a={'toJSON':!0x1}){const _0x4e208e=Array['from'](this['_revisions']);return _0x4e208e['reverse'](),_0x527c9a['toJSON']?_0x4e208e['map'](_0x1c3373=>_0x1c3373['toJSON']()):_0x4e208e;}['getIndex'](_0x304933){return this['_revisions']['getIndex'](_0x304933);}['getEarlierVisibleRevision'](_0x516b95){const [,_0x280ed6]=this['getRevisionsIterator'](_0x516b95,{'direction':'earlier'});return _0x280ed6;}['getLaterVisibleRevision'](_0x166be3){const [,_0x207998]=this['getRevisionsIterator'](_0x166be3,{'direction':'later'});return _0x207998;}['getRevisionsInDiff'](_0x468262){const _0x283548=[];for(const _0x3b6d07 of this['getRevisionsIterator'](_0x468262['newRevisionId']))if(_0x283548['push'](_0x3b6d07),_0x3b6d07['id']===_0x468262['oldRevisionId'])break;return _0x283548;}*['getRevisionsIterator'](_0x30738e,{direction:_0x5de8f2='earlier',filter:_0x51bafb=_0x1403a4=>!0x0}={}){const _0x89bfb2='earlier'===_0x5de8f2?0x1:-0x1;let _0x3155be=this['_revisions']['get'](_0x30738e),_0x4aace2=this['getIndex'](_0x3155be);for(yield _0x3155be;_0x3155be;){if(_0x4aace2+=_0x89bfb2,_0x3155be=this['getRevision'](_0x4aace2),!_0x3155be)return;_0x51bafb(_0x3155be)&&(yield _0x3155be);}}}function y(_0x166863,_0xe4fa67,_0x510543){const t=_0x166863['t'];switch(_0xe4fa67){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'},_0x510543);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x510543);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x319721,'a':_0x378a42,'e':_0x4772f7,'r':_0x69908f,'u':_0x2059d8};class l extends _0x47193e{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0xaeb61,A,_0x5575c2];}constructor(_0x314a13){super(_0x314a13),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 _0x2fded0=_0x50a52d();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x2fded0},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 _0x4755c6=this['repository']['getRevision'](0x0),_0x5cc428=_0x4755c6&&null===_0x4755c6['creator']?_0x4755c6:null;if(this['_continueCurrentRevision']=!!_0x5cc428&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x413e07=this['_source']['getCurrentRevisionId'](),_0x4e7c4a=this['repository']['getRevision'](_0x413e07);if(_0x4e7c4a)this['_startingVersion']=_0x4e7c4a['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x2d3a76=this['_source']['history']['_operations']['find'](_0x8bb77e=>!_0x8bb77e['_isInit']),_0xe8abef=_0x2d3a76?_0x2d3a76['baseVersion']:this['_source']['history']['version'];_0x4755c6?(_0x4755c6['toVersion']<_0xe8abef&&_0x4755c6['_update']({'toVersion':_0xe8abef}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x5cc428['id'],this['_startingVersion']=_0x5cc428['fromVersion']):(this['_startingVersion']=_0x4755c6['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0xe8abef,this['_continueCurrentRevision']=!0x1);}}else _0x5cc428&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x5cc428['toVersion'],this['editor']['model']['document']['history']['version']),_0x5cc428['fromVersion']===_0x5cc428['toVersion']?(0x0!==_0x5cc428['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x5cc428['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x5cc428['id'],this['_startingVersion']=_0x5cc428['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',_0x5b26d1=>!_0x5b26d1);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x458233=this['repository']['getRevision'](0x0),_0x535620=await this['getRevisionDocumentData'](_0x458233),_0x229d0e=await this['getRevisionRootsAttributes'](_0x458233);this['_replaceEditorDataWithRevisionData'](_0x535620,_0x229d0e);}}['setSource'](_0xb02219){this['_source']=_0xb02219;}async['update'](){const _0x5cf99b=await this['_source']['getLatestVersion']();if(_0x5cf99b>this['currentRevision']['toVersion']){await this['_loadState']();const _0x364e05=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x5cf99b});_0x364e05['authors']=_0x364e05['authorsIds']['map'](_0x17f0c2=>this['editor']['plugins']['get']('Users')['getUser'](_0x17f0c2)),this['currentRevision']['_update'](_0x364e05);}}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'](_0x29befc={},_0x3f0341=null){const _0x573d87=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x3f0341>this['currentRevision']['toVersion']&&(_0x3f0341=null),null===_0x3f0341&&(_0x3f0341=await this['_source']['getLatestVersion']());const _0x148e54=this['_getFromVersion'](_0x3f0341),_0x3177d7=this['buildRevisionData']({'from':_0x148e54,'to':_0x3f0341});if(this['currentRevision']['toVersion']<_0x3f0341){const _0x35e892=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x3f0341,'to':_0x3f0341});_0x35e892['authors']=[],_0x35e892['authorsIds']=[],_0x35e892['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x35e892,!0x0),delete _0x35e892['authors'],_0x573d87['push'](_0x35e892);}_0x29befc['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x29befc['name']=_0x29befc['name']||null,_0x29befc['id']=_0x29befc['id']||_0x50a52d(),_0x29befc={..._0x29befc,..._0x3177d7};const _0x287d66=this['addRevisionData'](_0x29befc);_0x573d87['push'](_0x29befc);const _0x2e0a3a=this['repository']['getIndex'](_0x287d66);if(0x0!==_0x2e0a3a){const _0x9b5ec2=this['repository']['getRevision'](_0x2e0a3a-0x1);if(_0x9b5ec2['fromVersion']!==_0x3f0341){const _0x187806=this['_revisionDataBuilder']['getData'](_0x3f0341,_0x9b5ec2['toVersion']),_0x2ad09b={'id':_0x9b5ec2['id'],'diffData':_0x187806['diffData'],'authorsIds':_0x187806['authorsIds'],'authors':_0x187806['authorsIds']['map'](_0x37d817=>this['editor']['plugins']['get']('Users')['getUser'](_0x37d817)),'fromVersion':_0x3f0341};_0x9b5ec2===this['currentRevision']&&(_0x2ad09b['createdAt']=new Date(_0x29befc['createdAt']['getTime']()+0xa)),_0x9b5ec2['_update'](_0x2ad09b,!0x0),delete _0x2ad09b['authors'],_0x573d87['push'](_0x2ad09b);}}if(this['adapter']){for(const _0x21e8bd of _0x573d87)this['_bufferUpdate'](_0x21e8bd['id'],_0x21e8bd,!0x0);this['sendBufferedUpdates']();}return _0x287d66;}['addRevisionData'](_0x5ad094){const _0x28f7dd=this['repository']['createRevision'](_0x5ad094);return this['adapter']&&_0x28f7dd['on']('_update',(_0x24010a,_0x52036c,_0x3d41a3)=>{_0x3d41a3||(this['_bufferUpdate'](_0x52036c['id'],_0x52036c,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x28f7dd,this['_findInsertionIndex'](_0x28f7dd)),_0x28f7dd;}async['getRevisionDocumentData'](_0x3d60e6){await this['_loadRevisionData'](_0x3d60e6);const _0x1a25ce={};for(const _0x2af833 in _0x3d60e6['diffData']){if(_0x3d60e6['diffData'][_0x2af833]['attachChange']&&!_0x3d60e6['diffData'][_0x2af833]['attachChange']['isAttached'])continue;const _0x2228cc=this['_removeRevisionMarkers'](JSON['parse'](_0x3d60e6['diffData'][_0x2af833]['insertions'])),_0x50cf8d=this['editor']['editing']['view']['document'],_0x52bf88=new _0x4f3b65(_0x50cf8d,_0x2228cc['map'](_0x3b407a=>B(_0x3b407a,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x1a25ce[_0x2af833]=this['editor']['data']['processor']['toData'](_0x52bf88),this['editor']['data']['processor']['useFillerType']('default');}return _0x1a25ce;}async['getRevisionRootsAttributes'](_0x17aabd){await this['_loadRevisionData'](_0x17aabd);const _0x2417c2={};for(const _0xe5e8d9 in _0x17aabd['diffData'])_0x17aabd['diffData'][_0xe5e8d9]['attachChange']&&!_0x17aabd['diffData'][_0xe5e8d9]['attachChange']['isAttached']||(_0x2417c2[_0xe5e8d9]=_0x17aabd['diffData'][_0xe5e8d9]['attributesAfter']||{});return _0x2417c2;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x363e2e=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x34a30b=0x0;_0x34a30b<_0x363e2e['length'];_0x34a30b++){const _0x2d8ce2=_0x363e2e[_0x34a30b];let _0x4c6641=!0x1;for(const _0x4f98ca of Object['keys'](_0x2d8ce2))void 0x0===_0x2d8ce2[_0x4f98ca]?delete _0x2d8ce2[_0x4f98ca]:'id'!==_0x4f98ca&&(_0x4c6641=!0x0);_0x4c6641||(_0x363e2e[_0x34a30b]=null);}if(_0x363e2e=_0x363e2e['filter'](_0x5ea065=>null!==_0x5ea065),!_0x363e2e['length'])return;for(let _0x912611=0x0;_0x912611<_0x363e2e['length'];_0x912611++){const _0x11f6ca=_0x363e2e[_0x912611];void 0x0!==_0x11f6ca['fromVersion']&&void 0x0===_0x11f6ca['toVersion']&&(_0x11f6ca['toVersion']=this['repository']['getRevision'](_0x11f6ca['id'])['toVersion']),void 0x0!==_0x11f6ca['toVersion']&&void 0x0===_0x11f6ca['fromVersion']&&(_0x11f6ca['fromVersion']=this['repository']['getRevision'](_0x11f6ca['id'])['fromVersion']);}const _0x2ea4b3=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x363e2e,_0x2ea4b3)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x2b60a4=>{if(_0x2b60a4){for(const _0x307b75 of _0x2b60a4)this['setRevisionData']({'id':_0x307b75['id'],'createdAt':_0x307b75['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x318e6d,_0x1e4d84){let _0x4b3dde=this['editor']['config']['get']('initialData'),_0x29409a=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x4b3dde){_0x4b3dde={};for(const _0x5a1c34 of this['editor']['model']['document']['getRootNames']())_0x4b3dde[_0x5a1c34]='';}if('string'==typeof _0x4b3dde&&(_0x4b3dde={'main':_0x4b3dde}),void 0x0===_0x29409a){_0x29409a={};for(const _0x1f79c3 of this['editor']['model']['document']['getRootNames']())_0x29409a[_0x1f79c3]={};}let _0xc810e3=!0x1;const _0x4de147=Object['keys'](_0x4b3dde),_0x54784e=Object['keys'](_0x318e6d);for(const _0x39415f of _0x4de147){if(_0x4b3dde[_0x39415f]!==_0x318e6d[_0x39415f]&&''!==_0x4b3dde[_0x39415f]['trim']()){_0xc810e3=!0x0;break;}if(!_0x2d30da(_0x29409a[_0x39415f],_0x1e4d84[_0x39415f])&&Object['keys'](_0x29409a[_0x39415f])['length']>0x0){_0xc810e3=!0x0;break;}}_0xc810e3||(_0xc810e3=_0x54784e['some'](_0x48bb54=>!this['editor']['model']['document']['getRoot'](_0x48bb54))),_0xc810e3&&_0xeaaa32('editor-initial-data-replaced-with-revision-data',{'editorData':_0x4b3dde,'editorRootsAttributes':_0x29409a,'revisionData':_0x318e6d,'revisionRootsAttributes':_0x1e4d84}),this['editor']['config']['set']('initialData',_0x318e6d),this['editor']['config']['set']('rootsAttributes',_0x1e4d84);}['_addPendingAction'](){if(!this['_pendingAction']){const _0xd55060=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0xd55060['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x5f323a){const _0x4104e1=this['repository']['getRevisions']();_0x4104e1['reverse']();let _0x5a9ea5=0x0;for(;_0x5a9ea5<_0x4104e1['length'];){const _0x5117b1=_0x4104e1[_0x5a9ea5];if(_0x5117b1===this['currentRevision']){_0x5a9ea5++;continue;}if(_0x5117b1['id']===this['_initialRevisionId'])break;const _0x31b6f4=_0x5f323a['toVersion']-_0x5117b1['toVersion']||_0x5f323a['fromVersion']-_0x5117b1['fromVersion'];if(_0x31b6f4>0x0)break;if(_0x31b6f4<0x0)_0x5a9ea5++;else{if(!_0x5f323a['creator']&&_0x5117b1['creator'])break;if(_0x5117b1['creator']||!_0x5f323a['creator']){if(_0x5f323a['createdAt']>_0x5117b1['createdAt'])break;_0x5a9ea5++;}else _0x5a9ea5++;}}return _0x5a9ea5;}['setRevisionData'](_0x4bae77){const _0x1c5e50=this['repository']['getRevision'](_0x4bae77['id']);if(_0x4bae77['createdAt']&&(_0x4bae77['createdAt']=new Date(_0x4bae77['createdAt'])),_0x4bae77['authorsIds']){const _0x3a5023=this['editor']['plugins']['get']('Users');_0x4bae77['authors']=_0x4bae77['authorsIds']['map'](_0x507734=>_0x3a5023['getUser'](_0x507734));}_0x1c5e50['_update'](_0x4bae77,!0x0);}['buildRevisionData']({revision:_0x48928f=null,from:_0x27df92=null,to:_0x7f55e0=null}){_0x27df92=null!==_0x27df92?_0x27df92:_0x48928f['fromVersion'],_0x7f55e0=null!==_0x7f55e0?_0x7f55e0:_0x48928f['toVersion'];const _0x3a5476=this['_revisionDataBuilder']['getData'](_0x27df92,_0x7f55e0),_0x121c07={'diffData':_0x3a5476['diffData'],'authorsIds':_0x3a5476['authorsIds'],'fromVersion':_0x27df92,'toVersion':_0x7f55e0};if(!_0x48928f||_0x7f55e0!==_0x48928f['toVersion']){const _0x274ed1=_0x7f55e0-0x1,_0x4d9171=this['_source']['history']['getOperation'](_0x274ed1);_0x121c07['createdAt']=_0x4d9171&&_0x4d9171['createdAt']||new Date();}if(this['_loadedStateData']&&_0x27df92===this['_loadedStateData']['fromVersion']){for(const _0x39eed2 of this['_loadedStateData']['authors'])_0x121c07['authorsIds']['includes'](_0x39eed2['id'])||_0x121c07['authorsIds']['push'](_0x39eed2['id']);}return _0x121c07;}['_loadRevisionData'](_0x5aec78){if(!_0x5aec78||_0x5aec78['diffData'])return Promise['resolve']();{const _0x2c4c24=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2c4c24,'revisionId':_0x5aec78['id']})['then'](_0x54b8b0=>{_0x5aec78['diffData']=_0x54b8b0['diffData'];});}}['_bufferUpdate'](_0x19bc84,_0x5c0b74,_0x589a80){if(this['_bufferedUpdates']['has'](_0x19bc84)){const _0x18681c=this['_bufferedUpdates']['get'](_0x19bc84);_0x5c0b74=_0x589a80?{..._0x18681c,..._0x5c0b74}:{..._0x5c0b74,..._0x18681c};}this['_bufferedUpdates']['set'](_0x19bc84,_0x5c0b74);}['_getFromVersion'](_0x3cd230){const _0x1dd275=this['repository']['getRevisions']();_0x1dd275['reverse'](),_0x1dd275['shift']();const _0x36b687=_0x1dd275['find'](_0x58ec3d=>_0x58ec3d['toVersion']<=_0x3cd230)['toVersion'];return _0x36b687<this['_startingVersion']?this['_startingVersion']:_0x36b687;}['_createInitialRevision'](_0x4cb306){const _0x523c06=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x523c06)this['_initialRevisionId']=_0x523c06['id'];else{const _0x32b431=!this['editor']['model']['document']['roots']['find'](_0x6223e0=>this['editor']['model']['hasContent'](_0x6223e0)),_0x6e200e=this['editor']['plugins']['get']('Users')['me']['id'],_0x4c7222=y(this['editor']['locale'],_0x32b431?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x4cb306,'to':_0x4cb306,'id':this['_initialRevisionId'],'name':_0x4c7222,'creatorId':_0x6e200e});}}['_createCurrentRevision'](_0x47d44d){const _0x4c8382=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x4c8382),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x47d44d,'to':_0x47d44d,'id':_0x4c8382,'name':'','creatorId':null}));}['_makeRevision']({name:_0x5b0055,from:_0x1110b6,to:_0x1f4032,creatorId:_0x36d0d5,id:_0xc84390}){const _0xebc5f0=this['buildRevisionData']({'from':_0x1110b6,'to':_0x1f4032});_0xebc5f0['name']=_0x5b0055,_0xebc5f0['creatorId']=_0x36d0d5,_0xebc5f0['id']=_0xc84390;const _0x40e7bb=this['addRevisionData'](_0xebc5f0);return this['adapter']&&this['_bufferUpdate'](_0xebc5f0['id'],_0xebc5f0,!0x0),_0x40e7bb;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x32218c){return(_0x32218c=_0x32218c['filter'](_0x2091f7=>!_0x2091f7['name']||'revision-start'!==_0x2091f7['name']&&'revision-end'!==_0x2091f7['name']))['forEach'](_0x290eaf=>{'string'!=typeof _0x290eaf&&(_0x290eaf['children']=this['_removeRevisionMarkers'](_0x290eaf['children']),_0x290eaf['attributes']=_0x290eaf['attributes']['filter'](_0x29074a=>!_0x29074a[0x0]['startsWith']('data-revision-')));}),_0x32218c;}}function B(_0x450ff7,_0x35de53){const _0x1ae3db=_0x35de53['editing']['view']['document'];if('string'==typeof _0x450ff7)return new _0xda638(_0x1ae3db,_0x450ff7);{const _0x4d258e=_0x450ff7['children']['map'](_0x1f37e7=>B(_0x1f37e7,_0x35de53));return new(T[_0x450ff7['type']]||_0x2a35af)(_0x1ae3db,_0x450ff7['name'],_0x450ff7['attributes'],_0x4d258e);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x23fcc8){this['editor']=_0x23fcc8,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'](_0x436a67){this['source']=_0x436a67;const _0x361c70=new Map(),_0x180191=new Map(),_0x4d3455=this['editor']['model']['document']['roots']['map'](_0x1efbb5=>_0x1efbb5['rootName']);for(const _0x43156b of _0x4d3455){const _0x465f8f=this['editor']['model']['document']['getRoot'](_0x43156b),_0x21fda0=q(_0x465f8f);_0x361c70['set'](_0x43156b,_0x21fda0),_0x180191['set'](_0x43156b,Object['fromEntries'](_0x465f8f['getAttributes']()));}const _0x43c0be=Array['from'](this['editor']['model']['markers'])['map'](_0x4b8043=>[_0x4b8043['name'],_0x4b8043['getRange']()]),_0x425f42=this['source']['version'];this['_saveMetaData'](_0x425f42,_0x361c70,_0x43c0be,_0x180191),this['_startingRevisionId']=this['_revisionId'];const _0x43322d=new Map(),_0x41e62a=new Map();for(const _0x209842 of _0x4d3455){const _0x3916b1=G(_0x209842);_0x43322d['set'](_0x209842,_0x3916b1),_0x41e62a['set'](_0x209842,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x43322d,[],_0x41e62a);}['getData'](_0xacb957,_0x269838){if(this['_lastFrom']===_0xacb957&&this['_lastTo']<=_0x269838)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x269838,!0x0);else{if(!this['_savedMetaData']['has'](_0xacb957)){const _0x33df20=this['_getPreviousFrom'](_0xacb957);this['_calculateMetaData'](_0x33df20,_0xacb957,!0x1);}this['_calculateMetaData'](_0xacb957,_0x269838,!0x0);}return this['_lastFrom']=_0xacb957,this['_lastTo']=_0x269838,this['_getState']();}['loadState'](_0x7f5168){this['_reset'](),this['_lastFrom']=_0x7f5168['fromVersion'],this['_lastTo']=_0x7f5168['toVersion'];for(const _0x247d0e in _0x7f5168['diffData']){const _0x51b5fc=_0x7f5168['diffData'][_0x247d0e]['attachChange'],_0x1c2c20=_0x4cbbfa(_0x7f5168['diffData'][_0x247d0e]['attributesBefore'])||{},_0x59120f=this['_makeModelFromViewString'](_0x7f5168['diffData'][_0x247d0e]['deletions']);_0x59120f['rootName']=_0x247d0e,_0x59120f['_isAttached']=!_0x51b5fc||!_0x51b5fc['isAttached'],_0x59120f['isAttached']=()=>_0x59120f['_isAttached'],this['_baseRoots']['set'](_0x247d0e,_0x59120f),this['_baseRootsAttributes']['set'](_0x247d0e,_0x1c2c20),_0x51b5fc&&this['_touchedRoots']['set'](_0x247d0e,_0x51b5fc);const _0x36e807=this['_makeIdsRoot'](_0x59120f);this['_baseIdsRoots']['set'](_0x247d0e,_0x36e807);for(const [_0x3dd7a,_0x586feb]of _0x59120f['markers']){if(!_0x3dd7a['startsWith']('revision:'))continue;const _0x836b18=_0x3dd7a['split'](':')[0x2];for(const _0x52074e of _0x586feb['getWalker']({'singleCharacters':!0x0})){const _0xae1ade=this['_getVidAttributeName'](_0x52074e),_0x4e0a35='elementEnd'==_0x52074e['type']?_0x52074e['previousPosition']['path']['slice'](0x0,-0x1):_0x52074e['previousPosition']['path'],_0x419e14=_0x36e807['getNodeByPath'](_0x4e0a35)['getAttribute'](_0xae1ade);this['_touched']['set'](_0x419e14,{'userId':_0x836b18});}}}this['_startingRevisionId']=this['_revisionId'];const _0x2695c2=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x45c6f9=>!this['_touched']['has'](_0x45c6f9));let _0x245ac1=0x0;const _0x5238fd=new Map();for(const _0xc2c91c in _0x7f5168['diffData']){const _0x10c2fd=_0x7f5168['diffData'][_0xc2c91c]['attachChange'],_0x48ea3b=_0x4cbbfa(_0x7f5168['diffData'][_0xc2c91c]['attributesAfter'])||{},_0x3bfe59=this['_makeModelFromViewString'](_0x7f5168['diffData'][_0xc2c91c]['insertions']);_0x3bfe59['rootName']=_0xc2c91c,_0x3bfe59['_isAttached']=!_0x10c2fd||_0x10c2fd['isAttached'],_0x3bfe59['isAttached']=()=>_0x3bfe59['_isAttached'],this['_diffRoots']['set'](_0xc2c91c,_0x3bfe59),this['_diffRootsAttributes']['set'](_0xc2c91c,_0x48ea3b);const _0x57436b=this['_makeIdsRoot'](_0x3bfe59,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0xc2c91c,_0x57436b),_0x5238fd['set'](_0xc2c91c,_0x3bfe59['isAttached']()?_0x48ea3b:{});for(const [_0x31f66e,_0x457235]of _0x3bfe59['markers']){if(!_0x31f66e['startsWith']('revision:'))continue;const _0x49d34c=_0x31f66e['split'](':')[0x2];for(const _0x41df2b of _0x457235['getWalker']({'singleCharacters':!0x0})){const _0x191594=this['_getVidAttributeName'](_0x41df2b),_0x18ca4f=this['_revisionId']++,_0x52a0fa='elementEnd'==_0x41df2b['type']?_0x41df2b['previousPosition']['path']['slice'](0x0,-0x1):_0x41df2b['previousPosition']['path'];_0x57436b['getNodeByPath'](_0x52a0fa)['_setAttribute'](_0x191594,_0x18ca4f),this['_touched']['set'](_0x18ca4f,{'userId':_0x49d34c});}}for(const _0x452577 of this['editor']['model']['createRangeIn'](_0x3bfe59)['getWalker']({'singleCharacters':!0x0})){const _0x6bd2aa=this['_getVidAttributeName'](_0x452577),_0x5b110b='elementEnd'==_0x452577['type']?_0x452577['previousPosition']['path']['slice'](0x0,-0x1):_0x452577['previousPosition']['path'],_0x57676d=_0x57436b['getNodeByPath'](_0x5b110b);_0x57676d['getAttribute'](_0x6bd2aa)>0x0||_0x57676d['_setAttribute'](_0x6bd2aa,_0x2695c2[_0x245ac1++]);}for(const [_0x51a194,_0x14302b]of _0x3bfe59['markers'])_0x51a194['startsWith']('revision:')||this['_markers']['set'](_0x51a194,_0x14302b);}const _0x4da6e8=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x4da6e8),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4da6e8,0x1));const _0x2cbb4e=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x2cbb4e),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x2cbb4e,0x1));const _0x3f4252=Array['from'](this['_diffRoots'])['map'](([_0xfd2230,_0x1c8ff5])=>[_0xfd2230,q(_0x1c8ff5)]);this['_saveMetaData'](this['_lastTo'],_0x3f4252,this['_markers'],_0x5238fd);}['_makeModelFromViewString'](_0x5788e3){const _0xb6b809=JSON['parse'](_0x5788e3),_0x31ffac=this['editor']['editing']['view']['document'],_0x5ca80f=new _0x4f3b65(_0x31ffac,_0xb6b809['map'](_0x137fda=>B(_0x137fda,this['editor'])));return this['editor']['data']['toModel'](_0x5ca80f);}['_saveMetaData'](_0x292f98,_0x340a3c,_0x341bef,_0x42755c){const _0x38fde0=new Map(_0x340a3c),_0x23d216=new Map(_0x4cbbfa(_0x42755c)),_0xca614a=new Map();for(const [_0x432a87,_0x4e03c0]of _0x341bef)_0xca614a['set'](_0x432a87,{'start':_0x4e03c0['start']['clone'](),'end':_0x4e03c0['end']['clone'](),'rootName':_0x4e03c0['root']['rootName']});this['_savedMetaData']['set'](_0x292f98,{'roots':_0x38fde0,'markers':_0xca614a,'rootsAttributes':_0x23d216});}['_removeMetaData'](_0x362eaa){this['_savedMetaData']['delete'](_0x362eaa);}['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'](_0x28cac5,_0x5efee5=null){let _0x5a0b54=null;_0x28cac5['is']('documentFragment')||(_0x5a0b54=new ft(_0x28cac5['name'],{'vid_start':null===_0x5efee5?this['_revisionId']++:_0x5efee5++}));const _0x3d4e47=[];for(const _0x4238d0 of _0x28cac5['getChildren']())if(_0x4238d0['is']('element')){_0x3d4e47['push'](this['_makeIdsRoot'](_0x4238d0,_0x5efee5));const _0x59b24a=_0x3d4e47[_0x3d4e47['length']-0x1];null!==_0x5efee5&&(_0x5efee5=_0x59b24a['is']('element','$text')?_0x59b24a['getAttribute']('vid')+0x1:_0x59b24a['getAttribute']('vid_end')+0x1);}else{for(let _0x4723af=0x0;_0x4723af<_0x4238d0['offsetSize'];_0x4723af++)_0x3d4e47['push'](new ft('$text',{'vid':null===_0x5efee5?this['_revisionId']++:_0x5efee5++}));}if(_0x28cac5['is']('documentFragment')){const _0x3b8886=G(_0x28cac5['rootName']);return _0x3b8886['_insertChild'](0x0,_0x3d4e47),_0x3b8886;}return _0x5a0b54['_setAttribute']('vid_end',null===_0x5efee5?this['_revisionId']++:_0x5efee5++),_0x5a0b54['_insertChild'](0x0,_0x3d4e47),_0x5a0b54;}['_calculateMetaData'](_0x52aad6,_0x1b4caa,_0x2a215e){this['_reset']();const {roots:_0x23c271,markers:_0x21a849,rootsAttributes:_0x4fb2f1}=this['_savedMetaData']['get'](_0x52aad6);this['_baseRoots']=new Map(_0x23c271),this['_baseRootsAttributes']=new Map(_0x4cbbfa(_0x4fb2f1));for(const [_0x9e0fac,_0xa5af72]of this['_baseRoots'])if('$graveyard'!==_0x9e0fac&&(this['_diffRoots']['set'](_0x9e0fac,q(_0xa5af72)),this['_diffRootsAttributes']=new Map(_0x4cbbfa(_0x4fb2f1)),_0x2a215e)){const _0x262578=this['_revisionId'];this['_idsRoots']['set'](_0x9e0fac,this['_makeIdsRoot'](_0xa5af72)),this['_baseIdsRoots']['set'](_0x9e0fac,this['_makeIdsRoot'](_0xa5af72,_0x262578));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x2a215e&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x12904e,_0x12f74b]of _0x21a849){const _0x2bacb0=this['_baseRoots']['get'](_0x12f74b['rootName']),_0x31d57e=this['_diffRoots']['get'](_0x12f74b['rootName']),_0x72be3d=new vt(this['_fixPosition'](_0x12f74b['start'],_0x2bacb0),this['_fixPosition'](_0x12f74b['end'],_0x2bacb0)),_0x4c00c9=this['_fixRange'](_0x72be3d,_0x31d57e);_0x2bacb0['markers']['set'](_0x12904e,_0x72be3d),this['_markers']['set'](_0x12904e,_0x4c00c9);}this['_applyOperations'](_0x52aad6,_0x1b4caa,_0x2a215e);}['_applyOperations'](_0x506b28,_0x207335,_0x55f42b){for(const _0x4fd787 of this['source']['getOperations'](_0x506b28,_0x207335))this['_handleOperation'](_0x4fd787,_0x55f42b);for(const _0x423fd3 of this['_diffRoots']['values']())_0x423fd3['markers']['clear']();for(const [_0xaa6e8,_0x2a0884]of this['_markers']){this['_diffRoots']['get'](_0x2a0884['root']['rootName'])['markers']['set'](_0xaa6e8,_0x2a0884['clone']());}const _0x11d2de=new Map(),_0x3fe270=new Map();for(const [_0x1537c6,_0x1fece0]of this['_diffRoots'])_0x11d2de['set'](_0x1537c6,q(_0x1fece0)),_0x3fe270['set'](_0x1537c6,this['_diffRootsAttributes']['get'](_0x1537c6));this['_saveMetaData'](_0x207335,_0x11d2de,this['_markers'],_0x3fe270);}['_getPreviousFrom'](_0x59fe35){const _0x169ce4=Array['from'](this['_savedMetaData']['keys']());_0x169ce4['sort']((_0x45f95f,_0x14246d)=>_0x45f95f-_0x14246d),_0x169ce4['reverse']();for(const _0x91ae47 of _0x169ce4)if(_0x91ae47<_0x59fe35)return _0x91ae47;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x5c5f7e,_0x17c22d){const _0x39ab32=Array['from'](_0x17c22d['markers'])['map'](([_0x3689b0,_0x4a03ec])=>[_0x3689b0,this['_fixRange'](_0x4a03ec,_0x5c5f7e)]);_0x5c5f7e['markers']=new Map(_0x39ab32);}['_transformMarkers'](_0x37cf86){for(const _0x19f65d of this['_markers']['values']()){const _0x243a1d=_0x19f65d['getTransformedByOperation'](_0x37cf86),_0x28ef57=vt['_createFromRanges'](_0x243a1d);_0x19f65d['start']=_0x28ef57['start'],_0x19f65d['end']=_0x28ef57['end'];}}['_handleOperation'](_0x23a86f,_0x2cc53e){if('addRoot'==_0x23a86f['type']||'detachRoot'==_0x23a86f['type'])return void this['_handleRootOperation'](_0x23a86f,_0x2cc53e);if('insert'==_0x23a86f['type']){const _0x2ad26d=_0x23a86f['position']['root']['rootName'];this['_diffRoots']['has'](_0x2ad26d)||(this['_diffRoots']['set'](_0x2ad26d,G(_0x2ad26d,!0x0)),this['_diffRootsAttributes']['set'](_0x2ad26d,{}),_0x2cc53e&&this['_idsRoots']['set'](_0x2ad26d,G(_0x2ad26d,!0x0)));}else{if('addRootAttribute'==_0x23a86f['type']||'removeRootAttribute'==_0x23a86f['type']||'changeRootAttribute'==_0x23a86f['type'])return void this['_handleRootAttributeOperation'](_0x23a86f);}const _0x909c84=this['_cloneOperation'](_0x23a86f,this['_diffRoots']);if('marker'!==_0x23a86f['type']&&(_0x909c84['_execute'](),this['_transformMarkers'](_0x909c84)),_0x2cc53e)switch(_0x909c84['type']){case'insert':this['_handleInsertOperation'](_0x23a86f);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x23a86f);break;case'merge':this['_handleMergeOperation'](_0x23a86f);break;case'split':this['_handleSplitOperation'](_0x23a86f);break;case'marker':this['_handleMarkerOperation'](_0x23a86f);}}['_cloneOperation'](_0x1aa700,_0x579e98){const _0x5a708c=_0x1aa700['clone']();return _0x5a708c['_authorId']=_0x1aa700['_authorId'],this['_fixOperation'](_0x5a708c,_0x579e98),_0x5a708c;}['_getBaseVids'](_0x28d087){return _0x28d087['map'](_0x13e89b=>{const _0x5301b1=this['_getVidAttributeName'](_0x13e89b);return Number(_0x13e89b['item']['getAttribute'](_0x5301b1));});}['_generateTape'](_0x1f798e,_0x5f1ae0){if(_0x1f798e['is']('element','$text'))_0x5f1ae0['push']({'item':_0x1f798e,'type':'text'});else{_0x1f798e['is']('element')&&_0x5f1ae0['push']({'item':_0x1f798e,'type':'elementStart'});for(const _0x34bdc0 of _0x1f798e['getChildren']())this['_generateTape'](_0x34bdc0,_0x5f1ae0);_0x1f798e['is']('element')&&_0x5f1ae0['push']({'item':_0x1f798e,'type':'elementEnd'});}return _0x5f1ae0;}['_getState'](){const _0x92a3a5=new Map(this['_touched']),_0x2a2878=new Map(_0x92a3a5),_0x5b45f3=new Map(),_0xee90fd={'insertions':{},'deletions':{}},_0x146123={'insertions':{},'deletions':{}},_0x2da06b=new Map(),_0x193f45=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x193f45['delete']('$graveyard');for(const _0x430cca of _0x193f45){const _0x2250f8=this['_diffRoots']['get'](_0x430cca)||G(_0x430cca,!0x1),_0x3c1152=this['_baseRoots']['get'](_0x430cca)||G(_0x430cca,!0x1);_0x2250f8['isAttached']()||_0x3c1152['isAttached']()?(_0xee90fd['insertions'][_0x430cca]=q(_0x2250f8),_0xee90fd['deletions'][_0x430cca]=q(_0x3c1152),this['_copyMarkers'](_0xee90fd['deletions'][_0x430cca],_0x3c1152),this['_copyMarkers'](_0xee90fd['insertions'][_0x430cca],_0x2250f8),_0x146123['insertions'][_0x430cca]=this['_generateTape'](this['_idsRoots']['get'](_0x430cca),[]),_0x146123['deletions'][_0x430cca]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x430cca)||G(_0x430cca,!0x1),[])):_0x193f45['delete'](_0x430cca);}for(const _0x4987de of _0x193f45){const _0x1025db=_0x146123['insertions'][_0x4987de];for(const _0xa0db57 of _0x1025db){const _0x18d1bb=this['_getVidAttributeName'](_0xa0db57),_0x217dfe=_0xa0db57['item']['getAttribute'](_0x18d1bb);_0x2a2878['delete'](_0x217dfe),_0x217dfe>=this['_startingRevisionId']&&_0x5b45f3['set'](_0x217dfe,_0x92a3a5['get'](_0x217dfe));}}for(const _0x3c035e of _0x193f45){const _0x1bd44b=_0x146123['insertions'][_0x3c035e],_0x7d4e25=this['_getBaseVids'](_0x146123['deletions'][_0x3c035e]);let _0x35b925=0x0;for(const _0x5202c0 of _0x1bd44b){const _0x423e14=this['_getVidAttributeName'](_0x5202c0),_0x2c9fde=_0x5202c0['item']['getAttribute'](_0x423e14);if(!_0x5b45f3['has'](_0x2c9fde)&&!_0x2da06b['has'](_0x2c9fde)){if(_0x2a2878['has'](_0x2c9fde))_0x35b925++;else{if(_0x2c9fde!=_0x7d4e25[_0x35b925]){const _0x17cb5c=_0x92a3a5['get'](_0x2c9fde)||_0x92a3a5['get'](_0x7d4e25[_0x35b925]);for(;_0x2c9fde!=_0x7d4e25[_0x35b925];)_0x2a2878['has'](_0x7d4e25[_0x35b925])||(_0x2da06b['set'](_0x7d4e25[_0x35b925],_0x17cb5c),_0x92a3a5['set'](_0x7d4e25[_0x35b925],_0x17cb5c)),_0x35b925++;}_0x35b925++;}}}}for(const _0x23aa74 of _0x193f45){const _0x5215d2=_0x146123['insertions'][_0x23aa74];for(const _0x2d3132 of _0x5215d2){const _0x3a8a17=this['_getVidAttributeName'](_0x2d3132),_0x435c7b=_0x2d3132['item']['getAttribute'](_0x3a8a17);if(_0x2da06b['has'](_0x435c7b)){const _0x439c1a=_0x2da06b['get'](_0x435c7b);_0x2a2878['has'](_0x435c7b)||_0x2a2878['set'](_0x435c7b,{..._0x439c1a}),_0x5b45f3['set'](_0x435c7b,{..._0x439c1a});}}}for(const _0x218ec7 of _0x2a2878['keys']())_0x218ec7>=this['_startingRevisionId']&&_0x2a2878['delete'](_0x218ec7);const _0x4d255f=new Map();for(const _0x3209db of _0x193f45){let _0x395fd9=_0x146123['insertions'][_0x3209db];for(const _0x566a61 of _0x395fd9)if(_0x566a61['item']['is']('element','tableCell')){const _0x2cd02c=this['_getVidAttributeName'](_0x566a61),_0x6d210c=_0x566a61['item']['getAttribute'](_0x2cd02c);if(_0x5b45f3['has'](_0x6d210c)){const _0x85fb35=_0x566a61['item']['parent']['parent']['getAttribute']('vid_start'),_0x177e69=_0x4d255f['get'](_0x85fb35)||new Set();_0x177e69['add'](_0x5b45f3['get'](_0x6d210c)['userId']),_0x4d255f['set'](_0x85fb35,_0x177e69);}}_0x395fd9=_0x146123['deletions'][_0x3209db];for(const _0x3ea1d6 of _0x395fd9)if(_0x3ea1d6['item']['is']('element','tableCell')){const _0x23fb0d=this['_getVidAttributeName'](_0x3ea1d6),_0xa527f2=_0x3ea1d6['item']['getAttribute'](_0x23fb0d);if(_0x2a2878['has'](_0xa527f2)){const _0x371a00=_0x3ea1d6['item']['parent']['parent']['getAttribute']('vid_start'),_0x44e6e3=_0x4d255f['get'](_0x371a00)||new Set();_0x44e6e3['add'](_0x2a2878['get'](_0xa527f2)['userId']),_0x4d255f['set'](_0x371a00,_0x44e6e3);}}for(const _0x4c8c8e of _0x4d255f['keys']())(_0x5b45f3['has'](_0x4c8c8e)||_0x2a2878['has'](_0x4c8c8e))&&_0x4d255f['delete'](_0x4c8c8e);}for(const _0x9334f7 of _0x193f45){const _0x261f0d=_0x146123['insertions'][_0x9334f7];let _0x14c49f=null,_0x1457f7=null;for(const _0x4308cd of _0x261f0d){const _0x19ec78=this['_getVidAttributeName'](_0x4308cd),_0xebe590=_0x4308cd['item']['getAttribute'](_0x19ec78),_0x56c0bc=_0x4d255f['get'](_0xebe590);_0x56c0bc&&'elementStart'==_0x4308cd['type']&&(_0x14c49f=Array['from'](_0x56c0bc)[0x0],_0x1457f7=_0x4308cd['item']['getAttribute']('vid_end')),_0x14c49f&&(_0x2a2878['set'](_0xebe590,{'userId':_0x14c49f}),_0x5b45f3['set'](_0xebe590,{'userId':_0x14c49f})),_0xebe590==_0x1457f7&&(_0x14c49f=null,_0x1457f7=null);}}const _0xf79084={},_0x38ffe5=new Set();for(const _0x232121 of _0x193f45){const _0x30eb83=_0xee90fd['deletions'][_0x232121],_0x4c0aa4=_0xee90fd['insertions'][_0x232121];for(const {userId:_0x1c0de0}of this['_touchedMarkers']['values']())null!==_0x1c0de0&&_0x38ffe5['add'](_0x1c0de0);for(const {userId:_0x3bfbb9}of this['_touchedRoots']['values']())null!==_0x3bfbb9&&_0x38ffe5['add'](_0x3bfbb9);this['_markChanges'](_0x4c0aa4,_0x146123['insertions'][_0x232121],_0x5b45f3,'insertion',_0x38ffe5),this['_markChanges'](_0x30eb83,_0x146123['deletions'][_0x232121],_0x2a2878,'deletion',_0x38ffe5),_0xf79084[_0x232121]={'insertions':this['_prepareViewToSave'](_0x4c0aa4),'deletions':this['_prepareViewToSave'](_0x30eb83),'attachChange':this['_touchedRoots']['get'](_0x232121)||null,'attributesBefore':_0x4cbbfa(this['_baseRootsAttributes']['get'](_0x232121))||{},'attributesAfter':_0x4cbbfa(this['_diffRootsAttributes']['get'](_0x232121))};}return{'diffData':_0xf79084,'authorsIds':Array['from'](_0x38ffe5)};}['_processRootBeforeSave'](_0x57b4c6){for(const [,_0x39cfbd]of _0x57b4c6['markers']){const _0x4ac58=_0x39cfbd['start']['getAncestors']()['filter'](_0xc6a4b1=>'tableCell'==_0xc6a4b1['name']);for(const _0x16848f of _0x4ac58)0x1==_0x16848f['childCount']&&_0x16848f['getChild'](0x0)['is']('element','paragraph')&&_0x16848f['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x8d1180){this['_processRootBeforeSave'](_0x8d1180);const _0x5e2853=this['editor']['data']['toView'](_0x8d1180,{}),_0x9f23a5=Array['from'](_0x5e2853['getChildren']())['map'](_0x3c5ae3=>this['_getViewJson'](_0x3c5ae3));return JSON['stringify'](_0x9f23a5);}['_getViewJson'](_0x51c1aa){if(_0x51c1aa['is']('$text'))return _0x51c1aa['data'];{const _0x26dd20=_0x51c1aa;return{'type':Object['keys'](T)['find'](_0x4e0fdc=>_0x51c1aa instanceof T[_0x4e0fdc]),'name':_0x26dd20['name'],'attributes':Array['from'](_0x26dd20['getAttributes']()),'children':Array['from'](_0x26dd20['getChildren']())['map'](_0x16554d=>this['_getViewJson'](_0x16554d))};}}['_markChanges'](_0x3a610b,_0x6d381e,_0x1f5bb3,_0x392dd7,_0x34d9ac){let _0x571874=null,_0x5dca73=null,_0xbafab8=0x0;const _0xd5fd9e=this['editor']['model'];for(let _0x34ddd2=0x0;_0x34ddd2<_0x6d381e['length'];_0x34ddd2++){const _0x39d306=this['_getVidAttributeName'](_0x6d381e[_0x34ddd2]),_0x2d223c=_0x6d381e[_0x34ddd2]['item']['getAttribute'](_0x39d306),_0xc68dc1=_0x1f5bb3['get'](_0x2d223c),_0x3c7673=_0x34ddd2==_0x6d381e['length']-0x1;(!_0x571874&&_0xc68dc1&&(_0x571874=_0xc68dc1,_0x5dca73=_0x6d381e[_0x34ddd2]),_0x571874&&(!_0xc68dc1||_0xc68dc1['userId']!=_0x571874['userId']))&&(_0x1e6dc1(_0xc68dc1,L(_0x5dca73,_0x3a610b,_0xd5fd9e),L(_0x6d381e[_0x34ddd2],_0x3a610b,_0xd5fd9e)),_0x571874=_0xc68dc1||null,_0x5dca73=_0xc68dc1?_0x6d381e[_0x34ddd2]:null),_0x571874&&_0x3c7673&&_0x1e6dc1(_0xc68dc1,L(_0x5dca73,_0x3a610b,_0xd5fd9e),W(_0x6d381e[_0x34ddd2],_0x3a610b,_0xd5fd9e));}function _0x1e6dc1(_0x665185,_0x1308af,_0x3e1f7c){const _0x22ff3b=_0x571874['userId'],_0x4b45b4='revision:'+_0x392dd7+':'+_0x22ff3b+':'+_0xbafab8++,_0x15f497=_0xd5fd9e['createRange'](_0x1308af,_0x3e1f7c);_0x3a610b['markers']['set'](_0x4b45b4,_0x15f497),null!==_0x22ff3b&&_0x34d9ac['add'](_0x22ff3b);}}['_getVidAttributeName'](_0x555dfa){switch(_0x555dfa['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x364fcf,_0x51e753){_0x364fcf['baseVersion']=null;for(const _0x12a5c6 in _0x364fcf){const _0x4ac04d=_0x364fcf[_0x12a5c6];if(_0x4ac04d instanceof gt){const _0x4ad5e1=_0x51e753['get'](_0x4ac04d['root']['rootName']);_0x364fcf[_0x12a5c6]=this['_fixPosition'](_0x4ac04d,_0x4ad5e1);}if(_0x4ac04d instanceof vt){const _0x4e5067=_0x51e753['get'](_0x4ac04d['root']['rootName']);_0x364fcf[_0x12a5c6]=this['_fixRange'](_0x4ac04d,_0x4e5067);}'root'===_0x12a5c6&&(_0x364fcf['root']=_0x51e753['get'](_0x364fcf['root']['rootName']));}}['_fixRange'](_0x59f2fe,_0x3f9ca4){return this['editor']['model']['createRange'](this['_fixPosition'](_0x59f2fe['start'],_0x3f9ca4),this['_fixPosition'](_0x59f2fe['end'],_0x3f9ca4));}['_fixPosition'](_0x1fa664,_0x44c5e5){return this['editor']['model']['createPositionFromPath'](_0x44c5e5,_0x1fa664['path'],_0x1fa664['stickiness']);}['_handleInsertOperation'](_0x551069){const _0x43cb7d=this['_idsRoots']['get'](_0x551069['position']['root']['rootName']),_0x484c54=this['_fixPosition'](_0x551069['position'],_0x43cb7d),_0x4a2de7=null===_0x551069['_authorId']?null:_0x551069['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x24aef9=_0x484c54['parent'],_0x5c26b6=this['_revisionId'],_0x27dd7c=[];for(const _0x84baab of _0x551069['nodes'])if(_0x84baab['is']('element'))_0x27dd7c['push'](this['_makeIdsRoot'](_0x84baab));else{for(let _0x197759=0x0;_0x197759<_0x84baab['offsetSize'];_0x197759++)_0x27dd7c['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x3ea462=this['_revisionId'];for(let _0x3ce8d8=_0x5c26b6;_0x3ce8d8<_0x3ea462;_0x3ce8d8++)this['_touched']['set'](_0x3ce8d8,{'userId':_0x4a2de7});_0x24aef9['_insertChild'](_0x484c54['offset'],_0x27dd7c);}['_handleMoveOperation'](_0x29fffa){(_0x29fffa=this['_cloneOperation'](_0x29fffa,this['_idsRoots']))['_execute']();const _0x222150=null===_0x29fffa['_authorId']?null:_0x29fffa['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x39c21d=_0x29fffa['getMovedRangeStart'](),_0x73588b=_0x39c21d['parent'],_0x57adce=_0x39c21d['offset'];!function _0x23abb8(_0x1147fb,_0x2cbc97,_0x4c873a,_0x29eb86){for(let _0x22e686=_0x4c873a;_0x22e686<_0x29eb86;_0x22e686++){const _0x1b327c=_0x2cbc97['getChild'](_0x22e686);_0x1b327c['is']('element','$text')?_0x1147fb['set'](_0x1b327c['getAttribute']('vid'),{'userId':_0x222150}):(_0x1147fb['set'](_0x1b327c['getAttribute']('vid_start'),{'userId':_0x222150}),_0x23abb8(_0x1147fb,_0x1b327c,0x0,_0x1b327c['childCount']),_0x1147fb['set'](_0x1b327c['getAttribute']('vid_end'),{'userId':_0x222150}));}}(this['_touched'],_0x73588b,_0x57adce,_0x57adce+_0x29fffa['howMany']);}['_handleMergeOperation'](_0x333a91){const _0x3950be=null===(_0x333a91=this['_cloneOperation'](_0x333a91,this['_idsRoots']))['_authorId']?null:_0x333a91['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x52b75f=_0x333a91['targetPosition']['parent'],_0x226588=_0x333a91['sourcePosition']['parent'],_0x1d58e3=_0x52b75f['getAttribute']('vid_end'),_0x2aedf9=_0x226588['getAttribute']('vid_start');_0x52b75f['_setAttribute']('vid_end',_0x226588['getAttribute']('vid_end')),_0x226588['_setAttribute']('vid_end',_0x1d58e3),this['_touched']['set'](_0x2aedf9,{'userId':_0x3950be}),this['_touched']['set'](_0x1d58e3,{'userId':_0x3950be}),_0x333a91['_execute']();}['_handleSplitOperation'](_0xf056fe){const _0x1d80f2=null===(_0xf056fe=this['_cloneOperation'](_0xf056fe,this['_idsRoots']))['_authorId']?null:_0xf056fe['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x358c25=_0xf056fe['graveyardPosition'],_0x3aafae=_0xf056fe['splitPosition']['parent'];_0xf056fe['_execute']();const _0x3c541a=_0x3aafae['getAttribute']('vid_end'),_0x3c5762=_0xf056fe['insertionPosition']['nodeAfter'];if(_0x358c25){const _0x1951ad=_0x3c5762['getAttribute']('vid_end'),_0x2679fb=_0x3aafae['getAttribute']('vid_end');_0x3aafae['_setAttribute']('vid_end',_0x1951ad),_0x3c5762['_setAttribute']('vid_end',_0x2679fb),this['_touched']['set'](_0x3aafae['getAttribute']('vid_end'),{'userId':_0x1d80f2}),this['_touched']['set'](_0x3c5762['getAttribute']('vid_start'),{'userId':_0x1d80f2});}else{const _0x17e316=this['_revisionId']++,_0x491ffd=this['_revisionId']++;_0x3aafae['_setAttribute']('vid_end',_0x17e316),_0x3c5762['_setAttribute']('vid_start',_0x491ffd),_0x3c5762['_setAttribute']('vid_end',_0x3c541a),this['_touched']['set'](_0x17e316,{'userId':_0x1d80f2}),this['_touched']['set'](_0x491ffd,{'userId':_0x1d80f2});}}['_handleMarkerOperation'](_0x182261){if(!_0x182261['affectsData'])return;const _0x3d5b15=(_0x182261=this['_cloneOperation'](_0x182261,this['_diffRoots']))['oldRange']?_0x182261['oldRange']['root']:null,_0x28c89c=_0x182261['newRange']?_0x182261['newRange']['root']:null;_0x3d5b15&&this['_markers']['delete'](_0x182261['name']),_0x28c89c&&this['_markers']['set'](_0x182261['name'],_0x182261['newRange']['clone']());const _0x1e3fbd=null===_0x182261['_authorId']?null:_0x182261['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x26912b=_0x182261['name'];if(!this['_touchedMarkers']['has'](_0x26912b))return void this['_touchedMarkers']['set'](_0x26912b,{'range':_0x182261['oldRange'],'userId':_0x1e3fbd});const _0x3bbc8a=this['_touchedMarkers']['get'](_0x26912b),_0x28353d=_0x3bbc8a['range'],_0x3f8f06=_0x182261['newRange'];null==_0x28353d&&null==_0x3f8f06||_0x28353d&&_0x3f8f06&&_0x28353d['isEqual'](_0x3f8f06)?this['_touchedMarkers']['delete'](_0x182261['name']):_0x3bbc8a['userId']=_0x1e3fbd;}['_handleRootOperation'](_0x18c5cb,_0x47ef46){this['_diffRoots']['has'](_0x18c5cb['rootName'])?this['_diffRoots']['get'](_0x18c5cb['rootName'])['_isAttached']=_0x18c5cb['isAdd']:(this['_diffRoots']['set'](_0x18c5cb['rootName'],G(_0x18c5cb['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x18c5cb['rootName'],{}),_0x47ef46&&this['_idsRoots']['set'](_0x18c5cb['rootName'],G(_0x18c5cb['rootName'],!0x0)));const _0x247af5=null===_0x18c5cb['_authorId']?null:_0x18c5cb['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x366e38=this['_touchedRoots']['get'](_0x18c5cb['rootName']);_0x366e38&&_0x366e38['userId']===_0x247af5?this['_touchedRoots']['delete'](_0x18c5cb['rootName']):this['_touchedRoots']['set'](_0x18c5cb['rootName'],{'userId':_0x247af5,'isAttached':_0x18c5cb['isAdd']});}['_handleRootAttributeOperation'](_0x25f9c3){const _0x2a043a=this['_diffRootsAttributes']['get'](_0x25f9c3['root']['rootName']);null===_0x25f9c3['newValue']?delete _0x2a043a[_0x25f9c3['key']]:_0x2a043a[_0x25f9c3['key']]=_0x25f9c3['newValue'];}}function q(_0x434c70){const _0xd7b33=G(_0x434c70['rootName'],_0x434c70['isAttached']());for(const _0x46df9d of _0x434c70['getChildren']()){const _0x11f8dd=_0x46df9d['_clone'](!0x0);_0xd7b33['_appendChild'](_0x11f8dd);}return _0xd7b33;}function G(_0x456558,_0x44eea2=!0x0){const _0x530676=new wt();return _0x530676['rootName']=_0x456558,_0x530676['_isAttached']=_0x44eea2,_0x530676['isAttached']=()=>_0x530676['_isAttached'],_0x530676;}function L(_0x32d88d,_0x1705e8,_0x53d8e6){const _0x5e5000='elementEnd'==_0x32d88d['type']?_0x53d8e6['createPositionAt'](_0x32d88d['item'],'end'):_0x53d8e6['createPositionBefore'](_0x32d88d['item']);return _0x53d8e6['createPositionFromPath'](_0x1705e8,_0x5e5000['path'],_0x5e5000['stickiness']);}function W(_0x526d71,_0x2d33df,_0x386737){const _0x39b4b0='elementStart'==_0x526d71['type']?_0x386737['createPositionAt'](_0x526d71['item'],0x0):_0x386737['createPositionAfter'](_0x526d71['item']);return _0x386737['createPositionFromPath'](_0x2d33df,_0x39b4b0['path'],_0x39b4b0['stickiness']);}class ns extends _0x4da36d{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x1b1229,_0x2efe9d){super(_0x1b1229),this['focusTracker']=new _0x1ff205(),this['keystrokes']=new _0x4ea145(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x2efe9d),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'](),_0x24952c({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x1ed652=_0xd5698c=>_0xd5698c['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1ed652),this['keystrokes']['set']('arrowleft',_0x1ed652),this['keystrokes']['set']('arrowup',_0x1ed652),this['keystrokes']['set']('arrowdown',_0x1ed652);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x22adc5){this['revisionNameInputView']['fieldView']['element']['value']=_0x22adc5['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x53af8f){const _0x41e453=new at(this['locale'],_0x1758b7),_0x192dd0=_0x41e453['fieldView'];_0x192dd0['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x8f57d2=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x53af8f&&(_0x8f57d2+='\x20('+y(this['locale'],'optional')+')'),(_0x41e453['label']=_0x8f57d2,_0x192dd0['on']('input',()=>{this['revisionNameInputValue']=_0x192dd0['element']['value']['trim']();}),_0x41e453);}}class u extends _0x47193e{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x1c68ca=this['editor'],_0x234a60=_0x1c68ca['plugins']['get']('RevisionTracker');_0x1c68ca['ui']['componentFactory']['add']('revisionHistory',_0x1cb321=>{const _0x28cdc3=_0x49c129(_0x1cb321),_0x1bb6de=_0x28cdc3['panelView']['children'],_0x599259=new te(_0x1cb321),_0x3866b6=new _0x718882(_0x1cb321),_0x358be3=new _0x33cdf3(_0x1cb321),_0x5139ec=new _0x718882(_0x1cb321),_0x110e5d=new _0x33cdf3(_0x1cb321);return _0x28cdc3['bind']('isEnabled')['to'](_0x234a60,'isReady',_0x234a60,'isEnabled',_0x1c68ca,'isReadOnly',(_0x1edbcc,_0xd1f5d8,_0x195953)=>_0x1edbcc&&_0xd1f5d8&&!_0x195953),_0x28cdc3['buttonView']['set']({'icon':_0x3918d9['history'],'label':y(_0x1cb321,'Revision\x20history'),'tooltip':!0x0}),_0x358be3['set']({'label':y(_0x1cb321,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x358be3['bind']('isEnabled')['to'](_0x234a60,'isReady',_0x234a60,'isEnabled',_0x1c68ca,'isReadOnly',(_0x94725e,_0x2d6796,_0x426022)=>_0x94725e&&_0x2d6796&&!_0x426022),_0x358be3['on']('execute',()=>this['_showDialog']()),_0x110e5d['set']({'label':y(_0x1cb321,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x110e5d['bind']('isEnabled')['to'](_0x234a60,'isReady',_0x1c68ca,'isReadOnly',(_0x13a659,_0x48d0df)=>_0x13a659&&!_0x48d0df),_0x110e5d['on']('execute',()=>{_0x1c68ca['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x28cdc3['isOpen']=!0x1,_0x1c68ca['editing']['view']['focus']();}),_0x3866b6['children']['add'](_0x358be3),_0x5139ec['children']['add'](_0x110e5d),_0x599259['role']='menu',_0x599259['items']['addMany']([_0x3866b6,_0x5139ec]),_0x1bb6de['add'](_0x599259),_0x28cdc3;}),_0x1c68ca['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x2187a7=this['editor'],_0x325d8d=_0x2187a7['locale'],_0x6291f7=new _0x2e5a95(_0x325d8d),_0x6bd83c=new _0x1183b3(_0x325d8d);_0x6291f7['buttonView']['set']({'icon':_0x3918d9['history'],'label':y(_0x325d8d,'Revision\x20history')});const _0x31cea6=new _0x34fe41(_0x325d8d,_0x6291f7),_0x5933f8=new _0x456393(_0x325d8d);_0x5933f8['set']({'label':y(_0x325d8d,'Save\x20current\x20revision')}),_0x5933f8['delegate']('execute')['to'](_0x6291f7),_0x5933f8['on']('execute',()=>{this['_showDialog']();}),_0x31cea6['children']['add'](_0x5933f8),_0x6bd83c['items']['add'](_0x31cea6);const _0x1c43d1=new _0x34fe41(_0x325d8d,_0x6291f7),_0x250b8d=new _0x456393(_0x325d8d);return _0x250b8d['set']({'label':y(_0x325d8d,'Open\x20revision\x20history')}),_0x250b8d['delegate']('execute')['to'](_0x6291f7),_0x250b8d['on']('execute',()=>{_0x2187a7['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x1c43d1['children']['add'](_0x250b8d),_0x6bd83c['items']['add'](_0x1c43d1),_0x6291f7['panelView']['children']['add'](_0x6bd83c),_0x6291f7;}['_showDialog'](){const _0x76e001=this['editor'],_0x3b42d5=_0x76e001['locale'],_0x365831=_0x76e001['plugins']['get']('Dialog'),_0x27534a=_0x76e001['plugins']['get']('RevisionTracker');function _0x436801(_0x4b6ddc){_0x76e001['config']['get']('revisionHistory.requireRevisionName')&&''===_0x4b6ddc['revisionName']?_0x4b6ddc['revisionNameInputView']['errorText']=y(_0x3b42d5,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x76e001['plugins']['get'](l)['saveRevision']({'name':_0x4b6ddc['revisionName']}),_0x365831['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x436801(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x365831['show']({'id':'revisionSave','title':y(_0x3b42d5,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x76e001['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x365831['hide']()},{'label':y(_0x76e001['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x38a4bc){_0x38a4bc['bind']('isEnabled')['to'](_0x27534a,'isReady',_0x27534a,'isEnabled',_0x76e001,'isReadOnly',(_0x57e8d9,_0x421d6d,_0x37116c)=>_0x57e8d9&&_0x421d6d&&!_0x37116c);},'onExecute':()=>_0x436801(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x7ed98c=this['editor'],_0x22ede=_0x7ed98c['locale'];this['_saveRevisionFormView']=new ns(_0x22ede,_0x7ed98c['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x4da36d{['changeId'];['_model'];constructor(_0x196321,_0x1bef6f){super(_0x196321),this['_model']=_0x1bef6f,this['changeId']=_0x1bef6f['id'];const _0x1b6873=this['bindTemplate'],_0x2633fe=y(_0x196321,_0x1bef6f['data']['isSuggestion']?'Suggested\x20by':'add'==_0x1bef6f['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x1bef6f['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x1b6873['to']('type',_0x267e91=>'ck-revision-change__'+_0x267e91)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x2633fe}]},{'text':'\x20'+_0x1bef6f['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x233d5d(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x5c0715){super(),this['id']=_0x5c0715['id']||_0x50a52d(),this['author']=_0x5c0715['author'],this['type']=_0x5c0715['type'],this['data']=_0x5c0715['data']||{},this['rootName']=_0x5c0715['rootName'],this['set']('createdAt',_0x5c0715['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(_0x726ad,_0x13b9d3){this['newRevisionId']=_0x726ad,this['oldRevisionId']=_0x13b9d3,this['changes']=new _0x2b2b84();}['_setChanges'](_0x3b3b24){for(const _0x10916a of _0x3b3b24)this['changes']['add'](_0x10916a);}}const tt={'c':_0x319721,'a':_0x378a42,'e':_0x4772f7,'r':_0x69908f,'u':_0x2059d8};class d extends _0x47193e{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0xaeb61,_0x3439a9,A];}constructor(_0x58130e){super(_0x58130e),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',(_0x362682,_0xa0f72f,_0x189415)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x202638=>{for(const _0x5bb8c4 of this['editor']['editing']['view']['document']['roots'])_0x189415?_0x202638['removeClass']('ck-editor__editable__overlay',_0x5bb8c4):_0x202638['addClass']('ck-editor__editable__overlay',_0x5bb8c4);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x3ba872=>null!==_0x3ba872),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0xcbca41,_0x3e9c03,_0x29ee34)=>_0xcbca41&&_0x29ee34?_0x3e9c03['changes']['getIndex'](_0x29ee34):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x306a34,_0xcc0be8)=>_0x306a34?_0xcc0be8['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x3439a9);}['init'](){const _0x1295d1=this['editor'],_0x1a69f4=new yt(_0x1295d1,{'direction':'backward'}),_0x550aff=new yt(_0x1295d1,{'direction':'forward'});(_0x1295d1['commands']['add']('showPreviousChange',_0x1a69f4),_0x1295d1['commands']['add']('showNextChange',_0x550aff),_0x1295d1['commands']['add']('restoreRevision',new bt(_0x1295d1)),this['on']('change:numberOfChanges',()=>{_0x1a69f4['refresh'](),_0x550aff['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x1295d1['enableReadOnlyMode']('revision-viewer'),_0x1295d1['plugins']['has']('WidgetToolbarRepository'))&&_0x1295d1['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x1989ff){await this['loadRevisionData'](_0x1989ff);const _0x12ac3f={};for(const _0x36ee3d in _0x1989ff['diffData']){if(_0x1989ff['diffData'][_0x36ee3d]['attachChange']&&!_0x1989ff['diffData'][_0x36ee3d]['attachChange']['isAttached'])continue;const _0x22523e=this['_removeRevisionMarkers'](JSON['parse'](_0x1989ff['diffData'][_0x36ee3d]['insertions'])),_0x112baf=this['editor']['editing']['view']['document'],_0x56527b=new _0x4f3b65(_0x112baf,_0x22523e['map'](_0x5b6983=>this['_getViewObj'](_0x5b6983)));this['editor']['data']['processor']['useFillerType']('marked'),_0x12ac3f[_0x36ee3d]=this['editor']['data']['processor']['toData'](_0x56527b),this['editor']['data']['processor']['useFillerType']('default');}return _0x12ac3f;}async['getRevisionRootsAttributes'](_0x52ac19){await this['loadRevisionData'](_0x52ac19);const _0x14e48e={};for(const _0x35be73 in _0x52ac19['diffData'])_0x52ac19['diffData'][_0x35be73]['attachChange']&&!_0x52ac19['diffData'][_0x35be73]['attachChange']['isAttached']||(_0x14e48e[_0x35be73]=_0x52ac19['diffData'][_0x35be73]['attributesAfter']||{});return _0x14e48e;}['_removeRevisionMarkers'](_0x52ff1d){return(_0x52ff1d=_0x52ff1d['filter'](_0x1ff9f1=>!_0x1ff9f1['name']||'revision-start'!==_0x1ff9f1['name']&&'revision-end'!==_0x1ff9f1['name']))['forEach'](_0x3309a9=>{'string'!=typeof _0x3309a9&&(_0x3309a9['children']=this['_removeRevisionMarkers'](_0x3309a9['children']),_0x3309a9['attributes']=_0x3309a9['attributes']['filter'](_0x80b9c3=>!_0x80b9c3[0x0]['startsWith']('data-revision-')));}),_0x52ff1d;}async['compare'](_0x61d595,_0x2d0bc3,_0x24edd8=!0x1){if(!this['isEnabled'])return;const _0x1c0bf6=this['diff'],_0xe127be=this['repository'],_0x37052b='string'==typeof _0x61d595?_0xe127be['getRevision'](_0x61d595):_0x61d595,_0x2f70b9='string'==typeof _0x2d0bc3?_0xe127be['getRevision'](_0x2d0bc3):_0x2d0bc3,_0x495664=_0x37052b['id'],_0x111c64=_0x2f70b9?_0x2f70b9['id']:null;if(!_0x24edd8&&this['diff']&&this['diff']['newRevisionId']===_0x495664&&this['diff']['oldRevisionId']===_0x111c64)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x495664,_0x111c64);const _0x6b9d7a=this['_getRevisionsRange'](_0x37052b,_0x2f70b9,!0x0)['map'](_0x524eae=>this['loadRevisionData'](_0x524eae));return _0x6b9d7a['push'](new Promise(_0x4ec7f4=>{setTimeout(_0x4ec7f4,0x14);})),Promise['all'](_0x6b9d7a)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x5b5257=this['_getDiff'](_0x495664,_0x111c64);for(const _0x214fb7 of _0x5b5257['changes'])this['_changeIdToChange']['set'](_0x214fb7['id'],_0x214fb7);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x4ce57d=>{for(const _0x218fd1 of this['editor']['model']['document']['getRootNames']())_0x4ce57d['detachRoot'](_0x218fd1);for(const _0xa59b71 of Object['keys'](_0x5b5257['model'])){const _0xb08019=_0x4ce57d['addRoot'](_0xa59b71);for(const _0xc91fd2 of Object['keys'](_0x5b5257['attributes'][_0xa59b71]))_0x4ce57d['setAttribute'](_0xc91fd2,_0x5b5257['attributes'][_0xa59b71][_0xc91fd2],_0xb08019);_0x4ce57d['insert'](_0x5b5257['model'][_0xa59b71],_0xb08019,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x5b5257['changes'])),this['isReady']=!0x0;})['catch'](_0x2e29e4=>{console['error'](_0x2e29e4),this['_cleanUp'](),_0x1c0bf6&&(this['diff']=_0x1c0bf6),this['isReady']=!0x0;});}['addRevisionData'](_0x2278d3,_0x344ef5){const _0x2615f5=this['repository']['createRevision'](_0x2278d3);return _0x2615f5['on']('_update',(_0x7820e9,_0xbc7f0d,_0x2184c3)=>_0x344ef5(_0xbc7f0d,_0x2184c3,_0x2615f5)),this['repository']['addRevision'](_0x2615f5),_0x2615f5;}['loadRevisionData'](_0x4802c8){if(!_0x4802c8||_0x4802c8['diffData'])return Promise['resolve']();{const _0x4f15ee=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x4f15ee,'revisionId':_0x4802c8['id']})['then'](_0x1a450b=>{_0x4802c8['_update']({'diffData':_0x1a450b['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},_0x55026a=>{for(const _0x2dad37 of this['editor']['model']['document']['getRootNames']())_0x55026a['detachRoot'](_0x2dad37);});}['_sortAndFilterDiffChanges'](_0x12fd01){const _0x82af70=[],_0x3f4be6=new Map();for(const _0x2c0c6f of this['editor']['model']['document']['getRootNames']()){const _0x367fc7=this['editor']['editing']['view']['getDomRoot'](_0x2c0c6f);if(!_0x367fc7)continue;const _0x44026a=_0x367fc7['getClientRects']()['item'](0x0);_0x44026a&&(_0x82af70['push'](_0x2c0c6f),_0x3f4be6['set'](_0x2c0c6f,_0x44026a));}return _0x82af70['sort']((_0x4a5ffc,_0x4a5092)=>{const _0x58890d=_0x3f4be6['get'](_0x4a5ffc),_0x9bcff9=_0x3f4be6['get'](_0x4a5092);return _0x58890d['y']-_0x9bcff9['y']||_0x58890d['x']-_0x9bcff9['x'];}),(_0x12fd01=_0x12fd01['filter'](_0x3b0ef0=>_0x82af70['includes'](_0x3b0ef0['rootName'])))['sort']((_0x41c819,_0x1d8a8b)=>_0x82af70['indexOf'](_0x41c819['rootName'])-_0x82af70['indexOf'](_0x1d8a8b['rootName'])),_0x12fd01;}['_makeTape'](_0x20dd7c){const _0x4b9c09=Array['from'](_0x20dd7c['markers'])['filter'](([_0x1a0846,_0x306784])=>_0x1a0846['startsWith']('revision:')&&!_0x306784['isCollapsed']),_0x571e49=Array['from'](this['editor']['model']['createRangeIn'](_0x20dd7c)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x4b9c09['length'])for(const _0x38821c of _0x571e49){const [_0x1e156a,_0x2ff7ad]=_0x4b9c09[0x0],[,_0x46b87d,_0x156c1b]=_0x1e156a['split'](':');if(_0x2ff7ad['end']['isEqual'](_0x38821c['nextPosition'])&&_0x4b9c09['shift'](),(_0x38821c['previousPosition']['isEqual'](_0x2ff7ad['start'])||_0x38821c['previousPosition']['isAfter'](_0x2ff7ad['start']))&&('insertion'==_0x46b87d?_0x38821c['isAdded']={'userId':_0x156c1b}:'deletion'==_0x46b87d&&(_0x38821c['isRemoved']={'userId':_0x156c1b})),0x0==_0x4b9c09['length'])break;}return _0x571e49;}['_refreshStartEndIndex'](_0xade6c6){const _0x4513bb=new Map();for(let _0x5b8ef0=0x0;_0x5b8ef0<_0xade6c6['length'];_0x5b8ef0++)'text'===_0xade6c6[_0x5b8ef0]['type']?(_0xade6c6[_0x5b8ef0]['item']['startIndex']=_0x5b8ef0,_0xade6c6[_0x5b8ef0]['item']['endIndex']=_0x5b8ef0):('elementStart'===_0xade6c6[_0x5b8ef0]['type']?_0xade6c6[_0x5b8ef0]['item']['startIndex']=_0x5b8ef0:'elementEnd'===_0xade6c6[_0x5b8ef0]['type']&&(_0xade6c6[_0x5b8ef0]['item']['endIndex']=_0x5b8ef0),_0x4513bb['set'](_0xade6c6[_0x5b8ef0]['id'],_0x5b8ef0));for(const _0x4958bc of _0x4513bb['values']())'elementStart'===_0xade6c6[_0x4958bc]['type']?_0xade6c6[_0x4958bc]['item']['endIndex']=_0x4513bb['get'](_0xade6c6[_0x4958bc]['pairId']):'elementEnd'===_0xade6c6[_0x4958bc]['type']&&(_0xade6c6[_0x4958bc]['item']['startIndex']=_0x4513bb['get'](_0xade6c6[_0x4958bc]['pairId']));}['_processTape'](_0x21ed5c){for(let _0x3ff973=0x0;_0x3ff973<_0x21ed5c['length'];_0x3ff973++){if('elementStart'===_0x21ed5c[_0x3ff973]['type'])_0x21ed5c[_0x3ff973]['item']['startIndex']=_0x3ff973;else{if('elementEnd'===_0x21ed5c[_0x3ff973]['type']){_0x21ed5c[_0x3ff973]['item']['endIndex']=_0x3ff973;const _0x267fcb=_0x21ed5c[_0x3ff973]['item']['startIndex'];_0x21ed5c[_0x267fcb]['pairId']=_0x21ed5c[_0x3ff973]['id'],_0x21ed5c[_0x3ff973]['pairId']=_0x21ed5c[_0x267fcb]['id'];}else _0x21ed5c[_0x3ff973]['item']['startIndex']=_0x3ff973,_0x21ed5c[_0x3ff973]['item']['endIndex']=_0x3ff973,_0x21ed5c[_0x3ff973]['pairId']=null;}_0x21ed5c[_0x3ff973]['markersStart']||(_0x21ed5c[_0x3ff973]['markersStart']=[],_0x21ed5c[_0x3ff973]['markersEnd']=[]);}}['_markInsertions'](_0x596b93,_0x1ebcff){const _0x4f4395=_0x596b93['filter'](_0x2be949=>!_0x2be949['isAdded']);for(let _0x199141=0x0;_0x199141<_0x1ebcff['length'];_0x199141++)_0x1ebcff[_0x199141]['isAdded']&&(_0x4f4395[_0x199141]['isAdded']=_0x1ebcff[_0x199141]['isAdded']);}['_makeModelFromViewString'](_0x5491ef){const _0x1821bb=JSON['parse'](_0x5491ef),_0x59feb6=this['editor']['editing']['view']['document'],_0x148b10=new _0x4f3b65(_0x59feb6,_0x1821bb['map'](_0x56359f=>this['_getViewObj'](_0x56359f)));return this['editor']['data']['toModel'](_0x148b10);}['_getViewObj'](_0x57a1e5){const _0x376693=this['editor']['editing']['view']['document'];if('string'==typeof _0x57a1e5)return new _0xda638(_0x376693,_0x57a1e5);{const _0x3b6ed9=_0x57a1e5['children']['map'](_0x2930de=>this['_getViewObj'](_0x2930de));return new(tt[_0x57a1e5['type']]||_0x2a35af)(_0x376693,_0x57a1e5['name'],_0x57a1e5['attributes'],_0x3b6ed9);}}['_getDiff'](_0x5df360,_0x586a9d=null){const _0x2fd537=this['repository']['getRevision'](_0x5df360),_0x555c04=_0x586a9d?this['repository']['getRevision'](_0x586a9d):null,_0x198aa9=this['_getRevisionsRange'](_0x2fd537,_0x555c04),_0x523e7d=_0x198aa9[_0x198aa9['length']-0x1],_0x8339a=new Map(),_0x302ff8={'model':{},'attributes':{},'changes':[]},_0x2a3c94=new Set(),_0x44d89c=new Map();for(let _0x4d0f45=_0x198aa9['length']-0x1;_0x4d0f45>=0x0;_0x4d0f45--){const _0xb8abb0=_0x198aa9[_0x4d0f45];for(const _0x108c01 of Object['keys'](_0xb8abb0['diffData']))if(_0xb8abb0['diffData'][_0x108c01]['attachChange']){const _0xff7e16=_0xb8abb0['diffData'][_0x108c01]['attachChange'];_0xff7e16['isAttached']?(_0x2a3c94['add'](_0x108c01),_0x44d89c['has'](_0x108c01)&&_0x44d89c['get'](_0x108c01)['userId']==_0xff7e16['userId']?_0x44d89c['delete'](_0x108c01):_0x44d89c['set'](_0x108c01,_0xff7e16)):_0x44d89c['has'](_0x108c01)?(_0x2a3c94['delete'](_0x108c01),_0x44d89c['delete'](_0x108c01)):(_0x2a3c94['add'](_0x108c01),_0x44d89c['set'](_0x108c01,_0xff7e16));}else _0x2a3c94['add'](_0x108c01);}for(const _0x31e682 of _0x2a3c94){const _0x54456d=_0x44d89c['has'](_0x31e682)&&!_0x44d89c['get'](_0x31e682)['isAttached'];let _0x207512=_0x54456d?_0x198aa9['length']-0x1:0x0;const _0x5439c7=_0x54456d?-0x1:0x1;for(;_0x198aa9[_0x207512];){const _0x5b382b=_0x198aa9[_0x207512];if(_0x5b382b['diffData'][_0x31e682]){const _0x39e6e4=_0x54456d?_0x5b382b['diffData'][_0x31e682]['attributesBefore']:_0x5b382b['diffData'][_0x31e682]['attributesAfter'];_0x302ff8['attributes'][_0x31e682]=_0x39e6e4?_0x4cbbfa(_0x39e6e4):{};break;}_0x207512+=_0x5439c7;}}for(const _0x4f7451 of _0x198aa9){_0x4f7451['model']={};for(const _0x16648a of _0x4f7451['authors'])_0x8339a['set'](_0x16648a['id'],_0x16648a);for(const _0x404054 of _0x2a3c94){const _0x20f7a7=_0x4f7451['diffData'][_0x404054]?_0x4f7451['diffData'][_0x404054]['insertions']:'[]',_0x167da=_0x4f7451['diffData'][_0x404054]?_0x4f7451['diffData'][_0x404054]['deletions']:'[]';_0x4f7451['model'][_0x404054]={'insertions':this['_makeModelFromViewString'](_0x20f7a7),'deletions':this['_makeModelFromViewString'](_0x167da)};}}for(const _0x5db8c5 of _0x2a3c94){let _0x400652=null,_0x5ccf7=0x0;const _0x1efbc7=new Map(Array['from'](_0x2fd537['model'][_0x5db8c5]['insertions']['markers'])['filter'](([_0x2e22bd])=>!_0x2e22bd['startsWith']('revision:')));let _0x2a8529=0x0;for(const _0x4f9be8 of _0x198aa9){const _0x190a7a=this['_makeTape'](_0x4f9be8['model'][_0x5db8c5]['insertions']);_0x4f9be8==_0x2fd537?(_0x400652=_0x190a7a,_0x5ccf7=_0x400652['length'],_0x400652['forEach'](_0x17f69e=>{_0x17f69e['id']=_0x2a8529++;}),this['_processTape'](_0x400652)):this['_markInsertions'](_0x400652,_0x190a7a);const _0x52b98d=_0x400652['filter'](_0x5512a9=>!_0x5512a9['isAdded'])['map'](_0x26602d=>_0x26602d['id']);let _0x4ddddd=0x0;const _0x5601b7=this['_makeTape'](_0x4f9be8['model'][_0x5db8c5]['deletions']);_0x5601b7['forEach'](_0x1a05fd=>{_0x1a05fd['isRemoved']?_0x1a05fd['id']=_0x5ccf7++:_0x1a05fd['id']=_0x52b98d[_0x4ddddd++];}),this['_processTape'](_0x5601b7),this['_setDistance'](_0x400652,'isAdded'),this['_setDistance'](_0x5601b7,'isRemoved'),_0x4f9be8==_0x2fd537&&this['_markMarkers'](_0x400652,_0x1efbc7),_0x400652=this['_joinTapes'](_0x400652,_0x5601b7),this['_refreshStartEndIndex'](_0x400652),this['_setDistance'](_0x400652,'isRemoved');}_0x400652=_0x400652['filter'](_0xf66221=>!(_0xf66221['isAdded']&&_0xf66221['isRemoved']));const _0x509213=new Map(_0x523e7d['model'][_0x5db8c5]['deletions']['markers']),_0x4ff786=new Set(_0x1efbc7['keys']());for(const _0x399b6f of _0x509213['keys']())_0x4ff786['delete'](_0x399b6f);this['_markSuggestions'](_0x400652,_0x4ff786),this['_fixObsoleteTags'](_0x400652),_0x400652=this['_removeMissingPairs'](_0x400652),_0x400652=this['_markMismatchedRemovedTags'](_0x400652),_0x400652=this['_removeUnsupportedChanges'](_0x400652);const {root:_0x4f2799,changes:_0x1b3b3f}=this['_makeModelFromTape'](_0x400652,_0x8339a,_0x5db8c5);_0x302ff8['model'][_0x5db8c5]=_0x4f2799;const _0x320f5b=_0x44d89c['get'](_0x5db8c5);if(_0x320f5b){const _0x42cf51=_0x8339a['get'](_0x320f5b['userId']),_0x36bfd2=new r({'author':_0x42cf51,'type':_0x320f5b['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x5db8c5});_0x1b3b3f['unshift'](_0x36bfd2),_0x302ff8['attributes'][_0x5db8c5]['revisionHistoryAttachChange']=_0x36bfd2['id'];}_0x302ff8['changes']=_0x302ff8['changes']['concat'](_0x1b3b3f);}return _0x302ff8;}['_markMarkers'](_0x2813ca,_0x348256){for(let _0x5d2e14=0x0;_0x5d2e14<_0x2813ca['length'];_0x5d2e14++)for(const [_0xac74d4,_0x16fd52]of _0x348256)_0x16fd52['start']['isEqual'](_0x2813ca[_0x5d2e14]['previousPosition'])&&_0x2813ca[_0x5d2e14]['markersStart']['push'](_0xac74d4),_0x16fd52['end']['isEqual'](_0x2813ca[_0x5d2e14]['nextPosition'])&&_0x2813ca[_0x5d2e14]['markersEnd']['push'](_0xac74d4);}['_joinTapes'](_0x3b78df,_0x5de778){let _0x59683b=[],_0x135100=0x0,_0x1d65e2=0x0;for(;_0x135100<_0x3b78df['length']||_0x1d65e2<_0x5de778['length'];){const _0x2b585f=_0x3b78df[_0x135100]||{},_0x3f7041=_0x5de778[_0x1d65e2]||{};if(_0x2b585f['id']==_0x3f7041['id'])_0x135100++,_0x1d65e2++,_0x59683b['push'](_0x2b585f);else{if(_0x3f7041['isRemoved']&&_0x2b585f['isAdded']){const {commonTape:_0x24a28c,iEnd:_0x2bc9d4,jEnd:_0x1ea280}=this['_threeWayMerge'](_0x3b78df,_0x135100,_0x5de778,_0x1d65e2);_0x59683b=_0x59683b['concat'](_0x24a28c),_0x135100=_0x2bc9d4,_0x1d65e2=_0x1ea280;}else _0x3f7041['isRemoved']?(_0x1d65e2++,_0x59683b['push'](_0x3f7041)):(_0x135100++,_0x59683b['push'](_0x2b585f));}}return _0x59683b;}['_markSuggestions'](_0x396956,_0x3aab06){const _0x13b02b=[];for(let _0x2cb777=0x0;_0x2cb777<_0x396956['length'];_0x2cb777++){for(let _0x468561=0x0;_0x468561<_0x396956[_0x2cb777]['markersStart']['length'];_0x468561++){const _0x2cfb52=_0x396956[_0x2cb777]['markersStart'][_0x468561];if(!_0x3aab06['has'](_0x2cfb52))continue;const {group:_0x37cdc5,type:_0x4e1316,authorId:_0x3bedd2}=_0xbf6b13(_0x2cfb52);'revision-suggestion'!=_0x37cdc5||'insertion'!=_0x4e1316&&'deletion'!=_0x4e1316||(_0x13b02b['unshift']({'type':_0x4e1316,'name':_0x2cfb52,'userId':_0x3bedd2}),_0x396956[_0x2cb777]['markersStart']['splice'](_0x468561,0x1),_0x468561--);}_0x3556f7(_0x396956[_0x2cb777]);for(let _0x44a468=0x0;_0x44a468<_0x396956[_0x2cb777]['markersEnd']['length'];_0x44a468++){const _0x50359b=_0x396956[_0x2cb777]['markersEnd'][_0x44a468];if(!_0x3aab06['has'](_0x50359b))continue;const {group:_0x4e9c03,type:_0x57ea15}=_0xbf6b13(_0x50359b);if('revision-suggestion'!=_0x4e9c03||'insertion'!=_0x57ea15&&'deletion'!=_0x57ea15)continue;_0x396956[_0x2cb777]['markersEnd']['splice'](_0x44a468,0x1),_0x44a468--;const _0x3dba5b=_0x13b02b['findIndex'](_0x30e060=>_0x30e060['name']==_0x50359b);_0x3dba5b>-0x1&&_0x13b02b['splice'](_0x3dba5b,0x1);}}function _0xbf6b13(_0x1e98f2){const _0x39d7b9=_0x1e98f2['split'](':');return{'group':_0x39d7b9[0x0],'type':_0x39d7b9[0x1],'subType':_0x39d7b9['length']>=0x5?_0x39d7b9[0x2]:null,'id':_0x39d7b9['length']<0x5?_0x39d7b9[0x2]:_0x39d7b9[0x3],'authorId':_0x39d7b9['length']<0x5?_0x39d7b9[0x3]:_0x39d7b9[0x4],'markerCount':0x6==_0x39d7b9['length']?_0x39d7b9[0x5]:null};}function _0x3556f7(_0x4018b6){for(let _0x2f31ef=0x0;_0x2f31ef<_0x13b02b['length'];_0x2f31ef++){if(_0x4018b6['isAdded']&&'insertion'==_0x13b02b[_0x2f31ef]['type'])return _0x4018b6['isAddSuggestion']=_0x13b02b[_0x2f31ef],void delete _0x4018b6['isAdded'];if(!_0x4018b6['isAdded']&&!_0x4018b6['isRemoved']&&'deletion'==_0x13b02b[_0x2f31ef]['type'])return void(_0x4018b6['isRemoveSuggestion']=_0x13b02b[_0x2f31ef]);}}}['_setDistance'](_0x16d06f,_0x54c783){let _0x17ae90=0x0,_0xfb30a8=!0x1;const _0x53fdf1=new Map();for(const _0x3b31e5 of _0x16d06f)_0x3b31e5[_0x54c783]?_0xfb30a8&&(_0x17ae90++,_0xfb30a8=!0x1):(_0x17ae90++,_0xfb30a8=!0x0),_0x53fdf1['set'](_0x3b31e5['id'],_0x17ae90);for(let _0x4dc974=0x0;_0x4dc974<_0x16d06f['length'];_0x4dc974++){if('isRemoved'==_0x54c783&&_0x16d06f[_0x4dc974]['isAdded']||'isAdded'==_0x54c783&&_0x16d06f[_0x4dc974]['isRemoved'])continue;if('text'==_0x16d06f[_0x4dc974]['type']){_0x16d06f[_0x4dc974]['distance']=0x0;continue;}const _0x287f73=_0x53fdf1['get'](_0x16d06f[_0x4dc974]['pairId']),_0xb8a442=_0x53fdf1['get'](_0x16d06f[_0x4dc974]['id']);_0x16d06f[_0x4dc974]['distance']=_0x287f73-_0xb8a442;}}['_getRevisionsRange'](_0x180242,_0x56f74c,_0x3a1dad=!0x1){const _0x1594ff=[];let _0x1d791a=this['repository']['getIndex'](_0x180242),_0x4c59c3=this['repository']['getIndex'](_0x56f74c);for(-0x1==_0x4c59c3&&(_0x4c59c3=this['repository']['_revisions']['length'],_0x3a1dad=!0x1);_0x1d791a<_0x4c59c3;)_0x1594ff['push'](this['repository']['getRevision'](_0x1d791a)),_0x1d791a++;return _0x3a1dad&&_0x1594ff['push'](this['repository']['getRevision'](_0x1d791a)),_0x1594ff;}['_threeWayMerge'](_0x4c4fcd,_0x24242b,_0x3a7c4b,_0x35a196){const _0x16a828=this['editor']['model']['schema'];let _0x57b2e2=_0x24242b;for(;_0x4c4fcd[_0x57b2e2]&&_0x4c4fcd[_0x57b2e2]['isAdded'];)_0x57b2e2++;let _0x1bcca3=_0x35a196;for(;_0x3a7c4b[_0x1bcca3]&&_0x3a7c4b[_0x1bcca3]['isRemoved'];)_0x1bcca3++;_0x3779e9(_0x4c4fcd,_0x24242b,_0x57b2e2),_0x3779e9(_0x3a7c4b,_0x35a196,_0x1bcca3);const _0x2d1a6f=_0x3a7c4b['slice'](_0x35a196,_0x1bcca3)['concat'](_0x4c4fcd['slice'](_0x24242b,_0x57b2e2));return _0x2d1a6f['sort']((_0x1fb0ce,_0x566e08)=>_0x1fb0ce['side']!=_0x566e08['side']?_0x1fb0ce['side']-_0x566e08['side']:_0x1fb0ce['level']!=_0x566e08['level']?_0x1fb0ce['level']-_0x566e08['level']:_0x1fb0ce['distance']!=_0x566e08['distance']?_0x566e08['distance']-_0x1fb0ce['distance']:!!_0x1fb0ce['isAdded']!=!!_0x566e08['isAdded']?-0x1==_0x1fb0ce['side']||0x0==_0x1fb0ce['side']?_0x1fb0ce['isAdded']?-0x1:0x1:_0x1fb0ce['isAdded']?0x1:-0x1:_0x1fb0ce['index']-_0x566e08['index']),{'commonTape':_0x2d1a6f,'iEnd':_0x57b2e2,'jEnd':_0x1bcca3};function _0x3779e9(_0x4daab9,_0x1f5b38,_0x4b2fd3){let _0x12ecb2=-0x1,_0x4d213f=Number['POSITIVE_INFINITY'],_0x195e38=!0x0;for(let _0xfa6b7a=_0x1f5b38;_0xfa6b7a<_0x4b2fd3;_0xfa6b7a++)if(_0x16a828['isInline'](_0x4daab9[_0xfa6b7a]['item'])||(_0x195e38=!0x1),_0x4daab9[_0xfa6b7a]['item']['startIndex']<_0x1f5b38&&(_0x12ecb2=_0xfa6b7a),_0x4daab9[_0xfa6b7a]['item']['endIndex']>=_0x4b2fd3){_0x4d213f=_0xfa6b7a;break;}_0x195e38&&(_0x12ecb2=_0x4b2fd3-0x1);for(let _0x29128b=_0x1f5b38;_0x29128b<_0x4b2fd3;_0x29128b++)_0x4daab9[_0x29128b]['side']=_0x29128b<=_0x12ecb2?-0x1:_0x29128b<_0x4d213f?0x0:0x1,_0x4daab9[_0x29128b]['index']=_0x29128b;let _0x5dc823=0x0;for(let _0x57efe5=_0x1f5b38;_0x57efe5<=_0x12ecb2;_0x57efe5++)0x0==_0x4daab9[_0x57efe5]['distance']?_0x4daab9[_0x57efe5]['level']=_0x5dc823:(_0x5dc823++,_0x4daab9[_0x57efe5]['level']=_0x5dc823,_0x5dc823++);for(let _0x1a67db=_0x1f5b38;_0x1a67db<_0x4b2fd3;_0x1a67db++)0x0==_0x4daab9[_0x1a67db]['side']&&(_0x4daab9[_0x1a67db]['level']=_0x5dc823);_0x5dc823=0x0;for(let _0x55e962=_0x4b2fd3-0x1;_0x55e962>=_0x4d213f;_0x55e962--)0x0==_0x4daab9[_0x55e962]['distance']?_0x4daab9[_0x55e962]['level']=_0x5dc823:(_0x5dc823--,_0x4daab9[_0x55e962]['level']=_0x5dc823,_0x5dc823--);}}['_fixObsoleteTags'](_0xb622b){const _0x3c2221=new Map(),_0x1e7079=this['editor']['model']['schema'];for(let _0x5a2908=0x1;_0x5a2908<_0xb622b['length'];_0x5a2908++){let _0x10ccce,_0x28a83a,_0x182cad;const _0x256aad=_0xb622b[_0x5a2908],_0x2832d2=_0xb622b[_0x5a2908-0x1];if('text'==_0x256aad['type'])continue;if(_0x256aad['type']!=_0x2832d2['type'])continue;if(!_0x1e7079['isBlock'](_0x2832d2['item'])||_0x1e7079['isLimit'](_0x2832d2['item']))continue;if(!_0x1e7079['isBlock'](_0x256aad['item'])||_0x1e7079['isLimit'](_0x256aad['item']))continue;if((_0xb622b[_0x5a2908]['isAdded']||_0xb622b[_0x5a2908]['isAddSuggestion'])&&_0xb622b[_0x5a2908-0x1]['isRemoved'])_0x10ccce=_0xb622b[_0x5a2908],_0x28a83a=_0xb622b[_0x5a2908-0x1],_0x182cad=_0x5a2908-0x1;else{if(!_0xb622b[_0x5a2908]['isRemoved']||!_0xb622b[_0x5a2908-0x1]['isAdded']&&!_0xb622b[_0x5a2908-0x1]['isAddSuggestion'])continue;_0x10ccce=_0xb622b[_0x5a2908-0x1],_0x28a83a=_0xb622b[_0x5a2908],_0x182cad=_0x5a2908;}const _0x13e00e=_0x10ccce['level']==_0x28a83a['level'],_0x1bca74=Math['abs'](_0x10ccce['level'])<Math['abs'](_0x28a83a['level'])&&0x0==_0x28a83a['distance'];(_0x13e00e||_0x1bca74)&&(_0x3c2221['set'](_0x28a83a['id'],_0x10ccce['id']),_0xb622b['splice'](_0x182cad,0x1),_0x5a2908--,_0x10ccce['isAdded']=!0x1);}for(let _0x515c1b=0x0;_0x515c1b<_0xb622b['length'];_0x515c1b++)_0x3c2221['has'](_0xb622b[_0x515c1b]['pairId'])&&(_0xb622b[_0x515c1b]['pairId']=_0x3c2221['get'](_0xb622b[_0x515c1b]['pairId']));}['_removeMissingPairs'](_0x56b4f6){const _0x348359=new Set(_0x56b4f6['map'](_0x3bad43=>_0x3bad43['id']));for(let _0x54e646=0x0;_0x54e646<_0x56b4f6['length'];_0x54e646++)_0x348359['has'](_0x56b4f6[_0x54e646]['pairId'])||0x0==_0x56b4f6[_0x54e646]['distance']||(_0x56b4f6[_0x54e646]['isIncorrect']=!0x0);return _0x56b4f6['filter'](_0x14ec92=>!_0x14ec92['isIncorrect']);}['_markMismatchedRemovedTags'](_0x4a7e23){const _0x711f9d=new Set();for(let _0x569cda=0x0;_0x569cda<_0x4a7e23['length'];_0x569cda++){if(_0x711f9d['has'](_0x4a7e23[_0x569cda]['id'])&&_0x4a7e23[_0x569cda]['isRemoved']&&(_0x4a7e23[_0x569cda]['isIncorrect']=!0x0),_0x4a7e23[_0x569cda]['isIncorrect'])continue;if(0x0==_0x4a7e23[_0x569cda]['distance'])continue;if('elementStart'!=_0x4a7e23[_0x569cda]['type'])continue;if(null==_0x4a7e23[_0x569cda]['pairId'])continue;let _0x100ae1=_0x569cda+0x1,_0x3fb590=0x0;for(;_0x4a7e23[_0x100ae1]['id']!=_0x4a7e23[_0x569cda]['pairId'];)'elementStart'==_0x4a7e23[_0x100ae1]['type']?_0x3fb590++:'elementEnd'==_0x4a7e23[_0x100ae1]['type']&&_0x3fb590--,_0x100ae1++;if(0x0!=_0x3fb590){if(_0x4a7e23[_0x569cda]['isRemoved'])_0x4a7e23[_0x569cda]['isIncorrect']=!0x0;else{for(;_0x100ae1!=_0x569cda;)_0x4a7e23[_0x100ae1]['isRemoved']&&0x0!=_0x4a7e23[_0x100ae1]['distance']&&(_0x4a7e23[_0x100ae1]['isIncorrect']=!0x0,_0x711f9d['add'](_0x4a7e23[_0x100ae1]['pairId'])),_0x100ae1--;}}}return _0x4a7e23['filter'](_0x466c58=>!_0x466c58['isIncorrect']);}['_removeUnsupportedChanges'](_0x3c27fa){const _0x32d80a=this['editor']['model']['schema'];for(let _0x2cd7e0=0x0;_0x2cd7e0<_0x3c27fa['length'];_0x2cd7e0++){if(!(_0x3c27fa[_0x2cd7e0]['isAdded']||_0x3c27fa[_0x2cd7e0]['isAddSuggestion']||_0x3c27fa[_0x2cd7e0]['isRemoved']||_0x3c27fa[_0x2cd7e0]['isRemoveSuggestion']))continue;if(0x0==_0x3c27fa[_0x2cd7e0]['distance'])continue;const _0x4623ad=_0x3c27fa[_0x2cd7e0]['item'];_0x32d80a['isBlock'](_0x4623ad)||_0x32d80a['isLimit'](_0x4623ad)||(_0x3c27fa[_0x2cd7e0]['isAdded']&&delete _0x3c27fa[_0x2cd7e0]['isAdded'],_0x3c27fa[_0x2cd7e0]['isAddSuggestion']&&delete _0x3c27fa[_0x2cd7e0]['isAddSuggestion'],_0x3c27fa[_0x2cd7e0]['isRemoveSuggestion']&&delete _0x3c27fa[_0x2cd7e0]['isRemoveSuggestion'],_0x3c27fa[_0x2cd7e0]['isRemoved']&&(_0x3c27fa[_0x2cd7e0]['isIncorrect']=!0x0));}return _0x3c27fa['filter'](_0x2c5616=>!_0x2c5616['isIncorrect']);}['_makeModelFromTape'](_0x3aa1d9,_0x3f6bbf,_0x5d0760){const _0x2f779d=new wt(),_0x4fd9d8=[],_0x36399f=new Map(),_0x51b600=this['editor']['model'],_0x1747dd=_0x51b600['schema'],_0x2096a9=[_0x2f779d],_0x3f68a1={},_0x180bb9={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x2ed8e1=null;const _0x5031b7=[0x0];for(let _0x480b84=0x0;_0x480b84<_0x3aa1d9['length'];_0x480b84++){let _0x34c4b6,_0x170de7;if('elementStart'===_0x3aa1d9[_0x480b84]['type']){_0x34c4b6=_0x51b600['createPositionFromPath'](_0x2f779d,_0x5031b7);const _0x58efbb=new ft(_0x3aa1d9[_0x480b84]['item']['name'],_0x3aa1d9[_0x480b84]['item']['getAttributes']());_0x2096a9[0x0]['_appendChild'](_0x58efbb),_0x5031b7['push'](0x0),_0x2096a9['unshift'](_0x58efbb),_0x170de7=_0x51b600['createPositionFromPath'](_0x2f779d,_0x5031b7),_0x2ed8e1=null;}else{if('elementEnd'===_0x3aa1d9[_0x480b84]['type'])_0x2096a9['shift'](),_0x34c4b6=_0x51b600['createPositionFromPath'](_0x2f779d,_0x5031b7),_0x5031b7['pop'](),_0x5031b7[_0x5031b7['length']-0x1]++,_0x170de7=_0x51b600['createPositionFromPath'](_0x2f779d,_0x5031b7),_0x2ed8e1=null;else{if(_0x34c4b6=_0x51b600['createPositionFromPath'](_0x2f779d,_0x5031b7),_0x2ed8e1&&_0x158de6(_0x2ed8e1,_0x3aa1d9[_0x480b84]['item']))_0x2ed8e1['_data']+=_0x3aa1d9[_0x480b84]['item']['data'];else{const _0x57154=new _t(_0x3aa1d9[_0x480b84]['item']['data'],_0x3aa1d9[_0x480b84]['item']['getAttributes']());_0x2096a9[0x0]['_appendChild'](_0x57154),_0x2ed8e1=_0x57154;}_0x5031b7[_0x5031b7['length']-0x1]+=_0x3aa1d9[_0x480b84]['item']['offsetSize'],_0x170de7=_0x51b600['createPositionFromPath'](_0x2f779d,_0x5031b7);}}for(const _0x529477 of _0x3aa1d9[_0x480b84]['markersStart'])_0x36399f['set'](_0x529477,{'start':_0x34c4b6,'end':null});_0x3d2318('isRemoveSuggestion',_0x480b84,_0x34c4b6,_0x170de7),_0x3d2318('isAddSuggestion',_0x480b84,_0x34c4b6,_0x170de7),_0x3d2318('isRemoved',_0x480b84,_0x34c4b6,_0x170de7),_0x3d2318('isAdded',_0x480b84,_0x34c4b6,_0x170de7);for(const _0x3dfcc9 of _0x3aa1d9[_0x480b84]['markersEnd']){_0x36399f['get'](_0x3dfcc9)['end']=_0x170de7;}}for(const [_0x4f9150,_0x5bf317]of _0x36399f){const _0x1007e2=this['editor']['model']['createRange'](_0x5bf317['start'],_0x5bf317['end']);_0x2f779d['markers']['set'](_0x4f9150,_0x1007e2);}return _0x4fd9d8['sort']((_0x4e0907,_0x432630)=>{const _0x179679=_0x2f779d['markers']['get']('revision:'+_0x4e0907['id']),_0x4f61bc=_0x2f779d['markers']['get']('revision:'+_0x432630['id']);return _0x179679['start']['isBefore'](_0x4f61bc['start'])?-0x1:_0x179679['start']['isAfter'](_0x4f61bc['start'])?0x1:_0x179679['end']['isBefore'](_0x4f61bc['end'])?-0x1:_0x179679['end']['isAfter'](_0x4f61bc['end'])?0x1:'add'===_0x4e0907['type']?-0x1:0x1;}),{'root':_0x2f779d,'changes':_0x4fd9d8};function _0x3d2318(_0x525b06,_0x730f90,_0xb20a44,_0x4c6080){const _0x4218e2=!!_0x3aa1d9[_0x730f90][_0x525b06],_0x3d219c=_0x4218e2?_0x3aa1d9[_0x730f90][_0x525b06]['userId']:null,_0xd5979a=_0x730f90===_0x3aa1d9['length']-0x1,_0x163260=_0x180bb9[_0x525b06][0x0],_0x40967a=_0x1747dd['isObject'](_0x3aa1d9[_0x730f90]['item']);!_0x3f68a1[_0x525b06]&&_0x4218e2?_0x3f68a1[_0x525b06]={'start':_0xb20a44,'tapeItem':_0x3aa1d9[_0x730f90],'userId':_0x3d219c,'type':_0x525b06}:_0x3f68a1[_0x525b06]&&!_0x4218e2?(_0x3f68a1[_0x525b06]['end']=_0xb20a44,_0x1f597f(_0x3f68a1[_0x525b06]),_0x3f68a1[_0x525b06]=null):_0x3f68a1[_0x525b06]&&_0x4218e2&&_0x3f68a1[_0x525b06]['userId']!==_0x3d219c&&(_0x3f68a1[_0x525b06]['end']=_0xb20a44,_0x163260&&_0x163260['userId']===_0x3f68a1[_0x525b06]['userId']||_0x1f597f(_0x3f68a1[_0x525b06]),_0x3f68a1[_0x525b06]={'start':_0xb20a44,'tapeItem':_0x3aa1d9[_0x730f90],'userId':_0x3d219c,'type':_0x525b06}),_0x3f68a1[_0x525b06]&&_0x40967a&&('elementStart'!==_0x3aa1d9[_0x730f90]['type']||_0x163260&&_0x163260['userId']===_0x3d219c||_0x180bb9[_0x525b06]['unshift']({'userId':_0x3d219c,'object':_0x3aa1d9[_0x730f90]['item'],'change':_0x3f68a1[_0x525b06]}),'elementEnd'===_0x3aa1d9[_0x730f90]['type']&&_0x163260&&_0x163260['object']===_0x3aa1d9[_0x730f90]['item']&&(_0x180bb9[_0x525b06]['shift'](),_0x3f68a1[_0x525b06]=_0x163260['change'])),_0x3f68a1[_0x525b06]&&_0xd5979a&&(_0x3f68a1[_0x525b06]['end']=_0x4c6080,_0x1f597f(_0x3f68a1[_0x525b06]),_0x3f68a1[_0x525b06]=null);}function _0x1f597f({start:_0x1c7c19,end:_0x3849ee,tapeItem:_0x132737,userId:_0x42d823,type:_0x509dcb}){const _0x525075=_0x132737['item'],_0x2b2e52=_0x51b600['schema']['isBlock'](_0x525075)&&!_0x51b600['schema']['isLimit'](_0x525075),_0x13d49c=_0x1c7c19['nodeAfter']==_0x3849ee['parent']&&_0x3849ee['isAtStart'];if(_0x2b2e52&&_0x13d49c)return;const _0x58cc30=_0x51b600['createRange'](_0x1c7c19,_0x3849ee),_0x26c813=_0x3f6bbf['get'](_0x42d823),_0x43cc11=new r({'author':_0x26c813,'type':'isAdded'==_0x509dcb||'isAddSuggestion'==_0x509dcb?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x509dcb||'isRemoveSuggestion'==_0x509dcb},'createdAt':new Date(),'rootName':_0x5d0760});_0x4fd9d8['push'](_0x43cc11),_0x2f779d['markers']['set']('revision:'+_0x43cc11['id'],_0x58cc30);}function _0x158de6(_0x193dc6,_0x21114b){const _0x2cd8b5=_0x193dc6['getAttributes'](),_0x1341fa=_0x21114b['getAttributes']();for(const _0x561d7f of _0x2cd8b5){if(_0x561d7f[0x1]!==_0x21114b['getAttribute'](_0x561d7f[0x0]))return!0x1;_0x1341fa['next']();}return _0x1341fa['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x4c96b5=>{const _0x431b1a=_0x4c96b5['markerName']['split'](':')[0x1],_0x5404c1=this['_getChangeFromId'](_0x431b1a);if(!_0x5404c1)return null;const _0x269c11='add'==_0x5404c1['type']?'insertion':'deletion',_0x5f4a56=['ck-suggestion-marker','ck-suggestion-marker-'+_0x269c11];return _0x5404c1['data']['isSuggestion']&&_0x5f4a56['push']('ck-suggestion-marker-'+_0x269c11+'-new'),this['activeChange']==_0x5404c1&&_0x5f4a56['push']('ck-suggestion-marker--active'),{'classes':_0x5f4a56,'attributes':{'data-change-id':_0x431b1a}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x43557a=>{_0x43557a['on']('element:pre',(_0x3e4e7b,_0x59424,_0x5cc870)=>{const _0x5087bf=_0x59424['viewItem']['getChild'](0x0);if(!_0x5087bf||!_0x5087bf['is']('element','code'))return;if(!_0x5cc870['consumable']['consume'](_0x5087bf,{'attributes':['vid_start','vid_end']}))return;const _0x72c154=_0x59424['modelRange']['start']['nodeAfter'];_0x5cc870['writer']['setAttribute']('vid_start',_0x5087bf['getAttribute']('vid_start'),_0x72c154),_0x5cc870['writer']['setAttribute']('vid_end',_0x5087bf['getAttribute']('vid_end'),_0x72c154);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x4a2b53=>{_0x4a2b53['on']('element',(_0x2512f9,_0x1dc26c,_0x236b16)=>{if(!_0x236b16['consumable']['consume'](_0x1dc26c['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x1dc26c['modelRange']['isCollapsed'])return;const _0x2fd35c=_0x1dc26c['modelRange']['start']['nodeAfter'];_0x2fd35c['hasAttribute']('vid_start')||_0x2fd35c['hasAttribute']('vid')||(_0x236b16['writer']['setAttribute']('vid_start',_0x1dc26c['viewItem']['getAttribute']('vid_start'),_0x2fd35c),_0x236b16['writer']['setAttribute']('vid_end',_0x1dc26c['viewItem']['getAttribute']('vid_end'),_0x2fd35c));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x24f833=>_0x24f833['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x22e425,[,_0x3be252])=>{['vid_start','vid_end','vid']['includes'](_0x3be252)&&(_0x22e425['return']=!0x0,_0x22e425['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x4ed5a6=>{_0x4ed5a6['on']('attribute:vid',(_0x239f0c,_0x45d4b8,_0x41b85c)=>{if('\x20'!=_0x45d4b8['item']['data']||_0x45d4b8['item']['parent']['maxOffset']>0x1)return;if(!_0x41b85c['consumable']['consume'](_0x45d4b8['item'],_0x239f0c['name']))return;const _0x4778b0=_0x41b85c['writer'],_0x1dcb95=_0x41b85c['mapper']['toViewRange'](_0x45d4b8['range']);_0x4778b0['wrap'](_0x1dcb95,_0x4778b0['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x3f8a47){const _0x27ef3c=_0x3f8a47['plugins']['get']('RevisionViewer');return(_0xda11d9,_0x19e629,_0x2b64c7)=>{const _0xbe0fdf=_0x19e629['markerName']['split'](':')[0x1],_0x4286a4=_0x27ef3c['_getChangeFromId'](_0xbe0fdf);if(!_0x4286a4)return null;const _0x1c4d27='add'==_0x4286a4['type']?'split':'merge';if(!_0x2b64c7['consumable']['test'](_0x19e629['markerRange'],_0xda11d9['name']))return;const _0x10d49f=_0x19e629['markerRange']['getWalker'](),_0x25d438=_0x19e629['markerRange']['start'],_0x57223a=_0x3f8a47['model']['schema'];let _0x227365=null,_0x175525=null,_0x42a6a8=!0x1,_0x4151db=!0x1;for(const _0x71102d of _0x10d49f){const _0x26b41d=_0x71102d['item'];_0x42a6a8=_0x42a6a8||_0x57223a['isContent'](_0x26b41d);const _0x2536a8=_0x2b64c7['mapper']['toViewElement'](_0x26b41d);if(_0x2536a8&&_0x2536a8['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x71102d['type']&&(_0x57223a['isBlock'](_0x26b41d)&&!_0x57223a['isLimit'](_0x26b41d)&&(_0x26b41d['nextSibling']||_0x25d438['isAtEnd']?_0x227365&&_0x227365['parent']==_0x26b41d||(_0x227365=_0x26b41d,_0x5a98a0(_0x71102d['previousPosition']),_0x4151db=!0x0):_0x175525=_0x175525||_0x71102d['previousPosition']));}function _0x5a98a0(_0x5ad63e){const _0x1b4987=_0x2b64c7['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1c4d27}),_0x2e5b70=_0x2b64c7['mapper']['toViewPosition'](_0x5ad63e);_0x4286a4['data']['isSuggestion']&&_0x2b64c7['writer']['addClass']('ck-suggestion-marker-'+_0x1c4d27+'-new',_0x1b4987),_0x27ef3c['activeChange']==_0x4286a4&&_0x2b64c7['writer']['addClass']('ck-suggestion-marker--active',_0x1b4987),_0x2b64c7['writer']['insert'](_0x2e5b70,_0x1b4987),_0x2b64c7['mapper']['bindElementToMarker'](_0x1b4987,_0x19e629['markerName']);}_0x42a6a8||_0x4151db||!_0x175525||_0x5a98a0(_0x175525);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x54fc60,_0x28d57c,_0x53e824)=>{const _0x4acd27=_0x53e824['mapper']['markerNameToElements'](_0x28d57c['markerName']);if(_0x4acd27){for(const _0x1156c6 of _0x4acd27)(_0x1156c6['hasClass']('ck-suggestion-marker-split')||_0x1156c6['hasClass']('ck-suggestion-marker-merge'))&&(_0x53e824['mapper']['unbindElementFromMarkerName'](_0x1156c6,_0x28d57c['markerName']),_0x53e824['writer']['remove'](_0x1156c6));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x10b480,_0xc070dc,_0x18fbb3)=>{const _0x456a9b=_0xc070dc['markerName']['split'](':')[0x1],_0x57c2f8=this['_getChangeFromId'](_0x456a9b);if(!_0x57c2f8)return null;const _0x3f7b62='add'==_0x57c2f8['type']?'split':'merge';if(_0x18fbb3['consumable']['test'](_0xc070dc['markerRange'],_0x10b480['name']))for(const _0x413c14 of _0xc070dc['markerRange']['getItems']()){if(!_0x413c14['is']('element','softBreak'))continue;const _0x293017=_0x18fbb3['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3f7b62}),_0x3158f7=_0x18fbb3['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x413c14));_0x57c2f8['data']['isSuggestion']&&_0x18fbb3['writer']['addClass']('ck-suggestion-marker-'+_0x3f7b62+'-new',_0x293017),this['activeChange']==_0x57c2f8&&_0x18fbb3['writer']['addClass']('ck-suggestion-marker--active',_0x293017),_0x18fbb3['writer']['insert'](_0x3158f7,_0x293017),_0x18fbb3['mapper']['bindElementToMarker'](_0x293017,_0xc070dc['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x151374=>{for(const _0x4eb491 of this['editor']['model']['document']['getRootNames']()){const _0x3032ee=this['editor']['model']['document']['getRoot'](_0x4eb491),_0x2e9350=this['editor']['editing']['view']['document']['getRoot'](_0x4eb491);if(_0x2e9350){const _0x3ff437=_0x3032ee['getAttribute']('revisionHistoryAttachChange');if(_0x151374['removeAttribute']('data-change-id',_0x2e9350),_0x151374['removeClass']('ck-revision-history-root-add',_0x2e9350),_0x151374['removeClass']('ck-revision-history-root-remove',_0x2e9350),_0x151374['removeClass']('ck-revision-history-root--active',_0x2e9350),_0x3ff437){const _0x4723e2=this['_getChangeFromId'](_0x3ff437);if(!_0x4723e2)return null;_0x151374['setAttribute']('data-change-id',_0x3ff437,_0x2e9350),_0x151374['addClass']('ck-revision-history-root-'+_0x4723e2['type'],_0x2e9350),this['activeChange']==_0x4723e2&&_0x151374['addClass']('ck-revision-history-root--active',_0x2e9350);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x2a2172=>'revision-comment:'+_0x2a2172,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0xfcf984=>'revision-suggestion:'+_0xfcf984,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x213640=>({'name':'suggestion:'+_0x213640,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0xbd1afc=>{const _0x3b4bb6=_0xbd1afc['markerName']['split'](':')[0x1];return'insertion'!=_0x3b4bb6&&'deletion'!=_0x3b4bb6?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x3b4bb6]};}}),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',(_0x4891c6,_0x3765e9,_0x28f178)=>{const _0xede56c=_0x28f178['mapper']['markerNameToElements'](_0x3765e9['markerName']);if(_0xede56c){for(const _0x1692bc of _0xede56c)_0x1692bc['is']('uiElement')&&(_0x28f178['mapper']['unbindElementFromMarkerName'](_0x1692bc,_0x3765e9['markerName']),_0x28f178['writer']['remove'](_0x1692bc));}},{'priority':'high'});}['_getChangeFromId'](_0x304dd5){return this['_changeIdToChange']['get'](_0x304dd5);}['_getViewForChange'](_0x3ce190){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x3ce190),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x4320a3,_0xc5937e,_0x5e95ad,_0x121277)=>{_0x121277&&this['_balloon']['remove'](_0x121277),_0x5e95ad&&(this['_balloon']['add']({'view':_0x5e95ad,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x398cdb=this['editor']['editing'],_0x14cb9c=this['_getChangeFromId'](_0x5e95ad['changeId']);let _0x79c960;if(_0x14cb9c['data']['isOnRoot']){const _0x5581db=_0x398cdb['view']['getDomRoot'](_0x14cb9c['rootName']);_0x79c960=Array['from'](_0x5581db['getClientRects']());}else{const _0x563b72=this['editor']['model']['markers']['get']('revision:'+_0x5e95ad['changeId']);_0x79c960=Array['from'](_0x398cdb['mapper']['markerNameToElements'](_0x563b72['name']))['map'](_0x128910=>_0x398cdb['view']['domConverter']['mapViewToDom'](_0x128910))['map'](_0x493850=>Array['from'](_0x493850['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x79c960[0x0];return _0x79c960['find'](_0x1a16c5=>_0x1a16c5['top']-0x3<=this['_activeViewTarget']['y']&&_0x1a16c5['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x1a16c5['left']-0x3<=this['_activeViewTarget']['x']&&_0x1a16c5['right']+0x3>=this['_activeViewTarget']['x'])||_0x79c960[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x1ff6dd,_0x6fd749,_0x12dfd8,_0x5e3196)=>{this['activeView']=_0x12dfd8?this['_getViewForChange'](_0x12dfd8):null,this['editor']['model']['change'](()=>{const _0x6141e6=this['editor']['editing'];_0x5e3196&&(_0x5e3196['data']['isOnRoot']?_0x6141e6['view']['change'](_0x56c8a5=>{_0x56c8a5['removeClass']('ck-revision-history-root--active',_0x6141e6['view']['document']['getRoot'](_0x5e3196['rootName']));}):_0x6141e6['reconvertMarker']('revision:'+_0x5e3196['id'])),_0x12dfd8&&(_0x12dfd8['data']['isOnRoot']?_0x6141e6['view']['change'](_0x2b6f57=>{_0x2b6f57['addClass']('ck-revision-history-root--active',_0x6141e6['view']['document']['getRoot'](_0x12dfd8['rootName']));}):_0x6141e6['reconvertMarker']('revision:'+_0x12dfd8['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0xff290c,_0x442e45)=>{if(this['activeChange'])return;const _0x517333=this['_findChangeIdFromDomTarget'](_0x442e45['target']),_0x28dd6b=this['_changeIdToChange']['get'](_0x517333);_0x28dd6b?(this['_activeViewTarget']={'x':_0x442e45['domEvent']['x'],'y':_0x442e45['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x28dd6b)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x5a2001,_0x135c43)=>{const _0x319b6f=this['_findChangeIdFromDomTarget'](_0x135c43['target']),_0x52d0c8=this['_changeIdToChange']['get'](_0x319b6f);_0x52d0c8?(this['_activeViewTarget']={'x':_0x135c43['domEvent']['x'],'y':_0x135c43['domEvent']['y']},_0x52d0c8===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x52d0c8):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x372217){do{const _0x5d6612=_0x372217['getAttribute']('data-change-id');if(_0x5d6612)return _0x5d6612;_0x372217=_0x372217['parent'];}while(_0x372217);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x2e397e=>{for(const _0xfc0e20 of this['editor']['model']['markers'])_0x2e397e['removeMarker'](_0xfc0e20);});}}function et(_0x42d0c0,_0x1548b2){return(_0x58244b,_0x363a81,_0x39561a)=>{if(!_0x39561a['consumable']['test'](_0x363a81['markerRange'],_0x58244b['name']))return;const _0x30b022=_0x363a81['markerRange']['getWalker'](),_0x4ae3b0=_0x363a81['markerRange']['start'],_0x2afe75=_0x42d0c0['model']['schema'];let _0x532b46=null,_0x4827c4=null,_0x2136a9=!0x1,_0x30d14e=!0x1;for(const _0x3eb2ad of _0x30b022){const _0x30e33f=_0x3eb2ad['item'];_0x2136a9=_0x2136a9||_0x2afe75['isContent'](_0x30e33f);const _0xd697fb=_0x39561a['mapper']['toViewElement'](_0x30e33f);if(_0xd697fb&&_0xd697fb['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3eb2ad['type']&&(_0x2afe75['isBlock'](_0x30e33f)&&!_0x2afe75['isLimit'](_0x30e33f)&&(_0x30e33f['nextSibling']||_0x4ae3b0['isAtEnd']?_0x532b46&&_0x532b46['parent']==_0x30e33f||(_0x532b46=_0x30e33f,_0x587db8(_0x3eb2ad['previousPosition']),_0x30d14e=!0x0):_0x4827c4=_0x4827c4||_0x3eb2ad['previousPosition']));}function _0x587db8(_0x1d7312){const _0x27f90a=_0x39561a['mapper']['toViewPosition'](_0x1d7312),_0x38c3de=_0x39561a['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x1548b2});_0x39561a['writer']['insert'](_0x27f90a,_0x38c3de),_0x39561a['mapper']['bindElementToMarker'](_0x38c3de,_0x363a81['markerName']);}_0x2136a9||_0x30d14e||!_0x4827c4||_0x587db8(_0x4827c4);};}class bt extends _0x19ad1b{constructor(_0x434bb5){super(_0x434bb5);const _0x162727=_0x434bb5['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x162727,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x162727,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x1fb63a=this['editor'],_0x12946e=_0x1fb63a['plugins']['get'](d),_0x8e2f7e=_0x12946e['isReady']?_0x12946e['diff']['newRevisionId']:null;_0x1fb63a['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x8e2f7e);}['refresh'](){const {isReady:_0x374404,isEnabled:_0x22291c}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x374404&&_0x22291c;}}class yt extends _0x19ad1b{['_step'];constructor(_0x21e461,{direction:_0xd38ddc}){super(_0x21e461);const _0x14f468=_0x21e461['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0xd38ddc?0x1:-0x1,this['listenTo'](_0x14f468,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x14f468,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x14f468,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x10f767=this['editor'],_0x5b6765=_0x10f767['plugins']['get'](d),{isNavigationMode:_0x28fdb8,currentChangeNumber:_0x4f0638}=_0x5b6765;let _0x5b8ae1;if(_0x5b6765['activeChange']=_0x28fdb8?_0x5b6765['diff']['changes']['get'](_0x4f0638+this['_step']):_0x5b6765['diff']['changes']['first'],_0x5b6765['activeChange']['data']['isOnRoot'])_0x5b8ae1=_0x10f767['editing']['view']['getDomRoot'](_0x5b6765['activeChange']['rootName']);else{const _0x1908db=_0x10f767['model']['markers']['get']('revision:'+_0x5b6765['activeChange']['id']);_0x5b8ae1=_0x39447d(_0x10f767['editing'],_0x1908db);}_0x353841({'target':_0x5b8ae1,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x18d79a,currentChangeNumber:_0xbfea77,numberOfChanges:_0x4f4530,isReady:_0x148a91,isEnabled:_0x2e2295}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x2e2295&&_0x148a91&&_0x4f4530)&&(!_0x18d79a||(0x1===this['_step']?_0xbfea77<_0x4f4530-0x1:_0xbfea77>0x0));}}class _i extends _0x4da36d{constructor(_0x40acdd){super(_0x40acdd);const _0x481800=this['bindTemplate'],_0x5e87a4=new _0x33cdf3(_0x40acdd),_0x62e7ae=new _0x33cdf3(_0x40acdd);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',(_0x66ac39,_0x5a65ef)=>_0x66ac39&&_0x5a65ef>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x48ad6d,_0x36af0f,_0x56a592,_0x19d11c)=>{if(!_0x48ad6d)return y(_0x40acdd,'Loading...');if(!_0x56a592)return y(_0x40acdd,'No\x20changes');const _0x564d68=y(_0x40acdd,'NUMBER_OF_CHANGES',_0x56a592);return _0x19d11c?y(_0x40acdd,'X_OF_Y_CHANGES',[_0x36af0f+0x1,_0x56a592]):_0x564d68;}),_0x5e87a4['set']({'label':y(_0x40acdd,'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'}),_0x62e7ae['set']({'label':y(_0x40acdd,'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'}),_0x5e87a4['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x62e7ae['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x5e87a4['on']('execute',()=>this['fire']('execute','backward')),_0x62e7ae['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',_0x481800['if']('_isStatusLabelVisible','ck-hidden',_0x265892=>!_0x265892)]},'children':[{'text':_0x481800['to']('isNavigationMode',_0x1df687=>_0x1df687?y(_0x40acdd,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x40acdd,'Total')+':\x20')}]},{'text':_0x481800['to']('_statusText')}]},new _0x3f97f7(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x5e87a4,_0x62e7ae]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x47193e{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x289bd1=this['editor']['editing']['view'];_0x289bd1['change'](_0x19fb1a=>{for(const _0x1c5b76 of _0x289bd1['document']['roots'])_0x19fb1a['addClass'](ce,_0x1c5b76);});}['hide'](){const _0x4b2074=this['editor']['editing']['view'];_0x4b2074['change'](_0x5d591f=>{for(const _0x4c8499 of _0x4b2074['document']['roots'])_0x5d591f['removeClass'](ce,_0x4c8499);});}}class R extends _0x47193e{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x122c4c=this['editor'],_0x4c2fe0=_0x122c4c['plugins']['get'](d),_0x296dfe=_0x122c4c['plugins']['get'](de);_0x122c4c['ui']['componentFactory']['add']('exitToEditing',_0x30eea1=>{const _0x517c02=new _0x33cdf3(_0x30eea1);return _0x517c02['set']({'label':y(_0x30eea1,'Back\x20to\x20editing'),'icon':_0x3918d9['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x517c02,'execute',()=>{_0x122c4c['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x517c02;}),_0x122c4c['ui']['componentFactory']['add']('restoreRevision',_0x56dbdd=>{const _0x5ea85e=new _0x33cdf3(_0x56dbdd);return _0x5ea85e['set']({'label':y(_0x56dbdd,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x5ea85e['bind']('isEnabled')['to'](_0x122c4c['commands']['get']('restoreRevision')),this['listenTo'](_0x5ea85e,'execute',()=>_0x122c4c['execute']('restoreRevision')),_0x5ea85e;}),_0x122c4c['ui']['componentFactory']['add']('changesNavigation',_0x363e81=>{const _0x1bca8f=new _i(_0x363e81),_0x3c080b=_0x122c4c['commands']['get']('showPreviousChange'),_0xcb4934=_0x122c4c['commands']['get']('showNextChange');return _0x1bca8f['bind']('isBackwardNavigationEnabled')['to'](_0x3c080b,'isEnabled'),_0x1bca8f['bind']('isForwardNavigationEnabled')['to'](_0xcb4934,'isEnabled'),_0x1bca8f['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x4c2fe0),this['listenTo'](_0x1bca8f,'execute',(_0x230e95,_0x181512)=>{_0x122c4c['execute']('forward'===_0x181512?'showNextChange':'showPreviousChange');}),_0x1bca8f;}),_0x296dfe['show'](),_0x4c2fe0['on']('change:isReady',(_0x2629a4,_0x4520db,_0x1faf98)=>{_0x1faf98?_0x296dfe['hide']():_0x296dfe['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x48b7bc,_0x13cc1d){super(_0x48b7bc,_0x13cc1d);const _0x343535=this['bindTemplate'];this['set']({'label':y(_0x48b7bc,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x48b7bc,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x343535['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 _0x9a259=this['fieldView']['element'];this['_tooltipString']=_0x9a259['scrollWidth']>_0x9a259['clientWidth']&&_0x9a259['value']||'';}}class ti extends _0x4da36d{constructor(_0x54ab59,_0x14bca6,_0x2055c4){super(_0x54ab59);const _0x179ed6=new _0x542ab4();_0x179ed6['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 _0x39af84=['ck','ck-revision-history-sidebar__revision-author'];_0x2055c4&&_0x39af84['push']('ck-revision-history-sidebar__revision-author_creator');const _0x5b31b3=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x54ab59,_0x2055c4?'Revision\x20creator':'Revision\x20author')},'children':[_0x179ed6,_0x14bca6['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x39af84},'children':_0x5b31b3});}}function ni(_0x17d688,_0xda7f6a){const _0x348dcb=_0x17d688['bindTemplate'],_0x31ac17=_0x17d688['locale'],_0x5d7614=_0x49c129(_0x31ac17);_0x5d7614['panelPosition']='sw';const _0x46de23=function(_0x5e9fc8,_0x5b1e04){const _0x477168=function(_0x5b5bfa,_0x40e00d){const _0xdaf0b5=_0x5b5bfa['locale'],_0xf0728a={'Compare\x20against\x20selected':y(_0xdaf0b5,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0xdaf0b5,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0xdaf0b5,'Restore\x20this\x20revision')};return _0x40e00d['map'](_0x175c10=>{const _0x42b730=_0xf0728a[_0x175c10['name']];return _0x42b730&&_0x42b730!==_0x175c10['name']&&(_0x175c10['name']=_0x42b730),_0x175c10;});}(_0x5e9fc8,_0x5b1e04),_0x185a25=new _0x2b2b84();for(const _0x52db4f of _0x477168){const _0x2843f7={'type':'button','model':new to({'label':_0x52db4f['name'],'class':_0x52db4f['class'],'withText':!0x0,'role':'menuitem','_action':_0x52db4f['action']})};_0x2843f7['model']['bind']('isEnabled')['to'](_0x5e9fc8,'isActionsDropdownOpen',_0x56611d=>'function'!=typeof _0x52db4f['isEnabled']||(!_0x56611d||_0x52db4f['isEnabled'](_0x5e9fc8))),_0x185a25['add'](_0x2843f7);}return _0x185a25;}(_0x17d688,_0xda7f6a);return _0x17d688['bind']('isActionsDropdownOpen')['to'](_0x5d7614,'isOpen'),_0x5d7614['buttonView']['set']({'label':y(_0x31ac17,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x3918d9['threeVerticalDots']}),_0x5d7614['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x348dcb['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x348dcb['to'](_0x324616=>_0x324616['stopPropagation']())}}),_0x5d7614['on']('execute',_0x4a1baa=>{_0x17d688['isReady']&&'function'==typeof _0x4a1baa['source']['_action']&&_0x4a1baa['source']['_action'](_0x17d688);}),_0x3deaea(_0x5d7614,_0x46de23,{'role':'menu'}),_0x5d7614['listenTo'](_0x17d688,'change:isActionsDropdownOpen',(_0xcc5760,_0x5c3cb4,_0x1865c7)=>{if(_0x1865c7)for(const _0x3abba2 of _0x5d7614['listView']['items']){const _0x5aa599=_0x3abba2['children']['first'],_0x4e0755=_0xda7f6a['find'](_0x3dffc7=>_0x3dffc7['action']===_0x5aa599['_action'])['isVisible'];_0x3abba2['isVisible']=void 0x0===_0x4e0755||_0x4e0755(_0x17d688);}}),_0x5d7614;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x5b4ada(_0x4da36d){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x52925c,_0xce707f,_0x2715e2,_0x3b13c2){super(_0x52925c);const _0x525a0f=this['bindTemplate'],_0x456cff=function(_0x3e817c,_0x877e65){const _0xc7e03d=Array['from'](_0x877e65['authors'])['filter'](_0x16f3c1=>_0x16f3c1!=_0x877e65['creator']);return _0x877e65['creator']&&_0xc7e03d['unshift'](_0x877e65['creator']),_0xc7e03d['map'](_0x4e28cd=>new ti(_0x3e817c,_0x4e28cd,_0x4e28cd==_0x877e65['creator']));}(_0x52925c,_0xce707f);this['id']=_0xce707f['id'],this['_revision']=_0xce707f,this['_requireRevisionName']=_0x3b13c2,this['bind']('name','createdAt')['to'](_0xce707f),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x2ac730=>{return _0x3e5703=_0x52925c['uiLanguage'],(_0x5eddc6=_0x2ac730)['toLocaleDateString'](_0x3e5703,{'month':'long','day':'numeric'})+',\x20'+_0x5eddc6['toLocaleTimeString'](_0x3e5703,{'hour':'numeric','minute':'numeric'});var _0x3e5703,_0x5eddc6;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x52925c,_0x1758b7),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x4a88a4=>_0x4a88a4||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x2cfa0b,_0x4b9776)=>_0x2cfa0b&&_0x4b9776),this['revisionActionsView']=_0x2715e2&&_0x2715e2['length']?ni(this,_0x2715e2):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x525a0f['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x525a0f['if']('isEnabled','ck-disabled',_0x2c906e=>!_0x2c906e),_0x525a0f['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x525a0f['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x525a0f['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':_0x525a0f['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':_0x456cff}]},this['revisionActionsView']],'on':{'click':_0x525a0f['to'](_0x46462e=>{_0x46462e['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x428e4e=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x428e4e,'change',()=>{this['_requireRevisionName']&&!_0x428e4e['value']||this['fire']('setName',{'id':this['id'],'name':_0x428e4e['value']}),_0x428e4e['value']||(_0x428e4e['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(_0x514241,_0xe6f0b8){const _0x403f84=_0x355e4d['fromJSDate'](_0x514241)['setLocale'](_0xe6f0b8),_0x29eabc=_0x355e4d['local'](),_0x46135e=_0x29eabc['minus']({'days':0x1})['startOf']('day');let _0x3b0a45,_0x20869f;return _0x403f84['hasSame'](_0x29eabc,'day')?(_0x3b0a45=_0x403f84['startOf']('day')['toJSDate'](),_0x20869f=_0x403f84['toRelativeCalendar']()):_0x403f84['hasSame'](_0x46135e,'day')?(_0x3b0a45=_0x46135e['toJSDate'](),_0x20869f=_0x403f84['toRelativeCalendar']()):_0x403f84['hasSame'](_0x29eabc,'week')?(_0x3b0a45=_0x403f84['startOf']('week')['toJSDate'](),_0x20869f=_0x403f84['weekdayLong']||''):_0x403f84['hasSame'](_0x29eabc,'year')?(_0x3b0a45=_0x403f84['startOf']('month')['toJSDate'](),_0x20869f=_0x403f84['monthLong']||''):(_0x3b0a45=_0x403f84['startOf']('year')['toJSDate'](),_0x20869f=String(_0x403f84['year'])),{'startDate':_0x3b0a45,'localizedPeriodName':_0x20869f};}class mi extends _0x4da36d{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x147041,_0x2e474d,_0x5b40d3,_0x57548b){super(_0x147041);const _0x2817a3=di(_0x2e474d,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x2e474d,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x5b40d3,this['_requireRevisionName']=_0x57548b,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':_0x2817a3}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x20f46b){const _0x151a67=new ai(this['locale'],_0x20f46b,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x151a67);}['removeRevision'](_0x1ced6b){const _0x5dcfdc=this['revisionViews']['find'](_0x5badf3=>_0x5badf3['id']===_0x1ced6b['id']);this['revisionViews']['remove'](_0x5dcfdc);}}class as extends _0x4da36d{constructor(_0xd9d2ef){super(_0xd9d2ef);const _0x348c6c=new _0x542ab4();_0x348c6c['content']=_0x3918d9['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x348c6c,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0xd9d2ef,'Revision\x20history')]}]});}}class ci extends _0x4da36d{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x46d0b1,_0x294092,_0x1e5241,_0x20ffd5){super(_0x46d0b1);const _0xe823a2=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x294092,this['_revisionActions']=_0x1e5241,this['_requireRevisionName']=_0x20ffd5,this['on']('select',(_0x47364b,_0x5a7865)=>{this['fire']('revisionSelected',_0x5a7865);}),this['on']('setName',(_0x547d35,_0x5b6686)=>{this['fire']('revisionSetName',_0x5b6686);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x46d0b1),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0xe823a2['if']('isEnabled','ck-disabled',_0x4e0320=>!_0x4e0320)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x2b72eb of this['_revisions'])this['_addRevision'](_0x2b72eb);this['_revisions']['on']('add',(_0x124468,_0x24cb69)=>{this['_addRevision'](_0x24cb69);}),this['_revisions']['on']('remove',(_0x85c8cc,_0x2fe87c)=>{this['_removeRevision'](_0x2fe87c);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x3d9a54=>_0x3d9a54['revisionViews']['map'](_0x41d4de=>_0x41d4de))['flat']();}['selectRevision'](_0x36223f){for(const _0x1f1563 of this['revisionViews'])_0x36223f&&_0x36223f['id']===_0x1f1563['id']?_0x1f1563['select']():_0x1f1563['deselect']();}['highlightRevisions'](_0x5850da){for(const _0x3c97e2 of this['revisionViews'])_0x5850da['some'](({id:_0x5a06e6})=>_0x5a06e6===_0x3c97e2['id'])?_0x3c97e2['highlight']():_0x3c97e2['unhighlight']();}['_addRevision'](_0x1053fe){const _0x3c7954=di(_0x1053fe['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x2a9482=this['timePeriodViews']['get'](0x0);_0x2a9482&&_0x2a9482['startDate']['getTime']()===_0x3c7954['getTime']()||(_0x2a9482=new mi(this['locale'],_0x3c7954,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x2a9482)),_0x2a9482['addRevision'](_0x1053fe);}['_removeRevision'](_0x384fd9){const _0x3f5b6c=di(_0x384fd9['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x3f5b6c)['removeRevision'](_0x384fd9);}['_getTimePeriodViewByStartDate'](_0x2b3b8f){return this['timePeriodViews']['find'](_0x59d3f1=>_0x59d3f1['startDate']['getTime']()===_0x2b3b8f['getTime']());}}class w extends _0x47193e{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{ObservableMixin as _0x20aaba,uid as _0x4fb95c,Collection as _0x3d976d,logWarning as _0x1de360,FocusTracker as _0x3f6af9,KeystrokeHandler as _0x15c615,scrollViewportToShowTarget as _0x131832,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x5625e9}from'@ckeditor/ckeditor5-utils/dist/index.js';import{cloneDeep as _0x419818,set as _0x26d088,unset as _0x2d7fb1,isEqual as _0x2026cf}from'lodash-es';import{Plugin as _0x2594ac,Context as _0x41d3ac,PendingActions as _0x2b5bd0,icons as _0x51adf3,Command as _0x37b8db,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{Users as _0x11e0db,getMarkerDomElement as _0x4e92c7,ConfirmMixin as _0x139617,sanitizeEditorConfig as _0x2dd241}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0xabeb3b,ViewText as _0x1350e4,ViewElement as _0x4a1b8c,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x4071de,ViewAttributeElement as _0x15f220,ViewEmptyElement as _0x1f144e,ViewRawElement as _0x228645,ViewUIElement as _0x436f61,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{View as _0x31e91f,injectCssTransitionDisabler as ts,submitHandler as _0x1f889f,LabeledFieldView as at,createLabeledInputText as _0x35f5d5,createDropdown as _0x9fb3d7,ListView as te,ListItemView as _0x526e3e,ButtonView as _0x1f8943,MenuBarMenuView as _0x2d1e8a,MenuBarMenuListView as _0x970d66,MenuBarMenuListItemView as _0x897cfa,MenuBarMenuListItemButtonView as _0x495090,ContextualBalloon as _0x5a3ef2,ToolbarSeparatorView as _0x9d488e,IconView as _0x41224a,addListToDropdown as _0x2b6d93,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 _0x34f29b}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x20aaba(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x32faee){super(),this['id']=_0x32faee['id']||_0x4fb95c(),this['creator']=_0x32faee['creator']||null,this['authors']=_0x32faee['authors']||[],this['diffData']=_0x32faee['diffData']||null,this['toVersion']=_0x32faee['toVersion']||0x0,this['fromVersion']=_0x32faee['fromVersion']||0x0,this['set']('name',_0x32faee['name']||''),this['set']('createdAt',_0x32faee['createdAt']||new Date()),this['set']('attributes',_0x32faee['attributes']||{});}['setName'](_0x18eed9){this['_update']({'name':_0x18eed9});}['setAttribute'](_0x2c6b15,_0x38a389){const _0x108bcf=_0x419818(this['attributes']);_0x26d088(_0x108bcf,_0x2c6b15,_0x38a389),this['_update']({'attributes':_0x108bcf});}['removeAttribute'](_0x103f4b){const _0x1b3836=_0x419818(this['attributes']);_0x2d7fb1(_0x1b3836,_0x103f4b),this['_update']({'attributes':_0x1b3836});}['_update'](_0x35e63c,_0x2d3679=!0x1){let _0x4366b2=!0x1;const _0x5274ed={'id':this['id']},_0x5a2128=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x2c21f2 of _0x5a2128){const _0x4383ab=_0x35e63c[_0x2c21f2];void 0x0!==_0x4383ab&&_0x4383ab!==this[_0x2c21f2]&&(this[_0x2c21f2]=_0x4383ab,_0x5274ed[_0x2c21f2]=_0x4383ab,_0x4366b2=!0x0);}_0x4366b2&&(_0x5274ed['authors']&&(_0x5274ed['authorsIds']=_0x5274ed['authors']['map'](_0x2c37ee=>_0x2c37ee['id']),delete _0x5274ed['authors']),this['fire']('_update',_0x5274ed,_0x2d3679));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x263292=>_0x263292['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x2594ac{['_revisions'];static get['requires'](){return[_0x11e0db];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x4e0c07){super(_0x4e0c07),this['_revisions']=new _0x3d976d();}['afterInit'](){!function(_0x51100a){function _0x5b4b74(_0x2a53b0,_0x2627d1,_0x267a9f){const _0x2d3063={};_0x2d3063[_0x7f4610([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x2d3063[_0x7f4610([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],_0x2d3063[_0x7f4610([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],_0x2d3063[_0x7f4610([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],_0x2d3063[_0x7f4610([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],_0x2d3063[_0x7f4610([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],_0x2d3063[_0x7f4610([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],_0x2d3063[_0x7f4610([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],_0x2d3063[_0x7f4610([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],_0x2d3063[_0x7f4610([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],_0x2d3063[_0x7f4610([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 _0x2a6e46=new Uint8Array(0x10);for(let _0x44c875=0xf;_0x44c875>=0x0;--_0x44c875)_0x2a6e46[_0x44c875]=_0x267a9f%0x100,_0x267a9f=parseInt(_0x267a9f/0x100);let _0x3770c9=null,_0x242d12=0x10;const _0x2f5014=new Uint8Array(_0x2627d1),_0x1a656a=[],_0x259869=[];_0x486513();for(let _0x5efe86=0x0;_0x5efe86<_0x2a53b0[_0x7f4610([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5efe86++)0x10===_0x242d12&&(_0x3770c9=_0x446807(_0x2a6e46),_0x242d12=0x0,_0x3605cc(_0x2a6e46)),_0x2a53b0[_0x5efe86]^=_0x3770c9[_0x242d12++];return _0x2a53b0;function _0x4a2072(_0x42f17d){const _0x4d5109=[];for(let _0x547199=0x0;_0x547199<_0x42f17d[_0x7f4610([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x547199+=0x4)_0x4d5109[_0x7f4610([0x70,0x75,0x73,0x68])](_0x42f17d[_0x547199]<<0x18|_0x42f17d[_0x547199+0x1]<<0x10|_0x42f17d[_0x547199+0x2]<<0x8|_0x42f17d[_0x547199+0x3]);return _0x4d5109;}function _0x3605cc(_0x56b57e){for(let _0x5e6bfb=0xf;_0x5e6bfb>=0x0;_0x5e6bfb--){if(0xff!==_0x56b57e[_0x5e6bfb]){_0x56b57e[_0x5e6bfb]++;break;}_0x56b57e[_0x5e6bfb]=0x0;}}function _0x446807(_0x3e501f){const _0x2c9d0a=_0x1a656a[_0x7f4610([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x5cdd0d=[0x0,0x0,0x0,0x0];let t=_0x4a2072(_0x3e501f);for(let _0x3afc47=0x0;_0x3afc47<0x4;_0x3afc47++)t[_0x3afc47]^=_0x1a656a[0x0][_0x3afc47];for(let _0x36ff47=0x1;_0x36ff47<_0x2c9d0a;_0x36ff47++){for(let _0x19e045=0x0;_0x19e045<0x4;_0x19e045++)_0x5cdd0d[_0x19e045]=_0x2d3063[_0x7f4610([0x54,0x31])][t[_0x19e045]>>0x18&0xff]^_0x2d3063[_0x7f4610([0x54,0x32])][t[(_0x19e045+0x1)%0x4]>>0x10&0xff]^_0x2d3063[_0x7f4610([0x54,0x33])][t[(_0x19e045+0x2)%0x4]>>0x8&0xff]^_0x2d3063[_0x7f4610([0x54,0x34])][0xff&t[(_0x19e045+0x3)%0x4]]^_0x1a656a[_0x36ff47][_0x19e045];t=_0x5cdd0d[_0x7f4610([0x73,0x6c,0x69,0x63,0x65])]();}const _0x5c6826=new Uint8Array(0x10);let _0x70a12c;for(let _0x1fab37=0x0;_0x1fab37<0x4;_0x1fab37++)_0x70a12c=_0x1a656a[_0x2c9d0a][_0x1fab37],_0x5c6826[0x4*_0x1fab37]=0xff&(_0x2d3063[_0x7f4610([0x53])][t[_0x1fab37]>>0x18&0xff]^_0x70a12c>>0x18),_0x5c6826[0x4*_0x1fab37+0x1]=0xff&(_0x2d3063[_0x7f4610([0x53])][t[(_0x1fab37+0x1)%0x4]>>0x10&0xff]^_0x70a12c>>0x10),_0x5c6826[0x4*_0x1fab37+0x2]=0xff&(_0x2d3063[_0x7f4610([0x53])][t[(_0x1fab37+0x2)%0x4]>>0x8&0xff]^_0x70a12c>>0x8),_0x5c6826[0x4*_0x1fab37+0x3]=0xff&(_0x2d3063[_0x7f4610([0x53])][0xff&t[(_0x1fab37+0x3)%0x4]]^_0x70a12c);return _0x5c6826;}function _0x486513(){const _0xee3057=_0x2d3063[_0x7f4610([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x2f5014[_0x7f4610([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x42fe63=0x0;_0x42fe63<=_0xee3057;_0x42fe63++)_0x1a656a[_0x7f4610([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x259869[_0x7f4610([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x30618f=0x4*(_0xee3057+0x1),_0x4bb0e1=_0x2f5014[_0x7f4610([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x4b4be9=_0x4a2072(_0x2f5014);let _0x52d4e;for(let _0x620f76=0x0;_0x620f76<_0x4bb0e1;_0x620f76++)_0x52d4e=_0x620f76>>0x2,_0x1a656a[_0x52d4e][_0x620f76%0x4]=_0x4b4be9[_0x620f76],_0x259869[_0xee3057-_0x52d4e][_0x620f76%0x4]=_0x4b4be9[_0x620f76];let _0x2933d8,_0x534a9c=0x0,t=_0x4bb0e1;for(;t<_0x30618f;){_0x2933d8=_0x4b4be9[_0x4bb0e1-0x1],_0x4b4be9[0x0]^=_0x2d3063[_0x7f4610([0x53])][_0x2933d8>>0x10&0xff]<<0x18^_0x2d3063[_0x7f4610([0x53])][_0x2933d8>>0x8&0xff]<<0x10^_0x2d3063[_0x7f4610([0x53])][0xff&_0x2933d8]<<0x8^_0x2d3063[_0x7f4610([0x53])][_0x2933d8>>0x18&0xff]^_0x2d3063[_0x7f4610([0x72,0x63,0x6f,0x6e])][_0x534a9c]<<0x18,_0x534a9c+=0x1;for(let _0x4a6f9a=0x1;_0x4a6f9a<_0x4bb0e1/0x2;_0x4a6f9a++)_0x4b4be9[_0x4a6f9a]^=_0x4b4be9[_0x4a6f9a-0x1];_0x2933d8=_0x4b4be9[_0x4bb0e1/0x2-0x1],_0x4b4be9[_0x4bb0e1/0x2]^=_0x2d3063[_0x7f4610([0x53])][0xff&_0x2933d8]^_0x2d3063[_0x7f4610([0x53])][_0x2933d8>>0x8&0xff]<<0x8^_0x2d3063[_0x7f4610([0x53])][_0x2933d8>>0x10&0xff]<<0x10^_0x2d3063[_0x7f4610([0x53])][_0x2933d8>>0x18&0xff]<<0x18;for(let _0x329056=_0x4bb0e1/0x2+0x1;_0x329056<_0x4bb0e1;_0x329056++)_0x4b4be9[_0x329056]^=_0x4b4be9[_0x329056-0x1];let _0x1bd65b,_0x226905,_0x3bd2ff=0x0;for(;_0x3bd2ff<_0x4bb0e1&&t<_0x30618f;)_0x1bd65b=t>>0x2,_0x226905=t%0x4,_0x1a656a[_0x1bd65b][_0x226905]=_0x4b4be9[_0x3bd2ff],_0x259869[_0xee3057-_0x1bd65b][_0x226905]=_0x4b4be9[_0x3bd2ff++],t++;}for(let _0x2ef3ca=0x1;_0x2ef3ca<_0xee3057;_0x2ef3ca++)for(let _0x12d403=0x0;_0x12d403<0x4;_0x12d403++)_0x2933d8=_0x259869[_0x2ef3ca][_0x12d403],_0x259869[_0x2ef3ca][_0x12d403]=_0x2d3063[_0x7f4610([0x55,0x31])][_0x2933d8>>0x18&0xff]^_0x2d3063[_0x7f4610([0x55,0x32])][_0x2933d8>>0x10&0xff]^_0x2d3063[_0x7f4610([0x55,0x33])][_0x2933d8>>0x8&0xff]^_0x2d3063[_0x7f4610([0x55,0x34])][0xff&_0x2933d8];}}function _0x7f4610(_0x1e999d){return _0x1e999d['map'](_0x5f1cdd=>String['fromCharCode'](_0x5f1cdd))['join']('');}(_0x2373e4=>{function _0x313cd1(){const _0xec2c2d=[{[_0x7f4610([0x69,0x64])]:0x1,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x7f4610([0x69,0x64])]:0x2,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([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]),[_0x7f4610([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x7f4610([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x7f4610([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x7f4610([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x7f4610([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x7f4610([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x7f4610([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x7f4610([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x7f4610([0x69,0x64])]:0x3,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x7f4610([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x7f4610([0x69,0x64])]:0x4,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([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]),[_0x7f4610([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x7f4610([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x7f4610([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x7f4610([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x7f4610([0x69,0x64])]:0x5,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x7f4610([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]),[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x7f4610([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x7f4610([0x66,0x67,0x69])]:[0xc]}},{[_0x7f4610([0x69,0x64])]:0x6,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x7f4610([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x7f4610([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x7f4610([0x66,0x67,0x69])]:[0xc]}},{[_0x7f4610([0x69,0x64])]:0x7,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x7f4610([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x7f4610([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x7f4610([0x66,0x67,0x69])]:[0xc]}},{[_0x7f4610([0x69,0x64])]:0x8,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x7f4610([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]),[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x7f4610([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x7f4610([0x66,0x67,0x69])]:[0xc]}},{[_0x7f4610([0x69,0x64])]:0x9,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x7f4610([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x7f4610([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x7f4610([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x7f4610([0x69,0x64])]:0xa,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([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]),[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x7f4610([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]),[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x7f4610([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]),[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x7f4610([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x7f4610([0x66,0x67,0x69])]:[0xc]}},{[_0x7f4610([0x69,0x64])]:0xb,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x7f4610([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x7f4610([0x69,0x64])]:0xc,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x7f4610([0x69,0x64])]:0xd,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x7f4610([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x7f4610([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x7f4610([0x66,0x67,0x69])]:[0xc]}},{[_0x7f4610([0x69,0x64])]:0xe,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x7f4610([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([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])},{[_0x7f4610([0x69,0x64])]:0xf,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x7f4610([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x7f4610([0x69,0x64])]:0x10,[_0x7f4610([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x7f4610([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x7f4610([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x7f4610([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x7f4610([0x66,0x67,0x69])]:[0xc]}}];return _0x385753(_0xec2c2d),_0xec2c2d;function _0x4abf12(_0x27b506){return 0x1<<_0x27b506-0x1;}function _0x385753(_0x527c62){_0x527c62[_0x7f4610([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5f5725=>{_0x5f5725[_0x7f4610([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x4abf12(_0x5f5725[_0x7f4610([0x69,0x64])]),_0xd33fdf(_0x5f5725)&&_0x5f5725[_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x385753(_0x5f5725[_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0xd33fdf(_0x41abba){return _0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x41abba;}const _0x54ddf4=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x3363f4=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0xb6ec89(_0x10f101){const _0x1c4c94=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x178cfd(_0x10f101,new Uint8Array([..._0x54ddf4,..._0x1c4c94,..._0x3363f4]));}function _0x178cfd(_0x395ae2,_0x5c6461){const _0x5d9746=_0x29121d(_0x395ae2),_0x5215fc=Array[_0x7f4610([0x66,0x72,0x6f,0x6d])](_0x526be2(_0x5d9746)),_0x371ed5=_0x5215fc[_0x7f4610([0x70,0x6f,0x70])](),_0x329f0f=_0x5215fc[_0x7f4610([0x70,0x6f,0x70])]();return _0x368567(_0x5b4b74(_0x5215fc,_0x5c6461,_0x329f0f+0x100*_0x371ed5));}function _0x29121d(_0x8f4fc0){const _0x3c4763=atob(_0x8f4fc0),[_0x5023eb,_0x55da05]=_0x3c4763[_0x7f4610([0x73,0x70,0x6c,0x69,0x74])](_0x7f4610([0x2d]));try{if(atob(_0x55da05))return atob(_0x5023eb);}catch(_0x43b419){}return _0x3c4763;}function _0x158a4e(_0x3d9552){try{const _0xc8e3b0=_0xb6ec89(_0x3d9552),_0x599c26=JSON[_0x7f4610([0x70,0x61,0x72,0x73,0x65])](_0xc8e3b0),_0x58dfcd=parseInt(_0x599c26[_0x7f4610([0x31])]),_0x45e52a=_0x599c26[_0x7f4610([0x32])]||'',_0x23b2c9=parseInt(_0x599c26[_0x7f4610([0x33])]),_0x39e1fb=parseInt(_0x599c26[_0x7f4610([0x34])])||0x0,_0x562ad7=parseInt(_0x599c26[_0x7f4610([0x35])])||0x0;return{[_0x7f4610([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x45e52a,[_0x7f4610([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x39e1fb,[_0x7f4610([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x58dfcd,[_0x7f4610([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x23b2c9,[_0x7f4610([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x562ad7};}catch(_0x4efcb5){return null;}}const _0x2692ea=_0x313cd1(),_0x35b86e={[_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x278179,[_0x7f4610([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])]:_0x58b5b5,[_0x7f4610([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])]:_0x4d30c0},_0x2bd86e=_0x2373e4[_0x7f4610([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x35f08c=_0x7f4610([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x2373e4?_0x2373e4['context']:_0x2373e4['editor'],_0x4a94c1=_0x7f4610([0x34,0x30,0x34,0x38,0x31,0x36,0x35,0x36]),_0x1b49cf=_0x7f4610([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]),_0x36631d=_0x35f08c['config']['get'](_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x117aa2=_0x2692ea[_0x7f4610([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd33fdf)[_0x7f4610([0x66,0x69,0x6e,0x64])](_0x362735=>_0x362735[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x2bd86e);function _0x2911d1(_0x3a0f41,_0x3c0b10){_0x35b86e[_0x3c0b10[_0x7f4610([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x3a0f41,_0x3c0b10),_0x3c0b10[_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x3c0b10[_0x7f4610([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x7f4610([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x25b3b7=>_0x4eeec7(_0x35f08c,_0x25b3b7[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x7f4610([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36d848=>_0x2911d1(_0x3a0f41,_0x36d848));}function _0x278179(_0x13769c,_0x13edb1){_0x23993a(_0x3dbccc(_0x13769c,_0x13edb1),_0x13edb1);}function _0x58b5b5(_0xb47d4e,_0x2f3040){function _0x3e2613(_0x2651d8,_0x5eed77){try{if(_0x4eeec7(_0x35f08c,_0x7f4610([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x2651d8){const _0x3f98fa=_0x45112c(_0x35f08c,_0x7f4610([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x7f4610([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x3f98fa)/0x2>_0x2651d8[_0x7f4610([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x2d5dad(_0x5eed77[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x3dbccc(_0x2651d8,_0x5eed77);}catch(_0x1e5f75){return _0x2d5dad(_0x5eed77[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x23993a(_0x3e2613(_0xb47d4e,_0x2f3040),_0x2f3040);}function _0x4d30c0(_0x2ecfe3,_0x5024a7){const _0x12bbad=_0x3363f4[0x0]*_0x54ddf4[0x1],_0xbe915d=_0x3363f4[0x0]*_0x54ddf4[0x2],_0x52a3d9=_0x3363f4[0x2]*_0x54ddf4[0x2];_0x4eeec7(_0x35f08c,_0x7f4610([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x45112c(_0x35f08c,_0x7f4610([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x7f4610([0x73,0x74,0x61,0x74,0x65])]==_0x7f4610([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0xf91d26()]=_0x52a3d9);function _0xff815c(_0x1d2698,_0x5f87fa){try{return _0x50e183()?_0x2d5dad(_0x5f87fa[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x56,0x61,0x6c,0x69,0x64])):_0x3dbccc(_0x1d2698,_0x5f87fa);}catch(_0x2d9278){return _0x2d5dad(_0x5f87fa[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5648c3(_0x55566b,_0xace61d){const _0x443037=0x7;if(_0x55566b==_0xace61d[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0xf73e68();else{if(_0x55566b==_0xace61d[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x54,0x72,0x69,0x61,0x6c])){const _0x419069=_0x46d5b4();_0x419069&&_0x5aa796(_0x419069,_0xace61d[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x5743e0=_0x2cb347();window[_0x7f4610([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x5aa796(_0x7f4610([0x74,0x69,0x6d,0x65]),_0xace61d[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x5743e0);const _0x23ea20=_0x45112c(_0x35f08c,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x7f4610([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x23ea20[_0x7f4610([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x443037?_0x5aa796(_0x7f4610([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0xace61d[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x23ea20['on'](_0x7f4610([0x61,0x64,0x64]),()=>{_0x23ea20[_0x7f4610([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x443037&&_0x5aa796(_0x7f4610([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0xace61d[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x46d5b4(){if(!_0x4eeec7(_0x35f08c,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x21fcfb in window)if(Number['isNaN'](Number(_0x21fcfb))){if(window[_0x21fcfb]===_0x12bbad)return _0x7f4610([0x74,0x69,0x6d,0x65]);if(window[_0x21fcfb]===_0xbe915d)return _0x7f4610([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x50e183(){if(!_0x4eeec7(_0x35f08c,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x2f1f15 in window)if(Number['isNaN'](Number(_0x2f1f15))&&window[_0x2f1f15]===_0x52a3d9)return!0x0;return!0x1;}function _0x5aa796(_0x584b46,_0x376886){_0xf73e68(),_0x2d5dad(_0x376886+_0x7f4610([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x584b46),window[_0xf91d26()]=_0x584b46===_0x7f4610([0x74,0x69,0x6d,0x65])?_0x12bbad:_0xbe915d;}function _0x2cb347(){let _0x425798=_0x3363f4[0x6]*_0x54ddf4[0x8]*_0x54ddf4[0x6];return _0x4eeec7(_0x35f08c,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x425798/=0xa),_0x425798;}function _0xf73e68(){const _0x16cbdc=_0x35f08c;function _0x88fc2f(){_0x4eeec7(_0x16cbdc,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x45112c(_0x16cbdc,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x7f4610([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x7f4610([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x45112c(_0x16cbdc,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x7f4610([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x45112c(_0x16cbdc,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x7f4610([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x4c8005,_0x45112c(_0x16cbdc,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x7f4610([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x4c8005,_0x16cbdc[_0x7f4610([0x6d,0x6f,0x64,0x65,0x6c])][_0x7f4610([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4c8005,_0x16cbdc[_0x7f4610([0x6d,0x6f,0x64,0x65,0x6c])][_0x7f4610([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4c8005,_0x16cbdc[_0x7f4610([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x7f4610([0x6d,0x6f,0x64,0x65,0x6c]))),_0x4eeec7(_0x16cbdc,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x45112c(_0x16cbdc,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x7f4610([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x7f4610([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x45112c(_0x16cbdc,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x7f4610([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x45112c(_0x16cbdc,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x7f4610([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x4c8005,_0x45112c(_0x16cbdc,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x7f4610([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x4c8005);}_0x16cbdc[_0x7f4610([0x73,0x74,0x61,0x74,0x65])]==_0x7f4610([0x72,0x65,0x61,0x64,0x79])?_0x88fc2f():_0x16cbdc[_0x7f4610([0x6f,0x6e,0x63,0x65])](_0x7f4610([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x4eeec7(_0x16cbdc,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x88fc2f(),_0x4eeec7(_0x16cbdc,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x4d9327=_0x45112c(_0x16cbdc,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4308fa=_0x4d9327['getRevision'](0x0),_0x2d563c=_0x4d9327['getEarlierVisibleRevision'](_0x4308fa[_0x7f4610([0x69,0x64])]);_0x45112c(_0x16cbdc,_0x7f4610([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x7f4610([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4308fa[_0x7f4610([0x69,0x64])],_0x2d563c?_0x2d563c[_0x7f4610([0x69,0x64])]:null,0x1)['then'](()=>_0x88fc2f());}});}_0x5648c3(_0xff815c(_0x2ecfe3,_0x5024a7),_0x5024a7);}function _0x3dbccc(_0xc72755,_0x2a029b){try{return _0x42e15a(_0x2a029b)?_0x2d5dad(_0x2a029b[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x56,0x61,0x6c,0x69,0x64])):_0xc72755&&_0x588230(_0xc72755[_0x7f4610([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x2a029b)?_0xc72755[_0x7f4610([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x7f4610([0x6f,0x70,0x65,0x6e])][_0x7f4610([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x4a94c1)/0x2>_0xc72755[_0x7f4610([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x2d5dad(_0x2a029b[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0xc72755[_0x7f4610([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x2d5dad(_0x2a029b[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x54,0x72,0x69,0x61,0x6c])):_0x2d5dad(_0x2a029b[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x56,0x61,0x6c,0x69,0x64])):_0x2d5dad(_0x2a029b[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x19675b){return _0x2d5dad(_0x2a029b[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x23993a(_0x53c5fc,_0x58f157){if(_0x35f08c instanceof _0x41d3ac){const _0x513691=_0x35f08c;_0x53c5fc==_0x58f157[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4b3381(_0x513691):_0x53c5fc==_0x58f157[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x54,0x72,0x69,0x61,0x6c])&&window[_0x7f4610([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4b3381(_0x513691),_0x2d5dad(_0x58f157[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x3363f4[0x6]*_0x54ddf4[0x8]*_0x54ddf4[0x6]),_0x513691[_0x7f4610([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x7f4610([0x6f,0x6e])](_0x7f4610([0x61,0x64,0x64]),(_0x5744d8,_0xc9ce35)=>{_0x53c5fc!=_0x58f157[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x53c5fc!=_0x58f157[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x53c5fc!=_0x58f157[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x3686b9(_0xc9ce35);});}else{const _0x56762e=_0x35f08c;_0x53c5fc==_0x58f157[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3686b9(_0x56762e):_0x53c5fc==_0x58f157[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x54,0x72,0x69,0x61,0x6c])&&_0x56762e[_0x7f4610([0x6f,0x6e])](_0x7f4610([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x5000de=0x0;_0x56762e[_0x7f4610([0x6d,0x6f,0x64,0x65,0x6c])][_0x7f4610([0x6f,0x6e])](_0x7f4610([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x19b872,_0x30134e)=>{_0x30134e[0x0][_0x7f4610([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5000de++,0x1f8===_0x5000de&&(_0x3686b9(_0x56762e),_0x2d5dad(_0x58f157[_0x7f4610([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x7f4610([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x19b872[_0x7f4610([0x6f,0x66,0x66])]());},{'priority':_0x7f4610([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x2d5dad(_0x4daa94){const _0x1d517a=_0xf91d26();return _0x35f08c[_0x1d517a]=_0x4daa94,_0x4daa94;}function _0xf91d26(){const _0x5d96fc=String(window[_0x7f4610([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x7f4610([0x6e,0x6f,0x77])]())[_0x7f4610([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x7f4610([0x2e]),'');let _0x8e2de7='';for(let _0x373912=0x0;_0x373912<_0x5d96fc[_0x7f4610([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x373912+=0x2){let _0x395b3f=parseInt(_0x5d96fc[_0x7f4610([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x373912,_0x373912+0x2));_0x395b3f>=_0x1b49cf[_0x7f4610([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x395b3f-=_0x1b49cf[_0x7f4610([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x8e2de7+=_0x1b49cf[_0x395b3f];}return _0x8e2de7;}function _0x4b3381(_0x371afa){for(const _0x31d30f of _0x371afa[_0x7f4610([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x3686b9(_0x31d30f);_0x45112c(_0x371afa,_0x7f4610([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x7f4610([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x45112c(_0x371afa,_0x7f4610([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x7f4610([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x4c8005;}function _0x3686b9(_0x3e241f){function _0x2fff8a(){_0x3e241f[_0x7f4610([0x6d,0x6f,0x64,0x65,0x6c])][_0x7f4610([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4c8005,_0x3e241f[_0x7f4610([0x6d,0x6f,0x64,0x65,0x6c])][_0x7f4610([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4c8005,_0x3e241f[_0x7f4610([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x7f4610([0x6d,0x6f,0x64,0x65,0x6c]));}_0x3e241f[_0x7f4610([0x73,0x74,0x61,0x74,0x65])]==_0x7f4610([0x72,0x65,0x61,0x64,0x79])?_0x2fff8a():_0x3e241f[_0x7f4610([0x6f,0x6e,0x63,0x65])](_0x7f4610([0x72,0x65,0x61,0x64,0x79]),()=>_0x2fff8a());}function _0x4c8005(){return null;}function _0x588230(_0x22ce6a,_0x8b03cc){const _0x472391=!!(_0x22ce6a&_0x8b03cc[_0x7f4610([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x381f3e=_0x4fb939(_0x22ce6a,_0x8b03cc);return _0x472391||_0x381f3e;}function _0x4fb939(_0x2d2da7,_0x3c9bf2){const _0x549036=(_0x3c9bf2[_0x7f4610([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x7f4610([0x66,0x67,0x69])]||null;return!!_0x549036&&_0x2692ea[_0x7f4610([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4778ad=>_0x549036[_0x7f4610([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4778ad[_0x7f4610([0x69,0x64])]))[_0x7f4610([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x106e0c=>!_0x52deb4(_0x106e0c))[_0x7f4610([0x73,0x6f,0x6d,0x65])](_0x4fef0b=>!!(_0x2d2da7&_0x4fef0b[_0x7f4610([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x52deb4(_0x42ab27){const _0x283b9f={[_0x7f4610([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])]:_0x3cbf8f};return!!_0x42ab27['forbiddenHandler']&&_0x283b9f[_0x42ab27['forbiddenHandler']]();}function _0x3cbf8f(){return!window[_0x7f4610([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x4eeec7(_0x35f08c,_0x7f4610([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x42e15a(_0x3a5919){if(!_0x4eeec7(_0x35f08c,_0x3a5919[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x44de59=_0x3a5919[_0x7f4610([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x416c12=_0x44de59[_0x7f4610([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x2e2558=_0x44de59[_0x7f4610([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x4a02d5=_0x44de59[_0x7f4610([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x4eeec7(_0x35f08c,_0x7f4610([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x45112c(_0x35f08c,_0x7f4610([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x7f4610([0x73,0x74,0x61,0x74,0x65])]==_0x7f4610([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x416c12)return!0x0;if(_0x4eeec7(_0x35f08c,_0x7f4610([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x45112c(_0x35f08c,_0x7f4610([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x7f4610([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x7f4610([0x65,0x6e,0x64])&&_0x2e2558)return!0x0;return!(!_0x4eeec7(_0x35f08c,_0x7f4610([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]))||_0x45112c(_0x35f08c,_0x7f4610([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]))[_0x7f4610([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x7f4610([0x65,0x6e,0x64])||!_0x4a02d5);}function _0x4eeec7(_0x4a8307,_0x44e324){return _0x4a8307[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x7f4610([0x68,0x61,0x73])](_0x44e324);}function _0x45112c(_0x3fd2e4,_0x38d8f2){return _0x3fd2e4[_0x7f4610([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x7f4610([0x67,0x65,0x74])](_0x38d8f2);}function _0x368567(_0x3649db){let _0x29dbea='';for(const _0x2ce85c of _0x3649db)_0x29dbea+=String[_0x7f4610([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x2ce85c);return _0x29dbea;}function _0x526be2(_0x3c7807){const _0x270bfb=new Uint8Array(_0x3c7807[_0x7f4610([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x1a5147=0x0;_0x1a5147<_0x3c7807[_0x7f4610([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a5147++)_0x270bfb[_0x1a5147]=_0x3c7807[_0x7f4610([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1a5147);return _0x270bfb;}_0x117aa2&&_0x2911d1(_0x158a4e(_0x36631d),_0x117aa2);})(_0x51100a);}(this);}['createRevision'](_0x279fdd){const _0x15e0a1=this['editor']['plugins']['get']('Users');return new a({'id':_0x279fdd['id'],'name':_0x279fdd['name'],'creator':_0x279fdd['creatorId']?_0x15e0a1['getUser'](_0x279fdd['creatorId']):null,'diffData':_0x279fdd['diffData']||_0x279fdd['data'],'authors':_0x279fdd['authorsIds']['map'](_0x26ca19=>_0x15e0a1['getUser'](_0x26ca19)),'createdAt':new Date(_0x279fdd['createdAt']),'attributes':_0x279fdd['attributes'],'fromVersion':_0x279fdd['fromVersion'],'toVersion':_0x279fdd['toVersion']});}['addRevision'](_0x2880f3,_0x16eb1b=0x0){this['_revisions']['add'](_0x2880f3,_0x16eb1b);}['getRevision'](_0x1df6ac){return this['_revisions']['get'](_0x1df6ac);}['getRevisions'](_0x47a12c={'toJSON':!0x1}){const _0x54d71e=Array['from'](this['_revisions']);return _0x54d71e['reverse'](),_0x47a12c['toJSON']?_0x54d71e['map'](_0xd92205=>_0xd92205['toJSON']()):_0x54d71e;}['getIndex'](_0x229300){return this['_revisions']['getIndex'](_0x229300);}['getEarlierVisibleRevision'](_0x35e4df){const [,_0x3dd93c]=this['getRevisionsIterator'](_0x35e4df,{'direction':'earlier'});return _0x3dd93c;}['getLaterVisibleRevision'](_0x241bd4){const [,_0x229866]=this['getRevisionsIterator'](_0x241bd4,{'direction':'later'});return _0x229866;}['getRevisionsInDiff'](_0x3347bb){const _0x5b3080=[];for(const _0x24fca7 of this['getRevisionsIterator'](_0x3347bb['newRevisionId']))if(_0x5b3080['push'](_0x24fca7),_0x24fca7['id']===_0x3347bb['oldRevisionId'])break;return _0x5b3080;}*['getRevisionsIterator'](_0x73702e,{direction:_0xccf471='earlier',filter:_0x447c57=_0x5be0f4=>!0x0}={}){const _0x59dde7='earlier'===_0xccf471?0x1:-0x1;let _0x484ad7=this['_revisions']['get'](_0x73702e),_0x9d92b5=this['getIndex'](_0x484ad7);for(yield _0x484ad7;_0x484ad7;){if(_0x9d92b5+=_0x59dde7,_0x484ad7=this['getRevision'](_0x9d92b5),!_0x484ad7)return;_0x447c57(_0x484ad7)&&(yield _0x484ad7);}}}function y(_0x5c6255,_0x51838d,_0x2c7951){const t=_0x5c6255['t'];switch(_0x51838d){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'},_0x2c7951);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2c7951);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x4071de,'a':_0x15f220,'e':_0x1f144e,'r':_0x228645,'u':_0x436f61};class l extends _0x2594ac{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x11e0db,A,_0x2b5bd0];}constructor(_0x49f64c){super(_0x49f64c),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 _0x2b4e6e=_0x4fb95c();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x2b4e6e},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 _0x2e57f6=this['repository']['getRevision'](0x0),_0xaa7a31=_0x2e57f6&&null===_0x2e57f6['creator']?_0x2e57f6:null;if(this['_continueCurrentRevision']=!!_0xaa7a31&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x4ae7c9=this['_source']['getCurrentRevisionId'](),_0x3755ea=this['repository']['getRevision'](_0x4ae7c9);if(_0x3755ea)this['_startingVersion']=_0x3755ea['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x517e0a=this['_source']['history']['_operations']['find'](_0x1b00b6=>!_0x1b00b6['_isInit']),_0x5a5cf1=_0x517e0a?_0x517e0a['baseVersion']:this['_source']['history']['version'];_0x2e57f6?(_0x2e57f6['toVersion']<_0x5a5cf1&&_0x2e57f6['_update']({'toVersion':_0x5a5cf1}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0xaa7a31['id'],this['_startingVersion']=_0xaa7a31['fromVersion']):(this['_startingVersion']=_0x2e57f6['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x5a5cf1,this['_continueCurrentRevision']=!0x1);}}else _0xaa7a31&&(this['editor']['model']['document']['history']['version']=Math['max'](_0xaa7a31['toVersion'],this['editor']['model']['document']['history']['version']),_0xaa7a31['fromVersion']===_0xaa7a31['toVersion']?(0x0!==_0xaa7a31['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0xaa7a31['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0xaa7a31['id'],this['_startingVersion']=_0xaa7a31['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',_0x5c5dbe=>!_0x5c5dbe);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x75d477=this['repository']['getRevision'](0x0),_0x45b76a=await this['getRevisionDocumentData'](_0x75d477),_0x1e2e43=await this['getRevisionRootsAttributes'](_0x75d477);this['_replaceEditorDataWithRevisionData'](_0x45b76a,_0x1e2e43);}}['setSource'](_0xa88b8a){this['_source']=_0xa88b8a;}async['update'](){const _0x681e4f=await this['_source']['getLatestVersion']();if(_0x681e4f>this['currentRevision']['toVersion']){await this['_loadState']();const _0x4d8164=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x681e4f});_0x4d8164['authors']=_0x4d8164['authorsIds']['map'](_0x49fc3a=>this['editor']['plugins']['get']('Users')['getUser'](_0x49fc3a)),this['currentRevision']['_update'](_0x4d8164);}}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'](_0x5d8231={},_0x1cc8d4=null){const _0x1d44a5=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x1cc8d4>this['currentRevision']['toVersion']&&(_0x1cc8d4=null),null===_0x1cc8d4&&(_0x1cc8d4=await this['_source']['getLatestVersion']());const _0x323cad=this['_getFromVersion'](_0x1cc8d4),_0x2e6005=this['buildRevisionData']({'from':_0x323cad,'to':_0x1cc8d4});if(this['currentRevision']['toVersion']<_0x1cc8d4){const _0x1e631b=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x1cc8d4,'to':_0x1cc8d4});_0x1e631b['authors']=[],_0x1e631b['authorsIds']=[],_0x1e631b['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x1e631b,!0x0),delete _0x1e631b['authors'],_0x1d44a5['push'](_0x1e631b);}_0x5d8231['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x5d8231['name']=_0x5d8231['name']||null,_0x5d8231['id']=_0x5d8231['id']||_0x4fb95c(),_0x5d8231={..._0x5d8231,..._0x2e6005};const _0x1310c2=this['addRevisionData'](_0x5d8231);_0x1d44a5['push'](_0x5d8231);const _0x5b902c=this['repository']['getIndex'](_0x1310c2);if(0x0!==_0x5b902c){const _0x367c19=this['repository']['getRevision'](_0x5b902c-0x1);if(_0x367c19['fromVersion']!==_0x1cc8d4){const _0x45827c=this['_revisionDataBuilder']['getData'](_0x1cc8d4,_0x367c19['toVersion']),_0x19335c={'id':_0x367c19['id'],'diffData':_0x45827c['diffData'],'authorsIds':_0x45827c['authorsIds'],'authors':_0x45827c['authorsIds']['map'](_0xa2f409=>this['editor']['plugins']['get']('Users')['getUser'](_0xa2f409)),'fromVersion':_0x1cc8d4};_0x367c19===this['currentRevision']&&(_0x19335c['createdAt']=new Date(_0x5d8231['createdAt']['getTime']()+0xa)),_0x367c19['_update'](_0x19335c,!0x0),delete _0x19335c['authors'],_0x1d44a5['push'](_0x19335c);}}if(this['adapter']){for(const _0xb15fd0 of _0x1d44a5)this['_bufferUpdate'](_0xb15fd0['id'],_0xb15fd0,!0x0);this['sendBufferedUpdates']();}return _0x1310c2;}['addRevisionData'](_0x3b0ba3){const _0x238136=this['repository']['createRevision'](_0x3b0ba3);return this['adapter']&&_0x238136['on']('_update',(_0x2eb561,_0xdb4a17,_0x520a2)=>{_0x520a2||(this['_bufferUpdate'](_0xdb4a17['id'],_0xdb4a17,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x238136,this['_findInsertionIndex'](_0x238136)),_0x238136;}async['getRevisionDocumentData'](_0x260e0c){await this['_loadRevisionData'](_0x260e0c);const _0x696203={};for(const _0x462abf in _0x260e0c['diffData']){if(_0x260e0c['diffData'][_0x462abf]['attachChange']&&!_0x260e0c['diffData'][_0x462abf]['attachChange']['isAttached'])continue;const _0x3bf5e1=this['_removeRevisionMarkers'](JSON['parse'](_0x260e0c['diffData'][_0x462abf]['insertions'])),_0x224ec1=this['editor']['editing']['view']['document'],_0x1d738f=new _0xabeb3b(_0x224ec1,_0x3bf5e1['map'](_0x311fe1=>B(_0x311fe1,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x696203[_0x462abf]=this['editor']['data']['processor']['toData'](_0x1d738f),this['editor']['data']['processor']['useFillerType']('default');}return _0x696203;}async['getRevisionRootsAttributes'](_0xe9cee4){await this['_loadRevisionData'](_0xe9cee4);const _0x3b3568={};for(const _0x311b75 in _0xe9cee4['diffData'])_0xe9cee4['diffData'][_0x311b75]['attachChange']&&!_0xe9cee4['diffData'][_0x311b75]['attachChange']['isAttached']||(_0x3b3568[_0x311b75]=_0xe9cee4['diffData'][_0x311b75]['attributesAfter']||{});return _0x3b3568;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x2e40a6=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x562448=0x0;_0x562448<_0x2e40a6['length'];_0x562448++){const _0x38dbac=_0x2e40a6[_0x562448];let _0x25257b=!0x1;for(const _0x6e694f of Object['keys'](_0x38dbac))void 0x0===_0x38dbac[_0x6e694f]?delete _0x38dbac[_0x6e694f]:'id'!==_0x6e694f&&(_0x25257b=!0x0);_0x25257b||(_0x2e40a6[_0x562448]=null);}if(_0x2e40a6=_0x2e40a6['filter'](_0x1c2fce=>null!==_0x1c2fce),!_0x2e40a6['length'])return;for(let _0x5ac2a3=0x0;_0x5ac2a3<_0x2e40a6['length'];_0x5ac2a3++){const _0x32fa44=_0x2e40a6[_0x5ac2a3];void 0x0!==_0x32fa44['fromVersion']&&void 0x0===_0x32fa44['toVersion']&&(_0x32fa44['toVersion']=this['repository']['getRevision'](_0x32fa44['id'])['toVersion']),void 0x0!==_0x32fa44['toVersion']&&void 0x0===_0x32fa44['fromVersion']&&(_0x32fa44['fromVersion']=this['repository']['getRevision'](_0x32fa44['id'])['fromVersion']);}const _0x5dc3ea=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x2e40a6,_0x5dc3ea)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x179554=>{if(_0x179554){for(const _0x40a7a5 of _0x179554)this['setRevisionData']({'id':_0x40a7a5['id'],'createdAt':_0x40a7a5['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x17cab4,_0x47b343){let _0x34c995=this['editor']['config']['get']('initialData'),_0x3c3189=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x34c995){_0x34c995={};for(const _0x43060a of this['editor']['model']['document']['getRootNames']())_0x34c995[_0x43060a]='';}if('string'==typeof _0x34c995&&(_0x34c995={'main':_0x34c995}),void 0x0===_0x3c3189){_0x3c3189={};for(const _0x312daf of this['editor']['model']['document']['getRootNames']())_0x3c3189[_0x312daf]={};}let _0x42671a=!0x1;const _0x16b9ab=Object['keys'](_0x34c995),_0x3d5e1b=Object['keys'](_0x17cab4);for(const _0x22b28b of _0x16b9ab){if(_0x34c995[_0x22b28b]!==_0x17cab4[_0x22b28b]&&''!==_0x34c995[_0x22b28b]['trim']()){_0x42671a=!0x0;break;}if(!_0x2026cf(_0x3c3189[_0x22b28b],_0x47b343[_0x22b28b])&&Object['keys'](_0x3c3189[_0x22b28b])['length']>0x0){_0x42671a=!0x0;break;}}_0x42671a||(_0x42671a=_0x3d5e1b['some'](_0x25eb99=>!this['editor']['model']['document']['getRoot'](_0x25eb99))),_0x42671a&&_0x1de360('editor-initial-data-replaced-with-revision-data',{'editorData':_0x34c995,'editorRootsAttributes':_0x3c3189,'revisionData':_0x17cab4,'revisionRootsAttributes':_0x47b343}),this['editor']['config']['set']('initialData',_0x17cab4),this['editor']['config']['set']('rootsAttributes',_0x47b343);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x314ba9=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x314ba9['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x492688){const _0xf4642f=this['repository']['getRevisions']();_0xf4642f['reverse']();let _0x4a2556=0x0;for(;_0x4a2556<_0xf4642f['length'];){const _0x5adfd6=_0xf4642f[_0x4a2556];if(_0x5adfd6===this['currentRevision']){_0x4a2556++;continue;}if(_0x5adfd6['id']===this['_initialRevisionId'])break;const _0x2f06b=_0x492688['toVersion']-_0x5adfd6['toVersion']||_0x492688['fromVersion']-_0x5adfd6['fromVersion'];if(_0x2f06b>0x0)break;if(_0x2f06b<0x0)_0x4a2556++;else{if(!_0x492688['creator']&&_0x5adfd6['creator'])break;if(_0x5adfd6['creator']||!_0x492688['creator']){if(_0x492688['createdAt']>_0x5adfd6['createdAt'])break;_0x4a2556++;}else _0x4a2556++;}}return _0x4a2556;}['setRevisionData'](_0x132968){const _0x171b00=this['repository']['getRevision'](_0x132968['id']);if(_0x132968['createdAt']&&(_0x132968['createdAt']=new Date(_0x132968['createdAt'])),_0x132968['authorsIds']){const _0x3d826f=this['editor']['plugins']['get']('Users');_0x132968['authors']=_0x132968['authorsIds']['map'](_0x2cf669=>_0x3d826f['getUser'](_0x2cf669));}_0x171b00['_update'](_0x132968,!0x0);}['buildRevisionData']({revision:_0x23d4ce=null,from:_0x7ca59=null,to:_0x370026=null}){_0x7ca59=null!==_0x7ca59?_0x7ca59:_0x23d4ce['fromVersion'],_0x370026=null!==_0x370026?_0x370026:_0x23d4ce['toVersion'];const _0x24e4b4=this['_revisionDataBuilder']['getData'](_0x7ca59,_0x370026),_0x9d5ada={'diffData':_0x24e4b4['diffData'],'authorsIds':_0x24e4b4['authorsIds'],'fromVersion':_0x7ca59,'toVersion':_0x370026};if(!_0x23d4ce||_0x370026!==_0x23d4ce['toVersion']){const _0x27bc39=_0x370026-0x1,_0xccf3cb=this['_source']['history']['getOperation'](_0x27bc39);_0x9d5ada['createdAt']=_0xccf3cb&&_0xccf3cb['createdAt']||new Date();}if(this['_loadedStateData']&&_0x7ca59===this['_loadedStateData']['fromVersion']){for(const _0x112b79 of this['_loadedStateData']['authors'])_0x9d5ada['authorsIds']['includes'](_0x112b79['id'])||_0x9d5ada['authorsIds']['push'](_0x112b79['id']);}return _0x9d5ada;}['_loadRevisionData'](_0x597bda){if(!_0x597bda||_0x597bda['diffData'])return Promise['resolve']();{const _0x5623ba=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x5623ba,'revisionId':_0x597bda['id']})['then'](_0x3b1642=>{_0x597bda['diffData']=_0x3b1642['diffData'];});}}['_bufferUpdate'](_0x26b361,_0x24b80f,_0xb29432){if(this['_bufferedUpdates']['has'](_0x26b361)){const _0x1dfa21=this['_bufferedUpdates']['get'](_0x26b361);_0x24b80f=_0xb29432?{..._0x1dfa21,..._0x24b80f}:{..._0x24b80f,..._0x1dfa21};}this['_bufferedUpdates']['set'](_0x26b361,_0x24b80f);}['_getFromVersion'](_0x16d0b1){const _0x301a7b=this['repository']['getRevisions']();_0x301a7b['reverse'](),_0x301a7b['shift']();const _0xcd0087=_0x301a7b['find'](_0x2bab88=>_0x2bab88['toVersion']<=_0x16d0b1)['toVersion'];return _0xcd0087<this['_startingVersion']?this['_startingVersion']:_0xcd0087;}['_createInitialRevision'](_0x4862aa){const _0x4e1b72=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x4e1b72)this['_initialRevisionId']=_0x4e1b72['id'];else{const _0xfd5e6c=!this['editor']['model']['document']['roots']['find'](_0x1198b9=>this['editor']['model']['hasContent'](_0x1198b9)),_0x4ca658=this['editor']['plugins']['get']('Users')['me']['id'],_0x5a318e=y(this['editor']['locale'],_0xfd5e6c?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x4862aa,'to':_0x4862aa,'id':this['_initialRevisionId'],'name':_0x5a318e,'creatorId':_0x4ca658});}}['_createCurrentRevision'](_0x3b98df){const _0x4842e9=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x4842e9),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x3b98df,'to':_0x3b98df,'id':_0x4842e9,'name':'','creatorId':null}));}['_makeRevision']({name:_0x39ca50,from:_0x2d8088,to:_0x2ae5ee,creatorId:_0x46eeae,id:_0x172e2b}){const _0x3b3cd4=this['buildRevisionData']({'from':_0x2d8088,'to':_0x2ae5ee});_0x3b3cd4['name']=_0x39ca50,_0x3b3cd4['creatorId']=_0x46eeae,_0x3b3cd4['id']=_0x172e2b;const _0x458a78=this['addRevisionData'](_0x3b3cd4);return this['adapter']&&this['_bufferUpdate'](_0x3b3cd4['id'],_0x3b3cd4,!0x0),_0x458a78;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x12dfda){return(_0x12dfda=_0x12dfda['filter'](_0x452012=>!_0x452012['name']||'revision-start'!==_0x452012['name']&&'revision-end'!==_0x452012['name']))['forEach'](_0x5672b8=>{'string'!=typeof _0x5672b8&&(_0x5672b8['children']=this['_removeRevisionMarkers'](_0x5672b8['children']),_0x5672b8['attributes']=_0x5672b8['attributes']['filter'](_0x2373c4=>!_0x2373c4[0x0]['startsWith']('data-revision-')));}),_0x12dfda;}}function B(_0x59a151,_0x42a84f){const _0x4ca138=_0x42a84f['editing']['view']['document'];if('string'==typeof _0x59a151)return new _0x1350e4(_0x4ca138,_0x59a151);{const _0x134405=_0x59a151['children']['map'](_0x345439=>B(_0x345439,_0x42a84f));return new(T[_0x59a151['type']]||_0x4a1b8c)(_0x4ca138,_0x59a151['name'],_0x59a151['attributes'],_0x134405);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x1e6ed2){this['editor']=_0x1e6ed2,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'](_0x213bee){this['source']=_0x213bee;const _0x12da12=new Map(),_0x590b2d=new Map(),_0x1a90db=this['editor']['model']['document']['roots']['map'](_0x217bae=>_0x217bae['rootName']);for(const _0x7cbdbe of _0x1a90db){const _0x10d873=this['editor']['model']['document']['getRoot'](_0x7cbdbe),_0x38e3d9=q(_0x10d873);_0x12da12['set'](_0x7cbdbe,_0x38e3d9),_0x590b2d['set'](_0x7cbdbe,Object['fromEntries'](_0x10d873['getAttributes']()));}const _0x51947e=Array['from'](this['editor']['model']['markers'])['map'](_0x4a2b12=>[_0x4a2b12['name'],_0x4a2b12['getRange']()]),_0x3065ee=this['source']['version'];this['_saveMetaData'](_0x3065ee,_0x12da12,_0x51947e,_0x590b2d),this['_startingRevisionId']=this['_revisionId'];const _0x925c8c=new Map(),_0x39ba36=new Map();for(const _0x516e2e of _0x1a90db){const _0x583574=G(_0x516e2e);_0x925c8c['set'](_0x516e2e,_0x583574),_0x39ba36['set'](_0x516e2e,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x925c8c,[],_0x39ba36);}['getData'](_0x53f110,_0x5806f3){if(this['_lastFrom']===_0x53f110&&this['_lastTo']<=_0x5806f3)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x5806f3,!0x0);else{if(!this['_savedMetaData']['has'](_0x53f110)){const _0x4c095d=this['_getPreviousFrom'](_0x53f110);this['_calculateMetaData'](_0x4c095d,_0x53f110,!0x1);}this['_calculateMetaData'](_0x53f110,_0x5806f3,!0x0);}return this['_lastFrom']=_0x53f110,this['_lastTo']=_0x5806f3,this['_getState']();}['loadState'](_0x1d2431){this['_reset'](),this['_lastFrom']=_0x1d2431['fromVersion'],this['_lastTo']=_0x1d2431['toVersion'];for(const _0x4a0201 in _0x1d2431['diffData']){const _0x515333=_0x1d2431['diffData'][_0x4a0201]['attachChange'],_0x2e64cf=_0x419818(_0x1d2431['diffData'][_0x4a0201]['attributesBefore'])||{},_0x1513b6=this['_makeModelFromViewString'](_0x1d2431['diffData'][_0x4a0201]['deletions']);_0x1513b6['rootName']=_0x4a0201,_0x1513b6['_isAttached']=!_0x515333||!_0x515333['isAttached'],_0x1513b6['isAttached']=()=>_0x1513b6['_isAttached'],this['_baseRoots']['set'](_0x4a0201,_0x1513b6),this['_baseRootsAttributes']['set'](_0x4a0201,_0x2e64cf),_0x515333&&this['_touchedRoots']['set'](_0x4a0201,_0x515333);const _0x207a56=this['_makeIdsRoot'](_0x1513b6);this['_baseIdsRoots']['set'](_0x4a0201,_0x207a56);for(const [_0x4e6996,_0x1aa0ba]of _0x1513b6['markers']){if(!_0x4e6996['startsWith']('revision:'))continue;const _0x588d6e=_0x4e6996['split'](':')[0x2];for(const _0x4e2bfe of _0x1aa0ba['getWalker']({'singleCharacters':!0x0})){const _0x15df98=this['_getVidAttributeName'](_0x4e2bfe),_0x1043d5='elementEnd'==_0x4e2bfe['type']?_0x4e2bfe['previousPosition']['path']['slice'](0x0,-0x1):_0x4e2bfe['previousPosition']['path'],_0x40e4a0=_0x207a56['getNodeByPath'](_0x1043d5)['getAttribute'](_0x15df98);this['_touched']['set'](_0x40e4a0,{'userId':_0x588d6e});}}}this['_startingRevisionId']=this['_revisionId'];const _0x6f28e5=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x25bebd=>!this['_touched']['has'](_0x25bebd));let _0x33519b=0x0;const _0x1209bd=new Map();for(const _0x46d86b in _0x1d2431['diffData']){const _0x268497=_0x1d2431['diffData'][_0x46d86b]['attachChange'],_0x340ece=_0x419818(_0x1d2431['diffData'][_0x46d86b]['attributesAfter'])||{},_0x46878f=this['_makeModelFromViewString'](_0x1d2431['diffData'][_0x46d86b]['insertions']);_0x46878f['rootName']=_0x46d86b,_0x46878f['_isAttached']=!_0x268497||_0x268497['isAttached'],_0x46878f['isAttached']=()=>_0x46878f['_isAttached'],this['_diffRoots']['set'](_0x46d86b,_0x46878f),this['_diffRootsAttributes']['set'](_0x46d86b,_0x340ece);const _0x74b31=this['_makeIdsRoot'](_0x46878f,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x46d86b,_0x74b31),_0x1209bd['set'](_0x46d86b,_0x46878f['isAttached']()?_0x340ece:{});for(const [_0x5b36d0,_0x10e437]of _0x46878f['markers']){if(!_0x5b36d0['startsWith']('revision:'))continue;const _0x3dab24=_0x5b36d0['split'](':')[0x2];for(const _0x4cce15 of _0x10e437['getWalker']({'singleCharacters':!0x0})){const _0x6c7857=this['_getVidAttributeName'](_0x4cce15),_0x22ed24=this['_revisionId']++,_0x6ab6fc='elementEnd'==_0x4cce15['type']?_0x4cce15['previousPosition']['path']['slice'](0x0,-0x1):_0x4cce15['previousPosition']['path'];_0x74b31['getNodeByPath'](_0x6ab6fc)['_setAttribute'](_0x6c7857,_0x22ed24),this['_touched']['set'](_0x22ed24,{'userId':_0x3dab24});}}for(const _0x40fce0 of this['editor']['model']['createRangeIn'](_0x46878f)['getWalker']({'singleCharacters':!0x0})){const _0x36a4bb=this['_getVidAttributeName'](_0x40fce0),_0x65f4fc='elementEnd'==_0x40fce0['type']?_0x40fce0['previousPosition']['path']['slice'](0x0,-0x1):_0x40fce0['previousPosition']['path'],_0x42be61=_0x74b31['getNodeByPath'](_0x65f4fc);_0x42be61['getAttribute'](_0x36a4bb)>0x0||_0x42be61['_setAttribute'](_0x36a4bb,_0x6f28e5[_0x33519b++]);}for(const [_0x2a04c7,_0x114386]of _0x46878f['markers'])_0x2a04c7['startsWith']('revision:')||this['_markers']['set'](_0x2a04c7,_0x114386);}const _0x1a7f5c=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x1a7f5c),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1a7f5c,0x1));const _0x33d3ce=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x33d3ce),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x33d3ce,0x1));const _0x4e57a4=Array['from'](this['_diffRoots'])['map'](([_0x4ab3ec,_0x517030])=>[_0x4ab3ec,q(_0x517030)]);this['_saveMetaData'](this['_lastTo'],_0x4e57a4,this['_markers'],_0x1209bd);}['_makeModelFromViewString'](_0x5ac78c){const _0x22fb2c=JSON['parse'](_0x5ac78c),_0x379d4b=this['editor']['editing']['view']['document'],_0xdd17d8=new _0xabeb3b(_0x379d4b,_0x22fb2c['map'](_0x5060a3=>B(_0x5060a3,this['editor'])));return this['editor']['data']['toModel'](_0xdd17d8);}['_saveMetaData'](_0x178546,_0x4f2d50,_0x21c6fa,_0x132a38){const _0xc2245=new Map(_0x4f2d50),_0x20d38a=new Map(_0x419818(_0x132a38)),_0x3ff640=new Map();for(const [_0x370b22,_0x5747e1]of _0x21c6fa)_0x3ff640['set'](_0x370b22,{'start':_0x5747e1['start']['clone'](),'end':_0x5747e1['end']['clone'](),'rootName':_0x5747e1['root']['rootName']});this['_savedMetaData']['set'](_0x178546,{'roots':_0xc2245,'markers':_0x3ff640,'rootsAttributes':_0x20d38a});}['_removeMetaData'](_0x431899){this['_savedMetaData']['delete'](_0x431899);}['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'](_0x6e5a39,_0x5ad204=null){let _0x560705=null;_0x6e5a39['is']('documentFragment')||(_0x560705=new ft(_0x6e5a39['name'],{'vid_start':null===_0x5ad204?this['_revisionId']++:_0x5ad204++}));const _0x28c75f=[];for(const _0x233072 of _0x6e5a39['getChildren']())if(_0x233072['is']('element')){_0x28c75f['push'](this['_makeIdsRoot'](_0x233072,_0x5ad204));const _0x19f5ee=_0x28c75f[_0x28c75f['length']-0x1];null!==_0x5ad204&&(_0x5ad204=_0x19f5ee['is']('element','$text')?_0x19f5ee['getAttribute']('vid')+0x1:_0x19f5ee['getAttribute']('vid_end')+0x1);}else{for(let _0x228d34=0x0;_0x228d34<_0x233072['offsetSize'];_0x228d34++)_0x28c75f['push'](new ft('$text',{'vid':null===_0x5ad204?this['_revisionId']++:_0x5ad204++}));}if(_0x6e5a39['is']('documentFragment')){const _0x523f2c=G(_0x6e5a39['rootName']);return _0x523f2c['_insertChild'](0x0,_0x28c75f),_0x523f2c;}return _0x560705['_setAttribute']('vid_end',null===_0x5ad204?this['_revisionId']++:_0x5ad204++),_0x560705['_insertChild'](0x0,_0x28c75f),_0x560705;}['_calculateMetaData'](_0x3839c4,_0x96966,_0x4a2953){this['_reset']();const {roots:_0x674d12,markers:_0x464f64,rootsAttributes:_0x5451be}=this['_savedMetaData']['get'](_0x3839c4);this['_baseRoots']=new Map(_0x674d12),this['_baseRootsAttributes']=new Map(_0x419818(_0x5451be));for(const [_0x231d41,_0x1fe4dd]of this['_baseRoots'])if('$graveyard'!==_0x231d41&&(this['_diffRoots']['set'](_0x231d41,q(_0x1fe4dd)),this['_diffRootsAttributes']=new Map(_0x419818(_0x5451be)),_0x4a2953)){const _0x1a9ae6=this['_revisionId'];this['_idsRoots']['set'](_0x231d41,this['_makeIdsRoot'](_0x1fe4dd)),this['_baseIdsRoots']['set'](_0x231d41,this['_makeIdsRoot'](_0x1fe4dd,_0x1a9ae6));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x4a2953&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x393722,_0x125d24]of _0x464f64){const _0x48504d=this['_baseRoots']['get'](_0x125d24['rootName']),_0xea6dd=this['_diffRoots']['get'](_0x125d24['rootName']),_0x1bfae9=new vt(this['_fixPosition'](_0x125d24['start'],_0x48504d),this['_fixPosition'](_0x125d24['end'],_0x48504d)),_0x491952=this['_fixRange'](_0x1bfae9,_0xea6dd);_0x48504d['markers']['set'](_0x393722,_0x1bfae9),this['_markers']['set'](_0x393722,_0x491952);}this['_applyOperations'](_0x3839c4,_0x96966,_0x4a2953);}['_applyOperations'](_0x4dfc9c,_0x1382e3,_0x42a21b){for(const _0xbfeb7b of this['source']['getOperations'](_0x4dfc9c,_0x1382e3))this['_handleOperation'](_0xbfeb7b,_0x42a21b);for(const _0x37744b of this['_diffRoots']['values']())_0x37744b['markers']['clear']();for(const [_0x1a31e5,_0x33d78b]of this['_markers']){this['_diffRoots']['get'](_0x33d78b['root']['rootName'])['markers']['set'](_0x1a31e5,_0x33d78b['clone']());}const _0x727230=new Map(),_0x1cb8c0=new Map();for(const [_0x54e99d,_0x2b157c]of this['_diffRoots'])_0x727230['set'](_0x54e99d,q(_0x2b157c)),_0x1cb8c0['set'](_0x54e99d,this['_diffRootsAttributes']['get'](_0x54e99d));this['_saveMetaData'](_0x1382e3,_0x727230,this['_markers'],_0x1cb8c0);}['_getPreviousFrom'](_0x1a0892){const _0xc31b21=Array['from'](this['_savedMetaData']['keys']());_0xc31b21['sort']((_0x30181d,_0x15b1b5)=>_0x30181d-_0x15b1b5),_0xc31b21['reverse']();for(const _0x4e6ead of _0xc31b21)if(_0x4e6ead<_0x1a0892)return _0x4e6ead;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0xbfbb70,_0x28086f){const _0x17ab2a=Array['from'](_0x28086f['markers'])['map'](([_0x46b252,_0x28c344])=>[_0x46b252,this['_fixRange'](_0x28c344,_0xbfbb70)]);_0xbfbb70['markers']=new Map(_0x17ab2a);}['_transformMarkers'](_0x494a53){for(const _0x1bbd1b of this['_markers']['values']()){const _0x1cbdf5=_0x1bbd1b['getTransformedByOperation'](_0x494a53),_0x1d1f78=vt['_createFromRanges'](_0x1cbdf5);_0x1bbd1b['start']=_0x1d1f78['start'],_0x1bbd1b['end']=_0x1d1f78['end'];}}['_handleOperation'](_0x4408a6,_0x247b29){if('addRoot'==_0x4408a6['type']||'detachRoot'==_0x4408a6['type'])return void this['_handleRootOperation'](_0x4408a6,_0x247b29);if('insert'==_0x4408a6['type']){const _0x380179=_0x4408a6['position']['root']['rootName'];this['_diffRoots']['has'](_0x380179)||(this['_diffRoots']['set'](_0x380179,G(_0x380179,!0x0)),this['_diffRootsAttributes']['set'](_0x380179,{}),_0x247b29&&this['_idsRoots']['set'](_0x380179,G(_0x380179,!0x0)));}else{if('addRootAttribute'==_0x4408a6['type']||'removeRootAttribute'==_0x4408a6['type']||'changeRootAttribute'==_0x4408a6['type'])return void this['_handleRootAttributeOperation'](_0x4408a6);}const _0x575a43=this['_cloneOperation'](_0x4408a6,this['_diffRoots']);if('marker'!==_0x4408a6['type']&&(_0x575a43['_execute'](),this['_transformMarkers'](_0x575a43)),_0x247b29)switch(_0x575a43['type']){case'insert':this['_handleInsertOperation'](_0x4408a6);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x4408a6);break;case'merge':this['_handleMergeOperation'](_0x4408a6);break;case'split':this['_handleSplitOperation'](_0x4408a6);break;case'marker':this['_handleMarkerOperation'](_0x4408a6);}}['_cloneOperation'](_0x24ed2c,_0x26c6a8){const _0x479bb5=_0x24ed2c['clone']();return _0x479bb5['_authorId']=_0x24ed2c['_authorId'],this['_fixOperation'](_0x479bb5,_0x26c6a8),_0x479bb5;}['_getBaseVids'](_0x3269de){return _0x3269de['map'](_0x2e7678=>{const _0x205706=this['_getVidAttributeName'](_0x2e7678);return Number(_0x2e7678['item']['getAttribute'](_0x205706));});}['_generateTape'](_0x9c2aa7,_0x15dca9){if(_0x9c2aa7['is']('element','$text'))_0x15dca9['push']({'item':_0x9c2aa7,'type':'text'});else{_0x9c2aa7['is']('element')&&_0x15dca9['push']({'item':_0x9c2aa7,'type':'elementStart'});for(const _0x192a4e of _0x9c2aa7['getChildren']())this['_generateTape'](_0x192a4e,_0x15dca9);_0x9c2aa7['is']('element')&&_0x15dca9['push']({'item':_0x9c2aa7,'type':'elementEnd'});}return _0x15dca9;}['_getState'](){const _0x172091=new Map(this['_touched']),_0x1c71b9=new Map(_0x172091),_0x2ff564=new Map(),_0x429019={'insertions':{},'deletions':{}},_0x166fcc={'insertions':{},'deletions':{}},_0x3e27b9=new Map(),_0xa0a891=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0xa0a891['delete']('$graveyard');for(const _0x2cca4f of _0xa0a891){const _0x436ca2=this['_diffRoots']['get'](_0x2cca4f)||G(_0x2cca4f,!0x1),_0x2acac2=this['_baseRoots']['get'](_0x2cca4f)||G(_0x2cca4f,!0x1);_0x436ca2['isAttached']()||_0x2acac2['isAttached']()?(_0x429019['insertions'][_0x2cca4f]=q(_0x436ca2),_0x429019['deletions'][_0x2cca4f]=q(_0x2acac2),this['_copyMarkers'](_0x429019['deletions'][_0x2cca4f],_0x2acac2),this['_copyMarkers'](_0x429019['insertions'][_0x2cca4f],_0x436ca2),_0x166fcc['insertions'][_0x2cca4f]=this['_generateTape'](this['_idsRoots']['get'](_0x2cca4f),[]),_0x166fcc['deletions'][_0x2cca4f]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x2cca4f)||G(_0x2cca4f,!0x1),[])):_0xa0a891['delete'](_0x2cca4f);}for(const _0x1c47a9 of _0xa0a891){const _0x258f37=_0x166fcc['insertions'][_0x1c47a9];for(const _0x35883c of _0x258f37){const _0x2208f8=this['_getVidAttributeName'](_0x35883c),_0x46c33e=_0x35883c['item']['getAttribute'](_0x2208f8);_0x1c71b9['delete'](_0x46c33e),_0x46c33e>=this['_startingRevisionId']&&_0x2ff564['set'](_0x46c33e,_0x172091['get'](_0x46c33e));}}for(const _0x1bb9ff of _0xa0a891){const _0x43d675=_0x166fcc['insertions'][_0x1bb9ff],_0x17b9a9=this['_getBaseVids'](_0x166fcc['deletions'][_0x1bb9ff]);let _0x2cca7b=0x0;for(const _0x30b36a of _0x43d675){const _0x4d6c39=this['_getVidAttributeName'](_0x30b36a),_0x423733=_0x30b36a['item']['getAttribute'](_0x4d6c39);if(!_0x2ff564['has'](_0x423733)&&!_0x3e27b9['has'](_0x423733)){if(_0x1c71b9['has'](_0x423733))_0x2cca7b++;else{if(_0x423733!=_0x17b9a9[_0x2cca7b]){const _0x33452e=_0x172091['get'](_0x423733)||_0x172091['get'](_0x17b9a9[_0x2cca7b]);for(;_0x423733!=_0x17b9a9[_0x2cca7b];)_0x1c71b9['has'](_0x17b9a9[_0x2cca7b])||(_0x3e27b9['set'](_0x17b9a9[_0x2cca7b],_0x33452e),_0x172091['set'](_0x17b9a9[_0x2cca7b],_0x33452e)),_0x2cca7b++;}_0x2cca7b++;}}}}for(const _0x2feac1 of _0xa0a891){const _0x2109c1=_0x166fcc['insertions'][_0x2feac1];for(const _0x13c18d of _0x2109c1){const _0x8d0d4a=this['_getVidAttributeName'](_0x13c18d),_0x2347a0=_0x13c18d['item']['getAttribute'](_0x8d0d4a);if(_0x3e27b9['has'](_0x2347a0)){const _0x4c3921=_0x3e27b9['get'](_0x2347a0);_0x1c71b9['has'](_0x2347a0)||_0x1c71b9['set'](_0x2347a0,{..._0x4c3921}),_0x2ff564['set'](_0x2347a0,{..._0x4c3921});}}}for(const _0x1e9201 of _0x1c71b9['keys']())_0x1e9201>=this['_startingRevisionId']&&_0x1c71b9['delete'](_0x1e9201);const _0x16bf54=new Map();for(const _0x4fdde0 of _0xa0a891){let _0x4ea744=_0x166fcc['insertions'][_0x4fdde0];for(const _0x40563d of _0x4ea744)if(_0x40563d['item']['is']('element','tableCell')){const _0x36883a=this['_getVidAttributeName'](_0x40563d),_0x41e4f7=_0x40563d['item']['getAttribute'](_0x36883a);if(_0x2ff564['has'](_0x41e4f7)){const _0x4b70a3=_0x40563d['item']['parent']['parent']['getAttribute']('vid_start'),_0x5d33c4=_0x16bf54['get'](_0x4b70a3)||new Set();_0x5d33c4['add'](_0x2ff564['get'](_0x41e4f7)['userId']),_0x16bf54['set'](_0x4b70a3,_0x5d33c4);}}_0x4ea744=_0x166fcc['deletions'][_0x4fdde0];for(const _0x2cc324 of _0x4ea744)if(_0x2cc324['item']['is']('element','tableCell')){const _0x5bae20=this['_getVidAttributeName'](_0x2cc324),_0x1a1954=_0x2cc324['item']['getAttribute'](_0x5bae20);if(_0x1c71b9['has'](_0x1a1954)){const _0x5c643f=_0x2cc324['item']['parent']['parent']['getAttribute']('vid_start'),_0xae07f9=_0x16bf54['get'](_0x5c643f)||new Set();_0xae07f9['add'](_0x1c71b9['get'](_0x1a1954)['userId']),_0x16bf54['set'](_0x5c643f,_0xae07f9);}}for(const _0x32b806 of _0x16bf54['keys']())(_0x2ff564['has'](_0x32b806)||_0x1c71b9['has'](_0x32b806))&&_0x16bf54['delete'](_0x32b806);}for(const _0x49462e of _0xa0a891){const _0x27a349=_0x166fcc['insertions'][_0x49462e];let _0x51fae3=null,_0x32852c=null;for(const _0x4dab45 of _0x27a349){const _0x37cf7c=this['_getVidAttributeName'](_0x4dab45),_0x36bf37=_0x4dab45['item']['getAttribute'](_0x37cf7c),_0x3ef552=_0x16bf54['get'](_0x36bf37);_0x3ef552&&'elementStart'==_0x4dab45['type']&&(_0x51fae3=Array['from'](_0x3ef552)[0x0],_0x32852c=_0x4dab45['item']['getAttribute']('vid_end')),_0x51fae3&&(_0x1c71b9['set'](_0x36bf37,{'userId':_0x51fae3}),_0x2ff564['set'](_0x36bf37,{'userId':_0x51fae3})),_0x36bf37==_0x32852c&&(_0x51fae3=null,_0x32852c=null);}}const _0x4b9ef5={},_0xcfb2ea=new Set();for(const _0x3a0f07 of _0xa0a891){const _0x20bcee=_0x429019['deletions'][_0x3a0f07],_0x11b005=_0x429019['insertions'][_0x3a0f07];for(const {userId:_0x2ee811}of this['_touchedMarkers']['values']())null!==_0x2ee811&&_0xcfb2ea['add'](_0x2ee811);for(const {userId:_0x5b03f8}of this['_touchedRoots']['values']())null!==_0x5b03f8&&_0xcfb2ea['add'](_0x5b03f8);this['_markChanges'](_0x11b005,_0x166fcc['insertions'][_0x3a0f07],_0x2ff564,'insertion',_0xcfb2ea),this['_markChanges'](_0x20bcee,_0x166fcc['deletions'][_0x3a0f07],_0x1c71b9,'deletion',_0xcfb2ea),_0x4b9ef5[_0x3a0f07]={'insertions':this['_prepareViewToSave'](_0x11b005),'deletions':this['_prepareViewToSave'](_0x20bcee),'attachChange':this['_touchedRoots']['get'](_0x3a0f07)||null,'attributesBefore':_0x419818(this['_baseRootsAttributes']['get'](_0x3a0f07))||{},'attributesAfter':_0x419818(this['_diffRootsAttributes']['get'](_0x3a0f07))};}return{'diffData':_0x4b9ef5,'authorsIds':Array['from'](_0xcfb2ea)};}['_processRootBeforeSave'](_0x26bf8f){for(const [,_0x38e202]of _0x26bf8f['markers']){const _0x4acce9=_0x38e202['start']['getAncestors']()['filter'](_0x50fe3a=>'tableCell'==_0x50fe3a['name']);for(const _0xa61cf4 of _0x4acce9)0x1==_0xa61cf4['childCount']&&_0xa61cf4['getChild'](0x0)['is']('element','paragraph')&&_0xa61cf4['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0xb075c0){this['_processRootBeforeSave'](_0xb075c0);const _0x23091f=this['editor']['data']['toView'](_0xb075c0,{}),_0x35a56a=Array['from'](_0x23091f['getChildren']())['map'](_0x24c013=>this['_getViewJson'](_0x24c013));return JSON['stringify'](_0x35a56a);}['_getViewJson'](_0x1b8cae){if(_0x1b8cae['is']('$text'))return _0x1b8cae['data'];{const _0x5b14f8=_0x1b8cae;return{'type':Object['keys'](T)['find'](_0xf28301=>_0x1b8cae instanceof T[_0xf28301]),'name':_0x5b14f8['name'],'attributes':Array['from'](_0x5b14f8['getAttributes']()),'children':Array['from'](_0x5b14f8['getChildren']())['map'](_0x112f20=>this['_getViewJson'](_0x112f20))};}}['_markChanges'](_0x4cb554,_0x1fa2cd,_0x46f612,_0x11731e,_0x14efc9){let _0x292d67=null,_0x370e2b=null,_0x516921=0x0;const _0x52f00c=this['editor']['model'];for(let _0x4621e1=0x0;_0x4621e1<_0x1fa2cd['length'];_0x4621e1++){const _0x1bbf41=this['_getVidAttributeName'](_0x1fa2cd[_0x4621e1]),_0x2051bc=_0x1fa2cd[_0x4621e1]['item']['getAttribute'](_0x1bbf41),_0xc75df2=_0x46f612['get'](_0x2051bc),_0x187164=_0x4621e1==_0x1fa2cd['length']-0x1;(!_0x292d67&&_0xc75df2&&(_0x292d67=_0xc75df2,_0x370e2b=_0x1fa2cd[_0x4621e1]),_0x292d67&&(!_0xc75df2||_0xc75df2['userId']!=_0x292d67['userId']))&&(_0x32c0da(_0xc75df2,L(_0x370e2b,_0x4cb554,_0x52f00c),L(_0x1fa2cd[_0x4621e1],_0x4cb554,_0x52f00c)),_0x292d67=_0xc75df2||null,_0x370e2b=_0xc75df2?_0x1fa2cd[_0x4621e1]:null),_0x292d67&&_0x187164&&_0x32c0da(_0xc75df2,L(_0x370e2b,_0x4cb554,_0x52f00c),W(_0x1fa2cd[_0x4621e1],_0x4cb554,_0x52f00c));}function _0x32c0da(_0x3cecd7,_0x3b25b8,_0x58d68b){const _0x884c1b=_0x292d67['userId'],_0xf2599f='revision:'+_0x11731e+':'+_0x884c1b+':'+_0x516921++,_0x177501=_0x52f00c['createRange'](_0x3b25b8,_0x58d68b);_0x4cb554['markers']['set'](_0xf2599f,_0x177501),null!==_0x884c1b&&_0x14efc9['add'](_0x884c1b);}}['_getVidAttributeName'](_0x5de363){switch(_0x5de363['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x213848,_0x115624){_0x213848['baseVersion']=null;for(const _0x41a662 in _0x213848){const _0x3a94d7=_0x213848[_0x41a662];if(_0x3a94d7 instanceof gt){const _0x2400e9=_0x115624['get'](_0x3a94d7['root']['rootName']);_0x213848[_0x41a662]=this['_fixPosition'](_0x3a94d7,_0x2400e9);}if(_0x3a94d7 instanceof vt){const _0x305c29=_0x115624['get'](_0x3a94d7['root']['rootName']);_0x213848[_0x41a662]=this['_fixRange'](_0x3a94d7,_0x305c29);}'root'===_0x41a662&&(_0x213848['root']=_0x115624['get'](_0x213848['root']['rootName']));}}['_fixRange'](_0x796db8,_0x32b029){return this['editor']['model']['createRange'](this['_fixPosition'](_0x796db8['start'],_0x32b029),this['_fixPosition'](_0x796db8['end'],_0x32b029));}['_fixPosition'](_0x363400,_0x1003ed){return this['editor']['model']['createPositionFromPath'](_0x1003ed,_0x363400['path'],_0x363400['stickiness']);}['_handleInsertOperation'](_0x2027ee){const _0x57ad53=this['_idsRoots']['get'](_0x2027ee['position']['root']['rootName']),_0x578201=this['_fixPosition'](_0x2027ee['position'],_0x57ad53),_0x2565e0=null===_0x2027ee['_authorId']?null:_0x2027ee['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x43d51e=_0x578201['parent'],_0x82c845=this['_revisionId'],_0x4d7661=[];for(const _0x4cd43a of _0x2027ee['nodes'])if(_0x4cd43a['is']('element'))_0x4d7661['push'](this['_makeIdsRoot'](_0x4cd43a));else{for(let _0x531ab0=0x0;_0x531ab0<_0x4cd43a['offsetSize'];_0x531ab0++)_0x4d7661['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x877af1=this['_revisionId'];for(let _0x42fcfa=_0x82c845;_0x42fcfa<_0x877af1;_0x42fcfa++)this['_touched']['set'](_0x42fcfa,{'userId':_0x2565e0});_0x43d51e['_insertChild'](_0x578201['offset'],_0x4d7661);}['_handleMoveOperation'](_0x21a7d5){(_0x21a7d5=this['_cloneOperation'](_0x21a7d5,this['_idsRoots']))['_execute']();const _0x4196ee=null===_0x21a7d5['_authorId']?null:_0x21a7d5['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x219c7c=_0x21a7d5['getMovedRangeStart'](),_0x29efe1=_0x219c7c['parent'],_0x151b9b=_0x219c7c['offset'];!function _0x4dff86(_0x421f71,_0x3ffc23,_0x97f30d,_0x89ac0c){for(let _0x40d59f=_0x97f30d;_0x40d59f<_0x89ac0c;_0x40d59f++){const _0x23acc3=_0x3ffc23['getChild'](_0x40d59f);_0x23acc3['is']('element','$text')?_0x421f71['set'](_0x23acc3['getAttribute']('vid'),{'userId':_0x4196ee}):(_0x421f71['set'](_0x23acc3['getAttribute']('vid_start'),{'userId':_0x4196ee}),_0x4dff86(_0x421f71,_0x23acc3,0x0,_0x23acc3['childCount']),_0x421f71['set'](_0x23acc3['getAttribute']('vid_end'),{'userId':_0x4196ee}));}}(this['_touched'],_0x29efe1,_0x151b9b,_0x151b9b+_0x21a7d5['howMany']);}['_handleMergeOperation'](_0x3a8507){const _0x2b1436=null===(_0x3a8507=this['_cloneOperation'](_0x3a8507,this['_idsRoots']))['_authorId']?null:_0x3a8507['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x25d99c=_0x3a8507['targetPosition']['parent'],_0x3093ac=_0x3a8507['sourcePosition']['parent'],_0x4456d0=_0x25d99c['getAttribute']('vid_end'),_0x2324df=_0x3093ac['getAttribute']('vid_start');_0x25d99c['_setAttribute']('vid_end',_0x3093ac['getAttribute']('vid_end')),_0x3093ac['_setAttribute']('vid_end',_0x4456d0),this['_touched']['set'](_0x2324df,{'userId':_0x2b1436}),this['_touched']['set'](_0x4456d0,{'userId':_0x2b1436}),_0x3a8507['_execute']();}['_handleSplitOperation'](_0xf0f10d){const _0x9f30d9=null===(_0xf0f10d=this['_cloneOperation'](_0xf0f10d,this['_idsRoots']))['_authorId']?null:_0xf0f10d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5dc0b7=_0xf0f10d['graveyardPosition'],_0x6177b5=_0xf0f10d['splitPosition']['parent'];_0xf0f10d['_execute']();const _0x1bf104=_0x6177b5['getAttribute']('vid_end'),_0x59a5a4=_0xf0f10d['insertionPosition']['nodeAfter'];if(_0x5dc0b7){const _0x823662=_0x59a5a4['getAttribute']('vid_end'),_0x2e93c9=_0x6177b5['getAttribute']('vid_end');_0x6177b5['_setAttribute']('vid_end',_0x823662),_0x59a5a4['_setAttribute']('vid_end',_0x2e93c9),this['_touched']['set'](_0x6177b5['getAttribute']('vid_end'),{'userId':_0x9f30d9}),this['_touched']['set'](_0x59a5a4['getAttribute']('vid_start'),{'userId':_0x9f30d9});}else{const _0x4eba56=this['_revisionId']++,_0x31711d=this['_revisionId']++;_0x6177b5['_setAttribute']('vid_end',_0x4eba56),_0x59a5a4['_setAttribute']('vid_start',_0x31711d),_0x59a5a4['_setAttribute']('vid_end',_0x1bf104),this['_touched']['set'](_0x4eba56,{'userId':_0x9f30d9}),this['_touched']['set'](_0x31711d,{'userId':_0x9f30d9});}}['_handleMarkerOperation'](_0x538c98){if(!_0x538c98['affectsData'])return;const _0x33c62b=(_0x538c98=this['_cloneOperation'](_0x538c98,this['_diffRoots']))['oldRange']?_0x538c98['oldRange']['root']:null,_0x8711dd=_0x538c98['newRange']?_0x538c98['newRange']['root']:null;_0x33c62b&&this['_markers']['delete'](_0x538c98['name']),_0x8711dd&&this['_markers']['set'](_0x538c98['name'],_0x538c98['newRange']['clone']());const _0x3a21d4=null===_0x538c98['_authorId']?null:_0x538c98['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3f130a=_0x538c98['name'];if(!this['_touchedMarkers']['has'](_0x3f130a))return void this['_touchedMarkers']['set'](_0x3f130a,{'range':_0x538c98['oldRange'],'userId':_0x3a21d4});const _0x53830f=this['_touchedMarkers']['get'](_0x3f130a),_0x2eeaa5=_0x53830f['range'],_0x426f31=_0x538c98['newRange'];null==_0x2eeaa5&&null==_0x426f31||_0x2eeaa5&&_0x426f31&&_0x2eeaa5['isEqual'](_0x426f31)?this['_touchedMarkers']['delete'](_0x538c98['name']):_0x53830f['userId']=_0x3a21d4;}['_handleRootOperation'](_0x3d8cbd,_0x329780){this['_diffRoots']['has'](_0x3d8cbd['rootName'])?this['_diffRoots']['get'](_0x3d8cbd['rootName'])['_isAttached']=_0x3d8cbd['isAdd']:(this['_diffRoots']['set'](_0x3d8cbd['rootName'],G(_0x3d8cbd['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x3d8cbd['rootName'],{}),_0x329780&&this['_idsRoots']['set'](_0x3d8cbd['rootName'],G(_0x3d8cbd['rootName'],!0x0)));const _0x29e7a7=null===_0x3d8cbd['_authorId']?null:_0x3d8cbd['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x506fec=this['_touchedRoots']['get'](_0x3d8cbd['rootName']);_0x506fec&&_0x506fec['userId']===_0x29e7a7?this['_touchedRoots']['delete'](_0x3d8cbd['rootName']):this['_touchedRoots']['set'](_0x3d8cbd['rootName'],{'userId':_0x29e7a7,'isAttached':_0x3d8cbd['isAdd']});}['_handleRootAttributeOperation'](_0x3f946c){const _0x4348fa=this['_diffRootsAttributes']['get'](_0x3f946c['root']['rootName']);null===_0x3f946c['newValue']?delete _0x4348fa[_0x3f946c['key']]:_0x4348fa[_0x3f946c['key']]=_0x3f946c['newValue'];}}function q(_0xbd7cd){const _0x4e33e5=G(_0xbd7cd['rootName'],_0xbd7cd['isAttached']());for(const _0x31ac30 of _0xbd7cd['getChildren']()){const _0x7b357=_0x31ac30['_clone'](!0x0);_0x4e33e5['_appendChild'](_0x7b357);}return _0x4e33e5;}function G(_0x483ca7,_0x44bfa3=!0x0){const _0x59b678=new wt();return _0x59b678['rootName']=_0x483ca7,_0x59b678['_isAttached']=_0x44bfa3,_0x59b678['isAttached']=()=>_0x59b678['_isAttached'],_0x59b678;}function L(_0x23bf3c,_0x195ea2,_0x282c26){const _0x39c20f='elementEnd'==_0x23bf3c['type']?_0x282c26['createPositionAt'](_0x23bf3c['item'],'end'):_0x282c26['createPositionBefore'](_0x23bf3c['item']);return _0x282c26['createPositionFromPath'](_0x195ea2,_0x39c20f['path'],_0x39c20f['stickiness']);}function W(_0x1886ad,_0x303dc9,_0x4efe95){const _0x436412='elementStart'==_0x1886ad['type']?_0x4efe95['createPositionAt'](_0x1886ad['item'],0x0):_0x4efe95['createPositionAfter'](_0x1886ad['item']);return _0x4efe95['createPositionFromPath'](_0x303dc9,_0x436412['path'],_0x436412['stickiness']);}class ns extends _0x31e91f{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x54c51e,_0x20f583){super(_0x54c51e),this['focusTracker']=new _0x3f6af9(),this['keystrokes']=new _0x15c615(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x20f583),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'](),_0x1f889f({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x42b319=_0x555347=>_0x555347['stopPropagation']();this['keystrokes']['set']('arrowright',_0x42b319),this['keystrokes']['set']('arrowleft',_0x42b319),this['keystrokes']['set']('arrowup',_0x42b319),this['keystrokes']['set']('arrowdown',_0x42b319);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x334657){this['revisionNameInputView']['fieldView']['element']['value']=_0x334657['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x426a4e){const _0x180b32=new at(this['locale'],_0x35f5d5),_0x7f2283=_0x180b32['fieldView'];_0x7f2283['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x4c01e1=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x426a4e&&(_0x4c01e1+='\x20('+y(this['locale'],'optional')+')'),(_0x180b32['label']=_0x4c01e1,_0x7f2283['on']('input',()=>{this['revisionNameInputValue']=_0x7f2283['element']['value']['trim']();}),_0x180b32);}}class u extends _0x2594ac{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x4f698a=this['editor'],_0x132db9=_0x4f698a['plugins']['get']('RevisionTracker');_0x4f698a['ui']['componentFactory']['add']('revisionHistory',_0x121e5a=>{const _0x593ec1=_0x9fb3d7(_0x121e5a),_0x3d4b2c=_0x593ec1['panelView']['children'],_0xde4229=new te(_0x121e5a),_0x319f2e=new _0x526e3e(_0x121e5a),_0xc5f1fa=new _0x1f8943(_0x121e5a),_0x24a254=new _0x526e3e(_0x121e5a),_0x39b927=new _0x1f8943(_0x121e5a);return _0x593ec1['bind']('isEnabled')['to'](_0x132db9,'isReady',_0x132db9,'isEnabled',_0x4f698a,'isReadOnly',(_0x18dde,_0x2a0e90,_0x166ceb)=>_0x18dde&&_0x2a0e90&&!_0x166ceb),_0x593ec1['buttonView']['set']({'icon':_0x51adf3['history'],'label':y(_0x121e5a,'Revision\x20history'),'tooltip':!0x0}),_0xc5f1fa['set']({'label':y(_0x121e5a,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0xc5f1fa['bind']('isEnabled')['to'](_0x132db9,'isReady',_0x132db9,'isEnabled',_0x4f698a,'isReadOnly',(_0x486fda,_0xb0c005,_0x30322e)=>_0x486fda&&_0xb0c005&&!_0x30322e),_0xc5f1fa['on']('execute',()=>this['_showDialog']()),_0x39b927['set']({'label':y(_0x121e5a,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x39b927['bind']('isEnabled')['to'](_0x132db9,'isReady',_0x4f698a,'isReadOnly',(_0x4dfa17,_0x35510e)=>_0x4dfa17&&!_0x35510e),_0x39b927['on']('execute',()=>{_0x4f698a['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x593ec1['isOpen']=!0x1,_0x4f698a['editing']['view']['focus']();}),_0x319f2e['children']['add'](_0xc5f1fa),_0x24a254['children']['add'](_0x39b927),_0xde4229['role']='menu',_0xde4229['items']['addMany']([_0x319f2e,_0x24a254]),_0x3d4b2c['add'](_0xde4229),_0x593ec1;}),_0x4f698a['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x5a0d0f=this['editor'],_0x52cc50=_0x5a0d0f['locale'],_0x4ef985=new _0x2d1e8a(_0x52cc50),_0x566d4f=new _0x970d66(_0x52cc50);_0x4ef985['buttonView']['set']({'icon':_0x51adf3['history'],'label':y(_0x52cc50,'Revision\x20history')});const _0x5431a6=new _0x897cfa(_0x52cc50,_0x4ef985),_0x1963e8=new _0x495090(_0x52cc50);_0x1963e8['set']({'label':y(_0x52cc50,'Save\x20current\x20revision')}),_0x1963e8['delegate']('execute')['to'](_0x4ef985),_0x1963e8['on']('execute',()=>{this['_showDialog']();}),_0x5431a6['children']['add'](_0x1963e8),_0x566d4f['items']['add'](_0x5431a6);const _0x5c63b1=new _0x897cfa(_0x52cc50,_0x4ef985),_0x333e22=new _0x495090(_0x52cc50);return _0x333e22['set']({'label':y(_0x52cc50,'Open\x20revision\x20history')}),_0x333e22['delegate']('execute')['to'](_0x4ef985),_0x333e22['on']('execute',()=>{_0x5a0d0f['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x5c63b1['children']['add'](_0x333e22),_0x566d4f['items']['add'](_0x5c63b1),_0x4ef985['panelView']['children']['add'](_0x566d4f),_0x4ef985;}['_showDialog'](){const _0x1e8211=this['editor'],_0x25025c=_0x1e8211['locale'],_0x4f4d37=_0x1e8211['plugins']['get']('Dialog'),_0x1f2fd7=_0x1e8211['plugins']['get']('RevisionTracker');function _0x308ed5(_0x3cb35b){_0x1e8211['config']['get']('revisionHistory.requireRevisionName')&&''===_0x3cb35b['revisionName']?_0x3cb35b['revisionNameInputView']['errorText']=y(_0x25025c,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x1e8211['plugins']['get'](l)['saveRevision']({'name':_0x3cb35b['revisionName']}),_0x4f4d37['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x308ed5(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x4f4d37['show']({'id':'revisionSave','title':y(_0x25025c,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x1e8211['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x4f4d37['hide']()},{'label':y(_0x1e8211['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x598182){_0x598182['bind']('isEnabled')['to'](_0x1f2fd7,'isReady',_0x1f2fd7,'isEnabled',_0x1e8211,'isReadOnly',(_0x5848ee,_0x1a3bbd,_0x558441)=>_0x5848ee&&_0x1a3bbd&&!_0x558441);},'onExecute':()=>_0x308ed5(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x4f4a46=this['editor'],_0x17881a=_0x4f4a46['locale'];this['_saveRevisionFormView']=new ns(_0x17881a,_0x4f4a46['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x31e91f{['changeId'];['_model'];constructor(_0x394289,_0x5cd0c7){super(_0x394289),this['_model']=_0x5cd0c7,this['changeId']=_0x5cd0c7['id'];const _0x25ea69=this['bindTemplate'],_0x384165=y(_0x394289,_0x5cd0c7['data']['isSuggestion']?'Suggested\x20by':'add'==_0x5cd0c7['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x5cd0c7['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x25ea69['to']('type',_0x4c52d0=>'ck-revision-change__'+_0x4c52d0)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x384165}]},{'text':'\x20'+_0x5cd0c7['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x20aaba(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x347bb0){super(),this['id']=_0x347bb0['id']||_0x4fb95c(),this['author']=_0x347bb0['author'],this['type']=_0x347bb0['type'],this['data']=_0x347bb0['data']||{},this['rootName']=_0x347bb0['rootName'],this['set']('createdAt',_0x347bb0['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(_0x168cf0,_0x5ab88b){this['newRevisionId']=_0x168cf0,this['oldRevisionId']=_0x5ab88b,this['changes']=new _0x3d976d();}['_setChanges'](_0x4222d1){for(const _0x58a79a of _0x4222d1)this['changes']['add'](_0x58a79a);}}const tt={'c':_0x4071de,'a':_0x15f220,'e':_0x1f144e,'r':_0x228645,'u':_0x436f61};class d extends _0x2594ac{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x11e0db,_0x5a3ef2,A];}constructor(_0x170b99){super(_0x170b99),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',(_0x35af5d,_0x37e8ce,_0x3e5450)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x41b2a9=>{for(const _0x3978a8 of this['editor']['editing']['view']['document']['roots'])_0x3e5450?_0x41b2a9['removeClass']('ck-editor__editable__overlay',_0x3978a8):_0x41b2a9['addClass']('ck-editor__editable__overlay',_0x3978a8);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x1021b1=>null!==_0x1021b1),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x50c529,_0x1b3730,_0x2e1d0e)=>_0x50c529&&_0x2e1d0e?_0x1b3730['changes']['getIndex'](_0x2e1d0e):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x3bb6fe,_0x29e009)=>_0x3bb6fe?_0x29e009['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x5a3ef2);}['init'](){const _0x2c5890=this['editor'],_0x5af5a1=new yt(_0x2c5890,{'direction':'backward'}),_0x1d82e4=new yt(_0x2c5890,{'direction':'forward'});(_0x2c5890['commands']['add']('showPreviousChange',_0x5af5a1),_0x2c5890['commands']['add']('showNextChange',_0x1d82e4),_0x2c5890['commands']['add']('restoreRevision',new bt(_0x2c5890)),this['on']('change:numberOfChanges',()=>{_0x5af5a1['refresh'](),_0x1d82e4['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x2c5890['enableReadOnlyMode']('revision-viewer'),_0x2c5890['plugins']['has']('WidgetToolbarRepository'))&&_0x2c5890['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0xc12a72){await this['loadRevisionData'](_0xc12a72);const _0x48cf8e={};for(const _0x2d94e3 in _0xc12a72['diffData']){if(_0xc12a72['diffData'][_0x2d94e3]['attachChange']&&!_0xc12a72['diffData'][_0x2d94e3]['attachChange']['isAttached'])continue;const _0x1f4852=this['_removeRevisionMarkers'](JSON['parse'](_0xc12a72['diffData'][_0x2d94e3]['insertions'])),_0x5b47e4=this['editor']['editing']['view']['document'],_0x46e131=new _0xabeb3b(_0x5b47e4,_0x1f4852['map'](_0x41fdd6=>this['_getViewObj'](_0x41fdd6)));this['editor']['data']['processor']['useFillerType']('marked'),_0x48cf8e[_0x2d94e3]=this['editor']['data']['processor']['toData'](_0x46e131),this['editor']['data']['processor']['useFillerType']('default');}return _0x48cf8e;}async['getRevisionRootsAttributes'](_0x4ee9b4){await this['loadRevisionData'](_0x4ee9b4);const _0x41f037={};for(const _0x498151 in _0x4ee9b4['diffData'])_0x4ee9b4['diffData'][_0x498151]['attachChange']&&!_0x4ee9b4['diffData'][_0x498151]['attachChange']['isAttached']||(_0x41f037[_0x498151]=_0x4ee9b4['diffData'][_0x498151]['attributesAfter']||{});return _0x41f037;}['_removeRevisionMarkers'](_0x43b8d5){return(_0x43b8d5=_0x43b8d5['filter'](_0x49d35b=>!_0x49d35b['name']||'revision-start'!==_0x49d35b['name']&&'revision-end'!==_0x49d35b['name']))['forEach'](_0x12f195=>{'string'!=typeof _0x12f195&&(_0x12f195['children']=this['_removeRevisionMarkers'](_0x12f195['children']),_0x12f195['attributes']=_0x12f195['attributes']['filter'](_0x826932=>!_0x826932[0x0]['startsWith']('data-revision-')));}),_0x43b8d5;}async['compare'](_0x471faf,_0x3f4445,_0x530064=!0x1){if(!this['isEnabled'])return;const _0x4cf7b7=this['diff'],_0x585bb4=this['repository'],_0x799864='string'==typeof _0x471faf?_0x585bb4['getRevision'](_0x471faf):_0x471faf,_0x440e63='string'==typeof _0x3f4445?_0x585bb4['getRevision'](_0x3f4445):_0x3f4445,_0x34469f=_0x799864['id'],_0x4350a9=_0x440e63?_0x440e63['id']:null;if(!_0x530064&&this['diff']&&this['diff']['newRevisionId']===_0x34469f&&this['diff']['oldRevisionId']===_0x4350a9)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x34469f,_0x4350a9);const _0x4f8b04=this['_getRevisionsRange'](_0x799864,_0x440e63,!0x0)['map'](_0x42d5af=>this['loadRevisionData'](_0x42d5af));return _0x4f8b04['push'](new Promise(_0x2ea9e3=>{setTimeout(_0x2ea9e3,0x14);})),Promise['all'](_0x4f8b04)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x26708d=this['_getDiff'](_0x34469f,_0x4350a9);for(const _0x497e45 of _0x26708d['changes'])this['_changeIdToChange']['set'](_0x497e45['id'],_0x497e45);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x31caa2=>{for(const _0x5b3e2f of this['editor']['model']['document']['getRootNames']())_0x31caa2['detachRoot'](_0x5b3e2f);for(const _0x27106b of Object['keys'](_0x26708d['model'])){const _0x5984de=_0x31caa2['addRoot'](_0x27106b);for(const _0x21d3dc of Object['keys'](_0x26708d['attributes'][_0x27106b]))_0x31caa2['setAttribute'](_0x21d3dc,_0x26708d['attributes'][_0x27106b][_0x21d3dc],_0x5984de);_0x31caa2['insert'](_0x26708d['model'][_0x27106b],_0x5984de,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x26708d['changes'])),this['isReady']=!0x0;})['catch'](_0x289b1d=>{console['error'](_0x289b1d),this['_cleanUp'](),_0x4cf7b7&&(this['diff']=_0x4cf7b7),this['isReady']=!0x0;});}['addRevisionData'](_0x42a004,_0x375296){const _0x4ccdb6=this['repository']['createRevision'](_0x42a004);return _0x4ccdb6['on']('_update',(_0x1d393d,_0x1e5603,_0x35bd02)=>_0x375296(_0x1e5603,_0x35bd02,_0x4ccdb6)),this['repository']['addRevision'](_0x4ccdb6),_0x4ccdb6;}['loadRevisionData'](_0x5b4581){if(!_0x5b4581||_0x5b4581['diffData'])return Promise['resolve']();{const _0x520b6b=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x520b6b,'revisionId':_0x5b4581['id']})['then'](_0x5ace94=>{_0x5b4581['_update']({'diffData':_0x5ace94['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},_0x33e916=>{for(const _0x31e48a of this['editor']['model']['document']['getRootNames']())_0x33e916['detachRoot'](_0x31e48a);});}['_sortAndFilterDiffChanges'](_0x5d445c){const _0x42d62a=[],_0x1c2ac9=new Map();for(const _0x3b49bc of this['editor']['model']['document']['getRootNames']()){const _0xb41f20=this['editor']['editing']['view']['getDomRoot'](_0x3b49bc);if(!_0xb41f20)continue;const _0x9937e=_0xb41f20['getClientRects']()['item'](0x0);_0x9937e&&(_0x42d62a['push'](_0x3b49bc),_0x1c2ac9['set'](_0x3b49bc,_0x9937e));}return _0x42d62a['sort']((_0x4241c1,_0x5a0fa8)=>{const _0x125d4a=_0x1c2ac9['get'](_0x4241c1),_0x4f8f3a=_0x1c2ac9['get'](_0x5a0fa8);return _0x125d4a['y']-_0x4f8f3a['y']||_0x125d4a['x']-_0x4f8f3a['x'];}),(_0x5d445c=_0x5d445c['filter'](_0x5ab7c3=>_0x42d62a['includes'](_0x5ab7c3['rootName'])))['sort']((_0x2b23aa,_0x1dffaf)=>_0x42d62a['indexOf'](_0x2b23aa['rootName'])-_0x42d62a['indexOf'](_0x1dffaf['rootName'])),_0x5d445c;}['_makeTape'](_0x50e090){const _0x3ae0e4=Array['from'](_0x50e090['markers'])['filter'](([_0x38bdd2,_0x1aef02])=>_0x38bdd2['startsWith']('revision:')&&!_0x1aef02['isCollapsed']),_0x159d8c=Array['from'](this['editor']['model']['createRangeIn'](_0x50e090)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x3ae0e4['length'])for(const _0x56f3b8 of _0x159d8c){const [_0xe26a50,_0x1672db]=_0x3ae0e4[0x0],[,_0x3c1138,_0x5b2273]=_0xe26a50['split'](':');if(_0x1672db['end']['isEqual'](_0x56f3b8['nextPosition'])&&_0x3ae0e4['shift'](),(_0x56f3b8['previousPosition']['isEqual'](_0x1672db['start'])||_0x56f3b8['previousPosition']['isAfter'](_0x1672db['start']))&&('insertion'==_0x3c1138?_0x56f3b8['isAdded']={'userId':_0x5b2273}:'deletion'==_0x3c1138&&(_0x56f3b8['isRemoved']={'userId':_0x5b2273})),0x0==_0x3ae0e4['length'])break;}return _0x159d8c;}['_refreshStartEndIndex'](_0x52ca9e){const _0xeb007c=new Map();for(let _0x39eadd=0x0;_0x39eadd<_0x52ca9e['length'];_0x39eadd++)'text'===_0x52ca9e[_0x39eadd]['type']?(_0x52ca9e[_0x39eadd]['item']['startIndex']=_0x39eadd,_0x52ca9e[_0x39eadd]['item']['endIndex']=_0x39eadd):('elementStart'===_0x52ca9e[_0x39eadd]['type']?_0x52ca9e[_0x39eadd]['item']['startIndex']=_0x39eadd:'elementEnd'===_0x52ca9e[_0x39eadd]['type']&&(_0x52ca9e[_0x39eadd]['item']['endIndex']=_0x39eadd),_0xeb007c['set'](_0x52ca9e[_0x39eadd]['id'],_0x39eadd));for(const _0x39cd1a of _0xeb007c['values']())'elementStart'===_0x52ca9e[_0x39cd1a]['type']?_0x52ca9e[_0x39cd1a]['item']['endIndex']=_0xeb007c['get'](_0x52ca9e[_0x39cd1a]['pairId']):'elementEnd'===_0x52ca9e[_0x39cd1a]['type']&&(_0x52ca9e[_0x39cd1a]['item']['startIndex']=_0xeb007c['get'](_0x52ca9e[_0x39cd1a]['pairId']));}['_processTape'](_0x3961a3){for(let _0x205316=0x0;_0x205316<_0x3961a3['length'];_0x205316++){if('elementStart'===_0x3961a3[_0x205316]['type'])_0x3961a3[_0x205316]['item']['startIndex']=_0x205316;else{if('elementEnd'===_0x3961a3[_0x205316]['type']){_0x3961a3[_0x205316]['item']['endIndex']=_0x205316;const _0x3f297a=_0x3961a3[_0x205316]['item']['startIndex'];_0x3961a3[_0x3f297a]['pairId']=_0x3961a3[_0x205316]['id'],_0x3961a3[_0x205316]['pairId']=_0x3961a3[_0x3f297a]['id'];}else _0x3961a3[_0x205316]['item']['startIndex']=_0x205316,_0x3961a3[_0x205316]['item']['endIndex']=_0x205316,_0x3961a3[_0x205316]['pairId']=null;}_0x3961a3[_0x205316]['markersStart']||(_0x3961a3[_0x205316]['markersStart']=[],_0x3961a3[_0x205316]['markersEnd']=[]);}}['_markInsertions'](_0x44887f,_0x4c9ac8){const _0x1fdf87=_0x44887f['filter'](_0x49a56b=>!_0x49a56b['isAdded']);for(let _0x34e52d=0x0;_0x34e52d<_0x4c9ac8['length'];_0x34e52d++)_0x4c9ac8[_0x34e52d]['isAdded']&&(_0x1fdf87[_0x34e52d]['isAdded']=_0x4c9ac8[_0x34e52d]['isAdded']);}['_makeModelFromViewString'](_0x3858b8){const _0x508612=JSON['parse'](_0x3858b8),_0x1a3a4c=this['editor']['editing']['view']['document'],_0x22e8f0=new _0xabeb3b(_0x1a3a4c,_0x508612['map'](_0x41fe0c=>this['_getViewObj'](_0x41fe0c)));return this['editor']['data']['toModel'](_0x22e8f0);}['_getViewObj'](_0x5d9b9e){const _0x4949d2=this['editor']['editing']['view']['document'];if('string'==typeof _0x5d9b9e)return new _0x1350e4(_0x4949d2,_0x5d9b9e);{const _0x27ec3d=_0x5d9b9e['children']['map'](_0x4d6bb9=>this['_getViewObj'](_0x4d6bb9));return new(tt[_0x5d9b9e['type']]||_0x4a1b8c)(_0x4949d2,_0x5d9b9e['name'],_0x5d9b9e['attributes'],_0x27ec3d);}}['_getDiff'](_0x51be4b,_0x35d82a=null){const _0x273557=this['repository']['getRevision'](_0x51be4b),_0x4e93c5=_0x35d82a?this['repository']['getRevision'](_0x35d82a):null,_0x14653e=this['_getRevisionsRange'](_0x273557,_0x4e93c5),_0x21b4bc=_0x14653e[_0x14653e['length']-0x1],_0x183dfb=new Map(),_0x3c067d={'model':{},'attributes':{},'changes':[]},_0x54cb45=new Set(),_0x187cc2=new Map();for(let _0x2cef8c=_0x14653e['length']-0x1;_0x2cef8c>=0x0;_0x2cef8c--){const _0x6a34e9=_0x14653e[_0x2cef8c];for(const _0x370947 of Object['keys'](_0x6a34e9['diffData']))if(_0x6a34e9['diffData'][_0x370947]['attachChange']){const _0x5980ff=_0x6a34e9['diffData'][_0x370947]['attachChange'];_0x5980ff['isAttached']?(_0x54cb45['add'](_0x370947),_0x187cc2['has'](_0x370947)&&_0x187cc2['get'](_0x370947)['userId']==_0x5980ff['userId']?_0x187cc2['delete'](_0x370947):_0x187cc2['set'](_0x370947,_0x5980ff)):_0x187cc2['has'](_0x370947)?(_0x54cb45['delete'](_0x370947),_0x187cc2['delete'](_0x370947)):(_0x54cb45['add'](_0x370947),_0x187cc2['set'](_0x370947,_0x5980ff));}else _0x54cb45['add'](_0x370947);}for(const _0xada491 of _0x54cb45){const _0x54953c=_0x187cc2['has'](_0xada491)&&!_0x187cc2['get'](_0xada491)['isAttached'];let _0x4b19d4=_0x54953c?_0x14653e['length']-0x1:0x0;const _0x52bec9=_0x54953c?-0x1:0x1;for(;_0x14653e[_0x4b19d4];){const _0x3f8648=_0x14653e[_0x4b19d4];if(_0x3f8648['diffData'][_0xada491]){const _0x3acb23=_0x54953c?_0x3f8648['diffData'][_0xada491]['attributesBefore']:_0x3f8648['diffData'][_0xada491]['attributesAfter'];_0x3c067d['attributes'][_0xada491]=_0x3acb23?_0x419818(_0x3acb23):{};break;}_0x4b19d4+=_0x52bec9;}}for(const _0x4bd195 of _0x14653e){_0x4bd195['model']={};for(const _0x43e0fe of _0x4bd195['authors'])_0x183dfb['set'](_0x43e0fe['id'],_0x43e0fe);for(const _0x4d988d of _0x54cb45){const _0xfa335=_0x4bd195['diffData'][_0x4d988d]?_0x4bd195['diffData'][_0x4d988d]['insertions']:'[]',_0x4bbaeb=_0x4bd195['diffData'][_0x4d988d]?_0x4bd195['diffData'][_0x4d988d]['deletions']:'[]';_0x4bd195['model'][_0x4d988d]={'insertions':this['_makeModelFromViewString'](_0xfa335),'deletions':this['_makeModelFromViewString'](_0x4bbaeb)};}}for(const _0x3db7e6 of _0x54cb45){let _0x4a88bb=null,_0x5efa5e=0x0;const _0x1a7313=new Map(Array['from'](_0x273557['model'][_0x3db7e6]['insertions']['markers'])['filter'](([_0x14e37e])=>!_0x14e37e['startsWith']('revision:')));let _0x6e3607=0x0;for(const _0x2258d1 of _0x14653e){const _0x40d4b9=this['_makeTape'](_0x2258d1['model'][_0x3db7e6]['insertions']);_0x2258d1==_0x273557?(_0x4a88bb=_0x40d4b9,_0x5efa5e=_0x4a88bb['length'],_0x4a88bb['forEach'](_0x5083bb=>{_0x5083bb['id']=_0x6e3607++;}),this['_processTape'](_0x4a88bb)):this['_markInsertions'](_0x4a88bb,_0x40d4b9);const _0x572ca0=_0x4a88bb['filter'](_0x26e7e7=>!_0x26e7e7['isAdded'])['map'](_0x5f1b20=>_0x5f1b20['id']);let _0x3d7b50=0x0;const _0x4a1c7c=this['_makeTape'](_0x2258d1['model'][_0x3db7e6]['deletions']);_0x4a1c7c['forEach'](_0x1fd43a=>{_0x1fd43a['isRemoved']?_0x1fd43a['id']=_0x5efa5e++:_0x1fd43a['id']=_0x572ca0[_0x3d7b50++];}),this['_processTape'](_0x4a1c7c),this['_setDistance'](_0x4a88bb,'isAdded'),this['_setDistance'](_0x4a1c7c,'isRemoved'),_0x2258d1==_0x273557&&this['_markMarkers'](_0x4a88bb,_0x1a7313),_0x4a88bb=this['_joinTapes'](_0x4a88bb,_0x4a1c7c),this['_refreshStartEndIndex'](_0x4a88bb),this['_setDistance'](_0x4a88bb,'isRemoved');}_0x4a88bb=_0x4a88bb['filter'](_0x5bda02=>!(_0x5bda02['isAdded']&&_0x5bda02['isRemoved']));const _0x1ce4ef=new Map(_0x21b4bc['model'][_0x3db7e6]['deletions']['markers']),_0x3592bc=new Set(_0x1a7313['keys']());for(const _0x353dfa of _0x1ce4ef['keys']())_0x3592bc['delete'](_0x353dfa);this['_markSuggestions'](_0x4a88bb,_0x3592bc),this['_fixObsoleteTags'](_0x4a88bb),_0x4a88bb=this['_removeMissingPairs'](_0x4a88bb),_0x4a88bb=this['_markMismatchedRemovedTags'](_0x4a88bb),_0x4a88bb=this['_removeUnsupportedChanges'](_0x4a88bb);const {root:_0x1a7a2e,changes:_0x25de21}=this['_makeModelFromTape'](_0x4a88bb,_0x183dfb,_0x3db7e6);_0x3c067d['model'][_0x3db7e6]=_0x1a7a2e;const _0x1ef422=_0x187cc2['get'](_0x3db7e6);if(_0x1ef422){const _0x557276=_0x183dfb['get'](_0x1ef422['userId']),_0x29adf0=new r({'author':_0x557276,'type':_0x1ef422['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x3db7e6});_0x25de21['unshift'](_0x29adf0),_0x3c067d['attributes'][_0x3db7e6]['revisionHistoryAttachChange']=_0x29adf0['id'];}_0x3c067d['changes']=_0x3c067d['changes']['concat'](_0x25de21);}return _0x3c067d;}['_markMarkers'](_0x5d3502,_0x9d67fd){for(let _0x392726=0x0;_0x392726<_0x5d3502['length'];_0x392726++)for(const [_0x43e980,_0x45f417]of _0x9d67fd)_0x45f417['start']['isEqual'](_0x5d3502[_0x392726]['previousPosition'])&&_0x5d3502[_0x392726]['markersStart']['push'](_0x43e980),_0x45f417['end']['isEqual'](_0x5d3502[_0x392726]['nextPosition'])&&_0x5d3502[_0x392726]['markersEnd']['push'](_0x43e980);}['_joinTapes'](_0x1547e9,_0x12120e){let _0x53dbe8=[],_0x2087e8=0x0,_0x420646=0x0;for(;_0x2087e8<_0x1547e9['length']||_0x420646<_0x12120e['length'];){const _0x5e793e=_0x1547e9[_0x2087e8]||{},_0x5dbc4f=_0x12120e[_0x420646]||{};if(_0x5e793e['id']==_0x5dbc4f['id'])_0x2087e8++,_0x420646++,_0x53dbe8['push'](_0x5e793e);else{if(_0x5dbc4f['isRemoved']&&_0x5e793e['isAdded']){const {commonTape:_0x3f5df2,iEnd:_0x29df70,jEnd:_0x2ac479}=this['_threeWayMerge'](_0x1547e9,_0x2087e8,_0x12120e,_0x420646);_0x53dbe8=_0x53dbe8['concat'](_0x3f5df2),_0x2087e8=_0x29df70,_0x420646=_0x2ac479;}else _0x5dbc4f['isRemoved']?(_0x420646++,_0x53dbe8['push'](_0x5dbc4f)):(_0x2087e8++,_0x53dbe8['push'](_0x5e793e));}}return _0x53dbe8;}['_markSuggestions'](_0x546014,_0x10956c){const _0x566776=[];for(let _0x3caa38=0x0;_0x3caa38<_0x546014['length'];_0x3caa38++){for(let _0x38958d=0x0;_0x38958d<_0x546014[_0x3caa38]['markersStart']['length'];_0x38958d++){const _0x3613d5=_0x546014[_0x3caa38]['markersStart'][_0x38958d];if(!_0x10956c['has'](_0x3613d5))continue;const {group:_0x3a5c5a,type:_0xb1367f,authorId:_0x154484}=_0x22d129(_0x3613d5);'revision-suggestion'!=_0x3a5c5a||'insertion'!=_0xb1367f&&'deletion'!=_0xb1367f||(_0x566776['unshift']({'type':_0xb1367f,'name':_0x3613d5,'userId':_0x154484}),_0x546014[_0x3caa38]['markersStart']['splice'](_0x38958d,0x1),_0x38958d--);}_0x5c8b63(_0x546014[_0x3caa38]);for(let _0x19e269=0x0;_0x19e269<_0x546014[_0x3caa38]['markersEnd']['length'];_0x19e269++){const _0x30b0c8=_0x546014[_0x3caa38]['markersEnd'][_0x19e269];if(!_0x10956c['has'](_0x30b0c8))continue;const {group:_0x403ebd,type:_0x2fb8d5}=_0x22d129(_0x30b0c8);if('revision-suggestion'!=_0x403ebd||'insertion'!=_0x2fb8d5&&'deletion'!=_0x2fb8d5)continue;_0x546014[_0x3caa38]['markersEnd']['splice'](_0x19e269,0x1),_0x19e269--;const _0x4ca119=_0x566776['findIndex'](_0x32677e=>_0x32677e['name']==_0x30b0c8);_0x4ca119>-0x1&&_0x566776['splice'](_0x4ca119,0x1);}}function _0x22d129(_0x4dce29){const _0x23d134=_0x4dce29['split'](':');return{'group':_0x23d134[0x0],'type':_0x23d134[0x1],'subType':_0x23d134['length']>=0x5?_0x23d134[0x2]:null,'id':_0x23d134['length']<0x5?_0x23d134[0x2]:_0x23d134[0x3],'authorId':_0x23d134['length']<0x5?_0x23d134[0x3]:_0x23d134[0x4],'markerCount':0x6==_0x23d134['length']?_0x23d134[0x5]:null};}function _0x5c8b63(_0x447700){for(let _0x3935aa=0x0;_0x3935aa<_0x566776['length'];_0x3935aa++){if(_0x447700['isAdded']&&'insertion'==_0x566776[_0x3935aa]['type'])return _0x447700['isAddSuggestion']=_0x566776[_0x3935aa],void delete _0x447700['isAdded'];if(!_0x447700['isAdded']&&!_0x447700['isRemoved']&&'deletion'==_0x566776[_0x3935aa]['type'])return void(_0x447700['isRemoveSuggestion']=_0x566776[_0x3935aa]);}}}['_setDistance'](_0x4bcff8,_0x1c0ea5){let _0x417bea=0x0,_0x5c1073=!0x1;const _0x5651de=new Map();for(const _0x28060d of _0x4bcff8)_0x28060d[_0x1c0ea5]?_0x5c1073&&(_0x417bea++,_0x5c1073=!0x1):(_0x417bea++,_0x5c1073=!0x0),_0x5651de['set'](_0x28060d['id'],_0x417bea);for(let _0x533d41=0x0;_0x533d41<_0x4bcff8['length'];_0x533d41++){if('isRemoved'==_0x1c0ea5&&_0x4bcff8[_0x533d41]['isAdded']||'isAdded'==_0x1c0ea5&&_0x4bcff8[_0x533d41]['isRemoved'])continue;if('text'==_0x4bcff8[_0x533d41]['type']){_0x4bcff8[_0x533d41]['distance']=0x0;continue;}const _0x3c3dbe=_0x5651de['get'](_0x4bcff8[_0x533d41]['pairId']),_0x2fac5a=_0x5651de['get'](_0x4bcff8[_0x533d41]['id']);_0x4bcff8[_0x533d41]['distance']=_0x3c3dbe-_0x2fac5a;}}['_getRevisionsRange'](_0x689d77,_0x3fdfc7,_0x127ffb=!0x1){const _0x30e038=[];let _0x5084a2=this['repository']['getIndex'](_0x689d77),_0x4230d8=this['repository']['getIndex'](_0x3fdfc7);for(-0x1==_0x4230d8&&(_0x4230d8=this['repository']['_revisions']['length'],_0x127ffb=!0x1);_0x5084a2<_0x4230d8;)_0x30e038['push'](this['repository']['getRevision'](_0x5084a2)),_0x5084a2++;return _0x127ffb&&_0x30e038['push'](this['repository']['getRevision'](_0x5084a2)),_0x30e038;}['_threeWayMerge'](_0x4addaf,_0x17092a,_0x9e0581,_0x335c65){const _0xf35a36=this['editor']['model']['schema'];let _0x3fb696=_0x17092a;for(;_0x4addaf[_0x3fb696]&&_0x4addaf[_0x3fb696]['isAdded'];)_0x3fb696++;let _0x28bae2=_0x335c65;for(;_0x9e0581[_0x28bae2]&&_0x9e0581[_0x28bae2]['isRemoved'];)_0x28bae2++;_0x473c87(_0x4addaf,_0x17092a,_0x3fb696),_0x473c87(_0x9e0581,_0x335c65,_0x28bae2);const _0xa0535e=_0x9e0581['slice'](_0x335c65,_0x28bae2)['concat'](_0x4addaf['slice'](_0x17092a,_0x3fb696));return _0xa0535e['sort']((_0xa40b82,_0x23313f)=>_0xa40b82['side']!=_0x23313f['side']?_0xa40b82['side']-_0x23313f['side']:_0xa40b82['level']!=_0x23313f['level']?_0xa40b82['level']-_0x23313f['level']:_0xa40b82['distance']!=_0x23313f['distance']?_0x23313f['distance']-_0xa40b82['distance']:!!_0xa40b82['isAdded']!=!!_0x23313f['isAdded']?-0x1==_0xa40b82['side']||0x0==_0xa40b82['side']?_0xa40b82['isAdded']?-0x1:0x1:_0xa40b82['isAdded']?0x1:-0x1:_0xa40b82['index']-_0x23313f['index']),{'commonTape':_0xa0535e,'iEnd':_0x3fb696,'jEnd':_0x28bae2};function _0x473c87(_0x382894,_0x209ad1,_0x1f1ef3){let _0x266052=-0x1,_0x1dff98=Number['POSITIVE_INFINITY'],_0x340a49=!0x0;for(let _0x2f7655=_0x209ad1;_0x2f7655<_0x1f1ef3;_0x2f7655++)if(_0xf35a36['isInline'](_0x382894[_0x2f7655]['item'])||(_0x340a49=!0x1),_0x382894[_0x2f7655]['item']['startIndex']<_0x209ad1&&(_0x266052=_0x2f7655),_0x382894[_0x2f7655]['item']['endIndex']>=_0x1f1ef3){_0x1dff98=_0x2f7655;break;}_0x340a49&&(_0x266052=_0x1f1ef3-0x1);for(let _0x7afc3e=_0x209ad1;_0x7afc3e<_0x1f1ef3;_0x7afc3e++)_0x382894[_0x7afc3e]['side']=_0x7afc3e<=_0x266052?-0x1:_0x7afc3e<_0x1dff98?0x0:0x1,_0x382894[_0x7afc3e]['index']=_0x7afc3e;let _0x23a22c=0x0;for(let _0x22f717=_0x209ad1;_0x22f717<=_0x266052;_0x22f717++)0x0==_0x382894[_0x22f717]['distance']?_0x382894[_0x22f717]['level']=_0x23a22c:(_0x23a22c++,_0x382894[_0x22f717]['level']=_0x23a22c,_0x23a22c++);for(let _0x27a6d=_0x209ad1;_0x27a6d<_0x1f1ef3;_0x27a6d++)0x0==_0x382894[_0x27a6d]['side']&&(_0x382894[_0x27a6d]['level']=_0x23a22c);_0x23a22c=0x0;for(let _0x558ee5=_0x1f1ef3-0x1;_0x558ee5>=_0x1dff98;_0x558ee5--)0x0==_0x382894[_0x558ee5]['distance']?_0x382894[_0x558ee5]['level']=_0x23a22c:(_0x23a22c--,_0x382894[_0x558ee5]['level']=_0x23a22c,_0x23a22c--);}}['_fixObsoleteTags'](_0x4309c7){const _0x4aa5c7=new Map(),_0x3fab90=this['editor']['model']['schema'];for(let _0x162d99=0x1;_0x162d99<_0x4309c7['length'];_0x162d99++){let _0x237ab1,_0x25e77c,_0x5187f3;const _0x2f1fd4=_0x4309c7[_0x162d99],_0x14e652=_0x4309c7[_0x162d99-0x1];if('text'==_0x2f1fd4['type'])continue;if(_0x2f1fd4['type']!=_0x14e652['type'])continue;if(!_0x3fab90['isBlock'](_0x14e652['item'])||_0x3fab90['isLimit'](_0x14e652['item']))continue;if(!_0x3fab90['isBlock'](_0x2f1fd4['item'])||_0x3fab90['isLimit'](_0x2f1fd4['item']))continue;if((_0x4309c7[_0x162d99]['isAdded']||_0x4309c7[_0x162d99]['isAddSuggestion'])&&_0x4309c7[_0x162d99-0x1]['isRemoved'])_0x237ab1=_0x4309c7[_0x162d99],_0x25e77c=_0x4309c7[_0x162d99-0x1],_0x5187f3=_0x162d99-0x1;else{if(!_0x4309c7[_0x162d99]['isRemoved']||!_0x4309c7[_0x162d99-0x1]['isAdded']&&!_0x4309c7[_0x162d99-0x1]['isAddSuggestion'])continue;_0x237ab1=_0x4309c7[_0x162d99-0x1],_0x25e77c=_0x4309c7[_0x162d99],_0x5187f3=_0x162d99;}const _0x2c8ac3=_0x237ab1['level']==_0x25e77c['level'],_0x574d5c=Math['abs'](_0x237ab1['level'])<Math['abs'](_0x25e77c['level'])&&0x0==_0x25e77c['distance'];(_0x2c8ac3||_0x574d5c)&&(_0x4aa5c7['set'](_0x25e77c['id'],_0x237ab1['id']),_0x4309c7['splice'](_0x5187f3,0x1),_0x162d99--,_0x237ab1['isAdded']=!0x1);}for(let _0x58cde8=0x0;_0x58cde8<_0x4309c7['length'];_0x58cde8++)_0x4aa5c7['has'](_0x4309c7[_0x58cde8]['pairId'])&&(_0x4309c7[_0x58cde8]['pairId']=_0x4aa5c7['get'](_0x4309c7[_0x58cde8]['pairId']));}['_removeMissingPairs'](_0x281bb9){const _0x575cb5=new Set(_0x281bb9['map'](_0x46e563=>_0x46e563['id']));for(let _0x393907=0x0;_0x393907<_0x281bb9['length'];_0x393907++)_0x575cb5['has'](_0x281bb9[_0x393907]['pairId'])||0x0==_0x281bb9[_0x393907]['distance']||(_0x281bb9[_0x393907]['isIncorrect']=!0x0);return _0x281bb9['filter'](_0x14a49a=>!_0x14a49a['isIncorrect']);}['_markMismatchedRemovedTags'](_0x128a3e){const _0x2779f5=new Set();for(let _0x3945ea=0x0;_0x3945ea<_0x128a3e['length'];_0x3945ea++){if(_0x2779f5['has'](_0x128a3e[_0x3945ea]['id'])&&_0x128a3e[_0x3945ea]['isRemoved']&&(_0x128a3e[_0x3945ea]['isIncorrect']=!0x0),_0x128a3e[_0x3945ea]['isIncorrect'])continue;if(0x0==_0x128a3e[_0x3945ea]['distance'])continue;if('elementStart'!=_0x128a3e[_0x3945ea]['type'])continue;if(null==_0x128a3e[_0x3945ea]['pairId'])continue;let _0x39dde3=_0x3945ea+0x1,_0x29b1da=0x0;for(;_0x128a3e[_0x39dde3]['id']!=_0x128a3e[_0x3945ea]['pairId'];)'elementStart'==_0x128a3e[_0x39dde3]['type']?_0x29b1da++:'elementEnd'==_0x128a3e[_0x39dde3]['type']&&_0x29b1da--,_0x39dde3++;if(0x0!=_0x29b1da){if(_0x128a3e[_0x3945ea]['isRemoved'])_0x128a3e[_0x3945ea]['isIncorrect']=!0x0;else{for(;_0x39dde3!=_0x3945ea;)_0x128a3e[_0x39dde3]['isRemoved']&&0x0!=_0x128a3e[_0x39dde3]['distance']&&(_0x128a3e[_0x39dde3]['isIncorrect']=!0x0,_0x2779f5['add'](_0x128a3e[_0x39dde3]['pairId'])),_0x39dde3--;}}}return _0x128a3e['filter'](_0x370a6d=>!_0x370a6d['isIncorrect']);}['_removeUnsupportedChanges'](_0x14bbab){const _0x1b667c=this['editor']['model']['schema'];for(let _0x5417d9=0x0;_0x5417d9<_0x14bbab['length'];_0x5417d9++){if(!(_0x14bbab[_0x5417d9]['isAdded']||_0x14bbab[_0x5417d9]['isAddSuggestion']||_0x14bbab[_0x5417d9]['isRemoved']||_0x14bbab[_0x5417d9]['isRemoveSuggestion']))continue;if(0x0==_0x14bbab[_0x5417d9]['distance'])continue;const _0xf6054b=_0x14bbab[_0x5417d9]['item'];_0x1b667c['isBlock'](_0xf6054b)||_0x1b667c['isLimit'](_0xf6054b)||(_0x14bbab[_0x5417d9]['isAdded']&&delete _0x14bbab[_0x5417d9]['isAdded'],_0x14bbab[_0x5417d9]['isAddSuggestion']&&delete _0x14bbab[_0x5417d9]['isAddSuggestion'],_0x14bbab[_0x5417d9]['isRemoveSuggestion']&&delete _0x14bbab[_0x5417d9]['isRemoveSuggestion'],_0x14bbab[_0x5417d9]['isRemoved']&&(_0x14bbab[_0x5417d9]['isIncorrect']=!0x0));}return _0x14bbab['filter'](_0x23ce98=>!_0x23ce98['isIncorrect']);}['_makeModelFromTape'](_0x1e095a,_0x2d0356,_0x5747c0){const _0x43b41a=new wt(),_0x20f08f=[],_0x48da9f=new Map(),_0x1004c3=this['editor']['model'],_0x410045=_0x1004c3['schema'],_0xb5a24a=[_0x43b41a],_0x10c16b={},_0x35b18c={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x1b21de=null;const _0x1df37c=[0x0];for(let _0x351089=0x0;_0x351089<_0x1e095a['length'];_0x351089++){let _0x55557c,_0x5d0f30;if('elementStart'===_0x1e095a[_0x351089]['type']){_0x55557c=_0x1004c3['createPositionFromPath'](_0x43b41a,_0x1df37c);const _0x222496=new ft(_0x1e095a[_0x351089]['item']['name'],_0x1e095a[_0x351089]['item']['getAttributes']());_0xb5a24a[0x0]['_appendChild'](_0x222496),_0x1df37c['push'](0x0),_0xb5a24a['unshift'](_0x222496),_0x5d0f30=_0x1004c3['createPositionFromPath'](_0x43b41a,_0x1df37c),_0x1b21de=null;}else{if('elementEnd'===_0x1e095a[_0x351089]['type'])_0xb5a24a['shift'](),_0x55557c=_0x1004c3['createPositionFromPath'](_0x43b41a,_0x1df37c),_0x1df37c['pop'](),_0x1df37c[_0x1df37c['length']-0x1]++,_0x5d0f30=_0x1004c3['createPositionFromPath'](_0x43b41a,_0x1df37c),_0x1b21de=null;else{if(_0x55557c=_0x1004c3['createPositionFromPath'](_0x43b41a,_0x1df37c),_0x1b21de&&_0x20aa92(_0x1b21de,_0x1e095a[_0x351089]['item']))_0x1b21de['_data']+=_0x1e095a[_0x351089]['item']['data'];else{const _0x457a64=new _t(_0x1e095a[_0x351089]['item']['data'],_0x1e095a[_0x351089]['item']['getAttributes']());_0xb5a24a[0x0]['_appendChild'](_0x457a64),_0x1b21de=_0x457a64;}_0x1df37c[_0x1df37c['length']-0x1]+=_0x1e095a[_0x351089]['item']['offsetSize'],_0x5d0f30=_0x1004c3['createPositionFromPath'](_0x43b41a,_0x1df37c);}}for(const _0xc26f14 of _0x1e095a[_0x351089]['markersStart'])_0x48da9f['set'](_0xc26f14,{'start':_0x55557c,'end':null});_0x1550a6('isRemoveSuggestion',_0x351089,_0x55557c,_0x5d0f30),_0x1550a6('isAddSuggestion',_0x351089,_0x55557c,_0x5d0f30),_0x1550a6('isRemoved',_0x351089,_0x55557c,_0x5d0f30),_0x1550a6('isAdded',_0x351089,_0x55557c,_0x5d0f30);for(const _0x3b6f97 of _0x1e095a[_0x351089]['markersEnd']){_0x48da9f['get'](_0x3b6f97)['end']=_0x5d0f30;}}for(const [_0x229290,_0x2bf65a]of _0x48da9f){const _0x36e935=this['editor']['model']['createRange'](_0x2bf65a['start'],_0x2bf65a['end']);_0x43b41a['markers']['set'](_0x229290,_0x36e935);}return _0x20f08f['sort']((_0x2029ef,_0x2ea2e0)=>{const _0x362fea=_0x43b41a['markers']['get']('revision:'+_0x2029ef['id']),_0x43bdc1=_0x43b41a['markers']['get']('revision:'+_0x2ea2e0['id']);return _0x362fea['start']['isBefore'](_0x43bdc1['start'])?-0x1:_0x362fea['start']['isAfter'](_0x43bdc1['start'])?0x1:_0x362fea['end']['isBefore'](_0x43bdc1['end'])?-0x1:_0x362fea['end']['isAfter'](_0x43bdc1['end'])?0x1:'add'===_0x2029ef['type']?-0x1:0x1;}),{'root':_0x43b41a,'changes':_0x20f08f};function _0x1550a6(_0x4dda89,_0x14938c,_0x52b7f1,_0x53d3e2){const _0x2dfc71=!!_0x1e095a[_0x14938c][_0x4dda89],_0x5184c4=_0x2dfc71?_0x1e095a[_0x14938c][_0x4dda89]['userId']:null,_0x4d3400=_0x14938c===_0x1e095a['length']-0x1,_0xcea99b=_0x35b18c[_0x4dda89][0x0],_0x248100=_0x410045['isObject'](_0x1e095a[_0x14938c]['item']);!_0x10c16b[_0x4dda89]&&_0x2dfc71?_0x10c16b[_0x4dda89]={'start':_0x52b7f1,'tapeItem':_0x1e095a[_0x14938c],'userId':_0x5184c4,'type':_0x4dda89}:_0x10c16b[_0x4dda89]&&!_0x2dfc71?(_0x10c16b[_0x4dda89]['end']=_0x52b7f1,_0xc67890(_0x10c16b[_0x4dda89]),_0x10c16b[_0x4dda89]=null):_0x10c16b[_0x4dda89]&&_0x2dfc71&&_0x10c16b[_0x4dda89]['userId']!==_0x5184c4&&(_0x10c16b[_0x4dda89]['end']=_0x52b7f1,_0xcea99b&&_0xcea99b['userId']===_0x10c16b[_0x4dda89]['userId']||_0xc67890(_0x10c16b[_0x4dda89]),_0x10c16b[_0x4dda89]={'start':_0x52b7f1,'tapeItem':_0x1e095a[_0x14938c],'userId':_0x5184c4,'type':_0x4dda89}),_0x10c16b[_0x4dda89]&&_0x248100&&('elementStart'!==_0x1e095a[_0x14938c]['type']||_0xcea99b&&_0xcea99b['userId']===_0x5184c4||_0x35b18c[_0x4dda89]['unshift']({'userId':_0x5184c4,'object':_0x1e095a[_0x14938c]['item'],'change':_0x10c16b[_0x4dda89]}),'elementEnd'===_0x1e095a[_0x14938c]['type']&&_0xcea99b&&_0xcea99b['object']===_0x1e095a[_0x14938c]['item']&&(_0x35b18c[_0x4dda89]['shift'](),_0x10c16b[_0x4dda89]=_0xcea99b['change'])),_0x10c16b[_0x4dda89]&&_0x4d3400&&(_0x10c16b[_0x4dda89]['end']=_0x53d3e2,_0xc67890(_0x10c16b[_0x4dda89]),_0x10c16b[_0x4dda89]=null);}function _0xc67890({start:_0x15a566,end:_0x4525c1,tapeItem:_0x498fd7,userId:_0xb7d31b,type:_0x38b891}){const _0x280d12=_0x498fd7['item'],_0x11eb37=_0x1004c3['schema']['isBlock'](_0x280d12)&&!_0x1004c3['schema']['isLimit'](_0x280d12),_0x3c4939=_0x15a566['nodeAfter']==_0x4525c1['parent']&&_0x4525c1['isAtStart'];if(_0x11eb37&&_0x3c4939)return;const _0x2ac5af=_0x1004c3['createRange'](_0x15a566,_0x4525c1),_0x4dbdaf=_0x2d0356['get'](_0xb7d31b),_0x211cce=new r({'author':_0x4dbdaf,'type':'isAdded'==_0x38b891||'isAddSuggestion'==_0x38b891?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x38b891||'isRemoveSuggestion'==_0x38b891},'createdAt':new Date(),'rootName':_0x5747c0});_0x20f08f['push'](_0x211cce),_0x43b41a['markers']['set']('revision:'+_0x211cce['id'],_0x2ac5af);}function _0x20aa92(_0x3d7412,_0x48422c){const _0x46e68a=_0x3d7412['getAttributes'](),_0x246898=_0x48422c['getAttributes']();for(const _0x360d99 of _0x46e68a){if(_0x360d99[0x1]!==_0x48422c['getAttribute'](_0x360d99[0x0]))return!0x1;_0x246898['next']();}return _0x246898['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x6d95ac=>{const _0x58b0a9=_0x6d95ac['markerName']['split'](':')[0x1],_0xa1597f=this['_getChangeFromId'](_0x58b0a9);if(!_0xa1597f)return null;const _0x1d2533='add'==_0xa1597f['type']?'insertion':'deletion',_0x5e89c5=['ck-suggestion-marker','ck-suggestion-marker-'+_0x1d2533];return _0xa1597f['data']['isSuggestion']&&_0x5e89c5['push']('ck-suggestion-marker-'+_0x1d2533+'-new'),this['activeChange']==_0xa1597f&&_0x5e89c5['push']('ck-suggestion-marker--active'),{'classes':_0x5e89c5,'attributes':{'data-change-id':_0x58b0a9}};}}),this['editor']['conversion']['for']('upcast')['add'](_0xc2981e=>{_0xc2981e['on']('element:pre',(_0x2516f0,_0x4bbe27,_0x384bd1)=>{const _0x333e7f=_0x4bbe27['viewItem']['getChild'](0x0);if(!_0x333e7f||!_0x333e7f['is']('element','code'))return;if(!_0x384bd1['consumable']['consume'](_0x333e7f,{'attributes':['vid_start','vid_end']}))return;const _0x22d481=_0x4bbe27['modelRange']['start']['nodeAfter'];_0x384bd1['writer']['setAttribute']('vid_start',_0x333e7f['getAttribute']('vid_start'),_0x22d481),_0x384bd1['writer']['setAttribute']('vid_end',_0x333e7f['getAttribute']('vid_end'),_0x22d481);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x51619b=>{_0x51619b['on']('element',(_0x45b3b3,_0x50423d,_0x4c4c48)=>{if(!_0x4c4c48['consumable']['consume'](_0x50423d['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x50423d['modelRange']['isCollapsed'])return;const _0x40ab2e=_0x50423d['modelRange']['start']['nodeAfter'];_0x40ab2e['hasAttribute']('vid_start')||_0x40ab2e['hasAttribute']('vid')||(_0x4c4c48['writer']['setAttribute']('vid_start',_0x50423d['viewItem']['getAttribute']('vid_start'),_0x40ab2e),_0x4c4c48['writer']['setAttribute']('vid_end',_0x50423d['viewItem']['getAttribute']('vid_end'),_0x40ab2e));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x440381=>_0x440381['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x24f6e1,[,_0x45238b])=>{['vid_start','vid_end','vid']['includes'](_0x45238b)&&(_0x24f6e1['return']=!0x0,_0x24f6e1['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x325a49=>{_0x325a49['on']('attribute:vid',(_0xf40491,_0x49ecc8,_0x4e8ce1)=>{if('\x20'!=_0x49ecc8['item']['data']||_0x49ecc8['item']['parent']['maxOffset']>0x1)return;if(!_0x4e8ce1['consumable']['consume'](_0x49ecc8['item'],_0xf40491['name']))return;const _0x53f844=_0x4e8ce1['writer'],_0x1a0a23=_0x4e8ce1['mapper']['toViewRange'](_0x49ecc8['range']);_0x53f844['wrap'](_0x1a0a23,_0x53f844['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x553470){const _0x488069=_0x553470['plugins']['get']('RevisionViewer');return(_0x323e07,_0x2a5740,_0x488f6e)=>{const _0x5e88c1=_0x2a5740['markerName']['split'](':')[0x1],_0x43a444=_0x488069['_getChangeFromId'](_0x5e88c1);if(!_0x43a444)return null;const _0x166ca1='add'==_0x43a444['type']?'split':'merge';if(!_0x488f6e['consumable']['test'](_0x2a5740['markerRange'],_0x323e07['name']))return;const _0x14cc20=_0x2a5740['markerRange']['getWalker'](),_0x1caeff=_0x2a5740['markerRange']['start'],_0x451fec=_0x553470['model']['schema'];let _0x43405c=null,_0x455b98=null,_0x219e6b=!0x1,_0x344d6e=!0x1;for(const _0x3cdc0e of _0x14cc20){const _0x3b4f5d=_0x3cdc0e['item'];_0x219e6b=_0x219e6b||_0x451fec['isContent'](_0x3b4f5d);const _0xf65229=_0x488f6e['mapper']['toViewElement'](_0x3b4f5d);if(_0xf65229&&_0xf65229['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3cdc0e['type']&&(_0x451fec['isBlock'](_0x3b4f5d)&&!_0x451fec['isLimit'](_0x3b4f5d)&&(_0x3b4f5d['nextSibling']||_0x1caeff['isAtEnd']?_0x43405c&&_0x43405c['parent']==_0x3b4f5d||(_0x43405c=_0x3b4f5d,_0x52fb40(_0x3cdc0e['previousPosition']),_0x344d6e=!0x0):_0x455b98=_0x455b98||_0x3cdc0e['previousPosition']));}function _0x52fb40(_0x252c18){const _0x13cf14=_0x488f6e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x166ca1}),_0x13862a=_0x488f6e['mapper']['toViewPosition'](_0x252c18);_0x43a444['data']['isSuggestion']&&_0x488f6e['writer']['addClass']('ck-suggestion-marker-'+_0x166ca1+'-new',_0x13cf14),_0x488069['activeChange']==_0x43a444&&_0x488f6e['writer']['addClass']('ck-suggestion-marker--active',_0x13cf14),_0x488f6e['writer']['insert'](_0x13862a,_0x13cf14),_0x488f6e['mapper']['bindElementToMarker'](_0x13cf14,_0x2a5740['markerName']);}_0x219e6b||_0x344d6e||!_0x455b98||_0x52fb40(_0x455b98);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x3525fc,_0x31281d,_0x1b46d7)=>{const _0x28c663=_0x1b46d7['mapper']['markerNameToElements'](_0x31281d['markerName']);if(_0x28c663){for(const _0x4ee8be of _0x28c663)(_0x4ee8be['hasClass']('ck-suggestion-marker-split')||_0x4ee8be['hasClass']('ck-suggestion-marker-merge'))&&(_0x1b46d7['mapper']['unbindElementFromMarkerName'](_0x4ee8be,_0x31281d['markerName']),_0x1b46d7['writer']['remove'](_0x4ee8be));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x25d0f4,_0x5bc981,_0x235de1)=>{const _0x57b5dd=_0x5bc981['markerName']['split'](':')[0x1],_0x1d9c05=this['_getChangeFromId'](_0x57b5dd);if(!_0x1d9c05)return null;const _0x3113a2='add'==_0x1d9c05['type']?'split':'merge';if(_0x235de1['consumable']['test'](_0x5bc981['markerRange'],_0x25d0f4['name']))for(const _0x87af79 of _0x5bc981['markerRange']['getItems']()){if(!_0x87af79['is']('element','softBreak'))continue;const _0x406dc1=_0x235de1['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3113a2}),_0x54d540=_0x235de1['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x87af79));_0x1d9c05['data']['isSuggestion']&&_0x235de1['writer']['addClass']('ck-suggestion-marker-'+_0x3113a2+'-new',_0x406dc1),this['activeChange']==_0x1d9c05&&_0x235de1['writer']['addClass']('ck-suggestion-marker--active',_0x406dc1),_0x235de1['writer']['insert'](_0x54d540,_0x406dc1),_0x235de1['mapper']['bindElementToMarker'](_0x406dc1,_0x5bc981['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0xac663e=>{for(const _0xdbc4c9 of this['editor']['model']['document']['getRootNames']()){const _0x1a8c75=this['editor']['model']['document']['getRoot'](_0xdbc4c9),_0x311a8e=this['editor']['editing']['view']['document']['getRoot'](_0xdbc4c9);if(_0x311a8e){const _0x56388d=_0x1a8c75['getAttribute']('revisionHistoryAttachChange');if(_0xac663e['removeAttribute']('data-change-id',_0x311a8e),_0xac663e['removeClass']('ck-revision-history-root-add',_0x311a8e),_0xac663e['removeClass']('ck-revision-history-root-remove',_0x311a8e),_0xac663e['removeClass']('ck-revision-history-root--active',_0x311a8e),_0x56388d){const _0xa3f816=this['_getChangeFromId'](_0x56388d);if(!_0xa3f816)return null;_0xac663e['setAttribute']('data-change-id',_0x56388d,_0x311a8e),_0xac663e['addClass']('ck-revision-history-root-'+_0xa3f816['type'],_0x311a8e),this['activeChange']==_0xa3f816&&_0xac663e['addClass']('ck-revision-history-root--active',_0x311a8e);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x284ebd=>'revision-comment:'+_0x284ebd,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x220dd8=>'revision-suggestion:'+_0x220dd8,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x15b77b=>({'name':'suggestion:'+_0x15b77b,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x1ee34f=>{const _0x332df7=_0x1ee34f['markerName']['split'](':')[0x1];return'insertion'!=_0x332df7&&'deletion'!=_0x332df7?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x332df7]};}}),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',(_0x179876,_0x318787,_0x2f395a)=>{const _0x55bf58=_0x2f395a['mapper']['markerNameToElements'](_0x318787['markerName']);if(_0x55bf58){for(const _0x393217 of _0x55bf58)_0x393217['is']('uiElement')&&(_0x2f395a['mapper']['unbindElementFromMarkerName'](_0x393217,_0x318787['markerName']),_0x2f395a['writer']['remove'](_0x393217));}},{'priority':'high'});}['_getChangeFromId'](_0x2d3752){return this['_changeIdToChange']['get'](_0x2d3752);}['_getViewForChange'](_0x39a9fe){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x39a9fe),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x3f95eb,_0x3534b1,_0x2deecb,_0x4b9084)=>{_0x4b9084&&this['_balloon']['remove'](_0x4b9084),_0x2deecb&&(this['_balloon']['add']({'view':_0x2deecb,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x3e35bc=this['editor']['editing'],_0x31a7fc=this['_getChangeFromId'](_0x2deecb['changeId']);let _0x1b4cfd;if(_0x31a7fc['data']['isOnRoot']){const _0x3eda9c=_0x3e35bc['view']['getDomRoot'](_0x31a7fc['rootName']);_0x1b4cfd=Array['from'](_0x3eda9c['getClientRects']());}else{const _0x50f5c5=this['editor']['model']['markers']['get']('revision:'+_0x2deecb['changeId']);_0x1b4cfd=Array['from'](_0x3e35bc['mapper']['markerNameToElements'](_0x50f5c5['name']))['map'](_0x41b714=>_0x3e35bc['view']['domConverter']['mapViewToDom'](_0x41b714))['map'](_0x2b7ae=>Array['from'](_0x2b7ae['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x1b4cfd[0x0];return _0x1b4cfd['find'](_0x4da066=>_0x4da066['top']-0x3<=this['_activeViewTarget']['y']&&_0x4da066['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x4da066['left']-0x3<=this['_activeViewTarget']['x']&&_0x4da066['right']+0x3>=this['_activeViewTarget']['x'])||_0x1b4cfd[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x394c2a,_0x3e9fc8,_0x6d50b7,_0x388966)=>{this['activeView']=_0x6d50b7?this['_getViewForChange'](_0x6d50b7):null,this['editor']['model']['change'](()=>{const _0x1a70e2=this['editor']['editing'];_0x388966&&(_0x388966['data']['isOnRoot']?_0x1a70e2['view']['change'](_0x18ad15=>{_0x18ad15['removeClass']('ck-revision-history-root--active',_0x1a70e2['view']['document']['getRoot'](_0x388966['rootName']));}):_0x1a70e2['reconvertMarker']('revision:'+_0x388966['id'])),_0x6d50b7&&(_0x6d50b7['data']['isOnRoot']?_0x1a70e2['view']['change'](_0x408a78=>{_0x408a78['addClass']('ck-revision-history-root--active',_0x1a70e2['view']['document']['getRoot'](_0x6d50b7['rootName']));}):_0x1a70e2['reconvertMarker']('revision:'+_0x6d50b7['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x119fdd,_0x2c9704)=>{if(this['activeChange'])return;const _0x2638e0=this['_findChangeIdFromDomTarget'](_0x2c9704['target']),_0x427848=this['_changeIdToChange']['get'](_0x2638e0);_0x427848?(this['_activeViewTarget']={'x':_0x2c9704['domEvent']['x'],'y':_0x2c9704['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x427848)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x1f1f17,_0x212d2d)=>{const _0x23fe10=this['_findChangeIdFromDomTarget'](_0x212d2d['target']),_0x39d013=this['_changeIdToChange']['get'](_0x23fe10);_0x39d013?(this['_activeViewTarget']={'x':_0x212d2d['domEvent']['x'],'y':_0x212d2d['domEvent']['y']},_0x39d013===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x39d013):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x439ff7){do{const _0x206f68=_0x439ff7['getAttribute']('data-change-id');if(_0x206f68)return _0x206f68;_0x439ff7=_0x439ff7['parent'];}while(_0x439ff7);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x188b8e=>{for(const _0x12f1af of this['editor']['model']['markers'])_0x188b8e['removeMarker'](_0x12f1af);});}}function et(_0x4aeae9,_0x50f0af){return(_0x2ef6cc,_0x1b0c12,_0x4778df)=>{if(!_0x4778df['consumable']['test'](_0x1b0c12['markerRange'],_0x2ef6cc['name']))return;const _0x4c0b73=_0x1b0c12['markerRange']['getWalker'](),_0x249130=_0x1b0c12['markerRange']['start'],_0x1efb2b=_0x4aeae9['model']['schema'];let _0x441df1=null,_0x5c4adc=null,_0x4208c9=!0x1,_0x411948=!0x1;for(const _0x33b7db of _0x4c0b73){const _0x5cee93=_0x33b7db['item'];_0x4208c9=_0x4208c9||_0x1efb2b['isContent'](_0x5cee93);const _0x5603ff=_0x4778df['mapper']['toViewElement'](_0x5cee93);if(_0x5603ff&&_0x5603ff['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x33b7db['type']&&(_0x1efb2b['isBlock'](_0x5cee93)&&!_0x1efb2b['isLimit'](_0x5cee93)&&(_0x5cee93['nextSibling']||_0x249130['isAtEnd']?_0x441df1&&_0x441df1['parent']==_0x5cee93||(_0x441df1=_0x5cee93,_0x1ce192(_0x33b7db['previousPosition']),_0x411948=!0x0):_0x5c4adc=_0x5c4adc||_0x33b7db['previousPosition']));}function _0x1ce192(_0xb03a20){const _0x33684a=_0x4778df['mapper']['toViewPosition'](_0xb03a20),_0x3871e8=_0x4778df['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x50f0af});_0x4778df['writer']['insert'](_0x33684a,_0x3871e8),_0x4778df['mapper']['bindElementToMarker'](_0x3871e8,_0x1b0c12['markerName']);}_0x4208c9||_0x411948||!_0x5c4adc||_0x1ce192(_0x5c4adc);};}class bt extends _0x37b8db{constructor(_0x19952d){super(_0x19952d);const _0x29e3d1=_0x19952d['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x29e3d1,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x29e3d1,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x1c2e4d=this['editor'],_0x5e1fa7=_0x1c2e4d['plugins']['get'](d),_0x4ad914=_0x5e1fa7['isReady']?_0x5e1fa7['diff']['newRevisionId']:null;_0x1c2e4d['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x4ad914);}['refresh'](){const {isReady:_0x5eab13,isEnabled:_0x2627d9}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x5eab13&&_0x2627d9;}}class yt extends _0x37b8db{['_step'];constructor(_0x19064d,{direction:_0x13fdf2}){super(_0x19064d);const _0x79905f=_0x19064d['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x13fdf2?0x1:-0x1,this['listenTo'](_0x79905f,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x79905f,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x79905f,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x32e301=this['editor'],_0x1fe7dc=_0x32e301['plugins']['get'](d),{isNavigationMode:_0x3f0f70,currentChangeNumber:_0x178433}=_0x1fe7dc;let _0x2536ad;if(_0x1fe7dc['activeChange']=_0x3f0f70?_0x1fe7dc['diff']['changes']['get'](_0x178433+this['_step']):_0x1fe7dc['diff']['changes']['first'],_0x1fe7dc['activeChange']['data']['isOnRoot'])_0x2536ad=_0x32e301['editing']['view']['getDomRoot'](_0x1fe7dc['activeChange']['rootName']);else{const _0x24075c=_0x32e301['model']['markers']['get']('revision:'+_0x1fe7dc['activeChange']['id']);_0x2536ad=_0x4e92c7(_0x32e301['editing'],_0x24075c);}_0x131832({'target':_0x2536ad,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x4d620e,currentChangeNumber:_0x573955,numberOfChanges:_0x44d7b4,isReady:_0x5effff,isEnabled:_0x1c9729}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x1c9729&&_0x5effff&&_0x44d7b4)&&(!_0x4d620e||(0x1===this['_step']?_0x573955<_0x44d7b4-0x1:_0x573955>0x0));}}class _i extends _0x31e91f{constructor(_0x2a977d){super(_0x2a977d);const _0x5aa96b=this['bindTemplate'],_0x3608f7=new _0x1f8943(_0x2a977d),_0x2fda52=new _0x1f8943(_0x2a977d);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',(_0x3ac432,_0x474baf)=>_0x3ac432&&_0x474baf>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x2c0493,_0x14a2de,_0xe70abd,_0x3e8514)=>{if(!_0x2c0493)return y(_0x2a977d,'Loading...');if(!_0xe70abd)return y(_0x2a977d,'No\x20changes');const _0x511e92=y(_0x2a977d,'NUMBER_OF_CHANGES',_0xe70abd);return _0x3e8514?y(_0x2a977d,'X_OF_Y_CHANGES',[_0x14a2de+0x1,_0xe70abd]):_0x511e92;}),_0x3608f7['set']({'label':y(_0x2a977d,'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'}),_0x2fda52['set']({'label':y(_0x2a977d,'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'}),_0x3608f7['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x2fda52['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x3608f7['on']('execute',()=>this['fire']('execute','backward')),_0x2fda52['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',_0x5aa96b['if']('_isStatusLabelVisible','ck-hidden',_0x472dfd=>!_0x472dfd)]},'children':[{'text':_0x5aa96b['to']('isNavigationMode',_0x4f8b46=>_0x4f8b46?y(_0x2a977d,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x2a977d,'Total')+':\x20')}]},{'text':_0x5aa96b['to']('_statusText')}]},new _0x9d488e(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x3608f7,_0x2fda52]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x2594ac{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x316734=this['editor']['editing']['view'];_0x316734['change'](_0x59c7c9=>{for(const _0x51f741 of _0x316734['document']['roots'])_0x59c7c9['addClass'](ce,_0x51f741);});}['hide'](){const _0xc2d8df=this['editor']['editing']['view'];_0xc2d8df['change'](_0x4d36de=>{for(const _0x34a6d0 of _0xc2d8df['document']['roots'])_0x4d36de['removeClass'](ce,_0x34a6d0);});}}class R extends _0x2594ac{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x3b2b87=this['editor'],_0x4f7b14=_0x3b2b87['plugins']['get'](d),_0x24dbc3=_0x3b2b87['plugins']['get'](de);_0x3b2b87['ui']['componentFactory']['add']('exitToEditing',_0x52ead3=>{const _0x5f5122=new _0x1f8943(_0x52ead3);return _0x5f5122['set']({'label':y(_0x52ead3,'Back\x20to\x20editing'),'icon':_0x51adf3['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x5f5122,'execute',()=>{_0x3b2b87['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x5f5122;}),_0x3b2b87['ui']['componentFactory']['add']('restoreRevision',_0x41f3f8=>{const _0x2b0996=new _0x1f8943(_0x41f3f8);return _0x2b0996['set']({'label':y(_0x41f3f8,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x2b0996['bind']('isEnabled')['to'](_0x3b2b87['commands']['get']('restoreRevision')),this['listenTo'](_0x2b0996,'execute',()=>_0x3b2b87['execute']('restoreRevision')),_0x2b0996;}),_0x3b2b87['ui']['componentFactory']['add']('changesNavigation',_0x20a8b8=>{const _0x2c1b85=new _i(_0x20a8b8),_0x361050=_0x3b2b87['commands']['get']('showPreviousChange'),_0x334e84=_0x3b2b87['commands']['get']('showNextChange');return _0x2c1b85['bind']('isBackwardNavigationEnabled')['to'](_0x361050,'isEnabled'),_0x2c1b85['bind']('isForwardNavigationEnabled')['to'](_0x334e84,'isEnabled'),_0x2c1b85['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x4f7b14),this['listenTo'](_0x2c1b85,'execute',(_0xdac653,_0x4eb401)=>{_0x3b2b87['execute']('forward'===_0x4eb401?'showNextChange':'showPreviousChange');}),_0x2c1b85;}),_0x24dbc3['show'](),_0x4f7b14['on']('change:isReady',(_0x3718c4,_0x48d844,_0xad9af0)=>{_0xad9af0?_0x24dbc3['hide']():_0x24dbc3['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x184a29,_0xc4d04){super(_0x184a29,_0xc4d04);const _0x62aea6=this['bindTemplate'];this['set']({'label':y(_0x184a29,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x184a29,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x62aea6['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 _0xa57074=this['fieldView']['element'];this['_tooltipString']=_0xa57074['scrollWidth']>_0xa57074['clientWidth']&&_0xa57074['value']||'';}}class ti extends _0x31e91f{constructor(_0x1bf90a,_0x37fa2d,_0x28dccd){super(_0x1bf90a);const _0x304949=new _0x41224a();_0x304949['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 _0x1a03e5=['ck','ck-revision-history-sidebar__revision-author'];_0x28dccd&&_0x1a03e5['push']('ck-revision-history-sidebar__revision-author_creator');const _0x1b8d4c=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x1bf90a,_0x28dccd?'Revision\x20creator':'Revision\x20author')},'children':[_0x304949,_0x37fa2d['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x1a03e5},'children':_0x1b8d4c});}}function ni(_0x4b6125,_0x597f67){const _0x491fde=_0x4b6125['bindTemplate'],_0x49bfa0=_0x4b6125['locale'],_0x95f70a=_0x9fb3d7(_0x49bfa0);_0x95f70a['panelPosition']='sw';const _0x514bf1=function(_0x506768,_0x113b8f){const _0x17742a=function(_0x9cdd17,_0x2fdaf8){const _0x168dd4=_0x9cdd17['locale'],_0x4a512d={'Compare\x20against\x20selected':y(_0x168dd4,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x168dd4,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x168dd4,'Restore\x20this\x20revision')};return _0x2fdaf8['map'](_0x2c8605=>{const _0xdf12da=_0x4a512d[_0x2c8605['name']];return _0xdf12da&&_0xdf12da!==_0x2c8605['name']&&(_0x2c8605['name']=_0xdf12da),_0x2c8605;});}(_0x506768,_0x113b8f),_0x1f34ce=new _0x3d976d();for(const _0x2b9df7 of _0x17742a){const _0x4c3b8b={'type':'button','model':new to({'label':_0x2b9df7['name'],'class':_0x2b9df7['class'],'withText':!0x0,'role':'menuitem','_action':_0x2b9df7['action']})};_0x4c3b8b['model']['bind']('isEnabled')['to'](_0x506768,'isActionsDropdownOpen',_0x4b7730=>'function'!=typeof _0x2b9df7['isEnabled']||(!_0x4b7730||_0x2b9df7['isEnabled'](_0x506768))),_0x1f34ce['add'](_0x4c3b8b);}return _0x1f34ce;}(_0x4b6125,_0x597f67);return _0x4b6125['bind']('isActionsDropdownOpen')['to'](_0x95f70a,'isOpen'),_0x95f70a['buttonView']['set']({'label':y(_0x49bfa0,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x51adf3['threeVerticalDots']}),_0x95f70a['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x491fde['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x491fde['to'](_0x4ebf7d=>_0x4ebf7d['stopPropagation']())}}),_0x95f70a['on']('execute',_0x4ccb9c=>{_0x4b6125['isReady']&&'function'==typeof _0x4ccb9c['source']['_action']&&_0x4ccb9c['source']['_action'](_0x4b6125);}),_0x2b6d93(_0x95f70a,_0x514bf1,{'role':'menu'}),_0x95f70a['listenTo'](_0x4b6125,'change:isActionsDropdownOpen',(_0x51da84,_0x21416a,_0x5d8b7d)=>{if(_0x5d8b7d)for(const _0x57acad of _0x95f70a['listView']['items']){const _0x270e86=_0x57acad['children']['first'],_0xc5b40a=_0x597f67['find'](_0x2e1897=>_0x2e1897['action']===_0x270e86['_action'])['isVisible'];_0x57acad['isVisible']=void 0x0===_0xc5b40a||_0xc5b40a(_0x4b6125);}}),_0x95f70a;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x139617(_0x31e91f){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x128431,_0x55352f,_0x18c5be,_0x224a8d){super(_0x128431);const _0x37938a=this['bindTemplate'],_0x4fbd10=function(_0x5eecbf,_0x26c49d){const _0x10b40d=Array['from'](_0x26c49d['authors'])['filter'](_0x4fb443=>_0x4fb443!=_0x26c49d['creator']);return _0x26c49d['creator']&&_0x10b40d['unshift'](_0x26c49d['creator']),_0x10b40d['map'](_0x5db0bb=>new ti(_0x5eecbf,_0x5db0bb,_0x5db0bb==_0x26c49d['creator']));}(_0x128431,_0x55352f);this['id']=_0x55352f['id'],this['_revision']=_0x55352f,this['_requireRevisionName']=_0x224a8d,this['bind']('name','createdAt')['to'](_0x55352f),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x155e9e=>{return _0x464e0b=_0x128431['uiLanguage'],(_0x56679b=_0x155e9e)['toLocaleDateString'](_0x464e0b,{'month':'long','day':'numeric'})+',\x20'+_0x56679b['toLocaleTimeString'](_0x464e0b,{'hour':'numeric','minute':'numeric'});var _0x464e0b,_0x56679b;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x128431,_0x35f5d5),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x7655ec=>_0x7655ec||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x375e5f,_0x571d68)=>_0x375e5f&&_0x571d68),this['revisionActionsView']=_0x18c5be&&_0x18c5be['length']?ni(this,_0x18c5be):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x37938a['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x37938a['if']('isEnabled','ck-disabled',_0x55d40f=>!_0x55d40f),_0x37938a['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x37938a['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x37938a['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':_0x37938a['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':_0x4fbd10}]},this['revisionActionsView']],'on':{'click':_0x37938a['to'](_0x235c98=>{_0x235c98['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x529c2f=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x529c2f,'change',()=>{this['_requireRevisionName']&&!_0x529c2f['value']||this['fire']('setName',{'id':this['id'],'name':_0x529c2f['value']}),_0x529c2f['value']||(_0x529c2f['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(_0x1116d4,_0x4463dd){const _0x2951d7=_0x34f29b['fromJSDate'](_0x1116d4)['setLocale'](_0x4463dd),_0x5da898=_0x34f29b['local'](),_0x6605e9=_0x5da898['minus']({'days':0x1})['startOf']('day');let _0x1bebcb,_0x3edd3b;return _0x2951d7['hasSame'](_0x5da898,'day')?(_0x1bebcb=_0x2951d7['startOf']('day')['toJSDate'](),_0x3edd3b=_0x2951d7['toRelativeCalendar']()):_0x2951d7['hasSame'](_0x6605e9,'day')?(_0x1bebcb=_0x6605e9['toJSDate'](),_0x3edd3b=_0x2951d7['toRelativeCalendar']()):_0x2951d7['hasSame'](_0x5da898,'week')?(_0x1bebcb=_0x2951d7['startOf']('week')['toJSDate'](),_0x3edd3b=_0x2951d7['weekdayLong']||''):_0x2951d7['hasSame'](_0x5da898,'year')?(_0x1bebcb=_0x2951d7['startOf']('month')['toJSDate'](),_0x3edd3b=_0x2951d7['monthLong']||''):(_0x1bebcb=_0x2951d7['startOf']('year')['toJSDate'](),_0x3edd3b=String(_0x2951d7['year'])),{'startDate':_0x1bebcb,'localizedPeriodName':_0x3edd3b};}class mi extends _0x31e91f{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x418baa,_0x4aa2ff,_0xac125d,_0x160405){super(_0x418baa);const _0x4bec9f=di(_0x4aa2ff,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x4aa2ff,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0xac125d,this['_requireRevisionName']=_0x160405,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':_0x4bec9f}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x93cc49){const _0x33b2c7=new ai(this['locale'],_0x93cc49,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x33b2c7);}['removeRevision'](_0x1cb13b){const _0x575ef4=this['revisionViews']['find'](_0x38ccc1=>_0x38ccc1['id']===_0x1cb13b['id']);this['revisionViews']['remove'](_0x575ef4);}}class as extends _0x31e91f{constructor(_0x188b42){super(_0x188b42);const _0x5f477e=new _0x41224a();_0x5f477e['content']=_0x51adf3['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x5f477e,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x188b42,'Revision\x20history')]}]});}}class ci extends _0x31e91f{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x2e6eea,_0x5459a6,_0x2f19cf,_0x22ee38){super(_0x2e6eea);const _0x1a5921=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x5459a6,this['_revisionActions']=_0x2f19cf,this['_requireRevisionName']=_0x22ee38,this['on']('select',(_0x9c106,_0x54b700)=>{this['fire']('revisionSelected',_0x54b700);}),this['on']('setName',(_0x5a814c,_0x3ee462)=>{this['fire']('revisionSetName',_0x3ee462);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x2e6eea),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x1a5921['if']('isEnabled','ck-disabled',_0x523ad5=>!_0x523ad5)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x3c1f13 of this['_revisions'])this['_addRevision'](_0x3c1f13);this['_revisions']['on']('add',(_0x3c4b65,_0x4af4f1)=>{this['_addRevision'](_0x4af4f1);}),this['_revisions']['on']('remove',(_0x4278b7,_0x558a32)=>{this['_removeRevision'](_0x558a32);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x5564c4=>_0x5564c4['revisionViews']['map'](_0x4fd990=>_0x4fd990))['flat']();}['selectRevision'](_0x5ea2d6){for(const _0x6d1508 of this['revisionViews'])_0x5ea2d6&&_0x5ea2d6['id']===_0x6d1508['id']?_0x6d1508['select']():_0x6d1508['deselect']();}['highlightRevisions'](_0x549c1f){for(const _0xc11f4b of this['revisionViews'])_0x549c1f['some'](({id:_0x386631})=>_0x386631===_0xc11f4b['id'])?_0xc11f4b['highlight']():_0xc11f4b['unhighlight']();}['_addRevision'](_0x1a4800){const _0x5e6d3a=di(_0x1a4800['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x467e4f=this['timePeriodViews']['get'](0x0);_0x467e4f&&_0x467e4f['startDate']['getTime']()===_0x5e6d3a['getTime']()||(_0x467e4f=new mi(this['locale'],_0x5e6d3a,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x467e4f)),_0x467e4f['addRevision'](_0x1a4800);}['_removeRevision'](_0x17eb37){const _0x12d7dd=di(_0x17eb37['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x12d7dd)['removeRevision'](_0x17eb37);}['_getTimePeriodViewByStartDate'](_0x218843){return this['timePeriodViews']['find'](_0x3d80d7=>_0x3d80d7['startDate']['getTime']()===_0x218843['getTime']());}}class w extends _0x2594ac{['_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(_0x14b78c){super(_0x14b78c),this['_revisionViewer']=_0x14b78c['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0xfa7dfa=this['_revisionsRepository']['_revisions'],_0x4f353a=this['_createRevisionActions'](),_0x15141f=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0xfa7dfa,_0x4f353a,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',(_0x1dfd2f,_0x136ddd)=>{_0x136ddd['revisionViews']['on']('add',(_0x5afda7,_0x34865a)=>{_0x34865a['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)),_0x15141f['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x4847f6=this['_revisionsRepository']['getRevision'](0x0);if(_0x4847f6){const _0x26036e=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4847f6['id']);this['_revisionViewer']['compare'](_0x4847f6,_0x26036e);}}['_handleRevisionSelected'](_0x1f17fa,_0x42f594){const _0x35f3ba=this['_revisionsRepository']['getRevision'](_0x42f594['id']),_0x5c8071=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x35f3ba['id']);this['_revisionViewer']['compare'](_0x35f3ba,_0x5c8071);}['_handleRevisionSetName'](_0x42743f,_0x37c18e){this['_revisionsRepository']['getRevision'](_0x37c18e['id'])['setName'](_0x37c18e['name']);}['_handleDiffChange'](_0x493adc,_0x144a0c,_0xe353b5){const _0x43915d=this['_revisionsRepository']['getRevisionsInDiff'](_0xe353b5);_0x43915d['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x43915d),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x43915d[0x0]));}['_createRevisionActions'](){const _0x97df5f=this['editor'],_0x1a4f13=w['availableRevisionActions'],_0x36ce58=_0x97df5f['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x36ce58['length'])return _0x36ce58['map'](_0x5b96ed=>{const _0x1cf8eb='string'==typeof _0x5b96ed?Object['assign']({},_0x1a4f13[_0x5b96ed]):_0x5b96ed;return _0x1cf8eb['action']=_0x1cf8eb['action']['bind'](this,_0x97df5f),_0x1cf8eb['isVisible']&&(_0x1cf8eb['isVisible']=_0x1cf8eb['isVisible']['bind'](this,_0x97df5f)),_0x1cf8eb;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x39bcf0},_0x3b805e)=>{const _0x21cb3a=_0x39bcf0['get'](d),_0x129fa2=_0x21cb3a['repository'];let _0x2d7066=_0x21cb3a['diff']['newRevisionId'],_0x53552a=_0x3b805e['id'];_0x129fa2['getIndex'](_0x2d7066)>_0x129fa2['getIndex'](_0x53552a)&&([_0x2d7066,_0x53552a]=[_0x53552a,_0x2d7066]),_0x21cb3a['compare'](_0x2d7066,_0x53552a);},'isVisible':({plugins:_0x455baf},_0x237852)=>{const _0x2a5191=_0x455baf['get'](d);return!(_0x2a5191['repository']['getRevisionsInDiff'](_0x2a5191['diff'])['length']>0x2)&&!_0x237852['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x3bd60b,{id:_0xff82f0})=>{_0x3bd60b['config']['get']('revisionHistory')['restoreRevisionCallback'](_0xff82f0);},'isVisible':({plugins:_0x5837ab},_0x3ecb77)=>!!_0x5837ab['get'](d)['repository']['getLaterVisibleRevision'](_0x3ecb77['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x2879c1},{id:_0x96d2f3,revisionNameView:_0x3fdbce})=>{const _0x2699f9=_0x2879c1['get'](d),_0x43d273=_0x2699f9['repository']['getEarlierVisibleRevision'](_0x96d2f3);_0x2699f9['compare'](_0x96d2f3,_0x43d273),_0x3fdbce['focus'](),_0x3fdbce['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x2a3c04,_0x236274){super(_0x2a3c04),this['_view']=_0x236274,this['_toolbarConfig']=ct(_0x2a3c04['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0xb68e0c){const _0x2fb21b=this['editor'],_0x395c00=this['view'],_0x7d0369=_0x2fb21b['editing']['view'],_0x4a1b0a=_0x395c00['editable'],_0x2786a6=_0x7d0369['document']['getRoot']();_0x4a1b0a['name']=_0x2786a6['rootName'],_0x395c00['render']();const _0x26730d=_0x4a1b0a['element'];this['setEditableElement'](_0x4a1b0a['name'],_0x26730d),_0x395c00['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x7d0369['attachDomRoot'](_0x26730d),this['_elementReplacer']['replace'](_0xb68e0c,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x2b2434=this['view'],_0x10d09=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x10d09['detachDomRoot'](_0x2b2434['editable']['name']),_0x2b2434['destroy']();}['_initToolbar'](){const _0x5eca12=this['view'];_0x5eca12['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x5eca12['stickyPanel']['limiterElement']=_0x5eca12['element'],_0x5eca12['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x47a6ea})=>_0x47a6ea),_0x5eca12['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x5eca12['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x3a2bed,_0x314eea,_0x5be5b6={}){super(_0x3a2bed),this['stickyPanel']=new lt(_0x3a2bed),this['toolbar']=new pt(_0x3a2bed,{'shouldGroupWhenFull':_0x5be5b6['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x3a2bed,_0x314eea);}['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(_0x246669,_0x2ac39d){super(_0x2ac39d),this['sourceElement']=_0x246669,this['model']['document']['createRoot']();const _0x2df544=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x2df544);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x57d74b,_0x1f4bd5){const _0x51fb79=new this(_0x57d74b,_0x1f4bd5);return await _0x51fb79['initPlugins'](),await _0x51fb79['ui']['init'](_0x57d74b),await _0x51fb79['data']['init'](_0x51fb79['config']['get']('initialData')||''),_0x51fb79['fire']('ready'),_0x51fb79;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x47193e{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x15550c){super(_0x15550c),this['result']='end';}}class H extends _0x47193e{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x46cc3a){if(super(_0x46cc3a),!this['editor']['config']['get']('revisionHistory'))throw new _0x247002('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0xa73aee=>this['_showRevisionViewer']({..._0xa73aee,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x34dbf6=>this['_closeRevisionViewer'](_0x34dbf6)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x2db508=>this['_restoreRevision'](_0x2db508)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x358e91){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x358e91;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x5cec93){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x5cec93);}['getRevision'](_0xb3c85d){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0xb3c85d);}['getRevisions'](_0x208d7b){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x208d7b||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x136b47=this['editor'],_0x550273=_0x43dd50(_0x136b47,p),_0x9a3fc5=_0x136b47['plugins']['get']('RevisionTracker'),_0x18d962=_0x136b47['plugins']['get']('Users')['users'];return _0x550273['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x550273['lazyRoots'],(_0x550273['plugins']['push'](k,d,R,class extends _0x47193e{static get['requires'](){return[d,'Users'];}['init'](){const _0x4f7f5b=this['editor']['plugins']['get']('Users');for(const _0x145590 of _0x18d962)_0x145590['isAnonymous']||_0x4f7f5b['getUser'](_0x145590['id'])||_0x4f7f5b['addUser'](_0x145590);const _0x180c63=_0x9a3fc5['repository']['getRevisions']();let _0x2a0085=null;const _0xca5332=this['editor']['plugins']['get']('RevisionViewer');_0xca5332['adapter']=_0x9a3fc5['adapter'],_0xca5332['bind']('isEnabled')['to'](_0x9a3fc5),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x136b47,'isReadOnly',_0x178f12=>!_0x178f12);for(const _0x3a4ec2 of _0x180c63){const _0x3757a9=null===_0x3a4ec2['creator'];if(_0x3757a9&&_0x3a4ec2['toVersion']===_0x3a4ec2['fromVersion'])continue;const _0x73d431=_0x3a4ec2['toJSON']();_0xca5332['addRevisionData'](_0x73d431,(_0x27c429,_0x1cacbe,_0x1f1601)=>{if(_0x3757a9){if(_0x2a0085)_0x2a0085['_update'](_0x27c429,_0x1cacbe);else{if(!_0x1cacbe){const _0x10dbb0=_0x1f1601['toJSON']();_0x10dbb0['id']=_0x50a52d(),_0x9a3fc5['saveRevision'](_0x10dbb0,_0x1f1601['toVersion'])['then'](_0x1875d0=>{_0x2a0085=_0x1875d0;});}}}else _0x3a4ec2['_update'](_0x27c429,_0x1cacbe);});}}},w),_0x550273);}['_enhanceShowRevisionViewerCallback'](){const _0x1bc53c=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0xa420f0=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x5021ba=this['editor']['plugins']['get']('Autosave');await _0x5021ba['save']();}else await _0xa420f0['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x232302=this['editor']['plugins']['get']('Dialog');_0x232302['isOpen']&&_0x232302['hide']();}const _0x5c4e71=this['_getRevisionViewerEditorConfig']();return _0x1bc53c(_0x5c4e71)['then'](_0x4fe66a=>{return(this['_viewerEditor']=_0x4fe66a,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x4fe66a;})['catch'](_0x1cf51b=>(console['error'](_0x1cf51b),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x5c0993=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'](),_0x5c0993(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x22cdb5=this['editor']['plugins']['get']('Annotations');_0x22cdb5['refreshVisibility'](),_0x22cdb5['refreshPositioning']();}})));}['_showRevisionViewer'](_0x2e6c61){const _0x1b1100=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x52e419=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x4aaea1=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x4aaea1,_0x2e6c61)['then'](_0x35f3ce=>(_0x52e419['style']['display']='block',_0x1b1100['style']['display']='none',_0x35f3ce));}['_closeRevisionViewer'](_0x30baf3){const _0x3f8c02=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x3f8c02['style']['display']='',_0x30baf3['destroy']();}async['_restoreRevision'](_0x4320ea){const _0xc103ba=this['editor'],_0x1bd7a3=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x5449c7=_0xc103ba['plugins']['get']('RevisionTracker'),_0x8073be=_0x1bd7a3['repository']['getRevision'](_0x4320ea);let _0x555ebf,_0x19616d,_0x4a44e7;try{_0x555ebf=await _0x1bd7a3['getRevisionData'](_0x8073be),_0x19616d=await _0x1bd7a3['getRevisionRootsAttributes'](_0x8073be);}catch(_0x21610a){return void console['error'](_0x21610a);}_0xc103ba['model']['change'](_0x3cdefb=>{for(const _0x490ed6 of Array['from'](_0xc103ba['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x3cdefb['removeMarker'](_0x490ed6);}),_0x1bd7a3['isReady']=!0x1,_0xc103ba['model']['enqueueChange'](_0x2b3340=>{_0x2b3340['setSelection'](null),_0x2b3340['removeSelectionAttribute'](_0xc103ba['model']['document']['selection']['getAttributeKeys']());const _0xea40ec=Object['keys'](_0x555ebf);for(const _0x5eb3c9 of _0xc103ba['model']['document']['roots'])'$graveyard'!=_0x5eb3c9['rootName']&&_0x5eb3c9['isAttached']()&&!_0xea40ec['includes'](_0x5eb3c9['rootName'])&&_0x2b3340['detachRoot'](_0x5eb3c9);for(const _0x259789 of _0xea40ec){let _0x31971f=_0xc103ba['model']['document']['getRoot'](_0x259789);_0x31971f&&_0x31971f['isAttached']()||(_0x31971f=_0x2b3340['addRoot'](_0x259789));const _0x3f62e0=_0x19616d[_0x259789],_0x3b6a28=Object['keys'](_0x3f62e0),_0x32f481=_0x555ebf[_0x259789];for(const _0x1871c3 of _0x31971f['getAttributeKeys']())_0x3b6a28['includes'](_0x1871c3)||_0x2b3340['removeAttribute'](_0x1871c3,_0x31971f);for(const _0x79cbd4 of _0x3b6a28)_0x2b3340['setAttribute'](_0x79cbd4,_0x19616d[_0x259789][_0x79cbd4],_0x31971f);_0x2b3340['remove'](_0x2b3340['createRangeIn'](_0x31971f)),_0x2b3340['insert'](_0xc103ba['data']['parse'](_0x32f481,_0x31971f),_0x31971f,0x0);}});const _0x4af8d4=y(_0xc103ba['locale'],'Restored');if(_0x8073be['name'])_0x4a44e7=-0x1==_0x8073be['name']['indexOf'](_0x4af8d4)?_0x4af8d4+':\x20'+_0x8073be['name']:_0x8073be['name'];else _0x4a44e7=_0x4af8d4+':\x20'+(_0x8073be['createdAt']['toLocaleDateString'](_0xc103ba['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x8073be['createdAt']['toLocaleTimeString'](_0xc103ba['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x5449c7['saveRevision']({'name':_0x4a44e7}),_0x1bd7a3['isReady']=!0x0,_0xc103ba['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(_0x404975){super(_0x404975),this['_revisionViewer']=_0x404975['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x5ad1cd=this['_revisionsRepository']['_revisions'],_0x560bd9=this['_createRevisionActions'](),_0x34d232=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x5ad1cd,_0x560bd9,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',(_0x17d049,_0x3c2374)=>{_0x3c2374['revisionViews']['on']('add',(_0x1c526d,_0x3b601d)=>{_0x3b601d['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)),_0x34d232['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x2ff980=this['_revisionsRepository']['getRevision'](0x0);if(_0x2ff980){const _0x15d7eb=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x2ff980['id']);this['_revisionViewer']['compare'](_0x2ff980,_0x15d7eb);}}['_handleRevisionSelected'](_0x5185bc,_0x24d18b){const _0x560bc0=this['_revisionsRepository']['getRevision'](_0x24d18b['id']),_0x11c171=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x560bc0['id']);this['_revisionViewer']['compare'](_0x560bc0,_0x11c171);}['_handleRevisionSetName'](_0x22b824,_0x481102){this['_revisionsRepository']['getRevision'](_0x481102['id'])['setName'](_0x481102['name']);}['_handleDiffChange'](_0x2ad33c,_0x2a5765,_0x561808){const _0x2961b8=this['_revisionsRepository']['getRevisionsInDiff'](_0x561808);_0x2961b8['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x2961b8),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x2961b8[0x0]));}['_createRevisionActions'](){const _0x2ee341=this['editor'],_0x102a5d=w['availableRevisionActions'],_0x118af3=_0x2ee341['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x118af3['length'])return _0x118af3['map'](_0x447aff=>{const _0x29eab2='string'==typeof _0x447aff?Object['assign']({},_0x102a5d[_0x447aff]):_0x447aff;return _0x29eab2['action']=_0x29eab2['action']['bind'](this,_0x2ee341),_0x29eab2['isVisible']&&(_0x29eab2['isVisible']=_0x29eab2['isVisible']['bind'](this,_0x2ee341)),_0x29eab2;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x166d99},_0x2b1377)=>{const _0x1ca9e9=_0x166d99['get'](d),_0x18f0b3=_0x1ca9e9['repository'];let _0x2272df=_0x1ca9e9['diff']['newRevisionId'],_0x266bc2=_0x2b1377['id'];_0x18f0b3['getIndex'](_0x2272df)>_0x18f0b3['getIndex'](_0x266bc2)&&([_0x2272df,_0x266bc2]=[_0x266bc2,_0x2272df]),_0x1ca9e9['compare'](_0x2272df,_0x266bc2);},'isVisible':({plugins:_0x5c001e},_0x367da3)=>{const _0x4e3306=_0x5c001e['get'](d);return!(_0x4e3306['repository']['getRevisionsInDiff'](_0x4e3306['diff'])['length']>0x2)&&!_0x367da3['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x22fa3b,{id:_0x5b6c64})=>{_0x22fa3b['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x5b6c64);},'isVisible':({plugins:_0x2054d7},_0x2167cc)=>!!_0x2054d7['get'](d)['repository']['getLaterVisibleRevision'](_0x2167cc['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x4aa06c},{id:_0x4dc861,revisionNameView:_0x3cf8ce})=>{const _0x3079c3=_0x4aa06c['get'](d),_0x1cc869=_0x3079c3['repository']['getEarlierVisibleRevision'](_0x4dc861);_0x3079c3['compare'](_0x4dc861,_0x1cc869),_0x3cf8ce['focus'](),_0x3cf8ce['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x2341a0,_0x1377e0){super(_0x2341a0),this['_view']=_0x1377e0,this['_toolbarConfig']=ct(_0x2341a0['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x339dad){const _0x2bc95f=this['editor'],_0x1b4f2f=this['view'],_0x46b264=_0x2bc95f['editing']['view'],_0x4b3f1=_0x1b4f2f['editable'],_0x882a3b=_0x46b264['document']['getRoot']();_0x4b3f1['name']=_0x882a3b['rootName'],_0x1b4f2f['render']();const _0x5a2db3=_0x4b3f1['element'];this['setEditableElement'](_0x4b3f1['name'],_0x5a2db3),_0x1b4f2f['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x46b264['attachDomRoot'](_0x5a2db3),this['_elementReplacer']['replace'](_0x339dad,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x13caa7=this['view'],_0x11992a=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x11992a['detachDomRoot'](_0x13caa7['editable']['name']),_0x13caa7['destroy']();}['_initToolbar'](){const _0x106ef6=this['view'];_0x106ef6['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x106ef6['stickyPanel']['limiterElement']=_0x106ef6['element'],_0x106ef6['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x21be3c})=>_0x21be3c),_0x106ef6['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x106ef6['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x1f7ab2,_0xace4b6,_0x629c22={}){super(_0x1f7ab2),this['stickyPanel']=new lt(_0x1f7ab2),this['toolbar']=new pt(_0x1f7ab2,{'shouldGroupWhenFull':_0x629c22['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x1f7ab2,_0xace4b6);}['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(_0x1807ba,_0x403277){super(_0x403277),this['sourceElement']=_0x1807ba,this['model']['document']['createRoot']();const _0x3a310d=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x3a310d);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x3ff5bf,_0xb77a04){const _0x5de167=new this(_0x3ff5bf,_0xb77a04);return await _0x5de167['initPlugins'](),await _0x5de167['ui']['init'](_0x3ff5bf),await _0x5de167['data']['init'](_0x5de167['config']['get']('initialData')||''),_0x5de167['fire']('ready'),_0x5de167;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x2594ac{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x1f8441){super(_0x1f8441),this['result']='end';}}class H extends _0x2594ac{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x5f3b15){if(super(_0x5f3b15),!this['editor']['config']['get']('revisionHistory'))throw new _0x5625e9('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x538180=>this['_showRevisionViewer']({..._0x538180,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x1b2472=>this['_closeRevisionViewer'](_0x1b2472)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x3e3279=>this['_restoreRevision'](_0x3e3279)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x2ceb91){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x2ceb91;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x519778){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x519778);}['getRevision'](_0x89b29c){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x89b29c);}['getRevisions'](_0x128b73){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x128b73||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x13c3b1=this['editor'],_0x376505=_0x2dd241(_0x13c3b1,p),_0x49f406=_0x13c3b1['plugins']['get']('RevisionTracker'),_0x2b06cf=_0x13c3b1['plugins']['get']('Users')['users'];return _0x376505['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x376505['lazyRoots'],(_0x376505['plugins']['push'](k,d,R,class extends _0x2594ac{static get['requires'](){return[d,'Users'];}['init'](){const _0x3eb6c5=this['editor']['plugins']['get']('Users');for(const _0x5c6694 of _0x2b06cf)_0x5c6694['isAnonymous']||_0x3eb6c5['getUser'](_0x5c6694['id'])||_0x3eb6c5['addUser'](_0x5c6694);const _0x375ca1=_0x49f406['repository']['getRevisions']();let _0x503c39=null;const _0x4994a9=this['editor']['plugins']['get']('RevisionViewer');_0x4994a9['adapter']=_0x49f406['adapter'],_0x4994a9['bind']('isEnabled')['to'](_0x49f406),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x13c3b1,'isReadOnly',_0x449482=>!_0x449482);for(const _0x2112a7 of _0x375ca1){const _0x1575ba=null===_0x2112a7['creator'];if(_0x1575ba&&_0x2112a7['toVersion']===_0x2112a7['fromVersion'])continue;const _0x6b469f=_0x2112a7['toJSON']();_0x4994a9['addRevisionData'](_0x6b469f,(_0x49bb6c,_0x4a84d0,_0x42cdf5)=>{if(_0x1575ba){if(_0x503c39)_0x503c39['_update'](_0x49bb6c,_0x4a84d0);else{if(!_0x4a84d0){const _0x57b6b4=_0x42cdf5['toJSON']();_0x57b6b4['id']=_0x4fb95c(),_0x49f406['saveRevision'](_0x57b6b4,_0x42cdf5['toVersion'])['then'](_0x1818fd=>{_0x503c39=_0x1818fd;});}}}else _0x2112a7['_update'](_0x49bb6c,_0x4a84d0);});}}},w),_0x376505);}['_enhanceShowRevisionViewerCallback'](){const _0x571e6e=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x11c8fc=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x3e209e=this['editor']['plugins']['get']('Autosave');await _0x3e209e['save']();}else await _0x11c8fc['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0xb1482f=this['editor']['plugins']['get']('Dialog');_0xb1482f['isOpen']&&_0xb1482f['hide']();}const _0xe265fc=this['_getRevisionViewerEditorConfig']();return _0x571e6e(_0xe265fc)['then'](_0x357864=>{return(this['_viewerEditor']=_0x357864,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x357864;})['catch'](_0x526c28=>(console['error'](_0x526c28),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x183f5a=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'](),_0x183f5a(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x3be79f=this['editor']['plugins']['get']('Annotations');_0x3be79f['refreshVisibility'](),_0x3be79f['refreshPositioning']();}})));}['_showRevisionViewer'](_0x451c77){const _0x14aa2d=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x3e52be=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x2c0d09=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x2c0d09,_0x451c77)['then'](_0x2ba79f=>(_0x3e52be['style']['display']='block',_0x14aa2d['style']['display']='none',_0x2ba79f));}['_closeRevisionViewer'](_0x292c7f){const _0x589730=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x589730['style']['display']='',_0x292c7f['destroy']();}async['_restoreRevision'](_0x162ca2){const _0x3168dc=this['editor'],_0x4588e6=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x43a187=_0x3168dc['plugins']['get']('RevisionTracker'),_0x209f09=_0x4588e6['repository']['getRevision'](_0x162ca2);let _0x2b19fb,_0x240a58,_0xa7e83;try{_0x2b19fb=await _0x4588e6['getRevisionData'](_0x209f09),_0x240a58=await _0x4588e6['getRevisionRootsAttributes'](_0x209f09);}catch(_0x107e2d){return void console['error'](_0x107e2d);}_0x3168dc['model']['change'](_0x3de443=>{for(const _0x48a7e2 of Array['from'](_0x3168dc['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x3de443['removeMarker'](_0x48a7e2);}),_0x4588e6['isReady']=!0x1,_0x3168dc['model']['enqueueChange'](_0x3c65ef=>{_0x3c65ef['setSelection'](null),_0x3c65ef['removeSelectionAttribute'](_0x3168dc['model']['document']['selection']['getAttributeKeys']());const _0x224ff8=Object['keys'](_0x2b19fb);for(const _0x49e523 of _0x3168dc['model']['document']['roots'])'$graveyard'!=_0x49e523['rootName']&&_0x49e523['isAttached']()&&!_0x224ff8['includes'](_0x49e523['rootName'])&&_0x3c65ef['detachRoot'](_0x49e523);for(const _0x8cf293 of _0x224ff8){let _0x1a5920=_0x3168dc['model']['document']['getRoot'](_0x8cf293);_0x1a5920&&_0x1a5920['isAttached']()||(_0x1a5920=_0x3c65ef['addRoot'](_0x8cf293));const _0x26fea=_0x240a58[_0x8cf293],_0x519c93=Object['keys'](_0x26fea),_0x3d13fe=_0x2b19fb[_0x8cf293];for(const _0x22d24d of _0x1a5920['getAttributeKeys']())_0x519c93['includes'](_0x22d24d)||_0x3c65ef['removeAttribute'](_0x22d24d,_0x1a5920);for(const _0x49c03e of _0x519c93)_0x3c65ef['setAttribute'](_0x49c03e,_0x240a58[_0x8cf293][_0x49c03e],_0x1a5920);_0x3c65ef['remove'](_0x3c65ef['createRangeIn'](_0x1a5920)),_0x3c65ef['insert'](_0x3168dc['data']['parse'](_0x3d13fe,_0x1a5920),_0x1a5920,0x0);}});const _0x409d20=y(_0x3168dc['locale'],'Restored');if(_0x209f09['name'])_0xa7e83=-0x1==_0x209f09['name']['indexOf'](_0x409d20)?_0x409d20+':\x20'+_0x209f09['name']:_0x209f09['name'];else _0xa7e83=_0x409d20+':\x20'+(_0x209f09['createdAt']['toLocaleDateString'](_0x3168dc['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x209f09['createdAt']['toLocaleTimeString'](_0x3168dc['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x43a187['saveRevision']({'name':_0xa7e83}),_0x4588e6['isReady']=!0x0,_0x3168dc['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{a as Revision,H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};