@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240819.0 → 0.0.0-nightly-20240821.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 +8 -8
  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 _0x5a08a8,Context as _0x4ff6f4,PendingActions as _0x5e59b5,icons as _0x5be88d,Command as _0x2c240c,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x225cdb,uid as _0x3b4a48,Collection as _0x174e35,logWarning as _0xdbe9d9,FocusTracker as _0x4ed74d,KeystrokeHandler as _0xb6524e,scrollViewportToShowTarget as _0x3e9657,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x236805}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x1a82cf,getMarkerDomElement as _0x2e6bbf,ConfirmMixin as _0x2bb715,sanitizeEditorConfig as _0x5b96df}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x1cf314,ViewText as _0x2ca0c3,ViewElement as _0x3032c3,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x3f136f,ViewAttributeElement as _0x3cb3ba,ViewEmptyElement as _0xde41fe,ViewRawElement as _0x58553b,ViewUIElement as _0x587a53,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x1b7537,set as _0x258add,unset as _0xed4922,isEqual as _0x1f03b4}from'lodash-es';import{View as _0x5db524,injectCssTransitionDisabler as ts,submitHandler as _0x2fc8db,LabeledFieldView as at,createLabeledInputText as _0x50e25a,createDropdown as _0x4af22a,ListView as te,ListItemView as _0x1192be,ButtonView as _0x52c08a,MenuBarMenuView as _0x3e8f9a,MenuBarMenuListView as _0x5bf4c2,MenuBarMenuListItemView as _0x394e2d,MenuBarMenuListItemButtonView as _0x17970c,ContextualBalloon as _0x4ba363,ToolbarSeparatorView as _0x5fb0bf,IconView as _0x3cec56,addListToDropdown as _0x4a04b8,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 _0x4f6ec9}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x225cdb(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x5617d8){super(),this['id']=_0x5617d8['id']||_0x3b4a48(),this['creator']=_0x5617d8['creator']||null,this['authors']=_0x5617d8['authors']||[],this['diffData']=_0x5617d8['diffData']||null,this['toVersion']=_0x5617d8['toVersion']||0x0,this['fromVersion']=_0x5617d8['fromVersion']||0x0,this['set']('name',_0x5617d8['name']||''),this['set']('createdAt',_0x5617d8['createdAt']||new Date()),this['set']('attributes',_0x5617d8['attributes']||{});}['setName'](_0x1f5f1e){this['_update']({'name':_0x1f5f1e});}['setAttribute'](_0x4e7af6,_0x4fab6e){const _0x298e7d=_0x1b7537(this['attributes']);_0x258add(_0x298e7d,_0x4e7af6,_0x4fab6e),this['_update']({'attributes':_0x298e7d});}['removeAttribute'](_0x230cff){const _0x107010=_0x1b7537(this['attributes']);_0xed4922(_0x107010,_0x230cff),this['_update']({'attributes':_0x107010});}['_update'](_0x1fbde3,_0x125326=!0x1){let _0x3f0ee4=!0x1;const _0x1beb2e={'id':this['id']},_0xacf927=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x2816ef of _0xacf927){const _0x32c4a3=_0x1fbde3[_0x2816ef];void 0x0!==_0x32c4a3&&_0x32c4a3!==this[_0x2816ef]&&(this[_0x2816ef]=_0x32c4a3,_0x1beb2e[_0x2816ef]=_0x32c4a3,_0x3f0ee4=!0x0);}_0x3f0ee4&&(_0x1beb2e['authors']&&(_0x1beb2e['authorsIds']=_0x1beb2e['authors']['map'](_0x43c3ad=>_0x43c3ad['id']),delete _0x1beb2e['authors']),this['fire']('_update',_0x1beb2e,_0x125326));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x1e31fa=>_0x1e31fa['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x5a08a8{['_revisions'];static get['requires'](){return[_0x1a82cf];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x138df8){super(_0x138df8),this['_revisions']=new _0x174e35();}['afterInit'](){!function(_0x25e67c){function _0xa6a8ec(_0x19f54f,_0xd6acce,_0x3b4ef3){const _0xd1a5a={};_0xd1a5a[_0x185023([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0xd1a5a[_0x185023([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],_0xd1a5a[_0x185023([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],_0xd1a5a[_0x185023([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],_0xd1a5a[_0x185023([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],_0xd1a5a[_0x185023([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],_0xd1a5a[_0x185023([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],_0xd1a5a[_0x185023([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],_0xd1a5a[_0x185023([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],_0xd1a5a[_0x185023([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],_0xd1a5a[_0x185023([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 _0x2944e4=new Uint8Array(0x10);for(let _0x508516=0xf;_0x508516>=0x0;--_0x508516)_0x2944e4[_0x508516]=_0x3b4ef3%0x100,_0x3b4ef3=parseInt(_0x3b4ef3/0x100);let _0x2aed73=null,_0x4ac2c5=0x10;const _0x2c6e66=new Uint8Array(_0xd6acce),_0x917ae4=[],_0x1586e1=[];_0x773827();for(let _0x37f0eb=0x0;_0x37f0eb<_0x19f54f[_0x185023([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37f0eb++)0x10===_0x4ac2c5&&(_0x2aed73=_0x801b31(_0x2944e4),_0x4ac2c5=0x0,_0x242dce(_0x2944e4)),_0x19f54f[_0x37f0eb]^=_0x2aed73[_0x4ac2c5++];return _0x19f54f;function _0x33a2d3(_0x189242){const _0x45b9f0=[];for(let _0x28ea9e=0x0;_0x28ea9e<_0x189242[_0x185023([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x28ea9e+=0x4)_0x45b9f0[_0x185023([0x70,0x75,0x73,0x68])](_0x189242[_0x28ea9e]<<0x18|_0x189242[_0x28ea9e+0x1]<<0x10|_0x189242[_0x28ea9e+0x2]<<0x8|_0x189242[_0x28ea9e+0x3]);return _0x45b9f0;}function _0x242dce(_0x175cae){for(let _0x2b8799=0xf;_0x2b8799>=0x0;_0x2b8799--){if(0xff!==_0x175cae[_0x2b8799]){_0x175cae[_0x2b8799]++;break;}_0x175cae[_0x2b8799]=0x0;}}function _0x801b31(_0x4b5238){const _0x4785b3=_0x917ae4[_0x185023([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x550b3a=[0x0,0x0,0x0,0x0];let t=_0x33a2d3(_0x4b5238);for(let _0x28dfa3=0x0;_0x28dfa3<0x4;_0x28dfa3++)t[_0x28dfa3]^=_0x917ae4[0x0][_0x28dfa3];for(let _0x35261d=0x1;_0x35261d<_0x4785b3;_0x35261d++){for(let _0x29c07b=0x0;_0x29c07b<0x4;_0x29c07b++)_0x550b3a[_0x29c07b]=_0xd1a5a[_0x185023([0x54,0x31])][t[_0x29c07b]>>0x18&0xff]^_0xd1a5a[_0x185023([0x54,0x32])][t[(_0x29c07b+0x1)%0x4]>>0x10&0xff]^_0xd1a5a[_0x185023([0x54,0x33])][t[(_0x29c07b+0x2)%0x4]>>0x8&0xff]^_0xd1a5a[_0x185023([0x54,0x34])][0xff&t[(_0x29c07b+0x3)%0x4]]^_0x917ae4[_0x35261d][_0x29c07b];t=_0x550b3a[_0x185023([0x73,0x6c,0x69,0x63,0x65])]();}const _0x38e4d6=new Uint8Array(0x10);let _0x188266;for(let _0x2762dd=0x0;_0x2762dd<0x4;_0x2762dd++)_0x188266=_0x917ae4[_0x4785b3][_0x2762dd],_0x38e4d6[0x4*_0x2762dd]=0xff&(_0xd1a5a[_0x185023([0x53])][t[_0x2762dd]>>0x18&0xff]^_0x188266>>0x18),_0x38e4d6[0x4*_0x2762dd+0x1]=0xff&(_0xd1a5a[_0x185023([0x53])][t[(_0x2762dd+0x1)%0x4]>>0x10&0xff]^_0x188266>>0x10),_0x38e4d6[0x4*_0x2762dd+0x2]=0xff&(_0xd1a5a[_0x185023([0x53])][t[(_0x2762dd+0x2)%0x4]>>0x8&0xff]^_0x188266>>0x8),_0x38e4d6[0x4*_0x2762dd+0x3]=0xff&(_0xd1a5a[_0x185023([0x53])][0xff&t[(_0x2762dd+0x3)%0x4]]^_0x188266);return _0x38e4d6;}function _0x773827(){const _0x24a597=_0xd1a5a[_0x185023([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x2c6e66[_0x185023([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x1ea7a3=0x0;_0x1ea7a3<=_0x24a597;_0x1ea7a3++)_0x917ae4[_0x185023([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x1586e1[_0x185023([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0xd1336b=0x4*(_0x24a597+0x1),_0x3894d6=_0x2c6e66[_0x185023([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x4b6418=_0x33a2d3(_0x2c6e66);let _0x36baf6;for(let _0x3e28b9=0x0;_0x3e28b9<_0x3894d6;_0x3e28b9++)_0x36baf6=_0x3e28b9>>0x2,_0x917ae4[_0x36baf6][_0x3e28b9%0x4]=_0x4b6418[_0x3e28b9],_0x1586e1[_0x24a597-_0x36baf6][_0x3e28b9%0x4]=_0x4b6418[_0x3e28b9];let _0x1e4756,_0x1ac2d3=0x0,t=_0x3894d6;for(;t<_0xd1336b;){_0x1e4756=_0x4b6418[_0x3894d6-0x1],_0x4b6418[0x0]^=_0xd1a5a[_0x185023([0x53])][_0x1e4756>>0x10&0xff]<<0x18^_0xd1a5a[_0x185023([0x53])][_0x1e4756>>0x8&0xff]<<0x10^_0xd1a5a[_0x185023([0x53])][0xff&_0x1e4756]<<0x8^_0xd1a5a[_0x185023([0x53])][_0x1e4756>>0x18&0xff]^_0xd1a5a[_0x185023([0x72,0x63,0x6f,0x6e])][_0x1ac2d3]<<0x18,_0x1ac2d3+=0x1;for(let _0x160fdf=0x1;_0x160fdf<_0x3894d6/0x2;_0x160fdf++)_0x4b6418[_0x160fdf]^=_0x4b6418[_0x160fdf-0x1];_0x1e4756=_0x4b6418[_0x3894d6/0x2-0x1],_0x4b6418[_0x3894d6/0x2]^=_0xd1a5a[_0x185023([0x53])][0xff&_0x1e4756]^_0xd1a5a[_0x185023([0x53])][_0x1e4756>>0x8&0xff]<<0x8^_0xd1a5a[_0x185023([0x53])][_0x1e4756>>0x10&0xff]<<0x10^_0xd1a5a[_0x185023([0x53])][_0x1e4756>>0x18&0xff]<<0x18;for(let _0x5f08ca=_0x3894d6/0x2+0x1;_0x5f08ca<_0x3894d6;_0x5f08ca++)_0x4b6418[_0x5f08ca]^=_0x4b6418[_0x5f08ca-0x1];let _0x56366c,_0x2da81d,_0x28497f=0x0;for(;_0x28497f<_0x3894d6&&t<_0xd1336b;)_0x56366c=t>>0x2,_0x2da81d=t%0x4,_0x917ae4[_0x56366c][_0x2da81d]=_0x4b6418[_0x28497f],_0x1586e1[_0x24a597-_0x56366c][_0x2da81d]=_0x4b6418[_0x28497f++],t++;}for(let _0x43dbc5=0x1;_0x43dbc5<_0x24a597;_0x43dbc5++)for(let _0x4903cd=0x0;_0x4903cd<0x4;_0x4903cd++)_0x1e4756=_0x1586e1[_0x43dbc5][_0x4903cd],_0x1586e1[_0x43dbc5][_0x4903cd]=_0xd1a5a[_0x185023([0x55,0x31])][_0x1e4756>>0x18&0xff]^_0xd1a5a[_0x185023([0x55,0x32])][_0x1e4756>>0x10&0xff]^_0xd1a5a[_0x185023([0x55,0x33])][_0x1e4756>>0x8&0xff]^_0xd1a5a[_0x185023([0x55,0x34])][0xff&_0x1e4756];}}function _0x185023(_0x2a5ff9){return _0x2a5ff9['map'](_0x3f033e=>String['fromCharCode'](_0x3f033e))['join']('');}(_0x363e9a=>{function _0x12dd21(){const _0x23ab60=[{[_0x185023([0x69,0x64])]:0x1,[_0x185023([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x185023([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x185023([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x185023([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x185023([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x185023([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x185023([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x185023([0x69,0x64])]:0x2,[_0x185023([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x185023([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x185023([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x185023([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x185023([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x185023([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]),[_0x185023([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x185023([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x185023([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x185023([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x185023([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x185023([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x185023([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x185023([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x185023([0x69,0x64])]:0x3,[_0x185023([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x185023([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x185023([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x185023([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x185023([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x185023([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x185023([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x185023([0x69,0x64])]:0x4,[_0x185023([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x185023([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x185023([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x185023([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x185023([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x185023([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]),[_0x185023([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x185023([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x185023([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x185023([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x185023([0x69,0x64])]:0x5,[_0x185023([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x185023([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x185023([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x185023([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x185023([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]),[_0x185023([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x185023([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x185023([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x185023([0x66,0x67,0x69])]:[0xc]}},{[_0x185023([0x69,0x64])]:0x6,[_0x185023([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x185023([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x185023([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x185023([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x185023([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x185023([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x185023([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x185023([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x185023([0x66,0x67,0x69])]:[0xc]}},{[_0x185023([0x69,0x64])]:0x7,[_0x185023([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x185023([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x185023([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x185023([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x185023([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x185023([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x185023([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x185023([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x185023([0x66,0x67,0x69])]:[0xc]}},{[_0x185023([0x69,0x64])]:0x8,[_0x185023([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x185023([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x185023([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x185023([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x185023([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]),[_0x185023([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x185023([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x185023([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x185023([0x66,0x67,0x69])]:[0xc]}},{[_0x185023([0x69,0x64])]:0x9,[_0x185023([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x185023([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x185023([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x185023([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x185023([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x185023([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x185023([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x185023([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x185023([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x185023([0x69,0x64])]:0xa,[_0x185023([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x185023([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]),[_0x185023([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x185023([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]),[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x185023([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]),[_0x185023([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x185023([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x185023([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x185023([0x66,0x67,0x69])]:[0xc]}},{[_0x185023([0x69,0x64])]:0xb,[_0x185023([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x185023([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x185023([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x185023([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x185023([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x185023([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x185023([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x185023([0x69,0x64])]:0xc,[_0x185023([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x185023([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x185023([0x69,0x64])]:0xd,[_0x185023([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x185023([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x185023([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x185023([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x185023([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x185023([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x185023([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x185023([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x185023([0x66,0x67,0x69])]:[0xc]}},{[_0x185023([0x69,0x64])]:0xe,[_0x185023([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x185023([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x185023([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x185023([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])},{[_0x185023([0x69,0x64])]:0xf,[_0x185023([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x185023([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x185023([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x185023([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x185023([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x185023([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x185023([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x185023([0x69,0x64])]:0x10,[_0x185023([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x185023([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x185023([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x185023([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x185023([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x185023([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x185023([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x185023([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x185023([0x66,0x67,0x69])]:[0xc]}}];return _0x43d435(_0x23ab60),_0x23ab60;function _0x117879(_0x5074d4){return 0x1<<_0x5074d4-0x1;}function _0x43d435(_0x2632b1){_0x2632b1[_0x185023([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x20f10a=>{_0x20f10a[_0x185023([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x117879(_0x20f10a[_0x185023([0x69,0x64])]),_0x4609bc(_0x20f10a)&&_0x20f10a[_0x185023([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x43d435(_0x20f10a[_0x185023([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x4609bc(_0x451324){return _0x185023([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x451324;}const _0x5d42d6=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x48be3c=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x555093(_0x11e668){const _0x57930c=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x106ed9(_0x11e668,new Uint8Array([..._0x5d42d6,..._0x57930c,..._0x48be3c]));}function _0x106ed9(_0x2066dd,_0x3ec663){const _0x3fdf66=_0x463f08(_0x2066dd),_0x5cb06e=Array[_0x185023([0x66,0x72,0x6f,0x6d])](_0x1473f5(_0x3fdf66)),_0x3fa0c1=_0x5cb06e[_0x185023([0x70,0x6f,0x70])](),_0x3cf522=_0x5cb06e[_0x185023([0x70,0x6f,0x70])]();return _0x18cc45(_0xa6a8ec(_0x5cb06e,_0x3ec663,_0x3cf522+0x100*_0x3fa0c1));}function _0x463f08(_0x88f235){const _0x132aa2=atob(_0x88f235),[_0x386bfb,_0x18da39]=_0x132aa2[_0x185023([0x73,0x70,0x6c,0x69,0x74])](_0x185023([0x2d]));try{if(atob(_0x18da39))return atob(_0x386bfb);}catch(_0x40478){}return _0x132aa2;}function _0x1c1bec(_0x3cb3f5){try{const _0x418f8b=_0x555093(_0x3cb3f5),_0x3b8cde=JSON[_0x185023([0x70,0x61,0x72,0x73,0x65])](_0x418f8b),_0xbc419=parseInt(_0x3b8cde[_0x185023([0x31])]),_0x27f038=_0x3b8cde[_0x185023([0x32])]||'',_0x344560=parseInt(_0x3b8cde[_0x185023([0x33])]),_0x56afac=parseInt(_0x3b8cde[_0x185023([0x34])])||0x0,_0x5c4182=parseInt(_0x3b8cde[_0x185023([0x35])])||0x0;return{[_0x185023([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x27f038,[_0x185023([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x56afac,[_0x185023([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0xbc419,[_0x185023([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x344560,[_0x185023([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x5c4182};}catch(_0x5c7a6a){return null;}}const _0x81f75b=_0x12dd21(),_0x515812={[_0x185023([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x305f6b,[_0x185023([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])]:_0x5e6737,[_0x185023([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])]:_0x2d54bc},_0x37cb54=_0x363e9a[_0x185023([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x185023([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x5d506b=_0x185023([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x363e9a?_0x363e9a['context']:_0x363e9a['editor'],_0x4d94fb=_0x185023([0x34,0x30,0x34,0x38,0x31,0x36,0x33,0x38]),_0x43ee8a=_0x185023([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]),_0x52ac73=_0x5d506b['config']['get'](_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x491253=_0x81f75b[_0x185023([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4609bc)[_0x185023([0x66,0x69,0x6e,0x64])](_0x4b6705=>_0x4b6705[_0x185023([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x37cb54);function _0x118577(_0x1adf45,_0x13d826){_0x515812[_0x13d826[_0x185023([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x1adf45,_0x13d826),_0x13d826[_0x185023([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x13d826[_0x185023([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x185023([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d98ee=>_0x53a26a(_0x5d506b,_0x3d98ee[_0x185023([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x185023([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ebb85=>_0x118577(_0x1adf45,_0x2ebb85));}function _0x305f6b(_0x4c15ea,_0x38a0b3){_0x4c45ba(_0x50164e(_0x4c15ea,_0x38a0b3),_0x38a0b3);}function _0x5e6737(_0x3d153d,_0x41c306){function _0x4563fd(_0x30d155,_0x5cc15b){try{if(_0x53a26a(_0x5d506b,_0x185023([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x30d155){const _0x50bb75=_0x5f1035(_0x5d506b,_0x185023([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x185023([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x50bb75)/0x2>_0x30d155[_0x185023([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x3552a1(_0x5cc15b[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x185023([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x50164e(_0x30d155,_0x5cc15b);}catch(_0x55376c){return _0x3552a1(_0x5cc15b[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x185023([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x4c45ba(_0x4563fd(_0x3d153d,_0x41c306),_0x41c306);}function _0x2d54bc(_0x28e170,_0x2f08c7){const _0x1fbf39=_0x48be3c[0x0]*_0x5d42d6[0x1],_0xa4da15=_0x48be3c[0x0]*_0x5d42d6[0x2],_0xd51af1=_0x48be3c[0x2]*_0x5d42d6[0x2];_0x53a26a(_0x5d506b,_0x185023([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x5f1035(_0x5d506b,_0x185023([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x185023([0x73,0x74,0x61,0x74,0x65])]==_0x185023([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x2f6adb()]=_0xd51af1);function _0x3c44d7(_0x2136db,_0x2059a0){try{return _0x2bbbfd()?_0x3552a1(_0x2059a0[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x185023([0x56,0x61,0x6c,0x69,0x64])):_0x50164e(_0x2136db,_0x2059a0);}catch(_0x3046b8){return _0x3552a1(_0x2059a0[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x185023([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x572b9e(_0x5cac21,_0x1743e6){const _0x49cec9=0x7;if(_0x5cac21==_0x1743e6[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x185023([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x455149();else{if(_0x5cac21==_0x1743e6[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x185023([0x54,0x72,0x69,0x61,0x6c])){const _0x4a3c54=_0x417c7f();_0x4a3c54&&_0x5df43c(_0x4a3c54,_0x1743e6[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x26181b=_0x41602d();window[_0x185023([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x5df43c(_0x185023([0x74,0x69,0x6d,0x65]),_0x1743e6[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x26181b);const _0x5be60c=_0x5f1035(_0x5d506b,_0x185023([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x185023([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x5be60c[_0x185023([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x49cec9?_0x5df43c(_0x185023([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1743e6[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x5be60c['on'](_0x185023([0x61,0x64,0x64]),()=>{_0x5be60c[_0x185023([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x49cec9&&_0x5df43c(_0x185023([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1743e6[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x417c7f(){if(!_0x53a26a(_0x5d506b,_0x185023([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x5be64c in window)if(Number['isNaN'](Number(_0x5be64c))){if(window[_0x5be64c]===_0x1fbf39)return _0x185023([0x74,0x69,0x6d,0x65]);if(window[_0x5be64c]===_0xa4da15)return _0x185023([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x2bbbfd(){if(!_0x53a26a(_0x5d506b,_0x185023([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x39b9f3 in window)if(Number['isNaN'](Number(_0x39b9f3))&&window[_0x39b9f3]===_0xd51af1)return!0x0;return!0x1;}function _0x5df43c(_0x136b0a,_0x5c9b30){_0x455149(),_0x3552a1(_0x5c9b30+_0x185023([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x136b0a),window[_0x2f6adb()]=_0x136b0a===_0x185023([0x74,0x69,0x6d,0x65])?_0x1fbf39:_0xa4da15;}function _0x41602d(){let _0x56a091=_0x48be3c[0x6]*_0x5d42d6[0x8]*_0x5d42d6[0x6];return _0x53a26a(_0x5d506b,_0x185023([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x56a091/=0xa),_0x56a091;}function _0x455149(){const _0x4f0ece=_0x5d506b;function _0x49a30a(){_0x53a26a(_0x4f0ece,_0x185023([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x5f1035(_0x4f0ece,_0x185023([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x185023([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x185023([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x5f1035(_0x4f0ece,_0x185023([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x185023([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x5f1035(_0x4f0ece,_0x185023([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x185023([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x26c08c,_0x5f1035(_0x4f0ece,_0x185023([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x185023([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x26c08c,_0x4f0ece[_0x185023([0x6d,0x6f,0x64,0x65,0x6c])][_0x185023([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x26c08c,_0x4f0ece[_0x185023([0x6d,0x6f,0x64,0x65,0x6c])][_0x185023([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x26c08c,_0x4f0ece[_0x185023([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x185023([0x6d,0x6f,0x64,0x65,0x6c]))),_0x53a26a(_0x4f0ece,_0x185023([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x5f1035(_0x4f0ece,_0x185023([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x185023([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x185023([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x5f1035(_0x4f0ece,_0x185023([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x185023([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x5f1035(_0x4f0ece,_0x185023([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x185023([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x26c08c,_0x5f1035(_0x4f0ece,_0x185023([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x185023([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x26c08c);}_0x4f0ece[_0x185023([0x73,0x74,0x61,0x74,0x65])]==_0x185023([0x72,0x65,0x61,0x64,0x79])?_0x49a30a():_0x4f0ece[_0x185023([0x6f,0x6e,0x63,0x65])](_0x185023([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x53a26a(_0x4f0ece,_0x185023([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x49a30a(),_0x53a26a(_0x4f0ece,_0x185023([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x55de5f=_0x5f1035(_0x4f0ece,_0x185023([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x3cf55c=_0x55de5f['getRevision'](0x0),_0xbd48f3=_0x55de5f['getEarlierVisibleRevision'](_0x3cf55c[_0x185023([0x69,0x64])]);_0x5f1035(_0x4f0ece,_0x185023([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x185023([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x3cf55c[_0x185023([0x69,0x64])],_0xbd48f3?_0xbd48f3[_0x185023([0x69,0x64])]:null,0x1)['then'](()=>_0x49a30a());}});}_0x572b9e(_0x3c44d7(_0x28e170,_0x2f08c7),_0x2f08c7);}function _0x50164e(_0x5c1f3d,_0x98e14a){try{return _0x4b6503(_0x98e14a)?_0x3552a1(_0x98e14a[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x185023([0x56,0x61,0x6c,0x69,0x64])):_0x5c1f3d&&_0x1e9cdf(_0x5c1f3d[_0x185023([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x98e14a)?_0x5c1f3d[_0x185023([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x185023([0x6f,0x70,0x65,0x6e])][_0x185023([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x4d94fb)/0x2>_0x5c1f3d[_0x185023([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x3552a1(_0x98e14a[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x185023([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x5c1f3d[_0x185023([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x3552a1(_0x98e14a[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x185023([0x54,0x72,0x69,0x61,0x6c])):_0x3552a1(_0x98e14a[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x185023([0x56,0x61,0x6c,0x69,0x64])):_0x3552a1(_0x98e14a[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x185023([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x19e8bf){return _0x3552a1(_0x98e14a[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x185023([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x4c45ba(_0x27091b,_0x442b3c){if(_0x5d506b instanceof _0x4ff6f4){const _0x4bf523=_0x5d506b;_0x27091b==_0x442b3c[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x185023([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x508899(_0x4bf523):_0x27091b==_0x442b3c[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x185023([0x54,0x72,0x69,0x61,0x6c])&&window[_0x185023([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x508899(_0x4bf523),_0x3552a1(_0x442b3c[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x185023([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x48be3c[0x6]*_0x5d42d6[0x8]*_0x5d42d6[0x6]),_0x4bf523[_0x185023([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x185023([0x6f,0x6e])](_0x185023([0x61,0x64,0x64]),(_0x56e01e,_0x4cde0c)=>{_0x27091b!=_0x442b3c[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x185023([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x27091b!=_0x442b3c[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x185023([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x27091b!=_0x442b3c[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x185023([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0xe142d1(_0x4cde0c);});}else{const _0x4c57ee=_0x5d506b;_0x27091b==_0x442b3c[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x185023([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0xe142d1(_0x4c57ee):_0x27091b==_0x442b3c[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x185023([0x54,0x72,0x69,0x61,0x6c])&&_0x4c57ee[_0x185023([0x6f,0x6e])](_0x185023([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x38ebbf=0x0;_0x4c57ee[_0x185023([0x6d,0x6f,0x64,0x65,0x6c])][_0x185023([0x6f,0x6e])](_0x185023([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x8ea9d,_0x3d26de)=>{_0x3d26de[0x0][_0x185023([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x38ebbf++,0x1f8===_0x38ebbf&&(_0xe142d1(_0x4c57ee),_0x3552a1(_0x442b3c[_0x185023([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x185023([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x8ea9d[_0x185023([0x6f,0x66,0x66])]());},{'priority':_0x185023([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x3552a1(_0x3ac753){const _0x2142bd=_0x2f6adb();return _0x5d506b[_0x2142bd]=_0x3ac753,_0x3ac753;}function _0x2f6adb(){const _0x49793a=String(window[_0x185023([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x185023([0x6e,0x6f,0x77])]())[_0x185023([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x185023([0x2e]),'');let _0x2d31c5='';for(let _0x500311=0x0;_0x500311<_0x49793a[_0x185023([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x500311+=0x2){let _0x58f366=parseInt(_0x49793a[_0x185023([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x500311,_0x500311+0x2));_0x58f366>=_0x43ee8a[_0x185023([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x58f366-=_0x43ee8a[_0x185023([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2d31c5+=_0x43ee8a[_0x58f366];}return _0x2d31c5;}function _0x508899(_0x1ed1f3){for(const _0xca9dc0 of _0x1ed1f3[_0x185023([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0xe142d1(_0xca9dc0);_0x5f1035(_0x1ed1f3,_0x185023([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x185023([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x5f1035(_0x1ed1f3,_0x185023([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x185023([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x26c08c;}function _0xe142d1(_0x20df12){function _0x36ace2(){_0x20df12[_0x185023([0x6d,0x6f,0x64,0x65,0x6c])][_0x185023([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x26c08c,_0x20df12[_0x185023([0x6d,0x6f,0x64,0x65,0x6c])][_0x185023([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x26c08c,_0x20df12[_0x185023([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x185023([0x6d,0x6f,0x64,0x65,0x6c]));}_0x20df12[_0x185023([0x73,0x74,0x61,0x74,0x65])]==_0x185023([0x72,0x65,0x61,0x64,0x79])?_0x36ace2():_0x20df12[_0x185023([0x6f,0x6e,0x63,0x65])](_0x185023([0x72,0x65,0x61,0x64,0x79]),()=>_0x36ace2());}function _0x26c08c(){return null;}function _0x1e9cdf(_0x527ded,_0x22b22a){const _0x57fdd3=!!(_0x527ded&_0x22b22a[_0x185023([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x42f76b=_0x26f1b3(_0x527ded,_0x22b22a);return _0x57fdd3||_0x42f76b;}function _0x26f1b3(_0x35073a,_0x7f9a){const _0x3860fd=(_0x7f9a[_0x185023([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x185023([0x66,0x67,0x69])]||null;return!!_0x3860fd&&_0x81f75b[_0x185023([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ceb16=>_0x3860fd[_0x185023([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ceb16[_0x185023([0x69,0x64])]))[_0x185023([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b4df5=>!_0x40208f(_0x4b4df5))[_0x185023([0x73,0x6f,0x6d,0x65])](_0x28b43e=>!!(_0x35073a&_0x28b43e[_0x185023([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x40208f(_0x4e1ce2){const _0x577423={[_0x185023([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])]:_0x5ac94a};return!!_0x4e1ce2['forbiddenHandler']&&_0x577423[_0x4e1ce2['forbiddenHandler']]();}function _0x5ac94a(){return!window[_0x185023([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x53a26a(_0x5d506b,_0x185023([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x4b6503(_0x5a9d6f){if(!_0x53a26a(_0x5d506b,_0x5a9d6f[_0x185023([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x58f46e=_0x5a9d6f[_0x185023([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x19a6a7=_0x58f46e[_0x185023([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x274e20=_0x58f46e[_0x185023([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x4446f4=_0x58f46e[_0x185023([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x53a26a(_0x5d506b,_0x185023([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x5f1035(_0x5d506b,_0x185023([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x185023([0x73,0x74,0x61,0x74,0x65])]==_0x185023([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x19a6a7)return!0x0;if(_0x53a26a(_0x5d506b,_0x185023([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x5f1035(_0x5d506b,_0x185023([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x185023([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x185023([0x65,0x6e,0x64])&&_0x274e20)return!0x0;return!(!_0x53a26a(_0x5d506b,_0x185023([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]))||_0x5f1035(_0x5d506b,_0x185023([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]))[_0x185023([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x185023([0x65,0x6e,0x64])||!_0x4446f4);}function _0x53a26a(_0x45c5ec,_0x6b6b6d){return _0x45c5ec[_0x185023([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x185023([0x68,0x61,0x73])](_0x6b6b6d);}function _0x5f1035(_0x215820,_0x251c6f){return _0x215820[_0x185023([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x185023([0x67,0x65,0x74])](_0x251c6f);}function _0x18cc45(_0x518f59){let _0x209fee='';for(const _0x1a8209 of _0x518f59)_0x209fee+=String[_0x185023([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x1a8209);return _0x209fee;}function _0x1473f5(_0x58225e){const _0x5bbec2=new Uint8Array(_0x58225e[_0x185023([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x492c88=0x0;_0x492c88<_0x58225e[_0x185023([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x492c88++)_0x5bbec2[_0x492c88]=_0x58225e[_0x185023([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x492c88);return _0x5bbec2;}_0x491253&&_0x118577(_0x1c1bec(_0x52ac73),_0x491253);})(_0x25e67c);}(this);}['createRevision'](_0x5710e9){const _0x3459f3=this['editor']['plugins']['get']('Users');return new a({'id':_0x5710e9['id'],'name':_0x5710e9['name'],'creator':_0x5710e9['creatorId']?_0x3459f3['getUser'](_0x5710e9['creatorId']):null,'diffData':_0x5710e9['diffData']||_0x5710e9['data'],'authors':_0x5710e9['authorsIds']['map'](_0x430bab=>_0x3459f3['getUser'](_0x430bab)),'createdAt':new Date(_0x5710e9['createdAt']),'attributes':_0x5710e9['attributes'],'fromVersion':_0x5710e9['fromVersion'],'toVersion':_0x5710e9['toVersion']});}['addRevision'](_0x3016fc,_0x3cd68a=0x0){this['_revisions']['add'](_0x3016fc,_0x3cd68a);}['getRevision'](_0x11dded){return this['_revisions']['get'](_0x11dded);}['getRevisions'](_0x211e4e={'toJSON':!0x1}){const _0x5b6110=Array['from'](this['_revisions']);return _0x5b6110['reverse'](),_0x211e4e['toJSON']?_0x5b6110['map'](_0x2be6b5=>_0x2be6b5['toJSON']()):_0x5b6110;}['getIndex'](_0xead8b){return this['_revisions']['getIndex'](_0xead8b);}['getEarlierVisibleRevision'](_0x52b2fb){const [,_0x3e4cf8]=this['getRevisionsIterator'](_0x52b2fb,{'direction':'earlier'});return _0x3e4cf8;}['getLaterVisibleRevision'](_0x372981){const [,_0x4104dd]=this['getRevisionsIterator'](_0x372981,{'direction':'later'});return _0x4104dd;}['getRevisionsInDiff'](_0x32b7f8){const _0x550706=[];for(const _0x2fa6b7 of this['getRevisionsIterator'](_0x32b7f8['newRevisionId']))if(_0x550706['push'](_0x2fa6b7),_0x2fa6b7['id']===_0x32b7f8['oldRevisionId'])break;return _0x550706;}*['getRevisionsIterator'](_0x19458d,{direction:_0x2baec4='earlier',filter:_0x2ee504=_0x363375=>!0x0}={}){const _0x33d357='earlier'===_0x2baec4?0x1:-0x1;let _0x3094c0=this['_revisions']['get'](_0x19458d),_0x578259=this['getIndex'](_0x3094c0);for(yield _0x3094c0;_0x3094c0;){if(_0x578259+=_0x33d357,_0x3094c0=this['getRevision'](_0x578259),!_0x3094c0)return;_0x2ee504(_0x3094c0)&&(yield _0x3094c0);}}}function y(_0x67c781,_0x360476,_0x151326){const t=_0x67c781['t'];switch(_0x360476){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'},_0x151326);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x151326);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x3f136f,'a':_0x3cb3ba,'e':_0xde41fe,'r':_0x58553b,'u':_0x587a53};class l extends _0x5a08a8{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x1a82cf,A,_0x5e59b5];}constructor(_0x40f9a4){super(_0x40f9a4),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 _0x4ce228=_0x3b4a48();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x4ce228},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 _0x4d32cd=this['repository']['getRevision'](0x0),_0x4b3e38=_0x4d32cd&&null===_0x4d32cd['creator']?_0x4d32cd:null;if(this['_continueCurrentRevision']=!!_0x4b3e38&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x289a01=this['_source']['getCurrentRevisionId'](),_0x2d488e=this['repository']['getRevision'](_0x289a01);if(_0x2d488e)this['_startingVersion']=_0x2d488e['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x3bae13=this['_source']['history']['_operations']['find'](_0x5694f6=>!_0x5694f6['_isInit']),_0x47cf69=_0x3bae13?_0x3bae13['baseVersion']:this['_source']['history']['version'];_0x4d32cd?(_0x4d32cd['toVersion']<_0x47cf69&&_0x4d32cd['_update']({'toVersion':_0x47cf69}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x4b3e38['id'],this['_startingVersion']=_0x4b3e38['fromVersion']):(this['_startingVersion']=_0x4d32cd['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x47cf69,this['_continueCurrentRevision']=!0x1);}}else _0x4b3e38&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x4b3e38['toVersion'],this['editor']['model']['document']['history']['version']),_0x4b3e38['fromVersion']===_0x4b3e38['toVersion']?(0x0!==_0x4b3e38['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x4b3e38['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x4b3e38['id'],this['_startingVersion']=_0x4b3e38['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',_0x2c0036=>!_0x2c0036);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x3594dc=this['repository']['getRevision'](0x0),_0x5cbdbf=await this['getRevisionDocumentData'](_0x3594dc),_0x32d1f6=await this['getRevisionRootsAttributes'](_0x3594dc);this['_replaceEditorDataWithRevisionData'](_0x5cbdbf,_0x32d1f6);}}['setSource'](_0x1db425){this['_source']=_0x1db425;}async['update'](){const _0x4df265=await this['_source']['getLatestVersion']();if(_0x4df265>this['currentRevision']['toVersion']){await this['_loadState']();const _0x596e27=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x4df265});_0x596e27['authors']=_0x596e27['authorsIds']['map'](_0x281a71=>this['editor']['plugins']['get']('Users')['getUser'](_0x281a71)),this['currentRevision']['_update'](_0x596e27);}}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'](_0x274940={},_0x2bec91=null){const _0x194bb4=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x2bec91>this['currentRevision']['toVersion']&&(_0x2bec91=null),null===_0x2bec91&&(_0x2bec91=await this['_source']['getLatestVersion']());const _0x587416=this['_getFromVersion'](_0x2bec91),_0x15cb37=this['buildRevisionData']({'from':_0x587416,'to':_0x2bec91});if(this['currentRevision']['toVersion']<_0x2bec91){const _0x54f262=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x2bec91,'to':_0x2bec91});_0x54f262['authors']=[],_0x54f262['authorsIds']=[],_0x54f262['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x54f262,!0x0),delete _0x54f262['authors'],_0x194bb4['push'](_0x54f262);}_0x274940['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x274940['name']=_0x274940['name']||null,_0x274940['id']=_0x274940['id']||_0x3b4a48(),_0x274940={..._0x274940,..._0x15cb37};const _0x13bd12=this['addRevisionData'](_0x274940);_0x194bb4['push'](_0x274940);const _0x15d152=this['repository']['getIndex'](_0x13bd12);if(0x0!==_0x15d152){const _0x5ad5ac=this['repository']['getRevision'](_0x15d152-0x1);if(_0x5ad5ac['fromVersion']!==_0x2bec91){const _0xfe8e01=this['_revisionDataBuilder']['getData'](_0x2bec91,_0x5ad5ac['toVersion']),_0x5abab3={'id':_0x5ad5ac['id'],'diffData':_0xfe8e01['diffData'],'authorsIds':_0xfe8e01['authorsIds'],'authors':_0xfe8e01['authorsIds']['map'](_0x31816f=>this['editor']['plugins']['get']('Users')['getUser'](_0x31816f)),'fromVersion':_0x2bec91};_0x5ad5ac===this['currentRevision']&&(_0x5abab3['createdAt']=new Date(_0x274940['createdAt']['getTime']()+0xa)),_0x5ad5ac['_update'](_0x5abab3,!0x0),delete _0x5abab3['authors'],_0x194bb4['push'](_0x5abab3);}}if(this['adapter']){for(const _0x571ab4 of _0x194bb4)this['_bufferUpdate'](_0x571ab4['id'],_0x571ab4,!0x0);this['sendBufferedUpdates']();}return _0x13bd12;}['addRevisionData'](_0x3e4f71){const _0x2fc74d=this['repository']['createRevision'](_0x3e4f71);return this['adapter']&&_0x2fc74d['on']('_update',(_0x2afb71,_0x11b29a,_0x58dd20)=>{_0x58dd20||(this['_bufferUpdate'](_0x11b29a['id'],_0x11b29a,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x2fc74d,this['_findInsertionIndex'](_0x2fc74d)),_0x2fc74d;}async['getRevisionDocumentData'](_0x4458ea){await this['_loadRevisionData'](_0x4458ea);const _0x32618e={};for(const _0x1572e2 in _0x4458ea['diffData']){if(_0x4458ea['diffData'][_0x1572e2]['attachChange']&&!_0x4458ea['diffData'][_0x1572e2]['attachChange']['isAttached'])continue;const _0x4801e7=this['_removeRevisionMarkers'](JSON['parse'](_0x4458ea['diffData'][_0x1572e2]['insertions'])),_0x477854=this['editor']['editing']['view']['document'],_0x3ac54b=new _0x1cf314(_0x477854,_0x4801e7['map'](_0x50579c=>B(_0x50579c,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x32618e[_0x1572e2]=this['editor']['data']['processor']['toData'](_0x3ac54b),this['editor']['data']['processor']['useFillerType']('default');}return _0x32618e;}async['getRevisionRootsAttributes'](_0x42b70c){await this['_loadRevisionData'](_0x42b70c);const _0x4fe513={};for(const _0x2180ba in _0x42b70c['diffData'])_0x42b70c['diffData'][_0x2180ba]['attachChange']&&!_0x42b70c['diffData'][_0x2180ba]['attachChange']['isAttached']||(_0x4fe513[_0x2180ba]=_0x42b70c['diffData'][_0x2180ba]['attributesAfter']||{});return _0x4fe513;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x402314=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x2c5e16=0x0;_0x2c5e16<_0x402314['length'];_0x2c5e16++){const _0x2e9235=_0x402314[_0x2c5e16];let _0xf6caa1=!0x1;for(const _0x425378 of Object['keys'](_0x2e9235))void 0x0===_0x2e9235[_0x425378]?delete _0x2e9235[_0x425378]:'id'!==_0x425378&&(_0xf6caa1=!0x0);_0xf6caa1||(_0x402314[_0x2c5e16]=null);}if(_0x402314=_0x402314['filter'](_0x1617b6=>null!==_0x1617b6),!_0x402314['length'])return;for(let _0x44ace9=0x0;_0x44ace9<_0x402314['length'];_0x44ace9++){const _0x2e6f70=_0x402314[_0x44ace9];void 0x0!==_0x2e6f70['fromVersion']&&void 0x0===_0x2e6f70['toVersion']&&(_0x2e6f70['toVersion']=this['repository']['getRevision'](_0x2e6f70['id'])['toVersion']),void 0x0!==_0x2e6f70['toVersion']&&void 0x0===_0x2e6f70['fromVersion']&&(_0x2e6f70['fromVersion']=this['repository']['getRevision'](_0x2e6f70['id'])['fromVersion']);}const _0x5baf60=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x402314,_0x5baf60)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x338df2=>{if(_0x338df2){for(const _0x17368b of _0x338df2)this['setRevisionData']({'id':_0x17368b['id'],'createdAt':_0x17368b['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x58b7f6,_0x4521ea){let _0xf4b357=this['editor']['config']['get']('initialData'),_0x843166=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0xf4b357){_0xf4b357={};for(const _0x15ee32 of this['editor']['model']['document']['getRootNames']())_0xf4b357[_0x15ee32]='';}if('string'==typeof _0xf4b357&&(_0xf4b357={'main':_0xf4b357}),void 0x0===_0x843166){_0x843166={};for(const _0x1f2672 of this['editor']['model']['document']['getRootNames']())_0x843166[_0x1f2672]={};}let _0x146450=!0x1;const _0x596b39=Object['keys'](_0xf4b357),_0x944311=Object['keys'](_0x58b7f6);for(const _0x22a08f of _0x596b39){if(_0xf4b357[_0x22a08f]!==_0x58b7f6[_0x22a08f]&&''!==_0xf4b357[_0x22a08f]['trim']()){_0x146450=!0x0;break;}if(!_0x1f03b4(_0x843166[_0x22a08f],_0x4521ea[_0x22a08f])&&Object['keys'](_0x843166[_0x22a08f])['length']>0x0){_0x146450=!0x0;break;}}_0x146450||(_0x146450=_0x944311['some'](_0x54fcda=>!this['editor']['model']['document']['getRoot'](_0x54fcda))),_0x146450&&_0xdbe9d9('editor-initial-data-replaced-with-revision-data',{'editorData':_0xf4b357,'editorRootsAttributes':_0x843166,'revisionData':_0x58b7f6,'revisionRootsAttributes':_0x4521ea}),this['editor']['config']['set']('initialData',_0x58b7f6),this['editor']['config']['set']('rootsAttributes',_0x4521ea);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x32f6ea=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x32f6ea['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x1f1fcc){const _0x159680=this['repository']['getRevisions']();_0x159680['reverse']();let _0x1b76dd=0x0;for(;_0x1b76dd<_0x159680['length'];){const _0x2def20=_0x159680[_0x1b76dd];if(_0x2def20===this['currentRevision']){_0x1b76dd++;continue;}if(_0x2def20['id']===this['_initialRevisionId'])break;const _0xc8f7b1=_0x1f1fcc['toVersion']-_0x2def20['toVersion']||_0x1f1fcc['fromVersion']-_0x2def20['fromVersion'];if(_0xc8f7b1>0x0)break;if(_0xc8f7b1<0x0)_0x1b76dd++;else{if(!_0x1f1fcc['creator']&&_0x2def20['creator'])break;if(_0x2def20['creator']||!_0x1f1fcc['creator']){if(_0x1f1fcc['createdAt']>_0x2def20['createdAt'])break;_0x1b76dd++;}else _0x1b76dd++;}}return _0x1b76dd;}['setRevisionData'](_0x5e5333){const _0x1b3863=this['repository']['getRevision'](_0x5e5333['id']);if(_0x5e5333['createdAt']&&(_0x5e5333['createdAt']=new Date(_0x5e5333['createdAt'])),_0x5e5333['authorsIds']){const _0x4deea1=this['editor']['plugins']['get']('Users');_0x5e5333['authors']=_0x5e5333['authorsIds']['map'](_0x2bb3fc=>_0x4deea1['getUser'](_0x2bb3fc));}_0x1b3863['_update'](_0x5e5333,!0x0);}['buildRevisionData']({revision:_0x5009d1=null,from:_0x5efd23=null,to:_0xcb2f01=null}){_0x5efd23=null!==_0x5efd23?_0x5efd23:_0x5009d1['fromVersion'],_0xcb2f01=null!==_0xcb2f01?_0xcb2f01:_0x5009d1['toVersion'];const _0x2ac009=this['_revisionDataBuilder']['getData'](_0x5efd23,_0xcb2f01),_0x226add={'diffData':_0x2ac009['diffData'],'authorsIds':_0x2ac009['authorsIds'],'fromVersion':_0x5efd23,'toVersion':_0xcb2f01};if(!_0x5009d1||_0xcb2f01!==_0x5009d1['toVersion']){const _0x3aa7d6=_0xcb2f01-0x1,_0x31adc4=this['_source']['history']['getOperation'](_0x3aa7d6);_0x226add['createdAt']=_0x31adc4&&_0x31adc4['createdAt']||new Date();}if(this['_loadedStateData']&&_0x5efd23===this['_loadedStateData']['fromVersion']){for(const _0x965714 of this['_loadedStateData']['authors'])_0x226add['authorsIds']['includes'](_0x965714['id'])||_0x226add['authorsIds']['push'](_0x965714['id']);}return _0x226add;}['_loadRevisionData'](_0x357867){if(!_0x357867||_0x357867['diffData'])return Promise['resolve']();{const _0x49aaba=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x49aaba,'revisionId':_0x357867['id']})['then'](_0x5d1188=>{_0x357867['diffData']=_0x5d1188['diffData'];});}}['_bufferUpdate'](_0x1f352f,_0x35a2dc,_0x98980c){if(this['_bufferedUpdates']['has'](_0x1f352f)){const _0x235257=this['_bufferedUpdates']['get'](_0x1f352f);_0x35a2dc=_0x98980c?{..._0x235257,..._0x35a2dc}:{..._0x35a2dc,..._0x235257};}this['_bufferedUpdates']['set'](_0x1f352f,_0x35a2dc);}['_getFromVersion'](_0x1b03c9){const _0x5ddeae=this['repository']['getRevisions']();_0x5ddeae['reverse'](),_0x5ddeae['shift']();const _0x2b3e43=_0x5ddeae['find'](_0x3df364=>_0x3df364['toVersion']<=_0x1b03c9)['toVersion'];return _0x2b3e43<this['_startingVersion']?this['_startingVersion']:_0x2b3e43;}['_createInitialRevision'](_0x1b97ce){const _0x2de7be=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x2de7be)this['_initialRevisionId']=_0x2de7be['id'];else{const _0xf28cf0=!this['editor']['model']['document']['roots']['find'](_0x544940=>this['editor']['model']['hasContent'](_0x544940)),_0x1826fb=this['editor']['plugins']['get']('Users')['me']['id'],_0x3446bb=y(this['editor']['locale'],_0xf28cf0?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x1b97ce,'to':_0x1b97ce,'id':this['_initialRevisionId'],'name':_0x3446bb,'creatorId':_0x1826fb});}}['_createCurrentRevision'](_0x4a73e1){const _0x593fa1=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x593fa1),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x4a73e1,'to':_0x4a73e1,'id':_0x593fa1,'name':'','creatorId':null}));}['_makeRevision']({name:_0x2a5f6c,from:_0x254689,to:_0x1d8710,creatorId:_0x21b595,id:_0x1df2c8}){const _0x4e1174=this['buildRevisionData']({'from':_0x254689,'to':_0x1d8710});_0x4e1174['name']=_0x2a5f6c,_0x4e1174['creatorId']=_0x21b595,_0x4e1174['id']=_0x1df2c8;const _0x1c4c9c=this['addRevisionData'](_0x4e1174);return this['adapter']&&this['_bufferUpdate'](_0x4e1174['id'],_0x4e1174,!0x0),_0x1c4c9c;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x1bdeef){return(_0x1bdeef=_0x1bdeef['filter'](_0x58bc06=>!_0x58bc06['name']||'revision-start'!==_0x58bc06['name']&&'revision-end'!==_0x58bc06['name']))['forEach'](_0x5155ac=>{'string'!=typeof _0x5155ac&&(_0x5155ac['children']=this['_removeRevisionMarkers'](_0x5155ac['children']),_0x5155ac['attributes']=_0x5155ac['attributes']['filter'](_0x20b784=>!_0x20b784[0x0]['startsWith']('data-revision-')));}),_0x1bdeef;}}function B(_0x2d6065,_0x217d59){const _0x320013=_0x217d59['editing']['view']['document'];if('string'==typeof _0x2d6065)return new _0x2ca0c3(_0x320013,_0x2d6065);{const _0x4e61b1=_0x2d6065['children']['map'](_0x1b24e2=>B(_0x1b24e2,_0x217d59));return new(T[_0x2d6065['type']]||_0x3032c3)(_0x320013,_0x2d6065['name'],_0x2d6065['attributes'],_0x4e61b1);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x11dc41){this['editor']=_0x11dc41,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'](_0x59900d){this['source']=_0x59900d;const _0x16c6be=new Map(),_0x1e22d4=new Map(),_0x5451a0=this['editor']['model']['document']['roots']['map'](_0x3cfe9b=>_0x3cfe9b['rootName']);for(const _0x58f49c of _0x5451a0){const _0x3a8ab5=this['editor']['model']['document']['getRoot'](_0x58f49c),_0x3d3797=q(_0x3a8ab5);_0x16c6be['set'](_0x58f49c,_0x3d3797),_0x1e22d4['set'](_0x58f49c,Object['fromEntries'](_0x3a8ab5['getAttributes']()));}const _0x2aeedd=Array['from'](this['editor']['model']['markers'])['map'](_0x376c4a=>[_0x376c4a['name'],_0x376c4a['getRange']()]),_0x567b62=this['source']['version'];this['_saveMetaData'](_0x567b62,_0x16c6be,_0x2aeedd,_0x1e22d4),this['_startingRevisionId']=this['_revisionId'];const _0x59d6af=new Map(),_0x1c81e7=new Map();for(const _0x472b61 of _0x5451a0){const _0xd105fb=G(_0x472b61);_0x59d6af['set'](_0x472b61,_0xd105fb),_0x1c81e7['set'](_0x472b61,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x59d6af,[],_0x1c81e7);}['getData'](_0x41548c,_0x436c2d){if(this['_lastFrom']===_0x41548c&&this['_lastTo']<=_0x436c2d)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x436c2d,!0x0);else{if(!this['_savedMetaData']['has'](_0x41548c)){const _0x16dd93=this['_getPreviousFrom'](_0x41548c);this['_calculateMetaData'](_0x16dd93,_0x41548c,!0x1);}this['_calculateMetaData'](_0x41548c,_0x436c2d,!0x0);}return this['_lastFrom']=_0x41548c,this['_lastTo']=_0x436c2d,this['_getState']();}['loadState'](_0x274b59){this['_reset'](),this['_lastFrom']=_0x274b59['fromVersion'],this['_lastTo']=_0x274b59['toVersion'];for(const _0x536643 in _0x274b59['diffData']){const _0x4e8ae3=_0x274b59['diffData'][_0x536643]['attachChange'],_0x1a13c4=_0x1b7537(_0x274b59['diffData'][_0x536643]['attributesBefore'])||{},_0x24184a=this['_makeModelFromViewString'](_0x274b59['diffData'][_0x536643]['deletions']);_0x24184a['rootName']=_0x536643,_0x24184a['_isAttached']=!_0x4e8ae3||!_0x4e8ae3['isAttached'],_0x24184a['isAttached']=()=>_0x24184a['_isAttached'],this['_baseRoots']['set'](_0x536643,_0x24184a),this['_baseRootsAttributes']['set'](_0x536643,_0x1a13c4),_0x4e8ae3&&this['_touchedRoots']['set'](_0x536643,_0x4e8ae3);const _0x312bf1=this['_makeIdsRoot'](_0x24184a);this['_baseIdsRoots']['set'](_0x536643,_0x312bf1);for(const [_0x150d04,_0x19e3e2]of _0x24184a['markers']){if(!_0x150d04['startsWith']('revision:'))continue;const _0x18081c=_0x150d04['split'](':')[0x2];for(const _0x991148 of _0x19e3e2['getWalker']({'singleCharacters':!0x0})){const _0x2873bb=this['_getVidAttributeName'](_0x991148),_0x3135fc='elementEnd'==_0x991148['type']?_0x991148['previousPosition']['path']['slice'](0x0,-0x1):_0x991148['previousPosition']['path'],_0x2b2c4c=_0x312bf1['getNodeByPath'](_0x3135fc)['getAttribute'](_0x2873bb);this['_touched']['set'](_0x2b2c4c,{'userId':_0x18081c});}}}this['_startingRevisionId']=this['_revisionId'];const _0x2e2606=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0xcbd649=>!this['_touched']['has'](_0xcbd649));let _0x3870ac=0x0;const _0x4157d7=new Map();for(const _0x5dee0b in _0x274b59['diffData']){const _0x2374f8=_0x274b59['diffData'][_0x5dee0b]['attachChange'],_0x4c9edc=_0x1b7537(_0x274b59['diffData'][_0x5dee0b]['attributesAfter'])||{},_0x461dcb=this['_makeModelFromViewString'](_0x274b59['diffData'][_0x5dee0b]['insertions']);_0x461dcb['rootName']=_0x5dee0b,_0x461dcb['_isAttached']=!_0x2374f8||_0x2374f8['isAttached'],_0x461dcb['isAttached']=()=>_0x461dcb['_isAttached'],this['_diffRoots']['set'](_0x5dee0b,_0x461dcb),this['_diffRootsAttributes']['set'](_0x5dee0b,_0x4c9edc);const _0x378e35=this['_makeIdsRoot'](_0x461dcb,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x5dee0b,_0x378e35),_0x4157d7['set'](_0x5dee0b,_0x461dcb['isAttached']()?_0x4c9edc:{});for(const [_0x50b171,_0x5a93ea]of _0x461dcb['markers']){if(!_0x50b171['startsWith']('revision:'))continue;const _0x32f243=_0x50b171['split'](':')[0x2];for(const _0x181360 of _0x5a93ea['getWalker']({'singleCharacters':!0x0})){const _0x3961b6=this['_getVidAttributeName'](_0x181360),_0x7efb70=this['_revisionId']++,_0x515e26='elementEnd'==_0x181360['type']?_0x181360['previousPosition']['path']['slice'](0x0,-0x1):_0x181360['previousPosition']['path'];_0x378e35['getNodeByPath'](_0x515e26)['_setAttribute'](_0x3961b6,_0x7efb70),this['_touched']['set'](_0x7efb70,{'userId':_0x32f243});}}for(const _0x2dec49 of this['editor']['model']['createRangeIn'](_0x461dcb)['getWalker']({'singleCharacters':!0x0})){const _0x4f94e5=this['_getVidAttributeName'](_0x2dec49),_0x25d9de='elementEnd'==_0x2dec49['type']?_0x2dec49['previousPosition']['path']['slice'](0x0,-0x1):_0x2dec49['previousPosition']['path'],_0x2a1a33=_0x378e35['getNodeByPath'](_0x25d9de);_0x2a1a33['getAttribute'](_0x4f94e5)>0x0||_0x2a1a33['_setAttribute'](_0x4f94e5,_0x2e2606[_0x3870ac++]);}for(const [_0x3e86a5,_0xce11e]of _0x461dcb['markers'])_0x3e86a5['startsWith']('revision:')||this['_markers']['set'](_0x3e86a5,_0xce11e);}const _0x51c0ff=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x51c0ff),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x51c0ff,0x1));const _0x212784=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x212784),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x212784,0x1));const _0x2fdef9=Array['from'](this['_diffRoots'])['map'](([_0x142a1a,_0x1073b8])=>[_0x142a1a,q(_0x1073b8)]);this['_saveMetaData'](this['_lastTo'],_0x2fdef9,this['_markers'],_0x4157d7);}['_makeModelFromViewString'](_0x2e5d71){const _0x616f46=JSON['parse'](_0x2e5d71),_0x2a9a47=this['editor']['editing']['view']['document'],_0x5d530e=new _0x1cf314(_0x2a9a47,_0x616f46['map'](_0x20276b=>B(_0x20276b,this['editor'])));return this['editor']['data']['toModel'](_0x5d530e);}['_saveMetaData'](_0x26761,_0x3a2773,_0x94e88a,_0x5b8c83){const _0x39ae41=new Map(_0x3a2773),_0x140d34=new Map(_0x1b7537(_0x5b8c83)),_0x276ec8=new Map();for(const [_0x238990,_0x2aa5f9]of _0x94e88a)_0x276ec8['set'](_0x238990,{'start':_0x2aa5f9['start']['clone'](),'end':_0x2aa5f9['end']['clone'](),'rootName':_0x2aa5f9['root']['rootName']});this['_savedMetaData']['set'](_0x26761,{'roots':_0x39ae41,'markers':_0x276ec8,'rootsAttributes':_0x140d34});}['_removeMetaData'](_0x213758){this['_savedMetaData']['delete'](_0x213758);}['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'](_0x29aeb0,_0x266216=null){let _0x144d7b=null;_0x29aeb0['is']('documentFragment')||(_0x144d7b=new ft(_0x29aeb0['name'],{'vid_start':null===_0x266216?this['_revisionId']++:_0x266216++}));const _0x220307=[];for(const _0x59c0fc of _0x29aeb0['getChildren']())if(_0x59c0fc['is']('element')){_0x220307['push'](this['_makeIdsRoot'](_0x59c0fc,_0x266216));const _0x205fb6=_0x220307[_0x220307['length']-0x1];null!==_0x266216&&(_0x266216=_0x205fb6['is']('element','$text')?_0x205fb6['getAttribute']('vid')+0x1:_0x205fb6['getAttribute']('vid_end')+0x1);}else{for(let _0x2db04a=0x0;_0x2db04a<_0x59c0fc['offsetSize'];_0x2db04a++)_0x220307['push'](new ft('$text',{'vid':null===_0x266216?this['_revisionId']++:_0x266216++}));}if(_0x29aeb0['is']('documentFragment')){const _0xdf56a7=G(_0x29aeb0['rootName']);return _0xdf56a7['_insertChild'](0x0,_0x220307),_0xdf56a7;}return _0x144d7b['_setAttribute']('vid_end',null===_0x266216?this['_revisionId']++:_0x266216++),_0x144d7b['_insertChild'](0x0,_0x220307),_0x144d7b;}['_calculateMetaData'](_0x506d23,_0x3f5f2b,_0x1ce514){this['_reset']();const {roots:_0x34f34b,markers:_0xdc5317,rootsAttributes:_0x47e186}=this['_savedMetaData']['get'](_0x506d23);this['_baseRoots']=new Map(_0x34f34b),this['_baseRootsAttributes']=new Map(_0x1b7537(_0x47e186));for(const [_0x513b61,_0x4327ae]of this['_baseRoots'])if('$graveyard'!==_0x513b61&&(this['_diffRoots']['set'](_0x513b61,q(_0x4327ae)),this['_diffRootsAttributes']=new Map(_0x1b7537(_0x47e186)),_0x1ce514)){const _0x419707=this['_revisionId'];this['_idsRoots']['set'](_0x513b61,this['_makeIdsRoot'](_0x4327ae)),this['_baseIdsRoots']['set'](_0x513b61,this['_makeIdsRoot'](_0x4327ae,_0x419707));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x1ce514&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x7df4aa,_0x4835a0]of _0xdc5317){const _0x3111c0=this['_baseRoots']['get'](_0x4835a0['rootName']),_0x59ec8e=this['_diffRoots']['get'](_0x4835a0['rootName']),_0x5ba838=new vt(this['_fixPosition'](_0x4835a0['start'],_0x3111c0),this['_fixPosition'](_0x4835a0['end'],_0x3111c0)),_0x9ac65d=this['_fixRange'](_0x5ba838,_0x59ec8e);_0x3111c0['markers']['set'](_0x7df4aa,_0x5ba838),this['_markers']['set'](_0x7df4aa,_0x9ac65d);}this['_applyOperations'](_0x506d23,_0x3f5f2b,_0x1ce514);}['_applyOperations'](_0x5bea1b,_0x3aad48,_0x5e3840){for(const _0x43c082 of this['source']['getOperations'](_0x5bea1b,_0x3aad48))this['_handleOperation'](_0x43c082,_0x5e3840);for(const _0x2aaa52 of this['_diffRoots']['values']())_0x2aaa52['markers']['clear']();for(const [_0x452a91,_0x349662]of this['_markers']){this['_diffRoots']['get'](_0x349662['root']['rootName'])['markers']['set'](_0x452a91,_0x349662['clone']());}const _0x5a83bd=new Map(),_0x30a03a=new Map();for(const [_0x324b85,_0x5d84f5]of this['_diffRoots'])_0x5a83bd['set'](_0x324b85,q(_0x5d84f5)),_0x30a03a['set'](_0x324b85,this['_diffRootsAttributes']['get'](_0x324b85));this['_saveMetaData'](_0x3aad48,_0x5a83bd,this['_markers'],_0x30a03a);}['_getPreviousFrom'](_0x284f9b){const _0x3893b1=Array['from'](this['_savedMetaData']['keys']());_0x3893b1['sort']((_0x26862f,_0x1de296)=>_0x26862f-_0x1de296),_0x3893b1['reverse']();for(const _0x29c8a8 of _0x3893b1)if(_0x29c8a8<_0x284f9b)return _0x29c8a8;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x972a87,_0x4852d5){const _0x246e77=Array['from'](_0x4852d5['markers'])['map'](([_0x542931,_0x51d689])=>[_0x542931,this['_fixRange'](_0x51d689,_0x972a87)]);_0x972a87['markers']=new Map(_0x246e77);}['_transformMarkers'](_0x6bc3b4){for(const _0x5120ac of this['_markers']['values']()){const _0x40cfaa=_0x5120ac['getTransformedByOperation'](_0x6bc3b4),_0x1030e9=vt['_createFromRanges'](_0x40cfaa);_0x5120ac['start']=_0x1030e9['start'],_0x5120ac['end']=_0x1030e9['end'];}}['_handleOperation'](_0x5efdd4,_0x504112){if('addRoot'==_0x5efdd4['type']||'detachRoot'==_0x5efdd4['type'])return void this['_handleRootOperation'](_0x5efdd4,_0x504112);if('insert'==_0x5efdd4['type']){const _0x5d2801=_0x5efdd4['position']['root']['rootName'];this['_diffRoots']['has'](_0x5d2801)||(this['_diffRoots']['set'](_0x5d2801,G(_0x5d2801,!0x0)),this['_diffRootsAttributes']['set'](_0x5d2801,{}),_0x504112&&this['_idsRoots']['set'](_0x5d2801,G(_0x5d2801,!0x0)));}else{if('addRootAttribute'==_0x5efdd4['type']||'removeRootAttribute'==_0x5efdd4['type']||'changeRootAttribute'==_0x5efdd4['type'])return void this['_handleRootAttributeOperation'](_0x5efdd4);}const _0x500fee=this['_cloneOperation'](_0x5efdd4,this['_diffRoots']);if('marker'!==_0x5efdd4['type']&&(_0x500fee['_execute'](),this['_transformMarkers'](_0x500fee)),_0x504112)switch(_0x500fee['type']){case'insert':this['_handleInsertOperation'](_0x5efdd4);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x5efdd4);break;case'merge':this['_handleMergeOperation'](_0x5efdd4);break;case'split':this['_handleSplitOperation'](_0x5efdd4);break;case'marker':this['_handleMarkerOperation'](_0x5efdd4);}}['_cloneOperation'](_0x54e085,_0x48550e){const _0x3dfbed=_0x54e085['clone']();return _0x3dfbed['_authorId']=_0x54e085['_authorId'],this['_fixOperation'](_0x3dfbed,_0x48550e),_0x3dfbed;}['_getBaseVids'](_0x38058b){return _0x38058b['map'](_0x49874f=>{const _0x2dd81e=this['_getVidAttributeName'](_0x49874f);return Number(_0x49874f['item']['getAttribute'](_0x2dd81e));});}['_generateTape'](_0x394f8c,_0x394b87){if(_0x394f8c['is']('element','$text'))_0x394b87['push']({'item':_0x394f8c,'type':'text'});else{_0x394f8c['is']('element')&&_0x394b87['push']({'item':_0x394f8c,'type':'elementStart'});for(const _0x200272 of _0x394f8c['getChildren']())this['_generateTape'](_0x200272,_0x394b87);_0x394f8c['is']('element')&&_0x394b87['push']({'item':_0x394f8c,'type':'elementEnd'});}return _0x394b87;}['_getState'](){const _0x2ad3ec=new Map(this['_touched']),_0x59cd36=new Map(_0x2ad3ec),_0x254bd5=new Map(),_0x8c7848={'insertions':{},'deletions':{}},_0x1e38d3={'insertions':{},'deletions':{}},_0x1d8070=new Map(),_0x444704=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x444704['delete']('$graveyard');for(const _0x175420 of _0x444704){const _0x574b85=this['_diffRoots']['get'](_0x175420)||G(_0x175420,!0x1),_0x1f851a=this['_baseRoots']['get'](_0x175420)||G(_0x175420,!0x1);_0x574b85['isAttached']()||_0x1f851a['isAttached']()?(_0x8c7848['insertions'][_0x175420]=q(_0x574b85),_0x8c7848['deletions'][_0x175420]=q(_0x1f851a),this['_copyMarkers'](_0x8c7848['deletions'][_0x175420],_0x1f851a),this['_copyMarkers'](_0x8c7848['insertions'][_0x175420],_0x574b85),_0x1e38d3['insertions'][_0x175420]=this['_generateTape'](this['_idsRoots']['get'](_0x175420),[]),_0x1e38d3['deletions'][_0x175420]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x175420)||G(_0x175420,!0x1),[])):_0x444704['delete'](_0x175420);}for(const _0x42353d of _0x444704){const _0x267b6a=_0x1e38d3['insertions'][_0x42353d];for(const _0x3c8a57 of _0x267b6a){const _0x25dde3=this['_getVidAttributeName'](_0x3c8a57),_0x2f48cf=_0x3c8a57['item']['getAttribute'](_0x25dde3);_0x59cd36['delete'](_0x2f48cf),_0x2f48cf>=this['_startingRevisionId']&&_0x254bd5['set'](_0x2f48cf,_0x2ad3ec['get'](_0x2f48cf));}}for(const _0x268130 of _0x444704){const _0x1ceef1=_0x1e38d3['insertions'][_0x268130],_0x43e381=this['_getBaseVids'](_0x1e38d3['deletions'][_0x268130]);let _0x158f80=0x0;for(const _0x3095cf of _0x1ceef1){const _0x2a8b45=this['_getVidAttributeName'](_0x3095cf),_0xeaa909=_0x3095cf['item']['getAttribute'](_0x2a8b45);if(!_0x254bd5['has'](_0xeaa909)&&!_0x1d8070['has'](_0xeaa909)){if(_0x59cd36['has'](_0xeaa909))_0x158f80++;else{if(_0xeaa909!=_0x43e381[_0x158f80]){const _0x43be35=_0x2ad3ec['get'](_0xeaa909)||_0x2ad3ec['get'](_0x43e381[_0x158f80]);for(;_0xeaa909!=_0x43e381[_0x158f80];)_0x59cd36['has'](_0x43e381[_0x158f80])||(_0x1d8070['set'](_0x43e381[_0x158f80],_0x43be35),_0x2ad3ec['set'](_0x43e381[_0x158f80],_0x43be35)),_0x158f80++;}_0x158f80++;}}}}for(const _0x5d82f2 of _0x444704){const _0x215e82=_0x1e38d3['insertions'][_0x5d82f2];for(const _0x2651a9 of _0x215e82){const _0x4c84b0=this['_getVidAttributeName'](_0x2651a9),_0x551486=_0x2651a9['item']['getAttribute'](_0x4c84b0);if(_0x1d8070['has'](_0x551486)){const _0x29a3d0=_0x1d8070['get'](_0x551486);_0x59cd36['has'](_0x551486)||_0x59cd36['set'](_0x551486,{..._0x29a3d0}),_0x254bd5['set'](_0x551486,{..._0x29a3d0});}}}for(const _0x357d92 of _0x59cd36['keys']())_0x357d92>=this['_startingRevisionId']&&_0x59cd36['delete'](_0x357d92);const _0x1f7790=new Map();for(const _0x3c40d2 of _0x444704){let _0x55ded5=_0x1e38d3['insertions'][_0x3c40d2];for(const _0x2478d6 of _0x55ded5)if(_0x2478d6['item']['is']('element','tableCell')){const _0xbdb9a5=this['_getVidAttributeName'](_0x2478d6),_0x13beb9=_0x2478d6['item']['getAttribute'](_0xbdb9a5);if(_0x254bd5['has'](_0x13beb9)){const _0x384120=_0x2478d6['item']['parent']['parent']['getAttribute']('vid_start'),_0x391c61=_0x1f7790['get'](_0x384120)||new Set();_0x391c61['add'](_0x254bd5['get'](_0x13beb9)['userId']),_0x1f7790['set'](_0x384120,_0x391c61);}}_0x55ded5=_0x1e38d3['deletions'][_0x3c40d2];for(const _0x4cecb2 of _0x55ded5)if(_0x4cecb2['item']['is']('element','tableCell')){const _0x37d29e=this['_getVidAttributeName'](_0x4cecb2),_0x2ba1c0=_0x4cecb2['item']['getAttribute'](_0x37d29e);if(_0x59cd36['has'](_0x2ba1c0)){const _0x47b584=_0x4cecb2['item']['parent']['parent']['getAttribute']('vid_start'),_0x11639b=_0x1f7790['get'](_0x47b584)||new Set();_0x11639b['add'](_0x59cd36['get'](_0x2ba1c0)['userId']),_0x1f7790['set'](_0x47b584,_0x11639b);}}for(const _0x4898a5 of _0x1f7790['keys']())(_0x254bd5['has'](_0x4898a5)||_0x59cd36['has'](_0x4898a5))&&_0x1f7790['delete'](_0x4898a5);}for(const _0x428433 of _0x444704){const _0x44bddf=_0x1e38d3['insertions'][_0x428433];let _0x3c9f31=null,_0x337f6c=null;for(const _0x3f5356 of _0x44bddf){const _0x2c155e=this['_getVidAttributeName'](_0x3f5356),_0x464d57=_0x3f5356['item']['getAttribute'](_0x2c155e),_0x9315b4=_0x1f7790['get'](_0x464d57);_0x9315b4&&'elementStart'==_0x3f5356['type']&&(_0x3c9f31=Array['from'](_0x9315b4)[0x0],_0x337f6c=_0x3f5356['item']['getAttribute']('vid_end')),_0x3c9f31&&(_0x59cd36['set'](_0x464d57,{'userId':_0x3c9f31}),_0x254bd5['set'](_0x464d57,{'userId':_0x3c9f31})),_0x464d57==_0x337f6c&&(_0x3c9f31=null,_0x337f6c=null);}}const _0xed7a17={},_0x3cbc91=new Set();for(const _0x3ba674 of _0x444704){const _0x4d5712=_0x8c7848['deletions'][_0x3ba674],_0x40a22c=_0x8c7848['insertions'][_0x3ba674];for(const {userId:_0x46f4d6}of this['_touchedMarkers']['values']())null!==_0x46f4d6&&_0x3cbc91['add'](_0x46f4d6);for(const {userId:_0x5604c8}of this['_touchedRoots']['values']())null!==_0x5604c8&&_0x3cbc91['add'](_0x5604c8);this['_markChanges'](_0x40a22c,_0x1e38d3['insertions'][_0x3ba674],_0x254bd5,'insertion',_0x3cbc91),this['_markChanges'](_0x4d5712,_0x1e38d3['deletions'][_0x3ba674],_0x59cd36,'deletion',_0x3cbc91),_0xed7a17[_0x3ba674]={'insertions':this['_prepareViewToSave'](_0x40a22c),'deletions':this['_prepareViewToSave'](_0x4d5712),'attachChange':this['_touchedRoots']['get'](_0x3ba674)||null,'attributesBefore':_0x1b7537(this['_baseRootsAttributes']['get'](_0x3ba674))||{},'attributesAfter':_0x1b7537(this['_diffRootsAttributes']['get'](_0x3ba674))};}return{'diffData':_0xed7a17,'authorsIds':Array['from'](_0x3cbc91)};}['_processRootBeforeSave'](_0x1b6168){for(const [,_0x16045c]of _0x1b6168['markers']){const _0x3fd1a4=_0x16045c['start']['getAncestors']()['filter'](_0x48439e=>'tableCell'==_0x48439e['name']);for(const _0x1e97a9 of _0x3fd1a4)0x1==_0x1e97a9['childCount']&&_0x1e97a9['getChild'](0x0)['is']('element','paragraph')&&_0x1e97a9['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x19c154){this['_processRootBeforeSave'](_0x19c154);const _0x1eeb61=this['editor']['data']['toView'](_0x19c154,{}),_0x38a62b=Array['from'](_0x1eeb61['getChildren']())['map'](_0x3c2ff1=>this['_getViewJson'](_0x3c2ff1));return JSON['stringify'](_0x38a62b);}['_getViewJson'](_0x312101){if(_0x312101['is']('$text'))return _0x312101['data'];{const _0x4f077d=_0x312101;return{'type':Object['keys'](T)['find'](_0x562b6c=>_0x312101 instanceof T[_0x562b6c]),'name':_0x4f077d['name'],'attributes':Array['from'](_0x4f077d['getAttributes']()),'children':Array['from'](_0x4f077d['getChildren']())['map'](_0x252a8f=>this['_getViewJson'](_0x252a8f))};}}['_markChanges'](_0x302040,_0x1ba053,_0x59ebfe,_0x1e4781,_0x36687d){let _0x161d3e=null,_0x361e9d=null,_0x1129a3=0x0;const _0x3add05=this['editor']['model'];for(let _0x26417c=0x0;_0x26417c<_0x1ba053['length'];_0x26417c++){const _0x142d8a=this['_getVidAttributeName'](_0x1ba053[_0x26417c]),_0x5eb5bc=_0x1ba053[_0x26417c]['item']['getAttribute'](_0x142d8a),_0x28ceba=_0x59ebfe['get'](_0x5eb5bc),_0x15151f=_0x26417c==_0x1ba053['length']-0x1;(!_0x161d3e&&_0x28ceba&&(_0x161d3e=_0x28ceba,_0x361e9d=_0x1ba053[_0x26417c]),_0x161d3e&&(!_0x28ceba||_0x28ceba['userId']!=_0x161d3e['userId']))&&(_0x265560(_0x28ceba,L(_0x361e9d,_0x302040,_0x3add05),L(_0x1ba053[_0x26417c],_0x302040,_0x3add05)),_0x161d3e=_0x28ceba||null,_0x361e9d=_0x28ceba?_0x1ba053[_0x26417c]:null),_0x161d3e&&_0x15151f&&_0x265560(_0x28ceba,L(_0x361e9d,_0x302040,_0x3add05),W(_0x1ba053[_0x26417c],_0x302040,_0x3add05));}function _0x265560(_0x25c73f,_0x59f9eb,_0x978dce){const _0x3d6e88=_0x161d3e['userId'],_0x3fbeac='revision:'+_0x1e4781+':'+_0x3d6e88+':'+_0x1129a3++,_0xa88929=_0x3add05['createRange'](_0x59f9eb,_0x978dce);_0x302040['markers']['set'](_0x3fbeac,_0xa88929),null!==_0x3d6e88&&_0x36687d['add'](_0x3d6e88);}}['_getVidAttributeName'](_0x5b7a26){switch(_0x5b7a26['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x3f3c29,_0x55d2c7){_0x3f3c29['baseVersion']=null;for(const _0x5126e3 in _0x3f3c29){const _0x57e20e=_0x3f3c29[_0x5126e3];if(_0x57e20e instanceof gt){const _0x4b88c6=_0x55d2c7['get'](_0x57e20e['root']['rootName']);_0x3f3c29[_0x5126e3]=this['_fixPosition'](_0x57e20e,_0x4b88c6);}if(_0x57e20e instanceof vt){const _0x4ae447=_0x55d2c7['get'](_0x57e20e['root']['rootName']);_0x3f3c29[_0x5126e3]=this['_fixRange'](_0x57e20e,_0x4ae447);}'root'===_0x5126e3&&(_0x3f3c29['root']=_0x55d2c7['get'](_0x3f3c29['root']['rootName']));}}['_fixRange'](_0x344e4c,_0x25d1db){return this['editor']['model']['createRange'](this['_fixPosition'](_0x344e4c['start'],_0x25d1db),this['_fixPosition'](_0x344e4c['end'],_0x25d1db));}['_fixPosition'](_0x3188b0,_0x599821){return this['editor']['model']['createPositionFromPath'](_0x599821,_0x3188b0['path'],_0x3188b0['stickiness']);}['_handleInsertOperation'](_0x214151){const _0x16fa92=this['_idsRoots']['get'](_0x214151['position']['root']['rootName']),_0x5095dd=this['_fixPosition'](_0x214151['position'],_0x16fa92),_0x2c304d=null===_0x214151['_authorId']?null:_0x214151['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xe9e48a=_0x5095dd['parent'],_0x3b91d9=this['_revisionId'],_0x55c697=[];for(const _0x4a8d8e of _0x214151['nodes'])if(_0x4a8d8e['is']('element'))_0x55c697['push'](this['_makeIdsRoot'](_0x4a8d8e));else{for(let _0x2331e3=0x0;_0x2331e3<_0x4a8d8e['offsetSize'];_0x2331e3++)_0x55c697['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x41054f=this['_revisionId'];for(let _0xa9119b=_0x3b91d9;_0xa9119b<_0x41054f;_0xa9119b++)this['_touched']['set'](_0xa9119b,{'userId':_0x2c304d});_0xe9e48a['_insertChild'](_0x5095dd['offset'],_0x55c697);}['_handleMoveOperation'](_0x69dd3e){(_0x69dd3e=this['_cloneOperation'](_0x69dd3e,this['_idsRoots']))['_execute']();const _0x4abf73=null===_0x69dd3e['_authorId']?null:_0x69dd3e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2d7a23=_0x69dd3e['getMovedRangeStart'](),_0x215f68=_0x2d7a23['parent'],_0x1f8a0e=_0x2d7a23['offset'];!function _0xa4b686(_0x220e87,_0x42328f,_0x105085,_0x1734f2){for(let _0x8018d5=_0x105085;_0x8018d5<_0x1734f2;_0x8018d5++){const _0x36ef87=_0x42328f['getChild'](_0x8018d5);_0x36ef87['is']('element','$text')?_0x220e87['set'](_0x36ef87['getAttribute']('vid'),{'userId':_0x4abf73}):(_0x220e87['set'](_0x36ef87['getAttribute']('vid_start'),{'userId':_0x4abf73}),_0xa4b686(_0x220e87,_0x36ef87,0x0,_0x36ef87['childCount']),_0x220e87['set'](_0x36ef87['getAttribute']('vid_end'),{'userId':_0x4abf73}));}}(this['_touched'],_0x215f68,_0x1f8a0e,_0x1f8a0e+_0x69dd3e['howMany']);}['_handleMergeOperation'](_0x3a66e0){const _0x3d1422=null===(_0x3a66e0=this['_cloneOperation'](_0x3a66e0,this['_idsRoots']))['_authorId']?null:_0x3a66e0['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2802ca=_0x3a66e0['targetPosition']['parent'],_0x5d404b=_0x3a66e0['sourcePosition']['parent'],_0x5a2b57=_0x2802ca['getAttribute']('vid_end'),_0x468e1f=_0x5d404b['getAttribute']('vid_start');_0x2802ca['_setAttribute']('vid_end',_0x5d404b['getAttribute']('vid_end')),_0x5d404b['_setAttribute']('vid_end',_0x5a2b57),this['_touched']['set'](_0x468e1f,{'userId':_0x3d1422}),this['_touched']['set'](_0x5a2b57,{'userId':_0x3d1422}),_0x3a66e0['_execute']();}['_handleSplitOperation'](_0x3363d5){const _0x49c403=null===(_0x3363d5=this['_cloneOperation'](_0x3363d5,this['_idsRoots']))['_authorId']?null:_0x3363d5['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1f9fc0=_0x3363d5['graveyardPosition'],_0x2fff82=_0x3363d5['splitPosition']['parent'];_0x3363d5['_execute']();const _0xeff094=_0x2fff82['getAttribute']('vid_end'),_0x58a49=_0x3363d5['insertionPosition']['nodeAfter'];if(_0x1f9fc0){const _0x136979=_0x58a49['getAttribute']('vid_end'),_0xa413ee=_0x2fff82['getAttribute']('vid_end');_0x2fff82['_setAttribute']('vid_end',_0x136979),_0x58a49['_setAttribute']('vid_end',_0xa413ee),this['_touched']['set'](_0x2fff82['getAttribute']('vid_end'),{'userId':_0x49c403}),this['_touched']['set'](_0x58a49['getAttribute']('vid_start'),{'userId':_0x49c403});}else{const _0x6b2554=this['_revisionId']++,_0x58c322=this['_revisionId']++;_0x2fff82['_setAttribute']('vid_end',_0x6b2554),_0x58a49['_setAttribute']('vid_start',_0x58c322),_0x58a49['_setAttribute']('vid_end',_0xeff094),this['_touched']['set'](_0x6b2554,{'userId':_0x49c403}),this['_touched']['set'](_0x58c322,{'userId':_0x49c403});}}['_handleMarkerOperation'](_0x444586){if(!_0x444586['affectsData'])return;const _0x4ee9df=(_0x444586=this['_cloneOperation'](_0x444586,this['_diffRoots']))['oldRange']?_0x444586['oldRange']['root']:null,_0x3eaff6=_0x444586['newRange']?_0x444586['newRange']['root']:null;_0x4ee9df&&this['_markers']['delete'](_0x444586['name']),_0x3eaff6&&this['_markers']['set'](_0x444586['name'],_0x444586['newRange']['clone']());const _0x10659b=null===_0x444586['_authorId']?null:_0x444586['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x21f875=_0x444586['name'];if(!this['_touchedMarkers']['has'](_0x21f875))return void this['_touchedMarkers']['set'](_0x21f875,{'range':_0x444586['oldRange'],'userId':_0x10659b});const _0x47f78e=this['_touchedMarkers']['get'](_0x21f875),_0x7d2332=_0x47f78e['range'],_0x3fddaf=_0x444586['newRange'];null==_0x7d2332&&null==_0x3fddaf||_0x7d2332&&_0x3fddaf&&_0x7d2332['isEqual'](_0x3fddaf)?this['_touchedMarkers']['delete'](_0x444586['name']):_0x47f78e['userId']=_0x10659b;}['_handleRootOperation'](_0x5f1296,_0x1d5a56){this['_diffRoots']['has'](_0x5f1296['rootName'])?this['_diffRoots']['get'](_0x5f1296['rootName'])['_isAttached']=_0x5f1296['isAdd']:(this['_diffRoots']['set'](_0x5f1296['rootName'],G(_0x5f1296['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x5f1296['rootName'],{}),_0x1d5a56&&this['_idsRoots']['set'](_0x5f1296['rootName'],G(_0x5f1296['rootName'],!0x0)));const _0x32b549=null===_0x5f1296['_authorId']?null:_0x5f1296['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4c3875=this['_touchedRoots']['get'](_0x5f1296['rootName']);_0x4c3875&&_0x4c3875['userId']===_0x32b549?this['_touchedRoots']['delete'](_0x5f1296['rootName']):this['_touchedRoots']['set'](_0x5f1296['rootName'],{'userId':_0x32b549,'isAttached':_0x5f1296['isAdd']});}['_handleRootAttributeOperation'](_0x298b87){const _0x4a2459=this['_diffRootsAttributes']['get'](_0x298b87['root']['rootName']);null===_0x298b87['newValue']?delete _0x4a2459[_0x298b87['key']]:_0x4a2459[_0x298b87['key']]=_0x298b87['newValue'];}}function q(_0x1196e9){const _0x53d517=G(_0x1196e9['rootName'],_0x1196e9['isAttached']());for(const _0xe4894e of _0x1196e9['getChildren']()){const _0x46e924=_0xe4894e['_clone'](!0x0);_0x53d517['_appendChild'](_0x46e924);}return _0x53d517;}function G(_0x2162d5,_0x3aaaec=!0x0){const _0x466a55=new wt();return _0x466a55['rootName']=_0x2162d5,_0x466a55['_isAttached']=_0x3aaaec,_0x466a55['isAttached']=()=>_0x466a55['_isAttached'],_0x466a55;}function L(_0xaa0174,_0x52a13a,_0xe3d712){const _0x2b3baa='elementEnd'==_0xaa0174['type']?_0xe3d712['createPositionAt'](_0xaa0174['item'],'end'):_0xe3d712['createPositionBefore'](_0xaa0174['item']);return _0xe3d712['createPositionFromPath'](_0x52a13a,_0x2b3baa['path'],_0x2b3baa['stickiness']);}function W(_0x9d5d0e,_0x20c29f,_0xa43810){const _0x3056de='elementStart'==_0x9d5d0e['type']?_0xa43810['createPositionAt'](_0x9d5d0e['item'],0x0):_0xa43810['createPositionAfter'](_0x9d5d0e['item']);return _0xa43810['createPositionFromPath'](_0x20c29f,_0x3056de['path'],_0x3056de['stickiness']);}class ns extends _0x5db524{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x5132c4,_0x44795c){super(_0x5132c4),this['focusTracker']=new _0x4ed74d(),this['keystrokes']=new _0xb6524e(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x44795c),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'](),_0x2fc8db({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x2634ba=_0x25124e=>_0x25124e['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2634ba),this['keystrokes']['set']('arrowleft',_0x2634ba),this['keystrokes']['set']('arrowup',_0x2634ba),this['keystrokes']['set']('arrowdown',_0x2634ba);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x20a4c5){this['revisionNameInputView']['fieldView']['element']['value']=_0x20a4c5['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x3d7984){const _0x2dc92e=new at(this['locale'],_0x50e25a),_0x59d6c9=_0x2dc92e['fieldView'];_0x59d6c9['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x51c57a=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x3d7984&&(_0x51c57a+='\x20('+y(this['locale'],'optional')+')'),(_0x2dc92e['label']=_0x51c57a,_0x59d6c9['on']('input',()=>{this['revisionNameInputValue']=_0x59d6c9['element']['value']['trim']();}),_0x2dc92e);}}class u extends _0x5a08a8{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x1a4e8a=this['editor'],_0x5e67c9=_0x1a4e8a['plugins']['get']('RevisionTracker');_0x1a4e8a['ui']['componentFactory']['add']('revisionHistory',_0x1767eb=>{const _0x2faa11=_0x4af22a(_0x1767eb),_0x48557d=_0x2faa11['panelView']['children'],_0x2d900c=new te(_0x1767eb),_0x48403b=new _0x1192be(_0x1767eb),_0x44aaf4=new _0x52c08a(_0x1767eb),_0x292a4d=new _0x1192be(_0x1767eb),_0x13a0fd=new _0x52c08a(_0x1767eb);return _0x2faa11['bind']('isEnabled')['to'](_0x5e67c9,'isReady',_0x5e67c9,'isEnabled',_0x1a4e8a,'isReadOnly',(_0x549435,_0x538183,_0x1d2ec5)=>_0x549435&&_0x538183&&!_0x1d2ec5),_0x2faa11['buttonView']['set']({'icon':_0x5be88d['history'],'label':y(_0x1767eb,'Revision\x20history'),'tooltip':!0x0}),_0x44aaf4['set']({'label':y(_0x1767eb,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x44aaf4['bind']('isEnabled')['to'](_0x5e67c9,'isReady',_0x5e67c9,'isEnabled',_0x1a4e8a,'isReadOnly',(_0x1f073b,_0x3db885,_0x5a33f2)=>_0x1f073b&&_0x3db885&&!_0x5a33f2),_0x44aaf4['on']('execute',()=>this['_showDialog']()),_0x13a0fd['set']({'label':y(_0x1767eb,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x13a0fd['bind']('isEnabled')['to'](_0x5e67c9,'isReady',_0x1a4e8a,'isReadOnly',(_0x5cb480,_0x1d69bb)=>_0x5cb480&&!_0x1d69bb),_0x13a0fd['on']('execute',()=>{_0x1a4e8a['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x2faa11['isOpen']=!0x1,_0x1a4e8a['editing']['view']['focus']();}),_0x48403b['children']['add'](_0x44aaf4),_0x292a4d['children']['add'](_0x13a0fd),_0x2d900c['role']='menu',_0x2d900c['items']['addMany']([_0x48403b,_0x292a4d]),_0x48557d['add'](_0x2d900c),_0x2faa11;}),_0x1a4e8a['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x1fd215=this['editor'],_0x1d0958=_0x1fd215['locale'],_0x51c51e=new _0x3e8f9a(_0x1d0958),_0x575ff2=new _0x5bf4c2(_0x1d0958);_0x51c51e['buttonView']['set']({'icon':_0x5be88d['history'],'label':y(_0x1d0958,'Revision\x20history')});const _0x15257f=new _0x394e2d(_0x1d0958,_0x51c51e),_0x36a846=new _0x17970c(_0x1d0958);_0x36a846['set']({'label':y(_0x1d0958,'Save\x20current\x20revision')}),_0x36a846['delegate']('execute')['to'](_0x51c51e),_0x36a846['on']('execute',()=>{this['_showDialog']();}),_0x15257f['children']['add'](_0x36a846),_0x575ff2['items']['add'](_0x15257f);const _0x4db34b=new _0x394e2d(_0x1d0958,_0x51c51e),_0xcdcfd9=new _0x17970c(_0x1d0958);return _0xcdcfd9['set']({'label':y(_0x1d0958,'Open\x20revision\x20history')}),_0xcdcfd9['delegate']('execute')['to'](_0x51c51e),_0xcdcfd9['on']('execute',()=>{_0x1fd215['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x4db34b['children']['add'](_0xcdcfd9),_0x575ff2['items']['add'](_0x4db34b),_0x51c51e['panelView']['children']['add'](_0x575ff2),_0x51c51e;}['_showDialog'](){const _0x16a8c5=this['editor'],_0x6af520=_0x16a8c5['locale'],_0x43604d=_0x16a8c5['plugins']['get']('Dialog'),_0x561164=_0x16a8c5['plugins']['get']('RevisionTracker');function _0x5e0bb8(_0x15ab47){_0x16a8c5['config']['get']('revisionHistory.requireRevisionName')&&''===_0x15ab47['revisionName']?_0x15ab47['revisionNameInputView']['errorText']=y(_0x6af520,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x16a8c5['plugins']['get'](l)['saveRevision']({'name':_0x15ab47['revisionName']}),_0x43604d['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x5e0bb8(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x43604d['show']({'id':'revisionSave','title':y(_0x6af520,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x16a8c5['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x43604d['hide']()},{'label':y(_0x16a8c5['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x6a0161){_0x6a0161['bind']('isEnabled')['to'](_0x561164,'isReady',_0x561164,'isEnabled',_0x16a8c5,'isReadOnly',(_0x448d98,_0x4e9d33,_0x5c2726)=>_0x448d98&&_0x4e9d33&&!_0x5c2726);},'onExecute':()=>_0x5e0bb8(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x130674=this['editor'],_0x1ffc83=_0x130674['locale'];this['_saveRevisionFormView']=new ns(_0x1ffc83,_0x130674['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x5db524{['changeId'];['_model'];constructor(_0x5a2d94,_0x4a6a1e){super(_0x5a2d94),this['_model']=_0x4a6a1e,this['changeId']=_0x4a6a1e['id'];const _0x5e0740=this['bindTemplate'],_0x4a69be=y(_0x5a2d94,_0x4a6a1e['data']['isSuggestion']?'Suggested\x20by':'add'==_0x4a6a1e['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x4a6a1e['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x5e0740['to']('type',_0x4c835e=>'ck-revision-change__'+_0x4c835e)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x4a69be}]},{'text':'\x20'+_0x4a6a1e['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x225cdb(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x531859){super(),this['id']=_0x531859['id']||_0x3b4a48(),this['author']=_0x531859['author'],this['type']=_0x531859['type'],this['data']=_0x531859['data']||{},this['rootName']=_0x531859['rootName'],this['set']('createdAt',_0x531859['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(_0x27effa,_0x232741){this['newRevisionId']=_0x27effa,this['oldRevisionId']=_0x232741,this['changes']=new _0x174e35();}['_setChanges'](_0x6ca647){for(const _0x3c2ba4 of _0x6ca647)this['changes']['add'](_0x3c2ba4);}}const tt={'c':_0x3f136f,'a':_0x3cb3ba,'e':_0xde41fe,'r':_0x58553b,'u':_0x587a53};class d extends _0x5a08a8{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x1a82cf,_0x4ba363,A];}constructor(_0x37fc32){super(_0x37fc32),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',(_0x4d4b54,_0x18f7d7,_0x4e427b)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x26bb25=>{for(const _0x529db5 of this['editor']['editing']['view']['document']['roots'])_0x4e427b?_0x26bb25['removeClass']('ck-editor__editable__overlay',_0x529db5):_0x26bb25['addClass']('ck-editor__editable__overlay',_0x529db5);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x4d9c81=>null!==_0x4d9c81),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x381eec,_0x3e253d,_0x35eaea)=>_0x381eec&&_0x35eaea?_0x3e253d['changes']['getIndex'](_0x35eaea):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x527376,_0x25d05f)=>_0x527376?_0x25d05f['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x4ba363);}['init'](){const _0x282379=this['editor'],_0x57960a=new yt(_0x282379,{'direction':'backward'}),_0x54fe26=new yt(_0x282379,{'direction':'forward'});(_0x282379['commands']['add']('showPreviousChange',_0x57960a),_0x282379['commands']['add']('showNextChange',_0x54fe26),_0x282379['commands']['add']('restoreRevision',new bt(_0x282379)),this['on']('change:numberOfChanges',()=>{_0x57960a['refresh'](),_0x54fe26['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x282379['enableReadOnlyMode']('revision-viewer'),_0x282379['plugins']['has']('WidgetToolbarRepository'))&&_0x282379['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x141f51){await this['loadRevisionData'](_0x141f51);const _0x4c90fa={};for(const _0x2e8e11 in _0x141f51['diffData']){if(_0x141f51['diffData'][_0x2e8e11]['attachChange']&&!_0x141f51['diffData'][_0x2e8e11]['attachChange']['isAttached'])continue;const _0x17223b=this['_removeRevisionMarkers'](JSON['parse'](_0x141f51['diffData'][_0x2e8e11]['insertions'])),_0x429365=this['editor']['editing']['view']['document'],_0x262c1d=new _0x1cf314(_0x429365,_0x17223b['map'](_0x44375e=>this['_getViewObj'](_0x44375e)));this['editor']['data']['processor']['useFillerType']('marked'),_0x4c90fa[_0x2e8e11]=this['editor']['data']['processor']['toData'](_0x262c1d),this['editor']['data']['processor']['useFillerType']('default');}return _0x4c90fa;}async['getRevisionRootsAttributes'](_0x3c8ecb){await this['loadRevisionData'](_0x3c8ecb);const _0x551744={};for(const _0x36ff63 in _0x3c8ecb['diffData'])_0x3c8ecb['diffData'][_0x36ff63]['attachChange']&&!_0x3c8ecb['diffData'][_0x36ff63]['attachChange']['isAttached']||(_0x551744[_0x36ff63]=_0x3c8ecb['diffData'][_0x36ff63]['attributesAfter']||{});return _0x551744;}['_removeRevisionMarkers'](_0x5dbdf8){return(_0x5dbdf8=_0x5dbdf8['filter'](_0x4db019=>!_0x4db019['name']||'revision-start'!==_0x4db019['name']&&'revision-end'!==_0x4db019['name']))['forEach'](_0x4e94b4=>{'string'!=typeof _0x4e94b4&&(_0x4e94b4['children']=this['_removeRevisionMarkers'](_0x4e94b4['children']),_0x4e94b4['attributes']=_0x4e94b4['attributes']['filter'](_0xc8c1db=>!_0xc8c1db[0x0]['startsWith']('data-revision-')));}),_0x5dbdf8;}async['compare'](_0xffd948,_0x37c7bd,_0x311c2d=!0x1){if(!this['isEnabled'])return;const _0x349653=this['diff'],_0x569b61=this['repository'],_0x40128a='string'==typeof _0xffd948?_0x569b61['getRevision'](_0xffd948):_0xffd948,_0x21d03d='string'==typeof _0x37c7bd?_0x569b61['getRevision'](_0x37c7bd):_0x37c7bd,_0x191423=_0x40128a['id'],_0x187cbf=_0x21d03d?_0x21d03d['id']:null;if(!_0x311c2d&&this['diff']&&this['diff']['newRevisionId']===_0x191423&&this['diff']['oldRevisionId']===_0x187cbf)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x191423,_0x187cbf);const _0x4de1b6=this['_getRevisionsRange'](_0x40128a,_0x21d03d,!0x0)['map'](_0x250f62=>this['loadRevisionData'](_0x250f62));return _0x4de1b6['push'](new Promise(_0x597108=>{setTimeout(_0x597108,0x14);})),Promise['all'](_0x4de1b6)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x430ec3=this['_getDiff'](_0x191423,_0x187cbf);for(const _0x4f142f of _0x430ec3['changes'])this['_changeIdToChange']['set'](_0x4f142f['id'],_0x4f142f);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x5f49fb=>{for(const _0x132cd3 of this['editor']['model']['document']['getRootNames']())_0x5f49fb['detachRoot'](_0x132cd3);for(const _0x48eb72 of Object['keys'](_0x430ec3['model'])){const _0x51d4bd=_0x5f49fb['addRoot'](_0x48eb72);for(const _0x1034e2 of Object['keys'](_0x430ec3['attributes'][_0x48eb72]))_0x5f49fb['setAttribute'](_0x1034e2,_0x430ec3['attributes'][_0x48eb72][_0x1034e2],_0x51d4bd);_0x5f49fb['insert'](_0x430ec3['model'][_0x48eb72],_0x51d4bd,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x430ec3['changes'])),this['isReady']=!0x0;})['catch'](_0x5975f4=>{console['error'](_0x5975f4),this['_cleanUp'](),_0x349653&&(this['diff']=_0x349653),this['isReady']=!0x0;});}['addRevisionData'](_0x562b8e,_0x80144c){const _0x327704=this['repository']['createRevision'](_0x562b8e);return _0x327704['on']('_update',(_0x315bd4,_0x3d8cdb,_0x41e8f6)=>_0x80144c(_0x3d8cdb,_0x41e8f6,_0x327704)),this['repository']['addRevision'](_0x327704),_0x327704;}['loadRevisionData'](_0x2774da){if(!_0x2774da||_0x2774da['diffData'])return Promise['resolve']();{const _0x3b96a1=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3b96a1,'revisionId':_0x2774da['id']})['then'](_0x1a6f0e=>{_0x2774da['_update']({'diffData':_0x1a6f0e['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},_0x5ce810=>{for(const _0xbc1525 of this['editor']['model']['document']['getRootNames']())_0x5ce810['detachRoot'](_0xbc1525);});}['_sortAndFilterDiffChanges'](_0x2cec48){const _0x2daa03=[],_0x44987a=new Map();for(const _0x196fb7 of this['editor']['model']['document']['getRootNames']()){const _0x4ab5f2=this['editor']['editing']['view']['getDomRoot'](_0x196fb7);if(!_0x4ab5f2)continue;const _0x15f77c=_0x4ab5f2['getClientRects']()['item'](0x0);_0x15f77c&&(_0x2daa03['push'](_0x196fb7),_0x44987a['set'](_0x196fb7,_0x15f77c));}return _0x2daa03['sort']((_0x48626b,_0x3e2ddb)=>{const _0x36c159=_0x44987a['get'](_0x48626b),_0xa843de=_0x44987a['get'](_0x3e2ddb);return _0x36c159['y']-_0xa843de['y']||_0x36c159['x']-_0xa843de['x'];}),(_0x2cec48=_0x2cec48['filter'](_0x174a1a=>_0x2daa03['includes'](_0x174a1a['rootName'])))['sort']((_0x4407f1,_0x31cba9)=>_0x2daa03['indexOf'](_0x4407f1['rootName'])-_0x2daa03['indexOf'](_0x31cba9['rootName'])),_0x2cec48;}['_makeTape'](_0xd42b95){const _0x128fee=Array['from'](_0xd42b95['markers'])['filter'](([_0x38dfa6,_0x4c15ab])=>_0x38dfa6['startsWith']('revision:')&&!_0x4c15ab['isCollapsed']),_0x4bf7be=Array['from'](this['editor']['model']['createRangeIn'](_0xd42b95)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x128fee['length'])for(const _0x1b4aca of _0x4bf7be){const [_0x420c30,_0x9da146]=_0x128fee[0x0],[,_0x345e67,_0x13df51]=_0x420c30['split'](':');if(_0x9da146['end']['isEqual'](_0x1b4aca['nextPosition'])&&_0x128fee['shift'](),(_0x1b4aca['previousPosition']['isEqual'](_0x9da146['start'])||_0x1b4aca['previousPosition']['isAfter'](_0x9da146['start']))&&('insertion'==_0x345e67?_0x1b4aca['isAdded']={'userId':_0x13df51}:'deletion'==_0x345e67&&(_0x1b4aca['isRemoved']={'userId':_0x13df51})),0x0==_0x128fee['length'])break;}return _0x4bf7be;}['_refreshStartEndIndex'](_0x1d4da4){const _0xf0689b=new Map();for(let _0x269baf=0x0;_0x269baf<_0x1d4da4['length'];_0x269baf++)'text'===_0x1d4da4[_0x269baf]['type']?(_0x1d4da4[_0x269baf]['item']['startIndex']=_0x269baf,_0x1d4da4[_0x269baf]['item']['endIndex']=_0x269baf):('elementStart'===_0x1d4da4[_0x269baf]['type']?_0x1d4da4[_0x269baf]['item']['startIndex']=_0x269baf:'elementEnd'===_0x1d4da4[_0x269baf]['type']&&(_0x1d4da4[_0x269baf]['item']['endIndex']=_0x269baf),_0xf0689b['set'](_0x1d4da4[_0x269baf]['id'],_0x269baf));for(const _0x48f16c of _0xf0689b['values']())'elementStart'===_0x1d4da4[_0x48f16c]['type']?_0x1d4da4[_0x48f16c]['item']['endIndex']=_0xf0689b['get'](_0x1d4da4[_0x48f16c]['pairId']):'elementEnd'===_0x1d4da4[_0x48f16c]['type']&&(_0x1d4da4[_0x48f16c]['item']['startIndex']=_0xf0689b['get'](_0x1d4da4[_0x48f16c]['pairId']));}['_processTape'](_0x55a691){for(let _0x106651=0x0;_0x106651<_0x55a691['length'];_0x106651++){if('elementStart'===_0x55a691[_0x106651]['type'])_0x55a691[_0x106651]['item']['startIndex']=_0x106651;else{if('elementEnd'===_0x55a691[_0x106651]['type']){_0x55a691[_0x106651]['item']['endIndex']=_0x106651;const _0x2c696b=_0x55a691[_0x106651]['item']['startIndex'];_0x55a691[_0x2c696b]['pairId']=_0x55a691[_0x106651]['id'],_0x55a691[_0x106651]['pairId']=_0x55a691[_0x2c696b]['id'];}else _0x55a691[_0x106651]['item']['startIndex']=_0x106651,_0x55a691[_0x106651]['item']['endIndex']=_0x106651,_0x55a691[_0x106651]['pairId']=null;}_0x55a691[_0x106651]['markersStart']||(_0x55a691[_0x106651]['markersStart']=[],_0x55a691[_0x106651]['markersEnd']=[]);}}['_markInsertions'](_0x37a7cc,_0x2a54f9){const _0x5ea1de=_0x37a7cc['filter'](_0x51951f=>!_0x51951f['isAdded']);for(let _0x4d338c=0x0;_0x4d338c<_0x2a54f9['length'];_0x4d338c++)_0x2a54f9[_0x4d338c]['isAdded']&&(_0x5ea1de[_0x4d338c]['isAdded']=_0x2a54f9[_0x4d338c]['isAdded']);}['_makeModelFromViewString'](_0x1d09c0){const _0x4676fe=JSON['parse'](_0x1d09c0),_0x5c5c8d=this['editor']['editing']['view']['document'],_0x163572=new _0x1cf314(_0x5c5c8d,_0x4676fe['map'](_0x3d86f9=>this['_getViewObj'](_0x3d86f9)));return this['editor']['data']['toModel'](_0x163572);}['_getViewObj'](_0xbf4f56){const _0xa5c19d=this['editor']['editing']['view']['document'];if('string'==typeof _0xbf4f56)return new _0x2ca0c3(_0xa5c19d,_0xbf4f56);{const _0x171e99=_0xbf4f56['children']['map'](_0xe94c85=>this['_getViewObj'](_0xe94c85));return new(tt[_0xbf4f56['type']]||_0x3032c3)(_0xa5c19d,_0xbf4f56['name'],_0xbf4f56['attributes'],_0x171e99);}}['_getDiff'](_0x385f42,_0x5e212d=null){const _0x13bfb8=this['repository']['getRevision'](_0x385f42),_0x542163=_0x5e212d?this['repository']['getRevision'](_0x5e212d):null,_0x5e6f50=this['_getRevisionsRange'](_0x13bfb8,_0x542163),_0x7ab1d4=_0x5e6f50[_0x5e6f50['length']-0x1],_0x21093a=new Map(),_0x536c71={'model':{},'attributes':{},'changes':[]},_0x548541=new Set(),_0x358996=new Map();for(let _0x5d7217=_0x5e6f50['length']-0x1;_0x5d7217>=0x0;_0x5d7217--){const _0xddf86d=_0x5e6f50[_0x5d7217];for(const _0x5261da of Object['keys'](_0xddf86d['diffData']))if(_0xddf86d['diffData'][_0x5261da]['attachChange']){const _0x49a274=_0xddf86d['diffData'][_0x5261da]['attachChange'];_0x49a274['isAttached']?(_0x548541['add'](_0x5261da),_0x358996['has'](_0x5261da)&&_0x358996['get'](_0x5261da)['userId']==_0x49a274['userId']?_0x358996['delete'](_0x5261da):_0x358996['set'](_0x5261da,_0x49a274)):_0x358996['has'](_0x5261da)?(_0x548541['delete'](_0x5261da),_0x358996['delete'](_0x5261da)):(_0x548541['add'](_0x5261da),_0x358996['set'](_0x5261da,_0x49a274));}else _0x548541['add'](_0x5261da);}for(const _0x2ba9ee of _0x548541){const _0x4ef28e=_0x358996['has'](_0x2ba9ee)&&!_0x358996['get'](_0x2ba9ee)['isAttached'];let _0x54bc07=_0x4ef28e?_0x5e6f50['length']-0x1:0x0;const _0x581a1c=_0x4ef28e?-0x1:0x1;for(;_0x5e6f50[_0x54bc07];){const _0x56a8b3=_0x5e6f50[_0x54bc07];if(_0x56a8b3['diffData'][_0x2ba9ee]){const _0x2ce028=_0x4ef28e?_0x56a8b3['diffData'][_0x2ba9ee]['attributesBefore']:_0x56a8b3['diffData'][_0x2ba9ee]['attributesAfter'];_0x536c71['attributes'][_0x2ba9ee]=_0x2ce028?_0x1b7537(_0x2ce028):{};break;}_0x54bc07+=_0x581a1c;}}for(const _0x149e52 of _0x5e6f50){_0x149e52['model']={};for(const _0x16c6c6 of _0x149e52['authors'])_0x21093a['set'](_0x16c6c6['id'],_0x16c6c6);for(const _0xb6354e of _0x548541){const _0x5315bf=_0x149e52['diffData'][_0xb6354e]?_0x149e52['diffData'][_0xb6354e]['insertions']:'[]',_0x3f5d30=_0x149e52['diffData'][_0xb6354e]?_0x149e52['diffData'][_0xb6354e]['deletions']:'[]';_0x149e52['model'][_0xb6354e]={'insertions':this['_makeModelFromViewString'](_0x5315bf),'deletions':this['_makeModelFromViewString'](_0x3f5d30)};}}for(const _0x2f783a of _0x548541){let _0x25b74f=null,_0x4f84f7=0x0;const _0x4cb1df=new Map(Array['from'](_0x13bfb8['model'][_0x2f783a]['insertions']['markers'])['filter'](([_0xef59af])=>!_0xef59af['startsWith']('revision:')));let _0x5467f7=0x0;for(const _0x3bd4a2 of _0x5e6f50){const _0x59fc35=this['_makeTape'](_0x3bd4a2['model'][_0x2f783a]['insertions']);_0x3bd4a2==_0x13bfb8?(_0x25b74f=_0x59fc35,_0x4f84f7=_0x25b74f['length'],_0x25b74f['forEach'](_0x5bc16d=>{_0x5bc16d['id']=_0x5467f7++;}),this['_processTape'](_0x25b74f)):this['_markInsertions'](_0x25b74f,_0x59fc35);const _0x2c1207=_0x25b74f['filter'](_0x366eeb=>!_0x366eeb['isAdded'])['map'](_0x4d51cd=>_0x4d51cd['id']);let _0x19fcf8=0x0;const _0xaed0db=this['_makeTape'](_0x3bd4a2['model'][_0x2f783a]['deletions']);_0xaed0db['forEach'](_0x42cd2c=>{_0x42cd2c['isRemoved']?_0x42cd2c['id']=_0x4f84f7++:_0x42cd2c['id']=_0x2c1207[_0x19fcf8++];}),this['_processTape'](_0xaed0db),this['_setDistance'](_0x25b74f,'isAdded'),this['_setDistance'](_0xaed0db,'isRemoved'),_0x3bd4a2==_0x13bfb8&&this['_markMarkers'](_0x25b74f,_0x4cb1df),_0x25b74f=this['_joinTapes'](_0x25b74f,_0xaed0db),this['_refreshStartEndIndex'](_0x25b74f),this['_setDistance'](_0x25b74f,'isRemoved');}_0x25b74f=_0x25b74f['filter'](_0x3d5cd6=>!(_0x3d5cd6['isAdded']&&_0x3d5cd6['isRemoved']));const _0x8debf2=new Map(_0x7ab1d4['model'][_0x2f783a]['deletions']['markers']),_0x4c717e=new Set(_0x4cb1df['keys']());for(const _0x48e3b3 of _0x8debf2['keys']())_0x4c717e['delete'](_0x48e3b3);this['_markSuggestions'](_0x25b74f,_0x4c717e),this['_fixObsoleteTags'](_0x25b74f),_0x25b74f=this['_removeMissingPairs'](_0x25b74f),_0x25b74f=this['_markMismatchedRemovedTags'](_0x25b74f),_0x25b74f=this['_removeUnsupportedChanges'](_0x25b74f);const {root:_0x3976cb,changes:_0x133511}=this['_makeModelFromTape'](_0x25b74f,_0x21093a,_0x2f783a);_0x536c71['model'][_0x2f783a]=_0x3976cb;const _0x435764=_0x358996['get'](_0x2f783a);if(_0x435764){const _0x564513=_0x21093a['get'](_0x435764['userId']),_0x20d75b=new r({'author':_0x564513,'type':_0x435764['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x2f783a});_0x133511['unshift'](_0x20d75b),_0x536c71['attributes'][_0x2f783a]['revisionHistoryAttachChange']=_0x20d75b['id'];}_0x536c71['changes']=_0x536c71['changes']['concat'](_0x133511);}return _0x536c71;}['_markMarkers'](_0x4e5455,_0x3baaee){for(let _0xdb1ec4=0x0;_0xdb1ec4<_0x4e5455['length'];_0xdb1ec4++)for(const [_0x4ff8a2,_0x299e83]of _0x3baaee)_0x299e83['start']['isEqual'](_0x4e5455[_0xdb1ec4]['previousPosition'])&&_0x4e5455[_0xdb1ec4]['markersStart']['push'](_0x4ff8a2),_0x299e83['end']['isEqual'](_0x4e5455[_0xdb1ec4]['nextPosition'])&&_0x4e5455[_0xdb1ec4]['markersEnd']['push'](_0x4ff8a2);}['_joinTapes'](_0x78530d,_0x16006c){let _0x4c62dd=[],_0x1771b9=0x0,_0x26d7d1=0x0;for(;_0x1771b9<_0x78530d['length']||_0x26d7d1<_0x16006c['length'];){const _0x2c3b55=_0x78530d[_0x1771b9]||{},_0x4af6e7=_0x16006c[_0x26d7d1]||{};if(_0x2c3b55['id']==_0x4af6e7['id'])_0x1771b9++,_0x26d7d1++,_0x4c62dd['push'](_0x2c3b55);else{if(_0x4af6e7['isRemoved']&&_0x2c3b55['isAdded']){const {commonTape:_0x2418a3,iEnd:_0x2a7495,jEnd:_0x56b1cd}=this['_threeWayMerge'](_0x78530d,_0x1771b9,_0x16006c,_0x26d7d1);_0x4c62dd=_0x4c62dd['concat'](_0x2418a3),_0x1771b9=_0x2a7495,_0x26d7d1=_0x56b1cd;}else _0x4af6e7['isRemoved']?(_0x26d7d1++,_0x4c62dd['push'](_0x4af6e7)):(_0x1771b9++,_0x4c62dd['push'](_0x2c3b55));}}return _0x4c62dd;}['_markSuggestions'](_0x94380f,_0x2f839e){const _0x40c293=[];for(let _0x29079c=0x0;_0x29079c<_0x94380f['length'];_0x29079c++){for(let _0x5173f4=0x0;_0x5173f4<_0x94380f[_0x29079c]['markersStart']['length'];_0x5173f4++){const _0x16b5d5=_0x94380f[_0x29079c]['markersStart'][_0x5173f4];if(!_0x2f839e['has'](_0x16b5d5))continue;const {group:_0x2a9696,type:_0x5b9307,authorId:_0x5f1c7}=_0x351206(_0x16b5d5);'revision-suggestion'!=_0x2a9696||'insertion'!=_0x5b9307&&'deletion'!=_0x5b9307||(_0x40c293['unshift']({'type':_0x5b9307,'name':_0x16b5d5,'userId':_0x5f1c7}),_0x94380f[_0x29079c]['markersStart']['splice'](_0x5173f4,0x1),_0x5173f4--);}_0x500c65(_0x94380f[_0x29079c]);for(let _0x44e6cd=0x0;_0x44e6cd<_0x94380f[_0x29079c]['markersEnd']['length'];_0x44e6cd++){const _0xb9bd96=_0x94380f[_0x29079c]['markersEnd'][_0x44e6cd];if(!_0x2f839e['has'](_0xb9bd96))continue;const {group:_0x425282,type:_0x4b8307}=_0x351206(_0xb9bd96);if('revision-suggestion'!=_0x425282||'insertion'!=_0x4b8307&&'deletion'!=_0x4b8307)continue;_0x94380f[_0x29079c]['markersEnd']['splice'](_0x44e6cd,0x1),_0x44e6cd--;const _0x1895a1=_0x40c293['findIndex'](_0x141703=>_0x141703['name']==_0xb9bd96);_0x1895a1>-0x1&&_0x40c293['splice'](_0x1895a1,0x1);}}function _0x351206(_0x52bd79){const _0x1126ed=_0x52bd79['split'](':');return{'group':_0x1126ed[0x0],'type':_0x1126ed[0x1],'subType':_0x1126ed['length']>=0x5?_0x1126ed[0x2]:null,'id':_0x1126ed['length']<0x5?_0x1126ed[0x2]:_0x1126ed[0x3],'authorId':_0x1126ed['length']<0x5?_0x1126ed[0x3]:_0x1126ed[0x4],'markerCount':0x6==_0x1126ed['length']?_0x1126ed[0x5]:null};}function _0x500c65(_0x5be5e5){for(let _0x237301=0x0;_0x237301<_0x40c293['length'];_0x237301++){if(_0x5be5e5['isAdded']&&'insertion'==_0x40c293[_0x237301]['type'])return _0x5be5e5['isAddSuggestion']=_0x40c293[_0x237301],void delete _0x5be5e5['isAdded'];if(!_0x5be5e5['isAdded']&&!_0x5be5e5['isRemoved']&&'deletion'==_0x40c293[_0x237301]['type'])return void(_0x5be5e5['isRemoveSuggestion']=_0x40c293[_0x237301]);}}}['_setDistance'](_0x1605ec,_0x13a373){let _0x4100c6=0x0,_0x2fb6c5=!0x1;const _0x5ad6c0=new Map();for(const _0x2e36e0 of _0x1605ec)_0x2e36e0[_0x13a373]?_0x2fb6c5&&(_0x4100c6++,_0x2fb6c5=!0x1):(_0x4100c6++,_0x2fb6c5=!0x0),_0x5ad6c0['set'](_0x2e36e0['id'],_0x4100c6);for(let _0x2279e6=0x0;_0x2279e6<_0x1605ec['length'];_0x2279e6++){if('isRemoved'==_0x13a373&&_0x1605ec[_0x2279e6]['isAdded']||'isAdded'==_0x13a373&&_0x1605ec[_0x2279e6]['isRemoved'])continue;if('text'==_0x1605ec[_0x2279e6]['type']){_0x1605ec[_0x2279e6]['distance']=0x0;continue;}const _0x2fa801=_0x5ad6c0['get'](_0x1605ec[_0x2279e6]['pairId']),_0x938f23=_0x5ad6c0['get'](_0x1605ec[_0x2279e6]['id']);_0x1605ec[_0x2279e6]['distance']=_0x2fa801-_0x938f23;}}['_getRevisionsRange'](_0x408b6e,_0x58612e,_0x5efff8=!0x1){const _0x5214b6=[];let _0x55c333=this['repository']['getIndex'](_0x408b6e),_0x43878c=this['repository']['getIndex'](_0x58612e);for(-0x1==_0x43878c&&(_0x43878c=this['repository']['_revisions']['length'],_0x5efff8=!0x1);_0x55c333<_0x43878c;)_0x5214b6['push'](this['repository']['getRevision'](_0x55c333)),_0x55c333++;return _0x5efff8&&_0x5214b6['push'](this['repository']['getRevision'](_0x55c333)),_0x5214b6;}['_threeWayMerge'](_0x42839c,_0x5dc6c1,_0x7bb243,_0x3c019c){const _0x3cf0b2=this['editor']['model']['schema'];let _0x4d93ca=_0x5dc6c1;for(;_0x42839c[_0x4d93ca]&&_0x42839c[_0x4d93ca]['isAdded'];)_0x4d93ca++;let _0x2c2dd9=_0x3c019c;for(;_0x7bb243[_0x2c2dd9]&&_0x7bb243[_0x2c2dd9]['isRemoved'];)_0x2c2dd9++;_0x5479bf(_0x42839c,_0x5dc6c1,_0x4d93ca),_0x5479bf(_0x7bb243,_0x3c019c,_0x2c2dd9);const _0x465318=_0x7bb243['slice'](_0x3c019c,_0x2c2dd9)['concat'](_0x42839c['slice'](_0x5dc6c1,_0x4d93ca));return _0x465318['sort']((_0x5b5c80,_0x8f5f64)=>_0x5b5c80['side']!=_0x8f5f64['side']?_0x5b5c80['side']-_0x8f5f64['side']:_0x5b5c80['level']!=_0x8f5f64['level']?_0x5b5c80['level']-_0x8f5f64['level']:_0x5b5c80['distance']!=_0x8f5f64['distance']?_0x8f5f64['distance']-_0x5b5c80['distance']:!!_0x5b5c80['isAdded']!=!!_0x8f5f64['isAdded']?-0x1==_0x5b5c80['side']||0x0==_0x5b5c80['side']?_0x5b5c80['isAdded']?-0x1:0x1:_0x5b5c80['isAdded']?0x1:-0x1:_0x5b5c80['index']-_0x8f5f64['index']),{'commonTape':_0x465318,'iEnd':_0x4d93ca,'jEnd':_0x2c2dd9};function _0x5479bf(_0x520e8a,_0x356a0b,_0x21c5e7){let _0x17721a=-0x1,_0x5ab570=Number['POSITIVE_INFINITY'],_0x3eebc9=!0x0;for(let _0x1807b8=_0x356a0b;_0x1807b8<_0x21c5e7;_0x1807b8++)if(_0x3cf0b2['isInline'](_0x520e8a[_0x1807b8]['item'])||(_0x3eebc9=!0x1),_0x520e8a[_0x1807b8]['item']['startIndex']<_0x356a0b&&(_0x17721a=_0x1807b8),_0x520e8a[_0x1807b8]['item']['endIndex']>=_0x21c5e7){_0x5ab570=_0x1807b8;break;}_0x3eebc9&&(_0x17721a=_0x21c5e7-0x1);for(let _0x18a708=_0x356a0b;_0x18a708<_0x21c5e7;_0x18a708++)_0x520e8a[_0x18a708]['side']=_0x18a708<=_0x17721a?-0x1:_0x18a708<_0x5ab570?0x0:0x1,_0x520e8a[_0x18a708]['index']=_0x18a708;let _0x853b1c=0x0;for(let _0x3ac4c2=_0x356a0b;_0x3ac4c2<=_0x17721a;_0x3ac4c2++)0x0==_0x520e8a[_0x3ac4c2]['distance']?_0x520e8a[_0x3ac4c2]['level']=_0x853b1c:(_0x853b1c++,_0x520e8a[_0x3ac4c2]['level']=_0x853b1c,_0x853b1c++);for(let _0x188e41=_0x356a0b;_0x188e41<_0x21c5e7;_0x188e41++)0x0==_0x520e8a[_0x188e41]['side']&&(_0x520e8a[_0x188e41]['level']=_0x853b1c);_0x853b1c=0x0;for(let _0x55f7f8=_0x21c5e7-0x1;_0x55f7f8>=_0x5ab570;_0x55f7f8--)0x0==_0x520e8a[_0x55f7f8]['distance']?_0x520e8a[_0x55f7f8]['level']=_0x853b1c:(_0x853b1c--,_0x520e8a[_0x55f7f8]['level']=_0x853b1c,_0x853b1c--);}}['_fixObsoleteTags'](_0x409b26){const _0x2a5389=new Map(),_0xee3f9f=this['editor']['model']['schema'];for(let _0xfb00b2=0x1;_0xfb00b2<_0x409b26['length'];_0xfb00b2++){let _0x242c52,_0x3abd17,_0x1e546b;const _0x47df08=_0x409b26[_0xfb00b2],_0x4f19ea=_0x409b26[_0xfb00b2-0x1];if('text'==_0x47df08['type'])continue;if(_0x47df08['type']!=_0x4f19ea['type'])continue;if(!_0xee3f9f['isBlock'](_0x4f19ea['item'])||_0xee3f9f['isLimit'](_0x4f19ea['item']))continue;if(!_0xee3f9f['isBlock'](_0x47df08['item'])||_0xee3f9f['isLimit'](_0x47df08['item']))continue;if((_0x409b26[_0xfb00b2]['isAdded']||_0x409b26[_0xfb00b2]['isAddSuggestion'])&&_0x409b26[_0xfb00b2-0x1]['isRemoved'])_0x242c52=_0x409b26[_0xfb00b2],_0x3abd17=_0x409b26[_0xfb00b2-0x1],_0x1e546b=_0xfb00b2-0x1;else{if(!_0x409b26[_0xfb00b2]['isRemoved']||!_0x409b26[_0xfb00b2-0x1]['isAdded']&&!_0x409b26[_0xfb00b2-0x1]['isAddSuggestion'])continue;_0x242c52=_0x409b26[_0xfb00b2-0x1],_0x3abd17=_0x409b26[_0xfb00b2],_0x1e546b=_0xfb00b2;}const _0x5eef68=_0x242c52['level']==_0x3abd17['level'],_0x26ce32=Math['abs'](_0x242c52['level'])<Math['abs'](_0x3abd17['level'])&&0x0==_0x3abd17['distance'];(_0x5eef68||_0x26ce32)&&(_0x2a5389['set'](_0x3abd17['id'],_0x242c52['id']),_0x409b26['splice'](_0x1e546b,0x1),_0xfb00b2--,_0x242c52['isAdded']=!0x1);}for(let _0x41e546=0x0;_0x41e546<_0x409b26['length'];_0x41e546++)_0x2a5389['has'](_0x409b26[_0x41e546]['pairId'])&&(_0x409b26[_0x41e546]['pairId']=_0x2a5389['get'](_0x409b26[_0x41e546]['pairId']));}['_removeMissingPairs'](_0x66c266){const _0x6abe56=new Set(_0x66c266['map'](_0x37e338=>_0x37e338['id']));for(let _0x517a7d=0x0;_0x517a7d<_0x66c266['length'];_0x517a7d++)_0x6abe56['has'](_0x66c266[_0x517a7d]['pairId'])||0x0==_0x66c266[_0x517a7d]['distance']||(_0x66c266[_0x517a7d]['isIncorrect']=!0x0);return _0x66c266['filter'](_0x34d07b=>!_0x34d07b['isIncorrect']);}['_markMismatchedRemovedTags'](_0x2c8e8f){const _0x289c0e=new Set();for(let _0x582ad3=0x0;_0x582ad3<_0x2c8e8f['length'];_0x582ad3++){if(_0x289c0e['has'](_0x2c8e8f[_0x582ad3]['id'])&&_0x2c8e8f[_0x582ad3]['isRemoved']&&(_0x2c8e8f[_0x582ad3]['isIncorrect']=!0x0),_0x2c8e8f[_0x582ad3]['isIncorrect'])continue;if(0x0==_0x2c8e8f[_0x582ad3]['distance'])continue;if('elementStart'!=_0x2c8e8f[_0x582ad3]['type'])continue;if(null==_0x2c8e8f[_0x582ad3]['pairId'])continue;let _0x73c195=_0x582ad3+0x1,_0x5b2b4b=0x0;for(;_0x2c8e8f[_0x73c195]['id']!=_0x2c8e8f[_0x582ad3]['pairId'];)'elementStart'==_0x2c8e8f[_0x73c195]['type']?_0x5b2b4b++:'elementEnd'==_0x2c8e8f[_0x73c195]['type']&&_0x5b2b4b--,_0x73c195++;if(0x0!=_0x5b2b4b){if(_0x2c8e8f[_0x582ad3]['isRemoved'])_0x2c8e8f[_0x582ad3]['isIncorrect']=!0x0;else{for(;_0x73c195!=_0x582ad3;)_0x2c8e8f[_0x73c195]['isRemoved']&&0x0!=_0x2c8e8f[_0x73c195]['distance']&&(_0x2c8e8f[_0x73c195]['isIncorrect']=!0x0,_0x289c0e['add'](_0x2c8e8f[_0x73c195]['pairId'])),_0x73c195--;}}}return _0x2c8e8f['filter'](_0x3e50ad=>!_0x3e50ad['isIncorrect']);}['_removeUnsupportedChanges'](_0x34d0e0){const _0x4c1ec1=this['editor']['model']['schema'];for(let _0x2da2d1=0x0;_0x2da2d1<_0x34d0e0['length'];_0x2da2d1++){if(!(_0x34d0e0[_0x2da2d1]['isAdded']||_0x34d0e0[_0x2da2d1]['isAddSuggestion']||_0x34d0e0[_0x2da2d1]['isRemoved']||_0x34d0e0[_0x2da2d1]['isRemoveSuggestion']))continue;if(0x0==_0x34d0e0[_0x2da2d1]['distance'])continue;const _0x1543a9=_0x34d0e0[_0x2da2d1]['item'];_0x4c1ec1['isBlock'](_0x1543a9)||_0x4c1ec1['isLimit'](_0x1543a9)||(_0x34d0e0[_0x2da2d1]['isAdded']&&delete _0x34d0e0[_0x2da2d1]['isAdded'],_0x34d0e0[_0x2da2d1]['isAddSuggestion']&&delete _0x34d0e0[_0x2da2d1]['isAddSuggestion'],_0x34d0e0[_0x2da2d1]['isRemoveSuggestion']&&delete _0x34d0e0[_0x2da2d1]['isRemoveSuggestion'],_0x34d0e0[_0x2da2d1]['isRemoved']&&(_0x34d0e0[_0x2da2d1]['isIncorrect']=!0x0));}return _0x34d0e0['filter'](_0xe84d5f=>!_0xe84d5f['isIncorrect']);}['_makeModelFromTape'](_0x174302,_0x484ba9,_0x24920c){const _0x3c7649=new wt(),_0x385d7b=[],_0x3acf54=new Map(),_0x8ecbaa=this['editor']['model'],_0x1d8efc=_0x8ecbaa['schema'],_0x3665a2=[_0x3c7649],_0x255110={},_0x59685d={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x399efc=null;const _0x52e9f9=[0x0];for(let _0x15fffc=0x0;_0x15fffc<_0x174302['length'];_0x15fffc++){let _0x560bc7,_0x4455b3;if('elementStart'===_0x174302[_0x15fffc]['type']){_0x560bc7=_0x8ecbaa['createPositionFromPath'](_0x3c7649,_0x52e9f9);const _0x456176=new ft(_0x174302[_0x15fffc]['item']['name'],_0x174302[_0x15fffc]['item']['getAttributes']());_0x3665a2[0x0]['_appendChild'](_0x456176),_0x52e9f9['push'](0x0),_0x3665a2['unshift'](_0x456176),_0x4455b3=_0x8ecbaa['createPositionFromPath'](_0x3c7649,_0x52e9f9),_0x399efc=null;}else{if('elementEnd'===_0x174302[_0x15fffc]['type'])_0x3665a2['shift'](),_0x560bc7=_0x8ecbaa['createPositionFromPath'](_0x3c7649,_0x52e9f9),_0x52e9f9['pop'](),_0x52e9f9[_0x52e9f9['length']-0x1]++,_0x4455b3=_0x8ecbaa['createPositionFromPath'](_0x3c7649,_0x52e9f9),_0x399efc=null;else{if(_0x560bc7=_0x8ecbaa['createPositionFromPath'](_0x3c7649,_0x52e9f9),_0x399efc&&_0x1ced40(_0x399efc,_0x174302[_0x15fffc]['item']))_0x399efc['_data']+=_0x174302[_0x15fffc]['item']['data'];else{const _0x256f79=new _t(_0x174302[_0x15fffc]['item']['data'],_0x174302[_0x15fffc]['item']['getAttributes']());_0x3665a2[0x0]['_appendChild'](_0x256f79),_0x399efc=_0x256f79;}_0x52e9f9[_0x52e9f9['length']-0x1]+=_0x174302[_0x15fffc]['item']['offsetSize'],_0x4455b3=_0x8ecbaa['createPositionFromPath'](_0x3c7649,_0x52e9f9);}}for(const _0xb36779 of _0x174302[_0x15fffc]['markersStart'])_0x3acf54['set'](_0xb36779,{'start':_0x560bc7,'end':null});_0x1a4b84('isRemoveSuggestion',_0x15fffc,_0x560bc7,_0x4455b3),_0x1a4b84('isAddSuggestion',_0x15fffc,_0x560bc7,_0x4455b3),_0x1a4b84('isRemoved',_0x15fffc,_0x560bc7,_0x4455b3),_0x1a4b84('isAdded',_0x15fffc,_0x560bc7,_0x4455b3);for(const _0x3eb7cf of _0x174302[_0x15fffc]['markersEnd']){_0x3acf54['get'](_0x3eb7cf)['end']=_0x4455b3;}}for(const [_0x494c2b,_0x233cf9]of _0x3acf54){const _0x36f666=this['editor']['model']['createRange'](_0x233cf9['start'],_0x233cf9['end']);_0x3c7649['markers']['set'](_0x494c2b,_0x36f666);}return _0x385d7b['sort']((_0x3f49b3,_0x301180)=>{const _0x19ae07=_0x3c7649['markers']['get']('revision:'+_0x3f49b3['id']),_0x2ff930=_0x3c7649['markers']['get']('revision:'+_0x301180['id']);return _0x19ae07['start']['isBefore'](_0x2ff930['start'])?-0x1:_0x19ae07['start']['isAfter'](_0x2ff930['start'])?0x1:_0x19ae07['end']['isBefore'](_0x2ff930['end'])?-0x1:_0x19ae07['end']['isAfter'](_0x2ff930['end'])?0x1:'add'===_0x3f49b3['type']?-0x1:0x1;}),{'root':_0x3c7649,'changes':_0x385d7b};function _0x1a4b84(_0x541a56,_0x78be42,_0x559eff,_0x45c3d7){const _0x419952=!!_0x174302[_0x78be42][_0x541a56],_0x3affd3=_0x419952?_0x174302[_0x78be42][_0x541a56]['userId']:null,_0x67a1f8=_0x78be42===_0x174302['length']-0x1,_0x1a9129=_0x59685d[_0x541a56][0x0],_0x17cd5f=_0x1d8efc['isObject'](_0x174302[_0x78be42]['item']);!_0x255110[_0x541a56]&&_0x419952?_0x255110[_0x541a56]={'start':_0x559eff,'tapeItem':_0x174302[_0x78be42],'userId':_0x3affd3,'type':_0x541a56}:_0x255110[_0x541a56]&&!_0x419952?(_0x255110[_0x541a56]['end']=_0x559eff,_0x337d34(_0x255110[_0x541a56]),_0x255110[_0x541a56]=null):_0x255110[_0x541a56]&&_0x419952&&_0x255110[_0x541a56]['userId']!==_0x3affd3&&(_0x255110[_0x541a56]['end']=_0x559eff,_0x1a9129&&_0x1a9129['userId']===_0x255110[_0x541a56]['userId']||_0x337d34(_0x255110[_0x541a56]),_0x255110[_0x541a56]={'start':_0x559eff,'tapeItem':_0x174302[_0x78be42],'userId':_0x3affd3,'type':_0x541a56}),_0x255110[_0x541a56]&&_0x17cd5f&&('elementStart'!==_0x174302[_0x78be42]['type']||_0x1a9129&&_0x1a9129['userId']===_0x3affd3||_0x59685d[_0x541a56]['unshift']({'userId':_0x3affd3,'object':_0x174302[_0x78be42]['item'],'change':_0x255110[_0x541a56]}),'elementEnd'===_0x174302[_0x78be42]['type']&&_0x1a9129&&_0x1a9129['object']===_0x174302[_0x78be42]['item']&&(_0x59685d[_0x541a56]['shift'](),_0x255110[_0x541a56]=_0x1a9129['change'])),_0x255110[_0x541a56]&&_0x67a1f8&&(_0x255110[_0x541a56]['end']=_0x45c3d7,_0x337d34(_0x255110[_0x541a56]),_0x255110[_0x541a56]=null);}function _0x337d34({start:_0x5981a7,end:_0x31c672,tapeItem:_0x442beb,userId:_0x147fd7,type:_0x2d7ae7}){const _0x3b68ac=_0x442beb['item'],_0x1d6244=_0x8ecbaa['schema']['isBlock'](_0x3b68ac)&&!_0x8ecbaa['schema']['isLimit'](_0x3b68ac),_0x300005=_0x5981a7['nodeAfter']==_0x31c672['parent']&&_0x31c672['isAtStart'];if(_0x1d6244&&_0x300005)return;const _0x16c973=_0x8ecbaa['createRange'](_0x5981a7,_0x31c672),_0x463547=_0x484ba9['get'](_0x147fd7),_0x31ee62=new r({'author':_0x463547,'type':'isAdded'==_0x2d7ae7||'isAddSuggestion'==_0x2d7ae7?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x2d7ae7||'isRemoveSuggestion'==_0x2d7ae7},'createdAt':new Date(),'rootName':_0x24920c});_0x385d7b['push'](_0x31ee62),_0x3c7649['markers']['set']('revision:'+_0x31ee62['id'],_0x16c973);}function _0x1ced40(_0x1947ee,_0x1b2b83){const _0x167fff=_0x1947ee['getAttributes'](),_0x3b81ba=_0x1b2b83['getAttributes']();for(const _0x3ced18 of _0x167fff){if(_0x3ced18[0x1]!==_0x1b2b83['getAttribute'](_0x3ced18[0x0]))return!0x1;_0x3b81ba['next']();}return _0x3b81ba['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x396b7c=>{const _0x122d22=_0x396b7c['markerName']['split'](':')[0x1],_0x437f05=this['_getChangeFromId'](_0x122d22);if(!_0x437f05)return null;const _0x4c714f='add'==_0x437f05['type']?'insertion':'deletion',_0x201533=['ck-suggestion-marker','ck-suggestion-marker-'+_0x4c714f];return _0x437f05['data']['isSuggestion']&&_0x201533['push']('ck-suggestion-marker-'+_0x4c714f+'-new'),this['activeChange']==_0x437f05&&_0x201533['push']('ck-suggestion-marker--active'),{'classes':_0x201533,'attributes':{'data-change-id':_0x122d22}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x19cd9c=>{_0x19cd9c['on']('element:pre',(_0x5e2700,_0x36d8ae,_0x1d369a)=>{const _0x1ae3ec=_0x36d8ae['viewItem']['getChild'](0x0);if(!_0x1ae3ec||!_0x1ae3ec['is']('element','code'))return;if(!_0x1d369a['consumable']['consume'](_0x1ae3ec,{'attributes':['vid_start','vid_end']}))return;const _0x2673a0=_0x36d8ae['modelRange']['start']['nodeAfter'];_0x1d369a['writer']['setAttribute']('vid_start',_0x1ae3ec['getAttribute']('vid_start'),_0x2673a0),_0x1d369a['writer']['setAttribute']('vid_end',_0x1ae3ec['getAttribute']('vid_end'),_0x2673a0);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x345da2=>{_0x345da2['on']('element',(_0x30f1a6,_0x197c27,_0x8584f6)=>{if(!_0x8584f6['consumable']['consume'](_0x197c27['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x197c27['modelRange']['isCollapsed'])return;const _0x5e8751=_0x197c27['modelRange']['start']['nodeAfter'];_0x5e8751['hasAttribute']('vid_start')||_0x5e8751['hasAttribute']('vid')||(_0x8584f6['writer']['setAttribute']('vid_start',_0x197c27['viewItem']['getAttribute']('vid_start'),_0x5e8751),_0x8584f6['writer']['setAttribute']('vid_end',_0x197c27['viewItem']['getAttribute']('vid_end'),_0x5e8751));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x4fd498=>_0x4fd498['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x1b3043,[,_0x562397])=>{['vid_start','vid_end','vid']['includes'](_0x562397)&&(_0x1b3043['return']=!0x0,_0x1b3043['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x44c0f6=>{_0x44c0f6['on']('attribute:vid',(_0x74241f,_0x43a63b,_0x4ccd55)=>{if('\x20'!=_0x43a63b['item']['data']||_0x43a63b['item']['parent']['maxOffset']>0x1)return;if(!_0x4ccd55['consumable']['consume'](_0x43a63b['item'],_0x74241f['name']))return;const _0x5ca804=_0x4ccd55['writer'],_0x44b965=_0x4ccd55['mapper']['toViewRange'](_0x43a63b['range']);_0x5ca804['wrap'](_0x44b965,_0x5ca804['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x1f6d86){const _0x5e6886=_0x1f6d86['plugins']['get']('RevisionViewer');return(_0x2b733e,_0x1d6e92,_0x4ee552)=>{const _0x54ed07=_0x1d6e92['markerName']['split'](':')[0x1],_0x7dce16=_0x5e6886['_getChangeFromId'](_0x54ed07);if(!_0x7dce16)return null;const _0x3ad0ff='add'==_0x7dce16['type']?'split':'merge';if(!_0x4ee552['consumable']['test'](_0x1d6e92['markerRange'],_0x2b733e['name']))return;const _0x1af5d7=_0x1d6e92['markerRange']['getWalker'](),_0x571c5d=_0x1d6e92['markerRange']['start'],_0x3c54bd=_0x1f6d86['model']['schema'];let _0x236b70=null,_0x202b96=null,_0x2c22ce=!0x1,_0x21ce71=!0x1;for(const _0x417fd1 of _0x1af5d7){const _0x570624=_0x417fd1['item'];_0x2c22ce=_0x2c22ce||_0x3c54bd['isContent'](_0x570624);const _0x1614b3=_0x4ee552['mapper']['toViewElement'](_0x570624);if(_0x1614b3&&_0x1614b3['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x417fd1['type']&&(_0x3c54bd['isBlock'](_0x570624)&&!_0x3c54bd['isLimit'](_0x570624)&&(_0x570624['nextSibling']||_0x571c5d['isAtEnd']?_0x236b70&&_0x236b70['parent']==_0x570624||(_0x236b70=_0x570624,_0x157d63(_0x417fd1['previousPosition']),_0x21ce71=!0x0):_0x202b96=_0x202b96||_0x417fd1['previousPosition']));}function _0x157d63(_0x1575d2){const _0x4ebe53=_0x4ee552['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3ad0ff}),_0x542a1a=_0x4ee552['mapper']['toViewPosition'](_0x1575d2);_0x7dce16['data']['isSuggestion']&&_0x4ee552['writer']['addClass']('ck-suggestion-marker-'+_0x3ad0ff+'-new',_0x4ebe53),_0x5e6886['activeChange']==_0x7dce16&&_0x4ee552['writer']['addClass']('ck-suggestion-marker--active',_0x4ebe53),_0x4ee552['writer']['insert'](_0x542a1a,_0x4ebe53),_0x4ee552['mapper']['bindElementToMarker'](_0x4ebe53,_0x1d6e92['markerName']);}_0x2c22ce||_0x21ce71||!_0x202b96||_0x157d63(_0x202b96);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x1aa123,_0x15afd7,_0x2881e3)=>{const _0x1421a6=_0x2881e3['mapper']['markerNameToElements'](_0x15afd7['markerName']);if(_0x1421a6){for(const _0xc678dd of _0x1421a6)(_0xc678dd['hasClass']('ck-suggestion-marker-split')||_0xc678dd['hasClass']('ck-suggestion-marker-merge'))&&(_0x2881e3['mapper']['unbindElementFromMarkerName'](_0xc678dd,_0x15afd7['markerName']),_0x2881e3['writer']['remove'](_0xc678dd));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x4e3e4e,_0x4948ca,_0x563015)=>{const _0x8c2ea6=_0x4948ca['markerName']['split'](':')[0x1],_0x36c958=this['_getChangeFromId'](_0x8c2ea6);if(!_0x36c958)return null;const _0x591b29='add'==_0x36c958['type']?'split':'merge';if(_0x563015['consumable']['test'](_0x4948ca['markerRange'],_0x4e3e4e['name']))for(const _0x139a16 of _0x4948ca['markerRange']['getItems']()){if(!_0x139a16['is']('element','softBreak'))continue;const _0x4a7f9f=_0x563015['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x591b29}),_0x2fde5a=_0x563015['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x139a16));_0x36c958['data']['isSuggestion']&&_0x563015['writer']['addClass']('ck-suggestion-marker-'+_0x591b29+'-new',_0x4a7f9f),this['activeChange']==_0x36c958&&_0x563015['writer']['addClass']('ck-suggestion-marker--active',_0x4a7f9f),_0x563015['writer']['insert'](_0x2fde5a,_0x4a7f9f),_0x563015['mapper']['bindElementToMarker'](_0x4a7f9f,_0x4948ca['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x25c23b=>{for(const _0x3c82ed of this['editor']['model']['document']['getRootNames']()){const _0x4da32a=this['editor']['model']['document']['getRoot'](_0x3c82ed),_0x272b11=this['editor']['editing']['view']['document']['getRoot'](_0x3c82ed);if(_0x272b11){const _0x21724e=_0x4da32a['getAttribute']('revisionHistoryAttachChange');if(_0x25c23b['removeAttribute']('data-change-id',_0x272b11),_0x25c23b['removeClass']('ck-revision-history-root-add',_0x272b11),_0x25c23b['removeClass']('ck-revision-history-root-remove',_0x272b11),_0x25c23b['removeClass']('ck-revision-history-root--active',_0x272b11),_0x21724e){const _0x161365=this['_getChangeFromId'](_0x21724e);if(!_0x161365)return null;_0x25c23b['setAttribute']('data-change-id',_0x21724e,_0x272b11),_0x25c23b['addClass']('ck-revision-history-root-'+_0x161365['type'],_0x272b11),this['activeChange']==_0x161365&&_0x25c23b['addClass']('ck-revision-history-root--active',_0x272b11);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x12878d=>'revision-comment:'+_0x12878d,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x32f3b3=>'revision-suggestion:'+_0x32f3b3,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x2fc14c=>({'name':'suggestion:'+_0x2fc14c,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x140750=>{const _0x30b83c=_0x140750['markerName']['split'](':')[0x1];return'insertion'!=_0x30b83c&&'deletion'!=_0x30b83c?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x30b83c]};}}),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',(_0x309f9a,_0x50bfb0,_0x48be57)=>{const _0x46b775=_0x48be57['mapper']['markerNameToElements'](_0x50bfb0['markerName']);if(_0x46b775){for(const _0x8f8a16 of _0x46b775)_0x8f8a16['is']('uiElement')&&(_0x48be57['mapper']['unbindElementFromMarkerName'](_0x8f8a16,_0x50bfb0['markerName']),_0x48be57['writer']['remove'](_0x8f8a16));}},{'priority':'high'});}['_getChangeFromId'](_0x493c1e){return this['_changeIdToChange']['get'](_0x493c1e);}['_getViewForChange'](_0x30925a){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x30925a),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x29ed54,_0x1372a2,_0x8087f8,_0x560300)=>{_0x560300&&this['_balloon']['remove'](_0x560300),_0x8087f8&&(this['_balloon']['add']({'view':_0x8087f8,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x315e1a=this['editor']['editing'],_0x2325be=this['_getChangeFromId'](_0x8087f8['changeId']);let _0x1ee917;if(_0x2325be['data']['isOnRoot']){const _0x4e1d5e=_0x315e1a['view']['getDomRoot'](_0x2325be['rootName']);_0x1ee917=Array['from'](_0x4e1d5e['getClientRects']());}else{const _0x430f7d=this['editor']['model']['markers']['get']('revision:'+_0x8087f8['changeId']);_0x1ee917=Array['from'](_0x315e1a['mapper']['markerNameToElements'](_0x430f7d['name']))['map'](_0x3d433e=>_0x315e1a['view']['domConverter']['mapViewToDom'](_0x3d433e))['map'](_0x41b454=>Array['from'](_0x41b454['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x1ee917[0x0];return _0x1ee917['find'](_0xb29b28=>_0xb29b28['top']-0x3<=this['_activeViewTarget']['y']&&_0xb29b28['bottom']+0x3>=this['_activeViewTarget']['y']&&_0xb29b28['left']-0x3<=this['_activeViewTarget']['x']&&_0xb29b28['right']+0x3>=this['_activeViewTarget']['x'])||_0x1ee917[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0xa31c7d,_0x338adc,_0x5ea357,_0x4bea8c)=>{this['activeView']=_0x5ea357?this['_getViewForChange'](_0x5ea357):null,this['editor']['model']['change'](()=>{const _0x16b1f3=this['editor']['editing'];_0x4bea8c&&(_0x4bea8c['data']['isOnRoot']?_0x16b1f3['view']['change'](_0x25227f=>{_0x25227f['removeClass']('ck-revision-history-root--active',_0x16b1f3['view']['document']['getRoot'](_0x4bea8c['rootName']));}):_0x16b1f3['reconvertMarker']('revision:'+_0x4bea8c['id'])),_0x5ea357&&(_0x5ea357['data']['isOnRoot']?_0x16b1f3['view']['change'](_0x41ee14=>{_0x41ee14['addClass']('ck-revision-history-root--active',_0x16b1f3['view']['document']['getRoot'](_0x5ea357['rootName']));}):_0x16b1f3['reconvertMarker']('revision:'+_0x5ea357['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x211e34,_0x4c60c2)=>{if(this['activeChange'])return;const _0xc44b03=this['_findChangeIdFromDomTarget'](_0x4c60c2['target']),_0xd17172=this['_changeIdToChange']['get'](_0xc44b03);_0xd17172?(this['_activeViewTarget']={'x':_0x4c60c2['domEvent']['x'],'y':_0x4c60c2['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0xd17172)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x5c5192,_0x430c2c)=>{const _0x448d5d=this['_findChangeIdFromDomTarget'](_0x430c2c['target']),_0xb98217=this['_changeIdToChange']['get'](_0x448d5d);_0xb98217?(this['_activeViewTarget']={'x':_0x430c2c['domEvent']['x'],'y':_0x430c2c['domEvent']['y']},_0xb98217===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0xb98217):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x1bf74b){do{const _0x4a60da=_0x1bf74b['getAttribute']('data-change-id');if(_0x4a60da)return _0x4a60da;_0x1bf74b=_0x1bf74b['parent'];}while(_0x1bf74b);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x5f55e4=>{for(const _0x4da393 of this['editor']['model']['markers'])_0x5f55e4['removeMarker'](_0x4da393);});}}function et(_0x2f0b97,_0x20cc6d){return(_0x4243d3,_0x58de23,_0x51291a)=>{if(!_0x51291a['consumable']['test'](_0x58de23['markerRange'],_0x4243d3['name']))return;const _0x4eb515=_0x58de23['markerRange']['getWalker'](),_0xf083a3=_0x58de23['markerRange']['start'],_0x5752d9=_0x2f0b97['model']['schema'];let _0xf9d442=null,_0x1a4c29=null,_0x501050=!0x1,_0x27f215=!0x1;for(const _0x53b263 of _0x4eb515){const _0x44a2e0=_0x53b263['item'];_0x501050=_0x501050||_0x5752d9['isContent'](_0x44a2e0);const _0x5a54c6=_0x51291a['mapper']['toViewElement'](_0x44a2e0);if(_0x5a54c6&&_0x5a54c6['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x53b263['type']&&(_0x5752d9['isBlock'](_0x44a2e0)&&!_0x5752d9['isLimit'](_0x44a2e0)&&(_0x44a2e0['nextSibling']||_0xf083a3['isAtEnd']?_0xf9d442&&_0xf9d442['parent']==_0x44a2e0||(_0xf9d442=_0x44a2e0,_0x410e8e(_0x53b263['previousPosition']),_0x27f215=!0x0):_0x1a4c29=_0x1a4c29||_0x53b263['previousPosition']));}function _0x410e8e(_0x57cc1a){const _0x8ecb34=_0x51291a['mapper']['toViewPosition'](_0x57cc1a),_0x361bb3=_0x51291a['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x20cc6d});_0x51291a['writer']['insert'](_0x8ecb34,_0x361bb3),_0x51291a['mapper']['bindElementToMarker'](_0x361bb3,_0x58de23['markerName']);}_0x501050||_0x27f215||!_0x1a4c29||_0x410e8e(_0x1a4c29);};}class bt extends _0x2c240c{constructor(_0x48a979){super(_0x48a979);const _0x1b9621=_0x48a979['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x1b9621,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x1b9621,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x10a73c=this['editor'],_0x14bf76=_0x10a73c['plugins']['get'](d),_0x28ff6a=_0x14bf76['isReady']?_0x14bf76['diff']['newRevisionId']:null;_0x10a73c['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x28ff6a);}['refresh'](){const {isReady:_0x465227,isEnabled:_0xa5bc0a}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x465227&&_0xa5bc0a;}}class yt extends _0x2c240c{['_step'];constructor(_0x9a4e50,{direction:_0x4bf598}){super(_0x9a4e50);const _0x369987=_0x9a4e50['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x4bf598?0x1:-0x1,this['listenTo'](_0x369987,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x369987,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x369987,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x1166c7=this['editor'],_0x152c3d=_0x1166c7['plugins']['get'](d),{isNavigationMode:_0x30a616,currentChangeNumber:_0x295ff2}=_0x152c3d;let _0x325fc3;if(_0x152c3d['activeChange']=_0x30a616?_0x152c3d['diff']['changes']['get'](_0x295ff2+this['_step']):_0x152c3d['diff']['changes']['first'],_0x152c3d['activeChange']['data']['isOnRoot'])_0x325fc3=_0x1166c7['editing']['view']['getDomRoot'](_0x152c3d['activeChange']['rootName']);else{const _0x10d1fb=_0x1166c7['model']['markers']['get']('revision:'+_0x152c3d['activeChange']['id']);_0x325fc3=_0x2e6bbf(_0x1166c7['editing'],_0x10d1fb);}_0x3e9657({'target':_0x325fc3,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x1b1a3b,currentChangeNumber:_0x518b8c,numberOfChanges:_0x285d94,isReady:_0xdbe8,isEnabled:_0x15bdf0}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x15bdf0&&_0xdbe8&&_0x285d94)&&(!_0x1b1a3b||(0x1===this['_step']?_0x518b8c<_0x285d94-0x1:_0x518b8c>0x0));}}class _i extends _0x5db524{constructor(_0x1b5120){super(_0x1b5120);const _0x435dcf=this['bindTemplate'],_0x23e641=new _0x52c08a(_0x1b5120),_0x558ee8=new _0x52c08a(_0x1b5120);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',(_0x391783,_0x40b712)=>_0x391783&&_0x40b712>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x2a485b,_0x189674,_0x7c02a7,_0x3e36ed)=>{if(!_0x2a485b)return y(_0x1b5120,'Loading...');if(!_0x7c02a7)return y(_0x1b5120,'No\x20changes');const _0xe7f5da=y(_0x1b5120,'NUMBER_OF_CHANGES',_0x7c02a7);return _0x3e36ed?y(_0x1b5120,'X_OF_Y_CHANGES',[_0x189674+0x1,_0x7c02a7]):_0xe7f5da;}),_0x23e641['set']({'label':y(_0x1b5120,'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'}),_0x558ee8['set']({'label':y(_0x1b5120,'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'}),_0x23e641['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x558ee8['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x23e641['on']('execute',()=>this['fire']('execute','backward')),_0x558ee8['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',_0x435dcf['if']('_isStatusLabelVisible','ck-hidden',_0x33f049=>!_0x33f049)]},'children':[{'text':_0x435dcf['to']('isNavigationMode',_0x30d138=>_0x30d138?y(_0x1b5120,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x1b5120,'Total')+':\x20')}]},{'text':_0x435dcf['to']('_statusText')}]},new _0x5fb0bf(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x23e641,_0x558ee8]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x5a08a8{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x3c9ef2=this['editor']['editing']['view'];_0x3c9ef2['change'](_0x28b18f=>{for(const _0x2a6762 of _0x3c9ef2['document']['roots'])_0x28b18f['addClass'](ce,_0x2a6762);});}['hide'](){const _0x449fdd=this['editor']['editing']['view'];_0x449fdd['change'](_0x107ee5=>{for(const _0x206bd8 of _0x449fdd['document']['roots'])_0x107ee5['removeClass'](ce,_0x206bd8);});}}class R extends _0x5a08a8{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x5383ee=this['editor'],_0x1f256=_0x5383ee['plugins']['get'](d),_0x187b9f=_0x5383ee['plugins']['get'](de);_0x5383ee['ui']['componentFactory']['add']('exitToEditing',_0x31c110=>{const _0x482fbd=new _0x52c08a(_0x31c110);return _0x482fbd['set']({'label':y(_0x31c110,'Back\x20to\x20editing'),'icon':_0x5be88d['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x482fbd,'execute',()=>{_0x5383ee['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x482fbd;}),_0x5383ee['ui']['componentFactory']['add']('restoreRevision',_0x5c41de=>{const _0x5ee3e8=new _0x52c08a(_0x5c41de);return _0x5ee3e8['set']({'label':y(_0x5c41de,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x5ee3e8['bind']('isEnabled')['to'](_0x5383ee['commands']['get']('restoreRevision')),this['listenTo'](_0x5ee3e8,'execute',()=>_0x5383ee['execute']('restoreRevision')),_0x5ee3e8;}),_0x5383ee['ui']['componentFactory']['add']('changesNavigation',_0x54493a=>{const _0x52e822=new _i(_0x54493a),_0x570fba=_0x5383ee['commands']['get']('showPreviousChange'),_0x4d76ff=_0x5383ee['commands']['get']('showNextChange');return _0x52e822['bind']('isBackwardNavigationEnabled')['to'](_0x570fba,'isEnabled'),_0x52e822['bind']('isForwardNavigationEnabled')['to'](_0x4d76ff,'isEnabled'),_0x52e822['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x1f256),this['listenTo'](_0x52e822,'execute',(_0x3497d9,_0x3a80c8)=>{_0x5383ee['execute']('forward'===_0x3a80c8?'showNextChange':'showPreviousChange');}),_0x52e822;}),_0x187b9f['show'](),_0x1f256['on']('change:isReady',(_0x170881,_0x55a06a,_0x36c029)=>{_0x36c029?_0x187b9f['hide']():_0x187b9f['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0xf40c53,_0x52d95a){super(_0xf40c53,_0x52d95a);const _0x5bb742=this['bindTemplate'];this['set']({'label':y(_0xf40c53,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0xf40c53,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x5bb742['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 _0x46a730=this['fieldView']['element'];this['_tooltipString']=_0x46a730['scrollWidth']>_0x46a730['clientWidth']&&_0x46a730['value']||'';}}class ti extends _0x5db524{constructor(_0x405704,_0x68dbd3,_0xec1b8d){super(_0x405704);const _0x3ee6d1=new _0x3cec56();_0x3ee6d1['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 _0x3d49a4=['ck','ck-revision-history-sidebar__revision-author'];_0xec1b8d&&_0x3d49a4['push']('ck-revision-history-sidebar__revision-author_creator');const _0x4519ed=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x405704,_0xec1b8d?'Revision\x20creator':'Revision\x20author')},'children':[_0x3ee6d1,_0x68dbd3['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x3d49a4},'children':_0x4519ed});}}function ni(_0x5d4b8c,_0x1e2c29){const _0x40a735=_0x5d4b8c['bindTemplate'],_0x134a92=_0x5d4b8c['locale'],_0x44fb22=_0x4af22a(_0x134a92);_0x44fb22['panelPosition']='sw';const _0x26df40=function(_0x4eb57a,_0x27df38){const _0x586a66=function(_0xeeae38,_0x2e49dc){const _0x4bfe39=_0xeeae38['locale'],_0x125a91={'Compare\x20against\x20selected':y(_0x4bfe39,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x4bfe39,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x4bfe39,'Restore\x20this\x20revision')};return _0x2e49dc['map'](_0x41fb77=>{const _0x50617f=_0x125a91[_0x41fb77['name']];return _0x50617f&&_0x50617f!==_0x41fb77['name']&&(_0x41fb77['name']=_0x50617f),_0x41fb77;});}(_0x4eb57a,_0x27df38),_0x15220c=new _0x174e35();for(const _0x3017fa of _0x586a66){const _0x4aa914={'type':'button','model':new to({'label':_0x3017fa['name'],'class':_0x3017fa['class'],'withText':!0x0,'role':'menuitem','_action':_0x3017fa['action']})};_0x4aa914['model']['bind']('isEnabled')['to'](_0x4eb57a,'isActionsDropdownOpen',_0x315ae1=>'function'!=typeof _0x3017fa['isEnabled']||(!_0x315ae1||_0x3017fa['isEnabled'](_0x4eb57a))),_0x15220c['add'](_0x4aa914);}return _0x15220c;}(_0x5d4b8c,_0x1e2c29);return _0x5d4b8c['bind']('isActionsDropdownOpen')['to'](_0x44fb22,'isOpen'),_0x44fb22['buttonView']['set']({'label':y(_0x134a92,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x5be88d['threeVerticalDots']}),_0x44fb22['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x40a735['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x40a735['to'](_0x25b68c=>_0x25b68c['stopPropagation']())}}),_0x44fb22['on']('execute',_0x45ba27=>{_0x5d4b8c['isReady']&&'function'==typeof _0x45ba27['source']['_action']&&_0x45ba27['source']['_action'](_0x5d4b8c);}),_0x4a04b8(_0x44fb22,_0x26df40,{'role':'menu'}),_0x44fb22['listenTo'](_0x5d4b8c,'change:isActionsDropdownOpen',(_0x1a68f6,_0x235993,_0x124e4d)=>{if(_0x124e4d)for(const _0x43ebfd of _0x44fb22['listView']['items']){const _0x14eb04=_0x43ebfd['children']['first'],_0x2ac16a=_0x1e2c29['find'](_0x38a081=>_0x38a081['action']===_0x14eb04['_action'])['isVisible'];_0x43ebfd['isVisible']=void 0x0===_0x2ac16a||_0x2ac16a(_0x5d4b8c);}}),_0x44fb22;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x2bb715(_0x5db524){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x3c2db8,_0xefcc7a,_0x5cccb6,_0x3c8ce6){super(_0x3c2db8);const _0x17bac1=this['bindTemplate'],_0x58cc09=function(_0x5589b6,_0x387ef6){const _0xea57b4=Array['from'](_0x387ef6['authors'])['filter'](_0x471fa2=>_0x471fa2!=_0x387ef6['creator']);return _0x387ef6['creator']&&_0xea57b4['unshift'](_0x387ef6['creator']),_0xea57b4['map'](_0x22d8f4=>new ti(_0x5589b6,_0x22d8f4,_0x22d8f4==_0x387ef6['creator']));}(_0x3c2db8,_0xefcc7a);this['id']=_0xefcc7a['id'],this['_revision']=_0xefcc7a,this['_requireRevisionName']=_0x3c8ce6,this['bind']('name','createdAt')['to'](_0xefcc7a),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x83d696=>{return _0x39d2fe=_0x3c2db8['uiLanguage'],(_0x96f4b7=_0x83d696)['toLocaleDateString'](_0x39d2fe,{'month':'long','day':'numeric'})+',\x20'+_0x96f4b7['toLocaleTimeString'](_0x39d2fe,{'hour':'numeric','minute':'numeric'});var _0x39d2fe,_0x96f4b7;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x3c2db8,_0x50e25a),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x3884ee=>_0x3884ee||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x337cbf,_0x237d3a)=>_0x337cbf&&_0x237d3a),this['revisionActionsView']=_0x5cccb6&&_0x5cccb6['length']?ni(this,_0x5cccb6):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x17bac1['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x17bac1['if']('isEnabled','ck-disabled',_0x2d7ce0=>!_0x2d7ce0),_0x17bac1['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x17bac1['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x17bac1['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':_0x17bac1['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':_0x58cc09}]},this['revisionActionsView']],'on':{'click':_0x17bac1['to'](_0x506d58=>{_0x506d58['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x40d91d=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x40d91d,'change',()=>{this['_requireRevisionName']&&!_0x40d91d['value']||this['fire']('setName',{'id':this['id'],'name':_0x40d91d['value']}),_0x40d91d['value']||(_0x40d91d['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(_0x57e20b,_0x2bd110){const _0x4d786a=_0x4f6ec9['fromJSDate'](_0x57e20b)['setLocale'](_0x2bd110),_0x2a290c=_0x4f6ec9['local'](),_0x5b53fb=_0x2a290c['minus']({'days':0x1})['startOf']('day');let _0x14435c,_0x2954f3;return _0x4d786a['hasSame'](_0x2a290c,'day')?(_0x14435c=_0x4d786a['startOf']('day')['toJSDate'](),_0x2954f3=_0x4d786a['toRelativeCalendar']()):_0x4d786a['hasSame'](_0x5b53fb,'day')?(_0x14435c=_0x5b53fb['toJSDate'](),_0x2954f3=_0x4d786a['toRelativeCalendar']()):_0x4d786a['hasSame'](_0x2a290c,'week')?(_0x14435c=_0x4d786a['startOf']('week')['toJSDate'](),_0x2954f3=_0x4d786a['weekdayLong']||''):_0x4d786a['hasSame'](_0x2a290c,'year')?(_0x14435c=_0x4d786a['startOf']('month')['toJSDate'](),_0x2954f3=_0x4d786a['monthLong']||''):(_0x14435c=_0x4d786a['startOf']('year')['toJSDate'](),_0x2954f3=String(_0x4d786a['year'])),{'startDate':_0x14435c,'localizedPeriodName':_0x2954f3};}class mi extends _0x5db524{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x146de7,_0x5b4293,_0x811c6e,_0x599039){super(_0x146de7);const _0x47c2af=di(_0x5b4293,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x5b4293,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x811c6e,this['_requireRevisionName']=_0x599039,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':_0x47c2af}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x12c14){const _0x105f02=new ai(this['locale'],_0x12c14,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x105f02);}['removeRevision'](_0x53609a){const _0x1b5a51=this['revisionViews']['find'](_0x50b30f=>_0x50b30f['id']===_0x53609a['id']);this['revisionViews']['remove'](_0x1b5a51);}}class as extends _0x5db524{constructor(_0x139f0c){super(_0x139f0c);const _0x56bcbe=new _0x3cec56();_0x56bcbe['content']=_0x5be88d['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x56bcbe,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x139f0c,'Revision\x20history')]}]});}}class ci extends _0x5db524{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x13f642,_0x248ea2,_0x15436b,_0x4c827b){super(_0x13f642);const _0x26246f=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x248ea2,this['_revisionActions']=_0x15436b,this['_requireRevisionName']=_0x4c827b,this['on']('select',(_0x4930e5,_0x5c6d9c)=>{this['fire']('revisionSelected',_0x5c6d9c);}),this['on']('setName',(_0x18e35f,_0x3c2e8e)=>{this['fire']('revisionSetName',_0x3c2e8e);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x13f642),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x26246f['if']('isEnabled','ck-disabled',_0x21ccad=>!_0x21ccad)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x271659 of this['_revisions'])this['_addRevision'](_0x271659);this['_revisions']['on']('add',(_0x429b28,_0x318783)=>{this['_addRevision'](_0x318783);}),this['_revisions']['on']('remove',(_0x323c02,_0x27f022)=>{this['_removeRevision'](_0x27f022);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x1508d5=>_0x1508d5['revisionViews']['map'](_0x423a48=>_0x423a48))['flat']();}['selectRevision'](_0x291b74){for(const _0x5bf83f of this['revisionViews'])_0x291b74&&_0x291b74['id']===_0x5bf83f['id']?_0x5bf83f['select']():_0x5bf83f['deselect']();}['highlightRevisions'](_0x403f19){for(const _0x355c2f of this['revisionViews'])_0x403f19['some'](({id:_0xd52554})=>_0xd52554===_0x355c2f['id'])?_0x355c2f['highlight']():_0x355c2f['unhighlight']();}['_addRevision'](_0x49b8fa){const _0x34850b=di(_0x49b8fa['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x3efd4e=this['timePeriodViews']['get'](0x0);_0x3efd4e&&_0x3efd4e['startDate']['getTime']()===_0x34850b['getTime']()||(_0x3efd4e=new mi(this['locale'],_0x34850b,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x3efd4e)),_0x3efd4e['addRevision'](_0x49b8fa);}['_removeRevision'](_0x74e54e){const _0x21c943=di(_0x74e54e['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x21c943)['removeRevision'](_0x74e54e);}['_getTimePeriodViewByStartDate'](_0x215aaa){return this['timePeriodViews']['find'](_0x2ee6ac=>_0x2ee6ac['startDate']['getTime']()===_0x215aaa['getTime']());}}class w extends _0x5a08a8{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x570864,Context as _0x269d46,PendingActions as _0x145148,icons as _0xa39abc,Command as _0x3e2fc2,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x157521,uid as _0x3b5255,Collection as _0x12c280,logWarning as _0x2f89d3,FocusTracker as _0x347cd6,KeystrokeHandler as _0x479280,scrollViewportToShowTarget as _0x24e8c4,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x28879a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x41255f,getMarkerDomElement as _0x557e1b,ConfirmMixin as _0x574ea2,sanitizeEditorConfig as _0x2c2d14}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x3204ea,ViewText as _0x4c3592,ViewElement as _0x306c72,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x757aae,ViewAttributeElement as _0xa210d8,ViewEmptyElement as _0x193389,ViewRawElement as _0x3f1dae,ViewUIElement as _0x512571,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0xcaf5fd,set as _0x16b7d1,unset as _0x52a7da,isEqual as _0xf2d6a2}from'lodash-es';import{View as _0x4e738a,injectCssTransitionDisabler as ts,submitHandler as _0x45bbf8,LabeledFieldView as at,createLabeledInputText as _0x32656c,createDropdown as _0x187e19,ListView as te,ListItemView as _0x54edbd,ButtonView as _0x4cc0a0,MenuBarMenuView as _0x3e273f,MenuBarMenuListView as _0x2f8e96,MenuBarMenuListItemView as _0x178041,MenuBarMenuListItemButtonView as _0x5c0dae,ContextualBalloon as _0x5d33fb,ToolbarSeparatorView as _0x538991,IconView as _0x2b9afc,addListToDropdown as _0x3b884b,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 _0x5df281}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x157521(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x580185){super(),this['id']=_0x580185['id']||_0x3b5255(),this['creator']=_0x580185['creator']||null,this['authors']=_0x580185['authors']||[],this['diffData']=_0x580185['diffData']||null,this['toVersion']=_0x580185['toVersion']||0x0,this['fromVersion']=_0x580185['fromVersion']||0x0,this['set']('name',_0x580185['name']||''),this['set']('createdAt',_0x580185['createdAt']||new Date()),this['set']('attributes',_0x580185['attributes']||{});}['setName'](_0x2dbb17){this['_update']({'name':_0x2dbb17});}['setAttribute'](_0x5048f0,_0x4403b0){const _0x1209c4=_0xcaf5fd(this['attributes']);_0x16b7d1(_0x1209c4,_0x5048f0,_0x4403b0),this['_update']({'attributes':_0x1209c4});}['removeAttribute'](_0xeb319c){const _0x1435b6=_0xcaf5fd(this['attributes']);_0x52a7da(_0x1435b6,_0xeb319c),this['_update']({'attributes':_0x1435b6});}['_update'](_0x5a8e03,_0x3bd6f3=!0x1){let _0x4a7d61=!0x1;const _0x5c3f57={'id':this['id']},_0x181182=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x6cbbf3 of _0x181182){const _0x45da8d=_0x5a8e03[_0x6cbbf3];void 0x0!==_0x45da8d&&_0x45da8d!==this[_0x6cbbf3]&&(this[_0x6cbbf3]=_0x45da8d,_0x5c3f57[_0x6cbbf3]=_0x45da8d,_0x4a7d61=!0x0);}_0x4a7d61&&(_0x5c3f57['authors']&&(_0x5c3f57['authorsIds']=_0x5c3f57['authors']['map'](_0x5d47a1=>_0x5d47a1['id']),delete _0x5c3f57['authors']),this['fire']('_update',_0x5c3f57,_0x3bd6f3));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x27e612=>_0x27e612['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x570864{['_revisions'];static get['requires'](){return[_0x41255f];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x3174d4){super(_0x3174d4),this['_revisions']=new _0x12c280();}['afterInit'](){!function(_0x539c70){function _0x18bcb2(_0x142a86,_0x403beb,_0x4013ea){const _0x4568f4={};_0x4568f4[_0x5527c2([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x4568f4[_0x5527c2([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],_0x4568f4[_0x5527c2([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],_0x4568f4[_0x5527c2([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],_0x4568f4[_0x5527c2([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],_0x4568f4[_0x5527c2([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],_0x4568f4[_0x5527c2([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],_0x4568f4[_0x5527c2([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],_0x4568f4[_0x5527c2([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],_0x4568f4[_0x5527c2([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],_0x4568f4[_0x5527c2([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 _0x1db4a2=new Uint8Array(0x10);for(let _0x4124f2=0xf;_0x4124f2>=0x0;--_0x4124f2)_0x1db4a2[_0x4124f2]=_0x4013ea%0x100,_0x4013ea=parseInt(_0x4013ea/0x100);let _0x5371f4=null,_0x4b5f37=0x10;const _0x5192c3=new Uint8Array(_0x403beb),_0x2607f6=[],_0x2e740b=[];_0x4f6734();for(let _0x3bb636=0x0;_0x3bb636<_0x142a86[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3bb636++)0x10===_0x4b5f37&&(_0x5371f4=_0x5d3062(_0x1db4a2),_0x4b5f37=0x0,_0x396d7d(_0x1db4a2)),_0x142a86[_0x3bb636]^=_0x5371f4[_0x4b5f37++];return _0x142a86;function _0x58c5c3(_0x2c6f1d){const _0x52e8a5=[];for(let _0x35a7e4=0x0;_0x35a7e4<_0x2c6f1d[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35a7e4+=0x4)_0x52e8a5[_0x5527c2([0x70,0x75,0x73,0x68])](_0x2c6f1d[_0x35a7e4]<<0x18|_0x2c6f1d[_0x35a7e4+0x1]<<0x10|_0x2c6f1d[_0x35a7e4+0x2]<<0x8|_0x2c6f1d[_0x35a7e4+0x3]);return _0x52e8a5;}function _0x396d7d(_0x1c376b){for(let _0x509d6a=0xf;_0x509d6a>=0x0;_0x509d6a--){if(0xff!==_0x1c376b[_0x509d6a]){_0x1c376b[_0x509d6a]++;break;}_0x1c376b[_0x509d6a]=0x0;}}function _0x5d3062(_0xb4bc99){const _0x352447=_0x2607f6[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x537d2d=[0x0,0x0,0x0,0x0];let t=_0x58c5c3(_0xb4bc99);for(let _0x4e468d=0x0;_0x4e468d<0x4;_0x4e468d++)t[_0x4e468d]^=_0x2607f6[0x0][_0x4e468d];for(let _0x42fb0e=0x1;_0x42fb0e<_0x352447;_0x42fb0e++){for(let _0x53eb48=0x0;_0x53eb48<0x4;_0x53eb48++)_0x537d2d[_0x53eb48]=_0x4568f4[_0x5527c2([0x54,0x31])][t[_0x53eb48]>>0x18&0xff]^_0x4568f4[_0x5527c2([0x54,0x32])][t[(_0x53eb48+0x1)%0x4]>>0x10&0xff]^_0x4568f4[_0x5527c2([0x54,0x33])][t[(_0x53eb48+0x2)%0x4]>>0x8&0xff]^_0x4568f4[_0x5527c2([0x54,0x34])][0xff&t[(_0x53eb48+0x3)%0x4]]^_0x2607f6[_0x42fb0e][_0x53eb48];t=_0x537d2d[_0x5527c2([0x73,0x6c,0x69,0x63,0x65])]();}const _0x4b95b6=new Uint8Array(0x10);let _0x437165;for(let _0x2483ab=0x0;_0x2483ab<0x4;_0x2483ab++)_0x437165=_0x2607f6[_0x352447][_0x2483ab],_0x4b95b6[0x4*_0x2483ab]=0xff&(_0x4568f4[_0x5527c2([0x53])][t[_0x2483ab]>>0x18&0xff]^_0x437165>>0x18),_0x4b95b6[0x4*_0x2483ab+0x1]=0xff&(_0x4568f4[_0x5527c2([0x53])][t[(_0x2483ab+0x1)%0x4]>>0x10&0xff]^_0x437165>>0x10),_0x4b95b6[0x4*_0x2483ab+0x2]=0xff&(_0x4568f4[_0x5527c2([0x53])][t[(_0x2483ab+0x2)%0x4]>>0x8&0xff]^_0x437165>>0x8),_0x4b95b6[0x4*_0x2483ab+0x3]=0xff&(_0x4568f4[_0x5527c2([0x53])][0xff&t[(_0x2483ab+0x3)%0x4]]^_0x437165);return _0x4b95b6;}function _0x4f6734(){const _0xa991dd=_0x4568f4[_0x5527c2([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x5192c3[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0xacde1f=0x0;_0xacde1f<=_0xa991dd;_0xacde1f++)_0x2607f6[_0x5527c2([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x2e740b[_0x5527c2([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x5e7719=0x4*(_0xa991dd+0x1),_0x5ad490=_0x5192c3[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x2f6040=_0x58c5c3(_0x5192c3);let _0x4becdf;for(let _0x1e7c89=0x0;_0x1e7c89<_0x5ad490;_0x1e7c89++)_0x4becdf=_0x1e7c89>>0x2,_0x2607f6[_0x4becdf][_0x1e7c89%0x4]=_0x2f6040[_0x1e7c89],_0x2e740b[_0xa991dd-_0x4becdf][_0x1e7c89%0x4]=_0x2f6040[_0x1e7c89];let _0x4dfcf7,_0x1d595e=0x0,t=_0x5ad490;for(;t<_0x5e7719;){_0x4dfcf7=_0x2f6040[_0x5ad490-0x1],_0x2f6040[0x0]^=_0x4568f4[_0x5527c2([0x53])][_0x4dfcf7>>0x10&0xff]<<0x18^_0x4568f4[_0x5527c2([0x53])][_0x4dfcf7>>0x8&0xff]<<0x10^_0x4568f4[_0x5527c2([0x53])][0xff&_0x4dfcf7]<<0x8^_0x4568f4[_0x5527c2([0x53])][_0x4dfcf7>>0x18&0xff]^_0x4568f4[_0x5527c2([0x72,0x63,0x6f,0x6e])][_0x1d595e]<<0x18,_0x1d595e+=0x1;for(let _0x47bf3a=0x1;_0x47bf3a<_0x5ad490/0x2;_0x47bf3a++)_0x2f6040[_0x47bf3a]^=_0x2f6040[_0x47bf3a-0x1];_0x4dfcf7=_0x2f6040[_0x5ad490/0x2-0x1],_0x2f6040[_0x5ad490/0x2]^=_0x4568f4[_0x5527c2([0x53])][0xff&_0x4dfcf7]^_0x4568f4[_0x5527c2([0x53])][_0x4dfcf7>>0x8&0xff]<<0x8^_0x4568f4[_0x5527c2([0x53])][_0x4dfcf7>>0x10&0xff]<<0x10^_0x4568f4[_0x5527c2([0x53])][_0x4dfcf7>>0x18&0xff]<<0x18;for(let _0x445b16=_0x5ad490/0x2+0x1;_0x445b16<_0x5ad490;_0x445b16++)_0x2f6040[_0x445b16]^=_0x2f6040[_0x445b16-0x1];let _0x122767,_0x4cd64d,_0x47b66b=0x0;for(;_0x47b66b<_0x5ad490&&t<_0x5e7719;)_0x122767=t>>0x2,_0x4cd64d=t%0x4,_0x2607f6[_0x122767][_0x4cd64d]=_0x2f6040[_0x47b66b],_0x2e740b[_0xa991dd-_0x122767][_0x4cd64d]=_0x2f6040[_0x47b66b++],t++;}for(let _0x47f4fb=0x1;_0x47f4fb<_0xa991dd;_0x47f4fb++)for(let _0x25c0dc=0x0;_0x25c0dc<0x4;_0x25c0dc++)_0x4dfcf7=_0x2e740b[_0x47f4fb][_0x25c0dc],_0x2e740b[_0x47f4fb][_0x25c0dc]=_0x4568f4[_0x5527c2([0x55,0x31])][_0x4dfcf7>>0x18&0xff]^_0x4568f4[_0x5527c2([0x55,0x32])][_0x4dfcf7>>0x10&0xff]^_0x4568f4[_0x5527c2([0x55,0x33])][_0x4dfcf7>>0x8&0xff]^_0x4568f4[_0x5527c2([0x55,0x34])][0xff&_0x4dfcf7];}}function _0x5527c2(_0x26cd55){return _0x26cd55['map'](_0x5833e6=>String['fromCharCode'](_0x5833e6))['join']('');}(_0x2196bb=>{function _0xb0f66b(){const _0x39adcd=[{[_0x5527c2([0x69,0x64])]:0x1,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x5527c2([0x69,0x64])]:0x2,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([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]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5527c2([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5527c2([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5527c2([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5527c2([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5527c2([0x69,0x64])]:0x3,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5527c2([0x69,0x64])]:0x4,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([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]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5527c2([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5527c2([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5527c2([0x69,0x64])]:0x5,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([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]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x66,0x67,0x69])]:[0xc]}},{[_0x5527c2([0x69,0x64])]:0x6,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x66,0x67,0x69])]:[0xc]}},{[_0x5527c2([0x69,0x64])]:0x7,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x66,0x67,0x69])]:[0xc]}},{[_0x5527c2([0x69,0x64])]:0x8,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([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]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x66,0x67,0x69])]:[0xc]}},{[_0x5527c2([0x69,0x64])]:0x9,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x5527c2([0x69,0x64])]:0xa,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([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]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([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]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([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]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x66,0x67,0x69])]:[0xc]}},{[_0x5527c2([0x69,0x64])]:0xb,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5527c2([0x69,0x64])]:0xc,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x5527c2([0x69,0x64])]:0xd,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x66,0x67,0x69])]:[0xc]}},{[_0x5527c2([0x69,0x64])]:0xe,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x5527c2([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([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])},{[_0x5527c2([0x69,0x64])]:0xf,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5527c2([0x69,0x64])]:0x10,[_0x5527c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5527c2([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5527c2([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5527c2([0x66,0x67,0x69])]:[0xc]}}];return _0x21aae3(_0x39adcd),_0x39adcd;function _0x88baea(_0x48b3f0){return 0x1<<_0x48b3f0-0x1;}function _0x21aae3(_0x395d8c){_0x395d8c[_0x5527c2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd4a0d0=>{_0xd4a0d0[_0x5527c2([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x88baea(_0xd4a0d0[_0x5527c2([0x69,0x64])]),_0x485a04(_0xd4a0d0)&&_0xd4a0d0[_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x21aae3(_0xd4a0d0[_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x485a04(_0x3aca6f){return _0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x3aca6f;}const _0x51dc88=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x492ecb=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x226492(_0x24fa92){const _0x3c0853=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x4dbc19(_0x24fa92,new Uint8Array([..._0x51dc88,..._0x3c0853,..._0x492ecb]));}function _0x4dbc19(_0x2faab2,_0x190846){const _0x478d94=_0x848fbe(_0x2faab2),_0xc3ed46=Array[_0x5527c2([0x66,0x72,0x6f,0x6d])](_0x432dde(_0x478d94)),_0x5f2c62=_0xc3ed46[_0x5527c2([0x70,0x6f,0x70])](),_0x88de31=_0xc3ed46[_0x5527c2([0x70,0x6f,0x70])]();return _0x5317d6(_0x18bcb2(_0xc3ed46,_0x190846,_0x88de31+0x100*_0x5f2c62));}function _0x848fbe(_0x3af2e7){const _0x538bf9=atob(_0x3af2e7),[_0x4b55fa,_0x1b6839]=_0x538bf9[_0x5527c2([0x73,0x70,0x6c,0x69,0x74])](_0x5527c2([0x2d]));try{if(atob(_0x1b6839))return atob(_0x4b55fa);}catch(_0x3c7758){}return _0x538bf9;}function _0x5ddab5(_0x19debe){try{const _0x1c7a3c=_0x226492(_0x19debe),_0x47b633=JSON[_0x5527c2([0x70,0x61,0x72,0x73,0x65])](_0x1c7a3c),_0x4f11f0=parseInt(_0x47b633[_0x5527c2([0x31])]),_0x2c8fca=_0x47b633[_0x5527c2([0x32])]||'',_0x137055=parseInt(_0x47b633[_0x5527c2([0x33])]),_0x5510b1=parseInt(_0x47b633[_0x5527c2([0x34])])||0x0,_0x139ce0=parseInt(_0x47b633[_0x5527c2([0x35])])||0x0;return{[_0x5527c2([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x2c8fca,[_0x5527c2([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x5510b1,[_0x5527c2([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x4f11f0,[_0x5527c2([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x137055,[_0x5527c2([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x139ce0};}catch(_0x2ddb1c){return null;}}const _0x1616e2=_0xb0f66b(),_0x9d1819={[_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x3d00dc,[_0x5527c2([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])]:_0xd116,[_0x5527c2([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])]:_0x13900f},_0x2eea95=_0x2196bb[_0x5527c2([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x1330ca=_0x5527c2([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x2196bb?_0x2196bb['context']:_0x2196bb['editor'],_0x376718=_0x5527c2([0x34,0x30,0x34,0x38,0x31,0x36,0x34,0x32]),_0xfe6ace=_0x5527c2([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]),_0x51fb90=_0x1330ca['config']['get'](_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4f4309=_0x1616e2[_0x5527c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x485a04)[_0x5527c2([0x66,0x69,0x6e,0x64])](_0x2f9f56=>_0x2f9f56[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x2eea95);function _0x17c1cf(_0x293870,_0x4b9cde){_0x9d1819[_0x4b9cde[_0x5527c2([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x293870,_0x4b9cde),_0x4b9cde[_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4b9cde[_0x5527c2([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x5527c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x565181=>_0x406e71(_0x1330ca,_0x565181[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x5527c2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x605e04=>_0x17c1cf(_0x293870,_0x605e04));}function _0x3d00dc(_0x26e0b5,_0x3e31e7){_0x99d9fc(_0x3abd45(_0x26e0b5,_0x3e31e7),_0x3e31e7);}function _0xd116(_0xf00ca6,_0xc320c7){function _0x3d7f10(_0x5b59e9,_0xa8f27){try{if(_0x406e71(_0x1330ca,_0x5527c2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x5b59e9){const _0x287279=_0x19eb01(_0x1330ca,_0x5527c2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x5527c2([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x287279)/0x2>_0x5b59e9[_0x5527c2([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x5ddeae(_0xa8f27[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x3abd45(_0x5b59e9,_0xa8f27);}catch(_0x390903){return _0x5ddeae(_0xa8f27[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x99d9fc(_0x3d7f10(_0xf00ca6,_0xc320c7),_0xc320c7);}function _0x13900f(_0x38bed7,_0x48b493){const _0x2a22d6=_0x492ecb[0x0]*_0x51dc88[0x1],_0x2c2214=_0x492ecb[0x0]*_0x51dc88[0x2],_0x3e4522=_0x492ecb[0x2]*_0x51dc88[0x2];_0x406e71(_0x1330ca,_0x5527c2([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x19eb01(_0x1330ca,_0x5527c2([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5527c2([0x73,0x74,0x61,0x74,0x65])]==_0x5527c2([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x1a8120()]=_0x3e4522);function _0x21c38(_0x380c99,_0x1a5464){try{return _0x28ca30()?_0x5ddeae(_0x1a5464[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x56,0x61,0x6c,0x69,0x64])):_0x3abd45(_0x380c99,_0x1a5464);}catch(_0x56d3d7){return _0x5ddeae(_0x1a5464[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x8ffcaf(_0x500235,_0x30d6cc){const _0x21fedf=0x7;if(_0x500235==_0x30d6cc[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x25f56c();else{if(_0x500235==_0x30d6cc[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x54,0x72,0x69,0x61,0x6c])){const _0x52e6a7=_0x178c3d();_0x52e6a7&&_0x2924bc(_0x52e6a7,_0x30d6cc[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x92a972=_0x5b5340();window[_0x5527c2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2924bc(_0x5527c2([0x74,0x69,0x6d,0x65]),_0x30d6cc[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x92a972);const _0x41eaa9=_0x19eb01(_0x1330ca,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5527c2([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x41eaa9[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x21fedf?_0x2924bc(_0x5527c2([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x30d6cc[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x41eaa9['on'](_0x5527c2([0x61,0x64,0x64]),()=>{_0x41eaa9[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x21fedf&&_0x2924bc(_0x5527c2([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x30d6cc[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x178c3d(){if(!_0x406e71(_0x1330ca,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4960a6 in window)if(Number['isNaN'](Number(_0x4960a6))){if(window[_0x4960a6]===_0x2a22d6)return _0x5527c2([0x74,0x69,0x6d,0x65]);if(window[_0x4960a6]===_0x2c2214)return _0x5527c2([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x28ca30(){if(!_0x406e71(_0x1330ca,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0xbf4cdf in window)if(Number['isNaN'](Number(_0xbf4cdf))&&window[_0xbf4cdf]===_0x3e4522)return!0x0;return!0x1;}function _0x2924bc(_0x49e287,_0x13eeaa){_0x25f56c(),_0x5ddeae(_0x13eeaa+_0x5527c2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x49e287),window[_0x1a8120()]=_0x49e287===_0x5527c2([0x74,0x69,0x6d,0x65])?_0x2a22d6:_0x2c2214;}function _0x5b5340(){let _0x6ba096=_0x492ecb[0x6]*_0x51dc88[0x8]*_0x51dc88[0x6];return _0x406e71(_0x1330ca,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x6ba096/=0xa),_0x6ba096;}function _0x25f56c(){const _0x47df69=_0x1330ca;function _0x567df9(){_0x406e71(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5527c2([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5527c2([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5527c2([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5527c2([0x75,0x70,0x64,0x61,0x74,0x65])]=_0xb517f,_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5527c2([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0xb517f,_0x47df69[_0x5527c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5527c2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xb517f,_0x47df69[_0x5527c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5527c2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xb517f,_0x47df69[_0x5527c2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5527c2([0x6d,0x6f,0x64,0x65,0x6c]))),_0x406e71(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5527c2([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5527c2([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5527c2([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5527c2([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0xb517f,_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5527c2([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0xb517f);}_0x47df69[_0x5527c2([0x73,0x74,0x61,0x74,0x65])]==_0x5527c2([0x72,0x65,0x61,0x64,0x79])?_0x567df9():_0x47df69[_0x5527c2([0x6f,0x6e,0x63,0x65])](_0x5527c2([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x406e71(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x567df9(),_0x406e71(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x29a6f0=_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x2d1db9=_0x29a6f0['getRevision'](0x0),_0xa23b53=_0x29a6f0['getEarlierVisibleRevision'](_0x2d1db9[_0x5527c2([0x69,0x64])]);_0x19eb01(_0x47df69,_0x5527c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5527c2([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x2d1db9[_0x5527c2([0x69,0x64])],_0xa23b53?_0xa23b53[_0x5527c2([0x69,0x64])]:null,0x1)['then'](()=>_0x567df9());}});}_0x8ffcaf(_0x21c38(_0x38bed7,_0x48b493),_0x48b493);}function _0x3abd45(_0x457341,_0x572107){try{return _0x3e5970(_0x572107)?_0x5ddeae(_0x572107[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x56,0x61,0x6c,0x69,0x64])):_0x457341&&_0x5c4ce0(_0x457341[_0x5527c2([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x572107)?_0x457341[_0x5527c2([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x5527c2([0x6f,0x70,0x65,0x6e])][_0x5527c2([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x376718)/0x2>_0x457341[_0x5527c2([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x5ddeae(_0x572107[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x457341[_0x5527c2([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x5ddeae(_0x572107[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x54,0x72,0x69,0x61,0x6c])):_0x5ddeae(_0x572107[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x56,0x61,0x6c,0x69,0x64])):_0x5ddeae(_0x572107[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x5998f7){return _0x5ddeae(_0x572107[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x99d9fc(_0xddda1f,_0x3d4d62){if(_0x1330ca instanceof _0x269d46){const _0x322d57=_0x1330ca;_0xddda1f==_0x3d4d62[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x26f2ad(_0x322d57):_0xddda1f==_0x3d4d62[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x54,0x72,0x69,0x61,0x6c])&&window[_0x5527c2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x26f2ad(_0x322d57),_0x5ddeae(_0x3d4d62[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x492ecb[0x6]*_0x51dc88[0x8]*_0x51dc88[0x6]),_0x322d57[_0x5527c2([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x5527c2([0x6f,0x6e])](_0x5527c2([0x61,0x64,0x64]),(_0x3e674f,_0x3786dc)=>{_0xddda1f!=_0x3d4d62[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0xddda1f!=_0x3d4d62[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0xddda1f!=_0x3d4d62[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x4c71d6(_0x3786dc);});}else{const _0x54cc92=_0x1330ca;_0xddda1f==_0x3d4d62[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4c71d6(_0x54cc92):_0xddda1f==_0x3d4d62[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x54,0x72,0x69,0x61,0x6c])&&_0x54cc92[_0x5527c2([0x6f,0x6e])](_0x5527c2([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x24ff67=0x0;_0x54cc92[_0x5527c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5527c2([0x6f,0x6e])](_0x5527c2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x332da5,_0x334b8f)=>{_0x334b8f[0x0][_0x5527c2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x24ff67++,0x1f8===_0x24ff67&&(_0x4c71d6(_0x54cc92),_0x5ddeae(_0x3d4d62[_0x5527c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5527c2([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x332da5[_0x5527c2([0x6f,0x66,0x66])]());},{'priority':_0x5527c2([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x5ddeae(_0x470908){const _0x182952=_0x1a8120();return _0x1330ca[_0x182952]=_0x470908,_0x470908;}function _0x1a8120(){const _0x2e7b83=String(window[_0x5527c2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5527c2([0x6e,0x6f,0x77])]())[_0x5527c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5527c2([0x2e]),'');let _0x2dea6b='';for(let _0x398a42=0x0;_0x398a42<_0x2e7b83[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x398a42+=0x2){let _0x446646=parseInt(_0x2e7b83[_0x5527c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x398a42,_0x398a42+0x2));_0x446646>=_0xfe6ace[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x446646-=_0xfe6ace[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2dea6b+=_0xfe6ace[_0x446646];}return _0x2dea6b;}function _0x26f2ad(_0x3bf8eb){for(const _0x40a9de of _0x3bf8eb[_0x5527c2([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x4c71d6(_0x40a9de);_0x19eb01(_0x3bf8eb,_0x5527c2([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5527c2([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x19eb01(_0x3bf8eb,_0x5527c2([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5527c2([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0xb517f;}function _0x4c71d6(_0x249393){function _0x43e46c(){_0x249393[_0x5527c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5527c2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xb517f,_0x249393[_0x5527c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5527c2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xb517f,_0x249393[_0x5527c2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5527c2([0x6d,0x6f,0x64,0x65,0x6c]));}_0x249393[_0x5527c2([0x73,0x74,0x61,0x74,0x65])]==_0x5527c2([0x72,0x65,0x61,0x64,0x79])?_0x43e46c():_0x249393[_0x5527c2([0x6f,0x6e,0x63,0x65])](_0x5527c2([0x72,0x65,0x61,0x64,0x79]),()=>_0x43e46c());}function _0xb517f(){return null;}function _0x5c4ce0(_0x57ae27,_0x77cd6){const _0x24e907=!!(_0x57ae27&_0x77cd6[_0x5527c2([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x535faf=_0xc0be13(_0x57ae27,_0x77cd6);return _0x24e907||_0x535faf;}function _0xc0be13(_0x4a9adb,_0x208ad8){const _0x145593=(_0x208ad8[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x5527c2([0x66,0x67,0x69])]||null;return!!_0x145593&&_0x1616e2[_0x5527c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34c5e9=>_0x145593[_0x5527c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34c5e9[_0x5527c2([0x69,0x64])]))[_0x5527c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x454726=>!_0x22a79b(_0x454726))[_0x5527c2([0x73,0x6f,0x6d,0x65])](_0x11241b=>!!(_0x4a9adb&_0x11241b[_0x5527c2([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x22a79b(_0x3d162a){const _0x3933be={[_0x5527c2([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])]:_0x324ac6};return!!_0x3d162a['forbiddenHandler']&&_0x3933be[_0x3d162a['forbiddenHandler']]();}function _0x324ac6(){return!window[_0x5527c2([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x406e71(_0x1330ca,_0x5527c2([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x3e5970(_0x449c7c){if(!_0x406e71(_0x1330ca,_0x449c7c[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x4f4883=_0x449c7c[_0x5527c2([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x5f16eb=_0x4f4883[_0x5527c2([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0xb6c53d=_0x4f4883[_0x5527c2([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x23d4c7=_0x4f4883[_0x5527c2([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x406e71(_0x1330ca,_0x5527c2([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x19eb01(_0x1330ca,_0x5527c2([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5527c2([0x73,0x74,0x61,0x74,0x65])]==_0x5527c2([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x5f16eb)return!0x0;if(_0x406e71(_0x1330ca,_0x5527c2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x19eb01(_0x1330ca,_0x5527c2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x5527c2([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x5527c2([0x65,0x6e,0x64])&&_0xb6c53d)return!0x0;return!(!_0x406e71(_0x1330ca,_0x5527c2([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]))||_0x19eb01(_0x1330ca,_0x5527c2([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]))[_0x5527c2([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x5527c2([0x65,0x6e,0x64])||!_0x23d4c7);}function _0x406e71(_0x2188a5,_0x77692c){return _0x2188a5[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5527c2([0x68,0x61,0x73])](_0x77692c);}function _0x19eb01(_0x17e149,_0x3246f0){return _0x17e149[_0x5527c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5527c2([0x67,0x65,0x74])](_0x3246f0);}function _0x5317d6(_0x8fd532){let _0x48ac9d='';for(const _0x4f14f1 of _0x8fd532)_0x48ac9d+=String[_0x5527c2([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x4f14f1);return _0x48ac9d;}function _0x432dde(_0x593e76){const _0x1da491=new Uint8Array(_0x593e76[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x256dc5=0x0;_0x256dc5<_0x593e76[_0x5527c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x256dc5++)_0x1da491[_0x256dc5]=_0x593e76[_0x5527c2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x256dc5);return _0x1da491;}_0x4f4309&&_0x17c1cf(_0x5ddab5(_0x51fb90),_0x4f4309);})(_0x539c70);}(this);}['createRevision'](_0x39264f){const _0x7d1ca1=this['editor']['plugins']['get']('Users');return new a({'id':_0x39264f['id'],'name':_0x39264f['name'],'creator':_0x39264f['creatorId']?_0x7d1ca1['getUser'](_0x39264f['creatorId']):null,'diffData':_0x39264f['diffData']||_0x39264f['data'],'authors':_0x39264f['authorsIds']['map'](_0x349406=>_0x7d1ca1['getUser'](_0x349406)),'createdAt':new Date(_0x39264f['createdAt']),'attributes':_0x39264f['attributes'],'fromVersion':_0x39264f['fromVersion'],'toVersion':_0x39264f['toVersion']});}['addRevision'](_0x50c0fd,_0x134de4=0x0){this['_revisions']['add'](_0x50c0fd,_0x134de4);}['getRevision'](_0x2a8296){return this['_revisions']['get'](_0x2a8296);}['getRevisions'](_0x57c112={'toJSON':!0x1}){const _0x2dd728=Array['from'](this['_revisions']);return _0x2dd728['reverse'](),_0x57c112['toJSON']?_0x2dd728['map'](_0x7a86fd=>_0x7a86fd['toJSON']()):_0x2dd728;}['getIndex'](_0x1739cd){return this['_revisions']['getIndex'](_0x1739cd);}['getEarlierVisibleRevision'](_0x3d5862){const [,_0x18b81c]=this['getRevisionsIterator'](_0x3d5862,{'direction':'earlier'});return _0x18b81c;}['getLaterVisibleRevision'](_0x2feeb9){const [,_0x43f5f1]=this['getRevisionsIterator'](_0x2feeb9,{'direction':'later'});return _0x43f5f1;}['getRevisionsInDiff'](_0x178634){const _0x1b6db4=[];for(const _0x3374ae of this['getRevisionsIterator'](_0x178634['newRevisionId']))if(_0x1b6db4['push'](_0x3374ae),_0x3374ae['id']===_0x178634['oldRevisionId'])break;return _0x1b6db4;}*['getRevisionsIterator'](_0x3d9219,{direction:_0x299698='earlier',filter:_0x462848=_0xfca765=>!0x0}={}){const _0x281857='earlier'===_0x299698?0x1:-0x1;let _0x1b2509=this['_revisions']['get'](_0x3d9219),_0x118533=this['getIndex'](_0x1b2509);for(yield _0x1b2509;_0x1b2509;){if(_0x118533+=_0x281857,_0x1b2509=this['getRevision'](_0x118533),!_0x1b2509)return;_0x462848(_0x1b2509)&&(yield _0x1b2509);}}}function y(_0xe2289b,_0x2a074d,_0x2e5343){const t=_0xe2289b['t'];switch(_0x2a074d){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'},_0x2e5343);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2e5343);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x757aae,'a':_0xa210d8,'e':_0x193389,'r':_0x3f1dae,'u':_0x512571};class l extends _0x570864{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x41255f,A,_0x145148];}constructor(_0x1abccc){super(_0x1abccc),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 _0x5ce6d5=_0x3b5255();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x5ce6d5},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 _0x2f34f3=this['repository']['getRevision'](0x0),_0x31685b=_0x2f34f3&&null===_0x2f34f3['creator']?_0x2f34f3:null;if(this['_continueCurrentRevision']=!!_0x31685b&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x2d251c=this['_source']['getCurrentRevisionId'](),_0x577cd3=this['repository']['getRevision'](_0x2d251c);if(_0x577cd3)this['_startingVersion']=_0x577cd3['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x1d472a=this['_source']['history']['_operations']['find'](_0x32c25d=>!_0x32c25d['_isInit']),_0x357a08=_0x1d472a?_0x1d472a['baseVersion']:this['_source']['history']['version'];_0x2f34f3?(_0x2f34f3['toVersion']<_0x357a08&&_0x2f34f3['_update']({'toVersion':_0x357a08}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x31685b['id'],this['_startingVersion']=_0x31685b['fromVersion']):(this['_startingVersion']=_0x2f34f3['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x357a08,this['_continueCurrentRevision']=!0x1);}}else _0x31685b&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x31685b['toVersion'],this['editor']['model']['document']['history']['version']),_0x31685b['fromVersion']===_0x31685b['toVersion']?(0x0!==_0x31685b['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x31685b['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x31685b['id'],this['_startingVersion']=_0x31685b['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',_0x156237=>!_0x156237);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x15edfd=this['repository']['getRevision'](0x0),_0x4c06d8=await this['getRevisionDocumentData'](_0x15edfd),_0x18a989=await this['getRevisionRootsAttributes'](_0x15edfd);this['_replaceEditorDataWithRevisionData'](_0x4c06d8,_0x18a989);}}['setSource'](_0x1780ea){this['_source']=_0x1780ea;}async['update'](){const _0x5c0dcd=await this['_source']['getLatestVersion']();if(_0x5c0dcd>this['currentRevision']['toVersion']){await this['_loadState']();const _0x107326=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x5c0dcd});_0x107326['authors']=_0x107326['authorsIds']['map'](_0x322628=>this['editor']['plugins']['get']('Users')['getUser'](_0x322628)),this['currentRevision']['_update'](_0x107326);}}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'](_0x4952bd={},_0x12104e=null){const _0x1eb9c5=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x12104e>this['currentRevision']['toVersion']&&(_0x12104e=null),null===_0x12104e&&(_0x12104e=await this['_source']['getLatestVersion']());const _0x137032=this['_getFromVersion'](_0x12104e),_0x5e2edf=this['buildRevisionData']({'from':_0x137032,'to':_0x12104e});if(this['currentRevision']['toVersion']<_0x12104e){const _0x227aac=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x12104e,'to':_0x12104e});_0x227aac['authors']=[],_0x227aac['authorsIds']=[],_0x227aac['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x227aac,!0x0),delete _0x227aac['authors'],_0x1eb9c5['push'](_0x227aac);}_0x4952bd['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x4952bd['name']=_0x4952bd['name']||null,_0x4952bd['id']=_0x4952bd['id']||_0x3b5255(),_0x4952bd={..._0x4952bd,..._0x5e2edf};const _0x297d18=this['addRevisionData'](_0x4952bd);_0x1eb9c5['push'](_0x4952bd);const _0x4fdc3f=this['repository']['getIndex'](_0x297d18);if(0x0!==_0x4fdc3f){const _0x53001f=this['repository']['getRevision'](_0x4fdc3f-0x1);if(_0x53001f['fromVersion']!==_0x12104e){const _0x3fff0b=this['_revisionDataBuilder']['getData'](_0x12104e,_0x53001f['toVersion']),_0x1b0409={'id':_0x53001f['id'],'diffData':_0x3fff0b['diffData'],'authorsIds':_0x3fff0b['authorsIds'],'authors':_0x3fff0b['authorsIds']['map'](_0x2cad00=>this['editor']['plugins']['get']('Users')['getUser'](_0x2cad00)),'fromVersion':_0x12104e};_0x53001f===this['currentRevision']&&(_0x1b0409['createdAt']=new Date(_0x4952bd['createdAt']['getTime']()+0xa)),_0x53001f['_update'](_0x1b0409,!0x0),delete _0x1b0409['authors'],_0x1eb9c5['push'](_0x1b0409);}}if(this['adapter']){for(const _0x24a5e8 of _0x1eb9c5)this['_bufferUpdate'](_0x24a5e8['id'],_0x24a5e8,!0x0);this['sendBufferedUpdates']();}return _0x297d18;}['addRevisionData'](_0x48ae01){const _0x2bde11=this['repository']['createRevision'](_0x48ae01);return this['adapter']&&_0x2bde11['on']('_update',(_0x3ccd66,_0x18a256,_0x9fbb5b)=>{_0x9fbb5b||(this['_bufferUpdate'](_0x18a256['id'],_0x18a256,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x2bde11,this['_findInsertionIndex'](_0x2bde11)),_0x2bde11;}async['getRevisionDocumentData'](_0x33edad){await this['_loadRevisionData'](_0x33edad);const _0x25c130={};for(const _0x3ee7ef in _0x33edad['diffData']){if(_0x33edad['diffData'][_0x3ee7ef]['attachChange']&&!_0x33edad['diffData'][_0x3ee7ef]['attachChange']['isAttached'])continue;const _0x52c851=this['_removeRevisionMarkers'](JSON['parse'](_0x33edad['diffData'][_0x3ee7ef]['insertions'])),_0x4a298c=this['editor']['editing']['view']['document'],_0x424fa3=new _0x3204ea(_0x4a298c,_0x52c851['map'](_0x497fc5=>B(_0x497fc5,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x25c130[_0x3ee7ef]=this['editor']['data']['processor']['toData'](_0x424fa3),this['editor']['data']['processor']['useFillerType']('default');}return _0x25c130;}async['getRevisionRootsAttributes'](_0x1d8228){await this['_loadRevisionData'](_0x1d8228);const _0x26fb24={};for(const _0x3ce0c3 in _0x1d8228['diffData'])_0x1d8228['diffData'][_0x3ce0c3]['attachChange']&&!_0x1d8228['diffData'][_0x3ce0c3]['attachChange']['isAttached']||(_0x26fb24[_0x3ce0c3]=_0x1d8228['diffData'][_0x3ce0c3]['attributesAfter']||{});return _0x26fb24;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x417d30=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x577e6a=0x0;_0x577e6a<_0x417d30['length'];_0x577e6a++){const _0xb64c06=_0x417d30[_0x577e6a];let _0x542a5c=!0x1;for(const _0x7c0dee of Object['keys'](_0xb64c06))void 0x0===_0xb64c06[_0x7c0dee]?delete _0xb64c06[_0x7c0dee]:'id'!==_0x7c0dee&&(_0x542a5c=!0x0);_0x542a5c||(_0x417d30[_0x577e6a]=null);}if(_0x417d30=_0x417d30['filter'](_0x18e32a=>null!==_0x18e32a),!_0x417d30['length'])return;for(let _0x498924=0x0;_0x498924<_0x417d30['length'];_0x498924++){const _0x545e04=_0x417d30[_0x498924];void 0x0!==_0x545e04['fromVersion']&&void 0x0===_0x545e04['toVersion']&&(_0x545e04['toVersion']=this['repository']['getRevision'](_0x545e04['id'])['toVersion']),void 0x0!==_0x545e04['toVersion']&&void 0x0===_0x545e04['fromVersion']&&(_0x545e04['fromVersion']=this['repository']['getRevision'](_0x545e04['id'])['fromVersion']);}const _0x41cd06=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x417d30,_0x41cd06)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x126219=>{if(_0x126219){for(const _0x36e2ea of _0x126219)this['setRevisionData']({'id':_0x36e2ea['id'],'createdAt':_0x36e2ea['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0xe42e48,_0x3e8522){let _0x4387be=this['editor']['config']['get']('initialData'),_0x2d708b=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x4387be){_0x4387be={};for(const _0x1568f2 of this['editor']['model']['document']['getRootNames']())_0x4387be[_0x1568f2]='';}if('string'==typeof _0x4387be&&(_0x4387be={'main':_0x4387be}),void 0x0===_0x2d708b){_0x2d708b={};for(const _0x48b2d2 of this['editor']['model']['document']['getRootNames']())_0x2d708b[_0x48b2d2]={};}let _0x58ef55=!0x1;const _0xc17a98=Object['keys'](_0x4387be),_0x15a6b9=Object['keys'](_0xe42e48);for(const _0x520415 of _0xc17a98){if(_0x4387be[_0x520415]!==_0xe42e48[_0x520415]&&''!==_0x4387be[_0x520415]['trim']()){_0x58ef55=!0x0;break;}if(!_0xf2d6a2(_0x2d708b[_0x520415],_0x3e8522[_0x520415])&&Object['keys'](_0x2d708b[_0x520415])['length']>0x0){_0x58ef55=!0x0;break;}}_0x58ef55||(_0x58ef55=_0x15a6b9['some'](_0x4e8494=>!this['editor']['model']['document']['getRoot'](_0x4e8494))),_0x58ef55&&_0x2f89d3('editor-initial-data-replaced-with-revision-data',{'editorData':_0x4387be,'editorRootsAttributes':_0x2d708b,'revisionData':_0xe42e48,'revisionRootsAttributes':_0x3e8522}),this['editor']['config']['set']('initialData',_0xe42e48),this['editor']['config']['set']('rootsAttributes',_0x3e8522);}['_addPendingAction'](){if(!this['_pendingAction']){const _0xa917b5=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0xa917b5['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x1acac4){const _0x583fb7=this['repository']['getRevisions']();_0x583fb7['reverse']();let _0x3eade1=0x0;for(;_0x3eade1<_0x583fb7['length'];){const _0x1f9be3=_0x583fb7[_0x3eade1];if(_0x1f9be3===this['currentRevision']){_0x3eade1++;continue;}if(_0x1f9be3['id']===this['_initialRevisionId'])break;const _0x28b502=_0x1acac4['toVersion']-_0x1f9be3['toVersion']||_0x1acac4['fromVersion']-_0x1f9be3['fromVersion'];if(_0x28b502>0x0)break;if(_0x28b502<0x0)_0x3eade1++;else{if(!_0x1acac4['creator']&&_0x1f9be3['creator'])break;if(_0x1f9be3['creator']||!_0x1acac4['creator']){if(_0x1acac4['createdAt']>_0x1f9be3['createdAt'])break;_0x3eade1++;}else _0x3eade1++;}}return _0x3eade1;}['setRevisionData'](_0x4c73ac){const _0x39d53f=this['repository']['getRevision'](_0x4c73ac['id']);if(_0x4c73ac['createdAt']&&(_0x4c73ac['createdAt']=new Date(_0x4c73ac['createdAt'])),_0x4c73ac['authorsIds']){const _0x5306a6=this['editor']['plugins']['get']('Users');_0x4c73ac['authors']=_0x4c73ac['authorsIds']['map'](_0x40c07e=>_0x5306a6['getUser'](_0x40c07e));}_0x39d53f['_update'](_0x4c73ac,!0x0);}['buildRevisionData']({revision:_0x36260a=null,from:_0x49a3eb=null,to:_0x5e053e=null}){_0x49a3eb=null!==_0x49a3eb?_0x49a3eb:_0x36260a['fromVersion'],_0x5e053e=null!==_0x5e053e?_0x5e053e:_0x36260a['toVersion'];const _0xc64f2c=this['_revisionDataBuilder']['getData'](_0x49a3eb,_0x5e053e),_0x4a25a2={'diffData':_0xc64f2c['diffData'],'authorsIds':_0xc64f2c['authorsIds'],'fromVersion':_0x49a3eb,'toVersion':_0x5e053e};if(!_0x36260a||_0x5e053e!==_0x36260a['toVersion']){const _0x13a4d6=_0x5e053e-0x1,_0x47c314=this['_source']['history']['getOperation'](_0x13a4d6);_0x4a25a2['createdAt']=_0x47c314&&_0x47c314['createdAt']||new Date();}if(this['_loadedStateData']&&_0x49a3eb===this['_loadedStateData']['fromVersion']){for(const _0x943179 of this['_loadedStateData']['authors'])_0x4a25a2['authorsIds']['includes'](_0x943179['id'])||_0x4a25a2['authorsIds']['push'](_0x943179['id']);}return _0x4a25a2;}['_loadRevisionData'](_0x22d2b4){if(!_0x22d2b4||_0x22d2b4['diffData'])return Promise['resolve']();{const _0x17cf1c=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x17cf1c,'revisionId':_0x22d2b4['id']})['then'](_0x56ecbb=>{_0x22d2b4['diffData']=_0x56ecbb['diffData'];});}}['_bufferUpdate'](_0x176420,_0x403299,_0x2df047){if(this['_bufferedUpdates']['has'](_0x176420)){const _0x74c021=this['_bufferedUpdates']['get'](_0x176420);_0x403299=_0x2df047?{..._0x74c021,..._0x403299}:{..._0x403299,..._0x74c021};}this['_bufferedUpdates']['set'](_0x176420,_0x403299);}['_getFromVersion'](_0x351e65){const _0x378482=this['repository']['getRevisions']();_0x378482['reverse'](),_0x378482['shift']();const _0xa50643=_0x378482['find'](_0x579dbf=>_0x579dbf['toVersion']<=_0x351e65)['toVersion'];return _0xa50643<this['_startingVersion']?this['_startingVersion']:_0xa50643;}['_createInitialRevision'](_0x25202e){const _0x2a02fb=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x2a02fb)this['_initialRevisionId']=_0x2a02fb['id'];else{const _0x426f46=!this['editor']['model']['document']['roots']['find'](_0x49dcb2=>this['editor']['model']['hasContent'](_0x49dcb2)),_0x4e09fa=this['editor']['plugins']['get']('Users')['me']['id'],_0x39cfbb=y(this['editor']['locale'],_0x426f46?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x25202e,'to':_0x25202e,'id':this['_initialRevisionId'],'name':_0x39cfbb,'creatorId':_0x4e09fa});}}['_createCurrentRevision'](_0x5d3168){const _0x1b4e40=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x1b4e40),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x5d3168,'to':_0x5d3168,'id':_0x1b4e40,'name':'','creatorId':null}));}['_makeRevision']({name:_0xee8ff0,from:_0x4e29d1,to:_0x1055ad,creatorId:_0x112996,id:_0x3dd4ac}){const _0x4d82a5=this['buildRevisionData']({'from':_0x4e29d1,'to':_0x1055ad});_0x4d82a5['name']=_0xee8ff0,_0x4d82a5['creatorId']=_0x112996,_0x4d82a5['id']=_0x3dd4ac;const _0x2c10e1=this['addRevisionData'](_0x4d82a5);return this['adapter']&&this['_bufferUpdate'](_0x4d82a5['id'],_0x4d82a5,!0x0),_0x2c10e1;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x50c426){return(_0x50c426=_0x50c426['filter'](_0x4ffa28=>!_0x4ffa28['name']||'revision-start'!==_0x4ffa28['name']&&'revision-end'!==_0x4ffa28['name']))['forEach'](_0x5556a1=>{'string'!=typeof _0x5556a1&&(_0x5556a1['children']=this['_removeRevisionMarkers'](_0x5556a1['children']),_0x5556a1['attributes']=_0x5556a1['attributes']['filter'](_0x5df0b7=>!_0x5df0b7[0x0]['startsWith']('data-revision-')));}),_0x50c426;}}function B(_0x36d131,_0x104b1f){const _0x26105f=_0x104b1f['editing']['view']['document'];if('string'==typeof _0x36d131)return new _0x4c3592(_0x26105f,_0x36d131);{const _0x3ad413=_0x36d131['children']['map'](_0xaf39c1=>B(_0xaf39c1,_0x104b1f));return new(T[_0x36d131['type']]||_0x306c72)(_0x26105f,_0x36d131['name'],_0x36d131['attributes'],_0x3ad413);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x1b1172){this['editor']=_0x1b1172,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'](_0x57ea84){this['source']=_0x57ea84;const _0x4ea513=new Map(),_0x26e50c=new Map(),_0x577169=this['editor']['model']['document']['roots']['map'](_0x439063=>_0x439063['rootName']);for(const _0x545dfd of _0x577169){const _0x4ffcbe=this['editor']['model']['document']['getRoot'](_0x545dfd),_0x91ba87=q(_0x4ffcbe);_0x4ea513['set'](_0x545dfd,_0x91ba87),_0x26e50c['set'](_0x545dfd,Object['fromEntries'](_0x4ffcbe['getAttributes']()));}const _0xfe4b34=Array['from'](this['editor']['model']['markers'])['map'](_0x43854e=>[_0x43854e['name'],_0x43854e['getRange']()]),_0x3cd3ad=this['source']['version'];this['_saveMetaData'](_0x3cd3ad,_0x4ea513,_0xfe4b34,_0x26e50c),this['_startingRevisionId']=this['_revisionId'];const _0xdb99b2=new Map(),_0x55e335=new Map();for(const _0x2e370a of _0x577169){const _0xcd91a1=G(_0x2e370a);_0xdb99b2['set'](_0x2e370a,_0xcd91a1),_0x55e335['set'](_0x2e370a,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0xdb99b2,[],_0x55e335);}['getData'](_0x1ca1da,_0x11840c){if(this['_lastFrom']===_0x1ca1da&&this['_lastTo']<=_0x11840c)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x11840c,!0x0);else{if(!this['_savedMetaData']['has'](_0x1ca1da)){const _0x1cf51e=this['_getPreviousFrom'](_0x1ca1da);this['_calculateMetaData'](_0x1cf51e,_0x1ca1da,!0x1);}this['_calculateMetaData'](_0x1ca1da,_0x11840c,!0x0);}return this['_lastFrom']=_0x1ca1da,this['_lastTo']=_0x11840c,this['_getState']();}['loadState'](_0x5db79e){this['_reset'](),this['_lastFrom']=_0x5db79e['fromVersion'],this['_lastTo']=_0x5db79e['toVersion'];for(const _0x49244f in _0x5db79e['diffData']){const _0x345296=_0x5db79e['diffData'][_0x49244f]['attachChange'],_0x1c458b=_0xcaf5fd(_0x5db79e['diffData'][_0x49244f]['attributesBefore'])||{},_0x57eb28=this['_makeModelFromViewString'](_0x5db79e['diffData'][_0x49244f]['deletions']);_0x57eb28['rootName']=_0x49244f,_0x57eb28['_isAttached']=!_0x345296||!_0x345296['isAttached'],_0x57eb28['isAttached']=()=>_0x57eb28['_isAttached'],this['_baseRoots']['set'](_0x49244f,_0x57eb28),this['_baseRootsAttributes']['set'](_0x49244f,_0x1c458b),_0x345296&&this['_touchedRoots']['set'](_0x49244f,_0x345296);const _0x49b821=this['_makeIdsRoot'](_0x57eb28);this['_baseIdsRoots']['set'](_0x49244f,_0x49b821);for(const [_0x3da4ec,_0x2d1468]of _0x57eb28['markers']){if(!_0x3da4ec['startsWith']('revision:'))continue;const _0x496b81=_0x3da4ec['split'](':')[0x2];for(const _0x570573 of _0x2d1468['getWalker']({'singleCharacters':!0x0})){const _0x36a77b=this['_getVidAttributeName'](_0x570573),_0xef5e1b='elementEnd'==_0x570573['type']?_0x570573['previousPosition']['path']['slice'](0x0,-0x1):_0x570573['previousPosition']['path'],_0x36f5fc=_0x49b821['getNodeByPath'](_0xef5e1b)['getAttribute'](_0x36a77b);this['_touched']['set'](_0x36f5fc,{'userId':_0x496b81});}}}this['_startingRevisionId']=this['_revisionId'];const _0x5d9d6d=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x3d0e57=>!this['_touched']['has'](_0x3d0e57));let _0x32da67=0x0;const _0x56de89=new Map();for(const _0x16af53 in _0x5db79e['diffData']){const _0x1d8b99=_0x5db79e['diffData'][_0x16af53]['attachChange'],_0x1c3a25=_0xcaf5fd(_0x5db79e['diffData'][_0x16af53]['attributesAfter'])||{},_0x545a1b=this['_makeModelFromViewString'](_0x5db79e['diffData'][_0x16af53]['insertions']);_0x545a1b['rootName']=_0x16af53,_0x545a1b['_isAttached']=!_0x1d8b99||_0x1d8b99['isAttached'],_0x545a1b['isAttached']=()=>_0x545a1b['_isAttached'],this['_diffRoots']['set'](_0x16af53,_0x545a1b),this['_diffRootsAttributes']['set'](_0x16af53,_0x1c3a25);const _0x1dc33c=this['_makeIdsRoot'](_0x545a1b,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x16af53,_0x1dc33c),_0x56de89['set'](_0x16af53,_0x545a1b['isAttached']()?_0x1c3a25:{});for(const [_0x2b45d8,_0x41162e]of _0x545a1b['markers']){if(!_0x2b45d8['startsWith']('revision:'))continue;const _0x2589cd=_0x2b45d8['split'](':')[0x2];for(const _0x5f14a8 of _0x41162e['getWalker']({'singleCharacters':!0x0})){const _0x424641=this['_getVidAttributeName'](_0x5f14a8),_0x22be2e=this['_revisionId']++,_0x5f0171='elementEnd'==_0x5f14a8['type']?_0x5f14a8['previousPosition']['path']['slice'](0x0,-0x1):_0x5f14a8['previousPosition']['path'];_0x1dc33c['getNodeByPath'](_0x5f0171)['_setAttribute'](_0x424641,_0x22be2e),this['_touched']['set'](_0x22be2e,{'userId':_0x2589cd});}}for(const _0x32d86f of this['editor']['model']['createRangeIn'](_0x545a1b)['getWalker']({'singleCharacters':!0x0})){const _0x45d9eb=this['_getVidAttributeName'](_0x32d86f),_0x20719b='elementEnd'==_0x32d86f['type']?_0x32d86f['previousPosition']['path']['slice'](0x0,-0x1):_0x32d86f['previousPosition']['path'],_0x392bd9=_0x1dc33c['getNodeByPath'](_0x20719b);_0x392bd9['getAttribute'](_0x45d9eb)>0x0||_0x392bd9['_setAttribute'](_0x45d9eb,_0x5d9d6d[_0x32da67++]);}for(const [_0x56ba9d,_0x4f410c]of _0x545a1b['markers'])_0x56ba9d['startsWith']('revision:')||this['_markers']['set'](_0x56ba9d,_0x4f410c);}const _0x35eaea=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x35eaea),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x35eaea,0x1));const _0x53f401=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x53f401),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x53f401,0x1));const _0x2aff18=Array['from'](this['_diffRoots'])['map'](([_0xb249fe,_0xa1a8ac])=>[_0xb249fe,q(_0xa1a8ac)]);this['_saveMetaData'](this['_lastTo'],_0x2aff18,this['_markers'],_0x56de89);}['_makeModelFromViewString'](_0x12bf2c){const _0x488eb5=JSON['parse'](_0x12bf2c),_0x3c813c=this['editor']['editing']['view']['document'],_0x540b5f=new _0x3204ea(_0x3c813c,_0x488eb5['map'](_0x90741d=>B(_0x90741d,this['editor'])));return this['editor']['data']['toModel'](_0x540b5f);}['_saveMetaData'](_0x367cc6,_0x38c26d,_0x520c22,_0x3bc023){const _0x27d8a0=new Map(_0x38c26d),_0x14fefb=new Map(_0xcaf5fd(_0x3bc023)),_0x28c579=new Map();for(const [_0x1b9e05,_0x40f585]of _0x520c22)_0x28c579['set'](_0x1b9e05,{'start':_0x40f585['start']['clone'](),'end':_0x40f585['end']['clone'](),'rootName':_0x40f585['root']['rootName']});this['_savedMetaData']['set'](_0x367cc6,{'roots':_0x27d8a0,'markers':_0x28c579,'rootsAttributes':_0x14fefb});}['_removeMetaData'](_0xe78d62){this['_savedMetaData']['delete'](_0xe78d62);}['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'](_0x49f48c,_0x557a40=null){let _0x4a93df=null;_0x49f48c['is']('documentFragment')||(_0x4a93df=new ft(_0x49f48c['name'],{'vid_start':null===_0x557a40?this['_revisionId']++:_0x557a40++}));const _0x22d721=[];for(const _0x3f8079 of _0x49f48c['getChildren']())if(_0x3f8079['is']('element')){_0x22d721['push'](this['_makeIdsRoot'](_0x3f8079,_0x557a40));const _0xcbecfa=_0x22d721[_0x22d721['length']-0x1];null!==_0x557a40&&(_0x557a40=_0xcbecfa['is']('element','$text')?_0xcbecfa['getAttribute']('vid')+0x1:_0xcbecfa['getAttribute']('vid_end')+0x1);}else{for(let _0x25389b=0x0;_0x25389b<_0x3f8079['offsetSize'];_0x25389b++)_0x22d721['push'](new ft('$text',{'vid':null===_0x557a40?this['_revisionId']++:_0x557a40++}));}if(_0x49f48c['is']('documentFragment')){const _0x425638=G(_0x49f48c['rootName']);return _0x425638['_insertChild'](0x0,_0x22d721),_0x425638;}return _0x4a93df['_setAttribute']('vid_end',null===_0x557a40?this['_revisionId']++:_0x557a40++),_0x4a93df['_insertChild'](0x0,_0x22d721),_0x4a93df;}['_calculateMetaData'](_0xded833,_0x30e395,_0x16823e){this['_reset']();const {roots:_0x11d9a2,markers:_0x4f2327,rootsAttributes:_0x47fd53}=this['_savedMetaData']['get'](_0xded833);this['_baseRoots']=new Map(_0x11d9a2),this['_baseRootsAttributes']=new Map(_0xcaf5fd(_0x47fd53));for(const [_0x3b58cf,_0x3662bd]of this['_baseRoots'])if('$graveyard'!==_0x3b58cf&&(this['_diffRoots']['set'](_0x3b58cf,q(_0x3662bd)),this['_diffRootsAttributes']=new Map(_0xcaf5fd(_0x47fd53)),_0x16823e)){const _0x746cb4=this['_revisionId'];this['_idsRoots']['set'](_0x3b58cf,this['_makeIdsRoot'](_0x3662bd)),this['_baseIdsRoots']['set'](_0x3b58cf,this['_makeIdsRoot'](_0x3662bd,_0x746cb4));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x16823e&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x1cf718,_0x2db275]of _0x4f2327){const _0x103c17=this['_baseRoots']['get'](_0x2db275['rootName']),_0x40365c=this['_diffRoots']['get'](_0x2db275['rootName']),_0x378ab0=new vt(this['_fixPosition'](_0x2db275['start'],_0x103c17),this['_fixPosition'](_0x2db275['end'],_0x103c17)),_0x4c713e=this['_fixRange'](_0x378ab0,_0x40365c);_0x103c17['markers']['set'](_0x1cf718,_0x378ab0),this['_markers']['set'](_0x1cf718,_0x4c713e);}this['_applyOperations'](_0xded833,_0x30e395,_0x16823e);}['_applyOperations'](_0x426975,_0x59f5a9,_0x29d5b5){for(const _0x396fde of this['source']['getOperations'](_0x426975,_0x59f5a9))this['_handleOperation'](_0x396fde,_0x29d5b5);for(const _0x30d6c9 of this['_diffRoots']['values']())_0x30d6c9['markers']['clear']();for(const [_0x2a1589,_0x4eaa3c]of this['_markers']){this['_diffRoots']['get'](_0x4eaa3c['root']['rootName'])['markers']['set'](_0x2a1589,_0x4eaa3c['clone']());}const _0x449ec4=new Map(),_0x25d442=new Map();for(const [_0x79d78d,_0x45c356]of this['_diffRoots'])_0x449ec4['set'](_0x79d78d,q(_0x45c356)),_0x25d442['set'](_0x79d78d,this['_diffRootsAttributes']['get'](_0x79d78d));this['_saveMetaData'](_0x59f5a9,_0x449ec4,this['_markers'],_0x25d442);}['_getPreviousFrom'](_0x4e90e4){const _0x24e2d4=Array['from'](this['_savedMetaData']['keys']());_0x24e2d4['sort']((_0x812106,_0x500be9)=>_0x812106-_0x500be9),_0x24e2d4['reverse']();for(const _0x503567 of _0x24e2d4)if(_0x503567<_0x4e90e4)return _0x503567;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x3bde74,_0x179871){const _0x236d71=Array['from'](_0x179871['markers'])['map'](([_0x45a60d,_0x5d5636])=>[_0x45a60d,this['_fixRange'](_0x5d5636,_0x3bde74)]);_0x3bde74['markers']=new Map(_0x236d71);}['_transformMarkers'](_0x52f4f6){for(const _0x777048 of this['_markers']['values']()){const _0x3c6765=_0x777048['getTransformedByOperation'](_0x52f4f6),_0x23de15=vt['_createFromRanges'](_0x3c6765);_0x777048['start']=_0x23de15['start'],_0x777048['end']=_0x23de15['end'];}}['_handleOperation'](_0x149ebd,_0x41f57e){if('addRoot'==_0x149ebd['type']||'detachRoot'==_0x149ebd['type'])return void this['_handleRootOperation'](_0x149ebd,_0x41f57e);if('insert'==_0x149ebd['type']){const _0x1edb56=_0x149ebd['position']['root']['rootName'];this['_diffRoots']['has'](_0x1edb56)||(this['_diffRoots']['set'](_0x1edb56,G(_0x1edb56,!0x0)),this['_diffRootsAttributes']['set'](_0x1edb56,{}),_0x41f57e&&this['_idsRoots']['set'](_0x1edb56,G(_0x1edb56,!0x0)));}else{if('addRootAttribute'==_0x149ebd['type']||'removeRootAttribute'==_0x149ebd['type']||'changeRootAttribute'==_0x149ebd['type'])return void this['_handleRootAttributeOperation'](_0x149ebd);}const _0x5d9671=this['_cloneOperation'](_0x149ebd,this['_diffRoots']);if('marker'!==_0x149ebd['type']&&(_0x5d9671['_execute'](),this['_transformMarkers'](_0x5d9671)),_0x41f57e)switch(_0x5d9671['type']){case'insert':this['_handleInsertOperation'](_0x149ebd);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x149ebd);break;case'merge':this['_handleMergeOperation'](_0x149ebd);break;case'split':this['_handleSplitOperation'](_0x149ebd);break;case'marker':this['_handleMarkerOperation'](_0x149ebd);}}['_cloneOperation'](_0x737149,_0x583e2d){const _0x4e05f3=_0x737149['clone']();return _0x4e05f3['_authorId']=_0x737149['_authorId'],this['_fixOperation'](_0x4e05f3,_0x583e2d),_0x4e05f3;}['_getBaseVids'](_0x3d7b8a){return _0x3d7b8a['map'](_0x2f2c44=>{const _0x2be7fd=this['_getVidAttributeName'](_0x2f2c44);return Number(_0x2f2c44['item']['getAttribute'](_0x2be7fd));});}['_generateTape'](_0x85ab92,_0x4b176e){if(_0x85ab92['is']('element','$text'))_0x4b176e['push']({'item':_0x85ab92,'type':'text'});else{_0x85ab92['is']('element')&&_0x4b176e['push']({'item':_0x85ab92,'type':'elementStart'});for(const _0x3eee2b of _0x85ab92['getChildren']())this['_generateTape'](_0x3eee2b,_0x4b176e);_0x85ab92['is']('element')&&_0x4b176e['push']({'item':_0x85ab92,'type':'elementEnd'});}return _0x4b176e;}['_getState'](){const _0x25cbb4=new Map(this['_touched']),_0x131af6=new Map(_0x25cbb4),_0x15b753=new Map(),_0x566431={'insertions':{},'deletions':{}},_0xed392c={'insertions':{},'deletions':{}},_0x1de358=new Map(),_0x19b4f6=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x19b4f6['delete']('$graveyard');for(const _0x3f9b5e of _0x19b4f6){const _0x23f395=this['_diffRoots']['get'](_0x3f9b5e)||G(_0x3f9b5e,!0x1),_0x2da1a0=this['_baseRoots']['get'](_0x3f9b5e)||G(_0x3f9b5e,!0x1);_0x23f395['isAttached']()||_0x2da1a0['isAttached']()?(_0x566431['insertions'][_0x3f9b5e]=q(_0x23f395),_0x566431['deletions'][_0x3f9b5e]=q(_0x2da1a0),this['_copyMarkers'](_0x566431['deletions'][_0x3f9b5e],_0x2da1a0),this['_copyMarkers'](_0x566431['insertions'][_0x3f9b5e],_0x23f395),_0xed392c['insertions'][_0x3f9b5e]=this['_generateTape'](this['_idsRoots']['get'](_0x3f9b5e),[]),_0xed392c['deletions'][_0x3f9b5e]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x3f9b5e)||G(_0x3f9b5e,!0x1),[])):_0x19b4f6['delete'](_0x3f9b5e);}for(const _0x3a2bf1 of _0x19b4f6){const _0x397ec5=_0xed392c['insertions'][_0x3a2bf1];for(const _0x3f0a53 of _0x397ec5){const _0x320395=this['_getVidAttributeName'](_0x3f0a53),_0x5590c3=_0x3f0a53['item']['getAttribute'](_0x320395);_0x131af6['delete'](_0x5590c3),_0x5590c3>=this['_startingRevisionId']&&_0x15b753['set'](_0x5590c3,_0x25cbb4['get'](_0x5590c3));}}for(const _0x197827 of _0x19b4f6){const _0x274ed2=_0xed392c['insertions'][_0x197827],_0x3a3eab=this['_getBaseVids'](_0xed392c['deletions'][_0x197827]);let _0x53d8cd=0x0;for(const _0x1167dd of _0x274ed2){const _0x44f3ec=this['_getVidAttributeName'](_0x1167dd),_0x58576e=_0x1167dd['item']['getAttribute'](_0x44f3ec);if(!_0x15b753['has'](_0x58576e)&&!_0x1de358['has'](_0x58576e)){if(_0x131af6['has'](_0x58576e))_0x53d8cd++;else{if(_0x58576e!=_0x3a3eab[_0x53d8cd]){const _0x43e8b0=_0x25cbb4['get'](_0x58576e)||_0x25cbb4['get'](_0x3a3eab[_0x53d8cd]);for(;_0x58576e!=_0x3a3eab[_0x53d8cd];)_0x131af6['has'](_0x3a3eab[_0x53d8cd])||(_0x1de358['set'](_0x3a3eab[_0x53d8cd],_0x43e8b0),_0x25cbb4['set'](_0x3a3eab[_0x53d8cd],_0x43e8b0)),_0x53d8cd++;}_0x53d8cd++;}}}}for(const _0x3ee2a0 of _0x19b4f6){const _0x4fe0dc=_0xed392c['insertions'][_0x3ee2a0];for(const _0x2ca296 of _0x4fe0dc){const _0x29d9a9=this['_getVidAttributeName'](_0x2ca296),_0x544d8c=_0x2ca296['item']['getAttribute'](_0x29d9a9);if(_0x1de358['has'](_0x544d8c)){const _0x1e0ad1=_0x1de358['get'](_0x544d8c);_0x131af6['has'](_0x544d8c)||_0x131af6['set'](_0x544d8c,{..._0x1e0ad1}),_0x15b753['set'](_0x544d8c,{..._0x1e0ad1});}}}for(const _0x512f2f of _0x131af6['keys']())_0x512f2f>=this['_startingRevisionId']&&_0x131af6['delete'](_0x512f2f);const _0x3c7d38=new Map();for(const _0x51a34b of _0x19b4f6){let _0x4dd6e7=_0xed392c['insertions'][_0x51a34b];for(const _0x4c37bc of _0x4dd6e7)if(_0x4c37bc['item']['is']('element','tableCell')){const _0x3d1855=this['_getVidAttributeName'](_0x4c37bc),_0x59d6b2=_0x4c37bc['item']['getAttribute'](_0x3d1855);if(_0x15b753['has'](_0x59d6b2)){const _0x5f0c76=_0x4c37bc['item']['parent']['parent']['getAttribute']('vid_start'),_0x15cd5f=_0x3c7d38['get'](_0x5f0c76)||new Set();_0x15cd5f['add'](_0x15b753['get'](_0x59d6b2)['userId']),_0x3c7d38['set'](_0x5f0c76,_0x15cd5f);}}_0x4dd6e7=_0xed392c['deletions'][_0x51a34b];for(const _0x11c2c6 of _0x4dd6e7)if(_0x11c2c6['item']['is']('element','tableCell')){const _0x3dfd4d=this['_getVidAttributeName'](_0x11c2c6),_0x107424=_0x11c2c6['item']['getAttribute'](_0x3dfd4d);if(_0x131af6['has'](_0x107424)){const _0x523c3c=_0x11c2c6['item']['parent']['parent']['getAttribute']('vid_start'),_0x317bb3=_0x3c7d38['get'](_0x523c3c)||new Set();_0x317bb3['add'](_0x131af6['get'](_0x107424)['userId']),_0x3c7d38['set'](_0x523c3c,_0x317bb3);}}for(const _0x4c0f6d of _0x3c7d38['keys']())(_0x15b753['has'](_0x4c0f6d)||_0x131af6['has'](_0x4c0f6d))&&_0x3c7d38['delete'](_0x4c0f6d);}for(const _0x44392e of _0x19b4f6){const _0x2728d6=_0xed392c['insertions'][_0x44392e];let _0x41bf58=null,_0x154f58=null;for(const _0x273325 of _0x2728d6){const _0x39f0d7=this['_getVidAttributeName'](_0x273325),_0x27c9d6=_0x273325['item']['getAttribute'](_0x39f0d7),_0x57c826=_0x3c7d38['get'](_0x27c9d6);_0x57c826&&'elementStart'==_0x273325['type']&&(_0x41bf58=Array['from'](_0x57c826)[0x0],_0x154f58=_0x273325['item']['getAttribute']('vid_end')),_0x41bf58&&(_0x131af6['set'](_0x27c9d6,{'userId':_0x41bf58}),_0x15b753['set'](_0x27c9d6,{'userId':_0x41bf58})),_0x27c9d6==_0x154f58&&(_0x41bf58=null,_0x154f58=null);}}const _0x54fc44={},_0x3f07a8=new Set();for(const _0x24f4dc of _0x19b4f6){const _0x4c8d3b=_0x566431['deletions'][_0x24f4dc],_0x5e52b4=_0x566431['insertions'][_0x24f4dc];for(const {userId:_0x44582f}of this['_touchedMarkers']['values']())null!==_0x44582f&&_0x3f07a8['add'](_0x44582f);for(const {userId:_0x5018a0}of this['_touchedRoots']['values']())null!==_0x5018a0&&_0x3f07a8['add'](_0x5018a0);this['_markChanges'](_0x5e52b4,_0xed392c['insertions'][_0x24f4dc],_0x15b753,'insertion',_0x3f07a8),this['_markChanges'](_0x4c8d3b,_0xed392c['deletions'][_0x24f4dc],_0x131af6,'deletion',_0x3f07a8),_0x54fc44[_0x24f4dc]={'insertions':this['_prepareViewToSave'](_0x5e52b4),'deletions':this['_prepareViewToSave'](_0x4c8d3b),'attachChange':this['_touchedRoots']['get'](_0x24f4dc)||null,'attributesBefore':_0xcaf5fd(this['_baseRootsAttributes']['get'](_0x24f4dc))||{},'attributesAfter':_0xcaf5fd(this['_diffRootsAttributes']['get'](_0x24f4dc))};}return{'diffData':_0x54fc44,'authorsIds':Array['from'](_0x3f07a8)};}['_processRootBeforeSave'](_0x39a7bb){for(const [,_0x53a7f5]of _0x39a7bb['markers']){const _0x38c9ef=_0x53a7f5['start']['getAncestors']()['filter'](_0xa8a640=>'tableCell'==_0xa8a640['name']);for(const _0x4545bd of _0x38c9ef)0x1==_0x4545bd['childCount']&&_0x4545bd['getChild'](0x0)['is']('element','paragraph')&&_0x4545bd['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x3f64b4){this['_processRootBeforeSave'](_0x3f64b4);const _0x2fbc3e=this['editor']['data']['toView'](_0x3f64b4,{}),_0x219c34=Array['from'](_0x2fbc3e['getChildren']())['map'](_0x155c92=>this['_getViewJson'](_0x155c92));return JSON['stringify'](_0x219c34);}['_getViewJson'](_0x1e5e39){if(_0x1e5e39['is']('$text'))return _0x1e5e39['data'];{const _0x36df2f=_0x1e5e39;return{'type':Object['keys'](T)['find'](_0x4e31e0=>_0x1e5e39 instanceof T[_0x4e31e0]),'name':_0x36df2f['name'],'attributes':Array['from'](_0x36df2f['getAttributes']()),'children':Array['from'](_0x36df2f['getChildren']())['map'](_0x2ef353=>this['_getViewJson'](_0x2ef353))};}}['_markChanges'](_0x171a49,_0x1e67b5,_0x37a405,_0x444309,_0x1da4f3){let _0x39d207=null,_0x559da3=null,_0x239f6b=0x0;const _0x5c5e53=this['editor']['model'];for(let _0x46b15e=0x0;_0x46b15e<_0x1e67b5['length'];_0x46b15e++){const _0xaa255b=this['_getVidAttributeName'](_0x1e67b5[_0x46b15e]),_0x212246=_0x1e67b5[_0x46b15e]['item']['getAttribute'](_0xaa255b),_0x48a328=_0x37a405['get'](_0x212246),_0x306ff2=_0x46b15e==_0x1e67b5['length']-0x1;(!_0x39d207&&_0x48a328&&(_0x39d207=_0x48a328,_0x559da3=_0x1e67b5[_0x46b15e]),_0x39d207&&(!_0x48a328||_0x48a328['userId']!=_0x39d207['userId']))&&(_0x134c26(_0x48a328,L(_0x559da3,_0x171a49,_0x5c5e53),L(_0x1e67b5[_0x46b15e],_0x171a49,_0x5c5e53)),_0x39d207=_0x48a328||null,_0x559da3=_0x48a328?_0x1e67b5[_0x46b15e]:null),_0x39d207&&_0x306ff2&&_0x134c26(_0x48a328,L(_0x559da3,_0x171a49,_0x5c5e53),W(_0x1e67b5[_0x46b15e],_0x171a49,_0x5c5e53));}function _0x134c26(_0x283e0f,_0xd79093,_0xa9e44a){const _0x4b89e9=_0x39d207['userId'],_0x42d70b='revision:'+_0x444309+':'+_0x4b89e9+':'+_0x239f6b++,_0x4c2f84=_0x5c5e53['createRange'](_0xd79093,_0xa9e44a);_0x171a49['markers']['set'](_0x42d70b,_0x4c2f84),null!==_0x4b89e9&&_0x1da4f3['add'](_0x4b89e9);}}['_getVidAttributeName'](_0x637763){switch(_0x637763['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x34a386,_0xd705c9){_0x34a386['baseVersion']=null;for(const _0x360e24 in _0x34a386){const _0x1ec8aa=_0x34a386[_0x360e24];if(_0x1ec8aa instanceof gt){const _0x4b1bc3=_0xd705c9['get'](_0x1ec8aa['root']['rootName']);_0x34a386[_0x360e24]=this['_fixPosition'](_0x1ec8aa,_0x4b1bc3);}if(_0x1ec8aa instanceof vt){const _0x169cfb=_0xd705c9['get'](_0x1ec8aa['root']['rootName']);_0x34a386[_0x360e24]=this['_fixRange'](_0x1ec8aa,_0x169cfb);}'root'===_0x360e24&&(_0x34a386['root']=_0xd705c9['get'](_0x34a386['root']['rootName']));}}['_fixRange'](_0x5b39b8,_0x271268){return this['editor']['model']['createRange'](this['_fixPosition'](_0x5b39b8['start'],_0x271268),this['_fixPosition'](_0x5b39b8['end'],_0x271268));}['_fixPosition'](_0x2c509a,_0x35a654){return this['editor']['model']['createPositionFromPath'](_0x35a654,_0x2c509a['path'],_0x2c509a['stickiness']);}['_handleInsertOperation'](_0x331293){const _0x56fbbe=this['_idsRoots']['get'](_0x331293['position']['root']['rootName']),_0x5c7d76=this['_fixPosition'](_0x331293['position'],_0x56fbbe),_0x1bbc5f=null===_0x331293['_authorId']?null:_0x331293['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x587bfc=_0x5c7d76['parent'],_0x4c5b5c=this['_revisionId'],_0x2ca244=[];for(const _0x733a45 of _0x331293['nodes'])if(_0x733a45['is']('element'))_0x2ca244['push'](this['_makeIdsRoot'](_0x733a45));else{for(let _0x1f4d2f=0x0;_0x1f4d2f<_0x733a45['offsetSize'];_0x1f4d2f++)_0x2ca244['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x363b5f=this['_revisionId'];for(let _0x4cd800=_0x4c5b5c;_0x4cd800<_0x363b5f;_0x4cd800++)this['_touched']['set'](_0x4cd800,{'userId':_0x1bbc5f});_0x587bfc['_insertChild'](_0x5c7d76['offset'],_0x2ca244);}['_handleMoveOperation'](_0x3547ad){(_0x3547ad=this['_cloneOperation'](_0x3547ad,this['_idsRoots']))['_execute']();const _0x273d1e=null===_0x3547ad['_authorId']?null:_0x3547ad['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x483769=_0x3547ad['getMovedRangeStart'](),_0x3b4592=_0x483769['parent'],_0x4cd250=_0x483769['offset'];!function _0x2a2968(_0x3e3fce,_0x14c288,_0x4c8c1c,_0x347d6f){for(let _0x4a9b76=_0x4c8c1c;_0x4a9b76<_0x347d6f;_0x4a9b76++){const _0x57a524=_0x14c288['getChild'](_0x4a9b76);_0x57a524['is']('element','$text')?_0x3e3fce['set'](_0x57a524['getAttribute']('vid'),{'userId':_0x273d1e}):(_0x3e3fce['set'](_0x57a524['getAttribute']('vid_start'),{'userId':_0x273d1e}),_0x2a2968(_0x3e3fce,_0x57a524,0x0,_0x57a524['childCount']),_0x3e3fce['set'](_0x57a524['getAttribute']('vid_end'),{'userId':_0x273d1e}));}}(this['_touched'],_0x3b4592,_0x4cd250,_0x4cd250+_0x3547ad['howMany']);}['_handleMergeOperation'](_0x632def){const _0x3a3a3d=null===(_0x632def=this['_cloneOperation'](_0x632def,this['_idsRoots']))['_authorId']?null:_0x632def['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x42d211=_0x632def['targetPosition']['parent'],_0x3e3278=_0x632def['sourcePosition']['parent'],_0x3de962=_0x42d211['getAttribute']('vid_end'),_0x3f011f=_0x3e3278['getAttribute']('vid_start');_0x42d211['_setAttribute']('vid_end',_0x3e3278['getAttribute']('vid_end')),_0x3e3278['_setAttribute']('vid_end',_0x3de962),this['_touched']['set'](_0x3f011f,{'userId':_0x3a3a3d}),this['_touched']['set'](_0x3de962,{'userId':_0x3a3a3d}),_0x632def['_execute']();}['_handleSplitOperation'](_0x4cb5d4){const _0x541bac=null===(_0x4cb5d4=this['_cloneOperation'](_0x4cb5d4,this['_idsRoots']))['_authorId']?null:_0x4cb5d4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2e8c3c=_0x4cb5d4['graveyardPosition'],_0xeac8e1=_0x4cb5d4['splitPosition']['parent'];_0x4cb5d4['_execute']();const _0x155902=_0xeac8e1['getAttribute']('vid_end'),_0x15e247=_0x4cb5d4['insertionPosition']['nodeAfter'];if(_0x2e8c3c){const _0x429ded=_0x15e247['getAttribute']('vid_end'),_0x59766d=_0xeac8e1['getAttribute']('vid_end');_0xeac8e1['_setAttribute']('vid_end',_0x429ded),_0x15e247['_setAttribute']('vid_end',_0x59766d),this['_touched']['set'](_0xeac8e1['getAttribute']('vid_end'),{'userId':_0x541bac}),this['_touched']['set'](_0x15e247['getAttribute']('vid_start'),{'userId':_0x541bac});}else{const _0x2fa020=this['_revisionId']++,_0x164339=this['_revisionId']++;_0xeac8e1['_setAttribute']('vid_end',_0x2fa020),_0x15e247['_setAttribute']('vid_start',_0x164339),_0x15e247['_setAttribute']('vid_end',_0x155902),this['_touched']['set'](_0x2fa020,{'userId':_0x541bac}),this['_touched']['set'](_0x164339,{'userId':_0x541bac});}}['_handleMarkerOperation'](_0x4bbacc){if(!_0x4bbacc['affectsData'])return;const _0x263ae5=(_0x4bbacc=this['_cloneOperation'](_0x4bbacc,this['_diffRoots']))['oldRange']?_0x4bbacc['oldRange']['root']:null,_0x4159e5=_0x4bbacc['newRange']?_0x4bbacc['newRange']['root']:null;_0x263ae5&&this['_markers']['delete'](_0x4bbacc['name']),_0x4159e5&&this['_markers']['set'](_0x4bbacc['name'],_0x4bbacc['newRange']['clone']());const _0x52c625=null===_0x4bbacc['_authorId']?null:_0x4bbacc['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x346cc5=_0x4bbacc['name'];if(!this['_touchedMarkers']['has'](_0x346cc5))return void this['_touchedMarkers']['set'](_0x346cc5,{'range':_0x4bbacc['oldRange'],'userId':_0x52c625});const _0x35c08c=this['_touchedMarkers']['get'](_0x346cc5),_0x3ca96=_0x35c08c['range'],_0x2e9e60=_0x4bbacc['newRange'];null==_0x3ca96&&null==_0x2e9e60||_0x3ca96&&_0x2e9e60&&_0x3ca96['isEqual'](_0x2e9e60)?this['_touchedMarkers']['delete'](_0x4bbacc['name']):_0x35c08c['userId']=_0x52c625;}['_handleRootOperation'](_0x486af3,_0x4ce614){this['_diffRoots']['has'](_0x486af3['rootName'])?this['_diffRoots']['get'](_0x486af3['rootName'])['_isAttached']=_0x486af3['isAdd']:(this['_diffRoots']['set'](_0x486af3['rootName'],G(_0x486af3['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x486af3['rootName'],{}),_0x4ce614&&this['_idsRoots']['set'](_0x486af3['rootName'],G(_0x486af3['rootName'],!0x0)));const _0x552046=null===_0x486af3['_authorId']?null:_0x486af3['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3c23fd=this['_touchedRoots']['get'](_0x486af3['rootName']);_0x3c23fd&&_0x3c23fd['userId']===_0x552046?this['_touchedRoots']['delete'](_0x486af3['rootName']):this['_touchedRoots']['set'](_0x486af3['rootName'],{'userId':_0x552046,'isAttached':_0x486af3['isAdd']});}['_handleRootAttributeOperation'](_0xd18cf5){const _0x44f522=this['_diffRootsAttributes']['get'](_0xd18cf5['root']['rootName']);null===_0xd18cf5['newValue']?delete _0x44f522[_0xd18cf5['key']]:_0x44f522[_0xd18cf5['key']]=_0xd18cf5['newValue'];}}function q(_0x4665fc){const _0x21c9d0=G(_0x4665fc['rootName'],_0x4665fc['isAttached']());for(const _0x51e811 of _0x4665fc['getChildren']()){const _0x2c575b=_0x51e811['_clone'](!0x0);_0x21c9d0['_appendChild'](_0x2c575b);}return _0x21c9d0;}function G(_0x58ad37,_0x50d5d1=!0x0){const _0x178d0b=new wt();return _0x178d0b['rootName']=_0x58ad37,_0x178d0b['_isAttached']=_0x50d5d1,_0x178d0b['isAttached']=()=>_0x178d0b['_isAttached'],_0x178d0b;}function L(_0x4a2e19,_0x2cac45,_0x571dbc){const _0x4b7d14='elementEnd'==_0x4a2e19['type']?_0x571dbc['createPositionAt'](_0x4a2e19['item'],'end'):_0x571dbc['createPositionBefore'](_0x4a2e19['item']);return _0x571dbc['createPositionFromPath'](_0x2cac45,_0x4b7d14['path'],_0x4b7d14['stickiness']);}function W(_0xac7e97,_0x144b24,_0x2ea4d5){const _0x27a7fe='elementStart'==_0xac7e97['type']?_0x2ea4d5['createPositionAt'](_0xac7e97['item'],0x0):_0x2ea4d5['createPositionAfter'](_0xac7e97['item']);return _0x2ea4d5['createPositionFromPath'](_0x144b24,_0x27a7fe['path'],_0x27a7fe['stickiness']);}class ns extends _0x4e738a{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x52532c,_0x1aa942){super(_0x52532c),this['focusTracker']=new _0x347cd6(),this['keystrokes']=new _0x479280(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x1aa942),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'](),_0x45bbf8({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0xf23f3=_0x3e2166=>_0x3e2166['stopPropagation']();this['keystrokes']['set']('arrowright',_0xf23f3),this['keystrokes']['set']('arrowleft',_0xf23f3),this['keystrokes']['set']('arrowup',_0xf23f3),this['keystrokes']['set']('arrowdown',_0xf23f3);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x552529){this['revisionNameInputView']['fieldView']['element']['value']=_0x552529['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x49765f){const _0x8b6a8=new at(this['locale'],_0x32656c),_0x402b98=_0x8b6a8['fieldView'];_0x402b98['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x4af54b=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x49765f&&(_0x4af54b+='\x20('+y(this['locale'],'optional')+')'),(_0x8b6a8['label']=_0x4af54b,_0x402b98['on']('input',()=>{this['revisionNameInputValue']=_0x402b98['element']['value']['trim']();}),_0x8b6a8);}}class u extends _0x570864{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0xba6ace=this['editor'],_0x2475da=_0xba6ace['plugins']['get']('RevisionTracker');_0xba6ace['ui']['componentFactory']['add']('revisionHistory',_0x4b8bf2=>{const _0x201a50=_0x187e19(_0x4b8bf2),_0x2c29bf=_0x201a50['panelView']['children'],_0x167af4=new te(_0x4b8bf2),_0x35b297=new _0x54edbd(_0x4b8bf2),_0x425265=new _0x4cc0a0(_0x4b8bf2),_0x56439d=new _0x54edbd(_0x4b8bf2),_0x45950a=new _0x4cc0a0(_0x4b8bf2);return _0x201a50['bind']('isEnabled')['to'](_0x2475da,'isReady',_0x2475da,'isEnabled',_0xba6ace,'isReadOnly',(_0x55514a,_0x14dd1e,_0x1e7139)=>_0x55514a&&_0x14dd1e&&!_0x1e7139),_0x201a50['buttonView']['set']({'icon':_0xa39abc['history'],'label':y(_0x4b8bf2,'Revision\x20history'),'tooltip':!0x0}),_0x425265['set']({'label':y(_0x4b8bf2,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x425265['bind']('isEnabled')['to'](_0x2475da,'isReady',_0x2475da,'isEnabled',_0xba6ace,'isReadOnly',(_0x11afa3,_0x271539,_0x317ffc)=>_0x11afa3&&_0x271539&&!_0x317ffc),_0x425265['on']('execute',()=>this['_showDialog']()),_0x45950a['set']({'label':y(_0x4b8bf2,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x45950a['bind']('isEnabled')['to'](_0x2475da,'isReady',_0xba6ace,'isReadOnly',(_0x3a0009,_0xf09e2)=>_0x3a0009&&!_0xf09e2),_0x45950a['on']('execute',()=>{_0xba6ace['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x201a50['isOpen']=!0x1,_0xba6ace['editing']['view']['focus']();}),_0x35b297['children']['add'](_0x425265),_0x56439d['children']['add'](_0x45950a),_0x167af4['role']='menu',_0x167af4['items']['addMany']([_0x35b297,_0x56439d]),_0x2c29bf['add'](_0x167af4),_0x201a50;}),_0xba6ace['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x33e99c=this['editor'],_0x5dceb6=_0x33e99c['locale'],_0x550951=new _0x3e273f(_0x5dceb6),_0x468711=new _0x2f8e96(_0x5dceb6);_0x550951['buttonView']['set']({'icon':_0xa39abc['history'],'label':y(_0x5dceb6,'Revision\x20history')});const _0x49e9ca=new _0x178041(_0x5dceb6,_0x550951),_0x58c6e0=new _0x5c0dae(_0x5dceb6);_0x58c6e0['set']({'label':y(_0x5dceb6,'Save\x20current\x20revision')}),_0x58c6e0['delegate']('execute')['to'](_0x550951),_0x58c6e0['on']('execute',()=>{this['_showDialog']();}),_0x49e9ca['children']['add'](_0x58c6e0),_0x468711['items']['add'](_0x49e9ca);const _0x3a85ef=new _0x178041(_0x5dceb6,_0x550951),_0x1cb96a=new _0x5c0dae(_0x5dceb6);return _0x1cb96a['set']({'label':y(_0x5dceb6,'Open\x20revision\x20history')}),_0x1cb96a['delegate']('execute')['to'](_0x550951),_0x1cb96a['on']('execute',()=>{_0x33e99c['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x3a85ef['children']['add'](_0x1cb96a),_0x468711['items']['add'](_0x3a85ef),_0x550951['panelView']['children']['add'](_0x468711),_0x550951;}['_showDialog'](){const _0x558354=this['editor'],_0x23a714=_0x558354['locale'],_0x39f11c=_0x558354['plugins']['get']('Dialog'),_0x51e998=_0x558354['plugins']['get']('RevisionTracker');function _0x3d9528(_0x4078b9){_0x558354['config']['get']('revisionHistory.requireRevisionName')&&''===_0x4078b9['revisionName']?_0x4078b9['revisionNameInputView']['errorText']=y(_0x23a714,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x558354['plugins']['get'](l)['saveRevision']({'name':_0x4078b9['revisionName']}),_0x39f11c['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x3d9528(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x39f11c['show']({'id':'revisionSave','title':y(_0x23a714,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x558354['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x39f11c['hide']()},{'label':y(_0x558354['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x355d1d){_0x355d1d['bind']('isEnabled')['to'](_0x51e998,'isReady',_0x51e998,'isEnabled',_0x558354,'isReadOnly',(_0x23830d,_0x1279c8,_0x3d749a)=>_0x23830d&&_0x1279c8&&!_0x3d749a);},'onExecute':()=>_0x3d9528(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x4417d6=this['editor'],_0x47f132=_0x4417d6['locale'];this['_saveRevisionFormView']=new ns(_0x47f132,_0x4417d6['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x4e738a{['changeId'];['_model'];constructor(_0x45eb56,_0x2abc98){super(_0x45eb56),this['_model']=_0x2abc98,this['changeId']=_0x2abc98['id'];const _0x470dd9=this['bindTemplate'],_0x1a462a=y(_0x45eb56,_0x2abc98['data']['isSuggestion']?'Suggested\x20by':'add'==_0x2abc98['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x2abc98['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x470dd9['to']('type',_0x53e9ec=>'ck-revision-change__'+_0x53e9ec)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x1a462a}]},{'text':'\x20'+_0x2abc98['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x157521(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x3eeec8){super(),this['id']=_0x3eeec8['id']||_0x3b5255(),this['author']=_0x3eeec8['author'],this['type']=_0x3eeec8['type'],this['data']=_0x3eeec8['data']||{},this['rootName']=_0x3eeec8['rootName'],this['set']('createdAt',_0x3eeec8['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(_0x1808b4,_0x3c58ec){this['newRevisionId']=_0x1808b4,this['oldRevisionId']=_0x3c58ec,this['changes']=new _0x12c280();}['_setChanges'](_0x5399d5){for(const _0x3c14a8 of _0x5399d5)this['changes']['add'](_0x3c14a8);}}const tt={'c':_0x757aae,'a':_0xa210d8,'e':_0x193389,'r':_0x3f1dae,'u':_0x512571};class d extends _0x570864{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x41255f,_0x5d33fb,A];}constructor(_0x1a6423){super(_0x1a6423),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',(_0x4a9d5f,_0x280a49,_0x589500)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x400304=>{for(const _0x2e9b80 of this['editor']['editing']['view']['document']['roots'])_0x589500?_0x400304['removeClass']('ck-editor__editable__overlay',_0x2e9b80):_0x400304['addClass']('ck-editor__editable__overlay',_0x2e9b80);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x3d8a62=>null!==_0x3d8a62),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x367e47,_0xb7eb74,_0x3cff88)=>_0x367e47&&_0x3cff88?_0xb7eb74['changes']['getIndex'](_0x3cff88):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x5db047,_0x542898)=>_0x5db047?_0x542898['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x5d33fb);}['init'](){const _0x12beee=this['editor'],_0x2d3a62=new yt(_0x12beee,{'direction':'backward'}),_0x59bb32=new yt(_0x12beee,{'direction':'forward'});(_0x12beee['commands']['add']('showPreviousChange',_0x2d3a62),_0x12beee['commands']['add']('showNextChange',_0x59bb32),_0x12beee['commands']['add']('restoreRevision',new bt(_0x12beee)),this['on']('change:numberOfChanges',()=>{_0x2d3a62['refresh'](),_0x59bb32['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x12beee['enableReadOnlyMode']('revision-viewer'),_0x12beee['plugins']['has']('WidgetToolbarRepository'))&&_0x12beee['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x5eb1d9){await this['loadRevisionData'](_0x5eb1d9);const _0x515c70={};for(const _0x4adc68 in _0x5eb1d9['diffData']){if(_0x5eb1d9['diffData'][_0x4adc68]['attachChange']&&!_0x5eb1d9['diffData'][_0x4adc68]['attachChange']['isAttached'])continue;const _0x1aafdc=this['_removeRevisionMarkers'](JSON['parse'](_0x5eb1d9['diffData'][_0x4adc68]['insertions'])),_0x50c241=this['editor']['editing']['view']['document'],_0x5b1f01=new _0x3204ea(_0x50c241,_0x1aafdc['map'](_0x3fa627=>this['_getViewObj'](_0x3fa627)));this['editor']['data']['processor']['useFillerType']('marked'),_0x515c70[_0x4adc68]=this['editor']['data']['processor']['toData'](_0x5b1f01),this['editor']['data']['processor']['useFillerType']('default');}return _0x515c70;}async['getRevisionRootsAttributes'](_0x1f6fb3){await this['loadRevisionData'](_0x1f6fb3);const _0x197d08={};for(const _0x589f19 in _0x1f6fb3['diffData'])_0x1f6fb3['diffData'][_0x589f19]['attachChange']&&!_0x1f6fb3['diffData'][_0x589f19]['attachChange']['isAttached']||(_0x197d08[_0x589f19]=_0x1f6fb3['diffData'][_0x589f19]['attributesAfter']||{});return _0x197d08;}['_removeRevisionMarkers'](_0x4945c9){return(_0x4945c9=_0x4945c9['filter'](_0x14467e=>!_0x14467e['name']||'revision-start'!==_0x14467e['name']&&'revision-end'!==_0x14467e['name']))['forEach'](_0x1cb251=>{'string'!=typeof _0x1cb251&&(_0x1cb251['children']=this['_removeRevisionMarkers'](_0x1cb251['children']),_0x1cb251['attributes']=_0x1cb251['attributes']['filter'](_0x227be9=>!_0x227be9[0x0]['startsWith']('data-revision-')));}),_0x4945c9;}async['compare'](_0x14dc81,_0x46f68b,_0x5e2363=!0x1){if(!this['isEnabled'])return;const _0x507bb0=this['diff'],_0x451cdf=this['repository'],_0x5b142f='string'==typeof _0x14dc81?_0x451cdf['getRevision'](_0x14dc81):_0x14dc81,_0x1d8d26='string'==typeof _0x46f68b?_0x451cdf['getRevision'](_0x46f68b):_0x46f68b,_0x5dc658=_0x5b142f['id'],_0x1696ef=_0x1d8d26?_0x1d8d26['id']:null;if(!_0x5e2363&&this['diff']&&this['diff']['newRevisionId']===_0x5dc658&&this['diff']['oldRevisionId']===_0x1696ef)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x5dc658,_0x1696ef);const _0x3f7003=this['_getRevisionsRange'](_0x5b142f,_0x1d8d26,!0x0)['map'](_0x4aa9eb=>this['loadRevisionData'](_0x4aa9eb));return _0x3f7003['push'](new Promise(_0x1f8c9f=>{setTimeout(_0x1f8c9f,0x14);})),Promise['all'](_0x3f7003)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x226e08=this['_getDiff'](_0x5dc658,_0x1696ef);for(const _0x1fef66 of _0x226e08['changes'])this['_changeIdToChange']['set'](_0x1fef66['id'],_0x1fef66);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x276ff4=>{for(const _0x4d6722 of this['editor']['model']['document']['getRootNames']())_0x276ff4['detachRoot'](_0x4d6722);for(const _0x113cd9 of Object['keys'](_0x226e08['model'])){const _0x3c6e43=_0x276ff4['addRoot'](_0x113cd9);for(const _0x50f23a of Object['keys'](_0x226e08['attributes'][_0x113cd9]))_0x276ff4['setAttribute'](_0x50f23a,_0x226e08['attributes'][_0x113cd9][_0x50f23a],_0x3c6e43);_0x276ff4['insert'](_0x226e08['model'][_0x113cd9],_0x3c6e43,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x226e08['changes'])),this['isReady']=!0x0;})['catch'](_0x19f373=>{console['error'](_0x19f373),this['_cleanUp'](),_0x507bb0&&(this['diff']=_0x507bb0),this['isReady']=!0x0;});}['addRevisionData'](_0x568a07,_0x3f34b2){const _0x57e790=this['repository']['createRevision'](_0x568a07);return _0x57e790['on']('_update',(_0x308d4a,_0x40d0e5,_0x5c6b53)=>_0x3f34b2(_0x40d0e5,_0x5c6b53,_0x57e790)),this['repository']['addRevision'](_0x57e790),_0x57e790;}['loadRevisionData'](_0x41481b){if(!_0x41481b||_0x41481b['diffData'])return Promise['resolve']();{const _0x39fff2=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x39fff2,'revisionId':_0x41481b['id']})['then'](_0x19e421=>{_0x41481b['_update']({'diffData':_0x19e421['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},_0x38aa5b=>{for(const _0x4030dc of this['editor']['model']['document']['getRootNames']())_0x38aa5b['detachRoot'](_0x4030dc);});}['_sortAndFilterDiffChanges'](_0x1c86df){const _0x1f6c81=[],_0x4bf5ad=new Map();for(const _0xc7c912 of this['editor']['model']['document']['getRootNames']()){const _0x28d145=this['editor']['editing']['view']['getDomRoot'](_0xc7c912);if(!_0x28d145)continue;const _0x39d5c5=_0x28d145['getClientRects']()['item'](0x0);_0x39d5c5&&(_0x1f6c81['push'](_0xc7c912),_0x4bf5ad['set'](_0xc7c912,_0x39d5c5));}return _0x1f6c81['sort']((_0x56376f,_0x377822)=>{const _0x59ada2=_0x4bf5ad['get'](_0x56376f),_0x355a43=_0x4bf5ad['get'](_0x377822);return _0x59ada2['y']-_0x355a43['y']||_0x59ada2['x']-_0x355a43['x'];}),(_0x1c86df=_0x1c86df['filter'](_0x4376bb=>_0x1f6c81['includes'](_0x4376bb['rootName'])))['sort']((_0x89b94c,_0x1b323c)=>_0x1f6c81['indexOf'](_0x89b94c['rootName'])-_0x1f6c81['indexOf'](_0x1b323c['rootName'])),_0x1c86df;}['_makeTape'](_0x57b037){const _0x3e3134=Array['from'](_0x57b037['markers'])['filter'](([_0x2bf82d,_0x43389e])=>_0x2bf82d['startsWith']('revision:')&&!_0x43389e['isCollapsed']),_0x47ce6a=Array['from'](this['editor']['model']['createRangeIn'](_0x57b037)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x3e3134['length'])for(const _0x2be9f5 of _0x47ce6a){const [_0x24d2cb,_0x53b4a6]=_0x3e3134[0x0],[,_0xc05f42,_0xdf0689]=_0x24d2cb['split'](':');if(_0x53b4a6['end']['isEqual'](_0x2be9f5['nextPosition'])&&_0x3e3134['shift'](),(_0x2be9f5['previousPosition']['isEqual'](_0x53b4a6['start'])||_0x2be9f5['previousPosition']['isAfter'](_0x53b4a6['start']))&&('insertion'==_0xc05f42?_0x2be9f5['isAdded']={'userId':_0xdf0689}:'deletion'==_0xc05f42&&(_0x2be9f5['isRemoved']={'userId':_0xdf0689})),0x0==_0x3e3134['length'])break;}return _0x47ce6a;}['_refreshStartEndIndex'](_0x308ac6){const _0x110a6d=new Map();for(let _0x1eb749=0x0;_0x1eb749<_0x308ac6['length'];_0x1eb749++)'text'===_0x308ac6[_0x1eb749]['type']?(_0x308ac6[_0x1eb749]['item']['startIndex']=_0x1eb749,_0x308ac6[_0x1eb749]['item']['endIndex']=_0x1eb749):('elementStart'===_0x308ac6[_0x1eb749]['type']?_0x308ac6[_0x1eb749]['item']['startIndex']=_0x1eb749:'elementEnd'===_0x308ac6[_0x1eb749]['type']&&(_0x308ac6[_0x1eb749]['item']['endIndex']=_0x1eb749),_0x110a6d['set'](_0x308ac6[_0x1eb749]['id'],_0x1eb749));for(const _0x77d0f3 of _0x110a6d['values']())'elementStart'===_0x308ac6[_0x77d0f3]['type']?_0x308ac6[_0x77d0f3]['item']['endIndex']=_0x110a6d['get'](_0x308ac6[_0x77d0f3]['pairId']):'elementEnd'===_0x308ac6[_0x77d0f3]['type']&&(_0x308ac6[_0x77d0f3]['item']['startIndex']=_0x110a6d['get'](_0x308ac6[_0x77d0f3]['pairId']));}['_processTape'](_0x4720fb){for(let _0x5678f1=0x0;_0x5678f1<_0x4720fb['length'];_0x5678f1++){if('elementStart'===_0x4720fb[_0x5678f1]['type'])_0x4720fb[_0x5678f1]['item']['startIndex']=_0x5678f1;else{if('elementEnd'===_0x4720fb[_0x5678f1]['type']){_0x4720fb[_0x5678f1]['item']['endIndex']=_0x5678f1;const _0x498c2b=_0x4720fb[_0x5678f1]['item']['startIndex'];_0x4720fb[_0x498c2b]['pairId']=_0x4720fb[_0x5678f1]['id'],_0x4720fb[_0x5678f1]['pairId']=_0x4720fb[_0x498c2b]['id'];}else _0x4720fb[_0x5678f1]['item']['startIndex']=_0x5678f1,_0x4720fb[_0x5678f1]['item']['endIndex']=_0x5678f1,_0x4720fb[_0x5678f1]['pairId']=null;}_0x4720fb[_0x5678f1]['markersStart']||(_0x4720fb[_0x5678f1]['markersStart']=[],_0x4720fb[_0x5678f1]['markersEnd']=[]);}}['_markInsertions'](_0x509c82,_0x1e90e2){const _0x228b0c=_0x509c82['filter'](_0x40a987=>!_0x40a987['isAdded']);for(let _0x3ffc3a=0x0;_0x3ffc3a<_0x1e90e2['length'];_0x3ffc3a++)_0x1e90e2[_0x3ffc3a]['isAdded']&&(_0x228b0c[_0x3ffc3a]['isAdded']=_0x1e90e2[_0x3ffc3a]['isAdded']);}['_makeModelFromViewString'](_0x2cc466){const _0x566538=JSON['parse'](_0x2cc466),_0x12da67=this['editor']['editing']['view']['document'],_0x523056=new _0x3204ea(_0x12da67,_0x566538['map'](_0x9f88aa=>this['_getViewObj'](_0x9f88aa)));return this['editor']['data']['toModel'](_0x523056);}['_getViewObj'](_0x33f55b){const _0x3eaa4f=this['editor']['editing']['view']['document'];if('string'==typeof _0x33f55b)return new _0x4c3592(_0x3eaa4f,_0x33f55b);{const _0x137d88=_0x33f55b['children']['map'](_0x560501=>this['_getViewObj'](_0x560501));return new(tt[_0x33f55b['type']]||_0x306c72)(_0x3eaa4f,_0x33f55b['name'],_0x33f55b['attributes'],_0x137d88);}}['_getDiff'](_0x1271a3,_0x574ac1=null){const _0x3b44d7=this['repository']['getRevision'](_0x1271a3),_0xd241d8=_0x574ac1?this['repository']['getRevision'](_0x574ac1):null,_0x59f4ef=this['_getRevisionsRange'](_0x3b44d7,_0xd241d8),_0x3926ba=_0x59f4ef[_0x59f4ef['length']-0x1],_0x216203=new Map(),_0x2c436e={'model':{},'attributes':{},'changes':[]},_0x4079df=new Set(),_0x5beccd=new Map();for(let _0x27052e=_0x59f4ef['length']-0x1;_0x27052e>=0x0;_0x27052e--){const _0x3e53d9=_0x59f4ef[_0x27052e];for(const _0x195858 of Object['keys'](_0x3e53d9['diffData']))if(_0x3e53d9['diffData'][_0x195858]['attachChange']){const _0x46fac4=_0x3e53d9['diffData'][_0x195858]['attachChange'];_0x46fac4['isAttached']?(_0x4079df['add'](_0x195858),_0x5beccd['has'](_0x195858)&&_0x5beccd['get'](_0x195858)['userId']==_0x46fac4['userId']?_0x5beccd['delete'](_0x195858):_0x5beccd['set'](_0x195858,_0x46fac4)):_0x5beccd['has'](_0x195858)?(_0x4079df['delete'](_0x195858),_0x5beccd['delete'](_0x195858)):(_0x4079df['add'](_0x195858),_0x5beccd['set'](_0x195858,_0x46fac4));}else _0x4079df['add'](_0x195858);}for(const _0x12b5be of _0x4079df){const _0x1513fb=_0x5beccd['has'](_0x12b5be)&&!_0x5beccd['get'](_0x12b5be)['isAttached'];let _0xccf5c0=_0x1513fb?_0x59f4ef['length']-0x1:0x0;const _0x1d3a3=_0x1513fb?-0x1:0x1;for(;_0x59f4ef[_0xccf5c0];){const _0x51d290=_0x59f4ef[_0xccf5c0];if(_0x51d290['diffData'][_0x12b5be]){const _0x43aec3=_0x1513fb?_0x51d290['diffData'][_0x12b5be]['attributesBefore']:_0x51d290['diffData'][_0x12b5be]['attributesAfter'];_0x2c436e['attributes'][_0x12b5be]=_0x43aec3?_0xcaf5fd(_0x43aec3):{};break;}_0xccf5c0+=_0x1d3a3;}}for(const _0xbbcf8c of _0x59f4ef){_0xbbcf8c['model']={};for(const _0x3f96d2 of _0xbbcf8c['authors'])_0x216203['set'](_0x3f96d2['id'],_0x3f96d2);for(const _0x1f42ec of _0x4079df){const _0x477936=_0xbbcf8c['diffData'][_0x1f42ec]?_0xbbcf8c['diffData'][_0x1f42ec]['insertions']:'[]',_0x3ef048=_0xbbcf8c['diffData'][_0x1f42ec]?_0xbbcf8c['diffData'][_0x1f42ec]['deletions']:'[]';_0xbbcf8c['model'][_0x1f42ec]={'insertions':this['_makeModelFromViewString'](_0x477936),'deletions':this['_makeModelFromViewString'](_0x3ef048)};}}for(const _0x32deb5 of _0x4079df){let _0x100619=null,_0x1e0768=0x0;const _0x1fde14=new Map(Array['from'](_0x3b44d7['model'][_0x32deb5]['insertions']['markers'])['filter'](([_0x145f71])=>!_0x145f71['startsWith']('revision:')));let _0x303c78=0x0;for(const _0x31b021 of _0x59f4ef){const _0x46e50f=this['_makeTape'](_0x31b021['model'][_0x32deb5]['insertions']);_0x31b021==_0x3b44d7?(_0x100619=_0x46e50f,_0x1e0768=_0x100619['length'],_0x100619['forEach'](_0x28c3cc=>{_0x28c3cc['id']=_0x303c78++;}),this['_processTape'](_0x100619)):this['_markInsertions'](_0x100619,_0x46e50f);const _0x18bb58=_0x100619['filter'](_0x42eb90=>!_0x42eb90['isAdded'])['map'](_0x3e5fe0=>_0x3e5fe0['id']);let _0x52e225=0x0;const _0xb22954=this['_makeTape'](_0x31b021['model'][_0x32deb5]['deletions']);_0xb22954['forEach'](_0x5b3dd7=>{_0x5b3dd7['isRemoved']?_0x5b3dd7['id']=_0x1e0768++:_0x5b3dd7['id']=_0x18bb58[_0x52e225++];}),this['_processTape'](_0xb22954),this['_setDistance'](_0x100619,'isAdded'),this['_setDistance'](_0xb22954,'isRemoved'),_0x31b021==_0x3b44d7&&this['_markMarkers'](_0x100619,_0x1fde14),_0x100619=this['_joinTapes'](_0x100619,_0xb22954),this['_refreshStartEndIndex'](_0x100619),this['_setDistance'](_0x100619,'isRemoved');}_0x100619=_0x100619['filter'](_0xeef500=>!(_0xeef500['isAdded']&&_0xeef500['isRemoved']));const _0xb1cead=new Map(_0x3926ba['model'][_0x32deb5]['deletions']['markers']),_0x1e008b=new Set(_0x1fde14['keys']());for(const _0x241a0a of _0xb1cead['keys']())_0x1e008b['delete'](_0x241a0a);this['_markSuggestions'](_0x100619,_0x1e008b),this['_fixObsoleteTags'](_0x100619),_0x100619=this['_removeMissingPairs'](_0x100619),_0x100619=this['_markMismatchedRemovedTags'](_0x100619),_0x100619=this['_removeUnsupportedChanges'](_0x100619);const {root:_0x252099,changes:_0x568949}=this['_makeModelFromTape'](_0x100619,_0x216203,_0x32deb5);_0x2c436e['model'][_0x32deb5]=_0x252099;const _0x1dfafd=_0x5beccd['get'](_0x32deb5);if(_0x1dfafd){const _0xed0e25=_0x216203['get'](_0x1dfafd['userId']),_0x229ba7=new r({'author':_0xed0e25,'type':_0x1dfafd['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x32deb5});_0x568949['unshift'](_0x229ba7),_0x2c436e['attributes'][_0x32deb5]['revisionHistoryAttachChange']=_0x229ba7['id'];}_0x2c436e['changes']=_0x2c436e['changes']['concat'](_0x568949);}return _0x2c436e;}['_markMarkers'](_0x30359e,_0x30fe34){for(let _0x14b861=0x0;_0x14b861<_0x30359e['length'];_0x14b861++)for(const [_0x4ad2a9,_0x434a08]of _0x30fe34)_0x434a08['start']['isEqual'](_0x30359e[_0x14b861]['previousPosition'])&&_0x30359e[_0x14b861]['markersStart']['push'](_0x4ad2a9),_0x434a08['end']['isEqual'](_0x30359e[_0x14b861]['nextPosition'])&&_0x30359e[_0x14b861]['markersEnd']['push'](_0x4ad2a9);}['_joinTapes'](_0x445e62,_0x170d00){let _0x395fe2=[],_0x3165a3=0x0,_0x237944=0x0;for(;_0x3165a3<_0x445e62['length']||_0x237944<_0x170d00['length'];){const _0x59966b=_0x445e62[_0x3165a3]||{},_0x375c7a=_0x170d00[_0x237944]||{};if(_0x59966b['id']==_0x375c7a['id'])_0x3165a3++,_0x237944++,_0x395fe2['push'](_0x59966b);else{if(_0x375c7a['isRemoved']&&_0x59966b['isAdded']){const {commonTape:_0x2393d8,iEnd:_0x5cf3d8,jEnd:_0x1ed5bd}=this['_threeWayMerge'](_0x445e62,_0x3165a3,_0x170d00,_0x237944);_0x395fe2=_0x395fe2['concat'](_0x2393d8),_0x3165a3=_0x5cf3d8,_0x237944=_0x1ed5bd;}else _0x375c7a['isRemoved']?(_0x237944++,_0x395fe2['push'](_0x375c7a)):(_0x3165a3++,_0x395fe2['push'](_0x59966b));}}return _0x395fe2;}['_markSuggestions'](_0x4958a6,_0xd160ce){const _0x12002c=[];for(let _0x5681f8=0x0;_0x5681f8<_0x4958a6['length'];_0x5681f8++){for(let _0x52c807=0x0;_0x52c807<_0x4958a6[_0x5681f8]['markersStart']['length'];_0x52c807++){const _0x12f4dc=_0x4958a6[_0x5681f8]['markersStart'][_0x52c807];if(!_0xd160ce['has'](_0x12f4dc))continue;const {group:_0x566957,type:_0xc5926d,authorId:_0x44b866}=_0x2de652(_0x12f4dc);'revision-suggestion'!=_0x566957||'insertion'!=_0xc5926d&&'deletion'!=_0xc5926d||(_0x12002c['unshift']({'type':_0xc5926d,'name':_0x12f4dc,'userId':_0x44b866}),_0x4958a6[_0x5681f8]['markersStart']['splice'](_0x52c807,0x1),_0x52c807--);}_0x59162c(_0x4958a6[_0x5681f8]);for(let _0x49fe31=0x0;_0x49fe31<_0x4958a6[_0x5681f8]['markersEnd']['length'];_0x49fe31++){const _0x19ace8=_0x4958a6[_0x5681f8]['markersEnd'][_0x49fe31];if(!_0xd160ce['has'](_0x19ace8))continue;const {group:_0x5ebd36,type:_0x50b727}=_0x2de652(_0x19ace8);if('revision-suggestion'!=_0x5ebd36||'insertion'!=_0x50b727&&'deletion'!=_0x50b727)continue;_0x4958a6[_0x5681f8]['markersEnd']['splice'](_0x49fe31,0x1),_0x49fe31--;const _0x5b25d1=_0x12002c['findIndex'](_0x107794=>_0x107794['name']==_0x19ace8);_0x5b25d1>-0x1&&_0x12002c['splice'](_0x5b25d1,0x1);}}function _0x2de652(_0x5b5c2b){const _0x323c64=_0x5b5c2b['split'](':');return{'group':_0x323c64[0x0],'type':_0x323c64[0x1],'subType':_0x323c64['length']>=0x5?_0x323c64[0x2]:null,'id':_0x323c64['length']<0x5?_0x323c64[0x2]:_0x323c64[0x3],'authorId':_0x323c64['length']<0x5?_0x323c64[0x3]:_0x323c64[0x4],'markerCount':0x6==_0x323c64['length']?_0x323c64[0x5]:null};}function _0x59162c(_0x27da5d){for(let _0x4f550d=0x0;_0x4f550d<_0x12002c['length'];_0x4f550d++){if(_0x27da5d['isAdded']&&'insertion'==_0x12002c[_0x4f550d]['type'])return _0x27da5d['isAddSuggestion']=_0x12002c[_0x4f550d],void delete _0x27da5d['isAdded'];if(!_0x27da5d['isAdded']&&!_0x27da5d['isRemoved']&&'deletion'==_0x12002c[_0x4f550d]['type'])return void(_0x27da5d['isRemoveSuggestion']=_0x12002c[_0x4f550d]);}}}['_setDistance'](_0x538948,_0x5bf0c1){let _0x415e79=0x0,_0x455005=!0x1;const _0x45f984=new Map();for(const _0x361eb6 of _0x538948)_0x361eb6[_0x5bf0c1]?_0x455005&&(_0x415e79++,_0x455005=!0x1):(_0x415e79++,_0x455005=!0x0),_0x45f984['set'](_0x361eb6['id'],_0x415e79);for(let _0x2ca1c7=0x0;_0x2ca1c7<_0x538948['length'];_0x2ca1c7++){if('isRemoved'==_0x5bf0c1&&_0x538948[_0x2ca1c7]['isAdded']||'isAdded'==_0x5bf0c1&&_0x538948[_0x2ca1c7]['isRemoved'])continue;if('text'==_0x538948[_0x2ca1c7]['type']){_0x538948[_0x2ca1c7]['distance']=0x0;continue;}const _0x4b23c2=_0x45f984['get'](_0x538948[_0x2ca1c7]['pairId']),_0x34577a=_0x45f984['get'](_0x538948[_0x2ca1c7]['id']);_0x538948[_0x2ca1c7]['distance']=_0x4b23c2-_0x34577a;}}['_getRevisionsRange'](_0x56e7b8,_0x2a48f4,_0x30cf60=!0x1){const _0x38867b=[];let _0x4899e1=this['repository']['getIndex'](_0x56e7b8),_0x240d98=this['repository']['getIndex'](_0x2a48f4);for(-0x1==_0x240d98&&(_0x240d98=this['repository']['_revisions']['length'],_0x30cf60=!0x1);_0x4899e1<_0x240d98;)_0x38867b['push'](this['repository']['getRevision'](_0x4899e1)),_0x4899e1++;return _0x30cf60&&_0x38867b['push'](this['repository']['getRevision'](_0x4899e1)),_0x38867b;}['_threeWayMerge'](_0x28dc96,_0x3a563c,_0x1051b2,_0x319cd0){const _0x5e0640=this['editor']['model']['schema'];let _0x54d8c4=_0x3a563c;for(;_0x28dc96[_0x54d8c4]&&_0x28dc96[_0x54d8c4]['isAdded'];)_0x54d8c4++;let _0x3990d8=_0x319cd0;for(;_0x1051b2[_0x3990d8]&&_0x1051b2[_0x3990d8]['isRemoved'];)_0x3990d8++;_0x3be11e(_0x28dc96,_0x3a563c,_0x54d8c4),_0x3be11e(_0x1051b2,_0x319cd0,_0x3990d8);const _0x29ad55=_0x1051b2['slice'](_0x319cd0,_0x3990d8)['concat'](_0x28dc96['slice'](_0x3a563c,_0x54d8c4));return _0x29ad55['sort']((_0x284154,_0x410b1f)=>_0x284154['side']!=_0x410b1f['side']?_0x284154['side']-_0x410b1f['side']:_0x284154['level']!=_0x410b1f['level']?_0x284154['level']-_0x410b1f['level']:_0x284154['distance']!=_0x410b1f['distance']?_0x410b1f['distance']-_0x284154['distance']:!!_0x284154['isAdded']!=!!_0x410b1f['isAdded']?-0x1==_0x284154['side']||0x0==_0x284154['side']?_0x284154['isAdded']?-0x1:0x1:_0x284154['isAdded']?0x1:-0x1:_0x284154['index']-_0x410b1f['index']),{'commonTape':_0x29ad55,'iEnd':_0x54d8c4,'jEnd':_0x3990d8};function _0x3be11e(_0x270ba2,_0x209d2c,_0x55687f){let _0x5745ca=-0x1,_0x23e958=Number['POSITIVE_INFINITY'],_0x27c731=!0x0;for(let _0x118a57=_0x209d2c;_0x118a57<_0x55687f;_0x118a57++)if(_0x5e0640['isInline'](_0x270ba2[_0x118a57]['item'])||(_0x27c731=!0x1),_0x270ba2[_0x118a57]['item']['startIndex']<_0x209d2c&&(_0x5745ca=_0x118a57),_0x270ba2[_0x118a57]['item']['endIndex']>=_0x55687f){_0x23e958=_0x118a57;break;}_0x27c731&&(_0x5745ca=_0x55687f-0x1);for(let _0x3eedcd=_0x209d2c;_0x3eedcd<_0x55687f;_0x3eedcd++)_0x270ba2[_0x3eedcd]['side']=_0x3eedcd<=_0x5745ca?-0x1:_0x3eedcd<_0x23e958?0x0:0x1,_0x270ba2[_0x3eedcd]['index']=_0x3eedcd;let _0x30414a=0x0;for(let _0x1b9222=_0x209d2c;_0x1b9222<=_0x5745ca;_0x1b9222++)0x0==_0x270ba2[_0x1b9222]['distance']?_0x270ba2[_0x1b9222]['level']=_0x30414a:(_0x30414a++,_0x270ba2[_0x1b9222]['level']=_0x30414a,_0x30414a++);for(let _0x344a6f=_0x209d2c;_0x344a6f<_0x55687f;_0x344a6f++)0x0==_0x270ba2[_0x344a6f]['side']&&(_0x270ba2[_0x344a6f]['level']=_0x30414a);_0x30414a=0x0;for(let _0x3609bd=_0x55687f-0x1;_0x3609bd>=_0x23e958;_0x3609bd--)0x0==_0x270ba2[_0x3609bd]['distance']?_0x270ba2[_0x3609bd]['level']=_0x30414a:(_0x30414a--,_0x270ba2[_0x3609bd]['level']=_0x30414a,_0x30414a--);}}['_fixObsoleteTags'](_0x4fd0e8){const _0x408b6c=new Map(),_0x13f629=this['editor']['model']['schema'];for(let _0x40c202=0x1;_0x40c202<_0x4fd0e8['length'];_0x40c202++){let _0x3cf7bb,_0x442e0d,_0x1a3893;const _0x53a594=_0x4fd0e8[_0x40c202],_0x4e1e99=_0x4fd0e8[_0x40c202-0x1];if('text'==_0x53a594['type'])continue;if(_0x53a594['type']!=_0x4e1e99['type'])continue;if(!_0x13f629['isBlock'](_0x4e1e99['item'])||_0x13f629['isLimit'](_0x4e1e99['item']))continue;if(!_0x13f629['isBlock'](_0x53a594['item'])||_0x13f629['isLimit'](_0x53a594['item']))continue;if((_0x4fd0e8[_0x40c202]['isAdded']||_0x4fd0e8[_0x40c202]['isAddSuggestion'])&&_0x4fd0e8[_0x40c202-0x1]['isRemoved'])_0x3cf7bb=_0x4fd0e8[_0x40c202],_0x442e0d=_0x4fd0e8[_0x40c202-0x1],_0x1a3893=_0x40c202-0x1;else{if(!_0x4fd0e8[_0x40c202]['isRemoved']||!_0x4fd0e8[_0x40c202-0x1]['isAdded']&&!_0x4fd0e8[_0x40c202-0x1]['isAddSuggestion'])continue;_0x3cf7bb=_0x4fd0e8[_0x40c202-0x1],_0x442e0d=_0x4fd0e8[_0x40c202],_0x1a3893=_0x40c202;}const _0x32d831=_0x3cf7bb['level']==_0x442e0d['level'],_0x3cab3a=Math['abs'](_0x3cf7bb['level'])<Math['abs'](_0x442e0d['level'])&&0x0==_0x442e0d['distance'];(_0x32d831||_0x3cab3a)&&(_0x408b6c['set'](_0x442e0d['id'],_0x3cf7bb['id']),_0x4fd0e8['splice'](_0x1a3893,0x1),_0x40c202--,_0x3cf7bb['isAdded']=!0x1);}for(let _0x23ae03=0x0;_0x23ae03<_0x4fd0e8['length'];_0x23ae03++)_0x408b6c['has'](_0x4fd0e8[_0x23ae03]['pairId'])&&(_0x4fd0e8[_0x23ae03]['pairId']=_0x408b6c['get'](_0x4fd0e8[_0x23ae03]['pairId']));}['_removeMissingPairs'](_0x17c900){const _0xbd712b=new Set(_0x17c900['map'](_0x2c6bbd=>_0x2c6bbd['id']));for(let _0x184887=0x0;_0x184887<_0x17c900['length'];_0x184887++)_0xbd712b['has'](_0x17c900[_0x184887]['pairId'])||0x0==_0x17c900[_0x184887]['distance']||(_0x17c900[_0x184887]['isIncorrect']=!0x0);return _0x17c900['filter'](_0x332936=>!_0x332936['isIncorrect']);}['_markMismatchedRemovedTags'](_0x1a1f75){const _0x360a36=new Set();for(let _0x32a5b0=0x0;_0x32a5b0<_0x1a1f75['length'];_0x32a5b0++){if(_0x360a36['has'](_0x1a1f75[_0x32a5b0]['id'])&&_0x1a1f75[_0x32a5b0]['isRemoved']&&(_0x1a1f75[_0x32a5b0]['isIncorrect']=!0x0),_0x1a1f75[_0x32a5b0]['isIncorrect'])continue;if(0x0==_0x1a1f75[_0x32a5b0]['distance'])continue;if('elementStart'!=_0x1a1f75[_0x32a5b0]['type'])continue;if(null==_0x1a1f75[_0x32a5b0]['pairId'])continue;let _0x38ec9c=_0x32a5b0+0x1,_0x1c2d8d=0x0;for(;_0x1a1f75[_0x38ec9c]['id']!=_0x1a1f75[_0x32a5b0]['pairId'];)'elementStart'==_0x1a1f75[_0x38ec9c]['type']?_0x1c2d8d++:'elementEnd'==_0x1a1f75[_0x38ec9c]['type']&&_0x1c2d8d--,_0x38ec9c++;if(0x0!=_0x1c2d8d){if(_0x1a1f75[_0x32a5b0]['isRemoved'])_0x1a1f75[_0x32a5b0]['isIncorrect']=!0x0;else{for(;_0x38ec9c!=_0x32a5b0;)_0x1a1f75[_0x38ec9c]['isRemoved']&&0x0!=_0x1a1f75[_0x38ec9c]['distance']&&(_0x1a1f75[_0x38ec9c]['isIncorrect']=!0x0,_0x360a36['add'](_0x1a1f75[_0x38ec9c]['pairId'])),_0x38ec9c--;}}}return _0x1a1f75['filter'](_0x3e7947=>!_0x3e7947['isIncorrect']);}['_removeUnsupportedChanges'](_0x2f0639){const _0xcbf95d=this['editor']['model']['schema'];for(let _0x56ec88=0x0;_0x56ec88<_0x2f0639['length'];_0x56ec88++){if(!(_0x2f0639[_0x56ec88]['isAdded']||_0x2f0639[_0x56ec88]['isAddSuggestion']||_0x2f0639[_0x56ec88]['isRemoved']||_0x2f0639[_0x56ec88]['isRemoveSuggestion']))continue;if(0x0==_0x2f0639[_0x56ec88]['distance'])continue;const _0x1e1dd7=_0x2f0639[_0x56ec88]['item'];_0xcbf95d['isBlock'](_0x1e1dd7)||_0xcbf95d['isLimit'](_0x1e1dd7)||(_0x2f0639[_0x56ec88]['isAdded']&&delete _0x2f0639[_0x56ec88]['isAdded'],_0x2f0639[_0x56ec88]['isAddSuggestion']&&delete _0x2f0639[_0x56ec88]['isAddSuggestion'],_0x2f0639[_0x56ec88]['isRemoveSuggestion']&&delete _0x2f0639[_0x56ec88]['isRemoveSuggestion'],_0x2f0639[_0x56ec88]['isRemoved']&&(_0x2f0639[_0x56ec88]['isIncorrect']=!0x0));}return _0x2f0639['filter'](_0x324147=>!_0x324147['isIncorrect']);}['_makeModelFromTape'](_0x329ed6,_0x48b74b,_0x5dc3ea){const _0x381186=new wt(),_0x1c6b4a=[],_0x184606=new Map(),_0x2e5c4d=this['editor']['model'],_0x17691d=_0x2e5c4d['schema'],_0x3eb362=[_0x381186],_0x4a2023={},_0x3d4eda={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x1b63b1=null;const _0x4eaada=[0x0];for(let _0x541be7=0x0;_0x541be7<_0x329ed6['length'];_0x541be7++){let _0x47ebd5,_0x5e69cc;if('elementStart'===_0x329ed6[_0x541be7]['type']){_0x47ebd5=_0x2e5c4d['createPositionFromPath'](_0x381186,_0x4eaada);const _0x37ac6e=new ft(_0x329ed6[_0x541be7]['item']['name'],_0x329ed6[_0x541be7]['item']['getAttributes']());_0x3eb362[0x0]['_appendChild'](_0x37ac6e),_0x4eaada['push'](0x0),_0x3eb362['unshift'](_0x37ac6e),_0x5e69cc=_0x2e5c4d['createPositionFromPath'](_0x381186,_0x4eaada),_0x1b63b1=null;}else{if('elementEnd'===_0x329ed6[_0x541be7]['type'])_0x3eb362['shift'](),_0x47ebd5=_0x2e5c4d['createPositionFromPath'](_0x381186,_0x4eaada),_0x4eaada['pop'](),_0x4eaada[_0x4eaada['length']-0x1]++,_0x5e69cc=_0x2e5c4d['createPositionFromPath'](_0x381186,_0x4eaada),_0x1b63b1=null;else{if(_0x47ebd5=_0x2e5c4d['createPositionFromPath'](_0x381186,_0x4eaada),_0x1b63b1&&_0x1845ca(_0x1b63b1,_0x329ed6[_0x541be7]['item']))_0x1b63b1['_data']+=_0x329ed6[_0x541be7]['item']['data'];else{const _0x1bf2b3=new _t(_0x329ed6[_0x541be7]['item']['data'],_0x329ed6[_0x541be7]['item']['getAttributes']());_0x3eb362[0x0]['_appendChild'](_0x1bf2b3),_0x1b63b1=_0x1bf2b3;}_0x4eaada[_0x4eaada['length']-0x1]+=_0x329ed6[_0x541be7]['item']['offsetSize'],_0x5e69cc=_0x2e5c4d['createPositionFromPath'](_0x381186,_0x4eaada);}}for(const _0x173a90 of _0x329ed6[_0x541be7]['markersStart'])_0x184606['set'](_0x173a90,{'start':_0x47ebd5,'end':null});_0x8bf03('isRemoveSuggestion',_0x541be7,_0x47ebd5,_0x5e69cc),_0x8bf03('isAddSuggestion',_0x541be7,_0x47ebd5,_0x5e69cc),_0x8bf03('isRemoved',_0x541be7,_0x47ebd5,_0x5e69cc),_0x8bf03('isAdded',_0x541be7,_0x47ebd5,_0x5e69cc);for(const _0x1a30d8 of _0x329ed6[_0x541be7]['markersEnd']){_0x184606['get'](_0x1a30d8)['end']=_0x5e69cc;}}for(const [_0x588e21,_0x1b75ad]of _0x184606){const _0xd77c5f=this['editor']['model']['createRange'](_0x1b75ad['start'],_0x1b75ad['end']);_0x381186['markers']['set'](_0x588e21,_0xd77c5f);}return _0x1c6b4a['sort']((_0xbfabe0,_0xa7361c)=>{const _0x107c71=_0x381186['markers']['get']('revision:'+_0xbfabe0['id']),_0xd463dc=_0x381186['markers']['get']('revision:'+_0xa7361c['id']);return _0x107c71['start']['isBefore'](_0xd463dc['start'])?-0x1:_0x107c71['start']['isAfter'](_0xd463dc['start'])?0x1:_0x107c71['end']['isBefore'](_0xd463dc['end'])?-0x1:_0x107c71['end']['isAfter'](_0xd463dc['end'])?0x1:'add'===_0xbfabe0['type']?-0x1:0x1;}),{'root':_0x381186,'changes':_0x1c6b4a};function _0x8bf03(_0x24758f,_0x30714e,_0x4c4485,_0x2c8125){const _0x59e1c7=!!_0x329ed6[_0x30714e][_0x24758f],_0x446eed=_0x59e1c7?_0x329ed6[_0x30714e][_0x24758f]['userId']:null,_0x5896de=_0x30714e===_0x329ed6['length']-0x1,_0x4adec5=_0x3d4eda[_0x24758f][0x0],_0x53fdf9=_0x17691d['isObject'](_0x329ed6[_0x30714e]['item']);!_0x4a2023[_0x24758f]&&_0x59e1c7?_0x4a2023[_0x24758f]={'start':_0x4c4485,'tapeItem':_0x329ed6[_0x30714e],'userId':_0x446eed,'type':_0x24758f}:_0x4a2023[_0x24758f]&&!_0x59e1c7?(_0x4a2023[_0x24758f]['end']=_0x4c4485,_0x34b4ec(_0x4a2023[_0x24758f]),_0x4a2023[_0x24758f]=null):_0x4a2023[_0x24758f]&&_0x59e1c7&&_0x4a2023[_0x24758f]['userId']!==_0x446eed&&(_0x4a2023[_0x24758f]['end']=_0x4c4485,_0x4adec5&&_0x4adec5['userId']===_0x4a2023[_0x24758f]['userId']||_0x34b4ec(_0x4a2023[_0x24758f]),_0x4a2023[_0x24758f]={'start':_0x4c4485,'tapeItem':_0x329ed6[_0x30714e],'userId':_0x446eed,'type':_0x24758f}),_0x4a2023[_0x24758f]&&_0x53fdf9&&('elementStart'!==_0x329ed6[_0x30714e]['type']||_0x4adec5&&_0x4adec5['userId']===_0x446eed||_0x3d4eda[_0x24758f]['unshift']({'userId':_0x446eed,'object':_0x329ed6[_0x30714e]['item'],'change':_0x4a2023[_0x24758f]}),'elementEnd'===_0x329ed6[_0x30714e]['type']&&_0x4adec5&&_0x4adec5['object']===_0x329ed6[_0x30714e]['item']&&(_0x3d4eda[_0x24758f]['shift'](),_0x4a2023[_0x24758f]=_0x4adec5['change'])),_0x4a2023[_0x24758f]&&_0x5896de&&(_0x4a2023[_0x24758f]['end']=_0x2c8125,_0x34b4ec(_0x4a2023[_0x24758f]),_0x4a2023[_0x24758f]=null);}function _0x34b4ec({start:_0x1d83bd,end:_0x3f7d56,tapeItem:_0x3532ee,userId:_0x414b7e,type:_0x339534}){const _0x4ecd6b=_0x3532ee['item'],_0x545034=_0x2e5c4d['schema']['isBlock'](_0x4ecd6b)&&!_0x2e5c4d['schema']['isLimit'](_0x4ecd6b),_0x7a53b9=_0x1d83bd['nodeAfter']==_0x3f7d56['parent']&&_0x3f7d56['isAtStart'];if(_0x545034&&_0x7a53b9)return;const _0x157ad7=_0x2e5c4d['createRange'](_0x1d83bd,_0x3f7d56),_0x35c1bf=_0x48b74b['get'](_0x414b7e),_0x28d102=new r({'author':_0x35c1bf,'type':'isAdded'==_0x339534||'isAddSuggestion'==_0x339534?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x339534||'isRemoveSuggestion'==_0x339534},'createdAt':new Date(),'rootName':_0x5dc3ea});_0x1c6b4a['push'](_0x28d102),_0x381186['markers']['set']('revision:'+_0x28d102['id'],_0x157ad7);}function _0x1845ca(_0x3a2935,_0x1b33a3){const _0x571b2b=_0x3a2935['getAttributes'](),_0x5bbc28=_0x1b33a3['getAttributes']();for(const _0x245ea8 of _0x571b2b){if(_0x245ea8[0x1]!==_0x1b33a3['getAttribute'](_0x245ea8[0x0]))return!0x1;_0x5bbc28['next']();}return _0x5bbc28['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x4f9c4b=>{const _0x2c2229=_0x4f9c4b['markerName']['split'](':')[0x1],_0x336644=this['_getChangeFromId'](_0x2c2229);if(!_0x336644)return null;const _0x1611e5='add'==_0x336644['type']?'insertion':'deletion',_0x4dfb31=['ck-suggestion-marker','ck-suggestion-marker-'+_0x1611e5];return _0x336644['data']['isSuggestion']&&_0x4dfb31['push']('ck-suggestion-marker-'+_0x1611e5+'-new'),this['activeChange']==_0x336644&&_0x4dfb31['push']('ck-suggestion-marker--active'),{'classes':_0x4dfb31,'attributes':{'data-change-id':_0x2c2229}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x2d63b6=>{_0x2d63b6['on']('element:pre',(_0xc55331,_0xa63deb,_0x4f5139)=>{const _0x5a13d2=_0xa63deb['viewItem']['getChild'](0x0);if(!_0x5a13d2||!_0x5a13d2['is']('element','code'))return;if(!_0x4f5139['consumable']['consume'](_0x5a13d2,{'attributes':['vid_start','vid_end']}))return;const _0x4a3e0f=_0xa63deb['modelRange']['start']['nodeAfter'];_0x4f5139['writer']['setAttribute']('vid_start',_0x5a13d2['getAttribute']('vid_start'),_0x4a3e0f),_0x4f5139['writer']['setAttribute']('vid_end',_0x5a13d2['getAttribute']('vid_end'),_0x4a3e0f);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x3a45f8=>{_0x3a45f8['on']('element',(_0x68c51,_0x4e81f6,_0x2abbfa)=>{if(!_0x2abbfa['consumable']['consume'](_0x4e81f6['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x4e81f6['modelRange']['isCollapsed'])return;const _0x192748=_0x4e81f6['modelRange']['start']['nodeAfter'];_0x192748['hasAttribute']('vid_start')||_0x192748['hasAttribute']('vid')||(_0x2abbfa['writer']['setAttribute']('vid_start',_0x4e81f6['viewItem']['getAttribute']('vid_start'),_0x192748),_0x2abbfa['writer']['setAttribute']('vid_end',_0x4e81f6['viewItem']['getAttribute']('vid_end'),_0x192748));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x305357=>_0x305357['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x598f25,[,_0x5954d5])=>{['vid_start','vid_end','vid']['includes'](_0x5954d5)&&(_0x598f25['return']=!0x0,_0x598f25['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x1c5c3c=>{_0x1c5c3c['on']('attribute:vid',(_0x1c005e,_0x3eee44,_0x159ee0)=>{if('\x20'!=_0x3eee44['item']['data']||_0x3eee44['item']['parent']['maxOffset']>0x1)return;if(!_0x159ee0['consumable']['consume'](_0x3eee44['item'],_0x1c005e['name']))return;const _0x101a8a=_0x159ee0['writer'],_0x597525=_0x159ee0['mapper']['toViewRange'](_0x3eee44['range']);_0x101a8a['wrap'](_0x597525,_0x101a8a['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0xf68fbe){const _0x1ab011=_0xf68fbe['plugins']['get']('RevisionViewer');return(_0x293f56,_0x44ede0,_0x13945e)=>{const _0x336998=_0x44ede0['markerName']['split'](':')[0x1],_0x57db3b=_0x1ab011['_getChangeFromId'](_0x336998);if(!_0x57db3b)return null;const _0x1bc890='add'==_0x57db3b['type']?'split':'merge';if(!_0x13945e['consumable']['test'](_0x44ede0['markerRange'],_0x293f56['name']))return;const _0x2f47fa=_0x44ede0['markerRange']['getWalker'](),_0x3fd36a=_0x44ede0['markerRange']['start'],_0x568524=_0xf68fbe['model']['schema'];let _0x1e6a41=null,_0x2a4b95=null,_0x72d987=!0x1,_0x5b0f7b=!0x1;for(const _0x13c4b2 of _0x2f47fa){const _0x4a5d18=_0x13c4b2['item'];_0x72d987=_0x72d987||_0x568524['isContent'](_0x4a5d18);const _0x2340bc=_0x13945e['mapper']['toViewElement'](_0x4a5d18);if(_0x2340bc&&_0x2340bc['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x13c4b2['type']&&(_0x568524['isBlock'](_0x4a5d18)&&!_0x568524['isLimit'](_0x4a5d18)&&(_0x4a5d18['nextSibling']||_0x3fd36a['isAtEnd']?_0x1e6a41&&_0x1e6a41['parent']==_0x4a5d18||(_0x1e6a41=_0x4a5d18,_0x22f42a(_0x13c4b2['previousPosition']),_0x5b0f7b=!0x0):_0x2a4b95=_0x2a4b95||_0x13c4b2['previousPosition']));}function _0x22f42a(_0x1332c3){const _0x5b1795=_0x13945e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1bc890}),_0x435633=_0x13945e['mapper']['toViewPosition'](_0x1332c3);_0x57db3b['data']['isSuggestion']&&_0x13945e['writer']['addClass']('ck-suggestion-marker-'+_0x1bc890+'-new',_0x5b1795),_0x1ab011['activeChange']==_0x57db3b&&_0x13945e['writer']['addClass']('ck-suggestion-marker--active',_0x5b1795),_0x13945e['writer']['insert'](_0x435633,_0x5b1795),_0x13945e['mapper']['bindElementToMarker'](_0x5b1795,_0x44ede0['markerName']);}_0x72d987||_0x5b0f7b||!_0x2a4b95||_0x22f42a(_0x2a4b95);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x5b32da,_0x513814,_0x572723)=>{const _0x3f8185=_0x572723['mapper']['markerNameToElements'](_0x513814['markerName']);if(_0x3f8185){for(const _0x4d8633 of _0x3f8185)(_0x4d8633['hasClass']('ck-suggestion-marker-split')||_0x4d8633['hasClass']('ck-suggestion-marker-merge'))&&(_0x572723['mapper']['unbindElementFromMarkerName'](_0x4d8633,_0x513814['markerName']),_0x572723['writer']['remove'](_0x4d8633));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x3059fa,_0x344422,_0x508267)=>{const _0x43cfb1=_0x344422['markerName']['split'](':')[0x1],_0x15f007=this['_getChangeFromId'](_0x43cfb1);if(!_0x15f007)return null;const _0x3e4102='add'==_0x15f007['type']?'split':'merge';if(_0x508267['consumable']['test'](_0x344422['markerRange'],_0x3059fa['name']))for(const _0x3ca716 of _0x344422['markerRange']['getItems']()){if(!_0x3ca716['is']('element','softBreak'))continue;const _0xfe11e7=_0x508267['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3e4102}),_0x1352a6=_0x508267['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x3ca716));_0x15f007['data']['isSuggestion']&&_0x508267['writer']['addClass']('ck-suggestion-marker-'+_0x3e4102+'-new',_0xfe11e7),this['activeChange']==_0x15f007&&_0x508267['writer']['addClass']('ck-suggestion-marker--active',_0xfe11e7),_0x508267['writer']['insert'](_0x1352a6,_0xfe11e7),_0x508267['mapper']['bindElementToMarker'](_0xfe11e7,_0x344422['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x29dbaa=>{for(const _0x389e5b of this['editor']['model']['document']['getRootNames']()){const _0x51a013=this['editor']['model']['document']['getRoot'](_0x389e5b),_0x28270c=this['editor']['editing']['view']['document']['getRoot'](_0x389e5b);if(_0x28270c){const _0x3f45ca=_0x51a013['getAttribute']('revisionHistoryAttachChange');if(_0x29dbaa['removeAttribute']('data-change-id',_0x28270c),_0x29dbaa['removeClass']('ck-revision-history-root-add',_0x28270c),_0x29dbaa['removeClass']('ck-revision-history-root-remove',_0x28270c),_0x29dbaa['removeClass']('ck-revision-history-root--active',_0x28270c),_0x3f45ca){const _0x1575db=this['_getChangeFromId'](_0x3f45ca);if(!_0x1575db)return null;_0x29dbaa['setAttribute']('data-change-id',_0x3f45ca,_0x28270c),_0x29dbaa['addClass']('ck-revision-history-root-'+_0x1575db['type'],_0x28270c),this['activeChange']==_0x1575db&&_0x29dbaa['addClass']('ck-revision-history-root--active',_0x28270c);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x4b389f=>'revision-comment:'+_0x4b389f,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x48cf0b=>'revision-suggestion:'+_0x48cf0b,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x1be2df=>({'name':'suggestion:'+_0x1be2df,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x565d73=>{const _0x272bf2=_0x565d73['markerName']['split'](':')[0x1];return'insertion'!=_0x272bf2&&'deletion'!=_0x272bf2?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x272bf2]};}}),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',(_0x28291f,_0x3ad1c2,_0x2fccaa)=>{const _0x3e6b87=_0x2fccaa['mapper']['markerNameToElements'](_0x3ad1c2['markerName']);if(_0x3e6b87){for(const _0x157ece of _0x3e6b87)_0x157ece['is']('uiElement')&&(_0x2fccaa['mapper']['unbindElementFromMarkerName'](_0x157ece,_0x3ad1c2['markerName']),_0x2fccaa['writer']['remove'](_0x157ece));}},{'priority':'high'});}['_getChangeFromId'](_0x20858f){return this['_changeIdToChange']['get'](_0x20858f);}['_getViewForChange'](_0x23f25b){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x23f25b),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x4fc421,_0x5deab7,_0x26cc3d,_0x360a2b)=>{_0x360a2b&&this['_balloon']['remove'](_0x360a2b),_0x26cc3d&&(this['_balloon']['add']({'view':_0x26cc3d,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x27cf64=this['editor']['editing'],_0x572ac9=this['_getChangeFromId'](_0x26cc3d['changeId']);let _0x236d90;if(_0x572ac9['data']['isOnRoot']){const _0x1d317c=_0x27cf64['view']['getDomRoot'](_0x572ac9['rootName']);_0x236d90=Array['from'](_0x1d317c['getClientRects']());}else{const _0x108726=this['editor']['model']['markers']['get']('revision:'+_0x26cc3d['changeId']);_0x236d90=Array['from'](_0x27cf64['mapper']['markerNameToElements'](_0x108726['name']))['map'](_0x408a7e=>_0x27cf64['view']['domConverter']['mapViewToDom'](_0x408a7e))['map'](_0x44af22=>Array['from'](_0x44af22['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x236d90[0x0];return _0x236d90['find'](_0x1150e5=>_0x1150e5['top']-0x3<=this['_activeViewTarget']['y']&&_0x1150e5['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x1150e5['left']-0x3<=this['_activeViewTarget']['x']&&_0x1150e5['right']+0x3>=this['_activeViewTarget']['x'])||_0x236d90[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x3c7b7e,_0x5cce53,_0x4d16fe,_0x5871b0)=>{this['activeView']=_0x4d16fe?this['_getViewForChange'](_0x4d16fe):null,this['editor']['model']['change'](()=>{const _0x53d837=this['editor']['editing'];_0x5871b0&&(_0x5871b0['data']['isOnRoot']?_0x53d837['view']['change'](_0x2bed2d=>{_0x2bed2d['removeClass']('ck-revision-history-root--active',_0x53d837['view']['document']['getRoot'](_0x5871b0['rootName']));}):_0x53d837['reconvertMarker']('revision:'+_0x5871b0['id'])),_0x4d16fe&&(_0x4d16fe['data']['isOnRoot']?_0x53d837['view']['change'](_0x2cf887=>{_0x2cf887['addClass']('ck-revision-history-root--active',_0x53d837['view']['document']['getRoot'](_0x4d16fe['rootName']));}):_0x53d837['reconvertMarker']('revision:'+_0x4d16fe['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x364f4e,_0xc6e4a2)=>{if(this['activeChange'])return;const _0x232dd1=this['_findChangeIdFromDomTarget'](_0xc6e4a2['target']),_0x1478eb=this['_changeIdToChange']['get'](_0x232dd1);_0x1478eb?(this['_activeViewTarget']={'x':_0xc6e4a2['domEvent']['x'],'y':_0xc6e4a2['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x1478eb)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x3d3307,_0x1af6bb)=>{const _0x476668=this['_findChangeIdFromDomTarget'](_0x1af6bb['target']),_0x34af22=this['_changeIdToChange']['get'](_0x476668);_0x34af22?(this['_activeViewTarget']={'x':_0x1af6bb['domEvent']['x'],'y':_0x1af6bb['domEvent']['y']},_0x34af22===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x34af22):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x442d8a){do{const _0x256e5c=_0x442d8a['getAttribute']('data-change-id');if(_0x256e5c)return _0x256e5c;_0x442d8a=_0x442d8a['parent'];}while(_0x442d8a);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x4b76ce=>{for(const _0x316bfb of this['editor']['model']['markers'])_0x4b76ce['removeMarker'](_0x316bfb);});}}function et(_0xda46e2,_0x1cf1e7){return(_0x517573,_0x572c42,_0x377c2b)=>{if(!_0x377c2b['consumable']['test'](_0x572c42['markerRange'],_0x517573['name']))return;const _0x4d963d=_0x572c42['markerRange']['getWalker'](),_0x2f79aa=_0x572c42['markerRange']['start'],_0x25139e=_0xda46e2['model']['schema'];let _0x1e9eb6=null,_0x308164=null,_0x2b2f70=!0x1,_0x57640b=!0x1;for(const _0x2d0a1c of _0x4d963d){const _0x33ecc4=_0x2d0a1c['item'];_0x2b2f70=_0x2b2f70||_0x25139e['isContent'](_0x33ecc4);const _0x40d819=_0x377c2b['mapper']['toViewElement'](_0x33ecc4);if(_0x40d819&&_0x40d819['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x2d0a1c['type']&&(_0x25139e['isBlock'](_0x33ecc4)&&!_0x25139e['isLimit'](_0x33ecc4)&&(_0x33ecc4['nextSibling']||_0x2f79aa['isAtEnd']?_0x1e9eb6&&_0x1e9eb6['parent']==_0x33ecc4||(_0x1e9eb6=_0x33ecc4,_0x21fe72(_0x2d0a1c['previousPosition']),_0x57640b=!0x0):_0x308164=_0x308164||_0x2d0a1c['previousPosition']));}function _0x21fe72(_0x1b0167){const _0x229ca7=_0x377c2b['mapper']['toViewPosition'](_0x1b0167),_0x3acba1=_0x377c2b['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x1cf1e7});_0x377c2b['writer']['insert'](_0x229ca7,_0x3acba1),_0x377c2b['mapper']['bindElementToMarker'](_0x3acba1,_0x572c42['markerName']);}_0x2b2f70||_0x57640b||!_0x308164||_0x21fe72(_0x308164);};}class bt extends _0x3e2fc2{constructor(_0x1e7217){super(_0x1e7217);const _0x56728c=_0x1e7217['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x56728c,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x56728c,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0xf58b1c=this['editor'],_0x68ca8d=_0xf58b1c['plugins']['get'](d),_0xc3625b=_0x68ca8d['isReady']?_0x68ca8d['diff']['newRevisionId']:null;_0xf58b1c['config']['get']('revisionHistory')['restoreRevisionCallback'](_0xc3625b);}['refresh'](){const {isReady:_0x5d8509,isEnabled:_0x59f619}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x5d8509&&_0x59f619;}}class yt extends _0x3e2fc2{['_step'];constructor(_0x31910d,{direction:_0x2cb978}){super(_0x31910d);const _0x36888b=_0x31910d['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x2cb978?0x1:-0x1,this['listenTo'](_0x36888b,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x36888b,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x36888b,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x38ce2e=this['editor'],_0x2c98cf=_0x38ce2e['plugins']['get'](d),{isNavigationMode:_0x9dfdbe,currentChangeNumber:_0x47e67d}=_0x2c98cf;let _0x1bdda1;if(_0x2c98cf['activeChange']=_0x9dfdbe?_0x2c98cf['diff']['changes']['get'](_0x47e67d+this['_step']):_0x2c98cf['diff']['changes']['first'],_0x2c98cf['activeChange']['data']['isOnRoot'])_0x1bdda1=_0x38ce2e['editing']['view']['getDomRoot'](_0x2c98cf['activeChange']['rootName']);else{const _0x3266e7=_0x38ce2e['model']['markers']['get']('revision:'+_0x2c98cf['activeChange']['id']);_0x1bdda1=_0x557e1b(_0x38ce2e['editing'],_0x3266e7);}_0x24e8c4({'target':_0x1bdda1,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x3c02f5,currentChangeNumber:_0x2cf788,numberOfChanges:_0x1ba027,isReady:_0x3c19c7,isEnabled:_0x127fec}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x127fec&&_0x3c19c7&&_0x1ba027)&&(!_0x3c02f5||(0x1===this['_step']?_0x2cf788<_0x1ba027-0x1:_0x2cf788>0x0));}}class _i extends _0x4e738a{constructor(_0x84eec8){super(_0x84eec8);const _0x460ba6=this['bindTemplate'],_0x513c93=new _0x4cc0a0(_0x84eec8),_0x5e0e53=new _0x4cc0a0(_0x84eec8);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',(_0x588927,_0x1923df)=>_0x588927&&_0x1923df>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x1a8257,_0x38e5f2,_0x470406,_0x2302dc)=>{if(!_0x1a8257)return y(_0x84eec8,'Loading...');if(!_0x470406)return y(_0x84eec8,'No\x20changes');const _0xa5e957=y(_0x84eec8,'NUMBER_OF_CHANGES',_0x470406);return _0x2302dc?y(_0x84eec8,'X_OF_Y_CHANGES',[_0x38e5f2+0x1,_0x470406]):_0xa5e957;}),_0x513c93['set']({'label':y(_0x84eec8,'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'}),_0x5e0e53['set']({'label':y(_0x84eec8,'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'}),_0x513c93['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x5e0e53['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x513c93['on']('execute',()=>this['fire']('execute','backward')),_0x5e0e53['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',_0x460ba6['if']('_isStatusLabelVisible','ck-hidden',_0x3158a0=>!_0x3158a0)]},'children':[{'text':_0x460ba6['to']('isNavigationMode',_0x3bf7ec=>_0x3bf7ec?y(_0x84eec8,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x84eec8,'Total')+':\x20')}]},{'text':_0x460ba6['to']('_statusText')}]},new _0x538991(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x513c93,_0x5e0e53]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x570864{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x35acd2=this['editor']['editing']['view'];_0x35acd2['change'](_0x51418d=>{for(const _0x590276 of _0x35acd2['document']['roots'])_0x51418d['addClass'](ce,_0x590276);});}['hide'](){const _0x5f1e56=this['editor']['editing']['view'];_0x5f1e56['change'](_0x2d9984=>{for(const _0x50358d of _0x5f1e56['document']['roots'])_0x2d9984['removeClass'](ce,_0x50358d);});}}class R extends _0x570864{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x529f14=this['editor'],_0x40b5a6=_0x529f14['plugins']['get'](d),_0x47ecbd=_0x529f14['plugins']['get'](de);_0x529f14['ui']['componentFactory']['add']('exitToEditing',_0x32ce71=>{const _0x12320d=new _0x4cc0a0(_0x32ce71);return _0x12320d['set']({'label':y(_0x32ce71,'Back\x20to\x20editing'),'icon':_0xa39abc['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x12320d,'execute',()=>{_0x529f14['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x12320d;}),_0x529f14['ui']['componentFactory']['add']('restoreRevision',_0x33f8e5=>{const _0x442501=new _0x4cc0a0(_0x33f8e5);return _0x442501['set']({'label':y(_0x33f8e5,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x442501['bind']('isEnabled')['to'](_0x529f14['commands']['get']('restoreRevision')),this['listenTo'](_0x442501,'execute',()=>_0x529f14['execute']('restoreRevision')),_0x442501;}),_0x529f14['ui']['componentFactory']['add']('changesNavigation',_0x17a222=>{const _0xe3d858=new _i(_0x17a222),_0xef298b=_0x529f14['commands']['get']('showPreviousChange'),_0x4e4ab7=_0x529f14['commands']['get']('showNextChange');return _0xe3d858['bind']('isBackwardNavigationEnabled')['to'](_0xef298b,'isEnabled'),_0xe3d858['bind']('isForwardNavigationEnabled')['to'](_0x4e4ab7,'isEnabled'),_0xe3d858['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x40b5a6),this['listenTo'](_0xe3d858,'execute',(_0x2566f9,_0x328512)=>{_0x529f14['execute']('forward'===_0x328512?'showNextChange':'showPreviousChange');}),_0xe3d858;}),_0x47ecbd['show'](),_0x40b5a6['on']('change:isReady',(_0x284918,_0x5732ea,_0x48a8ba)=>{_0x48a8ba?_0x47ecbd['hide']():_0x47ecbd['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x1e5044,_0x8ab995){super(_0x1e5044,_0x8ab995);const _0xbd4ead=this['bindTemplate'];this['set']({'label':y(_0x1e5044,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x1e5044,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0xbd4ead['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 _0x13495d=this['fieldView']['element'];this['_tooltipString']=_0x13495d['scrollWidth']>_0x13495d['clientWidth']&&_0x13495d['value']||'';}}class ti extends _0x4e738a{constructor(_0x49640e,_0x2e775f,_0x22dc70){super(_0x49640e);const _0x2c17a9=new _0x2b9afc();_0x2c17a9['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 _0x5b82d1=['ck','ck-revision-history-sidebar__revision-author'];_0x22dc70&&_0x5b82d1['push']('ck-revision-history-sidebar__revision-author_creator');const _0x4bf171=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x49640e,_0x22dc70?'Revision\x20creator':'Revision\x20author')},'children':[_0x2c17a9,_0x2e775f['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x5b82d1},'children':_0x4bf171});}}function ni(_0x17ca8b,_0x664703){const _0x35b109=_0x17ca8b['bindTemplate'],_0x4f7119=_0x17ca8b['locale'],_0x2e74db=_0x187e19(_0x4f7119);_0x2e74db['panelPosition']='sw';const _0x2dce7b=function(_0x3388a9,_0x4c9c51){const _0x5e6bbd=function(_0x5a4c98,_0x5b5bb5){const _0x3820cf=_0x5a4c98['locale'],_0x4ec4c2={'Compare\x20against\x20selected':y(_0x3820cf,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x3820cf,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x3820cf,'Restore\x20this\x20revision')};return _0x5b5bb5['map'](_0x31fc57=>{const _0x30b46f=_0x4ec4c2[_0x31fc57['name']];return _0x30b46f&&_0x30b46f!==_0x31fc57['name']&&(_0x31fc57['name']=_0x30b46f),_0x31fc57;});}(_0x3388a9,_0x4c9c51),_0x18829b=new _0x12c280();for(const _0x58a22a of _0x5e6bbd){const _0x15cba5={'type':'button','model':new to({'label':_0x58a22a['name'],'class':_0x58a22a['class'],'withText':!0x0,'role':'menuitem','_action':_0x58a22a['action']})};_0x15cba5['model']['bind']('isEnabled')['to'](_0x3388a9,'isActionsDropdownOpen',_0x501be9=>'function'!=typeof _0x58a22a['isEnabled']||(!_0x501be9||_0x58a22a['isEnabled'](_0x3388a9))),_0x18829b['add'](_0x15cba5);}return _0x18829b;}(_0x17ca8b,_0x664703);return _0x17ca8b['bind']('isActionsDropdownOpen')['to'](_0x2e74db,'isOpen'),_0x2e74db['buttonView']['set']({'label':y(_0x4f7119,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0xa39abc['threeVerticalDots']}),_0x2e74db['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x35b109['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x35b109['to'](_0x555fe3=>_0x555fe3['stopPropagation']())}}),_0x2e74db['on']('execute',_0x96f296=>{_0x17ca8b['isReady']&&'function'==typeof _0x96f296['source']['_action']&&_0x96f296['source']['_action'](_0x17ca8b);}),_0x3b884b(_0x2e74db,_0x2dce7b,{'role':'menu'}),_0x2e74db['listenTo'](_0x17ca8b,'change:isActionsDropdownOpen',(_0x5ef5d2,_0x361415,_0x19eb63)=>{if(_0x19eb63)for(const _0x1d0b44 of _0x2e74db['listView']['items']){const _0x6d71c1=_0x1d0b44['children']['first'],_0x42d181=_0x664703['find'](_0x3a446a=>_0x3a446a['action']===_0x6d71c1['_action'])['isVisible'];_0x1d0b44['isVisible']=void 0x0===_0x42d181||_0x42d181(_0x17ca8b);}}),_0x2e74db;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x574ea2(_0x4e738a){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x55fcd3,_0x106827,_0x2bb5e9,_0x4302b6){super(_0x55fcd3);const _0x34a5a2=this['bindTemplate'],_0x20106e=function(_0x9f294d,_0x52c279){const _0x38caf7=Array['from'](_0x52c279['authors'])['filter'](_0x1436a4=>_0x1436a4!=_0x52c279['creator']);return _0x52c279['creator']&&_0x38caf7['unshift'](_0x52c279['creator']),_0x38caf7['map'](_0x3c29cb=>new ti(_0x9f294d,_0x3c29cb,_0x3c29cb==_0x52c279['creator']));}(_0x55fcd3,_0x106827);this['id']=_0x106827['id'],this['_revision']=_0x106827,this['_requireRevisionName']=_0x4302b6,this['bind']('name','createdAt')['to'](_0x106827),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x3f63e9=>{return _0x4d564d=_0x55fcd3['uiLanguage'],(_0xd9f22e=_0x3f63e9)['toLocaleDateString'](_0x4d564d,{'month':'long','day':'numeric'})+',\x20'+_0xd9f22e['toLocaleTimeString'](_0x4d564d,{'hour':'numeric','minute':'numeric'});var _0x4d564d,_0xd9f22e;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x55fcd3,_0x32656c),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x1b51e0=>_0x1b51e0||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x4ff3a1,_0x6f171c)=>_0x4ff3a1&&_0x6f171c),this['revisionActionsView']=_0x2bb5e9&&_0x2bb5e9['length']?ni(this,_0x2bb5e9):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x34a5a2['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x34a5a2['if']('isEnabled','ck-disabled',_0x50a7ec=>!_0x50a7ec),_0x34a5a2['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x34a5a2['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x34a5a2['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':_0x34a5a2['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':_0x20106e}]},this['revisionActionsView']],'on':{'click':_0x34a5a2['to'](_0x1f18f2=>{_0x1f18f2['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x26c1ed=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x26c1ed,'change',()=>{this['_requireRevisionName']&&!_0x26c1ed['value']||this['fire']('setName',{'id':this['id'],'name':_0x26c1ed['value']}),_0x26c1ed['value']||(_0x26c1ed['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(_0x2b54dc,_0x568a0e){const _0x2ee9b8=_0x5df281['fromJSDate'](_0x2b54dc)['setLocale'](_0x568a0e),_0x38bc29=_0x5df281['local'](),_0x11dae0=_0x38bc29['minus']({'days':0x1})['startOf']('day');let _0x116f87,_0x2a5e27;return _0x2ee9b8['hasSame'](_0x38bc29,'day')?(_0x116f87=_0x2ee9b8['startOf']('day')['toJSDate'](),_0x2a5e27=_0x2ee9b8['toRelativeCalendar']()):_0x2ee9b8['hasSame'](_0x11dae0,'day')?(_0x116f87=_0x11dae0['toJSDate'](),_0x2a5e27=_0x2ee9b8['toRelativeCalendar']()):_0x2ee9b8['hasSame'](_0x38bc29,'week')?(_0x116f87=_0x2ee9b8['startOf']('week')['toJSDate'](),_0x2a5e27=_0x2ee9b8['weekdayLong']||''):_0x2ee9b8['hasSame'](_0x38bc29,'year')?(_0x116f87=_0x2ee9b8['startOf']('month')['toJSDate'](),_0x2a5e27=_0x2ee9b8['monthLong']||''):(_0x116f87=_0x2ee9b8['startOf']('year')['toJSDate'](),_0x2a5e27=String(_0x2ee9b8['year'])),{'startDate':_0x116f87,'localizedPeriodName':_0x2a5e27};}class mi extends _0x4e738a{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x97852,_0x4c0a25,_0xb6c537,_0x2d91cf){super(_0x97852);const _0x17d905=di(_0x4c0a25,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x4c0a25,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0xb6c537,this['_requireRevisionName']=_0x2d91cf,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':_0x17d905}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x12eb20){const _0x410771=new ai(this['locale'],_0x12eb20,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x410771);}['removeRevision'](_0x49c124){const _0x508eff=this['revisionViews']['find'](_0x64f324=>_0x64f324['id']===_0x49c124['id']);this['revisionViews']['remove'](_0x508eff);}}class as extends _0x4e738a{constructor(_0x27a763){super(_0x27a763);const _0x599ee7=new _0x2b9afc();_0x599ee7['content']=_0xa39abc['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x599ee7,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x27a763,'Revision\x20history')]}]});}}class ci extends _0x4e738a{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x151172,_0x576b77,_0x50ec49,_0x24cba3){super(_0x151172);const _0x49a6fd=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x576b77,this['_revisionActions']=_0x50ec49,this['_requireRevisionName']=_0x24cba3,this['on']('select',(_0x279ea5,_0x22d47a)=>{this['fire']('revisionSelected',_0x22d47a);}),this['on']('setName',(_0x427cd7,_0x2c6374)=>{this['fire']('revisionSetName',_0x2c6374);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x151172),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x49a6fd['if']('isEnabled','ck-disabled',_0xa3da78=>!_0xa3da78)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x4884ed of this['_revisions'])this['_addRevision'](_0x4884ed);this['_revisions']['on']('add',(_0x341ba4,_0x53ff3e)=>{this['_addRevision'](_0x53ff3e);}),this['_revisions']['on']('remove',(_0xbf6ffc,_0x2b7cd2)=>{this['_removeRevision'](_0x2b7cd2);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x4996a3=>_0x4996a3['revisionViews']['map'](_0x252663=>_0x252663))['flat']();}['selectRevision'](_0x186727){for(const _0x54f484 of this['revisionViews'])_0x186727&&_0x186727['id']===_0x54f484['id']?_0x54f484['select']():_0x54f484['deselect']();}['highlightRevisions'](_0x18afd6){for(const _0x296ce0 of this['revisionViews'])_0x18afd6['some'](({id:_0x19b47b})=>_0x19b47b===_0x296ce0['id'])?_0x296ce0['highlight']():_0x296ce0['unhighlight']();}['_addRevision'](_0x151eb6){const _0x19419d=di(_0x151eb6['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x183f5c=this['timePeriodViews']['get'](0x0);_0x183f5c&&_0x183f5c['startDate']['getTime']()===_0x19419d['getTime']()||(_0x183f5c=new mi(this['locale'],_0x19419d,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x183f5c)),_0x183f5c['addRevision'](_0x151eb6);}['_removeRevision'](_0x27ee1e){const _0x289193=di(_0x27ee1e['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x289193)['removeRevision'](_0x27ee1e);}['_getTimePeriodViewByStartDate'](_0x4867c4){return this['timePeriodViews']['find'](_0x1645ba=>_0x1645ba['startDate']['getTime']()===_0x4867c4['getTime']());}}class w extends _0x570864{['_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(_0x16921a){super(_0x16921a),this['_revisionViewer']=_0x16921a['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x44ec71=this['_revisionsRepository']['_revisions'],_0x262af1=this['_createRevisionActions'](),_0x4b1407=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x44ec71,_0x262af1,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',(_0x560eea,_0x4dc49a)=>{_0x4dc49a['revisionViews']['on']('add',(_0x486c9a,_0x187d18)=>{_0x187d18['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)),_0x4b1407['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x47ba81=this['_revisionsRepository']['getRevision'](0x0);if(_0x47ba81){const _0x1f690c=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x47ba81['id']);this['_revisionViewer']['compare'](_0x47ba81,_0x1f690c);}}['_handleRevisionSelected'](_0x3e3e9f,_0x8bd12b){const _0x50979d=this['_revisionsRepository']['getRevision'](_0x8bd12b['id']),_0x3b5f04=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x50979d['id']);this['_revisionViewer']['compare'](_0x50979d,_0x3b5f04);}['_handleRevisionSetName'](_0x55295d,_0x4396c1){this['_revisionsRepository']['getRevision'](_0x4396c1['id'])['setName'](_0x4396c1['name']);}['_handleDiffChange'](_0x4cfd55,_0x5a51bc,_0x27d505){const _0x66ff8a=this['_revisionsRepository']['getRevisionsInDiff'](_0x27d505);_0x66ff8a['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x66ff8a),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x66ff8a[0x0]));}['_createRevisionActions'](){const _0x1e1c4c=this['editor'],_0x28c5b8=w['availableRevisionActions'],_0x472793=_0x1e1c4c['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x472793['length'])return _0x472793['map'](_0x52f122=>{const _0x267f58='string'==typeof _0x52f122?Object['assign']({},_0x28c5b8[_0x52f122]):_0x52f122;return _0x267f58['action']=_0x267f58['action']['bind'](this,_0x1e1c4c),_0x267f58['isVisible']&&(_0x267f58['isVisible']=_0x267f58['isVisible']['bind'](this,_0x1e1c4c)),_0x267f58;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x2d7bb6},_0xf06919)=>{const _0x2e3e05=_0x2d7bb6['get'](d),_0x3b15a4=_0x2e3e05['repository'];let _0x280029=_0x2e3e05['diff']['newRevisionId'],_0x4dc032=_0xf06919['id'];_0x3b15a4['getIndex'](_0x280029)>_0x3b15a4['getIndex'](_0x4dc032)&&([_0x280029,_0x4dc032]=[_0x4dc032,_0x280029]),_0x2e3e05['compare'](_0x280029,_0x4dc032);},'isVisible':({plugins:_0x1f8d29},_0x20a41f)=>{const _0x33018e=_0x1f8d29['get'](d);return!(_0x33018e['repository']['getRevisionsInDiff'](_0x33018e['diff'])['length']>0x2)&&!_0x20a41f['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x46ded7,{id:_0x179e5c})=>{_0x46ded7['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x179e5c);},'isVisible':({plugins:_0x2a9b36},_0x5859d7)=>!!_0x2a9b36['get'](d)['repository']['getLaterVisibleRevision'](_0x5859d7['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x1d59b8},{id:_0x5110c1,revisionNameView:_0x4372aa})=>{const _0x298353=_0x1d59b8['get'](d),_0x5109be=_0x298353['repository']['getEarlierVisibleRevision'](_0x5110c1);_0x298353['compare'](_0x5110c1,_0x5109be),_0x4372aa['focus'](),_0x4372aa['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x3422ba,_0x4ca6b9){super(_0x3422ba),this['_view']=_0x4ca6b9,this['_toolbarConfig']=ct(_0x3422ba['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x56694c){const _0x5e6439=this['editor'],_0x572a79=this['view'],_0x33990f=_0x5e6439['editing']['view'],_0x33ea24=_0x572a79['editable'],_0xd4c476=_0x33990f['document']['getRoot']();_0x33ea24['name']=_0xd4c476['rootName'],_0x572a79['render']();const _0x31d820=_0x33ea24['element'];this['setEditableElement'](_0x33ea24['name'],_0x31d820),_0x572a79['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x33990f['attachDomRoot'](_0x31d820),this['_elementReplacer']['replace'](_0x56694c,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x28d386=this['view'],_0x42670e=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x42670e['detachDomRoot'](_0x28d386['editable']['name']),_0x28d386['destroy']();}['_initToolbar'](){const _0x311e45=this['view'];_0x311e45['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x311e45['stickyPanel']['limiterElement']=_0x311e45['element'],_0x311e45['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x58e29c})=>_0x58e29c),_0x311e45['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x311e45['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x4a97bd,_0x2cbd7f,_0x5e3580={}){super(_0x4a97bd),this['stickyPanel']=new lt(_0x4a97bd),this['toolbar']=new pt(_0x4a97bd,{'shouldGroupWhenFull':_0x5e3580['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x4a97bd,_0x2cbd7f);}['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(_0x3ad3d0,_0x4d0f1d){super(_0x4d0f1d),this['sourceElement']=_0x3ad3d0,this['model']['document']['createRoot']();const _0x36723b=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x36723b);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x52600c,_0xd56ba7){const _0x220749=new this(_0x52600c,_0xd56ba7);return await _0x220749['initPlugins'](),await _0x220749['ui']['init'](_0x52600c),await _0x220749['data']['init'](_0x220749['config']['get']('initialData')||''),_0x220749['fire']('ready'),_0x220749;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x5a08a8{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x2cb742){super(_0x2cb742),this['result']='end';}}class H extends _0x5a08a8{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x535d98){if(super(_0x535d98),!this['editor']['config']['get']('revisionHistory'))throw new _0x236805('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x48ff87=>this['_showRevisionViewer']({..._0x48ff87,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x55d25a=>this['_closeRevisionViewer'](_0x55d25a)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x8e2d99=>this['_restoreRevision'](_0x8e2d99)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x5c11f3){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x5c11f3;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x5022d3){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x5022d3);}['getRevision'](_0x5ec4f4){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x5ec4f4);}['getRevisions'](_0x49f601){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x49f601||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x3d26bf=this['editor'],_0x641172=_0x5b96df(_0x3d26bf,p),_0x37ce74=_0x3d26bf['plugins']['get']('RevisionTracker'),_0x1c1bb4=_0x3d26bf['plugins']['get']('Users')['users'];return _0x641172['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x641172['lazyRoots'],(_0x641172['plugins']['push'](k,d,R,class extends _0x5a08a8{static get['requires'](){return[d,'Users'];}['init'](){const _0xe786a3=this['editor']['plugins']['get']('Users');for(const _0x2d9bea of _0x1c1bb4)_0x2d9bea['isAnonymous']||_0xe786a3['getUser'](_0x2d9bea['id'])||_0xe786a3['addUser'](_0x2d9bea);const _0x570c2d=_0x37ce74['repository']['getRevisions']();let _0x5a5693=null;const _0x336e4a=this['editor']['plugins']['get']('RevisionViewer');_0x336e4a['adapter']=_0x37ce74['adapter'],_0x336e4a['bind']('isEnabled')['to'](_0x37ce74),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x3d26bf,'isReadOnly',_0x5c2dc3=>!_0x5c2dc3);for(const _0x538eb5 of _0x570c2d){const _0x45c0e0=null===_0x538eb5['creator'];if(_0x45c0e0&&_0x538eb5['toVersion']===_0x538eb5['fromVersion'])continue;const _0x211ce5=_0x538eb5['toJSON']();_0x336e4a['addRevisionData'](_0x211ce5,(_0x5d435e,_0x196590,_0x4dc4c6)=>{if(_0x45c0e0){if(_0x5a5693)_0x5a5693['_update'](_0x5d435e,_0x196590);else{if(!_0x196590){const _0x23bcb9=_0x4dc4c6['toJSON']();_0x23bcb9['id']=_0x3b4a48(),_0x37ce74['saveRevision'](_0x23bcb9,_0x4dc4c6['toVersion'])['then'](_0x43001c=>{_0x5a5693=_0x43001c;});}}}else _0x538eb5['_update'](_0x5d435e,_0x196590);});}}},w),_0x641172);}['_enhanceShowRevisionViewerCallback'](){const _0x1a6608=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x2c0603=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x2083a4=this['editor']['plugins']['get']('Autosave');await _0x2083a4['save']();}else await _0x2c0603['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x26b8b3=this['editor']['plugins']['get']('Dialog');_0x26b8b3['isOpen']&&_0x26b8b3['hide']();}const _0xc7536e=this['_getRevisionViewerEditorConfig']();return _0x1a6608(_0xc7536e)['then'](_0x533abc=>{return(this['_viewerEditor']=_0x533abc,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x533abc;})['catch'](_0x3ca628=>(console['error'](_0x3ca628),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x2d46a6=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'](),_0x2d46a6(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x5ab435=this['editor']['plugins']['get']('Annotations');_0x5ab435['refreshVisibility'](),_0x5ab435['refreshPositioning']();}})));}['_showRevisionViewer'](_0x4bc8e2){const _0x4a8f5b=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x471f12=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x32ea53=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x32ea53,_0x4bc8e2)['then'](_0x483f11=>(_0x471f12['style']['display']='block',_0x4a8f5b['style']['display']='none',_0x483f11));}['_closeRevisionViewer'](_0x17fcde){const _0x20d870=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x20d870['style']['display']='',_0x17fcde['destroy']();}async['_restoreRevision'](_0x4022e5){const _0xe49b99=this['editor'],_0x317dc2=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x5a7b31=_0xe49b99['plugins']['get']('RevisionTracker'),_0x5baa4c=_0x317dc2['repository']['getRevision'](_0x4022e5);let _0x106eb3,_0x4859c4,_0x52b3eb;try{_0x106eb3=await _0x317dc2['getRevisionData'](_0x5baa4c),_0x4859c4=await _0x317dc2['getRevisionRootsAttributes'](_0x5baa4c);}catch(_0x3304be){return void console['error'](_0x3304be);}_0xe49b99['model']['change'](_0x2d1819=>{for(const _0x15eeb4 of Array['from'](_0xe49b99['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x2d1819['removeMarker'](_0x15eeb4);}),_0x317dc2['isReady']=!0x1,_0xe49b99['model']['enqueueChange'](_0x2bc441=>{_0x2bc441['setSelection'](null),_0x2bc441['removeSelectionAttribute'](_0xe49b99['model']['document']['selection']['getAttributeKeys']());const _0x1133b8=Object['keys'](_0x106eb3);for(const _0x492b48 of _0xe49b99['model']['document']['roots'])'$graveyard'!=_0x492b48['rootName']&&_0x492b48['isAttached']()&&!_0x1133b8['includes'](_0x492b48['rootName'])&&_0x2bc441['detachRoot'](_0x492b48);for(const _0x20ded7 of _0x1133b8){let _0x1467f5=_0xe49b99['model']['document']['getRoot'](_0x20ded7);_0x1467f5&&_0x1467f5['isAttached']()||(_0x1467f5=_0x2bc441['addRoot'](_0x20ded7));const _0x1f7a1b=_0x4859c4[_0x20ded7],_0x1a0e33=Object['keys'](_0x1f7a1b),_0x10ed84=_0x106eb3[_0x20ded7];for(const _0x40fc33 of _0x1467f5['getAttributeKeys']())_0x1a0e33['includes'](_0x40fc33)||_0x2bc441['removeAttribute'](_0x40fc33,_0x1467f5);for(const _0x1438a9 of _0x1a0e33)_0x2bc441['setAttribute'](_0x1438a9,_0x4859c4[_0x20ded7][_0x1438a9],_0x1467f5);_0x2bc441['remove'](_0x2bc441['createRangeIn'](_0x1467f5)),_0x2bc441['insert'](_0xe49b99['data']['parse'](_0x10ed84,_0x1467f5),_0x1467f5,0x0);}});const _0xe051a6=y(_0xe49b99['locale'],'Restored');if(_0x5baa4c['name'])_0x52b3eb=-0x1==_0x5baa4c['name']['indexOf'](_0xe051a6)?_0xe051a6+':\x20'+_0x5baa4c['name']:_0x5baa4c['name'];else _0x52b3eb=_0xe051a6+':\x20'+(_0x5baa4c['createdAt']['toLocaleDateString'](_0xe49b99['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x5baa4c['createdAt']['toLocaleTimeString'](_0xe49b99['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x5a7b31['saveRevision']({'name':_0x52b3eb}),_0x317dc2['isReady']=!0x0,_0xe49b99['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(_0x525bf8){super(_0x525bf8),this['_revisionViewer']=_0x525bf8['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x33d1dc=this['_revisionsRepository']['_revisions'],_0x4d72f9=this['_createRevisionActions'](),_0x448b75=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x33d1dc,_0x4d72f9,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',(_0x11961e,_0x46c03a)=>{_0x46c03a['revisionViews']['on']('add',(_0x7cf630,_0x2622f5)=>{_0x2622f5['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)),_0x448b75['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x53b483=this['_revisionsRepository']['getRevision'](0x0);if(_0x53b483){const _0x2beefb=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x53b483['id']);this['_revisionViewer']['compare'](_0x53b483,_0x2beefb);}}['_handleRevisionSelected'](_0xdb8531,_0x343dcb){const _0x5ac705=this['_revisionsRepository']['getRevision'](_0x343dcb['id']),_0x78aa4d=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x5ac705['id']);this['_revisionViewer']['compare'](_0x5ac705,_0x78aa4d);}['_handleRevisionSetName'](_0x2cfd60,_0x48e175){this['_revisionsRepository']['getRevision'](_0x48e175['id'])['setName'](_0x48e175['name']);}['_handleDiffChange'](_0x54f2f2,_0x2ce62f,_0x4be0ef){const _0x5339cb=this['_revisionsRepository']['getRevisionsInDiff'](_0x4be0ef);_0x5339cb['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x5339cb),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x5339cb[0x0]));}['_createRevisionActions'](){const _0x2f60b7=this['editor'],_0x1002ac=w['availableRevisionActions'],_0x21dc77=_0x2f60b7['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x21dc77['length'])return _0x21dc77['map'](_0x948845=>{const _0x131fb3='string'==typeof _0x948845?Object['assign']({},_0x1002ac[_0x948845]):_0x948845;return _0x131fb3['action']=_0x131fb3['action']['bind'](this,_0x2f60b7),_0x131fb3['isVisible']&&(_0x131fb3['isVisible']=_0x131fb3['isVisible']['bind'](this,_0x2f60b7)),_0x131fb3;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x361762},_0x3a8480)=>{const _0x387c16=_0x361762['get'](d),_0x2768c8=_0x387c16['repository'];let _0x16b1b7=_0x387c16['diff']['newRevisionId'],_0x40329d=_0x3a8480['id'];_0x2768c8['getIndex'](_0x16b1b7)>_0x2768c8['getIndex'](_0x40329d)&&([_0x16b1b7,_0x40329d]=[_0x40329d,_0x16b1b7]),_0x387c16['compare'](_0x16b1b7,_0x40329d);},'isVisible':({plugins:_0x269f2f},_0x2e0732)=>{const _0x2aa0c8=_0x269f2f['get'](d);return!(_0x2aa0c8['repository']['getRevisionsInDiff'](_0x2aa0c8['diff'])['length']>0x2)&&!_0x2e0732['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x453191,{id:_0x3a54be})=>{_0x453191['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x3a54be);},'isVisible':({plugins:_0x59aae3},_0xc7a17d)=>!!_0x59aae3['get'](d)['repository']['getLaterVisibleRevision'](_0xc7a17d['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x2517e0},{id:_0x2543d7,revisionNameView:_0x45bac1})=>{const _0x16a1cd=_0x2517e0['get'](d),_0x4c31ad=_0x16a1cd['repository']['getEarlierVisibleRevision'](_0x2543d7);_0x16a1cd['compare'](_0x2543d7,_0x4c31ad),_0x45bac1['focus'](),_0x45bac1['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x5571c0,_0x43123f){super(_0x5571c0),this['_view']=_0x43123f,this['_toolbarConfig']=ct(_0x5571c0['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x381606){const _0x5b7ecc=this['editor'],_0x1095eb=this['view'],_0x46c046=_0x5b7ecc['editing']['view'],_0x188824=_0x1095eb['editable'],_0xa5d8eb=_0x46c046['document']['getRoot']();_0x188824['name']=_0xa5d8eb['rootName'],_0x1095eb['render']();const _0x4dc340=_0x188824['element'];this['setEditableElement'](_0x188824['name'],_0x4dc340),_0x1095eb['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x46c046['attachDomRoot'](_0x4dc340),this['_elementReplacer']['replace'](_0x381606,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x36af27=this['view'],_0x3bce41=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x3bce41['detachDomRoot'](_0x36af27['editable']['name']),_0x36af27['destroy']();}['_initToolbar'](){const _0x57c728=this['view'];_0x57c728['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x57c728['stickyPanel']['limiterElement']=_0x57c728['element'],_0x57c728['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x3118eb})=>_0x3118eb),_0x57c728['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x57c728['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x57b27c,_0x30f44c,_0x2b7d16={}){super(_0x57b27c),this['stickyPanel']=new lt(_0x57b27c),this['toolbar']=new pt(_0x57b27c,{'shouldGroupWhenFull':_0x2b7d16['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x57b27c,_0x30f44c);}['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(_0x26c38a,_0x4f6760){super(_0x4f6760),this['sourceElement']=_0x26c38a,this['model']['document']['createRoot']();const _0x406517=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x406517);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x272bc9,_0x3207be){const _0x3e4130=new this(_0x272bc9,_0x3207be);return await _0x3e4130['initPlugins'](),await _0x3e4130['ui']['init'](_0x272bc9),await _0x3e4130['data']['init'](_0x3e4130['config']['get']('initialData')||''),_0x3e4130['fire']('ready'),_0x3e4130;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x570864{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x31cdca){super(_0x31cdca),this['result']='end';}}class H extends _0x570864{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x228f5f){if(super(_0x228f5f),!this['editor']['config']['get']('revisionHistory'))throw new _0x28879a('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x272895=>this['_showRevisionViewer']({..._0x272895,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x5e570d=>this['_closeRevisionViewer'](_0x5e570d)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x31c9d0=>this['_restoreRevision'](_0x31c9d0)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x301bd5){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x301bd5;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x4734bb){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x4734bb);}['getRevision'](_0x212160){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x212160);}['getRevisions'](_0x162f14){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x162f14||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x26e893=this['editor'],_0x335a76=_0x2c2d14(_0x26e893,p),_0x3a92e4=_0x26e893['plugins']['get']('RevisionTracker'),_0x549dc7=_0x26e893['plugins']['get']('Users')['users'];return _0x335a76['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x335a76['lazyRoots'],(_0x335a76['plugins']['push'](k,d,R,class extends _0x570864{static get['requires'](){return[d,'Users'];}['init'](){const _0x4bd47b=this['editor']['plugins']['get']('Users');for(const _0x52dd8b of _0x549dc7)_0x52dd8b['isAnonymous']||_0x4bd47b['getUser'](_0x52dd8b['id'])||_0x4bd47b['addUser'](_0x52dd8b);const _0x5bd84c=_0x3a92e4['repository']['getRevisions']();let _0x1c8bf7=null;const _0x2dae48=this['editor']['plugins']['get']('RevisionViewer');_0x2dae48['adapter']=_0x3a92e4['adapter'],_0x2dae48['bind']('isEnabled')['to'](_0x3a92e4),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x26e893,'isReadOnly',_0x4a58eb=>!_0x4a58eb);for(const _0x4f52d6 of _0x5bd84c){const _0x48ec86=null===_0x4f52d6['creator'];if(_0x48ec86&&_0x4f52d6['toVersion']===_0x4f52d6['fromVersion'])continue;const _0x5d8a7f=_0x4f52d6['toJSON']();_0x2dae48['addRevisionData'](_0x5d8a7f,(_0x371f48,_0x5a0f6d,_0xeeadeb)=>{if(_0x48ec86){if(_0x1c8bf7)_0x1c8bf7['_update'](_0x371f48,_0x5a0f6d);else{if(!_0x5a0f6d){const _0x42e94e=_0xeeadeb['toJSON']();_0x42e94e['id']=_0x3b5255(),_0x3a92e4['saveRevision'](_0x42e94e,_0xeeadeb['toVersion'])['then'](_0x3d2f7b=>{_0x1c8bf7=_0x3d2f7b;});}}}else _0x4f52d6['_update'](_0x371f48,_0x5a0f6d);});}}},w),_0x335a76);}['_enhanceShowRevisionViewerCallback'](){const _0x312b02=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x156339=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x52f8d7=this['editor']['plugins']['get']('Autosave');await _0x52f8d7['save']();}else await _0x156339['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x2dc736=this['editor']['plugins']['get']('Dialog');_0x2dc736['isOpen']&&_0x2dc736['hide']();}const _0x3581ca=this['_getRevisionViewerEditorConfig']();return _0x312b02(_0x3581ca)['then'](_0x442e90=>{return(this['_viewerEditor']=_0x442e90,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x442e90;})['catch'](_0x2d7c66=>(console['error'](_0x2d7c66),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x397436=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'](),_0x397436(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x1174ab=this['editor']['plugins']['get']('Annotations');_0x1174ab['refreshVisibility'](),_0x1174ab['refreshPositioning']();}})));}['_showRevisionViewer'](_0x28d7e2){const _0x3ac4c4=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x412668=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x5bb0c6=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x5bb0c6,_0x28d7e2)['then'](_0x2ac816=>(_0x412668['style']['display']='block',_0x3ac4c4['style']['display']='none',_0x2ac816));}['_closeRevisionViewer'](_0x4036dd){const _0x27d9b8=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x27d9b8['style']['display']='',_0x4036dd['destroy']();}async['_restoreRevision'](_0x31f725){const _0x2fee89=this['editor'],_0x3d0d47=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x3ec69e=_0x2fee89['plugins']['get']('RevisionTracker'),_0x686536=_0x3d0d47['repository']['getRevision'](_0x31f725);let _0x1a38fb,_0x3473df,_0x98f31;try{_0x1a38fb=await _0x3d0d47['getRevisionData'](_0x686536),_0x3473df=await _0x3d0d47['getRevisionRootsAttributes'](_0x686536);}catch(_0x470c3a){return void console['error'](_0x470c3a);}_0x2fee89['model']['change'](_0x1bc3ab=>{for(const _0x2fbfbf of Array['from'](_0x2fee89['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x1bc3ab['removeMarker'](_0x2fbfbf);}),_0x3d0d47['isReady']=!0x1,_0x2fee89['model']['enqueueChange'](_0x56bbb7=>{_0x56bbb7['setSelection'](null),_0x56bbb7['removeSelectionAttribute'](_0x2fee89['model']['document']['selection']['getAttributeKeys']());const _0x38da7d=Object['keys'](_0x1a38fb);for(const _0x49a44f of _0x2fee89['model']['document']['roots'])'$graveyard'!=_0x49a44f['rootName']&&_0x49a44f['isAttached']()&&!_0x38da7d['includes'](_0x49a44f['rootName'])&&_0x56bbb7['detachRoot'](_0x49a44f);for(const _0x3e9287 of _0x38da7d){let _0x586980=_0x2fee89['model']['document']['getRoot'](_0x3e9287);_0x586980&&_0x586980['isAttached']()||(_0x586980=_0x56bbb7['addRoot'](_0x3e9287));const _0x2d7098=_0x3473df[_0x3e9287],_0x34cd56=Object['keys'](_0x2d7098),_0x8073da=_0x1a38fb[_0x3e9287];for(const _0x5c6b04 of _0x586980['getAttributeKeys']())_0x34cd56['includes'](_0x5c6b04)||_0x56bbb7['removeAttribute'](_0x5c6b04,_0x586980);for(const _0x331ed9 of _0x34cd56)_0x56bbb7['setAttribute'](_0x331ed9,_0x3473df[_0x3e9287][_0x331ed9],_0x586980);_0x56bbb7['remove'](_0x56bbb7['createRangeIn'](_0x586980)),_0x56bbb7['insert'](_0x2fee89['data']['parse'](_0x8073da,_0x586980),_0x586980,0x0);}});const _0x32706e=y(_0x2fee89['locale'],'Restored');if(_0x686536['name'])_0x98f31=-0x1==_0x686536['name']['indexOf'](_0x32706e)?_0x32706e+':\x20'+_0x686536['name']:_0x686536['name'];else _0x98f31=_0x32706e+':\x20'+(_0x686536['createdAt']['toLocaleDateString'](_0x2fee89['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x686536['createdAt']['toLocaleTimeString'](_0x2fee89['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x3ec69e['saveRevision']({'name':_0x98f31}),_0x3d0d47['isReady']=!0x0,_0x2fee89['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};