@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240528.0 → 0.0.0-nightly-20240529.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 _0x5237db,Context as _0x43ce5c,PendingActions as _0xeac671,icons as _0x1a1335,Command as _0x28c5da,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x34ec5d,uid as _0xee2aa4,Collection as _0x3c497c,logWarning as _0x15417b,FocusTracker as _0x13b58f,KeystrokeHandler as _0x4b35d0,scrollViewportToShowTarget as _0x62afe6,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x46bbe0}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x114540,getMarkerDomElement as _0x56146d,ConfirmMixin as _0x3d73ad,sanitizeEditorConfig as _0x48a64c}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x15d82a,ViewText as _0x16d4f5,ViewElement as _0x1a051c,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x45c61b,ViewAttributeElement as _0x2e17bd,ViewEmptyElement as _0x5668bd,ViewRawElement as _0x38a11a,ViewUIElement as _0x5d1968,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x18fa51,set as _0x3cd9a2,unset as _0x396d88,isEqual as _0x1306bd}from'lodash-es';import{View as _0x5ec719,injectCssTransitionDisabler as ts,submitHandler as _0x45c15c,LabeledFieldView as at,createLabeledInputText as _0x9d6d1a,createDropdown as _0xc5c0ce,ListView as te,ListItemView as _0xf0e1d8,ButtonView as _0x43d9e8,MenuBarMenuView as _0x5cebf0,MenuBarMenuListView as _0x161112,MenuBarMenuListItemView as _0x480f39,MenuBarMenuListItemButtonView as _0x59ca74,ContextualBalloon as _0x25d83a,ToolbarSeparatorView as _0x434311,IconView as _0x563b37,addListToDropdown as _0x10eec3,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 _0x518cab}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x34ec5d(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x1d596d){super(),this['id']=_0x1d596d['id']||_0xee2aa4(),this['creator']=_0x1d596d['creator']||null,this['authors']=_0x1d596d['authors']||[],this['diffData']=_0x1d596d['diffData']||null,this['toVersion']=_0x1d596d['toVersion']||0x0,this['fromVersion']=_0x1d596d['fromVersion']||0x0,this['set']('name',_0x1d596d['name']||''),this['set']('createdAt',_0x1d596d['createdAt']||new Date()),this['set']('attributes',_0x1d596d['attributes']||{});}['setName'](_0x4af420){this['_update']({'name':_0x4af420});}['setAttribute'](_0x141b98,_0x5dacd8){const _0x14ee7f=_0x18fa51(this['attributes']);_0x3cd9a2(_0x14ee7f,_0x141b98,_0x5dacd8),this['_update']({'attributes':_0x14ee7f});}['removeAttribute'](_0x47bbb6){const _0x231574=_0x18fa51(this['attributes']);_0x396d88(_0x231574,_0x47bbb6),this['_update']({'attributes':_0x231574});}['_update'](_0x263ded,_0x46fd34=!0x1){let _0x29c189=!0x1;const _0x4d425c={'id':this['id']},_0x561f8b=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x3af248 of _0x561f8b){const _0x2e719a=_0x263ded[_0x3af248];void 0x0!==_0x2e719a&&_0x2e719a!==this[_0x3af248]&&(this[_0x3af248]=_0x2e719a,_0x4d425c[_0x3af248]=_0x2e719a,_0x29c189=!0x0);}_0x29c189&&(_0x4d425c['authors']&&(_0x4d425c['authorsIds']=_0x4d425c['authors']['map'](_0x2028bf=>_0x2028bf['id']),delete _0x4d425c['authors']),this['fire']('_update',_0x4d425c,_0x46fd34));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x3b29c2=>_0x3b29c2['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x5237db{['_revisions'];static get['requires'](){return[_0x114540];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x3b6a2d){super(_0x3b6a2d),this['_revisions']=new _0x3c497c();}['afterInit'](){!function(_0x569c32){function _0x2f09b6(_0x5dfdf0,_0x162678,_0x53ac65){const _0x2b48a2={};_0x2b48a2[_0xb8995([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x2b48a2[_0xb8995([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],_0x2b48a2[_0xb8995([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],_0x2b48a2[_0xb8995([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],_0x2b48a2[_0xb8995([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],_0x2b48a2[_0xb8995([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],_0x2b48a2[_0xb8995([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],_0x2b48a2[_0xb8995([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],_0x2b48a2[_0xb8995([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],_0x2b48a2[_0xb8995([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],_0x2b48a2[_0xb8995([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 _0x36b06c=new Uint8Array(0x10);for(let _0x148ce4=0xf;_0x148ce4>=0x0;--_0x148ce4)_0x36b06c[_0x148ce4]=_0x53ac65%0x100,_0x53ac65=parseInt(_0x53ac65/0x100);let _0x377657=null,_0x1a4a06=0x10;const _0x4bc401=new Uint8Array(_0x162678),_0x2a8f20=[],_0x28cf18=[];_0x53ef4b();for(let _0x351dc7=0x0;_0x351dc7<_0x5dfdf0[_0xb8995([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x351dc7++)0x10===_0x1a4a06&&(_0x377657=_0xe2ec7c(_0x36b06c),_0x1a4a06=0x0,_0x13793c(_0x36b06c)),_0x5dfdf0[_0x351dc7]^=_0x377657[_0x1a4a06++];return _0x5dfdf0;function _0x838e94(_0x7b0112){const _0x132991=[];for(let _0x3c566b=0x0;_0x3c566b<_0x7b0112[_0xb8995([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c566b+=0x4)_0x132991[_0xb8995([0x70,0x75,0x73,0x68])](_0x7b0112[_0x3c566b]<<0x18|_0x7b0112[_0x3c566b+0x1]<<0x10|_0x7b0112[_0x3c566b+0x2]<<0x8|_0x7b0112[_0x3c566b+0x3]);return _0x132991;}function _0x13793c(_0x2fe220){for(let _0xdf503e=0xf;_0xdf503e>=0x0;_0xdf503e--){if(0xff!==_0x2fe220[_0xdf503e]){_0x2fe220[_0xdf503e]++;break;}_0x2fe220[_0xdf503e]=0x0;}}function _0xe2ec7c(_0x56a258){const _0x5ce509=_0x2a8f20[_0xb8995([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x297664=[0x0,0x0,0x0,0x0];let t=_0x838e94(_0x56a258);for(let _0x3bdc23=0x0;_0x3bdc23<0x4;_0x3bdc23++)t[_0x3bdc23]^=_0x2a8f20[0x0][_0x3bdc23];for(let _0x507c33=0x1;_0x507c33<_0x5ce509;_0x507c33++){for(let _0x194e39=0x0;_0x194e39<0x4;_0x194e39++)_0x297664[_0x194e39]=_0x2b48a2[_0xb8995([0x54,0x31])][t[_0x194e39]>>0x18&0xff]^_0x2b48a2[_0xb8995([0x54,0x32])][t[(_0x194e39+0x1)%0x4]>>0x10&0xff]^_0x2b48a2[_0xb8995([0x54,0x33])][t[(_0x194e39+0x2)%0x4]>>0x8&0xff]^_0x2b48a2[_0xb8995([0x54,0x34])][0xff&t[(_0x194e39+0x3)%0x4]]^_0x2a8f20[_0x507c33][_0x194e39];t=_0x297664[_0xb8995([0x73,0x6c,0x69,0x63,0x65])]();}const _0x29388a=new Uint8Array(0x10);let _0x4f064d;for(let _0x5ca568=0x0;_0x5ca568<0x4;_0x5ca568++)_0x4f064d=_0x2a8f20[_0x5ce509][_0x5ca568],_0x29388a[0x4*_0x5ca568]=0xff&(_0x2b48a2[_0xb8995([0x53])][t[_0x5ca568]>>0x18&0xff]^_0x4f064d>>0x18),_0x29388a[0x4*_0x5ca568+0x1]=0xff&(_0x2b48a2[_0xb8995([0x53])][t[(_0x5ca568+0x1)%0x4]>>0x10&0xff]^_0x4f064d>>0x10),_0x29388a[0x4*_0x5ca568+0x2]=0xff&(_0x2b48a2[_0xb8995([0x53])][t[(_0x5ca568+0x2)%0x4]>>0x8&0xff]^_0x4f064d>>0x8),_0x29388a[0x4*_0x5ca568+0x3]=0xff&(_0x2b48a2[_0xb8995([0x53])][0xff&t[(_0x5ca568+0x3)%0x4]]^_0x4f064d);return _0x29388a;}function _0x53ef4b(){const _0x38bc50=_0x2b48a2[_0xb8995([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x4bc401[_0xb8995([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x424c61=0x0;_0x424c61<=_0x38bc50;_0x424c61++)_0x2a8f20[_0xb8995([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x28cf18[_0xb8995([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x396213=0x4*(_0x38bc50+0x1),_0x41dec2=_0x4bc401[_0xb8995([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x4ef6b2=_0x838e94(_0x4bc401);let _0x56de23;for(let _0x79f882=0x0;_0x79f882<_0x41dec2;_0x79f882++)_0x56de23=_0x79f882>>0x2,_0x2a8f20[_0x56de23][_0x79f882%0x4]=_0x4ef6b2[_0x79f882],_0x28cf18[_0x38bc50-_0x56de23][_0x79f882%0x4]=_0x4ef6b2[_0x79f882];let _0xd066a0,_0x358dfb=0x0,t=_0x41dec2;for(;t<_0x396213;){_0xd066a0=_0x4ef6b2[_0x41dec2-0x1],_0x4ef6b2[0x0]^=_0x2b48a2[_0xb8995([0x53])][_0xd066a0>>0x10&0xff]<<0x18^_0x2b48a2[_0xb8995([0x53])][_0xd066a0>>0x8&0xff]<<0x10^_0x2b48a2[_0xb8995([0x53])][0xff&_0xd066a0]<<0x8^_0x2b48a2[_0xb8995([0x53])][_0xd066a0>>0x18&0xff]^_0x2b48a2[_0xb8995([0x72,0x63,0x6f,0x6e])][_0x358dfb]<<0x18,_0x358dfb+=0x1;for(let _0x2f2ab0=0x1;_0x2f2ab0<_0x41dec2/0x2;_0x2f2ab0++)_0x4ef6b2[_0x2f2ab0]^=_0x4ef6b2[_0x2f2ab0-0x1];_0xd066a0=_0x4ef6b2[_0x41dec2/0x2-0x1],_0x4ef6b2[_0x41dec2/0x2]^=_0x2b48a2[_0xb8995([0x53])][0xff&_0xd066a0]^_0x2b48a2[_0xb8995([0x53])][_0xd066a0>>0x8&0xff]<<0x8^_0x2b48a2[_0xb8995([0x53])][_0xd066a0>>0x10&0xff]<<0x10^_0x2b48a2[_0xb8995([0x53])][_0xd066a0>>0x18&0xff]<<0x18;for(let _0x52c8e8=_0x41dec2/0x2+0x1;_0x52c8e8<_0x41dec2;_0x52c8e8++)_0x4ef6b2[_0x52c8e8]^=_0x4ef6b2[_0x52c8e8-0x1];let _0x3ca51c,_0x2238ce,_0x1fddd6=0x0;for(;_0x1fddd6<_0x41dec2&&t<_0x396213;)_0x3ca51c=t>>0x2,_0x2238ce=t%0x4,_0x2a8f20[_0x3ca51c][_0x2238ce]=_0x4ef6b2[_0x1fddd6],_0x28cf18[_0x38bc50-_0x3ca51c][_0x2238ce]=_0x4ef6b2[_0x1fddd6++],t++;}for(let _0x296ba4=0x1;_0x296ba4<_0x38bc50;_0x296ba4++)for(let _0x2e783b=0x0;_0x2e783b<0x4;_0x2e783b++)_0xd066a0=_0x28cf18[_0x296ba4][_0x2e783b],_0x28cf18[_0x296ba4][_0x2e783b]=_0x2b48a2[_0xb8995([0x55,0x31])][_0xd066a0>>0x18&0xff]^_0x2b48a2[_0xb8995([0x55,0x32])][_0xd066a0>>0x10&0xff]^_0x2b48a2[_0xb8995([0x55,0x33])][_0xd066a0>>0x8&0xff]^_0x2b48a2[_0xb8995([0x55,0x34])][0xff&_0xd066a0];}}function _0xb8995(_0x3129db){return _0x3129db['map'](_0x535794=>String['fromCharCode'](_0x535794))['join']('');}(_0x59219b=>{function _0x5ddb88(){const _0xd8da0f=[{[_0xb8995([0x69,0x64])]:0x1,[_0xb8995([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xb8995([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0xb8995([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xb8995([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xb8995([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xb8995([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xb8995([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0xb8995([0x69,0x64])]:0x2,[_0xb8995([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xb8995([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0xb8995([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xb8995([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xb8995([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xb8995([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]),[_0xb8995([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xb8995([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0xb8995([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0xb8995([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0xb8995([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xb8995([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0xb8995([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0xb8995([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0xb8995([0x69,0x64])]:0x3,[_0xb8995([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xb8995([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0xb8995([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xb8995([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xb8995([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xb8995([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xb8995([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0xb8995([0x69,0x64])]:0x4,[_0xb8995([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xb8995([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0xb8995([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xb8995([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xb8995([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xb8995([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]),[_0xb8995([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xb8995([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0xb8995([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0xb8995([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0xb8995([0x69,0x64])]:0x5,[_0xb8995([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xb8995([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0xb8995([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xb8995([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xb8995([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]),[_0xb8995([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xb8995([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xb8995([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xb8995([0x66,0x67,0x69])]:[0xc]}},{[_0xb8995([0x69,0x64])]:0x6,[_0xb8995([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xb8995([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0xb8995([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xb8995([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xb8995([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xb8995([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xb8995([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xb8995([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xb8995([0x66,0x67,0x69])]:[0xc]}},{[_0xb8995([0x69,0x64])]:0x7,[_0xb8995([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xb8995([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0xb8995([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xb8995([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xb8995([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xb8995([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xb8995([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xb8995([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xb8995([0x66,0x67,0x69])]:[0xc]}},{[_0xb8995([0x69,0x64])]:0x8,[_0xb8995([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xb8995([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0xb8995([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xb8995([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xb8995([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]),[_0xb8995([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xb8995([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xb8995([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xb8995([0x66,0x67,0x69])]:[0xc]}},{[_0xb8995([0x69,0x64])]:0x9,[_0xb8995([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xb8995([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0xb8995([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xb8995([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xb8995([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xb8995([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xb8995([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xb8995([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xb8995([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0xb8995([0x69,0x64])]:0xa,[_0xb8995([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xb8995([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]),[_0xb8995([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xb8995([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]),[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xb8995([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]),[_0xb8995([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xb8995([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xb8995([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xb8995([0x66,0x67,0x69])]:[0xc]}},{[_0xb8995([0x69,0x64])]:0xb,[_0xb8995([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xb8995([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0xb8995([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xb8995([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xb8995([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xb8995([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xb8995([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0xb8995([0x69,0x64])]:0xc,[_0xb8995([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xb8995([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0xb8995([0x69,0x64])]:0xd,[_0xb8995([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xb8995([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0xb8995([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xb8995([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xb8995([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xb8995([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xb8995([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xb8995([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xb8995([0x66,0x67,0x69])]:[0xc]}},{[_0xb8995([0x69,0x64])]:0xe,[_0xb8995([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xb8995([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0xb8995([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xb8995([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])},{[_0xb8995([0x69,0x64])]:0xf,[_0xb8995([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xb8995([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0xb8995([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xb8995([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xb8995([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xb8995([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xb8995([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0xb8995([0x69,0x64])]:0x10,[_0xb8995([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xb8995([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0xb8995([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xb8995([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xb8995([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xb8995([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xb8995([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xb8995([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xb8995([0x66,0x67,0x69])]:[0xc]}}];return _0x4b5d1a(_0xd8da0f),_0xd8da0f;function _0x4f05a4(_0x54dddc){return 0x1<<_0x54dddc-0x1;}function _0x4b5d1a(_0x4d95a0){_0x4d95a0[_0xb8995([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3c54ae=>{_0x3c54ae[_0xb8995([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x4f05a4(_0x3c54ae[_0xb8995([0x69,0x64])]),_0x481d9c(_0x3c54ae)&&_0x3c54ae[_0xb8995([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4b5d1a(_0x3c54ae[_0xb8995([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x481d9c(_0xd9718c){return _0xb8995([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0xd9718c;}const _0x2a0023=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x25ec93=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x20a3de(_0x48bd1c){const _0x26bb3a=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x68d11d(_0x48bd1c,new Uint8Array([..._0x2a0023,..._0x26bb3a,..._0x25ec93]));}function _0x68d11d(_0x568922,_0x5f061f){const _0x477182=_0xca774e(_0x568922),_0x58d88f=Array[_0xb8995([0x66,0x72,0x6f,0x6d])](_0x4bf617(_0x477182)),_0x65a22b=_0x58d88f[_0xb8995([0x70,0x6f,0x70])](),_0x324035=_0x58d88f[_0xb8995([0x70,0x6f,0x70])]();return _0x2db097(_0x2f09b6(_0x58d88f,_0x5f061f,_0x324035+0x100*_0x65a22b));}function _0xca774e(_0x1e982b){const _0x582251=atob(_0x1e982b),[_0x49cd81,_0x5e57fc]=_0x582251[_0xb8995([0x73,0x70,0x6c,0x69,0x74])](_0xb8995([0x2d]));try{if(atob(_0x5e57fc))return atob(_0x49cd81);}catch(_0xfb85e1){}return _0x582251;}function _0x34ca1e(_0x180344){try{const _0x3fdb31=_0x20a3de(_0x180344),_0x30a068=JSON[_0xb8995([0x70,0x61,0x72,0x73,0x65])](_0x3fdb31),_0x5060f0=parseInt(_0x30a068[_0xb8995([0x31])]),_0x3e5c4d=_0x30a068[_0xb8995([0x32])]||'',_0x1d1ef6=parseInt(_0x30a068[_0xb8995([0x33])]),_0x377437=parseInt(_0x30a068[_0xb8995([0x34])])||0x0,_0x19d443=parseInt(_0x30a068[_0xb8995([0x35])])||0x0;return{[_0xb8995([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x3e5c4d,[_0xb8995([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x377437,[_0xb8995([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x5060f0,[_0xb8995([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x1d1ef6,[_0xb8995([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x19d443};}catch(_0x5206b9){return null;}}const _0x49c70c=_0x5ddb88(),_0x3894e1={[_0xb8995([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x5bb1ab,[_0xb8995([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])]:_0x36d425,[_0xb8995([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])]:_0x1ce93b},_0x4e1af7=_0x59219b[_0xb8995([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0xb8995([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x3aa150=_0xb8995([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x59219b?_0x59219b['context']:_0x59219b['editor'],_0x369844=_0xb8995([0x34,0x30,0x34,0x38,0x31,0x30,0x35,0x36]),_0xe8fac4=_0xb8995([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]),_0x5d4226=_0x3aa150['config']['get'](_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x33a56b=_0x49c70c[_0xb8995([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x481d9c)[_0xb8995([0x66,0x69,0x6e,0x64])](_0x33c09b=>_0x33c09b[_0xb8995([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x4e1af7);function _0x3fbe79(_0xe8f602,_0x24382b){_0x3894e1[_0x24382b[_0xb8995([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0xe8f602,_0x24382b),_0x24382b[_0xb8995([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x24382b[_0xb8995([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0xb8995([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5be4e2=>_0x100f8e(_0x3aa150,_0x5be4e2[_0xb8995([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0xb8995([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4d26d6=>_0x3fbe79(_0xe8f602,_0x4d26d6));}function _0x5bb1ab(_0x34f82e,_0x4533c3){_0x537a6f(_0x1352e8(_0x34f82e,_0x4533c3),_0x4533c3);}function _0x36d425(_0x3c0eee,_0xe5137c){function _0x1388ed(_0x5ada4b,_0x2aad88){try{if(_0x100f8e(_0x3aa150,_0xb8995([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x5ada4b){const _0x3cdaa5=_0x21e02b(_0x3aa150,_0xb8995([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0xb8995([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x3cdaa5)/0x2>_0x5ada4b[_0xb8995([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x5b5885(_0x2aad88[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xb8995([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x1352e8(_0x5ada4b,_0x2aad88);}catch(_0x48fb92){return _0x5b5885(_0x2aad88[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xb8995([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x537a6f(_0x1388ed(_0x3c0eee,_0xe5137c),_0xe5137c);}function _0x1ce93b(_0x2fa02e,_0x411dc1){const _0xbc7c03=_0x25ec93[0x0]*_0x2a0023[0x1],_0x4d6e18=_0x25ec93[0x0]*_0x2a0023[0x2],_0x40fc43=_0x25ec93[0x2]*_0x2a0023[0x2];_0x100f8e(_0x3aa150,_0xb8995([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x21e02b(_0x3aa150,_0xb8995([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0xb8995([0x73,0x74,0x61,0x74,0x65])]==_0xb8995([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x122e93()]=_0x40fc43);function _0x5b37aa(_0x3ffef6,_0x7ad178){try{return _0x529011()?_0x5b5885(_0x7ad178[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xb8995([0x56,0x61,0x6c,0x69,0x64])):_0x1352e8(_0x3ffef6,_0x7ad178);}catch(_0x36d51f){return _0x5b5885(_0x7ad178[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xb8995([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x4a5e3b(_0x43b814,_0x5bc5ab){const _0x45884d=0x7;if(_0x43b814==_0x5bc5ab[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xb8995([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x1dd499();else{if(_0x43b814==_0x5bc5ab[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xb8995([0x54,0x72,0x69,0x61,0x6c])){const _0x54a52b=_0x12eefc();_0x54a52b&&_0x101ddf(_0x54a52b,_0x5bc5ab[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x177d2a=_0x37afa2();window[_0xb8995([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x101ddf(_0xb8995([0x74,0x69,0x6d,0x65]),_0x5bc5ab[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x177d2a);const _0x357474=_0x21e02b(_0x3aa150,_0xb8995([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0xb8995([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x357474[_0xb8995([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x45884d?_0x101ddf(_0xb8995([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x5bc5ab[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x357474['on'](_0xb8995([0x61,0x64,0x64]),()=>{_0x357474[_0xb8995([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x45884d&&_0x101ddf(_0xb8995([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x5bc5ab[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x12eefc(){if(!_0x100f8e(_0x3aa150,_0xb8995([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x570dbf in window)if(Number['isNaN'](Number(_0x570dbf))){if(window[_0x570dbf]===_0xbc7c03)return _0xb8995([0x74,0x69,0x6d,0x65]);if(window[_0x570dbf]===_0x4d6e18)return _0xb8995([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x529011(){if(!_0x100f8e(_0x3aa150,_0xb8995([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x1d695e in window)if(Number['isNaN'](Number(_0x1d695e))&&window[_0x1d695e]===_0x40fc43)return!0x0;return!0x1;}function _0x101ddf(_0x271cc7,_0xcf74da){_0x1dd499(),_0x5b5885(_0xcf74da+_0xb8995([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x271cc7),window[_0x122e93()]=_0x271cc7===_0xb8995([0x74,0x69,0x6d,0x65])?_0xbc7c03:_0x4d6e18;}function _0x37afa2(){let _0x12669a=_0x25ec93[0x6]*_0x2a0023[0x8]*_0x2a0023[0x6];return _0x100f8e(_0x3aa150,_0xb8995([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x12669a/=0xa),_0x12669a;}function _0x1dd499(){const _0x40e651=_0x3aa150;function _0x1f3f10(){_0x100f8e(_0x40e651,_0xb8995([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x21e02b(_0x40e651,_0xb8995([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xb8995([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0xb8995([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x21e02b(_0x40e651,_0xb8995([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xb8995([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x21e02b(_0x40e651,_0xb8995([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xb8995([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x4a04b0,_0x21e02b(_0x40e651,_0xb8995([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xb8995([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x4a04b0,_0x40e651[_0xb8995([0x6d,0x6f,0x64,0x65,0x6c])][_0xb8995([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4a04b0,_0x40e651[_0xb8995([0x6d,0x6f,0x64,0x65,0x6c])][_0xb8995([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4a04b0,_0x40e651[_0xb8995([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xb8995([0x6d,0x6f,0x64,0x65,0x6c]))),_0x100f8e(_0x40e651,_0xb8995([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x21e02b(_0x40e651,_0xb8995([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xb8995([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0xb8995([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x21e02b(_0x40e651,_0xb8995([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xb8995([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x21e02b(_0x40e651,_0xb8995([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xb8995([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x4a04b0,_0x21e02b(_0x40e651,_0xb8995([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xb8995([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x4a04b0);}_0x40e651[_0xb8995([0x73,0x74,0x61,0x74,0x65])]==_0xb8995([0x72,0x65,0x61,0x64,0x79])?_0x1f3f10():_0x40e651[_0xb8995([0x6f,0x6e,0x63,0x65])](_0xb8995([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x100f8e(_0x40e651,_0xb8995([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x1f3f10(),_0x100f8e(_0x40e651,_0xb8995([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x42ba0f=_0x21e02b(_0x40e651,_0xb8995([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x2a2d7a=_0x42ba0f['getRevision'](0x0),_0x494051=_0x42ba0f['getEarlierVisibleRevision'](_0x2a2d7a[_0xb8995([0x69,0x64])]);_0x21e02b(_0x40e651,_0xb8995([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xb8995([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x2a2d7a[_0xb8995([0x69,0x64])],_0x494051?_0x494051[_0xb8995([0x69,0x64])]:null,0x1)['then'](()=>_0x1f3f10());}});}_0x4a5e3b(_0x5b37aa(_0x2fa02e,_0x411dc1),_0x411dc1);}function _0x1352e8(_0x548f45,_0x496b50){try{return _0x213833(_0x496b50)?_0x5b5885(_0x496b50[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xb8995([0x56,0x61,0x6c,0x69,0x64])):_0x548f45&&_0x37acee(_0x548f45[_0xb8995([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x496b50)?_0x548f45[_0xb8995([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0xb8995([0x6f,0x70,0x65,0x6e])][_0xb8995([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x369844)/0x2>_0x548f45[_0xb8995([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x5b5885(_0x496b50[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xb8995([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x548f45[_0xb8995([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x5b5885(_0x496b50[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xb8995([0x54,0x72,0x69,0x61,0x6c])):_0x5b5885(_0x496b50[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xb8995([0x56,0x61,0x6c,0x69,0x64])):_0x5b5885(_0x496b50[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xb8995([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x171ed2){return _0x5b5885(_0x496b50[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xb8995([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x537a6f(_0x102721,_0x1de7fc){if(_0x3aa150 instanceof _0x43ce5c){const _0x2af4a4=_0x3aa150;_0x102721==_0x1de7fc[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xb8995([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0xe6dc57(_0x2af4a4):_0x102721==_0x1de7fc[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xb8995([0x54,0x72,0x69,0x61,0x6c])&&window[_0xb8995([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xe6dc57(_0x2af4a4),_0x5b5885(_0x1de7fc[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xb8995([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x25ec93[0x6]*_0x2a0023[0x8]*_0x2a0023[0x6]),_0x2af4a4[_0xb8995([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0xb8995([0x6f,0x6e])](_0xb8995([0x61,0x64,0x64]),(_0x4be675,_0xe59131)=>{_0x102721!=_0x1de7fc[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xb8995([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x102721!=_0x1de7fc[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xb8995([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x102721!=_0x1de7fc[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xb8995([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0xad8a65(_0xe59131);});}else{const _0x2d0fcd=_0x3aa150;_0x102721==_0x1de7fc[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xb8995([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0xad8a65(_0x2d0fcd):_0x102721==_0x1de7fc[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xb8995([0x54,0x72,0x69,0x61,0x6c])&&_0x2d0fcd[_0xb8995([0x6f,0x6e])](_0xb8995([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x53be7a=0x0;_0x2d0fcd[_0xb8995([0x6d,0x6f,0x64,0x65,0x6c])][_0xb8995([0x6f,0x6e])](_0xb8995([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2d759c,_0x13989e)=>{_0x13989e[0x0][_0xb8995([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x53be7a++,0x1f8===_0x53be7a&&(_0xad8a65(_0x2d0fcd),_0x5b5885(_0x1de7fc[_0xb8995([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xb8995([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x2d759c[_0xb8995([0x6f,0x66,0x66])]());},{'priority':_0xb8995([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x5b5885(_0x425718){const _0x3f73f2=_0x122e93();return _0x3aa150[_0x3f73f2]=_0x425718,_0x425718;}function _0x122e93(){const _0x581c23=String(window[_0xb8995([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xb8995([0x6e,0x6f,0x77])]())[_0xb8995([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xb8995([0x2e]),'');let _0x4ba63c='';for(let _0x38d34d=0x0;_0x38d34d<_0x581c23[_0xb8995([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38d34d+=0x2){let _0xf6eec6=parseInt(_0x581c23[_0xb8995([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38d34d,_0x38d34d+0x2));_0xf6eec6>=_0xe8fac4[_0xb8995([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xf6eec6-=_0xe8fac4[_0xb8995([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4ba63c+=_0xe8fac4[_0xf6eec6];}return _0x4ba63c;}function _0xe6dc57(_0x553dd0){for(const _0x41703f of _0x553dd0[_0xb8995([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0xad8a65(_0x41703f);_0x21e02b(_0x553dd0,_0xb8995([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0xb8995([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x21e02b(_0x553dd0,_0xb8995([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0xb8995([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x4a04b0;}function _0xad8a65(_0x3cfd6f){function _0x260e56(){_0x3cfd6f[_0xb8995([0x6d,0x6f,0x64,0x65,0x6c])][_0xb8995([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4a04b0,_0x3cfd6f[_0xb8995([0x6d,0x6f,0x64,0x65,0x6c])][_0xb8995([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4a04b0,_0x3cfd6f[_0xb8995([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xb8995([0x6d,0x6f,0x64,0x65,0x6c]));}_0x3cfd6f[_0xb8995([0x73,0x74,0x61,0x74,0x65])]==_0xb8995([0x72,0x65,0x61,0x64,0x79])?_0x260e56():_0x3cfd6f[_0xb8995([0x6f,0x6e,0x63,0x65])](_0xb8995([0x72,0x65,0x61,0x64,0x79]),()=>_0x260e56());}function _0x4a04b0(){return null;}function _0x37acee(_0x4fe0d5,_0x2e450d){const _0x591a4a=!!(_0x4fe0d5&_0x2e450d[_0xb8995([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x53f335=_0x135e1d(_0x4fe0d5,_0x2e450d);return _0x591a4a||_0x53f335;}function _0x135e1d(_0x49a4d3,_0x595de1){const _0x4cb813=(_0x595de1[_0xb8995([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0xb8995([0x66,0x67,0x69])]||null;return!!_0x4cb813&&_0x49c70c[_0xb8995([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xe6774a=>_0x4cb813[_0xb8995([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe6774a[_0xb8995([0x69,0x64])]))[_0xb8995([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x309094=>!_0x29c5f7(_0x309094))[_0xb8995([0x73,0x6f,0x6d,0x65])](_0x32af9c=>!!(_0x49a4d3&_0x32af9c[_0xb8995([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x29c5f7(_0x43cbef){const _0x9a6855={[_0xb8995([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])]:_0x4c9ed9};return!!_0x43cbef['forbiddenHandler']&&_0x9a6855[_0x43cbef['forbiddenHandler']]();}function _0x4c9ed9(){return!window[_0xb8995([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x100f8e(_0x3aa150,_0xb8995([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x213833(_0x17ad58){if(!_0x100f8e(_0x3aa150,_0x17ad58[_0xb8995([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x2594f1=_0x17ad58[_0xb8995([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x29652d=_0x2594f1[_0xb8995([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x4ea16b=_0x2594f1[_0xb8995([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x484f2a=_0x2594f1[_0xb8995([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x100f8e(_0x3aa150,_0xb8995([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x21e02b(_0x3aa150,_0xb8995([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0xb8995([0x73,0x74,0x61,0x74,0x65])]==_0xb8995([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x29652d)return!0x0;if(_0x100f8e(_0x3aa150,_0xb8995([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x21e02b(_0x3aa150,_0xb8995([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0xb8995([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0xb8995([0x65,0x6e,0x64])&&_0x4ea16b)return!0x0;return!(!_0x100f8e(_0x3aa150,_0xb8995([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]))||_0x21e02b(_0x3aa150,_0xb8995([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]))[_0xb8995([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0xb8995([0x65,0x6e,0x64])||!_0x484f2a);}function _0x100f8e(_0x20cf17,_0x4efb67){return _0x20cf17[_0xb8995([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0xb8995([0x68,0x61,0x73])](_0x4efb67);}function _0x21e02b(_0x4acbc4,_0x541307){return _0x4acbc4[_0xb8995([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0xb8995([0x67,0x65,0x74])](_0x541307);}function _0x2db097(_0x3eff4b){let _0x2a2b9d='';for(const _0x322fac of _0x3eff4b)_0x2a2b9d+=String[_0xb8995([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x322fac);return _0x2a2b9d;}function _0x4bf617(_0x276e2e){const _0x2168ae=new Uint8Array(_0x276e2e[_0xb8995([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x1a3dc5=0x0;_0x1a3dc5<_0x276e2e[_0xb8995([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a3dc5++)_0x2168ae[_0x1a3dc5]=_0x276e2e[_0xb8995([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1a3dc5);return _0x2168ae;}_0x33a56b&&_0x3fbe79(_0x34ca1e(_0x5d4226),_0x33a56b);})(_0x569c32);}(this);}['createRevision'](_0x427840){const _0x3e5ea8=this['editor']['plugins']['get']('Users');return new a({'id':_0x427840['id'],'name':_0x427840['name'],'creator':_0x427840['creatorId']?_0x3e5ea8['getUser'](_0x427840['creatorId']):null,'diffData':_0x427840['diffData']||_0x427840['data'],'authors':_0x427840['authorsIds']['map'](_0x4ca102=>_0x3e5ea8['getUser'](_0x4ca102)),'createdAt':new Date(_0x427840['createdAt']),'attributes':_0x427840['attributes'],'fromVersion':_0x427840['fromVersion'],'toVersion':_0x427840['toVersion']});}['addRevision'](_0x10ba81,_0x445baf=0x0){this['_revisions']['add'](_0x10ba81,_0x445baf);}['getRevision'](_0x5ef83f){return this['_revisions']['get'](_0x5ef83f);}['getRevisions'](_0xbeab9e={'toJSON':!0x1}){const _0x2a8d0f=Array['from'](this['_revisions']);return _0x2a8d0f['reverse'](),_0xbeab9e['toJSON']?_0x2a8d0f['map'](_0x2d83e1=>_0x2d83e1['toJSON']()):_0x2a8d0f;}['getIndex'](_0x9add44){return this['_revisions']['getIndex'](_0x9add44);}['getEarlierVisibleRevision'](_0x1c939a){const [,_0x1e1e7a]=this['getRevisionsIterator'](_0x1c939a,{'direction':'earlier'});return _0x1e1e7a;}['getLaterVisibleRevision'](_0x203985){const [,_0x50b2f8]=this['getRevisionsIterator'](_0x203985,{'direction':'later'});return _0x50b2f8;}['getRevisionsInDiff'](_0x5d6d20){const _0x380bcc=[];for(const _0x427cb2 of this['getRevisionsIterator'](_0x5d6d20['newRevisionId']))if(_0x380bcc['push'](_0x427cb2),_0x427cb2['id']===_0x5d6d20['oldRevisionId'])break;return _0x380bcc;}*['getRevisionsIterator'](_0x316171,{direction:_0xbb8784='earlier',filter:_0x35cd15=_0x4c4e38=>!0x0}={}){const _0x418071='earlier'===_0xbb8784?0x1:-0x1;let _0x59428a=this['_revisions']['get'](_0x316171),_0x134511=this['getIndex'](_0x59428a);for(yield _0x59428a;_0x59428a;){if(_0x134511+=_0x418071,_0x59428a=this['getRevision'](_0x134511),!_0x59428a)return;_0x35cd15(_0x59428a)&&(yield _0x59428a);}}}function y(_0x1f3f91,_0x204346,_0x18237d){const t=_0x1f3f91['t'];switch(_0x204346){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'},_0x18237d);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x18237d);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x45c61b,'a':_0x2e17bd,'e':_0x5668bd,'r':_0x38a11a,'u':_0x5d1968};class l extends _0x5237db{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x114540,A,_0xeac671];}constructor(_0xe73d84){super(_0xe73d84),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 _0x5cd455=_0xee2aa4();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x5cd455},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 _0x5057b1=this['repository']['getRevision'](0x0),_0x183413=_0x5057b1&&null===_0x5057b1['creator']?_0x5057b1:null;if(this['_continueCurrentRevision']=!!_0x183413&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x422ad9=this['_source']['getCurrentRevisionId'](),_0x34088e=this['repository']['getRevision'](_0x422ad9);if(_0x34088e)this['_startingVersion']=_0x34088e['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x5d626c=this['_source']['history']['_operations']['find'](_0x250e3f=>!_0x250e3f['_isInit']),_0x50507f=_0x5d626c?_0x5d626c['baseVersion']:this['_source']['history']['version'];_0x5057b1?(_0x5057b1['toVersion']<_0x50507f&&_0x5057b1['_update']({'toVersion':_0x50507f}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x183413['id'],this['_startingVersion']=_0x183413['fromVersion']):(this['_startingVersion']=_0x5057b1['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x50507f,this['_continueCurrentRevision']=!0x1);}}else _0x183413&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x183413['toVersion'],this['editor']['model']['document']['history']['version']),_0x183413['fromVersion']===_0x183413['toVersion']?(0x0!==_0x183413['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x183413['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x183413['id'],this['_startingVersion']=_0x183413['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',_0x22c095=>!_0x22c095);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x32359b=this['repository']['getRevision'](0x0),_0x1edcb1=await this['getRevisionDocumentData'](_0x32359b),_0x16b3a5=await this['getRevisionRootsAttributes'](_0x32359b);this['_replaceEditorDataWithRevisionData'](_0x1edcb1,_0x16b3a5);}}['setSource'](_0x4198de){this['_source']=_0x4198de;}async['update'](){const _0x3e20dd=await this['_source']['getLatestVersion']();if(_0x3e20dd>this['currentRevision']['toVersion']){await this['_loadState']();const _0x295b3d=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x3e20dd});_0x295b3d['authors']=_0x295b3d['authorsIds']['map'](_0x26e4cd=>this['editor']['plugins']['get']('Users')['getUser'](_0x26e4cd)),this['currentRevision']['_update'](_0x295b3d);}}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'](_0xb08ece={},_0x31e213=null){const _0x3c2506=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x31e213>this['currentRevision']['toVersion']&&(_0x31e213=null),null===_0x31e213&&(_0x31e213=await this['_source']['getLatestVersion']());const _0x5bec66=this['_getFromVersion'](_0x31e213),_0x5afc9a=this['buildRevisionData']({'from':_0x5bec66,'to':_0x31e213});if(this['currentRevision']['toVersion']<_0x31e213){const _0xa4b73e=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x31e213,'to':_0x31e213});_0xa4b73e['authors']=[],_0xa4b73e['authorsIds']=[],_0xa4b73e['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0xa4b73e,!0x0),delete _0xa4b73e['authors'],_0x3c2506['push'](_0xa4b73e);}_0xb08ece['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0xb08ece['name']=_0xb08ece['name']||null,_0xb08ece['id']=_0xb08ece['id']||_0xee2aa4(),_0xb08ece={..._0xb08ece,..._0x5afc9a};const _0xfeaef6=this['addRevisionData'](_0xb08ece);_0x3c2506['push'](_0xb08ece);const _0x3ff4f3=this['repository']['getIndex'](_0xfeaef6);if(0x0!==_0x3ff4f3){const _0x361d76=this['repository']['getRevision'](_0x3ff4f3-0x1);if(_0x361d76['fromVersion']!==_0x31e213){const _0x19beee=this['_revisionDataBuilder']['getData'](_0x31e213,_0x361d76['toVersion']),_0x3d76d9={'id':_0x361d76['id'],'diffData':_0x19beee['diffData'],'authorsIds':_0x19beee['authorsIds'],'authors':_0x19beee['authorsIds']['map'](_0x3c6603=>this['editor']['plugins']['get']('Users')['getUser'](_0x3c6603)),'fromVersion':_0x31e213};_0x361d76===this['currentRevision']&&(_0x3d76d9['createdAt']=new Date(_0xb08ece['createdAt']['getTime']()+0xa)),_0x361d76['_update'](_0x3d76d9,!0x0),delete _0x3d76d9['authors'],_0x3c2506['push'](_0x3d76d9);}}if(this['adapter']){for(const _0x3e0c3c of _0x3c2506)this['_bufferUpdate'](_0x3e0c3c['id'],_0x3e0c3c,!0x0);this['sendBufferedUpdates']();}return _0xfeaef6;}['addRevisionData'](_0x4228d8){const _0x5520ff=this['repository']['createRevision'](_0x4228d8);return this['adapter']&&_0x5520ff['on']('_update',(_0x1d212b,_0x26789a,_0x4b1d23)=>{_0x4b1d23||(this['_bufferUpdate'](_0x26789a['id'],_0x26789a,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x5520ff,this['_findInsertionIndex'](_0x5520ff)),_0x5520ff;}async['getRevisionDocumentData'](_0x4eb22c){await this['_loadRevisionData'](_0x4eb22c);const _0x401113={};for(const _0x155aa1 in _0x4eb22c['diffData']){if(_0x4eb22c['diffData'][_0x155aa1]['attachChange']&&!_0x4eb22c['diffData'][_0x155aa1]['attachChange']['isAttached'])continue;const _0x5b4ecd=this['_removeRevisionMarkers'](JSON['parse'](_0x4eb22c['diffData'][_0x155aa1]['insertions'])),_0x427f0e=this['editor']['editing']['view']['document'],_0x2f6afa=new _0x15d82a(_0x427f0e,_0x5b4ecd['map'](_0x4c59c5=>B(_0x4c59c5,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x401113[_0x155aa1]=this['editor']['data']['processor']['toData'](_0x2f6afa),this['editor']['data']['processor']['useFillerType']('default');}return _0x401113;}async['getRevisionRootsAttributes'](_0x589555){await this['_loadRevisionData'](_0x589555);const _0x3d524a={};for(const _0x109fc1 in _0x589555['diffData'])_0x589555['diffData'][_0x109fc1]['attachChange']&&!_0x589555['diffData'][_0x109fc1]['attachChange']['isAttached']||(_0x3d524a[_0x109fc1]=_0x589555['diffData'][_0x109fc1]['attributesAfter']||{});return _0x3d524a;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x5593e7=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x5801f0=0x0;_0x5801f0<_0x5593e7['length'];_0x5801f0++){const _0x5cc804=_0x5593e7[_0x5801f0];let _0x3da10d=!0x1;for(const _0x543aae of Object['keys'](_0x5cc804))void 0x0===_0x5cc804[_0x543aae]?delete _0x5cc804[_0x543aae]:'id'!==_0x543aae&&(_0x3da10d=!0x0);_0x3da10d||(_0x5593e7[_0x5801f0]=null);}if(_0x5593e7=_0x5593e7['filter'](_0x301ec2=>null!==_0x301ec2),!_0x5593e7['length'])return;for(let _0x320d9d=0x0;_0x320d9d<_0x5593e7['length'];_0x320d9d++){const _0x741063=_0x5593e7[_0x320d9d];void 0x0!==_0x741063['fromVersion']&&void 0x0===_0x741063['toVersion']&&(_0x741063['toVersion']=this['repository']['getRevision'](_0x741063['id'])['toVersion']),void 0x0!==_0x741063['toVersion']&&void 0x0===_0x741063['fromVersion']&&(_0x741063['fromVersion']=this['repository']['getRevision'](_0x741063['id'])['fromVersion']);}const _0x3dddad=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x5593e7,_0x3dddad)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x41e481=>{if(_0x41e481){for(const _0x1fb59f of _0x41e481)this['setRevisionData']({'id':_0x1fb59f['id'],'createdAt':_0x1fb59f['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x574c41,_0x391057){let _0x40d7be=this['editor']['config']['get']('initialData'),_0x4974a3=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x40d7be){_0x40d7be={};for(const _0x31e714 of this['editor']['model']['document']['getRootNames']())_0x40d7be[_0x31e714]='';}if('string'==typeof _0x40d7be&&(_0x40d7be={'main':_0x40d7be}),void 0x0===_0x4974a3){_0x4974a3={};for(const _0x1cff1f of this['editor']['model']['document']['getRootNames']())_0x4974a3[_0x1cff1f]={};}let _0x1c47e3=!0x1;const _0x3477a2=Object['keys'](_0x40d7be),_0x44ea4d=Object['keys'](_0x574c41);for(const _0x2d87f1 of _0x3477a2){if(_0x40d7be[_0x2d87f1]!==_0x574c41[_0x2d87f1]&&''!==_0x40d7be[_0x2d87f1]['trim']()){_0x1c47e3=!0x0;break;}if(!_0x1306bd(_0x4974a3[_0x2d87f1],_0x391057[_0x2d87f1])&&Object['keys'](_0x4974a3[_0x2d87f1])['length']>0x0){_0x1c47e3=!0x0;break;}}_0x1c47e3||(_0x1c47e3=_0x44ea4d['some'](_0x9e3ca0=>!this['editor']['model']['document']['getRoot'](_0x9e3ca0))),_0x1c47e3&&_0x15417b('editor-initial-data-replaced-with-revision-data',{'editorData':_0x40d7be,'editorRootsAttributes':_0x4974a3,'revisionData':_0x574c41,'revisionRootsAttributes':_0x391057}),this['editor']['config']['set']('initialData',_0x574c41),this['editor']['config']['set']('rootsAttributes',_0x391057);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x1ab6d6=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x1ab6d6['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x520d2d){const _0x2d2381=this['repository']['getRevisions']();_0x2d2381['reverse']();let _0x33afe9=0x0;for(;_0x33afe9<_0x2d2381['length'];){const _0x1b402a=_0x2d2381[_0x33afe9];if(_0x1b402a===this['currentRevision']){_0x33afe9++;continue;}if(_0x1b402a['id']===this['_initialRevisionId'])break;const _0x1a75bd=_0x520d2d['toVersion']-_0x1b402a['toVersion']||_0x520d2d['fromVersion']-_0x1b402a['fromVersion'];if(_0x1a75bd>0x0)break;if(_0x1a75bd<0x0)_0x33afe9++;else{if(!_0x520d2d['creator']&&_0x1b402a['creator'])break;if(_0x1b402a['creator']||!_0x520d2d['creator']){if(_0x520d2d['createdAt']>_0x1b402a['createdAt'])break;_0x33afe9++;}else _0x33afe9++;}}return _0x33afe9;}['setRevisionData'](_0x216d99){const _0x2b4347=this['repository']['getRevision'](_0x216d99['id']);if(_0x216d99['createdAt']&&(_0x216d99['createdAt']=new Date(_0x216d99['createdAt'])),_0x216d99['authorsIds']){const _0xf0862e=this['editor']['plugins']['get']('Users');_0x216d99['authors']=_0x216d99['authorsIds']['map'](_0x3b84eb=>_0xf0862e['getUser'](_0x3b84eb));}_0x2b4347['_update'](_0x216d99,!0x0);}['buildRevisionData']({revision:_0x2511b0=null,from:_0x4d347c=null,to:_0x1cca83=null}){_0x4d347c=null!==_0x4d347c?_0x4d347c:_0x2511b0['fromVersion'],_0x1cca83=null!==_0x1cca83?_0x1cca83:_0x2511b0['toVersion'];const _0x14de91=this['_revisionDataBuilder']['getData'](_0x4d347c,_0x1cca83),_0x4741e9={'diffData':_0x14de91['diffData'],'authorsIds':_0x14de91['authorsIds'],'fromVersion':_0x4d347c,'toVersion':_0x1cca83};if(!_0x2511b0||_0x1cca83!==_0x2511b0['toVersion']){const _0x4d22b4=_0x1cca83-0x1,_0x1d8f17=this['_source']['history']['getOperation'](_0x4d22b4);_0x4741e9['createdAt']=_0x1d8f17&&_0x1d8f17['createdAt']||new Date();}if(this['_loadedStateData']&&_0x4d347c===this['_loadedStateData']['fromVersion']){for(const _0x47e0b3 of this['_loadedStateData']['authors'])_0x4741e9['authorsIds']['includes'](_0x47e0b3['id'])||_0x4741e9['authorsIds']['push'](_0x47e0b3['id']);}return _0x4741e9;}['_loadRevisionData'](_0x5393da){if(!_0x5393da||_0x5393da['diffData'])return Promise['resolve']();{const _0x5df1d0=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x5df1d0,'revisionId':_0x5393da['id']})['then'](_0x35489f=>{_0x5393da['diffData']=_0x35489f['diffData'];});}}['_bufferUpdate'](_0x5df2a4,_0xccbc83,_0x28c4ac){if(this['_bufferedUpdates']['has'](_0x5df2a4)){const _0x435fca=this['_bufferedUpdates']['get'](_0x5df2a4);_0xccbc83=_0x28c4ac?{..._0x435fca,..._0xccbc83}:{..._0xccbc83,..._0x435fca};}this['_bufferedUpdates']['set'](_0x5df2a4,_0xccbc83);}['_getFromVersion'](_0x469dda){const _0x5786a5=this['repository']['getRevisions']();_0x5786a5['reverse'](),_0x5786a5['shift']();const _0x191a8f=_0x5786a5['find'](_0x580256=>_0x580256['toVersion']<=_0x469dda)['toVersion'];return _0x191a8f<this['_startingVersion']?this['_startingVersion']:_0x191a8f;}['_createInitialRevision'](_0x229b0f){const _0x28771e=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x28771e)this['_initialRevisionId']=_0x28771e['id'];else{const _0x5c7cde=!this['editor']['model']['document']['roots']['find'](_0x5727d0=>this['editor']['model']['hasContent'](_0x5727d0)),_0x221e80=this['editor']['plugins']['get']('Users')['me']['id'],_0x226205=y(this['editor']['locale'],_0x5c7cde?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x229b0f,'to':_0x229b0f,'id':this['_initialRevisionId'],'name':_0x226205,'creatorId':_0x221e80});}}['_createCurrentRevision'](_0x3cc355){const _0x5e178c=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x5e178c),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x3cc355,'to':_0x3cc355,'id':_0x5e178c,'name':'','creatorId':null}));}['_makeRevision']({name:_0x5a67cf,from:_0x285404,to:_0x4d28e1,creatorId:_0x4bdc95,id:_0x21eaca}){const _0x5d8528=this['buildRevisionData']({'from':_0x285404,'to':_0x4d28e1});_0x5d8528['name']=_0x5a67cf,_0x5d8528['creatorId']=_0x4bdc95,_0x5d8528['id']=_0x21eaca;const _0x195483=this['addRevisionData'](_0x5d8528);return this['adapter']&&this['_bufferUpdate'](_0x5d8528['id'],_0x5d8528,!0x0),_0x195483;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x221002){return(_0x221002=_0x221002['filter'](_0x1478d1=>!_0x1478d1['name']||'revision-start'!==_0x1478d1['name']&&'revision-end'!==_0x1478d1['name']))['forEach'](_0x2de9e4=>{'string'!=typeof _0x2de9e4&&(_0x2de9e4['children']=this['_removeRevisionMarkers'](_0x2de9e4['children']),_0x2de9e4['attributes']=_0x2de9e4['attributes']['filter'](_0x839c7c=>!_0x839c7c[0x0]['startsWith']('data-revision-')));}),_0x221002;}}function B(_0x10021c,_0x2707e1){const _0x29e122=_0x2707e1['editing']['view']['document'];if('string'==typeof _0x10021c)return new _0x16d4f5(_0x29e122,_0x10021c);{const _0x38578d=_0x10021c['children']['map'](_0x2abf89=>B(_0x2abf89,_0x2707e1));return new(T[_0x10021c['type']]||_0x1a051c)(_0x29e122,_0x10021c['name'],_0x10021c['attributes'],_0x38578d);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x34709b){this['editor']=_0x34709b,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'](_0x220f10){this['source']=_0x220f10;const _0x53e33b=new Map(),_0x4bff9c=new Map(),_0x25aee1=this['editor']['model']['document']['roots']['map'](_0x202b09=>_0x202b09['rootName']);for(const _0x2e75de of _0x25aee1){const _0x8a91bf=this['editor']['model']['document']['getRoot'](_0x2e75de),_0x1559af=q(_0x8a91bf);_0x53e33b['set'](_0x2e75de,_0x1559af),_0x4bff9c['set'](_0x2e75de,Object['fromEntries'](_0x8a91bf['getAttributes']()));}const _0x44bbf0=Array['from'](this['editor']['model']['markers'])['map'](_0x63b611=>[_0x63b611['name'],_0x63b611['getRange']()]),_0x3df2ca=this['source']['version'];this['_saveMetaData'](_0x3df2ca,_0x53e33b,_0x44bbf0,_0x4bff9c),this['_startingRevisionId']=this['_revisionId'];const _0xb1354=new Map(),_0x1d41f2=new Map();for(const _0x552f3f of _0x25aee1){const _0x2a504e=G(_0x552f3f);_0xb1354['set'](_0x552f3f,_0x2a504e),_0x1d41f2['set'](_0x552f3f,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0xb1354,[],_0x1d41f2);}['getData'](_0x5ddb55,_0x2173d9){if(this['_lastFrom']===_0x5ddb55&&this['_lastTo']<=_0x2173d9)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x2173d9,!0x0);else{if(!this['_savedMetaData']['has'](_0x5ddb55)){const _0x1037ed=this['_getPreviousFrom'](_0x5ddb55);this['_calculateMetaData'](_0x1037ed,_0x5ddb55,!0x1);}this['_calculateMetaData'](_0x5ddb55,_0x2173d9,!0x0);}return this['_lastFrom']=_0x5ddb55,this['_lastTo']=_0x2173d9,this['_getState']();}['loadState'](_0x156d85){this['_reset'](),this['_lastFrom']=_0x156d85['fromVersion'],this['_lastTo']=_0x156d85['toVersion'];for(const _0x5de0ec in _0x156d85['diffData']){const _0x493f42=_0x156d85['diffData'][_0x5de0ec]['attachChange'],_0x50d98d=_0x18fa51(_0x156d85['diffData'][_0x5de0ec]['attributesBefore'])||{},_0x52847d=this['_makeModelFromViewString'](_0x156d85['diffData'][_0x5de0ec]['deletions']);_0x52847d['rootName']=_0x5de0ec,_0x52847d['_isAttached']=!_0x493f42||!_0x493f42['isAttached'],_0x52847d['isAttached']=()=>_0x52847d['_isAttached'],this['_baseRoots']['set'](_0x5de0ec,_0x52847d),this['_baseRootsAttributes']['set'](_0x5de0ec,_0x50d98d),_0x493f42&&this['_touchedRoots']['set'](_0x5de0ec,_0x493f42);const _0x41d795=this['_makeIdsRoot'](_0x52847d);this['_baseIdsRoots']['set'](_0x5de0ec,_0x41d795);for(const [_0x23d582,_0xaf3122]of _0x52847d['markers']){if(!_0x23d582['startsWith']('revision:'))continue;const _0x40cd50=_0x23d582['split'](':')[0x2];for(const _0x4669a7 of _0xaf3122['getWalker']({'singleCharacters':!0x0})){const _0x143bb0=this['_getVidAttributeName'](_0x4669a7),_0x189f84='elementEnd'==_0x4669a7['type']?_0x4669a7['previousPosition']['path']['slice'](0x0,-0x1):_0x4669a7['previousPosition']['path'],_0xdb621c=_0x41d795['getNodeByPath'](_0x189f84)['getAttribute'](_0x143bb0);this['_touched']['set'](_0xdb621c,{'userId':_0x40cd50});}}}this['_startingRevisionId']=this['_revisionId'];const _0x5ec788=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x41002f=>!this['_touched']['has'](_0x41002f));let _0x378636=0x0;const _0x26f619=new Map();for(const _0x4847da in _0x156d85['diffData']){const _0x124226=_0x156d85['diffData'][_0x4847da]['attachChange'],_0x4d5f3b=_0x18fa51(_0x156d85['diffData'][_0x4847da]['attributesAfter'])||{},_0x50fc89=this['_makeModelFromViewString'](_0x156d85['diffData'][_0x4847da]['insertions']);_0x50fc89['rootName']=_0x4847da,_0x50fc89['_isAttached']=!_0x124226||_0x124226['isAttached'],_0x50fc89['isAttached']=()=>_0x50fc89['_isAttached'],this['_diffRoots']['set'](_0x4847da,_0x50fc89),this['_diffRootsAttributes']['set'](_0x4847da,_0x4d5f3b);const _0x3959a4=this['_makeIdsRoot'](_0x50fc89,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x4847da,_0x3959a4),_0x26f619['set'](_0x4847da,_0x50fc89['isAttached']()?_0x4d5f3b:{});for(const [_0x1341cf,_0x2d3e9f]of _0x50fc89['markers']){if(!_0x1341cf['startsWith']('revision:'))continue;const _0x4512ab=_0x1341cf['split'](':')[0x2];for(const _0x3b3c73 of _0x2d3e9f['getWalker']({'singleCharacters':!0x0})){const _0x1edf0b=this['_getVidAttributeName'](_0x3b3c73),_0x150ba1=this['_revisionId']++,_0x475cff='elementEnd'==_0x3b3c73['type']?_0x3b3c73['previousPosition']['path']['slice'](0x0,-0x1):_0x3b3c73['previousPosition']['path'];_0x3959a4['getNodeByPath'](_0x475cff)['_setAttribute'](_0x1edf0b,_0x150ba1),this['_touched']['set'](_0x150ba1,{'userId':_0x4512ab});}}for(const _0x1893b7 of this['editor']['model']['createRangeIn'](_0x50fc89)['getWalker']({'singleCharacters':!0x0})){const _0x131a14=this['_getVidAttributeName'](_0x1893b7),_0x3a5ea5='elementEnd'==_0x1893b7['type']?_0x1893b7['previousPosition']['path']['slice'](0x0,-0x1):_0x1893b7['previousPosition']['path'],_0x2fce03=_0x3959a4['getNodeByPath'](_0x3a5ea5);_0x2fce03['getAttribute'](_0x131a14)>0x0||_0x2fce03['_setAttribute'](_0x131a14,_0x5ec788[_0x378636++]);}for(const [_0x29d065,_0x32cfba]of _0x50fc89['markers'])_0x29d065['startsWith']('revision:')||this['_markers']['set'](_0x29d065,_0x32cfba);}const _0x391d61=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x391d61),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x391d61,0x1));const _0x23ff7a=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x23ff7a),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x23ff7a,0x1));const _0x14fe38=Array['from'](this['_diffRoots'])['map'](([_0x4c8f37,_0x9554e8])=>[_0x4c8f37,q(_0x9554e8)]);this['_saveMetaData'](this['_lastTo'],_0x14fe38,this['_markers'],_0x26f619);}['_makeModelFromViewString'](_0x3b38db){const _0x5b6af1=JSON['parse'](_0x3b38db),_0x294db1=this['editor']['editing']['view']['document'],_0x37281e=new _0x15d82a(_0x294db1,_0x5b6af1['map'](_0x4798e1=>B(_0x4798e1,this['editor'])));return this['editor']['data']['toModel'](_0x37281e);}['_saveMetaData'](_0x5496b0,_0x55173a,_0x2bf6f9,_0x417647){const _0x132a4c=new Map(_0x55173a),_0x127673=new Map(_0x18fa51(_0x417647)),_0x2dee02=new Map();for(const [_0x1a86a5,_0x50194b]of _0x2bf6f9)_0x2dee02['set'](_0x1a86a5,{'start':_0x50194b['start']['clone'](),'end':_0x50194b['end']['clone'](),'rootName':_0x50194b['root']['rootName']});this['_savedMetaData']['set'](_0x5496b0,{'roots':_0x132a4c,'markers':_0x2dee02,'rootsAttributes':_0x127673});}['_removeMetaData'](_0x4c416f){this['_savedMetaData']['delete'](_0x4c416f);}['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'](_0x4f25e0,_0x323de9=null){let _0xf4630b=null;_0x4f25e0['is']('documentFragment')||(_0xf4630b=new ft(_0x4f25e0['name'],{'vid_start':null===_0x323de9?this['_revisionId']++:_0x323de9++}));const _0x25a1de=[];for(const _0x5c68f7 of _0x4f25e0['getChildren']())if(_0x5c68f7['is']('element')){_0x25a1de['push'](this['_makeIdsRoot'](_0x5c68f7,_0x323de9));const _0x4b7de4=_0x25a1de[_0x25a1de['length']-0x1];null!==_0x323de9&&(_0x323de9=_0x4b7de4['is']('element','$text')?_0x4b7de4['getAttribute']('vid')+0x1:_0x4b7de4['getAttribute']('vid_end')+0x1);}else{for(let _0x2a2832=0x0;_0x2a2832<_0x5c68f7['offsetSize'];_0x2a2832++)_0x25a1de['push'](new ft('$text',{'vid':null===_0x323de9?this['_revisionId']++:_0x323de9++}));}if(_0x4f25e0['is']('documentFragment')){const _0x33f2f2=G(_0x4f25e0['rootName']);return _0x33f2f2['_insertChild'](0x0,_0x25a1de),_0x33f2f2;}return _0xf4630b['_setAttribute']('vid_end',null===_0x323de9?this['_revisionId']++:_0x323de9++),_0xf4630b['_insertChild'](0x0,_0x25a1de),_0xf4630b;}['_calculateMetaData'](_0x2132bc,_0xec02,_0x27316e){this['_reset']();const {roots:_0x10dff2,markers:_0x2bdd57,rootsAttributes:_0x586335}=this['_savedMetaData']['get'](_0x2132bc);this['_baseRoots']=new Map(_0x10dff2),this['_baseRootsAttributes']=new Map(_0x18fa51(_0x586335));for(const [_0x18d828,_0x1f6543]of this['_baseRoots'])if('$graveyard'!==_0x18d828&&(this['_diffRoots']['set'](_0x18d828,q(_0x1f6543)),this['_diffRootsAttributes']=new Map(_0x18fa51(_0x586335)),_0x27316e)){const _0x57bb0a=this['_revisionId'];this['_idsRoots']['set'](_0x18d828,this['_makeIdsRoot'](_0x1f6543)),this['_baseIdsRoots']['set'](_0x18d828,this['_makeIdsRoot'](_0x1f6543,_0x57bb0a));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x27316e&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x57d455,_0x563a9e]of _0x2bdd57){const _0x560cd1=this['_baseRoots']['get'](_0x563a9e['rootName']),_0x3b7b4e=this['_diffRoots']['get'](_0x563a9e['rootName']),_0x5c804a=new vt(this['_fixPosition'](_0x563a9e['start'],_0x560cd1),this['_fixPosition'](_0x563a9e['end'],_0x560cd1)),_0x2d2b18=this['_fixRange'](_0x5c804a,_0x3b7b4e);_0x560cd1['markers']['set'](_0x57d455,_0x5c804a),this['_markers']['set'](_0x57d455,_0x2d2b18);}this['_applyOperations'](_0x2132bc,_0xec02,_0x27316e);}['_applyOperations'](_0x4edb26,_0x3168cb,_0x39f91f){for(const _0x3f73e4 of this['source']['getOperations'](_0x4edb26,_0x3168cb))this['_handleOperation'](_0x3f73e4,_0x39f91f);for(const _0x58a2a4 of this['_diffRoots']['values']())_0x58a2a4['markers']['clear']();for(const [_0x5b05d0,_0x46b0e2]of this['_markers']){this['_diffRoots']['get'](_0x46b0e2['root']['rootName'])['markers']['set'](_0x5b05d0,_0x46b0e2['clone']());}const _0x5a98aa=new Map(),_0x1181c8=new Map();for(const [_0x146607,_0x4ea881]of this['_diffRoots'])_0x5a98aa['set'](_0x146607,q(_0x4ea881)),_0x1181c8['set'](_0x146607,this['_diffRootsAttributes']['get'](_0x146607));this['_saveMetaData'](_0x3168cb,_0x5a98aa,this['_markers'],_0x1181c8);}['_getPreviousFrom'](_0x72dff1){const _0x183087=Array['from'](this['_savedMetaData']['keys']());_0x183087['sort']((_0x14ff1d,_0x4e0a08)=>_0x14ff1d-_0x4e0a08),_0x183087['reverse']();for(const _0x2a8a7c of _0x183087)if(_0x2a8a7c<_0x72dff1)return _0x2a8a7c;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x32cb48,_0x6fe472){const _0x2336f0=Array['from'](_0x6fe472['markers'])['map'](([_0x33de71,_0x5d41b8])=>[_0x33de71,this['_fixRange'](_0x5d41b8,_0x32cb48)]);_0x32cb48['markers']=new Map(_0x2336f0);}['_transformMarkers'](_0x51dbea){for(const _0x3e6a8b of this['_markers']['values']()){const _0x327850=_0x3e6a8b['getTransformedByOperation'](_0x51dbea),_0x3e3ec9=vt['_createFromRanges'](_0x327850);_0x3e6a8b['start']=_0x3e3ec9['start'],_0x3e6a8b['end']=_0x3e3ec9['end'];}}['_handleOperation'](_0x470dd0,_0x581048){if('addRoot'==_0x470dd0['type']||'detachRoot'==_0x470dd0['type'])return void this['_handleRootOperation'](_0x470dd0,_0x581048);if('insert'==_0x470dd0['type']){const _0x4a653d=_0x470dd0['position']['root']['rootName'];this['_diffRoots']['has'](_0x4a653d)||(this['_diffRoots']['set'](_0x4a653d,G(_0x4a653d,!0x0)),this['_diffRootsAttributes']['set'](_0x4a653d,{}),_0x581048&&this['_idsRoots']['set'](_0x4a653d,G(_0x4a653d,!0x0)));}else{if('addRootAttribute'==_0x470dd0['type']||'removeRootAttribute'==_0x470dd0['type']||'changeRootAttribute'==_0x470dd0['type'])return void this['_handleRootAttributeOperation'](_0x470dd0);}const _0x5651b0=this['_cloneOperation'](_0x470dd0,this['_diffRoots']);if('marker'!==_0x470dd0['type']&&(_0x5651b0['_execute'](),this['_transformMarkers'](_0x5651b0)),_0x581048)switch(_0x5651b0['type']){case'insert':this['_handleInsertOperation'](_0x470dd0);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x470dd0);break;case'merge':this['_handleMergeOperation'](_0x470dd0);break;case'split':this['_handleSplitOperation'](_0x470dd0);break;case'marker':this['_handleMarkerOperation'](_0x470dd0);}}['_cloneOperation'](_0x204dc9,_0x16b753){const _0x413d75=_0x204dc9['clone']();return _0x413d75['_authorId']=_0x204dc9['_authorId'],this['_fixOperation'](_0x413d75,_0x16b753),_0x413d75;}['_getBaseVids'](_0x5c334f){return _0x5c334f['map'](_0x2f505e=>{const _0x2158e0=this['_getVidAttributeName'](_0x2f505e);return Number(_0x2f505e['item']['getAttribute'](_0x2158e0));});}['_generateTape'](_0x1ae91f,_0x2e9436){if(_0x1ae91f['is']('element','$text'))_0x2e9436['push']({'item':_0x1ae91f,'type':'text'});else{_0x1ae91f['is']('element')&&_0x2e9436['push']({'item':_0x1ae91f,'type':'elementStart'});for(const _0x3f588a of _0x1ae91f['getChildren']())this['_generateTape'](_0x3f588a,_0x2e9436);_0x1ae91f['is']('element')&&_0x2e9436['push']({'item':_0x1ae91f,'type':'elementEnd'});}return _0x2e9436;}['_getState'](){const _0x4b0571=new Map(this['_touched']),_0x34f80d=new Map(_0x4b0571),_0x28f25b=new Map(),_0x2d3732={'insertions':{},'deletions':{}},_0x3e09fa={'insertions':{},'deletions':{}},_0x341698=new Map(),_0x62e806=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x62e806['delete']('$graveyard');for(const _0x4c3563 of _0x62e806){const _0x517224=this['_diffRoots']['get'](_0x4c3563)||G(_0x4c3563,!0x1),_0x13240d=this['_baseRoots']['get'](_0x4c3563)||G(_0x4c3563,!0x1);_0x517224['isAttached']()||_0x13240d['isAttached']()?(_0x2d3732['insertions'][_0x4c3563]=q(_0x517224),_0x2d3732['deletions'][_0x4c3563]=q(_0x13240d),this['_copyMarkers'](_0x2d3732['deletions'][_0x4c3563],_0x13240d),this['_copyMarkers'](_0x2d3732['insertions'][_0x4c3563],_0x517224),_0x3e09fa['insertions'][_0x4c3563]=this['_generateTape'](this['_idsRoots']['get'](_0x4c3563),[]),_0x3e09fa['deletions'][_0x4c3563]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x4c3563)||G(_0x4c3563,!0x1),[])):_0x62e806['delete'](_0x4c3563);}for(const _0x1ca0f6 of _0x62e806){const _0x536fad=_0x3e09fa['insertions'][_0x1ca0f6];for(const _0x1a419b of _0x536fad){const _0x37b374=this['_getVidAttributeName'](_0x1a419b),_0x424697=_0x1a419b['item']['getAttribute'](_0x37b374);_0x34f80d['delete'](_0x424697),_0x424697>=this['_startingRevisionId']&&_0x28f25b['set'](_0x424697,_0x4b0571['get'](_0x424697));}}for(const _0x796ec4 of _0x62e806){const _0x280a3e=_0x3e09fa['insertions'][_0x796ec4],_0x2fe028=this['_getBaseVids'](_0x3e09fa['deletions'][_0x796ec4]);let _0x1eeedd=0x0;for(const _0x5c49fa of _0x280a3e){const _0x10f500=this['_getVidAttributeName'](_0x5c49fa),_0x269d9a=_0x5c49fa['item']['getAttribute'](_0x10f500);if(!_0x28f25b['has'](_0x269d9a)&&!_0x341698['has'](_0x269d9a)){if(_0x34f80d['has'](_0x269d9a))_0x1eeedd++;else{if(_0x269d9a!=_0x2fe028[_0x1eeedd]){const _0x26f650=_0x4b0571['get'](_0x269d9a)||_0x4b0571['get'](_0x2fe028[_0x1eeedd]);for(;_0x269d9a!=_0x2fe028[_0x1eeedd];)_0x34f80d['has'](_0x2fe028[_0x1eeedd])||(_0x341698['set'](_0x2fe028[_0x1eeedd],_0x26f650),_0x4b0571['set'](_0x2fe028[_0x1eeedd],_0x26f650)),_0x1eeedd++;}_0x1eeedd++;}}}}for(const _0x4c1732 of _0x62e806){const _0x431d3b=_0x3e09fa['insertions'][_0x4c1732];for(const _0x115053 of _0x431d3b){const _0x460262=this['_getVidAttributeName'](_0x115053),_0x43b442=_0x115053['item']['getAttribute'](_0x460262);if(_0x341698['has'](_0x43b442)){const _0x461055=_0x341698['get'](_0x43b442);_0x34f80d['has'](_0x43b442)||_0x34f80d['set'](_0x43b442,{..._0x461055}),_0x28f25b['set'](_0x43b442,{..._0x461055});}}}for(const _0x4a7c74 of _0x34f80d['keys']())_0x4a7c74>=this['_startingRevisionId']&&_0x34f80d['delete'](_0x4a7c74);const _0x3065db=new Map();for(const _0x5879f7 of _0x62e806){let _0x13dbac=_0x3e09fa['insertions'][_0x5879f7];for(const _0x1f353f of _0x13dbac)if(_0x1f353f['item']['is']('element','tableCell')){const _0x3223fa=this['_getVidAttributeName'](_0x1f353f),_0x3fb4fb=_0x1f353f['item']['getAttribute'](_0x3223fa);if(_0x28f25b['has'](_0x3fb4fb)){const _0x59cc6a=_0x1f353f['item']['parent']['parent']['getAttribute']('vid_start'),_0x166d85=_0x3065db['get'](_0x59cc6a)||new Set();_0x166d85['add'](_0x28f25b['get'](_0x3fb4fb)['userId']),_0x3065db['set'](_0x59cc6a,_0x166d85);}}_0x13dbac=_0x3e09fa['deletions'][_0x5879f7];for(const _0x2e2360 of _0x13dbac)if(_0x2e2360['item']['is']('element','tableCell')){const _0x308112=this['_getVidAttributeName'](_0x2e2360),_0x31752a=_0x2e2360['item']['getAttribute'](_0x308112);if(_0x34f80d['has'](_0x31752a)){const _0x26f50d=_0x2e2360['item']['parent']['parent']['getAttribute']('vid_start'),_0x433611=_0x3065db['get'](_0x26f50d)||new Set();_0x433611['add'](_0x34f80d['get'](_0x31752a)['userId']),_0x3065db['set'](_0x26f50d,_0x433611);}}for(const _0x113261 of _0x3065db['keys']())(_0x28f25b['has'](_0x113261)||_0x34f80d['has'](_0x113261))&&_0x3065db['delete'](_0x113261);}for(const _0x4af174 of _0x62e806){const _0x28aeec=_0x3e09fa['insertions'][_0x4af174];let _0x46a418=null,_0x587f1e=null;for(const _0x3c34fd of _0x28aeec){const _0x48a34f=this['_getVidAttributeName'](_0x3c34fd),_0x596fdc=_0x3c34fd['item']['getAttribute'](_0x48a34f),_0x4c2a95=_0x3065db['get'](_0x596fdc);_0x4c2a95&&'elementStart'==_0x3c34fd['type']&&(_0x46a418=Array['from'](_0x4c2a95)[0x0],_0x587f1e=_0x3c34fd['item']['getAttribute']('vid_end')),_0x46a418&&(_0x34f80d['set'](_0x596fdc,{'userId':_0x46a418}),_0x28f25b['set'](_0x596fdc,{'userId':_0x46a418})),_0x596fdc==_0x587f1e&&(_0x46a418=null,_0x587f1e=null);}}const _0x258963={},_0x8c66e5=new Set();for(const _0x3845e9 of _0x62e806){const _0x58f8a5=_0x2d3732['deletions'][_0x3845e9],_0x3560de=_0x2d3732['insertions'][_0x3845e9];for(const {userId:_0x268862}of this['_touchedMarkers']['values']())null!==_0x268862&&_0x8c66e5['add'](_0x268862);for(const {userId:_0x578a28}of this['_touchedRoots']['values']())null!==_0x578a28&&_0x8c66e5['add'](_0x578a28);this['_markChanges'](_0x3560de,_0x3e09fa['insertions'][_0x3845e9],_0x28f25b,'insertion',_0x8c66e5),this['_markChanges'](_0x58f8a5,_0x3e09fa['deletions'][_0x3845e9],_0x34f80d,'deletion',_0x8c66e5),_0x258963[_0x3845e9]={'insertions':this['_prepareViewToSave'](_0x3560de),'deletions':this['_prepareViewToSave'](_0x58f8a5),'attachChange':this['_touchedRoots']['get'](_0x3845e9)||null,'attributesBefore':_0x18fa51(this['_baseRootsAttributes']['get'](_0x3845e9))||{},'attributesAfter':_0x18fa51(this['_diffRootsAttributes']['get'](_0x3845e9))};}return{'diffData':_0x258963,'authorsIds':Array['from'](_0x8c66e5)};}['_processRootBeforeSave'](_0x49e6e2){for(const [,_0x3d131c]of _0x49e6e2['markers']){const _0x27a5ee=_0x3d131c['start']['getAncestors']()['filter'](_0x1b3871=>'tableCell'==_0x1b3871['name']);for(const _0x1a0e1c of _0x27a5ee)0x1==_0x1a0e1c['childCount']&&_0x1a0e1c['getChild'](0x0)['is']('element','paragraph')&&_0x1a0e1c['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x5cc8b5){this['_processRootBeforeSave'](_0x5cc8b5);const _0x4dc87a=this['editor']['data']['toView'](_0x5cc8b5,{}),_0xf23df0=Array['from'](_0x4dc87a['getChildren']())['map'](_0x234ebe=>this['_getViewJson'](_0x234ebe));return JSON['stringify'](_0xf23df0);}['_getViewJson'](_0x354ff7){if(_0x354ff7['is']('$text'))return _0x354ff7['data'];{const _0xa5a728=_0x354ff7;return{'type':Object['keys'](T)['find'](_0x2bd690=>_0x354ff7 instanceof T[_0x2bd690]),'name':_0xa5a728['name'],'attributes':Array['from'](_0xa5a728['getAttributes']()),'children':Array['from'](_0xa5a728['getChildren']())['map'](_0x1fe42e=>this['_getViewJson'](_0x1fe42e))};}}['_markChanges'](_0x5cd2e6,_0x25c91a,_0x39baab,_0x58ffe7,_0x57ca74){let _0x95bf36=null,_0x528416=null,_0x3ccff4=0x0;const _0x2763cd=this['editor']['model'];for(let _0x1473b2=0x0;_0x1473b2<_0x25c91a['length'];_0x1473b2++){const _0x2335eb=this['_getVidAttributeName'](_0x25c91a[_0x1473b2]),_0x4f7ac7=_0x25c91a[_0x1473b2]['item']['getAttribute'](_0x2335eb),_0x5eca39=_0x39baab['get'](_0x4f7ac7),_0xe8420e=_0x1473b2==_0x25c91a['length']-0x1;(!_0x95bf36&&_0x5eca39&&(_0x95bf36=_0x5eca39,_0x528416=_0x25c91a[_0x1473b2]),_0x95bf36&&(!_0x5eca39||_0x5eca39['userId']!=_0x95bf36['userId']))&&(_0x1721db(_0x5eca39,L(_0x528416,_0x5cd2e6,_0x2763cd),L(_0x25c91a[_0x1473b2],_0x5cd2e6,_0x2763cd)),_0x95bf36=_0x5eca39||null,_0x528416=_0x5eca39?_0x25c91a[_0x1473b2]:null),_0x95bf36&&_0xe8420e&&_0x1721db(_0x5eca39,L(_0x528416,_0x5cd2e6,_0x2763cd),W(_0x25c91a[_0x1473b2],_0x5cd2e6,_0x2763cd));}function _0x1721db(_0x3dd624,_0x14cd08,_0x144661){const _0x54163d=_0x95bf36['userId'],_0x3da713='revision:'+_0x58ffe7+':'+_0x54163d+':'+_0x3ccff4++,_0x1f1361=_0x2763cd['createRange'](_0x14cd08,_0x144661);_0x5cd2e6['markers']['set'](_0x3da713,_0x1f1361),null!==_0x54163d&&_0x57ca74['add'](_0x54163d);}}['_getVidAttributeName'](_0x458ec3){switch(_0x458ec3['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x4045b9,_0x2e9019){_0x4045b9['baseVersion']=null;for(const _0x5c2f8f in _0x4045b9){const _0x1662e1=_0x4045b9[_0x5c2f8f];if(_0x1662e1 instanceof gt){const _0x4d55cb=_0x2e9019['get'](_0x1662e1['root']['rootName']);_0x4045b9[_0x5c2f8f]=this['_fixPosition'](_0x1662e1,_0x4d55cb);}if(_0x1662e1 instanceof vt){const _0x3fc8ed=_0x2e9019['get'](_0x1662e1['root']['rootName']);_0x4045b9[_0x5c2f8f]=this['_fixRange'](_0x1662e1,_0x3fc8ed);}'root'===_0x5c2f8f&&(_0x4045b9['root']=_0x2e9019['get'](_0x4045b9['root']['rootName']));}}['_fixRange'](_0x337972,_0x1296ea){return this['editor']['model']['createRange'](this['_fixPosition'](_0x337972['start'],_0x1296ea),this['_fixPosition'](_0x337972['end'],_0x1296ea));}['_fixPosition'](_0x4cad28,_0x57b0f7){return this['editor']['model']['createPositionFromPath'](_0x57b0f7,_0x4cad28['path'],_0x4cad28['stickiness']);}['_handleInsertOperation'](_0x54f033){const _0x4b3b7e=this['_idsRoots']['get'](_0x54f033['position']['root']['rootName']),_0x15d175=this['_fixPosition'](_0x54f033['position'],_0x4b3b7e),_0x23b2c9=null===_0x54f033['_authorId']?null:_0x54f033['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x34ac0f=_0x15d175['parent'],_0x489547=this['_revisionId'],_0x179829=[];for(const _0x5deeee of _0x54f033['nodes'])if(_0x5deeee['is']('element'))_0x179829['push'](this['_makeIdsRoot'](_0x5deeee));else{for(let _0x1aa8f9=0x0;_0x1aa8f9<_0x5deeee['offsetSize'];_0x1aa8f9++)_0x179829['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x3a694f=this['_revisionId'];for(let _0x28bdf0=_0x489547;_0x28bdf0<_0x3a694f;_0x28bdf0++)this['_touched']['set'](_0x28bdf0,{'userId':_0x23b2c9});_0x34ac0f['_insertChild'](_0x15d175['offset'],_0x179829);}['_handleMoveOperation'](_0x1866b6){(_0x1866b6=this['_cloneOperation'](_0x1866b6,this['_idsRoots']))['_execute']();const _0x6b9c59=null===_0x1866b6['_authorId']?null:_0x1866b6['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x95cafa=_0x1866b6['getMovedRangeStart'](),_0x1b5cb3=_0x95cafa['parent'],_0x3a496c=_0x95cafa['offset'];!function _0xbc0169(_0x1e6736,_0xddd75a,_0x1d9b7b,_0x4701e6){for(let _0x744c21=_0x1d9b7b;_0x744c21<_0x4701e6;_0x744c21++){const _0x553eb6=_0xddd75a['getChild'](_0x744c21);_0x553eb6['is']('element','$text')?_0x1e6736['set'](_0x553eb6['getAttribute']('vid'),{'userId':_0x6b9c59}):(_0x1e6736['set'](_0x553eb6['getAttribute']('vid_start'),{'userId':_0x6b9c59}),_0xbc0169(_0x1e6736,_0x553eb6,0x0,_0x553eb6['childCount']),_0x1e6736['set'](_0x553eb6['getAttribute']('vid_end'),{'userId':_0x6b9c59}));}}(this['_touched'],_0x1b5cb3,_0x3a496c,_0x3a496c+_0x1866b6['howMany']);}['_handleMergeOperation'](_0x1375cc){const _0x41eb59=null===(_0x1375cc=this['_cloneOperation'](_0x1375cc,this['_idsRoots']))['_authorId']?null:_0x1375cc['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3e4b40=_0x1375cc['targetPosition']['parent'],_0x1483f1=_0x1375cc['sourcePosition']['parent'],_0x52d297=_0x3e4b40['getAttribute']('vid_end'),_0x3e59f6=_0x1483f1['getAttribute']('vid_start');_0x3e4b40['_setAttribute']('vid_end',_0x1483f1['getAttribute']('vid_end')),_0x1483f1['_setAttribute']('vid_end',_0x52d297),this['_touched']['set'](_0x3e59f6,{'userId':_0x41eb59}),this['_touched']['set'](_0x52d297,{'userId':_0x41eb59}),_0x1375cc['_execute']();}['_handleSplitOperation'](_0x142274){const _0x38169b=null===(_0x142274=this['_cloneOperation'](_0x142274,this['_idsRoots']))['_authorId']?null:_0x142274['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x615dfe=_0x142274['graveyardPosition'],_0x51711a=_0x142274['splitPosition']['parent'];_0x142274['_execute']();const _0x24c084=_0x51711a['getAttribute']('vid_end'),_0x3f3bda=_0x142274['insertionPosition']['nodeAfter'];if(_0x615dfe){const _0x4d5045=_0x3f3bda['getAttribute']('vid_end'),_0x3fb416=_0x51711a['getAttribute']('vid_end');_0x51711a['_setAttribute']('vid_end',_0x4d5045),_0x3f3bda['_setAttribute']('vid_end',_0x3fb416),this['_touched']['set'](_0x51711a['getAttribute']('vid_end'),{'userId':_0x38169b}),this['_touched']['set'](_0x3f3bda['getAttribute']('vid_start'),{'userId':_0x38169b});}else{const _0x2c66fa=this['_revisionId']++,_0x189e40=this['_revisionId']++;_0x51711a['_setAttribute']('vid_end',_0x2c66fa),_0x3f3bda['_setAttribute']('vid_start',_0x189e40),_0x3f3bda['_setAttribute']('vid_end',_0x24c084),this['_touched']['set'](_0x2c66fa,{'userId':_0x38169b}),this['_touched']['set'](_0x189e40,{'userId':_0x38169b});}}['_handleMarkerOperation'](_0x34d000){if(!_0x34d000['affectsData'])return;const _0x183612=(_0x34d000=this['_cloneOperation'](_0x34d000,this['_diffRoots']))['oldRange']?_0x34d000['oldRange']['root']:null,_0x36e0ca=_0x34d000['newRange']?_0x34d000['newRange']['root']:null;_0x183612&&this['_markers']['delete'](_0x34d000['name']),_0x36e0ca&&this['_markers']['set'](_0x34d000['name'],_0x34d000['newRange']['clone']());const _0x11fa98=null===_0x34d000['_authorId']?null:_0x34d000['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x43f47b=_0x34d000['name'];if(!this['_touchedMarkers']['has'](_0x43f47b))return void this['_touchedMarkers']['set'](_0x43f47b,{'range':_0x34d000['oldRange'],'userId':_0x11fa98});const _0x5235c1=this['_touchedMarkers']['get'](_0x43f47b),_0x56bf54=_0x5235c1['range'],_0x2f25e5=_0x34d000['newRange'];null==_0x56bf54&&null==_0x2f25e5||_0x56bf54&&_0x2f25e5&&_0x56bf54['isEqual'](_0x2f25e5)?this['_touchedMarkers']['delete'](_0x34d000['name']):_0x5235c1['userId']=_0x11fa98;}['_handleRootOperation'](_0x447f41,_0x25abc1){this['_diffRoots']['has'](_0x447f41['rootName'])?this['_diffRoots']['get'](_0x447f41['rootName'])['_isAttached']=_0x447f41['isAdd']:(this['_diffRoots']['set'](_0x447f41['rootName'],G(_0x447f41['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x447f41['rootName'],{}),_0x25abc1&&this['_idsRoots']['set'](_0x447f41['rootName'],G(_0x447f41['rootName'],!0x0)));const _0x102029=null===_0x447f41['_authorId']?null:_0x447f41['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3bdebd=this['_touchedRoots']['get'](_0x447f41['rootName']);_0x3bdebd&&_0x3bdebd['userId']===_0x102029?this['_touchedRoots']['delete'](_0x447f41['rootName']):this['_touchedRoots']['set'](_0x447f41['rootName'],{'userId':_0x102029,'isAttached':_0x447f41['isAdd']});}['_handleRootAttributeOperation'](_0x13e7a5){const _0x57dd2f=this['_diffRootsAttributes']['get'](_0x13e7a5['root']['rootName']);null===_0x13e7a5['newValue']?delete _0x57dd2f[_0x13e7a5['key']]:_0x57dd2f[_0x13e7a5['key']]=_0x13e7a5['newValue'];}}function q(_0x2c751c){const _0x674ed9=G(_0x2c751c['rootName'],_0x2c751c['isAttached']());for(const _0x44e63f of _0x2c751c['getChildren']()){const _0x50d176=_0x44e63f['_clone'](!0x0);_0x674ed9['_appendChild'](_0x50d176);}return _0x674ed9;}function G(_0x2b37b7,_0x4815af=!0x0){const _0x1b44b7=new wt();return _0x1b44b7['rootName']=_0x2b37b7,_0x1b44b7['_isAttached']=_0x4815af,_0x1b44b7['isAttached']=()=>_0x1b44b7['_isAttached'],_0x1b44b7;}function L(_0x4f317b,_0x214597,_0x1c4268){const _0x7f14d1='elementEnd'==_0x4f317b['type']?_0x1c4268['createPositionAt'](_0x4f317b['item'],'end'):_0x1c4268['createPositionBefore'](_0x4f317b['item']);return _0x1c4268['createPositionFromPath'](_0x214597,_0x7f14d1['path'],_0x7f14d1['stickiness']);}function W(_0x59329d,_0x14e594,_0x2a1ec3){const _0x3bcd47='elementStart'==_0x59329d['type']?_0x2a1ec3['createPositionAt'](_0x59329d['item'],0x0):_0x2a1ec3['createPositionAfter'](_0x59329d['item']);return _0x2a1ec3['createPositionFromPath'](_0x14e594,_0x3bcd47['path'],_0x3bcd47['stickiness']);}class ns extends _0x5ec719{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x3814c7,_0x330aab){super(_0x3814c7),this['focusTracker']=new _0x13b58f(),this['keystrokes']=new _0x4b35d0(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x330aab),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'](),_0x45c15c({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x251bba=_0x38b9c3=>_0x38b9c3['stopPropagation']();this['keystrokes']['set']('arrowright',_0x251bba),this['keystrokes']['set']('arrowleft',_0x251bba),this['keystrokes']['set']('arrowup',_0x251bba),this['keystrokes']['set']('arrowdown',_0x251bba);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x2952d5){this['revisionNameInputView']['fieldView']['element']['value']=_0x2952d5['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x3f18f7){const _0x27787e=new at(this['locale'],_0x9d6d1a),_0x239d72=_0x27787e['fieldView'];_0x239d72['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x5eb921=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x3f18f7&&(_0x5eb921+='\x20('+y(this['locale'],'optional')+')'),(_0x27787e['label']=_0x5eb921,_0x239d72['on']('input',()=>{this['revisionNameInputValue']=_0x239d72['element']['value']['trim']();}),_0x27787e);}}class u extends _0x5237db{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x54b142=this['editor'],_0x302698=_0x54b142['plugins']['get']('RevisionTracker');_0x54b142['ui']['componentFactory']['add']('revisionHistory',_0x46c9af=>{const _0x7f2a8e=_0xc5c0ce(_0x46c9af),_0x5398c0=_0x7f2a8e['panelView']['children'],_0x328a65=new te(_0x46c9af),_0x74c4f1=new _0xf0e1d8(_0x46c9af),_0x1d03fd=new _0x43d9e8(_0x46c9af),_0x4aea42=new _0xf0e1d8(_0x46c9af),_0x134a5b=new _0x43d9e8(_0x46c9af);return _0x7f2a8e['bind']('isEnabled')['to'](_0x302698,'isReady',_0x302698,'isEnabled',_0x54b142,'isReadOnly',(_0x3d6092,_0x172f1d,_0x2aada2)=>_0x3d6092&&_0x172f1d&&!_0x2aada2),_0x7f2a8e['buttonView']['set']({'icon':_0x1a1335['history'],'label':y(_0x46c9af,'Revision\x20history'),'tooltip':!0x0}),_0x1d03fd['set']({'label':y(_0x46c9af,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x1d03fd['bind']('isEnabled')['to'](_0x302698,'isReady',_0x302698,'isEnabled',_0x54b142,'isReadOnly',(_0xbc3fc2,_0x44d141,_0x118770)=>_0xbc3fc2&&_0x44d141&&!_0x118770),_0x1d03fd['on']('execute',()=>this['_showDialog']()),_0x134a5b['set']({'label':y(_0x46c9af,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x134a5b['bind']('isEnabled')['to'](_0x302698,'isReady',_0x54b142,'isReadOnly',(_0x32f713,_0xf1f65a)=>_0x32f713&&!_0xf1f65a),_0x134a5b['on']('execute',()=>{_0x54b142['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x7f2a8e['isOpen']=!0x1,_0x54b142['editing']['view']['focus']();}),_0x74c4f1['children']['add'](_0x1d03fd),_0x4aea42['children']['add'](_0x134a5b),_0x328a65['role']='menu',_0x328a65['items']['addMany']([_0x74c4f1,_0x4aea42]),_0x5398c0['add'](_0x328a65),_0x7f2a8e;}),_0x54b142['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x3e8626=this['editor'],_0x1bbd25=_0x3e8626['locale'],_0x152df8=new _0x5cebf0(_0x1bbd25),_0x1c32da=new _0x161112(_0x1bbd25);_0x152df8['buttonView']['set']({'icon':_0x1a1335['history'],'label':y(_0x1bbd25,'Revision\x20history')});const _0x28e921=new _0x480f39(_0x1bbd25,_0x152df8),_0x31327d=new _0x59ca74(_0x1bbd25);_0x31327d['set']({'label':y(_0x1bbd25,'Save\x20current\x20revision')}),_0x31327d['delegate']('execute')['to'](_0x152df8),_0x31327d['on']('execute',()=>{this['_showDialog']();}),_0x28e921['children']['add'](_0x31327d),_0x1c32da['items']['add'](_0x28e921);const _0x5d3b22=new _0x480f39(_0x1bbd25,_0x152df8),_0x4f0695=new _0x59ca74(_0x1bbd25);return _0x4f0695['set']({'label':y(_0x1bbd25,'Open\x20revision\x20history')}),_0x4f0695['delegate']('execute')['to'](_0x152df8),_0x4f0695['on']('execute',()=>{_0x3e8626['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x5d3b22['children']['add'](_0x4f0695),_0x1c32da['items']['add'](_0x5d3b22),_0x152df8['panelView']['children']['add'](_0x1c32da),_0x152df8;}['_showDialog'](){const _0x5c242a=this['editor'],_0x3a9dac=_0x5c242a['locale'],t=_0x3a9dac['t'],_0x283c52=_0x5c242a['plugins']['get']('Dialog'),_0x12428d=_0x5c242a['plugins']['get']('RevisionTracker');function _0x7434(_0x15f684){_0x5c242a['config']['get']('revisionHistory.requireRevisionName')&&''===_0x15f684['revisionName']?_0x15f684['revisionNameInputView']['errorText']=y(_0x3a9dac,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x5c242a['plugins']['get'](l)['saveRevision']({'name':_0x15f684['revisionName']}),_0x283c52['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x7434(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x283c52['show']({'id':'findAndReplace','title':y(_0x3a9dac,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x283c52['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x2e2754){_0x2e2754['bind']('isEnabled')['to'](_0x12428d,'isReady',_0x12428d,'isEnabled',_0x5c242a,'isReadOnly',(_0xff11ea,_0xcb2c,_0x596dfe)=>_0xff11ea&&_0xcb2c&&!_0x596dfe);},'onExecute':()=>_0x7434(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x376d2c=this['editor'],_0xe8fd34=_0x376d2c['locale'];this['_saveRevisionFormView']=new ns(_0xe8fd34,_0x376d2c['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x5ec719{['changeId'];['_model'];constructor(_0x3db0fb,_0x2d4bfd){super(_0x3db0fb),this['_model']=_0x2d4bfd,this['changeId']=_0x2d4bfd['id'];const _0xab2891=this['bindTemplate'],_0x3c62ec=y(_0x3db0fb,_0x2d4bfd['data']['isSuggestion']?'Suggested\x20by':'add'==_0x2d4bfd['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x2d4bfd['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0xab2891['to']('type',_0x5e5a82=>'ck-revision-change__'+_0x5e5a82)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x3c62ec}]},{'text':'\x20'+_0x2d4bfd['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x34ec5d(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0xeaee48){super(),this['id']=_0xeaee48['id']||_0xee2aa4(),this['author']=_0xeaee48['author'],this['type']=_0xeaee48['type'],this['data']=_0xeaee48['data']||{},this['rootName']=_0xeaee48['rootName'],this['set']('createdAt',_0xeaee48['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(_0xee953d,_0x2a1181){this['newRevisionId']=_0xee953d,this['oldRevisionId']=_0x2a1181,this['changes']=new _0x3c497c();}['_setChanges'](_0x2a6b9d){for(const _0x282038 of _0x2a6b9d)this['changes']['add'](_0x282038);}}const tt={'c':_0x45c61b,'a':_0x2e17bd,'e':_0x5668bd,'r':_0x38a11a,'u':_0x5d1968};class d extends _0x5237db{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x114540,_0x25d83a,A];}constructor(_0x40cd69){super(_0x40cd69),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',(_0x2af459,_0x9f1ff9,_0x26a48f)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x2b1d69=>{for(const _0x2411e7 of this['editor']['editing']['view']['document']['roots'])_0x26a48f?_0x2b1d69['removeClass']('ck-editor__editable__overlay',_0x2411e7):_0x2b1d69['addClass']('ck-editor__editable__overlay',_0x2411e7);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x1c4a39=>null!==_0x1c4a39),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x5eb7bb,_0x487340,_0x196054)=>_0x5eb7bb&&_0x196054?_0x487340['changes']['getIndex'](_0x196054):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x403914,_0x25239a)=>_0x403914?_0x25239a['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x25d83a);}['init'](){const _0x232661=this['editor'],_0x2e7ba6=new yt(_0x232661,{'direction':'backward'}),_0x3827b8=new yt(_0x232661,{'direction':'forward'});(_0x232661['commands']['add']('showPreviousChange',_0x2e7ba6),_0x232661['commands']['add']('showNextChange',_0x3827b8),_0x232661['commands']['add']('restoreRevision',new bt(_0x232661)),this['on']('change:numberOfChanges',()=>{_0x2e7ba6['refresh'](),_0x3827b8['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x232661['enableReadOnlyMode']('revision-viewer'),_0x232661['plugins']['has']('WidgetToolbarRepository'))&&_0x232661['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x13ceb5){await this['loadRevisionData'](_0x13ceb5);const _0x825f94={};for(const _0x4013e2 in _0x13ceb5['diffData']){if(_0x13ceb5['diffData'][_0x4013e2]['attachChange']&&!_0x13ceb5['diffData'][_0x4013e2]['attachChange']['isAttached'])continue;const _0x529c3e=this['_removeRevisionMarkers'](JSON['parse'](_0x13ceb5['diffData'][_0x4013e2]['insertions'])),_0x3f6213=this['editor']['editing']['view']['document'],_0x32e9bd=new _0x15d82a(_0x3f6213,_0x529c3e['map'](_0x33a791=>this['_getViewObj'](_0x33a791)));this['editor']['data']['processor']['useFillerType']('marked'),_0x825f94[_0x4013e2]=this['editor']['data']['processor']['toData'](_0x32e9bd),this['editor']['data']['processor']['useFillerType']('default');}return _0x825f94;}async['getRevisionRootsAttributes'](_0x49518d){await this['loadRevisionData'](_0x49518d);const _0x40149f={};for(const _0x1ab217 in _0x49518d['diffData'])_0x49518d['diffData'][_0x1ab217]['attachChange']&&!_0x49518d['diffData'][_0x1ab217]['attachChange']['isAttached']||(_0x40149f[_0x1ab217]=_0x49518d['diffData'][_0x1ab217]['attributesAfter']||{});return _0x40149f;}['_removeRevisionMarkers'](_0x5b8c46){return(_0x5b8c46=_0x5b8c46['filter'](_0x201a8b=>!_0x201a8b['name']||'revision-start'!==_0x201a8b['name']&&'revision-end'!==_0x201a8b['name']))['forEach'](_0x7d8820=>{'string'!=typeof _0x7d8820&&(_0x7d8820['children']=this['_removeRevisionMarkers'](_0x7d8820['children']),_0x7d8820['attributes']=_0x7d8820['attributes']['filter'](_0x27a4d8=>!_0x27a4d8[0x0]['startsWith']('data-revision-')));}),_0x5b8c46;}async['compare'](_0x372a01,_0x51e324,_0xdda67b=!0x1){if(!this['isEnabled'])return;const _0xef9bab=this['diff'],_0xa8a21=this['repository'],_0x315751='string'==typeof _0x372a01?_0xa8a21['getRevision'](_0x372a01):_0x372a01,_0x4a1dbe='string'==typeof _0x51e324?_0xa8a21['getRevision'](_0x51e324):_0x51e324,_0x2b0da5=_0x315751['id'],_0x28f2cb=_0x4a1dbe?_0x4a1dbe['id']:null;if(!_0xdda67b&&this['diff']&&this['diff']['newRevisionId']===_0x2b0da5&&this['diff']['oldRevisionId']===_0x28f2cb)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x2b0da5,_0x28f2cb);const _0x1e67ee=this['_getRevisionsRange'](_0x315751,_0x4a1dbe,!0x0)['map'](_0x4b3637=>this['loadRevisionData'](_0x4b3637));return _0x1e67ee['push'](new Promise(_0x37e57f=>{setTimeout(_0x37e57f,0x14);})),Promise['all'](_0x1e67ee)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x2285b6=this['_getDiff'](_0x2b0da5,_0x28f2cb);for(const _0x1234a2 of _0x2285b6['changes'])this['_changeIdToChange']['set'](_0x1234a2['id'],_0x1234a2);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x443f60=>{for(const _0x16b0ef of this['editor']['model']['document']['getRootNames']())_0x443f60['detachRoot'](_0x16b0ef);for(const _0x22a48b of Object['keys'](_0x2285b6['model'])){const _0x40c500=_0x443f60['addRoot'](_0x22a48b);for(const _0x4ea510 of Object['keys'](_0x2285b6['attributes'][_0x22a48b]))_0x443f60['setAttribute'](_0x4ea510,_0x2285b6['attributes'][_0x22a48b][_0x4ea510],_0x40c500);_0x443f60['insert'](_0x2285b6['model'][_0x22a48b],_0x40c500,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x2285b6['changes'])),this['isReady']=!0x0;})['catch'](_0x221f95=>{console['error'](_0x221f95),this['_cleanUp'](),_0xef9bab&&(this['diff']=_0xef9bab),this['isReady']=!0x0;});}['addRevisionData'](_0xf0cc7a,_0x5e9c79){const _0x1b8a92=this['repository']['createRevision'](_0xf0cc7a);return _0x1b8a92['on']('_update',(_0x537287,_0x3dabab,_0x38a958)=>_0x5e9c79(_0x3dabab,_0x38a958,_0x1b8a92)),this['repository']['addRevision'](_0x1b8a92),_0x1b8a92;}['loadRevisionData'](_0x91da0d){if(!_0x91da0d||_0x91da0d['diffData'])return Promise['resolve']();{const _0x1752f3=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x1752f3,'revisionId':_0x91da0d['id']})['then'](_0x30f054=>{_0x91da0d['_update']({'diffData':_0x30f054['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},_0x58c2fd=>{for(const _0x3ec265 of this['editor']['model']['document']['getRootNames']())_0x58c2fd['detachRoot'](_0x3ec265);});}['_sortAndFilterDiffChanges'](_0x4766ef){const _0x1be511=[],_0x2ea288=new Map();for(const _0x4bd9b5 of this['editor']['model']['document']['getRootNames']()){const _0x14dd0a=this['editor']['editing']['view']['getDomRoot'](_0x4bd9b5);if(!_0x14dd0a)continue;const _0x4f13eb=_0x14dd0a['getClientRects']()['item'](0x0);_0x4f13eb&&(_0x1be511['push'](_0x4bd9b5),_0x2ea288['set'](_0x4bd9b5,_0x4f13eb));}return _0x1be511['sort']((_0x5a3dd0,_0x3d6177)=>{const _0x267215=_0x2ea288['get'](_0x5a3dd0),_0x5c0690=_0x2ea288['get'](_0x3d6177);return _0x267215['y']-_0x5c0690['y']||_0x267215['x']-_0x5c0690['x'];}),(_0x4766ef=_0x4766ef['filter'](_0x931245=>_0x1be511['includes'](_0x931245['rootName'])))['sort']((_0x28b660,_0x1d11dd)=>_0x1be511['indexOf'](_0x28b660['rootName'])-_0x1be511['indexOf'](_0x1d11dd['rootName'])),_0x4766ef;}['_makeTape'](_0x4c2f66){const _0x3644c0=Array['from'](_0x4c2f66['markers'])['filter'](([_0x29bbc6,_0x30d4db])=>_0x29bbc6['startsWith']('revision:')&&!_0x30d4db['isCollapsed']),_0x4137d6=Array['from'](this['editor']['model']['createRangeIn'](_0x4c2f66)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x3644c0['length'])for(const _0x307640 of _0x4137d6){const [_0x28b24b,_0x5edf66]=_0x3644c0[0x0],[,_0x5c444f,_0x253c62]=_0x28b24b['split'](':');if(_0x5edf66['end']['isEqual'](_0x307640['nextPosition'])&&_0x3644c0['shift'](),(_0x307640['previousPosition']['isEqual'](_0x5edf66['start'])||_0x307640['previousPosition']['isAfter'](_0x5edf66['start']))&&('insertion'==_0x5c444f?_0x307640['isAdded']={'userId':_0x253c62}:'deletion'==_0x5c444f&&(_0x307640['isRemoved']={'userId':_0x253c62})),0x0==_0x3644c0['length'])break;}return _0x4137d6;}['_refreshStartEndIndex'](_0x470c91){const _0x203ca1=new Map();for(let _0x2361f0=0x0;_0x2361f0<_0x470c91['length'];_0x2361f0++)'text'===_0x470c91[_0x2361f0]['type']?(_0x470c91[_0x2361f0]['item']['startIndex']=_0x2361f0,_0x470c91[_0x2361f0]['item']['endIndex']=_0x2361f0):('elementStart'===_0x470c91[_0x2361f0]['type']?_0x470c91[_0x2361f0]['item']['startIndex']=_0x2361f0:'elementEnd'===_0x470c91[_0x2361f0]['type']&&(_0x470c91[_0x2361f0]['item']['endIndex']=_0x2361f0),_0x203ca1['set'](_0x470c91[_0x2361f0]['id'],_0x2361f0));for(const _0x1358f0 of _0x203ca1['values']())'elementStart'===_0x470c91[_0x1358f0]['type']?_0x470c91[_0x1358f0]['item']['endIndex']=_0x203ca1['get'](_0x470c91[_0x1358f0]['pairId']):'elementEnd'===_0x470c91[_0x1358f0]['type']&&(_0x470c91[_0x1358f0]['item']['startIndex']=_0x203ca1['get'](_0x470c91[_0x1358f0]['pairId']));}['_processTape'](_0xd61c8b){for(let _0x484874=0x0;_0x484874<_0xd61c8b['length'];_0x484874++){if('elementStart'===_0xd61c8b[_0x484874]['type'])_0xd61c8b[_0x484874]['item']['startIndex']=_0x484874;else{if('elementEnd'===_0xd61c8b[_0x484874]['type']){_0xd61c8b[_0x484874]['item']['endIndex']=_0x484874;const _0x155f21=_0xd61c8b[_0x484874]['item']['startIndex'];_0xd61c8b[_0x155f21]['pairId']=_0xd61c8b[_0x484874]['id'],_0xd61c8b[_0x484874]['pairId']=_0xd61c8b[_0x155f21]['id'];}else _0xd61c8b[_0x484874]['item']['startIndex']=_0x484874,_0xd61c8b[_0x484874]['item']['endIndex']=_0x484874,_0xd61c8b[_0x484874]['pairId']=null;}_0xd61c8b[_0x484874]['markersStart']||(_0xd61c8b[_0x484874]['markersStart']=[],_0xd61c8b[_0x484874]['markersEnd']=[]);}}['_markInsertions'](_0x5e8541,_0x442572){const _0x1f5d35=_0x5e8541['filter'](_0x267b10=>!_0x267b10['isAdded']);for(let _0x97cee6=0x0;_0x97cee6<_0x442572['length'];_0x97cee6++)_0x442572[_0x97cee6]['isAdded']&&(_0x1f5d35[_0x97cee6]['isAdded']=_0x442572[_0x97cee6]['isAdded']);}['_makeModelFromViewString'](_0x4df76f){const _0x4da8cc=JSON['parse'](_0x4df76f),_0x5e3835=this['editor']['editing']['view']['document'],_0xcc0799=new _0x15d82a(_0x5e3835,_0x4da8cc['map'](_0x40f612=>this['_getViewObj'](_0x40f612)));return this['editor']['data']['toModel'](_0xcc0799);}['_getViewObj'](_0x136912){const _0x583b5a=this['editor']['editing']['view']['document'];if('string'==typeof _0x136912)return new _0x16d4f5(_0x583b5a,_0x136912);{const _0x24044d=_0x136912['children']['map'](_0x1093d5=>this['_getViewObj'](_0x1093d5));return new(tt[_0x136912['type']]||_0x1a051c)(_0x583b5a,_0x136912['name'],_0x136912['attributes'],_0x24044d);}}['_getDiff'](_0x78c2c7,_0x35dd4f=null){const _0x26d340=this['repository']['getRevision'](_0x78c2c7),_0x2a7e41=_0x35dd4f?this['repository']['getRevision'](_0x35dd4f):null,_0x139c97=this['_getRevisionsRange'](_0x26d340,_0x2a7e41),_0x107285=_0x139c97[_0x139c97['length']-0x1],_0x375e48=new Map(),_0x4d2c18={'model':{},'attributes':{},'changes':[]},_0x3c10e1=new Set(),_0x3861e3=new Map();for(let _0x58326e=_0x139c97['length']-0x1;_0x58326e>=0x0;_0x58326e--){const _0x17417b=_0x139c97[_0x58326e];for(const _0x5abd78 of Object['keys'](_0x17417b['diffData']))if(_0x17417b['diffData'][_0x5abd78]['attachChange']){const _0x190a32=_0x17417b['diffData'][_0x5abd78]['attachChange'];_0x190a32['isAttached']?(_0x3c10e1['add'](_0x5abd78),_0x3861e3['has'](_0x5abd78)&&_0x3861e3['get'](_0x5abd78)['userId']==_0x190a32['userId']?_0x3861e3['delete'](_0x5abd78):_0x3861e3['set'](_0x5abd78,_0x190a32)):_0x3861e3['has'](_0x5abd78)?(_0x3c10e1['delete'](_0x5abd78),_0x3861e3['delete'](_0x5abd78)):(_0x3c10e1['add'](_0x5abd78),_0x3861e3['set'](_0x5abd78,_0x190a32));}else _0x3c10e1['add'](_0x5abd78);}for(const _0x2ac1ef of _0x3c10e1){const _0x3dc656=_0x3861e3['has'](_0x2ac1ef)&&!_0x3861e3['get'](_0x2ac1ef)['isAttached'];let _0x2d6778=_0x3dc656?_0x139c97['length']-0x1:0x0;const _0x14c3d5=_0x3dc656?-0x1:0x1;for(;_0x139c97[_0x2d6778];){const _0x19b640=_0x139c97[_0x2d6778];if(_0x19b640['diffData'][_0x2ac1ef]){const _0x51d14f=_0x3dc656?_0x19b640['diffData'][_0x2ac1ef]['attributesBefore']:_0x19b640['diffData'][_0x2ac1ef]['attributesAfter'];_0x4d2c18['attributes'][_0x2ac1ef]=_0x51d14f?_0x18fa51(_0x51d14f):{};break;}_0x2d6778+=_0x14c3d5;}}for(const _0x4c1d82 of _0x139c97){_0x4c1d82['model']={};for(const _0x1285e8 of _0x4c1d82['authors'])_0x375e48['set'](_0x1285e8['id'],_0x1285e8);for(const _0x16ab2e of _0x3c10e1){const _0x1a1e68=_0x4c1d82['diffData'][_0x16ab2e]?_0x4c1d82['diffData'][_0x16ab2e]['insertions']:'[]',_0x12c7dd=_0x4c1d82['diffData'][_0x16ab2e]?_0x4c1d82['diffData'][_0x16ab2e]['deletions']:'[]';_0x4c1d82['model'][_0x16ab2e]={'insertions':this['_makeModelFromViewString'](_0x1a1e68),'deletions':this['_makeModelFromViewString'](_0x12c7dd)};}}for(const _0x4f1eb8 of _0x3c10e1){let _0x6e1b52=null,_0x321e81=0x0;const _0x34a8dc=new Map(Array['from'](_0x26d340['model'][_0x4f1eb8]['insertions']['markers'])['filter'](([_0x2d98ae])=>!_0x2d98ae['startsWith']('revision:')));let _0x3f7a6c=0x0;for(const _0x2914e3 of _0x139c97){const _0x1f3a23=this['_makeTape'](_0x2914e3['model'][_0x4f1eb8]['insertions']);_0x2914e3==_0x26d340?(_0x6e1b52=_0x1f3a23,_0x321e81=_0x6e1b52['length'],_0x6e1b52['forEach'](_0x53a0b2=>{_0x53a0b2['id']=_0x3f7a6c++;}),this['_processTape'](_0x6e1b52)):this['_markInsertions'](_0x6e1b52,_0x1f3a23);const _0x138cad=_0x6e1b52['filter'](_0xcc91bd=>!_0xcc91bd['isAdded'])['map'](_0x4ff346=>_0x4ff346['id']);let _0x121d07=0x0;const _0x38cd26=this['_makeTape'](_0x2914e3['model'][_0x4f1eb8]['deletions']);_0x38cd26['forEach'](_0x81063b=>{_0x81063b['isRemoved']?_0x81063b['id']=_0x321e81++:_0x81063b['id']=_0x138cad[_0x121d07++];}),this['_processTape'](_0x38cd26),this['_setDistance'](_0x6e1b52,'isAdded'),this['_setDistance'](_0x38cd26,'isRemoved'),_0x2914e3==_0x26d340&&this['_markMarkers'](_0x6e1b52,_0x34a8dc),_0x6e1b52=this['_joinTapes'](_0x6e1b52,_0x38cd26),this['_refreshStartEndIndex'](_0x6e1b52),this['_setDistance'](_0x6e1b52,'isRemoved');}_0x6e1b52=_0x6e1b52['filter'](_0x7d24ce=>!(_0x7d24ce['isAdded']&&_0x7d24ce['isRemoved']));const _0xfb329a=new Map(_0x107285['model'][_0x4f1eb8]['deletions']['markers']),_0x84119f=new Set(_0x34a8dc['keys']());for(const _0x958cae of _0xfb329a['keys']())_0x84119f['delete'](_0x958cae);this['_markSuggestions'](_0x6e1b52,_0x84119f),this['_fixObsoleteTags'](_0x6e1b52),_0x6e1b52=this['_removeMissingPairs'](_0x6e1b52),_0x6e1b52=this['_markMismatchedRemovedTags'](_0x6e1b52),_0x6e1b52=this['_removeUnsupportedChanges'](_0x6e1b52);const {root:_0x590413,changes:_0x28723d}=this['_makeModelFromTape'](_0x6e1b52,_0x375e48,_0x4f1eb8);_0x4d2c18['model'][_0x4f1eb8]=_0x590413;const _0x507501=_0x3861e3['get'](_0x4f1eb8);if(_0x507501){const _0x310850=_0x375e48['get'](_0x507501['userId']),_0x51cf1d=new r({'author':_0x310850,'type':_0x507501['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x4f1eb8});_0x28723d['unshift'](_0x51cf1d),_0x4d2c18['attributes'][_0x4f1eb8]['revisionHistoryAttachChange']=_0x51cf1d['id'];}_0x4d2c18['changes']=_0x4d2c18['changes']['concat'](_0x28723d);}return _0x4d2c18;}['_markMarkers'](_0x2f8f78,_0x2cff2c){for(let _0x2111b1=0x0;_0x2111b1<_0x2f8f78['length'];_0x2111b1++)for(const [_0x372660,_0x288b9b]of _0x2cff2c)_0x288b9b['start']['isEqual'](_0x2f8f78[_0x2111b1]['previousPosition'])&&_0x2f8f78[_0x2111b1]['markersStart']['push'](_0x372660),_0x288b9b['end']['isEqual'](_0x2f8f78[_0x2111b1]['nextPosition'])&&_0x2f8f78[_0x2111b1]['markersEnd']['push'](_0x372660);}['_joinTapes'](_0xc986ee,_0x313628){let _0x5825ff=[],_0x5abeca=0x0,_0x4f77a4=0x0;for(;_0x5abeca<_0xc986ee['length']||_0x4f77a4<_0x313628['length'];){const _0xf6fbd2=_0xc986ee[_0x5abeca]||{},_0x4242f1=_0x313628[_0x4f77a4]||{};if(_0xf6fbd2['id']==_0x4242f1['id'])_0x5abeca++,_0x4f77a4++,_0x5825ff['push'](_0xf6fbd2);else{if(_0x4242f1['isRemoved']&&_0xf6fbd2['isAdded']){const {commonTape:_0x514892,iEnd:_0x231c5b,jEnd:_0x5a0796}=this['_threeWayMerge'](_0xc986ee,_0x5abeca,_0x313628,_0x4f77a4);_0x5825ff=_0x5825ff['concat'](_0x514892),_0x5abeca=_0x231c5b,_0x4f77a4=_0x5a0796;}else _0x4242f1['isRemoved']?(_0x4f77a4++,_0x5825ff['push'](_0x4242f1)):(_0x5abeca++,_0x5825ff['push'](_0xf6fbd2));}}return _0x5825ff;}['_markSuggestions'](_0x9f5c0b,_0x5d0847){const _0x5881be=[];for(let _0x37c7f0=0x0;_0x37c7f0<_0x9f5c0b['length'];_0x37c7f0++){for(let _0x8d33cc=0x0;_0x8d33cc<_0x9f5c0b[_0x37c7f0]['markersStart']['length'];_0x8d33cc++){const _0x1bd087=_0x9f5c0b[_0x37c7f0]['markersStart'][_0x8d33cc];if(!_0x5d0847['has'](_0x1bd087))continue;const {group:_0x218544,type:_0x5d6afd,authorId:_0x556fcd}=_0xfc7906(_0x1bd087);'revision-suggestion'!=_0x218544||'insertion'!=_0x5d6afd&&'deletion'!=_0x5d6afd||(_0x5881be['unshift']({'type':_0x5d6afd,'name':_0x1bd087,'userId':_0x556fcd}),_0x9f5c0b[_0x37c7f0]['markersStart']['splice'](_0x8d33cc,0x1),_0x8d33cc--);}_0x107415(_0x9f5c0b[_0x37c7f0]);for(let _0xbe8a5d=0x0;_0xbe8a5d<_0x9f5c0b[_0x37c7f0]['markersEnd']['length'];_0xbe8a5d++){const _0x1738f7=_0x9f5c0b[_0x37c7f0]['markersEnd'][_0xbe8a5d];if(!_0x5d0847['has'](_0x1738f7))continue;const {group:_0x440925,type:_0x331f03}=_0xfc7906(_0x1738f7);if('revision-suggestion'!=_0x440925||'insertion'!=_0x331f03&&'deletion'!=_0x331f03)continue;_0x9f5c0b[_0x37c7f0]['markersEnd']['splice'](_0xbe8a5d,0x1),_0xbe8a5d--;const _0x310cb5=_0x5881be['findIndex'](_0xea0969=>_0xea0969['name']==_0x1738f7);_0x310cb5>-0x1&&_0x5881be['splice'](_0x310cb5,0x1);}}function _0xfc7906(_0x23a3ca){const _0x19f772=_0x23a3ca['split'](':');return{'group':_0x19f772[0x0],'type':_0x19f772[0x1],'subType':_0x19f772['length']>=0x5?_0x19f772[0x2]:null,'id':_0x19f772['length']<0x5?_0x19f772[0x2]:_0x19f772[0x3],'authorId':_0x19f772['length']<0x5?_0x19f772[0x3]:_0x19f772[0x4],'markerCount':0x6==_0x19f772['length']?_0x19f772[0x5]:null};}function _0x107415(_0x2b828a){for(let _0x160cb9=0x0;_0x160cb9<_0x5881be['length'];_0x160cb9++){if(_0x2b828a['isAdded']&&'insertion'==_0x5881be[_0x160cb9]['type'])return _0x2b828a['isAddSuggestion']=_0x5881be[_0x160cb9],void delete _0x2b828a['isAdded'];if(!_0x2b828a['isAdded']&&!_0x2b828a['isRemoved']&&'deletion'==_0x5881be[_0x160cb9]['type'])return void(_0x2b828a['isRemoveSuggestion']=_0x5881be[_0x160cb9]);}}}['_setDistance'](_0x18abc1,_0x4d947c){let _0x37a9e0=0x0,_0x406a8f=!0x1;const _0x11afb0=new Map();for(const _0x19980b of _0x18abc1)_0x19980b[_0x4d947c]?_0x406a8f&&(_0x37a9e0++,_0x406a8f=!0x1):(_0x37a9e0++,_0x406a8f=!0x0),_0x11afb0['set'](_0x19980b['id'],_0x37a9e0);for(let _0x460cac=0x0;_0x460cac<_0x18abc1['length'];_0x460cac++){if('isRemoved'==_0x4d947c&&_0x18abc1[_0x460cac]['isAdded']||'isAdded'==_0x4d947c&&_0x18abc1[_0x460cac]['isRemoved'])continue;if('text'==_0x18abc1[_0x460cac]['type']){_0x18abc1[_0x460cac]['distance']=0x0;continue;}const _0x6ed630=_0x11afb0['get'](_0x18abc1[_0x460cac]['pairId']),_0x39c0c3=_0x11afb0['get'](_0x18abc1[_0x460cac]['id']);_0x18abc1[_0x460cac]['distance']=_0x6ed630-_0x39c0c3;}}['_getRevisionsRange'](_0x2bb739,_0x3c8aa5,_0x2c3364=!0x1){const _0x5aa754=[];let _0x22b936=this['repository']['getIndex'](_0x2bb739),_0x229af2=this['repository']['getIndex'](_0x3c8aa5);for(-0x1==_0x229af2&&(_0x229af2=this['repository']['_revisions']['length'],_0x2c3364=!0x1);_0x22b936<_0x229af2;)_0x5aa754['push'](this['repository']['getRevision'](_0x22b936)),_0x22b936++;return _0x2c3364&&_0x5aa754['push'](this['repository']['getRevision'](_0x22b936)),_0x5aa754;}['_threeWayMerge'](_0x3fb431,_0x4ceebf,_0x5c4c4b,_0x2eaeed){const _0x5edcf2=this['editor']['model']['schema'];let _0x1960ce=_0x4ceebf;for(;_0x3fb431[_0x1960ce]&&_0x3fb431[_0x1960ce]['isAdded'];)_0x1960ce++;let _0x984210=_0x2eaeed;for(;_0x5c4c4b[_0x984210]&&_0x5c4c4b[_0x984210]['isRemoved'];)_0x984210++;_0x1166fe(_0x3fb431,_0x4ceebf,_0x1960ce),_0x1166fe(_0x5c4c4b,_0x2eaeed,_0x984210);const _0x2bc69c=_0x5c4c4b['slice'](_0x2eaeed,_0x984210)['concat'](_0x3fb431['slice'](_0x4ceebf,_0x1960ce));return _0x2bc69c['sort']((_0x192325,_0x3b4bb5)=>_0x192325['side']!=_0x3b4bb5['side']?_0x192325['side']-_0x3b4bb5['side']:_0x192325['level']!=_0x3b4bb5['level']?_0x192325['level']-_0x3b4bb5['level']:_0x192325['distance']!=_0x3b4bb5['distance']?_0x3b4bb5['distance']-_0x192325['distance']:!!_0x192325['isAdded']!=!!_0x3b4bb5['isAdded']?-0x1==_0x192325['side']||0x0==_0x192325['side']?_0x192325['isAdded']?-0x1:0x1:_0x192325['isAdded']?0x1:-0x1:_0x192325['index']-_0x3b4bb5['index']),{'commonTape':_0x2bc69c,'iEnd':_0x1960ce,'jEnd':_0x984210};function _0x1166fe(_0x1d6fc4,_0x5290fe,_0x52f380){let _0x523dc6=-0x1,_0x3dbd6c=Number['POSITIVE_INFINITY'],_0x119558=!0x0;for(let _0x34c832=_0x5290fe;_0x34c832<_0x52f380;_0x34c832++)if(_0x5edcf2['isInline'](_0x1d6fc4[_0x34c832]['item'])||(_0x119558=!0x1),_0x1d6fc4[_0x34c832]['item']['startIndex']<_0x5290fe&&(_0x523dc6=_0x34c832),_0x1d6fc4[_0x34c832]['item']['endIndex']>=_0x52f380){_0x3dbd6c=_0x34c832;break;}_0x119558&&(_0x523dc6=_0x52f380-0x1);for(let _0x2d1b66=_0x5290fe;_0x2d1b66<_0x52f380;_0x2d1b66++)_0x1d6fc4[_0x2d1b66]['side']=_0x2d1b66<=_0x523dc6?-0x1:_0x2d1b66<_0x3dbd6c?0x0:0x1,_0x1d6fc4[_0x2d1b66]['index']=_0x2d1b66;let _0x491e04=0x0;for(let _0x2088f0=_0x5290fe;_0x2088f0<=_0x523dc6;_0x2088f0++)0x0==_0x1d6fc4[_0x2088f0]['distance']?_0x1d6fc4[_0x2088f0]['level']=_0x491e04:(_0x491e04++,_0x1d6fc4[_0x2088f0]['level']=_0x491e04,_0x491e04++);for(let _0x5e6ddb=_0x5290fe;_0x5e6ddb<_0x52f380;_0x5e6ddb++)0x0==_0x1d6fc4[_0x5e6ddb]['side']&&(_0x1d6fc4[_0x5e6ddb]['level']=_0x491e04);_0x491e04=0x0;for(let _0x4e2a25=_0x52f380-0x1;_0x4e2a25>=_0x3dbd6c;_0x4e2a25--)0x0==_0x1d6fc4[_0x4e2a25]['distance']?_0x1d6fc4[_0x4e2a25]['level']=_0x491e04:(_0x491e04--,_0x1d6fc4[_0x4e2a25]['level']=_0x491e04,_0x491e04--);}}['_fixObsoleteTags'](_0x385438){const _0xeaa7df=new Map(),_0x5bd201=this['editor']['model']['schema'];for(let _0x1df6b7=0x1;_0x1df6b7<_0x385438['length'];_0x1df6b7++){let _0x30c5fe,_0x4a1558,_0x5573bd;const _0x2d9363=_0x385438[_0x1df6b7],_0x1407f7=_0x385438[_0x1df6b7-0x1];if('text'==_0x2d9363['type'])continue;if(_0x2d9363['type']!=_0x1407f7['type'])continue;if(!_0x5bd201['isBlock'](_0x1407f7['item'])||_0x5bd201['isLimit'](_0x1407f7['item']))continue;if(!_0x5bd201['isBlock'](_0x2d9363['item'])||_0x5bd201['isLimit'](_0x2d9363['item']))continue;if((_0x385438[_0x1df6b7]['isAdded']||_0x385438[_0x1df6b7]['isAddSuggestion'])&&_0x385438[_0x1df6b7-0x1]['isRemoved'])_0x30c5fe=_0x385438[_0x1df6b7],_0x4a1558=_0x385438[_0x1df6b7-0x1],_0x5573bd=_0x1df6b7-0x1;else{if(!_0x385438[_0x1df6b7]['isRemoved']||!_0x385438[_0x1df6b7-0x1]['isAdded']&&!_0x385438[_0x1df6b7-0x1]['isAddSuggestion'])continue;_0x30c5fe=_0x385438[_0x1df6b7-0x1],_0x4a1558=_0x385438[_0x1df6b7],_0x5573bd=_0x1df6b7;}const _0x369e76=_0x30c5fe['level']==_0x4a1558['level'],_0x8dc69e=Math['abs'](_0x30c5fe['level'])<Math['abs'](_0x4a1558['level'])&&0x0==_0x4a1558['distance'];(_0x369e76||_0x8dc69e)&&(_0xeaa7df['set'](_0x4a1558['id'],_0x30c5fe['id']),_0x385438['splice'](_0x5573bd,0x1),_0x1df6b7--,_0x30c5fe['isAdded']=!0x1);}for(let _0x1e49cc=0x0;_0x1e49cc<_0x385438['length'];_0x1e49cc++)_0xeaa7df['has'](_0x385438[_0x1e49cc]['pairId'])&&(_0x385438[_0x1e49cc]['pairId']=_0xeaa7df['get'](_0x385438[_0x1e49cc]['pairId']));}['_removeMissingPairs'](_0x389c02){const _0x57e297=new Set(_0x389c02['map'](_0x1e7a4c=>_0x1e7a4c['id']));for(let _0x525188=0x0;_0x525188<_0x389c02['length'];_0x525188++)_0x57e297['has'](_0x389c02[_0x525188]['pairId'])||0x0==_0x389c02[_0x525188]['distance']||(_0x389c02[_0x525188]['isIncorrect']=!0x0);return _0x389c02['filter'](_0x2af9d5=>!_0x2af9d5['isIncorrect']);}['_markMismatchedRemovedTags'](_0x26fcc2){const _0xe6d73d=new Set();for(let _0x1f169e=0x0;_0x1f169e<_0x26fcc2['length'];_0x1f169e++){if(_0xe6d73d['has'](_0x26fcc2[_0x1f169e]['id'])&&_0x26fcc2[_0x1f169e]['isRemoved']&&(_0x26fcc2[_0x1f169e]['isIncorrect']=!0x0),_0x26fcc2[_0x1f169e]['isIncorrect'])continue;if(0x0==_0x26fcc2[_0x1f169e]['distance'])continue;if('elementStart'!=_0x26fcc2[_0x1f169e]['type'])continue;if(null==_0x26fcc2[_0x1f169e]['pairId'])continue;let _0x567c3a=_0x1f169e+0x1,_0x5bda51=0x0;for(;_0x26fcc2[_0x567c3a]['id']!=_0x26fcc2[_0x1f169e]['pairId'];)'elementStart'==_0x26fcc2[_0x567c3a]['type']?_0x5bda51++:'elementEnd'==_0x26fcc2[_0x567c3a]['type']&&_0x5bda51--,_0x567c3a++;if(0x0!=_0x5bda51){if(_0x26fcc2[_0x1f169e]['isRemoved'])_0x26fcc2[_0x1f169e]['isIncorrect']=!0x0;else{for(;_0x567c3a!=_0x1f169e;)_0x26fcc2[_0x567c3a]['isRemoved']&&0x0!=_0x26fcc2[_0x567c3a]['distance']&&(_0x26fcc2[_0x567c3a]['isIncorrect']=!0x0,_0xe6d73d['add'](_0x26fcc2[_0x567c3a]['pairId'])),_0x567c3a--;}}}return _0x26fcc2['filter'](_0x1cab79=>!_0x1cab79['isIncorrect']);}['_removeUnsupportedChanges'](_0x3adcd7){const _0x240720=this['editor']['model']['schema'];for(let _0x2d33c6=0x0;_0x2d33c6<_0x3adcd7['length'];_0x2d33c6++){if(!(_0x3adcd7[_0x2d33c6]['isAdded']||_0x3adcd7[_0x2d33c6]['isAddSuggestion']||_0x3adcd7[_0x2d33c6]['isRemoved']||_0x3adcd7[_0x2d33c6]['isRemoveSuggestion']))continue;if(0x0==_0x3adcd7[_0x2d33c6]['distance'])continue;const _0x2bdf4e=_0x3adcd7[_0x2d33c6]['item'];_0x240720['isBlock'](_0x2bdf4e)||_0x240720['isLimit'](_0x2bdf4e)||(_0x3adcd7[_0x2d33c6]['isAdded']&&delete _0x3adcd7[_0x2d33c6]['isAdded'],_0x3adcd7[_0x2d33c6]['isAddSuggestion']&&delete _0x3adcd7[_0x2d33c6]['isAddSuggestion'],_0x3adcd7[_0x2d33c6]['isRemoveSuggestion']&&delete _0x3adcd7[_0x2d33c6]['isRemoveSuggestion'],_0x3adcd7[_0x2d33c6]['isRemoved']&&(_0x3adcd7[_0x2d33c6]['isIncorrect']=!0x0));}return _0x3adcd7['filter'](_0x4128e3=>!_0x4128e3['isIncorrect']);}['_makeModelFromTape'](_0x522390,_0x5c2905,_0x3e682b){const _0x27481a=new wt(),_0xd6b557=[],_0x42cf12=new Map(),_0x4be8bd=this['editor']['model'],_0x662bb3=_0x4be8bd['schema'],_0xea92ff=[_0x27481a],_0x4f86e8={},_0x26da4e={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x1b5897=null;const _0x3e4074=[0x0];for(let _0xddf2a4=0x0;_0xddf2a4<_0x522390['length'];_0xddf2a4++){let _0x4ac6a2,_0x1c9c10;if('elementStart'===_0x522390[_0xddf2a4]['type']){_0x4ac6a2=_0x4be8bd['createPositionFromPath'](_0x27481a,_0x3e4074);const _0x3d2e73=new ft(_0x522390[_0xddf2a4]['item']['name'],_0x522390[_0xddf2a4]['item']['getAttributes']());_0xea92ff[0x0]['_appendChild'](_0x3d2e73),_0x3e4074['push'](0x0),_0xea92ff['unshift'](_0x3d2e73),_0x1c9c10=_0x4be8bd['createPositionFromPath'](_0x27481a,_0x3e4074),_0x1b5897=null;}else{if('elementEnd'===_0x522390[_0xddf2a4]['type'])_0xea92ff['shift'](),_0x4ac6a2=_0x4be8bd['createPositionFromPath'](_0x27481a,_0x3e4074),_0x3e4074['pop'](),_0x3e4074[_0x3e4074['length']-0x1]++,_0x1c9c10=_0x4be8bd['createPositionFromPath'](_0x27481a,_0x3e4074),_0x1b5897=null;else{if(_0x4ac6a2=_0x4be8bd['createPositionFromPath'](_0x27481a,_0x3e4074),_0x1b5897&&_0x4b3b9d(_0x1b5897,_0x522390[_0xddf2a4]['item']))_0x1b5897['_data']+=_0x522390[_0xddf2a4]['item']['data'];else{const _0x38ec2a=new _t(_0x522390[_0xddf2a4]['item']['data'],_0x522390[_0xddf2a4]['item']['getAttributes']());_0xea92ff[0x0]['_appendChild'](_0x38ec2a),_0x1b5897=_0x38ec2a;}_0x3e4074[_0x3e4074['length']-0x1]+=_0x522390[_0xddf2a4]['item']['offsetSize'],_0x1c9c10=_0x4be8bd['createPositionFromPath'](_0x27481a,_0x3e4074);}}for(const _0x412fce of _0x522390[_0xddf2a4]['markersStart'])_0x42cf12['set'](_0x412fce,{'start':_0x4ac6a2,'end':null});_0x556d5d('isRemoveSuggestion',_0xddf2a4,_0x4ac6a2,_0x1c9c10),_0x556d5d('isAddSuggestion',_0xddf2a4,_0x4ac6a2,_0x1c9c10),_0x556d5d('isRemoved',_0xddf2a4,_0x4ac6a2,_0x1c9c10),_0x556d5d('isAdded',_0xddf2a4,_0x4ac6a2,_0x1c9c10);for(const _0x5d47ee of _0x522390[_0xddf2a4]['markersEnd']){_0x42cf12['get'](_0x5d47ee)['end']=_0x1c9c10;}}for(const [_0x540b6b,_0x208b74]of _0x42cf12){const _0x39743b=this['editor']['model']['createRange'](_0x208b74['start'],_0x208b74['end']);_0x27481a['markers']['set'](_0x540b6b,_0x39743b);}return _0xd6b557['sort']((_0x26e44f,_0x47da82)=>{const _0x3f0e29=_0x27481a['markers']['get']('revision:'+_0x26e44f['id']),_0xe593e8=_0x27481a['markers']['get']('revision:'+_0x47da82['id']);return _0x3f0e29['start']['isBefore'](_0xe593e8['start'])?-0x1:_0x3f0e29['start']['isAfter'](_0xe593e8['start'])?0x1:_0x3f0e29['end']['isBefore'](_0xe593e8['end'])?-0x1:_0x3f0e29['end']['isAfter'](_0xe593e8['end'])?0x1:'add'===_0x26e44f['type']?-0x1:0x1;}),{'root':_0x27481a,'changes':_0xd6b557};function _0x556d5d(_0x3f0b3b,_0x36ef12,_0x9c1421,_0x5aeb48){const _0x57aa66=!!_0x522390[_0x36ef12][_0x3f0b3b],_0x24462f=_0x57aa66?_0x522390[_0x36ef12][_0x3f0b3b]['userId']:null,_0x48e49f=_0x36ef12===_0x522390['length']-0x1,_0x4574f5=_0x26da4e[_0x3f0b3b][0x0],_0x1cea43=_0x662bb3['isObject'](_0x522390[_0x36ef12]['item']);!_0x4f86e8[_0x3f0b3b]&&_0x57aa66?_0x4f86e8[_0x3f0b3b]={'start':_0x9c1421,'tapeItem':_0x522390[_0x36ef12],'userId':_0x24462f,'type':_0x3f0b3b}:_0x4f86e8[_0x3f0b3b]&&!_0x57aa66?(_0x4f86e8[_0x3f0b3b]['end']=_0x9c1421,_0x472793(_0x4f86e8[_0x3f0b3b]),_0x4f86e8[_0x3f0b3b]=null):_0x4f86e8[_0x3f0b3b]&&_0x57aa66&&_0x4f86e8[_0x3f0b3b]['userId']!==_0x24462f&&(_0x4f86e8[_0x3f0b3b]['end']=_0x9c1421,_0x4574f5&&_0x4574f5['userId']===_0x4f86e8[_0x3f0b3b]['userId']||_0x472793(_0x4f86e8[_0x3f0b3b]),_0x4f86e8[_0x3f0b3b]={'start':_0x9c1421,'tapeItem':_0x522390[_0x36ef12],'userId':_0x24462f,'type':_0x3f0b3b}),_0x4f86e8[_0x3f0b3b]&&_0x1cea43&&('elementStart'!==_0x522390[_0x36ef12]['type']||_0x4574f5&&_0x4574f5['userId']===_0x24462f||_0x26da4e[_0x3f0b3b]['unshift']({'userId':_0x24462f,'object':_0x522390[_0x36ef12]['item'],'change':_0x4f86e8[_0x3f0b3b]}),'elementEnd'===_0x522390[_0x36ef12]['type']&&_0x4574f5&&_0x4574f5['object']===_0x522390[_0x36ef12]['item']&&(_0x26da4e[_0x3f0b3b]['shift'](),_0x4f86e8[_0x3f0b3b]=_0x4574f5['change'])),_0x4f86e8[_0x3f0b3b]&&_0x48e49f&&(_0x4f86e8[_0x3f0b3b]['end']=_0x5aeb48,_0x472793(_0x4f86e8[_0x3f0b3b]),_0x4f86e8[_0x3f0b3b]=null);}function _0x472793({start:_0x3c37ef,end:_0x38b8e4,tapeItem:_0x42d9a6,userId:_0x50825f,type:_0x177a79}){const _0x30ff4a=_0x42d9a6['item'],_0x23d2d2=_0x4be8bd['schema']['isBlock'](_0x30ff4a)&&!_0x4be8bd['schema']['isLimit'](_0x30ff4a),_0x820180=_0x3c37ef['nodeAfter']==_0x38b8e4['parent']&&_0x38b8e4['isAtStart'];if(_0x23d2d2&&_0x820180)return;const _0x214769=_0x4be8bd['createRange'](_0x3c37ef,_0x38b8e4),_0x41fca4=_0x5c2905['get'](_0x50825f),_0x12be4e=new r({'author':_0x41fca4,'type':'isAdded'==_0x177a79||'isAddSuggestion'==_0x177a79?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x177a79||'isRemoveSuggestion'==_0x177a79},'createdAt':new Date(),'rootName':_0x3e682b});_0xd6b557['push'](_0x12be4e),_0x27481a['markers']['set']('revision:'+_0x12be4e['id'],_0x214769);}function _0x4b3b9d(_0xbc6531,_0x4cbf44){const _0x196131=_0xbc6531['getAttributes'](),_0x3c4270=_0x4cbf44['getAttributes']();for(const _0x2fdb60 of _0x196131){if(_0x2fdb60[0x1]!==_0x4cbf44['getAttribute'](_0x2fdb60[0x0]))return!0x1;_0x3c4270['next']();}return _0x3c4270['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x245013=>{const _0x1712c0=_0x245013['markerName']['split'](':')[0x1],_0x5389c6=this['_getChangeFromId'](_0x1712c0);if(!_0x5389c6)return null;const _0x14a3a0='add'==_0x5389c6['type']?'insertion':'deletion',_0x553d71=['ck-suggestion-marker','ck-suggestion-marker-'+_0x14a3a0];return _0x5389c6['data']['isSuggestion']&&_0x553d71['push']('ck-suggestion-marker-'+_0x14a3a0+'-new'),this['activeChange']==_0x5389c6&&_0x553d71['push']('ck-suggestion-marker--active'),{'classes':_0x553d71,'attributes':{'data-change-id':_0x1712c0}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x1eb73f=>{_0x1eb73f['on']('element:pre',(_0x20d69e,_0x273a26,_0x14fb09)=>{const _0x1f499e=_0x273a26['viewItem']['getChild'](0x0);if(!_0x1f499e||!_0x1f499e['is']('element','code'))return;if(!_0x14fb09['consumable']['consume'](_0x1f499e,{'attributes':['vid_start','vid_end']}))return;const _0x184121=_0x273a26['modelRange']['start']['nodeAfter'];_0x14fb09['writer']['setAttribute']('vid_start',_0x1f499e['getAttribute']('vid_start'),_0x184121),_0x14fb09['writer']['setAttribute']('vid_end',_0x1f499e['getAttribute']('vid_end'),_0x184121);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x19214a=>{_0x19214a['on']('element',(_0x24bd95,_0x259b99,_0x3d137e)=>{if(!_0x3d137e['consumable']['consume'](_0x259b99['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x259b99['modelRange']['isCollapsed'])return;const _0x3bf394=_0x259b99['modelRange']['start']['nodeAfter'];_0x3bf394['hasAttribute']('vid_start')||_0x3bf394['hasAttribute']('vid')||(_0x3d137e['writer']['setAttribute']('vid_start',_0x259b99['viewItem']['getAttribute']('vid_start'),_0x3bf394),_0x3d137e['writer']['setAttribute']('vid_end',_0x259b99['viewItem']['getAttribute']('vid_end'),_0x3bf394));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x3bcccf=>_0x3bcccf['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x2b9d26,[,_0x4e8eef])=>{['vid_start','vid_end','vid']['includes'](_0x4e8eef)&&(_0x2b9d26['return']=!0x0,_0x2b9d26['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x502ed5=>{_0x502ed5['on']('attribute:vid',(_0x33bd3c,_0x2069a5,_0x3d7b5a)=>{if('\x20'!=_0x2069a5['item']['data']||_0x2069a5['item']['parent']['maxOffset']>0x1)return;if(!_0x3d7b5a['consumable']['consume'](_0x2069a5['item'],_0x33bd3c['name']))return;const _0x3591b9=_0x3d7b5a['writer'],_0x193391=_0x3d7b5a['mapper']['toViewRange'](_0x2069a5['range']);_0x3591b9['wrap'](_0x193391,_0x3591b9['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x44c615){const _0xdb871a=_0x44c615['plugins']['get']('RevisionViewer');return(_0x1bc85d,_0x1bc475,_0x43b21f)=>{const _0x1f39cc=_0x1bc475['markerName']['split'](':')[0x1],_0x1674d3=_0xdb871a['_getChangeFromId'](_0x1f39cc);if(!_0x1674d3)return null;const _0x2b0b5d='add'==_0x1674d3['type']?'split':'merge';if(!_0x43b21f['consumable']['test'](_0x1bc475['markerRange'],_0x1bc85d['name']))return;const _0x2e39ee=_0x1bc475['markerRange']['getWalker'](),_0x2b6f01=_0x1bc475['markerRange']['start'],_0xc0b4cc=_0x44c615['model']['schema'];let _0x2c072a=null,_0x4f1f03=null,_0x251af6=!0x1,_0x4a8162=!0x1;for(const _0x5c388d of _0x2e39ee){const _0x4162b9=_0x5c388d['item'];_0x251af6=_0x251af6||_0xc0b4cc['isContent'](_0x4162b9);const _0x25ca50=_0x43b21f['mapper']['toViewElement'](_0x4162b9);if(_0x25ca50&&_0x25ca50['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5c388d['type']&&(_0xc0b4cc['isBlock'](_0x4162b9)&&!_0xc0b4cc['isLimit'](_0x4162b9)&&(_0x4162b9['nextSibling']||_0x2b6f01['isAtEnd']?_0x2c072a&&_0x2c072a['parent']==_0x4162b9||(_0x2c072a=_0x4162b9,_0x3564b8(_0x5c388d['previousPosition']),_0x4a8162=!0x0):_0x4f1f03=_0x4f1f03||_0x5c388d['previousPosition']));}function _0x3564b8(_0x4a61e1){const _0x3b6f47=_0x43b21f['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2b0b5d}),_0x307863=_0x43b21f['mapper']['toViewPosition'](_0x4a61e1);_0x1674d3['data']['isSuggestion']&&_0x43b21f['writer']['addClass']('ck-suggestion-marker-'+_0x2b0b5d+'-new',_0x3b6f47),_0xdb871a['activeChange']==_0x1674d3&&_0x43b21f['writer']['addClass']('ck-suggestion-marker--active',_0x3b6f47),_0x43b21f['writer']['insert'](_0x307863,_0x3b6f47),_0x43b21f['mapper']['bindElementToMarker'](_0x3b6f47,_0x1bc475['markerName']);}_0x251af6||_0x4a8162||!_0x4f1f03||_0x3564b8(_0x4f1f03);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x2ab230,_0x715f32,_0x53d065)=>{const _0x3c3560=_0x53d065['mapper']['markerNameToElements'](_0x715f32['markerName']);if(_0x3c3560){for(const _0x56e55a of _0x3c3560)(_0x56e55a['hasClass']('ck-suggestion-marker-split')||_0x56e55a['hasClass']('ck-suggestion-marker-merge'))&&(_0x53d065['mapper']['unbindElementFromMarkerName'](_0x56e55a,_0x715f32['markerName']),_0x53d065['writer']['remove'](_0x56e55a));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x571743,_0x134a05,_0x587755)=>{const _0x4003d6=_0x134a05['markerName']['split'](':')[0x1],_0x12b3d1=this['_getChangeFromId'](_0x4003d6);if(!_0x12b3d1)return null;const _0x4f06e9='add'==_0x12b3d1['type']?'split':'merge';if(_0x587755['consumable']['test'](_0x134a05['markerRange'],_0x571743['name']))for(const _0x32fb03 of _0x134a05['markerRange']['getItems']()){if(!_0x32fb03['is']('element','softBreak'))continue;const _0x2b52e4=_0x587755['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4f06e9}),_0x2583e0=_0x587755['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x32fb03));_0x12b3d1['data']['isSuggestion']&&_0x587755['writer']['addClass']('ck-suggestion-marker-'+_0x4f06e9+'-new',_0x2b52e4),this['activeChange']==_0x12b3d1&&_0x587755['writer']['addClass']('ck-suggestion-marker--active',_0x2b52e4),_0x587755['writer']['insert'](_0x2583e0,_0x2b52e4),_0x587755['mapper']['bindElementToMarker'](_0x2b52e4,_0x134a05['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0xa2fa84=>{for(const _0x335607 of this['editor']['model']['document']['getRootNames']()){const _0x4188fa=this['editor']['model']['document']['getRoot'](_0x335607),_0x5ccdab=this['editor']['editing']['view']['document']['getRoot'](_0x335607);if(_0x5ccdab){const _0xbd46a8=_0x4188fa['getAttribute']('revisionHistoryAttachChange');if(_0xa2fa84['removeAttribute']('data-change-id',_0x5ccdab),_0xa2fa84['removeClass']('ck-revision-history-root-add',_0x5ccdab),_0xa2fa84['removeClass']('ck-revision-history-root-remove',_0x5ccdab),_0xa2fa84['removeClass']('ck-revision-history-root--active',_0x5ccdab),_0xbd46a8){const _0x4ca6b8=this['_getChangeFromId'](_0xbd46a8);if(!_0x4ca6b8)return null;_0xa2fa84['setAttribute']('data-change-id',_0xbd46a8,_0x5ccdab),_0xa2fa84['addClass']('ck-revision-history-root-'+_0x4ca6b8['type'],_0x5ccdab),this['activeChange']==_0x4ca6b8&&_0xa2fa84['addClass']('ck-revision-history-root--active',_0x5ccdab);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x1c5a32=>'revision-comment:'+_0x1c5a32,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x250aaa=>'revision-suggestion:'+_0x250aaa,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x101844=>({'name':'suggestion:'+_0x101844,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x21f0e=>{const _0x54183a=_0x21f0e['markerName']['split'](':')[0x1];return'insertion'!=_0x54183a&&'deletion'!=_0x54183a?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x54183a]};}}),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',(_0x764ccb,_0x173fc9,_0xecccb6)=>{const _0x427027=_0xecccb6['mapper']['markerNameToElements'](_0x173fc9['markerName']);if(_0x427027){for(const _0x4c58d6 of _0x427027)_0x4c58d6['is']('uiElement')&&(_0xecccb6['mapper']['unbindElementFromMarkerName'](_0x4c58d6,_0x173fc9['markerName']),_0xecccb6['writer']['remove'](_0x4c58d6));}},{'priority':'high'});}['_getChangeFromId'](_0x3919f8){return this['_changeIdToChange']['get'](_0x3919f8);}['_getViewForChange'](_0x582b34){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x582b34),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x263d3e,_0x433b8b,_0x17c1e0,_0x5dc455)=>{_0x5dc455&&this['_balloon']['remove'](_0x5dc455),_0x17c1e0&&(this['_balloon']['add']({'view':_0x17c1e0,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x17d44c=this['editor']['editing'],_0x599bb1=this['_getChangeFromId'](_0x17c1e0['changeId']);let _0x157e6b;if(_0x599bb1['data']['isOnRoot']){const _0x458c45=_0x17d44c['view']['getDomRoot'](_0x599bb1['rootName']);_0x157e6b=Array['from'](_0x458c45['getClientRects']());}else{const _0x2080e1=this['editor']['model']['markers']['get']('revision:'+_0x17c1e0['changeId']);_0x157e6b=Array['from'](_0x17d44c['mapper']['markerNameToElements'](_0x2080e1['name']))['map'](_0x379c53=>_0x17d44c['view']['domConverter']['mapViewToDom'](_0x379c53))['map'](_0x31277d=>Array['from'](_0x31277d['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x157e6b[0x0];return _0x157e6b['find'](_0x76fd6=>_0x76fd6['top']-0x3<=this['_activeViewTarget']['y']&&_0x76fd6['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x76fd6['left']-0x3<=this['_activeViewTarget']['x']&&_0x76fd6['right']+0x3>=this['_activeViewTarget']['x'])||_0x157e6b[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x25bf9a,_0x19033f,_0xb881ed,_0x4cc34f)=>{this['activeView']=_0xb881ed?this['_getViewForChange'](_0xb881ed):null,this['editor']['model']['change'](()=>{const _0x16942e=this['editor']['editing'];_0x4cc34f&&(_0x4cc34f['data']['isOnRoot']?_0x16942e['view']['change'](_0x581c74=>{_0x581c74['removeClass']('ck-revision-history-root--active',_0x16942e['view']['document']['getRoot'](_0x4cc34f['rootName']));}):_0x16942e['reconvertMarker']('revision:'+_0x4cc34f['id'])),_0xb881ed&&(_0xb881ed['data']['isOnRoot']?_0x16942e['view']['change'](_0x447211=>{_0x447211['addClass']('ck-revision-history-root--active',_0x16942e['view']['document']['getRoot'](_0xb881ed['rootName']));}):_0x16942e['reconvertMarker']('revision:'+_0xb881ed['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0xefba02,_0x30bdb2)=>{if(this['activeChange'])return;const _0x43650e=this['_findChangeIdFromDomTarget'](_0x30bdb2['target']),_0x479653=this['_changeIdToChange']['get'](_0x43650e);_0x479653?(this['_activeViewTarget']={'x':_0x30bdb2['domEvent']['x'],'y':_0x30bdb2['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x479653)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x302c15,_0x57aa92)=>{const _0x539fff=this['_findChangeIdFromDomTarget'](_0x57aa92['target']),_0x28a2bd=this['_changeIdToChange']['get'](_0x539fff);_0x28a2bd?(this['_activeViewTarget']={'x':_0x57aa92['domEvent']['x'],'y':_0x57aa92['domEvent']['y']},_0x28a2bd===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x28a2bd):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x225dc2){do{const _0x3d396b=_0x225dc2['getAttribute']('data-change-id');if(_0x3d396b)return _0x3d396b;_0x225dc2=_0x225dc2['parent'];}while(_0x225dc2);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x437266=>{for(const _0x2df22e of this['editor']['model']['markers'])_0x437266['removeMarker'](_0x2df22e);});}}function et(_0x2b1c1a,_0x4b2ab3){return(_0x551c3a,_0x148dad,_0x27edcc)=>{if(!_0x27edcc['consumable']['test'](_0x148dad['markerRange'],_0x551c3a['name']))return;const _0x256f7b=_0x148dad['markerRange']['getWalker'](),_0x20457b=_0x148dad['markerRange']['start'],_0x75aa1b=_0x2b1c1a['model']['schema'];let _0x5c484c=null,_0x2e7f4e=null,_0x1699ef=!0x1,_0x4da692=!0x1;for(const _0x4fb844 of _0x256f7b){const _0xf003c9=_0x4fb844['item'];_0x1699ef=_0x1699ef||_0x75aa1b['isContent'](_0xf003c9);const _0x59fca2=_0x27edcc['mapper']['toViewElement'](_0xf003c9);if(_0x59fca2&&_0x59fca2['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4fb844['type']&&(_0x75aa1b['isBlock'](_0xf003c9)&&!_0x75aa1b['isLimit'](_0xf003c9)&&(_0xf003c9['nextSibling']||_0x20457b['isAtEnd']?_0x5c484c&&_0x5c484c['parent']==_0xf003c9||(_0x5c484c=_0xf003c9,_0x3549c0(_0x4fb844['previousPosition']),_0x4da692=!0x0):_0x2e7f4e=_0x2e7f4e||_0x4fb844['previousPosition']));}function _0x3549c0(_0x33a5fe){const _0x5968c5=_0x27edcc['mapper']['toViewPosition'](_0x33a5fe),_0x3d371d=_0x27edcc['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x4b2ab3});_0x27edcc['writer']['insert'](_0x5968c5,_0x3d371d),_0x27edcc['mapper']['bindElementToMarker'](_0x3d371d,_0x148dad['markerName']);}_0x1699ef||_0x4da692||!_0x2e7f4e||_0x3549c0(_0x2e7f4e);};}class bt extends _0x28c5da{constructor(_0xb6eeef){super(_0xb6eeef);const _0x3eadff=_0xb6eeef['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x3eadff,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x3eadff,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0xab06d7=this['editor'],_0x25a971=_0xab06d7['plugins']['get'](d),_0x4f95d0=_0x25a971['isReady']?_0x25a971['diff']['newRevisionId']:null;_0xab06d7['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x4f95d0);}['refresh'](){const {isReady:_0x3000c6,isEnabled:_0x103e6a}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x3000c6&&_0x103e6a;}}class yt extends _0x28c5da{['_step'];constructor(_0x16547e,{direction:_0x3c3a7d}){super(_0x16547e);const _0x4b0265=_0x16547e['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x3c3a7d?0x1:-0x1,this['listenTo'](_0x4b0265,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x4b0265,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x4b0265,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x41d033=this['editor'],_0x60e5f6=_0x41d033['plugins']['get'](d),{isNavigationMode:_0x5481c1,currentChangeNumber:_0x32a744}=_0x60e5f6;let _0x3b3191;if(_0x60e5f6['activeChange']=_0x5481c1?_0x60e5f6['diff']['changes']['get'](_0x32a744+this['_step']):_0x60e5f6['diff']['changes']['first'],_0x60e5f6['activeChange']['data']['isOnRoot'])_0x3b3191=_0x41d033['editing']['view']['getDomRoot'](_0x60e5f6['activeChange']['rootName']);else{const _0xff57e0=_0x41d033['model']['markers']['get']('revision:'+_0x60e5f6['activeChange']['id']);_0x3b3191=_0x56146d(_0x41d033['editing'],_0xff57e0);}_0x62afe6({'target':_0x3b3191,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x599e8d,currentChangeNumber:_0x3966ab,numberOfChanges:_0xc1b483,isReady:_0x24371d,isEnabled:_0x16aef4}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x16aef4&&_0x24371d&&_0xc1b483)&&(!_0x599e8d||(0x1===this['_step']?_0x3966ab<_0xc1b483-0x1:_0x3966ab>0x0));}}class _i extends _0x5ec719{constructor(_0x25ffbd){super(_0x25ffbd);const _0x14a37f=this['bindTemplate'],_0x2b9637=new _0x43d9e8(_0x25ffbd),_0x1380c6=new _0x43d9e8(_0x25ffbd);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',(_0x4fca75,_0x2d782e)=>_0x4fca75&&_0x2d782e>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x1a777a,_0x3c912a,_0x8c01d,_0x521a38)=>{if(!_0x1a777a)return y(_0x25ffbd,'Loading...');if(!_0x8c01d)return y(_0x25ffbd,'No\x20changes');const _0x458abe=y(_0x25ffbd,'NUMBER_OF_CHANGES',_0x8c01d);return _0x521a38?y(_0x25ffbd,'X_OF_Y_CHANGES',[_0x3c912a+0x1,_0x8c01d]):_0x458abe;}),_0x2b9637['set']({'label':y(_0x25ffbd,'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'}),_0x1380c6['set']({'label':y(_0x25ffbd,'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'}),_0x2b9637['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x1380c6['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x2b9637['on']('execute',()=>this['fire']('execute','backward')),_0x1380c6['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',_0x14a37f['if']('_isStatusLabelVisible','ck-hidden',_0x1e41aa=>!_0x1e41aa)]},'children':[{'text':_0x14a37f['to']('isNavigationMode',_0x290924=>_0x290924?y(_0x25ffbd,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x25ffbd,'Total')+':\x20')}]},{'text':_0x14a37f['to']('_statusText')}]},new _0x434311(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x2b9637,_0x1380c6]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x5237db{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x3d208d=this['editor']['editing']['view'];_0x3d208d['change'](_0x27d351=>{for(const _0x56a6b6 of _0x3d208d['document']['roots'])_0x27d351['addClass'](ce,_0x56a6b6);});}['hide'](){const _0x2600db=this['editor']['editing']['view'];_0x2600db['change'](_0x334dce=>{for(const _0xb47c8 of _0x2600db['document']['roots'])_0x334dce['removeClass'](ce,_0xb47c8);});}}class R extends _0x5237db{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x2bffa2=this['editor'],_0xb9861a=_0x2bffa2['plugins']['get'](d),_0x2f1fd7=_0x2bffa2['plugins']['get'](de);_0x2bffa2['ui']['componentFactory']['add']('exitToEditing',_0x8a740a=>{const _0x305c22=new _0x43d9e8(_0x8a740a);return _0x305c22['set']({'label':y(_0x8a740a,'Back\x20to\x20editing'),'icon':_0x1a1335['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x305c22,'execute',()=>{_0x2bffa2['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x305c22;}),_0x2bffa2['ui']['componentFactory']['add']('restoreRevision',_0x49f52a=>{const _0x36040e=new _0x43d9e8(_0x49f52a);return _0x36040e['set']({'label':y(_0x49f52a,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x36040e['bind']('isEnabled')['to'](_0x2bffa2['commands']['get']('restoreRevision')),this['listenTo'](_0x36040e,'execute',()=>_0x2bffa2['execute']('restoreRevision')),_0x36040e;}),_0x2bffa2['ui']['componentFactory']['add']('changesNavigation',_0x1d97be=>{const _0x4968cd=new _i(_0x1d97be),_0xa0eb86=_0x2bffa2['commands']['get']('showPreviousChange'),_0x5b00a6=_0x2bffa2['commands']['get']('showNextChange');return _0x4968cd['bind']('isBackwardNavigationEnabled')['to'](_0xa0eb86,'isEnabled'),_0x4968cd['bind']('isForwardNavigationEnabled')['to'](_0x5b00a6,'isEnabled'),_0x4968cd['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0xb9861a),this['listenTo'](_0x4968cd,'execute',(_0x870f58,_0xc9784e)=>{_0x2bffa2['execute']('forward'===_0xc9784e?'showNextChange':'showPreviousChange');}),_0x4968cd;}),_0x2f1fd7['show'](),_0xb9861a['on']('change:isReady',(_0x49cb90,_0x195b91,_0x3d714f)=>{_0x3d714f?_0x2f1fd7['hide']():_0x2f1fd7['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x3b9b2a,_0x2fcba9){super(_0x3b9b2a,_0x2fcba9);const _0x4d4b16=this['bindTemplate'];this['set']({'label':y(_0x3b9b2a,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x3b9b2a,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x4d4b16['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 _0x8d2ced=this['fieldView']['element'];this['_tooltipString']=_0x8d2ced['scrollWidth']>_0x8d2ced['clientWidth']&&_0x8d2ced['value']||'';}}class ti extends _0x5ec719{constructor(_0x1261e3,_0x3806b2,_0x13911a){super(_0x1261e3);const _0x38f8d2=new _0x563b37();_0x38f8d2['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 _0x1d7b40=['ck','ck-revision-history-sidebar__revision-author'];_0x13911a&&_0x1d7b40['push']('ck-revision-history-sidebar__revision-author_creator');const _0x34c3cc=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x1261e3,_0x13911a?'Revision\x20creator':'Revision\x20author')},'children':[_0x38f8d2,_0x3806b2['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x1d7b40},'children':_0x34c3cc});}}function ni(_0x304e6b,_0x228d31){const _0x2e6c7f=_0x304e6b['bindTemplate'],_0x32bdc3=_0x304e6b['locale'],_0xdfb01=_0xc5c0ce(_0x32bdc3);_0xdfb01['panelPosition']='sw';const _0x2fff1d=function(_0x1dc950,_0x26149f){const _0x389ac1=function(_0x12c32e,_0x4b4aae){const _0x5ed720=_0x12c32e['locale'],_0xcba7c3={'Compare\x20against\x20selected':y(_0x5ed720,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x5ed720,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x5ed720,'Restore\x20this\x20revision')};return _0x4b4aae['map'](_0x5b46c7=>{const _0x52f8cd=_0xcba7c3[_0x5b46c7['name']];return _0x52f8cd&&_0x52f8cd!==_0x5b46c7['name']&&(_0x5b46c7['name']=_0x52f8cd),_0x5b46c7;});}(_0x1dc950,_0x26149f),_0x47d44e=new _0x3c497c();for(const _0x4e7bd3 of _0x389ac1){const _0x1473ef={'type':'button','model':new to({'label':_0x4e7bd3['name'],'class':_0x4e7bd3['class'],'withText':!0x0,'role':'menuitem','_action':_0x4e7bd3['action']})};_0x1473ef['model']['bind']('isEnabled')['to'](_0x1dc950,'isActionsDropdownOpen',_0x116c08=>'function'!=typeof _0x4e7bd3['isEnabled']||(!_0x116c08||_0x4e7bd3['isEnabled'](_0x1dc950))),_0x47d44e['add'](_0x1473ef);}return _0x47d44e;}(_0x304e6b,_0x228d31);return _0x304e6b['bind']('isActionsDropdownOpen')['to'](_0xdfb01,'isOpen'),_0xdfb01['buttonView']['set']({'label':y(_0x32bdc3,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x1a1335['threeVerticalDots']}),_0xdfb01['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x2e6c7f['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x2e6c7f['to'](_0xcb8998=>_0xcb8998['stopPropagation']())}}),_0xdfb01['on']('execute',_0x3b7ec7=>{_0x304e6b['isReady']&&'function'==typeof _0x3b7ec7['source']['_action']&&_0x3b7ec7['source']['_action'](_0x304e6b);}),_0x10eec3(_0xdfb01,_0x2fff1d,{'role':'menu'}),_0xdfb01['listenTo'](_0x304e6b,'change:isActionsDropdownOpen',(_0x379455,_0x16acdc,_0x433a77)=>{if(_0x433a77)for(const _0xaa8bbd of _0xdfb01['listView']['items']){const _0x18bb9f=_0xaa8bbd['children']['first'],_0x2a99b6=_0x228d31['find'](_0x289284=>_0x289284['action']===_0x18bb9f['_action'])['isVisible'];_0xaa8bbd['isVisible']=void 0x0===_0x2a99b6||_0x2a99b6(_0x304e6b);}}),_0xdfb01;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x3d73ad(_0x5ec719){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x3e2fa5,_0x1d97f2,_0x13ca1c,_0x5daa1f){super(_0x3e2fa5);const _0x337c6b=this['bindTemplate'],_0x4f5bfe=function(_0x1c8f1a,_0xc31847){const _0x5235e0=Array['from'](_0xc31847['authors'])['filter'](_0x345641=>_0x345641!=_0xc31847['creator']);return _0xc31847['creator']&&_0x5235e0['unshift'](_0xc31847['creator']),_0x5235e0['map'](_0x5e911b=>new ti(_0x1c8f1a,_0x5e911b,_0x5e911b==_0xc31847['creator']));}(_0x3e2fa5,_0x1d97f2);this['id']=_0x1d97f2['id'],this['_revision']=_0x1d97f2,this['_requireRevisionName']=_0x5daa1f,this['bind']('name','createdAt')['to'](_0x1d97f2),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x63a977=>{return _0x454e27=_0x3e2fa5['uiLanguage'],(_0x3642a6=_0x63a977)['toLocaleDateString'](_0x454e27,{'month':'long','day':'numeric'})+',\x20'+_0x3642a6['toLocaleTimeString'](_0x454e27,{'hour':'numeric','minute':'numeric'});var _0x454e27,_0x3642a6;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x3e2fa5,_0x9d6d1a),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x421d98=>_0x421d98||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x5136d2,_0x18438a)=>_0x5136d2&&_0x18438a),this['revisionActionsView']=_0x13ca1c&&_0x13ca1c['length']?ni(this,_0x13ca1c):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x337c6b['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x337c6b['if']('isEnabled','ck-disabled',_0x267dbf=>!_0x267dbf),_0x337c6b['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x337c6b['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x337c6b['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':_0x337c6b['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':_0x4f5bfe}]},this['revisionActionsView']],'on':{'click':_0x337c6b['to'](_0x7bd6c=>{_0x7bd6c['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x2a8b20=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x2a8b20,'change',()=>{this['_requireRevisionName']&&!_0x2a8b20['value']||this['fire']('setName',{'id':this['id'],'name':_0x2a8b20['value']}),_0x2a8b20['value']||(_0x2a8b20['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(_0x2a1657,_0x21dcfa){const _0x3184a7=_0x518cab['fromJSDate'](_0x2a1657)['setLocale'](_0x21dcfa),_0xe59624=_0x518cab['local'](),_0x33446a=_0xe59624['minus']({'days':0x1})['startOf']('day');let _0x1195be,_0x266111;return _0x3184a7['hasSame'](_0xe59624,'day')?(_0x1195be=_0x3184a7['startOf']('day')['toJSDate'](),_0x266111=_0x3184a7['toRelativeCalendar']()):_0x3184a7['hasSame'](_0x33446a,'day')?(_0x1195be=_0x33446a['toJSDate'](),_0x266111=_0x3184a7['toRelativeCalendar']()):_0x3184a7['hasSame'](_0xe59624,'week')?(_0x1195be=_0x3184a7['startOf']('week')['toJSDate'](),_0x266111=_0x3184a7['weekdayLong']||''):_0x3184a7['hasSame'](_0xe59624,'year')?(_0x1195be=_0x3184a7['startOf']('month')['toJSDate'](),_0x266111=_0x3184a7['monthLong']||''):(_0x1195be=_0x3184a7['startOf']('year')['toJSDate'](),_0x266111=String(_0x3184a7['year'])),{'startDate':_0x1195be,'localizedPeriodName':_0x266111};}class mi extends _0x5ec719{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x58111f,_0x5a83a1,_0xa32000,_0x2db145){super(_0x58111f);const _0xcf678f=di(_0x5a83a1,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x5a83a1,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0xa32000,this['_requireRevisionName']=_0x2db145,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':_0xcf678f}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x36b3d7){const _0x584937=new ai(this['locale'],_0x36b3d7,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x584937);}['removeRevision'](_0x3a5211){const _0x3632d1=this['revisionViews']['find'](_0x1f4ca2=>_0x1f4ca2['id']===_0x3a5211['id']);this['revisionViews']['remove'](_0x3632d1);}}class as extends _0x5ec719{constructor(_0x4a3891){super(_0x4a3891);const _0x45098f=new _0x563b37();_0x45098f['content']=_0x1a1335['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x45098f,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x4a3891,'Revision\x20history')]}]});}}class ci extends _0x5ec719{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x4e06da,_0x5174f4,_0x1c92a0,_0x4ed7b3){super(_0x4e06da);const _0x58a379=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x5174f4,this['_revisionActions']=_0x1c92a0,this['_requireRevisionName']=_0x4ed7b3,this['on']('select',(_0x1860ee,_0x2ee5c6)=>{this['fire']('revisionSelected',_0x2ee5c6);}),this['on']('setName',(_0x760ca8,_0x24d95c)=>{this['fire']('revisionSetName',_0x24d95c);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x4e06da),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x58a379['if']('isEnabled','ck-disabled',_0x1ba3b9=>!_0x1ba3b9)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x53b659 of this['_revisions'])this['_addRevision'](_0x53b659);this['_revisions']['on']('add',(_0x45d4ac,_0x370b33)=>{this['_addRevision'](_0x370b33);}),this['_revisions']['on']('remove',(_0x2793d4,_0x4aff82)=>{this['_removeRevision'](_0x4aff82);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x5424dc=>_0x5424dc['revisionViews']['map'](_0x41add8=>_0x41add8))['flat']();}['selectRevision'](_0x1cb37b){for(const _0x164231 of this['revisionViews'])_0x1cb37b&&_0x1cb37b['id']===_0x164231['id']?_0x164231['select']():_0x164231['deselect']();}['highlightRevisions'](_0x131085){for(const _0x1dd2f9 of this['revisionViews'])_0x131085['some'](({id:_0x15c441})=>_0x15c441===_0x1dd2f9['id'])?_0x1dd2f9['highlight']():_0x1dd2f9['unhighlight']();}['_addRevision'](_0x54b47e){const _0x22e8f3=di(_0x54b47e['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x28f75a=this['timePeriodViews']['get'](0x0);_0x28f75a&&_0x28f75a['startDate']['getTime']()===_0x22e8f3['getTime']()||(_0x28f75a=new mi(this['locale'],_0x22e8f3,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x28f75a)),_0x28f75a['addRevision'](_0x54b47e);}['_removeRevision'](_0x23a3f5){const _0x4280d6=di(_0x23a3f5['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x4280d6)['removeRevision'](_0x23a3f5);}['_getTimePeriodViewByStartDate'](_0x53c510){return this['timePeriodViews']['find'](_0x4c5389=>_0x4c5389['startDate']['getTime']()===_0x53c510['getTime']());}}class w extends _0x5237db{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x5be8fc,Context as _0xa4b880,PendingActions as _0x253efb,icons as _0x57278e,Command as _0x347b59,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x5e2d5c,uid as _0x2b22ca,Collection as _0x51a9b0,logWarning as _0x28ec26,FocusTracker as _0x554f65,KeystrokeHandler as _0xd2e2e4,scrollViewportToShowTarget as _0x3c34b2,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x14b05c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x28a5da,getMarkerDomElement as _0x5d7d4e,ConfirmMixin as _0x325a1a,sanitizeEditorConfig as _0x484f66}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x3ee4e8,ViewText as _0x1b48bf,ViewElement as _0x5e0cca,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x11836d,ViewAttributeElement as _0xd762ba,ViewEmptyElement as _0x2ab6e4,ViewRawElement as _0x47e883,ViewUIElement as _0xce5410,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0xcc2041,set as _0x493986,unset as _0x155a19,isEqual as _0x5130cc}from'lodash-es';import{View as _0x347dad,injectCssTransitionDisabler as ts,submitHandler as _0x1a36f3,LabeledFieldView as at,createLabeledInputText as _0x18da03,createDropdown as _0x492605,ListView as te,ListItemView as _0x28241a,ButtonView as _0x3908eb,MenuBarMenuView as _0x1e95b4,MenuBarMenuListView as _0x14e717,MenuBarMenuListItemView as _0x262f99,MenuBarMenuListItemButtonView as _0x3befa5,ContextualBalloon as _0x5cda6f,ToolbarSeparatorView as _0x39da0f,IconView as _0x4c1b66,addListToDropdown as _0x58492e,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 _0x3507ab}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x5e2d5c(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x2457d5){super(),this['id']=_0x2457d5['id']||_0x2b22ca(),this['creator']=_0x2457d5['creator']||null,this['authors']=_0x2457d5['authors']||[],this['diffData']=_0x2457d5['diffData']||null,this['toVersion']=_0x2457d5['toVersion']||0x0,this['fromVersion']=_0x2457d5['fromVersion']||0x0,this['set']('name',_0x2457d5['name']||''),this['set']('createdAt',_0x2457d5['createdAt']||new Date()),this['set']('attributes',_0x2457d5['attributes']||{});}['setName'](_0x2194df){this['_update']({'name':_0x2194df});}['setAttribute'](_0x5ecdf2,_0x59d0d9){const _0x5e2b19=_0xcc2041(this['attributes']);_0x493986(_0x5e2b19,_0x5ecdf2,_0x59d0d9),this['_update']({'attributes':_0x5e2b19});}['removeAttribute'](_0x203752){const _0x435d83=_0xcc2041(this['attributes']);_0x155a19(_0x435d83,_0x203752),this['_update']({'attributes':_0x435d83});}['_update'](_0x10396e,_0x393e28=!0x1){let _0x3a60d2=!0x1;const _0x7ea688={'id':this['id']},_0x563035=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x27487e of _0x563035){const _0x1e1ab5=_0x10396e[_0x27487e];void 0x0!==_0x1e1ab5&&_0x1e1ab5!==this[_0x27487e]&&(this[_0x27487e]=_0x1e1ab5,_0x7ea688[_0x27487e]=_0x1e1ab5,_0x3a60d2=!0x0);}_0x3a60d2&&(_0x7ea688['authors']&&(_0x7ea688['authorsIds']=_0x7ea688['authors']['map'](_0x422372=>_0x422372['id']),delete _0x7ea688['authors']),this['fire']('_update',_0x7ea688,_0x393e28));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x2c6b9f=>_0x2c6b9f['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x5be8fc{['_revisions'];static get['requires'](){return[_0x28a5da];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x5a7492){super(_0x5a7492),this['_revisions']=new _0x51a9b0();}['afterInit'](){!function(_0x13ff24){function _0x101bbb(_0x1cb237,_0x5ccdf6,_0x1bc8e7){const _0x110482={};_0x110482[_0x24444c([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x110482[_0x24444c([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],_0x110482[_0x24444c([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],_0x110482[_0x24444c([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],_0x110482[_0x24444c([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],_0x110482[_0x24444c([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],_0x110482[_0x24444c([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],_0x110482[_0x24444c([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],_0x110482[_0x24444c([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],_0x110482[_0x24444c([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],_0x110482[_0x24444c([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 _0x5e771c=new Uint8Array(0x10);for(let _0x174a13=0xf;_0x174a13>=0x0;--_0x174a13)_0x5e771c[_0x174a13]=_0x1bc8e7%0x100,_0x1bc8e7=parseInt(_0x1bc8e7/0x100);let _0x11e525=null,_0x49394c=0x10;const _0x448d4f=new Uint8Array(_0x5ccdf6),_0x14d617=[],_0x2fd0be=[];_0x1ad30e();for(let _0x20ee08=0x0;_0x20ee08<_0x1cb237[_0x24444c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20ee08++)0x10===_0x49394c&&(_0x11e525=_0x18aaee(_0x5e771c),_0x49394c=0x0,_0x3c7633(_0x5e771c)),_0x1cb237[_0x20ee08]^=_0x11e525[_0x49394c++];return _0x1cb237;function _0x230245(_0x336f16){const _0x59c037=[];for(let _0x58a26c=0x0;_0x58a26c<_0x336f16[_0x24444c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58a26c+=0x4)_0x59c037[_0x24444c([0x70,0x75,0x73,0x68])](_0x336f16[_0x58a26c]<<0x18|_0x336f16[_0x58a26c+0x1]<<0x10|_0x336f16[_0x58a26c+0x2]<<0x8|_0x336f16[_0x58a26c+0x3]);return _0x59c037;}function _0x3c7633(_0x19365c){for(let _0x58078c=0xf;_0x58078c>=0x0;_0x58078c--){if(0xff!==_0x19365c[_0x58078c]){_0x19365c[_0x58078c]++;break;}_0x19365c[_0x58078c]=0x0;}}function _0x18aaee(_0x1d99a6){const _0x170d5e=_0x14d617[_0x24444c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x493881=[0x0,0x0,0x0,0x0];let t=_0x230245(_0x1d99a6);for(let _0x4ec2fb=0x0;_0x4ec2fb<0x4;_0x4ec2fb++)t[_0x4ec2fb]^=_0x14d617[0x0][_0x4ec2fb];for(let _0x3414c0=0x1;_0x3414c0<_0x170d5e;_0x3414c0++){for(let _0x4bda00=0x0;_0x4bda00<0x4;_0x4bda00++)_0x493881[_0x4bda00]=_0x110482[_0x24444c([0x54,0x31])][t[_0x4bda00]>>0x18&0xff]^_0x110482[_0x24444c([0x54,0x32])][t[(_0x4bda00+0x1)%0x4]>>0x10&0xff]^_0x110482[_0x24444c([0x54,0x33])][t[(_0x4bda00+0x2)%0x4]>>0x8&0xff]^_0x110482[_0x24444c([0x54,0x34])][0xff&t[(_0x4bda00+0x3)%0x4]]^_0x14d617[_0x3414c0][_0x4bda00];t=_0x493881[_0x24444c([0x73,0x6c,0x69,0x63,0x65])]();}const _0xcc3b63=new Uint8Array(0x10);let _0x34ff7d;for(let _0x1a914b=0x0;_0x1a914b<0x4;_0x1a914b++)_0x34ff7d=_0x14d617[_0x170d5e][_0x1a914b],_0xcc3b63[0x4*_0x1a914b]=0xff&(_0x110482[_0x24444c([0x53])][t[_0x1a914b]>>0x18&0xff]^_0x34ff7d>>0x18),_0xcc3b63[0x4*_0x1a914b+0x1]=0xff&(_0x110482[_0x24444c([0x53])][t[(_0x1a914b+0x1)%0x4]>>0x10&0xff]^_0x34ff7d>>0x10),_0xcc3b63[0x4*_0x1a914b+0x2]=0xff&(_0x110482[_0x24444c([0x53])][t[(_0x1a914b+0x2)%0x4]>>0x8&0xff]^_0x34ff7d>>0x8),_0xcc3b63[0x4*_0x1a914b+0x3]=0xff&(_0x110482[_0x24444c([0x53])][0xff&t[(_0x1a914b+0x3)%0x4]]^_0x34ff7d);return _0xcc3b63;}function _0x1ad30e(){const _0xb82891=_0x110482[_0x24444c([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x448d4f[_0x24444c([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0xa15f7=0x0;_0xa15f7<=_0xb82891;_0xa15f7++)_0x14d617[_0x24444c([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x2fd0be[_0x24444c([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x327cf4=0x4*(_0xb82891+0x1),_0x17a71d=_0x448d4f[_0x24444c([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x30ed3e=_0x230245(_0x448d4f);let _0x359a93;for(let _0x4638b2=0x0;_0x4638b2<_0x17a71d;_0x4638b2++)_0x359a93=_0x4638b2>>0x2,_0x14d617[_0x359a93][_0x4638b2%0x4]=_0x30ed3e[_0x4638b2],_0x2fd0be[_0xb82891-_0x359a93][_0x4638b2%0x4]=_0x30ed3e[_0x4638b2];let _0x421688,_0x222528=0x0,t=_0x17a71d;for(;t<_0x327cf4;){_0x421688=_0x30ed3e[_0x17a71d-0x1],_0x30ed3e[0x0]^=_0x110482[_0x24444c([0x53])][_0x421688>>0x10&0xff]<<0x18^_0x110482[_0x24444c([0x53])][_0x421688>>0x8&0xff]<<0x10^_0x110482[_0x24444c([0x53])][0xff&_0x421688]<<0x8^_0x110482[_0x24444c([0x53])][_0x421688>>0x18&0xff]^_0x110482[_0x24444c([0x72,0x63,0x6f,0x6e])][_0x222528]<<0x18,_0x222528+=0x1;for(let _0x18ed8f=0x1;_0x18ed8f<_0x17a71d/0x2;_0x18ed8f++)_0x30ed3e[_0x18ed8f]^=_0x30ed3e[_0x18ed8f-0x1];_0x421688=_0x30ed3e[_0x17a71d/0x2-0x1],_0x30ed3e[_0x17a71d/0x2]^=_0x110482[_0x24444c([0x53])][0xff&_0x421688]^_0x110482[_0x24444c([0x53])][_0x421688>>0x8&0xff]<<0x8^_0x110482[_0x24444c([0x53])][_0x421688>>0x10&0xff]<<0x10^_0x110482[_0x24444c([0x53])][_0x421688>>0x18&0xff]<<0x18;for(let _0x168a1d=_0x17a71d/0x2+0x1;_0x168a1d<_0x17a71d;_0x168a1d++)_0x30ed3e[_0x168a1d]^=_0x30ed3e[_0x168a1d-0x1];let _0x2e671e,_0x47d825,_0x26dd73=0x0;for(;_0x26dd73<_0x17a71d&&t<_0x327cf4;)_0x2e671e=t>>0x2,_0x47d825=t%0x4,_0x14d617[_0x2e671e][_0x47d825]=_0x30ed3e[_0x26dd73],_0x2fd0be[_0xb82891-_0x2e671e][_0x47d825]=_0x30ed3e[_0x26dd73++],t++;}for(let _0xead5f8=0x1;_0xead5f8<_0xb82891;_0xead5f8++)for(let _0x9ae65=0x0;_0x9ae65<0x4;_0x9ae65++)_0x421688=_0x2fd0be[_0xead5f8][_0x9ae65],_0x2fd0be[_0xead5f8][_0x9ae65]=_0x110482[_0x24444c([0x55,0x31])][_0x421688>>0x18&0xff]^_0x110482[_0x24444c([0x55,0x32])][_0x421688>>0x10&0xff]^_0x110482[_0x24444c([0x55,0x33])][_0x421688>>0x8&0xff]^_0x110482[_0x24444c([0x55,0x34])][0xff&_0x421688];}}function _0x24444c(_0x5e9eda){return _0x5e9eda['map'](_0x29aed4=>String['fromCharCode'](_0x29aed4))['join']('');}(_0x925642=>{function _0x51b363(){const _0x1c17a2=[{[_0x24444c([0x69,0x64])]:0x1,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x24444c([0x69,0x64])]:0x2,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([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]),[_0x24444c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24444c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x24444c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x24444c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x24444c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24444c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x24444c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x24444c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x24444c([0x69,0x64])]:0x3,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24444c([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x24444c([0x69,0x64])]:0x4,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([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]),[_0x24444c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24444c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x24444c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x24444c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x24444c([0x69,0x64])]:0x5,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24444c([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]),[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x24444c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24444c([0x66,0x67,0x69])]:[0xc]}},{[_0x24444c([0x69,0x64])]:0x6,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24444c([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x24444c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24444c([0x66,0x67,0x69])]:[0xc]}},{[_0x24444c([0x69,0x64])]:0x7,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24444c([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x24444c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24444c([0x66,0x67,0x69])]:[0xc]}},{[_0x24444c([0x69,0x64])]:0x8,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24444c([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]),[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x24444c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24444c([0x66,0x67,0x69])]:[0xc]}},{[_0x24444c([0x69,0x64])]:0x9,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24444c([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x24444c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24444c([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x24444c([0x69,0x64])]:0xa,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([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]),[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24444c([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]),[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24444c([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]),[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x24444c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24444c([0x66,0x67,0x69])]:[0xc]}},{[_0x24444c([0x69,0x64])]:0xb,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24444c([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x24444c([0x69,0x64])]:0xc,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x24444c([0x69,0x64])]:0xd,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24444c([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x24444c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24444c([0x66,0x67,0x69])]:[0xc]}},{[_0x24444c([0x69,0x64])]:0xe,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x24444c([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([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])},{[_0x24444c([0x69,0x64])]:0xf,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24444c([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x24444c([0x69,0x64])]:0x10,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24444c([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x24444c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24444c([0x66,0x67,0x69])]:[0xc]}}];return _0x57f43a(_0x1c17a2),_0x1c17a2;function _0x4d1937(_0x1009f7){return 0x1<<_0x1009f7-0x1;}function _0x57f43a(_0x287d25){_0x287d25[_0x24444c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x126148=>{_0x126148[_0x24444c([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x4d1937(_0x126148[_0x24444c([0x69,0x64])]),_0xec511(_0x126148)&&_0x126148[_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x57f43a(_0x126148[_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0xec511(_0x2549f0){return _0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x2549f0;}const _0x507d5f=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x1984c0=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x2d649f(_0x5df7f0){const _0xfbd158=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x1ae135(_0x5df7f0,new Uint8Array([..._0x507d5f,..._0xfbd158,..._0x1984c0]));}function _0x1ae135(_0x556f21,_0xea1e3){const _0x4ed286=_0x4d3119(_0x556f21),_0x5e5361=Array[_0x24444c([0x66,0x72,0x6f,0x6d])](_0x2c8d8a(_0x4ed286)),_0x13ef39=_0x5e5361[_0x24444c([0x70,0x6f,0x70])](),_0x3ee921=_0x5e5361[_0x24444c([0x70,0x6f,0x70])]();return _0x225ecf(_0x101bbb(_0x5e5361,_0xea1e3,_0x3ee921+0x100*_0x13ef39));}function _0x4d3119(_0x1cade1){const _0x137749=atob(_0x1cade1),[_0x5773a1,_0x114890]=_0x137749[_0x24444c([0x73,0x70,0x6c,0x69,0x74])](_0x24444c([0x2d]));try{if(atob(_0x114890))return atob(_0x5773a1);}catch(_0x46c69c){}return _0x137749;}function _0x208038(_0x10c0ab){try{const _0x2770d6=_0x2d649f(_0x10c0ab),_0x4712d9=JSON[_0x24444c([0x70,0x61,0x72,0x73,0x65])](_0x2770d6),_0x260451=parseInt(_0x4712d9[_0x24444c([0x31])]),_0x4820cf=_0x4712d9[_0x24444c([0x32])]||'',_0xf889eb=parseInt(_0x4712d9[_0x24444c([0x33])]),_0x2b8660=parseInt(_0x4712d9[_0x24444c([0x34])])||0x0,_0x4a78da=parseInt(_0x4712d9[_0x24444c([0x35])])||0x0;return{[_0x24444c([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x4820cf,[_0x24444c([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x2b8660,[_0x24444c([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x260451,[_0x24444c([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0xf889eb,[_0x24444c([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x4a78da};}catch(_0x1ae038){return null;}}const _0x1dd157=_0x51b363(),_0x118a4c={[_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x2209be,[_0x24444c([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])]:_0x517df4,[_0x24444c([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])]:_0x34adf3},_0x415c90=_0x925642[_0x24444c([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x39dc3b=_0x24444c([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x925642?_0x925642['context']:_0x925642['editor'],_0x3a20ca=_0x24444c([0x34,0x30,0x34,0x38,0x31,0x30,0x35,0x38]),_0xe74866=_0x24444c([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]),_0x284595=_0x39dc3b['config']['get'](_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0xe62dc2=_0x1dd157[_0x24444c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xec511)[_0x24444c([0x66,0x69,0x6e,0x64])](_0x28aa71=>_0x28aa71[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x415c90);function _0x3f6629(_0x26b217,_0x565603){_0x118a4c[_0x565603[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x26b217,_0x565603),_0x565603[_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x565603[_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x24444c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d1060=>_0x575b50(_0x39dc3b,_0x4d1060[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x24444c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x165f77=>_0x3f6629(_0x26b217,_0x165f77));}function _0x2209be(_0x2adf33,_0x32a972){_0x325e22(_0x1c97e8(_0x2adf33,_0x32a972),_0x32a972);}function _0x517df4(_0x4bbe37,_0x59d8a3){function _0xef0f55(_0x15ffed,_0x516b50){try{if(_0x575b50(_0x39dc3b,_0x24444c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x15ffed){const _0x36678b=_0x731e53(_0x39dc3b,_0x24444c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x24444c([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x36678b)/0x2>_0x15ffed[_0x24444c([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0xa225e7(_0x516b50[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x1c97e8(_0x15ffed,_0x516b50);}catch(_0x50c3a6){return _0xa225e7(_0x516b50[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x325e22(_0xef0f55(_0x4bbe37,_0x59d8a3),_0x59d8a3);}function _0x34adf3(_0x51f8c2,_0x4af046){const _0x5343ae=_0x1984c0[0x0]*_0x507d5f[0x1],_0x36a233=_0x1984c0[0x0]*_0x507d5f[0x2],_0x39533e=_0x1984c0[0x2]*_0x507d5f[0x2];_0x575b50(_0x39dc3b,_0x24444c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x731e53(_0x39dc3b,_0x24444c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x24444c([0x73,0x74,0x61,0x74,0x65])]==_0x24444c([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x5d2d10()]=_0x39533e);function _0x51793b(_0x3b0678,_0x3fe368){try{return _0x5b9358()?_0xa225e7(_0x3fe368[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x56,0x61,0x6c,0x69,0x64])):_0x1c97e8(_0x3b0678,_0x3fe368);}catch(_0x34895c){return _0xa225e7(_0x3fe368[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1eaa65(_0x1cf218,_0x4ac10b){const _0x5135c4=0x7;if(_0x1cf218==_0x4ac10b[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x4e28bf();else{if(_0x1cf218==_0x4ac10b[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x54,0x72,0x69,0x61,0x6c])){const _0x55f101=_0xcef55a();_0x55f101&&_0xa66efa(_0x55f101,_0x4ac10b[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x5c8d85=_0x15e10c();window[_0x24444c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xa66efa(_0x24444c([0x74,0x69,0x6d,0x65]),_0x4ac10b[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x5c8d85);const _0xce0950=_0x731e53(_0x39dc3b,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x24444c([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0xce0950[_0x24444c([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x5135c4?_0xa66efa(_0x24444c([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4ac10b[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0xce0950['on'](_0x24444c([0x61,0x64,0x64]),()=>{_0xce0950[_0x24444c([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x5135c4&&_0xa66efa(_0x24444c([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4ac10b[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0xcef55a(){if(!_0x575b50(_0x39dc3b,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x2c0090 in window)if(Number['isNaN'](Number(_0x2c0090))){if(window[_0x2c0090]===_0x5343ae)return _0x24444c([0x74,0x69,0x6d,0x65]);if(window[_0x2c0090]===_0x36a233)return _0x24444c([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x5b9358(){if(!_0x575b50(_0x39dc3b,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x24652a in window)if(Number['isNaN'](Number(_0x24652a))&&window[_0x24652a]===_0x39533e)return!0x0;return!0x1;}function _0xa66efa(_0x31af8b,_0x478523){_0x4e28bf(),_0xa225e7(_0x478523+_0x24444c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x31af8b),window[_0x5d2d10()]=_0x31af8b===_0x24444c([0x74,0x69,0x6d,0x65])?_0x5343ae:_0x36a233;}function _0x15e10c(){let _0x3c600e=_0x1984c0[0x6]*_0x507d5f[0x8]*_0x507d5f[0x6];return _0x575b50(_0x39dc3b,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3c600e/=0xa),_0x3c600e;}function _0x4e28bf(){const _0x11bd8c=_0x39dc3b;function _0x262af4(){_0x575b50(_0x11bd8c,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x731e53(_0x11bd8c,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x24444c([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x24444c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x731e53(_0x11bd8c,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x24444c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x731e53(_0x11bd8c,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x24444c([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x2a4d59,_0x731e53(_0x11bd8c,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x24444c([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x2a4d59,_0x11bd8c[_0x24444c([0x6d,0x6f,0x64,0x65,0x6c])][_0x24444c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a4d59,_0x11bd8c[_0x24444c([0x6d,0x6f,0x64,0x65,0x6c])][_0x24444c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a4d59,_0x11bd8c[_0x24444c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x24444c([0x6d,0x6f,0x64,0x65,0x6c]))),_0x575b50(_0x11bd8c,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x731e53(_0x11bd8c,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x24444c([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x24444c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x731e53(_0x11bd8c,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x24444c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x731e53(_0x11bd8c,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x24444c([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x2a4d59,_0x731e53(_0x11bd8c,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x24444c([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x2a4d59);}_0x11bd8c[_0x24444c([0x73,0x74,0x61,0x74,0x65])]==_0x24444c([0x72,0x65,0x61,0x64,0x79])?_0x262af4():_0x11bd8c[_0x24444c([0x6f,0x6e,0x63,0x65])](_0x24444c([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x575b50(_0x11bd8c,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x262af4(),_0x575b50(_0x11bd8c,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x499a86=_0x731e53(_0x11bd8c,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4aba12=_0x499a86['getRevision'](0x0),_0x73fbe5=_0x499a86['getEarlierVisibleRevision'](_0x4aba12[_0x24444c([0x69,0x64])]);_0x731e53(_0x11bd8c,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x24444c([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4aba12[_0x24444c([0x69,0x64])],_0x73fbe5?_0x73fbe5[_0x24444c([0x69,0x64])]:null,0x1)['then'](()=>_0x262af4());}});}_0x1eaa65(_0x51793b(_0x51f8c2,_0x4af046),_0x4af046);}function _0x1c97e8(_0xbbded2,_0x22a827){try{return _0xa8d9b(_0x22a827)?_0xa225e7(_0x22a827[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x56,0x61,0x6c,0x69,0x64])):_0xbbded2&&_0x14de8d(_0xbbded2[_0x24444c([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x22a827)?_0xbbded2[_0x24444c([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x24444c([0x6f,0x70,0x65,0x6e])][_0x24444c([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x3a20ca)/0x2>_0xbbded2[_0x24444c([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0xa225e7(_0x22a827[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0xbbded2[_0x24444c([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0xa225e7(_0x22a827[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x54,0x72,0x69,0x61,0x6c])):_0xa225e7(_0x22a827[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x56,0x61,0x6c,0x69,0x64])):_0xa225e7(_0x22a827[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x5f4a40){return _0xa225e7(_0x22a827[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x325e22(_0x16e922,_0x2436f7){if(_0x39dc3b instanceof _0xa4b880){const _0xb99dff=_0x39dc3b;_0x16e922==_0x2436f7[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x37b611(_0xb99dff):_0x16e922==_0x2436f7[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x54,0x72,0x69,0x61,0x6c])&&window[_0x24444c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x37b611(_0xb99dff),_0xa225e7(_0x2436f7[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x1984c0[0x6]*_0x507d5f[0x8]*_0x507d5f[0x6]),_0xb99dff[_0x24444c([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x24444c([0x6f,0x6e])](_0x24444c([0x61,0x64,0x64]),(_0x49216e,_0x1992b5)=>{_0x16e922!=_0x2436f7[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x16e922!=_0x2436f7[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x16e922!=_0x2436f7[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x354645(_0x1992b5);});}else{const _0x188783=_0x39dc3b;_0x16e922==_0x2436f7[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x354645(_0x188783):_0x16e922==_0x2436f7[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x54,0x72,0x69,0x61,0x6c])&&_0x188783[_0x24444c([0x6f,0x6e])](_0x24444c([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x597f0a=0x0;_0x188783[_0x24444c([0x6d,0x6f,0x64,0x65,0x6c])][_0x24444c([0x6f,0x6e])](_0x24444c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x6b0d84,_0x26529c)=>{_0x26529c[0x0][_0x24444c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x597f0a++,0x1f8===_0x597f0a&&(_0x354645(_0x188783),_0xa225e7(_0x2436f7[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x6b0d84[_0x24444c([0x6f,0x66,0x66])]());},{'priority':_0x24444c([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0xa225e7(_0x48e452){const _0xc6a8c0=_0x5d2d10();return _0x39dc3b[_0xc6a8c0]=_0x48e452,_0x48e452;}function _0x5d2d10(){const _0xa16ee5=String(window[_0x24444c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x24444c([0x6e,0x6f,0x77])]())[_0x24444c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x24444c([0x2e]),'');let _0x218f09='';for(let _0x1fd4c8=0x0;_0x1fd4c8<_0xa16ee5[_0x24444c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1fd4c8+=0x2){let _0x3a0b96=parseInt(_0xa16ee5[_0x24444c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1fd4c8,_0x1fd4c8+0x2));_0x3a0b96>=_0xe74866[_0x24444c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3a0b96-=_0xe74866[_0x24444c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x218f09+=_0xe74866[_0x3a0b96];}return _0x218f09;}function _0x37b611(_0x2eb80d){for(const _0x56ca17 of _0x2eb80d[_0x24444c([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x354645(_0x56ca17);_0x731e53(_0x2eb80d,_0x24444c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x24444c([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x731e53(_0x2eb80d,_0x24444c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x24444c([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x2a4d59;}function _0x354645(_0x5d6a5b){function _0x29ddf8(){_0x5d6a5b[_0x24444c([0x6d,0x6f,0x64,0x65,0x6c])][_0x24444c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a4d59,_0x5d6a5b[_0x24444c([0x6d,0x6f,0x64,0x65,0x6c])][_0x24444c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a4d59,_0x5d6a5b[_0x24444c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x24444c([0x6d,0x6f,0x64,0x65,0x6c]));}_0x5d6a5b[_0x24444c([0x73,0x74,0x61,0x74,0x65])]==_0x24444c([0x72,0x65,0x61,0x64,0x79])?_0x29ddf8():_0x5d6a5b[_0x24444c([0x6f,0x6e,0x63,0x65])](_0x24444c([0x72,0x65,0x61,0x64,0x79]),()=>_0x29ddf8());}function _0x2a4d59(){return null;}function _0x14de8d(_0x4b6ee3,_0x129261){const _0x5ec85d=!!(_0x4b6ee3&_0x129261[_0x24444c([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x511615=_0x5aec80(_0x4b6ee3,_0x129261);return _0x5ec85d||_0x511615;}function _0x5aec80(_0xb95f2e,_0x2b1b93){const _0x228d9f=(_0x2b1b93[_0x24444c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x24444c([0x66,0x67,0x69])]||null;return!!_0x228d9f&&_0x1dd157[_0x24444c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x53563c=>_0x228d9f[_0x24444c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53563c[_0x24444c([0x69,0x64])]))[_0x24444c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xbe6f0c=>!_0xb765d4(_0xbe6f0c))[_0x24444c([0x73,0x6f,0x6d,0x65])](_0x4496ed=>!!(_0xb95f2e&_0x4496ed[_0x24444c([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0xb765d4(_0x50b476){const _0x195267={[_0x24444c([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])]:_0x4b1e60};return!!_0x50b476['forbiddenHandler']&&_0x195267[_0x50b476['forbiddenHandler']]();}function _0x4b1e60(){return!window[_0x24444c([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x575b50(_0x39dc3b,_0x24444c([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0xa8d9b(_0x5277dd){if(!_0x575b50(_0x39dc3b,_0x5277dd[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x3a5328=_0x5277dd[_0x24444c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0xb9851c=_0x3a5328[_0x24444c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x125959=_0x3a5328[_0x24444c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x3d8042=_0x3a5328[_0x24444c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x575b50(_0x39dc3b,_0x24444c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x731e53(_0x39dc3b,_0x24444c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x24444c([0x73,0x74,0x61,0x74,0x65])]==_0x24444c([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0xb9851c)return!0x0;if(_0x575b50(_0x39dc3b,_0x24444c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x731e53(_0x39dc3b,_0x24444c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x24444c([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x24444c([0x65,0x6e,0x64])&&_0x125959)return!0x0;return!(!_0x575b50(_0x39dc3b,_0x24444c([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]))||_0x731e53(_0x39dc3b,_0x24444c([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]))[_0x24444c([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x24444c([0x65,0x6e,0x64])||!_0x3d8042);}function _0x575b50(_0x21db0f,_0x132f2e){return _0x21db0f[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x24444c([0x68,0x61,0x73])](_0x132f2e);}function _0x731e53(_0x1f4a48,_0x50039d){return _0x1f4a48[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x24444c([0x67,0x65,0x74])](_0x50039d);}function _0x225ecf(_0x52971c){let _0x4cd3f0='';for(const _0x108730 of _0x52971c)_0x4cd3f0+=String[_0x24444c([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x108730);return _0x4cd3f0;}function _0x2c8d8a(_0x4090c2){const _0x420694=new Uint8Array(_0x4090c2[_0x24444c([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x312a22=0x0;_0x312a22<_0x4090c2[_0x24444c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x312a22++)_0x420694[_0x312a22]=_0x4090c2[_0x24444c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x312a22);return _0x420694;}_0xe62dc2&&_0x3f6629(_0x208038(_0x284595),_0xe62dc2);})(_0x13ff24);}(this);}['createRevision'](_0x1b4c31){const _0x4b267f=this['editor']['plugins']['get']('Users');return new a({'id':_0x1b4c31['id'],'name':_0x1b4c31['name'],'creator':_0x1b4c31['creatorId']?_0x4b267f['getUser'](_0x1b4c31['creatorId']):null,'diffData':_0x1b4c31['diffData']||_0x1b4c31['data'],'authors':_0x1b4c31['authorsIds']['map'](_0x4f38f9=>_0x4b267f['getUser'](_0x4f38f9)),'createdAt':new Date(_0x1b4c31['createdAt']),'attributes':_0x1b4c31['attributes'],'fromVersion':_0x1b4c31['fromVersion'],'toVersion':_0x1b4c31['toVersion']});}['addRevision'](_0x13d239,_0x36160c=0x0){this['_revisions']['add'](_0x13d239,_0x36160c);}['getRevision'](_0x3374b3){return this['_revisions']['get'](_0x3374b3);}['getRevisions'](_0x4f849c={'toJSON':!0x1}){const _0x1b4f65=Array['from'](this['_revisions']);return _0x1b4f65['reverse'](),_0x4f849c['toJSON']?_0x1b4f65['map'](_0x8fd5b8=>_0x8fd5b8['toJSON']()):_0x1b4f65;}['getIndex'](_0x4816b9){return this['_revisions']['getIndex'](_0x4816b9);}['getEarlierVisibleRevision'](_0x41f9dd){const [,_0x560daf]=this['getRevisionsIterator'](_0x41f9dd,{'direction':'earlier'});return _0x560daf;}['getLaterVisibleRevision'](_0x12e9a5){const [,_0x294271]=this['getRevisionsIterator'](_0x12e9a5,{'direction':'later'});return _0x294271;}['getRevisionsInDiff'](_0xa67a15){const _0x5307ba=[];for(const _0x1a5b55 of this['getRevisionsIterator'](_0xa67a15['newRevisionId']))if(_0x5307ba['push'](_0x1a5b55),_0x1a5b55['id']===_0xa67a15['oldRevisionId'])break;return _0x5307ba;}*['getRevisionsIterator'](_0x47e1f6,{direction:_0x322e55='earlier',filter:_0x300846=_0x28924b=>!0x0}={}){const _0x2e61b9='earlier'===_0x322e55?0x1:-0x1;let _0x278687=this['_revisions']['get'](_0x47e1f6),_0x629331=this['getIndex'](_0x278687);for(yield _0x278687;_0x278687;){if(_0x629331+=_0x2e61b9,_0x278687=this['getRevision'](_0x629331),!_0x278687)return;_0x300846(_0x278687)&&(yield _0x278687);}}}function y(_0xb452f6,_0x4d7231,_0x54620f){const t=_0xb452f6['t'];switch(_0x4d7231){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'},_0x54620f);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x54620f);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x11836d,'a':_0xd762ba,'e':_0x2ab6e4,'r':_0x47e883,'u':_0xce5410};class l extends _0x5be8fc{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x28a5da,A,_0x253efb];}constructor(_0x1e261b){super(_0x1e261b),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 _0xce4cc3=_0x2b22ca();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0xce4cc3},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 _0x3807a3=this['repository']['getRevision'](0x0),_0x167fe7=_0x3807a3&&null===_0x3807a3['creator']?_0x3807a3:null;if(this['_continueCurrentRevision']=!!_0x167fe7&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x2aae03=this['_source']['getCurrentRevisionId'](),_0x4b4a58=this['repository']['getRevision'](_0x2aae03);if(_0x4b4a58)this['_startingVersion']=_0x4b4a58['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x1a72d3=this['_source']['history']['_operations']['find'](_0x5b3a2f=>!_0x5b3a2f['_isInit']),_0x44ba45=_0x1a72d3?_0x1a72d3['baseVersion']:this['_source']['history']['version'];_0x3807a3?(_0x3807a3['toVersion']<_0x44ba45&&_0x3807a3['_update']({'toVersion':_0x44ba45}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x167fe7['id'],this['_startingVersion']=_0x167fe7['fromVersion']):(this['_startingVersion']=_0x3807a3['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x44ba45,this['_continueCurrentRevision']=!0x1);}}else _0x167fe7&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x167fe7['toVersion'],this['editor']['model']['document']['history']['version']),_0x167fe7['fromVersion']===_0x167fe7['toVersion']?(0x0!==_0x167fe7['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x167fe7['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x167fe7['id'],this['_startingVersion']=_0x167fe7['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',_0x445a39=>!_0x445a39);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x5ed0d2=this['repository']['getRevision'](0x0),_0x1de84b=await this['getRevisionDocumentData'](_0x5ed0d2),_0x462af6=await this['getRevisionRootsAttributes'](_0x5ed0d2);this['_replaceEditorDataWithRevisionData'](_0x1de84b,_0x462af6);}}['setSource'](_0x542bf1){this['_source']=_0x542bf1;}async['update'](){const _0x374d5b=await this['_source']['getLatestVersion']();if(_0x374d5b>this['currentRevision']['toVersion']){await this['_loadState']();const _0x53e83f=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x374d5b});_0x53e83f['authors']=_0x53e83f['authorsIds']['map'](_0x2efe4c=>this['editor']['plugins']['get']('Users')['getUser'](_0x2efe4c)),this['currentRevision']['_update'](_0x53e83f);}}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'](_0x55d174={},_0x36e8bf=null){const _0x3a9234=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x36e8bf>this['currentRevision']['toVersion']&&(_0x36e8bf=null),null===_0x36e8bf&&(_0x36e8bf=await this['_source']['getLatestVersion']());const _0x41f10d=this['_getFromVersion'](_0x36e8bf),_0x66ffd7=this['buildRevisionData']({'from':_0x41f10d,'to':_0x36e8bf});if(this['currentRevision']['toVersion']<_0x36e8bf){const _0x6b85fa=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x36e8bf,'to':_0x36e8bf});_0x6b85fa['authors']=[],_0x6b85fa['authorsIds']=[],_0x6b85fa['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x6b85fa,!0x0),delete _0x6b85fa['authors'],_0x3a9234['push'](_0x6b85fa);}_0x55d174['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x55d174['name']=_0x55d174['name']||null,_0x55d174['id']=_0x55d174['id']||_0x2b22ca(),_0x55d174={..._0x55d174,..._0x66ffd7};const _0x1bccff=this['addRevisionData'](_0x55d174);_0x3a9234['push'](_0x55d174);const _0x1074d9=this['repository']['getIndex'](_0x1bccff);if(0x0!==_0x1074d9){const _0x2e54b3=this['repository']['getRevision'](_0x1074d9-0x1);if(_0x2e54b3['fromVersion']!==_0x36e8bf){const _0x405d85=this['_revisionDataBuilder']['getData'](_0x36e8bf,_0x2e54b3['toVersion']),_0xd19519={'id':_0x2e54b3['id'],'diffData':_0x405d85['diffData'],'authorsIds':_0x405d85['authorsIds'],'authors':_0x405d85['authorsIds']['map'](_0x54111d=>this['editor']['plugins']['get']('Users')['getUser'](_0x54111d)),'fromVersion':_0x36e8bf};_0x2e54b3===this['currentRevision']&&(_0xd19519['createdAt']=new Date(_0x55d174['createdAt']['getTime']()+0xa)),_0x2e54b3['_update'](_0xd19519,!0x0),delete _0xd19519['authors'],_0x3a9234['push'](_0xd19519);}}if(this['adapter']){for(const _0x49d12d of _0x3a9234)this['_bufferUpdate'](_0x49d12d['id'],_0x49d12d,!0x0);this['sendBufferedUpdates']();}return _0x1bccff;}['addRevisionData'](_0x1ab948){const _0x11f946=this['repository']['createRevision'](_0x1ab948);return this['adapter']&&_0x11f946['on']('_update',(_0x34e23b,_0x1ed8cc,_0x308d45)=>{_0x308d45||(this['_bufferUpdate'](_0x1ed8cc['id'],_0x1ed8cc,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x11f946,this['_findInsertionIndex'](_0x11f946)),_0x11f946;}async['getRevisionDocumentData'](_0x3d1d12){await this['_loadRevisionData'](_0x3d1d12);const _0x3a8465={};for(const _0x479a64 in _0x3d1d12['diffData']){if(_0x3d1d12['diffData'][_0x479a64]['attachChange']&&!_0x3d1d12['diffData'][_0x479a64]['attachChange']['isAttached'])continue;const _0x2006b6=this['_removeRevisionMarkers'](JSON['parse'](_0x3d1d12['diffData'][_0x479a64]['insertions'])),_0xe2ebb8=this['editor']['editing']['view']['document'],_0xd49725=new _0x3ee4e8(_0xe2ebb8,_0x2006b6['map'](_0x192e65=>B(_0x192e65,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x3a8465[_0x479a64]=this['editor']['data']['processor']['toData'](_0xd49725),this['editor']['data']['processor']['useFillerType']('default');}return _0x3a8465;}async['getRevisionRootsAttributes'](_0x23fcb0){await this['_loadRevisionData'](_0x23fcb0);const _0x5554d0={};for(const _0x543d42 in _0x23fcb0['diffData'])_0x23fcb0['diffData'][_0x543d42]['attachChange']&&!_0x23fcb0['diffData'][_0x543d42]['attachChange']['isAttached']||(_0x5554d0[_0x543d42]=_0x23fcb0['diffData'][_0x543d42]['attributesAfter']||{});return _0x5554d0;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x3f11ad=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x8e610d=0x0;_0x8e610d<_0x3f11ad['length'];_0x8e610d++){const _0x14efa4=_0x3f11ad[_0x8e610d];let _0xfbd7d=!0x1;for(const _0x4959e7 of Object['keys'](_0x14efa4))void 0x0===_0x14efa4[_0x4959e7]?delete _0x14efa4[_0x4959e7]:'id'!==_0x4959e7&&(_0xfbd7d=!0x0);_0xfbd7d||(_0x3f11ad[_0x8e610d]=null);}if(_0x3f11ad=_0x3f11ad['filter'](_0x399afd=>null!==_0x399afd),!_0x3f11ad['length'])return;for(let _0x5afee4=0x0;_0x5afee4<_0x3f11ad['length'];_0x5afee4++){const _0x10b879=_0x3f11ad[_0x5afee4];void 0x0!==_0x10b879['fromVersion']&&void 0x0===_0x10b879['toVersion']&&(_0x10b879['toVersion']=this['repository']['getRevision'](_0x10b879['id'])['toVersion']),void 0x0!==_0x10b879['toVersion']&&void 0x0===_0x10b879['fromVersion']&&(_0x10b879['fromVersion']=this['repository']['getRevision'](_0x10b879['id'])['fromVersion']);}const _0x5c7523=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x3f11ad,_0x5c7523)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x266b29=>{if(_0x266b29){for(const _0x270e5e of _0x266b29)this['setRevisionData']({'id':_0x270e5e['id'],'createdAt':_0x270e5e['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x55691b,_0xc7918){let _0x2f9d63=this['editor']['config']['get']('initialData'),_0x223cf9=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x2f9d63){_0x2f9d63={};for(const _0x5ec105 of this['editor']['model']['document']['getRootNames']())_0x2f9d63[_0x5ec105]='';}if('string'==typeof _0x2f9d63&&(_0x2f9d63={'main':_0x2f9d63}),void 0x0===_0x223cf9){_0x223cf9={};for(const _0x4fe60f of this['editor']['model']['document']['getRootNames']())_0x223cf9[_0x4fe60f]={};}let _0x46f675=!0x1;const _0x541b2d=Object['keys'](_0x2f9d63),_0x46683e=Object['keys'](_0x55691b);for(const _0x34596b of _0x541b2d){if(_0x2f9d63[_0x34596b]!==_0x55691b[_0x34596b]&&''!==_0x2f9d63[_0x34596b]['trim']()){_0x46f675=!0x0;break;}if(!_0x5130cc(_0x223cf9[_0x34596b],_0xc7918[_0x34596b])&&Object['keys'](_0x223cf9[_0x34596b])['length']>0x0){_0x46f675=!0x0;break;}}_0x46f675||(_0x46f675=_0x46683e['some'](_0x19a130=>!this['editor']['model']['document']['getRoot'](_0x19a130))),_0x46f675&&_0x28ec26('editor-initial-data-replaced-with-revision-data',{'editorData':_0x2f9d63,'editorRootsAttributes':_0x223cf9,'revisionData':_0x55691b,'revisionRootsAttributes':_0xc7918}),this['editor']['config']['set']('initialData',_0x55691b),this['editor']['config']['set']('rootsAttributes',_0xc7918);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x3534d7=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x3534d7['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x5eebbe){const _0x2c4038=this['repository']['getRevisions']();_0x2c4038['reverse']();let _0x4ebe88=0x0;for(;_0x4ebe88<_0x2c4038['length'];){const _0x4120d2=_0x2c4038[_0x4ebe88];if(_0x4120d2===this['currentRevision']){_0x4ebe88++;continue;}if(_0x4120d2['id']===this['_initialRevisionId'])break;const _0xccedf2=_0x5eebbe['toVersion']-_0x4120d2['toVersion']||_0x5eebbe['fromVersion']-_0x4120d2['fromVersion'];if(_0xccedf2>0x0)break;if(_0xccedf2<0x0)_0x4ebe88++;else{if(!_0x5eebbe['creator']&&_0x4120d2['creator'])break;if(_0x4120d2['creator']||!_0x5eebbe['creator']){if(_0x5eebbe['createdAt']>_0x4120d2['createdAt'])break;_0x4ebe88++;}else _0x4ebe88++;}}return _0x4ebe88;}['setRevisionData'](_0x507901){const _0x2c9796=this['repository']['getRevision'](_0x507901['id']);if(_0x507901['createdAt']&&(_0x507901['createdAt']=new Date(_0x507901['createdAt'])),_0x507901['authorsIds']){const _0x15087b=this['editor']['plugins']['get']('Users');_0x507901['authors']=_0x507901['authorsIds']['map'](_0x75ef2a=>_0x15087b['getUser'](_0x75ef2a));}_0x2c9796['_update'](_0x507901,!0x0);}['buildRevisionData']({revision:_0x413ff5=null,from:_0x385c23=null,to:_0x3e7615=null}){_0x385c23=null!==_0x385c23?_0x385c23:_0x413ff5['fromVersion'],_0x3e7615=null!==_0x3e7615?_0x3e7615:_0x413ff5['toVersion'];const _0xf31dde=this['_revisionDataBuilder']['getData'](_0x385c23,_0x3e7615),_0x4dd1df={'diffData':_0xf31dde['diffData'],'authorsIds':_0xf31dde['authorsIds'],'fromVersion':_0x385c23,'toVersion':_0x3e7615};if(!_0x413ff5||_0x3e7615!==_0x413ff5['toVersion']){const _0x453ed2=_0x3e7615-0x1,_0x4c3285=this['_source']['history']['getOperation'](_0x453ed2);_0x4dd1df['createdAt']=_0x4c3285&&_0x4c3285['createdAt']||new Date();}if(this['_loadedStateData']&&_0x385c23===this['_loadedStateData']['fromVersion']){for(const _0x40fc1c of this['_loadedStateData']['authors'])_0x4dd1df['authorsIds']['includes'](_0x40fc1c['id'])||_0x4dd1df['authorsIds']['push'](_0x40fc1c['id']);}return _0x4dd1df;}['_loadRevisionData'](_0x2abcdf){if(!_0x2abcdf||_0x2abcdf['diffData'])return Promise['resolve']();{const _0x3ef4b8=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3ef4b8,'revisionId':_0x2abcdf['id']})['then'](_0x34f591=>{_0x2abcdf['diffData']=_0x34f591['diffData'];});}}['_bufferUpdate'](_0x32e4f4,_0x56fd1b,_0x1dd000){if(this['_bufferedUpdates']['has'](_0x32e4f4)){const _0x28f933=this['_bufferedUpdates']['get'](_0x32e4f4);_0x56fd1b=_0x1dd000?{..._0x28f933,..._0x56fd1b}:{..._0x56fd1b,..._0x28f933};}this['_bufferedUpdates']['set'](_0x32e4f4,_0x56fd1b);}['_getFromVersion'](_0x404174){const _0x12965c=this['repository']['getRevisions']();_0x12965c['reverse'](),_0x12965c['shift']();const _0x3e1262=_0x12965c['find'](_0x2d9650=>_0x2d9650['toVersion']<=_0x404174)['toVersion'];return _0x3e1262<this['_startingVersion']?this['_startingVersion']:_0x3e1262;}['_createInitialRevision'](_0x57acf4){const _0x2c3d08=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x2c3d08)this['_initialRevisionId']=_0x2c3d08['id'];else{const _0x48b8d4=!this['editor']['model']['document']['roots']['find'](_0x288e8a=>this['editor']['model']['hasContent'](_0x288e8a)),_0x5cf101=this['editor']['plugins']['get']('Users')['me']['id'],_0x2a5e0a=y(this['editor']['locale'],_0x48b8d4?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x57acf4,'to':_0x57acf4,'id':this['_initialRevisionId'],'name':_0x2a5e0a,'creatorId':_0x5cf101});}}['_createCurrentRevision'](_0xaf8e36){const _0x45c6b6=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x45c6b6),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0xaf8e36,'to':_0xaf8e36,'id':_0x45c6b6,'name':'','creatorId':null}));}['_makeRevision']({name:_0x19db97,from:_0x2c0ff6,to:_0x38a6c3,creatorId:_0x5e445f,id:_0x45136e}){const _0x1ef557=this['buildRevisionData']({'from':_0x2c0ff6,'to':_0x38a6c3});_0x1ef557['name']=_0x19db97,_0x1ef557['creatorId']=_0x5e445f,_0x1ef557['id']=_0x45136e;const _0x19fab6=this['addRevisionData'](_0x1ef557);return this['adapter']&&this['_bufferUpdate'](_0x1ef557['id'],_0x1ef557,!0x0),_0x19fab6;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x3c41d4){return(_0x3c41d4=_0x3c41d4['filter'](_0xc9d0e8=>!_0xc9d0e8['name']||'revision-start'!==_0xc9d0e8['name']&&'revision-end'!==_0xc9d0e8['name']))['forEach'](_0x384576=>{'string'!=typeof _0x384576&&(_0x384576['children']=this['_removeRevisionMarkers'](_0x384576['children']),_0x384576['attributes']=_0x384576['attributes']['filter'](_0x1fd822=>!_0x1fd822[0x0]['startsWith']('data-revision-')));}),_0x3c41d4;}}function B(_0x5a70b5,_0x1a3ecb){const _0x5a3279=_0x1a3ecb['editing']['view']['document'];if('string'==typeof _0x5a70b5)return new _0x1b48bf(_0x5a3279,_0x5a70b5);{const _0x45d721=_0x5a70b5['children']['map'](_0x231cbe=>B(_0x231cbe,_0x1a3ecb));return new(T[_0x5a70b5['type']]||_0x5e0cca)(_0x5a3279,_0x5a70b5['name'],_0x5a70b5['attributes'],_0x45d721);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x230efe){this['editor']=_0x230efe,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'](_0x463bcc){this['source']=_0x463bcc;const _0x4aae76=new Map(),_0xc309c7=new Map(),_0x539e7a=this['editor']['model']['document']['roots']['map'](_0x455954=>_0x455954['rootName']);for(const _0x3b7e38 of _0x539e7a){const _0x44006c=this['editor']['model']['document']['getRoot'](_0x3b7e38),_0x24c137=q(_0x44006c);_0x4aae76['set'](_0x3b7e38,_0x24c137),_0xc309c7['set'](_0x3b7e38,Object['fromEntries'](_0x44006c['getAttributes']()));}const _0x1a5e72=Array['from'](this['editor']['model']['markers'])['map'](_0x5ccd5d=>[_0x5ccd5d['name'],_0x5ccd5d['getRange']()]),_0x27e285=this['source']['version'];this['_saveMetaData'](_0x27e285,_0x4aae76,_0x1a5e72,_0xc309c7),this['_startingRevisionId']=this['_revisionId'];const _0x3b5ad4=new Map(),_0x455c35=new Map();for(const _0x4230fc of _0x539e7a){const _0x5cac73=G(_0x4230fc);_0x3b5ad4['set'](_0x4230fc,_0x5cac73),_0x455c35['set'](_0x4230fc,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x3b5ad4,[],_0x455c35);}['getData'](_0x7f3d61,_0x3fe2f9){if(this['_lastFrom']===_0x7f3d61&&this['_lastTo']<=_0x3fe2f9)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x3fe2f9,!0x0);else{if(!this['_savedMetaData']['has'](_0x7f3d61)){const _0x300bc0=this['_getPreviousFrom'](_0x7f3d61);this['_calculateMetaData'](_0x300bc0,_0x7f3d61,!0x1);}this['_calculateMetaData'](_0x7f3d61,_0x3fe2f9,!0x0);}return this['_lastFrom']=_0x7f3d61,this['_lastTo']=_0x3fe2f9,this['_getState']();}['loadState'](_0xe5e22b){this['_reset'](),this['_lastFrom']=_0xe5e22b['fromVersion'],this['_lastTo']=_0xe5e22b['toVersion'];for(const _0x455941 in _0xe5e22b['diffData']){const _0x5187a0=_0xe5e22b['diffData'][_0x455941]['attachChange'],_0xe01a1a=_0xcc2041(_0xe5e22b['diffData'][_0x455941]['attributesBefore'])||{},_0xdb606b=this['_makeModelFromViewString'](_0xe5e22b['diffData'][_0x455941]['deletions']);_0xdb606b['rootName']=_0x455941,_0xdb606b['_isAttached']=!_0x5187a0||!_0x5187a0['isAttached'],_0xdb606b['isAttached']=()=>_0xdb606b['_isAttached'],this['_baseRoots']['set'](_0x455941,_0xdb606b),this['_baseRootsAttributes']['set'](_0x455941,_0xe01a1a),_0x5187a0&&this['_touchedRoots']['set'](_0x455941,_0x5187a0);const _0xcd79f5=this['_makeIdsRoot'](_0xdb606b);this['_baseIdsRoots']['set'](_0x455941,_0xcd79f5);for(const [_0x5c3857,_0x4758e4]of _0xdb606b['markers']){if(!_0x5c3857['startsWith']('revision:'))continue;const _0x302791=_0x5c3857['split'](':')[0x2];for(const _0xa887e of _0x4758e4['getWalker']({'singleCharacters':!0x0})){const _0x248e3c=this['_getVidAttributeName'](_0xa887e),_0x4cfc29='elementEnd'==_0xa887e['type']?_0xa887e['previousPosition']['path']['slice'](0x0,-0x1):_0xa887e['previousPosition']['path'],_0x2cf062=_0xcd79f5['getNodeByPath'](_0x4cfc29)['getAttribute'](_0x248e3c);this['_touched']['set'](_0x2cf062,{'userId':_0x302791});}}}this['_startingRevisionId']=this['_revisionId'];const _0x3cf23f=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x899b66=>!this['_touched']['has'](_0x899b66));let _0x543a06=0x0;const _0x3becb3=new Map();for(const _0x4e7d50 in _0xe5e22b['diffData']){const _0x5b1904=_0xe5e22b['diffData'][_0x4e7d50]['attachChange'],_0x145903=_0xcc2041(_0xe5e22b['diffData'][_0x4e7d50]['attributesAfter'])||{},_0x5f5876=this['_makeModelFromViewString'](_0xe5e22b['diffData'][_0x4e7d50]['insertions']);_0x5f5876['rootName']=_0x4e7d50,_0x5f5876['_isAttached']=!_0x5b1904||_0x5b1904['isAttached'],_0x5f5876['isAttached']=()=>_0x5f5876['_isAttached'],this['_diffRoots']['set'](_0x4e7d50,_0x5f5876),this['_diffRootsAttributes']['set'](_0x4e7d50,_0x145903);const _0x3daaa3=this['_makeIdsRoot'](_0x5f5876,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x4e7d50,_0x3daaa3),_0x3becb3['set'](_0x4e7d50,_0x5f5876['isAttached']()?_0x145903:{});for(const [_0x44c7d6,_0x3b61a0]of _0x5f5876['markers']){if(!_0x44c7d6['startsWith']('revision:'))continue;const _0x4f5ef2=_0x44c7d6['split'](':')[0x2];for(const _0x4a817e of _0x3b61a0['getWalker']({'singleCharacters':!0x0})){const _0x25d28f=this['_getVidAttributeName'](_0x4a817e),_0x1fbcd1=this['_revisionId']++,_0x49bf6c='elementEnd'==_0x4a817e['type']?_0x4a817e['previousPosition']['path']['slice'](0x0,-0x1):_0x4a817e['previousPosition']['path'];_0x3daaa3['getNodeByPath'](_0x49bf6c)['_setAttribute'](_0x25d28f,_0x1fbcd1),this['_touched']['set'](_0x1fbcd1,{'userId':_0x4f5ef2});}}for(const _0xad74d8 of this['editor']['model']['createRangeIn'](_0x5f5876)['getWalker']({'singleCharacters':!0x0})){const _0x22e467=this['_getVidAttributeName'](_0xad74d8),_0x11741e='elementEnd'==_0xad74d8['type']?_0xad74d8['previousPosition']['path']['slice'](0x0,-0x1):_0xad74d8['previousPosition']['path'],_0x5cb684=_0x3daaa3['getNodeByPath'](_0x11741e);_0x5cb684['getAttribute'](_0x22e467)>0x0||_0x5cb684['_setAttribute'](_0x22e467,_0x3cf23f[_0x543a06++]);}for(const [_0x9ca51d,_0x1bd64e]of _0x5f5876['markers'])_0x9ca51d['startsWith']('revision:')||this['_markers']['set'](_0x9ca51d,_0x1bd64e);}const _0x2631b8=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x2631b8),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x2631b8,0x1));const _0x55bea8=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x55bea8),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x55bea8,0x1));const _0x28e051=Array['from'](this['_diffRoots'])['map'](([_0x13bc4a,_0x16204a])=>[_0x13bc4a,q(_0x16204a)]);this['_saveMetaData'](this['_lastTo'],_0x28e051,this['_markers'],_0x3becb3);}['_makeModelFromViewString'](_0x2c9222){const _0x8e3989=JSON['parse'](_0x2c9222),_0x42350d=this['editor']['editing']['view']['document'],_0x5573d7=new _0x3ee4e8(_0x42350d,_0x8e3989['map'](_0xaee1c5=>B(_0xaee1c5,this['editor'])));return this['editor']['data']['toModel'](_0x5573d7);}['_saveMetaData'](_0x590c80,_0x28a14d,_0x29e90c,_0x3edd90){const _0x476de7=new Map(_0x28a14d),_0xf1d464=new Map(_0xcc2041(_0x3edd90)),_0x1d6cc5=new Map();for(const [_0x37c566,_0x204877]of _0x29e90c)_0x1d6cc5['set'](_0x37c566,{'start':_0x204877['start']['clone'](),'end':_0x204877['end']['clone'](),'rootName':_0x204877['root']['rootName']});this['_savedMetaData']['set'](_0x590c80,{'roots':_0x476de7,'markers':_0x1d6cc5,'rootsAttributes':_0xf1d464});}['_removeMetaData'](_0x57cdfa){this['_savedMetaData']['delete'](_0x57cdfa);}['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'](_0x6e1f6e,_0xf84b32=null){let _0x30b404=null;_0x6e1f6e['is']('documentFragment')||(_0x30b404=new ft(_0x6e1f6e['name'],{'vid_start':null===_0xf84b32?this['_revisionId']++:_0xf84b32++}));const _0x5b2836=[];for(const _0x201729 of _0x6e1f6e['getChildren']())if(_0x201729['is']('element')){_0x5b2836['push'](this['_makeIdsRoot'](_0x201729,_0xf84b32));const _0x208825=_0x5b2836[_0x5b2836['length']-0x1];null!==_0xf84b32&&(_0xf84b32=_0x208825['is']('element','$text')?_0x208825['getAttribute']('vid')+0x1:_0x208825['getAttribute']('vid_end')+0x1);}else{for(let _0x9ce340=0x0;_0x9ce340<_0x201729['offsetSize'];_0x9ce340++)_0x5b2836['push'](new ft('$text',{'vid':null===_0xf84b32?this['_revisionId']++:_0xf84b32++}));}if(_0x6e1f6e['is']('documentFragment')){const _0x39b068=G(_0x6e1f6e['rootName']);return _0x39b068['_insertChild'](0x0,_0x5b2836),_0x39b068;}return _0x30b404['_setAttribute']('vid_end',null===_0xf84b32?this['_revisionId']++:_0xf84b32++),_0x30b404['_insertChild'](0x0,_0x5b2836),_0x30b404;}['_calculateMetaData'](_0x100690,_0x26b3a4,_0x715b31){this['_reset']();const {roots:_0x2b8ac3,markers:_0x4c6ebe,rootsAttributes:_0x13b93d}=this['_savedMetaData']['get'](_0x100690);this['_baseRoots']=new Map(_0x2b8ac3),this['_baseRootsAttributes']=new Map(_0xcc2041(_0x13b93d));for(const [_0x80d24,_0x2fbb47]of this['_baseRoots'])if('$graveyard'!==_0x80d24&&(this['_diffRoots']['set'](_0x80d24,q(_0x2fbb47)),this['_diffRootsAttributes']=new Map(_0xcc2041(_0x13b93d)),_0x715b31)){const _0x1e7e05=this['_revisionId'];this['_idsRoots']['set'](_0x80d24,this['_makeIdsRoot'](_0x2fbb47)),this['_baseIdsRoots']['set'](_0x80d24,this['_makeIdsRoot'](_0x2fbb47,_0x1e7e05));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x715b31&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x3ebd22,_0x1a78c4]of _0x4c6ebe){const _0x2d70f9=this['_baseRoots']['get'](_0x1a78c4['rootName']),_0x9f972d=this['_diffRoots']['get'](_0x1a78c4['rootName']),_0x445916=new vt(this['_fixPosition'](_0x1a78c4['start'],_0x2d70f9),this['_fixPosition'](_0x1a78c4['end'],_0x2d70f9)),_0x3925ec=this['_fixRange'](_0x445916,_0x9f972d);_0x2d70f9['markers']['set'](_0x3ebd22,_0x445916),this['_markers']['set'](_0x3ebd22,_0x3925ec);}this['_applyOperations'](_0x100690,_0x26b3a4,_0x715b31);}['_applyOperations'](_0x3e1443,_0x10ac9a,_0x93cc31){for(const _0x7b3819 of this['source']['getOperations'](_0x3e1443,_0x10ac9a))this['_handleOperation'](_0x7b3819,_0x93cc31);for(const _0xd0615a of this['_diffRoots']['values']())_0xd0615a['markers']['clear']();for(const [_0x572a5e,_0x405a9b]of this['_markers']){this['_diffRoots']['get'](_0x405a9b['root']['rootName'])['markers']['set'](_0x572a5e,_0x405a9b['clone']());}const _0x527c12=new Map(),_0x42a074=new Map();for(const [_0x84145e,_0xae899d]of this['_diffRoots'])_0x527c12['set'](_0x84145e,q(_0xae899d)),_0x42a074['set'](_0x84145e,this['_diffRootsAttributes']['get'](_0x84145e));this['_saveMetaData'](_0x10ac9a,_0x527c12,this['_markers'],_0x42a074);}['_getPreviousFrom'](_0x39b2ba){const _0x511eca=Array['from'](this['_savedMetaData']['keys']());_0x511eca['sort']((_0x36b5ee,_0x4302c8)=>_0x36b5ee-_0x4302c8),_0x511eca['reverse']();for(const _0x273996 of _0x511eca)if(_0x273996<_0x39b2ba)return _0x273996;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0xc16145,_0x5881b4){const _0x2d7e7e=Array['from'](_0x5881b4['markers'])['map'](([_0x46aa70,_0xeb295f])=>[_0x46aa70,this['_fixRange'](_0xeb295f,_0xc16145)]);_0xc16145['markers']=new Map(_0x2d7e7e);}['_transformMarkers'](_0x336e36){for(const _0x23db1b of this['_markers']['values']()){const _0x38d783=_0x23db1b['getTransformedByOperation'](_0x336e36),_0x36da73=vt['_createFromRanges'](_0x38d783);_0x23db1b['start']=_0x36da73['start'],_0x23db1b['end']=_0x36da73['end'];}}['_handleOperation'](_0x2a5997,_0x55b469){if('addRoot'==_0x2a5997['type']||'detachRoot'==_0x2a5997['type'])return void this['_handleRootOperation'](_0x2a5997,_0x55b469);if('insert'==_0x2a5997['type']){const _0x270dcc=_0x2a5997['position']['root']['rootName'];this['_diffRoots']['has'](_0x270dcc)||(this['_diffRoots']['set'](_0x270dcc,G(_0x270dcc,!0x0)),this['_diffRootsAttributes']['set'](_0x270dcc,{}),_0x55b469&&this['_idsRoots']['set'](_0x270dcc,G(_0x270dcc,!0x0)));}else{if('addRootAttribute'==_0x2a5997['type']||'removeRootAttribute'==_0x2a5997['type']||'changeRootAttribute'==_0x2a5997['type'])return void this['_handleRootAttributeOperation'](_0x2a5997);}const _0x3716a1=this['_cloneOperation'](_0x2a5997,this['_diffRoots']);if('marker'!==_0x2a5997['type']&&(_0x3716a1['_execute'](),this['_transformMarkers'](_0x3716a1)),_0x55b469)switch(_0x3716a1['type']){case'insert':this['_handleInsertOperation'](_0x2a5997);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x2a5997);break;case'merge':this['_handleMergeOperation'](_0x2a5997);break;case'split':this['_handleSplitOperation'](_0x2a5997);break;case'marker':this['_handleMarkerOperation'](_0x2a5997);}}['_cloneOperation'](_0x4aa943,_0xc6ab1b){const _0x5b97bb=_0x4aa943['clone']();return _0x5b97bb['_authorId']=_0x4aa943['_authorId'],this['_fixOperation'](_0x5b97bb,_0xc6ab1b),_0x5b97bb;}['_getBaseVids'](_0x2a15b9){return _0x2a15b9['map'](_0x32824a=>{const _0x33ec14=this['_getVidAttributeName'](_0x32824a);return Number(_0x32824a['item']['getAttribute'](_0x33ec14));});}['_generateTape'](_0x36e774,_0x211bda){if(_0x36e774['is']('element','$text'))_0x211bda['push']({'item':_0x36e774,'type':'text'});else{_0x36e774['is']('element')&&_0x211bda['push']({'item':_0x36e774,'type':'elementStart'});for(const _0x2711c2 of _0x36e774['getChildren']())this['_generateTape'](_0x2711c2,_0x211bda);_0x36e774['is']('element')&&_0x211bda['push']({'item':_0x36e774,'type':'elementEnd'});}return _0x211bda;}['_getState'](){const _0x3303c7=new Map(this['_touched']),_0x24426e=new Map(_0x3303c7),_0x51ac6d=new Map(),_0x3b3ac1={'insertions':{},'deletions':{}},_0x4e94c5={'insertions':{},'deletions':{}},_0x37f1f1=new Map(),_0x4b8cd8=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x4b8cd8['delete']('$graveyard');for(const _0x42ef3c of _0x4b8cd8){const _0x49cd2e=this['_diffRoots']['get'](_0x42ef3c)||G(_0x42ef3c,!0x1),_0xdbe70f=this['_baseRoots']['get'](_0x42ef3c)||G(_0x42ef3c,!0x1);_0x49cd2e['isAttached']()||_0xdbe70f['isAttached']()?(_0x3b3ac1['insertions'][_0x42ef3c]=q(_0x49cd2e),_0x3b3ac1['deletions'][_0x42ef3c]=q(_0xdbe70f),this['_copyMarkers'](_0x3b3ac1['deletions'][_0x42ef3c],_0xdbe70f),this['_copyMarkers'](_0x3b3ac1['insertions'][_0x42ef3c],_0x49cd2e),_0x4e94c5['insertions'][_0x42ef3c]=this['_generateTape'](this['_idsRoots']['get'](_0x42ef3c),[]),_0x4e94c5['deletions'][_0x42ef3c]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x42ef3c)||G(_0x42ef3c,!0x1),[])):_0x4b8cd8['delete'](_0x42ef3c);}for(const _0x19a345 of _0x4b8cd8){const _0xbb0176=_0x4e94c5['insertions'][_0x19a345];for(const _0x249d73 of _0xbb0176){const _0x3c021a=this['_getVidAttributeName'](_0x249d73),_0x3c8cd0=_0x249d73['item']['getAttribute'](_0x3c021a);_0x24426e['delete'](_0x3c8cd0),_0x3c8cd0>=this['_startingRevisionId']&&_0x51ac6d['set'](_0x3c8cd0,_0x3303c7['get'](_0x3c8cd0));}}for(const _0x4d1be9 of _0x4b8cd8){const _0x544fac=_0x4e94c5['insertions'][_0x4d1be9],_0x488213=this['_getBaseVids'](_0x4e94c5['deletions'][_0x4d1be9]);let _0x51f4c8=0x0;for(const _0x564c2a of _0x544fac){const _0x2273ae=this['_getVidAttributeName'](_0x564c2a),_0x4c6d7a=_0x564c2a['item']['getAttribute'](_0x2273ae);if(!_0x51ac6d['has'](_0x4c6d7a)&&!_0x37f1f1['has'](_0x4c6d7a)){if(_0x24426e['has'](_0x4c6d7a))_0x51f4c8++;else{if(_0x4c6d7a!=_0x488213[_0x51f4c8]){const _0xc08fac=_0x3303c7['get'](_0x4c6d7a)||_0x3303c7['get'](_0x488213[_0x51f4c8]);for(;_0x4c6d7a!=_0x488213[_0x51f4c8];)_0x24426e['has'](_0x488213[_0x51f4c8])||(_0x37f1f1['set'](_0x488213[_0x51f4c8],_0xc08fac),_0x3303c7['set'](_0x488213[_0x51f4c8],_0xc08fac)),_0x51f4c8++;}_0x51f4c8++;}}}}for(const _0x4daf44 of _0x4b8cd8){const _0x4a5180=_0x4e94c5['insertions'][_0x4daf44];for(const _0x45772e of _0x4a5180){const _0x11231f=this['_getVidAttributeName'](_0x45772e),_0x374834=_0x45772e['item']['getAttribute'](_0x11231f);if(_0x37f1f1['has'](_0x374834)){const _0x475d6d=_0x37f1f1['get'](_0x374834);_0x24426e['has'](_0x374834)||_0x24426e['set'](_0x374834,{..._0x475d6d}),_0x51ac6d['set'](_0x374834,{..._0x475d6d});}}}for(const _0x31c8e0 of _0x24426e['keys']())_0x31c8e0>=this['_startingRevisionId']&&_0x24426e['delete'](_0x31c8e0);const _0x4b23f8=new Map();for(const _0xe2e20e of _0x4b8cd8){let _0x169378=_0x4e94c5['insertions'][_0xe2e20e];for(const _0x5b8715 of _0x169378)if(_0x5b8715['item']['is']('element','tableCell')){const _0x5d2efc=this['_getVidAttributeName'](_0x5b8715),_0x600e11=_0x5b8715['item']['getAttribute'](_0x5d2efc);if(_0x51ac6d['has'](_0x600e11)){const _0x49fa10=_0x5b8715['item']['parent']['parent']['getAttribute']('vid_start'),_0x509070=_0x4b23f8['get'](_0x49fa10)||new Set();_0x509070['add'](_0x51ac6d['get'](_0x600e11)['userId']),_0x4b23f8['set'](_0x49fa10,_0x509070);}}_0x169378=_0x4e94c5['deletions'][_0xe2e20e];for(const _0x5e2187 of _0x169378)if(_0x5e2187['item']['is']('element','tableCell')){const _0x51cdee=this['_getVidAttributeName'](_0x5e2187),_0x205e5f=_0x5e2187['item']['getAttribute'](_0x51cdee);if(_0x24426e['has'](_0x205e5f)){const _0x39ac82=_0x5e2187['item']['parent']['parent']['getAttribute']('vid_start'),_0x241628=_0x4b23f8['get'](_0x39ac82)||new Set();_0x241628['add'](_0x24426e['get'](_0x205e5f)['userId']),_0x4b23f8['set'](_0x39ac82,_0x241628);}}for(const _0x5daa1b of _0x4b23f8['keys']())(_0x51ac6d['has'](_0x5daa1b)||_0x24426e['has'](_0x5daa1b))&&_0x4b23f8['delete'](_0x5daa1b);}for(const _0x535f78 of _0x4b8cd8){const _0x36c762=_0x4e94c5['insertions'][_0x535f78];let _0x11522f=null,_0x40f397=null;for(const _0x5b0ec8 of _0x36c762){const _0x2270ee=this['_getVidAttributeName'](_0x5b0ec8),_0x222d8a=_0x5b0ec8['item']['getAttribute'](_0x2270ee),_0x308415=_0x4b23f8['get'](_0x222d8a);_0x308415&&'elementStart'==_0x5b0ec8['type']&&(_0x11522f=Array['from'](_0x308415)[0x0],_0x40f397=_0x5b0ec8['item']['getAttribute']('vid_end')),_0x11522f&&(_0x24426e['set'](_0x222d8a,{'userId':_0x11522f}),_0x51ac6d['set'](_0x222d8a,{'userId':_0x11522f})),_0x222d8a==_0x40f397&&(_0x11522f=null,_0x40f397=null);}}const _0x570f6a={},_0x154512=new Set();for(const _0x55b5ec of _0x4b8cd8){const _0x195a47=_0x3b3ac1['deletions'][_0x55b5ec],_0x4b3245=_0x3b3ac1['insertions'][_0x55b5ec];for(const {userId:_0xfad2bd}of this['_touchedMarkers']['values']())null!==_0xfad2bd&&_0x154512['add'](_0xfad2bd);for(const {userId:_0x4749f7}of this['_touchedRoots']['values']())null!==_0x4749f7&&_0x154512['add'](_0x4749f7);this['_markChanges'](_0x4b3245,_0x4e94c5['insertions'][_0x55b5ec],_0x51ac6d,'insertion',_0x154512),this['_markChanges'](_0x195a47,_0x4e94c5['deletions'][_0x55b5ec],_0x24426e,'deletion',_0x154512),_0x570f6a[_0x55b5ec]={'insertions':this['_prepareViewToSave'](_0x4b3245),'deletions':this['_prepareViewToSave'](_0x195a47),'attachChange':this['_touchedRoots']['get'](_0x55b5ec)||null,'attributesBefore':_0xcc2041(this['_baseRootsAttributes']['get'](_0x55b5ec))||{},'attributesAfter':_0xcc2041(this['_diffRootsAttributes']['get'](_0x55b5ec))};}return{'diffData':_0x570f6a,'authorsIds':Array['from'](_0x154512)};}['_processRootBeforeSave'](_0x56ef23){for(const [,_0x4628ad]of _0x56ef23['markers']){const _0x3a0bac=_0x4628ad['start']['getAncestors']()['filter'](_0x167d2d=>'tableCell'==_0x167d2d['name']);for(const _0x299de5 of _0x3a0bac)0x1==_0x299de5['childCount']&&_0x299de5['getChild'](0x0)['is']('element','paragraph')&&_0x299de5['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x42ccfd){this['_processRootBeforeSave'](_0x42ccfd);const _0x5d6f9b=this['editor']['data']['toView'](_0x42ccfd,{}),_0x3da976=Array['from'](_0x5d6f9b['getChildren']())['map'](_0x5f10d1=>this['_getViewJson'](_0x5f10d1));return JSON['stringify'](_0x3da976);}['_getViewJson'](_0x5bb97e){if(_0x5bb97e['is']('$text'))return _0x5bb97e['data'];{const _0x4b06a3=_0x5bb97e;return{'type':Object['keys'](T)['find'](_0x568c16=>_0x5bb97e instanceof T[_0x568c16]),'name':_0x4b06a3['name'],'attributes':Array['from'](_0x4b06a3['getAttributes']()),'children':Array['from'](_0x4b06a3['getChildren']())['map'](_0x2b141f=>this['_getViewJson'](_0x2b141f))};}}['_markChanges'](_0x42b56d,_0x55d85e,_0x39b738,_0x12f2f7,_0x3d87a3){let _0x876a57=null,_0x2a73ac=null,_0x546d34=0x0;const _0x21166e=this['editor']['model'];for(let _0x484dac=0x0;_0x484dac<_0x55d85e['length'];_0x484dac++){const _0x55ee8a=this['_getVidAttributeName'](_0x55d85e[_0x484dac]),_0x3cf57f=_0x55d85e[_0x484dac]['item']['getAttribute'](_0x55ee8a),_0x431c0e=_0x39b738['get'](_0x3cf57f),_0x26f81a=_0x484dac==_0x55d85e['length']-0x1;(!_0x876a57&&_0x431c0e&&(_0x876a57=_0x431c0e,_0x2a73ac=_0x55d85e[_0x484dac]),_0x876a57&&(!_0x431c0e||_0x431c0e['userId']!=_0x876a57['userId']))&&(_0x2ae30d(_0x431c0e,L(_0x2a73ac,_0x42b56d,_0x21166e),L(_0x55d85e[_0x484dac],_0x42b56d,_0x21166e)),_0x876a57=_0x431c0e||null,_0x2a73ac=_0x431c0e?_0x55d85e[_0x484dac]:null),_0x876a57&&_0x26f81a&&_0x2ae30d(_0x431c0e,L(_0x2a73ac,_0x42b56d,_0x21166e),W(_0x55d85e[_0x484dac],_0x42b56d,_0x21166e));}function _0x2ae30d(_0x3284dd,_0x2b6aa2,_0x4fd083){const _0x55db54=_0x876a57['userId'],_0x1acf4f='revision:'+_0x12f2f7+':'+_0x55db54+':'+_0x546d34++,_0x6c24a4=_0x21166e['createRange'](_0x2b6aa2,_0x4fd083);_0x42b56d['markers']['set'](_0x1acf4f,_0x6c24a4),null!==_0x55db54&&_0x3d87a3['add'](_0x55db54);}}['_getVidAttributeName'](_0x46be39){switch(_0x46be39['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0xcbbbee,_0x42ebd7){_0xcbbbee['baseVersion']=null;for(const _0x37c812 in _0xcbbbee){const _0x2c66ac=_0xcbbbee[_0x37c812];if(_0x2c66ac instanceof gt){const _0x2f96a4=_0x42ebd7['get'](_0x2c66ac['root']['rootName']);_0xcbbbee[_0x37c812]=this['_fixPosition'](_0x2c66ac,_0x2f96a4);}if(_0x2c66ac instanceof vt){const _0x46b01e=_0x42ebd7['get'](_0x2c66ac['root']['rootName']);_0xcbbbee[_0x37c812]=this['_fixRange'](_0x2c66ac,_0x46b01e);}'root'===_0x37c812&&(_0xcbbbee['root']=_0x42ebd7['get'](_0xcbbbee['root']['rootName']));}}['_fixRange'](_0x47a0b0,_0xd0091f){return this['editor']['model']['createRange'](this['_fixPosition'](_0x47a0b0['start'],_0xd0091f),this['_fixPosition'](_0x47a0b0['end'],_0xd0091f));}['_fixPosition'](_0x3fcae0,_0x48b547){return this['editor']['model']['createPositionFromPath'](_0x48b547,_0x3fcae0['path'],_0x3fcae0['stickiness']);}['_handleInsertOperation'](_0x465940){const _0x5e6139=this['_idsRoots']['get'](_0x465940['position']['root']['rootName']),_0x29c6df=this['_fixPosition'](_0x465940['position'],_0x5e6139),_0x15d7b9=null===_0x465940['_authorId']?null:_0x465940['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5ea3f3=_0x29c6df['parent'],_0xf470a8=this['_revisionId'],_0x563367=[];for(const _0x2be4ab of _0x465940['nodes'])if(_0x2be4ab['is']('element'))_0x563367['push'](this['_makeIdsRoot'](_0x2be4ab));else{for(let _0x3bf5d1=0x0;_0x3bf5d1<_0x2be4ab['offsetSize'];_0x3bf5d1++)_0x563367['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x20f39a=this['_revisionId'];for(let _0x581ff3=_0xf470a8;_0x581ff3<_0x20f39a;_0x581ff3++)this['_touched']['set'](_0x581ff3,{'userId':_0x15d7b9});_0x5ea3f3['_insertChild'](_0x29c6df['offset'],_0x563367);}['_handleMoveOperation'](_0x3f316b){(_0x3f316b=this['_cloneOperation'](_0x3f316b,this['_idsRoots']))['_execute']();const _0x2d3fa0=null===_0x3f316b['_authorId']?null:_0x3f316b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x21779f=_0x3f316b['getMovedRangeStart'](),_0xe88078=_0x21779f['parent'],_0x5eca41=_0x21779f['offset'];!function _0x1a75cf(_0x4498a6,_0x12c59a,_0xecc574,_0x1e5bbd){for(let _0x2afca5=_0xecc574;_0x2afca5<_0x1e5bbd;_0x2afca5++){const _0x278d10=_0x12c59a['getChild'](_0x2afca5);_0x278d10['is']('element','$text')?_0x4498a6['set'](_0x278d10['getAttribute']('vid'),{'userId':_0x2d3fa0}):(_0x4498a6['set'](_0x278d10['getAttribute']('vid_start'),{'userId':_0x2d3fa0}),_0x1a75cf(_0x4498a6,_0x278d10,0x0,_0x278d10['childCount']),_0x4498a6['set'](_0x278d10['getAttribute']('vid_end'),{'userId':_0x2d3fa0}));}}(this['_touched'],_0xe88078,_0x5eca41,_0x5eca41+_0x3f316b['howMany']);}['_handleMergeOperation'](_0x40850d){const _0x1c7140=null===(_0x40850d=this['_cloneOperation'](_0x40850d,this['_idsRoots']))['_authorId']?null:_0x40850d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1d1ffe=_0x40850d['targetPosition']['parent'],_0x293dd8=_0x40850d['sourcePosition']['parent'],_0x16dfa0=_0x1d1ffe['getAttribute']('vid_end'),_0x1624e7=_0x293dd8['getAttribute']('vid_start');_0x1d1ffe['_setAttribute']('vid_end',_0x293dd8['getAttribute']('vid_end')),_0x293dd8['_setAttribute']('vid_end',_0x16dfa0),this['_touched']['set'](_0x1624e7,{'userId':_0x1c7140}),this['_touched']['set'](_0x16dfa0,{'userId':_0x1c7140}),_0x40850d['_execute']();}['_handleSplitOperation'](_0x3311ca){const _0xa0c7cc=null===(_0x3311ca=this['_cloneOperation'](_0x3311ca,this['_idsRoots']))['_authorId']?null:_0x3311ca['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x58f632=_0x3311ca['graveyardPosition'],_0x2bc486=_0x3311ca['splitPosition']['parent'];_0x3311ca['_execute']();const _0x42aa6b=_0x2bc486['getAttribute']('vid_end'),_0x425f90=_0x3311ca['insertionPosition']['nodeAfter'];if(_0x58f632){const _0x52961c=_0x425f90['getAttribute']('vid_end'),_0x188c6d=_0x2bc486['getAttribute']('vid_end');_0x2bc486['_setAttribute']('vid_end',_0x52961c),_0x425f90['_setAttribute']('vid_end',_0x188c6d),this['_touched']['set'](_0x2bc486['getAttribute']('vid_end'),{'userId':_0xa0c7cc}),this['_touched']['set'](_0x425f90['getAttribute']('vid_start'),{'userId':_0xa0c7cc});}else{const _0x3eac7d=this['_revisionId']++,_0x33dcf8=this['_revisionId']++;_0x2bc486['_setAttribute']('vid_end',_0x3eac7d),_0x425f90['_setAttribute']('vid_start',_0x33dcf8),_0x425f90['_setAttribute']('vid_end',_0x42aa6b),this['_touched']['set'](_0x3eac7d,{'userId':_0xa0c7cc}),this['_touched']['set'](_0x33dcf8,{'userId':_0xa0c7cc});}}['_handleMarkerOperation'](_0x4d3862){if(!_0x4d3862['affectsData'])return;const _0x42d5c2=(_0x4d3862=this['_cloneOperation'](_0x4d3862,this['_diffRoots']))['oldRange']?_0x4d3862['oldRange']['root']:null,_0x5adf7f=_0x4d3862['newRange']?_0x4d3862['newRange']['root']:null;_0x42d5c2&&this['_markers']['delete'](_0x4d3862['name']),_0x5adf7f&&this['_markers']['set'](_0x4d3862['name'],_0x4d3862['newRange']['clone']());const _0x45536e=null===_0x4d3862['_authorId']?null:_0x4d3862['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5d58b6=_0x4d3862['name'];if(!this['_touchedMarkers']['has'](_0x5d58b6))return void this['_touchedMarkers']['set'](_0x5d58b6,{'range':_0x4d3862['oldRange'],'userId':_0x45536e});const _0x428b46=this['_touchedMarkers']['get'](_0x5d58b6),_0x168f7a=_0x428b46['range'],_0x323924=_0x4d3862['newRange'];null==_0x168f7a&&null==_0x323924||_0x168f7a&&_0x323924&&_0x168f7a['isEqual'](_0x323924)?this['_touchedMarkers']['delete'](_0x4d3862['name']):_0x428b46['userId']=_0x45536e;}['_handleRootOperation'](_0x16c81d,_0x5f1b61){this['_diffRoots']['has'](_0x16c81d['rootName'])?this['_diffRoots']['get'](_0x16c81d['rootName'])['_isAttached']=_0x16c81d['isAdd']:(this['_diffRoots']['set'](_0x16c81d['rootName'],G(_0x16c81d['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x16c81d['rootName'],{}),_0x5f1b61&&this['_idsRoots']['set'](_0x16c81d['rootName'],G(_0x16c81d['rootName'],!0x0)));const _0x38c64e=null===_0x16c81d['_authorId']?null:_0x16c81d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4a920b=this['_touchedRoots']['get'](_0x16c81d['rootName']);_0x4a920b&&_0x4a920b['userId']===_0x38c64e?this['_touchedRoots']['delete'](_0x16c81d['rootName']):this['_touchedRoots']['set'](_0x16c81d['rootName'],{'userId':_0x38c64e,'isAttached':_0x16c81d['isAdd']});}['_handleRootAttributeOperation'](_0x5b9122){const _0x306cad=this['_diffRootsAttributes']['get'](_0x5b9122['root']['rootName']);null===_0x5b9122['newValue']?delete _0x306cad[_0x5b9122['key']]:_0x306cad[_0x5b9122['key']]=_0x5b9122['newValue'];}}function q(_0x4b7f6c){const _0x1e42f7=G(_0x4b7f6c['rootName'],_0x4b7f6c['isAttached']());for(const _0x5b6225 of _0x4b7f6c['getChildren']()){const _0x146588=_0x5b6225['_clone'](!0x0);_0x1e42f7['_appendChild'](_0x146588);}return _0x1e42f7;}function G(_0x3c9de3,_0x54e9f2=!0x0){const _0x215b0d=new wt();return _0x215b0d['rootName']=_0x3c9de3,_0x215b0d['_isAttached']=_0x54e9f2,_0x215b0d['isAttached']=()=>_0x215b0d['_isAttached'],_0x215b0d;}function L(_0x279a05,_0x4675b2,_0x296c00){const _0x35064b='elementEnd'==_0x279a05['type']?_0x296c00['createPositionAt'](_0x279a05['item'],'end'):_0x296c00['createPositionBefore'](_0x279a05['item']);return _0x296c00['createPositionFromPath'](_0x4675b2,_0x35064b['path'],_0x35064b['stickiness']);}function W(_0x42b733,_0x34b140,_0x3fc62b){const _0x23d1b9='elementStart'==_0x42b733['type']?_0x3fc62b['createPositionAt'](_0x42b733['item'],0x0):_0x3fc62b['createPositionAfter'](_0x42b733['item']);return _0x3fc62b['createPositionFromPath'](_0x34b140,_0x23d1b9['path'],_0x23d1b9['stickiness']);}class ns extends _0x347dad{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x972d31,_0x4037c5){super(_0x972d31),this['focusTracker']=new _0x554f65(),this['keystrokes']=new _0xd2e2e4(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x4037c5),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'](),_0x1a36f3({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0xdc8ffd=_0x4a1af8=>_0x4a1af8['stopPropagation']();this['keystrokes']['set']('arrowright',_0xdc8ffd),this['keystrokes']['set']('arrowleft',_0xdc8ffd),this['keystrokes']['set']('arrowup',_0xdc8ffd),this['keystrokes']['set']('arrowdown',_0xdc8ffd);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x16c759){this['revisionNameInputView']['fieldView']['element']['value']=_0x16c759['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x4270a5){const _0x4ca66e=new at(this['locale'],_0x18da03),_0x1a47a7=_0x4ca66e['fieldView'];_0x1a47a7['extendTemplate']({'attributes':{'maxlength':'220'}});let _0xfd1684=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x4270a5&&(_0xfd1684+='\x20('+y(this['locale'],'optional')+')'),(_0x4ca66e['label']=_0xfd1684,_0x1a47a7['on']('input',()=>{this['revisionNameInputValue']=_0x1a47a7['element']['value']['trim']();}),_0x4ca66e);}}class u extends _0x5be8fc{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x5503c2=this['editor'],_0x263ac2=_0x5503c2['plugins']['get']('RevisionTracker');_0x5503c2['ui']['componentFactory']['add']('revisionHistory',_0x1a0e0c=>{const _0x3cf08d=_0x492605(_0x1a0e0c),_0x57dc00=_0x3cf08d['panelView']['children'],_0x312949=new te(_0x1a0e0c),_0x15f90e=new _0x28241a(_0x1a0e0c),_0x73b1d9=new _0x3908eb(_0x1a0e0c),_0x576ae5=new _0x28241a(_0x1a0e0c),_0x4eaae2=new _0x3908eb(_0x1a0e0c);return _0x3cf08d['bind']('isEnabled')['to'](_0x263ac2,'isReady',_0x263ac2,'isEnabled',_0x5503c2,'isReadOnly',(_0x3257a2,_0x4f5688,_0x41e9ac)=>_0x3257a2&&_0x4f5688&&!_0x41e9ac),_0x3cf08d['buttonView']['set']({'icon':_0x57278e['history'],'label':y(_0x1a0e0c,'Revision\x20history'),'tooltip':!0x0}),_0x73b1d9['set']({'label':y(_0x1a0e0c,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x73b1d9['bind']('isEnabled')['to'](_0x263ac2,'isReady',_0x263ac2,'isEnabled',_0x5503c2,'isReadOnly',(_0xdafbb7,_0x354872,_0x3d6f68)=>_0xdafbb7&&_0x354872&&!_0x3d6f68),_0x73b1d9['on']('execute',()=>this['_showDialog']()),_0x4eaae2['set']({'label':y(_0x1a0e0c,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x4eaae2['bind']('isEnabled')['to'](_0x263ac2,'isReady',_0x5503c2,'isReadOnly',(_0x20f949,_0xafac73)=>_0x20f949&&!_0xafac73),_0x4eaae2['on']('execute',()=>{_0x5503c2['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x3cf08d['isOpen']=!0x1,_0x5503c2['editing']['view']['focus']();}),_0x15f90e['children']['add'](_0x73b1d9),_0x576ae5['children']['add'](_0x4eaae2),_0x312949['role']='menu',_0x312949['items']['addMany']([_0x15f90e,_0x576ae5]),_0x57dc00['add'](_0x312949),_0x3cf08d;}),_0x5503c2['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x26a1fd=this['editor'],_0x402261=_0x26a1fd['locale'],_0x44d90c=new _0x1e95b4(_0x402261),_0x5dfb12=new _0x14e717(_0x402261);_0x44d90c['buttonView']['set']({'icon':_0x57278e['history'],'label':y(_0x402261,'Revision\x20history')});const _0x150bf2=new _0x262f99(_0x402261,_0x44d90c),_0x5f4508=new _0x3befa5(_0x402261);_0x5f4508['set']({'label':y(_0x402261,'Save\x20current\x20revision')}),_0x5f4508['delegate']('execute')['to'](_0x44d90c),_0x5f4508['on']('execute',()=>{this['_showDialog']();}),_0x150bf2['children']['add'](_0x5f4508),_0x5dfb12['items']['add'](_0x150bf2);const _0x3487b8=new _0x262f99(_0x402261,_0x44d90c),_0x5a3007=new _0x3befa5(_0x402261);return _0x5a3007['set']({'label':y(_0x402261,'Open\x20revision\x20history')}),_0x5a3007['delegate']('execute')['to'](_0x44d90c),_0x5a3007['on']('execute',()=>{_0x26a1fd['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x3487b8['children']['add'](_0x5a3007),_0x5dfb12['items']['add'](_0x3487b8),_0x44d90c['panelView']['children']['add'](_0x5dfb12),_0x44d90c;}['_showDialog'](){const _0x132e04=this['editor'],_0x51e7ba=_0x132e04['locale'],t=_0x51e7ba['t'],_0x23983e=_0x132e04['plugins']['get']('Dialog'),_0x5d82f9=_0x132e04['plugins']['get']('RevisionTracker');function _0x43cbac(_0xa64443){_0x132e04['config']['get']('revisionHistory.requireRevisionName')&&''===_0xa64443['revisionName']?_0xa64443['revisionNameInputView']['errorText']=y(_0x51e7ba,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x132e04['plugins']['get'](l)['saveRevision']({'name':_0xa64443['revisionName']}),_0x23983e['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x43cbac(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x23983e['show']({'id':'findAndReplace','title':y(_0x51e7ba,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x23983e['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x1d9997){_0x1d9997['bind']('isEnabled')['to'](_0x5d82f9,'isReady',_0x5d82f9,'isEnabled',_0x132e04,'isReadOnly',(_0xb7cfff,_0x7a1bc,_0x1cd7f1)=>_0xb7cfff&&_0x7a1bc&&!_0x1cd7f1);},'onExecute':()=>_0x43cbac(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x5a276f=this['editor'],_0x349d62=_0x5a276f['locale'];this['_saveRevisionFormView']=new ns(_0x349d62,_0x5a276f['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x347dad{['changeId'];['_model'];constructor(_0x45acbc,_0x2debf3){super(_0x45acbc),this['_model']=_0x2debf3,this['changeId']=_0x2debf3['id'];const _0x302a9d=this['bindTemplate'],_0x1c3e0e=y(_0x45acbc,_0x2debf3['data']['isSuggestion']?'Suggested\x20by':'add'==_0x2debf3['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x2debf3['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x302a9d['to']('type',_0x5f05b6=>'ck-revision-change__'+_0x5f05b6)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x1c3e0e}]},{'text':'\x20'+_0x2debf3['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x5e2d5c(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x2bb303){super(),this['id']=_0x2bb303['id']||_0x2b22ca(),this['author']=_0x2bb303['author'],this['type']=_0x2bb303['type'],this['data']=_0x2bb303['data']||{},this['rootName']=_0x2bb303['rootName'],this['set']('createdAt',_0x2bb303['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(_0x245e50,_0x47d6ba){this['newRevisionId']=_0x245e50,this['oldRevisionId']=_0x47d6ba,this['changes']=new _0x51a9b0();}['_setChanges'](_0x4e8d44){for(const _0x223012 of _0x4e8d44)this['changes']['add'](_0x223012);}}const tt={'c':_0x11836d,'a':_0xd762ba,'e':_0x2ab6e4,'r':_0x47e883,'u':_0xce5410};class d extends _0x5be8fc{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x28a5da,_0x5cda6f,A];}constructor(_0x913f11){super(_0x913f11),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',(_0x6b8b22,_0x434448,_0x18745c)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x1c9211=>{for(const _0x2ae1a5 of this['editor']['editing']['view']['document']['roots'])_0x18745c?_0x1c9211['removeClass']('ck-editor__editable__overlay',_0x2ae1a5):_0x1c9211['addClass']('ck-editor__editable__overlay',_0x2ae1a5);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x32cdd4=>null!==_0x32cdd4),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x7628b7,_0xbf49df,_0x3b30cb)=>_0x7628b7&&_0x3b30cb?_0xbf49df['changes']['getIndex'](_0x3b30cb):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x3c0e1f,_0x466405)=>_0x3c0e1f?_0x466405['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x5cda6f);}['init'](){const _0x193aa2=this['editor'],_0x20fc85=new yt(_0x193aa2,{'direction':'backward'}),_0x4ac224=new yt(_0x193aa2,{'direction':'forward'});(_0x193aa2['commands']['add']('showPreviousChange',_0x20fc85),_0x193aa2['commands']['add']('showNextChange',_0x4ac224),_0x193aa2['commands']['add']('restoreRevision',new bt(_0x193aa2)),this['on']('change:numberOfChanges',()=>{_0x20fc85['refresh'](),_0x4ac224['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x193aa2['enableReadOnlyMode']('revision-viewer'),_0x193aa2['plugins']['has']('WidgetToolbarRepository'))&&_0x193aa2['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x3c08ee){await this['loadRevisionData'](_0x3c08ee);const _0xff3de5={};for(const _0x2f1dea in _0x3c08ee['diffData']){if(_0x3c08ee['diffData'][_0x2f1dea]['attachChange']&&!_0x3c08ee['diffData'][_0x2f1dea]['attachChange']['isAttached'])continue;const _0x4cd0e0=this['_removeRevisionMarkers'](JSON['parse'](_0x3c08ee['diffData'][_0x2f1dea]['insertions'])),_0x3d472a=this['editor']['editing']['view']['document'],_0x36e94f=new _0x3ee4e8(_0x3d472a,_0x4cd0e0['map'](_0x11aa17=>this['_getViewObj'](_0x11aa17)));this['editor']['data']['processor']['useFillerType']('marked'),_0xff3de5[_0x2f1dea]=this['editor']['data']['processor']['toData'](_0x36e94f),this['editor']['data']['processor']['useFillerType']('default');}return _0xff3de5;}async['getRevisionRootsAttributes'](_0x16d782){await this['loadRevisionData'](_0x16d782);const _0x561fe1={};for(const _0x177ba3 in _0x16d782['diffData'])_0x16d782['diffData'][_0x177ba3]['attachChange']&&!_0x16d782['diffData'][_0x177ba3]['attachChange']['isAttached']||(_0x561fe1[_0x177ba3]=_0x16d782['diffData'][_0x177ba3]['attributesAfter']||{});return _0x561fe1;}['_removeRevisionMarkers'](_0x32a200){return(_0x32a200=_0x32a200['filter'](_0xe3ee3a=>!_0xe3ee3a['name']||'revision-start'!==_0xe3ee3a['name']&&'revision-end'!==_0xe3ee3a['name']))['forEach'](_0x4cfbe9=>{'string'!=typeof _0x4cfbe9&&(_0x4cfbe9['children']=this['_removeRevisionMarkers'](_0x4cfbe9['children']),_0x4cfbe9['attributes']=_0x4cfbe9['attributes']['filter'](_0x2b7f38=>!_0x2b7f38[0x0]['startsWith']('data-revision-')));}),_0x32a200;}async['compare'](_0x1ffb45,_0x2fcc5b,_0x489185=!0x1){if(!this['isEnabled'])return;const _0x147602=this['diff'],_0x4425ac=this['repository'],_0x5e8b31='string'==typeof _0x1ffb45?_0x4425ac['getRevision'](_0x1ffb45):_0x1ffb45,_0x59c10c='string'==typeof _0x2fcc5b?_0x4425ac['getRevision'](_0x2fcc5b):_0x2fcc5b,_0x3ac394=_0x5e8b31['id'],_0x27b481=_0x59c10c?_0x59c10c['id']:null;if(!_0x489185&&this['diff']&&this['diff']['newRevisionId']===_0x3ac394&&this['diff']['oldRevisionId']===_0x27b481)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x3ac394,_0x27b481);const _0x53fdd2=this['_getRevisionsRange'](_0x5e8b31,_0x59c10c,!0x0)['map'](_0x16e826=>this['loadRevisionData'](_0x16e826));return _0x53fdd2['push'](new Promise(_0x40d15e=>{setTimeout(_0x40d15e,0x14);})),Promise['all'](_0x53fdd2)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x25c87b=this['_getDiff'](_0x3ac394,_0x27b481);for(const _0xfbd92d of _0x25c87b['changes'])this['_changeIdToChange']['set'](_0xfbd92d['id'],_0xfbd92d);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x4b2296=>{for(const _0x4eaa4f of this['editor']['model']['document']['getRootNames']())_0x4b2296['detachRoot'](_0x4eaa4f);for(const _0x3d7a5b of Object['keys'](_0x25c87b['model'])){const _0x56a7df=_0x4b2296['addRoot'](_0x3d7a5b);for(const _0x58b4f5 of Object['keys'](_0x25c87b['attributes'][_0x3d7a5b]))_0x4b2296['setAttribute'](_0x58b4f5,_0x25c87b['attributes'][_0x3d7a5b][_0x58b4f5],_0x56a7df);_0x4b2296['insert'](_0x25c87b['model'][_0x3d7a5b],_0x56a7df,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x25c87b['changes'])),this['isReady']=!0x0;})['catch'](_0x57ce8a=>{console['error'](_0x57ce8a),this['_cleanUp'](),_0x147602&&(this['diff']=_0x147602),this['isReady']=!0x0;});}['addRevisionData'](_0x423c75,_0x27d901){const _0x2cd534=this['repository']['createRevision'](_0x423c75);return _0x2cd534['on']('_update',(_0x2435ab,_0x1f0906,_0x20b111)=>_0x27d901(_0x1f0906,_0x20b111,_0x2cd534)),this['repository']['addRevision'](_0x2cd534),_0x2cd534;}['loadRevisionData'](_0x415585){if(!_0x415585||_0x415585['diffData'])return Promise['resolve']();{const _0xf1abf=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xf1abf,'revisionId':_0x415585['id']})['then'](_0x12775b=>{_0x415585['_update']({'diffData':_0x12775b['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},_0x36e060=>{for(const _0x121faf of this['editor']['model']['document']['getRootNames']())_0x36e060['detachRoot'](_0x121faf);});}['_sortAndFilterDiffChanges'](_0xade5b7){const _0x5557b6=[],_0x11f507=new Map();for(const _0x227100 of this['editor']['model']['document']['getRootNames']()){const _0xff60e0=this['editor']['editing']['view']['getDomRoot'](_0x227100);if(!_0xff60e0)continue;const _0x472bb8=_0xff60e0['getClientRects']()['item'](0x0);_0x472bb8&&(_0x5557b6['push'](_0x227100),_0x11f507['set'](_0x227100,_0x472bb8));}return _0x5557b6['sort']((_0x11781b,_0x5b4a0b)=>{const _0xb490d5=_0x11f507['get'](_0x11781b),_0x2ece97=_0x11f507['get'](_0x5b4a0b);return _0xb490d5['y']-_0x2ece97['y']||_0xb490d5['x']-_0x2ece97['x'];}),(_0xade5b7=_0xade5b7['filter'](_0x47452d=>_0x5557b6['includes'](_0x47452d['rootName'])))['sort']((_0x5b5827,_0x4bfa5f)=>_0x5557b6['indexOf'](_0x5b5827['rootName'])-_0x5557b6['indexOf'](_0x4bfa5f['rootName'])),_0xade5b7;}['_makeTape'](_0x354106){const _0x26f8cd=Array['from'](_0x354106['markers'])['filter'](([_0x236280,_0x12f6a8])=>_0x236280['startsWith']('revision:')&&!_0x12f6a8['isCollapsed']),_0x45a28f=Array['from'](this['editor']['model']['createRangeIn'](_0x354106)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x26f8cd['length'])for(const _0x1819a4 of _0x45a28f){const [_0x1a6f9e,_0x42f6d3]=_0x26f8cd[0x0],[,_0x4ab2fd,_0x25bfae]=_0x1a6f9e['split'](':');if(_0x42f6d3['end']['isEqual'](_0x1819a4['nextPosition'])&&_0x26f8cd['shift'](),(_0x1819a4['previousPosition']['isEqual'](_0x42f6d3['start'])||_0x1819a4['previousPosition']['isAfter'](_0x42f6d3['start']))&&('insertion'==_0x4ab2fd?_0x1819a4['isAdded']={'userId':_0x25bfae}:'deletion'==_0x4ab2fd&&(_0x1819a4['isRemoved']={'userId':_0x25bfae})),0x0==_0x26f8cd['length'])break;}return _0x45a28f;}['_refreshStartEndIndex'](_0x5e1eea){const _0x2eb436=new Map();for(let _0x220f18=0x0;_0x220f18<_0x5e1eea['length'];_0x220f18++)'text'===_0x5e1eea[_0x220f18]['type']?(_0x5e1eea[_0x220f18]['item']['startIndex']=_0x220f18,_0x5e1eea[_0x220f18]['item']['endIndex']=_0x220f18):('elementStart'===_0x5e1eea[_0x220f18]['type']?_0x5e1eea[_0x220f18]['item']['startIndex']=_0x220f18:'elementEnd'===_0x5e1eea[_0x220f18]['type']&&(_0x5e1eea[_0x220f18]['item']['endIndex']=_0x220f18),_0x2eb436['set'](_0x5e1eea[_0x220f18]['id'],_0x220f18));for(const _0x35f3be of _0x2eb436['values']())'elementStart'===_0x5e1eea[_0x35f3be]['type']?_0x5e1eea[_0x35f3be]['item']['endIndex']=_0x2eb436['get'](_0x5e1eea[_0x35f3be]['pairId']):'elementEnd'===_0x5e1eea[_0x35f3be]['type']&&(_0x5e1eea[_0x35f3be]['item']['startIndex']=_0x2eb436['get'](_0x5e1eea[_0x35f3be]['pairId']));}['_processTape'](_0x40b254){for(let _0x4c7858=0x0;_0x4c7858<_0x40b254['length'];_0x4c7858++){if('elementStart'===_0x40b254[_0x4c7858]['type'])_0x40b254[_0x4c7858]['item']['startIndex']=_0x4c7858;else{if('elementEnd'===_0x40b254[_0x4c7858]['type']){_0x40b254[_0x4c7858]['item']['endIndex']=_0x4c7858;const _0x25986f=_0x40b254[_0x4c7858]['item']['startIndex'];_0x40b254[_0x25986f]['pairId']=_0x40b254[_0x4c7858]['id'],_0x40b254[_0x4c7858]['pairId']=_0x40b254[_0x25986f]['id'];}else _0x40b254[_0x4c7858]['item']['startIndex']=_0x4c7858,_0x40b254[_0x4c7858]['item']['endIndex']=_0x4c7858,_0x40b254[_0x4c7858]['pairId']=null;}_0x40b254[_0x4c7858]['markersStart']||(_0x40b254[_0x4c7858]['markersStart']=[],_0x40b254[_0x4c7858]['markersEnd']=[]);}}['_markInsertions'](_0x5b7ca0,_0xcce786){const _0x376014=_0x5b7ca0['filter'](_0xe9c7ec=>!_0xe9c7ec['isAdded']);for(let _0x13f6be=0x0;_0x13f6be<_0xcce786['length'];_0x13f6be++)_0xcce786[_0x13f6be]['isAdded']&&(_0x376014[_0x13f6be]['isAdded']=_0xcce786[_0x13f6be]['isAdded']);}['_makeModelFromViewString'](_0x5e636a){const _0x6bb6f7=JSON['parse'](_0x5e636a),_0x5f1d4a=this['editor']['editing']['view']['document'],_0x2f19d2=new _0x3ee4e8(_0x5f1d4a,_0x6bb6f7['map'](_0x4aae31=>this['_getViewObj'](_0x4aae31)));return this['editor']['data']['toModel'](_0x2f19d2);}['_getViewObj'](_0x349689){const _0x6b5813=this['editor']['editing']['view']['document'];if('string'==typeof _0x349689)return new _0x1b48bf(_0x6b5813,_0x349689);{const _0x213c78=_0x349689['children']['map'](_0x1b9158=>this['_getViewObj'](_0x1b9158));return new(tt[_0x349689['type']]||_0x5e0cca)(_0x6b5813,_0x349689['name'],_0x349689['attributes'],_0x213c78);}}['_getDiff'](_0x51060a,_0x197534=null){const _0x582a24=this['repository']['getRevision'](_0x51060a),_0x72ca5a=_0x197534?this['repository']['getRevision'](_0x197534):null,_0x2b1ea0=this['_getRevisionsRange'](_0x582a24,_0x72ca5a),_0x1db98f=_0x2b1ea0[_0x2b1ea0['length']-0x1],_0x449cb8=new Map(),_0x2b9393={'model':{},'attributes':{},'changes':[]},_0x96cd12=new Set(),_0x372af5=new Map();for(let _0x40c89a=_0x2b1ea0['length']-0x1;_0x40c89a>=0x0;_0x40c89a--){const _0x458b08=_0x2b1ea0[_0x40c89a];for(const _0x4971e5 of Object['keys'](_0x458b08['diffData']))if(_0x458b08['diffData'][_0x4971e5]['attachChange']){const _0x1b9705=_0x458b08['diffData'][_0x4971e5]['attachChange'];_0x1b9705['isAttached']?(_0x96cd12['add'](_0x4971e5),_0x372af5['has'](_0x4971e5)&&_0x372af5['get'](_0x4971e5)['userId']==_0x1b9705['userId']?_0x372af5['delete'](_0x4971e5):_0x372af5['set'](_0x4971e5,_0x1b9705)):_0x372af5['has'](_0x4971e5)?(_0x96cd12['delete'](_0x4971e5),_0x372af5['delete'](_0x4971e5)):(_0x96cd12['add'](_0x4971e5),_0x372af5['set'](_0x4971e5,_0x1b9705));}else _0x96cd12['add'](_0x4971e5);}for(const _0x531a82 of _0x96cd12){const _0x4c2acb=_0x372af5['has'](_0x531a82)&&!_0x372af5['get'](_0x531a82)['isAttached'];let _0x114e97=_0x4c2acb?_0x2b1ea0['length']-0x1:0x0;const _0x458399=_0x4c2acb?-0x1:0x1;for(;_0x2b1ea0[_0x114e97];){const _0x4563b7=_0x2b1ea0[_0x114e97];if(_0x4563b7['diffData'][_0x531a82]){const _0x4a8b00=_0x4c2acb?_0x4563b7['diffData'][_0x531a82]['attributesBefore']:_0x4563b7['diffData'][_0x531a82]['attributesAfter'];_0x2b9393['attributes'][_0x531a82]=_0x4a8b00?_0xcc2041(_0x4a8b00):{};break;}_0x114e97+=_0x458399;}}for(const _0x21536a of _0x2b1ea0){_0x21536a['model']={};for(const _0x4996bd of _0x21536a['authors'])_0x449cb8['set'](_0x4996bd['id'],_0x4996bd);for(const _0x3aef6c of _0x96cd12){const _0x13e395=_0x21536a['diffData'][_0x3aef6c]?_0x21536a['diffData'][_0x3aef6c]['insertions']:'[]',_0x1fbdaf=_0x21536a['diffData'][_0x3aef6c]?_0x21536a['diffData'][_0x3aef6c]['deletions']:'[]';_0x21536a['model'][_0x3aef6c]={'insertions':this['_makeModelFromViewString'](_0x13e395),'deletions':this['_makeModelFromViewString'](_0x1fbdaf)};}}for(const _0x562d09 of _0x96cd12){let _0x49aac3=null,_0x5b5096=0x0;const _0x27eb3b=new Map(Array['from'](_0x582a24['model'][_0x562d09]['insertions']['markers'])['filter'](([_0x5a7185])=>!_0x5a7185['startsWith']('revision:')));let _0x26649a=0x0;for(const _0x54e18d of _0x2b1ea0){const _0x15ba49=this['_makeTape'](_0x54e18d['model'][_0x562d09]['insertions']);_0x54e18d==_0x582a24?(_0x49aac3=_0x15ba49,_0x5b5096=_0x49aac3['length'],_0x49aac3['forEach'](_0x8c5e41=>{_0x8c5e41['id']=_0x26649a++;}),this['_processTape'](_0x49aac3)):this['_markInsertions'](_0x49aac3,_0x15ba49);const _0x1a19de=_0x49aac3['filter'](_0x4626da=>!_0x4626da['isAdded'])['map'](_0x1a4df6=>_0x1a4df6['id']);let _0x1400ab=0x0;const _0x488174=this['_makeTape'](_0x54e18d['model'][_0x562d09]['deletions']);_0x488174['forEach'](_0x396979=>{_0x396979['isRemoved']?_0x396979['id']=_0x5b5096++:_0x396979['id']=_0x1a19de[_0x1400ab++];}),this['_processTape'](_0x488174),this['_setDistance'](_0x49aac3,'isAdded'),this['_setDistance'](_0x488174,'isRemoved'),_0x54e18d==_0x582a24&&this['_markMarkers'](_0x49aac3,_0x27eb3b),_0x49aac3=this['_joinTapes'](_0x49aac3,_0x488174),this['_refreshStartEndIndex'](_0x49aac3),this['_setDistance'](_0x49aac3,'isRemoved');}_0x49aac3=_0x49aac3['filter'](_0xebae11=>!(_0xebae11['isAdded']&&_0xebae11['isRemoved']));const _0x5c8e14=new Map(_0x1db98f['model'][_0x562d09]['deletions']['markers']),_0x46ae25=new Set(_0x27eb3b['keys']());for(const _0x2a391e of _0x5c8e14['keys']())_0x46ae25['delete'](_0x2a391e);this['_markSuggestions'](_0x49aac3,_0x46ae25),this['_fixObsoleteTags'](_0x49aac3),_0x49aac3=this['_removeMissingPairs'](_0x49aac3),_0x49aac3=this['_markMismatchedRemovedTags'](_0x49aac3),_0x49aac3=this['_removeUnsupportedChanges'](_0x49aac3);const {root:_0x22ea5d,changes:_0x1516f0}=this['_makeModelFromTape'](_0x49aac3,_0x449cb8,_0x562d09);_0x2b9393['model'][_0x562d09]=_0x22ea5d;const _0x1daff3=_0x372af5['get'](_0x562d09);if(_0x1daff3){const _0x19dfdb=_0x449cb8['get'](_0x1daff3['userId']),_0x2c2c43=new r({'author':_0x19dfdb,'type':_0x1daff3['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x562d09});_0x1516f0['unshift'](_0x2c2c43),_0x2b9393['attributes'][_0x562d09]['revisionHistoryAttachChange']=_0x2c2c43['id'];}_0x2b9393['changes']=_0x2b9393['changes']['concat'](_0x1516f0);}return _0x2b9393;}['_markMarkers'](_0x1cc66b,_0x145dad){for(let _0x135ec2=0x0;_0x135ec2<_0x1cc66b['length'];_0x135ec2++)for(const [_0x4f9fdb,_0x134e6d]of _0x145dad)_0x134e6d['start']['isEqual'](_0x1cc66b[_0x135ec2]['previousPosition'])&&_0x1cc66b[_0x135ec2]['markersStart']['push'](_0x4f9fdb),_0x134e6d['end']['isEqual'](_0x1cc66b[_0x135ec2]['nextPosition'])&&_0x1cc66b[_0x135ec2]['markersEnd']['push'](_0x4f9fdb);}['_joinTapes'](_0x29fa24,_0x498d4d){let _0x49599a=[],_0x4b0c9e=0x0,_0x6d124e=0x0;for(;_0x4b0c9e<_0x29fa24['length']||_0x6d124e<_0x498d4d['length'];){const _0x3c15d1=_0x29fa24[_0x4b0c9e]||{},_0x55f24b=_0x498d4d[_0x6d124e]||{};if(_0x3c15d1['id']==_0x55f24b['id'])_0x4b0c9e++,_0x6d124e++,_0x49599a['push'](_0x3c15d1);else{if(_0x55f24b['isRemoved']&&_0x3c15d1['isAdded']){const {commonTape:_0x4276c5,iEnd:_0x3b4a93,jEnd:_0x2255d0}=this['_threeWayMerge'](_0x29fa24,_0x4b0c9e,_0x498d4d,_0x6d124e);_0x49599a=_0x49599a['concat'](_0x4276c5),_0x4b0c9e=_0x3b4a93,_0x6d124e=_0x2255d0;}else _0x55f24b['isRemoved']?(_0x6d124e++,_0x49599a['push'](_0x55f24b)):(_0x4b0c9e++,_0x49599a['push'](_0x3c15d1));}}return _0x49599a;}['_markSuggestions'](_0x3ec041,_0x42a1f5){const _0x470bf5=[];for(let _0x568197=0x0;_0x568197<_0x3ec041['length'];_0x568197++){for(let _0x1930e1=0x0;_0x1930e1<_0x3ec041[_0x568197]['markersStart']['length'];_0x1930e1++){const _0x48cd98=_0x3ec041[_0x568197]['markersStart'][_0x1930e1];if(!_0x42a1f5['has'](_0x48cd98))continue;const {group:_0xcfe31b,type:_0x52f990,authorId:_0x5677d2}=_0x538637(_0x48cd98);'revision-suggestion'!=_0xcfe31b||'insertion'!=_0x52f990&&'deletion'!=_0x52f990||(_0x470bf5['unshift']({'type':_0x52f990,'name':_0x48cd98,'userId':_0x5677d2}),_0x3ec041[_0x568197]['markersStart']['splice'](_0x1930e1,0x1),_0x1930e1--);}_0x1266ba(_0x3ec041[_0x568197]);for(let _0x35bf84=0x0;_0x35bf84<_0x3ec041[_0x568197]['markersEnd']['length'];_0x35bf84++){const _0xcb76d4=_0x3ec041[_0x568197]['markersEnd'][_0x35bf84];if(!_0x42a1f5['has'](_0xcb76d4))continue;const {group:_0x5a6d3d,type:_0x188ad5}=_0x538637(_0xcb76d4);if('revision-suggestion'!=_0x5a6d3d||'insertion'!=_0x188ad5&&'deletion'!=_0x188ad5)continue;_0x3ec041[_0x568197]['markersEnd']['splice'](_0x35bf84,0x1),_0x35bf84--;const _0x509d20=_0x470bf5['findIndex'](_0x32ed90=>_0x32ed90['name']==_0xcb76d4);_0x509d20>-0x1&&_0x470bf5['splice'](_0x509d20,0x1);}}function _0x538637(_0x2edf97){const _0x5d18e4=_0x2edf97['split'](':');return{'group':_0x5d18e4[0x0],'type':_0x5d18e4[0x1],'subType':_0x5d18e4['length']>=0x5?_0x5d18e4[0x2]:null,'id':_0x5d18e4['length']<0x5?_0x5d18e4[0x2]:_0x5d18e4[0x3],'authorId':_0x5d18e4['length']<0x5?_0x5d18e4[0x3]:_0x5d18e4[0x4],'markerCount':0x6==_0x5d18e4['length']?_0x5d18e4[0x5]:null};}function _0x1266ba(_0x2204ab){for(let _0x37ebe1=0x0;_0x37ebe1<_0x470bf5['length'];_0x37ebe1++){if(_0x2204ab['isAdded']&&'insertion'==_0x470bf5[_0x37ebe1]['type'])return _0x2204ab['isAddSuggestion']=_0x470bf5[_0x37ebe1],void delete _0x2204ab['isAdded'];if(!_0x2204ab['isAdded']&&!_0x2204ab['isRemoved']&&'deletion'==_0x470bf5[_0x37ebe1]['type'])return void(_0x2204ab['isRemoveSuggestion']=_0x470bf5[_0x37ebe1]);}}}['_setDistance'](_0x59618b,_0x23f992){let _0x908caf=0x0,_0x415e31=!0x1;const _0x40f360=new Map();for(const _0x22ac64 of _0x59618b)_0x22ac64[_0x23f992]?_0x415e31&&(_0x908caf++,_0x415e31=!0x1):(_0x908caf++,_0x415e31=!0x0),_0x40f360['set'](_0x22ac64['id'],_0x908caf);for(let _0x1a2015=0x0;_0x1a2015<_0x59618b['length'];_0x1a2015++){if('isRemoved'==_0x23f992&&_0x59618b[_0x1a2015]['isAdded']||'isAdded'==_0x23f992&&_0x59618b[_0x1a2015]['isRemoved'])continue;if('text'==_0x59618b[_0x1a2015]['type']){_0x59618b[_0x1a2015]['distance']=0x0;continue;}const _0x356588=_0x40f360['get'](_0x59618b[_0x1a2015]['pairId']),_0x2a3d79=_0x40f360['get'](_0x59618b[_0x1a2015]['id']);_0x59618b[_0x1a2015]['distance']=_0x356588-_0x2a3d79;}}['_getRevisionsRange'](_0xcab1a9,_0x20c176,_0x49e367=!0x1){const _0x4cdf84=[];let _0x4dae87=this['repository']['getIndex'](_0xcab1a9),_0x78187c=this['repository']['getIndex'](_0x20c176);for(-0x1==_0x78187c&&(_0x78187c=this['repository']['_revisions']['length'],_0x49e367=!0x1);_0x4dae87<_0x78187c;)_0x4cdf84['push'](this['repository']['getRevision'](_0x4dae87)),_0x4dae87++;return _0x49e367&&_0x4cdf84['push'](this['repository']['getRevision'](_0x4dae87)),_0x4cdf84;}['_threeWayMerge'](_0xe149d,_0x53cffe,_0x5d8c17,_0x546b64){const _0x40a03d=this['editor']['model']['schema'];let _0x4ecf1e=_0x53cffe;for(;_0xe149d[_0x4ecf1e]&&_0xe149d[_0x4ecf1e]['isAdded'];)_0x4ecf1e++;let _0x510c35=_0x546b64;for(;_0x5d8c17[_0x510c35]&&_0x5d8c17[_0x510c35]['isRemoved'];)_0x510c35++;_0x4535b7(_0xe149d,_0x53cffe,_0x4ecf1e),_0x4535b7(_0x5d8c17,_0x546b64,_0x510c35);const _0xc7ca75=_0x5d8c17['slice'](_0x546b64,_0x510c35)['concat'](_0xe149d['slice'](_0x53cffe,_0x4ecf1e));return _0xc7ca75['sort']((_0x2e4ea4,_0x3b3906)=>_0x2e4ea4['side']!=_0x3b3906['side']?_0x2e4ea4['side']-_0x3b3906['side']:_0x2e4ea4['level']!=_0x3b3906['level']?_0x2e4ea4['level']-_0x3b3906['level']:_0x2e4ea4['distance']!=_0x3b3906['distance']?_0x3b3906['distance']-_0x2e4ea4['distance']:!!_0x2e4ea4['isAdded']!=!!_0x3b3906['isAdded']?-0x1==_0x2e4ea4['side']||0x0==_0x2e4ea4['side']?_0x2e4ea4['isAdded']?-0x1:0x1:_0x2e4ea4['isAdded']?0x1:-0x1:_0x2e4ea4['index']-_0x3b3906['index']),{'commonTape':_0xc7ca75,'iEnd':_0x4ecf1e,'jEnd':_0x510c35};function _0x4535b7(_0x286b7a,_0x19d075,_0x56ab05){let _0x55e066=-0x1,_0x54f837=Number['POSITIVE_INFINITY'],_0x167b7c=!0x0;for(let _0x40ad2b=_0x19d075;_0x40ad2b<_0x56ab05;_0x40ad2b++)if(_0x40a03d['isInline'](_0x286b7a[_0x40ad2b]['item'])||(_0x167b7c=!0x1),_0x286b7a[_0x40ad2b]['item']['startIndex']<_0x19d075&&(_0x55e066=_0x40ad2b),_0x286b7a[_0x40ad2b]['item']['endIndex']>=_0x56ab05){_0x54f837=_0x40ad2b;break;}_0x167b7c&&(_0x55e066=_0x56ab05-0x1);for(let _0x125b73=_0x19d075;_0x125b73<_0x56ab05;_0x125b73++)_0x286b7a[_0x125b73]['side']=_0x125b73<=_0x55e066?-0x1:_0x125b73<_0x54f837?0x0:0x1,_0x286b7a[_0x125b73]['index']=_0x125b73;let _0x1cfcd2=0x0;for(let _0x148929=_0x19d075;_0x148929<=_0x55e066;_0x148929++)0x0==_0x286b7a[_0x148929]['distance']?_0x286b7a[_0x148929]['level']=_0x1cfcd2:(_0x1cfcd2++,_0x286b7a[_0x148929]['level']=_0x1cfcd2,_0x1cfcd2++);for(let _0x1ef652=_0x19d075;_0x1ef652<_0x56ab05;_0x1ef652++)0x0==_0x286b7a[_0x1ef652]['side']&&(_0x286b7a[_0x1ef652]['level']=_0x1cfcd2);_0x1cfcd2=0x0;for(let _0xeeb5f4=_0x56ab05-0x1;_0xeeb5f4>=_0x54f837;_0xeeb5f4--)0x0==_0x286b7a[_0xeeb5f4]['distance']?_0x286b7a[_0xeeb5f4]['level']=_0x1cfcd2:(_0x1cfcd2--,_0x286b7a[_0xeeb5f4]['level']=_0x1cfcd2,_0x1cfcd2--);}}['_fixObsoleteTags'](_0x10c5ba){const _0x18b0fb=new Map(),_0x1009d5=this['editor']['model']['schema'];for(let _0x2cedf4=0x1;_0x2cedf4<_0x10c5ba['length'];_0x2cedf4++){let _0x1bea45,_0x4c68d5,_0x2f6dec;const _0x150c61=_0x10c5ba[_0x2cedf4],_0x44ac5c=_0x10c5ba[_0x2cedf4-0x1];if('text'==_0x150c61['type'])continue;if(_0x150c61['type']!=_0x44ac5c['type'])continue;if(!_0x1009d5['isBlock'](_0x44ac5c['item'])||_0x1009d5['isLimit'](_0x44ac5c['item']))continue;if(!_0x1009d5['isBlock'](_0x150c61['item'])||_0x1009d5['isLimit'](_0x150c61['item']))continue;if((_0x10c5ba[_0x2cedf4]['isAdded']||_0x10c5ba[_0x2cedf4]['isAddSuggestion'])&&_0x10c5ba[_0x2cedf4-0x1]['isRemoved'])_0x1bea45=_0x10c5ba[_0x2cedf4],_0x4c68d5=_0x10c5ba[_0x2cedf4-0x1],_0x2f6dec=_0x2cedf4-0x1;else{if(!_0x10c5ba[_0x2cedf4]['isRemoved']||!_0x10c5ba[_0x2cedf4-0x1]['isAdded']&&!_0x10c5ba[_0x2cedf4-0x1]['isAddSuggestion'])continue;_0x1bea45=_0x10c5ba[_0x2cedf4-0x1],_0x4c68d5=_0x10c5ba[_0x2cedf4],_0x2f6dec=_0x2cedf4;}const _0x14db0d=_0x1bea45['level']==_0x4c68d5['level'],_0x2dd99d=Math['abs'](_0x1bea45['level'])<Math['abs'](_0x4c68d5['level'])&&0x0==_0x4c68d5['distance'];(_0x14db0d||_0x2dd99d)&&(_0x18b0fb['set'](_0x4c68d5['id'],_0x1bea45['id']),_0x10c5ba['splice'](_0x2f6dec,0x1),_0x2cedf4--,_0x1bea45['isAdded']=!0x1);}for(let _0x3eb2ab=0x0;_0x3eb2ab<_0x10c5ba['length'];_0x3eb2ab++)_0x18b0fb['has'](_0x10c5ba[_0x3eb2ab]['pairId'])&&(_0x10c5ba[_0x3eb2ab]['pairId']=_0x18b0fb['get'](_0x10c5ba[_0x3eb2ab]['pairId']));}['_removeMissingPairs'](_0x468b8c){const _0x5dc2e5=new Set(_0x468b8c['map'](_0x15e11b=>_0x15e11b['id']));for(let _0x22b8d9=0x0;_0x22b8d9<_0x468b8c['length'];_0x22b8d9++)_0x5dc2e5['has'](_0x468b8c[_0x22b8d9]['pairId'])||0x0==_0x468b8c[_0x22b8d9]['distance']||(_0x468b8c[_0x22b8d9]['isIncorrect']=!0x0);return _0x468b8c['filter'](_0xefda87=>!_0xefda87['isIncorrect']);}['_markMismatchedRemovedTags'](_0x21ad56){const _0x437ded=new Set();for(let _0x2aed8a=0x0;_0x2aed8a<_0x21ad56['length'];_0x2aed8a++){if(_0x437ded['has'](_0x21ad56[_0x2aed8a]['id'])&&_0x21ad56[_0x2aed8a]['isRemoved']&&(_0x21ad56[_0x2aed8a]['isIncorrect']=!0x0),_0x21ad56[_0x2aed8a]['isIncorrect'])continue;if(0x0==_0x21ad56[_0x2aed8a]['distance'])continue;if('elementStart'!=_0x21ad56[_0x2aed8a]['type'])continue;if(null==_0x21ad56[_0x2aed8a]['pairId'])continue;let _0x458ded=_0x2aed8a+0x1,_0x534670=0x0;for(;_0x21ad56[_0x458ded]['id']!=_0x21ad56[_0x2aed8a]['pairId'];)'elementStart'==_0x21ad56[_0x458ded]['type']?_0x534670++:'elementEnd'==_0x21ad56[_0x458ded]['type']&&_0x534670--,_0x458ded++;if(0x0!=_0x534670){if(_0x21ad56[_0x2aed8a]['isRemoved'])_0x21ad56[_0x2aed8a]['isIncorrect']=!0x0;else{for(;_0x458ded!=_0x2aed8a;)_0x21ad56[_0x458ded]['isRemoved']&&0x0!=_0x21ad56[_0x458ded]['distance']&&(_0x21ad56[_0x458ded]['isIncorrect']=!0x0,_0x437ded['add'](_0x21ad56[_0x458ded]['pairId'])),_0x458ded--;}}}return _0x21ad56['filter'](_0x13996b=>!_0x13996b['isIncorrect']);}['_removeUnsupportedChanges'](_0x35556c){const _0x20f4cb=this['editor']['model']['schema'];for(let _0x3d43a4=0x0;_0x3d43a4<_0x35556c['length'];_0x3d43a4++){if(!(_0x35556c[_0x3d43a4]['isAdded']||_0x35556c[_0x3d43a4]['isAddSuggestion']||_0x35556c[_0x3d43a4]['isRemoved']||_0x35556c[_0x3d43a4]['isRemoveSuggestion']))continue;if(0x0==_0x35556c[_0x3d43a4]['distance'])continue;const _0x441417=_0x35556c[_0x3d43a4]['item'];_0x20f4cb['isBlock'](_0x441417)||_0x20f4cb['isLimit'](_0x441417)||(_0x35556c[_0x3d43a4]['isAdded']&&delete _0x35556c[_0x3d43a4]['isAdded'],_0x35556c[_0x3d43a4]['isAddSuggestion']&&delete _0x35556c[_0x3d43a4]['isAddSuggestion'],_0x35556c[_0x3d43a4]['isRemoveSuggestion']&&delete _0x35556c[_0x3d43a4]['isRemoveSuggestion'],_0x35556c[_0x3d43a4]['isRemoved']&&(_0x35556c[_0x3d43a4]['isIncorrect']=!0x0));}return _0x35556c['filter'](_0x39ea6a=>!_0x39ea6a['isIncorrect']);}['_makeModelFromTape'](_0x373c2c,_0x44af6d,_0x15c485){const _0x298e52=new wt(),_0x3be1bc=[],_0x30b51e=new Map(),_0x17089b=this['editor']['model'],_0x3b97b6=_0x17089b['schema'],_0xf2e6a1=[_0x298e52],_0x39a77f={},_0x20e3bd={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x17ec74=null;const _0x2c2894=[0x0];for(let _0x3b260e=0x0;_0x3b260e<_0x373c2c['length'];_0x3b260e++){let _0x280a9f,_0x27bb3a;if('elementStart'===_0x373c2c[_0x3b260e]['type']){_0x280a9f=_0x17089b['createPositionFromPath'](_0x298e52,_0x2c2894);const _0x3aab29=new ft(_0x373c2c[_0x3b260e]['item']['name'],_0x373c2c[_0x3b260e]['item']['getAttributes']());_0xf2e6a1[0x0]['_appendChild'](_0x3aab29),_0x2c2894['push'](0x0),_0xf2e6a1['unshift'](_0x3aab29),_0x27bb3a=_0x17089b['createPositionFromPath'](_0x298e52,_0x2c2894),_0x17ec74=null;}else{if('elementEnd'===_0x373c2c[_0x3b260e]['type'])_0xf2e6a1['shift'](),_0x280a9f=_0x17089b['createPositionFromPath'](_0x298e52,_0x2c2894),_0x2c2894['pop'](),_0x2c2894[_0x2c2894['length']-0x1]++,_0x27bb3a=_0x17089b['createPositionFromPath'](_0x298e52,_0x2c2894),_0x17ec74=null;else{if(_0x280a9f=_0x17089b['createPositionFromPath'](_0x298e52,_0x2c2894),_0x17ec74&&_0x516e6d(_0x17ec74,_0x373c2c[_0x3b260e]['item']))_0x17ec74['_data']+=_0x373c2c[_0x3b260e]['item']['data'];else{const _0x53b43c=new _t(_0x373c2c[_0x3b260e]['item']['data'],_0x373c2c[_0x3b260e]['item']['getAttributes']());_0xf2e6a1[0x0]['_appendChild'](_0x53b43c),_0x17ec74=_0x53b43c;}_0x2c2894[_0x2c2894['length']-0x1]+=_0x373c2c[_0x3b260e]['item']['offsetSize'],_0x27bb3a=_0x17089b['createPositionFromPath'](_0x298e52,_0x2c2894);}}for(const _0x4e544e of _0x373c2c[_0x3b260e]['markersStart'])_0x30b51e['set'](_0x4e544e,{'start':_0x280a9f,'end':null});_0x5438c2('isRemoveSuggestion',_0x3b260e,_0x280a9f,_0x27bb3a),_0x5438c2('isAddSuggestion',_0x3b260e,_0x280a9f,_0x27bb3a),_0x5438c2('isRemoved',_0x3b260e,_0x280a9f,_0x27bb3a),_0x5438c2('isAdded',_0x3b260e,_0x280a9f,_0x27bb3a);for(const _0x55e4fe of _0x373c2c[_0x3b260e]['markersEnd']){_0x30b51e['get'](_0x55e4fe)['end']=_0x27bb3a;}}for(const [_0x5c68cc,_0x20e37e]of _0x30b51e){const _0x3245cd=this['editor']['model']['createRange'](_0x20e37e['start'],_0x20e37e['end']);_0x298e52['markers']['set'](_0x5c68cc,_0x3245cd);}return _0x3be1bc['sort']((_0x17955b,_0x1750a9)=>{const _0x3673ab=_0x298e52['markers']['get']('revision:'+_0x17955b['id']),_0x327233=_0x298e52['markers']['get']('revision:'+_0x1750a9['id']);return _0x3673ab['start']['isBefore'](_0x327233['start'])?-0x1:_0x3673ab['start']['isAfter'](_0x327233['start'])?0x1:_0x3673ab['end']['isBefore'](_0x327233['end'])?-0x1:_0x3673ab['end']['isAfter'](_0x327233['end'])?0x1:'add'===_0x17955b['type']?-0x1:0x1;}),{'root':_0x298e52,'changes':_0x3be1bc};function _0x5438c2(_0x3cf0ab,_0x4d426e,_0x3d13fd,_0x3aa251){const _0xc85949=!!_0x373c2c[_0x4d426e][_0x3cf0ab],_0x142f1c=_0xc85949?_0x373c2c[_0x4d426e][_0x3cf0ab]['userId']:null,_0x488557=_0x4d426e===_0x373c2c['length']-0x1,_0x5b00a3=_0x20e3bd[_0x3cf0ab][0x0],_0xba59e1=_0x3b97b6['isObject'](_0x373c2c[_0x4d426e]['item']);!_0x39a77f[_0x3cf0ab]&&_0xc85949?_0x39a77f[_0x3cf0ab]={'start':_0x3d13fd,'tapeItem':_0x373c2c[_0x4d426e],'userId':_0x142f1c,'type':_0x3cf0ab}:_0x39a77f[_0x3cf0ab]&&!_0xc85949?(_0x39a77f[_0x3cf0ab]['end']=_0x3d13fd,_0x2d8466(_0x39a77f[_0x3cf0ab]),_0x39a77f[_0x3cf0ab]=null):_0x39a77f[_0x3cf0ab]&&_0xc85949&&_0x39a77f[_0x3cf0ab]['userId']!==_0x142f1c&&(_0x39a77f[_0x3cf0ab]['end']=_0x3d13fd,_0x5b00a3&&_0x5b00a3['userId']===_0x39a77f[_0x3cf0ab]['userId']||_0x2d8466(_0x39a77f[_0x3cf0ab]),_0x39a77f[_0x3cf0ab]={'start':_0x3d13fd,'tapeItem':_0x373c2c[_0x4d426e],'userId':_0x142f1c,'type':_0x3cf0ab}),_0x39a77f[_0x3cf0ab]&&_0xba59e1&&('elementStart'!==_0x373c2c[_0x4d426e]['type']||_0x5b00a3&&_0x5b00a3['userId']===_0x142f1c||_0x20e3bd[_0x3cf0ab]['unshift']({'userId':_0x142f1c,'object':_0x373c2c[_0x4d426e]['item'],'change':_0x39a77f[_0x3cf0ab]}),'elementEnd'===_0x373c2c[_0x4d426e]['type']&&_0x5b00a3&&_0x5b00a3['object']===_0x373c2c[_0x4d426e]['item']&&(_0x20e3bd[_0x3cf0ab]['shift'](),_0x39a77f[_0x3cf0ab]=_0x5b00a3['change'])),_0x39a77f[_0x3cf0ab]&&_0x488557&&(_0x39a77f[_0x3cf0ab]['end']=_0x3aa251,_0x2d8466(_0x39a77f[_0x3cf0ab]),_0x39a77f[_0x3cf0ab]=null);}function _0x2d8466({start:_0x54761f,end:_0x3cf281,tapeItem:_0x4c5620,userId:_0x2720a4,type:_0x1a82c4}){const _0x59f923=_0x4c5620['item'],_0x38bb3b=_0x17089b['schema']['isBlock'](_0x59f923)&&!_0x17089b['schema']['isLimit'](_0x59f923),_0x911950=_0x54761f['nodeAfter']==_0x3cf281['parent']&&_0x3cf281['isAtStart'];if(_0x38bb3b&&_0x911950)return;const _0xa8b1d5=_0x17089b['createRange'](_0x54761f,_0x3cf281),_0x4fd36a=_0x44af6d['get'](_0x2720a4),_0x61dd9c=new r({'author':_0x4fd36a,'type':'isAdded'==_0x1a82c4||'isAddSuggestion'==_0x1a82c4?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x1a82c4||'isRemoveSuggestion'==_0x1a82c4},'createdAt':new Date(),'rootName':_0x15c485});_0x3be1bc['push'](_0x61dd9c),_0x298e52['markers']['set']('revision:'+_0x61dd9c['id'],_0xa8b1d5);}function _0x516e6d(_0x22302f,_0x397ef7){const _0xceb39=_0x22302f['getAttributes'](),_0x2c740=_0x397ef7['getAttributes']();for(const _0x1a7e5a of _0xceb39){if(_0x1a7e5a[0x1]!==_0x397ef7['getAttribute'](_0x1a7e5a[0x0]))return!0x1;_0x2c740['next']();}return _0x2c740['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x332752=>{const _0x22e5e2=_0x332752['markerName']['split'](':')[0x1],_0xc549c0=this['_getChangeFromId'](_0x22e5e2);if(!_0xc549c0)return null;const _0x430622='add'==_0xc549c0['type']?'insertion':'deletion',_0x2fd2ea=['ck-suggestion-marker','ck-suggestion-marker-'+_0x430622];return _0xc549c0['data']['isSuggestion']&&_0x2fd2ea['push']('ck-suggestion-marker-'+_0x430622+'-new'),this['activeChange']==_0xc549c0&&_0x2fd2ea['push']('ck-suggestion-marker--active'),{'classes':_0x2fd2ea,'attributes':{'data-change-id':_0x22e5e2}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x3547a2=>{_0x3547a2['on']('element:pre',(_0x273944,_0x5d244f,_0x13a83e)=>{const _0x427012=_0x5d244f['viewItem']['getChild'](0x0);if(!_0x427012||!_0x427012['is']('element','code'))return;if(!_0x13a83e['consumable']['consume'](_0x427012,{'attributes':['vid_start','vid_end']}))return;const _0x3ea807=_0x5d244f['modelRange']['start']['nodeAfter'];_0x13a83e['writer']['setAttribute']('vid_start',_0x427012['getAttribute']('vid_start'),_0x3ea807),_0x13a83e['writer']['setAttribute']('vid_end',_0x427012['getAttribute']('vid_end'),_0x3ea807);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0xb697e1=>{_0xb697e1['on']('element',(_0x1ba6c4,_0xf5ff81,_0x59beb5)=>{if(!_0x59beb5['consumable']['consume'](_0xf5ff81['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0xf5ff81['modelRange']['isCollapsed'])return;const _0x264dea=_0xf5ff81['modelRange']['start']['nodeAfter'];_0x264dea['hasAttribute']('vid_start')||_0x264dea['hasAttribute']('vid')||(_0x59beb5['writer']['setAttribute']('vid_start',_0xf5ff81['viewItem']['getAttribute']('vid_start'),_0x264dea),_0x59beb5['writer']['setAttribute']('vid_end',_0xf5ff81['viewItem']['getAttribute']('vid_end'),_0x264dea));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x4fddad=>_0x4fddad['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x22276e,[,_0x330f38])=>{['vid_start','vid_end','vid']['includes'](_0x330f38)&&(_0x22276e['return']=!0x0,_0x22276e['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0xdc14db=>{_0xdc14db['on']('attribute:vid',(_0x32919f,_0x5e5141,_0x100ff9)=>{if('\x20'!=_0x5e5141['item']['data']||_0x5e5141['item']['parent']['maxOffset']>0x1)return;if(!_0x100ff9['consumable']['consume'](_0x5e5141['item'],_0x32919f['name']))return;const _0x588b4c=_0x100ff9['writer'],_0x433964=_0x100ff9['mapper']['toViewRange'](_0x5e5141['range']);_0x588b4c['wrap'](_0x433964,_0x588b4c['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x58ed80){const _0x2da2fc=_0x58ed80['plugins']['get']('RevisionViewer');return(_0x56c314,_0x85eb78,_0x4fee15)=>{const _0x4de697=_0x85eb78['markerName']['split'](':')[0x1],_0x971061=_0x2da2fc['_getChangeFromId'](_0x4de697);if(!_0x971061)return null;const _0x4041c5='add'==_0x971061['type']?'split':'merge';if(!_0x4fee15['consumable']['test'](_0x85eb78['markerRange'],_0x56c314['name']))return;const _0x3143e3=_0x85eb78['markerRange']['getWalker'](),_0x77ae38=_0x85eb78['markerRange']['start'],_0x57d94d=_0x58ed80['model']['schema'];let _0x20f526=null,_0x273ece=null,_0x1eca4a=!0x1,_0x3f1d32=!0x1;for(const _0x491802 of _0x3143e3){const _0x428e9e=_0x491802['item'];_0x1eca4a=_0x1eca4a||_0x57d94d['isContent'](_0x428e9e);const _0x5b3c6e=_0x4fee15['mapper']['toViewElement'](_0x428e9e);if(_0x5b3c6e&&_0x5b3c6e['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x491802['type']&&(_0x57d94d['isBlock'](_0x428e9e)&&!_0x57d94d['isLimit'](_0x428e9e)&&(_0x428e9e['nextSibling']||_0x77ae38['isAtEnd']?_0x20f526&&_0x20f526['parent']==_0x428e9e||(_0x20f526=_0x428e9e,_0x3202e1(_0x491802['previousPosition']),_0x3f1d32=!0x0):_0x273ece=_0x273ece||_0x491802['previousPosition']));}function _0x3202e1(_0x2414bf){const _0x187c39=_0x4fee15['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4041c5}),_0x4d8985=_0x4fee15['mapper']['toViewPosition'](_0x2414bf);_0x971061['data']['isSuggestion']&&_0x4fee15['writer']['addClass']('ck-suggestion-marker-'+_0x4041c5+'-new',_0x187c39),_0x2da2fc['activeChange']==_0x971061&&_0x4fee15['writer']['addClass']('ck-suggestion-marker--active',_0x187c39),_0x4fee15['writer']['insert'](_0x4d8985,_0x187c39),_0x4fee15['mapper']['bindElementToMarker'](_0x187c39,_0x85eb78['markerName']);}_0x1eca4a||_0x3f1d32||!_0x273ece||_0x3202e1(_0x273ece);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x5ddd7c,_0x65419d,_0x34a3d4)=>{const _0x5ae2ec=_0x34a3d4['mapper']['markerNameToElements'](_0x65419d['markerName']);if(_0x5ae2ec){for(const _0x637480 of _0x5ae2ec)(_0x637480['hasClass']('ck-suggestion-marker-split')||_0x637480['hasClass']('ck-suggestion-marker-merge'))&&(_0x34a3d4['mapper']['unbindElementFromMarkerName'](_0x637480,_0x65419d['markerName']),_0x34a3d4['writer']['remove'](_0x637480));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x32b02a,_0x62768a,_0x4cfbb1)=>{const _0x135cdd=_0x62768a['markerName']['split'](':')[0x1],_0x556636=this['_getChangeFromId'](_0x135cdd);if(!_0x556636)return null;const _0x501229='add'==_0x556636['type']?'split':'merge';if(_0x4cfbb1['consumable']['test'](_0x62768a['markerRange'],_0x32b02a['name']))for(const _0x3473db of _0x62768a['markerRange']['getItems']()){if(!_0x3473db['is']('element','softBreak'))continue;const _0x125f0c=_0x4cfbb1['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x501229}),_0x5adbdd=_0x4cfbb1['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x3473db));_0x556636['data']['isSuggestion']&&_0x4cfbb1['writer']['addClass']('ck-suggestion-marker-'+_0x501229+'-new',_0x125f0c),this['activeChange']==_0x556636&&_0x4cfbb1['writer']['addClass']('ck-suggestion-marker--active',_0x125f0c),_0x4cfbb1['writer']['insert'](_0x5adbdd,_0x125f0c),_0x4cfbb1['mapper']['bindElementToMarker'](_0x125f0c,_0x62768a['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x4ef107=>{for(const _0x5a4e43 of this['editor']['model']['document']['getRootNames']()){const _0x51f8d3=this['editor']['model']['document']['getRoot'](_0x5a4e43),_0x22eac8=this['editor']['editing']['view']['document']['getRoot'](_0x5a4e43);if(_0x22eac8){const _0x2c0954=_0x51f8d3['getAttribute']('revisionHistoryAttachChange');if(_0x4ef107['removeAttribute']('data-change-id',_0x22eac8),_0x4ef107['removeClass']('ck-revision-history-root-add',_0x22eac8),_0x4ef107['removeClass']('ck-revision-history-root-remove',_0x22eac8),_0x4ef107['removeClass']('ck-revision-history-root--active',_0x22eac8),_0x2c0954){const _0x52d293=this['_getChangeFromId'](_0x2c0954);if(!_0x52d293)return null;_0x4ef107['setAttribute']('data-change-id',_0x2c0954,_0x22eac8),_0x4ef107['addClass']('ck-revision-history-root-'+_0x52d293['type'],_0x22eac8),this['activeChange']==_0x52d293&&_0x4ef107['addClass']('ck-revision-history-root--active',_0x22eac8);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x3f690f=>'revision-comment:'+_0x3f690f,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x223d41=>'revision-suggestion:'+_0x223d41,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x4b0f21=>({'name':'suggestion:'+_0x4b0f21,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x3c5d85=>{const _0x2d2a13=_0x3c5d85['markerName']['split'](':')[0x1];return'insertion'!=_0x2d2a13&&'deletion'!=_0x2d2a13?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x2d2a13]};}}),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',(_0x59d2eb,_0x2f49ee,_0x1585b6)=>{const _0x556ca4=_0x1585b6['mapper']['markerNameToElements'](_0x2f49ee['markerName']);if(_0x556ca4){for(const _0x25e588 of _0x556ca4)_0x25e588['is']('uiElement')&&(_0x1585b6['mapper']['unbindElementFromMarkerName'](_0x25e588,_0x2f49ee['markerName']),_0x1585b6['writer']['remove'](_0x25e588));}},{'priority':'high'});}['_getChangeFromId'](_0x498706){return this['_changeIdToChange']['get'](_0x498706);}['_getViewForChange'](_0x3ba1cf){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x3ba1cf),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x38591f,_0x2eda88,_0xdec505,_0x1a5028)=>{_0x1a5028&&this['_balloon']['remove'](_0x1a5028),_0xdec505&&(this['_balloon']['add']({'view':_0xdec505,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0xc477fa=this['editor']['editing'],_0x2733f0=this['_getChangeFromId'](_0xdec505['changeId']);let _0x1290e9;if(_0x2733f0['data']['isOnRoot']){const _0x843983=_0xc477fa['view']['getDomRoot'](_0x2733f0['rootName']);_0x1290e9=Array['from'](_0x843983['getClientRects']());}else{const _0x3a5be9=this['editor']['model']['markers']['get']('revision:'+_0xdec505['changeId']);_0x1290e9=Array['from'](_0xc477fa['mapper']['markerNameToElements'](_0x3a5be9['name']))['map'](_0x26f4a7=>_0xc477fa['view']['domConverter']['mapViewToDom'](_0x26f4a7))['map'](_0x267070=>Array['from'](_0x267070['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x1290e9[0x0];return _0x1290e9['find'](_0x5c3109=>_0x5c3109['top']-0x3<=this['_activeViewTarget']['y']&&_0x5c3109['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x5c3109['left']-0x3<=this['_activeViewTarget']['x']&&_0x5c3109['right']+0x3>=this['_activeViewTarget']['x'])||_0x1290e9[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x4b9096,_0x1e7c99,_0x258abf,_0x51677c)=>{this['activeView']=_0x258abf?this['_getViewForChange'](_0x258abf):null,this['editor']['model']['change'](()=>{const _0x3d45f1=this['editor']['editing'];_0x51677c&&(_0x51677c['data']['isOnRoot']?_0x3d45f1['view']['change'](_0x12dff2=>{_0x12dff2['removeClass']('ck-revision-history-root--active',_0x3d45f1['view']['document']['getRoot'](_0x51677c['rootName']));}):_0x3d45f1['reconvertMarker']('revision:'+_0x51677c['id'])),_0x258abf&&(_0x258abf['data']['isOnRoot']?_0x3d45f1['view']['change'](_0x107455=>{_0x107455['addClass']('ck-revision-history-root--active',_0x3d45f1['view']['document']['getRoot'](_0x258abf['rootName']));}):_0x3d45f1['reconvertMarker']('revision:'+_0x258abf['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x267c49,_0x1c9bb1)=>{if(this['activeChange'])return;const _0x2e9495=this['_findChangeIdFromDomTarget'](_0x1c9bb1['target']),_0x12ba6f=this['_changeIdToChange']['get'](_0x2e9495);_0x12ba6f?(this['_activeViewTarget']={'x':_0x1c9bb1['domEvent']['x'],'y':_0x1c9bb1['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x12ba6f)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x17a6cd,_0x47b322)=>{const _0x196940=this['_findChangeIdFromDomTarget'](_0x47b322['target']),_0x468591=this['_changeIdToChange']['get'](_0x196940);_0x468591?(this['_activeViewTarget']={'x':_0x47b322['domEvent']['x'],'y':_0x47b322['domEvent']['y']},_0x468591===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x468591):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x2604d7){do{const _0x291f73=_0x2604d7['getAttribute']('data-change-id');if(_0x291f73)return _0x291f73;_0x2604d7=_0x2604d7['parent'];}while(_0x2604d7);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0xec1754=>{for(const _0x2176f1 of this['editor']['model']['markers'])_0xec1754['removeMarker'](_0x2176f1);});}}function et(_0x2e6307,_0x3c1194){return(_0x50cfa9,_0x3b1ee7,_0x31ede6)=>{if(!_0x31ede6['consumable']['test'](_0x3b1ee7['markerRange'],_0x50cfa9['name']))return;const _0x5d76e7=_0x3b1ee7['markerRange']['getWalker'](),_0x915d69=_0x3b1ee7['markerRange']['start'],_0x3bdcea=_0x2e6307['model']['schema'];let _0x4bac78=null,_0x1a0e81=null,_0x2cc1b7=!0x1,_0x348d46=!0x1;for(const _0x1de3a2 of _0x5d76e7){const _0x4a5630=_0x1de3a2['item'];_0x2cc1b7=_0x2cc1b7||_0x3bdcea['isContent'](_0x4a5630);const _0xfecb75=_0x31ede6['mapper']['toViewElement'](_0x4a5630);if(_0xfecb75&&_0xfecb75['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1de3a2['type']&&(_0x3bdcea['isBlock'](_0x4a5630)&&!_0x3bdcea['isLimit'](_0x4a5630)&&(_0x4a5630['nextSibling']||_0x915d69['isAtEnd']?_0x4bac78&&_0x4bac78['parent']==_0x4a5630||(_0x4bac78=_0x4a5630,_0x1b47b3(_0x1de3a2['previousPosition']),_0x348d46=!0x0):_0x1a0e81=_0x1a0e81||_0x1de3a2['previousPosition']));}function _0x1b47b3(_0x4c8fc0){const _0x205e19=_0x31ede6['mapper']['toViewPosition'](_0x4c8fc0),_0x219e3b=_0x31ede6['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x3c1194});_0x31ede6['writer']['insert'](_0x205e19,_0x219e3b),_0x31ede6['mapper']['bindElementToMarker'](_0x219e3b,_0x3b1ee7['markerName']);}_0x2cc1b7||_0x348d46||!_0x1a0e81||_0x1b47b3(_0x1a0e81);};}class bt extends _0x347b59{constructor(_0x2a912f){super(_0x2a912f);const _0x202807=_0x2a912f['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x202807,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x202807,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0xe58c00=this['editor'],_0x161a1a=_0xe58c00['plugins']['get'](d),_0x582d54=_0x161a1a['isReady']?_0x161a1a['diff']['newRevisionId']:null;_0xe58c00['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x582d54);}['refresh'](){const {isReady:_0x53ae93,isEnabled:_0x2fd6a0}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x53ae93&&_0x2fd6a0;}}class yt extends _0x347b59{['_step'];constructor(_0x399b9,{direction:_0x3e96d2}){super(_0x399b9);const _0x44a02f=_0x399b9['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x3e96d2?0x1:-0x1,this['listenTo'](_0x44a02f,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x44a02f,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x44a02f,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x275d8f=this['editor'],_0x42d57b=_0x275d8f['plugins']['get'](d),{isNavigationMode:_0x4ec00a,currentChangeNumber:_0x5ca319}=_0x42d57b;let _0xd8a910;if(_0x42d57b['activeChange']=_0x4ec00a?_0x42d57b['diff']['changes']['get'](_0x5ca319+this['_step']):_0x42d57b['diff']['changes']['first'],_0x42d57b['activeChange']['data']['isOnRoot'])_0xd8a910=_0x275d8f['editing']['view']['getDomRoot'](_0x42d57b['activeChange']['rootName']);else{const _0x4ab915=_0x275d8f['model']['markers']['get']('revision:'+_0x42d57b['activeChange']['id']);_0xd8a910=_0x5d7d4e(_0x275d8f['editing'],_0x4ab915);}_0x3c34b2({'target':_0xd8a910,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x32a7e0,currentChangeNumber:_0x44526e,numberOfChanges:_0xcdbc3e,isReady:_0x3d0538,isEnabled:_0x324b24}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x324b24&&_0x3d0538&&_0xcdbc3e)&&(!_0x32a7e0||(0x1===this['_step']?_0x44526e<_0xcdbc3e-0x1:_0x44526e>0x0));}}class _i extends _0x347dad{constructor(_0xe532a0){super(_0xe532a0);const _0x46af2a=this['bindTemplate'],_0x5973aa=new _0x3908eb(_0xe532a0),_0x53c932=new _0x3908eb(_0xe532a0);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',(_0xdf6095,_0x25926c)=>_0xdf6095&&_0x25926c>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x51ce4e,_0x47504d,_0x179b1e,_0x26b5bf)=>{if(!_0x51ce4e)return y(_0xe532a0,'Loading...');if(!_0x179b1e)return y(_0xe532a0,'No\x20changes');const _0x4d5e07=y(_0xe532a0,'NUMBER_OF_CHANGES',_0x179b1e);return _0x26b5bf?y(_0xe532a0,'X_OF_Y_CHANGES',[_0x47504d+0x1,_0x179b1e]):_0x4d5e07;}),_0x5973aa['set']({'label':y(_0xe532a0,'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'}),_0x53c932['set']({'label':y(_0xe532a0,'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'}),_0x5973aa['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x53c932['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x5973aa['on']('execute',()=>this['fire']('execute','backward')),_0x53c932['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',_0x46af2a['if']('_isStatusLabelVisible','ck-hidden',_0x4a5015=>!_0x4a5015)]},'children':[{'text':_0x46af2a['to']('isNavigationMode',_0x3ff440=>_0x3ff440?y(_0xe532a0,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0xe532a0,'Total')+':\x20')}]},{'text':_0x46af2a['to']('_statusText')}]},new _0x39da0f(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x5973aa,_0x53c932]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x5be8fc{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x365149=this['editor']['editing']['view'];_0x365149['change'](_0x3aa620=>{for(const _0x6e0412 of _0x365149['document']['roots'])_0x3aa620['addClass'](ce,_0x6e0412);});}['hide'](){const _0x2e696c=this['editor']['editing']['view'];_0x2e696c['change'](_0xc244cd=>{for(const _0x3fffa7 of _0x2e696c['document']['roots'])_0xc244cd['removeClass'](ce,_0x3fffa7);});}}class R extends _0x5be8fc{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x17513c=this['editor'],_0x548722=_0x17513c['plugins']['get'](d),_0x2c256e=_0x17513c['plugins']['get'](de);_0x17513c['ui']['componentFactory']['add']('exitToEditing',_0x7fed9b=>{const _0x570f64=new _0x3908eb(_0x7fed9b);return _0x570f64['set']({'label':y(_0x7fed9b,'Back\x20to\x20editing'),'icon':_0x57278e['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x570f64,'execute',()=>{_0x17513c['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x570f64;}),_0x17513c['ui']['componentFactory']['add']('restoreRevision',_0x1c0177=>{const _0x332edc=new _0x3908eb(_0x1c0177);return _0x332edc['set']({'label':y(_0x1c0177,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x332edc['bind']('isEnabled')['to'](_0x17513c['commands']['get']('restoreRevision')),this['listenTo'](_0x332edc,'execute',()=>_0x17513c['execute']('restoreRevision')),_0x332edc;}),_0x17513c['ui']['componentFactory']['add']('changesNavigation',_0x8bbefa=>{const _0x466292=new _i(_0x8bbefa),_0x121447=_0x17513c['commands']['get']('showPreviousChange'),_0x3f82b8=_0x17513c['commands']['get']('showNextChange');return _0x466292['bind']('isBackwardNavigationEnabled')['to'](_0x121447,'isEnabled'),_0x466292['bind']('isForwardNavigationEnabled')['to'](_0x3f82b8,'isEnabled'),_0x466292['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x548722),this['listenTo'](_0x466292,'execute',(_0xf3c932,_0x3a0527)=>{_0x17513c['execute']('forward'===_0x3a0527?'showNextChange':'showPreviousChange');}),_0x466292;}),_0x2c256e['show'](),_0x548722['on']('change:isReady',(_0x14ba27,_0x3f8b48,_0x250adb)=>{_0x250adb?_0x2c256e['hide']():_0x2c256e['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x33b13e,_0x16304f){super(_0x33b13e,_0x16304f);const _0x5d9036=this['bindTemplate'];this['set']({'label':y(_0x33b13e,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x33b13e,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x5d9036['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 _0x54ccff=this['fieldView']['element'];this['_tooltipString']=_0x54ccff['scrollWidth']>_0x54ccff['clientWidth']&&_0x54ccff['value']||'';}}class ti extends _0x347dad{constructor(_0x449a69,_0x40bf92,_0x202c30){super(_0x449a69);const _0x5da6da=new _0x4c1b66();_0x5da6da['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 _0x1f94f2=['ck','ck-revision-history-sidebar__revision-author'];_0x202c30&&_0x1f94f2['push']('ck-revision-history-sidebar__revision-author_creator');const _0x3a26be=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x449a69,_0x202c30?'Revision\x20creator':'Revision\x20author')},'children':[_0x5da6da,_0x40bf92['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x1f94f2},'children':_0x3a26be});}}function ni(_0x1ccbfe,_0x29333a){const _0x103727=_0x1ccbfe['bindTemplate'],_0x12f3eb=_0x1ccbfe['locale'],_0x11a298=_0x492605(_0x12f3eb);_0x11a298['panelPosition']='sw';const _0x22294f=function(_0x319499,_0x3f83c5){const _0x443410=function(_0x43afcf,_0x3bb709){const _0x5f4acf=_0x43afcf['locale'],_0x3527e2={'Compare\x20against\x20selected':y(_0x5f4acf,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x5f4acf,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x5f4acf,'Restore\x20this\x20revision')};return _0x3bb709['map'](_0x3839c3=>{const _0x56e376=_0x3527e2[_0x3839c3['name']];return _0x56e376&&_0x56e376!==_0x3839c3['name']&&(_0x3839c3['name']=_0x56e376),_0x3839c3;});}(_0x319499,_0x3f83c5),_0x531b64=new _0x51a9b0();for(const _0x7feb98 of _0x443410){const _0x23f616={'type':'button','model':new to({'label':_0x7feb98['name'],'class':_0x7feb98['class'],'withText':!0x0,'role':'menuitem','_action':_0x7feb98['action']})};_0x23f616['model']['bind']('isEnabled')['to'](_0x319499,'isActionsDropdownOpen',_0x557873=>'function'!=typeof _0x7feb98['isEnabled']||(!_0x557873||_0x7feb98['isEnabled'](_0x319499))),_0x531b64['add'](_0x23f616);}return _0x531b64;}(_0x1ccbfe,_0x29333a);return _0x1ccbfe['bind']('isActionsDropdownOpen')['to'](_0x11a298,'isOpen'),_0x11a298['buttonView']['set']({'label':y(_0x12f3eb,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x57278e['threeVerticalDots']}),_0x11a298['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x103727['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x103727['to'](_0x45fb34=>_0x45fb34['stopPropagation']())}}),_0x11a298['on']('execute',_0x1f0b9c=>{_0x1ccbfe['isReady']&&'function'==typeof _0x1f0b9c['source']['_action']&&_0x1f0b9c['source']['_action'](_0x1ccbfe);}),_0x58492e(_0x11a298,_0x22294f,{'role':'menu'}),_0x11a298['listenTo'](_0x1ccbfe,'change:isActionsDropdownOpen',(_0x5dfd2b,_0x187900,_0x38fa28)=>{if(_0x38fa28)for(const _0xef8809 of _0x11a298['listView']['items']){const _0x36d7b1=_0xef8809['children']['first'],_0x440f42=_0x29333a['find'](_0x119dce=>_0x119dce['action']===_0x36d7b1['_action'])['isVisible'];_0xef8809['isVisible']=void 0x0===_0x440f42||_0x440f42(_0x1ccbfe);}}),_0x11a298;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x325a1a(_0x347dad){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x823377,_0x28be3c,_0x3fc7d2,_0x14e2da){super(_0x823377);const _0x46e572=this['bindTemplate'],_0x3c6eee=function(_0x251aef,_0x39a788){const _0x1db37d=Array['from'](_0x39a788['authors'])['filter'](_0x1dbc02=>_0x1dbc02!=_0x39a788['creator']);return _0x39a788['creator']&&_0x1db37d['unshift'](_0x39a788['creator']),_0x1db37d['map'](_0x5d4ccb=>new ti(_0x251aef,_0x5d4ccb,_0x5d4ccb==_0x39a788['creator']));}(_0x823377,_0x28be3c);this['id']=_0x28be3c['id'],this['_revision']=_0x28be3c,this['_requireRevisionName']=_0x14e2da,this['bind']('name','createdAt')['to'](_0x28be3c),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x550845=>{return _0x3afb86=_0x823377['uiLanguage'],(_0xf6bcb2=_0x550845)['toLocaleDateString'](_0x3afb86,{'month':'long','day':'numeric'})+',\x20'+_0xf6bcb2['toLocaleTimeString'](_0x3afb86,{'hour':'numeric','minute':'numeric'});var _0x3afb86,_0xf6bcb2;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x823377,_0x18da03),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x1fd059=>_0x1fd059||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x4aca9a,_0x353107)=>_0x4aca9a&&_0x353107),this['revisionActionsView']=_0x3fc7d2&&_0x3fc7d2['length']?ni(this,_0x3fc7d2):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x46e572['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x46e572['if']('isEnabled','ck-disabled',_0x552598=>!_0x552598),_0x46e572['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x46e572['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x46e572['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':_0x46e572['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':_0x3c6eee}]},this['revisionActionsView']],'on':{'click':_0x46e572['to'](_0x1f04c1=>{_0x1f04c1['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x2c9b1e=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x2c9b1e,'change',()=>{this['_requireRevisionName']&&!_0x2c9b1e['value']||this['fire']('setName',{'id':this['id'],'name':_0x2c9b1e['value']}),_0x2c9b1e['value']||(_0x2c9b1e['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(_0x439792,_0x3defa7){const _0x405e7a=_0x3507ab['fromJSDate'](_0x439792)['setLocale'](_0x3defa7),_0x14f0b3=_0x3507ab['local'](),_0x508a05=_0x14f0b3['minus']({'days':0x1})['startOf']('day');let _0x3642d6,_0x10c2bf;return _0x405e7a['hasSame'](_0x14f0b3,'day')?(_0x3642d6=_0x405e7a['startOf']('day')['toJSDate'](),_0x10c2bf=_0x405e7a['toRelativeCalendar']()):_0x405e7a['hasSame'](_0x508a05,'day')?(_0x3642d6=_0x508a05['toJSDate'](),_0x10c2bf=_0x405e7a['toRelativeCalendar']()):_0x405e7a['hasSame'](_0x14f0b3,'week')?(_0x3642d6=_0x405e7a['startOf']('week')['toJSDate'](),_0x10c2bf=_0x405e7a['weekdayLong']||''):_0x405e7a['hasSame'](_0x14f0b3,'year')?(_0x3642d6=_0x405e7a['startOf']('month')['toJSDate'](),_0x10c2bf=_0x405e7a['monthLong']||''):(_0x3642d6=_0x405e7a['startOf']('year')['toJSDate'](),_0x10c2bf=String(_0x405e7a['year'])),{'startDate':_0x3642d6,'localizedPeriodName':_0x10c2bf};}class mi extends _0x347dad{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x499f00,_0x3a52bb,_0x3c689b,_0xdebb8f){super(_0x499f00);const _0x3bb2c9=di(_0x3a52bb,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x3a52bb,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x3c689b,this['_requireRevisionName']=_0xdebb8f,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':_0x3bb2c9}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x2818d8){const _0x2d4d99=new ai(this['locale'],_0x2818d8,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x2d4d99);}['removeRevision'](_0x6a6ad3){const _0x67e43c=this['revisionViews']['find'](_0x69dbb5=>_0x69dbb5['id']===_0x6a6ad3['id']);this['revisionViews']['remove'](_0x67e43c);}}class as extends _0x347dad{constructor(_0x145969){super(_0x145969);const _0x17d70f=new _0x4c1b66();_0x17d70f['content']=_0x57278e['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x17d70f,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x145969,'Revision\x20history')]}]});}}class ci extends _0x347dad{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x232716,_0x53dc5e,_0x19d050,_0x5d4f42){super(_0x232716);const _0x382998=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x53dc5e,this['_revisionActions']=_0x19d050,this['_requireRevisionName']=_0x5d4f42,this['on']('select',(_0x524559,_0x3c40b3)=>{this['fire']('revisionSelected',_0x3c40b3);}),this['on']('setName',(_0x1e0582,_0x1c4a50)=>{this['fire']('revisionSetName',_0x1c4a50);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x232716),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x382998['if']('isEnabled','ck-disabled',_0x1fd74d=>!_0x1fd74d)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x393878 of this['_revisions'])this['_addRevision'](_0x393878);this['_revisions']['on']('add',(_0xe0c68a,_0x2c1782)=>{this['_addRevision'](_0x2c1782);}),this['_revisions']['on']('remove',(_0x28982a,_0x51455b)=>{this['_removeRevision'](_0x51455b);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x3c36d2=>_0x3c36d2['revisionViews']['map'](_0x122319=>_0x122319))['flat']();}['selectRevision'](_0xce4d9c){for(const _0x1aad88 of this['revisionViews'])_0xce4d9c&&_0xce4d9c['id']===_0x1aad88['id']?_0x1aad88['select']():_0x1aad88['deselect']();}['highlightRevisions'](_0xc28d46){for(const _0x4921d8 of this['revisionViews'])_0xc28d46['some'](({id:_0x4a2343})=>_0x4a2343===_0x4921d8['id'])?_0x4921d8['highlight']():_0x4921d8['unhighlight']();}['_addRevision'](_0x5a623f){const _0x4ffd18=di(_0x5a623f['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x37becc=this['timePeriodViews']['get'](0x0);_0x37becc&&_0x37becc['startDate']['getTime']()===_0x4ffd18['getTime']()||(_0x37becc=new mi(this['locale'],_0x4ffd18,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x37becc)),_0x37becc['addRevision'](_0x5a623f);}['_removeRevision'](_0x481a8d){const _0x16bbbd=di(_0x481a8d['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x16bbbd)['removeRevision'](_0x481a8d);}['_getTimePeriodViewByStartDate'](_0x44faed){return this['timePeriodViews']['find'](_0x1008a8=>_0x1008a8['startDate']['getTime']()===_0x44faed['getTime']());}}class w extends _0x5be8fc{['_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(_0x5d7a22){super(_0x5d7a22),this['_revisionViewer']=_0x5d7a22['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x4cfdd6=this['_revisionsRepository']['_revisions'],_0x2d0214=this['_createRevisionActions'](),_0x1cc4b7=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x4cfdd6,_0x2d0214,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',(_0x282e33,_0x3fb4dd)=>{_0x3fb4dd['revisionViews']['on']('add',(_0xafc5e0,_0x15ac3c)=>{_0x15ac3c['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)),_0x1cc4b7['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x5437eb=this['_revisionsRepository']['getRevision'](0x0);if(_0x5437eb){const _0x239fca=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x5437eb['id']);this['_revisionViewer']['compare'](_0x5437eb,_0x239fca);}}['_handleRevisionSelected'](_0x2e09fa,_0x482e2){const _0x160ea4=this['_revisionsRepository']['getRevision'](_0x482e2['id']),_0x4df9fc=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x160ea4['id']);this['_revisionViewer']['compare'](_0x160ea4,_0x4df9fc);}['_handleRevisionSetName'](_0x284224,_0x5d05ce){this['_revisionsRepository']['getRevision'](_0x5d05ce['id'])['setName'](_0x5d05ce['name']);}['_handleDiffChange'](_0x3adfd4,_0x29aad6,_0x2f6cef){const _0xa1e7f4=this['_revisionsRepository']['getRevisionsInDiff'](_0x2f6cef);_0xa1e7f4['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0xa1e7f4),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0xa1e7f4[0x0]));}['_createRevisionActions'](){const _0xfdc110=this['editor'],_0x57981e=w['availableRevisionActions'],_0x43227d=_0xfdc110['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x43227d['length'])return _0x43227d['map'](_0x401f1b=>{const _0x8b53d6='string'==typeof _0x401f1b?Object['assign']({},_0x57981e[_0x401f1b]):_0x401f1b;return _0x8b53d6['action']=_0x8b53d6['action']['bind'](this,_0xfdc110),_0x8b53d6['isVisible']&&(_0x8b53d6['isVisible']=_0x8b53d6['isVisible']['bind'](this,_0xfdc110)),_0x8b53d6;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0xabd2b2},_0x59b6d3)=>{const _0x202bce=_0xabd2b2['get'](d),_0x46d0fd=_0x202bce['repository'];let _0x335020=_0x202bce['diff']['newRevisionId'],_0x24f52d=_0x59b6d3['id'];_0x46d0fd['getIndex'](_0x335020)>_0x46d0fd['getIndex'](_0x24f52d)&&([_0x335020,_0x24f52d]=[_0x24f52d,_0x335020]),_0x202bce['compare'](_0x335020,_0x24f52d);},'isVisible':({plugins:_0x93bc19},_0x40a8de)=>{const _0x2cd163=_0x93bc19['get'](d);return!(_0x2cd163['repository']['getRevisionsInDiff'](_0x2cd163['diff'])['length']>0x2)&&!_0x40a8de['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x1733d6,{id:_0x27c5f8})=>{_0x1733d6['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x27c5f8);},'isVisible':({plugins:_0x1f905e},_0x5391f8)=>!!_0x1f905e['get'](d)['repository']['getLaterVisibleRevision'](_0x5391f8['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x1ab272},{id:_0xb415e1,revisionNameView:_0x4a6ffd})=>{const _0x128d15=_0x1ab272['get'](d),_0x293518=_0x128d15['repository']['getEarlierVisibleRevision'](_0xb415e1);_0x128d15['compare'](_0xb415e1,_0x293518),_0x4a6ffd['focus'](),_0x4a6ffd['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x31006b,_0x257b3d){super(_0x31006b),this['_view']=_0x257b3d,this['_toolbarConfig']=ct(_0x31006b['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x2187c4){const _0xfaa0f9=this['editor'],_0x200fcd=this['view'],_0x9738c6=_0xfaa0f9['editing']['view'],_0x32ec1f=_0x200fcd['editable'],_0x38cdd7=_0x9738c6['document']['getRoot']();_0x32ec1f['name']=_0x38cdd7['rootName'],_0x200fcd['render']();const _0x1d58e8=_0x32ec1f['element'];this['setEditableElement'](_0x32ec1f['name'],_0x1d58e8),_0x200fcd['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x9738c6['attachDomRoot'](_0x1d58e8),this['_elementReplacer']['replace'](_0x2187c4,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x2d04b5=this['view'],_0x3feb72=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x3feb72['detachDomRoot'](_0x2d04b5['editable']['name']),_0x2d04b5['destroy']();}['_initToolbar'](){const _0x4b98ab=this['view'];_0x4b98ab['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x4b98ab['stickyPanel']['limiterElement']=_0x4b98ab['element'],_0x4b98ab['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x32306a})=>_0x32306a),_0x4b98ab['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x4b98ab['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x3e0c37,_0x2ccb85,_0x105c8b={}){super(_0x3e0c37),this['stickyPanel']=new lt(_0x3e0c37),this['toolbar']=new pt(_0x3e0c37,{'shouldGroupWhenFull':_0x105c8b['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x3e0c37,_0x2ccb85);}['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(_0x49cc53,_0x400f03){super(_0x400f03),this['sourceElement']=_0x49cc53,this['model']['document']['createRoot']();const _0x14c1bf=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x14c1bf);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x2327a8,_0x2469ff){const _0x18b216=new this(_0x2327a8,_0x2469ff);return await _0x18b216['initPlugins'](),await _0x18b216['ui']['init'](_0x2327a8),await _0x18b216['data']['init'](_0x18b216['config']['get']('initialData')||''),_0x18b216['fire']('ready'),_0x18b216;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x5237db{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0xb80c9c){super(_0xb80c9c),this['result']='end';}}class H extends _0x5237db{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x4d11bc){if(super(_0x4d11bc),!this['editor']['config']['get']('revisionHistory'))throw new _0x46bbe0('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0xf39a97=>this['_showRevisionViewer']({..._0xf39a97,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x3038fe=>this['_closeRevisionViewer'](_0x3038fe)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x5f35dd=>this['_restoreRevision'](_0x5f35dd)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x5d259a){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x5d259a;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x391222){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x391222);}['getRevision'](_0x4a791b){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x4a791b);}['getRevisions'](_0x328aec){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x328aec||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x1490b1=this['editor'],_0x5640ff=_0x48a64c(_0x1490b1,p),_0x8fb20f=_0x1490b1['plugins']['get']('RevisionTracker'),_0x572fa9=_0x1490b1['plugins']['get']('Users')['users'];return _0x5640ff['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x5640ff['lazyRoots'],(_0x5640ff['plugins']['push'](k,d,R,class extends _0x5237db{static get['requires'](){return[d,'Users'];}['init'](){const _0x16fe46=this['editor']['plugins']['get']('Users');for(const _0x52e524 of _0x572fa9)_0x52e524['isAnonymous']||_0x16fe46['getUser'](_0x52e524['id'])||_0x16fe46['addUser'](_0x52e524);const _0x5b318=_0x8fb20f['repository']['getRevisions']();let _0x2c8194=null;const _0x399929=this['editor']['plugins']['get']('RevisionViewer');_0x399929['adapter']=_0x8fb20f['adapter'],_0x399929['bind']('isEnabled')['to'](_0x8fb20f),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x1490b1,'isReadOnly',_0x1612a9=>!_0x1612a9);for(const _0x3d0383 of _0x5b318){const _0x1e9b6d=null===_0x3d0383['creator'];if(_0x1e9b6d&&_0x3d0383['toVersion']===_0x3d0383['fromVersion'])continue;const _0x27ea4e=_0x3d0383['toJSON']();_0x399929['addRevisionData'](_0x27ea4e,(_0x14ea92,_0x33fde1,_0x127c90)=>{if(_0x1e9b6d){if(_0x2c8194)_0x2c8194['_update'](_0x14ea92,_0x33fde1);else{if(!_0x33fde1){const _0x4e7c67=_0x127c90['toJSON']();_0x4e7c67['id']=_0xee2aa4(),_0x8fb20f['saveRevision'](_0x4e7c67,_0x127c90['toVersion'])['then'](_0x369831=>{_0x2c8194=_0x369831;});}}}else _0x3d0383['_update'](_0x14ea92,_0x33fde1);});}}},w),_0x5640ff);}['_enhanceShowRevisionViewerCallback'](){const _0x425c30=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x3a7496=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x267ecd=this['editor']['plugins']['get']('Autosave');await _0x267ecd['save']();}else await _0x3a7496['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x888dc7=this['editor']['plugins']['get']('Dialog');_0x888dc7['isOpen']&&_0x888dc7['hide']();}const _0x5b8989=this['_getRevisionViewerEditorConfig']();return _0x425c30(_0x5b8989)['then'](_0x2eca24=>{return(this['_viewerEditor']=_0x2eca24,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x2eca24;})['catch'](_0x574682=>(console['error'](_0x574682),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x3ef37f=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'](),_0x3ef37f(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x416eec=this['editor']['plugins']['get']('Annotations');_0x416eec['refreshVisibility'](),_0x416eec['refreshPositioning']();}})));}['_showRevisionViewer'](_0x34c7d4){const _0x325342=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x7fc537=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x52ce29=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x52ce29,_0x34c7d4)['then'](_0x502edd=>(_0x7fc537['style']['display']='block',_0x325342['style']['display']='none',_0x502edd));}['_closeRevisionViewer'](_0x4c9add){const _0x245f21=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x245f21['style']['display']='',_0x4c9add['destroy']();}async['_restoreRevision'](_0x34d3fe){const _0x58e960=this['editor'],_0x1859f1=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x263b54=_0x58e960['plugins']['get']('RevisionTracker'),_0xfff3d3=_0x1859f1['repository']['getRevision'](_0x34d3fe);let _0x3c8f4b,_0x1ab7a1,_0x5a651d;try{_0x3c8f4b=await _0x1859f1['getRevisionData'](_0xfff3d3),_0x1ab7a1=await _0x1859f1['getRevisionRootsAttributes'](_0xfff3d3);}catch(_0x4cc2db){return void console['error'](_0x4cc2db);}_0x58e960['model']['change'](_0x1d5083=>{for(const _0xa86c51 of Array['from'](_0x58e960['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x1d5083['removeMarker'](_0xa86c51);}),_0x1859f1['isReady']=!0x1,_0x58e960['model']['enqueueChange'](_0x569ac4=>{_0x569ac4['setSelection'](null),_0x569ac4['removeSelectionAttribute'](_0x58e960['model']['document']['selection']['getAttributeKeys']());const _0x864a60=Object['keys'](_0x3c8f4b);for(const _0x3f3db2 of _0x58e960['model']['document']['roots'])'$graveyard'!=_0x3f3db2['rootName']&&_0x3f3db2['isAttached']()&&!_0x864a60['includes'](_0x3f3db2['rootName'])&&_0x569ac4['detachRoot'](_0x3f3db2);for(const _0x14eefa of _0x864a60){let _0xbb866b=_0x58e960['model']['document']['getRoot'](_0x14eefa);_0xbb866b&&_0xbb866b['isAttached']()||(_0xbb866b=_0x569ac4['addRoot'](_0x14eefa));const _0xf6e2d6=_0x1ab7a1[_0x14eefa],_0x535831=Object['keys'](_0xf6e2d6),_0x2fc0b4=_0x3c8f4b[_0x14eefa];for(const _0xc57751 of _0xbb866b['getAttributeKeys']())_0x535831['includes'](_0xc57751)||_0x569ac4['removeAttribute'](_0xc57751,_0xbb866b);for(const _0x3bbac7 of _0x535831)_0x569ac4['setAttribute'](_0x3bbac7,_0x1ab7a1[_0x14eefa][_0x3bbac7],_0xbb866b);_0x569ac4['remove'](_0x569ac4['createRangeIn'](_0xbb866b)),_0x569ac4['insert'](_0x58e960['data']['parse'](_0x2fc0b4,_0xbb866b),_0xbb866b,0x0);}});const _0x5d1073=y(_0x58e960['locale'],'Restored');if(_0xfff3d3['name'])_0x5a651d=-0x1==_0xfff3d3['name']['indexOf'](_0x5d1073)?_0x5d1073+':\x20'+_0xfff3d3['name']:_0xfff3d3['name'];else _0x5a651d=_0x5d1073+':\x20'+(_0xfff3d3['createdAt']['toLocaleDateString'](_0x58e960['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0xfff3d3['createdAt']['toLocaleTimeString'](_0x58e960['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x263b54['saveRevision']({'name':_0x5a651d}),_0x1859f1['isReady']=!0x0,_0x58e960['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(_0x42c346){super(_0x42c346),this['_revisionViewer']=_0x42c346['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x2e6be5=this['_revisionsRepository']['_revisions'],_0x5d5fe5=this['_createRevisionActions'](),_0x5a141a=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x2e6be5,_0x5d5fe5,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',(_0x28ff41,_0x526afe)=>{_0x526afe['revisionViews']['on']('add',(_0x54aa94,_0x1c4963)=>{_0x1c4963['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)),_0x5a141a['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x269740=this['_revisionsRepository']['getRevision'](0x0);if(_0x269740){const _0x3d6865=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x269740['id']);this['_revisionViewer']['compare'](_0x269740,_0x3d6865);}}['_handleRevisionSelected'](_0x4053d6,_0x486091){const _0x29cc07=this['_revisionsRepository']['getRevision'](_0x486091['id']),_0x362216=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x29cc07['id']);this['_revisionViewer']['compare'](_0x29cc07,_0x362216);}['_handleRevisionSetName'](_0x45de8b,_0x9f1157){this['_revisionsRepository']['getRevision'](_0x9f1157['id'])['setName'](_0x9f1157['name']);}['_handleDiffChange'](_0x2b5adf,_0x398ea6,_0x3abd2e){const _0x1ca117=this['_revisionsRepository']['getRevisionsInDiff'](_0x3abd2e);_0x1ca117['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x1ca117),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x1ca117[0x0]));}['_createRevisionActions'](){const _0x5743d5=this['editor'],_0x4e0b04=w['availableRevisionActions'],_0x2cb133=_0x5743d5['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x2cb133['length'])return _0x2cb133['map'](_0x230bef=>{const _0x21b77d='string'==typeof _0x230bef?Object['assign']({},_0x4e0b04[_0x230bef]):_0x230bef;return _0x21b77d['action']=_0x21b77d['action']['bind'](this,_0x5743d5),_0x21b77d['isVisible']&&(_0x21b77d['isVisible']=_0x21b77d['isVisible']['bind'](this,_0x5743d5)),_0x21b77d;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x15eb74},_0x1bd992)=>{const _0x14b100=_0x15eb74['get'](d),_0x4733ff=_0x14b100['repository'];let _0x393937=_0x14b100['diff']['newRevisionId'],_0xb3c781=_0x1bd992['id'];_0x4733ff['getIndex'](_0x393937)>_0x4733ff['getIndex'](_0xb3c781)&&([_0x393937,_0xb3c781]=[_0xb3c781,_0x393937]),_0x14b100['compare'](_0x393937,_0xb3c781);},'isVisible':({plugins:_0x3225e0},_0x4e502d)=>{const _0x4e60da=_0x3225e0['get'](d);return!(_0x4e60da['repository']['getRevisionsInDiff'](_0x4e60da['diff'])['length']>0x2)&&!_0x4e502d['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x325a11,{id:_0x9c000a})=>{_0x325a11['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x9c000a);},'isVisible':({plugins:_0x2efc6c},_0x305e54)=>!!_0x2efc6c['get'](d)['repository']['getLaterVisibleRevision'](_0x305e54['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x1fb207},{id:_0xbfb555,revisionNameView:_0x2c0a11})=>{const _0x33d242=_0x1fb207['get'](d),_0x31fac3=_0x33d242['repository']['getEarlierVisibleRevision'](_0xbfb555);_0x33d242['compare'](_0xbfb555,_0x31fac3),_0x2c0a11['focus'](),_0x2c0a11['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x153cda,_0x14957c){super(_0x153cda),this['_view']=_0x14957c,this['_toolbarConfig']=ct(_0x153cda['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x1982b9){const _0x5d7c02=this['editor'],_0x51bbcd=this['view'],_0xa1947e=_0x5d7c02['editing']['view'],_0x24b1ef=_0x51bbcd['editable'],_0x191cce=_0xa1947e['document']['getRoot']();_0x24b1ef['name']=_0x191cce['rootName'],_0x51bbcd['render']();const _0x5d4785=_0x24b1ef['element'];this['setEditableElement'](_0x24b1ef['name'],_0x5d4785),_0x51bbcd['editable']['bind']('isFocused')['to'](this['focusTracker']),_0xa1947e['attachDomRoot'](_0x5d4785),this['_elementReplacer']['replace'](_0x1982b9,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x525e5f=this['view'],_0x48dcbd=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x48dcbd['detachDomRoot'](_0x525e5f['editable']['name']),_0x525e5f['destroy']();}['_initToolbar'](){const _0x22987e=this['view'];_0x22987e['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x22987e['stickyPanel']['limiterElement']=_0x22987e['element'],_0x22987e['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x33d333})=>_0x33d333),_0x22987e['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x22987e['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x17a41d,_0x9bea3f,_0x51746d={}){super(_0x17a41d),this['stickyPanel']=new lt(_0x17a41d),this['toolbar']=new pt(_0x17a41d,{'shouldGroupWhenFull':_0x51746d['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x17a41d,_0x9bea3f);}['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(_0x106c69,_0x5f024c){super(_0x5f024c),this['sourceElement']=_0x106c69,this['model']['document']['createRoot']();const _0x58f6e0=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x58f6e0);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x169049,_0x20e58d){const _0x378615=new this(_0x169049,_0x20e58d);return await _0x378615['initPlugins'](),await _0x378615['ui']['init'](_0x169049),await _0x378615['data']['init'](_0x378615['config']['get']('initialData')||''),_0x378615['fire']('ready'),_0x378615;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x5be8fc{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x460b67){super(_0x460b67),this['result']='end';}}class H extends _0x5be8fc{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x57097f){if(super(_0x57097f),!this['editor']['config']['get']('revisionHistory'))throw new _0x14b05c('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x1903b4=>this['_showRevisionViewer']({..._0x1903b4,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x1bb127=>this['_closeRevisionViewer'](_0x1bb127)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x3f1f52=>this['_restoreRevision'](_0x3f1f52)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x1625d7){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x1625d7;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x3e98ba){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x3e98ba);}['getRevision'](_0x5c4dfd){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x5c4dfd);}['getRevisions'](_0x3409d7){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x3409d7||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x403fc5=this['editor'],_0x11da46=_0x484f66(_0x403fc5,p),_0x2e94fb=_0x403fc5['plugins']['get']('RevisionTracker'),_0x1a2c3b=_0x403fc5['plugins']['get']('Users')['users'];return _0x11da46['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x11da46['lazyRoots'],(_0x11da46['plugins']['push'](k,d,R,class extends _0x5be8fc{static get['requires'](){return[d,'Users'];}['init'](){const _0xf51492=this['editor']['plugins']['get']('Users');for(const _0x30d9af of _0x1a2c3b)_0x30d9af['isAnonymous']||_0xf51492['getUser'](_0x30d9af['id'])||_0xf51492['addUser'](_0x30d9af);const _0xa56569=_0x2e94fb['repository']['getRevisions']();let _0x253f47=null;const _0x4c01da=this['editor']['plugins']['get']('RevisionViewer');_0x4c01da['adapter']=_0x2e94fb['adapter'],_0x4c01da['bind']('isEnabled')['to'](_0x2e94fb),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x403fc5,'isReadOnly',_0x161e62=>!_0x161e62);for(const _0x3cd964 of _0xa56569){const _0x3d4b1a=null===_0x3cd964['creator'];if(_0x3d4b1a&&_0x3cd964['toVersion']===_0x3cd964['fromVersion'])continue;const _0x25913c=_0x3cd964['toJSON']();_0x4c01da['addRevisionData'](_0x25913c,(_0x36a949,_0x42de92,_0x4d7ad2)=>{if(_0x3d4b1a){if(_0x253f47)_0x253f47['_update'](_0x36a949,_0x42de92);else{if(!_0x42de92){const _0xfe983d=_0x4d7ad2['toJSON']();_0xfe983d['id']=_0x2b22ca(),_0x2e94fb['saveRevision'](_0xfe983d,_0x4d7ad2['toVersion'])['then'](_0x53ddc7=>{_0x253f47=_0x53ddc7;});}}}else _0x3cd964['_update'](_0x36a949,_0x42de92);});}}},w),_0x11da46);}['_enhanceShowRevisionViewerCallback'](){const _0x115b1d=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x29d521=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x382dec=this['editor']['plugins']['get']('Autosave');await _0x382dec['save']();}else await _0x29d521['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x5300f7=this['editor']['plugins']['get']('Dialog');_0x5300f7['isOpen']&&_0x5300f7['hide']();}const _0x1353b3=this['_getRevisionViewerEditorConfig']();return _0x115b1d(_0x1353b3)['then'](_0x5a2473=>{return(this['_viewerEditor']=_0x5a2473,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x5a2473;})['catch'](_0x434510=>(console['error'](_0x434510),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x43f0dc=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'](),_0x43f0dc(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x2acf0b=this['editor']['plugins']['get']('Annotations');_0x2acf0b['refreshVisibility'](),_0x2acf0b['refreshPositioning']();}})));}['_showRevisionViewer'](_0x25844e){const _0x117fdd=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x432c34=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x5dd79f=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x5dd79f,_0x25844e)['then'](_0x5f2e24=>(_0x432c34['style']['display']='block',_0x117fdd['style']['display']='none',_0x5f2e24));}['_closeRevisionViewer'](_0x18d996){const _0x57417c=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x57417c['style']['display']='',_0x18d996['destroy']();}async['_restoreRevision'](_0x1e05ac){const _0xe2c506=this['editor'],_0x477b80=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x24eaf1=_0xe2c506['plugins']['get']('RevisionTracker'),_0x20f556=_0x477b80['repository']['getRevision'](_0x1e05ac);let _0x780a13,_0x597298,_0x752759;try{_0x780a13=await _0x477b80['getRevisionData'](_0x20f556),_0x597298=await _0x477b80['getRevisionRootsAttributes'](_0x20f556);}catch(_0x4bf94c){return void console['error'](_0x4bf94c);}_0xe2c506['model']['change'](_0xf9c6d8=>{for(const _0x477160 of Array['from'](_0xe2c506['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0xf9c6d8['removeMarker'](_0x477160);}),_0x477b80['isReady']=!0x1,_0xe2c506['model']['enqueueChange'](_0x219e5f=>{_0x219e5f['setSelection'](null),_0x219e5f['removeSelectionAttribute'](_0xe2c506['model']['document']['selection']['getAttributeKeys']());const _0x2e21fc=Object['keys'](_0x780a13);for(const _0x58fb52 of _0xe2c506['model']['document']['roots'])'$graveyard'!=_0x58fb52['rootName']&&_0x58fb52['isAttached']()&&!_0x2e21fc['includes'](_0x58fb52['rootName'])&&_0x219e5f['detachRoot'](_0x58fb52);for(const _0x4a8785 of _0x2e21fc){let _0x6b225e=_0xe2c506['model']['document']['getRoot'](_0x4a8785);_0x6b225e&&_0x6b225e['isAttached']()||(_0x6b225e=_0x219e5f['addRoot'](_0x4a8785));const _0xa5f951=_0x597298[_0x4a8785],_0x56a01f=Object['keys'](_0xa5f951),_0x32ccb0=_0x780a13[_0x4a8785];for(const _0x59ac10 of _0x6b225e['getAttributeKeys']())_0x56a01f['includes'](_0x59ac10)||_0x219e5f['removeAttribute'](_0x59ac10,_0x6b225e);for(const _0x8fafeb of _0x56a01f)_0x219e5f['setAttribute'](_0x8fafeb,_0x597298[_0x4a8785][_0x8fafeb],_0x6b225e);_0x219e5f['remove'](_0x219e5f['createRangeIn'](_0x6b225e)),_0x219e5f['insert'](_0xe2c506['data']['parse'](_0x32ccb0,_0x6b225e),_0x6b225e,0x0);}});const _0x260a9e=y(_0xe2c506['locale'],'Restored');if(_0x20f556['name'])_0x752759=-0x1==_0x20f556['name']['indexOf'](_0x260a9e)?_0x260a9e+':\x20'+_0x20f556['name']:_0x20f556['name'];else _0x752759=_0x260a9e+':\x20'+(_0x20f556['createdAt']['toLocaleDateString'](_0xe2c506['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x20f556['createdAt']['toLocaleTimeString'](_0xe2c506['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x24eaf1['saveRevision']({'name':_0x752759}),_0x477b80['isReady']=!0x0,_0xe2c506['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};