@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240627.0 → 0.0.0-nightly-20240628.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/az.js +1 -1
  8. package/dist/translations/az.umd.js +1 -1
  9. package/dist/translations/bg.js +1 -1
  10. package/dist/translations/bg.umd.js +1 -1
  11. package/dist/translations/bn.js +1 -1
  12. package/dist/translations/bn.umd.js +1 -1
  13. package/dist/translations/bs.js +1 -1
  14. package/dist/translations/bs.umd.js +1 -1
  15. package/dist/translations/ca.js +1 -1
  16. package/dist/translations/ca.umd.js +1 -1
  17. package/dist/translations/cs.js +1 -1
  18. package/dist/translations/cs.umd.js +1 -1
  19. package/dist/translations/da.js +1 -1
  20. package/dist/translations/da.umd.js +1 -1
  21. package/dist/translations/de-ch.js +1 -1
  22. package/dist/translations/de-ch.umd.js +1 -1
  23. package/dist/translations/de.js +1 -1
  24. package/dist/translations/de.umd.js +1 -1
  25. package/dist/translations/el.js +1 -1
  26. package/dist/translations/el.umd.js +1 -1
  27. package/dist/translations/en-au.js +1 -1
  28. package/dist/translations/en-au.umd.js +1 -1
  29. package/dist/translations/en-gb.js +1 -1
  30. package/dist/translations/en-gb.umd.js +1 -1
  31. package/dist/translations/en.umd.js +1 -1
  32. package/dist/translations/es-co.js +1 -1
  33. package/dist/translations/es-co.umd.js +1 -1
  34. package/dist/translations/es.js +1 -1
  35. package/dist/translations/es.umd.js +1 -1
  36. package/dist/translations/et.js +1 -1
  37. package/dist/translations/et.umd.js +1 -1
  38. package/dist/translations/fa.js +1 -1
  39. package/dist/translations/fa.umd.js +1 -1
  40. package/dist/translations/fi.js +1 -1
  41. package/dist/translations/fi.umd.js +1 -1
  42. package/dist/translations/fr.js +1 -1
  43. package/dist/translations/fr.umd.js +1 -1
  44. package/dist/translations/gl.js +1 -1
  45. package/dist/translations/gl.umd.js +1 -1
  46. package/dist/translations/he.js +1 -1
  47. package/dist/translations/he.umd.js +1 -1
  48. package/dist/translations/hi.js +1 -1
  49. package/dist/translations/hi.umd.js +1 -1
  50. package/dist/translations/hr.js +1 -1
  51. package/dist/translations/hr.umd.js +1 -1
  52. package/dist/translations/hu.js +1 -1
  53. package/dist/translations/hu.umd.js +1 -1
  54. package/dist/translations/id.js +1 -1
  55. package/dist/translations/id.umd.js +1 -1
  56. package/dist/translations/it.js +1 -1
  57. package/dist/translations/it.umd.js +1 -1
  58. package/dist/translations/ja.js +1 -1
  59. package/dist/translations/ja.umd.js +1 -1
  60. package/dist/translations/jv.js +1 -1
  61. package/dist/translations/jv.umd.js +1 -1
  62. package/dist/translations/ko.js +1 -1
  63. package/dist/translations/ko.umd.js +1 -1
  64. package/dist/translations/ku.js +1 -1
  65. package/dist/translations/ku.umd.js +1 -1
  66. package/dist/translations/lt.js +1 -1
  67. package/dist/translations/lt.umd.js +1 -1
  68. package/dist/translations/lv.js +1 -1
  69. package/dist/translations/lv.umd.js +1 -1
  70. package/dist/translations/ms.js +1 -1
  71. package/dist/translations/ms.umd.js +1 -1
  72. package/dist/translations/ne.js +1 -1
  73. package/dist/translations/ne.umd.js +1 -1
  74. package/dist/translations/nl.js +1 -1
  75. package/dist/translations/nl.umd.js +1 -1
  76. package/dist/translations/no.js +1 -1
  77. package/dist/translations/no.umd.js +1 -1
  78. package/dist/translations/pl.js +1 -1
  79. package/dist/translations/pl.umd.js +1 -1
  80. package/dist/translations/pt-br.js +1 -1
  81. package/dist/translations/pt-br.umd.js +1 -1
  82. package/dist/translations/pt.js +1 -1
  83. package/dist/translations/pt.umd.js +1 -1
  84. package/dist/translations/ro.js +1 -1
  85. package/dist/translations/ro.umd.js +1 -1
  86. package/dist/translations/ru.js +1 -1
  87. package/dist/translations/ru.umd.js +1 -1
  88. package/dist/translations/sk.js +1 -1
  89. package/dist/translations/sk.umd.js +1 -1
  90. package/dist/translations/sr-latn.js +1 -1
  91. package/dist/translations/sr-latn.umd.js +1 -1
  92. package/dist/translations/sr.js +1 -1
  93. package/dist/translations/sr.umd.js +1 -1
  94. package/dist/translations/sv.js +1 -1
  95. package/dist/translations/sv.umd.js +1 -1
  96. package/dist/translations/th.js +1 -1
  97. package/dist/translations/th.umd.js +1 -1
  98. package/dist/translations/ti.js +1 -1
  99. package/dist/translations/ti.umd.js +1 -1
  100. package/dist/translations/tk.js +1 -1
  101. package/dist/translations/tk.umd.js +1 -1
  102. package/dist/translations/tr.js +1 -1
  103. package/dist/translations/tr.umd.js +1 -1
  104. package/dist/translations/tt.js +1 -1
  105. package/dist/translations/tt.umd.js +1 -1
  106. package/dist/translations/ug.js +1 -1
  107. package/dist/translations/ug.umd.js +1 -1
  108. package/dist/translations/uk.js +1 -1
  109. package/dist/translations/uk.umd.js +1 -1
  110. package/dist/translations/ur.js +1 -1
  111. package/dist/translations/ur.umd.js +1 -1
  112. package/dist/translations/vi.js +1 -1
  113. package/dist/translations/vi.umd.js +1 -1
  114. package/dist/translations/zh-cn.js +1 -1
  115. package/dist/translations/zh-cn.umd.js +1 -1
  116. package/dist/translations/zh.js +1 -1
  117. package/dist/translations/zh.umd.js +1 -1
  118. package/package.json +5 -5
  119. package/src/changeitem.js +2 -2
  120. package/src/editor/revisionviewereditor.js +2 -2
  121. package/src/editor/revisionviewereditorui.js +1 -1
  122. package/src/editor/revisionviewereditoruiview.js +1 -1
  123. package/src/index.js +1 -1
  124. package/src/revision.js +2 -2
  125. package/src/revisiondiff.js +1 -1
  126. package/src/revisionhistory.js +1 -1
  127. package/src/revisionsrepository.js +1 -1
  128. package/src/revisiontracker.js +1 -1
  129. package/src/revisionviewer.js +1 -1
  130. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  131. package/src/ui/revision/revisionauthorview.js +1 -1
  132. package/src/ui/revision/revisionnameview.js +1 -1
  133. package/src/ui/revision/revisionview.js +2 -2
  134. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  135. package/src/ui/revision/subrevisionview.js +1 -1
  136. package/src/ui/revision/utils.js +1 -1
  137. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  138. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  139. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  140. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  141. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  142. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  143. package/src/ui/revisionssidebar/utils.js +1 -1
  144. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  145. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  146. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  147. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  148. package/src/utils/common-translations.js +1 -1
package/dist/index.js CHANGED
@@ -20,10 +20,10 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0xfa4437,Context as _0x4015ec,PendingActions as _0x86a053,icons as _0x11c8c0,Command as _0x55c61c,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x19a374,uid as _0x4d587a,Collection as _0x2fa1af,logWarning as _0xe264d,FocusTracker as _0xe0f2b7,KeystrokeHandler as _0xd9bf79,scrollViewportToShowTarget as _0x1c98ac,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x49b839}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x360443,getMarkerDomElement as _0x43cc40,ConfirmMixin as _0x334d6a,sanitizeEditorConfig as _0x4ceac5}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x4e9a9c,ViewText as _0x2c9816,ViewElement as _0x30e238,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x2f2a05,ViewAttributeElement as _0xd1bcab,ViewEmptyElement as _0x3cff86,ViewRawElement as _0x731309,ViewUIElement as _0x3a86bf,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x582adc,set as _0x144fc8,unset as _0x20d994,isEqual as _0x2dc93d}from'lodash-es';import{View as _0x589ebd,injectCssTransitionDisabler as ts,submitHandler as _0x1b789f,LabeledFieldView as at,createLabeledInputText as _0x8b630e,createDropdown as _0x47e0bd,ListView as te,ListItemView as _0x1242fc,ButtonView as _0x1c1921,MenuBarMenuView as _0x5e5718,MenuBarMenuListView as _0x4ca538,MenuBarMenuListItemView as _0x352236,MenuBarMenuListItemButtonView as _0x598d99,ContextualBalloon as _0x53e1b3,ToolbarSeparatorView as _0x250cdc,IconView as _0x4425ac,addListToDropdown as _0x38e45e,ViewModel as to,EditorUI as ht,normalizeToolbarConfig as ct,BoxedEditorUIView as dt,StickyPanelView as lt,ToolbarView as pt,InlineEditableUIView as ut}from'@ckeditor/ckeditor5-ui/dist/index.js';import{DateTime as _0x33f63c}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x19a374(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x4c5da3){super(),this['id']=_0x4c5da3['id']||_0x4d587a(),this['creator']=_0x4c5da3['creator']||null,this['authors']=_0x4c5da3['authors']||[],this['diffData']=_0x4c5da3['diffData']||null,this['toVersion']=_0x4c5da3['toVersion']||0x0,this['fromVersion']=_0x4c5da3['fromVersion']||0x0,this['set']('name',_0x4c5da3['name']||''),this['set']('createdAt',_0x4c5da3['createdAt']||new Date()),this['set']('attributes',_0x4c5da3['attributes']||{});}['setName'](_0xf5fc96){this['_update']({'name':_0xf5fc96});}['setAttribute'](_0x433a8c,_0x4ff0e4){const _0x33c7c8=_0x582adc(this['attributes']);_0x144fc8(_0x33c7c8,_0x433a8c,_0x4ff0e4),this['_update']({'attributes':_0x33c7c8});}['removeAttribute'](_0x394110){const _0x3cdc67=_0x582adc(this['attributes']);_0x20d994(_0x3cdc67,_0x394110),this['_update']({'attributes':_0x3cdc67});}['_update'](_0x2acc2b,_0xfb2d16=!0x1){let _0x19338c=!0x1;const _0x465f29={'id':this['id']},_0x48c629=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x285c17 of _0x48c629){const _0x99b4da=_0x2acc2b[_0x285c17];void 0x0!==_0x99b4da&&_0x99b4da!==this[_0x285c17]&&(this[_0x285c17]=_0x99b4da,_0x465f29[_0x285c17]=_0x99b4da,_0x19338c=!0x0);}_0x19338c&&(_0x465f29['authors']&&(_0x465f29['authorsIds']=_0x465f29['authors']['map'](_0x9d171b=>_0x9d171b['id']),delete _0x465f29['authors']),this['fire']('_update',_0x465f29,_0xfb2d16));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x45c960=>_0x45c960['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0xfa4437{['_revisions'];static get['requires'](){return[_0x360443];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x22047c){super(_0x22047c),this['_revisions']=new _0x2fa1af();}['afterInit'](){!function(_0x4efa53){function _0x58dc94(_0x2febe6,_0x5bc361,_0x2f89ca){const _0x4d448d={};_0x4d448d[_0x883513([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x4d448d[_0x883513([0x72,0x63,0x6f,0x6e])]=[0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36,0x6c,0xd8,0xab,0x4d,0x9a,0x2f,0x5e,0xbc,0x63,0xc6,0x97,0x35,0x6a,0xd4,0xb3,0x7d,0xfa,0xef,0xc5,0x91],_0x4d448d[_0x883513([0x53])]=[0x63,0x7c,0x77,0x7b,0xf2,0x6b,0x6f,0xc5,0x30,0x1,0x67,0x2b,0xfe,0xd7,0xab,0x76,0xca,0x82,0xc9,0x7d,0xfa,0x59,0x47,0xf0,0xad,0xd4,0xa2,0xaf,0x9c,0xa4,0x72,0xc0,0xb7,0xfd,0x93,0x26,0x36,0x3f,0xf7,0xcc,0x34,0xa5,0xe5,0xf1,0x71,0xd8,0x31,0x15,0x4,0xc7,0x23,0xc3,0x18,0x96,0x5,0x9a,0x7,0x12,0x80,0xe2,0xeb,0x27,0xb2,0x75,0x9,0x83,0x2c,0x1a,0x1b,0x6e,0x5a,0xa0,0x52,0x3b,0xd6,0xb3,0x29,0xe3,0x2f,0x84,0x53,0xd1,0x0,0xed,0x20,0xfc,0xb1,0x5b,0x6a,0xcb,0xbe,0x39,0x4a,0x4c,0x58,0xcf,0xd0,0xef,0xaa,0xfb,0x43,0x4d,0x33,0x85,0x45,0xf9,0x2,0x7f,0x50,0x3c,0x9f,0xa8,0x51,0xa3,0x40,0x8f,0x92,0x9d,0x38,0xf5,0xbc,0xb6,0xda,0x21,0x10,0xff,0xf3,0xd2,0xcd,0xc,0x13,0xec,0x5f,0x97,0x44,0x17,0xc4,0xa7,0x7e,0x3d,0x64,0x5d,0x19,0x73,0x60,0x81,0x4f,0xdc,0x22,0x2a,0x90,0x88,0x46,0xee,0xb8,0x14,0xde,0x5e,0xb,0xdb,0xe0,0x32,0x3a,0xa,0x49,0x6,0x24,0x5c,0xc2,0xd3,0xac,0x62,0x91,0x95,0xe4,0x79,0xe7,0xc8,0x37,0x6d,0x8d,0xd5,0x4e,0xa9,0x6c,0x56,0xf4,0xea,0x65,0x7a,0xae,0x8,0xba,0x78,0x25,0x2e,0x1c,0xa6,0xb4,0xc6,0xe8,0xdd,0x74,0x1f,0x4b,0xbd,0x8b,0x8a,0x70,0x3e,0xb5,0x66,0x48,0x3,0xf6,0xe,0x61,0x35,0x57,0xb9,0x86,0xc1,0x1d,0x9e,0xe1,0xf8,0x98,0x11,0x69,0xd9,0x8e,0x94,0x9b,0x1e,0x87,0xe9,0xce,0x55,0x28,0xdf,0x8c,0xa1,0x89,0xd,0xbf,0xe6,0x42,0x68,0x41,0x99,0x2d,0xf,0xb0,0x54,0xbb,0x16],_0x4d448d[_0x883513([0x54,0x31])]=[0xc66363a5,0xf87c7c84,0xee777799,0xf67b7b8d,0xfff2f20d,0xd66b6bbd,0xde6f6fb1,0x91c5c554,0x60303050,0x2010103,0xce6767a9,0x562b2b7d,0xe7fefe19,0xb5d7d762,0x4dababe6,0xec76769a,0x8fcaca45,0x1f82829d,0x89c9c940,0xfa7d7d87,0xeffafa15,0xb25959eb,0x8e4747c9,0xfbf0f00b,0x41adadec,0xb3d4d467,0x5fa2a2fd,0x45afafea,0x239c9cbf,0x53a4a4f7,0xe4727296,0x9bc0c05b,0x75b7b7c2,0xe1fdfd1c,0x3d9393ae,0x4c26266a,0x6c36365a,0x7e3f3f41,0xf5f7f702,0x83cccc4f,0x6834345c,0x51a5a5f4,0xd1e5e534,0xf9f1f108,0xe2717193,0xabd8d873,0x62313153,0x2a15153f,0x804040c,0x95c7c752,0x46232365,0x9dc3c35e,0x30181828,0x379696a1,0xa05050f,0x2f9a9ab5,0xe070709,0x24121236,0x1b80809b,0xdfe2e23d,0xcdebeb26,0x4e272769,0x7fb2b2cd,0xea75759f,0x1209091b,0x1d83839e,0x582c2c74,0x341a1a2e,0x361b1b2d,0xdc6e6eb2,0xb45a5aee,0x5ba0a0fb,0xa45252f6,0x763b3b4d,0xb7d6d661,0x7db3b3ce,0x5229297b,0xdde3e33e,0x5e2f2f71,0x13848497,0xa65353f5,0xb9d1d168,0x0,0xc1eded2c,0x40202060,0xe3fcfc1f,0x79b1b1c8,0xb65b5bed,0xd46a6abe,0x8dcbcb46,0x67bebed9,0x7239394b,0x944a4ade,0x984c4cd4,0xb05858e8,0x85cfcf4a,0xbbd0d06b,0xc5efef2a,0x4faaaae5,0xedfbfb16,0x864343c5,0x9a4d4dd7,0x66333355,0x11858594,0x8a4545cf,0xe9f9f910,0x4020206,0xfe7f7f81,0xa05050f0,0x783c3c44,0x259f9fba,0x4ba8a8e3,0xa25151f3,0x5da3a3fe,0x804040c0,0x58f8f8a,0x3f9292ad,0x219d9dbc,0x70383848,0xf1f5f504,0x63bcbcdf,0x77b6b6c1,0xafdada75,0x42212163,0x20101030,0xe5ffff1a,0xfdf3f30e,0xbfd2d26d,0x81cdcd4c,0x180c0c14,0x26131335,0xc3ecec2f,0xbe5f5fe1,0x359797a2,0x884444cc,0x2e171739,0x93c4c457,0x55a7a7f2,0xfc7e7e82,0x7a3d3d47,0xc86464ac,0xba5d5de7,0x3219192b,0xe6737395,0xc06060a0,0x19818198,0x9e4f4fd1,0xa3dcdc7f,0x44222266,0x542a2a7e,0x3b9090ab,0xb888883,0x8c4646ca,0xc7eeee29,0x6bb8b8d3,0x2814143c,0xa7dede79,0xbc5e5ee2,0x160b0b1d,0xaddbdb76,0xdbe0e03b,0x64323256,0x743a3a4e,0x140a0a1e,0x924949db,0xc06060a,0x4824246c,0xb85c5ce4,0x9fc2c25d,0xbdd3d36e,0x43acacef,0xc46262a6,0x399191a8,0x319595a4,0xd3e4e437,0xf279798b,0xd5e7e732,0x8bc8c843,0x6e373759,0xda6d6db7,0x18d8d8c,0xb1d5d564,0x9c4e4ed2,0x49a9a9e0,0xd86c6cb4,0xac5656fa,0xf3f4f407,0xcfeaea25,0xca6565af,0xf47a7a8e,0x47aeaee9,0x10080818,0x6fbabad5,0xf0787888,0x4a25256f,0x5c2e2e72,0x381c1c24,0x57a6a6f1,0x73b4b4c7,0x97c6c651,0xcbe8e823,0xa1dddd7c,0xe874749c,0x3e1f1f21,0x964b4bdd,0x61bdbddc,0xd8b8b86,0xf8a8a85,0xe0707090,0x7c3e3e42,0x71b5b5c4,0xcc6666aa,0x904848d8,0x6030305,0xf7f6f601,0x1c0e0e12,0xc26161a3,0x6a35355f,0xae5757f9,0x69b9b9d0,0x17868691,0x99c1c158,0x3a1d1d27,0x279e9eb9,0xd9e1e138,0xebf8f813,0x2b9898b3,0x22111133,0xd26969bb,0xa9d9d970,0x78e8e89,0x339494a7,0x2d9b9bb6,0x3c1e1e22,0x15878792,0xc9e9e920,0x87cece49,0xaa5555ff,0x50282878,0xa5dfdf7a,0x38c8c8f,0x59a1a1f8,0x9898980,0x1a0d0d17,0x65bfbfda,0xd7e6e631,0x844242c6,0xd06868b8,0x824141c3,0x299999b0,0x5a2d2d77,0x1e0f0f11,0x7bb0b0cb,0xa85454fc,0x6dbbbbd6,0x2c16163a],_0x4d448d[_0x883513([0x54,0x32])]=[0xa5c66363,0x84f87c7c,0x99ee7777,0x8df67b7b,0xdfff2f2,0xbdd66b6b,0xb1de6f6f,0x5491c5c5,0x50603030,0x3020101,0xa9ce6767,0x7d562b2b,0x19e7fefe,0x62b5d7d7,0xe64dabab,0x9aec7676,0x458fcaca,0x9d1f8282,0x4089c9c9,0x87fa7d7d,0x15effafa,0xebb25959,0xc98e4747,0xbfbf0f0,0xec41adad,0x67b3d4d4,0xfd5fa2a2,0xea45afaf,0xbf239c9c,0xf753a4a4,0x96e47272,0x5b9bc0c0,0xc275b7b7,0x1ce1fdfd,0xae3d9393,0x6a4c2626,0x5a6c3636,0x417e3f3f,0x2f5f7f7,0x4f83cccc,0x5c683434,0xf451a5a5,0x34d1e5e5,0x8f9f1f1,0x93e27171,0x73abd8d8,0x53623131,0x3f2a1515,0xc080404,0x5295c7c7,0x65462323,0x5e9dc3c3,0x28301818,0xa1379696,0xf0a0505,0xb52f9a9a,0x90e0707,0x36241212,0x9b1b8080,0x3ddfe2e2,0x26cdebeb,0x694e2727,0xcd7fb2b2,0x9fea7575,0x1b120909,0x9e1d8383,0x74582c2c,0x2e341a1a,0x2d361b1b,0xb2dc6e6e,0xeeb45a5a,0xfb5ba0a0,0xf6a45252,0x4d763b3b,0x61b7d6d6,0xce7db3b3,0x7b522929,0x3edde3e3,0x715e2f2f,0x97138484,0xf5a65353,0x68b9d1d1,0x0,0x2cc1eded,0x60402020,0x1fe3fcfc,0xc879b1b1,0xedb65b5b,0xbed46a6a,0x468dcbcb,0xd967bebe,0x4b723939,0xde944a4a,0xd4984c4c,0xe8b05858,0x4a85cfcf,0x6bbbd0d0,0x2ac5efef,0xe54faaaa,0x16edfbfb,0xc5864343,0xd79a4d4d,0x55663333,0x94118585,0xcf8a4545,0x10e9f9f9,0x6040202,0x81fe7f7f,0xf0a05050,0x44783c3c,0xba259f9f,0xe34ba8a8,0xf3a25151,0xfe5da3a3,0xc0804040,0x8a058f8f,0xad3f9292,0xbc219d9d,0x48703838,0x4f1f5f5,0xdf63bcbc,0xc177b6b6,0x75afdada,0x63422121,0x30201010,0x1ae5ffff,0xefdf3f3,0x6dbfd2d2,0x4c81cdcd,0x14180c0c,0x35261313,0x2fc3ecec,0xe1be5f5f,0xa2359797,0xcc884444,0x392e1717,0x5793c4c4,0xf255a7a7,0x82fc7e7e,0x477a3d3d,0xacc86464,0xe7ba5d5d,0x2b321919,0x95e67373,0xa0c06060,0x98198181,0xd19e4f4f,0x7fa3dcdc,0x66442222,0x7e542a2a,0xab3b9090,0x830b8888,0xca8c4646,0x29c7eeee,0xd36bb8b8,0x3c281414,0x79a7dede,0xe2bc5e5e,0x1d160b0b,0x76addbdb,0x3bdbe0e0,0x56643232,0x4e743a3a,0x1e140a0a,0xdb924949,0xa0c0606,0x6c482424,0xe4b85c5c,0x5d9fc2c2,0x6ebdd3d3,0xef43acac,0xa6c46262,0xa8399191,0xa4319595,0x37d3e4e4,0x8bf27979,0x32d5e7e7,0x438bc8c8,0x596e3737,0xb7da6d6d,0x8c018d8d,0x64b1d5d5,0xd29c4e4e,0xe049a9a9,0xb4d86c6c,0xfaac5656,0x7f3f4f4,0x25cfeaea,0xafca6565,0x8ef47a7a,0xe947aeae,0x18100808,0xd56fbaba,0x88f07878,0x6f4a2525,0x725c2e2e,0x24381c1c,0xf157a6a6,0xc773b4b4,0x5197c6c6,0x23cbe8e8,0x7ca1dddd,0x9ce87474,0x213e1f1f,0xdd964b4b,0xdc61bdbd,0x860d8b8b,0x850f8a8a,0x90e07070,0x427c3e3e,0xc471b5b5,0xaacc6666,0xd8904848,0x5060303,0x1f7f6f6,0x121c0e0e,0xa3c26161,0x5f6a3535,0xf9ae5757,0xd069b9b9,0x91178686,0x5899c1c1,0x273a1d1d,0xb9279e9e,0x38d9e1e1,0x13ebf8f8,0xb32b9898,0x33221111,0xbbd26969,0x70a9d9d9,0x89078e8e,0xa7339494,0xb62d9b9b,0x223c1e1e,0x92158787,0x20c9e9e9,0x4987cece,0xffaa5555,0x78502828,0x7aa5dfdf,0x8f038c8c,0xf859a1a1,0x80098989,0x171a0d0d,0xda65bfbf,0x31d7e6e6,0xc6844242,0xb8d06868,0xc3824141,0xb0299999,0x775a2d2d,0x111e0f0f,0xcb7bb0b0,0xfca85454,0xd66dbbbb,0x3a2c1616],_0x4d448d[_0x883513([0x54,0x33])]=[0x63a5c663,0x7c84f87c,0x7799ee77,0x7b8df67b,0xf20dfff2,0x6bbdd66b,0x6fb1de6f,0xc55491c5,0x30506030,0x1030201,0x67a9ce67,0x2b7d562b,0xfe19e7fe,0xd762b5d7,0xabe64dab,0x769aec76,0xca458fca,0x829d1f82,0xc94089c9,0x7d87fa7d,0xfa15effa,0x59ebb259,0x47c98e47,0xf00bfbf0,0xadec41ad,0xd467b3d4,0xa2fd5fa2,0xafea45af,0x9cbf239c,0xa4f753a4,0x7296e472,0xc05b9bc0,0xb7c275b7,0xfd1ce1fd,0x93ae3d93,0x266a4c26,0x365a6c36,0x3f417e3f,0xf702f5f7,0xcc4f83cc,0x345c6834,0xa5f451a5,0xe534d1e5,0xf108f9f1,0x7193e271,0xd873abd8,0x31536231,0x153f2a15,0x40c0804,0xc75295c7,0x23654623,0xc35e9dc3,0x18283018,0x96a13796,0x50f0a05,0x9ab52f9a,0x7090e07,0x12362412,0x809b1b80,0xe23ddfe2,0xeb26cdeb,0x27694e27,0xb2cd7fb2,0x759fea75,0x91b1209,0x839e1d83,0x2c74582c,0x1a2e341a,0x1b2d361b,0x6eb2dc6e,0x5aeeb45a,0xa0fb5ba0,0x52f6a452,0x3b4d763b,0xd661b7d6,0xb3ce7db3,0x297b5229,0xe33edde3,0x2f715e2f,0x84971384,0x53f5a653,0xd168b9d1,0x0,0xed2cc1ed,0x20604020,0xfc1fe3fc,0xb1c879b1,0x5bedb65b,0x6abed46a,0xcb468dcb,0xbed967be,0x394b7239,0x4ade944a,0x4cd4984c,0x58e8b058,0xcf4a85cf,0xd06bbbd0,0xef2ac5ef,0xaae54faa,0xfb16edfb,0x43c58643,0x4dd79a4d,0x33556633,0x85941185,0x45cf8a45,0xf910e9f9,0x2060402,0x7f81fe7f,0x50f0a050,0x3c44783c,0x9fba259f,0xa8e34ba8,0x51f3a251,0xa3fe5da3,0x40c08040,0x8f8a058f,0x92ad3f92,0x9dbc219d,0x38487038,0xf504f1f5,0xbcdf63bc,0xb6c177b6,0xda75afda,0x21634221,0x10302010,0xff1ae5ff,0xf30efdf3,0xd26dbfd2,0xcd4c81cd,0xc14180c,0x13352613,0xec2fc3ec,0x5fe1be5f,0x97a23597,0x44cc8844,0x17392e17,0xc45793c4,0xa7f255a7,0x7e82fc7e,0x3d477a3d,0x64acc864,0x5de7ba5d,0x192b3219,0x7395e673,0x60a0c060,0x81981981,0x4fd19e4f,0xdc7fa3dc,0x22664422,0x2a7e542a,0x90ab3b90,0x88830b88,0x46ca8c46,0xee29c7ee,0xb8d36bb8,0x143c2814,0xde79a7de,0x5ee2bc5e,0xb1d160b,0xdb76addb,0xe03bdbe0,0x32566432,0x3a4e743a,0xa1e140a,0x49db9249,0x60a0c06,0x246c4824,0x5ce4b85c,0xc25d9fc2,0xd36ebdd3,0xacef43ac,0x62a6c462,0x91a83991,0x95a43195,0xe437d3e4,0x798bf279,0xe732d5e7,0xc8438bc8,0x37596e37,0x6db7da6d,0x8d8c018d,0xd564b1d5,0x4ed29c4e,0xa9e049a9,0x6cb4d86c,0x56faac56,0xf407f3f4,0xea25cfea,0x65afca65,0x7a8ef47a,0xaee947ae,0x8181008,0xbad56fba,0x7888f078,0x256f4a25,0x2e725c2e,0x1c24381c,0xa6f157a6,0xb4c773b4,0xc65197c6,0xe823cbe8,0xdd7ca1dd,0x749ce874,0x1f213e1f,0x4bdd964b,0xbddc61bd,0x8b860d8b,0x8a850f8a,0x7090e070,0x3e427c3e,0xb5c471b5,0x66aacc66,0x48d89048,0x3050603,0xf601f7f6,0xe121c0e,0x61a3c261,0x355f6a35,0x57f9ae57,0xb9d069b9,0x86911786,0xc15899c1,0x1d273a1d,0x9eb9279e,0xe138d9e1,0xf813ebf8,0x98b32b98,0x11332211,0x69bbd269,0xd970a9d9,0x8e89078e,0x94a73394,0x9bb62d9b,0x1e223c1e,0x87921587,0xe920c9e9,0xce4987ce,0x55ffaa55,0x28785028,0xdf7aa5df,0x8c8f038c,0xa1f859a1,0x89800989,0xd171a0d,0xbfda65bf,0xe631d7e6,0x42c68442,0x68b8d068,0x41c38241,0x99b02999,0x2d775a2d,0xf111e0f,0xb0cb7bb0,0x54fca854,0xbbd66dbb,0x163a2c16],_0x4d448d[_0x883513([0x54,0x34])]=[0x6363a5c6,0x7c7c84f8,0x777799ee,0x7b7b8df6,0xf2f20dff,0x6b6bbdd6,0x6f6fb1de,0xc5c55491,0x30305060,0x1010302,0x6767a9ce,0x2b2b7d56,0xfefe19e7,0xd7d762b5,0xababe64d,0x76769aec,0xcaca458f,0x82829d1f,0xc9c94089,0x7d7d87fa,0xfafa15ef,0x5959ebb2,0x4747c98e,0xf0f00bfb,0xadadec41,0xd4d467b3,0xa2a2fd5f,0xafafea45,0x9c9cbf23,0xa4a4f753,0x727296e4,0xc0c05b9b,0xb7b7c275,0xfdfd1ce1,0x9393ae3d,0x26266a4c,0x36365a6c,0x3f3f417e,0xf7f702f5,0xcccc4f83,0x34345c68,0xa5a5f451,0xe5e534d1,0xf1f108f9,0x717193e2,0xd8d873ab,0x31315362,0x15153f2a,0x4040c08,0xc7c75295,0x23236546,0xc3c35e9d,0x18182830,0x9696a137,0x5050f0a,0x9a9ab52f,0x707090e,0x12123624,0x80809b1b,0xe2e23ddf,0xebeb26cd,0x2727694e,0xb2b2cd7f,0x75759fea,0x9091b12,0x83839e1d,0x2c2c7458,0x1a1a2e34,0x1b1b2d36,0x6e6eb2dc,0x5a5aeeb4,0xa0a0fb5b,0x5252f6a4,0x3b3b4d76,0xd6d661b7,0xb3b3ce7d,0x29297b52,0xe3e33edd,0x2f2f715e,0x84849713,0x5353f5a6,0xd1d168b9,0x0,0xeded2cc1,0x20206040,0xfcfc1fe3,0xb1b1c879,0x5b5bedb6,0x6a6abed4,0xcbcb468d,0xbebed967,0x39394b72,0x4a4ade94,0x4c4cd498,0x5858e8b0,0xcfcf4a85,0xd0d06bbb,0xefef2ac5,0xaaaae54f,0xfbfb16ed,0x4343c586,0x4d4dd79a,0x33335566,0x85859411,0x4545cf8a,0xf9f910e9,0x2020604,0x7f7f81fe,0x5050f0a0,0x3c3c4478,0x9f9fba25,0xa8a8e34b,0x5151f3a2,0xa3a3fe5d,0x4040c080,0x8f8f8a05,0x9292ad3f,0x9d9dbc21,0x38384870,0xf5f504f1,0xbcbcdf63,0xb6b6c177,0xdada75af,0x21216342,0x10103020,0xffff1ae5,0xf3f30efd,0xd2d26dbf,0xcdcd4c81,0xc0c1418,0x13133526,0xecec2fc3,0x5f5fe1be,0x9797a235,0x4444cc88,0x1717392e,0xc4c45793,0xa7a7f255,0x7e7e82fc,0x3d3d477a,0x6464acc8,0x5d5de7ba,0x19192b32,0x737395e6,0x6060a0c0,0x81819819,0x4f4fd19e,0xdcdc7fa3,0x22226644,0x2a2a7e54,0x9090ab3b,0x8888830b,0x4646ca8c,0xeeee29c7,0xb8b8d36b,0x14143c28,0xdede79a7,0x5e5ee2bc,0xb0b1d16,0xdbdb76ad,0xe0e03bdb,0x32325664,0x3a3a4e74,0xa0a1e14,0x4949db92,0x6060a0c,0x24246c48,0x5c5ce4b8,0xc2c25d9f,0xd3d36ebd,0xacacef43,0x6262a6c4,0x9191a839,0x9595a431,0xe4e437d3,0x79798bf2,0xe7e732d5,0xc8c8438b,0x3737596e,0x6d6db7da,0x8d8d8c01,0xd5d564b1,0x4e4ed29c,0xa9a9e049,0x6c6cb4d8,0x5656faac,0xf4f407f3,0xeaea25cf,0x6565afca,0x7a7a8ef4,0xaeaee947,0x8081810,0xbabad56f,0x787888f0,0x25256f4a,0x2e2e725c,0x1c1c2438,0xa6a6f157,0xb4b4c773,0xc6c65197,0xe8e823cb,0xdddd7ca1,0x74749ce8,0x1f1f213e,0x4b4bdd96,0xbdbddc61,0x8b8b860d,0x8a8a850f,0x707090e0,0x3e3e427c,0xb5b5c471,0x6666aacc,0x4848d890,0x3030506,0xf6f601f7,0xe0e121c,0x6161a3c2,0x35355f6a,0x5757f9ae,0xb9b9d069,0x86869117,0xc1c15899,0x1d1d273a,0x9e9eb927,0xe1e138d9,0xf8f813eb,0x9898b32b,0x11113322,0x6969bbd2,0xd9d970a9,0x8e8e8907,0x9494a733,0x9b9bb62d,0x1e1e223c,0x87879215,0xe9e920c9,0xcece4987,0x5555ffaa,0x28287850,0xdfdf7aa5,0x8c8c8f03,0xa1a1f859,0x89898009,0xd0d171a,0xbfbfda65,0xe6e631d7,0x4242c684,0x6868b8d0,0x4141c382,0x9999b029,0x2d2d775a,0xf0f111e,0xb0b0cb7b,0x5454fca8,0xbbbbd66d,0x16163a2c],_0x4d448d[_0x883513([0x55,0x31])]=[0x0,0xe090d0b,0x1c121a16,0x121b171d,0x3824342c,0x362d3927,0x24362e3a,0x2a3f2331,0x70486858,0x7e416553,0x6c5a724e,0x62537f45,0x486c5c74,0x4665517f,0x547e4662,0x5a774b69,0xe090d0b0,0xee99ddbb,0xfc82caa6,0xf28bc7ad,0xd8b4e49c,0xd6bde997,0xc4a6fe8a,0xcaaff381,0x90d8b8e8,0x9ed1b5e3,0x8ccaa2fe,0x82c3aff5,0xa8fc8cc4,0xa6f581cf,0xb4ee96d2,0xbae79bd9,0xdb3bbb7b,0xd532b670,0xc729a16d,0xc920ac66,0xe31f8f57,0xed16825c,0xff0d9541,0xf104984a,0xab73d323,0xa57ade28,0xb761c935,0xb968c43e,0x9357e70f,0x9d5eea04,0x8f45fd19,0x814cf012,0x3bab6bcb,0x35a266c0,0x27b971dd,0x29b07cd6,0x38f5fe7,0xd8652ec,0x1f9d45f1,0x119448fa,0x4be30393,0x45ea0e98,0x57f11985,0x59f8148e,0x73c737bf,0x7dce3ab4,0x6fd52da9,0x61dc20a2,0xad766df6,0xa37f60fd,0xb16477e0,0xbf6d7aeb,0x955259da,0x9b5b54d1,0x894043cc,0x87494ec7,0xdd3e05ae,0xd33708a5,0xc12c1fb8,0xcf2512b3,0xe51a3182,0xeb133c89,0xf9082b94,0xf701269f,0x4de6bd46,0x43efb04d,0x51f4a750,0x5ffdaa5b,0x75c2896a,0x7bcb8461,0x69d0937c,0x67d99e77,0x3daed51e,0x33a7d815,0x21bccf08,0x2fb5c203,0x58ae132,0xb83ec39,0x1998fb24,0x1791f62f,0x764dd68d,0x7844db86,0x6a5fcc9b,0x6456c190,0x4e69e2a1,0x4060efaa,0x527bf8b7,0x5c72f5bc,0x605bed5,0x80cb3de,0x1a17a4c3,0x141ea9c8,0x3e218af9,0x302887f2,0x223390ef,0x2c3a9de4,0x96dd063d,0x98d40b36,0x8acf1c2b,0x84c61120,0xaef93211,0xa0f03f1a,0xb2eb2807,0xbce2250c,0xe6956e65,0xe89c636e,0xfa877473,0xf48e7978,0xdeb15a49,0xd0b85742,0xc2a3405f,0xccaa4d54,0x41ecdaf7,0x4fe5d7fc,0x5dfec0e1,0x53f7cdea,0x79c8eedb,0x77c1e3d0,0x65daf4cd,0x6bd3f9c6,0x31a4b2af,0x3fadbfa4,0x2db6a8b9,0x23bfa5b2,0x9808683,0x7898b88,0x15929c95,0x1b9b919e,0xa17c0a47,0xaf75074c,0xbd6e1051,0xb3671d5a,0x99583e6b,0x97513360,0x854a247d,0x8b432976,0xd134621f,0xdf3d6f14,0xcd267809,0xc32f7502,0xe9105633,0xe7195b38,0xf5024c25,0xfb0b412e,0x9ad7618c,0x94de6c87,0x86c57b9a,0x88cc7691,0xa2f355a0,0xacfa58ab,0xbee14fb6,0xb0e842bd,0xea9f09d4,0xe49604df,0xf68d13c2,0xf8841ec9,0xd2bb3df8,0xdcb230f3,0xcea927ee,0xc0a02ae5,0x7a47b13c,0x744ebc37,0x6655ab2a,0x685ca621,0x42638510,0x4c6a881b,0x5e719f06,0x5078920d,0xa0fd964,0x406d46f,0x161dc372,0x1814ce79,0x322bed48,0x3c22e043,0x2e39f75e,0x2030fa55,0xec9ab701,0xe293ba0a,0xf088ad17,0xfe81a01c,0xd4be832d,0xdab78e26,0xc8ac993b,0xc6a59430,0x9cd2df59,0x92dbd252,0x80c0c54f,0x8ec9c844,0xa4f6eb75,0xaaffe67e,0xb8e4f163,0xb6edfc68,0xc0a67b1,0x2036aba,0x10187da7,0x1e1170ac,0x342e539d,0x3a275e96,0x283c498b,0x26354480,0x7c420fe9,0x724b02e2,0x605015ff,0x6e5918f4,0x44663bc5,0x4a6f36ce,0x587421d3,0x567d2cd8,0x37a10c7a,0x39a80171,0x2bb3166c,0x25ba1b67,0xf853856,0x18c355d,0x13972240,0x1d9e2f4b,0x47e96422,0x49e06929,0x5bfb7e34,0x55f2733f,0x7fcd500e,0x71c45d05,0x63df4a18,0x6dd64713,0xd731dcca,0xd938d1c1,0xcb23c6dc,0xc52acbd7,0xef15e8e6,0xe11ce5ed,0xf307f2f0,0xfd0efffb,0xa779b492,0xa970b999,0xbb6bae84,0xb562a38f,0x9f5d80be,0x91548db5,0x834f9aa8,0x8d4697a3],_0x4d448d[_0x883513([0x55,0x32])]=[0x0,0xb0e090d,0x161c121a,0x1d121b17,0x2c382434,0x27362d39,0x3a24362e,0x312a3f23,0x58704868,0x537e4165,0x4e6c5a72,0x4562537f,0x74486c5c,0x7f466551,0x62547e46,0x695a774b,0xb0e090d0,0xbbee99dd,0xa6fc82ca,0xadf28bc7,0x9cd8b4e4,0x97d6bde9,0x8ac4a6fe,0x81caaff3,0xe890d8b8,0xe39ed1b5,0xfe8ccaa2,0xf582c3af,0xc4a8fc8c,0xcfa6f581,0xd2b4ee96,0xd9bae79b,0x7bdb3bbb,0x70d532b6,0x6dc729a1,0x66c920ac,0x57e31f8f,0x5ced1682,0x41ff0d95,0x4af10498,0x23ab73d3,0x28a57ade,0x35b761c9,0x3eb968c4,0xf9357e7,0x49d5eea,0x198f45fd,0x12814cf0,0xcb3bab6b,0xc035a266,0xdd27b971,0xd629b07c,0xe7038f5f,0xec0d8652,0xf11f9d45,0xfa119448,0x934be303,0x9845ea0e,0x8557f119,0x8e59f814,0xbf73c737,0xb47dce3a,0xa96fd52d,0xa261dc20,0xf6ad766d,0xfda37f60,0xe0b16477,0xebbf6d7a,0xda955259,0xd19b5b54,0xcc894043,0xc787494e,0xaedd3e05,0xa5d33708,0xb8c12c1f,0xb3cf2512,0x82e51a31,0x89eb133c,0x94f9082b,0x9ff70126,0x464de6bd,0x4d43efb0,0x5051f4a7,0x5b5ffdaa,0x6a75c289,0x617bcb84,0x7c69d093,0x7767d99e,0x1e3daed5,0x1533a7d8,0x821bccf,0x32fb5c2,0x32058ae1,0x390b83ec,0x241998fb,0x2f1791f6,0x8d764dd6,0x867844db,0x9b6a5fcc,0x906456c1,0xa14e69e2,0xaa4060ef,0xb7527bf8,0xbc5c72f5,0xd50605be,0xde080cb3,0xc31a17a4,0xc8141ea9,0xf93e218a,0xf2302887,0xef223390,0xe42c3a9d,0x3d96dd06,0x3698d40b,0x2b8acf1c,0x2084c611,0x11aef932,0x1aa0f03f,0x7b2eb28,0xcbce225,0x65e6956e,0x6ee89c63,0x73fa8774,0x78f48e79,0x49deb15a,0x42d0b857,0x5fc2a340,0x54ccaa4d,0xf741ecda,0xfc4fe5d7,0xe15dfec0,0xea53f7cd,0xdb79c8ee,0xd077c1e3,0xcd65daf4,0xc66bd3f9,0xaf31a4b2,0xa43fadbf,0xb92db6a8,0xb223bfa5,0x83098086,0x8807898b,0x9515929c,0x9e1b9b91,0x47a17c0a,0x4caf7507,0x51bd6e10,0x5ab3671d,0x6b99583e,0x60975133,0x7d854a24,0x768b4329,0x1fd13462,0x14df3d6f,0x9cd2678,0x2c32f75,0x33e91056,0x38e7195b,0x25f5024c,0x2efb0b41,0x8c9ad761,0x8794de6c,0x9a86c57b,0x9188cc76,0xa0a2f355,0xabacfa58,0xb6bee14f,0xbdb0e842,0xd4ea9f09,0xdfe49604,0xc2f68d13,0xc9f8841e,0xf8d2bb3d,0xf3dcb230,0xeecea927,0xe5c0a02a,0x3c7a47b1,0x37744ebc,0x2a6655ab,0x21685ca6,0x10426385,0x1b4c6a88,0x65e719f,0xd507892,0x640a0fd9,0x6f0406d4,0x72161dc3,0x791814ce,0x48322bed,0x433c22e0,0x5e2e39f7,0x552030fa,0x1ec9ab7,0xae293ba,0x17f088ad,0x1cfe81a0,0x2dd4be83,0x26dab78e,0x3bc8ac99,0x30c6a594,0x599cd2df,0x5292dbd2,0x4f80c0c5,0x448ec9c8,0x75a4f6eb,0x7eaaffe6,0x63b8e4f1,0x68b6edfc,0xb10c0a67,0xba02036a,0xa710187d,0xac1e1170,0x9d342e53,0x963a275e,0x8b283c49,0x80263544,0xe97c420f,0xe2724b02,0xff605015,0xf46e5918,0xc544663b,0xce4a6f36,0xd3587421,0xd8567d2c,0x7a37a10c,0x7139a801,0x6c2bb316,0x6725ba1b,0x560f8538,0x5d018c35,0x40139722,0x4b1d9e2f,0x2247e964,0x2949e069,0x345bfb7e,0x3f55f273,0xe7fcd50,0x571c45d,0x1863df4a,0x136dd647,0xcad731dc,0xc1d938d1,0xdccb23c6,0xd7c52acb,0xe6ef15e8,0xede11ce5,0xf0f307f2,0xfbfd0eff,0x92a779b4,0x99a970b9,0x84bb6bae,0x8fb562a3,0xbe9f5d80,0xb591548d,0xa8834f9a,0xa38d4697],_0x4d448d[_0x883513([0x55,0x33])]=[0x0,0xd0b0e09,0x1a161c12,0x171d121b,0x342c3824,0x3927362d,0x2e3a2436,0x23312a3f,0x68587048,0x65537e41,0x724e6c5a,0x7f456253,0x5c74486c,0x517f4665,0x4662547e,0x4b695a77,0xd0b0e090,0xddbbee99,0xcaa6fc82,0xc7adf28b,0xe49cd8b4,0xe997d6bd,0xfe8ac4a6,0xf381caaf,0xb8e890d8,0xb5e39ed1,0xa2fe8cca,0xaff582c3,0x8cc4a8fc,0x81cfa6f5,0x96d2b4ee,0x9bd9bae7,0xbb7bdb3b,0xb670d532,0xa16dc729,0xac66c920,0x8f57e31f,0x825ced16,0x9541ff0d,0x984af104,0xd323ab73,0xde28a57a,0xc935b761,0xc43eb968,0xe70f9357,0xea049d5e,0xfd198f45,0xf012814c,0x6bcb3bab,0x66c035a2,0x71dd27b9,0x7cd629b0,0x5fe7038f,0x52ec0d86,0x45f11f9d,0x48fa1194,0x3934be3,0xe9845ea,0x198557f1,0x148e59f8,0x37bf73c7,0x3ab47dce,0x2da96fd5,0x20a261dc,0x6df6ad76,0x60fda37f,0x77e0b164,0x7aebbf6d,0x59da9552,0x54d19b5b,0x43cc8940,0x4ec78749,0x5aedd3e,0x8a5d337,0x1fb8c12c,0x12b3cf25,0x3182e51a,0x3c89eb13,0x2b94f908,0x269ff701,0xbd464de6,0xb04d43ef,0xa75051f4,0xaa5b5ffd,0x896a75c2,0x84617bcb,0x937c69d0,0x9e7767d9,0xd51e3dae,0xd81533a7,0xcf0821bc,0xc2032fb5,0xe132058a,0xec390b83,0xfb241998,0xf62f1791,0xd68d764d,0xdb867844,0xcc9b6a5f,0xc1906456,0xe2a14e69,0xefaa4060,0xf8b7527b,0xf5bc5c72,0xbed50605,0xb3de080c,0xa4c31a17,0xa9c8141e,0x8af93e21,0x87f23028,0x90ef2233,0x9de42c3a,0x63d96dd,0xb3698d4,0x1c2b8acf,0x112084c6,0x3211aef9,0x3f1aa0f0,0x2807b2eb,0x250cbce2,0x6e65e695,0x636ee89c,0x7473fa87,0x7978f48e,0x5a49deb1,0x5742d0b8,0x405fc2a3,0x4d54ccaa,0xdaf741ec,0xd7fc4fe5,0xc0e15dfe,0xcdea53f7,0xeedb79c8,0xe3d077c1,0xf4cd65da,0xf9c66bd3,0xb2af31a4,0xbfa43fad,0xa8b92db6,0xa5b223bf,0x86830980,0x8b880789,0x9c951592,0x919e1b9b,0xa47a17c,0x74caf75,0x1051bd6e,0x1d5ab367,0x3e6b9958,0x33609751,0x247d854a,0x29768b43,0x621fd134,0x6f14df3d,0x7809cd26,0x7502c32f,0x5633e910,0x5b38e719,0x4c25f502,0x412efb0b,0x618c9ad7,0x6c8794de,0x7b9a86c5,0x769188cc,0x55a0a2f3,0x58abacfa,0x4fb6bee1,0x42bdb0e8,0x9d4ea9f,0x4dfe496,0x13c2f68d,0x1ec9f884,0x3df8d2bb,0x30f3dcb2,0x27eecea9,0x2ae5c0a0,0xb13c7a47,0xbc37744e,0xab2a6655,0xa621685c,0x85104263,0x881b4c6a,0x9f065e71,0x920d5078,0xd9640a0f,0xd46f0406,0xc372161d,0xce791814,0xed48322b,0xe0433c22,0xf75e2e39,0xfa552030,0xb701ec9a,0xba0ae293,0xad17f088,0xa01cfe81,0x832dd4be,0x8e26dab7,0x993bc8ac,0x9430c6a5,0xdf599cd2,0xd25292db,0xc54f80c0,0xc8448ec9,0xeb75a4f6,0xe67eaaff,0xf163b8e4,0xfc68b6ed,0x67b10c0a,0x6aba0203,0x7da71018,0x70ac1e11,0x539d342e,0x5e963a27,0x498b283c,0x44802635,0xfe97c42,0x2e2724b,0x15ff6050,0x18f46e59,0x3bc54466,0x36ce4a6f,0x21d35874,0x2cd8567d,0xc7a37a1,0x17139a8,0x166c2bb3,0x1b6725ba,0x38560f85,0x355d018c,0x22401397,0x2f4b1d9e,0x642247e9,0x692949e0,0x7e345bfb,0x733f55f2,0x500e7fcd,0x5d0571c4,0x4a1863df,0x47136dd6,0xdccad731,0xd1c1d938,0xc6dccb23,0xcbd7c52a,0xe8e6ef15,0xe5ede11c,0xf2f0f307,0xfffbfd0e,0xb492a779,0xb999a970,0xae84bb6b,0xa38fb562,0x80be9f5d,0x8db59154,0x9aa8834f,0x97a38d46],_0x4d448d[_0x883513([0x55,0x34])]=[0x0,0x90d0b0e,0x121a161c,0x1b171d12,0x24342c38,0x2d392736,0x362e3a24,0x3f23312a,0x48685870,0x4165537e,0x5a724e6c,0x537f4562,0x6c5c7448,0x65517f46,0x7e466254,0x774b695a,0x90d0b0e0,0x99ddbbee,0x82caa6fc,0x8bc7adf2,0xb4e49cd8,0xbde997d6,0xa6fe8ac4,0xaff381ca,0xd8b8e890,0xd1b5e39e,0xcaa2fe8c,0xc3aff582,0xfc8cc4a8,0xf581cfa6,0xee96d2b4,0xe79bd9ba,0x3bbb7bdb,0x32b670d5,0x29a16dc7,0x20ac66c9,0x1f8f57e3,0x16825ced,0xd9541ff,0x4984af1,0x73d323ab,0x7ade28a5,0x61c935b7,0x68c43eb9,0x57e70f93,0x5eea049d,0x45fd198f,0x4cf01281,0xab6bcb3b,0xa266c035,0xb971dd27,0xb07cd629,0x8f5fe703,0x8652ec0d,0x9d45f11f,0x9448fa11,0xe303934b,0xea0e9845,0xf1198557,0xf8148e59,0xc737bf73,0xce3ab47d,0xd52da96f,0xdc20a261,0x766df6ad,0x7f60fda3,0x6477e0b1,0x6d7aebbf,0x5259da95,0x5b54d19b,0x4043cc89,0x494ec787,0x3e05aedd,0x3708a5d3,0x2c1fb8c1,0x2512b3cf,0x1a3182e5,0x133c89eb,0x82b94f9,0x1269ff7,0xe6bd464d,0xefb04d43,0xf4a75051,0xfdaa5b5f,0xc2896a75,0xcb84617b,0xd0937c69,0xd99e7767,0xaed51e3d,0xa7d81533,0xbccf0821,0xb5c2032f,0x8ae13205,0x83ec390b,0x98fb2419,0x91f62f17,0x4dd68d76,0x44db8678,0x5fcc9b6a,0x56c19064,0x69e2a14e,0x60efaa40,0x7bf8b752,0x72f5bc5c,0x5bed506,0xcb3de08,0x17a4c31a,0x1ea9c814,0x218af93e,0x2887f230,0x3390ef22,0x3a9de42c,0xdd063d96,0xd40b3698,0xcf1c2b8a,0xc6112084,0xf93211ae,0xf03f1aa0,0xeb2807b2,0xe2250cbc,0x956e65e6,0x9c636ee8,0x877473fa,0x8e7978f4,0xb15a49de,0xb85742d0,0xa3405fc2,0xaa4d54cc,0xecdaf741,0xe5d7fc4f,0xfec0e15d,0xf7cdea53,0xc8eedb79,0xc1e3d077,0xdaf4cd65,0xd3f9c66b,0xa4b2af31,0xadbfa43f,0xb6a8b92d,0xbfa5b223,0x80868309,0x898b8807,0x929c9515,0x9b919e1b,0x7c0a47a1,0x75074caf,0x6e1051bd,0x671d5ab3,0x583e6b99,0x51336097,0x4a247d85,0x4329768b,0x34621fd1,0x3d6f14df,0x267809cd,0x2f7502c3,0x105633e9,0x195b38e7,0x24c25f5,0xb412efb,0xd7618c9a,0xde6c8794,0xc57b9a86,0xcc769188,0xf355a0a2,0xfa58abac,0xe14fb6be,0xe842bdb0,0x9f09d4ea,0x9604dfe4,0x8d13c2f6,0x841ec9f8,0xbb3df8d2,0xb230f3dc,0xa927eece,0xa02ae5c0,0x47b13c7a,0x4ebc3774,0x55ab2a66,0x5ca62168,0x63851042,0x6a881b4c,0x719f065e,0x78920d50,0xfd9640a,0x6d46f04,0x1dc37216,0x14ce7918,0x2bed4832,0x22e0433c,0x39f75e2e,0x30fa5520,0x9ab701ec,0x93ba0ae2,0x88ad17f0,0x81a01cfe,0xbe832dd4,0xb78e26da,0xac993bc8,0xa59430c6,0xd2df599c,0xdbd25292,0xc0c54f80,0xc9c8448e,0xf6eb75a4,0xffe67eaa,0xe4f163b8,0xedfc68b6,0xa67b10c,0x36aba02,0x187da710,0x1170ac1e,0x2e539d34,0x275e963a,0x3c498b28,0x35448026,0x420fe97c,0x4b02e272,0x5015ff60,0x5918f46e,0x663bc544,0x6f36ce4a,0x7421d358,0x7d2cd856,0xa10c7a37,0xa8017139,0xb3166c2b,0xba1b6725,0x8538560f,0x8c355d01,0x97224013,0x9e2f4b1d,0xe9642247,0xe0692949,0xfb7e345b,0xf2733f55,0xcd500e7f,0xc45d0571,0xdf4a1863,0xd647136d,0x31dccad7,0x38d1c1d9,0x23c6dccb,0x2acbd7c5,0x15e8e6ef,0x1ce5ede1,0x7f2f0f3,0xefffbfd,0x79b492a7,0x70b999a9,0x6bae84bb,0x62a38fb5,0x5d80be9f,0x548db591,0x4f9aa883,0x4697a38d];const _0x287822=new Uint8Array(0x10);for(let _0xffebbf=0xf;_0xffebbf>=0x0;--_0xffebbf)_0x287822[_0xffebbf]=_0x2f89ca%0x100,_0x2f89ca=parseInt(_0x2f89ca/0x100);let _0x512f57=null,_0x5933bf=0x10;const _0xdd0f63=new Uint8Array(_0x5bc361),_0x28b337=[],_0xb2d1d8=[];_0x1f497b();for(let _0x5c614d=0x0;_0x5c614d<_0x2febe6[_0x883513([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c614d++)0x10===_0x5933bf&&(_0x512f57=_0x4db22e(_0x287822),_0x5933bf=0x0,_0x2add2a(_0x287822)),_0x2febe6[_0x5c614d]^=_0x512f57[_0x5933bf++];return _0x2febe6;function _0xe13eeb(_0x86ffa){const _0x358ce4=[];for(let _0x2e4e45=0x0;_0x2e4e45<_0x86ffa[_0x883513([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e4e45+=0x4)_0x358ce4[_0x883513([0x70,0x75,0x73,0x68])](_0x86ffa[_0x2e4e45]<<0x18|_0x86ffa[_0x2e4e45+0x1]<<0x10|_0x86ffa[_0x2e4e45+0x2]<<0x8|_0x86ffa[_0x2e4e45+0x3]);return _0x358ce4;}function _0x2add2a(_0xd517c3){for(let _0x4d96d1=0xf;_0x4d96d1>=0x0;_0x4d96d1--){if(0xff!==_0xd517c3[_0x4d96d1]){_0xd517c3[_0x4d96d1]++;break;}_0xd517c3[_0x4d96d1]=0x0;}}function _0x4db22e(_0x160b72){const _0x5c13bf=_0x28b337[_0x883513([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x3c11c1=[0x0,0x0,0x0,0x0];let t=_0xe13eeb(_0x160b72);for(let _0xe7b817=0x0;_0xe7b817<0x4;_0xe7b817++)t[_0xe7b817]^=_0x28b337[0x0][_0xe7b817];for(let _0x502178=0x1;_0x502178<_0x5c13bf;_0x502178++){for(let _0x51b669=0x0;_0x51b669<0x4;_0x51b669++)_0x3c11c1[_0x51b669]=_0x4d448d[_0x883513([0x54,0x31])][t[_0x51b669]>>0x18&0xff]^_0x4d448d[_0x883513([0x54,0x32])][t[(_0x51b669+0x1)%0x4]>>0x10&0xff]^_0x4d448d[_0x883513([0x54,0x33])][t[(_0x51b669+0x2)%0x4]>>0x8&0xff]^_0x4d448d[_0x883513([0x54,0x34])][0xff&t[(_0x51b669+0x3)%0x4]]^_0x28b337[_0x502178][_0x51b669];t=_0x3c11c1[_0x883513([0x73,0x6c,0x69,0x63,0x65])]();}const _0x549ceb=new Uint8Array(0x10);let _0x3d2fc8;for(let _0x2444d0=0x0;_0x2444d0<0x4;_0x2444d0++)_0x3d2fc8=_0x28b337[_0x5c13bf][_0x2444d0],_0x549ceb[0x4*_0x2444d0]=0xff&(_0x4d448d[_0x883513([0x53])][t[_0x2444d0]>>0x18&0xff]^_0x3d2fc8>>0x18),_0x549ceb[0x4*_0x2444d0+0x1]=0xff&(_0x4d448d[_0x883513([0x53])][t[(_0x2444d0+0x1)%0x4]>>0x10&0xff]^_0x3d2fc8>>0x10),_0x549ceb[0x4*_0x2444d0+0x2]=0xff&(_0x4d448d[_0x883513([0x53])][t[(_0x2444d0+0x2)%0x4]>>0x8&0xff]^_0x3d2fc8>>0x8),_0x549ceb[0x4*_0x2444d0+0x3]=0xff&(_0x4d448d[_0x883513([0x53])][0xff&t[(_0x2444d0+0x3)%0x4]]^_0x3d2fc8);return _0x549ceb;}function _0x1f497b(){const _0x251038=_0x4d448d[_0x883513([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0xdd0f63[_0x883513([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x2d205e=0x0;_0x2d205e<=_0x251038;_0x2d205e++)_0x28b337[_0x883513([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0xb2d1d8[_0x883513([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x32ca6e=0x4*(_0x251038+0x1),_0xb534e9=_0xdd0f63[_0x883513([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x2e9955=_0xe13eeb(_0xdd0f63);let _0x14076b;for(let _0x462377=0x0;_0x462377<_0xb534e9;_0x462377++)_0x14076b=_0x462377>>0x2,_0x28b337[_0x14076b][_0x462377%0x4]=_0x2e9955[_0x462377],_0xb2d1d8[_0x251038-_0x14076b][_0x462377%0x4]=_0x2e9955[_0x462377];let _0x46c0fa,_0x372498=0x0,t=_0xb534e9;for(;t<_0x32ca6e;){_0x46c0fa=_0x2e9955[_0xb534e9-0x1],_0x2e9955[0x0]^=_0x4d448d[_0x883513([0x53])][_0x46c0fa>>0x10&0xff]<<0x18^_0x4d448d[_0x883513([0x53])][_0x46c0fa>>0x8&0xff]<<0x10^_0x4d448d[_0x883513([0x53])][0xff&_0x46c0fa]<<0x8^_0x4d448d[_0x883513([0x53])][_0x46c0fa>>0x18&0xff]^_0x4d448d[_0x883513([0x72,0x63,0x6f,0x6e])][_0x372498]<<0x18,_0x372498+=0x1;for(let _0x1638b3=0x1;_0x1638b3<_0xb534e9/0x2;_0x1638b3++)_0x2e9955[_0x1638b3]^=_0x2e9955[_0x1638b3-0x1];_0x46c0fa=_0x2e9955[_0xb534e9/0x2-0x1],_0x2e9955[_0xb534e9/0x2]^=_0x4d448d[_0x883513([0x53])][0xff&_0x46c0fa]^_0x4d448d[_0x883513([0x53])][_0x46c0fa>>0x8&0xff]<<0x8^_0x4d448d[_0x883513([0x53])][_0x46c0fa>>0x10&0xff]<<0x10^_0x4d448d[_0x883513([0x53])][_0x46c0fa>>0x18&0xff]<<0x18;for(let _0x1c7940=_0xb534e9/0x2+0x1;_0x1c7940<_0xb534e9;_0x1c7940++)_0x2e9955[_0x1c7940]^=_0x2e9955[_0x1c7940-0x1];let _0x7efcb8,_0x4b3609,_0x397783=0x0;for(;_0x397783<_0xb534e9&&t<_0x32ca6e;)_0x7efcb8=t>>0x2,_0x4b3609=t%0x4,_0x28b337[_0x7efcb8][_0x4b3609]=_0x2e9955[_0x397783],_0xb2d1d8[_0x251038-_0x7efcb8][_0x4b3609]=_0x2e9955[_0x397783++],t++;}for(let _0x498106=0x1;_0x498106<_0x251038;_0x498106++)for(let _0xb3f0f5=0x0;_0xb3f0f5<0x4;_0xb3f0f5++)_0x46c0fa=_0xb2d1d8[_0x498106][_0xb3f0f5],_0xb2d1d8[_0x498106][_0xb3f0f5]=_0x4d448d[_0x883513([0x55,0x31])][_0x46c0fa>>0x18&0xff]^_0x4d448d[_0x883513([0x55,0x32])][_0x46c0fa>>0x10&0xff]^_0x4d448d[_0x883513([0x55,0x33])][_0x46c0fa>>0x8&0xff]^_0x4d448d[_0x883513([0x55,0x34])][0xff&_0x46c0fa];}}function _0x883513(_0x28e336){return _0x28e336['map'](_0x150b82=>String['fromCharCode'](_0x150b82))['join']('');}(_0x972897=>{function _0x12ea0a(){const _0x52521e=[{[_0x883513([0x69,0x64])]:0x1,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x883513([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x883513([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x883513([0x69,0x64])]:0x2,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x883513([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x883513([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x883513([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x883513([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x883513([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x883513([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x883513([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x883513([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x883513([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x883513([0x69,0x64])]:0x3,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x883513([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x883513([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x883513([0x69,0x64])]:0x4,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x883513([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x883513([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x883513([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x883513([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x883513([0x69,0x64])]:0x5,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x883513([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x883513([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x883513([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x883513([0x66,0x67,0x69])]:[0xc]}},{[_0x883513([0x69,0x64])]:0x6,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x883513([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x883513([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x883513([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x883513([0x66,0x67,0x69])]:[0xc]}},{[_0x883513([0x69,0x64])]:0x7,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x883513([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x883513([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x883513([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x883513([0x66,0x67,0x69])]:[0xc]}},{[_0x883513([0x69,0x64])]:0x8,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x883513([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x883513([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x883513([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x883513([0x66,0x67,0x69])]:[0xc]}},{[_0x883513([0x69,0x64])]:0x9,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x883513([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x883513([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x883513([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x883513([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x883513([0x69,0x64])]:0xa,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x50,0x61,0x73,0x74,0x65,0x20,0x66,0x72,0x6f,0x6d,0x20,0x4f,0x66,0x66,0x69,0x63,0x65,0x20,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64]),[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x883513([0x50,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x72]),[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x883513([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x883513([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x883513([0x66,0x67,0x69])]:[0xc]}},{[_0x883513([0x69,0x64])]:0xb,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x883513([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x883513([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x883513([0x69,0x64])]:0xc,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x883513([0x69,0x64])]:0xd,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x883513([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x883513([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x883513([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x883513([0x66,0x67,0x69])]:[0xc]}},{[_0x883513([0x69,0x64])]:0xe,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x883513([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])},{[_0x883513([0x69,0x64])]:0xf,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x883513([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x883513([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x883513([0x69,0x64])]:0x10,[_0x883513([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x883513([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x883513([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x883513([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x883513([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x883513([0x66,0x67,0x69])]:[0xc]}}];return _0x1d8866(_0x52521e),_0x52521e;function _0x4c741e(_0x3ee5a2){return 0x1<<_0x3ee5a2-0x1;}function _0x1d8866(_0x2e522d){_0x2e522d[_0x883513([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xceb89a=>{_0xceb89a[_0x883513([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x4c741e(_0xceb89a[_0x883513([0x69,0x64])]),_0x1e01b0(_0xceb89a)&&_0xceb89a[_0x883513([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1d8866(_0xceb89a[_0x883513([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x1e01b0(_0x2376df){return _0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x2376df;}const _0x2abf6a=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x4f73bc=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x5c0f54(_0x4eb030){const _0x451d30=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x4bbad8(_0x4eb030,new Uint8Array([..._0x2abf6a,..._0x451d30,..._0x4f73bc]));}function _0x4bbad8(_0x293903,_0x142904){const _0x164ac8=_0x258eb7(_0x293903),_0xb74444=Array[_0x883513([0x66,0x72,0x6f,0x6d])](_0x58ba6c(_0x164ac8)),_0x5bec85=_0xb74444[_0x883513([0x70,0x6f,0x70])](),_0x5b5fa5=_0xb74444[_0x883513([0x70,0x6f,0x70])]();return _0x32ce4f(_0x58dc94(_0xb74444,_0x142904,_0x5b5fa5+0x100*_0x5bec85));}function _0x258eb7(_0x3b7fa4){const _0x503628=atob(_0x3b7fa4),[_0x50bc89,_0x170cb2]=_0x503628[_0x883513([0x73,0x70,0x6c,0x69,0x74])](_0x883513([0x2d]));try{if(atob(_0x170cb2))return atob(_0x50bc89);}catch(_0x20974a){}return _0x503628;}function _0x101b77(_0x4c7ff8){try{const _0x29709c=_0x5c0f54(_0x4c7ff8),_0x4a8130=JSON[_0x883513([0x70,0x61,0x72,0x73,0x65])](_0x29709c),_0x3e29e4=parseInt(_0x4a8130[_0x883513([0x31])]),_0x17a05a=_0x4a8130[_0x883513([0x32])]||'',_0xc56cd=parseInt(_0x4a8130[_0x883513([0x33])]),_0x3f927d=parseInt(_0x4a8130[_0x883513([0x34])])||0x0,_0x42a605=parseInt(_0x4a8130[_0x883513([0x35])])||0x0;return{[_0x883513([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x17a05a,[_0x883513([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x3f927d,[_0x883513([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x3e29e4,[_0x883513([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0xc56cd,[_0x883513([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x42a605};}catch(_0x45a59a){return null;}}const _0x5b4d30=_0x12ea0a(),_0x2b3ca3={[_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0xdcad00,[_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73])]:_0x3edaba,[_0x883513([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79])]:_0x2d6d24},_0x15bf2e=_0x972897[_0x883513([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0xece90a=_0x883513([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x972897?_0x972897['context']:_0x972897['editor'],_0x4a44f9=_0x883513([0x34,0x30,0x34,0x38,0x31,0x32,0x35,0x34]),_0x23bbd8=_0x883513([0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39]),_0x18dea3=_0xece90a['config']['get'](_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3195e3=_0x5b4d30[_0x883513([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e01b0)[_0x883513([0x66,0x69,0x6e,0x64])](_0x504230=>_0x504230[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x15bf2e);function _0x57e2f7(_0x4909c1,_0x550833){_0x2b3ca3[_0x550833[_0x883513([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x4909c1,_0x550833),_0x550833[_0x883513([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x550833[_0x883513([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x883513([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x23fdf5=>_0x51114d(_0xece90a,_0x23fdf5[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x883513([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x215363=>_0x57e2f7(_0x4909c1,_0x215363));}function _0xdcad00(_0x2d2c29,_0x5c92cf){_0x59af73(_0x53d307(_0x2d2c29,_0x5c92cf),_0x5c92cf);}function _0x3edaba(_0x661fed,_0x23b304){function _0x1a9039(_0x335ac3,_0x1d2bdd){try{if(_0x51114d(_0xece90a,_0x883513([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x335ac3){const _0x3a8cc1=_0x4b1b69(_0xece90a,_0x883513([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x883513([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x3a8cc1)/0x2>_0x335ac3[_0x883513([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x12cd27(_0x1d2bdd[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x53d307(_0x335ac3,_0x1d2bdd);}catch(_0x41aa1b){return _0x12cd27(_0x1d2bdd[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x59af73(_0x1a9039(_0x661fed,_0x23b304),_0x23b304);}function _0x2d6d24(_0x4c20a7,_0x5341e9){const _0x245e7f=_0x4f73bc[0x0]*_0x2abf6a[0x1],_0x7cf864=_0x4f73bc[0x0]*_0x2abf6a[0x2],_0x1c5ceb=_0x4f73bc[0x2]*_0x2abf6a[0x2];_0x51114d(_0xece90a,_0x883513([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4b1b69(_0xece90a,_0x883513([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x883513([0x73,0x74,0x61,0x74,0x65])]==_0x883513([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0xa9a077()]=_0x1c5ceb);function _0x5d632e(_0x387a06,_0x49dd5d){try{return _0x4be910()?_0x12cd27(_0x49dd5d[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x56,0x61,0x6c,0x69,0x64])):_0x53d307(_0x387a06,_0x49dd5d);}catch(_0x53694f){return _0x12cd27(_0x49dd5d[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1af3cc(_0x285dbb,_0x3841ef){const _0x2ad570=0x7;if(_0x285dbb==_0x3841ef[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x508d98();else{if(_0x285dbb==_0x3841ef[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x54,0x72,0x69,0x61,0x6c])){const _0xc05b02=_0x4955d2();_0xc05b02&&_0x744af2(_0xc05b02,_0x3841ef[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x468c12=_0x1a0aa1();window[_0x883513([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x744af2(_0x883513([0x74,0x69,0x6d,0x65]),_0x3841ef[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x468c12);const _0x536674=_0x4b1b69(_0xece90a,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x883513([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x536674[_0x883513([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2ad570?_0x744af2(_0x883513([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3841ef[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x536674['on'](_0x883513([0x61,0x64,0x64]),()=>{_0x536674[_0x883513([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2ad570&&_0x744af2(_0x883513([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3841ef[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x4955d2(){if(!_0x51114d(_0xece90a,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x3df07e in window)if(Number['isNaN'](Number(_0x3df07e))){if(window[_0x3df07e]===_0x245e7f)return _0x883513([0x74,0x69,0x6d,0x65]);if(window[_0x3df07e]===_0x7cf864)return _0x883513([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x4be910(){if(!_0x51114d(_0xece90a,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x41dd92 in window)if(Number['isNaN'](Number(_0x41dd92))&&window[_0x41dd92]===_0x1c5ceb)return!0x0;return!0x1;}function _0x744af2(_0xf79e6d,_0x32fd97){_0x508d98(),_0x12cd27(_0x32fd97+_0x883513([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0xf79e6d),window[_0xa9a077()]=_0xf79e6d===_0x883513([0x74,0x69,0x6d,0x65])?_0x245e7f:_0x7cf864;}function _0x1a0aa1(){let _0x4dd407=_0x4f73bc[0x6]*_0x2abf6a[0x8]*_0x2abf6a[0x6];return _0x51114d(_0xece90a,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4dd407/=0xa),_0x4dd407;}function _0x508d98(){const _0x432dfd=_0xece90a;function _0x21984b(){_0x51114d(_0x432dfd,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x4b1b69(_0x432dfd,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x883513([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x883513([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4b1b69(_0x432dfd,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x883513([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4b1b69(_0x432dfd,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x883513([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x573566,_0x4b1b69(_0x432dfd,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x883513([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x573566,_0x432dfd[_0x883513([0x6d,0x6f,0x64,0x65,0x6c])][_0x883513([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x573566,_0x432dfd[_0x883513([0x6d,0x6f,0x64,0x65,0x6c])][_0x883513([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x573566,_0x432dfd[_0x883513([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x883513([0x6d,0x6f,0x64,0x65,0x6c]))),_0x51114d(_0x432dfd,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4b1b69(_0x432dfd,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x883513([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x883513([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4b1b69(_0x432dfd,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x883513([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4b1b69(_0x432dfd,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x883513([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x573566,_0x4b1b69(_0x432dfd,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x883513([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x573566);}_0x432dfd[_0x883513([0x73,0x74,0x61,0x74,0x65])]==_0x883513([0x72,0x65,0x61,0x64,0x79])?_0x21984b():_0x432dfd[_0x883513([0x6f,0x6e,0x63,0x65])](_0x883513([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x51114d(_0x432dfd,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x21984b(),_0x51114d(_0x432dfd,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x4c867d=_0x4b1b69(_0x432dfd,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x280de9=_0x4c867d['getRevision'](0x0),_0x13d884=_0x4c867d['getEarlierVisibleRevision'](_0x280de9[_0x883513([0x69,0x64])]);_0x4b1b69(_0x432dfd,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x883513([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x280de9[_0x883513([0x69,0x64])],_0x13d884?_0x13d884[_0x883513([0x69,0x64])]:null,0x1)['then'](()=>_0x21984b());}});}_0x1af3cc(_0x5d632e(_0x4c20a7,_0x5341e9),_0x5341e9);}function _0x53d307(_0x2a536b,_0x2bc039){try{return _0x4292e5(_0x2bc039)?_0x12cd27(_0x2bc039[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x56,0x61,0x6c,0x69,0x64])):_0x2a536b&&_0x246010(_0x2a536b[_0x883513([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x2bc039)?_0x2a536b[_0x883513([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x883513([0x6f,0x70,0x65,0x6e])][_0x883513([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x4a44f9)/0x2>_0x2a536b[_0x883513([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x12cd27(_0x2bc039[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x2a536b[_0x883513([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x12cd27(_0x2bc039[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x54,0x72,0x69,0x61,0x6c])):_0x12cd27(_0x2bc039[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x56,0x61,0x6c,0x69,0x64])):_0x12cd27(_0x2bc039[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x298fbb){return _0x12cd27(_0x2bc039[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x59af73(_0x107760,_0x16eedb){if(_0xece90a instanceof _0x4015ec){const _0x21be96=_0xece90a;_0x107760==_0x16eedb[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3fa01d(_0x21be96):_0x107760==_0x16eedb[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x54,0x72,0x69,0x61,0x6c])&&window[_0x883513([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3fa01d(_0x21be96),_0x12cd27(_0x16eedb[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x4f73bc[0x6]*_0x2abf6a[0x8]*_0x2abf6a[0x6]),_0x21be96[_0x883513([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x883513([0x6f,0x6e])](_0x883513([0x61,0x64,0x64]),(_0x6351e9,_0x49e5b6)=>{_0x107760!=_0x16eedb[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x107760!=_0x16eedb[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x107760!=_0x16eedb[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x3e5142(_0x49e5b6);});}else{const _0x529362=_0xece90a;_0x107760==_0x16eedb[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3e5142(_0x529362):_0x107760==_0x16eedb[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x54,0x72,0x69,0x61,0x6c])&&_0x529362[_0x883513([0x6f,0x6e])](_0x883513([0x72,0x65,0x61,0x64,0x79]),()=>{let _0xc61d9b=0x0;_0x529362[_0x883513([0x6d,0x6f,0x64,0x65,0x6c])][_0x883513([0x6f,0x6e])](_0x883513([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x45ce06,_0x4ca4da)=>{_0x4ca4da[0x0][_0x883513([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xc61d9b++,0x1f8===_0xc61d9b&&(_0x3e5142(_0x529362),_0x12cd27(_0x16eedb[_0x883513([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x883513([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x45ce06[_0x883513([0x6f,0x66,0x66])]());},{'priority':_0x883513([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x12cd27(_0x2b200b){const _0x57b2a7=_0xa9a077();return _0xece90a[_0x57b2a7]=_0x2b200b,_0x2b200b;}function _0xa9a077(){const _0x4a0907=String(window[_0x883513([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x883513([0x6e,0x6f,0x77])]())[_0x883513([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x883513([0x2e]),'');let _0x589636='';for(let _0x2a5330=0x0;_0x2a5330<_0x4a0907[_0x883513([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a5330+=0x2){let _0x41f8e3=parseInt(_0x4a0907[_0x883513([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a5330,_0x2a5330+0x2));_0x41f8e3>=_0x23bbd8[_0x883513([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x41f8e3-=_0x23bbd8[_0x883513([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x589636+=_0x23bbd8[_0x41f8e3];}return _0x589636;}function _0x3fa01d(_0x59f02c){for(const _0x54c828 of _0x59f02c[_0x883513([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x3e5142(_0x54c828);_0x4b1b69(_0x59f02c,_0x883513([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x883513([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x4b1b69(_0x59f02c,_0x883513([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x883513([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x573566;}function _0x3e5142(_0x23fea7){function _0x33e071(){_0x23fea7[_0x883513([0x6d,0x6f,0x64,0x65,0x6c])][_0x883513([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x573566,_0x23fea7[_0x883513([0x6d,0x6f,0x64,0x65,0x6c])][_0x883513([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x573566,_0x23fea7[_0x883513([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x883513([0x6d,0x6f,0x64,0x65,0x6c]));}_0x23fea7[_0x883513([0x73,0x74,0x61,0x74,0x65])]==_0x883513([0x72,0x65,0x61,0x64,0x79])?_0x33e071():_0x23fea7[_0x883513([0x6f,0x6e,0x63,0x65])](_0x883513([0x72,0x65,0x61,0x64,0x79]),()=>_0x33e071());}function _0x573566(){return null;}function _0x246010(_0x3092ec,_0x2bd33a){const _0x1c75d7=!!(_0x3092ec&_0x2bd33a[_0x883513([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x1edef4=_0x527839(_0x3092ec,_0x2bd33a);return _0x1c75d7||_0x1edef4;}function _0x527839(_0x1629ff,_0x176f73){const _0x403e90=(_0x176f73[_0x883513([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x883513([0x66,0x67,0x69])]||null;return!!_0x403e90&&_0x5b4d30[_0x883513([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x199522=>_0x403e90[_0x883513([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x199522[_0x883513([0x69,0x64])]))[_0x883513([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a8866=>!_0xfe0ed8(_0x2a8866))[_0x883513([0x73,0x6f,0x6d,0x65])](_0x2355bb=>!!(_0x1629ff&_0x2355bb[_0x883513([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0xfe0ed8(_0x46fbd3){const _0x2a90e5={[_0x883513([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])]:_0x517f95};return!!_0x46fbd3['forbiddenHandler']&&_0x2a90e5[_0x46fbd3['forbiddenHandler']]();}function _0x517f95(){return!window[_0x883513([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x51114d(_0xece90a,_0x883513([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x4292e5(_0x55bf42){if(!_0x51114d(_0xece90a,_0x55bf42[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x2934f2=_0x55bf42[_0x883513([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x57f775=_0x2934f2[_0x883513([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x2c0ef4=_0x2934f2[_0x883513([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x3eee58=_0x2934f2[_0x883513([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x51114d(_0xece90a,_0x883513([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4b1b69(_0xece90a,_0x883513([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x883513([0x73,0x74,0x61,0x74,0x65])]==_0x883513([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x57f775)return!0x0;if(_0x51114d(_0xece90a,_0x883513([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x4b1b69(_0xece90a,_0x883513([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x883513([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x883513([0x65,0x6e,0x64])&&_0x2c0ef4)return!0x0;return!(!_0x51114d(_0xece90a,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))||_0x4b1b69(_0xece90a,_0x883513([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))[_0x883513([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x883513([0x65,0x6e,0x64])||!_0x3eee58);}function _0x51114d(_0x5b6412,_0x7f3c8){return _0x5b6412[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x883513([0x68,0x61,0x73])](_0x7f3c8);}function _0x4b1b69(_0x53caf0,_0xeaaee2){return _0x53caf0[_0x883513([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x883513([0x67,0x65,0x74])](_0xeaaee2);}function _0x32ce4f(_0x25571c){let _0x330e6e='';for(const _0x556235 of _0x25571c)_0x330e6e+=String[_0x883513([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x556235);return _0x330e6e;}function _0x58ba6c(_0x399a5b){const _0x3b0e41=new Uint8Array(_0x399a5b[_0x883513([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x3c9fae=0x0;_0x3c9fae<_0x399a5b[_0x883513([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c9fae++)_0x3b0e41[_0x3c9fae]=_0x399a5b[_0x883513([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3c9fae);return _0x3b0e41;}_0x3195e3&&_0x57e2f7(_0x101b77(_0x18dea3),_0x3195e3);})(_0x4efa53);}(this);}['createRevision'](_0x208c5a){const _0x1c1f0a=this['editor']['plugins']['get']('Users');return new a({'id':_0x208c5a['id'],'name':_0x208c5a['name'],'creator':_0x208c5a['creatorId']?_0x1c1f0a['getUser'](_0x208c5a['creatorId']):null,'diffData':_0x208c5a['diffData']||_0x208c5a['data'],'authors':_0x208c5a['authorsIds']['map'](_0xea99f1=>_0x1c1f0a['getUser'](_0xea99f1)),'createdAt':new Date(_0x208c5a['createdAt']),'attributes':_0x208c5a['attributes'],'fromVersion':_0x208c5a['fromVersion'],'toVersion':_0x208c5a['toVersion']});}['addRevision'](_0x522b96,_0x37c12f=0x0){this['_revisions']['add'](_0x522b96,_0x37c12f);}['getRevision'](_0x308fc6){return this['_revisions']['get'](_0x308fc6);}['getRevisions'](_0x5355ea={'toJSON':!0x1}){const _0x20855d=Array['from'](this['_revisions']);return _0x20855d['reverse'](),_0x5355ea['toJSON']?_0x20855d['map'](_0x1b7248=>_0x1b7248['toJSON']()):_0x20855d;}['getIndex'](_0x4e0fd1){return this['_revisions']['getIndex'](_0x4e0fd1);}['getEarlierVisibleRevision'](_0x24d7c6){const [,_0x5dcf6a]=this['getRevisionsIterator'](_0x24d7c6,{'direction':'earlier'});return _0x5dcf6a;}['getLaterVisibleRevision'](_0x31ed23){const [,_0x4649f7]=this['getRevisionsIterator'](_0x31ed23,{'direction':'later'});return _0x4649f7;}['getRevisionsInDiff'](_0x46d287){const _0x571587=[];for(const _0x25fce1 of this['getRevisionsIterator'](_0x46d287['newRevisionId']))if(_0x571587['push'](_0x25fce1),_0x25fce1['id']===_0x46d287['oldRevisionId'])break;return _0x571587;}*['getRevisionsIterator'](_0x296f38,{direction:_0x1cc3f1='earlier',filter:_0x4b9311=_0x2aec49=>!0x0}={}){const _0x48c3b7='earlier'===_0x1cc3f1?0x1:-0x1;let _0x53632d=this['_revisions']['get'](_0x296f38),_0xc1b16e=this['getIndex'](_0x53632d);for(yield _0x53632d;_0x53632d;){if(_0xc1b16e+=_0x48c3b7,_0x53632d=this['getRevision'](_0xc1b16e),!_0x53632d)return;_0x4b9311(_0x53632d)&&(yield _0x53632d);}}}function y(_0x5d22f1,_0x3ee430,_0x31aac2){const t=_0x5d22f1['t'];switch(_0x3ee430){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x31aac2);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x31aac2);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x2f2a05,'a':_0xd1bcab,'e':_0x3cff86,'r':_0x731309,'u':_0x3a86bf};class l extends _0xfa4437{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x360443,A,_0x86a053];}constructor(_0x50ad91){super(_0x50ad91),this['adapter']=null,this['currentRevision']=null,this['_revisionDataBuilder']=new J(this['editor']),this['_initialRevisionId']=this['editor']['config']['get']('collaboration.channelId')||'initial',this['_bufferedUpdates']=new Map(),this['_loadedStateData']=null;const _0x460dfb=_0x4d587a();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x460dfb},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x88bba6=this['repository']['getRevision'](0x0),_0x4e6cb8=_0x88bba6&&null===_0x88bba6['creator']?_0x88bba6:null;if(this['_continueCurrentRevision']=!!_0x4e6cb8&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x3df846=this['_source']['getCurrentRevisionId'](),_0xe13ca1=this['repository']['getRevision'](_0x3df846);if(_0xe13ca1)this['_startingVersion']=_0xe13ca1['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x58bfbb=this['_source']['history']['_operations']['find'](_0x57b8ab=>!_0x57b8ab['_isInit']),_0x3f9eb9=_0x58bfbb?_0x58bfbb['baseVersion']:this['_source']['history']['version'];_0x88bba6?(_0x88bba6['toVersion']<_0x3f9eb9&&_0x88bba6['_update']({'toVersion':_0x3f9eb9}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x4e6cb8['id'],this['_startingVersion']=_0x4e6cb8['fromVersion']):(this['_startingVersion']=_0x88bba6['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x3f9eb9,this['_continueCurrentRevision']=!0x1);}}else _0x4e6cb8&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x4e6cb8['toVersion'],this['editor']['model']['document']['history']['version']),_0x4e6cb8['fromVersion']===_0x4e6cb8['toVersion']?(0x0!==_0x4e6cb8['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x4e6cb8['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x4e6cb8['id'],this['_startingVersion']=_0x4e6cb8['fromVersion'])),this['_continueCurrentRevision']||(this['_startingVersion']=this['editor']['model']['document']['version']);this['_revisionDataBuilder']['init'](this['_source']['history']),this['_createInitialRevision'](this['_startingVersion']),this['_createCurrentRevision'](this['_startingVersion']),this['adapter']&&this['sendBufferedUpdates']();}),this['bind']('isReady')['to'](this,'_isPendingUpdate',_0xadf1ac=>!_0xadf1ac);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x57c7c9=this['repository']['getRevision'](0x0),_0x4374c1=await this['getRevisionDocumentData'](_0x57c7c9),_0x4d058f=await this['getRevisionRootsAttributes'](_0x57c7c9);this['_replaceEditorDataWithRevisionData'](_0x4374c1,_0x4d058f);}}['setSource'](_0x5a1ffc){this['_source']=_0x5a1ffc;}async['update'](){const _0x52851a=await this['_source']['getLatestVersion']();if(_0x52851a>this['currentRevision']['toVersion']){await this['_loadState']();const _0x5ec25a=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x52851a});_0x5ec25a['authors']=_0x5ec25a['authorsIds']['map'](_0x5a4c2c=>this['editor']['plugins']['get']('Users')['getUser'](_0x5a4c2c)),this['currentRevision']['_update'](_0x5ec25a);}}async['_loadState'](){this['_continueCurrentRevision']&&!this['_loadedStateData']&&(await this['_loadRevisionData'](this['currentRevision']),this['_revisionDataBuilder']['loadState'](this['currentRevision']),this['_loadedStateData']={'fromVersion':this['currentRevision']['fromVersion'],'authors':this['currentRevision']['authors']['slice']()});}async['saveRevision'](_0x281747={},_0x292667=null){const _0x19cf11=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x292667>this['currentRevision']['toVersion']&&(_0x292667=null),null===_0x292667&&(_0x292667=await this['_source']['getLatestVersion']());const _0x507bcc=this['_getFromVersion'](_0x292667),_0x41b13e=this['buildRevisionData']({'from':_0x507bcc,'to':_0x292667});if(this['currentRevision']['toVersion']<_0x292667){const _0x4099a5=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x292667,'to':_0x292667});_0x4099a5['authors']=[],_0x4099a5['authorsIds']=[],_0x4099a5['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x4099a5,!0x0),delete _0x4099a5['authors'],_0x19cf11['push'](_0x4099a5);}_0x281747['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x281747['name']=_0x281747['name']||null,_0x281747['id']=_0x281747['id']||_0x4d587a(),_0x281747={..._0x281747,..._0x41b13e};const _0x5f5979=this['addRevisionData'](_0x281747);_0x19cf11['push'](_0x281747);const _0x8ae72c=this['repository']['getIndex'](_0x5f5979);if(0x0!==_0x8ae72c){const _0x2b3160=this['repository']['getRevision'](_0x8ae72c-0x1);if(_0x2b3160['fromVersion']!==_0x292667){const _0x2d93eb=this['_revisionDataBuilder']['getData'](_0x292667,_0x2b3160['toVersion']),_0x7cf210={'id':_0x2b3160['id'],'diffData':_0x2d93eb['diffData'],'authorsIds':_0x2d93eb['authorsIds'],'authors':_0x2d93eb['authorsIds']['map'](_0x3d4cd2=>this['editor']['plugins']['get']('Users')['getUser'](_0x3d4cd2)),'fromVersion':_0x292667};_0x2b3160===this['currentRevision']&&(_0x7cf210['createdAt']=new Date(_0x281747['createdAt']['getTime']()+0xa)),_0x2b3160['_update'](_0x7cf210,!0x0),delete _0x7cf210['authors'],_0x19cf11['push'](_0x7cf210);}}if(this['adapter']){for(const _0x4f739f of _0x19cf11)this['_bufferUpdate'](_0x4f739f['id'],_0x4f739f,!0x0);this['sendBufferedUpdates']();}return _0x5f5979;}['addRevisionData'](_0x4661be){const _0x1a146f=this['repository']['createRevision'](_0x4661be);return this['adapter']&&_0x1a146f['on']('_update',(_0x4c9aab,_0x73738d,_0x41da25)=>{_0x41da25||(this['_bufferUpdate'](_0x73738d['id'],_0x73738d,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x1a146f,this['_findInsertionIndex'](_0x1a146f)),_0x1a146f;}async['getRevisionDocumentData'](_0x2cae90){await this['_loadRevisionData'](_0x2cae90);const _0x114604={};for(const _0x4fb2e2 in _0x2cae90['diffData']){if(_0x2cae90['diffData'][_0x4fb2e2]['attachChange']&&!_0x2cae90['diffData'][_0x4fb2e2]['attachChange']['isAttached'])continue;const _0x3bece3=this['_removeRevisionMarkers'](JSON['parse'](_0x2cae90['diffData'][_0x4fb2e2]['insertions'])),_0x55f238=this['editor']['editing']['view']['document'],_0x1c60e2=new _0x4e9a9c(_0x55f238,_0x3bece3['map'](_0x46516a=>B(_0x46516a,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x114604[_0x4fb2e2]=this['editor']['data']['processor']['toData'](_0x1c60e2),this['editor']['data']['processor']['useFillerType']('default');}return _0x114604;}async['getRevisionRootsAttributes'](_0x797974){await this['_loadRevisionData'](_0x797974);const _0x58bcc1={};for(const _0x5baa4c in _0x797974['diffData'])_0x797974['diffData'][_0x5baa4c]['attachChange']&&!_0x797974['diffData'][_0x5baa4c]['attachChange']['isAttached']||(_0x58bcc1[_0x5baa4c]=_0x797974['diffData'][_0x5baa4c]['attributesAfter']||{});return _0x58bcc1;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x302e77=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x1f22e5=0x0;_0x1f22e5<_0x302e77['length'];_0x1f22e5++){const _0x3a00af=_0x302e77[_0x1f22e5];let _0x3d21d2=!0x1;for(const _0x1325f0 of Object['keys'](_0x3a00af))void 0x0===_0x3a00af[_0x1325f0]?delete _0x3a00af[_0x1325f0]:'id'!==_0x1325f0&&(_0x3d21d2=!0x0);_0x3d21d2||(_0x302e77[_0x1f22e5]=null);}if(_0x302e77=_0x302e77['filter'](_0xf2ce7=>null!==_0xf2ce7),!_0x302e77['length'])return;for(let _0x1e9a52=0x0;_0x1e9a52<_0x302e77['length'];_0x1e9a52++){const _0x46cbd7=_0x302e77[_0x1e9a52];void 0x0!==_0x46cbd7['fromVersion']&&void 0x0===_0x46cbd7['toVersion']&&(_0x46cbd7['toVersion']=this['repository']['getRevision'](_0x46cbd7['id'])['toVersion']),void 0x0!==_0x46cbd7['toVersion']&&void 0x0===_0x46cbd7['fromVersion']&&(_0x46cbd7['fromVersion']=this['repository']['getRevision'](_0x46cbd7['id'])['fromVersion']);}const _0xe53eb8=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x302e77,_0xe53eb8)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x246ed8=>{if(_0x246ed8){for(const _0xd2611b of _0x246ed8)this['setRevisionData']({'id':_0xd2611b['id'],'createdAt':_0xd2611b['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x3805eb,_0x13aea0){let _0x1971c6=this['editor']['config']['get']('initialData'),_0xf4612f=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x1971c6){_0x1971c6={};for(const _0x17a014 of this['editor']['model']['document']['getRootNames']())_0x1971c6[_0x17a014]='';}if('string'==typeof _0x1971c6&&(_0x1971c6={'main':_0x1971c6}),void 0x0===_0xf4612f){_0xf4612f={};for(const _0x51ff25 of this['editor']['model']['document']['getRootNames']())_0xf4612f[_0x51ff25]={};}let _0x35e65c=!0x1;const _0x2492ad=Object['keys'](_0x1971c6),_0x5b29be=Object['keys'](_0x3805eb);for(const _0x53f360 of _0x2492ad){if(_0x1971c6[_0x53f360]!==_0x3805eb[_0x53f360]&&''!==_0x1971c6[_0x53f360]['trim']()){_0x35e65c=!0x0;break;}if(!_0x2dc93d(_0xf4612f[_0x53f360],_0x13aea0[_0x53f360])&&Object['keys'](_0xf4612f[_0x53f360])['length']>0x0){_0x35e65c=!0x0;break;}}_0x35e65c||(_0x35e65c=_0x5b29be['some'](_0x134d64=>!this['editor']['model']['document']['getRoot'](_0x134d64))),_0x35e65c&&_0xe264d('editor-initial-data-replaced-with-revision-data',{'editorData':_0x1971c6,'editorRootsAttributes':_0xf4612f,'revisionData':_0x3805eb,'revisionRootsAttributes':_0x13aea0}),this['editor']['config']['set']('initialData',_0x3805eb),this['editor']['config']['set']('rootsAttributes',_0x13aea0);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x2a6db3=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x2a6db3['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x288fe7){const _0x377013=this['repository']['getRevisions']();_0x377013['reverse']();let _0x2a9b6b=0x0;for(;_0x2a9b6b<_0x377013['length'];){const _0x7f4dfd=_0x377013[_0x2a9b6b];if(_0x7f4dfd===this['currentRevision']){_0x2a9b6b++;continue;}if(_0x7f4dfd['id']===this['_initialRevisionId'])break;const _0x2ebfea=_0x288fe7['toVersion']-_0x7f4dfd['toVersion']||_0x288fe7['fromVersion']-_0x7f4dfd['fromVersion'];if(_0x2ebfea>0x0)break;if(_0x2ebfea<0x0)_0x2a9b6b++;else{if(!_0x288fe7['creator']&&_0x7f4dfd['creator'])break;if(_0x7f4dfd['creator']||!_0x288fe7['creator']){if(_0x288fe7['createdAt']>_0x7f4dfd['createdAt'])break;_0x2a9b6b++;}else _0x2a9b6b++;}}return _0x2a9b6b;}['setRevisionData'](_0xe654b){const _0x5cec3f=this['repository']['getRevision'](_0xe654b['id']);if(_0xe654b['createdAt']&&(_0xe654b['createdAt']=new Date(_0xe654b['createdAt'])),_0xe654b['authorsIds']){const _0xb56a0a=this['editor']['plugins']['get']('Users');_0xe654b['authors']=_0xe654b['authorsIds']['map'](_0x145936=>_0xb56a0a['getUser'](_0x145936));}_0x5cec3f['_update'](_0xe654b,!0x0);}['buildRevisionData']({revision:_0x2cef57=null,from:_0x8bffa9=null,to:_0x35223c=null}){_0x8bffa9=null!==_0x8bffa9?_0x8bffa9:_0x2cef57['fromVersion'],_0x35223c=null!==_0x35223c?_0x35223c:_0x2cef57['toVersion'];const _0x4f8400=this['_revisionDataBuilder']['getData'](_0x8bffa9,_0x35223c),_0x2fcbe4={'diffData':_0x4f8400['diffData'],'authorsIds':_0x4f8400['authorsIds'],'fromVersion':_0x8bffa9,'toVersion':_0x35223c};if(!_0x2cef57||_0x35223c!==_0x2cef57['toVersion']){const _0x422023=_0x35223c-0x1,_0x53f238=this['_source']['history']['getOperation'](_0x422023);_0x2fcbe4['createdAt']=_0x53f238&&_0x53f238['createdAt']||new Date();}if(this['_loadedStateData']&&_0x8bffa9===this['_loadedStateData']['fromVersion']){for(const _0x504e58 of this['_loadedStateData']['authors'])_0x2fcbe4['authorsIds']['includes'](_0x504e58['id'])||_0x2fcbe4['authorsIds']['push'](_0x504e58['id']);}return _0x2fcbe4;}['_loadRevisionData'](_0x5d3b1d){if(!_0x5d3b1d||_0x5d3b1d['diffData'])return Promise['resolve']();{const _0x351da1=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x351da1,'revisionId':_0x5d3b1d['id']})['then'](_0x4b4bd9=>{_0x5d3b1d['diffData']=_0x4b4bd9['diffData'];});}}['_bufferUpdate'](_0x208420,_0x9448b7,_0x5bb910){if(this['_bufferedUpdates']['has'](_0x208420)){const _0x39afa1=this['_bufferedUpdates']['get'](_0x208420);_0x9448b7=_0x5bb910?{..._0x39afa1,..._0x9448b7}:{..._0x9448b7,..._0x39afa1};}this['_bufferedUpdates']['set'](_0x208420,_0x9448b7);}['_getFromVersion'](_0x5ece56){const _0x3a9b83=this['repository']['getRevisions']();_0x3a9b83['reverse'](),_0x3a9b83['shift']();const _0x14b97a=_0x3a9b83['find'](_0x35d70e=>_0x35d70e['toVersion']<=_0x5ece56)['toVersion'];return _0x14b97a<this['_startingVersion']?this['_startingVersion']:_0x14b97a;}['_createInitialRevision'](_0x32b40f){const _0x246dc9=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x246dc9)this['_initialRevisionId']=_0x246dc9['id'];else{const _0x103460=!this['editor']['model']['document']['roots']['find'](_0x1aaf9a=>this['editor']['model']['hasContent'](_0x1aaf9a)),_0x2fb444=this['editor']['plugins']['get']('Users')['me']['id'],_0x252c6f=y(this['editor']['locale'],_0x103460?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x32b40f,'to':_0x32b40f,'id':this['_initialRevisionId'],'name':_0x252c6f,'creatorId':_0x2fb444});}}['_createCurrentRevision'](_0xb12be){const _0x7d4f28=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x7d4f28),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0xb12be,'to':_0xb12be,'id':_0x7d4f28,'name':'','creatorId':null}));}['_makeRevision']({name:_0x2829ea,from:_0x43b5ae,to:_0x4e8249,creatorId:_0x42fd54,id:_0x132363}){const _0xa3a6c8=this['buildRevisionData']({'from':_0x43b5ae,'to':_0x4e8249});_0xa3a6c8['name']=_0x2829ea,_0xa3a6c8['creatorId']=_0x42fd54,_0xa3a6c8['id']=_0x132363;const _0x33dc87=this['addRevisionData'](_0xa3a6c8);return this['adapter']&&this['_bufferUpdate'](_0xa3a6c8['id'],_0xa3a6c8,!0x0),_0x33dc87;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x55b306){return(_0x55b306=_0x55b306['filter'](_0x3f3156=>!_0x3f3156['name']||'revision-start'!==_0x3f3156['name']&&'revision-end'!==_0x3f3156['name']))['forEach'](_0x38eeaa=>{'string'!=typeof _0x38eeaa&&(_0x38eeaa['children']=this['_removeRevisionMarkers'](_0x38eeaa['children']),_0x38eeaa['attributes']=_0x38eeaa['attributes']['filter'](_0x4f3624=>!_0x4f3624[0x0]['startsWith']('data-revision-')));}),_0x55b306;}}function B(_0x4290df,_0x1031df){const _0x288ec0=_0x1031df['editing']['view']['document'];if('string'==typeof _0x4290df)return new _0x2c9816(_0x288ec0,_0x4290df);{const _0x490ae2=_0x4290df['children']['map'](_0x2daf27=>B(_0x2daf27,_0x1031df));return new(T[_0x4290df['type']]||_0x30e238)(_0x288ec0,_0x4290df['name'],_0x4290df['attributes'],_0x490ae2);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x2f8e0a){this['editor']=_0x2f8e0a,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}['init'](_0x57407f){this['source']=_0x57407f;const _0x263c68=new Map(),_0x2354b4=new Map(),_0x169e0e=this['editor']['model']['document']['roots']['map'](_0xabf421=>_0xabf421['rootName']);for(const _0x1fb1e8 of _0x169e0e){const _0xfe8fe3=this['editor']['model']['document']['getRoot'](_0x1fb1e8),_0x4d791b=q(_0xfe8fe3);_0x263c68['set'](_0x1fb1e8,_0x4d791b),_0x2354b4['set'](_0x1fb1e8,Object['fromEntries'](_0xfe8fe3['getAttributes']()));}const _0xf7aeab=Array['from'](this['editor']['model']['markers'])['map'](_0x4954b6=>[_0x4954b6['name'],_0x4954b6['getRange']()]),_0x48a905=this['source']['version'];this['_saveMetaData'](_0x48a905,_0x263c68,_0xf7aeab,_0x2354b4),this['_startingRevisionId']=this['_revisionId'];const _0x4eacdc=new Map(),_0x2ebd16=new Map();for(const _0x1dcc45 of _0x169e0e){const _0x2bbf5d=G(_0x1dcc45);_0x4eacdc['set'](_0x1dcc45,_0x2bbf5d),_0x2ebd16['set'](_0x1dcc45,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x4eacdc,[],_0x2ebd16);}['getData'](_0x2d3801,_0xd22e5f){if(this['_lastFrom']===_0x2d3801&&this['_lastTo']<=_0xd22e5f)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0xd22e5f,!0x0);else{if(!this['_savedMetaData']['has'](_0x2d3801)){const _0x2df865=this['_getPreviousFrom'](_0x2d3801);this['_calculateMetaData'](_0x2df865,_0x2d3801,!0x1);}this['_calculateMetaData'](_0x2d3801,_0xd22e5f,!0x0);}return this['_lastFrom']=_0x2d3801,this['_lastTo']=_0xd22e5f,this['_getState']();}['loadState'](_0x2a77f7){this['_reset'](),this['_lastFrom']=_0x2a77f7['fromVersion'],this['_lastTo']=_0x2a77f7['toVersion'];for(const _0x43bbfc in _0x2a77f7['diffData']){const _0x2c2a93=_0x2a77f7['diffData'][_0x43bbfc]['attachChange'],_0x5122c4=_0x582adc(_0x2a77f7['diffData'][_0x43bbfc]['attributesBefore'])||{},_0x57a685=this['_makeModelFromViewString'](_0x2a77f7['diffData'][_0x43bbfc]['deletions']);_0x57a685['rootName']=_0x43bbfc,_0x57a685['_isAttached']=!_0x2c2a93||!_0x2c2a93['isAttached'],_0x57a685['isAttached']=()=>_0x57a685['_isAttached'],this['_baseRoots']['set'](_0x43bbfc,_0x57a685),this['_baseRootsAttributes']['set'](_0x43bbfc,_0x5122c4),_0x2c2a93&&this['_touchedRoots']['set'](_0x43bbfc,_0x2c2a93);const _0xc90e30=this['_makeIdsRoot'](_0x57a685);this['_baseIdsRoots']['set'](_0x43bbfc,_0xc90e30);for(const [_0x54b25f,_0x1c2d95]of _0x57a685['markers']){if(!_0x54b25f['startsWith']('revision:'))continue;const _0x3fb66f=_0x54b25f['split'](':')[0x2];for(const _0x170596 of _0x1c2d95['getWalker']({'singleCharacters':!0x0})){const _0x4dc78d=this['_getVidAttributeName'](_0x170596),_0x20493f='elementEnd'==_0x170596['type']?_0x170596['previousPosition']['path']['slice'](0x0,-0x1):_0x170596['previousPosition']['path'],_0x566ce8=_0xc90e30['getNodeByPath'](_0x20493f)['getAttribute'](_0x4dc78d);this['_touched']['set'](_0x566ce8,{'userId':_0x3fb66f});}}}this['_startingRevisionId']=this['_revisionId'];const _0x52b5a7=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x2dab48=>!this['_touched']['has'](_0x2dab48));let _0x263c98=0x0;const _0x45aead=new Map();for(const _0x12a0b4 in _0x2a77f7['diffData']){const _0x1f8221=_0x2a77f7['diffData'][_0x12a0b4]['attachChange'],_0x44b28d=_0x582adc(_0x2a77f7['diffData'][_0x12a0b4]['attributesAfter'])||{},_0x477c07=this['_makeModelFromViewString'](_0x2a77f7['diffData'][_0x12a0b4]['insertions']);_0x477c07['rootName']=_0x12a0b4,_0x477c07['_isAttached']=!_0x1f8221||_0x1f8221['isAttached'],_0x477c07['isAttached']=()=>_0x477c07['_isAttached'],this['_diffRoots']['set'](_0x12a0b4,_0x477c07),this['_diffRootsAttributes']['set'](_0x12a0b4,_0x44b28d);const _0x18f5a8=this['_makeIdsRoot'](_0x477c07,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x12a0b4,_0x18f5a8),_0x45aead['set'](_0x12a0b4,_0x477c07['isAttached']()?_0x44b28d:{});for(const [_0x1ef66d,_0x250eeb]of _0x477c07['markers']){if(!_0x1ef66d['startsWith']('revision:'))continue;const _0x4998c7=_0x1ef66d['split'](':')[0x2];for(const _0x388f94 of _0x250eeb['getWalker']({'singleCharacters':!0x0})){const _0x11a0e1=this['_getVidAttributeName'](_0x388f94),_0x4dae1c=this['_revisionId']++,_0x3c913c='elementEnd'==_0x388f94['type']?_0x388f94['previousPosition']['path']['slice'](0x0,-0x1):_0x388f94['previousPosition']['path'];_0x18f5a8['getNodeByPath'](_0x3c913c)['_setAttribute'](_0x11a0e1,_0x4dae1c),this['_touched']['set'](_0x4dae1c,{'userId':_0x4998c7});}}for(const _0x2e16ea of this['editor']['model']['createRangeIn'](_0x477c07)['getWalker']({'singleCharacters':!0x0})){const _0x2c44b0=this['_getVidAttributeName'](_0x2e16ea),_0x372a62='elementEnd'==_0x2e16ea['type']?_0x2e16ea['previousPosition']['path']['slice'](0x0,-0x1):_0x2e16ea['previousPosition']['path'],_0x475601=_0x18f5a8['getNodeByPath'](_0x372a62);_0x475601['getAttribute'](_0x2c44b0)>0x0||_0x475601['_setAttribute'](_0x2c44b0,_0x52b5a7[_0x263c98++]);}for(const [_0x599157,_0xa2a5d0]of _0x477c07['markers'])_0x599157['startsWith']('revision:')||this['_markers']['set'](_0x599157,_0xa2a5d0);}const _0x35a5ed=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x35a5ed),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x35a5ed,0x1));const _0x3ffada=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x3ffada),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x3ffada,0x1));const _0x4a7d30=Array['from'](this['_diffRoots'])['map'](([_0x53e319,_0x29014a])=>[_0x53e319,q(_0x29014a)]);this['_saveMetaData'](this['_lastTo'],_0x4a7d30,this['_markers'],_0x45aead);}['_makeModelFromViewString'](_0x19773f){const _0x26d956=JSON['parse'](_0x19773f),_0x8b2921=this['editor']['editing']['view']['document'],_0x25b22e=new _0x4e9a9c(_0x8b2921,_0x26d956['map'](_0x1bed93=>B(_0x1bed93,this['editor'])));return this['editor']['data']['toModel'](_0x25b22e);}['_saveMetaData'](_0x559225,_0x5a34de,_0xf029e2,_0x4628ec){const _0x14fbf2=new Map(_0x5a34de),_0x3254fa=new Map(_0x582adc(_0x4628ec)),_0x37ef4f=new Map();for(const [_0x38f5d3,_0xcff2c1]of _0xf029e2)_0x37ef4f['set'](_0x38f5d3,{'start':_0xcff2c1['start']['clone'](),'end':_0xcff2c1['end']['clone'](),'rootName':_0xcff2c1['root']['rootName']});this['_savedMetaData']['set'](_0x559225,{'roots':_0x14fbf2,'markers':_0x37ef4f,'rootsAttributes':_0x3254fa});}['_removeMetaData'](_0x3c7eca){this['_savedMetaData']['delete'](_0x3c7eca);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_reset'](){this['_touched']['clear'](),this['_touchedMarkers']['clear'](),this['_touchedRoots']['clear'](),this['_diffRoots']['clear'](),this['_diffRootsAttributes']['clear'](),this['_baseRoots']['clear'](),this['_baseRootsAttributes']['clear'](),this['_idsRoots']['clear'](),this['_baseIdsRoots']['clear'](),this['_markers']['clear'](),this['_revisionId']=0x1,this['_startingRevisionId']=this['_revisionId'];}['_makeIdsRoot'](_0x308731,_0x3f4616=null){let _0x4c4c42=null;_0x308731['is']('documentFragment')||(_0x4c4c42=new ft(_0x308731['name'],{'vid_start':null===_0x3f4616?this['_revisionId']++:_0x3f4616++}));const _0x307dc3=[];for(const _0x4d0082 of _0x308731['getChildren']())if(_0x4d0082['is']('element')){_0x307dc3['push'](this['_makeIdsRoot'](_0x4d0082,_0x3f4616));const _0x2c145d=_0x307dc3[_0x307dc3['length']-0x1];null!==_0x3f4616&&(_0x3f4616=_0x2c145d['is']('element','$text')?_0x2c145d['getAttribute']('vid')+0x1:_0x2c145d['getAttribute']('vid_end')+0x1);}else{for(let _0x176e6e=0x0;_0x176e6e<_0x4d0082['offsetSize'];_0x176e6e++)_0x307dc3['push'](new ft('$text',{'vid':null===_0x3f4616?this['_revisionId']++:_0x3f4616++}));}if(_0x308731['is']('documentFragment')){const _0x179ad3=G(_0x308731['rootName']);return _0x179ad3['_insertChild'](0x0,_0x307dc3),_0x179ad3;}return _0x4c4c42['_setAttribute']('vid_end',null===_0x3f4616?this['_revisionId']++:_0x3f4616++),_0x4c4c42['_insertChild'](0x0,_0x307dc3),_0x4c4c42;}['_calculateMetaData'](_0x3c91d0,_0x2ba307,_0x4bc06a){this['_reset']();const {roots:_0x5af579,markers:_0x3bcefa,rootsAttributes:_0x5e55fe}=this['_savedMetaData']['get'](_0x3c91d0);this['_baseRoots']=new Map(_0x5af579),this['_baseRootsAttributes']=new Map(_0x582adc(_0x5e55fe));for(const [_0x188458,_0x1388cd]of this['_baseRoots'])if('$graveyard'!==_0x188458&&(this['_diffRoots']['set'](_0x188458,q(_0x1388cd)),this['_diffRootsAttributes']=new Map(_0x582adc(_0x5e55fe)),_0x4bc06a)){const _0x1fa1d0=this['_revisionId'];this['_idsRoots']['set'](_0x188458,this['_makeIdsRoot'](_0x1388cd)),this['_baseIdsRoots']['set'](_0x188458,this['_makeIdsRoot'](_0x1388cd,_0x1fa1d0));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x4bc06a&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x56ce2e,_0x596865]of _0x3bcefa){const _0x386ee2=this['_baseRoots']['get'](_0x596865['rootName']),_0x53eae3=this['_diffRoots']['get'](_0x596865['rootName']),_0x4eeb3d=new vt(this['_fixPosition'](_0x596865['start'],_0x386ee2),this['_fixPosition'](_0x596865['end'],_0x386ee2)),_0x44d029=this['_fixRange'](_0x4eeb3d,_0x53eae3);_0x386ee2['markers']['set'](_0x56ce2e,_0x4eeb3d),this['_markers']['set'](_0x56ce2e,_0x44d029);}this['_applyOperations'](_0x3c91d0,_0x2ba307,_0x4bc06a);}['_applyOperations'](_0x48b645,_0x230b9b,_0x5a64b2){for(const _0x19379c of this['source']['getOperations'](_0x48b645,_0x230b9b))this['_handleOperation'](_0x19379c,_0x5a64b2);for(const _0x3075d5 of this['_diffRoots']['values']())_0x3075d5['markers']['clear']();for(const [_0x5bc97f,_0x47cf62]of this['_markers']){this['_diffRoots']['get'](_0x47cf62['root']['rootName'])['markers']['set'](_0x5bc97f,_0x47cf62['clone']());}const _0x33f25b=new Map(),_0x250c85=new Map();for(const [_0x437a2e,_0x57802b]of this['_diffRoots'])_0x33f25b['set'](_0x437a2e,q(_0x57802b)),_0x250c85['set'](_0x437a2e,this['_diffRootsAttributes']['get'](_0x437a2e));this['_saveMetaData'](_0x230b9b,_0x33f25b,this['_markers'],_0x250c85);}['_getPreviousFrom'](_0x3271d9){const _0x53062a=Array['from'](this['_savedMetaData']['keys']());_0x53062a['sort']((_0x5465ab,_0xfee4d6)=>_0x5465ab-_0xfee4d6),_0x53062a['reverse']();for(const _0x2a4719 of _0x53062a)if(_0x2a4719<_0x3271d9)return _0x2a4719;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0xfd137,_0x15a326){const _0x4b1f92=Array['from'](_0x15a326['markers'])['map'](([_0x10338e,_0x90d317])=>[_0x10338e,this['_fixRange'](_0x90d317,_0xfd137)]);_0xfd137['markers']=new Map(_0x4b1f92);}['_transformMarkers'](_0x5e89c9){for(const _0x5220a9 of this['_markers']['values']()){const _0x3678a6=_0x5220a9['getTransformedByOperation'](_0x5e89c9),_0x313a62=vt['_createFromRanges'](_0x3678a6);_0x5220a9['start']=_0x313a62['start'],_0x5220a9['end']=_0x313a62['end'];}}['_handleOperation'](_0xf5d701,_0x2d3a89){if('addRoot'==_0xf5d701['type']||'detachRoot'==_0xf5d701['type'])return void this['_handleRootOperation'](_0xf5d701,_0x2d3a89);if('insert'==_0xf5d701['type']){const _0x4b57f4=_0xf5d701['position']['root']['rootName'];this['_diffRoots']['has'](_0x4b57f4)||(this['_diffRoots']['set'](_0x4b57f4,G(_0x4b57f4,!0x0)),this['_diffRootsAttributes']['set'](_0x4b57f4,{}),_0x2d3a89&&this['_idsRoots']['set'](_0x4b57f4,G(_0x4b57f4,!0x0)));}else{if('addRootAttribute'==_0xf5d701['type']||'removeRootAttribute'==_0xf5d701['type']||'changeRootAttribute'==_0xf5d701['type'])return void this['_handleRootAttributeOperation'](_0xf5d701);}const _0x512036=this['_cloneOperation'](_0xf5d701,this['_diffRoots']);if('marker'!==_0xf5d701['type']&&(_0x512036['_execute'](),this['_transformMarkers'](_0x512036)),_0x2d3a89)switch(_0x512036['type']){case'insert':this['_handleInsertOperation'](_0xf5d701);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0xf5d701);break;case'merge':this['_handleMergeOperation'](_0xf5d701);break;case'split':this['_handleSplitOperation'](_0xf5d701);break;case'marker':this['_handleMarkerOperation'](_0xf5d701);}}['_cloneOperation'](_0x3fe8e3,_0x59ddea){const _0x3345c5=_0x3fe8e3['clone']();return _0x3345c5['_authorId']=_0x3fe8e3['_authorId'],this['_fixOperation'](_0x3345c5,_0x59ddea),_0x3345c5;}['_getBaseVids'](_0x50d50d){return _0x50d50d['map'](_0x286eea=>{const _0x570394=this['_getVidAttributeName'](_0x286eea);return Number(_0x286eea['item']['getAttribute'](_0x570394));});}['_generateTape'](_0xc0b21b,_0x2c3ac9){if(_0xc0b21b['is']('element','$text'))_0x2c3ac9['push']({'item':_0xc0b21b,'type':'text'});else{_0xc0b21b['is']('element')&&_0x2c3ac9['push']({'item':_0xc0b21b,'type':'elementStart'});for(const _0x3d70f2 of _0xc0b21b['getChildren']())this['_generateTape'](_0x3d70f2,_0x2c3ac9);_0xc0b21b['is']('element')&&_0x2c3ac9['push']({'item':_0xc0b21b,'type':'elementEnd'});}return _0x2c3ac9;}['_getState'](){const _0x1b29c3=new Map(this['_touched']),_0x1fe5da=new Map(_0x1b29c3),_0x429df3=new Map(),_0x482aaf={'insertions':{},'deletions':{}},_0x1d28fa={'insertions':{},'deletions':{}},_0x5d83c2=new Map(),_0x5d5676=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x5d5676['delete']('$graveyard');for(const _0x1efdad of _0x5d5676){const _0x6d209d=this['_diffRoots']['get'](_0x1efdad)||G(_0x1efdad,!0x1),_0x4ecb59=this['_baseRoots']['get'](_0x1efdad)||G(_0x1efdad,!0x1);_0x6d209d['isAttached']()||_0x4ecb59['isAttached']()?(_0x482aaf['insertions'][_0x1efdad]=q(_0x6d209d),_0x482aaf['deletions'][_0x1efdad]=q(_0x4ecb59),this['_copyMarkers'](_0x482aaf['deletions'][_0x1efdad],_0x4ecb59),this['_copyMarkers'](_0x482aaf['insertions'][_0x1efdad],_0x6d209d),_0x1d28fa['insertions'][_0x1efdad]=this['_generateTape'](this['_idsRoots']['get'](_0x1efdad),[]),_0x1d28fa['deletions'][_0x1efdad]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x1efdad)||G(_0x1efdad,!0x1),[])):_0x5d5676['delete'](_0x1efdad);}for(const _0xc9e217 of _0x5d5676){const _0x48e76b=_0x1d28fa['insertions'][_0xc9e217];for(const _0x177b9b of _0x48e76b){const _0x42f77b=this['_getVidAttributeName'](_0x177b9b),_0x2279cc=_0x177b9b['item']['getAttribute'](_0x42f77b);_0x1fe5da['delete'](_0x2279cc),_0x2279cc>=this['_startingRevisionId']&&_0x429df3['set'](_0x2279cc,_0x1b29c3['get'](_0x2279cc));}}for(const _0xf8a8d2 of _0x5d5676){const _0x185694=_0x1d28fa['insertions'][_0xf8a8d2],_0x56a8bf=this['_getBaseVids'](_0x1d28fa['deletions'][_0xf8a8d2]);let _0x2bcc11=0x0;for(const _0x55ff34 of _0x185694){const _0x270524=this['_getVidAttributeName'](_0x55ff34),_0x4c0791=_0x55ff34['item']['getAttribute'](_0x270524);if(!_0x429df3['has'](_0x4c0791)&&!_0x5d83c2['has'](_0x4c0791)){if(_0x1fe5da['has'](_0x4c0791))_0x2bcc11++;else{if(_0x4c0791!=_0x56a8bf[_0x2bcc11]){const _0x4e209e=_0x1b29c3['get'](_0x4c0791)||_0x1b29c3['get'](_0x56a8bf[_0x2bcc11]);for(;_0x4c0791!=_0x56a8bf[_0x2bcc11];)_0x1fe5da['has'](_0x56a8bf[_0x2bcc11])||(_0x5d83c2['set'](_0x56a8bf[_0x2bcc11],_0x4e209e),_0x1b29c3['set'](_0x56a8bf[_0x2bcc11],_0x4e209e)),_0x2bcc11++;}_0x2bcc11++;}}}}for(const _0x2378b4 of _0x5d5676){const _0x5baccd=_0x1d28fa['insertions'][_0x2378b4];for(const _0x1a8cba of _0x5baccd){const _0x44254a=this['_getVidAttributeName'](_0x1a8cba),_0x53586e=_0x1a8cba['item']['getAttribute'](_0x44254a);if(_0x5d83c2['has'](_0x53586e)){const _0x255cf5=_0x5d83c2['get'](_0x53586e);_0x1fe5da['has'](_0x53586e)||_0x1fe5da['set'](_0x53586e,{..._0x255cf5}),_0x429df3['set'](_0x53586e,{..._0x255cf5});}}}for(const _0x47c989 of _0x1fe5da['keys']())_0x47c989>=this['_startingRevisionId']&&_0x1fe5da['delete'](_0x47c989);const _0x315b26=new Map();for(const _0x517076 of _0x5d5676){let _0x11fd21=_0x1d28fa['insertions'][_0x517076];for(const _0x134606 of _0x11fd21)if(_0x134606['item']['is']('element','tableCell')){const _0x26356d=this['_getVidAttributeName'](_0x134606),_0x549afd=_0x134606['item']['getAttribute'](_0x26356d);if(_0x429df3['has'](_0x549afd)){const _0x2a26b9=_0x134606['item']['parent']['parent']['getAttribute']('vid_start'),_0x11d8b9=_0x315b26['get'](_0x2a26b9)||new Set();_0x11d8b9['add'](_0x429df3['get'](_0x549afd)['userId']),_0x315b26['set'](_0x2a26b9,_0x11d8b9);}}_0x11fd21=_0x1d28fa['deletions'][_0x517076];for(const _0x596096 of _0x11fd21)if(_0x596096['item']['is']('element','tableCell')){const _0x18344f=this['_getVidAttributeName'](_0x596096),_0x5570b4=_0x596096['item']['getAttribute'](_0x18344f);if(_0x1fe5da['has'](_0x5570b4)){const _0x41c02a=_0x596096['item']['parent']['parent']['getAttribute']('vid_start'),_0x1c3579=_0x315b26['get'](_0x41c02a)||new Set();_0x1c3579['add'](_0x1fe5da['get'](_0x5570b4)['userId']),_0x315b26['set'](_0x41c02a,_0x1c3579);}}for(const _0x1dfaa3 of _0x315b26['keys']())(_0x429df3['has'](_0x1dfaa3)||_0x1fe5da['has'](_0x1dfaa3))&&_0x315b26['delete'](_0x1dfaa3);}for(const _0x1272f6 of _0x5d5676){const _0x5737ce=_0x1d28fa['insertions'][_0x1272f6];let _0x1277ed=null,_0x4b830f=null;for(const _0x167ff6 of _0x5737ce){const _0x5aba96=this['_getVidAttributeName'](_0x167ff6),_0x446d7a=_0x167ff6['item']['getAttribute'](_0x5aba96),_0x219f97=_0x315b26['get'](_0x446d7a);_0x219f97&&'elementStart'==_0x167ff6['type']&&(_0x1277ed=Array['from'](_0x219f97)[0x0],_0x4b830f=_0x167ff6['item']['getAttribute']('vid_end')),_0x1277ed&&(_0x1fe5da['set'](_0x446d7a,{'userId':_0x1277ed}),_0x429df3['set'](_0x446d7a,{'userId':_0x1277ed})),_0x446d7a==_0x4b830f&&(_0x1277ed=null,_0x4b830f=null);}}const _0x4675a1={},_0x7fcad4=new Set();for(const _0x2316e7 of _0x5d5676){const _0x298a63=_0x482aaf['deletions'][_0x2316e7],_0x40cc61=_0x482aaf['insertions'][_0x2316e7];for(const {userId:_0x1132a8}of this['_touchedMarkers']['values']())null!==_0x1132a8&&_0x7fcad4['add'](_0x1132a8);for(const {userId:_0x152150}of this['_touchedRoots']['values']())null!==_0x152150&&_0x7fcad4['add'](_0x152150);this['_markChanges'](_0x40cc61,_0x1d28fa['insertions'][_0x2316e7],_0x429df3,'insertion',_0x7fcad4),this['_markChanges'](_0x298a63,_0x1d28fa['deletions'][_0x2316e7],_0x1fe5da,'deletion',_0x7fcad4),_0x4675a1[_0x2316e7]={'insertions':this['_prepareViewToSave'](_0x40cc61),'deletions':this['_prepareViewToSave'](_0x298a63),'attachChange':this['_touchedRoots']['get'](_0x2316e7)||null,'attributesBefore':_0x582adc(this['_baseRootsAttributes']['get'](_0x2316e7))||{},'attributesAfter':_0x582adc(this['_diffRootsAttributes']['get'](_0x2316e7))};}return{'diffData':_0x4675a1,'authorsIds':Array['from'](_0x7fcad4)};}['_processRootBeforeSave'](_0x1961ea){for(const [,_0x4dcbe3]of _0x1961ea['markers']){const _0x10ee9a=_0x4dcbe3['start']['getAncestors']()['filter'](_0x4f5ede=>'tableCell'==_0x4f5ede['name']);for(const _0x174594 of _0x10ee9a)0x1==_0x174594['childCount']&&_0x174594['getChild'](0x0)['is']('element','paragraph')&&_0x174594['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x1014d3){this['_processRootBeforeSave'](_0x1014d3);const _0x282e26=this['editor']['data']['toView'](_0x1014d3,{}),_0x47e20b=Array['from'](_0x282e26['getChildren']())['map'](_0x13ef3a=>this['_getViewJson'](_0x13ef3a));return JSON['stringify'](_0x47e20b);}['_getViewJson'](_0x15837d){if(_0x15837d['is']('$text'))return _0x15837d['data'];{const _0x18018b=_0x15837d;return{'type':Object['keys'](T)['find'](_0x4bfaa3=>_0x15837d instanceof T[_0x4bfaa3]),'name':_0x18018b['name'],'attributes':Array['from'](_0x18018b['getAttributes']()),'children':Array['from'](_0x18018b['getChildren']())['map'](_0x5e33ba=>this['_getViewJson'](_0x5e33ba))};}}['_markChanges'](_0x3cf95a,_0x3a550e,_0x587bbe,_0x4419ec,_0x45ebf9){let _0x41d795=null,_0x313853=null,_0x505488=0x0;const _0x2072bd=this['editor']['model'];for(let _0x38a221=0x0;_0x38a221<_0x3a550e['length'];_0x38a221++){const _0x507aff=this['_getVidAttributeName'](_0x3a550e[_0x38a221]),_0x2a4dd0=_0x3a550e[_0x38a221]['item']['getAttribute'](_0x507aff),_0x4e2946=_0x587bbe['get'](_0x2a4dd0),_0x16ee8a=_0x38a221==_0x3a550e['length']-0x1;(!_0x41d795&&_0x4e2946&&(_0x41d795=_0x4e2946,_0x313853=_0x3a550e[_0x38a221]),_0x41d795&&(!_0x4e2946||_0x4e2946['userId']!=_0x41d795['userId']))&&(_0x20d0e6(_0x4e2946,L(_0x313853,_0x3cf95a,_0x2072bd),L(_0x3a550e[_0x38a221],_0x3cf95a,_0x2072bd)),_0x41d795=_0x4e2946||null,_0x313853=_0x4e2946?_0x3a550e[_0x38a221]:null),_0x41d795&&_0x16ee8a&&_0x20d0e6(_0x4e2946,L(_0x313853,_0x3cf95a,_0x2072bd),W(_0x3a550e[_0x38a221],_0x3cf95a,_0x2072bd));}function _0x20d0e6(_0xe0fd13,_0x36bc66,_0x39f210){const _0x45c14a=_0x41d795['userId'],_0x37097a='revision:'+_0x4419ec+':'+_0x45c14a+':'+_0x505488++,_0x463a22=_0x2072bd['createRange'](_0x36bc66,_0x39f210);_0x3cf95a['markers']['set'](_0x37097a,_0x463a22),null!==_0x45c14a&&_0x45ebf9['add'](_0x45c14a);}}['_getVidAttributeName'](_0x4d33ae){switch(_0x4d33ae['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x2a2bc7,_0x3c715c){_0x2a2bc7['baseVersion']=null;for(const _0x3fc248 in _0x2a2bc7){const _0x438953=_0x2a2bc7[_0x3fc248];if(_0x438953 instanceof gt){const _0x2e320f=_0x3c715c['get'](_0x438953['root']['rootName']);_0x2a2bc7[_0x3fc248]=this['_fixPosition'](_0x438953,_0x2e320f);}if(_0x438953 instanceof vt){const _0x502ff4=_0x3c715c['get'](_0x438953['root']['rootName']);_0x2a2bc7[_0x3fc248]=this['_fixRange'](_0x438953,_0x502ff4);}'root'===_0x3fc248&&(_0x2a2bc7['root']=_0x3c715c['get'](_0x2a2bc7['root']['rootName']));}}['_fixRange'](_0x133b92,_0x521786){return this['editor']['model']['createRange'](this['_fixPosition'](_0x133b92['start'],_0x521786),this['_fixPosition'](_0x133b92['end'],_0x521786));}['_fixPosition'](_0x16985c,_0x3f4a7b){return this['editor']['model']['createPositionFromPath'](_0x3f4a7b,_0x16985c['path'],_0x16985c['stickiness']);}['_handleInsertOperation'](_0x4158fc){const _0x1b4d9b=this['_idsRoots']['get'](_0x4158fc['position']['root']['rootName']),_0x727e31=this['_fixPosition'](_0x4158fc['position'],_0x1b4d9b),_0x8abc08=null===_0x4158fc['_authorId']?null:_0x4158fc['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4f2e8a=_0x727e31['parent'],_0x845399=this['_revisionId'],_0x2117ff=[];for(const _0x5bba79 of _0x4158fc['nodes'])if(_0x5bba79['is']('element'))_0x2117ff['push'](this['_makeIdsRoot'](_0x5bba79));else{for(let _0xce127b=0x0;_0xce127b<_0x5bba79['offsetSize'];_0xce127b++)_0x2117ff['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x17f2a2=this['_revisionId'];for(let _0x341c25=_0x845399;_0x341c25<_0x17f2a2;_0x341c25++)this['_touched']['set'](_0x341c25,{'userId':_0x8abc08});_0x4f2e8a['_insertChild'](_0x727e31['offset'],_0x2117ff);}['_handleMoveOperation'](_0x33681e){(_0x33681e=this['_cloneOperation'](_0x33681e,this['_idsRoots']))['_execute']();const _0x4e5ff1=null===_0x33681e['_authorId']?null:_0x33681e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x348b23=_0x33681e['getMovedRangeStart'](),_0x4b3a2f=_0x348b23['parent'],_0x2e0b2a=_0x348b23['offset'];!function _0x1a76b2(_0x272f5d,_0x461b5f,_0x208ee7,_0x55dfbf){for(let _0x174b22=_0x208ee7;_0x174b22<_0x55dfbf;_0x174b22++){const _0x56b052=_0x461b5f['getChild'](_0x174b22);_0x56b052['is']('element','$text')?_0x272f5d['set'](_0x56b052['getAttribute']('vid'),{'userId':_0x4e5ff1}):(_0x272f5d['set'](_0x56b052['getAttribute']('vid_start'),{'userId':_0x4e5ff1}),_0x1a76b2(_0x272f5d,_0x56b052,0x0,_0x56b052['childCount']),_0x272f5d['set'](_0x56b052['getAttribute']('vid_end'),{'userId':_0x4e5ff1}));}}(this['_touched'],_0x4b3a2f,_0x2e0b2a,_0x2e0b2a+_0x33681e['howMany']);}['_handleMergeOperation'](_0x2a2877){const _0x382888=null===(_0x2a2877=this['_cloneOperation'](_0x2a2877,this['_idsRoots']))['_authorId']?null:_0x2a2877['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5243b6=_0x2a2877['targetPosition']['parent'],_0x447858=_0x2a2877['sourcePosition']['parent'],_0x102089=_0x5243b6['getAttribute']('vid_end'),_0x9a4a29=_0x447858['getAttribute']('vid_start');_0x5243b6['_setAttribute']('vid_end',_0x447858['getAttribute']('vid_end')),_0x447858['_setAttribute']('vid_end',_0x102089),this['_touched']['set'](_0x9a4a29,{'userId':_0x382888}),this['_touched']['set'](_0x102089,{'userId':_0x382888}),_0x2a2877['_execute']();}['_handleSplitOperation'](_0x5f4c30){const _0x5e8702=null===(_0x5f4c30=this['_cloneOperation'](_0x5f4c30,this['_idsRoots']))['_authorId']?null:_0x5f4c30['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2a8179=_0x5f4c30['graveyardPosition'],_0x20f00d=_0x5f4c30['splitPosition']['parent'];_0x5f4c30['_execute']();const _0x146c81=_0x20f00d['getAttribute']('vid_end'),_0x50ad8f=_0x5f4c30['insertionPosition']['nodeAfter'];if(_0x2a8179){const _0x21ee5a=_0x50ad8f['getAttribute']('vid_end'),_0x6ecde8=_0x20f00d['getAttribute']('vid_end');_0x20f00d['_setAttribute']('vid_end',_0x21ee5a),_0x50ad8f['_setAttribute']('vid_end',_0x6ecde8),this['_touched']['set'](_0x20f00d['getAttribute']('vid_end'),{'userId':_0x5e8702}),this['_touched']['set'](_0x50ad8f['getAttribute']('vid_start'),{'userId':_0x5e8702});}else{const _0xa25847=this['_revisionId']++,_0x483b37=this['_revisionId']++;_0x20f00d['_setAttribute']('vid_end',_0xa25847),_0x50ad8f['_setAttribute']('vid_start',_0x483b37),_0x50ad8f['_setAttribute']('vid_end',_0x146c81),this['_touched']['set'](_0xa25847,{'userId':_0x5e8702}),this['_touched']['set'](_0x483b37,{'userId':_0x5e8702});}}['_handleMarkerOperation'](_0x4b25c5){if(!_0x4b25c5['affectsData'])return;const _0xc29557=(_0x4b25c5=this['_cloneOperation'](_0x4b25c5,this['_diffRoots']))['oldRange']?_0x4b25c5['oldRange']['root']:null,_0x3b12cc=_0x4b25c5['newRange']?_0x4b25c5['newRange']['root']:null;_0xc29557&&this['_markers']['delete'](_0x4b25c5['name']),_0x3b12cc&&this['_markers']['set'](_0x4b25c5['name'],_0x4b25c5['newRange']['clone']());const _0x463cd9=null===_0x4b25c5['_authorId']?null:_0x4b25c5['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3c8279=_0x4b25c5['name'];if(!this['_touchedMarkers']['has'](_0x3c8279))return void this['_touchedMarkers']['set'](_0x3c8279,{'range':_0x4b25c5['oldRange'],'userId':_0x463cd9});const _0x50099b=this['_touchedMarkers']['get'](_0x3c8279),_0x100707=_0x50099b['range'],_0x4adefe=_0x4b25c5['newRange'];null==_0x100707&&null==_0x4adefe||_0x100707&&_0x4adefe&&_0x100707['isEqual'](_0x4adefe)?this['_touchedMarkers']['delete'](_0x4b25c5['name']):_0x50099b['userId']=_0x463cd9;}['_handleRootOperation'](_0x539298,_0x519387){this['_diffRoots']['has'](_0x539298['rootName'])?this['_diffRoots']['get'](_0x539298['rootName'])['_isAttached']=_0x539298['isAdd']:(this['_diffRoots']['set'](_0x539298['rootName'],G(_0x539298['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x539298['rootName'],{}),_0x519387&&this['_idsRoots']['set'](_0x539298['rootName'],G(_0x539298['rootName'],!0x0)));const _0x4fe9c2=null===_0x539298['_authorId']?null:_0x539298['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x31cdb7=this['_touchedRoots']['get'](_0x539298['rootName']);_0x31cdb7&&_0x31cdb7['userId']===_0x4fe9c2?this['_touchedRoots']['delete'](_0x539298['rootName']):this['_touchedRoots']['set'](_0x539298['rootName'],{'userId':_0x4fe9c2,'isAttached':_0x539298['isAdd']});}['_handleRootAttributeOperation'](_0x1d0d88){const _0x2c3053=this['_diffRootsAttributes']['get'](_0x1d0d88['root']['rootName']);null===_0x1d0d88['newValue']?delete _0x2c3053[_0x1d0d88['key']]:_0x2c3053[_0x1d0d88['key']]=_0x1d0d88['newValue'];}}function q(_0x5e67ae){const _0x587053=G(_0x5e67ae['rootName'],_0x5e67ae['isAttached']());for(const _0x5bf521 of _0x5e67ae['getChildren']()){const _0x49075f=_0x5bf521['_clone'](!0x0);_0x587053['_appendChild'](_0x49075f);}return _0x587053;}function G(_0x4c0bd5,_0x187a9e=!0x0){const _0x185425=new wt();return _0x185425['rootName']=_0x4c0bd5,_0x185425['_isAttached']=_0x187a9e,_0x185425['isAttached']=()=>_0x185425['_isAttached'],_0x185425;}function L(_0x2c4e70,_0x1de9c0,_0x2cd5a7){const _0x2c181f='elementEnd'==_0x2c4e70['type']?_0x2cd5a7['createPositionAt'](_0x2c4e70['item'],'end'):_0x2cd5a7['createPositionBefore'](_0x2c4e70['item']);return _0x2cd5a7['createPositionFromPath'](_0x1de9c0,_0x2c181f['path'],_0x2c181f['stickiness']);}function W(_0x570d17,_0x183f9e,_0x6b884c){const _0x47a955='elementStart'==_0x570d17['type']?_0x6b884c['createPositionAt'](_0x570d17['item'],0x0):_0x6b884c['createPositionAfter'](_0x570d17['item']);return _0x6b884c['createPositionFromPath'](_0x183f9e,_0x47a955['path'],_0x47a955['stickiness']);}class ns extends _0x589ebd{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0xc45eb8,_0x2fee28){super(_0xc45eb8),this['focusTracker']=new _0xe0f2b7(),this['keystrokes']=new _0xd9bf79(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x2fee28),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}['render'](){super['render'](),_0x1b789f({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x3edb5c=_0x4fe0f2=>_0x4fe0f2['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3edb5c),this['keystrokes']['set']('arrowleft',_0x3edb5c),this['keystrokes']['set']('arrowup',_0x3edb5c),this['keystrokes']['set']('arrowdown',_0x3edb5c);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x150f42){this['revisionNameInputView']['fieldView']['element']['value']=_0x150f42['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x3c7b55){const _0x33dd2c=new at(this['locale'],_0x8b630e),_0x486253=_0x33dd2c['fieldView'];_0x486253['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x3d36d3=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x3c7b55&&(_0x3d36d3+='\x20('+y(this['locale'],'optional')+')'),(_0x33dd2c['label']=_0x3d36d3,_0x486253['on']('input',()=>{this['revisionNameInputValue']=_0x486253['element']['value']['trim']();}),_0x33dd2c);}}class u extends _0xfa4437{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x489853=this['editor'],_0x36ba85=_0x489853['plugins']['get']('RevisionTracker');_0x489853['ui']['componentFactory']['add']('revisionHistory',_0x1cf968=>{const _0x56c0d2=_0x47e0bd(_0x1cf968),_0x4ff931=_0x56c0d2['panelView']['children'],_0x5a4529=new te(_0x1cf968),_0x405724=new _0x1242fc(_0x1cf968),_0x52596f=new _0x1c1921(_0x1cf968),_0x42ec98=new _0x1242fc(_0x1cf968),_0x1a72c8=new _0x1c1921(_0x1cf968);return _0x56c0d2['bind']('isEnabled')['to'](_0x36ba85,'isReady',_0x36ba85,'isEnabled',_0x489853,'isReadOnly',(_0x43d4a5,_0x795830,_0x26bf4a)=>_0x43d4a5&&_0x795830&&!_0x26bf4a),_0x56c0d2['buttonView']['set']({'icon':_0x11c8c0['history'],'label':y(_0x1cf968,'Revision\x20history'),'tooltip':!0x0}),_0x52596f['set']({'label':y(_0x1cf968,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x52596f['bind']('isEnabled')['to'](_0x36ba85,'isReady',_0x36ba85,'isEnabled',_0x489853,'isReadOnly',(_0x32581a,_0x3db9b8,_0x4f9afb)=>_0x32581a&&_0x3db9b8&&!_0x4f9afb),_0x52596f['on']('execute',()=>this['_showDialog']()),_0x1a72c8['set']({'label':y(_0x1cf968,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x1a72c8['bind']('isEnabled')['to'](_0x36ba85,'isReady',_0x489853,'isReadOnly',(_0x6be8b3,_0x2786a7)=>_0x6be8b3&&!_0x2786a7),_0x1a72c8['on']('execute',()=>{_0x489853['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x56c0d2['isOpen']=!0x1,_0x489853['editing']['view']['focus']();}),_0x405724['children']['add'](_0x52596f),_0x42ec98['children']['add'](_0x1a72c8),_0x5a4529['role']='menu',_0x5a4529['items']['addMany']([_0x405724,_0x42ec98]),_0x4ff931['add'](_0x5a4529),_0x56c0d2;}),_0x489853['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x3801d5=this['editor'],_0x10302b=_0x3801d5['locale'],_0x4f5bee=new _0x5e5718(_0x10302b),_0x11455e=new _0x4ca538(_0x10302b);_0x4f5bee['buttonView']['set']({'icon':_0x11c8c0['history'],'label':y(_0x10302b,'Revision\x20history')});const _0x4d00c1=new _0x352236(_0x10302b,_0x4f5bee),_0x54310b=new _0x598d99(_0x10302b);_0x54310b['set']({'label':y(_0x10302b,'Save\x20current\x20revision')}),_0x54310b['delegate']('execute')['to'](_0x4f5bee),_0x54310b['on']('execute',()=>{this['_showDialog']();}),_0x4d00c1['children']['add'](_0x54310b),_0x11455e['items']['add'](_0x4d00c1);const _0x1e9d82=new _0x352236(_0x10302b,_0x4f5bee),_0x4f6ee3=new _0x598d99(_0x10302b);return _0x4f6ee3['set']({'label':y(_0x10302b,'Open\x20revision\x20history')}),_0x4f6ee3['delegate']('execute')['to'](_0x4f5bee),_0x4f6ee3['on']('execute',()=>{_0x3801d5['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x1e9d82['children']['add'](_0x4f6ee3),_0x11455e['items']['add'](_0x1e9d82),_0x4f5bee['panelView']['children']['add'](_0x11455e),_0x4f5bee;}['_showDialog'](){const _0x393676=this['editor'],_0x5b0522=_0x393676['locale'],_0x45b4c7=_0x393676['plugins']['get']('Dialog'),_0x522080=_0x393676['plugins']['get']('RevisionTracker');function _0x473d82(_0x475e4a){_0x393676['config']['get']('revisionHistory.requireRevisionName')&&''===_0x475e4a['revisionName']?_0x475e4a['revisionNameInputView']['errorText']=y(_0x5b0522,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x393676['plugins']['get'](l)['saveRevision']({'name':_0x475e4a['revisionName']}),_0x45b4c7['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x473d82(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x45b4c7['show']({'id':'revisionSave','title':y(_0x5b0522,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x393676['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x45b4c7['hide']()},{'label':y(_0x393676['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x4c8650){_0x4c8650['bind']('isEnabled')['to'](_0x522080,'isReady',_0x522080,'isEnabled',_0x393676,'isReadOnly',(_0x3c0095,_0x3b038a,_0x127b1a)=>_0x3c0095&&_0x3b038a&&!_0x127b1a);},'onExecute':()=>_0x473d82(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x5c87a2=this['editor'],_0x5621d1=_0x5c87a2['locale'];this['_saveRevisionFormView']=new ns(_0x5621d1,_0x5c87a2['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x589ebd{['changeId'];['_model'];constructor(_0x241205,_0x1c72c1){super(_0x241205),this['_model']=_0x1c72c1,this['changeId']=_0x1c72c1['id'];const _0x235f4a=this['bindTemplate'],_0x62f696=y(_0x241205,_0x1c72c1['data']['isSuggestion']?'Suggested\x20by':'add'==_0x1c72c1['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x1c72c1['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x235f4a['to']('type',_0x8c37cd=>'ck-revision-change__'+_0x8c37cd)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x62f696}]},{'text':'\x20'+_0x1c72c1['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x19a374(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x510372){super(),this['id']=_0x510372['id']||_0x4d587a(),this['author']=_0x510372['author'],this['type']=_0x510372['type'],this['data']=_0x510372['data']||{},this['rootName']=_0x510372['rootName'],this['set']('createdAt',_0x510372['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class f{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x52ff15,_0x50a624){this['newRevisionId']=_0x52ff15,this['oldRevisionId']=_0x50a624,this['changes']=new _0x2fa1af();}['_setChanges'](_0xeb7709){for(const _0x587646 of _0xeb7709)this['changes']['add'](_0x587646);}}const tt={'c':_0x2f2a05,'a':_0xd1bcab,'e':_0x3cff86,'r':_0x731309,'u':_0x3a86bf};class d extends _0xfa4437{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x360443,_0x53e1b3,A];}constructor(_0x5d1e7d){super(_0x5d1e7d),this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['set']('activeChange',null),this['set']('activeView',null),this['_activeViewTarget']=null,this['set']('diff',null),this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['on']('change:isEnabled',(_0x3ad329,_0x47e4d5,_0x57a4af)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x26fdd2=>{for(const _0x5351de of this['editor']['editing']['view']['document']['roots'])_0x57a4af?_0x26fdd2['removeClass']('ck-editor__editable__overlay',_0x5351de):_0x26fdd2['addClass']('ck-editor__editable__overlay',_0x5351de);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x423f06=>null!==_0x423f06),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x49c1eb,_0x43f33b,_0xd4dffc)=>_0x49c1eb&&_0xd4dffc?_0x43f33b['changes']['getIndex'](_0xd4dffc):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x205c3f,_0xdd081f)=>_0x205c3f?_0xdd081f['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x53e1b3);}['init'](){const _0x195c68=this['editor'],_0x9c950d=new yt(_0x195c68,{'direction':'backward'}),_0x3be2ef=new yt(_0x195c68,{'direction':'forward'});(_0x195c68['commands']['add']('showPreviousChange',_0x9c950d),_0x195c68['commands']['add']('showNextChange',_0x3be2ef),_0x195c68['commands']['add']('restoreRevision',new bt(_0x195c68)),this['on']('change:numberOfChanges',()=>{_0x9c950d['refresh'](),_0x3be2ef['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x195c68['enableReadOnlyMode']('revision-viewer'),_0x195c68['plugins']['has']('WidgetToolbarRepository'))&&_0x195c68['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x242083){await this['loadRevisionData'](_0x242083);const _0x1b5ef5={};for(const _0xe0c394 in _0x242083['diffData']){if(_0x242083['diffData'][_0xe0c394]['attachChange']&&!_0x242083['diffData'][_0xe0c394]['attachChange']['isAttached'])continue;const _0x359e58=this['_removeRevisionMarkers'](JSON['parse'](_0x242083['diffData'][_0xe0c394]['insertions'])),_0x4d139c=this['editor']['editing']['view']['document'],_0x261eed=new _0x4e9a9c(_0x4d139c,_0x359e58['map'](_0x41e0ee=>this['_getViewObj'](_0x41e0ee)));this['editor']['data']['processor']['useFillerType']('marked'),_0x1b5ef5[_0xe0c394]=this['editor']['data']['processor']['toData'](_0x261eed),this['editor']['data']['processor']['useFillerType']('default');}return _0x1b5ef5;}async['getRevisionRootsAttributes'](_0xc7874d){await this['loadRevisionData'](_0xc7874d);const _0x1a0449={};for(const _0x3449ec in _0xc7874d['diffData'])_0xc7874d['diffData'][_0x3449ec]['attachChange']&&!_0xc7874d['diffData'][_0x3449ec]['attachChange']['isAttached']||(_0x1a0449[_0x3449ec]=_0xc7874d['diffData'][_0x3449ec]['attributesAfter']||{});return _0x1a0449;}['_removeRevisionMarkers'](_0x3d93ff){return(_0x3d93ff=_0x3d93ff['filter'](_0x28d995=>!_0x28d995['name']||'revision-start'!==_0x28d995['name']&&'revision-end'!==_0x28d995['name']))['forEach'](_0x188be0=>{'string'!=typeof _0x188be0&&(_0x188be0['children']=this['_removeRevisionMarkers'](_0x188be0['children']),_0x188be0['attributes']=_0x188be0['attributes']['filter'](_0x37ba11=>!_0x37ba11[0x0]['startsWith']('data-revision-')));}),_0x3d93ff;}async['compare'](_0x13f54b,_0x5851c0,_0x38680d=!0x1){if(!this['isEnabled'])return;const _0x214a62=this['diff'],_0x36a60c=this['repository'],_0x2e06a1='string'==typeof _0x13f54b?_0x36a60c['getRevision'](_0x13f54b):_0x13f54b,_0x337bd9='string'==typeof _0x5851c0?_0x36a60c['getRevision'](_0x5851c0):_0x5851c0,_0x5a71d2=_0x2e06a1['id'],_0x128b38=_0x337bd9?_0x337bd9['id']:null;if(!_0x38680d&&this['diff']&&this['diff']['newRevisionId']===_0x5a71d2&&this['diff']['oldRevisionId']===_0x128b38)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x5a71d2,_0x128b38);const _0x12586f=this['_getRevisionsRange'](_0x2e06a1,_0x337bd9,!0x0)['map'](_0x280ec5=>this['loadRevisionData'](_0x280ec5));return _0x12586f['push'](new Promise(_0x28d871=>{setTimeout(_0x28d871,0x14);})),Promise['all'](_0x12586f)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x429939=this['_getDiff'](_0x5a71d2,_0x128b38);for(const _0x544ba8 of _0x429939['changes'])this['_changeIdToChange']['set'](_0x544ba8['id'],_0x544ba8);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0xb6ab41=>{for(const _0x5a4f20 of this['editor']['model']['document']['getRootNames']())_0xb6ab41['detachRoot'](_0x5a4f20);for(const _0x37f4b6 of Object['keys'](_0x429939['model'])){const _0x1bf0d5=_0xb6ab41['addRoot'](_0x37f4b6);for(const _0x3214b8 of Object['keys'](_0x429939['attributes'][_0x37f4b6]))_0xb6ab41['setAttribute'](_0x3214b8,_0x429939['attributes'][_0x37f4b6][_0x3214b8],_0x1bf0d5);_0xb6ab41['insert'](_0x429939['model'][_0x37f4b6],_0x1bf0d5,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x429939['changes'])),this['isReady']=!0x0;})['catch'](_0x4303bb=>{console['error'](_0x4303bb),this['_cleanUp'](),_0x214a62&&(this['diff']=_0x214a62),this['isReady']=!0x0;});}['addRevisionData'](_0xa1be04,_0x21cf8a){const _0x44ff3f=this['repository']['createRevision'](_0xa1be04);return _0x44ff3f['on']('_update',(_0x41d59f,_0x443898,_0x25a576)=>_0x21cf8a(_0x443898,_0x25a576,_0x44ff3f)),this['repository']['addRevision'](_0x44ff3f),_0x44ff3f;}['loadRevisionData'](_0x59012e){if(!_0x59012e||_0x59012e['diffData'])return Promise['resolve']();{const _0x3bfe2d=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3bfe2d,'revisionId':_0x59012e['id']})['then'](_0x336a54=>{_0x59012e['_update']({'diffData':_0x336a54['diffData']},!0x0);});}}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0xdba558=>{for(const _0x288d37 of this['editor']['model']['document']['getRootNames']())_0xdba558['detachRoot'](_0x288d37);});}['_sortAndFilterDiffChanges'](_0x456efb){const _0x5da2d6=[],_0xbe71b=new Map();for(const _0x39afc4 of this['editor']['model']['document']['getRootNames']()){const _0xac193c=this['editor']['editing']['view']['getDomRoot'](_0x39afc4);if(!_0xac193c)continue;const _0x511081=_0xac193c['getClientRects']()['item'](0x0);_0x511081&&(_0x5da2d6['push'](_0x39afc4),_0xbe71b['set'](_0x39afc4,_0x511081));}return _0x5da2d6['sort']((_0x5d05b6,_0x36bfaf)=>{const _0x5f3948=_0xbe71b['get'](_0x5d05b6),_0x2d4663=_0xbe71b['get'](_0x36bfaf);return _0x5f3948['y']-_0x2d4663['y']||_0x5f3948['x']-_0x2d4663['x'];}),(_0x456efb=_0x456efb['filter'](_0x5aa5df=>_0x5da2d6['includes'](_0x5aa5df['rootName'])))['sort']((_0x48afb8,_0x4b0a34)=>_0x5da2d6['indexOf'](_0x48afb8['rootName'])-_0x5da2d6['indexOf'](_0x4b0a34['rootName'])),_0x456efb;}['_makeTape'](_0x4cbd86){const _0x227307=Array['from'](_0x4cbd86['markers'])['filter'](([_0x58ea00,_0x5e51cb])=>_0x58ea00['startsWith']('revision:')&&!_0x5e51cb['isCollapsed']),_0x3acdfc=Array['from'](this['editor']['model']['createRangeIn'](_0x4cbd86)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x227307['length'])for(const _0x5e5018 of _0x3acdfc){const [_0x49123a,_0x164758]=_0x227307[0x0],[,_0x1335d1,_0x138fbd]=_0x49123a['split'](':');if(_0x164758['end']['isEqual'](_0x5e5018['nextPosition'])&&_0x227307['shift'](),(_0x5e5018['previousPosition']['isEqual'](_0x164758['start'])||_0x5e5018['previousPosition']['isAfter'](_0x164758['start']))&&('insertion'==_0x1335d1?_0x5e5018['isAdded']={'userId':_0x138fbd}:'deletion'==_0x1335d1&&(_0x5e5018['isRemoved']={'userId':_0x138fbd})),0x0==_0x227307['length'])break;}return _0x3acdfc;}['_refreshStartEndIndex'](_0x23b026){const _0x28af7b=new Map();for(let _0xe18e63=0x0;_0xe18e63<_0x23b026['length'];_0xe18e63++)'text'===_0x23b026[_0xe18e63]['type']?(_0x23b026[_0xe18e63]['item']['startIndex']=_0xe18e63,_0x23b026[_0xe18e63]['item']['endIndex']=_0xe18e63):('elementStart'===_0x23b026[_0xe18e63]['type']?_0x23b026[_0xe18e63]['item']['startIndex']=_0xe18e63:'elementEnd'===_0x23b026[_0xe18e63]['type']&&(_0x23b026[_0xe18e63]['item']['endIndex']=_0xe18e63),_0x28af7b['set'](_0x23b026[_0xe18e63]['id'],_0xe18e63));for(const _0x4c48ce of _0x28af7b['values']())'elementStart'===_0x23b026[_0x4c48ce]['type']?_0x23b026[_0x4c48ce]['item']['endIndex']=_0x28af7b['get'](_0x23b026[_0x4c48ce]['pairId']):'elementEnd'===_0x23b026[_0x4c48ce]['type']&&(_0x23b026[_0x4c48ce]['item']['startIndex']=_0x28af7b['get'](_0x23b026[_0x4c48ce]['pairId']));}['_processTape'](_0x2b4ecc){for(let _0x93126e=0x0;_0x93126e<_0x2b4ecc['length'];_0x93126e++){if('elementStart'===_0x2b4ecc[_0x93126e]['type'])_0x2b4ecc[_0x93126e]['item']['startIndex']=_0x93126e;else{if('elementEnd'===_0x2b4ecc[_0x93126e]['type']){_0x2b4ecc[_0x93126e]['item']['endIndex']=_0x93126e;const _0x393daa=_0x2b4ecc[_0x93126e]['item']['startIndex'];_0x2b4ecc[_0x393daa]['pairId']=_0x2b4ecc[_0x93126e]['id'],_0x2b4ecc[_0x93126e]['pairId']=_0x2b4ecc[_0x393daa]['id'];}else _0x2b4ecc[_0x93126e]['item']['startIndex']=_0x93126e,_0x2b4ecc[_0x93126e]['item']['endIndex']=_0x93126e,_0x2b4ecc[_0x93126e]['pairId']=null;}_0x2b4ecc[_0x93126e]['markersStart']||(_0x2b4ecc[_0x93126e]['markersStart']=[],_0x2b4ecc[_0x93126e]['markersEnd']=[]);}}['_markInsertions'](_0x3c8970,_0x208258){const _0xc0c303=_0x3c8970['filter'](_0x41f81c=>!_0x41f81c['isAdded']);for(let _0x244bb0=0x0;_0x244bb0<_0x208258['length'];_0x244bb0++)_0x208258[_0x244bb0]['isAdded']&&(_0xc0c303[_0x244bb0]['isAdded']=_0x208258[_0x244bb0]['isAdded']);}['_makeModelFromViewString'](_0x56713b){const _0x5d7369=JSON['parse'](_0x56713b),_0x4151e1=this['editor']['editing']['view']['document'],_0x5f46f4=new _0x4e9a9c(_0x4151e1,_0x5d7369['map'](_0xfbacc2=>this['_getViewObj'](_0xfbacc2)));return this['editor']['data']['toModel'](_0x5f46f4);}['_getViewObj'](_0x3bc04c){const _0x499d5e=this['editor']['editing']['view']['document'];if('string'==typeof _0x3bc04c)return new _0x2c9816(_0x499d5e,_0x3bc04c);{const _0x1ccce0=_0x3bc04c['children']['map'](_0x4c5afe=>this['_getViewObj'](_0x4c5afe));return new(tt[_0x3bc04c['type']]||_0x30e238)(_0x499d5e,_0x3bc04c['name'],_0x3bc04c['attributes'],_0x1ccce0);}}['_getDiff'](_0x159942,_0x2f625e=null){const _0x328663=this['repository']['getRevision'](_0x159942),_0x44eec5=_0x2f625e?this['repository']['getRevision'](_0x2f625e):null,_0x1433ea=this['_getRevisionsRange'](_0x328663,_0x44eec5),_0x15e564=_0x1433ea[_0x1433ea['length']-0x1],_0x4d0a14=new Map(),_0x475676={'model':{},'attributes':{},'changes':[]},_0x68f69=new Set(),_0x42c781=new Map();for(let _0x5b1942=_0x1433ea['length']-0x1;_0x5b1942>=0x0;_0x5b1942--){const _0xc74cd2=_0x1433ea[_0x5b1942];for(const _0x420fd2 of Object['keys'](_0xc74cd2['diffData']))if(_0xc74cd2['diffData'][_0x420fd2]['attachChange']){const _0x746425=_0xc74cd2['diffData'][_0x420fd2]['attachChange'];_0x746425['isAttached']?(_0x68f69['add'](_0x420fd2),_0x42c781['has'](_0x420fd2)&&_0x42c781['get'](_0x420fd2)['userId']==_0x746425['userId']?_0x42c781['delete'](_0x420fd2):_0x42c781['set'](_0x420fd2,_0x746425)):_0x42c781['has'](_0x420fd2)?(_0x68f69['delete'](_0x420fd2),_0x42c781['delete'](_0x420fd2)):(_0x68f69['add'](_0x420fd2),_0x42c781['set'](_0x420fd2,_0x746425));}else _0x68f69['add'](_0x420fd2);}for(const _0x55d662 of _0x68f69){const _0x3bae82=_0x42c781['has'](_0x55d662)&&!_0x42c781['get'](_0x55d662)['isAttached'];let _0x35a4a3=_0x3bae82?_0x1433ea['length']-0x1:0x0;const _0x3f2e6a=_0x3bae82?-0x1:0x1;for(;_0x1433ea[_0x35a4a3];){const _0x48d3fd=_0x1433ea[_0x35a4a3];if(_0x48d3fd['diffData'][_0x55d662]){const _0x40c754=_0x3bae82?_0x48d3fd['diffData'][_0x55d662]['attributesBefore']:_0x48d3fd['diffData'][_0x55d662]['attributesAfter'];_0x475676['attributes'][_0x55d662]=_0x40c754?_0x582adc(_0x40c754):{};break;}_0x35a4a3+=_0x3f2e6a;}}for(const _0xfd3185 of _0x1433ea){_0xfd3185['model']={};for(const _0x8856d9 of _0xfd3185['authors'])_0x4d0a14['set'](_0x8856d9['id'],_0x8856d9);for(const _0x30d852 of _0x68f69){const _0x3b58d8=_0xfd3185['diffData'][_0x30d852]?_0xfd3185['diffData'][_0x30d852]['insertions']:'[]',_0xbc8cbf=_0xfd3185['diffData'][_0x30d852]?_0xfd3185['diffData'][_0x30d852]['deletions']:'[]';_0xfd3185['model'][_0x30d852]={'insertions':this['_makeModelFromViewString'](_0x3b58d8),'deletions':this['_makeModelFromViewString'](_0xbc8cbf)};}}for(const _0x502b20 of _0x68f69){let _0x324271=null,_0xbfe9e=0x0;const _0x5c8d7=new Map(Array['from'](_0x328663['model'][_0x502b20]['insertions']['markers'])['filter'](([_0x438fb5])=>!_0x438fb5['startsWith']('revision:')));let _0x156ff4=0x0;for(const _0x28ee6b of _0x1433ea){const _0x2777b1=this['_makeTape'](_0x28ee6b['model'][_0x502b20]['insertions']);_0x28ee6b==_0x328663?(_0x324271=_0x2777b1,_0xbfe9e=_0x324271['length'],_0x324271['forEach'](_0x8a1540=>{_0x8a1540['id']=_0x156ff4++;}),this['_processTape'](_0x324271)):this['_markInsertions'](_0x324271,_0x2777b1);const _0x8c07c7=_0x324271['filter'](_0x4a75ad=>!_0x4a75ad['isAdded'])['map'](_0x2bc252=>_0x2bc252['id']);let _0x5c2a0e=0x0;const _0x228cf2=this['_makeTape'](_0x28ee6b['model'][_0x502b20]['deletions']);_0x228cf2['forEach'](_0x3f0bb4=>{_0x3f0bb4['isRemoved']?_0x3f0bb4['id']=_0xbfe9e++:_0x3f0bb4['id']=_0x8c07c7[_0x5c2a0e++];}),this['_processTape'](_0x228cf2),this['_setDistance'](_0x324271,'isAdded'),this['_setDistance'](_0x228cf2,'isRemoved'),_0x28ee6b==_0x328663&&this['_markMarkers'](_0x324271,_0x5c8d7),_0x324271=this['_joinTapes'](_0x324271,_0x228cf2),this['_refreshStartEndIndex'](_0x324271),this['_setDistance'](_0x324271,'isRemoved');}_0x324271=_0x324271['filter'](_0x3e23f1=>!(_0x3e23f1['isAdded']&&_0x3e23f1['isRemoved']));const _0x10831f=new Map(_0x15e564['model'][_0x502b20]['deletions']['markers']),_0x19f5c0=new Set(_0x5c8d7['keys']());for(const _0x493869 of _0x10831f['keys']())_0x19f5c0['delete'](_0x493869);this['_markSuggestions'](_0x324271,_0x19f5c0),this['_fixObsoleteTags'](_0x324271),_0x324271=this['_removeMissingPairs'](_0x324271),_0x324271=this['_markMismatchedRemovedTags'](_0x324271),_0x324271=this['_removeUnsupportedChanges'](_0x324271);const {root:_0x43a6a8,changes:_0xaae250}=this['_makeModelFromTape'](_0x324271,_0x4d0a14,_0x502b20);_0x475676['model'][_0x502b20]=_0x43a6a8;const _0x3b85cf=_0x42c781['get'](_0x502b20);if(_0x3b85cf){const _0x51bdd5=_0x4d0a14['get'](_0x3b85cf['userId']),_0x144b02=new r({'author':_0x51bdd5,'type':_0x3b85cf['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x502b20});_0xaae250['unshift'](_0x144b02),_0x475676['attributes'][_0x502b20]['revisionHistoryAttachChange']=_0x144b02['id'];}_0x475676['changes']=_0x475676['changes']['concat'](_0xaae250);}return _0x475676;}['_markMarkers'](_0x5696c1,_0x1be364){for(let _0x1ef0d8=0x0;_0x1ef0d8<_0x5696c1['length'];_0x1ef0d8++)for(const [_0x830124,_0x11c2d9]of _0x1be364)_0x11c2d9['start']['isEqual'](_0x5696c1[_0x1ef0d8]['previousPosition'])&&_0x5696c1[_0x1ef0d8]['markersStart']['push'](_0x830124),_0x11c2d9['end']['isEqual'](_0x5696c1[_0x1ef0d8]['nextPosition'])&&_0x5696c1[_0x1ef0d8]['markersEnd']['push'](_0x830124);}['_joinTapes'](_0x3a9419,_0x4404ce){let _0xf07225=[],_0xe8b013=0x0,_0x184a76=0x0;for(;_0xe8b013<_0x3a9419['length']||_0x184a76<_0x4404ce['length'];){const _0x1e20bf=_0x3a9419[_0xe8b013]||{},_0x32188d=_0x4404ce[_0x184a76]||{};if(_0x1e20bf['id']==_0x32188d['id'])_0xe8b013++,_0x184a76++,_0xf07225['push'](_0x1e20bf);else{if(_0x32188d['isRemoved']&&_0x1e20bf['isAdded']){const {commonTape:_0x220b80,iEnd:_0x573a00,jEnd:_0x533bfe}=this['_threeWayMerge'](_0x3a9419,_0xe8b013,_0x4404ce,_0x184a76);_0xf07225=_0xf07225['concat'](_0x220b80),_0xe8b013=_0x573a00,_0x184a76=_0x533bfe;}else _0x32188d['isRemoved']?(_0x184a76++,_0xf07225['push'](_0x32188d)):(_0xe8b013++,_0xf07225['push'](_0x1e20bf));}}return _0xf07225;}['_markSuggestions'](_0x2a6ee,_0x2d4886){const _0x331af5=[];for(let _0x207a50=0x0;_0x207a50<_0x2a6ee['length'];_0x207a50++){for(let _0x3044bc=0x0;_0x3044bc<_0x2a6ee[_0x207a50]['markersStart']['length'];_0x3044bc++){const _0x301c70=_0x2a6ee[_0x207a50]['markersStart'][_0x3044bc];if(!_0x2d4886['has'](_0x301c70))continue;const {group:_0x350755,type:_0xc62176,authorId:_0x3fa42c}=_0x2ec9a9(_0x301c70);'revision-suggestion'!=_0x350755||'insertion'!=_0xc62176&&'deletion'!=_0xc62176||(_0x331af5['unshift']({'type':_0xc62176,'name':_0x301c70,'userId':_0x3fa42c}),_0x2a6ee[_0x207a50]['markersStart']['splice'](_0x3044bc,0x1),_0x3044bc--);}_0x22f4ab(_0x2a6ee[_0x207a50]);for(let _0x581064=0x0;_0x581064<_0x2a6ee[_0x207a50]['markersEnd']['length'];_0x581064++){const _0xeb8ed9=_0x2a6ee[_0x207a50]['markersEnd'][_0x581064];if(!_0x2d4886['has'](_0xeb8ed9))continue;const {group:_0x2bd4c9,type:_0x2846c8}=_0x2ec9a9(_0xeb8ed9);if('revision-suggestion'!=_0x2bd4c9||'insertion'!=_0x2846c8&&'deletion'!=_0x2846c8)continue;_0x2a6ee[_0x207a50]['markersEnd']['splice'](_0x581064,0x1),_0x581064--;const _0x52635a=_0x331af5['findIndex'](_0x48ff29=>_0x48ff29['name']==_0xeb8ed9);_0x52635a>-0x1&&_0x331af5['splice'](_0x52635a,0x1);}}function _0x2ec9a9(_0x1cb3d2){const _0x2a716c=_0x1cb3d2['split'](':');return{'group':_0x2a716c[0x0],'type':_0x2a716c[0x1],'subType':_0x2a716c['length']>=0x5?_0x2a716c[0x2]:null,'id':_0x2a716c['length']<0x5?_0x2a716c[0x2]:_0x2a716c[0x3],'authorId':_0x2a716c['length']<0x5?_0x2a716c[0x3]:_0x2a716c[0x4],'markerCount':0x6==_0x2a716c['length']?_0x2a716c[0x5]:null};}function _0x22f4ab(_0x2db139){for(let _0x2ba2c1=0x0;_0x2ba2c1<_0x331af5['length'];_0x2ba2c1++){if(_0x2db139['isAdded']&&'insertion'==_0x331af5[_0x2ba2c1]['type'])return _0x2db139['isAddSuggestion']=_0x331af5[_0x2ba2c1],void delete _0x2db139['isAdded'];if(!_0x2db139['isAdded']&&!_0x2db139['isRemoved']&&'deletion'==_0x331af5[_0x2ba2c1]['type'])return void(_0x2db139['isRemoveSuggestion']=_0x331af5[_0x2ba2c1]);}}}['_setDistance'](_0x6a4442,_0x418fec){let _0x4acb00=0x0,_0x505171=!0x1;const _0x56587a=new Map();for(const _0x3b1204 of _0x6a4442)_0x3b1204[_0x418fec]?_0x505171&&(_0x4acb00++,_0x505171=!0x1):(_0x4acb00++,_0x505171=!0x0),_0x56587a['set'](_0x3b1204['id'],_0x4acb00);for(let _0x2610ea=0x0;_0x2610ea<_0x6a4442['length'];_0x2610ea++){if('isRemoved'==_0x418fec&&_0x6a4442[_0x2610ea]['isAdded']||'isAdded'==_0x418fec&&_0x6a4442[_0x2610ea]['isRemoved'])continue;if('text'==_0x6a4442[_0x2610ea]['type']){_0x6a4442[_0x2610ea]['distance']=0x0;continue;}const _0x2be4b0=_0x56587a['get'](_0x6a4442[_0x2610ea]['pairId']),_0x359aba=_0x56587a['get'](_0x6a4442[_0x2610ea]['id']);_0x6a4442[_0x2610ea]['distance']=_0x2be4b0-_0x359aba;}}['_getRevisionsRange'](_0x162cb3,_0x715124,_0xf52913=!0x1){const _0x4f19dc=[];let _0x11c69f=this['repository']['getIndex'](_0x162cb3),_0x5a2379=this['repository']['getIndex'](_0x715124);for(-0x1==_0x5a2379&&(_0x5a2379=this['repository']['_revisions']['length'],_0xf52913=!0x1);_0x11c69f<_0x5a2379;)_0x4f19dc['push'](this['repository']['getRevision'](_0x11c69f)),_0x11c69f++;return _0xf52913&&_0x4f19dc['push'](this['repository']['getRevision'](_0x11c69f)),_0x4f19dc;}['_threeWayMerge'](_0x155821,_0x43c3a2,_0x3ca308,_0x19b93f){const _0x423ed0=this['editor']['model']['schema'];let _0x44fce7=_0x43c3a2;for(;_0x155821[_0x44fce7]&&_0x155821[_0x44fce7]['isAdded'];)_0x44fce7++;let _0x1c35ce=_0x19b93f;for(;_0x3ca308[_0x1c35ce]&&_0x3ca308[_0x1c35ce]['isRemoved'];)_0x1c35ce++;_0x121fa3(_0x155821,_0x43c3a2,_0x44fce7),_0x121fa3(_0x3ca308,_0x19b93f,_0x1c35ce);const _0x49ad65=_0x3ca308['slice'](_0x19b93f,_0x1c35ce)['concat'](_0x155821['slice'](_0x43c3a2,_0x44fce7));return _0x49ad65['sort']((_0x286b6c,_0x1043b6)=>_0x286b6c['side']!=_0x1043b6['side']?_0x286b6c['side']-_0x1043b6['side']:_0x286b6c['level']!=_0x1043b6['level']?_0x286b6c['level']-_0x1043b6['level']:_0x286b6c['distance']!=_0x1043b6['distance']?_0x1043b6['distance']-_0x286b6c['distance']:!!_0x286b6c['isAdded']!=!!_0x1043b6['isAdded']?-0x1==_0x286b6c['side']||0x0==_0x286b6c['side']?_0x286b6c['isAdded']?-0x1:0x1:_0x286b6c['isAdded']?0x1:-0x1:_0x286b6c['index']-_0x1043b6['index']),{'commonTape':_0x49ad65,'iEnd':_0x44fce7,'jEnd':_0x1c35ce};function _0x121fa3(_0x17a01d,_0x2678d5,_0x51b91e){let _0x4bec75=-0x1,_0x2861ce=Number['POSITIVE_INFINITY'],_0x1fc739=!0x0;for(let _0x3f786d=_0x2678d5;_0x3f786d<_0x51b91e;_0x3f786d++)if(_0x423ed0['isInline'](_0x17a01d[_0x3f786d]['item'])||(_0x1fc739=!0x1),_0x17a01d[_0x3f786d]['item']['startIndex']<_0x2678d5&&(_0x4bec75=_0x3f786d),_0x17a01d[_0x3f786d]['item']['endIndex']>=_0x51b91e){_0x2861ce=_0x3f786d;break;}_0x1fc739&&(_0x4bec75=_0x51b91e-0x1);for(let _0x4ccb7c=_0x2678d5;_0x4ccb7c<_0x51b91e;_0x4ccb7c++)_0x17a01d[_0x4ccb7c]['side']=_0x4ccb7c<=_0x4bec75?-0x1:_0x4ccb7c<_0x2861ce?0x0:0x1,_0x17a01d[_0x4ccb7c]['index']=_0x4ccb7c;let _0x379e1a=0x0;for(let _0x733ee4=_0x2678d5;_0x733ee4<=_0x4bec75;_0x733ee4++)0x0==_0x17a01d[_0x733ee4]['distance']?_0x17a01d[_0x733ee4]['level']=_0x379e1a:(_0x379e1a++,_0x17a01d[_0x733ee4]['level']=_0x379e1a,_0x379e1a++);for(let _0x191790=_0x2678d5;_0x191790<_0x51b91e;_0x191790++)0x0==_0x17a01d[_0x191790]['side']&&(_0x17a01d[_0x191790]['level']=_0x379e1a);_0x379e1a=0x0;for(let _0x4faf87=_0x51b91e-0x1;_0x4faf87>=_0x2861ce;_0x4faf87--)0x0==_0x17a01d[_0x4faf87]['distance']?_0x17a01d[_0x4faf87]['level']=_0x379e1a:(_0x379e1a--,_0x17a01d[_0x4faf87]['level']=_0x379e1a,_0x379e1a--);}}['_fixObsoleteTags'](_0x94a3ec){const _0x3b25c8=new Map(),_0x4d7634=this['editor']['model']['schema'];for(let _0x519b55=0x1;_0x519b55<_0x94a3ec['length'];_0x519b55++){let _0x57e681,_0x33a90a,_0x5ea6ea;const _0x42486c=_0x94a3ec[_0x519b55],_0x39e5c0=_0x94a3ec[_0x519b55-0x1];if('text'==_0x42486c['type'])continue;if(_0x42486c['type']!=_0x39e5c0['type'])continue;if(!_0x4d7634['isBlock'](_0x39e5c0['item'])||_0x4d7634['isLimit'](_0x39e5c0['item']))continue;if(!_0x4d7634['isBlock'](_0x42486c['item'])||_0x4d7634['isLimit'](_0x42486c['item']))continue;if((_0x94a3ec[_0x519b55]['isAdded']||_0x94a3ec[_0x519b55]['isAddSuggestion'])&&_0x94a3ec[_0x519b55-0x1]['isRemoved'])_0x57e681=_0x94a3ec[_0x519b55],_0x33a90a=_0x94a3ec[_0x519b55-0x1],_0x5ea6ea=_0x519b55-0x1;else{if(!_0x94a3ec[_0x519b55]['isRemoved']||!_0x94a3ec[_0x519b55-0x1]['isAdded']&&!_0x94a3ec[_0x519b55-0x1]['isAddSuggestion'])continue;_0x57e681=_0x94a3ec[_0x519b55-0x1],_0x33a90a=_0x94a3ec[_0x519b55],_0x5ea6ea=_0x519b55;}const _0x3199e6=_0x57e681['level']==_0x33a90a['level'],_0x4e948d=Math['abs'](_0x57e681['level'])<Math['abs'](_0x33a90a['level'])&&0x0==_0x33a90a['distance'];(_0x3199e6||_0x4e948d)&&(_0x3b25c8['set'](_0x33a90a['id'],_0x57e681['id']),_0x94a3ec['splice'](_0x5ea6ea,0x1),_0x519b55--,_0x57e681['isAdded']=!0x1);}for(let _0x4480a8=0x0;_0x4480a8<_0x94a3ec['length'];_0x4480a8++)_0x3b25c8['has'](_0x94a3ec[_0x4480a8]['pairId'])&&(_0x94a3ec[_0x4480a8]['pairId']=_0x3b25c8['get'](_0x94a3ec[_0x4480a8]['pairId']));}['_removeMissingPairs'](_0x17ce03){const _0x4217f8=new Set(_0x17ce03['map'](_0x4d4613=>_0x4d4613['id']));for(let _0x389f62=0x0;_0x389f62<_0x17ce03['length'];_0x389f62++)_0x4217f8['has'](_0x17ce03[_0x389f62]['pairId'])||0x0==_0x17ce03[_0x389f62]['distance']||(_0x17ce03[_0x389f62]['isIncorrect']=!0x0);return _0x17ce03['filter'](_0x1e1e91=>!_0x1e1e91['isIncorrect']);}['_markMismatchedRemovedTags'](_0x309c01){const _0x5e7150=new Set();for(let _0x5346e1=0x0;_0x5346e1<_0x309c01['length'];_0x5346e1++){if(_0x5e7150['has'](_0x309c01[_0x5346e1]['id'])&&_0x309c01[_0x5346e1]['isRemoved']&&(_0x309c01[_0x5346e1]['isIncorrect']=!0x0),_0x309c01[_0x5346e1]['isIncorrect'])continue;if(0x0==_0x309c01[_0x5346e1]['distance'])continue;if('elementStart'!=_0x309c01[_0x5346e1]['type'])continue;if(null==_0x309c01[_0x5346e1]['pairId'])continue;let _0x1e6331=_0x5346e1+0x1,_0x1de46d=0x0;for(;_0x309c01[_0x1e6331]['id']!=_0x309c01[_0x5346e1]['pairId'];)'elementStart'==_0x309c01[_0x1e6331]['type']?_0x1de46d++:'elementEnd'==_0x309c01[_0x1e6331]['type']&&_0x1de46d--,_0x1e6331++;if(0x0!=_0x1de46d){if(_0x309c01[_0x5346e1]['isRemoved'])_0x309c01[_0x5346e1]['isIncorrect']=!0x0;else{for(;_0x1e6331!=_0x5346e1;)_0x309c01[_0x1e6331]['isRemoved']&&0x0!=_0x309c01[_0x1e6331]['distance']&&(_0x309c01[_0x1e6331]['isIncorrect']=!0x0,_0x5e7150['add'](_0x309c01[_0x1e6331]['pairId'])),_0x1e6331--;}}}return _0x309c01['filter'](_0x4a2f0f=>!_0x4a2f0f['isIncorrect']);}['_removeUnsupportedChanges'](_0x532a6d){const _0x51be93=this['editor']['model']['schema'];for(let _0x4bf9f5=0x0;_0x4bf9f5<_0x532a6d['length'];_0x4bf9f5++){if(!(_0x532a6d[_0x4bf9f5]['isAdded']||_0x532a6d[_0x4bf9f5]['isAddSuggestion']||_0x532a6d[_0x4bf9f5]['isRemoved']||_0x532a6d[_0x4bf9f5]['isRemoveSuggestion']))continue;if(0x0==_0x532a6d[_0x4bf9f5]['distance'])continue;const _0x194157=_0x532a6d[_0x4bf9f5]['item'];_0x51be93['isBlock'](_0x194157)||_0x51be93['isLimit'](_0x194157)||(_0x532a6d[_0x4bf9f5]['isAdded']&&delete _0x532a6d[_0x4bf9f5]['isAdded'],_0x532a6d[_0x4bf9f5]['isAddSuggestion']&&delete _0x532a6d[_0x4bf9f5]['isAddSuggestion'],_0x532a6d[_0x4bf9f5]['isRemoveSuggestion']&&delete _0x532a6d[_0x4bf9f5]['isRemoveSuggestion'],_0x532a6d[_0x4bf9f5]['isRemoved']&&(_0x532a6d[_0x4bf9f5]['isIncorrect']=!0x0));}return _0x532a6d['filter'](_0x1e190e=>!_0x1e190e['isIncorrect']);}['_makeModelFromTape'](_0x54f6e4,_0x371592,_0x1044e8){const _0x6054ef=new wt(),_0x1bd449=[],_0x41de0d=new Map(),_0x4c14e5=this['editor']['model'],_0x5b0a5e=_0x4c14e5['schema'],_0x169208=[_0x6054ef],_0x1304a8={},_0x1c6dd7={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3c13a4=null;const _0x391e63=[0x0];for(let _0x2d78d0=0x0;_0x2d78d0<_0x54f6e4['length'];_0x2d78d0++){let _0x4493af,_0x45ba93;if('elementStart'===_0x54f6e4[_0x2d78d0]['type']){_0x4493af=_0x4c14e5['createPositionFromPath'](_0x6054ef,_0x391e63);const _0x16b5a7=new ft(_0x54f6e4[_0x2d78d0]['item']['name'],_0x54f6e4[_0x2d78d0]['item']['getAttributes']());_0x169208[0x0]['_appendChild'](_0x16b5a7),_0x391e63['push'](0x0),_0x169208['unshift'](_0x16b5a7),_0x45ba93=_0x4c14e5['createPositionFromPath'](_0x6054ef,_0x391e63),_0x3c13a4=null;}else{if('elementEnd'===_0x54f6e4[_0x2d78d0]['type'])_0x169208['shift'](),_0x4493af=_0x4c14e5['createPositionFromPath'](_0x6054ef,_0x391e63),_0x391e63['pop'](),_0x391e63[_0x391e63['length']-0x1]++,_0x45ba93=_0x4c14e5['createPositionFromPath'](_0x6054ef,_0x391e63),_0x3c13a4=null;else{if(_0x4493af=_0x4c14e5['createPositionFromPath'](_0x6054ef,_0x391e63),_0x3c13a4&&_0x4e0f19(_0x3c13a4,_0x54f6e4[_0x2d78d0]['item']))_0x3c13a4['_data']+=_0x54f6e4[_0x2d78d0]['item']['data'];else{const _0x4c8b6b=new _t(_0x54f6e4[_0x2d78d0]['item']['data'],_0x54f6e4[_0x2d78d0]['item']['getAttributes']());_0x169208[0x0]['_appendChild'](_0x4c8b6b),_0x3c13a4=_0x4c8b6b;}_0x391e63[_0x391e63['length']-0x1]+=_0x54f6e4[_0x2d78d0]['item']['offsetSize'],_0x45ba93=_0x4c14e5['createPositionFromPath'](_0x6054ef,_0x391e63);}}for(const _0x2e6663 of _0x54f6e4[_0x2d78d0]['markersStart'])_0x41de0d['set'](_0x2e6663,{'start':_0x4493af,'end':null});_0x2291f4('isRemoveSuggestion',_0x2d78d0,_0x4493af,_0x45ba93),_0x2291f4('isAddSuggestion',_0x2d78d0,_0x4493af,_0x45ba93),_0x2291f4('isRemoved',_0x2d78d0,_0x4493af,_0x45ba93),_0x2291f4('isAdded',_0x2d78d0,_0x4493af,_0x45ba93);for(const _0x28e09b of _0x54f6e4[_0x2d78d0]['markersEnd']){_0x41de0d['get'](_0x28e09b)['end']=_0x45ba93;}}for(const [_0x1928ef,_0x14b10b]of _0x41de0d){const _0x246a6b=this['editor']['model']['createRange'](_0x14b10b['start'],_0x14b10b['end']);_0x6054ef['markers']['set'](_0x1928ef,_0x246a6b);}return _0x1bd449['sort']((_0x58ec51,_0x37b54f)=>{const _0x51dc65=_0x6054ef['markers']['get']('revision:'+_0x58ec51['id']),_0x22da2d=_0x6054ef['markers']['get']('revision:'+_0x37b54f['id']);return _0x51dc65['start']['isBefore'](_0x22da2d['start'])?-0x1:_0x51dc65['start']['isAfter'](_0x22da2d['start'])?0x1:_0x51dc65['end']['isBefore'](_0x22da2d['end'])?-0x1:_0x51dc65['end']['isAfter'](_0x22da2d['end'])?0x1:'add'===_0x58ec51['type']?-0x1:0x1;}),{'root':_0x6054ef,'changes':_0x1bd449};function _0x2291f4(_0x3a78da,_0x5bf7af,_0xe2cd38,_0x4d603a){const _0x1679bb=!!_0x54f6e4[_0x5bf7af][_0x3a78da],_0x257ccd=_0x1679bb?_0x54f6e4[_0x5bf7af][_0x3a78da]['userId']:null,_0x1c93f9=_0x5bf7af===_0x54f6e4['length']-0x1,_0x54d2dd=_0x1c6dd7[_0x3a78da][0x0],_0xed3b7=_0x5b0a5e['isObject'](_0x54f6e4[_0x5bf7af]['item']);!_0x1304a8[_0x3a78da]&&_0x1679bb?_0x1304a8[_0x3a78da]={'start':_0xe2cd38,'tapeItem':_0x54f6e4[_0x5bf7af],'userId':_0x257ccd,'type':_0x3a78da}:_0x1304a8[_0x3a78da]&&!_0x1679bb?(_0x1304a8[_0x3a78da]['end']=_0xe2cd38,_0x56f7d8(_0x1304a8[_0x3a78da]),_0x1304a8[_0x3a78da]=null):_0x1304a8[_0x3a78da]&&_0x1679bb&&_0x1304a8[_0x3a78da]['userId']!==_0x257ccd&&(_0x1304a8[_0x3a78da]['end']=_0xe2cd38,_0x54d2dd&&_0x54d2dd['userId']===_0x1304a8[_0x3a78da]['userId']||_0x56f7d8(_0x1304a8[_0x3a78da]),_0x1304a8[_0x3a78da]={'start':_0xe2cd38,'tapeItem':_0x54f6e4[_0x5bf7af],'userId':_0x257ccd,'type':_0x3a78da}),_0x1304a8[_0x3a78da]&&_0xed3b7&&('elementStart'!==_0x54f6e4[_0x5bf7af]['type']||_0x54d2dd&&_0x54d2dd['userId']===_0x257ccd||_0x1c6dd7[_0x3a78da]['unshift']({'userId':_0x257ccd,'object':_0x54f6e4[_0x5bf7af]['item'],'change':_0x1304a8[_0x3a78da]}),'elementEnd'===_0x54f6e4[_0x5bf7af]['type']&&_0x54d2dd&&_0x54d2dd['object']===_0x54f6e4[_0x5bf7af]['item']&&(_0x1c6dd7[_0x3a78da]['shift'](),_0x1304a8[_0x3a78da]=_0x54d2dd['change'])),_0x1304a8[_0x3a78da]&&_0x1c93f9&&(_0x1304a8[_0x3a78da]['end']=_0x4d603a,_0x56f7d8(_0x1304a8[_0x3a78da]),_0x1304a8[_0x3a78da]=null);}function _0x56f7d8({start:_0x5b9431,end:_0x1bd396,tapeItem:_0x6ed5f3,userId:_0x376c06,type:_0x4db372}){const _0x23318b=_0x6ed5f3['item'],_0x3f4241=_0x4c14e5['schema']['isBlock'](_0x23318b)&&!_0x4c14e5['schema']['isLimit'](_0x23318b),_0x35fca3=_0x5b9431['nodeAfter']==_0x1bd396['parent']&&_0x1bd396['isAtStart'];if(_0x3f4241&&_0x35fca3)return;const _0x28f499=_0x4c14e5['createRange'](_0x5b9431,_0x1bd396),_0x1e8249=_0x371592['get'](_0x376c06),_0x3d4b6f=new r({'author':_0x1e8249,'type':'isAdded'==_0x4db372||'isAddSuggestion'==_0x4db372?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x4db372||'isRemoveSuggestion'==_0x4db372},'createdAt':new Date(),'rootName':_0x1044e8});_0x1bd449['push'](_0x3d4b6f),_0x6054ef['markers']['set']('revision:'+_0x3d4b6f['id'],_0x28f499);}function _0x4e0f19(_0x148938,_0x1bfee2){const _0x209620=_0x148938['getAttributes'](),_0x35f66c=_0x1bfee2['getAttributes']();for(const _0x163c71 of _0x209620){if(_0x163c71[0x1]!==_0x1bfee2['getAttribute'](_0x163c71[0x0]))return!0x1;_0x35f66c['next']();}return _0x35f66c['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0xe6b6c3=>{const _0x4831d5=_0xe6b6c3['markerName']['split'](':')[0x1],_0x5019db=this['_getChangeFromId'](_0x4831d5);if(!_0x5019db)return null;const _0x2805dd='add'==_0x5019db['type']?'insertion':'deletion',_0x561207=['ck-suggestion-marker','ck-suggestion-marker-'+_0x2805dd];return _0x5019db['data']['isSuggestion']&&_0x561207['push']('ck-suggestion-marker-'+_0x2805dd+'-new'),this['activeChange']==_0x5019db&&_0x561207['push']('ck-suggestion-marker--active'),{'classes':_0x561207,'attributes':{'data-change-id':_0x4831d5}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x5ef8db=>{_0x5ef8db['on']('element:pre',(_0x4809d3,_0xf46a4a,_0x1bcad5)=>{const _0x101e04=_0xf46a4a['viewItem']['getChild'](0x0);if(!_0x101e04||!_0x101e04['is']('element','code'))return;if(!_0x1bcad5['consumable']['consume'](_0x101e04,{'attributes':['vid_start','vid_end']}))return;const _0x29aa52=_0xf46a4a['modelRange']['start']['nodeAfter'];_0x1bcad5['writer']['setAttribute']('vid_start',_0x101e04['getAttribute']('vid_start'),_0x29aa52),_0x1bcad5['writer']['setAttribute']('vid_end',_0x101e04['getAttribute']('vid_end'),_0x29aa52);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x3e5add=>{_0x3e5add['on']('element',(_0xca3fed,_0x23bcc1,_0xf33542)=>{if(!_0xf33542['consumable']['consume'](_0x23bcc1['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x23bcc1['modelRange']['isCollapsed'])return;const _0x2ca5d2=_0x23bcc1['modelRange']['start']['nodeAfter'];_0x2ca5d2['hasAttribute']('vid_start')||_0x2ca5d2['hasAttribute']('vid')||(_0xf33542['writer']['setAttribute']('vid_start',_0x23bcc1['viewItem']['getAttribute']('vid_start'),_0x2ca5d2),_0xf33542['writer']['setAttribute']('vid_end',_0x23bcc1['viewItem']['getAttribute']('vid_end'),_0x2ca5d2));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x196548=>_0x196548['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x4a800e,[,_0x305069])=>{['vid_start','vid_end','vid']['includes'](_0x305069)&&(_0x4a800e['return']=!0x0,_0x4a800e['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x41c359=>{_0x41c359['on']('attribute:vid',(_0x4b0423,_0x5589b4,_0x35a2fa)=>{if('\x20'!=_0x5589b4['item']['data']||_0x5589b4['item']['parent']['maxOffset']>0x1)return;if(!_0x35a2fa['consumable']['consume'](_0x5589b4['item'],_0x4b0423['name']))return;const _0x4abbb7=_0x35a2fa['writer'],_0x52a1b5=_0x35a2fa['mapper']['toViewRange'](_0x5589b4['range']);_0x4abbb7['wrap'](_0x52a1b5,_0x4abbb7['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x23070e){const _0x44d82f=_0x23070e['plugins']['get']('RevisionViewer');return(_0x529fcc,_0x4aa408,_0xd7b66d)=>{const _0x1e35bd=_0x4aa408['markerName']['split'](':')[0x1],_0x48ea8f=_0x44d82f['_getChangeFromId'](_0x1e35bd);if(!_0x48ea8f)return null;const _0x188398='add'==_0x48ea8f['type']?'split':'merge';if(!_0xd7b66d['consumable']['test'](_0x4aa408['markerRange'],_0x529fcc['name']))return;const _0x21472c=_0x4aa408['markerRange']['getWalker'](),_0x34e397=_0x4aa408['markerRange']['start'],_0x3f8f11=_0x23070e['model']['schema'];let _0x19562a=null,_0x2fca68=null,_0x289ff0=!0x1,_0x29dc15=!0x1;for(const _0x51a827 of _0x21472c){const _0x21def5=_0x51a827['item'];_0x289ff0=_0x289ff0||_0x3f8f11['isContent'](_0x21def5);const _0xbef71=_0xd7b66d['mapper']['toViewElement'](_0x21def5);if(_0xbef71&&_0xbef71['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x51a827['type']&&(_0x3f8f11['isBlock'](_0x21def5)&&!_0x3f8f11['isLimit'](_0x21def5)&&(_0x21def5['nextSibling']||_0x34e397['isAtEnd']?_0x19562a&&_0x19562a['parent']==_0x21def5||(_0x19562a=_0x21def5,_0x4a40ea(_0x51a827['previousPosition']),_0x29dc15=!0x0):_0x2fca68=_0x2fca68||_0x51a827['previousPosition']));}function _0x4a40ea(_0x433e4f){const _0x141060=_0xd7b66d['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x188398}),_0x1acfa8=_0xd7b66d['mapper']['toViewPosition'](_0x433e4f);_0x48ea8f['data']['isSuggestion']&&_0xd7b66d['writer']['addClass']('ck-suggestion-marker-'+_0x188398+'-new',_0x141060),_0x44d82f['activeChange']==_0x48ea8f&&_0xd7b66d['writer']['addClass']('ck-suggestion-marker--active',_0x141060),_0xd7b66d['writer']['insert'](_0x1acfa8,_0x141060),_0xd7b66d['mapper']['bindElementToMarker'](_0x141060,_0x4aa408['markerName']);}_0x289ff0||_0x29dc15||!_0x2fca68||_0x4a40ea(_0x2fca68);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x5f200b,_0x55933d,_0x59578c)=>{const _0x2b9456=_0x59578c['mapper']['markerNameToElements'](_0x55933d['markerName']);if(_0x2b9456){for(const _0x338507 of _0x2b9456)(_0x338507['hasClass']('ck-suggestion-marker-split')||_0x338507['hasClass']('ck-suggestion-marker-merge'))&&(_0x59578c['mapper']['unbindElementFromMarkerName'](_0x338507,_0x55933d['markerName']),_0x59578c['writer']['remove'](_0x338507));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x209b25,_0x116ef5,_0x2db6f1)=>{const _0x7a1376=_0x116ef5['markerName']['split'](':')[0x1],_0x5ad1aa=this['_getChangeFromId'](_0x7a1376);if(!_0x5ad1aa)return null;const _0x1817b0='add'==_0x5ad1aa['type']?'split':'merge';if(_0x2db6f1['consumable']['test'](_0x116ef5['markerRange'],_0x209b25['name']))for(const _0x97e441 of _0x116ef5['markerRange']['getItems']()){if(!_0x97e441['is']('element','softBreak'))continue;const _0x412788=_0x2db6f1['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1817b0}),_0x43a1e1=_0x2db6f1['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x97e441));_0x5ad1aa['data']['isSuggestion']&&_0x2db6f1['writer']['addClass']('ck-suggestion-marker-'+_0x1817b0+'-new',_0x412788),this['activeChange']==_0x5ad1aa&&_0x2db6f1['writer']['addClass']('ck-suggestion-marker--active',_0x412788),_0x2db6f1['writer']['insert'](_0x43a1e1,_0x412788),_0x2db6f1['mapper']['bindElementToMarker'](_0x412788,_0x116ef5['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0xd764e7=>{for(const _0x3811bb of this['editor']['model']['document']['getRootNames']()){const _0x26e569=this['editor']['model']['document']['getRoot'](_0x3811bb),_0x3014d3=this['editor']['editing']['view']['document']['getRoot'](_0x3811bb);if(_0x3014d3){const _0x175ad4=_0x26e569['getAttribute']('revisionHistoryAttachChange');if(_0xd764e7['removeAttribute']('data-change-id',_0x3014d3),_0xd764e7['removeClass']('ck-revision-history-root-add',_0x3014d3),_0xd764e7['removeClass']('ck-revision-history-root-remove',_0x3014d3),_0xd764e7['removeClass']('ck-revision-history-root--active',_0x3014d3),_0x175ad4){const _0x5f0c3d=this['_getChangeFromId'](_0x175ad4);if(!_0x5f0c3d)return null;_0xd764e7['setAttribute']('data-change-id',_0x175ad4,_0x3014d3),_0xd764e7['addClass']('ck-revision-history-root-'+_0x5f0c3d['type'],_0x3014d3),this['activeChange']==_0x5f0c3d&&_0xd764e7['addClass']('ck-revision-history-root--active',_0x3014d3);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x585315=>'revision-comment:'+_0x585315,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x2a18a3=>'revision-suggestion:'+_0x2a18a3,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x1e91ba=>({'name':'suggestion:'+_0x1e91ba,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x5cd3d4=>{const _0x593afe=_0x5cd3d4['markerName']['split'](':')[0x1];return'insertion'!=_0x593afe&&'deletion'!=_0x593afe?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x593afe]};}}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:deletion',et(this['editor'],'merge'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',et(this['editor'],'split'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision-suggestion',(_0x3ddac0,_0x17741b,_0x48a162)=>{const _0x4e522d=_0x48a162['mapper']['markerNameToElements'](_0x17741b['markerName']);if(_0x4e522d){for(const _0x56733d of _0x4e522d)_0x56733d['is']('uiElement')&&(_0x48a162['mapper']['unbindElementFromMarkerName'](_0x56733d,_0x17741b['markerName']),_0x48a162['writer']['remove'](_0x56733d));}},{'priority':'high'});}['_getChangeFromId'](_0xc85dd){return this['_changeIdToChange']['get'](_0xc85dd);}['_getViewForChange'](_0xbc2199){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0xbc2199),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x2b737a,_0x34d527,_0x52e342,_0x2cb2d6)=>{_0x2cb2d6&&this['_balloon']['remove'](_0x2cb2d6),_0x52e342&&(this['_balloon']['add']({'view':_0x52e342,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x5ab7ec=this['editor']['editing'],_0x344092=this['_getChangeFromId'](_0x52e342['changeId']);let _0x4fab0a;if(_0x344092['data']['isOnRoot']){const _0x52cf4b=_0x5ab7ec['view']['getDomRoot'](_0x344092['rootName']);_0x4fab0a=Array['from'](_0x52cf4b['getClientRects']());}else{const _0x186ebc=this['editor']['model']['markers']['get']('revision:'+_0x52e342['changeId']);_0x4fab0a=Array['from'](_0x5ab7ec['mapper']['markerNameToElements'](_0x186ebc['name']))['map'](_0x1ae791=>_0x5ab7ec['view']['domConverter']['mapViewToDom'](_0x1ae791))['map'](_0x1d6c6d=>Array['from'](_0x1d6c6d['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x4fab0a[0x0];return _0x4fab0a['find'](_0x144006=>_0x144006['top']-0x3<=this['_activeViewTarget']['y']&&_0x144006['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x144006['left']-0x3<=this['_activeViewTarget']['x']&&_0x144006['right']+0x3>=this['_activeViewTarget']['x'])||_0x4fab0a[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x3ba3d8,_0x140cbe,_0x34fd65,_0x32fbed)=>{this['activeView']=_0x34fd65?this['_getViewForChange'](_0x34fd65):null,this['editor']['model']['change'](()=>{const _0x3f3101=this['editor']['editing'];_0x32fbed&&(_0x32fbed['data']['isOnRoot']?_0x3f3101['view']['change'](_0x16a905=>{_0x16a905['removeClass']('ck-revision-history-root--active',_0x3f3101['view']['document']['getRoot'](_0x32fbed['rootName']));}):_0x3f3101['reconvertMarker']('revision:'+_0x32fbed['id'])),_0x34fd65&&(_0x34fd65['data']['isOnRoot']?_0x3f3101['view']['change'](_0x5d28d5=>{_0x5d28d5['addClass']('ck-revision-history-root--active',_0x3f3101['view']['document']['getRoot'](_0x34fd65['rootName']));}):_0x3f3101['reconvertMarker']('revision:'+_0x34fd65['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x531302,_0x553e53)=>{if(this['activeChange'])return;const _0x45d5c6=this['_findChangeIdFromDomTarget'](_0x553e53['target']),_0x2ef3c0=this['_changeIdToChange']['get'](_0x45d5c6);_0x2ef3c0?(this['_activeViewTarget']={'x':_0x553e53['domEvent']['x'],'y':_0x553e53['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x2ef3c0)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x10e350,_0x18f500)=>{const _0xce61cd=this['_findChangeIdFromDomTarget'](_0x18f500['target']),_0x15c7de=this['_changeIdToChange']['get'](_0xce61cd);_0x15c7de?(this['_activeViewTarget']={'x':_0x18f500['domEvent']['x'],'y':_0x18f500['domEvent']['y']},_0x15c7de===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x15c7de):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x1ccc62){do{const _0x5e8ecc=_0x1ccc62['getAttribute']('data-change-id');if(_0x5e8ecc)return _0x5e8ecc;_0x1ccc62=_0x1ccc62['parent'];}while(_0x1ccc62);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x1cfdd9=>{for(const _0x106c1e of this['editor']['model']['markers'])_0x1cfdd9['removeMarker'](_0x106c1e);});}}function et(_0x4a08c5,_0xad09da){return(_0x1f5e30,_0x16b75e,_0x3b8aed)=>{if(!_0x3b8aed['consumable']['test'](_0x16b75e['markerRange'],_0x1f5e30['name']))return;const _0x25867a=_0x16b75e['markerRange']['getWalker'](),_0x1d482e=_0x16b75e['markerRange']['start'],_0x17e213=_0x4a08c5['model']['schema'];let _0x3bc684=null,_0xda970=null,_0x4d64c1=!0x1,_0x129b7f=!0x1;for(const _0x499921 of _0x25867a){const _0x46c29e=_0x499921['item'];_0x4d64c1=_0x4d64c1||_0x17e213['isContent'](_0x46c29e);const _0x5cd632=_0x3b8aed['mapper']['toViewElement'](_0x46c29e);if(_0x5cd632&&_0x5cd632['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x499921['type']&&(_0x17e213['isBlock'](_0x46c29e)&&!_0x17e213['isLimit'](_0x46c29e)&&(_0x46c29e['nextSibling']||_0x1d482e['isAtEnd']?_0x3bc684&&_0x3bc684['parent']==_0x46c29e||(_0x3bc684=_0x46c29e,_0x4aae64(_0x499921['previousPosition']),_0x129b7f=!0x0):_0xda970=_0xda970||_0x499921['previousPosition']));}function _0x4aae64(_0x3606dc){const _0xa9b675=_0x3b8aed['mapper']['toViewPosition'](_0x3606dc),_0x18a3f1=_0x3b8aed['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0xad09da});_0x3b8aed['writer']['insert'](_0xa9b675,_0x18a3f1),_0x3b8aed['mapper']['bindElementToMarker'](_0x18a3f1,_0x16b75e['markerName']);}_0x4d64c1||_0x129b7f||!_0xda970||_0x4aae64(_0xda970);};}class bt extends _0x55c61c{constructor(_0x314455){super(_0x314455);const _0x35adca=_0x314455['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x35adca,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x35adca,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x5abdec=this['editor'],_0x5e3ac5=_0x5abdec['plugins']['get'](d),_0x4a4992=_0x5e3ac5['isReady']?_0x5e3ac5['diff']['newRevisionId']:null;_0x5abdec['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x4a4992);}['refresh'](){const {isReady:_0x17e15a,isEnabled:_0x4a7e8e}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x17e15a&&_0x4a7e8e;}}class yt extends _0x55c61c{['_step'];constructor(_0x496d2f,{direction:_0x11a30c}){super(_0x496d2f);const _0x3be77e=_0x496d2f['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x11a30c?0x1:-0x1,this['listenTo'](_0x3be77e,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x3be77e,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x3be77e,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x4c8dcb=this['editor'],_0x401073=_0x4c8dcb['plugins']['get'](d),{isNavigationMode:_0x21143b,currentChangeNumber:_0x354a02}=_0x401073;let _0x364c04;if(_0x401073['activeChange']=_0x21143b?_0x401073['diff']['changes']['get'](_0x354a02+this['_step']):_0x401073['diff']['changes']['first'],_0x401073['activeChange']['data']['isOnRoot'])_0x364c04=_0x4c8dcb['editing']['view']['getDomRoot'](_0x401073['activeChange']['rootName']);else{const _0xd1b6df=_0x4c8dcb['model']['markers']['get']('revision:'+_0x401073['activeChange']['id']);_0x364c04=_0x43cc40(_0x4c8dcb['editing'],_0xd1b6df);}_0x1c98ac({'target':_0x364c04,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x4314b9,currentChangeNumber:_0x40d4b2,numberOfChanges:_0x22f818,isReady:_0x13097f,isEnabled:_0x1d0062}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x1d0062&&_0x13097f&&_0x22f818)&&(!_0x4314b9||(0x1===this['_step']?_0x40d4b2<_0x22f818-0x1:_0x40d4b2>0x0));}}class _i extends _0x589ebd{constructor(_0x21cda){super(_0x21cda);const _0x1a7f40=this['bindTemplate'],_0x385ddc=new _0x1c1921(_0x21cda),_0x1ed5b7=new _0x1c1921(_0x21cda);this['set']('isNavigationMode',!0x1),this['set']('isReady',!0x1),this['set']('currentChangeNumber',0x0),this['set']('numberOfChanges',0x0),this['set']('isForwardNavigationEnabled',!0x1),this['set']('isBackwardNavigationEnabled',!0x1),this['bind']('_isStatusLabelVisible')['to'](this,'isReady',this,'numberOfChanges',(_0x337a6b,_0x131b7a)=>_0x337a6b&&_0x131b7a>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x43d7bb,_0x390291,_0x465dbd,_0x3441d3)=>{if(!_0x43d7bb)return y(_0x21cda,'Loading...');if(!_0x465dbd)return y(_0x21cda,'No\x20changes');const _0x4d912e=y(_0x21cda,'NUMBER_OF_CHANGES',_0x465dbd);return _0x3441d3?y(_0x21cda,'X_OF_Y_CHANGES',[_0x390291+0x1,_0x465dbd]):_0x4d912e;}),_0x385ddc['set']({'label':y(_0x21cda,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M16.435\x2014.494a.75.75\x200\x200\x200\x201.197-.899l-.067-.089-6.992-8a.75.75\x200\x200\x200-1.05-.078l-.079.078-7.008\x208a.75.75\x200\x200\x200\x201.049\x201.066l.08-.078\x206.442-7.354\x206.428\x207.354z\x22/></svg>\x0a'}),_0x1ed5b7['set']({'label':y(_0x21cda,'Show\x20next\x20change'),'tooltip':!0x0,'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M16.435\x205.506a.75.75\x200\x200\x201\x201.197.899l-.067.089-6.992\x208a.75.75\x200\x200\x201-1.05.078l-.079-.078-7.008-8a.75.75\x200\x200\x201\x201.049-1.066l.08.078\x206.442\x207.354\x206.428-7.354z\x22/></svg>\x0a'}),_0x385ddc['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x1ed5b7['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x385ddc['on']('execute',()=>this['fire']('execute','backward')),_0x1ed5b7['on']('execute',()=>this['fire']('execute','forward')),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-ui','ck-revision-history-ui__changes-navigation']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__wrapper']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__label',_0x1a7f40['if']('_isStatusLabelVisible','ck-hidden',_0xe72c49=>!_0xe72c49)]},'children':[{'text':_0x1a7f40['to']('isNavigationMode',_0x5b3b83=>_0x5b3b83?y(_0x21cda,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x21cda,'Total')+':\x20')}]},{'text':_0x1a7f40['to']('_statusText')}]},new _0x250cdc(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x385ddc,_0x1ed5b7]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0xfa4437{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0xae53c1=this['editor']['editing']['view'];_0xae53c1['change'](_0x517782=>{for(const _0x5a628b of _0xae53c1['document']['roots'])_0x517782['addClass'](ce,_0x5a628b);});}['hide'](){const _0x551f60=this['editor']['editing']['view'];_0x551f60['change'](_0x49afd3=>{for(const _0x4762cc of _0x551f60['document']['roots'])_0x49afd3['removeClass'](ce,_0x4762cc);});}}class R extends _0xfa4437{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x4ee2ff=this['editor'],_0x1eb811=_0x4ee2ff['plugins']['get'](d),_0x4311a1=_0x4ee2ff['plugins']['get'](de);_0x4ee2ff['ui']['componentFactory']['add']('exitToEditing',_0x46b393=>{const _0x2783fc=new _0x1c1921(_0x46b393);return _0x2783fc['set']({'label':y(_0x46b393,'Back\x20to\x20editing'),'icon':_0x11c8c0['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x2783fc,'execute',()=>{_0x4ee2ff['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x2783fc;}),_0x4ee2ff['ui']['componentFactory']['add']('restoreRevision',_0x30e097=>{const _0x5813e7=new _0x1c1921(_0x30e097);return _0x5813e7['set']({'label':y(_0x30e097,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x5813e7['bind']('isEnabled')['to'](_0x4ee2ff['commands']['get']('restoreRevision')),this['listenTo'](_0x5813e7,'execute',()=>_0x4ee2ff['execute']('restoreRevision')),_0x5813e7;}),_0x4ee2ff['ui']['componentFactory']['add']('changesNavigation',_0x43c763=>{const _0x5880cf=new _i(_0x43c763),_0x4f510b=_0x4ee2ff['commands']['get']('showPreviousChange'),_0x4e058c=_0x4ee2ff['commands']['get']('showNextChange');return _0x5880cf['bind']('isBackwardNavigationEnabled')['to'](_0x4f510b,'isEnabled'),_0x5880cf['bind']('isForwardNavigationEnabled')['to'](_0x4e058c,'isEnabled'),_0x5880cf['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x1eb811),this['listenTo'](_0x5880cf,'execute',(_0x2632bb,_0x25326f)=>{_0x4ee2ff['execute']('forward'===_0x25326f?'showNextChange':'showPreviousChange');}),_0x5880cf;}),_0x4311a1['show'](),_0x1eb811['on']('change:isReady',(_0x496784,_0x5799b3,_0x4991fc)=>{_0x4991fc?_0x4311a1['hide']():_0x4311a1['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x5853c8,_0x287bc6){super(_0x5853c8,_0x287bc6);const _0x3453ff=this['bindTemplate'];this['set']({'label':y(_0x5853c8,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x5853c8,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x3453ff['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new mt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x2f77ae=this['fieldView']['element'];this['_tooltipString']=_0x2f77ae['scrollWidth']>_0x2f77ae['clientWidth']&&_0x2f77ae['value']||'';}}class ti extends _0x589ebd{constructor(_0x49e21f,_0x11d6cf,_0x24e259){super(_0x49e21f);const _0x55070c=new _0x4425ac();_0x55070c['set']({'content':'<svg\x20viewBox=\x220\x200\x2011\x2010\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20xmlns:xlink=\x22http://www.w3.org/1999/xlink\x22><path\x20d=\x22M5.5\x205C8.538\x205\x2011\x207.015\x2011\x209.5c0\x20.17-.011.336-.034.5H.034A3.732\x203.732\x200\x200\x201\x200\x209.5C0\x207.015\x202.462\x205\x205.5\x205zm0-5a2.5\x202.5\x200\x201\x201\x200\x205\x202.5\x202.5\x200\x200\x201\x200-5z\x22\x20/></svg>\x0a','viewBox':'0\x200\x2011\x2010'});const _0x276baa=['ck','ck-revision-history-sidebar__revision-author'];_0x24e259&&_0x276baa['push']('ck-revision-history-sidebar__revision-author_creator');const _0x567ca9=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x49e21f,_0x24e259?'Revision\x20creator':'Revision\x20author')},'children':[_0x55070c,_0x11d6cf['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x276baa},'children':_0x567ca9});}}function ni(_0x3d3281,_0x3d2093){const _0x30f1ee=_0x3d3281['bindTemplate'],_0x11b70c=_0x3d3281['locale'],_0x5ec071=_0x47e0bd(_0x11b70c);_0x5ec071['panelPosition']='sw';const _0x178f9e=function(_0xee5a35,_0x669b89){const _0x4f0552=function(_0x56c58f,_0x59e94c){const _0x5cd221=_0x56c58f['locale'],_0x53a689={'Compare\x20against\x20selected':y(_0x5cd221,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x5cd221,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x5cd221,'Restore\x20this\x20revision')};return _0x59e94c['map'](_0x4d200a=>{const _0x46871d=_0x53a689[_0x4d200a['name']];return _0x46871d&&_0x46871d!==_0x4d200a['name']&&(_0x4d200a['name']=_0x46871d),_0x4d200a;});}(_0xee5a35,_0x669b89),_0x27f409=new _0x2fa1af();for(const _0x3c0f2e of _0x4f0552){const _0x5a989c={'type':'button','model':new to({'label':_0x3c0f2e['name'],'class':_0x3c0f2e['class'],'withText':!0x0,'role':'menuitem','_action':_0x3c0f2e['action']})};_0x5a989c['model']['bind']('isEnabled')['to'](_0xee5a35,'isActionsDropdownOpen',_0x1f0bce=>'function'!=typeof _0x3c0f2e['isEnabled']||(!_0x1f0bce||_0x3c0f2e['isEnabled'](_0xee5a35))),_0x27f409['add'](_0x5a989c);}return _0x27f409;}(_0x3d3281,_0x3d2093);return _0x3d3281['bind']('isActionsDropdownOpen')['to'](_0x5ec071,'isOpen'),_0x5ec071['buttonView']['set']({'label':y(_0x11b70c,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x11c8c0['threeVerticalDots']}),_0x5ec071['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x30f1ee['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x30f1ee['to'](_0x8c3171=>_0x8c3171['stopPropagation']())}}),_0x5ec071['on']('execute',_0x2e6b7d=>{_0x3d3281['isReady']&&'function'==typeof _0x2e6b7d['source']['_action']&&_0x2e6b7d['source']['_action'](_0x3d3281);}),_0x38e45e(_0x5ec071,_0x178f9e,{'role':'menu'}),_0x5ec071['listenTo'](_0x3d3281,'change:isActionsDropdownOpen',(_0x5d248d,_0x553915,_0x24164a)=>{if(_0x24164a)for(const _0x5ec904 of _0x5ec071['listView']['items']){const _0x8b3d5d=_0x5ec904['children']['first'],_0x6936e4=_0x3d2093['find'](_0x3112b3=>_0x3112b3['action']===_0x8b3d5d['_action'])['isVisible'];_0x5ec904['isVisible']=void 0x0===_0x6936e4||_0x6936e4(_0x3d3281);}}),_0x5ec071;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x334d6a(_0x589ebd){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x51df43,_0x22b9f7,_0x1ccac1,_0x464563){super(_0x51df43);const _0xda047c=this['bindTemplate'],_0x141143=function(_0x1dfeb9,_0xbb6932){const _0x21ac40=Array['from'](_0xbb6932['authors'])['filter'](_0xfe975e=>_0xfe975e!=_0xbb6932['creator']);return _0xbb6932['creator']&&_0x21ac40['unshift'](_0xbb6932['creator']),_0x21ac40['map'](_0x54388c=>new ti(_0x1dfeb9,_0x54388c,_0x54388c==_0xbb6932['creator']));}(_0x51df43,_0x22b9f7);this['id']=_0x22b9f7['id'],this['_revision']=_0x22b9f7,this['_requireRevisionName']=_0x464563,this['bind']('name','createdAt')['to'](_0x22b9f7),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x274756=>{return _0x33d45e=_0x51df43['uiLanguage'],(_0x41aefb=_0x274756)['toLocaleDateString'](_0x33d45e,{'month':'long','day':'numeric'})+',\x20'+_0x41aefb['toLocaleTimeString'](_0x33d45e,{'hour':'numeric','minute':'numeric'});var _0x33d45e,_0x41aefb;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x51df43,_0x8b630e),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x510c8e=>_0x510c8e||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x3f4cdc,_0x322b86)=>_0x3f4cdc&&_0x322b86),this['revisionActionsView']=_0x1ccac1&&_0x1ccac1['length']?ni(this,_0x1ccac1):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0xda047c['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0xda047c['if']('isEnabled','ck-disabled',_0x1dba28=>!_0x1dba28),_0xda047c['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0xda047c['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0xda047c['if']('isActionsDropdownOpen','ck-revision-history-sidebar__actions_dropdown_open')]},'children':[this['revisionNameView'],{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision__date']},'children':[{'text':_0xda047c['to']('_createdAtFormatted')}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__revision__controls-wrapper']},'children':[{'tag':'ul','attributes':{'class':['ck','ck-revision-history-sidebar__revision-authors']},'children':_0x141143}]},this['revisionActionsView']],'on':{'click':_0xda047c['to'](_0x1149a6=>{_0x1149a6['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x4bae1d=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x4bae1d,'change',()=>{this['_requireRevisionName']&&!_0x4bae1d['value']||this['fire']('setName',{'id':this['id'],'name':_0x4bae1d['value']}),_0x4bae1d['value']||(_0x4bae1d['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function di(_0x288566,_0x158d74){const _0x3ef93b=_0x33f63c['fromJSDate'](_0x288566)['setLocale'](_0x158d74),_0x10d6b6=_0x33f63c['local'](),_0x369370=_0x10d6b6['minus']({'days':0x1})['startOf']('day');let _0x27d8c2,_0x22d955;return _0x3ef93b['hasSame'](_0x10d6b6,'day')?(_0x27d8c2=_0x3ef93b['startOf']('day')['toJSDate'](),_0x22d955=_0x3ef93b['toRelativeCalendar']()):_0x3ef93b['hasSame'](_0x369370,'day')?(_0x27d8c2=_0x369370['toJSDate'](),_0x22d955=_0x3ef93b['toRelativeCalendar']()):_0x3ef93b['hasSame'](_0x10d6b6,'week')?(_0x27d8c2=_0x3ef93b['startOf']('week')['toJSDate'](),_0x22d955=_0x3ef93b['weekdayLong']||''):_0x3ef93b['hasSame'](_0x10d6b6,'year')?(_0x27d8c2=_0x3ef93b['startOf']('month')['toJSDate'](),_0x22d955=_0x3ef93b['monthLong']||''):(_0x27d8c2=_0x3ef93b['startOf']('year')['toJSDate'](),_0x22d955=String(_0x3ef93b['year'])),{'startDate':_0x27d8c2,'localizedPeriodName':_0x22d955};}class mi extends _0x589ebd{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x3c3bf2,_0x2b8e4c,_0x12eaf5,_0x92faf8){super(_0x3c3bf2);const _0x3967f4=di(_0x2b8e4c,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x2b8e4c,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x12eaf5,this['_requireRevisionName']=_0x92faf8,this['revisionViews']['delegate']('select')['to'](this),this['revisionViews']['delegate']('setName')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period']},'children':[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__label']},'children':[{'text':_0x3967f4}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x418556){const _0x27c803=new ai(this['locale'],_0x418556,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x27c803);}['removeRevision'](_0x145197){const _0xa473f0=this['revisionViews']['find'](_0x12d9e7=>_0x12d9e7['id']===_0x145197['id']);this['revisionViews']['remove'](_0xa473f0);}}class as extends _0x589ebd{constructor(_0x4a1327){super(_0x4a1327);const _0xbb87d2=new _0x4425ac();_0xbb87d2['content']=_0x11c8c0['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0xbb87d2,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x4a1327,'Revision\x20history')]}]});}}class ci extends _0x589ebd{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x19fe73,_0x4c7619,_0x2202fe,_0x529bdd){super(_0x19fe73);const _0x467129=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x4c7619,this['_revisionActions']=_0x2202fe,this['_requireRevisionName']=_0x529bdd,this['on']('select',(_0x6d6a5a,_0x2d8265)=>{this['fire']('revisionSelected',_0x2d8265);}),this['on']('setName',(_0x34fff8,_0x49509b)=>{this['fire']('revisionSetName',_0x49509b);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x19fe73),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x467129['if']('isEnabled','ck-disabled',_0x2150cb=>!_0x2150cb)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x362685 of this['_revisions'])this['_addRevision'](_0x362685);this['_revisions']['on']('add',(_0x5f0780,_0x44c834)=>{this['_addRevision'](_0x44c834);}),this['_revisions']['on']('remove',(_0x428325,_0x27e74e)=>{this['_removeRevision'](_0x27e74e);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x3d92af=>_0x3d92af['revisionViews']['map'](_0x43ccc4=>_0x43ccc4))['flat']();}['selectRevision'](_0x2d580d){for(const _0x32650c of this['revisionViews'])_0x2d580d&&_0x2d580d['id']===_0x32650c['id']?_0x32650c['select']():_0x32650c['deselect']();}['highlightRevisions'](_0x44063d){for(const _0x59f1c9 of this['revisionViews'])_0x44063d['some'](({id:_0x5dc5e4})=>_0x5dc5e4===_0x59f1c9['id'])?_0x59f1c9['highlight']():_0x59f1c9['unhighlight']();}['_addRevision'](_0x73507b){const _0x1c5d02=di(_0x73507b['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x5ad2fd=this['timePeriodViews']['get'](0x0);_0x5ad2fd&&_0x5ad2fd['startDate']['getTime']()===_0x1c5d02['getTime']()||(_0x5ad2fd=new mi(this['locale'],_0x1c5d02,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x5ad2fd)),_0x5ad2fd['addRevision'](_0x73507b);}['_removeRevision'](_0x4be943){const _0x1ff208=di(_0x4be943['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x1ff208)['removeRevision'](_0x4be943);}['_getTimePeriodViewByStartDate'](_0x2c5af8){return this['timePeriodViews']['find'](_0x18fbbe=>_0x18fbbe['startDate']['getTime']()===_0x2c5af8['getTime']());}}class w extends _0xfa4437{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x1123d9,Context as _0x3a1827,PendingActions as _0x2fcd40,icons as _0x209ed5,Command as _0x157f34,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x3ce664,uid as _0x303c82,Collection as _0x2716bd,logWarning as _0x3a5552,FocusTracker as _0x141e82,KeystrokeHandler as _0x56495d,scrollViewportToShowTarget as _0x553506,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x52f019}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x21367c,getMarkerDomElement as _0x238c8d,ConfirmMixin as _0x4a7910,sanitizeEditorConfig as _0x21455e}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x402ec4,ViewText as _0x3baa24,ViewElement as _0x34f0e4,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x5cd050,ViewAttributeElement as _0x4019e5,ViewEmptyElement as _0x23fa7a,ViewRawElement as _0x5971c0,ViewUIElement as _0x42996e,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x4c9fb9,set as _0x15ac03,unset as _0x50dcde,isEqual as _0x6fcdf6}from'lodash-es';import{View as _0x50a5ec,injectCssTransitionDisabler as ts,submitHandler as _0x37df89,LabeledFieldView as at,createLabeledInputText as _0x5cc1e8,createDropdown as _0x374c53,ListView as te,ListItemView as _0x41e79e,ButtonView as _0x124c6e,MenuBarMenuView as _0x5d8e4d,MenuBarMenuListView as _0x56786e,MenuBarMenuListItemView as _0x444935,MenuBarMenuListItemButtonView as _0x1623e4,ContextualBalloon as _0xbac416,ToolbarSeparatorView as _0x213f96,IconView as _0xbfaf86,addListToDropdown as _0x49cf2b,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 _0xd8b900}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x3ce664(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x5a17f){super(),this['id']=_0x5a17f['id']||_0x303c82(),this['creator']=_0x5a17f['creator']||null,this['authors']=_0x5a17f['authors']||[],this['diffData']=_0x5a17f['diffData']||null,this['toVersion']=_0x5a17f['toVersion']||0x0,this['fromVersion']=_0x5a17f['fromVersion']||0x0,this['set']('name',_0x5a17f['name']||''),this['set']('createdAt',_0x5a17f['createdAt']||new Date()),this['set']('attributes',_0x5a17f['attributes']||{});}['setName'](_0x48b7f9){this['_update']({'name':_0x48b7f9});}['setAttribute'](_0xeda8b7,_0x4b707c){const _0xeb25a=_0x4c9fb9(this['attributes']);_0x15ac03(_0xeb25a,_0xeda8b7,_0x4b707c),this['_update']({'attributes':_0xeb25a});}['removeAttribute'](_0x2ebb4b){const _0x5c8c8a=_0x4c9fb9(this['attributes']);_0x50dcde(_0x5c8c8a,_0x2ebb4b),this['_update']({'attributes':_0x5c8c8a});}['_update'](_0x1253f1,_0x3b5866=!0x1){let _0x4ddc98=!0x1;const _0x57aa9f={'id':this['id']},_0x5982ed=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x495450 of _0x5982ed){const _0xeae9f8=_0x1253f1[_0x495450];void 0x0!==_0xeae9f8&&_0xeae9f8!==this[_0x495450]&&(this[_0x495450]=_0xeae9f8,_0x57aa9f[_0x495450]=_0xeae9f8,_0x4ddc98=!0x0);}_0x4ddc98&&(_0x57aa9f['authors']&&(_0x57aa9f['authorsIds']=_0x57aa9f['authors']['map'](_0x5c48cd=>_0x5c48cd['id']),delete _0x57aa9f['authors']),this['fire']('_update',_0x57aa9f,_0x3b5866));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x37d679=>_0x37d679['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x1123d9{['_revisions'];static get['requires'](){return[_0x21367c];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x4ae2d9){super(_0x4ae2d9),this['_revisions']=new _0x2716bd();}['afterInit'](){!function(_0x1d65c1){function _0x1e7537(_0x44e6d4,_0x5f4a68,_0x4486a4){const _0x5950d4={};_0x5950d4[_0x4a96ee([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x5950d4[_0x4a96ee([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],_0x5950d4[_0x4a96ee([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],_0x5950d4[_0x4a96ee([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],_0x5950d4[_0x4a96ee([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],_0x5950d4[_0x4a96ee([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],_0x5950d4[_0x4a96ee([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],_0x5950d4[_0x4a96ee([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],_0x5950d4[_0x4a96ee([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],_0x5950d4[_0x4a96ee([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],_0x5950d4[_0x4a96ee([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 _0x283468=new Uint8Array(0x10);for(let _0x230df7=0xf;_0x230df7>=0x0;--_0x230df7)_0x283468[_0x230df7]=_0x4486a4%0x100,_0x4486a4=parseInt(_0x4486a4/0x100);let _0x1ee14a=null,_0x3c77b8=0x10;const _0x1e29dd=new Uint8Array(_0x5f4a68),_0x156408=[],_0xc4269a=[];_0x422601();for(let _0x414f13=0x0;_0x414f13<_0x44e6d4[_0x4a96ee([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x414f13++)0x10===_0x3c77b8&&(_0x1ee14a=_0x2fed2b(_0x283468),_0x3c77b8=0x0,_0x3e6bb7(_0x283468)),_0x44e6d4[_0x414f13]^=_0x1ee14a[_0x3c77b8++];return _0x44e6d4;function _0x4efc15(_0x22e937){const _0x492789=[];for(let _0x5342ea=0x0;_0x5342ea<_0x22e937[_0x4a96ee([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5342ea+=0x4)_0x492789[_0x4a96ee([0x70,0x75,0x73,0x68])](_0x22e937[_0x5342ea]<<0x18|_0x22e937[_0x5342ea+0x1]<<0x10|_0x22e937[_0x5342ea+0x2]<<0x8|_0x22e937[_0x5342ea+0x3]);return _0x492789;}function _0x3e6bb7(_0x220f90){for(let _0x310657=0xf;_0x310657>=0x0;_0x310657--){if(0xff!==_0x220f90[_0x310657]){_0x220f90[_0x310657]++;break;}_0x220f90[_0x310657]=0x0;}}function _0x2fed2b(_0xd9ef1c){const _0x1db9b8=_0x156408[_0x4a96ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x1139d1=[0x0,0x0,0x0,0x0];let t=_0x4efc15(_0xd9ef1c);for(let _0x32ad0b=0x0;_0x32ad0b<0x4;_0x32ad0b++)t[_0x32ad0b]^=_0x156408[0x0][_0x32ad0b];for(let _0x20830c=0x1;_0x20830c<_0x1db9b8;_0x20830c++){for(let _0x47fb52=0x0;_0x47fb52<0x4;_0x47fb52++)_0x1139d1[_0x47fb52]=_0x5950d4[_0x4a96ee([0x54,0x31])][t[_0x47fb52]>>0x18&0xff]^_0x5950d4[_0x4a96ee([0x54,0x32])][t[(_0x47fb52+0x1)%0x4]>>0x10&0xff]^_0x5950d4[_0x4a96ee([0x54,0x33])][t[(_0x47fb52+0x2)%0x4]>>0x8&0xff]^_0x5950d4[_0x4a96ee([0x54,0x34])][0xff&t[(_0x47fb52+0x3)%0x4]]^_0x156408[_0x20830c][_0x47fb52];t=_0x1139d1[_0x4a96ee([0x73,0x6c,0x69,0x63,0x65])]();}const _0x3cae43=new Uint8Array(0x10);let _0x4b1487;for(let _0xeb0b6b=0x0;_0xeb0b6b<0x4;_0xeb0b6b++)_0x4b1487=_0x156408[_0x1db9b8][_0xeb0b6b],_0x3cae43[0x4*_0xeb0b6b]=0xff&(_0x5950d4[_0x4a96ee([0x53])][t[_0xeb0b6b]>>0x18&0xff]^_0x4b1487>>0x18),_0x3cae43[0x4*_0xeb0b6b+0x1]=0xff&(_0x5950d4[_0x4a96ee([0x53])][t[(_0xeb0b6b+0x1)%0x4]>>0x10&0xff]^_0x4b1487>>0x10),_0x3cae43[0x4*_0xeb0b6b+0x2]=0xff&(_0x5950d4[_0x4a96ee([0x53])][t[(_0xeb0b6b+0x2)%0x4]>>0x8&0xff]^_0x4b1487>>0x8),_0x3cae43[0x4*_0xeb0b6b+0x3]=0xff&(_0x5950d4[_0x4a96ee([0x53])][0xff&t[(_0xeb0b6b+0x3)%0x4]]^_0x4b1487);return _0x3cae43;}function _0x422601(){const _0x303752=_0x5950d4[_0x4a96ee([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x1e29dd[_0x4a96ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x3d6522=0x0;_0x3d6522<=_0x303752;_0x3d6522++)_0x156408[_0x4a96ee([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0xc4269a[_0x4a96ee([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x1ae597=0x4*(_0x303752+0x1),_0x203828=_0x1e29dd[_0x4a96ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x50e68e=_0x4efc15(_0x1e29dd);let _0x7bcd4c;for(let _0x5b1e09=0x0;_0x5b1e09<_0x203828;_0x5b1e09++)_0x7bcd4c=_0x5b1e09>>0x2,_0x156408[_0x7bcd4c][_0x5b1e09%0x4]=_0x50e68e[_0x5b1e09],_0xc4269a[_0x303752-_0x7bcd4c][_0x5b1e09%0x4]=_0x50e68e[_0x5b1e09];let _0x9b1e9,_0x3e2241=0x0,t=_0x203828;for(;t<_0x1ae597;){_0x9b1e9=_0x50e68e[_0x203828-0x1],_0x50e68e[0x0]^=_0x5950d4[_0x4a96ee([0x53])][_0x9b1e9>>0x10&0xff]<<0x18^_0x5950d4[_0x4a96ee([0x53])][_0x9b1e9>>0x8&0xff]<<0x10^_0x5950d4[_0x4a96ee([0x53])][0xff&_0x9b1e9]<<0x8^_0x5950d4[_0x4a96ee([0x53])][_0x9b1e9>>0x18&0xff]^_0x5950d4[_0x4a96ee([0x72,0x63,0x6f,0x6e])][_0x3e2241]<<0x18,_0x3e2241+=0x1;for(let _0x4ad459=0x1;_0x4ad459<_0x203828/0x2;_0x4ad459++)_0x50e68e[_0x4ad459]^=_0x50e68e[_0x4ad459-0x1];_0x9b1e9=_0x50e68e[_0x203828/0x2-0x1],_0x50e68e[_0x203828/0x2]^=_0x5950d4[_0x4a96ee([0x53])][0xff&_0x9b1e9]^_0x5950d4[_0x4a96ee([0x53])][_0x9b1e9>>0x8&0xff]<<0x8^_0x5950d4[_0x4a96ee([0x53])][_0x9b1e9>>0x10&0xff]<<0x10^_0x5950d4[_0x4a96ee([0x53])][_0x9b1e9>>0x18&0xff]<<0x18;for(let _0x49b6c8=_0x203828/0x2+0x1;_0x49b6c8<_0x203828;_0x49b6c8++)_0x50e68e[_0x49b6c8]^=_0x50e68e[_0x49b6c8-0x1];let _0x134224,_0x169a2a,_0x3343b3=0x0;for(;_0x3343b3<_0x203828&&t<_0x1ae597;)_0x134224=t>>0x2,_0x169a2a=t%0x4,_0x156408[_0x134224][_0x169a2a]=_0x50e68e[_0x3343b3],_0xc4269a[_0x303752-_0x134224][_0x169a2a]=_0x50e68e[_0x3343b3++],t++;}for(let _0x33c308=0x1;_0x33c308<_0x303752;_0x33c308++)for(let _0x4a5d30=0x0;_0x4a5d30<0x4;_0x4a5d30++)_0x9b1e9=_0xc4269a[_0x33c308][_0x4a5d30],_0xc4269a[_0x33c308][_0x4a5d30]=_0x5950d4[_0x4a96ee([0x55,0x31])][_0x9b1e9>>0x18&0xff]^_0x5950d4[_0x4a96ee([0x55,0x32])][_0x9b1e9>>0x10&0xff]^_0x5950d4[_0x4a96ee([0x55,0x33])][_0x9b1e9>>0x8&0xff]^_0x5950d4[_0x4a96ee([0x55,0x34])][0xff&_0x9b1e9];}}function _0x4a96ee(_0x4e3309){return _0x4e3309['map'](_0x4fc9f4=>String['fromCharCode'](_0x4fc9f4))['join']('');}(_0x4c1f38=>{function _0xf9d185(){const _0x25ff45=[{[_0x4a96ee([0x69,0x64])]:0x1,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x4a96ee([0x69,0x64])]:0x2,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([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]),[_0x4a96ee([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a96ee([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4a96ee([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4a96ee([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x4a96ee([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a96ee([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4a96ee([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4a96ee([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4a96ee([0x69,0x64])]:0x3,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a96ee([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4a96ee([0x69,0x64])]:0x4,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([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]),[_0x4a96ee([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a96ee([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4a96ee([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4a96ee([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4a96ee([0x69,0x64])]:0x5,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a96ee([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]),[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a96ee([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a96ee([0x66,0x67,0x69])]:[0xc]}},{[_0x4a96ee([0x69,0x64])]:0x6,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a96ee([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a96ee([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a96ee([0x66,0x67,0x69])]:[0xc]}},{[_0x4a96ee([0x69,0x64])]:0x7,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a96ee([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a96ee([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a96ee([0x66,0x67,0x69])]:[0xc]}},{[_0x4a96ee([0x69,0x64])]:0x8,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a96ee([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]),[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a96ee([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a96ee([0x66,0x67,0x69])]:[0xc]}},{[_0x4a96ee([0x69,0x64])]:0x9,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a96ee([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a96ee([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a96ee([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x4a96ee([0x69,0x64])]:0xa,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([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]),[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([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]),[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a96ee([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]),[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a96ee([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a96ee([0x66,0x67,0x69])]:[0xc]}},{[_0x4a96ee([0x69,0x64])]:0xb,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a96ee([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4a96ee([0x69,0x64])]:0xc,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x4a96ee([0x69,0x64])]:0xd,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a96ee([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a96ee([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a96ee([0x66,0x67,0x69])]:[0xc]}},{[_0x4a96ee([0x69,0x64])]:0xe,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x4a96ee([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([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])},{[_0x4a96ee([0x69,0x64])]:0xf,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a96ee([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4a96ee([0x69,0x64])]:0x10,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a96ee([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a96ee([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a96ee([0x66,0x67,0x69])]:[0xc]}}];return _0x46d793(_0x25ff45),_0x25ff45;function _0x1ceb54(_0x147a61){return 0x1<<_0x147a61-0x1;}function _0x46d793(_0x5b7e6c){_0x5b7e6c[_0x4a96ee([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xf4217b=>{_0xf4217b[_0x4a96ee([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x1ceb54(_0xf4217b[_0x4a96ee([0x69,0x64])]),_0x25de50(_0xf4217b)&&_0xf4217b[_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x46d793(_0xf4217b[_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x25de50(_0x17405f){return _0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x17405f;}const _0x1955a4=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x30aa54=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x43eb9a(_0x1f353b){const _0x4d41a7=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x20ed00(_0x1f353b,new Uint8Array([..._0x1955a4,..._0x4d41a7,..._0x30aa54]));}function _0x20ed00(_0x2190c0,_0xee12fd){const _0x31ea43=_0x3ad16f(_0x2190c0),_0x1bd5c0=Array[_0x4a96ee([0x66,0x72,0x6f,0x6d])](_0x228feb(_0x31ea43)),_0x171cfb=_0x1bd5c0[_0x4a96ee([0x70,0x6f,0x70])](),_0x56eabb=_0x1bd5c0[_0x4a96ee([0x70,0x6f,0x70])]();return _0xb8d80a(_0x1e7537(_0x1bd5c0,_0xee12fd,_0x56eabb+0x100*_0x171cfb));}function _0x3ad16f(_0x23652c){const _0x4ae5f8=atob(_0x23652c),[_0x4bc89b,_0x51a6f1]=_0x4ae5f8[_0x4a96ee([0x73,0x70,0x6c,0x69,0x74])](_0x4a96ee([0x2d]));try{if(atob(_0x51a6f1))return atob(_0x4bc89b);}catch(_0x54e2a7){}return _0x4ae5f8;}function _0xf65c49(_0x199054){try{const _0x4ba267=_0x43eb9a(_0x199054),_0x4ea89a=JSON[_0x4a96ee([0x70,0x61,0x72,0x73,0x65])](_0x4ba267),_0xb3e863=parseInt(_0x4ea89a[_0x4a96ee([0x31])]),_0xadd474=_0x4ea89a[_0x4a96ee([0x32])]||'',_0xb4fb11=parseInt(_0x4ea89a[_0x4a96ee([0x33])]),_0x1e53f2=parseInt(_0x4ea89a[_0x4a96ee([0x34])])||0x0,_0x1d4aca=parseInt(_0x4ea89a[_0x4a96ee([0x35])])||0x0;return{[_0x4a96ee([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0xadd474,[_0x4a96ee([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x1e53f2,[_0x4a96ee([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0xb3e863,[_0x4a96ee([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0xb4fb11,[_0x4a96ee([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x1d4aca};}catch(_0x4991ad){return null;}}const _0x574882=_0xf9d185(),_0x4611ad={[_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x206ed8,[_0x4a96ee([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])]:_0x485cc4,[_0x4a96ee([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])]:_0x36d755},_0x3340a9=_0x4c1f38[_0x4a96ee([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x3f63e3=_0x4a96ee([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x4c1f38?_0x4c1f38['context']:_0x4c1f38['editor'],_0x12e11e=_0x4a96ee([0x34,0x30,0x34,0x38,0x31,0x32,0x35,0x36]),_0x385bac=_0x4a96ee([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]),_0x5adfa3=_0x3f63e3['config']['get'](_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4e6267=_0x574882[_0x4a96ee([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x25de50)[_0x4a96ee([0x66,0x69,0x6e,0x64])](_0x402155=>_0x402155[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x3340a9);function _0x2b531b(_0x366bea,_0x123c4d){_0x4611ad[_0x123c4d[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x366bea,_0x123c4d),_0x123c4d[_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x123c4d[_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x4a96ee([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x63e833=>_0x3f251e(_0x3f63e3,_0x63e833[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x4a96ee([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x525017=>_0x2b531b(_0x366bea,_0x525017));}function _0x206ed8(_0x4e9577,_0x59085c){_0x7d7b37(_0x5942bc(_0x4e9577,_0x59085c),_0x59085c);}function _0x485cc4(_0x392fb8,_0x158e3e){function _0x536a84(_0x3f8430,_0x222b34){try{if(_0x3f251e(_0x3f63e3,_0x4a96ee([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x3f8430){const _0x311841=_0x51619c(_0x3f63e3,_0x4a96ee([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x4a96ee([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x311841)/0x2>_0x3f8430[_0x4a96ee([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x2cbbcd(_0x222b34[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x5942bc(_0x3f8430,_0x222b34);}catch(_0x418b12){return _0x2cbbcd(_0x222b34[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x7d7b37(_0x536a84(_0x392fb8,_0x158e3e),_0x158e3e);}function _0x36d755(_0x7f4a54,_0x497b31){const _0x283bf0=_0x30aa54[0x0]*_0x1955a4[0x1],_0x1f372b=_0x30aa54[0x0]*_0x1955a4[0x2],_0x5bd569=_0x30aa54[0x2]*_0x1955a4[0x2];_0x3f251e(_0x3f63e3,_0x4a96ee([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x51619c(_0x3f63e3,_0x4a96ee([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4a96ee([0x73,0x74,0x61,0x74,0x65])]==_0x4a96ee([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x129d4a()]=_0x5bd569);function _0x396b75(_0x3bc9fc,_0x1b6c65){try{return _0x4e3c27()?_0x2cbbcd(_0x1b6c65[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x56,0x61,0x6c,0x69,0x64])):_0x5942bc(_0x3bc9fc,_0x1b6c65);}catch(_0x18f46f){return _0x2cbbcd(_0x1b6c65[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x11e44d(_0x258453,_0x4a2ad0){const _0x308e60=0x7;if(_0x258453==_0x4a2ad0[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x37d7dd();else{if(_0x258453==_0x4a2ad0[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x54,0x72,0x69,0x61,0x6c])){const _0x448190=_0x2a5298();_0x448190&&_0xac0c88(_0x448190,_0x4a2ad0[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x4936b9=_0x5bd3d2();window[_0x4a96ee([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xac0c88(_0x4a96ee([0x74,0x69,0x6d,0x65]),_0x4a2ad0[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x4936b9);const _0x3c8348=_0x51619c(_0x3f63e3,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4a96ee([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x3c8348[_0x4a96ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x308e60?_0xac0c88(_0x4a96ee([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4a2ad0[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x3c8348['on'](_0x4a96ee([0x61,0x64,0x64]),()=>{_0x3c8348[_0x4a96ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x308e60&&_0xac0c88(_0x4a96ee([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4a2ad0[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x2a5298(){if(!_0x3f251e(_0x3f63e3,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x481525 in window)if(Number['isNaN'](Number(_0x481525))){if(window[_0x481525]===_0x283bf0)return _0x4a96ee([0x74,0x69,0x6d,0x65]);if(window[_0x481525]===_0x1f372b)return _0x4a96ee([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x4e3c27(){if(!_0x3f251e(_0x3f63e3,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0xcd63d3 in window)if(Number['isNaN'](Number(_0xcd63d3))&&window[_0xcd63d3]===_0x5bd569)return!0x0;return!0x1;}function _0xac0c88(_0xcecc45,_0x5b3c76){_0x37d7dd(),_0x2cbbcd(_0x5b3c76+_0x4a96ee([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0xcecc45),window[_0x129d4a()]=_0xcecc45===_0x4a96ee([0x74,0x69,0x6d,0x65])?_0x283bf0:_0x1f372b;}function _0x5bd3d2(){let _0x24b834=_0x30aa54[0x6]*_0x1955a4[0x8]*_0x1955a4[0x6];return _0x3f251e(_0x3f63e3,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x24b834/=0xa),_0x24b834;}function _0x37d7dd(){const _0x47f5f7=_0x3f63e3;function _0x14eaf1(){_0x3f251e(_0x47f5f7,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x51619c(_0x47f5f7,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4a96ee([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4a96ee([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x51619c(_0x47f5f7,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4a96ee([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x51619c(_0x47f5f7,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4a96ee([0x75,0x70,0x64,0x61,0x74,0x65])]=_0xccf3a6,_0x51619c(_0x47f5f7,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4a96ee([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0xccf3a6,_0x47f5f7[_0x4a96ee([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a96ee([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xccf3a6,_0x47f5f7[_0x4a96ee([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a96ee([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xccf3a6,_0x47f5f7[_0x4a96ee([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a96ee([0x6d,0x6f,0x64,0x65,0x6c]))),_0x3f251e(_0x47f5f7,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x51619c(_0x47f5f7,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4a96ee([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4a96ee([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x51619c(_0x47f5f7,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4a96ee([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x51619c(_0x47f5f7,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4a96ee([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0xccf3a6,_0x51619c(_0x47f5f7,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4a96ee([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0xccf3a6);}_0x47f5f7[_0x4a96ee([0x73,0x74,0x61,0x74,0x65])]==_0x4a96ee([0x72,0x65,0x61,0x64,0x79])?_0x14eaf1():_0x47f5f7[_0x4a96ee([0x6f,0x6e,0x63,0x65])](_0x4a96ee([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x3f251e(_0x47f5f7,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x14eaf1(),_0x3f251e(_0x47f5f7,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x1edfbf=_0x51619c(_0x47f5f7,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4e1e22=_0x1edfbf['getRevision'](0x0),_0x129db8=_0x1edfbf['getEarlierVisibleRevision'](_0x4e1e22[_0x4a96ee([0x69,0x64])]);_0x51619c(_0x47f5f7,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4a96ee([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4e1e22[_0x4a96ee([0x69,0x64])],_0x129db8?_0x129db8[_0x4a96ee([0x69,0x64])]:null,0x1)['then'](()=>_0x14eaf1());}});}_0x11e44d(_0x396b75(_0x7f4a54,_0x497b31),_0x497b31);}function _0x5942bc(_0xe7822a,_0x4dc821){try{return _0x37fd62(_0x4dc821)?_0x2cbbcd(_0x4dc821[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x56,0x61,0x6c,0x69,0x64])):_0xe7822a&&_0x5d0e26(_0xe7822a[_0x4a96ee([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x4dc821)?_0xe7822a[_0x4a96ee([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x4a96ee([0x6f,0x70,0x65,0x6e])][_0x4a96ee([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x12e11e)/0x2>_0xe7822a[_0x4a96ee([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x2cbbcd(_0x4dc821[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0xe7822a[_0x4a96ee([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x2cbbcd(_0x4dc821[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x54,0x72,0x69,0x61,0x6c])):_0x2cbbcd(_0x4dc821[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x56,0x61,0x6c,0x69,0x64])):_0x2cbbcd(_0x4dc821[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x49cb5f){return _0x2cbbcd(_0x4dc821[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x7d7b37(_0x3d416f,_0x59237b){if(_0x3f63e3 instanceof _0x3a1827){const _0x45e596=_0x3f63e3;_0x3d416f==_0x59237b[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x219076(_0x45e596):_0x3d416f==_0x59237b[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x54,0x72,0x69,0x61,0x6c])&&window[_0x4a96ee([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x219076(_0x45e596),_0x2cbbcd(_0x59237b[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x30aa54[0x6]*_0x1955a4[0x8]*_0x1955a4[0x6]),_0x45e596[_0x4a96ee([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x4a96ee([0x6f,0x6e])](_0x4a96ee([0x61,0x64,0x64]),(_0x5d285f,_0x904644)=>{_0x3d416f!=_0x59237b[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x3d416f!=_0x59237b[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x3d416f!=_0x59237b[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x5d94f7(_0x904644);});}else{const _0x4681df=_0x3f63e3;_0x3d416f==_0x59237b[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x5d94f7(_0x4681df):_0x3d416f==_0x59237b[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x54,0x72,0x69,0x61,0x6c])&&_0x4681df[_0x4a96ee([0x6f,0x6e])](_0x4a96ee([0x72,0x65,0x61,0x64,0x79]),()=>{let _0xa3e363=0x0;_0x4681df[_0x4a96ee([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a96ee([0x6f,0x6e])](_0x4a96ee([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4b2496,_0x516ec1)=>{_0x516ec1[0x0][_0x4a96ee([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xa3e363++,0x1f8===_0xa3e363&&(_0x5d94f7(_0x4681df),_0x2cbbcd(_0x59237b[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x4b2496[_0x4a96ee([0x6f,0x66,0x66])]());},{'priority':_0x4a96ee([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x2cbbcd(_0x318334){const _0x32f693=_0x129d4a();return _0x3f63e3[_0x32f693]=_0x318334,_0x318334;}function _0x129d4a(){const _0x19fd60=String(window[_0x4a96ee([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a96ee([0x6e,0x6f,0x77])]())[_0x4a96ee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a96ee([0x2e]),'');let _0x5d3384='';for(let _0x282ccb=0x0;_0x282ccb<_0x19fd60[_0x4a96ee([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x282ccb+=0x2){let _0x5ef554=parseInt(_0x19fd60[_0x4a96ee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x282ccb,_0x282ccb+0x2));_0x5ef554>=_0x385bac[_0x4a96ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5ef554-=_0x385bac[_0x4a96ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5d3384+=_0x385bac[_0x5ef554];}return _0x5d3384;}function _0x219076(_0x1d7476){for(const _0x4cb55a of _0x1d7476[_0x4a96ee([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x5d94f7(_0x4cb55a);_0x51619c(_0x1d7476,_0x4a96ee([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4a96ee([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x51619c(_0x1d7476,_0x4a96ee([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4a96ee([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0xccf3a6;}function _0x5d94f7(_0x35c64e){function _0x5c1a5a(){_0x35c64e[_0x4a96ee([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a96ee([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xccf3a6,_0x35c64e[_0x4a96ee([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a96ee([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xccf3a6,_0x35c64e[_0x4a96ee([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a96ee([0x6d,0x6f,0x64,0x65,0x6c]));}_0x35c64e[_0x4a96ee([0x73,0x74,0x61,0x74,0x65])]==_0x4a96ee([0x72,0x65,0x61,0x64,0x79])?_0x5c1a5a():_0x35c64e[_0x4a96ee([0x6f,0x6e,0x63,0x65])](_0x4a96ee([0x72,0x65,0x61,0x64,0x79]),()=>_0x5c1a5a());}function _0xccf3a6(){return null;}function _0x5d0e26(_0x30384e,_0x2d9c10){const _0x41fddc=!!(_0x30384e&_0x2d9c10[_0x4a96ee([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x4a3dbc=_0x3cb34e(_0x30384e,_0x2d9c10);return _0x41fddc||_0x4a3dbc;}function _0x3cb34e(_0x552b67,_0x2d1442){const _0x49c8ab=(_0x2d1442[_0x4a96ee([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x4a96ee([0x66,0x67,0x69])]||null;return!!_0x49c8ab&&_0x574882[_0x4a96ee([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x441a31=>_0x49c8ab[_0x4a96ee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x441a31[_0x4a96ee([0x69,0x64])]))[_0x4a96ee([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29cd64=>!_0x399ae2(_0x29cd64))[_0x4a96ee([0x73,0x6f,0x6d,0x65])](_0x563a27=>!!(_0x552b67&_0x563a27[_0x4a96ee([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x399ae2(_0x137cef){const _0x1d6e12={[_0x4a96ee([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])]:_0x4c5f39};return!!_0x137cef['forbiddenHandler']&&_0x1d6e12[_0x137cef['forbiddenHandler']]();}function _0x4c5f39(){return!window[_0x4a96ee([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x3f251e(_0x3f63e3,_0x4a96ee([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x37fd62(_0x393eed){if(!_0x3f251e(_0x3f63e3,_0x393eed[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x270bde=_0x393eed[_0x4a96ee([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x30b563=_0x270bde[_0x4a96ee([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x3db961=_0x270bde[_0x4a96ee([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x4cfcfc=_0x270bde[_0x4a96ee([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x3f251e(_0x3f63e3,_0x4a96ee([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x51619c(_0x3f63e3,_0x4a96ee([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4a96ee([0x73,0x74,0x61,0x74,0x65])]==_0x4a96ee([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x30b563)return!0x0;if(_0x3f251e(_0x3f63e3,_0x4a96ee([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x51619c(_0x3f63e3,_0x4a96ee([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x4a96ee([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x4a96ee([0x65,0x6e,0x64])&&_0x3db961)return!0x0;return!(!_0x3f251e(_0x3f63e3,_0x4a96ee([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]))||_0x51619c(_0x3f63e3,_0x4a96ee([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]))[_0x4a96ee([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x4a96ee([0x65,0x6e,0x64])||!_0x4cfcfc);}function _0x3f251e(_0x43c84a,_0x2f3c90){return _0x43c84a[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4a96ee([0x68,0x61,0x73])](_0x2f3c90);}function _0x51619c(_0x306ee3,_0x4d9dba){return _0x306ee3[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4a96ee([0x67,0x65,0x74])](_0x4d9dba);}function _0xb8d80a(_0x22497e){let _0x68b654='';for(const _0x3f5fc9 of _0x22497e)_0x68b654+=String[_0x4a96ee([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x3f5fc9);return _0x68b654;}function _0x228feb(_0x1c783b){const _0x259078=new Uint8Array(_0x1c783b[_0x4a96ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x54a864=0x0;_0x54a864<_0x1c783b[_0x4a96ee([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54a864++)_0x259078[_0x54a864]=_0x1c783b[_0x4a96ee([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x54a864);return _0x259078;}_0x4e6267&&_0x2b531b(_0xf65c49(_0x5adfa3),_0x4e6267);})(_0x1d65c1);}(this);}['createRevision'](_0x3320d0){const _0x21d2f1=this['editor']['plugins']['get']('Users');return new a({'id':_0x3320d0['id'],'name':_0x3320d0['name'],'creator':_0x3320d0['creatorId']?_0x21d2f1['getUser'](_0x3320d0['creatorId']):null,'diffData':_0x3320d0['diffData']||_0x3320d0['data'],'authors':_0x3320d0['authorsIds']['map'](_0x206859=>_0x21d2f1['getUser'](_0x206859)),'createdAt':new Date(_0x3320d0['createdAt']),'attributes':_0x3320d0['attributes'],'fromVersion':_0x3320d0['fromVersion'],'toVersion':_0x3320d0['toVersion']});}['addRevision'](_0x38db30,_0x51d994=0x0){this['_revisions']['add'](_0x38db30,_0x51d994);}['getRevision'](_0x3a9bd0){return this['_revisions']['get'](_0x3a9bd0);}['getRevisions'](_0x5d97ad={'toJSON':!0x1}){const _0x15e276=Array['from'](this['_revisions']);return _0x15e276['reverse'](),_0x5d97ad['toJSON']?_0x15e276['map'](_0x53d994=>_0x53d994['toJSON']()):_0x15e276;}['getIndex'](_0x3aad7c){return this['_revisions']['getIndex'](_0x3aad7c);}['getEarlierVisibleRevision'](_0x5de05d){const [,_0x3b4441]=this['getRevisionsIterator'](_0x5de05d,{'direction':'earlier'});return _0x3b4441;}['getLaterVisibleRevision'](_0x146671){const [,_0x25a611]=this['getRevisionsIterator'](_0x146671,{'direction':'later'});return _0x25a611;}['getRevisionsInDiff'](_0x248279){const _0x454fe4=[];for(const _0x2adf47 of this['getRevisionsIterator'](_0x248279['newRevisionId']))if(_0x454fe4['push'](_0x2adf47),_0x2adf47['id']===_0x248279['oldRevisionId'])break;return _0x454fe4;}*['getRevisionsIterator'](_0x5577a0,{direction:_0x2d5ffc='earlier',filter:_0x2e8109=_0x19a616=>!0x0}={}){const _0x3f90dd='earlier'===_0x2d5ffc?0x1:-0x1;let _0x22f279=this['_revisions']['get'](_0x5577a0),_0x539dd5=this['getIndex'](_0x22f279);for(yield _0x22f279;_0x22f279;){if(_0x539dd5+=_0x3f90dd,_0x22f279=this['getRevision'](_0x539dd5),!_0x22f279)return;_0x2e8109(_0x22f279)&&(yield _0x22f279);}}}function y(_0x11031c,_0x59fa8d,_0x316cfa){const t=_0x11031c['t'];switch(_0x59fa8d){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'},_0x316cfa);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x316cfa);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':_0x5cd050,'a':_0x4019e5,'e':_0x23fa7a,'r':_0x5971c0,'u':_0x42996e};class l extends _0x1123d9{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x21367c,A,_0x2fcd40];}constructor(_0x3b7d91){super(_0x3b7d91),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 _0x5063a=_0x303c82();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x5063a},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 _0x5c1fe8=this['repository']['getRevision'](0x0),_0x2238b9=_0x5c1fe8&&null===_0x5c1fe8['creator']?_0x5c1fe8:null;if(this['_continueCurrentRevision']=!!_0x2238b9&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x4de509=this['_source']['getCurrentRevisionId'](),_0x15cf18=this['repository']['getRevision'](_0x4de509);if(_0x15cf18)this['_startingVersion']=_0x15cf18['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x566d97=this['_source']['history']['_operations']['find'](_0x225337=>!_0x225337['_isInit']),_0x16ba22=_0x566d97?_0x566d97['baseVersion']:this['_source']['history']['version'];_0x5c1fe8?(_0x5c1fe8['toVersion']<_0x16ba22&&_0x5c1fe8['_update']({'toVersion':_0x16ba22}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x2238b9['id'],this['_startingVersion']=_0x2238b9['fromVersion']):(this['_startingVersion']=_0x5c1fe8['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x16ba22,this['_continueCurrentRevision']=!0x1);}}else _0x2238b9&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x2238b9['toVersion'],this['editor']['model']['document']['history']['version']),_0x2238b9['fromVersion']===_0x2238b9['toVersion']?(0x0!==_0x2238b9['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x2238b9['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x2238b9['id'],this['_startingVersion']=_0x2238b9['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',_0x1605a4=>!_0x1605a4);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x11e9ca=this['repository']['getRevision'](0x0),_0x43cc67=await this['getRevisionDocumentData'](_0x11e9ca),_0x14bf50=await this['getRevisionRootsAttributes'](_0x11e9ca);this['_replaceEditorDataWithRevisionData'](_0x43cc67,_0x14bf50);}}['setSource'](_0x1e8056){this['_source']=_0x1e8056;}async['update'](){const _0x1c8a15=await this['_source']['getLatestVersion']();if(_0x1c8a15>this['currentRevision']['toVersion']){await this['_loadState']();const _0x3fe310=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x1c8a15});_0x3fe310['authors']=_0x3fe310['authorsIds']['map'](_0xfe5337=>this['editor']['plugins']['get']('Users')['getUser'](_0xfe5337)),this['currentRevision']['_update'](_0x3fe310);}}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'](_0x54951e={},_0x56d62a=null){const _0x1c3441=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x56d62a>this['currentRevision']['toVersion']&&(_0x56d62a=null),null===_0x56d62a&&(_0x56d62a=await this['_source']['getLatestVersion']());const _0x39521b=this['_getFromVersion'](_0x56d62a),_0x5e44b9=this['buildRevisionData']({'from':_0x39521b,'to':_0x56d62a});if(this['currentRevision']['toVersion']<_0x56d62a){const _0x12902e=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x56d62a,'to':_0x56d62a});_0x12902e['authors']=[],_0x12902e['authorsIds']=[],_0x12902e['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x12902e,!0x0),delete _0x12902e['authors'],_0x1c3441['push'](_0x12902e);}_0x54951e['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x54951e['name']=_0x54951e['name']||null,_0x54951e['id']=_0x54951e['id']||_0x303c82(),_0x54951e={..._0x54951e,..._0x5e44b9};const _0x20b76e=this['addRevisionData'](_0x54951e);_0x1c3441['push'](_0x54951e);const _0x1085bb=this['repository']['getIndex'](_0x20b76e);if(0x0!==_0x1085bb){const _0x2050ef=this['repository']['getRevision'](_0x1085bb-0x1);if(_0x2050ef['fromVersion']!==_0x56d62a){const _0xa48d74=this['_revisionDataBuilder']['getData'](_0x56d62a,_0x2050ef['toVersion']),_0xcc8bfc={'id':_0x2050ef['id'],'diffData':_0xa48d74['diffData'],'authorsIds':_0xa48d74['authorsIds'],'authors':_0xa48d74['authorsIds']['map'](_0x8e7f6a=>this['editor']['plugins']['get']('Users')['getUser'](_0x8e7f6a)),'fromVersion':_0x56d62a};_0x2050ef===this['currentRevision']&&(_0xcc8bfc['createdAt']=new Date(_0x54951e['createdAt']['getTime']()+0xa)),_0x2050ef['_update'](_0xcc8bfc,!0x0),delete _0xcc8bfc['authors'],_0x1c3441['push'](_0xcc8bfc);}}if(this['adapter']){for(const _0x437f99 of _0x1c3441)this['_bufferUpdate'](_0x437f99['id'],_0x437f99,!0x0);this['sendBufferedUpdates']();}return _0x20b76e;}['addRevisionData'](_0x42a0d0){const _0x32fe6f=this['repository']['createRevision'](_0x42a0d0);return this['adapter']&&_0x32fe6f['on']('_update',(_0x309ab8,_0x30e2da,_0x49b37e)=>{_0x49b37e||(this['_bufferUpdate'](_0x30e2da['id'],_0x30e2da,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x32fe6f,this['_findInsertionIndex'](_0x32fe6f)),_0x32fe6f;}async['getRevisionDocumentData'](_0x498da1){await this['_loadRevisionData'](_0x498da1);const _0x10606c={};for(const _0x5a6d4d in _0x498da1['diffData']){if(_0x498da1['diffData'][_0x5a6d4d]['attachChange']&&!_0x498da1['diffData'][_0x5a6d4d]['attachChange']['isAttached'])continue;const _0x117529=this['_removeRevisionMarkers'](JSON['parse'](_0x498da1['diffData'][_0x5a6d4d]['insertions'])),_0x3993ca=this['editor']['editing']['view']['document'],_0x24ba1b=new _0x402ec4(_0x3993ca,_0x117529['map'](_0x5d0127=>B(_0x5d0127,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x10606c[_0x5a6d4d]=this['editor']['data']['processor']['toData'](_0x24ba1b),this['editor']['data']['processor']['useFillerType']('default');}return _0x10606c;}async['getRevisionRootsAttributes'](_0x5db2c2){await this['_loadRevisionData'](_0x5db2c2);const _0x3a7844={};for(const _0x40213c in _0x5db2c2['diffData'])_0x5db2c2['diffData'][_0x40213c]['attachChange']&&!_0x5db2c2['diffData'][_0x40213c]['attachChange']['isAttached']||(_0x3a7844[_0x40213c]=_0x5db2c2['diffData'][_0x40213c]['attributesAfter']||{});return _0x3a7844;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x988080=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x18b829=0x0;_0x18b829<_0x988080['length'];_0x18b829++){const _0x125d85=_0x988080[_0x18b829];let _0x582139=!0x1;for(const _0x20a153 of Object['keys'](_0x125d85))void 0x0===_0x125d85[_0x20a153]?delete _0x125d85[_0x20a153]:'id'!==_0x20a153&&(_0x582139=!0x0);_0x582139||(_0x988080[_0x18b829]=null);}if(_0x988080=_0x988080['filter'](_0x1e8472=>null!==_0x1e8472),!_0x988080['length'])return;for(let _0x59f5b5=0x0;_0x59f5b5<_0x988080['length'];_0x59f5b5++){const _0x408d7e=_0x988080[_0x59f5b5];void 0x0!==_0x408d7e['fromVersion']&&void 0x0===_0x408d7e['toVersion']&&(_0x408d7e['toVersion']=this['repository']['getRevision'](_0x408d7e['id'])['toVersion']),void 0x0!==_0x408d7e['toVersion']&&void 0x0===_0x408d7e['fromVersion']&&(_0x408d7e['fromVersion']=this['repository']['getRevision'](_0x408d7e['id'])['fromVersion']);}const _0x50b770=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x988080,_0x50b770)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x3364a5=>{if(_0x3364a5){for(const _0x209d7f of _0x3364a5)this['setRevisionData']({'id':_0x209d7f['id'],'createdAt':_0x209d7f['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x1906b8,_0x56ec2c){let _0x3457f3=this['editor']['config']['get']('initialData'),_0x49b540=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x3457f3){_0x3457f3={};for(const _0x4ffd27 of this['editor']['model']['document']['getRootNames']())_0x3457f3[_0x4ffd27]='';}if('string'==typeof _0x3457f3&&(_0x3457f3={'main':_0x3457f3}),void 0x0===_0x49b540){_0x49b540={};for(const _0x2a11ad of this['editor']['model']['document']['getRootNames']())_0x49b540[_0x2a11ad]={};}let _0x4e54df=!0x1;const _0x2deaf1=Object['keys'](_0x3457f3),_0x464dc9=Object['keys'](_0x1906b8);for(const _0x53ed29 of _0x2deaf1){if(_0x3457f3[_0x53ed29]!==_0x1906b8[_0x53ed29]&&''!==_0x3457f3[_0x53ed29]['trim']()){_0x4e54df=!0x0;break;}if(!_0x6fcdf6(_0x49b540[_0x53ed29],_0x56ec2c[_0x53ed29])&&Object['keys'](_0x49b540[_0x53ed29])['length']>0x0){_0x4e54df=!0x0;break;}}_0x4e54df||(_0x4e54df=_0x464dc9['some'](_0x3725cf=>!this['editor']['model']['document']['getRoot'](_0x3725cf))),_0x4e54df&&_0x3a5552('editor-initial-data-replaced-with-revision-data',{'editorData':_0x3457f3,'editorRootsAttributes':_0x49b540,'revisionData':_0x1906b8,'revisionRootsAttributes':_0x56ec2c}),this['editor']['config']['set']('initialData',_0x1906b8),this['editor']['config']['set']('rootsAttributes',_0x56ec2c);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x179fbe=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x179fbe['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x522962){const _0x37f550=this['repository']['getRevisions']();_0x37f550['reverse']();let _0x4edcdd=0x0;for(;_0x4edcdd<_0x37f550['length'];){const _0x4df80e=_0x37f550[_0x4edcdd];if(_0x4df80e===this['currentRevision']){_0x4edcdd++;continue;}if(_0x4df80e['id']===this['_initialRevisionId'])break;const _0x19dd44=_0x522962['toVersion']-_0x4df80e['toVersion']||_0x522962['fromVersion']-_0x4df80e['fromVersion'];if(_0x19dd44>0x0)break;if(_0x19dd44<0x0)_0x4edcdd++;else{if(!_0x522962['creator']&&_0x4df80e['creator'])break;if(_0x4df80e['creator']||!_0x522962['creator']){if(_0x522962['createdAt']>_0x4df80e['createdAt'])break;_0x4edcdd++;}else _0x4edcdd++;}}return _0x4edcdd;}['setRevisionData'](_0x1b5ae7){const _0x33a522=this['repository']['getRevision'](_0x1b5ae7['id']);if(_0x1b5ae7['createdAt']&&(_0x1b5ae7['createdAt']=new Date(_0x1b5ae7['createdAt'])),_0x1b5ae7['authorsIds']){const _0x11fe9f=this['editor']['plugins']['get']('Users');_0x1b5ae7['authors']=_0x1b5ae7['authorsIds']['map'](_0x1b2a06=>_0x11fe9f['getUser'](_0x1b2a06));}_0x33a522['_update'](_0x1b5ae7,!0x0);}['buildRevisionData']({revision:_0x5221b4=null,from:_0x16bdb6=null,to:_0x5d3c82=null}){_0x16bdb6=null!==_0x16bdb6?_0x16bdb6:_0x5221b4['fromVersion'],_0x5d3c82=null!==_0x5d3c82?_0x5d3c82:_0x5221b4['toVersion'];const _0x260025=this['_revisionDataBuilder']['getData'](_0x16bdb6,_0x5d3c82),_0x3aa5a6={'diffData':_0x260025['diffData'],'authorsIds':_0x260025['authorsIds'],'fromVersion':_0x16bdb6,'toVersion':_0x5d3c82};if(!_0x5221b4||_0x5d3c82!==_0x5221b4['toVersion']){const _0x52e89f=_0x5d3c82-0x1,_0x50351d=this['_source']['history']['getOperation'](_0x52e89f);_0x3aa5a6['createdAt']=_0x50351d&&_0x50351d['createdAt']||new Date();}if(this['_loadedStateData']&&_0x16bdb6===this['_loadedStateData']['fromVersion']){for(const _0x130344 of this['_loadedStateData']['authors'])_0x3aa5a6['authorsIds']['includes'](_0x130344['id'])||_0x3aa5a6['authorsIds']['push'](_0x130344['id']);}return _0x3aa5a6;}['_loadRevisionData'](_0x1cf8ea){if(!_0x1cf8ea||_0x1cf8ea['diffData'])return Promise['resolve']();{const _0x504ac3=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x504ac3,'revisionId':_0x1cf8ea['id']})['then'](_0x236982=>{_0x1cf8ea['diffData']=_0x236982['diffData'];});}}['_bufferUpdate'](_0x554f4a,_0x412fe5,_0x530863){if(this['_bufferedUpdates']['has'](_0x554f4a)){const _0x51ba6b=this['_bufferedUpdates']['get'](_0x554f4a);_0x412fe5=_0x530863?{..._0x51ba6b,..._0x412fe5}:{..._0x412fe5,..._0x51ba6b};}this['_bufferedUpdates']['set'](_0x554f4a,_0x412fe5);}['_getFromVersion'](_0x8733dc){const _0x18efe3=this['repository']['getRevisions']();_0x18efe3['reverse'](),_0x18efe3['shift']();const _0x570c44=_0x18efe3['find'](_0x48ba62=>_0x48ba62['toVersion']<=_0x8733dc)['toVersion'];return _0x570c44<this['_startingVersion']?this['_startingVersion']:_0x570c44;}['_createInitialRevision'](_0x53bfc4){const _0x5f05c6=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x5f05c6)this['_initialRevisionId']=_0x5f05c6['id'];else{const _0x225fb2=!this['editor']['model']['document']['roots']['find'](_0x2214af=>this['editor']['model']['hasContent'](_0x2214af)),_0x6ffb5=this['editor']['plugins']['get']('Users')['me']['id'],_0x3fba3d=y(this['editor']['locale'],_0x225fb2?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x53bfc4,'to':_0x53bfc4,'id':this['_initialRevisionId'],'name':_0x3fba3d,'creatorId':_0x6ffb5});}}['_createCurrentRevision'](_0x246137){const _0x51445b=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x51445b),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x246137,'to':_0x246137,'id':_0x51445b,'name':'','creatorId':null}));}['_makeRevision']({name:_0x2d041d,from:_0x42c6ae,to:_0x17053,creatorId:_0x5ad9ee,id:_0x59934c}){const _0x4c8c68=this['buildRevisionData']({'from':_0x42c6ae,'to':_0x17053});_0x4c8c68['name']=_0x2d041d,_0x4c8c68['creatorId']=_0x5ad9ee,_0x4c8c68['id']=_0x59934c;const _0xef2725=this['addRevisionData'](_0x4c8c68);return this['adapter']&&this['_bufferUpdate'](_0x4c8c68['id'],_0x4c8c68,!0x0),_0xef2725;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x67a813){return(_0x67a813=_0x67a813['filter'](_0x65cd53=>!_0x65cd53['name']||'revision-start'!==_0x65cd53['name']&&'revision-end'!==_0x65cd53['name']))['forEach'](_0x37f11d=>{'string'!=typeof _0x37f11d&&(_0x37f11d['children']=this['_removeRevisionMarkers'](_0x37f11d['children']),_0x37f11d['attributes']=_0x37f11d['attributes']['filter'](_0x44c930=>!_0x44c930[0x0]['startsWith']('data-revision-')));}),_0x67a813;}}function B(_0x19f542,_0x2ecdaf){const _0x5cf084=_0x2ecdaf['editing']['view']['document'];if('string'==typeof _0x19f542)return new _0x3baa24(_0x5cf084,_0x19f542);{const _0x24b16b=_0x19f542['children']['map'](_0x6b889c=>B(_0x6b889c,_0x2ecdaf));return new(T[_0x19f542['type']]||_0x34f0e4)(_0x5cf084,_0x19f542['name'],_0x19f542['attributes'],_0x24b16b);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x3b2c76){this['editor']=_0x3b2c76,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'](_0x2188a9){this['source']=_0x2188a9;const _0x62a890=new Map(),_0x47e3f4=new Map(),_0x1de15a=this['editor']['model']['document']['roots']['map'](_0x47dfbb=>_0x47dfbb['rootName']);for(const _0x5c2dc5 of _0x1de15a){const _0x4ea991=this['editor']['model']['document']['getRoot'](_0x5c2dc5),_0x1cd50f=q(_0x4ea991);_0x62a890['set'](_0x5c2dc5,_0x1cd50f),_0x47e3f4['set'](_0x5c2dc5,Object['fromEntries'](_0x4ea991['getAttributes']()));}const _0x8991ee=Array['from'](this['editor']['model']['markers'])['map'](_0xd9e190=>[_0xd9e190['name'],_0xd9e190['getRange']()]),_0x445fbc=this['source']['version'];this['_saveMetaData'](_0x445fbc,_0x62a890,_0x8991ee,_0x47e3f4),this['_startingRevisionId']=this['_revisionId'];const _0x506bce=new Map(),_0x4e497c=new Map();for(const _0x36cfed of _0x1de15a){const _0x227a70=G(_0x36cfed);_0x506bce['set'](_0x36cfed,_0x227a70),_0x4e497c['set'](_0x36cfed,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x506bce,[],_0x4e497c);}['getData'](_0x2e34cb,_0x3643e8){if(this['_lastFrom']===_0x2e34cb&&this['_lastTo']<=_0x3643e8)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x3643e8,!0x0);else{if(!this['_savedMetaData']['has'](_0x2e34cb)){const _0x310e53=this['_getPreviousFrom'](_0x2e34cb);this['_calculateMetaData'](_0x310e53,_0x2e34cb,!0x1);}this['_calculateMetaData'](_0x2e34cb,_0x3643e8,!0x0);}return this['_lastFrom']=_0x2e34cb,this['_lastTo']=_0x3643e8,this['_getState']();}['loadState'](_0x456007){this['_reset'](),this['_lastFrom']=_0x456007['fromVersion'],this['_lastTo']=_0x456007['toVersion'];for(const _0x25cde2 in _0x456007['diffData']){const _0x2936b0=_0x456007['diffData'][_0x25cde2]['attachChange'],_0x504a74=_0x4c9fb9(_0x456007['diffData'][_0x25cde2]['attributesBefore'])||{},_0x5c322a=this['_makeModelFromViewString'](_0x456007['diffData'][_0x25cde2]['deletions']);_0x5c322a['rootName']=_0x25cde2,_0x5c322a['_isAttached']=!_0x2936b0||!_0x2936b0['isAttached'],_0x5c322a['isAttached']=()=>_0x5c322a['_isAttached'],this['_baseRoots']['set'](_0x25cde2,_0x5c322a),this['_baseRootsAttributes']['set'](_0x25cde2,_0x504a74),_0x2936b0&&this['_touchedRoots']['set'](_0x25cde2,_0x2936b0);const _0x312cba=this['_makeIdsRoot'](_0x5c322a);this['_baseIdsRoots']['set'](_0x25cde2,_0x312cba);for(const [_0x1729a5,_0x30a41e]of _0x5c322a['markers']){if(!_0x1729a5['startsWith']('revision:'))continue;const _0x2af078=_0x1729a5['split'](':')[0x2];for(const _0x3c0482 of _0x30a41e['getWalker']({'singleCharacters':!0x0})){const _0x4508b3=this['_getVidAttributeName'](_0x3c0482),_0xed5a24='elementEnd'==_0x3c0482['type']?_0x3c0482['previousPosition']['path']['slice'](0x0,-0x1):_0x3c0482['previousPosition']['path'],_0x5646a3=_0x312cba['getNodeByPath'](_0xed5a24)['getAttribute'](_0x4508b3);this['_touched']['set'](_0x5646a3,{'userId':_0x2af078});}}}this['_startingRevisionId']=this['_revisionId'];const _0x23c84d=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x17ea31=>!this['_touched']['has'](_0x17ea31));let _0x4aabd3=0x0;const _0x5d2be2=new Map();for(const _0x1bc320 in _0x456007['diffData']){const _0x18571a=_0x456007['diffData'][_0x1bc320]['attachChange'],_0x4629fb=_0x4c9fb9(_0x456007['diffData'][_0x1bc320]['attributesAfter'])||{},_0x3905a1=this['_makeModelFromViewString'](_0x456007['diffData'][_0x1bc320]['insertions']);_0x3905a1['rootName']=_0x1bc320,_0x3905a1['_isAttached']=!_0x18571a||_0x18571a['isAttached'],_0x3905a1['isAttached']=()=>_0x3905a1['_isAttached'],this['_diffRoots']['set'](_0x1bc320,_0x3905a1),this['_diffRootsAttributes']['set'](_0x1bc320,_0x4629fb);const _0x23181f=this['_makeIdsRoot'](_0x3905a1,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x1bc320,_0x23181f),_0x5d2be2['set'](_0x1bc320,_0x3905a1['isAttached']()?_0x4629fb:{});for(const [_0x6464c6,_0x2b120d]of _0x3905a1['markers']){if(!_0x6464c6['startsWith']('revision:'))continue;const _0x1c956d=_0x6464c6['split'](':')[0x2];for(const _0xf447af of _0x2b120d['getWalker']({'singleCharacters':!0x0})){const _0x49e364=this['_getVidAttributeName'](_0xf447af),_0x209e6c=this['_revisionId']++,_0x150162='elementEnd'==_0xf447af['type']?_0xf447af['previousPosition']['path']['slice'](0x0,-0x1):_0xf447af['previousPosition']['path'];_0x23181f['getNodeByPath'](_0x150162)['_setAttribute'](_0x49e364,_0x209e6c),this['_touched']['set'](_0x209e6c,{'userId':_0x1c956d});}}for(const _0x2d1fa7 of this['editor']['model']['createRangeIn'](_0x3905a1)['getWalker']({'singleCharacters':!0x0})){const _0x22b22c=this['_getVidAttributeName'](_0x2d1fa7),_0x2650ab='elementEnd'==_0x2d1fa7['type']?_0x2d1fa7['previousPosition']['path']['slice'](0x0,-0x1):_0x2d1fa7['previousPosition']['path'],_0x135e2c=_0x23181f['getNodeByPath'](_0x2650ab);_0x135e2c['getAttribute'](_0x22b22c)>0x0||_0x135e2c['_setAttribute'](_0x22b22c,_0x23c84d[_0x4aabd3++]);}for(const [_0x3df005,_0x233ed0]of _0x3905a1['markers'])_0x3df005['startsWith']('revision:')||this['_markers']['set'](_0x3df005,_0x233ed0);}const _0xb21b1d=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0xb21b1d),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0xb21b1d,0x1));const _0xf4ace9=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0xf4ace9),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0xf4ace9,0x1));const _0x5a5ea7=Array['from'](this['_diffRoots'])['map'](([_0x483cfa,_0x35fb42])=>[_0x483cfa,q(_0x35fb42)]);this['_saveMetaData'](this['_lastTo'],_0x5a5ea7,this['_markers'],_0x5d2be2);}['_makeModelFromViewString'](_0x592dd3){const _0x58048a=JSON['parse'](_0x592dd3),_0x56316d=this['editor']['editing']['view']['document'],_0x50d442=new _0x402ec4(_0x56316d,_0x58048a['map'](_0x12dcf9=>B(_0x12dcf9,this['editor'])));return this['editor']['data']['toModel'](_0x50d442);}['_saveMetaData'](_0x53fffe,_0x2dcc0d,_0x276ca6,_0x48711a){const _0x19ce92=new Map(_0x2dcc0d),_0x445f46=new Map(_0x4c9fb9(_0x48711a)),_0xab8f97=new Map();for(const [_0x355140,_0xe06545]of _0x276ca6)_0xab8f97['set'](_0x355140,{'start':_0xe06545['start']['clone'](),'end':_0xe06545['end']['clone'](),'rootName':_0xe06545['root']['rootName']});this['_savedMetaData']['set'](_0x53fffe,{'roots':_0x19ce92,'markers':_0xab8f97,'rootsAttributes':_0x445f46});}['_removeMetaData'](_0x2fcc8b){this['_savedMetaData']['delete'](_0x2fcc8b);}['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'](_0x4d1786,_0x3764d1=null){let _0x57b34a=null;_0x4d1786['is']('documentFragment')||(_0x57b34a=new ft(_0x4d1786['name'],{'vid_start':null===_0x3764d1?this['_revisionId']++:_0x3764d1++}));const _0x22b587=[];for(const _0x2b049b of _0x4d1786['getChildren']())if(_0x2b049b['is']('element')){_0x22b587['push'](this['_makeIdsRoot'](_0x2b049b,_0x3764d1));const _0x17c29d=_0x22b587[_0x22b587['length']-0x1];null!==_0x3764d1&&(_0x3764d1=_0x17c29d['is']('element','$text')?_0x17c29d['getAttribute']('vid')+0x1:_0x17c29d['getAttribute']('vid_end')+0x1);}else{for(let _0x175c10=0x0;_0x175c10<_0x2b049b['offsetSize'];_0x175c10++)_0x22b587['push'](new ft('$text',{'vid':null===_0x3764d1?this['_revisionId']++:_0x3764d1++}));}if(_0x4d1786['is']('documentFragment')){const _0x47a662=G(_0x4d1786['rootName']);return _0x47a662['_insertChild'](0x0,_0x22b587),_0x47a662;}return _0x57b34a['_setAttribute']('vid_end',null===_0x3764d1?this['_revisionId']++:_0x3764d1++),_0x57b34a['_insertChild'](0x0,_0x22b587),_0x57b34a;}['_calculateMetaData'](_0x5cbb36,_0x138146,_0x234570){this['_reset']();const {roots:_0xe6cb33,markers:_0x54b83d,rootsAttributes:_0x4041df}=this['_savedMetaData']['get'](_0x5cbb36);this['_baseRoots']=new Map(_0xe6cb33),this['_baseRootsAttributes']=new Map(_0x4c9fb9(_0x4041df));for(const [_0x230b0c,_0xf233ad]of this['_baseRoots'])if('$graveyard'!==_0x230b0c&&(this['_diffRoots']['set'](_0x230b0c,q(_0xf233ad)),this['_diffRootsAttributes']=new Map(_0x4c9fb9(_0x4041df)),_0x234570)){const _0x5f19f6=this['_revisionId'];this['_idsRoots']['set'](_0x230b0c,this['_makeIdsRoot'](_0xf233ad)),this['_baseIdsRoots']['set'](_0x230b0c,this['_makeIdsRoot'](_0xf233ad,_0x5f19f6));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x234570&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x4d5ed2,_0x407891]of _0x54b83d){const _0x5521b5=this['_baseRoots']['get'](_0x407891['rootName']),_0x1f4f6b=this['_diffRoots']['get'](_0x407891['rootName']),_0x21c92b=new vt(this['_fixPosition'](_0x407891['start'],_0x5521b5),this['_fixPosition'](_0x407891['end'],_0x5521b5)),_0x452ebf=this['_fixRange'](_0x21c92b,_0x1f4f6b);_0x5521b5['markers']['set'](_0x4d5ed2,_0x21c92b),this['_markers']['set'](_0x4d5ed2,_0x452ebf);}this['_applyOperations'](_0x5cbb36,_0x138146,_0x234570);}['_applyOperations'](_0x1f2ca8,_0x18f690,_0x32f946){for(const _0x5705e6 of this['source']['getOperations'](_0x1f2ca8,_0x18f690))this['_handleOperation'](_0x5705e6,_0x32f946);for(const _0x4bc901 of this['_diffRoots']['values']())_0x4bc901['markers']['clear']();for(const [_0x560577,_0x216333]of this['_markers']){this['_diffRoots']['get'](_0x216333['root']['rootName'])['markers']['set'](_0x560577,_0x216333['clone']());}const _0x26dc43=new Map(),_0x23d6f6=new Map();for(const [_0x1a6972,_0x44da94]of this['_diffRoots'])_0x26dc43['set'](_0x1a6972,q(_0x44da94)),_0x23d6f6['set'](_0x1a6972,this['_diffRootsAttributes']['get'](_0x1a6972));this['_saveMetaData'](_0x18f690,_0x26dc43,this['_markers'],_0x23d6f6);}['_getPreviousFrom'](_0x3d2e63){const _0x4ad1e2=Array['from'](this['_savedMetaData']['keys']());_0x4ad1e2['sort']((_0x63fa55,_0x25b541)=>_0x63fa55-_0x25b541),_0x4ad1e2['reverse']();for(const _0x1abea8 of _0x4ad1e2)if(_0x1abea8<_0x3d2e63)return _0x1abea8;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x47af95,_0xb3d0b){const _0x21c781=Array['from'](_0xb3d0b['markers'])['map'](([_0x1ecd55,_0x4176c8])=>[_0x1ecd55,this['_fixRange'](_0x4176c8,_0x47af95)]);_0x47af95['markers']=new Map(_0x21c781);}['_transformMarkers'](_0x252768){for(const _0x28030e of this['_markers']['values']()){const _0x3c197d=_0x28030e['getTransformedByOperation'](_0x252768),_0xee6fb4=vt['_createFromRanges'](_0x3c197d);_0x28030e['start']=_0xee6fb4['start'],_0x28030e['end']=_0xee6fb4['end'];}}['_handleOperation'](_0x2e01ad,_0x3f89de){if('addRoot'==_0x2e01ad['type']||'detachRoot'==_0x2e01ad['type'])return void this['_handleRootOperation'](_0x2e01ad,_0x3f89de);if('insert'==_0x2e01ad['type']){const _0x45ae14=_0x2e01ad['position']['root']['rootName'];this['_diffRoots']['has'](_0x45ae14)||(this['_diffRoots']['set'](_0x45ae14,G(_0x45ae14,!0x0)),this['_diffRootsAttributes']['set'](_0x45ae14,{}),_0x3f89de&&this['_idsRoots']['set'](_0x45ae14,G(_0x45ae14,!0x0)));}else{if('addRootAttribute'==_0x2e01ad['type']||'removeRootAttribute'==_0x2e01ad['type']||'changeRootAttribute'==_0x2e01ad['type'])return void this['_handleRootAttributeOperation'](_0x2e01ad);}const _0x577f08=this['_cloneOperation'](_0x2e01ad,this['_diffRoots']);if('marker'!==_0x2e01ad['type']&&(_0x577f08['_execute'](),this['_transformMarkers'](_0x577f08)),_0x3f89de)switch(_0x577f08['type']){case'insert':this['_handleInsertOperation'](_0x2e01ad);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x2e01ad);break;case'merge':this['_handleMergeOperation'](_0x2e01ad);break;case'split':this['_handleSplitOperation'](_0x2e01ad);break;case'marker':this['_handleMarkerOperation'](_0x2e01ad);}}['_cloneOperation'](_0xac0eea,_0x114cb1){const _0x125261=_0xac0eea['clone']();return _0x125261['_authorId']=_0xac0eea['_authorId'],this['_fixOperation'](_0x125261,_0x114cb1),_0x125261;}['_getBaseVids'](_0x2cabf4){return _0x2cabf4['map'](_0x1f4b55=>{const _0x3e6707=this['_getVidAttributeName'](_0x1f4b55);return Number(_0x1f4b55['item']['getAttribute'](_0x3e6707));});}['_generateTape'](_0xe200f,_0x2a6d29){if(_0xe200f['is']('element','$text'))_0x2a6d29['push']({'item':_0xe200f,'type':'text'});else{_0xe200f['is']('element')&&_0x2a6d29['push']({'item':_0xe200f,'type':'elementStart'});for(const _0x3ad0ad of _0xe200f['getChildren']())this['_generateTape'](_0x3ad0ad,_0x2a6d29);_0xe200f['is']('element')&&_0x2a6d29['push']({'item':_0xe200f,'type':'elementEnd'});}return _0x2a6d29;}['_getState'](){const _0x5c95f4=new Map(this['_touched']),_0x23a60c=new Map(_0x5c95f4),_0x43f205=new Map(),_0x4e9d90={'insertions':{},'deletions':{}},_0x15d1fb={'insertions':{},'deletions':{}},_0x3124c6=new Map(),_0x5dea63=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x5dea63['delete']('$graveyard');for(const _0x30e44e of _0x5dea63){const _0x55c85b=this['_diffRoots']['get'](_0x30e44e)||G(_0x30e44e,!0x1),_0x21c926=this['_baseRoots']['get'](_0x30e44e)||G(_0x30e44e,!0x1);_0x55c85b['isAttached']()||_0x21c926['isAttached']()?(_0x4e9d90['insertions'][_0x30e44e]=q(_0x55c85b),_0x4e9d90['deletions'][_0x30e44e]=q(_0x21c926),this['_copyMarkers'](_0x4e9d90['deletions'][_0x30e44e],_0x21c926),this['_copyMarkers'](_0x4e9d90['insertions'][_0x30e44e],_0x55c85b),_0x15d1fb['insertions'][_0x30e44e]=this['_generateTape'](this['_idsRoots']['get'](_0x30e44e),[]),_0x15d1fb['deletions'][_0x30e44e]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x30e44e)||G(_0x30e44e,!0x1),[])):_0x5dea63['delete'](_0x30e44e);}for(const _0x2aaf33 of _0x5dea63){const _0x455e09=_0x15d1fb['insertions'][_0x2aaf33];for(const _0x33e3c3 of _0x455e09){const _0xfc7a55=this['_getVidAttributeName'](_0x33e3c3),_0x241044=_0x33e3c3['item']['getAttribute'](_0xfc7a55);_0x23a60c['delete'](_0x241044),_0x241044>=this['_startingRevisionId']&&_0x43f205['set'](_0x241044,_0x5c95f4['get'](_0x241044));}}for(const _0x1ed1da of _0x5dea63){const _0x22d3a6=_0x15d1fb['insertions'][_0x1ed1da],_0x47dbf2=this['_getBaseVids'](_0x15d1fb['deletions'][_0x1ed1da]);let _0x1ab0d8=0x0;for(const _0xb8ef25 of _0x22d3a6){const _0x32d784=this['_getVidAttributeName'](_0xb8ef25),_0x1d1649=_0xb8ef25['item']['getAttribute'](_0x32d784);if(!_0x43f205['has'](_0x1d1649)&&!_0x3124c6['has'](_0x1d1649)){if(_0x23a60c['has'](_0x1d1649))_0x1ab0d8++;else{if(_0x1d1649!=_0x47dbf2[_0x1ab0d8]){const _0x67499f=_0x5c95f4['get'](_0x1d1649)||_0x5c95f4['get'](_0x47dbf2[_0x1ab0d8]);for(;_0x1d1649!=_0x47dbf2[_0x1ab0d8];)_0x23a60c['has'](_0x47dbf2[_0x1ab0d8])||(_0x3124c6['set'](_0x47dbf2[_0x1ab0d8],_0x67499f),_0x5c95f4['set'](_0x47dbf2[_0x1ab0d8],_0x67499f)),_0x1ab0d8++;}_0x1ab0d8++;}}}}for(const _0x569031 of _0x5dea63){const _0x2cf529=_0x15d1fb['insertions'][_0x569031];for(const _0x48a324 of _0x2cf529){const _0x5834f1=this['_getVidAttributeName'](_0x48a324),_0x1e7df0=_0x48a324['item']['getAttribute'](_0x5834f1);if(_0x3124c6['has'](_0x1e7df0)){const _0x3be1da=_0x3124c6['get'](_0x1e7df0);_0x23a60c['has'](_0x1e7df0)||_0x23a60c['set'](_0x1e7df0,{..._0x3be1da}),_0x43f205['set'](_0x1e7df0,{..._0x3be1da});}}}for(const _0x137723 of _0x23a60c['keys']())_0x137723>=this['_startingRevisionId']&&_0x23a60c['delete'](_0x137723);const _0x208838=new Map();for(const _0x27edc of _0x5dea63){let _0x3d8136=_0x15d1fb['insertions'][_0x27edc];for(const _0x45072a of _0x3d8136)if(_0x45072a['item']['is']('element','tableCell')){const _0x313aa4=this['_getVidAttributeName'](_0x45072a),_0x80c864=_0x45072a['item']['getAttribute'](_0x313aa4);if(_0x43f205['has'](_0x80c864)){const _0x17a734=_0x45072a['item']['parent']['parent']['getAttribute']('vid_start'),_0x4110fd=_0x208838['get'](_0x17a734)||new Set();_0x4110fd['add'](_0x43f205['get'](_0x80c864)['userId']),_0x208838['set'](_0x17a734,_0x4110fd);}}_0x3d8136=_0x15d1fb['deletions'][_0x27edc];for(const _0x3bb050 of _0x3d8136)if(_0x3bb050['item']['is']('element','tableCell')){const _0x1745af=this['_getVidAttributeName'](_0x3bb050),_0x328f71=_0x3bb050['item']['getAttribute'](_0x1745af);if(_0x23a60c['has'](_0x328f71)){const _0x225b7e=_0x3bb050['item']['parent']['parent']['getAttribute']('vid_start'),_0x40942d=_0x208838['get'](_0x225b7e)||new Set();_0x40942d['add'](_0x23a60c['get'](_0x328f71)['userId']),_0x208838['set'](_0x225b7e,_0x40942d);}}for(const _0x3aa5a8 of _0x208838['keys']())(_0x43f205['has'](_0x3aa5a8)||_0x23a60c['has'](_0x3aa5a8))&&_0x208838['delete'](_0x3aa5a8);}for(const _0x301757 of _0x5dea63){const _0x4399fb=_0x15d1fb['insertions'][_0x301757];let _0x4168f4=null,_0x30a174=null;for(const _0x2931f2 of _0x4399fb){const _0xc298e=this['_getVidAttributeName'](_0x2931f2),_0x340f13=_0x2931f2['item']['getAttribute'](_0xc298e),_0x573088=_0x208838['get'](_0x340f13);_0x573088&&'elementStart'==_0x2931f2['type']&&(_0x4168f4=Array['from'](_0x573088)[0x0],_0x30a174=_0x2931f2['item']['getAttribute']('vid_end')),_0x4168f4&&(_0x23a60c['set'](_0x340f13,{'userId':_0x4168f4}),_0x43f205['set'](_0x340f13,{'userId':_0x4168f4})),_0x340f13==_0x30a174&&(_0x4168f4=null,_0x30a174=null);}}const _0x487082={},_0x10bf6a=new Set();for(const _0x32f9c2 of _0x5dea63){const _0x3e7b14=_0x4e9d90['deletions'][_0x32f9c2],_0x19c852=_0x4e9d90['insertions'][_0x32f9c2];for(const {userId:_0x10c028}of this['_touchedMarkers']['values']())null!==_0x10c028&&_0x10bf6a['add'](_0x10c028);for(const {userId:_0x17a591}of this['_touchedRoots']['values']())null!==_0x17a591&&_0x10bf6a['add'](_0x17a591);this['_markChanges'](_0x19c852,_0x15d1fb['insertions'][_0x32f9c2],_0x43f205,'insertion',_0x10bf6a),this['_markChanges'](_0x3e7b14,_0x15d1fb['deletions'][_0x32f9c2],_0x23a60c,'deletion',_0x10bf6a),_0x487082[_0x32f9c2]={'insertions':this['_prepareViewToSave'](_0x19c852),'deletions':this['_prepareViewToSave'](_0x3e7b14),'attachChange':this['_touchedRoots']['get'](_0x32f9c2)||null,'attributesBefore':_0x4c9fb9(this['_baseRootsAttributes']['get'](_0x32f9c2))||{},'attributesAfter':_0x4c9fb9(this['_diffRootsAttributes']['get'](_0x32f9c2))};}return{'diffData':_0x487082,'authorsIds':Array['from'](_0x10bf6a)};}['_processRootBeforeSave'](_0x341496){for(const [,_0x1b4082]of _0x341496['markers']){const _0x2d607d=_0x1b4082['start']['getAncestors']()['filter'](_0x34e84c=>'tableCell'==_0x34e84c['name']);for(const _0x3410a3 of _0x2d607d)0x1==_0x3410a3['childCount']&&_0x3410a3['getChild'](0x0)['is']('element','paragraph')&&_0x3410a3['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x1716af){this['_processRootBeforeSave'](_0x1716af);const _0x2086dc=this['editor']['data']['toView'](_0x1716af,{}),_0x1cd7d6=Array['from'](_0x2086dc['getChildren']())['map'](_0x10ad49=>this['_getViewJson'](_0x10ad49));return JSON['stringify'](_0x1cd7d6);}['_getViewJson'](_0x472f98){if(_0x472f98['is']('$text'))return _0x472f98['data'];{const _0x153cde=_0x472f98;return{'type':Object['keys'](T)['find'](_0x388a8a=>_0x472f98 instanceof T[_0x388a8a]),'name':_0x153cde['name'],'attributes':Array['from'](_0x153cde['getAttributes']()),'children':Array['from'](_0x153cde['getChildren']())['map'](_0x772bd6=>this['_getViewJson'](_0x772bd6))};}}['_markChanges'](_0x2151b8,_0x57cfea,_0x2e710d,_0x133f01,_0x3883a3){let _0x499a3c=null,_0x5d0b34=null,_0x4fa6ad=0x0;const _0x3dea57=this['editor']['model'];for(let _0x777a83=0x0;_0x777a83<_0x57cfea['length'];_0x777a83++){const _0x5dd020=this['_getVidAttributeName'](_0x57cfea[_0x777a83]),_0x3ec271=_0x57cfea[_0x777a83]['item']['getAttribute'](_0x5dd020),_0x2df41d=_0x2e710d['get'](_0x3ec271),_0x173726=_0x777a83==_0x57cfea['length']-0x1;(!_0x499a3c&&_0x2df41d&&(_0x499a3c=_0x2df41d,_0x5d0b34=_0x57cfea[_0x777a83]),_0x499a3c&&(!_0x2df41d||_0x2df41d['userId']!=_0x499a3c['userId']))&&(_0x1e3ebc(_0x2df41d,L(_0x5d0b34,_0x2151b8,_0x3dea57),L(_0x57cfea[_0x777a83],_0x2151b8,_0x3dea57)),_0x499a3c=_0x2df41d||null,_0x5d0b34=_0x2df41d?_0x57cfea[_0x777a83]:null),_0x499a3c&&_0x173726&&_0x1e3ebc(_0x2df41d,L(_0x5d0b34,_0x2151b8,_0x3dea57),W(_0x57cfea[_0x777a83],_0x2151b8,_0x3dea57));}function _0x1e3ebc(_0x506996,_0x6ee1f5,_0x360272){const _0x4a9573=_0x499a3c['userId'],_0x22b755='revision:'+_0x133f01+':'+_0x4a9573+':'+_0x4fa6ad++,_0x5676f3=_0x3dea57['createRange'](_0x6ee1f5,_0x360272);_0x2151b8['markers']['set'](_0x22b755,_0x5676f3),null!==_0x4a9573&&_0x3883a3['add'](_0x4a9573);}}['_getVidAttributeName'](_0xa6fa41){switch(_0xa6fa41['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x18834c,_0x439ea8){_0x18834c['baseVersion']=null;for(const _0x173a21 in _0x18834c){const _0x1db105=_0x18834c[_0x173a21];if(_0x1db105 instanceof gt){const _0x5b03e9=_0x439ea8['get'](_0x1db105['root']['rootName']);_0x18834c[_0x173a21]=this['_fixPosition'](_0x1db105,_0x5b03e9);}if(_0x1db105 instanceof vt){const _0x3f61a2=_0x439ea8['get'](_0x1db105['root']['rootName']);_0x18834c[_0x173a21]=this['_fixRange'](_0x1db105,_0x3f61a2);}'root'===_0x173a21&&(_0x18834c['root']=_0x439ea8['get'](_0x18834c['root']['rootName']));}}['_fixRange'](_0x2f6bab,_0x211b34){return this['editor']['model']['createRange'](this['_fixPosition'](_0x2f6bab['start'],_0x211b34),this['_fixPosition'](_0x2f6bab['end'],_0x211b34));}['_fixPosition'](_0x59e9cc,_0x223f04){return this['editor']['model']['createPositionFromPath'](_0x223f04,_0x59e9cc['path'],_0x59e9cc['stickiness']);}['_handleInsertOperation'](_0x5d91b0){const _0x179c4c=this['_idsRoots']['get'](_0x5d91b0['position']['root']['rootName']),_0x1db484=this['_fixPosition'](_0x5d91b0['position'],_0x179c4c),_0x284c99=null===_0x5d91b0['_authorId']?null:_0x5d91b0['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3f2dd9=_0x1db484['parent'],_0x2c15da=this['_revisionId'],_0x435e78=[];for(const _0x1f0ea1 of _0x5d91b0['nodes'])if(_0x1f0ea1['is']('element'))_0x435e78['push'](this['_makeIdsRoot'](_0x1f0ea1));else{for(let _0x33fd96=0x0;_0x33fd96<_0x1f0ea1['offsetSize'];_0x33fd96++)_0x435e78['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x2eea0d=this['_revisionId'];for(let _0x2322d3=_0x2c15da;_0x2322d3<_0x2eea0d;_0x2322d3++)this['_touched']['set'](_0x2322d3,{'userId':_0x284c99});_0x3f2dd9['_insertChild'](_0x1db484['offset'],_0x435e78);}['_handleMoveOperation'](_0x193c36){(_0x193c36=this['_cloneOperation'](_0x193c36,this['_idsRoots']))['_execute']();const _0xeaaa92=null===_0x193c36['_authorId']?null:_0x193c36['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x15d9fc=_0x193c36['getMovedRangeStart'](),_0x282ba4=_0x15d9fc['parent'],_0x24f3aa=_0x15d9fc['offset'];!function _0x31264b(_0x19f97f,_0x1aaa0c,_0x428571,_0x2e8080){for(let _0x166ff9=_0x428571;_0x166ff9<_0x2e8080;_0x166ff9++){const _0x4e5894=_0x1aaa0c['getChild'](_0x166ff9);_0x4e5894['is']('element','$text')?_0x19f97f['set'](_0x4e5894['getAttribute']('vid'),{'userId':_0xeaaa92}):(_0x19f97f['set'](_0x4e5894['getAttribute']('vid_start'),{'userId':_0xeaaa92}),_0x31264b(_0x19f97f,_0x4e5894,0x0,_0x4e5894['childCount']),_0x19f97f['set'](_0x4e5894['getAttribute']('vid_end'),{'userId':_0xeaaa92}));}}(this['_touched'],_0x282ba4,_0x24f3aa,_0x24f3aa+_0x193c36['howMany']);}['_handleMergeOperation'](_0x88a28d){const _0x2a3d9c=null===(_0x88a28d=this['_cloneOperation'](_0x88a28d,this['_idsRoots']))['_authorId']?null:_0x88a28d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5be13b=_0x88a28d['targetPosition']['parent'],_0x1f0020=_0x88a28d['sourcePosition']['parent'],_0xe3c9b3=_0x5be13b['getAttribute']('vid_end'),_0xc68441=_0x1f0020['getAttribute']('vid_start');_0x5be13b['_setAttribute']('vid_end',_0x1f0020['getAttribute']('vid_end')),_0x1f0020['_setAttribute']('vid_end',_0xe3c9b3),this['_touched']['set'](_0xc68441,{'userId':_0x2a3d9c}),this['_touched']['set'](_0xe3c9b3,{'userId':_0x2a3d9c}),_0x88a28d['_execute']();}['_handleSplitOperation'](_0x2452f9){const _0x2563c6=null===(_0x2452f9=this['_cloneOperation'](_0x2452f9,this['_idsRoots']))['_authorId']?null:_0x2452f9['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1f26e3=_0x2452f9['graveyardPosition'],_0x1910bb=_0x2452f9['splitPosition']['parent'];_0x2452f9['_execute']();const _0x4f55e3=_0x1910bb['getAttribute']('vid_end'),_0x22b2a8=_0x2452f9['insertionPosition']['nodeAfter'];if(_0x1f26e3){const _0x2fde14=_0x22b2a8['getAttribute']('vid_end'),_0x38eb87=_0x1910bb['getAttribute']('vid_end');_0x1910bb['_setAttribute']('vid_end',_0x2fde14),_0x22b2a8['_setAttribute']('vid_end',_0x38eb87),this['_touched']['set'](_0x1910bb['getAttribute']('vid_end'),{'userId':_0x2563c6}),this['_touched']['set'](_0x22b2a8['getAttribute']('vid_start'),{'userId':_0x2563c6});}else{const _0x5d33a0=this['_revisionId']++,_0x5c4861=this['_revisionId']++;_0x1910bb['_setAttribute']('vid_end',_0x5d33a0),_0x22b2a8['_setAttribute']('vid_start',_0x5c4861),_0x22b2a8['_setAttribute']('vid_end',_0x4f55e3),this['_touched']['set'](_0x5d33a0,{'userId':_0x2563c6}),this['_touched']['set'](_0x5c4861,{'userId':_0x2563c6});}}['_handleMarkerOperation'](_0x13c5ca){if(!_0x13c5ca['affectsData'])return;const _0x44f209=(_0x13c5ca=this['_cloneOperation'](_0x13c5ca,this['_diffRoots']))['oldRange']?_0x13c5ca['oldRange']['root']:null,_0x503b3c=_0x13c5ca['newRange']?_0x13c5ca['newRange']['root']:null;_0x44f209&&this['_markers']['delete'](_0x13c5ca['name']),_0x503b3c&&this['_markers']['set'](_0x13c5ca['name'],_0x13c5ca['newRange']['clone']());const _0xbef982=null===_0x13c5ca['_authorId']?null:_0x13c5ca['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x91ec36=_0x13c5ca['name'];if(!this['_touchedMarkers']['has'](_0x91ec36))return void this['_touchedMarkers']['set'](_0x91ec36,{'range':_0x13c5ca['oldRange'],'userId':_0xbef982});const _0x2aad2a=this['_touchedMarkers']['get'](_0x91ec36),_0x214b77=_0x2aad2a['range'],_0x5175f6=_0x13c5ca['newRange'];null==_0x214b77&&null==_0x5175f6||_0x214b77&&_0x5175f6&&_0x214b77['isEqual'](_0x5175f6)?this['_touchedMarkers']['delete'](_0x13c5ca['name']):_0x2aad2a['userId']=_0xbef982;}['_handleRootOperation'](_0x5af350,_0x322e7d){this['_diffRoots']['has'](_0x5af350['rootName'])?this['_diffRoots']['get'](_0x5af350['rootName'])['_isAttached']=_0x5af350['isAdd']:(this['_diffRoots']['set'](_0x5af350['rootName'],G(_0x5af350['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x5af350['rootName'],{}),_0x322e7d&&this['_idsRoots']['set'](_0x5af350['rootName'],G(_0x5af350['rootName'],!0x0)));const _0x32d0fd=null===_0x5af350['_authorId']?null:_0x5af350['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x281d0b=this['_touchedRoots']['get'](_0x5af350['rootName']);_0x281d0b&&_0x281d0b['userId']===_0x32d0fd?this['_touchedRoots']['delete'](_0x5af350['rootName']):this['_touchedRoots']['set'](_0x5af350['rootName'],{'userId':_0x32d0fd,'isAttached':_0x5af350['isAdd']});}['_handleRootAttributeOperation'](_0x5bff7e){const _0x41ec77=this['_diffRootsAttributes']['get'](_0x5bff7e['root']['rootName']);null===_0x5bff7e['newValue']?delete _0x41ec77[_0x5bff7e['key']]:_0x41ec77[_0x5bff7e['key']]=_0x5bff7e['newValue'];}}function q(_0x1e208f){const _0x2fd4b9=G(_0x1e208f['rootName'],_0x1e208f['isAttached']());for(const _0x5091b5 of _0x1e208f['getChildren']()){const _0x25c3c1=_0x5091b5['_clone'](!0x0);_0x2fd4b9['_appendChild'](_0x25c3c1);}return _0x2fd4b9;}function G(_0x3fd576,_0x36e490=!0x0){const _0x3f1f79=new wt();return _0x3f1f79['rootName']=_0x3fd576,_0x3f1f79['_isAttached']=_0x36e490,_0x3f1f79['isAttached']=()=>_0x3f1f79['_isAttached'],_0x3f1f79;}function L(_0x4189d5,_0x814051,_0x1cd3af){const _0x8ba0d6='elementEnd'==_0x4189d5['type']?_0x1cd3af['createPositionAt'](_0x4189d5['item'],'end'):_0x1cd3af['createPositionBefore'](_0x4189d5['item']);return _0x1cd3af['createPositionFromPath'](_0x814051,_0x8ba0d6['path'],_0x8ba0d6['stickiness']);}function W(_0x479056,_0x59e968,_0x5a6d56){const _0x40966d='elementStart'==_0x479056['type']?_0x5a6d56['createPositionAt'](_0x479056['item'],0x0):_0x5a6d56['createPositionAfter'](_0x479056['item']);return _0x5a6d56['createPositionFromPath'](_0x59e968,_0x40966d['path'],_0x40966d['stickiness']);}class ns extends _0x50a5ec{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x2508e9,_0x401856){super(_0x2508e9),this['focusTracker']=new _0x141e82(),this['keystrokes']=new _0x56495d(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x401856),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'](),_0x37df89({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x5e7c66=_0x2a9320=>_0x2a9320['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5e7c66),this['keystrokes']['set']('arrowleft',_0x5e7c66),this['keystrokes']['set']('arrowup',_0x5e7c66),this['keystrokes']['set']('arrowdown',_0x5e7c66);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x727bc5){this['revisionNameInputView']['fieldView']['element']['value']=_0x727bc5['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x4ca096){const _0x31f6e6=new at(this['locale'],_0x5cc1e8),_0x381913=_0x31f6e6['fieldView'];_0x381913['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x54b232=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x4ca096&&(_0x54b232+='\x20('+y(this['locale'],'optional')+')'),(_0x31f6e6['label']=_0x54b232,_0x381913['on']('input',()=>{this['revisionNameInputValue']=_0x381913['element']['value']['trim']();}),_0x31f6e6);}}class u extends _0x1123d9{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x2a87aa=this['editor'],_0x4c3a13=_0x2a87aa['plugins']['get']('RevisionTracker');_0x2a87aa['ui']['componentFactory']['add']('revisionHistory',_0x3adf3f=>{const _0x3daf36=_0x374c53(_0x3adf3f),_0x5cdc8a=_0x3daf36['panelView']['children'],_0x218aef=new te(_0x3adf3f),_0x92d80f=new _0x41e79e(_0x3adf3f),_0x745582=new _0x124c6e(_0x3adf3f),_0x4921dd=new _0x41e79e(_0x3adf3f),_0x54b4d7=new _0x124c6e(_0x3adf3f);return _0x3daf36['bind']('isEnabled')['to'](_0x4c3a13,'isReady',_0x4c3a13,'isEnabled',_0x2a87aa,'isReadOnly',(_0x40a850,_0x62b980,_0x1f9f41)=>_0x40a850&&_0x62b980&&!_0x1f9f41),_0x3daf36['buttonView']['set']({'icon':_0x209ed5['history'],'label':y(_0x3adf3f,'Revision\x20history'),'tooltip':!0x0}),_0x745582['set']({'label':y(_0x3adf3f,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x745582['bind']('isEnabled')['to'](_0x4c3a13,'isReady',_0x4c3a13,'isEnabled',_0x2a87aa,'isReadOnly',(_0x3179ba,_0x5903c8,_0x32c32b)=>_0x3179ba&&_0x5903c8&&!_0x32c32b),_0x745582['on']('execute',()=>this['_showDialog']()),_0x54b4d7['set']({'label':y(_0x3adf3f,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x54b4d7['bind']('isEnabled')['to'](_0x4c3a13,'isReady',_0x2a87aa,'isReadOnly',(_0x13027e,_0x2e3b3a)=>_0x13027e&&!_0x2e3b3a),_0x54b4d7['on']('execute',()=>{_0x2a87aa['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x3daf36['isOpen']=!0x1,_0x2a87aa['editing']['view']['focus']();}),_0x92d80f['children']['add'](_0x745582),_0x4921dd['children']['add'](_0x54b4d7),_0x218aef['role']='menu',_0x218aef['items']['addMany']([_0x92d80f,_0x4921dd]),_0x5cdc8a['add'](_0x218aef),_0x3daf36;}),_0x2a87aa['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x4efac7=this['editor'],_0x40578b=_0x4efac7['locale'],_0x1a871b=new _0x5d8e4d(_0x40578b),_0x536479=new _0x56786e(_0x40578b);_0x1a871b['buttonView']['set']({'icon':_0x209ed5['history'],'label':y(_0x40578b,'Revision\x20history')});const _0x4e14b6=new _0x444935(_0x40578b,_0x1a871b),_0x170729=new _0x1623e4(_0x40578b);_0x170729['set']({'label':y(_0x40578b,'Save\x20current\x20revision')}),_0x170729['delegate']('execute')['to'](_0x1a871b),_0x170729['on']('execute',()=>{this['_showDialog']();}),_0x4e14b6['children']['add'](_0x170729),_0x536479['items']['add'](_0x4e14b6);const _0xa71cda=new _0x444935(_0x40578b,_0x1a871b),_0x53de2e=new _0x1623e4(_0x40578b);return _0x53de2e['set']({'label':y(_0x40578b,'Open\x20revision\x20history')}),_0x53de2e['delegate']('execute')['to'](_0x1a871b),_0x53de2e['on']('execute',()=>{_0x4efac7['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0xa71cda['children']['add'](_0x53de2e),_0x536479['items']['add'](_0xa71cda),_0x1a871b['panelView']['children']['add'](_0x536479),_0x1a871b;}['_showDialog'](){const _0x28cfa3=this['editor'],_0x3befc1=_0x28cfa3['locale'],_0x5a3f97=_0x28cfa3['plugins']['get']('Dialog'),_0x5cd473=_0x28cfa3['plugins']['get']('RevisionTracker');function _0x4100ef(_0x1243ab){_0x28cfa3['config']['get']('revisionHistory.requireRevisionName')&&''===_0x1243ab['revisionName']?_0x1243ab['revisionNameInputView']['errorText']=y(_0x3befc1,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x28cfa3['plugins']['get'](l)['saveRevision']({'name':_0x1243ab['revisionName']}),_0x5a3f97['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x4100ef(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x5a3f97['show']({'id':'revisionSave','title':y(_0x3befc1,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x28cfa3['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x5a3f97['hide']()},{'label':y(_0x28cfa3['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x3e7dd1){_0x3e7dd1['bind']('isEnabled')['to'](_0x5cd473,'isReady',_0x5cd473,'isEnabled',_0x28cfa3,'isReadOnly',(_0x58e9a2,_0x48ad09,_0x2644a5)=>_0x58e9a2&&_0x48ad09&&!_0x2644a5);},'onExecute':()=>_0x4100ef(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x7c1d19=this['editor'],_0x2f9af8=_0x7c1d19['locale'];this['_saveRevisionFormView']=new ns(_0x2f9af8,_0x7c1d19['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x50a5ec{['changeId'];['_model'];constructor(_0x3c3697,_0x4da301){super(_0x3c3697),this['_model']=_0x4da301,this['changeId']=_0x4da301['id'];const _0x22da79=this['bindTemplate'],_0x565da7=y(_0x3c3697,_0x4da301['data']['isSuggestion']?'Suggested\x20by':'add'==_0x4da301['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x4da301['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x22da79['to']('type',_0x2768c7=>'ck-revision-change__'+_0x2768c7)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x565da7}]},{'text':'\x20'+_0x4da301['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x3ce664(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x4f4b8a){super(),this['id']=_0x4f4b8a['id']||_0x303c82(),this['author']=_0x4f4b8a['author'],this['type']=_0x4f4b8a['type'],this['data']=_0x4f4b8a['data']||{},this['rootName']=_0x4f4b8a['rootName'],this['set']('createdAt',_0x4f4b8a['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(_0x4afbf5,_0x48d585){this['newRevisionId']=_0x4afbf5,this['oldRevisionId']=_0x48d585,this['changes']=new _0x2716bd();}['_setChanges'](_0x83c97f){for(const _0x33b491 of _0x83c97f)this['changes']['add'](_0x33b491);}}const tt={'c':_0x5cd050,'a':_0x4019e5,'e':_0x23fa7a,'r':_0x5971c0,'u':_0x42996e};class d extends _0x1123d9{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x21367c,_0xbac416,A];}constructor(_0x5dff1b){super(_0x5dff1b),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',(_0xda1d36,_0x2e9d90,_0x937ea9)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x466f39=>{for(const _0x4933b4 of this['editor']['editing']['view']['document']['roots'])_0x937ea9?_0x466f39['removeClass']('ck-editor__editable__overlay',_0x4933b4):_0x466f39['addClass']('ck-editor__editable__overlay',_0x4933b4);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x59f773=>null!==_0x59f773),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x47d1a3,_0x4c0fc5,_0x12f351)=>_0x47d1a3&&_0x12f351?_0x4c0fc5['changes']['getIndex'](_0x12f351):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x4045f5,_0x16eb19)=>_0x4045f5?_0x16eb19['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0xbac416);}['init'](){const _0x3e3034=this['editor'],_0x59eaf5=new yt(_0x3e3034,{'direction':'backward'}),_0x2e7feb=new yt(_0x3e3034,{'direction':'forward'});(_0x3e3034['commands']['add']('showPreviousChange',_0x59eaf5),_0x3e3034['commands']['add']('showNextChange',_0x2e7feb),_0x3e3034['commands']['add']('restoreRevision',new bt(_0x3e3034)),this['on']('change:numberOfChanges',()=>{_0x59eaf5['refresh'](),_0x2e7feb['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x3e3034['enableReadOnlyMode']('revision-viewer'),_0x3e3034['plugins']['has']('WidgetToolbarRepository'))&&_0x3e3034['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x17d128){await this['loadRevisionData'](_0x17d128);const _0xfde353={};for(const _0x321e0e in _0x17d128['diffData']){if(_0x17d128['diffData'][_0x321e0e]['attachChange']&&!_0x17d128['diffData'][_0x321e0e]['attachChange']['isAttached'])continue;const _0x4937a4=this['_removeRevisionMarkers'](JSON['parse'](_0x17d128['diffData'][_0x321e0e]['insertions'])),_0x4cc5d8=this['editor']['editing']['view']['document'],_0x43556f=new _0x402ec4(_0x4cc5d8,_0x4937a4['map'](_0x30a074=>this['_getViewObj'](_0x30a074)));this['editor']['data']['processor']['useFillerType']('marked'),_0xfde353[_0x321e0e]=this['editor']['data']['processor']['toData'](_0x43556f),this['editor']['data']['processor']['useFillerType']('default');}return _0xfde353;}async['getRevisionRootsAttributes'](_0x35f026){await this['loadRevisionData'](_0x35f026);const _0x1d5219={};for(const _0x4c4ed3 in _0x35f026['diffData'])_0x35f026['diffData'][_0x4c4ed3]['attachChange']&&!_0x35f026['diffData'][_0x4c4ed3]['attachChange']['isAttached']||(_0x1d5219[_0x4c4ed3]=_0x35f026['diffData'][_0x4c4ed3]['attributesAfter']||{});return _0x1d5219;}['_removeRevisionMarkers'](_0x2a043b){return(_0x2a043b=_0x2a043b['filter'](_0x394008=>!_0x394008['name']||'revision-start'!==_0x394008['name']&&'revision-end'!==_0x394008['name']))['forEach'](_0x181bfd=>{'string'!=typeof _0x181bfd&&(_0x181bfd['children']=this['_removeRevisionMarkers'](_0x181bfd['children']),_0x181bfd['attributes']=_0x181bfd['attributes']['filter'](_0xb2f340=>!_0xb2f340[0x0]['startsWith']('data-revision-')));}),_0x2a043b;}async['compare'](_0x53d55d,_0x3d4c82,_0x2aa871=!0x1){if(!this['isEnabled'])return;const _0x3f02bf=this['diff'],_0x14b882=this['repository'],_0x49cf58='string'==typeof _0x53d55d?_0x14b882['getRevision'](_0x53d55d):_0x53d55d,_0x46af35='string'==typeof _0x3d4c82?_0x14b882['getRevision'](_0x3d4c82):_0x3d4c82,_0xdd9469=_0x49cf58['id'],_0x140749=_0x46af35?_0x46af35['id']:null;if(!_0x2aa871&&this['diff']&&this['diff']['newRevisionId']===_0xdd9469&&this['diff']['oldRevisionId']===_0x140749)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0xdd9469,_0x140749);const _0x3b1568=this['_getRevisionsRange'](_0x49cf58,_0x46af35,!0x0)['map'](_0x1a8906=>this['loadRevisionData'](_0x1a8906));return _0x3b1568['push'](new Promise(_0x3dcb3c=>{setTimeout(_0x3dcb3c,0x14);})),Promise['all'](_0x3b1568)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0xb1b0a1=this['_getDiff'](_0xdd9469,_0x140749);for(const _0x17c4d3 of _0xb1b0a1['changes'])this['_changeIdToChange']['set'](_0x17c4d3['id'],_0x17c4d3);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x1ec6e1=>{for(const _0x245057 of this['editor']['model']['document']['getRootNames']())_0x1ec6e1['detachRoot'](_0x245057);for(const _0x37bbd9 of Object['keys'](_0xb1b0a1['model'])){const _0x3052ad=_0x1ec6e1['addRoot'](_0x37bbd9);for(const _0x3888a6 of Object['keys'](_0xb1b0a1['attributes'][_0x37bbd9]))_0x1ec6e1['setAttribute'](_0x3888a6,_0xb1b0a1['attributes'][_0x37bbd9][_0x3888a6],_0x3052ad);_0x1ec6e1['insert'](_0xb1b0a1['model'][_0x37bbd9],_0x3052ad,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0xb1b0a1['changes'])),this['isReady']=!0x0;})['catch'](_0x578cfc=>{console['error'](_0x578cfc),this['_cleanUp'](),_0x3f02bf&&(this['diff']=_0x3f02bf),this['isReady']=!0x0;});}['addRevisionData'](_0x2ee672,_0x5e7f10){const _0x4ac975=this['repository']['createRevision'](_0x2ee672);return _0x4ac975['on']('_update',(_0x12993c,_0x11aa8a,_0x2af952)=>_0x5e7f10(_0x11aa8a,_0x2af952,_0x4ac975)),this['repository']['addRevision'](_0x4ac975),_0x4ac975;}['loadRevisionData'](_0x470682){if(!_0x470682||_0x470682['diffData'])return Promise['resolve']();{const _0x942cad=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x942cad,'revisionId':_0x470682['id']})['then'](_0x2d92c9=>{_0x470682['_update']({'diffData':_0x2d92c9['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},_0x13df29=>{for(const _0x47e12f of this['editor']['model']['document']['getRootNames']())_0x13df29['detachRoot'](_0x47e12f);});}['_sortAndFilterDiffChanges'](_0x51c7ba){const _0x4ffb12=[],_0xf14cd8=new Map();for(const _0x1c7756 of this['editor']['model']['document']['getRootNames']()){const _0x3de1e5=this['editor']['editing']['view']['getDomRoot'](_0x1c7756);if(!_0x3de1e5)continue;const _0x446ddc=_0x3de1e5['getClientRects']()['item'](0x0);_0x446ddc&&(_0x4ffb12['push'](_0x1c7756),_0xf14cd8['set'](_0x1c7756,_0x446ddc));}return _0x4ffb12['sort']((_0x14a50f,_0x1749f1)=>{const _0x26d4c0=_0xf14cd8['get'](_0x14a50f),_0x3e0624=_0xf14cd8['get'](_0x1749f1);return _0x26d4c0['y']-_0x3e0624['y']||_0x26d4c0['x']-_0x3e0624['x'];}),(_0x51c7ba=_0x51c7ba['filter'](_0x5dcbfe=>_0x4ffb12['includes'](_0x5dcbfe['rootName'])))['sort']((_0x31488c,_0x3fd730)=>_0x4ffb12['indexOf'](_0x31488c['rootName'])-_0x4ffb12['indexOf'](_0x3fd730['rootName'])),_0x51c7ba;}['_makeTape'](_0x54c8aa){const _0x264732=Array['from'](_0x54c8aa['markers'])['filter'](([_0x1dce0f,_0x5e0df6])=>_0x1dce0f['startsWith']('revision:')&&!_0x5e0df6['isCollapsed']),_0x56a981=Array['from'](this['editor']['model']['createRangeIn'](_0x54c8aa)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x264732['length'])for(const _0x2fcde8 of _0x56a981){const [_0x4c5a92,_0x385e9b]=_0x264732[0x0],[,_0x160af4,_0x2dd49c]=_0x4c5a92['split'](':');if(_0x385e9b['end']['isEqual'](_0x2fcde8['nextPosition'])&&_0x264732['shift'](),(_0x2fcde8['previousPosition']['isEqual'](_0x385e9b['start'])||_0x2fcde8['previousPosition']['isAfter'](_0x385e9b['start']))&&('insertion'==_0x160af4?_0x2fcde8['isAdded']={'userId':_0x2dd49c}:'deletion'==_0x160af4&&(_0x2fcde8['isRemoved']={'userId':_0x2dd49c})),0x0==_0x264732['length'])break;}return _0x56a981;}['_refreshStartEndIndex'](_0x36b094){const _0x1f63a8=new Map();for(let _0x238e85=0x0;_0x238e85<_0x36b094['length'];_0x238e85++)'text'===_0x36b094[_0x238e85]['type']?(_0x36b094[_0x238e85]['item']['startIndex']=_0x238e85,_0x36b094[_0x238e85]['item']['endIndex']=_0x238e85):('elementStart'===_0x36b094[_0x238e85]['type']?_0x36b094[_0x238e85]['item']['startIndex']=_0x238e85:'elementEnd'===_0x36b094[_0x238e85]['type']&&(_0x36b094[_0x238e85]['item']['endIndex']=_0x238e85),_0x1f63a8['set'](_0x36b094[_0x238e85]['id'],_0x238e85));for(const _0x2e5396 of _0x1f63a8['values']())'elementStart'===_0x36b094[_0x2e5396]['type']?_0x36b094[_0x2e5396]['item']['endIndex']=_0x1f63a8['get'](_0x36b094[_0x2e5396]['pairId']):'elementEnd'===_0x36b094[_0x2e5396]['type']&&(_0x36b094[_0x2e5396]['item']['startIndex']=_0x1f63a8['get'](_0x36b094[_0x2e5396]['pairId']));}['_processTape'](_0x1e70ed){for(let _0x2c52ce=0x0;_0x2c52ce<_0x1e70ed['length'];_0x2c52ce++){if('elementStart'===_0x1e70ed[_0x2c52ce]['type'])_0x1e70ed[_0x2c52ce]['item']['startIndex']=_0x2c52ce;else{if('elementEnd'===_0x1e70ed[_0x2c52ce]['type']){_0x1e70ed[_0x2c52ce]['item']['endIndex']=_0x2c52ce;const _0x13b662=_0x1e70ed[_0x2c52ce]['item']['startIndex'];_0x1e70ed[_0x13b662]['pairId']=_0x1e70ed[_0x2c52ce]['id'],_0x1e70ed[_0x2c52ce]['pairId']=_0x1e70ed[_0x13b662]['id'];}else _0x1e70ed[_0x2c52ce]['item']['startIndex']=_0x2c52ce,_0x1e70ed[_0x2c52ce]['item']['endIndex']=_0x2c52ce,_0x1e70ed[_0x2c52ce]['pairId']=null;}_0x1e70ed[_0x2c52ce]['markersStart']||(_0x1e70ed[_0x2c52ce]['markersStart']=[],_0x1e70ed[_0x2c52ce]['markersEnd']=[]);}}['_markInsertions'](_0xc2287e,_0x4ce5e1){const _0x4627b1=_0xc2287e['filter'](_0x2109fe=>!_0x2109fe['isAdded']);for(let _0x1d7a09=0x0;_0x1d7a09<_0x4ce5e1['length'];_0x1d7a09++)_0x4ce5e1[_0x1d7a09]['isAdded']&&(_0x4627b1[_0x1d7a09]['isAdded']=_0x4ce5e1[_0x1d7a09]['isAdded']);}['_makeModelFromViewString'](_0x2eabd2){const _0x5ee57f=JSON['parse'](_0x2eabd2),_0x327277=this['editor']['editing']['view']['document'],_0x2af491=new _0x402ec4(_0x327277,_0x5ee57f['map'](_0x2ee0b0=>this['_getViewObj'](_0x2ee0b0)));return this['editor']['data']['toModel'](_0x2af491);}['_getViewObj'](_0xa48628){const _0x2966e4=this['editor']['editing']['view']['document'];if('string'==typeof _0xa48628)return new _0x3baa24(_0x2966e4,_0xa48628);{const _0x150aed=_0xa48628['children']['map'](_0x256f96=>this['_getViewObj'](_0x256f96));return new(tt[_0xa48628['type']]||_0x34f0e4)(_0x2966e4,_0xa48628['name'],_0xa48628['attributes'],_0x150aed);}}['_getDiff'](_0x293c48,_0x2f6eac=null){const _0x1fc37f=this['repository']['getRevision'](_0x293c48),_0x369510=_0x2f6eac?this['repository']['getRevision'](_0x2f6eac):null,_0x4b2c32=this['_getRevisionsRange'](_0x1fc37f,_0x369510),_0x48f10a=_0x4b2c32[_0x4b2c32['length']-0x1],_0x274889=new Map(),_0x313d9b={'model':{},'attributes':{},'changes':[]},_0x59d198=new Set(),_0x172d54=new Map();for(let _0x17186f=_0x4b2c32['length']-0x1;_0x17186f>=0x0;_0x17186f--){const _0x97bf44=_0x4b2c32[_0x17186f];for(const _0x1106bd of Object['keys'](_0x97bf44['diffData']))if(_0x97bf44['diffData'][_0x1106bd]['attachChange']){const _0x6e353c=_0x97bf44['diffData'][_0x1106bd]['attachChange'];_0x6e353c['isAttached']?(_0x59d198['add'](_0x1106bd),_0x172d54['has'](_0x1106bd)&&_0x172d54['get'](_0x1106bd)['userId']==_0x6e353c['userId']?_0x172d54['delete'](_0x1106bd):_0x172d54['set'](_0x1106bd,_0x6e353c)):_0x172d54['has'](_0x1106bd)?(_0x59d198['delete'](_0x1106bd),_0x172d54['delete'](_0x1106bd)):(_0x59d198['add'](_0x1106bd),_0x172d54['set'](_0x1106bd,_0x6e353c));}else _0x59d198['add'](_0x1106bd);}for(const _0x12852b of _0x59d198){const _0x5f1bfc=_0x172d54['has'](_0x12852b)&&!_0x172d54['get'](_0x12852b)['isAttached'];let _0x19b75b=_0x5f1bfc?_0x4b2c32['length']-0x1:0x0;const _0x226e9f=_0x5f1bfc?-0x1:0x1;for(;_0x4b2c32[_0x19b75b];){const _0xc69e92=_0x4b2c32[_0x19b75b];if(_0xc69e92['diffData'][_0x12852b]){const _0x549ac9=_0x5f1bfc?_0xc69e92['diffData'][_0x12852b]['attributesBefore']:_0xc69e92['diffData'][_0x12852b]['attributesAfter'];_0x313d9b['attributes'][_0x12852b]=_0x549ac9?_0x4c9fb9(_0x549ac9):{};break;}_0x19b75b+=_0x226e9f;}}for(const _0x288610 of _0x4b2c32){_0x288610['model']={};for(const _0x3a3ce0 of _0x288610['authors'])_0x274889['set'](_0x3a3ce0['id'],_0x3a3ce0);for(const _0x26f2d8 of _0x59d198){const _0x4b7d08=_0x288610['diffData'][_0x26f2d8]?_0x288610['diffData'][_0x26f2d8]['insertions']:'[]',_0x15e755=_0x288610['diffData'][_0x26f2d8]?_0x288610['diffData'][_0x26f2d8]['deletions']:'[]';_0x288610['model'][_0x26f2d8]={'insertions':this['_makeModelFromViewString'](_0x4b7d08),'deletions':this['_makeModelFromViewString'](_0x15e755)};}}for(const _0x11b780 of _0x59d198){let _0x4881fc=null,_0x392a6a=0x0;const _0x1ec460=new Map(Array['from'](_0x1fc37f['model'][_0x11b780]['insertions']['markers'])['filter'](([_0x490a53])=>!_0x490a53['startsWith']('revision:')));let _0x4aa6e1=0x0;for(const _0x1f7af8 of _0x4b2c32){const _0x8e7355=this['_makeTape'](_0x1f7af8['model'][_0x11b780]['insertions']);_0x1f7af8==_0x1fc37f?(_0x4881fc=_0x8e7355,_0x392a6a=_0x4881fc['length'],_0x4881fc['forEach'](_0x4e1695=>{_0x4e1695['id']=_0x4aa6e1++;}),this['_processTape'](_0x4881fc)):this['_markInsertions'](_0x4881fc,_0x8e7355);const _0x82d032=_0x4881fc['filter'](_0x235bdc=>!_0x235bdc['isAdded'])['map'](_0x47c7ae=>_0x47c7ae['id']);let _0xabd74e=0x0;const _0x43107e=this['_makeTape'](_0x1f7af8['model'][_0x11b780]['deletions']);_0x43107e['forEach'](_0x59d52e=>{_0x59d52e['isRemoved']?_0x59d52e['id']=_0x392a6a++:_0x59d52e['id']=_0x82d032[_0xabd74e++];}),this['_processTape'](_0x43107e),this['_setDistance'](_0x4881fc,'isAdded'),this['_setDistance'](_0x43107e,'isRemoved'),_0x1f7af8==_0x1fc37f&&this['_markMarkers'](_0x4881fc,_0x1ec460),_0x4881fc=this['_joinTapes'](_0x4881fc,_0x43107e),this['_refreshStartEndIndex'](_0x4881fc),this['_setDistance'](_0x4881fc,'isRemoved');}_0x4881fc=_0x4881fc['filter'](_0x4e765f=>!(_0x4e765f['isAdded']&&_0x4e765f['isRemoved']));const _0x50ceed=new Map(_0x48f10a['model'][_0x11b780]['deletions']['markers']),_0x5117e2=new Set(_0x1ec460['keys']());for(const _0x117a89 of _0x50ceed['keys']())_0x5117e2['delete'](_0x117a89);this['_markSuggestions'](_0x4881fc,_0x5117e2),this['_fixObsoleteTags'](_0x4881fc),_0x4881fc=this['_removeMissingPairs'](_0x4881fc),_0x4881fc=this['_markMismatchedRemovedTags'](_0x4881fc),_0x4881fc=this['_removeUnsupportedChanges'](_0x4881fc);const {root:_0x45b2af,changes:_0x331523}=this['_makeModelFromTape'](_0x4881fc,_0x274889,_0x11b780);_0x313d9b['model'][_0x11b780]=_0x45b2af;const _0x5a7725=_0x172d54['get'](_0x11b780);if(_0x5a7725){const _0x31f37a=_0x274889['get'](_0x5a7725['userId']),_0xbf3661=new r({'author':_0x31f37a,'type':_0x5a7725['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x11b780});_0x331523['unshift'](_0xbf3661),_0x313d9b['attributes'][_0x11b780]['revisionHistoryAttachChange']=_0xbf3661['id'];}_0x313d9b['changes']=_0x313d9b['changes']['concat'](_0x331523);}return _0x313d9b;}['_markMarkers'](_0x2e5155,_0x68cc3e){for(let _0x5c3f2e=0x0;_0x5c3f2e<_0x2e5155['length'];_0x5c3f2e++)for(const [_0x17c1c8,_0x47b06b]of _0x68cc3e)_0x47b06b['start']['isEqual'](_0x2e5155[_0x5c3f2e]['previousPosition'])&&_0x2e5155[_0x5c3f2e]['markersStart']['push'](_0x17c1c8),_0x47b06b['end']['isEqual'](_0x2e5155[_0x5c3f2e]['nextPosition'])&&_0x2e5155[_0x5c3f2e]['markersEnd']['push'](_0x17c1c8);}['_joinTapes'](_0x48966b,_0x1bfb7b){let _0x26a787=[],_0x5744ae=0x0,_0x4d934c=0x0;for(;_0x5744ae<_0x48966b['length']||_0x4d934c<_0x1bfb7b['length'];){const _0x5527c0=_0x48966b[_0x5744ae]||{},_0x505ccc=_0x1bfb7b[_0x4d934c]||{};if(_0x5527c0['id']==_0x505ccc['id'])_0x5744ae++,_0x4d934c++,_0x26a787['push'](_0x5527c0);else{if(_0x505ccc['isRemoved']&&_0x5527c0['isAdded']){const {commonTape:_0x64944,iEnd:_0x1ba164,jEnd:_0x49be35}=this['_threeWayMerge'](_0x48966b,_0x5744ae,_0x1bfb7b,_0x4d934c);_0x26a787=_0x26a787['concat'](_0x64944),_0x5744ae=_0x1ba164,_0x4d934c=_0x49be35;}else _0x505ccc['isRemoved']?(_0x4d934c++,_0x26a787['push'](_0x505ccc)):(_0x5744ae++,_0x26a787['push'](_0x5527c0));}}return _0x26a787;}['_markSuggestions'](_0x764a2,_0x291a13){const _0x4107fb=[];for(let _0x4a52ec=0x0;_0x4a52ec<_0x764a2['length'];_0x4a52ec++){for(let _0x459b31=0x0;_0x459b31<_0x764a2[_0x4a52ec]['markersStart']['length'];_0x459b31++){const _0x1b6839=_0x764a2[_0x4a52ec]['markersStart'][_0x459b31];if(!_0x291a13['has'](_0x1b6839))continue;const {group:_0x232fe0,type:_0x428f61,authorId:_0x50c1f1}=_0x3bec04(_0x1b6839);'revision-suggestion'!=_0x232fe0||'insertion'!=_0x428f61&&'deletion'!=_0x428f61||(_0x4107fb['unshift']({'type':_0x428f61,'name':_0x1b6839,'userId':_0x50c1f1}),_0x764a2[_0x4a52ec]['markersStart']['splice'](_0x459b31,0x1),_0x459b31--);}_0x458a8b(_0x764a2[_0x4a52ec]);for(let _0x732a61=0x0;_0x732a61<_0x764a2[_0x4a52ec]['markersEnd']['length'];_0x732a61++){const _0x3059f4=_0x764a2[_0x4a52ec]['markersEnd'][_0x732a61];if(!_0x291a13['has'](_0x3059f4))continue;const {group:_0x27f297,type:_0x54371e}=_0x3bec04(_0x3059f4);if('revision-suggestion'!=_0x27f297||'insertion'!=_0x54371e&&'deletion'!=_0x54371e)continue;_0x764a2[_0x4a52ec]['markersEnd']['splice'](_0x732a61,0x1),_0x732a61--;const _0x346c17=_0x4107fb['findIndex'](_0x29e1ef=>_0x29e1ef['name']==_0x3059f4);_0x346c17>-0x1&&_0x4107fb['splice'](_0x346c17,0x1);}}function _0x3bec04(_0x49891b){const _0x164080=_0x49891b['split'](':');return{'group':_0x164080[0x0],'type':_0x164080[0x1],'subType':_0x164080['length']>=0x5?_0x164080[0x2]:null,'id':_0x164080['length']<0x5?_0x164080[0x2]:_0x164080[0x3],'authorId':_0x164080['length']<0x5?_0x164080[0x3]:_0x164080[0x4],'markerCount':0x6==_0x164080['length']?_0x164080[0x5]:null};}function _0x458a8b(_0x5faebe){for(let _0x46eea8=0x0;_0x46eea8<_0x4107fb['length'];_0x46eea8++){if(_0x5faebe['isAdded']&&'insertion'==_0x4107fb[_0x46eea8]['type'])return _0x5faebe['isAddSuggestion']=_0x4107fb[_0x46eea8],void delete _0x5faebe['isAdded'];if(!_0x5faebe['isAdded']&&!_0x5faebe['isRemoved']&&'deletion'==_0x4107fb[_0x46eea8]['type'])return void(_0x5faebe['isRemoveSuggestion']=_0x4107fb[_0x46eea8]);}}}['_setDistance'](_0x27336d,_0x597912){let _0x306b3b=0x0,_0x741a38=!0x1;const _0x5e9023=new Map();for(const _0x3a5121 of _0x27336d)_0x3a5121[_0x597912]?_0x741a38&&(_0x306b3b++,_0x741a38=!0x1):(_0x306b3b++,_0x741a38=!0x0),_0x5e9023['set'](_0x3a5121['id'],_0x306b3b);for(let _0x5ed8fd=0x0;_0x5ed8fd<_0x27336d['length'];_0x5ed8fd++){if('isRemoved'==_0x597912&&_0x27336d[_0x5ed8fd]['isAdded']||'isAdded'==_0x597912&&_0x27336d[_0x5ed8fd]['isRemoved'])continue;if('text'==_0x27336d[_0x5ed8fd]['type']){_0x27336d[_0x5ed8fd]['distance']=0x0;continue;}const _0x5095f1=_0x5e9023['get'](_0x27336d[_0x5ed8fd]['pairId']),_0x11bdef=_0x5e9023['get'](_0x27336d[_0x5ed8fd]['id']);_0x27336d[_0x5ed8fd]['distance']=_0x5095f1-_0x11bdef;}}['_getRevisionsRange'](_0x23c3d7,_0x37cfb2,_0x1f5233=!0x1){const _0x23fef8=[];let _0x153316=this['repository']['getIndex'](_0x23c3d7),_0x8b7e0f=this['repository']['getIndex'](_0x37cfb2);for(-0x1==_0x8b7e0f&&(_0x8b7e0f=this['repository']['_revisions']['length'],_0x1f5233=!0x1);_0x153316<_0x8b7e0f;)_0x23fef8['push'](this['repository']['getRevision'](_0x153316)),_0x153316++;return _0x1f5233&&_0x23fef8['push'](this['repository']['getRevision'](_0x153316)),_0x23fef8;}['_threeWayMerge'](_0x11b998,_0x245334,_0x292949,_0x540505){const _0x44008e=this['editor']['model']['schema'];let _0x2fb277=_0x245334;for(;_0x11b998[_0x2fb277]&&_0x11b998[_0x2fb277]['isAdded'];)_0x2fb277++;let _0x58ac31=_0x540505;for(;_0x292949[_0x58ac31]&&_0x292949[_0x58ac31]['isRemoved'];)_0x58ac31++;_0x2d956d(_0x11b998,_0x245334,_0x2fb277),_0x2d956d(_0x292949,_0x540505,_0x58ac31);const _0x22e75b=_0x292949['slice'](_0x540505,_0x58ac31)['concat'](_0x11b998['slice'](_0x245334,_0x2fb277));return _0x22e75b['sort']((_0x2f9514,_0x4a6b34)=>_0x2f9514['side']!=_0x4a6b34['side']?_0x2f9514['side']-_0x4a6b34['side']:_0x2f9514['level']!=_0x4a6b34['level']?_0x2f9514['level']-_0x4a6b34['level']:_0x2f9514['distance']!=_0x4a6b34['distance']?_0x4a6b34['distance']-_0x2f9514['distance']:!!_0x2f9514['isAdded']!=!!_0x4a6b34['isAdded']?-0x1==_0x2f9514['side']||0x0==_0x2f9514['side']?_0x2f9514['isAdded']?-0x1:0x1:_0x2f9514['isAdded']?0x1:-0x1:_0x2f9514['index']-_0x4a6b34['index']),{'commonTape':_0x22e75b,'iEnd':_0x2fb277,'jEnd':_0x58ac31};function _0x2d956d(_0x27e627,_0x3ab7f4,_0x4614c5){let _0xbebd9f=-0x1,_0x33c92a=Number['POSITIVE_INFINITY'],_0x508a4a=!0x0;for(let _0x34be14=_0x3ab7f4;_0x34be14<_0x4614c5;_0x34be14++)if(_0x44008e['isInline'](_0x27e627[_0x34be14]['item'])||(_0x508a4a=!0x1),_0x27e627[_0x34be14]['item']['startIndex']<_0x3ab7f4&&(_0xbebd9f=_0x34be14),_0x27e627[_0x34be14]['item']['endIndex']>=_0x4614c5){_0x33c92a=_0x34be14;break;}_0x508a4a&&(_0xbebd9f=_0x4614c5-0x1);for(let _0x2eb85c=_0x3ab7f4;_0x2eb85c<_0x4614c5;_0x2eb85c++)_0x27e627[_0x2eb85c]['side']=_0x2eb85c<=_0xbebd9f?-0x1:_0x2eb85c<_0x33c92a?0x0:0x1,_0x27e627[_0x2eb85c]['index']=_0x2eb85c;let _0x579312=0x0;for(let _0x577fc9=_0x3ab7f4;_0x577fc9<=_0xbebd9f;_0x577fc9++)0x0==_0x27e627[_0x577fc9]['distance']?_0x27e627[_0x577fc9]['level']=_0x579312:(_0x579312++,_0x27e627[_0x577fc9]['level']=_0x579312,_0x579312++);for(let _0x5e37da=_0x3ab7f4;_0x5e37da<_0x4614c5;_0x5e37da++)0x0==_0x27e627[_0x5e37da]['side']&&(_0x27e627[_0x5e37da]['level']=_0x579312);_0x579312=0x0;for(let _0x3ce27d=_0x4614c5-0x1;_0x3ce27d>=_0x33c92a;_0x3ce27d--)0x0==_0x27e627[_0x3ce27d]['distance']?_0x27e627[_0x3ce27d]['level']=_0x579312:(_0x579312--,_0x27e627[_0x3ce27d]['level']=_0x579312,_0x579312--);}}['_fixObsoleteTags'](_0x55b44f){const _0x4744a2=new Map(),_0x2f3a60=this['editor']['model']['schema'];for(let _0xaa365b=0x1;_0xaa365b<_0x55b44f['length'];_0xaa365b++){let _0x452c4c,_0x235379,_0x2b47e7;const _0x3269e2=_0x55b44f[_0xaa365b],_0x3ebb0e=_0x55b44f[_0xaa365b-0x1];if('text'==_0x3269e2['type'])continue;if(_0x3269e2['type']!=_0x3ebb0e['type'])continue;if(!_0x2f3a60['isBlock'](_0x3ebb0e['item'])||_0x2f3a60['isLimit'](_0x3ebb0e['item']))continue;if(!_0x2f3a60['isBlock'](_0x3269e2['item'])||_0x2f3a60['isLimit'](_0x3269e2['item']))continue;if((_0x55b44f[_0xaa365b]['isAdded']||_0x55b44f[_0xaa365b]['isAddSuggestion'])&&_0x55b44f[_0xaa365b-0x1]['isRemoved'])_0x452c4c=_0x55b44f[_0xaa365b],_0x235379=_0x55b44f[_0xaa365b-0x1],_0x2b47e7=_0xaa365b-0x1;else{if(!_0x55b44f[_0xaa365b]['isRemoved']||!_0x55b44f[_0xaa365b-0x1]['isAdded']&&!_0x55b44f[_0xaa365b-0x1]['isAddSuggestion'])continue;_0x452c4c=_0x55b44f[_0xaa365b-0x1],_0x235379=_0x55b44f[_0xaa365b],_0x2b47e7=_0xaa365b;}const _0x110d8c=_0x452c4c['level']==_0x235379['level'],_0xc5a8d=Math['abs'](_0x452c4c['level'])<Math['abs'](_0x235379['level'])&&0x0==_0x235379['distance'];(_0x110d8c||_0xc5a8d)&&(_0x4744a2['set'](_0x235379['id'],_0x452c4c['id']),_0x55b44f['splice'](_0x2b47e7,0x1),_0xaa365b--,_0x452c4c['isAdded']=!0x1);}for(let _0x4f3291=0x0;_0x4f3291<_0x55b44f['length'];_0x4f3291++)_0x4744a2['has'](_0x55b44f[_0x4f3291]['pairId'])&&(_0x55b44f[_0x4f3291]['pairId']=_0x4744a2['get'](_0x55b44f[_0x4f3291]['pairId']));}['_removeMissingPairs'](_0x1773d8){const _0x3782ec=new Set(_0x1773d8['map'](_0x12a60d=>_0x12a60d['id']));for(let _0x3c7900=0x0;_0x3c7900<_0x1773d8['length'];_0x3c7900++)_0x3782ec['has'](_0x1773d8[_0x3c7900]['pairId'])||0x0==_0x1773d8[_0x3c7900]['distance']||(_0x1773d8[_0x3c7900]['isIncorrect']=!0x0);return _0x1773d8['filter'](_0x5b95d8=>!_0x5b95d8['isIncorrect']);}['_markMismatchedRemovedTags'](_0x490cbc){const _0x514e6b=new Set();for(let _0xf8d3d1=0x0;_0xf8d3d1<_0x490cbc['length'];_0xf8d3d1++){if(_0x514e6b['has'](_0x490cbc[_0xf8d3d1]['id'])&&_0x490cbc[_0xf8d3d1]['isRemoved']&&(_0x490cbc[_0xf8d3d1]['isIncorrect']=!0x0),_0x490cbc[_0xf8d3d1]['isIncorrect'])continue;if(0x0==_0x490cbc[_0xf8d3d1]['distance'])continue;if('elementStart'!=_0x490cbc[_0xf8d3d1]['type'])continue;if(null==_0x490cbc[_0xf8d3d1]['pairId'])continue;let _0x35e09d=_0xf8d3d1+0x1,_0x3050b2=0x0;for(;_0x490cbc[_0x35e09d]['id']!=_0x490cbc[_0xf8d3d1]['pairId'];)'elementStart'==_0x490cbc[_0x35e09d]['type']?_0x3050b2++:'elementEnd'==_0x490cbc[_0x35e09d]['type']&&_0x3050b2--,_0x35e09d++;if(0x0!=_0x3050b2){if(_0x490cbc[_0xf8d3d1]['isRemoved'])_0x490cbc[_0xf8d3d1]['isIncorrect']=!0x0;else{for(;_0x35e09d!=_0xf8d3d1;)_0x490cbc[_0x35e09d]['isRemoved']&&0x0!=_0x490cbc[_0x35e09d]['distance']&&(_0x490cbc[_0x35e09d]['isIncorrect']=!0x0,_0x514e6b['add'](_0x490cbc[_0x35e09d]['pairId'])),_0x35e09d--;}}}return _0x490cbc['filter'](_0x23b865=>!_0x23b865['isIncorrect']);}['_removeUnsupportedChanges'](_0x493f28){const _0x40a514=this['editor']['model']['schema'];for(let _0x41e605=0x0;_0x41e605<_0x493f28['length'];_0x41e605++){if(!(_0x493f28[_0x41e605]['isAdded']||_0x493f28[_0x41e605]['isAddSuggestion']||_0x493f28[_0x41e605]['isRemoved']||_0x493f28[_0x41e605]['isRemoveSuggestion']))continue;if(0x0==_0x493f28[_0x41e605]['distance'])continue;const _0x1e5487=_0x493f28[_0x41e605]['item'];_0x40a514['isBlock'](_0x1e5487)||_0x40a514['isLimit'](_0x1e5487)||(_0x493f28[_0x41e605]['isAdded']&&delete _0x493f28[_0x41e605]['isAdded'],_0x493f28[_0x41e605]['isAddSuggestion']&&delete _0x493f28[_0x41e605]['isAddSuggestion'],_0x493f28[_0x41e605]['isRemoveSuggestion']&&delete _0x493f28[_0x41e605]['isRemoveSuggestion'],_0x493f28[_0x41e605]['isRemoved']&&(_0x493f28[_0x41e605]['isIncorrect']=!0x0));}return _0x493f28['filter'](_0x14591c=>!_0x14591c['isIncorrect']);}['_makeModelFromTape'](_0x3fcfcb,_0x2f9a9b,_0x55d653){const _0x4df7c5=new wt(),_0x401f7f=[],_0x74d079=new Map(),_0x5e2a9b=this['editor']['model'],_0x2dd293=_0x5e2a9b['schema'],_0x3683d4=[_0x4df7c5],_0x1ac4e8={},_0x4c989d={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x203f34=null;const _0x27aad2=[0x0];for(let _0x2aff44=0x0;_0x2aff44<_0x3fcfcb['length'];_0x2aff44++){let _0x3f94d8,_0x387d72;if('elementStart'===_0x3fcfcb[_0x2aff44]['type']){_0x3f94d8=_0x5e2a9b['createPositionFromPath'](_0x4df7c5,_0x27aad2);const _0x59a24b=new ft(_0x3fcfcb[_0x2aff44]['item']['name'],_0x3fcfcb[_0x2aff44]['item']['getAttributes']());_0x3683d4[0x0]['_appendChild'](_0x59a24b),_0x27aad2['push'](0x0),_0x3683d4['unshift'](_0x59a24b),_0x387d72=_0x5e2a9b['createPositionFromPath'](_0x4df7c5,_0x27aad2),_0x203f34=null;}else{if('elementEnd'===_0x3fcfcb[_0x2aff44]['type'])_0x3683d4['shift'](),_0x3f94d8=_0x5e2a9b['createPositionFromPath'](_0x4df7c5,_0x27aad2),_0x27aad2['pop'](),_0x27aad2[_0x27aad2['length']-0x1]++,_0x387d72=_0x5e2a9b['createPositionFromPath'](_0x4df7c5,_0x27aad2),_0x203f34=null;else{if(_0x3f94d8=_0x5e2a9b['createPositionFromPath'](_0x4df7c5,_0x27aad2),_0x203f34&&_0x1d9356(_0x203f34,_0x3fcfcb[_0x2aff44]['item']))_0x203f34['_data']+=_0x3fcfcb[_0x2aff44]['item']['data'];else{const _0x421039=new _t(_0x3fcfcb[_0x2aff44]['item']['data'],_0x3fcfcb[_0x2aff44]['item']['getAttributes']());_0x3683d4[0x0]['_appendChild'](_0x421039),_0x203f34=_0x421039;}_0x27aad2[_0x27aad2['length']-0x1]+=_0x3fcfcb[_0x2aff44]['item']['offsetSize'],_0x387d72=_0x5e2a9b['createPositionFromPath'](_0x4df7c5,_0x27aad2);}}for(const _0x41ab8c of _0x3fcfcb[_0x2aff44]['markersStart'])_0x74d079['set'](_0x41ab8c,{'start':_0x3f94d8,'end':null});_0x4bb646('isRemoveSuggestion',_0x2aff44,_0x3f94d8,_0x387d72),_0x4bb646('isAddSuggestion',_0x2aff44,_0x3f94d8,_0x387d72),_0x4bb646('isRemoved',_0x2aff44,_0x3f94d8,_0x387d72),_0x4bb646('isAdded',_0x2aff44,_0x3f94d8,_0x387d72);for(const _0x68e987 of _0x3fcfcb[_0x2aff44]['markersEnd']){_0x74d079['get'](_0x68e987)['end']=_0x387d72;}}for(const [_0x2eb226,_0x19a824]of _0x74d079){const _0x54dfec=this['editor']['model']['createRange'](_0x19a824['start'],_0x19a824['end']);_0x4df7c5['markers']['set'](_0x2eb226,_0x54dfec);}return _0x401f7f['sort']((_0x321a17,_0x41b380)=>{const _0x3ae40b=_0x4df7c5['markers']['get']('revision:'+_0x321a17['id']),_0x154b72=_0x4df7c5['markers']['get']('revision:'+_0x41b380['id']);return _0x3ae40b['start']['isBefore'](_0x154b72['start'])?-0x1:_0x3ae40b['start']['isAfter'](_0x154b72['start'])?0x1:_0x3ae40b['end']['isBefore'](_0x154b72['end'])?-0x1:_0x3ae40b['end']['isAfter'](_0x154b72['end'])?0x1:'add'===_0x321a17['type']?-0x1:0x1;}),{'root':_0x4df7c5,'changes':_0x401f7f};function _0x4bb646(_0x5a37a7,_0x51567b,_0x10938c,_0x3522db){const _0x20aa2d=!!_0x3fcfcb[_0x51567b][_0x5a37a7],_0x585160=_0x20aa2d?_0x3fcfcb[_0x51567b][_0x5a37a7]['userId']:null,_0x50352a=_0x51567b===_0x3fcfcb['length']-0x1,_0x3d50c5=_0x4c989d[_0x5a37a7][0x0],_0x1a7efc=_0x2dd293['isObject'](_0x3fcfcb[_0x51567b]['item']);!_0x1ac4e8[_0x5a37a7]&&_0x20aa2d?_0x1ac4e8[_0x5a37a7]={'start':_0x10938c,'tapeItem':_0x3fcfcb[_0x51567b],'userId':_0x585160,'type':_0x5a37a7}:_0x1ac4e8[_0x5a37a7]&&!_0x20aa2d?(_0x1ac4e8[_0x5a37a7]['end']=_0x10938c,_0x3566bc(_0x1ac4e8[_0x5a37a7]),_0x1ac4e8[_0x5a37a7]=null):_0x1ac4e8[_0x5a37a7]&&_0x20aa2d&&_0x1ac4e8[_0x5a37a7]['userId']!==_0x585160&&(_0x1ac4e8[_0x5a37a7]['end']=_0x10938c,_0x3d50c5&&_0x3d50c5['userId']===_0x1ac4e8[_0x5a37a7]['userId']||_0x3566bc(_0x1ac4e8[_0x5a37a7]),_0x1ac4e8[_0x5a37a7]={'start':_0x10938c,'tapeItem':_0x3fcfcb[_0x51567b],'userId':_0x585160,'type':_0x5a37a7}),_0x1ac4e8[_0x5a37a7]&&_0x1a7efc&&('elementStart'!==_0x3fcfcb[_0x51567b]['type']||_0x3d50c5&&_0x3d50c5['userId']===_0x585160||_0x4c989d[_0x5a37a7]['unshift']({'userId':_0x585160,'object':_0x3fcfcb[_0x51567b]['item'],'change':_0x1ac4e8[_0x5a37a7]}),'elementEnd'===_0x3fcfcb[_0x51567b]['type']&&_0x3d50c5&&_0x3d50c5['object']===_0x3fcfcb[_0x51567b]['item']&&(_0x4c989d[_0x5a37a7]['shift'](),_0x1ac4e8[_0x5a37a7]=_0x3d50c5['change'])),_0x1ac4e8[_0x5a37a7]&&_0x50352a&&(_0x1ac4e8[_0x5a37a7]['end']=_0x3522db,_0x3566bc(_0x1ac4e8[_0x5a37a7]),_0x1ac4e8[_0x5a37a7]=null);}function _0x3566bc({start:_0x1c0c07,end:_0x3203af,tapeItem:_0x30c27c,userId:_0x573de9,type:_0xd69787}){const _0x4d2450=_0x30c27c['item'],_0xb8b5f3=_0x5e2a9b['schema']['isBlock'](_0x4d2450)&&!_0x5e2a9b['schema']['isLimit'](_0x4d2450),_0xb1e99=_0x1c0c07['nodeAfter']==_0x3203af['parent']&&_0x3203af['isAtStart'];if(_0xb8b5f3&&_0xb1e99)return;const _0x318797=_0x5e2a9b['createRange'](_0x1c0c07,_0x3203af),_0x48fa8c=_0x2f9a9b['get'](_0x573de9),_0x5415ba=new r({'author':_0x48fa8c,'type':'isAdded'==_0xd69787||'isAddSuggestion'==_0xd69787?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0xd69787||'isRemoveSuggestion'==_0xd69787},'createdAt':new Date(),'rootName':_0x55d653});_0x401f7f['push'](_0x5415ba),_0x4df7c5['markers']['set']('revision:'+_0x5415ba['id'],_0x318797);}function _0x1d9356(_0x30548c,_0x35868d){const _0x1626c5=_0x30548c['getAttributes'](),_0x45b052=_0x35868d['getAttributes']();for(const _0x5e9bdc of _0x1626c5){if(_0x5e9bdc[0x1]!==_0x35868d['getAttribute'](_0x5e9bdc[0x0]))return!0x1;_0x45b052['next']();}return _0x45b052['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x500cb0=>{const _0x59b41f=_0x500cb0['markerName']['split'](':')[0x1],_0x2da1b4=this['_getChangeFromId'](_0x59b41f);if(!_0x2da1b4)return null;const _0x28c104='add'==_0x2da1b4['type']?'insertion':'deletion',_0x59052e=['ck-suggestion-marker','ck-suggestion-marker-'+_0x28c104];return _0x2da1b4['data']['isSuggestion']&&_0x59052e['push']('ck-suggestion-marker-'+_0x28c104+'-new'),this['activeChange']==_0x2da1b4&&_0x59052e['push']('ck-suggestion-marker--active'),{'classes':_0x59052e,'attributes':{'data-change-id':_0x59b41f}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x12ecc7=>{_0x12ecc7['on']('element:pre',(_0x53aaeb,_0x3cf52d,_0x5805d5)=>{const _0x9fe73e=_0x3cf52d['viewItem']['getChild'](0x0);if(!_0x9fe73e||!_0x9fe73e['is']('element','code'))return;if(!_0x5805d5['consumable']['consume'](_0x9fe73e,{'attributes':['vid_start','vid_end']}))return;const _0x6bea29=_0x3cf52d['modelRange']['start']['nodeAfter'];_0x5805d5['writer']['setAttribute']('vid_start',_0x9fe73e['getAttribute']('vid_start'),_0x6bea29),_0x5805d5['writer']['setAttribute']('vid_end',_0x9fe73e['getAttribute']('vid_end'),_0x6bea29);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x54c290=>{_0x54c290['on']('element',(_0x2baa52,_0x1566c8,_0x4e66b5)=>{if(!_0x4e66b5['consumable']['consume'](_0x1566c8['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x1566c8['modelRange']['isCollapsed'])return;const _0x859b9a=_0x1566c8['modelRange']['start']['nodeAfter'];_0x859b9a['hasAttribute']('vid_start')||_0x859b9a['hasAttribute']('vid')||(_0x4e66b5['writer']['setAttribute']('vid_start',_0x1566c8['viewItem']['getAttribute']('vid_start'),_0x859b9a),_0x4e66b5['writer']['setAttribute']('vid_end',_0x1566c8['viewItem']['getAttribute']('vid_end'),_0x859b9a));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0xb5948e=>_0xb5948e['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x34123d,[,_0x369dda])=>{['vid_start','vid_end','vid']['includes'](_0x369dda)&&(_0x34123d['return']=!0x0,_0x34123d['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x612606=>{_0x612606['on']('attribute:vid',(_0x5b750c,_0xcae4f5,_0x3881d5)=>{if('\x20'!=_0xcae4f5['item']['data']||_0xcae4f5['item']['parent']['maxOffset']>0x1)return;if(!_0x3881d5['consumable']['consume'](_0xcae4f5['item'],_0x5b750c['name']))return;const _0x45cd60=_0x3881d5['writer'],_0xdf46db=_0x3881d5['mapper']['toViewRange'](_0xcae4f5['range']);_0x45cd60['wrap'](_0xdf46db,_0x45cd60['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x4d751f){const _0x1e5c09=_0x4d751f['plugins']['get']('RevisionViewer');return(_0x5c3686,_0x29af26,_0x316756)=>{const _0x29d9cd=_0x29af26['markerName']['split'](':')[0x1],_0x206c36=_0x1e5c09['_getChangeFromId'](_0x29d9cd);if(!_0x206c36)return null;const _0x315896='add'==_0x206c36['type']?'split':'merge';if(!_0x316756['consumable']['test'](_0x29af26['markerRange'],_0x5c3686['name']))return;const _0x27776e=_0x29af26['markerRange']['getWalker'](),_0x1eb18d=_0x29af26['markerRange']['start'],_0x249952=_0x4d751f['model']['schema'];let _0x9520b4=null,_0xff5ad5=null,_0x2bac12=!0x1,_0x2a8be1=!0x1;for(const _0x3d30de of _0x27776e){const _0x5f363e=_0x3d30de['item'];_0x2bac12=_0x2bac12||_0x249952['isContent'](_0x5f363e);const _0x4ec7ee=_0x316756['mapper']['toViewElement'](_0x5f363e);if(_0x4ec7ee&&_0x4ec7ee['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3d30de['type']&&(_0x249952['isBlock'](_0x5f363e)&&!_0x249952['isLimit'](_0x5f363e)&&(_0x5f363e['nextSibling']||_0x1eb18d['isAtEnd']?_0x9520b4&&_0x9520b4['parent']==_0x5f363e||(_0x9520b4=_0x5f363e,_0x4412f1(_0x3d30de['previousPosition']),_0x2a8be1=!0x0):_0xff5ad5=_0xff5ad5||_0x3d30de['previousPosition']));}function _0x4412f1(_0x44e5bf){const _0x3fbb62=_0x316756['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x315896}),_0x10a263=_0x316756['mapper']['toViewPosition'](_0x44e5bf);_0x206c36['data']['isSuggestion']&&_0x316756['writer']['addClass']('ck-suggestion-marker-'+_0x315896+'-new',_0x3fbb62),_0x1e5c09['activeChange']==_0x206c36&&_0x316756['writer']['addClass']('ck-suggestion-marker--active',_0x3fbb62),_0x316756['writer']['insert'](_0x10a263,_0x3fbb62),_0x316756['mapper']['bindElementToMarker'](_0x3fbb62,_0x29af26['markerName']);}_0x2bac12||_0x2a8be1||!_0xff5ad5||_0x4412f1(_0xff5ad5);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x129329,_0x4ffcb0,_0x573449)=>{const _0x2ae33d=_0x573449['mapper']['markerNameToElements'](_0x4ffcb0['markerName']);if(_0x2ae33d){for(const _0x51e3f7 of _0x2ae33d)(_0x51e3f7['hasClass']('ck-suggestion-marker-split')||_0x51e3f7['hasClass']('ck-suggestion-marker-merge'))&&(_0x573449['mapper']['unbindElementFromMarkerName'](_0x51e3f7,_0x4ffcb0['markerName']),_0x573449['writer']['remove'](_0x51e3f7));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x3739d3,_0x832ce9,_0x1dba19)=>{const _0x3c5a40=_0x832ce9['markerName']['split'](':')[0x1],_0x4c8590=this['_getChangeFromId'](_0x3c5a40);if(!_0x4c8590)return null;const _0x76d443='add'==_0x4c8590['type']?'split':'merge';if(_0x1dba19['consumable']['test'](_0x832ce9['markerRange'],_0x3739d3['name']))for(const _0x3441c0 of _0x832ce9['markerRange']['getItems']()){if(!_0x3441c0['is']('element','softBreak'))continue;const _0x4a1961=_0x1dba19['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x76d443}),_0x571f67=_0x1dba19['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x3441c0));_0x4c8590['data']['isSuggestion']&&_0x1dba19['writer']['addClass']('ck-suggestion-marker-'+_0x76d443+'-new',_0x4a1961),this['activeChange']==_0x4c8590&&_0x1dba19['writer']['addClass']('ck-suggestion-marker--active',_0x4a1961),_0x1dba19['writer']['insert'](_0x571f67,_0x4a1961),_0x1dba19['mapper']['bindElementToMarker'](_0x4a1961,_0x832ce9['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x30e0a8=>{for(const _0x50fd3e of this['editor']['model']['document']['getRootNames']()){const _0x32b8c5=this['editor']['model']['document']['getRoot'](_0x50fd3e),_0x5cb29d=this['editor']['editing']['view']['document']['getRoot'](_0x50fd3e);if(_0x5cb29d){const _0x5c7f5d=_0x32b8c5['getAttribute']('revisionHistoryAttachChange');if(_0x30e0a8['removeAttribute']('data-change-id',_0x5cb29d),_0x30e0a8['removeClass']('ck-revision-history-root-add',_0x5cb29d),_0x30e0a8['removeClass']('ck-revision-history-root-remove',_0x5cb29d),_0x30e0a8['removeClass']('ck-revision-history-root--active',_0x5cb29d),_0x5c7f5d){const _0x2f6ded=this['_getChangeFromId'](_0x5c7f5d);if(!_0x2f6ded)return null;_0x30e0a8['setAttribute']('data-change-id',_0x5c7f5d,_0x5cb29d),_0x30e0a8['addClass']('ck-revision-history-root-'+_0x2f6ded['type'],_0x5cb29d),this['activeChange']==_0x2f6ded&&_0x30e0a8['addClass']('ck-revision-history-root--active',_0x5cb29d);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0xc2f23c=>'revision-comment:'+_0xc2f23c,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x58f190=>'revision-suggestion:'+_0x58f190,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x47ca0e=>({'name':'suggestion:'+_0x47ca0e,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x3e9df1=>{const _0x4b6ea3=_0x3e9df1['markerName']['split'](':')[0x1];return'insertion'!=_0x4b6ea3&&'deletion'!=_0x4b6ea3?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x4b6ea3]};}}),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',(_0x32d875,_0x539e22,_0x4977e1)=>{const _0x157646=_0x4977e1['mapper']['markerNameToElements'](_0x539e22['markerName']);if(_0x157646){for(const _0x4dd6c3 of _0x157646)_0x4dd6c3['is']('uiElement')&&(_0x4977e1['mapper']['unbindElementFromMarkerName'](_0x4dd6c3,_0x539e22['markerName']),_0x4977e1['writer']['remove'](_0x4dd6c3));}},{'priority':'high'});}['_getChangeFromId'](_0x3cbc5f){return this['_changeIdToChange']['get'](_0x3cbc5f);}['_getViewForChange'](_0x178047){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x178047),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x31d044,_0x29fe37,_0x30668d,_0x381ffb)=>{_0x381ffb&&this['_balloon']['remove'](_0x381ffb),_0x30668d&&(this['_balloon']['add']({'view':_0x30668d,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x49e573=this['editor']['editing'],_0x529c89=this['_getChangeFromId'](_0x30668d['changeId']);let _0x257960;if(_0x529c89['data']['isOnRoot']){const _0x3ad2b6=_0x49e573['view']['getDomRoot'](_0x529c89['rootName']);_0x257960=Array['from'](_0x3ad2b6['getClientRects']());}else{const _0x3b361b=this['editor']['model']['markers']['get']('revision:'+_0x30668d['changeId']);_0x257960=Array['from'](_0x49e573['mapper']['markerNameToElements'](_0x3b361b['name']))['map'](_0x2d2671=>_0x49e573['view']['domConverter']['mapViewToDom'](_0x2d2671))['map'](_0x2eb5c6=>Array['from'](_0x2eb5c6['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x257960[0x0];return _0x257960['find'](_0x355353=>_0x355353['top']-0x3<=this['_activeViewTarget']['y']&&_0x355353['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x355353['left']-0x3<=this['_activeViewTarget']['x']&&_0x355353['right']+0x3>=this['_activeViewTarget']['x'])||_0x257960[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x128605,_0x10583a,_0x32fd1a,_0x510353)=>{this['activeView']=_0x32fd1a?this['_getViewForChange'](_0x32fd1a):null,this['editor']['model']['change'](()=>{const _0x4d09de=this['editor']['editing'];_0x510353&&(_0x510353['data']['isOnRoot']?_0x4d09de['view']['change'](_0x4f700d=>{_0x4f700d['removeClass']('ck-revision-history-root--active',_0x4d09de['view']['document']['getRoot'](_0x510353['rootName']));}):_0x4d09de['reconvertMarker']('revision:'+_0x510353['id'])),_0x32fd1a&&(_0x32fd1a['data']['isOnRoot']?_0x4d09de['view']['change'](_0x587566=>{_0x587566['addClass']('ck-revision-history-root--active',_0x4d09de['view']['document']['getRoot'](_0x32fd1a['rootName']));}):_0x4d09de['reconvertMarker']('revision:'+_0x32fd1a['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x56587f,_0x4ffb51)=>{if(this['activeChange'])return;const _0x3f6bd7=this['_findChangeIdFromDomTarget'](_0x4ffb51['target']),_0x1c86d5=this['_changeIdToChange']['get'](_0x3f6bd7);_0x1c86d5?(this['_activeViewTarget']={'x':_0x4ffb51['domEvent']['x'],'y':_0x4ffb51['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x1c86d5)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x2b3576,_0x265d8c)=>{const _0xf9af97=this['_findChangeIdFromDomTarget'](_0x265d8c['target']),_0x5af894=this['_changeIdToChange']['get'](_0xf9af97);_0x5af894?(this['_activeViewTarget']={'x':_0x265d8c['domEvent']['x'],'y':_0x265d8c['domEvent']['y']},_0x5af894===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x5af894):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x4ab5d6){do{const _0x3a3ec3=_0x4ab5d6['getAttribute']('data-change-id');if(_0x3a3ec3)return _0x3a3ec3;_0x4ab5d6=_0x4ab5d6['parent'];}while(_0x4ab5d6);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x9dd258=>{for(const _0x1779ed of this['editor']['model']['markers'])_0x9dd258['removeMarker'](_0x1779ed);});}}function et(_0x484849,_0x243ede){return(_0x1a4a62,_0x143f78,_0x32a677)=>{if(!_0x32a677['consumable']['test'](_0x143f78['markerRange'],_0x1a4a62['name']))return;const _0x169ad6=_0x143f78['markerRange']['getWalker'](),_0x47384d=_0x143f78['markerRange']['start'],_0xb27439=_0x484849['model']['schema'];let _0x44474b=null,_0x2f7243=null,_0x365763=!0x1,_0x2aa434=!0x1;for(const _0x5b720a of _0x169ad6){const _0x9133df=_0x5b720a['item'];_0x365763=_0x365763||_0xb27439['isContent'](_0x9133df);const _0x1f5e9e=_0x32a677['mapper']['toViewElement'](_0x9133df);if(_0x1f5e9e&&_0x1f5e9e['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5b720a['type']&&(_0xb27439['isBlock'](_0x9133df)&&!_0xb27439['isLimit'](_0x9133df)&&(_0x9133df['nextSibling']||_0x47384d['isAtEnd']?_0x44474b&&_0x44474b['parent']==_0x9133df||(_0x44474b=_0x9133df,_0x5be3ae(_0x5b720a['previousPosition']),_0x2aa434=!0x0):_0x2f7243=_0x2f7243||_0x5b720a['previousPosition']));}function _0x5be3ae(_0x7312f7){const _0x1174be=_0x32a677['mapper']['toViewPosition'](_0x7312f7),_0x5c8a38=_0x32a677['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x243ede});_0x32a677['writer']['insert'](_0x1174be,_0x5c8a38),_0x32a677['mapper']['bindElementToMarker'](_0x5c8a38,_0x143f78['markerName']);}_0x365763||_0x2aa434||!_0x2f7243||_0x5be3ae(_0x2f7243);};}class bt extends _0x157f34{constructor(_0x384ee6){super(_0x384ee6);const _0x56edc7=_0x384ee6['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x56edc7,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x56edc7,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x2f644a=this['editor'],_0x323330=_0x2f644a['plugins']['get'](d),_0x5df4fb=_0x323330['isReady']?_0x323330['diff']['newRevisionId']:null;_0x2f644a['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x5df4fb);}['refresh'](){const {isReady:_0x517203,isEnabled:_0x4e5dc4}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x517203&&_0x4e5dc4;}}class yt extends _0x157f34{['_step'];constructor(_0x3625b2,{direction:_0x1988a7}){super(_0x3625b2);const _0x2ff6bf=_0x3625b2['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x1988a7?0x1:-0x1,this['listenTo'](_0x2ff6bf,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x2ff6bf,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x2ff6bf,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x356de6=this['editor'],_0x4703f0=_0x356de6['plugins']['get'](d),{isNavigationMode:_0x8534e9,currentChangeNumber:_0x43a427}=_0x4703f0;let _0x1b5c12;if(_0x4703f0['activeChange']=_0x8534e9?_0x4703f0['diff']['changes']['get'](_0x43a427+this['_step']):_0x4703f0['diff']['changes']['first'],_0x4703f0['activeChange']['data']['isOnRoot'])_0x1b5c12=_0x356de6['editing']['view']['getDomRoot'](_0x4703f0['activeChange']['rootName']);else{const _0x2c4b4c=_0x356de6['model']['markers']['get']('revision:'+_0x4703f0['activeChange']['id']);_0x1b5c12=_0x238c8d(_0x356de6['editing'],_0x2c4b4c);}_0x553506({'target':_0x1b5c12,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x538888,currentChangeNumber:_0xeec5f8,numberOfChanges:_0x51ab87,isReady:_0x942252,isEnabled:_0x1f3bb1}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x1f3bb1&&_0x942252&&_0x51ab87)&&(!_0x538888||(0x1===this['_step']?_0xeec5f8<_0x51ab87-0x1:_0xeec5f8>0x0));}}class _i extends _0x50a5ec{constructor(_0x560e0f){super(_0x560e0f);const _0xb94fa2=this['bindTemplate'],_0x26a82d=new _0x124c6e(_0x560e0f),_0x5bae29=new _0x124c6e(_0x560e0f);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',(_0x104734,_0x53bc71)=>_0x104734&&_0x53bc71>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x34fd97,_0x5a0835,_0x32d705,_0x2bcda2)=>{if(!_0x34fd97)return y(_0x560e0f,'Loading...');if(!_0x32d705)return y(_0x560e0f,'No\x20changes');const _0x2c1c7f=y(_0x560e0f,'NUMBER_OF_CHANGES',_0x32d705);return _0x2bcda2?y(_0x560e0f,'X_OF_Y_CHANGES',[_0x5a0835+0x1,_0x32d705]):_0x2c1c7f;}),_0x26a82d['set']({'label':y(_0x560e0f,'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'}),_0x5bae29['set']({'label':y(_0x560e0f,'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'}),_0x26a82d['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x5bae29['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x26a82d['on']('execute',()=>this['fire']('execute','backward')),_0x5bae29['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',_0xb94fa2['if']('_isStatusLabelVisible','ck-hidden',_0x14b245=>!_0x14b245)]},'children':[{'text':_0xb94fa2['to']('isNavigationMode',_0x149f3f=>_0x149f3f?y(_0x560e0f,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x560e0f,'Total')+':\x20')}]},{'text':_0xb94fa2['to']('_statusText')}]},new _0x213f96(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x26a82d,_0x5bae29]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x1123d9{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x112cd8=this['editor']['editing']['view'];_0x112cd8['change'](_0x36eb09=>{for(const _0x17193b of _0x112cd8['document']['roots'])_0x36eb09['addClass'](ce,_0x17193b);});}['hide'](){const _0xa6fe8f=this['editor']['editing']['view'];_0xa6fe8f['change'](_0x3ad10c=>{for(const _0x5945dc of _0xa6fe8f['document']['roots'])_0x3ad10c['removeClass'](ce,_0x5945dc);});}}class R extends _0x1123d9{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x209478=this['editor'],_0x4b2ded=_0x209478['plugins']['get'](d),_0x270cea=_0x209478['plugins']['get'](de);_0x209478['ui']['componentFactory']['add']('exitToEditing',_0x59d9b7=>{const _0x4b2a34=new _0x124c6e(_0x59d9b7);return _0x4b2a34['set']({'label':y(_0x59d9b7,'Back\x20to\x20editing'),'icon':_0x209ed5['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x4b2a34,'execute',()=>{_0x209478['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x4b2a34;}),_0x209478['ui']['componentFactory']['add']('restoreRevision',_0x44892f=>{const _0x393b68=new _0x124c6e(_0x44892f);return _0x393b68['set']({'label':y(_0x44892f,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x393b68['bind']('isEnabled')['to'](_0x209478['commands']['get']('restoreRevision')),this['listenTo'](_0x393b68,'execute',()=>_0x209478['execute']('restoreRevision')),_0x393b68;}),_0x209478['ui']['componentFactory']['add']('changesNavigation',_0x11517e=>{const _0x2ba4ae=new _i(_0x11517e),_0x54eaba=_0x209478['commands']['get']('showPreviousChange'),_0x540569=_0x209478['commands']['get']('showNextChange');return _0x2ba4ae['bind']('isBackwardNavigationEnabled')['to'](_0x54eaba,'isEnabled'),_0x2ba4ae['bind']('isForwardNavigationEnabled')['to'](_0x540569,'isEnabled'),_0x2ba4ae['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x4b2ded),this['listenTo'](_0x2ba4ae,'execute',(_0x206777,_0x5e79ec)=>{_0x209478['execute']('forward'===_0x5e79ec?'showNextChange':'showPreviousChange');}),_0x2ba4ae;}),_0x270cea['show'](),_0x4b2ded['on']('change:isReady',(_0x28586f,_0x1bbeb4,_0x30ed89)=>{_0x30ed89?_0x270cea['hide']():_0x270cea['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0xdfc342,_0x3a486d){super(_0xdfc342,_0x3a486d);const _0xbbbc28=this['bindTemplate'];this['set']({'label':y(_0xdfc342,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0xdfc342,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0xbbbc28['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 _0x1b3c24=this['fieldView']['element'];this['_tooltipString']=_0x1b3c24['scrollWidth']>_0x1b3c24['clientWidth']&&_0x1b3c24['value']||'';}}class ti extends _0x50a5ec{constructor(_0x3ea1ff,_0xea13f,_0x51d2e2){super(_0x3ea1ff);const _0x5abefe=new _0xbfaf86();_0x5abefe['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 _0x44d214=['ck','ck-revision-history-sidebar__revision-author'];_0x51d2e2&&_0x44d214['push']('ck-revision-history-sidebar__revision-author_creator');const _0x337066=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x3ea1ff,_0x51d2e2?'Revision\x20creator':'Revision\x20author')},'children':[_0x5abefe,_0xea13f['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x44d214},'children':_0x337066});}}function ni(_0x3c7b20,_0x34ac79){const _0xc2865e=_0x3c7b20['bindTemplate'],_0x9f56de=_0x3c7b20['locale'],_0x1d926d=_0x374c53(_0x9f56de);_0x1d926d['panelPosition']='sw';const _0x732eb3=function(_0x4a1ae7,_0xdcda3d){const _0x6a9e32=function(_0x583b3b,_0x513591){const _0x125126=_0x583b3b['locale'],_0x194b4e={'Compare\x20against\x20selected':y(_0x125126,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x125126,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x125126,'Restore\x20this\x20revision')};return _0x513591['map'](_0x3f0438=>{const _0x5c89ea=_0x194b4e[_0x3f0438['name']];return _0x5c89ea&&_0x5c89ea!==_0x3f0438['name']&&(_0x3f0438['name']=_0x5c89ea),_0x3f0438;});}(_0x4a1ae7,_0xdcda3d),_0x3d09d0=new _0x2716bd();for(const _0xdfc026 of _0x6a9e32){const _0x37c7db={'type':'button','model':new to({'label':_0xdfc026['name'],'class':_0xdfc026['class'],'withText':!0x0,'role':'menuitem','_action':_0xdfc026['action']})};_0x37c7db['model']['bind']('isEnabled')['to'](_0x4a1ae7,'isActionsDropdownOpen',_0x334796=>'function'!=typeof _0xdfc026['isEnabled']||(!_0x334796||_0xdfc026['isEnabled'](_0x4a1ae7))),_0x3d09d0['add'](_0x37c7db);}return _0x3d09d0;}(_0x3c7b20,_0x34ac79);return _0x3c7b20['bind']('isActionsDropdownOpen')['to'](_0x1d926d,'isOpen'),_0x1d926d['buttonView']['set']({'label':y(_0x9f56de,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x209ed5['threeVerticalDots']}),_0x1d926d['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0xc2865e['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0xc2865e['to'](_0x45be39=>_0x45be39['stopPropagation']())}}),_0x1d926d['on']('execute',_0xb39a39=>{_0x3c7b20['isReady']&&'function'==typeof _0xb39a39['source']['_action']&&_0xb39a39['source']['_action'](_0x3c7b20);}),_0x49cf2b(_0x1d926d,_0x732eb3,{'role':'menu'}),_0x1d926d['listenTo'](_0x3c7b20,'change:isActionsDropdownOpen',(_0x3119d9,_0x5ada48,_0x5e48f0)=>{if(_0x5e48f0)for(const _0x5cd83c of _0x1d926d['listView']['items']){const _0x3b6afb=_0x5cd83c['children']['first'],_0xdff9fd=_0x34ac79['find'](_0x56a229=>_0x56a229['action']===_0x3b6afb['_action'])['isVisible'];_0x5cd83c['isVisible']=void 0x0===_0xdff9fd||_0xdff9fd(_0x3c7b20);}}),_0x1d926d;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x4a7910(_0x50a5ec){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x5e2320,_0x3d64be,_0x36d000,_0x4bb571){super(_0x5e2320);const _0x1c084a=this['bindTemplate'],_0x451fe5=function(_0x15a9e6,_0x566ba8){const _0x56819e=Array['from'](_0x566ba8['authors'])['filter'](_0x4fb1aa=>_0x4fb1aa!=_0x566ba8['creator']);return _0x566ba8['creator']&&_0x56819e['unshift'](_0x566ba8['creator']),_0x56819e['map'](_0x186c61=>new ti(_0x15a9e6,_0x186c61,_0x186c61==_0x566ba8['creator']));}(_0x5e2320,_0x3d64be);this['id']=_0x3d64be['id'],this['_revision']=_0x3d64be,this['_requireRevisionName']=_0x4bb571,this['bind']('name','createdAt')['to'](_0x3d64be),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x1ef5a5=>{return _0x288b0b=_0x5e2320['uiLanguage'],(_0x5be686=_0x1ef5a5)['toLocaleDateString'](_0x288b0b,{'month':'long','day':'numeric'})+',\x20'+_0x5be686['toLocaleTimeString'](_0x288b0b,{'hour':'numeric','minute':'numeric'});var _0x288b0b,_0x5be686;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x5e2320,_0x5cc1e8),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x417f40=>_0x417f40||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x300281,_0x19d6b9)=>_0x300281&&_0x19d6b9),this['revisionActionsView']=_0x36d000&&_0x36d000['length']?ni(this,_0x36d000):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x1c084a['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x1c084a['if']('isEnabled','ck-disabled',_0x14f910=>!_0x14f910),_0x1c084a['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x1c084a['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x1c084a['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':_0x1c084a['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':_0x451fe5}]},this['revisionActionsView']],'on':{'click':_0x1c084a['to'](_0xac1f9d=>{_0xac1f9d['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x56e017=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x56e017,'change',()=>{this['_requireRevisionName']&&!_0x56e017['value']||this['fire']('setName',{'id':this['id'],'name':_0x56e017['value']}),_0x56e017['value']||(_0x56e017['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(_0x1769a6,_0x9bb157){const _0x51b008=_0xd8b900['fromJSDate'](_0x1769a6)['setLocale'](_0x9bb157),_0x237f07=_0xd8b900['local'](),_0x5f4834=_0x237f07['minus']({'days':0x1})['startOf']('day');let _0x4a8056,_0xb55ff3;return _0x51b008['hasSame'](_0x237f07,'day')?(_0x4a8056=_0x51b008['startOf']('day')['toJSDate'](),_0xb55ff3=_0x51b008['toRelativeCalendar']()):_0x51b008['hasSame'](_0x5f4834,'day')?(_0x4a8056=_0x5f4834['toJSDate'](),_0xb55ff3=_0x51b008['toRelativeCalendar']()):_0x51b008['hasSame'](_0x237f07,'week')?(_0x4a8056=_0x51b008['startOf']('week')['toJSDate'](),_0xb55ff3=_0x51b008['weekdayLong']||''):_0x51b008['hasSame'](_0x237f07,'year')?(_0x4a8056=_0x51b008['startOf']('month')['toJSDate'](),_0xb55ff3=_0x51b008['monthLong']||''):(_0x4a8056=_0x51b008['startOf']('year')['toJSDate'](),_0xb55ff3=String(_0x51b008['year'])),{'startDate':_0x4a8056,'localizedPeriodName':_0xb55ff3};}class mi extends _0x50a5ec{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x2f2cef,_0x60d884,_0x299741,_0x7bae8){super(_0x2f2cef);const _0x2d750c=di(_0x60d884,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x60d884,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x299741,this['_requireRevisionName']=_0x7bae8,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':_0x2d750c}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x1e8e7f){const _0x239914=new ai(this['locale'],_0x1e8e7f,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x239914);}['removeRevision'](_0x23959c){const _0xf1a6c1=this['revisionViews']['find'](_0x4ddbd3=>_0x4ddbd3['id']===_0x23959c['id']);this['revisionViews']['remove'](_0xf1a6c1);}}class as extends _0x50a5ec{constructor(_0x19d570){super(_0x19d570);const _0x375203=new _0xbfaf86();_0x375203['content']=_0x209ed5['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x375203,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x19d570,'Revision\x20history')]}]});}}class ci extends _0x50a5ec{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x42595e,_0x54f470,_0x17a3ac,_0x27b3fc){super(_0x42595e);const _0x59408a=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x54f470,this['_revisionActions']=_0x17a3ac,this['_requireRevisionName']=_0x27b3fc,this['on']('select',(_0x344924,_0x2bafc0)=>{this['fire']('revisionSelected',_0x2bafc0);}),this['on']('setName',(_0x5467b0,_0x134fff)=>{this['fire']('revisionSetName',_0x134fff);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x42595e),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x59408a['if']('isEnabled','ck-disabled',_0x3924a6=>!_0x3924a6)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x40a2f8 of this['_revisions'])this['_addRevision'](_0x40a2f8);this['_revisions']['on']('add',(_0x4ffeed,_0x31a2da)=>{this['_addRevision'](_0x31a2da);}),this['_revisions']['on']('remove',(_0x34dd4a,_0x40f881)=>{this['_removeRevision'](_0x40f881);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x145eb9=>_0x145eb9['revisionViews']['map'](_0x4a2dbc=>_0x4a2dbc))['flat']();}['selectRevision'](_0xf33188){for(const _0x500445 of this['revisionViews'])_0xf33188&&_0xf33188['id']===_0x500445['id']?_0x500445['select']():_0x500445['deselect']();}['highlightRevisions'](_0x2f8e73){for(const _0x240111 of this['revisionViews'])_0x2f8e73['some'](({id:_0xcdb244})=>_0xcdb244===_0x240111['id'])?_0x240111['highlight']():_0x240111['unhighlight']();}['_addRevision'](_0x1d2fca){const _0x21d172=di(_0x1d2fca['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x1e5124=this['timePeriodViews']['get'](0x0);_0x1e5124&&_0x1e5124['startDate']['getTime']()===_0x21d172['getTime']()||(_0x1e5124=new mi(this['locale'],_0x21d172,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x1e5124)),_0x1e5124['addRevision'](_0x1d2fca);}['_removeRevision'](_0x333232){const _0x3c6663=di(_0x333232['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x3c6663)['removeRevision'](_0x333232);}['_getTimePeriodViewByStartDate'](_0x595ea9){return this['timePeriodViews']['find'](_0xcf316f=>_0xcf316f['startDate']['getTime']()===_0x595ea9['getTime']());}}class w extends _0x1123d9{['_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(_0x170ad0){super(_0x170ad0),this['_revisionViewer']=_0x170ad0['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x3fb5f7=this['_revisionsRepository']['_revisions'],_0x3955ab=this['_createRevisionActions'](),_0x1d3c92=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x3fb5f7,_0x3955ab,this['editor']['config']['get']('revisionHistory.requireRevisionName')),this['_sidebarView']['on']('revisionSelected',this['_handleRevisionSelected']['bind'](this)),this['_sidebarView']['on']('revisionSetName',this['_handleRevisionSetName']['bind'](this)),this['_sidebarView']['bind']('isEnabled')['to'](this['_revisionViewer']),this['_sidebarView']['timePeriodViews']['on']('add',(_0x30f23c,_0x501458)=>{_0x501458['revisionViews']['on']('add',(_0x22743b,_0x249d6f)=>{_0x249d6f['bind']('isEnabled','isReady')['to'](this['_revisionViewer']);});}),this['_sidebarView']['render'](),this['listenTo'](this['editor']['data'],'ready',this['_handleEditorDataReady']['bind'](this)),this['listenTo'](this['_revisionViewer'],'change:diff',this['_handleDiffChange']['bind'](this)),_0x1d3c92['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x4f43d8=this['_revisionsRepository']['getRevision'](0x0);if(_0x4f43d8){const _0x432d67=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4f43d8['id']);this['_revisionViewer']['compare'](_0x4f43d8,_0x432d67);}}['_handleRevisionSelected'](_0x1545fc,_0x431bb0){const _0x2202a1=this['_revisionsRepository']['getRevision'](_0x431bb0['id']),_0x2da017=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x2202a1['id']);this['_revisionViewer']['compare'](_0x2202a1,_0x2da017);}['_handleRevisionSetName'](_0x3b063b,_0x4435fc){this['_revisionsRepository']['getRevision'](_0x4435fc['id'])['setName'](_0x4435fc['name']);}['_handleDiffChange'](_0x13fed9,_0xb58d3a,_0x1297ba){const _0x2d5b6f=this['_revisionsRepository']['getRevisionsInDiff'](_0x1297ba);_0x2d5b6f['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x2d5b6f),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x2d5b6f[0x0]));}['_createRevisionActions'](){const _0x5a5804=this['editor'],_0x39bf81=w['availableRevisionActions'],_0x3304f9=_0x5a5804['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x3304f9['length'])return _0x3304f9['map'](_0x990c51=>{const _0x49ee54='string'==typeof _0x990c51?Object['assign']({},_0x39bf81[_0x990c51]):_0x990c51;return _0x49ee54['action']=_0x49ee54['action']['bind'](this,_0x5a5804),_0x49ee54['isVisible']&&(_0x49ee54['isVisible']=_0x49ee54['isVisible']['bind'](this,_0x5a5804)),_0x49ee54;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x2be927},_0xf3604)=>{const _0x571bac=_0x2be927['get'](d),_0x39a5d7=_0x571bac['repository'];let _0x1638a2=_0x571bac['diff']['newRevisionId'],_0x2cc3d2=_0xf3604['id'];_0x39a5d7['getIndex'](_0x1638a2)>_0x39a5d7['getIndex'](_0x2cc3d2)&&([_0x1638a2,_0x2cc3d2]=[_0x2cc3d2,_0x1638a2]),_0x571bac['compare'](_0x1638a2,_0x2cc3d2);},'isVisible':({plugins:_0x368d08},_0x33e065)=>{const _0x3ec688=_0x368d08['get'](d);return!(_0x3ec688['repository']['getRevisionsInDiff'](_0x3ec688['diff'])['length']>0x2)&&!_0x33e065['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x47c0ae,{id:_0x24f97e})=>{_0x47c0ae['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x24f97e);},'isVisible':({plugins:_0xbbf7bb},_0x56236e)=>!!_0xbbf7bb['get'](d)['repository']['getLaterVisibleRevision'](_0x56236e['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x3073f2},{id:_0x1bc31c,revisionNameView:_0x1f79ae})=>{const _0x579923=_0x3073f2['get'](d),_0x3ff401=_0x579923['repository']['getEarlierVisibleRevision'](_0x1bc31c);_0x579923['compare'](_0x1bc31c,_0x3ff401),_0x1f79ae['focus'](),_0x1f79ae['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x19fc01,_0x4b0f67){super(_0x19fc01),this['_view']=_0x4b0f67,this['_toolbarConfig']=ct(_0x19fc01['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x5b046e){const _0x1e9502=this['editor'],_0x40f1ff=this['view'],_0x27f1ad=_0x1e9502['editing']['view'],_0x592944=_0x40f1ff['editable'],_0x502c2f=_0x27f1ad['document']['getRoot']();_0x592944['name']=_0x502c2f['rootName'],_0x40f1ff['render']();const _0x33cdc2=_0x592944['element'];this['setEditableElement'](_0x592944['name'],_0x33cdc2),_0x40f1ff['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x27f1ad['attachDomRoot'](_0x33cdc2),this['_elementReplacer']['replace'](_0x5b046e,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x4adc52=this['view'],_0x25fde1=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x25fde1['detachDomRoot'](_0x4adc52['editable']['name']),_0x4adc52['destroy']();}['_initToolbar'](){const _0x3c7551=this['view'];_0x3c7551['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x3c7551['stickyPanel']['limiterElement']=_0x3c7551['element'],_0x3c7551['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x5635d3})=>_0x5635d3),_0x3c7551['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x3c7551['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x848281,_0x1cdf1c,_0x25b811={}){super(_0x848281),this['stickyPanel']=new lt(_0x848281),this['toolbar']=new pt(_0x848281,{'shouldGroupWhenFull':_0x25b811['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x848281,_0x1cdf1c);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends/* #__PURE__ -- @preserve */
29
- rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x207852,_0xfe81a6){super(_0xfe81a6),this['sourceElement']=_0x207852,this['model']['document']['createRoot']();const _0x300aba=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x300aba);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x3c66b7,_0x4ef0e5){const _0x23b2ff=new this(_0x3c66b7,_0x4ef0e5);return await _0x23b2ff['initPlugins'](),await _0x23b2ff['ui']['init'](_0x3c66b7),await _0x23b2ff['data']['init'](_0x23b2ff['config']['get']('initialData')||''),_0x23b2ff['fire']('ready'),_0x23b2ff;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0xfa4437{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x18917d){super(_0x18917d),this['result']='end';}}class H extends _0xfa4437{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x1a1f9f){if(super(_0x1a1f9f),!this['editor']['config']['get']('revisionHistory'))throw new _0x49b839('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x5b7211=>this['_showRevisionViewer']({..._0x5b7211,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x5bf2a8=>this['_closeRevisionViewer'](_0x5bf2a8)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x15e11e=>this['_restoreRevision'](_0x15e11e)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x52a210){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x52a210;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x559027){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x559027);}['getRevision'](_0x45c31d){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x45c31d);}['getRevisions'](_0x186a46){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x186a46||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x177a52=this['editor'],_0x113056=_0x4ceac5(_0x177a52,p),_0x41e1b0=_0x177a52['plugins']['get']('RevisionTracker'),_0x28ca9c=_0x177a52['plugins']['get']('Users')['users'];return _0x113056['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x113056['lazyRoots'],(_0x113056['plugins']['push'](k,d,R,class extends _0xfa4437{static get['requires'](){return[d,'Users'];}['init'](){const _0x54ab59=this['editor']['plugins']['get']('Users');for(const _0x26710f of _0x28ca9c)_0x26710f['isAnonymous']||_0x54ab59['getUser'](_0x26710f['id'])||_0x54ab59['addUser'](_0x26710f);const _0x4783f3=_0x41e1b0['repository']['getRevisions']();let _0x564439=null;const _0x581306=this['editor']['plugins']['get']('RevisionViewer');_0x581306['adapter']=_0x41e1b0['adapter'],_0x581306['bind']('isEnabled')['to'](_0x41e1b0),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x177a52,'isReadOnly',_0x126674=>!_0x126674);for(const _0x3c2ab0 of _0x4783f3){const _0x2acc58=null===_0x3c2ab0['creator'];if(_0x2acc58&&_0x3c2ab0['toVersion']===_0x3c2ab0['fromVersion'])continue;const _0x56c39f=_0x3c2ab0['toJSON']();_0x581306['addRevisionData'](_0x56c39f,(_0x3d6f37,_0x2b413c,_0x139c4f)=>{if(_0x2acc58){if(_0x564439)_0x564439['_update'](_0x3d6f37,_0x2b413c);else{if(!_0x2b413c){const _0x2a41dd=_0x139c4f['toJSON']();_0x2a41dd['id']=_0x4d587a(),_0x41e1b0['saveRevision'](_0x2a41dd,_0x139c4f['toVersion'])['then'](_0x5513a9=>{_0x564439=_0x5513a9;});}}}else _0x3c2ab0['_update'](_0x3d6f37,_0x2b413c);});}}},w),_0x113056);}['_enhanceShowRevisionViewerCallback'](){const _0x9deb6b=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x50454b=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x37b12c=this['editor']['plugins']['get']('Autosave');await _0x37b12c['save']();}else await _0x50454b['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x3d101f=this['editor']['plugins']['get']('Dialog');_0x3d101f['isOpen']&&_0x3d101f['hide']();}const _0x52f7bd=this['_getRevisionViewerEditorConfig']();return _0x9deb6b(_0x52f7bd)['then'](_0x32cdb2=>{return(this['_viewerEditor']=_0x32cdb2,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x32cdb2;})['catch'](_0x3c9017=>(console['error'](_0x3c9017),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x4361a5=this['editor']['config']['get']('revisionHistory')['closeRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.closeRevisionViewerCallback',()=>(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['_viewerEditor']['plugins']['get']('RevisionViewer')['_cleanUp'](),_0x4361a5(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x3968ae=this['editor']['plugins']['get']('Annotations');_0x3968ae['refreshVisibility'](),_0x3968ae['refreshPositioning']();}})));}['_showRevisionViewer'](_0x163b9c){const _0x55325c=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x352cc6=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0xb1fdb7=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0xb1fdb7,_0x163b9c)['then'](_0x172163=>(_0x352cc6['style']['display']='block',_0x55325c['style']['display']='none',_0x172163));}['_closeRevisionViewer'](_0x23256b){const _0x151894=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x151894['style']['display']='',_0x23256b['destroy']();}async['_restoreRevision'](_0x32aa0b){const _0x4f0cda=this['editor'],_0x3759b4=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0xfcbc68=_0x4f0cda['plugins']['get']('RevisionTracker'),_0x10b040=_0x3759b4['repository']['getRevision'](_0x32aa0b);let _0x161f1a,_0x205a08,_0x1d54c8;try{_0x161f1a=await _0x3759b4['getRevisionData'](_0x10b040),_0x205a08=await _0x3759b4['getRevisionRootsAttributes'](_0x10b040);}catch(_0xc1f0b){return void console['error'](_0xc1f0b);}_0x4f0cda['model']['change'](_0x4e2c50=>{for(const _0x18b813 of Array['from'](_0x4f0cda['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x4e2c50['removeMarker'](_0x18b813);}),_0x3759b4['isReady']=!0x1,_0x4f0cda['model']['enqueueChange'](_0x37ee4c=>{_0x37ee4c['setSelection'](null),_0x37ee4c['removeSelectionAttribute'](_0x4f0cda['model']['document']['selection']['getAttributeKeys']());const _0x4d1fea=Object['keys'](_0x161f1a);for(const _0x15f284 of _0x4f0cda['model']['document']['roots'])'$graveyard'!=_0x15f284['rootName']&&_0x15f284['isAttached']()&&!_0x4d1fea['includes'](_0x15f284['rootName'])&&_0x37ee4c['detachRoot'](_0x15f284);for(const _0x53555a of _0x4d1fea){let _0xca2246=_0x4f0cda['model']['document']['getRoot'](_0x53555a);_0xca2246&&_0xca2246['isAttached']()||(_0xca2246=_0x37ee4c['addRoot'](_0x53555a));const _0x55ef06=_0x205a08[_0x53555a],_0x27e399=Object['keys'](_0x55ef06),_0x50dc29=_0x161f1a[_0x53555a];for(const _0x53b987 of _0xca2246['getAttributeKeys']())_0x27e399['includes'](_0x53b987)||_0x37ee4c['removeAttribute'](_0x53b987,_0xca2246);for(const _0x41422f of _0x27e399)_0x37ee4c['setAttribute'](_0x41422f,_0x205a08[_0x53555a][_0x41422f],_0xca2246);_0x37ee4c['remove'](_0x37ee4c['createRangeIn'](_0xca2246)),_0x37ee4c['insert'](_0x4f0cda['data']['parse'](_0x50dc29,_0xca2246),_0xca2246,0x0);}});const _0x7dcfa7=y(_0x4f0cda['locale'],'Restored');if(_0x10b040['name'])_0x1d54c8=-0x1==_0x10b040['name']['indexOf'](_0x7dcfa7)?_0x7dcfa7+':\x20'+_0x10b040['name']:_0x10b040['name'];else _0x1d54c8=_0x7dcfa7+':\x20'+(_0x10b040['createdAt']['toLocaleDateString'](_0x4f0cda['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x10b040['createdAt']['toLocaleTimeString'](_0x4f0cda['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0xfcbc68['saveRevision']({'name':_0x1d54c8}),_0x3759b4['isReady']=!0x0,_0x4f0cda['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
28
+ Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x402eee){super(_0x402eee),this['_revisionViewer']=_0x402eee['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x349163=this['_revisionsRepository']['_revisions'],_0x3bb042=this['_createRevisionActions'](),_0x54cb93=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x349163,_0x3bb042,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',(_0x40c336,_0x54b952)=>{_0x54b952['revisionViews']['on']('add',(_0x4e142a,_0x51bdf3)=>{_0x51bdf3['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)),_0x54cb93['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x1a8c07=this['_revisionsRepository']['getRevision'](0x0);if(_0x1a8c07){const _0x2dac64=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x1a8c07['id']);this['_revisionViewer']['compare'](_0x1a8c07,_0x2dac64);}}['_handleRevisionSelected'](_0x413916,_0x2b3bf9){const _0x3be3ee=this['_revisionsRepository']['getRevision'](_0x2b3bf9['id']),_0x3cb330=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x3be3ee['id']);this['_revisionViewer']['compare'](_0x3be3ee,_0x3cb330);}['_handleRevisionSetName'](_0x226bc6,_0x582294){this['_revisionsRepository']['getRevision'](_0x582294['id'])['setName'](_0x582294['name']);}['_handleDiffChange'](_0x205916,_0x50fa2c,_0x14e18c){const _0x2e4c43=this['_revisionsRepository']['getRevisionsInDiff'](_0x14e18c);_0x2e4c43['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x2e4c43),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x2e4c43[0x0]));}['_createRevisionActions'](){const _0x4fc5b6=this['editor'],_0x1dde77=w['availableRevisionActions'],_0x5ec56b=_0x4fc5b6['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x5ec56b['length'])return _0x5ec56b['map'](_0x456a71=>{const _0x211d16='string'==typeof _0x456a71?Object['assign']({},_0x1dde77[_0x456a71]):_0x456a71;return _0x211d16['action']=_0x211d16['action']['bind'](this,_0x4fc5b6),_0x211d16['isVisible']&&(_0x211d16['isVisible']=_0x211d16['isVisible']['bind'](this,_0x4fc5b6)),_0x211d16;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0xec7792},_0x303705)=>{const _0xff4aa2=_0xec7792['get'](d),_0x56d755=_0xff4aa2['repository'];let _0x2d3996=_0xff4aa2['diff']['newRevisionId'],_0x199bf3=_0x303705['id'];_0x56d755['getIndex'](_0x2d3996)>_0x56d755['getIndex'](_0x199bf3)&&([_0x2d3996,_0x199bf3]=[_0x199bf3,_0x2d3996]),_0xff4aa2['compare'](_0x2d3996,_0x199bf3);},'isVisible':({plugins:_0x4447f0},_0x349e7f)=>{const _0x4846a6=_0x4447f0['get'](d);return!(_0x4846a6['repository']['getRevisionsInDiff'](_0x4846a6['diff'])['length']>0x2)&&!_0x349e7f['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x16433c,{id:_0x28d529})=>{_0x16433c['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x28d529);},'isVisible':({plugins:_0x599af1},_0x41ac98)=>!!_0x599af1['get'](d)['repository']['getLaterVisibleRevision'](_0x41ac98['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x5d72b9},{id:_0x36641a,revisionNameView:_0x41343e})=>{const _0x2e6312=_0x5d72b9['get'](d),_0x329604=_0x2e6312['repository']['getEarlierVisibleRevision'](_0x36641a);_0x2e6312['compare'](_0x36641a,_0x329604),_0x41343e['focus'](),_0x41343e['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x1cbb84,_0x520ffb){super(_0x1cbb84),this['_view']=_0x520ffb,this['_toolbarConfig']=ct(_0x1cbb84['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x57b0aa){const _0x344e1f=this['editor'],_0x34a50c=this['view'],_0x40b88d=_0x344e1f['editing']['view'],_0x366142=_0x34a50c['editable'],_0x337525=_0x40b88d['document']['getRoot']();_0x366142['name']=_0x337525['rootName'],_0x34a50c['render']();const _0x2d27a1=_0x366142['element'];this['setEditableElement'](_0x366142['name'],_0x2d27a1),_0x34a50c['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x40b88d['attachDomRoot'](_0x2d27a1),this['_elementReplacer']['replace'](_0x57b0aa,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x2e4fd4=this['view'],_0x175a90=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x175a90['detachDomRoot'](_0x2e4fd4['editable']['name']),_0x2e4fd4['destroy']();}['_initToolbar'](){const _0x113f51=this['view'];_0x113f51['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x113f51['stickyPanel']['limiterElement']=_0x113f51['element'],_0x113f51['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x55f196})=>_0x55f196),_0x113f51['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x113f51['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x163917,_0x385cea,_0x959430={}){super(_0x163917),this['stickyPanel']=new lt(_0x163917),this['toolbar']=new pt(_0x163917,{'shouldGroupWhenFull':_0x959430['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x163917,_0x385cea);}['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(_0x156e47,_0x107246){super(_0x107246),this['sourceElement']=_0x156e47,this['model']['document']['createRoot']();const _0x951a71=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x951a71);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x1e1f0e,_0x3f08f9){const _0x39432c=new this(_0x1e1f0e,_0x3f08f9);return await _0x39432c['initPlugins'](),await _0x39432c['ui']['init'](_0x1e1f0e),await _0x39432c['data']['init'](_0x39432c['config']['get']('initialData')||''),_0x39432c['fire']('ready'),_0x39432c;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x1123d9{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x57ef28){super(_0x57ef28),this['result']='end';}}class H extends _0x1123d9{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x5c407e){if(super(_0x5c407e),!this['editor']['config']['get']('revisionHistory'))throw new _0x52f019('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x347a97=>this['_showRevisionViewer']({..._0x347a97,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x14ad7d=>this['_closeRevisionViewer'](_0x14ad7d)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x2b8bff=>this['_restoreRevision'](_0x2b8bff)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x3581ba){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x3581ba;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x3ab24d){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x3ab24d);}['getRevision'](_0x369544){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x369544);}['getRevisions'](_0x19319c){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x19319c||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x412537=this['editor'],_0x21f78c=_0x21455e(_0x412537,p),_0x109bed=_0x412537['plugins']['get']('RevisionTracker'),_0xd5f84d=_0x412537['plugins']['get']('Users')['users'];return _0x21f78c['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x21f78c['lazyRoots'],(_0x21f78c['plugins']['push'](k,d,R,class extends _0x1123d9{static get['requires'](){return[d,'Users'];}['init'](){const _0x4b927e=this['editor']['plugins']['get']('Users');for(const _0x4a74d9 of _0xd5f84d)_0x4a74d9['isAnonymous']||_0x4b927e['getUser'](_0x4a74d9['id'])||_0x4b927e['addUser'](_0x4a74d9);const _0x3658ed=_0x109bed['repository']['getRevisions']();let _0x8df94b=null;const _0x4dfa4f=this['editor']['plugins']['get']('RevisionViewer');_0x4dfa4f['adapter']=_0x109bed['adapter'],_0x4dfa4f['bind']('isEnabled')['to'](_0x109bed),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x412537,'isReadOnly',_0x340e48=>!_0x340e48);for(const _0x1bb0d0 of _0x3658ed){const _0x1cba23=null===_0x1bb0d0['creator'];if(_0x1cba23&&_0x1bb0d0['toVersion']===_0x1bb0d0['fromVersion'])continue;const _0xe4c1db=_0x1bb0d0['toJSON']();_0x4dfa4f['addRevisionData'](_0xe4c1db,(_0x4a980f,_0x56a437,_0x27c8a5)=>{if(_0x1cba23){if(_0x8df94b)_0x8df94b['_update'](_0x4a980f,_0x56a437);else{if(!_0x56a437){const _0x4a6351=_0x27c8a5['toJSON']();_0x4a6351['id']=_0x303c82(),_0x109bed['saveRevision'](_0x4a6351,_0x27c8a5['toVersion'])['then'](_0x3c7d78=>{_0x8df94b=_0x3c7d78;});}}}else _0x1bb0d0['_update'](_0x4a980f,_0x56a437);});}}},w),_0x21f78c);}['_enhanceShowRevisionViewerCallback'](){const _0x69bd8c=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x39d66a=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x537794=this['editor']['plugins']['get']('Autosave');await _0x537794['save']();}else await _0x39d66a['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x37c6c9=this['editor']['plugins']['get']('Dialog');_0x37c6c9['isOpen']&&_0x37c6c9['hide']();}const _0x2b4129=this['_getRevisionViewerEditorConfig']();return _0x69bd8c(_0x2b4129)['then'](_0x3d0a1d=>{return(this['_viewerEditor']=_0x3d0a1d,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x3d0a1d;})['catch'](_0x46d34b=>(console['error'](_0x46d34b),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x287ed9=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'](),_0x287ed9(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x55c15f=this['editor']['plugins']['get']('Annotations');_0x55c15f['refreshVisibility'](),_0x55c15f['refreshPositioning']();}})));}['_showRevisionViewer'](_0x34597d){const _0x505c7d=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x5dfe0d=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x5531fe=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x5531fe,_0x34597d)['then'](_0x22ca60=>(_0x5dfe0d['style']['display']='block',_0x505c7d['style']['display']='none',_0x22ca60));}['_closeRevisionViewer'](_0x53b818){const _0x4f3719=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x4f3719['style']['display']='',_0x53b818['destroy']();}async['_restoreRevision'](_0x56696d){const _0x5e0830=this['editor'],_0x254575=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x47bcda=_0x5e0830['plugins']['get']('RevisionTracker'),_0x403897=_0x254575['repository']['getRevision'](_0x56696d);let _0x5c8f1c,_0x5506c8,_0x4e842a;try{_0x5c8f1c=await _0x254575['getRevisionData'](_0x403897),_0x5506c8=await _0x254575['getRevisionRootsAttributes'](_0x403897);}catch(_0x521905){return void console['error'](_0x521905);}_0x5e0830['model']['change'](_0xde2b8d=>{for(const _0x411652 of Array['from'](_0x5e0830['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0xde2b8d['removeMarker'](_0x411652);}),_0x254575['isReady']=!0x1,_0x5e0830['model']['enqueueChange'](_0x45e115=>{_0x45e115['setSelection'](null),_0x45e115['removeSelectionAttribute'](_0x5e0830['model']['document']['selection']['getAttributeKeys']());const _0x57f77d=Object['keys'](_0x5c8f1c);for(const _0x85b0a2 of _0x5e0830['model']['document']['roots'])'$graveyard'!=_0x85b0a2['rootName']&&_0x85b0a2['isAttached']()&&!_0x57f77d['includes'](_0x85b0a2['rootName'])&&_0x45e115['detachRoot'](_0x85b0a2);for(const _0x290d2d of _0x57f77d){let _0x493fe8=_0x5e0830['model']['document']['getRoot'](_0x290d2d);_0x493fe8&&_0x493fe8['isAttached']()||(_0x493fe8=_0x45e115['addRoot'](_0x290d2d));const _0x18c5f0=_0x5506c8[_0x290d2d],_0x98af5b=Object['keys'](_0x18c5f0),_0x527e25=_0x5c8f1c[_0x290d2d];for(const _0x53b919 of _0x493fe8['getAttributeKeys']())_0x98af5b['includes'](_0x53b919)||_0x45e115['removeAttribute'](_0x53b919,_0x493fe8);for(const _0x4ba526 of _0x98af5b)_0x45e115['setAttribute'](_0x4ba526,_0x5506c8[_0x290d2d][_0x4ba526],_0x493fe8);_0x45e115['remove'](_0x45e115['createRangeIn'](_0x493fe8)),_0x45e115['insert'](_0x5e0830['data']['parse'](_0x527e25,_0x493fe8),_0x493fe8,0x0);}});const _0x22ac80=y(_0x5e0830['locale'],'Restored');if(_0x403897['name'])_0x4e842a=-0x1==_0x403897['name']['indexOf'](_0x22ac80)?_0x22ac80+':\x20'+_0x403897['name']:_0x403897['name'];else _0x4e842a=_0x22ac80+':\x20'+(_0x403897['createdAt']['toLocaleDateString'](_0x5e0830['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x403897['createdAt']['toLocaleTimeString'](_0x5e0830['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x47bcda['saveRevision']({'name':_0x4e842a}),_0x254575['isReady']=!0x0,_0x5e0830['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};