@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240716.0 → 0.0.0-nightly-20240717.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/build/revision-history.js +1 -1
  3. package/dist/index.js +6 -6
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/az.js +1 -1
  9. package/dist/translations/az.umd.js +1 -1
  10. package/dist/translations/bg.js +1 -1
  11. package/dist/translations/bg.umd.js +1 -1
  12. package/dist/translations/bn.js +1 -1
  13. package/dist/translations/bn.umd.js +1 -1
  14. package/dist/translations/bs.js +1 -1
  15. package/dist/translations/bs.umd.js +1 -1
  16. package/dist/translations/ca.js +1 -1
  17. package/dist/translations/ca.umd.js +1 -1
  18. package/dist/translations/cs.js +1 -1
  19. package/dist/translations/cs.umd.js +1 -1
  20. package/dist/translations/da.js +1 -1
  21. package/dist/translations/da.umd.js +1 -1
  22. package/dist/translations/de-ch.js +1 -1
  23. package/dist/translations/de-ch.umd.js +1 -1
  24. package/dist/translations/de.js +1 -1
  25. package/dist/translations/de.umd.js +1 -1
  26. package/dist/translations/el.js +1 -1
  27. package/dist/translations/el.umd.js +1 -1
  28. package/dist/translations/en-au.js +1 -1
  29. package/dist/translations/en-au.umd.js +1 -1
  30. package/dist/translations/en-gb.js +1 -1
  31. package/dist/translations/en-gb.umd.js +1 -1
  32. package/dist/translations/en.umd.js +1 -1
  33. package/dist/translations/es-co.js +1 -1
  34. package/dist/translations/es-co.umd.js +1 -1
  35. package/dist/translations/es.js +1 -1
  36. package/dist/translations/es.umd.js +1 -1
  37. package/dist/translations/et.js +1 -1
  38. package/dist/translations/et.umd.js +1 -1
  39. package/dist/translations/fa.js +1 -1
  40. package/dist/translations/fa.umd.js +1 -1
  41. package/dist/translations/fi.js +1 -1
  42. package/dist/translations/fi.umd.js +1 -1
  43. package/dist/translations/fr.js +1 -1
  44. package/dist/translations/fr.umd.js +1 -1
  45. package/dist/translations/gl.js +1 -1
  46. package/dist/translations/gl.umd.js +1 -1
  47. package/dist/translations/he.js +1 -1
  48. package/dist/translations/he.umd.js +1 -1
  49. package/dist/translations/hi.js +1 -1
  50. package/dist/translations/hi.umd.js +1 -1
  51. package/dist/translations/hr.js +1 -1
  52. package/dist/translations/hr.umd.js +1 -1
  53. package/dist/translations/hu.js +1 -1
  54. package/dist/translations/hu.umd.js +1 -1
  55. package/dist/translations/id.js +1 -1
  56. package/dist/translations/id.umd.js +1 -1
  57. package/dist/translations/it.js +1 -1
  58. package/dist/translations/it.umd.js +1 -1
  59. package/dist/translations/ja.js +1 -1
  60. package/dist/translations/ja.umd.js +1 -1
  61. package/dist/translations/jv.js +1 -1
  62. package/dist/translations/jv.umd.js +1 -1
  63. package/dist/translations/ko.js +1 -1
  64. package/dist/translations/ko.umd.js +1 -1
  65. package/dist/translations/ku.js +1 -1
  66. package/dist/translations/ku.umd.js +1 -1
  67. package/dist/translations/lt.js +1 -1
  68. package/dist/translations/lt.umd.js +1 -1
  69. package/dist/translations/lv.js +1 -1
  70. package/dist/translations/lv.umd.js +1 -1
  71. package/dist/translations/ms.js +1 -1
  72. package/dist/translations/ms.umd.js +1 -1
  73. package/dist/translations/ne.js +1 -1
  74. package/dist/translations/ne.umd.js +1 -1
  75. package/dist/translations/nl.js +1 -1
  76. package/dist/translations/nl.umd.js +1 -1
  77. package/dist/translations/no.js +1 -1
  78. package/dist/translations/no.umd.js +1 -1
  79. package/dist/translations/pl.js +1 -1
  80. package/dist/translations/pl.umd.js +1 -1
  81. package/dist/translations/pt-br.js +1 -1
  82. package/dist/translations/pt-br.umd.js +1 -1
  83. package/dist/translations/pt.js +1 -1
  84. package/dist/translations/pt.umd.js +1 -1
  85. package/dist/translations/ro.js +1 -1
  86. package/dist/translations/ro.umd.js +1 -1
  87. package/dist/translations/ru.js +1 -1
  88. package/dist/translations/ru.umd.js +1 -1
  89. package/dist/translations/sk.js +1 -1
  90. package/dist/translations/sk.umd.js +1 -1
  91. package/dist/translations/sr-latn.js +1 -1
  92. package/dist/translations/sr-latn.umd.js +1 -1
  93. package/dist/translations/sr.js +1 -1
  94. package/dist/translations/sr.umd.js +1 -1
  95. package/dist/translations/sv.js +1 -1
  96. package/dist/translations/sv.umd.js +1 -1
  97. package/dist/translations/th.js +1 -1
  98. package/dist/translations/th.umd.js +1 -1
  99. package/dist/translations/ti.js +1 -1
  100. package/dist/translations/ti.umd.js +1 -1
  101. package/dist/translations/tk.js +1 -1
  102. package/dist/translations/tk.umd.js +1 -1
  103. package/dist/translations/tr.js +1 -1
  104. package/dist/translations/tr.umd.js +1 -1
  105. package/dist/translations/tt.js +1 -1
  106. package/dist/translations/tt.umd.js +1 -1
  107. package/dist/translations/ug.js +1 -1
  108. package/dist/translations/ug.umd.js +1 -1
  109. package/dist/translations/uk.js +1 -1
  110. package/dist/translations/uk.umd.js +1 -1
  111. package/dist/translations/ur.js +1 -1
  112. package/dist/translations/ur.umd.js +1 -1
  113. package/dist/translations/vi.js +1 -1
  114. package/dist/translations/vi.umd.js +1 -1
  115. package/dist/translations/zh-cn.js +1 -1
  116. package/dist/translations/zh-cn.umd.js +1 -1
  117. package/dist/translations/zh.js +1 -1
  118. package/dist/translations/zh.umd.js +1 -1
  119. package/package.json +5 -5
  120. package/src/changeitem.js +2 -2
  121. package/src/editor/revisionviewereditor.js +2 -2
  122. package/src/editor/revisionviewereditorui.js +1 -1
  123. package/src/editor/revisionviewereditoruiview.js +1 -1
  124. package/src/index.js +1 -1
  125. package/src/revision.js +2 -2
  126. package/src/revisiondiff.js +1 -1
  127. package/src/revisionhistory.js +1 -1
  128. package/src/revisionsrepository.js +1 -1
  129. package/src/revisiontracker.js +1 -1
  130. package/src/revisionviewer.js +1 -1
  131. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  132. package/src/ui/revision/revisionauthorview.js +1 -1
  133. package/src/ui/revision/revisionnameview.js +1 -1
  134. package/src/ui/revision/revisionview.js +2 -2
  135. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  136. package/src/ui/revision/subrevisionview.js +1 -1
  137. package/src/ui/revision/utils.js +1 -1
  138. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  139. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  140. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  141. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  142. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  143. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  144. package/src/ui/revisionssidebar/utils.js +1 -1
  145. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  146. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  147. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  148. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  149. 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 _0x441918,Context as _0x237796,PendingActions as _0x280437,icons as _0x52b183,Command as _0x5a27bb,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x388793,uid as _0xa36f38,Collection as _0x2c2b4d,logWarning as _0x5c1e56,FocusTracker as _0x41e2b8,KeystrokeHandler as _0x3a58d5,scrollViewportToShowTarget as _0x5c09ab,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x271cef}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x6f54b8,getMarkerDomElement as _0x42305e,ConfirmMixin as _0x3d482e,sanitizeEditorConfig as _0x5523d5}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x44957f,ViewText as _0x3969d6,ViewElement as _0x9d360e,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x51c644,ViewAttributeElement as _0x167e88,ViewEmptyElement as _0x1308a0,ViewRawElement as _0x4fa2e4,ViewUIElement as _0x1650ab,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x9cc40f,set as _0x41120a,unset as _0x2a7086,isEqual as _0x410a3b}from'lodash-es';import{View as _0x36d658,injectCssTransitionDisabler as ts,submitHandler as _0x9439ab,LabeledFieldView as at,createLabeledInputText as _0x21e52f,createDropdown as _0xa4d4ca,ListView as te,ListItemView as _0x52e3a5,ButtonView as _0xf92697,MenuBarMenuView as _0x27458b,MenuBarMenuListView as _0x410a5b,MenuBarMenuListItemView as _0x5386d8,MenuBarMenuListItemButtonView as _0x2b7b3b,ContextualBalloon as _0x55f711,ToolbarSeparatorView as _0x39e1aa,IconView as _0x395cee,addListToDropdown as _0xea0560,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 _0x76cc64}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x388793(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x765a4a){super(),this['id']=_0x765a4a['id']||_0xa36f38(),this['creator']=_0x765a4a['creator']||null,this['authors']=_0x765a4a['authors']||[],this['diffData']=_0x765a4a['diffData']||null,this['toVersion']=_0x765a4a['toVersion']||0x0,this['fromVersion']=_0x765a4a['fromVersion']||0x0,this['set']('name',_0x765a4a['name']||''),this['set']('createdAt',_0x765a4a['createdAt']||new Date()),this['set']('attributes',_0x765a4a['attributes']||{});}['setName'](_0x4c330f){this['_update']({'name':_0x4c330f});}['setAttribute'](_0x4aaf21,_0x5234b3){const _0x1a633c=_0x9cc40f(this['attributes']);_0x41120a(_0x1a633c,_0x4aaf21,_0x5234b3),this['_update']({'attributes':_0x1a633c});}['removeAttribute'](_0x47cef3){const _0x375d92=_0x9cc40f(this['attributes']);_0x2a7086(_0x375d92,_0x47cef3),this['_update']({'attributes':_0x375d92});}['_update'](_0x49a9cb,_0x4ff55a=!0x1){let _0x46b044=!0x1;const _0x1b9a06={'id':this['id']},_0x14ef9e=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x195f60 of _0x14ef9e){const _0x3346de=_0x49a9cb[_0x195f60];void 0x0!==_0x3346de&&_0x3346de!==this[_0x195f60]&&(this[_0x195f60]=_0x3346de,_0x1b9a06[_0x195f60]=_0x3346de,_0x46b044=!0x0);}_0x46b044&&(_0x1b9a06['authors']&&(_0x1b9a06['authorsIds']=_0x1b9a06['authors']['map'](_0xd9322b=>_0xd9322b['id']),delete _0x1b9a06['authors']),this['fire']('_update',_0x1b9a06,_0x4ff55a));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x1fb41f=>_0x1fb41f['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x441918{['_revisions'];static get['requires'](){return[_0x6f54b8];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x36b17c){super(_0x36b17c),this['_revisions']=new _0x2c2b4d();}['afterInit'](){!function(_0x43ec56){function _0x55988b(_0x170fd0,_0x1f72d2,_0x472d41){const _0x43e2c0={};_0x43e2c0[_0x5587f9([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x43e2c0[_0x5587f9([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],_0x43e2c0[_0x5587f9([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],_0x43e2c0[_0x5587f9([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],_0x43e2c0[_0x5587f9([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],_0x43e2c0[_0x5587f9([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],_0x43e2c0[_0x5587f9([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],_0x43e2c0[_0x5587f9([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],_0x43e2c0[_0x5587f9([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],_0x43e2c0[_0x5587f9([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],_0x43e2c0[_0x5587f9([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 _0x51d688=new Uint8Array(0x10);for(let _0x3c1996=0xf;_0x3c1996>=0x0;--_0x3c1996)_0x51d688[_0x3c1996]=_0x472d41%0x100,_0x472d41=parseInt(_0x472d41/0x100);let _0x4274d=null,_0x22a342=0x10;const _0xf76778=new Uint8Array(_0x1f72d2),_0xab4552=[],_0x10dce7=[];_0x5bd176();for(let _0x301226=0x0;_0x301226<_0x170fd0[_0x5587f9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x301226++)0x10===_0x22a342&&(_0x4274d=_0x1a09a7(_0x51d688),_0x22a342=0x0,_0x596396(_0x51d688)),_0x170fd0[_0x301226]^=_0x4274d[_0x22a342++];return _0x170fd0;function _0x15fa82(_0x1bc4f6){const _0x4656f6=[];for(let _0x2ff717=0x0;_0x2ff717<_0x1bc4f6[_0x5587f9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ff717+=0x4)_0x4656f6[_0x5587f9([0x70,0x75,0x73,0x68])](_0x1bc4f6[_0x2ff717]<<0x18|_0x1bc4f6[_0x2ff717+0x1]<<0x10|_0x1bc4f6[_0x2ff717+0x2]<<0x8|_0x1bc4f6[_0x2ff717+0x3]);return _0x4656f6;}function _0x596396(_0x356303){for(let _0x4574a0=0xf;_0x4574a0>=0x0;_0x4574a0--){if(0xff!==_0x356303[_0x4574a0]){_0x356303[_0x4574a0]++;break;}_0x356303[_0x4574a0]=0x0;}}function _0x1a09a7(_0x26904b){const _0x3a29ce=_0xab4552[_0x5587f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x21eb44=[0x0,0x0,0x0,0x0];let t=_0x15fa82(_0x26904b);for(let _0x107ed3=0x0;_0x107ed3<0x4;_0x107ed3++)t[_0x107ed3]^=_0xab4552[0x0][_0x107ed3];for(let _0x4399c0=0x1;_0x4399c0<_0x3a29ce;_0x4399c0++){for(let _0xcc036e=0x0;_0xcc036e<0x4;_0xcc036e++)_0x21eb44[_0xcc036e]=_0x43e2c0[_0x5587f9([0x54,0x31])][t[_0xcc036e]>>0x18&0xff]^_0x43e2c0[_0x5587f9([0x54,0x32])][t[(_0xcc036e+0x1)%0x4]>>0x10&0xff]^_0x43e2c0[_0x5587f9([0x54,0x33])][t[(_0xcc036e+0x2)%0x4]>>0x8&0xff]^_0x43e2c0[_0x5587f9([0x54,0x34])][0xff&t[(_0xcc036e+0x3)%0x4]]^_0xab4552[_0x4399c0][_0xcc036e];t=_0x21eb44[_0x5587f9([0x73,0x6c,0x69,0x63,0x65])]();}const _0x1de732=new Uint8Array(0x10);let _0xb2179e;for(let _0x320694=0x0;_0x320694<0x4;_0x320694++)_0xb2179e=_0xab4552[_0x3a29ce][_0x320694],_0x1de732[0x4*_0x320694]=0xff&(_0x43e2c0[_0x5587f9([0x53])][t[_0x320694]>>0x18&0xff]^_0xb2179e>>0x18),_0x1de732[0x4*_0x320694+0x1]=0xff&(_0x43e2c0[_0x5587f9([0x53])][t[(_0x320694+0x1)%0x4]>>0x10&0xff]^_0xb2179e>>0x10),_0x1de732[0x4*_0x320694+0x2]=0xff&(_0x43e2c0[_0x5587f9([0x53])][t[(_0x320694+0x2)%0x4]>>0x8&0xff]^_0xb2179e>>0x8),_0x1de732[0x4*_0x320694+0x3]=0xff&(_0x43e2c0[_0x5587f9([0x53])][0xff&t[(_0x320694+0x3)%0x4]]^_0xb2179e);return _0x1de732;}function _0x5bd176(){const _0x259d45=_0x43e2c0[_0x5587f9([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0xf76778[_0x5587f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x5a8c15=0x0;_0x5a8c15<=_0x259d45;_0x5a8c15++)_0xab4552[_0x5587f9([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x10dce7[_0x5587f9([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x147f16=0x4*(_0x259d45+0x1),_0x15eaf4=_0xf76778[_0x5587f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x4520d1=_0x15fa82(_0xf76778);let _0x3964b5;for(let _0x503e73=0x0;_0x503e73<_0x15eaf4;_0x503e73++)_0x3964b5=_0x503e73>>0x2,_0xab4552[_0x3964b5][_0x503e73%0x4]=_0x4520d1[_0x503e73],_0x10dce7[_0x259d45-_0x3964b5][_0x503e73%0x4]=_0x4520d1[_0x503e73];let _0x59e127,_0x4b3a53=0x0,t=_0x15eaf4;for(;t<_0x147f16;){_0x59e127=_0x4520d1[_0x15eaf4-0x1],_0x4520d1[0x0]^=_0x43e2c0[_0x5587f9([0x53])][_0x59e127>>0x10&0xff]<<0x18^_0x43e2c0[_0x5587f9([0x53])][_0x59e127>>0x8&0xff]<<0x10^_0x43e2c0[_0x5587f9([0x53])][0xff&_0x59e127]<<0x8^_0x43e2c0[_0x5587f9([0x53])][_0x59e127>>0x18&0xff]^_0x43e2c0[_0x5587f9([0x72,0x63,0x6f,0x6e])][_0x4b3a53]<<0x18,_0x4b3a53+=0x1;for(let _0x2a4566=0x1;_0x2a4566<_0x15eaf4/0x2;_0x2a4566++)_0x4520d1[_0x2a4566]^=_0x4520d1[_0x2a4566-0x1];_0x59e127=_0x4520d1[_0x15eaf4/0x2-0x1],_0x4520d1[_0x15eaf4/0x2]^=_0x43e2c0[_0x5587f9([0x53])][0xff&_0x59e127]^_0x43e2c0[_0x5587f9([0x53])][_0x59e127>>0x8&0xff]<<0x8^_0x43e2c0[_0x5587f9([0x53])][_0x59e127>>0x10&0xff]<<0x10^_0x43e2c0[_0x5587f9([0x53])][_0x59e127>>0x18&0xff]<<0x18;for(let _0x15d990=_0x15eaf4/0x2+0x1;_0x15d990<_0x15eaf4;_0x15d990++)_0x4520d1[_0x15d990]^=_0x4520d1[_0x15d990-0x1];let _0x3300db,_0x1a7545,_0x21f937=0x0;for(;_0x21f937<_0x15eaf4&&t<_0x147f16;)_0x3300db=t>>0x2,_0x1a7545=t%0x4,_0xab4552[_0x3300db][_0x1a7545]=_0x4520d1[_0x21f937],_0x10dce7[_0x259d45-_0x3300db][_0x1a7545]=_0x4520d1[_0x21f937++],t++;}for(let _0x1e0ec8=0x1;_0x1e0ec8<_0x259d45;_0x1e0ec8++)for(let _0x26858e=0x0;_0x26858e<0x4;_0x26858e++)_0x59e127=_0x10dce7[_0x1e0ec8][_0x26858e],_0x10dce7[_0x1e0ec8][_0x26858e]=_0x43e2c0[_0x5587f9([0x55,0x31])][_0x59e127>>0x18&0xff]^_0x43e2c0[_0x5587f9([0x55,0x32])][_0x59e127>>0x10&0xff]^_0x43e2c0[_0x5587f9([0x55,0x33])][_0x59e127>>0x8&0xff]^_0x43e2c0[_0x5587f9([0x55,0x34])][0xff&_0x59e127];}}function _0x5587f9(_0x54a537){return _0x54a537['map'](_0x52f9e7=>String['fromCharCode'](_0x52f9e7))['join']('');}(_0x426d01=>{function _0xa46ed7(){const _0x5c656f=[{[_0x5587f9([0x69,0x64])]:0x1,[_0x5587f9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5587f9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x5587f9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5587f9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5587f9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5587f9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5587f9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x5587f9([0x69,0x64])]:0x2,[_0x5587f9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5587f9([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x5587f9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5587f9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5587f9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5587f9([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]),[_0x5587f9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5587f9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5587f9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5587f9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x5587f9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5587f9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5587f9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5587f9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5587f9([0x69,0x64])]:0x3,[_0x5587f9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5587f9([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x5587f9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5587f9([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5587f9([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5587f9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5587f9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5587f9([0x69,0x64])]:0x4,[_0x5587f9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5587f9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x5587f9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5587f9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5587f9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5587f9([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]),[_0x5587f9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5587f9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5587f9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5587f9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5587f9([0x69,0x64])]:0x5,[_0x5587f9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5587f9([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x5587f9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5587f9([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5587f9([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]),[_0x5587f9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5587f9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5587f9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5587f9([0x66,0x67,0x69])]:[0xc]}},{[_0x5587f9([0x69,0x64])]:0x6,[_0x5587f9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5587f9([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x5587f9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5587f9([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5587f9([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5587f9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5587f9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5587f9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5587f9([0x66,0x67,0x69])]:[0xc]}},{[_0x5587f9([0x69,0x64])]:0x7,[_0x5587f9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5587f9([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x5587f9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5587f9([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5587f9([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5587f9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5587f9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5587f9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5587f9([0x66,0x67,0x69])]:[0xc]}},{[_0x5587f9([0x69,0x64])]:0x8,[_0x5587f9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5587f9([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x5587f9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5587f9([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5587f9([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]),[_0x5587f9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5587f9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5587f9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5587f9([0x66,0x67,0x69])]:[0xc]}},{[_0x5587f9([0x69,0x64])]:0x9,[_0x5587f9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5587f9([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x5587f9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5587f9([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5587f9([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5587f9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5587f9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5587f9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5587f9([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x5587f9([0x69,0x64])]:0xa,[_0x5587f9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5587f9([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]),[_0x5587f9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5587f9([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]),[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5587f9([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]),[_0x5587f9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5587f9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5587f9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5587f9([0x66,0x67,0x69])]:[0xc]}},{[_0x5587f9([0x69,0x64])]:0xb,[_0x5587f9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5587f9([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x5587f9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5587f9([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5587f9([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5587f9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5587f9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5587f9([0x69,0x64])]:0xc,[_0x5587f9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5587f9([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x5587f9([0x69,0x64])]:0xd,[_0x5587f9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5587f9([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x5587f9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5587f9([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5587f9([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5587f9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5587f9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5587f9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5587f9([0x66,0x67,0x69])]:[0xc]}},{[_0x5587f9([0x69,0x64])]:0xe,[_0x5587f9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5587f9([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x5587f9([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5587f9([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])},{[_0x5587f9([0x69,0x64])]:0xf,[_0x5587f9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5587f9([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x5587f9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5587f9([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5587f9([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5587f9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5587f9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5587f9([0x69,0x64])]:0x10,[_0x5587f9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5587f9([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x5587f9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5587f9([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5587f9([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5587f9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5587f9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5587f9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5587f9([0x66,0x67,0x69])]:[0xc]}}];return _0x2fd5cc(_0x5c656f),_0x5c656f;function _0x37beef(_0x1eab6e){return 0x1<<_0x1eab6e-0x1;}function _0x2fd5cc(_0x4d581d){_0x4d581d[_0x5587f9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x17e900=>{_0x17e900[_0x5587f9([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x37beef(_0x17e900[_0x5587f9([0x69,0x64])]),_0x481328(_0x17e900)&&_0x17e900[_0x5587f9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x2fd5cc(_0x17e900[_0x5587f9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x481328(_0x27513a){return _0x5587f9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x27513a;}const _0x3c8c0e=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x4f63fe=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x59f1fe(_0x460a36){const _0x165012=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x3d4a88(_0x460a36,new Uint8Array([..._0x3c8c0e,..._0x165012,..._0x4f63fe]));}function _0x3d4a88(_0xd0241b,_0x4adb33){const _0xe1a59f=_0x4c5962(_0xd0241b),_0x119201=Array[_0x5587f9([0x66,0x72,0x6f,0x6d])](_0x8e93f6(_0xe1a59f)),_0x2a6248=_0x119201[_0x5587f9([0x70,0x6f,0x70])](),_0x47412b=_0x119201[_0x5587f9([0x70,0x6f,0x70])]();return _0x5eb29d(_0x55988b(_0x119201,_0x4adb33,_0x47412b+0x100*_0x2a6248));}function _0x4c5962(_0x1eeb53){const _0x570c03=atob(_0x1eeb53),[_0x4b8573,_0x45d7ed]=_0x570c03[_0x5587f9([0x73,0x70,0x6c,0x69,0x74])](_0x5587f9([0x2d]));try{if(atob(_0x45d7ed))return atob(_0x4b8573);}catch(_0x2d6652){}return _0x570c03;}function _0x56fd67(_0x305b5d){try{const _0x2464c6=_0x59f1fe(_0x305b5d),_0x448269=JSON[_0x5587f9([0x70,0x61,0x72,0x73,0x65])](_0x2464c6),_0x306e6b=parseInt(_0x448269[_0x5587f9([0x31])]),_0x221164=_0x448269[_0x5587f9([0x32])]||'',_0x147ad5=parseInt(_0x448269[_0x5587f9([0x33])]),_0x2c8351=parseInt(_0x448269[_0x5587f9([0x34])])||0x0,_0xfcc63b=parseInt(_0x448269[_0x5587f9([0x35])])||0x0;return{[_0x5587f9([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x221164,[_0x5587f9([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x2c8351,[_0x5587f9([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x306e6b,[_0x5587f9([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x147ad5,[_0x5587f9([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0xfcc63b};}catch(_0x154ea5){return null;}}const _0x617524=_0xa46ed7(),_0x552a87={[_0x5587f9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0xcd43ee,[_0x5587f9([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])]:_0x185a1c,[_0x5587f9([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])]:_0x7efa98},_0x5cc63b=_0x426d01[_0x5587f9([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x5587f9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x590a02=_0x5587f9([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x426d01?_0x426d01['context']:_0x426d01['editor'],_0x3696ef=_0x5587f9([0x34,0x30,0x34,0x38,0x31,0x34,0x33,0x32]),_0x481ace=_0x5587f9([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]),_0x8c64a3=_0x590a02['config']['get'](_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x2788b2=_0x617524[_0x5587f9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x481328)[_0x5587f9([0x66,0x69,0x6e,0x64])](_0x1a1eb6=>_0x1a1eb6[_0x5587f9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x5cc63b);function _0x5c57bf(_0x2ef3ef,_0x49728a){_0x552a87[_0x49728a[_0x5587f9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x2ef3ef,_0x49728a),_0x49728a[_0x5587f9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x49728a[_0x5587f9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x5587f9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x149192=>_0x2cc97e(_0x590a02,_0x149192[_0x5587f9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x5587f9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3a02f1=>_0x5c57bf(_0x2ef3ef,_0x3a02f1));}function _0xcd43ee(_0x3a38ec,_0x491219){_0x3c1987(_0x111f73(_0x3a38ec,_0x491219),_0x491219);}function _0x185a1c(_0x58b9d6,_0x21e9e5){function _0x24be60(_0x1419ed,_0x2b133b){try{if(_0x2cc97e(_0x590a02,_0x5587f9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x1419ed){const _0x5f4754=_0x2fbfce(_0x590a02,_0x5587f9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x5587f9([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x5f4754)/0x2>_0x1419ed[_0x5587f9([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x4a6b90(_0x2b133b[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5587f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x111f73(_0x1419ed,_0x2b133b);}catch(_0x265169){return _0x4a6b90(_0x2b133b[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5587f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x3c1987(_0x24be60(_0x58b9d6,_0x21e9e5),_0x21e9e5);}function _0x7efa98(_0x279204,_0x1f8bb8){const _0x4a02cb=_0x4f63fe[0x0]*_0x3c8c0e[0x1],_0x48008d=_0x4f63fe[0x0]*_0x3c8c0e[0x2],_0x457abb=_0x4f63fe[0x2]*_0x3c8c0e[0x2];_0x2cc97e(_0x590a02,_0x5587f9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x2fbfce(_0x590a02,_0x5587f9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5587f9([0x73,0x74,0x61,0x74,0x65])]==_0x5587f9([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x3814df()]=_0x457abb);function _0x3cd439(_0x5e3101,_0x358045){try{return _0x2cff8b()?_0x4a6b90(_0x358045[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5587f9([0x56,0x61,0x6c,0x69,0x64])):_0x111f73(_0x5e3101,_0x358045);}catch(_0x397d9a){return _0x4a6b90(_0x358045[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5587f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x9e4533(_0x5d7a21,_0x1b2bb2){const _0x195050=0x7;if(_0x5d7a21==_0x1b2bb2[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5587f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x5194b6();else{if(_0x5d7a21==_0x1b2bb2[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5587f9([0x54,0x72,0x69,0x61,0x6c])){const _0x5da8d8=_0x2353fd();_0x5da8d8&&_0x5e1f9d(_0x5da8d8,_0x1b2bb2[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x497f6c=_0x14d7dd();window[_0x5587f9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x5e1f9d(_0x5587f9([0x74,0x69,0x6d,0x65]),_0x1b2bb2[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x497f6c);const _0x4ba72c=_0x2fbfce(_0x590a02,_0x5587f9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5587f9([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x4ba72c[_0x5587f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x195050?_0x5e1f9d(_0x5587f9([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1b2bb2[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x4ba72c['on'](_0x5587f9([0x61,0x64,0x64]),()=>{_0x4ba72c[_0x5587f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x195050&&_0x5e1f9d(_0x5587f9([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1b2bb2[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x2353fd(){if(!_0x2cc97e(_0x590a02,_0x5587f9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x54b0de in window)if(Number['isNaN'](Number(_0x54b0de))){if(window[_0x54b0de]===_0x4a02cb)return _0x5587f9([0x74,0x69,0x6d,0x65]);if(window[_0x54b0de]===_0x48008d)return _0x5587f9([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x2cff8b(){if(!_0x2cc97e(_0x590a02,_0x5587f9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x2691ec in window)if(Number['isNaN'](Number(_0x2691ec))&&window[_0x2691ec]===_0x457abb)return!0x0;return!0x1;}function _0x5e1f9d(_0x18036b,_0x2c71bd){_0x5194b6(),_0x4a6b90(_0x2c71bd+_0x5587f9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x18036b),window[_0x3814df()]=_0x18036b===_0x5587f9([0x74,0x69,0x6d,0x65])?_0x4a02cb:_0x48008d;}function _0x14d7dd(){let _0x3f0335=_0x4f63fe[0x6]*_0x3c8c0e[0x8]*_0x3c8c0e[0x6];return _0x2cc97e(_0x590a02,_0x5587f9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3f0335/=0xa),_0x3f0335;}function _0x5194b6(){const _0x445618=_0x590a02;function _0x38c2b9(){_0x2cc97e(_0x445618,_0x5587f9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x2fbfce(_0x445618,_0x5587f9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5587f9([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5587f9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x2fbfce(_0x445618,_0x5587f9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5587f9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x2fbfce(_0x445618,_0x5587f9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5587f9([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x39efa0,_0x2fbfce(_0x445618,_0x5587f9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5587f9([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x39efa0,_0x445618[_0x5587f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x5587f9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x39efa0,_0x445618[_0x5587f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x5587f9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x39efa0,_0x445618[_0x5587f9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5587f9([0x6d,0x6f,0x64,0x65,0x6c]))),_0x2cc97e(_0x445618,_0x5587f9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x2fbfce(_0x445618,_0x5587f9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5587f9([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5587f9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x2fbfce(_0x445618,_0x5587f9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5587f9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x2fbfce(_0x445618,_0x5587f9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5587f9([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x39efa0,_0x2fbfce(_0x445618,_0x5587f9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5587f9([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x39efa0);}_0x445618[_0x5587f9([0x73,0x74,0x61,0x74,0x65])]==_0x5587f9([0x72,0x65,0x61,0x64,0x79])?_0x38c2b9():_0x445618[_0x5587f9([0x6f,0x6e,0x63,0x65])](_0x5587f9([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x2cc97e(_0x445618,_0x5587f9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x38c2b9(),_0x2cc97e(_0x445618,_0x5587f9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x437c1e=_0x2fbfce(_0x445618,_0x5587f9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x113210=_0x437c1e['getRevision'](0x0),_0x1d0acf=_0x437c1e['getEarlierVisibleRevision'](_0x113210[_0x5587f9([0x69,0x64])]);_0x2fbfce(_0x445618,_0x5587f9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5587f9([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x113210[_0x5587f9([0x69,0x64])],_0x1d0acf?_0x1d0acf[_0x5587f9([0x69,0x64])]:null,0x1)['then'](()=>_0x38c2b9());}});}_0x9e4533(_0x3cd439(_0x279204,_0x1f8bb8),_0x1f8bb8);}function _0x111f73(_0x3017be,_0x8d6059){try{return _0x20aef7(_0x8d6059)?_0x4a6b90(_0x8d6059[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5587f9([0x56,0x61,0x6c,0x69,0x64])):_0x3017be&&_0x3d0235(_0x3017be[_0x5587f9([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x8d6059)?_0x3017be[_0x5587f9([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x5587f9([0x6f,0x70,0x65,0x6e])][_0x5587f9([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x3696ef)/0x2>_0x3017be[_0x5587f9([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x4a6b90(_0x8d6059[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5587f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x3017be[_0x5587f9([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x4a6b90(_0x8d6059[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5587f9([0x54,0x72,0x69,0x61,0x6c])):_0x4a6b90(_0x8d6059[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5587f9([0x56,0x61,0x6c,0x69,0x64])):_0x4a6b90(_0x8d6059[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5587f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x8ad160){return _0x4a6b90(_0x8d6059[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5587f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x3c1987(_0x5336c0,_0xd08d1f){if(_0x590a02 instanceof _0x237796){const _0x57236c=_0x590a02;_0x5336c0==_0xd08d1f[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5587f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4b23f4(_0x57236c):_0x5336c0==_0xd08d1f[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5587f9([0x54,0x72,0x69,0x61,0x6c])&&window[_0x5587f9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4b23f4(_0x57236c),_0x4a6b90(_0xd08d1f[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5587f9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x4f63fe[0x6]*_0x3c8c0e[0x8]*_0x3c8c0e[0x6]),_0x57236c[_0x5587f9([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x5587f9([0x6f,0x6e])](_0x5587f9([0x61,0x64,0x64]),(_0x1cbbb9,_0x3a2c56)=>{_0x5336c0!=_0xd08d1f[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5587f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x5336c0!=_0xd08d1f[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5587f9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x5336c0!=_0xd08d1f[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5587f9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x4de0dc(_0x3a2c56);});}else{const _0x4bbd86=_0x590a02;_0x5336c0==_0xd08d1f[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5587f9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4de0dc(_0x4bbd86):_0x5336c0==_0xd08d1f[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5587f9([0x54,0x72,0x69,0x61,0x6c])&&_0x4bbd86[_0x5587f9([0x6f,0x6e])](_0x5587f9([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x4335ae=0x0;_0x4bbd86[_0x5587f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x5587f9([0x6f,0x6e])](_0x5587f9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xd5dc73,_0x4b11ba)=>{_0x4b11ba[0x0][_0x5587f9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4335ae++,0x1f8===_0x4335ae&&(_0x4de0dc(_0x4bbd86),_0x4a6b90(_0xd08d1f[_0x5587f9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5587f9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0xd5dc73[_0x5587f9([0x6f,0x66,0x66])]());},{'priority':_0x5587f9([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x4a6b90(_0x4817ef){const _0x3029e7=_0x3814df();return _0x590a02[_0x3029e7]=_0x4817ef,_0x4817ef;}function _0x3814df(){const _0x3c1217=String(window[_0x5587f9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5587f9([0x6e,0x6f,0x77])]())[_0x5587f9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5587f9([0x2e]),'');let _0x388926='';for(let _0x41045b=0x0;_0x41045b<_0x3c1217[_0x5587f9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41045b+=0x2){let _0x283544=parseInt(_0x3c1217[_0x5587f9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x41045b,_0x41045b+0x2));_0x283544>=_0x481ace[_0x5587f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x283544-=_0x481ace[_0x5587f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x388926+=_0x481ace[_0x283544];}return _0x388926;}function _0x4b23f4(_0x452387){for(const _0x4c6ee0 of _0x452387[_0x5587f9([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x4de0dc(_0x4c6ee0);_0x2fbfce(_0x452387,_0x5587f9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5587f9([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x2fbfce(_0x452387,_0x5587f9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5587f9([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x39efa0;}function _0x4de0dc(_0x1d4331){function _0x1a8615(){_0x1d4331[_0x5587f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x5587f9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x39efa0,_0x1d4331[_0x5587f9([0x6d,0x6f,0x64,0x65,0x6c])][_0x5587f9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x39efa0,_0x1d4331[_0x5587f9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5587f9([0x6d,0x6f,0x64,0x65,0x6c]));}_0x1d4331[_0x5587f9([0x73,0x74,0x61,0x74,0x65])]==_0x5587f9([0x72,0x65,0x61,0x64,0x79])?_0x1a8615():_0x1d4331[_0x5587f9([0x6f,0x6e,0x63,0x65])](_0x5587f9([0x72,0x65,0x61,0x64,0x79]),()=>_0x1a8615());}function _0x39efa0(){return null;}function _0x3d0235(_0xc13bd5,_0x3fa717){const _0x55de04=!!(_0xc13bd5&_0x3fa717[_0x5587f9([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x5a6e17=_0x3d13d6(_0xc13bd5,_0x3fa717);return _0x55de04||_0x5a6e17;}function _0x3d13d6(_0x233622,_0x2e8323){const _0x2a177e=(_0x2e8323[_0x5587f9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x5587f9([0x66,0x67,0x69])]||null;return!!_0x2a177e&&_0x617524[_0x5587f9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e0dee=>_0x2a177e[_0x5587f9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e0dee[_0x5587f9([0x69,0x64])]))[_0x5587f9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1092a2=>!_0xcb5d02(_0x1092a2))[_0x5587f9([0x73,0x6f,0x6d,0x65])](_0xd8fbc=>!!(_0x233622&_0xd8fbc[_0x5587f9([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0xcb5d02(_0x3afc76){const _0x384281={[_0x5587f9([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])]:_0x4cc40e};return!!_0x3afc76['forbiddenHandler']&&_0x384281[_0x3afc76['forbiddenHandler']]();}function _0x4cc40e(){return!window[_0x5587f9([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x2cc97e(_0x590a02,_0x5587f9([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x20aef7(_0x56d6b5){if(!_0x2cc97e(_0x590a02,_0x56d6b5[_0x5587f9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x4f4bee=_0x56d6b5[_0x5587f9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x3ab5da=_0x4f4bee[_0x5587f9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x2716eb=_0x4f4bee[_0x5587f9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x92bcd3=_0x4f4bee[_0x5587f9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x2cc97e(_0x590a02,_0x5587f9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x2fbfce(_0x590a02,_0x5587f9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5587f9([0x73,0x74,0x61,0x74,0x65])]==_0x5587f9([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x3ab5da)return!0x0;if(_0x2cc97e(_0x590a02,_0x5587f9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x2fbfce(_0x590a02,_0x5587f9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x5587f9([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x5587f9([0x65,0x6e,0x64])&&_0x2716eb)return!0x0;return!(!_0x2cc97e(_0x590a02,_0x5587f9([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]))||_0x2fbfce(_0x590a02,_0x5587f9([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]))[_0x5587f9([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x5587f9([0x65,0x6e,0x64])||!_0x92bcd3);}function _0x2cc97e(_0x47c66f,_0x5dd785){return _0x47c66f[_0x5587f9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5587f9([0x68,0x61,0x73])](_0x5dd785);}function _0x2fbfce(_0x5851f5,_0x4919be){return _0x5851f5[_0x5587f9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5587f9([0x67,0x65,0x74])](_0x4919be);}function _0x5eb29d(_0x3ad753){let _0xe146f2='';for(const _0x375465 of _0x3ad753)_0xe146f2+=String[_0x5587f9([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x375465);return _0xe146f2;}function _0x8e93f6(_0xec32e1){const _0x9754d1=new Uint8Array(_0xec32e1[_0x5587f9([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x1ff10e=0x0;_0x1ff10e<_0xec32e1[_0x5587f9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ff10e++)_0x9754d1[_0x1ff10e]=_0xec32e1[_0x5587f9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1ff10e);return _0x9754d1;}_0x2788b2&&_0x5c57bf(_0x56fd67(_0x8c64a3),_0x2788b2);})(_0x43ec56);}(this);}['createRevision'](_0x3f0fad){const _0x26f231=this['editor']['plugins']['get']('Users');return new a({'id':_0x3f0fad['id'],'name':_0x3f0fad['name'],'creator':_0x3f0fad['creatorId']?_0x26f231['getUser'](_0x3f0fad['creatorId']):null,'diffData':_0x3f0fad['diffData']||_0x3f0fad['data'],'authors':_0x3f0fad['authorsIds']['map'](_0x1c276b=>_0x26f231['getUser'](_0x1c276b)),'createdAt':new Date(_0x3f0fad['createdAt']),'attributes':_0x3f0fad['attributes'],'fromVersion':_0x3f0fad['fromVersion'],'toVersion':_0x3f0fad['toVersion']});}['addRevision'](_0x11bed3,_0xb0bdc8=0x0){this['_revisions']['add'](_0x11bed3,_0xb0bdc8);}['getRevision'](_0x260341){return this['_revisions']['get'](_0x260341);}['getRevisions'](_0x48c0f2={'toJSON':!0x1}){const _0x315751=Array['from'](this['_revisions']);return _0x315751['reverse'](),_0x48c0f2['toJSON']?_0x315751['map'](_0x10a3d9=>_0x10a3d9['toJSON']()):_0x315751;}['getIndex'](_0x504848){return this['_revisions']['getIndex'](_0x504848);}['getEarlierVisibleRevision'](_0x112feb){const [,_0x3366f9]=this['getRevisionsIterator'](_0x112feb,{'direction':'earlier'});return _0x3366f9;}['getLaterVisibleRevision'](_0x5f104b){const [,_0x84ac03]=this['getRevisionsIterator'](_0x5f104b,{'direction':'later'});return _0x84ac03;}['getRevisionsInDiff'](_0x3d8442){const _0x420b3b=[];for(const _0x3af201 of this['getRevisionsIterator'](_0x3d8442['newRevisionId']))if(_0x420b3b['push'](_0x3af201),_0x3af201['id']===_0x3d8442['oldRevisionId'])break;return _0x420b3b;}*['getRevisionsIterator'](_0x33b22b,{direction:_0xe2f642='earlier',filter:_0x569e83=_0x3cb36f=>!0x0}={}){const _0xfe5222='earlier'===_0xe2f642?0x1:-0x1;let _0x2f5bbe=this['_revisions']['get'](_0x33b22b),_0x1142a3=this['getIndex'](_0x2f5bbe);for(yield _0x2f5bbe;_0x2f5bbe;){if(_0x1142a3+=_0xfe5222,_0x2f5bbe=this['getRevision'](_0x1142a3),!_0x2f5bbe)return;_0x569e83(_0x2f5bbe)&&(yield _0x2f5bbe);}}}function y(_0x3046c6,_0x49a002,_0x185a9d){const t=_0x3046c6['t'];switch(_0x49a002){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'},_0x185a9d);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x185a9d);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':_0x51c644,'a':_0x167e88,'e':_0x1308a0,'r':_0x4fa2e4,'u':_0x1650ab};class l extends _0x441918{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x6f54b8,A,_0x280437];}constructor(_0x291785){super(_0x291785),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 _0x4b2826=_0xa36f38();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x4b2826},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 _0xcd1a9b=this['repository']['getRevision'](0x0),_0x1cf360=_0xcd1a9b&&null===_0xcd1a9b['creator']?_0xcd1a9b:null;if(this['_continueCurrentRevision']=!!_0x1cf360&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x13e4f8=this['_source']['getCurrentRevisionId'](),_0x16c0e4=this['repository']['getRevision'](_0x13e4f8);if(_0x16c0e4)this['_startingVersion']=_0x16c0e4['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x254cb7=this['_source']['history']['_operations']['find'](_0x1b7ed7=>!_0x1b7ed7['_isInit']),_0x2821c8=_0x254cb7?_0x254cb7['baseVersion']:this['_source']['history']['version'];_0xcd1a9b?(_0xcd1a9b['toVersion']<_0x2821c8&&_0xcd1a9b['_update']({'toVersion':_0x2821c8}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x1cf360['id'],this['_startingVersion']=_0x1cf360['fromVersion']):(this['_startingVersion']=_0xcd1a9b['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x2821c8,this['_continueCurrentRevision']=!0x1);}}else _0x1cf360&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x1cf360['toVersion'],this['editor']['model']['document']['history']['version']),_0x1cf360['fromVersion']===_0x1cf360['toVersion']?(0x0!==_0x1cf360['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x1cf360['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x1cf360['id'],this['_startingVersion']=_0x1cf360['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',_0x5d04c7=>!_0x5d04c7);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x2d4223=this['repository']['getRevision'](0x0),_0x4a3c0f=await this['getRevisionDocumentData'](_0x2d4223),_0x3f5653=await this['getRevisionRootsAttributes'](_0x2d4223);this['_replaceEditorDataWithRevisionData'](_0x4a3c0f,_0x3f5653);}}['setSource'](_0x14e462){this['_source']=_0x14e462;}async['update'](){const _0x39119e=await this['_source']['getLatestVersion']();if(_0x39119e>this['currentRevision']['toVersion']){await this['_loadState']();const _0x41ee8d=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x39119e});_0x41ee8d['authors']=_0x41ee8d['authorsIds']['map'](_0x304ff7=>this['editor']['plugins']['get']('Users')['getUser'](_0x304ff7)),this['currentRevision']['_update'](_0x41ee8d);}}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'](_0x33a6e7={},_0x2d9590=null){const _0x5af54b=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x2d9590>this['currentRevision']['toVersion']&&(_0x2d9590=null),null===_0x2d9590&&(_0x2d9590=await this['_source']['getLatestVersion']());const _0x183d4c=this['_getFromVersion'](_0x2d9590),_0x23bb9a=this['buildRevisionData']({'from':_0x183d4c,'to':_0x2d9590});if(this['currentRevision']['toVersion']<_0x2d9590){const _0x23f6e0=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x2d9590,'to':_0x2d9590});_0x23f6e0['authors']=[],_0x23f6e0['authorsIds']=[],_0x23f6e0['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x23f6e0,!0x0),delete _0x23f6e0['authors'],_0x5af54b['push'](_0x23f6e0);}_0x33a6e7['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x33a6e7['name']=_0x33a6e7['name']||null,_0x33a6e7['id']=_0x33a6e7['id']||_0xa36f38(),_0x33a6e7={..._0x33a6e7,..._0x23bb9a};const _0x12310f=this['addRevisionData'](_0x33a6e7);_0x5af54b['push'](_0x33a6e7);const _0x4ba38d=this['repository']['getIndex'](_0x12310f);if(0x0!==_0x4ba38d){const _0x310098=this['repository']['getRevision'](_0x4ba38d-0x1);if(_0x310098['fromVersion']!==_0x2d9590){const _0x488f2a=this['_revisionDataBuilder']['getData'](_0x2d9590,_0x310098['toVersion']),_0x395b75={'id':_0x310098['id'],'diffData':_0x488f2a['diffData'],'authorsIds':_0x488f2a['authorsIds'],'authors':_0x488f2a['authorsIds']['map'](_0x19e8eb=>this['editor']['plugins']['get']('Users')['getUser'](_0x19e8eb)),'fromVersion':_0x2d9590};_0x310098===this['currentRevision']&&(_0x395b75['createdAt']=new Date(_0x33a6e7['createdAt']['getTime']()+0xa)),_0x310098['_update'](_0x395b75,!0x0),delete _0x395b75['authors'],_0x5af54b['push'](_0x395b75);}}if(this['adapter']){for(const _0x20ebfe of _0x5af54b)this['_bufferUpdate'](_0x20ebfe['id'],_0x20ebfe,!0x0);this['sendBufferedUpdates']();}return _0x12310f;}['addRevisionData'](_0x101d99){const _0x4b40d6=this['repository']['createRevision'](_0x101d99);return this['adapter']&&_0x4b40d6['on']('_update',(_0x34acee,_0x2fe9b6,_0x7d2af)=>{_0x7d2af||(this['_bufferUpdate'](_0x2fe9b6['id'],_0x2fe9b6,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x4b40d6,this['_findInsertionIndex'](_0x4b40d6)),_0x4b40d6;}async['getRevisionDocumentData'](_0x1d0856){await this['_loadRevisionData'](_0x1d0856);const _0x28a200={};for(const _0x1a20cf in _0x1d0856['diffData']){if(_0x1d0856['diffData'][_0x1a20cf]['attachChange']&&!_0x1d0856['diffData'][_0x1a20cf]['attachChange']['isAttached'])continue;const _0x288789=this['_removeRevisionMarkers'](JSON['parse'](_0x1d0856['diffData'][_0x1a20cf]['insertions'])),_0x98c35f=this['editor']['editing']['view']['document'],_0x48fe72=new _0x44957f(_0x98c35f,_0x288789['map'](_0x183e85=>B(_0x183e85,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x28a200[_0x1a20cf]=this['editor']['data']['processor']['toData'](_0x48fe72),this['editor']['data']['processor']['useFillerType']('default');}return _0x28a200;}async['getRevisionRootsAttributes'](_0x43db05){await this['_loadRevisionData'](_0x43db05);const _0x57ca61={};for(const _0x4355fa in _0x43db05['diffData'])_0x43db05['diffData'][_0x4355fa]['attachChange']&&!_0x43db05['diffData'][_0x4355fa]['attachChange']['isAttached']||(_0x57ca61[_0x4355fa]=_0x43db05['diffData'][_0x4355fa]['attributesAfter']||{});return _0x57ca61;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x5eef90=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x16bed1=0x0;_0x16bed1<_0x5eef90['length'];_0x16bed1++){const _0x506d5a=_0x5eef90[_0x16bed1];let _0x41d87f=!0x1;for(const _0x2995f0 of Object['keys'](_0x506d5a))void 0x0===_0x506d5a[_0x2995f0]?delete _0x506d5a[_0x2995f0]:'id'!==_0x2995f0&&(_0x41d87f=!0x0);_0x41d87f||(_0x5eef90[_0x16bed1]=null);}if(_0x5eef90=_0x5eef90['filter'](_0x57fdbd=>null!==_0x57fdbd),!_0x5eef90['length'])return;for(let _0x3ea631=0x0;_0x3ea631<_0x5eef90['length'];_0x3ea631++){const _0x5b3906=_0x5eef90[_0x3ea631];void 0x0!==_0x5b3906['fromVersion']&&void 0x0===_0x5b3906['toVersion']&&(_0x5b3906['toVersion']=this['repository']['getRevision'](_0x5b3906['id'])['toVersion']),void 0x0!==_0x5b3906['toVersion']&&void 0x0===_0x5b3906['fromVersion']&&(_0x5b3906['fromVersion']=this['repository']['getRevision'](_0x5b3906['id'])['fromVersion']);}const _0x5da690=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x5eef90,_0x5da690)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x535b41=>{if(_0x535b41){for(const _0x2d7699 of _0x535b41)this['setRevisionData']({'id':_0x2d7699['id'],'createdAt':_0x2d7699['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x48ac5b,_0x376c91){let _0x1d3e15=this['editor']['config']['get']('initialData'),_0x9556d7=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x1d3e15){_0x1d3e15={};for(const _0x22d5dc of this['editor']['model']['document']['getRootNames']())_0x1d3e15[_0x22d5dc]='';}if('string'==typeof _0x1d3e15&&(_0x1d3e15={'main':_0x1d3e15}),void 0x0===_0x9556d7){_0x9556d7={};for(const _0x18fa21 of this['editor']['model']['document']['getRootNames']())_0x9556d7[_0x18fa21]={};}let _0x3c745a=!0x1;const _0x47dca0=Object['keys'](_0x1d3e15),_0x34f430=Object['keys'](_0x48ac5b);for(const _0x4b428b of _0x47dca0){if(_0x1d3e15[_0x4b428b]!==_0x48ac5b[_0x4b428b]&&''!==_0x1d3e15[_0x4b428b]['trim']()){_0x3c745a=!0x0;break;}if(!_0x410a3b(_0x9556d7[_0x4b428b],_0x376c91[_0x4b428b])&&Object['keys'](_0x9556d7[_0x4b428b])['length']>0x0){_0x3c745a=!0x0;break;}}_0x3c745a||(_0x3c745a=_0x34f430['some'](_0x591b54=>!this['editor']['model']['document']['getRoot'](_0x591b54))),_0x3c745a&&_0x5c1e56('editor-initial-data-replaced-with-revision-data',{'editorData':_0x1d3e15,'editorRootsAttributes':_0x9556d7,'revisionData':_0x48ac5b,'revisionRootsAttributes':_0x376c91}),this['editor']['config']['set']('initialData',_0x48ac5b),this['editor']['config']['set']('rootsAttributes',_0x376c91);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x524c3e=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x524c3e['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0xc13762){const _0x365c97=this['repository']['getRevisions']();_0x365c97['reverse']();let _0x33e4f4=0x0;for(;_0x33e4f4<_0x365c97['length'];){const _0x452ee0=_0x365c97[_0x33e4f4];if(_0x452ee0===this['currentRevision']){_0x33e4f4++;continue;}if(_0x452ee0['id']===this['_initialRevisionId'])break;const _0x4282c6=_0xc13762['toVersion']-_0x452ee0['toVersion']||_0xc13762['fromVersion']-_0x452ee0['fromVersion'];if(_0x4282c6>0x0)break;if(_0x4282c6<0x0)_0x33e4f4++;else{if(!_0xc13762['creator']&&_0x452ee0['creator'])break;if(_0x452ee0['creator']||!_0xc13762['creator']){if(_0xc13762['createdAt']>_0x452ee0['createdAt'])break;_0x33e4f4++;}else _0x33e4f4++;}}return _0x33e4f4;}['setRevisionData'](_0x5a504f){const _0x56ac6f=this['repository']['getRevision'](_0x5a504f['id']);if(_0x5a504f['createdAt']&&(_0x5a504f['createdAt']=new Date(_0x5a504f['createdAt'])),_0x5a504f['authorsIds']){const _0xee76d2=this['editor']['plugins']['get']('Users');_0x5a504f['authors']=_0x5a504f['authorsIds']['map'](_0x2db1a1=>_0xee76d2['getUser'](_0x2db1a1));}_0x56ac6f['_update'](_0x5a504f,!0x0);}['buildRevisionData']({revision:_0x594d3d=null,from:_0x409350=null,to:_0x3d052c=null}){_0x409350=null!==_0x409350?_0x409350:_0x594d3d['fromVersion'],_0x3d052c=null!==_0x3d052c?_0x3d052c:_0x594d3d['toVersion'];const _0x1f8e80=this['_revisionDataBuilder']['getData'](_0x409350,_0x3d052c),_0x587a77={'diffData':_0x1f8e80['diffData'],'authorsIds':_0x1f8e80['authorsIds'],'fromVersion':_0x409350,'toVersion':_0x3d052c};if(!_0x594d3d||_0x3d052c!==_0x594d3d['toVersion']){const _0x268690=_0x3d052c-0x1,_0x17f6f9=this['_source']['history']['getOperation'](_0x268690);_0x587a77['createdAt']=_0x17f6f9&&_0x17f6f9['createdAt']||new Date();}if(this['_loadedStateData']&&_0x409350===this['_loadedStateData']['fromVersion']){for(const _0x4b779b of this['_loadedStateData']['authors'])_0x587a77['authorsIds']['includes'](_0x4b779b['id'])||_0x587a77['authorsIds']['push'](_0x4b779b['id']);}return _0x587a77;}['_loadRevisionData'](_0x5b3180){if(!_0x5b3180||_0x5b3180['diffData'])return Promise['resolve']();{const _0x48efaa=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x48efaa,'revisionId':_0x5b3180['id']})['then'](_0x2db0d1=>{_0x5b3180['diffData']=_0x2db0d1['diffData'];});}}['_bufferUpdate'](_0x3c3e24,_0x1cddf7,_0x3b77e0){if(this['_bufferedUpdates']['has'](_0x3c3e24)){const _0x5b38d6=this['_bufferedUpdates']['get'](_0x3c3e24);_0x1cddf7=_0x3b77e0?{..._0x5b38d6,..._0x1cddf7}:{..._0x1cddf7,..._0x5b38d6};}this['_bufferedUpdates']['set'](_0x3c3e24,_0x1cddf7);}['_getFromVersion'](_0x24f185){const _0x1f9d1d=this['repository']['getRevisions']();_0x1f9d1d['reverse'](),_0x1f9d1d['shift']();const _0x19fa9b=_0x1f9d1d['find'](_0x5f0fa2=>_0x5f0fa2['toVersion']<=_0x24f185)['toVersion'];return _0x19fa9b<this['_startingVersion']?this['_startingVersion']:_0x19fa9b;}['_createInitialRevision'](_0x3e1c26){const _0xa6e1f3=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0xa6e1f3)this['_initialRevisionId']=_0xa6e1f3['id'];else{const _0x53fe34=!this['editor']['model']['document']['roots']['find'](_0x511333=>this['editor']['model']['hasContent'](_0x511333)),_0x15047a=this['editor']['plugins']['get']('Users')['me']['id'],_0x59d6e0=y(this['editor']['locale'],_0x53fe34?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x3e1c26,'to':_0x3e1c26,'id':this['_initialRevisionId'],'name':_0x59d6e0,'creatorId':_0x15047a});}}['_createCurrentRevision'](_0x580df7){const _0x34a227=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x34a227),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x580df7,'to':_0x580df7,'id':_0x34a227,'name':'','creatorId':null}));}['_makeRevision']({name:_0x4adcee,from:_0x24f822,to:_0x40121d,creatorId:_0x17e73e,id:_0x1dc87b}){const _0x55bac3=this['buildRevisionData']({'from':_0x24f822,'to':_0x40121d});_0x55bac3['name']=_0x4adcee,_0x55bac3['creatorId']=_0x17e73e,_0x55bac3['id']=_0x1dc87b;const _0x499245=this['addRevisionData'](_0x55bac3);return this['adapter']&&this['_bufferUpdate'](_0x55bac3['id'],_0x55bac3,!0x0),_0x499245;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x327930){return(_0x327930=_0x327930['filter'](_0x41d59f=>!_0x41d59f['name']||'revision-start'!==_0x41d59f['name']&&'revision-end'!==_0x41d59f['name']))['forEach'](_0x793f4f=>{'string'!=typeof _0x793f4f&&(_0x793f4f['children']=this['_removeRevisionMarkers'](_0x793f4f['children']),_0x793f4f['attributes']=_0x793f4f['attributes']['filter'](_0x74d29f=>!_0x74d29f[0x0]['startsWith']('data-revision-')));}),_0x327930;}}function B(_0x15c1fe,_0x3e1feb){const _0x5efdb6=_0x3e1feb['editing']['view']['document'];if('string'==typeof _0x15c1fe)return new _0x3969d6(_0x5efdb6,_0x15c1fe);{const _0x4fac61=_0x15c1fe['children']['map'](_0x447ad0=>B(_0x447ad0,_0x3e1feb));return new(T[_0x15c1fe['type']]||_0x9d360e)(_0x5efdb6,_0x15c1fe['name'],_0x15c1fe['attributes'],_0x4fac61);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x17c2ce){this['editor']=_0x17c2ce,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'](_0x35d375){this['source']=_0x35d375;const _0x3bc8d3=new Map(),_0xa24d61=new Map(),_0x3be5a5=this['editor']['model']['document']['roots']['map'](_0x26c629=>_0x26c629['rootName']);for(const _0x1e1d5c of _0x3be5a5){const _0x39c569=this['editor']['model']['document']['getRoot'](_0x1e1d5c),_0x12bbc7=q(_0x39c569);_0x3bc8d3['set'](_0x1e1d5c,_0x12bbc7),_0xa24d61['set'](_0x1e1d5c,Object['fromEntries'](_0x39c569['getAttributes']()));}const _0x4591e4=Array['from'](this['editor']['model']['markers'])['map'](_0x1e0600=>[_0x1e0600['name'],_0x1e0600['getRange']()]),_0x51b1f5=this['source']['version'];this['_saveMetaData'](_0x51b1f5,_0x3bc8d3,_0x4591e4,_0xa24d61),this['_startingRevisionId']=this['_revisionId'];const _0x538cc6=new Map(),_0x21263a=new Map();for(const _0x5d113b of _0x3be5a5){const _0x20bb7f=G(_0x5d113b);_0x538cc6['set'](_0x5d113b,_0x20bb7f),_0x21263a['set'](_0x5d113b,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x538cc6,[],_0x21263a);}['getData'](_0x496302,_0x4247f1){if(this['_lastFrom']===_0x496302&&this['_lastTo']<=_0x4247f1)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x4247f1,!0x0);else{if(!this['_savedMetaData']['has'](_0x496302)){const _0x2cd482=this['_getPreviousFrom'](_0x496302);this['_calculateMetaData'](_0x2cd482,_0x496302,!0x1);}this['_calculateMetaData'](_0x496302,_0x4247f1,!0x0);}return this['_lastFrom']=_0x496302,this['_lastTo']=_0x4247f1,this['_getState']();}['loadState'](_0xfbed60){this['_reset'](),this['_lastFrom']=_0xfbed60['fromVersion'],this['_lastTo']=_0xfbed60['toVersion'];for(const _0x361a19 in _0xfbed60['diffData']){const _0x3cea61=_0xfbed60['diffData'][_0x361a19]['attachChange'],_0x628e3f=_0x9cc40f(_0xfbed60['diffData'][_0x361a19]['attributesBefore'])||{},_0x2f86ef=this['_makeModelFromViewString'](_0xfbed60['diffData'][_0x361a19]['deletions']);_0x2f86ef['rootName']=_0x361a19,_0x2f86ef['_isAttached']=!_0x3cea61||!_0x3cea61['isAttached'],_0x2f86ef['isAttached']=()=>_0x2f86ef['_isAttached'],this['_baseRoots']['set'](_0x361a19,_0x2f86ef),this['_baseRootsAttributes']['set'](_0x361a19,_0x628e3f),_0x3cea61&&this['_touchedRoots']['set'](_0x361a19,_0x3cea61);const _0x177cae=this['_makeIdsRoot'](_0x2f86ef);this['_baseIdsRoots']['set'](_0x361a19,_0x177cae);for(const [_0x14f361,_0x349069]of _0x2f86ef['markers']){if(!_0x14f361['startsWith']('revision:'))continue;const _0x1fa8f9=_0x14f361['split'](':')[0x2];for(const _0x2a435e of _0x349069['getWalker']({'singleCharacters':!0x0})){const _0x2add1b=this['_getVidAttributeName'](_0x2a435e),_0x25a628='elementEnd'==_0x2a435e['type']?_0x2a435e['previousPosition']['path']['slice'](0x0,-0x1):_0x2a435e['previousPosition']['path'],_0x77488d=_0x177cae['getNodeByPath'](_0x25a628)['getAttribute'](_0x2add1b);this['_touched']['set'](_0x77488d,{'userId':_0x1fa8f9});}}}this['_startingRevisionId']=this['_revisionId'];const _0x5bcb6a=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x543f39=>!this['_touched']['has'](_0x543f39));let _0x188672=0x0;const _0x38f847=new Map();for(const _0x2ab4d3 in _0xfbed60['diffData']){const _0x457b44=_0xfbed60['diffData'][_0x2ab4d3]['attachChange'],_0x1bdbde=_0x9cc40f(_0xfbed60['diffData'][_0x2ab4d3]['attributesAfter'])||{},_0x1813b7=this['_makeModelFromViewString'](_0xfbed60['diffData'][_0x2ab4d3]['insertions']);_0x1813b7['rootName']=_0x2ab4d3,_0x1813b7['_isAttached']=!_0x457b44||_0x457b44['isAttached'],_0x1813b7['isAttached']=()=>_0x1813b7['_isAttached'],this['_diffRoots']['set'](_0x2ab4d3,_0x1813b7),this['_diffRootsAttributes']['set'](_0x2ab4d3,_0x1bdbde);const _0x3e3bda=this['_makeIdsRoot'](_0x1813b7,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x2ab4d3,_0x3e3bda),_0x38f847['set'](_0x2ab4d3,_0x1813b7['isAttached']()?_0x1bdbde:{});for(const [_0x15b70e,_0x1fbfdc]of _0x1813b7['markers']){if(!_0x15b70e['startsWith']('revision:'))continue;const _0x32033d=_0x15b70e['split'](':')[0x2];for(const _0x215acd of _0x1fbfdc['getWalker']({'singleCharacters':!0x0})){const _0x51f923=this['_getVidAttributeName'](_0x215acd),_0x5d7d80=this['_revisionId']++,_0x40e31a='elementEnd'==_0x215acd['type']?_0x215acd['previousPosition']['path']['slice'](0x0,-0x1):_0x215acd['previousPosition']['path'];_0x3e3bda['getNodeByPath'](_0x40e31a)['_setAttribute'](_0x51f923,_0x5d7d80),this['_touched']['set'](_0x5d7d80,{'userId':_0x32033d});}}for(const _0x478ded of this['editor']['model']['createRangeIn'](_0x1813b7)['getWalker']({'singleCharacters':!0x0})){const _0x553a81=this['_getVidAttributeName'](_0x478ded),_0x5aec3b='elementEnd'==_0x478ded['type']?_0x478ded['previousPosition']['path']['slice'](0x0,-0x1):_0x478ded['previousPosition']['path'],_0x1681fb=_0x3e3bda['getNodeByPath'](_0x5aec3b);_0x1681fb['getAttribute'](_0x553a81)>0x0||_0x1681fb['_setAttribute'](_0x553a81,_0x5bcb6a[_0x188672++]);}for(const [_0x5da118,_0x1e4e7d]of _0x1813b7['markers'])_0x5da118['startsWith']('revision:')||this['_markers']['set'](_0x5da118,_0x1e4e7d);}const _0x1e3a21=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x1e3a21),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1e3a21,0x1));const _0x2081f0=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x2081f0),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x2081f0,0x1));const _0x332950=Array['from'](this['_diffRoots'])['map'](([_0x5653cb,_0x460e2b])=>[_0x5653cb,q(_0x460e2b)]);this['_saveMetaData'](this['_lastTo'],_0x332950,this['_markers'],_0x38f847);}['_makeModelFromViewString'](_0x53d656){const _0x169e9f=JSON['parse'](_0x53d656),_0x4b037c=this['editor']['editing']['view']['document'],_0x3d9c77=new _0x44957f(_0x4b037c,_0x169e9f['map'](_0x4bd949=>B(_0x4bd949,this['editor'])));return this['editor']['data']['toModel'](_0x3d9c77);}['_saveMetaData'](_0x13a080,_0x57a1bd,_0x406747,_0x24b042){const _0x3027e7=new Map(_0x57a1bd),_0x4081b3=new Map(_0x9cc40f(_0x24b042)),_0x45c9ae=new Map();for(const [_0x531f25,_0x505f47]of _0x406747)_0x45c9ae['set'](_0x531f25,{'start':_0x505f47['start']['clone'](),'end':_0x505f47['end']['clone'](),'rootName':_0x505f47['root']['rootName']});this['_savedMetaData']['set'](_0x13a080,{'roots':_0x3027e7,'markers':_0x45c9ae,'rootsAttributes':_0x4081b3});}['_removeMetaData'](_0x58d37e){this['_savedMetaData']['delete'](_0x58d37e);}['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'](_0x4564f4,_0x1cd8b9=null){let _0x140a82=null;_0x4564f4['is']('documentFragment')||(_0x140a82=new ft(_0x4564f4['name'],{'vid_start':null===_0x1cd8b9?this['_revisionId']++:_0x1cd8b9++}));const _0x22ea30=[];for(const _0x5d3beb of _0x4564f4['getChildren']())if(_0x5d3beb['is']('element')){_0x22ea30['push'](this['_makeIdsRoot'](_0x5d3beb,_0x1cd8b9));const _0x577589=_0x22ea30[_0x22ea30['length']-0x1];null!==_0x1cd8b9&&(_0x1cd8b9=_0x577589['is']('element','$text')?_0x577589['getAttribute']('vid')+0x1:_0x577589['getAttribute']('vid_end')+0x1);}else{for(let _0x2a223f=0x0;_0x2a223f<_0x5d3beb['offsetSize'];_0x2a223f++)_0x22ea30['push'](new ft('$text',{'vid':null===_0x1cd8b9?this['_revisionId']++:_0x1cd8b9++}));}if(_0x4564f4['is']('documentFragment')){const _0x172473=G(_0x4564f4['rootName']);return _0x172473['_insertChild'](0x0,_0x22ea30),_0x172473;}return _0x140a82['_setAttribute']('vid_end',null===_0x1cd8b9?this['_revisionId']++:_0x1cd8b9++),_0x140a82['_insertChild'](0x0,_0x22ea30),_0x140a82;}['_calculateMetaData'](_0x44f75c,_0x44c2d9,_0x532979){this['_reset']();const {roots:_0x551a92,markers:_0x38242f,rootsAttributes:_0x1cc334}=this['_savedMetaData']['get'](_0x44f75c);this['_baseRoots']=new Map(_0x551a92),this['_baseRootsAttributes']=new Map(_0x9cc40f(_0x1cc334));for(const [_0x43e664,_0x5e4ae3]of this['_baseRoots'])if('$graveyard'!==_0x43e664&&(this['_diffRoots']['set'](_0x43e664,q(_0x5e4ae3)),this['_diffRootsAttributes']=new Map(_0x9cc40f(_0x1cc334)),_0x532979)){const _0x2232dd=this['_revisionId'];this['_idsRoots']['set'](_0x43e664,this['_makeIdsRoot'](_0x5e4ae3)),this['_baseIdsRoots']['set'](_0x43e664,this['_makeIdsRoot'](_0x5e4ae3,_0x2232dd));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x532979&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x129b6e,_0xe6947]of _0x38242f){const _0x49dee1=this['_baseRoots']['get'](_0xe6947['rootName']),_0x571f39=this['_diffRoots']['get'](_0xe6947['rootName']),_0x16f279=new vt(this['_fixPosition'](_0xe6947['start'],_0x49dee1),this['_fixPosition'](_0xe6947['end'],_0x49dee1)),_0x38ad7b=this['_fixRange'](_0x16f279,_0x571f39);_0x49dee1['markers']['set'](_0x129b6e,_0x16f279),this['_markers']['set'](_0x129b6e,_0x38ad7b);}this['_applyOperations'](_0x44f75c,_0x44c2d9,_0x532979);}['_applyOperations'](_0x13994b,_0x81afdc,_0x56e7ef){for(const _0x559cd0 of this['source']['getOperations'](_0x13994b,_0x81afdc))this['_handleOperation'](_0x559cd0,_0x56e7ef);for(const _0x598036 of this['_diffRoots']['values']())_0x598036['markers']['clear']();for(const [_0x5b1683,_0x5edb17]of this['_markers']){this['_diffRoots']['get'](_0x5edb17['root']['rootName'])['markers']['set'](_0x5b1683,_0x5edb17['clone']());}const _0x35375d=new Map(),_0x1f4d9e=new Map();for(const [_0x557f14,_0x514aac]of this['_diffRoots'])_0x35375d['set'](_0x557f14,q(_0x514aac)),_0x1f4d9e['set'](_0x557f14,this['_diffRootsAttributes']['get'](_0x557f14));this['_saveMetaData'](_0x81afdc,_0x35375d,this['_markers'],_0x1f4d9e);}['_getPreviousFrom'](_0x52afbc){const _0x3d86f2=Array['from'](this['_savedMetaData']['keys']());_0x3d86f2['sort']((_0x26fb3a,_0x56dfea)=>_0x26fb3a-_0x56dfea),_0x3d86f2['reverse']();for(const _0x36e454 of _0x3d86f2)if(_0x36e454<_0x52afbc)return _0x36e454;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x238dfb,_0x56ed47){const _0x221355=Array['from'](_0x56ed47['markers'])['map'](([_0x41bdf5,_0x3615df])=>[_0x41bdf5,this['_fixRange'](_0x3615df,_0x238dfb)]);_0x238dfb['markers']=new Map(_0x221355);}['_transformMarkers'](_0x127cfc){for(const _0x178358 of this['_markers']['values']()){const _0x3e9379=_0x178358['getTransformedByOperation'](_0x127cfc),_0x2ff132=vt['_createFromRanges'](_0x3e9379);_0x178358['start']=_0x2ff132['start'],_0x178358['end']=_0x2ff132['end'];}}['_handleOperation'](_0x3d3651,_0x1b1215){if('addRoot'==_0x3d3651['type']||'detachRoot'==_0x3d3651['type'])return void this['_handleRootOperation'](_0x3d3651,_0x1b1215);if('insert'==_0x3d3651['type']){const _0x39f743=_0x3d3651['position']['root']['rootName'];this['_diffRoots']['has'](_0x39f743)||(this['_diffRoots']['set'](_0x39f743,G(_0x39f743,!0x0)),this['_diffRootsAttributes']['set'](_0x39f743,{}),_0x1b1215&&this['_idsRoots']['set'](_0x39f743,G(_0x39f743,!0x0)));}else{if('addRootAttribute'==_0x3d3651['type']||'removeRootAttribute'==_0x3d3651['type']||'changeRootAttribute'==_0x3d3651['type'])return void this['_handleRootAttributeOperation'](_0x3d3651);}const _0x54644c=this['_cloneOperation'](_0x3d3651,this['_diffRoots']);if('marker'!==_0x3d3651['type']&&(_0x54644c['_execute'](),this['_transformMarkers'](_0x54644c)),_0x1b1215)switch(_0x54644c['type']){case'insert':this['_handleInsertOperation'](_0x3d3651);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x3d3651);break;case'merge':this['_handleMergeOperation'](_0x3d3651);break;case'split':this['_handleSplitOperation'](_0x3d3651);break;case'marker':this['_handleMarkerOperation'](_0x3d3651);}}['_cloneOperation'](_0x53f023,_0x52bf4a){const _0x11a56c=_0x53f023['clone']();return _0x11a56c['_authorId']=_0x53f023['_authorId'],this['_fixOperation'](_0x11a56c,_0x52bf4a),_0x11a56c;}['_getBaseVids'](_0x1b8e80){return _0x1b8e80['map'](_0x1bf420=>{const _0x2504e4=this['_getVidAttributeName'](_0x1bf420);return Number(_0x1bf420['item']['getAttribute'](_0x2504e4));});}['_generateTape'](_0x6d6e86,_0x228ef4){if(_0x6d6e86['is']('element','$text'))_0x228ef4['push']({'item':_0x6d6e86,'type':'text'});else{_0x6d6e86['is']('element')&&_0x228ef4['push']({'item':_0x6d6e86,'type':'elementStart'});for(const _0x51c621 of _0x6d6e86['getChildren']())this['_generateTape'](_0x51c621,_0x228ef4);_0x6d6e86['is']('element')&&_0x228ef4['push']({'item':_0x6d6e86,'type':'elementEnd'});}return _0x228ef4;}['_getState'](){const _0x532720=new Map(this['_touched']),_0x21712d=new Map(_0x532720),_0x2ef558=new Map(),_0x182e17={'insertions':{},'deletions':{}},_0x29b953={'insertions':{},'deletions':{}},_0x5e5b9f=new Map(),_0x5c01e0=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x5c01e0['delete']('$graveyard');for(const _0x409cee of _0x5c01e0){const _0xe11139=this['_diffRoots']['get'](_0x409cee)||G(_0x409cee,!0x1),_0xb78720=this['_baseRoots']['get'](_0x409cee)||G(_0x409cee,!0x1);_0xe11139['isAttached']()||_0xb78720['isAttached']()?(_0x182e17['insertions'][_0x409cee]=q(_0xe11139),_0x182e17['deletions'][_0x409cee]=q(_0xb78720),this['_copyMarkers'](_0x182e17['deletions'][_0x409cee],_0xb78720),this['_copyMarkers'](_0x182e17['insertions'][_0x409cee],_0xe11139),_0x29b953['insertions'][_0x409cee]=this['_generateTape'](this['_idsRoots']['get'](_0x409cee),[]),_0x29b953['deletions'][_0x409cee]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x409cee)||G(_0x409cee,!0x1),[])):_0x5c01e0['delete'](_0x409cee);}for(const _0x18d5b7 of _0x5c01e0){const _0x5e670c=_0x29b953['insertions'][_0x18d5b7];for(const _0x149a65 of _0x5e670c){const _0x56d960=this['_getVidAttributeName'](_0x149a65),_0x5c70b2=_0x149a65['item']['getAttribute'](_0x56d960);_0x21712d['delete'](_0x5c70b2),_0x5c70b2>=this['_startingRevisionId']&&_0x2ef558['set'](_0x5c70b2,_0x532720['get'](_0x5c70b2));}}for(const _0x2d5ffe of _0x5c01e0){const _0x26d5ee=_0x29b953['insertions'][_0x2d5ffe],_0x48a0bd=this['_getBaseVids'](_0x29b953['deletions'][_0x2d5ffe]);let _0x7b850f=0x0;for(const _0x4c96e5 of _0x26d5ee){const _0x134d0f=this['_getVidAttributeName'](_0x4c96e5),_0x1dbe36=_0x4c96e5['item']['getAttribute'](_0x134d0f);if(!_0x2ef558['has'](_0x1dbe36)&&!_0x5e5b9f['has'](_0x1dbe36)){if(_0x21712d['has'](_0x1dbe36))_0x7b850f++;else{if(_0x1dbe36!=_0x48a0bd[_0x7b850f]){const _0x40b855=_0x532720['get'](_0x1dbe36)||_0x532720['get'](_0x48a0bd[_0x7b850f]);for(;_0x1dbe36!=_0x48a0bd[_0x7b850f];)_0x21712d['has'](_0x48a0bd[_0x7b850f])||(_0x5e5b9f['set'](_0x48a0bd[_0x7b850f],_0x40b855),_0x532720['set'](_0x48a0bd[_0x7b850f],_0x40b855)),_0x7b850f++;}_0x7b850f++;}}}}for(const _0x117e9b of _0x5c01e0){const _0x1c033c=_0x29b953['insertions'][_0x117e9b];for(const _0x3940ed of _0x1c033c){const _0x1191f6=this['_getVidAttributeName'](_0x3940ed),_0x3d8516=_0x3940ed['item']['getAttribute'](_0x1191f6);if(_0x5e5b9f['has'](_0x3d8516)){const _0x49474c=_0x5e5b9f['get'](_0x3d8516);_0x21712d['has'](_0x3d8516)||_0x21712d['set'](_0x3d8516,{..._0x49474c}),_0x2ef558['set'](_0x3d8516,{..._0x49474c});}}}for(const _0x40573e of _0x21712d['keys']())_0x40573e>=this['_startingRevisionId']&&_0x21712d['delete'](_0x40573e);const _0x439886=new Map();for(const _0x390b51 of _0x5c01e0){let _0x30d2ae=_0x29b953['insertions'][_0x390b51];for(const _0xd2606d of _0x30d2ae)if(_0xd2606d['item']['is']('element','tableCell')){const _0x123183=this['_getVidAttributeName'](_0xd2606d),_0x4031d1=_0xd2606d['item']['getAttribute'](_0x123183);if(_0x2ef558['has'](_0x4031d1)){const _0x563a6e=_0xd2606d['item']['parent']['parent']['getAttribute']('vid_start'),_0x41b4d8=_0x439886['get'](_0x563a6e)||new Set();_0x41b4d8['add'](_0x2ef558['get'](_0x4031d1)['userId']),_0x439886['set'](_0x563a6e,_0x41b4d8);}}_0x30d2ae=_0x29b953['deletions'][_0x390b51];for(const _0x374222 of _0x30d2ae)if(_0x374222['item']['is']('element','tableCell')){const _0x3788c5=this['_getVidAttributeName'](_0x374222),_0x1b42f9=_0x374222['item']['getAttribute'](_0x3788c5);if(_0x21712d['has'](_0x1b42f9)){const _0x5595da=_0x374222['item']['parent']['parent']['getAttribute']('vid_start'),_0x21750c=_0x439886['get'](_0x5595da)||new Set();_0x21750c['add'](_0x21712d['get'](_0x1b42f9)['userId']),_0x439886['set'](_0x5595da,_0x21750c);}}for(const _0xf39bdf of _0x439886['keys']())(_0x2ef558['has'](_0xf39bdf)||_0x21712d['has'](_0xf39bdf))&&_0x439886['delete'](_0xf39bdf);}for(const _0x97fc86 of _0x5c01e0){const _0x32a38c=_0x29b953['insertions'][_0x97fc86];let _0x21dd53=null,_0x47d748=null;for(const _0x5e6561 of _0x32a38c){const _0x5f3283=this['_getVidAttributeName'](_0x5e6561),_0x3ad009=_0x5e6561['item']['getAttribute'](_0x5f3283),_0x277dfb=_0x439886['get'](_0x3ad009);_0x277dfb&&'elementStart'==_0x5e6561['type']&&(_0x21dd53=Array['from'](_0x277dfb)[0x0],_0x47d748=_0x5e6561['item']['getAttribute']('vid_end')),_0x21dd53&&(_0x21712d['set'](_0x3ad009,{'userId':_0x21dd53}),_0x2ef558['set'](_0x3ad009,{'userId':_0x21dd53})),_0x3ad009==_0x47d748&&(_0x21dd53=null,_0x47d748=null);}}const _0x4ea61b={},_0x9c4f62=new Set();for(const _0x2e73d4 of _0x5c01e0){const _0x160074=_0x182e17['deletions'][_0x2e73d4],_0x1b5b93=_0x182e17['insertions'][_0x2e73d4];for(const {userId:_0x3cb0ad}of this['_touchedMarkers']['values']())null!==_0x3cb0ad&&_0x9c4f62['add'](_0x3cb0ad);for(const {userId:_0x3acade}of this['_touchedRoots']['values']())null!==_0x3acade&&_0x9c4f62['add'](_0x3acade);this['_markChanges'](_0x1b5b93,_0x29b953['insertions'][_0x2e73d4],_0x2ef558,'insertion',_0x9c4f62),this['_markChanges'](_0x160074,_0x29b953['deletions'][_0x2e73d4],_0x21712d,'deletion',_0x9c4f62),_0x4ea61b[_0x2e73d4]={'insertions':this['_prepareViewToSave'](_0x1b5b93),'deletions':this['_prepareViewToSave'](_0x160074),'attachChange':this['_touchedRoots']['get'](_0x2e73d4)||null,'attributesBefore':_0x9cc40f(this['_baseRootsAttributes']['get'](_0x2e73d4))||{},'attributesAfter':_0x9cc40f(this['_diffRootsAttributes']['get'](_0x2e73d4))};}return{'diffData':_0x4ea61b,'authorsIds':Array['from'](_0x9c4f62)};}['_processRootBeforeSave'](_0x11061a){for(const [,_0x519098]of _0x11061a['markers']){const _0x2ce916=_0x519098['start']['getAncestors']()['filter'](_0x2a4d14=>'tableCell'==_0x2a4d14['name']);for(const _0x4f4583 of _0x2ce916)0x1==_0x4f4583['childCount']&&_0x4f4583['getChild'](0x0)['is']('element','paragraph')&&_0x4f4583['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x2789da){this['_processRootBeforeSave'](_0x2789da);const _0x5f24a3=this['editor']['data']['toView'](_0x2789da,{}),_0x454afb=Array['from'](_0x5f24a3['getChildren']())['map'](_0x4b354d=>this['_getViewJson'](_0x4b354d));return JSON['stringify'](_0x454afb);}['_getViewJson'](_0x524fe9){if(_0x524fe9['is']('$text'))return _0x524fe9['data'];{const _0x3b489b=_0x524fe9;return{'type':Object['keys'](T)['find'](_0x5018d5=>_0x524fe9 instanceof T[_0x5018d5]),'name':_0x3b489b['name'],'attributes':Array['from'](_0x3b489b['getAttributes']()),'children':Array['from'](_0x3b489b['getChildren']())['map'](_0x547713=>this['_getViewJson'](_0x547713))};}}['_markChanges'](_0x59926b,_0x26fe1a,_0x5efc81,_0x53f15b,_0x209d2a){let _0x57acb0=null,_0x2441ea=null,_0x5a65a3=0x0;const _0x2ff758=this['editor']['model'];for(let _0x487234=0x0;_0x487234<_0x26fe1a['length'];_0x487234++){const _0x311878=this['_getVidAttributeName'](_0x26fe1a[_0x487234]),_0xf64db2=_0x26fe1a[_0x487234]['item']['getAttribute'](_0x311878),_0x3b95f1=_0x5efc81['get'](_0xf64db2),_0xfea20=_0x487234==_0x26fe1a['length']-0x1;(!_0x57acb0&&_0x3b95f1&&(_0x57acb0=_0x3b95f1,_0x2441ea=_0x26fe1a[_0x487234]),_0x57acb0&&(!_0x3b95f1||_0x3b95f1['userId']!=_0x57acb0['userId']))&&(_0x3df1e3(_0x3b95f1,L(_0x2441ea,_0x59926b,_0x2ff758),L(_0x26fe1a[_0x487234],_0x59926b,_0x2ff758)),_0x57acb0=_0x3b95f1||null,_0x2441ea=_0x3b95f1?_0x26fe1a[_0x487234]:null),_0x57acb0&&_0xfea20&&_0x3df1e3(_0x3b95f1,L(_0x2441ea,_0x59926b,_0x2ff758),W(_0x26fe1a[_0x487234],_0x59926b,_0x2ff758));}function _0x3df1e3(_0xbddab3,_0x15fb5f,_0x5022cc){const _0x3fc903=_0x57acb0['userId'],_0x5f3470='revision:'+_0x53f15b+':'+_0x3fc903+':'+_0x5a65a3++,_0x265985=_0x2ff758['createRange'](_0x15fb5f,_0x5022cc);_0x59926b['markers']['set'](_0x5f3470,_0x265985),null!==_0x3fc903&&_0x209d2a['add'](_0x3fc903);}}['_getVidAttributeName'](_0x55464f){switch(_0x55464f['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x5256ed,_0x417624){_0x5256ed['baseVersion']=null;for(const _0x4ba193 in _0x5256ed){const _0x1005ad=_0x5256ed[_0x4ba193];if(_0x1005ad instanceof gt){const _0x326908=_0x417624['get'](_0x1005ad['root']['rootName']);_0x5256ed[_0x4ba193]=this['_fixPosition'](_0x1005ad,_0x326908);}if(_0x1005ad instanceof vt){const _0x2bf385=_0x417624['get'](_0x1005ad['root']['rootName']);_0x5256ed[_0x4ba193]=this['_fixRange'](_0x1005ad,_0x2bf385);}'root'===_0x4ba193&&(_0x5256ed['root']=_0x417624['get'](_0x5256ed['root']['rootName']));}}['_fixRange'](_0x138efd,_0x14946b){return this['editor']['model']['createRange'](this['_fixPosition'](_0x138efd['start'],_0x14946b),this['_fixPosition'](_0x138efd['end'],_0x14946b));}['_fixPosition'](_0x4ca316,_0x24488b){return this['editor']['model']['createPositionFromPath'](_0x24488b,_0x4ca316['path'],_0x4ca316['stickiness']);}['_handleInsertOperation'](_0x511921){const _0x3f3a50=this['_idsRoots']['get'](_0x511921['position']['root']['rootName']),_0x59524b=this['_fixPosition'](_0x511921['position'],_0x3f3a50),_0x544c7c=null===_0x511921['_authorId']?null:_0x511921['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x17b4d1=_0x59524b['parent'],_0x3c95fc=this['_revisionId'],_0x54ea0c=[];for(const _0x25696b of _0x511921['nodes'])if(_0x25696b['is']('element'))_0x54ea0c['push'](this['_makeIdsRoot'](_0x25696b));else{for(let _0x4bd39e=0x0;_0x4bd39e<_0x25696b['offsetSize'];_0x4bd39e++)_0x54ea0c['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x348e17=this['_revisionId'];for(let _0x39a54d=_0x3c95fc;_0x39a54d<_0x348e17;_0x39a54d++)this['_touched']['set'](_0x39a54d,{'userId':_0x544c7c});_0x17b4d1['_insertChild'](_0x59524b['offset'],_0x54ea0c);}['_handleMoveOperation'](_0xae8466){(_0xae8466=this['_cloneOperation'](_0xae8466,this['_idsRoots']))['_execute']();const _0x3d5e09=null===_0xae8466['_authorId']?null:_0xae8466['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1b1c46=_0xae8466['getMovedRangeStart'](),_0x20c528=_0x1b1c46['parent'],_0x5bc1dd=_0x1b1c46['offset'];!function _0x1a065a(_0x4a4160,_0x3b74c0,_0x43e8eb,_0x1bd588){for(let _0x1d1c3d=_0x43e8eb;_0x1d1c3d<_0x1bd588;_0x1d1c3d++){const _0x352de3=_0x3b74c0['getChild'](_0x1d1c3d);_0x352de3['is']('element','$text')?_0x4a4160['set'](_0x352de3['getAttribute']('vid'),{'userId':_0x3d5e09}):(_0x4a4160['set'](_0x352de3['getAttribute']('vid_start'),{'userId':_0x3d5e09}),_0x1a065a(_0x4a4160,_0x352de3,0x0,_0x352de3['childCount']),_0x4a4160['set'](_0x352de3['getAttribute']('vid_end'),{'userId':_0x3d5e09}));}}(this['_touched'],_0x20c528,_0x5bc1dd,_0x5bc1dd+_0xae8466['howMany']);}['_handleMergeOperation'](_0x2fdf60){const _0x1411cc=null===(_0x2fdf60=this['_cloneOperation'](_0x2fdf60,this['_idsRoots']))['_authorId']?null:_0x2fdf60['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x10e3e0=_0x2fdf60['targetPosition']['parent'],_0x4da2d8=_0x2fdf60['sourcePosition']['parent'],_0x30e554=_0x10e3e0['getAttribute']('vid_end'),_0x186d02=_0x4da2d8['getAttribute']('vid_start');_0x10e3e0['_setAttribute']('vid_end',_0x4da2d8['getAttribute']('vid_end')),_0x4da2d8['_setAttribute']('vid_end',_0x30e554),this['_touched']['set'](_0x186d02,{'userId':_0x1411cc}),this['_touched']['set'](_0x30e554,{'userId':_0x1411cc}),_0x2fdf60['_execute']();}['_handleSplitOperation'](_0x439f0b){const _0x20b8de=null===(_0x439f0b=this['_cloneOperation'](_0x439f0b,this['_idsRoots']))['_authorId']?null:_0x439f0b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5478ba=_0x439f0b['graveyardPosition'],_0x312f51=_0x439f0b['splitPosition']['parent'];_0x439f0b['_execute']();const _0x69084a=_0x312f51['getAttribute']('vid_end'),_0x429917=_0x439f0b['insertionPosition']['nodeAfter'];if(_0x5478ba){const _0x26631b=_0x429917['getAttribute']('vid_end'),_0x4fbb14=_0x312f51['getAttribute']('vid_end');_0x312f51['_setAttribute']('vid_end',_0x26631b),_0x429917['_setAttribute']('vid_end',_0x4fbb14),this['_touched']['set'](_0x312f51['getAttribute']('vid_end'),{'userId':_0x20b8de}),this['_touched']['set'](_0x429917['getAttribute']('vid_start'),{'userId':_0x20b8de});}else{const _0x14cb4a=this['_revisionId']++,_0x272c4e=this['_revisionId']++;_0x312f51['_setAttribute']('vid_end',_0x14cb4a),_0x429917['_setAttribute']('vid_start',_0x272c4e),_0x429917['_setAttribute']('vid_end',_0x69084a),this['_touched']['set'](_0x14cb4a,{'userId':_0x20b8de}),this['_touched']['set'](_0x272c4e,{'userId':_0x20b8de});}}['_handleMarkerOperation'](_0x34ac43){if(!_0x34ac43['affectsData'])return;const _0x12de62=(_0x34ac43=this['_cloneOperation'](_0x34ac43,this['_diffRoots']))['oldRange']?_0x34ac43['oldRange']['root']:null,_0x528a54=_0x34ac43['newRange']?_0x34ac43['newRange']['root']:null;_0x12de62&&this['_markers']['delete'](_0x34ac43['name']),_0x528a54&&this['_markers']['set'](_0x34ac43['name'],_0x34ac43['newRange']['clone']());const _0x3c2d94=null===_0x34ac43['_authorId']?null:_0x34ac43['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1e6b21=_0x34ac43['name'];if(!this['_touchedMarkers']['has'](_0x1e6b21))return void this['_touchedMarkers']['set'](_0x1e6b21,{'range':_0x34ac43['oldRange'],'userId':_0x3c2d94});const _0x224787=this['_touchedMarkers']['get'](_0x1e6b21),_0x47c598=_0x224787['range'],_0x259485=_0x34ac43['newRange'];null==_0x47c598&&null==_0x259485||_0x47c598&&_0x259485&&_0x47c598['isEqual'](_0x259485)?this['_touchedMarkers']['delete'](_0x34ac43['name']):_0x224787['userId']=_0x3c2d94;}['_handleRootOperation'](_0x5a0443,_0x143265){this['_diffRoots']['has'](_0x5a0443['rootName'])?this['_diffRoots']['get'](_0x5a0443['rootName'])['_isAttached']=_0x5a0443['isAdd']:(this['_diffRoots']['set'](_0x5a0443['rootName'],G(_0x5a0443['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x5a0443['rootName'],{}),_0x143265&&this['_idsRoots']['set'](_0x5a0443['rootName'],G(_0x5a0443['rootName'],!0x0)));const _0x3f2d7e=null===_0x5a0443['_authorId']?null:_0x5a0443['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x22fd24=this['_touchedRoots']['get'](_0x5a0443['rootName']);_0x22fd24&&_0x22fd24['userId']===_0x3f2d7e?this['_touchedRoots']['delete'](_0x5a0443['rootName']):this['_touchedRoots']['set'](_0x5a0443['rootName'],{'userId':_0x3f2d7e,'isAttached':_0x5a0443['isAdd']});}['_handleRootAttributeOperation'](_0x4016db){const _0x1aa381=this['_diffRootsAttributes']['get'](_0x4016db['root']['rootName']);null===_0x4016db['newValue']?delete _0x1aa381[_0x4016db['key']]:_0x1aa381[_0x4016db['key']]=_0x4016db['newValue'];}}function q(_0x4af7a4){const _0x2b75ce=G(_0x4af7a4['rootName'],_0x4af7a4['isAttached']());for(const _0x38260f of _0x4af7a4['getChildren']()){const _0x53d1ab=_0x38260f['_clone'](!0x0);_0x2b75ce['_appendChild'](_0x53d1ab);}return _0x2b75ce;}function G(_0x5bf9e3,_0x466099=!0x0){const _0x147712=new wt();return _0x147712['rootName']=_0x5bf9e3,_0x147712['_isAttached']=_0x466099,_0x147712['isAttached']=()=>_0x147712['_isAttached'],_0x147712;}function L(_0x2f37bb,_0x1f677c,_0x5516c6){const _0x313754='elementEnd'==_0x2f37bb['type']?_0x5516c6['createPositionAt'](_0x2f37bb['item'],'end'):_0x5516c6['createPositionBefore'](_0x2f37bb['item']);return _0x5516c6['createPositionFromPath'](_0x1f677c,_0x313754['path'],_0x313754['stickiness']);}function W(_0x280698,_0x4aacbf,_0x564cf8){const _0x2600a7='elementStart'==_0x280698['type']?_0x564cf8['createPositionAt'](_0x280698['item'],0x0):_0x564cf8['createPositionAfter'](_0x280698['item']);return _0x564cf8['createPositionFromPath'](_0x4aacbf,_0x2600a7['path'],_0x2600a7['stickiness']);}class ns extends _0x36d658{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x2ec49a,_0x19b494){super(_0x2ec49a),this['focusTracker']=new _0x41e2b8(),this['keystrokes']=new _0x3a58d5(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x19b494),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'](),_0x9439ab({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x51f8b2=_0x4f4b64=>_0x4f4b64['stopPropagation']();this['keystrokes']['set']('arrowright',_0x51f8b2),this['keystrokes']['set']('arrowleft',_0x51f8b2),this['keystrokes']['set']('arrowup',_0x51f8b2),this['keystrokes']['set']('arrowdown',_0x51f8b2);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x4bf606){this['revisionNameInputView']['fieldView']['element']['value']=_0x4bf606['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x2058f8){const _0x5e5aef=new at(this['locale'],_0x21e52f),_0x7824da=_0x5e5aef['fieldView'];_0x7824da['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x3c73f4=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x2058f8&&(_0x3c73f4+='\x20('+y(this['locale'],'optional')+')'),(_0x5e5aef['label']=_0x3c73f4,_0x7824da['on']('input',()=>{this['revisionNameInputValue']=_0x7824da['element']['value']['trim']();}),_0x5e5aef);}}class u extends _0x441918{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x2a20ee=this['editor'],_0x457f3c=_0x2a20ee['plugins']['get']('RevisionTracker');_0x2a20ee['ui']['componentFactory']['add']('revisionHistory',_0xc73cad=>{const _0x495a0c=_0xa4d4ca(_0xc73cad),_0x197bea=_0x495a0c['panelView']['children'],_0xfeb4e2=new te(_0xc73cad),_0x16aec9=new _0x52e3a5(_0xc73cad),_0x3a5e97=new _0xf92697(_0xc73cad),_0x21ff9b=new _0x52e3a5(_0xc73cad),_0xb4ab4b=new _0xf92697(_0xc73cad);return _0x495a0c['bind']('isEnabled')['to'](_0x457f3c,'isReady',_0x457f3c,'isEnabled',_0x2a20ee,'isReadOnly',(_0x44cf32,_0x14b847,_0x59a263)=>_0x44cf32&&_0x14b847&&!_0x59a263),_0x495a0c['buttonView']['set']({'icon':_0x52b183['history'],'label':y(_0xc73cad,'Revision\x20history'),'tooltip':!0x0}),_0x3a5e97['set']({'label':y(_0xc73cad,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x3a5e97['bind']('isEnabled')['to'](_0x457f3c,'isReady',_0x457f3c,'isEnabled',_0x2a20ee,'isReadOnly',(_0x524564,_0x1e1346,_0x47929e)=>_0x524564&&_0x1e1346&&!_0x47929e),_0x3a5e97['on']('execute',()=>this['_showDialog']()),_0xb4ab4b['set']({'label':y(_0xc73cad,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0xb4ab4b['bind']('isEnabled')['to'](_0x457f3c,'isReady',_0x2a20ee,'isReadOnly',(_0x2e6a0d,_0x20121)=>_0x2e6a0d&&!_0x20121),_0xb4ab4b['on']('execute',()=>{_0x2a20ee['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x495a0c['isOpen']=!0x1,_0x2a20ee['editing']['view']['focus']();}),_0x16aec9['children']['add'](_0x3a5e97),_0x21ff9b['children']['add'](_0xb4ab4b),_0xfeb4e2['role']='menu',_0xfeb4e2['items']['addMany']([_0x16aec9,_0x21ff9b]),_0x197bea['add'](_0xfeb4e2),_0x495a0c;}),_0x2a20ee['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x530a0b=this['editor'],_0x224e3f=_0x530a0b['locale'],_0x4adcd7=new _0x27458b(_0x224e3f),_0x156285=new _0x410a5b(_0x224e3f);_0x4adcd7['buttonView']['set']({'icon':_0x52b183['history'],'label':y(_0x224e3f,'Revision\x20history')});const _0x1f34ba=new _0x5386d8(_0x224e3f,_0x4adcd7),_0x2219bd=new _0x2b7b3b(_0x224e3f);_0x2219bd['set']({'label':y(_0x224e3f,'Save\x20current\x20revision')}),_0x2219bd['delegate']('execute')['to'](_0x4adcd7),_0x2219bd['on']('execute',()=>{this['_showDialog']();}),_0x1f34ba['children']['add'](_0x2219bd),_0x156285['items']['add'](_0x1f34ba);const _0x500ce0=new _0x5386d8(_0x224e3f,_0x4adcd7),_0x3a0361=new _0x2b7b3b(_0x224e3f);return _0x3a0361['set']({'label':y(_0x224e3f,'Open\x20revision\x20history')}),_0x3a0361['delegate']('execute')['to'](_0x4adcd7),_0x3a0361['on']('execute',()=>{_0x530a0b['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x500ce0['children']['add'](_0x3a0361),_0x156285['items']['add'](_0x500ce0),_0x4adcd7['panelView']['children']['add'](_0x156285),_0x4adcd7;}['_showDialog'](){const _0x4a9a81=this['editor'],_0x644994=_0x4a9a81['locale'],_0x489624=_0x4a9a81['plugins']['get']('Dialog'),_0x2b7209=_0x4a9a81['plugins']['get']('RevisionTracker');function _0x28de7e(_0x454580){_0x4a9a81['config']['get']('revisionHistory.requireRevisionName')&&''===_0x454580['revisionName']?_0x454580['revisionNameInputView']['errorText']=y(_0x644994,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x4a9a81['plugins']['get'](l)['saveRevision']({'name':_0x454580['revisionName']}),_0x489624['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x28de7e(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x489624['show']({'id':'revisionSave','title':y(_0x644994,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x4a9a81['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x489624['hide']()},{'label':y(_0x4a9a81['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x378e76){_0x378e76['bind']('isEnabled')['to'](_0x2b7209,'isReady',_0x2b7209,'isEnabled',_0x4a9a81,'isReadOnly',(_0x55f904,_0x43ba10,_0x5e918b)=>_0x55f904&&_0x43ba10&&!_0x5e918b);},'onExecute':()=>_0x28de7e(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x1e7606=this['editor'],_0x19af16=_0x1e7606['locale'];this['_saveRevisionFormView']=new ns(_0x19af16,_0x1e7606['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x36d658{['changeId'];['_model'];constructor(_0x3a5763,_0x1f878f){super(_0x3a5763),this['_model']=_0x1f878f,this['changeId']=_0x1f878f['id'];const _0x8db93b=this['bindTemplate'],_0x61d43f=y(_0x3a5763,_0x1f878f['data']['isSuggestion']?'Suggested\x20by':'add'==_0x1f878f['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x1f878f['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x8db93b['to']('type',_0x280bbf=>'ck-revision-change__'+_0x280bbf)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x61d43f}]},{'text':'\x20'+_0x1f878f['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x388793(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x1e4038){super(),this['id']=_0x1e4038['id']||_0xa36f38(),this['author']=_0x1e4038['author'],this['type']=_0x1e4038['type'],this['data']=_0x1e4038['data']||{},this['rootName']=_0x1e4038['rootName'],this['set']('createdAt',_0x1e4038['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(_0x2b07af,_0x358b8e){this['newRevisionId']=_0x2b07af,this['oldRevisionId']=_0x358b8e,this['changes']=new _0x2c2b4d();}['_setChanges'](_0x10762b){for(const _0x50c217 of _0x10762b)this['changes']['add'](_0x50c217);}}const tt={'c':_0x51c644,'a':_0x167e88,'e':_0x1308a0,'r':_0x4fa2e4,'u':_0x1650ab};class d extends _0x441918{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x6f54b8,_0x55f711,A];}constructor(_0x26e8f5){super(_0x26e8f5),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',(_0x32ecc9,_0x8821c7,_0x45b626)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x363c3e=>{for(const _0x2863b1 of this['editor']['editing']['view']['document']['roots'])_0x45b626?_0x363c3e['removeClass']('ck-editor__editable__overlay',_0x2863b1):_0x363c3e['addClass']('ck-editor__editable__overlay',_0x2863b1);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x3003bc=>null!==_0x3003bc),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x30e90b,_0x5229de,_0x5d8046)=>_0x30e90b&&_0x5d8046?_0x5229de['changes']['getIndex'](_0x5d8046):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x4a8f34,_0x5f0a05)=>_0x4a8f34?_0x5f0a05['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x55f711);}['init'](){const _0x30d773=this['editor'],_0x975a39=new yt(_0x30d773,{'direction':'backward'}),_0x2a157b=new yt(_0x30d773,{'direction':'forward'});(_0x30d773['commands']['add']('showPreviousChange',_0x975a39),_0x30d773['commands']['add']('showNextChange',_0x2a157b),_0x30d773['commands']['add']('restoreRevision',new bt(_0x30d773)),this['on']('change:numberOfChanges',()=>{_0x975a39['refresh'](),_0x2a157b['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x30d773['enableReadOnlyMode']('revision-viewer'),_0x30d773['plugins']['has']('WidgetToolbarRepository'))&&_0x30d773['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0xea02e6){await this['loadRevisionData'](_0xea02e6);const _0x19701a={};for(const _0x28c4ad in _0xea02e6['diffData']){if(_0xea02e6['diffData'][_0x28c4ad]['attachChange']&&!_0xea02e6['diffData'][_0x28c4ad]['attachChange']['isAttached'])continue;const _0x2233f7=this['_removeRevisionMarkers'](JSON['parse'](_0xea02e6['diffData'][_0x28c4ad]['insertions'])),_0x199d8b=this['editor']['editing']['view']['document'],_0x384146=new _0x44957f(_0x199d8b,_0x2233f7['map'](_0x48a612=>this['_getViewObj'](_0x48a612)));this['editor']['data']['processor']['useFillerType']('marked'),_0x19701a[_0x28c4ad]=this['editor']['data']['processor']['toData'](_0x384146),this['editor']['data']['processor']['useFillerType']('default');}return _0x19701a;}async['getRevisionRootsAttributes'](_0xf63b98){await this['loadRevisionData'](_0xf63b98);const _0x110afe={};for(const _0x5b4021 in _0xf63b98['diffData'])_0xf63b98['diffData'][_0x5b4021]['attachChange']&&!_0xf63b98['diffData'][_0x5b4021]['attachChange']['isAttached']||(_0x110afe[_0x5b4021]=_0xf63b98['diffData'][_0x5b4021]['attributesAfter']||{});return _0x110afe;}['_removeRevisionMarkers'](_0x2babca){return(_0x2babca=_0x2babca['filter'](_0x191bb6=>!_0x191bb6['name']||'revision-start'!==_0x191bb6['name']&&'revision-end'!==_0x191bb6['name']))['forEach'](_0x23841e=>{'string'!=typeof _0x23841e&&(_0x23841e['children']=this['_removeRevisionMarkers'](_0x23841e['children']),_0x23841e['attributes']=_0x23841e['attributes']['filter'](_0xcd2b1d=>!_0xcd2b1d[0x0]['startsWith']('data-revision-')));}),_0x2babca;}async['compare'](_0x4af283,_0x1057ed,_0x10aad9=!0x1){if(!this['isEnabled'])return;const _0x44b7d7=this['diff'],_0x2cc8e4=this['repository'],_0x334d67='string'==typeof _0x4af283?_0x2cc8e4['getRevision'](_0x4af283):_0x4af283,_0x470fcb='string'==typeof _0x1057ed?_0x2cc8e4['getRevision'](_0x1057ed):_0x1057ed,_0x13a8f7=_0x334d67['id'],_0x5bb8ce=_0x470fcb?_0x470fcb['id']:null;if(!_0x10aad9&&this['diff']&&this['diff']['newRevisionId']===_0x13a8f7&&this['diff']['oldRevisionId']===_0x5bb8ce)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x13a8f7,_0x5bb8ce);const _0x4adc6a=this['_getRevisionsRange'](_0x334d67,_0x470fcb,!0x0)['map'](_0x191e7a=>this['loadRevisionData'](_0x191e7a));return _0x4adc6a['push'](new Promise(_0x41ab9d=>{setTimeout(_0x41ab9d,0x14);})),Promise['all'](_0x4adc6a)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x574951=this['_getDiff'](_0x13a8f7,_0x5bb8ce);for(const _0x2ef467 of _0x574951['changes'])this['_changeIdToChange']['set'](_0x2ef467['id'],_0x2ef467);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0xc1d6dc=>{for(const _0x46924c of this['editor']['model']['document']['getRootNames']())_0xc1d6dc['detachRoot'](_0x46924c);for(const _0x1c9cfe of Object['keys'](_0x574951['model'])){const _0x4e87ac=_0xc1d6dc['addRoot'](_0x1c9cfe);for(const _0x1449d6 of Object['keys'](_0x574951['attributes'][_0x1c9cfe]))_0xc1d6dc['setAttribute'](_0x1449d6,_0x574951['attributes'][_0x1c9cfe][_0x1449d6],_0x4e87ac);_0xc1d6dc['insert'](_0x574951['model'][_0x1c9cfe],_0x4e87ac,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x574951['changes'])),this['isReady']=!0x0;})['catch'](_0x145f3c=>{console['error'](_0x145f3c),this['_cleanUp'](),_0x44b7d7&&(this['diff']=_0x44b7d7),this['isReady']=!0x0;});}['addRevisionData'](_0x4bd4c8,_0xf5c6a8){const _0x339927=this['repository']['createRevision'](_0x4bd4c8);return _0x339927['on']('_update',(_0x3f069e,_0x29baf8,_0x71e1e5)=>_0xf5c6a8(_0x29baf8,_0x71e1e5,_0x339927)),this['repository']['addRevision'](_0x339927),_0x339927;}['loadRevisionData'](_0x4840f5){if(!_0x4840f5||_0x4840f5['diffData'])return Promise['resolve']();{const _0x3d385c=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3d385c,'revisionId':_0x4840f5['id']})['then'](_0x58b1d9=>{_0x4840f5['_update']({'diffData':_0x58b1d9['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},_0x245825=>{for(const _0x42cbb4 of this['editor']['model']['document']['getRootNames']())_0x245825['detachRoot'](_0x42cbb4);});}['_sortAndFilterDiffChanges'](_0x8b1bfe){const _0x530df9=[],_0x3a3c03=new Map();for(const _0x244ffc of this['editor']['model']['document']['getRootNames']()){const _0x40c59d=this['editor']['editing']['view']['getDomRoot'](_0x244ffc);if(!_0x40c59d)continue;const _0x20218d=_0x40c59d['getClientRects']()['item'](0x0);_0x20218d&&(_0x530df9['push'](_0x244ffc),_0x3a3c03['set'](_0x244ffc,_0x20218d));}return _0x530df9['sort']((_0x43bc48,_0xdd8c54)=>{const _0x4ec916=_0x3a3c03['get'](_0x43bc48),_0x18c58e=_0x3a3c03['get'](_0xdd8c54);return _0x4ec916['y']-_0x18c58e['y']||_0x4ec916['x']-_0x18c58e['x'];}),(_0x8b1bfe=_0x8b1bfe['filter'](_0x38187c=>_0x530df9['includes'](_0x38187c['rootName'])))['sort']((_0x5e6f93,_0x97c0fa)=>_0x530df9['indexOf'](_0x5e6f93['rootName'])-_0x530df9['indexOf'](_0x97c0fa['rootName'])),_0x8b1bfe;}['_makeTape'](_0x24c80e){const _0x55d769=Array['from'](_0x24c80e['markers'])['filter'](([_0x3ae03a,_0x4d8488])=>_0x3ae03a['startsWith']('revision:')&&!_0x4d8488['isCollapsed']),_0x5a9515=Array['from'](this['editor']['model']['createRangeIn'](_0x24c80e)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x55d769['length'])for(const _0x172f01 of _0x5a9515){const [_0x5bd891,_0x535e66]=_0x55d769[0x0],[,_0x577321,_0x708816]=_0x5bd891['split'](':');if(_0x535e66['end']['isEqual'](_0x172f01['nextPosition'])&&_0x55d769['shift'](),(_0x172f01['previousPosition']['isEqual'](_0x535e66['start'])||_0x172f01['previousPosition']['isAfter'](_0x535e66['start']))&&('insertion'==_0x577321?_0x172f01['isAdded']={'userId':_0x708816}:'deletion'==_0x577321&&(_0x172f01['isRemoved']={'userId':_0x708816})),0x0==_0x55d769['length'])break;}return _0x5a9515;}['_refreshStartEndIndex'](_0xd0707b){const _0x462236=new Map();for(let _0x5326ff=0x0;_0x5326ff<_0xd0707b['length'];_0x5326ff++)'text'===_0xd0707b[_0x5326ff]['type']?(_0xd0707b[_0x5326ff]['item']['startIndex']=_0x5326ff,_0xd0707b[_0x5326ff]['item']['endIndex']=_0x5326ff):('elementStart'===_0xd0707b[_0x5326ff]['type']?_0xd0707b[_0x5326ff]['item']['startIndex']=_0x5326ff:'elementEnd'===_0xd0707b[_0x5326ff]['type']&&(_0xd0707b[_0x5326ff]['item']['endIndex']=_0x5326ff),_0x462236['set'](_0xd0707b[_0x5326ff]['id'],_0x5326ff));for(const _0x41a0b4 of _0x462236['values']())'elementStart'===_0xd0707b[_0x41a0b4]['type']?_0xd0707b[_0x41a0b4]['item']['endIndex']=_0x462236['get'](_0xd0707b[_0x41a0b4]['pairId']):'elementEnd'===_0xd0707b[_0x41a0b4]['type']&&(_0xd0707b[_0x41a0b4]['item']['startIndex']=_0x462236['get'](_0xd0707b[_0x41a0b4]['pairId']));}['_processTape'](_0x3f263f){for(let _0x55709b=0x0;_0x55709b<_0x3f263f['length'];_0x55709b++){if('elementStart'===_0x3f263f[_0x55709b]['type'])_0x3f263f[_0x55709b]['item']['startIndex']=_0x55709b;else{if('elementEnd'===_0x3f263f[_0x55709b]['type']){_0x3f263f[_0x55709b]['item']['endIndex']=_0x55709b;const _0x1b9ba0=_0x3f263f[_0x55709b]['item']['startIndex'];_0x3f263f[_0x1b9ba0]['pairId']=_0x3f263f[_0x55709b]['id'],_0x3f263f[_0x55709b]['pairId']=_0x3f263f[_0x1b9ba0]['id'];}else _0x3f263f[_0x55709b]['item']['startIndex']=_0x55709b,_0x3f263f[_0x55709b]['item']['endIndex']=_0x55709b,_0x3f263f[_0x55709b]['pairId']=null;}_0x3f263f[_0x55709b]['markersStart']||(_0x3f263f[_0x55709b]['markersStart']=[],_0x3f263f[_0x55709b]['markersEnd']=[]);}}['_markInsertions'](_0x223f6a,_0x2ab21f){const _0x5658ae=_0x223f6a['filter'](_0x4f3f37=>!_0x4f3f37['isAdded']);for(let _0x3c21c8=0x0;_0x3c21c8<_0x2ab21f['length'];_0x3c21c8++)_0x2ab21f[_0x3c21c8]['isAdded']&&(_0x5658ae[_0x3c21c8]['isAdded']=_0x2ab21f[_0x3c21c8]['isAdded']);}['_makeModelFromViewString'](_0x4c8ebb){const _0x5c2248=JSON['parse'](_0x4c8ebb),_0x50d055=this['editor']['editing']['view']['document'],_0x46afc0=new _0x44957f(_0x50d055,_0x5c2248['map'](_0x4d380c=>this['_getViewObj'](_0x4d380c)));return this['editor']['data']['toModel'](_0x46afc0);}['_getViewObj'](_0x349bbc){const _0xde803f=this['editor']['editing']['view']['document'];if('string'==typeof _0x349bbc)return new _0x3969d6(_0xde803f,_0x349bbc);{const _0x7bbec3=_0x349bbc['children']['map'](_0x280161=>this['_getViewObj'](_0x280161));return new(tt[_0x349bbc['type']]||_0x9d360e)(_0xde803f,_0x349bbc['name'],_0x349bbc['attributes'],_0x7bbec3);}}['_getDiff'](_0x3427fe,_0x1b2f30=null){const _0x4a6fc9=this['repository']['getRevision'](_0x3427fe),_0x73604a=_0x1b2f30?this['repository']['getRevision'](_0x1b2f30):null,_0x1e9af2=this['_getRevisionsRange'](_0x4a6fc9,_0x73604a),_0x4b8f35=_0x1e9af2[_0x1e9af2['length']-0x1],_0x396c48=new Map(),_0xcfac24={'model':{},'attributes':{},'changes':[]},_0x1c414d=new Set(),_0x18373b=new Map();for(let _0x11d622=_0x1e9af2['length']-0x1;_0x11d622>=0x0;_0x11d622--){const _0x1054c6=_0x1e9af2[_0x11d622];for(const _0x1a1d8a of Object['keys'](_0x1054c6['diffData']))if(_0x1054c6['diffData'][_0x1a1d8a]['attachChange']){const _0x5c4337=_0x1054c6['diffData'][_0x1a1d8a]['attachChange'];_0x5c4337['isAttached']?(_0x1c414d['add'](_0x1a1d8a),_0x18373b['has'](_0x1a1d8a)&&_0x18373b['get'](_0x1a1d8a)['userId']==_0x5c4337['userId']?_0x18373b['delete'](_0x1a1d8a):_0x18373b['set'](_0x1a1d8a,_0x5c4337)):_0x18373b['has'](_0x1a1d8a)?(_0x1c414d['delete'](_0x1a1d8a),_0x18373b['delete'](_0x1a1d8a)):(_0x1c414d['add'](_0x1a1d8a),_0x18373b['set'](_0x1a1d8a,_0x5c4337));}else _0x1c414d['add'](_0x1a1d8a);}for(const _0x516ce9 of _0x1c414d){const _0x315f79=_0x18373b['has'](_0x516ce9)&&!_0x18373b['get'](_0x516ce9)['isAttached'];let _0xa1fedc=_0x315f79?_0x1e9af2['length']-0x1:0x0;const _0x4efcbd=_0x315f79?-0x1:0x1;for(;_0x1e9af2[_0xa1fedc];){const _0x255c39=_0x1e9af2[_0xa1fedc];if(_0x255c39['diffData'][_0x516ce9]){const _0x2afc62=_0x315f79?_0x255c39['diffData'][_0x516ce9]['attributesBefore']:_0x255c39['diffData'][_0x516ce9]['attributesAfter'];_0xcfac24['attributes'][_0x516ce9]=_0x2afc62?_0x9cc40f(_0x2afc62):{};break;}_0xa1fedc+=_0x4efcbd;}}for(const _0x48b6ce of _0x1e9af2){_0x48b6ce['model']={};for(const _0x24d183 of _0x48b6ce['authors'])_0x396c48['set'](_0x24d183['id'],_0x24d183);for(const _0x5073e0 of _0x1c414d){const _0x18e63d=_0x48b6ce['diffData'][_0x5073e0]?_0x48b6ce['diffData'][_0x5073e0]['insertions']:'[]',_0x501fd2=_0x48b6ce['diffData'][_0x5073e0]?_0x48b6ce['diffData'][_0x5073e0]['deletions']:'[]';_0x48b6ce['model'][_0x5073e0]={'insertions':this['_makeModelFromViewString'](_0x18e63d),'deletions':this['_makeModelFromViewString'](_0x501fd2)};}}for(const _0x54e4c2 of _0x1c414d){let _0x6a6d80=null,_0x5be4f8=0x0;const _0x5a36c0=new Map(Array['from'](_0x4a6fc9['model'][_0x54e4c2]['insertions']['markers'])['filter'](([_0x568802])=>!_0x568802['startsWith']('revision:')));let _0x1d8019=0x0;for(const _0x5535bd of _0x1e9af2){const _0x4ec8a9=this['_makeTape'](_0x5535bd['model'][_0x54e4c2]['insertions']);_0x5535bd==_0x4a6fc9?(_0x6a6d80=_0x4ec8a9,_0x5be4f8=_0x6a6d80['length'],_0x6a6d80['forEach'](_0x4c056c=>{_0x4c056c['id']=_0x1d8019++;}),this['_processTape'](_0x6a6d80)):this['_markInsertions'](_0x6a6d80,_0x4ec8a9);const _0x4b7ae3=_0x6a6d80['filter'](_0x419b7f=>!_0x419b7f['isAdded'])['map'](_0x2f44cf=>_0x2f44cf['id']);let _0x28e520=0x0;const _0x1c106c=this['_makeTape'](_0x5535bd['model'][_0x54e4c2]['deletions']);_0x1c106c['forEach'](_0x59d445=>{_0x59d445['isRemoved']?_0x59d445['id']=_0x5be4f8++:_0x59d445['id']=_0x4b7ae3[_0x28e520++];}),this['_processTape'](_0x1c106c),this['_setDistance'](_0x6a6d80,'isAdded'),this['_setDistance'](_0x1c106c,'isRemoved'),_0x5535bd==_0x4a6fc9&&this['_markMarkers'](_0x6a6d80,_0x5a36c0),_0x6a6d80=this['_joinTapes'](_0x6a6d80,_0x1c106c),this['_refreshStartEndIndex'](_0x6a6d80),this['_setDistance'](_0x6a6d80,'isRemoved');}_0x6a6d80=_0x6a6d80['filter'](_0x486b9f=>!(_0x486b9f['isAdded']&&_0x486b9f['isRemoved']));const _0x3d7749=new Map(_0x4b8f35['model'][_0x54e4c2]['deletions']['markers']),_0x431d6f=new Set(_0x5a36c0['keys']());for(const _0x3ae50a of _0x3d7749['keys']())_0x431d6f['delete'](_0x3ae50a);this['_markSuggestions'](_0x6a6d80,_0x431d6f),this['_fixObsoleteTags'](_0x6a6d80),_0x6a6d80=this['_removeMissingPairs'](_0x6a6d80),_0x6a6d80=this['_markMismatchedRemovedTags'](_0x6a6d80),_0x6a6d80=this['_removeUnsupportedChanges'](_0x6a6d80);const {root:_0x1cd6cd,changes:_0x433ca9}=this['_makeModelFromTape'](_0x6a6d80,_0x396c48,_0x54e4c2);_0xcfac24['model'][_0x54e4c2]=_0x1cd6cd;const _0x5b5914=_0x18373b['get'](_0x54e4c2);if(_0x5b5914){const _0x15151b=_0x396c48['get'](_0x5b5914['userId']),_0x23baef=new r({'author':_0x15151b,'type':_0x5b5914['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x54e4c2});_0x433ca9['unshift'](_0x23baef),_0xcfac24['attributes'][_0x54e4c2]['revisionHistoryAttachChange']=_0x23baef['id'];}_0xcfac24['changes']=_0xcfac24['changes']['concat'](_0x433ca9);}return _0xcfac24;}['_markMarkers'](_0x4d5d46,_0x42cc89){for(let _0x1a1319=0x0;_0x1a1319<_0x4d5d46['length'];_0x1a1319++)for(const [_0x21363b,_0x4ae2a9]of _0x42cc89)_0x4ae2a9['start']['isEqual'](_0x4d5d46[_0x1a1319]['previousPosition'])&&_0x4d5d46[_0x1a1319]['markersStart']['push'](_0x21363b),_0x4ae2a9['end']['isEqual'](_0x4d5d46[_0x1a1319]['nextPosition'])&&_0x4d5d46[_0x1a1319]['markersEnd']['push'](_0x21363b);}['_joinTapes'](_0x3d1015,_0x2e7800){let _0x178723=[],_0x143e85=0x0,_0x50e11d=0x0;for(;_0x143e85<_0x3d1015['length']||_0x50e11d<_0x2e7800['length'];){const _0x469317=_0x3d1015[_0x143e85]||{},_0x5579b4=_0x2e7800[_0x50e11d]||{};if(_0x469317['id']==_0x5579b4['id'])_0x143e85++,_0x50e11d++,_0x178723['push'](_0x469317);else{if(_0x5579b4['isRemoved']&&_0x469317['isAdded']){const {commonTape:_0x47e28c,iEnd:_0x463d93,jEnd:_0x42b2f2}=this['_threeWayMerge'](_0x3d1015,_0x143e85,_0x2e7800,_0x50e11d);_0x178723=_0x178723['concat'](_0x47e28c),_0x143e85=_0x463d93,_0x50e11d=_0x42b2f2;}else _0x5579b4['isRemoved']?(_0x50e11d++,_0x178723['push'](_0x5579b4)):(_0x143e85++,_0x178723['push'](_0x469317));}}return _0x178723;}['_markSuggestions'](_0x5c90c2,_0x1c71f9){const _0x2994e8=[];for(let _0x413ff=0x0;_0x413ff<_0x5c90c2['length'];_0x413ff++){for(let _0x26985f=0x0;_0x26985f<_0x5c90c2[_0x413ff]['markersStart']['length'];_0x26985f++){const _0x11d6ef=_0x5c90c2[_0x413ff]['markersStart'][_0x26985f];if(!_0x1c71f9['has'](_0x11d6ef))continue;const {group:_0x5e7160,type:_0x4d89ec,authorId:_0x49c5d3}=_0x5dfd83(_0x11d6ef);'revision-suggestion'!=_0x5e7160||'insertion'!=_0x4d89ec&&'deletion'!=_0x4d89ec||(_0x2994e8['unshift']({'type':_0x4d89ec,'name':_0x11d6ef,'userId':_0x49c5d3}),_0x5c90c2[_0x413ff]['markersStart']['splice'](_0x26985f,0x1),_0x26985f--);}_0x3dec9d(_0x5c90c2[_0x413ff]);for(let _0x1e803f=0x0;_0x1e803f<_0x5c90c2[_0x413ff]['markersEnd']['length'];_0x1e803f++){const _0x570489=_0x5c90c2[_0x413ff]['markersEnd'][_0x1e803f];if(!_0x1c71f9['has'](_0x570489))continue;const {group:_0x36996c,type:_0x38644c}=_0x5dfd83(_0x570489);if('revision-suggestion'!=_0x36996c||'insertion'!=_0x38644c&&'deletion'!=_0x38644c)continue;_0x5c90c2[_0x413ff]['markersEnd']['splice'](_0x1e803f,0x1),_0x1e803f--;const _0x9cd747=_0x2994e8['findIndex'](_0x2266df=>_0x2266df['name']==_0x570489);_0x9cd747>-0x1&&_0x2994e8['splice'](_0x9cd747,0x1);}}function _0x5dfd83(_0x407dda){const _0x4fef06=_0x407dda['split'](':');return{'group':_0x4fef06[0x0],'type':_0x4fef06[0x1],'subType':_0x4fef06['length']>=0x5?_0x4fef06[0x2]:null,'id':_0x4fef06['length']<0x5?_0x4fef06[0x2]:_0x4fef06[0x3],'authorId':_0x4fef06['length']<0x5?_0x4fef06[0x3]:_0x4fef06[0x4],'markerCount':0x6==_0x4fef06['length']?_0x4fef06[0x5]:null};}function _0x3dec9d(_0x4d50fe){for(let _0x307cc3=0x0;_0x307cc3<_0x2994e8['length'];_0x307cc3++){if(_0x4d50fe['isAdded']&&'insertion'==_0x2994e8[_0x307cc3]['type'])return _0x4d50fe['isAddSuggestion']=_0x2994e8[_0x307cc3],void delete _0x4d50fe['isAdded'];if(!_0x4d50fe['isAdded']&&!_0x4d50fe['isRemoved']&&'deletion'==_0x2994e8[_0x307cc3]['type'])return void(_0x4d50fe['isRemoveSuggestion']=_0x2994e8[_0x307cc3]);}}}['_setDistance'](_0x364375,_0x2929c2){let _0x1131c9=0x0,_0x41606a=!0x1;const _0x2cf63f=new Map();for(const _0x23a6ed of _0x364375)_0x23a6ed[_0x2929c2]?_0x41606a&&(_0x1131c9++,_0x41606a=!0x1):(_0x1131c9++,_0x41606a=!0x0),_0x2cf63f['set'](_0x23a6ed['id'],_0x1131c9);for(let _0x2340db=0x0;_0x2340db<_0x364375['length'];_0x2340db++){if('isRemoved'==_0x2929c2&&_0x364375[_0x2340db]['isAdded']||'isAdded'==_0x2929c2&&_0x364375[_0x2340db]['isRemoved'])continue;if('text'==_0x364375[_0x2340db]['type']){_0x364375[_0x2340db]['distance']=0x0;continue;}const _0x157f2f=_0x2cf63f['get'](_0x364375[_0x2340db]['pairId']),_0x3cdccc=_0x2cf63f['get'](_0x364375[_0x2340db]['id']);_0x364375[_0x2340db]['distance']=_0x157f2f-_0x3cdccc;}}['_getRevisionsRange'](_0x5df077,_0x3aa2b4,_0x10fc58=!0x1){const _0x1b518a=[];let _0x3eaca4=this['repository']['getIndex'](_0x5df077),_0x250015=this['repository']['getIndex'](_0x3aa2b4);for(-0x1==_0x250015&&(_0x250015=this['repository']['_revisions']['length'],_0x10fc58=!0x1);_0x3eaca4<_0x250015;)_0x1b518a['push'](this['repository']['getRevision'](_0x3eaca4)),_0x3eaca4++;return _0x10fc58&&_0x1b518a['push'](this['repository']['getRevision'](_0x3eaca4)),_0x1b518a;}['_threeWayMerge'](_0x2a01eb,_0x5af7c8,_0x1d4bd3,_0x4d5c86){const _0x4603b6=this['editor']['model']['schema'];let _0x48e09f=_0x5af7c8;for(;_0x2a01eb[_0x48e09f]&&_0x2a01eb[_0x48e09f]['isAdded'];)_0x48e09f++;let _0x2fb8c9=_0x4d5c86;for(;_0x1d4bd3[_0x2fb8c9]&&_0x1d4bd3[_0x2fb8c9]['isRemoved'];)_0x2fb8c9++;_0x364186(_0x2a01eb,_0x5af7c8,_0x48e09f),_0x364186(_0x1d4bd3,_0x4d5c86,_0x2fb8c9);const _0x1187a6=_0x1d4bd3['slice'](_0x4d5c86,_0x2fb8c9)['concat'](_0x2a01eb['slice'](_0x5af7c8,_0x48e09f));return _0x1187a6['sort']((_0x39552f,_0x1b80c3)=>_0x39552f['side']!=_0x1b80c3['side']?_0x39552f['side']-_0x1b80c3['side']:_0x39552f['level']!=_0x1b80c3['level']?_0x39552f['level']-_0x1b80c3['level']:_0x39552f['distance']!=_0x1b80c3['distance']?_0x1b80c3['distance']-_0x39552f['distance']:!!_0x39552f['isAdded']!=!!_0x1b80c3['isAdded']?-0x1==_0x39552f['side']||0x0==_0x39552f['side']?_0x39552f['isAdded']?-0x1:0x1:_0x39552f['isAdded']?0x1:-0x1:_0x39552f['index']-_0x1b80c3['index']),{'commonTape':_0x1187a6,'iEnd':_0x48e09f,'jEnd':_0x2fb8c9};function _0x364186(_0x41487d,_0x20a6d3,_0x834ee6){let _0xa7ad1=-0x1,_0x1d2bab=Number['POSITIVE_INFINITY'],_0x2258a4=!0x0;for(let _0xc2d9d7=_0x20a6d3;_0xc2d9d7<_0x834ee6;_0xc2d9d7++)if(_0x4603b6['isInline'](_0x41487d[_0xc2d9d7]['item'])||(_0x2258a4=!0x1),_0x41487d[_0xc2d9d7]['item']['startIndex']<_0x20a6d3&&(_0xa7ad1=_0xc2d9d7),_0x41487d[_0xc2d9d7]['item']['endIndex']>=_0x834ee6){_0x1d2bab=_0xc2d9d7;break;}_0x2258a4&&(_0xa7ad1=_0x834ee6-0x1);for(let _0x5afbce=_0x20a6d3;_0x5afbce<_0x834ee6;_0x5afbce++)_0x41487d[_0x5afbce]['side']=_0x5afbce<=_0xa7ad1?-0x1:_0x5afbce<_0x1d2bab?0x0:0x1,_0x41487d[_0x5afbce]['index']=_0x5afbce;let _0x5a064e=0x0;for(let _0x1415c8=_0x20a6d3;_0x1415c8<=_0xa7ad1;_0x1415c8++)0x0==_0x41487d[_0x1415c8]['distance']?_0x41487d[_0x1415c8]['level']=_0x5a064e:(_0x5a064e++,_0x41487d[_0x1415c8]['level']=_0x5a064e,_0x5a064e++);for(let _0x17113e=_0x20a6d3;_0x17113e<_0x834ee6;_0x17113e++)0x0==_0x41487d[_0x17113e]['side']&&(_0x41487d[_0x17113e]['level']=_0x5a064e);_0x5a064e=0x0;for(let _0x5bcad5=_0x834ee6-0x1;_0x5bcad5>=_0x1d2bab;_0x5bcad5--)0x0==_0x41487d[_0x5bcad5]['distance']?_0x41487d[_0x5bcad5]['level']=_0x5a064e:(_0x5a064e--,_0x41487d[_0x5bcad5]['level']=_0x5a064e,_0x5a064e--);}}['_fixObsoleteTags'](_0x549fbe){const _0x128e12=new Map(),_0x251f64=this['editor']['model']['schema'];for(let _0x194a85=0x1;_0x194a85<_0x549fbe['length'];_0x194a85++){let _0x16c7bd,_0x1f61a1,_0x312442;const _0x415de1=_0x549fbe[_0x194a85],_0x5bf80a=_0x549fbe[_0x194a85-0x1];if('text'==_0x415de1['type'])continue;if(_0x415de1['type']!=_0x5bf80a['type'])continue;if(!_0x251f64['isBlock'](_0x5bf80a['item'])||_0x251f64['isLimit'](_0x5bf80a['item']))continue;if(!_0x251f64['isBlock'](_0x415de1['item'])||_0x251f64['isLimit'](_0x415de1['item']))continue;if((_0x549fbe[_0x194a85]['isAdded']||_0x549fbe[_0x194a85]['isAddSuggestion'])&&_0x549fbe[_0x194a85-0x1]['isRemoved'])_0x16c7bd=_0x549fbe[_0x194a85],_0x1f61a1=_0x549fbe[_0x194a85-0x1],_0x312442=_0x194a85-0x1;else{if(!_0x549fbe[_0x194a85]['isRemoved']||!_0x549fbe[_0x194a85-0x1]['isAdded']&&!_0x549fbe[_0x194a85-0x1]['isAddSuggestion'])continue;_0x16c7bd=_0x549fbe[_0x194a85-0x1],_0x1f61a1=_0x549fbe[_0x194a85],_0x312442=_0x194a85;}const _0x44ce9f=_0x16c7bd['level']==_0x1f61a1['level'],_0x14cb51=Math['abs'](_0x16c7bd['level'])<Math['abs'](_0x1f61a1['level'])&&0x0==_0x1f61a1['distance'];(_0x44ce9f||_0x14cb51)&&(_0x128e12['set'](_0x1f61a1['id'],_0x16c7bd['id']),_0x549fbe['splice'](_0x312442,0x1),_0x194a85--,_0x16c7bd['isAdded']=!0x1);}for(let _0x39b429=0x0;_0x39b429<_0x549fbe['length'];_0x39b429++)_0x128e12['has'](_0x549fbe[_0x39b429]['pairId'])&&(_0x549fbe[_0x39b429]['pairId']=_0x128e12['get'](_0x549fbe[_0x39b429]['pairId']));}['_removeMissingPairs'](_0xa44a3f){const _0x513970=new Set(_0xa44a3f['map'](_0xe02dd8=>_0xe02dd8['id']));for(let _0x255ef4=0x0;_0x255ef4<_0xa44a3f['length'];_0x255ef4++)_0x513970['has'](_0xa44a3f[_0x255ef4]['pairId'])||0x0==_0xa44a3f[_0x255ef4]['distance']||(_0xa44a3f[_0x255ef4]['isIncorrect']=!0x0);return _0xa44a3f['filter'](_0x248827=>!_0x248827['isIncorrect']);}['_markMismatchedRemovedTags'](_0x2cbb3e){const _0x4bb022=new Set();for(let _0x481074=0x0;_0x481074<_0x2cbb3e['length'];_0x481074++){if(_0x4bb022['has'](_0x2cbb3e[_0x481074]['id'])&&_0x2cbb3e[_0x481074]['isRemoved']&&(_0x2cbb3e[_0x481074]['isIncorrect']=!0x0),_0x2cbb3e[_0x481074]['isIncorrect'])continue;if(0x0==_0x2cbb3e[_0x481074]['distance'])continue;if('elementStart'!=_0x2cbb3e[_0x481074]['type'])continue;if(null==_0x2cbb3e[_0x481074]['pairId'])continue;let _0x5bde56=_0x481074+0x1,_0xa41bf=0x0;for(;_0x2cbb3e[_0x5bde56]['id']!=_0x2cbb3e[_0x481074]['pairId'];)'elementStart'==_0x2cbb3e[_0x5bde56]['type']?_0xa41bf++:'elementEnd'==_0x2cbb3e[_0x5bde56]['type']&&_0xa41bf--,_0x5bde56++;if(0x0!=_0xa41bf){if(_0x2cbb3e[_0x481074]['isRemoved'])_0x2cbb3e[_0x481074]['isIncorrect']=!0x0;else{for(;_0x5bde56!=_0x481074;)_0x2cbb3e[_0x5bde56]['isRemoved']&&0x0!=_0x2cbb3e[_0x5bde56]['distance']&&(_0x2cbb3e[_0x5bde56]['isIncorrect']=!0x0,_0x4bb022['add'](_0x2cbb3e[_0x5bde56]['pairId'])),_0x5bde56--;}}}return _0x2cbb3e['filter'](_0x22b337=>!_0x22b337['isIncorrect']);}['_removeUnsupportedChanges'](_0x4ace89){const _0x315bae=this['editor']['model']['schema'];for(let _0x636470=0x0;_0x636470<_0x4ace89['length'];_0x636470++){if(!(_0x4ace89[_0x636470]['isAdded']||_0x4ace89[_0x636470]['isAddSuggestion']||_0x4ace89[_0x636470]['isRemoved']||_0x4ace89[_0x636470]['isRemoveSuggestion']))continue;if(0x0==_0x4ace89[_0x636470]['distance'])continue;const _0x127cc6=_0x4ace89[_0x636470]['item'];_0x315bae['isBlock'](_0x127cc6)||_0x315bae['isLimit'](_0x127cc6)||(_0x4ace89[_0x636470]['isAdded']&&delete _0x4ace89[_0x636470]['isAdded'],_0x4ace89[_0x636470]['isAddSuggestion']&&delete _0x4ace89[_0x636470]['isAddSuggestion'],_0x4ace89[_0x636470]['isRemoveSuggestion']&&delete _0x4ace89[_0x636470]['isRemoveSuggestion'],_0x4ace89[_0x636470]['isRemoved']&&(_0x4ace89[_0x636470]['isIncorrect']=!0x0));}return _0x4ace89['filter'](_0x2fc799=>!_0x2fc799['isIncorrect']);}['_makeModelFromTape'](_0xd329a1,_0x18a5ef,_0x2072cb){const _0x43e56a=new wt(),_0x2587e1=[],_0x408ee4=new Map(),_0xe64470=this['editor']['model'],_0x27f9a1=_0xe64470['schema'],_0x2b51c9=[_0x43e56a],_0x449484={},_0x8d722e={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x141e40=null;const _0x765dae=[0x0];for(let _0x359fc3=0x0;_0x359fc3<_0xd329a1['length'];_0x359fc3++){let _0x423462,_0x3a5af4;if('elementStart'===_0xd329a1[_0x359fc3]['type']){_0x423462=_0xe64470['createPositionFromPath'](_0x43e56a,_0x765dae);const _0x331cb9=new ft(_0xd329a1[_0x359fc3]['item']['name'],_0xd329a1[_0x359fc3]['item']['getAttributes']());_0x2b51c9[0x0]['_appendChild'](_0x331cb9),_0x765dae['push'](0x0),_0x2b51c9['unshift'](_0x331cb9),_0x3a5af4=_0xe64470['createPositionFromPath'](_0x43e56a,_0x765dae),_0x141e40=null;}else{if('elementEnd'===_0xd329a1[_0x359fc3]['type'])_0x2b51c9['shift'](),_0x423462=_0xe64470['createPositionFromPath'](_0x43e56a,_0x765dae),_0x765dae['pop'](),_0x765dae[_0x765dae['length']-0x1]++,_0x3a5af4=_0xe64470['createPositionFromPath'](_0x43e56a,_0x765dae),_0x141e40=null;else{if(_0x423462=_0xe64470['createPositionFromPath'](_0x43e56a,_0x765dae),_0x141e40&&_0x323644(_0x141e40,_0xd329a1[_0x359fc3]['item']))_0x141e40['_data']+=_0xd329a1[_0x359fc3]['item']['data'];else{const _0x4335fb=new _t(_0xd329a1[_0x359fc3]['item']['data'],_0xd329a1[_0x359fc3]['item']['getAttributes']());_0x2b51c9[0x0]['_appendChild'](_0x4335fb),_0x141e40=_0x4335fb;}_0x765dae[_0x765dae['length']-0x1]+=_0xd329a1[_0x359fc3]['item']['offsetSize'],_0x3a5af4=_0xe64470['createPositionFromPath'](_0x43e56a,_0x765dae);}}for(const _0x11be2a of _0xd329a1[_0x359fc3]['markersStart'])_0x408ee4['set'](_0x11be2a,{'start':_0x423462,'end':null});_0x48f7ae('isRemoveSuggestion',_0x359fc3,_0x423462,_0x3a5af4),_0x48f7ae('isAddSuggestion',_0x359fc3,_0x423462,_0x3a5af4),_0x48f7ae('isRemoved',_0x359fc3,_0x423462,_0x3a5af4),_0x48f7ae('isAdded',_0x359fc3,_0x423462,_0x3a5af4);for(const _0x4b8bef of _0xd329a1[_0x359fc3]['markersEnd']){_0x408ee4['get'](_0x4b8bef)['end']=_0x3a5af4;}}for(const [_0x57a5e1,_0x14dd7d]of _0x408ee4){const _0x2e2e5c=this['editor']['model']['createRange'](_0x14dd7d['start'],_0x14dd7d['end']);_0x43e56a['markers']['set'](_0x57a5e1,_0x2e2e5c);}return _0x2587e1['sort']((_0x452c79,_0x54c793)=>{const _0x492b8c=_0x43e56a['markers']['get']('revision:'+_0x452c79['id']),_0x14c93d=_0x43e56a['markers']['get']('revision:'+_0x54c793['id']);return _0x492b8c['start']['isBefore'](_0x14c93d['start'])?-0x1:_0x492b8c['start']['isAfter'](_0x14c93d['start'])?0x1:_0x492b8c['end']['isBefore'](_0x14c93d['end'])?-0x1:_0x492b8c['end']['isAfter'](_0x14c93d['end'])?0x1:'add'===_0x452c79['type']?-0x1:0x1;}),{'root':_0x43e56a,'changes':_0x2587e1};function _0x48f7ae(_0x477325,_0x366361,_0x2423ab,_0x40fabe){const _0x490510=!!_0xd329a1[_0x366361][_0x477325],_0x394a7d=_0x490510?_0xd329a1[_0x366361][_0x477325]['userId']:null,_0x4e937e=_0x366361===_0xd329a1['length']-0x1,_0x396d28=_0x8d722e[_0x477325][0x0],_0x5b925c=_0x27f9a1['isObject'](_0xd329a1[_0x366361]['item']);!_0x449484[_0x477325]&&_0x490510?_0x449484[_0x477325]={'start':_0x2423ab,'tapeItem':_0xd329a1[_0x366361],'userId':_0x394a7d,'type':_0x477325}:_0x449484[_0x477325]&&!_0x490510?(_0x449484[_0x477325]['end']=_0x2423ab,_0x5caf7d(_0x449484[_0x477325]),_0x449484[_0x477325]=null):_0x449484[_0x477325]&&_0x490510&&_0x449484[_0x477325]['userId']!==_0x394a7d&&(_0x449484[_0x477325]['end']=_0x2423ab,_0x396d28&&_0x396d28['userId']===_0x449484[_0x477325]['userId']||_0x5caf7d(_0x449484[_0x477325]),_0x449484[_0x477325]={'start':_0x2423ab,'tapeItem':_0xd329a1[_0x366361],'userId':_0x394a7d,'type':_0x477325}),_0x449484[_0x477325]&&_0x5b925c&&('elementStart'!==_0xd329a1[_0x366361]['type']||_0x396d28&&_0x396d28['userId']===_0x394a7d||_0x8d722e[_0x477325]['unshift']({'userId':_0x394a7d,'object':_0xd329a1[_0x366361]['item'],'change':_0x449484[_0x477325]}),'elementEnd'===_0xd329a1[_0x366361]['type']&&_0x396d28&&_0x396d28['object']===_0xd329a1[_0x366361]['item']&&(_0x8d722e[_0x477325]['shift'](),_0x449484[_0x477325]=_0x396d28['change'])),_0x449484[_0x477325]&&_0x4e937e&&(_0x449484[_0x477325]['end']=_0x40fabe,_0x5caf7d(_0x449484[_0x477325]),_0x449484[_0x477325]=null);}function _0x5caf7d({start:_0x6bbde9,end:_0x35c553,tapeItem:_0x178ea6,userId:_0x1e219d,type:_0x3194c4}){const _0x57ef2f=_0x178ea6['item'],_0x430b2c=_0xe64470['schema']['isBlock'](_0x57ef2f)&&!_0xe64470['schema']['isLimit'](_0x57ef2f),_0x27f958=_0x6bbde9['nodeAfter']==_0x35c553['parent']&&_0x35c553['isAtStart'];if(_0x430b2c&&_0x27f958)return;const _0xcc465d=_0xe64470['createRange'](_0x6bbde9,_0x35c553),_0x135b54=_0x18a5ef['get'](_0x1e219d),_0x5897e3=new r({'author':_0x135b54,'type':'isAdded'==_0x3194c4||'isAddSuggestion'==_0x3194c4?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x3194c4||'isRemoveSuggestion'==_0x3194c4},'createdAt':new Date(),'rootName':_0x2072cb});_0x2587e1['push'](_0x5897e3),_0x43e56a['markers']['set']('revision:'+_0x5897e3['id'],_0xcc465d);}function _0x323644(_0xa7b66f,_0x33b169){const _0x1d2d3c=_0xa7b66f['getAttributes'](),_0xbd1797=_0x33b169['getAttributes']();for(const _0x52c855 of _0x1d2d3c){if(_0x52c855[0x1]!==_0x33b169['getAttribute'](_0x52c855[0x0]))return!0x1;_0xbd1797['next']();}return _0xbd1797['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x501b9b=>{const _0x1cc03c=_0x501b9b['markerName']['split'](':')[0x1],_0x390c77=this['_getChangeFromId'](_0x1cc03c);if(!_0x390c77)return null;const _0x27e800='add'==_0x390c77['type']?'insertion':'deletion',_0x47c76e=['ck-suggestion-marker','ck-suggestion-marker-'+_0x27e800];return _0x390c77['data']['isSuggestion']&&_0x47c76e['push']('ck-suggestion-marker-'+_0x27e800+'-new'),this['activeChange']==_0x390c77&&_0x47c76e['push']('ck-suggestion-marker--active'),{'classes':_0x47c76e,'attributes':{'data-change-id':_0x1cc03c}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x40908b=>{_0x40908b['on']('element:pre',(_0xbae11b,_0x26b101,_0xbc8d1a)=>{const _0x383663=_0x26b101['viewItem']['getChild'](0x0);if(!_0x383663||!_0x383663['is']('element','code'))return;if(!_0xbc8d1a['consumable']['consume'](_0x383663,{'attributes':['vid_start','vid_end']}))return;const _0xa01990=_0x26b101['modelRange']['start']['nodeAfter'];_0xbc8d1a['writer']['setAttribute']('vid_start',_0x383663['getAttribute']('vid_start'),_0xa01990),_0xbc8d1a['writer']['setAttribute']('vid_end',_0x383663['getAttribute']('vid_end'),_0xa01990);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x5d7305=>{_0x5d7305['on']('element',(_0x208ab0,_0x3a50e7,_0x48ee03)=>{if(!_0x48ee03['consumable']['consume'](_0x3a50e7['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x3a50e7['modelRange']['isCollapsed'])return;const _0x5630eb=_0x3a50e7['modelRange']['start']['nodeAfter'];_0x5630eb['hasAttribute']('vid_start')||_0x5630eb['hasAttribute']('vid')||(_0x48ee03['writer']['setAttribute']('vid_start',_0x3a50e7['viewItem']['getAttribute']('vid_start'),_0x5630eb),_0x48ee03['writer']['setAttribute']('vid_end',_0x3a50e7['viewItem']['getAttribute']('vid_end'),_0x5630eb));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x3b7ba4=>_0x3b7ba4['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x4ff30a,[,_0x17c328])=>{['vid_start','vid_end','vid']['includes'](_0x17c328)&&(_0x4ff30a['return']=!0x0,_0x4ff30a['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x19ccc7=>{_0x19ccc7['on']('attribute:vid',(_0x29e80e,_0xf8f3a,_0x20ef22)=>{if('\x20'!=_0xf8f3a['item']['data']||_0xf8f3a['item']['parent']['maxOffset']>0x1)return;if(!_0x20ef22['consumable']['consume'](_0xf8f3a['item'],_0x29e80e['name']))return;const _0x3bd619=_0x20ef22['writer'],_0xf2e446=_0x20ef22['mapper']['toViewRange'](_0xf8f3a['range']);_0x3bd619['wrap'](_0xf2e446,_0x3bd619['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x2e7161){const _0x40f148=_0x2e7161['plugins']['get']('RevisionViewer');return(_0x71d92b,_0xef38bd,_0x493c33)=>{const _0x3700a3=_0xef38bd['markerName']['split'](':')[0x1],_0x56bc35=_0x40f148['_getChangeFromId'](_0x3700a3);if(!_0x56bc35)return null;const _0xc9bab='add'==_0x56bc35['type']?'split':'merge';if(!_0x493c33['consumable']['test'](_0xef38bd['markerRange'],_0x71d92b['name']))return;const _0x575b40=_0xef38bd['markerRange']['getWalker'](),_0x2244c8=_0xef38bd['markerRange']['start'],_0x33d75a=_0x2e7161['model']['schema'];let _0x24eeba=null,_0x444b40=null,_0x5c2cb6=!0x1,_0x41031f=!0x1;for(const _0x1dc6a3 of _0x575b40){const _0x17de4b=_0x1dc6a3['item'];_0x5c2cb6=_0x5c2cb6||_0x33d75a['isContent'](_0x17de4b);const _0x4e3b94=_0x493c33['mapper']['toViewElement'](_0x17de4b);if(_0x4e3b94&&_0x4e3b94['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1dc6a3['type']&&(_0x33d75a['isBlock'](_0x17de4b)&&!_0x33d75a['isLimit'](_0x17de4b)&&(_0x17de4b['nextSibling']||_0x2244c8['isAtEnd']?_0x24eeba&&_0x24eeba['parent']==_0x17de4b||(_0x24eeba=_0x17de4b,_0x5effe5(_0x1dc6a3['previousPosition']),_0x41031f=!0x0):_0x444b40=_0x444b40||_0x1dc6a3['previousPosition']));}function _0x5effe5(_0x538393){const _0x19d9ea=_0x493c33['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xc9bab}),_0x541886=_0x493c33['mapper']['toViewPosition'](_0x538393);_0x56bc35['data']['isSuggestion']&&_0x493c33['writer']['addClass']('ck-suggestion-marker-'+_0xc9bab+'-new',_0x19d9ea),_0x40f148['activeChange']==_0x56bc35&&_0x493c33['writer']['addClass']('ck-suggestion-marker--active',_0x19d9ea),_0x493c33['writer']['insert'](_0x541886,_0x19d9ea),_0x493c33['mapper']['bindElementToMarker'](_0x19d9ea,_0xef38bd['markerName']);}_0x5c2cb6||_0x41031f||!_0x444b40||_0x5effe5(_0x444b40);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x5be027,_0xc0218b,_0xef7b63)=>{const _0x2b25ab=_0xef7b63['mapper']['markerNameToElements'](_0xc0218b['markerName']);if(_0x2b25ab){for(const _0x53a454 of _0x2b25ab)(_0x53a454['hasClass']('ck-suggestion-marker-split')||_0x53a454['hasClass']('ck-suggestion-marker-merge'))&&(_0xef7b63['mapper']['unbindElementFromMarkerName'](_0x53a454,_0xc0218b['markerName']),_0xef7b63['writer']['remove'](_0x53a454));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0xec149,_0xf3532,_0x3cda0d)=>{const _0x1dc597=_0xf3532['markerName']['split'](':')[0x1],_0x5ba084=this['_getChangeFromId'](_0x1dc597);if(!_0x5ba084)return null;const _0x5d3d25='add'==_0x5ba084['type']?'split':'merge';if(_0x3cda0d['consumable']['test'](_0xf3532['markerRange'],_0xec149['name']))for(const _0x36617f of _0xf3532['markerRange']['getItems']()){if(!_0x36617f['is']('element','softBreak'))continue;const _0xddc815=_0x3cda0d['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5d3d25}),_0x2e0054=_0x3cda0d['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x36617f));_0x5ba084['data']['isSuggestion']&&_0x3cda0d['writer']['addClass']('ck-suggestion-marker-'+_0x5d3d25+'-new',_0xddc815),this['activeChange']==_0x5ba084&&_0x3cda0d['writer']['addClass']('ck-suggestion-marker--active',_0xddc815),_0x3cda0d['writer']['insert'](_0x2e0054,_0xddc815),_0x3cda0d['mapper']['bindElementToMarker'](_0xddc815,_0xf3532['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x521512=>{for(const _0x3b93e5 of this['editor']['model']['document']['getRootNames']()){const _0x1df7e2=this['editor']['model']['document']['getRoot'](_0x3b93e5),_0x58561f=this['editor']['editing']['view']['document']['getRoot'](_0x3b93e5);if(_0x58561f){const _0x15fd33=_0x1df7e2['getAttribute']('revisionHistoryAttachChange');if(_0x521512['removeAttribute']('data-change-id',_0x58561f),_0x521512['removeClass']('ck-revision-history-root-add',_0x58561f),_0x521512['removeClass']('ck-revision-history-root-remove',_0x58561f),_0x521512['removeClass']('ck-revision-history-root--active',_0x58561f),_0x15fd33){const _0x4dde04=this['_getChangeFromId'](_0x15fd33);if(!_0x4dde04)return null;_0x521512['setAttribute']('data-change-id',_0x15fd33,_0x58561f),_0x521512['addClass']('ck-revision-history-root-'+_0x4dde04['type'],_0x58561f),this['activeChange']==_0x4dde04&&_0x521512['addClass']('ck-revision-history-root--active',_0x58561f);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x269a3d=>'revision-comment:'+_0x269a3d,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x349e2d=>'revision-suggestion:'+_0x349e2d,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x2eb571=>({'name':'suggestion:'+_0x2eb571,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x41cc34=>{const _0x5b9392=_0x41cc34['markerName']['split'](':')[0x1];return'insertion'!=_0x5b9392&&'deletion'!=_0x5b9392?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x5b9392]};}}),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',(_0x120385,_0x51f5c8,_0xfc8d3)=>{const _0x594a79=_0xfc8d3['mapper']['markerNameToElements'](_0x51f5c8['markerName']);if(_0x594a79){for(const _0x288de5 of _0x594a79)_0x288de5['is']('uiElement')&&(_0xfc8d3['mapper']['unbindElementFromMarkerName'](_0x288de5,_0x51f5c8['markerName']),_0xfc8d3['writer']['remove'](_0x288de5));}},{'priority':'high'});}['_getChangeFromId'](_0x237705){return this['_changeIdToChange']['get'](_0x237705);}['_getViewForChange'](_0x3e9828){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x3e9828),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x1c9205,_0x1b8939,_0x56b7eb,_0x438253)=>{_0x438253&&this['_balloon']['remove'](_0x438253),_0x56b7eb&&(this['_balloon']['add']({'view':_0x56b7eb,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0xdd0200=this['editor']['editing'],_0x1c09cd=this['_getChangeFromId'](_0x56b7eb['changeId']);let _0x58ceca;if(_0x1c09cd['data']['isOnRoot']){const _0x505841=_0xdd0200['view']['getDomRoot'](_0x1c09cd['rootName']);_0x58ceca=Array['from'](_0x505841['getClientRects']());}else{const _0x1e2a76=this['editor']['model']['markers']['get']('revision:'+_0x56b7eb['changeId']);_0x58ceca=Array['from'](_0xdd0200['mapper']['markerNameToElements'](_0x1e2a76['name']))['map'](_0x10b984=>_0xdd0200['view']['domConverter']['mapViewToDom'](_0x10b984))['map'](_0x362a69=>Array['from'](_0x362a69['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x58ceca[0x0];return _0x58ceca['find'](_0x32a523=>_0x32a523['top']-0x3<=this['_activeViewTarget']['y']&&_0x32a523['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x32a523['left']-0x3<=this['_activeViewTarget']['x']&&_0x32a523['right']+0x3>=this['_activeViewTarget']['x'])||_0x58ceca[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x4b3a3a,_0x301a70,_0xa3f5fc,_0x26b667)=>{this['activeView']=_0xa3f5fc?this['_getViewForChange'](_0xa3f5fc):null,this['editor']['model']['change'](()=>{const _0x24305=this['editor']['editing'];_0x26b667&&(_0x26b667['data']['isOnRoot']?_0x24305['view']['change'](_0x34158c=>{_0x34158c['removeClass']('ck-revision-history-root--active',_0x24305['view']['document']['getRoot'](_0x26b667['rootName']));}):_0x24305['reconvertMarker']('revision:'+_0x26b667['id'])),_0xa3f5fc&&(_0xa3f5fc['data']['isOnRoot']?_0x24305['view']['change'](_0x446236=>{_0x446236['addClass']('ck-revision-history-root--active',_0x24305['view']['document']['getRoot'](_0xa3f5fc['rootName']));}):_0x24305['reconvertMarker']('revision:'+_0xa3f5fc['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x4f8574,_0x14ba35)=>{if(this['activeChange'])return;const _0x5e3092=this['_findChangeIdFromDomTarget'](_0x14ba35['target']),_0x45b7ac=this['_changeIdToChange']['get'](_0x5e3092);_0x45b7ac?(this['_activeViewTarget']={'x':_0x14ba35['domEvent']['x'],'y':_0x14ba35['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x45b7ac)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x5038e1,_0xccad82)=>{const _0x190155=this['_findChangeIdFromDomTarget'](_0xccad82['target']),_0x589f2e=this['_changeIdToChange']['get'](_0x190155);_0x589f2e?(this['_activeViewTarget']={'x':_0xccad82['domEvent']['x'],'y':_0xccad82['domEvent']['y']},_0x589f2e===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x589f2e):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x308ab1){do{const _0x2fe446=_0x308ab1['getAttribute']('data-change-id');if(_0x2fe446)return _0x2fe446;_0x308ab1=_0x308ab1['parent'];}while(_0x308ab1);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x1f8190=>{for(const _0x1009f6 of this['editor']['model']['markers'])_0x1f8190['removeMarker'](_0x1009f6);});}}function et(_0x58ac3a,_0x5d10dc){return(_0x558560,_0x2b90da,_0x18d094)=>{if(!_0x18d094['consumable']['test'](_0x2b90da['markerRange'],_0x558560['name']))return;const _0x18ad27=_0x2b90da['markerRange']['getWalker'](),_0x3c1af4=_0x2b90da['markerRange']['start'],_0xd07ad8=_0x58ac3a['model']['schema'];let _0x571fb3=null,_0x5dfa5f=null,_0x39a302=!0x1,_0x371009=!0x1;for(const _0x37250e of _0x18ad27){const _0xb21f98=_0x37250e['item'];_0x39a302=_0x39a302||_0xd07ad8['isContent'](_0xb21f98);const _0x2ff2f7=_0x18d094['mapper']['toViewElement'](_0xb21f98);if(_0x2ff2f7&&_0x2ff2f7['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x37250e['type']&&(_0xd07ad8['isBlock'](_0xb21f98)&&!_0xd07ad8['isLimit'](_0xb21f98)&&(_0xb21f98['nextSibling']||_0x3c1af4['isAtEnd']?_0x571fb3&&_0x571fb3['parent']==_0xb21f98||(_0x571fb3=_0xb21f98,_0x762bda(_0x37250e['previousPosition']),_0x371009=!0x0):_0x5dfa5f=_0x5dfa5f||_0x37250e['previousPosition']));}function _0x762bda(_0x1ce654){const _0x5a78c2=_0x18d094['mapper']['toViewPosition'](_0x1ce654),_0x1a80f7=_0x18d094['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x5d10dc});_0x18d094['writer']['insert'](_0x5a78c2,_0x1a80f7),_0x18d094['mapper']['bindElementToMarker'](_0x1a80f7,_0x2b90da['markerName']);}_0x39a302||_0x371009||!_0x5dfa5f||_0x762bda(_0x5dfa5f);};}class bt extends _0x5a27bb{constructor(_0x4d5099){super(_0x4d5099);const _0x4e0d96=_0x4d5099['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x4e0d96,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x4e0d96,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x251f39=this['editor'],_0x1074e2=_0x251f39['plugins']['get'](d),_0x51a4d4=_0x1074e2['isReady']?_0x1074e2['diff']['newRevisionId']:null;_0x251f39['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x51a4d4);}['refresh'](){const {isReady:_0x13f04f,isEnabled:_0x4feebb}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x13f04f&&_0x4feebb;}}class yt extends _0x5a27bb{['_step'];constructor(_0x752247,{direction:_0x3a1788}){super(_0x752247);const _0x400d80=_0x752247['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x3a1788?0x1:-0x1,this['listenTo'](_0x400d80,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x400d80,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x400d80,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x484c31=this['editor'],_0x15a37c=_0x484c31['plugins']['get'](d),{isNavigationMode:_0x3053dc,currentChangeNumber:_0x11c71c}=_0x15a37c;let _0x351a54;if(_0x15a37c['activeChange']=_0x3053dc?_0x15a37c['diff']['changes']['get'](_0x11c71c+this['_step']):_0x15a37c['diff']['changes']['first'],_0x15a37c['activeChange']['data']['isOnRoot'])_0x351a54=_0x484c31['editing']['view']['getDomRoot'](_0x15a37c['activeChange']['rootName']);else{const _0x141452=_0x484c31['model']['markers']['get']('revision:'+_0x15a37c['activeChange']['id']);_0x351a54=_0x42305e(_0x484c31['editing'],_0x141452);}_0x5c09ab({'target':_0x351a54,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x19796b,currentChangeNumber:_0x4a46b4,numberOfChanges:_0x4785a2,isReady:_0x508cce,isEnabled:_0x140e61}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x140e61&&_0x508cce&&_0x4785a2)&&(!_0x19796b||(0x1===this['_step']?_0x4a46b4<_0x4785a2-0x1:_0x4a46b4>0x0));}}class _i extends _0x36d658{constructor(_0x529938){super(_0x529938);const _0x276412=this['bindTemplate'],_0x47171b=new _0xf92697(_0x529938),_0x3b10a5=new _0xf92697(_0x529938);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',(_0x44cdc6,_0x4791ea)=>_0x44cdc6&&_0x4791ea>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x90b9d,_0x3cb5ba,_0x124e66,_0x268c90)=>{if(!_0x90b9d)return y(_0x529938,'Loading...');if(!_0x124e66)return y(_0x529938,'No\x20changes');const _0x1f640a=y(_0x529938,'NUMBER_OF_CHANGES',_0x124e66);return _0x268c90?y(_0x529938,'X_OF_Y_CHANGES',[_0x3cb5ba+0x1,_0x124e66]):_0x1f640a;}),_0x47171b['set']({'label':y(_0x529938,'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'}),_0x3b10a5['set']({'label':y(_0x529938,'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'}),_0x47171b['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x3b10a5['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x47171b['on']('execute',()=>this['fire']('execute','backward')),_0x3b10a5['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',_0x276412['if']('_isStatusLabelVisible','ck-hidden',_0x5bfdb5=>!_0x5bfdb5)]},'children':[{'text':_0x276412['to']('isNavigationMode',_0x40b9e0=>_0x40b9e0?y(_0x529938,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x529938,'Total')+':\x20')}]},{'text':_0x276412['to']('_statusText')}]},new _0x39e1aa(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x47171b,_0x3b10a5]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x441918{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x129385=this['editor']['editing']['view'];_0x129385['change'](_0x260e0a=>{for(const _0x383877 of _0x129385['document']['roots'])_0x260e0a['addClass'](ce,_0x383877);});}['hide'](){const _0x1da4c3=this['editor']['editing']['view'];_0x1da4c3['change'](_0x467ad7=>{for(const _0x38363f of _0x1da4c3['document']['roots'])_0x467ad7['removeClass'](ce,_0x38363f);});}}class R extends _0x441918{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x2f706b=this['editor'],_0x3c574f=_0x2f706b['plugins']['get'](d),_0x5331d3=_0x2f706b['plugins']['get'](de);_0x2f706b['ui']['componentFactory']['add']('exitToEditing',_0xc2a018=>{const _0x380032=new _0xf92697(_0xc2a018);return _0x380032['set']({'label':y(_0xc2a018,'Back\x20to\x20editing'),'icon':_0x52b183['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x380032,'execute',()=>{_0x2f706b['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x380032;}),_0x2f706b['ui']['componentFactory']['add']('restoreRevision',_0x50739e=>{const _0x23d77e=new _0xf92697(_0x50739e);return _0x23d77e['set']({'label':y(_0x50739e,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x23d77e['bind']('isEnabled')['to'](_0x2f706b['commands']['get']('restoreRevision')),this['listenTo'](_0x23d77e,'execute',()=>_0x2f706b['execute']('restoreRevision')),_0x23d77e;}),_0x2f706b['ui']['componentFactory']['add']('changesNavigation',_0x204744=>{const _0x792210=new _i(_0x204744),_0x518418=_0x2f706b['commands']['get']('showPreviousChange'),_0x1f61bc=_0x2f706b['commands']['get']('showNextChange');return _0x792210['bind']('isBackwardNavigationEnabled')['to'](_0x518418,'isEnabled'),_0x792210['bind']('isForwardNavigationEnabled')['to'](_0x1f61bc,'isEnabled'),_0x792210['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x3c574f),this['listenTo'](_0x792210,'execute',(_0x4720d9,_0x1c3475)=>{_0x2f706b['execute']('forward'===_0x1c3475?'showNextChange':'showPreviousChange');}),_0x792210;}),_0x5331d3['show'](),_0x3c574f['on']('change:isReady',(_0x25be77,_0x27b425,_0x45a697)=>{_0x45a697?_0x5331d3['hide']():_0x5331d3['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0xcf9631,_0x49570b){super(_0xcf9631,_0x49570b);const _0x5c9c9c=this['bindTemplate'];this['set']({'label':y(_0xcf9631,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0xcf9631,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x5c9c9c['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 _0xd8613b=this['fieldView']['element'];this['_tooltipString']=_0xd8613b['scrollWidth']>_0xd8613b['clientWidth']&&_0xd8613b['value']||'';}}class ti extends _0x36d658{constructor(_0x5bfac3,_0x2b1a2b,_0x579220){super(_0x5bfac3);const _0xaffbd4=new _0x395cee();_0xaffbd4['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 _0x56f136=['ck','ck-revision-history-sidebar__revision-author'];_0x579220&&_0x56f136['push']('ck-revision-history-sidebar__revision-author_creator');const _0x276e99=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x5bfac3,_0x579220?'Revision\x20creator':'Revision\x20author')},'children':[_0xaffbd4,_0x2b1a2b['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x56f136},'children':_0x276e99});}}function ni(_0x1255bc,_0x59287d){const _0x53c004=_0x1255bc['bindTemplate'],_0xf632a9=_0x1255bc['locale'],_0x5f540c=_0xa4d4ca(_0xf632a9);_0x5f540c['panelPosition']='sw';const _0x54304a=function(_0x125b66,_0xaa6756){const _0x114f69=function(_0x42c111,_0x53833a){const _0x31132d=_0x42c111['locale'],_0x1d8d7d={'Compare\x20against\x20selected':y(_0x31132d,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x31132d,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x31132d,'Restore\x20this\x20revision')};return _0x53833a['map'](_0x545e51=>{const _0x5cc58e=_0x1d8d7d[_0x545e51['name']];return _0x5cc58e&&_0x5cc58e!==_0x545e51['name']&&(_0x545e51['name']=_0x5cc58e),_0x545e51;});}(_0x125b66,_0xaa6756),_0x465ff2=new _0x2c2b4d();for(const _0x2129e6 of _0x114f69){const _0x216b7c={'type':'button','model':new to({'label':_0x2129e6['name'],'class':_0x2129e6['class'],'withText':!0x0,'role':'menuitem','_action':_0x2129e6['action']})};_0x216b7c['model']['bind']('isEnabled')['to'](_0x125b66,'isActionsDropdownOpen',_0x1fa6e8=>'function'!=typeof _0x2129e6['isEnabled']||(!_0x1fa6e8||_0x2129e6['isEnabled'](_0x125b66))),_0x465ff2['add'](_0x216b7c);}return _0x465ff2;}(_0x1255bc,_0x59287d);return _0x1255bc['bind']('isActionsDropdownOpen')['to'](_0x5f540c,'isOpen'),_0x5f540c['buttonView']['set']({'label':y(_0xf632a9,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x52b183['threeVerticalDots']}),_0x5f540c['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x53c004['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x53c004['to'](_0x31cab1=>_0x31cab1['stopPropagation']())}}),_0x5f540c['on']('execute',_0x546996=>{_0x1255bc['isReady']&&'function'==typeof _0x546996['source']['_action']&&_0x546996['source']['_action'](_0x1255bc);}),_0xea0560(_0x5f540c,_0x54304a,{'role':'menu'}),_0x5f540c['listenTo'](_0x1255bc,'change:isActionsDropdownOpen',(_0x37abb0,_0x359d65,_0x4dc858)=>{if(_0x4dc858)for(const _0x3e7e7d of _0x5f540c['listView']['items']){const _0x417384=_0x3e7e7d['children']['first'],_0x5bd360=_0x59287d['find'](_0x1dd3ee=>_0x1dd3ee['action']===_0x417384['_action'])['isVisible'];_0x3e7e7d['isVisible']=void 0x0===_0x5bd360||_0x5bd360(_0x1255bc);}}),_0x5f540c;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x3d482e(_0x36d658){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x5c3a78,_0x3a563a,_0x9a579a,_0x24874f){super(_0x5c3a78);const _0x467239=this['bindTemplate'],_0x12b0e5=function(_0x54f501,_0x3d38f8){const _0x2443b3=Array['from'](_0x3d38f8['authors'])['filter'](_0x5c6639=>_0x5c6639!=_0x3d38f8['creator']);return _0x3d38f8['creator']&&_0x2443b3['unshift'](_0x3d38f8['creator']),_0x2443b3['map'](_0x5118bd=>new ti(_0x54f501,_0x5118bd,_0x5118bd==_0x3d38f8['creator']));}(_0x5c3a78,_0x3a563a);this['id']=_0x3a563a['id'],this['_revision']=_0x3a563a,this['_requireRevisionName']=_0x24874f,this['bind']('name','createdAt')['to'](_0x3a563a),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x5d3fd9=>{return _0x28f46e=_0x5c3a78['uiLanguage'],(_0x3dc51f=_0x5d3fd9)['toLocaleDateString'](_0x28f46e,{'month':'long','day':'numeric'})+',\x20'+_0x3dc51f['toLocaleTimeString'](_0x28f46e,{'hour':'numeric','minute':'numeric'});var _0x28f46e,_0x3dc51f;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x5c3a78,_0x21e52f),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x346afc=>_0x346afc||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x1e7d95,_0x47cae1)=>_0x1e7d95&&_0x47cae1),this['revisionActionsView']=_0x9a579a&&_0x9a579a['length']?ni(this,_0x9a579a):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x467239['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x467239['if']('isEnabled','ck-disabled',_0x1946a2=>!_0x1946a2),_0x467239['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x467239['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x467239['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':_0x467239['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':_0x12b0e5}]},this['revisionActionsView']],'on':{'click':_0x467239['to'](_0x3f7c16=>{_0x3f7c16['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x19f5ef=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x19f5ef,'change',()=>{this['_requireRevisionName']&&!_0x19f5ef['value']||this['fire']('setName',{'id':this['id'],'name':_0x19f5ef['value']}),_0x19f5ef['value']||(_0x19f5ef['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(_0x5a1b94,_0x21747e){const _0x54971b=_0x76cc64['fromJSDate'](_0x5a1b94)['setLocale'](_0x21747e),_0x24de41=_0x76cc64['local'](),_0x190bdf=_0x24de41['minus']({'days':0x1})['startOf']('day');let _0x28e7a4,_0x13bea8;return _0x54971b['hasSame'](_0x24de41,'day')?(_0x28e7a4=_0x54971b['startOf']('day')['toJSDate'](),_0x13bea8=_0x54971b['toRelativeCalendar']()):_0x54971b['hasSame'](_0x190bdf,'day')?(_0x28e7a4=_0x190bdf['toJSDate'](),_0x13bea8=_0x54971b['toRelativeCalendar']()):_0x54971b['hasSame'](_0x24de41,'week')?(_0x28e7a4=_0x54971b['startOf']('week')['toJSDate'](),_0x13bea8=_0x54971b['weekdayLong']||''):_0x54971b['hasSame'](_0x24de41,'year')?(_0x28e7a4=_0x54971b['startOf']('month')['toJSDate'](),_0x13bea8=_0x54971b['monthLong']||''):(_0x28e7a4=_0x54971b['startOf']('year')['toJSDate'](),_0x13bea8=String(_0x54971b['year'])),{'startDate':_0x28e7a4,'localizedPeriodName':_0x13bea8};}class mi extends _0x36d658{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x5255ac,_0xf3efa3,_0x369afa,_0x574f0a){super(_0x5255ac);const _0x5af656=di(_0xf3efa3,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0xf3efa3,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x369afa,this['_requireRevisionName']=_0x574f0a,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':_0x5af656}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x4ca8e5){const _0x394672=new ai(this['locale'],_0x4ca8e5,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x394672);}['removeRevision'](_0x54b3e0){const _0x5490bc=this['revisionViews']['find'](_0x3d0b7d=>_0x3d0b7d['id']===_0x54b3e0['id']);this['revisionViews']['remove'](_0x5490bc);}}class as extends _0x36d658{constructor(_0x22d1f9){super(_0x22d1f9);const _0x2274b5=new _0x395cee();_0x2274b5['content']=_0x52b183['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x2274b5,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x22d1f9,'Revision\x20history')]}]});}}class ci extends _0x36d658{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x2bd1d4,_0x1f6e09,_0x507b90,_0x3c88d7){super(_0x2bd1d4);const _0x100e02=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x1f6e09,this['_revisionActions']=_0x507b90,this['_requireRevisionName']=_0x3c88d7,this['on']('select',(_0x4a2f9e,_0x236010)=>{this['fire']('revisionSelected',_0x236010);}),this['on']('setName',(_0x40ee53,_0x48cdd4)=>{this['fire']('revisionSetName',_0x48cdd4);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x2bd1d4),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x100e02['if']('isEnabled','ck-disabled',_0x3d12a2=>!_0x3d12a2)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x4b3abf of this['_revisions'])this['_addRevision'](_0x4b3abf);this['_revisions']['on']('add',(_0x46630b,_0x2108be)=>{this['_addRevision'](_0x2108be);}),this['_revisions']['on']('remove',(_0x1d2cb0,_0x1266c0)=>{this['_removeRevision'](_0x1266c0);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x3dd527=>_0x3dd527['revisionViews']['map'](_0x42abdd=>_0x42abdd))['flat']();}['selectRevision'](_0x44c7c9){for(const _0x2a8bcf of this['revisionViews'])_0x44c7c9&&_0x44c7c9['id']===_0x2a8bcf['id']?_0x2a8bcf['select']():_0x2a8bcf['deselect']();}['highlightRevisions'](_0x3acf97){for(const _0x2d9e0c of this['revisionViews'])_0x3acf97['some'](({id:_0x46a4bf})=>_0x46a4bf===_0x2d9e0c['id'])?_0x2d9e0c['highlight']():_0x2d9e0c['unhighlight']();}['_addRevision'](_0x108f1a){const _0x105ed4=di(_0x108f1a['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x3b209=this['timePeriodViews']['get'](0x0);_0x3b209&&_0x3b209['startDate']['getTime']()===_0x105ed4['getTime']()||(_0x3b209=new mi(this['locale'],_0x105ed4,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x3b209)),_0x3b209['addRevision'](_0x108f1a);}['_removeRevision'](_0x1f90db){const _0x4c29c8=di(_0x1f90db['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x4c29c8)['removeRevision'](_0x1f90db);}['_getTimePeriodViewByStartDate'](_0x776271){return this['timePeriodViews']['find'](_0x120ede=>_0x120ede['startDate']['getTime']()===_0x776271['getTime']());}}class w extends _0x441918{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x18654b,Context as _0x5a1a8a,PendingActions as _0x4e21af,icons as _0x22d62c,Command as _0xf2a719,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x2b3d8d,uid as _0x1fef2a,Collection as _0x11a29b,logWarning as _0x9be4b7,FocusTracker as _0x3eadd8,KeystrokeHandler as _0x5e2ba8,scrollViewportToShowTarget as _0x1712b9,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x171c0c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x2619e6,getMarkerDomElement as _0x2648a9,ConfirmMixin as _0x481dc5,sanitizeEditorConfig as _0x8b23e3}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x3b60fc,ViewText as _0x6b7091,ViewElement as _0x57d40e,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x1a9549,ViewAttributeElement as _0x1fbea8,ViewEmptyElement as _0x231d56,ViewRawElement as _0x522c63,ViewUIElement as _0x170638,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x30931d,set as _0x577f58,unset as _0xff1279,isEqual as _0x3825f8}from'lodash-es';import{View as _0x2cc590,injectCssTransitionDisabler as ts,submitHandler as _0x40b8c1,LabeledFieldView as at,createLabeledInputText as _0x1f6267,createDropdown as _0x46a514,ListView as te,ListItemView as _0xd7f1fb,ButtonView as _0x3ce999,MenuBarMenuView as _0xe61ffa,MenuBarMenuListView as _0x40e2be,MenuBarMenuListItemView as _0x3c5a94,MenuBarMenuListItemButtonView as _0x553942,ContextualBalloon as _0x4ba25a,ToolbarSeparatorView as _0x1f3e8a,IconView as _0x181ffe,addListToDropdown as _0x194c1a,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 _0x804a2a}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x2b3d8d(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x248376){super(),this['id']=_0x248376['id']||_0x1fef2a(),this['creator']=_0x248376['creator']||null,this['authors']=_0x248376['authors']||[],this['diffData']=_0x248376['diffData']||null,this['toVersion']=_0x248376['toVersion']||0x0,this['fromVersion']=_0x248376['fromVersion']||0x0,this['set']('name',_0x248376['name']||''),this['set']('createdAt',_0x248376['createdAt']||new Date()),this['set']('attributes',_0x248376['attributes']||{});}['setName'](_0x15f43b){this['_update']({'name':_0x15f43b});}['setAttribute'](_0x5c3a8e,_0x410dbf){const _0x20ba18=_0x30931d(this['attributes']);_0x577f58(_0x20ba18,_0x5c3a8e,_0x410dbf),this['_update']({'attributes':_0x20ba18});}['removeAttribute'](_0x20371f){const _0x14cc70=_0x30931d(this['attributes']);_0xff1279(_0x14cc70,_0x20371f),this['_update']({'attributes':_0x14cc70});}['_update'](_0x11b0ed,_0x3d794d=!0x1){let _0x40cd72=!0x1;const _0x2f211e={'id':this['id']},_0x4e4652=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x35c6f3 of _0x4e4652){const _0x303ef7=_0x11b0ed[_0x35c6f3];void 0x0!==_0x303ef7&&_0x303ef7!==this[_0x35c6f3]&&(this[_0x35c6f3]=_0x303ef7,_0x2f211e[_0x35c6f3]=_0x303ef7,_0x40cd72=!0x0);}_0x40cd72&&(_0x2f211e['authors']&&(_0x2f211e['authorsIds']=_0x2f211e['authors']['map'](_0x59ce31=>_0x59ce31['id']),delete _0x2f211e['authors']),this['fire']('_update',_0x2f211e,_0x3d794d));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x690671=>_0x690671['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x18654b{['_revisions'];static get['requires'](){return[_0x2619e6];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x2357b6){super(_0x2357b6),this['_revisions']=new _0x11a29b();}['afterInit'](){!function(_0x227939){function _0x44f82e(_0x4e7f89,_0x482803,_0x1591ba){const _0x36e2c8={};_0x36e2c8[_0xd7dcf4([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x36e2c8[_0xd7dcf4([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],_0x36e2c8[_0xd7dcf4([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],_0x36e2c8[_0xd7dcf4([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],_0x36e2c8[_0xd7dcf4([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],_0x36e2c8[_0xd7dcf4([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],_0x36e2c8[_0xd7dcf4([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],_0x36e2c8[_0xd7dcf4([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],_0x36e2c8[_0xd7dcf4([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],_0x36e2c8[_0xd7dcf4([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],_0x36e2c8[_0xd7dcf4([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 _0x4de4a1=new Uint8Array(0x10);for(let _0xd67a5=0xf;_0xd67a5>=0x0;--_0xd67a5)_0x4de4a1[_0xd67a5]=_0x1591ba%0x100,_0x1591ba=parseInt(_0x1591ba/0x100);let _0x5d62ea=null,_0x2e89c4=0x10;const _0x4dc5be=new Uint8Array(_0x482803),_0x325580=[],_0x576989=[];_0x1b0297();for(let _0x559d27=0x0;_0x559d27<_0x4e7f89[_0xd7dcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x559d27++)0x10===_0x2e89c4&&(_0x5d62ea=_0x39dcbc(_0x4de4a1),_0x2e89c4=0x0,_0x4cd998(_0x4de4a1)),_0x4e7f89[_0x559d27]^=_0x5d62ea[_0x2e89c4++];return _0x4e7f89;function _0x3cbacf(_0x4e11f9){const _0xdac62=[];for(let _0x42cc48=0x0;_0x42cc48<_0x4e11f9[_0xd7dcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42cc48+=0x4)_0xdac62[_0xd7dcf4([0x70,0x75,0x73,0x68])](_0x4e11f9[_0x42cc48]<<0x18|_0x4e11f9[_0x42cc48+0x1]<<0x10|_0x4e11f9[_0x42cc48+0x2]<<0x8|_0x4e11f9[_0x42cc48+0x3]);return _0xdac62;}function _0x4cd998(_0x7be958){for(let _0x33fb15=0xf;_0x33fb15>=0x0;_0x33fb15--){if(0xff!==_0x7be958[_0x33fb15]){_0x7be958[_0x33fb15]++;break;}_0x7be958[_0x33fb15]=0x0;}}function _0x39dcbc(_0xae3f78){const _0x37d0cf=_0x325580[_0xd7dcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x154e9e=[0x0,0x0,0x0,0x0];let t=_0x3cbacf(_0xae3f78);for(let _0x15ce8f=0x0;_0x15ce8f<0x4;_0x15ce8f++)t[_0x15ce8f]^=_0x325580[0x0][_0x15ce8f];for(let _0x5ed498=0x1;_0x5ed498<_0x37d0cf;_0x5ed498++){for(let _0x4e7055=0x0;_0x4e7055<0x4;_0x4e7055++)_0x154e9e[_0x4e7055]=_0x36e2c8[_0xd7dcf4([0x54,0x31])][t[_0x4e7055]>>0x18&0xff]^_0x36e2c8[_0xd7dcf4([0x54,0x32])][t[(_0x4e7055+0x1)%0x4]>>0x10&0xff]^_0x36e2c8[_0xd7dcf4([0x54,0x33])][t[(_0x4e7055+0x2)%0x4]>>0x8&0xff]^_0x36e2c8[_0xd7dcf4([0x54,0x34])][0xff&t[(_0x4e7055+0x3)%0x4]]^_0x325580[_0x5ed498][_0x4e7055];t=_0x154e9e[_0xd7dcf4([0x73,0x6c,0x69,0x63,0x65])]();}const _0x116dbf=new Uint8Array(0x10);let _0x50f483;for(let _0x1c3126=0x0;_0x1c3126<0x4;_0x1c3126++)_0x50f483=_0x325580[_0x37d0cf][_0x1c3126],_0x116dbf[0x4*_0x1c3126]=0xff&(_0x36e2c8[_0xd7dcf4([0x53])][t[_0x1c3126]>>0x18&0xff]^_0x50f483>>0x18),_0x116dbf[0x4*_0x1c3126+0x1]=0xff&(_0x36e2c8[_0xd7dcf4([0x53])][t[(_0x1c3126+0x1)%0x4]>>0x10&0xff]^_0x50f483>>0x10),_0x116dbf[0x4*_0x1c3126+0x2]=0xff&(_0x36e2c8[_0xd7dcf4([0x53])][t[(_0x1c3126+0x2)%0x4]>>0x8&0xff]^_0x50f483>>0x8),_0x116dbf[0x4*_0x1c3126+0x3]=0xff&(_0x36e2c8[_0xd7dcf4([0x53])][0xff&t[(_0x1c3126+0x3)%0x4]]^_0x50f483);return _0x116dbf;}function _0x1b0297(){const _0x910046=_0x36e2c8[_0xd7dcf4([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x4dc5be[_0xd7dcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0xd54d30=0x0;_0xd54d30<=_0x910046;_0xd54d30++)_0x325580[_0xd7dcf4([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x576989[_0xd7dcf4([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x3aab5c=0x4*(_0x910046+0x1),_0x1dbb83=_0x4dc5be[_0xd7dcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x275488=_0x3cbacf(_0x4dc5be);let _0x281dd2;for(let _0x3f2248=0x0;_0x3f2248<_0x1dbb83;_0x3f2248++)_0x281dd2=_0x3f2248>>0x2,_0x325580[_0x281dd2][_0x3f2248%0x4]=_0x275488[_0x3f2248],_0x576989[_0x910046-_0x281dd2][_0x3f2248%0x4]=_0x275488[_0x3f2248];let _0xa9bef4,_0x3dda40=0x0,t=_0x1dbb83;for(;t<_0x3aab5c;){_0xa9bef4=_0x275488[_0x1dbb83-0x1],_0x275488[0x0]^=_0x36e2c8[_0xd7dcf4([0x53])][_0xa9bef4>>0x10&0xff]<<0x18^_0x36e2c8[_0xd7dcf4([0x53])][_0xa9bef4>>0x8&0xff]<<0x10^_0x36e2c8[_0xd7dcf4([0x53])][0xff&_0xa9bef4]<<0x8^_0x36e2c8[_0xd7dcf4([0x53])][_0xa9bef4>>0x18&0xff]^_0x36e2c8[_0xd7dcf4([0x72,0x63,0x6f,0x6e])][_0x3dda40]<<0x18,_0x3dda40+=0x1;for(let _0x25249c=0x1;_0x25249c<_0x1dbb83/0x2;_0x25249c++)_0x275488[_0x25249c]^=_0x275488[_0x25249c-0x1];_0xa9bef4=_0x275488[_0x1dbb83/0x2-0x1],_0x275488[_0x1dbb83/0x2]^=_0x36e2c8[_0xd7dcf4([0x53])][0xff&_0xa9bef4]^_0x36e2c8[_0xd7dcf4([0x53])][_0xa9bef4>>0x8&0xff]<<0x8^_0x36e2c8[_0xd7dcf4([0x53])][_0xa9bef4>>0x10&0xff]<<0x10^_0x36e2c8[_0xd7dcf4([0x53])][_0xa9bef4>>0x18&0xff]<<0x18;for(let _0x7abb23=_0x1dbb83/0x2+0x1;_0x7abb23<_0x1dbb83;_0x7abb23++)_0x275488[_0x7abb23]^=_0x275488[_0x7abb23-0x1];let _0x595255,_0x2e0872,_0x434865=0x0;for(;_0x434865<_0x1dbb83&&t<_0x3aab5c;)_0x595255=t>>0x2,_0x2e0872=t%0x4,_0x325580[_0x595255][_0x2e0872]=_0x275488[_0x434865],_0x576989[_0x910046-_0x595255][_0x2e0872]=_0x275488[_0x434865++],t++;}for(let _0x316173=0x1;_0x316173<_0x910046;_0x316173++)for(let _0x494ab0=0x0;_0x494ab0<0x4;_0x494ab0++)_0xa9bef4=_0x576989[_0x316173][_0x494ab0],_0x576989[_0x316173][_0x494ab0]=_0x36e2c8[_0xd7dcf4([0x55,0x31])][_0xa9bef4>>0x18&0xff]^_0x36e2c8[_0xd7dcf4([0x55,0x32])][_0xa9bef4>>0x10&0xff]^_0x36e2c8[_0xd7dcf4([0x55,0x33])][_0xa9bef4>>0x8&0xff]^_0x36e2c8[_0xd7dcf4([0x55,0x34])][0xff&_0xa9bef4];}}function _0xd7dcf4(_0x440628){return _0x440628['map'](_0x3fc5a5=>String['fromCharCode'](_0x3fc5a5))['join']('');}(_0x44143a=>{function _0xf3166b(){const _0x149ef6=[{[_0xd7dcf4([0x69,0x64])]:0x1,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0xd7dcf4([0x69,0x64])]:0x2,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([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]),[_0xd7dcf4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd7dcf4([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0xd7dcf4([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0xd7dcf4([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0xd7dcf4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd7dcf4([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0xd7dcf4([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0xd7dcf4([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0xd7dcf4([0x69,0x64])]:0x3,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd7dcf4([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0xd7dcf4([0x69,0x64])]:0x4,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([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]),[_0xd7dcf4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd7dcf4([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0xd7dcf4([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0xd7dcf4([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0xd7dcf4([0x69,0x64])]:0x5,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd7dcf4([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]),[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xd7dcf4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd7dcf4([0x66,0x67,0x69])]:[0xc]}},{[_0xd7dcf4([0x69,0x64])]:0x6,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd7dcf4([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xd7dcf4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd7dcf4([0x66,0x67,0x69])]:[0xc]}},{[_0xd7dcf4([0x69,0x64])]:0x7,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd7dcf4([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xd7dcf4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd7dcf4([0x66,0x67,0x69])]:[0xc]}},{[_0xd7dcf4([0x69,0x64])]:0x8,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd7dcf4([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]),[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xd7dcf4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd7dcf4([0x66,0x67,0x69])]:[0xc]}},{[_0xd7dcf4([0x69,0x64])]:0x9,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd7dcf4([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xd7dcf4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd7dcf4([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0xd7dcf4([0x69,0x64])]:0xa,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([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]),[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([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]),[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd7dcf4([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]),[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xd7dcf4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd7dcf4([0x66,0x67,0x69])]:[0xc]}},{[_0xd7dcf4([0x69,0x64])]:0xb,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd7dcf4([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0xd7dcf4([0x69,0x64])]:0xc,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0xd7dcf4([0x69,0x64])]:0xd,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd7dcf4([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xd7dcf4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd7dcf4([0x66,0x67,0x69])]:[0xc]}},{[_0xd7dcf4([0x69,0x64])]:0xe,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0xd7dcf4([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([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])},{[_0xd7dcf4([0x69,0x64])]:0xf,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd7dcf4([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0xd7dcf4([0x69,0x64])]:0x10,[_0xd7dcf4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0xd7dcf4([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0xd7dcf4([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0xd7dcf4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0xd7dcf4([0x66,0x67,0x69])]:[0xc]}}];return _0x5600dc(_0x149ef6),_0x149ef6;function _0x372f37(_0x23f229){return 0x1<<_0x23f229-0x1;}function _0x5600dc(_0x43f806){_0x43f806[_0xd7dcf4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3ff0f3=>{_0x3ff0f3[_0xd7dcf4([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x372f37(_0x3ff0f3[_0xd7dcf4([0x69,0x64])]),_0x541971(_0x3ff0f3)&&_0x3ff0f3[_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5600dc(_0x3ff0f3[_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x541971(_0x4860e2){return _0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x4860e2;}const _0x2a3300=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x4c41b4=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x3e8cf4(_0x136766){const _0x1d8f75=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0xb5546d(_0x136766,new Uint8Array([..._0x2a3300,..._0x1d8f75,..._0x4c41b4]));}function _0xb5546d(_0xaa4b65,_0x40bc92){const _0x56572e=_0x39261f(_0xaa4b65),_0x4bd8cc=Array[_0xd7dcf4([0x66,0x72,0x6f,0x6d])](_0x5e806d(_0x56572e)),_0x1fc153=_0x4bd8cc[_0xd7dcf4([0x70,0x6f,0x70])](),_0xb945e2=_0x4bd8cc[_0xd7dcf4([0x70,0x6f,0x70])]();return _0x290b83(_0x44f82e(_0x4bd8cc,_0x40bc92,_0xb945e2+0x100*_0x1fc153));}function _0x39261f(_0x3541c9){const _0x1dccef=atob(_0x3541c9),[_0x3cb522,_0x2c7358]=_0x1dccef[_0xd7dcf4([0x73,0x70,0x6c,0x69,0x74])](_0xd7dcf4([0x2d]));try{if(atob(_0x2c7358))return atob(_0x3cb522);}catch(_0x81aafa){}return _0x1dccef;}function _0x57ba1b(_0x1a921b){try{const _0x461e02=_0x3e8cf4(_0x1a921b),_0x40e8c8=JSON[_0xd7dcf4([0x70,0x61,0x72,0x73,0x65])](_0x461e02),_0x39c862=parseInt(_0x40e8c8[_0xd7dcf4([0x31])]),_0xeb1f56=_0x40e8c8[_0xd7dcf4([0x32])]||'',_0x3e3907=parseInt(_0x40e8c8[_0xd7dcf4([0x33])]),_0x3fd3ac=parseInt(_0x40e8c8[_0xd7dcf4([0x34])])||0x0,_0x28bd50=parseInt(_0x40e8c8[_0xd7dcf4([0x35])])||0x0;return{[_0xd7dcf4([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0xeb1f56,[_0xd7dcf4([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x3fd3ac,[_0xd7dcf4([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x39c862,[_0xd7dcf4([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x3e3907,[_0xd7dcf4([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x28bd50};}catch(_0x590ea5){return null;}}const _0x181366=_0xf3166b(),_0xae618e={[_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x57f816,[_0xd7dcf4([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])]:_0x5432e3,[_0xd7dcf4([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])]:_0x281fb4},_0x26e537=_0x44143a[_0xd7dcf4([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x1845d2=_0xd7dcf4([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x44143a?_0x44143a['context']:_0x44143a['editor'],_0x33c0c8=_0xd7dcf4([0x34,0x30,0x34,0x38,0x31,0x34,0x33,0x34]),_0x4ee3aa=_0xd7dcf4([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]),_0x3379a0=_0x1845d2['config']['get'](_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x519012=_0x181366[_0xd7dcf4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x541971)[_0xd7dcf4([0x66,0x69,0x6e,0x64])](_0x5b7c5e=>_0x5b7c5e[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x26e537);function _0x467928(_0x1bfbad,_0x149d2d){_0xae618e[_0x149d2d[_0xd7dcf4([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x1bfbad,_0x149d2d),_0x149d2d[_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x149d2d[_0xd7dcf4([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0xd7dcf4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x564c46=>_0x112fe3(_0x1845d2,_0x564c46[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0xd7dcf4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2144af=>_0x467928(_0x1bfbad,_0x2144af));}function _0x57f816(_0x27ec97,_0x25bc2c){_0x5c0379(_0x3c89d7(_0x27ec97,_0x25bc2c),_0x25bc2c);}function _0x5432e3(_0x58dda1,_0x278762){function _0x25d4f6(_0x1c0a57,_0x5bddea){try{if(_0x112fe3(_0x1845d2,_0xd7dcf4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x1c0a57){const _0x427106=_0x1c0dc2(_0x1845d2,_0xd7dcf4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0xd7dcf4([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x427106)/0x2>_0x1c0a57[_0xd7dcf4([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x365dbb(_0x5bddea[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x3c89d7(_0x1c0a57,_0x5bddea);}catch(_0x294373){return _0x365dbb(_0x5bddea[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x5c0379(_0x25d4f6(_0x58dda1,_0x278762),_0x278762);}function _0x281fb4(_0xe99892,_0x3d6c03){const _0x3a56f6=_0x4c41b4[0x0]*_0x2a3300[0x1],_0x44e07c=_0x4c41b4[0x0]*_0x2a3300[0x2],_0x407d16=_0x4c41b4[0x2]*_0x2a3300[0x2];_0x112fe3(_0x1845d2,_0xd7dcf4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1c0dc2(_0x1845d2,_0xd7dcf4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0xd7dcf4([0x73,0x74,0x61,0x74,0x65])]==_0xd7dcf4([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x12d1bd()]=_0x407d16);function _0x3772ac(_0x3c6ab1,_0x5a6d22){try{return _0x59cbf4()?_0x365dbb(_0x5a6d22[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x56,0x61,0x6c,0x69,0x64])):_0x3c89d7(_0x3c6ab1,_0x5a6d22);}catch(_0x2e9f2b){return _0x365dbb(_0x5a6d22[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x6246b4(_0x37f02d,_0x597cde){const _0x548c4b=0x7;if(_0x37f02d==_0x597cde[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x46f21f();else{if(_0x37f02d==_0x597cde[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x54,0x72,0x69,0x61,0x6c])){const _0x148d50=_0x55fbbc();_0x148d50&&_0x2de525(_0x148d50,_0x597cde[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x55121f=_0x398724();window[_0xd7dcf4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2de525(_0xd7dcf4([0x74,0x69,0x6d,0x65]),_0x597cde[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x55121f);const _0xc4f3c5=_0x1c0dc2(_0x1845d2,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0xd7dcf4([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0xc4f3c5[_0xd7dcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x548c4b?_0x2de525(_0xd7dcf4([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x597cde[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0xc4f3c5['on'](_0xd7dcf4([0x61,0x64,0x64]),()=>{_0xc4f3c5[_0xd7dcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x548c4b&&_0x2de525(_0xd7dcf4([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x597cde[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x55fbbc(){if(!_0x112fe3(_0x1845d2,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4b9c05 in window)if(Number['isNaN'](Number(_0x4b9c05))){if(window[_0x4b9c05]===_0x3a56f6)return _0xd7dcf4([0x74,0x69,0x6d,0x65]);if(window[_0x4b9c05]===_0x44e07c)return _0xd7dcf4([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x59cbf4(){if(!_0x112fe3(_0x1845d2,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x54af23 in window)if(Number['isNaN'](Number(_0x54af23))&&window[_0x54af23]===_0x407d16)return!0x0;return!0x1;}function _0x2de525(_0x496e2,_0x147641){_0x46f21f(),_0x365dbb(_0x147641+_0xd7dcf4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x496e2),window[_0x12d1bd()]=_0x496e2===_0xd7dcf4([0x74,0x69,0x6d,0x65])?_0x3a56f6:_0x44e07c;}function _0x398724(){let _0x3e329f=_0x4c41b4[0x6]*_0x2a3300[0x8]*_0x2a3300[0x6];return _0x112fe3(_0x1845d2,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3e329f/=0xa),_0x3e329f;}function _0x46f21f(){const _0xb8e14b=_0x1845d2;function _0x29ba9d(){_0x112fe3(_0xb8e14b,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x1c0dc2(_0xb8e14b,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xd7dcf4([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0xd7dcf4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1c0dc2(_0xb8e14b,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xd7dcf4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1c0dc2(_0xb8e14b,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xd7dcf4([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x209349,_0x1c0dc2(_0xb8e14b,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0xd7dcf4([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x209349,_0xb8e14b[_0xd7dcf4([0x6d,0x6f,0x64,0x65,0x6c])][_0xd7dcf4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x209349,_0xb8e14b[_0xd7dcf4([0x6d,0x6f,0x64,0x65,0x6c])][_0xd7dcf4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x209349,_0xb8e14b[_0xd7dcf4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xd7dcf4([0x6d,0x6f,0x64,0x65,0x6c]))),_0x112fe3(_0xb8e14b,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1c0dc2(_0xb8e14b,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xd7dcf4([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0xd7dcf4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1c0dc2(_0xb8e14b,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xd7dcf4([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1c0dc2(_0xb8e14b,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xd7dcf4([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x209349,_0x1c0dc2(_0xb8e14b,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xd7dcf4([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x209349);}_0xb8e14b[_0xd7dcf4([0x73,0x74,0x61,0x74,0x65])]==_0xd7dcf4([0x72,0x65,0x61,0x64,0x79])?_0x29ba9d():_0xb8e14b[_0xd7dcf4([0x6f,0x6e,0x63,0x65])](_0xd7dcf4([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x112fe3(_0xb8e14b,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x29ba9d(),_0x112fe3(_0xb8e14b,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x1fdda7=_0x1c0dc2(_0xb8e14b,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x3ff53a=_0x1fdda7['getRevision'](0x0),_0x2522af=_0x1fdda7['getEarlierVisibleRevision'](_0x3ff53a[_0xd7dcf4([0x69,0x64])]);_0x1c0dc2(_0xb8e14b,_0xd7dcf4([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0xd7dcf4([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x3ff53a[_0xd7dcf4([0x69,0x64])],_0x2522af?_0x2522af[_0xd7dcf4([0x69,0x64])]:null,0x1)['then'](()=>_0x29ba9d());}});}_0x6246b4(_0x3772ac(_0xe99892,_0x3d6c03),_0x3d6c03);}function _0x3c89d7(_0x48da01,_0x540394){try{return _0x5f2597(_0x540394)?_0x365dbb(_0x540394[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x56,0x61,0x6c,0x69,0x64])):_0x48da01&&_0x5178cb(_0x48da01[_0xd7dcf4([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x540394)?_0x48da01[_0xd7dcf4([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0xd7dcf4([0x6f,0x70,0x65,0x6e])][_0xd7dcf4([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x33c0c8)/0x2>_0x48da01[_0xd7dcf4([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x365dbb(_0x540394[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x48da01[_0xd7dcf4([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x365dbb(_0x540394[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x54,0x72,0x69,0x61,0x6c])):_0x365dbb(_0x540394[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x56,0x61,0x6c,0x69,0x64])):_0x365dbb(_0x540394[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x2c7be2){return _0x365dbb(_0x540394[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5c0379(_0x17df35,_0x288360){if(_0x1845d2 instanceof _0x5a1a8a){const _0x3b9d21=_0x1845d2;_0x17df35==_0x288360[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x482a79(_0x3b9d21):_0x17df35==_0x288360[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x54,0x72,0x69,0x61,0x6c])&&window[_0xd7dcf4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x482a79(_0x3b9d21),_0x365dbb(_0x288360[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x4c41b4[0x6]*_0x2a3300[0x8]*_0x2a3300[0x6]),_0x3b9d21[_0xd7dcf4([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0xd7dcf4([0x6f,0x6e])](_0xd7dcf4([0x61,0x64,0x64]),(_0x2dccb3,_0x4145d2)=>{_0x17df35!=_0x288360[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x17df35!=_0x288360[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x17df35!=_0x288360[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x42f9d1(_0x4145d2);});}else{const _0x1a19b1=_0x1845d2;_0x17df35==_0x288360[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x42f9d1(_0x1a19b1):_0x17df35==_0x288360[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x54,0x72,0x69,0x61,0x6c])&&_0x1a19b1[_0xd7dcf4([0x6f,0x6e])](_0xd7dcf4([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x3ae3cf=0x0;_0x1a19b1[_0xd7dcf4([0x6d,0x6f,0x64,0x65,0x6c])][_0xd7dcf4([0x6f,0x6e])](_0xd7dcf4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x204baa,_0xb44253)=>{_0xb44253[0x0][_0xd7dcf4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3ae3cf++,0x1f8===_0x3ae3cf&&(_0x42f9d1(_0x1a19b1),_0x365dbb(_0x288360[_0xd7dcf4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0xd7dcf4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x204baa[_0xd7dcf4([0x6f,0x66,0x66])]());},{'priority':_0xd7dcf4([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x365dbb(_0x5b4f2a){const _0x57010f=_0x12d1bd();return _0x1845d2[_0x57010f]=_0x5b4f2a,_0x5b4f2a;}function _0x12d1bd(){const _0x52a062=String(window[_0xd7dcf4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xd7dcf4([0x6e,0x6f,0x77])]())[_0xd7dcf4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xd7dcf4([0x2e]),'');let _0x5f25be='';for(let _0x535b17=0x0;_0x535b17<_0x52a062[_0xd7dcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x535b17+=0x2){let _0x470fe4=parseInt(_0x52a062[_0xd7dcf4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x535b17,_0x535b17+0x2));_0x470fe4>=_0x4ee3aa[_0xd7dcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x470fe4-=_0x4ee3aa[_0xd7dcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5f25be+=_0x4ee3aa[_0x470fe4];}return _0x5f25be;}function _0x482a79(_0x96cfb7){for(const _0x80a7ff of _0x96cfb7[_0xd7dcf4([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x42f9d1(_0x80a7ff);_0x1c0dc2(_0x96cfb7,_0xd7dcf4([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0xd7dcf4([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x1c0dc2(_0x96cfb7,_0xd7dcf4([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0xd7dcf4([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x209349;}function _0x42f9d1(_0x4bbe18){function _0x5122ce(){_0x4bbe18[_0xd7dcf4([0x6d,0x6f,0x64,0x65,0x6c])][_0xd7dcf4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x209349,_0x4bbe18[_0xd7dcf4([0x6d,0x6f,0x64,0x65,0x6c])][_0xd7dcf4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x209349,_0x4bbe18[_0xd7dcf4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xd7dcf4([0x6d,0x6f,0x64,0x65,0x6c]));}_0x4bbe18[_0xd7dcf4([0x73,0x74,0x61,0x74,0x65])]==_0xd7dcf4([0x72,0x65,0x61,0x64,0x79])?_0x5122ce():_0x4bbe18[_0xd7dcf4([0x6f,0x6e,0x63,0x65])](_0xd7dcf4([0x72,0x65,0x61,0x64,0x79]),()=>_0x5122ce());}function _0x209349(){return null;}function _0x5178cb(_0xd0ca01,_0x59276e){const _0x4422ee=!!(_0xd0ca01&_0x59276e[_0xd7dcf4([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x26585e=_0x5a87f3(_0xd0ca01,_0x59276e);return _0x4422ee||_0x26585e;}function _0x5a87f3(_0x96f13e,_0x52a277){const _0x59c076=(_0x52a277[_0xd7dcf4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0xd7dcf4([0x66,0x67,0x69])]||null;return!!_0x59c076&&_0x181366[_0xd7dcf4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x10e60f=>_0x59c076[_0xd7dcf4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10e60f[_0xd7dcf4([0x69,0x64])]))[_0xd7dcf4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4f1ccc=>!_0x50985a(_0x4f1ccc))[_0xd7dcf4([0x73,0x6f,0x6d,0x65])](_0x3b730f=>!!(_0x96f13e&_0x3b730f[_0xd7dcf4([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x50985a(_0x5442bf){const _0x1a5c5a={[_0xd7dcf4([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])]:_0x1f19e5};return!!_0x5442bf['forbiddenHandler']&&_0x1a5c5a[_0x5442bf['forbiddenHandler']]();}function _0x1f19e5(){return!window[_0xd7dcf4([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x112fe3(_0x1845d2,_0xd7dcf4([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x5f2597(_0x38079b){if(!_0x112fe3(_0x1845d2,_0x38079b[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x4b4d0a=_0x38079b[_0xd7dcf4([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x42e4e0=_0x4b4d0a[_0xd7dcf4([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x526b8a=_0x4b4d0a[_0xd7dcf4([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0xccafcf=_0x4b4d0a[_0xd7dcf4([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x112fe3(_0x1845d2,_0xd7dcf4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1c0dc2(_0x1845d2,_0xd7dcf4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0xd7dcf4([0x73,0x74,0x61,0x74,0x65])]==_0xd7dcf4([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x42e4e0)return!0x0;if(_0x112fe3(_0x1845d2,_0xd7dcf4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x1c0dc2(_0x1845d2,_0xd7dcf4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0xd7dcf4([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0xd7dcf4([0x65,0x6e,0x64])&&_0x526b8a)return!0x0;return!(!_0x112fe3(_0x1845d2,_0xd7dcf4([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]))||_0x1c0dc2(_0x1845d2,_0xd7dcf4([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]))[_0xd7dcf4([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0xd7dcf4([0x65,0x6e,0x64])||!_0xccafcf);}function _0x112fe3(_0x250da8,_0x52e17a){return _0x250da8[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0xd7dcf4([0x68,0x61,0x73])](_0x52e17a);}function _0x1c0dc2(_0x4d87e9,_0x138c2d){return _0x4d87e9[_0xd7dcf4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0xd7dcf4([0x67,0x65,0x74])](_0x138c2d);}function _0x290b83(_0xd32f1a){let _0x4e06ed='';for(const _0x4b3b93 of _0xd32f1a)_0x4e06ed+=String[_0xd7dcf4([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x4b3b93);return _0x4e06ed;}function _0x5e806d(_0x138bc9){const _0x5efa65=new Uint8Array(_0x138bc9[_0xd7dcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x5a0d1c=0x0;_0x5a0d1c<_0x138bc9[_0xd7dcf4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a0d1c++)_0x5efa65[_0x5a0d1c]=_0x138bc9[_0xd7dcf4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a0d1c);return _0x5efa65;}_0x519012&&_0x467928(_0x57ba1b(_0x3379a0),_0x519012);})(_0x227939);}(this);}['createRevision'](_0x41db00){const _0x31bff7=this['editor']['plugins']['get']('Users');return new a({'id':_0x41db00['id'],'name':_0x41db00['name'],'creator':_0x41db00['creatorId']?_0x31bff7['getUser'](_0x41db00['creatorId']):null,'diffData':_0x41db00['diffData']||_0x41db00['data'],'authors':_0x41db00['authorsIds']['map'](_0x4780bc=>_0x31bff7['getUser'](_0x4780bc)),'createdAt':new Date(_0x41db00['createdAt']),'attributes':_0x41db00['attributes'],'fromVersion':_0x41db00['fromVersion'],'toVersion':_0x41db00['toVersion']});}['addRevision'](_0x2169d9,_0x3a5466=0x0){this['_revisions']['add'](_0x2169d9,_0x3a5466);}['getRevision'](_0x45e476){return this['_revisions']['get'](_0x45e476);}['getRevisions'](_0x73fc45={'toJSON':!0x1}){const _0x427062=Array['from'](this['_revisions']);return _0x427062['reverse'](),_0x73fc45['toJSON']?_0x427062['map'](_0x4d4b81=>_0x4d4b81['toJSON']()):_0x427062;}['getIndex'](_0xcd71ef){return this['_revisions']['getIndex'](_0xcd71ef);}['getEarlierVisibleRevision'](_0x2a4018){const [,_0x4895a9]=this['getRevisionsIterator'](_0x2a4018,{'direction':'earlier'});return _0x4895a9;}['getLaterVisibleRevision'](_0x5883c3){const [,_0x38bc10]=this['getRevisionsIterator'](_0x5883c3,{'direction':'later'});return _0x38bc10;}['getRevisionsInDiff'](_0x3cff9){const _0x1a06e0=[];for(const _0x541726 of this['getRevisionsIterator'](_0x3cff9['newRevisionId']))if(_0x1a06e0['push'](_0x541726),_0x541726['id']===_0x3cff9['oldRevisionId'])break;return _0x1a06e0;}*['getRevisionsIterator'](_0x2ad0b1,{direction:_0x22c534='earlier',filter:_0x215a5d=_0x4d430a=>!0x0}={}){const _0x597b76='earlier'===_0x22c534?0x1:-0x1;let _0x578441=this['_revisions']['get'](_0x2ad0b1),_0xb8d499=this['getIndex'](_0x578441);for(yield _0x578441;_0x578441;){if(_0xb8d499+=_0x597b76,_0x578441=this['getRevision'](_0xb8d499),!_0x578441)return;_0x215a5d(_0x578441)&&(yield _0x578441);}}}function y(_0x5d8a62,_0x4ee181,_0x399bab){const t=_0x5d8a62['t'];switch(_0x4ee181){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'},_0x399bab);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x399bab);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':_0x1a9549,'a':_0x1fbea8,'e':_0x231d56,'r':_0x522c63,'u':_0x170638};class l extends _0x18654b{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x2619e6,A,_0x4e21af];}constructor(_0x149a18){super(_0x149a18),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 _0x456b65=_0x1fef2a();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x456b65},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 _0x40de31=this['repository']['getRevision'](0x0),_0x55826e=_0x40de31&&null===_0x40de31['creator']?_0x40de31:null;if(this['_continueCurrentRevision']=!!_0x55826e&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x16ec0e=this['_source']['getCurrentRevisionId'](),_0x27a07d=this['repository']['getRevision'](_0x16ec0e);if(_0x27a07d)this['_startingVersion']=_0x27a07d['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x48b0b6=this['_source']['history']['_operations']['find'](_0x2502b4=>!_0x2502b4['_isInit']),_0x1bf9de=_0x48b0b6?_0x48b0b6['baseVersion']:this['_source']['history']['version'];_0x40de31?(_0x40de31['toVersion']<_0x1bf9de&&_0x40de31['_update']({'toVersion':_0x1bf9de}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x55826e['id'],this['_startingVersion']=_0x55826e['fromVersion']):(this['_startingVersion']=_0x40de31['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x1bf9de,this['_continueCurrentRevision']=!0x1);}}else _0x55826e&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x55826e['toVersion'],this['editor']['model']['document']['history']['version']),_0x55826e['fromVersion']===_0x55826e['toVersion']?(0x0!==_0x55826e['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x55826e['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x55826e['id'],this['_startingVersion']=_0x55826e['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',_0x5a1f75=>!_0x5a1f75);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x33d215=this['repository']['getRevision'](0x0),_0x311b28=await this['getRevisionDocumentData'](_0x33d215),_0x3d509a=await this['getRevisionRootsAttributes'](_0x33d215);this['_replaceEditorDataWithRevisionData'](_0x311b28,_0x3d509a);}}['setSource'](_0x562bc7){this['_source']=_0x562bc7;}async['update'](){const _0x71f647=await this['_source']['getLatestVersion']();if(_0x71f647>this['currentRevision']['toVersion']){await this['_loadState']();const _0x211a59=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x71f647});_0x211a59['authors']=_0x211a59['authorsIds']['map'](_0x5229b9=>this['editor']['plugins']['get']('Users')['getUser'](_0x5229b9)),this['currentRevision']['_update'](_0x211a59);}}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'](_0x39a5a5={},_0x3a0316=null){const _0xc36d58=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x3a0316>this['currentRevision']['toVersion']&&(_0x3a0316=null),null===_0x3a0316&&(_0x3a0316=await this['_source']['getLatestVersion']());const _0x546a4b=this['_getFromVersion'](_0x3a0316),_0x51864e=this['buildRevisionData']({'from':_0x546a4b,'to':_0x3a0316});if(this['currentRevision']['toVersion']<_0x3a0316){const _0x3aa3bb=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x3a0316,'to':_0x3a0316});_0x3aa3bb['authors']=[],_0x3aa3bb['authorsIds']=[],_0x3aa3bb['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x3aa3bb,!0x0),delete _0x3aa3bb['authors'],_0xc36d58['push'](_0x3aa3bb);}_0x39a5a5['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x39a5a5['name']=_0x39a5a5['name']||null,_0x39a5a5['id']=_0x39a5a5['id']||_0x1fef2a(),_0x39a5a5={..._0x39a5a5,..._0x51864e};const _0x4de681=this['addRevisionData'](_0x39a5a5);_0xc36d58['push'](_0x39a5a5);const _0x142847=this['repository']['getIndex'](_0x4de681);if(0x0!==_0x142847){const _0x3772a8=this['repository']['getRevision'](_0x142847-0x1);if(_0x3772a8['fromVersion']!==_0x3a0316){const _0xd5f969=this['_revisionDataBuilder']['getData'](_0x3a0316,_0x3772a8['toVersion']),_0x1c775f={'id':_0x3772a8['id'],'diffData':_0xd5f969['diffData'],'authorsIds':_0xd5f969['authorsIds'],'authors':_0xd5f969['authorsIds']['map'](_0x3fc274=>this['editor']['plugins']['get']('Users')['getUser'](_0x3fc274)),'fromVersion':_0x3a0316};_0x3772a8===this['currentRevision']&&(_0x1c775f['createdAt']=new Date(_0x39a5a5['createdAt']['getTime']()+0xa)),_0x3772a8['_update'](_0x1c775f,!0x0),delete _0x1c775f['authors'],_0xc36d58['push'](_0x1c775f);}}if(this['adapter']){for(const _0x2edd40 of _0xc36d58)this['_bufferUpdate'](_0x2edd40['id'],_0x2edd40,!0x0);this['sendBufferedUpdates']();}return _0x4de681;}['addRevisionData'](_0x1be9bd){const _0x5dea13=this['repository']['createRevision'](_0x1be9bd);return this['adapter']&&_0x5dea13['on']('_update',(_0x3d4d45,_0xcf322d,_0xbb9fa0)=>{_0xbb9fa0||(this['_bufferUpdate'](_0xcf322d['id'],_0xcf322d,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x5dea13,this['_findInsertionIndex'](_0x5dea13)),_0x5dea13;}async['getRevisionDocumentData'](_0x156362){await this['_loadRevisionData'](_0x156362);const _0x3ffe4c={};for(const _0x2020de in _0x156362['diffData']){if(_0x156362['diffData'][_0x2020de]['attachChange']&&!_0x156362['diffData'][_0x2020de]['attachChange']['isAttached'])continue;const _0x52a573=this['_removeRevisionMarkers'](JSON['parse'](_0x156362['diffData'][_0x2020de]['insertions'])),_0x30c279=this['editor']['editing']['view']['document'],_0xeda2a2=new _0x3b60fc(_0x30c279,_0x52a573['map'](_0x2b5c59=>B(_0x2b5c59,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x3ffe4c[_0x2020de]=this['editor']['data']['processor']['toData'](_0xeda2a2),this['editor']['data']['processor']['useFillerType']('default');}return _0x3ffe4c;}async['getRevisionRootsAttributes'](_0x5afe6a){await this['_loadRevisionData'](_0x5afe6a);const _0x5ea4e6={};for(const _0x881ef in _0x5afe6a['diffData'])_0x5afe6a['diffData'][_0x881ef]['attachChange']&&!_0x5afe6a['diffData'][_0x881ef]['attachChange']['isAttached']||(_0x5ea4e6[_0x881ef]=_0x5afe6a['diffData'][_0x881ef]['attributesAfter']||{});return _0x5ea4e6;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x4e0254=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0xdf8a20=0x0;_0xdf8a20<_0x4e0254['length'];_0xdf8a20++){const _0x33c746=_0x4e0254[_0xdf8a20];let _0x202ddf=!0x1;for(const _0x38ec26 of Object['keys'](_0x33c746))void 0x0===_0x33c746[_0x38ec26]?delete _0x33c746[_0x38ec26]:'id'!==_0x38ec26&&(_0x202ddf=!0x0);_0x202ddf||(_0x4e0254[_0xdf8a20]=null);}if(_0x4e0254=_0x4e0254['filter'](_0x4bb0bc=>null!==_0x4bb0bc),!_0x4e0254['length'])return;for(let _0x4bb3b4=0x0;_0x4bb3b4<_0x4e0254['length'];_0x4bb3b4++){const _0x3f4fc4=_0x4e0254[_0x4bb3b4];void 0x0!==_0x3f4fc4['fromVersion']&&void 0x0===_0x3f4fc4['toVersion']&&(_0x3f4fc4['toVersion']=this['repository']['getRevision'](_0x3f4fc4['id'])['toVersion']),void 0x0!==_0x3f4fc4['toVersion']&&void 0x0===_0x3f4fc4['fromVersion']&&(_0x3f4fc4['fromVersion']=this['repository']['getRevision'](_0x3f4fc4['id'])['fromVersion']);}const _0x6b783=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x4e0254,_0x6b783)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x322b5c=>{if(_0x322b5c){for(const _0x26243c of _0x322b5c)this['setRevisionData']({'id':_0x26243c['id'],'createdAt':_0x26243c['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x385b4a,_0x303473){let _0x37fc57=this['editor']['config']['get']('initialData'),_0x555468=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x37fc57){_0x37fc57={};for(const _0x180aad of this['editor']['model']['document']['getRootNames']())_0x37fc57[_0x180aad]='';}if('string'==typeof _0x37fc57&&(_0x37fc57={'main':_0x37fc57}),void 0x0===_0x555468){_0x555468={};for(const _0x279f45 of this['editor']['model']['document']['getRootNames']())_0x555468[_0x279f45]={};}let _0x45bc3d=!0x1;const _0x51d4e0=Object['keys'](_0x37fc57),_0x160680=Object['keys'](_0x385b4a);for(const _0x31b6f8 of _0x51d4e0){if(_0x37fc57[_0x31b6f8]!==_0x385b4a[_0x31b6f8]&&''!==_0x37fc57[_0x31b6f8]['trim']()){_0x45bc3d=!0x0;break;}if(!_0x3825f8(_0x555468[_0x31b6f8],_0x303473[_0x31b6f8])&&Object['keys'](_0x555468[_0x31b6f8])['length']>0x0){_0x45bc3d=!0x0;break;}}_0x45bc3d||(_0x45bc3d=_0x160680['some'](_0x159746=>!this['editor']['model']['document']['getRoot'](_0x159746))),_0x45bc3d&&_0x9be4b7('editor-initial-data-replaced-with-revision-data',{'editorData':_0x37fc57,'editorRootsAttributes':_0x555468,'revisionData':_0x385b4a,'revisionRootsAttributes':_0x303473}),this['editor']['config']['set']('initialData',_0x385b4a),this['editor']['config']['set']('rootsAttributes',_0x303473);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x36be03=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x36be03['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x4888f2){const _0x4580fc=this['repository']['getRevisions']();_0x4580fc['reverse']();let _0x35aa6f=0x0;for(;_0x35aa6f<_0x4580fc['length'];){const _0x46968b=_0x4580fc[_0x35aa6f];if(_0x46968b===this['currentRevision']){_0x35aa6f++;continue;}if(_0x46968b['id']===this['_initialRevisionId'])break;const _0x58dc4d=_0x4888f2['toVersion']-_0x46968b['toVersion']||_0x4888f2['fromVersion']-_0x46968b['fromVersion'];if(_0x58dc4d>0x0)break;if(_0x58dc4d<0x0)_0x35aa6f++;else{if(!_0x4888f2['creator']&&_0x46968b['creator'])break;if(_0x46968b['creator']||!_0x4888f2['creator']){if(_0x4888f2['createdAt']>_0x46968b['createdAt'])break;_0x35aa6f++;}else _0x35aa6f++;}}return _0x35aa6f;}['setRevisionData'](_0x313fb9){const _0x32b0e6=this['repository']['getRevision'](_0x313fb9['id']);if(_0x313fb9['createdAt']&&(_0x313fb9['createdAt']=new Date(_0x313fb9['createdAt'])),_0x313fb9['authorsIds']){const _0x465dff=this['editor']['plugins']['get']('Users');_0x313fb9['authors']=_0x313fb9['authorsIds']['map'](_0x14699c=>_0x465dff['getUser'](_0x14699c));}_0x32b0e6['_update'](_0x313fb9,!0x0);}['buildRevisionData']({revision:_0x7714be=null,from:_0xb0e34e=null,to:_0x2ea3f0=null}){_0xb0e34e=null!==_0xb0e34e?_0xb0e34e:_0x7714be['fromVersion'],_0x2ea3f0=null!==_0x2ea3f0?_0x2ea3f0:_0x7714be['toVersion'];const _0x44ef45=this['_revisionDataBuilder']['getData'](_0xb0e34e,_0x2ea3f0),_0x2ea7c9={'diffData':_0x44ef45['diffData'],'authorsIds':_0x44ef45['authorsIds'],'fromVersion':_0xb0e34e,'toVersion':_0x2ea3f0};if(!_0x7714be||_0x2ea3f0!==_0x7714be['toVersion']){const _0x57fbc0=_0x2ea3f0-0x1,_0x4bd8be=this['_source']['history']['getOperation'](_0x57fbc0);_0x2ea7c9['createdAt']=_0x4bd8be&&_0x4bd8be['createdAt']||new Date();}if(this['_loadedStateData']&&_0xb0e34e===this['_loadedStateData']['fromVersion']){for(const _0x6df46f of this['_loadedStateData']['authors'])_0x2ea7c9['authorsIds']['includes'](_0x6df46f['id'])||_0x2ea7c9['authorsIds']['push'](_0x6df46f['id']);}return _0x2ea7c9;}['_loadRevisionData'](_0x5951b8){if(!_0x5951b8||_0x5951b8['diffData'])return Promise['resolve']();{const _0x8cd103=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x8cd103,'revisionId':_0x5951b8['id']})['then'](_0x419ff2=>{_0x5951b8['diffData']=_0x419ff2['diffData'];});}}['_bufferUpdate'](_0x1d7ec9,_0xb815,_0x4ee271){if(this['_bufferedUpdates']['has'](_0x1d7ec9)){const _0x5e35a8=this['_bufferedUpdates']['get'](_0x1d7ec9);_0xb815=_0x4ee271?{..._0x5e35a8,..._0xb815}:{..._0xb815,..._0x5e35a8};}this['_bufferedUpdates']['set'](_0x1d7ec9,_0xb815);}['_getFromVersion'](_0xc44918){const _0x1831ae=this['repository']['getRevisions']();_0x1831ae['reverse'](),_0x1831ae['shift']();const _0xdacf65=_0x1831ae['find'](_0x1853fa=>_0x1853fa['toVersion']<=_0xc44918)['toVersion'];return _0xdacf65<this['_startingVersion']?this['_startingVersion']:_0xdacf65;}['_createInitialRevision'](_0x23cb0a){const _0x56a65c=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x56a65c)this['_initialRevisionId']=_0x56a65c['id'];else{const _0x58c977=!this['editor']['model']['document']['roots']['find'](_0x3b821f=>this['editor']['model']['hasContent'](_0x3b821f)),_0x26ff6a=this['editor']['plugins']['get']('Users')['me']['id'],_0x27608d=y(this['editor']['locale'],_0x58c977?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x23cb0a,'to':_0x23cb0a,'id':this['_initialRevisionId'],'name':_0x27608d,'creatorId':_0x26ff6a});}}['_createCurrentRevision'](_0x9dc620){const _0x105708=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x105708),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x9dc620,'to':_0x9dc620,'id':_0x105708,'name':'','creatorId':null}));}['_makeRevision']({name:_0x3d351a,from:_0x28733c,to:_0x253bdc,creatorId:_0x1912eb,id:_0x322871}){const _0x3428f0=this['buildRevisionData']({'from':_0x28733c,'to':_0x253bdc});_0x3428f0['name']=_0x3d351a,_0x3428f0['creatorId']=_0x1912eb,_0x3428f0['id']=_0x322871;const _0x2a3d96=this['addRevisionData'](_0x3428f0);return this['adapter']&&this['_bufferUpdate'](_0x3428f0['id'],_0x3428f0,!0x0),_0x2a3d96;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x4d187f){return(_0x4d187f=_0x4d187f['filter'](_0x5055ee=>!_0x5055ee['name']||'revision-start'!==_0x5055ee['name']&&'revision-end'!==_0x5055ee['name']))['forEach'](_0xef422b=>{'string'!=typeof _0xef422b&&(_0xef422b['children']=this['_removeRevisionMarkers'](_0xef422b['children']),_0xef422b['attributes']=_0xef422b['attributes']['filter'](_0x34302c=>!_0x34302c[0x0]['startsWith']('data-revision-')));}),_0x4d187f;}}function B(_0x5065f5,_0x5e8769){const _0xca5553=_0x5e8769['editing']['view']['document'];if('string'==typeof _0x5065f5)return new _0x6b7091(_0xca5553,_0x5065f5);{const _0x20309a=_0x5065f5['children']['map'](_0x5edb58=>B(_0x5edb58,_0x5e8769));return new(T[_0x5065f5['type']]||_0x57d40e)(_0xca5553,_0x5065f5['name'],_0x5065f5['attributes'],_0x20309a);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x409909){this['editor']=_0x409909,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'](_0x2967b8){this['source']=_0x2967b8;const _0x5d81c7=new Map(),_0x2996cd=new Map(),_0x4b4a08=this['editor']['model']['document']['roots']['map'](_0x3aee4b=>_0x3aee4b['rootName']);for(const _0x46caa0 of _0x4b4a08){const _0x58c13b=this['editor']['model']['document']['getRoot'](_0x46caa0),_0x15344c=q(_0x58c13b);_0x5d81c7['set'](_0x46caa0,_0x15344c),_0x2996cd['set'](_0x46caa0,Object['fromEntries'](_0x58c13b['getAttributes']()));}const _0x2770b9=Array['from'](this['editor']['model']['markers'])['map'](_0x1b9a45=>[_0x1b9a45['name'],_0x1b9a45['getRange']()]),_0x27f209=this['source']['version'];this['_saveMetaData'](_0x27f209,_0x5d81c7,_0x2770b9,_0x2996cd),this['_startingRevisionId']=this['_revisionId'];const _0x39535a=new Map(),_0x3e3310=new Map();for(const _0x49db3a of _0x4b4a08){const _0x1b7d91=G(_0x49db3a);_0x39535a['set'](_0x49db3a,_0x1b7d91),_0x3e3310['set'](_0x49db3a,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x39535a,[],_0x3e3310);}['getData'](_0x18559b,_0x160737){if(this['_lastFrom']===_0x18559b&&this['_lastTo']<=_0x160737)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x160737,!0x0);else{if(!this['_savedMetaData']['has'](_0x18559b)){const _0x3e60df=this['_getPreviousFrom'](_0x18559b);this['_calculateMetaData'](_0x3e60df,_0x18559b,!0x1);}this['_calculateMetaData'](_0x18559b,_0x160737,!0x0);}return this['_lastFrom']=_0x18559b,this['_lastTo']=_0x160737,this['_getState']();}['loadState'](_0x3cb3c7){this['_reset'](),this['_lastFrom']=_0x3cb3c7['fromVersion'],this['_lastTo']=_0x3cb3c7['toVersion'];for(const _0x2a08d3 in _0x3cb3c7['diffData']){const _0x5f0240=_0x3cb3c7['diffData'][_0x2a08d3]['attachChange'],_0xe0d338=_0x30931d(_0x3cb3c7['diffData'][_0x2a08d3]['attributesBefore'])||{},_0x39d2e7=this['_makeModelFromViewString'](_0x3cb3c7['diffData'][_0x2a08d3]['deletions']);_0x39d2e7['rootName']=_0x2a08d3,_0x39d2e7['_isAttached']=!_0x5f0240||!_0x5f0240['isAttached'],_0x39d2e7['isAttached']=()=>_0x39d2e7['_isAttached'],this['_baseRoots']['set'](_0x2a08d3,_0x39d2e7),this['_baseRootsAttributes']['set'](_0x2a08d3,_0xe0d338),_0x5f0240&&this['_touchedRoots']['set'](_0x2a08d3,_0x5f0240);const _0x2f8d47=this['_makeIdsRoot'](_0x39d2e7);this['_baseIdsRoots']['set'](_0x2a08d3,_0x2f8d47);for(const [_0xb6a944,_0x6af7b8]of _0x39d2e7['markers']){if(!_0xb6a944['startsWith']('revision:'))continue;const _0x423788=_0xb6a944['split'](':')[0x2];for(const _0x46e675 of _0x6af7b8['getWalker']({'singleCharacters':!0x0})){const _0x1bc672=this['_getVidAttributeName'](_0x46e675),_0x5c42c1='elementEnd'==_0x46e675['type']?_0x46e675['previousPosition']['path']['slice'](0x0,-0x1):_0x46e675['previousPosition']['path'],_0x1558ea=_0x2f8d47['getNodeByPath'](_0x5c42c1)['getAttribute'](_0x1bc672);this['_touched']['set'](_0x1558ea,{'userId':_0x423788});}}}this['_startingRevisionId']=this['_revisionId'];const _0x2e01b2=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x54d562=>!this['_touched']['has'](_0x54d562));let _0x48512f=0x0;const _0x21f11b=new Map();for(const _0xb3ca71 in _0x3cb3c7['diffData']){const _0x2df7fd=_0x3cb3c7['diffData'][_0xb3ca71]['attachChange'],_0x12540e=_0x30931d(_0x3cb3c7['diffData'][_0xb3ca71]['attributesAfter'])||{},_0x4e4b34=this['_makeModelFromViewString'](_0x3cb3c7['diffData'][_0xb3ca71]['insertions']);_0x4e4b34['rootName']=_0xb3ca71,_0x4e4b34['_isAttached']=!_0x2df7fd||_0x2df7fd['isAttached'],_0x4e4b34['isAttached']=()=>_0x4e4b34['_isAttached'],this['_diffRoots']['set'](_0xb3ca71,_0x4e4b34),this['_diffRootsAttributes']['set'](_0xb3ca71,_0x12540e);const _0x1acc77=this['_makeIdsRoot'](_0x4e4b34,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0xb3ca71,_0x1acc77),_0x21f11b['set'](_0xb3ca71,_0x4e4b34['isAttached']()?_0x12540e:{});for(const [_0x5e8eaa,_0x2104c1]of _0x4e4b34['markers']){if(!_0x5e8eaa['startsWith']('revision:'))continue;const _0x5c8bc9=_0x5e8eaa['split'](':')[0x2];for(const _0x24828f of _0x2104c1['getWalker']({'singleCharacters':!0x0})){const _0xef32f4=this['_getVidAttributeName'](_0x24828f),_0x3ec251=this['_revisionId']++,_0x4c9f8c='elementEnd'==_0x24828f['type']?_0x24828f['previousPosition']['path']['slice'](0x0,-0x1):_0x24828f['previousPosition']['path'];_0x1acc77['getNodeByPath'](_0x4c9f8c)['_setAttribute'](_0xef32f4,_0x3ec251),this['_touched']['set'](_0x3ec251,{'userId':_0x5c8bc9});}}for(const _0x58eeb7 of this['editor']['model']['createRangeIn'](_0x4e4b34)['getWalker']({'singleCharacters':!0x0})){const _0x556f54=this['_getVidAttributeName'](_0x58eeb7),_0x40bece='elementEnd'==_0x58eeb7['type']?_0x58eeb7['previousPosition']['path']['slice'](0x0,-0x1):_0x58eeb7['previousPosition']['path'],_0x542e15=_0x1acc77['getNodeByPath'](_0x40bece);_0x542e15['getAttribute'](_0x556f54)>0x0||_0x542e15['_setAttribute'](_0x556f54,_0x2e01b2[_0x48512f++]);}for(const [_0x5b7713,_0xabdeaf]of _0x4e4b34['markers'])_0x5b7713['startsWith']('revision:')||this['_markers']['set'](_0x5b7713,_0xabdeaf);}const _0x5622d2=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x5622d2),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x5622d2,0x1));const _0x430383=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x430383),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x430383,0x1));const _0x2bdbbd=Array['from'](this['_diffRoots'])['map'](([_0x28b064,_0x1de1a7])=>[_0x28b064,q(_0x1de1a7)]);this['_saveMetaData'](this['_lastTo'],_0x2bdbbd,this['_markers'],_0x21f11b);}['_makeModelFromViewString'](_0x2d5c2a){const _0x24ba65=JSON['parse'](_0x2d5c2a),_0x31855c=this['editor']['editing']['view']['document'],_0x52ac80=new _0x3b60fc(_0x31855c,_0x24ba65['map'](_0x71747f=>B(_0x71747f,this['editor'])));return this['editor']['data']['toModel'](_0x52ac80);}['_saveMetaData'](_0x4127c9,_0x154cb7,_0x32f621,_0xe675fb){const _0x43f920=new Map(_0x154cb7),_0x12e58d=new Map(_0x30931d(_0xe675fb)),_0x5282a6=new Map();for(const [_0x2b7fd7,_0x3747eb]of _0x32f621)_0x5282a6['set'](_0x2b7fd7,{'start':_0x3747eb['start']['clone'](),'end':_0x3747eb['end']['clone'](),'rootName':_0x3747eb['root']['rootName']});this['_savedMetaData']['set'](_0x4127c9,{'roots':_0x43f920,'markers':_0x5282a6,'rootsAttributes':_0x12e58d});}['_removeMetaData'](_0xf89de1){this['_savedMetaData']['delete'](_0xf89de1);}['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'](_0x1f7c99,_0x46ac5a=null){let _0x39c76b=null;_0x1f7c99['is']('documentFragment')||(_0x39c76b=new ft(_0x1f7c99['name'],{'vid_start':null===_0x46ac5a?this['_revisionId']++:_0x46ac5a++}));const _0x5c14b4=[];for(const _0x214849 of _0x1f7c99['getChildren']())if(_0x214849['is']('element')){_0x5c14b4['push'](this['_makeIdsRoot'](_0x214849,_0x46ac5a));const _0x4f5ef6=_0x5c14b4[_0x5c14b4['length']-0x1];null!==_0x46ac5a&&(_0x46ac5a=_0x4f5ef6['is']('element','$text')?_0x4f5ef6['getAttribute']('vid')+0x1:_0x4f5ef6['getAttribute']('vid_end')+0x1);}else{for(let _0x1bb2a0=0x0;_0x1bb2a0<_0x214849['offsetSize'];_0x1bb2a0++)_0x5c14b4['push'](new ft('$text',{'vid':null===_0x46ac5a?this['_revisionId']++:_0x46ac5a++}));}if(_0x1f7c99['is']('documentFragment')){const _0x5b6ab8=G(_0x1f7c99['rootName']);return _0x5b6ab8['_insertChild'](0x0,_0x5c14b4),_0x5b6ab8;}return _0x39c76b['_setAttribute']('vid_end',null===_0x46ac5a?this['_revisionId']++:_0x46ac5a++),_0x39c76b['_insertChild'](0x0,_0x5c14b4),_0x39c76b;}['_calculateMetaData'](_0x5663ea,_0x1991d2,_0x228a32){this['_reset']();const {roots:_0x1486f6,markers:_0x2b1e64,rootsAttributes:_0x1f9aeb}=this['_savedMetaData']['get'](_0x5663ea);this['_baseRoots']=new Map(_0x1486f6),this['_baseRootsAttributes']=new Map(_0x30931d(_0x1f9aeb));for(const [_0x49cc6d,_0x1268b0]of this['_baseRoots'])if('$graveyard'!==_0x49cc6d&&(this['_diffRoots']['set'](_0x49cc6d,q(_0x1268b0)),this['_diffRootsAttributes']=new Map(_0x30931d(_0x1f9aeb)),_0x228a32)){const _0x11aa38=this['_revisionId'];this['_idsRoots']['set'](_0x49cc6d,this['_makeIdsRoot'](_0x1268b0)),this['_baseIdsRoots']['set'](_0x49cc6d,this['_makeIdsRoot'](_0x1268b0,_0x11aa38));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x228a32&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x1b9ae4,_0xac3359]of _0x2b1e64){const _0x1714a9=this['_baseRoots']['get'](_0xac3359['rootName']),_0x366f57=this['_diffRoots']['get'](_0xac3359['rootName']),_0x424e76=new vt(this['_fixPosition'](_0xac3359['start'],_0x1714a9),this['_fixPosition'](_0xac3359['end'],_0x1714a9)),_0x14aa70=this['_fixRange'](_0x424e76,_0x366f57);_0x1714a9['markers']['set'](_0x1b9ae4,_0x424e76),this['_markers']['set'](_0x1b9ae4,_0x14aa70);}this['_applyOperations'](_0x5663ea,_0x1991d2,_0x228a32);}['_applyOperations'](_0x8d6b75,_0x23633f,_0x5e36d9){for(const _0x36fc35 of this['source']['getOperations'](_0x8d6b75,_0x23633f))this['_handleOperation'](_0x36fc35,_0x5e36d9);for(const _0x466fdb of this['_diffRoots']['values']())_0x466fdb['markers']['clear']();for(const [_0x3a4f9b,_0x4e564d]of this['_markers']){this['_diffRoots']['get'](_0x4e564d['root']['rootName'])['markers']['set'](_0x3a4f9b,_0x4e564d['clone']());}const _0xbe2156=new Map(),_0x25a6ea=new Map();for(const [_0x892e24,_0x38e79c]of this['_diffRoots'])_0xbe2156['set'](_0x892e24,q(_0x38e79c)),_0x25a6ea['set'](_0x892e24,this['_diffRootsAttributes']['get'](_0x892e24));this['_saveMetaData'](_0x23633f,_0xbe2156,this['_markers'],_0x25a6ea);}['_getPreviousFrom'](_0x4ef317){const _0x58817b=Array['from'](this['_savedMetaData']['keys']());_0x58817b['sort']((_0x2a78ab,_0x32daf5)=>_0x2a78ab-_0x32daf5),_0x58817b['reverse']();for(const _0x436b38 of _0x58817b)if(_0x436b38<_0x4ef317)return _0x436b38;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x41d12b,_0x2258a9){const _0x31db2f=Array['from'](_0x2258a9['markers'])['map'](([_0x2c57b1,_0x40699c])=>[_0x2c57b1,this['_fixRange'](_0x40699c,_0x41d12b)]);_0x41d12b['markers']=new Map(_0x31db2f);}['_transformMarkers'](_0x3637e0){for(const _0x36576e of this['_markers']['values']()){const _0x3e0dbb=_0x36576e['getTransformedByOperation'](_0x3637e0),_0x5d70a3=vt['_createFromRanges'](_0x3e0dbb);_0x36576e['start']=_0x5d70a3['start'],_0x36576e['end']=_0x5d70a3['end'];}}['_handleOperation'](_0x40782d,_0x15dcd8){if('addRoot'==_0x40782d['type']||'detachRoot'==_0x40782d['type'])return void this['_handleRootOperation'](_0x40782d,_0x15dcd8);if('insert'==_0x40782d['type']){const _0x528581=_0x40782d['position']['root']['rootName'];this['_diffRoots']['has'](_0x528581)||(this['_diffRoots']['set'](_0x528581,G(_0x528581,!0x0)),this['_diffRootsAttributes']['set'](_0x528581,{}),_0x15dcd8&&this['_idsRoots']['set'](_0x528581,G(_0x528581,!0x0)));}else{if('addRootAttribute'==_0x40782d['type']||'removeRootAttribute'==_0x40782d['type']||'changeRootAttribute'==_0x40782d['type'])return void this['_handleRootAttributeOperation'](_0x40782d);}const _0x2cbbc6=this['_cloneOperation'](_0x40782d,this['_diffRoots']);if('marker'!==_0x40782d['type']&&(_0x2cbbc6['_execute'](),this['_transformMarkers'](_0x2cbbc6)),_0x15dcd8)switch(_0x2cbbc6['type']){case'insert':this['_handleInsertOperation'](_0x40782d);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x40782d);break;case'merge':this['_handleMergeOperation'](_0x40782d);break;case'split':this['_handleSplitOperation'](_0x40782d);break;case'marker':this['_handleMarkerOperation'](_0x40782d);}}['_cloneOperation'](_0x4d9df8,_0xb82f77){const _0xf7a5e0=_0x4d9df8['clone']();return _0xf7a5e0['_authorId']=_0x4d9df8['_authorId'],this['_fixOperation'](_0xf7a5e0,_0xb82f77),_0xf7a5e0;}['_getBaseVids'](_0x1d0b39){return _0x1d0b39['map'](_0x26c507=>{const _0x2c50fd=this['_getVidAttributeName'](_0x26c507);return Number(_0x26c507['item']['getAttribute'](_0x2c50fd));});}['_generateTape'](_0x52fec9,_0x16329a){if(_0x52fec9['is']('element','$text'))_0x16329a['push']({'item':_0x52fec9,'type':'text'});else{_0x52fec9['is']('element')&&_0x16329a['push']({'item':_0x52fec9,'type':'elementStart'});for(const _0x6ad83f of _0x52fec9['getChildren']())this['_generateTape'](_0x6ad83f,_0x16329a);_0x52fec9['is']('element')&&_0x16329a['push']({'item':_0x52fec9,'type':'elementEnd'});}return _0x16329a;}['_getState'](){const _0x31347f=new Map(this['_touched']),_0x1943c3=new Map(_0x31347f),_0x93d454=new Map(),_0x38c926={'insertions':{},'deletions':{}},_0x1f8a6c={'insertions':{},'deletions':{}},_0x333463=new Map(),_0x1fb63c=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x1fb63c['delete']('$graveyard');for(const _0x1fcf21 of _0x1fb63c){const _0x16d34e=this['_diffRoots']['get'](_0x1fcf21)||G(_0x1fcf21,!0x1),_0x5c7c32=this['_baseRoots']['get'](_0x1fcf21)||G(_0x1fcf21,!0x1);_0x16d34e['isAttached']()||_0x5c7c32['isAttached']()?(_0x38c926['insertions'][_0x1fcf21]=q(_0x16d34e),_0x38c926['deletions'][_0x1fcf21]=q(_0x5c7c32),this['_copyMarkers'](_0x38c926['deletions'][_0x1fcf21],_0x5c7c32),this['_copyMarkers'](_0x38c926['insertions'][_0x1fcf21],_0x16d34e),_0x1f8a6c['insertions'][_0x1fcf21]=this['_generateTape'](this['_idsRoots']['get'](_0x1fcf21),[]),_0x1f8a6c['deletions'][_0x1fcf21]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x1fcf21)||G(_0x1fcf21,!0x1),[])):_0x1fb63c['delete'](_0x1fcf21);}for(const _0x4b3387 of _0x1fb63c){const _0x551ff4=_0x1f8a6c['insertions'][_0x4b3387];for(const _0x5254e6 of _0x551ff4){const _0x44034f=this['_getVidAttributeName'](_0x5254e6),_0x5ade0d=_0x5254e6['item']['getAttribute'](_0x44034f);_0x1943c3['delete'](_0x5ade0d),_0x5ade0d>=this['_startingRevisionId']&&_0x93d454['set'](_0x5ade0d,_0x31347f['get'](_0x5ade0d));}}for(const _0x5c2433 of _0x1fb63c){const _0x458119=_0x1f8a6c['insertions'][_0x5c2433],_0x4dd3fa=this['_getBaseVids'](_0x1f8a6c['deletions'][_0x5c2433]);let _0x2c946d=0x0;for(const _0x10d20d of _0x458119){const _0x4129d0=this['_getVidAttributeName'](_0x10d20d),_0x32adc9=_0x10d20d['item']['getAttribute'](_0x4129d0);if(!_0x93d454['has'](_0x32adc9)&&!_0x333463['has'](_0x32adc9)){if(_0x1943c3['has'](_0x32adc9))_0x2c946d++;else{if(_0x32adc9!=_0x4dd3fa[_0x2c946d]){const _0x329931=_0x31347f['get'](_0x32adc9)||_0x31347f['get'](_0x4dd3fa[_0x2c946d]);for(;_0x32adc9!=_0x4dd3fa[_0x2c946d];)_0x1943c3['has'](_0x4dd3fa[_0x2c946d])||(_0x333463['set'](_0x4dd3fa[_0x2c946d],_0x329931),_0x31347f['set'](_0x4dd3fa[_0x2c946d],_0x329931)),_0x2c946d++;}_0x2c946d++;}}}}for(const _0x33103f of _0x1fb63c){const _0x4caa74=_0x1f8a6c['insertions'][_0x33103f];for(const _0x3d0a47 of _0x4caa74){const _0x4252a2=this['_getVidAttributeName'](_0x3d0a47),_0x5726d3=_0x3d0a47['item']['getAttribute'](_0x4252a2);if(_0x333463['has'](_0x5726d3)){const _0x95f9d2=_0x333463['get'](_0x5726d3);_0x1943c3['has'](_0x5726d3)||_0x1943c3['set'](_0x5726d3,{..._0x95f9d2}),_0x93d454['set'](_0x5726d3,{..._0x95f9d2});}}}for(const _0x360857 of _0x1943c3['keys']())_0x360857>=this['_startingRevisionId']&&_0x1943c3['delete'](_0x360857);const _0x2d8848=new Map();for(const _0x369940 of _0x1fb63c){let _0x30ac5c=_0x1f8a6c['insertions'][_0x369940];for(const _0x243808 of _0x30ac5c)if(_0x243808['item']['is']('element','tableCell')){const _0x1fca42=this['_getVidAttributeName'](_0x243808),_0x3ca25c=_0x243808['item']['getAttribute'](_0x1fca42);if(_0x93d454['has'](_0x3ca25c)){const _0x3309bd=_0x243808['item']['parent']['parent']['getAttribute']('vid_start'),_0x31fdd5=_0x2d8848['get'](_0x3309bd)||new Set();_0x31fdd5['add'](_0x93d454['get'](_0x3ca25c)['userId']),_0x2d8848['set'](_0x3309bd,_0x31fdd5);}}_0x30ac5c=_0x1f8a6c['deletions'][_0x369940];for(const _0x50a4de of _0x30ac5c)if(_0x50a4de['item']['is']('element','tableCell')){const _0x5756e9=this['_getVidAttributeName'](_0x50a4de),_0x11abe1=_0x50a4de['item']['getAttribute'](_0x5756e9);if(_0x1943c3['has'](_0x11abe1)){const _0x5682f3=_0x50a4de['item']['parent']['parent']['getAttribute']('vid_start'),_0x268419=_0x2d8848['get'](_0x5682f3)||new Set();_0x268419['add'](_0x1943c3['get'](_0x11abe1)['userId']),_0x2d8848['set'](_0x5682f3,_0x268419);}}for(const _0x391f5c of _0x2d8848['keys']())(_0x93d454['has'](_0x391f5c)||_0x1943c3['has'](_0x391f5c))&&_0x2d8848['delete'](_0x391f5c);}for(const _0x403450 of _0x1fb63c){const _0x57d57f=_0x1f8a6c['insertions'][_0x403450];let _0x1eca34=null,_0xabc61e=null;for(const _0x2e392a of _0x57d57f){const _0x5bfad2=this['_getVidAttributeName'](_0x2e392a),_0x58d89c=_0x2e392a['item']['getAttribute'](_0x5bfad2),_0x3d6c8e=_0x2d8848['get'](_0x58d89c);_0x3d6c8e&&'elementStart'==_0x2e392a['type']&&(_0x1eca34=Array['from'](_0x3d6c8e)[0x0],_0xabc61e=_0x2e392a['item']['getAttribute']('vid_end')),_0x1eca34&&(_0x1943c3['set'](_0x58d89c,{'userId':_0x1eca34}),_0x93d454['set'](_0x58d89c,{'userId':_0x1eca34})),_0x58d89c==_0xabc61e&&(_0x1eca34=null,_0xabc61e=null);}}const _0x4ca2fd={},_0x4ac54b=new Set();for(const _0x581d62 of _0x1fb63c){const _0x1f1b02=_0x38c926['deletions'][_0x581d62],_0xd05e24=_0x38c926['insertions'][_0x581d62];for(const {userId:_0x3c0fd6}of this['_touchedMarkers']['values']())null!==_0x3c0fd6&&_0x4ac54b['add'](_0x3c0fd6);for(const {userId:_0x3aca8a}of this['_touchedRoots']['values']())null!==_0x3aca8a&&_0x4ac54b['add'](_0x3aca8a);this['_markChanges'](_0xd05e24,_0x1f8a6c['insertions'][_0x581d62],_0x93d454,'insertion',_0x4ac54b),this['_markChanges'](_0x1f1b02,_0x1f8a6c['deletions'][_0x581d62],_0x1943c3,'deletion',_0x4ac54b),_0x4ca2fd[_0x581d62]={'insertions':this['_prepareViewToSave'](_0xd05e24),'deletions':this['_prepareViewToSave'](_0x1f1b02),'attachChange':this['_touchedRoots']['get'](_0x581d62)||null,'attributesBefore':_0x30931d(this['_baseRootsAttributes']['get'](_0x581d62))||{},'attributesAfter':_0x30931d(this['_diffRootsAttributes']['get'](_0x581d62))};}return{'diffData':_0x4ca2fd,'authorsIds':Array['from'](_0x4ac54b)};}['_processRootBeforeSave'](_0x5d8039){for(const [,_0x1f3094]of _0x5d8039['markers']){const _0x1c624c=_0x1f3094['start']['getAncestors']()['filter'](_0x3e3032=>'tableCell'==_0x3e3032['name']);for(const _0x546153 of _0x1c624c)0x1==_0x546153['childCount']&&_0x546153['getChild'](0x0)['is']('element','paragraph')&&_0x546153['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x56fe3c){this['_processRootBeforeSave'](_0x56fe3c);const _0x2444d0=this['editor']['data']['toView'](_0x56fe3c,{}),_0x16c84e=Array['from'](_0x2444d0['getChildren']())['map'](_0x321f47=>this['_getViewJson'](_0x321f47));return JSON['stringify'](_0x16c84e);}['_getViewJson'](_0x4af84e){if(_0x4af84e['is']('$text'))return _0x4af84e['data'];{const _0x54920b=_0x4af84e;return{'type':Object['keys'](T)['find'](_0x2e02c9=>_0x4af84e instanceof T[_0x2e02c9]),'name':_0x54920b['name'],'attributes':Array['from'](_0x54920b['getAttributes']()),'children':Array['from'](_0x54920b['getChildren']())['map'](_0x1dc0a1=>this['_getViewJson'](_0x1dc0a1))};}}['_markChanges'](_0x4c51e7,_0x5bed7d,_0x2ce91e,_0x3e0f4e,_0x5a0dd4){let _0x12018e=null,_0x371843=null,_0x252287=0x0;const _0x3659fd=this['editor']['model'];for(let _0x30beeb=0x0;_0x30beeb<_0x5bed7d['length'];_0x30beeb++){const _0xd70b76=this['_getVidAttributeName'](_0x5bed7d[_0x30beeb]),_0x2ba38e=_0x5bed7d[_0x30beeb]['item']['getAttribute'](_0xd70b76),_0x5d92fc=_0x2ce91e['get'](_0x2ba38e),_0x58e163=_0x30beeb==_0x5bed7d['length']-0x1;(!_0x12018e&&_0x5d92fc&&(_0x12018e=_0x5d92fc,_0x371843=_0x5bed7d[_0x30beeb]),_0x12018e&&(!_0x5d92fc||_0x5d92fc['userId']!=_0x12018e['userId']))&&(_0xd8d4a3(_0x5d92fc,L(_0x371843,_0x4c51e7,_0x3659fd),L(_0x5bed7d[_0x30beeb],_0x4c51e7,_0x3659fd)),_0x12018e=_0x5d92fc||null,_0x371843=_0x5d92fc?_0x5bed7d[_0x30beeb]:null),_0x12018e&&_0x58e163&&_0xd8d4a3(_0x5d92fc,L(_0x371843,_0x4c51e7,_0x3659fd),W(_0x5bed7d[_0x30beeb],_0x4c51e7,_0x3659fd));}function _0xd8d4a3(_0x9980cb,_0x523170,_0x20ddd8){const _0x2cf507=_0x12018e['userId'],_0x296f0d='revision:'+_0x3e0f4e+':'+_0x2cf507+':'+_0x252287++,_0x2630fc=_0x3659fd['createRange'](_0x523170,_0x20ddd8);_0x4c51e7['markers']['set'](_0x296f0d,_0x2630fc),null!==_0x2cf507&&_0x5a0dd4['add'](_0x2cf507);}}['_getVidAttributeName'](_0x4a57b1){switch(_0x4a57b1['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x4e43fe,_0x4b24df){_0x4e43fe['baseVersion']=null;for(const _0x109f84 in _0x4e43fe){const _0x51240a=_0x4e43fe[_0x109f84];if(_0x51240a instanceof gt){const _0x123566=_0x4b24df['get'](_0x51240a['root']['rootName']);_0x4e43fe[_0x109f84]=this['_fixPosition'](_0x51240a,_0x123566);}if(_0x51240a instanceof vt){const _0x4641bb=_0x4b24df['get'](_0x51240a['root']['rootName']);_0x4e43fe[_0x109f84]=this['_fixRange'](_0x51240a,_0x4641bb);}'root'===_0x109f84&&(_0x4e43fe['root']=_0x4b24df['get'](_0x4e43fe['root']['rootName']));}}['_fixRange'](_0x5cc3f7,_0x597389){return this['editor']['model']['createRange'](this['_fixPosition'](_0x5cc3f7['start'],_0x597389),this['_fixPosition'](_0x5cc3f7['end'],_0x597389));}['_fixPosition'](_0x56ad14,_0x137460){return this['editor']['model']['createPositionFromPath'](_0x137460,_0x56ad14['path'],_0x56ad14['stickiness']);}['_handleInsertOperation'](_0x30b8ff){const _0x402c8d=this['_idsRoots']['get'](_0x30b8ff['position']['root']['rootName']),_0xa05063=this['_fixPosition'](_0x30b8ff['position'],_0x402c8d),_0x38385e=null===_0x30b8ff['_authorId']?null:_0x30b8ff['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2f3eab=_0xa05063['parent'],_0x4f6641=this['_revisionId'],_0x55a4fa=[];for(const _0x229896 of _0x30b8ff['nodes'])if(_0x229896['is']('element'))_0x55a4fa['push'](this['_makeIdsRoot'](_0x229896));else{for(let _0x460d4a=0x0;_0x460d4a<_0x229896['offsetSize'];_0x460d4a++)_0x55a4fa['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x1bc79a=this['_revisionId'];for(let _0x42f6c8=_0x4f6641;_0x42f6c8<_0x1bc79a;_0x42f6c8++)this['_touched']['set'](_0x42f6c8,{'userId':_0x38385e});_0x2f3eab['_insertChild'](_0xa05063['offset'],_0x55a4fa);}['_handleMoveOperation'](_0x17e41d){(_0x17e41d=this['_cloneOperation'](_0x17e41d,this['_idsRoots']))['_execute']();const _0x25ee95=null===_0x17e41d['_authorId']?null:_0x17e41d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x176ec8=_0x17e41d['getMovedRangeStart'](),_0x189381=_0x176ec8['parent'],_0x3d46c0=_0x176ec8['offset'];!function _0x3fc317(_0x2c9605,_0x546a6a,_0x374371,_0x10add9){for(let _0xfacb06=_0x374371;_0xfacb06<_0x10add9;_0xfacb06++){const _0x39c5cc=_0x546a6a['getChild'](_0xfacb06);_0x39c5cc['is']('element','$text')?_0x2c9605['set'](_0x39c5cc['getAttribute']('vid'),{'userId':_0x25ee95}):(_0x2c9605['set'](_0x39c5cc['getAttribute']('vid_start'),{'userId':_0x25ee95}),_0x3fc317(_0x2c9605,_0x39c5cc,0x0,_0x39c5cc['childCount']),_0x2c9605['set'](_0x39c5cc['getAttribute']('vid_end'),{'userId':_0x25ee95}));}}(this['_touched'],_0x189381,_0x3d46c0,_0x3d46c0+_0x17e41d['howMany']);}['_handleMergeOperation'](_0x31d55d){const _0x3436b1=null===(_0x31d55d=this['_cloneOperation'](_0x31d55d,this['_idsRoots']))['_authorId']?null:_0x31d55d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x328ed7=_0x31d55d['targetPosition']['parent'],_0x4b2809=_0x31d55d['sourcePosition']['parent'],_0x40a58c=_0x328ed7['getAttribute']('vid_end'),_0x39b187=_0x4b2809['getAttribute']('vid_start');_0x328ed7['_setAttribute']('vid_end',_0x4b2809['getAttribute']('vid_end')),_0x4b2809['_setAttribute']('vid_end',_0x40a58c),this['_touched']['set'](_0x39b187,{'userId':_0x3436b1}),this['_touched']['set'](_0x40a58c,{'userId':_0x3436b1}),_0x31d55d['_execute']();}['_handleSplitOperation'](_0x6c346a){const _0x402e07=null===(_0x6c346a=this['_cloneOperation'](_0x6c346a,this['_idsRoots']))['_authorId']?null:_0x6c346a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2de78f=_0x6c346a['graveyardPosition'],_0x33cc11=_0x6c346a['splitPosition']['parent'];_0x6c346a['_execute']();const _0x20c86c=_0x33cc11['getAttribute']('vid_end'),_0x426bda=_0x6c346a['insertionPosition']['nodeAfter'];if(_0x2de78f){const _0x235480=_0x426bda['getAttribute']('vid_end'),_0x3dbd89=_0x33cc11['getAttribute']('vid_end');_0x33cc11['_setAttribute']('vid_end',_0x235480),_0x426bda['_setAttribute']('vid_end',_0x3dbd89),this['_touched']['set'](_0x33cc11['getAttribute']('vid_end'),{'userId':_0x402e07}),this['_touched']['set'](_0x426bda['getAttribute']('vid_start'),{'userId':_0x402e07});}else{const _0x4d0a67=this['_revisionId']++,_0x318de3=this['_revisionId']++;_0x33cc11['_setAttribute']('vid_end',_0x4d0a67),_0x426bda['_setAttribute']('vid_start',_0x318de3),_0x426bda['_setAttribute']('vid_end',_0x20c86c),this['_touched']['set'](_0x4d0a67,{'userId':_0x402e07}),this['_touched']['set'](_0x318de3,{'userId':_0x402e07});}}['_handleMarkerOperation'](_0x4e4238){if(!_0x4e4238['affectsData'])return;const _0x1f8fa1=(_0x4e4238=this['_cloneOperation'](_0x4e4238,this['_diffRoots']))['oldRange']?_0x4e4238['oldRange']['root']:null,_0x2e1d3a=_0x4e4238['newRange']?_0x4e4238['newRange']['root']:null;_0x1f8fa1&&this['_markers']['delete'](_0x4e4238['name']),_0x2e1d3a&&this['_markers']['set'](_0x4e4238['name'],_0x4e4238['newRange']['clone']());const _0x1a8938=null===_0x4e4238['_authorId']?null:_0x4e4238['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x434342=_0x4e4238['name'];if(!this['_touchedMarkers']['has'](_0x434342))return void this['_touchedMarkers']['set'](_0x434342,{'range':_0x4e4238['oldRange'],'userId':_0x1a8938});const _0x4d85cf=this['_touchedMarkers']['get'](_0x434342),_0x4d427b=_0x4d85cf['range'],_0x1cab72=_0x4e4238['newRange'];null==_0x4d427b&&null==_0x1cab72||_0x4d427b&&_0x1cab72&&_0x4d427b['isEqual'](_0x1cab72)?this['_touchedMarkers']['delete'](_0x4e4238['name']):_0x4d85cf['userId']=_0x1a8938;}['_handleRootOperation'](_0x45dd41,_0x19acec){this['_diffRoots']['has'](_0x45dd41['rootName'])?this['_diffRoots']['get'](_0x45dd41['rootName'])['_isAttached']=_0x45dd41['isAdd']:(this['_diffRoots']['set'](_0x45dd41['rootName'],G(_0x45dd41['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x45dd41['rootName'],{}),_0x19acec&&this['_idsRoots']['set'](_0x45dd41['rootName'],G(_0x45dd41['rootName'],!0x0)));const _0x2a75a2=null===_0x45dd41['_authorId']?null:_0x45dd41['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x46d326=this['_touchedRoots']['get'](_0x45dd41['rootName']);_0x46d326&&_0x46d326['userId']===_0x2a75a2?this['_touchedRoots']['delete'](_0x45dd41['rootName']):this['_touchedRoots']['set'](_0x45dd41['rootName'],{'userId':_0x2a75a2,'isAttached':_0x45dd41['isAdd']});}['_handleRootAttributeOperation'](_0x2a3af2){const _0x358a15=this['_diffRootsAttributes']['get'](_0x2a3af2['root']['rootName']);null===_0x2a3af2['newValue']?delete _0x358a15[_0x2a3af2['key']]:_0x358a15[_0x2a3af2['key']]=_0x2a3af2['newValue'];}}function q(_0x33211d){const _0x5b252e=G(_0x33211d['rootName'],_0x33211d['isAttached']());for(const _0x168686 of _0x33211d['getChildren']()){const _0xea87e9=_0x168686['_clone'](!0x0);_0x5b252e['_appendChild'](_0xea87e9);}return _0x5b252e;}function G(_0x4090a7,_0x2a216c=!0x0){const _0x370c72=new wt();return _0x370c72['rootName']=_0x4090a7,_0x370c72['_isAttached']=_0x2a216c,_0x370c72['isAttached']=()=>_0x370c72['_isAttached'],_0x370c72;}function L(_0x18f39d,_0x20c04e,_0x4fa3b0){const _0x4241f6='elementEnd'==_0x18f39d['type']?_0x4fa3b0['createPositionAt'](_0x18f39d['item'],'end'):_0x4fa3b0['createPositionBefore'](_0x18f39d['item']);return _0x4fa3b0['createPositionFromPath'](_0x20c04e,_0x4241f6['path'],_0x4241f6['stickiness']);}function W(_0x514f4c,_0x35929e,_0x2a7fce){const _0x121de2='elementStart'==_0x514f4c['type']?_0x2a7fce['createPositionAt'](_0x514f4c['item'],0x0):_0x2a7fce['createPositionAfter'](_0x514f4c['item']);return _0x2a7fce['createPositionFromPath'](_0x35929e,_0x121de2['path'],_0x121de2['stickiness']);}class ns extends _0x2cc590{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x1b567a,_0x1bb938){super(_0x1b567a),this['focusTracker']=new _0x3eadd8(),this['keystrokes']=new _0x5e2ba8(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x1bb938),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'](),_0x40b8c1({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x5e9486=_0x3b1324=>_0x3b1324['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5e9486),this['keystrokes']['set']('arrowleft',_0x5e9486),this['keystrokes']['set']('arrowup',_0x5e9486),this['keystrokes']['set']('arrowdown',_0x5e9486);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x25d177){this['revisionNameInputView']['fieldView']['element']['value']=_0x25d177['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0xdec294){const _0x246c17=new at(this['locale'],_0x1f6267),_0x59b608=_0x246c17['fieldView'];_0x59b608['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x33e05b=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0xdec294&&(_0x33e05b+='\x20('+y(this['locale'],'optional')+')'),(_0x246c17['label']=_0x33e05b,_0x59b608['on']('input',()=>{this['revisionNameInputValue']=_0x59b608['element']['value']['trim']();}),_0x246c17);}}class u extends _0x18654b{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x253de5=this['editor'],_0x216a2f=_0x253de5['plugins']['get']('RevisionTracker');_0x253de5['ui']['componentFactory']['add']('revisionHistory',_0x28a50a=>{const _0x54f96e=_0x46a514(_0x28a50a),_0x4f9ba0=_0x54f96e['panelView']['children'],_0x24e336=new te(_0x28a50a),_0x160185=new _0xd7f1fb(_0x28a50a),_0x2a5d2e=new _0x3ce999(_0x28a50a),_0xc98e9f=new _0xd7f1fb(_0x28a50a),_0x1a7b03=new _0x3ce999(_0x28a50a);return _0x54f96e['bind']('isEnabled')['to'](_0x216a2f,'isReady',_0x216a2f,'isEnabled',_0x253de5,'isReadOnly',(_0x41b4d6,_0x4c4008,_0x18de9d)=>_0x41b4d6&&_0x4c4008&&!_0x18de9d),_0x54f96e['buttonView']['set']({'icon':_0x22d62c['history'],'label':y(_0x28a50a,'Revision\x20history'),'tooltip':!0x0}),_0x2a5d2e['set']({'label':y(_0x28a50a,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x2a5d2e['bind']('isEnabled')['to'](_0x216a2f,'isReady',_0x216a2f,'isEnabled',_0x253de5,'isReadOnly',(_0x2deffa,_0x3fe777,_0x58c2f4)=>_0x2deffa&&_0x3fe777&&!_0x58c2f4),_0x2a5d2e['on']('execute',()=>this['_showDialog']()),_0x1a7b03['set']({'label':y(_0x28a50a,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x1a7b03['bind']('isEnabled')['to'](_0x216a2f,'isReady',_0x253de5,'isReadOnly',(_0x41367e,_0x356168)=>_0x41367e&&!_0x356168),_0x1a7b03['on']('execute',()=>{_0x253de5['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x54f96e['isOpen']=!0x1,_0x253de5['editing']['view']['focus']();}),_0x160185['children']['add'](_0x2a5d2e),_0xc98e9f['children']['add'](_0x1a7b03),_0x24e336['role']='menu',_0x24e336['items']['addMany']([_0x160185,_0xc98e9f]),_0x4f9ba0['add'](_0x24e336),_0x54f96e;}),_0x253de5['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x12b391=this['editor'],_0x2d8845=_0x12b391['locale'],_0x2bf7a1=new _0xe61ffa(_0x2d8845),_0x42e4eb=new _0x40e2be(_0x2d8845);_0x2bf7a1['buttonView']['set']({'icon':_0x22d62c['history'],'label':y(_0x2d8845,'Revision\x20history')});const _0x30d9e=new _0x3c5a94(_0x2d8845,_0x2bf7a1),_0x2b56af=new _0x553942(_0x2d8845);_0x2b56af['set']({'label':y(_0x2d8845,'Save\x20current\x20revision')}),_0x2b56af['delegate']('execute')['to'](_0x2bf7a1),_0x2b56af['on']('execute',()=>{this['_showDialog']();}),_0x30d9e['children']['add'](_0x2b56af),_0x42e4eb['items']['add'](_0x30d9e);const _0x4137ef=new _0x3c5a94(_0x2d8845,_0x2bf7a1),_0x2a1e7a=new _0x553942(_0x2d8845);return _0x2a1e7a['set']({'label':y(_0x2d8845,'Open\x20revision\x20history')}),_0x2a1e7a['delegate']('execute')['to'](_0x2bf7a1),_0x2a1e7a['on']('execute',()=>{_0x12b391['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x4137ef['children']['add'](_0x2a1e7a),_0x42e4eb['items']['add'](_0x4137ef),_0x2bf7a1['panelView']['children']['add'](_0x42e4eb),_0x2bf7a1;}['_showDialog'](){const _0x18665a=this['editor'],_0x500eaa=_0x18665a['locale'],_0x2928c5=_0x18665a['plugins']['get']('Dialog'),_0xdd3250=_0x18665a['plugins']['get']('RevisionTracker');function _0x1fa459(_0x449078){_0x18665a['config']['get']('revisionHistory.requireRevisionName')&&''===_0x449078['revisionName']?_0x449078['revisionNameInputView']['errorText']=y(_0x500eaa,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x18665a['plugins']['get'](l)['saveRevision']({'name':_0x449078['revisionName']}),_0x2928c5['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x1fa459(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x2928c5['show']({'id':'revisionSave','title':y(_0x500eaa,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x18665a['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x2928c5['hide']()},{'label':y(_0x18665a['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0xe9baa4){_0xe9baa4['bind']('isEnabled')['to'](_0xdd3250,'isReady',_0xdd3250,'isEnabled',_0x18665a,'isReadOnly',(_0x3b21f3,_0x1f94a9,_0x5c3fee)=>_0x3b21f3&&_0x1f94a9&&!_0x5c3fee);},'onExecute':()=>_0x1fa459(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x29f967=this['editor'],_0x3509e0=_0x29f967['locale'];this['_saveRevisionFormView']=new ns(_0x3509e0,_0x29f967['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x2cc590{['changeId'];['_model'];constructor(_0x4a5296,_0x2fe4b9){super(_0x4a5296),this['_model']=_0x2fe4b9,this['changeId']=_0x2fe4b9['id'];const _0x116efb=this['bindTemplate'],_0x22aa8b=y(_0x4a5296,_0x2fe4b9['data']['isSuggestion']?'Suggested\x20by':'add'==_0x2fe4b9['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x2fe4b9['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x116efb['to']('type',_0x2c5086=>'ck-revision-change__'+_0x2c5086)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x22aa8b}]},{'text':'\x20'+_0x2fe4b9['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x2b3d8d(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x236102){super(),this['id']=_0x236102['id']||_0x1fef2a(),this['author']=_0x236102['author'],this['type']=_0x236102['type'],this['data']=_0x236102['data']||{},this['rootName']=_0x236102['rootName'],this['set']('createdAt',_0x236102['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(_0x34fa5a,_0x2c3ee7){this['newRevisionId']=_0x34fa5a,this['oldRevisionId']=_0x2c3ee7,this['changes']=new _0x11a29b();}['_setChanges'](_0x1155f0){for(const _0x2ca58a of _0x1155f0)this['changes']['add'](_0x2ca58a);}}const tt={'c':_0x1a9549,'a':_0x1fbea8,'e':_0x231d56,'r':_0x522c63,'u':_0x170638};class d extends _0x18654b{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x2619e6,_0x4ba25a,A];}constructor(_0x4b9ee8){super(_0x4b9ee8),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',(_0x2e0d1d,_0x3a5f75,_0x5b7ce5)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x388fd1=>{for(const _0x51d206 of this['editor']['editing']['view']['document']['roots'])_0x5b7ce5?_0x388fd1['removeClass']('ck-editor__editable__overlay',_0x51d206):_0x388fd1['addClass']('ck-editor__editable__overlay',_0x51d206);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x4e1f6d=>null!==_0x4e1f6d),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x4e764f,_0x16c109,_0x4fa504)=>_0x4e764f&&_0x4fa504?_0x16c109['changes']['getIndex'](_0x4fa504):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0xc4c91d,_0x218a94)=>_0xc4c91d?_0x218a94['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x4ba25a);}['init'](){const _0x23ead5=this['editor'],_0xa2b301=new yt(_0x23ead5,{'direction':'backward'}),_0x30cb51=new yt(_0x23ead5,{'direction':'forward'});(_0x23ead5['commands']['add']('showPreviousChange',_0xa2b301),_0x23ead5['commands']['add']('showNextChange',_0x30cb51),_0x23ead5['commands']['add']('restoreRevision',new bt(_0x23ead5)),this['on']('change:numberOfChanges',()=>{_0xa2b301['refresh'](),_0x30cb51['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x23ead5['enableReadOnlyMode']('revision-viewer'),_0x23ead5['plugins']['has']('WidgetToolbarRepository'))&&_0x23ead5['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x27af2b){await this['loadRevisionData'](_0x27af2b);const _0xc12117={};for(const _0x42ca18 in _0x27af2b['diffData']){if(_0x27af2b['diffData'][_0x42ca18]['attachChange']&&!_0x27af2b['diffData'][_0x42ca18]['attachChange']['isAttached'])continue;const _0x1061dd=this['_removeRevisionMarkers'](JSON['parse'](_0x27af2b['diffData'][_0x42ca18]['insertions'])),_0x3d60a6=this['editor']['editing']['view']['document'],_0x3203be=new _0x3b60fc(_0x3d60a6,_0x1061dd['map'](_0x51580a=>this['_getViewObj'](_0x51580a)));this['editor']['data']['processor']['useFillerType']('marked'),_0xc12117[_0x42ca18]=this['editor']['data']['processor']['toData'](_0x3203be),this['editor']['data']['processor']['useFillerType']('default');}return _0xc12117;}async['getRevisionRootsAttributes'](_0xdd273){await this['loadRevisionData'](_0xdd273);const _0x2ebf80={};for(const _0x50e620 in _0xdd273['diffData'])_0xdd273['diffData'][_0x50e620]['attachChange']&&!_0xdd273['diffData'][_0x50e620]['attachChange']['isAttached']||(_0x2ebf80[_0x50e620]=_0xdd273['diffData'][_0x50e620]['attributesAfter']||{});return _0x2ebf80;}['_removeRevisionMarkers'](_0x510d86){return(_0x510d86=_0x510d86['filter'](_0x528d32=>!_0x528d32['name']||'revision-start'!==_0x528d32['name']&&'revision-end'!==_0x528d32['name']))['forEach'](_0x4c2b5d=>{'string'!=typeof _0x4c2b5d&&(_0x4c2b5d['children']=this['_removeRevisionMarkers'](_0x4c2b5d['children']),_0x4c2b5d['attributes']=_0x4c2b5d['attributes']['filter'](_0x535192=>!_0x535192[0x0]['startsWith']('data-revision-')));}),_0x510d86;}async['compare'](_0x5345e0,_0x355cb0,_0x3e3391=!0x1){if(!this['isEnabled'])return;const _0x59aa0a=this['diff'],_0x37bb12=this['repository'],_0x2d7a60='string'==typeof _0x5345e0?_0x37bb12['getRevision'](_0x5345e0):_0x5345e0,_0x4de4f8='string'==typeof _0x355cb0?_0x37bb12['getRevision'](_0x355cb0):_0x355cb0,_0x357ee3=_0x2d7a60['id'],_0xdbbf79=_0x4de4f8?_0x4de4f8['id']:null;if(!_0x3e3391&&this['diff']&&this['diff']['newRevisionId']===_0x357ee3&&this['diff']['oldRevisionId']===_0xdbbf79)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x357ee3,_0xdbbf79);const _0x38ff30=this['_getRevisionsRange'](_0x2d7a60,_0x4de4f8,!0x0)['map'](_0x576c9d=>this['loadRevisionData'](_0x576c9d));return _0x38ff30['push'](new Promise(_0x547873=>{setTimeout(_0x547873,0x14);})),Promise['all'](_0x38ff30)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x4cf475=this['_getDiff'](_0x357ee3,_0xdbbf79);for(const _0x30f919 of _0x4cf475['changes'])this['_changeIdToChange']['set'](_0x30f919['id'],_0x30f919);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x274aca=>{for(const _0x4b6952 of this['editor']['model']['document']['getRootNames']())_0x274aca['detachRoot'](_0x4b6952);for(const _0x2f2248 of Object['keys'](_0x4cf475['model'])){const _0x1f19a9=_0x274aca['addRoot'](_0x2f2248);for(const _0x4b8a88 of Object['keys'](_0x4cf475['attributes'][_0x2f2248]))_0x274aca['setAttribute'](_0x4b8a88,_0x4cf475['attributes'][_0x2f2248][_0x4b8a88],_0x1f19a9);_0x274aca['insert'](_0x4cf475['model'][_0x2f2248],_0x1f19a9,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x4cf475['changes'])),this['isReady']=!0x0;})['catch'](_0x56b915=>{console['error'](_0x56b915),this['_cleanUp'](),_0x59aa0a&&(this['diff']=_0x59aa0a),this['isReady']=!0x0;});}['addRevisionData'](_0x320c3a,_0x55f26c){const _0x268237=this['repository']['createRevision'](_0x320c3a);return _0x268237['on']('_update',(_0x44798c,_0x5ee9ef,_0x102b48)=>_0x55f26c(_0x5ee9ef,_0x102b48,_0x268237)),this['repository']['addRevision'](_0x268237),_0x268237;}['loadRevisionData'](_0x2366aa){if(!_0x2366aa||_0x2366aa['diffData'])return Promise['resolve']();{const _0x29a90e=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x29a90e,'revisionId':_0x2366aa['id']})['then'](_0x175125=>{_0x2366aa['_update']({'diffData':_0x175125['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},_0x497ec2=>{for(const _0x2fb0ea of this['editor']['model']['document']['getRootNames']())_0x497ec2['detachRoot'](_0x2fb0ea);});}['_sortAndFilterDiffChanges'](_0x536203){const _0x508e1a=[],_0x817433=new Map();for(const _0x2e43da of this['editor']['model']['document']['getRootNames']()){const _0x34107f=this['editor']['editing']['view']['getDomRoot'](_0x2e43da);if(!_0x34107f)continue;const _0x47358e=_0x34107f['getClientRects']()['item'](0x0);_0x47358e&&(_0x508e1a['push'](_0x2e43da),_0x817433['set'](_0x2e43da,_0x47358e));}return _0x508e1a['sort']((_0x391900,_0x536495)=>{const _0xb63512=_0x817433['get'](_0x391900),_0x570979=_0x817433['get'](_0x536495);return _0xb63512['y']-_0x570979['y']||_0xb63512['x']-_0x570979['x'];}),(_0x536203=_0x536203['filter'](_0x28178f=>_0x508e1a['includes'](_0x28178f['rootName'])))['sort']((_0x2f422e,_0x4cb8a4)=>_0x508e1a['indexOf'](_0x2f422e['rootName'])-_0x508e1a['indexOf'](_0x4cb8a4['rootName'])),_0x536203;}['_makeTape'](_0xcbaab6){const _0x3aa326=Array['from'](_0xcbaab6['markers'])['filter'](([_0x2ad759,_0x15a13e])=>_0x2ad759['startsWith']('revision:')&&!_0x15a13e['isCollapsed']),_0x4fc03f=Array['from'](this['editor']['model']['createRangeIn'](_0xcbaab6)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x3aa326['length'])for(const _0x349c1d of _0x4fc03f){const [_0x46ce37,_0x2432b5]=_0x3aa326[0x0],[,_0x5eb956,_0x3c252d]=_0x46ce37['split'](':');if(_0x2432b5['end']['isEqual'](_0x349c1d['nextPosition'])&&_0x3aa326['shift'](),(_0x349c1d['previousPosition']['isEqual'](_0x2432b5['start'])||_0x349c1d['previousPosition']['isAfter'](_0x2432b5['start']))&&('insertion'==_0x5eb956?_0x349c1d['isAdded']={'userId':_0x3c252d}:'deletion'==_0x5eb956&&(_0x349c1d['isRemoved']={'userId':_0x3c252d})),0x0==_0x3aa326['length'])break;}return _0x4fc03f;}['_refreshStartEndIndex'](_0x41d236){const _0x3388fc=new Map();for(let _0x49b425=0x0;_0x49b425<_0x41d236['length'];_0x49b425++)'text'===_0x41d236[_0x49b425]['type']?(_0x41d236[_0x49b425]['item']['startIndex']=_0x49b425,_0x41d236[_0x49b425]['item']['endIndex']=_0x49b425):('elementStart'===_0x41d236[_0x49b425]['type']?_0x41d236[_0x49b425]['item']['startIndex']=_0x49b425:'elementEnd'===_0x41d236[_0x49b425]['type']&&(_0x41d236[_0x49b425]['item']['endIndex']=_0x49b425),_0x3388fc['set'](_0x41d236[_0x49b425]['id'],_0x49b425));for(const _0x5f59c9 of _0x3388fc['values']())'elementStart'===_0x41d236[_0x5f59c9]['type']?_0x41d236[_0x5f59c9]['item']['endIndex']=_0x3388fc['get'](_0x41d236[_0x5f59c9]['pairId']):'elementEnd'===_0x41d236[_0x5f59c9]['type']&&(_0x41d236[_0x5f59c9]['item']['startIndex']=_0x3388fc['get'](_0x41d236[_0x5f59c9]['pairId']));}['_processTape'](_0x5dc286){for(let _0xbf7844=0x0;_0xbf7844<_0x5dc286['length'];_0xbf7844++){if('elementStart'===_0x5dc286[_0xbf7844]['type'])_0x5dc286[_0xbf7844]['item']['startIndex']=_0xbf7844;else{if('elementEnd'===_0x5dc286[_0xbf7844]['type']){_0x5dc286[_0xbf7844]['item']['endIndex']=_0xbf7844;const _0x3c4f98=_0x5dc286[_0xbf7844]['item']['startIndex'];_0x5dc286[_0x3c4f98]['pairId']=_0x5dc286[_0xbf7844]['id'],_0x5dc286[_0xbf7844]['pairId']=_0x5dc286[_0x3c4f98]['id'];}else _0x5dc286[_0xbf7844]['item']['startIndex']=_0xbf7844,_0x5dc286[_0xbf7844]['item']['endIndex']=_0xbf7844,_0x5dc286[_0xbf7844]['pairId']=null;}_0x5dc286[_0xbf7844]['markersStart']||(_0x5dc286[_0xbf7844]['markersStart']=[],_0x5dc286[_0xbf7844]['markersEnd']=[]);}}['_markInsertions'](_0x14a595,_0x395bee){const _0x47b3db=_0x14a595['filter'](_0x525c7c=>!_0x525c7c['isAdded']);for(let _0xbcc4e8=0x0;_0xbcc4e8<_0x395bee['length'];_0xbcc4e8++)_0x395bee[_0xbcc4e8]['isAdded']&&(_0x47b3db[_0xbcc4e8]['isAdded']=_0x395bee[_0xbcc4e8]['isAdded']);}['_makeModelFromViewString'](_0x5b7163){const _0x2a158c=JSON['parse'](_0x5b7163),_0x19e6b4=this['editor']['editing']['view']['document'],_0x1a06ea=new _0x3b60fc(_0x19e6b4,_0x2a158c['map'](_0x5b3b72=>this['_getViewObj'](_0x5b3b72)));return this['editor']['data']['toModel'](_0x1a06ea);}['_getViewObj'](_0x2c4cb1){const _0x3ae9d2=this['editor']['editing']['view']['document'];if('string'==typeof _0x2c4cb1)return new _0x6b7091(_0x3ae9d2,_0x2c4cb1);{const _0x41b365=_0x2c4cb1['children']['map'](_0x28a630=>this['_getViewObj'](_0x28a630));return new(tt[_0x2c4cb1['type']]||_0x57d40e)(_0x3ae9d2,_0x2c4cb1['name'],_0x2c4cb1['attributes'],_0x41b365);}}['_getDiff'](_0x331b1d,_0x36425b=null){const _0x437932=this['repository']['getRevision'](_0x331b1d),_0x4e9c08=_0x36425b?this['repository']['getRevision'](_0x36425b):null,_0x52dcfd=this['_getRevisionsRange'](_0x437932,_0x4e9c08),_0x30130b=_0x52dcfd[_0x52dcfd['length']-0x1],_0x51a744=new Map(),_0x275297={'model':{},'attributes':{},'changes':[]},_0x444c49=new Set(),_0x44a20b=new Map();for(let _0x501576=_0x52dcfd['length']-0x1;_0x501576>=0x0;_0x501576--){const _0x34d67f=_0x52dcfd[_0x501576];for(const _0x573f04 of Object['keys'](_0x34d67f['diffData']))if(_0x34d67f['diffData'][_0x573f04]['attachChange']){const _0xe0e893=_0x34d67f['diffData'][_0x573f04]['attachChange'];_0xe0e893['isAttached']?(_0x444c49['add'](_0x573f04),_0x44a20b['has'](_0x573f04)&&_0x44a20b['get'](_0x573f04)['userId']==_0xe0e893['userId']?_0x44a20b['delete'](_0x573f04):_0x44a20b['set'](_0x573f04,_0xe0e893)):_0x44a20b['has'](_0x573f04)?(_0x444c49['delete'](_0x573f04),_0x44a20b['delete'](_0x573f04)):(_0x444c49['add'](_0x573f04),_0x44a20b['set'](_0x573f04,_0xe0e893));}else _0x444c49['add'](_0x573f04);}for(const _0x285923 of _0x444c49){const _0x334a1a=_0x44a20b['has'](_0x285923)&&!_0x44a20b['get'](_0x285923)['isAttached'];let _0x56aac8=_0x334a1a?_0x52dcfd['length']-0x1:0x0;const _0x4936d9=_0x334a1a?-0x1:0x1;for(;_0x52dcfd[_0x56aac8];){const _0x269799=_0x52dcfd[_0x56aac8];if(_0x269799['diffData'][_0x285923]){const _0x2f33a4=_0x334a1a?_0x269799['diffData'][_0x285923]['attributesBefore']:_0x269799['diffData'][_0x285923]['attributesAfter'];_0x275297['attributes'][_0x285923]=_0x2f33a4?_0x30931d(_0x2f33a4):{};break;}_0x56aac8+=_0x4936d9;}}for(const _0x296978 of _0x52dcfd){_0x296978['model']={};for(const _0x9ad273 of _0x296978['authors'])_0x51a744['set'](_0x9ad273['id'],_0x9ad273);for(const _0x49116b of _0x444c49){const _0x1ca073=_0x296978['diffData'][_0x49116b]?_0x296978['diffData'][_0x49116b]['insertions']:'[]',_0x224769=_0x296978['diffData'][_0x49116b]?_0x296978['diffData'][_0x49116b]['deletions']:'[]';_0x296978['model'][_0x49116b]={'insertions':this['_makeModelFromViewString'](_0x1ca073),'deletions':this['_makeModelFromViewString'](_0x224769)};}}for(const _0x36423b of _0x444c49){let _0x325e38=null,_0xbb0c38=0x0;const _0x2b5123=new Map(Array['from'](_0x437932['model'][_0x36423b]['insertions']['markers'])['filter'](([_0x4ac703])=>!_0x4ac703['startsWith']('revision:')));let _0x269f46=0x0;for(const _0x88767c of _0x52dcfd){const _0x119a55=this['_makeTape'](_0x88767c['model'][_0x36423b]['insertions']);_0x88767c==_0x437932?(_0x325e38=_0x119a55,_0xbb0c38=_0x325e38['length'],_0x325e38['forEach'](_0x1f285f=>{_0x1f285f['id']=_0x269f46++;}),this['_processTape'](_0x325e38)):this['_markInsertions'](_0x325e38,_0x119a55);const _0x44e49b=_0x325e38['filter'](_0xe1da92=>!_0xe1da92['isAdded'])['map'](_0x18dc33=>_0x18dc33['id']);let _0x1595dc=0x0;const _0x5c9c51=this['_makeTape'](_0x88767c['model'][_0x36423b]['deletions']);_0x5c9c51['forEach'](_0x37e95e=>{_0x37e95e['isRemoved']?_0x37e95e['id']=_0xbb0c38++:_0x37e95e['id']=_0x44e49b[_0x1595dc++];}),this['_processTape'](_0x5c9c51),this['_setDistance'](_0x325e38,'isAdded'),this['_setDistance'](_0x5c9c51,'isRemoved'),_0x88767c==_0x437932&&this['_markMarkers'](_0x325e38,_0x2b5123),_0x325e38=this['_joinTapes'](_0x325e38,_0x5c9c51),this['_refreshStartEndIndex'](_0x325e38),this['_setDistance'](_0x325e38,'isRemoved');}_0x325e38=_0x325e38['filter'](_0xa8954=>!(_0xa8954['isAdded']&&_0xa8954['isRemoved']));const _0x577903=new Map(_0x30130b['model'][_0x36423b]['deletions']['markers']),_0x409d50=new Set(_0x2b5123['keys']());for(const _0x5c415a of _0x577903['keys']())_0x409d50['delete'](_0x5c415a);this['_markSuggestions'](_0x325e38,_0x409d50),this['_fixObsoleteTags'](_0x325e38),_0x325e38=this['_removeMissingPairs'](_0x325e38),_0x325e38=this['_markMismatchedRemovedTags'](_0x325e38),_0x325e38=this['_removeUnsupportedChanges'](_0x325e38);const {root:_0xe65ab7,changes:_0x126d24}=this['_makeModelFromTape'](_0x325e38,_0x51a744,_0x36423b);_0x275297['model'][_0x36423b]=_0xe65ab7;const _0x36ab54=_0x44a20b['get'](_0x36423b);if(_0x36ab54){const _0x2c62ed=_0x51a744['get'](_0x36ab54['userId']),_0x1656fc=new r({'author':_0x2c62ed,'type':_0x36ab54['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x36423b});_0x126d24['unshift'](_0x1656fc),_0x275297['attributes'][_0x36423b]['revisionHistoryAttachChange']=_0x1656fc['id'];}_0x275297['changes']=_0x275297['changes']['concat'](_0x126d24);}return _0x275297;}['_markMarkers'](_0x2d5600,_0x6c2b38){for(let _0x340271=0x0;_0x340271<_0x2d5600['length'];_0x340271++)for(const [_0x2ceec3,_0x181916]of _0x6c2b38)_0x181916['start']['isEqual'](_0x2d5600[_0x340271]['previousPosition'])&&_0x2d5600[_0x340271]['markersStart']['push'](_0x2ceec3),_0x181916['end']['isEqual'](_0x2d5600[_0x340271]['nextPosition'])&&_0x2d5600[_0x340271]['markersEnd']['push'](_0x2ceec3);}['_joinTapes'](_0x4fea8b,_0x3784fe){let _0x2e2882=[],_0x525069=0x0,_0x25bf5e=0x0;for(;_0x525069<_0x4fea8b['length']||_0x25bf5e<_0x3784fe['length'];){const _0x1bea76=_0x4fea8b[_0x525069]||{},_0x4a6074=_0x3784fe[_0x25bf5e]||{};if(_0x1bea76['id']==_0x4a6074['id'])_0x525069++,_0x25bf5e++,_0x2e2882['push'](_0x1bea76);else{if(_0x4a6074['isRemoved']&&_0x1bea76['isAdded']){const {commonTape:_0x547b94,iEnd:_0x5cf3fa,jEnd:_0x206e21}=this['_threeWayMerge'](_0x4fea8b,_0x525069,_0x3784fe,_0x25bf5e);_0x2e2882=_0x2e2882['concat'](_0x547b94),_0x525069=_0x5cf3fa,_0x25bf5e=_0x206e21;}else _0x4a6074['isRemoved']?(_0x25bf5e++,_0x2e2882['push'](_0x4a6074)):(_0x525069++,_0x2e2882['push'](_0x1bea76));}}return _0x2e2882;}['_markSuggestions'](_0x3ddaa8,_0x533a83){const _0xe1f197=[];for(let _0xadda42=0x0;_0xadda42<_0x3ddaa8['length'];_0xadda42++){for(let _0x2a1776=0x0;_0x2a1776<_0x3ddaa8[_0xadda42]['markersStart']['length'];_0x2a1776++){const _0xf6e02c=_0x3ddaa8[_0xadda42]['markersStart'][_0x2a1776];if(!_0x533a83['has'](_0xf6e02c))continue;const {group:_0x25dd7a,type:_0x326046,authorId:_0x55bc59}=_0x1d97d1(_0xf6e02c);'revision-suggestion'!=_0x25dd7a||'insertion'!=_0x326046&&'deletion'!=_0x326046||(_0xe1f197['unshift']({'type':_0x326046,'name':_0xf6e02c,'userId':_0x55bc59}),_0x3ddaa8[_0xadda42]['markersStart']['splice'](_0x2a1776,0x1),_0x2a1776--);}_0x571cb8(_0x3ddaa8[_0xadda42]);for(let _0x5790c5=0x0;_0x5790c5<_0x3ddaa8[_0xadda42]['markersEnd']['length'];_0x5790c5++){const _0x53e81f=_0x3ddaa8[_0xadda42]['markersEnd'][_0x5790c5];if(!_0x533a83['has'](_0x53e81f))continue;const {group:_0x36a97f,type:_0x267855}=_0x1d97d1(_0x53e81f);if('revision-suggestion'!=_0x36a97f||'insertion'!=_0x267855&&'deletion'!=_0x267855)continue;_0x3ddaa8[_0xadda42]['markersEnd']['splice'](_0x5790c5,0x1),_0x5790c5--;const _0x5a1c48=_0xe1f197['findIndex'](_0x59ae73=>_0x59ae73['name']==_0x53e81f);_0x5a1c48>-0x1&&_0xe1f197['splice'](_0x5a1c48,0x1);}}function _0x1d97d1(_0x3f9a6b){const _0x3a9b66=_0x3f9a6b['split'](':');return{'group':_0x3a9b66[0x0],'type':_0x3a9b66[0x1],'subType':_0x3a9b66['length']>=0x5?_0x3a9b66[0x2]:null,'id':_0x3a9b66['length']<0x5?_0x3a9b66[0x2]:_0x3a9b66[0x3],'authorId':_0x3a9b66['length']<0x5?_0x3a9b66[0x3]:_0x3a9b66[0x4],'markerCount':0x6==_0x3a9b66['length']?_0x3a9b66[0x5]:null};}function _0x571cb8(_0x30c4e5){for(let _0x39eda7=0x0;_0x39eda7<_0xe1f197['length'];_0x39eda7++){if(_0x30c4e5['isAdded']&&'insertion'==_0xe1f197[_0x39eda7]['type'])return _0x30c4e5['isAddSuggestion']=_0xe1f197[_0x39eda7],void delete _0x30c4e5['isAdded'];if(!_0x30c4e5['isAdded']&&!_0x30c4e5['isRemoved']&&'deletion'==_0xe1f197[_0x39eda7]['type'])return void(_0x30c4e5['isRemoveSuggestion']=_0xe1f197[_0x39eda7]);}}}['_setDistance'](_0x520a06,_0x5662dc){let _0x5df04c=0x0,_0x589a67=!0x1;const _0x4b0ed8=new Map();for(const _0x2d145f of _0x520a06)_0x2d145f[_0x5662dc]?_0x589a67&&(_0x5df04c++,_0x589a67=!0x1):(_0x5df04c++,_0x589a67=!0x0),_0x4b0ed8['set'](_0x2d145f['id'],_0x5df04c);for(let _0x12db6f=0x0;_0x12db6f<_0x520a06['length'];_0x12db6f++){if('isRemoved'==_0x5662dc&&_0x520a06[_0x12db6f]['isAdded']||'isAdded'==_0x5662dc&&_0x520a06[_0x12db6f]['isRemoved'])continue;if('text'==_0x520a06[_0x12db6f]['type']){_0x520a06[_0x12db6f]['distance']=0x0;continue;}const _0x2c9e68=_0x4b0ed8['get'](_0x520a06[_0x12db6f]['pairId']),_0x1cb67d=_0x4b0ed8['get'](_0x520a06[_0x12db6f]['id']);_0x520a06[_0x12db6f]['distance']=_0x2c9e68-_0x1cb67d;}}['_getRevisionsRange'](_0x6b4e27,_0x340626,_0x50a914=!0x1){const _0x949967=[];let _0x413bca=this['repository']['getIndex'](_0x6b4e27),_0x4ba5eb=this['repository']['getIndex'](_0x340626);for(-0x1==_0x4ba5eb&&(_0x4ba5eb=this['repository']['_revisions']['length'],_0x50a914=!0x1);_0x413bca<_0x4ba5eb;)_0x949967['push'](this['repository']['getRevision'](_0x413bca)),_0x413bca++;return _0x50a914&&_0x949967['push'](this['repository']['getRevision'](_0x413bca)),_0x949967;}['_threeWayMerge'](_0x2c5436,_0x3decdf,_0x183264,_0x47ad5b){const _0x40a9ec=this['editor']['model']['schema'];let _0x23b7fb=_0x3decdf;for(;_0x2c5436[_0x23b7fb]&&_0x2c5436[_0x23b7fb]['isAdded'];)_0x23b7fb++;let _0x2ce5a9=_0x47ad5b;for(;_0x183264[_0x2ce5a9]&&_0x183264[_0x2ce5a9]['isRemoved'];)_0x2ce5a9++;_0x8ed09(_0x2c5436,_0x3decdf,_0x23b7fb),_0x8ed09(_0x183264,_0x47ad5b,_0x2ce5a9);const _0x2cc531=_0x183264['slice'](_0x47ad5b,_0x2ce5a9)['concat'](_0x2c5436['slice'](_0x3decdf,_0x23b7fb));return _0x2cc531['sort']((_0x1a78be,_0x3f6630)=>_0x1a78be['side']!=_0x3f6630['side']?_0x1a78be['side']-_0x3f6630['side']:_0x1a78be['level']!=_0x3f6630['level']?_0x1a78be['level']-_0x3f6630['level']:_0x1a78be['distance']!=_0x3f6630['distance']?_0x3f6630['distance']-_0x1a78be['distance']:!!_0x1a78be['isAdded']!=!!_0x3f6630['isAdded']?-0x1==_0x1a78be['side']||0x0==_0x1a78be['side']?_0x1a78be['isAdded']?-0x1:0x1:_0x1a78be['isAdded']?0x1:-0x1:_0x1a78be['index']-_0x3f6630['index']),{'commonTape':_0x2cc531,'iEnd':_0x23b7fb,'jEnd':_0x2ce5a9};function _0x8ed09(_0x4fce2e,_0x2a4291,_0x5d9906){let _0x24d3ac=-0x1,_0x15d556=Number['POSITIVE_INFINITY'],_0x26dbf2=!0x0;for(let _0x5a5e02=_0x2a4291;_0x5a5e02<_0x5d9906;_0x5a5e02++)if(_0x40a9ec['isInline'](_0x4fce2e[_0x5a5e02]['item'])||(_0x26dbf2=!0x1),_0x4fce2e[_0x5a5e02]['item']['startIndex']<_0x2a4291&&(_0x24d3ac=_0x5a5e02),_0x4fce2e[_0x5a5e02]['item']['endIndex']>=_0x5d9906){_0x15d556=_0x5a5e02;break;}_0x26dbf2&&(_0x24d3ac=_0x5d9906-0x1);for(let _0x5da6e7=_0x2a4291;_0x5da6e7<_0x5d9906;_0x5da6e7++)_0x4fce2e[_0x5da6e7]['side']=_0x5da6e7<=_0x24d3ac?-0x1:_0x5da6e7<_0x15d556?0x0:0x1,_0x4fce2e[_0x5da6e7]['index']=_0x5da6e7;let _0x43f2fa=0x0;for(let _0x2c65dd=_0x2a4291;_0x2c65dd<=_0x24d3ac;_0x2c65dd++)0x0==_0x4fce2e[_0x2c65dd]['distance']?_0x4fce2e[_0x2c65dd]['level']=_0x43f2fa:(_0x43f2fa++,_0x4fce2e[_0x2c65dd]['level']=_0x43f2fa,_0x43f2fa++);for(let _0x387f9e=_0x2a4291;_0x387f9e<_0x5d9906;_0x387f9e++)0x0==_0x4fce2e[_0x387f9e]['side']&&(_0x4fce2e[_0x387f9e]['level']=_0x43f2fa);_0x43f2fa=0x0;for(let _0x187c15=_0x5d9906-0x1;_0x187c15>=_0x15d556;_0x187c15--)0x0==_0x4fce2e[_0x187c15]['distance']?_0x4fce2e[_0x187c15]['level']=_0x43f2fa:(_0x43f2fa--,_0x4fce2e[_0x187c15]['level']=_0x43f2fa,_0x43f2fa--);}}['_fixObsoleteTags'](_0x214f3d){const _0x2bfa24=new Map(),_0x1a4da4=this['editor']['model']['schema'];for(let _0x1892b7=0x1;_0x1892b7<_0x214f3d['length'];_0x1892b7++){let _0xd84956,_0x440ceb,_0x52308c;const _0x46c31d=_0x214f3d[_0x1892b7],_0x1d897b=_0x214f3d[_0x1892b7-0x1];if('text'==_0x46c31d['type'])continue;if(_0x46c31d['type']!=_0x1d897b['type'])continue;if(!_0x1a4da4['isBlock'](_0x1d897b['item'])||_0x1a4da4['isLimit'](_0x1d897b['item']))continue;if(!_0x1a4da4['isBlock'](_0x46c31d['item'])||_0x1a4da4['isLimit'](_0x46c31d['item']))continue;if((_0x214f3d[_0x1892b7]['isAdded']||_0x214f3d[_0x1892b7]['isAddSuggestion'])&&_0x214f3d[_0x1892b7-0x1]['isRemoved'])_0xd84956=_0x214f3d[_0x1892b7],_0x440ceb=_0x214f3d[_0x1892b7-0x1],_0x52308c=_0x1892b7-0x1;else{if(!_0x214f3d[_0x1892b7]['isRemoved']||!_0x214f3d[_0x1892b7-0x1]['isAdded']&&!_0x214f3d[_0x1892b7-0x1]['isAddSuggestion'])continue;_0xd84956=_0x214f3d[_0x1892b7-0x1],_0x440ceb=_0x214f3d[_0x1892b7],_0x52308c=_0x1892b7;}const _0x12ec8d=_0xd84956['level']==_0x440ceb['level'],_0x1fc004=Math['abs'](_0xd84956['level'])<Math['abs'](_0x440ceb['level'])&&0x0==_0x440ceb['distance'];(_0x12ec8d||_0x1fc004)&&(_0x2bfa24['set'](_0x440ceb['id'],_0xd84956['id']),_0x214f3d['splice'](_0x52308c,0x1),_0x1892b7--,_0xd84956['isAdded']=!0x1);}for(let _0x28ea8a=0x0;_0x28ea8a<_0x214f3d['length'];_0x28ea8a++)_0x2bfa24['has'](_0x214f3d[_0x28ea8a]['pairId'])&&(_0x214f3d[_0x28ea8a]['pairId']=_0x2bfa24['get'](_0x214f3d[_0x28ea8a]['pairId']));}['_removeMissingPairs'](_0x4fa694){const _0x4a0e79=new Set(_0x4fa694['map'](_0x5426ea=>_0x5426ea['id']));for(let _0x948d0=0x0;_0x948d0<_0x4fa694['length'];_0x948d0++)_0x4a0e79['has'](_0x4fa694[_0x948d0]['pairId'])||0x0==_0x4fa694[_0x948d0]['distance']||(_0x4fa694[_0x948d0]['isIncorrect']=!0x0);return _0x4fa694['filter'](_0x2cf373=>!_0x2cf373['isIncorrect']);}['_markMismatchedRemovedTags'](_0x41b389){const _0x2d72bf=new Set();for(let _0x206539=0x0;_0x206539<_0x41b389['length'];_0x206539++){if(_0x2d72bf['has'](_0x41b389[_0x206539]['id'])&&_0x41b389[_0x206539]['isRemoved']&&(_0x41b389[_0x206539]['isIncorrect']=!0x0),_0x41b389[_0x206539]['isIncorrect'])continue;if(0x0==_0x41b389[_0x206539]['distance'])continue;if('elementStart'!=_0x41b389[_0x206539]['type'])continue;if(null==_0x41b389[_0x206539]['pairId'])continue;let _0xfd7822=_0x206539+0x1,_0x371a27=0x0;for(;_0x41b389[_0xfd7822]['id']!=_0x41b389[_0x206539]['pairId'];)'elementStart'==_0x41b389[_0xfd7822]['type']?_0x371a27++:'elementEnd'==_0x41b389[_0xfd7822]['type']&&_0x371a27--,_0xfd7822++;if(0x0!=_0x371a27){if(_0x41b389[_0x206539]['isRemoved'])_0x41b389[_0x206539]['isIncorrect']=!0x0;else{for(;_0xfd7822!=_0x206539;)_0x41b389[_0xfd7822]['isRemoved']&&0x0!=_0x41b389[_0xfd7822]['distance']&&(_0x41b389[_0xfd7822]['isIncorrect']=!0x0,_0x2d72bf['add'](_0x41b389[_0xfd7822]['pairId'])),_0xfd7822--;}}}return _0x41b389['filter'](_0x16015f=>!_0x16015f['isIncorrect']);}['_removeUnsupportedChanges'](_0x3de260){const _0x3af719=this['editor']['model']['schema'];for(let _0x3417bd=0x0;_0x3417bd<_0x3de260['length'];_0x3417bd++){if(!(_0x3de260[_0x3417bd]['isAdded']||_0x3de260[_0x3417bd]['isAddSuggestion']||_0x3de260[_0x3417bd]['isRemoved']||_0x3de260[_0x3417bd]['isRemoveSuggestion']))continue;if(0x0==_0x3de260[_0x3417bd]['distance'])continue;const _0x448674=_0x3de260[_0x3417bd]['item'];_0x3af719['isBlock'](_0x448674)||_0x3af719['isLimit'](_0x448674)||(_0x3de260[_0x3417bd]['isAdded']&&delete _0x3de260[_0x3417bd]['isAdded'],_0x3de260[_0x3417bd]['isAddSuggestion']&&delete _0x3de260[_0x3417bd]['isAddSuggestion'],_0x3de260[_0x3417bd]['isRemoveSuggestion']&&delete _0x3de260[_0x3417bd]['isRemoveSuggestion'],_0x3de260[_0x3417bd]['isRemoved']&&(_0x3de260[_0x3417bd]['isIncorrect']=!0x0));}return _0x3de260['filter'](_0x3f996a=>!_0x3f996a['isIncorrect']);}['_makeModelFromTape'](_0x166832,_0x35aa00,_0x4c211c){const _0x28c761=new wt(),_0x5ca308=[],_0x1e759b=new Map(),_0x2e07ab=this['editor']['model'],_0x2d1c1a=_0x2e07ab['schema'],_0x5a410a=[_0x28c761],_0x51f54c={},_0x1d4843={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x42994c=null;const _0x29f527=[0x0];for(let _0xe471c0=0x0;_0xe471c0<_0x166832['length'];_0xe471c0++){let _0x3063a5,_0x1c9599;if('elementStart'===_0x166832[_0xe471c0]['type']){_0x3063a5=_0x2e07ab['createPositionFromPath'](_0x28c761,_0x29f527);const _0x10bae4=new ft(_0x166832[_0xe471c0]['item']['name'],_0x166832[_0xe471c0]['item']['getAttributes']());_0x5a410a[0x0]['_appendChild'](_0x10bae4),_0x29f527['push'](0x0),_0x5a410a['unshift'](_0x10bae4),_0x1c9599=_0x2e07ab['createPositionFromPath'](_0x28c761,_0x29f527),_0x42994c=null;}else{if('elementEnd'===_0x166832[_0xe471c0]['type'])_0x5a410a['shift'](),_0x3063a5=_0x2e07ab['createPositionFromPath'](_0x28c761,_0x29f527),_0x29f527['pop'](),_0x29f527[_0x29f527['length']-0x1]++,_0x1c9599=_0x2e07ab['createPositionFromPath'](_0x28c761,_0x29f527),_0x42994c=null;else{if(_0x3063a5=_0x2e07ab['createPositionFromPath'](_0x28c761,_0x29f527),_0x42994c&&_0x542712(_0x42994c,_0x166832[_0xe471c0]['item']))_0x42994c['_data']+=_0x166832[_0xe471c0]['item']['data'];else{const _0x1e8f92=new _t(_0x166832[_0xe471c0]['item']['data'],_0x166832[_0xe471c0]['item']['getAttributes']());_0x5a410a[0x0]['_appendChild'](_0x1e8f92),_0x42994c=_0x1e8f92;}_0x29f527[_0x29f527['length']-0x1]+=_0x166832[_0xe471c0]['item']['offsetSize'],_0x1c9599=_0x2e07ab['createPositionFromPath'](_0x28c761,_0x29f527);}}for(const _0x4d9c66 of _0x166832[_0xe471c0]['markersStart'])_0x1e759b['set'](_0x4d9c66,{'start':_0x3063a5,'end':null});_0x5bf3d6('isRemoveSuggestion',_0xe471c0,_0x3063a5,_0x1c9599),_0x5bf3d6('isAddSuggestion',_0xe471c0,_0x3063a5,_0x1c9599),_0x5bf3d6('isRemoved',_0xe471c0,_0x3063a5,_0x1c9599),_0x5bf3d6('isAdded',_0xe471c0,_0x3063a5,_0x1c9599);for(const _0xd30762 of _0x166832[_0xe471c0]['markersEnd']){_0x1e759b['get'](_0xd30762)['end']=_0x1c9599;}}for(const [_0x502ecd,_0x1c4621]of _0x1e759b){const _0x550c82=this['editor']['model']['createRange'](_0x1c4621['start'],_0x1c4621['end']);_0x28c761['markers']['set'](_0x502ecd,_0x550c82);}return _0x5ca308['sort']((_0x2490fa,_0x18e30d)=>{const _0x329299=_0x28c761['markers']['get']('revision:'+_0x2490fa['id']),_0x225b26=_0x28c761['markers']['get']('revision:'+_0x18e30d['id']);return _0x329299['start']['isBefore'](_0x225b26['start'])?-0x1:_0x329299['start']['isAfter'](_0x225b26['start'])?0x1:_0x329299['end']['isBefore'](_0x225b26['end'])?-0x1:_0x329299['end']['isAfter'](_0x225b26['end'])?0x1:'add'===_0x2490fa['type']?-0x1:0x1;}),{'root':_0x28c761,'changes':_0x5ca308};function _0x5bf3d6(_0x1e7773,_0x23c012,_0x5d3840,_0x572afa){const _0x3db4ea=!!_0x166832[_0x23c012][_0x1e7773],_0x261b9f=_0x3db4ea?_0x166832[_0x23c012][_0x1e7773]['userId']:null,_0x394455=_0x23c012===_0x166832['length']-0x1,_0x3eee2=_0x1d4843[_0x1e7773][0x0],_0x1614a5=_0x2d1c1a['isObject'](_0x166832[_0x23c012]['item']);!_0x51f54c[_0x1e7773]&&_0x3db4ea?_0x51f54c[_0x1e7773]={'start':_0x5d3840,'tapeItem':_0x166832[_0x23c012],'userId':_0x261b9f,'type':_0x1e7773}:_0x51f54c[_0x1e7773]&&!_0x3db4ea?(_0x51f54c[_0x1e7773]['end']=_0x5d3840,_0x3e7436(_0x51f54c[_0x1e7773]),_0x51f54c[_0x1e7773]=null):_0x51f54c[_0x1e7773]&&_0x3db4ea&&_0x51f54c[_0x1e7773]['userId']!==_0x261b9f&&(_0x51f54c[_0x1e7773]['end']=_0x5d3840,_0x3eee2&&_0x3eee2['userId']===_0x51f54c[_0x1e7773]['userId']||_0x3e7436(_0x51f54c[_0x1e7773]),_0x51f54c[_0x1e7773]={'start':_0x5d3840,'tapeItem':_0x166832[_0x23c012],'userId':_0x261b9f,'type':_0x1e7773}),_0x51f54c[_0x1e7773]&&_0x1614a5&&('elementStart'!==_0x166832[_0x23c012]['type']||_0x3eee2&&_0x3eee2['userId']===_0x261b9f||_0x1d4843[_0x1e7773]['unshift']({'userId':_0x261b9f,'object':_0x166832[_0x23c012]['item'],'change':_0x51f54c[_0x1e7773]}),'elementEnd'===_0x166832[_0x23c012]['type']&&_0x3eee2&&_0x3eee2['object']===_0x166832[_0x23c012]['item']&&(_0x1d4843[_0x1e7773]['shift'](),_0x51f54c[_0x1e7773]=_0x3eee2['change'])),_0x51f54c[_0x1e7773]&&_0x394455&&(_0x51f54c[_0x1e7773]['end']=_0x572afa,_0x3e7436(_0x51f54c[_0x1e7773]),_0x51f54c[_0x1e7773]=null);}function _0x3e7436({start:_0x520315,end:_0x1b2e7c,tapeItem:_0x3826eb,userId:_0x57ca1c,type:_0x2680b8}){const _0x36027e=_0x3826eb['item'],_0x269259=_0x2e07ab['schema']['isBlock'](_0x36027e)&&!_0x2e07ab['schema']['isLimit'](_0x36027e),_0xbaad5=_0x520315['nodeAfter']==_0x1b2e7c['parent']&&_0x1b2e7c['isAtStart'];if(_0x269259&&_0xbaad5)return;const _0x7b7312=_0x2e07ab['createRange'](_0x520315,_0x1b2e7c),_0x5c247f=_0x35aa00['get'](_0x57ca1c),_0x29802d=new r({'author':_0x5c247f,'type':'isAdded'==_0x2680b8||'isAddSuggestion'==_0x2680b8?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x2680b8||'isRemoveSuggestion'==_0x2680b8},'createdAt':new Date(),'rootName':_0x4c211c});_0x5ca308['push'](_0x29802d),_0x28c761['markers']['set']('revision:'+_0x29802d['id'],_0x7b7312);}function _0x542712(_0x237a0a,_0x2d8064){const _0x3e7144=_0x237a0a['getAttributes'](),_0x2202d7=_0x2d8064['getAttributes']();for(const _0x399283 of _0x3e7144){if(_0x399283[0x1]!==_0x2d8064['getAttribute'](_0x399283[0x0]))return!0x1;_0x2202d7['next']();}return _0x2202d7['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x33b64f=>{const _0x5c27e7=_0x33b64f['markerName']['split'](':')[0x1],_0x1075cb=this['_getChangeFromId'](_0x5c27e7);if(!_0x1075cb)return null;const _0x151fda='add'==_0x1075cb['type']?'insertion':'deletion',_0x1fbaa1=['ck-suggestion-marker','ck-suggestion-marker-'+_0x151fda];return _0x1075cb['data']['isSuggestion']&&_0x1fbaa1['push']('ck-suggestion-marker-'+_0x151fda+'-new'),this['activeChange']==_0x1075cb&&_0x1fbaa1['push']('ck-suggestion-marker--active'),{'classes':_0x1fbaa1,'attributes':{'data-change-id':_0x5c27e7}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x2a2492=>{_0x2a2492['on']('element:pre',(_0x30aa09,_0xce842d,_0x474252)=>{const _0x1dc3e0=_0xce842d['viewItem']['getChild'](0x0);if(!_0x1dc3e0||!_0x1dc3e0['is']('element','code'))return;if(!_0x474252['consumable']['consume'](_0x1dc3e0,{'attributes':['vid_start','vid_end']}))return;const _0x1eb173=_0xce842d['modelRange']['start']['nodeAfter'];_0x474252['writer']['setAttribute']('vid_start',_0x1dc3e0['getAttribute']('vid_start'),_0x1eb173),_0x474252['writer']['setAttribute']('vid_end',_0x1dc3e0['getAttribute']('vid_end'),_0x1eb173);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x2fa246=>{_0x2fa246['on']('element',(_0x23b726,_0x4496af,_0x84580e)=>{if(!_0x84580e['consumable']['consume'](_0x4496af['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x4496af['modelRange']['isCollapsed'])return;const _0x14f63a=_0x4496af['modelRange']['start']['nodeAfter'];_0x14f63a['hasAttribute']('vid_start')||_0x14f63a['hasAttribute']('vid')||(_0x84580e['writer']['setAttribute']('vid_start',_0x4496af['viewItem']['getAttribute']('vid_start'),_0x14f63a),_0x84580e['writer']['setAttribute']('vid_end',_0x4496af['viewItem']['getAttribute']('vid_end'),_0x14f63a));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x1dd2ae=>_0x1dd2ae['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x261f88,[,_0x438566])=>{['vid_start','vid_end','vid']['includes'](_0x438566)&&(_0x261f88['return']=!0x0,_0x261f88['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x4df0a0=>{_0x4df0a0['on']('attribute:vid',(_0x5c869e,_0x33ce7e,_0x1141e2)=>{if('\x20'!=_0x33ce7e['item']['data']||_0x33ce7e['item']['parent']['maxOffset']>0x1)return;if(!_0x1141e2['consumable']['consume'](_0x33ce7e['item'],_0x5c869e['name']))return;const _0x3e22c6=_0x1141e2['writer'],_0x332c64=_0x1141e2['mapper']['toViewRange'](_0x33ce7e['range']);_0x3e22c6['wrap'](_0x332c64,_0x3e22c6['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x1718c7){const _0x5d39b9=_0x1718c7['plugins']['get']('RevisionViewer');return(_0x53048d,_0x145512,_0xcdb184)=>{const _0x4c52f0=_0x145512['markerName']['split'](':')[0x1],_0x5b9e33=_0x5d39b9['_getChangeFromId'](_0x4c52f0);if(!_0x5b9e33)return null;const _0x55c561='add'==_0x5b9e33['type']?'split':'merge';if(!_0xcdb184['consumable']['test'](_0x145512['markerRange'],_0x53048d['name']))return;const _0x4feca5=_0x145512['markerRange']['getWalker'](),_0x1085b6=_0x145512['markerRange']['start'],_0x449c83=_0x1718c7['model']['schema'];let _0x2725f0=null,_0x525796=null,_0x357a62=!0x1,_0xedaa6b=!0x1;for(const _0x32493d of _0x4feca5){const _0x48faa8=_0x32493d['item'];_0x357a62=_0x357a62||_0x449c83['isContent'](_0x48faa8);const _0x1266de=_0xcdb184['mapper']['toViewElement'](_0x48faa8);if(_0x1266de&&_0x1266de['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x32493d['type']&&(_0x449c83['isBlock'](_0x48faa8)&&!_0x449c83['isLimit'](_0x48faa8)&&(_0x48faa8['nextSibling']||_0x1085b6['isAtEnd']?_0x2725f0&&_0x2725f0['parent']==_0x48faa8||(_0x2725f0=_0x48faa8,_0x172878(_0x32493d['previousPosition']),_0xedaa6b=!0x0):_0x525796=_0x525796||_0x32493d['previousPosition']));}function _0x172878(_0x2671e){const _0x2054ae=_0xcdb184['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x55c561}),_0x436a15=_0xcdb184['mapper']['toViewPosition'](_0x2671e);_0x5b9e33['data']['isSuggestion']&&_0xcdb184['writer']['addClass']('ck-suggestion-marker-'+_0x55c561+'-new',_0x2054ae),_0x5d39b9['activeChange']==_0x5b9e33&&_0xcdb184['writer']['addClass']('ck-suggestion-marker--active',_0x2054ae),_0xcdb184['writer']['insert'](_0x436a15,_0x2054ae),_0xcdb184['mapper']['bindElementToMarker'](_0x2054ae,_0x145512['markerName']);}_0x357a62||_0xedaa6b||!_0x525796||_0x172878(_0x525796);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x3d7b88,_0x5c8d38,_0x39058f)=>{const _0x8cbfe2=_0x39058f['mapper']['markerNameToElements'](_0x5c8d38['markerName']);if(_0x8cbfe2){for(const _0x1ee7a6 of _0x8cbfe2)(_0x1ee7a6['hasClass']('ck-suggestion-marker-split')||_0x1ee7a6['hasClass']('ck-suggestion-marker-merge'))&&(_0x39058f['mapper']['unbindElementFromMarkerName'](_0x1ee7a6,_0x5c8d38['markerName']),_0x39058f['writer']['remove'](_0x1ee7a6));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x237c72,_0x4d0f79,_0x2956f1)=>{const _0x1e27d4=_0x4d0f79['markerName']['split'](':')[0x1],_0x2d2474=this['_getChangeFromId'](_0x1e27d4);if(!_0x2d2474)return null;const _0x34067e='add'==_0x2d2474['type']?'split':'merge';if(_0x2956f1['consumable']['test'](_0x4d0f79['markerRange'],_0x237c72['name']))for(const _0x590fd1 of _0x4d0f79['markerRange']['getItems']()){if(!_0x590fd1['is']('element','softBreak'))continue;const _0x137f8c=_0x2956f1['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x34067e}),_0x112212=_0x2956f1['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x590fd1));_0x2d2474['data']['isSuggestion']&&_0x2956f1['writer']['addClass']('ck-suggestion-marker-'+_0x34067e+'-new',_0x137f8c),this['activeChange']==_0x2d2474&&_0x2956f1['writer']['addClass']('ck-suggestion-marker--active',_0x137f8c),_0x2956f1['writer']['insert'](_0x112212,_0x137f8c),_0x2956f1['mapper']['bindElementToMarker'](_0x137f8c,_0x4d0f79['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x259cd6=>{for(const _0x34eb74 of this['editor']['model']['document']['getRootNames']()){const _0x3e07f2=this['editor']['model']['document']['getRoot'](_0x34eb74),_0x339dcf=this['editor']['editing']['view']['document']['getRoot'](_0x34eb74);if(_0x339dcf){const _0x5bc751=_0x3e07f2['getAttribute']('revisionHistoryAttachChange');if(_0x259cd6['removeAttribute']('data-change-id',_0x339dcf),_0x259cd6['removeClass']('ck-revision-history-root-add',_0x339dcf),_0x259cd6['removeClass']('ck-revision-history-root-remove',_0x339dcf),_0x259cd6['removeClass']('ck-revision-history-root--active',_0x339dcf),_0x5bc751){const _0x3b3773=this['_getChangeFromId'](_0x5bc751);if(!_0x3b3773)return null;_0x259cd6['setAttribute']('data-change-id',_0x5bc751,_0x339dcf),_0x259cd6['addClass']('ck-revision-history-root-'+_0x3b3773['type'],_0x339dcf),this['activeChange']==_0x3b3773&&_0x259cd6['addClass']('ck-revision-history-root--active',_0x339dcf);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x18de5d=>'revision-comment:'+_0x18de5d,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x398782=>'revision-suggestion:'+_0x398782,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x28aaa5=>({'name':'suggestion:'+_0x28aaa5,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x19a645=>{const _0x245d02=_0x19a645['markerName']['split'](':')[0x1];return'insertion'!=_0x245d02&&'deletion'!=_0x245d02?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x245d02]};}}),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',(_0x32c31f,_0x30f158,_0x3d2931)=>{const _0x43fefb=_0x3d2931['mapper']['markerNameToElements'](_0x30f158['markerName']);if(_0x43fefb){for(const _0x32fb3b of _0x43fefb)_0x32fb3b['is']('uiElement')&&(_0x3d2931['mapper']['unbindElementFromMarkerName'](_0x32fb3b,_0x30f158['markerName']),_0x3d2931['writer']['remove'](_0x32fb3b));}},{'priority':'high'});}['_getChangeFromId'](_0x5a08f2){return this['_changeIdToChange']['get'](_0x5a08f2);}['_getViewForChange'](_0x25ca5f){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x25ca5f),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x59a546,_0x3d0a72,_0x35a06b,_0x4fc239)=>{_0x4fc239&&this['_balloon']['remove'](_0x4fc239),_0x35a06b&&(this['_balloon']['add']({'view':_0x35a06b,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x2ae9d4=this['editor']['editing'],_0x5d6078=this['_getChangeFromId'](_0x35a06b['changeId']);let _0x4622c1;if(_0x5d6078['data']['isOnRoot']){const _0x6efda5=_0x2ae9d4['view']['getDomRoot'](_0x5d6078['rootName']);_0x4622c1=Array['from'](_0x6efda5['getClientRects']());}else{const _0x1f134d=this['editor']['model']['markers']['get']('revision:'+_0x35a06b['changeId']);_0x4622c1=Array['from'](_0x2ae9d4['mapper']['markerNameToElements'](_0x1f134d['name']))['map'](_0x1dc5b4=>_0x2ae9d4['view']['domConverter']['mapViewToDom'](_0x1dc5b4))['map'](_0x48b9d2=>Array['from'](_0x48b9d2['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x4622c1[0x0];return _0x4622c1['find'](_0xa5d276=>_0xa5d276['top']-0x3<=this['_activeViewTarget']['y']&&_0xa5d276['bottom']+0x3>=this['_activeViewTarget']['y']&&_0xa5d276['left']-0x3<=this['_activeViewTarget']['x']&&_0xa5d276['right']+0x3>=this['_activeViewTarget']['x'])||_0x4622c1[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x14d327,_0x4f4eb6,_0x440e53,_0x1ab69f)=>{this['activeView']=_0x440e53?this['_getViewForChange'](_0x440e53):null,this['editor']['model']['change'](()=>{const _0x5346d1=this['editor']['editing'];_0x1ab69f&&(_0x1ab69f['data']['isOnRoot']?_0x5346d1['view']['change'](_0x14f0e2=>{_0x14f0e2['removeClass']('ck-revision-history-root--active',_0x5346d1['view']['document']['getRoot'](_0x1ab69f['rootName']));}):_0x5346d1['reconvertMarker']('revision:'+_0x1ab69f['id'])),_0x440e53&&(_0x440e53['data']['isOnRoot']?_0x5346d1['view']['change'](_0x58d81c=>{_0x58d81c['addClass']('ck-revision-history-root--active',_0x5346d1['view']['document']['getRoot'](_0x440e53['rootName']));}):_0x5346d1['reconvertMarker']('revision:'+_0x440e53['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x1660db,_0x50d8b1)=>{if(this['activeChange'])return;const _0x38f63c=this['_findChangeIdFromDomTarget'](_0x50d8b1['target']),_0x4beadb=this['_changeIdToChange']['get'](_0x38f63c);_0x4beadb?(this['_activeViewTarget']={'x':_0x50d8b1['domEvent']['x'],'y':_0x50d8b1['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x4beadb)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x465dc8,_0x15f07d)=>{const _0x290695=this['_findChangeIdFromDomTarget'](_0x15f07d['target']),_0xcb74fe=this['_changeIdToChange']['get'](_0x290695);_0xcb74fe?(this['_activeViewTarget']={'x':_0x15f07d['domEvent']['x'],'y':_0x15f07d['domEvent']['y']},_0xcb74fe===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0xcb74fe):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x130bb0){do{const _0x2b50df=_0x130bb0['getAttribute']('data-change-id');if(_0x2b50df)return _0x2b50df;_0x130bb0=_0x130bb0['parent'];}while(_0x130bb0);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x386440=>{for(const _0x58e114 of this['editor']['model']['markers'])_0x386440['removeMarker'](_0x58e114);});}}function et(_0x3f9928,_0x7906e3){return(_0x1684b1,_0x3dc0f2,_0x2a8d8d)=>{if(!_0x2a8d8d['consumable']['test'](_0x3dc0f2['markerRange'],_0x1684b1['name']))return;const _0x4afb12=_0x3dc0f2['markerRange']['getWalker'](),_0x547bf2=_0x3dc0f2['markerRange']['start'],_0x1978cd=_0x3f9928['model']['schema'];let _0x37d6af=null,_0x3b4493=null,_0x164903=!0x1,_0xa26e03=!0x1;for(const _0x3a9f51 of _0x4afb12){const _0x39c1b1=_0x3a9f51['item'];_0x164903=_0x164903||_0x1978cd['isContent'](_0x39c1b1);const _0x116199=_0x2a8d8d['mapper']['toViewElement'](_0x39c1b1);if(_0x116199&&_0x116199['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3a9f51['type']&&(_0x1978cd['isBlock'](_0x39c1b1)&&!_0x1978cd['isLimit'](_0x39c1b1)&&(_0x39c1b1['nextSibling']||_0x547bf2['isAtEnd']?_0x37d6af&&_0x37d6af['parent']==_0x39c1b1||(_0x37d6af=_0x39c1b1,_0x1ca873(_0x3a9f51['previousPosition']),_0xa26e03=!0x0):_0x3b4493=_0x3b4493||_0x3a9f51['previousPosition']));}function _0x1ca873(_0x25e254){const _0x5793f8=_0x2a8d8d['mapper']['toViewPosition'](_0x25e254),_0x5260c1=_0x2a8d8d['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x7906e3});_0x2a8d8d['writer']['insert'](_0x5793f8,_0x5260c1),_0x2a8d8d['mapper']['bindElementToMarker'](_0x5260c1,_0x3dc0f2['markerName']);}_0x164903||_0xa26e03||!_0x3b4493||_0x1ca873(_0x3b4493);};}class bt extends _0xf2a719{constructor(_0x17e372){super(_0x17e372);const _0x121d17=_0x17e372['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x121d17,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x121d17,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x561f06=this['editor'],_0x3c838a=_0x561f06['plugins']['get'](d),_0x1a603f=_0x3c838a['isReady']?_0x3c838a['diff']['newRevisionId']:null;_0x561f06['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1a603f);}['refresh'](){const {isReady:_0x2d1ee3,isEnabled:_0x529407}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x2d1ee3&&_0x529407;}}class yt extends _0xf2a719{['_step'];constructor(_0x269f01,{direction:_0xf8f4cd}){super(_0x269f01);const _0x4d9be3=_0x269f01['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0xf8f4cd?0x1:-0x1,this['listenTo'](_0x4d9be3,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x4d9be3,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x4d9be3,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x1d2fe6=this['editor'],_0x19dbd5=_0x1d2fe6['plugins']['get'](d),{isNavigationMode:_0x574377,currentChangeNumber:_0x20a141}=_0x19dbd5;let _0x4c4f37;if(_0x19dbd5['activeChange']=_0x574377?_0x19dbd5['diff']['changes']['get'](_0x20a141+this['_step']):_0x19dbd5['diff']['changes']['first'],_0x19dbd5['activeChange']['data']['isOnRoot'])_0x4c4f37=_0x1d2fe6['editing']['view']['getDomRoot'](_0x19dbd5['activeChange']['rootName']);else{const _0x31bcb9=_0x1d2fe6['model']['markers']['get']('revision:'+_0x19dbd5['activeChange']['id']);_0x4c4f37=_0x2648a9(_0x1d2fe6['editing'],_0x31bcb9);}_0x1712b9({'target':_0x4c4f37,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x6c4bb3,currentChangeNumber:_0x541415,numberOfChanges:_0x345877,isReady:_0xda26c2,isEnabled:_0x2bdc12}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x2bdc12&&_0xda26c2&&_0x345877)&&(!_0x6c4bb3||(0x1===this['_step']?_0x541415<_0x345877-0x1:_0x541415>0x0));}}class _i extends _0x2cc590{constructor(_0x507466){super(_0x507466);const _0x139876=this['bindTemplate'],_0x5cae65=new _0x3ce999(_0x507466),_0x18d4c0=new _0x3ce999(_0x507466);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',(_0x408570,_0x1fdae1)=>_0x408570&&_0x1fdae1>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x2cc04a,_0x4951ac,_0x568b54,_0x2960fc)=>{if(!_0x2cc04a)return y(_0x507466,'Loading...');if(!_0x568b54)return y(_0x507466,'No\x20changes');const _0xbee97d=y(_0x507466,'NUMBER_OF_CHANGES',_0x568b54);return _0x2960fc?y(_0x507466,'X_OF_Y_CHANGES',[_0x4951ac+0x1,_0x568b54]):_0xbee97d;}),_0x5cae65['set']({'label':y(_0x507466,'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'}),_0x18d4c0['set']({'label':y(_0x507466,'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'}),_0x5cae65['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x18d4c0['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x5cae65['on']('execute',()=>this['fire']('execute','backward')),_0x18d4c0['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',_0x139876['if']('_isStatusLabelVisible','ck-hidden',_0x599b50=>!_0x599b50)]},'children':[{'text':_0x139876['to']('isNavigationMode',_0x3d0ab8=>_0x3d0ab8?y(_0x507466,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x507466,'Total')+':\x20')}]},{'text':_0x139876['to']('_statusText')}]},new _0x1f3e8a(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x5cae65,_0x18d4c0]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x18654b{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x380777=this['editor']['editing']['view'];_0x380777['change'](_0x15edcc=>{for(const _0x132569 of _0x380777['document']['roots'])_0x15edcc['addClass'](ce,_0x132569);});}['hide'](){const _0x3cf24b=this['editor']['editing']['view'];_0x3cf24b['change'](_0x389734=>{for(const _0x56f264 of _0x3cf24b['document']['roots'])_0x389734['removeClass'](ce,_0x56f264);});}}class R extends _0x18654b{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x14223e=this['editor'],_0x23d1fa=_0x14223e['plugins']['get'](d),_0x181a33=_0x14223e['plugins']['get'](de);_0x14223e['ui']['componentFactory']['add']('exitToEditing',_0x5b0a0b=>{const _0xa7ddfc=new _0x3ce999(_0x5b0a0b);return _0xa7ddfc['set']({'label':y(_0x5b0a0b,'Back\x20to\x20editing'),'icon':_0x22d62c['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0xa7ddfc,'execute',()=>{_0x14223e['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0xa7ddfc;}),_0x14223e['ui']['componentFactory']['add']('restoreRevision',_0x277c26=>{const _0x46b378=new _0x3ce999(_0x277c26);return _0x46b378['set']({'label':y(_0x277c26,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x46b378['bind']('isEnabled')['to'](_0x14223e['commands']['get']('restoreRevision')),this['listenTo'](_0x46b378,'execute',()=>_0x14223e['execute']('restoreRevision')),_0x46b378;}),_0x14223e['ui']['componentFactory']['add']('changesNavigation',_0x18f294=>{const _0x4c44e1=new _i(_0x18f294),_0x11a68c=_0x14223e['commands']['get']('showPreviousChange'),_0xf67fa1=_0x14223e['commands']['get']('showNextChange');return _0x4c44e1['bind']('isBackwardNavigationEnabled')['to'](_0x11a68c,'isEnabled'),_0x4c44e1['bind']('isForwardNavigationEnabled')['to'](_0xf67fa1,'isEnabled'),_0x4c44e1['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x23d1fa),this['listenTo'](_0x4c44e1,'execute',(_0x3b3bdf,_0x26c48e)=>{_0x14223e['execute']('forward'===_0x26c48e?'showNextChange':'showPreviousChange');}),_0x4c44e1;}),_0x181a33['show'](),_0x23d1fa['on']('change:isReady',(_0x46d9cf,_0x210bb6,_0xedb4e1)=>{_0xedb4e1?_0x181a33['hide']():_0x181a33['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0xa39baf,_0x426119){super(_0xa39baf,_0x426119);const _0x313817=this['bindTemplate'];this['set']({'label':y(_0xa39baf,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0xa39baf,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x313817['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 _0x4a78c9=this['fieldView']['element'];this['_tooltipString']=_0x4a78c9['scrollWidth']>_0x4a78c9['clientWidth']&&_0x4a78c9['value']||'';}}class ti extends _0x2cc590{constructor(_0x776a86,_0x11f2ce,_0x46a1ca){super(_0x776a86);const _0x117107=new _0x181ffe();_0x117107['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 _0x37528e=['ck','ck-revision-history-sidebar__revision-author'];_0x46a1ca&&_0x37528e['push']('ck-revision-history-sidebar__revision-author_creator');const _0x50db0b=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x776a86,_0x46a1ca?'Revision\x20creator':'Revision\x20author')},'children':[_0x117107,_0x11f2ce['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x37528e},'children':_0x50db0b});}}function ni(_0x4f64ce,_0x3d4ae2){const _0x1af60f=_0x4f64ce['bindTemplate'],_0x186d64=_0x4f64ce['locale'],_0x255281=_0x46a514(_0x186d64);_0x255281['panelPosition']='sw';const _0x596e62=function(_0x54555b,_0x1e45f5){const _0x12da70=function(_0x5b580d,_0x37f22a){const _0x3edb71=_0x5b580d['locale'],_0x5c441a={'Compare\x20against\x20selected':y(_0x3edb71,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x3edb71,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x3edb71,'Restore\x20this\x20revision')};return _0x37f22a['map'](_0xd081fd=>{const _0x4cbf91=_0x5c441a[_0xd081fd['name']];return _0x4cbf91&&_0x4cbf91!==_0xd081fd['name']&&(_0xd081fd['name']=_0x4cbf91),_0xd081fd;});}(_0x54555b,_0x1e45f5),_0xddfd0c=new _0x11a29b();for(const _0x2722d6 of _0x12da70){const _0x5ed1fe={'type':'button','model':new to({'label':_0x2722d6['name'],'class':_0x2722d6['class'],'withText':!0x0,'role':'menuitem','_action':_0x2722d6['action']})};_0x5ed1fe['model']['bind']('isEnabled')['to'](_0x54555b,'isActionsDropdownOpen',_0x242bf8=>'function'!=typeof _0x2722d6['isEnabled']||(!_0x242bf8||_0x2722d6['isEnabled'](_0x54555b))),_0xddfd0c['add'](_0x5ed1fe);}return _0xddfd0c;}(_0x4f64ce,_0x3d4ae2);return _0x4f64ce['bind']('isActionsDropdownOpen')['to'](_0x255281,'isOpen'),_0x255281['buttonView']['set']({'label':y(_0x186d64,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x22d62c['threeVerticalDots']}),_0x255281['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x1af60f['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x1af60f['to'](_0x5b69e2=>_0x5b69e2['stopPropagation']())}}),_0x255281['on']('execute',_0x59a0dd=>{_0x4f64ce['isReady']&&'function'==typeof _0x59a0dd['source']['_action']&&_0x59a0dd['source']['_action'](_0x4f64ce);}),_0x194c1a(_0x255281,_0x596e62,{'role':'menu'}),_0x255281['listenTo'](_0x4f64ce,'change:isActionsDropdownOpen',(_0x3f1e61,_0x59f9e4,_0x3e8a4e)=>{if(_0x3e8a4e)for(const _0x147758 of _0x255281['listView']['items']){const _0x9c34f0=_0x147758['children']['first'],_0x4c84a1=_0x3d4ae2['find'](_0x1b4560=>_0x1b4560['action']===_0x9c34f0['_action'])['isVisible'];_0x147758['isVisible']=void 0x0===_0x4c84a1||_0x4c84a1(_0x4f64ce);}}),_0x255281;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x481dc5(_0x2cc590){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x32527a,_0x5dba93,_0x578229,_0x470aa0){super(_0x32527a);const _0x43eda7=this['bindTemplate'],_0x55a336=function(_0x121ca8,_0x18d64d){const _0x38d648=Array['from'](_0x18d64d['authors'])['filter'](_0x52a69f=>_0x52a69f!=_0x18d64d['creator']);return _0x18d64d['creator']&&_0x38d648['unshift'](_0x18d64d['creator']),_0x38d648['map'](_0x4c3602=>new ti(_0x121ca8,_0x4c3602,_0x4c3602==_0x18d64d['creator']));}(_0x32527a,_0x5dba93);this['id']=_0x5dba93['id'],this['_revision']=_0x5dba93,this['_requireRevisionName']=_0x470aa0,this['bind']('name','createdAt')['to'](_0x5dba93),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x31e3b7=>{return _0x408ff7=_0x32527a['uiLanguage'],(_0x2dbcb0=_0x31e3b7)['toLocaleDateString'](_0x408ff7,{'month':'long','day':'numeric'})+',\x20'+_0x2dbcb0['toLocaleTimeString'](_0x408ff7,{'hour':'numeric','minute':'numeric'});var _0x408ff7,_0x2dbcb0;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x32527a,_0x1f6267),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0xcd8c82=>_0xcd8c82||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x5bc2ea,_0x3993b4)=>_0x5bc2ea&&_0x3993b4),this['revisionActionsView']=_0x578229&&_0x578229['length']?ni(this,_0x578229):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x43eda7['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x43eda7['if']('isEnabled','ck-disabled',_0x51c148=>!_0x51c148),_0x43eda7['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x43eda7['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x43eda7['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':_0x43eda7['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':_0x55a336}]},this['revisionActionsView']],'on':{'click':_0x43eda7['to'](_0x18c515=>{_0x18c515['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x93d682=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x93d682,'change',()=>{this['_requireRevisionName']&&!_0x93d682['value']||this['fire']('setName',{'id':this['id'],'name':_0x93d682['value']}),_0x93d682['value']||(_0x93d682['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(_0x3ac687,_0x36d9ff){const _0x3d155c=_0x804a2a['fromJSDate'](_0x3ac687)['setLocale'](_0x36d9ff),_0x49cc5e=_0x804a2a['local'](),_0x3dd845=_0x49cc5e['minus']({'days':0x1})['startOf']('day');let _0xb3d9b7,_0x2aa279;return _0x3d155c['hasSame'](_0x49cc5e,'day')?(_0xb3d9b7=_0x3d155c['startOf']('day')['toJSDate'](),_0x2aa279=_0x3d155c['toRelativeCalendar']()):_0x3d155c['hasSame'](_0x3dd845,'day')?(_0xb3d9b7=_0x3dd845['toJSDate'](),_0x2aa279=_0x3d155c['toRelativeCalendar']()):_0x3d155c['hasSame'](_0x49cc5e,'week')?(_0xb3d9b7=_0x3d155c['startOf']('week')['toJSDate'](),_0x2aa279=_0x3d155c['weekdayLong']||''):_0x3d155c['hasSame'](_0x49cc5e,'year')?(_0xb3d9b7=_0x3d155c['startOf']('month')['toJSDate'](),_0x2aa279=_0x3d155c['monthLong']||''):(_0xb3d9b7=_0x3d155c['startOf']('year')['toJSDate'](),_0x2aa279=String(_0x3d155c['year'])),{'startDate':_0xb3d9b7,'localizedPeriodName':_0x2aa279};}class mi extends _0x2cc590{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x40b906,_0x5967d1,_0x47f8ef,_0x27d3b3){super(_0x40b906);const _0x140c2a=di(_0x5967d1,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x5967d1,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x47f8ef,this['_requireRevisionName']=_0x27d3b3,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':_0x140c2a}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x161af7){const _0x1724aa=new ai(this['locale'],_0x161af7,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x1724aa);}['removeRevision'](_0xf91133){const _0x326926=this['revisionViews']['find'](_0x2cfe3e=>_0x2cfe3e['id']===_0xf91133['id']);this['revisionViews']['remove'](_0x326926);}}class as extends _0x2cc590{constructor(_0x556ab1){super(_0x556ab1);const _0x3a4f21=new _0x181ffe();_0x3a4f21['content']=_0x22d62c['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x3a4f21,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x556ab1,'Revision\x20history')]}]});}}class ci extends _0x2cc590{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x709fb4,_0x112f8c,_0x20ea02,_0x5008c4){super(_0x709fb4);const _0x38984f=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x112f8c,this['_revisionActions']=_0x20ea02,this['_requireRevisionName']=_0x5008c4,this['on']('select',(_0x42a1fa,_0x18cdac)=>{this['fire']('revisionSelected',_0x18cdac);}),this['on']('setName',(_0x47821a,_0x12d1f7)=>{this['fire']('revisionSetName',_0x12d1f7);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x709fb4),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x38984f['if']('isEnabled','ck-disabled',_0x544eb8=>!_0x544eb8)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x263008 of this['_revisions'])this['_addRevision'](_0x263008);this['_revisions']['on']('add',(_0x3301ee,_0x23cf73)=>{this['_addRevision'](_0x23cf73);}),this['_revisions']['on']('remove',(_0x25dfe3,_0x193a86)=>{this['_removeRevision'](_0x193a86);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x2b9756=>_0x2b9756['revisionViews']['map'](_0x16e459=>_0x16e459))['flat']();}['selectRevision'](_0x28d604){for(const _0x59efe0 of this['revisionViews'])_0x28d604&&_0x28d604['id']===_0x59efe0['id']?_0x59efe0['select']():_0x59efe0['deselect']();}['highlightRevisions'](_0x3ee19e){for(const _0x5d3fe2 of this['revisionViews'])_0x3ee19e['some'](({id:_0x503b5d})=>_0x503b5d===_0x5d3fe2['id'])?_0x5d3fe2['highlight']():_0x5d3fe2['unhighlight']();}['_addRevision'](_0x538f87){const _0x22e72d=di(_0x538f87['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x594004=this['timePeriodViews']['get'](0x0);_0x594004&&_0x594004['startDate']['getTime']()===_0x22e72d['getTime']()||(_0x594004=new mi(this['locale'],_0x22e72d,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x594004)),_0x594004['addRevision'](_0x538f87);}['_removeRevision'](_0x1d638f){const _0x5ea62e=di(_0x1d638f['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x5ea62e)['removeRevision'](_0x1d638f);}['_getTimePeriodViewByStartDate'](_0x1fb986){return this['timePeriodViews']['find'](_0x4170a1=>_0x4170a1['startDate']['getTime']()===_0x1fb986['getTime']());}}class w extends _0x18654b{['_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(_0x94edf3){super(_0x94edf3),this['_revisionViewer']=_0x94edf3['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x274c7d=this['_revisionsRepository']['_revisions'],_0x2910a6=this['_createRevisionActions'](),_0x32f777=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x274c7d,_0x2910a6,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',(_0x3dbdf5,_0x2c2caf)=>{_0x2c2caf['revisionViews']['on']('add',(_0x2e37a6,_0x384cc9)=>{_0x384cc9['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)),_0x32f777['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0xa5289b=this['_revisionsRepository']['getRevision'](0x0);if(_0xa5289b){const _0x2e4918=this['_revisionsRepository']['getEarlierVisibleRevision'](_0xa5289b['id']);this['_revisionViewer']['compare'](_0xa5289b,_0x2e4918);}}['_handleRevisionSelected'](_0x2277a7,_0x33c241){const _0x431ad4=this['_revisionsRepository']['getRevision'](_0x33c241['id']),_0x5452cc=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x431ad4['id']);this['_revisionViewer']['compare'](_0x431ad4,_0x5452cc);}['_handleRevisionSetName'](_0x26f545,_0x411611){this['_revisionsRepository']['getRevision'](_0x411611['id'])['setName'](_0x411611['name']);}['_handleDiffChange'](_0x4716af,_0x2bd664,_0x5486a6){const _0x21e648=this['_revisionsRepository']['getRevisionsInDiff'](_0x5486a6);_0x21e648['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x21e648),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x21e648[0x0]));}['_createRevisionActions'](){const _0x229df0=this['editor'],_0x15a440=w['availableRevisionActions'],_0x1465ac=_0x229df0['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x1465ac['length'])return _0x1465ac['map'](_0x3e98a4=>{const _0x24f011='string'==typeof _0x3e98a4?Object['assign']({},_0x15a440[_0x3e98a4]):_0x3e98a4;return _0x24f011['action']=_0x24f011['action']['bind'](this,_0x229df0),_0x24f011['isVisible']&&(_0x24f011['isVisible']=_0x24f011['isVisible']['bind'](this,_0x229df0)),_0x24f011;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x5209d6},_0x31c158)=>{const _0x1e85dd=_0x5209d6['get'](d),_0x30d213=_0x1e85dd['repository'];let _0x391e50=_0x1e85dd['diff']['newRevisionId'],_0x3e8684=_0x31c158['id'];_0x30d213['getIndex'](_0x391e50)>_0x30d213['getIndex'](_0x3e8684)&&([_0x391e50,_0x3e8684]=[_0x3e8684,_0x391e50]),_0x1e85dd['compare'](_0x391e50,_0x3e8684);},'isVisible':({plugins:_0x453b43},_0x31b130)=>{const _0x346840=_0x453b43['get'](d);return!(_0x346840['repository']['getRevisionsInDiff'](_0x346840['diff'])['length']>0x2)&&!_0x31b130['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x1cbb79,{id:_0x38a1a9})=>{_0x1cbb79['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x38a1a9);},'isVisible':({plugins:_0x40e579},_0x2fd096)=>!!_0x40e579['get'](d)['repository']['getLaterVisibleRevision'](_0x2fd096['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x1cccf2},{id:_0x38992b,revisionNameView:_0x95fde2})=>{const _0x1a1d32=_0x1cccf2['get'](d),_0xa85184=_0x1a1d32['repository']['getEarlierVisibleRevision'](_0x38992b);_0x1a1d32['compare'](_0x38992b,_0xa85184),_0x95fde2['focus'](),_0x95fde2['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0xc7856a,_0x309bf3){super(_0xc7856a),this['_view']=_0x309bf3,this['_toolbarConfig']=ct(_0xc7856a['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x51cf12){const _0x1aaf8e=this['editor'],_0x37d3a7=this['view'],_0x3b9a8c=_0x1aaf8e['editing']['view'],_0x5911a6=_0x37d3a7['editable'],_0x595a4b=_0x3b9a8c['document']['getRoot']();_0x5911a6['name']=_0x595a4b['rootName'],_0x37d3a7['render']();const _0x3c74c9=_0x5911a6['element'];this['setEditableElement'](_0x5911a6['name'],_0x3c74c9),_0x37d3a7['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x3b9a8c['attachDomRoot'](_0x3c74c9),this['_elementReplacer']['replace'](_0x51cf12,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x10f10e=this['view'],_0x232b8f=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x232b8f['detachDomRoot'](_0x10f10e['editable']['name']),_0x10f10e['destroy']();}['_initToolbar'](){const _0x3b0d35=this['view'];_0x3b0d35['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x3b0d35['stickyPanel']['limiterElement']=_0x3b0d35['element'],_0x3b0d35['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x4a0179})=>_0x4a0179),_0x3b0d35['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x3b0d35['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x2dfd9c,_0x19c9e7,_0x57fd98={}){super(_0x2dfd9c),this['stickyPanel']=new lt(_0x2dfd9c),this['toolbar']=new pt(_0x2dfd9c,{'shouldGroupWhenFull':_0x57fd98['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x2dfd9c,_0x19c9e7);}['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(_0x3f9579,_0x570b8a){super(_0x570b8a),this['sourceElement']=_0x3f9579,this['model']['document']['createRoot']();const _0x30c1e4=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x30c1e4);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x3770cb,_0x3206fd){const _0x4aa12b=new this(_0x3770cb,_0x3206fd);return await _0x4aa12b['initPlugins'](),await _0x4aa12b['ui']['init'](_0x3770cb),await _0x4aa12b['data']['init'](_0x4aa12b['config']['get']('initialData')||''),_0x4aa12b['fire']('ready'),_0x4aa12b;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x441918{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x1eb2f6){super(_0x1eb2f6),this['result']='end';}}class H extends _0x441918{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x213c91){if(super(_0x213c91),!this['editor']['config']['get']('revisionHistory'))throw new _0x271cef('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x1ab8d8=>this['_showRevisionViewer']({..._0x1ab8d8,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x539720=>this['_closeRevisionViewer'](_0x539720)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0xaebc6d=>this['_restoreRevision'](_0xaebc6d)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x508047){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x508047;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x1946da){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x1946da);}['getRevision'](_0x2c6ebc){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x2c6ebc);}['getRevisions'](_0x5b1cb9){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x5b1cb9||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x45d819=this['editor'],_0x35190f=_0x5523d5(_0x45d819,p),_0x40f558=_0x45d819['plugins']['get']('RevisionTracker'),_0x46dce5=_0x45d819['plugins']['get']('Users')['users'];return _0x35190f['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x35190f['lazyRoots'],(_0x35190f['plugins']['push'](k,d,R,class extends _0x441918{static get['requires'](){return[d,'Users'];}['init'](){const _0x136f08=this['editor']['plugins']['get']('Users');for(const _0x15dcdf of _0x46dce5)_0x15dcdf['isAnonymous']||_0x136f08['getUser'](_0x15dcdf['id'])||_0x136f08['addUser'](_0x15dcdf);const _0x323b48=_0x40f558['repository']['getRevisions']();let _0x42d071=null;const _0x4c0929=this['editor']['plugins']['get']('RevisionViewer');_0x4c0929['adapter']=_0x40f558['adapter'],_0x4c0929['bind']('isEnabled')['to'](_0x40f558),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x45d819,'isReadOnly',_0x1e2529=>!_0x1e2529);for(const _0x204f87 of _0x323b48){const _0x53c1bb=null===_0x204f87['creator'];if(_0x53c1bb&&_0x204f87['toVersion']===_0x204f87['fromVersion'])continue;const _0x1a5df8=_0x204f87['toJSON']();_0x4c0929['addRevisionData'](_0x1a5df8,(_0x2d5916,_0x245c92,_0x202bc8)=>{if(_0x53c1bb){if(_0x42d071)_0x42d071['_update'](_0x2d5916,_0x245c92);else{if(!_0x245c92){const _0x1dd89b=_0x202bc8['toJSON']();_0x1dd89b['id']=_0xa36f38(),_0x40f558['saveRevision'](_0x1dd89b,_0x202bc8['toVersion'])['then'](_0x383f17=>{_0x42d071=_0x383f17;});}}}else _0x204f87['_update'](_0x2d5916,_0x245c92);});}}},w),_0x35190f);}['_enhanceShowRevisionViewerCallback'](){const _0x1b1d19=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x2f107a=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x23cce4=this['editor']['plugins']['get']('Autosave');await _0x23cce4['save']();}else await _0x2f107a['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x3f9e57=this['editor']['plugins']['get']('Dialog');_0x3f9e57['isOpen']&&_0x3f9e57['hide']();}const _0x4a6b38=this['_getRevisionViewerEditorConfig']();return _0x1b1d19(_0x4a6b38)['then'](_0x2c6127=>{return(this['_viewerEditor']=_0x2c6127,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x2c6127;})['catch'](_0x4e4295=>(console['error'](_0x4e4295),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x1fe973=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'](),_0x1fe973(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x10e11b=this['editor']['plugins']['get']('Annotations');_0x10e11b['refreshVisibility'](),_0x10e11b['refreshPositioning']();}})));}['_showRevisionViewer'](_0x4e194a){const _0x326fd7=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x4c1d7c=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x51089a=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x51089a,_0x4e194a)['then'](_0x343420=>(_0x4c1d7c['style']['display']='block',_0x326fd7['style']['display']='none',_0x343420));}['_closeRevisionViewer'](_0x44d507){const _0x5a7343=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x5a7343['style']['display']='',_0x44d507['destroy']();}async['_restoreRevision'](_0x5295fa){const _0x5534a6=this['editor'],_0x3ad5bc=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x3d4300=_0x5534a6['plugins']['get']('RevisionTracker'),_0x182e48=_0x3ad5bc['repository']['getRevision'](_0x5295fa);let _0x7d0de9,_0x2ae987,_0x32691e;try{_0x7d0de9=await _0x3ad5bc['getRevisionData'](_0x182e48),_0x2ae987=await _0x3ad5bc['getRevisionRootsAttributes'](_0x182e48);}catch(_0x46df78){return void console['error'](_0x46df78);}_0x5534a6['model']['change'](_0xe00bdd=>{for(const _0x41d114 of Array['from'](_0x5534a6['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0xe00bdd['removeMarker'](_0x41d114);}),_0x3ad5bc['isReady']=!0x1,_0x5534a6['model']['enqueueChange'](_0x5e6e2=>{_0x5e6e2['setSelection'](null),_0x5e6e2['removeSelectionAttribute'](_0x5534a6['model']['document']['selection']['getAttributeKeys']());const _0x2c61ad=Object['keys'](_0x7d0de9);for(const _0x170b73 of _0x5534a6['model']['document']['roots'])'$graveyard'!=_0x170b73['rootName']&&_0x170b73['isAttached']()&&!_0x2c61ad['includes'](_0x170b73['rootName'])&&_0x5e6e2['detachRoot'](_0x170b73);for(const _0x2fec39 of _0x2c61ad){let _0x1a7bde=_0x5534a6['model']['document']['getRoot'](_0x2fec39);_0x1a7bde&&_0x1a7bde['isAttached']()||(_0x1a7bde=_0x5e6e2['addRoot'](_0x2fec39));const _0x5b61a2=_0x2ae987[_0x2fec39],_0x260a2c=Object['keys'](_0x5b61a2),_0x3d5595=_0x7d0de9[_0x2fec39];for(const _0x8a55a of _0x1a7bde['getAttributeKeys']())_0x260a2c['includes'](_0x8a55a)||_0x5e6e2['removeAttribute'](_0x8a55a,_0x1a7bde);for(const _0x257040 of _0x260a2c)_0x5e6e2['setAttribute'](_0x257040,_0x2ae987[_0x2fec39][_0x257040],_0x1a7bde);_0x5e6e2['remove'](_0x5e6e2['createRangeIn'](_0x1a7bde)),_0x5e6e2['insert'](_0x5534a6['data']['parse'](_0x3d5595,_0x1a7bde),_0x1a7bde,0x0);}});const _0x320578=y(_0x5534a6['locale'],'Restored');if(_0x182e48['name'])_0x32691e=-0x1==_0x182e48['name']['indexOf'](_0x320578)?_0x320578+':\x20'+_0x182e48['name']:_0x182e48['name'];else _0x32691e=_0x320578+':\x20'+(_0x182e48['createdAt']['toLocaleDateString'](_0x5534a6['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x182e48['createdAt']['toLocaleTimeString'](_0x5534a6['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x3d4300['saveRevision']({'name':_0x32691e}),_0x3ad5bc['isReady']=!0x0,_0x5534a6['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(_0x455dc7){super(_0x455dc7),this['_revisionViewer']=_0x455dc7['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x1299f7=this['_revisionsRepository']['_revisions'],_0x55f947=this['_createRevisionActions'](),_0x3ff081=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x1299f7,_0x55f947,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',(_0x3ae7f4,_0x20eb91)=>{_0x20eb91['revisionViews']['on']('add',(_0x5f2bf1,_0x20634d)=>{_0x20634d['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)),_0x3ff081['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x508f51=this['_revisionsRepository']['getRevision'](0x0);if(_0x508f51){const _0x45e62d=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x508f51['id']);this['_revisionViewer']['compare'](_0x508f51,_0x45e62d);}}['_handleRevisionSelected'](_0x326090,_0x6e1bd7){const _0x2c9796=this['_revisionsRepository']['getRevision'](_0x6e1bd7['id']),_0x2800b0=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x2c9796['id']);this['_revisionViewer']['compare'](_0x2c9796,_0x2800b0);}['_handleRevisionSetName'](_0x5bc698,_0x5ad428){this['_revisionsRepository']['getRevision'](_0x5ad428['id'])['setName'](_0x5ad428['name']);}['_handleDiffChange'](_0x22756f,_0x2ca094,_0x49b1cf){const _0x1195b7=this['_revisionsRepository']['getRevisionsInDiff'](_0x49b1cf);_0x1195b7['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x1195b7),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x1195b7[0x0]));}['_createRevisionActions'](){const _0x164cd8=this['editor'],_0xdd53d7=w['availableRevisionActions'],_0x45ed30=_0x164cd8['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x45ed30['length'])return _0x45ed30['map'](_0x385aec=>{const _0x3c24d8='string'==typeof _0x385aec?Object['assign']({},_0xdd53d7[_0x385aec]):_0x385aec;return _0x3c24d8['action']=_0x3c24d8['action']['bind'](this,_0x164cd8),_0x3c24d8['isVisible']&&(_0x3c24d8['isVisible']=_0x3c24d8['isVisible']['bind'](this,_0x164cd8)),_0x3c24d8;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x530621},_0x4e97ae)=>{const _0x305f9f=_0x530621['get'](d),_0x163ffd=_0x305f9f['repository'];let _0x3255a2=_0x305f9f['diff']['newRevisionId'],_0x45dddd=_0x4e97ae['id'];_0x163ffd['getIndex'](_0x3255a2)>_0x163ffd['getIndex'](_0x45dddd)&&([_0x3255a2,_0x45dddd]=[_0x45dddd,_0x3255a2]),_0x305f9f['compare'](_0x3255a2,_0x45dddd);},'isVisible':({plugins:_0xc13da3},_0x57ae1f)=>{const _0x208401=_0xc13da3['get'](d);return!(_0x208401['repository']['getRevisionsInDiff'](_0x208401['diff'])['length']>0x2)&&!_0x57ae1f['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x46e561,{id:_0x24bddc})=>{_0x46e561['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x24bddc);},'isVisible':({plugins:_0x5865d0},_0x571b5b)=>!!_0x5865d0['get'](d)['repository']['getLaterVisibleRevision'](_0x571b5b['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x239a22},{id:_0x54330f,revisionNameView:_0x18ea99})=>{const _0x4b849e=_0x239a22['get'](d),_0x3f8d5a=_0x4b849e['repository']['getEarlierVisibleRevision'](_0x54330f);_0x4b849e['compare'](_0x54330f,_0x3f8d5a),_0x18ea99['focus'](),_0x18ea99['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x59bb4e,_0x1449e6){super(_0x59bb4e),this['_view']=_0x1449e6,this['_toolbarConfig']=ct(_0x59bb4e['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x846a79){const _0x42dbf5=this['editor'],_0x5af0f5=this['view'],_0x57c201=_0x42dbf5['editing']['view'],_0x1a03c7=_0x5af0f5['editable'],_0x1ba175=_0x57c201['document']['getRoot']();_0x1a03c7['name']=_0x1ba175['rootName'],_0x5af0f5['render']();const _0x24d857=_0x1a03c7['element'];this['setEditableElement'](_0x1a03c7['name'],_0x24d857),_0x5af0f5['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x57c201['attachDomRoot'](_0x24d857),this['_elementReplacer']['replace'](_0x846a79,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x8890f9=this['view'],_0x45d6f7=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x45d6f7['detachDomRoot'](_0x8890f9['editable']['name']),_0x8890f9['destroy']();}['_initToolbar'](){const _0x296dbc=this['view'];_0x296dbc['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x296dbc['stickyPanel']['limiterElement']=_0x296dbc['element'],_0x296dbc['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x1b6354})=>_0x1b6354),_0x296dbc['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x296dbc['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x5e4157,_0x23002b,_0x3a3574={}){super(_0x5e4157),this['stickyPanel']=new lt(_0x5e4157),this['toolbar']=new pt(_0x5e4157,{'shouldGroupWhenFull':_0x3a3574['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x5e4157,_0x23002b);}['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(_0x3a7ccf,_0x25f6e3){super(_0x25f6e3),this['sourceElement']=_0x3a7ccf,this['model']['document']['createRoot']();const _0x1b6d2b=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x1b6d2b);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x17e814,_0x31b56f){const _0x242f54=new this(_0x17e814,_0x31b56f);return await _0x242f54['initPlugins'](),await _0x242f54['ui']['init'](_0x17e814),await _0x242f54['data']['init'](_0x242f54['config']['get']('initialData')||''),_0x242f54['fire']('ready'),_0x242f54;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x18654b{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0xd94167){super(_0xd94167),this['result']='end';}}class H extends _0x18654b{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x15cffc){if(super(_0x15cffc),!this['editor']['config']['get']('revisionHistory'))throw new _0x171c0c('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x34fd22=>this['_showRevisionViewer']({..._0x34fd22,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x4340f4=>this['_closeRevisionViewer'](_0x4340f4)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x3876e9=>this['_restoreRevision'](_0x3876e9)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x365ffa){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x365ffa;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x5991b3){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x5991b3);}['getRevision'](_0x30d44a){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x30d44a);}['getRevisions'](_0x2e7f0d){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x2e7f0d||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x40d382=this['editor'],_0x4b8a9c=_0x8b23e3(_0x40d382,p),_0x2fdcb9=_0x40d382['plugins']['get']('RevisionTracker'),_0x340b9e=_0x40d382['plugins']['get']('Users')['users'];return _0x4b8a9c['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x4b8a9c['lazyRoots'],(_0x4b8a9c['plugins']['push'](k,d,R,class extends _0x18654b{static get['requires'](){return[d,'Users'];}['init'](){const _0x9d6acf=this['editor']['plugins']['get']('Users');for(const _0x26501a of _0x340b9e)_0x26501a['isAnonymous']||_0x9d6acf['getUser'](_0x26501a['id'])||_0x9d6acf['addUser'](_0x26501a);const _0x25fa26=_0x2fdcb9['repository']['getRevisions']();let _0x3283d6=null;const _0x445a41=this['editor']['plugins']['get']('RevisionViewer');_0x445a41['adapter']=_0x2fdcb9['adapter'],_0x445a41['bind']('isEnabled')['to'](_0x2fdcb9),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x40d382,'isReadOnly',_0x212fc5=>!_0x212fc5);for(const _0x5139e4 of _0x25fa26){const _0x2e9b26=null===_0x5139e4['creator'];if(_0x2e9b26&&_0x5139e4['toVersion']===_0x5139e4['fromVersion'])continue;const _0x2a5030=_0x5139e4['toJSON']();_0x445a41['addRevisionData'](_0x2a5030,(_0x528ece,_0x4f60e8,_0x6f8a23)=>{if(_0x2e9b26){if(_0x3283d6)_0x3283d6['_update'](_0x528ece,_0x4f60e8);else{if(!_0x4f60e8){const _0x2094e3=_0x6f8a23['toJSON']();_0x2094e3['id']=_0x1fef2a(),_0x2fdcb9['saveRevision'](_0x2094e3,_0x6f8a23['toVersion'])['then'](_0x4fbfd3=>{_0x3283d6=_0x4fbfd3;});}}}else _0x5139e4['_update'](_0x528ece,_0x4f60e8);});}}},w),_0x4b8a9c);}['_enhanceShowRevisionViewerCallback'](){const _0xe910e7=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x1e908b=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x3367c9=this['editor']['plugins']['get']('Autosave');await _0x3367c9['save']();}else await _0x1e908b['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x49ca8a=this['editor']['plugins']['get']('Dialog');_0x49ca8a['isOpen']&&_0x49ca8a['hide']();}const _0x4254b9=this['_getRevisionViewerEditorConfig']();return _0xe910e7(_0x4254b9)['then'](_0x39ea49=>{return(this['_viewerEditor']=_0x39ea49,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x39ea49;})['catch'](_0x2d162b=>(console['error'](_0x2d162b),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0xe467=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'](),_0xe467(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x3ac1d9=this['editor']['plugins']['get']('Annotations');_0x3ac1d9['refreshVisibility'](),_0x3ac1d9['refreshPositioning']();}})));}['_showRevisionViewer'](_0x502614){const _0x3e8dcd=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x258957=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x5bc41e=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x5bc41e,_0x502614)['then'](_0x23708e=>(_0x258957['style']['display']='block',_0x3e8dcd['style']['display']='none',_0x23708e));}['_closeRevisionViewer'](_0x4cfbda){const _0x3d09ae=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x3d09ae['style']['display']='',_0x4cfbda['destroy']();}async['_restoreRevision'](_0x109f4f){const _0x44717d=this['editor'],_0x199178=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x2bb182=_0x44717d['plugins']['get']('RevisionTracker'),_0x1b8b99=_0x199178['repository']['getRevision'](_0x109f4f);let _0x24b9f7,_0x2e01d4,_0x7868a4;try{_0x24b9f7=await _0x199178['getRevisionData'](_0x1b8b99),_0x2e01d4=await _0x199178['getRevisionRootsAttributes'](_0x1b8b99);}catch(_0x1e31e4){return void console['error'](_0x1e31e4);}_0x44717d['model']['change'](_0x2fa419=>{for(const _0x581a2 of Array['from'](_0x44717d['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x2fa419['removeMarker'](_0x581a2);}),_0x199178['isReady']=!0x1,_0x44717d['model']['enqueueChange'](_0x56c1c0=>{_0x56c1c0['setSelection'](null),_0x56c1c0['removeSelectionAttribute'](_0x44717d['model']['document']['selection']['getAttributeKeys']());const _0x5855a9=Object['keys'](_0x24b9f7);for(const _0x13854d of _0x44717d['model']['document']['roots'])'$graveyard'!=_0x13854d['rootName']&&_0x13854d['isAttached']()&&!_0x5855a9['includes'](_0x13854d['rootName'])&&_0x56c1c0['detachRoot'](_0x13854d);for(const _0x4a689f of _0x5855a9){let _0x11c315=_0x44717d['model']['document']['getRoot'](_0x4a689f);_0x11c315&&_0x11c315['isAttached']()||(_0x11c315=_0x56c1c0['addRoot'](_0x4a689f));const _0x10107c=_0x2e01d4[_0x4a689f],_0x7fe66b=Object['keys'](_0x10107c),_0x58ca36=_0x24b9f7[_0x4a689f];for(const _0x30ed16 of _0x11c315['getAttributeKeys']())_0x7fe66b['includes'](_0x30ed16)||_0x56c1c0['removeAttribute'](_0x30ed16,_0x11c315);for(const _0x335fcd of _0x7fe66b)_0x56c1c0['setAttribute'](_0x335fcd,_0x2e01d4[_0x4a689f][_0x335fcd],_0x11c315);_0x56c1c0['remove'](_0x56c1c0['createRangeIn'](_0x11c315)),_0x56c1c0['insert'](_0x44717d['data']['parse'](_0x58ca36,_0x11c315),_0x11c315,0x0);}});const _0x49f51d=y(_0x44717d['locale'],'Restored');if(_0x1b8b99['name'])_0x7868a4=-0x1==_0x1b8b99['name']['indexOf'](_0x49f51d)?_0x49f51d+':\x20'+_0x1b8b99['name']:_0x1b8b99['name'];else _0x7868a4=_0x49f51d+':\x20'+(_0x1b8b99['createdAt']['toLocaleDateString'](_0x44717d['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x1b8b99['createdAt']['toLocaleTimeString'](_0x44717d['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x2bb182['saveRevision']({'name':_0x7868a4}),_0x199178['isReady']=!0x0,_0x44717d['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};