@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240612.0 → 0.0.0-nightly-20240613.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/az.js +1 -1
  8. package/dist/translations/az.umd.js +1 -1
  9. package/dist/translations/bg.js +1 -1
  10. package/dist/translations/bg.umd.js +1 -1
  11. package/dist/translations/bn.js +1 -1
  12. package/dist/translations/bn.umd.js +1 -1
  13. package/dist/translations/bs.js +1 -1
  14. package/dist/translations/bs.umd.js +1 -1
  15. package/dist/translations/ca.js +1 -1
  16. package/dist/translations/ca.umd.js +1 -1
  17. package/dist/translations/cs.js +1 -1
  18. package/dist/translations/cs.umd.js +1 -1
  19. package/dist/translations/da.js +1 -1
  20. package/dist/translations/da.umd.js +1 -1
  21. package/dist/translations/de-ch.js +1 -1
  22. package/dist/translations/de-ch.umd.js +1 -1
  23. package/dist/translations/de.js +1 -1
  24. package/dist/translations/de.umd.js +1 -1
  25. package/dist/translations/el.js +1 -1
  26. package/dist/translations/el.umd.js +1 -1
  27. package/dist/translations/en-au.js +1 -1
  28. package/dist/translations/en-au.umd.js +1 -1
  29. package/dist/translations/en-gb.js +1 -1
  30. package/dist/translations/en-gb.umd.js +1 -1
  31. package/dist/translations/en.umd.js +1 -1
  32. package/dist/translations/es-co.js +1 -1
  33. package/dist/translations/es-co.umd.js +1 -1
  34. package/dist/translations/es.js +1 -1
  35. package/dist/translations/es.umd.js +1 -1
  36. package/dist/translations/et.js +1 -1
  37. package/dist/translations/et.umd.js +1 -1
  38. package/dist/translations/fa.js +1 -1
  39. package/dist/translations/fa.umd.js +1 -1
  40. package/dist/translations/fi.js +1 -1
  41. package/dist/translations/fi.umd.js +1 -1
  42. package/dist/translations/fr.js +1 -1
  43. package/dist/translations/fr.umd.js +1 -1
  44. package/dist/translations/gl.js +1 -1
  45. package/dist/translations/gl.umd.js +1 -1
  46. package/dist/translations/he.js +1 -1
  47. package/dist/translations/he.umd.js +1 -1
  48. package/dist/translations/hi.js +1 -1
  49. package/dist/translations/hi.umd.js +1 -1
  50. package/dist/translations/hr.js +1 -1
  51. package/dist/translations/hr.umd.js +1 -1
  52. package/dist/translations/hu.js +1 -1
  53. package/dist/translations/hu.umd.js +1 -1
  54. package/dist/translations/id.js +1 -1
  55. package/dist/translations/id.umd.js +1 -1
  56. package/dist/translations/it.js +1 -1
  57. package/dist/translations/it.umd.js +1 -1
  58. package/dist/translations/ja.js +1 -1
  59. package/dist/translations/ja.umd.js +1 -1
  60. package/dist/translations/jv.js +1 -1
  61. package/dist/translations/jv.umd.js +1 -1
  62. package/dist/translations/ko.js +1 -1
  63. package/dist/translations/ko.umd.js +1 -1
  64. package/dist/translations/ku.js +1 -1
  65. package/dist/translations/ku.umd.js +1 -1
  66. package/dist/translations/lt.js +1 -1
  67. package/dist/translations/lt.umd.js +1 -1
  68. package/dist/translations/lv.js +1 -1
  69. package/dist/translations/lv.umd.js +1 -1
  70. package/dist/translations/ms.js +1 -1
  71. package/dist/translations/ms.umd.js +1 -1
  72. package/dist/translations/ne.js +1 -1
  73. package/dist/translations/ne.umd.js +1 -1
  74. package/dist/translations/nl.js +1 -1
  75. package/dist/translations/nl.umd.js +1 -1
  76. package/dist/translations/no.js +1 -1
  77. package/dist/translations/no.umd.js +1 -1
  78. package/dist/translations/pl.js +1 -1
  79. package/dist/translations/pl.umd.js +1 -1
  80. package/dist/translations/pt-br.js +1 -1
  81. package/dist/translations/pt-br.umd.js +1 -1
  82. package/dist/translations/pt.js +1 -1
  83. package/dist/translations/pt.umd.js +1 -1
  84. package/dist/translations/ro.js +1 -1
  85. package/dist/translations/ro.umd.js +1 -1
  86. package/dist/translations/ru.js +1 -1
  87. package/dist/translations/ru.umd.js +1 -1
  88. package/dist/translations/sk.js +1 -1
  89. package/dist/translations/sk.umd.js +1 -1
  90. package/dist/translations/sr-latn.js +1 -1
  91. package/dist/translations/sr-latn.umd.js +1 -1
  92. package/dist/translations/sr.js +1 -1
  93. package/dist/translations/sr.umd.js +1 -1
  94. package/dist/translations/sv.js +1 -1
  95. package/dist/translations/sv.umd.js +1 -1
  96. package/dist/translations/th.js +1 -1
  97. package/dist/translations/th.umd.js +1 -1
  98. package/dist/translations/ti.js +1 -1
  99. package/dist/translations/ti.umd.js +1 -1
  100. package/dist/translations/tk.js +1 -1
  101. package/dist/translations/tk.umd.js +1 -1
  102. package/dist/translations/tr.js +1 -1
  103. package/dist/translations/tr.umd.js +1 -1
  104. package/dist/translations/tt.js +1 -1
  105. package/dist/translations/tt.umd.js +1 -1
  106. package/dist/translations/ug.js +1 -1
  107. package/dist/translations/ug.umd.js +1 -1
  108. package/dist/translations/uk.js +1 -1
  109. package/dist/translations/uk.umd.js +1 -1
  110. package/dist/translations/ur.js +1 -1
  111. package/dist/translations/ur.umd.js +1 -1
  112. package/dist/translations/vi.js +1 -1
  113. package/dist/translations/vi.umd.js +1 -1
  114. package/dist/translations/zh-cn.js +1 -1
  115. package/dist/translations/zh-cn.umd.js +1 -1
  116. package/dist/translations/zh.js +1 -1
  117. package/dist/translations/zh.umd.js +1 -1
  118. package/package.json +5 -5
  119. package/src/changeitem.js +2 -2
  120. package/src/editor/revisionviewereditor.js +2 -2
  121. package/src/editor/revisionviewereditorui.js +1 -1
  122. package/src/editor/revisionviewereditoruiview.js +1 -1
  123. package/src/index.js +1 -1
  124. package/src/revision.js +2 -2
  125. package/src/revisiondiff.js +1 -1
  126. package/src/revisionhistory.js +1 -1
  127. package/src/revisionsrepository.js +1 -1
  128. package/src/revisiontracker.js +1 -1
  129. package/src/revisionviewer.js +1 -1
  130. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  131. package/src/ui/revision/revisionauthorview.js +1 -1
  132. package/src/ui/revision/revisionnameview.js +1 -1
  133. package/src/ui/revision/revisionview.js +2 -2
  134. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  135. package/src/ui/revision/subrevisionview.js +1 -1
  136. package/src/ui/revision/utils.js +1 -1
  137. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  138. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  139. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  140. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  141. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  142. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  143. package/src/ui/revisionssidebar/utils.js +1 -1
  144. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  145. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  146. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  147. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  148. package/src/utils/common-translations.js +1 -1
package/dist/index.js CHANGED
@@ -20,10 +20,10 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1b9d3f,Context as _0x325256,PendingActions as _0x27eae3,icons as _0x52d6db,Command as _0x5b6e62,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x3eb282,uid as _0x46006a,Collection as _0xc1d4ac,logWarning as _0x2bcc7c,FocusTracker as _0x4ceb66,KeystrokeHandler as _0xca6bcd,scrollViewportToShowTarget as _0x499ca6,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x9d2149}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x164fab,getMarkerDomElement as _0xe4d29,ConfirmMixin as _0x9c71d2,sanitizeEditorConfig as _0x36276e}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x1bfe34,ViewText as _0x1469cc,ViewElement as _0x4b2c33,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x52132d,ViewAttributeElement as _0x3b3816,ViewEmptyElement as _0x5099a0,ViewRawElement as _0x4bc8f7,ViewUIElement as _0x23155e,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x535306,set as _0x1cacd8,unset as _0x7b8a08,isEqual as _0x39c86d}from'lodash-es';import{View as _0x5547bb,injectCssTransitionDisabler as ts,submitHandler as _0x131628,LabeledFieldView as at,createLabeledInputText as _0x512977,createDropdown as _0x24a46d,ListView as te,ListItemView as _0x6a9581,ButtonView as _0x34f9fd,MenuBarMenuView as _0x57ae0a,MenuBarMenuListView as _0x580e46,MenuBarMenuListItemView as _0x1a65a0,MenuBarMenuListItemButtonView as _0x385c3f,ContextualBalloon as _0x50d74a,ToolbarSeparatorView as _0x18c46a,IconView as _0xc51bbc,addListToDropdown as _0x27e494,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 _0x45076b}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x3eb282(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x3794fe){super(),this['id']=_0x3794fe['id']||_0x46006a(),this['creator']=_0x3794fe['creator']||null,this['authors']=_0x3794fe['authors']||[],this['diffData']=_0x3794fe['diffData']||null,this['toVersion']=_0x3794fe['toVersion']||0x0,this['fromVersion']=_0x3794fe['fromVersion']||0x0,this['set']('name',_0x3794fe['name']||''),this['set']('createdAt',_0x3794fe['createdAt']||new Date()),this['set']('attributes',_0x3794fe['attributes']||{});}['setName'](_0xe7eb){this['_update']({'name':_0xe7eb});}['setAttribute'](_0x5835c1,_0x563a0e){const _0xec5782=_0x535306(this['attributes']);_0x1cacd8(_0xec5782,_0x5835c1,_0x563a0e),this['_update']({'attributes':_0xec5782});}['removeAttribute'](_0x2511a8){const _0x53a913=_0x535306(this['attributes']);_0x7b8a08(_0x53a913,_0x2511a8),this['_update']({'attributes':_0x53a913});}['_update'](_0x20d1b9,_0x3c1841=!0x1){let _0x254b1f=!0x1;const _0xa8af5={'id':this['id']},_0x1efec3=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x40ccca of _0x1efec3){const _0xb1d290=_0x20d1b9[_0x40ccca];void 0x0!==_0xb1d290&&_0xb1d290!==this[_0x40ccca]&&(this[_0x40ccca]=_0xb1d290,_0xa8af5[_0x40ccca]=_0xb1d290,_0x254b1f=!0x0);}_0x254b1f&&(_0xa8af5['authors']&&(_0xa8af5['authorsIds']=_0xa8af5['authors']['map'](_0x27deaa=>_0x27deaa['id']),delete _0xa8af5['authors']),this['fire']('_update',_0xa8af5,_0x3c1841));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x1bea82=>_0x1bea82['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x1b9d3f{['_revisions'];static get['requires'](){return[_0x164fab];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x446854){super(_0x446854),this['_revisions']=new _0xc1d4ac();}['afterInit'](){!function(_0x52e870){function _0x621968(_0x36526d,_0x4adebc,_0x1bc2e3){const _0x4d9a1c={};_0x4d9a1c[_0x4a54f5([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x4d9a1c[_0x4a54f5([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],_0x4d9a1c[_0x4a54f5([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],_0x4d9a1c[_0x4a54f5([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],_0x4d9a1c[_0x4a54f5([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],_0x4d9a1c[_0x4a54f5([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],_0x4d9a1c[_0x4a54f5([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],_0x4d9a1c[_0x4a54f5([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],_0x4d9a1c[_0x4a54f5([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],_0x4d9a1c[_0x4a54f5([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],_0x4d9a1c[_0x4a54f5([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 _0x596535=new Uint8Array(0x10);for(let _0x528b6b=0xf;_0x528b6b>=0x0;--_0x528b6b)_0x596535[_0x528b6b]=_0x1bc2e3%0x100,_0x1bc2e3=parseInt(_0x1bc2e3/0x100);let _0x25c3d0=null,_0xfdd14a=0x10;const _0x478a4b=new Uint8Array(_0x4adebc),_0x1a5710=[],_0x89642c=[];_0x42da7d();for(let _0x3f3878=0x0;_0x3f3878<_0x36526d[_0x4a54f5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f3878++)0x10===_0xfdd14a&&(_0x25c3d0=_0xeb1b45(_0x596535),_0xfdd14a=0x0,_0x279346(_0x596535)),_0x36526d[_0x3f3878]^=_0x25c3d0[_0xfdd14a++];return _0x36526d;function _0x47f2cd(_0x454fbd){const _0x374d70=[];for(let _0xaa1c95=0x0;_0xaa1c95<_0x454fbd[_0x4a54f5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xaa1c95+=0x4)_0x374d70[_0x4a54f5([0x70,0x75,0x73,0x68])](_0x454fbd[_0xaa1c95]<<0x18|_0x454fbd[_0xaa1c95+0x1]<<0x10|_0x454fbd[_0xaa1c95+0x2]<<0x8|_0x454fbd[_0xaa1c95+0x3]);return _0x374d70;}function _0x279346(_0x1e71cd){for(let _0x591e16=0xf;_0x591e16>=0x0;_0x591e16--){if(0xff!==_0x1e71cd[_0x591e16]){_0x1e71cd[_0x591e16]++;break;}_0x1e71cd[_0x591e16]=0x0;}}function _0xeb1b45(_0x188a6d){const _0x256965=_0x1a5710[_0x4a54f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x44a0d6=[0x0,0x0,0x0,0x0];let t=_0x47f2cd(_0x188a6d);for(let _0x747c3d=0x0;_0x747c3d<0x4;_0x747c3d++)t[_0x747c3d]^=_0x1a5710[0x0][_0x747c3d];for(let _0x3c25a7=0x1;_0x3c25a7<_0x256965;_0x3c25a7++){for(let _0x5c9056=0x0;_0x5c9056<0x4;_0x5c9056++)_0x44a0d6[_0x5c9056]=_0x4d9a1c[_0x4a54f5([0x54,0x31])][t[_0x5c9056]>>0x18&0xff]^_0x4d9a1c[_0x4a54f5([0x54,0x32])][t[(_0x5c9056+0x1)%0x4]>>0x10&0xff]^_0x4d9a1c[_0x4a54f5([0x54,0x33])][t[(_0x5c9056+0x2)%0x4]>>0x8&0xff]^_0x4d9a1c[_0x4a54f5([0x54,0x34])][0xff&t[(_0x5c9056+0x3)%0x4]]^_0x1a5710[_0x3c25a7][_0x5c9056];t=_0x44a0d6[_0x4a54f5([0x73,0x6c,0x69,0x63,0x65])]();}const _0x4fda38=new Uint8Array(0x10);let _0x40cec6;for(let _0x5b80a6=0x0;_0x5b80a6<0x4;_0x5b80a6++)_0x40cec6=_0x1a5710[_0x256965][_0x5b80a6],_0x4fda38[0x4*_0x5b80a6]=0xff&(_0x4d9a1c[_0x4a54f5([0x53])][t[_0x5b80a6]>>0x18&0xff]^_0x40cec6>>0x18),_0x4fda38[0x4*_0x5b80a6+0x1]=0xff&(_0x4d9a1c[_0x4a54f5([0x53])][t[(_0x5b80a6+0x1)%0x4]>>0x10&0xff]^_0x40cec6>>0x10),_0x4fda38[0x4*_0x5b80a6+0x2]=0xff&(_0x4d9a1c[_0x4a54f5([0x53])][t[(_0x5b80a6+0x2)%0x4]>>0x8&0xff]^_0x40cec6>>0x8),_0x4fda38[0x4*_0x5b80a6+0x3]=0xff&(_0x4d9a1c[_0x4a54f5([0x53])][0xff&t[(_0x5b80a6+0x3)%0x4]]^_0x40cec6);return _0x4fda38;}function _0x42da7d(){const _0x5caace=_0x4d9a1c[_0x4a54f5([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x478a4b[_0x4a54f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x1d82be=0x0;_0x1d82be<=_0x5caace;_0x1d82be++)_0x1a5710[_0x4a54f5([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x89642c[_0x4a54f5([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x1313c4=0x4*(_0x5caace+0x1),_0x5baeb5=_0x478a4b[_0x4a54f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x42a27a=_0x47f2cd(_0x478a4b);let _0x41b71c;for(let _0x24ea5a=0x0;_0x24ea5a<_0x5baeb5;_0x24ea5a++)_0x41b71c=_0x24ea5a>>0x2,_0x1a5710[_0x41b71c][_0x24ea5a%0x4]=_0x42a27a[_0x24ea5a],_0x89642c[_0x5caace-_0x41b71c][_0x24ea5a%0x4]=_0x42a27a[_0x24ea5a];let _0x3bec6c,_0x3e1a96=0x0,t=_0x5baeb5;for(;t<_0x1313c4;){_0x3bec6c=_0x42a27a[_0x5baeb5-0x1],_0x42a27a[0x0]^=_0x4d9a1c[_0x4a54f5([0x53])][_0x3bec6c>>0x10&0xff]<<0x18^_0x4d9a1c[_0x4a54f5([0x53])][_0x3bec6c>>0x8&0xff]<<0x10^_0x4d9a1c[_0x4a54f5([0x53])][0xff&_0x3bec6c]<<0x8^_0x4d9a1c[_0x4a54f5([0x53])][_0x3bec6c>>0x18&0xff]^_0x4d9a1c[_0x4a54f5([0x72,0x63,0x6f,0x6e])][_0x3e1a96]<<0x18,_0x3e1a96+=0x1;for(let _0x51f355=0x1;_0x51f355<_0x5baeb5/0x2;_0x51f355++)_0x42a27a[_0x51f355]^=_0x42a27a[_0x51f355-0x1];_0x3bec6c=_0x42a27a[_0x5baeb5/0x2-0x1],_0x42a27a[_0x5baeb5/0x2]^=_0x4d9a1c[_0x4a54f5([0x53])][0xff&_0x3bec6c]^_0x4d9a1c[_0x4a54f5([0x53])][_0x3bec6c>>0x8&0xff]<<0x8^_0x4d9a1c[_0x4a54f5([0x53])][_0x3bec6c>>0x10&0xff]<<0x10^_0x4d9a1c[_0x4a54f5([0x53])][_0x3bec6c>>0x18&0xff]<<0x18;for(let _0x7d74d0=_0x5baeb5/0x2+0x1;_0x7d74d0<_0x5baeb5;_0x7d74d0++)_0x42a27a[_0x7d74d0]^=_0x42a27a[_0x7d74d0-0x1];let _0x3900c0,_0x4e524d,_0x587993=0x0;for(;_0x587993<_0x5baeb5&&t<_0x1313c4;)_0x3900c0=t>>0x2,_0x4e524d=t%0x4,_0x1a5710[_0x3900c0][_0x4e524d]=_0x42a27a[_0x587993],_0x89642c[_0x5caace-_0x3900c0][_0x4e524d]=_0x42a27a[_0x587993++],t++;}for(let _0x35c5ca=0x1;_0x35c5ca<_0x5caace;_0x35c5ca++)for(let _0x8d4352=0x0;_0x8d4352<0x4;_0x8d4352++)_0x3bec6c=_0x89642c[_0x35c5ca][_0x8d4352],_0x89642c[_0x35c5ca][_0x8d4352]=_0x4d9a1c[_0x4a54f5([0x55,0x31])][_0x3bec6c>>0x18&0xff]^_0x4d9a1c[_0x4a54f5([0x55,0x32])][_0x3bec6c>>0x10&0xff]^_0x4d9a1c[_0x4a54f5([0x55,0x33])][_0x3bec6c>>0x8&0xff]^_0x4d9a1c[_0x4a54f5([0x55,0x34])][0xff&_0x3bec6c];}}function _0x4a54f5(_0x51d85d){return _0x51d85d['map'](_0x5a013b=>String['fromCharCode'](_0x5a013b))['join']('');}(_0x15380e=>{function _0x193440(){const _0x4a7bb4=[{[_0x4a54f5([0x69,0x64])]:0x1,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x4a54f5([0x69,0x64])]:0x2,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([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]),[_0x4a54f5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a54f5([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4a54f5([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4a54f5([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x4a54f5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a54f5([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4a54f5([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4a54f5([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4a54f5([0x69,0x64])]:0x3,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a54f5([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4a54f5([0x69,0x64])]:0x4,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([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]),[_0x4a54f5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a54f5([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4a54f5([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4a54f5([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4a54f5([0x69,0x64])]:0x5,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a54f5([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]),[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a54f5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a54f5([0x66,0x67,0x69])]:[0xc]}},{[_0x4a54f5([0x69,0x64])]:0x6,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a54f5([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a54f5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a54f5([0x66,0x67,0x69])]:[0xc]}},{[_0x4a54f5([0x69,0x64])]:0x7,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a54f5([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a54f5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a54f5([0x66,0x67,0x69])]:[0xc]}},{[_0x4a54f5([0x69,0x64])]:0x8,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a54f5([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]),[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a54f5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a54f5([0x66,0x67,0x69])]:[0xc]}},{[_0x4a54f5([0x69,0x64])]:0x9,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a54f5([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a54f5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a54f5([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x4a54f5([0x69,0x64])]:0xa,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([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]),[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([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]),[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a54f5([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]),[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a54f5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a54f5([0x66,0x67,0x69])]:[0xc]}},{[_0x4a54f5([0x69,0x64])]:0xb,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a54f5([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4a54f5([0x69,0x64])]:0xc,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x4a54f5([0x69,0x64])]:0xd,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a54f5([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a54f5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a54f5([0x66,0x67,0x69])]:[0xc]}},{[_0x4a54f5([0x69,0x64])]:0xe,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x4a54f5([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([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])},{[_0x4a54f5([0x69,0x64])]:0xf,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a54f5([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4a54f5([0x69,0x64])]:0x10,[_0x4a54f5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a54f5([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a54f5([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a54f5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a54f5([0x66,0x67,0x69])]:[0xc]}}];return _0x5bf0d5(_0x4a7bb4),_0x4a7bb4;function _0x3e1016(_0x29a87f){return 0x1<<_0x29a87f-0x1;}function _0x5bf0d5(_0x3d7d3f){_0x3d7d3f[_0x4a54f5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1ed3c3=>{_0x1ed3c3[_0x4a54f5([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x3e1016(_0x1ed3c3[_0x4a54f5([0x69,0x64])]),_0x5d8b18(_0x1ed3c3)&&_0x1ed3c3[_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5bf0d5(_0x1ed3c3[_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x5d8b18(_0x4ad261){return _0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x4ad261;}const _0x477472=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x2c9e56=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x1062fb(_0x40ae0d){const _0xb53d=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x5319a8(_0x40ae0d,new Uint8Array([..._0x477472,..._0xb53d,..._0x2c9e56]));}function _0x5319a8(_0x321c21,_0x472abd){const _0x47c056=_0x4ff36a(_0x321c21),_0x5587b2=Array[_0x4a54f5([0x66,0x72,0x6f,0x6d])](_0x515168(_0x47c056)),_0x4e8fbc=_0x5587b2[_0x4a54f5([0x70,0x6f,0x70])](),_0x43fdad=_0x5587b2[_0x4a54f5([0x70,0x6f,0x70])]();return _0x535f90(_0x621968(_0x5587b2,_0x472abd,_0x43fdad+0x100*_0x4e8fbc));}function _0x4ff36a(_0x2e88ba){const _0x58c162=atob(_0x2e88ba),[_0x2eb3c0,_0x57ecd]=_0x58c162[_0x4a54f5([0x73,0x70,0x6c,0x69,0x74])](_0x4a54f5([0x2d]));try{if(atob(_0x57ecd))return atob(_0x2eb3c0);}catch(_0x5d5ac9){}return _0x58c162;}function _0x288799(_0x36e66e){try{const _0x3aa648=_0x1062fb(_0x36e66e),_0xc2a815=JSON[_0x4a54f5([0x70,0x61,0x72,0x73,0x65])](_0x3aa648),_0xe7b3bd=parseInt(_0xc2a815[_0x4a54f5([0x31])]),_0x2784c6=_0xc2a815[_0x4a54f5([0x32])]||'',_0x2c48f5=parseInt(_0xc2a815[_0x4a54f5([0x33])]),_0x152596=parseInt(_0xc2a815[_0x4a54f5([0x34])])||0x0,_0x32b343=parseInt(_0xc2a815[_0x4a54f5([0x35])])||0x0;return{[_0x4a54f5([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x2784c6,[_0x4a54f5([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x152596,[_0x4a54f5([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0xe7b3bd,[_0x4a54f5([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x2c48f5,[_0x4a54f5([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x32b343};}catch(_0x5c9dc4){return null;}}const _0x1f8d16=_0x193440(),_0x385634={[_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x548d77,[_0x4a54f5([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])]:_0x103893,[_0x4a54f5([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])]:_0x35129c},_0x11c1cb=_0x15380e[_0x4a54f5([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x502332=_0x4a54f5([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x15380e?_0x15380e['context']:_0x15380e['editor'],_0x32cde6=_0x4a54f5([0x34,0x30,0x34,0x38,0x31,0x32,0x32,0x34]),_0x49523b=_0x4a54f5([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]),_0x24fdea=_0x502332['config']['get'](_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x40957d=_0x1f8d16[_0x4a54f5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d8b18)[_0x4a54f5([0x66,0x69,0x6e,0x64])](_0x13d722=>_0x13d722[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x11c1cb);function _0x17a652(_0x501363,_0x589884){_0x385634[_0x589884[_0x4a54f5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x501363,_0x589884),_0x589884[_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x589884[_0x4a54f5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x4a54f5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4513e3=>_0x463d6c(_0x502332,_0x4513e3[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x4a54f5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x326219=>_0x17a652(_0x501363,_0x326219));}function _0x548d77(_0x2b4cc9,_0x215043){_0x38c112(_0x4e75b8(_0x2b4cc9,_0x215043),_0x215043);}function _0x103893(_0x2c3eb8,_0x423ca3){function _0x3a9dee(_0x331fa8,_0x4f4eaa){try{if(_0x463d6c(_0x502332,_0x4a54f5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x331fa8){const _0x1490f7=_0x1cd425(_0x502332,_0x4a54f5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x4a54f5([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x1490f7)/0x2>_0x331fa8[_0x4a54f5([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x42f257(_0x4f4eaa[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x4e75b8(_0x331fa8,_0x4f4eaa);}catch(_0x36616e){return _0x42f257(_0x4f4eaa[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x38c112(_0x3a9dee(_0x2c3eb8,_0x423ca3),_0x423ca3);}function _0x35129c(_0x44feb9,_0x1a1072){const _0x257fe4=_0x2c9e56[0x0]*_0x477472[0x1],_0x260229=_0x2c9e56[0x0]*_0x477472[0x2],_0x38779e=_0x2c9e56[0x2]*_0x477472[0x2];_0x463d6c(_0x502332,_0x4a54f5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1cd425(_0x502332,_0x4a54f5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4a54f5([0x73,0x74,0x61,0x74,0x65])]==_0x4a54f5([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x347149()]=_0x38779e);function _0x375385(_0x5dcb00,_0x1aa3fe){try{return _0x54e44d()?_0x42f257(_0x1aa3fe[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x56,0x61,0x6c,0x69,0x64])):_0x4e75b8(_0x5dcb00,_0x1aa3fe);}catch(_0x2d6956){return _0x42f257(_0x1aa3fe[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x11aeb8(_0x1a8a8c,_0x237821){const _0x124e23=0x7;if(_0x1a8a8c==_0x237821[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x245b24();else{if(_0x1a8a8c==_0x237821[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x54,0x72,0x69,0x61,0x6c])){const _0x5211dc=_0x1b0327();_0x5211dc&&_0x50d2d9(_0x5211dc,_0x237821[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x307a5c=_0x3c4df1();window[_0x4a54f5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x50d2d9(_0x4a54f5([0x74,0x69,0x6d,0x65]),_0x237821[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x307a5c);const _0x822430=_0x1cd425(_0x502332,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4a54f5([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x822430[_0x4a54f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x124e23?_0x50d2d9(_0x4a54f5([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x237821[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x822430['on'](_0x4a54f5([0x61,0x64,0x64]),()=>{_0x822430[_0x4a54f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x124e23&&_0x50d2d9(_0x4a54f5([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x237821[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x1b0327(){if(!_0x463d6c(_0x502332,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x342b65 in window)if(Number['isNaN'](Number(_0x342b65))){if(window[_0x342b65]===_0x257fe4)return _0x4a54f5([0x74,0x69,0x6d,0x65]);if(window[_0x342b65]===_0x260229)return _0x4a54f5([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x54e44d(){if(!_0x463d6c(_0x502332,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x369cf0 in window)if(Number['isNaN'](Number(_0x369cf0))&&window[_0x369cf0]===_0x38779e)return!0x0;return!0x1;}function _0x50d2d9(_0x5df076,_0x98ee11){_0x245b24(),_0x42f257(_0x98ee11+_0x4a54f5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x5df076),window[_0x347149()]=_0x5df076===_0x4a54f5([0x74,0x69,0x6d,0x65])?_0x257fe4:_0x260229;}function _0x3c4df1(){let _0x2e2a83=_0x2c9e56[0x6]*_0x477472[0x8]*_0x477472[0x6];return _0x463d6c(_0x502332,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x2e2a83/=0xa),_0x2e2a83;}function _0x245b24(){const _0x5b3385=_0x502332;function _0x312f7a(){_0x463d6c(_0x5b3385,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x1cd425(_0x5b3385,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4a54f5([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4a54f5([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1cd425(_0x5b3385,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4a54f5([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1cd425(_0x5b3385,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4a54f5([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x898f2e,_0x1cd425(_0x5b3385,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4a54f5([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x898f2e,_0x5b3385[_0x4a54f5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a54f5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x898f2e,_0x5b3385[_0x4a54f5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a54f5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x898f2e,_0x5b3385[_0x4a54f5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a54f5([0x6d,0x6f,0x64,0x65,0x6c]))),_0x463d6c(_0x5b3385,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1cd425(_0x5b3385,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4a54f5([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4a54f5([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1cd425(_0x5b3385,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4a54f5([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1cd425(_0x5b3385,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4a54f5([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x898f2e,_0x1cd425(_0x5b3385,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4a54f5([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x898f2e);}_0x5b3385[_0x4a54f5([0x73,0x74,0x61,0x74,0x65])]==_0x4a54f5([0x72,0x65,0x61,0x64,0x79])?_0x312f7a():_0x5b3385[_0x4a54f5([0x6f,0x6e,0x63,0x65])](_0x4a54f5([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x463d6c(_0x5b3385,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x312f7a(),_0x463d6c(_0x5b3385,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x117b2e=_0x1cd425(_0x5b3385,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4b69e7=_0x117b2e['getRevision'](0x0),_0x54a502=_0x117b2e['getEarlierVisibleRevision'](_0x4b69e7[_0x4a54f5([0x69,0x64])]);_0x1cd425(_0x5b3385,_0x4a54f5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4a54f5([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4b69e7[_0x4a54f5([0x69,0x64])],_0x54a502?_0x54a502[_0x4a54f5([0x69,0x64])]:null,0x1)['then'](()=>_0x312f7a());}});}_0x11aeb8(_0x375385(_0x44feb9,_0x1a1072),_0x1a1072);}function _0x4e75b8(_0x43be98,_0x80598){try{return _0x222c86(_0x80598)?_0x42f257(_0x80598[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x56,0x61,0x6c,0x69,0x64])):_0x43be98&&_0x43fca7(_0x43be98[_0x4a54f5([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x80598)?_0x43be98[_0x4a54f5([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x4a54f5([0x6f,0x70,0x65,0x6e])][_0x4a54f5([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x32cde6)/0x2>_0x43be98[_0x4a54f5([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x42f257(_0x80598[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x43be98[_0x4a54f5([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x42f257(_0x80598[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x54,0x72,0x69,0x61,0x6c])):_0x42f257(_0x80598[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x56,0x61,0x6c,0x69,0x64])):_0x42f257(_0x80598[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x2c675a){return _0x42f257(_0x80598[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x38c112(_0x62a674,_0x2d38d9){if(_0x502332 instanceof _0x325256){const _0x4a4155=_0x502332;_0x62a674==_0x2d38d9[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x291f01(_0x4a4155):_0x62a674==_0x2d38d9[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x54,0x72,0x69,0x61,0x6c])&&window[_0x4a54f5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x291f01(_0x4a4155),_0x42f257(_0x2d38d9[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x2c9e56[0x6]*_0x477472[0x8]*_0x477472[0x6]),_0x4a4155[_0x4a54f5([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x4a54f5([0x6f,0x6e])](_0x4a54f5([0x61,0x64,0x64]),(_0x9600d3,_0x16eec2)=>{_0x62a674!=_0x2d38d9[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x62a674!=_0x2d38d9[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x62a674!=_0x2d38d9[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x457706(_0x16eec2);});}else{const _0x2b69e2=_0x502332;_0x62a674==_0x2d38d9[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x457706(_0x2b69e2):_0x62a674==_0x2d38d9[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x54,0x72,0x69,0x61,0x6c])&&_0x2b69e2[_0x4a54f5([0x6f,0x6e])](_0x4a54f5([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x43d60f=0x0;_0x2b69e2[_0x4a54f5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a54f5([0x6f,0x6e])](_0x4a54f5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xcb1ae9,_0x19bbe6)=>{_0x19bbe6[0x0][_0x4a54f5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x43d60f++,0x1f8===_0x43d60f&&(_0x457706(_0x2b69e2),_0x42f257(_0x2d38d9[_0x4a54f5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a54f5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0xcb1ae9[_0x4a54f5([0x6f,0x66,0x66])]());},{'priority':_0x4a54f5([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x42f257(_0x49df19){const _0x496a3c=_0x347149();return _0x502332[_0x496a3c]=_0x49df19,_0x49df19;}function _0x347149(){const _0x32ca0b=String(window[_0x4a54f5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a54f5([0x6e,0x6f,0x77])]())[_0x4a54f5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a54f5([0x2e]),'');let _0x2620c4='';for(let _0x201b5e=0x0;_0x201b5e<_0x32ca0b[_0x4a54f5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x201b5e+=0x2){let _0x7a0ad8=parseInt(_0x32ca0b[_0x4a54f5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x201b5e,_0x201b5e+0x2));_0x7a0ad8>=_0x49523b[_0x4a54f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x7a0ad8-=_0x49523b[_0x4a54f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2620c4+=_0x49523b[_0x7a0ad8];}return _0x2620c4;}function _0x291f01(_0x58f999){for(const _0xe2eb2a of _0x58f999[_0x4a54f5([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x457706(_0xe2eb2a);_0x1cd425(_0x58f999,_0x4a54f5([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4a54f5([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x1cd425(_0x58f999,_0x4a54f5([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4a54f5([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x898f2e;}function _0x457706(_0x105d84){function _0x1885bc(){_0x105d84[_0x4a54f5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a54f5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x898f2e,_0x105d84[_0x4a54f5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a54f5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x898f2e,_0x105d84[_0x4a54f5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a54f5([0x6d,0x6f,0x64,0x65,0x6c]));}_0x105d84[_0x4a54f5([0x73,0x74,0x61,0x74,0x65])]==_0x4a54f5([0x72,0x65,0x61,0x64,0x79])?_0x1885bc():_0x105d84[_0x4a54f5([0x6f,0x6e,0x63,0x65])](_0x4a54f5([0x72,0x65,0x61,0x64,0x79]),()=>_0x1885bc());}function _0x898f2e(){return null;}function _0x43fca7(_0x4fb232,_0x9ac69a){const _0x507895=!!(_0x4fb232&_0x9ac69a[_0x4a54f5([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x247487=_0x446293(_0x4fb232,_0x9ac69a);return _0x507895||_0x247487;}function _0x446293(_0x3df647,_0x1abd14){const _0x4b7798=(_0x1abd14[_0x4a54f5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x4a54f5([0x66,0x67,0x69])]||null;return!!_0x4b7798&&_0x1f8d16[_0x4a54f5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x519600=>_0x4b7798[_0x4a54f5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x519600[_0x4a54f5([0x69,0x64])]))[_0x4a54f5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x21576e=>!_0x297a2d(_0x21576e))[_0x4a54f5([0x73,0x6f,0x6d,0x65])](_0x39f9fc=>!!(_0x3df647&_0x39f9fc[_0x4a54f5([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x297a2d(_0x37cf4e){const _0x2088a3={[_0x4a54f5([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])]:_0x2f72bf};return!!_0x37cf4e['forbiddenHandler']&&_0x2088a3[_0x37cf4e['forbiddenHandler']]();}function _0x2f72bf(){return!window[_0x4a54f5([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x463d6c(_0x502332,_0x4a54f5([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x222c86(_0x133db9){if(!_0x463d6c(_0x502332,_0x133db9[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x1e7462=_0x133db9[_0x4a54f5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x5173ce=_0x1e7462[_0x4a54f5([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x4d51e5=_0x1e7462[_0x4a54f5([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x168d75=_0x1e7462[_0x4a54f5([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x463d6c(_0x502332,_0x4a54f5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1cd425(_0x502332,_0x4a54f5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4a54f5([0x73,0x74,0x61,0x74,0x65])]==_0x4a54f5([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x5173ce)return!0x0;if(_0x463d6c(_0x502332,_0x4a54f5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x1cd425(_0x502332,_0x4a54f5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x4a54f5([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x4a54f5([0x65,0x6e,0x64])&&_0x4d51e5)return!0x0;return!(!_0x463d6c(_0x502332,_0x4a54f5([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]))||_0x1cd425(_0x502332,_0x4a54f5([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]))[_0x4a54f5([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x4a54f5([0x65,0x6e,0x64])||!_0x168d75);}function _0x463d6c(_0xc82184,_0x47103e){return _0xc82184[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4a54f5([0x68,0x61,0x73])](_0x47103e);}function _0x1cd425(_0x1cf42a,_0x5dd880){return _0x1cf42a[_0x4a54f5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4a54f5([0x67,0x65,0x74])](_0x5dd880);}function _0x535f90(_0x4df596){let _0x3e3057='';for(const _0x196c6e of _0x4df596)_0x3e3057+=String[_0x4a54f5([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x196c6e);return _0x3e3057;}function _0x515168(_0x35415b){const _0x3d2809=new Uint8Array(_0x35415b[_0x4a54f5([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x25473c=0x0;_0x25473c<_0x35415b[_0x4a54f5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x25473c++)_0x3d2809[_0x25473c]=_0x35415b[_0x4a54f5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x25473c);return _0x3d2809;}_0x40957d&&_0x17a652(_0x288799(_0x24fdea),_0x40957d);})(_0x52e870);}(this);}['createRevision'](_0x5e181f){const _0x1fd61e=this['editor']['plugins']['get']('Users');return new a({'id':_0x5e181f['id'],'name':_0x5e181f['name'],'creator':_0x5e181f['creatorId']?_0x1fd61e['getUser'](_0x5e181f['creatorId']):null,'diffData':_0x5e181f['diffData']||_0x5e181f['data'],'authors':_0x5e181f['authorsIds']['map'](_0x46180e=>_0x1fd61e['getUser'](_0x46180e)),'createdAt':new Date(_0x5e181f['createdAt']),'attributes':_0x5e181f['attributes'],'fromVersion':_0x5e181f['fromVersion'],'toVersion':_0x5e181f['toVersion']});}['addRevision'](_0x463815,_0x334f0f=0x0){this['_revisions']['add'](_0x463815,_0x334f0f);}['getRevision'](_0x205d5f){return this['_revisions']['get'](_0x205d5f);}['getRevisions'](_0x328864={'toJSON':!0x1}){const _0x1a4f1a=Array['from'](this['_revisions']);return _0x1a4f1a['reverse'](),_0x328864['toJSON']?_0x1a4f1a['map'](_0x336adc=>_0x336adc['toJSON']()):_0x1a4f1a;}['getIndex'](_0x3d1e9a){return this['_revisions']['getIndex'](_0x3d1e9a);}['getEarlierVisibleRevision'](_0x2121fa){const [,_0x3c3d01]=this['getRevisionsIterator'](_0x2121fa,{'direction':'earlier'});return _0x3c3d01;}['getLaterVisibleRevision'](_0x9f68a3){const [,_0x2ef09c]=this['getRevisionsIterator'](_0x9f68a3,{'direction':'later'});return _0x2ef09c;}['getRevisionsInDiff'](_0x5157d8){const _0x4abb01=[];for(const _0x4a5176 of this['getRevisionsIterator'](_0x5157d8['newRevisionId']))if(_0x4abb01['push'](_0x4a5176),_0x4a5176['id']===_0x5157d8['oldRevisionId'])break;return _0x4abb01;}*['getRevisionsIterator'](_0xeb2907,{direction:_0x5b9bc1='earlier',filter:_0x48732d=_0x2e3395=>!0x0}={}){const _0x325774='earlier'===_0x5b9bc1?0x1:-0x1;let _0x5b5b5b=this['_revisions']['get'](_0xeb2907),_0x50781d=this['getIndex'](_0x5b5b5b);for(yield _0x5b5b5b;_0x5b5b5b;){if(_0x50781d+=_0x325774,_0x5b5b5b=this['getRevision'](_0x50781d),!_0x5b5b5b)return;_0x48732d(_0x5b5b5b)&&(yield _0x5b5b5b);}}}function y(_0x53b13d,_0x22cc4b,_0x723cd4){const t=_0x53b13d['t'];switch(_0x22cc4b){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'},_0x723cd4);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x723cd4);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':_0x52132d,'a':_0x3b3816,'e':_0x5099a0,'r':_0x4bc8f7,'u':_0x23155e};class l extends _0x1b9d3f{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x164fab,A,_0x27eae3];}constructor(_0x183a10){super(_0x183a10),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 _0x4d0744=_0x46006a();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x4d0744},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x17e673=this['repository']['getRevision'](0x0),_0x42ff4d=_0x17e673&&null===_0x17e673['creator']?_0x17e673:null;if(this['_continueCurrentRevision']=!!_0x42ff4d&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x3dceff=this['_source']['getCurrentRevisionId'](),_0x2d85f1=this['repository']['getRevision'](_0x3dceff);if(_0x2d85f1)this['_startingVersion']=_0x2d85f1['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x57b86d=this['_source']['history']['_operations']['find'](_0x3a713e=>!_0x3a713e['_isInit']),_0x158579=_0x57b86d?_0x57b86d['baseVersion']:this['_source']['history']['version'];_0x17e673?(_0x17e673['toVersion']<_0x158579&&_0x17e673['_update']({'toVersion':_0x158579}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x42ff4d['id'],this['_startingVersion']=_0x42ff4d['fromVersion']):(this['_startingVersion']=_0x17e673['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x158579,this['_continueCurrentRevision']=!0x1);}}else _0x42ff4d&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x42ff4d['toVersion'],this['editor']['model']['document']['history']['version']),_0x42ff4d['fromVersion']===_0x42ff4d['toVersion']?(0x0!==_0x42ff4d['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x42ff4d['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x42ff4d['id'],this['_startingVersion']=_0x42ff4d['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',_0x1e0f1c=>!_0x1e0f1c);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x9ff377=this['repository']['getRevision'](0x0),_0x16b886=await this['getRevisionDocumentData'](_0x9ff377),_0x22c4e7=await this['getRevisionRootsAttributes'](_0x9ff377);this['_replaceEditorDataWithRevisionData'](_0x16b886,_0x22c4e7);}}['setSource'](_0xedf858){this['_source']=_0xedf858;}async['update'](){const _0x30c142=await this['_source']['getLatestVersion']();if(_0x30c142>this['currentRevision']['toVersion']){await this['_loadState']();const _0x5ca1b0=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x30c142});_0x5ca1b0['authors']=_0x5ca1b0['authorsIds']['map'](_0x30bc55=>this['editor']['plugins']['get']('Users')['getUser'](_0x30bc55)),this['currentRevision']['_update'](_0x5ca1b0);}}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'](_0x71e4c6={},_0xfffe33=null){const _0x25bc3b=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0xfffe33>this['currentRevision']['toVersion']&&(_0xfffe33=null),null===_0xfffe33&&(_0xfffe33=await this['_source']['getLatestVersion']());const _0x2f9055=this['_getFromVersion'](_0xfffe33),_0x30d182=this['buildRevisionData']({'from':_0x2f9055,'to':_0xfffe33});if(this['currentRevision']['toVersion']<_0xfffe33){const _0x80cece=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0xfffe33,'to':_0xfffe33});_0x80cece['authors']=[],_0x80cece['authorsIds']=[],_0x80cece['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x80cece,!0x0),delete _0x80cece['authors'],_0x25bc3b['push'](_0x80cece);}_0x71e4c6['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x71e4c6['name']=_0x71e4c6['name']||null,_0x71e4c6['id']=_0x71e4c6['id']||_0x46006a(),_0x71e4c6={..._0x71e4c6,..._0x30d182};const _0x2d1684=this['addRevisionData'](_0x71e4c6);_0x25bc3b['push'](_0x71e4c6);const _0x143740=this['repository']['getIndex'](_0x2d1684);if(0x0!==_0x143740){const _0x2916c6=this['repository']['getRevision'](_0x143740-0x1);if(_0x2916c6['fromVersion']!==_0xfffe33){const _0x59fd67=this['_revisionDataBuilder']['getData'](_0xfffe33,_0x2916c6['toVersion']),_0x4218c3={'id':_0x2916c6['id'],'diffData':_0x59fd67['diffData'],'authorsIds':_0x59fd67['authorsIds'],'authors':_0x59fd67['authorsIds']['map'](_0x2c71af=>this['editor']['plugins']['get']('Users')['getUser'](_0x2c71af)),'fromVersion':_0xfffe33};_0x2916c6===this['currentRevision']&&(_0x4218c3['createdAt']=new Date(_0x71e4c6['createdAt']['getTime']()+0xa)),_0x2916c6['_update'](_0x4218c3,!0x0),delete _0x4218c3['authors'],_0x25bc3b['push'](_0x4218c3);}}if(this['adapter']){for(const _0x217cc6 of _0x25bc3b)this['_bufferUpdate'](_0x217cc6['id'],_0x217cc6,!0x0);this['sendBufferedUpdates']();}return _0x2d1684;}['addRevisionData'](_0x5939ba){const _0x288d06=this['repository']['createRevision'](_0x5939ba);return this['adapter']&&_0x288d06['on']('_update',(_0x53b2f1,_0x425c50,_0x906b40)=>{_0x906b40||(this['_bufferUpdate'](_0x425c50['id'],_0x425c50,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x288d06,this['_findInsertionIndex'](_0x288d06)),_0x288d06;}async['getRevisionDocumentData'](_0x5408b3){await this['_loadRevisionData'](_0x5408b3);const _0xf0c2f6={};for(const _0x58ddb8 in _0x5408b3['diffData']){if(_0x5408b3['diffData'][_0x58ddb8]['attachChange']&&!_0x5408b3['diffData'][_0x58ddb8]['attachChange']['isAttached'])continue;const _0x246fbf=this['_removeRevisionMarkers'](JSON['parse'](_0x5408b3['diffData'][_0x58ddb8]['insertions'])),_0x5ab628=this['editor']['editing']['view']['document'],_0x4cde13=new _0x1bfe34(_0x5ab628,_0x246fbf['map'](_0x4e47c5=>B(_0x4e47c5,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0xf0c2f6[_0x58ddb8]=this['editor']['data']['processor']['toData'](_0x4cde13),this['editor']['data']['processor']['useFillerType']('default');}return _0xf0c2f6;}async['getRevisionRootsAttributes'](_0x4f30c6){await this['_loadRevisionData'](_0x4f30c6);const _0x6d72bb={};for(const _0x5cb305 in _0x4f30c6['diffData'])_0x4f30c6['diffData'][_0x5cb305]['attachChange']&&!_0x4f30c6['diffData'][_0x5cb305]['attachChange']['isAttached']||(_0x6d72bb[_0x5cb305]=_0x4f30c6['diffData'][_0x5cb305]['attributesAfter']||{});return _0x6d72bb;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x55f244=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x23c3a4=0x0;_0x23c3a4<_0x55f244['length'];_0x23c3a4++){const _0xb337a2=_0x55f244[_0x23c3a4];let _0x15141c=!0x1;for(const _0x4278bb of Object['keys'](_0xb337a2))void 0x0===_0xb337a2[_0x4278bb]?delete _0xb337a2[_0x4278bb]:'id'!==_0x4278bb&&(_0x15141c=!0x0);_0x15141c||(_0x55f244[_0x23c3a4]=null);}if(_0x55f244=_0x55f244['filter'](_0x185d4b=>null!==_0x185d4b),!_0x55f244['length'])return;for(let _0x2e7b84=0x0;_0x2e7b84<_0x55f244['length'];_0x2e7b84++){const _0x300be7=_0x55f244[_0x2e7b84];void 0x0!==_0x300be7['fromVersion']&&void 0x0===_0x300be7['toVersion']&&(_0x300be7['toVersion']=this['repository']['getRevision'](_0x300be7['id'])['toVersion']),void 0x0!==_0x300be7['toVersion']&&void 0x0===_0x300be7['fromVersion']&&(_0x300be7['fromVersion']=this['repository']['getRevision'](_0x300be7['id'])['fromVersion']);}const _0x204f55=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x55f244,_0x204f55)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x3c74d0=>{if(_0x3c74d0){for(const _0x5b0809 of _0x3c74d0)this['setRevisionData']({'id':_0x5b0809['id'],'createdAt':_0x5b0809['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x5adf4c,_0x1eae18){let _0x4b3840=this['editor']['config']['get']('initialData'),_0x3fe9c9=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x4b3840){_0x4b3840={};for(const _0x3511ce of this['editor']['model']['document']['getRootNames']())_0x4b3840[_0x3511ce]='';}if('string'==typeof _0x4b3840&&(_0x4b3840={'main':_0x4b3840}),void 0x0===_0x3fe9c9){_0x3fe9c9={};for(const _0x5e1bf0 of this['editor']['model']['document']['getRootNames']())_0x3fe9c9[_0x5e1bf0]={};}let _0x2e3ebe=!0x1;const _0x2b6355=Object['keys'](_0x4b3840),_0x1e1fe5=Object['keys'](_0x5adf4c);for(const _0x5707b4 of _0x2b6355){if(_0x4b3840[_0x5707b4]!==_0x5adf4c[_0x5707b4]&&''!==_0x4b3840[_0x5707b4]['trim']()){_0x2e3ebe=!0x0;break;}if(!_0x39c86d(_0x3fe9c9[_0x5707b4],_0x1eae18[_0x5707b4])&&Object['keys'](_0x3fe9c9[_0x5707b4])['length']>0x0){_0x2e3ebe=!0x0;break;}}_0x2e3ebe||(_0x2e3ebe=_0x1e1fe5['some'](_0x49fc1c=>!this['editor']['model']['document']['getRoot'](_0x49fc1c))),_0x2e3ebe&&_0x2bcc7c('editor-initial-data-replaced-with-revision-data',{'editorData':_0x4b3840,'editorRootsAttributes':_0x3fe9c9,'revisionData':_0x5adf4c,'revisionRootsAttributes':_0x1eae18}),this['editor']['config']['set']('initialData',_0x5adf4c),this['editor']['config']['set']('rootsAttributes',_0x1eae18);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x2f994a=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x2f994a['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x29a98c){const _0x8d4bf7=this['repository']['getRevisions']();_0x8d4bf7['reverse']();let _0x14c939=0x0;for(;_0x14c939<_0x8d4bf7['length'];){const _0x509480=_0x8d4bf7[_0x14c939];if(_0x509480===this['currentRevision']){_0x14c939++;continue;}if(_0x509480['id']===this['_initialRevisionId'])break;const _0x4b8403=_0x29a98c['toVersion']-_0x509480['toVersion']||_0x29a98c['fromVersion']-_0x509480['fromVersion'];if(_0x4b8403>0x0)break;if(_0x4b8403<0x0)_0x14c939++;else{if(!_0x29a98c['creator']&&_0x509480['creator'])break;if(_0x509480['creator']||!_0x29a98c['creator']){if(_0x29a98c['createdAt']>_0x509480['createdAt'])break;_0x14c939++;}else _0x14c939++;}}return _0x14c939;}['setRevisionData'](_0x46b45f){const _0xf9d233=this['repository']['getRevision'](_0x46b45f['id']);if(_0x46b45f['createdAt']&&(_0x46b45f['createdAt']=new Date(_0x46b45f['createdAt'])),_0x46b45f['authorsIds']){const _0x158088=this['editor']['plugins']['get']('Users');_0x46b45f['authors']=_0x46b45f['authorsIds']['map'](_0x41e56c=>_0x158088['getUser'](_0x41e56c));}_0xf9d233['_update'](_0x46b45f,!0x0);}['buildRevisionData']({revision:_0x14a25=null,from:_0x11ed63=null,to:_0x3791e2=null}){_0x11ed63=null!==_0x11ed63?_0x11ed63:_0x14a25['fromVersion'],_0x3791e2=null!==_0x3791e2?_0x3791e2:_0x14a25['toVersion'];const _0x4f9de5=this['_revisionDataBuilder']['getData'](_0x11ed63,_0x3791e2),_0x494609={'diffData':_0x4f9de5['diffData'],'authorsIds':_0x4f9de5['authorsIds'],'fromVersion':_0x11ed63,'toVersion':_0x3791e2};if(!_0x14a25||_0x3791e2!==_0x14a25['toVersion']){const _0x10edf2=_0x3791e2-0x1,_0xd3220=this['_source']['history']['getOperation'](_0x10edf2);_0x494609['createdAt']=_0xd3220&&_0xd3220['createdAt']||new Date();}if(this['_loadedStateData']&&_0x11ed63===this['_loadedStateData']['fromVersion']){for(const _0x5a56ff of this['_loadedStateData']['authors'])_0x494609['authorsIds']['includes'](_0x5a56ff['id'])||_0x494609['authorsIds']['push'](_0x5a56ff['id']);}return _0x494609;}['_loadRevisionData'](_0x5b7b90){if(!_0x5b7b90||_0x5b7b90['diffData'])return Promise['resolve']();{const _0x284b1e=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x284b1e,'revisionId':_0x5b7b90['id']})['then'](_0x78cb15=>{_0x5b7b90['diffData']=_0x78cb15['diffData'];});}}['_bufferUpdate'](_0x498756,_0x85813,_0x5005ae){if(this['_bufferedUpdates']['has'](_0x498756)){const _0x23a3c5=this['_bufferedUpdates']['get'](_0x498756);_0x85813=_0x5005ae?{..._0x23a3c5,..._0x85813}:{..._0x85813,..._0x23a3c5};}this['_bufferedUpdates']['set'](_0x498756,_0x85813);}['_getFromVersion'](_0xd1210f){const _0x210a4c=this['repository']['getRevisions']();_0x210a4c['reverse'](),_0x210a4c['shift']();const _0x13bb18=_0x210a4c['find'](_0x16039c=>_0x16039c['toVersion']<=_0xd1210f)['toVersion'];return _0x13bb18<this['_startingVersion']?this['_startingVersion']:_0x13bb18;}['_createInitialRevision'](_0x5dee1a){const _0x4b35c6=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x4b35c6)this['_initialRevisionId']=_0x4b35c6['id'];else{const _0x8aa091=!this['editor']['model']['document']['roots']['find'](_0x574601=>this['editor']['model']['hasContent'](_0x574601)),_0x138407=this['editor']['plugins']['get']('Users')['me']['id'],_0x569926=y(this['editor']['locale'],_0x8aa091?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x5dee1a,'to':_0x5dee1a,'id':this['_initialRevisionId'],'name':_0x569926,'creatorId':_0x138407});}}['_createCurrentRevision'](_0x47079f){const _0x467025=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x467025),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x47079f,'to':_0x47079f,'id':_0x467025,'name':'','creatorId':null}));}['_makeRevision']({name:_0x1948cb,from:_0x193e5d,to:_0x24b1ab,creatorId:_0x3327ac,id:_0x5a9229}){const _0x48552a=this['buildRevisionData']({'from':_0x193e5d,'to':_0x24b1ab});_0x48552a['name']=_0x1948cb,_0x48552a['creatorId']=_0x3327ac,_0x48552a['id']=_0x5a9229;const _0x3c3670=this['addRevisionData'](_0x48552a);return this['adapter']&&this['_bufferUpdate'](_0x48552a['id'],_0x48552a,!0x0),_0x3c3670;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x52f9fb){return(_0x52f9fb=_0x52f9fb['filter'](_0x60924e=>!_0x60924e['name']||'revision-start'!==_0x60924e['name']&&'revision-end'!==_0x60924e['name']))['forEach'](_0x5edfaa=>{'string'!=typeof _0x5edfaa&&(_0x5edfaa['children']=this['_removeRevisionMarkers'](_0x5edfaa['children']),_0x5edfaa['attributes']=_0x5edfaa['attributes']['filter'](_0x1fb8db=>!_0x1fb8db[0x0]['startsWith']('data-revision-')));}),_0x52f9fb;}}function B(_0x55f448,_0x51cc94){const _0x1cd382=_0x51cc94['editing']['view']['document'];if('string'==typeof _0x55f448)return new _0x1469cc(_0x1cd382,_0x55f448);{const _0x481972=_0x55f448['children']['map'](_0x369aaa=>B(_0x369aaa,_0x51cc94));return new(T[_0x55f448['type']]||_0x4b2c33)(_0x1cd382,_0x55f448['name'],_0x55f448['attributes'],_0x481972);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x40579e){this['editor']=_0x40579e,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}['init'](_0x34924c){this['source']=_0x34924c;const _0x37e19e=new Map(),_0x3a55e5=new Map(),_0x375381=this['editor']['model']['document']['roots']['map'](_0x65a8bf=>_0x65a8bf['rootName']);for(const _0x43edbd of _0x375381){const _0x1d4809=this['editor']['model']['document']['getRoot'](_0x43edbd),_0x41d1b7=q(_0x1d4809);_0x37e19e['set'](_0x43edbd,_0x41d1b7),_0x3a55e5['set'](_0x43edbd,Object['fromEntries'](_0x1d4809['getAttributes']()));}const _0x328e79=Array['from'](this['editor']['model']['markers'])['map'](_0x172d3a=>[_0x172d3a['name'],_0x172d3a['getRange']()]),_0x228b3e=this['source']['version'];this['_saveMetaData'](_0x228b3e,_0x37e19e,_0x328e79,_0x3a55e5),this['_startingRevisionId']=this['_revisionId'];const _0x11ab25=new Map(),_0x40544c=new Map();for(const _0x22eb8d of _0x375381){const _0x31589a=G(_0x22eb8d);_0x11ab25['set'](_0x22eb8d,_0x31589a),_0x40544c['set'](_0x22eb8d,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x11ab25,[],_0x40544c);}['getData'](_0x23c449,_0x4dcca5){if(this['_lastFrom']===_0x23c449&&this['_lastTo']<=_0x4dcca5)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x4dcca5,!0x0);else{if(!this['_savedMetaData']['has'](_0x23c449)){const _0x3a8ee8=this['_getPreviousFrom'](_0x23c449);this['_calculateMetaData'](_0x3a8ee8,_0x23c449,!0x1);}this['_calculateMetaData'](_0x23c449,_0x4dcca5,!0x0);}return this['_lastFrom']=_0x23c449,this['_lastTo']=_0x4dcca5,this['_getState']();}['loadState'](_0x19a12e){this['_reset'](),this['_lastFrom']=_0x19a12e['fromVersion'],this['_lastTo']=_0x19a12e['toVersion'];for(const _0x13dedf in _0x19a12e['diffData']){const _0x407d23=_0x19a12e['diffData'][_0x13dedf]['attachChange'],_0xaebd16=_0x535306(_0x19a12e['diffData'][_0x13dedf]['attributesBefore'])||{},_0x3e7dc4=this['_makeModelFromViewString'](_0x19a12e['diffData'][_0x13dedf]['deletions']);_0x3e7dc4['rootName']=_0x13dedf,_0x3e7dc4['_isAttached']=!_0x407d23||!_0x407d23['isAttached'],_0x3e7dc4['isAttached']=()=>_0x3e7dc4['_isAttached'],this['_baseRoots']['set'](_0x13dedf,_0x3e7dc4),this['_baseRootsAttributes']['set'](_0x13dedf,_0xaebd16),_0x407d23&&this['_touchedRoots']['set'](_0x13dedf,_0x407d23);const _0x194053=this['_makeIdsRoot'](_0x3e7dc4);this['_baseIdsRoots']['set'](_0x13dedf,_0x194053);for(const [_0x117e6e,_0x5a77c6]of _0x3e7dc4['markers']){if(!_0x117e6e['startsWith']('revision:'))continue;const _0x1e256c=_0x117e6e['split'](':')[0x2];for(const _0x2ac3ea of _0x5a77c6['getWalker']({'singleCharacters':!0x0})){const _0x42f669=this['_getVidAttributeName'](_0x2ac3ea),_0x26004c='elementEnd'==_0x2ac3ea['type']?_0x2ac3ea['previousPosition']['path']['slice'](0x0,-0x1):_0x2ac3ea['previousPosition']['path'],_0x567bc7=_0x194053['getNodeByPath'](_0x26004c)['getAttribute'](_0x42f669);this['_touched']['set'](_0x567bc7,{'userId':_0x1e256c});}}}this['_startingRevisionId']=this['_revisionId'];const _0x4a6337=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x1239a0=>!this['_touched']['has'](_0x1239a0));let _0x2a56e2=0x0;const _0x582183=new Map();for(const _0x47decf in _0x19a12e['diffData']){const _0x1dc13e=_0x19a12e['diffData'][_0x47decf]['attachChange'],_0x565ad6=_0x535306(_0x19a12e['diffData'][_0x47decf]['attributesAfter'])||{},_0xbe4ffc=this['_makeModelFromViewString'](_0x19a12e['diffData'][_0x47decf]['insertions']);_0xbe4ffc['rootName']=_0x47decf,_0xbe4ffc['_isAttached']=!_0x1dc13e||_0x1dc13e['isAttached'],_0xbe4ffc['isAttached']=()=>_0xbe4ffc['_isAttached'],this['_diffRoots']['set'](_0x47decf,_0xbe4ffc),this['_diffRootsAttributes']['set'](_0x47decf,_0x565ad6);const _0x1984f7=this['_makeIdsRoot'](_0xbe4ffc,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x47decf,_0x1984f7),_0x582183['set'](_0x47decf,_0xbe4ffc['isAttached']()?_0x565ad6:{});for(const [_0x47bb96,_0x2d5973]of _0xbe4ffc['markers']){if(!_0x47bb96['startsWith']('revision:'))continue;const _0x138371=_0x47bb96['split'](':')[0x2];for(const _0x4b651f of _0x2d5973['getWalker']({'singleCharacters':!0x0})){const _0x33316f=this['_getVidAttributeName'](_0x4b651f),_0x3b1350=this['_revisionId']++,_0x35b554='elementEnd'==_0x4b651f['type']?_0x4b651f['previousPosition']['path']['slice'](0x0,-0x1):_0x4b651f['previousPosition']['path'];_0x1984f7['getNodeByPath'](_0x35b554)['_setAttribute'](_0x33316f,_0x3b1350),this['_touched']['set'](_0x3b1350,{'userId':_0x138371});}}for(const _0x1ed81c of this['editor']['model']['createRangeIn'](_0xbe4ffc)['getWalker']({'singleCharacters':!0x0})){const _0x4d9ac0=this['_getVidAttributeName'](_0x1ed81c),_0x1b8cbe='elementEnd'==_0x1ed81c['type']?_0x1ed81c['previousPosition']['path']['slice'](0x0,-0x1):_0x1ed81c['previousPosition']['path'],_0x2c4dce=_0x1984f7['getNodeByPath'](_0x1b8cbe);_0x2c4dce['getAttribute'](_0x4d9ac0)>0x0||_0x2c4dce['_setAttribute'](_0x4d9ac0,_0x4a6337[_0x2a56e2++]);}for(const [_0x1854c6,_0x3e928b]of _0xbe4ffc['markers'])_0x1854c6['startsWith']('revision:')||this['_markers']['set'](_0x1854c6,_0x3e928b);}const _0x5049ec=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x5049ec),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x5049ec,0x1));const _0x2e2dc0=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x2e2dc0),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x2e2dc0,0x1));const _0x388de1=Array['from'](this['_diffRoots'])['map'](([_0x3fa5d4,_0x35bc4c])=>[_0x3fa5d4,q(_0x35bc4c)]);this['_saveMetaData'](this['_lastTo'],_0x388de1,this['_markers'],_0x582183);}['_makeModelFromViewString'](_0x5d9ac8){const _0x37fedb=JSON['parse'](_0x5d9ac8),_0x1d450d=this['editor']['editing']['view']['document'],_0x1ba5ba=new _0x1bfe34(_0x1d450d,_0x37fedb['map'](_0x40dbec=>B(_0x40dbec,this['editor'])));return this['editor']['data']['toModel'](_0x1ba5ba);}['_saveMetaData'](_0x22ba8a,_0x3d2f9d,_0x54dd24,_0x53039c){const _0x5f0848=new Map(_0x3d2f9d),_0x4d7b06=new Map(_0x535306(_0x53039c)),_0x14ce79=new Map();for(const [_0x3a4a51,_0x2f29ec]of _0x54dd24)_0x14ce79['set'](_0x3a4a51,{'start':_0x2f29ec['start']['clone'](),'end':_0x2f29ec['end']['clone'](),'rootName':_0x2f29ec['root']['rootName']});this['_savedMetaData']['set'](_0x22ba8a,{'roots':_0x5f0848,'markers':_0x14ce79,'rootsAttributes':_0x4d7b06});}['_removeMetaData'](_0x4b72af){this['_savedMetaData']['delete'](_0x4b72af);}['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'](_0x40d0d2,_0x3cc443=null){let _0x271a33=null;_0x40d0d2['is']('documentFragment')||(_0x271a33=new ft(_0x40d0d2['name'],{'vid_start':null===_0x3cc443?this['_revisionId']++:_0x3cc443++}));const _0x513c38=[];for(const _0x3ec180 of _0x40d0d2['getChildren']())if(_0x3ec180['is']('element')){_0x513c38['push'](this['_makeIdsRoot'](_0x3ec180,_0x3cc443));const _0x4ba5d8=_0x513c38[_0x513c38['length']-0x1];null!==_0x3cc443&&(_0x3cc443=_0x4ba5d8['is']('element','$text')?_0x4ba5d8['getAttribute']('vid')+0x1:_0x4ba5d8['getAttribute']('vid_end')+0x1);}else{for(let _0x56e6f1=0x0;_0x56e6f1<_0x3ec180['offsetSize'];_0x56e6f1++)_0x513c38['push'](new ft('$text',{'vid':null===_0x3cc443?this['_revisionId']++:_0x3cc443++}));}if(_0x40d0d2['is']('documentFragment')){const _0x2e65fb=G(_0x40d0d2['rootName']);return _0x2e65fb['_insertChild'](0x0,_0x513c38),_0x2e65fb;}return _0x271a33['_setAttribute']('vid_end',null===_0x3cc443?this['_revisionId']++:_0x3cc443++),_0x271a33['_insertChild'](0x0,_0x513c38),_0x271a33;}['_calculateMetaData'](_0x8fb780,_0x44c8e,_0xb5036e){this['_reset']();const {roots:_0x41c3da,markers:_0x367fed,rootsAttributes:_0x3566a1}=this['_savedMetaData']['get'](_0x8fb780);this['_baseRoots']=new Map(_0x41c3da),this['_baseRootsAttributes']=new Map(_0x535306(_0x3566a1));for(const [_0x2455e8,_0x33846e]of this['_baseRoots'])if('$graveyard'!==_0x2455e8&&(this['_diffRoots']['set'](_0x2455e8,q(_0x33846e)),this['_diffRootsAttributes']=new Map(_0x535306(_0x3566a1)),_0xb5036e)){const _0x485477=this['_revisionId'];this['_idsRoots']['set'](_0x2455e8,this['_makeIdsRoot'](_0x33846e)),this['_baseIdsRoots']['set'](_0x2455e8,this['_makeIdsRoot'](_0x33846e,_0x485477));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0xb5036e&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x200bc1,_0x551674]of _0x367fed){const _0x291ae0=this['_baseRoots']['get'](_0x551674['rootName']),_0xe27442=this['_diffRoots']['get'](_0x551674['rootName']),_0x522ef6=new vt(this['_fixPosition'](_0x551674['start'],_0x291ae0),this['_fixPosition'](_0x551674['end'],_0x291ae0)),_0x2d6a5a=this['_fixRange'](_0x522ef6,_0xe27442);_0x291ae0['markers']['set'](_0x200bc1,_0x522ef6),this['_markers']['set'](_0x200bc1,_0x2d6a5a);}this['_applyOperations'](_0x8fb780,_0x44c8e,_0xb5036e);}['_applyOperations'](_0x42221f,_0x5a6c5a,_0x41309b){for(const _0x32cdb4 of this['source']['getOperations'](_0x42221f,_0x5a6c5a))this['_handleOperation'](_0x32cdb4,_0x41309b);for(const _0xd85ec8 of this['_diffRoots']['values']())_0xd85ec8['markers']['clear']();for(const [_0x6b40c,_0x3ce01e]of this['_markers']){this['_diffRoots']['get'](_0x3ce01e['root']['rootName'])['markers']['set'](_0x6b40c,_0x3ce01e['clone']());}const _0x4fc004=new Map(),_0x34c0e5=new Map();for(const [_0x2a2b17,_0x108761]of this['_diffRoots'])_0x4fc004['set'](_0x2a2b17,q(_0x108761)),_0x34c0e5['set'](_0x2a2b17,this['_diffRootsAttributes']['get'](_0x2a2b17));this['_saveMetaData'](_0x5a6c5a,_0x4fc004,this['_markers'],_0x34c0e5);}['_getPreviousFrom'](_0x565a4c){const _0x261d99=Array['from'](this['_savedMetaData']['keys']());_0x261d99['sort']((_0x19f888,_0x5b67e9)=>_0x19f888-_0x5b67e9),_0x261d99['reverse']();for(const _0x359772 of _0x261d99)if(_0x359772<_0x565a4c)return _0x359772;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x131cfb,_0x4aec13){const _0x43992f=Array['from'](_0x4aec13['markers'])['map'](([_0x1619d0,_0x5f363b])=>[_0x1619d0,this['_fixRange'](_0x5f363b,_0x131cfb)]);_0x131cfb['markers']=new Map(_0x43992f);}['_transformMarkers'](_0x3ad6fb){for(const _0xbe7d9f of this['_markers']['values']()){const _0x2bd953=_0xbe7d9f['getTransformedByOperation'](_0x3ad6fb),_0x2bad70=vt['_createFromRanges'](_0x2bd953);_0xbe7d9f['start']=_0x2bad70['start'],_0xbe7d9f['end']=_0x2bad70['end'];}}['_handleOperation'](_0x14e11e,_0x2b6009){if('addRoot'==_0x14e11e['type']||'detachRoot'==_0x14e11e['type'])return void this['_handleRootOperation'](_0x14e11e,_0x2b6009);if('insert'==_0x14e11e['type']){const _0x549acd=_0x14e11e['position']['root']['rootName'];this['_diffRoots']['has'](_0x549acd)||(this['_diffRoots']['set'](_0x549acd,G(_0x549acd,!0x0)),this['_diffRootsAttributes']['set'](_0x549acd,{}),_0x2b6009&&this['_idsRoots']['set'](_0x549acd,G(_0x549acd,!0x0)));}else{if('addRootAttribute'==_0x14e11e['type']||'removeRootAttribute'==_0x14e11e['type']||'changeRootAttribute'==_0x14e11e['type'])return void this['_handleRootAttributeOperation'](_0x14e11e);}const _0x4ee200=this['_cloneOperation'](_0x14e11e,this['_diffRoots']);if('marker'!==_0x14e11e['type']&&(_0x4ee200['_execute'](),this['_transformMarkers'](_0x4ee200)),_0x2b6009)switch(_0x4ee200['type']){case'insert':this['_handleInsertOperation'](_0x14e11e);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x14e11e);break;case'merge':this['_handleMergeOperation'](_0x14e11e);break;case'split':this['_handleSplitOperation'](_0x14e11e);break;case'marker':this['_handleMarkerOperation'](_0x14e11e);}}['_cloneOperation'](_0x2379a4,_0x222e96){const _0x2d6d33=_0x2379a4['clone']();return _0x2d6d33['_authorId']=_0x2379a4['_authorId'],this['_fixOperation'](_0x2d6d33,_0x222e96),_0x2d6d33;}['_getBaseVids'](_0x400550){return _0x400550['map'](_0x3ceb32=>{const _0xdb2d06=this['_getVidAttributeName'](_0x3ceb32);return Number(_0x3ceb32['item']['getAttribute'](_0xdb2d06));});}['_generateTape'](_0x201fd1,_0x28a00f){if(_0x201fd1['is']('element','$text'))_0x28a00f['push']({'item':_0x201fd1,'type':'text'});else{_0x201fd1['is']('element')&&_0x28a00f['push']({'item':_0x201fd1,'type':'elementStart'});for(const _0x1fb646 of _0x201fd1['getChildren']())this['_generateTape'](_0x1fb646,_0x28a00f);_0x201fd1['is']('element')&&_0x28a00f['push']({'item':_0x201fd1,'type':'elementEnd'});}return _0x28a00f;}['_getState'](){const _0xb03de5=new Map(this['_touched']),_0x3c0665=new Map(_0xb03de5),_0x26a3a7=new Map(),_0x45125e={'insertions':{},'deletions':{}},_0x49497a={'insertions':{},'deletions':{}},_0x27c84f=new Map(),_0x39be7b=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x39be7b['delete']('$graveyard');for(const _0x2156c6 of _0x39be7b){const _0x4a3820=this['_diffRoots']['get'](_0x2156c6)||G(_0x2156c6,!0x1),_0x3bd010=this['_baseRoots']['get'](_0x2156c6)||G(_0x2156c6,!0x1);_0x4a3820['isAttached']()||_0x3bd010['isAttached']()?(_0x45125e['insertions'][_0x2156c6]=q(_0x4a3820),_0x45125e['deletions'][_0x2156c6]=q(_0x3bd010),this['_copyMarkers'](_0x45125e['deletions'][_0x2156c6],_0x3bd010),this['_copyMarkers'](_0x45125e['insertions'][_0x2156c6],_0x4a3820),_0x49497a['insertions'][_0x2156c6]=this['_generateTape'](this['_idsRoots']['get'](_0x2156c6),[]),_0x49497a['deletions'][_0x2156c6]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x2156c6)||G(_0x2156c6,!0x1),[])):_0x39be7b['delete'](_0x2156c6);}for(const _0x5b6b46 of _0x39be7b){const _0x13c04a=_0x49497a['insertions'][_0x5b6b46];for(const _0x1c0e1b of _0x13c04a){const _0x2b4562=this['_getVidAttributeName'](_0x1c0e1b),_0x14b50d=_0x1c0e1b['item']['getAttribute'](_0x2b4562);_0x3c0665['delete'](_0x14b50d),_0x14b50d>=this['_startingRevisionId']&&_0x26a3a7['set'](_0x14b50d,_0xb03de5['get'](_0x14b50d));}}for(const _0x484ba5 of _0x39be7b){const _0x587a9f=_0x49497a['insertions'][_0x484ba5],_0x2900a2=this['_getBaseVids'](_0x49497a['deletions'][_0x484ba5]);let _0xb87777=0x0;for(const _0x252a5a of _0x587a9f){const _0x5d017f=this['_getVidAttributeName'](_0x252a5a),_0x2e39e0=_0x252a5a['item']['getAttribute'](_0x5d017f);if(!_0x26a3a7['has'](_0x2e39e0)&&!_0x27c84f['has'](_0x2e39e0)){if(_0x3c0665['has'](_0x2e39e0))_0xb87777++;else{if(_0x2e39e0!=_0x2900a2[_0xb87777]){const _0x28c35a=_0xb03de5['get'](_0x2e39e0)||_0xb03de5['get'](_0x2900a2[_0xb87777]);for(;_0x2e39e0!=_0x2900a2[_0xb87777];)_0x3c0665['has'](_0x2900a2[_0xb87777])||(_0x27c84f['set'](_0x2900a2[_0xb87777],_0x28c35a),_0xb03de5['set'](_0x2900a2[_0xb87777],_0x28c35a)),_0xb87777++;}_0xb87777++;}}}}for(const _0x235e51 of _0x39be7b){const _0x11186b=_0x49497a['insertions'][_0x235e51];for(const _0x4373e6 of _0x11186b){const _0x53398c=this['_getVidAttributeName'](_0x4373e6),_0x5b51db=_0x4373e6['item']['getAttribute'](_0x53398c);if(_0x27c84f['has'](_0x5b51db)){const _0x58aa99=_0x27c84f['get'](_0x5b51db);_0x3c0665['has'](_0x5b51db)||_0x3c0665['set'](_0x5b51db,{..._0x58aa99}),_0x26a3a7['set'](_0x5b51db,{..._0x58aa99});}}}for(const _0x5d6e22 of _0x3c0665['keys']())_0x5d6e22>=this['_startingRevisionId']&&_0x3c0665['delete'](_0x5d6e22);const _0x44d546=new Map();for(const _0x2a5168 of _0x39be7b){let _0x11caf2=_0x49497a['insertions'][_0x2a5168];for(const _0x4d5e65 of _0x11caf2)if(_0x4d5e65['item']['is']('element','tableCell')){const _0x628994=this['_getVidAttributeName'](_0x4d5e65),_0x18795d=_0x4d5e65['item']['getAttribute'](_0x628994);if(_0x26a3a7['has'](_0x18795d)){const _0x2aa7a1=_0x4d5e65['item']['parent']['parent']['getAttribute']('vid_start'),_0x531367=_0x44d546['get'](_0x2aa7a1)||new Set();_0x531367['add'](_0x26a3a7['get'](_0x18795d)['userId']),_0x44d546['set'](_0x2aa7a1,_0x531367);}}_0x11caf2=_0x49497a['deletions'][_0x2a5168];for(const _0x10614a of _0x11caf2)if(_0x10614a['item']['is']('element','tableCell')){const _0x536cf9=this['_getVidAttributeName'](_0x10614a),_0x4c2afa=_0x10614a['item']['getAttribute'](_0x536cf9);if(_0x3c0665['has'](_0x4c2afa)){const _0xaebf44=_0x10614a['item']['parent']['parent']['getAttribute']('vid_start'),_0xee7fee=_0x44d546['get'](_0xaebf44)||new Set();_0xee7fee['add'](_0x3c0665['get'](_0x4c2afa)['userId']),_0x44d546['set'](_0xaebf44,_0xee7fee);}}for(const _0x14611b of _0x44d546['keys']())(_0x26a3a7['has'](_0x14611b)||_0x3c0665['has'](_0x14611b))&&_0x44d546['delete'](_0x14611b);}for(const _0x17465e of _0x39be7b){const _0x239f6f=_0x49497a['insertions'][_0x17465e];let _0x181b7d=null,_0x604838=null;for(const _0x15b831 of _0x239f6f){const _0x29cec5=this['_getVidAttributeName'](_0x15b831),_0x209f4a=_0x15b831['item']['getAttribute'](_0x29cec5),_0x2bea5c=_0x44d546['get'](_0x209f4a);_0x2bea5c&&'elementStart'==_0x15b831['type']&&(_0x181b7d=Array['from'](_0x2bea5c)[0x0],_0x604838=_0x15b831['item']['getAttribute']('vid_end')),_0x181b7d&&(_0x3c0665['set'](_0x209f4a,{'userId':_0x181b7d}),_0x26a3a7['set'](_0x209f4a,{'userId':_0x181b7d})),_0x209f4a==_0x604838&&(_0x181b7d=null,_0x604838=null);}}const _0x48a213={},_0x43e378=new Set();for(const _0x11549e of _0x39be7b){const _0xe4fbef=_0x45125e['deletions'][_0x11549e],_0x4c07b6=_0x45125e['insertions'][_0x11549e];for(const {userId:_0x58fa12}of this['_touchedMarkers']['values']())null!==_0x58fa12&&_0x43e378['add'](_0x58fa12);for(const {userId:_0x36e3aa}of this['_touchedRoots']['values']())null!==_0x36e3aa&&_0x43e378['add'](_0x36e3aa);this['_markChanges'](_0x4c07b6,_0x49497a['insertions'][_0x11549e],_0x26a3a7,'insertion',_0x43e378),this['_markChanges'](_0xe4fbef,_0x49497a['deletions'][_0x11549e],_0x3c0665,'deletion',_0x43e378),_0x48a213[_0x11549e]={'insertions':this['_prepareViewToSave'](_0x4c07b6),'deletions':this['_prepareViewToSave'](_0xe4fbef),'attachChange':this['_touchedRoots']['get'](_0x11549e)||null,'attributesBefore':_0x535306(this['_baseRootsAttributes']['get'](_0x11549e))||{},'attributesAfter':_0x535306(this['_diffRootsAttributes']['get'](_0x11549e))};}return{'diffData':_0x48a213,'authorsIds':Array['from'](_0x43e378)};}['_processRootBeforeSave'](_0x13212e){for(const [,_0x985a36]of _0x13212e['markers']){const _0x13d1b6=_0x985a36['start']['getAncestors']()['filter'](_0x31ad18=>'tableCell'==_0x31ad18['name']);for(const _0x4d8397 of _0x13d1b6)0x1==_0x4d8397['childCount']&&_0x4d8397['getChild'](0x0)['is']('element','paragraph')&&_0x4d8397['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x3d4920){this['_processRootBeforeSave'](_0x3d4920);const _0x3140b0=this['editor']['data']['toView'](_0x3d4920,{}),_0x3decb9=Array['from'](_0x3140b0['getChildren']())['map'](_0x14caf2=>this['_getViewJson'](_0x14caf2));return JSON['stringify'](_0x3decb9);}['_getViewJson'](_0x277dda){if(_0x277dda['is']('$text'))return _0x277dda['data'];{const _0x31a5a6=_0x277dda;return{'type':Object['keys'](T)['find'](_0x2b7be1=>_0x277dda instanceof T[_0x2b7be1]),'name':_0x31a5a6['name'],'attributes':Array['from'](_0x31a5a6['getAttributes']()),'children':Array['from'](_0x31a5a6['getChildren']())['map'](_0x2d7eed=>this['_getViewJson'](_0x2d7eed))};}}['_markChanges'](_0x131810,_0x84f8aa,_0x210aa8,_0x81e9ad,_0x117395){let _0x2584b3=null,_0x59b83d=null,_0x15d084=0x0;const _0x7a9f71=this['editor']['model'];for(let _0xccc111=0x0;_0xccc111<_0x84f8aa['length'];_0xccc111++){const _0xb2bfdc=this['_getVidAttributeName'](_0x84f8aa[_0xccc111]),_0x159798=_0x84f8aa[_0xccc111]['item']['getAttribute'](_0xb2bfdc),_0x1762fe=_0x210aa8['get'](_0x159798),_0xc3fd4f=_0xccc111==_0x84f8aa['length']-0x1;(!_0x2584b3&&_0x1762fe&&(_0x2584b3=_0x1762fe,_0x59b83d=_0x84f8aa[_0xccc111]),_0x2584b3&&(!_0x1762fe||_0x1762fe['userId']!=_0x2584b3['userId']))&&(_0x860f7c(_0x1762fe,L(_0x59b83d,_0x131810,_0x7a9f71),L(_0x84f8aa[_0xccc111],_0x131810,_0x7a9f71)),_0x2584b3=_0x1762fe||null,_0x59b83d=_0x1762fe?_0x84f8aa[_0xccc111]:null),_0x2584b3&&_0xc3fd4f&&_0x860f7c(_0x1762fe,L(_0x59b83d,_0x131810,_0x7a9f71),W(_0x84f8aa[_0xccc111],_0x131810,_0x7a9f71));}function _0x860f7c(_0x44bd53,_0x15dbc3,_0x559d09){const _0x530516=_0x2584b3['userId'],_0x2e18d4='revision:'+_0x81e9ad+':'+_0x530516+':'+_0x15d084++,_0x521910=_0x7a9f71['createRange'](_0x15dbc3,_0x559d09);_0x131810['markers']['set'](_0x2e18d4,_0x521910),null!==_0x530516&&_0x117395['add'](_0x530516);}}['_getVidAttributeName'](_0x4fcccc){switch(_0x4fcccc['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x29bac6,_0x35f579){_0x29bac6['baseVersion']=null;for(const _0x9b2716 in _0x29bac6){const _0x339d8d=_0x29bac6[_0x9b2716];if(_0x339d8d instanceof gt){const _0x36d2e6=_0x35f579['get'](_0x339d8d['root']['rootName']);_0x29bac6[_0x9b2716]=this['_fixPosition'](_0x339d8d,_0x36d2e6);}if(_0x339d8d instanceof vt){const _0x3a92fc=_0x35f579['get'](_0x339d8d['root']['rootName']);_0x29bac6[_0x9b2716]=this['_fixRange'](_0x339d8d,_0x3a92fc);}'root'===_0x9b2716&&(_0x29bac6['root']=_0x35f579['get'](_0x29bac6['root']['rootName']));}}['_fixRange'](_0x2a0860,_0x23bd54){return this['editor']['model']['createRange'](this['_fixPosition'](_0x2a0860['start'],_0x23bd54),this['_fixPosition'](_0x2a0860['end'],_0x23bd54));}['_fixPosition'](_0x1d0672,_0xefc805){return this['editor']['model']['createPositionFromPath'](_0xefc805,_0x1d0672['path'],_0x1d0672['stickiness']);}['_handleInsertOperation'](_0x412c7d){const _0x55aff8=this['_idsRoots']['get'](_0x412c7d['position']['root']['rootName']),_0x5673f3=this['_fixPosition'](_0x412c7d['position'],_0x55aff8),_0x1e6ba8=null===_0x412c7d['_authorId']?null:_0x412c7d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xe02960=_0x5673f3['parent'],_0x3ac078=this['_revisionId'],_0x30c294=[];for(const _0x23b2ec of _0x412c7d['nodes'])if(_0x23b2ec['is']('element'))_0x30c294['push'](this['_makeIdsRoot'](_0x23b2ec));else{for(let _0x26de08=0x0;_0x26de08<_0x23b2ec['offsetSize'];_0x26de08++)_0x30c294['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x1d243e=this['_revisionId'];for(let _0x21e89d=_0x3ac078;_0x21e89d<_0x1d243e;_0x21e89d++)this['_touched']['set'](_0x21e89d,{'userId':_0x1e6ba8});_0xe02960['_insertChild'](_0x5673f3['offset'],_0x30c294);}['_handleMoveOperation'](_0x1f316a){(_0x1f316a=this['_cloneOperation'](_0x1f316a,this['_idsRoots']))['_execute']();const _0x25cb11=null===_0x1f316a['_authorId']?null:_0x1f316a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xfbee85=_0x1f316a['getMovedRangeStart'](),_0x2036a4=_0xfbee85['parent'],_0x562c29=_0xfbee85['offset'];!function _0x5235da(_0x543c13,_0x347a58,_0x3fdaf2,_0x4c8682){for(let _0x21a4ef=_0x3fdaf2;_0x21a4ef<_0x4c8682;_0x21a4ef++){const _0x414870=_0x347a58['getChild'](_0x21a4ef);_0x414870['is']('element','$text')?_0x543c13['set'](_0x414870['getAttribute']('vid'),{'userId':_0x25cb11}):(_0x543c13['set'](_0x414870['getAttribute']('vid_start'),{'userId':_0x25cb11}),_0x5235da(_0x543c13,_0x414870,0x0,_0x414870['childCount']),_0x543c13['set'](_0x414870['getAttribute']('vid_end'),{'userId':_0x25cb11}));}}(this['_touched'],_0x2036a4,_0x562c29,_0x562c29+_0x1f316a['howMany']);}['_handleMergeOperation'](_0x2e95cc){const _0x4e4595=null===(_0x2e95cc=this['_cloneOperation'](_0x2e95cc,this['_idsRoots']))['_authorId']?null:_0x2e95cc['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1363f8=_0x2e95cc['targetPosition']['parent'],_0x4d45bb=_0x2e95cc['sourcePosition']['parent'],_0x19c731=_0x1363f8['getAttribute']('vid_end'),_0x40c2d2=_0x4d45bb['getAttribute']('vid_start');_0x1363f8['_setAttribute']('vid_end',_0x4d45bb['getAttribute']('vid_end')),_0x4d45bb['_setAttribute']('vid_end',_0x19c731),this['_touched']['set'](_0x40c2d2,{'userId':_0x4e4595}),this['_touched']['set'](_0x19c731,{'userId':_0x4e4595}),_0x2e95cc['_execute']();}['_handleSplitOperation'](_0x529bd9){const _0xc02b60=null===(_0x529bd9=this['_cloneOperation'](_0x529bd9,this['_idsRoots']))['_authorId']?null:_0x529bd9['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x217e13=_0x529bd9['graveyardPosition'],_0x1476ab=_0x529bd9['splitPosition']['parent'];_0x529bd9['_execute']();const _0x3b81e0=_0x1476ab['getAttribute']('vid_end'),_0x93bf06=_0x529bd9['insertionPosition']['nodeAfter'];if(_0x217e13){const _0x19a9fc=_0x93bf06['getAttribute']('vid_end'),_0x21aefb=_0x1476ab['getAttribute']('vid_end');_0x1476ab['_setAttribute']('vid_end',_0x19a9fc),_0x93bf06['_setAttribute']('vid_end',_0x21aefb),this['_touched']['set'](_0x1476ab['getAttribute']('vid_end'),{'userId':_0xc02b60}),this['_touched']['set'](_0x93bf06['getAttribute']('vid_start'),{'userId':_0xc02b60});}else{const _0x231866=this['_revisionId']++,_0x387953=this['_revisionId']++;_0x1476ab['_setAttribute']('vid_end',_0x231866),_0x93bf06['_setAttribute']('vid_start',_0x387953),_0x93bf06['_setAttribute']('vid_end',_0x3b81e0),this['_touched']['set'](_0x231866,{'userId':_0xc02b60}),this['_touched']['set'](_0x387953,{'userId':_0xc02b60});}}['_handleMarkerOperation'](_0x25f46d){if(!_0x25f46d['affectsData'])return;const _0x2a8827=(_0x25f46d=this['_cloneOperation'](_0x25f46d,this['_diffRoots']))['oldRange']?_0x25f46d['oldRange']['root']:null,_0x5c7ea=_0x25f46d['newRange']?_0x25f46d['newRange']['root']:null;_0x2a8827&&this['_markers']['delete'](_0x25f46d['name']),_0x5c7ea&&this['_markers']['set'](_0x25f46d['name'],_0x25f46d['newRange']['clone']());const _0x49eaa1=null===_0x25f46d['_authorId']?null:_0x25f46d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x56f7a4=_0x25f46d['name'];if(!this['_touchedMarkers']['has'](_0x56f7a4))return void this['_touchedMarkers']['set'](_0x56f7a4,{'range':_0x25f46d['oldRange'],'userId':_0x49eaa1});const _0x1f79c8=this['_touchedMarkers']['get'](_0x56f7a4),_0x371905=_0x1f79c8['range'],_0x338f4a=_0x25f46d['newRange'];null==_0x371905&&null==_0x338f4a||_0x371905&&_0x338f4a&&_0x371905['isEqual'](_0x338f4a)?this['_touchedMarkers']['delete'](_0x25f46d['name']):_0x1f79c8['userId']=_0x49eaa1;}['_handleRootOperation'](_0x21b0e6,_0x352c3e){this['_diffRoots']['has'](_0x21b0e6['rootName'])?this['_diffRoots']['get'](_0x21b0e6['rootName'])['_isAttached']=_0x21b0e6['isAdd']:(this['_diffRoots']['set'](_0x21b0e6['rootName'],G(_0x21b0e6['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x21b0e6['rootName'],{}),_0x352c3e&&this['_idsRoots']['set'](_0x21b0e6['rootName'],G(_0x21b0e6['rootName'],!0x0)));const _0x128823=null===_0x21b0e6['_authorId']?null:_0x21b0e6['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4fd052=this['_touchedRoots']['get'](_0x21b0e6['rootName']);_0x4fd052&&_0x4fd052['userId']===_0x128823?this['_touchedRoots']['delete'](_0x21b0e6['rootName']):this['_touchedRoots']['set'](_0x21b0e6['rootName'],{'userId':_0x128823,'isAttached':_0x21b0e6['isAdd']});}['_handleRootAttributeOperation'](_0x2d8fc5){const _0x4032ab=this['_diffRootsAttributes']['get'](_0x2d8fc5['root']['rootName']);null===_0x2d8fc5['newValue']?delete _0x4032ab[_0x2d8fc5['key']]:_0x4032ab[_0x2d8fc5['key']]=_0x2d8fc5['newValue'];}}function q(_0x59e676){const _0x3f3a9d=G(_0x59e676['rootName'],_0x59e676['isAttached']());for(const _0x36a2d5 of _0x59e676['getChildren']()){const _0x419213=_0x36a2d5['_clone'](!0x0);_0x3f3a9d['_appendChild'](_0x419213);}return _0x3f3a9d;}function G(_0x5f1fe5,_0x471e50=!0x0){const _0x422ca8=new wt();return _0x422ca8['rootName']=_0x5f1fe5,_0x422ca8['_isAttached']=_0x471e50,_0x422ca8['isAttached']=()=>_0x422ca8['_isAttached'],_0x422ca8;}function L(_0x1d9506,_0x52c942,_0x1151cc){const _0x2f4f6d='elementEnd'==_0x1d9506['type']?_0x1151cc['createPositionAt'](_0x1d9506['item'],'end'):_0x1151cc['createPositionBefore'](_0x1d9506['item']);return _0x1151cc['createPositionFromPath'](_0x52c942,_0x2f4f6d['path'],_0x2f4f6d['stickiness']);}function W(_0x2c8431,_0x374452,_0x3daa1d){const _0x1c6fa7='elementStart'==_0x2c8431['type']?_0x3daa1d['createPositionAt'](_0x2c8431['item'],0x0):_0x3daa1d['createPositionAfter'](_0x2c8431['item']);return _0x3daa1d['createPositionFromPath'](_0x374452,_0x1c6fa7['path'],_0x1c6fa7['stickiness']);}class ns extends _0x5547bb{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x582b2d,_0x1e7845){super(_0x582b2d),this['focusTracker']=new _0x4ceb66(),this['keystrokes']=new _0xca6bcd(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x1e7845),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}['render'](){super['render'](),_0x131628({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x5262d3=_0x29b3a4=>_0x29b3a4['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5262d3),this['keystrokes']['set']('arrowleft',_0x5262d3),this['keystrokes']['set']('arrowup',_0x5262d3),this['keystrokes']['set']('arrowdown',_0x5262d3);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x33c880){this['revisionNameInputView']['fieldView']['element']['value']=_0x33c880['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x2a752a){const _0x313b78=new at(this['locale'],_0x512977),_0x4aea6a=_0x313b78['fieldView'];_0x4aea6a['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x2c5e55=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x2a752a&&(_0x2c5e55+='\x20('+y(this['locale'],'optional')+')'),(_0x313b78['label']=_0x2c5e55,_0x4aea6a['on']('input',()=>{this['revisionNameInputValue']=_0x4aea6a['element']['value']['trim']();}),_0x313b78);}}class u extends _0x1b9d3f{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x181d1f=this['editor'],_0x398e76=_0x181d1f['plugins']['get']('RevisionTracker');_0x181d1f['ui']['componentFactory']['add']('revisionHistory',_0x360ebc=>{const _0x4ce103=_0x24a46d(_0x360ebc),_0x45ffdd=_0x4ce103['panelView']['children'],_0x43f8a8=new te(_0x360ebc),_0x43caff=new _0x6a9581(_0x360ebc),_0x74796d=new _0x34f9fd(_0x360ebc),_0x553bb4=new _0x6a9581(_0x360ebc),_0x452382=new _0x34f9fd(_0x360ebc);return _0x4ce103['bind']('isEnabled')['to'](_0x398e76,'isReady',_0x398e76,'isEnabled',_0x181d1f,'isReadOnly',(_0x19a126,_0x1e37b4,_0x1d171a)=>_0x19a126&&_0x1e37b4&&!_0x1d171a),_0x4ce103['buttonView']['set']({'icon':_0x52d6db['history'],'label':y(_0x360ebc,'Revision\x20history'),'tooltip':!0x0}),_0x74796d['set']({'label':y(_0x360ebc,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x74796d['bind']('isEnabled')['to'](_0x398e76,'isReady',_0x398e76,'isEnabled',_0x181d1f,'isReadOnly',(_0x3026d1,_0x40e3e1,_0x4bc6be)=>_0x3026d1&&_0x40e3e1&&!_0x4bc6be),_0x74796d['on']('execute',()=>this['_showDialog']()),_0x452382['set']({'label':y(_0x360ebc,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x452382['bind']('isEnabled')['to'](_0x398e76,'isReady',_0x181d1f,'isReadOnly',(_0x43ecdd,_0x1c8ac4)=>_0x43ecdd&&!_0x1c8ac4),_0x452382['on']('execute',()=>{_0x181d1f['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x4ce103['isOpen']=!0x1,_0x181d1f['editing']['view']['focus']();}),_0x43caff['children']['add'](_0x74796d),_0x553bb4['children']['add'](_0x452382),_0x43f8a8['role']='menu',_0x43f8a8['items']['addMany']([_0x43caff,_0x553bb4]),_0x45ffdd['add'](_0x43f8a8),_0x4ce103;}),_0x181d1f['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x4d42c7=this['editor'],_0x2da594=_0x4d42c7['locale'],_0x4acf95=new _0x57ae0a(_0x2da594),_0x330448=new _0x580e46(_0x2da594);_0x4acf95['buttonView']['set']({'icon':_0x52d6db['history'],'label':y(_0x2da594,'Revision\x20history')});const _0x4db9b9=new _0x1a65a0(_0x2da594,_0x4acf95),_0x2af755=new _0x385c3f(_0x2da594);_0x2af755['set']({'label':y(_0x2da594,'Save\x20current\x20revision')}),_0x2af755['delegate']('execute')['to'](_0x4acf95),_0x2af755['on']('execute',()=>{this['_showDialog']();}),_0x4db9b9['children']['add'](_0x2af755),_0x330448['items']['add'](_0x4db9b9);const _0x1c798b=new _0x1a65a0(_0x2da594,_0x4acf95),_0xe78db8=new _0x385c3f(_0x2da594);return _0xe78db8['set']({'label':y(_0x2da594,'Open\x20revision\x20history')}),_0xe78db8['delegate']('execute')['to'](_0x4acf95),_0xe78db8['on']('execute',()=>{_0x4d42c7['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x1c798b['children']['add'](_0xe78db8),_0x330448['items']['add'](_0x1c798b),_0x4acf95['panelView']['children']['add'](_0x330448),_0x4acf95;}['_showDialog'](){const _0x32ee9d=this['editor'],_0x1a7177=_0x32ee9d['locale'],t=_0x1a7177['t'],_0x525179=_0x32ee9d['plugins']['get']('Dialog'),_0x487ccf=_0x32ee9d['plugins']['get']('RevisionTracker');function _0x4cec3e(_0x4b9813){_0x32ee9d['config']['get']('revisionHistory.requireRevisionName')&&''===_0x4b9813['revisionName']?_0x4b9813['revisionNameInputView']['errorText']=y(_0x1a7177,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x32ee9d['plugins']['get'](l)['saveRevision']({'name':_0x4b9813['revisionName']}),_0x525179['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x4cec3e(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x525179['show']({'id':'revisionSave','title':y(_0x1a7177,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x525179['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x33615a){_0x33615a['bind']('isEnabled')['to'](_0x487ccf,'isReady',_0x487ccf,'isEnabled',_0x32ee9d,'isReadOnly',(_0x5c4b16,_0x4ef64e,_0x182e4b)=>_0x5c4b16&&_0x4ef64e&&!_0x182e4b);},'onExecute':()=>_0x4cec3e(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x4c00e5=this['editor'],_0x568648=_0x4c00e5['locale'];this['_saveRevisionFormView']=new ns(_0x568648,_0x4c00e5['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x5547bb{['changeId'];['_model'];constructor(_0x53ab9c,_0x56c4bb){super(_0x53ab9c),this['_model']=_0x56c4bb,this['changeId']=_0x56c4bb['id'];const _0x2bee80=this['bindTemplate'],_0x36d450=y(_0x53ab9c,_0x56c4bb['data']['isSuggestion']?'Suggested\x20by':'add'==_0x56c4bb['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x56c4bb['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x2bee80['to']('type',_0x5ccc8b=>'ck-revision-change__'+_0x5ccc8b)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x36d450}]},{'text':'\x20'+_0x56c4bb['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x3eb282(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x1de1dc){super(),this['id']=_0x1de1dc['id']||_0x46006a(),this['author']=_0x1de1dc['author'],this['type']=_0x1de1dc['type'],this['data']=_0x1de1dc['data']||{},this['rootName']=_0x1de1dc['rootName'],this['set']('createdAt',_0x1de1dc['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class f{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x126244,_0xc48913){this['newRevisionId']=_0x126244,this['oldRevisionId']=_0xc48913,this['changes']=new _0xc1d4ac();}['_setChanges'](_0x2c66ee){for(const _0xe1840e of _0x2c66ee)this['changes']['add'](_0xe1840e);}}const tt={'c':_0x52132d,'a':_0x3b3816,'e':_0x5099a0,'r':_0x4bc8f7,'u':_0x23155e};class d extends _0x1b9d3f{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x164fab,_0x50d74a,A];}constructor(_0x150058){super(_0x150058),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',(_0x146486,_0x598d0c,_0x4fa353)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x51419a=>{for(const _0xa5c894 of this['editor']['editing']['view']['document']['roots'])_0x4fa353?_0x51419a['removeClass']('ck-editor__editable__overlay',_0xa5c894):_0x51419a['addClass']('ck-editor__editable__overlay',_0xa5c894);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x5cc951=>null!==_0x5cc951),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x5d04c7,_0x420390,_0x4f7431)=>_0x5d04c7&&_0x4f7431?_0x420390['changes']['getIndex'](_0x4f7431):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x568af7,_0x1f89bd)=>_0x568af7?_0x1f89bd['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x50d74a);}['init'](){const _0x5952a3=this['editor'],_0x3af5ad=new yt(_0x5952a3,{'direction':'backward'}),_0x53a5dd=new yt(_0x5952a3,{'direction':'forward'});(_0x5952a3['commands']['add']('showPreviousChange',_0x3af5ad),_0x5952a3['commands']['add']('showNextChange',_0x53a5dd),_0x5952a3['commands']['add']('restoreRevision',new bt(_0x5952a3)),this['on']('change:numberOfChanges',()=>{_0x3af5ad['refresh'](),_0x53a5dd['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x5952a3['enableReadOnlyMode']('revision-viewer'),_0x5952a3['plugins']['has']('WidgetToolbarRepository'))&&_0x5952a3['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x3d19c6){await this['loadRevisionData'](_0x3d19c6);const _0x4cfe40={};for(const _0x2cc180 in _0x3d19c6['diffData']){if(_0x3d19c6['diffData'][_0x2cc180]['attachChange']&&!_0x3d19c6['diffData'][_0x2cc180]['attachChange']['isAttached'])continue;const _0x3e9a9d=this['_removeRevisionMarkers'](JSON['parse'](_0x3d19c6['diffData'][_0x2cc180]['insertions'])),_0x15a236=this['editor']['editing']['view']['document'],_0x57c641=new _0x1bfe34(_0x15a236,_0x3e9a9d['map'](_0x50f81e=>this['_getViewObj'](_0x50f81e)));this['editor']['data']['processor']['useFillerType']('marked'),_0x4cfe40[_0x2cc180]=this['editor']['data']['processor']['toData'](_0x57c641),this['editor']['data']['processor']['useFillerType']('default');}return _0x4cfe40;}async['getRevisionRootsAttributes'](_0x35e42d){await this['loadRevisionData'](_0x35e42d);const _0xd5606c={};for(const _0x2b3390 in _0x35e42d['diffData'])_0x35e42d['diffData'][_0x2b3390]['attachChange']&&!_0x35e42d['diffData'][_0x2b3390]['attachChange']['isAttached']||(_0xd5606c[_0x2b3390]=_0x35e42d['diffData'][_0x2b3390]['attributesAfter']||{});return _0xd5606c;}['_removeRevisionMarkers'](_0x4dc454){return(_0x4dc454=_0x4dc454['filter'](_0x4a57b4=>!_0x4a57b4['name']||'revision-start'!==_0x4a57b4['name']&&'revision-end'!==_0x4a57b4['name']))['forEach'](_0x1f4214=>{'string'!=typeof _0x1f4214&&(_0x1f4214['children']=this['_removeRevisionMarkers'](_0x1f4214['children']),_0x1f4214['attributes']=_0x1f4214['attributes']['filter'](_0x2abae6=>!_0x2abae6[0x0]['startsWith']('data-revision-')));}),_0x4dc454;}async['compare'](_0x461d94,_0x4d30c3,_0x1a16c5=!0x1){if(!this['isEnabled'])return;const _0x514003=this['diff'],_0x58fae3=this['repository'],_0x282291='string'==typeof _0x461d94?_0x58fae3['getRevision'](_0x461d94):_0x461d94,_0x1fb014='string'==typeof _0x4d30c3?_0x58fae3['getRevision'](_0x4d30c3):_0x4d30c3,_0x350033=_0x282291['id'],_0x2652e7=_0x1fb014?_0x1fb014['id']:null;if(!_0x1a16c5&&this['diff']&&this['diff']['newRevisionId']===_0x350033&&this['diff']['oldRevisionId']===_0x2652e7)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x350033,_0x2652e7);const _0x3eb412=this['_getRevisionsRange'](_0x282291,_0x1fb014,!0x0)['map'](_0x27faca=>this['loadRevisionData'](_0x27faca));return _0x3eb412['push'](new Promise(_0x445495=>{setTimeout(_0x445495,0x14);})),Promise['all'](_0x3eb412)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x27de70=this['_getDiff'](_0x350033,_0x2652e7);for(const _0x562fb2 of _0x27de70['changes'])this['_changeIdToChange']['set'](_0x562fb2['id'],_0x562fb2);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x309624=>{for(const _0x243ec5 of this['editor']['model']['document']['getRootNames']())_0x309624['detachRoot'](_0x243ec5);for(const _0x65177a of Object['keys'](_0x27de70['model'])){const _0x58d083=_0x309624['addRoot'](_0x65177a);for(const _0x140a0a of Object['keys'](_0x27de70['attributes'][_0x65177a]))_0x309624['setAttribute'](_0x140a0a,_0x27de70['attributes'][_0x65177a][_0x140a0a],_0x58d083);_0x309624['insert'](_0x27de70['model'][_0x65177a],_0x58d083,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x27de70['changes'])),this['isReady']=!0x0;})['catch'](_0x46bfb5=>{console['error'](_0x46bfb5),this['_cleanUp'](),_0x514003&&(this['diff']=_0x514003),this['isReady']=!0x0;});}['addRevisionData'](_0x26cdb2,_0x524bfc){const _0x4e8a5f=this['repository']['createRevision'](_0x26cdb2);return _0x4e8a5f['on']('_update',(_0x4abf63,_0x561e53,_0x294e8a)=>_0x524bfc(_0x561e53,_0x294e8a,_0x4e8a5f)),this['repository']['addRevision'](_0x4e8a5f),_0x4e8a5f;}['loadRevisionData'](_0xf8aea0){if(!_0xf8aea0||_0xf8aea0['diffData'])return Promise['resolve']();{const _0x435b23=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x435b23,'revisionId':_0xf8aea0['id']})['then'](_0x5b3173=>{_0xf8aea0['_update']({'diffData':_0x5b3173['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},_0x7b0573=>{for(const _0x580c20 of this['editor']['model']['document']['getRootNames']())_0x7b0573['detachRoot'](_0x580c20);});}['_sortAndFilterDiffChanges'](_0x2066cc){const _0x144384=[],_0x44fc52=new Map();for(const _0x2e07af of this['editor']['model']['document']['getRootNames']()){const _0x16be48=this['editor']['editing']['view']['getDomRoot'](_0x2e07af);if(!_0x16be48)continue;const _0x2e63e4=_0x16be48['getClientRects']()['item'](0x0);_0x2e63e4&&(_0x144384['push'](_0x2e07af),_0x44fc52['set'](_0x2e07af,_0x2e63e4));}return _0x144384['sort']((_0x4fc1dc,_0x52a443)=>{const _0x5d7ada=_0x44fc52['get'](_0x4fc1dc),_0x59eb0a=_0x44fc52['get'](_0x52a443);return _0x5d7ada['y']-_0x59eb0a['y']||_0x5d7ada['x']-_0x59eb0a['x'];}),(_0x2066cc=_0x2066cc['filter'](_0x3a42ab=>_0x144384['includes'](_0x3a42ab['rootName'])))['sort']((_0x41e908,_0x316002)=>_0x144384['indexOf'](_0x41e908['rootName'])-_0x144384['indexOf'](_0x316002['rootName'])),_0x2066cc;}['_makeTape'](_0x4f080d){const _0x2b074b=Array['from'](_0x4f080d['markers'])['filter'](([_0x2ed2b3,_0x309662])=>_0x2ed2b3['startsWith']('revision:')&&!_0x309662['isCollapsed']),_0x343363=Array['from'](this['editor']['model']['createRangeIn'](_0x4f080d)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x2b074b['length'])for(const _0x4daf54 of _0x343363){const [_0x42f8a1,_0x38d8b5]=_0x2b074b[0x0],[,_0x5e0f92,_0x3cc7f4]=_0x42f8a1['split'](':');if(_0x38d8b5['end']['isEqual'](_0x4daf54['nextPosition'])&&_0x2b074b['shift'](),(_0x4daf54['previousPosition']['isEqual'](_0x38d8b5['start'])||_0x4daf54['previousPosition']['isAfter'](_0x38d8b5['start']))&&('insertion'==_0x5e0f92?_0x4daf54['isAdded']={'userId':_0x3cc7f4}:'deletion'==_0x5e0f92&&(_0x4daf54['isRemoved']={'userId':_0x3cc7f4})),0x0==_0x2b074b['length'])break;}return _0x343363;}['_refreshStartEndIndex'](_0xf96965){const _0x1d35af=new Map();for(let _0x7e0bbd=0x0;_0x7e0bbd<_0xf96965['length'];_0x7e0bbd++)'text'===_0xf96965[_0x7e0bbd]['type']?(_0xf96965[_0x7e0bbd]['item']['startIndex']=_0x7e0bbd,_0xf96965[_0x7e0bbd]['item']['endIndex']=_0x7e0bbd):('elementStart'===_0xf96965[_0x7e0bbd]['type']?_0xf96965[_0x7e0bbd]['item']['startIndex']=_0x7e0bbd:'elementEnd'===_0xf96965[_0x7e0bbd]['type']&&(_0xf96965[_0x7e0bbd]['item']['endIndex']=_0x7e0bbd),_0x1d35af['set'](_0xf96965[_0x7e0bbd]['id'],_0x7e0bbd));for(const _0x557d9b of _0x1d35af['values']())'elementStart'===_0xf96965[_0x557d9b]['type']?_0xf96965[_0x557d9b]['item']['endIndex']=_0x1d35af['get'](_0xf96965[_0x557d9b]['pairId']):'elementEnd'===_0xf96965[_0x557d9b]['type']&&(_0xf96965[_0x557d9b]['item']['startIndex']=_0x1d35af['get'](_0xf96965[_0x557d9b]['pairId']));}['_processTape'](_0x29a69b){for(let _0x529043=0x0;_0x529043<_0x29a69b['length'];_0x529043++){if('elementStart'===_0x29a69b[_0x529043]['type'])_0x29a69b[_0x529043]['item']['startIndex']=_0x529043;else{if('elementEnd'===_0x29a69b[_0x529043]['type']){_0x29a69b[_0x529043]['item']['endIndex']=_0x529043;const _0x19ec62=_0x29a69b[_0x529043]['item']['startIndex'];_0x29a69b[_0x19ec62]['pairId']=_0x29a69b[_0x529043]['id'],_0x29a69b[_0x529043]['pairId']=_0x29a69b[_0x19ec62]['id'];}else _0x29a69b[_0x529043]['item']['startIndex']=_0x529043,_0x29a69b[_0x529043]['item']['endIndex']=_0x529043,_0x29a69b[_0x529043]['pairId']=null;}_0x29a69b[_0x529043]['markersStart']||(_0x29a69b[_0x529043]['markersStart']=[],_0x29a69b[_0x529043]['markersEnd']=[]);}}['_markInsertions'](_0x3cde5e,_0x191733){const _0x72958=_0x3cde5e['filter'](_0x19bf2c=>!_0x19bf2c['isAdded']);for(let _0x1b4f5a=0x0;_0x1b4f5a<_0x191733['length'];_0x1b4f5a++)_0x191733[_0x1b4f5a]['isAdded']&&(_0x72958[_0x1b4f5a]['isAdded']=_0x191733[_0x1b4f5a]['isAdded']);}['_makeModelFromViewString'](_0x141e8c){const _0x336678=JSON['parse'](_0x141e8c),_0x60a953=this['editor']['editing']['view']['document'],_0x2cdc8d=new _0x1bfe34(_0x60a953,_0x336678['map'](_0x32688d=>this['_getViewObj'](_0x32688d)));return this['editor']['data']['toModel'](_0x2cdc8d);}['_getViewObj'](_0x14105c){const _0x32ad4a=this['editor']['editing']['view']['document'];if('string'==typeof _0x14105c)return new _0x1469cc(_0x32ad4a,_0x14105c);{const _0x194cc5=_0x14105c['children']['map'](_0x468bd1=>this['_getViewObj'](_0x468bd1));return new(tt[_0x14105c['type']]||_0x4b2c33)(_0x32ad4a,_0x14105c['name'],_0x14105c['attributes'],_0x194cc5);}}['_getDiff'](_0x1fbd46,_0x3aa55b=null){const _0x11e0fe=this['repository']['getRevision'](_0x1fbd46),_0x25b74f=_0x3aa55b?this['repository']['getRevision'](_0x3aa55b):null,_0x51ffb0=this['_getRevisionsRange'](_0x11e0fe,_0x25b74f),_0x12c307=_0x51ffb0[_0x51ffb0['length']-0x1],_0x3b5dc5=new Map(),_0x20a12={'model':{},'attributes':{},'changes':[]},_0x50bdbd=new Set(),_0x3c0cb4=new Map();for(let _0x1c529b=_0x51ffb0['length']-0x1;_0x1c529b>=0x0;_0x1c529b--){const _0x530d4b=_0x51ffb0[_0x1c529b];for(const _0x3c8260 of Object['keys'](_0x530d4b['diffData']))if(_0x530d4b['diffData'][_0x3c8260]['attachChange']){const _0xf92da=_0x530d4b['diffData'][_0x3c8260]['attachChange'];_0xf92da['isAttached']?(_0x50bdbd['add'](_0x3c8260),_0x3c0cb4['has'](_0x3c8260)&&_0x3c0cb4['get'](_0x3c8260)['userId']==_0xf92da['userId']?_0x3c0cb4['delete'](_0x3c8260):_0x3c0cb4['set'](_0x3c8260,_0xf92da)):_0x3c0cb4['has'](_0x3c8260)?(_0x50bdbd['delete'](_0x3c8260),_0x3c0cb4['delete'](_0x3c8260)):(_0x50bdbd['add'](_0x3c8260),_0x3c0cb4['set'](_0x3c8260,_0xf92da));}else _0x50bdbd['add'](_0x3c8260);}for(const _0x387f3a of _0x50bdbd){const _0x48a722=_0x3c0cb4['has'](_0x387f3a)&&!_0x3c0cb4['get'](_0x387f3a)['isAttached'];let _0x500406=_0x48a722?_0x51ffb0['length']-0x1:0x0;const _0x4559a0=_0x48a722?-0x1:0x1;for(;_0x51ffb0[_0x500406];){const _0x58e597=_0x51ffb0[_0x500406];if(_0x58e597['diffData'][_0x387f3a]){const _0x502031=_0x48a722?_0x58e597['diffData'][_0x387f3a]['attributesBefore']:_0x58e597['diffData'][_0x387f3a]['attributesAfter'];_0x20a12['attributes'][_0x387f3a]=_0x502031?_0x535306(_0x502031):{};break;}_0x500406+=_0x4559a0;}}for(const _0x52248b of _0x51ffb0){_0x52248b['model']={};for(const _0x12709c of _0x52248b['authors'])_0x3b5dc5['set'](_0x12709c['id'],_0x12709c);for(const _0x2a6856 of _0x50bdbd){const _0x5a28e3=_0x52248b['diffData'][_0x2a6856]?_0x52248b['diffData'][_0x2a6856]['insertions']:'[]',_0x4aa8c0=_0x52248b['diffData'][_0x2a6856]?_0x52248b['diffData'][_0x2a6856]['deletions']:'[]';_0x52248b['model'][_0x2a6856]={'insertions':this['_makeModelFromViewString'](_0x5a28e3),'deletions':this['_makeModelFromViewString'](_0x4aa8c0)};}}for(const _0x3c9150 of _0x50bdbd){let _0x4d22c8=null,_0x5e173a=0x0;const _0x3c1605=new Map(Array['from'](_0x11e0fe['model'][_0x3c9150]['insertions']['markers'])['filter'](([_0x456afe])=>!_0x456afe['startsWith']('revision:')));let _0x13a6f0=0x0;for(const _0x22f8e2 of _0x51ffb0){const _0x3aa7ad=this['_makeTape'](_0x22f8e2['model'][_0x3c9150]['insertions']);_0x22f8e2==_0x11e0fe?(_0x4d22c8=_0x3aa7ad,_0x5e173a=_0x4d22c8['length'],_0x4d22c8['forEach'](_0x5b2e3b=>{_0x5b2e3b['id']=_0x13a6f0++;}),this['_processTape'](_0x4d22c8)):this['_markInsertions'](_0x4d22c8,_0x3aa7ad);const _0x28dd98=_0x4d22c8['filter'](_0x105976=>!_0x105976['isAdded'])['map'](_0x3680e=>_0x3680e['id']);let _0x205b71=0x0;const _0x4fc1d7=this['_makeTape'](_0x22f8e2['model'][_0x3c9150]['deletions']);_0x4fc1d7['forEach'](_0x29aa9d=>{_0x29aa9d['isRemoved']?_0x29aa9d['id']=_0x5e173a++:_0x29aa9d['id']=_0x28dd98[_0x205b71++];}),this['_processTape'](_0x4fc1d7),this['_setDistance'](_0x4d22c8,'isAdded'),this['_setDistance'](_0x4fc1d7,'isRemoved'),_0x22f8e2==_0x11e0fe&&this['_markMarkers'](_0x4d22c8,_0x3c1605),_0x4d22c8=this['_joinTapes'](_0x4d22c8,_0x4fc1d7),this['_refreshStartEndIndex'](_0x4d22c8),this['_setDistance'](_0x4d22c8,'isRemoved');}_0x4d22c8=_0x4d22c8['filter'](_0x2eb0c0=>!(_0x2eb0c0['isAdded']&&_0x2eb0c0['isRemoved']));const _0x50da4f=new Map(_0x12c307['model'][_0x3c9150]['deletions']['markers']),_0xf18493=new Set(_0x3c1605['keys']());for(const _0x291a8e of _0x50da4f['keys']())_0xf18493['delete'](_0x291a8e);this['_markSuggestions'](_0x4d22c8,_0xf18493),this['_fixObsoleteTags'](_0x4d22c8),_0x4d22c8=this['_removeMissingPairs'](_0x4d22c8),_0x4d22c8=this['_markMismatchedRemovedTags'](_0x4d22c8),_0x4d22c8=this['_removeUnsupportedChanges'](_0x4d22c8);const {root:_0xf79815,changes:_0xd4f446}=this['_makeModelFromTape'](_0x4d22c8,_0x3b5dc5,_0x3c9150);_0x20a12['model'][_0x3c9150]=_0xf79815;const _0x5ec3e5=_0x3c0cb4['get'](_0x3c9150);if(_0x5ec3e5){const _0x1661ae=_0x3b5dc5['get'](_0x5ec3e5['userId']),_0x4832be=new r({'author':_0x1661ae,'type':_0x5ec3e5['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x3c9150});_0xd4f446['unshift'](_0x4832be),_0x20a12['attributes'][_0x3c9150]['revisionHistoryAttachChange']=_0x4832be['id'];}_0x20a12['changes']=_0x20a12['changes']['concat'](_0xd4f446);}return _0x20a12;}['_markMarkers'](_0x257b71,_0x22da67){for(let _0x18a67b=0x0;_0x18a67b<_0x257b71['length'];_0x18a67b++)for(const [_0x4f11c5,_0x3fe3d3]of _0x22da67)_0x3fe3d3['start']['isEqual'](_0x257b71[_0x18a67b]['previousPosition'])&&_0x257b71[_0x18a67b]['markersStart']['push'](_0x4f11c5),_0x3fe3d3['end']['isEqual'](_0x257b71[_0x18a67b]['nextPosition'])&&_0x257b71[_0x18a67b]['markersEnd']['push'](_0x4f11c5);}['_joinTapes'](_0x65b0dc,_0x4bb504){let _0x2b1f87=[],_0x49f5b6=0x0,_0x1c1de6=0x0;for(;_0x49f5b6<_0x65b0dc['length']||_0x1c1de6<_0x4bb504['length'];){const _0x13c188=_0x65b0dc[_0x49f5b6]||{},_0x153681=_0x4bb504[_0x1c1de6]||{};if(_0x13c188['id']==_0x153681['id'])_0x49f5b6++,_0x1c1de6++,_0x2b1f87['push'](_0x13c188);else{if(_0x153681['isRemoved']&&_0x13c188['isAdded']){const {commonTape:_0x5c2232,iEnd:_0x28e210,jEnd:_0x25a334}=this['_threeWayMerge'](_0x65b0dc,_0x49f5b6,_0x4bb504,_0x1c1de6);_0x2b1f87=_0x2b1f87['concat'](_0x5c2232),_0x49f5b6=_0x28e210,_0x1c1de6=_0x25a334;}else _0x153681['isRemoved']?(_0x1c1de6++,_0x2b1f87['push'](_0x153681)):(_0x49f5b6++,_0x2b1f87['push'](_0x13c188));}}return _0x2b1f87;}['_markSuggestions'](_0x1108f2,_0x3fc434){const _0x15a070=[];for(let _0x4afe23=0x0;_0x4afe23<_0x1108f2['length'];_0x4afe23++){for(let _0x351cf8=0x0;_0x351cf8<_0x1108f2[_0x4afe23]['markersStart']['length'];_0x351cf8++){const _0x44a9eb=_0x1108f2[_0x4afe23]['markersStart'][_0x351cf8];if(!_0x3fc434['has'](_0x44a9eb))continue;const {group:_0x4c3a30,type:_0x6a45b8,authorId:_0x3e6da4}=_0xaf5b67(_0x44a9eb);'revision-suggestion'!=_0x4c3a30||'insertion'!=_0x6a45b8&&'deletion'!=_0x6a45b8||(_0x15a070['unshift']({'type':_0x6a45b8,'name':_0x44a9eb,'userId':_0x3e6da4}),_0x1108f2[_0x4afe23]['markersStart']['splice'](_0x351cf8,0x1),_0x351cf8--);}_0x358b70(_0x1108f2[_0x4afe23]);for(let _0x2d1053=0x0;_0x2d1053<_0x1108f2[_0x4afe23]['markersEnd']['length'];_0x2d1053++){const _0x3b5fad=_0x1108f2[_0x4afe23]['markersEnd'][_0x2d1053];if(!_0x3fc434['has'](_0x3b5fad))continue;const {group:_0x4b0094,type:_0x1203ec}=_0xaf5b67(_0x3b5fad);if('revision-suggestion'!=_0x4b0094||'insertion'!=_0x1203ec&&'deletion'!=_0x1203ec)continue;_0x1108f2[_0x4afe23]['markersEnd']['splice'](_0x2d1053,0x1),_0x2d1053--;const _0x249e50=_0x15a070['findIndex'](_0x39d8b3=>_0x39d8b3['name']==_0x3b5fad);_0x249e50>-0x1&&_0x15a070['splice'](_0x249e50,0x1);}}function _0xaf5b67(_0x14a350){const _0x4d6fcc=_0x14a350['split'](':');return{'group':_0x4d6fcc[0x0],'type':_0x4d6fcc[0x1],'subType':_0x4d6fcc['length']>=0x5?_0x4d6fcc[0x2]:null,'id':_0x4d6fcc['length']<0x5?_0x4d6fcc[0x2]:_0x4d6fcc[0x3],'authorId':_0x4d6fcc['length']<0x5?_0x4d6fcc[0x3]:_0x4d6fcc[0x4],'markerCount':0x6==_0x4d6fcc['length']?_0x4d6fcc[0x5]:null};}function _0x358b70(_0xf9973a){for(let _0x3a45dc=0x0;_0x3a45dc<_0x15a070['length'];_0x3a45dc++){if(_0xf9973a['isAdded']&&'insertion'==_0x15a070[_0x3a45dc]['type'])return _0xf9973a['isAddSuggestion']=_0x15a070[_0x3a45dc],void delete _0xf9973a['isAdded'];if(!_0xf9973a['isAdded']&&!_0xf9973a['isRemoved']&&'deletion'==_0x15a070[_0x3a45dc]['type'])return void(_0xf9973a['isRemoveSuggestion']=_0x15a070[_0x3a45dc]);}}}['_setDistance'](_0x5e671d,_0x49ecd7){let _0xe453fe=0x0,_0xc0769d=!0x1;const _0x49d2ee=new Map();for(const _0x5c4cff of _0x5e671d)_0x5c4cff[_0x49ecd7]?_0xc0769d&&(_0xe453fe++,_0xc0769d=!0x1):(_0xe453fe++,_0xc0769d=!0x0),_0x49d2ee['set'](_0x5c4cff['id'],_0xe453fe);for(let _0x2746c9=0x0;_0x2746c9<_0x5e671d['length'];_0x2746c9++){if('isRemoved'==_0x49ecd7&&_0x5e671d[_0x2746c9]['isAdded']||'isAdded'==_0x49ecd7&&_0x5e671d[_0x2746c9]['isRemoved'])continue;if('text'==_0x5e671d[_0x2746c9]['type']){_0x5e671d[_0x2746c9]['distance']=0x0;continue;}const _0x7bcb3b=_0x49d2ee['get'](_0x5e671d[_0x2746c9]['pairId']),_0x329fcd=_0x49d2ee['get'](_0x5e671d[_0x2746c9]['id']);_0x5e671d[_0x2746c9]['distance']=_0x7bcb3b-_0x329fcd;}}['_getRevisionsRange'](_0x2f2529,_0x383250,_0x3208f3=!0x1){const _0x4413b0=[];let _0xe347f2=this['repository']['getIndex'](_0x2f2529),_0x2adcb4=this['repository']['getIndex'](_0x383250);for(-0x1==_0x2adcb4&&(_0x2adcb4=this['repository']['_revisions']['length'],_0x3208f3=!0x1);_0xe347f2<_0x2adcb4;)_0x4413b0['push'](this['repository']['getRevision'](_0xe347f2)),_0xe347f2++;return _0x3208f3&&_0x4413b0['push'](this['repository']['getRevision'](_0xe347f2)),_0x4413b0;}['_threeWayMerge'](_0x52200c,_0x1a3204,_0x3a92ef,_0x306162){const _0x13e9bf=this['editor']['model']['schema'];let _0x486408=_0x1a3204;for(;_0x52200c[_0x486408]&&_0x52200c[_0x486408]['isAdded'];)_0x486408++;let _0x532ac5=_0x306162;for(;_0x3a92ef[_0x532ac5]&&_0x3a92ef[_0x532ac5]['isRemoved'];)_0x532ac5++;_0x5ad0b6(_0x52200c,_0x1a3204,_0x486408),_0x5ad0b6(_0x3a92ef,_0x306162,_0x532ac5);const _0x2af5f5=_0x3a92ef['slice'](_0x306162,_0x532ac5)['concat'](_0x52200c['slice'](_0x1a3204,_0x486408));return _0x2af5f5['sort']((_0x417993,_0x55ff91)=>_0x417993['side']!=_0x55ff91['side']?_0x417993['side']-_0x55ff91['side']:_0x417993['level']!=_0x55ff91['level']?_0x417993['level']-_0x55ff91['level']:_0x417993['distance']!=_0x55ff91['distance']?_0x55ff91['distance']-_0x417993['distance']:!!_0x417993['isAdded']!=!!_0x55ff91['isAdded']?-0x1==_0x417993['side']||0x0==_0x417993['side']?_0x417993['isAdded']?-0x1:0x1:_0x417993['isAdded']?0x1:-0x1:_0x417993['index']-_0x55ff91['index']),{'commonTape':_0x2af5f5,'iEnd':_0x486408,'jEnd':_0x532ac5};function _0x5ad0b6(_0x10011a,_0x2714c2,_0x17be5e){let _0x20a3dd=-0x1,_0x491917=Number['POSITIVE_INFINITY'],_0x5885a1=!0x0;for(let _0x404cd9=_0x2714c2;_0x404cd9<_0x17be5e;_0x404cd9++)if(_0x13e9bf['isInline'](_0x10011a[_0x404cd9]['item'])||(_0x5885a1=!0x1),_0x10011a[_0x404cd9]['item']['startIndex']<_0x2714c2&&(_0x20a3dd=_0x404cd9),_0x10011a[_0x404cd9]['item']['endIndex']>=_0x17be5e){_0x491917=_0x404cd9;break;}_0x5885a1&&(_0x20a3dd=_0x17be5e-0x1);for(let _0x12f9fa=_0x2714c2;_0x12f9fa<_0x17be5e;_0x12f9fa++)_0x10011a[_0x12f9fa]['side']=_0x12f9fa<=_0x20a3dd?-0x1:_0x12f9fa<_0x491917?0x0:0x1,_0x10011a[_0x12f9fa]['index']=_0x12f9fa;let _0x32666a=0x0;for(let _0x460c29=_0x2714c2;_0x460c29<=_0x20a3dd;_0x460c29++)0x0==_0x10011a[_0x460c29]['distance']?_0x10011a[_0x460c29]['level']=_0x32666a:(_0x32666a++,_0x10011a[_0x460c29]['level']=_0x32666a,_0x32666a++);for(let _0xb3b5d9=_0x2714c2;_0xb3b5d9<_0x17be5e;_0xb3b5d9++)0x0==_0x10011a[_0xb3b5d9]['side']&&(_0x10011a[_0xb3b5d9]['level']=_0x32666a);_0x32666a=0x0;for(let _0x2fbd5b=_0x17be5e-0x1;_0x2fbd5b>=_0x491917;_0x2fbd5b--)0x0==_0x10011a[_0x2fbd5b]['distance']?_0x10011a[_0x2fbd5b]['level']=_0x32666a:(_0x32666a--,_0x10011a[_0x2fbd5b]['level']=_0x32666a,_0x32666a--);}}['_fixObsoleteTags'](_0x5ae632){const _0x262a38=new Map(),_0x113e4d=this['editor']['model']['schema'];for(let _0x67c398=0x1;_0x67c398<_0x5ae632['length'];_0x67c398++){let _0x57c7b5,_0x22bd81,_0x1544e4;const _0x2d4fdc=_0x5ae632[_0x67c398],_0x1cd4e0=_0x5ae632[_0x67c398-0x1];if('text'==_0x2d4fdc['type'])continue;if(_0x2d4fdc['type']!=_0x1cd4e0['type'])continue;if(!_0x113e4d['isBlock'](_0x1cd4e0['item'])||_0x113e4d['isLimit'](_0x1cd4e0['item']))continue;if(!_0x113e4d['isBlock'](_0x2d4fdc['item'])||_0x113e4d['isLimit'](_0x2d4fdc['item']))continue;if((_0x5ae632[_0x67c398]['isAdded']||_0x5ae632[_0x67c398]['isAddSuggestion'])&&_0x5ae632[_0x67c398-0x1]['isRemoved'])_0x57c7b5=_0x5ae632[_0x67c398],_0x22bd81=_0x5ae632[_0x67c398-0x1],_0x1544e4=_0x67c398-0x1;else{if(!_0x5ae632[_0x67c398]['isRemoved']||!_0x5ae632[_0x67c398-0x1]['isAdded']&&!_0x5ae632[_0x67c398-0x1]['isAddSuggestion'])continue;_0x57c7b5=_0x5ae632[_0x67c398-0x1],_0x22bd81=_0x5ae632[_0x67c398],_0x1544e4=_0x67c398;}const _0x11a1dc=_0x57c7b5['level']==_0x22bd81['level'],_0x31601b=Math['abs'](_0x57c7b5['level'])<Math['abs'](_0x22bd81['level'])&&0x0==_0x22bd81['distance'];(_0x11a1dc||_0x31601b)&&(_0x262a38['set'](_0x22bd81['id'],_0x57c7b5['id']),_0x5ae632['splice'](_0x1544e4,0x1),_0x67c398--,_0x57c7b5['isAdded']=!0x1);}for(let _0x5247c0=0x0;_0x5247c0<_0x5ae632['length'];_0x5247c0++)_0x262a38['has'](_0x5ae632[_0x5247c0]['pairId'])&&(_0x5ae632[_0x5247c0]['pairId']=_0x262a38['get'](_0x5ae632[_0x5247c0]['pairId']));}['_removeMissingPairs'](_0x25e893){const _0x2001e9=new Set(_0x25e893['map'](_0x423572=>_0x423572['id']));for(let _0x753659=0x0;_0x753659<_0x25e893['length'];_0x753659++)_0x2001e9['has'](_0x25e893[_0x753659]['pairId'])||0x0==_0x25e893[_0x753659]['distance']||(_0x25e893[_0x753659]['isIncorrect']=!0x0);return _0x25e893['filter'](_0x4159d3=>!_0x4159d3['isIncorrect']);}['_markMismatchedRemovedTags'](_0x103b19){const _0x598246=new Set();for(let _0x44bdd3=0x0;_0x44bdd3<_0x103b19['length'];_0x44bdd3++){if(_0x598246['has'](_0x103b19[_0x44bdd3]['id'])&&_0x103b19[_0x44bdd3]['isRemoved']&&(_0x103b19[_0x44bdd3]['isIncorrect']=!0x0),_0x103b19[_0x44bdd3]['isIncorrect'])continue;if(0x0==_0x103b19[_0x44bdd3]['distance'])continue;if('elementStart'!=_0x103b19[_0x44bdd3]['type'])continue;if(null==_0x103b19[_0x44bdd3]['pairId'])continue;let _0x5e5e0a=_0x44bdd3+0x1,_0x12e76f=0x0;for(;_0x103b19[_0x5e5e0a]['id']!=_0x103b19[_0x44bdd3]['pairId'];)'elementStart'==_0x103b19[_0x5e5e0a]['type']?_0x12e76f++:'elementEnd'==_0x103b19[_0x5e5e0a]['type']&&_0x12e76f--,_0x5e5e0a++;if(0x0!=_0x12e76f){if(_0x103b19[_0x44bdd3]['isRemoved'])_0x103b19[_0x44bdd3]['isIncorrect']=!0x0;else{for(;_0x5e5e0a!=_0x44bdd3;)_0x103b19[_0x5e5e0a]['isRemoved']&&0x0!=_0x103b19[_0x5e5e0a]['distance']&&(_0x103b19[_0x5e5e0a]['isIncorrect']=!0x0,_0x598246['add'](_0x103b19[_0x5e5e0a]['pairId'])),_0x5e5e0a--;}}}return _0x103b19['filter'](_0xe56990=>!_0xe56990['isIncorrect']);}['_removeUnsupportedChanges'](_0xe5085){const _0x36f4b2=this['editor']['model']['schema'];for(let _0x5c4183=0x0;_0x5c4183<_0xe5085['length'];_0x5c4183++){if(!(_0xe5085[_0x5c4183]['isAdded']||_0xe5085[_0x5c4183]['isAddSuggestion']||_0xe5085[_0x5c4183]['isRemoved']||_0xe5085[_0x5c4183]['isRemoveSuggestion']))continue;if(0x0==_0xe5085[_0x5c4183]['distance'])continue;const _0x23d14e=_0xe5085[_0x5c4183]['item'];_0x36f4b2['isBlock'](_0x23d14e)||_0x36f4b2['isLimit'](_0x23d14e)||(_0xe5085[_0x5c4183]['isAdded']&&delete _0xe5085[_0x5c4183]['isAdded'],_0xe5085[_0x5c4183]['isAddSuggestion']&&delete _0xe5085[_0x5c4183]['isAddSuggestion'],_0xe5085[_0x5c4183]['isRemoveSuggestion']&&delete _0xe5085[_0x5c4183]['isRemoveSuggestion'],_0xe5085[_0x5c4183]['isRemoved']&&(_0xe5085[_0x5c4183]['isIncorrect']=!0x0));}return _0xe5085['filter'](_0x3267b7=>!_0x3267b7['isIncorrect']);}['_makeModelFromTape'](_0x59ac04,_0x5e750d,_0x45aba9){const _0x70617d=new wt(),_0x4f7a91=[],_0x4a1584=new Map(),_0xa33d91=this['editor']['model'],_0x30568c=_0xa33d91['schema'],_0x199cb8=[_0x70617d],_0x53bed9={},_0x1dd121={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x58b8a6=null;const _0x3d4759=[0x0];for(let _0x4e8664=0x0;_0x4e8664<_0x59ac04['length'];_0x4e8664++){let _0x22b773,_0x4a3ff4;if('elementStart'===_0x59ac04[_0x4e8664]['type']){_0x22b773=_0xa33d91['createPositionFromPath'](_0x70617d,_0x3d4759);const _0x5879f7=new ft(_0x59ac04[_0x4e8664]['item']['name'],_0x59ac04[_0x4e8664]['item']['getAttributes']());_0x199cb8[0x0]['_appendChild'](_0x5879f7),_0x3d4759['push'](0x0),_0x199cb8['unshift'](_0x5879f7),_0x4a3ff4=_0xa33d91['createPositionFromPath'](_0x70617d,_0x3d4759),_0x58b8a6=null;}else{if('elementEnd'===_0x59ac04[_0x4e8664]['type'])_0x199cb8['shift'](),_0x22b773=_0xa33d91['createPositionFromPath'](_0x70617d,_0x3d4759),_0x3d4759['pop'](),_0x3d4759[_0x3d4759['length']-0x1]++,_0x4a3ff4=_0xa33d91['createPositionFromPath'](_0x70617d,_0x3d4759),_0x58b8a6=null;else{if(_0x22b773=_0xa33d91['createPositionFromPath'](_0x70617d,_0x3d4759),_0x58b8a6&&_0x3ac606(_0x58b8a6,_0x59ac04[_0x4e8664]['item']))_0x58b8a6['_data']+=_0x59ac04[_0x4e8664]['item']['data'];else{const _0x1edb37=new _t(_0x59ac04[_0x4e8664]['item']['data'],_0x59ac04[_0x4e8664]['item']['getAttributes']());_0x199cb8[0x0]['_appendChild'](_0x1edb37),_0x58b8a6=_0x1edb37;}_0x3d4759[_0x3d4759['length']-0x1]+=_0x59ac04[_0x4e8664]['item']['offsetSize'],_0x4a3ff4=_0xa33d91['createPositionFromPath'](_0x70617d,_0x3d4759);}}for(const _0x4c7e81 of _0x59ac04[_0x4e8664]['markersStart'])_0x4a1584['set'](_0x4c7e81,{'start':_0x22b773,'end':null});_0x20eb2b('isRemoveSuggestion',_0x4e8664,_0x22b773,_0x4a3ff4),_0x20eb2b('isAddSuggestion',_0x4e8664,_0x22b773,_0x4a3ff4),_0x20eb2b('isRemoved',_0x4e8664,_0x22b773,_0x4a3ff4),_0x20eb2b('isAdded',_0x4e8664,_0x22b773,_0x4a3ff4);for(const _0x10e28e of _0x59ac04[_0x4e8664]['markersEnd']){_0x4a1584['get'](_0x10e28e)['end']=_0x4a3ff4;}}for(const [_0x23a014,_0x9c7140]of _0x4a1584){const _0x3a3340=this['editor']['model']['createRange'](_0x9c7140['start'],_0x9c7140['end']);_0x70617d['markers']['set'](_0x23a014,_0x3a3340);}return _0x4f7a91['sort']((_0x5ecebb,_0x5dc61f)=>{const _0x4214f6=_0x70617d['markers']['get']('revision:'+_0x5ecebb['id']),_0x1b67de=_0x70617d['markers']['get']('revision:'+_0x5dc61f['id']);return _0x4214f6['start']['isBefore'](_0x1b67de['start'])?-0x1:_0x4214f6['start']['isAfter'](_0x1b67de['start'])?0x1:_0x4214f6['end']['isBefore'](_0x1b67de['end'])?-0x1:_0x4214f6['end']['isAfter'](_0x1b67de['end'])?0x1:'add'===_0x5ecebb['type']?-0x1:0x1;}),{'root':_0x70617d,'changes':_0x4f7a91};function _0x20eb2b(_0x4e2b31,_0x21016d,_0x262c68,_0x537b78){const _0x58de81=!!_0x59ac04[_0x21016d][_0x4e2b31],_0x354dab=_0x58de81?_0x59ac04[_0x21016d][_0x4e2b31]['userId']:null,_0x36dccf=_0x21016d===_0x59ac04['length']-0x1,_0x2cb064=_0x1dd121[_0x4e2b31][0x0],_0x1cc56f=_0x30568c['isObject'](_0x59ac04[_0x21016d]['item']);!_0x53bed9[_0x4e2b31]&&_0x58de81?_0x53bed9[_0x4e2b31]={'start':_0x262c68,'tapeItem':_0x59ac04[_0x21016d],'userId':_0x354dab,'type':_0x4e2b31}:_0x53bed9[_0x4e2b31]&&!_0x58de81?(_0x53bed9[_0x4e2b31]['end']=_0x262c68,_0x2aba24(_0x53bed9[_0x4e2b31]),_0x53bed9[_0x4e2b31]=null):_0x53bed9[_0x4e2b31]&&_0x58de81&&_0x53bed9[_0x4e2b31]['userId']!==_0x354dab&&(_0x53bed9[_0x4e2b31]['end']=_0x262c68,_0x2cb064&&_0x2cb064['userId']===_0x53bed9[_0x4e2b31]['userId']||_0x2aba24(_0x53bed9[_0x4e2b31]),_0x53bed9[_0x4e2b31]={'start':_0x262c68,'tapeItem':_0x59ac04[_0x21016d],'userId':_0x354dab,'type':_0x4e2b31}),_0x53bed9[_0x4e2b31]&&_0x1cc56f&&('elementStart'!==_0x59ac04[_0x21016d]['type']||_0x2cb064&&_0x2cb064['userId']===_0x354dab||_0x1dd121[_0x4e2b31]['unshift']({'userId':_0x354dab,'object':_0x59ac04[_0x21016d]['item'],'change':_0x53bed9[_0x4e2b31]}),'elementEnd'===_0x59ac04[_0x21016d]['type']&&_0x2cb064&&_0x2cb064['object']===_0x59ac04[_0x21016d]['item']&&(_0x1dd121[_0x4e2b31]['shift'](),_0x53bed9[_0x4e2b31]=_0x2cb064['change'])),_0x53bed9[_0x4e2b31]&&_0x36dccf&&(_0x53bed9[_0x4e2b31]['end']=_0x537b78,_0x2aba24(_0x53bed9[_0x4e2b31]),_0x53bed9[_0x4e2b31]=null);}function _0x2aba24({start:_0x9ebdd8,end:_0x1319f5,tapeItem:_0x2ac8d4,userId:_0x2953fd,type:_0x2067ae}){const _0x2629d6=_0x2ac8d4['item'],_0x1169bb=_0xa33d91['schema']['isBlock'](_0x2629d6)&&!_0xa33d91['schema']['isLimit'](_0x2629d6),_0x137940=_0x9ebdd8['nodeAfter']==_0x1319f5['parent']&&_0x1319f5['isAtStart'];if(_0x1169bb&&_0x137940)return;const _0xee6088=_0xa33d91['createRange'](_0x9ebdd8,_0x1319f5),_0x27b9a1=_0x5e750d['get'](_0x2953fd),_0x403379=new r({'author':_0x27b9a1,'type':'isAdded'==_0x2067ae||'isAddSuggestion'==_0x2067ae?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x2067ae||'isRemoveSuggestion'==_0x2067ae},'createdAt':new Date(),'rootName':_0x45aba9});_0x4f7a91['push'](_0x403379),_0x70617d['markers']['set']('revision:'+_0x403379['id'],_0xee6088);}function _0x3ac606(_0x4696de,_0x159f93){const _0x24020e=_0x4696de['getAttributes'](),_0x568b43=_0x159f93['getAttributes']();for(const _0x58221a of _0x24020e){if(_0x58221a[0x1]!==_0x159f93['getAttribute'](_0x58221a[0x0]))return!0x1;_0x568b43['next']();}return _0x568b43['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x20ac1d=>{const _0x210b19=_0x20ac1d['markerName']['split'](':')[0x1],_0x5109b5=this['_getChangeFromId'](_0x210b19);if(!_0x5109b5)return null;const _0xe69bfb='add'==_0x5109b5['type']?'insertion':'deletion',_0xcee510=['ck-suggestion-marker','ck-suggestion-marker-'+_0xe69bfb];return _0x5109b5['data']['isSuggestion']&&_0xcee510['push']('ck-suggestion-marker-'+_0xe69bfb+'-new'),this['activeChange']==_0x5109b5&&_0xcee510['push']('ck-suggestion-marker--active'),{'classes':_0xcee510,'attributes':{'data-change-id':_0x210b19}};}}),this['editor']['conversion']['for']('upcast')['add'](_0xf2221b=>{_0xf2221b['on']('element:pre',(_0x5da5e6,_0x3a90ac,_0x114402)=>{const _0x1baaaa=_0x3a90ac['viewItem']['getChild'](0x0);if(!_0x1baaaa||!_0x1baaaa['is']('element','code'))return;if(!_0x114402['consumable']['consume'](_0x1baaaa,{'attributes':['vid_start','vid_end']}))return;const _0x415d9d=_0x3a90ac['modelRange']['start']['nodeAfter'];_0x114402['writer']['setAttribute']('vid_start',_0x1baaaa['getAttribute']('vid_start'),_0x415d9d),_0x114402['writer']['setAttribute']('vid_end',_0x1baaaa['getAttribute']('vid_end'),_0x415d9d);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x2d4afd=>{_0x2d4afd['on']('element',(_0x49b619,_0x17e6c2,_0x18a0f5)=>{if(!_0x18a0f5['consumable']['consume'](_0x17e6c2['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x17e6c2['modelRange']['isCollapsed'])return;const _0xe597dd=_0x17e6c2['modelRange']['start']['nodeAfter'];_0xe597dd['hasAttribute']('vid_start')||_0xe597dd['hasAttribute']('vid')||(_0x18a0f5['writer']['setAttribute']('vid_start',_0x17e6c2['viewItem']['getAttribute']('vid_start'),_0xe597dd),_0x18a0f5['writer']['setAttribute']('vid_end',_0x17e6c2['viewItem']['getAttribute']('vid_end'),_0xe597dd));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x36bf4d=>_0x36bf4d['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x44a72a,[,_0x564c43])=>{['vid_start','vid_end','vid']['includes'](_0x564c43)&&(_0x44a72a['return']=!0x0,_0x44a72a['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0xb629ca=>{_0xb629ca['on']('attribute:vid',(_0x7f38b,_0x32d899,_0x17094b)=>{if('\x20'!=_0x32d899['item']['data']||_0x32d899['item']['parent']['maxOffset']>0x1)return;if(!_0x17094b['consumable']['consume'](_0x32d899['item'],_0x7f38b['name']))return;const _0x286614=_0x17094b['writer'],_0x7b680c=_0x17094b['mapper']['toViewRange'](_0x32d899['range']);_0x286614['wrap'](_0x7b680c,_0x286614['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x1a9925){const _0x2bb9a=_0x1a9925['plugins']['get']('RevisionViewer');return(_0x2c0a5b,_0x2c5a07,_0x249db6)=>{const _0x2bddcb=_0x2c5a07['markerName']['split'](':')[0x1],_0x4f8327=_0x2bb9a['_getChangeFromId'](_0x2bddcb);if(!_0x4f8327)return null;const _0x342749='add'==_0x4f8327['type']?'split':'merge';if(!_0x249db6['consumable']['test'](_0x2c5a07['markerRange'],_0x2c0a5b['name']))return;const _0x28806a=_0x2c5a07['markerRange']['getWalker'](),_0x506549=_0x2c5a07['markerRange']['start'],_0x2cad9f=_0x1a9925['model']['schema'];let _0x5152ea=null,_0x4954cb=null,_0x4fcf8b=!0x1,_0x33d5c2=!0x1;for(const _0x455a51 of _0x28806a){const _0x3ec6bf=_0x455a51['item'];_0x4fcf8b=_0x4fcf8b||_0x2cad9f['isContent'](_0x3ec6bf);const _0x123efe=_0x249db6['mapper']['toViewElement'](_0x3ec6bf);if(_0x123efe&&_0x123efe['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x455a51['type']&&(_0x2cad9f['isBlock'](_0x3ec6bf)&&!_0x2cad9f['isLimit'](_0x3ec6bf)&&(_0x3ec6bf['nextSibling']||_0x506549['isAtEnd']?_0x5152ea&&_0x5152ea['parent']==_0x3ec6bf||(_0x5152ea=_0x3ec6bf,_0x2e656c(_0x455a51['previousPosition']),_0x33d5c2=!0x0):_0x4954cb=_0x4954cb||_0x455a51['previousPosition']));}function _0x2e656c(_0x5bf0ea){const _0x2db3db=_0x249db6['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x342749}),_0x26462c=_0x249db6['mapper']['toViewPosition'](_0x5bf0ea);_0x4f8327['data']['isSuggestion']&&_0x249db6['writer']['addClass']('ck-suggestion-marker-'+_0x342749+'-new',_0x2db3db),_0x2bb9a['activeChange']==_0x4f8327&&_0x249db6['writer']['addClass']('ck-suggestion-marker--active',_0x2db3db),_0x249db6['writer']['insert'](_0x26462c,_0x2db3db),_0x249db6['mapper']['bindElementToMarker'](_0x2db3db,_0x2c5a07['markerName']);}_0x4fcf8b||_0x33d5c2||!_0x4954cb||_0x2e656c(_0x4954cb);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x147108,_0x2d3311,_0x3f467d)=>{const _0x1c9408=_0x3f467d['mapper']['markerNameToElements'](_0x2d3311['markerName']);if(_0x1c9408){for(const _0x5f066b of _0x1c9408)(_0x5f066b['hasClass']('ck-suggestion-marker-split')||_0x5f066b['hasClass']('ck-suggestion-marker-merge'))&&(_0x3f467d['mapper']['unbindElementFromMarkerName'](_0x5f066b,_0x2d3311['markerName']),_0x3f467d['writer']['remove'](_0x5f066b));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x110375,_0x3b444c,_0x53545a)=>{const _0x2e2a39=_0x3b444c['markerName']['split'](':')[0x1],_0x59fa4c=this['_getChangeFromId'](_0x2e2a39);if(!_0x59fa4c)return null;const _0x8d901e='add'==_0x59fa4c['type']?'split':'merge';if(_0x53545a['consumable']['test'](_0x3b444c['markerRange'],_0x110375['name']))for(const _0x42ae09 of _0x3b444c['markerRange']['getItems']()){if(!_0x42ae09['is']('element','softBreak'))continue;const _0x2b1d21=_0x53545a['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x8d901e}),_0x1d811c=_0x53545a['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x42ae09));_0x59fa4c['data']['isSuggestion']&&_0x53545a['writer']['addClass']('ck-suggestion-marker-'+_0x8d901e+'-new',_0x2b1d21),this['activeChange']==_0x59fa4c&&_0x53545a['writer']['addClass']('ck-suggestion-marker--active',_0x2b1d21),_0x53545a['writer']['insert'](_0x1d811c,_0x2b1d21),_0x53545a['mapper']['bindElementToMarker'](_0x2b1d21,_0x3b444c['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x13497a=>{for(const _0xa1790f of this['editor']['model']['document']['getRootNames']()){const _0x505ed5=this['editor']['model']['document']['getRoot'](_0xa1790f),_0x2435de=this['editor']['editing']['view']['document']['getRoot'](_0xa1790f);if(_0x2435de){const _0x285228=_0x505ed5['getAttribute']('revisionHistoryAttachChange');if(_0x13497a['removeAttribute']('data-change-id',_0x2435de),_0x13497a['removeClass']('ck-revision-history-root-add',_0x2435de),_0x13497a['removeClass']('ck-revision-history-root-remove',_0x2435de),_0x13497a['removeClass']('ck-revision-history-root--active',_0x2435de),_0x285228){const _0x459fe0=this['_getChangeFromId'](_0x285228);if(!_0x459fe0)return null;_0x13497a['setAttribute']('data-change-id',_0x285228,_0x2435de),_0x13497a['addClass']('ck-revision-history-root-'+_0x459fe0['type'],_0x2435de),this['activeChange']==_0x459fe0&&_0x13497a['addClass']('ck-revision-history-root--active',_0x2435de);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x5f3269=>'revision-comment:'+_0x5f3269,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0xf5d3a7=>'revision-suggestion:'+_0xf5d3a7,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x3c2afe=>({'name':'suggestion:'+_0x3c2afe,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0xc82a6f=>{const _0x5ed842=_0xc82a6f['markerName']['split'](':')[0x1];return'insertion'!=_0x5ed842&&'deletion'!=_0x5ed842?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x5ed842]};}}),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',(_0xffc250,_0x94fe20,_0x40c0ef)=>{const _0x8362e8=_0x40c0ef['mapper']['markerNameToElements'](_0x94fe20['markerName']);if(_0x8362e8){for(const _0x34962b of _0x8362e8)_0x34962b['is']('uiElement')&&(_0x40c0ef['mapper']['unbindElementFromMarkerName'](_0x34962b,_0x94fe20['markerName']),_0x40c0ef['writer']['remove'](_0x34962b));}},{'priority':'high'});}['_getChangeFromId'](_0x27dace){return this['_changeIdToChange']['get'](_0x27dace);}['_getViewForChange'](_0x354825){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x354825),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x219b45,_0x1d7e3f,_0xcc232f,_0x44775b)=>{_0x44775b&&this['_balloon']['remove'](_0x44775b),_0xcc232f&&(this['_balloon']['add']({'view':_0xcc232f,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0xc0a8db=this['editor']['editing'],_0x11d39d=this['_getChangeFromId'](_0xcc232f['changeId']);let _0x10602e;if(_0x11d39d['data']['isOnRoot']){const _0x14773d=_0xc0a8db['view']['getDomRoot'](_0x11d39d['rootName']);_0x10602e=Array['from'](_0x14773d['getClientRects']());}else{const _0x6e5e4c=this['editor']['model']['markers']['get']('revision:'+_0xcc232f['changeId']);_0x10602e=Array['from'](_0xc0a8db['mapper']['markerNameToElements'](_0x6e5e4c['name']))['map'](_0x5f22ce=>_0xc0a8db['view']['domConverter']['mapViewToDom'](_0x5f22ce))['map'](_0x58e41e=>Array['from'](_0x58e41e['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x10602e[0x0];return _0x10602e['find'](_0x236208=>_0x236208['top']-0x3<=this['_activeViewTarget']['y']&&_0x236208['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x236208['left']-0x3<=this['_activeViewTarget']['x']&&_0x236208['right']+0x3>=this['_activeViewTarget']['x'])||_0x10602e[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x208c0b,_0x2f565e,_0x1fffd4,_0x285c5d)=>{this['activeView']=_0x1fffd4?this['_getViewForChange'](_0x1fffd4):null,this['editor']['model']['change'](()=>{const _0x24efc4=this['editor']['editing'];_0x285c5d&&(_0x285c5d['data']['isOnRoot']?_0x24efc4['view']['change'](_0x2dd609=>{_0x2dd609['removeClass']('ck-revision-history-root--active',_0x24efc4['view']['document']['getRoot'](_0x285c5d['rootName']));}):_0x24efc4['reconvertMarker']('revision:'+_0x285c5d['id'])),_0x1fffd4&&(_0x1fffd4['data']['isOnRoot']?_0x24efc4['view']['change'](_0x20c1c2=>{_0x20c1c2['addClass']('ck-revision-history-root--active',_0x24efc4['view']['document']['getRoot'](_0x1fffd4['rootName']));}):_0x24efc4['reconvertMarker']('revision:'+_0x1fffd4['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x34c270,_0x168eff)=>{if(this['activeChange'])return;const _0x3fe00c=this['_findChangeIdFromDomTarget'](_0x168eff['target']),_0x4506ac=this['_changeIdToChange']['get'](_0x3fe00c);_0x4506ac?(this['_activeViewTarget']={'x':_0x168eff['domEvent']['x'],'y':_0x168eff['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x4506ac)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x1df6f5,_0x45b5fd)=>{const _0x112e95=this['_findChangeIdFromDomTarget'](_0x45b5fd['target']),_0x3e1791=this['_changeIdToChange']['get'](_0x112e95);_0x3e1791?(this['_activeViewTarget']={'x':_0x45b5fd['domEvent']['x'],'y':_0x45b5fd['domEvent']['y']},_0x3e1791===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x3e1791):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x39dd67){do{const _0x4efd53=_0x39dd67['getAttribute']('data-change-id');if(_0x4efd53)return _0x4efd53;_0x39dd67=_0x39dd67['parent'];}while(_0x39dd67);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x3b653c=>{for(const _0x1be0f7 of this['editor']['model']['markers'])_0x3b653c['removeMarker'](_0x1be0f7);});}}function et(_0x5692f0,_0x15d113){return(_0x5fad02,_0x52d649,_0x1f49d2)=>{if(!_0x1f49d2['consumable']['test'](_0x52d649['markerRange'],_0x5fad02['name']))return;const _0x27f1c1=_0x52d649['markerRange']['getWalker'](),_0x4cb269=_0x52d649['markerRange']['start'],_0x354e0b=_0x5692f0['model']['schema'];let _0x19da18=null,_0x5a7236=null,_0xa359ab=!0x1,_0x462fde=!0x1;for(const _0x32b1be of _0x27f1c1){const _0x881c24=_0x32b1be['item'];_0xa359ab=_0xa359ab||_0x354e0b['isContent'](_0x881c24);const _0xe4f116=_0x1f49d2['mapper']['toViewElement'](_0x881c24);if(_0xe4f116&&_0xe4f116['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x32b1be['type']&&(_0x354e0b['isBlock'](_0x881c24)&&!_0x354e0b['isLimit'](_0x881c24)&&(_0x881c24['nextSibling']||_0x4cb269['isAtEnd']?_0x19da18&&_0x19da18['parent']==_0x881c24||(_0x19da18=_0x881c24,_0x2d460a(_0x32b1be['previousPosition']),_0x462fde=!0x0):_0x5a7236=_0x5a7236||_0x32b1be['previousPosition']));}function _0x2d460a(_0x1dbf92){const _0x86ab6=_0x1f49d2['mapper']['toViewPosition'](_0x1dbf92),_0x4a0f0c=_0x1f49d2['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x15d113});_0x1f49d2['writer']['insert'](_0x86ab6,_0x4a0f0c),_0x1f49d2['mapper']['bindElementToMarker'](_0x4a0f0c,_0x52d649['markerName']);}_0xa359ab||_0x462fde||!_0x5a7236||_0x2d460a(_0x5a7236);};}class bt extends _0x5b6e62{constructor(_0x39b42a){super(_0x39b42a);const _0x209eba=_0x39b42a['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x209eba,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x209eba,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x53855b=this['editor'],_0x2859f5=_0x53855b['plugins']['get'](d),_0x43bf5a=_0x2859f5['isReady']?_0x2859f5['diff']['newRevisionId']:null;_0x53855b['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x43bf5a);}['refresh'](){const {isReady:_0x1a2adf,isEnabled:_0x2a20f3}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x1a2adf&&_0x2a20f3;}}class yt extends _0x5b6e62{['_step'];constructor(_0x116830,{direction:_0x3bb565}){super(_0x116830);const _0x169c78=_0x116830['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x3bb565?0x1:-0x1,this['listenTo'](_0x169c78,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x169c78,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x169c78,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x303a28=this['editor'],_0x1975d3=_0x303a28['plugins']['get'](d),{isNavigationMode:_0x1ce555,currentChangeNumber:_0x15123e}=_0x1975d3;let _0x3995aa;if(_0x1975d3['activeChange']=_0x1ce555?_0x1975d3['diff']['changes']['get'](_0x15123e+this['_step']):_0x1975d3['diff']['changes']['first'],_0x1975d3['activeChange']['data']['isOnRoot'])_0x3995aa=_0x303a28['editing']['view']['getDomRoot'](_0x1975d3['activeChange']['rootName']);else{const _0x131beb=_0x303a28['model']['markers']['get']('revision:'+_0x1975d3['activeChange']['id']);_0x3995aa=_0xe4d29(_0x303a28['editing'],_0x131beb);}_0x499ca6({'target':_0x3995aa,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x10f0af,currentChangeNumber:_0x9e751f,numberOfChanges:_0x4bc6f6,isReady:_0x563507,isEnabled:_0xdd776d}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0xdd776d&&_0x563507&&_0x4bc6f6)&&(!_0x10f0af||(0x1===this['_step']?_0x9e751f<_0x4bc6f6-0x1:_0x9e751f>0x0));}}class _i extends _0x5547bb{constructor(_0x317fc5){super(_0x317fc5);const _0x591057=this['bindTemplate'],_0xdbbad3=new _0x34f9fd(_0x317fc5),_0xb7d4e3=new _0x34f9fd(_0x317fc5);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',(_0x102fac,_0x5519f5)=>_0x102fac&&_0x5519f5>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x2d0504,_0x17830b,_0x419c57,_0x19c90c)=>{if(!_0x2d0504)return y(_0x317fc5,'Loading...');if(!_0x419c57)return y(_0x317fc5,'No\x20changes');const _0x4607e4=y(_0x317fc5,'NUMBER_OF_CHANGES',_0x419c57);return _0x19c90c?y(_0x317fc5,'X_OF_Y_CHANGES',[_0x17830b+0x1,_0x419c57]):_0x4607e4;}),_0xdbbad3['set']({'label':y(_0x317fc5,'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'}),_0xb7d4e3['set']({'label':y(_0x317fc5,'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'}),_0xdbbad3['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0xb7d4e3['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0xdbbad3['on']('execute',()=>this['fire']('execute','backward')),_0xb7d4e3['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',_0x591057['if']('_isStatusLabelVisible','ck-hidden',_0x147077=>!_0x147077)]},'children':[{'text':_0x591057['to']('isNavigationMode',_0x4dfc4b=>_0x4dfc4b?y(_0x317fc5,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x317fc5,'Total')+':\x20')}]},{'text':_0x591057['to']('_statusText')}]},new _0x18c46a(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0xdbbad3,_0xb7d4e3]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x1b9d3f{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x389819=this['editor']['editing']['view'];_0x389819['change'](_0x335081=>{for(const _0x5b308c of _0x389819['document']['roots'])_0x335081['addClass'](ce,_0x5b308c);});}['hide'](){const _0x46a994=this['editor']['editing']['view'];_0x46a994['change'](_0xf2db93=>{for(const _0x34c5db of _0x46a994['document']['roots'])_0xf2db93['removeClass'](ce,_0x34c5db);});}}class R extends _0x1b9d3f{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x25f4cd=this['editor'],_0x251310=_0x25f4cd['plugins']['get'](d),_0x5d46ed=_0x25f4cd['plugins']['get'](de);_0x25f4cd['ui']['componentFactory']['add']('exitToEditing',_0x2947c7=>{const _0x23d5f2=new _0x34f9fd(_0x2947c7);return _0x23d5f2['set']({'label':y(_0x2947c7,'Back\x20to\x20editing'),'icon':_0x52d6db['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x23d5f2,'execute',()=>{_0x25f4cd['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x23d5f2;}),_0x25f4cd['ui']['componentFactory']['add']('restoreRevision',_0xa90010=>{const _0x4e9db5=new _0x34f9fd(_0xa90010);return _0x4e9db5['set']({'label':y(_0xa90010,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x4e9db5['bind']('isEnabled')['to'](_0x25f4cd['commands']['get']('restoreRevision')),this['listenTo'](_0x4e9db5,'execute',()=>_0x25f4cd['execute']('restoreRevision')),_0x4e9db5;}),_0x25f4cd['ui']['componentFactory']['add']('changesNavigation',_0x4f0ab6=>{const _0x48306a=new _i(_0x4f0ab6),_0x3e5e0c=_0x25f4cd['commands']['get']('showPreviousChange'),_0x1a4940=_0x25f4cd['commands']['get']('showNextChange');return _0x48306a['bind']('isBackwardNavigationEnabled')['to'](_0x3e5e0c,'isEnabled'),_0x48306a['bind']('isForwardNavigationEnabled')['to'](_0x1a4940,'isEnabled'),_0x48306a['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x251310),this['listenTo'](_0x48306a,'execute',(_0xdee082,_0x2717be)=>{_0x25f4cd['execute']('forward'===_0x2717be?'showNextChange':'showPreviousChange');}),_0x48306a;}),_0x5d46ed['show'](),_0x251310['on']('change:isReady',(_0x34fb30,_0x20be9d,_0x280119)=>{_0x280119?_0x5d46ed['hide']():_0x5d46ed['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x55d2d7,_0x539e22){super(_0x55d2d7,_0x539e22);const _0xe17ff7=this['bindTemplate'];this['set']({'label':y(_0x55d2d7,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x55d2d7,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0xe17ff7['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new mt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x31b77f=this['fieldView']['element'];this['_tooltipString']=_0x31b77f['scrollWidth']>_0x31b77f['clientWidth']&&_0x31b77f['value']||'';}}class ti extends _0x5547bb{constructor(_0x5df8d1,_0x4735a4,_0x1465af){super(_0x5df8d1);const _0x20ad9f=new _0xc51bbc();_0x20ad9f['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 _0x333110=['ck','ck-revision-history-sidebar__revision-author'];_0x1465af&&_0x333110['push']('ck-revision-history-sidebar__revision-author_creator');const _0x290e6b=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x5df8d1,_0x1465af?'Revision\x20creator':'Revision\x20author')},'children':[_0x20ad9f,_0x4735a4['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x333110},'children':_0x290e6b});}}function ni(_0x3a60d7,_0x5be4ae){const _0x4da280=_0x3a60d7['bindTemplate'],_0x567f88=_0x3a60d7['locale'],_0x409915=_0x24a46d(_0x567f88);_0x409915['panelPosition']='sw';const _0x5d39b1=function(_0x4159bd,_0x1d249b){const _0x22615f=function(_0x3e7ffa,_0x3baa51){const _0x251285=_0x3e7ffa['locale'],_0x33c210={'Compare\x20against\x20selected':y(_0x251285,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x251285,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x251285,'Restore\x20this\x20revision')};return _0x3baa51['map'](_0x5a4ad2=>{const _0xa29d58=_0x33c210[_0x5a4ad2['name']];return _0xa29d58&&_0xa29d58!==_0x5a4ad2['name']&&(_0x5a4ad2['name']=_0xa29d58),_0x5a4ad2;});}(_0x4159bd,_0x1d249b),_0x5865d5=new _0xc1d4ac();for(const _0x655bb3 of _0x22615f){const _0x4d174f={'type':'button','model':new to({'label':_0x655bb3['name'],'class':_0x655bb3['class'],'withText':!0x0,'role':'menuitem','_action':_0x655bb3['action']})};_0x4d174f['model']['bind']('isEnabled')['to'](_0x4159bd,'isActionsDropdownOpen',_0x51288d=>'function'!=typeof _0x655bb3['isEnabled']||(!_0x51288d||_0x655bb3['isEnabled'](_0x4159bd))),_0x5865d5['add'](_0x4d174f);}return _0x5865d5;}(_0x3a60d7,_0x5be4ae);return _0x3a60d7['bind']('isActionsDropdownOpen')['to'](_0x409915,'isOpen'),_0x409915['buttonView']['set']({'label':y(_0x567f88,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x52d6db['threeVerticalDots']}),_0x409915['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x4da280['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x4da280['to'](_0x66c50b=>_0x66c50b['stopPropagation']())}}),_0x409915['on']('execute',_0x2b8351=>{_0x3a60d7['isReady']&&'function'==typeof _0x2b8351['source']['_action']&&_0x2b8351['source']['_action'](_0x3a60d7);}),_0x27e494(_0x409915,_0x5d39b1,{'role':'menu'}),_0x409915['listenTo'](_0x3a60d7,'change:isActionsDropdownOpen',(_0x3b1480,_0x3340fc,_0xc85f31)=>{if(_0xc85f31)for(const _0x42c79e of _0x409915['listView']['items']){const _0x33ed73=_0x42c79e['children']['first'],_0x5acb30=_0x5be4ae['find'](_0xb11b5=>_0xb11b5['action']===_0x33ed73['_action'])['isVisible'];_0x42c79e['isVisible']=void 0x0===_0x5acb30||_0x5acb30(_0x3a60d7);}}),_0x409915;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x9c71d2(_0x5547bb){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x50f334,_0x39fed3,_0x73e9d5,_0x392ea6){super(_0x50f334);const _0x57dbf7=this['bindTemplate'],_0x39eb3f=function(_0xf08557,_0x4e1c43){const _0x3f9379=Array['from'](_0x4e1c43['authors'])['filter'](_0x4a177b=>_0x4a177b!=_0x4e1c43['creator']);return _0x4e1c43['creator']&&_0x3f9379['unshift'](_0x4e1c43['creator']),_0x3f9379['map'](_0x355d9b=>new ti(_0xf08557,_0x355d9b,_0x355d9b==_0x4e1c43['creator']));}(_0x50f334,_0x39fed3);this['id']=_0x39fed3['id'],this['_revision']=_0x39fed3,this['_requireRevisionName']=_0x392ea6,this['bind']('name','createdAt')['to'](_0x39fed3),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x37f1c7=>{return _0x4c798f=_0x50f334['uiLanguage'],(_0x5cbf24=_0x37f1c7)['toLocaleDateString'](_0x4c798f,{'month':'long','day':'numeric'})+',\x20'+_0x5cbf24['toLocaleTimeString'](_0x4c798f,{'hour':'numeric','minute':'numeric'});var _0x4c798f,_0x5cbf24;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x50f334,_0x512977),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x4faf59=>_0x4faf59||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x2f6239,_0x5661f5)=>_0x2f6239&&_0x5661f5),this['revisionActionsView']=_0x73e9d5&&_0x73e9d5['length']?ni(this,_0x73e9d5):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x57dbf7['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x57dbf7['if']('isEnabled','ck-disabled',_0x6cdd10=>!_0x6cdd10),_0x57dbf7['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x57dbf7['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x57dbf7['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':_0x57dbf7['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':_0x39eb3f}]},this['revisionActionsView']],'on':{'click':_0x57dbf7['to'](_0x5324dd=>{_0x5324dd['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x38cc43=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x38cc43,'change',()=>{this['_requireRevisionName']&&!_0x38cc43['value']||this['fire']('setName',{'id':this['id'],'name':_0x38cc43['value']}),_0x38cc43['value']||(_0x38cc43['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function di(_0x11098f,_0x304188){const _0x34ccbc=_0x45076b['fromJSDate'](_0x11098f)['setLocale'](_0x304188),_0x28e967=_0x45076b['local'](),_0xee3e5=_0x28e967['minus']({'days':0x1})['startOf']('day');let _0x14ef15,_0x523fb0;return _0x34ccbc['hasSame'](_0x28e967,'day')?(_0x14ef15=_0x34ccbc['startOf']('day')['toJSDate'](),_0x523fb0=_0x34ccbc['toRelativeCalendar']()):_0x34ccbc['hasSame'](_0xee3e5,'day')?(_0x14ef15=_0xee3e5['toJSDate'](),_0x523fb0=_0x34ccbc['toRelativeCalendar']()):_0x34ccbc['hasSame'](_0x28e967,'week')?(_0x14ef15=_0x34ccbc['startOf']('week')['toJSDate'](),_0x523fb0=_0x34ccbc['weekdayLong']||''):_0x34ccbc['hasSame'](_0x28e967,'year')?(_0x14ef15=_0x34ccbc['startOf']('month')['toJSDate'](),_0x523fb0=_0x34ccbc['monthLong']||''):(_0x14ef15=_0x34ccbc['startOf']('year')['toJSDate'](),_0x523fb0=String(_0x34ccbc['year'])),{'startDate':_0x14ef15,'localizedPeriodName':_0x523fb0};}class mi extends _0x5547bb{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x16059e,_0x579694,_0x4f6db8,_0xaa7580){super(_0x16059e);const _0x5494c7=di(_0x579694,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x579694,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x4f6db8,this['_requireRevisionName']=_0xaa7580,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':_0x5494c7}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x17a926){const _0x1c7152=new ai(this['locale'],_0x17a926,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x1c7152);}['removeRevision'](_0x4d4a1d){const _0x56bea8=this['revisionViews']['find'](_0x23ed93=>_0x23ed93['id']===_0x4d4a1d['id']);this['revisionViews']['remove'](_0x56bea8);}}class as extends _0x5547bb{constructor(_0x175f3b){super(_0x175f3b);const _0x379990=new _0xc51bbc();_0x379990['content']=_0x52d6db['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x379990,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x175f3b,'Revision\x20history')]}]});}}class ci extends _0x5547bb{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x2361b5,_0x149881,_0x96fb21,_0x5ed689){super(_0x2361b5);const _0x397781=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x149881,this['_revisionActions']=_0x96fb21,this['_requireRevisionName']=_0x5ed689,this['on']('select',(_0x530fc6,_0x1a2000)=>{this['fire']('revisionSelected',_0x1a2000);}),this['on']('setName',(_0x4be707,_0xea3b41)=>{this['fire']('revisionSetName',_0xea3b41);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x2361b5),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x397781['if']('isEnabled','ck-disabled',_0xa3f38d=>!_0xa3f38d)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x280430 of this['_revisions'])this['_addRevision'](_0x280430);this['_revisions']['on']('add',(_0x5124df,_0x380d2e)=>{this['_addRevision'](_0x380d2e);}),this['_revisions']['on']('remove',(_0x25d46f,_0x539ddc)=>{this['_removeRevision'](_0x539ddc);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x40394c=>_0x40394c['revisionViews']['map'](_0x1165c4=>_0x1165c4))['flat']();}['selectRevision'](_0x4eab25){for(const _0x3c1fc1 of this['revisionViews'])_0x4eab25&&_0x4eab25['id']===_0x3c1fc1['id']?_0x3c1fc1['select']():_0x3c1fc1['deselect']();}['highlightRevisions'](_0x4e1cec){for(const _0x5548b9 of this['revisionViews'])_0x4e1cec['some'](({id:_0x38d40c})=>_0x38d40c===_0x5548b9['id'])?_0x5548b9['highlight']():_0x5548b9['unhighlight']();}['_addRevision'](_0x2bcf57){const _0x5ce0b5=di(_0x2bcf57['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x29315e=this['timePeriodViews']['get'](0x0);_0x29315e&&_0x29315e['startDate']['getTime']()===_0x5ce0b5['getTime']()||(_0x29315e=new mi(this['locale'],_0x5ce0b5,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x29315e)),_0x29315e['addRevision'](_0x2bcf57);}['_removeRevision'](_0x332eea){const _0x85ca4b=di(_0x332eea['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x85ca4b)['removeRevision'](_0x332eea);}['_getTimePeriodViewByStartDate'](_0x3a1793){return this['timePeriodViews']['find'](_0x5bdf0c=>_0x5bdf0c['startDate']['getTime']()===_0x3a1793['getTime']());}}class w extends _0x1b9d3f{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x15722d,Context as _0x161e11,PendingActions as _0x4f4cfd,icons as _0x5fb71a,Command as _0x219cab,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x3868e0,uid as _0x523f17,Collection as _0x51c829,logWarning as _0x1e6c57,FocusTracker as _0x1c2719,KeystrokeHandler as _0x2d7b3e,scrollViewportToShowTarget as _0x1f25fe,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x4bfbd3}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x358c29,getMarkerDomElement as _0x5a2047,ConfirmMixin as _0x2ec772,sanitizeEditorConfig as _0x3af701}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x341735,ViewText as _0x1ff27e,ViewElement as _0x4552e8,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x497e1c,ViewAttributeElement as _0x4d9ed0,ViewEmptyElement as _0x1c8404,ViewRawElement as _0x117945,ViewUIElement as _0x199255,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x11fb1e,set as _0x44beb1,unset as _0x4affdd,isEqual as _0x939660}from'lodash-es';import{View as _0x34a233,injectCssTransitionDisabler as ts,submitHandler as _0x2f6a07,LabeledFieldView as at,createLabeledInputText as _0x30bbd3,createDropdown as _0x30de5a,ListView as te,ListItemView as _0x3b1bab,ButtonView as _0x302b83,MenuBarMenuView as _0x5c6567,MenuBarMenuListView as _0x2b162d,MenuBarMenuListItemView as _0x496c64,MenuBarMenuListItemButtonView as _0x51ea9f,ContextualBalloon as _0x311e79,ToolbarSeparatorView as _0x3fa825,IconView as _0x5429c9,addListToDropdown as _0x7380b5,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 _0x36bea6}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x3868e0(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x552d13){super(),this['id']=_0x552d13['id']||_0x523f17(),this['creator']=_0x552d13['creator']||null,this['authors']=_0x552d13['authors']||[],this['diffData']=_0x552d13['diffData']||null,this['toVersion']=_0x552d13['toVersion']||0x0,this['fromVersion']=_0x552d13['fromVersion']||0x0,this['set']('name',_0x552d13['name']||''),this['set']('createdAt',_0x552d13['createdAt']||new Date()),this['set']('attributes',_0x552d13['attributes']||{});}['setName'](_0x44d555){this['_update']({'name':_0x44d555});}['setAttribute'](_0x2de51c,_0x336118){const _0x3e5577=_0x11fb1e(this['attributes']);_0x44beb1(_0x3e5577,_0x2de51c,_0x336118),this['_update']({'attributes':_0x3e5577});}['removeAttribute'](_0x40e073){const _0x801c3e=_0x11fb1e(this['attributes']);_0x4affdd(_0x801c3e,_0x40e073),this['_update']({'attributes':_0x801c3e});}['_update'](_0x269534,_0x3ddaf3=!0x1){let _0x2184b3=!0x1;const _0x182981={'id':this['id']},_0xd01325=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x21dbcc of _0xd01325){const _0x53f9ae=_0x269534[_0x21dbcc];void 0x0!==_0x53f9ae&&_0x53f9ae!==this[_0x21dbcc]&&(this[_0x21dbcc]=_0x53f9ae,_0x182981[_0x21dbcc]=_0x53f9ae,_0x2184b3=!0x0);}_0x2184b3&&(_0x182981['authors']&&(_0x182981['authorsIds']=_0x182981['authors']['map'](_0x264331=>_0x264331['id']),delete _0x182981['authors']),this['fire']('_update',_0x182981,_0x3ddaf3));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x511f2a=>_0x511f2a['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x15722d{['_revisions'];static get['requires'](){return[_0x358c29];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x44e167){super(_0x44e167),this['_revisions']=new _0x51c829();}['afterInit'](){!function(_0x2084fa){function _0x5d60da(_0x29008c,_0x5efc3a,_0x2a5356){const _0x4749e7={};_0x4749e7[_0x1fd013([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x4749e7[_0x1fd013([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],_0x4749e7[_0x1fd013([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],_0x4749e7[_0x1fd013([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],_0x4749e7[_0x1fd013([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],_0x4749e7[_0x1fd013([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],_0x4749e7[_0x1fd013([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],_0x4749e7[_0x1fd013([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],_0x4749e7[_0x1fd013([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],_0x4749e7[_0x1fd013([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],_0x4749e7[_0x1fd013([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 _0x5419f5=new Uint8Array(0x10);for(let _0x411730=0xf;_0x411730>=0x0;--_0x411730)_0x5419f5[_0x411730]=_0x2a5356%0x100,_0x2a5356=parseInt(_0x2a5356/0x100);let _0x20aef6=null,_0x52b27a=0x10;const _0x39cd5d=new Uint8Array(_0x5efc3a),_0x485ce8=[],_0x435c36=[];_0x166c90();for(let _0x130ad4=0x0;_0x130ad4<_0x29008c[_0x1fd013([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x130ad4++)0x10===_0x52b27a&&(_0x20aef6=_0x16b58c(_0x5419f5),_0x52b27a=0x0,_0x30f3d0(_0x5419f5)),_0x29008c[_0x130ad4]^=_0x20aef6[_0x52b27a++];return _0x29008c;function _0x459581(_0x1f8c3e){const _0x2f0fe0=[];for(let _0x494d14=0x0;_0x494d14<_0x1f8c3e[_0x1fd013([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x494d14+=0x4)_0x2f0fe0[_0x1fd013([0x70,0x75,0x73,0x68])](_0x1f8c3e[_0x494d14]<<0x18|_0x1f8c3e[_0x494d14+0x1]<<0x10|_0x1f8c3e[_0x494d14+0x2]<<0x8|_0x1f8c3e[_0x494d14+0x3]);return _0x2f0fe0;}function _0x30f3d0(_0x4c1a5e){for(let _0x21dde7=0xf;_0x21dde7>=0x0;_0x21dde7--){if(0xff!==_0x4c1a5e[_0x21dde7]){_0x4c1a5e[_0x21dde7]++;break;}_0x4c1a5e[_0x21dde7]=0x0;}}function _0x16b58c(_0x2e9d7c){const _0x243caa=_0x485ce8[_0x1fd013([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x32c879=[0x0,0x0,0x0,0x0];let t=_0x459581(_0x2e9d7c);for(let _0x5d6c5b=0x0;_0x5d6c5b<0x4;_0x5d6c5b++)t[_0x5d6c5b]^=_0x485ce8[0x0][_0x5d6c5b];for(let _0xe22aab=0x1;_0xe22aab<_0x243caa;_0xe22aab++){for(let _0x388775=0x0;_0x388775<0x4;_0x388775++)_0x32c879[_0x388775]=_0x4749e7[_0x1fd013([0x54,0x31])][t[_0x388775]>>0x18&0xff]^_0x4749e7[_0x1fd013([0x54,0x32])][t[(_0x388775+0x1)%0x4]>>0x10&0xff]^_0x4749e7[_0x1fd013([0x54,0x33])][t[(_0x388775+0x2)%0x4]>>0x8&0xff]^_0x4749e7[_0x1fd013([0x54,0x34])][0xff&t[(_0x388775+0x3)%0x4]]^_0x485ce8[_0xe22aab][_0x388775];t=_0x32c879[_0x1fd013([0x73,0x6c,0x69,0x63,0x65])]();}const _0x398f57=new Uint8Array(0x10);let _0x581ad7;for(let _0x34779a=0x0;_0x34779a<0x4;_0x34779a++)_0x581ad7=_0x485ce8[_0x243caa][_0x34779a],_0x398f57[0x4*_0x34779a]=0xff&(_0x4749e7[_0x1fd013([0x53])][t[_0x34779a]>>0x18&0xff]^_0x581ad7>>0x18),_0x398f57[0x4*_0x34779a+0x1]=0xff&(_0x4749e7[_0x1fd013([0x53])][t[(_0x34779a+0x1)%0x4]>>0x10&0xff]^_0x581ad7>>0x10),_0x398f57[0x4*_0x34779a+0x2]=0xff&(_0x4749e7[_0x1fd013([0x53])][t[(_0x34779a+0x2)%0x4]>>0x8&0xff]^_0x581ad7>>0x8),_0x398f57[0x4*_0x34779a+0x3]=0xff&(_0x4749e7[_0x1fd013([0x53])][0xff&t[(_0x34779a+0x3)%0x4]]^_0x581ad7);return _0x398f57;}function _0x166c90(){const _0xe74232=_0x4749e7[_0x1fd013([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x39cd5d[_0x1fd013([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x2b491c=0x0;_0x2b491c<=_0xe74232;_0x2b491c++)_0x485ce8[_0x1fd013([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x435c36[_0x1fd013([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x53dee3=0x4*(_0xe74232+0x1),_0x433ec9=_0x39cd5d[_0x1fd013([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x4df3a3=_0x459581(_0x39cd5d);let _0x3e389f;for(let _0xd99c46=0x0;_0xd99c46<_0x433ec9;_0xd99c46++)_0x3e389f=_0xd99c46>>0x2,_0x485ce8[_0x3e389f][_0xd99c46%0x4]=_0x4df3a3[_0xd99c46],_0x435c36[_0xe74232-_0x3e389f][_0xd99c46%0x4]=_0x4df3a3[_0xd99c46];let _0xc061f5,_0x579596=0x0,t=_0x433ec9;for(;t<_0x53dee3;){_0xc061f5=_0x4df3a3[_0x433ec9-0x1],_0x4df3a3[0x0]^=_0x4749e7[_0x1fd013([0x53])][_0xc061f5>>0x10&0xff]<<0x18^_0x4749e7[_0x1fd013([0x53])][_0xc061f5>>0x8&0xff]<<0x10^_0x4749e7[_0x1fd013([0x53])][0xff&_0xc061f5]<<0x8^_0x4749e7[_0x1fd013([0x53])][_0xc061f5>>0x18&0xff]^_0x4749e7[_0x1fd013([0x72,0x63,0x6f,0x6e])][_0x579596]<<0x18,_0x579596+=0x1;for(let _0x1d7fa8=0x1;_0x1d7fa8<_0x433ec9/0x2;_0x1d7fa8++)_0x4df3a3[_0x1d7fa8]^=_0x4df3a3[_0x1d7fa8-0x1];_0xc061f5=_0x4df3a3[_0x433ec9/0x2-0x1],_0x4df3a3[_0x433ec9/0x2]^=_0x4749e7[_0x1fd013([0x53])][0xff&_0xc061f5]^_0x4749e7[_0x1fd013([0x53])][_0xc061f5>>0x8&0xff]<<0x8^_0x4749e7[_0x1fd013([0x53])][_0xc061f5>>0x10&0xff]<<0x10^_0x4749e7[_0x1fd013([0x53])][_0xc061f5>>0x18&0xff]<<0x18;for(let _0x27a75a=_0x433ec9/0x2+0x1;_0x27a75a<_0x433ec9;_0x27a75a++)_0x4df3a3[_0x27a75a]^=_0x4df3a3[_0x27a75a-0x1];let _0x49ac52,_0x588493,_0x11cfd9=0x0;for(;_0x11cfd9<_0x433ec9&&t<_0x53dee3;)_0x49ac52=t>>0x2,_0x588493=t%0x4,_0x485ce8[_0x49ac52][_0x588493]=_0x4df3a3[_0x11cfd9],_0x435c36[_0xe74232-_0x49ac52][_0x588493]=_0x4df3a3[_0x11cfd9++],t++;}for(let _0x199508=0x1;_0x199508<_0xe74232;_0x199508++)for(let _0x5b5b59=0x0;_0x5b5b59<0x4;_0x5b5b59++)_0xc061f5=_0x435c36[_0x199508][_0x5b5b59],_0x435c36[_0x199508][_0x5b5b59]=_0x4749e7[_0x1fd013([0x55,0x31])][_0xc061f5>>0x18&0xff]^_0x4749e7[_0x1fd013([0x55,0x32])][_0xc061f5>>0x10&0xff]^_0x4749e7[_0x1fd013([0x55,0x33])][_0xc061f5>>0x8&0xff]^_0x4749e7[_0x1fd013([0x55,0x34])][0xff&_0xc061f5];}}function _0x1fd013(_0x56f91a){return _0x56f91a['map'](_0x1cb175=>String['fromCharCode'](_0x1cb175))['join']('');}(_0xae62b0=>{function _0x5332b9(){const _0x305e48=[{[_0x1fd013([0x69,0x64])]:0x1,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x1fd013([0x69,0x64])]:0x2,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([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]),[_0x1fd013([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fd013([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x1fd013([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x1fd013([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x1fd013([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fd013([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x1fd013([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x1fd013([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x1fd013([0x69,0x64])]:0x3,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fd013([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x1fd013([0x69,0x64])]:0x4,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([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]),[_0x1fd013([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fd013([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x1fd013([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x1fd013([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x1fd013([0x69,0x64])]:0x5,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fd013([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]),[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1fd013([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fd013([0x66,0x67,0x69])]:[0xc]}},{[_0x1fd013([0x69,0x64])]:0x6,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fd013([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1fd013([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fd013([0x66,0x67,0x69])]:[0xc]}},{[_0x1fd013([0x69,0x64])]:0x7,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fd013([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1fd013([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fd013([0x66,0x67,0x69])]:[0xc]}},{[_0x1fd013([0x69,0x64])]:0x8,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fd013([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]),[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1fd013([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fd013([0x66,0x67,0x69])]:[0xc]}},{[_0x1fd013([0x69,0x64])]:0x9,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fd013([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1fd013([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fd013([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x1fd013([0x69,0x64])]:0xa,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([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]),[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fd013([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]),[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fd013([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]),[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1fd013([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fd013([0x66,0x67,0x69])]:[0xc]}},{[_0x1fd013([0x69,0x64])]:0xb,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fd013([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x1fd013([0x69,0x64])]:0xc,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x1fd013([0x69,0x64])]:0xd,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fd013([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1fd013([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fd013([0x66,0x67,0x69])]:[0xc]}},{[_0x1fd013([0x69,0x64])]:0xe,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x1fd013([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([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])},{[_0x1fd013([0x69,0x64])]:0xf,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fd013([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x1fd013([0x69,0x64])]:0x10,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fd013([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1fd013([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fd013([0x66,0x67,0x69])]:[0xc]}}];return _0x4e0b9d(_0x305e48),_0x305e48;function _0x4cd41a(_0x2681ce){return 0x1<<_0x2681ce-0x1;}function _0x4e0b9d(_0x5d05e6){_0x5d05e6[_0x1fd013([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1bb62b=>{_0x1bb62b[_0x1fd013([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x4cd41a(_0x1bb62b[_0x1fd013([0x69,0x64])]),_0x35ca27(_0x1bb62b)&&_0x1bb62b[_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4e0b9d(_0x1bb62b[_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x35ca27(_0x416749){return _0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x416749;}const _0x582c5f=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x30a858=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x4d107c(_0x33ad4e){const _0x229aaa=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x2364cf(_0x33ad4e,new Uint8Array([..._0x582c5f,..._0x229aaa,..._0x30a858]));}function _0x2364cf(_0x555f70,_0x1b9f7c){const _0xdc1363=_0x21546e(_0x555f70),_0x518ae8=Array[_0x1fd013([0x66,0x72,0x6f,0x6d])](_0x58c70f(_0xdc1363)),_0x529be3=_0x518ae8[_0x1fd013([0x70,0x6f,0x70])](),_0x1453fd=_0x518ae8[_0x1fd013([0x70,0x6f,0x70])]();return _0x47564b(_0x5d60da(_0x518ae8,_0x1b9f7c,_0x1453fd+0x100*_0x529be3));}function _0x21546e(_0x5ad54d){const _0x15f247=atob(_0x5ad54d),[_0x4b1af4,_0x20b7ad]=_0x15f247[_0x1fd013([0x73,0x70,0x6c,0x69,0x74])](_0x1fd013([0x2d]));try{if(atob(_0x20b7ad))return atob(_0x4b1af4);}catch(_0x197b18){}return _0x15f247;}function _0xa107bb(_0x30712e){try{const _0x4f85db=_0x4d107c(_0x30712e),_0x1033a3=JSON[_0x1fd013([0x70,0x61,0x72,0x73,0x65])](_0x4f85db),_0x525b46=parseInt(_0x1033a3[_0x1fd013([0x31])]),_0x25ac36=_0x1033a3[_0x1fd013([0x32])]||'',_0x42f20a=parseInt(_0x1033a3[_0x1fd013([0x33])]),_0x12406d=parseInt(_0x1033a3[_0x1fd013([0x34])])||0x0,_0x4d5d22=parseInt(_0x1033a3[_0x1fd013([0x35])])||0x0;return{[_0x1fd013([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x25ac36,[_0x1fd013([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x12406d,[_0x1fd013([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x525b46,[_0x1fd013([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x42f20a,[_0x1fd013([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x4d5d22};}catch(_0x2d93fb){return null;}}const _0x12cd0c=_0x5332b9(),_0x18da58={[_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x5403e7,[_0x1fd013([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])]:_0x2673dc,[_0x1fd013([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])]:_0x15c8bb},_0x3026ef=_0xae62b0[_0x1fd013([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x50add9=_0x1fd013([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0xae62b0?_0xae62b0['context']:_0xae62b0['editor'],_0x4a21c7=_0x1fd013([0x34,0x30,0x34,0x38,0x31,0x32,0x32,0x36]),_0x43d6a6=_0x1fd013([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]),_0x514b13=_0x50add9['config']['get'](_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x37431f=_0x12cd0c[_0x1fd013([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x35ca27)[_0x1fd013([0x66,0x69,0x6e,0x64])](_0x244fd6=>_0x244fd6[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x3026ef);function _0x26e02d(_0x18914e,_0x1c434e){_0x18da58[_0x1c434e[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x18914e,_0x1c434e),_0x1c434e[_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1c434e[_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x1fd013([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc53788=>_0x21716d(_0x50add9,_0xc53788[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x1fd013([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x52e623=>_0x26e02d(_0x18914e,_0x52e623));}function _0x5403e7(_0x2b9b6f,_0x4f8f4e){_0x316ff0(_0x948ef6(_0x2b9b6f,_0x4f8f4e),_0x4f8f4e);}function _0x2673dc(_0x50b9f8,_0x5764ca){function _0x3feed0(_0x49485f,_0x59139b){try{if(_0x21716d(_0x50add9,_0x1fd013([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x49485f){const _0x48ee1b=_0x58e05d(_0x50add9,_0x1fd013([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x1fd013([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x48ee1b)/0x2>_0x49485f[_0x1fd013([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x4881e8(_0x59139b[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x948ef6(_0x49485f,_0x59139b);}catch(_0xe94afd){return _0x4881e8(_0x59139b[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x316ff0(_0x3feed0(_0x50b9f8,_0x5764ca),_0x5764ca);}function _0x15c8bb(_0x1d7ce5,_0x119e41){const _0x47e12d=_0x30a858[0x0]*_0x582c5f[0x1],_0x438d10=_0x30a858[0x0]*_0x582c5f[0x2],_0x502e64=_0x30a858[0x2]*_0x582c5f[0x2];_0x21716d(_0x50add9,_0x1fd013([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x58e05d(_0x50add9,_0x1fd013([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x1fd013([0x73,0x74,0x61,0x74,0x65])]==_0x1fd013([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x3a7ccf()]=_0x502e64);function _0x27f8e0(_0x511e27,_0x270d84){try{return _0x90e2b3()?_0x4881e8(_0x270d84[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x56,0x61,0x6c,0x69,0x64])):_0x948ef6(_0x511e27,_0x270d84);}catch(_0x3bae33){return _0x4881e8(_0x270d84[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5b125d(_0xa45a7f,_0xa15329){const _0x419bfd=0x7;if(_0xa45a7f==_0xa15329[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x3a2bd5();else{if(_0xa45a7f==_0xa15329[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x54,0x72,0x69,0x61,0x6c])){const _0x1cbcea=_0x24a6d1();_0x1cbcea&&_0x55fa80(_0x1cbcea,_0xa15329[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x2c3026=_0x527ee9();window[_0x1fd013([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x55fa80(_0x1fd013([0x74,0x69,0x6d,0x65]),_0xa15329[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x2c3026);const _0x10a1f5=_0x58e05d(_0x50add9,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x1fd013([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x10a1f5[_0x1fd013([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x419bfd?_0x55fa80(_0x1fd013([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0xa15329[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x10a1f5['on'](_0x1fd013([0x61,0x64,0x64]),()=>{_0x10a1f5[_0x1fd013([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x419bfd&&_0x55fa80(_0x1fd013([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0xa15329[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x24a6d1(){if(!_0x21716d(_0x50add9,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x5b842e in window)if(Number['isNaN'](Number(_0x5b842e))){if(window[_0x5b842e]===_0x47e12d)return _0x1fd013([0x74,0x69,0x6d,0x65]);if(window[_0x5b842e]===_0x438d10)return _0x1fd013([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x90e2b3(){if(!_0x21716d(_0x50add9,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x23509b in window)if(Number['isNaN'](Number(_0x23509b))&&window[_0x23509b]===_0x502e64)return!0x0;return!0x1;}function _0x55fa80(_0x54b1ab,_0x1a1c6c){_0x3a2bd5(),_0x4881e8(_0x1a1c6c+_0x1fd013([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x54b1ab),window[_0x3a7ccf()]=_0x54b1ab===_0x1fd013([0x74,0x69,0x6d,0x65])?_0x47e12d:_0x438d10;}function _0x527ee9(){let _0x63e2d5=_0x30a858[0x6]*_0x582c5f[0x8]*_0x582c5f[0x6];return _0x21716d(_0x50add9,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x63e2d5/=0xa),_0x63e2d5;}function _0x3a2bd5(){const _0x3aa2d2=_0x50add9;function _0x105262(){_0x21716d(_0x3aa2d2,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x58e05d(_0x3aa2d2,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1fd013([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x1fd013([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x58e05d(_0x3aa2d2,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1fd013([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x58e05d(_0x3aa2d2,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1fd013([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x2381ee,_0x58e05d(_0x3aa2d2,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1fd013([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x2381ee,_0x3aa2d2[_0x1fd013([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fd013([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2381ee,_0x3aa2d2[_0x1fd013([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fd013([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2381ee,_0x3aa2d2[_0x1fd013([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1fd013([0x6d,0x6f,0x64,0x65,0x6c]))),_0x21716d(_0x3aa2d2,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x58e05d(_0x3aa2d2,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1fd013([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x1fd013([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x58e05d(_0x3aa2d2,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1fd013([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x58e05d(_0x3aa2d2,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1fd013([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x2381ee,_0x58e05d(_0x3aa2d2,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1fd013([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x2381ee);}_0x3aa2d2[_0x1fd013([0x73,0x74,0x61,0x74,0x65])]==_0x1fd013([0x72,0x65,0x61,0x64,0x79])?_0x105262():_0x3aa2d2[_0x1fd013([0x6f,0x6e,0x63,0x65])](_0x1fd013([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x21716d(_0x3aa2d2,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x105262(),_0x21716d(_0x3aa2d2,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x5efb92=_0x58e05d(_0x3aa2d2,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x30ce9f=_0x5efb92['getRevision'](0x0),_0x5ec71f=_0x5efb92['getEarlierVisibleRevision'](_0x30ce9f[_0x1fd013([0x69,0x64])]);_0x58e05d(_0x3aa2d2,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1fd013([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x30ce9f[_0x1fd013([0x69,0x64])],_0x5ec71f?_0x5ec71f[_0x1fd013([0x69,0x64])]:null,0x1)['then'](()=>_0x105262());}});}_0x5b125d(_0x27f8e0(_0x1d7ce5,_0x119e41),_0x119e41);}function _0x948ef6(_0x2dda25,_0x1eebfb){try{return _0x1760c1(_0x1eebfb)?_0x4881e8(_0x1eebfb[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x56,0x61,0x6c,0x69,0x64])):_0x2dda25&&_0x2a55a4(_0x2dda25[_0x1fd013([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x1eebfb)?_0x2dda25[_0x1fd013([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x1fd013([0x6f,0x70,0x65,0x6e])][_0x1fd013([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x4a21c7)/0x2>_0x2dda25[_0x1fd013([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x4881e8(_0x1eebfb[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x2dda25[_0x1fd013([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x4881e8(_0x1eebfb[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x54,0x72,0x69,0x61,0x6c])):_0x4881e8(_0x1eebfb[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x56,0x61,0x6c,0x69,0x64])):_0x4881e8(_0x1eebfb[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x219d50){return _0x4881e8(_0x1eebfb[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x316ff0(_0x211290,_0x1b0b89){if(_0x50add9 instanceof _0x161e11){const _0xe19fa0=_0x50add9;_0x211290==_0x1b0b89[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x150fdb(_0xe19fa0):_0x211290==_0x1b0b89[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x54,0x72,0x69,0x61,0x6c])&&window[_0x1fd013([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x150fdb(_0xe19fa0),_0x4881e8(_0x1b0b89[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x30a858[0x6]*_0x582c5f[0x8]*_0x582c5f[0x6]),_0xe19fa0[_0x1fd013([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x1fd013([0x6f,0x6e])](_0x1fd013([0x61,0x64,0x64]),(_0x1e6092,_0x1b14ec)=>{_0x211290!=_0x1b0b89[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x211290!=_0x1b0b89[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x211290!=_0x1b0b89[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x1b289e(_0x1b14ec);});}else{const _0x42a12c=_0x50add9;_0x211290==_0x1b0b89[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x1b289e(_0x42a12c):_0x211290==_0x1b0b89[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x54,0x72,0x69,0x61,0x6c])&&_0x42a12c[_0x1fd013([0x6f,0x6e])](_0x1fd013([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x309646=0x0;_0x42a12c[_0x1fd013([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fd013([0x6f,0x6e])](_0x1fd013([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5c526d,_0x8a0ec9)=>{_0x8a0ec9[0x0][_0x1fd013([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x309646++,0x1f8===_0x309646&&(_0x1b289e(_0x42a12c),_0x4881e8(_0x1b0b89[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x5c526d[_0x1fd013([0x6f,0x66,0x66])]());},{'priority':_0x1fd013([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x4881e8(_0x4423fb){const _0x7ddde0=_0x3a7ccf();return _0x50add9[_0x7ddde0]=_0x4423fb,_0x4423fb;}function _0x3a7ccf(){const _0x90e60c=String(window[_0x1fd013([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1fd013([0x6e,0x6f,0x77])]())[_0x1fd013([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1fd013([0x2e]),'');let _0x25195b='';for(let _0x59280f=0x0;_0x59280f<_0x90e60c[_0x1fd013([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59280f+=0x2){let _0x4248da=parseInt(_0x90e60c[_0x1fd013([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59280f,_0x59280f+0x2));_0x4248da>=_0x43d6a6[_0x1fd013([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4248da-=_0x43d6a6[_0x1fd013([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x25195b+=_0x43d6a6[_0x4248da];}return _0x25195b;}function _0x150fdb(_0x1e20e3){for(const _0x242db0 of _0x1e20e3[_0x1fd013([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x1b289e(_0x242db0);_0x58e05d(_0x1e20e3,_0x1fd013([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x1fd013([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x58e05d(_0x1e20e3,_0x1fd013([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x1fd013([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x2381ee;}function _0x1b289e(_0x252b6a){function _0x44f949(){_0x252b6a[_0x1fd013([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fd013([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2381ee,_0x252b6a[_0x1fd013([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fd013([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2381ee,_0x252b6a[_0x1fd013([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1fd013([0x6d,0x6f,0x64,0x65,0x6c]));}_0x252b6a[_0x1fd013([0x73,0x74,0x61,0x74,0x65])]==_0x1fd013([0x72,0x65,0x61,0x64,0x79])?_0x44f949():_0x252b6a[_0x1fd013([0x6f,0x6e,0x63,0x65])](_0x1fd013([0x72,0x65,0x61,0x64,0x79]),()=>_0x44f949());}function _0x2381ee(){return null;}function _0x2a55a4(_0x49c689,_0x5e277b){const _0x1d2a80=!!(_0x49c689&_0x5e277b[_0x1fd013([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x48d06d=_0x6e71b2(_0x49c689,_0x5e277b);return _0x1d2a80||_0x48d06d;}function _0x6e71b2(_0x32a72b,_0x3c846c){const _0x5d6a64=(_0x3c846c[_0x1fd013([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x1fd013([0x66,0x67,0x69])]||null;return!!_0x5d6a64&&_0x12cd0c[_0x1fd013([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5cd4a3=>_0x5d6a64[_0x1fd013([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5cd4a3[_0x1fd013([0x69,0x64])]))[_0x1fd013([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x205240=>!_0x1b5fd1(_0x205240))[_0x1fd013([0x73,0x6f,0x6d,0x65])](_0x19a082=>!!(_0x32a72b&_0x19a082[_0x1fd013([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x1b5fd1(_0x2a5c64){const _0x5ee13c={[_0x1fd013([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])]:_0x57c21c};return!!_0x2a5c64['forbiddenHandler']&&_0x5ee13c[_0x2a5c64['forbiddenHandler']]();}function _0x57c21c(){return!window[_0x1fd013([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x21716d(_0x50add9,_0x1fd013([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x1760c1(_0x58dea1){if(!_0x21716d(_0x50add9,_0x58dea1[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x3d45f1=_0x58dea1[_0x1fd013([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x28af92=_0x3d45f1[_0x1fd013([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x1f3888=_0x3d45f1[_0x1fd013([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x29f48d=_0x3d45f1[_0x1fd013([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x21716d(_0x50add9,_0x1fd013([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x58e05d(_0x50add9,_0x1fd013([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x1fd013([0x73,0x74,0x61,0x74,0x65])]==_0x1fd013([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x28af92)return!0x0;if(_0x21716d(_0x50add9,_0x1fd013([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x58e05d(_0x50add9,_0x1fd013([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x1fd013([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x1fd013([0x65,0x6e,0x64])&&_0x1f3888)return!0x0;return!(!_0x21716d(_0x50add9,_0x1fd013([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]))||_0x58e05d(_0x50add9,_0x1fd013([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]))[_0x1fd013([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x1fd013([0x65,0x6e,0x64])||!_0x29f48d);}function _0x21716d(_0x1c0574,_0x192cf7){return _0x1c0574[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1fd013([0x68,0x61,0x73])](_0x192cf7);}function _0x58e05d(_0x24709a,_0x5ebc9d){return _0x24709a[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1fd013([0x67,0x65,0x74])](_0x5ebc9d);}function _0x47564b(_0x1d02f0){let _0x5f3d21='';for(const _0x5ba634 of _0x1d02f0)_0x5f3d21+=String[_0x1fd013([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x5ba634);return _0x5f3d21;}function _0x58c70f(_0x16ef76){const _0x3ab799=new Uint8Array(_0x16ef76[_0x1fd013([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x4f154f=0x0;_0x4f154f<_0x16ef76[_0x1fd013([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f154f++)_0x3ab799[_0x4f154f]=_0x16ef76[_0x1fd013([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4f154f);return _0x3ab799;}_0x37431f&&_0x26e02d(_0xa107bb(_0x514b13),_0x37431f);})(_0x2084fa);}(this);}['createRevision'](_0x5b1639){const _0x7f9744=this['editor']['plugins']['get']('Users');return new a({'id':_0x5b1639['id'],'name':_0x5b1639['name'],'creator':_0x5b1639['creatorId']?_0x7f9744['getUser'](_0x5b1639['creatorId']):null,'diffData':_0x5b1639['diffData']||_0x5b1639['data'],'authors':_0x5b1639['authorsIds']['map'](_0x334384=>_0x7f9744['getUser'](_0x334384)),'createdAt':new Date(_0x5b1639['createdAt']),'attributes':_0x5b1639['attributes'],'fromVersion':_0x5b1639['fromVersion'],'toVersion':_0x5b1639['toVersion']});}['addRevision'](_0x9abf5e,_0x359410=0x0){this['_revisions']['add'](_0x9abf5e,_0x359410);}['getRevision'](_0x3a5c6d){return this['_revisions']['get'](_0x3a5c6d);}['getRevisions'](_0x384aa7={'toJSON':!0x1}){const _0x54adf2=Array['from'](this['_revisions']);return _0x54adf2['reverse'](),_0x384aa7['toJSON']?_0x54adf2['map'](_0x2d136c=>_0x2d136c['toJSON']()):_0x54adf2;}['getIndex'](_0x5dba4f){return this['_revisions']['getIndex'](_0x5dba4f);}['getEarlierVisibleRevision'](_0x2463dd){const [,_0x191bf6]=this['getRevisionsIterator'](_0x2463dd,{'direction':'earlier'});return _0x191bf6;}['getLaterVisibleRevision'](_0x37a2f9){const [,_0x38df32]=this['getRevisionsIterator'](_0x37a2f9,{'direction':'later'});return _0x38df32;}['getRevisionsInDiff'](_0x14949c){const _0x3bc2dc=[];for(const _0x38893e of this['getRevisionsIterator'](_0x14949c['newRevisionId']))if(_0x3bc2dc['push'](_0x38893e),_0x38893e['id']===_0x14949c['oldRevisionId'])break;return _0x3bc2dc;}*['getRevisionsIterator'](_0x52b213,{direction:_0x248c16='earlier',filter:_0x1796c5=_0x36fea6=>!0x0}={}){const _0x25b101='earlier'===_0x248c16?0x1:-0x1;let _0xbad69a=this['_revisions']['get'](_0x52b213),_0x4a1ada=this['getIndex'](_0xbad69a);for(yield _0xbad69a;_0xbad69a;){if(_0x4a1ada+=_0x25b101,_0xbad69a=this['getRevision'](_0x4a1ada),!_0xbad69a)return;_0x1796c5(_0xbad69a)&&(yield _0xbad69a);}}}function y(_0x3ab760,_0x5ca9f0,_0x58849c){const t=_0x3ab760['t'];switch(_0x5ca9f0){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'},_0x58849c);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x58849c);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':_0x497e1c,'a':_0x4d9ed0,'e':_0x1c8404,'r':_0x117945,'u':_0x199255};class l extends _0x15722d{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x358c29,A,_0x4f4cfd];}constructor(_0x3e5df1){super(_0x3e5df1),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 _0x5f5aef=_0x523f17();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x5f5aef},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x216ae0=this['repository']['getRevision'](0x0),_0x542a33=_0x216ae0&&null===_0x216ae0['creator']?_0x216ae0:null;if(this['_continueCurrentRevision']=!!_0x542a33&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x47589a=this['_source']['getCurrentRevisionId'](),_0x448acf=this['repository']['getRevision'](_0x47589a);if(_0x448acf)this['_startingVersion']=_0x448acf['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x3180a3=this['_source']['history']['_operations']['find'](_0x2b7ae9=>!_0x2b7ae9['_isInit']),_0x4f29b0=_0x3180a3?_0x3180a3['baseVersion']:this['_source']['history']['version'];_0x216ae0?(_0x216ae0['toVersion']<_0x4f29b0&&_0x216ae0['_update']({'toVersion':_0x4f29b0}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x542a33['id'],this['_startingVersion']=_0x542a33['fromVersion']):(this['_startingVersion']=_0x216ae0['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x4f29b0,this['_continueCurrentRevision']=!0x1);}}else _0x542a33&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x542a33['toVersion'],this['editor']['model']['document']['history']['version']),_0x542a33['fromVersion']===_0x542a33['toVersion']?(0x0!==_0x542a33['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x542a33['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x542a33['id'],this['_startingVersion']=_0x542a33['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',_0x3e2918=>!_0x3e2918);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x44ca50=this['repository']['getRevision'](0x0),_0x11e88d=await this['getRevisionDocumentData'](_0x44ca50),_0x4c80ed=await this['getRevisionRootsAttributes'](_0x44ca50);this['_replaceEditorDataWithRevisionData'](_0x11e88d,_0x4c80ed);}}['setSource'](_0x4771cf){this['_source']=_0x4771cf;}async['update'](){const _0x1e12b8=await this['_source']['getLatestVersion']();if(_0x1e12b8>this['currentRevision']['toVersion']){await this['_loadState']();const _0x541b5e=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x1e12b8});_0x541b5e['authors']=_0x541b5e['authorsIds']['map'](_0x4adbac=>this['editor']['plugins']['get']('Users')['getUser'](_0x4adbac)),this['currentRevision']['_update'](_0x541b5e);}}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'](_0xb4a281={},_0x24c4dc=null){const _0x307f61=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x24c4dc>this['currentRevision']['toVersion']&&(_0x24c4dc=null),null===_0x24c4dc&&(_0x24c4dc=await this['_source']['getLatestVersion']());const _0x529d7f=this['_getFromVersion'](_0x24c4dc),_0xd0141f=this['buildRevisionData']({'from':_0x529d7f,'to':_0x24c4dc});if(this['currentRevision']['toVersion']<_0x24c4dc){const _0x5a52eb=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x24c4dc,'to':_0x24c4dc});_0x5a52eb['authors']=[],_0x5a52eb['authorsIds']=[],_0x5a52eb['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x5a52eb,!0x0),delete _0x5a52eb['authors'],_0x307f61['push'](_0x5a52eb);}_0xb4a281['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0xb4a281['name']=_0xb4a281['name']||null,_0xb4a281['id']=_0xb4a281['id']||_0x523f17(),_0xb4a281={..._0xb4a281,..._0xd0141f};const _0x669c98=this['addRevisionData'](_0xb4a281);_0x307f61['push'](_0xb4a281);const _0x952341=this['repository']['getIndex'](_0x669c98);if(0x0!==_0x952341){const _0x5d15ac=this['repository']['getRevision'](_0x952341-0x1);if(_0x5d15ac['fromVersion']!==_0x24c4dc){const _0x12fd01=this['_revisionDataBuilder']['getData'](_0x24c4dc,_0x5d15ac['toVersion']),_0x2ced5e={'id':_0x5d15ac['id'],'diffData':_0x12fd01['diffData'],'authorsIds':_0x12fd01['authorsIds'],'authors':_0x12fd01['authorsIds']['map'](_0x2891d3=>this['editor']['plugins']['get']('Users')['getUser'](_0x2891d3)),'fromVersion':_0x24c4dc};_0x5d15ac===this['currentRevision']&&(_0x2ced5e['createdAt']=new Date(_0xb4a281['createdAt']['getTime']()+0xa)),_0x5d15ac['_update'](_0x2ced5e,!0x0),delete _0x2ced5e['authors'],_0x307f61['push'](_0x2ced5e);}}if(this['adapter']){for(const _0xc66582 of _0x307f61)this['_bufferUpdate'](_0xc66582['id'],_0xc66582,!0x0);this['sendBufferedUpdates']();}return _0x669c98;}['addRevisionData'](_0x4acfe3){const _0x929547=this['repository']['createRevision'](_0x4acfe3);return this['adapter']&&_0x929547['on']('_update',(_0xdae061,_0x339f86,_0x5f51f5)=>{_0x5f51f5||(this['_bufferUpdate'](_0x339f86['id'],_0x339f86,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x929547,this['_findInsertionIndex'](_0x929547)),_0x929547;}async['getRevisionDocumentData'](_0x24a58c){await this['_loadRevisionData'](_0x24a58c);const _0x25d85a={};for(const _0x2417bb in _0x24a58c['diffData']){if(_0x24a58c['diffData'][_0x2417bb]['attachChange']&&!_0x24a58c['diffData'][_0x2417bb]['attachChange']['isAttached'])continue;const _0x38c06d=this['_removeRevisionMarkers'](JSON['parse'](_0x24a58c['diffData'][_0x2417bb]['insertions'])),_0x33a3f6=this['editor']['editing']['view']['document'],_0x5ab72a=new _0x341735(_0x33a3f6,_0x38c06d['map'](_0x46827e=>B(_0x46827e,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x25d85a[_0x2417bb]=this['editor']['data']['processor']['toData'](_0x5ab72a),this['editor']['data']['processor']['useFillerType']('default');}return _0x25d85a;}async['getRevisionRootsAttributes'](_0x362479){await this['_loadRevisionData'](_0x362479);const _0x5926cc={};for(const _0xa08e7f in _0x362479['diffData'])_0x362479['diffData'][_0xa08e7f]['attachChange']&&!_0x362479['diffData'][_0xa08e7f]['attachChange']['isAttached']||(_0x5926cc[_0xa08e7f]=_0x362479['diffData'][_0xa08e7f]['attributesAfter']||{});return _0x5926cc;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x70f87f=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x4d4d3e=0x0;_0x4d4d3e<_0x70f87f['length'];_0x4d4d3e++){const _0x4a55cb=_0x70f87f[_0x4d4d3e];let _0x4cc3ee=!0x1;for(const _0x4b13ba of Object['keys'](_0x4a55cb))void 0x0===_0x4a55cb[_0x4b13ba]?delete _0x4a55cb[_0x4b13ba]:'id'!==_0x4b13ba&&(_0x4cc3ee=!0x0);_0x4cc3ee||(_0x70f87f[_0x4d4d3e]=null);}if(_0x70f87f=_0x70f87f['filter'](_0x25b4fa=>null!==_0x25b4fa),!_0x70f87f['length'])return;for(let _0x34231d=0x0;_0x34231d<_0x70f87f['length'];_0x34231d++){const _0x23bd30=_0x70f87f[_0x34231d];void 0x0!==_0x23bd30['fromVersion']&&void 0x0===_0x23bd30['toVersion']&&(_0x23bd30['toVersion']=this['repository']['getRevision'](_0x23bd30['id'])['toVersion']),void 0x0!==_0x23bd30['toVersion']&&void 0x0===_0x23bd30['fromVersion']&&(_0x23bd30['fromVersion']=this['repository']['getRevision'](_0x23bd30['id'])['fromVersion']);}const _0x5be8d2=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x70f87f,_0x5be8d2)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x4b2fa0=>{if(_0x4b2fa0){for(const _0x5db651 of _0x4b2fa0)this['setRevisionData']({'id':_0x5db651['id'],'createdAt':_0x5db651['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x268cf1,_0x2bf455){let _0x62b64b=this['editor']['config']['get']('initialData'),_0x1049f5=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x62b64b){_0x62b64b={};for(const _0x5504a8 of this['editor']['model']['document']['getRootNames']())_0x62b64b[_0x5504a8]='';}if('string'==typeof _0x62b64b&&(_0x62b64b={'main':_0x62b64b}),void 0x0===_0x1049f5){_0x1049f5={};for(const _0x5146f9 of this['editor']['model']['document']['getRootNames']())_0x1049f5[_0x5146f9]={};}let _0x395589=!0x1;const _0x2766d9=Object['keys'](_0x62b64b),_0x52bd3c=Object['keys'](_0x268cf1);for(const _0x13aeac of _0x2766d9){if(_0x62b64b[_0x13aeac]!==_0x268cf1[_0x13aeac]&&''!==_0x62b64b[_0x13aeac]['trim']()){_0x395589=!0x0;break;}if(!_0x939660(_0x1049f5[_0x13aeac],_0x2bf455[_0x13aeac])&&Object['keys'](_0x1049f5[_0x13aeac])['length']>0x0){_0x395589=!0x0;break;}}_0x395589||(_0x395589=_0x52bd3c['some'](_0x31f9e7=>!this['editor']['model']['document']['getRoot'](_0x31f9e7))),_0x395589&&_0x1e6c57('editor-initial-data-replaced-with-revision-data',{'editorData':_0x62b64b,'editorRootsAttributes':_0x1049f5,'revisionData':_0x268cf1,'revisionRootsAttributes':_0x2bf455}),this['editor']['config']['set']('initialData',_0x268cf1),this['editor']['config']['set']('rootsAttributes',_0x2bf455);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x1aee7d=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x1aee7d['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x39fd30){const _0x2e0fa4=this['repository']['getRevisions']();_0x2e0fa4['reverse']();let _0x4e612a=0x0;for(;_0x4e612a<_0x2e0fa4['length'];){const _0x3f9016=_0x2e0fa4[_0x4e612a];if(_0x3f9016===this['currentRevision']){_0x4e612a++;continue;}if(_0x3f9016['id']===this['_initialRevisionId'])break;const _0x4d6295=_0x39fd30['toVersion']-_0x3f9016['toVersion']||_0x39fd30['fromVersion']-_0x3f9016['fromVersion'];if(_0x4d6295>0x0)break;if(_0x4d6295<0x0)_0x4e612a++;else{if(!_0x39fd30['creator']&&_0x3f9016['creator'])break;if(_0x3f9016['creator']||!_0x39fd30['creator']){if(_0x39fd30['createdAt']>_0x3f9016['createdAt'])break;_0x4e612a++;}else _0x4e612a++;}}return _0x4e612a;}['setRevisionData'](_0x572f55){const _0x52c667=this['repository']['getRevision'](_0x572f55['id']);if(_0x572f55['createdAt']&&(_0x572f55['createdAt']=new Date(_0x572f55['createdAt'])),_0x572f55['authorsIds']){const _0x5926c2=this['editor']['plugins']['get']('Users');_0x572f55['authors']=_0x572f55['authorsIds']['map'](_0x3f214b=>_0x5926c2['getUser'](_0x3f214b));}_0x52c667['_update'](_0x572f55,!0x0);}['buildRevisionData']({revision:_0x58e69b=null,from:_0x512296=null,to:_0x5c06a2=null}){_0x512296=null!==_0x512296?_0x512296:_0x58e69b['fromVersion'],_0x5c06a2=null!==_0x5c06a2?_0x5c06a2:_0x58e69b['toVersion'];const _0xa9abfd=this['_revisionDataBuilder']['getData'](_0x512296,_0x5c06a2),_0x121acf={'diffData':_0xa9abfd['diffData'],'authorsIds':_0xa9abfd['authorsIds'],'fromVersion':_0x512296,'toVersion':_0x5c06a2};if(!_0x58e69b||_0x5c06a2!==_0x58e69b['toVersion']){const _0x3d7781=_0x5c06a2-0x1,_0x476299=this['_source']['history']['getOperation'](_0x3d7781);_0x121acf['createdAt']=_0x476299&&_0x476299['createdAt']||new Date();}if(this['_loadedStateData']&&_0x512296===this['_loadedStateData']['fromVersion']){for(const _0x1cbb92 of this['_loadedStateData']['authors'])_0x121acf['authorsIds']['includes'](_0x1cbb92['id'])||_0x121acf['authorsIds']['push'](_0x1cbb92['id']);}return _0x121acf;}['_loadRevisionData'](_0x219967){if(!_0x219967||_0x219967['diffData'])return Promise['resolve']();{const _0x191c80=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x191c80,'revisionId':_0x219967['id']})['then'](_0x230a2f=>{_0x219967['diffData']=_0x230a2f['diffData'];});}}['_bufferUpdate'](_0x57a96f,_0x1059c0,_0x41eacf){if(this['_bufferedUpdates']['has'](_0x57a96f)){const _0x3456f3=this['_bufferedUpdates']['get'](_0x57a96f);_0x1059c0=_0x41eacf?{..._0x3456f3,..._0x1059c0}:{..._0x1059c0,..._0x3456f3};}this['_bufferedUpdates']['set'](_0x57a96f,_0x1059c0);}['_getFromVersion'](_0x23840b){const _0x2272d4=this['repository']['getRevisions']();_0x2272d4['reverse'](),_0x2272d4['shift']();const _0x10b15f=_0x2272d4['find'](_0x59304f=>_0x59304f['toVersion']<=_0x23840b)['toVersion'];return _0x10b15f<this['_startingVersion']?this['_startingVersion']:_0x10b15f;}['_createInitialRevision'](_0x1ac005){const _0x5da32e=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x5da32e)this['_initialRevisionId']=_0x5da32e['id'];else{const _0x7e927a=!this['editor']['model']['document']['roots']['find'](_0x511df8=>this['editor']['model']['hasContent'](_0x511df8)),_0x23f353=this['editor']['plugins']['get']('Users')['me']['id'],_0x2c939e=y(this['editor']['locale'],_0x7e927a?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x1ac005,'to':_0x1ac005,'id':this['_initialRevisionId'],'name':_0x2c939e,'creatorId':_0x23f353});}}['_createCurrentRevision'](_0x1b9d8e){const _0x423eaf=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x423eaf),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x1b9d8e,'to':_0x1b9d8e,'id':_0x423eaf,'name':'','creatorId':null}));}['_makeRevision']({name:_0x39872a,from:_0x528ea6,to:_0x1f4690,creatorId:_0x5d4341,id:_0x10a31e}){const _0x32a705=this['buildRevisionData']({'from':_0x528ea6,'to':_0x1f4690});_0x32a705['name']=_0x39872a,_0x32a705['creatorId']=_0x5d4341,_0x32a705['id']=_0x10a31e;const _0x244fb3=this['addRevisionData'](_0x32a705);return this['adapter']&&this['_bufferUpdate'](_0x32a705['id'],_0x32a705,!0x0),_0x244fb3;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x56f673){return(_0x56f673=_0x56f673['filter'](_0x55ef52=>!_0x55ef52['name']||'revision-start'!==_0x55ef52['name']&&'revision-end'!==_0x55ef52['name']))['forEach'](_0x959735=>{'string'!=typeof _0x959735&&(_0x959735['children']=this['_removeRevisionMarkers'](_0x959735['children']),_0x959735['attributes']=_0x959735['attributes']['filter'](_0x855cda=>!_0x855cda[0x0]['startsWith']('data-revision-')));}),_0x56f673;}}function B(_0x208927,_0x182461){const _0x359c0a=_0x182461['editing']['view']['document'];if('string'==typeof _0x208927)return new _0x1ff27e(_0x359c0a,_0x208927);{const _0x31ec59=_0x208927['children']['map'](_0x5d6175=>B(_0x5d6175,_0x182461));return new(T[_0x208927['type']]||_0x4552e8)(_0x359c0a,_0x208927['name'],_0x208927['attributes'],_0x31ec59);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x33511c){this['editor']=_0x33511c,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}['init'](_0x2acf62){this['source']=_0x2acf62;const _0x5f3ea6=new Map(),_0x2a492d=new Map(),_0x5ecee4=this['editor']['model']['document']['roots']['map'](_0x3ba3f2=>_0x3ba3f2['rootName']);for(const _0x1ca0f2 of _0x5ecee4){const _0x3ef308=this['editor']['model']['document']['getRoot'](_0x1ca0f2),_0x2e54e3=q(_0x3ef308);_0x5f3ea6['set'](_0x1ca0f2,_0x2e54e3),_0x2a492d['set'](_0x1ca0f2,Object['fromEntries'](_0x3ef308['getAttributes']()));}const _0x302c4e=Array['from'](this['editor']['model']['markers'])['map'](_0x246b39=>[_0x246b39['name'],_0x246b39['getRange']()]),_0x3b1bf9=this['source']['version'];this['_saveMetaData'](_0x3b1bf9,_0x5f3ea6,_0x302c4e,_0x2a492d),this['_startingRevisionId']=this['_revisionId'];const _0x40a264=new Map(),_0x4c2261=new Map();for(const _0xc901d2 of _0x5ecee4){const _0x4d6f71=G(_0xc901d2);_0x40a264['set'](_0xc901d2,_0x4d6f71),_0x4c2261['set'](_0xc901d2,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x40a264,[],_0x4c2261);}['getData'](_0x15474e,_0xf3014a){if(this['_lastFrom']===_0x15474e&&this['_lastTo']<=_0xf3014a)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0xf3014a,!0x0);else{if(!this['_savedMetaData']['has'](_0x15474e)){const _0x9df1b3=this['_getPreviousFrom'](_0x15474e);this['_calculateMetaData'](_0x9df1b3,_0x15474e,!0x1);}this['_calculateMetaData'](_0x15474e,_0xf3014a,!0x0);}return this['_lastFrom']=_0x15474e,this['_lastTo']=_0xf3014a,this['_getState']();}['loadState'](_0x51602e){this['_reset'](),this['_lastFrom']=_0x51602e['fromVersion'],this['_lastTo']=_0x51602e['toVersion'];for(const _0x4493fe in _0x51602e['diffData']){const _0x1f7187=_0x51602e['diffData'][_0x4493fe]['attachChange'],_0x1359b5=_0x11fb1e(_0x51602e['diffData'][_0x4493fe]['attributesBefore'])||{},_0x5e298e=this['_makeModelFromViewString'](_0x51602e['diffData'][_0x4493fe]['deletions']);_0x5e298e['rootName']=_0x4493fe,_0x5e298e['_isAttached']=!_0x1f7187||!_0x1f7187['isAttached'],_0x5e298e['isAttached']=()=>_0x5e298e['_isAttached'],this['_baseRoots']['set'](_0x4493fe,_0x5e298e),this['_baseRootsAttributes']['set'](_0x4493fe,_0x1359b5),_0x1f7187&&this['_touchedRoots']['set'](_0x4493fe,_0x1f7187);const _0x25bc1e=this['_makeIdsRoot'](_0x5e298e);this['_baseIdsRoots']['set'](_0x4493fe,_0x25bc1e);for(const [_0x4c41eb,_0x491849]of _0x5e298e['markers']){if(!_0x4c41eb['startsWith']('revision:'))continue;const _0x29a51e=_0x4c41eb['split'](':')[0x2];for(const _0x5cd636 of _0x491849['getWalker']({'singleCharacters':!0x0})){const _0x33fe9e=this['_getVidAttributeName'](_0x5cd636),_0xf36ce9='elementEnd'==_0x5cd636['type']?_0x5cd636['previousPosition']['path']['slice'](0x0,-0x1):_0x5cd636['previousPosition']['path'],_0x30d8f6=_0x25bc1e['getNodeByPath'](_0xf36ce9)['getAttribute'](_0x33fe9e);this['_touched']['set'](_0x30d8f6,{'userId':_0x29a51e});}}}this['_startingRevisionId']=this['_revisionId'];const _0x4b1a9d=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x403205=>!this['_touched']['has'](_0x403205));let _0x158a48=0x0;const _0x4ec603=new Map();for(const _0x486124 in _0x51602e['diffData']){const _0x1f8361=_0x51602e['diffData'][_0x486124]['attachChange'],_0x3cf34f=_0x11fb1e(_0x51602e['diffData'][_0x486124]['attributesAfter'])||{},_0x475d61=this['_makeModelFromViewString'](_0x51602e['diffData'][_0x486124]['insertions']);_0x475d61['rootName']=_0x486124,_0x475d61['_isAttached']=!_0x1f8361||_0x1f8361['isAttached'],_0x475d61['isAttached']=()=>_0x475d61['_isAttached'],this['_diffRoots']['set'](_0x486124,_0x475d61),this['_diffRootsAttributes']['set'](_0x486124,_0x3cf34f);const _0x5e820e=this['_makeIdsRoot'](_0x475d61,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x486124,_0x5e820e),_0x4ec603['set'](_0x486124,_0x475d61['isAttached']()?_0x3cf34f:{});for(const [_0x3476aa,_0xaafa5e]of _0x475d61['markers']){if(!_0x3476aa['startsWith']('revision:'))continue;const _0x2c529a=_0x3476aa['split'](':')[0x2];for(const _0x53a52d of _0xaafa5e['getWalker']({'singleCharacters':!0x0})){const _0x4df206=this['_getVidAttributeName'](_0x53a52d),_0x9d5aff=this['_revisionId']++,_0x5f5a63='elementEnd'==_0x53a52d['type']?_0x53a52d['previousPosition']['path']['slice'](0x0,-0x1):_0x53a52d['previousPosition']['path'];_0x5e820e['getNodeByPath'](_0x5f5a63)['_setAttribute'](_0x4df206,_0x9d5aff),this['_touched']['set'](_0x9d5aff,{'userId':_0x2c529a});}}for(const _0x1f7b21 of this['editor']['model']['createRangeIn'](_0x475d61)['getWalker']({'singleCharacters':!0x0})){const _0xa3dfbb=this['_getVidAttributeName'](_0x1f7b21),_0x46a620='elementEnd'==_0x1f7b21['type']?_0x1f7b21['previousPosition']['path']['slice'](0x0,-0x1):_0x1f7b21['previousPosition']['path'],_0x1c5176=_0x5e820e['getNodeByPath'](_0x46a620);_0x1c5176['getAttribute'](_0xa3dfbb)>0x0||_0x1c5176['_setAttribute'](_0xa3dfbb,_0x4b1a9d[_0x158a48++]);}for(const [_0x6489e8,_0x3f08fd]of _0x475d61['markers'])_0x6489e8['startsWith']('revision:')||this['_markers']['set'](_0x6489e8,_0x3f08fd);}const _0x352dde=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x352dde),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x352dde,0x1));const _0x724fa1=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x724fa1),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x724fa1,0x1));const _0x567ee0=Array['from'](this['_diffRoots'])['map'](([_0x519256,_0x48d6f4])=>[_0x519256,q(_0x48d6f4)]);this['_saveMetaData'](this['_lastTo'],_0x567ee0,this['_markers'],_0x4ec603);}['_makeModelFromViewString'](_0x1fc153){const _0x365d40=JSON['parse'](_0x1fc153),_0x342173=this['editor']['editing']['view']['document'],_0x285082=new _0x341735(_0x342173,_0x365d40['map'](_0x3dd1e8=>B(_0x3dd1e8,this['editor'])));return this['editor']['data']['toModel'](_0x285082);}['_saveMetaData'](_0x3d789d,_0x1b23b4,_0xd1e5bf,_0x16fae3){const _0x566a6f=new Map(_0x1b23b4),_0x46c203=new Map(_0x11fb1e(_0x16fae3)),_0x202964=new Map();for(const [_0x1776e8,_0x30fb14]of _0xd1e5bf)_0x202964['set'](_0x1776e8,{'start':_0x30fb14['start']['clone'](),'end':_0x30fb14['end']['clone'](),'rootName':_0x30fb14['root']['rootName']});this['_savedMetaData']['set'](_0x3d789d,{'roots':_0x566a6f,'markers':_0x202964,'rootsAttributes':_0x46c203});}['_removeMetaData'](_0xc7e00f){this['_savedMetaData']['delete'](_0xc7e00f);}['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'](_0x96ab8c,_0x2564e=null){let _0x47b123=null;_0x96ab8c['is']('documentFragment')||(_0x47b123=new ft(_0x96ab8c['name'],{'vid_start':null===_0x2564e?this['_revisionId']++:_0x2564e++}));const _0x5eb526=[];for(const _0x10a35d of _0x96ab8c['getChildren']())if(_0x10a35d['is']('element')){_0x5eb526['push'](this['_makeIdsRoot'](_0x10a35d,_0x2564e));const _0x22c016=_0x5eb526[_0x5eb526['length']-0x1];null!==_0x2564e&&(_0x2564e=_0x22c016['is']('element','$text')?_0x22c016['getAttribute']('vid')+0x1:_0x22c016['getAttribute']('vid_end')+0x1);}else{for(let _0x5e2e42=0x0;_0x5e2e42<_0x10a35d['offsetSize'];_0x5e2e42++)_0x5eb526['push'](new ft('$text',{'vid':null===_0x2564e?this['_revisionId']++:_0x2564e++}));}if(_0x96ab8c['is']('documentFragment')){const _0x560d80=G(_0x96ab8c['rootName']);return _0x560d80['_insertChild'](0x0,_0x5eb526),_0x560d80;}return _0x47b123['_setAttribute']('vid_end',null===_0x2564e?this['_revisionId']++:_0x2564e++),_0x47b123['_insertChild'](0x0,_0x5eb526),_0x47b123;}['_calculateMetaData'](_0x57e585,_0x32880d,_0x3701a0){this['_reset']();const {roots:_0xcb3fc3,markers:_0x34c9fa,rootsAttributes:_0x1ddcd3}=this['_savedMetaData']['get'](_0x57e585);this['_baseRoots']=new Map(_0xcb3fc3),this['_baseRootsAttributes']=new Map(_0x11fb1e(_0x1ddcd3));for(const [_0x3e2693,_0xfdb106]of this['_baseRoots'])if('$graveyard'!==_0x3e2693&&(this['_diffRoots']['set'](_0x3e2693,q(_0xfdb106)),this['_diffRootsAttributes']=new Map(_0x11fb1e(_0x1ddcd3)),_0x3701a0)){const _0x445102=this['_revisionId'];this['_idsRoots']['set'](_0x3e2693,this['_makeIdsRoot'](_0xfdb106)),this['_baseIdsRoots']['set'](_0x3e2693,this['_makeIdsRoot'](_0xfdb106,_0x445102));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x3701a0&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0xf581bb,_0x2fc543]of _0x34c9fa){const _0x52cc12=this['_baseRoots']['get'](_0x2fc543['rootName']),_0x1291b2=this['_diffRoots']['get'](_0x2fc543['rootName']),_0x28807c=new vt(this['_fixPosition'](_0x2fc543['start'],_0x52cc12),this['_fixPosition'](_0x2fc543['end'],_0x52cc12)),_0x5ef99a=this['_fixRange'](_0x28807c,_0x1291b2);_0x52cc12['markers']['set'](_0xf581bb,_0x28807c),this['_markers']['set'](_0xf581bb,_0x5ef99a);}this['_applyOperations'](_0x57e585,_0x32880d,_0x3701a0);}['_applyOperations'](_0x30de38,_0x34cc2b,_0x2fe210){for(const _0x5e2e99 of this['source']['getOperations'](_0x30de38,_0x34cc2b))this['_handleOperation'](_0x5e2e99,_0x2fe210);for(const _0x557ba1 of this['_diffRoots']['values']())_0x557ba1['markers']['clear']();for(const [_0x423f18,_0xa873fd]of this['_markers']){this['_diffRoots']['get'](_0xa873fd['root']['rootName'])['markers']['set'](_0x423f18,_0xa873fd['clone']());}const _0x123c78=new Map(),_0x181e31=new Map();for(const [_0xc2b3a7,_0x14e884]of this['_diffRoots'])_0x123c78['set'](_0xc2b3a7,q(_0x14e884)),_0x181e31['set'](_0xc2b3a7,this['_diffRootsAttributes']['get'](_0xc2b3a7));this['_saveMetaData'](_0x34cc2b,_0x123c78,this['_markers'],_0x181e31);}['_getPreviousFrom'](_0x443847){const _0x19315f=Array['from'](this['_savedMetaData']['keys']());_0x19315f['sort']((_0x507aad,_0xc1b1ff)=>_0x507aad-_0xc1b1ff),_0x19315f['reverse']();for(const _0x47c3d0 of _0x19315f)if(_0x47c3d0<_0x443847)return _0x47c3d0;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x8fdfc4,_0x58a09e){const _0x4ee469=Array['from'](_0x58a09e['markers'])['map'](([_0x3f5d8f,_0x57ccba])=>[_0x3f5d8f,this['_fixRange'](_0x57ccba,_0x8fdfc4)]);_0x8fdfc4['markers']=new Map(_0x4ee469);}['_transformMarkers'](_0x5bd6a6){for(const _0x4fd452 of this['_markers']['values']()){const _0xbaf2c4=_0x4fd452['getTransformedByOperation'](_0x5bd6a6),_0x249fe7=vt['_createFromRanges'](_0xbaf2c4);_0x4fd452['start']=_0x249fe7['start'],_0x4fd452['end']=_0x249fe7['end'];}}['_handleOperation'](_0x927f09,_0x525a15){if('addRoot'==_0x927f09['type']||'detachRoot'==_0x927f09['type'])return void this['_handleRootOperation'](_0x927f09,_0x525a15);if('insert'==_0x927f09['type']){const _0x1d9ebb=_0x927f09['position']['root']['rootName'];this['_diffRoots']['has'](_0x1d9ebb)||(this['_diffRoots']['set'](_0x1d9ebb,G(_0x1d9ebb,!0x0)),this['_diffRootsAttributes']['set'](_0x1d9ebb,{}),_0x525a15&&this['_idsRoots']['set'](_0x1d9ebb,G(_0x1d9ebb,!0x0)));}else{if('addRootAttribute'==_0x927f09['type']||'removeRootAttribute'==_0x927f09['type']||'changeRootAttribute'==_0x927f09['type'])return void this['_handleRootAttributeOperation'](_0x927f09);}const _0x2c0643=this['_cloneOperation'](_0x927f09,this['_diffRoots']);if('marker'!==_0x927f09['type']&&(_0x2c0643['_execute'](),this['_transformMarkers'](_0x2c0643)),_0x525a15)switch(_0x2c0643['type']){case'insert':this['_handleInsertOperation'](_0x927f09);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x927f09);break;case'merge':this['_handleMergeOperation'](_0x927f09);break;case'split':this['_handleSplitOperation'](_0x927f09);break;case'marker':this['_handleMarkerOperation'](_0x927f09);}}['_cloneOperation'](_0x11e2a9,_0x39c877){const _0x59d96e=_0x11e2a9['clone']();return _0x59d96e['_authorId']=_0x11e2a9['_authorId'],this['_fixOperation'](_0x59d96e,_0x39c877),_0x59d96e;}['_getBaseVids'](_0x4f08a5){return _0x4f08a5['map'](_0x7015ea=>{const _0x1f4258=this['_getVidAttributeName'](_0x7015ea);return Number(_0x7015ea['item']['getAttribute'](_0x1f4258));});}['_generateTape'](_0x562fd1,_0x17a886){if(_0x562fd1['is']('element','$text'))_0x17a886['push']({'item':_0x562fd1,'type':'text'});else{_0x562fd1['is']('element')&&_0x17a886['push']({'item':_0x562fd1,'type':'elementStart'});for(const _0x2c8e15 of _0x562fd1['getChildren']())this['_generateTape'](_0x2c8e15,_0x17a886);_0x562fd1['is']('element')&&_0x17a886['push']({'item':_0x562fd1,'type':'elementEnd'});}return _0x17a886;}['_getState'](){const _0x551d06=new Map(this['_touched']),_0x4eee0a=new Map(_0x551d06),_0x17547b=new Map(),_0x4c3e8a={'insertions':{},'deletions':{}},_0x4c7739={'insertions':{},'deletions':{}},_0x4b6f4e=new Map(),_0x5816f9=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x5816f9['delete']('$graveyard');for(const _0x339dbd of _0x5816f9){const _0x36e343=this['_diffRoots']['get'](_0x339dbd)||G(_0x339dbd,!0x1),_0x15c44e=this['_baseRoots']['get'](_0x339dbd)||G(_0x339dbd,!0x1);_0x36e343['isAttached']()||_0x15c44e['isAttached']()?(_0x4c3e8a['insertions'][_0x339dbd]=q(_0x36e343),_0x4c3e8a['deletions'][_0x339dbd]=q(_0x15c44e),this['_copyMarkers'](_0x4c3e8a['deletions'][_0x339dbd],_0x15c44e),this['_copyMarkers'](_0x4c3e8a['insertions'][_0x339dbd],_0x36e343),_0x4c7739['insertions'][_0x339dbd]=this['_generateTape'](this['_idsRoots']['get'](_0x339dbd),[]),_0x4c7739['deletions'][_0x339dbd]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x339dbd)||G(_0x339dbd,!0x1),[])):_0x5816f9['delete'](_0x339dbd);}for(const _0xc41748 of _0x5816f9){const _0x476e1d=_0x4c7739['insertions'][_0xc41748];for(const _0x50f6cb of _0x476e1d){const _0xeef820=this['_getVidAttributeName'](_0x50f6cb),_0x26c3f9=_0x50f6cb['item']['getAttribute'](_0xeef820);_0x4eee0a['delete'](_0x26c3f9),_0x26c3f9>=this['_startingRevisionId']&&_0x17547b['set'](_0x26c3f9,_0x551d06['get'](_0x26c3f9));}}for(const _0x3aa204 of _0x5816f9){const _0x5b9edf=_0x4c7739['insertions'][_0x3aa204],_0x128b03=this['_getBaseVids'](_0x4c7739['deletions'][_0x3aa204]);let _0x3567d8=0x0;for(const _0x26efbb of _0x5b9edf){const _0x498666=this['_getVidAttributeName'](_0x26efbb),_0x32e001=_0x26efbb['item']['getAttribute'](_0x498666);if(!_0x17547b['has'](_0x32e001)&&!_0x4b6f4e['has'](_0x32e001)){if(_0x4eee0a['has'](_0x32e001))_0x3567d8++;else{if(_0x32e001!=_0x128b03[_0x3567d8]){const _0x331a1a=_0x551d06['get'](_0x32e001)||_0x551d06['get'](_0x128b03[_0x3567d8]);for(;_0x32e001!=_0x128b03[_0x3567d8];)_0x4eee0a['has'](_0x128b03[_0x3567d8])||(_0x4b6f4e['set'](_0x128b03[_0x3567d8],_0x331a1a),_0x551d06['set'](_0x128b03[_0x3567d8],_0x331a1a)),_0x3567d8++;}_0x3567d8++;}}}}for(const _0x19e945 of _0x5816f9){const _0x2be3ce=_0x4c7739['insertions'][_0x19e945];for(const _0x5d9232 of _0x2be3ce){const _0xa97df3=this['_getVidAttributeName'](_0x5d9232),_0x13cb69=_0x5d9232['item']['getAttribute'](_0xa97df3);if(_0x4b6f4e['has'](_0x13cb69)){const _0x12e8cd=_0x4b6f4e['get'](_0x13cb69);_0x4eee0a['has'](_0x13cb69)||_0x4eee0a['set'](_0x13cb69,{..._0x12e8cd}),_0x17547b['set'](_0x13cb69,{..._0x12e8cd});}}}for(const _0x572020 of _0x4eee0a['keys']())_0x572020>=this['_startingRevisionId']&&_0x4eee0a['delete'](_0x572020);const _0x2a92cc=new Map();for(const _0x55a68b of _0x5816f9){let _0x3f8bd1=_0x4c7739['insertions'][_0x55a68b];for(const _0x34faa2 of _0x3f8bd1)if(_0x34faa2['item']['is']('element','tableCell')){const _0x3b1780=this['_getVidAttributeName'](_0x34faa2),_0x461c1a=_0x34faa2['item']['getAttribute'](_0x3b1780);if(_0x17547b['has'](_0x461c1a)){const _0x13fb6c=_0x34faa2['item']['parent']['parent']['getAttribute']('vid_start'),_0x3e7d97=_0x2a92cc['get'](_0x13fb6c)||new Set();_0x3e7d97['add'](_0x17547b['get'](_0x461c1a)['userId']),_0x2a92cc['set'](_0x13fb6c,_0x3e7d97);}}_0x3f8bd1=_0x4c7739['deletions'][_0x55a68b];for(const _0xaa1182 of _0x3f8bd1)if(_0xaa1182['item']['is']('element','tableCell')){const _0x508b75=this['_getVidAttributeName'](_0xaa1182),_0x25d0c4=_0xaa1182['item']['getAttribute'](_0x508b75);if(_0x4eee0a['has'](_0x25d0c4)){const _0x581fbd=_0xaa1182['item']['parent']['parent']['getAttribute']('vid_start'),_0x2e30f1=_0x2a92cc['get'](_0x581fbd)||new Set();_0x2e30f1['add'](_0x4eee0a['get'](_0x25d0c4)['userId']),_0x2a92cc['set'](_0x581fbd,_0x2e30f1);}}for(const _0x13960b of _0x2a92cc['keys']())(_0x17547b['has'](_0x13960b)||_0x4eee0a['has'](_0x13960b))&&_0x2a92cc['delete'](_0x13960b);}for(const _0x436b0b of _0x5816f9){const _0x303503=_0x4c7739['insertions'][_0x436b0b];let _0xbb6de6=null,_0x57a93c=null;for(const _0x150c4f of _0x303503){const _0x5c6ad1=this['_getVidAttributeName'](_0x150c4f),_0xc6cda6=_0x150c4f['item']['getAttribute'](_0x5c6ad1),_0x3791c9=_0x2a92cc['get'](_0xc6cda6);_0x3791c9&&'elementStart'==_0x150c4f['type']&&(_0xbb6de6=Array['from'](_0x3791c9)[0x0],_0x57a93c=_0x150c4f['item']['getAttribute']('vid_end')),_0xbb6de6&&(_0x4eee0a['set'](_0xc6cda6,{'userId':_0xbb6de6}),_0x17547b['set'](_0xc6cda6,{'userId':_0xbb6de6})),_0xc6cda6==_0x57a93c&&(_0xbb6de6=null,_0x57a93c=null);}}const _0x14e68d={},_0x2d986=new Set();for(const _0x53326d of _0x5816f9){const _0x3fecd4=_0x4c3e8a['deletions'][_0x53326d],_0x45916a=_0x4c3e8a['insertions'][_0x53326d];for(const {userId:_0x256a2a}of this['_touchedMarkers']['values']())null!==_0x256a2a&&_0x2d986['add'](_0x256a2a);for(const {userId:_0xe34b5f}of this['_touchedRoots']['values']())null!==_0xe34b5f&&_0x2d986['add'](_0xe34b5f);this['_markChanges'](_0x45916a,_0x4c7739['insertions'][_0x53326d],_0x17547b,'insertion',_0x2d986),this['_markChanges'](_0x3fecd4,_0x4c7739['deletions'][_0x53326d],_0x4eee0a,'deletion',_0x2d986),_0x14e68d[_0x53326d]={'insertions':this['_prepareViewToSave'](_0x45916a),'deletions':this['_prepareViewToSave'](_0x3fecd4),'attachChange':this['_touchedRoots']['get'](_0x53326d)||null,'attributesBefore':_0x11fb1e(this['_baseRootsAttributes']['get'](_0x53326d))||{},'attributesAfter':_0x11fb1e(this['_diffRootsAttributes']['get'](_0x53326d))};}return{'diffData':_0x14e68d,'authorsIds':Array['from'](_0x2d986)};}['_processRootBeforeSave'](_0x7f9b27){for(const [,_0x5c3909]of _0x7f9b27['markers']){const _0x53839f=_0x5c3909['start']['getAncestors']()['filter'](_0x2c1419=>'tableCell'==_0x2c1419['name']);for(const _0x665dd8 of _0x53839f)0x1==_0x665dd8['childCount']&&_0x665dd8['getChild'](0x0)['is']('element','paragraph')&&_0x665dd8['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x4115dd){this['_processRootBeforeSave'](_0x4115dd);const _0x29518d=this['editor']['data']['toView'](_0x4115dd,{}),_0x38ba84=Array['from'](_0x29518d['getChildren']())['map'](_0x28bcc0=>this['_getViewJson'](_0x28bcc0));return JSON['stringify'](_0x38ba84);}['_getViewJson'](_0x50464e){if(_0x50464e['is']('$text'))return _0x50464e['data'];{const _0x4394cd=_0x50464e;return{'type':Object['keys'](T)['find'](_0xaf4de7=>_0x50464e instanceof T[_0xaf4de7]),'name':_0x4394cd['name'],'attributes':Array['from'](_0x4394cd['getAttributes']()),'children':Array['from'](_0x4394cd['getChildren']())['map'](_0x236306=>this['_getViewJson'](_0x236306))};}}['_markChanges'](_0xa69df0,_0x34cacb,_0x4f7fb3,_0x578405,_0x42153a){let _0x1e7739=null,_0x461c8b=null,_0xe9f515=0x0;const _0x233029=this['editor']['model'];for(let _0x369843=0x0;_0x369843<_0x34cacb['length'];_0x369843++){const _0x2e83b2=this['_getVidAttributeName'](_0x34cacb[_0x369843]),_0x63be81=_0x34cacb[_0x369843]['item']['getAttribute'](_0x2e83b2),_0x460c7e=_0x4f7fb3['get'](_0x63be81),_0xa1c98a=_0x369843==_0x34cacb['length']-0x1;(!_0x1e7739&&_0x460c7e&&(_0x1e7739=_0x460c7e,_0x461c8b=_0x34cacb[_0x369843]),_0x1e7739&&(!_0x460c7e||_0x460c7e['userId']!=_0x1e7739['userId']))&&(_0x5515eb(_0x460c7e,L(_0x461c8b,_0xa69df0,_0x233029),L(_0x34cacb[_0x369843],_0xa69df0,_0x233029)),_0x1e7739=_0x460c7e||null,_0x461c8b=_0x460c7e?_0x34cacb[_0x369843]:null),_0x1e7739&&_0xa1c98a&&_0x5515eb(_0x460c7e,L(_0x461c8b,_0xa69df0,_0x233029),W(_0x34cacb[_0x369843],_0xa69df0,_0x233029));}function _0x5515eb(_0x583b4c,_0x1f7bf9,_0x2d01e6){const _0x47f520=_0x1e7739['userId'],_0x271175='revision:'+_0x578405+':'+_0x47f520+':'+_0xe9f515++,_0x13b9e0=_0x233029['createRange'](_0x1f7bf9,_0x2d01e6);_0xa69df0['markers']['set'](_0x271175,_0x13b9e0),null!==_0x47f520&&_0x42153a['add'](_0x47f520);}}['_getVidAttributeName'](_0x166ffc){switch(_0x166ffc['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x45509b,_0x57d698){_0x45509b['baseVersion']=null;for(const _0x55bc11 in _0x45509b){const _0x5ab021=_0x45509b[_0x55bc11];if(_0x5ab021 instanceof gt){const _0x5f002f=_0x57d698['get'](_0x5ab021['root']['rootName']);_0x45509b[_0x55bc11]=this['_fixPosition'](_0x5ab021,_0x5f002f);}if(_0x5ab021 instanceof vt){const _0x20c773=_0x57d698['get'](_0x5ab021['root']['rootName']);_0x45509b[_0x55bc11]=this['_fixRange'](_0x5ab021,_0x20c773);}'root'===_0x55bc11&&(_0x45509b['root']=_0x57d698['get'](_0x45509b['root']['rootName']));}}['_fixRange'](_0x1d547e,_0x34cac0){return this['editor']['model']['createRange'](this['_fixPosition'](_0x1d547e['start'],_0x34cac0),this['_fixPosition'](_0x1d547e['end'],_0x34cac0));}['_fixPosition'](_0x412f56,_0x1b2bcc){return this['editor']['model']['createPositionFromPath'](_0x1b2bcc,_0x412f56['path'],_0x412f56['stickiness']);}['_handleInsertOperation'](_0x17d273){const _0x38841e=this['_idsRoots']['get'](_0x17d273['position']['root']['rootName']),_0x9ee787=this['_fixPosition'](_0x17d273['position'],_0x38841e),_0x3866ad=null===_0x17d273['_authorId']?null:_0x17d273['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5e8880=_0x9ee787['parent'],_0xcdd41=this['_revisionId'],_0x1aff39=[];for(const _0x308508 of _0x17d273['nodes'])if(_0x308508['is']('element'))_0x1aff39['push'](this['_makeIdsRoot'](_0x308508));else{for(let _0x3f4d1f=0x0;_0x3f4d1f<_0x308508['offsetSize'];_0x3f4d1f++)_0x1aff39['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x937dc9=this['_revisionId'];for(let _0x372db1=_0xcdd41;_0x372db1<_0x937dc9;_0x372db1++)this['_touched']['set'](_0x372db1,{'userId':_0x3866ad});_0x5e8880['_insertChild'](_0x9ee787['offset'],_0x1aff39);}['_handleMoveOperation'](_0xc445c4){(_0xc445c4=this['_cloneOperation'](_0xc445c4,this['_idsRoots']))['_execute']();const _0x5db096=null===_0xc445c4['_authorId']?null:_0xc445c4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x280aa7=_0xc445c4['getMovedRangeStart'](),_0x1041bb=_0x280aa7['parent'],_0x79d6e9=_0x280aa7['offset'];!function _0xb7e529(_0x30adbe,_0x1b2e42,_0x5a8b2c,_0x18bf80){for(let _0x4d5703=_0x5a8b2c;_0x4d5703<_0x18bf80;_0x4d5703++){const _0x17314c=_0x1b2e42['getChild'](_0x4d5703);_0x17314c['is']('element','$text')?_0x30adbe['set'](_0x17314c['getAttribute']('vid'),{'userId':_0x5db096}):(_0x30adbe['set'](_0x17314c['getAttribute']('vid_start'),{'userId':_0x5db096}),_0xb7e529(_0x30adbe,_0x17314c,0x0,_0x17314c['childCount']),_0x30adbe['set'](_0x17314c['getAttribute']('vid_end'),{'userId':_0x5db096}));}}(this['_touched'],_0x1041bb,_0x79d6e9,_0x79d6e9+_0xc445c4['howMany']);}['_handleMergeOperation'](_0x62ad13){const _0x54e231=null===(_0x62ad13=this['_cloneOperation'](_0x62ad13,this['_idsRoots']))['_authorId']?null:_0x62ad13['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4abdb4=_0x62ad13['targetPosition']['parent'],_0x195a0e=_0x62ad13['sourcePosition']['parent'],_0x5a91bb=_0x4abdb4['getAttribute']('vid_end'),_0x3f0586=_0x195a0e['getAttribute']('vid_start');_0x4abdb4['_setAttribute']('vid_end',_0x195a0e['getAttribute']('vid_end')),_0x195a0e['_setAttribute']('vid_end',_0x5a91bb),this['_touched']['set'](_0x3f0586,{'userId':_0x54e231}),this['_touched']['set'](_0x5a91bb,{'userId':_0x54e231}),_0x62ad13['_execute']();}['_handleSplitOperation'](_0x540192){const _0x4daa4b=null===(_0x540192=this['_cloneOperation'](_0x540192,this['_idsRoots']))['_authorId']?null:_0x540192['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3dd248=_0x540192['graveyardPosition'],_0x351a08=_0x540192['splitPosition']['parent'];_0x540192['_execute']();const _0x2ebe28=_0x351a08['getAttribute']('vid_end'),_0x504197=_0x540192['insertionPosition']['nodeAfter'];if(_0x3dd248){const _0x18b390=_0x504197['getAttribute']('vid_end'),_0x13aacd=_0x351a08['getAttribute']('vid_end');_0x351a08['_setAttribute']('vid_end',_0x18b390),_0x504197['_setAttribute']('vid_end',_0x13aacd),this['_touched']['set'](_0x351a08['getAttribute']('vid_end'),{'userId':_0x4daa4b}),this['_touched']['set'](_0x504197['getAttribute']('vid_start'),{'userId':_0x4daa4b});}else{const _0x3d6ff2=this['_revisionId']++,_0x5927e0=this['_revisionId']++;_0x351a08['_setAttribute']('vid_end',_0x3d6ff2),_0x504197['_setAttribute']('vid_start',_0x5927e0),_0x504197['_setAttribute']('vid_end',_0x2ebe28),this['_touched']['set'](_0x3d6ff2,{'userId':_0x4daa4b}),this['_touched']['set'](_0x5927e0,{'userId':_0x4daa4b});}}['_handleMarkerOperation'](_0x553768){if(!_0x553768['affectsData'])return;const _0x5967bf=(_0x553768=this['_cloneOperation'](_0x553768,this['_diffRoots']))['oldRange']?_0x553768['oldRange']['root']:null,_0x4a12a1=_0x553768['newRange']?_0x553768['newRange']['root']:null;_0x5967bf&&this['_markers']['delete'](_0x553768['name']),_0x4a12a1&&this['_markers']['set'](_0x553768['name'],_0x553768['newRange']['clone']());const _0x56d7b9=null===_0x553768['_authorId']?null:_0x553768['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x33c25b=_0x553768['name'];if(!this['_touchedMarkers']['has'](_0x33c25b))return void this['_touchedMarkers']['set'](_0x33c25b,{'range':_0x553768['oldRange'],'userId':_0x56d7b9});const _0x31a75c=this['_touchedMarkers']['get'](_0x33c25b),_0x3c2807=_0x31a75c['range'],_0x40ad64=_0x553768['newRange'];null==_0x3c2807&&null==_0x40ad64||_0x3c2807&&_0x40ad64&&_0x3c2807['isEqual'](_0x40ad64)?this['_touchedMarkers']['delete'](_0x553768['name']):_0x31a75c['userId']=_0x56d7b9;}['_handleRootOperation'](_0x4baa86,_0x34673e){this['_diffRoots']['has'](_0x4baa86['rootName'])?this['_diffRoots']['get'](_0x4baa86['rootName'])['_isAttached']=_0x4baa86['isAdd']:(this['_diffRoots']['set'](_0x4baa86['rootName'],G(_0x4baa86['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x4baa86['rootName'],{}),_0x34673e&&this['_idsRoots']['set'](_0x4baa86['rootName'],G(_0x4baa86['rootName'],!0x0)));const _0x19ac0c=null===_0x4baa86['_authorId']?null:_0x4baa86['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2cde2f=this['_touchedRoots']['get'](_0x4baa86['rootName']);_0x2cde2f&&_0x2cde2f['userId']===_0x19ac0c?this['_touchedRoots']['delete'](_0x4baa86['rootName']):this['_touchedRoots']['set'](_0x4baa86['rootName'],{'userId':_0x19ac0c,'isAttached':_0x4baa86['isAdd']});}['_handleRootAttributeOperation'](_0x2161a5){const _0x39645e=this['_diffRootsAttributes']['get'](_0x2161a5['root']['rootName']);null===_0x2161a5['newValue']?delete _0x39645e[_0x2161a5['key']]:_0x39645e[_0x2161a5['key']]=_0x2161a5['newValue'];}}function q(_0x35df77){const _0xa9e75=G(_0x35df77['rootName'],_0x35df77['isAttached']());for(const _0x39d8b2 of _0x35df77['getChildren']()){const _0x182e4c=_0x39d8b2['_clone'](!0x0);_0xa9e75['_appendChild'](_0x182e4c);}return _0xa9e75;}function G(_0x57c5d5,_0x377db4=!0x0){const _0x9ca9d=new wt();return _0x9ca9d['rootName']=_0x57c5d5,_0x9ca9d['_isAttached']=_0x377db4,_0x9ca9d['isAttached']=()=>_0x9ca9d['_isAttached'],_0x9ca9d;}function L(_0x39bdc9,_0x829df9,_0x5c1edf){const _0x182526='elementEnd'==_0x39bdc9['type']?_0x5c1edf['createPositionAt'](_0x39bdc9['item'],'end'):_0x5c1edf['createPositionBefore'](_0x39bdc9['item']);return _0x5c1edf['createPositionFromPath'](_0x829df9,_0x182526['path'],_0x182526['stickiness']);}function W(_0x5387e8,_0x45036f,_0x19785b){const _0x15f2b3='elementStart'==_0x5387e8['type']?_0x19785b['createPositionAt'](_0x5387e8['item'],0x0):_0x19785b['createPositionAfter'](_0x5387e8['item']);return _0x19785b['createPositionFromPath'](_0x45036f,_0x15f2b3['path'],_0x15f2b3['stickiness']);}class ns extends _0x34a233{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x3ed2c4,_0x57ba35){super(_0x3ed2c4),this['focusTracker']=new _0x1c2719(),this['keystrokes']=new _0x2d7b3e(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x57ba35),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}['render'](){super['render'](),_0x2f6a07({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x53c53d=_0xa04c94=>_0xa04c94['stopPropagation']();this['keystrokes']['set']('arrowright',_0x53c53d),this['keystrokes']['set']('arrowleft',_0x53c53d),this['keystrokes']['set']('arrowup',_0x53c53d),this['keystrokes']['set']('arrowdown',_0x53c53d);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x420176){this['revisionNameInputView']['fieldView']['element']['value']=_0x420176['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0xc999d6){const _0x4a85db=new at(this['locale'],_0x30bbd3),_0x5a0caa=_0x4a85db['fieldView'];_0x5a0caa['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x2eb687=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0xc999d6&&(_0x2eb687+='\x20('+y(this['locale'],'optional')+')'),(_0x4a85db['label']=_0x2eb687,_0x5a0caa['on']('input',()=>{this['revisionNameInputValue']=_0x5a0caa['element']['value']['trim']();}),_0x4a85db);}}class u extends _0x15722d{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x3f1af3=this['editor'],_0x31cf4d=_0x3f1af3['plugins']['get']('RevisionTracker');_0x3f1af3['ui']['componentFactory']['add']('revisionHistory',_0x523997=>{const _0x52cc92=_0x30de5a(_0x523997),_0x5f3526=_0x52cc92['panelView']['children'],_0xfab1b5=new te(_0x523997),_0x1f8369=new _0x3b1bab(_0x523997),_0xc9e643=new _0x302b83(_0x523997),_0x19ca51=new _0x3b1bab(_0x523997),_0x12aaa2=new _0x302b83(_0x523997);return _0x52cc92['bind']('isEnabled')['to'](_0x31cf4d,'isReady',_0x31cf4d,'isEnabled',_0x3f1af3,'isReadOnly',(_0x2750ba,_0x480575,_0x422e00)=>_0x2750ba&&_0x480575&&!_0x422e00),_0x52cc92['buttonView']['set']({'icon':_0x5fb71a['history'],'label':y(_0x523997,'Revision\x20history'),'tooltip':!0x0}),_0xc9e643['set']({'label':y(_0x523997,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0xc9e643['bind']('isEnabled')['to'](_0x31cf4d,'isReady',_0x31cf4d,'isEnabled',_0x3f1af3,'isReadOnly',(_0xfd631b,_0x246f0c,_0x458370)=>_0xfd631b&&_0x246f0c&&!_0x458370),_0xc9e643['on']('execute',()=>this['_showDialog']()),_0x12aaa2['set']({'label':y(_0x523997,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x12aaa2['bind']('isEnabled')['to'](_0x31cf4d,'isReady',_0x3f1af3,'isReadOnly',(_0x28b553,_0x42466e)=>_0x28b553&&!_0x42466e),_0x12aaa2['on']('execute',()=>{_0x3f1af3['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x52cc92['isOpen']=!0x1,_0x3f1af3['editing']['view']['focus']();}),_0x1f8369['children']['add'](_0xc9e643),_0x19ca51['children']['add'](_0x12aaa2),_0xfab1b5['role']='menu',_0xfab1b5['items']['addMany']([_0x1f8369,_0x19ca51]),_0x5f3526['add'](_0xfab1b5),_0x52cc92;}),_0x3f1af3['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x53209f=this['editor'],_0x374f45=_0x53209f['locale'],_0x41db16=new _0x5c6567(_0x374f45),_0x250fb0=new _0x2b162d(_0x374f45);_0x41db16['buttonView']['set']({'icon':_0x5fb71a['history'],'label':y(_0x374f45,'Revision\x20history')});const _0x1f6afd=new _0x496c64(_0x374f45,_0x41db16),_0x16097e=new _0x51ea9f(_0x374f45);_0x16097e['set']({'label':y(_0x374f45,'Save\x20current\x20revision')}),_0x16097e['delegate']('execute')['to'](_0x41db16),_0x16097e['on']('execute',()=>{this['_showDialog']();}),_0x1f6afd['children']['add'](_0x16097e),_0x250fb0['items']['add'](_0x1f6afd);const _0x2b1b15=new _0x496c64(_0x374f45,_0x41db16),_0x1d0522=new _0x51ea9f(_0x374f45);return _0x1d0522['set']({'label':y(_0x374f45,'Open\x20revision\x20history')}),_0x1d0522['delegate']('execute')['to'](_0x41db16),_0x1d0522['on']('execute',()=>{_0x53209f['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x2b1b15['children']['add'](_0x1d0522),_0x250fb0['items']['add'](_0x2b1b15),_0x41db16['panelView']['children']['add'](_0x250fb0),_0x41db16;}['_showDialog'](){const _0x208038=this['editor'],_0x58e96f=_0x208038['locale'],t=_0x58e96f['t'],_0x3902c0=_0x208038['plugins']['get']('Dialog'),_0x14e4aa=_0x208038['plugins']['get']('RevisionTracker');function _0x52108d(_0x15da52){_0x208038['config']['get']('revisionHistory.requireRevisionName')&&''===_0x15da52['revisionName']?_0x15da52['revisionNameInputView']['errorText']=y(_0x58e96f,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x208038['plugins']['get'](l)['saveRevision']({'name':_0x15da52['revisionName']}),_0x3902c0['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x52108d(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x3902c0['show']({'id':'revisionSave','title':y(_0x58e96f,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x3902c0['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x324a42){_0x324a42['bind']('isEnabled')['to'](_0x14e4aa,'isReady',_0x14e4aa,'isEnabled',_0x208038,'isReadOnly',(_0x112ef1,_0x34f588,_0x554528)=>_0x112ef1&&_0x34f588&&!_0x554528);},'onExecute':()=>_0x52108d(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x131abb=this['editor'],_0x291611=_0x131abb['locale'];this['_saveRevisionFormView']=new ns(_0x291611,_0x131abb['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x34a233{['changeId'];['_model'];constructor(_0x19f970,_0x2563e7){super(_0x19f970),this['_model']=_0x2563e7,this['changeId']=_0x2563e7['id'];const _0x4da5a6=this['bindTemplate'],_0x5c957e=y(_0x19f970,_0x2563e7['data']['isSuggestion']?'Suggested\x20by':'add'==_0x2563e7['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x2563e7['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x4da5a6['to']('type',_0x168c82=>'ck-revision-change__'+_0x168c82)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x5c957e}]},{'text':'\x20'+_0x2563e7['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x3868e0(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x1da0cf){super(),this['id']=_0x1da0cf['id']||_0x523f17(),this['author']=_0x1da0cf['author'],this['type']=_0x1da0cf['type'],this['data']=_0x1da0cf['data']||{},this['rootName']=_0x1da0cf['rootName'],this['set']('createdAt',_0x1da0cf['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class f{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x166bbb,_0x1a0ac1){this['newRevisionId']=_0x166bbb,this['oldRevisionId']=_0x1a0ac1,this['changes']=new _0x51c829();}['_setChanges'](_0x235748){for(const _0x362862 of _0x235748)this['changes']['add'](_0x362862);}}const tt={'c':_0x497e1c,'a':_0x4d9ed0,'e':_0x1c8404,'r':_0x117945,'u':_0x199255};class d extends _0x15722d{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x358c29,_0x311e79,A];}constructor(_0x35a9dd){super(_0x35a9dd),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',(_0x4a3c2b,_0x3be7a2,_0x47ec3c)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x19b20c=>{for(const _0x3f76d6 of this['editor']['editing']['view']['document']['roots'])_0x47ec3c?_0x19b20c['removeClass']('ck-editor__editable__overlay',_0x3f76d6):_0x19b20c['addClass']('ck-editor__editable__overlay',_0x3f76d6);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x518956=>null!==_0x518956),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x1af96a,_0x148f4c,_0xbab3fc)=>_0x1af96a&&_0xbab3fc?_0x148f4c['changes']['getIndex'](_0xbab3fc):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x4c37c8,_0xacfaf4)=>_0x4c37c8?_0xacfaf4['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x311e79);}['init'](){const _0x413bd7=this['editor'],_0x211655=new yt(_0x413bd7,{'direction':'backward'}),_0x3e9e7d=new yt(_0x413bd7,{'direction':'forward'});(_0x413bd7['commands']['add']('showPreviousChange',_0x211655),_0x413bd7['commands']['add']('showNextChange',_0x3e9e7d),_0x413bd7['commands']['add']('restoreRevision',new bt(_0x413bd7)),this['on']('change:numberOfChanges',()=>{_0x211655['refresh'](),_0x3e9e7d['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x413bd7['enableReadOnlyMode']('revision-viewer'),_0x413bd7['plugins']['has']('WidgetToolbarRepository'))&&_0x413bd7['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x5c24b5){await this['loadRevisionData'](_0x5c24b5);const _0x36ae86={};for(const _0x18ba80 in _0x5c24b5['diffData']){if(_0x5c24b5['diffData'][_0x18ba80]['attachChange']&&!_0x5c24b5['diffData'][_0x18ba80]['attachChange']['isAttached'])continue;const _0x22843e=this['_removeRevisionMarkers'](JSON['parse'](_0x5c24b5['diffData'][_0x18ba80]['insertions'])),_0x24d1ba=this['editor']['editing']['view']['document'],_0x464f19=new _0x341735(_0x24d1ba,_0x22843e['map'](_0x56dc14=>this['_getViewObj'](_0x56dc14)));this['editor']['data']['processor']['useFillerType']('marked'),_0x36ae86[_0x18ba80]=this['editor']['data']['processor']['toData'](_0x464f19),this['editor']['data']['processor']['useFillerType']('default');}return _0x36ae86;}async['getRevisionRootsAttributes'](_0x43bda5){await this['loadRevisionData'](_0x43bda5);const _0x6a0103={};for(const _0x3ebf93 in _0x43bda5['diffData'])_0x43bda5['diffData'][_0x3ebf93]['attachChange']&&!_0x43bda5['diffData'][_0x3ebf93]['attachChange']['isAttached']||(_0x6a0103[_0x3ebf93]=_0x43bda5['diffData'][_0x3ebf93]['attributesAfter']||{});return _0x6a0103;}['_removeRevisionMarkers'](_0x2491af){return(_0x2491af=_0x2491af['filter'](_0x34ece1=>!_0x34ece1['name']||'revision-start'!==_0x34ece1['name']&&'revision-end'!==_0x34ece1['name']))['forEach'](_0x18528c=>{'string'!=typeof _0x18528c&&(_0x18528c['children']=this['_removeRevisionMarkers'](_0x18528c['children']),_0x18528c['attributes']=_0x18528c['attributes']['filter'](_0x4fd407=>!_0x4fd407[0x0]['startsWith']('data-revision-')));}),_0x2491af;}async['compare'](_0x2b25b3,_0x4cf078,_0x502db4=!0x1){if(!this['isEnabled'])return;const _0x4be315=this['diff'],_0x5ce0cd=this['repository'],_0x563564='string'==typeof _0x2b25b3?_0x5ce0cd['getRevision'](_0x2b25b3):_0x2b25b3,_0x114eac='string'==typeof _0x4cf078?_0x5ce0cd['getRevision'](_0x4cf078):_0x4cf078,_0x4ecf08=_0x563564['id'],_0x7ff46a=_0x114eac?_0x114eac['id']:null;if(!_0x502db4&&this['diff']&&this['diff']['newRevisionId']===_0x4ecf08&&this['diff']['oldRevisionId']===_0x7ff46a)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x4ecf08,_0x7ff46a);const _0x126c13=this['_getRevisionsRange'](_0x563564,_0x114eac,!0x0)['map'](_0x1ed60d=>this['loadRevisionData'](_0x1ed60d));return _0x126c13['push'](new Promise(_0x1c24a0=>{setTimeout(_0x1c24a0,0x14);})),Promise['all'](_0x126c13)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x4f2c91=this['_getDiff'](_0x4ecf08,_0x7ff46a);for(const _0x535f7c of _0x4f2c91['changes'])this['_changeIdToChange']['set'](_0x535f7c['id'],_0x535f7c);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x1fc7a0=>{for(const _0x35a129 of this['editor']['model']['document']['getRootNames']())_0x1fc7a0['detachRoot'](_0x35a129);for(const _0x5484e2 of Object['keys'](_0x4f2c91['model'])){const _0x1a1d22=_0x1fc7a0['addRoot'](_0x5484e2);for(const _0x5138fe of Object['keys'](_0x4f2c91['attributes'][_0x5484e2]))_0x1fc7a0['setAttribute'](_0x5138fe,_0x4f2c91['attributes'][_0x5484e2][_0x5138fe],_0x1a1d22);_0x1fc7a0['insert'](_0x4f2c91['model'][_0x5484e2],_0x1a1d22,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x4f2c91['changes'])),this['isReady']=!0x0;})['catch'](_0x10c526=>{console['error'](_0x10c526),this['_cleanUp'](),_0x4be315&&(this['diff']=_0x4be315),this['isReady']=!0x0;});}['addRevisionData'](_0x3d525a,_0x1cf6ed){const _0x169d99=this['repository']['createRevision'](_0x3d525a);return _0x169d99['on']('_update',(_0x416592,_0x58b3c1,_0x647a35)=>_0x1cf6ed(_0x58b3c1,_0x647a35,_0x169d99)),this['repository']['addRevision'](_0x169d99),_0x169d99;}['loadRevisionData'](_0x4a0ea1){if(!_0x4a0ea1||_0x4a0ea1['diffData'])return Promise['resolve']();{const _0xbefcdb=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xbefcdb,'revisionId':_0x4a0ea1['id']})['then'](_0x399f0b=>{_0x4a0ea1['_update']({'diffData':_0x399f0b['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},_0x1758e7=>{for(const _0x763bec of this['editor']['model']['document']['getRootNames']())_0x1758e7['detachRoot'](_0x763bec);});}['_sortAndFilterDiffChanges'](_0x39d5c3){const _0x2ecf6f=[],_0x4ee678=new Map();for(const _0xadd933 of this['editor']['model']['document']['getRootNames']()){const _0x43ea77=this['editor']['editing']['view']['getDomRoot'](_0xadd933);if(!_0x43ea77)continue;const _0x550a17=_0x43ea77['getClientRects']()['item'](0x0);_0x550a17&&(_0x2ecf6f['push'](_0xadd933),_0x4ee678['set'](_0xadd933,_0x550a17));}return _0x2ecf6f['sort']((_0x2b7394,_0x3d9c7c)=>{const _0x126944=_0x4ee678['get'](_0x2b7394),_0x3bfc9e=_0x4ee678['get'](_0x3d9c7c);return _0x126944['y']-_0x3bfc9e['y']||_0x126944['x']-_0x3bfc9e['x'];}),(_0x39d5c3=_0x39d5c3['filter'](_0xdbfc5b=>_0x2ecf6f['includes'](_0xdbfc5b['rootName'])))['sort']((_0x4924f7,_0x3b18b6)=>_0x2ecf6f['indexOf'](_0x4924f7['rootName'])-_0x2ecf6f['indexOf'](_0x3b18b6['rootName'])),_0x39d5c3;}['_makeTape'](_0x173413){const _0x5564ac=Array['from'](_0x173413['markers'])['filter'](([_0x13ec82,_0x1bd152])=>_0x13ec82['startsWith']('revision:')&&!_0x1bd152['isCollapsed']),_0x477151=Array['from'](this['editor']['model']['createRangeIn'](_0x173413)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x5564ac['length'])for(const _0x9df6d2 of _0x477151){const [_0x45b809,_0x30aa7d]=_0x5564ac[0x0],[,_0x10f213,_0x1acb90]=_0x45b809['split'](':');if(_0x30aa7d['end']['isEqual'](_0x9df6d2['nextPosition'])&&_0x5564ac['shift'](),(_0x9df6d2['previousPosition']['isEqual'](_0x30aa7d['start'])||_0x9df6d2['previousPosition']['isAfter'](_0x30aa7d['start']))&&('insertion'==_0x10f213?_0x9df6d2['isAdded']={'userId':_0x1acb90}:'deletion'==_0x10f213&&(_0x9df6d2['isRemoved']={'userId':_0x1acb90})),0x0==_0x5564ac['length'])break;}return _0x477151;}['_refreshStartEndIndex'](_0x16f54c){const _0x5a97a3=new Map();for(let _0x116543=0x0;_0x116543<_0x16f54c['length'];_0x116543++)'text'===_0x16f54c[_0x116543]['type']?(_0x16f54c[_0x116543]['item']['startIndex']=_0x116543,_0x16f54c[_0x116543]['item']['endIndex']=_0x116543):('elementStart'===_0x16f54c[_0x116543]['type']?_0x16f54c[_0x116543]['item']['startIndex']=_0x116543:'elementEnd'===_0x16f54c[_0x116543]['type']&&(_0x16f54c[_0x116543]['item']['endIndex']=_0x116543),_0x5a97a3['set'](_0x16f54c[_0x116543]['id'],_0x116543));for(const _0x10255e of _0x5a97a3['values']())'elementStart'===_0x16f54c[_0x10255e]['type']?_0x16f54c[_0x10255e]['item']['endIndex']=_0x5a97a3['get'](_0x16f54c[_0x10255e]['pairId']):'elementEnd'===_0x16f54c[_0x10255e]['type']&&(_0x16f54c[_0x10255e]['item']['startIndex']=_0x5a97a3['get'](_0x16f54c[_0x10255e]['pairId']));}['_processTape'](_0x169d51){for(let _0x41ee4a=0x0;_0x41ee4a<_0x169d51['length'];_0x41ee4a++){if('elementStart'===_0x169d51[_0x41ee4a]['type'])_0x169d51[_0x41ee4a]['item']['startIndex']=_0x41ee4a;else{if('elementEnd'===_0x169d51[_0x41ee4a]['type']){_0x169d51[_0x41ee4a]['item']['endIndex']=_0x41ee4a;const _0x2cd700=_0x169d51[_0x41ee4a]['item']['startIndex'];_0x169d51[_0x2cd700]['pairId']=_0x169d51[_0x41ee4a]['id'],_0x169d51[_0x41ee4a]['pairId']=_0x169d51[_0x2cd700]['id'];}else _0x169d51[_0x41ee4a]['item']['startIndex']=_0x41ee4a,_0x169d51[_0x41ee4a]['item']['endIndex']=_0x41ee4a,_0x169d51[_0x41ee4a]['pairId']=null;}_0x169d51[_0x41ee4a]['markersStart']||(_0x169d51[_0x41ee4a]['markersStart']=[],_0x169d51[_0x41ee4a]['markersEnd']=[]);}}['_markInsertions'](_0x58648d,_0x3f83a5){const _0x4a6812=_0x58648d['filter'](_0x337cea=>!_0x337cea['isAdded']);for(let _0x2351a1=0x0;_0x2351a1<_0x3f83a5['length'];_0x2351a1++)_0x3f83a5[_0x2351a1]['isAdded']&&(_0x4a6812[_0x2351a1]['isAdded']=_0x3f83a5[_0x2351a1]['isAdded']);}['_makeModelFromViewString'](_0x260460){const _0x25ab38=JSON['parse'](_0x260460),_0x254b4d=this['editor']['editing']['view']['document'],_0x4980cf=new _0x341735(_0x254b4d,_0x25ab38['map'](_0x185842=>this['_getViewObj'](_0x185842)));return this['editor']['data']['toModel'](_0x4980cf);}['_getViewObj'](_0x3e8803){const _0x5762ee=this['editor']['editing']['view']['document'];if('string'==typeof _0x3e8803)return new _0x1ff27e(_0x5762ee,_0x3e8803);{const _0x183e77=_0x3e8803['children']['map'](_0x2918ae=>this['_getViewObj'](_0x2918ae));return new(tt[_0x3e8803['type']]||_0x4552e8)(_0x5762ee,_0x3e8803['name'],_0x3e8803['attributes'],_0x183e77);}}['_getDiff'](_0x166517,_0x58205f=null){const _0x3f9d77=this['repository']['getRevision'](_0x166517),_0x5bf990=_0x58205f?this['repository']['getRevision'](_0x58205f):null,_0x11009f=this['_getRevisionsRange'](_0x3f9d77,_0x5bf990),_0x3ea27f=_0x11009f[_0x11009f['length']-0x1],_0x3e1f9d=new Map(),_0x23c356={'model':{},'attributes':{},'changes':[]},_0x1e22d3=new Set(),_0xefa8bd=new Map();for(let _0x5d88c5=_0x11009f['length']-0x1;_0x5d88c5>=0x0;_0x5d88c5--){const _0x1c23bc=_0x11009f[_0x5d88c5];for(const _0x59e41b of Object['keys'](_0x1c23bc['diffData']))if(_0x1c23bc['diffData'][_0x59e41b]['attachChange']){const _0x360eb9=_0x1c23bc['diffData'][_0x59e41b]['attachChange'];_0x360eb9['isAttached']?(_0x1e22d3['add'](_0x59e41b),_0xefa8bd['has'](_0x59e41b)&&_0xefa8bd['get'](_0x59e41b)['userId']==_0x360eb9['userId']?_0xefa8bd['delete'](_0x59e41b):_0xefa8bd['set'](_0x59e41b,_0x360eb9)):_0xefa8bd['has'](_0x59e41b)?(_0x1e22d3['delete'](_0x59e41b),_0xefa8bd['delete'](_0x59e41b)):(_0x1e22d3['add'](_0x59e41b),_0xefa8bd['set'](_0x59e41b,_0x360eb9));}else _0x1e22d3['add'](_0x59e41b);}for(const _0x4bdd66 of _0x1e22d3){const _0x237694=_0xefa8bd['has'](_0x4bdd66)&&!_0xefa8bd['get'](_0x4bdd66)['isAttached'];let _0x549947=_0x237694?_0x11009f['length']-0x1:0x0;const _0x4d7b22=_0x237694?-0x1:0x1;for(;_0x11009f[_0x549947];){const _0x3e2bfa=_0x11009f[_0x549947];if(_0x3e2bfa['diffData'][_0x4bdd66]){const _0x43ff65=_0x237694?_0x3e2bfa['diffData'][_0x4bdd66]['attributesBefore']:_0x3e2bfa['diffData'][_0x4bdd66]['attributesAfter'];_0x23c356['attributes'][_0x4bdd66]=_0x43ff65?_0x11fb1e(_0x43ff65):{};break;}_0x549947+=_0x4d7b22;}}for(const _0x120574 of _0x11009f){_0x120574['model']={};for(const _0x3d7a09 of _0x120574['authors'])_0x3e1f9d['set'](_0x3d7a09['id'],_0x3d7a09);for(const _0x592373 of _0x1e22d3){const _0x4df6be=_0x120574['diffData'][_0x592373]?_0x120574['diffData'][_0x592373]['insertions']:'[]',_0x478df0=_0x120574['diffData'][_0x592373]?_0x120574['diffData'][_0x592373]['deletions']:'[]';_0x120574['model'][_0x592373]={'insertions':this['_makeModelFromViewString'](_0x4df6be),'deletions':this['_makeModelFromViewString'](_0x478df0)};}}for(const _0x2caaa8 of _0x1e22d3){let _0x5b6741=null,_0x328c9f=0x0;const _0x543d88=new Map(Array['from'](_0x3f9d77['model'][_0x2caaa8]['insertions']['markers'])['filter'](([_0xeb4b4f])=>!_0xeb4b4f['startsWith']('revision:')));let _0x68f1a4=0x0;for(const _0x8e3f63 of _0x11009f){const _0x23a175=this['_makeTape'](_0x8e3f63['model'][_0x2caaa8]['insertions']);_0x8e3f63==_0x3f9d77?(_0x5b6741=_0x23a175,_0x328c9f=_0x5b6741['length'],_0x5b6741['forEach'](_0x10701e=>{_0x10701e['id']=_0x68f1a4++;}),this['_processTape'](_0x5b6741)):this['_markInsertions'](_0x5b6741,_0x23a175);const _0x1a5692=_0x5b6741['filter'](_0x190cfc=>!_0x190cfc['isAdded'])['map'](_0x5aeb0e=>_0x5aeb0e['id']);let _0x5af6c8=0x0;const _0x1f39a0=this['_makeTape'](_0x8e3f63['model'][_0x2caaa8]['deletions']);_0x1f39a0['forEach'](_0x3a9850=>{_0x3a9850['isRemoved']?_0x3a9850['id']=_0x328c9f++:_0x3a9850['id']=_0x1a5692[_0x5af6c8++];}),this['_processTape'](_0x1f39a0),this['_setDistance'](_0x5b6741,'isAdded'),this['_setDistance'](_0x1f39a0,'isRemoved'),_0x8e3f63==_0x3f9d77&&this['_markMarkers'](_0x5b6741,_0x543d88),_0x5b6741=this['_joinTapes'](_0x5b6741,_0x1f39a0),this['_refreshStartEndIndex'](_0x5b6741),this['_setDistance'](_0x5b6741,'isRemoved');}_0x5b6741=_0x5b6741['filter'](_0x43b52a=>!(_0x43b52a['isAdded']&&_0x43b52a['isRemoved']));const _0x261fd6=new Map(_0x3ea27f['model'][_0x2caaa8]['deletions']['markers']),_0x5ab4a2=new Set(_0x543d88['keys']());for(const _0x424532 of _0x261fd6['keys']())_0x5ab4a2['delete'](_0x424532);this['_markSuggestions'](_0x5b6741,_0x5ab4a2),this['_fixObsoleteTags'](_0x5b6741),_0x5b6741=this['_removeMissingPairs'](_0x5b6741),_0x5b6741=this['_markMismatchedRemovedTags'](_0x5b6741),_0x5b6741=this['_removeUnsupportedChanges'](_0x5b6741);const {root:_0xe8122e,changes:_0x10f6ea}=this['_makeModelFromTape'](_0x5b6741,_0x3e1f9d,_0x2caaa8);_0x23c356['model'][_0x2caaa8]=_0xe8122e;const _0x3a1972=_0xefa8bd['get'](_0x2caaa8);if(_0x3a1972){const _0x35c7d3=_0x3e1f9d['get'](_0x3a1972['userId']),_0xc98005=new r({'author':_0x35c7d3,'type':_0x3a1972['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x2caaa8});_0x10f6ea['unshift'](_0xc98005),_0x23c356['attributes'][_0x2caaa8]['revisionHistoryAttachChange']=_0xc98005['id'];}_0x23c356['changes']=_0x23c356['changes']['concat'](_0x10f6ea);}return _0x23c356;}['_markMarkers'](_0xaee161,_0x4306f6){for(let _0x438773=0x0;_0x438773<_0xaee161['length'];_0x438773++)for(const [_0x4eee3f,_0x1706ca]of _0x4306f6)_0x1706ca['start']['isEqual'](_0xaee161[_0x438773]['previousPosition'])&&_0xaee161[_0x438773]['markersStart']['push'](_0x4eee3f),_0x1706ca['end']['isEqual'](_0xaee161[_0x438773]['nextPosition'])&&_0xaee161[_0x438773]['markersEnd']['push'](_0x4eee3f);}['_joinTapes'](_0x3ad065,_0x1e87b7){let _0xbd512b=[],_0x44796a=0x0,_0x28d3e6=0x0;for(;_0x44796a<_0x3ad065['length']||_0x28d3e6<_0x1e87b7['length'];){const _0x2916de=_0x3ad065[_0x44796a]||{},_0x52c3bf=_0x1e87b7[_0x28d3e6]||{};if(_0x2916de['id']==_0x52c3bf['id'])_0x44796a++,_0x28d3e6++,_0xbd512b['push'](_0x2916de);else{if(_0x52c3bf['isRemoved']&&_0x2916de['isAdded']){const {commonTape:_0x4f6c5f,iEnd:_0x178817,jEnd:_0x54ddd4}=this['_threeWayMerge'](_0x3ad065,_0x44796a,_0x1e87b7,_0x28d3e6);_0xbd512b=_0xbd512b['concat'](_0x4f6c5f),_0x44796a=_0x178817,_0x28d3e6=_0x54ddd4;}else _0x52c3bf['isRemoved']?(_0x28d3e6++,_0xbd512b['push'](_0x52c3bf)):(_0x44796a++,_0xbd512b['push'](_0x2916de));}}return _0xbd512b;}['_markSuggestions'](_0x2deb4c,_0xce082d){const _0x4a80f4=[];for(let _0x117f20=0x0;_0x117f20<_0x2deb4c['length'];_0x117f20++){for(let _0x3d8864=0x0;_0x3d8864<_0x2deb4c[_0x117f20]['markersStart']['length'];_0x3d8864++){const _0x54b084=_0x2deb4c[_0x117f20]['markersStart'][_0x3d8864];if(!_0xce082d['has'](_0x54b084))continue;const {group:_0x377b0e,type:_0x1d7e10,authorId:_0x2d9d4c}=_0x497230(_0x54b084);'revision-suggestion'!=_0x377b0e||'insertion'!=_0x1d7e10&&'deletion'!=_0x1d7e10||(_0x4a80f4['unshift']({'type':_0x1d7e10,'name':_0x54b084,'userId':_0x2d9d4c}),_0x2deb4c[_0x117f20]['markersStart']['splice'](_0x3d8864,0x1),_0x3d8864--);}_0x59c6e2(_0x2deb4c[_0x117f20]);for(let _0x553579=0x0;_0x553579<_0x2deb4c[_0x117f20]['markersEnd']['length'];_0x553579++){const _0x59a212=_0x2deb4c[_0x117f20]['markersEnd'][_0x553579];if(!_0xce082d['has'](_0x59a212))continue;const {group:_0x44579c,type:_0x2f5c0a}=_0x497230(_0x59a212);if('revision-suggestion'!=_0x44579c||'insertion'!=_0x2f5c0a&&'deletion'!=_0x2f5c0a)continue;_0x2deb4c[_0x117f20]['markersEnd']['splice'](_0x553579,0x1),_0x553579--;const _0x3737c1=_0x4a80f4['findIndex'](_0x1be766=>_0x1be766['name']==_0x59a212);_0x3737c1>-0x1&&_0x4a80f4['splice'](_0x3737c1,0x1);}}function _0x497230(_0x477bc9){const _0x34a2a7=_0x477bc9['split'](':');return{'group':_0x34a2a7[0x0],'type':_0x34a2a7[0x1],'subType':_0x34a2a7['length']>=0x5?_0x34a2a7[0x2]:null,'id':_0x34a2a7['length']<0x5?_0x34a2a7[0x2]:_0x34a2a7[0x3],'authorId':_0x34a2a7['length']<0x5?_0x34a2a7[0x3]:_0x34a2a7[0x4],'markerCount':0x6==_0x34a2a7['length']?_0x34a2a7[0x5]:null};}function _0x59c6e2(_0x3354ec){for(let _0x3f613c=0x0;_0x3f613c<_0x4a80f4['length'];_0x3f613c++){if(_0x3354ec['isAdded']&&'insertion'==_0x4a80f4[_0x3f613c]['type'])return _0x3354ec['isAddSuggestion']=_0x4a80f4[_0x3f613c],void delete _0x3354ec['isAdded'];if(!_0x3354ec['isAdded']&&!_0x3354ec['isRemoved']&&'deletion'==_0x4a80f4[_0x3f613c]['type'])return void(_0x3354ec['isRemoveSuggestion']=_0x4a80f4[_0x3f613c]);}}}['_setDistance'](_0x1f6d10,_0x44b58a){let _0x13ff2c=0x0,_0x33ada9=!0x1;const _0x3f2bad=new Map();for(const _0x1eb70b of _0x1f6d10)_0x1eb70b[_0x44b58a]?_0x33ada9&&(_0x13ff2c++,_0x33ada9=!0x1):(_0x13ff2c++,_0x33ada9=!0x0),_0x3f2bad['set'](_0x1eb70b['id'],_0x13ff2c);for(let _0x58d019=0x0;_0x58d019<_0x1f6d10['length'];_0x58d019++){if('isRemoved'==_0x44b58a&&_0x1f6d10[_0x58d019]['isAdded']||'isAdded'==_0x44b58a&&_0x1f6d10[_0x58d019]['isRemoved'])continue;if('text'==_0x1f6d10[_0x58d019]['type']){_0x1f6d10[_0x58d019]['distance']=0x0;continue;}const _0x1bacb4=_0x3f2bad['get'](_0x1f6d10[_0x58d019]['pairId']),_0x3e60b9=_0x3f2bad['get'](_0x1f6d10[_0x58d019]['id']);_0x1f6d10[_0x58d019]['distance']=_0x1bacb4-_0x3e60b9;}}['_getRevisionsRange'](_0x2f9ebb,_0x49fcf9,_0x56dd8c=!0x1){const _0x4d84c3=[];let _0x119132=this['repository']['getIndex'](_0x2f9ebb),_0x281f56=this['repository']['getIndex'](_0x49fcf9);for(-0x1==_0x281f56&&(_0x281f56=this['repository']['_revisions']['length'],_0x56dd8c=!0x1);_0x119132<_0x281f56;)_0x4d84c3['push'](this['repository']['getRevision'](_0x119132)),_0x119132++;return _0x56dd8c&&_0x4d84c3['push'](this['repository']['getRevision'](_0x119132)),_0x4d84c3;}['_threeWayMerge'](_0x47a80c,_0x54b0e5,_0x364d1d,_0x2db6a4){const _0x281cb8=this['editor']['model']['schema'];let _0x5d61dc=_0x54b0e5;for(;_0x47a80c[_0x5d61dc]&&_0x47a80c[_0x5d61dc]['isAdded'];)_0x5d61dc++;let _0x2ca49f=_0x2db6a4;for(;_0x364d1d[_0x2ca49f]&&_0x364d1d[_0x2ca49f]['isRemoved'];)_0x2ca49f++;_0x59d9cd(_0x47a80c,_0x54b0e5,_0x5d61dc),_0x59d9cd(_0x364d1d,_0x2db6a4,_0x2ca49f);const _0x27e914=_0x364d1d['slice'](_0x2db6a4,_0x2ca49f)['concat'](_0x47a80c['slice'](_0x54b0e5,_0x5d61dc));return _0x27e914['sort']((_0x4360e6,_0x3d5059)=>_0x4360e6['side']!=_0x3d5059['side']?_0x4360e6['side']-_0x3d5059['side']:_0x4360e6['level']!=_0x3d5059['level']?_0x4360e6['level']-_0x3d5059['level']:_0x4360e6['distance']!=_0x3d5059['distance']?_0x3d5059['distance']-_0x4360e6['distance']:!!_0x4360e6['isAdded']!=!!_0x3d5059['isAdded']?-0x1==_0x4360e6['side']||0x0==_0x4360e6['side']?_0x4360e6['isAdded']?-0x1:0x1:_0x4360e6['isAdded']?0x1:-0x1:_0x4360e6['index']-_0x3d5059['index']),{'commonTape':_0x27e914,'iEnd':_0x5d61dc,'jEnd':_0x2ca49f};function _0x59d9cd(_0x1b3f10,_0x43c8ac,_0x180db8){let _0x86544a=-0x1,_0xeaf044=Number['POSITIVE_INFINITY'],_0x1bdaff=!0x0;for(let _0x41f8be=_0x43c8ac;_0x41f8be<_0x180db8;_0x41f8be++)if(_0x281cb8['isInline'](_0x1b3f10[_0x41f8be]['item'])||(_0x1bdaff=!0x1),_0x1b3f10[_0x41f8be]['item']['startIndex']<_0x43c8ac&&(_0x86544a=_0x41f8be),_0x1b3f10[_0x41f8be]['item']['endIndex']>=_0x180db8){_0xeaf044=_0x41f8be;break;}_0x1bdaff&&(_0x86544a=_0x180db8-0x1);for(let _0x2a4914=_0x43c8ac;_0x2a4914<_0x180db8;_0x2a4914++)_0x1b3f10[_0x2a4914]['side']=_0x2a4914<=_0x86544a?-0x1:_0x2a4914<_0xeaf044?0x0:0x1,_0x1b3f10[_0x2a4914]['index']=_0x2a4914;let _0x1d5aba=0x0;for(let _0xa9dc3a=_0x43c8ac;_0xa9dc3a<=_0x86544a;_0xa9dc3a++)0x0==_0x1b3f10[_0xa9dc3a]['distance']?_0x1b3f10[_0xa9dc3a]['level']=_0x1d5aba:(_0x1d5aba++,_0x1b3f10[_0xa9dc3a]['level']=_0x1d5aba,_0x1d5aba++);for(let _0x25c5ec=_0x43c8ac;_0x25c5ec<_0x180db8;_0x25c5ec++)0x0==_0x1b3f10[_0x25c5ec]['side']&&(_0x1b3f10[_0x25c5ec]['level']=_0x1d5aba);_0x1d5aba=0x0;for(let _0x5378a6=_0x180db8-0x1;_0x5378a6>=_0xeaf044;_0x5378a6--)0x0==_0x1b3f10[_0x5378a6]['distance']?_0x1b3f10[_0x5378a6]['level']=_0x1d5aba:(_0x1d5aba--,_0x1b3f10[_0x5378a6]['level']=_0x1d5aba,_0x1d5aba--);}}['_fixObsoleteTags'](_0x44e986){const _0x2ee050=new Map(),_0x134262=this['editor']['model']['schema'];for(let _0x465c83=0x1;_0x465c83<_0x44e986['length'];_0x465c83++){let _0x5e6ce4,_0x5c0d0d,_0x1ef7ff;const _0x48c5a3=_0x44e986[_0x465c83],_0x3e8686=_0x44e986[_0x465c83-0x1];if('text'==_0x48c5a3['type'])continue;if(_0x48c5a3['type']!=_0x3e8686['type'])continue;if(!_0x134262['isBlock'](_0x3e8686['item'])||_0x134262['isLimit'](_0x3e8686['item']))continue;if(!_0x134262['isBlock'](_0x48c5a3['item'])||_0x134262['isLimit'](_0x48c5a3['item']))continue;if((_0x44e986[_0x465c83]['isAdded']||_0x44e986[_0x465c83]['isAddSuggestion'])&&_0x44e986[_0x465c83-0x1]['isRemoved'])_0x5e6ce4=_0x44e986[_0x465c83],_0x5c0d0d=_0x44e986[_0x465c83-0x1],_0x1ef7ff=_0x465c83-0x1;else{if(!_0x44e986[_0x465c83]['isRemoved']||!_0x44e986[_0x465c83-0x1]['isAdded']&&!_0x44e986[_0x465c83-0x1]['isAddSuggestion'])continue;_0x5e6ce4=_0x44e986[_0x465c83-0x1],_0x5c0d0d=_0x44e986[_0x465c83],_0x1ef7ff=_0x465c83;}const _0x10b9b1=_0x5e6ce4['level']==_0x5c0d0d['level'],_0x3941e=Math['abs'](_0x5e6ce4['level'])<Math['abs'](_0x5c0d0d['level'])&&0x0==_0x5c0d0d['distance'];(_0x10b9b1||_0x3941e)&&(_0x2ee050['set'](_0x5c0d0d['id'],_0x5e6ce4['id']),_0x44e986['splice'](_0x1ef7ff,0x1),_0x465c83--,_0x5e6ce4['isAdded']=!0x1);}for(let _0x1ab758=0x0;_0x1ab758<_0x44e986['length'];_0x1ab758++)_0x2ee050['has'](_0x44e986[_0x1ab758]['pairId'])&&(_0x44e986[_0x1ab758]['pairId']=_0x2ee050['get'](_0x44e986[_0x1ab758]['pairId']));}['_removeMissingPairs'](_0x1076b9){const _0x1bd088=new Set(_0x1076b9['map'](_0x258b35=>_0x258b35['id']));for(let _0x384561=0x0;_0x384561<_0x1076b9['length'];_0x384561++)_0x1bd088['has'](_0x1076b9[_0x384561]['pairId'])||0x0==_0x1076b9[_0x384561]['distance']||(_0x1076b9[_0x384561]['isIncorrect']=!0x0);return _0x1076b9['filter'](_0x1a7e92=>!_0x1a7e92['isIncorrect']);}['_markMismatchedRemovedTags'](_0x58bed8){const _0x392e6c=new Set();for(let _0xfbb80a=0x0;_0xfbb80a<_0x58bed8['length'];_0xfbb80a++){if(_0x392e6c['has'](_0x58bed8[_0xfbb80a]['id'])&&_0x58bed8[_0xfbb80a]['isRemoved']&&(_0x58bed8[_0xfbb80a]['isIncorrect']=!0x0),_0x58bed8[_0xfbb80a]['isIncorrect'])continue;if(0x0==_0x58bed8[_0xfbb80a]['distance'])continue;if('elementStart'!=_0x58bed8[_0xfbb80a]['type'])continue;if(null==_0x58bed8[_0xfbb80a]['pairId'])continue;let _0x3018c1=_0xfbb80a+0x1,_0x4e1189=0x0;for(;_0x58bed8[_0x3018c1]['id']!=_0x58bed8[_0xfbb80a]['pairId'];)'elementStart'==_0x58bed8[_0x3018c1]['type']?_0x4e1189++:'elementEnd'==_0x58bed8[_0x3018c1]['type']&&_0x4e1189--,_0x3018c1++;if(0x0!=_0x4e1189){if(_0x58bed8[_0xfbb80a]['isRemoved'])_0x58bed8[_0xfbb80a]['isIncorrect']=!0x0;else{for(;_0x3018c1!=_0xfbb80a;)_0x58bed8[_0x3018c1]['isRemoved']&&0x0!=_0x58bed8[_0x3018c1]['distance']&&(_0x58bed8[_0x3018c1]['isIncorrect']=!0x0,_0x392e6c['add'](_0x58bed8[_0x3018c1]['pairId'])),_0x3018c1--;}}}return _0x58bed8['filter'](_0x1167ca=>!_0x1167ca['isIncorrect']);}['_removeUnsupportedChanges'](_0x53d300){const _0x83ba2c=this['editor']['model']['schema'];for(let _0x2c02a1=0x0;_0x2c02a1<_0x53d300['length'];_0x2c02a1++){if(!(_0x53d300[_0x2c02a1]['isAdded']||_0x53d300[_0x2c02a1]['isAddSuggestion']||_0x53d300[_0x2c02a1]['isRemoved']||_0x53d300[_0x2c02a1]['isRemoveSuggestion']))continue;if(0x0==_0x53d300[_0x2c02a1]['distance'])continue;const _0x3f93ed=_0x53d300[_0x2c02a1]['item'];_0x83ba2c['isBlock'](_0x3f93ed)||_0x83ba2c['isLimit'](_0x3f93ed)||(_0x53d300[_0x2c02a1]['isAdded']&&delete _0x53d300[_0x2c02a1]['isAdded'],_0x53d300[_0x2c02a1]['isAddSuggestion']&&delete _0x53d300[_0x2c02a1]['isAddSuggestion'],_0x53d300[_0x2c02a1]['isRemoveSuggestion']&&delete _0x53d300[_0x2c02a1]['isRemoveSuggestion'],_0x53d300[_0x2c02a1]['isRemoved']&&(_0x53d300[_0x2c02a1]['isIncorrect']=!0x0));}return _0x53d300['filter'](_0x1adbad=>!_0x1adbad['isIncorrect']);}['_makeModelFromTape'](_0x2a42cb,_0x5415c8,_0x2a6456){const _0x5eeb05=new wt(),_0x4b3aab=[],_0x585417=new Map(),_0x5937e4=this['editor']['model'],_0x406c2a=_0x5937e4['schema'],_0xdf82d5=[_0x5eeb05],_0x3049cb={},_0x241983={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x1c0c84=null;const _0x30212b=[0x0];for(let _0x16fbfa=0x0;_0x16fbfa<_0x2a42cb['length'];_0x16fbfa++){let _0xda0b03,_0x2fa2a2;if('elementStart'===_0x2a42cb[_0x16fbfa]['type']){_0xda0b03=_0x5937e4['createPositionFromPath'](_0x5eeb05,_0x30212b);const _0x5e5fb4=new ft(_0x2a42cb[_0x16fbfa]['item']['name'],_0x2a42cb[_0x16fbfa]['item']['getAttributes']());_0xdf82d5[0x0]['_appendChild'](_0x5e5fb4),_0x30212b['push'](0x0),_0xdf82d5['unshift'](_0x5e5fb4),_0x2fa2a2=_0x5937e4['createPositionFromPath'](_0x5eeb05,_0x30212b),_0x1c0c84=null;}else{if('elementEnd'===_0x2a42cb[_0x16fbfa]['type'])_0xdf82d5['shift'](),_0xda0b03=_0x5937e4['createPositionFromPath'](_0x5eeb05,_0x30212b),_0x30212b['pop'](),_0x30212b[_0x30212b['length']-0x1]++,_0x2fa2a2=_0x5937e4['createPositionFromPath'](_0x5eeb05,_0x30212b),_0x1c0c84=null;else{if(_0xda0b03=_0x5937e4['createPositionFromPath'](_0x5eeb05,_0x30212b),_0x1c0c84&&_0x2bc0a0(_0x1c0c84,_0x2a42cb[_0x16fbfa]['item']))_0x1c0c84['_data']+=_0x2a42cb[_0x16fbfa]['item']['data'];else{const _0x48b370=new _t(_0x2a42cb[_0x16fbfa]['item']['data'],_0x2a42cb[_0x16fbfa]['item']['getAttributes']());_0xdf82d5[0x0]['_appendChild'](_0x48b370),_0x1c0c84=_0x48b370;}_0x30212b[_0x30212b['length']-0x1]+=_0x2a42cb[_0x16fbfa]['item']['offsetSize'],_0x2fa2a2=_0x5937e4['createPositionFromPath'](_0x5eeb05,_0x30212b);}}for(const _0xeef7ad of _0x2a42cb[_0x16fbfa]['markersStart'])_0x585417['set'](_0xeef7ad,{'start':_0xda0b03,'end':null});_0x62e4cf('isRemoveSuggestion',_0x16fbfa,_0xda0b03,_0x2fa2a2),_0x62e4cf('isAddSuggestion',_0x16fbfa,_0xda0b03,_0x2fa2a2),_0x62e4cf('isRemoved',_0x16fbfa,_0xda0b03,_0x2fa2a2),_0x62e4cf('isAdded',_0x16fbfa,_0xda0b03,_0x2fa2a2);for(const _0x584ae0 of _0x2a42cb[_0x16fbfa]['markersEnd']){_0x585417['get'](_0x584ae0)['end']=_0x2fa2a2;}}for(const [_0x366239,_0x45673a]of _0x585417){const _0x17e0f9=this['editor']['model']['createRange'](_0x45673a['start'],_0x45673a['end']);_0x5eeb05['markers']['set'](_0x366239,_0x17e0f9);}return _0x4b3aab['sort']((_0xbad383,_0x3fadb0)=>{const _0x547d09=_0x5eeb05['markers']['get']('revision:'+_0xbad383['id']),_0xfca21a=_0x5eeb05['markers']['get']('revision:'+_0x3fadb0['id']);return _0x547d09['start']['isBefore'](_0xfca21a['start'])?-0x1:_0x547d09['start']['isAfter'](_0xfca21a['start'])?0x1:_0x547d09['end']['isBefore'](_0xfca21a['end'])?-0x1:_0x547d09['end']['isAfter'](_0xfca21a['end'])?0x1:'add'===_0xbad383['type']?-0x1:0x1;}),{'root':_0x5eeb05,'changes':_0x4b3aab};function _0x62e4cf(_0x30ad43,_0x3f6f42,_0x1053a1,_0x4a8698){const _0x3fa446=!!_0x2a42cb[_0x3f6f42][_0x30ad43],_0x31e121=_0x3fa446?_0x2a42cb[_0x3f6f42][_0x30ad43]['userId']:null,_0x3a5bdb=_0x3f6f42===_0x2a42cb['length']-0x1,_0xd8f0d1=_0x241983[_0x30ad43][0x0],_0x533317=_0x406c2a['isObject'](_0x2a42cb[_0x3f6f42]['item']);!_0x3049cb[_0x30ad43]&&_0x3fa446?_0x3049cb[_0x30ad43]={'start':_0x1053a1,'tapeItem':_0x2a42cb[_0x3f6f42],'userId':_0x31e121,'type':_0x30ad43}:_0x3049cb[_0x30ad43]&&!_0x3fa446?(_0x3049cb[_0x30ad43]['end']=_0x1053a1,_0x545189(_0x3049cb[_0x30ad43]),_0x3049cb[_0x30ad43]=null):_0x3049cb[_0x30ad43]&&_0x3fa446&&_0x3049cb[_0x30ad43]['userId']!==_0x31e121&&(_0x3049cb[_0x30ad43]['end']=_0x1053a1,_0xd8f0d1&&_0xd8f0d1['userId']===_0x3049cb[_0x30ad43]['userId']||_0x545189(_0x3049cb[_0x30ad43]),_0x3049cb[_0x30ad43]={'start':_0x1053a1,'tapeItem':_0x2a42cb[_0x3f6f42],'userId':_0x31e121,'type':_0x30ad43}),_0x3049cb[_0x30ad43]&&_0x533317&&('elementStart'!==_0x2a42cb[_0x3f6f42]['type']||_0xd8f0d1&&_0xd8f0d1['userId']===_0x31e121||_0x241983[_0x30ad43]['unshift']({'userId':_0x31e121,'object':_0x2a42cb[_0x3f6f42]['item'],'change':_0x3049cb[_0x30ad43]}),'elementEnd'===_0x2a42cb[_0x3f6f42]['type']&&_0xd8f0d1&&_0xd8f0d1['object']===_0x2a42cb[_0x3f6f42]['item']&&(_0x241983[_0x30ad43]['shift'](),_0x3049cb[_0x30ad43]=_0xd8f0d1['change'])),_0x3049cb[_0x30ad43]&&_0x3a5bdb&&(_0x3049cb[_0x30ad43]['end']=_0x4a8698,_0x545189(_0x3049cb[_0x30ad43]),_0x3049cb[_0x30ad43]=null);}function _0x545189({start:_0x463a65,end:_0x58b231,tapeItem:_0x258618,userId:_0x32ee08,type:_0x3f57a0}){const _0xa10680=_0x258618['item'],_0x41ac0c=_0x5937e4['schema']['isBlock'](_0xa10680)&&!_0x5937e4['schema']['isLimit'](_0xa10680),_0x459302=_0x463a65['nodeAfter']==_0x58b231['parent']&&_0x58b231['isAtStart'];if(_0x41ac0c&&_0x459302)return;const _0x3f1bcb=_0x5937e4['createRange'](_0x463a65,_0x58b231),_0x443379=_0x5415c8['get'](_0x32ee08),_0x3ac7a0=new r({'author':_0x443379,'type':'isAdded'==_0x3f57a0||'isAddSuggestion'==_0x3f57a0?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x3f57a0||'isRemoveSuggestion'==_0x3f57a0},'createdAt':new Date(),'rootName':_0x2a6456});_0x4b3aab['push'](_0x3ac7a0),_0x5eeb05['markers']['set']('revision:'+_0x3ac7a0['id'],_0x3f1bcb);}function _0x2bc0a0(_0x269e21,_0x1aeefc){const _0x4b466a=_0x269e21['getAttributes'](),_0x387863=_0x1aeefc['getAttributes']();for(const _0x32173f of _0x4b466a){if(_0x32173f[0x1]!==_0x1aeefc['getAttribute'](_0x32173f[0x0]))return!0x1;_0x387863['next']();}return _0x387863['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x3fcd10=>{const _0x1d3b32=_0x3fcd10['markerName']['split'](':')[0x1],_0x1c43f8=this['_getChangeFromId'](_0x1d3b32);if(!_0x1c43f8)return null;const _0x213065='add'==_0x1c43f8['type']?'insertion':'deletion',_0x7eaa47=['ck-suggestion-marker','ck-suggestion-marker-'+_0x213065];return _0x1c43f8['data']['isSuggestion']&&_0x7eaa47['push']('ck-suggestion-marker-'+_0x213065+'-new'),this['activeChange']==_0x1c43f8&&_0x7eaa47['push']('ck-suggestion-marker--active'),{'classes':_0x7eaa47,'attributes':{'data-change-id':_0x1d3b32}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x44bf45=>{_0x44bf45['on']('element:pre',(_0x21832a,_0x4121e1,_0x21cb95)=>{const _0x43b0be=_0x4121e1['viewItem']['getChild'](0x0);if(!_0x43b0be||!_0x43b0be['is']('element','code'))return;if(!_0x21cb95['consumable']['consume'](_0x43b0be,{'attributes':['vid_start','vid_end']}))return;const _0x3b1ba7=_0x4121e1['modelRange']['start']['nodeAfter'];_0x21cb95['writer']['setAttribute']('vid_start',_0x43b0be['getAttribute']('vid_start'),_0x3b1ba7),_0x21cb95['writer']['setAttribute']('vid_end',_0x43b0be['getAttribute']('vid_end'),_0x3b1ba7);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x26a8ef=>{_0x26a8ef['on']('element',(_0x586784,_0x4c722e,_0x5859be)=>{if(!_0x5859be['consumable']['consume'](_0x4c722e['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x4c722e['modelRange']['isCollapsed'])return;const _0x541b91=_0x4c722e['modelRange']['start']['nodeAfter'];_0x541b91['hasAttribute']('vid_start')||_0x541b91['hasAttribute']('vid')||(_0x5859be['writer']['setAttribute']('vid_start',_0x4c722e['viewItem']['getAttribute']('vid_start'),_0x541b91),_0x5859be['writer']['setAttribute']('vid_end',_0x4c722e['viewItem']['getAttribute']('vid_end'),_0x541b91));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x4f5aee=>_0x4f5aee['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x2c3f0d,[,_0x73ce7f])=>{['vid_start','vid_end','vid']['includes'](_0x73ce7f)&&(_0x2c3f0d['return']=!0x0,_0x2c3f0d['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x3eff49=>{_0x3eff49['on']('attribute:vid',(_0x37252d,_0x4800b1,_0x45583b)=>{if('\x20'!=_0x4800b1['item']['data']||_0x4800b1['item']['parent']['maxOffset']>0x1)return;if(!_0x45583b['consumable']['consume'](_0x4800b1['item'],_0x37252d['name']))return;const _0x1b4168=_0x45583b['writer'],_0x3043be=_0x45583b['mapper']['toViewRange'](_0x4800b1['range']);_0x1b4168['wrap'](_0x3043be,_0x1b4168['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x393cc5){const _0x195f12=_0x393cc5['plugins']['get']('RevisionViewer');return(_0x2ecbbf,_0x1b8a48,_0xf3bca4)=>{const _0x13d617=_0x1b8a48['markerName']['split'](':')[0x1],_0x162be3=_0x195f12['_getChangeFromId'](_0x13d617);if(!_0x162be3)return null;const _0x1e1cd4='add'==_0x162be3['type']?'split':'merge';if(!_0xf3bca4['consumable']['test'](_0x1b8a48['markerRange'],_0x2ecbbf['name']))return;const _0x5d7bf8=_0x1b8a48['markerRange']['getWalker'](),_0x5382b1=_0x1b8a48['markerRange']['start'],_0xaf3f86=_0x393cc5['model']['schema'];let _0x5e7ac8=null,_0x4ce4a2=null,_0x25d2c5=!0x1,_0x213e7d=!0x1;for(const _0x398bb7 of _0x5d7bf8){const _0x18f39e=_0x398bb7['item'];_0x25d2c5=_0x25d2c5||_0xaf3f86['isContent'](_0x18f39e);const _0x20a59c=_0xf3bca4['mapper']['toViewElement'](_0x18f39e);if(_0x20a59c&&_0x20a59c['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x398bb7['type']&&(_0xaf3f86['isBlock'](_0x18f39e)&&!_0xaf3f86['isLimit'](_0x18f39e)&&(_0x18f39e['nextSibling']||_0x5382b1['isAtEnd']?_0x5e7ac8&&_0x5e7ac8['parent']==_0x18f39e||(_0x5e7ac8=_0x18f39e,_0xe37329(_0x398bb7['previousPosition']),_0x213e7d=!0x0):_0x4ce4a2=_0x4ce4a2||_0x398bb7['previousPosition']));}function _0xe37329(_0x1d2d1c){const _0x333e69=_0xf3bca4['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1e1cd4}),_0x35b457=_0xf3bca4['mapper']['toViewPosition'](_0x1d2d1c);_0x162be3['data']['isSuggestion']&&_0xf3bca4['writer']['addClass']('ck-suggestion-marker-'+_0x1e1cd4+'-new',_0x333e69),_0x195f12['activeChange']==_0x162be3&&_0xf3bca4['writer']['addClass']('ck-suggestion-marker--active',_0x333e69),_0xf3bca4['writer']['insert'](_0x35b457,_0x333e69),_0xf3bca4['mapper']['bindElementToMarker'](_0x333e69,_0x1b8a48['markerName']);}_0x25d2c5||_0x213e7d||!_0x4ce4a2||_0xe37329(_0x4ce4a2);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x3df60e,_0x16bb2a,_0x55d1db)=>{const _0x5ecbfa=_0x55d1db['mapper']['markerNameToElements'](_0x16bb2a['markerName']);if(_0x5ecbfa){for(const _0x3b87ea of _0x5ecbfa)(_0x3b87ea['hasClass']('ck-suggestion-marker-split')||_0x3b87ea['hasClass']('ck-suggestion-marker-merge'))&&(_0x55d1db['mapper']['unbindElementFromMarkerName'](_0x3b87ea,_0x16bb2a['markerName']),_0x55d1db['writer']['remove'](_0x3b87ea));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x26e12f,_0x499ea8,_0xe51b81)=>{const _0x536731=_0x499ea8['markerName']['split'](':')[0x1],_0x1c07e0=this['_getChangeFromId'](_0x536731);if(!_0x1c07e0)return null;const _0x2823b2='add'==_0x1c07e0['type']?'split':'merge';if(_0xe51b81['consumable']['test'](_0x499ea8['markerRange'],_0x26e12f['name']))for(const _0x5ad2bf of _0x499ea8['markerRange']['getItems']()){if(!_0x5ad2bf['is']('element','softBreak'))continue;const _0x197e51=_0xe51b81['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2823b2}),_0x2528c6=_0xe51b81['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x5ad2bf));_0x1c07e0['data']['isSuggestion']&&_0xe51b81['writer']['addClass']('ck-suggestion-marker-'+_0x2823b2+'-new',_0x197e51),this['activeChange']==_0x1c07e0&&_0xe51b81['writer']['addClass']('ck-suggestion-marker--active',_0x197e51),_0xe51b81['writer']['insert'](_0x2528c6,_0x197e51),_0xe51b81['mapper']['bindElementToMarker'](_0x197e51,_0x499ea8['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x4aa63f=>{for(const _0x54604d of this['editor']['model']['document']['getRootNames']()){const _0x7879ad=this['editor']['model']['document']['getRoot'](_0x54604d),_0x19c033=this['editor']['editing']['view']['document']['getRoot'](_0x54604d);if(_0x19c033){const _0x3febb2=_0x7879ad['getAttribute']('revisionHistoryAttachChange');if(_0x4aa63f['removeAttribute']('data-change-id',_0x19c033),_0x4aa63f['removeClass']('ck-revision-history-root-add',_0x19c033),_0x4aa63f['removeClass']('ck-revision-history-root-remove',_0x19c033),_0x4aa63f['removeClass']('ck-revision-history-root--active',_0x19c033),_0x3febb2){const _0x4fdb03=this['_getChangeFromId'](_0x3febb2);if(!_0x4fdb03)return null;_0x4aa63f['setAttribute']('data-change-id',_0x3febb2,_0x19c033),_0x4aa63f['addClass']('ck-revision-history-root-'+_0x4fdb03['type'],_0x19c033),this['activeChange']==_0x4fdb03&&_0x4aa63f['addClass']('ck-revision-history-root--active',_0x19c033);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x15d21f=>'revision-comment:'+_0x15d21f,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x57e970=>'revision-suggestion:'+_0x57e970,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x2d9c48=>({'name':'suggestion:'+_0x2d9c48,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x277b61=>{const _0x4cb274=_0x277b61['markerName']['split'](':')[0x1];return'insertion'!=_0x4cb274&&'deletion'!=_0x4cb274?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x4cb274]};}}),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',(_0x26f967,_0xeb26d,_0x5c76b9)=>{const _0x534f9c=_0x5c76b9['mapper']['markerNameToElements'](_0xeb26d['markerName']);if(_0x534f9c){for(const _0x3cdfcb of _0x534f9c)_0x3cdfcb['is']('uiElement')&&(_0x5c76b9['mapper']['unbindElementFromMarkerName'](_0x3cdfcb,_0xeb26d['markerName']),_0x5c76b9['writer']['remove'](_0x3cdfcb));}},{'priority':'high'});}['_getChangeFromId'](_0x4444d1){return this['_changeIdToChange']['get'](_0x4444d1);}['_getViewForChange'](_0x2bd146){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x2bd146),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x5c5306,_0x10a97a,_0x4f8ce1,_0x5e77e6)=>{_0x5e77e6&&this['_balloon']['remove'](_0x5e77e6),_0x4f8ce1&&(this['_balloon']['add']({'view':_0x4f8ce1,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x53036a=this['editor']['editing'],_0x48fdb1=this['_getChangeFromId'](_0x4f8ce1['changeId']);let _0x1212fb;if(_0x48fdb1['data']['isOnRoot']){const _0x1d782a=_0x53036a['view']['getDomRoot'](_0x48fdb1['rootName']);_0x1212fb=Array['from'](_0x1d782a['getClientRects']());}else{const _0x284c72=this['editor']['model']['markers']['get']('revision:'+_0x4f8ce1['changeId']);_0x1212fb=Array['from'](_0x53036a['mapper']['markerNameToElements'](_0x284c72['name']))['map'](_0x1736bf=>_0x53036a['view']['domConverter']['mapViewToDom'](_0x1736bf))['map'](_0x4331b2=>Array['from'](_0x4331b2['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x1212fb[0x0];return _0x1212fb['find'](_0x4dddc3=>_0x4dddc3['top']-0x3<=this['_activeViewTarget']['y']&&_0x4dddc3['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x4dddc3['left']-0x3<=this['_activeViewTarget']['x']&&_0x4dddc3['right']+0x3>=this['_activeViewTarget']['x'])||_0x1212fb[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x3b80a9,_0x3af2ee,_0x361655,_0x26e77c)=>{this['activeView']=_0x361655?this['_getViewForChange'](_0x361655):null,this['editor']['model']['change'](()=>{const _0x401a73=this['editor']['editing'];_0x26e77c&&(_0x26e77c['data']['isOnRoot']?_0x401a73['view']['change'](_0xb0c4c7=>{_0xb0c4c7['removeClass']('ck-revision-history-root--active',_0x401a73['view']['document']['getRoot'](_0x26e77c['rootName']));}):_0x401a73['reconvertMarker']('revision:'+_0x26e77c['id'])),_0x361655&&(_0x361655['data']['isOnRoot']?_0x401a73['view']['change'](_0x4c0678=>{_0x4c0678['addClass']('ck-revision-history-root--active',_0x401a73['view']['document']['getRoot'](_0x361655['rootName']));}):_0x401a73['reconvertMarker']('revision:'+_0x361655['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x53624c,_0x53d700)=>{if(this['activeChange'])return;const _0x4cc90b=this['_findChangeIdFromDomTarget'](_0x53d700['target']),_0x2db69a=this['_changeIdToChange']['get'](_0x4cc90b);_0x2db69a?(this['_activeViewTarget']={'x':_0x53d700['domEvent']['x'],'y':_0x53d700['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x2db69a)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x11d4c4,_0x2e1730)=>{const _0x43df7a=this['_findChangeIdFromDomTarget'](_0x2e1730['target']),_0xede867=this['_changeIdToChange']['get'](_0x43df7a);_0xede867?(this['_activeViewTarget']={'x':_0x2e1730['domEvent']['x'],'y':_0x2e1730['domEvent']['y']},_0xede867===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0xede867):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x4254f6){do{const _0x13ea3e=_0x4254f6['getAttribute']('data-change-id');if(_0x13ea3e)return _0x13ea3e;_0x4254f6=_0x4254f6['parent'];}while(_0x4254f6);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x40bc90=>{for(const _0x393f5d of this['editor']['model']['markers'])_0x40bc90['removeMarker'](_0x393f5d);});}}function et(_0x2a25ae,_0x349940){return(_0x3147e3,_0x52e146,_0x3697b2)=>{if(!_0x3697b2['consumable']['test'](_0x52e146['markerRange'],_0x3147e3['name']))return;const _0x28e081=_0x52e146['markerRange']['getWalker'](),_0x47d3af=_0x52e146['markerRange']['start'],_0x28e9b6=_0x2a25ae['model']['schema'];let _0x4cc4ba=null,_0x26f969=null,_0x338c39=!0x1,_0x281e32=!0x1;for(const _0x3a6ff4 of _0x28e081){const _0x5b9cc3=_0x3a6ff4['item'];_0x338c39=_0x338c39||_0x28e9b6['isContent'](_0x5b9cc3);const _0x24a198=_0x3697b2['mapper']['toViewElement'](_0x5b9cc3);if(_0x24a198&&_0x24a198['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3a6ff4['type']&&(_0x28e9b6['isBlock'](_0x5b9cc3)&&!_0x28e9b6['isLimit'](_0x5b9cc3)&&(_0x5b9cc3['nextSibling']||_0x47d3af['isAtEnd']?_0x4cc4ba&&_0x4cc4ba['parent']==_0x5b9cc3||(_0x4cc4ba=_0x5b9cc3,_0x20f123(_0x3a6ff4['previousPosition']),_0x281e32=!0x0):_0x26f969=_0x26f969||_0x3a6ff4['previousPosition']));}function _0x20f123(_0x21ab70){const _0x6eb4d=_0x3697b2['mapper']['toViewPosition'](_0x21ab70),_0x2793b9=_0x3697b2['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x349940});_0x3697b2['writer']['insert'](_0x6eb4d,_0x2793b9),_0x3697b2['mapper']['bindElementToMarker'](_0x2793b9,_0x52e146['markerName']);}_0x338c39||_0x281e32||!_0x26f969||_0x20f123(_0x26f969);};}class bt extends _0x219cab{constructor(_0x419caf){super(_0x419caf);const _0x36e054=_0x419caf['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x36e054,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x36e054,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x487c95=this['editor'],_0x22da0d=_0x487c95['plugins']['get'](d),_0x224595=_0x22da0d['isReady']?_0x22da0d['diff']['newRevisionId']:null;_0x487c95['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x224595);}['refresh'](){const {isReady:_0x465e42,isEnabled:_0xf043e0}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x465e42&&_0xf043e0;}}class yt extends _0x219cab{['_step'];constructor(_0x564729,{direction:_0x1ea73f}){super(_0x564729);const _0x79ff7c=_0x564729['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x1ea73f?0x1:-0x1,this['listenTo'](_0x79ff7c,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x79ff7c,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x79ff7c,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x5f3a32=this['editor'],_0x454b7f=_0x5f3a32['plugins']['get'](d),{isNavigationMode:_0x310cae,currentChangeNumber:_0x25d872}=_0x454b7f;let _0x54c7c8;if(_0x454b7f['activeChange']=_0x310cae?_0x454b7f['diff']['changes']['get'](_0x25d872+this['_step']):_0x454b7f['diff']['changes']['first'],_0x454b7f['activeChange']['data']['isOnRoot'])_0x54c7c8=_0x5f3a32['editing']['view']['getDomRoot'](_0x454b7f['activeChange']['rootName']);else{const _0x15cffe=_0x5f3a32['model']['markers']['get']('revision:'+_0x454b7f['activeChange']['id']);_0x54c7c8=_0x5a2047(_0x5f3a32['editing'],_0x15cffe);}_0x1f25fe({'target':_0x54c7c8,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x259869,currentChangeNumber:_0xcd561f,numberOfChanges:_0x2c8d20,isReady:_0x1f5c25,isEnabled:_0x4a8ee6}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x4a8ee6&&_0x1f5c25&&_0x2c8d20)&&(!_0x259869||(0x1===this['_step']?_0xcd561f<_0x2c8d20-0x1:_0xcd561f>0x0));}}class _i extends _0x34a233{constructor(_0x537e9e){super(_0x537e9e);const _0x1b2f40=this['bindTemplate'],_0x804c50=new _0x302b83(_0x537e9e),_0x2d28f7=new _0x302b83(_0x537e9e);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',(_0x270135,_0x56e0e7)=>_0x270135&&_0x56e0e7>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x324242,_0x3c327e,_0x137d0b,_0x24d3ca)=>{if(!_0x324242)return y(_0x537e9e,'Loading...');if(!_0x137d0b)return y(_0x537e9e,'No\x20changes');const _0x58cd17=y(_0x537e9e,'NUMBER_OF_CHANGES',_0x137d0b);return _0x24d3ca?y(_0x537e9e,'X_OF_Y_CHANGES',[_0x3c327e+0x1,_0x137d0b]):_0x58cd17;}),_0x804c50['set']({'label':y(_0x537e9e,'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'}),_0x2d28f7['set']({'label':y(_0x537e9e,'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'}),_0x804c50['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x2d28f7['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x804c50['on']('execute',()=>this['fire']('execute','backward')),_0x2d28f7['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',_0x1b2f40['if']('_isStatusLabelVisible','ck-hidden',_0x28b576=>!_0x28b576)]},'children':[{'text':_0x1b2f40['to']('isNavigationMode',_0x5072ad=>_0x5072ad?y(_0x537e9e,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x537e9e,'Total')+':\x20')}]},{'text':_0x1b2f40['to']('_statusText')}]},new _0x3fa825(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x804c50,_0x2d28f7]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x15722d{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x4fed46=this['editor']['editing']['view'];_0x4fed46['change'](_0x3e3963=>{for(const _0xd2b5e6 of _0x4fed46['document']['roots'])_0x3e3963['addClass'](ce,_0xd2b5e6);});}['hide'](){const _0x1127c6=this['editor']['editing']['view'];_0x1127c6['change'](_0x12ab08=>{for(const _0x24fe68 of _0x1127c6['document']['roots'])_0x12ab08['removeClass'](ce,_0x24fe68);});}}class R extends _0x15722d{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x4272e1=this['editor'],_0x590e7a=_0x4272e1['plugins']['get'](d),_0xd85e35=_0x4272e1['plugins']['get'](de);_0x4272e1['ui']['componentFactory']['add']('exitToEditing',_0x16e4d1=>{const _0x40d9fd=new _0x302b83(_0x16e4d1);return _0x40d9fd['set']({'label':y(_0x16e4d1,'Back\x20to\x20editing'),'icon':_0x5fb71a['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x40d9fd,'execute',()=>{_0x4272e1['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x40d9fd;}),_0x4272e1['ui']['componentFactory']['add']('restoreRevision',_0x4187ce=>{const _0xf6f723=new _0x302b83(_0x4187ce);return _0xf6f723['set']({'label':y(_0x4187ce,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0xf6f723['bind']('isEnabled')['to'](_0x4272e1['commands']['get']('restoreRevision')),this['listenTo'](_0xf6f723,'execute',()=>_0x4272e1['execute']('restoreRevision')),_0xf6f723;}),_0x4272e1['ui']['componentFactory']['add']('changesNavigation',_0x40f967=>{const _0x371c75=new _i(_0x40f967),_0xba936d=_0x4272e1['commands']['get']('showPreviousChange'),_0x22e34f=_0x4272e1['commands']['get']('showNextChange');return _0x371c75['bind']('isBackwardNavigationEnabled')['to'](_0xba936d,'isEnabled'),_0x371c75['bind']('isForwardNavigationEnabled')['to'](_0x22e34f,'isEnabled'),_0x371c75['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x590e7a),this['listenTo'](_0x371c75,'execute',(_0x2fcd18,_0x534f21)=>{_0x4272e1['execute']('forward'===_0x534f21?'showNextChange':'showPreviousChange');}),_0x371c75;}),_0xd85e35['show'](),_0x590e7a['on']('change:isReady',(_0x392103,_0x30cc51,_0x4e6887)=>{_0x4e6887?_0xd85e35['hide']():_0xd85e35['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x38ab0d,_0x41e3ff){super(_0x38ab0d,_0x41e3ff);const _0x486ec4=this['bindTemplate'];this['set']({'label':y(_0x38ab0d,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x38ab0d,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x486ec4['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new mt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x20b858=this['fieldView']['element'];this['_tooltipString']=_0x20b858['scrollWidth']>_0x20b858['clientWidth']&&_0x20b858['value']||'';}}class ti extends _0x34a233{constructor(_0x5f3e11,_0x33558f,_0x42ad13){super(_0x5f3e11);const _0x39dcb8=new _0x5429c9();_0x39dcb8['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 _0x4fd305=['ck','ck-revision-history-sidebar__revision-author'];_0x42ad13&&_0x4fd305['push']('ck-revision-history-sidebar__revision-author_creator');const _0x568786=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x5f3e11,_0x42ad13?'Revision\x20creator':'Revision\x20author')},'children':[_0x39dcb8,_0x33558f['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x4fd305},'children':_0x568786});}}function ni(_0x38972b,_0x369f1d){const _0xf122de=_0x38972b['bindTemplate'],_0x55d665=_0x38972b['locale'],_0x35012e=_0x30de5a(_0x55d665);_0x35012e['panelPosition']='sw';const _0x4152ed=function(_0x258ae3,_0x3a3f4e){const _0x237ed1=function(_0x37cad9,_0x181767){const _0x3677e2=_0x37cad9['locale'],_0x30458b={'Compare\x20against\x20selected':y(_0x3677e2,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x3677e2,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x3677e2,'Restore\x20this\x20revision')};return _0x181767['map'](_0x50b2c2=>{const _0x31abf7=_0x30458b[_0x50b2c2['name']];return _0x31abf7&&_0x31abf7!==_0x50b2c2['name']&&(_0x50b2c2['name']=_0x31abf7),_0x50b2c2;});}(_0x258ae3,_0x3a3f4e),_0x816a4=new _0x51c829();for(const _0x5093bc of _0x237ed1){const _0x5031e5={'type':'button','model':new to({'label':_0x5093bc['name'],'class':_0x5093bc['class'],'withText':!0x0,'role':'menuitem','_action':_0x5093bc['action']})};_0x5031e5['model']['bind']('isEnabled')['to'](_0x258ae3,'isActionsDropdownOpen',_0x1b781c=>'function'!=typeof _0x5093bc['isEnabled']||(!_0x1b781c||_0x5093bc['isEnabled'](_0x258ae3))),_0x816a4['add'](_0x5031e5);}return _0x816a4;}(_0x38972b,_0x369f1d);return _0x38972b['bind']('isActionsDropdownOpen')['to'](_0x35012e,'isOpen'),_0x35012e['buttonView']['set']({'label':y(_0x55d665,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x5fb71a['threeVerticalDots']}),_0x35012e['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0xf122de['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0xf122de['to'](_0x1cf623=>_0x1cf623['stopPropagation']())}}),_0x35012e['on']('execute',_0x12b207=>{_0x38972b['isReady']&&'function'==typeof _0x12b207['source']['_action']&&_0x12b207['source']['_action'](_0x38972b);}),_0x7380b5(_0x35012e,_0x4152ed,{'role':'menu'}),_0x35012e['listenTo'](_0x38972b,'change:isActionsDropdownOpen',(_0x2145f7,_0x11c896,_0x35b660)=>{if(_0x35b660)for(const _0x23f95f of _0x35012e['listView']['items']){const _0xa6030a=_0x23f95f['children']['first'],_0x32882a=_0x369f1d['find'](_0x27f1f8=>_0x27f1f8['action']===_0xa6030a['_action'])['isVisible'];_0x23f95f['isVisible']=void 0x0===_0x32882a||_0x32882a(_0x38972b);}}),_0x35012e;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x2ec772(_0x34a233){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x2dbd4d,_0x355347,_0x4ab8b1,_0x353bab){super(_0x2dbd4d);const _0x3fc5fe=this['bindTemplate'],_0x5d708f=function(_0x32d75f,_0x6b5aed){const _0x19c7fe=Array['from'](_0x6b5aed['authors'])['filter'](_0x4f1315=>_0x4f1315!=_0x6b5aed['creator']);return _0x6b5aed['creator']&&_0x19c7fe['unshift'](_0x6b5aed['creator']),_0x19c7fe['map'](_0x482566=>new ti(_0x32d75f,_0x482566,_0x482566==_0x6b5aed['creator']));}(_0x2dbd4d,_0x355347);this['id']=_0x355347['id'],this['_revision']=_0x355347,this['_requireRevisionName']=_0x353bab,this['bind']('name','createdAt')['to'](_0x355347),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x10309b=>{return _0x52c96f=_0x2dbd4d['uiLanguage'],(_0x187e00=_0x10309b)['toLocaleDateString'](_0x52c96f,{'month':'long','day':'numeric'})+',\x20'+_0x187e00['toLocaleTimeString'](_0x52c96f,{'hour':'numeric','minute':'numeric'});var _0x52c96f,_0x187e00;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x2dbd4d,_0x30bbd3),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x3d5818=>_0x3d5818||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x2125ca,_0x2223d3)=>_0x2125ca&&_0x2223d3),this['revisionActionsView']=_0x4ab8b1&&_0x4ab8b1['length']?ni(this,_0x4ab8b1):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x3fc5fe['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x3fc5fe['if']('isEnabled','ck-disabled',_0x184c37=>!_0x184c37),_0x3fc5fe['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x3fc5fe['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x3fc5fe['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':_0x3fc5fe['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':_0x5d708f}]},this['revisionActionsView']],'on':{'click':_0x3fc5fe['to'](_0x4ef512=>{_0x4ef512['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x3603ab=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x3603ab,'change',()=>{this['_requireRevisionName']&&!_0x3603ab['value']||this['fire']('setName',{'id':this['id'],'name':_0x3603ab['value']}),_0x3603ab['value']||(_0x3603ab['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function di(_0x25c204,_0x31a655){const _0x383c16=_0x36bea6['fromJSDate'](_0x25c204)['setLocale'](_0x31a655),_0x4ac767=_0x36bea6['local'](),_0x1aa497=_0x4ac767['minus']({'days':0x1})['startOf']('day');let _0x154f7b,_0x102712;return _0x383c16['hasSame'](_0x4ac767,'day')?(_0x154f7b=_0x383c16['startOf']('day')['toJSDate'](),_0x102712=_0x383c16['toRelativeCalendar']()):_0x383c16['hasSame'](_0x1aa497,'day')?(_0x154f7b=_0x1aa497['toJSDate'](),_0x102712=_0x383c16['toRelativeCalendar']()):_0x383c16['hasSame'](_0x4ac767,'week')?(_0x154f7b=_0x383c16['startOf']('week')['toJSDate'](),_0x102712=_0x383c16['weekdayLong']||''):_0x383c16['hasSame'](_0x4ac767,'year')?(_0x154f7b=_0x383c16['startOf']('month')['toJSDate'](),_0x102712=_0x383c16['monthLong']||''):(_0x154f7b=_0x383c16['startOf']('year')['toJSDate'](),_0x102712=String(_0x383c16['year'])),{'startDate':_0x154f7b,'localizedPeriodName':_0x102712};}class mi extends _0x34a233{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x324907,_0x2a8180,_0x562e08,_0x5ab533){super(_0x324907);const _0x3a6121=di(_0x2a8180,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x2a8180,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x562e08,this['_requireRevisionName']=_0x5ab533,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':_0x3a6121}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x5f2fa1){const _0x481a07=new ai(this['locale'],_0x5f2fa1,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x481a07);}['removeRevision'](_0x2853a0){const _0x338f02=this['revisionViews']['find'](_0x44cd1f=>_0x44cd1f['id']===_0x2853a0['id']);this['revisionViews']['remove'](_0x338f02);}}class as extends _0x34a233{constructor(_0x18c8f6){super(_0x18c8f6);const _0x3b7c62=new _0x5429c9();_0x3b7c62['content']=_0x5fb71a['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x3b7c62,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x18c8f6,'Revision\x20history')]}]});}}class ci extends _0x34a233{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0xe0a07f,_0x11f2f5,_0x500a24,_0xd7a1f0){super(_0xe0a07f);const _0x40a002=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x11f2f5,this['_revisionActions']=_0x500a24,this['_requireRevisionName']=_0xd7a1f0,this['on']('select',(_0x5033a7,_0x27dc1d)=>{this['fire']('revisionSelected',_0x27dc1d);}),this['on']('setName',(_0x5eb5e0,_0x503703)=>{this['fire']('revisionSetName',_0x503703);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0xe0a07f),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x40a002['if']('isEnabled','ck-disabled',_0x1b1671=>!_0x1b1671)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x1dd723 of this['_revisions'])this['_addRevision'](_0x1dd723);this['_revisions']['on']('add',(_0x4ee5f3,_0x222e8e)=>{this['_addRevision'](_0x222e8e);}),this['_revisions']['on']('remove',(_0x39145a,_0x35d8af)=>{this['_removeRevision'](_0x35d8af);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x3f8ada=>_0x3f8ada['revisionViews']['map'](_0x4f88fa=>_0x4f88fa))['flat']();}['selectRevision'](_0x552e30){for(const _0x42bf52 of this['revisionViews'])_0x552e30&&_0x552e30['id']===_0x42bf52['id']?_0x42bf52['select']():_0x42bf52['deselect']();}['highlightRevisions'](_0x8e55a6){for(const _0x48b9ee of this['revisionViews'])_0x8e55a6['some'](({id:_0x2d358a})=>_0x2d358a===_0x48b9ee['id'])?_0x48b9ee['highlight']():_0x48b9ee['unhighlight']();}['_addRevision'](_0x6d2672){const _0xb661c7=di(_0x6d2672['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x3064b7=this['timePeriodViews']['get'](0x0);_0x3064b7&&_0x3064b7['startDate']['getTime']()===_0xb661c7['getTime']()||(_0x3064b7=new mi(this['locale'],_0xb661c7,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x3064b7)),_0x3064b7['addRevision'](_0x6d2672);}['_removeRevision'](_0x30d432){const _0x1685dc=di(_0x30d432['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x1685dc)['removeRevision'](_0x30d432);}['_getTimePeriodViewByStartDate'](_0x28c70c){return this['timePeriodViews']['find'](_0x35e3cb=>_0x35e3cb['startDate']['getTime']()===_0x28c70c['getTime']());}}class w extends _0x15722d{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
27
27
  ((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
28
- Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x190965){super(_0x190965),this['_revisionViewer']=_0x190965['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x2963bd=this['_revisionsRepository']['_revisions'],_0x220fe4=this['_createRevisionActions'](),_0x33d490=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x2963bd,_0x220fe4,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',(_0x173b46,_0x39d819)=>{_0x39d819['revisionViews']['on']('add',(_0x705303,_0x36d2ef)=>{_0x36d2ef['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)),_0x33d490['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x46c2e3=this['_revisionsRepository']['getRevision'](0x0);if(_0x46c2e3){const _0x338eea=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x46c2e3['id']);this['_revisionViewer']['compare'](_0x46c2e3,_0x338eea);}}['_handleRevisionSelected'](_0x1970ae,_0xabe63f){const _0xb42bce=this['_revisionsRepository']['getRevision'](_0xabe63f['id']),_0x403f03=this['_revisionsRepository']['getEarlierVisibleRevision'](_0xb42bce['id']);this['_revisionViewer']['compare'](_0xb42bce,_0x403f03);}['_handleRevisionSetName'](_0x42aa31,_0x157017){this['_revisionsRepository']['getRevision'](_0x157017['id'])['setName'](_0x157017['name']);}['_handleDiffChange'](_0x42e22f,_0x4ea22a,_0x2d3032){const _0x42e944=this['_revisionsRepository']['getRevisionsInDiff'](_0x2d3032);_0x42e944['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x42e944),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x42e944[0x0]));}['_createRevisionActions'](){const _0x22dc5e=this['editor'],_0x3657b4=w['availableRevisionActions'],_0x2d1610=_0x22dc5e['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x2d1610['length'])return _0x2d1610['map'](_0x27c14f=>{const _0x3fd94e='string'==typeof _0x27c14f?Object['assign']({},_0x3657b4[_0x27c14f]):_0x27c14f;return _0x3fd94e['action']=_0x3fd94e['action']['bind'](this,_0x22dc5e),_0x3fd94e['isVisible']&&(_0x3fd94e['isVisible']=_0x3fd94e['isVisible']['bind'](this,_0x22dc5e)),_0x3fd94e;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x32dd31},_0x3297d9)=>{const _0x2d9b92=_0x32dd31['get'](d),_0x46b94e=_0x2d9b92['repository'];let _0x12bed6=_0x2d9b92['diff']['newRevisionId'],_0x3b00f5=_0x3297d9['id'];_0x46b94e['getIndex'](_0x12bed6)>_0x46b94e['getIndex'](_0x3b00f5)&&([_0x12bed6,_0x3b00f5]=[_0x3b00f5,_0x12bed6]),_0x2d9b92['compare'](_0x12bed6,_0x3b00f5);},'isVisible':({plugins:_0x2531c1},_0x5d40a6)=>{const _0x33e27f=_0x2531c1['get'](d);return!(_0x33e27f['repository']['getRevisionsInDiff'](_0x33e27f['diff'])['length']>0x2)&&!_0x5d40a6['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x482a2f,{id:_0x544991})=>{_0x482a2f['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x544991);},'isVisible':({plugins:_0x5644bc},_0x17e72d)=>!!_0x5644bc['get'](d)['repository']['getLaterVisibleRevision'](_0x17e72d['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x1f1ea1},{id:_0x41d45d,revisionNameView:_0x4b9a2b})=>{const _0x1c0f18=_0x1f1ea1['get'](d),_0x1b1b83=_0x1c0f18['repository']['getEarlierVisibleRevision'](_0x41d45d);_0x1c0f18['compare'](_0x41d45d,_0x1b1b83),_0x4b9a2b['focus'](),_0x4b9a2b['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x5b4dfb,_0x1c282c){super(_0x5b4dfb),this['_view']=_0x1c282c,this['_toolbarConfig']=ct(_0x5b4dfb['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x2f394d){const _0x513291=this['editor'],_0x4e4708=this['view'],_0x49d85d=_0x513291['editing']['view'],_0x3d1411=_0x4e4708['editable'],_0xbfbd13=_0x49d85d['document']['getRoot']();_0x3d1411['name']=_0xbfbd13['rootName'],_0x4e4708['render']();const _0x42709a=_0x3d1411['element'];this['setEditableElement'](_0x3d1411['name'],_0x42709a),_0x4e4708['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x49d85d['attachDomRoot'](_0x42709a),this['_elementReplacer']['replace'](_0x2f394d,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x3416ff=this['view'],_0x3ffb30=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x3ffb30['detachDomRoot'](_0x3416ff['editable']['name']),_0x3416ff['destroy']();}['_initToolbar'](){const _0x5c2c3d=this['view'];_0x5c2c3d['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x5c2c3d['stickyPanel']['limiterElement']=_0x5c2c3d['element'],_0x5c2c3d['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x3691be})=>_0x3691be),_0x5c2c3d['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x5c2c3d['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x1b93d4,_0x309a15,_0xd08ea={}){super(_0x1b93d4),this['stickyPanel']=new lt(_0x1b93d4),this['toolbar']=new pt(_0x1b93d4,{'shouldGroupWhenFull':_0xd08ea['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x1b93d4,_0x309a15);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends/* #__PURE__ -- @preserve */
29
- rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x4c9724,_0x26b6f2){super(_0x26b6f2),this['sourceElement']=_0x4c9724,this['model']['document']['createRoot']();const _0x133f7e=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x133f7e);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x2deb28,_0x15536e){const _0x5ab4e8=new this(_0x2deb28,_0x15536e);return await _0x5ab4e8['initPlugins'](),await _0x5ab4e8['ui']['init'](_0x2deb28),await _0x5ab4e8['data']['init'](_0x5ab4e8['config']['get']('initialData')||''),_0x5ab4e8['fire']('ready'),_0x5ab4e8;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x1b9d3f{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x372d21){super(_0x372d21),this['result']='end';}}class H extends _0x1b9d3f{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x2be50a){if(super(_0x2be50a),!this['editor']['config']['get']('revisionHistory'))throw new _0x9d2149('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x299c67=>this['_showRevisionViewer']({..._0x299c67,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x5a9ba4=>this['_closeRevisionViewer'](_0x5a9ba4)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x393f14=>this['_restoreRevision'](_0x393f14)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0xabfd73){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0xabfd73;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x58b723){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x58b723);}['getRevision'](_0x3383cb){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x3383cb);}['getRevisions'](_0xfa2b3f){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0xfa2b3f||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x4fc949=this['editor'],_0x346bea=_0x36276e(_0x4fc949,p),_0xec524b=_0x4fc949['plugins']['get']('RevisionTracker'),_0x27344b=_0x4fc949['plugins']['get']('Users')['users'];return _0x346bea['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x346bea['lazyRoots'],(_0x346bea['plugins']['push'](k,d,R,class extends _0x1b9d3f{static get['requires'](){return[d,'Users'];}['init'](){const _0xbffdb5=this['editor']['plugins']['get']('Users');for(const _0x496746 of _0x27344b)_0x496746['isAnonymous']||_0xbffdb5['getUser'](_0x496746['id'])||_0xbffdb5['addUser'](_0x496746);const _0x20fa6a=_0xec524b['repository']['getRevisions']();let _0x47cf21=null;const _0x4c4685=this['editor']['plugins']['get']('RevisionViewer');_0x4c4685['adapter']=_0xec524b['adapter'],_0x4c4685['bind']('isEnabled')['to'](_0xec524b),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x4fc949,'isReadOnly',_0x128482=>!_0x128482);for(const _0x77e261 of _0x20fa6a){const _0x4ea31c=null===_0x77e261['creator'];if(_0x4ea31c&&_0x77e261['toVersion']===_0x77e261['fromVersion'])continue;const _0x3f1795=_0x77e261['toJSON']();_0x4c4685['addRevisionData'](_0x3f1795,(_0x4c8513,_0x267244,_0x461e47)=>{if(_0x4ea31c){if(_0x47cf21)_0x47cf21['_update'](_0x4c8513,_0x267244);else{if(!_0x267244){const _0x436f58=_0x461e47['toJSON']();_0x436f58['id']=_0x46006a(),_0xec524b['saveRevision'](_0x436f58,_0x461e47['toVersion'])['then'](_0x4e875a=>{_0x47cf21=_0x4e875a;});}}}else _0x77e261['_update'](_0x4c8513,_0x267244);});}}},w),_0x346bea);}['_enhanceShowRevisionViewerCallback'](){const _0x15bc51=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x59876a=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x53c563=this['editor']['plugins']['get']('Autosave');await _0x53c563['save']();}else await _0x59876a['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x32e7e3=this['editor']['plugins']['get']('Dialog');_0x32e7e3['isOpen']&&_0x32e7e3['hide']();}const _0x5530d5=this['_getRevisionViewerEditorConfig']();return _0x15bc51(_0x5530d5)['then'](_0xfc0b35=>{return(this['_viewerEditor']=_0xfc0b35,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0xfc0b35;})['catch'](_0x42ccfb=>(console['error'](_0x42ccfb),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x263017=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'](),_0x263017(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x6ef3c4=this['editor']['plugins']['get']('Annotations');_0x6ef3c4['refreshVisibility'](),_0x6ef3c4['refreshPositioning']();}})));}['_showRevisionViewer'](_0x41af90){const _0x4c7057=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x10c793=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x366d3b=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x366d3b,_0x41af90)['then'](_0x21d095=>(_0x10c793['style']['display']='block',_0x4c7057['style']['display']='none',_0x21d095));}['_closeRevisionViewer'](_0x49381d){const _0x41024c=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x41024c['style']['display']='',_0x49381d['destroy']();}async['_restoreRevision'](_0x151f5b){const _0x591854=this['editor'],_0x4bb62c=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x2ceadb=_0x591854['plugins']['get']('RevisionTracker'),_0x507cab=_0x4bb62c['repository']['getRevision'](_0x151f5b);let _0x350ba0,_0x1d2f62,_0x5c48df;try{_0x350ba0=await _0x4bb62c['getRevisionData'](_0x507cab),_0x1d2f62=await _0x4bb62c['getRevisionRootsAttributes'](_0x507cab);}catch(_0x130a35){return void console['error'](_0x130a35);}_0x591854['model']['change'](_0x2971a9=>{for(const _0x4a189b of Array['from'](_0x591854['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x2971a9['removeMarker'](_0x4a189b);}),_0x4bb62c['isReady']=!0x1,_0x591854['model']['enqueueChange'](_0x333e34=>{_0x333e34['setSelection'](null),_0x333e34['removeSelectionAttribute'](_0x591854['model']['document']['selection']['getAttributeKeys']());const _0x1057c9=Object['keys'](_0x350ba0);for(const _0x410b07 of _0x591854['model']['document']['roots'])'$graveyard'!=_0x410b07['rootName']&&_0x410b07['isAttached']()&&!_0x1057c9['includes'](_0x410b07['rootName'])&&_0x333e34['detachRoot'](_0x410b07);for(const _0x236403 of _0x1057c9){let _0x5a3c42=_0x591854['model']['document']['getRoot'](_0x236403);_0x5a3c42&&_0x5a3c42['isAttached']()||(_0x5a3c42=_0x333e34['addRoot'](_0x236403));const _0x45b227=_0x1d2f62[_0x236403],_0x20abb5=Object['keys'](_0x45b227),_0x5ed2cf=_0x350ba0[_0x236403];for(const _0x5ac68c of _0x5a3c42['getAttributeKeys']())_0x20abb5['includes'](_0x5ac68c)||_0x333e34['removeAttribute'](_0x5ac68c,_0x5a3c42);for(const _0x28ab2f of _0x20abb5)_0x333e34['setAttribute'](_0x28ab2f,_0x1d2f62[_0x236403][_0x28ab2f],_0x5a3c42);_0x333e34['remove'](_0x333e34['createRangeIn'](_0x5a3c42)),_0x333e34['insert'](_0x591854['data']['parse'](_0x5ed2cf,_0x5a3c42),_0x5a3c42,0x0);}});const _0x1b652b=y(_0x591854['locale'],'Restored');if(_0x507cab['name'])_0x5c48df=-0x1==_0x507cab['name']['indexOf'](_0x1b652b)?_0x1b652b+':\x20'+_0x507cab['name']:_0x507cab['name'];else _0x5c48df=_0x1b652b+':\x20'+(_0x507cab['createdAt']['toLocaleDateString'](_0x591854['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x507cab['createdAt']['toLocaleTimeString'](_0x591854['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x2ceadb['saveRevision']({'name':_0x5c48df}),_0x4bb62c['isReady']=!0x0,_0x591854['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
28
+ Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x1b51e6){super(_0x1b51e6),this['_revisionViewer']=_0x1b51e6['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x353a4d=this['_revisionsRepository']['_revisions'],_0x57ac33=this['_createRevisionActions'](),_0x35cb71=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x353a4d,_0x57ac33,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',(_0x57fa10,_0x5c20df)=>{_0x5c20df['revisionViews']['on']('add',(_0x1e9559,_0x1f72de)=>{_0x1f72de['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)),_0x35cb71['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x4e59e8=this['_revisionsRepository']['getRevision'](0x0);if(_0x4e59e8){const _0x264c4b=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4e59e8['id']);this['_revisionViewer']['compare'](_0x4e59e8,_0x264c4b);}}['_handleRevisionSelected'](_0x2db8d1,_0x42f97f){const _0x198a47=this['_revisionsRepository']['getRevision'](_0x42f97f['id']),_0x4174e4=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x198a47['id']);this['_revisionViewer']['compare'](_0x198a47,_0x4174e4);}['_handleRevisionSetName'](_0x48b278,_0xf9e826){this['_revisionsRepository']['getRevision'](_0xf9e826['id'])['setName'](_0xf9e826['name']);}['_handleDiffChange'](_0x3faa77,_0x30ac06,_0x2f2ff0){const _0x232b67=this['_revisionsRepository']['getRevisionsInDiff'](_0x2f2ff0);_0x232b67['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x232b67),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x232b67[0x0]));}['_createRevisionActions'](){const _0x54ef80=this['editor'],_0x1e55a5=w['availableRevisionActions'],_0x56e7c6=_0x54ef80['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x56e7c6['length'])return _0x56e7c6['map'](_0x3baf04=>{const _0x135af4='string'==typeof _0x3baf04?Object['assign']({},_0x1e55a5[_0x3baf04]):_0x3baf04;return _0x135af4['action']=_0x135af4['action']['bind'](this,_0x54ef80),_0x135af4['isVisible']&&(_0x135af4['isVisible']=_0x135af4['isVisible']['bind'](this,_0x54ef80)),_0x135af4;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x3d609c},_0x1c77ed)=>{const _0x161f38=_0x3d609c['get'](d),_0x27d75d=_0x161f38['repository'];let _0x2cf88a=_0x161f38['diff']['newRevisionId'],_0xa760e8=_0x1c77ed['id'];_0x27d75d['getIndex'](_0x2cf88a)>_0x27d75d['getIndex'](_0xa760e8)&&([_0x2cf88a,_0xa760e8]=[_0xa760e8,_0x2cf88a]),_0x161f38['compare'](_0x2cf88a,_0xa760e8);},'isVisible':({plugins:_0x50f079},_0x43e0dc)=>{const _0x520b58=_0x50f079['get'](d);return!(_0x520b58['repository']['getRevisionsInDiff'](_0x520b58['diff'])['length']>0x2)&&!_0x43e0dc['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x19e3d3,{id:_0x335eec})=>{_0x19e3d3['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x335eec);},'isVisible':({plugins:_0x407e1e},_0x697ffc)=>!!_0x407e1e['get'](d)['repository']['getLaterVisibleRevision'](_0x697ffc['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x56c417},{id:_0x5e3277,revisionNameView:_0x5b55a9})=>{const _0x5035c3=_0x56c417['get'](d),_0x220bc5=_0x5035c3['repository']['getEarlierVisibleRevision'](_0x5e3277);_0x5035c3['compare'](_0x5e3277,_0x220bc5),_0x5b55a9['focus'](),_0x5b55a9['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x469eda,_0x52bc9d){super(_0x469eda),this['_view']=_0x52bc9d,this['_toolbarConfig']=ct(_0x469eda['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x199d9a){const _0x5ba962=this['editor'],_0x2f37b9=this['view'],_0x309820=_0x5ba962['editing']['view'],_0x29cae7=_0x2f37b9['editable'],_0x453139=_0x309820['document']['getRoot']();_0x29cae7['name']=_0x453139['rootName'],_0x2f37b9['render']();const _0x736bec=_0x29cae7['element'];this['setEditableElement'](_0x29cae7['name'],_0x736bec),_0x2f37b9['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x309820['attachDomRoot'](_0x736bec),this['_elementReplacer']['replace'](_0x199d9a,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x57001c=this['view'],_0x48c1de=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x48c1de['detachDomRoot'](_0x57001c['editable']['name']),_0x57001c['destroy']();}['_initToolbar'](){const _0x7e6dc6=this['view'];_0x7e6dc6['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x7e6dc6['stickyPanel']['limiterElement']=_0x7e6dc6['element'],_0x7e6dc6['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x101900})=>_0x101900),_0x7e6dc6['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x7e6dc6['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x10783b,_0x335ab9,_0x2953d2={}){super(_0x10783b),this['stickyPanel']=new lt(_0x10783b),this['toolbar']=new pt(_0x10783b,{'shouldGroupWhenFull':_0x2953d2['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x10783b,_0x335ab9);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends/* #__PURE__ -- @preserve */
29
+ rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x10ddbf,_0x5396ad){super(_0x5396ad),this['sourceElement']=_0x10ddbf,this['model']['document']['createRoot']();const _0x423dbe=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x423dbe);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x2afad8,_0x68d0cf){const _0x17d6d5=new this(_0x2afad8,_0x68d0cf);return await _0x17d6d5['initPlugins'](),await _0x17d6d5['ui']['init'](_0x2afad8),await _0x17d6d5['data']['init'](_0x17d6d5['config']['get']('initialData')||''),_0x17d6d5['fire']('ready'),_0x17d6d5;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x15722d{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x74cf93){super(_0x74cf93),this['result']='end';}}class H extends _0x15722d{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x284ea9){if(super(_0x284ea9),!this['editor']['config']['get']('revisionHistory'))throw new _0x4bfbd3('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0xad6898=>this['_showRevisionViewer']({..._0xad6898,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x1b441c=>this['_closeRevisionViewer'](_0x1b441c)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x545061=>this['_restoreRevision'](_0x545061)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x5f9a76){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x5f9a76;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x23de84){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x23de84);}['getRevision'](_0x403388){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x403388);}['getRevisions'](_0x2362d3){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x2362d3||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x5914d8=this['editor'],_0x4e47e8=_0x3af701(_0x5914d8,p),_0x20d86d=_0x5914d8['plugins']['get']('RevisionTracker'),_0x31c8fc=_0x5914d8['plugins']['get']('Users')['users'];return _0x4e47e8['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x4e47e8['lazyRoots'],(_0x4e47e8['plugins']['push'](k,d,R,class extends _0x15722d{static get['requires'](){return[d,'Users'];}['init'](){const _0x434294=this['editor']['plugins']['get']('Users');for(const _0x2f3127 of _0x31c8fc)_0x2f3127['isAnonymous']||_0x434294['getUser'](_0x2f3127['id'])||_0x434294['addUser'](_0x2f3127);const _0x11b6b8=_0x20d86d['repository']['getRevisions']();let _0x558c78=null;const _0x38600d=this['editor']['plugins']['get']('RevisionViewer');_0x38600d['adapter']=_0x20d86d['adapter'],_0x38600d['bind']('isEnabled')['to'](_0x20d86d),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x5914d8,'isReadOnly',_0x3abcc0=>!_0x3abcc0);for(const _0x38f5e9 of _0x11b6b8){const _0x27e591=null===_0x38f5e9['creator'];if(_0x27e591&&_0x38f5e9['toVersion']===_0x38f5e9['fromVersion'])continue;const _0x5a80fb=_0x38f5e9['toJSON']();_0x38600d['addRevisionData'](_0x5a80fb,(_0x1ce3f3,_0x993a97,_0x49762d)=>{if(_0x27e591){if(_0x558c78)_0x558c78['_update'](_0x1ce3f3,_0x993a97);else{if(!_0x993a97){const _0x4610e4=_0x49762d['toJSON']();_0x4610e4['id']=_0x523f17(),_0x20d86d['saveRevision'](_0x4610e4,_0x49762d['toVersion'])['then'](_0x5c741b=>{_0x558c78=_0x5c741b;});}}}else _0x38f5e9['_update'](_0x1ce3f3,_0x993a97);});}}},w),_0x4e47e8);}['_enhanceShowRevisionViewerCallback'](){const _0x5bea3b=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x1207ac=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x4ea22b=this['editor']['plugins']['get']('Autosave');await _0x4ea22b['save']();}else await _0x1207ac['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x46f124=this['editor']['plugins']['get']('Dialog');_0x46f124['isOpen']&&_0x46f124['hide']();}const _0x4e621c=this['_getRevisionViewerEditorConfig']();return _0x5bea3b(_0x4e621c)['then'](_0x27ae52=>{return(this['_viewerEditor']=_0x27ae52,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x27ae52;})['catch'](_0x44f1e3=>(console['error'](_0x44f1e3),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x56c8d0=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'](),_0x56c8d0(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0xc6761e=this['editor']['plugins']['get']('Annotations');_0xc6761e['refreshVisibility'](),_0xc6761e['refreshPositioning']();}})));}['_showRevisionViewer'](_0x4cae47){const _0x20ca84=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x26faef=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x2b6981=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x2b6981,_0x4cae47)['then'](_0x312c95=>(_0x26faef['style']['display']='block',_0x20ca84['style']['display']='none',_0x312c95));}['_closeRevisionViewer'](_0x3f7703){const _0x22a5f3=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x22a5f3['style']['display']='',_0x3f7703['destroy']();}async['_restoreRevision'](_0x39a7e0){const _0x101c0a=this['editor'],_0x57d8e8=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x14a128=_0x101c0a['plugins']['get']('RevisionTracker'),_0x4a4763=_0x57d8e8['repository']['getRevision'](_0x39a7e0);let _0x22f803,_0xa98aca,_0x1764c1;try{_0x22f803=await _0x57d8e8['getRevisionData'](_0x4a4763),_0xa98aca=await _0x57d8e8['getRevisionRootsAttributes'](_0x4a4763);}catch(_0x1d77c6){return void console['error'](_0x1d77c6);}_0x101c0a['model']['change'](_0x165527=>{for(const _0x1ef996 of Array['from'](_0x101c0a['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x165527['removeMarker'](_0x1ef996);}),_0x57d8e8['isReady']=!0x1,_0x101c0a['model']['enqueueChange'](_0xf9d16c=>{_0xf9d16c['setSelection'](null),_0xf9d16c['removeSelectionAttribute'](_0x101c0a['model']['document']['selection']['getAttributeKeys']());const _0x4598ba=Object['keys'](_0x22f803);for(const _0x53dd1e of _0x101c0a['model']['document']['roots'])'$graveyard'!=_0x53dd1e['rootName']&&_0x53dd1e['isAttached']()&&!_0x4598ba['includes'](_0x53dd1e['rootName'])&&_0xf9d16c['detachRoot'](_0x53dd1e);for(const _0x465682 of _0x4598ba){let _0x5b674f=_0x101c0a['model']['document']['getRoot'](_0x465682);_0x5b674f&&_0x5b674f['isAttached']()||(_0x5b674f=_0xf9d16c['addRoot'](_0x465682));const _0xd9d7f6=_0xa98aca[_0x465682],_0x50d53c=Object['keys'](_0xd9d7f6),_0x5bf3ef=_0x22f803[_0x465682];for(const _0x3af106 of _0x5b674f['getAttributeKeys']())_0x50d53c['includes'](_0x3af106)||_0xf9d16c['removeAttribute'](_0x3af106,_0x5b674f);for(const _0x4f1dec of _0x50d53c)_0xf9d16c['setAttribute'](_0x4f1dec,_0xa98aca[_0x465682][_0x4f1dec],_0x5b674f);_0xf9d16c['remove'](_0xf9d16c['createRangeIn'](_0x5b674f)),_0xf9d16c['insert'](_0x101c0a['data']['parse'](_0x5bf3ef,_0x5b674f),_0x5b674f,0x0);}});const _0xe63dc7=y(_0x101c0a['locale'],'Restored');if(_0x4a4763['name'])_0x1764c1=-0x1==_0x4a4763['name']['indexOf'](_0xe63dc7)?_0xe63dc7+':\x20'+_0x4a4763['name']:_0x4a4763['name'];else _0x1764c1=_0xe63dc7+':\x20'+(_0x4a4763['createdAt']['toLocaleDateString'](_0x101c0a['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x4a4763['createdAt']['toLocaleTimeString'](_0x101c0a['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x14a128['saveRevision']({'name':_0x1764c1}),_0x57d8e8['isReady']=!0x0,_0x101c0a['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};