@ckeditor/ckeditor5-revision-history 43.0.0-alpha.4 → 43.0.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/az.js +1 -1
  8. package/dist/translations/az.umd.js +1 -1
  9. package/dist/translations/bg.js +1 -1
  10. package/dist/translations/bg.umd.js +1 -1
  11. package/dist/translations/bn.js +1 -1
  12. package/dist/translations/bn.umd.js +1 -1
  13. package/dist/translations/bs.js +1 -1
  14. package/dist/translations/bs.umd.js +1 -1
  15. package/dist/translations/ca.js +1 -1
  16. package/dist/translations/ca.umd.js +1 -1
  17. package/dist/translations/cs.js +1 -1
  18. package/dist/translations/cs.umd.js +1 -1
  19. package/dist/translations/da.js +1 -1
  20. package/dist/translations/da.umd.js +1 -1
  21. package/dist/translations/de-ch.js +1 -1
  22. package/dist/translations/de-ch.umd.js +1 -1
  23. package/dist/translations/de.js +1 -1
  24. package/dist/translations/de.umd.js +1 -1
  25. package/dist/translations/el.js +1 -1
  26. package/dist/translations/el.umd.js +1 -1
  27. package/dist/translations/en-au.js +1 -1
  28. package/dist/translations/en-au.umd.js +1 -1
  29. package/dist/translations/en-gb.js +1 -1
  30. package/dist/translations/en-gb.umd.js +1 -1
  31. package/dist/translations/en.umd.js +1 -1
  32. package/dist/translations/es-co.js +1 -1
  33. package/dist/translations/es-co.umd.js +1 -1
  34. package/dist/translations/es.js +1 -1
  35. package/dist/translations/es.umd.js +1 -1
  36. package/dist/translations/et.js +1 -1
  37. package/dist/translations/et.umd.js +1 -1
  38. package/dist/translations/fa.js +1 -1
  39. package/dist/translations/fa.umd.js +1 -1
  40. package/dist/translations/fi.js +1 -1
  41. package/dist/translations/fi.umd.js +1 -1
  42. package/dist/translations/fr.js +1 -1
  43. package/dist/translations/fr.umd.js +1 -1
  44. package/dist/translations/gl.js +1 -1
  45. package/dist/translations/gl.umd.js +1 -1
  46. package/dist/translations/he.js +1 -1
  47. package/dist/translations/he.umd.js +1 -1
  48. package/dist/translations/hi.js +1 -1
  49. package/dist/translations/hi.umd.js +1 -1
  50. package/dist/translations/hr.js +1 -1
  51. package/dist/translations/hr.umd.js +1 -1
  52. package/dist/translations/hu.js +1 -1
  53. package/dist/translations/hu.umd.js +1 -1
  54. package/dist/translations/id.js +1 -1
  55. package/dist/translations/id.umd.js +1 -1
  56. package/dist/translations/it.js +1 -1
  57. package/dist/translations/it.umd.js +1 -1
  58. package/dist/translations/ja.js +1 -1
  59. package/dist/translations/ja.umd.js +1 -1
  60. package/dist/translations/jv.js +1 -1
  61. package/dist/translations/jv.umd.js +1 -1
  62. package/dist/translations/ko.js +1 -1
  63. package/dist/translations/ko.umd.js +1 -1
  64. package/dist/translations/ku.js +1 -1
  65. package/dist/translations/ku.umd.js +1 -1
  66. package/dist/translations/lt.js +1 -1
  67. package/dist/translations/lt.umd.js +1 -1
  68. package/dist/translations/lv.js +1 -1
  69. package/dist/translations/lv.umd.js +1 -1
  70. package/dist/translations/ms.js +1 -1
  71. package/dist/translations/ms.umd.js +1 -1
  72. package/dist/translations/ne.js +1 -1
  73. package/dist/translations/ne.umd.js +1 -1
  74. package/dist/translations/nl.js +1 -1
  75. package/dist/translations/nl.umd.js +1 -1
  76. package/dist/translations/no.js +1 -1
  77. package/dist/translations/no.umd.js +1 -1
  78. package/dist/translations/pl.js +1 -1
  79. package/dist/translations/pl.umd.js +1 -1
  80. package/dist/translations/pt-br.js +1 -1
  81. package/dist/translations/pt-br.umd.js +1 -1
  82. package/dist/translations/pt.js +1 -1
  83. package/dist/translations/pt.umd.js +1 -1
  84. package/dist/translations/ro.js +1 -1
  85. package/dist/translations/ro.umd.js +1 -1
  86. package/dist/translations/ru.js +1 -1
  87. package/dist/translations/ru.umd.js +1 -1
  88. package/dist/translations/sk.js +1 -1
  89. package/dist/translations/sk.umd.js +1 -1
  90. package/dist/translations/sr-latn.js +1 -1
  91. package/dist/translations/sr-latn.umd.js +1 -1
  92. package/dist/translations/sr.js +1 -1
  93. package/dist/translations/sr.umd.js +1 -1
  94. package/dist/translations/sv.js +1 -1
  95. package/dist/translations/sv.umd.js +1 -1
  96. package/dist/translations/th.js +1 -1
  97. package/dist/translations/th.umd.js +1 -1
  98. package/dist/translations/ti.js +1 -1
  99. package/dist/translations/ti.umd.js +1 -1
  100. package/dist/translations/tk.js +1 -1
  101. package/dist/translations/tk.umd.js +1 -1
  102. package/dist/translations/tr.js +1 -1
  103. package/dist/translations/tr.umd.js +1 -1
  104. package/dist/translations/tt.js +1 -1
  105. package/dist/translations/tt.umd.js +1 -1
  106. package/dist/translations/ug.js +1 -1
  107. package/dist/translations/ug.umd.js +1 -1
  108. package/dist/translations/uk.js +1 -1
  109. package/dist/translations/uk.umd.js +1 -1
  110. package/dist/translations/ur.js +1 -1
  111. package/dist/translations/ur.umd.js +1 -1
  112. package/dist/translations/vi.js +1 -1
  113. package/dist/translations/vi.umd.js +1 -1
  114. package/dist/translations/zh-cn.js +1 -1
  115. package/dist/translations/zh-cn.umd.js +1 -1
  116. package/dist/translations/zh.js +1 -1
  117. package/dist/translations/zh.umd.js +1 -1
  118. package/package.json +8 -8
  119. package/src/changeitem.js +2 -2
  120. package/src/editor/revisionviewereditor.js +2 -2
  121. package/src/editor/revisionviewereditorui.js +1 -1
  122. package/src/editor/revisionviewereditoruiview.js +1 -1
  123. package/src/index.js +1 -1
  124. package/src/revision.js +2 -2
  125. package/src/revisiondiff.js +1 -1
  126. package/src/revisionhistory.js +1 -1
  127. package/src/revisionsrepository.js +1 -1
  128. package/src/revisiontracker.js +1 -1
  129. package/src/revisionviewer.js +1 -1
  130. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  131. package/src/ui/revision/revisionauthorview.js +1 -1
  132. package/src/ui/revision/revisionnameview.js +1 -1
  133. package/src/ui/revision/revisionview.js +2 -2
  134. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  135. package/src/ui/revision/subrevisionview.js +1 -1
  136. package/src/ui/revision/utils.js +1 -1
  137. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  138. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  139. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  140. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  141. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  142. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  143. package/src/ui/revisionssidebar/utils.js +1 -1
  144. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  145. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  146. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  147. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  148. package/src/utils/common-translations.js +1 -1
package/dist/index.js CHANGED
@@ -20,10 +20,10 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x12f93a,Context as _0x3cd5ef,PendingActions as _0xc14a2d,icons as _0x5541e0,Command as _0x5ce32f,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x4b6924,uid as _0x198eec,Collection as _0x311c03,logWarning as _0x52fa3d,FocusTracker as _0x599e73,KeystrokeHandler as _0x25860a,scrollViewportToShowTarget as _0x404bc,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x5a438c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x36012e,getMarkerDomElement as _0x2a85ab,ConfirmMixin as _0x5ccfd3,sanitizeEditorConfig as _0x2a507b}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x42f1fd,ViewText as _0x4095d9,ViewElement as _0x701643,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x39425f,ViewAttributeElement as _0x1f0dbd,ViewEmptyElement as _0x5546b0,ViewRawElement as _0x5aa417,ViewUIElement as _0x139092,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x2ade0a,set as _0x232db3,unset as _0x462d15,isEqual as _0x207774}from'lodash-es';import{View as _0x42a458,injectCssTransitionDisabler as ts,submitHandler as _0x428b3b,LabeledFieldView as at,createLabeledInputText as _0x49db80,createDropdown as _0xd5be72,ListView as te,ListItemView as _0x48e6bb,ButtonView as _0x5325a2,MenuBarMenuView as _0x420b21,MenuBarMenuListView as _0x25b9f8,MenuBarMenuListItemView as _0x1af06a,MenuBarMenuListItemButtonView as _0x218201,ContextualBalloon as _0x29d25c,ToolbarSeparatorView as _0x377461,IconView as _0x4c3354,addListToDropdown as _0x11a8c7,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 _0x2560e7}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x4b6924(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x3c9aa6){super(),this['id']=_0x3c9aa6['id']||_0x198eec(),this['creator']=_0x3c9aa6['creator']||null,this['authors']=_0x3c9aa6['authors']||[],this['diffData']=_0x3c9aa6['diffData']||null,this['toVersion']=_0x3c9aa6['toVersion']||0x0,this['fromVersion']=_0x3c9aa6['fromVersion']||0x0,this['set']('name',_0x3c9aa6['name']||''),this['set']('createdAt',_0x3c9aa6['createdAt']||new Date()),this['set']('attributes',_0x3c9aa6['attributes']||{});}['setName'](_0x4c2529){this['_update']({'name':_0x4c2529});}['setAttribute'](_0x110116,_0x1aaa04){const _0x2887d4=_0x2ade0a(this['attributes']);_0x232db3(_0x2887d4,_0x110116,_0x1aaa04),this['_update']({'attributes':_0x2887d4});}['removeAttribute'](_0x1a7fd0){const _0x4aa5c5=_0x2ade0a(this['attributes']);_0x462d15(_0x4aa5c5,_0x1a7fd0),this['_update']({'attributes':_0x4aa5c5});}['_update'](_0x13517e,_0x4677e9=!0x1){let _0x14ef10=!0x1;const _0x30e931={'id':this['id']},_0x4ae08f=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x29e1a0 of _0x4ae08f){const _0x14cea3=_0x13517e[_0x29e1a0];void 0x0!==_0x14cea3&&_0x14cea3!==this[_0x29e1a0]&&(this[_0x29e1a0]=_0x14cea3,_0x30e931[_0x29e1a0]=_0x14cea3,_0x14ef10=!0x0);}_0x14ef10&&(_0x30e931['authors']&&(_0x30e931['authorsIds']=_0x30e931['authors']['map'](_0x5db800=>_0x5db800['id']),delete _0x30e931['authors']),this['fire']('_update',_0x30e931,_0x4677e9));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0xca7d26=>_0xca7d26['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x12f93a{['_revisions'];static get['requires'](){return[_0x36012e];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x4b6070){super(_0x4b6070),this['_revisions']=new _0x311c03();}['afterInit'](){!function(_0x3c9e25){function _0x5dd364(_0x3d5b67,_0x16a0cd,_0x232922){const _0xe3fa13={};_0xe3fa13[_0x458429([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0xe3fa13[_0x458429([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],_0xe3fa13[_0x458429([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],_0xe3fa13[_0x458429([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],_0xe3fa13[_0x458429([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],_0xe3fa13[_0x458429([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],_0xe3fa13[_0x458429([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],_0xe3fa13[_0x458429([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],_0xe3fa13[_0x458429([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],_0xe3fa13[_0x458429([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],_0xe3fa13[_0x458429([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 _0x1a394f=new Uint8Array(0x10);for(let _0x58c27a=0xf;_0x58c27a>=0x0;--_0x58c27a)_0x1a394f[_0x58c27a]=_0x232922%0x100,_0x232922=parseInt(_0x232922/0x100);let _0x3dac33=null,_0x52e9bd=0x10;const _0x5059af=new Uint8Array(_0x16a0cd),_0x1d0377=[],_0x4196c2=[];_0x1aca3e();for(let _0x4eba40=0x0;_0x4eba40<_0x3d5b67[_0x458429([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4eba40++)0x10===_0x52e9bd&&(_0x3dac33=_0x56f85f(_0x1a394f),_0x52e9bd=0x0,_0x2cd848(_0x1a394f)),_0x3d5b67[_0x4eba40]^=_0x3dac33[_0x52e9bd++];return _0x3d5b67;function _0x1b4ba9(_0x2cbbec){const _0x4c0d6f=[];for(let _0x576381=0x0;_0x576381<_0x2cbbec[_0x458429([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x576381+=0x4)_0x4c0d6f[_0x458429([0x70,0x75,0x73,0x68])](_0x2cbbec[_0x576381]<<0x18|_0x2cbbec[_0x576381+0x1]<<0x10|_0x2cbbec[_0x576381+0x2]<<0x8|_0x2cbbec[_0x576381+0x3]);return _0x4c0d6f;}function _0x2cd848(_0x5ac3d8){for(let _0x39767c=0xf;_0x39767c>=0x0;_0x39767c--){if(0xff!==_0x5ac3d8[_0x39767c]){_0x5ac3d8[_0x39767c]++;break;}_0x5ac3d8[_0x39767c]=0x0;}}function _0x56f85f(_0x4fe6e2){const _0x5e38d3=_0x1d0377[_0x458429([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x463824=[0x0,0x0,0x0,0x0];let t=_0x1b4ba9(_0x4fe6e2);for(let _0x164aa9=0x0;_0x164aa9<0x4;_0x164aa9++)t[_0x164aa9]^=_0x1d0377[0x0][_0x164aa9];for(let _0x5a8736=0x1;_0x5a8736<_0x5e38d3;_0x5a8736++){for(let _0x1eb973=0x0;_0x1eb973<0x4;_0x1eb973++)_0x463824[_0x1eb973]=_0xe3fa13[_0x458429([0x54,0x31])][t[_0x1eb973]>>0x18&0xff]^_0xe3fa13[_0x458429([0x54,0x32])][t[(_0x1eb973+0x1)%0x4]>>0x10&0xff]^_0xe3fa13[_0x458429([0x54,0x33])][t[(_0x1eb973+0x2)%0x4]>>0x8&0xff]^_0xe3fa13[_0x458429([0x54,0x34])][0xff&t[(_0x1eb973+0x3)%0x4]]^_0x1d0377[_0x5a8736][_0x1eb973];t=_0x463824[_0x458429([0x73,0x6c,0x69,0x63,0x65])]();}const _0x18536b=new Uint8Array(0x10);let _0x2ce5c3;for(let _0x2e918a=0x0;_0x2e918a<0x4;_0x2e918a++)_0x2ce5c3=_0x1d0377[_0x5e38d3][_0x2e918a],_0x18536b[0x4*_0x2e918a]=0xff&(_0xe3fa13[_0x458429([0x53])][t[_0x2e918a]>>0x18&0xff]^_0x2ce5c3>>0x18),_0x18536b[0x4*_0x2e918a+0x1]=0xff&(_0xe3fa13[_0x458429([0x53])][t[(_0x2e918a+0x1)%0x4]>>0x10&0xff]^_0x2ce5c3>>0x10),_0x18536b[0x4*_0x2e918a+0x2]=0xff&(_0xe3fa13[_0x458429([0x53])][t[(_0x2e918a+0x2)%0x4]>>0x8&0xff]^_0x2ce5c3>>0x8),_0x18536b[0x4*_0x2e918a+0x3]=0xff&(_0xe3fa13[_0x458429([0x53])][0xff&t[(_0x2e918a+0x3)%0x4]]^_0x2ce5c3);return _0x18536b;}function _0x1aca3e(){const _0x3e87a7=_0xe3fa13[_0x458429([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x5059af[_0x458429([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x1ffc85=0x0;_0x1ffc85<=_0x3e87a7;_0x1ffc85++)_0x1d0377[_0x458429([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x4196c2[_0x458429([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x1cc27a=0x4*(_0x3e87a7+0x1),_0xb703f3=_0x5059af[_0x458429([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x3e7a5b=_0x1b4ba9(_0x5059af);let _0x5dba00;for(let _0x19a1c9=0x0;_0x19a1c9<_0xb703f3;_0x19a1c9++)_0x5dba00=_0x19a1c9>>0x2,_0x1d0377[_0x5dba00][_0x19a1c9%0x4]=_0x3e7a5b[_0x19a1c9],_0x4196c2[_0x3e87a7-_0x5dba00][_0x19a1c9%0x4]=_0x3e7a5b[_0x19a1c9];let _0x2ee87a,_0xd3bb1=0x0,t=_0xb703f3;for(;t<_0x1cc27a;){_0x2ee87a=_0x3e7a5b[_0xb703f3-0x1],_0x3e7a5b[0x0]^=_0xe3fa13[_0x458429([0x53])][_0x2ee87a>>0x10&0xff]<<0x18^_0xe3fa13[_0x458429([0x53])][_0x2ee87a>>0x8&0xff]<<0x10^_0xe3fa13[_0x458429([0x53])][0xff&_0x2ee87a]<<0x8^_0xe3fa13[_0x458429([0x53])][_0x2ee87a>>0x18&0xff]^_0xe3fa13[_0x458429([0x72,0x63,0x6f,0x6e])][_0xd3bb1]<<0x18,_0xd3bb1+=0x1;for(let _0xfcedb2=0x1;_0xfcedb2<_0xb703f3/0x2;_0xfcedb2++)_0x3e7a5b[_0xfcedb2]^=_0x3e7a5b[_0xfcedb2-0x1];_0x2ee87a=_0x3e7a5b[_0xb703f3/0x2-0x1],_0x3e7a5b[_0xb703f3/0x2]^=_0xe3fa13[_0x458429([0x53])][0xff&_0x2ee87a]^_0xe3fa13[_0x458429([0x53])][_0x2ee87a>>0x8&0xff]<<0x8^_0xe3fa13[_0x458429([0x53])][_0x2ee87a>>0x10&0xff]<<0x10^_0xe3fa13[_0x458429([0x53])][_0x2ee87a>>0x18&0xff]<<0x18;for(let _0x32890a=_0xb703f3/0x2+0x1;_0x32890a<_0xb703f3;_0x32890a++)_0x3e7a5b[_0x32890a]^=_0x3e7a5b[_0x32890a-0x1];let _0x2b6bd6,_0x3e9b45,_0x46853d=0x0;for(;_0x46853d<_0xb703f3&&t<_0x1cc27a;)_0x2b6bd6=t>>0x2,_0x3e9b45=t%0x4,_0x1d0377[_0x2b6bd6][_0x3e9b45]=_0x3e7a5b[_0x46853d],_0x4196c2[_0x3e87a7-_0x2b6bd6][_0x3e9b45]=_0x3e7a5b[_0x46853d++],t++;}for(let _0x5a4634=0x1;_0x5a4634<_0x3e87a7;_0x5a4634++)for(let _0x23f5b7=0x0;_0x23f5b7<0x4;_0x23f5b7++)_0x2ee87a=_0x4196c2[_0x5a4634][_0x23f5b7],_0x4196c2[_0x5a4634][_0x23f5b7]=_0xe3fa13[_0x458429([0x55,0x31])][_0x2ee87a>>0x18&0xff]^_0xe3fa13[_0x458429([0x55,0x32])][_0x2ee87a>>0x10&0xff]^_0xe3fa13[_0x458429([0x55,0x33])][_0x2ee87a>>0x8&0xff]^_0xe3fa13[_0x458429([0x55,0x34])][0xff&_0x2ee87a];}}function _0x458429(_0x261a8c){return _0x261a8c['map'](_0x4718ac=>String['fromCharCode'](_0x4718ac))['join']('');}(_0x30d10c=>{function _0x1b7386(){const _0x72a0b8=[{[_0x458429([0x69,0x64])]:0x1,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x458429([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x458429([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x458429([0x69,0x64])]:0x2,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x458429([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([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]),[_0x458429([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x458429([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x458429([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x458429([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x458429([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x458429([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x458429([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x458429([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x458429([0x69,0x64])]:0x3,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x458429([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x458429([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x458429([0x69,0x64])]:0x4,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([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]),[_0x458429([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x458429([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x458429([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x458429([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x458429([0x69,0x64])]:0x5,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x458429([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x458429([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]),[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x458429([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x458429([0x66,0x67,0x69])]:[0xc]}},{[_0x458429([0x69,0x64])]:0x6,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x458429([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x458429([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x458429([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x458429([0x66,0x67,0x69])]:[0xc]}},{[_0x458429([0x69,0x64])]:0x7,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x458429([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x458429([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x458429([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x458429([0x66,0x67,0x69])]:[0xc]}},{[_0x458429([0x69,0x64])]:0x8,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x458429([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x458429([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]),[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x458429([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x458429([0x66,0x67,0x69])]:[0xc]}},{[_0x458429([0x69,0x64])]:0x9,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x458429([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x458429([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x458429([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x458429([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x458429([0x69,0x64])]:0xa,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([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]),[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x458429([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]),[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x458429([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]),[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x458429([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x458429([0x66,0x67,0x69])]:[0xc]}},{[_0x458429([0x69,0x64])]:0xb,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x458429([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x458429([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x458429([0x69,0x64])]:0xc,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x458429([0x69,0x64])]:0xd,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x458429([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x458429([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x458429([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x458429([0x66,0x67,0x69])]:[0xc]}},{[_0x458429([0x69,0x64])]:0xe,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x458429([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([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])},{[_0x458429([0x69,0x64])]:0xf,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x458429([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x458429([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x458429([0x69,0x64])]:0x10,[_0x458429([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x458429([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x458429([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x458429([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x458429([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x458429([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x458429([0x66,0x67,0x69])]:[0xc]}}];return _0x30921b(_0x72a0b8),_0x72a0b8;function _0xe77f5f(_0x1f8179){return 0x1<<_0x1f8179-0x1;}function _0x30921b(_0xaaca59){_0xaaca59[_0x458429([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x54f2a8=>{_0x54f2a8[_0x458429([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0xe77f5f(_0x54f2a8[_0x458429([0x69,0x64])]),_0x1f85a3(_0x54f2a8)&&_0x54f2a8[_0x458429([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x30921b(_0x54f2a8[_0x458429([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x1f85a3(_0x2c7478){return _0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x2c7478;}const _0x5e5736=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x22ae7e=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x58084d(_0x15174c){const _0x554364=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x7510f2(_0x15174c,new Uint8Array([..._0x5e5736,..._0x554364,..._0x22ae7e]));}function _0x7510f2(_0x2ebae1,_0xdbbff7){const _0x470298=_0x36cdb8(_0x2ebae1),_0x4941fd=Array[_0x458429([0x66,0x72,0x6f,0x6d])](_0x1261c7(_0x470298)),_0x5c5838=_0x4941fd[_0x458429([0x70,0x6f,0x70])](),_0x28fb72=_0x4941fd[_0x458429([0x70,0x6f,0x70])]();return _0xd1c493(_0x5dd364(_0x4941fd,_0xdbbff7,_0x28fb72+0x100*_0x5c5838));}function _0x36cdb8(_0x2eeb16){const _0xdaea46=atob(_0x2eeb16),[_0x37e2fb,_0x5987bc]=_0xdaea46[_0x458429([0x73,0x70,0x6c,0x69,0x74])](_0x458429([0x2d]));try{if(atob(_0x5987bc))return atob(_0x37e2fb);}catch(_0x23e7b0){}return _0xdaea46;}function _0x311f25(_0x1531c7){try{const _0x3bee70=_0x58084d(_0x1531c7),_0x484391=JSON[_0x458429([0x70,0x61,0x72,0x73,0x65])](_0x3bee70),_0x1b843f=parseInt(_0x484391[_0x458429([0x31])]),_0x3617c8=_0x484391[_0x458429([0x32])]||'',_0x641b74=parseInt(_0x484391[_0x458429([0x33])]),_0x37b639=parseInt(_0x484391[_0x458429([0x34])])||0x0,_0x1987fc=parseInt(_0x484391[_0x458429([0x35])])||0x0;return{[_0x458429([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x3617c8,[_0x458429([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x37b639,[_0x458429([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x1b843f,[_0x458429([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x641b74,[_0x458429([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x1987fc};}catch(_0x2539b5){return null;}}const _0x4297a8=_0x1b7386(),_0x4c4d24={[_0x458429([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x2f00c3,[_0x458429([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])]:_0x2631c1,[_0x458429([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])]:_0x27fae9},_0x399736=_0x30d10c[_0x458429([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x24615c=_0x458429([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x30d10c?_0x30d10c['context']:_0x30d10c['editor'],_0x18788b=_0x458429([0x34,0x30,0x34,0x38,0x31,0x36,0x31,0x30]),_0x321b0e=_0x458429([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]),_0x35236a=_0x24615c['config']['get'](_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x5a79fc=_0x4297a8[_0x458429([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f85a3)[_0x458429([0x66,0x69,0x6e,0x64])](_0x35acdb=>_0x35acdb[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x399736);function _0x5eea46(_0x119e07,_0x983a60){_0x4c4d24[_0x983a60[_0x458429([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x119e07,_0x983a60),_0x983a60[_0x458429([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x983a60[_0x458429([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x458429([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x21ea4c=>_0x1ace5a(_0x24615c,_0x21ea4c[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x458429([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x565e18=>_0x5eea46(_0x119e07,_0x565e18));}function _0x2f00c3(_0x5f3b18,_0x3b3ff4){_0x458e77(_0x337eec(_0x5f3b18,_0x3b3ff4),_0x3b3ff4);}function _0x2631c1(_0xc1c6f1,_0x3de13a){function _0x3d8090(_0x224490,_0xf50ed9){try{if(_0x1ace5a(_0x24615c,_0x458429([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x224490){const _0x5d25bc=_0x1807c2(_0x24615c,_0x458429([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x458429([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x5d25bc)/0x2>_0x224490[_0x458429([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x1b855b(_0xf50ed9[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x337eec(_0x224490,_0xf50ed9);}catch(_0x1fd4c1){return _0x1b855b(_0xf50ed9[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x458e77(_0x3d8090(_0xc1c6f1,_0x3de13a),_0x3de13a);}function _0x27fae9(_0xe21532,_0x47cbc5){const _0x9f0a7c=_0x22ae7e[0x0]*_0x5e5736[0x1],_0x35af5e=_0x22ae7e[0x0]*_0x5e5736[0x2],_0x22e015=_0x22ae7e[0x2]*_0x5e5736[0x2];_0x1ace5a(_0x24615c,_0x458429([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1807c2(_0x24615c,_0x458429([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x458429([0x73,0x74,0x61,0x74,0x65])]==_0x458429([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x583628()]=_0x22e015);function _0x3175c2(_0x29e552,_0x5176f6){try{return _0x4e7b5f()?_0x1b855b(_0x5176f6[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x56,0x61,0x6c,0x69,0x64])):_0x337eec(_0x29e552,_0x5176f6);}catch(_0x5e6973){return _0x1b855b(_0x5176f6[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x16d6d2(_0xd718f8,_0x4b1849){const _0x55d777=0x7;if(_0xd718f8==_0x4b1849[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x3c812c();else{if(_0xd718f8==_0x4b1849[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x54,0x72,0x69,0x61,0x6c])){const _0x43d4f7=_0x3d57dd();_0x43d4f7&&_0x25ccf2(_0x43d4f7,_0x4b1849[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x5481b1=_0x5734f1();window[_0x458429([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x25ccf2(_0x458429([0x74,0x69,0x6d,0x65]),_0x4b1849[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x5481b1);const _0x1cf63d=_0x1807c2(_0x24615c,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x458429([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x1cf63d[_0x458429([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x55d777?_0x25ccf2(_0x458429([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4b1849[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x1cf63d['on'](_0x458429([0x61,0x64,0x64]),()=>{_0x1cf63d[_0x458429([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x55d777&&_0x25ccf2(_0x458429([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4b1849[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x3d57dd(){if(!_0x1ace5a(_0x24615c,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x2dca8c in window)if(Number['isNaN'](Number(_0x2dca8c))){if(window[_0x2dca8c]===_0x9f0a7c)return _0x458429([0x74,0x69,0x6d,0x65]);if(window[_0x2dca8c]===_0x35af5e)return _0x458429([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x4e7b5f(){if(!_0x1ace5a(_0x24615c,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x5b4777 in window)if(Number['isNaN'](Number(_0x5b4777))&&window[_0x5b4777]===_0x22e015)return!0x0;return!0x1;}function _0x25ccf2(_0x2c9f5a,_0x6a6f30){_0x3c812c(),_0x1b855b(_0x6a6f30+_0x458429([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x2c9f5a),window[_0x583628()]=_0x2c9f5a===_0x458429([0x74,0x69,0x6d,0x65])?_0x9f0a7c:_0x35af5e;}function _0x5734f1(){let _0x2e5fd5=_0x22ae7e[0x6]*_0x5e5736[0x8]*_0x5e5736[0x6];return _0x1ace5a(_0x24615c,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x2e5fd5/=0xa),_0x2e5fd5;}function _0x3c812c(){const _0x344b14=_0x24615c;function _0x9843a4(){_0x1ace5a(_0x344b14,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x1807c2(_0x344b14,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x458429([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x458429([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1807c2(_0x344b14,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x458429([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1807c2(_0x344b14,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x458429([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x4056bb,_0x1807c2(_0x344b14,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x458429([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x4056bb,_0x344b14[_0x458429([0x6d,0x6f,0x64,0x65,0x6c])][_0x458429([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4056bb,_0x344b14[_0x458429([0x6d,0x6f,0x64,0x65,0x6c])][_0x458429([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4056bb,_0x344b14[_0x458429([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x458429([0x6d,0x6f,0x64,0x65,0x6c]))),_0x1ace5a(_0x344b14,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1807c2(_0x344b14,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x458429([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x458429([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1807c2(_0x344b14,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x458429([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1807c2(_0x344b14,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x458429([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x4056bb,_0x1807c2(_0x344b14,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x458429([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x4056bb);}_0x344b14[_0x458429([0x73,0x74,0x61,0x74,0x65])]==_0x458429([0x72,0x65,0x61,0x64,0x79])?_0x9843a4():_0x344b14[_0x458429([0x6f,0x6e,0x63,0x65])](_0x458429([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x1ace5a(_0x344b14,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x9843a4(),_0x1ace5a(_0x344b14,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x26ee5c=_0x1807c2(_0x344b14,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x442c81=_0x26ee5c['getRevision'](0x0),_0x1217e0=_0x26ee5c['getEarlierVisibleRevision'](_0x442c81[_0x458429([0x69,0x64])]);_0x1807c2(_0x344b14,_0x458429([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x458429([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x442c81[_0x458429([0x69,0x64])],_0x1217e0?_0x1217e0[_0x458429([0x69,0x64])]:null,0x1)['then'](()=>_0x9843a4());}});}_0x16d6d2(_0x3175c2(_0xe21532,_0x47cbc5),_0x47cbc5);}function _0x337eec(_0x332190,_0x2a41d8){try{return _0x2c1e3d(_0x2a41d8)?_0x1b855b(_0x2a41d8[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x56,0x61,0x6c,0x69,0x64])):_0x332190&&_0x846fe2(_0x332190[_0x458429([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x2a41d8)?_0x332190[_0x458429([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x458429([0x6f,0x70,0x65,0x6e])][_0x458429([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x18788b)/0x2>_0x332190[_0x458429([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x1b855b(_0x2a41d8[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x332190[_0x458429([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x1b855b(_0x2a41d8[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x54,0x72,0x69,0x61,0x6c])):_0x1b855b(_0x2a41d8[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x56,0x61,0x6c,0x69,0x64])):_0x1b855b(_0x2a41d8[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x4ccef5){return _0x1b855b(_0x2a41d8[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x458e77(_0x4c2299,_0x4e9db0){if(_0x24615c instanceof _0x3cd5ef){const _0x4b32a6=_0x24615c;_0x4c2299==_0x4e9db0[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x40c353(_0x4b32a6):_0x4c2299==_0x4e9db0[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x54,0x72,0x69,0x61,0x6c])&&window[_0x458429([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x40c353(_0x4b32a6),_0x1b855b(_0x4e9db0[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x22ae7e[0x6]*_0x5e5736[0x8]*_0x5e5736[0x6]),_0x4b32a6[_0x458429([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x458429([0x6f,0x6e])](_0x458429([0x61,0x64,0x64]),(_0x558b23,_0xc6e84b)=>{_0x4c2299!=_0x4e9db0[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x4c2299!=_0x4e9db0[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x4c2299!=_0x4e9db0[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x2531df(_0xc6e84b);});}else{const _0x5aba18=_0x24615c;_0x4c2299==_0x4e9db0[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2531df(_0x5aba18):_0x4c2299==_0x4e9db0[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x54,0x72,0x69,0x61,0x6c])&&_0x5aba18[_0x458429([0x6f,0x6e])](_0x458429([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x4a6335=0x0;_0x5aba18[_0x458429([0x6d,0x6f,0x64,0x65,0x6c])][_0x458429([0x6f,0x6e])](_0x458429([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1ba68a,_0x2fdf3d)=>{_0x2fdf3d[0x0][_0x458429([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4a6335++,0x1f8===_0x4a6335&&(_0x2531df(_0x5aba18),_0x1b855b(_0x4e9db0[_0x458429([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x458429([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x1ba68a[_0x458429([0x6f,0x66,0x66])]());},{'priority':_0x458429([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x1b855b(_0xe98fb2){const _0x9799b9=_0x583628();return _0x24615c[_0x9799b9]=_0xe98fb2,_0xe98fb2;}function _0x583628(){const _0x2967d9=String(window[_0x458429([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x458429([0x6e,0x6f,0x77])]())[_0x458429([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x458429([0x2e]),'');let _0x30cc0e='';for(let _0x3501fa=0x0;_0x3501fa<_0x2967d9[_0x458429([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3501fa+=0x2){let _0x165a94=parseInt(_0x2967d9[_0x458429([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3501fa,_0x3501fa+0x2));_0x165a94>=_0x321b0e[_0x458429([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x165a94-=_0x321b0e[_0x458429([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x30cc0e+=_0x321b0e[_0x165a94];}return _0x30cc0e;}function _0x40c353(_0x477bd7){for(const _0x1be6a1 of _0x477bd7[_0x458429([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x2531df(_0x1be6a1);_0x1807c2(_0x477bd7,_0x458429([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x458429([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x1807c2(_0x477bd7,_0x458429([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x458429([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x4056bb;}function _0x2531df(_0x37a79a){function _0x229a4f(){_0x37a79a[_0x458429([0x6d,0x6f,0x64,0x65,0x6c])][_0x458429([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4056bb,_0x37a79a[_0x458429([0x6d,0x6f,0x64,0x65,0x6c])][_0x458429([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4056bb,_0x37a79a[_0x458429([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x458429([0x6d,0x6f,0x64,0x65,0x6c]));}_0x37a79a[_0x458429([0x73,0x74,0x61,0x74,0x65])]==_0x458429([0x72,0x65,0x61,0x64,0x79])?_0x229a4f():_0x37a79a[_0x458429([0x6f,0x6e,0x63,0x65])](_0x458429([0x72,0x65,0x61,0x64,0x79]),()=>_0x229a4f());}function _0x4056bb(){return null;}function _0x846fe2(_0xf42311,_0x188976){const _0x2b3b1a=!!(_0xf42311&_0x188976[_0x458429([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x3cab93=_0x4874b4(_0xf42311,_0x188976);return _0x2b3b1a||_0x3cab93;}function _0x4874b4(_0x4f475a,_0x30ebdb){const _0x513be2=(_0x30ebdb[_0x458429([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x458429([0x66,0x67,0x69])]||null;return!!_0x513be2&&_0x4297a8[_0x458429([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x430e3c=>_0x513be2[_0x458429([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x430e3c[_0x458429([0x69,0x64])]))[_0x458429([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x413073=>!_0x35b681(_0x413073))[_0x458429([0x73,0x6f,0x6d,0x65])](_0x32ef9d=>!!(_0x4f475a&_0x32ef9d[_0x458429([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x35b681(_0x342b9e){const _0x2c7683={[_0x458429([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])]:_0x9ae9df};return!!_0x342b9e['forbiddenHandler']&&_0x2c7683[_0x342b9e['forbiddenHandler']]();}function _0x9ae9df(){return!window[_0x458429([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x1ace5a(_0x24615c,_0x458429([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x2c1e3d(_0x5eeea0){if(!_0x1ace5a(_0x24615c,_0x5eeea0[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x156e1a=_0x5eeea0[_0x458429([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x592065=_0x156e1a[_0x458429([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x4a0b3b=_0x156e1a[_0x458429([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x5dd3f8=_0x156e1a[_0x458429([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x1ace5a(_0x24615c,_0x458429([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1807c2(_0x24615c,_0x458429([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x458429([0x73,0x74,0x61,0x74,0x65])]==_0x458429([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x592065)return!0x0;if(_0x1ace5a(_0x24615c,_0x458429([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x1807c2(_0x24615c,_0x458429([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x458429([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x458429([0x65,0x6e,0x64])&&_0x4a0b3b)return!0x0;return!(!_0x1ace5a(_0x24615c,_0x458429([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]))||_0x1807c2(_0x24615c,_0x458429([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]))[_0x458429([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x458429([0x65,0x6e,0x64])||!_0x5dd3f8);}function _0x1ace5a(_0x88867,_0xd49354){return _0x88867[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x458429([0x68,0x61,0x73])](_0xd49354);}function _0x1807c2(_0x5b11f3,_0x1a0b44){return _0x5b11f3[_0x458429([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x458429([0x67,0x65,0x74])](_0x1a0b44);}function _0xd1c493(_0x309c72){let _0x4774ab='';for(const _0x14e3c8 of _0x309c72)_0x4774ab+=String[_0x458429([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x14e3c8);return _0x4774ab;}function _0x1261c7(_0x6f0360){const _0x5435f7=new Uint8Array(_0x6f0360[_0x458429([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0xccd730=0x0;_0xccd730<_0x6f0360[_0x458429([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xccd730++)_0x5435f7[_0xccd730]=_0x6f0360[_0x458429([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xccd730);return _0x5435f7;}_0x5a79fc&&_0x5eea46(_0x311f25(_0x35236a),_0x5a79fc);})(_0x3c9e25);}(this);}['createRevision'](_0x5b8fad){const _0x1818ef=this['editor']['plugins']['get']('Users');return new a({'id':_0x5b8fad['id'],'name':_0x5b8fad['name'],'creator':_0x5b8fad['creatorId']?_0x1818ef['getUser'](_0x5b8fad['creatorId']):null,'diffData':_0x5b8fad['diffData']||_0x5b8fad['data'],'authors':_0x5b8fad['authorsIds']['map'](_0x57660b=>_0x1818ef['getUser'](_0x57660b)),'createdAt':new Date(_0x5b8fad['createdAt']),'attributes':_0x5b8fad['attributes'],'fromVersion':_0x5b8fad['fromVersion'],'toVersion':_0x5b8fad['toVersion']});}['addRevision'](_0x7830d4,_0x2d6901=0x0){this['_revisions']['add'](_0x7830d4,_0x2d6901);}['getRevision'](_0x2c5233){return this['_revisions']['get'](_0x2c5233);}['getRevisions'](_0x48d2cc={'toJSON':!0x1}){const _0x4d0a1f=Array['from'](this['_revisions']);return _0x4d0a1f['reverse'](),_0x48d2cc['toJSON']?_0x4d0a1f['map'](_0x182ae0=>_0x182ae0['toJSON']()):_0x4d0a1f;}['getIndex'](_0xd156ec){return this['_revisions']['getIndex'](_0xd156ec);}['getEarlierVisibleRevision'](_0x47f3d1){const [,_0x5cfd9b]=this['getRevisionsIterator'](_0x47f3d1,{'direction':'earlier'});return _0x5cfd9b;}['getLaterVisibleRevision'](_0x46372f){const [,_0x6ace79]=this['getRevisionsIterator'](_0x46372f,{'direction':'later'});return _0x6ace79;}['getRevisionsInDiff'](_0x2aef30){const _0x5e10c9=[];for(const _0x2d6774 of this['getRevisionsIterator'](_0x2aef30['newRevisionId']))if(_0x5e10c9['push'](_0x2d6774),_0x2d6774['id']===_0x2aef30['oldRevisionId'])break;return _0x5e10c9;}*['getRevisionsIterator'](_0x3e753a,{direction:_0x4664f6='earlier',filter:_0xe2a8a1=_0x5035a3=>!0x0}={}){const _0xf77c14='earlier'===_0x4664f6?0x1:-0x1;let _0x17a45c=this['_revisions']['get'](_0x3e753a),_0x2e0ca1=this['getIndex'](_0x17a45c);for(yield _0x17a45c;_0x17a45c;){if(_0x2e0ca1+=_0xf77c14,_0x17a45c=this['getRevision'](_0x2e0ca1),!_0x17a45c)return;_0xe2a8a1(_0x17a45c)&&(yield _0x17a45c);}}}function y(_0x200b7b,_0x326dbe,_0x333f28){const t=_0x200b7b['t'];switch(_0x326dbe){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'},_0x333f28);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x333f28);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x39425f,'a':_0x1f0dbd,'e':_0x5546b0,'r':_0x5aa417,'u':_0x139092};class l extends _0x12f93a{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x36012e,A,_0xc14a2d];}constructor(_0x53d8a1){super(_0x53d8a1),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 _0x235351=_0x198eec();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x235351},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 _0x5eccf0=this['repository']['getRevision'](0x0),_0x4c99fb=_0x5eccf0&&null===_0x5eccf0['creator']?_0x5eccf0:null;if(this['_continueCurrentRevision']=!!_0x4c99fb&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x52c8aa=this['_source']['getCurrentRevisionId'](),_0x5cb464=this['repository']['getRevision'](_0x52c8aa);if(_0x5cb464)this['_startingVersion']=_0x5cb464['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x5dcaad=this['_source']['history']['_operations']['find'](_0x250550=>!_0x250550['_isInit']),_0x45d2a5=_0x5dcaad?_0x5dcaad['baseVersion']:this['_source']['history']['version'];_0x5eccf0?(_0x5eccf0['toVersion']<_0x45d2a5&&_0x5eccf0['_update']({'toVersion':_0x45d2a5}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x4c99fb['id'],this['_startingVersion']=_0x4c99fb['fromVersion']):(this['_startingVersion']=_0x5eccf0['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x45d2a5,this['_continueCurrentRevision']=!0x1);}}else _0x4c99fb&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x4c99fb['toVersion'],this['editor']['model']['document']['history']['version']),_0x4c99fb['fromVersion']===_0x4c99fb['toVersion']?(0x0!==_0x4c99fb['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x4c99fb['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x4c99fb['id'],this['_startingVersion']=_0x4c99fb['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',_0x2de1bb=>!_0x2de1bb);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x382871=this['repository']['getRevision'](0x0),_0x2c93aa=await this['getRevisionDocumentData'](_0x382871),_0x56a2e0=await this['getRevisionRootsAttributes'](_0x382871);this['_replaceEditorDataWithRevisionData'](_0x2c93aa,_0x56a2e0);}}['setSource'](_0x4f3f64){this['_source']=_0x4f3f64;}async['update'](){const _0x215bac=await this['_source']['getLatestVersion']();if(_0x215bac>this['currentRevision']['toVersion']){await this['_loadState']();const _0x10dd3c=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x215bac});_0x10dd3c['authors']=_0x10dd3c['authorsIds']['map'](_0x45c0ce=>this['editor']['plugins']['get']('Users')['getUser'](_0x45c0ce)),this['currentRevision']['_update'](_0x10dd3c);}}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'](_0x4d6239={},_0x2c1cba=null){const _0x4b9cbd=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x2c1cba>this['currentRevision']['toVersion']&&(_0x2c1cba=null),null===_0x2c1cba&&(_0x2c1cba=await this['_source']['getLatestVersion']());const _0x33c17b=this['_getFromVersion'](_0x2c1cba),_0x23553a=this['buildRevisionData']({'from':_0x33c17b,'to':_0x2c1cba});if(this['currentRevision']['toVersion']<_0x2c1cba){const _0x1d01d1=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x2c1cba,'to':_0x2c1cba});_0x1d01d1['authors']=[],_0x1d01d1['authorsIds']=[],_0x1d01d1['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x1d01d1,!0x0),delete _0x1d01d1['authors'],_0x4b9cbd['push'](_0x1d01d1);}_0x4d6239['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x4d6239['name']=_0x4d6239['name']||null,_0x4d6239['id']=_0x4d6239['id']||_0x198eec(),_0x4d6239={..._0x4d6239,..._0x23553a};const _0x31acb2=this['addRevisionData'](_0x4d6239);_0x4b9cbd['push'](_0x4d6239);const _0x10dcba=this['repository']['getIndex'](_0x31acb2);if(0x0!==_0x10dcba){const _0xc942d6=this['repository']['getRevision'](_0x10dcba-0x1);if(_0xc942d6['fromVersion']!==_0x2c1cba){const _0x54739b=this['_revisionDataBuilder']['getData'](_0x2c1cba,_0xc942d6['toVersion']),_0x39d2e9={'id':_0xc942d6['id'],'diffData':_0x54739b['diffData'],'authorsIds':_0x54739b['authorsIds'],'authors':_0x54739b['authorsIds']['map'](_0x110070=>this['editor']['plugins']['get']('Users')['getUser'](_0x110070)),'fromVersion':_0x2c1cba};_0xc942d6===this['currentRevision']&&(_0x39d2e9['createdAt']=new Date(_0x4d6239['createdAt']['getTime']()+0xa)),_0xc942d6['_update'](_0x39d2e9,!0x0),delete _0x39d2e9['authors'],_0x4b9cbd['push'](_0x39d2e9);}}if(this['adapter']){for(const _0x29d6b6 of _0x4b9cbd)this['_bufferUpdate'](_0x29d6b6['id'],_0x29d6b6,!0x0);this['sendBufferedUpdates']();}return _0x31acb2;}['addRevisionData'](_0x10aa15){const _0xb471a7=this['repository']['createRevision'](_0x10aa15);return this['adapter']&&_0xb471a7['on']('_update',(_0x3a6e33,_0x38e3f3,_0x1c2f1f)=>{_0x1c2f1f||(this['_bufferUpdate'](_0x38e3f3['id'],_0x38e3f3,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0xb471a7,this['_findInsertionIndex'](_0xb471a7)),_0xb471a7;}async['getRevisionDocumentData'](_0x2f8dd9){await this['_loadRevisionData'](_0x2f8dd9);const _0x2d4946={};for(const _0x48a5f6 in _0x2f8dd9['diffData']){if(_0x2f8dd9['diffData'][_0x48a5f6]['attachChange']&&!_0x2f8dd9['diffData'][_0x48a5f6]['attachChange']['isAttached'])continue;const _0x4ec25b=this['_removeRevisionMarkers'](JSON['parse'](_0x2f8dd9['diffData'][_0x48a5f6]['insertions'])),_0x23515f=this['editor']['editing']['view']['document'],_0x1ff4d1=new _0x42f1fd(_0x23515f,_0x4ec25b['map'](_0x4198fa=>B(_0x4198fa,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x2d4946[_0x48a5f6]=this['editor']['data']['processor']['toData'](_0x1ff4d1),this['editor']['data']['processor']['useFillerType']('default');}return _0x2d4946;}async['getRevisionRootsAttributes'](_0x1d4559){await this['_loadRevisionData'](_0x1d4559);const _0x4ed6a7={};for(const _0x27d0b5 in _0x1d4559['diffData'])_0x1d4559['diffData'][_0x27d0b5]['attachChange']&&!_0x1d4559['diffData'][_0x27d0b5]['attachChange']['isAttached']||(_0x4ed6a7[_0x27d0b5]=_0x1d4559['diffData'][_0x27d0b5]['attributesAfter']||{});return _0x4ed6a7;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x1f3fcf=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x43dcdc=0x0;_0x43dcdc<_0x1f3fcf['length'];_0x43dcdc++){const _0x34af7e=_0x1f3fcf[_0x43dcdc];let _0x3b713b=!0x1;for(const _0x2acd39 of Object['keys'](_0x34af7e))void 0x0===_0x34af7e[_0x2acd39]?delete _0x34af7e[_0x2acd39]:'id'!==_0x2acd39&&(_0x3b713b=!0x0);_0x3b713b||(_0x1f3fcf[_0x43dcdc]=null);}if(_0x1f3fcf=_0x1f3fcf['filter'](_0x43af8f=>null!==_0x43af8f),!_0x1f3fcf['length'])return;for(let _0x334bdf=0x0;_0x334bdf<_0x1f3fcf['length'];_0x334bdf++){const _0x35f5bc=_0x1f3fcf[_0x334bdf];void 0x0!==_0x35f5bc['fromVersion']&&void 0x0===_0x35f5bc['toVersion']&&(_0x35f5bc['toVersion']=this['repository']['getRevision'](_0x35f5bc['id'])['toVersion']),void 0x0!==_0x35f5bc['toVersion']&&void 0x0===_0x35f5bc['fromVersion']&&(_0x35f5bc['fromVersion']=this['repository']['getRevision'](_0x35f5bc['id'])['fromVersion']);}const _0x91045c=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x1f3fcf,_0x91045c)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x3be0e4=>{if(_0x3be0e4){for(const _0x3ca45e of _0x3be0e4)this['setRevisionData']({'id':_0x3ca45e['id'],'createdAt':_0x3ca45e['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x5bd9c6,_0x4dece9){let _0x22fbdb=this['editor']['config']['get']('initialData'),_0x4c25b3=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x22fbdb){_0x22fbdb={};for(const _0x4f461c of this['editor']['model']['document']['getRootNames']())_0x22fbdb[_0x4f461c]='';}if('string'==typeof _0x22fbdb&&(_0x22fbdb={'main':_0x22fbdb}),void 0x0===_0x4c25b3){_0x4c25b3={};for(const _0x435e5b of this['editor']['model']['document']['getRootNames']())_0x4c25b3[_0x435e5b]={};}let _0x3dba67=!0x1;const _0x6998e2=Object['keys'](_0x22fbdb),_0x35806a=Object['keys'](_0x5bd9c6);for(const _0x36b47d of _0x6998e2){if(_0x22fbdb[_0x36b47d]!==_0x5bd9c6[_0x36b47d]&&''!==_0x22fbdb[_0x36b47d]['trim']()){_0x3dba67=!0x0;break;}if(!_0x207774(_0x4c25b3[_0x36b47d],_0x4dece9[_0x36b47d])&&Object['keys'](_0x4c25b3[_0x36b47d])['length']>0x0){_0x3dba67=!0x0;break;}}_0x3dba67||(_0x3dba67=_0x35806a['some'](_0x41da6b=>!this['editor']['model']['document']['getRoot'](_0x41da6b))),_0x3dba67&&_0x52fa3d('editor-initial-data-replaced-with-revision-data',{'editorData':_0x22fbdb,'editorRootsAttributes':_0x4c25b3,'revisionData':_0x5bd9c6,'revisionRootsAttributes':_0x4dece9}),this['editor']['config']['set']('initialData',_0x5bd9c6),this['editor']['config']['set']('rootsAttributes',_0x4dece9);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x3e4802=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x3e4802['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x481b3c){const _0x59130a=this['repository']['getRevisions']();_0x59130a['reverse']();let _0x5be6c5=0x0;for(;_0x5be6c5<_0x59130a['length'];){const _0xf77e68=_0x59130a[_0x5be6c5];if(_0xf77e68===this['currentRevision']){_0x5be6c5++;continue;}if(_0xf77e68['id']===this['_initialRevisionId'])break;const _0x383317=_0x481b3c['toVersion']-_0xf77e68['toVersion']||_0x481b3c['fromVersion']-_0xf77e68['fromVersion'];if(_0x383317>0x0)break;if(_0x383317<0x0)_0x5be6c5++;else{if(!_0x481b3c['creator']&&_0xf77e68['creator'])break;if(_0xf77e68['creator']||!_0x481b3c['creator']){if(_0x481b3c['createdAt']>_0xf77e68['createdAt'])break;_0x5be6c5++;}else _0x5be6c5++;}}return _0x5be6c5;}['setRevisionData'](_0x3f3387){const _0x5a40b2=this['repository']['getRevision'](_0x3f3387['id']);if(_0x3f3387['createdAt']&&(_0x3f3387['createdAt']=new Date(_0x3f3387['createdAt'])),_0x3f3387['authorsIds']){const _0x3459ba=this['editor']['plugins']['get']('Users');_0x3f3387['authors']=_0x3f3387['authorsIds']['map'](_0x4e6175=>_0x3459ba['getUser'](_0x4e6175));}_0x5a40b2['_update'](_0x3f3387,!0x0);}['buildRevisionData']({revision:_0x5b243c=null,from:_0x19be73=null,to:_0x2514a3=null}){_0x19be73=null!==_0x19be73?_0x19be73:_0x5b243c['fromVersion'],_0x2514a3=null!==_0x2514a3?_0x2514a3:_0x5b243c['toVersion'];const _0x397d52=this['_revisionDataBuilder']['getData'](_0x19be73,_0x2514a3),_0x64437a={'diffData':_0x397d52['diffData'],'authorsIds':_0x397d52['authorsIds'],'fromVersion':_0x19be73,'toVersion':_0x2514a3};if(!_0x5b243c||_0x2514a3!==_0x5b243c['toVersion']){const _0x4c7e14=_0x2514a3-0x1,_0x10c4f1=this['_source']['history']['getOperation'](_0x4c7e14);_0x64437a['createdAt']=_0x10c4f1&&_0x10c4f1['createdAt']||new Date();}if(this['_loadedStateData']&&_0x19be73===this['_loadedStateData']['fromVersion']){for(const _0x47c814 of this['_loadedStateData']['authors'])_0x64437a['authorsIds']['includes'](_0x47c814['id'])||_0x64437a['authorsIds']['push'](_0x47c814['id']);}return _0x64437a;}['_loadRevisionData'](_0x13be2b){if(!_0x13be2b||_0x13be2b['diffData'])return Promise['resolve']();{const _0x42a1a4=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x42a1a4,'revisionId':_0x13be2b['id']})['then'](_0x19088b=>{_0x13be2b['diffData']=_0x19088b['diffData'];});}}['_bufferUpdate'](_0x13ed69,_0x387fb6,_0x5f01a4){if(this['_bufferedUpdates']['has'](_0x13ed69)){const _0x3bce0b=this['_bufferedUpdates']['get'](_0x13ed69);_0x387fb6=_0x5f01a4?{..._0x3bce0b,..._0x387fb6}:{..._0x387fb6,..._0x3bce0b};}this['_bufferedUpdates']['set'](_0x13ed69,_0x387fb6);}['_getFromVersion'](_0x21c92b){const _0x1a737d=this['repository']['getRevisions']();_0x1a737d['reverse'](),_0x1a737d['shift']();const _0x255264=_0x1a737d['find'](_0x333033=>_0x333033['toVersion']<=_0x21c92b)['toVersion'];return _0x255264<this['_startingVersion']?this['_startingVersion']:_0x255264;}['_createInitialRevision'](_0x5996c9){const _0x57fd44=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x57fd44)this['_initialRevisionId']=_0x57fd44['id'];else{const _0x4fad46=!this['editor']['model']['document']['roots']['find'](_0x4301f2=>this['editor']['model']['hasContent'](_0x4301f2)),_0x1e6f7b=this['editor']['plugins']['get']('Users')['me']['id'],_0x376893=y(this['editor']['locale'],_0x4fad46?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x5996c9,'to':_0x5996c9,'id':this['_initialRevisionId'],'name':_0x376893,'creatorId':_0x1e6f7b});}}['_createCurrentRevision'](_0x3b146b){const _0x61a8ee=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x61a8ee),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x3b146b,'to':_0x3b146b,'id':_0x61a8ee,'name':'','creatorId':null}));}['_makeRevision']({name:_0x49d8ce,from:_0x482d92,to:_0x3a2b00,creatorId:_0x24d35d,id:_0x14708a}){const _0x46ebac=this['buildRevisionData']({'from':_0x482d92,'to':_0x3a2b00});_0x46ebac['name']=_0x49d8ce,_0x46ebac['creatorId']=_0x24d35d,_0x46ebac['id']=_0x14708a;const _0x11a910=this['addRevisionData'](_0x46ebac);return this['adapter']&&this['_bufferUpdate'](_0x46ebac['id'],_0x46ebac,!0x0),_0x11a910;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x170fa9){return(_0x170fa9=_0x170fa9['filter'](_0x181633=>!_0x181633['name']||'revision-start'!==_0x181633['name']&&'revision-end'!==_0x181633['name']))['forEach'](_0xc92aba=>{'string'!=typeof _0xc92aba&&(_0xc92aba['children']=this['_removeRevisionMarkers'](_0xc92aba['children']),_0xc92aba['attributes']=_0xc92aba['attributes']['filter'](_0x50eb92=>!_0x50eb92[0x0]['startsWith']('data-revision-')));}),_0x170fa9;}}function B(_0x3db1ee,_0x216b7c){const _0x3ad3b3=_0x216b7c['editing']['view']['document'];if('string'==typeof _0x3db1ee)return new _0x4095d9(_0x3ad3b3,_0x3db1ee);{const _0xb94f54=_0x3db1ee['children']['map'](_0x15bcdd=>B(_0x15bcdd,_0x216b7c));return new(T[_0x3db1ee['type']]||_0x701643)(_0x3ad3b3,_0x3db1ee['name'],_0x3db1ee['attributes'],_0xb94f54);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x123031){this['editor']=_0x123031,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'](_0xa2c307){this['source']=_0xa2c307;const _0x89bb1a=new Map(),_0x1cad74=new Map(),_0x298a91=this['editor']['model']['document']['roots']['map'](_0xd9e9d2=>_0xd9e9d2['rootName']);for(const _0x4cc07f of _0x298a91){const _0x241a42=this['editor']['model']['document']['getRoot'](_0x4cc07f),_0x28c76c=q(_0x241a42);_0x89bb1a['set'](_0x4cc07f,_0x28c76c),_0x1cad74['set'](_0x4cc07f,Object['fromEntries'](_0x241a42['getAttributes']()));}const _0x362518=Array['from'](this['editor']['model']['markers'])['map'](_0x4b2015=>[_0x4b2015['name'],_0x4b2015['getRange']()]),_0x444dfd=this['source']['version'];this['_saveMetaData'](_0x444dfd,_0x89bb1a,_0x362518,_0x1cad74),this['_startingRevisionId']=this['_revisionId'];const _0x2ff61c=new Map(),_0x1d3858=new Map();for(const _0x4a4920 of _0x298a91){const _0x236c6f=G(_0x4a4920);_0x2ff61c['set'](_0x4a4920,_0x236c6f),_0x1d3858['set'](_0x4a4920,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x2ff61c,[],_0x1d3858);}['getData'](_0x418f29,_0x52e8c9){if(this['_lastFrom']===_0x418f29&&this['_lastTo']<=_0x52e8c9)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x52e8c9,!0x0);else{if(!this['_savedMetaData']['has'](_0x418f29)){const _0x11954c=this['_getPreviousFrom'](_0x418f29);this['_calculateMetaData'](_0x11954c,_0x418f29,!0x1);}this['_calculateMetaData'](_0x418f29,_0x52e8c9,!0x0);}return this['_lastFrom']=_0x418f29,this['_lastTo']=_0x52e8c9,this['_getState']();}['loadState'](_0x11b33c){this['_reset'](),this['_lastFrom']=_0x11b33c['fromVersion'],this['_lastTo']=_0x11b33c['toVersion'];for(const _0x4e6376 in _0x11b33c['diffData']){const _0x20773f=_0x11b33c['diffData'][_0x4e6376]['attachChange'],_0x91431a=_0x2ade0a(_0x11b33c['diffData'][_0x4e6376]['attributesBefore'])||{},_0x511291=this['_makeModelFromViewString'](_0x11b33c['diffData'][_0x4e6376]['deletions']);_0x511291['rootName']=_0x4e6376,_0x511291['_isAttached']=!_0x20773f||!_0x20773f['isAttached'],_0x511291['isAttached']=()=>_0x511291['_isAttached'],this['_baseRoots']['set'](_0x4e6376,_0x511291),this['_baseRootsAttributes']['set'](_0x4e6376,_0x91431a),_0x20773f&&this['_touchedRoots']['set'](_0x4e6376,_0x20773f);const _0x552c52=this['_makeIdsRoot'](_0x511291);this['_baseIdsRoots']['set'](_0x4e6376,_0x552c52);for(const [_0x3a9a27,_0x46ce9c]of _0x511291['markers']){if(!_0x3a9a27['startsWith']('revision:'))continue;const _0x4327f4=_0x3a9a27['split'](':')[0x2];for(const _0x45beda of _0x46ce9c['getWalker']({'singleCharacters':!0x0})){const _0x4badd0=this['_getVidAttributeName'](_0x45beda),_0x10cc46='elementEnd'==_0x45beda['type']?_0x45beda['previousPosition']['path']['slice'](0x0,-0x1):_0x45beda['previousPosition']['path'],_0x2590a9=_0x552c52['getNodeByPath'](_0x10cc46)['getAttribute'](_0x4badd0);this['_touched']['set'](_0x2590a9,{'userId':_0x4327f4});}}}this['_startingRevisionId']=this['_revisionId'];const _0x42ae0f=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x39450e=>!this['_touched']['has'](_0x39450e));let _0x536fed=0x0;const _0x919644=new Map();for(const _0x12d8e4 in _0x11b33c['diffData']){const _0x125afd=_0x11b33c['diffData'][_0x12d8e4]['attachChange'],_0x285f1f=_0x2ade0a(_0x11b33c['diffData'][_0x12d8e4]['attributesAfter'])||{},_0x49e439=this['_makeModelFromViewString'](_0x11b33c['diffData'][_0x12d8e4]['insertions']);_0x49e439['rootName']=_0x12d8e4,_0x49e439['_isAttached']=!_0x125afd||_0x125afd['isAttached'],_0x49e439['isAttached']=()=>_0x49e439['_isAttached'],this['_diffRoots']['set'](_0x12d8e4,_0x49e439),this['_diffRootsAttributes']['set'](_0x12d8e4,_0x285f1f);const _0x1ad587=this['_makeIdsRoot'](_0x49e439,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x12d8e4,_0x1ad587),_0x919644['set'](_0x12d8e4,_0x49e439['isAttached']()?_0x285f1f:{});for(const [_0x16b4b8,_0x57acfb]of _0x49e439['markers']){if(!_0x16b4b8['startsWith']('revision:'))continue;const _0x58bb1b=_0x16b4b8['split'](':')[0x2];for(const _0x477fd7 of _0x57acfb['getWalker']({'singleCharacters':!0x0})){const _0x3d1fca=this['_getVidAttributeName'](_0x477fd7),_0xde2f5e=this['_revisionId']++,_0x5c9769='elementEnd'==_0x477fd7['type']?_0x477fd7['previousPosition']['path']['slice'](0x0,-0x1):_0x477fd7['previousPosition']['path'];_0x1ad587['getNodeByPath'](_0x5c9769)['_setAttribute'](_0x3d1fca,_0xde2f5e),this['_touched']['set'](_0xde2f5e,{'userId':_0x58bb1b});}}for(const _0x485d67 of this['editor']['model']['createRangeIn'](_0x49e439)['getWalker']({'singleCharacters':!0x0})){const _0x8e3004=this['_getVidAttributeName'](_0x485d67),_0x45f50d='elementEnd'==_0x485d67['type']?_0x485d67['previousPosition']['path']['slice'](0x0,-0x1):_0x485d67['previousPosition']['path'],_0x853307=_0x1ad587['getNodeByPath'](_0x45f50d);_0x853307['getAttribute'](_0x8e3004)>0x0||_0x853307['_setAttribute'](_0x8e3004,_0x42ae0f[_0x536fed++]);}for(const [_0x30cf6f,_0xa7f4f9]of _0x49e439['markers'])_0x30cf6f['startsWith']('revision:')||this['_markers']['set'](_0x30cf6f,_0xa7f4f9);}const _0x1d4ab2=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x1d4ab2),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1d4ab2,0x1));const _0xd89b31=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0xd89b31),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0xd89b31,0x1));const _0x2c2bbc=Array['from'](this['_diffRoots'])['map'](([_0x37d3c5,_0x595c58])=>[_0x37d3c5,q(_0x595c58)]);this['_saveMetaData'](this['_lastTo'],_0x2c2bbc,this['_markers'],_0x919644);}['_makeModelFromViewString'](_0xdd1adf){const _0x32c5dc=JSON['parse'](_0xdd1adf),_0x57a9d4=this['editor']['editing']['view']['document'],_0x20b7c1=new _0x42f1fd(_0x57a9d4,_0x32c5dc['map'](_0x3edd5b=>B(_0x3edd5b,this['editor'])));return this['editor']['data']['toModel'](_0x20b7c1);}['_saveMetaData'](_0x27833e,_0x348cdb,_0x472903,_0x2737a7){const _0x2aaa49=new Map(_0x348cdb),_0x76e65f=new Map(_0x2ade0a(_0x2737a7)),_0x1b2838=new Map();for(const [_0x2f2116,_0x18e0db]of _0x472903)_0x1b2838['set'](_0x2f2116,{'start':_0x18e0db['start']['clone'](),'end':_0x18e0db['end']['clone'](),'rootName':_0x18e0db['root']['rootName']});this['_savedMetaData']['set'](_0x27833e,{'roots':_0x2aaa49,'markers':_0x1b2838,'rootsAttributes':_0x76e65f});}['_removeMetaData'](_0x14f07b){this['_savedMetaData']['delete'](_0x14f07b);}['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'](_0x504f88,_0x2810fb=null){let _0x5782cb=null;_0x504f88['is']('documentFragment')||(_0x5782cb=new ft(_0x504f88['name'],{'vid_start':null===_0x2810fb?this['_revisionId']++:_0x2810fb++}));const _0x4c690d=[];for(const _0x11923b of _0x504f88['getChildren']())if(_0x11923b['is']('element')){_0x4c690d['push'](this['_makeIdsRoot'](_0x11923b,_0x2810fb));const _0xf0c12=_0x4c690d[_0x4c690d['length']-0x1];null!==_0x2810fb&&(_0x2810fb=_0xf0c12['is']('element','$text')?_0xf0c12['getAttribute']('vid')+0x1:_0xf0c12['getAttribute']('vid_end')+0x1);}else{for(let _0x5461c8=0x0;_0x5461c8<_0x11923b['offsetSize'];_0x5461c8++)_0x4c690d['push'](new ft('$text',{'vid':null===_0x2810fb?this['_revisionId']++:_0x2810fb++}));}if(_0x504f88['is']('documentFragment')){const _0x2ee131=G(_0x504f88['rootName']);return _0x2ee131['_insertChild'](0x0,_0x4c690d),_0x2ee131;}return _0x5782cb['_setAttribute']('vid_end',null===_0x2810fb?this['_revisionId']++:_0x2810fb++),_0x5782cb['_insertChild'](0x0,_0x4c690d),_0x5782cb;}['_calculateMetaData'](_0x182fd3,_0xb2e2c8,_0xd47b4b){this['_reset']();const {roots:_0x237289,markers:_0x3a5aa6,rootsAttributes:_0xb47f42}=this['_savedMetaData']['get'](_0x182fd3);this['_baseRoots']=new Map(_0x237289),this['_baseRootsAttributes']=new Map(_0x2ade0a(_0xb47f42));for(const [_0x4f857d,_0x1f0008]of this['_baseRoots'])if('$graveyard'!==_0x4f857d&&(this['_diffRoots']['set'](_0x4f857d,q(_0x1f0008)),this['_diffRootsAttributes']=new Map(_0x2ade0a(_0xb47f42)),_0xd47b4b)){const _0xb91bdb=this['_revisionId'];this['_idsRoots']['set'](_0x4f857d,this['_makeIdsRoot'](_0x1f0008)),this['_baseIdsRoots']['set'](_0x4f857d,this['_makeIdsRoot'](_0x1f0008,_0xb91bdb));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0xd47b4b&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x3a976e,_0x92b1db]of _0x3a5aa6){const _0x4c727d=this['_baseRoots']['get'](_0x92b1db['rootName']),_0x5913e4=this['_diffRoots']['get'](_0x92b1db['rootName']),_0x1aff16=new vt(this['_fixPosition'](_0x92b1db['start'],_0x4c727d),this['_fixPosition'](_0x92b1db['end'],_0x4c727d)),_0x31f734=this['_fixRange'](_0x1aff16,_0x5913e4);_0x4c727d['markers']['set'](_0x3a976e,_0x1aff16),this['_markers']['set'](_0x3a976e,_0x31f734);}this['_applyOperations'](_0x182fd3,_0xb2e2c8,_0xd47b4b);}['_applyOperations'](_0x561d5d,_0x2161ba,_0x2c3d26){for(const _0x3caaba of this['source']['getOperations'](_0x561d5d,_0x2161ba))this['_handleOperation'](_0x3caaba,_0x2c3d26);for(const _0x57c001 of this['_diffRoots']['values']())_0x57c001['markers']['clear']();for(const [_0x10ba7e,_0x37444c]of this['_markers']){this['_diffRoots']['get'](_0x37444c['root']['rootName'])['markers']['set'](_0x10ba7e,_0x37444c['clone']());}const _0x38f089=new Map(),_0x5e126b=new Map();for(const [_0x4c86db,_0x57d21e]of this['_diffRoots'])_0x38f089['set'](_0x4c86db,q(_0x57d21e)),_0x5e126b['set'](_0x4c86db,this['_diffRootsAttributes']['get'](_0x4c86db));this['_saveMetaData'](_0x2161ba,_0x38f089,this['_markers'],_0x5e126b);}['_getPreviousFrom'](_0x4f4d72){const _0x2727a0=Array['from'](this['_savedMetaData']['keys']());_0x2727a0['sort']((_0x3d6058,_0x4a80ab)=>_0x3d6058-_0x4a80ab),_0x2727a0['reverse']();for(const _0x1c0c21 of _0x2727a0)if(_0x1c0c21<_0x4f4d72)return _0x1c0c21;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x161800,_0x389d11){const _0x557092=Array['from'](_0x389d11['markers'])['map'](([_0x2a7a49,_0x46a01c])=>[_0x2a7a49,this['_fixRange'](_0x46a01c,_0x161800)]);_0x161800['markers']=new Map(_0x557092);}['_transformMarkers'](_0x174958){for(const _0x58afa1 of this['_markers']['values']()){const _0x2daeeb=_0x58afa1['getTransformedByOperation'](_0x174958),_0x343ec5=vt['_createFromRanges'](_0x2daeeb);_0x58afa1['start']=_0x343ec5['start'],_0x58afa1['end']=_0x343ec5['end'];}}['_handleOperation'](_0x29793d,_0x5a37da){if('addRoot'==_0x29793d['type']||'detachRoot'==_0x29793d['type'])return void this['_handleRootOperation'](_0x29793d,_0x5a37da);if('insert'==_0x29793d['type']){const _0x2d9481=_0x29793d['position']['root']['rootName'];this['_diffRoots']['has'](_0x2d9481)||(this['_diffRoots']['set'](_0x2d9481,G(_0x2d9481,!0x0)),this['_diffRootsAttributes']['set'](_0x2d9481,{}),_0x5a37da&&this['_idsRoots']['set'](_0x2d9481,G(_0x2d9481,!0x0)));}else{if('addRootAttribute'==_0x29793d['type']||'removeRootAttribute'==_0x29793d['type']||'changeRootAttribute'==_0x29793d['type'])return void this['_handleRootAttributeOperation'](_0x29793d);}const _0x3dd832=this['_cloneOperation'](_0x29793d,this['_diffRoots']);if('marker'!==_0x29793d['type']&&(_0x3dd832['_execute'](),this['_transformMarkers'](_0x3dd832)),_0x5a37da)switch(_0x3dd832['type']){case'insert':this['_handleInsertOperation'](_0x29793d);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x29793d);break;case'merge':this['_handleMergeOperation'](_0x29793d);break;case'split':this['_handleSplitOperation'](_0x29793d);break;case'marker':this['_handleMarkerOperation'](_0x29793d);}}['_cloneOperation'](_0x527438,_0x35fb81){const _0x2fd8f8=_0x527438['clone']();return _0x2fd8f8['_authorId']=_0x527438['_authorId'],this['_fixOperation'](_0x2fd8f8,_0x35fb81),_0x2fd8f8;}['_getBaseVids'](_0x8c68f9){return _0x8c68f9['map'](_0x45a50d=>{const _0x58792c=this['_getVidAttributeName'](_0x45a50d);return Number(_0x45a50d['item']['getAttribute'](_0x58792c));});}['_generateTape'](_0xc0a8cd,_0x2d23e2){if(_0xc0a8cd['is']('element','$text'))_0x2d23e2['push']({'item':_0xc0a8cd,'type':'text'});else{_0xc0a8cd['is']('element')&&_0x2d23e2['push']({'item':_0xc0a8cd,'type':'elementStart'});for(const _0x73d798 of _0xc0a8cd['getChildren']())this['_generateTape'](_0x73d798,_0x2d23e2);_0xc0a8cd['is']('element')&&_0x2d23e2['push']({'item':_0xc0a8cd,'type':'elementEnd'});}return _0x2d23e2;}['_getState'](){const _0x55fe1f=new Map(this['_touched']),_0x1bf4b4=new Map(_0x55fe1f),_0x213965=new Map(),_0x203054={'insertions':{},'deletions':{}},_0x329c8e={'insertions':{},'deletions':{}},_0x3c03ed=new Map(),_0x51470=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x51470['delete']('$graveyard');for(const _0x4e51cd of _0x51470){const _0x240725=this['_diffRoots']['get'](_0x4e51cd)||G(_0x4e51cd,!0x1),_0x12e78e=this['_baseRoots']['get'](_0x4e51cd)||G(_0x4e51cd,!0x1);_0x240725['isAttached']()||_0x12e78e['isAttached']()?(_0x203054['insertions'][_0x4e51cd]=q(_0x240725),_0x203054['deletions'][_0x4e51cd]=q(_0x12e78e),this['_copyMarkers'](_0x203054['deletions'][_0x4e51cd],_0x12e78e),this['_copyMarkers'](_0x203054['insertions'][_0x4e51cd],_0x240725),_0x329c8e['insertions'][_0x4e51cd]=this['_generateTape'](this['_idsRoots']['get'](_0x4e51cd),[]),_0x329c8e['deletions'][_0x4e51cd]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x4e51cd)||G(_0x4e51cd,!0x1),[])):_0x51470['delete'](_0x4e51cd);}for(const _0xe7465e of _0x51470){const _0x6fe053=_0x329c8e['insertions'][_0xe7465e];for(const _0xab158f of _0x6fe053){const _0x4e53c6=this['_getVidAttributeName'](_0xab158f),_0x13682b=_0xab158f['item']['getAttribute'](_0x4e53c6);_0x1bf4b4['delete'](_0x13682b),_0x13682b>=this['_startingRevisionId']&&_0x213965['set'](_0x13682b,_0x55fe1f['get'](_0x13682b));}}for(const _0x253ae5 of _0x51470){const _0x5dc580=_0x329c8e['insertions'][_0x253ae5],_0x51e5bc=this['_getBaseVids'](_0x329c8e['deletions'][_0x253ae5]);let _0x298a64=0x0;for(const _0x3d160a of _0x5dc580){const _0x52d4e2=this['_getVidAttributeName'](_0x3d160a),_0x5401b4=_0x3d160a['item']['getAttribute'](_0x52d4e2);if(!_0x213965['has'](_0x5401b4)&&!_0x3c03ed['has'](_0x5401b4)){if(_0x1bf4b4['has'](_0x5401b4))_0x298a64++;else{if(_0x5401b4!=_0x51e5bc[_0x298a64]){const _0x2a1232=_0x55fe1f['get'](_0x5401b4)||_0x55fe1f['get'](_0x51e5bc[_0x298a64]);for(;_0x5401b4!=_0x51e5bc[_0x298a64];)_0x1bf4b4['has'](_0x51e5bc[_0x298a64])||(_0x3c03ed['set'](_0x51e5bc[_0x298a64],_0x2a1232),_0x55fe1f['set'](_0x51e5bc[_0x298a64],_0x2a1232)),_0x298a64++;}_0x298a64++;}}}}for(const _0x3cc709 of _0x51470){const _0x350c10=_0x329c8e['insertions'][_0x3cc709];for(const _0x297607 of _0x350c10){const _0x223b70=this['_getVidAttributeName'](_0x297607),_0x9f6abf=_0x297607['item']['getAttribute'](_0x223b70);if(_0x3c03ed['has'](_0x9f6abf)){const _0x1d4e8e=_0x3c03ed['get'](_0x9f6abf);_0x1bf4b4['has'](_0x9f6abf)||_0x1bf4b4['set'](_0x9f6abf,{..._0x1d4e8e}),_0x213965['set'](_0x9f6abf,{..._0x1d4e8e});}}}for(const _0xfed8f9 of _0x1bf4b4['keys']())_0xfed8f9>=this['_startingRevisionId']&&_0x1bf4b4['delete'](_0xfed8f9);const _0x1c8f79=new Map();for(const _0x4be0f2 of _0x51470){let _0xb6112c=_0x329c8e['insertions'][_0x4be0f2];for(const _0x385ad9 of _0xb6112c)if(_0x385ad9['item']['is']('element','tableCell')){const _0x160c0f=this['_getVidAttributeName'](_0x385ad9),_0xabd039=_0x385ad9['item']['getAttribute'](_0x160c0f);if(_0x213965['has'](_0xabd039)){const _0x34c1be=_0x385ad9['item']['parent']['parent']['getAttribute']('vid_start'),_0x574c28=_0x1c8f79['get'](_0x34c1be)||new Set();_0x574c28['add'](_0x213965['get'](_0xabd039)['userId']),_0x1c8f79['set'](_0x34c1be,_0x574c28);}}_0xb6112c=_0x329c8e['deletions'][_0x4be0f2];for(const _0x30d788 of _0xb6112c)if(_0x30d788['item']['is']('element','tableCell')){const _0x2f9cb7=this['_getVidAttributeName'](_0x30d788),_0x10cc1f=_0x30d788['item']['getAttribute'](_0x2f9cb7);if(_0x1bf4b4['has'](_0x10cc1f)){const _0x533415=_0x30d788['item']['parent']['parent']['getAttribute']('vid_start'),_0x4a4236=_0x1c8f79['get'](_0x533415)||new Set();_0x4a4236['add'](_0x1bf4b4['get'](_0x10cc1f)['userId']),_0x1c8f79['set'](_0x533415,_0x4a4236);}}for(const _0xc91297 of _0x1c8f79['keys']())(_0x213965['has'](_0xc91297)||_0x1bf4b4['has'](_0xc91297))&&_0x1c8f79['delete'](_0xc91297);}for(const _0x236a21 of _0x51470){const _0x481e7f=_0x329c8e['insertions'][_0x236a21];let _0x11d075=null,_0x2949c0=null;for(const _0x2dc760 of _0x481e7f){const _0x3f670d=this['_getVidAttributeName'](_0x2dc760),_0xd37ddd=_0x2dc760['item']['getAttribute'](_0x3f670d),_0x3d6b3f=_0x1c8f79['get'](_0xd37ddd);_0x3d6b3f&&'elementStart'==_0x2dc760['type']&&(_0x11d075=Array['from'](_0x3d6b3f)[0x0],_0x2949c0=_0x2dc760['item']['getAttribute']('vid_end')),_0x11d075&&(_0x1bf4b4['set'](_0xd37ddd,{'userId':_0x11d075}),_0x213965['set'](_0xd37ddd,{'userId':_0x11d075})),_0xd37ddd==_0x2949c0&&(_0x11d075=null,_0x2949c0=null);}}const _0x1746d9={},_0x2848e2=new Set();for(const _0x2b83d5 of _0x51470){const _0x5d53b7=_0x203054['deletions'][_0x2b83d5],_0x5dd373=_0x203054['insertions'][_0x2b83d5];for(const {userId:_0x494c60}of this['_touchedMarkers']['values']())null!==_0x494c60&&_0x2848e2['add'](_0x494c60);for(const {userId:_0x4edee8}of this['_touchedRoots']['values']())null!==_0x4edee8&&_0x2848e2['add'](_0x4edee8);this['_markChanges'](_0x5dd373,_0x329c8e['insertions'][_0x2b83d5],_0x213965,'insertion',_0x2848e2),this['_markChanges'](_0x5d53b7,_0x329c8e['deletions'][_0x2b83d5],_0x1bf4b4,'deletion',_0x2848e2),_0x1746d9[_0x2b83d5]={'insertions':this['_prepareViewToSave'](_0x5dd373),'deletions':this['_prepareViewToSave'](_0x5d53b7),'attachChange':this['_touchedRoots']['get'](_0x2b83d5)||null,'attributesBefore':_0x2ade0a(this['_baseRootsAttributes']['get'](_0x2b83d5))||{},'attributesAfter':_0x2ade0a(this['_diffRootsAttributes']['get'](_0x2b83d5))};}return{'diffData':_0x1746d9,'authorsIds':Array['from'](_0x2848e2)};}['_processRootBeforeSave'](_0x58e7c2){for(const [,_0x2d666f]of _0x58e7c2['markers']){const _0x274d7f=_0x2d666f['start']['getAncestors']()['filter'](_0x3ead80=>'tableCell'==_0x3ead80['name']);for(const _0x33e202 of _0x274d7f)0x1==_0x33e202['childCount']&&_0x33e202['getChild'](0x0)['is']('element','paragraph')&&_0x33e202['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x490442){this['_processRootBeforeSave'](_0x490442);const _0x4f81b8=this['editor']['data']['toView'](_0x490442,{}),_0x33ac94=Array['from'](_0x4f81b8['getChildren']())['map'](_0x560783=>this['_getViewJson'](_0x560783));return JSON['stringify'](_0x33ac94);}['_getViewJson'](_0x2ca5d5){if(_0x2ca5d5['is']('$text'))return _0x2ca5d5['data'];{const _0x4c369f=_0x2ca5d5;return{'type':Object['keys'](T)['find'](_0x14bda2=>_0x2ca5d5 instanceof T[_0x14bda2]),'name':_0x4c369f['name'],'attributes':Array['from'](_0x4c369f['getAttributes']()),'children':Array['from'](_0x4c369f['getChildren']())['map'](_0x586dd4=>this['_getViewJson'](_0x586dd4))};}}['_markChanges'](_0x26445d,_0x5f240d,_0x4b20e0,_0x2010b9,_0x49e15e){let _0x2374d2=null,_0x46d4a1=null,_0x4edaf6=0x0;const _0x2df1fd=this['editor']['model'];for(let _0x3cfe5a=0x0;_0x3cfe5a<_0x5f240d['length'];_0x3cfe5a++){const _0x436328=this['_getVidAttributeName'](_0x5f240d[_0x3cfe5a]),_0x3d9acd=_0x5f240d[_0x3cfe5a]['item']['getAttribute'](_0x436328),_0x2bc8a5=_0x4b20e0['get'](_0x3d9acd),_0x51251d=_0x3cfe5a==_0x5f240d['length']-0x1;(!_0x2374d2&&_0x2bc8a5&&(_0x2374d2=_0x2bc8a5,_0x46d4a1=_0x5f240d[_0x3cfe5a]),_0x2374d2&&(!_0x2bc8a5||_0x2bc8a5['userId']!=_0x2374d2['userId']))&&(_0x505b98(_0x2bc8a5,L(_0x46d4a1,_0x26445d,_0x2df1fd),L(_0x5f240d[_0x3cfe5a],_0x26445d,_0x2df1fd)),_0x2374d2=_0x2bc8a5||null,_0x46d4a1=_0x2bc8a5?_0x5f240d[_0x3cfe5a]:null),_0x2374d2&&_0x51251d&&_0x505b98(_0x2bc8a5,L(_0x46d4a1,_0x26445d,_0x2df1fd),W(_0x5f240d[_0x3cfe5a],_0x26445d,_0x2df1fd));}function _0x505b98(_0x52e90c,_0x177de0,_0x55e650){const _0xe1eab4=_0x2374d2['userId'],_0x54bc47='revision:'+_0x2010b9+':'+_0xe1eab4+':'+_0x4edaf6++,_0x1ac8cb=_0x2df1fd['createRange'](_0x177de0,_0x55e650);_0x26445d['markers']['set'](_0x54bc47,_0x1ac8cb),null!==_0xe1eab4&&_0x49e15e['add'](_0xe1eab4);}}['_getVidAttributeName'](_0x502b5c){switch(_0x502b5c['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x5b645e,_0x510d58){_0x5b645e['baseVersion']=null;for(const _0x14dbe8 in _0x5b645e){const _0x47c5b5=_0x5b645e[_0x14dbe8];if(_0x47c5b5 instanceof gt){const _0x30458b=_0x510d58['get'](_0x47c5b5['root']['rootName']);_0x5b645e[_0x14dbe8]=this['_fixPosition'](_0x47c5b5,_0x30458b);}if(_0x47c5b5 instanceof vt){const _0x567cc6=_0x510d58['get'](_0x47c5b5['root']['rootName']);_0x5b645e[_0x14dbe8]=this['_fixRange'](_0x47c5b5,_0x567cc6);}'root'===_0x14dbe8&&(_0x5b645e['root']=_0x510d58['get'](_0x5b645e['root']['rootName']));}}['_fixRange'](_0x11e93e,_0x6bcebb){return this['editor']['model']['createRange'](this['_fixPosition'](_0x11e93e['start'],_0x6bcebb),this['_fixPosition'](_0x11e93e['end'],_0x6bcebb));}['_fixPosition'](_0xd60929,_0x1e7c67){return this['editor']['model']['createPositionFromPath'](_0x1e7c67,_0xd60929['path'],_0xd60929['stickiness']);}['_handleInsertOperation'](_0x470d32){const _0x389fc3=this['_idsRoots']['get'](_0x470d32['position']['root']['rootName']),_0x2e3694=this['_fixPosition'](_0x470d32['position'],_0x389fc3),_0x339b05=null===_0x470d32['_authorId']?null:_0x470d32['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x56c9e4=_0x2e3694['parent'],_0x48165c=this['_revisionId'],_0x2adfaa=[];for(const _0x14329d of _0x470d32['nodes'])if(_0x14329d['is']('element'))_0x2adfaa['push'](this['_makeIdsRoot'](_0x14329d));else{for(let _0x25cd3d=0x0;_0x25cd3d<_0x14329d['offsetSize'];_0x25cd3d++)_0x2adfaa['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x6ff7b6=this['_revisionId'];for(let _0x231aa2=_0x48165c;_0x231aa2<_0x6ff7b6;_0x231aa2++)this['_touched']['set'](_0x231aa2,{'userId':_0x339b05});_0x56c9e4['_insertChild'](_0x2e3694['offset'],_0x2adfaa);}['_handleMoveOperation'](_0x44bd1b){(_0x44bd1b=this['_cloneOperation'](_0x44bd1b,this['_idsRoots']))['_execute']();const _0x4bd28a=null===_0x44bd1b['_authorId']?null:_0x44bd1b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2f772e=_0x44bd1b['getMovedRangeStart'](),_0x3bb57c=_0x2f772e['parent'],_0x257088=_0x2f772e['offset'];!function _0x2bdf27(_0x288f1d,_0x2ec392,_0x70909a,_0x1aa328){for(let _0x17e080=_0x70909a;_0x17e080<_0x1aa328;_0x17e080++){const _0x57bf74=_0x2ec392['getChild'](_0x17e080);_0x57bf74['is']('element','$text')?_0x288f1d['set'](_0x57bf74['getAttribute']('vid'),{'userId':_0x4bd28a}):(_0x288f1d['set'](_0x57bf74['getAttribute']('vid_start'),{'userId':_0x4bd28a}),_0x2bdf27(_0x288f1d,_0x57bf74,0x0,_0x57bf74['childCount']),_0x288f1d['set'](_0x57bf74['getAttribute']('vid_end'),{'userId':_0x4bd28a}));}}(this['_touched'],_0x3bb57c,_0x257088,_0x257088+_0x44bd1b['howMany']);}['_handleMergeOperation'](_0x42671e){const _0x3a8275=null===(_0x42671e=this['_cloneOperation'](_0x42671e,this['_idsRoots']))['_authorId']?null:_0x42671e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x396c5b=_0x42671e['targetPosition']['parent'],_0x21bb5e=_0x42671e['sourcePosition']['parent'],_0x3f1bff=_0x396c5b['getAttribute']('vid_end'),_0x4d1d76=_0x21bb5e['getAttribute']('vid_start');_0x396c5b['_setAttribute']('vid_end',_0x21bb5e['getAttribute']('vid_end')),_0x21bb5e['_setAttribute']('vid_end',_0x3f1bff),this['_touched']['set'](_0x4d1d76,{'userId':_0x3a8275}),this['_touched']['set'](_0x3f1bff,{'userId':_0x3a8275}),_0x42671e['_execute']();}['_handleSplitOperation'](_0x47bbd4){const _0x5ca272=null===(_0x47bbd4=this['_cloneOperation'](_0x47bbd4,this['_idsRoots']))['_authorId']?null:_0x47bbd4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x351982=_0x47bbd4['graveyardPosition'],_0x23b4c3=_0x47bbd4['splitPosition']['parent'];_0x47bbd4['_execute']();const _0x9040d4=_0x23b4c3['getAttribute']('vid_end'),_0x8228fe=_0x47bbd4['insertionPosition']['nodeAfter'];if(_0x351982){const _0x8858d6=_0x8228fe['getAttribute']('vid_end'),_0x103bf0=_0x23b4c3['getAttribute']('vid_end');_0x23b4c3['_setAttribute']('vid_end',_0x8858d6),_0x8228fe['_setAttribute']('vid_end',_0x103bf0),this['_touched']['set'](_0x23b4c3['getAttribute']('vid_end'),{'userId':_0x5ca272}),this['_touched']['set'](_0x8228fe['getAttribute']('vid_start'),{'userId':_0x5ca272});}else{const _0x342900=this['_revisionId']++,_0x274ce8=this['_revisionId']++;_0x23b4c3['_setAttribute']('vid_end',_0x342900),_0x8228fe['_setAttribute']('vid_start',_0x274ce8),_0x8228fe['_setAttribute']('vid_end',_0x9040d4),this['_touched']['set'](_0x342900,{'userId':_0x5ca272}),this['_touched']['set'](_0x274ce8,{'userId':_0x5ca272});}}['_handleMarkerOperation'](_0xb711c2){if(!_0xb711c2['affectsData'])return;const _0x515c5d=(_0xb711c2=this['_cloneOperation'](_0xb711c2,this['_diffRoots']))['oldRange']?_0xb711c2['oldRange']['root']:null,_0x55ca2e=_0xb711c2['newRange']?_0xb711c2['newRange']['root']:null;_0x515c5d&&this['_markers']['delete'](_0xb711c2['name']),_0x55ca2e&&this['_markers']['set'](_0xb711c2['name'],_0xb711c2['newRange']['clone']());const _0x3eb0a1=null===_0xb711c2['_authorId']?null:_0xb711c2['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x204fbb=_0xb711c2['name'];if(!this['_touchedMarkers']['has'](_0x204fbb))return void this['_touchedMarkers']['set'](_0x204fbb,{'range':_0xb711c2['oldRange'],'userId':_0x3eb0a1});const _0x294b24=this['_touchedMarkers']['get'](_0x204fbb),_0x1d1c0d=_0x294b24['range'],_0x3ab76b=_0xb711c2['newRange'];null==_0x1d1c0d&&null==_0x3ab76b||_0x1d1c0d&&_0x3ab76b&&_0x1d1c0d['isEqual'](_0x3ab76b)?this['_touchedMarkers']['delete'](_0xb711c2['name']):_0x294b24['userId']=_0x3eb0a1;}['_handleRootOperation'](_0x1d8a66,_0x4fed88){this['_diffRoots']['has'](_0x1d8a66['rootName'])?this['_diffRoots']['get'](_0x1d8a66['rootName'])['_isAttached']=_0x1d8a66['isAdd']:(this['_diffRoots']['set'](_0x1d8a66['rootName'],G(_0x1d8a66['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x1d8a66['rootName'],{}),_0x4fed88&&this['_idsRoots']['set'](_0x1d8a66['rootName'],G(_0x1d8a66['rootName'],!0x0)));const _0x57f445=null===_0x1d8a66['_authorId']?null:_0x1d8a66['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x478675=this['_touchedRoots']['get'](_0x1d8a66['rootName']);_0x478675&&_0x478675['userId']===_0x57f445?this['_touchedRoots']['delete'](_0x1d8a66['rootName']):this['_touchedRoots']['set'](_0x1d8a66['rootName'],{'userId':_0x57f445,'isAttached':_0x1d8a66['isAdd']});}['_handleRootAttributeOperation'](_0x3e67b5){const _0x3a2df3=this['_diffRootsAttributes']['get'](_0x3e67b5['root']['rootName']);null===_0x3e67b5['newValue']?delete _0x3a2df3[_0x3e67b5['key']]:_0x3a2df3[_0x3e67b5['key']]=_0x3e67b5['newValue'];}}function q(_0x4a5518){const _0x2df2dd=G(_0x4a5518['rootName'],_0x4a5518['isAttached']());for(const _0x34dad7 of _0x4a5518['getChildren']()){const _0x2cbee0=_0x34dad7['_clone'](!0x0);_0x2df2dd['_appendChild'](_0x2cbee0);}return _0x2df2dd;}function G(_0x13bf02,_0xcc0f24=!0x0){const _0x4a6a66=new wt();return _0x4a6a66['rootName']=_0x13bf02,_0x4a6a66['_isAttached']=_0xcc0f24,_0x4a6a66['isAttached']=()=>_0x4a6a66['_isAttached'],_0x4a6a66;}function L(_0x3e49bd,_0x2480f8,_0x1e0ef4){const _0x51623b='elementEnd'==_0x3e49bd['type']?_0x1e0ef4['createPositionAt'](_0x3e49bd['item'],'end'):_0x1e0ef4['createPositionBefore'](_0x3e49bd['item']);return _0x1e0ef4['createPositionFromPath'](_0x2480f8,_0x51623b['path'],_0x51623b['stickiness']);}function W(_0x2ec481,_0x37b80f,_0x993870){const _0x5eb035='elementStart'==_0x2ec481['type']?_0x993870['createPositionAt'](_0x2ec481['item'],0x0):_0x993870['createPositionAfter'](_0x2ec481['item']);return _0x993870['createPositionFromPath'](_0x37b80f,_0x5eb035['path'],_0x5eb035['stickiness']);}class ns extends _0x42a458{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x3df89d,_0x215a8a){super(_0x3df89d),this['focusTracker']=new _0x599e73(),this['keystrokes']=new _0x25860a(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x215a8a),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'](),_0x428b3b({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x59f05e=_0x298741=>_0x298741['stopPropagation']();this['keystrokes']['set']('arrowright',_0x59f05e),this['keystrokes']['set']('arrowleft',_0x59f05e),this['keystrokes']['set']('arrowup',_0x59f05e),this['keystrokes']['set']('arrowdown',_0x59f05e);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x328e02){this['revisionNameInputView']['fieldView']['element']['value']=_0x328e02['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x4bc4ae){const _0x179fe3=new at(this['locale'],_0x49db80),_0x1f6c6b=_0x179fe3['fieldView'];_0x1f6c6b['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x31d90b=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x4bc4ae&&(_0x31d90b+='\x20('+y(this['locale'],'optional')+')'),(_0x179fe3['label']=_0x31d90b,_0x1f6c6b['on']('input',()=>{this['revisionNameInputValue']=_0x1f6c6b['element']['value']['trim']();}),_0x179fe3);}}class u extends _0x12f93a{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x4dd9e8=this['editor'],_0x2331aa=_0x4dd9e8['plugins']['get']('RevisionTracker');_0x4dd9e8['ui']['componentFactory']['add']('revisionHistory',_0x5ab1fd=>{const _0x3ab80a=_0xd5be72(_0x5ab1fd),_0x8d7669=_0x3ab80a['panelView']['children'],_0x2174f4=new te(_0x5ab1fd),_0x111abf=new _0x48e6bb(_0x5ab1fd),_0x171ec8=new _0x5325a2(_0x5ab1fd),_0x3af090=new _0x48e6bb(_0x5ab1fd),_0x161f91=new _0x5325a2(_0x5ab1fd);return _0x3ab80a['bind']('isEnabled')['to'](_0x2331aa,'isReady',_0x2331aa,'isEnabled',_0x4dd9e8,'isReadOnly',(_0x445cab,_0x1ee748,_0x4aa116)=>_0x445cab&&_0x1ee748&&!_0x4aa116),_0x3ab80a['buttonView']['set']({'icon':_0x5541e0['history'],'label':y(_0x5ab1fd,'Revision\x20history'),'tooltip':!0x0}),_0x171ec8['set']({'label':y(_0x5ab1fd,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x171ec8['bind']('isEnabled')['to'](_0x2331aa,'isReady',_0x2331aa,'isEnabled',_0x4dd9e8,'isReadOnly',(_0xdd1018,_0x59bb80,_0x5f0762)=>_0xdd1018&&_0x59bb80&&!_0x5f0762),_0x171ec8['on']('execute',()=>this['_showDialog']()),_0x161f91['set']({'label':y(_0x5ab1fd,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x161f91['bind']('isEnabled')['to'](_0x2331aa,'isReady',_0x4dd9e8,'isReadOnly',(_0xa87d74,_0x307198)=>_0xa87d74&&!_0x307198),_0x161f91['on']('execute',()=>{_0x4dd9e8['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x3ab80a['isOpen']=!0x1,_0x4dd9e8['editing']['view']['focus']();}),_0x111abf['children']['add'](_0x171ec8),_0x3af090['children']['add'](_0x161f91),_0x2174f4['role']='menu',_0x2174f4['items']['addMany']([_0x111abf,_0x3af090]),_0x8d7669['add'](_0x2174f4),_0x3ab80a;}),_0x4dd9e8['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x3094c8=this['editor'],_0x19fb34=_0x3094c8['locale'],_0x5da944=new _0x420b21(_0x19fb34),_0x250c3f=new _0x25b9f8(_0x19fb34);_0x5da944['buttonView']['set']({'icon':_0x5541e0['history'],'label':y(_0x19fb34,'Revision\x20history')});const _0x46afe7=new _0x1af06a(_0x19fb34,_0x5da944),_0x366c7b=new _0x218201(_0x19fb34);_0x366c7b['set']({'label':y(_0x19fb34,'Save\x20current\x20revision')}),_0x366c7b['delegate']('execute')['to'](_0x5da944),_0x366c7b['on']('execute',()=>{this['_showDialog']();}),_0x46afe7['children']['add'](_0x366c7b),_0x250c3f['items']['add'](_0x46afe7);const _0x765f6=new _0x1af06a(_0x19fb34,_0x5da944),_0x589ce4=new _0x218201(_0x19fb34);return _0x589ce4['set']({'label':y(_0x19fb34,'Open\x20revision\x20history')}),_0x589ce4['delegate']('execute')['to'](_0x5da944),_0x589ce4['on']('execute',()=>{_0x3094c8['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x765f6['children']['add'](_0x589ce4),_0x250c3f['items']['add'](_0x765f6),_0x5da944['panelView']['children']['add'](_0x250c3f),_0x5da944;}['_showDialog'](){const _0x56d445=this['editor'],_0x349949=_0x56d445['locale'],_0x3d6528=_0x56d445['plugins']['get']('Dialog'),_0x49ec34=_0x56d445['plugins']['get']('RevisionTracker');function _0x332e5f(_0x50b695){_0x56d445['config']['get']('revisionHistory.requireRevisionName')&&''===_0x50b695['revisionName']?_0x50b695['revisionNameInputView']['errorText']=y(_0x349949,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x56d445['plugins']['get'](l)['saveRevision']({'name':_0x50b695['revisionName']}),_0x3d6528['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x332e5f(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x3d6528['show']({'id':'revisionSave','title':y(_0x349949,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x56d445['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x3d6528['hide']()},{'label':y(_0x56d445['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x42f3e0){_0x42f3e0['bind']('isEnabled')['to'](_0x49ec34,'isReady',_0x49ec34,'isEnabled',_0x56d445,'isReadOnly',(_0x37ae1a,_0x13a0d9,_0xa0b168)=>_0x37ae1a&&_0x13a0d9&&!_0xa0b168);},'onExecute':()=>_0x332e5f(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x3e11f2=this['editor'],_0x597cf5=_0x3e11f2['locale'];this['_saveRevisionFormView']=new ns(_0x597cf5,_0x3e11f2['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x42a458{['changeId'];['_model'];constructor(_0x149399,_0x5835d2){super(_0x149399),this['_model']=_0x5835d2,this['changeId']=_0x5835d2['id'];const _0x394064=this['bindTemplate'],_0x1a6dc7=y(_0x149399,_0x5835d2['data']['isSuggestion']?'Suggested\x20by':'add'==_0x5835d2['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x5835d2['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x394064['to']('type',_0xf70293=>'ck-revision-change__'+_0xf70293)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x1a6dc7}]},{'text':'\x20'+_0x5835d2['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x4b6924(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x24d592){super(),this['id']=_0x24d592['id']||_0x198eec(),this['author']=_0x24d592['author'],this['type']=_0x24d592['type'],this['data']=_0x24d592['data']||{},this['rootName']=_0x24d592['rootName'],this['set']('createdAt',_0x24d592['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(_0x53f432,_0x4c8200){this['newRevisionId']=_0x53f432,this['oldRevisionId']=_0x4c8200,this['changes']=new _0x311c03();}['_setChanges'](_0x2682e3){for(const _0x129004 of _0x2682e3)this['changes']['add'](_0x129004);}}const tt={'c':_0x39425f,'a':_0x1f0dbd,'e':_0x5546b0,'r':_0x5aa417,'u':_0x139092};class d extends _0x12f93a{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x36012e,_0x29d25c,A];}constructor(_0x365d1c){super(_0x365d1c),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',(_0x4c213a,_0x2e4abc,_0xc7d817)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x53c06a=>{for(const _0x314b90 of this['editor']['editing']['view']['document']['roots'])_0xc7d817?_0x53c06a['removeClass']('ck-editor__editable__overlay',_0x314b90):_0x53c06a['addClass']('ck-editor__editable__overlay',_0x314b90);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x4dac58=>null!==_0x4dac58),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x4642b2,_0x313297,_0x43cfc2)=>_0x4642b2&&_0x43cfc2?_0x313297['changes']['getIndex'](_0x43cfc2):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x53e249,_0x15024f)=>_0x53e249?_0x15024f['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x29d25c);}['init'](){const _0x238694=this['editor'],_0x33bacd=new yt(_0x238694,{'direction':'backward'}),_0x13d18e=new yt(_0x238694,{'direction':'forward'});(_0x238694['commands']['add']('showPreviousChange',_0x33bacd),_0x238694['commands']['add']('showNextChange',_0x13d18e),_0x238694['commands']['add']('restoreRevision',new bt(_0x238694)),this['on']('change:numberOfChanges',()=>{_0x33bacd['refresh'](),_0x13d18e['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x238694['enableReadOnlyMode']('revision-viewer'),_0x238694['plugins']['has']('WidgetToolbarRepository'))&&_0x238694['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x1721bf){await this['loadRevisionData'](_0x1721bf);const _0x38b5a9={};for(const _0x4d4890 in _0x1721bf['diffData']){if(_0x1721bf['diffData'][_0x4d4890]['attachChange']&&!_0x1721bf['diffData'][_0x4d4890]['attachChange']['isAttached'])continue;const _0x553038=this['_removeRevisionMarkers'](JSON['parse'](_0x1721bf['diffData'][_0x4d4890]['insertions'])),_0xcd460c=this['editor']['editing']['view']['document'],_0x2341c9=new _0x42f1fd(_0xcd460c,_0x553038['map'](_0x97622a=>this['_getViewObj'](_0x97622a)));this['editor']['data']['processor']['useFillerType']('marked'),_0x38b5a9[_0x4d4890]=this['editor']['data']['processor']['toData'](_0x2341c9),this['editor']['data']['processor']['useFillerType']('default');}return _0x38b5a9;}async['getRevisionRootsAttributes'](_0x1989ec){await this['loadRevisionData'](_0x1989ec);const _0x182d50={};for(const _0x201706 in _0x1989ec['diffData'])_0x1989ec['diffData'][_0x201706]['attachChange']&&!_0x1989ec['diffData'][_0x201706]['attachChange']['isAttached']||(_0x182d50[_0x201706]=_0x1989ec['diffData'][_0x201706]['attributesAfter']||{});return _0x182d50;}['_removeRevisionMarkers'](_0x148f73){return(_0x148f73=_0x148f73['filter'](_0x322168=>!_0x322168['name']||'revision-start'!==_0x322168['name']&&'revision-end'!==_0x322168['name']))['forEach'](_0x462c17=>{'string'!=typeof _0x462c17&&(_0x462c17['children']=this['_removeRevisionMarkers'](_0x462c17['children']),_0x462c17['attributes']=_0x462c17['attributes']['filter'](_0x9f6f9b=>!_0x9f6f9b[0x0]['startsWith']('data-revision-')));}),_0x148f73;}async['compare'](_0x1625d2,_0x2e31a1,_0x3b30d5=!0x1){if(!this['isEnabled'])return;const _0xb4a959=this['diff'],_0x153ab1=this['repository'],_0x211596='string'==typeof _0x1625d2?_0x153ab1['getRevision'](_0x1625d2):_0x1625d2,_0x48a7b0='string'==typeof _0x2e31a1?_0x153ab1['getRevision'](_0x2e31a1):_0x2e31a1,_0x423305=_0x211596['id'],_0x12012a=_0x48a7b0?_0x48a7b0['id']:null;if(!_0x3b30d5&&this['diff']&&this['diff']['newRevisionId']===_0x423305&&this['diff']['oldRevisionId']===_0x12012a)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x423305,_0x12012a);const _0x376d41=this['_getRevisionsRange'](_0x211596,_0x48a7b0,!0x0)['map'](_0x19d4d8=>this['loadRevisionData'](_0x19d4d8));return _0x376d41['push'](new Promise(_0x18dfa7=>{setTimeout(_0x18dfa7,0x14);})),Promise['all'](_0x376d41)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x2a5116=this['_getDiff'](_0x423305,_0x12012a);for(const _0x4b891d of _0x2a5116['changes'])this['_changeIdToChange']['set'](_0x4b891d['id'],_0x4b891d);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x64efd3=>{for(const _0x3812f6 of this['editor']['model']['document']['getRootNames']())_0x64efd3['detachRoot'](_0x3812f6);for(const _0xda2614 of Object['keys'](_0x2a5116['model'])){const _0x2b1934=_0x64efd3['addRoot'](_0xda2614);for(const _0x41d7f5 of Object['keys'](_0x2a5116['attributes'][_0xda2614]))_0x64efd3['setAttribute'](_0x41d7f5,_0x2a5116['attributes'][_0xda2614][_0x41d7f5],_0x2b1934);_0x64efd3['insert'](_0x2a5116['model'][_0xda2614],_0x2b1934,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x2a5116['changes'])),this['isReady']=!0x0;})['catch'](_0x123d81=>{console['error'](_0x123d81),this['_cleanUp'](),_0xb4a959&&(this['diff']=_0xb4a959),this['isReady']=!0x0;});}['addRevisionData'](_0x44d065,_0x249ab8){const _0x2daa9c=this['repository']['createRevision'](_0x44d065);return _0x2daa9c['on']('_update',(_0x59c075,_0x5c49de,_0x2d3a27)=>_0x249ab8(_0x5c49de,_0x2d3a27,_0x2daa9c)),this['repository']['addRevision'](_0x2daa9c),_0x2daa9c;}['loadRevisionData'](_0x66ec7a){if(!_0x66ec7a||_0x66ec7a['diffData'])return Promise['resolve']();{const _0x4eea6e=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x4eea6e,'revisionId':_0x66ec7a['id']})['then'](_0x22a33f=>{_0x66ec7a['_update']({'diffData':_0x22a33f['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},_0x3ca6c9=>{for(const _0x1b9cfb of this['editor']['model']['document']['getRootNames']())_0x3ca6c9['detachRoot'](_0x1b9cfb);});}['_sortAndFilterDiffChanges'](_0x11cdf7){const _0x14e0eb=[],_0x595f94=new Map();for(const _0x3968ca of this['editor']['model']['document']['getRootNames']()){const _0x5eb56a=this['editor']['editing']['view']['getDomRoot'](_0x3968ca);if(!_0x5eb56a)continue;const _0x4def06=_0x5eb56a['getClientRects']()['item'](0x0);_0x4def06&&(_0x14e0eb['push'](_0x3968ca),_0x595f94['set'](_0x3968ca,_0x4def06));}return _0x14e0eb['sort']((_0x27ccc1,_0x2c2a4b)=>{const _0x4d65c4=_0x595f94['get'](_0x27ccc1),_0x301cf3=_0x595f94['get'](_0x2c2a4b);return _0x4d65c4['y']-_0x301cf3['y']||_0x4d65c4['x']-_0x301cf3['x'];}),(_0x11cdf7=_0x11cdf7['filter'](_0x55c53c=>_0x14e0eb['includes'](_0x55c53c['rootName'])))['sort']((_0x22a6a7,_0x2a7325)=>_0x14e0eb['indexOf'](_0x22a6a7['rootName'])-_0x14e0eb['indexOf'](_0x2a7325['rootName'])),_0x11cdf7;}['_makeTape'](_0x3209c4){const _0x2f5b6b=Array['from'](_0x3209c4['markers'])['filter'](([_0x5e4e0c,_0x2c090c])=>_0x5e4e0c['startsWith']('revision:')&&!_0x2c090c['isCollapsed']),_0xd4b2=Array['from'](this['editor']['model']['createRangeIn'](_0x3209c4)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x2f5b6b['length'])for(const _0x1871a8 of _0xd4b2){const [_0x58e379,_0x2b50fd]=_0x2f5b6b[0x0],[,_0x470359,_0x3c9281]=_0x58e379['split'](':');if(_0x2b50fd['end']['isEqual'](_0x1871a8['nextPosition'])&&_0x2f5b6b['shift'](),(_0x1871a8['previousPosition']['isEqual'](_0x2b50fd['start'])||_0x1871a8['previousPosition']['isAfter'](_0x2b50fd['start']))&&('insertion'==_0x470359?_0x1871a8['isAdded']={'userId':_0x3c9281}:'deletion'==_0x470359&&(_0x1871a8['isRemoved']={'userId':_0x3c9281})),0x0==_0x2f5b6b['length'])break;}return _0xd4b2;}['_refreshStartEndIndex'](_0x5c1b8a){const _0x3997b6=new Map();for(let _0x2f47f2=0x0;_0x2f47f2<_0x5c1b8a['length'];_0x2f47f2++)'text'===_0x5c1b8a[_0x2f47f2]['type']?(_0x5c1b8a[_0x2f47f2]['item']['startIndex']=_0x2f47f2,_0x5c1b8a[_0x2f47f2]['item']['endIndex']=_0x2f47f2):('elementStart'===_0x5c1b8a[_0x2f47f2]['type']?_0x5c1b8a[_0x2f47f2]['item']['startIndex']=_0x2f47f2:'elementEnd'===_0x5c1b8a[_0x2f47f2]['type']&&(_0x5c1b8a[_0x2f47f2]['item']['endIndex']=_0x2f47f2),_0x3997b6['set'](_0x5c1b8a[_0x2f47f2]['id'],_0x2f47f2));for(const _0x2d2815 of _0x3997b6['values']())'elementStart'===_0x5c1b8a[_0x2d2815]['type']?_0x5c1b8a[_0x2d2815]['item']['endIndex']=_0x3997b6['get'](_0x5c1b8a[_0x2d2815]['pairId']):'elementEnd'===_0x5c1b8a[_0x2d2815]['type']&&(_0x5c1b8a[_0x2d2815]['item']['startIndex']=_0x3997b6['get'](_0x5c1b8a[_0x2d2815]['pairId']));}['_processTape'](_0x83f59d){for(let _0x5f525a=0x0;_0x5f525a<_0x83f59d['length'];_0x5f525a++){if('elementStart'===_0x83f59d[_0x5f525a]['type'])_0x83f59d[_0x5f525a]['item']['startIndex']=_0x5f525a;else{if('elementEnd'===_0x83f59d[_0x5f525a]['type']){_0x83f59d[_0x5f525a]['item']['endIndex']=_0x5f525a;const _0x3506ec=_0x83f59d[_0x5f525a]['item']['startIndex'];_0x83f59d[_0x3506ec]['pairId']=_0x83f59d[_0x5f525a]['id'],_0x83f59d[_0x5f525a]['pairId']=_0x83f59d[_0x3506ec]['id'];}else _0x83f59d[_0x5f525a]['item']['startIndex']=_0x5f525a,_0x83f59d[_0x5f525a]['item']['endIndex']=_0x5f525a,_0x83f59d[_0x5f525a]['pairId']=null;}_0x83f59d[_0x5f525a]['markersStart']||(_0x83f59d[_0x5f525a]['markersStart']=[],_0x83f59d[_0x5f525a]['markersEnd']=[]);}}['_markInsertions'](_0x38bbb7,_0x293c5e){const _0x3c70b2=_0x38bbb7['filter'](_0x350dbb=>!_0x350dbb['isAdded']);for(let _0x5b11bb=0x0;_0x5b11bb<_0x293c5e['length'];_0x5b11bb++)_0x293c5e[_0x5b11bb]['isAdded']&&(_0x3c70b2[_0x5b11bb]['isAdded']=_0x293c5e[_0x5b11bb]['isAdded']);}['_makeModelFromViewString'](_0x2d6f26){const _0x2cc854=JSON['parse'](_0x2d6f26),_0x1cadfd=this['editor']['editing']['view']['document'],_0x43fb8c=new _0x42f1fd(_0x1cadfd,_0x2cc854['map'](_0x6a084=>this['_getViewObj'](_0x6a084)));return this['editor']['data']['toModel'](_0x43fb8c);}['_getViewObj'](_0x1ebdb9){const _0x54608d=this['editor']['editing']['view']['document'];if('string'==typeof _0x1ebdb9)return new _0x4095d9(_0x54608d,_0x1ebdb9);{const _0x52f21a=_0x1ebdb9['children']['map'](_0x6be4f=>this['_getViewObj'](_0x6be4f));return new(tt[_0x1ebdb9['type']]||_0x701643)(_0x54608d,_0x1ebdb9['name'],_0x1ebdb9['attributes'],_0x52f21a);}}['_getDiff'](_0x266148,_0x2dce8d=null){const _0x44296f=this['repository']['getRevision'](_0x266148),_0x29bdbd=_0x2dce8d?this['repository']['getRevision'](_0x2dce8d):null,_0x575b4b=this['_getRevisionsRange'](_0x44296f,_0x29bdbd),_0x4361bd=_0x575b4b[_0x575b4b['length']-0x1],_0x138f9d=new Map(),_0x1efc2e={'model':{},'attributes':{},'changes':[]},_0x346a34=new Set(),_0x5c7756=new Map();for(let _0x52e453=_0x575b4b['length']-0x1;_0x52e453>=0x0;_0x52e453--){const _0x2d8121=_0x575b4b[_0x52e453];for(const _0x158abc of Object['keys'](_0x2d8121['diffData']))if(_0x2d8121['diffData'][_0x158abc]['attachChange']){const _0x45eb51=_0x2d8121['diffData'][_0x158abc]['attachChange'];_0x45eb51['isAttached']?(_0x346a34['add'](_0x158abc),_0x5c7756['has'](_0x158abc)&&_0x5c7756['get'](_0x158abc)['userId']==_0x45eb51['userId']?_0x5c7756['delete'](_0x158abc):_0x5c7756['set'](_0x158abc,_0x45eb51)):_0x5c7756['has'](_0x158abc)?(_0x346a34['delete'](_0x158abc),_0x5c7756['delete'](_0x158abc)):(_0x346a34['add'](_0x158abc),_0x5c7756['set'](_0x158abc,_0x45eb51));}else _0x346a34['add'](_0x158abc);}for(const _0x395bd4 of _0x346a34){const _0x406772=_0x5c7756['has'](_0x395bd4)&&!_0x5c7756['get'](_0x395bd4)['isAttached'];let _0x1e3035=_0x406772?_0x575b4b['length']-0x1:0x0;const _0x532e14=_0x406772?-0x1:0x1;for(;_0x575b4b[_0x1e3035];){const _0x18310e=_0x575b4b[_0x1e3035];if(_0x18310e['diffData'][_0x395bd4]){const _0x382b59=_0x406772?_0x18310e['diffData'][_0x395bd4]['attributesBefore']:_0x18310e['diffData'][_0x395bd4]['attributesAfter'];_0x1efc2e['attributes'][_0x395bd4]=_0x382b59?_0x2ade0a(_0x382b59):{};break;}_0x1e3035+=_0x532e14;}}for(const _0x434b20 of _0x575b4b){_0x434b20['model']={};for(const _0x383fc2 of _0x434b20['authors'])_0x138f9d['set'](_0x383fc2['id'],_0x383fc2);for(const _0x3f3691 of _0x346a34){const _0x484a8b=_0x434b20['diffData'][_0x3f3691]?_0x434b20['diffData'][_0x3f3691]['insertions']:'[]',_0x4cf7b3=_0x434b20['diffData'][_0x3f3691]?_0x434b20['diffData'][_0x3f3691]['deletions']:'[]';_0x434b20['model'][_0x3f3691]={'insertions':this['_makeModelFromViewString'](_0x484a8b),'deletions':this['_makeModelFromViewString'](_0x4cf7b3)};}}for(const _0x5314da of _0x346a34){let _0x2eac5c=null,_0x5e1f1a=0x0;const _0x3f99ba=new Map(Array['from'](_0x44296f['model'][_0x5314da]['insertions']['markers'])['filter'](([_0x4ba315])=>!_0x4ba315['startsWith']('revision:')));let _0x5ca161=0x0;for(const _0x1810bf of _0x575b4b){const _0x398c01=this['_makeTape'](_0x1810bf['model'][_0x5314da]['insertions']);_0x1810bf==_0x44296f?(_0x2eac5c=_0x398c01,_0x5e1f1a=_0x2eac5c['length'],_0x2eac5c['forEach'](_0x564894=>{_0x564894['id']=_0x5ca161++;}),this['_processTape'](_0x2eac5c)):this['_markInsertions'](_0x2eac5c,_0x398c01);const _0x3fb837=_0x2eac5c['filter'](_0x551779=>!_0x551779['isAdded'])['map'](_0xb70637=>_0xb70637['id']);let _0x17b66b=0x0;const _0x2e8939=this['_makeTape'](_0x1810bf['model'][_0x5314da]['deletions']);_0x2e8939['forEach'](_0x3db40e=>{_0x3db40e['isRemoved']?_0x3db40e['id']=_0x5e1f1a++:_0x3db40e['id']=_0x3fb837[_0x17b66b++];}),this['_processTape'](_0x2e8939),this['_setDistance'](_0x2eac5c,'isAdded'),this['_setDistance'](_0x2e8939,'isRemoved'),_0x1810bf==_0x44296f&&this['_markMarkers'](_0x2eac5c,_0x3f99ba),_0x2eac5c=this['_joinTapes'](_0x2eac5c,_0x2e8939),this['_refreshStartEndIndex'](_0x2eac5c),this['_setDistance'](_0x2eac5c,'isRemoved');}_0x2eac5c=_0x2eac5c['filter'](_0x226cec=>!(_0x226cec['isAdded']&&_0x226cec['isRemoved']));const _0x1a5239=new Map(_0x4361bd['model'][_0x5314da]['deletions']['markers']),_0x2a600f=new Set(_0x3f99ba['keys']());for(const _0x1ed054 of _0x1a5239['keys']())_0x2a600f['delete'](_0x1ed054);this['_markSuggestions'](_0x2eac5c,_0x2a600f),this['_fixObsoleteTags'](_0x2eac5c),_0x2eac5c=this['_removeMissingPairs'](_0x2eac5c),_0x2eac5c=this['_markMismatchedRemovedTags'](_0x2eac5c),_0x2eac5c=this['_removeUnsupportedChanges'](_0x2eac5c);const {root:_0x101b94,changes:_0x223730}=this['_makeModelFromTape'](_0x2eac5c,_0x138f9d,_0x5314da);_0x1efc2e['model'][_0x5314da]=_0x101b94;const _0x12e651=_0x5c7756['get'](_0x5314da);if(_0x12e651){const _0x2d3009=_0x138f9d['get'](_0x12e651['userId']),_0x20decc=new r({'author':_0x2d3009,'type':_0x12e651['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x5314da});_0x223730['unshift'](_0x20decc),_0x1efc2e['attributes'][_0x5314da]['revisionHistoryAttachChange']=_0x20decc['id'];}_0x1efc2e['changes']=_0x1efc2e['changes']['concat'](_0x223730);}return _0x1efc2e;}['_markMarkers'](_0xf91180,_0x5c9c9c){for(let _0x2d8071=0x0;_0x2d8071<_0xf91180['length'];_0x2d8071++)for(const [_0x3fd900,_0x11142d]of _0x5c9c9c)_0x11142d['start']['isEqual'](_0xf91180[_0x2d8071]['previousPosition'])&&_0xf91180[_0x2d8071]['markersStart']['push'](_0x3fd900),_0x11142d['end']['isEqual'](_0xf91180[_0x2d8071]['nextPosition'])&&_0xf91180[_0x2d8071]['markersEnd']['push'](_0x3fd900);}['_joinTapes'](_0x227e0e,_0x134651){let _0x3ab239=[],_0x33fc58=0x0,_0x41c59a=0x0;for(;_0x33fc58<_0x227e0e['length']||_0x41c59a<_0x134651['length'];){const _0x1a259c=_0x227e0e[_0x33fc58]||{},_0x180b23=_0x134651[_0x41c59a]||{};if(_0x1a259c['id']==_0x180b23['id'])_0x33fc58++,_0x41c59a++,_0x3ab239['push'](_0x1a259c);else{if(_0x180b23['isRemoved']&&_0x1a259c['isAdded']){const {commonTape:_0x292254,iEnd:_0x1c45bb,jEnd:_0x96b298}=this['_threeWayMerge'](_0x227e0e,_0x33fc58,_0x134651,_0x41c59a);_0x3ab239=_0x3ab239['concat'](_0x292254),_0x33fc58=_0x1c45bb,_0x41c59a=_0x96b298;}else _0x180b23['isRemoved']?(_0x41c59a++,_0x3ab239['push'](_0x180b23)):(_0x33fc58++,_0x3ab239['push'](_0x1a259c));}}return _0x3ab239;}['_markSuggestions'](_0x2940ee,_0x421423){const _0x239257=[];for(let _0x5b5af0=0x0;_0x5b5af0<_0x2940ee['length'];_0x5b5af0++){for(let _0x920792=0x0;_0x920792<_0x2940ee[_0x5b5af0]['markersStart']['length'];_0x920792++){const _0x41ed40=_0x2940ee[_0x5b5af0]['markersStart'][_0x920792];if(!_0x421423['has'](_0x41ed40))continue;const {group:_0xf77ad8,type:_0x2b0b6d,authorId:_0x36969b}=_0x506cc3(_0x41ed40);'revision-suggestion'!=_0xf77ad8||'insertion'!=_0x2b0b6d&&'deletion'!=_0x2b0b6d||(_0x239257['unshift']({'type':_0x2b0b6d,'name':_0x41ed40,'userId':_0x36969b}),_0x2940ee[_0x5b5af0]['markersStart']['splice'](_0x920792,0x1),_0x920792--);}_0x4ecbb8(_0x2940ee[_0x5b5af0]);for(let _0x2f0d08=0x0;_0x2f0d08<_0x2940ee[_0x5b5af0]['markersEnd']['length'];_0x2f0d08++){const _0x24450c=_0x2940ee[_0x5b5af0]['markersEnd'][_0x2f0d08];if(!_0x421423['has'](_0x24450c))continue;const {group:_0x3e753c,type:_0x57327b}=_0x506cc3(_0x24450c);if('revision-suggestion'!=_0x3e753c||'insertion'!=_0x57327b&&'deletion'!=_0x57327b)continue;_0x2940ee[_0x5b5af0]['markersEnd']['splice'](_0x2f0d08,0x1),_0x2f0d08--;const _0xc4c421=_0x239257['findIndex'](_0x4006c2=>_0x4006c2['name']==_0x24450c);_0xc4c421>-0x1&&_0x239257['splice'](_0xc4c421,0x1);}}function _0x506cc3(_0x3b2ef3){const _0x5104d8=_0x3b2ef3['split'](':');return{'group':_0x5104d8[0x0],'type':_0x5104d8[0x1],'subType':_0x5104d8['length']>=0x5?_0x5104d8[0x2]:null,'id':_0x5104d8['length']<0x5?_0x5104d8[0x2]:_0x5104d8[0x3],'authorId':_0x5104d8['length']<0x5?_0x5104d8[0x3]:_0x5104d8[0x4],'markerCount':0x6==_0x5104d8['length']?_0x5104d8[0x5]:null};}function _0x4ecbb8(_0x4af8bd){for(let _0x19d55a=0x0;_0x19d55a<_0x239257['length'];_0x19d55a++){if(_0x4af8bd['isAdded']&&'insertion'==_0x239257[_0x19d55a]['type'])return _0x4af8bd['isAddSuggestion']=_0x239257[_0x19d55a],void delete _0x4af8bd['isAdded'];if(!_0x4af8bd['isAdded']&&!_0x4af8bd['isRemoved']&&'deletion'==_0x239257[_0x19d55a]['type'])return void(_0x4af8bd['isRemoveSuggestion']=_0x239257[_0x19d55a]);}}}['_setDistance'](_0x33cc9b,_0x383c91){let _0x142308=0x0,_0x492cdc=!0x1;const _0x14b4aa=new Map();for(const _0x56d4e5 of _0x33cc9b)_0x56d4e5[_0x383c91]?_0x492cdc&&(_0x142308++,_0x492cdc=!0x1):(_0x142308++,_0x492cdc=!0x0),_0x14b4aa['set'](_0x56d4e5['id'],_0x142308);for(let _0x3c1814=0x0;_0x3c1814<_0x33cc9b['length'];_0x3c1814++){if('isRemoved'==_0x383c91&&_0x33cc9b[_0x3c1814]['isAdded']||'isAdded'==_0x383c91&&_0x33cc9b[_0x3c1814]['isRemoved'])continue;if('text'==_0x33cc9b[_0x3c1814]['type']){_0x33cc9b[_0x3c1814]['distance']=0x0;continue;}const _0x29ff83=_0x14b4aa['get'](_0x33cc9b[_0x3c1814]['pairId']),_0x202a24=_0x14b4aa['get'](_0x33cc9b[_0x3c1814]['id']);_0x33cc9b[_0x3c1814]['distance']=_0x29ff83-_0x202a24;}}['_getRevisionsRange'](_0xd36a6f,_0x2f08dc,_0x2dd7f7=!0x1){const _0x48578a=[];let _0x5bfa42=this['repository']['getIndex'](_0xd36a6f),_0x53331f=this['repository']['getIndex'](_0x2f08dc);for(-0x1==_0x53331f&&(_0x53331f=this['repository']['_revisions']['length'],_0x2dd7f7=!0x1);_0x5bfa42<_0x53331f;)_0x48578a['push'](this['repository']['getRevision'](_0x5bfa42)),_0x5bfa42++;return _0x2dd7f7&&_0x48578a['push'](this['repository']['getRevision'](_0x5bfa42)),_0x48578a;}['_threeWayMerge'](_0x5dc481,_0x50c257,_0x1c2975,_0xc59b9f){const _0x2a90d1=this['editor']['model']['schema'];let _0x229976=_0x50c257;for(;_0x5dc481[_0x229976]&&_0x5dc481[_0x229976]['isAdded'];)_0x229976++;let _0x54aeea=_0xc59b9f;for(;_0x1c2975[_0x54aeea]&&_0x1c2975[_0x54aeea]['isRemoved'];)_0x54aeea++;_0x1af91e(_0x5dc481,_0x50c257,_0x229976),_0x1af91e(_0x1c2975,_0xc59b9f,_0x54aeea);const _0x45dbf7=_0x1c2975['slice'](_0xc59b9f,_0x54aeea)['concat'](_0x5dc481['slice'](_0x50c257,_0x229976));return _0x45dbf7['sort']((_0x34e831,_0x50137e)=>_0x34e831['side']!=_0x50137e['side']?_0x34e831['side']-_0x50137e['side']:_0x34e831['level']!=_0x50137e['level']?_0x34e831['level']-_0x50137e['level']:_0x34e831['distance']!=_0x50137e['distance']?_0x50137e['distance']-_0x34e831['distance']:!!_0x34e831['isAdded']!=!!_0x50137e['isAdded']?-0x1==_0x34e831['side']||0x0==_0x34e831['side']?_0x34e831['isAdded']?-0x1:0x1:_0x34e831['isAdded']?0x1:-0x1:_0x34e831['index']-_0x50137e['index']),{'commonTape':_0x45dbf7,'iEnd':_0x229976,'jEnd':_0x54aeea};function _0x1af91e(_0x4cc6f9,_0x5e4a89,_0x110f59){let _0xf3d503=-0x1,_0x350c1a=Number['POSITIVE_INFINITY'],_0x642aae=!0x0;for(let _0x4850b1=_0x5e4a89;_0x4850b1<_0x110f59;_0x4850b1++)if(_0x2a90d1['isInline'](_0x4cc6f9[_0x4850b1]['item'])||(_0x642aae=!0x1),_0x4cc6f9[_0x4850b1]['item']['startIndex']<_0x5e4a89&&(_0xf3d503=_0x4850b1),_0x4cc6f9[_0x4850b1]['item']['endIndex']>=_0x110f59){_0x350c1a=_0x4850b1;break;}_0x642aae&&(_0xf3d503=_0x110f59-0x1);for(let _0x326891=_0x5e4a89;_0x326891<_0x110f59;_0x326891++)_0x4cc6f9[_0x326891]['side']=_0x326891<=_0xf3d503?-0x1:_0x326891<_0x350c1a?0x0:0x1,_0x4cc6f9[_0x326891]['index']=_0x326891;let _0xd28ece=0x0;for(let _0x48fdcb=_0x5e4a89;_0x48fdcb<=_0xf3d503;_0x48fdcb++)0x0==_0x4cc6f9[_0x48fdcb]['distance']?_0x4cc6f9[_0x48fdcb]['level']=_0xd28ece:(_0xd28ece++,_0x4cc6f9[_0x48fdcb]['level']=_0xd28ece,_0xd28ece++);for(let _0x5a7820=_0x5e4a89;_0x5a7820<_0x110f59;_0x5a7820++)0x0==_0x4cc6f9[_0x5a7820]['side']&&(_0x4cc6f9[_0x5a7820]['level']=_0xd28ece);_0xd28ece=0x0;for(let _0x4108a3=_0x110f59-0x1;_0x4108a3>=_0x350c1a;_0x4108a3--)0x0==_0x4cc6f9[_0x4108a3]['distance']?_0x4cc6f9[_0x4108a3]['level']=_0xd28ece:(_0xd28ece--,_0x4cc6f9[_0x4108a3]['level']=_0xd28ece,_0xd28ece--);}}['_fixObsoleteTags'](_0x2a7354){const _0x233b9d=new Map(),_0x1aec60=this['editor']['model']['schema'];for(let _0x430473=0x1;_0x430473<_0x2a7354['length'];_0x430473++){let _0x2886dd,_0x11e7c1,_0x53fb0d;const _0x51e449=_0x2a7354[_0x430473],_0x42e2c9=_0x2a7354[_0x430473-0x1];if('text'==_0x51e449['type'])continue;if(_0x51e449['type']!=_0x42e2c9['type'])continue;if(!_0x1aec60['isBlock'](_0x42e2c9['item'])||_0x1aec60['isLimit'](_0x42e2c9['item']))continue;if(!_0x1aec60['isBlock'](_0x51e449['item'])||_0x1aec60['isLimit'](_0x51e449['item']))continue;if((_0x2a7354[_0x430473]['isAdded']||_0x2a7354[_0x430473]['isAddSuggestion'])&&_0x2a7354[_0x430473-0x1]['isRemoved'])_0x2886dd=_0x2a7354[_0x430473],_0x11e7c1=_0x2a7354[_0x430473-0x1],_0x53fb0d=_0x430473-0x1;else{if(!_0x2a7354[_0x430473]['isRemoved']||!_0x2a7354[_0x430473-0x1]['isAdded']&&!_0x2a7354[_0x430473-0x1]['isAddSuggestion'])continue;_0x2886dd=_0x2a7354[_0x430473-0x1],_0x11e7c1=_0x2a7354[_0x430473],_0x53fb0d=_0x430473;}const _0x23ed0c=_0x2886dd['level']==_0x11e7c1['level'],_0x28c3fb=Math['abs'](_0x2886dd['level'])<Math['abs'](_0x11e7c1['level'])&&0x0==_0x11e7c1['distance'];(_0x23ed0c||_0x28c3fb)&&(_0x233b9d['set'](_0x11e7c1['id'],_0x2886dd['id']),_0x2a7354['splice'](_0x53fb0d,0x1),_0x430473--,_0x2886dd['isAdded']=!0x1);}for(let _0x3f2f31=0x0;_0x3f2f31<_0x2a7354['length'];_0x3f2f31++)_0x233b9d['has'](_0x2a7354[_0x3f2f31]['pairId'])&&(_0x2a7354[_0x3f2f31]['pairId']=_0x233b9d['get'](_0x2a7354[_0x3f2f31]['pairId']));}['_removeMissingPairs'](_0x3d74ae){const _0xa3a114=new Set(_0x3d74ae['map'](_0x3a4fa6=>_0x3a4fa6['id']));for(let _0x3b4ebe=0x0;_0x3b4ebe<_0x3d74ae['length'];_0x3b4ebe++)_0xa3a114['has'](_0x3d74ae[_0x3b4ebe]['pairId'])||0x0==_0x3d74ae[_0x3b4ebe]['distance']||(_0x3d74ae[_0x3b4ebe]['isIncorrect']=!0x0);return _0x3d74ae['filter'](_0x230613=>!_0x230613['isIncorrect']);}['_markMismatchedRemovedTags'](_0x3cf221){const _0x47f63c=new Set();for(let _0x3bf2bd=0x0;_0x3bf2bd<_0x3cf221['length'];_0x3bf2bd++){if(_0x47f63c['has'](_0x3cf221[_0x3bf2bd]['id'])&&_0x3cf221[_0x3bf2bd]['isRemoved']&&(_0x3cf221[_0x3bf2bd]['isIncorrect']=!0x0),_0x3cf221[_0x3bf2bd]['isIncorrect'])continue;if(0x0==_0x3cf221[_0x3bf2bd]['distance'])continue;if('elementStart'!=_0x3cf221[_0x3bf2bd]['type'])continue;if(null==_0x3cf221[_0x3bf2bd]['pairId'])continue;let _0x5bce89=_0x3bf2bd+0x1,_0x20f3af=0x0;for(;_0x3cf221[_0x5bce89]['id']!=_0x3cf221[_0x3bf2bd]['pairId'];)'elementStart'==_0x3cf221[_0x5bce89]['type']?_0x20f3af++:'elementEnd'==_0x3cf221[_0x5bce89]['type']&&_0x20f3af--,_0x5bce89++;if(0x0!=_0x20f3af){if(_0x3cf221[_0x3bf2bd]['isRemoved'])_0x3cf221[_0x3bf2bd]['isIncorrect']=!0x0;else{for(;_0x5bce89!=_0x3bf2bd;)_0x3cf221[_0x5bce89]['isRemoved']&&0x0!=_0x3cf221[_0x5bce89]['distance']&&(_0x3cf221[_0x5bce89]['isIncorrect']=!0x0,_0x47f63c['add'](_0x3cf221[_0x5bce89]['pairId'])),_0x5bce89--;}}}return _0x3cf221['filter'](_0x4bc674=>!_0x4bc674['isIncorrect']);}['_removeUnsupportedChanges'](_0x4c5fc0){const _0x671e66=this['editor']['model']['schema'];for(let _0xc67aea=0x0;_0xc67aea<_0x4c5fc0['length'];_0xc67aea++){if(!(_0x4c5fc0[_0xc67aea]['isAdded']||_0x4c5fc0[_0xc67aea]['isAddSuggestion']||_0x4c5fc0[_0xc67aea]['isRemoved']||_0x4c5fc0[_0xc67aea]['isRemoveSuggestion']))continue;if(0x0==_0x4c5fc0[_0xc67aea]['distance'])continue;const _0x501b4e=_0x4c5fc0[_0xc67aea]['item'];_0x671e66['isBlock'](_0x501b4e)||_0x671e66['isLimit'](_0x501b4e)||(_0x4c5fc0[_0xc67aea]['isAdded']&&delete _0x4c5fc0[_0xc67aea]['isAdded'],_0x4c5fc0[_0xc67aea]['isAddSuggestion']&&delete _0x4c5fc0[_0xc67aea]['isAddSuggestion'],_0x4c5fc0[_0xc67aea]['isRemoveSuggestion']&&delete _0x4c5fc0[_0xc67aea]['isRemoveSuggestion'],_0x4c5fc0[_0xc67aea]['isRemoved']&&(_0x4c5fc0[_0xc67aea]['isIncorrect']=!0x0));}return _0x4c5fc0['filter'](_0x13aa27=>!_0x13aa27['isIncorrect']);}['_makeModelFromTape'](_0x2d2e7b,_0x40d5d1,_0x42156a){const _0x45962b=new wt(),_0x2a9fdd=[],_0x173809=new Map(),_0x4947d1=this['editor']['model'],_0x918746=_0x4947d1['schema'],_0xdc6305=[_0x45962b],_0x5c1fe6={},_0x3dc823={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x173bc5=null;const _0x5de615=[0x0];for(let _0x3015bf=0x0;_0x3015bf<_0x2d2e7b['length'];_0x3015bf++){let _0x55629f,_0xac2056;if('elementStart'===_0x2d2e7b[_0x3015bf]['type']){_0x55629f=_0x4947d1['createPositionFromPath'](_0x45962b,_0x5de615);const _0x1794ca=new ft(_0x2d2e7b[_0x3015bf]['item']['name'],_0x2d2e7b[_0x3015bf]['item']['getAttributes']());_0xdc6305[0x0]['_appendChild'](_0x1794ca),_0x5de615['push'](0x0),_0xdc6305['unshift'](_0x1794ca),_0xac2056=_0x4947d1['createPositionFromPath'](_0x45962b,_0x5de615),_0x173bc5=null;}else{if('elementEnd'===_0x2d2e7b[_0x3015bf]['type'])_0xdc6305['shift'](),_0x55629f=_0x4947d1['createPositionFromPath'](_0x45962b,_0x5de615),_0x5de615['pop'](),_0x5de615[_0x5de615['length']-0x1]++,_0xac2056=_0x4947d1['createPositionFromPath'](_0x45962b,_0x5de615),_0x173bc5=null;else{if(_0x55629f=_0x4947d1['createPositionFromPath'](_0x45962b,_0x5de615),_0x173bc5&&_0xb16e32(_0x173bc5,_0x2d2e7b[_0x3015bf]['item']))_0x173bc5['_data']+=_0x2d2e7b[_0x3015bf]['item']['data'];else{const _0x242d3a=new _t(_0x2d2e7b[_0x3015bf]['item']['data'],_0x2d2e7b[_0x3015bf]['item']['getAttributes']());_0xdc6305[0x0]['_appendChild'](_0x242d3a),_0x173bc5=_0x242d3a;}_0x5de615[_0x5de615['length']-0x1]+=_0x2d2e7b[_0x3015bf]['item']['offsetSize'],_0xac2056=_0x4947d1['createPositionFromPath'](_0x45962b,_0x5de615);}}for(const _0x45ca5b of _0x2d2e7b[_0x3015bf]['markersStart'])_0x173809['set'](_0x45ca5b,{'start':_0x55629f,'end':null});_0x21d404('isRemoveSuggestion',_0x3015bf,_0x55629f,_0xac2056),_0x21d404('isAddSuggestion',_0x3015bf,_0x55629f,_0xac2056),_0x21d404('isRemoved',_0x3015bf,_0x55629f,_0xac2056),_0x21d404('isAdded',_0x3015bf,_0x55629f,_0xac2056);for(const _0x33601c of _0x2d2e7b[_0x3015bf]['markersEnd']){_0x173809['get'](_0x33601c)['end']=_0xac2056;}}for(const [_0x15bde4,_0x1696a2]of _0x173809){const _0x543a8c=this['editor']['model']['createRange'](_0x1696a2['start'],_0x1696a2['end']);_0x45962b['markers']['set'](_0x15bde4,_0x543a8c);}return _0x2a9fdd['sort']((_0x19a043,_0x35e6b5)=>{const _0x1ddecc=_0x45962b['markers']['get']('revision:'+_0x19a043['id']),_0x31106c=_0x45962b['markers']['get']('revision:'+_0x35e6b5['id']);return _0x1ddecc['start']['isBefore'](_0x31106c['start'])?-0x1:_0x1ddecc['start']['isAfter'](_0x31106c['start'])?0x1:_0x1ddecc['end']['isBefore'](_0x31106c['end'])?-0x1:_0x1ddecc['end']['isAfter'](_0x31106c['end'])?0x1:'add'===_0x19a043['type']?-0x1:0x1;}),{'root':_0x45962b,'changes':_0x2a9fdd};function _0x21d404(_0x4e28fa,_0x237733,_0x4b1a07,_0xda7e8a){const _0x3e6589=!!_0x2d2e7b[_0x237733][_0x4e28fa],_0x4cf3a3=_0x3e6589?_0x2d2e7b[_0x237733][_0x4e28fa]['userId']:null,_0x4676fd=_0x237733===_0x2d2e7b['length']-0x1,_0x51b6b5=_0x3dc823[_0x4e28fa][0x0],_0x5ef15e=_0x918746['isObject'](_0x2d2e7b[_0x237733]['item']);!_0x5c1fe6[_0x4e28fa]&&_0x3e6589?_0x5c1fe6[_0x4e28fa]={'start':_0x4b1a07,'tapeItem':_0x2d2e7b[_0x237733],'userId':_0x4cf3a3,'type':_0x4e28fa}:_0x5c1fe6[_0x4e28fa]&&!_0x3e6589?(_0x5c1fe6[_0x4e28fa]['end']=_0x4b1a07,_0x21e603(_0x5c1fe6[_0x4e28fa]),_0x5c1fe6[_0x4e28fa]=null):_0x5c1fe6[_0x4e28fa]&&_0x3e6589&&_0x5c1fe6[_0x4e28fa]['userId']!==_0x4cf3a3&&(_0x5c1fe6[_0x4e28fa]['end']=_0x4b1a07,_0x51b6b5&&_0x51b6b5['userId']===_0x5c1fe6[_0x4e28fa]['userId']||_0x21e603(_0x5c1fe6[_0x4e28fa]),_0x5c1fe6[_0x4e28fa]={'start':_0x4b1a07,'tapeItem':_0x2d2e7b[_0x237733],'userId':_0x4cf3a3,'type':_0x4e28fa}),_0x5c1fe6[_0x4e28fa]&&_0x5ef15e&&('elementStart'!==_0x2d2e7b[_0x237733]['type']||_0x51b6b5&&_0x51b6b5['userId']===_0x4cf3a3||_0x3dc823[_0x4e28fa]['unshift']({'userId':_0x4cf3a3,'object':_0x2d2e7b[_0x237733]['item'],'change':_0x5c1fe6[_0x4e28fa]}),'elementEnd'===_0x2d2e7b[_0x237733]['type']&&_0x51b6b5&&_0x51b6b5['object']===_0x2d2e7b[_0x237733]['item']&&(_0x3dc823[_0x4e28fa]['shift'](),_0x5c1fe6[_0x4e28fa]=_0x51b6b5['change'])),_0x5c1fe6[_0x4e28fa]&&_0x4676fd&&(_0x5c1fe6[_0x4e28fa]['end']=_0xda7e8a,_0x21e603(_0x5c1fe6[_0x4e28fa]),_0x5c1fe6[_0x4e28fa]=null);}function _0x21e603({start:_0x3abd7f,end:_0xc0c75,tapeItem:_0x15c1b7,userId:_0x25819f,type:_0x4bd2f4}){const _0x2e0850=_0x15c1b7['item'],_0x3c57f0=_0x4947d1['schema']['isBlock'](_0x2e0850)&&!_0x4947d1['schema']['isLimit'](_0x2e0850),_0x4d26a0=_0x3abd7f['nodeAfter']==_0xc0c75['parent']&&_0xc0c75['isAtStart'];if(_0x3c57f0&&_0x4d26a0)return;const _0x416ec7=_0x4947d1['createRange'](_0x3abd7f,_0xc0c75),_0x25910d=_0x40d5d1['get'](_0x25819f),_0x5c99dd=new r({'author':_0x25910d,'type':'isAdded'==_0x4bd2f4||'isAddSuggestion'==_0x4bd2f4?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x4bd2f4||'isRemoveSuggestion'==_0x4bd2f4},'createdAt':new Date(),'rootName':_0x42156a});_0x2a9fdd['push'](_0x5c99dd),_0x45962b['markers']['set']('revision:'+_0x5c99dd['id'],_0x416ec7);}function _0xb16e32(_0x417edb,_0x51b994){const _0x5db8e3=_0x417edb['getAttributes'](),_0x170745=_0x51b994['getAttributes']();for(const _0x1bd699 of _0x5db8e3){if(_0x1bd699[0x1]!==_0x51b994['getAttribute'](_0x1bd699[0x0]))return!0x1;_0x170745['next']();}return _0x170745['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x24132a=>{const _0x1aeacc=_0x24132a['markerName']['split'](':')[0x1],_0x190fff=this['_getChangeFromId'](_0x1aeacc);if(!_0x190fff)return null;const _0x5444bf='add'==_0x190fff['type']?'insertion':'deletion',_0x52d5b5=['ck-suggestion-marker','ck-suggestion-marker-'+_0x5444bf];return _0x190fff['data']['isSuggestion']&&_0x52d5b5['push']('ck-suggestion-marker-'+_0x5444bf+'-new'),this['activeChange']==_0x190fff&&_0x52d5b5['push']('ck-suggestion-marker--active'),{'classes':_0x52d5b5,'attributes':{'data-change-id':_0x1aeacc}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x5282b9=>{_0x5282b9['on']('element:pre',(_0x3b6897,_0x307181,_0x194869)=>{const _0x2c7d6a=_0x307181['viewItem']['getChild'](0x0);if(!_0x2c7d6a||!_0x2c7d6a['is']('element','code'))return;if(!_0x194869['consumable']['consume'](_0x2c7d6a,{'attributes':['vid_start','vid_end']}))return;const _0x113d36=_0x307181['modelRange']['start']['nodeAfter'];_0x194869['writer']['setAttribute']('vid_start',_0x2c7d6a['getAttribute']('vid_start'),_0x113d36),_0x194869['writer']['setAttribute']('vid_end',_0x2c7d6a['getAttribute']('vid_end'),_0x113d36);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x4076b1=>{_0x4076b1['on']('element',(_0x1847f1,_0x147847,_0x39d625)=>{if(!_0x39d625['consumable']['consume'](_0x147847['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x147847['modelRange']['isCollapsed'])return;const _0xa37df2=_0x147847['modelRange']['start']['nodeAfter'];_0xa37df2['hasAttribute']('vid_start')||_0xa37df2['hasAttribute']('vid')||(_0x39d625['writer']['setAttribute']('vid_start',_0x147847['viewItem']['getAttribute']('vid_start'),_0xa37df2),_0x39d625['writer']['setAttribute']('vid_end',_0x147847['viewItem']['getAttribute']('vid_end'),_0xa37df2));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x48dc48=>_0x48dc48['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x122045,[,_0x4d6616])=>{['vid_start','vid_end','vid']['includes'](_0x4d6616)&&(_0x122045['return']=!0x0,_0x122045['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x30533b=>{_0x30533b['on']('attribute:vid',(_0xeb5d55,_0x3568c7,_0x4304c5)=>{if('\x20'!=_0x3568c7['item']['data']||_0x3568c7['item']['parent']['maxOffset']>0x1)return;if(!_0x4304c5['consumable']['consume'](_0x3568c7['item'],_0xeb5d55['name']))return;const _0x100845=_0x4304c5['writer'],_0x38f40e=_0x4304c5['mapper']['toViewRange'](_0x3568c7['range']);_0x100845['wrap'](_0x38f40e,_0x100845['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x1dd38c){const _0x479bc0=_0x1dd38c['plugins']['get']('RevisionViewer');return(_0x12e43c,_0x48d0d7,_0x1b6c5)=>{const _0x3e1812=_0x48d0d7['markerName']['split'](':')[0x1],_0x2ce1e9=_0x479bc0['_getChangeFromId'](_0x3e1812);if(!_0x2ce1e9)return null;const _0x3c3c64='add'==_0x2ce1e9['type']?'split':'merge';if(!_0x1b6c5['consumable']['test'](_0x48d0d7['markerRange'],_0x12e43c['name']))return;const _0x25d319=_0x48d0d7['markerRange']['getWalker'](),_0x18be97=_0x48d0d7['markerRange']['start'],_0x3e2c74=_0x1dd38c['model']['schema'];let _0xc0f284=null,_0x275456=null,_0x26bb1d=!0x1,_0x5510f7=!0x1;for(const _0x26f2bc of _0x25d319){const _0x33eb9e=_0x26f2bc['item'];_0x26bb1d=_0x26bb1d||_0x3e2c74['isContent'](_0x33eb9e);const _0x2d86e4=_0x1b6c5['mapper']['toViewElement'](_0x33eb9e);if(_0x2d86e4&&_0x2d86e4['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x26f2bc['type']&&(_0x3e2c74['isBlock'](_0x33eb9e)&&!_0x3e2c74['isLimit'](_0x33eb9e)&&(_0x33eb9e['nextSibling']||_0x18be97['isAtEnd']?_0xc0f284&&_0xc0f284['parent']==_0x33eb9e||(_0xc0f284=_0x33eb9e,_0xee01e0(_0x26f2bc['previousPosition']),_0x5510f7=!0x0):_0x275456=_0x275456||_0x26f2bc['previousPosition']));}function _0xee01e0(_0x30491a){const _0x5d659b=_0x1b6c5['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3c3c64}),_0x3e2e1a=_0x1b6c5['mapper']['toViewPosition'](_0x30491a);_0x2ce1e9['data']['isSuggestion']&&_0x1b6c5['writer']['addClass']('ck-suggestion-marker-'+_0x3c3c64+'-new',_0x5d659b),_0x479bc0['activeChange']==_0x2ce1e9&&_0x1b6c5['writer']['addClass']('ck-suggestion-marker--active',_0x5d659b),_0x1b6c5['writer']['insert'](_0x3e2e1a,_0x5d659b),_0x1b6c5['mapper']['bindElementToMarker'](_0x5d659b,_0x48d0d7['markerName']);}_0x26bb1d||_0x5510f7||!_0x275456||_0xee01e0(_0x275456);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x54f76f,_0x161643,_0x400985)=>{const _0x58148e=_0x400985['mapper']['markerNameToElements'](_0x161643['markerName']);if(_0x58148e){for(const _0x20f89c of _0x58148e)(_0x20f89c['hasClass']('ck-suggestion-marker-split')||_0x20f89c['hasClass']('ck-suggestion-marker-merge'))&&(_0x400985['mapper']['unbindElementFromMarkerName'](_0x20f89c,_0x161643['markerName']),_0x400985['writer']['remove'](_0x20f89c));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x4547fe,_0x342768,_0x4a2f06)=>{const _0x3ef0c0=_0x342768['markerName']['split'](':')[0x1],_0x10fecd=this['_getChangeFromId'](_0x3ef0c0);if(!_0x10fecd)return null;const _0x5d372f='add'==_0x10fecd['type']?'split':'merge';if(_0x4a2f06['consumable']['test'](_0x342768['markerRange'],_0x4547fe['name']))for(const _0x10db26 of _0x342768['markerRange']['getItems']()){if(!_0x10db26['is']('element','softBreak'))continue;const _0xb6a939=_0x4a2f06['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5d372f}),_0x2f9856=_0x4a2f06['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x10db26));_0x10fecd['data']['isSuggestion']&&_0x4a2f06['writer']['addClass']('ck-suggestion-marker-'+_0x5d372f+'-new',_0xb6a939),this['activeChange']==_0x10fecd&&_0x4a2f06['writer']['addClass']('ck-suggestion-marker--active',_0xb6a939),_0x4a2f06['writer']['insert'](_0x2f9856,_0xb6a939),_0x4a2f06['mapper']['bindElementToMarker'](_0xb6a939,_0x342768['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x40f977=>{for(const _0x55494f of this['editor']['model']['document']['getRootNames']()){const _0x522805=this['editor']['model']['document']['getRoot'](_0x55494f),_0x269774=this['editor']['editing']['view']['document']['getRoot'](_0x55494f);if(_0x269774){const _0x272209=_0x522805['getAttribute']('revisionHistoryAttachChange');if(_0x40f977['removeAttribute']('data-change-id',_0x269774),_0x40f977['removeClass']('ck-revision-history-root-add',_0x269774),_0x40f977['removeClass']('ck-revision-history-root-remove',_0x269774),_0x40f977['removeClass']('ck-revision-history-root--active',_0x269774),_0x272209){const _0x2a2650=this['_getChangeFromId'](_0x272209);if(!_0x2a2650)return null;_0x40f977['setAttribute']('data-change-id',_0x272209,_0x269774),_0x40f977['addClass']('ck-revision-history-root-'+_0x2a2650['type'],_0x269774),this['activeChange']==_0x2a2650&&_0x40f977['addClass']('ck-revision-history-root--active',_0x269774);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x3da8a6=>'revision-comment:'+_0x3da8a6,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x4b01e4=>'revision-suggestion:'+_0x4b01e4,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x120397=>({'name':'suggestion:'+_0x120397,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x2b8fbb=>{const _0x12a7fd=_0x2b8fbb['markerName']['split'](':')[0x1];return'insertion'!=_0x12a7fd&&'deletion'!=_0x12a7fd?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x12a7fd]};}}),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',(_0xc41e25,_0x586a40,_0x3b99c5)=>{const _0x2c9310=_0x3b99c5['mapper']['markerNameToElements'](_0x586a40['markerName']);if(_0x2c9310){for(const _0x36e8fc of _0x2c9310)_0x36e8fc['is']('uiElement')&&(_0x3b99c5['mapper']['unbindElementFromMarkerName'](_0x36e8fc,_0x586a40['markerName']),_0x3b99c5['writer']['remove'](_0x36e8fc));}},{'priority':'high'});}['_getChangeFromId'](_0x410164){return this['_changeIdToChange']['get'](_0x410164);}['_getViewForChange'](_0x400d94){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x400d94),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x420205,_0x33d9b9,_0x40783f,_0x5cab45)=>{_0x5cab45&&this['_balloon']['remove'](_0x5cab45),_0x40783f&&(this['_balloon']['add']({'view':_0x40783f,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x7c85df=this['editor']['editing'],_0x2f07f7=this['_getChangeFromId'](_0x40783f['changeId']);let _0x56df97;if(_0x2f07f7['data']['isOnRoot']){const _0x23012d=_0x7c85df['view']['getDomRoot'](_0x2f07f7['rootName']);_0x56df97=Array['from'](_0x23012d['getClientRects']());}else{const _0x38c7c8=this['editor']['model']['markers']['get']('revision:'+_0x40783f['changeId']);_0x56df97=Array['from'](_0x7c85df['mapper']['markerNameToElements'](_0x38c7c8['name']))['map'](_0x547403=>_0x7c85df['view']['domConverter']['mapViewToDom'](_0x547403))['map'](_0x2d1bc5=>Array['from'](_0x2d1bc5['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x56df97[0x0];return _0x56df97['find'](_0x33a996=>_0x33a996['top']-0x3<=this['_activeViewTarget']['y']&&_0x33a996['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x33a996['left']-0x3<=this['_activeViewTarget']['x']&&_0x33a996['right']+0x3>=this['_activeViewTarget']['x'])||_0x56df97[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x20d5ff,_0x2c4146,_0x3ca157,_0x2fe3cb)=>{this['activeView']=_0x3ca157?this['_getViewForChange'](_0x3ca157):null,this['editor']['model']['change'](()=>{const _0xbc67a=this['editor']['editing'];_0x2fe3cb&&(_0x2fe3cb['data']['isOnRoot']?_0xbc67a['view']['change'](_0x510d65=>{_0x510d65['removeClass']('ck-revision-history-root--active',_0xbc67a['view']['document']['getRoot'](_0x2fe3cb['rootName']));}):_0xbc67a['reconvertMarker']('revision:'+_0x2fe3cb['id'])),_0x3ca157&&(_0x3ca157['data']['isOnRoot']?_0xbc67a['view']['change'](_0x5de40d=>{_0x5de40d['addClass']('ck-revision-history-root--active',_0xbc67a['view']['document']['getRoot'](_0x3ca157['rootName']));}):_0xbc67a['reconvertMarker']('revision:'+_0x3ca157['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x542291,_0x40bc52)=>{if(this['activeChange'])return;const _0x1708e3=this['_findChangeIdFromDomTarget'](_0x40bc52['target']),_0xc1c64a=this['_changeIdToChange']['get'](_0x1708e3);_0xc1c64a?(this['_activeViewTarget']={'x':_0x40bc52['domEvent']['x'],'y':_0x40bc52['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0xc1c64a)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0xb31f24,_0x4c334e)=>{const _0xf53f95=this['_findChangeIdFromDomTarget'](_0x4c334e['target']),_0x1d5e58=this['_changeIdToChange']['get'](_0xf53f95);_0x1d5e58?(this['_activeViewTarget']={'x':_0x4c334e['domEvent']['x'],'y':_0x4c334e['domEvent']['y']},_0x1d5e58===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x1d5e58):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x363ed3){do{const _0xfac5cf=_0x363ed3['getAttribute']('data-change-id');if(_0xfac5cf)return _0xfac5cf;_0x363ed3=_0x363ed3['parent'];}while(_0x363ed3);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0xaaf5a5=>{for(const _0x4301af of this['editor']['model']['markers'])_0xaaf5a5['removeMarker'](_0x4301af);});}}function et(_0x1acf0f,_0xd3a414){return(_0x2f7eb9,_0x381e13,_0x34d638)=>{if(!_0x34d638['consumable']['test'](_0x381e13['markerRange'],_0x2f7eb9['name']))return;const _0x46b491=_0x381e13['markerRange']['getWalker'](),_0x7549d4=_0x381e13['markerRange']['start'],_0x5a6538=_0x1acf0f['model']['schema'];let _0x18c684=null,_0x40b3c8=null,_0x3db89a=!0x1,_0x542b39=!0x1;for(const _0x1dc549 of _0x46b491){const _0x2a1925=_0x1dc549['item'];_0x3db89a=_0x3db89a||_0x5a6538['isContent'](_0x2a1925);const _0x3c968d=_0x34d638['mapper']['toViewElement'](_0x2a1925);if(_0x3c968d&&_0x3c968d['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1dc549['type']&&(_0x5a6538['isBlock'](_0x2a1925)&&!_0x5a6538['isLimit'](_0x2a1925)&&(_0x2a1925['nextSibling']||_0x7549d4['isAtEnd']?_0x18c684&&_0x18c684['parent']==_0x2a1925||(_0x18c684=_0x2a1925,_0x36a6f5(_0x1dc549['previousPosition']),_0x542b39=!0x0):_0x40b3c8=_0x40b3c8||_0x1dc549['previousPosition']));}function _0x36a6f5(_0x2fa954){const _0x360651=_0x34d638['mapper']['toViewPosition'](_0x2fa954),_0x41e228=_0x34d638['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0xd3a414});_0x34d638['writer']['insert'](_0x360651,_0x41e228),_0x34d638['mapper']['bindElementToMarker'](_0x41e228,_0x381e13['markerName']);}_0x3db89a||_0x542b39||!_0x40b3c8||_0x36a6f5(_0x40b3c8);};}class bt extends _0x5ce32f{constructor(_0x2cf928){super(_0x2cf928);const _0x131bff=_0x2cf928['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x131bff,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x131bff,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x47aa07=this['editor'],_0x13ae0=_0x47aa07['plugins']['get'](d),_0x1513cf=_0x13ae0['isReady']?_0x13ae0['diff']['newRevisionId']:null;_0x47aa07['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1513cf);}['refresh'](){const {isReady:_0x356643,isEnabled:_0x2a7d50}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x356643&&_0x2a7d50;}}class yt extends _0x5ce32f{['_step'];constructor(_0x2fd39f,{direction:_0x22211c}){super(_0x2fd39f);const _0xf0cba2=_0x2fd39f['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x22211c?0x1:-0x1,this['listenTo'](_0xf0cba2,'change:isReady',()=>this['refresh']()),this['listenTo'](_0xf0cba2,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0xf0cba2,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x5a57fb=this['editor'],_0x1b6d6a=_0x5a57fb['plugins']['get'](d),{isNavigationMode:_0x31ee28,currentChangeNumber:_0x8ec26d}=_0x1b6d6a;let _0x3adf0f;if(_0x1b6d6a['activeChange']=_0x31ee28?_0x1b6d6a['diff']['changes']['get'](_0x8ec26d+this['_step']):_0x1b6d6a['diff']['changes']['first'],_0x1b6d6a['activeChange']['data']['isOnRoot'])_0x3adf0f=_0x5a57fb['editing']['view']['getDomRoot'](_0x1b6d6a['activeChange']['rootName']);else{const _0x3c0e33=_0x5a57fb['model']['markers']['get']('revision:'+_0x1b6d6a['activeChange']['id']);_0x3adf0f=_0x2a85ab(_0x5a57fb['editing'],_0x3c0e33);}_0x404bc({'target':_0x3adf0f,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x7c02c1,currentChangeNumber:_0x414ef9,numberOfChanges:_0x1c5b91,isReady:_0x5acc6e,isEnabled:_0xb1779d}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0xb1779d&&_0x5acc6e&&_0x1c5b91)&&(!_0x7c02c1||(0x1===this['_step']?_0x414ef9<_0x1c5b91-0x1:_0x414ef9>0x0));}}class _i extends _0x42a458{constructor(_0x405b72){super(_0x405b72);const _0x27aedc=this['bindTemplate'],_0x49197f=new _0x5325a2(_0x405b72),_0x24b0bc=new _0x5325a2(_0x405b72);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',(_0x24674c,_0x5ccc28)=>_0x24674c&&_0x5ccc28>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0xe62348,_0x5c7c49,_0x1e913c,_0x304020)=>{if(!_0xe62348)return y(_0x405b72,'Loading...');if(!_0x1e913c)return y(_0x405b72,'No\x20changes');const _0xd0f67c=y(_0x405b72,'NUMBER_OF_CHANGES',_0x1e913c);return _0x304020?y(_0x405b72,'X_OF_Y_CHANGES',[_0x5c7c49+0x1,_0x1e913c]):_0xd0f67c;}),_0x49197f['set']({'label':y(_0x405b72,'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'}),_0x24b0bc['set']({'label':y(_0x405b72,'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'}),_0x49197f['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x24b0bc['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x49197f['on']('execute',()=>this['fire']('execute','backward')),_0x24b0bc['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',_0x27aedc['if']('_isStatusLabelVisible','ck-hidden',_0x5a6550=>!_0x5a6550)]},'children':[{'text':_0x27aedc['to']('isNavigationMode',_0x2b7a20=>_0x2b7a20?y(_0x405b72,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x405b72,'Total')+':\x20')}]},{'text':_0x27aedc['to']('_statusText')}]},new _0x377461(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x49197f,_0x24b0bc]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x12f93a{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x1127b6=this['editor']['editing']['view'];_0x1127b6['change'](_0x1bacd0=>{for(const _0x23510e of _0x1127b6['document']['roots'])_0x1bacd0['addClass'](ce,_0x23510e);});}['hide'](){const _0x9bad65=this['editor']['editing']['view'];_0x9bad65['change'](_0x42af11=>{for(const _0x4087ef of _0x9bad65['document']['roots'])_0x42af11['removeClass'](ce,_0x4087ef);});}}class R extends _0x12f93a{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x2e879c=this['editor'],_0x184d12=_0x2e879c['plugins']['get'](d),_0x28d9a3=_0x2e879c['plugins']['get'](de);_0x2e879c['ui']['componentFactory']['add']('exitToEditing',_0xd30dde=>{const _0xe05f97=new _0x5325a2(_0xd30dde);return _0xe05f97['set']({'label':y(_0xd30dde,'Back\x20to\x20editing'),'icon':_0x5541e0['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0xe05f97,'execute',()=>{_0x2e879c['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0xe05f97;}),_0x2e879c['ui']['componentFactory']['add']('restoreRevision',_0x33428e=>{const _0x4fdf2a=new _0x5325a2(_0x33428e);return _0x4fdf2a['set']({'label':y(_0x33428e,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x4fdf2a['bind']('isEnabled')['to'](_0x2e879c['commands']['get']('restoreRevision')),this['listenTo'](_0x4fdf2a,'execute',()=>_0x2e879c['execute']('restoreRevision')),_0x4fdf2a;}),_0x2e879c['ui']['componentFactory']['add']('changesNavigation',_0x6f854a=>{const _0x380321=new _i(_0x6f854a),_0x55e13c=_0x2e879c['commands']['get']('showPreviousChange'),_0x4ca4d2=_0x2e879c['commands']['get']('showNextChange');return _0x380321['bind']('isBackwardNavigationEnabled')['to'](_0x55e13c,'isEnabled'),_0x380321['bind']('isForwardNavigationEnabled')['to'](_0x4ca4d2,'isEnabled'),_0x380321['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x184d12),this['listenTo'](_0x380321,'execute',(_0x2da94f,_0x1c36ae)=>{_0x2e879c['execute']('forward'===_0x1c36ae?'showNextChange':'showPreviousChange');}),_0x380321;}),_0x28d9a3['show'](),_0x184d12['on']('change:isReady',(_0xe48d7f,_0x297b39,_0x3e244c)=>{_0x3e244c?_0x28d9a3['hide']():_0x28d9a3['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x42e04a,_0x1bad94){super(_0x42e04a,_0x1bad94);const _0x51feeb=this['bindTemplate'];this['set']({'label':y(_0x42e04a,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x42e04a,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x51feeb['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 _0x381cd8=this['fieldView']['element'];this['_tooltipString']=_0x381cd8['scrollWidth']>_0x381cd8['clientWidth']&&_0x381cd8['value']||'';}}class ti extends _0x42a458{constructor(_0x48498d,_0x4776ea,_0x20698b){super(_0x48498d);const _0x2d1b24=new _0x4c3354();_0x2d1b24['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 _0x2bedf9=['ck','ck-revision-history-sidebar__revision-author'];_0x20698b&&_0x2bedf9['push']('ck-revision-history-sidebar__revision-author_creator');const _0x1f0ecc=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x48498d,_0x20698b?'Revision\x20creator':'Revision\x20author')},'children':[_0x2d1b24,_0x4776ea['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x2bedf9},'children':_0x1f0ecc});}}function ni(_0x24dde3,_0x393d96){const _0x4e0116=_0x24dde3['bindTemplate'],_0x2313bb=_0x24dde3['locale'],_0x47bae7=_0xd5be72(_0x2313bb);_0x47bae7['panelPosition']='sw';const _0x2f2d23=function(_0x5cbc46,_0x8d1c83){const _0x56b035=function(_0x186ae2,_0x1db211){const _0x5befef=_0x186ae2['locale'],_0x576ffd={'Compare\x20against\x20selected':y(_0x5befef,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x5befef,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x5befef,'Restore\x20this\x20revision')};return _0x1db211['map'](_0x352de2=>{const _0x44d477=_0x576ffd[_0x352de2['name']];return _0x44d477&&_0x44d477!==_0x352de2['name']&&(_0x352de2['name']=_0x44d477),_0x352de2;});}(_0x5cbc46,_0x8d1c83),_0x29ad0b=new _0x311c03();for(const _0xd6d9a of _0x56b035){const _0x53823c={'type':'button','model':new to({'label':_0xd6d9a['name'],'class':_0xd6d9a['class'],'withText':!0x0,'role':'menuitem','_action':_0xd6d9a['action']})};_0x53823c['model']['bind']('isEnabled')['to'](_0x5cbc46,'isActionsDropdownOpen',_0x10cce2=>'function'!=typeof _0xd6d9a['isEnabled']||(!_0x10cce2||_0xd6d9a['isEnabled'](_0x5cbc46))),_0x29ad0b['add'](_0x53823c);}return _0x29ad0b;}(_0x24dde3,_0x393d96);return _0x24dde3['bind']('isActionsDropdownOpen')['to'](_0x47bae7,'isOpen'),_0x47bae7['buttonView']['set']({'label':y(_0x2313bb,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x5541e0['threeVerticalDots']}),_0x47bae7['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x4e0116['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x4e0116['to'](_0x142c59=>_0x142c59['stopPropagation']())}}),_0x47bae7['on']('execute',_0x26d0a2=>{_0x24dde3['isReady']&&'function'==typeof _0x26d0a2['source']['_action']&&_0x26d0a2['source']['_action'](_0x24dde3);}),_0x11a8c7(_0x47bae7,_0x2f2d23,{'role':'menu'}),_0x47bae7['listenTo'](_0x24dde3,'change:isActionsDropdownOpen',(_0x3390f3,_0x4b2e78,_0x149d8f)=>{if(_0x149d8f)for(const _0x30399c of _0x47bae7['listView']['items']){const _0x40b8a4=_0x30399c['children']['first'],_0x16bf32=_0x393d96['find'](_0x2025ca=>_0x2025ca['action']===_0x40b8a4['_action'])['isVisible'];_0x30399c['isVisible']=void 0x0===_0x16bf32||_0x16bf32(_0x24dde3);}}),_0x47bae7;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x5ccfd3(_0x42a458){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x39a307,_0x37ac0a,_0x1d2fc8,_0x28a588){super(_0x39a307);const _0x4acdd3=this['bindTemplate'],_0x40bd15=function(_0x43587d,_0x1efc49){const _0x2c1aa3=Array['from'](_0x1efc49['authors'])['filter'](_0x3da370=>_0x3da370!=_0x1efc49['creator']);return _0x1efc49['creator']&&_0x2c1aa3['unshift'](_0x1efc49['creator']),_0x2c1aa3['map'](_0x3fcd84=>new ti(_0x43587d,_0x3fcd84,_0x3fcd84==_0x1efc49['creator']));}(_0x39a307,_0x37ac0a);this['id']=_0x37ac0a['id'],this['_revision']=_0x37ac0a,this['_requireRevisionName']=_0x28a588,this['bind']('name','createdAt')['to'](_0x37ac0a),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x48c262=>{return _0x556c19=_0x39a307['uiLanguage'],(_0x14f1ad=_0x48c262)['toLocaleDateString'](_0x556c19,{'month':'long','day':'numeric'})+',\x20'+_0x14f1ad['toLocaleTimeString'](_0x556c19,{'hour':'numeric','minute':'numeric'});var _0x556c19,_0x14f1ad;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x39a307,_0x49db80),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x370628=>_0x370628||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x1b835b,_0x52b697)=>_0x1b835b&&_0x52b697),this['revisionActionsView']=_0x1d2fc8&&_0x1d2fc8['length']?ni(this,_0x1d2fc8):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x4acdd3['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x4acdd3['if']('isEnabled','ck-disabled',_0x4fa809=>!_0x4fa809),_0x4acdd3['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x4acdd3['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x4acdd3['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':_0x4acdd3['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':_0x40bd15}]},this['revisionActionsView']],'on':{'click':_0x4acdd3['to'](_0x4794d6=>{_0x4794d6['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0xd31d8c=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0xd31d8c,'change',()=>{this['_requireRevisionName']&&!_0xd31d8c['value']||this['fire']('setName',{'id':this['id'],'name':_0xd31d8c['value']}),_0xd31d8c['value']||(_0xd31d8c['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(_0x1f75e7,_0x286a5b){const _0x5540e8=_0x2560e7['fromJSDate'](_0x1f75e7)['setLocale'](_0x286a5b),_0x734001=_0x2560e7['local'](),_0x816333=_0x734001['minus']({'days':0x1})['startOf']('day');let _0x7ed220,_0x1f4cac;return _0x5540e8['hasSame'](_0x734001,'day')?(_0x7ed220=_0x5540e8['startOf']('day')['toJSDate'](),_0x1f4cac=_0x5540e8['toRelativeCalendar']()):_0x5540e8['hasSame'](_0x816333,'day')?(_0x7ed220=_0x816333['toJSDate'](),_0x1f4cac=_0x5540e8['toRelativeCalendar']()):_0x5540e8['hasSame'](_0x734001,'week')?(_0x7ed220=_0x5540e8['startOf']('week')['toJSDate'](),_0x1f4cac=_0x5540e8['weekdayLong']||''):_0x5540e8['hasSame'](_0x734001,'year')?(_0x7ed220=_0x5540e8['startOf']('month')['toJSDate'](),_0x1f4cac=_0x5540e8['monthLong']||''):(_0x7ed220=_0x5540e8['startOf']('year')['toJSDate'](),_0x1f4cac=String(_0x5540e8['year'])),{'startDate':_0x7ed220,'localizedPeriodName':_0x1f4cac};}class mi extends _0x42a458{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x114606,_0x7d0d2f,_0x52fd00,_0x244e82){super(_0x114606);const _0x3530ef=di(_0x7d0d2f,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x7d0d2f,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x52fd00,this['_requireRevisionName']=_0x244e82,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':_0x3530ef}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x1f2e12){const _0x5a179d=new ai(this['locale'],_0x1f2e12,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x5a179d);}['removeRevision'](_0x51983b){const _0x5ab75d=this['revisionViews']['find'](_0x2779ec=>_0x2779ec['id']===_0x51983b['id']);this['revisionViews']['remove'](_0x5ab75d);}}class as extends _0x42a458{constructor(_0x648ef7){super(_0x648ef7);const _0x9acbb7=new _0x4c3354();_0x9acbb7['content']=_0x5541e0['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x9acbb7,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x648ef7,'Revision\x20history')]}]});}}class ci extends _0x42a458{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x1ba266,_0x20d1f8,_0x5d69ae,_0x102f0c){super(_0x1ba266);const _0x16ae43=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x20d1f8,this['_revisionActions']=_0x5d69ae,this['_requireRevisionName']=_0x102f0c,this['on']('select',(_0x522ada,_0x465546)=>{this['fire']('revisionSelected',_0x465546);}),this['on']('setName',(_0x5a847c,_0x98a660)=>{this['fire']('revisionSetName',_0x98a660);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x1ba266),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x16ae43['if']('isEnabled','ck-disabled',_0x5df2b1=>!_0x5df2b1)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x5983ee of this['_revisions'])this['_addRevision'](_0x5983ee);this['_revisions']['on']('add',(_0x2f4963,_0x11df95)=>{this['_addRevision'](_0x11df95);}),this['_revisions']['on']('remove',(_0x1a71bd,_0x20c684)=>{this['_removeRevision'](_0x20c684);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x5136d3=>_0x5136d3['revisionViews']['map'](_0x3d320e=>_0x3d320e))['flat']();}['selectRevision'](_0x408f56){for(const _0x189168 of this['revisionViews'])_0x408f56&&_0x408f56['id']===_0x189168['id']?_0x189168['select']():_0x189168['deselect']();}['highlightRevisions'](_0x23b13c){for(const _0x2f434c of this['revisionViews'])_0x23b13c['some'](({id:_0x21618d})=>_0x21618d===_0x2f434c['id'])?_0x2f434c['highlight']():_0x2f434c['unhighlight']();}['_addRevision'](_0xdab63a){const _0x2e35e4=di(_0xdab63a['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x41084c=this['timePeriodViews']['get'](0x0);_0x41084c&&_0x41084c['startDate']['getTime']()===_0x2e35e4['getTime']()||(_0x41084c=new mi(this['locale'],_0x2e35e4,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x41084c)),_0x41084c['addRevision'](_0xdab63a);}['_removeRevision'](_0x3712db){const _0x1e517d=di(_0x3712db['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x1e517d)['removeRevision'](_0x3712db);}['_getTimePeriodViewByStartDate'](_0x5977d9){return this['timePeriodViews']['find'](_0x26a41e=>_0x26a41e['startDate']['getTime']()===_0x5977d9['getTime']());}}class w extends _0x12f93a{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x47193e,Context as _0x31d3ad,PendingActions as _0x5575c2,icons as _0x3918d9,Command as _0x19ad1b,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x233d5d,uid as _0x50a52d,Collection as _0x2b2b84,logWarning as _0xeaaa32,FocusTracker as _0x1ff205,KeystrokeHandler as _0x4ea145,scrollViewportToShowTarget as _0x353841,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x247002}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0xaeb61,getMarkerDomElement as _0x39447d,ConfirmMixin as _0x5b4ada,sanitizeEditorConfig as _0x43dd50}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x4f3b65,ViewText as _0xda638,ViewElement as _0x2a35af,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x319721,ViewAttributeElement as _0x378a42,ViewEmptyElement as _0x4772f7,ViewRawElement as _0x69908f,ViewUIElement as _0x2059d8,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x4cbbfa,set as _0x41bf09,unset as _0xd3ad2d,isEqual as _0x2d30da}from'lodash-es';import{View as _0x4da36d,injectCssTransitionDisabler as ts,submitHandler as _0x24952c,LabeledFieldView as at,createLabeledInputText as _0x1758b7,createDropdown as _0x49c129,ListView as te,ListItemView as _0x718882,ButtonView as _0x33cdf3,MenuBarMenuView as _0x2e5a95,MenuBarMenuListView as _0x1183b3,MenuBarMenuListItemView as _0x34fe41,MenuBarMenuListItemButtonView as _0x456393,ContextualBalloon as _0x3439a9,ToolbarSeparatorView as _0x3f97f7,IconView as _0x542ab4,addListToDropdown as _0x3deaea,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 _0x355e4d}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x233d5d(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x277615){super(),this['id']=_0x277615['id']||_0x50a52d(),this['creator']=_0x277615['creator']||null,this['authors']=_0x277615['authors']||[],this['diffData']=_0x277615['diffData']||null,this['toVersion']=_0x277615['toVersion']||0x0,this['fromVersion']=_0x277615['fromVersion']||0x0,this['set']('name',_0x277615['name']||''),this['set']('createdAt',_0x277615['createdAt']||new Date()),this['set']('attributes',_0x277615['attributes']||{});}['setName'](_0x155441){this['_update']({'name':_0x155441});}['setAttribute'](_0x294f48,_0x817d9f){const _0x3374e2=_0x4cbbfa(this['attributes']);_0x41bf09(_0x3374e2,_0x294f48,_0x817d9f),this['_update']({'attributes':_0x3374e2});}['removeAttribute'](_0x1d47ff){const _0xbfa8ef=_0x4cbbfa(this['attributes']);_0xd3ad2d(_0xbfa8ef,_0x1d47ff),this['_update']({'attributes':_0xbfa8ef});}['_update'](_0x3499be,_0x5acd5d=!0x1){let _0x308a58=!0x1;const _0x22a37e={'id':this['id']},_0x3565ce=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x41334f of _0x3565ce){const _0x141aa7=_0x3499be[_0x41334f];void 0x0!==_0x141aa7&&_0x141aa7!==this[_0x41334f]&&(this[_0x41334f]=_0x141aa7,_0x22a37e[_0x41334f]=_0x141aa7,_0x308a58=!0x0);}_0x308a58&&(_0x22a37e['authors']&&(_0x22a37e['authorsIds']=_0x22a37e['authors']['map'](_0x2fc3e6=>_0x2fc3e6['id']),delete _0x22a37e['authors']),this['fire']('_update',_0x22a37e,_0x5acd5d));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x2eaffb=>_0x2eaffb['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x47193e{['_revisions'];static get['requires'](){return[_0xaeb61];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x272218){super(_0x272218),this['_revisions']=new _0x2b2b84();}['afterInit'](){!function(_0x1ced5f){function _0x5e6e18(_0x295ed7,_0x13781d,_0xe260a9){const _0xedecc={};_0xedecc[_0x3e1a0c([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0xedecc[_0x3e1a0c([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],_0xedecc[_0x3e1a0c([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],_0xedecc[_0x3e1a0c([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],_0xedecc[_0x3e1a0c([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],_0xedecc[_0x3e1a0c([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],_0xedecc[_0x3e1a0c([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],_0xedecc[_0x3e1a0c([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],_0xedecc[_0x3e1a0c([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],_0xedecc[_0x3e1a0c([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],_0xedecc[_0x3e1a0c([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 _0x3cd2d9=new Uint8Array(0x10);for(let _0x1139bd=0xf;_0x1139bd>=0x0;--_0x1139bd)_0x3cd2d9[_0x1139bd]=_0xe260a9%0x100,_0xe260a9=parseInt(_0xe260a9/0x100);let _0x255f63=null,_0x30afd2=0x10;const _0x520e45=new Uint8Array(_0x13781d),_0x3ec326=[],_0xadf377=[];_0x3e21b6();for(let _0x4b516c=0x0;_0x4b516c<_0x295ed7[_0x3e1a0c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4b516c++)0x10===_0x30afd2&&(_0x255f63=_0x6cb056(_0x3cd2d9),_0x30afd2=0x0,_0x2a03d6(_0x3cd2d9)),_0x295ed7[_0x4b516c]^=_0x255f63[_0x30afd2++];return _0x295ed7;function _0x1b924c(_0x42abc5){const _0x2dad12=[];for(let _0x3035d=0x0;_0x3035d<_0x42abc5[_0x3e1a0c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3035d+=0x4)_0x2dad12[_0x3e1a0c([0x70,0x75,0x73,0x68])](_0x42abc5[_0x3035d]<<0x18|_0x42abc5[_0x3035d+0x1]<<0x10|_0x42abc5[_0x3035d+0x2]<<0x8|_0x42abc5[_0x3035d+0x3]);return _0x2dad12;}function _0x2a03d6(_0x160100){for(let _0x3c34b9=0xf;_0x3c34b9>=0x0;_0x3c34b9--){if(0xff!==_0x160100[_0x3c34b9]){_0x160100[_0x3c34b9]++;break;}_0x160100[_0x3c34b9]=0x0;}}function _0x6cb056(_0x5637b4){const _0x1556e3=_0x3ec326[_0x3e1a0c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x267c52=[0x0,0x0,0x0,0x0];let t=_0x1b924c(_0x5637b4);for(let _0x339446=0x0;_0x339446<0x4;_0x339446++)t[_0x339446]^=_0x3ec326[0x0][_0x339446];for(let _0x598ae6=0x1;_0x598ae6<_0x1556e3;_0x598ae6++){for(let _0x2a5bf4=0x0;_0x2a5bf4<0x4;_0x2a5bf4++)_0x267c52[_0x2a5bf4]=_0xedecc[_0x3e1a0c([0x54,0x31])][t[_0x2a5bf4]>>0x18&0xff]^_0xedecc[_0x3e1a0c([0x54,0x32])][t[(_0x2a5bf4+0x1)%0x4]>>0x10&0xff]^_0xedecc[_0x3e1a0c([0x54,0x33])][t[(_0x2a5bf4+0x2)%0x4]>>0x8&0xff]^_0xedecc[_0x3e1a0c([0x54,0x34])][0xff&t[(_0x2a5bf4+0x3)%0x4]]^_0x3ec326[_0x598ae6][_0x2a5bf4];t=_0x267c52[_0x3e1a0c([0x73,0x6c,0x69,0x63,0x65])]();}const _0x536110=new Uint8Array(0x10);let _0x398659;for(let _0x547b3c=0x0;_0x547b3c<0x4;_0x547b3c++)_0x398659=_0x3ec326[_0x1556e3][_0x547b3c],_0x536110[0x4*_0x547b3c]=0xff&(_0xedecc[_0x3e1a0c([0x53])][t[_0x547b3c]>>0x18&0xff]^_0x398659>>0x18),_0x536110[0x4*_0x547b3c+0x1]=0xff&(_0xedecc[_0x3e1a0c([0x53])][t[(_0x547b3c+0x1)%0x4]>>0x10&0xff]^_0x398659>>0x10),_0x536110[0x4*_0x547b3c+0x2]=0xff&(_0xedecc[_0x3e1a0c([0x53])][t[(_0x547b3c+0x2)%0x4]>>0x8&0xff]^_0x398659>>0x8),_0x536110[0x4*_0x547b3c+0x3]=0xff&(_0xedecc[_0x3e1a0c([0x53])][0xff&t[(_0x547b3c+0x3)%0x4]]^_0x398659);return _0x536110;}function _0x3e21b6(){const _0x57bed0=_0xedecc[_0x3e1a0c([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x520e45[_0x3e1a0c([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x2f56e4=0x0;_0x2f56e4<=_0x57bed0;_0x2f56e4++)_0x3ec326[_0x3e1a0c([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0xadf377[_0x3e1a0c([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x4a08a3=0x4*(_0x57bed0+0x1),_0x3a3d63=_0x520e45[_0x3e1a0c([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x5be678=_0x1b924c(_0x520e45);let _0x2c1b32;for(let _0x5481ca=0x0;_0x5481ca<_0x3a3d63;_0x5481ca++)_0x2c1b32=_0x5481ca>>0x2,_0x3ec326[_0x2c1b32][_0x5481ca%0x4]=_0x5be678[_0x5481ca],_0xadf377[_0x57bed0-_0x2c1b32][_0x5481ca%0x4]=_0x5be678[_0x5481ca];let _0x14b01b,_0x23699c=0x0,t=_0x3a3d63;for(;t<_0x4a08a3;){_0x14b01b=_0x5be678[_0x3a3d63-0x1],_0x5be678[0x0]^=_0xedecc[_0x3e1a0c([0x53])][_0x14b01b>>0x10&0xff]<<0x18^_0xedecc[_0x3e1a0c([0x53])][_0x14b01b>>0x8&0xff]<<0x10^_0xedecc[_0x3e1a0c([0x53])][0xff&_0x14b01b]<<0x8^_0xedecc[_0x3e1a0c([0x53])][_0x14b01b>>0x18&0xff]^_0xedecc[_0x3e1a0c([0x72,0x63,0x6f,0x6e])][_0x23699c]<<0x18,_0x23699c+=0x1;for(let _0x2b8f49=0x1;_0x2b8f49<_0x3a3d63/0x2;_0x2b8f49++)_0x5be678[_0x2b8f49]^=_0x5be678[_0x2b8f49-0x1];_0x14b01b=_0x5be678[_0x3a3d63/0x2-0x1],_0x5be678[_0x3a3d63/0x2]^=_0xedecc[_0x3e1a0c([0x53])][0xff&_0x14b01b]^_0xedecc[_0x3e1a0c([0x53])][_0x14b01b>>0x8&0xff]<<0x8^_0xedecc[_0x3e1a0c([0x53])][_0x14b01b>>0x10&0xff]<<0x10^_0xedecc[_0x3e1a0c([0x53])][_0x14b01b>>0x18&0xff]<<0x18;for(let _0x100fd0=_0x3a3d63/0x2+0x1;_0x100fd0<_0x3a3d63;_0x100fd0++)_0x5be678[_0x100fd0]^=_0x5be678[_0x100fd0-0x1];let _0x39e386,_0x27e895,_0x3b4c16=0x0;for(;_0x3b4c16<_0x3a3d63&&t<_0x4a08a3;)_0x39e386=t>>0x2,_0x27e895=t%0x4,_0x3ec326[_0x39e386][_0x27e895]=_0x5be678[_0x3b4c16],_0xadf377[_0x57bed0-_0x39e386][_0x27e895]=_0x5be678[_0x3b4c16++],t++;}for(let _0x5c04aa=0x1;_0x5c04aa<_0x57bed0;_0x5c04aa++)for(let _0xc6fa84=0x0;_0xc6fa84<0x4;_0xc6fa84++)_0x14b01b=_0xadf377[_0x5c04aa][_0xc6fa84],_0xadf377[_0x5c04aa][_0xc6fa84]=_0xedecc[_0x3e1a0c([0x55,0x31])][_0x14b01b>>0x18&0xff]^_0xedecc[_0x3e1a0c([0x55,0x32])][_0x14b01b>>0x10&0xff]^_0xedecc[_0x3e1a0c([0x55,0x33])][_0x14b01b>>0x8&0xff]^_0xedecc[_0x3e1a0c([0x55,0x34])][0xff&_0x14b01b];}}function _0x3e1a0c(_0xf896b3){return _0xf896b3['map'](_0x5e4fb8=>String['fromCharCode'](_0x5e4fb8))['join']('');}(_0x426eea=>{function _0x53f59b(){const _0x34c6e9=[{[_0x3e1a0c([0x69,0x64])]:0x1,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x3e1a0c([0x69,0x64])]:0x2,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([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]),[_0x3e1a0c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3e1a0c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3e1a0c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3e1a0c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x3e1a0c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3e1a0c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3e1a0c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3e1a0c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3e1a0c([0x69,0x64])]:0x3,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3e1a0c([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3e1a0c([0x69,0x64])]:0x4,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([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]),[_0x3e1a0c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3e1a0c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3e1a0c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3e1a0c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3e1a0c([0x69,0x64])]:0x5,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3e1a0c([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]),[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3e1a0c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3e1a0c([0x66,0x67,0x69])]:[0xc]}},{[_0x3e1a0c([0x69,0x64])]:0x6,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3e1a0c([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3e1a0c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3e1a0c([0x66,0x67,0x69])]:[0xc]}},{[_0x3e1a0c([0x69,0x64])]:0x7,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3e1a0c([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3e1a0c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3e1a0c([0x66,0x67,0x69])]:[0xc]}},{[_0x3e1a0c([0x69,0x64])]:0x8,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3e1a0c([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]),[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3e1a0c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3e1a0c([0x66,0x67,0x69])]:[0xc]}},{[_0x3e1a0c([0x69,0x64])]:0x9,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3e1a0c([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3e1a0c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3e1a0c([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x3e1a0c([0x69,0x64])]:0xa,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([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]),[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([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]),[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3e1a0c([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]),[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3e1a0c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3e1a0c([0x66,0x67,0x69])]:[0xc]}},{[_0x3e1a0c([0x69,0x64])]:0xb,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3e1a0c([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3e1a0c([0x69,0x64])]:0xc,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x3e1a0c([0x69,0x64])]:0xd,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3e1a0c([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3e1a0c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3e1a0c([0x66,0x67,0x69])]:[0xc]}},{[_0x3e1a0c([0x69,0x64])]:0xe,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x3e1a0c([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([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])},{[_0x3e1a0c([0x69,0x64])]:0xf,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3e1a0c([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3e1a0c([0x69,0x64])]:0x10,[_0x3e1a0c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3e1a0c([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3e1a0c([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3e1a0c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3e1a0c([0x66,0x67,0x69])]:[0xc]}}];return _0x4373a1(_0x34c6e9),_0x34c6e9;function _0x14135f(_0x4599e5){return 0x1<<_0x4599e5-0x1;}function _0x4373a1(_0xd9ccc0){_0xd9ccc0[_0x3e1a0c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xace578=>{_0xace578[_0x3e1a0c([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x14135f(_0xace578[_0x3e1a0c([0x69,0x64])]),_0x5b5157(_0xace578)&&_0xace578[_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4373a1(_0xace578[_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x5b5157(_0x2ba1f7){return _0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x2ba1f7;}const _0x235992=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x5919af=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x138cea(_0x507c4b){const _0x28aa37=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x21dc6d(_0x507c4b,new Uint8Array([..._0x235992,..._0x28aa37,..._0x5919af]));}function _0x21dc6d(_0x3f0505,_0x1aedc2){const _0xd13062=_0x4f5899(_0x3f0505),_0x2004f5=Array[_0x3e1a0c([0x66,0x72,0x6f,0x6d])](_0x5c7f1b(_0xd13062)),_0x41e075=_0x2004f5[_0x3e1a0c([0x70,0x6f,0x70])](),_0x5972e2=_0x2004f5[_0x3e1a0c([0x70,0x6f,0x70])]();return _0x44541a(_0x5e6e18(_0x2004f5,_0x1aedc2,_0x5972e2+0x100*_0x41e075));}function _0x4f5899(_0x2c2227){const _0x5aff16=atob(_0x2c2227),[_0x597f2b,_0x34e749]=_0x5aff16[_0x3e1a0c([0x73,0x70,0x6c,0x69,0x74])](_0x3e1a0c([0x2d]));try{if(atob(_0x34e749))return atob(_0x597f2b);}catch(_0x2e5c92){}return _0x5aff16;}function _0x1b617b(_0x4b4d3d){try{const _0x2ea039=_0x138cea(_0x4b4d3d),_0x2f08e8=JSON[_0x3e1a0c([0x70,0x61,0x72,0x73,0x65])](_0x2ea039),_0x46a2ea=parseInt(_0x2f08e8[_0x3e1a0c([0x31])]),_0x1e9b54=_0x2f08e8[_0x3e1a0c([0x32])]||'',_0x49a7df=parseInt(_0x2f08e8[_0x3e1a0c([0x33])]),_0x38b1e3=parseInt(_0x2f08e8[_0x3e1a0c([0x34])])||0x0,_0x35d349=parseInt(_0x2f08e8[_0x3e1a0c([0x35])])||0x0;return{[_0x3e1a0c([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x1e9b54,[_0x3e1a0c([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x38b1e3,[_0x3e1a0c([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x46a2ea,[_0x3e1a0c([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x49a7df,[_0x3e1a0c([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x35d349};}catch(_0x36b58e){return null;}}const _0x37d5e9=_0x53f59b(),_0x2e960d={[_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x19ada2,[_0x3e1a0c([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])]:_0x1ae44e,[_0x3e1a0c([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])]:_0x9d14a8},_0xd59791=_0x426eea[_0x3e1a0c([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x40a12b=_0x3e1a0c([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x426eea?_0x426eea['context']:_0x426eea['editor'],_0x23b15b=_0x3e1a0c([0x34,0x30,0x34,0x38,0x31,0x36,0x31,0x34]),_0x1db7b9=_0x3e1a0c([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]),_0x42a78f=_0x40a12b['config']['get'](_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x208d4f=_0x37d5e9[_0x3e1a0c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b5157)[_0x3e1a0c([0x66,0x69,0x6e,0x64])](_0x1fffc8=>_0x1fffc8[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0xd59791);function _0x2d151e(_0x21ace2,_0x4d5ba7){_0x2e960d[_0x4d5ba7[_0x3e1a0c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x21ace2,_0x4d5ba7),_0x4d5ba7[_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4d5ba7[_0x3e1a0c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x3e1a0c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18f7a2=>_0x19eb94(_0x40a12b,_0x18f7a2[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x3e1a0c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2a87ec=>_0x2d151e(_0x21ace2,_0x2a87ec));}function _0x19ada2(_0x4e7fbf,_0x14b5b3){_0x4cf56f(_0x11bc0a(_0x4e7fbf,_0x14b5b3),_0x14b5b3);}function _0x1ae44e(_0x59a4d3,_0x26b656){function _0x35961f(_0x4ed0ca,_0x453daf){try{if(_0x19eb94(_0x40a12b,_0x3e1a0c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x4ed0ca){const _0x239760=_0x11cccd(_0x40a12b,_0x3e1a0c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x3e1a0c([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x239760)/0x2>_0x4ed0ca[_0x3e1a0c([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x1494c5(_0x453daf[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x11bc0a(_0x4ed0ca,_0x453daf);}catch(_0xbae5c1){return _0x1494c5(_0x453daf[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x4cf56f(_0x35961f(_0x59a4d3,_0x26b656),_0x26b656);}function _0x9d14a8(_0x2b88c7,_0x5484d8){const _0x2d942f=_0x5919af[0x0]*_0x235992[0x1],_0x299f73=_0x5919af[0x0]*_0x235992[0x2],_0x392320=_0x5919af[0x2]*_0x235992[0x2];_0x19eb94(_0x40a12b,_0x3e1a0c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x11cccd(_0x40a12b,_0x3e1a0c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3e1a0c([0x73,0x74,0x61,0x74,0x65])]==_0x3e1a0c([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x20b386()]=_0x392320);function _0x59de87(_0x473efe,_0x4d7f3e){try{return _0x1db410()?_0x1494c5(_0x4d7f3e[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x56,0x61,0x6c,0x69,0x64])):_0x11bc0a(_0x473efe,_0x4d7f3e);}catch(_0x229f40){return _0x1494c5(_0x4d7f3e[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x66989(_0x2dc62f,_0x4299b4){const _0x32f552=0x7;if(_0x2dc62f==_0x4299b4[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x4cbf74();else{if(_0x2dc62f==_0x4299b4[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x54,0x72,0x69,0x61,0x6c])){const _0x1d2d5a=_0x2a40ee();_0x1d2d5a&&_0x46bd48(_0x1d2d5a,_0x4299b4[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x228d6b=_0x279898();window[_0x3e1a0c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x46bd48(_0x3e1a0c([0x74,0x69,0x6d,0x65]),_0x4299b4[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x228d6b);const _0x17d7fe=_0x11cccd(_0x40a12b,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3e1a0c([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x17d7fe[_0x3e1a0c([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x32f552?_0x46bd48(_0x3e1a0c([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4299b4[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x17d7fe['on'](_0x3e1a0c([0x61,0x64,0x64]),()=>{_0x17d7fe[_0x3e1a0c([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x32f552&&_0x46bd48(_0x3e1a0c([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4299b4[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x2a40ee(){if(!_0x19eb94(_0x40a12b,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x17130b in window)if(Number['isNaN'](Number(_0x17130b))){if(window[_0x17130b]===_0x2d942f)return _0x3e1a0c([0x74,0x69,0x6d,0x65]);if(window[_0x17130b]===_0x299f73)return _0x3e1a0c([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x1db410(){if(!_0x19eb94(_0x40a12b,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x2fc04e in window)if(Number['isNaN'](Number(_0x2fc04e))&&window[_0x2fc04e]===_0x392320)return!0x0;return!0x1;}function _0x46bd48(_0x328158,_0x46abd5){_0x4cbf74(),_0x1494c5(_0x46abd5+_0x3e1a0c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x328158),window[_0x20b386()]=_0x328158===_0x3e1a0c([0x74,0x69,0x6d,0x65])?_0x2d942f:_0x299f73;}function _0x279898(){let _0x5b48f6=_0x5919af[0x6]*_0x235992[0x8]*_0x235992[0x6];return _0x19eb94(_0x40a12b,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x5b48f6/=0xa),_0x5b48f6;}function _0x4cbf74(){const _0x420330=_0x40a12b;function _0x3b6afa(){_0x19eb94(_0x420330,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x11cccd(_0x420330,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3e1a0c([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3e1a0c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x11cccd(_0x420330,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3e1a0c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x11cccd(_0x420330,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3e1a0c([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x5b4897,_0x11cccd(_0x420330,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3e1a0c([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x5b4897,_0x420330[_0x3e1a0c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e1a0c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5b4897,_0x420330[_0x3e1a0c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e1a0c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5b4897,_0x420330[_0x3e1a0c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e1a0c([0x6d,0x6f,0x64,0x65,0x6c]))),_0x19eb94(_0x420330,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x11cccd(_0x420330,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3e1a0c([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3e1a0c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x11cccd(_0x420330,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3e1a0c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x11cccd(_0x420330,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3e1a0c([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x5b4897,_0x11cccd(_0x420330,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3e1a0c([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x5b4897);}_0x420330[_0x3e1a0c([0x73,0x74,0x61,0x74,0x65])]==_0x3e1a0c([0x72,0x65,0x61,0x64,0x79])?_0x3b6afa():_0x420330[_0x3e1a0c([0x6f,0x6e,0x63,0x65])](_0x3e1a0c([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x19eb94(_0x420330,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x3b6afa(),_0x19eb94(_0x420330,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x22a0c0=_0x11cccd(_0x420330,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x1b6101=_0x22a0c0['getRevision'](0x0),_0x46fe5d=_0x22a0c0['getEarlierVisibleRevision'](_0x1b6101[_0x3e1a0c([0x69,0x64])]);_0x11cccd(_0x420330,_0x3e1a0c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3e1a0c([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x1b6101[_0x3e1a0c([0x69,0x64])],_0x46fe5d?_0x46fe5d[_0x3e1a0c([0x69,0x64])]:null,0x1)['then'](()=>_0x3b6afa());}});}_0x66989(_0x59de87(_0x2b88c7,_0x5484d8),_0x5484d8);}function _0x11bc0a(_0x21f089,_0x5dad6c){try{return _0x4bb8f9(_0x5dad6c)?_0x1494c5(_0x5dad6c[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x56,0x61,0x6c,0x69,0x64])):_0x21f089&&_0x2e12d9(_0x21f089[_0x3e1a0c([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x5dad6c)?_0x21f089[_0x3e1a0c([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x3e1a0c([0x6f,0x70,0x65,0x6e])][_0x3e1a0c([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x23b15b)/0x2>_0x21f089[_0x3e1a0c([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x1494c5(_0x5dad6c[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x21f089[_0x3e1a0c([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x1494c5(_0x5dad6c[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x54,0x72,0x69,0x61,0x6c])):_0x1494c5(_0x5dad6c[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x56,0x61,0x6c,0x69,0x64])):_0x1494c5(_0x5dad6c[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x725e68){return _0x1494c5(_0x5dad6c[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x4cf56f(_0x275f67,_0x232090){if(_0x40a12b instanceof _0x31d3ad){const _0x3742fd=_0x40a12b;_0x275f67==_0x232090[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2a6f49(_0x3742fd):_0x275f67==_0x232090[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x54,0x72,0x69,0x61,0x6c])&&window[_0x3e1a0c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2a6f49(_0x3742fd),_0x1494c5(_0x232090[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x5919af[0x6]*_0x235992[0x8]*_0x235992[0x6]),_0x3742fd[_0x3e1a0c([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x3e1a0c([0x6f,0x6e])](_0x3e1a0c([0x61,0x64,0x64]),(_0x100b1f,_0x2f98e3)=>{_0x275f67!=_0x232090[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x275f67!=_0x232090[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x275f67!=_0x232090[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x7e80cd(_0x2f98e3);});}else{const _0x2a4046=_0x40a12b;_0x275f67==_0x232090[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x7e80cd(_0x2a4046):_0x275f67==_0x232090[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x54,0x72,0x69,0x61,0x6c])&&_0x2a4046[_0x3e1a0c([0x6f,0x6e])](_0x3e1a0c([0x72,0x65,0x61,0x64,0x79]),()=>{let _0xa4feee=0x0;_0x2a4046[_0x3e1a0c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e1a0c([0x6f,0x6e])](_0x3e1a0c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x53772b,_0x1da237)=>{_0x1da237[0x0][_0x3e1a0c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xa4feee++,0x1f8===_0xa4feee&&(_0x7e80cd(_0x2a4046),_0x1494c5(_0x232090[_0x3e1a0c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3e1a0c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x53772b[_0x3e1a0c([0x6f,0x66,0x66])]());},{'priority':_0x3e1a0c([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x1494c5(_0x4f51f4){const _0x3f0602=_0x20b386();return _0x40a12b[_0x3f0602]=_0x4f51f4,_0x4f51f4;}function _0x20b386(){const _0x539031=String(window[_0x3e1a0c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e1a0c([0x6e,0x6f,0x77])]())[_0x3e1a0c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e1a0c([0x2e]),'');let _0x50039f='';for(let _0x2b4760=0x0;_0x2b4760<_0x539031[_0x3e1a0c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b4760+=0x2){let _0x31c965=parseInt(_0x539031[_0x3e1a0c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b4760,_0x2b4760+0x2));_0x31c965>=_0x1db7b9[_0x3e1a0c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x31c965-=_0x1db7b9[_0x3e1a0c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x50039f+=_0x1db7b9[_0x31c965];}return _0x50039f;}function _0x2a6f49(_0xbe895b){for(const _0x7aafcf of _0xbe895b[_0x3e1a0c([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x7e80cd(_0x7aafcf);_0x11cccd(_0xbe895b,_0x3e1a0c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3e1a0c([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x11cccd(_0xbe895b,_0x3e1a0c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3e1a0c([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x5b4897;}function _0x7e80cd(_0x2bcee0){function _0x3b4c86(){_0x2bcee0[_0x3e1a0c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e1a0c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5b4897,_0x2bcee0[_0x3e1a0c([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e1a0c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5b4897,_0x2bcee0[_0x3e1a0c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e1a0c([0x6d,0x6f,0x64,0x65,0x6c]));}_0x2bcee0[_0x3e1a0c([0x73,0x74,0x61,0x74,0x65])]==_0x3e1a0c([0x72,0x65,0x61,0x64,0x79])?_0x3b4c86():_0x2bcee0[_0x3e1a0c([0x6f,0x6e,0x63,0x65])](_0x3e1a0c([0x72,0x65,0x61,0x64,0x79]),()=>_0x3b4c86());}function _0x5b4897(){return null;}function _0x2e12d9(_0x5bf8f4,_0x4b5a2b){const _0x2d1a80=!!(_0x5bf8f4&_0x4b5a2b[_0x3e1a0c([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x527c2b=_0xe52492(_0x5bf8f4,_0x4b5a2b);return _0x2d1a80||_0x527c2b;}function _0xe52492(_0x53f41c,_0x4549ad){const _0x35fbe2=(_0x4549ad[_0x3e1a0c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x3e1a0c([0x66,0x67,0x69])]||null;return!!_0x35fbe2&&_0x37d5e9[_0x3e1a0c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x292b95=>_0x35fbe2[_0x3e1a0c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x292b95[_0x3e1a0c([0x69,0x64])]))[_0x3e1a0c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b897a=>!_0x52625c(_0x2b897a))[_0x3e1a0c([0x73,0x6f,0x6d,0x65])](_0x146d6a=>!!(_0x53f41c&_0x146d6a[_0x3e1a0c([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x52625c(_0x21c6af){const _0x32df86={[_0x3e1a0c([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])]:_0x27f588};return!!_0x21c6af['forbiddenHandler']&&_0x32df86[_0x21c6af['forbiddenHandler']]();}function _0x27f588(){return!window[_0x3e1a0c([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x19eb94(_0x40a12b,_0x3e1a0c([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x4bb8f9(_0x26de05){if(!_0x19eb94(_0x40a12b,_0x26de05[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x3fabd4=_0x26de05[_0x3e1a0c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x3e2f7e=_0x3fabd4[_0x3e1a0c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0xb4b5e9=_0x3fabd4[_0x3e1a0c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x18e692=_0x3fabd4[_0x3e1a0c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x19eb94(_0x40a12b,_0x3e1a0c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x11cccd(_0x40a12b,_0x3e1a0c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3e1a0c([0x73,0x74,0x61,0x74,0x65])]==_0x3e1a0c([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x3e2f7e)return!0x0;if(_0x19eb94(_0x40a12b,_0x3e1a0c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x11cccd(_0x40a12b,_0x3e1a0c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x3e1a0c([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x3e1a0c([0x65,0x6e,0x64])&&_0xb4b5e9)return!0x0;return!(!_0x19eb94(_0x40a12b,_0x3e1a0c([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]))||_0x11cccd(_0x40a12b,_0x3e1a0c([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]))[_0x3e1a0c([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x3e1a0c([0x65,0x6e,0x64])||!_0x18e692);}function _0x19eb94(_0x14e0b9,_0x1e1e55){return _0x14e0b9[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3e1a0c([0x68,0x61,0x73])](_0x1e1e55);}function _0x11cccd(_0x214f11,_0x2adc24){return _0x214f11[_0x3e1a0c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3e1a0c([0x67,0x65,0x74])](_0x2adc24);}function _0x44541a(_0x58c4fb){let _0x5c3d5b='';for(const _0x51d4fd of _0x58c4fb)_0x5c3d5b+=String[_0x3e1a0c([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x51d4fd);return _0x5c3d5b;}function _0x5c7f1b(_0x2beec3){const _0x41028f=new Uint8Array(_0x2beec3[_0x3e1a0c([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x3ed8ad=0x0;_0x3ed8ad<_0x2beec3[_0x3e1a0c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ed8ad++)_0x41028f[_0x3ed8ad]=_0x2beec3[_0x3e1a0c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3ed8ad);return _0x41028f;}_0x208d4f&&_0x2d151e(_0x1b617b(_0x42a78f),_0x208d4f);})(_0x1ced5f);}(this);}['createRevision'](_0x1820f3){const _0x5e4f28=this['editor']['plugins']['get']('Users');return new a({'id':_0x1820f3['id'],'name':_0x1820f3['name'],'creator':_0x1820f3['creatorId']?_0x5e4f28['getUser'](_0x1820f3['creatorId']):null,'diffData':_0x1820f3['diffData']||_0x1820f3['data'],'authors':_0x1820f3['authorsIds']['map'](_0x4d0bbd=>_0x5e4f28['getUser'](_0x4d0bbd)),'createdAt':new Date(_0x1820f3['createdAt']),'attributes':_0x1820f3['attributes'],'fromVersion':_0x1820f3['fromVersion'],'toVersion':_0x1820f3['toVersion']});}['addRevision'](_0x16fca9,_0x41e2f0=0x0){this['_revisions']['add'](_0x16fca9,_0x41e2f0);}['getRevision'](_0x848342){return this['_revisions']['get'](_0x848342);}['getRevisions'](_0x527c9a={'toJSON':!0x1}){const _0x4e208e=Array['from'](this['_revisions']);return _0x4e208e['reverse'](),_0x527c9a['toJSON']?_0x4e208e['map'](_0x1c3373=>_0x1c3373['toJSON']()):_0x4e208e;}['getIndex'](_0x304933){return this['_revisions']['getIndex'](_0x304933);}['getEarlierVisibleRevision'](_0x516b95){const [,_0x280ed6]=this['getRevisionsIterator'](_0x516b95,{'direction':'earlier'});return _0x280ed6;}['getLaterVisibleRevision'](_0x166be3){const [,_0x207998]=this['getRevisionsIterator'](_0x166be3,{'direction':'later'});return _0x207998;}['getRevisionsInDiff'](_0x468262){const _0x283548=[];for(const _0x3b6d07 of this['getRevisionsIterator'](_0x468262['newRevisionId']))if(_0x283548['push'](_0x3b6d07),_0x3b6d07['id']===_0x468262['oldRevisionId'])break;return _0x283548;}*['getRevisionsIterator'](_0x30738e,{direction:_0x5de8f2='earlier',filter:_0x51bafb=_0x1403a4=>!0x0}={}){const _0x89bfb2='earlier'===_0x5de8f2?0x1:-0x1;let _0x3155be=this['_revisions']['get'](_0x30738e),_0x4aace2=this['getIndex'](_0x3155be);for(yield _0x3155be;_0x3155be;){if(_0x4aace2+=_0x89bfb2,_0x3155be=this['getRevision'](_0x4aace2),!_0x3155be)return;_0x51bafb(_0x3155be)&&(yield _0x3155be);}}}function y(_0x166863,_0xe4fa67,_0x510543){const t=_0x166863['t'];switch(_0xe4fa67){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'},_0x510543);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x510543);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x319721,'a':_0x378a42,'e':_0x4772f7,'r':_0x69908f,'u':_0x2059d8};class l extends _0x47193e{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0xaeb61,A,_0x5575c2];}constructor(_0x314a13){super(_0x314a13),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 _0x2fded0=_0x50a52d();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x2fded0},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 _0x4755c6=this['repository']['getRevision'](0x0),_0x5cc428=_0x4755c6&&null===_0x4755c6['creator']?_0x4755c6:null;if(this['_continueCurrentRevision']=!!_0x5cc428&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x413e07=this['_source']['getCurrentRevisionId'](),_0x4e7c4a=this['repository']['getRevision'](_0x413e07);if(_0x4e7c4a)this['_startingVersion']=_0x4e7c4a['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x2d3a76=this['_source']['history']['_operations']['find'](_0x8bb77e=>!_0x8bb77e['_isInit']),_0xe8abef=_0x2d3a76?_0x2d3a76['baseVersion']:this['_source']['history']['version'];_0x4755c6?(_0x4755c6['toVersion']<_0xe8abef&&_0x4755c6['_update']({'toVersion':_0xe8abef}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x5cc428['id'],this['_startingVersion']=_0x5cc428['fromVersion']):(this['_startingVersion']=_0x4755c6['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0xe8abef,this['_continueCurrentRevision']=!0x1);}}else _0x5cc428&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x5cc428['toVersion'],this['editor']['model']['document']['history']['version']),_0x5cc428['fromVersion']===_0x5cc428['toVersion']?(0x0!==_0x5cc428['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x5cc428['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x5cc428['id'],this['_startingVersion']=_0x5cc428['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',_0x5b26d1=>!_0x5b26d1);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x458233=this['repository']['getRevision'](0x0),_0x535620=await this['getRevisionDocumentData'](_0x458233),_0x229d0e=await this['getRevisionRootsAttributes'](_0x458233);this['_replaceEditorDataWithRevisionData'](_0x535620,_0x229d0e);}}['setSource'](_0xb02219){this['_source']=_0xb02219;}async['update'](){const _0x5cf99b=await this['_source']['getLatestVersion']();if(_0x5cf99b>this['currentRevision']['toVersion']){await this['_loadState']();const _0x364e05=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x5cf99b});_0x364e05['authors']=_0x364e05['authorsIds']['map'](_0x17f0c2=>this['editor']['plugins']['get']('Users')['getUser'](_0x17f0c2)),this['currentRevision']['_update'](_0x364e05);}}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'](_0x29befc={},_0x3f0341=null){const _0x573d87=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x3f0341>this['currentRevision']['toVersion']&&(_0x3f0341=null),null===_0x3f0341&&(_0x3f0341=await this['_source']['getLatestVersion']());const _0x148e54=this['_getFromVersion'](_0x3f0341),_0x3177d7=this['buildRevisionData']({'from':_0x148e54,'to':_0x3f0341});if(this['currentRevision']['toVersion']<_0x3f0341){const _0x35e892=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x3f0341,'to':_0x3f0341});_0x35e892['authors']=[],_0x35e892['authorsIds']=[],_0x35e892['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x35e892,!0x0),delete _0x35e892['authors'],_0x573d87['push'](_0x35e892);}_0x29befc['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x29befc['name']=_0x29befc['name']||null,_0x29befc['id']=_0x29befc['id']||_0x50a52d(),_0x29befc={..._0x29befc,..._0x3177d7};const _0x287d66=this['addRevisionData'](_0x29befc);_0x573d87['push'](_0x29befc);const _0x2e0a3a=this['repository']['getIndex'](_0x287d66);if(0x0!==_0x2e0a3a){const _0x9b5ec2=this['repository']['getRevision'](_0x2e0a3a-0x1);if(_0x9b5ec2['fromVersion']!==_0x3f0341){const _0x187806=this['_revisionDataBuilder']['getData'](_0x3f0341,_0x9b5ec2['toVersion']),_0x2ad09b={'id':_0x9b5ec2['id'],'diffData':_0x187806['diffData'],'authorsIds':_0x187806['authorsIds'],'authors':_0x187806['authorsIds']['map'](_0x37d817=>this['editor']['plugins']['get']('Users')['getUser'](_0x37d817)),'fromVersion':_0x3f0341};_0x9b5ec2===this['currentRevision']&&(_0x2ad09b['createdAt']=new Date(_0x29befc['createdAt']['getTime']()+0xa)),_0x9b5ec2['_update'](_0x2ad09b,!0x0),delete _0x2ad09b['authors'],_0x573d87['push'](_0x2ad09b);}}if(this['adapter']){for(const _0x21e8bd of _0x573d87)this['_bufferUpdate'](_0x21e8bd['id'],_0x21e8bd,!0x0);this['sendBufferedUpdates']();}return _0x287d66;}['addRevisionData'](_0x5ad094){const _0x28f7dd=this['repository']['createRevision'](_0x5ad094);return this['adapter']&&_0x28f7dd['on']('_update',(_0x24010a,_0x52036c,_0x3d41a3)=>{_0x3d41a3||(this['_bufferUpdate'](_0x52036c['id'],_0x52036c,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x28f7dd,this['_findInsertionIndex'](_0x28f7dd)),_0x28f7dd;}async['getRevisionDocumentData'](_0x3d60e6){await this['_loadRevisionData'](_0x3d60e6);const _0x1a25ce={};for(const _0x2af833 in _0x3d60e6['diffData']){if(_0x3d60e6['diffData'][_0x2af833]['attachChange']&&!_0x3d60e6['diffData'][_0x2af833]['attachChange']['isAttached'])continue;const _0x2228cc=this['_removeRevisionMarkers'](JSON['parse'](_0x3d60e6['diffData'][_0x2af833]['insertions'])),_0x50cf8d=this['editor']['editing']['view']['document'],_0x52bf88=new _0x4f3b65(_0x50cf8d,_0x2228cc['map'](_0x3b407a=>B(_0x3b407a,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x1a25ce[_0x2af833]=this['editor']['data']['processor']['toData'](_0x52bf88),this['editor']['data']['processor']['useFillerType']('default');}return _0x1a25ce;}async['getRevisionRootsAttributes'](_0x17aabd){await this['_loadRevisionData'](_0x17aabd);const _0x2417c2={};for(const _0xe5e8d9 in _0x17aabd['diffData'])_0x17aabd['diffData'][_0xe5e8d9]['attachChange']&&!_0x17aabd['diffData'][_0xe5e8d9]['attachChange']['isAttached']||(_0x2417c2[_0xe5e8d9]=_0x17aabd['diffData'][_0xe5e8d9]['attributesAfter']||{});return _0x2417c2;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x363e2e=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x34a30b=0x0;_0x34a30b<_0x363e2e['length'];_0x34a30b++){const _0x2d8ce2=_0x363e2e[_0x34a30b];let _0x4c6641=!0x1;for(const _0x4f98ca of Object['keys'](_0x2d8ce2))void 0x0===_0x2d8ce2[_0x4f98ca]?delete _0x2d8ce2[_0x4f98ca]:'id'!==_0x4f98ca&&(_0x4c6641=!0x0);_0x4c6641||(_0x363e2e[_0x34a30b]=null);}if(_0x363e2e=_0x363e2e['filter'](_0x5ea065=>null!==_0x5ea065),!_0x363e2e['length'])return;for(let _0x912611=0x0;_0x912611<_0x363e2e['length'];_0x912611++){const _0x11f6ca=_0x363e2e[_0x912611];void 0x0!==_0x11f6ca['fromVersion']&&void 0x0===_0x11f6ca['toVersion']&&(_0x11f6ca['toVersion']=this['repository']['getRevision'](_0x11f6ca['id'])['toVersion']),void 0x0!==_0x11f6ca['toVersion']&&void 0x0===_0x11f6ca['fromVersion']&&(_0x11f6ca['fromVersion']=this['repository']['getRevision'](_0x11f6ca['id'])['fromVersion']);}const _0x2ea4b3=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x363e2e,_0x2ea4b3)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x2b60a4=>{if(_0x2b60a4){for(const _0x307b75 of _0x2b60a4)this['setRevisionData']({'id':_0x307b75['id'],'createdAt':_0x307b75['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x318e6d,_0x1e4d84){let _0x4b3dde=this['editor']['config']['get']('initialData'),_0x29409a=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x4b3dde){_0x4b3dde={};for(const _0x5a1c34 of this['editor']['model']['document']['getRootNames']())_0x4b3dde[_0x5a1c34]='';}if('string'==typeof _0x4b3dde&&(_0x4b3dde={'main':_0x4b3dde}),void 0x0===_0x29409a){_0x29409a={};for(const _0x1f79c3 of this['editor']['model']['document']['getRootNames']())_0x29409a[_0x1f79c3]={};}let _0xc810e3=!0x1;const _0x4de147=Object['keys'](_0x4b3dde),_0x54784e=Object['keys'](_0x318e6d);for(const _0x39415f of _0x4de147){if(_0x4b3dde[_0x39415f]!==_0x318e6d[_0x39415f]&&''!==_0x4b3dde[_0x39415f]['trim']()){_0xc810e3=!0x0;break;}if(!_0x2d30da(_0x29409a[_0x39415f],_0x1e4d84[_0x39415f])&&Object['keys'](_0x29409a[_0x39415f])['length']>0x0){_0xc810e3=!0x0;break;}}_0xc810e3||(_0xc810e3=_0x54784e['some'](_0x48bb54=>!this['editor']['model']['document']['getRoot'](_0x48bb54))),_0xc810e3&&_0xeaaa32('editor-initial-data-replaced-with-revision-data',{'editorData':_0x4b3dde,'editorRootsAttributes':_0x29409a,'revisionData':_0x318e6d,'revisionRootsAttributes':_0x1e4d84}),this['editor']['config']['set']('initialData',_0x318e6d),this['editor']['config']['set']('rootsAttributes',_0x1e4d84);}['_addPendingAction'](){if(!this['_pendingAction']){const _0xd55060=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0xd55060['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x5f323a){const _0x4104e1=this['repository']['getRevisions']();_0x4104e1['reverse']();let _0x5a9ea5=0x0;for(;_0x5a9ea5<_0x4104e1['length'];){const _0x5117b1=_0x4104e1[_0x5a9ea5];if(_0x5117b1===this['currentRevision']){_0x5a9ea5++;continue;}if(_0x5117b1['id']===this['_initialRevisionId'])break;const _0x31b6f4=_0x5f323a['toVersion']-_0x5117b1['toVersion']||_0x5f323a['fromVersion']-_0x5117b1['fromVersion'];if(_0x31b6f4>0x0)break;if(_0x31b6f4<0x0)_0x5a9ea5++;else{if(!_0x5f323a['creator']&&_0x5117b1['creator'])break;if(_0x5117b1['creator']||!_0x5f323a['creator']){if(_0x5f323a['createdAt']>_0x5117b1['createdAt'])break;_0x5a9ea5++;}else _0x5a9ea5++;}}return _0x5a9ea5;}['setRevisionData'](_0x4bae77){const _0x1c5e50=this['repository']['getRevision'](_0x4bae77['id']);if(_0x4bae77['createdAt']&&(_0x4bae77['createdAt']=new Date(_0x4bae77['createdAt'])),_0x4bae77['authorsIds']){const _0x3a5023=this['editor']['plugins']['get']('Users');_0x4bae77['authors']=_0x4bae77['authorsIds']['map'](_0x507734=>_0x3a5023['getUser'](_0x507734));}_0x1c5e50['_update'](_0x4bae77,!0x0);}['buildRevisionData']({revision:_0x48928f=null,from:_0x27df92=null,to:_0x7f55e0=null}){_0x27df92=null!==_0x27df92?_0x27df92:_0x48928f['fromVersion'],_0x7f55e0=null!==_0x7f55e0?_0x7f55e0:_0x48928f['toVersion'];const _0x3a5476=this['_revisionDataBuilder']['getData'](_0x27df92,_0x7f55e0),_0x121c07={'diffData':_0x3a5476['diffData'],'authorsIds':_0x3a5476['authorsIds'],'fromVersion':_0x27df92,'toVersion':_0x7f55e0};if(!_0x48928f||_0x7f55e0!==_0x48928f['toVersion']){const _0x274ed1=_0x7f55e0-0x1,_0x4d9171=this['_source']['history']['getOperation'](_0x274ed1);_0x121c07['createdAt']=_0x4d9171&&_0x4d9171['createdAt']||new Date();}if(this['_loadedStateData']&&_0x27df92===this['_loadedStateData']['fromVersion']){for(const _0x39eed2 of this['_loadedStateData']['authors'])_0x121c07['authorsIds']['includes'](_0x39eed2['id'])||_0x121c07['authorsIds']['push'](_0x39eed2['id']);}return _0x121c07;}['_loadRevisionData'](_0x5aec78){if(!_0x5aec78||_0x5aec78['diffData'])return Promise['resolve']();{const _0x2c4c24=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2c4c24,'revisionId':_0x5aec78['id']})['then'](_0x54b8b0=>{_0x5aec78['diffData']=_0x54b8b0['diffData'];});}}['_bufferUpdate'](_0x19bc84,_0x5c0b74,_0x589a80){if(this['_bufferedUpdates']['has'](_0x19bc84)){const _0x18681c=this['_bufferedUpdates']['get'](_0x19bc84);_0x5c0b74=_0x589a80?{..._0x18681c,..._0x5c0b74}:{..._0x5c0b74,..._0x18681c};}this['_bufferedUpdates']['set'](_0x19bc84,_0x5c0b74);}['_getFromVersion'](_0x3cd230){const _0x1dd275=this['repository']['getRevisions']();_0x1dd275['reverse'](),_0x1dd275['shift']();const _0x36b687=_0x1dd275['find'](_0x58ec3d=>_0x58ec3d['toVersion']<=_0x3cd230)['toVersion'];return _0x36b687<this['_startingVersion']?this['_startingVersion']:_0x36b687;}['_createInitialRevision'](_0x4cb306){const _0x523c06=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x523c06)this['_initialRevisionId']=_0x523c06['id'];else{const _0x32b431=!this['editor']['model']['document']['roots']['find'](_0x6223e0=>this['editor']['model']['hasContent'](_0x6223e0)),_0x6e200e=this['editor']['plugins']['get']('Users')['me']['id'],_0x4c7222=y(this['editor']['locale'],_0x32b431?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x4cb306,'to':_0x4cb306,'id':this['_initialRevisionId'],'name':_0x4c7222,'creatorId':_0x6e200e});}}['_createCurrentRevision'](_0x47d44d){const _0x4c8382=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x4c8382),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x47d44d,'to':_0x47d44d,'id':_0x4c8382,'name':'','creatorId':null}));}['_makeRevision']({name:_0x5b0055,from:_0x1110b6,to:_0x1f4032,creatorId:_0x36d0d5,id:_0xc84390}){const _0xebc5f0=this['buildRevisionData']({'from':_0x1110b6,'to':_0x1f4032});_0xebc5f0['name']=_0x5b0055,_0xebc5f0['creatorId']=_0x36d0d5,_0xebc5f0['id']=_0xc84390;const _0x40e7bb=this['addRevisionData'](_0xebc5f0);return this['adapter']&&this['_bufferUpdate'](_0xebc5f0['id'],_0xebc5f0,!0x0),_0x40e7bb;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x32218c){return(_0x32218c=_0x32218c['filter'](_0x2091f7=>!_0x2091f7['name']||'revision-start'!==_0x2091f7['name']&&'revision-end'!==_0x2091f7['name']))['forEach'](_0x290eaf=>{'string'!=typeof _0x290eaf&&(_0x290eaf['children']=this['_removeRevisionMarkers'](_0x290eaf['children']),_0x290eaf['attributes']=_0x290eaf['attributes']['filter'](_0x29074a=>!_0x29074a[0x0]['startsWith']('data-revision-')));}),_0x32218c;}}function B(_0x450ff7,_0x35de53){const _0x1ae3db=_0x35de53['editing']['view']['document'];if('string'==typeof _0x450ff7)return new _0xda638(_0x1ae3db,_0x450ff7);{const _0x4d258e=_0x450ff7['children']['map'](_0x1f37e7=>B(_0x1f37e7,_0x35de53));return new(T[_0x450ff7['type']]||_0x2a35af)(_0x1ae3db,_0x450ff7['name'],_0x450ff7['attributes'],_0x4d258e);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x23fcc8){this['editor']=_0x23fcc8,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'](_0x436a67){this['source']=_0x436a67;const _0x361c70=new Map(),_0x180191=new Map(),_0x4d3455=this['editor']['model']['document']['roots']['map'](_0x1efbb5=>_0x1efbb5['rootName']);for(const _0x43156b of _0x4d3455){const _0x465f8f=this['editor']['model']['document']['getRoot'](_0x43156b),_0x21fda0=q(_0x465f8f);_0x361c70['set'](_0x43156b,_0x21fda0),_0x180191['set'](_0x43156b,Object['fromEntries'](_0x465f8f['getAttributes']()));}const _0x43c0be=Array['from'](this['editor']['model']['markers'])['map'](_0x4b8043=>[_0x4b8043['name'],_0x4b8043['getRange']()]),_0x425f42=this['source']['version'];this['_saveMetaData'](_0x425f42,_0x361c70,_0x43c0be,_0x180191),this['_startingRevisionId']=this['_revisionId'];const _0x43322d=new Map(),_0x41e62a=new Map();for(const _0x209842 of _0x4d3455){const _0x3916b1=G(_0x209842);_0x43322d['set'](_0x209842,_0x3916b1),_0x41e62a['set'](_0x209842,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x43322d,[],_0x41e62a);}['getData'](_0xacb957,_0x269838){if(this['_lastFrom']===_0xacb957&&this['_lastTo']<=_0x269838)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x269838,!0x0);else{if(!this['_savedMetaData']['has'](_0xacb957)){const _0x33df20=this['_getPreviousFrom'](_0xacb957);this['_calculateMetaData'](_0x33df20,_0xacb957,!0x1);}this['_calculateMetaData'](_0xacb957,_0x269838,!0x0);}return this['_lastFrom']=_0xacb957,this['_lastTo']=_0x269838,this['_getState']();}['loadState'](_0x7f5168){this['_reset'](),this['_lastFrom']=_0x7f5168['fromVersion'],this['_lastTo']=_0x7f5168['toVersion'];for(const _0x247d0e in _0x7f5168['diffData']){const _0x51b5fc=_0x7f5168['diffData'][_0x247d0e]['attachChange'],_0x1c2c20=_0x4cbbfa(_0x7f5168['diffData'][_0x247d0e]['attributesBefore'])||{},_0x59120f=this['_makeModelFromViewString'](_0x7f5168['diffData'][_0x247d0e]['deletions']);_0x59120f['rootName']=_0x247d0e,_0x59120f['_isAttached']=!_0x51b5fc||!_0x51b5fc['isAttached'],_0x59120f['isAttached']=()=>_0x59120f['_isAttached'],this['_baseRoots']['set'](_0x247d0e,_0x59120f),this['_baseRootsAttributes']['set'](_0x247d0e,_0x1c2c20),_0x51b5fc&&this['_touchedRoots']['set'](_0x247d0e,_0x51b5fc);const _0x36e807=this['_makeIdsRoot'](_0x59120f);this['_baseIdsRoots']['set'](_0x247d0e,_0x36e807);for(const [_0x3dd7a,_0x586feb]of _0x59120f['markers']){if(!_0x3dd7a['startsWith']('revision:'))continue;const _0x836b18=_0x3dd7a['split'](':')[0x2];for(const _0x52074e of _0x586feb['getWalker']({'singleCharacters':!0x0})){const _0xae1ade=this['_getVidAttributeName'](_0x52074e),_0x4e0a35='elementEnd'==_0x52074e['type']?_0x52074e['previousPosition']['path']['slice'](0x0,-0x1):_0x52074e['previousPosition']['path'],_0x419e14=_0x36e807['getNodeByPath'](_0x4e0a35)['getAttribute'](_0xae1ade);this['_touched']['set'](_0x419e14,{'userId':_0x836b18});}}}this['_startingRevisionId']=this['_revisionId'];const _0x2695c2=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x45c6f9=>!this['_touched']['has'](_0x45c6f9));let _0x245ac1=0x0;const _0x5238fd=new Map();for(const _0xc2c91c in _0x7f5168['diffData']){const _0x10c2fd=_0x7f5168['diffData'][_0xc2c91c]['attachChange'],_0x48ea3b=_0x4cbbfa(_0x7f5168['diffData'][_0xc2c91c]['attributesAfter'])||{},_0x3bfe59=this['_makeModelFromViewString'](_0x7f5168['diffData'][_0xc2c91c]['insertions']);_0x3bfe59['rootName']=_0xc2c91c,_0x3bfe59['_isAttached']=!_0x10c2fd||_0x10c2fd['isAttached'],_0x3bfe59['isAttached']=()=>_0x3bfe59['_isAttached'],this['_diffRoots']['set'](_0xc2c91c,_0x3bfe59),this['_diffRootsAttributes']['set'](_0xc2c91c,_0x48ea3b);const _0x57436b=this['_makeIdsRoot'](_0x3bfe59,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0xc2c91c,_0x57436b),_0x5238fd['set'](_0xc2c91c,_0x3bfe59['isAttached']()?_0x48ea3b:{});for(const [_0x31f66e,_0x457235]of _0x3bfe59['markers']){if(!_0x31f66e['startsWith']('revision:'))continue;const _0x49d34c=_0x31f66e['split'](':')[0x2];for(const _0x41df2b of _0x457235['getWalker']({'singleCharacters':!0x0})){const _0x191594=this['_getVidAttributeName'](_0x41df2b),_0x18ca4f=this['_revisionId']++,_0x52a0fa='elementEnd'==_0x41df2b['type']?_0x41df2b['previousPosition']['path']['slice'](0x0,-0x1):_0x41df2b['previousPosition']['path'];_0x57436b['getNodeByPath'](_0x52a0fa)['_setAttribute'](_0x191594,_0x18ca4f),this['_touched']['set'](_0x18ca4f,{'userId':_0x49d34c});}}for(const _0x452577 of this['editor']['model']['createRangeIn'](_0x3bfe59)['getWalker']({'singleCharacters':!0x0})){const _0x6bd2aa=this['_getVidAttributeName'](_0x452577),_0x5b110b='elementEnd'==_0x452577['type']?_0x452577['previousPosition']['path']['slice'](0x0,-0x1):_0x452577['previousPosition']['path'],_0x57676d=_0x57436b['getNodeByPath'](_0x5b110b);_0x57676d['getAttribute'](_0x6bd2aa)>0x0||_0x57676d['_setAttribute'](_0x6bd2aa,_0x2695c2[_0x245ac1++]);}for(const [_0x51a194,_0x14302b]of _0x3bfe59['markers'])_0x51a194['startsWith']('revision:')||this['_markers']['set'](_0x51a194,_0x14302b);}const _0x4da6e8=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x4da6e8),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4da6e8,0x1));const _0x2cbb4e=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x2cbb4e),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x2cbb4e,0x1));const _0x3f4252=Array['from'](this['_diffRoots'])['map'](([_0xfd2230,_0x1c8ff5])=>[_0xfd2230,q(_0x1c8ff5)]);this['_saveMetaData'](this['_lastTo'],_0x3f4252,this['_markers'],_0x5238fd);}['_makeModelFromViewString'](_0x5788e3){const _0xb6b809=JSON['parse'](_0x5788e3),_0x31ffac=this['editor']['editing']['view']['document'],_0x5ca80f=new _0x4f3b65(_0x31ffac,_0xb6b809['map'](_0x137fda=>B(_0x137fda,this['editor'])));return this['editor']['data']['toModel'](_0x5ca80f);}['_saveMetaData'](_0x292f98,_0x340a3c,_0x341bef,_0x42755c){const _0x38fde0=new Map(_0x340a3c),_0x23d216=new Map(_0x4cbbfa(_0x42755c)),_0xca614a=new Map();for(const [_0x432a87,_0x4e03c0]of _0x341bef)_0xca614a['set'](_0x432a87,{'start':_0x4e03c0['start']['clone'](),'end':_0x4e03c0['end']['clone'](),'rootName':_0x4e03c0['root']['rootName']});this['_savedMetaData']['set'](_0x292f98,{'roots':_0x38fde0,'markers':_0xca614a,'rootsAttributes':_0x23d216});}['_removeMetaData'](_0x362eaa){this['_savedMetaData']['delete'](_0x362eaa);}['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'](_0x28cac5,_0x5efee5=null){let _0x5a0b54=null;_0x28cac5['is']('documentFragment')||(_0x5a0b54=new ft(_0x28cac5['name'],{'vid_start':null===_0x5efee5?this['_revisionId']++:_0x5efee5++}));const _0x3d4e47=[];for(const _0x4238d0 of _0x28cac5['getChildren']())if(_0x4238d0['is']('element')){_0x3d4e47['push'](this['_makeIdsRoot'](_0x4238d0,_0x5efee5));const _0x59b24a=_0x3d4e47[_0x3d4e47['length']-0x1];null!==_0x5efee5&&(_0x5efee5=_0x59b24a['is']('element','$text')?_0x59b24a['getAttribute']('vid')+0x1:_0x59b24a['getAttribute']('vid_end')+0x1);}else{for(let _0x4723af=0x0;_0x4723af<_0x4238d0['offsetSize'];_0x4723af++)_0x3d4e47['push'](new ft('$text',{'vid':null===_0x5efee5?this['_revisionId']++:_0x5efee5++}));}if(_0x28cac5['is']('documentFragment')){const _0x3b8886=G(_0x28cac5['rootName']);return _0x3b8886['_insertChild'](0x0,_0x3d4e47),_0x3b8886;}return _0x5a0b54['_setAttribute']('vid_end',null===_0x5efee5?this['_revisionId']++:_0x5efee5++),_0x5a0b54['_insertChild'](0x0,_0x3d4e47),_0x5a0b54;}['_calculateMetaData'](_0x52aad6,_0x1b4caa,_0x2a215e){this['_reset']();const {roots:_0x23c271,markers:_0x21a849,rootsAttributes:_0x4fb2f1}=this['_savedMetaData']['get'](_0x52aad6);this['_baseRoots']=new Map(_0x23c271),this['_baseRootsAttributes']=new Map(_0x4cbbfa(_0x4fb2f1));for(const [_0x9e0fac,_0xa5af72]of this['_baseRoots'])if('$graveyard'!==_0x9e0fac&&(this['_diffRoots']['set'](_0x9e0fac,q(_0xa5af72)),this['_diffRootsAttributes']=new Map(_0x4cbbfa(_0x4fb2f1)),_0x2a215e)){const _0x262578=this['_revisionId'];this['_idsRoots']['set'](_0x9e0fac,this['_makeIdsRoot'](_0xa5af72)),this['_baseIdsRoots']['set'](_0x9e0fac,this['_makeIdsRoot'](_0xa5af72,_0x262578));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x2a215e&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x12904e,_0x12f74b]of _0x21a849){const _0x2bacb0=this['_baseRoots']['get'](_0x12f74b['rootName']),_0x31d57e=this['_diffRoots']['get'](_0x12f74b['rootName']),_0x72be3d=new vt(this['_fixPosition'](_0x12f74b['start'],_0x2bacb0),this['_fixPosition'](_0x12f74b['end'],_0x2bacb0)),_0x4c00c9=this['_fixRange'](_0x72be3d,_0x31d57e);_0x2bacb0['markers']['set'](_0x12904e,_0x72be3d),this['_markers']['set'](_0x12904e,_0x4c00c9);}this['_applyOperations'](_0x52aad6,_0x1b4caa,_0x2a215e);}['_applyOperations'](_0x506b28,_0x207335,_0x55f42b){for(const _0x4fd787 of this['source']['getOperations'](_0x506b28,_0x207335))this['_handleOperation'](_0x4fd787,_0x55f42b);for(const _0x423fd3 of this['_diffRoots']['values']())_0x423fd3['markers']['clear']();for(const [_0xaa6e8,_0x2a0884]of this['_markers']){this['_diffRoots']['get'](_0x2a0884['root']['rootName'])['markers']['set'](_0xaa6e8,_0x2a0884['clone']());}const _0x11d2de=new Map(),_0x3fe270=new Map();for(const [_0x1537c6,_0x1fece0]of this['_diffRoots'])_0x11d2de['set'](_0x1537c6,q(_0x1fece0)),_0x3fe270['set'](_0x1537c6,this['_diffRootsAttributes']['get'](_0x1537c6));this['_saveMetaData'](_0x207335,_0x11d2de,this['_markers'],_0x3fe270);}['_getPreviousFrom'](_0x59fe35){const _0x169ce4=Array['from'](this['_savedMetaData']['keys']());_0x169ce4['sort']((_0x45f95f,_0x14246d)=>_0x45f95f-_0x14246d),_0x169ce4['reverse']();for(const _0x91ae47 of _0x169ce4)if(_0x91ae47<_0x59fe35)return _0x91ae47;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x5c5f7e,_0x17c22d){const _0x39ab32=Array['from'](_0x17c22d['markers'])['map'](([_0x3689b0,_0x4a03ec])=>[_0x3689b0,this['_fixRange'](_0x4a03ec,_0x5c5f7e)]);_0x5c5f7e['markers']=new Map(_0x39ab32);}['_transformMarkers'](_0x37cf86){for(const _0x19f65d of this['_markers']['values']()){const _0x243a1d=_0x19f65d['getTransformedByOperation'](_0x37cf86),_0x28ef57=vt['_createFromRanges'](_0x243a1d);_0x19f65d['start']=_0x28ef57['start'],_0x19f65d['end']=_0x28ef57['end'];}}['_handleOperation'](_0x23a86f,_0x2cc53e){if('addRoot'==_0x23a86f['type']||'detachRoot'==_0x23a86f['type'])return void this['_handleRootOperation'](_0x23a86f,_0x2cc53e);if('insert'==_0x23a86f['type']){const _0x2ad26d=_0x23a86f['position']['root']['rootName'];this['_diffRoots']['has'](_0x2ad26d)||(this['_diffRoots']['set'](_0x2ad26d,G(_0x2ad26d,!0x0)),this['_diffRootsAttributes']['set'](_0x2ad26d,{}),_0x2cc53e&&this['_idsRoots']['set'](_0x2ad26d,G(_0x2ad26d,!0x0)));}else{if('addRootAttribute'==_0x23a86f['type']||'removeRootAttribute'==_0x23a86f['type']||'changeRootAttribute'==_0x23a86f['type'])return void this['_handleRootAttributeOperation'](_0x23a86f);}const _0x909c84=this['_cloneOperation'](_0x23a86f,this['_diffRoots']);if('marker'!==_0x23a86f['type']&&(_0x909c84['_execute'](),this['_transformMarkers'](_0x909c84)),_0x2cc53e)switch(_0x909c84['type']){case'insert':this['_handleInsertOperation'](_0x23a86f);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x23a86f);break;case'merge':this['_handleMergeOperation'](_0x23a86f);break;case'split':this['_handleSplitOperation'](_0x23a86f);break;case'marker':this['_handleMarkerOperation'](_0x23a86f);}}['_cloneOperation'](_0x1aa700,_0x579e98){const _0x5a708c=_0x1aa700['clone']();return _0x5a708c['_authorId']=_0x1aa700['_authorId'],this['_fixOperation'](_0x5a708c,_0x579e98),_0x5a708c;}['_getBaseVids'](_0x28d087){return _0x28d087['map'](_0x13e89b=>{const _0x5301b1=this['_getVidAttributeName'](_0x13e89b);return Number(_0x13e89b['item']['getAttribute'](_0x5301b1));});}['_generateTape'](_0x1f798e,_0x5f1ae0){if(_0x1f798e['is']('element','$text'))_0x5f1ae0['push']({'item':_0x1f798e,'type':'text'});else{_0x1f798e['is']('element')&&_0x5f1ae0['push']({'item':_0x1f798e,'type':'elementStart'});for(const _0x34bdc0 of _0x1f798e['getChildren']())this['_generateTape'](_0x34bdc0,_0x5f1ae0);_0x1f798e['is']('element')&&_0x5f1ae0['push']({'item':_0x1f798e,'type':'elementEnd'});}return _0x5f1ae0;}['_getState'](){const _0x92a3a5=new Map(this['_touched']),_0x2a2878=new Map(_0x92a3a5),_0x5b45f3=new Map(),_0xee90fd={'insertions':{},'deletions':{}},_0x146123={'insertions':{},'deletions':{}},_0x2da06b=new Map(),_0x193f45=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x193f45['delete']('$graveyard');for(const _0x430cca of _0x193f45){const _0x2250f8=this['_diffRoots']['get'](_0x430cca)||G(_0x430cca,!0x1),_0x3c1152=this['_baseRoots']['get'](_0x430cca)||G(_0x430cca,!0x1);_0x2250f8['isAttached']()||_0x3c1152['isAttached']()?(_0xee90fd['insertions'][_0x430cca]=q(_0x2250f8),_0xee90fd['deletions'][_0x430cca]=q(_0x3c1152),this['_copyMarkers'](_0xee90fd['deletions'][_0x430cca],_0x3c1152),this['_copyMarkers'](_0xee90fd['insertions'][_0x430cca],_0x2250f8),_0x146123['insertions'][_0x430cca]=this['_generateTape'](this['_idsRoots']['get'](_0x430cca),[]),_0x146123['deletions'][_0x430cca]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x430cca)||G(_0x430cca,!0x1),[])):_0x193f45['delete'](_0x430cca);}for(const _0x4987de of _0x193f45){const _0x1025db=_0x146123['insertions'][_0x4987de];for(const _0xa0db57 of _0x1025db){const _0x18d1bb=this['_getVidAttributeName'](_0xa0db57),_0x217dfe=_0xa0db57['item']['getAttribute'](_0x18d1bb);_0x2a2878['delete'](_0x217dfe),_0x217dfe>=this['_startingRevisionId']&&_0x5b45f3['set'](_0x217dfe,_0x92a3a5['get'](_0x217dfe));}}for(const _0x3c035e of _0x193f45){const _0x1bd44b=_0x146123['insertions'][_0x3c035e],_0x7d4e25=this['_getBaseVids'](_0x146123['deletions'][_0x3c035e]);let _0x35b925=0x0;for(const _0x5202c0 of _0x1bd44b){const _0x423e14=this['_getVidAttributeName'](_0x5202c0),_0x2c9fde=_0x5202c0['item']['getAttribute'](_0x423e14);if(!_0x5b45f3['has'](_0x2c9fde)&&!_0x2da06b['has'](_0x2c9fde)){if(_0x2a2878['has'](_0x2c9fde))_0x35b925++;else{if(_0x2c9fde!=_0x7d4e25[_0x35b925]){const _0x17cb5c=_0x92a3a5['get'](_0x2c9fde)||_0x92a3a5['get'](_0x7d4e25[_0x35b925]);for(;_0x2c9fde!=_0x7d4e25[_0x35b925];)_0x2a2878['has'](_0x7d4e25[_0x35b925])||(_0x2da06b['set'](_0x7d4e25[_0x35b925],_0x17cb5c),_0x92a3a5['set'](_0x7d4e25[_0x35b925],_0x17cb5c)),_0x35b925++;}_0x35b925++;}}}}for(const _0x23aa74 of _0x193f45){const _0x5215d2=_0x146123['insertions'][_0x23aa74];for(const _0x2d3132 of _0x5215d2){const _0x3a8a17=this['_getVidAttributeName'](_0x2d3132),_0x435c7b=_0x2d3132['item']['getAttribute'](_0x3a8a17);if(_0x2da06b['has'](_0x435c7b)){const _0x439c1a=_0x2da06b['get'](_0x435c7b);_0x2a2878['has'](_0x435c7b)||_0x2a2878['set'](_0x435c7b,{..._0x439c1a}),_0x5b45f3['set'](_0x435c7b,{..._0x439c1a});}}}for(const _0x218ec7 of _0x2a2878['keys']())_0x218ec7>=this['_startingRevisionId']&&_0x2a2878['delete'](_0x218ec7);const _0x4d255f=new Map();for(const _0x3209db of _0x193f45){let _0x395fd9=_0x146123['insertions'][_0x3209db];for(const _0x566a61 of _0x395fd9)if(_0x566a61['item']['is']('element','tableCell')){const _0x2cd02c=this['_getVidAttributeName'](_0x566a61),_0x6d210c=_0x566a61['item']['getAttribute'](_0x2cd02c);if(_0x5b45f3['has'](_0x6d210c)){const _0x85fb35=_0x566a61['item']['parent']['parent']['getAttribute']('vid_start'),_0x177e69=_0x4d255f['get'](_0x85fb35)||new Set();_0x177e69['add'](_0x5b45f3['get'](_0x6d210c)['userId']),_0x4d255f['set'](_0x85fb35,_0x177e69);}}_0x395fd9=_0x146123['deletions'][_0x3209db];for(const _0x3ea1d6 of _0x395fd9)if(_0x3ea1d6['item']['is']('element','tableCell')){const _0x23fb0d=this['_getVidAttributeName'](_0x3ea1d6),_0xa527f2=_0x3ea1d6['item']['getAttribute'](_0x23fb0d);if(_0x2a2878['has'](_0xa527f2)){const _0x371a00=_0x3ea1d6['item']['parent']['parent']['getAttribute']('vid_start'),_0x44e6e3=_0x4d255f['get'](_0x371a00)||new Set();_0x44e6e3['add'](_0x2a2878['get'](_0xa527f2)['userId']),_0x4d255f['set'](_0x371a00,_0x44e6e3);}}for(const _0x4c8c8e of _0x4d255f['keys']())(_0x5b45f3['has'](_0x4c8c8e)||_0x2a2878['has'](_0x4c8c8e))&&_0x4d255f['delete'](_0x4c8c8e);}for(const _0x9334f7 of _0x193f45){const _0x261f0d=_0x146123['insertions'][_0x9334f7];let _0x14c49f=null,_0x1457f7=null;for(const _0x4308cd of _0x261f0d){const _0x19ec78=this['_getVidAttributeName'](_0x4308cd),_0xebe590=_0x4308cd['item']['getAttribute'](_0x19ec78),_0x56c0bc=_0x4d255f['get'](_0xebe590);_0x56c0bc&&'elementStart'==_0x4308cd['type']&&(_0x14c49f=Array['from'](_0x56c0bc)[0x0],_0x1457f7=_0x4308cd['item']['getAttribute']('vid_end')),_0x14c49f&&(_0x2a2878['set'](_0xebe590,{'userId':_0x14c49f}),_0x5b45f3['set'](_0xebe590,{'userId':_0x14c49f})),_0xebe590==_0x1457f7&&(_0x14c49f=null,_0x1457f7=null);}}const _0xf79084={},_0x38ffe5=new Set();for(const _0x232121 of _0x193f45){const _0x30eb83=_0xee90fd['deletions'][_0x232121],_0x4c0aa4=_0xee90fd['insertions'][_0x232121];for(const {userId:_0x1c0de0}of this['_touchedMarkers']['values']())null!==_0x1c0de0&&_0x38ffe5['add'](_0x1c0de0);for(const {userId:_0x3bfbb9}of this['_touchedRoots']['values']())null!==_0x3bfbb9&&_0x38ffe5['add'](_0x3bfbb9);this['_markChanges'](_0x4c0aa4,_0x146123['insertions'][_0x232121],_0x5b45f3,'insertion',_0x38ffe5),this['_markChanges'](_0x30eb83,_0x146123['deletions'][_0x232121],_0x2a2878,'deletion',_0x38ffe5),_0xf79084[_0x232121]={'insertions':this['_prepareViewToSave'](_0x4c0aa4),'deletions':this['_prepareViewToSave'](_0x30eb83),'attachChange':this['_touchedRoots']['get'](_0x232121)||null,'attributesBefore':_0x4cbbfa(this['_baseRootsAttributes']['get'](_0x232121))||{},'attributesAfter':_0x4cbbfa(this['_diffRootsAttributes']['get'](_0x232121))};}return{'diffData':_0xf79084,'authorsIds':Array['from'](_0x38ffe5)};}['_processRootBeforeSave'](_0x57b4c6){for(const [,_0x39cfbd]of _0x57b4c6['markers']){const _0x4ac58=_0x39cfbd['start']['getAncestors']()['filter'](_0xc6a4b1=>'tableCell'==_0xc6a4b1['name']);for(const _0x16848f of _0x4ac58)0x1==_0x16848f['childCount']&&_0x16848f['getChild'](0x0)['is']('element','paragraph')&&_0x16848f['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x8d1180){this['_processRootBeforeSave'](_0x8d1180);const _0x5e2853=this['editor']['data']['toView'](_0x8d1180,{}),_0x9f23a5=Array['from'](_0x5e2853['getChildren']())['map'](_0x3c5ae3=>this['_getViewJson'](_0x3c5ae3));return JSON['stringify'](_0x9f23a5);}['_getViewJson'](_0x51c1aa){if(_0x51c1aa['is']('$text'))return _0x51c1aa['data'];{const _0x26dd20=_0x51c1aa;return{'type':Object['keys'](T)['find'](_0x4e0fdc=>_0x51c1aa instanceof T[_0x4e0fdc]),'name':_0x26dd20['name'],'attributes':Array['from'](_0x26dd20['getAttributes']()),'children':Array['from'](_0x26dd20['getChildren']())['map'](_0x16554d=>this['_getViewJson'](_0x16554d))};}}['_markChanges'](_0x3a610b,_0x6d381e,_0x1f5bb3,_0x392dd7,_0x34d9ac){let _0x571874=null,_0x5dca73=null,_0xbafab8=0x0;const _0xd5fd9e=this['editor']['model'];for(let _0x34ddd2=0x0;_0x34ddd2<_0x6d381e['length'];_0x34ddd2++){const _0x39d306=this['_getVidAttributeName'](_0x6d381e[_0x34ddd2]),_0x2d223c=_0x6d381e[_0x34ddd2]['item']['getAttribute'](_0x39d306),_0xc68dc1=_0x1f5bb3['get'](_0x2d223c),_0x3c7673=_0x34ddd2==_0x6d381e['length']-0x1;(!_0x571874&&_0xc68dc1&&(_0x571874=_0xc68dc1,_0x5dca73=_0x6d381e[_0x34ddd2]),_0x571874&&(!_0xc68dc1||_0xc68dc1['userId']!=_0x571874['userId']))&&(_0x1e6dc1(_0xc68dc1,L(_0x5dca73,_0x3a610b,_0xd5fd9e),L(_0x6d381e[_0x34ddd2],_0x3a610b,_0xd5fd9e)),_0x571874=_0xc68dc1||null,_0x5dca73=_0xc68dc1?_0x6d381e[_0x34ddd2]:null),_0x571874&&_0x3c7673&&_0x1e6dc1(_0xc68dc1,L(_0x5dca73,_0x3a610b,_0xd5fd9e),W(_0x6d381e[_0x34ddd2],_0x3a610b,_0xd5fd9e));}function _0x1e6dc1(_0x665185,_0x1308af,_0x3e1f7c){const _0x22ff3b=_0x571874['userId'],_0x4b45b4='revision:'+_0x392dd7+':'+_0x22ff3b+':'+_0xbafab8++,_0x15f497=_0xd5fd9e['createRange'](_0x1308af,_0x3e1f7c);_0x3a610b['markers']['set'](_0x4b45b4,_0x15f497),null!==_0x22ff3b&&_0x34d9ac['add'](_0x22ff3b);}}['_getVidAttributeName'](_0x555dfa){switch(_0x555dfa['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x364fcf,_0x51e753){_0x364fcf['baseVersion']=null;for(const _0x12a5c6 in _0x364fcf){const _0x4ac04d=_0x364fcf[_0x12a5c6];if(_0x4ac04d instanceof gt){const _0x4ad5e1=_0x51e753['get'](_0x4ac04d['root']['rootName']);_0x364fcf[_0x12a5c6]=this['_fixPosition'](_0x4ac04d,_0x4ad5e1);}if(_0x4ac04d instanceof vt){const _0x4e5067=_0x51e753['get'](_0x4ac04d['root']['rootName']);_0x364fcf[_0x12a5c6]=this['_fixRange'](_0x4ac04d,_0x4e5067);}'root'===_0x12a5c6&&(_0x364fcf['root']=_0x51e753['get'](_0x364fcf['root']['rootName']));}}['_fixRange'](_0x59f2fe,_0x3f9ca4){return this['editor']['model']['createRange'](this['_fixPosition'](_0x59f2fe['start'],_0x3f9ca4),this['_fixPosition'](_0x59f2fe['end'],_0x3f9ca4));}['_fixPosition'](_0x1fa664,_0x44c5e5){return this['editor']['model']['createPositionFromPath'](_0x44c5e5,_0x1fa664['path'],_0x1fa664['stickiness']);}['_handleInsertOperation'](_0x551069){const _0x43cb7d=this['_idsRoots']['get'](_0x551069['position']['root']['rootName']),_0x484c54=this['_fixPosition'](_0x551069['position'],_0x43cb7d),_0x4a2de7=null===_0x551069['_authorId']?null:_0x551069['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x24aef9=_0x484c54['parent'],_0x5c26b6=this['_revisionId'],_0x27dd7c=[];for(const _0x84baab of _0x551069['nodes'])if(_0x84baab['is']('element'))_0x27dd7c['push'](this['_makeIdsRoot'](_0x84baab));else{for(let _0x197759=0x0;_0x197759<_0x84baab['offsetSize'];_0x197759++)_0x27dd7c['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x3ea462=this['_revisionId'];for(let _0x3ce8d8=_0x5c26b6;_0x3ce8d8<_0x3ea462;_0x3ce8d8++)this['_touched']['set'](_0x3ce8d8,{'userId':_0x4a2de7});_0x24aef9['_insertChild'](_0x484c54['offset'],_0x27dd7c);}['_handleMoveOperation'](_0x29fffa){(_0x29fffa=this['_cloneOperation'](_0x29fffa,this['_idsRoots']))['_execute']();const _0x222150=null===_0x29fffa['_authorId']?null:_0x29fffa['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x39c21d=_0x29fffa['getMovedRangeStart'](),_0x73588b=_0x39c21d['parent'],_0x57adce=_0x39c21d['offset'];!function _0x23abb8(_0x1147fb,_0x2cbc97,_0x4c873a,_0x29eb86){for(let _0x22e686=_0x4c873a;_0x22e686<_0x29eb86;_0x22e686++){const _0x1b327c=_0x2cbc97['getChild'](_0x22e686);_0x1b327c['is']('element','$text')?_0x1147fb['set'](_0x1b327c['getAttribute']('vid'),{'userId':_0x222150}):(_0x1147fb['set'](_0x1b327c['getAttribute']('vid_start'),{'userId':_0x222150}),_0x23abb8(_0x1147fb,_0x1b327c,0x0,_0x1b327c['childCount']),_0x1147fb['set'](_0x1b327c['getAttribute']('vid_end'),{'userId':_0x222150}));}}(this['_touched'],_0x73588b,_0x57adce,_0x57adce+_0x29fffa['howMany']);}['_handleMergeOperation'](_0x333a91){const _0x3950be=null===(_0x333a91=this['_cloneOperation'](_0x333a91,this['_idsRoots']))['_authorId']?null:_0x333a91['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x52b75f=_0x333a91['targetPosition']['parent'],_0x226588=_0x333a91['sourcePosition']['parent'],_0x1d58e3=_0x52b75f['getAttribute']('vid_end'),_0x2aedf9=_0x226588['getAttribute']('vid_start');_0x52b75f['_setAttribute']('vid_end',_0x226588['getAttribute']('vid_end')),_0x226588['_setAttribute']('vid_end',_0x1d58e3),this['_touched']['set'](_0x2aedf9,{'userId':_0x3950be}),this['_touched']['set'](_0x1d58e3,{'userId':_0x3950be}),_0x333a91['_execute']();}['_handleSplitOperation'](_0xf056fe){const _0x1d80f2=null===(_0xf056fe=this['_cloneOperation'](_0xf056fe,this['_idsRoots']))['_authorId']?null:_0xf056fe['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x358c25=_0xf056fe['graveyardPosition'],_0x3aafae=_0xf056fe['splitPosition']['parent'];_0xf056fe['_execute']();const _0x3c541a=_0x3aafae['getAttribute']('vid_end'),_0x3c5762=_0xf056fe['insertionPosition']['nodeAfter'];if(_0x358c25){const _0x1951ad=_0x3c5762['getAttribute']('vid_end'),_0x2679fb=_0x3aafae['getAttribute']('vid_end');_0x3aafae['_setAttribute']('vid_end',_0x1951ad),_0x3c5762['_setAttribute']('vid_end',_0x2679fb),this['_touched']['set'](_0x3aafae['getAttribute']('vid_end'),{'userId':_0x1d80f2}),this['_touched']['set'](_0x3c5762['getAttribute']('vid_start'),{'userId':_0x1d80f2});}else{const _0x17e316=this['_revisionId']++,_0x491ffd=this['_revisionId']++;_0x3aafae['_setAttribute']('vid_end',_0x17e316),_0x3c5762['_setAttribute']('vid_start',_0x491ffd),_0x3c5762['_setAttribute']('vid_end',_0x3c541a),this['_touched']['set'](_0x17e316,{'userId':_0x1d80f2}),this['_touched']['set'](_0x491ffd,{'userId':_0x1d80f2});}}['_handleMarkerOperation'](_0x182261){if(!_0x182261['affectsData'])return;const _0x3d5b15=(_0x182261=this['_cloneOperation'](_0x182261,this['_diffRoots']))['oldRange']?_0x182261['oldRange']['root']:null,_0x28c89c=_0x182261['newRange']?_0x182261['newRange']['root']:null;_0x3d5b15&&this['_markers']['delete'](_0x182261['name']),_0x28c89c&&this['_markers']['set'](_0x182261['name'],_0x182261['newRange']['clone']());const _0x1e3fbd=null===_0x182261['_authorId']?null:_0x182261['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x26912b=_0x182261['name'];if(!this['_touchedMarkers']['has'](_0x26912b))return void this['_touchedMarkers']['set'](_0x26912b,{'range':_0x182261['oldRange'],'userId':_0x1e3fbd});const _0x3bbc8a=this['_touchedMarkers']['get'](_0x26912b),_0x28353d=_0x3bbc8a['range'],_0x3f8f06=_0x182261['newRange'];null==_0x28353d&&null==_0x3f8f06||_0x28353d&&_0x3f8f06&&_0x28353d['isEqual'](_0x3f8f06)?this['_touchedMarkers']['delete'](_0x182261['name']):_0x3bbc8a['userId']=_0x1e3fbd;}['_handleRootOperation'](_0x18c5cb,_0x47ef46){this['_diffRoots']['has'](_0x18c5cb['rootName'])?this['_diffRoots']['get'](_0x18c5cb['rootName'])['_isAttached']=_0x18c5cb['isAdd']:(this['_diffRoots']['set'](_0x18c5cb['rootName'],G(_0x18c5cb['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x18c5cb['rootName'],{}),_0x47ef46&&this['_idsRoots']['set'](_0x18c5cb['rootName'],G(_0x18c5cb['rootName'],!0x0)));const _0x247af5=null===_0x18c5cb['_authorId']?null:_0x18c5cb['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x366e38=this['_touchedRoots']['get'](_0x18c5cb['rootName']);_0x366e38&&_0x366e38['userId']===_0x247af5?this['_touchedRoots']['delete'](_0x18c5cb['rootName']):this['_touchedRoots']['set'](_0x18c5cb['rootName'],{'userId':_0x247af5,'isAttached':_0x18c5cb['isAdd']});}['_handleRootAttributeOperation'](_0x25f9c3){const _0x2a043a=this['_diffRootsAttributes']['get'](_0x25f9c3['root']['rootName']);null===_0x25f9c3['newValue']?delete _0x2a043a[_0x25f9c3['key']]:_0x2a043a[_0x25f9c3['key']]=_0x25f9c3['newValue'];}}function q(_0x434c70){const _0xd7b33=G(_0x434c70['rootName'],_0x434c70['isAttached']());for(const _0x46df9d of _0x434c70['getChildren']()){const _0x11f8dd=_0x46df9d['_clone'](!0x0);_0xd7b33['_appendChild'](_0x11f8dd);}return _0xd7b33;}function G(_0x456558,_0x44eea2=!0x0){const _0x530676=new wt();return _0x530676['rootName']=_0x456558,_0x530676['_isAttached']=_0x44eea2,_0x530676['isAttached']=()=>_0x530676['_isAttached'],_0x530676;}function L(_0x32d88d,_0x1705e8,_0x53d8e6){const _0x5e5000='elementEnd'==_0x32d88d['type']?_0x53d8e6['createPositionAt'](_0x32d88d['item'],'end'):_0x53d8e6['createPositionBefore'](_0x32d88d['item']);return _0x53d8e6['createPositionFromPath'](_0x1705e8,_0x5e5000['path'],_0x5e5000['stickiness']);}function W(_0x526d71,_0x2d33df,_0x386737){const _0x39b4b0='elementStart'==_0x526d71['type']?_0x386737['createPositionAt'](_0x526d71['item'],0x0):_0x386737['createPositionAfter'](_0x526d71['item']);return _0x386737['createPositionFromPath'](_0x2d33df,_0x39b4b0['path'],_0x39b4b0['stickiness']);}class ns extends _0x4da36d{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x1b1229,_0x2efe9d){super(_0x1b1229),this['focusTracker']=new _0x1ff205(),this['keystrokes']=new _0x4ea145(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x2efe9d),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'](),_0x24952c({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x1ed652=_0xd5698c=>_0xd5698c['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1ed652),this['keystrokes']['set']('arrowleft',_0x1ed652),this['keystrokes']['set']('arrowup',_0x1ed652),this['keystrokes']['set']('arrowdown',_0x1ed652);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x22adc5){this['revisionNameInputView']['fieldView']['element']['value']=_0x22adc5['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x53af8f){const _0x41e453=new at(this['locale'],_0x1758b7),_0x192dd0=_0x41e453['fieldView'];_0x192dd0['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x8f57d2=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x53af8f&&(_0x8f57d2+='\x20('+y(this['locale'],'optional')+')'),(_0x41e453['label']=_0x8f57d2,_0x192dd0['on']('input',()=>{this['revisionNameInputValue']=_0x192dd0['element']['value']['trim']();}),_0x41e453);}}class u extends _0x47193e{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x1c68ca=this['editor'],_0x234a60=_0x1c68ca['plugins']['get']('RevisionTracker');_0x1c68ca['ui']['componentFactory']['add']('revisionHistory',_0x1cb321=>{const _0x28cdc3=_0x49c129(_0x1cb321),_0x1bb6de=_0x28cdc3['panelView']['children'],_0x599259=new te(_0x1cb321),_0x3866b6=new _0x718882(_0x1cb321),_0x358be3=new _0x33cdf3(_0x1cb321),_0x5139ec=new _0x718882(_0x1cb321),_0x110e5d=new _0x33cdf3(_0x1cb321);return _0x28cdc3['bind']('isEnabled')['to'](_0x234a60,'isReady',_0x234a60,'isEnabled',_0x1c68ca,'isReadOnly',(_0x1edbcc,_0xd1f5d8,_0x195953)=>_0x1edbcc&&_0xd1f5d8&&!_0x195953),_0x28cdc3['buttonView']['set']({'icon':_0x3918d9['history'],'label':y(_0x1cb321,'Revision\x20history'),'tooltip':!0x0}),_0x358be3['set']({'label':y(_0x1cb321,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x358be3['bind']('isEnabled')['to'](_0x234a60,'isReady',_0x234a60,'isEnabled',_0x1c68ca,'isReadOnly',(_0x94725e,_0x2d6796,_0x426022)=>_0x94725e&&_0x2d6796&&!_0x426022),_0x358be3['on']('execute',()=>this['_showDialog']()),_0x110e5d['set']({'label':y(_0x1cb321,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x110e5d['bind']('isEnabled')['to'](_0x234a60,'isReady',_0x1c68ca,'isReadOnly',(_0x13a659,_0x48d0df)=>_0x13a659&&!_0x48d0df),_0x110e5d['on']('execute',()=>{_0x1c68ca['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x28cdc3['isOpen']=!0x1,_0x1c68ca['editing']['view']['focus']();}),_0x3866b6['children']['add'](_0x358be3),_0x5139ec['children']['add'](_0x110e5d),_0x599259['role']='menu',_0x599259['items']['addMany']([_0x3866b6,_0x5139ec]),_0x1bb6de['add'](_0x599259),_0x28cdc3;}),_0x1c68ca['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x2187a7=this['editor'],_0x325d8d=_0x2187a7['locale'],_0x6291f7=new _0x2e5a95(_0x325d8d),_0x6bd83c=new _0x1183b3(_0x325d8d);_0x6291f7['buttonView']['set']({'icon':_0x3918d9['history'],'label':y(_0x325d8d,'Revision\x20history')});const _0x31cea6=new _0x34fe41(_0x325d8d,_0x6291f7),_0x5933f8=new _0x456393(_0x325d8d);_0x5933f8['set']({'label':y(_0x325d8d,'Save\x20current\x20revision')}),_0x5933f8['delegate']('execute')['to'](_0x6291f7),_0x5933f8['on']('execute',()=>{this['_showDialog']();}),_0x31cea6['children']['add'](_0x5933f8),_0x6bd83c['items']['add'](_0x31cea6);const _0x1c43d1=new _0x34fe41(_0x325d8d,_0x6291f7),_0x250b8d=new _0x456393(_0x325d8d);return _0x250b8d['set']({'label':y(_0x325d8d,'Open\x20revision\x20history')}),_0x250b8d['delegate']('execute')['to'](_0x6291f7),_0x250b8d['on']('execute',()=>{_0x2187a7['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x1c43d1['children']['add'](_0x250b8d),_0x6bd83c['items']['add'](_0x1c43d1),_0x6291f7['panelView']['children']['add'](_0x6bd83c),_0x6291f7;}['_showDialog'](){const _0x76e001=this['editor'],_0x3b42d5=_0x76e001['locale'],_0x365831=_0x76e001['plugins']['get']('Dialog'),_0x27534a=_0x76e001['plugins']['get']('RevisionTracker');function _0x436801(_0x4b6ddc){_0x76e001['config']['get']('revisionHistory.requireRevisionName')&&''===_0x4b6ddc['revisionName']?_0x4b6ddc['revisionNameInputView']['errorText']=y(_0x3b42d5,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x76e001['plugins']['get'](l)['saveRevision']({'name':_0x4b6ddc['revisionName']}),_0x365831['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x436801(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x365831['show']({'id':'revisionSave','title':y(_0x3b42d5,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x76e001['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x365831['hide']()},{'label':y(_0x76e001['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x38a4bc){_0x38a4bc['bind']('isEnabled')['to'](_0x27534a,'isReady',_0x27534a,'isEnabled',_0x76e001,'isReadOnly',(_0x57e8d9,_0x421d6d,_0x37116c)=>_0x57e8d9&&_0x421d6d&&!_0x37116c);},'onExecute':()=>_0x436801(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x7ed98c=this['editor'],_0x22ede=_0x7ed98c['locale'];this['_saveRevisionFormView']=new ns(_0x22ede,_0x7ed98c['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x4da36d{['changeId'];['_model'];constructor(_0x196321,_0x1bef6f){super(_0x196321),this['_model']=_0x1bef6f,this['changeId']=_0x1bef6f['id'];const _0x1b6873=this['bindTemplate'],_0x2633fe=y(_0x196321,_0x1bef6f['data']['isSuggestion']?'Suggested\x20by':'add'==_0x1bef6f['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x1bef6f['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x1b6873['to']('type',_0x267e91=>'ck-revision-change__'+_0x267e91)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x2633fe}]},{'text':'\x20'+_0x1bef6f['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x233d5d(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x5c0715){super(),this['id']=_0x5c0715['id']||_0x50a52d(),this['author']=_0x5c0715['author'],this['type']=_0x5c0715['type'],this['data']=_0x5c0715['data']||{},this['rootName']=_0x5c0715['rootName'],this['set']('createdAt',_0x5c0715['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(_0x726ad,_0x13b9d3){this['newRevisionId']=_0x726ad,this['oldRevisionId']=_0x13b9d3,this['changes']=new _0x2b2b84();}['_setChanges'](_0x3b3b24){for(const _0x10916a of _0x3b3b24)this['changes']['add'](_0x10916a);}}const tt={'c':_0x319721,'a':_0x378a42,'e':_0x4772f7,'r':_0x69908f,'u':_0x2059d8};class d extends _0x47193e{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0xaeb61,_0x3439a9,A];}constructor(_0x58130e){super(_0x58130e),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',(_0x362682,_0xa0f72f,_0x189415)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x202638=>{for(const _0x5bb8c4 of this['editor']['editing']['view']['document']['roots'])_0x189415?_0x202638['removeClass']('ck-editor__editable__overlay',_0x5bb8c4):_0x202638['addClass']('ck-editor__editable__overlay',_0x5bb8c4);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x3ba872=>null!==_0x3ba872),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0xcbca41,_0x3e9c03,_0x29ee34)=>_0xcbca41&&_0x29ee34?_0x3e9c03['changes']['getIndex'](_0x29ee34):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x306a34,_0xcc0be8)=>_0x306a34?_0xcc0be8['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x3439a9);}['init'](){const _0x1295d1=this['editor'],_0x1a69f4=new yt(_0x1295d1,{'direction':'backward'}),_0x550aff=new yt(_0x1295d1,{'direction':'forward'});(_0x1295d1['commands']['add']('showPreviousChange',_0x1a69f4),_0x1295d1['commands']['add']('showNextChange',_0x550aff),_0x1295d1['commands']['add']('restoreRevision',new bt(_0x1295d1)),this['on']('change:numberOfChanges',()=>{_0x1a69f4['refresh'](),_0x550aff['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x1295d1['enableReadOnlyMode']('revision-viewer'),_0x1295d1['plugins']['has']('WidgetToolbarRepository'))&&_0x1295d1['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x1989ff){await this['loadRevisionData'](_0x1989ff);const _0x12ac3f={};for(const _0x36ee3d in _0x1989ff['diffData']){if(_0x1989ff['diffData'][_0x36ee3d]['attachChange']&&!_0x1989ff['diffData'][_0x36ee3d]['attachChange']['isAttached'])continue;const _0x22523e=this['_removeRevisionMarkers'](JSON['parse'](_0x1989ff['diffData'][_0x36ee3d]['insertions'])),_0x112baf=this['editor']['editing']['view']['document'],_0x56527b=new _0x4f3b65(_0x112baf,_0x22523e['map'](_0x5b6983=>this['_getViewObj'](_0x5b6983)));this['editor']['data']['processor']['useFillerType']('marked'),_0x12ac3f[_0x36ee3d]=this['editor']['data']['processor']['toData'](_0x56527b),this['editor']['data']['processor']['useFillerType']('default');}return _0x12ac3f;}async['getRevisionRootsAttributes'](_0x52ac19){await this['loadRevisionData'](_0x52ac19);const _0x14e48e={};for(const _0x35be73 in _0x52ac19['diffData'])_0x52ac19['diffData'][_0x35be73]['attachChange']&&!_0x52ac19['diffData'][_0x35be73]['attachChange']['isAttached']||(_0x14e48e[_0x35be73]=_0x52ac19['diffData'][_0x35be73]['attributesAfter']||{});return _0x14e48e;}['_removeRevisionMarkers'](_0x52ff1d){return(_0x52ff1d=_0x52ff1d['filter'](_0x1ff9f1=>!_0x1ff9f1['name']||'revision-start'!==_0x1ff9f1['name']&&'revision-end'!==_0x1ff9f1['name']))['forEach'](_0x3309a9=>{'string'!=typeof _0x3309a9&&(_0x3309a9['children']=this['_removeRevisionMarkers'](_0x3309a9['children']),_0x3309a9['attributes']=_0x3309a9['attributes']['filter'](_0x80b9c3=>!_0x80b9c3[0x0]['startsWith']('data-revision-')));}),_0x52ff1d;}async['compare'](_0x61d595,_0x2d0bc3,_0x24edd8=!0x1){if(!this['isEnabled'])return;const _0x1c0bf6=this['diff'],_0xe127be=this['repository'],_0x37052b='string'==typeof _0x61d595?_0xe127be['getRevision'](_0x61d595):_0x61d595,_0x2f70b9='string'==typeof _0x2d0bc3?_0xe127be['getRevision'](_0x2d0bc3):_0x2d0bc3,_0x495664=_0x37052b['id'],_0x111c64=_0x2f70b9?_0x2f70b9['id']:null;if(!_0x24edd8&&this['diff']&&this['diff']['newRevisionId']===_0x495664&&this['diff']['oldRevisionId']===_0x111c64)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x495664,_0x111c64);const _0x6b9d7a=this['_getRevisionsRange'](_0x37052b,_0x2f70b9,!0x0)['map'](_0x524eae=>this['loadRevisionData'](_0x524eae));return _0x6b9d7a['push'](new Promise(_0x4ec7f4=>{setTimeout(_0x4ec7f4,0x14);})),Promise['all'](_0x6b9d7a)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x5b5257=this['_getDiff'](_0x495664,_0x111c64);for(const _0x214fb7 of _0x5b5257['changes'])this['_changeIdToChange']['set'](_0x214fb7['id'],_0x214fb7);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x4ce57d=>{for(const _0x218fd1 of this['editor']['model']['document']['getRootNames']())_0x4ce57d['detachRoot'](_0x218fd1);for(const _0xa59b71 of Object['keys'](_0x5b5257['model'])){const _0xb08019=_0x4ce57d['addRoot'](_0xa59b71);for(const _0xc91fd2 of Object['keys'](_0x5b5257['attributes'][_0xa59b71]))_0x4ce57d['setAttribute'](_0xc91fd2,_0x5b5257['attributes'][_0xa59b71][_0xc91fd2],_0xb08019);_0x4ce57d['insert'](_0x5b5257['model'][_0xa59b71],_0xb08019,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x5b5257['changes'])),this['isReady']=!0x0;})['catch'](_0x2e29e4=>{console['error'](_0x2e29e4),this['_cleanUp'](),_0x1c0bf6&&(this['diff']=_0x1c0bf6),this['isReady']=!0x0;});}['addRevisionData'](_0x2278d3,_0x344ef5){const _0x2615f5=this['repository']['createRevision'](_0x2278d3);return _0x2615f5['on']('_update',(_0x7820e9,_0xbc7f0d,_0x2184c3)=>_0x344ef5(_0xbc7f0d,_0x2184c3,_0x2615f5)),this['repository']['addRevision'](_0x2615f5),_0x2615f5;}['loadRevisionData'](_0x4802c8){if(!_0x4802c8||_0x4802c8['diffData'])return Promise['resolve']();{const _0x4f15ee=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x4f15ee,'revisionId':_0x4802c8['id']})['then'](_0x1a450b=>{_0x4802c8['_update']({'diffData':_0x1a450b['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},_0x55026a=>{for(const _0x2dad37 of this['editor']['model']['document']['getRootNames']())_0x55026a['detachRoot'](_0x2dad37);});}['_sortAndFilterDiffChanges'](_0x12fd01){const _0x82af70=[],_0x3f4be6=new Map();for(const _0x2c0c6f of this['editor']['model']['document']['getRootNames']()){const _0x367fc7=this['editor']['editing']['view']['getDomRoot'](_0x2c0c6f);if(!_0x367fc7)continue;const _0x44026a=_0x367fc7['getClientRects']()['item'](0x0);_0x44026a&&(_0x82af70['push'](_0x2c0c6f),_0x3f4be6['set'](_0x2c0c6f,_0x44026a));}return _0x82af70['sort']((_0x4a5ffc,_0x4a5092)=>{const _0x58890d=_0x3f4be6['get'](_0x4a5ffc),_0x9bcff9=_0x3f4be6['get'](_0x4a5092);return _0x58890d['y']-_0x9bcff9['y']||_0x58890d['x']-_0x9bcff9['x'];}),(_0x12fd01=_0x12fd01['filter'](_0x3b0ef0=>_0x82af70['includes'](_0x3b0ef0['rootName'])))['sort']((_0x41c819,_0x1d8a8b)=>_0x82af70['indexOf'](_0x41c819['rootName'])-_0x82af70['indexOf'](_0x1d8a8b['rootName'])),_0x12fd01;}['_makeTape'](_0x20dd7c){const _0x4b9c09=Array['from'](_0x20dd7c['markers'])['filter'](([_0x1a0846,_0x306784])=>_0x1a0846['startsWith']('revision:')&&!_0x306784['isCollapsed']),_0x571e49=Array['from'](this['editor']['model']['createRangeIn'](_0x20dd7c)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x4b9c09['length'])for(const _0x38821c of _0x571e49){const [_0x1e156a,_0x2ff7ad]=_0x4b9c09[0x0],[,_0x46b87d,_0x156c1b]=_0x1e156a['split'](':');if(_0x2ff7ad['end']['isEqual'](_0x38821c['nextPosition'])&&_0x4b9c09['shift'](),(_0x38821c['previousPosition']['isEqual'](_0x2ff7ad['start'])||_0x38821c['previousPosition']['isAfter'](_0x2ff7ad['start']))&&('insertion'==_0x46b87d?_0x38821c['isAdded']={'userId':_0x156c1b}:'deletion'==_0x46b87d&&(_0x38821c['isRemoved']={'userId':_0x156c1b})),0x0==_0x4b9c09['length'])break;}return _0x571e49;}['_refreshStartEndIndex'](_0xade6c6){const _0x4513bb=new Map();for(let _0x5b8ef0=0x0;_0x5b8ef0<_0xade6c6['length'];_0x5b8ef0++)'text'===_0xade6c6[_0x5b8ef0]['type']?(_0xade6c6[_0x5b8ef0]['item']['startIndex']=_0x5b8ef0,_0xade6c6[_0x5b8ef0]['item']['endIndex']=_0x5b8ef0):('elementStart'===_0xade6c6[_0x5b8ef0]['type']?_0xade6c6[_0x5b8ef0]['item']['startIndex']=_0x5b8ef0:'elementEnd'===_0xade6c6[_0x5b8ef0]['type']&&(_0xade6c6[_0x5b8ef0]['item']['endIndex']=_0x5b8ef0),_0x4513bb['set'](_0xade6c6[_0x5b8ef0]['id'],_0x5b8ef0));for(const _0x4958bc of _0x4513bb['values']())'elementStart'===_0xade6c6[_0x4958bc]['type']?_0xade6c6[_0x4958bc]['item']['endIndex']=_0x4513bb['get'](_0xade6c6[_0x4958bc]['pairId']):'elementEnd'===_0xade6c6[_0x4958bc]['type']&&(_0xade6c6[_0x4958bc]['item']['startIndex']=_0x4513bb['get'](_0xade6c6[_0x4958bc]['pairId']));}['_processTape'](_0x21ed5c){for(let _0x3ff973=0x0;_0x3ff973<_0x21ed5c['length'];_0x3ff973++){if('elementStart'===_0x21ed5c[_0x3ff973]['type'])_0x21ed5c[_0x3ff973]['item']['startIndex']=_0x3ff973;else{if('elementEnd'===_0x21ed5c[_0x3ff973]['type']){_0x21ed5c[_0x3ff973]['item']['endIndex']=_0x3ff973;const _0x267fcb=_0x21ed5c[_0x3ff973]['item']['startIndex'];_0x21ed5c[_0x267fcb]['pairId']=_0x21ed5c[_0x3ff973]['id'],_0x21ed5c[_0x3ff973]['pairId']=_0x21ed5c[_0x267fcb]['id'];}else _0x21ed5c[_0x3ff973]['item']['startIndex']=_0x3ff973,_0x21ed5c[_0x3ff973]['item']['endIndex']=_0x3ff973,_0x21ed5c[_0x3ff973]['pairId']=null;}_0x21ed5c[_0x3ff973]['markersStart']||(_0x21ed5c[_0x3ff973]['markersStart']=[],_0x21ed5c[_0x3ff973]['markersEnd']=[]);}}['_markInsertions'](_0x596b93,_0x1ebcff){const _0x4f4395=_0x596b93['filter'](_0x2be949=>!_0x2be949['isAdded']);for(let _0x199141=0x0;_0x199141<_0x1ebcff['length'];_0x199141++)_0x1ebcff[_0x199141]['isAdded']&&(_0x4f4395[_0x199141]['isAdded']=_0x1ebcff[_0x199141]['isAdded']);}['_makeModelFromViewString'](_0x5491ef){const _0x1821bb=JSON['parse'](_0x5491ef),_0x59feb6=this['editor']['editing']['view']['document'],_0x148b10=new _0x4f3b65(_0x59feb6,_0x1821bb['map'](_0x56359f=>this['_getViewObj'](_0x56359f)));return this['editor']['data']['toModel'](_0x148b10);}['_getViewObj'](_0x57a1e5){const _0x376693=this['editor']['editing']['view']['document'];if('string'==typeof _0x57a1e5)return new _0xda638(_0x376693,_0x57a1e5);{const _0x3b6ed9=_0x57a1e5['children']['map'](_0x2930de=>this['_getViewObj'](_0x2930de));return new(tt[_0x57a1e5['type']]||_0x2a35af)(_0x376693,_0x57a1e5['name'],_0x57a1e5['attributes'],_0x3b6ed9);}}['_getDiff'](_0x5df360,_0x586a9d=null){const _0x2fd537=this['repository']['getRevision'](_0x5df360),_0x555c04=_0x586a9d?this['repository']['getRevision'](_0x586a9d):null,_0x198aa9=this['_getRevisionsRange'](_0x2fd537,_0x555c04),_0x523e7d=_0x198aa9[_0x198aa9['length']-0x1],_0x8339a=new Map(),_0x302ff8={'model':{},'attributes':{},'changes':[]},_0x2a3c94=new Set(),_0x44d89c=new Map();for(let _0x4d0f45=_0x198aa9['length']-0x1;_0x4d0f45>=0x0;_0x4d0f45--){const _0xb8abb0=_0x198aa9[_0x4d0f45];for(const _0x108c01 of Object['keys'](_0xb8abb0['diffData']))if(_0xb8abb0['diffData'][_0x108c01]['attachChange']){const _0xff7e16=_0xb8abb0['diffData'][_0x108c01]['attachChange'];_0xff7e16['isAttached']?(_0x2a3c94['add'](_0x108c01),_0x44d89c['has'](_0x108c01)&&_0x44d89c['get'](_0x108c01)['userId']==_0xff7e16['userId']?_0x44d89c['delete'](_0x108c01):_0x44d89c['set'](_0x108c01,_0xff7e16)):_0x44d89c['has'](_0x108c01)?(_0x2a3c94['delete'](_0x108c01),_0x44d89c['delete'](_0x108c01)):(_0x2a3c94['add'](_0x108c01),_0x44d89c['set'](_0x108c01,_0xff7e16));}else _0x2a3c94['add'](_0x108c01);}for(const _0x31e682 of _0x2a3c94){const _0x54456d=_0x44d89c['has'](_0x31e682)&&!_0x44d89c['get'](_0x31e682)['isAttached'];let _0x207512=_0x54456d?_0x198aa9['length']-0x1:0x0;const _0x5439c7=_0x54456d?-0x1:0x1;for(;_0x198aa9[_0x207512];){const _0x5b382b=_0x198aa9[_0x207512];if(_0x5b382b['diffData'][_0x31e682]){const _0x39e6e4=_0x54456d?_0x5b382b['diffData'][_0x31e682]['attributesBefore']:_0x5b382b['diffData'][_0x31e682]['attributesAfter'];_0x302ff8['attributes'][_0x31e682]=_0x39e6e4?_0x4cbbfa(_0x39e6e4):{};break;}_0x207512+=_0x5439c7;}}for(const _0x4f7451 of _0x198aa9){_0x4f7451['model']={};for(const _0x16648a of _0x4f7451['authors'])_0x8339a['set'](_0x16648a['id'],_0x16648a);for(const _0x404054 of _0x2a3c94){const _0x20f7a7=_0x4f7451['diffData'][_0x404054]?_0x4f7451['diffData'][_0x404054]['insertions']:'[]',_0x167da=_0x4f7451['diffData'][_0x404054]?_0x4f7451['diffData'][_0x404054]['deletions']:'[]';_0x4f7451['model'][_0x404054]={'insertions':this['_makeModelFromViewString'](_0x20f7a7),'deletions':this['_makeModelFromViewString'](_0x167da)};}}for(const _0x5db8c5 of _0x2a3c94){let _0x400652=null,_0x5ccf7=0x0;const _0x1efbc7=new Map(Array['from'](_0x2fd537['model'][_0x5db8c5]['insertions']['markers'])['filter'](([_0x2e22bd])=>!_0x2e22bd['startsWith']('revision:')));let _0x2a8529=0x0;for(const _0x4f9be8 of _0x198aa9){const _0x190a7a=this['_makeTape'](_0x4f9be8['model'][_0x5db8c5]['insertions']);_0x4f9be8==_0x2fd537?(_0x400652=_0x190a7a,_0x5ccf7=_0x400652['length'],_0x400652['forEach'](_0x17f69e=>{_0x17f69e['id']=_0x2a8529++;}),this['_processTape'](_0x400652)):this['_markInsertions'](_0x400652,_0x190a7a);const _0x52b98d=_0x400652['filter'](_0x5512a9=>!_0x5512a9['isAdded'])['map'](_0x26602d=>_0x26602d['id']);let _0x4ddddd=0x0;const _0x5601b7=this['_makeTape'](_0x4f9be8['model'][_0x5db8c5]['deletions']);_0x5601b7['forEach'](_0x1a05fd=>{_0x1a05fd['isRemoved']?_0x1a05fd['id']=_0x5ccf7++:_0x1a05fd['id']=_0x52b98d[_0x4ddddd++];}),this['_processTape'](_0x5601b7),this['_setDistance'](_0x400652,'isAdded'),this['_setDistance'](_0x5601b7,'isRemoved'),_0x4f9be8==_0x2fd537&&this['_markMarkers'](_0x400652,_0x1efbc7),_0x400652=this['_joinTapes'](_0x400652,_0x5601b7),this['_refreshStartEndIndex'](_0x400652),this['_setDistance'](_0x400652,'isRemoved');}_0x400652=_0x400652['filter'](_0xf66221=>!(_0xf66221['isAdded']&&_0xf66221['isRemoved']));const _0x509213=new Map(_0x523e7d['model'][_0x5db8c5]['deletions']['markers']),_0x4ff786=new Set(_0x1efbc7['keys']());for(const _0x399b6f of _0x509213['keys']())_0x4ff786['delete'](_0x399b6f);this['_markSuggestions'](_0x400652,_0x4ff786),this['_fixObsoleteTags'](_0x400652),_0x400652=this['_removeMissingPairs'](_0x400652),_0x400652=this['_markMismatchedRemovedTags'](_0x400652),_0x400652=this['_removeUnsupportedChanges'](_0x400652);const {root:_0x4f2799,changes:_0x1b3b3f}=this['_makeModelFromTape'](_0x400652,_0x8339a,_0x5db8c5);_0x302ff8['model'][_0x5db8c5]=_0x4f2799;const _0x320f5b=_0x44d89c['get'](_0x5db8c5);if(_0x320f5b){const _0x42cf51=_0x8339a['get'](_0x320f5b['userId']),_0x36bfd2=new r({'author':_0x42cf51,'type':_0x320f5b['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x5db8c5});_0x1b3b3f['unshift'](_0x36bfd2),_0x302ff8['attributes'][_0x5db8c5]['revisionHistoryAttachChange']=_0x36bfd2['id'];}_0x302ff8['changes']=_0x302ff8['changes']['concat'](_0x1b3b3f);}return _0x302ff8;}['_markMarkers'](_0x2813ca,_0x348256){for(let _0x5d2e14=0x0;_0x5d2e14<_0x2813ca['length'];_0x5d2e14++)for(const [_0xac74d4,_0x16fd52]of _0x348256)_0x16fd52['start']['isEqual'](_0x2813ca[_0x5d2e14]['previousPosition'])&&_0x2813ca[_0x5d2e14]['markersStart']['push'](_0xac74d4),_0x16fd52['end']['isEqual'](_0x2813ca[_0x5d2e14]['nextPosition'])&&_0x2813ca[_0x5d2e14]['markersEnd']['push'](_0xac74d4);}['_joinTapes'](_0x3b78df,_0x5de778){let _0x59683b=[],_0x135100=0x0,_0x1d65e2=0x0;for(;_0x135100<_0x3b78df['length']||_0x1d65e2<_0x5de778['length'];){const _0x2b585f=_0x3b78df[_0x135100]||{},_0x3f7041=_0x5de778[_0x1d65e2]||{};if(_0x2b585f['id']==_0x3f7041['id'])_0x135100++,_0x1d65e2++,_0x59683b['push'](_0x2b585f);else{if(_0x3f7041['isRemoved']&&_0x2b585f['isAdded']){const {commonTape:_0x24a28c,iEnd:_0x2bc9d4,jEnd:_0x1ea280}=this['_threeWayMerge'](_0x3b78df,_0x135100,_0x5de778,_0x1d65e2);_0x59683b=_0x59683b['concat'](_0x24a28c),_0x135100=_0x2bc9d4,_0x1d65e2=_0x1ea280;}else _0x3f7041['isRemoved']?(_0x1d65e2++,_0x59683b['push'](_0x3f7041)):(_0x135100++,_0x59683b['push'](_0x2b585f));}}return _0x59683b;}['_markSuggestions'](_0x396956,_0x3aab06){const _0x13b02b=[];for(let _0x2cb777=0x0;_0x2cb777<_0x396956['length'];_0x2cb777++){for(let _0x468561=0x0;_0x468561<_0x396956[_0x2cb777]['markersStart']['length'];_0x468561++){const _0x2cfb52=_0x396956[_0x2cb777]['markersStart'][_0x468561];if(!_0x3aab06['has'](_0x2cfb52))continue;const {group:_0x37cdc5,type:_0x4e1316,authorId:_0x3bedd2}=_0xbf6b13(_0x2cfb52);'revision-suggestion'!=_0x37cdc5||'insertion'!=_0x4e1316&&'deletion'!=_0x4e1316||(_0x13b02b['unshift']({'type':_0x4e1316,'name':_0x2cfb52,'userId':_0x3bedd2}),_0x396956[_0x2cb777]['markersStart']['splice'](_0x468561,0x1),_0x468561--);}_0x3556f7(_0x396956[_0x2cb777]);for(let _0x44a468=0x0;_0x44a468<_0x396956[_0x2cb777]['markersEnd']['length'];_0x44a468++){const _0x50359b=_0x396956[_0x2cb777]['markersEnd'][_0x44a468];if(!_0x3aab06['has'](_0x50359b))continue;const {group:_0x4e9c03,type:_0x57ea15}=_0xbf6b13(_0x50359b);if('revision-suggestion'!=_0x4e9c03||'insertion'!=_0x57ea15&&'deletion'!=_0x57ea15)continue;_0x396956[_0x2cb777]['markersEnd']['splice'](_0x44a468,0x1),_0x44a468--;const _0x3dba5b=_0x13b02b['findIndex'](_0x30e060=>_0x30e060['name']==_0x50359b);_0x3dba5b>-0x1&&_0x13b02b['splice'](_0x3dba5b,0x1);}}function _0xbf6b13(_0x1e98f2){const _0x39d7b9=_0x1e98f2['split'](':');return{'group':_0x39d7b9[0x0],'type':_0x39d7b9[0x1],'subType':_0x39d7b9['length']>=0x5?_0x39d7b9[0x2]:null,'id':_0x39d7b9['length']<0x5?_0x39d7b9[0x2]:_0x39d7b9[0x3],'authorId':_0x39d7b9['length']<0x5?_0x39d7b9[0x3]:_0x39d7b9[0x4],'markerCount':0x6==_0x39d7b9['length']?_0x39d7b9[0x5]:null};}function _0x3556f7(_0x4018b6){for(let _0x2f31ef=0x0;_0x2f31ef<_0x13b02b['length'];_0x2f31ef++){if(_0x4018b6['isAdded']&&'insertion'==_0x13b02b[_0x2f31ef]['type'])return _0x4018b6['isAddSuggestion']=_0x13b02b[_0x2f31ef],void delete _0x4018b6['isAdded'];if(!_0x4018b6['isAdded']&&!_0x4018b6['isRemoved']&&'deletion'==_0x13b02b[_0x2f31ef]['type'])return void(_0x4018b6['isRemoveSuggestion']=_0x13b02b[_0x2f31ef]);}}}['_setDistance'](_0x16d06f,_0x54c783){let _0x17ae90=0x0,_0xfb30a8=!0x1;const _0x53fdf1=new Map();for(const _0x3b31e5 of _0x16d06f)_0x3b31e5[_0x54c783]?_0xfb30a8&&(_0x17ae90++,_0xfb30a8=!0x1):(_0x17ae90++,_0xfb30a8=!0x0),_0x53fdf1['set'](_0x3b31e5['id'],_0x17ae90);for(let _0x4dc974=0x0;_0x4dc974<_0x16d06f['length'];_0x4dc974++){if('isRemoved'==_0x54c783&&_0x16d06f[_0x4dc974]['isAdded']||'isAdded'==_0x54c783&&_0x16d06f[_0x4dc974]['isRemoved'])continue;if('text'==_0x16d06f[_0x4dc974]['type']){_0x16d06f[_0x4dc974]['distance']=0x0;continue;}const _0x287f73=_0x53fdf1['get'](_0x16d06f[_0x4dc974]['pairId']),_0xb8a442=_0x53fdf1['get'](_0x16d06f[_0x4dc974]['id']);_0x16d06f[_0x4dc974]['distance']=_0x287f73-_0xb8a442;}}['_getRevisionsRange'](_0x180242,_0x56f74c,_0x3a1dad=!0x1){const _0x1594ff=[];let _0x1d791a=this['repository']['getIndex'](_0x180242),_0x4c59c3=this['repository']['getIndex'](_0x56f74c);for(-0x1==_0x4c59c3&&(_0x4c59c3=this['repository']['_revisions']['length'],_0x3a1dad=!0x1);_0x1d791a<_0x4c59c3;)_0x1594ff['push'](this['repository']['getRevision'](_0x1d791a)),_0x1d791a++;return _0x3a1dad&&_0x1594ff['push'](this['repository']['getRevision'](_0x1d791a)),_0x1594ff;}['_threeWayMerge'](_0x4c4fcd,_0x24242b,_0x3a7c4b,_0x35a196){const _0x16a828=this['editor']['model']['schema'];let _0x57b2e2=_0x24242b;for(;_0x4c4fcd[_0x57b2e2]&&_0x4c4fcd[_0x57b2e2]['isAdded'];)_0x57b2e2++;let _0x1bcca3=_0x35a196;for(;_0x3a7c4b[_0x1bcca3]&&_0x3a7c4b[_0x1bcca3]['isRemoved'];)_0x1bcca3++;_0x3779e9(_0x4c4fcd,_0x24242b,_0x57b2e2),_0x3779e9(_0x3a7c4b,_0x35a196,_0x1bcca3);const _0x2d1a6f=_0x3a7c4b['slice'](_0x35a196,_0x1bcca3)['concat'](_0x4c4fcd['slice'](_0x24242b,_0x57b2e2));return _0x2d1a6f['sort']((_0x1fb0ce,_0x566e08)=>_0x1fb0ce['side']!=_0x566e08['side']?_0x1fb0ce['side']-_0x566e08['side']:_0x1fb0ce['level']!=_0x566e08['level']?_0x1fb0ce['level']-_0x566e08['level']:_0x1fb0ce['distance']!=_0x566e08['distance']?_0x566e08['distance']-_0x1fb0ce['distance']:!!_0x1fb0ce['isAdded']!=!!_0x566e08['isAdded']?-0x1==_0x1fb0ce['side']||0x0==_0x1fb0ce['side']?_0x1fb0ce['isAdded']?-0x1:0x1:_0x1fb0ce['isAdded']?0x1:-0x1:_0x1fb0ce['index']-_0x566e08['index']),{'commonTape':_0x2d1a6f,'iEnd':_0x57b2e2,'jEnd':_0x1bcca3};function _0x3779e9(_0x4daab9,_0x1f5b38,_0x4b2fd3){let _0x12ecb2=-0x1,_0x4d213f=Number['POSITIVE_INFINITY'],_0x195e38=!0x0;for(let _0xfa6b7a=_0x1f5b38;_0xfa6b7a<_0x4b2fd3;_0xfa6b7a++)if(_0x16a828['isInline'](_0x4daab9[_0xfa6b7a]['item'])||(_0x195e38=!0x1),_0x4daab9[_0xfa6b7a]['item']['startIndex']<_0x1f5b38&&(_0x12ecb2=_0xfa6b7a),_0x4daab9[_0xfa6b7a]['item']['endIndex']>=_0x4b2fd3){_0x4d213f=_0xfa6b7a;break;}_0x195e38&&(_0x12ecb2=_0x4b2fd3-0x1);for(let _0x29128b=_0x1f5b38;_0x29128b<_0x4b2fd3;_0x29128b++)_0x4daab9[_0x29128b]['side']=_0x29128b<=_0x12ecb2?-0x1:_0x29128b<_0x4d213f?0x0:0x1,_0x4daab9[_0x29128b]['index']=_0x29128b;let _0x5dc823=0x0;for(let _0x57efe5=_0x1f5b38;_0x57efe5<=_0x12ecb2;_0x57efe5++)0x0==_0x4daab9[_0x57efe5]['distance']?_0x4daab9[_0x57efe5]['level']=_0x5dc823:(_0x5dc823++,_0x4daab9[_0x57efe5]['level']=_0x5dc823,_0x5dc823++);for(let _0x1a67db=_0x1f5b38;_0x1a67db<_0x4b2fd3;_0x1a67db++)0x0==_0x4daab9[_0x1a67db]['side']&&(_0x4daab9[_0x1a67db]['level']=_0x5dc823);_0x5dc823=0x0;for(let _0x55e962=_0x4b2fd3-0x1;_0x55e962>=_0x4d213f;_0x55e962--)0x0==_0x4daab9[_0x55e962]['distance']?_0x4daab9[_0x55e962]['level']=_0x5dc823:(_0x5dc823--,_0x4daab9[_0x55e962]['level']=_0x5dc823,_0x5dc823--);}}['_fixObsoleteTags'](_0xb622b){const _0x3c2221=new Map(),_0x1e7079=this['editor']['model']['schema'];for(let _0x5a2908=0x1;_0x5a2908<_0xb622b['length'];_0x5a2908++){let _0x10ccce,_0x28a83a,_0x182cad;const _0x256aad=_0xb622b[_0x5a2908],_0x2832d2=_0xb622b[_0x5a2908-0x1];if('text'==_0x256aad['type'])continue;if(_0x256aad['type']!=_0x2832d2['type'])continue;if(!_0x1e7079['isBlock'](_0x2832d2['item'])||_0x1e7079['isLimit'](_0x2832d2['item']))continue;if(!_0x1e7079['isBlock'](_0x256aad['item'])||_0x1e7079['isLimit'](_0x256aad['item']))continue;if((_0xb622b[_0x5a2908]['isAdded']||_0xb622b[_0x5a2908]['isAddSuggestion'])&&_0xb622b[_0x5a2908-0x1]['isRemoved'])_0x10ccce=_0xb622b[_0x5a2908],_0x28a83a=_0xb622b[_0x5a2908-0x1],_0x182cad=_0x5a2908-0x1;else{if(!_0xb622b[_0x5a2908]['isRemoved']||!_0xb622b[_0x5a2908-0x1]['isAdded']&&!_0xb622b[_0x5a2908-0x1]['isAddSuggestion'])continue;_0x10ccce=_0xb622b[_0x5a2908-0x1],_0x28a83a=_0xb622b[_0x5a2908],_0x182cad=_0x5a2908;}const _0x13e00e=_0x10ccce['level']==_0x28a83a['level'],_0x1bca74=Math['abs'](_0x10ccce['level'])<Math['abs'](_0x28a83a['level'])&&0x0==_0x28a83a['distance'];(_0x13e00e||_0x1bca74)&&(_0x3c2221['set'](_0x28a83a['id'],_0x10ccce['id']),_0xb622b['splice'](_0x182cad,0x1),_0x5a2908--,_0x10ccce['isAdded']=!0x1);}for(let _0x515c1b=0x0;_0x515c1b<_0xb622b['length'];_0x515c1b++)_0x3c2221['has'](_0xb622b[_0x515c1b]['pairId'])&&(_0xb622b[_0x515c1b]['pairId']=_0x3c2221['get'](_0xb622b[_0x515c1b]['pairId']));}['_removeMissingPairs'](_0x56b4f6){const _0x348359=new Set(_0x56b4f6['map'](_0x3bad43=>_0x3bad43['id']));for(let _0x54e646=0x0;_0x54e646<_0x56b4f6['length'];_0x54e646++)_0x348359['has'](_0x56b4f6[_0x54e646]['pairId'])||0x0==_0x56b4f6[_0x54e646]['distance']||(_0x56b4f6[_0x54e646]['isIncorrect']=!0x0);return _0x56b4f6['filter'](_0x14ec92=>!_0x14ec92['isIncorrect']);}['_markMismatchedRemovedTags'](_0x4a7e23){const _0x711f9d=new Set();for(let _0x569cda=0x0;_0x569cda<_0x4a7e23['length'];_0x569cda++){if(_0x711f9d['has'](_0x4a7e23[_0x569cda]['id'])&&_0x4a7e23[_0x569cda]['isRemoved']&&(_0x4a7e23[_0x569cda]['isIncorrect']=!0x0),_0x4a7e23[_0x569cda]['isIncorrect'])continue;if(0x0==_0x4a7e23[_0x569cda]['distance'])continue;if('elementStart'!=_0x4a7e23[_0x569cda]['type'])continue;if(null==_0x4a7e23[_0x569cda]['pairId'])continue;let _0x100ae1=_0x569cda+0x1,_0x3fb590=0x0;for(;_0x4a7e23[_0x100ae1]['id']!=_0x4a7e23[_0x569cda]['pairId'];)'elementStart'==_0x4a7e23[_0x100ae1]['type']?_0x3fb590++:'elementEnd'==_0x4a7e23[_0x100ae1]['type']&&_0x3fb590--,_0x100ae1++;if(0x0!=_0x3fb590){if(_0x4a7e23[_0x569cda]['isRemoved'])_0x4a7e23[_0x569cda]['isIncorrect']=!0x0;else{for(;_0x100ae1!=_0x569cda;)_0x4a7e23[_0x100ae1]['isRemoved']&&0x0!=_0x4a7e23[_0x100ae1]['distance']&&(_0x4a7e23[_0x100ae1]['isIncorrect']=!0x0,_0x711f9d['add'](_0x4a7e23[_0x100ae1]['pairId'])),_0x100ae1--;}}}return _0x4a7e23['filter'](_0x466c58=>!_0x466c58['isIncorrect']);}['_removeUnsupportedChanges'](_0x3c27fa){const _0x32d80a=this['editor']['model']['schema'];for(let _0x2cd7e0=0x0;_0x2cd7e0<_0x3c27fa['length'];_0x2cd7e0++){if(!(_0x3c27fa[_0x2cd7e0]['isAdded']||_0x3c27fa[_0x2cd7e0]['isAddSuggestion']||_0x3c27fa[_0x2cd7e0]['isRemoved']||_0x3c27fa[_0x2cd7e0]['isRemoveSuggestion']))continue;if(0x0==_0x3c27fa[_0x2cd7e0]['distance'])continue;const _0x4623ad=_0x3c27fa[_0x2cd7e0]['item'];_0x32d80a['isBlock'](_0x4623ad)||_0x32d80a['isLimit'](_0x4623ad)||(_0x3c27fa[_0x2cd7e0]['isAdded']&&delete _0x3c27fa[_0x2cd7e0]['isAdded'],_0x3c27fa[_0x2cd7e0]['isAddSuggestion']&&delete _0x3c27fa[_0x2cd7e0]['isAddSuggestion'],_0x3c27fa[_0x2cd7e0]['isRemoveSuggestion']&&delete _0x3c27fa[_0x2cd7e0]['isRemoveSuggestion'],_0x3c27fa[_0x2cd7e0]['isRemoved']&&(_0x3c27fa[_0x2cd7e0]['isIncorrect']=!0x0));}return _0x3c27fa['filter'](_0x2c5616=>!_0x2c5616['isIncorrect']);}['_makeModelFromTape'](_0x3aa1d9,_0x3f6bbf,_0x5d0760){const _0x2f779d=new wt(),_0x4fd9d8=[],_0x36399f=new Map(),_0x51b600=this['editor']['model'],_0x1747dd=_0x51b600['schema'],_0x2096a9=[_0x2f779d],_0x3f68a1={},_0x180bb9={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x2ed8e1=null;const _0x5031b7=[0x0];for(let _0x480b84=0x0;_0x480b84<_0x3aa1d9['length'];_0x480b84++){let _0x34c4b6,_0x170de7;if('elementStart'===_0x3aa1d9[_0x480b84]['type']){_0x34c4b6=_0x51b600['createPositionFromPath'](_0x2f779d,_0x5031b7);const _0x58efbb=new ft(_0x3aa1d9[_0x480b84]['item']['name'],_0x3aa1d9[_0x480b84]['item']['getAttributes']());_0x2096a9[0x0]['_appendChild'](_0x58efbb),_0x5031b7['push'](0x0),_0x2096a9['unshift'](_0x58efbb),_0x170de7=_0x51b600['createPositionFromPath'](_0x2f779d,_0x5031b7),_0x2ed8e1=null;}else{if('elementEnd'===_0x3aa1d9[_0x480b84]['type'])_0x2096a9['shift'](),_0x34c4b6=_0x51b600['createPositionFromPath'](_0x2f779d,_0x5031b7),_0x5031b7['pop'](),_0x5031b7[_0x5031b7['length']-0x1]++,_0x170de7=_0x51b600['createPositionFromPath'](_0x2f779d,_0x5031b7),_0x2ed8e1=null;else{if(_0x34c4b6=_0x51b600['createPositionFromPath'](_0x2f779d,_0x5031b7),_0x2ed8e1&&_0x158de6(_0x2ed8e1,_0x3aa1d9[_0x480b84]['item']))_0x2ed8e1['_data']+=_0x3aa1d9[_0x480b84]['item']['data'];else{const _0x57154=new _t(_0x3aa1d9[_0x480b84]['item']['data'],_0x3aa1d9[_0x480b84]['item']['getAttributes']());_0x2096a9[0x0]['_appendChild'](_0x57154),_0x2ed8e1=_0x57154;}_0x5031b7[_0x5031b7['length']-0x1]+=_0x3aa1d9[_0x480b84]['item']['offsetSize'],_0x170de7=_0x51b600['createPositionFromPath'](_0x2f779d,_0x5031b7);}}for(const _0x529477 of _0x3aa1d9[_0x480b84]['markersStart'])_0x36399f['set'](_0x529477,{'start':_0x34c4b6,'end':null});_0x3d2318('isRemoveSuggestion',_0x480b84,_0x34c4b6,_0x170de7),_0x3d2318('isAddSuggestion',_0x480b84,_0x34c4b6,_0x170de7),_0x3d2318('isRemoved',_0x480b84,_0x34c4b6,_0x170de7),_0x3d2318('isAdded',_0x480b84,_0x34c4b6,_0x170de7);for(const _0x3dfcc9 of _0x3aa1d9[_0x480b84]['markersEnd']){_0x36399f['get'](_0x3dfcc9)['end']=_0x170de7;}}for(const [_0x4f9150,_0x5bf317]of _0x36399f){const _0x1007e2=this['editor']['model']['createRange'](_0x5bf317['start'],_0x5bf317['end']);_0x2f779d['markers']['set'](_0x4f9150,_0x1007e2);}return _0x4fd9d8['sort']((_0x4e0907,_0x432630)=>{const _0x179679=_0x2f779d['markers']['get']('revision:'+_0x4e0907['id']),_0x4f61bc=_0x2f779d['markers']['get']('revision:'+_0x432630['id']);return _0x179679['start']['isBefore'](_0x4f61bc['start'])?-0x1:_0x179679['start']['isAfter'](_0x4f61bc['start'])?0x1:_0x179679['end']['isBefore'](_0x4f61bc['end'])?-0x1:_0x179679['end']['isAfter'](_0x4f61bc['end'])?0x1:'add'===_0x4e0907['type']?-0x1:0x1;}),{'root':_0x2f779d,'changes':_0x4fd9d8};function _0x3d2318(_0x525b06,_0x730f90,_0xb20a44,_0x4c6080){const _0x4218e2=!!_0x3aa1d9[_0x730f90][_0x525b06],_0x3d219c=_0x4218e2?_0x3aa1d9[_0x730f90][_0x525b06]['userId']:null,_0xd5979a=_0x730f90===_0x3aa1d9['length']-0x1,_0x163260=_0x180bb9[_0x525b06][0x0],_0x40967a=_0x1747dd['isObject'](_0x3aa1d9[_0x730f90]['item']);!_0x3f68a1[_0x525b06]&&_0x4218e2?_0x3f68a1[_0x525b06]={'start':_0xb20a44,'tapeItem':_0x3aa1d9[_0x730f90],'userId':_0x3d219c,'type':_0x525b06}:_0x3f68a1[_0x525b06]&&!_0x4218e2?(_0x3f68a1[_0x525b06]['end']=_0xb20a44,_0x1f597f(_0x3f68a1[_0x525b06]),_0x3f68a1[_0x525b06]=null):_0x3f68a1[_0x525b06]&&_0x4218e2&&_0x3f68a1[_0x525b06]['userId']!==_0x3d219c&&(_0x3f68a1[_0x525b06]['end']=_0xb20a44,_0x163260&&_0x163260['userId']===_0x3f68a1[_0x525b06]['userId']||_0x1f597f(_0x3f68a1[_0x525b06]),_0x3f68a1[_0x525b06]={'start':_0xb20a44,'tapeItem':_0x3aa1d9[_0x730f90],'userId':_0x3d219c,'type':_0x525b06}),_0x3f68a1[_0x525b06]&&_0x40967a&&('elementStart'!==_0x3aa1d9[_0x730f90]['type']||_0x163260&&_0x163260['userId']===_0x3d219c||_0x180bb9[_0x525b06]['unshift']({'userId':_0x3d219c,'object':_0x3aa1d9[_0x730f90]['item'],'change':_0x3f68a1[_0x525b06]}),'elementEnd'===_0x3aa1d9[_0x730f90]['type']&&_0x163260&&_0x163260['object']===_0x3aa1d9[_0x730f90]['item']&&(_0x180bb9[_0x525b06]['shift'](),_0x3f68a1[_0x525b06]=_0x163260['change'])),_0x3f68a1[_0x525b06]&&_0xd5979a&&(_0x3f68a1[_0x525b06]['end']=_0x4c6080,_0x1f597f(_0x3f68a1[_0x525b06]),_0x3f68a1[_0x525b06]=null);}function _0x1f597f({start:_0x1c7c19,end:_0x3849ee,tapeItem:_0x132737,userId:_0x42d823,type:_0x509dcb}){const _0x525075=_0x132737['item'],_0x2b2e52=_0x51b600['schema']['isBlock'](_0x525075)&&!_0x51b600['schema']['isLimit'](_0x525075),_0x13d49c=_0x1c7c19['nodeAfter']==_0x3849ee['parent']&&_0x3849ee['isAtStart'];if(_0x2b2e52&&_0x13d49c)return;const _0x58cc30=_0x51b600['createRange'](_0x1c7c19,_0x3849ee),_0x26c813=_0x3f6bbf['get'](_0x42d823),_0x43cc11=new r({'author':_0x26c813,'type':'isAdded'==_0x509dcb||'isAddSuggestion'==_0x509dcb?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x509dcb||'isRemoveSuggestion'==_0x509dcb},'createdAt':new Date(),'rootName':_0x5d0760});_0x4fd9d8['push'](_0x43cc11),_0x2f779d['markers']['set']('revision:'+_0x43cc11['id'],_0x58cc30);}function _0x158de6(_0x193dc6,_0x21114b){const _0x2cd8b5=_0x193dc6['getAttributes'](),_0x1341fa=_0x21114b['getAttributes']();for(const _0x561d7f of _0x2cd8b5){if(_0x561d7f[0x1]!==_0x21114b['getAttribute'](_0x561d7f[0x0]))return!0x1;_0x1341fa['next']();}return _0x1341fa['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x4c96b5=>{const _0x431b1a=_0x4c96b5['markerName']['split'](':')[0x1],_0x5404c1=this['_getChangeFromId'](_0x431b1a);if(!_0x5404c1)return null;const _0x269c11='add'==_0x5404c1['type']?'insertion':'deletion',_0x5f4a56=['ck-suggestion-marker','ck-suggestion-marker-'+_0x269c11];return _0x5404c1['data']['isSuggestion']&&_0x5f4a56['push']('ck-suggestion-marker-'+_0x269c11+'-new'),this['activeChange']==_0x5404c1&&_0x5f4a56['push']('ck-suggestion-marker--active'),{'classes':_0x5f4a56,'attributes':{'data-change-id':_0x431b1a}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x43557a=>{_0x43557a['on']('element:pre',(_0x3e4e7b,_0x59424,_0x5cc870)=>{const _0x5087bf=_0x59424['viewItem']['getChild'](0x0);if(!_0x5087bf||!_0x5087bf['is']('element','code'))return;if(!_0x5cc870['consumable']['consume'](_0x5087bf,{'attributes':['vid_start','vid_end']}))return;const _0x72c154=_0x59424['modelRange']['start']['nodeAfter'];_0x5cc870['writer']['setAttribute']('vid_start',_0x5087bf['getAttribute']('vid_start'),_0x72c154),_0x5cc870['writer']['setAttribute']('vid_end',_0x5087bf['getAttribute']('vid_end'),_0x72c154);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x4a2b53=>{_0x4a2b53['on']('element',(_0x2512f9,_0x1dc26c,_0x236b16)=>{if(!_0x236b16['consumable']['consume'](_0x1dc26c['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x1dc26c['modelRange']['isCollapsed'])return;const _0x2fd35c=_0x1dc26c['modelRange']['start']['nodeAfter'];_0x2fd35c['hasAttribute']('vid_start')||_0x2fd35c['hasAttribute']('vid')||(_0x236b16['writer']['setAttribute']('vid_start',_0x1dc26c['viewItem']['getAttribute']('vid_start'),_0x2fd35c),_0x236b16['writer']['setAttribute']('vid_end',_0x1dc26c['viewItem']['getAttribute']('vid_end'),_0x2fd35c));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x24f833=>_0x24f833['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x22e425,[,_0x3be252])=>{['vid_start','vid_end','vid']['includes'](_0x3be252)&&(_0x22e425['return']=!0x0,_0x22e425['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x4ed5a6=>{_0x4ed5a6['on']('attribute:vid',(_0x239f0c,_0x45d4b8,_0x41b85c)=>{if('\x20'!=_0x45d4b8['item']['data']||_0x45d4b8['item']['parent']['maxOffset']>0x1)return;if(!_0x41b85c['consumable']['consume'](_0x45d4b8['item'],_0x239f0c['name']))return;const _0x4778b0=_0x41b85c['writer'],_0x1dcb95=_0x41b85c['mapper']['toViewRange'](_0x45d4b8['range']);_0x4778b0['wrap'](_0x1dcb95,_0x4778b0['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x3f8a47){const _0x27ef3c=_0x3f8a47['plugins']['get']('RevisionViewer');return(_0xda11d9,_0x19e629,_0x2b64c7)=>{const _0xbe0fdf=_0x19e629['markerName']['split'](':')[0x1],_0x4286a4=_0x27ef3c['_getChangeFromId'](_0xbe0fdf);if(!_0x4286a4)return null;const _0x1c4d27='add'==_0x4286a4['type']?'split':'merge';if(!_0x2b64c7['consumable']['test'](_0x19e629['markerRange'],_0xda11d9['name']))return;const _0x10d49f=_0x19e629['markerRange']['getWalker'](),_0x25d438=_0x19e629['markerRange']['start'],_0x57223a=_0x3f8a47['model']['schema'];let _0x227365=null,_0x175525=null,_0x42a6a8=!0x1,_0x4151db=!0x1;for(const _0x71102d of _0x10d49f){const _0x26b41d=_0x71102d['item'];_0x42a6a8=_0x42a6a8||_0x57223a['isContent'](_0x26b41d);const _0x2536a8=_0x2b64c7['mapper']['toViewElement'](_0x26b41d);if(_0x2536a8&&_0x2536a8['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x71102d['type']&&(_0x57223a['isBlock'](_0x26b41d)&&!_0x57223a['isLimit'](_0x26b41d)&&(_0x26b41d['nextSibling']||_0x25d438['isAtEnd']?_0x227365&&_0x227365['parent']==_0x26b41d||(_0x227365=_0x26b41d,_0x5a98a0(_0x71102d['previousPosition']),_0x4151db=!0x0):_0x175525=_0x175525||_0x71102d['previousPosition']));}function _0x5a98a0(_0x5ad63e){const _0x1b4987=_0x2b64c7['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1c4d27}),_0x2e5b70=_0x2b64c7['mapper']['toViewPosition'](_0x5ad63e);_0x4286a4['data']['isSuggestion']&&_0x2b64c7['writer']['addClass']('ck-suggestion-marker-'+_0x1c4d27+'-new',_0x1b4987),_0x27ef3c['activeChange']==_0x4286a4&&_0x2b64c7['writer']['addClass']('ck-suggestion-marker--active',_0x1b4987),_0x2b64c7['writer']['insert'](_0x2e5b70,_0x1b4987),_0x2b64c7['mapper']['bindElementToMarker'](_0x1b4987,_0x19e629['markerName']);}_0x42a6a8||_0x4151db||!_0x175525||_0x5a98a0(_0x175525);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x54fc60,_0x28d57c,_0x53e824)=>{const _0x4acd27=_0x53e824['mapper']['markerNameToElements'](_0x28d57c['markerName']);if(_0x4acd27){for(const _0x1156c6 of _0x4acd27)(_0x1156c6['hasClass']('ck-suggestion-marker-split')||_0x1156c6['hasClass']('ck-suggestion-marker-merge'))&&(_0x53e824['mapper']['unbindElementFromMarkerName'](_0x1156c6,_0x28d57c['markerName']),_0x53e824['writer']['remove'](_0x1156c6));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x10b480,_0xc070dc,_0x18fbb3)=>{const _0x456a9b=_0xc070dc['markerName']['split'](':')[0x1],_0x57c2f8=this['_getChangeFromId'](_0x456a9b);if(!_0x57c2f8)return null;const _0x3f7b62='add'==_0x57c2f8['type']?'split':'merge';if(_0x18fbb3['consumable']['test'](_0xc070dc['markerRange'],_0x10b480['name']))for(const _0x413c14 of _0xc070dc['markerRange']['getItems']()){if(!_0x413c14['is']('element','softBreak'))continue;const _0x293017=_0x18fbb3['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3f7b62}),_0x3158f7=_0x18fbb3['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x413c14));_0x57c2f8['data']['isSuggestion']&&_0x18fbb3['writer']['addClass']('ck-suggestion-marker-'+_0x3f7b62+'-new',_0x293017),this['activeChange']==_0x57c2f8&&_0x18fbb3['writer']['addClass']('ck-suggestion-marker--active',_0x293017),_0x18fbb3['writer']['insert'](_0x3158f7,_0x293017),_0x18fbb3['mapper']['bindElementToMarker'](_0x293017,_0xc070dc['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x151374=>{for(const _0x4eb491 of this['editor']['model']['document']['getRootNames']()){const _0x3032ee=this['editor']['model']['document']['getRoot'](_0x4eb491),_0x2e9350=this['editor']['editing']['view']['document']['getRoot'](_0x4eb491);if(_0x2e9350){const _0x3ff437=_0x3032ee['getAttribute']('revisionHistoryAttachChange');if(_0x151374['removeAttribute']('data-change-id',_0x2e9350),_0x151374['removeClass']('ck-revision-history-root-add',_0x2e9350),_0x151374['removeClass']('ck-revision-history-root-remove',_0x2e9350),_0x151374['removeClass']('ck-revision-history-root--active',_0x2e9350),_0x3ff437){const _0x4723e2=this['_getChangeFromId'](_0x3ff437);if(!_0x4723e2)return null;_0x151374['setAttribute']('data-change-id',_0x3ff437,_0x2e9350),_0x151374['addClass']('ck-revision-history-root-'+_0x4723e2['type'],_0x2e9350),this['activeChange']==_0x4723e2&&_0x151374['addClass']('ck-revision-history-root--active',_0x2e9350);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x2a2172=>'revision-comment:'+_0x2a2172,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0xfcf984=>'revision-suggestion:'+_0xfcf984,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x213640=>({'name':'suggestion:'+_0x213640,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0xbd1afc=>{const _0x3b4bb6=_0xbd1afc['markerName']['split'](':')[0x1];return'insertion'!=_0x3b4bb6&&'deletion'!=_0x3b4bb6?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x3b4bb6]};}}),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',(_0x4891c6,_0x3765e9,_0x28f178)=>{const _0xede56c=_0x28f178['mapper']['markerNameToElements'](_0x3765e9['markerName']);if(_0xede56c){for(const _0x1692bc of _0xede56c)_0x1692bc['is']('uiElement')&&(_0x28f178['mapper']['unbindElementFromMarkerName'](_0x1692bc,_0x3765e9['markerName']),_0x28f178['writer']['remove'](_0x1692bc));}},{'priority':'high'});}['_getChangeFromId'](_0x304dd5){return this['_changeIdToChange']['get'](_0x304dd5);}['_getViewForChange'](_0x3ce190){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x3ce190),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x4320a3,_0xc5937e,_0x5e95ad,_0x121277)=>{_0x121277&&this['_balloon']['remove'](_0x121277),_0x5e95ad&&(this['_balloon']['add']({'view':_0x5e95ad,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x398cdb=this['editor']['editing'],_0x14cb9c=this['_getChangeFromId'](_0x5e95ad['changeId']);let _0x79c960;if(_0x14cb9c['data']['isOnRoot']){const _0x5581db=_0x398cdb['view']['getDomRoot'](_0x14cb9c['rootName']);_0x79c960=Array['from'](_0x5581db['getClientRects']());}else{const _0x563b72=this['editor']['model']['markers']['get']('revision:'+_0x5e95ad['changeId']);_0x79c960=Array['from'](_0x398cdb['mapper']['markerNameToElements'](_0x563b72['name']))['map'](_0x128910=>_0x398cdb['view']['domConverter']['mapViewToDom'](_0x128910))['map'](_0x493850=>Array['from'](_0x493850['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x79c960[0x0];return _0x79c960['find'](_0x1a16c5=>_0x1a16c5['top']-0x3<=this['_activeViewTarget']['y']&&_0x1a16c5['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x1a16c5['left']-0x3<=this['_activeViewTarget']['x']&&_0x1a16c5['right']+0x3>=this['_activeViewTarget']['x'])||_0x79c960[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x1ff6dd,_0x6fd749,_0x12dfd8,_0x5e3196)=>{this['activeView']=_0x12dfd8?this['_getViewForChange'](_0x12dfd8):null,this['editor']['model']['change'](()=>{const _0x6141e6=this['editor']['editing'];_0x5e3196&&(_0x5e3196['data']['isOnRoot']?_0x6141e6['view']['change'](_0x56c8a5=>{_0x56c8a5['removeClass']('ck-revision-history-root--active',_0x6141e6['view']['document']['getRoot'](_0x5e3196['rootName']));}):_0x6141e6['reconvertMarker']('revision:'+_0x5e3196['id'])),_0x12dfd8&&(_0x12dfd8['data']['isOnRoot']?_0x6141e6['view']['change'](_0x2b6f57=>{_0x2b6f57['addClass']('ck-revision-history-root--active',_0x6141e6['view']['document']['getRoot'](_0x12dfd8['rootName']));}):_0x6141e6['reconvertMarker']('revision:'+_0x12dfd8['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0xff290c,_0x442e45)=>{if(this['activeChange'])return;const _0x517333=this['_findChangeIdFromDomTarget'](_0x442e45['target']),_0x28dd6b=this['_changeIdToChange']['get'](_0x517333);_0x28dd6b?(this['_activeViewTarget']={'x':_0x442e45['domEvent']['x'],'y':_0x442e45['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x28dd6b)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x5a2001,_0x135c43)=>{const _0x319b6f=this['_findChangeIdFromDomTarget'](_0x135c43['target']),_0x52d0c8=this['_changeIdToChange']['get'](_0x319b6f);_0x52d0c8?(this['_activeViewTarget']={'x':_0x135c43['domEvent']['x'],'y':_0x135c43['domEvent']['y']},_0x52d0c8===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x52d0c8):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x372217){do{const _0x5d6612=_0x372217['getAttribute']('data-change-id');if(_0x5d6612)return _0x5d6612;_0x372217=_0x372217['parent'];}while(_0x372217);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x2e397e=>{for(const _0xfc0e20 of this['editor']['model']['markers'])_0x2e397e['removeMarker'](_0xfc0e20);});}}function et(_0x42d0c0,_0x1548b2){return(_0x58244b,_0x363a81,_0x39561a)=>{if(!_0x39561a['consumable']['test'](_0x363a81['markerRange'],_0x58244b['name']))return;const _0x30b022=_0x363a81['markerRange']['getWalker'](),_0x4ae3b0=_0x363a81['markerRange']['start'],_0x2afe75=_0x42d0c0['model']['schema'];let _0x532b46=null,_0x4827c4=null,_0x2136a9=!0x1,_0x30d14e=!0x1;for(const _0x3eb2ad of _0x30b022){const _0x30e33f=_0x3eb2ad['item'];_0x2136a9=_0x2136a9||_0x2afe75['isContent'](_0x30e33f);const _0xd697fb=_0x39561a['mapper']['toViewElement'](_0x30e33f);if(_0xd697fb&&_0xd697fb['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3eb2ad['type']&&(_0x2afe75['isBlock'](_0x30e33f)&&!_0x2afe75['isLimit'](_0x30e33f)&&(_0x30e33f['nextSibling']||_0x4ae3b0['isAtEnd']?_0x532b46&&_0x532b46['parent']==_0x30e33f||(_0x532b46=_0x30e33f,_0x587db8(_0x3eb2ad['previousPosition']),_0x30d14e=!0x0):_0x4827c4=_0x4827c4||_0x3eb2ad['previousPosition']));}function _0x587db8(_0x1d7312){const _0x27f90a=_0x39561a['mapper']['toViewPosition'](_0x1d7312),_0x38c3de=_0x39561a['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x1548b2});_0x39561a['writer']['insert'](_0x27f90a,_0x38c3de),_0x39561a['mapper']['bindElementToMarker'](_0x38c3de,_0x363a81['markerName']);}_0x2136a9||_0x30d14e||!_0x4827c4||_0x587db8(_0x4827c4);};}class bt extends _0x19ad1b{constructor(_0x434bb5){super(_0x434bb5);const _0x162727=_0x434bb5['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x162727,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x162727,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x1fb63a=this['editor'],_0x12946e=_0x1fb63a['plugins']['get'](d),_0x8e2f7e=_0x12946e['isReady']?_0x12946e['diff']['newRevisionId']:null;_0x1fb63a['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x8e2f7e);}['refresh'](){const {isReady:_0x374404,isEnabled:_0x22291c}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x374404&&_0x22291c;}}class yt extends _0x19ad1b{['_step'];constructor(_0x21e461,{direction:_0xd38ddc}){super(_0x21e461);const _0x14f468=_0x21e461['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0xd38ddc?0x1:-0x1,this['listenTo'](_0x14f468,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x14f468,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x14f468,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x10f767=this['editor'],_0x5b6765=_0x10f767['plugins']['get'](d),{isNavigationMode:_0x28fdb8,currentChangeNumber:_0x4f0638}=_0x5b6765;let _0x5b8ae1;if(_0x5b6765['activeChange']=_0x28fdb8?_0x5b6765['diff']['changes']['get'](_0x4f0638+this['_step']):_0x5b6765['diff']['changes']['first'],_0x5b6765['activeChange']['data']['isOnRoot'])_0x5b8ae1=_0x10f767['editing']['view']['getDomRoot'](_0x5b6765['activeChange']['rootName']);else{const _0x1908db=_0x10f767['model']['markers']['get']('revision:'+_0x5b6765['activeChange']['id']);_0x5b8ae1=_0x39447d(_0x10f767['editing'],_0x1908db);}_0x353841({'target':_0x5b8ae1,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x18d79a,currentChangeNumber:_0xbfea77,numberOfChanges:_0x4f4530,isReady:_0x148a91,isEnabled:_0x2e2295}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x2e2295&&_0x148a91&&_0x4f4530)&&(!_0x18d79a||(0x1===this['_step']?_0xbfea77<_0x4f4530-0x1:_0xbfea77>0x0));}}class _i extends _0x4da36d{constructor(_0x40acdd){super(_0x40acdd);const _0x481800=this['bindTemplate'],_0x5e87a4=new _0x33cdf3(_0x40acdd),_0x62e7ae=new _0x33cdf3(_0x40acdd);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',(_0x66ac39,_0x5a65ef)=>_0x66ac39&&_0x5a65ef>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x48ad6d,_0x36af0f,_0x56a592,_0x19d11c)=>{if(!_0x48ad6d)return y(_0x40acdd,'Loading...');if(!_0x56a592)return y(_0x40acdd,'No\x20changes');const _0x564d68=y(_0x40acdd,'NUMBER_OF_CHANGES',_0x56a592);return _0x19d11c?y(_0x40acdd,'X_OF_Y_CHANGES',[_0x36af0f+0x1,_0x56a592]):_0x564d68;}),_0x5e87a4['set']({'label':y(_0x40acdd,'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'}),_0x62e7ae['set']({'label':y(_0x40acdd,'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'}),_0x5e87a4['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x62e7ae['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x5e87a4['on']('execute',()=>this['fire']('execute','backward')),_0x62e7ae['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',_0x481800['if']('_isStatusLabelVisible','ck-hidden',_0x265892=>!_0x265892)]},'children':[{'text':_0x481800['to']('isNavigationMode',_0x1df687=>_0x1df687?y(_0x40acdd,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x40acdd,'Total')+':\x20')}]},{'text':_0x481800['to']('_statusText')}]},new _0x3f97f7(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x5e87a4,_0x62e7ae]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x47193e{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x289bd1=this['editor']['editing']['view'];_0x289bd1['change'](_0x19fb1a=>{for(const _0x1c5b76 of _0x289bd1['document']['roots'])_0x19fb1a['addClass'](ce,_0x1c5b76);});}['hide'](){const _0x4b2074=this['editor']['editing']['view'];_0x4b2074['change'](_0x5d591f=>{for(const _0x4c8499 of _0x4b2074['document']['roots'])_0x5d591f['removeClass'](ce,_0x4c8499);});}}class R extends _0x47193e{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x122c4c=this['editor'],_0x4c2fe0=_0x122c4c['plugins']['get'](d),_0x296dfe=_0x122c4c['plugins']['get'](de);_0x122c4c['ui']['componentFactory']['add']('exitToEditing',_0x30eea1=>{const _0x517c02=new _0x33cdf3(_0x30eea1);return _0x517c02['set']({'label':y(_0x30eea1,'Back\x20to\x20editing'),'icon':_0x3918d9['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x517c02,'execute',()=>{_0x122c4c['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x517c02;}),_0x122c4c['ui']['componentFactory']['add']('restoreRevision',_0x56dbdd=>{const _0x5ea85e=new _0x33cdf3(_0x56dbdd);return _0x5ea85e['set']({'label':y(_0x56dbdd,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x5ea85e['bind']('isEnabled')['to'](_0x122c4c['commands']['get']('restoreRevision')),this['listenTo'](_0x5ea85e,'execute',()=>_0x122c4c['execute']('restoreRevision')),_0x5ea85e;}),_0x122c4c['ui']['componentFactory']['add']('changesNavigation',_0x363e81=>{const _0x1bca8f=new _i(_0x363e81),_0x3c080b=_0x122c4c['commands']['get']('showPreviousChange'),_0xcb4934=_0x122c4c['commands']['get']('showNextChange');return _0x1bca8f['bind']('isBackwardNavigationEnabled')['to'](_0x3c080b,'isEnabled'),_0x1bca8f['bind']('isForwardNavigationEnabled')['to'](_0xcb4934,'isEnabled'),_0x1bca8f['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x4c2fe0),this['listenTo'](_0x1bca8f,'execute',(_0x230e95,_0x181512)=>{_0x122c4c['execute']('forward'===_0x181512?'showNextChange':'showPreviousChange');}),_0x1bca8f;}),_0x296dfe['show'](),_0x4c2fe0['on']('change:isReady',(_0x2629a4,_0x4520db,_0x1faf98)=>{_0x1faf98?_0x296dfe['hide']():_0x296dfe['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x48b7bc,_0x13cc1d){super(_0x48b7bc,_0x13cc1d);const _0x343535=this['bindTemplate'];this['set']({'label':y(_0x48b7bc,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x48b7bc,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x343535['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 _0x9a259=this['fieldView']['element'];this['_tooltipString']=_0x9a259['scrollWidth']>_0x9a259['clientWidth']&&_0x9a259['value']||'';}}class ti extends _0x4da36d{constructor(_0x54ab59,_0x14bca6,_0x2055c4){super(_0x54ab59);const _0x179ed6=new _0x542ab4();_0x179ed6['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 _0x39af84=['ck','ck-revision-history-sidebar__revision-author'];_0x2055c4&&_0x39af84['push']('ck-revision-history-sidebar__revision-author_creator');const _0x5b31b3=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x54ab59,_0x2055c4?'Revision\x20creator':'Revision\x20author')},'children':[_0x179ed6,_0x14bca6['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x39af84},'children':_0x5b31b3});}}function ni(_0x17d688,_0xda7f6a){const _0x348dcb=_0x17d688['bindTemplate'],_0x31ac17=_0x17d688['locale'],_0x5d7614=_0x49c129(_0x31ac17);_0x5d7614['panelPosition']='sw';const _0x46de23=function(_0x5e9fc8,_0x5b1e04){const _0x477168=function(_0x5b5bfa,_0x40e00d){const _0xdaf0b5=_0x5b5bfa['locale'],_0xf0728a={'Compare\x20against\x20selected':y(_0xdaf0b5,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0xdaf0b5,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0xdaf0b5,'Restore\x20this\x20revision')};return _0x40e00d['map'](_0x175c10=>{const _0x42b730=_0xf0728a[_0x175c10['name']];return _0x42b730&&_0x42b730!==_0x175c10['name']&&(_0x175c10['name']=_0x42b730),_0x175c10;});}(_0x5e9fc8,_0x5b1e04),_0x185a25=new _0x2b2b84();for(const _0x52db4f of _0x477168){const _0x2843f7={'type':'button','model':new to({'label':_0x52db4f['name'],'class':_0x52db4f['class'],'withText':!0x0,'role':'menuitem','_action':_0x52db4f['action']})};_0x2843f7['model']['bind']('isEnabled')['to'](_0x5e9fc8,'isActionsDropdownOpen',_0x56611d=>'function'!=typeof _0x52db4f['isEnabled']||(!_0x56611d||_0x52db4f['isEnabled'](_0x5e9fc8))),_0x185a25['add'](_0x2843f7);}return _0x185a25;}(_0x17d688,_0xda7f6a);return _0x17d688['bind']('isActionsDropdownOpen')['to'](_0x5d7614,'isOpen'),_0x5d7614['buttonView']['set']({'label':y(_0x31ac17,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x3918d9['threeVerticalDots']}),_0x5d7614['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x348dcb['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x348dcb['to'](_0x324616=>_0x324616['stopPropagation']())}}),_0x5d7614['on']('execute',_0x4a1baa=>{_0x17d688['isReady']&&'function'==typeof _0x4a1baa['source']['_action']&&_0x4a1baa['source']['_action'](_0x17d688);}),_0x3deaea(_0x5d7614,_0x46de23,{'role':'menu'}),_0x5d7614['listenTo'](_0x17d688,'change:isActionsDropdownOpen',(_0xcc5760,_0x5c3cb4,_0x1865c7)=>{if(_0x1865c7)for(const _0x3abba2 of _0x5d7614['listView']['items']){const _0x5aa599=_0x3abba2['children']['first'],_0x4e0755=_0xda7f6a['find'](_0x3dffc7=>_0x3dffc7['action']===_0x5aa599['_action'])['isVisible'];_0x3abba2['isVisible']=void 0x0===_0x4e0755||_0x4e0755(_0x17d688);}}),_0x5d7614;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x5b4ada(_0x4da36d){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x52925c,_0xce707f,_0x2715e2,_0x3b13c2){super(_0x52925c);const _0x525a0f=this['bindTemplate'],_0x456cff=function(_0x3e817c,_0x877e65){const _0xc7e03d=Array['from'](_0x877e65['authors'])['filter'](_0x16f3c1=>_0x16f3c1!=_0x877e65['creator']);return _0x877e65['creator']&&_0xc7e03d['unshift'](_0x877e65['creator']),_0xc7e03d['map'](_0x4e28cd=>new ti(_0x3e817c,_0x4e28cd,_0x4e28cd==_0x877e65['creator']));}(_0x52925c,_0xce707f);this['id']=_0xce707f['id'],this['_revision']=_0xce707f,this['_requireRevisionName']=_0x3b13c2,this['bind']('name','createdAt')['to'](_0xce707f),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x2ac730=>{return _0x3e5703=_0x52925c['uiLanguage'],(_0x5eddc6=_0x2ac730)['toLocaleDateString'](_0x3e5703,{'month':'long','day':'numeric'})+',\x20'+_0x5eddc6['toLocaleTimeString'](_0x3e5703,{'hour':'numeric','minute':'numeric'});var _0x3e5703,_0x5eddc6;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x52925c,_0x1758b7),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x4a88a4=>_0x4a88a4||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x2cfa0b,_0x4b9776)=>_0x2cfa0b&&_0x4b9776),this['revisionActionsView']=_0x2715e2&&_0x2715e2['length']?ni(this,_0x2715e2):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x525a0f['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x525a0f['if']('isEnabled','ck-disabled',_0x2c906e=>!_0x2c906e),_0x525a0f['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x525a0f['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x525a0f['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':_0x525a0f['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':_0x456cff}]},this['revisionActionsView']],'on':{'click':_0x525a0f['to'](_0x46462e=>{_0x46462e['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x428e4e=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x428e4e,'change',()=>{this['_requireRevisionName']&&!_0x428e4e['value']||this['fire']('setName',{'id':this['id'],'name':_0x428e4e['value']}),_0x428e4e['value']||(_0x428e4e['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(_0x514241,_0xe6f0b8){const _0x403f84=_0x355e4d['fromJSDate'](_0x514241)['setLocale'](_0xe6f0b8),_0x29eabc=_0x355e4d['local'](),_0x46135e=_0x29eabc['minus']({'days':0x1})['startOf']('day');let _0x3b0a45,_0x20869f;return _0x403f84['hasSame'](_0x29eabc,'day')?(_0x3b0a45=_0x403f84['startOf']('day')['toJSDate'](),_0x20869f=_0x403f84['toRelativeCalendar']()):_0x403f84['hasSame'](_0x46135e,'day')?(_0x3b0a45=_0x46135e['toJSDate'](),_0x20869f=_0x403f84['toRelativeCalendar']()):_0x403f84['hasSame'](_0x29eabc,'week')?(_0x3b0a45=_0x403f84['startOf']('week')['toJSDate'](),_0x20869f=_0x403f84['weekdayLong']||''):_0x403f84['hasSame'](_0x29eabc,'year')?(_0x3b0a45=_0x403f84['startOf']('month')['toJSDate'](),_0x20869f=_0x403f84['monthLong']||''):(_0x3b0a45=_0x403f84['startOf']('year')['toJSDate'](),_0x20869f=String(_0x403f84['year'])),{'startDate':_0x3b0a45,'localizedPeriodName':_0x20869f};}class mi extends _0x4da36d{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x147041,_0x2e474d,_0x5b40d3,_0x57548b){super(_0x147041);const _0x2817a3=di(_0x2e474d,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x2e474d,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x5b40d3,this['_requireRevisionName']=_0x57548b,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':_0x2817a3}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x20f46b){const _0x151a67=new ai(this['locale'],_0x20f46b,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x151a67);}['removeRevision'](_0x1ced6b){const _0x5dcfdc=this['revisionViews']['find'](_0x5badf3=>_0x5badf3['id']===_0x1ced6b['id']);this['revisionViews']['remove'](_0x5dcfdc);}}class as extends _0x4da36d{constructor(_0xd9d2ef){super(_0xd9d2ef);const _0x348c6c=new _0x542ab4();_0x348c6c['content']=_0x3918d9['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x348c6c,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0xd9d2ef,'Revision\x20history')]}]});}}class ci extends _0x4da36d{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x46d0b1,_0x294092,_0x1e5241,_0x20ffd5){super(_0x46d0b1);const _0xe823a2=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x294092,this['_revisionActions']=_0x1e5241,this['_requireRevisionName']=_0x20ffd5,this['on']('select',(_0x47364b,_0x5a7865)=>{this['fire']('revisionSelected',_0x5a7865);}),this['on']('setName',(_0x547d35,_0x5b6686)=>{this['fire']('revisionSetName',_0x5b6686);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x46d0b1),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0xe823a2['if']('isEnabled','ck-disabled',_0x4e0320=>!_0x4e0320)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x2b72eb of this['_revisions'])this['_addRevision'](_0x2b72eb);this['_revisions']['on']('add',(_0x124468,_0x24cb69)=>{this['_addRevision'](_0x24cb69);}),this['_revisions']['on']('remove',(_0x85c8cc,_0x2fe87c)=>{this['_removeRevision'](_0x2fe87c);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x3d9a54=>_0x3d9a54['revisionViews']['map'](_0x41d4de=>_0x41d4de))['flat']();}['selectRevision'](_0x36223f){for(const _0x1f1563 of this['revisionViews'])_0x36223f&&_0x36223f['id']===_0x1f1563['id']?_0x1f1563['select']():_0x1f1563['deselect']();}['highlightRevisions'](_0x5850da){for(const _0x3c97e2 of this['revisionViews'])_0x5850da['some'](({id:_0x5a06e6})=>_0x5a06e6===_0x3c97e2['id'])?_0x3c97e2['highlight']():_0x3c97e2['unhighlight']();}['_addRevision'](_0x1053fe){const _0x3c7954=di(_0x1053fe['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x2a9482=this['timePeriodViews']['get'](0x0);_0x2a9482&&_0x2a9482['startDate']['getTime']()===_0x3c7954['getTime']()||(_0x2a9482=new mi(this['locale'],_0x3c7954,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x2a9482)),_0x2a9482['addRevision'](_0x1053fe);}['_removeRevision'](_0x384fd9){const _0x3f5b6c=di(_0x384fd9['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x3f5b6c)['removeRevision'](_0x384fd9);}['_getTimePeriodViewByStartDate'](_0x2b3b8f){return this['timePeriodViews']['find'](_0x59d3f1=>_0x59d3f1['startDate']['getTime']()===_0x2b3b8f['getTime']());}}class w extends _0x47193e{['_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(_0x4336c4){super(_0x4336c4),this['_revisionViewer']=_0x4336c4['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x5308b6=this['_revisionsRepository']['_revisions'],_0x435242=this['_createRevisionActions'](),_0x1579c0=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x5308b6,_0x435242,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',(_0x3b02f7,_0x31602e)=>{_0x31602e['revisionViews']['on']('add',(_0x294de8,_0x3ff8b4)=>{_0x3ff8b4['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)),_0x1579c0['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x6997a3=this['_revisionsRepository']['getRevision'](0x0);if(_0x6997a3){const _0x274b2f=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x6997a3['id']);this['_revisionViewer']['compare'](_0x6997a3,_0x274b2f);}}['_handleRevisionSelected'](_0x9b0173,_0x12eb31){const _0xf36dc2=this['_revisionsRepository']['getRevision'](_0x12eb31['id']),_0x4acb78=this['_revisionsRepository']['getEarlierVisibleRevision'](_0xf36dc2['id']);this['_revisionViewer']['compare'](_0xf36dc2,_0x4acb78);}['_handleRevisionSetName'](_0xa00e3,_0x431e5f){this['_revisionsRepository']['getRevision'](_0x431e5f['id'])['setName'](_0x431e5f['name']);}['_handleDiffChange'](_0x19610e,_0x4afd63,_0x5e461f){const _0x372418=this['_revisionsRepository']['getRevisionsInDiff'](_0x5e461f);_0x372418['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x372418),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x372418[0x0]));}['_createRevisionActions'](){const _0x370d9a=this['editor'],_0x287bec=w['availableRevisionActions'],_0x22d222=_0x370d9a['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x22d222['length'])return _0x22d222['map'](_0x2ff028=>{const _0x2c010c='string'==typeof _0x2ff028?Object['assign']({},_0x287bec[_0x2ff028]):_0x2ff028;return _0x2c010c['action']=_0x2c010c['action']['bind'](this,_0x370d9a),_0x2c010c['isVisible']&&(_0x2c010c['isVisible']=_0x2c010c['isVisible']['bind'](this,_0x370d9a)),_0x2c010c;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x183397},_0x4674f7)=>{const _0x44bc9b=_0x183397['get'](d),_0x1bf776=_0x44bc9b['repository'];let _0x243707=_0x44bc9b['diff']['newRevisionId'],_0x74f730=_0x4674f7['id'];_0x1bf776['getIndex'](_0x243707)>_0x1bf776['getIndex'](_0x74f730)&&([_0x243707,_0x74f730]=[_0x74f730,_0x243707]),_0x44bc9b['compare'](_0x243707,_0x74f730);},'isVisible':({plugins:_0x231f31},_0xbece60)=>{const _0x50fb57=_0x231f31['get'](d);return!(_0x50fb57['repository']['getRevisionsInDiff'](_0x50fb57['diff'])['length']>0x2)&&!_0xbece60['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x215485,{id:_0x5028fb})=>{_0x215485['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x5028fb);},'isVisible':({plugins:_0x589431},_0x3b8275)=>!!_0x589431['get'](d)['repository']['getLaterVisibleRevision'](_0x3b8275['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x669168},{id:_0x13d839,revisionNameView:_0x4526f7})=>{const _0xbd3473=_0x669168['get'](d),_0x24bb84=_0xbd3473['repository']['getEarlierVisibleRevision'](_0x13d839);_0xbd3473['compare'](_0x13d839,_0x24bb84),_0x4526f7['focus'](),_0x4526f7['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x1d8be2,_0x160dab){super(_0x1d8be2),this['_view']=_0x160dab,this['_toolbarConfig']=ct(_0x1d8be2['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x13c835){const _0x5ef28f=this['editor'],_0x1be805=this['view'],_0xfc4c19=_0x5ef28f['editing']['view'],_0x3f0a7b=_0x1be805['editable'],_0x333ef3=_0xfc4c19['document']['getRoot']();_0x3f0a7b['name']=_0x333ef3['rootName'],_0x1be805['render']();const _0x1f2e3b=_0x3f0a7b['element'];this['setEditableElement'](_0x3f0a7b['name'],_0x1f2e3b),_0x1be805['editable']['bind']('isFocused')['to'](this['focusTracker']),_0xfc4c19['attachDomRoot'](_0x1f2e3b),this['_elementReplacer']['replace'](_0x13c835,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x3046b3=this['view'],_0x5a328b=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x5a328b['detachDomRoot'](_0x3046b3['editable']['name']),_0x3046b3['destroy']();}['_initToolbar'](){const _0x2d603f=this['view'];_0x2d603f['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x2d603f['stickyPanel']['limiterElement']=_0x2d603f['element'],_0x2d603f['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x1ef2df})=>_0x1ef2df),_0x2d603f['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x2d603f['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x4a0cc7,_0x4ad391,_0x4f83a9={}){super(_0x4a0cc7),this['stickyPanel']=new lt(_0x4a0cc7),this['toolbar']=new pt(_0x4a0cc7,{'shouldGroupWhenFull':_0x4f83a9['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x4a0cc7,_0x4ad391);}['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(_0x21901f,_0x368425){super(_0x368425),this['sourceElement']=_0x21901f,this['model']['document']['createRoot']();const _0x4f4fcc=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x4f4fcc);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x22b0be,_0x2e9d02){const _0x6e6fae=new this(_0x22b0be,_0x2e9d02);return await _0x6e6fae['initPlugins'](),await _0x6e6fae['ui']['init'](_0x22b0be),await _0x6e6fae['data']['init'](_0x6e6fae['config']['get']('initialData')||''),_0x6e6fae['fire']('ready'),_0x6e6fae;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x12f93a{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x499ca4){super(_0x499ca4),this['result']='end';}}class H extends _0x12f93a{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x15cb3f){if(super(_0x15cb3f),!this['editor']['config']['get']('revisionHistory'))throw new _0x5a438c('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x33a79d=>this['_showRevisionViewer']({..._0x33a79d,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x2ab45f=>this['_closeRevisionViewer'](_0x2ab45f)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x48ae55=>this['_restoreRevision'](_0x48ae55)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x27bb5a){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x27bb5a;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x3f6bb5){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x3f6bb5);}['getRevision'](_0x5aa9f2){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x5aa9f2);}['getRevisions'](_0x4a5bda){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x4a5bda||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0xf148be=this['editor'],_0x11e8a1=_0x2a507b(_0xf148be,p),_0x1b142d=_0xf148be['plugins']['get']('RevisionTracker'),_0xd95b41=_0xf148be['plugins']['get']('Users')['users'];return _0x11e8a1['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x11e8a1['lazyRoots'],(_0x11e8a1['plugins']['push'](k,d,R,class extends _0x12f93a{static get['requires'](){return[d,'Users'];}['init'](){const _0xcfb6f9=this['editor']['plugins']['get']('Users');for(const _0x54aa6a of _0xd95b41)_0x54aa6a['isAnonymous']||_0xcfb6f9['getUser'](_0x54aa6a['id'])||_0xcfb6f9['addUser'](_0x54aa6a);const _0x11ec48=_0x1b142d['repository']['getRevisions']();let _0x380e52=null;const _0x5d1b32=this['editor']['plugins']['get']('RevisionViewer');_0x5d1b32['adapter']=_0x1b142d['adapter'],_0x5d1b32['bind']('isEnabled')['to'](_0x1b142d),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0xf148be,'isReadOnly',_0x1cc59d=>!_0x1cc59d);for(const _0x25462d of _0x11ec48){const _0x5f584d=null===_0x25462d['creator'];if(_0x5f584d&&_0x25462d['toVersion']===_0x25462d['fromVersion'])continue;const _0x1c5467=_0x25462d['toJSON']();_0x5d1b32['addRevisionData'](_0x1c5467,(_0x44b77a,_0x58b3e3,_0x37b39f)=>{if(_0x5f584d){if(_0x380e52)_0x380e52['_update'](_0x44b77a,_0x58b3e3);else{if(!_0x58b3e3){const _0x5588dc=_0x37b39f['toJSON']();_0x5588dc['id']=_0x198eec(),_0x1b142d['saveRevision'](_0x5588dc,_0x37b39f['toVersion'])['then'](_0x5639c5=>{_0x380e52=_0x5639c5;});}}}else _0x25462d['_update'](_0x44b77a,_0x58b3e3);});}}},w),_0x11e8a1);}['_enhanceShowRevisionViewerCallback'](){const _0x1c2b9e=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x465438=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x4a2431=this['editor']['plugins']['get']('Autosave');await _0x4a2431['save']();}else await _0x465438['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x3c42b0=this['editor']['plugins']['get']('Dialog');_0x3c42b0['isOpen']&&_0x3c42b0['hide']();}const _0x1b6c9b=this['_getRevisionViewerEditorConfig']();return _0x1c2b9e(_0x1b6c9b)['then'](_0x41e581=>{return(this['_viewerEditor']=_0x41e581,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x41e581;})['catch'](_0x5ab954=>(console['error'](_0x5ab954),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x42062a=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'](),_0x42062a(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x3e6f02=this['editor']['plugins']['get']('Annotations');_0x3e6f02['refreshVisibility'](),_0x3e6f02['refreshPositioning']();}})));}['_showRevisionViewer'](_0x6384b9){const _0x52d33c=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x2af477=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x43b695=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x43b695,_0x6384b9)['then'](_0xc36923=>(_0x2af477['style']['display']='block',_0x52d33c['style']['display']='none',_0xc36923));}['_closeRevisionViewer'](_0x7c0626){const _0x2a65de=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x2a65de['style']['display']='',_0x7c0626['destroy']();}async['_restoreRevision'](_0x3d4f0e){const _0x3a559b=this['editor'],_0x582bdf=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x3d5e08=_0x3a559b['plugins']['get']('RevisionTracker'),_0x14b456=_0x582bdf['repository']['getRevision'](_0x3d4f0e);let _0x4ca949,_0x72edb7,_0x1269bd;try{_0x4ca949=await _0x582bdf['getRevisionData'](_0x14b456),_0x72edb7=await _0x582bdf['getRevisionRootsAttributes'](_0x14b456);}catch(_0x257e2b){return void console['error'](_0x257e2b);}_0x3a559b['model']['change'](_0x20ddd4=>{for(const _0x3157ef of Array['from'](_0x3a559b['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x20ddd4['removeMarker'](_0x3157ef);}),_0x582bdf['isReady']=!0x1,_0x3a559b['model']['enqueueChange'](_0x2d6485=>{_0x2d6485['setSelection'](null),_0x2d6485['removeSelectionAttribute'](_0x3a559b['model']['document']['selection']['getAttributeKeys']());const _0x5b3446=Object['keys'](_0x4ca949);for(const _0x388197 of _0x3a559b['model']['document']['roots'])'$graveyard'!=_0x388197['rootName']&&_0x388197['isAttached']()&&!_0x5b3446['includes'](_0x388197['rootName'])&&_0x2d6485['detachRoot'](_0x388197);for(const _0x4c9364 of _0x5b3446){let _0x32ecee=_0x3a559b['model']['document']['getRoot'](_0x4c9364);_0x32ecee&&_0x32ecee['isAttached']()||(_0x32ecee=_0x2d6485['addRoot'](_0x4c9364));const _0x350ac3=_0x72edb7[_0x4c9364],_0x18927c=Object['keys'](_0x350ac3),_0xddf4d9=_0x4ca949[_0x4c9364];for(const _0x36fd7d of _0x32ecee['getAttributeKeys']())_0x18927c['includes'](_0x36fd7d)||_0x2d6485['removeAttribute'](_0x36fd7d,_0x32ecee);for(const _0x499dac of _0x18927c)_0x2d6485['setAttribute'](_0x499dac,_0x72edb7[_0x4c9364][_0x499dac],_0x32ecee);_0x2d6485['remove'](_0x2d6485['createRangeIn'](_0x32ecee)),_0x2d6485['insert'](_0x3a559b['data']['parse'](_0xddf4d9,_0x32ecee),_0x32ecee,0x0);}});const _0x4a64b9=y(_0x3a559b['locale'],'Restored');if(_0x14b456['name'])_0x1269bd=-0x1==_0x14b456['name']['indexOf'](_0x4a64b9)?_0x4a64b9+':\x20'+_0x14b456['name']:_0x14b456['name'];else _0x1269bd=_0x4a64b9+':\x20'+(_0x14b456['createdAt']['toLocaleDateString'](_0x3a559b['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x14b456['createdAt']['toLocaleTimeString'](_0x3a559b['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x3d5e08['saveRevision']({'name':_0x1269bd}),_0x582bdf['isReady']=!0x0,_0x3a559b['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(_0x14b78c){super(_0x14b78c),this['_revisionViewer']=_0x14b78c['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0xfa7dfa=this['_revisionsRepository']['_revisions'],_0x4f353a=this['_createRevisionActions'](),_0x15141f=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0xfa7dfa,_0x4f353a,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',(_0x1dfd2f,_0x136ddd)=>{_0x136ddd['revisionViews']['on']('add',(_0x5afda7,_0x34865a)=>{_0x34865a['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)),_0x15141f['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x4847f6=this['_revisionsRepository']['getRevision'](0x0);if(_0x4847f6){const _0x26036e=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4847f6['id']);this['_revisionViewer']['compare'](_0x4847f6,_0x26036e);}}['_handleRevisionSelected'](_0x1f17fa,_0x42f594){const _0x35f3ba=this['_revisionsRepository']['getRevision'](_0x42f594['id']),_0x5c8071=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x35f3ba['id']);this['_revisionViewer']['compare'](_0x35f3ba,_0x5c8071);}['_handleRevisionSetName'](_0x42743f,_0x37c18e){this['_revisionsRepository']['getRevision'](_0x37c18e['id'])['setName'](_0x37c18e['name']);}['_handleDiffChange'](_0x493adc,_0x144a0c,_0xe353b5){const _0x43915d=this['_revisionsRepository']['getRevisionsInDiff'](_0xe353b5);_0x43915d['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x43915d),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x43915d[0x0]));}['_createRevisionActions'](){const _0x97df5f=this['editor'],_0x1a4f13=w['availableRevisionActions'],_0x36ce58=_0x97df5f['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x36ce58['length'])return _0x36ce58['map'](_0x5b96ed=>{const _0x1cf8eb='string'==typeof _0x5b96ed?Object['assign']({},_0x1a4f13[_0x5b96ed]):_0x5b96ed;return _0x1cf8eb['action']=_0x1cf8eb['action']['bind'](this,_0x97df5f),_0x1cf8eb['isVisible']&&(_0x1cf8eb['isVisible']=_0x1cf8eb['isVisible']['bind'](this,_0x97df5f)),_0x1cf8eb;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x39bcf0},_0x3b805e)=>{const _0x21cb3a=_0x39bcf0['get'](d),_0x129fa2=_0x21cb3a['repository'];let _0x2d7066=_0x21cb3a['diff']['newRevisionId'],_0x53552a=_0x3b805e['id'];_0x129fa2['getIndex'](_0x2d7066)>_0x129fa2['getIndex'](_0x53552a)&&([_0x2d7066,_0x53552a]=[_0x53552a,_0x2d7066]),_0x21cb3a['compare'](_0x2d7066,_0x53552a);},'isVisible':({plugins:_0x455baf},_0x237852)=>{const _0x2a5191=_0x455baf['get'](d);return!(_0x2a5191['repository']['getRevisionsInDiff'](_0x2a5191['diff'])['length']>0x2)&&!_0x237852['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x3bd60b,{id:_0xff82f0})=>{_0x3bd60b['config']['get']('revisionHistory')['restoreRevisionCallback'](_0xff82f0);},'isVisible':({plugins:_0x5837ab},_0x3ecb77)=>!!_0x5837ab['get'](d)['repository']['getLaterVisibleRevision'](_0x3ecb77['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x2879c1},{id:_0x96d2f3,revisionNameView:_0x3fdbce})=>{const _0x2699f9=_0x2879c1['get'](d),_0x43d273=_0x2699f9['repository']['getEarlierVisibleRevision'](_0x96d2f3);_0x2699f9['compare'](_0x96d2f3,_0x43d273),_0x3fdbce['focus'](),_0x3fdbce['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x2a3c04,_0x236274){super(_0x2a3c04),this['_view']=_0x236274,this['_toolbarConfig']=ct(_0x2a3c04['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0xb68e0c){const _0x2fb21b=this['editor'],_0x395c00=this['view'],_0x7d0369=_0x2fb21b['editing']['view'],_0x4a1b0a=_0x395c00['editable'],_0x2786a6=_0x7d0369['document']['getRoot']();_0x4a1b0a['name']=_0x2786a6['rootName'],_0x395c00['render']();const _0x26730d=_0x4a1b0a['element'];this['setEditableElement'](_0x4a1b0a['name'],_0x26730d),_0x395c00['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x7d0369['attachDomRoot'](_0x26730d),this['_elementReplacer']['replace'](_0xb68e0c,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x2b2434=this['view'],_0x10d09=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x10d09['detachDomRoot'](_0x2b2434['editable']['name']),_0x2b2434['destroy']();}['_initToolbar'](){const _0x5eca12=this['view'];_0x5eca12['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x5eca12['stickyPanel']['limiterElement']=_0x5eca12['element'],_0x5eca12['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x47a6ea})=>_0x47a6ea),_0x5eca12['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x5eca12['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x3a2bed,_0x314eea,_0x5be5b6={}){super(_0x3a2bed),this['stickyPanel']=new lt(_0x3a2bed),this['toolbar']=new pt(_0x3a2bed,{'shouldGroupWhenFull':_0x5be5b6['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x3a2bed,_0x314eea);}['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(_0x246669,_0x2ac39d){super(_0x2ac39d),this['sourceElement']=_0x246669,this['model']['document']['createRoot']();const _0x2df544=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x2df544);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x57d74b,_0x1f4bd5){const _0x51fb79=new this(_0x57d74b,_0x1f4bd5);return await _0x51fb79['initPlugins'](),await _0x51fb79['ui']['init'](_0x57d74b),await _0x51fb79['data']['init'](_0x51fb79['config']['get']('initialData')||''),_0x51fb79['fire']('ready'),_0x51fb79;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x47193e{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x15550c){super(_0x15550c),this['result']='end';}}class H extends _0x47193e{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x46cc3a){if(super(_0x46cc3a),!this['editor']['config']['get']('revisionHistory'))throw new _0x247002('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0xa73aee=>this['_showRevisionViewer']({..._0xa73aee,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x34dbf6=>this['_closeRevisionViewer'](_0x34dbf6)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x2db508=>this['_restoreRevision'](_0x2db508)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x358e91){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x358e91;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x5cec93){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x5cec93);}['getRevision'](_0xb3c85d){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0xb3c85d);}['getRevisions'](_0x208d7b){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x208d7b||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x136b47=this['editor'],_0x550273=_0x43dd50(_0x136b47,p),_0x9a3fc5=_0x136b47['plugins']['get']('RevisionTracker'),_0x18d962=_0x136b47['plugins']['get']('Users')['users'];return _0x550273['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x550273['lazyRoots'],(_0x550273['plugins']['push'](k,d,R,class extends _0x47193e{static get['requires'](){return[d,'Users'];}['init'](){const _0x4f7f5b=this['editor']['plugins']['get']('Users');for(const _0x145590 of _0x18d962)_0x145590['isAnonymous']||_0x4f7f5b['getUser'](_0x145590['id'])||_0x4f7f5b['addUser'](_0x145590);const _0x180c63=_0x9a3fc5['repository']['getRevisions']();let _0x2a0085=null;const _0xca5332=this['editor']['plugins']['get']('RevisionViewer');_0xca5332['adapter']=_0x9a3fc5['adapter'],_0xca5332['bind']('isEnabled')['to'](_0x9a3fc5),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x136b47,'isReadOnly',_0x178f12=>!_0x178f12);for(const _0x3a4ec2 of _0x180c63){const _0x3757a9=null===_0x3a4ec2['creator'];if(_0x3757a9&&_0x3a4ec2['toVersion']===_0x3a4ec2['fromVersion'])continue;const _0x73d431=_0x3a4ec2['toJSON']();_0xca5332['addRevisionData'](_0x73d431,(_0x27c429,_0x1cacbe,_0x1f1601)=>{if(_0x3757a9){if(_0x2a0085)_0x2a0085['_update'](_0x27c429,_0x1cacbe);else{if(!_0x1cacbe){const _0x10dbb0=_0x1f1601['toJSON']();_0x10dbb0['id']=_0x50a52d(),_0x9a3fc5['saveRevision'](_0x10dbb0,_0x1f1601['toVersion'])['then'](_0x1875d0=>{_0x2a0085=_0x1875d0;});}}}else _0x3a4ec2['_update'](_0x27c429,_0x1cacbe);});}}},w),_0x550273);}['_enhanceShowRevisionViewerCallback'](){const _0x1bc53c=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0xa420f0=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x5021ba=this['editor']['plugins']['get']('Autosave');await _0x5021ba['save']();}else await _0xa420f0['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x232302=this['editor']['plugins']['get']('Dialog');_0x232302['isOpen']&&_0x232302['hide']();}const _0x5c4e71=this['_getRevisionViewerEditorConfig']();return _0x1bc53c(_0x5c4e71)['then'](_0x4fe66a=>{return(this['_viewerEditor']=_0x4fe66a,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x4fe66a;})['catch'](_0x1cf51b=>(console['error'](_0x1cf51b),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x5c0993=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'](),_0x5c0993(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x22cdb5=this['editor']['plugins']['get']('Annotations');_0x22cdb5['refreshVisibility'](),_0x22cdb5['refreshPositioning']();}})));}['_showRevisionViewer'](_0x2e6c61){const _0x1b1100=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x52e419=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x4aaea1=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x4aaea1,_0x2e6c61)['then'](_0x35f3ce=>(_0x52e419['style']['display']='block',_0x1b1100['style']['display']='none',_0x35f3ce));}['_closeRevisionViewer'](_0x30baf3){const _0x3f8c02=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x3f8c02['style']['display']='',_0x30baf3['destroy']();}async['_restoreRevision'](_0x4320ea){const _0xc103ba=this['editor'],_0x1bd7a3=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x5449c7=_0xc103ba['plugins']['get']('RevisionTracker'),_0x8073be=_0x1bd7a3['repository']['getRevision'](_0x4320ea);let _0x555ebf,_0x19616d,_0x4a44e7;try{_0x555ebf=await _0x1bd7a3['getRevisionData'](_0x8073be),_0x19616d=await _0x1bd7a3['getRevisionRootsAttributes'](_0x8073be);}catch(_0x21610a){return void console['error'](_0x21610a);}_0xc103ba['model']['change'](_0x3cdefb=>{for(const _0x490ed6 of Array['from'](_0xc103ba['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x3cdefb['removeMarker'](_0x490ed6);}),_0x1bd7a3['isReady']=!0x1,_0xc103ba['model']['enqueueChange'](_0x2b3340=>{_0x2b3340['setSelection'](null),_0x2b3340['removeSelectionAttribute'](_0xc103ba['model']['document']['selection']['getAttributeKeys']());const _0xea40ec=Object['keys'](_0x555ebf);for(const _0x5eb3c9 of _0xc103ba['model']['document']['roots'])'$graveyard'!=_0x5eb3c9['rootName']&&_0x5eb3c9['isAttached']()&&!_0xea40ec['includes'](_0x5eb3c9['rootName'])&&_0x2b3340['detachRoot'](_0x5eb3c9);for(const _0x259789 of _0xea40ec){let _0x31971f=_0xc103ba['model']['document']['getRoot'](_0x259789);_0x31971f&&_0x31971f['isAttached']()||(_0x31971f=_0x2b3340['addRoot'](_0x259789));const _0x3f62e0=_0x19616d[_0x259789],_0x3b6a28=Object['keys'](_0x3f62e0),_0x32f481=_0x555ebf[_0x259789];for(const _0x1871c3 of _0x31971f['getAttributeKeys']())_0x3b6a28['includes'](_0x1871c3)||_0x2b3340['removeAttribute'](_0x1871c3,_0x31971f);for(const _0x79cbd4 of _0x3b6a28)_0x2b3340['setAttribute'](_0x79cbd4,_0x19616d[_0x259789][_0x79cbd4],_0x31971f);_0x2b3340['remove'](_0x2b3340['createRangeIn'](_0x31971f)),_0x2b3340['insert'](_0xc103ba['data']['parse'](_0x32f481,_0x31971f),_0x31971f,0x0);}});const _0x4af8d4=y(_0xc103ba['locale'],'Restored');if(_0x8073be['name'])_0x4a44e7=-0x1==_0x8073be['name']['indexOf'](_0x4af8d4)?_0x4af8d4+':\x20'+_0x8073be['name']:_0x8073be['name'];else _0x4a44e7=_0x4af8d4+':\x20'+(_0x8073be['createdAt']['toLocaleDateString'](_0xc103ba['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x8073be['createdAt']['toLocaleTimeString'](_0xc103ba['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x5449c7['saveRevision']({'name':_0x4a44e7}),_0x1bd7a3['isReady']=!0x0,_0xc103ba['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};