@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240508.0 → 0.0.0-nightly-20240509.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 (159) hide show
  1. package/build/revision-history.js +1 -1
  2. package/build/translations/ti.js +1 -0
  3. package/dist/index.js +1 -1
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/az.js +1 -1
  9. package/dist/translations/az.umd.js +1 -1
  10. package/dist/translations/bg.js +1 -1
  11. package/dist/translations/bg.umd.js +1 -1
  12. package/dist/translations/bn.js +1 -1
  13. package/dist/translations/bn.umd.js +1 -1
  14. package/dist/translations/bs.js +1 -1
  15. package/dist/translations/bs.umd.js +1 -1
  16. package/dist/translations/ca.js +1 -1
  17. package/dist/translations/ca.umd.js +1 -1
  18. package/dist/translations/cs.js +1 -1
  19. package/dist/translations/cs.umd.js +1 -1
  20. package/dist/translations/da.js +1 -1
  21. package/dist/translations/da.umd.js +1 -1
  22. package/dist/translations/de-ch.js +1 -1
  23. package/dist/translations/de-ch.umd.js +1 -1
  24. package/dist/translations/de.js +1 -1
  25. package/dist/translations/de.umd.js +1 -1
  26. package/dist/translations/el.js +1 -1
  27. package/dist/translations/el.umd.js +1 -1
  28. package/dist/translations/en-au.js +1 -1
  29. package/dist/translations/en-au.umd.js +1 -1
  30. package/dist/translations/en-gb.js +1 -1
  31. package/dist/translations/en-gb.umd.js +1 -1
  32. package/dist/translations/en.umd.js +1 -1
  33. package/dist/translations/es-co.js +1 -1
  34. package/dist/translations/es-co.umd.js +1 -1
  35. package/dist/translations/es.js +1 -1
  36. package/dist/translations/es.umd.js +1 -1
  37. package/dist/translations/et.js +1 -1
  38. package/dist/translations/et.umd.js +1 -1
  39. package/dist/translations/fa.js +1 -1
  40. package/dist/translations/fa.umd.js +1 -1
  41. package/dist/translations/fi.js +1 -1
  42. package/dist/translations/fi.umd.js +1 -1
  43. package/dist/translations/fr.js +1 -1
  44. package/dist/translations/fr.umd.js +1 -1
  45. package/dist/translations/gl.js +1 -1
  46. package/dist/translations/gl.umd.js +1 -1
  47. package/dist/translations/he.js +1 -1
  48. package/dist/translations/he.umd.js +1 -1
  49. package/dist/translations/hi.js +1 -1
  50. package/dist/translations/hi.umd.js +1 -1
  51. package/dist/translations/hr.js +1 -1
  52. package/dist/translations/hr.umd.js +1 -1
  53. package/dist/translations/hu.js +1 -1
  54. package/dist/translations/hu.umd.js +1 -1
  55. package/dist/translations/id.js +1 -1
  56. package/dist/translations/id.umd.js +1 -1
  57. package/dist/translations/it.js +1 -1
  58. package/dist/translations/it.umd.js +1 -1
  59. package/dist/translations/ja.js +1 -1
  60. package/dist/translations/ja.umd.js +1 -1
  61. package/dist/translations/jv.js +1 -1
  62. package/dist/translations/jv.umd.js +1 -1
  63. package/dist/translations/ko.js +1 -1
  64. package/dist/translations/ko.umd.js +1 -1
  65. package/dist/translations/ku.js +1 -1
  66. package/dist/translations/ku.umd.js +1 -1
  67. package/dist/translations/lt.js +1 -1
  68. package/dist/translations/lt.umd.js +1 -1
  69. package/dist/translations/lv.js +1 -1
  70. package/dist/translations/lv.umd.js +1 -1
  71. package/dist/translations/ms.js +1 -1
  72. package/dist/translations/ms.umd.js +1 -1
  73. package/dist/translations/ne.js +1 -1
  74. package/dist/translations/ne.umd.js +1 -1
  75. package/dist/translations/nl.js +1 -1
  76. package/dist/translations/nl.umd.js +1 -1
  77. package/dist/translations/no.js +1 -1
  78. package/dist/translations/no.umd.js +1 -1
  79. package/dist/translations/pl.js +1 -1
  80. package/dist/translations/pl.umd.js +1 -1
  81. package/dist/translations/pt-br.js +1 -1
  82. package/dist/translations/pt-br.umd.js +1 -1
  83. package/dist/translations/pt.js +1 -1
  84. package/dist/translations/pt.umd.js +1 -1
  85. package/dist/translations/ro.js +1 -1
  86. package/dist/translations/ro.umd.js +1 -1
  87. package/dist/translations/ru.js +1 -1
  88. package/dist/translations/ru.umd.js +1 -1
  89. package/dist/translations/sk.js +1 -1
  90. package/dist/translations/sk.umd.js +1 -1
  91. package/dist/translations/sr-latn.js +1 -1
  92. package/dist/translations/sr-latn.umd.js +1 -1
  93. package/dist/translations/sr.js +1 -1
  94. package/dist/translations/sr.umd.js +1 -1
  95. package/dist/translations/sv.js +1 -1
  96. package/dist/translations/sv.umd.js +1 -1
  97. package/dist/translations/th.js +1 -1
  98. package/dist/translations/th.umd.js +1 -1
  99. package/dist/translations/ti.d.ts +8 -0
  100. package/dist/translations/ti.js +23 -0
  101. package/dist/translations/ti.umd.js +23 -0
  102. package/dist/translations/tk.js +1 -1
  103. package/dist/translations/tk.umd.js +1 -1
  104. package/dist/translations/tr.js +1 -1
  105. package/dist/translations/tr.umd.js +1 -1
  106. package/dist/translations/tt.js +1 -1
  107. package/dist/translations/tt.umd.js +1 -1
  108. package/dist/translations/ug.js +1 -1
  109. package/dist/translations/ug.umd.js +1 -1
  110. package/dist/translations/uk.js +1 -1
  111. package/dist/translations/uk.umd.js +1 -1
  112. package/dist/translations/ur.js +1 -1
  113. package/dist/translations/ur.umd.js +1 -1
  114. package/dist/translations/vi.js +1 -1
  115. package/dist/translations/vi.umd.js +1 -1
  116. package/dist/translations/zh-cn.js +1 -1
  117. package/dist/translations/zh-cn.umd.js +1 -1
  118. package/dist/translations/zh.js +1 -1
  119. package/dist/translations/zh.umd.js +1 -1
  120. package/dist/types/changeitem.d.ts +1 -1
  121. package/dist/types/editor/revisionviewereditor.d.ts +1 -1
  122. package/dist/types/revision.d.ts +1 -1
  123. package/dist/types/ui/revision/revisionview.d.ts +1 -1
  124. package/lang/translations/ti.po +136 -0
  125. package/package.json +5 -5
  126. package/src/changeitem.d.ts +1 -1
  127. package/src/changeitem.js +1 -1
  128. package/src/editor/revisionviewereditor.d.ts +1 -1
  129. package/src/editor/revisionviewereditor.js +1 -1
  130. package/src/editor/revisionviewereditorui.js +1 -1
  131. package/src/editor/revisionviewereditoruiview.js +1 -1
  132. package/src/index.js +1 -1
  133. package/src/revision.d.ts +1 -1
  134. package/src/revision.js +1 -1
  135. package/src/revisiondiff.js +1 -1
  136. package/src/revisionhistory.js +1 -1
  137. package/src/revisionsrepository.js +1 -1
  138. package/src/revisiontracker.js +1 -1
  139. package/src/revisionviewer.js +1 -1
  140. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  141. package/src/ui/revision/revisionauthorview.js +1 -1
  142. package/src/ui/revision/revisionnameview.js +1 -1
  143. package/src/ui/revision/revisionview.d.ts +1 -1
  144. package/src/ui/revision/revisionview.js +1 -1
  145. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  146. package/src/ui/revision/subrevisionview.js +1 -1
  147. package/src/ui/revision/utils.js +1 -1
  148. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  149. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  150. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  151. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  152. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  153. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  154. package/src/ui/revisionssidebar/utils.js +1 -1
  155. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  156. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  157. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  158. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  159. package/src/utils/common-translations.js +1 -1
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x17c1cc,Context as _0x3e56e2,PendingActions as _0x128990,icons as _0x4df937,Command as _0x1c1c30,DataApiMixin as rt,ElementApiMixin as st,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x5c80d6,uid as _0x55ddc3,Collection as _0x210b3a,logWarning as _0x2f0023,FocusTracker as _0x521d29,KeystrokeHandler as _0x5ce4a4,scrollViewportToShowTarget as _0x3a4463,ResizeObserver as kt,ElementReplacer as nt,CKEditorError as _0x11cae8}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x135cd2,getMarkerDomElement as _0x461b7d,ConfirmMixin as _0x346f20,sanitizeEditorConfig as _0x35e67f}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x2714a1,ViewText as _0xf07b69,ViewElement as _0x296554,Element as ft,Range as gt,Position as wt,DocumentFragment as _t,ViewContainerElement as _0x256ffb,ViewAttributeElement as _0x2f0af3,ViewEmptyElement as _0xd82b25,ViewRawElement as _0x5c9ebb,ViewUIElement as _0xadb654,Text as yt}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x3ad142,set as _0x21b055,unset as _0x47dc92,isEqual as _0x185a7f}from'lodash-es';import{View as _0x796ce0,submitHandler as _0x1cedc1,LabeledFieldView as mt,createLabeledInputText as _0x169543,injectCssTransitionDisabler as ts,createDropdown as _0x15005b,ListView as te,ListItemView as _0x1448cd,ButtonView as _0x2e3682,MenuBarMenuView as _0x1c0a1b,MenuBarMenuListView as _0x1a5d66,MenuBarMenuListItemView as _0xacdda6,MenuBarMenuListItemButtonView as _0x30ab2a,ContextualBalloon as _0x310f20,ToolbarSeparatorView as _0xc56657,IconView as _0x12b085,addListToDropdown as _0x497b9d,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 _0x5915f2}from'luxon';class a extends _0x5c80d6(){['setName'](_0x44bee2){this['_update']({'name':_0x44bee2});}['setAttribute'](_0x2b320d,_0x24edb4){const _0x15b3d2=_0x3ad142(this['attributes']);_0x21b055(_0x15b3d2,_0x2b320d,_0x24edb4),this['_update']({'attributes':_0x15b3d2});}['removeAttribute'](_0x3da7cd){const _0x2df7d8=_0x3ad142(this['attributes']);_0x47dc92(_0x2df7d8,_0x3da7cd),this['_update']({'attributes':_0x2df7d8});}['_update'](_0x1acc52,_0x3c84b3=!0x1){let _0x180913=!0x1;const _0x21268c={'id':this['id']},_0x56df81=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x31d3b9 of _0x56df81){const _0x474cba=_0x1acc52[_0x31d3b9];void 0x0!==_0x474cba&&_0x474cba!==this[_0x31d3b9]&&(this[_0x31d3b9]=_0x474cba,_0x21268c[_0x31d3b9]=_0x474cba,_0x180913=!0x0);}_0x180913&&(_0x21268c['authors']&&(_0x21268c['authorsIds']=_0x21268c['authors']['map'](_0x37c261=>_0x37c261['id']),delete _0x21268c['authors']),this['fire']('_update',_0x21268c,_0x3c84b3));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x2f6856=>_0x2f6856['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}constructor(_0x3e6e81){super(),this['id']=_0x3e6e81['id']||_0x55ddc3(),this['creator']=_0x3e6e81['creator']||null,this['authors']=_0x3e6e81['authors']||[],this['diffData']=_0x3e6e81['diffData']||null,this['toVersion']=_0x3e6e81['toVersion']||0x0,this['fromVersion']=_0x3e6e81['fromVersion']||0x0,this['set']('name',_0x3e6e81['name']||''),this['set']('createdAt',_0x3e6e81['createdAt']||new Date()),this['set']('attributes',_0x3e6e81['attributes']||{});}}class A extends _0x17c1cc{static get['requires'](){return[_0x135cd2];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}['afterInit'](){!function(_0x4de8aa){function _0x27dafe(_0x371158,_0x57f6ee,_0x3b9244){const _0xb4dea6={};_0xb4dea6[_0x2556b4([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0xb4dea6[_0x2556b4([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],_0xb4dea6[_0x2556b4([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],_0xb4dea6[_0x2556b4([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],_0xb4dea6[_0x2556b4([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],_0xb4dea6[_0x2556b4([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],_0xb4dea6[_0x2556b4([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],_0xb4dea6[_0x2556b4([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],_0xb4dea6[_0x2556b4([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],_0xb4dea6[_0x2556b4([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],_0xb4dea6[_0x2556b4([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 _0x4d755c=new Uint8Array(0x10);for(let _0x22d4ea=0xf;_0x22d4ea>=0x0;--_0x22d4ea)_0x4d755c[_0x22d4ea]=_0x3b9244%0x100,_0x3b9244=parseInt(_0x3b9244/0x100);let _0x30d354=null,_0x5f0914=0x10;const _0x39ff46=new Uint8Array(_0x57f6ee),_0x13cada=[],_0x1ccb61=[];_0x5ac535();for(let _0x1270ed=0x0;_0x1270ed<_0x371158[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1270ed++)0x10===_0x5f0914&&(_0x30d354=_0x58eb21(_0x4d755c),_0x5f0914=0x0,_0x3ce5b7(_0x4d755c)),_0x371158[_0x1270ed]^=_0x30d354[_0x5f0914++];return _0x371158;function _0x282d32(_0x26eb59){const _0x1ad722=[];for(let _0x517bdd=0x0;_0x517bdd<_0x26eb59[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x517bdd+=0x4)_0x1ad722[_0x2556b4([0x70,0x75,0x73,0x68])](_0x26eb59[_0x517bdd]<<0x18|_0x26eb59[_0x517bdd+0x1]<<0x10|_0x26eb59[_0x517bdd+0x2]<<0x8|_0x26eb59[_0x517bdd+0x3]);return _0x1ad722;}function _0x3ce5b7(_0x4bb168){for(let _0x4b468b=0xf;_0x4b468b>=0x0;_0x4b468b--){if(0xff!==_0x4bb168[_0x4b468b]){_0x4bb168[_0x4b468b]++;break;}_0x4bb168[_0x4b468b]=0x0;}}function _0x58eb21(_0x47d192){const _0x482516=_0x13cada[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x1ddb6e=[0x0,0x0,0x0,0x0];let t=_0x282d32(_0x47d192);for(let _0x5bf0d4=0x0;_0x5bf0d4<0x4;_0x5bf0d4++)t[_0x5bf0d4]^=_0x13cada[0x0][_0x5bf0d4];for(let _0x11917e=0x1;_0x11917e<_0x482516;_0x11917e++){for(let _0x4c36f3=0x0;_0x4c36f3<0x4;_0x4c36f3++)_0x1ddb6e[_0x4c36f3]=_0xb4dea6[_0x2556b4([0x54,0x31])][t[_0x4c36f3]>>0x18&0xff]^_0xb4dea6[_0x2556b4([0x54,0x32])][t[(_0x4c36f3+0x1)%0x4]>>0x10&0xff]^_0xb4dea6[_0x2556b4([0x54,0x33])][t[(_0x4c36f3+0x2)%0x4]>>0x8&0xff]^_0xb4dea6[_0x2556b4([0x54,0x34])][0xff&t[(_0x4c36f3+0x3)%0x4]]^_0x13cada[_0x11917e][_0x4c36f3];t=_0x1ddb6e[_0x2556b4([0x73,0x6c,0x69,0x63,0x65])]();}const _0x20b1f7=new Uint8Array(0x10);let _0x145fa0;for(let _0x48ff62=0x0;_0x48ff62<0x4;_0x48ff62++)_0x145fa0=_0x13cada[_0x482516][_0x48ff62],_0x20b1f7[0x4*_0x48ff62]=0xff&(_0xb4dea6[_0x2556b4([0x53])][t[_0x48ff62]>>0x18&0xff]^_0x145fa0>>0x18),_0x20b1f7[0x4*_0x48ff62+0x1]=0xff&(_0xb4dea6[_0x2556b4([0x53])][t[(_0x48ff62+0x1)%0x4]>>0x10&0xff]^_0x145fa0>>0x10),_0x20b1f7[0x4*_0x48ff62+0x2]=0xff&(_0xb4dea6[_0x2556b4([0x53])][t[(_0x48ff62+0x2)%0x4]>>0x8&0xff]^_0x145fa0>>0x8),_0x20b1f7[0x4*_0x48ff62+0x3]=0xff&(_0xb4dea6[_0x2556b4([0x53])][0xff&t[(_0x48ff62+0x3)%0x4]]^_0x145fa0);return _0x20b1f7;}function _0x5ac535(){const _0x6155b5=_0xb4dea6[_0x2556b4([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x39ff46[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x18fcdd=0x0;_0x18fcdd<=_0x6155b5;_0x18fcdd++)_0x13cada[_0x2556b4([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x1ccb61[_0x2556b4([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x2b4c06=0x4*(_0x6155b5+0x1),_0x186310=_0x39ff46[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x587730=_0x282d32(_0x39ff46);let _0x1653cd;for(let _0x510232=0x0;_0x510232<_0x186310;_0x510232++)_0x1653cd=_0x510232>>0x2,_0x13cada[_0x1653cd][_0x510232%0x4]=_0x587730[_0x510232],_0x1ccb61[_0x6155b5-_0x1653cd][_0x510232%0x4]=_0x587730[_0x510232];let _0x8d3e20,_0xeb2480=0x0,t=_0x186310;for(;t<_0x2b4c06;){_0x8d3e20=_0x587730[_0x186310-0x1],_0x587730[0x0]^=_0xb4dea6[_0x2556b4([0x53])][_0x8d3e20>>0x10&0xff]<<0x18^_0xb4dea6[_0x2556b4([0x53])][_0x8d3e20>>0x8&0xff]<<0x10^_0xb4dea6[_0x2556b4([0x53])][0xff&_0x8d3e20]<<0x8^_0xb4dea6[_0x2556b4([0x53])][_0x8d3e20>>0x18&0xff]^_0xb4dea6[_0x2556b4([0x72,0x63,0x6f,0x6e])][_0xeb2480]<<0x18,_0xeb2480+=0x1;for(let _0x21f2b8=0x1;_0x21f2b8<_0x186310/0x2;_0x21f2b8++)_0x587730[_0x21f2b8]^=_0x587730[_0x21f2b8-0x1];_0x8d3e20=_0x587730[_0x186310/0x2-0x1],_0x587730[_0x186310/0x2]^=_0xb4dea6[_0x2556b4([0x53])][0xff&_0x8d3e20]^_0xb4dea6[_0x2556b4([0x53])][_0x8d3e20>>0x8&0xff]<<0x8^_0xb4dea6[_0x2556b4([0x53])][_0x8d3e20>>0x10&0xff]<<0x10^_0xb4dea6[_0x2556b4([0x53])][_0x8d3e20>>0x18&0xff]<<0x18;for(let _0x4cd669=_0x186310/0x2+0x1;_0x4cd669<_0x186310;_0x4cd669++)_0x587730[_0x4cd669]^=_0x587730[_0x4cd669-0x1];let _0x2cf26d,_0x3850de,_0x438ca3=0x0;for(;_0x438ca3<_0x186310&&t<_0x2b4c06;)_0x2cf26d=t>>0x2,_0x3850de=t%0x4,_0x13cada[_0x2cf26d][_0x3850de]=_0x587730[_0x438ca3],_0x1ccb61[_0x6155b5-_0x2cf26d][_0x3850de]=_0x587730[_0x438ca3++],t++;}for(let _0x5076db=0x1;_0x5076db<_0x6155b5;_0x5076db++)for(let _0x52c9b1=0x0;_0x52c9b1<0x4;_0x52c9b1++)_0x8d3e20=_0x1ccb61[_0x5076db][_0x52c9b1],_0x1ccb61[_0x5076db][_0x52c9b1]=_0xb4dea6[_0x2556b4([0x55,0x31])][_0x8d3e20>>0x18&0xff]^_0xb4dea6[_0x2556b4([0x55,0x32])][_0x8d3e20>>0x10&0xff]^_0xb4dea6[_0x2556b4([0x55,0x33])][_0x8d3e20>>0x8&0xff]^_0xb4dea6[_0x2556b4([0x55,0x34])][0xff&_0x8d3e20];}}function _0x2556b4(_0x5e06ae){return _0x5e06ae['map'](_0x1a8f9a=>String['fromCharCode'](_0x1a8f9a))['join']('');}(_0x313484=>{function _0x1cae5a(){const _0x2dc1f7=[{[_0x2556b4([0x69,0x64])]:0x1,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x2556b4([0x69,0x64])]:0x2,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([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]),[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2556b4([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2556b4([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2556b4([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2556b4([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2556b4([0x69,0x64])]:0x3,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2556b4([0x69,0x64])]:0x4,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([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]),[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2556b4([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2556b4([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2556b4([0x69,0x64])]:0x5,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([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]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x66,0x67,0x69])]:[0xc]}},{[_0x2556b4([0x69,0x64])]:0x6,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x66,0x67,0x69])]:[0xc]}},{[_0x2556b4([0x69,0x64])]:0x7,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x66,0x67,0x69])]:[0xc]}},{[_0x2556b4([0x69,0x64])]:0x8,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([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]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x66,0x67,0x69])]:[0xc]}},{[_0x2556b4([0x69,0x64])]:0x9,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x2556b4([0x69,0x64])]:0xa,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([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]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([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]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([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]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x66,0x67,0x69])]:[0xc]}},{[_0x2556b4([0x69,0x64])]:0xb,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2556b4([0x69,0x64])]:0xc,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x2556b4([0x69,0x64])]:0xd,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2556b4([0x66,0x67,0x69])]:[0xc]}},{[_0x2556b4([0x69,0x64])]:0xe,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x2556b4([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([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])},{[_0x2556b4([0x69,0x64])]:0xf,[_0x2556b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2556b4([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2556b4([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])}];return _0x5bd33b(_0x2dc1f7),_0x2dc1f7;function _0x3fa71b(_0x2ee9cd){return 0x1<<_0x2ee9cd-0x1;}function _0x5bd33b(_0x46c3b6){_0x46c3b6[_0x2556b4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xa4ab39=>{_0xa4ab39[_0x2556b4([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x3fa71b(_0xa4ab39[_0x2556b4([0x69,0x64])]),_0x146643(_0xa4ab39)&&_0xa4ab39[_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5bd33b(_0xa4ab39[_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x146643(_0x96a5c9){return _0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x96a5c9;}const _0x36845e=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x5507ff=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x26e060(_0x174b31){const _0x3347e3=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x52eed4(_0x174b31,new Uint8Array([..._0x36845e,..._0x3347e3,..._0x5507ff]));}function _0x52eed4(_0x18dc19,_0x549e4a){const _0x5eabcb=_0x3f6c41(_0x18dc19),_0x3d78aa=Array[_0x2556b4([0x66,0x72,0x6f,0x6d])](_0xe37ff0(_0x5eabcb)),_0x5172cd=_0x3d78aa[_0x2556b4([0x70,0x6f,0x70])](),_0x55f698=_0x3d78aa[_0x2556b4([0x70,0x6f,0x70])]();return _0x59ed6c(_0x27dafe(_0x3d78aa,_0x549e4a,_0x55f698+0x100*_0x5172cd));}function _0x3f6c41(_0x285086){const _0x92e221=atob(_0x285086),[_0x9d0fff,_0x50b58d]=_0x92e221[_0x2556b4([0x73,0x70,0x6c,0x69,0x74])](_0x2556b4([0x2d]));try{if(atob(_0x50b58d))return atob(_0x9d0fff);}catch(_0x180e03){}return _0x92e221;}function _0x3fc674(_0x474dc6){try{const _0x522900=_0x26e060(_0x474dc6),_0x398cdc=JSON[_0x2556b4([0x70,0x61,0x72,0x73,0x65])](_0x522900),_0x3a3a2c=parseInt(_0x398cdc[_0x2556b4([0x31])]),_0x1f170c=_0x398cdc[_0x2556b4([0x32])]||'',_0x119ead=parseInt(_0x398cdc[_0x2556b4([0x33])]),_0x3c98cc=parseInt(_0x398cdc[_0x2556b4([0x34])])||0x0,_0x50b20b=parseInt(_0x398cdc[_0x2556b4([0x35])])||0x0;return{[_0x2556b4([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x1f170c,[_0x2556b4([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x3c98cc,[_0x2556b4([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x3a3a2c,[_0x2556b4([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x119ead,[_0x2556b4([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x50b20b};}catch(_0x24c879){return null;}}const _0x40cd34=_0x1cae5a(),_0x5538f8={[_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x5919e7,[_0x2556b4([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])]:_0x4c0e89,[_0x2556b4([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])]:_0x4ffe84},_0x52a107=_0x313484[_0x2556b4([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x4cc975=_0x2556b4([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x313484?_0x313484['context']:_0x313484['editor'],_0x24cb0d=_0x2556b4([0x34,0x30,0x34,0x38,0x31,0x30,0x31,0x36]),_0x45576f=_0x2556b4([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]),_0x2ab8c5=_0x4cc975['config']['get'](_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0xa93b10=_0x40cd34[_0x2556b4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x146643)[_0x2556b4([0x66,0x69,0x6e,0x64])](_0x234462=>_0x234462[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x52a107);function _0x41108c(_0x2584e1,_0x4109be){_0x5538f8[_0x4109be[_0x2556b4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x2584e1,_0x4109be),_0x4109be[_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4109be[_0x2556b4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x2556b4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x420b3d=>_0x5a4686(_0x4cc975,_0x420b3d[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x2556b4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xc07836=>_0x41108c(_0x2584e1,_0xc07836));}function _0x5919e7(_0x4735d3,_0x225b51){_0x5790bb(_0x1f2ad(_0x4735d3,_0x225b51),_0x225b51);}function _0x4c0e89(_0x402bd9,_0x428c47){function _0x23a500(_0x504ab9,_0x10a794){try{if(_0x5a4686(_0x4cc975,_0x2556b4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x504ab9){const _0x5e5579=_0x274b85(_0x4cc975,_0x2556b4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x2556b4([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x5e5579)/0x2>_0x504ab9[_0x2556b4([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x35f0ca(_0x10a794[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x1f2ad(_0x504ab9,_0x10a794);}catch(_0x2c9f4f){return _0x35f0ca(_0x10a794[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x5790bb(_0x23a500(_0x402bd9,_0x428c47),_0x428c47);}function _0x4ffe84(_0x2dfc1b,_0x1395a6){const _0x4cd06b=_0x5507ff[0x0]*_0x36845e[0x1],_0x38c111=_0x5507ff[0x0]*_0x36845e[0x2],_0x46d4da=_0x5507ff[0x2]*_0x36845e[0x2];_0x5a4686(_0x4cc975,_0x2556b4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x274b85(_0x4cc975,_0x2556b4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2556b4([0x73,0x74,0x61,0x74,0x65])]==_0x2556b4([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x4b60fc()]=_0x46d4da);function _0x53703b(_0x30d1b9,_0x195aa7){try{return _0x25e863()?_0x35f0ca(_0x195aa7[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x56,0x61,0x6c,0x69,0x64])):_0x1f2ad(_0x30d1b9,_0x195aa7);}catch(_0xcf8702){return _0x35f0ca(_0x195aa7[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0xccc658(_0x3f439d,_0x9d7b08){const _0x34157b=0x7;if(_0x3f439d==_0x9d7b08[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x144d0b();else{if(_0x3f439d==_0x9d7b08[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x54,0x72,0x69,0x61,0x6c])){const _0x59b2bb=_0x2fe454();_0x59b2bb&&_0xd2a67a(_0x59b2bb,_0x9d7b08[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x30b641=_0x33fe2f();window[_0x2556b4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xd2a67a(_0x2556b4([0x74,0x69,0x6d,0x65]),_0x9d7b08[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x30b641);const _0x3c6114=_0x274b85(_0x4cc975,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2556b4([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x3c6114[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x34157b?_0xd2a67a(_0x2556b4([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x9d7b08[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x3c6114['on'](_0x2556b4([0x61,0x64,0x64]),()=>{_0x3c6114[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x34157b&&_0xd2a67a(_0x2556b4([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x9d7b08[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x2fe454(){if(!_0x5a4686(_0x4cc975,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x2c8ceb in window)if(Number['isNaN'](Number(_0x2c8ceb))){if(window[_0x2c8ceb]===_0x4cd06b)return _0x2556b4([0x74,0x69,0x6d,0x65]);if(window[_0x2c8ceb]===_0x38c111)return _0x2556b4([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x25e863(){if(!_0x5a4686(_0x4cc975,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x315e13 in window)if(Number['isNaN'](Number(_0x315e13))&&window[_0x315e13]===_0x46d4da)return!0x0;return!0x1;}function _0xd2a67a(_0x28c1ab,_0x46f417){_0x144d0b(),_0x35f0ca(_0x46f417+_0x2556b4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x28c1ab),window[_0x4b60fc()]=_0x28c1ab===_0x2556b4([0x74,0x69,0x6d,0x65])?_0x4cd06b:_0x38c111;}function _0x33fe2f(){let _0x1bb69b=_0x5507ff[0x6]*_0x36845e[0x8]*_0x36845e[0x6];return _0x5a4686(_0x4cc975,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1bb69b/=0xa),_0x1bb69b;}function _0x144d0b(){const _0x1a25a4=_0x4cc975;function _0x5de05c(){_0x5a4686(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2556b4([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2556b4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2556b4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2556b4([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x36c141,_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2556b4([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x36c141,_0x1a25a4[_0x2556b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2556b4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x36c141,_0x1a25a4[_0x2556b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2556b4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x36c141,_0x1a25a4[_0x2556b4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2556b4([0x6d,0x6f,0x64,0x65,0x6c]))),_0x5a4686(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2556b4([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2556b4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2556b4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2556b4([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x36c141,_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2556b4([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x36c141);}_0x1a25a4[_0x2556b4([0x73,0x74,0x61,0x74,0x65])]==_0x2556b4([0x72,0x65,0x61,0x64,0x79])?_0x5de05c():_0x1a25a4[_0x2556b4([0x6f,0x6e,0x63,0x65])](_0x2556b4([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x5a4686(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x5de05c(),_0x5a4686(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x59b37d=_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x2e93e4=_0x59b37d['getRevision'](0x0),_0x5f5728=_0x59b37d['getEarlierVisibleRevision'](_0x2e93e4[_0x2556b4([0x69,0x64])]);_0x274b85(_0x1a25a4,_0x2556b4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2556b4([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x2e93e4[_0x2556b4([0x69,0x64])],_0x5f5728?_0x5f5728[_0x2556b4([0x69,0x64])]:null,0x1)['then'](()=>_0x5de05c());}});}_0xccc658(_0x53703b(_0x2dfc1b,_0x1395a6),_0x1395a6);}function _0x1f2ad(_0x4c6a5f,_0x3d5d22){try{return _0x2d258d(_0x3d5d22)?_0x35f0ca(_0x3d5d22[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x56,0x61,0x6c,0x69,0x64])):_0x4c6a5f&&_0x1e10a3(_0x4c6a5f[_0x2556b4([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x3d5d22)?_0x4c6a5f[_0x2556b4([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x2556b4([0x6f,0x70,0x65,0x6e])][_0x2556b4([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x24cb0d)/0x2>_0x4c6a5f[_0x2556b4([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x35f0ca(_0x3d5d22[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x4c6a5f[_0x2556b4([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x35f0ca(_0x3d5d22[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x54,0x72,0x69,0x61,0x6c])):_0x35f0ca(_0x3d5d22[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x56,0x61,0x6c,0x69,0x64])):_0x35f0ca(_0x3d5d22[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x1c1cd4){return _0x35f0ca(_0x3d5d22[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5790bb(_0x5ad55f,_0x4c3a60){if(_0x4cc975 instanceof _0x3e56e2){const _0x23376e=_0x4cc975;_0x5ad55f==_0x4c3a60[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4fbfc5(_0x23376e):_0x5ad55f==_0x4c3a60[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x54,0x72,0x69,0x61,0x6c])&&window[_0x2556b4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4fbfc5(_0x23376e),_0x35f0ca(_0x4c3a60[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x5507ff[0x6]*_0x36845e[0x8]*_0x36845e[0x6]),_0x23376e[_0x2556b4([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x2556b4([0x6f,0x6e])](_0x2556b4([0x61,0x64,0x64]),(_0xecae95,_0x342363)=>{_0x5ad55f!=_0x4c3a60[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x5ad55f!=_0x4c3a60[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x5ad55f!=_0x4c3a60[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x3f21c2(_0x342363);});}else{const _0x2a4eaf=_0x4cc975;_0x5ad55f==_0x4c3a60[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3f21c2(_0x2a4eaf):_0x5ad55f==_0x4c3a60[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x54,0x72,0x69,0x61,0x6c])&&_0x2a4eaf[_0x2556b4([0x6f,0x6e])](_0x2556b4([0x72,0x65,0x61,0x64,0x79]),()=>{let _0xb5b3f2=0x0;_0x2a4eaf[_0x2556b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2556b4([0x6f,0x6e])](_0x2556b4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x229da5,_0x373d50)=>{_0x373d50[0x0][_0x2556b4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xb5b3f2++,0x1f8===_0xb5b3f2&&(_0x3f21c2(_0x2a4eaf),_0x35f0ca(_0x4c3a60[_0x2556b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2556b4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x229da5[_0x2556b4([0x6f,0x66,0x66])]());},{'priority':_0x2556b4([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x35f0ca(_0x17ba9c){const _0x132c8f=_0x4b60fc();return _0x4cc975[_0x132c8f]=_0x17ba9c,_0x17ba9c;}function _0x4b60fc(){const _0x24b2f2=String(window[_0x2556b4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2556b4([0x6e,0x6f,0x77])]())[_0x2556b4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2556b4([0x2e]),'');let _0x239a33='';for(let _0x1db4aa=0x0;_0x1db4aa<_0x24b2f2[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1db4aa+=0x2){let _0x4c21fa=parseInt(_0x24b2f2[_0x2556b4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1db4aa,_0x1db4aa+0x2));_0x4c21fa>=_0x45576f[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4c21fa-=_0x45576f[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x239a33+=_0x45576f[_0x4c21fa];}return _0x239a33;}function _0x4fbfc5(_0x21fff1){for(const _0x3afa67 of _0x21fff1[_0x2556b4([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x3f21c2(_0x3afa67);_0x274b85(_0x21fff1,_0x2556b4([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2556b4([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x274b85(_0x21fff1,_0x2556b4([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2556b4([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x36c141;}function _0x3f21c2(_0xb658c3){function _0x1d0f83(){_0xb658c3[_0x2556b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2556b4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x36c141,_0xb658c3[_0x2556b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2556b4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x36c141,_0xb658c3[_0x2556b4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2556b4([0x6d,0x6f,0x64,0x65,0x6c]));}_0xb658c3[_0x2556b4([0x73,0x74,0x61,0x74,0x65])]==_0x2556b4([0x72,0x65,0x61,0x64,0x79])?_0x1d0f83():_0xb658c3[_0x2556b4([0x6f,0x6e,0x63,0x65])](_0x2556b4([0x72,0x65,0x61,0x64,0x79]),()=>_0x1d0f83());}function _0x36c141(){return null;}function _0x1e10a3(_0x2bc0d5,_0x46a87e){const _0x32ad73=!!(_0x2bc0d5&_0x46a87e[_0x2556b4([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x1898aa=_0xad0a22(_0x2bc0d5,_0x46a87e);return _0x32ad73||_0x1898aa;}function _0xad0a22(_0x20386a,_0x4dd386){const _0x39e19b=(_0x4dd386[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x2556b4([0x66,0x67,0x69])]||null;return!!_0x39e19b&&_0x40cd34[_0x2556b4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e215a=>_0x39e19b[_0x2556b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e215a[_0x2556b4([0x69,0x64])]))[_0x2556b4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x170c5a=>!_0x24805d(_0x170c5a))[_0x2556b4([0x73,0x6f,0x6d,0x65])](_0xa4c111=>!!(_0x20386a&_0xa4c111[_0x2556b4([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x24805d(_0x24cb19){const _0x10854a={[_0x2556b4([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])]:_0x4532e4};return!!_0x24cb19['forbiddenHandler']&&_0x10854a[_0x24cb19['forbiddenHandler']]();}function _0x4532e4(){return!window[_0x2556b4([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x5a4686(_0x4cc975,_0x2556b4([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x2d258d(_0x53e3e1){if(!_0x5a4686(_0x4cc975,_0x53e3e1[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x2b5a03=_0x53e3e1[_0x2556b4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x160d90=_0x2b5a03[_0x2556b4([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x355150=_0x2b5a03[_0x2556b4([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x46bca2=_0x2b5a03[_0x2556b4([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x5a4686(_0x4cc975,_0x2556b4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x274b85(_0x4cc975,_0x2556b4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2556b4([0x73,0x74,0x61,0x74,0x65])]==_0x2556b4([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x160d90)return!0x0;if(_0x5a4686(_0x4cc975,_0x2556b4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x274b85(_0x4cc975,_0x2556b4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x2556b4([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x2556b4([0x65,0x6e,0x64])&&_0x355150)return!0x0;return!(!_0x5a4686(_0x4cc975,_0x2556b4([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]))||_0x274b85(_0x4cc975,_0x2556b4([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]))[_0x2556b4([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x2556b4([0x65,0x6e,0x64])||!_0x46bca2);}function _0x5a4686(_0x4962f6,_0x4a07ed){return _0x4962f6[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2556b4([0x68,0x61,0x73])](_0x4a07ed);}function _0x274b85(_0x2818df,_0x493ec8){return _0x2818df[_0x2556b4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2556b4([0x67,0x65,0x74])](_0x493ec8);}function _0x59ed6c(_0x1498e1){let _0x327efd='';for(const _0x4591d8 of _0x1498e1)_0x327efd+=String[_0x2556b4([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x4591d8);return _0x327efd;}function _0xe37ff0(_0x4bf9f4){const _0x206bd0=new Uint8Array(_0x4bf9f4[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x1284a1=0x0;_0x1284a1<_0x4bf9f4[_0x2556b4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1284a1++)_0x206bd0[_0x1284a1]=_0x4bf9f4[_0x2556b4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1284a1);return _0x206bd0;}_0xa93b10&&_0x41108c(_0x3fc674(_0x2ab8c5),_0xa93b10);})(_0x4de8aa);}(this);}['createRevision'](_0x3856f3){const _0x4b352c=this['editor']['plugins']['get']('Users');return new a({'id':_0x3856f3['id'],'name':_0x3856f3['name'],'creator':_0x3856f3['creatorId']?_0x4b352c['getUser'](_0x3856f3['creatorId']):null,'diffData':_0x3856f3['diffData']||_0x3856f3['data'],'authors':_0x3856f3['authorsIds']['map'](_0x5acac5=>_0x4b352c['getUser'](_0x5acac5)),'createdAt':new Date(_0x3856f3['createdAt']),'attributes':_0x3856f3['attributes'],'fromVersion':_0x3856f3['fromVersion'],'toVersion':_0x3856f3['toVersion']});}['addRevision'](_0x191ae2,_0x5d05a7=0x0){this['_revisions']['add'](_0x191ae2,_0x5d05a7);}['getRevision'](_0x3079b3){return this['_revisions']['get'](_0x3079b3);}['getRevisions'](_0x3b408f={'toJSON':!0x1}){const _0xc0eecd=Array['from'](this['_revisions']);return _0xc0eecd['reverse'](),_0x3b408f['toJSON']?_0xc0eecd['map'](_0x42cdc8=>_0x42cdc8['toJSON']()):_0xc0eecd;}['getIndex'](_0x2bf29c){return this['_revisions']['getIndex'](_0x2bf29c);}['getEarlierVisibleRevision'](_0x5d01b4){const [,_0x50aab6]=this['getRevisionsIterator'](_0x5d01b4,{'direction':'earlier'});return _0x50aab6;}['getLaterVisibleRevision'](_0x48eb3e){const [,_0x3bcf6d]=this['getRevisionsIterator'](_0x48eb3e,{'direction':'later'});return _0x3bcf6d;}['getRevisionsInDiff'](_0x236aa0){const _0x6bda9d=[];for(const _0x5b3d14 of this['getRevisionsIterator'](_0x236aa0['newRevisionId']))if(_0x6bda9d['push'](_0x5b3d14),_0x5b3d14['id']===_0x236aa0['oldRevisionId'])break;return _0x6bda9d;}*['getRevisionsIterator'](_0x4678ab,{direction:_0xd45053='earlier',filter:_0xd52e55=_0xbdd3bc=>!0x0}={}){const _0xbd4684='earlier'===_0xd45053?0x1:-0x1;let _0x2d379a=this['_revisions']['get'](_0x4678ab),_0x3185fb=this['getIndex'](_0x2d379a);for(yield _0x2d379a;_0x2d379a;){if(_0x3185fb+=_0xbd4684,_0x2d379a=this['getRevision'](_0x3185fb),!_0x2d379a)return;_0xd52e55(_0x2d379a)&&(yield _0x2d379a);}}constructor(_0xc11815){super(_0xc11815),this['_revisions']=new _0x210b3a();}}function y(_0x2b62b5,_0x24395e,_0x4f72ac){const t=_0x2b62b5['t'];switch(_0x24395e){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'},_0x4f72ac);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x4f72ac);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x256ffb,'a':_0x2f0af3,'e':_0xd82b25,'r':_0x5c9ebb,'u':_0xadb654};class l extends _0x17c1cc{static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x135cd2,A,_0x128990];}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0xb3c506=this['repository']['getRevision'](0x0),_0x300ea7=_0xb3c506&&null===_0xb3c506['creator']?_0xb3c506:null;if(this['_continueCurrentRevision']=!!_0x300ea7&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x13b782=this['_source']['getCurrentRevisionId'](),_0x14bac7=this['repository']['getRevision'](_0x13b782);if(_0x14bac7)this['_startingVersion']=_0x14bac7['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x49af72=this['_source']['history']['_operations']['find'](_0x24f4ba=>!_0x24f4ba['_isInit']),_0x21391d=_0x49af72?_0x49af72['baseVersion']:this['_source']['history']['version'];_0xb3c506?(_0xb3c506['toVersion']<_0x21391d&&_0xb3c506['_update']({'toVersion':_0x21391d}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x300ea7['id'],this['_startingVersion']=_0x300ea7['fromVersion']):(this['_startingVersion']=_0xb3c506['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x21391d,this['_continueCurrentRevision']=!0x1);}}else _0x300ea7&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x300ea7['toVersion'],this['editor']['model']['document']['history']['version']),_0x300ea7['fromVersion']===_0x300ea7['toVersion']?(0x0!==_0x300ea7['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x300ea7['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x300ea7['id'],this['_startingVersion']=_0x300ea7['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',_0x2b649c=>!_0x2b649c);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x51f699=this['repository']['getRevision'](0x0),_0x50bbb1=await this['getRevisionDocumentData'](_0x51f699),_0x44ae83=await this['getRevisionRootsAttributes'](_0x51f699);this['_replaceEditorDataWithRevisionData'](_0x50bbb1,_0x44ae83);}}['setSource'](_0x5c5fac){this['_source']=_0x5c5fac;}async['update'](){const _0x4acd11=await this['_source']['getLatestVersion']();if(_0x4acd11>this['currentRevision']['toVersion']){await this['_loadState']();const _0x2861ce=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x4acd11});_0x2861ce['authors']=_0x2861ce['authorsIds']['map'](_0x3bbb84=>this['editor']['plugins']['get']('Users')['getUser'](_0x3bbb84)),this['currentRevision']['_update'](_0x2861ce);}}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'](_0x4e7cb2={},_0x4cc376=null){const _0x4e9484=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x4cc376>this['currentRevision']['toVersion']&&(_0x4cc376=null),null===_0x4cc376&&(_0x4cc376=await this['_source']['getLatestVersion']());const _0xafdf6f=this['_getFromVersion'](_0x4cc376),_0x2a22d1=this['buildRevisionData']({'from':_0xafdf6f,'to':_0x4cc376});if(this['currentRevision']['toVersion']<_0x4cc376){const _0x5a13e8=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x4cc376,'to':_0x4cc376});_0x5a13e8['authors']=[],_0x5a13e8['authorsIds']=[],_0x5a13e8['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x5a13e8,!0x0),delete _0x5a13e8['authors'],_0x4e9484['push'](_0x5a13e8);}_0x4e7cb2['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x4e7cb2['name']=_0x4e7cb2['name']||null,_0x4e7cb2['id']=_0x4e7cb2['id']||_0x55ddc3(),_0x4e7cb2={..._0x4e7cb2,..._0x2a22d1};const _0x5a5424=this['addRevisionData'](_0x4e7cb2);_0x4e9484['push'](_0x4e7cb2);const _0x56122d=this['repository']['getIndex'](_0x5a5424);if(0x0!==_0x56122d){const _0x35adf8=this['repository']['getRevision'](_0x56122d-0x1);if(_0x35adf8['fromVersion']!==_0x4cc376){const _0x305ea8=this['_revisionDataBuilder']['getData'](_0x4cc376,_0x35adf8['toVersion']),_0x5c10dc={'id':_0x35adf8['id'],'diffData':_0x305ea8['diffData'],'authorsIds':_0x305ea8['authorsIds'],'authors':_0x305ea8['authorsIds']['map'](_0x281fa3=>this['editor']['plugins']['get']('Users')['getUser'](_0x281fa3)),'fromVersion':_0x4cc376};_0x35adf8===this['currentRevision']&&(_0x5c10dc['createdAt']=new Date(_0x4e7cb2['createdAt']['getTime']()+0xa)),_0x35adf8['_update'](_0x5c10dc,!0x0),delete _0x5c10dc['authors'],_0x4e9484['push'](_0x5c10dc);}}if(this['adapter']){for(const _0x554668 of _0x4e9484)this['_bufferUpdate'](_0x554668['id'],_0x554668,!0x0);this['sendBufferedUpdates']();}return _0x5a5424;}['addRevisionData'](_0x304663){const _0x3d7ecb=this['repository']['createRevision'](_0x304663);return this['adapter']&&_0x3d7ecb['on']('_update',(_0x2fd882,_0x2488ae,_0xb8e5e5)=>{_0xb8e5e5||(this['_bufferUpdate'](_0x2488ae['id'],_0x2488ae,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x3d7ecb,this['_findInsertionIndex'](_0x3d7ecb)),_0x3d7ecb;}async['getRevisionDocumentData'](_0xa59325){await this['_loadRevisionData'](_0xa59325);const _0x105deb={};for(const _0x583d5f in _0xa59325['diffData']){if(_0xa59325['diffData'][_0x583d5f]['attachChange']&&!_0xa59325['diffData'][_0x583d5f]['attachChange']['isAttached'])continue;const _0x39b770=this['_removeRevisionMarkers'](JSON['parse'](_0xa59325['diffData'][_0x583d5f]['insertions'])),_0x11bad3=this['editor']['editing']['view']['document'],_0x12ad21=new _0x2714a1(_0x11bad3,_0x39b770['map'](_0x647410=>B(_0x647410,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x105deb[_0x583d5f]=this['editor']['data']['processor']['toData'](_0x12ad21),this['editor']['data']['processor']['useFillerType']('default');}return _0x105deb;}async['getRevisionRootsAttributes'](_0x3cb9fe){await this['_loadRevisionData'](_0x3cb9fe);const _0x24eb8c={};for(const _0x57ed3d in _0x3cb9fe['diffData'])_0x3cb9fe['diffData'][_0x57ed3d]['attachChange']&&!_0x3cb9fe['diffData'][_0x57ed3d]['attachChange']['isAttached']||(_0x24eb8c[_0x57ed3d]=_0x3cb9fe['diffData'][_0x57ed3d]['attributesAfter']||{});return _0x24eb8c;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x3f1023=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x47e74a=0x0;_0x47e74a<_0x3f1023['length'];_0x47e74a++){const _0x446529=_0x3f1023[_0x47e74a];let _0x2478c2=!0x1;for(const _0xa20aef of Object['keys'](_0x446529))void 0x0===_0x446529[_0xa20aef]?delete _0x446529[_0xa20aef]:'id'!==_0xa20aef&&(_0x2478c2=!0x0);_0x2478c2||(_0x3f1023[_0x47e74a]=null);}if(_0x3f1023=_0x3f1023['filter'](_0x4d6628=>null!==_0x4d6628),!_0x3f1023['length'])return;for(let _0xadd93b=0x0;_0xadd93b<_0x3f1023['length'];_0xadd93b++){const _0x20109c=_0x3f1023[_0xadd93b];void 0x0!==_0x20109c['fromVersion']&&void 0x0===_0x20109c['toVersion']&&(_0x20109c['toVersion']=this['repository']['getRevision'](_0x20109c['id'])['toVersion']),void 0x0!==_0x20109c['toVersion']&&void 0x0===_0x20109c['fromVersion']&&(_0x20109c['fromVersion']=this['repository']['getRevision'](_0x20109c['id'])['fromVersion']);}const _0x563c4f=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x3f1023,_0x563c4f)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x37774e=>{if(_0x37774e){for(const _0x268e57 of _0x37774e)this['setRevisionData']({'id':_0x268e57['id'],'createdAt':_0x268e57['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x2ae77e,_0x3b88a1){let _0x3a2d56=this['editor']['config']['get']('initialData'),_0x214cd5=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x3a2d56){_0x3a2d56={};for(const _0x33346f of this['editor']['model']['document']['getRootNames']())_0x3a2d56[_0x33346f]='';}if('string'==typeof _0x3a2d56&&(_0x3a2d56={'main':_0x3a2d56}),void 0x0===_0x214cd5){_0x214cd5={};for(const _0x5f4037 of this['editor']['model']['document']['getRootNames']())_0x214cd5[_0x5f4037]={};}let _0x4eb42f=!0x1;const _0x55413c=Object['keys'](_0x3a2d56),_0x5247a4=Object['keys'](_0x2ae77e);for(const _0x4bfcfa of _0x55413c){if(_0x3a2d56[_0x4bfcfa]!==_0x2ae77e[_0x4bfcfa]&&''!==_0x3a2d56[_0x4bfcfa]['trim']()){_0x4eb42f=!0x0;break;}if(!_0x185a7f(_0x214cd5[_0x4bfcfa],_0x3b88a1[_0x4bfcfa])&&Object['keys'](_0x214cd5[_0x4bfcfa])['length']>0x0){_0x4eb42f=!0x0;break;}}_0x4eb42f||(_0x4eb42f=_0x5247a4['some'](_0xe33e84=>!this['editor']['model']['document']['getRoot'](_0xe33e84))),_0x4eb42f&&_0x2f0023('editor-initial-data-replaced-with-revision-data',{'editorData':_0x3a2d56,'editorRootsAttributes':_0x214cd5,'revisionData':_0x2ae77e,'revisionRootsAttributes':_0x3b88a1}),this['editor']['config']['set']('initialData',_0x2ae77e),this['editor']['config']['set']('rootsAttributes',_0x3b88a1);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x47f7d1=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x47f7d1['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x62fff5){const _0x7f3937=this['repository']['getRevisions']();_0x7f3937['reverse']();let _0x31230a=0x0;for(;_0x31230a<_0x7f3937['length'];){const _0x43fc6b=_0x7f3937[_0x31230a];if(_0x43fc6b===this['currentRevision']){_0x31230a++;continue;}if(_0x43fc6b['id']===this['_initialRevisionId'])break;const _0x389812=_0x62fff5['toVersion']-_0x43fc6b['toVersion']||_0x62fff5['fromVersion']-_0x43fc6b['fromVersion'];if(_0x389812>0x0)break;if(_0x389812<0x0)_0x31230a++;else{if(!_0x62fff5['creator']&&_0x43fc6b['creator'])break;if(_0x43fc6b['creator']||!_0x62fff5['creator']){if(_0x62fff5['createdAt']>_0x43fc6b['createdAt'])break;_0x31230a++;}else _0x31230a++;}}return _0x31230a;}['setRevisionData'](_0x470a31){const _0x101391=this['repository']['getRevision'](_0x470a31['id']);if(_0x470a31['createdAt']&&(_0x470a31['createdAt']=new Date(_0x470a31['createdAt'])),_0x470a31['authorsIds']){const _0x5df6d7=this['editor']['plugins']['get']('Users');_0x470a31['authors']=_0x470a31['authorsIds']['map'](_0x5b9a6b=>_0x5df6d7['getUser'](_0x5b9a6b));}_0x101391['_update'](_0x470a31,!0x0);}['buildRevisionData']({revision:_0x5e9ff7=null,from:_0x17927c=null,to:_0xcf23fa=null}){_0x17927c=null!==_0x17927c?_0x17927c:_0x5e9ff7['fromVersion'],_0xcf23fa=null!==_0xcf23fa?_0xcf23fa:_0x5e9ff7['toVersion'];const _0xb54ffb=this['_revisionDataBuilder']['getData'](_0x17927c,_0xcf23fa),_0x25e4f8={'diffData':_0xb54ffb['diffData'],'authorsIds':_0xb54ffb['authorsIds'],'fromVersion':_0x17927c,'toVersion':_0xcf23fa};if(!_0x5e9ff7||_0xcf23fa!==_0x5e9ff7['toVersion']){const _0x22a868=_0xcf23fa-0x1,_0x42d3f7=this['_source']['history']['getOperation'](_0x22a868);_0x25e4f8['createdAt']=_0x42d3f7&&_0x42d3f7['createdAt']||new Date();}if(this['_loadedStateData']&&_0x17927c===this['_loadedStateData']['fromVersion']){for(const _0x1011fc of this['_loadedStateData']['authors'])_0x25e4f8['authorsIds']['includes'](_0x1011fc['id'])||_0x25e4f8['authorsIds']['push'](_0x1011fc['id']);}return _0x25e4f8;}['_loadRevisionData'](_0x7d4341){if(!_0x7d4341||_0x7d4341['diffData'])return Promise['resolve']();{const _0x22b2e3=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x22b2e3,'revisionId':_0x7d4341['id']})['then'](_0x204cbf=>{_0x7d4341['diffData']=_0x204cbf['diffData'];});}}['_bufferUpdate'](_0x33e53a,_0x30d6bc,_0x5debbb){if(this['_bufferedUpdates']['has'](_0x33e53a)){const _0x4a3d01=this['_bufferedUpdates']['get'](_0x33e53a);_0x30d6bc=_0x5debbb?{..._0x4a3d01,..._0x30d6bc}:{..._0x30d6bc,..._0x4a3d01};}this['_bufferedUpdates']['set'](_0x33e53a,_0x30d6bc);}['_getFromVersion'](_0x423d7a){const _0x2f410a=this['repository']['getRevisions']();_0x2f410a['reverse'](),_0x2f410a['shift']();const _0x313268=_0x2f410a['find'](_0x203ebc=>_0x203ebc['toVersion']<=_0x423d7a)['toVersion'];return _0x313268<this['_startingVersion']?this['_startingVersion']:_0x313268;}['_createInitialRevision'](_0x19f7d9){const _0x501ae9=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x501ae9)this['_initialRevisionId']=_0x501ae9['id'];else{const _0x51a128=!this['editor']['model']['document']['roots']['find'](_0xb9ae1b=>this['editor']['model']['hasContent'](_0xb9ae1b)),_0xf55732=this['editor']['plugins']['get']('Users')['me']['id'],_0x4ead17=y(this['editor']['locale'],_0x51a128?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x19f7d9,'to':_0x19f7d9,'id':this['_initialRevisionId'],'name':_0x4ead17,'creatorId':_0xf55732});}}['_createCurrentRevision'](_0xcf3119){const _0x530933=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x530933),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0xcf3119,'to':_0xcf3119,'id':_0x530933,'name':'','creatorId':null}));}['_makeRevision']({name:_0x2d0b16,from:_0x3e3f34,to:_0x5423bf,creatorId:_0x1a79a6,id:_0x1b1b1a}){const _0x5d5787=this['buildRevisionData']({'from':_0x3e3f34,'to':_0x5423bf});_0x5d5787['name']=_0x2d0b16,_0x5d5787['creatorId']=_0x1a79a6,_0x5d5787['id']=_0x1b1b1a;const _0x3ef81e=this['addRevisionData'](_0x5d5787);return this['adapter']&&this['_bufferUpdate'](_0x5d5787['id'],_0x5d5787,!0x0),_0x3ef81e;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x57b21e){return(_0x57b21e=_0x57b21e['filter'](_0x1f5e32=>!_0x1f5e32['name']||'revision-start'!==_0x1f5e32['name']&&'revision-end'!==_0x1f5e32['name']))['forEach'](_0x477ef8=>{'string'!=typeof _0x477ef8&&(_0x477ef8['children']=this['_removeRevisionMarkers'](_0x477ef8['children']),_0x477ef8['attributes']=_0x477ef8['attributes']['filter'](_0x543a64=>!_0x543a64[0x0]['startsWith']('data-revision-')));}),_0x57b21e;}constructor(_0x217507){super(_0x217507),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 _0x35985a=_0x55ddc3();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x35985a},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'});}}function B(_0x12d5e3,_0x92c1e9){const _0x50452d=_0x92c1e9['editing']['view']['document'];if('string'==typeof _0x12d5e3)return new _0xf07b69(_0x50452d,_0x12d5e3);{const _0x21e84b=_0x12d5e3['children']['map'](_0x3e2da8=>B(_0x3e2da8,_0x92c1e9));return new(T[_0x12d5e3['type']]||_0x296554)(_0x50452d,_0x12d5e3['name'],_0x12d5e3['attributes'],_0x21e84b);}}class J{['init'](_0x36c4bc){this['source']=_0x36c4bc;const _0x44c39a=new Map(),_0x16aca5=new Map(),_0x14c44c=this['editor']['model']['document']['roots']['map'](_0x53163d=>_0x53163d['rootName']);for(const _0x17bf9e of _0x14c44c){const _0x5c7a98=this['editor']['model']['document']['getRoot'](_0x17bf9e),_0x5e385f=q(_0x5c7a98);_0x44c39a['set'](_0x17bf9e,_0x5e385f),_0x16aca5['set'](_0x17bf9e,Object['fromEntries'](_0x5c7a98['getAttributes']()));}const _0xaf8088=Array['from'](this['editor']['model']['markers'])['map'](_0xade05a=>[_0xade05a['name'],_0xade05a['getRange']()]),_0x15055d=this['source']['version'];this['_saveMetaData'](_0x15055d,_0x44c39a,_0xaf8088,_0x16aca5),this['_startingRevisionId']=this['_revisionId'];const _0x22e337=new Map(),_0x4bb188=new Map();for(const _0xc0fac0 of _0x14c44c){const _0x18c7ca=G(_0xc0fac0);_0x22e337['set'](_0xc0fac0,_0x18c7ca),_0x4bb188['set'](_0xc0fac0,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x22e337,[],_0x4bb188);}['getData'](_0x11bf2b,_0x3d95b9){if(this['_lastFrom']===_0x11bf2b&&this['_lastTo']<=_0x3d95b9)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x3d95b9,!0x0);else{if(!this['_savedMetaData']['has'](_0x11bf2b)){const _0x31d7cb=this['_getPreviousFrom'](_0x11bf2b);this['_calculateMetaData'](_0x31d7cb,_0x11bf2b,!0x1);}this['_calculateMetaData'](_0x11bf2b,_0x3d95b9,!0x0);}return this['_lastFrom']=_0x11bf2b,this['_lastTo']=_0x3d95b9,this['_getState']();}['loadState'](_0x5d653a){this['_reset'](),this['_lastFrom']=_0x5d653a['fromVersion'],this['_lastTo']=_0x5d653a['toVersion'];for(const _0x1394a9 in _0x5d653a['diffData']){const _0x24138c=_0x5d653a['diffData'][_0x1394a9]['attachChange'],_0x41c2bd=_0x3ad142(_0x5d653a['diffData'][_0x1394a9]['attributesBefore'])||{},_0x29cb1e=this['_makeModelFromViewString'](_0x5d653a['diffData'][_0x1394a9]['deletions']);_0x29cb1e['rootName']=_0x1394a9,_0x29cb1e['_isAttached']=!_0x24138c||!_0x24138c['isAttached'],_0x29cb1e['isAttached']=()=>_0x29cb1e['_isAttached'],this['_baseRoots']['set'](_0x1394a9,_0x29cb1e),this['_baseRootsAttributes']['set'](_0x1394a9,_0x41c2bd),_0x24138c&&this['_touchedRoots']['set'](_0x1394a9,_0x24138c);const _0x57174d=this['_makeIdsRoot'](_0x29cb1e);this['_baseIdsRoots']['set'](_0x1394a9,_0x57174d);for(const [_0x32acf4,_0x552543]of _0x29cb1e['markers']){if(!_0x32acf4['startsWith']('revision:'))continue;const _0x59ff88=_0x32acf4['split'](':')[0x2];for(const _0x5d97bb of _0x552543['getWalker']({'singleCharacters':!0x0})){const _0x4eb9c1=this['_getVidAttributeName'](_0x5d97bb),_0x375860='elementEnd'==_0x5d97bb['type']?_0x5d97bb['previousPosition']['path']['slice'](0x0,-0x1):_0x5d97bb['previousPosition']['path'],_0x549d79=_0x57174d['getNodeByPath'](_0x375860)['getAttribute'](_0x4eb9c1);this['_touched']['set'](_0x549d79,{'userId':_0x59ff88});}}}this['_startingRevisionId']=this['_revisionId'];const _0x543421=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x21f896=>!this['_touched']['has'](_0x21f896));let _0x35f009=0x0;const _0x5379=new Map();for(const _0x272437 in _0x5d653a['diffData']){const _0x15f434=_0x5d653a['diffData'][_0x272437]['attachChange'],_0x1b803d=_0x3ad142(_0x5d653a['diffData'][_0x272437]['attributesAfter'])||{},_0x337945=this['_makeModelFromViewString'](_0x5d653a['diffData'][_0x272437]['insertions']);_0x337945['rootName']=_0x272437,_0x337945['_isAttached']=!_0x15f434||_0x15f434['isAttached'],_0x337945['isAttached']=()=>_0x337945['_isAttached'],this['_diffRoots']['set'](_0x272437,_0x337945),this['_diffRootsAttributes']['set'](_0x272437,_0x1b803d);const _0x4185ce=this['_makeIdsRoot'](_0x337945,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x272437,_0x4185ce),_0x5379['set'](_0x272437,_0x337945['isAttached']()?_0x1b803d:{});for(const [_0x28b7e2,_0x4a8826]of _0x337945['markers']){if(!_0x28b7e2['startsWith']('revision:'))continue;const _0x1e8683=_0x28b7e2['split'](':')[0x2];for(const _0x45eff8 of _0x4a8826['getWalker']({'singleCharacters':!0x0})){const _0x148755=this['_getVidAttributeName'](_0x45eff8),_0x283f18=this['_revisionId']++,_0x16d56c='elementEnd'==_0x45eff8['type']?_0x45eff8['previousPosition']['path']['slice'](0x0,-0x1):_0x45eff8['previousPosition']['path'];_0x4185ce['getNodeByPath'](_0x16d56c)['_setAttribute'](_0x148755,_0x283f18),this['_touched']['set'](_0x283f18,{'userId':_0x1e8683});}}for(const _0x14973d of this['editor']['model']['createRangeIn'](_0x337945)['getWalker']({'singleCharacters':!0x0})){const _0x2f1f67=this['_getVidAttributeName'](_0x14973d),_0xae75fb='elementEnd'==_0x14973d['type']?_0x14973d['previousPosition']['path']['slice'](0x0,-0x1):_0x14973d['previousPosition']['path'],_0x2ec5ba=_0x4185ce['getNodeByPath'](_0xae75fb);_0x2ec5ba['getAttribute'](_0x2f1f67)>0x0||_0x2ec5ba['_setAttribute'](_0x2f1f67,_0x543421[_0x35f009++]);}for(const [_0x118acb,_0x5ebea8]of _0x337945['markers'])_0x118acb['startsWith']('revision:')||this['_markers']['set'](_0x118acb,_0x5ebea8);}const _0x5e0954=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x5e0954),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x5e0954,0x1));const _0x500b97=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x500b97),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x500b97,0x1));const _0x322ad0=Array['from'](this['_diffRoots'])['map'](([_0x6afbb,_0x1e3e75])=>[_0x6afbb,q(_0x1e3e75)]);this['_saveMetaData'](this['_lastTo'],_0x322ad0,this['_markers'],_0x5379);}['_makeModelFromViewString'](_0x24a305){const _0x975402=JSON['parse'](_0x24a305),_0x377992=this['editor']['editing']['view']['document'],_0x5920b3=new _0x2714a1(_0x377992,_0x975402['map'](_0x3ff85a=>B(_0x3ff85a,this['editor'])));return this['editor']['data']['toModel'](_0x5920b3);}['_saveMetaData'](_0x1c4eb6,_0xc10477,_0x5939b5,_0x155317){const _0x50340d=new Map(_0xc10477),_0x2049d7=new Map(_0x3ad142(_0x155317)),_0xe920a3=new Map();for(const [_0x5bf8eb,_0x296250]of _0x5939b5)_0xe920a3['set'](_0x5bf8eb,{'start':_0x296250['start']['clone'](),'end':_0x296250['end']['clone'](),'rootName':_0x296250['root']['rootName']});this['_savedMetaData']['set'](_0x1c4eb6,{'roots':_0x50340d,'markers':_0xe920a3,'rootsAttributes':_0x2049d7});}['_removeMetaData'](_0x3cdee6){this['_savedMetaData']['delete'](_0x3cdee6);}['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'](_0x1bfa7d,_0x13cc21=null){let _0x515017=null;_0x1bfa7d['is']('documentFragment')||(_0x515017=new ft(_0x1bfa7d['name'],{'vid_start':null===_0x13cc21?this['_revisionId']++:_0x13cc21++}));const _0x10fc57=[];for(const _0x13f534 of _0x1bfa7d['getChildren']())if(_0x13f534['is']('element')){_0x10fc57['push'](this['_makeIdsRoot'](_0x13f534,_0x13cc21));const _0x26032a=_0x10fc57[_0x10fc57['length']-0x1];null!==_0x13cc21&&(_0x13cc21=_0x26032a['is']('element','$text')?_0x26032a['getAttribute']('vid')+0x1:_0x26032a['getAttribute']('vid_end')+0x1);}else{for(let _0x4e1249=0x0;_0x4e1249<_0x13f534['offsetSize'];_0x4e1249++)_0x10fc57['push'](new ft('$text',{'vid':null===_0x13cc21?this['_revisionId']++:_0x13cc21++}));}if(_0x1bfa7d['is']('documentFragment')){const _0x25c62d=G(_0x1bfa7d['rootName']);return _0x25c62d['_insertChild'](0x0,_0x10fc57),_0x25c62d;}return _0x515017['_setAttribute']('vid_end',null===_0x13cc21?this['_revisionId']++:_0x13cc21++),_0x515017['_insertChild'](0x0,_0x10fc57),_0x515017;}['_calculateMetaData'](_0x260565,_0x5aa13f,_0x922654){this['_reset']();const {roots:_0x30c033,markers:_0x1ee538,rootsAttributes:_0x130d3c}=this['_savedMetaData']['get'](_0x260565);this['_baseRoots']=new Map(_0x30c033),this['_baseRootsAttributes']=new Map(_0x3ad142(_0x130d3c));for(const [_0x157025,_0x3b9acc]of this['_baseRoots'])if('$graveyard'!==_0x157025&&(this['_diffRoots']['set'](_0x157025,q(_0x3b9acc)),this['_diffRootsAttributes']=new Map(_0x3ad142(_0x130d3c)),_0x922654)){const _0x149515=this['_revisionId'];this['_idsRoots']['set'](_0x157025,this['_makeIdsRoot'](_0x3b9acc)),this['_baseIdsRoots']['set'](_0x157025,this['_makeIdsRoot'](_0x3b9acc,_0x149515));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x922654&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x596ba0,_0xade9d9]of _0x1ee538){const _0x3eae21=this['_baseRoots']['get'](_0xade9d9['rootName']),_0x40a4ce=this['_diffRoots']['get'](_0xade9d9['rootName']),_0x3dc3f5=new gt(this['_fixPosition'](_0xade9d9['start'],_0x3eae21),this['_fixPosition'](_0xade9d9['end'],_0x3eae21)),_0x75545d=this['_fixRange'](_0x3dc3f5,_0x40a4ce);_0x3eae21['markers']['set'](_0x596ba0,_0x3dc3f5),this['_markers']['set'](_0x596ba0,_0x75545d);}this['_applyOperations'](_0x260565,_0x5aa13f,_0x922654);}['_applyOperations'](_0xbe48c2,_0x3ed008,_0xa6b12d){for(const _0x29bce8 of this['source']['getOperations'](_0xbe48c2,_0x3ed008))this['_handleOperation'](_0x29bce8,_0xa6b12d);for(const _0x4ca5a3 of this['_diffRoots']['values']())_0x4ca5a3['markers']['clear']();for(const [_0x57f29e,_0x47597b]of this['_markers']){this['_diffRoots']['get'](_0x47597b['root']['rootName'])['markers']['set'](_0x57f29e,_0x47597b['clone']());}const _0x19f2fc=new Map(),_0x3498c7=new Map();for(const [_0x189cb2,_0x229996]of this['_diffRoots'])_0x19f2fc['set'](_0x189cb2,q(_0x229996)),_0x3498c7['set'](_0x189cb2,this['_diffRootsAttributes']['get'](_0x189cb2));this['_saveMetaData'](_0x3ed008,_0x19f2fc,this['_markers'],_0x3498c7);}['_getPreviousFrom'](_0x550d52){const _0x30af3b=Array['from'](this['_savedMetaData']['keys']());_0x30af3b['sort']((_0x25e191,_0x29d8d6)=>_0x25e191-_0x29d8d6),_0x30af3b['reverse']();for(const _0xbe8299 of _0x30af3b)if(_0xbe8299<_0x550d52)return _0xbe8299;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x1c7499,_0x445ccb){const _0x409a26=Array['from'](_0x445ccb['markers'])['map'](([_0xf00dc2,_0x308122])=>[_0xf00dc2,this['_fixRange'](_0x308122,_0x1c7499)]);_0x1c7499['markers']=new Map(_0x409a26);}['_transformMarkers'](_0x3dfcfd){for(const _0x36b51d of this['_markers']['values']()){const _0x1e8697=_0x36b51d['getTransformedByOperation'](_0x3dfcfd),_0x2134fb=gt['_createFromRanges'](_0x1e8697);_0x36b51d['start']=_0x2134fb['start'],_0x36b51d['end']=_0x2134fb['end'];}}['_handleOperation'](_0x5e20d7,_0x19614d){if('addRoot'==_0x5e20d7['type']||'detachRoot'==_0x5e20d7['type'])return void this['_handleRootOperation'](_0x5e20d7,_0x19614d);if('insert'==_0x5e20d7['type']){const _0x1639cc=_0x5e20d7['position']['root']['rootName'];this['_diffRoots']['has'](_0x1639cc)||(this['_diffRoots']['set'](_0x1639cc,G(_0x1639cc,!0x0)),this['_diffRootsAttributes']['set'](_0x1639cc,{}),_0x19614d&&this['_idsRoots']['set'](_0x1639cc,G(_0x1639cc,!0x0)));}else{if('addRootAttribute'==_0x5e20d7['type']||'removeRootAttribute'==_0x5e20d7['type']||'changeRootAttribute'==_0x5e20d7['type'])return void this['_handleRootAttributeOperation'](_0x5e20d7);}const _0x2efd2b=this['_cloneOperation'](_0x5e20d7,this['_diffRoots']);if('marker'!==_0x5e20d7['type']&&(_0x2efd2b['_execute'](),this['_transformMarkers'](_0x2efd2b)),_0x19614d)switch(_0x2efd2b['type']){case'insert':this['_handleInsertOperation'](_0x5e20d7);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x5e20d7);break;case'merge':this['_handleMergeOperation'](_0x5e20d7);break;case'split':this['_handleSplitOperation'](_0x5e20d7);break;case'marker':this['_handleMarkerOperation'](_0x5e20d7);}}['_cloneOperation'](_0x45f79c,_0x53bb4d){const _0x1cd8f1=_0x45f79c['clone']();return _0x1cd8f1['_authorId']=_0x45f79c['_authorId'],this['_fixOperation'](_0x1cd8f1,_0x53bb4d),_0x1cd8f1;}['_getBaseVids'](_0x551e0f){return _0x551e0f['map'](_0x256237=>{const _0x3ea8af=this['_getVidAttributeName'](_0x256237);return Number(_0x256237['item']['getAttribute'](_0x3ea8af));});}['_generateTape'](_0x5a123d,_0x9b9966){if(_0x5a123d['is']('element','$text'))_0x9b9966['push']({'item':_0x5a123d,'type':'text'});else{_0x5a123d['is']('element')&&_0x9b9966['push']({'item':_0x5a123d,'type':'elementStart'});for(const _0x26eb98 of _0x5a123d['getChildren']())this['_generateTape'](_0x26eb98,_0x9b9966);_0x5a123d['is']('element')&&_0x9b9966['push']({'item':_0x5a123d,'type':'elementEnd'});}return _0x9b9966;}['_getState'](){const _0x3c4947=new Map(this['_touched']),_0x16c0e8=new Map(_0x3c4947),_0x110203=new Map(),_0x100fec={'insertions':{},'deletions':{}},_0x4903e0={'insertions':{},'deletions':{}},_0x518beb=new Map(),_0x1ab88f=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x1ab88f['delete']('$graveyard');for(const _0x53a246 of _0x1ab88f){const _0x3dda32=this['_diffRoots']['get'](_0x53a246)||G(_0x53a246,!0x1),_0x3acc8a=this['_baseRoots']['get'](_0x53a246)||G(_0x53a246,!0x1);_0x3dda32['isAttached']()||_0x3acc8a['isAttached']()?(_0x100fec['insertions'][_0x53a246]=q(_0x3dda32),_0x100fec['deletions'][_0x53a246]=q(_0x3acc8a),this['_copyMarkers'](_0x100fec['deletions'][_0x53a246],_0x3acc8a),this['_copyMarkers'](_0x100fec['insertions'][_0x53a246],_0x3dda32),_0x4903e0['insertions'][_0x53a246]=this['_generateTape'](this['_idsRoots']['get'](_0x53a246),[]),_0x4903e0['deletions'][_0x53a246]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x53a246)||G(_0x53a246,!0x1),[])):_0x1ab88f['delete'](_0x53a246);}for(const _0x252748 of _0x1ab88f){const _0x1d75b3=_0x4903e0['insertions'][_0x252748];for(const _0x295e82 of _0x1d75b3){const _0x43ba3d=this['_getVidAttributeName'](_0x295e82),_0x622d2=_0x295e82['item']['getAttribute'](_0x43ba3d);_0x16c0e8['delete'](_0x622d2),_0x622d2>=this['_startingRevisionId']&&_0x110203['set'](_0x622d2,_0x3c4947['get'](_0x622d2));}}for(const _0x1fd5dc of _0x1ab88f){const _0xd56adc=_0x4903e0['insertions'][_0x1fd5dc],_0x4c7d49=this['_getBaseVids'](_0x4903e0['deletions'][_0x1fd5dc]);let _0x3c1668=0x0;for(const _0x10c2aa of _0xd56adc){const _0x927993=this['_getVidAttributeName'](_0x10c2aa),_0xb7cee4=_0x10c2aa['item']['getAttribute'](_0x927993);if(!_0x110203['has'](_0xb7cee4)&&!_0x518beb['has'](_0xb7cee4)){if(_0x16c0e8['has'](_0xb7cee4))_0x3c1668++;else{if(_0xb7cee4!=_0x4c7d49[_0x3c1668]){const _0x4b0e2d=_0x3c4947['get'](_0xb7cee4)||_0x3c4947['get'](_0x4c7d49[_0x3c1668]);for(;_0xb7cee4!=_0x4c7d49[_0x3c1668];)_0x16c0e8['has'](_0x4c7d49[_0x3c1668])||(_0x518beb['set'](_0x4c7d49[_0x3c1668],_0x4b0e2d),_0x3c4947['set'](_0x4c7d49[_0x3c1668],_0x4b0e2d)),_0x3c1668++;}_0x3c1668++;}}}}for(const _0x301d0f of _0x1ab88f){const _0x2184e2=_0x4903e0['insertions'][_0x301d0f];for(const _0x384fa6 of _0x2184e2){const _0x3310d3=this['_getVidAttributeName'](_0x384fa6),_0x4b4578=_0x384fa6['item']['getAttribute'](_0x3310d3);if(_0x518beb['has'](_0x4b4578)){const _0x3429d4=_0x518beb['get'](_0x4b4578);_0x16c0e8['has'](_0x4b4578)||_0x16c0e8['set'](_0x4b4578,{..._0x3429d4}),_0x110203['set'](_0x4b4578,{..._0x3429d4});}}}for(const _0x2b1f10 of _0x16c0e8['keys']())_0x2b1f10>=this['_startingRevisionId']&&_0x16c0e8['delete'](_0x2b1f10);const _0x387a26=new Map();for(const _0x518379 of _0x1ab88f){let _0xc5e1a9=_0x4903e0['insertions'][_0x518379];for(const _0x7ff858 of _0xc5e1a9)if(_0x7ff858['item']['is']('element','tableCell')){const _0x41f8f2=this['_getVidAttributeName'](_0x7ff858),_0x4916af=_0x7ff858['item']['getAttribute'](_0x41f8f2);if(_0x110203['has'](_0x4916af)){const _0x1616d3=_0x7ff858['item']['parent']['parent']['getAttribute']('vid_start'),_0x38f6c2=_0x387a26['get'](_0x1616d3)||new Set();_0x38f6c2['add'](_0x110203['get'](_0x4916af)['userId']),_0x387a26['set'](_0x1616d3,_0x38f6c2);}}_0xc5e1a9=_0x4903e0['deletions'][_0x518379];for(const _0x392bb9 of _0xc5e1a9)if(_0x392bb9['item']['is']('element','tableCell')){const _0x4a0786=this['_getVidAttributeName'](_0x392bb9),_0x44d868=_0x392bb9['item']['getAttribute'](_0x4a0786);if(_0x16c0e8['has'](_0x44d868)){const _0x2b963c=_0x392bb9['item']['parent']['parent']['getAttribute']('vid_start'),_0x5a4688=_0x387a26['get'](_0x2b963c)||new Set();_0x5a4688['add'](_0x16c0e8['get'](_0x44d868)['userId']),_0x387a26['set'](_0x2b963c,_0x5a4688);}}for(const _0x2eba54 of _0x387a26['keys']())(_0x110203['has'](_0x2eba54)||_0x16c0e8['has'](_0x2eba54))&&_0x387a26['delete'](_0x2eba54);}for(const _0x1cae8c of _0x1ab88f){const _0x550700=_0x4903e0['insertions'][_0x1cae8c];let _0x52f015=null,_0x1259f8=null;for(const _0x5b6f05 of _0x550700){const _0x2474ea=this['_getVidAttributeName'](_0x5b6f05),_0x2356b1=_0x5b6f05['item']['getAttribute'](_0x2474ea),_0x5cbcf4=_0x387a26['get'](_0x2356b1);_0x5cbcf4&&'elementStart'==_0x5b6f05['type']&&(_0x52f015=Array['from'](_0x5cbcf4)[0x0],_0x1259f8=_0x5b6f05['item']['getAttribute']('vid_end')),_0x52f015&&(_0x16c0e8['set'](_0x2356b1,{'userId':_0x52f015}),_0x110203['set'](_0x2356b1,{'userId':_0x52f015})),_0x2356b1==_0x1259f8&&(_0x52f015=null,_0x1259f8=null);}}const _0x527731={},_0x2c70c7=new Set();for(const _0x305ac3 of _0x1ab88f){const _0x528f6a=_0x100fec['deletions'][_0x305ac3],_0x404116=_0x100fec['insertions'][_0x305ac3];for(const {userId:_0x496e7d}of this['_touchedMarkers']['values']())null!==_0x496e7d&&_0x2c70c7['add'](_0x496e7d);for(const {userId:_0x48b8fb}of this['_touchedRoots']['values']())null!==_0x48b8fb&&_0x2c70c7['add'](_0x48b8fb);this['_markChanges'](_0x404116,_0x4903e0['insertions'][_0x305ac3],_0x110203,'insertion',_0x2c70c7),this['_markChanges'](_0x528f6a,_0x4903e0['deletions'][_0x305ac3],_0x16c0e8,'deletion',_0x2c70c7),_0x527731[_0x305ac3]={'insertions':this['_prepareViewToSave'](_0x404116),'deletions':this['_prepareViewToSave'](_0x528f6a),'attachChange':this['_touchedRoots']['get'](_0x305ac3)||null,'attributesBefore':_0x3ad142(this['_baseRootsAttributes']['get'](_0x305ac3))||{},'attributesAfter':_0x3ad142(this['_diffRootsAttributes']['get'](_0x305ac3))};}return{'diffData':_0x527731,'authorsIds':Array['from'](_0x2c70c7)};}['_processRootBeforeSave'](_0xd79c96){for(const [,_0x304fc0]of _0xd79c96['markers']){const _0x1b1799=_0x304fc0['start']['getAncestors']()['filter'](_0x56805c=>'tableCell'==_0x56805c['name']);for(const _0x22abfb of _0x1b1799)0x1==_0x22abfb['childCount']&&_0x22abfb['getChild'](0x0)['is']('element','paragraph')&&_0x22abfb['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x2ba139){this['_processRootBeforeSave'](_0x2ba139);const _0x1bfeaf=this['editor']['data']['toView'](_0x2ba139,{}),_0x38e49d=Array['from'](_0x1bfeaf['getChildren']())['map'](_0x3491a2=>this['_getViewJson'](_0x3491a2));return JSON['stringify'](_0x38e49d);}['_getViewJson'](_0x28ea47){if(_0x28ea47['is']('$text'))return _0x28ea47['data'];{const _0x5e92c3=_0x28ea47;return{'type':Object['keys'](T)['find'](_0x53c0ac=>_0x28ea47 instanceof T[_0x53c0ac]),'name':_0x5e92c3['name'],'attributes':Array['from'](_0x5e92c3['getAttributes']()),'children':Array['from'](_0x5e92c3['getChildren']())['map'](_0x599db6=>this['_getViewJson'](_0x599db6))};}}['_markChanges'](_0x51730a,_0x5d8660,_0x2eeb89,_0x39d49a,_0x37f390){let _0x138dbe=null,_0x49801a=null,_0x4588c5=0x0;const _0x3f1342=this['editor']['model'];for(let _0x4afb25=0x0;_0x4afb25<_0x5d8660['length'];_0x4afb25++){const _0x5825f4=this['_getVidAttributeName'](_0x5d8660[_0x4afb25]),_0xc398b=_0x5d8660[_0x4afb25]['item']['getAttribute'](_0x5825f4),_0x5057cd=_0x2eeb89['get'](_0xc398b),_0x189744=_0x4afb25==_0x5d8660['length']-0x1;(!_0x138dbe&&_0x5057cd&&(_0x138dbe=_0x5057cd,_0x49801a=_0x5d8660[_0x4afb25]),_0x138dbe&&(!_0x5057cd||_0x5057cd['userId']!=_0x138dbe['userId']))&&(_0x20a426(_0x5057cd,L(_0x49801a,_0x51730a,_0x3f1342),L(_0x5d8660[_0x4afb25],_0x51730a,_0x3f1342)),_0x138dbe=_0x5057cd||null,_0x49801a=_0x5057cd?_0x5d8660[_0x4afb25]:null),_0x138dbe&&_0x189744&&_0x20a426(_0x5057cd,L(_0x49801a,_0x51730a,_0x3f1342),W(_0x5d8660[_0x4afb25],_0x51730a,_0x3f1342));}function _0x20a426(_0x2586eb,_0x40971a,_0x203ca2){const _0x4dce21=_0x138dbe['userId'],_0xd73e0b='revision:'+_0x39d49a+':'+_0x4dce21+':'+_0x4588c5++,_0x53c5ec=_0x3f1342['createRange'](_0x40971a,_0x203ca2);_0x51730a['markers']['set'](_0xd73e0b,_0x53c5ec),null!==_0x4dce21&&_0x37f390['add'](_0x4dce21);}}['_getVidAttributeName'](_0xf454a){switch(_0xf454a['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x5a5e23,_0x3a0ea5){_0x5a5e23['baseVersion']=null;for(const _0x123773 in _0x5a5e23){const _0x3303af=_0x5a5e23[_0x123773];if(_0x3303af instanceof wt){const _0x5812a3=_0x3a0ea5['get'](_0x3303af['root']['rootName']);_0x5a5e23[_0x123773]=this['_fixPosition'](_0x3303af,_0x5812a3);}if(_0x3303af instanceof gt){const _0x14c61e=_0x3a0ea5['get'](_0x3303af['root']['rootName']);_0x5a5e23[_0x123773]=this['_fixRange'](_0x3303af,_0x14c61e);}'root'===_0x123773&&(_0x5a5e23['root']=_0x3a0ea5['get'](_0x5a5e23['root']['rootName']));}}['_fixRange'](_0x3ad55f,_0x25c939){return this['editor']['model']['createRange'](this['_fixPosition'](_0x3ad55f['start'],_0x25c939),this['_fixPosition'](_0x3ad55f['end'],_0x25c939));}['_fixPosition'](_0x1d2351,_0x7e8089){return this['editor']['model']['createPositionFromPath'](_0x7e8089,_0x1d2351['path'],_0x1d2351['stickiness']);}['_handleInsertOperation'](_0x2a67ff){const _0x3d7db3=this['_idsRoots']['get'](_0x2a67ff['position']['root']['rootName']),_0x3d751d=this['_fixPosition'](_0x2a67ff['position'],_0x3d7db3),_0x3495dd=null===_0x2a67ff['_authorId']?null:_0x2a67ff['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5617e9=_0x3d751d['parent'],_0x4ab67c=this['_revisionId'],_0x344117=[];for(const _0x30dd06 of _0x2a67ff['nodes'])if(_0x30dd06['is']('element'))_0x344117['push'](this['_makeIdsRoot'](_0x30dd06));else{for(let _0x34bfb3=0x0;_0x34bfb3<_0x30dd06['offsetSize'];_0x34bfb3++)_0x344117['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x3db0ce=this['_revisionId'];for(let _0x8c4568=_0x4ab67c;_0x8c4568<_0x3db0ce;_0x8c4568++)this['_touched']['set'](_0x8c4568,{'userId':_0x3495dd});_0x5617e9['_insertChild'](_0x3d751d['offset'],_0x344117);}['_handleMoveOperation'](_0x594327){(_0x594327=this['_cloneOperation'](_0x594327,this['_idsRoots']))['_execute']();const _0x111cea=null===_0x594327['_authorId']?null:_0x594327['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3819f3=_0x594327['getMovedRangeStart'](),_0x47bf93=_0x3819f3['parent'],_0x1eb87b=_0x3819f3['offset'];!function _0x5f1cb6(_0x2c0e3e,_0x5f1691,_0xba9b7f,_0x50e6eb){for(let _0x36e433=_0xba9b7f;_0x36e433<_0x50e6eb;_0x36e433++){const _0x56a22c=_0x5f1691['getChild'](_0x36e433);_0x56a22c['is']('element','$text')?_0x2c0e3e['set'](_0x56a22c['getAttribute']('vid'),{'userId':_0x111cea}):(_0x2c0e3e['set'](_0x56a22c['getAttribute']('vid_start'),{'userId':_0x111cea}),_0x5f1cb6(_0x2c0e3e,_0x56a22c,0x0,_0x56a22c['childCount']),_0x2c0e3e['set'](_0x56a22c['getAttribute']('vid_end'),{'userId':_0x111cea}));}}(this['_touched'],_0x47bf93,_0x1eb87b,_0x1eb87b+_0x594327['howMany']);}['_handleMergeOperation'](_0x40c3e4){const _0x4720db=null===(_0x40c3e4=this['_cloneOperation'](_0x40c3e4,this['_idsRoots']))['_authorId']?null:_0x40c3e4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1ca75e=_0x40c3e4['targetPosition']['parent'],_0x10d096=_0x40c3e4['sourcePosition']['parent'],_0x17f881=_0x1ca75e['getAttribute']('vid_end'),_0x3ac1ec=_0x10d096['getAttribute']('vid_start');_0x1ca75e['_setAttribute']('vid_end',_0x10d096['getAttribute']('vid_end')),_0x10d096['_setAttribute']('vid_end',_0x17f881),this['_touched']['set'](_0x3ac1ec,{'userId':_0x4720db}),this['_touched']['set'](_0x17f881,{'userId':_0x4720db}),_0x40c3e4['_execute']();}['_handleSplitOperation'](_0x341000){const _0x1ef037=null===(_0x341000=this['_cloneOperation'](_0x341000,this['_idsRoots']))['_authorId']?null:_0x341000['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xf36e26=_0x341000['graveyardPosition'],_0x10cf64=_0x341000['splitPosition']['parent'];_0x341000['_execute']();const _0x30cd03=_0x10cf64['getAttribute']('vid_end'),_0xfdc68b=_0x341000['insertionPosition']['nodeAfter'];if(_0xf36e26){const _0x2b55af=_0xfdc68b['getAttribute']('vid_end'),_0x28beab=_0x10cf64['getAttribute']('vid_end');_0x10cf64['_setAttribute']('vid_end',_0x2b55af),_0xfdc68b['_setAttribute']('vid_end',_0x28beab),this['_touched']['set'](_0x10cf64['getAttribute']('vid_end'),{'userId':_0x1ef037}),this['_touched']['set'](_0xfdc68b['getAttribute']('vid_start'),{'userId':_0x1ef037});}else{const _0x113e98=this['_revisionId']++,_0x1b5bf0=this['_revisionId']++;_0x10cf64['_setAttribute']('vid_end',_0x113e98),_0xfdc68b['_setAttribute']('vid_start',_0x1b5bf0),_0xfdc68b['_setAttribute']('vid_end',_0x30cd03),this['_touched']['set'](_0x113e98,{'userId':_0x1ef037}),this['_touched']['set'](_0x1b5bf0,{'userId':_0x1ef037});}}['_handleMarkerOperation'](_0x2ac8ae){if(!_0x2ac8ae['affectsData'])return;const _0x467c92=(_0x2ac8ae=this['_cloneOperation'](_0x2ac8ae,this['_diffRoots']))['oldRange']?_0x2ac8ae['oldRange']['root']:null,_0xa6225a=_0x2ac8ae['newRange']?_0x2ac8ae['newRange']['root']:null;_0x467c92&&this['_markers']['delete'](_0x2ac8ae['name']),_0xa6225a&&this['_markers']['set'](_0x2ac8ae['name'],_0x2ac8ae['newRange']['clone']());const _0x213472=null===_0x2ac8ae['_authorId']?null:_0x2ac8ae['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x40fff5=_0x2ac8ae['name'];if(!this['_touchedMarkers']['has'](_0x40fff5))return void this['_touchedMarkers']['set'](_0x40fff5,{'range':_0x2ac8ae['oldRange'],'userId':_0x213472});const _0x36bc0a=this['_touchedMarkers']['get'](_0x40fff5),_0x150788=_0x36bc0a['range'],_0x3352fc=_0x2ac8ae['newRange'];null==_0x150788&&null==_0x3352fc||_0x150788&&_0x3352fc&&_0x150788['isEqual'](_0x3352fc)?this['_touchedMarkers']['delete'](_0x2ac8ae['name']):_0x36bc0a['userId']=_0x213472;}['_handleRootOperation'](_0x318c22,_0x7f9023){this['_diffRoots']['has'](_0x318c22['rootName'])?this['_diffRoots']['get'](_0x318c22['rootName'])['_isAttached']=_0x318c22['isAdd']:(this['_diffRoots']['set'](_0x318c22['rootName'],G(_0x318c22['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x318c22['rootName'],{}),_0x7f9023&&this['_idsRoots']['set'](_0x318c22['rootName'],G(_0x318c22['rootName'],!0x0)));const _0x43881c=null===_0x318c22['_authorId']?null:_0x318c22['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x43bebf=this['_touchedRoots']['get'](_0x318c22['rootName']);_0x43bebf&&_0x43bebf['userId']===_0x43881c?this['_touchedRoots']['delete'](_0x318c22['rootName']):this['_touchedRoots']['set'](_0x318c22['rootName'],{'userId':_0x43881c,'isAttached':_0x318c22['isAdd']});}['_handleRootAttributeOperation'](_0x8c3cfe){const _0x506bcc=this['_diffRootsAttributes']['get'](_0x8c3cfe['root']['rootName']);null===_0x8c3cfe['newValue']?delete _0x506bcc[_0x8c3cfe['key']]:_0x506bcc[_0x8c3cfe['key']]=_0x8c3cfe['newValue'];}constructor(_0x14d615){this['editor']=_0x14d615,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;}}function q(_0x495d14){const _0xe9561f=G(_0x495d14['rootName'],_0x495d14['isAttached']());for(const _0x442f22 of _0x495d14['getChildren']()){const _0x10d76a=_0x442f22['_clone'](!0x0);_0xe9561f['_appendChild'](_0x10d76a);}return _0xe9561f;}function G(_0x43b737,_0xfd294c=!0x0){const _0x1ae5b6=new _t();return _0x1ae5b6['rootName']=_0x43b737,_0x1ae5b6['_isAttached']=_0xfd294c,_0x1ae5b6['isAttached']=()=>_0x1ae5b6['_isAttached'],_0x1ae5b6;}function L(_0x4433cb,_0x12c544,_0x29bee1){const _0x4ff5b8='elementEnd'==_0x4433cb['type']?_0x29bee1['createPositionAt'](_0x4433cb['item'],'end'):_0x29bee1['createPositionBefore'](_0x4433cb['item']);return _0x29bee1['createPositionFromPath'](_0x12c544,_0x4ff5b8['path'],_0x4ff5b8['stickiness']);}function W(_0x58f91c,_0x3f2064,_0x4662eb){const _0x4cdf96='elementStart'==_0x58f91c['type']?_0x4662eb['createPositionAt'](_0x58f91c['item'],0x0):_0x4662eb['createPositionAfter'](_0x58f91c['item']);return _0x4662eb['createPositionFromPath'](_0x3f2064,_0x4cdf96['path'],_0x4cdf96['stickiness']);}class ns extends _0x796ce0{['render'](){super['render'](),_0x1cedc1({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x3cefa4=_0x3275d9=>_0x3275d9['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3cefa4),this['keystrokes']['set']('arrowleft',_0x3cefa4),this['keystrokes']['set']('arrowup',_0x3cefa4),this['keystrokes']['set']('arrowdown',_0x3cefa4);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x4c7e61){this['revisionNameInputView']['fieldView']['element']['value']=_0x4c7e61['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x27bbeb){const _0x15a327=new mt(this['locale'],_0x169543),_0x47fa6d=_0x15a327['fieldView'];_0x47fa6d['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x26f4cd=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x27bbeb&&(_0x26f4cd+='\x20('+y(this['locale'],'optional')+')'),(_0x15a327['label']=_0x26f4cd,_0x47fa6d['on']('input',()=>{this['revisionNameInputValue']=_0x47fa6d['element']['value']['trim']();}),_0x15a327);}constructor(_0x5261b3,_0x3fe532){super(_0x5261b3),this['focusTracker']=new _0x521d29(),this['keystrokes']=new _0x5ce4a4(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x3fe532),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}}class u extends _0x17c1cc{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['init'](){const _0x2bb3ba=this['editor'],_0x4f5fa4=_0x2bb3ba['plugins']['get']('RevisionTracker');_0x2bb3ba['ui']['componentFactory']['add']('revisionHistory',_0x39115b=>{const _0x54c1ad=_0x15005b(_0x39115b),_0x4f7906=_0x54c1ad['panelView']['children'],_0x563001=new te(_0x39115b),_0xcbee71=new _0x1448cd(_0x39115b),_0x332b7f=new _0x2e3682(_0x39115b),_0x2d2dee=new _0x1448cd(_0x39115b),_0x385f5b=new _0x2e3682(_0x39115b);return _0x54c1ad['bind']('isEnabled')['to'](_0x4f5fa4,'isReady',_0x4f5fa4,'isEnabled',_0x2bb3ba,'isReadOnly',(_0xbbdb56,_0x214395,_0x37af46)=>_0xbbdb56&&_0x214395&&!_0x37af46),_0x54c1ad['buttonView']['set']({'icon':_0x4df937['history'],'label':y(_0x39115b,'Revision\x20history'),'tooltip':!0x0}),_0x332b7f['set']({'label':y(_0x39115b,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x332b7f['bind']('isEnabled')['to'](_0x4f5fa4,'isReady',_0x4f5fa4,'isEnabled',_0x2bb3ba,'isReadOnly',(_0x4be596,_0xdda658,_0x40141b)=>_0x4be596&&_0xdda658&&!_0x40141b),_0x332b7f['on']('execute',()=>this['_showDialog']()),_0x385f5b['set']({'label':y(_0x39115b,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x385f5b['bind']('isEnabled')['to'](_0x4f5fa4,'isReady',_0x2bb3ba,'isReadOnly',(_0x32eb5b,_0x54c2d6)=>_0x32eb5b&&!_0x54c2d6),_0x385f5b['on']('execute',()=>{_0x2bb3ba['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x54c1ad['isOpen']=!0x1,_0x2bb3ba['editing']['view']['focus']();}),_0xcbee71['children']['add'](_0x332b7f),_0x2d2dee['children']['add'](_0x385f5b),_0x563001['role']='menu',_0x563001['items']['addMany']([_0xcbee71,_0x2d2dee]),_0x4f7906['add'](_0x563001),_0x54c1ad;}),_0x2bb3ba['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0xe9e979=this['editor'],_0x24405f=_0xe9e979['locale'],_0x5beec0=new _0x1c0a1b(_0x24405f),_0x1f5163=new _0x1a5d66(_0x24405f);_0x5beec0['buttonView']['set']({'icon':_0x4df937['history'],'label':y(_0x24405f,'Revision\x20history')});const _0x5a6691=new _0xacdda6(_0x24405f,_0x5beec0),_0x3935c3=new _0x30ab2a(_0x24405f);_0x3935c3['set']({'label':y(_0x24405f,'Save\x20current\x20revision')}),_0x3935c3['delegate']('execute')['to'](_0x5beec0),_0x3935c3['on']('execute',()=>{this['_showDialog']();}),_0x5a6691['children']['add'](_0x3935c3),_0x1f5163['items']['add'](_0x5a6691);const _0x1866af=new _0xacdda6(_0x24405f,_0x5beec0),_0x4735bb=new _0x30ab2a(_0x24405f);return _0x4735bb['set']({'label':y(_0x24405f,'Open\x20revision\x20history')}),_0x4735bb['delegate']('execute')['to'](_0x5beec0),_0x4735bb['on']('execute',()=>{_0xe9e979['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x1866af['children']['add'](_0x4735bb),_0x1f5163['items']['add'](_0x1866af),_0x5beec0['panelView']['children']['add'](_0x1f5163),_0x5beec0;}['_showDialog'](){const _0x71aa59=this['editor'],_0x1819a2=_0x71aa59['locale'],t=_0x1819a2['t'],_0x380216=_0x71aa59['plugins']['get']('Dialog'),_0x13989b=_0x71aa59['plugins']['get']('RevisionTracker');function _0x202ed2(_0x44c9ae){_0x71aa59['config']['get']('revisionHistory.requireRevisionName')&&''===_0x44c9ae['revisionName']?_0x44c9ae['revisionNameInputView']['errorText']=y(_0x1819a2,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x71aa59['plugins']['get'](l)['saveRevision']({'name':_0x44c9ae['revisionName']}),_0x380216['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x202ed2(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x380216['show']({'id':'findAndReplace','title':y(_0x1819a2,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x380216['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x157ea8){_0x157ea8['bind']('isEnabled')['to'](_0x13989b,'isReady',_0x13989b,'isEnabled',_0x71aa59,'isReadOnly',(_0x427833,_0x5d54a8,_0x4e1fdb)=>_0x427833&&_0x5d54a8&&!_0x4e1fdb);},'onExecute':()=>_0x202ed2(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x4d971c=this['editor'],_0x57e626=_0x4d971c['locale'];this['_saveRevisionFormView']=new ns(_0x57e626,_0x4d971c['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x796ce0{['focus'](){this['element']['focus']();}constructor(_0x3b37f5,_0x479628){super(_0x3b37f5),this['_model']=_0x479628,this['changeId']=_0x479628['id'];const _0x48fe14=this['bindTemplate'],_0x2b4a84=y(_0x3b37f5,_0x479628['data']['isSuggestion']?'Suggested\x20by':'add'==_0x479628['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x479628['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x48fe14['to']('type',_0x32b0a9=>'ck-revision-change__'+_0x32b0a9)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x2b4a84}]},{'text':'\x20'+_0x479628['author']['name']}]}]});}}class r extends _0x5c80d6(){['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}constructor(_0x1f72bb){super(),this['id']=_0x1f72bb['id']||_0x55ddc3(),this['author']=_0x1f72bb['author'],this['type']=_0x1f72bb['type'],this['data']=_0x1f72bb['data']||{},this['rootName']=_0x1f72bb['rootName'],this['set']('createdAt',_0x1f72bb['createdAt']);}}class f{['_setChanges'](_0x1e16ec){for(const _0x4f1382 of _0x1e16ec)this['changes']['add'](_0x4f1382);}constructor(_0x243bb6,_0x468d46){this['newRevisionId']=_0x243bb6,this['oldRevisionId']=_0x468d46,this['changes']=new _0x210b3a();}}const tt={'c':_0x256ffb,'a':_0x2f0af3,'e':_0xd82b25,'r':_0x5c9ebb,'u':_0xadb654};class d extends _0x17c1cc{static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x135cd2,_0x310f20,A];}['init'](){const _0x33b98c=this['editor'],_0x49b973=new Rt(_0x33b98c,{'direction':'backward'}),_0x1dc7b8=new Rt(_0x33b98c,{'direction':'forward'});(_0x33b98c['commands']['add']('showPreviousChange',_0x49b973),_0x33b98c['commands']['add']('showNextChange',_0x1dc7b8),_0x33b98c['commands']['add']('restoreRevision',new bt(_0x33b98c)),this['on']('change:numberOfChanges',()=>{_0x49b973['refresh'](),_0x1dc7b8['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x33b98c['enableReadOnlyMode']('revision-viewer'),_0x33b98c['plugins']['has']('WidgetToolbarRepository'))&&_0x33b98c['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x58dedf){await this['loadRevisionData'](_0x58dedf);const _0x1cb29a={};for(const _0xfa2223 in _0x58dedf['diffData']){if(_0x58dedf['diffData'][_0xfa2223]['attachChange']&&!_0x58dedf['diffData'][_0xfa2223]['attachChange']['isAttached'])continue;const _0x3b7e22=this['_removeRevisionMarkers'](JSON['parse'](_0x58dedf['diffData'][_0xfa2223]['insertions'])),_0x2f5694=this['editor']['editing']['view']['document'],_0x497919=new _0x2714a1(_0x2f5694,_0x3b7e22['map'](_0x401cd2=>this['_getViewObj'](_0x401cd2)));this['editor']['data']['processor']['useFillerType']('marked'),_0x1cb29a[_0xfa2223]=this['editor']['data']['processor']['toData'](_0x497919),this['editor']['data']['processor']['useFillerType']('default');}return _0x1cb29a;}async['getRevisionRootsAttributes'](_0x1ee2cb){await this['loadRevisionData'](_0x1ee2cb);const _0x52b5b6={};for(const _0x1d2d31 in _0x1ee2cb['diffData'])_0x1ee2cb['diffData'][_0x1d2d31]['attachChange']&&!_0x1ee2cb['diffData'][_0x1d2d31]['attachChange']['isAttached']||(_0x52b5b6[_0x1d2d31]=_0x1ee2cb['diffData'][_0x1d2d31]['attributesAfter']||{});return _0x52b5b6;}['_removeRevisionMarkers'](_0x35a999){return(_0x35a999=_0x35a999['filter'](_0x2594da=>!_0x2594da['name']||'revision-start'!==_0x2594da['name']&&'revision-end'!==_0x2594da['name']))['forEach'](_0x410b3f=>{'string'!=typeof _0x410b3f&&(_0x410b3f['children']=this['_removeRevisionMarkers'](_0x410b3f['children']),_0x410b3f['attributes']=_0x410b3f['attributes']['filter'](_0x1dadff=>!_0x1dadff[0x0]['startsWith']('data-revision-')));}),_0x35a999;}async['compare'](_0xf693e6,_0x4bbbe4,_0x4af3fb=!0x1){if(!this['isEnabled'])return;const _0x4d4710=this['diff'],_0x4fd33a=this['repository'],_0x3c5289='string'==typeof _0xf693e6?_0x4fd33a['getRevision'](_0xf693e6):_0xf693e6,_0x184425='string'==typeof _0x4bbbe4?_0x4fd33a['getRevision'](_0x4bbbe4):_0x4bbbe4,_0x494912=_0x3c5289['id'],_0x43f44b=_0x184425?_0x184425['id']:null;if(!_0x4af3fb&&this['diff']&&this['diff']['newRevisionId']===_0x494912&&this['diff']['oldRevisionId']===_0x43f44b)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x494912,_0x43f44b);const _0x434bec=this['_getRevisionsRange'](_0x3c5289,_0x184425,!0x0)['map'](_0x44f9e3=>this['loadRevisionData'](_0x44f9e3));return _0x434bec['push'](new Promise(_0x17d58f=>{setTimeout(_0x17d58f,0x14);})),Promise['all'](_0x434bec)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x1df68d=this['_getDiff'](_0x494912,_0x43f44b);for(const _0x3a85c4 of _0x1df68d['changes'])this['_changeIdToChange']['set'](_0x3a85c4['id'],_0x3a85c4);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x16510f=>{for(const _0x3ce9e9 of this['editor']['model']['document']['getRootNames']())_0x16510f['detachRoot'](_0x3ce9e9);for(const _0x40a387 of Object['keys'](_0x1df68d['model'])){const _0x4e919b=_0x16510f['addRoot'](_0x40a387);for(const _0x770bb1 of Object['keys'](_0x1df68d['attributes'][_0x40a387]))_0x16510f['setAttribute'](_0x770bb1,_0x1df68d['attributes'][_0x40a387][_0x770bb1],_0x4e919b);_0x16510f['insert'](_0x1df68d['model'][_0x40a387],_0x4e919b,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x1df68d['changes'])),this['isReady']=!0x0;})['catch'](_0x5ddd94=>{console['error'](_0x5ddd94),this['_cleanUp'](),_0x4d4710&&(this['diff']=_0x4d4710),this['isReady']=!0x0;});}['addRevisionData'](_0xcc4d50,_0x3a9ebe){const _0x22014c=this['repository']['createRevision'](_0xcc4d50);return _0x22014c['on']('_update',(_0x4f2ffd,_0x43da83,_0x4ede20)=>_0x3a9ebe(_0x43da83,_0x4ede20,_0x22014c)),this['repository']['addRevision'](_0x22014c),_0x22014c;}['loadRevisionData'](_0x293b2a){if(!_0x293b2a||_0x293b2a['diffData'])return Promise['resolve']();{const _0x3adb61=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3adb61,'revisionId':_0x293b2a['id']})['then'](_0x29ef3e=>{_0x293b2a['_update']({'diffData':_0x29ef3e['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},_0x36e669=>{for(const _0x2d41b9 of this['editor']['model']['document']['getRootNames']())_0x36e669['detachRoot'](_0x2d41b9);});}['_sortAndFilterDiffChanges'](_0x26248a){const _0x591767=[],_0x2f3369=new Map();for(const _0x30c4a5 of this['editor']['model']['document']['getRootNames']()){const _0x173e77=this['editor']['editing']['view']['getDomRoot'](_0x30c4a5);if(!_0x173e77)continue;const _0x4a58b9=_0x173e77['getClientRects']()['item'](0x0);_0x4a58b9&&(_0x591767['push'](_0x30c4a5),_0x2f3369['set'](_0x30c4a5,_0x4a58b9));}return _0x591767['sort']((_0xa75a22,_0x12db7c)=>{const _0x417775=_0x2f3369['get'](_0xa75a22),_0x1fe327=_0x2f3369['get'](_0x12db7c);return _0x417775['y']-_0x1fe327['y']||_0x417775['x']-_0x1fe327['x'];}),(_0x26248a=_0x26248a['filter'](_0x299dfe=>_0x591767['includes'](_0x299dfe['rootName'])))['sort']((_0x229464,_0x4c3b1e)=>_0x591767['indexOf'](_0x229464['rootName'])-_0x591767['indexOf'](_0x4c3b1e['rootName'])),_0x26248a;}['_makeTape'](_0x3c60c0){const _0x5cc078=Array['from'](_0x3c60c0['markers'])['filter'](([_0x3d5798,_0x25a8f8])=>_0x3d5798['startsWith']('revision:')&&!_0x25a8f8['isCollapsed']),_0x388a7e=Array['from'](this['editor']['model']['createRangeIn'](_0x3c60c0)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x5cc078['length'])for(const _0x432e53 of _0x388a7e){const [_0x53f10b,_0x2d7ef1]=_0x5cc078[0x0],[,_0x393e40,_0x59cba3]=_0x53f10b['split'](':');if(_0x2d7ef1['end']['isEqual'](_0x432e53['nextPosition'])&&_0x5cc078['shift'](),(_0x432e53['previousPosition']['isEqual'](_0x2d7ef1['start'])||_0x432e53['previousPosition']['isAfter'](_0x2d7ef1['start']))&&('insertion'==_0x393e40?_0x432e53['isAdded']={'userId':_0x59cba3}:'deletion'==_0x393e40&&(_0x432e53['isRemoved']={'userId':_0x59cba3})),0x0==_0x5cc078['length'])break;}return _0x388a7e;}['_refreshStartEndIndex'](_0x2010a3){const _0x179eb2=new Map();for(let _0x228801=0x0;_0x228801<_0x2010a3['length'];_0x228801++)'text'===_0x2010a3[_0x228801]['type']?(_0x2010a3[_0x228801]['item']['startIndex']=_0x228801,_0x2010a3[_0x228801]['item']['endIndex']=_0x228801):('elementStart'===_0x2010a3[_0x228801]['type']?_0x2010a3[_0x228801]['item']['startIndex']=_0x228801:'elementEnd'===_0x2010a3[_0x228801]['type']&&(_0x2010a3[_0x228801]['item']['endIndex']=_0x228801),_0x179eb2['set'](_0x2010a3[_0x228801]['id'],_0x228801));for(const _0x9b8b8d of _0x179eb2['values']())'elementStart'===_0x2010a3[_0x9b8b8d]['type']?_0x2010a3[_0x9b8b8d]['item']['endIndex']=_0x179eb2['get'](_0x2010a3[_0x9b8b8d]['pairId']):'elementEnd'===_0x2010a3[_0x9b8b8d]['type']&&(_0x2010a3[_0x9b8b8d]['item']['startIndex']=_0x179eb2['get'](_0x2010a3[_0x9b8b8d]['pairId']));}['_processTape'](_0x9f43cc){for(let _0x535014=0x0;_0x535014<_0x9f43cc['length'];_0x535014++){if('elementStart'===_0x9f43cc[_0x535014]['type'])_0x9f43cc[_0x535014]['item']['startIndex']=_0x535014;else{if('elementEnd'===_0x9f43cc[_0x535014]['type']){_0x9f43cc[_0x535014]['item']['endIndex']=_0x535014;const _0x25e055=_0x9f43cc[_0x535014]['item']['startIndex'];_0x9f43cc[_0x25e055]['pairId']=_0x9f43cc[_0x535014]['id'],_0x9f43cc[_0x535014]['pairId']=_0x9f43cc[_0x25e055]['id'];}else _0x9f43cc[_0x535014]['item']['startIndex']=_0x535014,_0x9f43cc[_0x535014]['item']['endIndex']=_0x535014,_0x9f43cc[_0x535014]['pairId']=null;}_0x9f43cc[_0x535014]['markersStart']||(_0x9f43cc[_0x535014]['markersStart']=[],_0x9f43cc[_0x535014]['markersEnd']=[]);}}['_markInsertions'](_0x3ca8e2,_0x303a77){const _0x1d8477=_0x3ca8e2['filter'](_0x15ff3b=>!_0x15ff3b['isAdded']);for(let _0x349ec6=0x0;_0x349ec6<_0x303a77['length'];_0x349ec6++)_0x303a77[_0x349ec6]['isAdded']&&(_0x1d8477[_0x349ec6]['isAdded']=_0x303a77[_0x349ec6]['isAdded']);}['_makeModelFromViewString'](_0x15ea31){const _0x3e591e=JSON['parse'](_0x15ea31),_0x177fdc=this['editor']['editing']['view']['document'],_0x273fbf=new _0x2714a1(_0x177fdc,_0x3e591e['map'](_0x20045b=>this['_getViewObj'](_0x20045b)));return this['editor']['data']['toModel'](_0x273fbf);}['_getViewObj'](_0x35ab4b){const _0x8c6fbf=this['editor']['editing']['view']['document'];if('string'==typeof _0x35ab4b)return new _0xf07b69(_0x8c6fbf,_0x35ab4b);{const _0x4643da=_0x35ab4b['children']['map'](_0x26fc8b=>this['_getViewObj'](_0x26fc8b));return new(tt[_0x35ab4b['type']]||_0x296554)(_0x8c6fbf,_0x35ab4b['name'],_0x35ab4b['attributes'],_0x4643da);}}['_getDiff'](_0x579b6d,_0x3aa6e6=null){const _0x433cb2=this['repository']['getRevision'](_0x579b6d),_0x4e4c0b=_0x3aa6e6?this['repository']['getRevision'](_0x3aa6e6):null,_0xf22978=this['_getRevisionsRange'](_0x433cb2,_0x4e4c0b),_0x58867d=_0xf22978[_0xf22978['length']-0x1],_0x586694=new Map(),_0x176105={'model':{},'attributes':{},'changes':[]},_0x2db274=new Set(),_0x17ec3a=new Map();for(let _0x33ca3c=_0xf22978['length']-0x1;_0x33ca3c>=0x0;_0x33ca3c--){const _0x14077a=_0xf22978[_0x33ca3c];for(const _0x27cbc6 of Object['keys'](_0x14077a['diffData']))if(_0x14077a['diffData'][_0x27cbc6]['attachChange']){const _0x1fe6fc=_0x14077a['diffData'][_0x27cbc6]['attachChange'];_0x1fe6fc['isAttached']?(_0x2db274['add'](_0x27cbc6),_0x17ec3a['has'](_0x27cbc6)&&_0x17ec3a['get'](_0x27cbc6)['userId']==_0x1fe6fc['userId']?_0x17ec3a['delete'](_0x27cbc6):_0x17ec3a['set'](_0x27cbc6,_0x1fe6fc)):_0x17ec3a['has'](_0x27cbc6)?(_0x2db274['delete'](_0x27cbc6),_0x17ec3a['delete'](_0x27cbc6)):(_0x2db274['add'](_0x27cbc6),_0x17ec3a['set'](_0x27cbc6,_0x1fe6fc));}else _0x2db274['add'](_0x27cbc6);}for(const _0xd20332 of _0x2db274){const _0x2ebd70=_0x17ec3a['has'](_0xd20332)&&!_0x17ec3a['get'](_0xd20332)['isAttached'];let _0x8ff2ca=_0x2ebd70?_0xf22978['length']-0x1:0x0;const _0x35e081=_0x2ebd70?-0x1:0x1;for(;_0xf22978[_0x8ff2ca];){const _0x12ebbb=_0xf22978[_0x8ff2ca];if(_0x12ebbb['diffData'][_0xd20332]){const _0x2e4703=_0x2ebd70?_0x12ebbb['diffData'][_0xd20332]['attributesBefore']:_0x12ebbb['diffData'][_0xd20332]['attributesAfter'];_0x176105['attributes'][_0xd20332]=_0x2e4703?_0x3ad142(_0x2e4703):{};break;}_0x8ff2ca+=_0x35e081;}}for(const _0x2a0785 of _0xf22978){_0x2a0785['model']={};for(const _0x10439e of _0x2a0785['authors'])_0x586694['set'](_0x10439e['id'],_0x10439e);for(const _0x2ca163 of _0x2db274){const _0x4b7b1e=_0x2a0785['diffData'][_0x2ca163]?_0x2a0785['diffData'][_0x2ca163]['insertions']:'[]',_0x3bbc5b=_0x2a0785['diffData'][_0x2ca163]?_0x2a0785['diffData'][_0x2ca163]['deletions']:'[]';_0x2a0785['model'][_0x2ca163]={'insertions':this['_makeModelFromViewString'](_0x4b7b1e),'deletions':this['_makeModelFromViewString'](_0x3bbc5b)};}}for(const _0x48c441 of _0x2db274){let _0xd04bc2=null,_0x33c087=0x0;const _0x5a28d4=new Map(Array['from'](_0x433cb2['model'][_0x48c441]['insertions']['markers'])['filter'](([_0x3ae2f9])=>!_0x3ae2f9['startsWith']('revision:')));let _0x22fc5d=0x0;for(const _0x48abde of _0xf22978){const _0x54092f=this['_makeTape'](_0x48abde['model'][_0x48c441]['insertions']);_0x48abde==_0x433cb2?(_0xd04bc2=_0x54092f,_0x33c087=_0xd04bc2['length'],_0xd04bc2['forEach'](_0x865e60=>{_0x865e60['id']=_0x22fc5d++;}),this['_processTape'](_0xd04bc2)):this['_markInsertions'](_0xd04bc2,_0x54092f);const _0x40f1f2=_0xd04bc2['filter'](_0x431a6a=>!_0x431a6a['isAdded'])['map'](_0x23b3ad=>_0x23b3ad['id']);let _0x38cfb0=0x0;const _0x3cc1a3=this['_makeTape'](_0x48abde['model'][_0x48c441]['deletions']);_0x3cc1a3['forEach'](_0x18a51b=>{_0x18a51b['isRemoved']?_0x18a51b['id']=_0x33c087++:_0x18a51b['id']=_0x40f1f2[_0x38cfb0++];}),this['_processTape'](_0x3cc1a3),this['_setDistance'](_0xd04bc2,'isAdded'),this['_setDistance'](_0x3cc1a3,'isRemoved'),_0x48abde==_0x433cb2&&this['_markMarkers'](_0xd04bc2,_0x5a28d4),_0xd04bc2=this['_joinTapes'](_0xd04bc2,_0x3cc1a3),this['_refreshStartEndIndex'](_0xd04bc2),this['_setDistance'](_0xd04bc2,'isRemoved');}_0xd04bc2=_0xd04bc2['filter'](_0xfe6b5e=>!(_0xfe6b5e['isAdded']&&_0xfe6b5e['isRemoved']));const _0x1474f4=new Map(_0x58867d['model'][_0x48c441]['deletions']['markers']),_0x33b1e8=new Set(_0x5a28d4['keys']());for(const _0x2aaa9a of _0x1474f4['keys']())_0x33b1e8['delete'](_0x2aaa9a);this['_markSuggestions'](_0xd04bc2,_0x33b1e8),this['_fixObsoleteTags'](_0xd04bc2),_0xd04bc2=this['_removeMissingPairs'](_0xd04bc2),_0xd04bc2=this['_markMismatchedRemovedTags'](_0xd04bc2),_0xd04bc2=this['_removeUnsupportedChanges'](_0xd04bc2);const {root:_0xfce642,changes:_0x4017a3}=this['_makeModelFromTape'](_0xd04bc2,_0x586694,_0x48c441);_0x176105['model'][_0x48c441]=_0xfce642;const _0x370344=_0x17ec3a['get'](_0x48c441);if(_0x370344){const _0x3b359a=_0x586694['get'](_0x370344['userId']),_0x113ccf=new r({'author':_0x3b359a,'type':_0x370344['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x48c441});_0x4017a3['unshift'](_0x113ccf),_0x176105['attributes'][_0x48c441]['revisionHistoryAttachChange']=_0x113ccf['id'];}_0x176105['changes']=_0x176105['changes']['concat'](_0x4017a3);}return _0x176105;}['_markMarkers'](_0x372af0,_0x58f067){for(let _0x5444d6=0x0;_0x5444d6<_0x372af0['length'];_0x5444d6++)for(const [_0x471024,_0x15e84d]of _0x58f067)_0x15e84d['start']['isEqual'](_0x372af0[_0x5444d6]['previousPosition'])&&_0x372af0[_0x5444d6]['markersStart']['push'](_0x471024),_0x15e84d['end']['isEqual'](_0x372af0[_0x5444d6]['nextPosition'])&&_0x372af0[_0x5444d6]['markersEnd']['push'](_0x471024);}['_joinTapes'](_0x24c369,_0x5621f7){let _0x310f4d=[],_0x1189d0=0x0,_0x5bc225=0x0;for(;_0x1189d0<_0x24c369['length']||_0x5bc225<_0x5621f7['length'];){const _0x3e5f99=_0x24c369[_0x1189d0]||{},_0xaf1c77=_0x5621f7[_0x5bc225]||{};if(_0x3e5f99['id']==_0xaf1c77['id'])_0x1189d0++,_0x5bc225++,_0x310f4d['push'](_0x3e5f99);else{if(_0xaf1c77['isRemoved']&&_0x3e5f99['isAdded']){const {commonTape:_0xf5389d,iEnd:_0x240598,jEnd:_0x11f0e8}=this['_threeWayMerge'](_0x24c369,_0x1189d0,_0x5621f7,_0x5bc225);_0x310f4d=_0x310f4d['concat'](_0xf5389d),_0x1189d0=_0x240598,_0x5bc225=_0x11f0e8;}else _0xaf1c77['isRemoved']?(_0x5bc225++,_0x310f4d['push'](_0xaf1c77)):(_0x1189d0++,_0x310f4d['push'](_0x3e5f99));}}return _0x310f4d;}['_markSuggestions'](_0x22a775,_0x3402d8){const _0x40366b=[];for(let _0x3fbce0=0x0;_0x3fbce0<_0x22a775['length'];_0x3fbce0++){for(let _0x122f5a=0x0;_0x122f5a<_0x22a775[_0x3fbce0]['markersStart']['length'];_0x122f5a++){const _0x51bb82=_0x22a775[_0x3fbce0]['markersStart'][_0x122f5a];if(!_0x3402d8['has'](_0x51bb82))continue;const {group:_0x3ff6fe,type:_0x835cd9,authorId:_0x351b71}=_0x5e6177(_0x51bb82);'revision-suggestion'!=_0x3ff6fe||'insertion'!=_0x835cd9&&'deletion'!=_0x835cd9||(_0x40366b['unshift']({'type':_0x835cd9,'name':_0x51bb82,'userId':_0x351b71}),_0x22a775[_0x3fbce0]['markersStart']['splice'](_0x122f5a,0x1),_0x122f5a--);}_0x319348(_0x22a775[_0x3fbce0]);for(let _0xe835c=0x0;_0xe835c<_0x22a775[_0x3fbce0]['markersEnd']['length'];_0xe835c++){const _0x1a4b72=_0x22a775[_0x3fbce0]['markersEnd'][_0xe835c];if(!_0x3402d8['has'](_0x1a4b72))continue;const {group:_0x2333cb,type:_0x3db4e9}=_0x5e6177(_0x1a4b72);if('revision-suggestion'!=_0x2333cb||'insertion'!=_0x3db4e9&&'deletion'!=_0x3db4e9)continue;_0x22a775[_0x3fbce0]['markersEnd']['splice'](_0xe835c,0x1),_0xe835c--;const _0x197d5f=_0x40366b['findIndex'](_0x2c806b=>_0x2c806b['name']==_0x1a4b72);_0x197d5f>-0x1&&_0x40366b['splice'](_0x197d5f,0x1);}}function _0x5e6177(_0x11f934){const _0x4bf137=_0x11f934['split'](':');return{'group':_0x4bf137[0x0],'type':_0x4bf137[0x1],'subType':_0x4bf137['length']>=0x5?_0x4bf137[0x2]:null,'id':_0x4bf137['length']<0x5?_0x4bf137[0x2]:_0x4bf137[0x3],'authorId':_0x4bf137['length']<0x5?_0x4bf137[0x3]:_0x4bf137[0x4],'markerCount':0x6==_0x4bf137['length']?_0x4bf137[0x5]:null};}function _0x319348(_0x51e80e){for(let _0x2c3c8b=0x0;_0x2c3c8b<_0x40366b['length'];_0x2c3c8b++){if(_0x51e80e['isAdded']&&'insertion'==_0x40366b[_0x2c3c8b]['type'])return _0x51e80e['isAddSuggestion']=_0x40366b[_0x2c3c8b],void delete _0x51e80e['isAdded'];if(!_0x51e80e['isAdded']&&!_0x51e80e['isRemoved']&&'deletion'==_0x40366b[_0x2c3c8b]['type'])return void(_0x51e80e['isRemoveSuggestion']=_0x40366b[_0x2c3c8b]);}}}['_setDistance'](_0x16a30b,_0x193312){let _0x862d3c=0x0,_0x4df707=!0x1;const _0x1ef248=new Map();for(const _0x49293f of _0x16a30b)_0x49293f[_0x193312]?_0x4df707&&(_0x862d3c++,_0x4df707=!0x1):(_0x862d3c++,_0x4df707=!0x0),_0x1ef248['set'](_0x49293f['id'],_0x862d3c);for(let _0x1dbc36=0x0;_0x1dbc36<_0x16a30b['length'];_0x1dbc36++){if('isRemoved'==_0x193312&&_0x16a30b[_0x1dbc36]['isAdded']||'isAdded'==_0x193312&&_0x16a30b[_0x1dbc36]['isRemoved'])continue;if('text'==_0x16a30b[_0x1dbc36]['type']){_0x16a30b[_0x1dbc36]['distance']=0x0;continue;}const _0x118fa8=_0x1ef248['get'](_0x16a30b[_0x1dbc36]['pairId']),_0x18371a=_0x1ef248['get'](_0x16a30b[_0x1dbc36]['id']);_0x16a30b[_0x1dbc36]['distance']=_0x118fa8-_0x18371a;}}['_getRevisionsRange'](_0x4d2bda,_0x3d121e,_0x4b70b0=!0x1){const _0xf1c6d2=[];let _0x55d767=this['repository']['getIndex'](_0x4d2bda),_0x858bc8=this['repository']['getIndex'](_0x3d121e);for(-0x1==_0x858bc8&&(_0x858bc8=this['repository']['_revisions']['length'],_0x4b70b0=!0x1);_0x55d767<_0x858bc8;)_0xf1c6d2['push'](this['repository']['getRevision'](_0x55d767)),_0x55d767++;return _0x4b70b0&&_0xf1c6d2['push'](this['repository']['getRevision'](_0x55d767)),_0xf1c6d2;}['_threeWayMerge'](_0x3aff8a,_0x2ba846,_0xd3e601,_0x51a712){const _0x24c77b=this['editor']['model']['schema'];let _0x4f49e7=_0x2ba846;for(;_0x3aff8a[_0x4f49e7]&&_0x3aff8a[_0x4f49e7]['isAdded'];)_0x4f49e7++;let _0x263154=_0x51a712;for(;_0xd3e601[_0x263154]&&_0xd3e601[_0x263154]['isRemoved'];)_0x263154++;_0x46a98e(_0x3aff8a,_0x2ba846,_0x4f49e7),_0x46a98e(_0xd3e601,_0x51a712,_0x263154);const _0x286382=_0xd3e601['slice'](_0x51a712,_0x263154)['concat'](_0x3aff8a['slice'](_0x2ba846,_0x4f49e7));return _0x286382['sort']((_0x40ba2c,_0x117e44)=>_0x40ba2c['side']!=_0x117e44['side']?_0x40ba2c['side']-_0x117e44['side']:_0x40ba2c['level']!=_0x117e44['level']?_0x40ba2c['level']-_0x117e44['level']:_0x40ba2c['distance']!=_0x117e44['distance']?_0x117e44['distance']-_0x40ba2c['distance']:!!_0x40ba2c['isAdded']!=!!_0x117e44['isAdded']?-0x1==_0x40ba2c['side']||0x0==_0x40ba2c['side']?_0x40ba2c['isAdded']?-0x1:0x1:_0x40ba2c['isAdded']?0x1:-0x1:_0x40ba2c['index']-_0x117e44['index']),{'commonTape':_0x286382,'iEnd':_0x4f49e7,'jEnd':_0x263154};function _0x46a98e(_0x281eec,_0x2a1302,_0x1d03e2){let _0x52817f=-0x1,_0x47627e=Number['POSITIVE_INFINITY'],_0xe7b323=!0x0;for(let _0x32d3da=_0x2a1302;_0x32d3da<_0x1d03e2;_0x32d3da++)if(_0x24c77b['isInline'](_0x281eec[_0x32d3da]['item'])||(_0xe7b323=!0x1),_0x281eec[_0x32d3da]['item']['startIndex']<_0x2a1302&&(_0x52817f=_0x32d3da),_0x281eec[_0x32d3da]['item']['endIndex']>=_0x1d03e2){_0x47627e=_0x32d3da;break;}_0xe7b323&&(_0x52817f=_0x1d03e2-0x1);for(let _0x22cee2=_0x2a1302;_0x22cee2<_0x1d03e2;_0x22cee2++)_0x281eec[_0x22cee2]['side']=_0x22cee2<=_0x52817f?-0x1:_0x22cee2<_0x47627e?0x0:0x1,_0x281eec[_0x22cee2]['index']=_0x22cee2;let _0x2cf20b=0x0;for(let _0x5c1e1a=_0x2a1302;_0x5c1e1a<=_0x52817f;_0x5c1e1a++)0x0==_0x281eec[_0x5c1e1a]['distance']?_0x281eec[_0x5c1e1a]['level']=_0x2cf20b:(_0x2cf20b++,_0x281eec[_0x5c1e1a]['level']=_0x2cf20b,_0x2cf20b++);for(let _0x3b5101=_0x2a1302;_0x3b5101<_0x1d03e2;_0x3b5101++)0x0==_0x281eec[_0x3b5101]['side']&&(_0x281eec[_0x3b5101]['level']=_0x2cf20b);_0x2cf20b=0x0;for(let _0x25cc60=_0x1d03e2-0x1;_0x25cc60>=_0x47627e;_0x25cc60--)0x0==_0x281eec[_0x25cc60]['distance']?_0x281eec[_0x25cc60]['level']=_0x2cf20b:(_0x2cf20b--,_0x281eec[_0x25cc60]['level']=_0x2cf20b,_0x2cf20b--);}}['_fixObsoleteTags'](_0x10b880){const _0x508910=new Map(),_0xe7f8fd=this['editor']['model']['schema'];for(let _0x23159e=0x1;_0x23159e<_0x10b880['length'];_0x23159e++){let _0x49a536,_0x2b2b58,_0x4030fa;const _0x421551=_0x10b880[_0x23159e],_0x244236=_0x10b880[_0x23159e-0x1];if('text'==_0x421551['type'])continue;if(_0x421551['type']!=_0x244236['type'])continue;if(!_0xe7f8fd['isBlock'](_0x244236['item'])||_0xe7f8fd['isLimit'](_0x244236['item']))continue;if(!_0xe7f8fd['isBlock'](_0x421551['item'])||_0xe7f8fd['isLimit'](_0x421551['item']))continue;if((_0x10b880[_0x23159e]['isAdded']||_0x10b880[_0x23159e]['isAddSuggestion'])&&_0x10b880[_0x23159e-0x1]['isRemoved'])_0x49a536=_0x10b880[_0x23159e],_0x2b2b58=_0x10b880[_0x23159e-0x1],_0x4030fa=_0x23159e-0x1;else{if(!_0x10b880[_0x23159e]['isRemoved']||!_0x10b880[_0x23159e-0x1]['isAdded']&&!_0x10b880[_0x23159e-0x1]['isAddSuggestion'])continue;_0x49a536=_0x10b880[_0x23159e-0x1],_0x2b2b58=_0x10b880[_0x23159e],_0x4030fa=_0x23159e;}const _0x37522a=_0x49a536['level']==_0x2b2b58['level'],_0x56403d=Math['abs'](_0x49a536['level'])<Math['abs'](_0x2b2b58['level'])&&0x0==_0x2b2b58['distance'];(_0x37522a||_0x56403d)&&(_0x508910['set'](_0x2b2b58['id'],_0x49a536['id']),_0x10b880['splice'](_0x4030fa,0x1),_0x23159e--,_0x49a536['isAdded']=!0x1);}for(let _0x34cffd=0x0;_0x34cffd<_0x10b880['length'];_0x34cffd++)_0x508910['has'](_0x10b880[_0x34cffd]['pairId'])&&(_0x10b880[_0x34cffd]['pairId']=_0x508910['get'](_0x10b880[_0x34cffd]['pairId']));}['_removeMissingPairs'](_0x47a43d){const _0x2b7a8a=new Set(_0x47a43d['map'](_0x3fbc62=>_0x3fbc62['id']));for(let _0x2a1997=0x0;_0x2a1997<_0x47a43d['length'];_0x2a1997++)_0x2b7a8a['has'](_0x47a43d[_0x2a1997]['pairId'])||0x0==_0x47a43d[_0x2a1997]['distance']||(_0x47a43d[_0x2a1997]['isIncorrect']=!0x0);return _0x47a43d['filter'](_0x52510b=>!_0x52510b['isIncorrect']);}['_markMismatchedRemovedTags'](_0x3868a6){const _0x3c07ec=new Set();for(let _0x1a7d87=0x0;_0x1a7d87<_0x3868a6['length'];_0x1a7d87++){if(_0x3c07ec['has'](_0x3868a6[_0x1a7d87]['id'])&&_0x3868a6[_0x1a7d87]['isRemoved']&&(_0x3868a6[_0x1a7d87]['isIncorrect']=!0x0),_0x3868a6[_0x1a7d87]['isIncorrect'])continue;if(0x0==_0x3868a6[_0x1a7d87]['distance'])continue;if('elementStart'!=_0x3868a6[_0x1a7d87]['type'])continue;if(null==_0x3868a6[_0x1a7d87]['pairId'])continue;let _0x432d8c=_0x1a7d87+0x1,_0x2b43a9=0x0;for(;_0x3868a6[_0x432d8c]['id']!=_0x3868a6[_0x1a7d87]['pairId'];)'elementStart'==_0x3868a6[_0x432d8c]['type']?_0x2b43a9++:'elementEnd'==_0x3868a6[_0x432d8c]['type']&&_0x2b43a9--,_0x432d8c++;if(0x0!=_0x2b43a9){if(_0x3868a6[_0x1a7d87]['isRemoved'])_0x3868a6[_0x1a7d87]['isIncorrect']=!0x0;else{for(;_0x432d8c!=_0x1a7d87;)_0x3868a6[_0x432d8c]['isRemoved']&&0x0!=_0x3868a6[_0x432d8c]['distance']&&(_0x3868a6[_0x432d8c]['isIncorrect']=!0x0,_0x3c07ec['add'](_0x3868a6[_0x432d8c]['pairId'])),_0x432d8c--;}}}return _0x3868a6['filter'](_0x125c12=>!_0x125c12['isIncorrect']);}['_removeUnsupportedChanges'](_0x4c06d8){const _0x2e34e3=this['editor']['model']['schema'];for(let _0x42ee51=0x0;_0x42ee51<_0x4c06d8['length'];_0x42ee51++){if(!(_0x4c06d8[_0x42ee51]['isAdded']||_0x4c06d8[_0x42ee51]['isAddSuggestion']||_0x4c06d8[_0x42ee51]['isRemoved']||_0x4c06d8[_0x42ee51]['isRemoveSuggestion']))continue;if(0x0==_0x4c06d8[_0x42ee51]['distance'])continue;const _0x1dbb22=_0x4c06d8[_0x42ee51]['item'];_0x2e34e3['isBlock'](_0x1dbb22)||_0x2e34e3['isLimit'](_0x1dbb22)||(_0x4c06d8[_0x42ee51]['isAdded']&&delete _0x4c06d8[_0x42ee51]['isAdded'],_0x4c06d8[_0x42ee51]['isAddSuggestion']&&delete _0x4c06d8[_0x42ee51]['isAddSuggestion'],_0x4c06d8[_0x42ee51]['isRemoveSuggestion']&&delete _0x4c06d8[_0x42ee51]['isRemoveSuggestion'],_0x4c06d8[_0x42ee51]['isRemoved']&&(_0x4c06d8[_0x42ee51]['isIncorrect']=!0x0));}return _0x4c06d8['filter'](_0x51cc1b=>!_0x51cc1b['isIncorrect']);}['_makeModelFromTape'](_0x43c028,_0x372369,_0x12d41d){const _0x52331f=new _t(),_0x1bc381=[],_0x3fc3cd=new Map(),_0x280d1b=this['editor']['model'],_0x2921cd=_0x280d1b['schema'],_0x2b83e5=[_0x52331f],_0x51e98a={},_0x175546={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0xe9950c=null;const _0x465632=[0x0];for(let _0x164b33=0x0;_0x164b33<_0x43c028['length'];_0x164b33++){let _0x1c43e2,_0x28c7c5;if('elementStart'===_0x43c028[_0x164b33]['type']){_0x1c43e2=_0x280d1b['createPositionFromPath'](_0x52331f,_0x465632);const _0x1d6f9d=new ft(_0x43c028[_0x164b33]['item']['name'],_0x43c028[_0x164b33]['item']['getAttributes']());_0x2b83e5[0x0]['_appendChild'](_0x1d6f9d),_0x465632['push'](0x0),_0x2b83e5['unshift'](_0x1d6f9d),_0x28c7c5=_0x280d1b['createPositionFromPath'](_0x52331f,_0x465632),_0xe9950c=null;}else{if('elementEnd'===_0x43c028[_0x164b33]['type'])_0x2b83e5['shift'](),_0x1c43e2=_0x280d1b['createPositionFromPath'](_0x52331f,_0x465632),_0x465632['pop'](),_0x465632[_0x465632['length']-0x1]++,_0x28c7c5=_0x280d1b['createPositionFromPath'](_0x52331f,_0x465632),_0xe9950c=null;else{if(_0x1c43e2=_0x280d1b['createPositionFromPath'](_0x52331f,_0x465632),_0xe9950c&&_0x2dc6f4(_0xe9950c,_0x43c028[_0x164b33]['item']))_0xe9950c['_data']+=_0x43c028[_0x164b33]['item']['data'];else{const _0x34ba4b=new yt(_0x43c028[_0x164b33]['item']['data'],_0x43c028[_0x164b33]['item']['getAttributes']());_0x2b83e5[0x0]['_appendChild'](_0x34ba4b),_0xe9950c=_0x34ba4b;}_0x465632[_0x465632['length']-0x1]+=_0x43c028[_0x164b33]['item']['offsetSize'],_0x28c7c5=_0x280d1b['createPositionFromPath'](_0x52331f,_0x465632);}}for(const _0x13abc5 of _0x43c028[_0x164b33]['markersStart'])_0x3fc3cd['set'](_0x13abc5,{'start':_0x1c43e2,'end':null});_0x9afc10('isRemoveSuggestion',_0x164b33,_0x1c43e2,_0x28c7c5),_0x9afc10('isAddSuggestion',_0x164b33,_0x1c43e2,_0x28c7c5),_0x9afc10('isRemoved',_0x164b33,_0x1c43e2,_0x28c7c5),_0x9afc10('isAdded',_0x164b33,_0x1c43e2,_0x28c7c5);for(const _0x47a9a5 of _0x43c028[_0x164b33]['markersEnd']){_0x3fc3cd['get'](_0x47a9a5)['end']=_0x28c7c5;}}for(const [_0x56dade,_0x7bb41c]of _0x3fc3cd){const _0x252a82=this['editor']['model']['createRange'](_0x7bb41c['start'],_0x7bb41c['end']);_0x52331f['markers']['set'](_0x56dade,_0x252a82);}return _0x1bc381['sort']((_0x3e0f34,_0x487911)=>{const _0x3274be=_0x52331f['markers']['get']('revision:'+_0x3e0f34['id']),_0x3ac60e=_0x52331f['markers']['get']('revision:'+_0x487911['id']);return _0x3274be['start']['isBefore'](_0x3ac60e['start'])?-0x1:_0x3274be['start']['isAfter'](_0x3ac60e['start'])?0x1:_0x3274be['end']['isBefore'](_0x3ac60e['end'])?-0x1:_0x3274be['end']['isAfter'](_0x3ac60e['end'])?0x1:'add'===_0x3e0f34['type']?-0x1:0x1;}),{'root':_0x52331f,'changes':_0x1bc381};function _0x9afc10(_0x3b7f4d,_0x1ce494,_0x535ccf,_0x179846){const _0xf5cbcf=!!_0x43c028[_0x1ce494][_0x3b7f4d],_0x2a76d0=_0xf5cbcf?_0x43c028[_0x1ce494][_0x3b7f4d]['userId']:null,_0x4d0aef=_0x1ce494===_0x43c028['length']-0x1,_0x3763ed=_0x175546[_0x3b7f4d][0x0],_0x524c8e=_0x2921cd['isObject'](_0x43c028[_0x1ce494]['item']);!_0x51e98a[_0x3b7f4d]&&_0xf5cbcf?_0x51e98a[_0x3b7f4d]={'start':_0x535ccf,'tapeItem':_0x43c028[_0x1ce494],'userId':_0x2a76d0,'type':_0x3b7f4d}:_0x51e98a[_0x3b7f4d]&&!_0xf5cbcf?(_0x51e98a[_0x3b7f4d]['end']=_0x535ccf,_0x162e4b(_0x51e98a[_0x3b7f4d]),_0x51e98a[_0x3b7f4d]=null):_0x51e98a[_0x3b7f4d]&&_0xf5cbcf&&_0x51e98a[_0x3b7f4d]['userId']!==_0x2a76d0&&(_0x51e98a[_0x3b7f4d]['end']=_0x535ccf,_0x3763ed&&_0x3763ed['userId']===_0x51e98a[_0x3b7f4d]['userId']||_0x162e4b(_0x51e98a[_0x3b7f4d]),_0x51e98a[_0x3b7f4d]={'start':_0x535ccf,'tapeItem':_0x43c028[_0x1ce494],'userId':_0x2a76d0,'type':_0x3b7f4d}),_0x51e98a[_0x3b7f4d]&&_0x524c8e&&('elementStart'!==_0x43c028[_0x1ce494]['type']||_0x3763ed&&_0x3763ed['userId']===_0x2a76d0||_0x175546[_0x3b7f4d]['unshift']({'userId':_0x2a76d0,'object':_0x43c028[_0x1ce494]['item'],'change':_0x51e98a[_0x3b7f4d]}),'elementEnd'===_0x43c028[_0x1ce494]['type']&&_0x3763ed&&_0x3763ed['object']===_0x43c028[_0x1ce494]['item']&&(_0x175546[_0x3b7f4d]['shift'](),_0x51e98a[_0x3b7f4d]=_0x3763ed['change'])),_0x51e98a[_0x3b7f4d]&&_0x4d0aef&&(_0x51e98a[_0x3b7f4d]['end']=_0x179846,_0x162e4b(_0x51e98a[_0x3b7f4d]),_0x51e98a[_0x3b7f4d]=null);}function _0x162e4b({start:_0x85a39,end:_0x57f65b,tapeItem:_0x2abed9,userId:_0x416b72,type:_0x50e328}){const _0x47552b=_0x2abed9['item'],_0x11b1d2=_0x280d1b['schema']['isBlock'](_0x47552b)&&!_0x280d1b['schema']['isLimit'](_0x47552b),_0x1a05f8=_0x85a39['nodeAfter']==_0x57f65b['parent']&&_0x57f65b['isAtStart'];if(_0x11b1d2&&_0x1a05f8)return;const _0x42218c=_0x280d1b['createRange'](_0x85a39,_0x57f65b),_0x1a2158=_0x372369['get'](_0x416b72),_0x420f67=new r({'author':_0x1a2158,'type':'isAdded'==_0x50e328||'isAddSuggestion'==_0x50e328?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x50e328||'isRemoveSuggestion'==_0x50e328},'createdAt':new Date(),'rootName':_0x12d41d});_0x1bc381['push'](_0x420f67),_0x52331f['markers']['set']('revision:'+_0x420f67['id'],_0x42218c);}function _0x2dc6f4(_0x9650b3,_0x17159f){const _0x32967b=_0x9650b3['getAttributes'](),_0x2bfed3=_0x17159f['getAttributes']();for(const _0x5837a8 of _0x32967b){if(_0x5837a8[0x1]!==_0x17159f['getAttribute'](_0x5837a8[0x0]))return!0x1;_0x2bfed3['next']();}return _0x2bfed3['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x5b9f7d=>{const _0x22622c=_0x5b9f7d['markerName']['split'](':')[0x1],_0x136f7f=this['_getChangeFromId'](_0x22622c);if(!_0x136f7f)return null;const _0x5969eb='add'==_0x136f7f['type']?'insertion':'deletion',_0x5e18d1=['ck-suggestion-marker','ck-suggestion-marker-'+_0x5969eb];return _0x136f7f['data']['isSuggestion']&&_0x5e18d1['push']('ck-suggestion-marker-'+_0x5969eb+'-new'),this['activeChange']==_0x136f7f&&_0x5e18d1['push']('ck-suggestion-marker--active'),{'classes':_0x5e18d1,'attributes':{'data-change-id':_0x22622c}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x3f1705=>{_0x3f1705['on']('element:pre',(_0x441612,_0x27a8fc,_0x2965c6)=>{const _0x405fce=_0x27a8fc['viewItem']['getChild'](0x0);if(!_0x405fce||!_0x405fce['is']('element','code'))return;if(!_0x2965c6['consumable']['consume'](_0x405fce,{'attributes':['vid_start','vid_end']}))return;const _0x307150=_0x27a8fc['modelRange']['start']['nodeAfter'];_0x2965c6['writer']['setAttribute']('vid_start',_0x405fce['getAttribute']('vid_start'),_0x307150),_0x2965c6['writer']['setAttribute']('vid_end',_0x405fce['getAttribute']('vid_end'),_0x307150);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x53dc62=>{_0x53dc62['on']('element',(_0x56ef98,_0x323111,_0x1aa8d0)=>{if(!_0x1aa8d0['consumable']['consume'](_0x323111['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x323111['modelRange']['isCollapsed'])return;const _0x3bb129=_0x323111['modelRange']['start']['nodeAfter'];_0x3bb129['hasAttribute']('vid_start')||_0x3bb129['hasAttribute']('vid')||(_0x1aa8d0['writer']['setAttribute']('vid_start',_0x323111['viewItem']['getAttribute']('vid_start'),_0x3bb129),_0x1aa8d0['writer']['setAttribute']('vid_end',_0x323111['viewItem']['getAttribute']('vid_end'),_0x3bb129));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x207f8b=>_0x207f8b['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x896d94,[,_0x47a29a])=>{['vid_start','vid_end','vid']['includes'](_0x47a29a)&&(_0x896d94['return']=!0x0,_0x896d94['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x427f56=>{_0x427f56['on']('attribute:vid',(_0xa28264,_0x127fc4,_0x2e5cfb)=>{if('\x20'!=_0x127fc4['item']['data']||_0x127fc4['item']['parent']['maxOffset']>0x1)return;if(!_0x2e5cfb['consumable']['consume'](_0x127fc4['item'],_0xa28264['name']))return;const _0x5d57e1=_0x2e5cfb['writer'],_0x1a3a4a=_0x2e5cfb['mapper']['toViewRange'](_0x127fc4['range']);_0x5d57e1['wrap'](_0x1a3a4a,_0x5d57e1['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x335cd7){const _0x3dac21=_0x335cd7['plugins']['get']('RevisionViewer');return(_0x33d308,_0x44c6c4,_0xb0b854)=>{const _0x2960da=_0x44c6c4['markerName']['split'](':')[0x1],_0x3c456f=_0x3dac21['_getChangeFromId'](_0x2960da);if(!_0x3c456f)return null;const _0x2e24ac='add'==_0x3c456f['type']?'split':'merge';if(!_0xb0b854['consumable']['test'](_0x44c6c4['markerRange'],_0x33d308['name']))return;const _0x1bccd9=_0x44c6c4['markerRange']['getWalker'](),_0x1d1a26=_0x44c6c4['markerRange']['start'],_0x5c259e=_0x335cd7['model']['schema'];let _0x489d55=null,_0x3a21b2=null,_0x58816a=!0x1,_0x11cd89=!0x1;for(const _0x49d29b of _0x1bccd9){const _0x25b9b0=_0x49d29b['item'];_0x58816a=_0x58816a||_0x5c259e['isContent'](_0x25b9b0);const _0x420665=_0xb0b854['mapper']['toViewElement'](_0x25b9b0);if(_0x420665&&_0x420665['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x49d29b['type']&&(_0x5c259e['isBlock'](_0x25b9b0)&&!_0x5c259e['isLimit'](_0x25b9b0)&&(_0x25b9b0['nextSibling']||_0x1d1a26['isAtEnd']?_0x489d55&&_0x489d55['parent']==_0x25b9b0||(_0x489d55=_0x25b9b0,_0xa8e491(_0x49d29b['previousPosition']),_0x11cd89=!0x0):_0x3a21b2=_0x3a21b2||_0x49d29b['previousPosition']));}function _0xa8e491(_0x263f22){const _0x57d5df=_0xb0b854['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2e24ac}),_0x10a4d9=_0xb0b854['mapper']['toViewPosition'](_0x263f22);_0x3c456f['data']['isSuggestion']&&_0xb0b854['writer']['addClass']('ck-suggestion-marker-'+_0x2e24ac+'-new',_0x57d5df),_0x3dac21['activeChange']==_0x3c456f&&_0xb0b854['writer']['addClass']('ck-suggestion-marker--active',_0x57d5df),_0xb0b854['writer']['insert'](_0x10a4d9,_0x57d5df),_0xb0b854['mapper']['bindElementToMarker'](_0x57d5df,_0x44c6c4['markerName']);}_0x58816a||_0x11cd89||!_0x3a21b2||_0xa8e491(_0x3a21b2);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x15a7c0,_0xcf4eed,_0x3f27ea)=>{const _0xb5be25=_0x3f27ea['mapper']['markerNameToElements'](_0xcf4eed['markerName']);if(_0xb5be25){for(const _0x2336d7 of _0xb5be25)(_0x2336d7['hasClass']('ck-suggestion-marker-split')||_0x2336d7['hasClass']('ck-suggestion-marker-merge'))&&(_0x3f27ea['mapper']['unbindElementFromMarkerName'](_0x2336d7,_0xcf4eed['markerName']),_0x3f27ea['writer']['remove'](_0x2336d7));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0xb58e22,_0x338bcd,_0x58eb73)=>{const _0x435104=_0x338bcd['markerName']['split'](':')[0x1],_0x289264=this['_getChangeFromId'](_0x435104);if(!_0x289264)return null;const _0x13ed6d='add'==_0x289264['type']?'split':'merge';if(_0x58eb73['consumable']['test'](_0x338bcd['markerRange'],_0xb58e22['name']))for(const _0x4d035b of _0x338bcd['markerRange']['getItems']()){if(!_0x4d035b['is']('element','softBreak'))continue;const _0x252185=_0x58eb73['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x13ed6d}),_0x3d645f=_0x58eb73['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x4d035b));_0x289264['data']['isSuggestion']&&_0x58eb73['writer']['addClass']('ck-suggestion-marker-'+_0x13ed6d+'-new',_0x252185),this['activeChange']==_0x289264&&_0x58eb73['writer']['addClass']('ck-suggestion-marker--active',_0x252185),_0x58eb73['writer']['insert'](_0x3d645f,_0x252185),_0x58eb73['mapper']['bindElementToMarker'](_0x252185,_0x338bcd['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x22f371=>{for(const _0x1ac253 of this['editor']['model']['document']['getRootNames']()){const _0x3dfeb3=this['editor']['model']['document']['getRoot'](_0x1ac253),_0x370c52=this['editor']['editing']['view']['document']['getRoot'](_0x1ac253);if(_0x370c52){const _0x2cc64b=_0x3dfeb3['getAttribute']('revisionHistoryAttachChange');if(_0x22f371['removeAttribute']('data-change-id',_0x370c52),_0x22f371['removeClass']('ck-revision-history-root-add',_0x370c52),_0x22f371['removeClass']('ck-revision-history-root-remove',_0x370c52),_0x22f371['removeClass']('ck-revision-history-root--active',_0x370c52),_0x2cc64b){const _0x327607=this['_getChangeFromId'](_0x2cc64b);if(!_0x327607)return null;_0x22f371['setAttribute']('data-change-id',_0x2cc64b,_0x370c52),_0x22f371['addClass']('ck-revision-history-root-'+_0x327607['type'],_0x370c52),this['activeChange']==_0x327607&&_0x22f371['addClass']('ck-revision-history-root--active',_0x370c52);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x351bc5=>'revision-comment:'+_0x351bc5,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x227d25=>'revision-suggestion:'+_0x227d25,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x40b303=>({'name':'suggestion:'+_0x40b303,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x203cd1=>{const _0x7ea3b2=_0x203cd1['markerName']['split'](':')[0x1];return'insertion'!=_0x7ea3b2&&'deletion'!=_0x7ea3b2?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x7ea3b2]};}}),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',(_0x139483,_0x3c5784,_0x335b80)=>{const _0x399ae1=_0x335b80['mapper']['markerNameToElements'](_0x3c5784['markerName']);if(_0x399ae1){for(const _0x34765a of _0x399ae1)_0x34765a['is']('uiElement')&&(_0x335b80['mapper']['unbindElementFromMarkerName'](_0x34765a,_0x3c5784['markerName']),_0x335b80['writer']['remove'](_0x34765a));}},{'priority':'high'});}['_getChangeFromId'](_0x32b3f1){return this['_changeIdToChange']['get'](_0x32b3f1);}['_getViewForChange'](_0x35b003){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x35b003),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x3d0d5f,_0x2c176b,_0x5d47c5,_0x3f3628)=>{_0x3f3628&&this['_balloon']['remove'](_0x3f3628),_0x5d47c5&&(this['_balloon']['add']({'view':_0x5d47c5,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x363eac=this['editor']['editing'],_0x2aea62=this['_getChangeFromId'](_0x5d47c5['changeId']);let _0x106823;if(_0x2aea62['data']['isOnRoot']){const _0xf6f46=_0x363eac['view']['getDomRoot'](_0x2aea62['rootName']);_0x106823=Array['from'](_0xf6f46['getClientRects']());}else{const _0x353afc=this['editor']['model']['markers']['get']('revision:'+_0x5d47c5['changeId']);_0x106823=Array['from'](_0x363eac['mapper']['markerNameToElements'](_0x353afc['name']))['map'](_0x200584=>_0x363eac['view']['domConverter']['mapViewToDom'](_0x200584))['map'](_0xff0197=>Array['from'](_0xff0197['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x106823[0x0];return _0x106823['find'](_0x2676ea=>_0x2676ea['top']-0x3<=this['_activeViewTarget']['y']&&_0x2676ea['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x2676ea['left']-0x3<=this['_activeViewTarget']['x']&&_0x2676ea['right']+0x3>=this['_activeViewTarget']['x'])||_0x106823[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0xfff6f6,_0xfce546,_0x3c3af7,_0x34e9a3)=>{this['activeView']=_0x3c3af7?this['_getViewForChange'](_0x3c3af7):null,this['editor']['model']['change'](()=>{const _0x37ff16=this['editor']['editing'];_0x34e9a3&&(_0x34e9a3['data']['isOnRoot']?_0x37ff16['view']['change'](_0x12d3c0=>{_0x12d3c0['removeClass']('ck-revision-history-root--active',_0x37ff16['view']['document']['getRoot'](_0x34e9a3['rootName']));}):_0x37ff16['reconvertMarker']('revision:'+_0x34e9a3['id'])),_0x3c3af7&&(_0x3c3af7['data']['isOnRoot']?_0x37ff16['view']['change'](_0xff4cf4=>{_0xff4cf4['addClass']('ck-revision-history-root--active',_0x37ff16['view']['document']['getRoot'](_0x3c3af7['rootName']));}):_0x37ff16['reconvertMarker']('revision:'+_0x3c3af7['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x4f51b8,_0x5569d2)=>{if(this['activeChange'])return;const _0x4572de=this['_findChangeIdFromDomTarget'](_0x5569d2['target']),_0x13ca0b=this['_changeIdToChange']['get'](_0x4572de);_0x13ca0b?(this['_activeViewTarget']={'x':_0x5569d2['domEvent']['x'],'y':_0x5569d2['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x13ca0b)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x4a18d6,_0x4584b3)=>{const _0x4bcfa4=this['_findChangeIdFromDomTarget'](_0x4584b3['target']),_0x58985e=this['_changeIdToChange']['get'](_0x4bcfa4);_0x58985e?(this['_activeViewTarget']={'x':_0x4584b3['domEvent']['x'],'y':_0x4584b3['domEvent']['y']},_0x58985e===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x58985e):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x58422b){do{const _0x118697=_0x58422b['getAttribute']('data-change-id');if(_0x118697)return _0x118697;_0x58422b=_0x58422b['parent'];}while(_0x58422b);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x291647=>{for(const _0x6a063c of this['editor']['model']['markers'])_0x291647['removeMarker'](_0x6a063c);});}constructor(_0x4e1e73){super(_0x4e1e73),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',(_0x1ebdab,_0x5372d8,_0x3162f2)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x3b5ad6=>{for(const _0x29e32e of this['editor']['editing']['view']['document']['roots'])_0x3162f2?_0x3b5ad6['removeClass']('ck-editor__editable__overlay',_0x29e32e):_0x3b5ad6['addClass']('ck-editor__editable__overlay',_0x29e32e);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x1f42fc=>null!==_0x1f42fc),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x200224,_0x8f0ea0,_0x2b0a6e)=>_0x200224&&_0x2b0a6e?_0x8f0ea0['changes']['getIndex'](_0x2b0a6e):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x231bbd,_0x2163b9)=>_0x231bbd?_0x2163b9['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x310f20);}}function et(_0x47855e,_0x7b5598){return(_0x38e797,_0x3d05c8,_0x3d78fd)=>{if(!_0x3d78fd['consumable']['test'](_0x3d05c8['markerRange'],_0x38e797['name']))return;const _0x101e04=_0x3d05c8['markerRange']['getWalker'](),_0x2b8c7d=_0x3d05c8['markerRange']['start'],_0x25f0f5=_0x47855e['model']['schema'];let _0x114939=null,_0x18edac=null,_0x48b7ce=!0x1,_0x37ff93=!0x1;for(const _0x23c3a5 of _0x101e04){const _0x31d826=_0x23c3a5['item'];_0x48b7ce=_0x48b7ce||_0x25f0f5['isContent'](_0x31d826);const _0x378393=_0x3d78fd['mapper']['toViewElement'](_0x31d826);if(_0x378393&&_0x378393['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x23c3a5['type']&&(_0x25f0f5['isBlock'](_0x31d826)&&!_0x25f0f5['isLimit'](_0x31d826)&&(_0x31d826['nextSibling']||_0x2b8c7d['isAtEnd']?_0x114939&&_0x114939['parent']==_0x31d826||(_0x114939=_0x31d826,_0x5ccd96(_0x23c3a5['previousPosition']),_0x37ff93=!0x0):_0x18edac=_0x18edac||_0x23c3a5['previousPosition']));}function _0x5ccd96(_0x4f2b9f){const _0x36a3a9=_0x3d78fd['mapper']['toViewPosition'](_0x4f2b9f),_0x120696=_0x3d78fd['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x7b5598});_0x3d78fd['writer']['insert'](_0x36a3a9,_0x120696),_0x3d78fd['mapper']['bindElementToMarker'](_0x120696,_0x3d05c8['markerName']);}_0x48b7ce||_0x37ff93||!_0x18edac||_0x5ccd96(_0x18edac);};}class bt extends _0x1c1c30{['execute'](){const _0x4dafde=this['editor'],_0x6479ca=_0x4dafde['plugins']['get'](d),_0x3cfa27=_0x6479ca['isReady']?_0x6479ca['diff']['newRevisionId']:null;_0x4dafde['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x3cfa27);}['refresh'](){const {isReady:_0x14a418,isEnabled:_0x48f6e1}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x14a418&&_0x48f6e1;}constructor(_0x447a12){super(_0x447a12);const _0xcc4c6a=_0x447a12['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0xcc4c6a,'change:isReady',()=>this['refresh']()),this['listenTo'](_0xcc4c6a,'change:isEnabled',()=>this['refresh']());}}class Rt extends _0x1c1c30{['execute'](){const _0x1131de=this['editor'],_0x40ea78=_0x1131de['plugins']['get'](d),{isNavigationMode:_0xf24c38,currentChangeNumber:_0x569240}=_0x40ea78;let _0x530607;if(_0x40ea78['activeChange']=_0xf24c38?_0x40ea78['diff']['changes']['get'](_0x569240+this['_step']):_0x40ea78['diff']['changes']['first'],_0x40ea78['activeChange']['data']['isOnRoot'])_0x530607=_0x1131de['editing']['view']['getDomRoot'](_0x40ea78['activeChange']['rootName']);else{const _0x1f4cd3=_0x1131de['model']['markers']['get']('revision:'+_0x40ea78['activeChange']['id']);_0x530607=_0x461b7d(_0x1131de['editing'],_0x1f4cd3);}_0x3a4463({'target':_0x530607,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x1e4f1b,currentChangeNumber:_0x512687,numberOfChanges:_0x33c37e,isReady:_0x475349,isEnabled:_0x31a6b3}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x31a6b3&&_0x475349&&_0x33c37e)&&(!_0x1e4f1b||(0x1===this['_step']?_0x512687<_0x33c37e-0x1:_0x512687>0x0));}constructor(_0x1e8d2f,{direction:_0x2d7718}){super(_0x1e8d2f);const _0x30bdf3=_0x1e8d2f['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x2d7718?0x1:-0x1,this['listenTo'](_0x30bdf3,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x30bdf3,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x30bdf3,'change:activeChange',()=>this['refresh']());}}class _i extends _0x796ce0{constructor(_0x4d496f){super(_0x4d496f);const _0x27990d=this['bindTemplate'],_0x2cc5da=new _0x2e3682(_0x4d496f),_0x1aa22a=new _0x2e3682(_0x4d496f);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',(_0xdc6739,_0x3d7be5)=>_0xdc6739&&_0x3d7be5>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x6da75,_0x205341,_0x349c52,_0x4fd840)=>{if(!_0x6da75)return y(_0x4d496f,'Loading...');if(!_0x349c52)return y(_0x4d496f,'No\x20changes');const _0x33e42d=y(_0x4d496f,'NUMBER_OF_CHANGES',_0x349c52);return _0x4fd840?y(_0x4d496f,'X_OF_Y_CHANGES',[_0x205341+0x1,_0x349c52]):_0x33e42d;}),_0x2cc5da['set']({'label':y(_0x4d496f,'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'}),_0x1aa22a['set']({'label':y(_0x4d496f,'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'}),_0x2cc5da['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x1aa22a['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x2cc5da['on']('execute',()=>this['fire']('execute','backward')),_0x1aa22a['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',_0x27990d['if']('_isStatusLabelVisible','ck-hidden',_0x4db7c6=>!_0x4db7c6)]},'children':[{'text':_0x27990d['to']('isNavigationMode',_0x2533bf=>_0x2533bf?y(_0x4d496f,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x4d496f,'Total')+':\x20')}]},{'text':_0x27990d['to']('_statusText')}]},new _0xc56657(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x2cc5da,_0x1aa22a]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x17c1cc{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x367b3d=this['editor']['editing']['view'];_0x367b3d['change'](_0x510b02=>{for(const _0x47df86 of _0x367b3d['document']['roots'])_0x510b02['addClass'](ce,_0x47df86);});}['hide'](){const _0xc13642=this['editor']['editing']['view'];_0xc13642['change'](_0x293389=>{for(const _0x522a01 of _0xc13642['document']['roots'])_0x293389['removeClass'](ce,_0x522a01);});}}class R extends _0x17c1cc{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x120761=this['editor'],_0x5bf685=_0x120761['plugins']['get'](d),_0x35075a=_0x120761['plugins']['get'](de);_0x120761['ui']['componentFactory']['add']('exitToEditing',_0x2c5031=>{const _0x435efe=new _0x2e3682(_0x2c5031);return _0x435efe['set']({'label':y(_0x2c5031,'Back\x20to\x20editing'),'icon':_0x4df937['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x435efe,'execute',()=>{_0x120761['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x435efe;}),_0x120761['ui']['componentFactory']['add']('restoreRevision',_0x215b49=>{const _0x5b84f5=new _0x2e3682(_0x215b49);return _0x5b84f5['set']({'label':y(_0x215b49,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x5b84f5['bind']('isEnabled')['to'](_0x120761['commands']['get']('restoreRevision')),this['listenTo'](_0x5b84f5,'execute',()=>_0x120761['execute']('restoreRevision')),_0x5b84f5;}),_0x120761['ui']['componentFactory']['add']('changesNavigation',_0x44cc4c=>{const _0x441178=new _i(_0x44cc4c),_0x50bebc=_0x120761['commands']['get']('showPreviousChange'),_0x3e263a=_0x120761['commands']['get']('showNextChange');return _0x441178['bind']('isBackwardNavigationEnabled')['to'](_0x50bebc,'isEnabled'),_0x441178['bind']('isForwardNavigationEnabled')['to'](_0x3e263a,'isEnabled'),_0x441178['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x5bf685),this['listenTo'](_0x441178,'execute',(_0x2b098d,_0x416cd5)=>{_0x120761['execute']('forward'===_0x416cd5?'showNextChange':'showPreviousChange');}),_0x441178;}),_0x35075a['show'](),_0x5bf685['on']('change:isReady',(_0x279c63,_0x566b25,_0x637fa1)=>{_0x637fa1?_0x35075a['hide']():_0x35075a['show']();});}}class vt extends mt{['render'](){super['render'](),this['_resizeObserver']=new kt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x4dd285=this['fieldView']['element'];this['_tooltipString']=_0x4dd285['scrollWidth']>_0x4dd285['clientWidth']&&_0x4dd285['value']||'';}constructor(_0x4950b2,_0x574867){super(_0x4950b2,_0x574867),this['_resizeObserver']=null;const _0x5c8340=this['bindTemplate'];this['set']({'label':y(_0x4950b2,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x4950b2,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x5c8340['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}}class ti extends _0x796ce0{constructor(_0x3de6d4,_0x1ae404,_0x39bb9e){super(_0x3de6d4);const _0x45ba97=new _0x12b085();_0x45ba97['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 _0x3a610c=['ck','ck-revision-history-sidebar__revision-author'];_0x39bb9e&&_0x3a610c['push']('ck-revision-history-sidebar__revision-author_creator');const _0x2b6672=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x3de6d4,_0x39bb9e?'Revision\x20creator':'Revision\x20author')},'children':[_0x45ba97,_0x1ae404['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x3a610c},'children':_0x2b6672});}}function ni(_0x3b13a5,_0x8dea93){const _0x3d3365=_0x3b13a5['bindTemplate'],_0x2c26e9=_0x3b13a5['locale'],_0x434b6c=_0x15005b(_0x2c26e9);_0x434b6c['panelPosition']='sw';const _0x5a3eb3=function(_0x2b3ce1,_0x426b58){const _0x2c74d7=function(_0x4503c3,_0x374a8b){const _0x26f3b3=_0x4503c3['locale'],_0x47f3d5={'Compare\x20against\x20selected':y(_0x26f3b3,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x26f3b3,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x26f3b3,'Restore\x20this\x20revision')};return _0x374a8b['map'](_0x4ff56d=>{const _0x3de055=_0x47f3d5[_0x4ff56d['name']];return _0x3de055&&_0x3de055!==_0x4ff56d['name']&&(_0x4ff56d['name']=_0x3de055),_0x4ff56d;});}(_0x2b3ce1,_0x426b58),_0x2ff7de=new _0x210b3a();for(const _0x36dc4d of _0x2c74d7){const _0x1140ac={'type':'button','model':new to({'label':_0x36dc4d['name'],'class':_0x36dc4d['class'],'withText':!0x0,'role':'menuitem','_action':_0x36dc4d['action']})};_0x1140ac['model']['bind']('isEnabled')['to'](_0x2b3ce1,'isActionsDropdownOpen',_0x354c1f=>'function'!=typeof _0x36dc4d['isEnabled']||(!_0x354c1f||_0x36dc4d['isEnabled'](_0x2b3ce1))),_0x2ff7de['add'](_0x1140ac);}return _0x2ff7de;}(_0x3b13a5,_0x8dea93);return _0x3b13a5['bind']('isActionsDropdownOpen')['to'](_0x434b6c,'isOpen'),_0x434b6c['buttonView']['set']({'label':y(_0x2c26e9,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x4df937['threeVerticalDots']}),_0x434b6c['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x3d3365['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x3d3365['to'](_0x792e2=>_0x792e2['stopPropagation']())}}),_0x434b6c['on']('execute',_0x478fa7=>{_0x3b13a5['isReady']&&'function'==typeof _0x478fa7['source']['_action']&&_0x478fa7['source']['_action'](_0x3b13a5);}),_0x497b9d(_0x434b6c,_0x5a3eb3,{'role':'menu'}),_0x434b6c['listenTo'](_0x3b13a5,'change:isActionsDropdownOpen',(_0x45a34c,_0x39df1a,_0x2ed78f)=>{if(_0x2ed78f)for(const _0x208fe3 of _0x434b6c['listView']['items']){const _0x1eabd0=_0x208fe3['children']['first'],_0x4fdd13=_0x8dea93['find'](_0x2fbf31=>_0x2fbf31['action']===_0x1eabd0['_action'])['isVisible'];_0x208fe3['isVisible']=void 0x0===_0x4fdd13||_0x4fdd13(_0x3b13a5);}}),_0x434b6c;}class ai extends _0x346f20(_0x796ce0){['render'](){super['render']();const _0x542054=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x542054,'change',()=>{this['_requireRevisionName']&&!_0x542054['value']||this['fire']('setName',{'id':this['id'],'name':_0x542054['value']}),_0x542054['value']||(_0x542054['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}constructor(_0x10461c,_0x3c7c49,_0x4f33a2,_0x327080){super(_0x10461c);const _0x12c9ba=this['bindTemplate'],_0x231aa3=function(_0x296f51,_0x3856ae){const _0x5566fb=Array['from'](_0x3856ae['authors'])['filter'](_0x49b068=>_0x49b068!=_0x3856ae['creator']);return _0x3856ae['creator']&&_0x5566fb['unshift'](_0x3856ae['creator']),_0x5566fb['map'](_0x3fde77=>new ti(_0x296f51,_0x3fde77,_0x3fde77==_0x3856ae['creator']));}(_0x10461c,_0x3c7c49);this['id']=_0x3c7c49['id'],this['_revision']=_0x3c7c49,this['_requireRevisionName']=_0x327080,this['bind']('name','createdAt')['to'](_0x3c7c49),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0xce652a=>{return _0x1c559a=_0x10461c['uiLanguage'],(_0x5c95ec=_0xce652a)['toLocaleDateString'](_0x1c559a,{'month':'long','day':'numeric'})+',\x20'+_0x5c95ec['toLocaleTimeString'](_0x1c559a,{'hour':'numeric','minute':'numeric'});var _0x1c559a,_0x5c95ec;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new vt(_0x10461c,_0x169543),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x2e0f61=>_0x2e0f61||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x460583,_0x2de66a)=>_0x460583&&_0x2de66a),this['revisionActionsView']=_0x4f33a2&&_0x4f33a2['length']?ni(this,_0x4f33a2):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x12c9ba['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x12c9ba['if']('isEnabled','ck-disabled',_0xe44aff=>!_0xe44aff),_0x12c9ba['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x12c9ba['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x12c9ba['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':_0x12c9ba['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':_0x231aa3}]},this['revisionActionsView']],'on':{'click':_0x12c9ba['to'](_0x7484a8=>{_0x7484a8['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}}function di(_0x4f6c11,_0x1c6aff){const _0x3ce537=_0x5915f2['fromJSDate'](_0x4f6c11)['setLocale'](_0x1c6aff),_0x3f7275=_0x5915f2['local'](),_0x3c4444=_0x3f7275['minus']({'days':0x1})['startOf']('day');let _0x2285d8,_0x5583b1;return _0x3ce537['hasSame'](_0x3f7275,'day')?(_0x2285d8=_0x3ce537['startOf']('day')['toJSDate'](),_0x5583b1=_0x3ce537['toRelativeCalendar']()):_0x3ce537['hasSame'](_0x3c4444,'day')?(_0x2285d8=_0x3c4444['toJSDate'](),_0x5583b1=_0x3ce537['toRelativeCalendar']()):_0x3ce537['hasSame'](_0x3f7275,'week')?(_0x2285d8=_0x3ce537['startOf']('week')['toJSDate'](),_0x5583b1=_0x3ce537['weekdayLong']||''):_0x3ce537['hasSame'](_0x3f7275,'year')?(_0x2285d8=_0x3ce537['startOf']('month')['toJSDate'](),_0x5583b1=_0x3ce537['monthLong']||''):(_0x2285d8=_0x3ce537['startOf']('year')['toJSDate'](),_0x5583b1=String(_0x3ce537['year'])),{'startDate':_0x2285d8,'localizedPeriodName':_0x5583b1};}class mi extends _0x796ce0{['addRevision'](_0x427546){const _0x9bb0b9=new ai(this['locale'],_0x427546,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x9bb0b9);}['removeRevision'](_0x450e84){const _0x4b7d35=this['revisionViews']['find'](_0xd60694=>_0xd60694['id']===_0x450e84['id']);this['revisionViews']['remove'](_0x4b7d35);}constructor(_0x478e23,_0x3e1377,_0x2b466f,_0x357c64){super(_0x478e23);const _0x5056c5=di(_0x3e1377,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x3e1377,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x2b466f,this['_requireRevisionName']=_0x357c64,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':_0x5056c5}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}}class as extends _0x796ce0{constructor(_0x188788){super(_0x188788);const _0x3f6e39=new _0x12b085();_0x3f6e39['content']=_0x4df937['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x3f6e39,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x188788,'Revision\x20history')]}]});}}class ci extends _0x796ce0{['render'](){super['render']();for(const _0x1f3ce6 of this['_revisions'])this['_addRevision'](_0x1f3ce6);this['_revisions']['on']('add',(_0x9e55ba,_0x50d6d6)=>{this['_addRevision'](_0x50d6d6);}),this['_revisions']['on']('remove',(_0xd98a66,_0x14fbde)=>{this['_removeRevision'](_0x14fbde);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x4abf3d=>_0x4abf3d['revisionViews']['map'](_0x3b2d7a=>_0x3b2d7a))['flat']();}['selectRevision'](_0x382007){for(const _0x2140e1 of this['revisionViews'])_0x382007&&_0x382007['id']===_0x2140e1['id']?_0x2140e1['select']():_0x2140e1['deselect']();}['highlightRevisions'](_0x1e3852){for(const _0x3f50b1 of this['revisionViews'])_0x1e3852['some'](({id:_0xafb2aa})=>_0xafb2aa===_0x3f50b1['id'])?_0x3f50b1['highlight']():_0x3f50b1['unhighlight']();}['_addRevision'](_0x326125){const _0x140be3=di(_0x326125['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0xc7884f=this['timePeriodViews']['get'](0x0);_0xc7884f&&_0xc7884f['startDate']['getTime']()===_0x140be3['getTime']()||(_0xc7884f=new mi(this['locale'],_0x140be3,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0xc7884f)),_0xc7884f['addRevision'](_0x326125);}['_removeRevision'](_0x5843a1){const _0x178c0b=di(_0x5843a1['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x178c0b)['removeRevision'](_0x5843a1);}['_getTimePeriodViewByStartDate'](_0x48f853){return this['timePeriodViews']['find'](_0x4c6a49=>_0x4c6a49['startDate']['getTime']()===_0x48f853['getTime']());}constructor(_0x511013,_0x3e06d9,_0x356419,_0x1e71e8){super(_0x511013);const _0x48581a=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x3e06d9,this['_revisionActions']=_0x356419,this['_requireRevisionName']=_0x1e71e8,this['on']('select',(_0x524092,_0x5a87f3)=>{this['fire']('revisionSelected',_0x5a87f3);}),this['on']('setName',(_0x8e337e,_0x17ae22)=>{this['fire']('revisionSetName',_0x17ae22);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x511013),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x48581a['if']('isEnabled','ck-disabled',_0x22a82e=>!_0x22a82e)]},'children':this['timePeriodViews']}]});}}class w extends _0x17c1cc{static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}['init'](){const _0x45a013=this['_revisionsRepository']['_revisions'],_0x27f02e=this['_createRevisionActions'](),_0x57b383=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x45a013,_0x27f02e,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',(_0x198e87,_0x44e1c6)=>{_0x44e1c6['revisionViews']['on']('add',(_0x562ad4,_0x511615)=>{_0x511615['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)),_0x57b383['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x4bcffb=this['_revisionsRepository']['getRevision'](0x0);if(_0x4bcffb){const _0x4f360c=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4bcffb['id']);this['_revisionViewer']['compare'](_0x4bcffb,_0x4f360c);}}['_handleRevisionSelected'](_0x235803,_0x3f4176){const _0xbb3023=this['_revisionsRepository']['getRevision'](_0x3f4176['id']),_0x32e4bb=this['_revisionsRepository']['getEarlierVisibleRevision'](_0xbb3023['id']);this['_revisionViewer']['compare'](_0xbb3023,_0x32e4bb);}['_handleRevisionSetName'](_0x36d193,_0x31742f){this['_revisionsRepository']['getRevision'](_0x31742f['id'])['setName'](_0x31742f['name']);}['_handleDiffChange'](_0x1715af,_0x131545,_0x5bf561){const _0xdcbd2a=this['_revisionsRepository']['getRevisionsInDiff'](_0x5bf561);_0xdcbd2a['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0xdcbd2a),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0xdcbd2a[0x0]));}['_createRevisionActions'](){const _0x41d312=this['editor'],_0x1b115b=w['availableRevisionActions'],_0x311814=_0x41d312['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x311814['length'])return _0x311814['map'](_0x3c610f=>{const _0x27ff3e='string'==typeof _0x3c610f?Object['assign']({},_0x1b115b[_0x3c610f]):_0x3c610f;return _0x27ff3e['action']=_0x27ff3e['action']['bind'](this,_0x41d312),_0x27ff3e['isVisible']&&(_0x27ff3e['isVisible']=_0x27ff3e['isVisible']['bind'](this,_0x41d312)),_0x27ff3e;});}constructor(_0xc90dab){super(_0xc90dab),this['_revisionViewer']=_0xc90dab['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x2e780b},_0x14e44b)=>{const _0x4b918f=_0x2e780b['get'](d),_0x575b32=_0x4b918f['repository'];let _0x49eef9=_0x4b918f['diff']['newRevisionId'],_0x5a9fa7=_0x14e44b['id'];_0x575b32['getIndex'](_0x49eef9)>_0x575b32['getIndex'](_0x5a9fa7)&&([_0x49eef9,_0x5a9fa7]=[_0x5a9fa7,_0x49eef9]),_0x4b918f['compare'](_0x49eef9,_0x5a9fa7);},'isVisible':({plugins:_0x71fcb},_0x2f5cf7)=>{const _0x2355a8=_0x71fcb['get'](d);return!(_0x2355a8['repository']['getRevisionsInDiff'](_0x2355a8['diff'])['length']>0x2)&&!_0x2f5cf7['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x5b1891,{id:_0x5bf599})=>{_0x5b1891['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x5bf599);},'isVisible':({plugins:_0x525427},_0x446db0)=>!!_0x525427['get'](d)['repository']['getLaterVisibleRevision'](_0x446db0['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x2494d1},{id:_0x26600a,revisionNameView:_0x2fb97b})=>{const _0xca464b=_0x2494d1['get'](d),_0x135448=_0xca464b['repository']['getEarlierVisibleRevision'](_0x26600a);_0xca464b['compare'](_0x26600a,_0x135448),_0x2fb97b['focus'](),_0x2fb97b['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class ot extends ht{get['view'](){return this['_view'];}get['element'](){return this['view']['element'];}['init'](_0x527b3f){const _0x4f9dc7=this['editor'],_0x34193d=this['view'],_0x2d83f5=_0x4f9dc7['editing']['view'],_0x1d9960=_0x34193d['editable'],_0x2ec64e=_0x2d83f5['document']['getRoot']();_0x1d9960['name']=_0x2ec64e['rootName'],_0x34193d['render']();const _0x400d63=_0x1d9960['element'];this['setEditableElement'](_0x1d9960['name'],_0x400d63),_0x34193d['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x2d83f5['attachDomRoot'](_0x400d63),this['_elementReplacer']['replace'](_0x527b3f,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x68108e=this['view'],_0x192469=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x192469['detachDomRoot'](_0x68108e['editable']['name']),_0x68108e['destroy']();}['_initToolbar'](){const _0x3dcc34=this['view'];_0x3dcc34['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x3dcc34['stickyPanel']['limiterElement']=_0x3dcc34['element'],_0x3dcc34['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x5a935c})=>_0x5a935c),_0x3dcc34['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x3dcc34['toolbar']);}constructor(_0x5270c8,_0x3a3a03){super(_0x5270c8),this['_view']=_0x3a3a03,this['_toolbarConfig']=ct(_0x5270c8['config']['get']('toolbar')),this['_elementReplacer']=new nt();}}class at extends dt{get['editable'](){return this['_editable'];}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}constructor(_0x4abead,_0x344df1,_0x18564b={}){super(_0x4abead),this['stickyPanel']=new lt(_0x4abead),this['toolbar']=new pt(_0x4abead,{'shouldGroupWhenFull':_0x18564b['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x4abead,_0x344df1);}}class m extends rt(st(it)){get['ui'](){return this['_ui'];}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x3735ff,_0x31aa13){const _0x30f496=new this(_0x3735ff,_0x31aa13);return await _0x30f496['initPlugins'](),await _0x30f496['ui']['init'](_0x3735ff),await _0x30f496['data']['init'](_0x30f496['config']['get']('initialData')||''),_0x30f496['fire']('ready'),_0x30f496;}constructor(_0x3a9312,_0x1ec380){super(_0x1ec380),this['sourceElement']=_0x3a9312,this['model']['document']['createRoot']();const _0xac0b7e=new at(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new ot(this,_0xac0b7e);}}const g=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x17c1cc{static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x17f407){super(_0x17f407),this['result']='end';}}class H extends _0x17c1cc{static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}set['adapter'](_0x12251e){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x12251e;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x370e30){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x370e30);}['getRevision'](_0x21a0c7){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x21a0c7);}['getRevisions'](_0x3c6617={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x3c6617);}['_getRevisionViewerEditorConfig'](){const _0x4ad0bc=this['editor'],_0x1530ef=_0x35e67f(_0x4ad0bc,g),_0x55eae7=_0x4ad0bc['plugins']['get']('RevisionTracker'),_0x4c4148=_0x4ad0bc['plugins']['get']('Users')['users'];return _0x1530ef['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x1530ef['lazyRoots'],(_0x1530ef['plugins']['push'](k,d,R,class extends _0x17c1cc{static get['requires'](){return[d,'Users'];}['init'](){const _0x15a7de=this['editor']['plugins']['get']('Users');for(const _0x25d57c of _0x4c4148)_0x25d57c['isAnonymous']||_0x15a7de['getUser'](_0x25d57c['id'])||_0x15a7de['addUser'](_0x25d57c);const _0x5b32a8=_0x55eae7['repository']['getRevisions']();let _0x4e8460=null;const _0x1d3c1e=this['editor']['plugins']['get']('RevisionViewer');_0x1d3c1e['adapter']=_0x55eae7['adapter'],_0x1d3c1e['bind']('isEnabled')['to'](_0x55eae7),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x4ad0bc,'isReadOnly',_0x37d4a2=>!_0x37d4a2);for(const _0x17db3f of _0x5b32a8){const _0x228bc8=null===_0x17db3f['creator'];if(_0x228bc8&&_0x17db3f['toVersion']===_0x17db3f['fromVersion'])continue;const _0x5f0c02=_0x17db3f['toJSON']();_0x1d3c1e['addRevisionData'](_0x5f0c02,(_0x3b9de3,_0x3c75fb,_0x283fd1)=>{if(_0x228bc8){if(_0x4e8460)_0x4e8460['_update'](_0x3b9de3,_0x3c75fb);else{if(!_0x3c75fb){const _0x5bb234=_0x283fd1['toJSON']();_0x5bb234['id']=_0x55ddc3(),_0x55eae7['saveRevision'](_0x5bb234,_0x283fd1['toVersion'])['then'](_0x1fed62=>{_0x4e8460=_0x1fed62;});}}}else _0x17db3f['_update'](_0x3b9de3,_0x3c75fb);});}}},w),_0x1530ef);}['_enhanceShowRevisionViewerCallback'](){const _0x5393d7=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x2073a8=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x395a2c=this['editor']['plugins']['get']('Autosave');await _0x395a2c['save']();}else await _0x2073a8['update']();this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks']();const _0x481d45=this['_getRevisionViewerEditorConfig']();return _0x5393d7(_0x481d45)['then'](_0x2c04b8=>{return(this['_viewerEditor']=_0x2c04b8,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x2c04b8;})['catch'](_0x3f7624=>(console['error'](_0x3f7624),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x13c8e5=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'](),_0x13c8e5(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x6dad2e=this['editor']['plugins']['get']('Annotations');_0x6dad2e['refreshVisibility'](),_0x6dad2e['refreshPositioning']();}})));}['_showRevisionViewer'](_0x5223a1){const _0x2831de=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x402c51=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0xa2c6a5=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0xa2c6a5,_0x5223a1)['then'](_0x5d3d3e=>(_0x402c51['style']['display']='block',_0x2831de['style']['display']='none',_0x5d3d3e));}['_closeRevisionViewer'](_0xa533){const _0xe6bcb3=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0xe6bcb3['style']['display']='',_0xa533['destroy']();}async['_restoreRevision'](_0x121b80){const _0x38139a=this['editor'],_0x2e2707=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x339eac=_0x38139a['plugins']['get']('RevisionTracker'),_0x3d0a9f=_0x2e2707['repository']['getRevision'](_0x121b80);let _0x1377eb,_0x4eb043,_0xa9b38d;try{_0x1377eb=await _0x2e2707['getRevisionData'](_0x3d0a9f),_0x4eb043=await _0x2e2707['getRevisionRootsAttributes'](_0x3d0a9f);}catch(_0x39a97d){return void console['error'](_0x39a97d);}_0x38139a['model']['change'](_0x2b3ece=>{for(const _0xa1080e of Array['from'](_0x38139a['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x2b3ece['removeMarker'](_0xa1080e);}),_0x2e2707['isReady']=!0x1,_0x38139a['model']['enqueueChange'](_0x194f67=>{_0x194f67['setSelection'](null),_0x194f67['removeSelectionAttribute'](_0x38139a['model']['document']['selection']['getAttributeKeys']());const _0x3e1c74=Object['keys'](_0x1377eb);for(const _0x56f724 of _0x38139a['model']['document']['roots'])'$graveyard'!=_0x56f724['rootName']&&_0x56f724['isAttached']()&&!_0x3e1c74['includes'](_0x56f724['rootName'])&&_0x194f67['detachRoot'](_0x56f724);for(const _0x3e6afa of _0x3e1c74){let _0xdb62ac=_0x38139a['model']['document']['getRoot'](_0x3e6afa);_0xdb62ac&&_0xdb62ac['isAttached']()||(_0xdb62ac=_0x194f67['addRoot'](_0x3e6afa));const _0x1e0f7c=_0x4eb043[_0x3e6afa],_0x49c232=Object['keys'](_0x1e0f7c),_0x465a11=_0x1377eb[_0x3e6afa];for(const _0x52bcd7 of _0xdb62ac['getAttributeKeys']())_0x49c232['includes'](_0x52bcd7)||_0x194f67['removeAttribute'](_0x52bcd7,_0xdb62ac);for(const _0x2ff9e0 of _0x49c232)_0x194f67['setAttribute'](_0x2ff9e0,_0x4eb043[_0x3e6afa][_0x2ff9e0],_0xdb62ac);_0x194f67['remove'](_0x194f67['createRangeIn'](_0xdb62ac)),_0x194f67['insert'](_0x38139a['data']['parse'](_0x465a11,_0xdb62ac),_0xdb62ac,0x0);}});const _0x95f105=y(_0x38139a['locale'],'Restored');if(_0x3d0a9f['name'])_0xa9b38d=-0x1==_0x3d0a9f['name']['indexOf'](_0x95f105)?_0x95f105+':\x20'+_0x3d0a9f['name']:_0x3d0a9f['name'];else _0xa9b38d=_0x95f105+':\x20'+(_0x3d0a9f['createdAt']['toLocaleDateString'](_0x38139a['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x3d0a9f['createdAt']['toLocaleTimeString'](_0x38139a['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x339eac['saveRevision']({'name':_0xa9b38d}),_0x2e2707['isReady']=!0x0,_0x38139a['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}constructor(_0xab30de){if(super(_0xab30de),!this['editor']['config']['get']('revisionHistory'))throw new _0x11cae8('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x1ff90c=>this['_showRevisionViewer']({..._0x1ff90c,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x438290=>this['_closeRevisionViewer'](_0x438290)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x4bd47e=>this['_restoreRevision'](_0x4bd47e)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}}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};
23
+ import{Plugin as _0x8588e3,Context as _0xad3c13,PendingActions as _0x14251a,icons as _0x68655b,Command as _0x4f29eb,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x310650,uid as _0x54ef88,Collection as _0x18d01c,logWarning as _0x1959b7,FocusTracker as _0x4a80f8,KeystrokeHandler as _0x4037d2,scrollViewportToShowTarget as _0x4d8b46,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x949364}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x1f8bb3,getMarkerDomElement as _0x4823e0,ConfirmMixin as _0x196176,sanitizeEditorConfig as _0x170275}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0xf057f0,ViewText as _0x12a874,ViewElement as _0x59a104,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x3d116a,ViewAttributeElement as _0x34a71e,ViewEmptyElement as _0x26d6f3,ViewRawElement as _0x24a8e0,ViewUIElement as _0x496772,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x3557e9,set as _0x5d0c28,unset as _0x1e5873,isEqual as _0x2d47ca}from'lodash-es';import{View as _0x573185,submitHandler as _0x5b994c,LabeledFieldView as at,createLabeledInputText as _0x35167b,injectCssTransitionDisabler as ts,createDropdown as _0x3765c1,ListView as te,ListItemView as _0x4a7cd8,ButtonView as _0x213cdd,MenuBarMenuView as _0x255fdb,MenuBarMenuListView as _0x23299e,MenuBarMenuListItemView as _0x48a636,MenuBarMenuListItemButtonView as _0x212d1d,ContextualBalloon as _0x1dc021,ToolbarSeparatorView as _0x183af7,IconView as _0x44ea2a,addListToDropdown as _0x5c0093,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 _0x38580e}from'luxon';class a extends _0x310650(){['setName'](_0x5221ab){this['_update']({'name':_0x5221ab});}['setAttribute'](_0x5b33f0,_0x3eaf1e){const _0x191314=_0x3557e9(this['attributes']);_0x5d0c28(_0x191314,_0x5b33f0,_0x3eaf1e),this['_update']({'attributes':_0x191314});}['removeAttribute'](_0x4feea1){const _0x1197be=_0x3557e9(this['attributes']);_0x1e5873(_0x1197be,_0x4feea1),this['_update']({'attributes':_0x1197be});}['_update'](_0x5e4077,_0x24d781=!0x1){let _0x54e5a4=!0x1;const _0x25e350={'id':this['id']},_0x1ba728=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x2e1d7c of _0x1ba728){const _0x1f802f=_0x5e4077[_0x2e1d7c];void 0x0!==_0x1f802f&&_0x1f802f!==this[_0x2e1d7c]&&(this[_0x2e1d7c]=_0x1f802f,_0x25e350[_0x2e1d7c]=_0x1f802f,_0x54e5a4=!0x0);}_0x54e5a4&&(_0x25e350['authors']&&(_0x25e350['authorsIds']=_0x25e350['authors']['map'](_0x5292c0=>_0x5292c0['id']),delete _0x25e350['authors']),this['fire']('_update',_0x25e350,_0x24d781));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x4d06bc=>_0x4d06bc['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}constructor(_0x18b6b7){super(),this['id']=_0x18b6b7['id']||_0x54ef88(),this['creator']=_0x18b6b7['creator']||null,this['authors']=_0x18b6b7['authors']||[],this['diffData']=_0x18b6b7['diffData']||null,this['toVersion']=_0x18b6b7['toVersion']||0x0,this['fromVersion']=_0x18b6b7['fromVersion']||0x0,this['set']('name',_0x18b6b7['name']||''),this['set']('createdAt',_0x18b6b7['createdAt']||new Date()),this['set']('attributes',_0x18b6b7['attributes']||{});}}class A extends _0x8588e3{static get['requires'](){return[_0x1f8bb3];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}['afterInit'](){!function(_0x14a954){function _0x27eb0b(_0x21ce5b,_0x5afd1f,_0x4e11fa){const _0x221da1={};_0x221da1[_0x2a7114([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x221da1[_0x2a7114([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],_0x221da1[_0x2a7114([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],_0x221da1[_0x2a7114([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],_0x221da1[_0x2a7114([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],_0x221da1[_0x2a7114([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],_0x221da1[_0x2a7114([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],_0x221da1[_0x2a7114([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],_0x221da1[_0x2a7114([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],_0x221da1[_0x2a7114([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],_0x221da1[_0x2a7114([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 _0x4f6523=new Uint8Array(0x10);for(let _0x30b5bb=0xf;_0x30b5bb>=0x0;--_0x30b5bb)_0x4f6523[_0x30b5bb]=_0x4e11fa%0x100,_0x4e11fa=parseInt(_0x4e11fa/0x100);let _0x2acd1b=null,_0x1d926a=0x10;const _0x14911a=new Uint8Array(_0x5afd1f),_0x4346fe=[],_0x4830d4=[];_0x308dd2();for(let _0x50aa29=0x0;_0x50aa29<_0x21ce5b[_0x2a7114([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50aa29++)0x10===_0x1d926a&&(_0x2acd1b=_0x34cb22(_0x4f6523),_0x1d926a=0x0,_0x47631f(_0x4f6523)),_0x21ce5b[_0x50aa29]^=_0x2acd1b[_0x1d926a++];return _0x21ce5b;function _0x48689d(_0xc857eb){const _0x26a02e=[];for(let _0x4787ad=0x0;_0x4787ad<_0xc857eb[_0x2a7114([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4787ad+=0x4)_0x26a02e[_0x2a7114([0x70,0x75,0x73,0x68])](_0xc857eb[_0x4787ad]<<0x18|_0xc857eb[_0x4787ad+0x1]<<0x10|_0xc857eb[_0x4787ad+0x2]<<0x8|_0xc857eb[_0x4787ad+0x3]);return _0x26a02e;}function _0x47631f(_0xa17045){for(let _0x7b0f66=0xf;_0x7b0f66>=0x0;_0x7b0f66--){if(0xff!==_0xa17045[_0x7b0f66]){_0xa17045[_0x7b0f66]++;break;}_0xa17045[_0x7b0f66]=0x0;}}function _0x34cb22(_0x5d72b5){const _0x186d4d=_0x4346fe[_0x2a7114([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0xb4db61=[0x0,0x0,0x0,0x0];let t=_0x48689d(_0x5d72b5);for(let _0x3e1ae5=0x0;_0x3e1ae5<0x4;_0x3e1ae5++)t[_0x3e1ae5]^=_0x4346fe[0x0][_0x3e1ae5];for(let _0x1e3a27=0x1;_0x1e3a27<_0x186d4d;_0x1e3a27++){for(let _0xd3098=0x0;_0xd3098<0x4;_0xd3098++)_0xb4db61[_0xd3098]=_0x221da1[_0x2a7114([0x54,0x31])][t[_0xd3098]>>0x18&0xff]^_0x221da1[_0x2a7114([0x54,0x32])][t[(_0xd3098+0x1)%0x4]>>0x10&0xff]^_0x221da1[_0x2a7114([0x54,0x33])][t[(_0xd3098+0x2)%0x4]>>0x8&0xff]^_0x221da1[_0x2a7114([0x54,0x34])][0xff&t[(_0xd3098+0x3)%0x4]]^_0x4346fe[_0x1e3a27][_0xd3098];t=_0xb4db61[_0x2a7114([0x73,0x6c,0x69,0x63,0x65])]();}const _0x30a6d1=new Uint8Array(0x10);let _0xcb6326;for(let _0x3b808d=0x0;_0x3b808d<0x4;_0x3b808d++)_0xcb6326=_0x4346fe[_0x186d4d][_0x3b808d],_0x30a6d1[0x4*_0x3b808d]=0xff&(_0x221da1[_0x2a7114([0x53])][t[_0x3b808d]>>0x18&0xff]^_0xcb6326>>0x18),_0x30a6d1[0x4*_0x3b808d+0x1]=0xff&(_0x221da1[_0x2a7114([0x53])][t[(_0x3b808d+0x1)%0x4]>>0x10&0xff]^_0xcb6326>>0x10),_0x30a6d1[0x4*_0x3b808d+0x2]=0xff&(_0x221da1[_0x2a7114([0x53])][t[(_0x3b808d+0x2)%0x4]>>0x8&0xff]^_0xcb6326>>0x8),_0x30a6d1[0x4*_0x3b808d+0x3]=0xff&(_0x221da1[_0x2a7114([0x53])][0xff&t[(_0x3b808d+0x3)%0x4]]^_0xcb6326);return _0x30a6d1;}function _0x308dd2(){const _0x44ab26=_0x221da1[_0x2a7114([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x14911a[_0x2a7114([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x46f46b=0x0;_0x46f46b<=_0x44ab26;_0x46f46b++)_0x4346fe[_0x2a7114([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x4830d4[_0x2a7114([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x578127=0x4*(_0x44ab26+0x1),_0x46d2d9=_0x14911a[_0x2a7114([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x38dedf=_0x48689d(_0x14911a);let _0x5750c5;for(let _0x8b0f84=0x0;_0x8b0f84<_0x46d2d9;_0x8b0f84++)_0x5750c5=_0x8b0f84>>0x2,_0x4346fe[_0x5750c5][_0x8b0f84%0x4]=_0x38dedf[_0x8b0f84],_0x4830d4[_0x44ab26-_0x5750c5][_0x8b0f84%0x4]=_0x38dedf[_0x8b0f84];let _0x1bf197,_0x1e3e02=0x0,t=_0x46d2d9;for(;t<_0x578127;){_0x1bf197=_0x38dedf[_0x46d2d9-0x1],_0x38dedf[0x0]^=_0x221da1[_0x2a7114([0x53])][_0x1bf197>>0x10&0xff]<<0x18^_0x221da1[_0x2a7114([0x53])][_0x1bf197>>0x8&0xff]<<0x10^_0x221da1[_0x2a7114([0x53])][0xff&_0x1bf197]<<0x8^_0x221da1[_0x2a7114([0x53])][_0x1bf197>>0x18&0xff]^_0x221da1[_0x2a7114([0x72,0x63,0x6f,0x6e])][_0x1e3e02]<<0x18,_0x1e3e02+=0x1;for(let _0x26017c=0x1;_0x26017c<_0x46d2d9/0x2;_0x26017c++)_0x38dedf[_0x26017c]^=_0x38dedf[_0x26017c-0x1];_0x1bf197=_0x38dedf[_0x46d2d9/0x2-0x1],_0x38dedf[_0x46d2d9/0x2]^=_0x221da1[_0x2a7114([0x53])][0xff&_0x1bf197]^_0x221da1[_0x2a7114([0x53])][_0x1bf197>>0x8&0xff]<<0x8^_0x221da1[_0x2a7114([0x53])][_0x1bf197>>0x10&0xff]<<0x10^_0x221da1[_0x2a7114([0x53])][_0x1bf197>>0x18&0xff]<<0x18;for(let _0x136195=_0x46d2d9/0x2+0x1;_0x136195<_0x46d2d9;_0x136195++)_0x38dedf[_0x136195]^=_0x38dedf[_0x136195-0x1];let _0x1f3dcc,_0x41fdea,_0x118ecf=0x0;for(;_0x118ecf<_0x46d2d9&&t<_0x578127;)_0x1f3dcc=t>>0x2,_0x41fdea=t%0x4,_0x4346fe[_0x1f3dcc][_0x41fdea]=_0x38dedf[_0x118ecf],_0x4830d4[_0x44ab26-_0x1f3dcc][_0x41fdea]=_0x38dedf[_0x118ecf++],t++;}for(let _0x13533e=0x1;_0x13533e<_0x44ab26;_0x13533e++)for(let _0x37904b=0x0;_0x37904b<0x4;_0x37904b++)_0x1bf197=_0x4830d4[_0x13533e][_0x37904b],_0x4830d4[_0x13533e][_0x37904b]=_0x221da1[_0x2a7114([0x55,0x31])][_0x1bf197>>0x18&0xff]^_0x221da1[_0x2a7114([0x55,0x32])][_0x1bf197>>0x10&0xff]^_0x221da1[_0x2a7114([0x55,0x33])][_0x1bf197>>0x8&0xff]^_0x221da1[_0x2a7114([0x55,0x34])][0xff&_0x1bf197];}}function _0x2a7114(_0x30065a){return _0x30065a['map'](_0x51ab55=>String['fromCharCode'](_0x51ab55))['join']('');}(_0x2fac65=>{function _0x43bcf3(){const _0x4be8ff=[{[_0x2a7114([0x69,0x64])]:0x1,[_0x2a7114([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2a7114([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x2a7114([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2a7114([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2a7114([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2a7114([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2a7114([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x2a7114([0x69,0x64])]:0x2,[_0x2a7114([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2a7114([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x2a7114([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2a7114([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2a7114([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2a7114([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]),[_0x2a7114([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2a7114([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2a7114([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2a7114([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x2a7114([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2a7114([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2a7114([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2a7114([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2a7114([0x69,0x64])]:0x3,[_0x2a7114([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2a7114([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x2a7114([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2a7114([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2a7114([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2a7114([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2a7114([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2a7114([0x69,0x64])]:0x4,[_0x2a7114([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2a7114([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x2a7114([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2a7114([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2a7114([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2a7114([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]),[_0x2a7114([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2a7114([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2a7114([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2a7114([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2a7114([0x69,0x64])]:0x5,[_0x2a7114([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2a7114([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x2a7114([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2a7114([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2a7114([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]),[_0x2a7114([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2a7114([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2a7114([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2a7114([0x66,0x67,0x69])]:[0xc]}},{[_0x2a7114([0x69,0x64])]:0x6,[_0x2a7114([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2a7114([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x2a7114([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2a7114([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2a7114([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2a7114([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2a7114([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2a7114([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2a7114([0x66,0x67,0x69])]:[0xc]}},{[_0x2a7114([0x69,0x64])]:0x7,[_0x2a7114([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2a7114([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x2a7114([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2a7114([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2a7114([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2a7114([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2a7114([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2a7114([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2a7114([0x66,0x67,0x69])]:[0xc]}},{[_0x2a7114([0x69,0x64])]:0x8,[_0x2a7114([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2a7114([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x2a7114([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2a7114([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2a7114([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]),[_0x2a7114([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2a7114([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2a7114([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2a7114([0x66,0x67,0x69])]:[0xc]}},{[_0x2a7114([0x69,0x64])]:0x9,[_0x2a7114([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2a7114([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x2a7114([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2a7114([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2a7114([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2a7114([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2a7114([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2a7114([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2a7114([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x2a7114([0x69,0x64])]:0xa,[_0x2a7114([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2a7114([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]),[_0x2a7114([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2a7114([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]),[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2a7114([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]),[_0x2a7114([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2a7114([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2a7114([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2a7114([0x66,0x67,0x69])]:[0xc]}},{[_0x2a7114([0x69,0x64])]:0xb,[_0x2a7114([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2a7114([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x2a7114([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2a7114([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2a7114([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2a7114([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2a7114([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2a7114([0x69,0x64])]:0xc,[_0x2a7114([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2a7114([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x2a7114([0x69,0x64])]:0xd,[_0x2a7114([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2a7114([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x2a7114([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2a7114([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2a7114([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2a7114([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2a7114([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2a7114([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2a7114([0x66,0x67,0x69])]:[0xc]}},{[_0x2a7114([0x69,0x64])]:0xe,[_0x2a7114([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2a7114([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x2a7114([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2a7114([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])},{[_0x2a7114([0x69,0x64])]:0xf,[_0x2a7114([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2a7114([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x2a7114([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2a7114([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2a7114([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2a7114([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2a7114([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2a7114([0x69,0x64])]:0x10,[_0x2a7114([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2a7114([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x2a7114([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2a7114([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2a7114([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2a7114([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2a7114([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2a7114([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2a7114([0x66,0x67,0x69])]:[0xc]}}];return _0x1d273e(_0x4be8ff),_0x4be8ff;function _0x2b3e6a(_0x24d15c){return 0x1<<_0x24d15c-0x1;}function _0x1d273e(_0x568cb2){_0x568cb2[_0x2a7114([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c41de=>{_0x1c41de[_0x2a7114([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x2b3e6a(_0x1c41de[_0x2a7114([0x69,0x64])]),_0xe456f1(_0x1c41de)&&_0x1c41de[_0x2a7114([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1d273e(_0x1c41de[_0x2a7114([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0xe456f1(_0xf09f02){return _0x2a7114([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0xf09f02;}const _0x50e5d4=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x46dc4d=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x232fc1(_0x50db1d){const _0x50edc4=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x6ea21f(_0x50db1d,new Uint8Array([..._0x50e5d4,..._0x50edc4,..._0x46dc4d]));}function _0x6ea21f(_0x1b14ca,_0x504e32){const _0x11f749=_0x3e057a(_0x1b14ca),_0x308f07=Array[_0x2a7114([0x66,0x72,0x6f,0x6d])](_0x9e3af8(_0x11f749)),_0x3f3337=_0x308f07[_0x2a7114([0x70,0x6f,0x70])](),_0x32dcf0=_0x308f07[_0x2a7114([0x70,0x6f,0x70])]();return _0x2d1656(_0x27eb0b(_0x308f07,_0x504e32,_0x32dcf0+0x100*_0x3f3337));}function _0x3e057a(_0x15e325){const _0x2eb6ff=atob(_0x15e325),[_0x9b810a,_0x17deab]=_0x2eb6ff[_0x2a7114([0x73,0x70,0x6c,0x69,0x74])](_0x2a7114([0x2d]));try{if(atob(_0x17deab))return atob(_0x9b810a);}catch(_0x17dc9b){}return _0x2eb6ff;}function _0x47ff70(_0x46a80c){try{const _0x5c28b8=_0x232fc1(_0x46a80c),_0x23bfd=JSON[_0x2a7114([0x70,0x61,0x72,0x73,0x65])](_0x5c28b8),_0x337845=parseInt(_0x23bfd[_0x2a7114([0x31])]),_0x35e58d=_0x23bfd[_0x2a7114([0x32])]||'',_0x274f8b=parseInt(_0x23bfd[_0x2a7114([0x33])]),_0x695070=parseInt(_0x23bfd[_0x2a7114([0x34])])||0x0,_0x34818a=parseInt(_0x23bfd[_0x2a7114([0x35])])||0x0;return{[_0x2a7114([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x35e58d,[_0x2a7114([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x695070,[_0x2a7114([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x337845,[_0x2a7114([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x274f8b,[_0x2a7114([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x34818a};}catch(_0x48d992){return null;}}const _0x4c978a=_0x43bcf3(),_0x5dd57f={[_0x2a7114([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x2a95b6,[_0x2a7114([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])]:_0x5d3181,[_0x2a7114([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])]:_0x167943},_0x2ca18c=_0x2fac65[_0x2a7114([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x2a7114([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x24d09c=_0x2a7114([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x2fac65?_0x2fac65['context']:_0x2fac65['editor'],_0x3e3326=_0x2a7114([0x34,0x30,0x34,0x38,0x31,0x30,0x31,0x38]),_0x2e2c17=_0x2a7114([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]),_0x27dd31=_0x24d09c['config']['get'](_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x56d8c9=_0x4c978a[_0x2a7114([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xe456f1)[_0x2a7114([0x66,0x69,0x6e,0x64])](_0x3f50ed=>_0x3f50ed[_0x2a7114([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x2ca18c);function _0x2c430e(_0x3ebff4,_0xd78d01){_0x5dd57f[_0xd78d01[_0x2a7114([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x3ebff4,_0xd78d01),_0xd78d01[_0x2a7114([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0xd78d01[_0x2a7114([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x2a7114([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xddfeaa=>_0x2a045f(_0x24d09c,_0xddfeaa[_0x2a7114([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x2a7114([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x436535=>_0x2c430e(_0x3ebff4,_0x436535));}function _0x2a95b6(_0x2d64df,_0x392f06){_0x144504(_0x36e0ad(_0x2d64df,_0x392f06),_0x392f06);}function _0x5d3181(_0x15a3cc,_0x510fef){function _0x28e411(_0x4a9cfd,_0x2eebfb){try{if(_0x2a045f(_0x24d09c,_0x2a7114([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x4a9cfd){const _0x436953=_0x37359e(_0x24d09c,_0x2a7114([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x2a7114([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x436953)/0x2>_0x4a9cfd[_0x2a7114([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x82892(_0x2eebfb[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2a7114([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x36e0ad(_0x4a9cfd,_0x2eebfb);}catch(_0x3e5aa9){return _0x82892(_0x2eebfb[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2a7114([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x144504(_0x28e411(_0x15a3cc,_0x510fef),_0x510fef);}function _0x167943(_0x8973e7,_0x494785){const _0x1c78e9=_0x46dc4d[0x0]*_0x50e5d4[0x1],_0x5e3baa=_0x46dc4d[0x0]*_0x50e5d4[0x2],_0x4a8892=_0x46dc4d[0x2]*_0x50e5d4[0x2];_0x2a045f(_0x24d09c,_0x2a7114([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x37359e(_0x24d09c,_0x2a7114([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2a7114([0x73,0x74,0x61,0x74,0x65])]==_0x2a7114([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x55b869()]=_0x4a8892);function _0x1a8e4b(_0x4ab58d,_0x24d438){try{return _0x3d4760()?_0x82892(_0x24d438[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2a7114([0x56,0x61,0x6c,0x69,0x64])):_0x36e0ad(_0x4ab58d,_0x24d438);}catch(_0x29c902){return _0x82892(_0x24d438[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2a7114([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1dfff5(_0x1263a3,_0x365a7a){const _0x54ef62=0x7;if(_0x1263a3==_0x365a7a[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2a7114([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x33e990();else{if(_0x1263a3==_0x365a7a[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2a7114([0x54,0x72,0x69,0x61,0x6c])){const _0x19e394=_0xef59a0();_0x19e394&&_0x30b8b2(_0x19e394,_0x365a7a[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x2d463b=_0x50672f();window[_0x2a7114([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x30b8b2(_0x2a7114([0x74,0x69,0x6d,0x65]),_0x365a7a[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x2d463b);const _0x4af0a9=_0x37359e(_0x24d09c,_0x2a7114([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2a7114([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x4af0a9[_0x2a7114([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x54ef62?_0x30b8b2(_0x2a7114([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x365a7a[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x4af0a9['on'](_0x2a7114([0x61,0x64,0x64]),()=>{_0x4af0a9[_0x2a7114([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x54ef62&&_0x30b8b2(_0x2a7114([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x365a7a[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0xef59a0(){if(!_0x2a045f(_0x24d09c,_0x2a7114([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x22dbe6 in window)if(Number['isNaN'](Number(_0x22dbe6))){if(window[_0x22dbe6]===_0x1c78e9)return _0x2a7114([0x74,0x69,0x6d,0x65]);if(window[_0x22dbe6]===_0x5e3baa)return _0x2a7114([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x3d4760(){if(!_0x2a045f(_0x24d09c,_0x2a7114([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x12ba9a in window)if(Number['isNaN'](Number(_0x12ba9a))&&window[_0x12ba9a]===_0x4a8892)return!0x0;return!0x1;}function _0x30b8b2(_0x50ffbe,_0x5ec24b){_0x33e990(),_0x82892(_0x5ec24b+_0x2a7114([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x50ffbe),window[_0x55b869()]=_0x50ffbe===_0x2a7114([0x74,0x69,0x6d,0x65])?_0x1c78e9:_0x5e3baa;}function _0x50672f(){let _0x2eb5ad=_0x46dc4d[0x6]*_0x50e5d4[0x8]*_0x50e5d4[0x6];return _0x2a045f(_0x24d09c,_0x2a7114([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x2eb5ad/=0xa),_0x2eb5ad;}function _0x33e990(){const _0x298cb2=_0x24d09c;function _0x188a5b(){_0x2a045f(_0x298cb2,_0x2a7114([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x37359e(_0x298cb2,_0x2a7114([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2a7114([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2a7114([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x37359e(_0x298cb2,_0x2a7114([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2a7114([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x37359e(_0x298cb2,_0x2a7114([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2a7114([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x2dc122,_0x37359e(_0x298cb2,_0x2a7114([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2a7114([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x2dc122,_0x298cb2[_0x2a7114([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a7114([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2dc122,_0x298cb2[_0x2a7114([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a7114([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2dc122,_0x298cb2[_0x2a7114([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2a7114([0x6d,0x6f,0x64,0x65,0x6c]))),_0x2a045f(_0x298cb2,_0x2a7114([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x37359e(_0x298cb2,_0x2a7114([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2a7114([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2a7114([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x37359e(_0x298cb2,_0x2a7114([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2a7114([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x37359e(_0x298cb2,_0x2a7114([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2a7114([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x2dc122,_0x37359e(_0x298cb2,_0x2a7114([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2a7114([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x2dc122);}_0x298cb2[_0x2a7114([0x73,0x74,0x61,0x74,0x65])]==_0x2a7114([0x72,0x65,0x61,0x64,0x79])?_0x188a5b():_0x298cb2[_0x2a7114([0x6f,0x6e,0x63,0x65])](_0x2a7114([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x2a045f(_0x298cb2,_0x2a7114([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x188a5b(),_0x2a045f(_0x298cb2,_0x2a7114([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x12f8ea=_0x37359e(_0x298cb2,_0x2a7114([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x239709=_0x12f8ea['getRevision'](0x0),_0x4beb4b=_0x12f8ea['getEarlierVisibleRevision'](_0x239709[_0x2a7114([0x69,0x64])]);_0x37359e(_0x298cb2,_0x2a7114([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2a7114([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x239709[_0x2a7114([0x69,0x64])],_0x4beb4b?_0x4beb4b[_0x2a7114([0x69,0x64])]:null,0x1)['then'](()=>_0x188a5b());}});}_0x1dfff5(_0x1a8e4b(_0x8973e7,_0x494785),_0x494785);}function _0x36e0ad(_0x4c965e,_0x5c20d2){try{return _0x6b5836(_0x5c20d2)?_0x82892(_0x5c20d2[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2a7114([0x56,0x61,0x6c,0x69,0x64])):_0x4c965e&&_0x264555(_0x4c965e[_0x2a7114([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x5c20d2)?_0x4c965e[_0x2a7114([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x2a7114([0x6f,0x70,0x65,0x6e])][_0x2a7114([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x3e3326)/0x2>_0x4c965e[_0x2a7114([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x82892(_0x5c20d2[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2a7114([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x4c965e[_0x2a7114([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x82892(_0x5c20d2[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2a7114([0x54,0x72,0x69,0x61,0x6c])):_0x82892(_0x5c20d2[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2a7114([0x56,0x61,0x6c,0x69,0x64])):_0x82892(_0x5c20d2[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2a7114([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x5163df){return _0x82892(_0x5c20d2[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2a7114([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x144504(_0x57c9a7,_0x4e1ddb){if(_0x24d09c instanceof _0xad3c13){const _0x7e2bdd=_0x24d09c;_0x57c9a7==_0x4e1ddb[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2a7114([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x27aeff(_0x7e2bdd):_0x57c9a7==_0x4e1ddb[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2a7114([0x54,0x72,0x69,0x61,0x6c])&&window[_0x2a7114([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x27aeff(_0x7e2bdd),_0x82892(_0x4e1ddb[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2a7114([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x46dc4d[0x6]*_0x50e5d4[0x8]*_0x50e5d4[0x6]),_0x7e2bdd[_0x2a7114([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x2a7114([0x6f,0x6e])](_0x2a7114([0x61,0x64,0x64]),(_0x1e82ab,_0x4d820d)=>{_0x57c9a7!=_0x4e1ddb[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2a7114([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x57c9a7!=_0x4e1ddb[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2a7114([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x57c9a7!=_0x4e1ddb[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2a7114([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0xf76bcd(_0x4d820d);});}else{const _0x2a97f6=_0x24d09c;_0x57c9a7==_0x4e1ddb[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2a7114([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0xf76bcd(_0x2a97f6):_0x57c9a7==_0x4e1ddb[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2a7114([0x54,0x72,0x69,0x61,0x6c])&&_0x2a97f6[_0x2a7114([0x6f,0x6e])](_0x2a7114([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x1c5177=0x0;_0x2a97f6[_0x2a7114([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a7114([0x6f,0x6e])](_0x2a7114([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x357019,_0x2a7dc0)=>{_0x2a7dc0[0x0][_0x2a7114([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1c5177++,0x1f8===_0x1c5177&&(_0xf76bcd(_0x2a97f6),_0x82892(_0x4e1ddb[_0x2a7114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2a7114([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x357019[_0x2a7114([0x6f,0x66,0x66])]());},{'priority':_0x2a7114([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x82892(_0x2d7aee){const _0x47b9bc=_0x55b869();return _0x24d09c[_0x47b9bc]=_0x2d7aee,_0x2d7aee;}function _0x55b869(){const _0x446e99=String(window[_0x2a7114([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2a7114([0x6e,0x6f,0x77])]())[_0x2a7114([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2a7114([0x2e]),'');let _0x550b31='';for(let _0x1721c4=0x0;_0x1721c4<_0x446e99[_0x2a7114([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1721c4+=0x2){let _0x37149d=parseInt(_0x446e99[_0x2a7114([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1721c4,_0x1721c4+0x2));_0x37149d>=_0x2e2c17[_0x2a7114([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x37149d-=_0x2e2c17[_0x2a7114([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x550b31+=_0x2e2c17[_0x37149d];}return _0x550b31;}function _0x27aeff(_0x200a63){for(const _0x119fbb of _0x200a63[_0x2a7114([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0xf76bcd(_0x119fbb);_0x37359e(_0x200a63,_0x2a7114([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2a7114([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x37359e(_0x200a63,_0x2a7114([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2a7114([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x2dc122;}function _0xf76bcd(_0x422945){function _0x588115(){_0x422945[_0x2a7114([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a7114([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2dc122,_0x422945[_0x2a7114([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a7114([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2dc122,_0x422945[_0x2a7114([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2a7114([0x6d,0x6f,0x64,0x65,0x6c]));}_0x422945[_0x2a7114([0x73,0x74,0x61,0x74,0x65])]==_0x2a7114([0x72,0x65,0x61,0x64,0x79])?_0x588115():_0x422945[_0x2a7114([0x6f,0x6e,0x63,0x65])](_0x2a7114([0x72,0x65,0x61,0x64,0x79]),()=>_0x588115());}function _0x2dc122(){return null;}function _0x264555(_0x2aaf48,_0x403519){const _0x20767d=!!(_0x2aaf48&_0x403519[_0x2a7114([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x2eda01=_0x43f3a8(_0x2aaf48,_0x403519);return _0x20767d||_0x2eda01;}function _0x43f3a8(_0x2e7112,_0xf8524b){const _0x3065df=(_0xf8524b[_0x2a7114([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x2a7114([0x66,0x67,0x69])]||null;return!!_0x3065df&&_0x4c978a[_0x2a7114([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x10ef3d=>_0x3065df[_0x2a7114([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10ef3d[_0x2a7114([0x69,0x64])]))[_0x2a7114([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x14632c=>!_0x39bfe6(_0x14632c))[_0x2a7114([0x73,0x6f,0x6d,0x65])](_0x18c2e1=>!!(_0x2e7112&_0x18c2e1[_0x2a7114([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x39bfe6(_0x362038){const _0x21128c={[_0x2a7114([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])]:_0x279276};return!!_0x362038['forbiddenHandler']&&_0x21128c[_0x362038['forbiddenHandler']]();}function _0x279276(){return!window[_0x2a7114([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x2a045f(_0x24d09c,_0x2a7114([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x6b5836(_0x401bd6){if(!_0x2a045f(_0x24d09c,_0x401bd6[_0x2a7114([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x293a65=_0x401bd6[_0x2a7114([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x1b96f2=_0x293a65[_0x2a7114([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x210ac4=_0x293a65[_0x2a7114([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x3e43e0=_0x293a65[_0x2a7114([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x2a045f(_0x24d09c,_0x2a7114([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x37359e(_0x24d09c,_0x2a7114([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2a7114([0x73,0x74,0x61,0x74,0x65])]==_0x2a7114([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x1b96f2)return!0x0;if(_0x2a045f(_0x24d09c,_0x2a7114([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x37359e(_0x24d09c,_0x2a7114([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x2a7114([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x2a7114([0x65,0x6e,0x64])&&_0x210ac4)return!0x0;return!(!_0x2a045f(_0x24d09c,_0x2a7114([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]))||_0x37359e(_0x24d09c,_0x2a7114([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]))[_0x2a7114([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x2a7114([0x65,0x6e,0x64])||!_0x3e43e0);}function _0x2a045f(_0x28808d,_0x36e611){return _0x28808d[_0x2a7114([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2a7114([0x68,0x61,0x73])](_0x36e611);}function _0x37359e(_0x59be4a,_0x151dc4){return _0x59be4a[_0x2a7114([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2a7114([0x67,0x65,0x74])](_0x151dc4);}function _0x2d1656(_0x1063c5){let _0x6a3d2d='';for(const _0x48d5b1 of _0x1063c5)_0x6a3d2d+=String[_0x2a7114([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x48d5b1);return _0x6a3d2d;}function _0x9e3af8(_0x53bb88){const _0x5f4a32=new Uint8Array(_0x53bb88[_0x2a7114([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x3c5b43=0x0;_0x3c5b43<_0x53bb88[_0x2a7114([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c5b43++)_0x5f4a32[_0x3c5b43]=_0x53bb88[_0x2a7114([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3c5b43);return _0x5f4a32;}_0x56d8c9&&_0x2c430e(_0x47ff70(_0x27dd31),_0x56d8c9);})(_0x14a954);}(this);}['createRevision'](_0x1df816){const _0x13424c=this['editor']['plugins']['get']('Users');return new a({'id':_0x1df816['id'],'name':_0x1df816['name'],'creator':_0x1df816['creatorId']?_0x13424c['getUser'](_0x1df816['creatorId']):null,'diffData':_0x1df816['diffData']||_0x1df816['data'],'authors':_0x1df816['authorsIds']['map'](_0x195793=>_0x13424c['getUser'](_0x195793)),'createdAt':new Date(_0x1df816['createdAt']),'attributes':_0x1df816['attributes'],'fromVersion':_0x1df816['fromVersion'],'toVersion':_0x1df816['toVersion']});}['addRevision'](_0x54473c,_0x313c79=0x0){this['_revisions']['add'](_0x54473c,_0x313c79);}['getRevision'](_0x4e72a4){return this['_revisions']['get'](_0x4e72a4);}['getRevisions'](_0x46ec8c={'toJSON':!0x1}){const _0x41ff9b=Array['from'](this['_revisions']);return _0x41ff9b['reverse'](),_0x46ec8c['toJSON']?_0x41ff9b['map'](_0xf1ba76=>_0xf1ba76['toJSON']()):_0x41ff9b;}['getIndex'](_0x3f696d){return this['_revisions']['getIndex'](_0x3f696d);}['getEarlierVisibleRevision'](_0x539cb7){const [,_0x1ca56a]=this['getRevisionsIterator'](_0x539cb7,{'direction':'earlier'});return _0x1ca56a;}['getLaterVisibleRevision'](_0x57dcd7){const [,_0x467f5b]=this['getRevisionsIterator'](_0x57dcd7,{'direction':'later'});return _0x467f5b;}['getRevisionsInDiff'](_0x10351e){const _0x206f10=[];for(const _0x4ff89e of this['getRevisionsIterator'](_0x10351e['newRevisionId']))if(_0x206f10['push'](_0x4ff89e),_0x4ff89e['id']===_0x10351e['oldRevisionId'])break;return _0x206f10;}*['getRevisionsIterator'](_0x3bfc6f,{direction:_0x386366='earlier',filter:_0x5bf777=_0x3bf558=>!0x0}={}){const _0x3cb0d8='earlier'===_0x386366?0x1:-0x1;let _0x2778f3=this['_revisions']['get'](_0x3bfc6f),_0x413353=this['getIndex'](_0x2778f3);for(yield _0x2778f3;_0x2778f3;){if(_0x413353+=_0x3cb0d8,_0x2778f3=this['getRevision'](_0x413353),!_0x2778f3)return;_0x5bf777(_0x2778f3)&&(yield _0x2778f3);}}constructor(_0x289323){super(_0x289323),this['_revisions']=new _0x18d01c();}}function y(_0x406323,_0x312549,_0x5b7f64){const t=_0x406323['t'];switch(_0x312549){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'},_0x5b7f64);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x5b7f64);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x3d116a,'a':_0x34a71e,'e':_0x26d6f3,'r':_0x24a8e0,'u':_0x496772};class l extends _0x8588e3{static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x1f8bb3,A,_0x14251a];}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x3566ca=this['repository']['getRevision'](0x0),_0x404375=_0x3566ca&&null===_0x3566ca['creator']?_0x3566ca:null;if(this['_continueCurrentRevision']=!!_0x404375&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x296961=this['_source']['getCurrentRevisionId'](),_0x357698=this['repository']['getRevision'](_0x296961);if(_0x357698)this['_startingVersion']=_0x357698['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x455c3a=this['_source']['history']['_operations']['find'](_0x58a225=>!_0x58a225['_isInit']),_0x1a3c07=_0x455c3a?_0x455c3a['baseVersion']:this['_source']['history']['version'];_0x3566ca?(_0x3566ca['toVersion']<_0x1a3c07&&_0x3566ca['_update']({'toVersion':_0x1a3c07}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x404375['id'],this['_startingVersion']=_0x404375['fromVersion']):(this['_startingVersion']=_0x3566ca['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x1a3c07,this['_continueCurrentRevision']=!0x1);}}else _0x404375&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x404375['toVersion'],this['editor']['model']['document']['history']['version']),_0x404375['fromVersion']===_0x404375['toVersion']?(0x0!==_0x404375['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x404375['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x404375['id'],this['_startingVersion']=_0x404375['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',_0x431307=>!_0x431307);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x20f7b0=this['repository']['getRevision'](0x0),_0x2aee0e=await this['getRevisionDocumentData'](_0x20f7b0),_0x465f4f=await this['getRevisionRootsAttributes'](_0x20f7b0);this['_replaceEditorDataWithRevisionData'](_0x2aee0e,_0x465f4f);}}['setSource'](_0x59ff49){this['_source']=_0x59ff49;}async['update'](){const _0x3b731c=await this['_source']['getLatestVersion']();if(_0x3b731c>this['currentRevision']['toVersion']){await this['_loadState']();const _0x53afe5=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x3b731c});_0x53afe5['authors']=_0x53afe5['authorsIds']['map'](_0x2be517=>this['editor']['plugins']['get']('Users')['getUser'](_0x2be517)),this['currentRevision']['_update'](_0x53afe5);}}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'](_0x2d2113={},_0x45e3a2=null){const _0x4cd1f9=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x45e3a2>this['currentRevision']['toVersion']&&(_0x45e3a2=null),null===_0x45e3a2&&(_0x45e3a2=await this['_source']['getLatestVersion']());const _0x112fb5=this['_getFromVersion'](_0x45e3a2),_0x3795db=this['buildRevisionData']({'from':_0x112fb5,'to':_0x45e3a2});if(this['currentRevision']['toVersion']<_0x45e3a2){const _0x200ce3=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x45e3a2,'to':_0x45e3a2});_0x200ce3['authors']=[],_0x200ce3['authorsIds']=[],_0x200ce3['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x200ce3,!0x0),delete _0x200ce3['authors'],_0x4cd1f9['push'](_0x200ce3);}_0x2d2113['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x2d2113['name']=_0x2d2113['name']||null,_0x2d2113['id']=_0x2d2113['id']||_0x54ef88(),_0x2d2113={..._0x2d2113,..._0x3795db};const _0x45fa01=this['addRevisionData'](_0x2d2113);_0x4cd1f9['push'](_0x2d2113);const _0x550cef=this['repository']['getIndex'](_0x45fa01);if(0x0!==_0x550cef){const _0x4562f6=this['repository']['getRevision'](_0x550cef-0x1);if(_0x4562f6['fromVersion']!==_0x45e3a2){const _0x2a239a=this['_revisionDataBuilder']['getData'](_0x45e3a2,_0x4562f6['toVersion']),_0x4d20ce={'id':_0x4562f6['id'],'diffData':_0x2a239a['diffData'],'authorsIds':_0x2a239a['authorsIds'],'authors':_0x2a239a['authorsIds']['map'](_0x4f9604=>this['editor']['plugins']['get']('Users')['getUser'](_0x4f9604)),'fromVersion':_0x45e3a2};_0x4562f6===this['currentRevision']&&(_0x4d20ce['createdAt']=new Date(_0x2d2113['createdAt']['getTime']()+0xa)),_0x4562f6['_update'](_0x4d20ce,!0x0),delete _0x4d20ce['authors'],_0x4cd1f9['push'](_0x4d20ce);}}if(this['adapter']){for(const _0xa4677e of _0x4cd1f9)this['_bufferUpdate'](_0xa4677e['id'],_0xa4677e,!0x0);this['sendBufferedUpdates']();}return _0x45fa01;}['addRevisionData'](_0x3eb049){const _0x22970d=this['repository']['createRevision'](_0x3eb049);return this['adapter']&&_0x22970d['on']('_update',(_0x5da4b8,_0x45390b,_0xa67938)=>{_0xa67938||(this['_bufferUpdate'](_0x45390b['id'],_0x45390b,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x22970d,this['_findInsertionIndex'](_0x22970d)),_0x22970d;}async['getRevisionDocumentData'](_0x4580fe){await this['_loadRevisionData'](_0x4580fe);const _0xa4d046={};for(const _0x1289a3 in _0x4580fe['diffData']){if(_0x4580fe['diffData'][_0x1289a3]['attachChange']&&!_0x4580fe['diffData'][_0x1289a3]['attachChange']['isAttached'])continue;const _0x3c5884=this['_removeRevisionMarkers'](JSON['parse'](_0x4580fe['diffData'][_0x1289a3]['insertions'])),_0x4780a5=this['editor']['editing']['view']['document'],_0x55bd57=new _0xf057f0(_0x4780a5,_0x3c5884['map'](_0x3018a5=>B(_0x3018a5,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0xa4d046[_0x1289a3]=this['editor']['data']['processor']['toData'](_0x55bd57),this['editor']['data']['processor']['useFillerType']('default');}return _0xa4d046;}async['getRevisionRootsAttributes'](_0x11ccbf){await this['_loadRevisionData'](_0x11ccbf);const _0x47e3c7={};for(const _0x94fd7b in _0x11ccbf['diffData'])_0x11ccbf['diffData'][_0x94fd7b]['attachChange']&&!_0x11ccbf['diffData'][_0x94fd7b]['attachChange']['isAttached']||(_0x47e3c7[_0x94fd7b]=_0x11ccbf['diffData'][_0x94fd7b]['attributesAfter']||{});return _0x47e3c7;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x322f86=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x522f47=0x0;_0x522f47<_0x322f86['length'];_0x522f47++){const _0x2dc980=_0x322f86[_0x522f47];let _0x2e0378=!0x1;for(const _0x2bda3e of Object['keys'](_0x2dc980))void 0x0===_0x2dc980[_0x2bda3e]?delete _0x2dc980[_0x2bda3e]:'id'!==_0x2bda3e&&(_0x2e0378=!0x0);_0x2e0378||(_0x322f86[_0x522f47]=null);}if(_0x322f86=_0x322f86['filter'](_0x2b8d62=>null!==_0x2b8d62),!_0x322f86['length'])return;for(let _0x449353=0x0;_0x449353<_0x322f86['length'];_0x449353++){const _0x2aab5b=_0x322f86[_0x449353];void 0x0!==_0x2aab5b['fromVersion']&&void 0x0===_0x2aab5b['toVersion']&&(_0x2aab5b['toVersion']=this['repository']['getRevision'](_0x2aab5b['id'])['toVersion']),void 0x0!==_0x2aab5b['toVersion']&&void 0x0===_0x2aab5b['fromVersion']&&(_0x2aab5b['fromVersion']=this['repository']['getRevision'](_0x2aab5b['id'])['fromVersion']);}const _0x548061=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x322f86,_0x548061)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x10ddef=>{if(_0x10ddef){for(const _0x305e4a of _0x10ddef)this['setRevisionData']({'id':_0x305e4a['id'],'createdAt':_0x305e4a['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x3d08c6,_0x3b6410){let _0x56b532=this['editor']['config']['get']('initialData'),_0x83115d=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x56b532){_0x56b532={};for(const _0x57cf3e of this['editor']['model']['document']['getRootNames']())_0x56b532[_0x57cf3e]='';}if('string'==typeof _0x56b532&&(_0x56b532={'main':_0x56b532}),void 0x0===_0x83115d){_0x83115d={};for(const _0x105eae of this['editor']['model']['document']['getRootNames']())_0x83115d[_0x105eae]={};}let _0x45bdeb=!0x1;const _0x4efead=Object['keys'](_0x56b532),_0x5279f2=Object['keys'](_0x3d08c6);for(const _0x53e1ca of _0x4efead){if(_0x56b532[_0x53e1ca]!==_0x3d08c6[_0x53e1ca]&&''!==_0x56b532[_0x53e1ca]['trim']()){_0x45bdeb=!0x0;break;}if(!_0x2d47ca(_0x83115d[_0x53e1ca],_0x3b6410[_0x53e1ca])&&Object['keys'](_0x83115d[_0x53e1ca])['length']>0x0){_0x45bdeb=!0x0;break;}}_0x45bdeb||(_0x45bdeb=_0x5279f2['some'](_0x4452ad=>!this['editor']['model']['document']['getRoot'](_0x4452ad))),_0x45bdeb&&_0x1959b7('editor-initial-data-replaced-with-revision-data',{'editorData':_0x56b532,'editorRootsAttributes':_0x83115d,'revisionData':_0x3d08c6,'revisionRootsAttributes':_0x3b6410}),this['editor']['config']['set']('initialData',_0x3d08c6),this['editor']['config']['set']('rootsAttributes',_0x3b6410);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x29b818=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x29b818['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x192135){const _0x844aff=this['repository']['getRevisions']();_0x844aff['reverse']();let _0x21d9ad=0x0;for(;_0x21d9ad<_0x844aff['length'];){const _0x39699a=_0x844aff[_0x21d9ad];if(_0x39699a===this['currentRevision']){_0x21d9ad++;continue;}if(_0x39699a['id']===this['_initialRevisionId'])break;const _0x32100c=_0x192135['toVersion']-_0x39699a['toVersion']||_0x192135['fromVersion']-_0x39699a['fromVersion'];if(_0x32100c>0x0)break;if(_0x32100c<0x0)_0x21d9ad++;else{if(!_0x192135['creator']&&_0x39699a['creator'])break;if(_0x39699a['creator']||!_0x192135['creator']){if(_0x192135['createdAt']>_0x39699a['createdAt'])break;_0x21d9ad++;}else _0x21d9ad++;}}return _0x21d9ad;}['setRevisionData'](_0x4c148f){const _0x3ab3ce=this['repository']['getRevision'](_0x4c148f['id']);if(_0x4c148f['createdAt']&&(_0x4c148f['createdAt']=new Date(_0x4c148f['createdAt'])),_0x4c148f['authorsIds']){const _0x256097=this['editor']['plugins']['get']('Users');_0x4c148f['authors']=_0x4c148f['authorsIds']['map'](_0x21944b=>_0x256097['getUser'](_0x21944b));}_0x3ab3ce['_update'](_0x4c148f,!0x0);}['buildRevisionData']({revision:_0x53310b=null,from:_0x1031c2=null,to:_0x25bf3d=null}){_0x1031c2=null!==_0x1031c2?_0x1031c2:_0x53310b['fromVersion'],_0x25bf3d=null!==_0x25bf3d?_0x25bf3d:_0x53310b['toVersion'];const _0x2c6372=this['_revisionDataBuilder']['getData'](_0x1031c2,_0x25bf3d),_0x32fcb0={'diffData':_0x2c6372['diffData'],'authorsIds':_0x2c6372['authorsIds'],'fromVersion':_0x1031c2,'toVersion':_0x25bf3d};if(!_0x53310b||_0x25bf3d!==_0x53310b['toVersion']){const _0x3e7c23=_0x25bf3d-0x1,_0x960fa0=this['_source']['history']['getOperation'](_0x3e7c23);_0x32fcb0['createdAt']=_0x960fa0&&_0x960fa0['createdAt']||new Date();}if(this['_loadedStateData']&&_0x1031c2===this['_loadedStateData']['fromVersion']){for(const _0x485c03 of this['_loadedStateData']['authors'])_0x32fcb0['authorsIds']['includes'](_0x485c03['id'])||_0x32fcb0['authorsIds']['push'](_0x485c03['id']);}return _0x32fcb0;}['_loadRevisionData'](_0x357060){if(!_0x357060||_0x357060['diffData'])return Promise['resolve']();{const _0x2fefd0=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2fefd0,'revisionId':_0x357060['id']})['then'](_0x3695c4=>{_0x357060['diffData']=_0x3695c4['diffData'];});}}['_bufferUpdate'](_0x541e3e,_0x5c3141,_0x2866b6){if(this['_bufferedUpdates']['has'](_0x541e3e)){const _0x2fb496=this['_bufferedUpdates']['get'](_0x541e3e);_0x5c3141=_0x2866b6?{..._0x2fb496,..._0x5c3141}:{..._0x5c3141,..._0x2fb496};}this['_bufferedUpdates']['set'](_0x541e3e,_0x5c3141);}['_getFromVersion'](_0x47517d){const _0x4add53=this['repository']['getRevisions']();_0x4add53['reverse'](),_0x4add53['shift']();const _0xc2133b=_0x4add53['find'](_0x5efc24=>_0x5efc24['toVersion']<=_0x47517d)['toVersion'];return _0xc2133b<this['_startingVersion']?this['_startingVersion']:_0xc2133b;}['_createInitialRevision'](_0xfe5e53){const _0x2209c8=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x2209c8)this['_initialRevisionId']=_0x2209c8['id'];else{const _0x3a75cd=!this['editor']['model']['document']['roots']['find'](_0x339e5b=>this['editor']['model']['hasContent'](_0x339e5b)),_0x51b74a=this['editor']['plugins']['get']('Users')['me']['id'],_0x3abb4e=y(this['editor']['locale'],_0x3a75cd?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0xfe5e53,'to':_0xfe5e53,'id':this['_initialRevisionId'],'name':_0x3abb4e,'creatorId':_0x51b74a});}}['_createCurrentRevision'](_0x286e97){const _0x8be0e0=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x8be0e0),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x286e97,'to':_0x286e97,'id':_0x8be0e0,'name':'','creatorId':null}));}['_makeRevision']({name:_0xa5da72,from:_0x3ea40a,to:_0x149f56,creatorId:_0x51d6af,id:_0x538ae7}){const _0x396801=this['buildRevisionData']({'from':_0x3ea40a,'to':_0x149f56});_0x396801['name']=_0xa5da72,_0x396801['creatorId']=_0x51d6af,_0x396801['id']=_0x538ae7;const _0xa5ea79=this['addRevisionData'](_0x396801);return this['adapter']&&this['_bufferUpdate'](_0x396801['id'],_0x396801,!0x0),_0xa5ea79;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x3a9b39){return(_0x3a9b39=_0x3a9b39['filter'](_0x3b232d=>!_0x3b232d['name']||'revision-start'!==_0x3b232d['name']&&'revision-end'!==_0x3b232d['name']))['forEach'](_0x3f1131=>{'string'!=typeof _0x3f1131&&(_0x3f1131['children']=this['_removeRevisionMarkers'](_0x3f1131['children']),_0x3f1131['attributes']=_0x3f1131['attributes']['filter'](_0x2858f4=>!_0x2858f4[0x0]['startsWith']('data-revision-')));}),_0x3a9b39;}constructor(_0x3db175){super(_0x3db175),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 _0x163b8d=_0x54ef88();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x163b8d},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'});}}function B(_0x1265f6,_0x3e335b){const _0x593250=_0x3e335b['editing']['view']['document'];if('string'==typeof _0x1265f6)return new _0x12a874(_0x593250,_0x1265f6);{const _0x426e8a=_0x1265f6['children']['map'](_0x35c798=>B(_0x35c798,_0x3e335b));return new(T[_0x1265f6['type']]||_0x59a104)(_0x593250,_0x1265f6['name'],_0x1265f6['attributes'],_0x426e8a);}}class J{['init'](_0x5eb813){this['source']=_0x5eb813;const _0x5ec848=new Map(),_0x7326cb=new Map(),_0x444a57=this['editor']['model']['document']['roots']['map'](_0x5167f5=>_0x5167f5['rootName']);for(const _0xc9680f of _0x444a57){const _0xf40e74=this['editor']['model']['document']['getRoot'](_0xc9680f),_0x24d7ae=q(_0xf40e74);_0x5ec848['set'](_0xc9680f,_0x24d7ae),_0x7326cb['set'](_0xc9680f,Object['fromEntries'](_0xf40e74['getAttributes']()));}const _0x51afa0=Array['from'](this['editor']['model']['markers'])['map'](_0xf026f0=>[_0xf026f0['name'],_0xf026f0['getRange']()]),_0x417414=this['source']['version'];this['_saveMetaData'](_0x417414,_0x5ec848,_0x51afa0,_0x7326cb),this['_startingRevisionId']=this['_revisionId'];const _0x3971a5=new Map(),_0x364468=new Map();for(const _0x2fd0e0 of _0x444a57){const _0x1e4b7a=G(_0x2fd0e0);_0x3971a5['set'](_0x2fd0e0,_0x1e4b7a),_0x364468['set'](_0x2fd0e0,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x3971a5,[],_0x364468);}['getData'](_0x4c5409,_0x32e7ae){if(this['_lastFrom']===_0x4c5409&&this['_lastTo']<=_0x32e7ae)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x32e7ae,!0x0);else{if(!this['_savedMetaData']['has'](_0x4c5409)){const _0x54a50b=this['_getPreviousFrom'](_0x4c5409);this['_calculateMetaData'](_0x54a50b,_0x4c5409,!0x1);}this['_calculateMetaData'](_0x4c5409,_0x32e7ae,!0x0);}return this['_lastFrom']=_0x4c5409,this['_lastTo']=_0x32e7ae,this['_getState']();}['loadState'](_0x2ef9e9){this['_reset'](),this['_lastFrom']=_0x2ef9e9['fromVersion'],this['_lastTo']=_0x2ef9e9['toVersion'];for(const _0x380de7 in _0x2ef9e9['diffData']){const _0x126a08=_0x2ef9e9['diffData'][_0x380de7]['attachChange'],_0xa1884c=_0x3557e9(_0x2ef9e9['diffData'][_0x380de7]['attributesBefore'])||{},_0x121c35=this['_makeModelFromViewString'](_0x2ef9e9['diffData'][_0x380de7]['deletions']);_0x121c35['rootName']=_0x380de7,_0x121c35['_isAttached']=!_0x126a08||!_0x126a08['isAttached'],_0x121c35['isAttached']=()=>_0x121c35['_isAttached'],this['_baseRoots']['set'](_0x380de7,_0x121c35),this['_baseRootsAttributes']['set'](_0x380de7,_0xa1884c),_0x126a08&&this['_touchedRoots']['set'](_0x380de7,_0x126a08);const _0x5eaf5c=this['_makeIdsRoot'](_0x121c35);this['_baseIdsRoots']['set'](_0x380de7,_0x5eaf5c);for(const [_0xac1794,_0x492d0f]of _0x121c35['markers']){if(!_0xac1794['startsWith']('revision:'))continue;const _0x19532b=_0xac1794['split'](':')[0x2];for(const _0x55ec8b of _0x492d0f['getWalker']({'singleCharacters':!0x0})){const _0xaab42=this['_getVidAttributeName'](_0x55ec8b),_0x455557='elementEnd'==_0x55ec8b['type']?_0x55ec8b['previousPosition']['path']['slice'](0x0,-0x1):_0x55ec8b['previousPosition']['path'],_0x560804=_0x5eaf5c['getNodeByPath'](_0x455557)['getAttribute'](_0xaab42);this['_touched']['set'](_0x560804,{'userId':_0x19532b});}}}this['_startingRevisionId']=this['_revisionId'];const _0x4779ef=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x3dc2e0=>!this['_touched']['has'](_0x3dc2e0));let _0x27501f=0x0;const _0x522a07=new Map();for(const _0x5e6c0c in _0x2ef9e9['diffData']){const _0x4edefb=_0x2ef9e9['diffData'][_0x5e6c0c]['attachChange'],_0xda278c=_0x3557e9(_0x2ef9e9['diffData'][_0x5e6c0c]['attributesAfter'])||{},_0x1dfd03=this['_makeModelFromViewString'](_0x2ef9e9['diffData'][_0x5e6c0c]['insertions']);_0x1dfd03['rootName']=_0x5e6c0c,_0x1dfd03['_isAttached']=!_0x4edefb||_0x4edefb['isAttached'],_0x1dfd03['isAttached']=()=>_0x1dfd03['_isAttached'],this['_diffRoots']['set'](_0x5e6c0c,_0x1dfd03),this['_diffRootsAttributes']['set'](_0x5e6c0c,_0xda278c);const _0xeefed6=this['_makeIdsRoot'](_0x1dfd03,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x5e6c0c,_0xeefed6),_0x522a07['set'](_0x5e6c0c,_0x1dfd03['isAttached']()?_0xda278c:{});for(const [_0x261787,_0x23be6e]of _0x1dfd03['markers']){if(!_0x261787['startsWith']('revision:'))continue;const _0x9492bc=_0x261787['split'](':')[0x2];for(const _0x104972 of _0x23be6e['getWalker']({'singleCharacters':!0x0})){const _0x187fb7=this['_getVidAttributeName'](_0x104972),_0xc4f26d=this['_revisionId']++,_0x3b2404='elementEnd'==_0x104972['type']?_0x104972['previousPosition']['path']['slice'](0x0,-0x1):_0x104972['previousPosition']['path'];_0xeefed6['getNodeByPath'](_0x3b2404)['_setAttribute'](_0x187fb7,_0xc4f26d),this['_touched']['set'](_0xc4f26d,{'userId':_0x9492bc});}}for(const _0x3cbf64 of this['editor']['model']['createRangeIn'](_0x1dfd03)['getWalker']({'singleCharacters':!0x0})){const _0x3acee1=this['_getVidAttributeName'](_0x3cbf64),_0x1aaf5e='elementEnd'==_0x3cbf64['type']?_0x3cbf64['previousPosition']['path']['slice'](0x0,-0x1):_0x3cbf64['previousPosition']['path'],_0x1ee910=_0xeefed6['getNodeByPath'](_0x1aaf5e);_0x1ee910['getAttribute'](_0x3acee1)>0x0||_0x1ee910['_setAttribute'](_0x3acee1,_0x4779ef[_0x27501f++]);}for(const [_0x2e6e9a,_0x198f86]of _0x1dfd03['markers'])_0x2e6e9a['startsWith']('revision:')||this['_markers']['set'](_0x2e6e9a,_0x198f86);}const _0x4db4fa=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x4db4fa),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4db4fa,0x1));const _0x14bd72=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x14bd72),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x14bd72,0x1));const _0x3da3d4=Array['from'](this['_diffRoots'])['map'](([_0x26602e,_0x19e5a3])=>[_0x26602e,q(_0x19e5a3)]);this['_saveMetaData'](this['_lastTo'],_0x3da3d4,this['_markers'],_0x522a07);}['_makeModelFromViewString'](_0x220f07){const _0x4eecb7=JSON['parse'](_0x220f07),_0x44534a=this['editor']['editing']['view']['document'],_0x5b940f=new _0xf057f0(_0x44534a,_0x4eecb7['map'](_0x502578=>B(_0x502578,this['editor'])));return this['editor']['data']['toModel'](_0x5b940f);}['_saveMetaData'](_0x5573b8,_0x279921,_0xce643a,_0x27c600){const _0x3d1ca9=new Map(_0x279921),_0x498c61=new Map(_0x3557e9(_0x27c600)),_0x3b4e6e=new Map();for(const [_0x5e1a7e,_0x304570]of _0xce643a)_0x3b4e6e['set'](_0x5e1a7e,{'start':_0x304570['start']['clone'](),'end':_0x304570['end']['clone'](),'rootName':_0x304570['root']['rootName']});this['_savedMetaData']['set'](_0x5573b8,{'roots':_0x3d1ca9,'markers':_0x3b4e6e,'rootsAttributes':_0x498c61});}['_removeMetaData'](_0xca1061){this['_savedMetaData']['delete'](_0xca1061);}['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'](_0xe8450b,_0x398128=null){let _0xe7c592=null;_0xe8450b['is']('documentFragment')||(_0xe7c592=new ft(_0xe8450b['name'],{'vid_start':null===_0x398128?this['_revisionId']++:_0x398128++}));const _0x3d003a=[];for(const _0x3eb61e of _0xe8450b['getChildren']())if(_0x3eb61e['is']('element')){_0x3d003a['push'](this['_makeIdsRoot'](_0x3eb61e,_0x398128));const _0x1743f1=_0x3d003a[_0x3d003a['length']-0x1];null!==_0x398128&&(_0x398128=_0x1743f1['is']('element','$text')?_0x1743f1['getAttribute']('vid')+0x1:_0x1743f1['getAttribute']('vid_end')+0x1);}else{for(let _0x1c2844=0x0;_0x1c2844<_0x3eb61e['offsetSize'];_0x1c2844++)_0x3d003a['push'](new ft('$text',{'vid':null===_0x398128?this['_revisionId']++:_0x398128++}));}if(_0xe8450b['is']('documentFragment')){const _0x56e354=G(_0xe8450b['rootName']);return _0x56e354['_insertChild'](0x0,_0x3d003a),_0x56e354;}return _0xe7c592['_setAttribute']('vid_end',null===_0x398128?this['_revisionId']++:_0x398128++),_0xe7c592['_insertChild'](0x0,_0x3d003a),_0xe7c592;}['_calculateMetaData'](_0x2d7bba,_0x205f52,_0x14eb9f){this['_reset']();const {roots:_0x385415,markers:_0x10f4e5,rootsAttributes:_0x1a86ce}=this['_savedMetaData']['get'](_0x2d7bba);this['_baseRoots']=new Map(_0x385415),this['_baseRootsAttributes']=new Map(_0x3557e9(_0x1a86ce));for(const [_0x4cfff8,_0x17ca5e]of this['_baseRoots'])if('$graveyard'!==_0x4cfff8&&(this['_diffRoots']['set'](_0x4cfff8,q(_0x17ca5e)),this['_diffRootsAttributes']=new Map(_0x3557e9(_0x1a86ce)),_0x14eb9f)){const _0x296b70=this['_revisionId'];this['_idsRoots']['set'](_0x4cfff8,this['_makeIdsRoot'](_0x17ca5e)),this['_baseIdsRoots']['set'](_0x4cfff8,this['_makeIdsRoot'](_0x17ca5e,_0x296b70));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x14eb9f&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x3aeb1b,_0xda9f17]of _0x10f4e5){const _0x1b87e9=this['_baseRoots']['get'](_0xda9f17['rootName']),_0x4c5cad=this['_diffRoots']['get'](_0xda9f17['rootName']),_0x575638=new vt(this['_fixPosition'](_0xda9f17['start'],_0x1b87e9),this['_fixPosition'](_0xda9f17['end'],_0x1b87e9)),_0x4d6d48=this['_fixRange'](_0x575638,_0x4c5cad);_0x1b87e9['markers']['set'](_0x3aeb1b,_0x575638),this['_markers']['set'](_0x3aeb1b,_0x4d6d48);}this['_applyOperations'](_0x2d7bba,_0x205f52,_0x14eb9f);}['_applyOperations'](_0xa70be6,_0x985ed4,_0x1c88f5){for(const _0x379439 of this['source']['getOperations'](_0xa70be6,_0x985ed4))this['_handleOperation'](_0x379439,_0x1c88f5);for(const _0x34261a of this['_diffRoots']['values']())_0x34261a['markers']['clear']();for(const [_0x12ddac,_0x3cfa7c]of this['_markers']){this['_diffRoots']['get'](_0x3cfa7c['root']['rootName'])['markers']['set'](_0x12ddac,_0x3cfa7c['clone']());}const _0x263e1e=new Map(),_0x2b0bf7=new Map();for(const [_0x27bf49,_0x470bd6]of this['_diffRoots'])_0x263e1e['set'](_0x27bf49,q(_0x470bd6)),_0x2b0bf7['set'](_0x27bf49,this['_diffRootsAttributes']['get'](_0x27bf49));this['_saveMetaData'](_0x985ed4,_0x263e1e,this['_markers'],_0x2b0bf7);}['_getPreviousFrom'](_0x35be64){const _0x531067=Array['from'](this['_savedMetaData']['keys']());_0x531067['sort']((_0x4735b3,_0x30f7c1)=>_0x4735b3-_0x30f7c1),_0x531067['reverse']();for(const _0x2d1b9b of _0x531067)if(_0x2d1b9b<_0x35be64)return _0x2d1b9b;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x3d82e4,_0x3f3658){const _0x5d2f0e=Array['from'](_0x3f3658['markers'])['map'](([_0x13c0e4,_0x22e790])=>[_0x13c0e4,this['_fixRange'](_0x22e790,_0x3d82e4)]);_0x3d82e4['markers']=new Map(_0x5d2f0e);}['_transformMarkers'](_0x5e28b1){for(const _0x3bae01 of this['_markers']['values']()){const _0x5b1743=_0x3bae01['getTransformedByOperation'](_0x5e28b1),_0x4103f3=vt['_createFromRanges'](_0x5b1743);_0x3bae01['start']=_0x4103f3['start'],_0x3bae01['end']=_0x4103f3['end'];}}['_handleOperation'](_0x4c2cd0,_0x46b6ae){if('addRoot'==_0x4c2cd0['type']||'detachRoot'==_0x4c2cd0['type'])return void this['_handleRootOperation'](_0x4c2cd0,_0x46b6ae);if('insert'==_0x4c2cd0['type']){const _0x6eedb4=_0x4c2cd0['position']['root']['rootName'];this['_diffRoots']['has'](_0x6eedb4)||(this['_diffRoots']['set'](_0x6eedb4,G(_0x6eedb4,!0x0)),this['_diffRootsAttributes']['set'](_0x6eedb4,{}),_0x46b6ae&&this['_idsRoots']['set'](_0x6eedb4,G(_0x6eedb4,!0x0)));}else{if('addRootAttribute'==_0x4c2cd0['type']||'removeRootAttribute'==_0x4c2cd0['type']||'changeRootAttribute'==_0x4c2cd0['type'])return void this['_handleRootAttributeOperation'](_0x4c2cd0);}const _0xb0e731=this['_cloneOperation'](_0x4c2cd0,this['_diffRoots']);if('marker'!==_0x4c2cd0['type']&&(_0xb0e731['_execute'](),this['_transformMarkers'](_0xb0e731)),_0x46b6ae)switch(_0xb0e731['type']){case'insert':this['_handleInsertOperation'](_0x4c2cd0);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x4c2cd0);break;case'merge':this['_handleMergeOperation'](_0x4c2cd0);break;case'split':this['_handleSplitOperation'](_0x4c2cd0);break;case'marker':this['_handleMarkerOperation'](_0x4c2cd0);}}['_cloneOperation'](_0x486660,_0x513ea9){const _0x60391e=_0x486660['clone']();return _0x60391e['_authorId']=_0x486660['_authorId'],this['_fixOperation'](_0x60391e,_0x513ea9),_0x60391e;}['_getBaseVids'](_0x4abb0c){return _0x4abb0c['map'](_0x4ee0a5=>{const _0x9a3df=this['_getVidAttributeName'](_0x4ee0a5);return Number(_0x4ee0a5['item']['getAttribute'](_0x9a3df));});}['_generateTape'](_0x5de34a,_0xfcb179){if(_0x5de34a['is']('element','$text'))_0xfcb179['push']({'item':_0x5de34a,'type':'text'});else{_0x5de34a['is']('element')&&_0xfcb179['push']({'item':_0x5de34a,'type':'elementStart'});for(const _0x4b508f of _0x5de34a['getChildren']())this['_generateTape'](_0x4b508f,_0xfcb179);_0x5de34a['is']('element')&&_0xfcb179['push']({'item':_0x5de34a,'type':'elementEnd'});}return _0xfcb179;}['_getState'](){const _0x250b61=new Map(this['_touched']),_0x44aa6c=new Map(_0x250b61),_0x55b4e9=new Map(),_0x577c92={'insertions':{},'deletions':{}},_0x16b940={'insertions':{},'deletions':{}},_0x12a243=new Map(),_0xea33ae=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0xea33ae['delete']('$graveyard');for(const _0x186acf of _0xea33ae){const _0x2928fb=this['_diffRoots']['get'](_0x186acf)||G(_0x186acf,!0x1),_0xa6804=this['_baseRoots']['get'](_0x186acf)||G(_0x186acf,!0x1);_0x2928fb['isAttached']()||_0xa6804['isAttached']()?(_0x577c92['insertions'][_0x186acf]=q(_0x2928fb),_0x577c92['deletions'][_0x186acf]=q(_0xa6804),this['_copyMarkers'](_0x577c92['deletions'][_0x186acf],_0xa6804),this['_copyMarkers'](_0x577c92['insertions'][_0x186acf],_0x2928fb),_0x16b940['insertions'][_0x186acf]=this['_generateTape'](this['_idsRoots']['get'](_0x186acf),[]),_0x16b940['deletions'][_0x186acf]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x186acf)||G(_0x186acf,!0x1),[])):_0xea33ae['delete'](_0x186acf);}for(const _0x8002fd of _0xea33ae){const _0x506761=_0x16b940['insertions'][_0x8002fd];for(const _0x1e1697 of _0x506761){const _0x1b0c37=this['_getVidAttributeName'](_0x1e1697),_0x42fc51=_0x1e1697['item']['getAttribute'](_0x1b0c37);_0x44aa6c['delete'](_0x42fc51),_0x42fc51>=this['_startingRevisionId']&&_0x55b4e9['set'](_0x42fc51,_0x250b61['get'](_0x42fc51));}}for(const _0x6d1350 of _0xea33ae){const _0x4c636c=_0x16b940['insertions'][_0x6d1350],_0x82193a=this['_getBaseVids'](_0x16b940['deletions'][_0x6d1350]);let _0x4f61c5=0x0;for(const _0x48543d of _0x4c636c){const _0xea16bf=this['_getVidAttributeName'](_0x48543d),_0x1237ad=_0x48543d['item']['getAttribute'](_0xea16bf);if(!_0x55b4e9['has'](_0x1237ad)&&!_0x12a243['has'](_0x1237ad)){if(_0x44aa6c['has'](_0x1237ad))_0x4f61c5++;else{if(_0x1237ad!=_0x82193a[_0x4f61c5]){const _0x5b2ec0=_0x250b61['get'](_0x1237ad)||_0x250b61['get'](_0x82193a[_0x4f61c5]);for(;_0x1237ad!=_0x82193a[_0x4f61c5];)_0x44aa6c['has'](_0x82193a[_0x4f61c5])||(_0x12a243['set'](_0x82193a[_0x4f61c5],_0x5b2ec0),_0x250b61['set'](_0x82193a[_0x4f61c5],_0x5b2ec0)),_0x4f61c5++;}_0x4f61c5++;}}}}for(const _0x31b740 of _0xea33ae){const _0xef100e=_0x16b940['insertions'][_0x31b740];for(const _0x34c841 of _0xef100e){const _0x289179=this['_getVidAttributeName'](_0x34c841),_0xe3a06f=_0x34c841['item']['getAttribute'](_0x289179);if(_0x12a243['has'](_0xe3a06f)){const _0x345b41=_0x12a243['get'](_0xe3a06f);_0x44aa6c['has'](_0xe3a06f)||_0x44aa6c['set'](_0xe3a06f,{..._0x345b41}),_0x55b4e9['set'](_0xe3a06f,{..._0x345b41});}}}for(const _0x4217b9 of _0x44aa6c['keys']())_0x4217b9>=this['_startingRevisionId']&&_0x44aa6c['delete'](_0x4217b9);const _0x48b30d=new Map();for(const _0x1380ed of _0xea33ae){let _0x8d5ea8=_0x16b940['insertions'][_0x1380ed];for(const _0x367298 of _0x8d5ea8)if(_0x367298['item']['is']('element','tableCell')){const _0x2b3805=this['_getVidAttributeName'](_0x367298),_0x30e6d0=_0x367298['item']['getAttribute'](_0x2b3805);if(_0x55b4e9['has'](_0x30e6d0)){const _0x56884c=_0x367298['item']['parent']['parent']['getAttribute']('vid_start'),_0x59bca4=_0x48b30d['get'](_0x56884c)||new Set();_0x59bca4['add'](_0x55b4e9['get'](_0x30e6d0)['userId']),_0x48b30d['set'](_0x56884c,_0x59bca4);}}_0x8d5ea8=_0x16b940['deletions'][_0x1380ed];for(const _0x213a0f of _0x8d5ea8)if(_0x213a0f['item']['is']('element','tableCell')){const _0x3e53f4=this['_getVidAttributeName'](_0x213a0f),_0x521c79=_0x213a0f['item']['getAttribute'](_0x3e53f4);if(_0x44aa6c['has'](_0x521c79)){const _0x48fc57=_0x213a0f['item']['parent']['parent']['getAttribute']('vid_start'),_0xe55cb=_0x48b30d['get'](_0x48fc57)||new Set();_0xe55cb['add'](_0x44aa6c['get'](_0x521c79)['userId']),_0x48b30d['set'](_0x48fc57,_0xe55cb);}}for(const _0xe19483 of _0x48b30d['keys']())(_0x55b4e9['has'](_0xe19483)||_0x44aa6c['has'](_0xe19483))&&_0x48b30d['delete'](_0xe19483);}for(const _0x51404f of _0xea33ae){const _0x305ba5=_0x16b940['insertions'][_0x51404f];let _0x4c4eb1=null,_0x977438=null;for(const _0xf2557f of _0x305ba5){const _0x3109c6=this['_getVidAttributeName'](_0xf2557f),_0x3e3d4b=_0xf2557f['item']['getAttribute'](_0x3109c6),_0x50b77d=_0x48b30d['get'](_0x3e3d4b);_0x50b77d&&'elementStart'==_0xf2557f['type']&&(_0x4c4eb1=Array['from'](_0x50b77d)[0x0],_0x977438=_0xf2557f['item']['getAttribute']('vid_end')),_0x4c4eb1&&(_0x44aa6c['set'](_0x3e3d4b,{'userId':_0x4c4eb1}),_0x55b4e9['set'](_0x3e3d4b,{'userId':_0x4c4eb1})),_0x3e3d4b==_0x977438&&(_0x4c4eb1=null,_0x977438=null);}}const _0x4a051b={},_0x2f2a1b=new Set();for(const _0x3d4782 of _0xea33ae){const _0x1641d2=_0x577c92['deletions'][_0x3d4782],_0x329637=_0x577c92['insertions'][_0x3d4782];for(const {userId:_0x4393c8}of this['_touchedMarkers']['values']())null!==_0x4393c8&&_0x2f2a1b['add'](_0x4393c8);for(const {userId:_0x5a463b}of this['_touchedRoots']['values']())null!==_0x5a463b&&_0x2f2a1b['add'](_0x5a463b);this['_markChanges'](_0x329637,_0x16b940['insertions'][_0x3d4782],_0x55b4e9,'insertion',_0x2f2a1b),this['_markChanges'](_0x1641d2,_0x16b940['deletions'][_0x3d4782],_0x44aa6c,'deletion',_0x2f2a1b),_0x4a051b[_0x3d4782]={'insertions':this['_prepareViewToSave'](_0x329637),'deletions':this['_prepareViewToSave'](_0x1641d2),'attachChange':this['_touchedRoots']['get'](_0x3d4782)||null,'attributesBefore':_0x3557e9(this['_baseRootsAttributes']['get'](_0x3d4782))||{},'attributesAfter':_0x3557e9(this['_diffRootsAttributes']['get'](_0x3d4782))};}return{'diffData':_0x4a051b,'authorsIds':Array['from'](_0x2f2a1b)};}['_processRootBeforeSave'](_0x585f0c){for(const [,_0x3624ab]of _0x585f0c['markers']){const _0x276930=_0x3624ab['start']['getAncestors']()['filter'](_0x8ad5dc=>'tableCell'==_0x8ad5dc['name']);for(const _0x29fc69 of _0x276930)0x1==_0x29fc69['childCount']&&_0x29fc69['getChild'](0x0)['is']('element','paragraph')&&_0x29fc69['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x5aebc1){this['_processRootBeforeSave'](_0x5aebc1);const _0x19c9dc=this['editor']['data']['toView'](_0x5aebc1,{}),_0x4d24e0=Array['from'](_0x19c9dc['getChildren']())['map'](_0x57b943=>this['_getViewJson'](_0x57b943));return JSON['stringify'](_0x4d24e0);}['_getViewJson'](_0x508897){if(_0x508897['is']('$text'))return _0x508897['data'];{const _0x36f0b1=_0x508897;return{'type':Object['keys'](T)['find'](_0x340e67=>_0x508897 instanceof T[_0x340e67]),'name':_0x36f0b1['name'],'attributes':Array['from'](_0x36f0b1['getAttributes']()),'children':Array['from'](_0x36f0b1['getChildren']())['map'](_0x1509bf=>this['_getViewJson'](_0x1509bf))};}}['_markChanges'](_0x2b5be1,_0x1bce75,_0x2808c8,_0xa2b9b9,_0x5d7e23){let _0x5d8092=null,_0x5a79e8=null,_0x5409d1=0x0;const _0x3cc426=this['editor']['model'];for(let _0x59c00f=0x0;_0x59c00f<_0x1bce75['length'];_0x59c00f++){const _0x39e689=this['_getVidAttributeName'](_0x1bce75[_0x59c00f]),_0x5b9187=_0x1bce75[_0x59c00f]['item']['getAttribute'](_0x39e689),_0x2286c1=_0x2808c8['get'](_0x5b9187),_0x5730f8=_0x59c00f==_0x1bce75['length']-0x1;(!_0x5d8092&&_0x2286c1&&(_0x5d8092=_0x2286c1,_0x5a79e8=_0x1bce75[_0x59c00f]),_0x5d8092&&(!_0x2286c1||_0x2286c1['userId']!=_0x5d8092['userId']))&&(_0x50298a(_0x2286c1,L(_0x5a79e8,_0x2b5be1,_0x3cc426),L(_0x1bce75[_0x59c00f],_0x2b5be1,_0x3cc426)),_0x5d8092=_0x2286c1||null,_0x5a79e8=_0x2286c1?_0x1bce75[_0x59c00f]:null),_0x5d8092&&_0x5730f8&&_0x50298a(_0x2286c1,L(_0x5a79e8,_0x2b5be1,_0x3cc426),W(_0x1bce75[_0x59c00f],_0x2b5be1,_0x3cc426));}function _0x50298a(_0xdcff73,_0x2567c6,_0x56254e){const _0x303661=_0x5d8092['userId'],_0x577702='revision:'+_0xa2b9b9+':'+_0x303661+':'+_0x5409d1++,_0x5e0f62=_0x3cc426['createRange'](_0x2567c6,_0x56254e);_0x2b5be1['markers']['set'](_0x577702,_0x5e0f62),null!==_0x303661&&_0x5d7e23['add'](_0x303661);}}['_getVidAttributeName'](_0x38c1cb){switch(_0x38c1cb['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x30b21d,_0x1bfc36){_0x30b21d['baseVersion']=null;for(const _0x329ffe in _0x30b21d){const _0x2f77e6=_0x30b21d[_0x329ffe];if(_0x2f77e6 instanceof gt){const _0x120e08=_0x1bfc36['get'](_0x2f77e6['root']['rootName']);_0x30b21d[_0x329ffe]=this['_fixPosition'](_0x2f77e6,_0x120e08);}if(_0x2f77e6 instanceof vt){const _0x737e6d=_0x1bfc36['get'](_0x2f77e6['root']['rootName']);_0x30b21d[_0x329ffe]=this['_fixRange'](_0x2f77e6,_0x737e6d);}'root'===_0x329ffe&&(_0x30b21d['root']=_0x1bfc36['get'](_0x30b21d['root']['rootName']));}}['_fixRange'](_0x2512bc,_0xfddab3){return this['editor']['model']['createRange'](this['_fixPosition'](_0x2512bc['start'],_0xfddab3),this['_fixPosition'](_0x2512bc['end'],_0xfddab3));}['_fixPosition'](_0x1dab7c,_0x4581b2){return this['editor']['model']['createPositionFromPath'](_0x4581b2,_0x1dab7c['path'],_0x1dab7c['stickiness']);}['_handleInsertOperation'](_0x437ddd){const _0x2fbdca=this['_idsRoots']['get'](_0x437ddd['position']['root']['rootName']),_0x5bda26=this['_fixPosition'](_0x437ddd['position'],_0x2fbdca),_0x388ebc=null===_0x437ddd['_authorId']?null:_0x437ddd['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3bb23e=_0x5bda26['parent'],_0x5b2f16=this['_revisionId'],_0x4b545d=[];for(const _0x12b80a of _0x437ddd['nodes'])if(_0x12b80a['is']('element'))_0x4b545d['push'](this['_makeIdsRoot'](_0x12b80a));else{for(let _0x381f5b=0x0;_0x381f5b<_0x12b80a['offsetSize'];_0x381f5b++)_0x4b545d['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0xe811e2=this['_revisionId'];for(let _0x320b07=_0x5b2f16;_0x320b07<_0xe811e2;_0x320b07++)this['_touched']['set'](_0x320b07,{'userId':_0x388ebc});_0x3bb23e['_insertChild'](_0x5bda26['offset'],_0x4b545d);}['_handleMoveOperation'](_0x3c3195){(_0x3c3195=this['_cloneOperation'](_0x3c3195,this['_idsRoots']))['_execute']();const _0x349fdd=null===_0x3c3195['_authorId']?null:_0x3c3195['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x184a08=_0x3c3195['getMovedRangeStart'](),_0x54c5b9=_0x184a08['parent'],_0x4210a6=_0x184a08['offset'];!function _0xd25475(_0x15d0b0,_0x19d8eb,_0x101883,_0x58f3f6){for(let _0x52fbea=_0x101883;_0x52fbea<_0x58f3f6;_0x52fbea++){const _0x2ab081=_0x19d8eb['getChild'](_0x52fbea);_0x2ab081['is']('element','$text')?_0x15d0b0['set'](_0x2ab081['getAttribute']('vid'),{'userId':_0x349fdd}):(_0x15d0b0['set'](_0x2ab081['getAttribute']('vid_start'),{'userId':_0x349fdd}),_0xd25475(_0x15d0b0,_0x2ab081,0x0,_0x2ab081['childCount']),_0x15d0b0['set'](_0x2ab081['getAttribute']('vid_end'),{'userId':_0x349fdd}));}}(this['_touched'],_0x54c5b9,_0x4210a6,_0x4210a6+_0x3c3195['howMany']);}['_handleMergeOperation'](_0xcc4488){const _0xf8dfe1=null===(_0xcc4488=this['_cloneOperation'](_0xcc4488,this['_idsRoots']))['_authorId']?null:_0xcc4488['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x31b5a5=_0xcc4488['targetPosition']['parent'],_0x9abb2e=_0xcc4488['sourcePosition']['parent'],_0x232ad3=_0x31b5a5['getAttribute']('vid_end'),_0x22332e=_0x9abb2e['getAttribute']('vid_start');_0x31b5a5['_setAttribute']('vid_end',_0x9abb2e['getAttribute']('vid_end')),_0x9abb2e['_setAttribute']('vid_end',_0x232ad3),this['_touched']['set'](_0x22332e,{'userId':_0xf8dfe1}),this['_touched']['set'](_0x232ad3,{'userId':_0xf8dfe1}),_0xcc4488['_execute']();}['_handleSplitOperation'](_0x5004a7){const _0x37ed4b=null===(_0x5004a7=this['_cloneOperation'](_0x5004a7,this['_idsRoots']))['_authorId']?null:_0x5004a7['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x12c853=_0x5004a7['graveyardPosition'],_0x5c04f6=_0x5004a7['splitPosition']['parent'];_0x5004a7['_execute']();const _0xe4ff45=_0x5c04f6['getAttribute']('vid_end'),_0x47e2ad=_0x5004a7['insertionPosition']['nodeAfter'];if(_0x12c853){const _0x2db0a3=_0x47e2ad['getAttribute']('vid_end'),_0x59a836=_0x5c04f6['getAttribute']('vid_end');_0x5c04f6['_setAttribute']('vid_end',_0x2db0a3),_0x47e2ad['_setAttribute']('vid_end',_0x59a836),this['_touched']['set'](_0x5c04f6['getAttribute']('vid_end'),{'userId':_0x37ed4b}),this['_touched']['set'](_0x47e2ad['getAttribute']('vid_start'),{'userId':_0x37ed4b});}else{const _0x2559a3=this['_revisionId']++,_0x4ac21d=this['_revisionId']++;_0x5c04f6['_setAttribute']('vid_end',_0x2559a3),_0x47e2ad['_setAttribute']('vid_start',_0x4ac21d),_0x47e2ad['_setAttribute']('vid_end',_0xe4ff45),this['_touched']['set'](_0x2559a3,{'userId':_0x37ed4b}),this['_touched']['set'](_0x4ac21d,{'userId':_0x37ed4b});}}['_handleMarkerOperation'](_0x5e21fe){if(!_0x5e21fe['affectsData'])return;const _0x25650c=(_0x5e21fe=this['_cloneOperation'](_0x5e21fe,this['_diffRoots']))['oldRange']?_0x5e21fe['oldRange']['root']:null,_0x4ff8f5=_0x5e21fe['newRange']?_0x5e21fe['newRange']['root']:null;_0x25650c&&this['_markers']['delete'](_0x5e21fe['name']),_0x4ff8f5&&this['_markers']['set'](_0x5e21fe['name'],_0x5e21fe['newRange']['clone']());const _0x3a6fc6=null===_0x5e21fe['_authorId']?null:_0x5e21fe['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1261f0=_0x5e21fe['name'];if(!this['_touchedMarkers']['has'](_0x1261f0))return void this['_touchedMarkers']['set'](_0x1261f0,{'range':_0x5e21fe['oldRange'],'userId':_0x3a6fc6});const _0x19a9e4=this['_touchedMarkers']['get'](_0x1261f0),_0x6f2b42=_0x19a9e4['range'],_0x45b5ef=_0x5e21fe['newRange'];null==_0x6f2b42&&null==_0x45b5ef||_0x6f2b42&&_0x45b5ef&&_0x6f2b42['isEqual'](_0x45b5ef)?this['_touchedMarkers']['delete'](_0x5e21fe['name']):_0x19a9e4['userId']=_0x3a6fc6;}['_handleRootOperation'](_0x3a625b,_0x17b582){this['_diffRoots']['has'](_0x3a625b['rootName'])?this['_diffRoots']['get'](_0x3a625b['rootName'])['_isAttached']=_0x3a625b['isAdd']:(this['_diffRoots']['set'](_0x3a625b['rootName'],G(_0x3a625b['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x3a625b['rootName'],{}),_0x17b582&&this['_idsRoots']['set'](_0x3a625b['rootName'],G(_0x3a625b['rootName'],!0x0)));const _0x12b36c=null===_0x3a625b['_authorId']?null:_0x3a625b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3cde6d=this['_touchedRoots']['get'](_0x3a625b['rootName']);_0x3cde6d&&_0x3cde6d['userId']===_0x12b36c?this['_touchedRoots']['delete'](_0x3a625b['rootName']):this['_touchedRoots']['set'](_0x3a625b['rootName'],{'userId':_0x12b36c,'isAttached':_0x3a625b['isAdd']});}['_handleRootAttributeOperation'](_0x1487b8){const _0x2147d7=this['_diffRootsAttributes']['get'](_0x1487b8['root']['rootName']);null===_0x1487b8['newValue']?delete _0x2147d7[_0x1487b8['key']]:_0x2147d7[_0x1487b8['key']]=_0x1487b8['newValue'];}constructor(_0x33a8b0){this['editor']=_0x33a8b0,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;}}function q(_0x128847){const _0x410517=G(_0x128847['rootName'],_0x128847['isAttached']());for(const _0x1d989a of _0x128847['getChildren']()){const _0x2266ed=_0x1d989a['_clone'](!0x0);_0x410517['_appendChild'](_0x2266ed);}return _0x410517;}function G(_0x40762e,_0x318f0b=!0x0){const _0x117f42=new wt();return _0x117f42['rootName']=_0x40762e,_0x117f42['_isAttached']=_0x318f0b,_0x117f42['isAttached']=()=>_0x117f42['_isAttached'],_0x117f42;}function L(_0x118989,_0x5f1157,_0xdff380){const _0x20a356='elementEnd'==_0x118989['type']?_0xdff380['createPositionAt'](_0x118989['item'],'end'):_0xdff380['createPositionBefore'](_0x118989['item']);return _0xdff380['createPositionFromPath'](_0x5f1157,_0x20a356['path'],_0x20a356['stickiness']);}function W(_0x1cc39d,_0x419fa0,_0x1a876a){const _0x1fa2b5='elementStart'==_0x1cc39d['type']?_0x1a876a['createPositionAt'](_0x1cc39d['item'],0x0):_0x1a876a['createPositionAfter'](_0x1cc39d['item']);return _0x1a876a['createPositionFromPath'](_0x419fa0,_0x1fa2b5['path'],_0x1fa2b5['stickiness']);}class ns extends _0x573185{['render'](){super['render'](),_0x5b994c({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x2478de=_0x431801=>_0x431801['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2478de),this['keystrokes']['set']('arrowleft',_0x2478de),this['keystrokes']['set']('arrowup',_0x2478de),this['keystrokes']['set']('arrowdown',_0x2478de);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x14992e){this['revisionNameInputView']['fieldView']['element']['value']=_0x14992e['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x407209){const _0x5b282e=new at(this['locale'],_0x35167b),_0x1f0bfd=_0x5b282e['fieldView'];_0x1f0bfd['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x38dbf4=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x407209&&(_0x38dbf4+='\x20('+y(this['locale'],'optional')+')'),(_0x5b282e['label']=_0x38dbf4,_0x1f0bfd['on']('input',()=>{this['revisionNameInputValue']=_0x1f0bfd['element']['value']['trim']();}),_0x5b282e);}constructor(_0x3520e1,_0x346929){super(_0x3520e1),this['focusTracker']=new _0x4a80f8(),this['keystrokes']=new _0x4037d2(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x346929),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}}class u extends _0x8588e3{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['init'](){const _0x28fc1=this['editor'],_0x28fbc2=_0x28fc1['plugins']['get']('RevisionTracker');_0x28fc1['ui']['componentFactory']['add']('revisionHistory',_0x1363aa=>{const _0x55ccfa=_0x3765c1(_0x1363aa),_0x264b15=_0x55ccfa['panelView']['children'],_0x2e6969=new te(_0x1363aa),_0x2fef18=new _0x4a7cd8(_0x1363aa),_0x488081=new _0x213cdd(_0x1363aa),_0x1df33c=new _0x4a7cd8(_0x1363aa),_0x2c493c=new _0x213cdd(_0x1363aa);return _0x55ccfa['bind']('isEnabled')['to'](_0x28fbc2,'isReady',_0x28fbc2,'isEnabled',_0x28fc1,'isReadOnly',(_0x3870bb,_0x1d145b,_0xeb02f4)=>_0x3870bb&&_0x1d145b&&!_0xeb02f4),_0x55ccfa['buttonView']['set']({'icon':_0x68655b['history'],'label':y(_0x1363aa,'Revision\x20history'),'tooltip':!0x0}),_0x488081['set']({'label':y(_0x1363aa,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x488081['bind']('isEnabled')['to'](_0x28fbc2,'isReady',_0x28fbc2,'isEnabled',_0x28fc1,'isReadOnly',(_0x56c56a,_0x1cff69,_0x3735f0)=>_0x56c56a&&_0x1cff69&&!_0x3735f0),_0x488081['on']('execute',()=>this['_showDialog']()),_0x2c493c['set']({'label':y(_0x1363aa,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x2c493c['bind']('isEnabled')['to'](_0x28fbc2,'isReady',_0x28fc1,'isReadOnly',(_0x3d4d30,_0x4d9b2d)=>_0x3d4d30&&!_0x4d9b2d),_0x2c493c['on']('execute',()=>{_0x28fc1['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x55ccfa['isOpen']=!0x1,_0x28fc1['editing']['view']['focus']();}),_0x2fef18['children']['add'](_0x488081),_0x1df33c['children']['add'](_0x2c493c),_0x2e6969['role']='menu',_0x2e6969['items']['addMany']([_0x2fef18,_0x1df33c]),_0x264b15['add'](_0x2e6969),_0x55ccfa;}),_0x28fc1['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x301010=this['editor'],_0x370934=_0x301010['locale'],_0x2852f5=new _0x255fdb(_0x370934),_0x3c1e99=new _0x23299e(_0x370934);_0x2852f5['buttonView']['set']({'icon':_0x68655b['history'],'label':y(_0x370934,'Revision\x20history')});const _0x3f203f=new _0x48a636(_0x370934,_0x2852f5),_0x27a77e=new _0x212d1d(_0x370934);_0x27a77e['set']({'label':y(_0x370934,'Save\x20current\x20revision')}),_0x27a77e['delegate']('execute')['to'](_0x2852f5),_0x27a77e['on']('execute',()=>{this['_showDialog']();}),_0x3f203f['children']['add'](_0x27a77e),_0x3c1e99['items']['add'](_0x3f203f);const _0xa5313c=new _0x48a636(_0x370934,_0x2852f5),_0x49c76e=new _0x212d1d(_0x370934);return _0x49c76e['set']({'label':y(_0x370934,'Open\x20revision\x20history')}),_0x49c76e['delegate']('execute')['to'](_0x2852f5),_0x49c76e['on']('execute',()=>{_0x301010['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0xa5313c['children']['add'](_0x49c76e),_0x3c1e99['items']['add'](_0xa5313c),_0x2852f5['panelView']['children']['add'](_0x3c1e99),_0x2852f5;}['_showDialog'](){const _0xdf048d=this['editor'],_0x237ae7=_0xdf048d['locale'],t=_0x237ae7['t'],_0x3756af=_0xdf048d['plugins']['get']('Dialog'),_0x1a1d56=_0xdf048d['plugins']['get']('RevisionTracker');function _0x2f9e8e(_0x1291f1){_0xdf048d['config']['get']('revisionHistory.requireRevisionName')&&''===_0x1291f1['revisionName']?_0x1291f1['revisionNameInputView']['errorText']=y(_0x237ae7,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0xdf048d['plugins']['get'](l)['saveRevision']({'name':_0x1291f1['revisionName']}),_0x3756af['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x2f9e8e(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x3756af['show']({'id':'findAndReplace','title':y(_0x237ae7,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x3756af['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0xb6bb10){_0xb6bb10['bind']('isEnabled')['to'](_0x1a1d56,'isReady',_0x1a1d56,'isEnabled',_0xdf048d,'isReadOnly',(_0x25aa05,_0x56e50e,_0x3c8616)=>_0x25aa05&&_0x56e50e&&!_0x3c8616);},'onExecute':()=>_0x2f9e8e(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x3ec377=this['editor'],_0x4ce833=_0x3ec377['locale'];this['_saveRevisionFormView']=new ns(_0x4ce833,_0x3ec377['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x573185{['focus'](){this['element']['focus']();}constructor(_0x6f26ce,_0x3c027d){super(_0x6f26ce),this['_model']=_0x3c027d,this['changeId']=_0x3c027d['id'];const _0x163a8f=this['bindTemplate'],_0x353554=y(_0x6f26ce,_0x3c027d['data']['isSuggestion']?'Suggested\x20by':'add'==_0x3c027d['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x3c027d['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x163a8f['to']('type',_0x241ded=>'ck-revision-change__'+_0x241ded)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x353554}]},{'text':'\x20'+_0x3c027d['author']['name']}]}]});}}class r extends _0x310650(){['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}constructor(_0xdd76a){super(),this['id']=_0xdd76a['id']||_0x54ef88(),this['author']=_0xdd76a['author'],this['type']=_0xdd76a['type'],this['data']=_0xdd76a['data']||{},this['rootName']=_0xdd76a['rootName'],this['set']('createdAt',_0xdd76a['createdAt']);}}class f{['_setChanges'](_0x2a87fe){for(const _0x1629a4 of _0x2a87fe)this['changes']['add'](_0x1629a4);}constructor(_0x51faed,_0x5e4b7f){this['newRevisionId']=_0x51faed,this['oldRevisionId']=_0x5e4b7f,this['changes']=new _0x18d01c();}}const tt={'c':_0x3d116a,'a':_0x34a71e,'e':_0x26d6f3,'r':_0x24a8e0,'u':_0x496772};class d extends _0x8588e3{static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x1f8bb3,_0x1dc021,A];}['init'](){const _0x2a27f9=this['editor'],_0x408e89=new bt(_0x2a27f9,{'direction':'backward'}),_0x4c881d=new bt(_0x2a27f9,{'direction':'forward'});(_0x2a27f9['commands']['add']('showPreviousChange',_0x408e89),_0x2a27f9['commands']['add']('showNextChange',_0x4c881d),_0x2a27f9['commands']['add']('restoreRevision',new yt(_0x2a27f9)),this['on']('change:numberOfChanges',()=>{_0x408e89['refresh'](),_0x4c881d['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x2a27f9['enableReadOnlyMode']('revision-viewer'),_0x2a27f9['plugins']['has']('WidgetToolbarRepository'))&&_0x2a27f9['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x2edec5){await this['loadRevisionData'](_0x2edec5);const _0x469fce={};for(const _0x437b53 in _0x2edec5['diffData']){if(_0x2edec5['diffData'][_0x437b53]['attachChange']&&!_0x2edec5['diffData'][_0x437b53]['attachChange']['isAttached'])continue;const _0x311007=this['_removeRevisionMarkers'](JSON['parse'](_0x2edec5['diffData'][_0x437b53]['insertions'])),_0xcdaea8=this['editor']['editing']['view']['document'],_0x1a49d9=new _0xf057f0(_0xcdaea8,_0x311007['map'](_0xf0f9e6=>this['_getViewObj'](_0xf0f9e6)));this['editor']['data']['processor']['useFillerType']('marked'),_0x469fce[_0x437b53]=this['editor']['data']['processor']['toData'](_0x1a49d9),this['editor']['data']['processor']['useFillerType']('default');}return _0x469fce;}async['getRevisionRootsAttributes'](_0x131d96){await this['loadRevisionData'](_0x131d96);const _0x56fab5={};for(const _0x416a0d in _0x131d96['diffData'])_0x131d96['diffData'][_0x416a0d]['attachChange']&&!_0x131d96['diffData'][_0x416a0d]['attachChange']['isAttached']||(_0x56fab5[_0x416a0d]=_0x131d96['diffData'][_0x416a0d]['attributesAfter']||{});return _0x56fab5;}['_removeRevisionMarkers'](_0x5b6572){return(_0x5b6572=_0x5b6572['filter'](_0x1ce127=>!_0x1ce127['name']||'revision-start'!==_0x1ce127['name']&&'revision-end'!==_0x1ce127['name']))['forEach'](_0x1ad5db=>{'string'!=typeof _0x1ad5db&&(_0x1ad5db['children']=this['_removeRevisionMarkers'](_0x1ad5db['children']),_0x1ad5db['attributes']=_0x1ad5db['attributes']['filter'](_0xa7e983=>!_0xa7e983[0x0]['startsWith']('data-revision-')));}),_0x5b6572;}async['compare'](_0x5e3a92,_0xefb543,_0x411347=!0x1){if(!this['isEnabled'])return;const _0x16df30=this['diff'],_0x1fedff=this['repository'],_0x4cd3db='string'==typeof _0x5e3a92?_0x1fedff['getRevision'](_0x5e3a92):_0x5e3a92,_0x161a85='string'==typeof _0xefb543?_0x1fedff['getRevision'](_0xefb543):_0xefb543,_0x199512=_0x4cd3db['id'],_0x2e41f5=_0x161a85?_0x161a85['id']:null;if(!_0x411347&&this['diff']&&this['diff']['newRevisionId']===_0x199512&&this['diff']['oldRevisionId']===_0x2e41f5)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x199512,_0x2e41f5);const _0xd96ddf=this['_getRevisionsRange'](_0x4cd3db,_0x161a85,!0x0)['map'](_0x2b5d17=>this['loadRevisionData'](_0x2b5d17));return _0xd96ddf['push'](new Promise(_0x2e5669=>{setTimeout(_0x2e5669,0x14);})),Promise['all'](_0xd96ddf)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x5772e9=this['_getDiff'](_0x199512,_0x2e41f5);for(const _0xdbc7d of _0x5772e9['changes'])this['_changeIdToChange']['set'](_0xdbc7d['id'],_0xdbc7d);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x997ee2=>{for(const _0x5f705f of this['editor']['model']['document']['getRootNames']())_0x997ee2['detachRoot'](_0x5f705f);for(const _0x1ad887 of Object['keys'](_0x5772e9['model'])){const _0x578c1e=_0x997ee2['addRoot'](_0x1ad887);for(const _0x153e1a of Object['keys'](_0x5772e9['attributes'][_0x1ad887]))_0x997ee2['setAttribute'](_0x153e1a,_0x5772e9['attributes'][_0x1ad887][_0x153e1a],_0x578c1e);_0x997ee2['insert'](_0x5772e9['model'][_0x1ad887],_0x578c1e,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x5772e9['changes'])),this['isReady']=!0x0;})['catch'](_0x4abaed=>{console['error'](_0x4abaed),this['_cleanUp'](),_0x16df30&&(this['diff']=_0x16df30),this['isReady']=!0x0;});}['addRevisionData'](_0x9be70,_0x530aca){const _0x10b4a8=this['repository']['createRevision'](_0x9be70);return _0x10b4a8['on']('_update',(_0x19d4f1,_0x437fa4,_0x2670ff)=>_0x530aca(_0x437fa4,_0x2670ff,_0x10b4a8)),this['repository']['addRevision'](_0x10b4a8),_0x10b4a8;}['loadRevisionData'](_0x27cf58){if(!_0x27cf58||_0x27cf58['diffData'])return Promise['resolve']();{const _0x216c63=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x216c63,'revisionId':_0x27cf58['id']})['then'](_0x2f512d=>{_0x27cf58['_update']({'diffData':_0x2f512d['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},_0x1f90a8=>{for(const _0x1fb9dd of this['editor']['model']['document']['getRootNames']())_0x1f90a8['detachRoot'](_0x1fb9dd);});}['_sortAndFilterDiffChanges'](_0x46594f){const _0x127014=[],_0x317c2b=new Map();for(const _0x4fc7d1 of this['editor']['model']['document']['getRootNames']()){const _0x3394d6=this['editor']['editing']['view']['getDomRoot'](_0x4fc7d1);if(!_0x3394d6)continue;const _0x1cca50=_0x3394d6['getClientRects']()['item'](0x0);_0x1cca50&&(_0x127014['push'](_0x4fc7d1),_0x317c2b['set'](_0x4fc7d1,_0x1cca50));}return _0x127014['sort']((_0x1fa78f,_0x17c62a)=>{const _0x5b44fd=_0x317c2b['get'](_0x1fa78f),_0x4a3880=_0x317c2b['get'](_0x17c62a);return _0x5b44fd['y']-_0x4a3880['y']||_0x5b44fd['x']-_0x4a3880['x'];}),(_0x46594f=_0x46594f['filter'](_0x323cb5=>_0x127014['includes'](_0x323cb5['rootName'])))['sort']((_0x309a78,_0x55cd55)=>_0x127014['indexOf'](_0x309a78['rootName'])-_0x127014['indexOf'](_0x55cd55['rootName'])),_0x46594f;}['_makeTape'](_0x1169b6){const _0x368eab=Array['from'](_0x1169b6['markers'])['filter'](([_0x184e1d,_0x3cfe9f])=>_0x184e1d['startsWith']('revision:')&&!_0x3cfe9f['isCollapsed']),_0x4afcd7=Array['from'](this['editor']['model']['createRangeIn'](_0x1169b6)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x368eab['length'])for(const _0xbd5ebc of _0x4afcd7){const [_0x520de4,_0x4c0a50]=_0x368eab[0x0],[,_0x167013,_0x163fce]=_0x520de4['split'](':');if(_0x4c0a50['end']['isEqual'](_0xbd5ebc['nextPosition'])&&_0x368eab['shift'](),(_0xbd5ebc['previousPosition']['isEqual'](_0x4c0a50['start'])||_0xbd5ebc['previousPosition']['isAfter'](_0x4c0a50['start']))&&('insertion'==_0x167013?_0xbd5ebc['isAdded']={'userId':_0x163fce}:'deletion'==_0x167013&&(_0xbd5ebc['isRemoved']={'userId':_0x163fce})),0x0==_0x368eab['length'])break;}return _0x4afcd7;}['_refreshStartEndIndex'](_0x514b74){const _0xc66255=new Map();for(let _0x118e73=0x0;_0x118e73<_0x514b74['length'];_0x118e73++)'text'===_0x514b74[_0x118e73]['type']?(_0x514b74[_0x118e73]['item']['startIndex']=_0x118e73,_0x514b74[_0x118e73]['item']['endIndex']=_0x118e73):('elementStart'===_0x514b74[_0x118e73]['type']?_0x514b74[_0x118e73]['item']['startIndex']=_0x118e73:'elementEnd'===_0x514b74[_0x118e73]['type']&&(_0x514b74[_0x118e73]['item']['endIndex']=_0x118e73),_0xc66255['set'](_0x514b74[_0x118e73]['id'],_0x118e73));for(const _0x4840ea of _0xc66255['values']())'elementStart'===_0x514b74[_0x4840ea]['type']?_0x514b74[_0x4840ea]['item']['endIndex']=_0xc66255['get'](_0x514b74[_0x4840ea]['pairId']):'elementEnd'===_0x514b74[_0x4840ea]['type']&&(_0x514b74[_0x4840ea]['item']['startIndex']=_0xc66255['get'](_0x514b74[_0x4840ea]['pairId']));}['_processTape'](_0x4a370c){for(let _0x15b0e6=0x0;_0x15b0e6<_0x4a370c['length'];_0x15b0e6++){if('elementStart'===_0x4a370c[_0x15b0e6]['type'])_0x4a370c[_0x15b0e6]['item']['startIndex']=_0x15b0e6;else{if('elementEnd'===_0x4a370c[_0x15b0e6]['type']){_0x4a370c[_0x15b0e6]['item']['endIndex']=_0x15b0e6;const _0x4a4709=_0x4a370c[_0x15b0e6]['item']['startIndex'];_0x4a370c[_0x4a4709]['pairId']=_0x4a370c[_0x15b0e6]['id'],_0x4a370c[_0x15b0e6]['pairId']=_0x4a370c[_0x4a4709]['id'];}else _0x4a370c[_0x15b0e6]['item']['startIndex']=_0x15b0e6,_0x4a370c[_0x15b0e6]['item']['endIndex']=_0x15b0e6,_0x4a370c[_0x15b0e6]['pairId']=null;}_0x4a370c[_0x15b0e6]['markersStart']||(_0x4a370c[_0x15b0e6]['markersStart']=[],_0x4a370c[_0x15b0e6]['markersEnd']=[]);}}['_markInsertions'](_0x3521f5,_0x30db45){const _0x8b256c=_0x3521f5['filter'](_0x9bc637=>!_0x9bc637['isAdded']);for(let _0x31fe66=0x0;_0x31fe66<_0x30db45['length'];_0x31fe66++)_0x30db45[_0x31fe66]['isAdded']&&(_0x8b256c[_0x31fe66]['isAdded']=_0x30db45[_0x31fe66]['isAdded']);}['_makeModelFromViewString'](_0x5eb916){const _0x3847b3=JSON['parse'](_0x5eb916),_0x45bb01=this['editor']['editing']['view']['document'],_0x1e883a=new _0xf057f0(_0x45bb01,_0x3847b3['map'](_0x899e04=>this['_getViewObj'](_0x899e04)));return this['editor']['data']['toModel'](_0x1e883a);}['_getViewObj'](_0x59ad25){const _0x3de61e=this['editor']['editing']['view']['document'];if('string'==typeof _0x59ad25)return new _0x12a874(_0x3de61e,_0x59ad25);{const _0x445b0a=_0x59ad25['children']['map'](_0x177a1e=>this['_getViewObj'](_0x177a1e));return new(tt[_0x59ad25['type']]||_0x59a104)(_0x3de61e,_0x59ad25['name'],_0x59ad25['attributes'],_0x445b0a);}}['_getDiff'](_0x85217e,_0x69c4f9=null){const _0x546255=this['repository']['getRevision'](_0x85217e),_0x2c353f=_0x69c4f9?this['repository']['getRevision'](_0x69c4f9):null,_0x1001ae=this['_getRevisionsRange'](_0x546255,_0x2c353f),_0x2b03be=_0x1001ae[_0x1001ae['length']-0x1],_0x284451=new Map(),_0x10145b={'model':{},'attributes':{},'changes':[]},_0x16dcf4=new Set(),_0x2b1d64=new Map();for(let _0x42851a=_0x1001ae['length']-0x1;_0x42851a>=0x0;_0x42851a--){const _0x3750a6=_0x1001ae[_0x42851a];for(const _0x296f76 of Object['keys'](_0x3750a6['diffData']))if(_0x3750a6['diffData'][_0x296f76]['attachChange']){const _0x55b278=_0x3750a6['diffData'][_0x296f76]['attachChange'];_0x55b278['isAttached']?(_0x16dcf4['add'](_0x296f76),_0x2b1d64['has'](_0x296f76)&&_0x2b1d64['get'](_0x296f76)['userId']==_0x55b278['userId']?_0x2b1d64['delete'](_0x296f76):_0x2b1d64['set'](_0x296f76,_0x55b278)):_0x2b1d64['has'](_0x296f76)?(_0x16dcf4['delete'](_0x296f76),_0x2b1d64['delete'](_0x296f76)):(_0x16dcf4['add'](_0x296f76),_0x2b1d64['set'](_0x296f76,_0x55b278));}else _0x16dcf4['add'](_0x296f76);}for(const _0x26e64a of _0x16dcf4){const _0x4c291f=_0x2b1d64['has'](_0x26e64a)&&!_0x2b1d64['get'](_0x26e64a)['isAttached'];let _0x41c7ca=_0x4c291f?_0x1001ae['length']-0x1:0x0;const _0x902bc8=_0x4c291f?-0x1:0x1;for(;_0x1001ae[_0x41c7ca];){const _0x1d04c6=_0x1001ae[_0x41c7ca];if(_0x1d04c6['diffData'][_0x26e64a]){const _0x361ef6=_0x4c291f?_0x1d04c6['diffData'][_0x26e64a]['attributesBefore']:_0x1d04c6['diffData'][_0x26e64a]['attributesAfter'];_0x10145b['attributes'][_0x26e64a]=_0x361ef6?_0x3557e9(_0x361ef6):{};break;}_0x41c7ca+=_0x902bc8;}}for(const _0x13e89b of _0x1001ae){_0x13e89b['model']={};for(const _0x30d8cc of _0x13e89b['authors'])_0x284451['set'](_0x30d8cc['id'],_0x30d8cc);for(const _0x2496a9 of _0x16dcf4){const _0x535a84=_0x13e89b['diffData'][_0x2496a9]?_0x13e89b['diffData'][_0x2496a9]['insertions']:'[]',_0x10e339=_0x13e89b['diffData'][_0x2496a9]?_0x13e89b['diffData'][_0x2496a9]['deletions']:'[]';_0x13e89b['model'][_0x2496a9]={'insertions':this['_makeModelFromViewString'](_0x535a84),'deletions':this['_makeModelFromViewString'](_0x10e339)};}}for(const _0x4bc5af of _0x16dcf4){let _0x3b215b=null,_0x13e9e4=0x0;const _0x5e4709=new Map(Array['from'](_0x546255['model'][_0x4bc5af]['insertions']['markers'])['filter'](([_0x34d760])=>!_0x34d760['startsWith']('revision:')));let _0x48234b=0x0;for(const _0x2f9f5d of _0x1001ae){const _0x13f0dd=this['_makeTape'](_0x2f9f5d['model'][_0x4bc5af]['insertions']);_0x2f9f5d==_0x546255?(_0x3b215b=_0x13f0dd,_0x13e9e4=_0x3b215b['length'],_0x3b215b['forEach'](_0xf72c62=>{_0xf72c62['id']=_0x48234b++;}),this['_processTape'](_0x3b215b)):this['_markInsertions'](_0x3b215b,_0x13f0dd);const _0x59034d=_0x3b215b['filter'](_0x4c1448=>!_0x4c1448['isAdded'])['map'](_0xdc161=>_0xdc161['id']);let _0x4454b3=0x0;const _0xb755a3=this['_makeTape'](_0x2f9f5d['model'][_0x4bc5af]['deletions']);_0xb755a3['forEach'](_0x3daf11=>{_0x3daf11['isRemoved']?_0x3daf11['id']=_0x13e9e4++:_0x3daf11['id']=_0x59034d[_0x4454b3++];}),this['_processTape'](_0xb755a3),this['_setDistance'](_0x3b215b,'isAdded'),this['_setDistance'](_0xb755a3,'isRemoved'),_0x2f9f5d==_0x546255&&this['_markMarkers'](_0x3b215b,_0x5e4709),_0x3b215b=this['_joinTapes'](_0x3b215b,_0xb755a3),this['_refreshStartEndIndex'](_0x3b215b),this['_setDistance'](_0x3b215b,'isRemoved');}_0x3b215b=_0x3b215b['filter'](_0x3860a6=>!(_0x3860a6['isAdded']&&_0x3860a6['isRemoved']));const _0x3f3bf8=new Map(_0x2b03be['model'][_0x4bc5af]['deletions']['markers']),_0x567c3d=new Set(_0x5e4709['keys']());for(const _0x5b0ec8 of _0x3f3bf8['keys']())_0x567c3d['delete'](_0x5b0ec8);this['_markSuggestions'](_0x3b215b,_0x567c3d),this['_fixObsoleteTags'](_0x3b215b),_0x3b215b=this['_removeMissingPairs'](_0x3b215b),_0x3b215b=this['_markMismatchedRemovedTags'](_0x3b215b),_0x3b215b=this['_removeUnsupportedChanges'](_0x3b215b);const {root:_0x39f823,changes:_0x303d55}=this['_makeModelFromTape'](_0x3b215b,_0x284451,_0x4bc5af);_0x10145b['model'][_0x4bc5af]=_0x39f823;const _0x179425=_0x2b1d64['get'](_0x4bc5af);if(_0x179425){const _0x27ac8b=_0x284451['get'](_0x179425['userId']),_0xd4e710=new r({'author':_0x27ac8b,'type':_0x179425['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x4bc5af});_0x303d55['unshift'](_0xd4e710),_0x10145b['attributes'][_0x4bc5af]['revisionHistoryAttachChange']=_0xd4e710['id'];}_0x10145b['changes']=_0x10145b['changes']['concat'](_0x303d55);}return _0x10145b;}['_markMarkers'](_0x2f38ed,_0x53774e){for(let _0x5e6571=0x0;_0x5e6571<_0x2f38ed['length'];_0x5e6571++)for(const [_0x149b3f,_0x41278e]of _0x53774e)_0x41278e['start']['isEqual'](_0x2f38ed[_0x5e6571]['previousPosition'])&&_0x2f38ed[_0x5e6571]['markersStart']['push'](_0x149b3f),_0x41278e['end']['isEqual'](_0x2f38ed[_0x5e6571]['nextPosition'])&&_0x2f38ed[_0x5e6571]['markersEnd']['push'](_0x149b3f);}['_joinTapes'](_0x1e15b1,_0xec74c5){let _0x2da37b=[],_0xb2a235=0x0,_0x4358a7=0x0;for(;_0xb2a235<_0x1e15b1['length']||_0x4358a7<_0xec74c5['length'];){const _0x276dc5=_0x1e15b1[_0xb2a235]||{},_0x595a60=_0xec74c5[_0x4358a7]||{};if(_0x276dc5['id']==_0x595a60['id'])_0xb2a235++,_0x4358a7++,_0x2da37b['push'](_0x276dc5);else{if(_0x595a60['isRemoved']&&_0x276dc5['isAdded']){const {commonTape:_0x3b2139,iEnd:_0x460dfd,jEnd:_0xceeb66}=this['_threeWayMerge'](_0x1e15b1,_0xb2a235,_0xec74c5,_0x4358a7);_0x2da37b=_0x2da37b['concat'](_0x3b2139),_0xb2a235=_0x460dfd,_0x4358a7=_0xceeb66;}else _0x595a60['isRemoved']?(_0x4358a7++,_0x2da37b['push'](_0x595a60)):(_0xb2a235++,_0x2da37b['push'](_0x276dc5));}}return _0x2da37b;}['_markSuggestions'](_0x3d288e,_0x3be8f5){const _0x4d187f=[];for(let _0x35354d=0x0;_0x35354d<_0x3d288e['length'];_0x35354d++){for(let _0x2ac158=0x0;_0x2ac158<_0x3d288e[_0x35354d]['markersStart']['length'];_0x2ac158++){const _0x280861=_0x3d288e[_0x35354d]['markersStart'][_0x2ac158];if(!_0x3be8f5['has'](_0x280861))continue;const {group:_0x584b12,type:_0x5d9d68,authorId:_0x3eed33}=_0x32c3ef(_0x280861);'revision-suggestion'!=_0x584b12||'insertion'!=_0x5d9d68&&'deletion'!=_0x5d9d68||(_0x4d187f['unshift']({'type':_0x5d9d68,'name':_0x280861,'userId':_0x3eed33}),_0x3d288e[_0x35354d]['markersStart']['splice'](_0x2ac158,0x1),_0x2ac158--);}_0x56728d(_0x3d288e[_0x35354d]);for(let _0x5bc462=0x0;_0x5bc462<_0x3d288e[_0x35354d]['markersEnd']['length'];_0x5bc462++){const _0xb49056=_0x3d288e[_0x35354d]['markersEnd'][_0x5bc462];if(!_0x3be8f5['has'](_0xb49056))continue;const {group:_0x5d4f75,type:_0x198109}=_0x32c3ef(_0xb49056);if('revision-suggestion'!=_0x5d4f75||'insertion'!=_0x198109&&'deletion'!=_0x198109)continue;_0x3d288e[_0x35354d]['markersEnd']['splice'](_0x5bc462,0x1),_0x5bc462--;const _0x5246e8=_0x4d187f['findIndex'](_0x21644a=>_0x21644a['name']==_0xb49056);_0x5246e8>-0x1&&_0x4d187f['splice'](_0x5246e8,0x1);}}function _0x32c3ef(_0x380369){const _0x2e805c=_0x380369['split'](':');return{'group':_0x2e805c[0x0],'type':_0x2e805c[0x1],'subType':_0x2e805c['length']>=0x5?_0x2e805c[0x2]:null,'id':_0x2e805c['length']<0x5?_0x2e805c[0x2]:_0x2e805c[0x3],'authorId':_0x2e805c['length']<0x5?_0x2e805c[0x3]:_0x2e805c[0x4],'markerCount':0x6==_0x2e805c['length']?_0x2e805c[0x5]:null};}function _0x56728d(_0x248bae){for(let _0xf4ca47=0x0;_0xf4ca47<_0x4d187f['length'];_0xf4ca47++){if(_0x248bae['isAdded']&&'insertion'==_0x4d187f[_0xf4ca47]['type'])return _0x248bae['isAddSuggestion']=_0x4d187f[_0xf4ca47],void delete _0x248bae['isAdded'];if(!_0x248bae['isAdded']&&!_0x248bae['isRemoved']&&'deletion'==_0x4d187f[_0xf4ca47]['type'])return void(_0x248bae['isRemoveSuggestion']=_0x4d187f[_0xf4ca47]);}}}['_setDistance'](_0x238782,_0x28b26f){let _0x4c8cb7=0x0,_0x3cc98d=!0x1;const _0xc7a2ef=new Map();for(const _0x3c373e of _0x238782)_0x3c373e[_0x28b26f]?_0x3cc98d&&(_0x4c8cb7++,_0x3cc98d=!0x1):(_0x4c8cb7++,_0x3cc98d=!0x0),_0xc7a2ef['set'](_0x3c373e['id'],_0x4c8cb7);for(let _0x5c3201=0x0;_0x5c3201<_0x238782['length'];_0x5c3201++){if('isRemoved'==_0x28b26f&&_0x238782[_0x5c3201]['isAdded']||'isAdded'==_0x28b26f&&_0x238782[_0x5c3201]['isRemoved'])continue;if('text'==_0x238782[_0x5c3201]['type']){_0x238782[_0x5c3201]['distance']=0x0;continue;}const _0xbeae13=_0xc7a2ef['get'](_0x238782[_0x5c3201]['pairId']),_0x673bb5=_0xc7a2ef['get'](_0x238782[_0x5c3201]['id']);_0x238782[_0x5c3201]['distance']=_0xbeae13-_0x673bb5;}}['_getRevisionsRange'](_0x40fda1,_0x5673c9,_0x3b0164=!0x1){const _0x98cc29=[];let _0x2eaadf=this['repository']['getIndex'](_0x40fda1),_0x35cf76=this['repository']['getIndex'](_0x5673c9);for(-0x1==_0x35cf76&&(_0x35cf76=this['repository']['_revisions']['length'],_0x3b0164=!0x1);_0x2eaadf<_0x35cf76;)_0x98cc29['push'](this['repository']['getRevision'](_0x2eaadf)),_0x2eaadf++;return _0x3b0164&&_0x98cc29['push'](this['repository']['getRevision'](_0x2eaadf)),_0x98cc29;}['_threeWayMerge'](_0x5228e7,_0x28b138,_0x34b6c8,_0x372c83){const _0x194dee=this['editor']['model']['schema'];let _0x21eb8f=_0x28b138;for(;_0x5228e7[_0x21eb8f]&&_0x5228e7[_0x21eb8f]['isAdded'];)_0x21eb8f++;let _0x4c299f=_0x372c83;for(;_0x34b6c8[_0x4c299f]&&_0x34b6c8[_0x4c299f]['isRemoved'];)_0x4c299f++;_0x20e58e(_0x5228e7,_0x28b138,_0x21eb8f),_0x20e58e(_0x34b6c8,_0x372c83,_0x4c299f);const _0x21453d=_0x34b6c8['slice'](_0x372c83,_0x4c299f)['concat'](_0x5228e7['slice'](_0x28b138,_0x21eb8f));return _0x21453d['sort']((_0x14c98b,_0x42ed27)=>_0x14c98b['side']!=_0x42ed27['side']?_0x14c98b['side']-_0x42ed27['side']:_0x14c98b['level']!=_0x42ed27['level']?_0x14c98b['level']-_0x42ed27['level']:_0x14c98b['distance']!=_0x42ed27['distance']?_0x42ed27['distance']-_0x14c98b['distance']:!!_0x14c98b['isAdded']!=!!_0x42ed27['isAdded']?-0x1==_0x14c98b['side']||0x0==_0x14c98b['side']?_0x14c98b['isAdded']?-0x1:0x1:_0x14c98b['isAdded']?0x1:-0x1:_0x14c98b['index']-_0x42ed27['index']),{'commonTape':_0x21453d,'iEnd':_0x21eb8f,'jEnd':_0x4c299f};function _0x20e58e(_0x4ca134,_0xfde7e5,_0x1f402b){let _0x389c3=-0x1,_0x2fadce=Number['POSITIVE_INFINITY'],_0x212d4f=!0x0;for(let _0xb136e4=_0xfde7e5;_0xb136e4<_0x1f402b;_0xb136e4++)if(_0x194dee['isInline'](_0x4ca134[_0xb136e4]['item'])||(_0x212d4f=!0x1),_0x4ca134[_0xb136e4]['item']['startIndex']<_0xfde7e5&&(_0x389c3=_0xb136e4),_0x4ca134[_0xb136e4]['item']['endIndex']>=_0x1f402b){_0x2fadce=_0xb136e4;break;}_0x212d4f&&(_0x389c3=_0x1f402b-0x1);for(let _0x3743ce=_0xfde7e5;_0x3743ce<_0x1f402b;_0x3743ce++)_0x4ca134[_0x3743ce]['side']=_0x3743ce<=_0x389c3?-0x1:_0x3743ce<_0x2fadce?0x0:0x1,_0x4ca134[_0x3743ce]['index']=_0x3743ce;let _0x33b8f3=0x0;for(let _0x565109=_0xfde7e5;_0x565109<=_0x389c3;_0x565109++)0x0==_0x4ca134[_0x565109]['distance']?_0x4ca134[_0x565109]['level']=_0x33b8f3:(_0x33b8f3++,_0x4ca134[_0x565109]['level']=_0x33b8f3,_0x33b8f3++);for(let _0x248012=_0xfde7e5;_0x248012<_0x1f402b;_0x248012++)0x0==_0x4ca134[_0x248012]['side']&&(_0x4ca134[_0x248012]['level']=_0x33b8f3);_0x33b8f3=0x0;for(let _0x31767a=_0x1f402b-0x1;_0x31767a>=_0x2fadce;_0x31767a--)0x0==_0x4ca134[_0x31767a]['distance']?_0x4ca134[_0x31767a]['level']=_0x33b8f3:(_0x33b8f3--,_0x4ca134[_0x31767a]['level']=_0x33b8f3,_0x33b8f3--);}}['_fixObsoleteTags'](_0x170d1a){const _0x210abd=new Map(),_0x4287ce=this['editor']['model']['schema'];for(let _0x21ec3b=0x1;_0x21ec3b<_0x170d1a['length'];_0x21ec3b++){let _0x5e653c,_0x313876,_0x666412;const _0x584113=_0x170d1a[_0x21ec3b],_0x253ed4=_0x170d1a[_0x21ec3b-0x1];if('text'==_0x584113['type'])continue;if(_0x584113['type']!=_0x253ed4['type'])continue;if(!_0x4287ce['isBlock'](_0x253ed4['item'])||_0x4287ce['isLimit'](_0x253ed4['item']))continue;if(!_0x4287ce['isBlock'](_0x584113['item'])||_0x4287ce['isLimit'](_0x584113['item']))continue;if((_0x170d1a[_0x21ec3b]['isAdded']||_0x170d1a[_0x21ec3b]['isAddSuggestion'])&&_0x170d1a[_0x21ec3b-0x1]['isRemoved'])_0x5e653c=_0x170d1a[_0x21ec3b],_0x313876=_0x170d1a[_0x21ec3b-0x1],_0x666412=_0x21ec3b-0x1;else{if(!_0x170d1a[_0x21ec3b]['isRemoved']||!_0x170d1a[_0x21ec3b-0x1]['isAdded']&&!_0x170d1a[_0x21ec3b-0x1]['isAddSuggestion'])continue;_0x5e653c=_0x170d1a[_0x21ec3b-0x1],_0x313876=_0x170d1a[_0x21ec3b],_0x666412=_0x21ec3b;}const _0x4e7117=_0x5e653c['level']==_0x313876['level'],_0x577a6b=Math['abs'](_0x5e653c['level'])<Math['abs'](_0x313876['level'])&&0x0==_0x313876['distance'];(_0x4e7117||_0x577a6b)&&(_0x210abd['set'](_0x313876['id'],_0x5e653c['id']),_0x170d1a['splice'](_0x666412,0x1),_0x21ec3b--,_0x5e653c['isAdded']=!0x1);}for(let _0x498cbe=0x0;_0x498cbe<_0x170d1a['length'];_0x498cbe++)_0x210abd['has'](_0x170d1a[_0x498cbe]['pairId'])&&(_0x170d1a[_0x498cbe]['pairId']=_0x210abd['get'](_0x170d1a[_0x498cbe]['pairId']));}['_removeMissingPairs'](_0x1557dc){const _0x47bd81=new Set(_0x1557dc['map'](_0x52e10f=>_0x52e10f['id']));for(let _0x47e0f5=0x0;_0x47e0f5<_0x1557dc['length'];_0x47e0f5++)_0x47bd81['has'](_0x1557dc[_0x47e0f5]['pairId'])||0x0==_0x1557dc[_0x47e0f5]['distance']||(_0x1557dc[_0x47e0f5]['isIncorrect']=!0x0);return _0x1557dc['filter'](_0x39ec49=>!_0x39ec49['isIncorrect']);}['_markMismatchedRemovedTags'](_0x1afad6){const _0x4f77b1=new Set();for(let _0x37f827=0x0;_0x37f827<_0x1afad6['length'];_0x37f827++){if(_0x4f77b1['has'](_0x1afad6[_0x37f827]['id'])&&_0x1afad6[_0x37f827]['isRemoved']&&(_0x1afad6[_0x37f827]['isIncorrect']=!0x0),_0x1afad6[_0x37f827]['isIncorrect'])continue;if(0x0==_0x1afad6[_0x37f827]['distance'])continue;if('elementStart'!=_0x1afad6[_0x37f827]['type'])continue;if(null==_0x1afad6[_0x37f827]['pairId'])continue;let _0x2d857c=_0x37f827+0x1,_0x19534c=0x0;for(;_0x1afad6[_0x2d857c]['id']!=_0x1afad6[_0x37f827]['pairId'];)'elementStart'==_0x1afad6[_0x2d857c]['type']?_0x19534c++:'elementEnd'==_0x1afad6[_0x2d857c]['type']&&_0x19534c--,_0x2d857c++;if(0x0!=_0x19534c){if(_0x1afad6[_0x37f827]['isRemoved'])_0x1afad6[_0x37f827]['isIncorrect']=!0x0;else{for(;_0x2d857c!=_0x37f827;)_0x1afad6[_0x2d857c]['isRemoved']&&0x0!=_0x1afad6[_0x2d857c]['distance']&&(_0x1afad6[_0x2d857c]['isIncorrect']=!0x0,_0x4f77b1['add'](_0x1afad6[_0x2d857c]['pairId'])),_0x2d857c--;}}}return _0x1afad6['filter'](_0x56e311=>!_0x56e311['isIncorrect']);}['_removeUnsupportedChanges'](_0x1f9252){const _0x47cc74=this['editor']['model']['schema'];for(let _0x380990=0x0;_0x380990<_0x1f9252['length'];_0x380990++){if(!(_0x1f9252[_0x380990]['isAdded']||_0x1f9252[_0x380990]['isAddSuggestion']||_0x1f9252[_0x380990]['isRemoved']||_0x1f9252[_0x380990]['isRemoveSuggestion']))continue;if(0x0==_0x1f9252[_0x380990]['distance'])continue;const _0x3fa2e7=_0x1f9252[_0x380990]['item'];_0x47cc74['isBlock'](_0x3fa2e7)||_0x47cc74['isLimit'](_0x3fa2e7)||(_0x1f9252[_0x380990]['isAdded']&&delete _0x1f9252[_0x380990]['isAdded'],_0x1f9252[_0x380990]['isAddSuggestion']&&delete _0x1f9252[_0x380990]['isAddSuggestion'],_0x1f9252[_0x380990]['isRemoveSuggestion']&&delete _0x1f9252[_0x380990]['isRemoveSuggestion'],_0x1f9252[_0x380990]['isRemoved']&&(_0x1f9252[_0x380990]['isIncorrect']=!0x0));}return _0x1f9252['filter'](_0xc0094b=>!_0xc0094b['isIncorrect']);}['_makeModelFromTape'](_0xfe7ef7,_0x204aa9,_0x18f1d4){const _0x520a36=new wt(),_0x38e5d2=[],_0x246b0d=new Map(),_0x5f2554=this['editor']['model'],_0x109183=_0x5f2554['schema'],_0x12776d=[_0x520a36],_0x2f062f={},_0x206ee0={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x1bf698=null;const _0x27359f=[0x0];for(let _0x258d48=0x0;_0x258d48<_0xfe7ef7['length'];_0x258d48++){let _0x1fa029,_0x1ae56b;if('elementStart'===_0xfe7ef7[_0x258d48]['type']){_0x1fa029=_0x5f2554['createPositionFromPath'](_0x520a36,_0x27359f);const _0x4eaeee=new ft(_0xfe7ef7[_0x258d48]['item']['name'],_0xfe7ef7[_0x258d48]['item']['getAttributes']());_0x12776d[0x0]['_appendChild'](_0x4eaeee),_0x27359f['push'](0x0),_0x12776d['unshift'](_0x4eaeee),_0x1ae56b=_0x5f2554['createPositionFromPath'](_0x520a36,_0x27359f),_0x1bf698=null;}else{if('elementEnd'===_0xfe7ef7[_0x258d48]['type'])_0x12776d['shift'](),_0x1fa029=_0x5f2554['createPositionFromPath'](_0x520a36,_0x27359f),_0x27359f['pop'](),_0x27359f[_0x27359f['length']-0x1]++,_0x1ae56b=_0x5f2554['createPositionFromPath'](_0x520a36,_0x27359f),_0x1bf698=null;else{if(_0x1fa029=_0x5f2554['createPositionFromPath'](_0x520a36,_0x27359f),_0x1bf698&&_0x18ad2(_0x1bf698,_0xfe7ef7[_0x258d48]['item']))_0x1bf698['_data']+=_0xfe7ef7[_0x258d48]['item']['data'];else{const _0x296df6=new _t(_0xfe7ef7[_0x258d48]['item']['data'],_0xfe7ef7[_0x258d48]['item']['getAttributes']());_0x12776d[0x0]['_appendChild'](_0x296df6),_0x1bf698=_0x296df6;}_0x27359f[_0x27359f['length']-0x1]+=_0xfe7ef7[_0x258d48]['item']['offsetSize'],_0x1ae56b=_0x5f2554['createPositionFromPath'](_0x520a36,_0x27359f);}}for(const _0x2fc3ce of _0xfe7ef7[_0x258d48]['markersStart'])_0x246b0d['set'](_0x2fc3ce,{'start':_0x1fa029,'end':null});_0x5fd0ac('isRemoveSuggestion',_0x258d48,_0x1fa029,_0x1ae56b),_0x5fd0ac('isAddSuggestion',_0x258d48,_0x1fa029,_0x1ae56b),_0x5fd0ac('isRemoved',_0x258d48,_0x1fa029,_0x1ae56b),_0x5fd0ac('isAdded',_0x258d48,_0x1fa029,_0x1ae56b);for(const _0x4d8bfa of _0xfe7ef7[_0x258d48]['markersEnd']){_0x246b0d['get'](_0x4d8bfa)['end']=_0x1ae56b;}}for(const [_0x1a6356,_0x220c00]of _0x246b0d){const _0x39feee=this['editor']['model']['createRange'](_0x220c00['start'],_0x220c00['end']);_0x520a36['markers']['set'](_0x1a6356,_0x39feee);}return _0x38e5d2['sort']((_0x2638e4,_0x57ea78)=>{const _0x5051e0=_0x520a36['markers']['get']('revision:'+_0x2638e4['id']),_0x4dfa64=_0x520a36['markers']['get']('revision:'+_0x57ea78['id']);return _0x5051e0['start']['isBefore'](_0x4dfa64['start'])?-0x1:_0x5051e0['start']['isAfter'](_0x4dfa64['start'])?0x1:_0x5051e0['end']['isBefore'](_0x4dfa64['end'])?-0x1:_0x5051e0['end']['isAfter'](_0x4dfa64['end'])?0x1:'add'===_0x2638e4['type']?-0x1:0x1;}),{'root':_0x520a36,'changes':_0x38e5d2};function _0x5fd0ac(_0x4392cb,_0x20c00d,_0x433e7e,_0x199433){const _0x437ab3=!!_0xfe7ef7[_0x20c00d][_0x4392cb],_0x360a4b=_0x437ab3?_0xfe7ef7[_0x20c00d][_0x4392cb]['userId']:null,_0x862cc5=_0x20c00d===_0xfe7ef7['length']-0x1,_0x577386=_0x206ee0[_0x4392cb][0x0],_0x2d6fdb=_0x109183['isObject'](_0xfe7ef7[_0x20c00d]['item']);!_0x2f062f[_0x4392cb]&&_0x437ab3?_0x2f062f[_0x4392cb]={'start':_0x433e7e,'tapeItem':_0xfe7ef7[_0x20c00d],'userId':_0x360a4b,'type':_0x4392cb}:_0x2f062f[_0x4392cb]&&!_0x437ab3?(_0x2f062f[_0x4392cb]['end']=_0x433e7e,_0x387255(_0x2f062f[_0x4392cb]),_0x2f062f[_0x4392cb]=null):_0x2f062f[_0x4392cb]&&_0x437ab3&&_0x2f062f[_0x4392cb]['userId']!==_0x360a4b&&(_0x2f062f[_0x4392cb]['end']=_0x433e7e,_0x577386&&_0x577386['userId']===_0x2f062f[_0x4392cb]['userId']||_0x387255(_0x2f062f[_0x4392cb]),_0x2f062f[_0x4392cb]={'start':_0x433e7e,'tapeItem':_0xfe7ef7[_0x20c00d],'userId':_0x360a4b,'type':_0x4392cb}),_0x2f062f[_0x4392cb]&&_0x2d6fdb&&('elementStart'!==_0xfe7ef7[_0x20c00d]['type']||_0x577386&&_0x577386['userId']===_0x360a4b||_0x206ee0[_0x4392cb]['unshift']({'userId':_0x360a4b,'object':_0xfe7ef7[_0x20c00d]['item'],'change':_0x2f062f[_0x4392cb]}),'elementEnd'===_0xfe7ef7[_0x20c00d]['type']&&_0x577386&&_0x577386['object']===_0xfe7ef7[_0x20c00d]['item']&&(_0x206ee0[_0x4392cb]['shift'](),_0x2f062f[_0x4392cb]=_0x577386['change'])),_0x2f062f[_0x4392cb]&&_0x862cc5&&(_0x2f062f[_0x4392cb]['end']=_0x199433,_0x387255(_0x2f062f[_0x4392cb]),_0x2f062f[_0x4392cb]=null);}function _0x387255({start:_0x226ec3,end:_0x2642e5,tapeItem:_0x326e80,userId:_0x5a2675,type:_0xeb0469}){const _0xe204ab=_0x326e80['item'],_0x28f887=_0x5f2554['schema']['isBlock'](_0xe204ab)&&!_0x5f2554['schema']['isLimit'](_0xe204ab),_0x1bdf84=_0x226ec3['nodeAfter']==_0x2642e5['parent']&&_0x2642e5['isAtStart'];if(_0x28f887&&_0x1bdf84)return;const _0x4c6bb0=_0x5f2554['createRange'](_0x226ec3,_0x2642e5),_0x390d47=_0x204aa9['get'](_0x5a2675),_0x4a0d7=new r({'author':_0x390d47,'type':'isAdded'==_0xeb0469||'isAddSuggestion'==_0xeb0469?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0xeb0469||'isRemoveSuggestion'==_0xeb0469},'createdAt':new Date(),'rootName':_0x18f1d4});_0x38e5d2['push'](_0x4a0d7),_0x520a36['markers']['set']('revision:'+_0x4a0d7['id'],_0x4c6bb0);}function _0x18ad2(_0xd8eeed,_0x5888c0){const _0x2a1fa7=_0xd8eeed['getAttributes'](),_0x8be969=_0x5888c0['getAttributes']();for(const _0xffbb92 of _0x2a1fa7){if(_0xffbb92[0x1]!==_0x5888c0['getAttribute'](_0xffbb92[0x0]))return!0x1;_0x8be969['next']();}return _0x8be969['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x76a593=>{const _0x1148f3=_0x76a593['markerName']['split'](':')[0x1],_0x2a410b=this['_getChangeFromId'](_0x1148f3);if(!_0x2a410b)return null;const _0xd2d963='add'==_0x2a410b['type']?'insertion':'deletion',_0x13c115=['ck-suggestion-marker','ck-suggestion-marker-'+_0xd2d963];return _0x2a410b['data']['isSuggestion']&&_0x13c115['push']('ck-suggestion-marker-'+_0xd2d963+'-new'),this['activeChange']==_0x2a410b&&_0x13c115['push']('ck-suggestion-marker--active'),{'classes':_0x13c115,'attributes':{'data-change-id':_0x1148f3}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x3d80a5=>{_0x3d80a5['on']('element:pre',(_0x4e95d0,_0x4f4f39,_0x308eec)=>{const _0x31ff85=_0x4f4f39['viewItem']['getChild'](0x0);if(!_0x31ff85||!_0x31ff85['is']('element','code'))return;if(!_0x308eec['consumable']['consume'](_0x31ff85,{'attributes':['vid_start','vid_end']}))return;const _0x4549b8=_0x4f4f39['modelRange']['start']['nodeAfter'];_0x308eec['writer']['setAttribute']('vid_start',_0x31ff85['getAttribute']('vid_start'),_0x4549b8),_0x308eec['writer']['setAttribute']('vid_end',_0x31ff85['getAttribute']('vid_end'),_0x4549b8);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x283676=>{_0x283676['on']('element',(_0x5f442f,_0xb76d95,_0x59db3b)=>{if(!_0x59db3b['consumable']['consume'](_0xb76d95['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0xb76d95['modelRange']['isCollapsed'])return;const _0x3a87a7=_0xb76d95['modelRange']['start']['nodeAfter'];_0x3a87a7['hasAttribute']('vid_start')||_0x3a87a7['hasAttribute']('vid')||(_0x59db3b['writer']['setAttribute']('vid_start',_0xb76d95['viewItem']['getAttribute']('vid_start'),_0x3a87a7),_0x59db3b['writer']['setAttribute']('vid_end',_0xb76d95['viewItem']['getAttribute']('vid_end'),_0x3a87a7));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x3c0257=>_0x3c0257['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x5283f0,[,_0x47c6fe])=>{['vid_start','vid_end','vid']['includes'](_0x47c6fe)&&(_0x5283f0['return']=!0x0,_0x5283f0['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x4b5c61=>{_0x4b5c61['on']('attribute:vid',(_0xde9ddc,_0x4b3e8f,_0x217737)=>{if('\x20'!=_0x4b3e8f['item']['data']||_0x4b3e8f['item']['parent']['maxOffset']>0x1)return;if(!_0x217737['consumable']['consume'](_0x4b3e8f['item'],_0xde9ddc['name']))return;const _0x24f1ba=_0x217737['writer'],_0x2666d0=_0x217737['mapper']['toViewRange'](_0x4b3e8f['range']);_0x24f1ba['wrap'](_0x2666d0,_0x24f1ba['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x7aa4a3){const _0xb20f61=_0x7aa4a3['plugins']['get']('RevisionViewer');return(_0x3a493d,_0x2eec6f,_0x31f896)=>{const _0x5bd62d=_0x2eec6f['markerName']['split'](':')[0x1],_0x1e23b2=_0xb20f61['_getChangeFromId'](_0x5bd62d);if(!_0x1e23b2)return null;const _0x4e08c4='add'==_0x1e23b2['type']?'split':'merge';if(!_0x31f896['consumable']['test'](_0x2eec6f['markerRange'],_0x3a493d['name']))return;const _0x6b169d=_0x2eec6f['markerRange']['getWalker'](),_0x2549f3=_0x2eec6f['markerRange']['start'],_0x19d41b=_0x7aa4a3['model']['schema'];let _0x80c294=null,_0xccaecf=null,_0x1388fc=!0x1,_0x415148=!0x1;for(const _0x27d150 of _0x6b169d){const _0x258e49=_0x27d150['item'];_0x1388fc=_0x1388fc||_0x19d41b['isContent'](_0x258e49);const _0x47c20d=_0x31f896['mapper']['toViewElement'](_0x258e49);if(_0x47c20d&&_0x47c20d['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x27d150['type']&&(_0x19d41b['isBlock'](_0x258e49)&&!_0x19d41b['isLimit'](_0x258e49)&&(_0x258e49['nextSibling']||_0x2549f3['isAtEnd']?_0x80c294&&_0x80c294['parent']==_0x258e49||(_0x80c294=_0x258e49,_0x5b0cf7(_0x27d150['previousPosition']),_0x415148=!0x0):_0xccaecf=_0xccaecf||_0x27d150['previousPosition']));}function _0x5b0cf7(_0x59239e){const _0x3a1d2f=_0x31f896['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4e08c4}),_0x4e7079=_0x31f896['mapper']['toViewPosition'](_0x59239e);_0x1e23b2['data']['isSuggestion']&&_0x31f896['writer']['addClass']('ck-suggestion-marker-'+_0x4e08c4+'-new',_0x3a1d2f),_0xb20f61['activeChange']==_0x1e23b2&&_0x31f896['writer']['addClass']('ck-suggestion-marker--active',_0x3a1d2f),_0x31f896['writer']['insert'](_0x4e7079,_0x3a1d2f),_0x31f896['mapper']['bindElementToMarker'](_0x3a1d2f,_0x2eec6f['markerName']);}_0x1388fc||_0x415148||!_0xccaecf||_0x5b0cf7(_0xccaecf);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x2ec6ba,_0x33b432,_0x41e2d9)=>{const _0x29a242=_0x41e2d9['mapper']['markerNameToElements'](_0x33b432['markerName']);if(_0x29a242){for(const _0x33fd40 of _0x29a242)(_0x33fd40['hasClass']('ck-suggestion-marker-split')||_0x33fd40['hasClass']('ck-suggestion-marker-merge'))&&(_0x41e2d9['mapper']['unbindElementFromMarkerName'](_0x33fd40,_0x33b432['markerName']),_0x41e2d9['writer']['remove'](_0x33fd40));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x176ca8,_0x26d490,_0x21161a)=>{const _0x5e6729=_0x26d490['markerName']['split'](':')[0x1],_0x4a50bc=this['_getChangeFromId'](_0x5e6729);if(!_0x4a50bc)return null;const _0x416ec0='add'==_0x4a50bc['type']?'split':'merge';if(_0x21161a['consumable']['test'](_0x26d490['markerRange'],_0x176ca8['name']))for(const _0x38be93 of _0x26d490['markerRange']['getItems']()){if(!_0x38be93['is']('element','softBreak'))continue;const _0x5a0a4e=_0x21161a['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x416ec0}),_0x4f00e3=_0x21161a['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x38be93));_0x4a50bc['data']['isSuggestion']&&_0x21161a['writer']['addClass']('ck-suggestion-marker-'+_0x416ec0+'-new',_0x5a0a4e),this['activeChange']==_0x4a50bc&&_0x21161a['writer']['addClass']('ck-suggestion-marker--active',_0x5a0a4e),_0x21161a['writer']['insert'](_0x4f00e3,_0x5a0a4e),_0x21161a['mapper']['bindElementToMarker'](_0x5a0a4e,_0x26d490['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x3d2d71=>{for(const _0x44e4b2 of this['editor']['model']['document']['getRootNames']()){const _0x460b6f=this['editor']['model']['document']['getRoot'](_0x44e4b2),_0x3b4275=this['editor']['editing']['view']['document']['getRoot'](_0x44e4b2);if(_0x3b4275){const _0x43611a=_0x460b6f['getAttribute']('revisionHistoryAttachChange');if(_0x3d2d71['removeAttribute']('data-change-id',_0x3b4275),_0x3d2d71['removeClass']('ck-revision-history-root-add',_0x3b4275),_0x3d2d71['removeClass']('ck-revision-history-root-remove',_0x3b4275),_0x3d2d71['removeClass']('ck-revision-history-root--active',_0x3b4275),_0x43611a){const _0xb54f7d=this['_getChangeFromId'](_0x43611a);if(!_0xb54f7d)return null;_0x3d2d71['setAttribute']('data-change-id',_0x43611a,_0x3b4275),_0x3d2d71['addClass']('ck-revision-history-root-'+_0xb54f7d['type'],_0x3b4275),this['activeChange']==_0xb54f7d&&_0x3d2d71['addClass']('ck-revision-history-root--active',_0x3b4275);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0xcd1ff1=>'revision-comment:'+_0xcd1ff1,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x284792=>'revision-suggestion:'+_0x284792,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x268b0b=>({'name':'suggestion:'+_0x268b0b,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x368ad3=>{const _0x1509c7=_0x368ad3['markerName']['split'](':')[0x1];return'insertion'!=_0x1509c7&&'deletion'!=_0x1509c7?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x1509c7]};}}),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',(_0x20bbd4,_0x3eeffc,_0x40f1d2)=>{const _0x2297c4=_0x40f1d2['mapper']['markerNameToElements'](_0x3eeffc['markerName']);if(_0x2297c4){for(const _0xc85f17 of _0x2297c4)_0xc85f17['is']('uiElement')&&(_0x40f1d2['mapper']['unbindElementFromMarkerName'](_0xc85f17,_0x3eeffc['markerName']),_0x40f1d2['writer']['remove'](_0xc85f17));}},{'priority':'high'});}['_getChangeFromId'](_0x3af0be){return this['_changeIdToChange']['get'](_0x3af0be);}['_getViewForChange'](_0xf586b){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0xf586b),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x53bbdd,_0xaa9e28,_0x4e5fae,_0x471cf5)=>{_0x471cf5&&this['_balloon']['remove'](_0x471cf5),_0x4e5fae&&(this['_balloon']['add']({'view':_0x4e5fae,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x580efc=this['editor']['editing'],_0x54c64f=this['_getChangeFromId'](_0x4e5fae['changeId']);let _0x208d6d;if(_0x54c64f['data']['isOnRoot']){const _0x325980=_0x580efc['view']['getDomRoot'](_0x54c64f['rootName']);_0x208d6d=Array['from'](_0x325980['getClientRects']());}else{const _0x35e9ef=this['editor']['model']['markers']['get']('revision:'+_0x4e5fae['changeId']);_0x208d6d=Array['from'](_0x580efc['mapper']['markerNameToElements'](_0x35e9ef['name']))['map'](_0x597bc7=>_0x580efc['view']['domConverter']['mapViewToDom'](_0x597bc7))['map'](_0x163402=>Array['from'](_0x163402['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x208d6d[0x0];return _0x208d6d['find'](_0x524372=>_0x524372['top']-0x3<=this['_activeViewTarget']['y']&&_0x524372['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x524372['left']-0x3<=this['_activeViewTarget']['x']&&_0x524372['right']+0x3>=this['_activeViewTarget']['x'])||_0x208d6d[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x2431ea,_0x5dd90b,_0x9c888,_0x3a9dc0)=>{this['activeView']=_0x9c888?this['_getViewForChange'](_0x9c888):null,this['editor']['model']['change'](()=>{const _0x4c197b=this['editor']['editing'];_0x3a9dc0&&(_0x3a9dc0['data']['isOnRoot']?_0x4c197b['view']['change'](_0x4f0ba9=>{_0x4f0ba9['removeClass']('ck-revision-history-root--active',_0x4c197b['view']['document']['getRoot'](_0x3a9dc0['rootName']));}):_0x4c197b['reconvertMarker']('revision:'+_0x3a9dc0['id'])),_0x9c888&&(_0x9c888['data']['isOnRoot']?_0x4c197b['view']['change'](_0x2cb00b=>{_0x2cb00b['addClass']('ck-revision-history-root--active',_0x4c197b['view']['document']['getRoot'](_0x9c888['rootName']));}):_0x4c197b['reconvertMarker']('revision:'+_0x9c888['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x50ed22,_0x534593)=>{if(this['activeChange'])return;const _0x1e6bb4=this['_findChangeIdFromDomTarget'](_0x534593['target']),_0x249901=this['_changeIdToChange']['get'](_0x1e6bb4);_0x249901?(this['_activeViewTarget']={'x':_0x534593['domEvent']['x'],'y':_0x534593['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x249901)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x3e90f7,_0x208c16)=>{const _0x5c3b18=this['_findChangeIdFromDomTarget'](_0x208c16['target']),_0x1c76ae=this['_changeIdToChange']['get'](_0x5c3b18);_0x1c76ae?(this['_activeViewTarget']={'x':_0x208c16['domEvent']['x'],'y':_0x208c16['domEvent']['y']},_0x1c76ae===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x1c76ae):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x31a3aa){do{const _0xcf6d6a=_0x31a3aa['getAttribute']('data-change-id');if(_0xcf6d6a)return _0xcf6d6a;_0x31a3aa=_0x31a3aa['parent'];}while(_0x31a3aa);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x638ad=>{for(const _0x20f995 of this['editor']['model']['markers'])_0x638ad['removeMarker'](_0x20f995);});}constructor(_0x4f407f){super(_0x4f407f),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',(_0x1bdb33,_0x1c449f,_0x18ab36)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x3fa18e=>{for(const _0x5ecf1f of this['editor']['editing']['view']['document']['roots'])_0x18ab36?_0x3fa18e['removeClass']('ck-editor__editable__overlay',_0x5ecf1f):_0x3fa18e['addClass']('ck-editor__editable__overlay',_0x5ecf1f);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x2ebf67=>null!==_0x2ebf67),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x2b1c87,_0x444a38,_0x3b4bc8)=>_0x2b1c87&&_0x3b4bc8?_0x444a38['changes']['getIndex'](_0x3b4bc8):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x3aab2c,_0x228454)=>_0x3aab2c?_0x228454['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x1dc021);}}function et(_0x520be7,_0x51e31a){return(_0x4e0fe1,_0x11ce91,_0x158a9b)=>{if(!_0x158a9b['consumable']['test'](_0x11ce91['markerRange'],_0x4e0fe1['name']))return;const _0x29d34c=_0x11ce91['markerRange']['getWalker'](),_0x32ae34=_0x11ce91['markerRange']['start'],_0x54dcc9=_0x520be7['model']['schema'];let _0x1d8ccd=null,_0x41bfe4=null,_0x309208=!0x1,_0x5898f8=!0x1;for(const _0x1d398f of _0x29d34c){const _0x41279a=_0x1d398f['item'];_0x309208=_0x309208||_0x54dcc9['isContent'](_0x41279a);const _0x5c8f62=_0x158a9b['mapper']['toViewElement'](_0x41279a);if(_0x5c8f62&&_0x5c8f62['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1d398f['type']&&(_0x54dcc9['isBlock'](_0x41279a)&&!_0x54dcc9['isLimit'](_0x41279a)&&(_0x41279a['nextSibling']||_0x32ae34['isAtEnd']?_0x1d8ccd&&_0x1d8ccd['parent']==_0x41279a||(_0x1d8ccd=_0x41279a,_0x31622b(_0x1d398f['previousPosition']),_0x5898f8=!0x0):_0x41bfe4=_0x41bfe4||_0x1d398f['previousPosition']));}function _0x31622b(_0x23f10d){const _0x492586=_0x158a9b['mapper']['toViewPosition'](_0x23f10d),_0x3ff0cc=_0x158a9b['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x51e31a});_0x158a9b['writer']['insert'](_0x492586,_0x3ff0cc),_0x158a9b['mapper']['bindElementToMarker'](_0x3ff0cc,_0x11ce91['markerName']);}_0x309208||_0x5898f8||!_0x41bfe4||_0x31622b(_0x41bfe4);};}class yt extends _0x4f29eb{['execute'](){const _0x4b123e=this['editor'],_0x2b22c3=_0x4b123e['plugins']['get'](d),_0x1de224=_0x2b22c3['isReady']?_0x2b22c3['diff']['newRevisionId']:null;_0x4b123e['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1de224);}['refresh'](){const {isReady:_0xede81b,isEnabled:_0x313d79}=this['editor']['plugins']['get'](d);this['isEnabled']=_0xede81b&&_0x313d79;}constructor(_0x29775e){super(_0x29775e);const _0x362973=_0x29775e['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x362973,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x362973,'change:isEnabled',()=>this['refresh']());}}class bt extends _0x4f29eb{['execute'](){const _0x3abdda=this['editor'],_0x5d37bd=_0x3abdda['plugins']['get'](d),{isNavigationMode:_0x45df14,currentChangeNumber:_0x26b4eb}=_0x5d37bd;let _0x2d0d3a;if(_0x5d37bd['activeChange']=_0x45df14?_0x5d37bd['diff']['changes']['get'](_0x26b4eb+this['_step']):_0x5d37bd['diff']['changes']['first'],_0x5d37bd['activeChange']['data']['isOnRoot'])_0x2d0d3a=_0x3abdda['editing']['view']['getDomRoot'](_0x5d37bd['activeChange']['rootName']);else{const _0x5eda12=_0x3abdda['model']['markers']['get']('revision:'+_0x5d37bd['activeChange']['id']);_0x2d0d3a=_0x4823e0(_0x3abdda['editing'],_0x5eda12);}_0x4d8b46({'target':_0x2d0d3a,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x4090f6,currentChangeNumber:_0x885100,numberOfChanges:_0x355a5e,isReady:_0x2dd62e,isEnabled:_0x185d2d}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x185d2d&&_0x2dd62e&&_0x355a5e)&&(!_0x4090f6||(0x1===this['_step']?_0x885100<_0x355a5e-0x1:_0x885100>0x0));}constructor(_0x4a5ae1,{direction:_0x52610b}){super(_0x4a5ae1);const _0x220a7a=_0x4a5ae1['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x52610b?0x1:-0x1,this['listenTo'](_0x220a7a,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x220a7a,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x220a7a,'change:activeChange',()=>this['refresh']());}}class _i extends _0x573185{constructor(_0x1293d5){super(_0x1293d5);const _0x4b7cef=this['bindTemplate'],_0x59eac4=new _0x213cdd(_0x1293d5),_0x503d9f=new _0x213cdd(_0x1293d5);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',(_0x32227c,_0x5aeaf5)=>_0x32227c&&_0x5aeaf5>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x4f8451,_0x356f4c,_0xc4dab0,_0x14efca)=>{if(!_0x4f8451)return y(_0x1293d5,'Loading...');if(!_0xc4dab0)return y(_0x1293d5,'No\x20changes');const _0x56ebde=y(_0x1293d5,'NUMBER_OF_CHANGES',_0xc4dab0);return _0x14efca?y(_0x1293d5,'X_OF_Y_CHANGES',[_0x356f4c+0x1,_0xc4dab0]):_0x56ebde;}),_0x59eac4['set']({'label':y(_0x1293d5,'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'}),_0x503d9f['set']({'label':y(_0x1293d5,'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'}),_0x59eac4['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x503d9f['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x59eac4['on']('execute',()=>this['fire']('execute','backward')),_0x503d9f['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',_0x4b7cef['if']('_isStatusLabelVisible','ck-hidden',_0x5363aa=>!_0x5363aa)]},'children':[{'text':_0x4b7cef['to']('isNavigationMode',_0x40b6cc=>_0x40b6cc?y(_0x1293d5,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x1293d5,'Total')+':\x20')}]},{'text':_0x4b7cef['to']('_statusText')}]},new _0x183af7(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x59eac4,_0x503d9f]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x8588e3{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x2c18c5=this['editor']['editing']['view'];_0x2c18c5['change'](_0x5d2540=>{for(const _0x1414f9 of _0x2c18c5['document']['roots'])_0x5d2540['addClass'](ce,_0x1414f9);});}['hide'](){const _0x2bf82a=this['editor']['editing']['view'];_0x2bf82a['change'](_0x1ec97f=>{for(const _0x280d32 of _0x2bf82a['document']['roots'])_0x1ec97f['removeClass'](ce,_0x280d32);});}}class R extends _0x8588e3{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x38176e=this['editor'],_0x1ed4fb=_0x38176e['plugins']['get'](d),_0x36cfc0=_0x38176e['plugins']['get'](de);_0x38176e['ui']['componentFactory']['add']('exitToEditing',_0x524018=>{const _0x42457d=new _0x213cdd(_0x524018);return _0x42457d['set']({'label':y(_0x524018,'Back\x20to\x20editing'),'icon':_0x68655b['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x42457d,'execute',()=>{_0x38176e['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x42457d;}),_0x38176e['ui']['componentFactory']['add']('restoreRevision',_0x5dd983=>{const _0x34dfd5=new _0x213cdd(_0x5dd983);return _0x34dfd5['set']({'label':y(_0x5dd983,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x34dfd5['bind']('isEnabled')['to'](_0x38176e['commands']['get']('restoreRevision')),this['listenTo'](_0x34dfd5,'execute',()=>_0x38176e['execute']('restoreRevision')),_0x34dfd5;}),_0x38176e['ui']['componentFactory']['add']('changesNavigation',_0x449d38=>{const _0x361edb=new _i(_0x449d38),_0x524555=_0x38176e['commands']['get']('showPreviousChange'),_0x47e789=_0x38176e['commands']['get']('showNextChange');return _0x361edb['bind']('isBackwardNavigationEnabled')['to'](_0x524555,'isEnabled'),_0x361edb['bind']('isForwardNavigationEnabled')['to'](_0x47e789,'isEnabled'),_0x361edb['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x1ed4fb),this['listenTo'](_0x361edb,'execute',(_0x1d5fca,_0x1b8594)=>{_0x38176e['execute']('forward'===_0x1b8594?'showNextChange':'showPreviousChange');}),_0x361edb;}),_0x36cfc0['show'](),_0x1ed4fb['on']('change:isReady',(_0x42f137,_0x55f640,_0x8139a0)=>{_0x8139a0?_0x36cfc0['hide']():_0x36cfc0['show']();});}}class kt extends at{['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 _0x48ccc5=this['fieldView']['element'];this['_tooltipString']=_0x48ccc5['scrollWidth']>_0x48ccc5['clientWidth']&&_0x48ccc5['value']||'';}constructor(_0xf2af70,_0x13c3f3){super(_0xf2af70,_0x13c3f3),this['_resizeObserver']=null;const _0x1be9be=this['bindTemplate'];this['set']({'label':y(_0xf2af70,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0xf2af70,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x1be9be['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}}class ti extends _0x573185{constructor(_0x5dfa32,_0x5c4296,_0x24a853){super(_0x5dfa32);const _0x556153=new _0x44ea2a();_0x556153['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 _0x4914af=['ck','ck-revision-history-sidebar__revision-author'];_0x24a853&&_0x4914af['push']('ck-revision-history-sidebar__revision-author_creator');const _0xd735a3=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x5dfa32,_0x24a853?'Revision\x20creator':'Revision\x20author')},'children':[_0x556153,_0x5c4296['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x4914af},'children':_0xd735a3});}}function ni(_0x214b2d,_0x42b729){const _0x262752=_0x214b2d['bindTemplate'],_0x490a4c=_0x214b2d['locale'],_0x57795e=_0x3765c1(_0x490a4c);_0x57795e['panelPosition']='sw';const _0x2c816b=function(_0x120c18,_0x145a46){const _0x304bf4=function(_0x596a8c,_0x1d71cf){const _0x3f6c41=_0x596a8c['locale'],_0x2b379e={'Compare\x20against\x20selected':y(_0x3f6c41,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x3f6c41,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x3f6c41,'Restore\x20this\x20revision')};return _0x1d71cf['map'](_0x244c5b=>{const _0x480986=_0x2b379e[_0x244c5b['name']];return _0x480986&&_0x480986!==_0x244c5b['name']&&(_0x244c5b['name']=_0x480986),_0x244c5b;});}(_0x120c18,_0x145a46),_0x3d8044=new _0x18d01c();for(const _0x4479e7 of _0x304bf4){const _0x54f0a1={'type':'button','model':new to({'label':_0x4479e7['name'],'class':_0x4479e7['class'],'withText':!0x0,'role':'menuitem','_action':_0x4479e7['action']})};_0x54f0a1['model']['bind']('isEnabled')['to'](_0x120c18,'isActionsDropdownOpen',_0xd88c0c=>'function'!=typeof _0x4479e7['isEnabled']||(!_0xd88c0c||_0x4479e7['isEnabled'](_0x120c18))),_0x3d8044['add'](_0x54f0a1);}return _0x3d8044;}(_0x214b2d,_0x42b729);return _0x214b2d['bind']('isActionsDropdownOpen')['to'](_0x57795e,'isOpen'),_0x57795e['buttonView']['set']({'label':y(_0x490a4c,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x68655b['threeVerticalDots']}),_0x57795e['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x262752['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x262752['to'](_0x4d917c=>_0x4d917c['stopPropagation']())}}),_0x57795e['on']('execute',_0x5a4ae4=>{_0x214b2d['isReady']&&'function'==typeof _0x5a4ae4['source']['_action']&&_0x5a4ae4['source']['_action'](_0x214b2d);}),_0x5c0093(_0x57795e,_0x2c816b,{'role':'menu'}),_0x57795e['listenTo'](_0x214b2d,'change:isActionsDropdownOpen',(_0x15acd2,_0x54a80f,_0x47f1c8)=>{if(_0x47f1c8)for(const _0x47957a of _0x57795e['listView']['items']){const _0x19d518=_0x47957a['children']['first'],_0x166817=_0x42b729['find'](_0x5c0c51=>_0x5c0c51['action']===_0x19d518['_action'])['isVisible'];_0x47957a['isVisible']=void 0x0===_0x166817||_0x166817(_0x214b2d);}}),_0x57795e;}class ai extends _0x196176(_0x573185){['render'](){super['render']();const _0x2ab8fc=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x2ab8fc,'change',()=>{this['_requireRevisionName']&&!_0x2ab8fc['value']||this['fire']('setName',{'id':this['id'],'name':_0x2ab8fc['value']}),_0x2ab8fc['value']||(_0x2ab8fc['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}constructor(_0x4e917a,_0x157abd,_0x171834,_0x5da781){super(_0x4e917a);const _0x38f69e=this['bindTemplate'],_0x14eb97=function(_0x1d3814,_0x46ac0a){const _0x5e375b=Array['from'](_0x46ac0a['authors'])['filter'](_0x3e0520=>_0x3e0520!=_0x46ac0a['creator']);return _0x46ac0a['creator']&&_0x5e375b['unshift'](_0x46ac0a['creator']),_0x5e375b['map'](_0x341624=>new ti(_0x1d3814,_0x341624,_0x341624==_0x46ac0a['creator']));}(_0x4e917a,_0x157abd);this['id']=_0x157abd['id'],this['_revision']=_0x157abd,this['_requireRevisionName']=_0x5da781,this['bind']('name','createdAt')['to'](_0x157abd),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x29bdee=>{return _0x33054f=_0x4e917a['uiLanguage'],(_0x312733=_0x29bdee)['toLocaleDateString'](_0x33054f,{'month':'long','day':'numeric'})+',\x20'+_0x312733['toLocaleTimeString'](_0x33054f,{'hour':'numeric','minute':'numeric'});var _0x33054f,_0x312733;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x4e917a,_0x35167b),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x2b00d5=>_0x2b00d5||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x445ea4,_0x4fd630)=>_0x445ea4&&_0x4fd630),this['revisionActionsView']=_0x171834&&_0x171834['length']?ni(this,_0x171834):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x38f69e['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x38f69e['if']('isEnabled','ck-disabled',_0x23e65d=>!_0x23e65d),_0x38f69e['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x38f69e['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x38f69e['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':_0x38f69e['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':_0x14eb97}]},this['revisionActionsView']],'on':{'click':_0x38f69e['to'](_0x4366ad=>{_0x4366ad['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}}function di(_0x14c908,_0x1f82d9){const _0x20ad52=_0x38580e['fromJSDate'](_0x14c908)['setLocale'](_0x1f82d9),_0x6d176e=_0x38580e['local'](),_0x5a5ddf=_0x6d176e['minus']({'days':0x1})['startOf']('day');let _0x12b0f3,_0x1cf69f;return _0x20ad52['hasSame'](_0x6d176e,'day')?(_0x12b0f3=_0x20ad52['startOf']('day')['toJSDate'](),_0x1cf69f=_0x20ad52['toRelativeCalendar']()):_0x20ad52['hasSame'](_0x5a5ddf,'day')?(_0x12b0f3=_0x5a5ddf['toJSDate'](),_0x1cf69f=_0x20ad52['toRelativeCalendar']()):_0x20ad52['hasSame'](_0x6d176e,'week')?(_0x12b0f3=_0x20ad52['startOf']('week')['toJSDate'](),_0x1cf69f=_0x20ad52['weekdayLong']||''):_0x20ad52['hasSame'](_0x6d176e,'year')?(_0x12b0f3=_0x20ad52['startOf']('month')['toJSDate'](),_0x1cf69f=_0x20ad52['monthLong']||''):(_0x12b0f3=_0x20ad52['startOf']('year')['toJSDate'](),_0x1cf69f=String(_0x20ad52['year'])),{'startDate':_0x12b0f3,'localizedPeriodName':_0x1cf69f};}class mi extends _0x573185{['addRevision'](_0x2cff62){const _0x2d0bc7=new ai(this['locale'],_0x2cff62,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x2d0bc7);}['removeRevision'](_0x334c2a){const _0x182c0f=this['revisionViews']['find'](_0x4a3bab=>_0x4a3bab['id']===_0x334c2a['id']);this['revisionViews']['remove'](_0x182c0f);}constructor(_0x10b316,_0x3eb223,_0x30a1be,_0x17057c){super(_0x10b316);const _0x3f7326=di(_0x3eb223,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x3eb223,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x30a1be,this['_requireRevisionName']=_0x17057c,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':_0x3f7326}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}}class as extends _0x573185{constructor(_0x1a9323){super(_0x1a9323);const _0x251ed4=new _0x44ea2a();_0x251ed4['content']=_0x68655b['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x251ed4,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x1a9323,'Revision\x20history')]}]});}}class ci extends _0x573185{['render'](){super['render']();for(const _0x279087 of this['_revisions'])this['_addRevision'](_0x279087);this['_revisions']['on']('add',(_0x20cc9e,_0x5a18de)=>{this['_addRevision'](_0x5a18de);}),this['_revisions']['on']('remove',(_0x99161e,_0x1dac3b)=>{this['_removeRevision'](_0x1dac3b);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x47a94b=>_0x47a94b['revisionViews']['map'](_0x4ab561=>_0x4ab561))['flat']();}['selectRevision'](_0x2947d3){for(const _0x517e14 of this['revisionViews'])_0x2947d3&&_0x2947d3['id']===_0x517e14['id']?_0x517e14['select']():_0x517e14['deselect']();}['highlightRevisions'](_0x3457d3){for(const _0x2adc6f of this['revisionViews'])_0x3457d3['some'](({id:_0x317f48})=>_0x317f48===_0x2adc6f['id'])?_0x2adc6f['highlight']():_0x2adc6f['unhighlight']();}['_addRevision'](_0x443674){const _0x358ffe=di(_0x443674['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x2d312a=this['timePeriodViews']['get'](0x0);_0x2d312a&&_0x2d312a['startDate']['getTime']()===_0x358ffe['getTime']()||(_0x2d312a=new mi(this['locale'],_0x358ffe,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x2d312a)),_0x2d312a['addRevision'](_0x443674);}['_removeRevision'](_0x3525e0){const _0x508842=di(_0x3525e0['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x508842)['removeRevision'](_0x3525e0);}['_getTimePeriodViewByStartDate'](_0x2f117a){return this['timePeriodViews']['find'](_0x18a641=>_0x18a641['startDate']['getTime']()===_0x2f117a['getTime']());}constructor(_0x576d65,_0x46c0e5,_0x498970,_0x5a6434){super(_0x576d65);const _0x4d5cf4=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x46c0e5,this['_revisionActions']=_0x498970,this['_requireRevisionName']=_0x5a6434,this['on']('select',(_0x1fcb12,_0x6c158a)=>{this['fire']('revisionSelected',_0x6c158a);}),this['on']('setName',(_0x28d27b,_0x593878)=>{this['fire']('revisionSetName',_0x593878);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x576d65),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x4d5cf4['if']('isEnabled','ck-disabled',_0x54bde6=>!_0x54bde6)]},'children':this['timePeriodViews']}]});}}class w extends _0x8588e3{static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}['init'](){const _0x302eeb=this['_revisionsRepository']['_revisions'],_0x4cda64=this['_createRevisionActions'](),_0x3f0bde=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x302eeb,_0x4cda64,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',(_0x2f1080,_0x41a968)=>{_0x41a968['revisionViews']['on']('add',(_0x2a5896,_0x476eaa)=>{_0x476eaa['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)),_0x3f0bde['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x1d279c=this['_revisionsRepository']['getRevision'](0x0);if(_0x1d279c){const _0x1bf104=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x1d279c['id']);this['_revisionViewer']['compare'](_0x1d279c,_0x1bf104);}}['_handleRevisionSelected'](_0x5aa189,_0x569174){const _0xce7694=this['_revisionsRepository']['getRevision'](_0x569174['id']),_0x3ce43a=this['_revisionsRepository']['getEarlierVisibleRevision'](_0xce7694['id']);this['_revisionViewer']['compare'](_0xce7694,_0x3ce43a);}['_handleRevisionSetName'](_0x1a780c,_0x46283a){this['_revisionsRepository']['getRevision'](_0x46283a['id'])['setName'](_0x46283a['name']);}['_handleDiffChange'](_0x331c01,_0x99c219,_0x5e89b9){const _0x174ed4=this['_revisionsRepository']['getRevisionsInDiff'](_0x5e89b9);_0x174ed4['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x174ed4),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x174ed4[0x0]));}['_createRevisionActions'](){const _0x52d97e=this['editor'],_0x4c7d80=w['availableRevisionActions'],_0x2b5ed9=_0x52d97e['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x2b5ed9['length'])return _0x2b5ed9['map'](_0x573532=>{const _0x5801bf='string'==typeof _0x573532?Object['assign']({},_0x4c7d80[_0x573532]):_0x573532;return _0x5801bf['action']=_0x5801bf['action']['bind'](this,_0x52d97e),_0x5801bf['isVisible']&&(_0x5801bf['isVisible']=_0x5801bf['isVisible']['bind'](this,_0x52d97e)),_0x5801bf;});}constructor(_0x1a1f75){super(_0x1a1f75),this['_revisionViewer']=_0x1a1f75['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x43e699},_0x2404b2)=>{const _0x123527=_0x43e699['get'](d),_0x22483c=_0x123527['repository'];let _0x2cdcdb=_0x123527['diff']['newRevisionId'],_0x5a7324=_0x2404b2['id'];_0x22483c['getIndex'](_0x2cdcdb)>_0x22483c['getIndex'](_0x5a7324)&&([_0x2cdcdb,_0x5a7324]=[_0x5a7324,_0x2cdcdb]),_0x123527['compare'](_0x2cdcdb,_0x5a7324);},'isVisible':({plugins:_0x1b5e56},_0x397e2f)=>{const _0x494707=_0x1b5e56['get'](d);return!(_0x494707['repository']['getRevisionsInDiff'](_0x494707['diff'])['length']>0x2)&&!_0x397e2f['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x3060d1,{id:_0x55ff4b})=>{_0x3060d1['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x55ff4b);},'isVisible':({plugins:_0x4775bd},_0x5ebf56)=>!!_0x4775bd['get'](d)['repository']['getLaterVisibleRevision'](_0x5ebf56['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x23a243},{id:_0x3399e1,revisionNameView:_0x387377})=>{const _0x1dc843=_0x23a243['get'](d),_0x55d3da=_0x1dc843['repository']['getEarlierVisibleRevision'](_0x3399e1);_0x1dc843['compare'](_0x3399e1,_0x55d3da),_0x387377['focus'](),_0x387377['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class st extends ht{get['view'](){return this['_view'];}get['element'](){return this['view']['element'];}['init'](_0x3e4948){const _0xf7835d=this['editor'],_0x5f114a=this['view'],_0x413acd=_0xf7835d['editing']['view'],_0x1dea74=_0x5f114a['editable'],_0x5ea8d1=_0x413acd['document']['getRoot']();_0x1dea74['name']=_0x5ea8d1['rootName'],_0x5f114a['render']();const _0x56d4a6=_0x1dea74['element'];this['setEditableElement'](_0x1dea74['name'],_0x56d4a6),_0x5f114a['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x413acd['attachDomRoot'](_0x56d4a6),this['_elementReplacer']['replace'](_0x3e4948,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x56c7a0=this['view'],_0x16c646=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x16c646['detachDomRoot'](_0x56c7a0['editable']['name']),_0x56c7a0['destroy']();}['_initToolbar'](){const _0x7d2eca=this['view'];_0x7d2eca['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x7d2eca['stickyPanel']['limiterElement']=_0x7d2eca['element'],_0x7d2eca['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x1a5289})=>_0x1a5289),_0x7d2eca['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x7d2eca['toolbar']);}constructor(_0xa634a1,_0x181212){super(_0xa634a1),this['_view']=_0x181212,this['_toolbarConfig']=ct(_0xa634a1['config']['get']('toolbar')),this['_elementReplacer']=new nt();}}class ot extends dt{get['editable'](){return this['_editable'];}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}constructor(_0x43d015,_0x5139a6,_0x22b7a7={}){super(_0x43d015),this['stickyPanel']=new lt(_0x43d015),this['toolbar']=new pt(_0x43d015,{'shouldGroupWhenFull':_0x22b7a7['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x43d015,_0x5139a6);}}class m extends rt(it){get['ui'](){return this['_ui'];}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x26d790,_0x460432){const _0x23f7e5=new this(_0x26d790,_0x460432);return await _0x23f7e5['initPlugins'](),await _0x23f7e5['ui']['init'](_0x26d790),await _0x23f7e5['data']['init'](_0x23f7e5['config']['get']('initialData')||''),_0x23f7e5['fire']('ready'),_0x23f7e5;}constructor(_0x310d62,_0x33e3eb){super(_0x33e3eb),this['sourceElement']=_0x310d62,this['model']['document']['createRoot']();const _0x15e966=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x15e966);}}const g=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x8588e3{static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x1d6cb2){super(_0x1d6cb2),this['result']='end';}}class H extends _0x8588e3{static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}set['adapter'](_0x2e1f59){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x2e1f59;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x408940){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x408940);}['getRevision'](_0x25e7bf){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x25e7bf);}['getRevisions'](_0x395f3d={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x395f3d);}['_getRevisionViewerEditorConfig'](){const _0x66acec=this['editor'],_0x4e2bc6=_0x170275(_0x66acec,g),_0x34036e=_0x66acec['plugins']['get']('RevisionTracker'),_0x3bf2e8=_0x66acec['plugins']['get']('Users')['users'];return _0x4e2bc6['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x4e2bc6['lazyRoots'],(_0x4e2bc6['plugins']['push'](k,d,R,class extends _0x8588e3{static get['requires'](){return[d,'Users'];}['init'](){const _0x6a4106=this['editor']['plugins']['get']('Users');for(const _0x47f936 of _0x3bf2e8)_0x47f936['isAnonymous']||_0x6a4106['getUser'](_0x47f936['id'])||_0x6a4106['addUser'](_0x47f936);const _0x372c3a=_0x34036e['repository']['getRevisions']();let _0x28ba12=null;const _0x4c338a=this['editor']['plugins']['get']('RevisionViewer');_0x4c338a['adapter']=_0x34036e['adapter'],_0x4c338a['bind']('isEnabled')['to'](_0x34036e),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x66acec,'isReadOnly',_0x18ab0b=>!_0x18ab0b);for(const _0x46ae93 of _0x372c3a){const _0x499844=null===_0x46ae93['creator'];if(_0x499844&&_0x46ae93['toVersion']===_0x46ae93['fromVersion'])continue;const _0x251adb=_0x46ae93['toJSON']();_0x4c338a['addRevisionData'](_0x251adb,(_0x19bb6c,_0x431ffa,_0x38e0b8)=>{if(_0x499844){if(_0x28ba12)_0x28ba12['_update'](_0x19bb6c,_0x431ffa);else{if(!_0x431ffa){const _0x2bc752=_0x38e0b8['toJSON']();_0x2bc752['id']=_0x54ef88(),_0x34036e['saveRevision'](_0x2bc752,_0x38e0b8['toVersion'])['then'](_0x3275ce=>{_0x28ba12=_0x3275ce;});}}}else _0x46ae93['_update'](_0x19bb6c,_0x431ffa);});}}},w),_0x4e2bc6);}['_enhanceShowRevisionViewerCallback'](){const _0x598ae8=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x239cc1=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x5673bd=this['editor']['plugins']['get']('Autosave');await _0x5673bd['save']();}else await _0x239cc1['update']();this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks']();const _0x2c4975=this['_getRevisionViewerEditorConfig']();return _0x598ae8(_0x2c4975)['then'](_0x5b9e12=>{return(this['_viewerEditor']=_0x5b9e12,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x5b9e12;})['catch'](_0x2ee336=>(console['error'](_0x2ee336),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x278617=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'](),_0x278617(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x190420=this['editor']['plugins']['get']('Annotations');_0x190420['refreshVisibility'](),_0x190420['refreshPositioning']();}})));}['_showRevisionViewer'](_0x5ca68d){const _0x36202e=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x4f411c=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x4d9e48=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x4d9e48,_0x5ca68d)['then'](_0x5e206a=>(_0x4f411c['style']['display']='block',_0x36202e['style']['display']='none',_0x5e206a));}['_closeRevisionViewer'](_0x4ae4a9){const _0x117bb1=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x117bb1['style']['display']='',_0x4ae4a9['destroy']();}async['_restoreRevision'](_0x2d5f52){const _0x469e00=this['editor'],_0x20fe61=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0xc52254=_0x469e00['plugins']['get']('RevisionTracker'),_0x2ea907=_0x20fe61['repository']['getRevision'](_0x2d5f52);let _0x4bb80a,_0x5b2837,_0xe6a98e;try{_0x4bb80a=await _0x20fe61['getRevisionData'](_0x2ea907),_0x5b2837=await _0x20fe61['getRevisionRootsAttributes'](_0x2ea907);}catch(_0x37c932){return void console['error'](_0x37c932);}_0x469e00['model']['change'](_0x41aee8=>{for(const _0x3cc2bb of Array['from'](_0x469e00['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x41aee8['removeMarker'](_0x3cc2bb);}),_0x20fe61['isReady']=!0x1,_0x469e00['model']['enqueueChange'](_0x152331=>{_0x152331['setSelection'](null),_0x152331['removeSelectionAttribute'](_0x469e00['model']['document']['selection']['getAttributeKeys']());const _0x457c52=Object['keys'](_0x4bb80a);for(const _0x4f9f2d of _0x469e00['model']['document']['roots'])'$graveyard'!=_0x4f9f2d['rootName']&&_0x4f9f2d['isAttached']()&&!_0x457c52['includes'](_0x4f9f2d['rootName'])&&_0x152331['detachRoot'](_0x4f9f2d);for(const _0x357b25 of _0x457c52){let _0x2413a2=_0x469e00['model']['document']['getRoot'](_0x357b25);_0x2413a2&&_0x2413a2['isAttached']()||(_0x2413a2=_0x152331['addRoot'](_0x357b25));const _0x48acb7=_0x5b2837[_0x357b25],_0xe17021=Object['keys'](_0x48acb7),_0x14e1b7=_0x4bb80a[_0x357b25];for(const _0x38ba43 of _0x2413a2['getAttributeKeys']())_0xe17021['includes'](_0x38ba43)||_0x152331['removeAttribute'](_0x38ba43,_0x2413a2);for(const _0x4c72f0 of _0xe17021)_0x152331['setAttribute'](_0x4c72f0,_0x5b2837[_0x357b25][_0x4c72f0],_0x2413a2);_0x152331['remove'](_0x152331['createRangeIn'](_0x2413a2)),_0x152331['insert'](_0x469e00['data']['parse'](_0x14e1b7,_0x2413a2),_0x2413a2,0x0);}});const _0x1237ff=y(_0x469e00['locale'],'Restored');if(_0x2ea907['name'])_0xe6a98e=-0x1==_0x2ea907['name']['indexOf'](_0x1237ff)?_0x1237ff+':\x20'+_0x2ea907['name']:_0x2ea907['name'];else _0xe6a98e=_0x1237ff+':\x20'+(_0x2ea907['createdAt']['toLocaleDateString'](_0x469e00['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x2ea907['createdAt']['toLocaleTimeString'](_0x469e00['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0xc52254['saveRevision']({'name':_0xe6a98e}),_0x20fe61['isReady']=!0x0,_0x469e00['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}constructor(_0x2ef773){if(super(_0x2ef773),!this['editor']['config']['get']('revisionHistory'))throw new _0x949364('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x1c4888=>this['_showRevisionViewer']({..._0x1c4888,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x8238e3=>this['_closeRevisionViewer'](_0x8238e3)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x1d5246=>this['_restoreRevision'](_0x1d5246)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}}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};