@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240429.0 → 0.0.0-nightly-20240501.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 (146) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/az.js +1 -1
  8. package/dist/translations/az.umd.js +1 -1
  9. package/dist/translations/bg.js +1 -1
  10. package/dist/translations/bg.umd.js +1 -1
  11. package/dist/translations/bn.js +1 -1
  12. package/dist/translations/bn.umd.js +1 -1
  13. package/dist/translations/bs.js +1 -1
  14. package/dist/translations/bs.umd.js +1 -1
  15. package/dist/translations/ca.js +1 -1
  16. package/dist/translations/ca.umd.js +1 -1
  17. package/dist/translations/cs.js +1 -1
  18. package/dist/translations/cs.umd.js +1 -1
  19. package/dist/translations/da.js +1 -1
  20. package/dist/translations/da.umd.js +1 -1
  21. package/dist/translations/de-ch.js +1 -1
  22. package/dist/translations/de-ch.umd.js +1 -1
  23. package/dist/translations/de.js +1 -1
  24. package/dist/translations/de.umd.js +1 -1
  25. package/dist/translations/el.js +1 -1
  26. package/dist/translations/el.umd.js +1 -1
  27. package/dist/translations/en-au.js +1 -1
  28. package/dist/translations/en-au.umd.js +1 -1
  29. package/dist/translations/en-gb.js +1 -1
  30. package/dist/translations/en-gb.umd.js +1 -1
  31. package/dist/translations/en.umd.js +1 -1
  32. package/dist/translations/es-co.js +1 -1
  33. package/dist/translations/es-co.umd.js +1 -1
  34. package/dist/translations/es.js +1 -1
  35. package/dist/translations/es.umd.js +1 -1
  36. package/dist/translations/et.js +1 -1
  37. package/dist/translations/et.umd.js +1 -1
  38. package/dist/translations/fa.js +1 -1
  39. package/dist/translations/fa.umd.js +1 -1
  40. package/dist/translations/fi.js +1 -1
  41. package/dist/translations/fi.umd.js +1 -1
  42. package/dist/translations/fr.js +1 -1
  43. package/dist/translations/fr.umd.js +1 -1
  44. package/dist/translations/gl.js +1 -1
  45. package/dist/translations/gl.umd.js +1 -1
  46. package/dist/translations/he.js +1 -1
  47. package/dist/translations/he.umd.js +1 -1
  48. package/dist/translations/hi.js +1 -1
  49. package/dist/translations/hi.umd.js +1 -1
  50. package/dist/translations/hr.js +1 -1
  51. package/dist/translations/hr.umd.js +1 -1
  52. package/dist/translations/hu.js +1 -1
  53. package/dist/translations/hu.umd.js +1 -1
  54. package/dist/translations/id.js +1 -1
  55. package/dist/translations/id.umd.js +1 -1
  56. package/dist/translations/it.js +1 -1
  57. package/dist/translations/it.umd.js +1 -1
  58. package/dist/translations/ja.js +1 -1
  59. package/dist/translations/ja.umd.js +1 -1
  60. package/dist/translations/jv.js +1 -1
  61. package/dist/translations/jv.umd.js +1 -1
  62. package/dist/translations/ko.js +1 -1
  63. package/dist/translations/ko.umd.js +1 -1
  64. package/dist/translations/ku.js +1 -1
  65. package/dist/translations/ku.umd.js +1 -1
  66. package/dist/translations/lt.js +1 -1
  67. package/dist/translations/lt.umd.js +1 -1
  68. package/dist/translations/lv.js +1 -1
  69. package/dist/translations/lv.umd.js +1 -1
  70. package/dist/translations/ms.js +1 -1
  71. package/dist/translations/ms.umd.js +1 -1
  72. package/dist/translations/ne.js +1 -1
  73. package/dist/translations/ne.umd.js +1 -1
  74. package/dist/translations/nl.js +1 -1
  75. package/dist/translations/nl.umd.js +1 -1
  76. package/dist/translations/no.js +1 -1
  77. package/dist/translations/no.umd.js +1 -1
  78. package/dist/translations/pl.js +1 -1
  79. package/dist/translations/pl.umd.js +1 -1
  80. package/dist/translations/pt-br.js +1 -1
  81. package/dist/translations/pt-br.umd.js +1 -1
  82. package/dist/translations/pt.js +1 -1
  83. package/dist/translations/pt.umd.js +1 -1
  84. package/dist/translations/ro.js +1 -1
  85. package/dist/translations/ro.umd.js +1 -1
  86. package/dist/translations/ru.js +1 -1
  87. package/dist/translations/ru.umd.js +1 -1
  88. package/dist/translations/sk.js +1 -1
  89. package/dist/translations/sk.umd.js +1 -1
  90. package/dist/translations/sr-latn.js +1 -1
  91. package/dist/translations/sr-latn.umd.js +1 -1
  92. package/dist/translations/sr.js +1 -1
  93. package/dist/translations/sr.umd.js +1 -1
  94. package/dist/translations/sv.js +1 -1
  95. package/dist/translations/sv.umd.js +1 -1
  96. package/dist/translations/th.js +1 -1
  97. package/dist/translations/th.umd.js +1 -1
  98. package/dist/translations/tk.js +1 -1
  99. package/dist/translations/tk.umd.js +1 -1
  100. package/dist/translations/tr.js +1 -1
  101. package/dist/translations/tr.umd.js +1 -1
  102. package/dist/translations/tt.js +1 -1
  103. package/dist/translations/tt.umd.js +1 -1
  104. package/dist/translations/ug.js +1 -1
  105. package/dist/translations/ug.umd.js +1 -1
  106. package/dist/translations/uk.js +1 -1
  107. package/dist/translations/uk.umd.js +1 -1
  108. package/dist/translations/ur.js +1 -1
  109. package/dist/translations/ur.umd.js +1 -1
  110. package/dist/translations/vi.js +1 -1
  111. package/dist/translations/vi.umd.js +1 -1
  112. package/dist/translations/zh-cn.js +1 -1
  113. package/dist/translations/zh-cn.umd.js +1 -1
  114. package/dist/translations/zh.js +1 -1
  115. package/dist/translations/zh.umd.js +1 -1
  116. package/package.json +5 -5
  117. package/src/changeitem.js +1 -1
  118. package/src/editor/revisionviewereditor.js +1 -1
  119. package/src/editor/revisionviewereditorui.js +1 -1
  120. package/src/editor/revisionviewereditoruiview.js +1 -1
  121. package/src/index.js +1 -1
  122. package/src/revision.js +1 -1
  123. package/src/revisiondiff.js +1 -1
  124. package/src/revisionhistory.js +1 -1
  125. package/src/revisionsrepository.js +1 -1
  126. package/src/revisiontracker.js +1 -1
  127. package/src/revisionviewer.js +1 -1
  128. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  129. package/src/ui/revision/revisionauthorview.js +1 -1
  130. package/src/ui/revision/revisionnameview.js +1 -1
  131. package/src/ui/revision/revisionview.js +1 -1
  132. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  133. package/src/ui/revision/subrevisionview.js +1 -1
  134. package/src/ui/revision/utils.js +1 -1
  135. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  136. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  137. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  138. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  139. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  140. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  141. package/src/ui/revisionssidebar/utils.js +1 -1
  142. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  143. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  144. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  145. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  146. package/src/utils/common-translations.js +1 -1
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4611ab,Context as _0x40ec87,PendingActions as _0x535b29,icons as _0x3503f1,Command as _0x19eace,DataApiMixin as rt,ElementApiMixin as st,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x53a58f,uid as _0x3d2381,Collection as _0x627659,logWarning as _0x5d67d5,FocusTracker as _0x2757f4,KeystrokeHandler as _0x2fdc83,scrollViewportToShowTarget as _0x138191,ResizeObserver as kt,ElementReplacer as nt,CKEditorError as _0x5e5322}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x254728,getMarkerDomElement as _0x4a4f4a,ConfirmMixin as _0x158f8f,sanitizeEditorConfig as _0x37c7dc}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x2d8d83,ViewText as _0x42bd79,ViewElement as _0x1fca0e,Element as ft,Range as gt,Position as wt,DocumentFragment as _t,ViewContainerElement as _0x5811a3,ViewAttributeElement as _0x254c23,ViewEmptyElement as _0x3fff9c,ViewRawElement as _0x1a4a80,ViewUIElement as _0x53a894,Text as yt}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x4311a5,set as _0xed4050,unset as _0x54073d,isEqual as _0x4f91dd}from'lodash-es';import{View as _0x42c77d,submitHandler as _0x2b9c5b,LabeledFieldView as mt,createLabeledInputText as _0x50d707,injectCssTransitionDisabler as ts,createDropdown as _0x377434,ListView as te,ListItemView as _0x20a6b0,ButtonView as _0x15c4b0,MenuBarMenuView as _0x341b7a,MenuBarMenuListView as _0x75cb69,MenuBarMenuListItemView as _0x354246,MenuBarMenuListItemButtonView as _0x22ca20,ContextualBalloon as _0x37c051,ToolbarSeparatorView as _0x5303d5,IconView as _0x538fcf,addListToDropdown as _0x556d49,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 _0x38471c}from'luxon';class a extends _0x53a58f(){['setName'](_0xee5b09){this['_update']({'name':_0xee5b09});}['setAttribute'](_0x52d8c7,_0x5cc0b1){const _0x50312d=_0x4311a5(this['attributes']);_0xed4050(_0x50312d,_0x52d8c7,_0x5cc0b1),this['_update']({'attributes':_0x50312d});}['removeAttribute'](_0x6c5779){const _0x3ff76f=_0x4311a5(this['attributes']);_0x54073d(_0x3ff76f,_0x6c5779),this['_update']({'attributes':_0x3ff76f});}['_update'](_0x1bcfd8,_0x2072bd=!0x1){let _0x5bc144=!0x1;const _0x628fbd={'id':this['id']},_0x538808=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x25219a of _0x538808){const _0x6d3eeb=_0x1bcfd8[_0x25219a];void 0x0!==_0x6d3eeb&&_0x6d3eeb!==this[_0x25219a]&&(this[_0x25219a]=_0x6d3eeb,_0x628fbd[_0x25219a]=_0x6d3eeb,_0x5bc144=!0x0);}_0x5bc144&&(_0x628fbd['authors']&&(_0x628fbd['authorsIds']=_0x628fbd['authors']['map'](_0xd0bac2=>_0xd0bac2['id']),delete _0x628fbd['authors']),this['fire']('_update',_0x628fbd,_0x2072bd));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x5df63f=>_0x5df63f['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}constructor(_0x125b03){super(),this['id']=_0x125b03['id']||_0x3d2381(),this['creator']=_0x125b03['creator']||null,this['authors']=_0x125b03['authors']||[],this['diffData']=_0x125b03['diffData']||null,this['toVersion']=_0x125b03['toVersion']||0x0,this['fromVersion']=_0x125b03['fromVersion']||0x0,this['set']('name',_0x125b03['name']||''),this['set']('createdAt',_0x125b03['createdAt']||new Date()),this['set']('attributes',_0x125b03['attributes']||{});}}class A extends _0x4611ab{static get['requires'](){return[_0x254728];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}['afterInit'](){!function(_0x559d5c){function _0x28f37e(_0x177718,_0x2ed1c3,_0x379396){const _0x591803={};_0x591803[_0x3176dc([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x591803[_0x3176dc([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],_0x591803[_0x3176dc([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],_0x591803[_0x3176dc([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],_0x591803[_0x3176dc([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],_0x591803[_0x3176dc([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],_0x591803[_0x3176dc([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],_0x591803[_0x3176dc([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],_0x591803[_0x3176dc([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],_0x591803[_0x3176dc([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],_0x591803[_0x3176dc([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 _0x9b0b6c=new Uint8Array(0x10);for(let _0x1a7dc5=0xf;_0x1a7dc5>=0x0;--_0x1a7dc5)_0x9b0b6c[_0x1a7dc5]=_0x379396%0x100,_0x379396=parseInt(_0x379396/0x100);let _0x16dd1c=null,_0x52f16f=0x10;const _0x3b3a78=new Uint8Array(_0x2ed1c3),_0x5ded2e=[],_0x218b07=[];_0x20f0a5();for(let _0x168219=0x0;_0x168219<_0x177718[_0x3176dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x168219++)0x10===_0x52f16f&&(_0x16dd1c=_0x4aa0a0(_0x9b0b6c),_0x52f16f=0x0,_0x3f9164(_0x9b0b6c)),_0x177718[_0x168219]^=_0x16dd1c[_0x52f16f++];return _0x177718;function _0x1c1d40(_0x51c53e){const _0x1066d0=[];for(let _0x557d53=0x0;_0x557d53<_0x51c53e[_0x3176dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x557d53+=0x4)_0x1066d0[_0x3176dc([0x70,0x75,0x73,0x68])](_0x51c53e[_0x557d53]<<0x18|_0x51c53e[_0x557d53+0x1]<<0x10|_0x51c53e[_0x557d53+0x2]<<0x8|_0x51c53e[_0x557d53+0x3]);return _0x1066d0;}function _0x3f9164(_0x1c2f4c){for(let _0x42ea39=0xf;_0x42ea39>=0x0;_0x42ea39--){if(0xff!==_0x1c2f4c[_0x42ea39]){_0x1c2f4c[_0x42ea39]++;break;}_0x1c2f4c[_0x42ea39]=0x0;}}function _0x4aa0a0(_0x3b26e2){const _0x58ce76=_0x5ded2e[_0x3176dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x15e527=[0x0,0x0,0x0,0x0];let t=_0x1c1d40(_0x3b26e2);for(let _0x17fa9f=0x0;_0x17fa9f<0x4;_0x17fa9f++)t[_0x17fa9f]^=_0x5ded2e[0x0][_0x17fa9f];for(let _0x1b7c6e=0x1;_0x1b7c6e<_0x58ce76;_0x1b7c6e++){for(let _0x7748ed=0x0;_0x7748ed<0x4;_0x7748ed++)_0x15e527[_0x7748ed]=_0x591803[_0x3176dc([0x54,0x31])][t[_0x7748ed]>>0x18&0xff]^_0x591803[_0x3176dc([0x54,0x32])][t[(_0x7748ed+0x1)%0x4]>>0x10&0xff]^_0x591803[_0x3176dc([0x54,0x33])][t[(_0x7748ed+0x2)%0x4]>>0x8&0xff]^_0x591803[_0x3176dc([0x54,0x34])][0xff&t[(_0x7748ed+0x3)%0x4]]^_0x5ded2e[_0x1b7c6e][_0x7748ed];t=_0x15e527[_0x3176dc([0x73,0x6c,0x69,0x63,0x65])]();}const _0x174baf=new Uint8Array(0x10);let _0x125b0c;for(let _0x3880a1=0x0;_0x3880a1<0x4;_0x3880a1++)_0x125b0c=_0x5ded2e[_0x58ce76][_0x3880a1],_0x174baf[0x4*_0x3880a1]=0xff&(_0x591803[_0x3176dc([0x53])][t[_0x3880a1]>>0x18&0xff]^_0x125b0c>>0x18),_0x174baf[0x4*_0x3880a1+0x1]=0xff&(_0x591803[_0x3176dc([0x53])][t[(_0x3880a1+0x1)%0x4]>>0x10&0xff]^_0x125b0c>>0x10),_0x174baf[0x4*_0x3880a1+0x2]=0xff&(_0x591803[_0x3176dc([0x53])][t[(_0x3880a1+0x2)%0x4]>>0x8&0xff]^_0x125b0c>>0x8),_0x174baf[0x4*_0x3880a1+0x3]=0xff&(_0x591803[_0x3176dc([0x53])][0xff&t[(_0x3880a1+0x3)%0x4]]^_0x125b0c);return _0x174baf;}function _0x20f0a5(){const _0x1ca21f=_0x591803[_0x3176dc([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x3b3a78[_0x3176dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x20ecfe=0x0;_0x20ecfe<=_0x1ca21f;_0x20ecfe++)_0x5ded2e[_0x3176dc([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x218b07[_0x3176dc([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x230d83=0x4*(_0x1ca21f+0x1),_0x3a5ab1=_0x3b3a78[_0x3176dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x153324=_0x1c1d40(_0x3b3a78);let _0x68d7c8;for(let _0x287f83=0x0;_0x287f83<_0x3a5ab1;_0x287f83++)_0x68d7c8=_0x287f83>>0x2,_0x5ded2e[_0x68d7c8][_0x287f83%0x4]=_0x153324[_0x287f83],_0x218b07[_0x1ca21f-_0x68d7c8][_0x287f83%0x4]=_0x153324[_0x287f83];let _0x2eb7b1,_0x1e3919=0x0,t=_0x3a5ab1;for(;t<_0x230d83;){_0x2eb7b1=_0x153324[_0x3a5ab1-0x1],_0x153324[0x0]^=_0x591803[_0x3176dc([0x53])][_0x2eb7b1>>0x10&0xff]<<0x18^_0x591803[_0x3176dc([0x53])][_0x2eb7b1>>0x8&0xff]<<0x10^_0x591803[_0x3176dc([0x53])][0xff&_0x2eb7b1]<<0x8^_0x591803[_0x3176dc([0x53])][_0x2eb7b1>>0x18&0xff]^_0x591803[_0x3176dc([0x72,0x63,0x6f,0x6e])][_0x1e3919]<<0x18,_0x1e3919+=0x1;for(let _0x56c686=0x1;_0x56c686<_0x3a5ab1/0x2;_0x56c686++)_0x153324[_0x56c686]^=_0x153324[_0x56c686-0x1];_0x2eb7b1=_0x153324[_0x3a5ab1/0x2-0x1],_0x153324[_0x3a5ab1/0x2]^=_0x591803[_0x3176dc([0x53])][0xff&_0x2eb7b1]^_0x591803[_0x3176dc([0x53])][_0x2eb7b1>>0x8&0xff]<<0x8^_0x591803[_0x3176dc([0x53])][_0x2eb7b1>>0x10&0xff]<<0x10^_0x591803[_0x3176dc([0x53])][_0x2eb7b1>>0x18&0xff]<<0x18;for(let _0xa7eb3a=_0x3a5ab1/0x2+0x1;_0xa7eb3a<_0x3a5ab1;_0xa7eb3a++)_0x153324[_0xa7eb3a]^=_0x153324[_0xa7eb3a-0x1];let _0x5beb60,_0x4ede6c,_0x32b3e7=0x0;for(;_0x32b3e7<_0x3a5ab1&&t<_0x230d83;)_0x5beb60=t>>0x2,_0x4ede6c=t%0x4,_0x5ded2e[_0x5beb60][_0x4ede6c]=_0x153324[_0x32b3e7],_0x218b07[_0x1ca21f-_0x5beb60][_0x4ede6c]=_0x153324[_0x32b3e7++],t++;}for(let _0x5a9b5f=0x1;_0x5a9b5f<_0x1ca21f;_0x5a9b5f++)for(let _0x28e06f=0x0;_0x28e06f<0x4;_0x28e06f++)_0x2eb7b1=_0x218b07[_0x5a9b5f][_0x28e06f],_0x218b07[_0x5a9b5f][_0x28e06f]=_0x591803[_0x3176dc([0x55,0x31])][_0x2eb7b1>>0x18&0xff]^_0x591803[_0x3176dc([0x55,0x32])][_0x2eb7b1>>0x10&0xff]^_0x591803[_0x3176dc([0x55,0x33])][_0x2eb7b1>>0x8&0xff]^_0x591803[_0x3176dc([0x55,0x34])][0xff&_0x2eb7b1];}}function _0x3176dc(_0x4d446c){return _0x4d446c['map'](_0x207e60=>String['fromCharCode'](_0x207e60))['join']('');}(_0x9b35fe=>{function _0x1b5393(){const _0x5154fa=[{[_0x3176dc([0x69,0x64])]:0x1,[_0x3176dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3176dc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x3176dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3176dc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3176dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3176dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3176dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x3176dc([0x69,0x64])]:0x2,[_0x3176dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3176dc([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x3176dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3176dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3176dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3176dc([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]),[_0x3176dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3176dc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3176dc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3176dc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x3176dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3176dc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3176dc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3176dc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3176dc([0x69,0x64])]:0x3,[_0x3176dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3176dc([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x3176dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3176dc([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3176dc([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3176dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3176dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3176dc([0x69,0x64])]:0x4,[_0x3176dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3176dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x3176dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3176dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3176dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3176dc([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]),[_0x3176dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3176dc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3176dc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3176dc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3176dc([0x69,0x64])]:0x5,[_0x3176dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3176dc([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x3176dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3176dc([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3176dc([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]),[_0x3176dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3176dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3176dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3176dc([0x66,0x67,0x69])]:[0xc]}},{[_0x3176dc([0x69,0x64])]:0x6,[_0x3176dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3176dc([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x3176dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3176dc([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3176dc([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3176dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3176dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3176dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3176dc([0x66,0x67,0x69])]:[0xc]}},{[_0x3176dc([0x69,0x64])]:0x7,[_0x3176dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3176dc([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x3176dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3176dc([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3176dc([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3176dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3176dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3176dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3176dc([0x66,0x67,0x69])]:[0xc]}},{[_0x3176dc([0x69,0x64])]:0x8,[_0x3176dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3176dc([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x3176dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3176dc([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3176dc([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]),[_0x3176dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3176dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3176dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3176dc([0x66,0x67,0x69])]:[0xc]}},{[_0x3176dc([0x69,0x64])]:0x9,[_0x3176dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3176dc([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x3176dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3176dc([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3176dc([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3176dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3176dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3176dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3176dc([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x3176dc([0x69,0x64])]:0xa,[_0x3176dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3176dc([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]),[_0x3176dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3176dc([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]),[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3176dc([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]),[_0x3176dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3176dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3176dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3176dc([0x66,0x67,0x69])]:[0xc]}},{[_0x3176dc([0x69,0x64])]:0xb,[_0x3176dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3176dc([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x3176dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3176dc([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3176dc([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3176dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3176dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3176dc([0x69,0x64])]:0xc,[_0x3176dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3176dc([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x3176dc([0x69,0x64])]:0xd,[_0x3176dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3176dc([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x3176dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3176dc([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3176dc([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3176dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3176dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3176dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3176dc([0x66,0x67,0x69])]:[0xc]}},{[_0x3176dc([0x69,0x64])]:0xe,[_0x3176dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3176dc([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x3176dc([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3176dc([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])},{[_0x3176dc([0x69,0x64])]:0xf,[_0x3176dc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3176dc([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x3176dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3176dc([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3176dc([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3176dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3176dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])}];return _0x11539a(_0x5154fa),_0x5154fa;function _0x1c377d(_0x94764d){return 0x1<<_0x94764d-0x1;}function _0x11539a(_0x368107){_0x368107[_0x3176dc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x587653=>{_0x587653[_0x3176dc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x1c377d(_0x587653[_0x3176dc([0x69,0x64])]),_0xcef3f7(_0x587653)&&_0x587653[_0x3176dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x11539a(_0x587653[_0x3176dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0xcef3f7(_0x4bb40b){return _0x3176dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x4bb40b;}const _0x52d5a1=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x42436e=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x1f74a1(_0x44ff2c){const _0x412939=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x1574a0(_0x44ff2c,new Uint8Array([..._0x52d5a1,..._0x412939,..._0x42436e]));}function _0x1574a0(_0x5b252d,_0x48c361){const _0x595d55=_0x4a1be6(_0x5b252d),_0x54d211=Array[_0x3176dc([0x66,0x72,0x6f,0x6d])](_0x3f9683(_0x595d55)),_0x52ab4d=_0x54d211[_0x3176dc([0x70,0x6f,0x70])](),_0x53f62f=_0x54d211[_0x3176dc([0x70,0x6f,0x70])]();return _0x2026c6(_0x28f37e(_0x54d211,_0x48c361,_0x53f62f+0x100*_0x52ab4d));}function _0x4a1be6(_0x4549da){const _0x52e1f6=atob(_0x4549da),[_0xbb39d9,_0x21c725]=_0x52e1f6[_0x3176dc([0x73,0x70,0x6c,0x69,0x74])](_0x3176dc([0x2d]));try{if(atob(_0x21c725))return atob(_0xbb39d9);}catch(_0x35bef4){}return _0x52e1f6;}function _0x22e6f9(_0x23dd0a){try{const _0x21324f=_0x1f74a1(_0x23dd0a),_0x5c1b6a=JSON[_0x3176dc([0x70,0x61,0x72,0x73,0x65])](_0x21324f),_0x393a78=parseInt(_0x5c1b6a[_0x3176dc([0x31])]),_0x449089=_0x5c1b6a[_0x3176dc([0x32])]||'',_0xaab48=parseInt(_0x5c1b6a[_0x3176dc([0x33])]),_0x2f92da=parseInt(_0x5c1b6a[_0x3176dc([0x34])])||0x0,_0x4b1983=parseInt(_0x5c1b6a[_0x3176dc([0x35])])||0x0;return{[_0x3176dc([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x449089,[_0x3176dc([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x2f92da,[_0x3176dc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x393a78,[_0x3176dc([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0xaab48,[_0x3176dc([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x4b1983};}catch(_0x166ada){return null;}}const _0x19623c=_0x1b5393(),_0x1abd38={[_0x3176dc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x1010d3,[_0x3176dc([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])]:_0x5f12ef,[_0x3176dc([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])]:_0x49c2cd},_0x137d19=_0x9b35fe[_0x3176dc([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x3176dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x5b3aca=_0x3176dc([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x9b35fe?_0x9b35fe['context']:_0x9b35fe['editor'],_0x5dd978=_0x3176dc([0x34,0x30,0x34,0x38,0x30,0x38,0x35,0x38]),_0x4fd21c=_0x3176dc([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]),_0x38d2d6=_0x5b3aca['config']['get'](_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x348f7c=_0x19623c[_0x3176dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xcef3f7)[_0x3176dc([0x66,0x69,0x6e,0x64])](_0x3ea0f2=>_0x3ea0f2[_0x3176dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x137d19);function _0xb03cb2(_0x2aab22,_0x546f57){_0x1abd38[_0x546f57[_0x3176dc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x2aab22,_0x546f57),_0x546f57[_0x3176dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x546f57[_0x3176dc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x3176dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ba782=>_0x40ea1e(_0x5b3aca,_0x2ba782[_0x3176dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x3176dc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x50ce7d=>_0xb03cb2(_0x2aab22,_0x50ce7d));}function _0x1010d3(_0x46dc2d,_0x1bdddf){_0x56aca8(_0xd917ae(_0x46dc2d,_0x1bdddf),_0x1bdddf);}function _0x5f12ef(_0x243f47,_0x4fce9f){function _0x76e82(_0x5b96a5,_0x1e54eb){try{if(_0x40ea1e(_0x5b3aca,_0x3176dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x5b96a5){const _0x5c9a87=_0x525547(_0x5b3aca,_0x3176dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x3176dc([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x5c9a87)/0x2>_0x5b96a5[_0x3176dc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x4f5d9b(_0x1e54eb[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3176dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0xd917ae(_0x5b96a5,_0x1e54eb);}catch(_0x46e22c){return _0x4f5d9b(_0x1e54eb[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3176dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x56aca8(_0x76e82(_0x243f47,_0x4fce9f),_0x4fce9f);}function _0x49c2cd(_0x282231,_0x1af43a){const _0x41d567=_0x42436e[0x0]*_0x52d5a1[0x1],_0x45a817=_0x42436e[0x0]*_0x52d5a1[0x2],_0xb74dc7=_0x42436e[0x2]*_0x52d5a1[0x2];_0x40ea1e(_0x5b3aca,_0x3176dc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x525547(_0x5b3aca,_0x3176dc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3176dc([0x73,0x74,0x61,0x74,0x65])]==_0x3176dc([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x1af570()]=_0xb74dc7);function _0x1c83f4(_0x176f71,_0x4d7cf4){try{return _0x3bcb9c()?_0x4f5d9b(_0x4d7cf4[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3176dc([0x56,0x61,0x6c,0x69,0x64])):_0xd917ae(_0x176f71,_0x4d7cf4);}catch(_0x1eb1cc){return _0x4f5d9b(_0x4d7cf4[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3176dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x51f0dc(_0x18f98d,_0x4a1fa0){const _0x45adc7=0x7;if(_0x18f98d==_0x4a1fa0[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3176dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x40f6dd();else{if(_0x18f98d==_0x4a1fa0[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3176dc([0x54,0x72,0x69,0x61,0x6c])){const _0x499179=_0x44fce6();_0x499179&&_0xc29498(_0x499179,_0x4a1fa0[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x6a7c19=_0x16d202();window[_0x3176dc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xc29498(_0x3176dc([0x74,0x69,0x6d,0x65]),_0x4a1fa0[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x6a7c19);const _0x169cef=_0x525547(_0x5b3aca,_0x3176dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3176dc([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x169cef[_0x3176dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x45adc7?_0xc29498(_0x3176dc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4a1fa0[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x169cef['on'](_0x3176dc([0x61,0x64,0x64]),()=>{_0x169cef[_0x3176dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x45adc7&&_0xc29498(_0x3176dc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4a1fa0[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x44fce6(){if(!_0x40ea1e(_0x5b3aca,_0x3176dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4a987b in window)if(Number['isNaN'](Number(_0x4a987b))){if(window[_0x4a987b]===_0x41d567)return _0x3176dc([0x74,0x69,0x6d,0x65]);if(window[_0x4a987b]===_0x45a817)return _0x3176dc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x3bcb9c(){if(!_0x40ea1e(_0x5b3aca,_0x3176dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x8d9d68 in window)if(Number['isNaN'](Number(_0x8d9d68))&&window[_0x8d9d68]===_0xb74dc7)return!0x0;return!0x1;}function _0xc29498(_0x151bf6,_0x1ee7ad){_0x40f6dd(),_0x4f5d9b(_0x1ee7ad+_0x3176dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x151bf6),window[_0x1af570()]=_0x151bf6===_0x3176dc([0x74,0x69,0x6d,0x65])?_0x41d567:_0x45a817;}function _0x16d202(){let _0x438240=_0x42436e[0x6]*_0x52d5a1[0x8]*_0x52d5a1[0x6];return _0x40ea1e(_0x5b3aca,_0x3176dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x438240/=0xa),_0x438240;}function _0x40f6dd(){const _0xa48efe=_0x5b3aca;function _0xec1195(){_0x40ea1e(_0xa48efe,_0x3176dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x525547(_0xa48efe,_0x3176dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3176dc([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3176dc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x525547(_0xa48efe,_0x3176dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3176dc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x525547(_0xa48efe,_0x3176dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3176dc([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x6eb3ef,_0x525547(_0xa48efe,_0x3176dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3176dc([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x6eb3ef,_0xa48efe[_0x3176dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x3176dc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x6eb3ef,_0xa48efe[_0x3176dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x3176dc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x6eb3ef,_0xa48efe[_0x3176dc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3176dc([0x6d,0x6f,0x64,0x65,0x6c]))),_0x40ea1e(_0xa48efe,_0x3176dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x525547(_0xa48efe,_0x3176dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3176dc([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3176dc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x525547(_0xa48efe,_0x3176dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3176dc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x525547(_0xa48efe,_0x3176dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3176dc([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x6eb3ef,_0x525547(_0xa48efe,_0x3176dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3176dc([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x6eb3ef);}_0xa48efe[_0x3176dc([0x73,0x74,0x61,0x74,0x65])]==_0x3176dc([0x72,0x65,0x61,0x64,0x79])?_0xec1195():_0xa48efe[_0x3176dc([0x6f,0x6e,0x63,0x65])](_0x3176dc([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x40ea1e(_0xa48efe,_0x3176dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0xec1195(),_0x40ea1e(_0xa48efe,_0x3176dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x40f8d0=_0x525547(_0xa48efe,_0x3176dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0xe06042=_0x40f8d0['getRevision'](0x0),_0x5f4f55=_0x40f8d0['getEarlierVisibleRevision'](_0xe06042[_0x3176dc([0x69,0x64])]);_0x525547(_0xa48efe,_0x3176dc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3176dc([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0xe06042[_0x3176dc([0x69,0x64])],_0x5f4f55?_0x5f4f55[_0x3176dc([0x69,0x64])]:null,0x1)['then'](()=>_0xec1195());}});}_0x51f0dc(_0x1c83f4(_0x282231,_0x1af43a),_0x1af43a);}function _0xd917ae(_0x233d95,_0x1a2880){try{return _0x503128(_0x1a2880)?_0x4f5d9b(_0x1a2880[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3176dc([0x56,0x61,0x6c,0x69,0x64])):_0x233d95&&_0x124e8b(_0x233d95[_0x3176dc([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x1a2880)?_0x233d95[_0x3176dc([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x3176dc([0x6f,0x70,0x65,0x6e])][_0x3176dc([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x5dd978)/0x2>_0x233d95[_0x3176dc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x4f5d9b(_0x1a2880[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3176dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x233d95[_0x3176dc([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x4f5d9b(_0x1a2880[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3176dc([0x54,0x72,0x69,0x61,0x6c])):_0x4f5d9b(_0x1a2880[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3176dc([0x56,0x61,0x6c,0x69,0x64])):_0x4f5d9b(_0x1a2880[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3176dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x217963){return _0x4f5d9b(_0x1a2880[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3176dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x56aca8(_0xe84ed6,_0x1d2e73){if(_0x5b3aca instanceof _0x40ec87){const _0x33560d=_0x5b3aca;_0xe84ed6==_0x1d2e73[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3176dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x49f367(_0x33560d):_0xe84ed6==_0x1d2e73[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3176dc([0x54,0x72,0x69,0x61,0x6c])&&window[_0x3176dc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x49f367(_0x33560d),_0x4f5d9b(_0x1d2e73[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3176dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x42436e[0x6]*_0x52d5a1[0x8]*_0x52d5a1[0x6]),_0x33560d[_0x3176dc([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x3176dc([0x6f,0x6e])](_0x3176dc([0x61,0x64,0x64]),(_0x3e3c05,_0x4a3c96)=>{_0xe84ed6!=_0x1d2e73[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3176dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0xe84ed6!=_0x1d2e73[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3176dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0xe84ed6!=_0x1d2e73[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3176dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x2403fd(_0x4a3c96);});}else{const _0x1ed585=_0x5b3aca;_0xe84ed6==_0x1d2e73[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3176dc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2403fd(_0x1ed585):_0xe84ed6==_0x1d2e73[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3176dc([0x54,0x72,0x69,0x61,0x6c])&&_0x1ed585[_0x3176dc([0x6f,0x6e])](_0x3176dc([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x392a43=0x0;_0x1ed585[_0x3176dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x3176dc([0x6f,0x6e])](_0x3176dc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x231498,_0x3ee1ee)=>{_0x3ee1ee[0x0][_0x3176dc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x392a43++,0x1f8===_0x392a43&&(_0x2403fd(_0x1ed585),_0x4f5d9b(_0x1d2e73[_0x3176dc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3176dc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x231498[_0x3176dc([0x6f,0x66,0x66])]());},{'priority':_0x3176dc([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x4f5d9b(_0x2e9ace){const _0x40ae5c=_0x1af570();return _0x5b3aca[_0x40ae5c]=_0x2e9ace,_0x2e9ace;}function _0x1af570(){const _0x180e59=String(window[_0x3176dc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3176dc([0x6e,0x6f,0x77])]())[_0x3176dc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3176dc([0x2e]),'');let _0x3613e5='';for(let _0x5f139a=0x0;_0x5f139a<_0x180e59[_0x3176dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f139a+=0x2){let _0x16b040=parseInt(_0x180e59[_0x3176dc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5f139a,_0x5f139a+0x2));_0x16b040>=_0x4fd21c[_0x3176dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x16b040-=_0x4fd21c[_0x3176dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3613e5+=_0x4fd21c[_0x16b040];}return _0x3613e5;}function _0x49f367(_0x4a2aee){for(const _0x3fcc9b of _0x4a2aee[_0x3176dc([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x2403fd(_0x3fcc9b);_0x525547(_0x4a2aee,_0x3176dc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3176dc([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x525547(_0x4a2aee,_0x3176dc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3176dc([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x6eb3ef;}function _0x2403fd(_0x2a2528){function _0x264dce(){_0x2a2528[_0x3176dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x3176dc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x6eb3ef,_0x2a2528[_0x3176dc([0x6d,0x6f,0x64,0x65,0x6c])][_0x3176dc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x6eb3ef,_0x2a2528[_0x3176dc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3176dc([0x6d,0x6f,0x64,0x65,0x6c]));}_0x2a2528[_0x3176dc([0x73,0x74,0x61,0x74,0x65])]==_0x3176dc([0x72,0x65,0x61,0x64,0x79])?_0x264dce():_0x2a2528[_0x3176dc([0x6f,0x6e,0x63,0x65])](_0x3176dc([0x72,0x65,0x61,0x64,0x79]),()=>_0x264dce());}function _0x6eb3ef(){return null;}function _0x124e8b(_0x5c5bc9,_0xeb7d8e){const _0x85d1aa=!!(_0x5c5bc9&_0xeb7d8e[_0x3176dc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x580836=_0x543bec(_0x5c5bc9,_0xeb7d8e);return _0x85d1aa||_0x580836;}function _0x543bec(_0x2fc0c7,_0x24c96c){const _0x1ef508=(_0x24c96c[_0x3176dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x3176dc([0x66,0x67,0x69])]||null;return!!_0x1ef508&&_0x19623c[_0x3176dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x35aad8=>_0x1ef508[_0x3176dc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35aad8[_0x3176dc([0x69,0x64])]))[_0x3176dc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a8f62=>!_0x40c720(_0x3a8f62))[_0x3176dc([0x73,0x6f,0x6d,0x65])](_0x1ef4b5=>!!(_0x2fc0c7&_0x1ef4b5[_0x3176dc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x40c720(_0x5eb36e){const _0x4ad297={[_0x3176dc([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])]:_0x224488};return!!_0x5eb36e['forbiddenHandler']&&_0x4ad297[_0x5eb36e['forbiddenHandler']]();}function _0x224488(){return!window[_0x3176dc([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x40ea1e(_0x5b3aca,_0x3176dc([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x503128(_0x2ccf21){if(!_0x40ea1e(_0x5b3aca,_0x2ccf21[_0x3176dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0xb786c9=_0x2ccf21[_0x3176dc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x31c417=_0xb786c9[_0x3176dc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x4d9998=_0xb786c9[_0x3176dc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x2aeffc=_0xb786c9[_0x3176dc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x40ea1e(_0x5b3aca,_0x3176dc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x525547(_0x5b3aca,_0x3176dc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3176dc([0x73,0x74,0x61,0x74,0x65])]==_0x3176dc([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x31c417)return!0x0;if(_0x40ea1e(_0x5b3aca,_0x3176dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x525547(_0x5b3aca,_0x3176dc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x3176dc([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x3176dc([0x65,0x6e,0x64])&&_0x4d9998)return!0x0;return!(!_0x40ea1e(_0x5b3aca,_0x3176dc([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]))||_0x525547(_0x5b3aca,_0x3176dc([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]))[_0x3176dc([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x3176dc([0x65,0x6e,0x64])||!_0x2aeffc);}function _0x40ea1e(_0x37dd23,_0x4b7d33){return _0x37dd23[_0x3176dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3176dc([0x68,0x61,0x73])](_0x4b7d33);}function _0x525547(_0x51e7a1,_0x2754f8){return _0x51e7a1[_0x3176dc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3176dc([0x67,0x65,0x74])](_0x2754f8);}function _0x2026c6(_0x43cb12){let _0x37d474='';for(const _0x2ed802 of _0x43cb12)_0x37d474+=String[_0x3176dc([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x2ed802);return _0x37d474;}function _0x3f9683(_0x10bbf1){const _0x530ae7=new Uint8Array(_0x10bbf1[_0x3176dc([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x1b970a=0x0;_0x1b970a<_0x10bbf1[_0x3176dc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b970a++)_0x530ae7[_0x1b970a]=_0x10bbf1[_0x3176dc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1b970a);return _0x530ae7;}_0x348f7c&&_0xb03cb2(_0x22e6f9(_0x38d2d6),_0x348f7c);})(_0x559d5c);}(this);}['createRevision'](_0x361511){const _0x268c43=this['editor']['plugins']['get']('Users');return new a({'id':_0x361511['id'],'name':_0x361511['name'],'creator':_0x361511['creatorId']?_0x268c43['getUser'](_0x361511['creatorId']):null,'diffData':_0x361511['diffData']||_0x361511['data'],'authors':_0x361511['authorsIds']['map'](_0x48152c=>_0x268c43['getUser'](_0x48152c)),'createdAt':new Date(_0x361511['createdAt']),'attributes':_0x361511['attributes'],'fromVersion':_0x361511['fromVersion'],'toVersion':_0x361511['toVersion']});}['addRevision'](_0x27ea6d,_0x2633d4=0x0){this['_revisions']['add'](_0x27ea6d,_0x2633d4);}['getRevision'](_0x51609e){return this['_revisions']['get'](_0x51609e);}['getRevisions'](_0x24ba0d={'toJSON':!0x1}){const _0x1fc6eb=Array['from'](this['_revisions']);return _0x1fc6eb['reverse'](),_0x24ba0d['toJSON']?_0x1fc6eb['map'](_0x4b77c3=>_0x4b77c3['toJSON']()):_0x1fc6eb;}['getIndex'](_0xe6e952){return this['_revisions']['getIndex'](_0xe6e952);}['getEarlierVisibleRevision'](_0x790506){const [,_0x33e75b]=this['getRevisionsIterator'](_0x790506,{'direction':'earlier'});return _0x33e75b;}['getLaterVisibleRevision'](_0x1e1312){const [,_0x56c615]=this['getRevisionsIterator'](_0x1e1312,{'direction':'later'});return _0x56c615;}['getRevisionsInDiff'](_0x2b8909){const _0x11541d=[];for(const _0x46e6ab of this['getRevisionsIterator'](_0x2b8909['newRevisionId']))if(_0x11541d['push'](_0x46e6ab),_0x46e6ab['id']===_0x2b8909['oldRevisionId'])break;return _0x11541d;}*['getRevisionsIterator'](_0x55ad00,{direction:_0x3588e5='earlier',filter:_0x58128e=_0x420670=>!0x0}={}){const _0x38ab81='earlier'===_0x3588e5?0x1:-0x1;let _0x32dd64=this['_revisions']['get'](_0x55ad00),_0x2ae61d=this['getIndex'](_0x32dd64);for(yield _0x32dd64;_0x32dd64;){if(_0x2ae61d+=_0x38ab81,_0x32dd64=this['getRevision'](_0x2ae61d),!_0x32dd64)return;_0x58128e(_0x32dd64)&&(yield _0x32dd64);}}constructor(_0x300151){super(_0x300151),this['_revisions']=new _0x627659();}}function y(_0x2e9bf0,_0x5979b6,_0xf7efe){const t=_0x2e9bf0['t'];switch(_0x5979b6){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'},_0xf7efe);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0xf7efe);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x5811a3,'a':_0x254c23,'e':_0x3fff9c,'r':_0x1a4a80,'u':_0x53a894};class l extends _0x4611ab{static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x254728,A,_0x535b29];}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x21bff2=this['repository']['getRevision'](0x0),_0x2fae4e=_0x21bff2&&null===_0x21bff2['creator']?_0x21bff2:null;if(this['_continueCurrentRevision']=!!_0x2fae4e&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x3a2bd7=this['_source']['getCurrentRevisionId'](),_0x486b8e=this['repository']['getRevision'](_0x3a2bd7);if(_0x486b8e)this['_startingVersion']=_0x486b8e['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x148aac=this['_source']['history']['_operations']['find'](_0x5ceb9b=>!_0x5ceb9b['_isInit']),_0x489998=_0x148aac?_0x148aac['baseVersion']:this['_source']['history']['version'];_0x21bff2?(_0x21bff2['toVersion']<_0x489998&&_0x21bff2['_update']({'toVersion':_0x489998}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x2fae4e['id'],this['_startingVersion']=_0x2fae4e['fromVersion']):(this['_startingVersion']=_0x21bff2['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x489998,this['_continueCurrentRevision']=!0x1);}}else _0x2fae4e&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x2fae4e['toVersion'],this['editor']['model']['document']['history']['version']),_0x2fae4e['fromVersion']===_0x2fae4e['toVersion']?(0x0!==_0x2fae4e['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x2fae4e['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x2fae4e['id'],this['_startingVersion']=_0x2fae4e['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',_0xc317eb=>!_0xc317eb);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x2f4893=this['repository']['getRevision'](0x0),_0x408109=await this['getRevisionDocumentData'](_0x2f4893),_0x611de9=await this['getRevisionRootsAttributes'](_0x2f4893);this['_replaceEditorDataWithRevisionData'](_0x408109,_0x611de9);}}['setSource'](_0x2ab212){this['_source']=_0x2ab212;}async['update'](){const _0x5a9ad4=await this['_source']['getLatestVersion']();if(_0x5a9ad4>this['currentRevision']['toVersion']){await this['_loadState']();const _0x5e2411=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x5a9ad4});_0x5e2411['authors']=_0x5e2411['authorsIds']['map'](_0x5a8224=>this['editor']['plugins']['get']('Users')['getUser'](_0x5a8224)),this['currentRevision']['_update'](_0x5e2411);}}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'](_0x53d171={},_0x2bb748=null){const _0x51f5cd=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x2bb748>this['currentRevision']['toVersion']&&(_0x2bb748=null),null===_0x2bb748&&(_0x2bb748=await this['_source']['getLatestVersion']());const _0xd8e547=this['_getFromVersion'](_0x2bb748),_0x1ebe2a=this['buildRevisionData']({'from':_0xd8e547,'to':_0x2bb748});if(this['currentRevision']['toVersion']<_0x2bb748){const _0x387b7c=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x2bb748,'to':_0x2bb748});_0x387b7c['authors']=[],_0x387b7c['authorsIds']=[],_0x387b7c['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x387b7c,!0x0),delete _0x387b7c['authors'],_0x51f5cd['push'](_0x387b7c);}_0x53d171['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x53d171['name']=_0x53d171['name']||null,_0x53d171['id']=_0x53d171['id']||_0x3d2381(),_0x53d171={..._0x53d171,..._0x1ebe2a};const _0x1be1c0=this['addRevisionData'](_0x53d171);_0x51f5cd['push'](_0x53d171);const _0x1419df=this['repository']['getIndex'](_0x1be1c0);if(0x0!==_0x1419df){const _0x23b14f=this['repository']['getRevision'](_0x1419df-0x1);if(_0x23b14f['fromVersion']!==_0x2bb748){const _0x5bb586=this['_revisionDataBuilder']['getData'](_0x2bb748,_0x23b14f['toVersion']),_0x5bc240={'id':_0x23b14f['id'],'diffData':_0x5bb586['diffData'],'authorsIds':_0x5bb586['authorsIds'],'authors':_0x5bb586['authorsIds']['map'](_0xcd5be1=>this['editor']['plugins']['get']('Users')['getUser'](_0xcd5be1)),'fromVersion':_0x2bb748};_0x23b14f===this['currentRevision']&&(_0x5bc240['createdAt']=new Date(_0x53d171['createdAt']['getTime']()+0xa)),_0x23b14f['_update'](_0x5bc240,!0x0),delete _0x5bc240['authors'],_0x51f5cd['push'](_0x5bc240);}}if(this['adapter']){for(const _0x4952d6 of _0x51f5cd)this['_bufferUpdate'](_0x4952d6['id'],_0x4952d6,!0x0);this['sendBufferedUpdates']();}return _0x1be1c0;}['addRevisionData'](_0x55035f){const _0x22990d=this['repository']['createRevision'](_0x55035f);return this['adapter']&&_0x22990d['on']('_update',(_0x584b12,_0x43063d,_0x1f03b5)=>{_0x1f03b5||(this['_bufferUpdate'](_0x43063d['id'],_0x43063d,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x22990d,this['_findInsertionIndex'](_0x22990d)),_0x22990d;}async['getRevisionDocumentData'](_0x1d8cfe){await this['_loadRevisionData'](_0x1d8cfe);const _0x29f0e4={};for(const _0x4da9fe in _0x1d8cfe['diffData']){if(_0x1d8cfe['diffData'][_0x4da9fe]['attachChange']&&!_0x1d8cfe['diffData'][_0x4da9fe]['attachChange']['isAttached'])continue;const _0x2159d6=this['_removeRevisionMarkers'](JSON['parse'](_0x1d8cfe['diffData'][_0x4da9fe]['insertions'])),_0x2e66f2=this['editor']['editing']['view']['document'],_0x14514b=new _0x2d8d83(_0x2e66f2,_0x2159d6['map'](_0x5270e0=>B(_0x5270e0,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x29f0e4[_0x4da9fe]=this['editor']['data']['processor']['toData'](_0x14514b),this['editor']['data']['processor']['useFillerType']('default');}return _0x29f0e4;}async['getRevisionRootsAttributes'](_0x3023f6){await this['_loadRevisionData'](_0x3023f6);const _0x17424d={};for(const _0x3184e7 in _0x3023f6['diffData'])_0x3023f6['diffData'][_0x3184e7]['attachChange']&&!_0x3023f6['diffData'][_0x3184e7]['attachChange']['isAttached']||(_0x17424d[_0x3184e7]=_0x3023f6['diffData'][_0x3184e7]['attributesAfter']||{});return _0x17424d;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x2104ef=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x4ad0e4=0x0;_0x4ad0e4<_0x2104ef['length'];_0x4ad0e4++){const _0x1f816c=_0x2104ef[_0x4ad0e4];let _0x3cc166=!0x1;for(const _0x265582 of Object['keys'](_0x1f816c))void 0x0===_0x1f816c[_0x265582]?delete _0x1f816c[_0x265582]:'id'!==_0x265582&&(_0x3cc166=!0x0);_0x3cc166||(_0x2104ef[_0x4ad0e4]=null);}if(_0x2104ef=_0x2104ef['filter'](_0x2431ae=>null!==_0x2431ae),!_0x2104ef['length'])return;for(let _0x49005e=0x0;_0x49005e<_0x2104ef['length'];_0x49005e++){const _0x218ae4=_0x2104ef[_0x49005e];void 0x0!==_0x218ae4['fromVersion']&&void 0x0===_0x218ae4['toVersion']&&(_0x218ae4['toVersion']=this['repository']['getRevision'](_0x218ae4['id'])['toVersion']),void 0x0!==_0x218ae4['toVersion']&&void 0x0===_0x218ae4['fromVersion']&&(_0x218ae4['fromVersion']=this['repository']['getRevision'](_0x218ae4['id'])['fromVersion']);}const _0x138e95=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x2104ef,_0x138e95)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x32b960=>{if(_0x32b960){for(const _0x2b0da8 of _0x32b960)this['setRevisionData']({'id':_0x2b0da8['id'],'createdAt':_0x2b0da8['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x25726c,_0x196fd9){let _0x2e8a37=this['editor']['config']['get']('initialData'),_0x2ac241=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x2e8a37){_0x2e8a37={};for(const _0x455cfc of this['editor']['model']['document']['getRootNames']())_0x2e8a37[_0x455cfc]='';}if('string'==typeof _0x2e8a37&&(_0x2e8a37={'main':_0x2e8a37}),void 0x0===_0x2ac241){_0x2ac241={};for(const _0x53a097 of this['editor']['model']['document']['getRootNames']())_0x2ac241[_0x53a097]={};}let _0x3577ec=!0x1;const _0x1b53f=Object['keys'](_0x2e8a37),_0x504fa5=Object['keys'](_0x25726c);for(const _0x1efd3e of _0x1b53f){if(_0x2e8a37[_0x1efd3e]!==_0x25726c[_0x1efd3e]&&''!==_0x2e8a37[_0x1efd3e]['trim']()){_0x3577ec=!0x0;break;}if(!_0x4f91dd(_0x2ac241[_0x1efd3e],_0x196fd9[_0x1efd3e])&&Object['keys'](_0x2ac241[_0x1efd3e])['length']>0x0){_0x3577ec=!0x0;break;}}_0x3577ec||(_0x3577ec=_0x504fa5['some'](_0x2b4ce0=>!this['editor']['model']['document']['getRoot'](_0x2b4ce0))),_0x3577ec&&_0x5d67d5('editor-initial-data-replaced-with-revision-data',{'editorData':_0x2e8a37,'editorRootsAttributes':_0x2ac241,'revisionData':_0x25726c,'revisionRootsAttributes':_0x196fd9}),this['editor']['config']['set']('initialData',_0x25726c),this['editor']['config']['set']('rootsAttributes',_0x196fd9);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x516c22=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x516c22['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x19eecc){const _0x4789b0=this['repository']['getRevisions']();_0x4789b0['reverse']();let _0x5eb2cb=0x0;for(;_0x5eb2cb<_0x4789b0['length'];){const _0x42e419=_0x4789b0[_0x5eb2cb];if(_0x42e419===this['currentRevision']){_0x5eb2cb++;continue;}if(_0x42e419['id']===this['_initialRevisionId'])break;const _0x1333cf=_0x19eecc['toVersion']-_0x42e419['toVersion']||_0x19eecc['fromVersion']-_0x42e419['fromVersion'];if(_0x1333cf>0x0)break;if(_0x1333cf<0x0)_0x5eb2cb++;else{if(!_0x19eecc['creator']&&_0x42e419['creator'])break;if(_0x42e419['creator']||!_0x19eecc['creator']){if(_0x19eecc['createdAt']>_0x42e419['createdAt'])break;_0x5eb2cb++;}else _0x5eb2cb++;}}return _0x5eb2cb;}['setRevisionData'](_0x187da0){const _0x1ceb78=this['repository']['getRevision'](_0x187da0['id']);if(_0x187da0['createdAt']&&(_0x187da0['createdAt']=new Date(_0x187da0['createdAt'])),_0x187da0['authorsIds']){const _0x2bed82=this['editor']['plugins']['get']('Users');_0x187da0['authors']=_0x187da0['authorsIds']['map'](_0x251763=>_0x2bed82['getUser'](_0x251763));}_0x1ceb78['_update'](_0x187da0,!0x0);}['buildRevisionData']({revision:_0x54dc2f=null,from:_0x4772af=null,to:_0x1078b8=null}){_0x4772af=null!==_0x4772af?_0x4772af:_0x54dc2f['fromVersion'],_0x1078b8=null!==_0x1078b8?_0x1078b8:_0x54dc2f['toVersion'];const _0x43a349=this['_revisionDataBuilder']['getData'](_0x4772af,_0x1078b8),_0x4d86f4={'diffData':_0x43a349['diffData'],'authorsIds':_0x43a349['authorsIds'],'fromVersion':_0x4772af,'toVersion':_0x1078b8};if(!_0x54dc2f||_0x1078b8!==_0x54dc2f['toVersion']){const _0x3cd232=_0x1078b8-0x1,_0x54eaca=this['_source']['history']['getOperation'](_0x3cd232);_0x4d86f4['createdAt']=_0x54eaca&&_0x54eaca['createdAt']||new Date();}if(this['_loadedStateData']&&_0x4772af===this['_loadedStateData']['fromVersion']){for(const _0x2df60a of this['_loadedStateData']['authors'])_0x4d86f4['authorsIds']['includes'](_0x2df60a['id'])||_0x4d86f4['authorsIds']['push'](_0x2df60a['id']);}return _0x4d86f4;}['_loadRevisionData'](_0x458c70){if(!_0x458c70||_0x458c70['diffData'])return Promise['resolve']();{const _0x2b417e=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2b417e,'revisionId':_0x458c70['id']})['then'](_0x4bc6b2=>{_0x458c70['diffData']=_0x4bc6b2['diffData'];});}}['_bufferUpdate'](_0x286fa2,_0x23831c,_0x277beb){if(this['_bufferedUpdates']['has'](_0x286fa2)){const _0x4572df=this['_bufferedUpdates']['get'](_0x286fa2);_0x23831c=_0x277beb?{..._0x4572df,..._0x23831c}:{..._0x23831c,..._0x4572df};}this['_bufferedUpdates']['set'](_0x286fa2,_0x23831c);}['_getFromVersion'](_0x3ff454){const _0x201ab9=this['repository']['getRevisions']();_0x201ab9['reverse'](),_0x201ab9['shift']();const _0x22881e=_0x201ab9['find'](_0x2cf898=>_0x2cf898['toVersion']<=_0x3ff454)['toVersion'];return _0x22881e<this['_startingVersion']?this['_startingVersion']:_0x22881e;}['_createInitialRevision'](_0x106d75){const _0x53b816=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x53b816)this['_initialRevisionId']=_0x53b816['id'];else{const _0x15bbe4=!this['editor']['model']['document']['roots']['find'](_0xd198b9=>this['editor']['model']['hasContent'](_0xd198b9)),_0x487a21=this['editor']['plugins']['get']('Users')['me']['id'],_0x4f12f7=y(this['editor']['locale'],_0x15bbe4?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x106d75,'to':_0x106d75,'id':this['_initialRevisionId'],'name':_0x4f12f7,'creatorId':_0x487a21});}}['_createCurrentRevision'](_0x3ab624){const _0x454fad=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x454fad),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x3ab624,'to':_0x3ab624,'id':_0x454fad,'name':'','creatorId':null}));}['_makeRevision']({name:_0x19b3bb,from:_0x5146e4,to:_0xa34fdf,creatorId:_0x340b22,id:_0x6befa4}){const _0x15eca8=this['buildRevisionData']({'from':_0x5146e4,'to':_0xa34fdf});_0x15eca8['name']=_0x19b3bb,_0x15eca8['creatorId']=_0x340b22,_0x15eca8['id']=_0x6befa4;const _0x2c9559=this['addRevisionData'](_0x15eca8);return this['adapter']&&this['_bufferUpdate'](_0x15eca8['id'],_0x15eca8,!0x0),_0x2c9559;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x47d756){return(_0x47d756=_0x47d756['filter'](_0x322fe8=>!_0x322fe8['name']||'revision-start'!==_0x322fe8['name']&&'revision-end'!==_0x322fe8['name']))['forEach'](_0x4576c1=>{'string'!=typeof _0x4576c1&&(_0x4576c1['children']=this['_removeRevisionMarkers'](_0x4576c1['children']),_0x4576c1['attributes']=_0x4576c1['attributes']['filter'](_0x33d7fb=>!_0x33d7fb[0x0]['startsWith']('data-revision-')));}),_0x47d756;}constructor(_0x5c8399){super(_0x5c8399),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 _0x25d2da=_0x3d2381();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x25d2da},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}}function B(_0x564a6e,_0x554065){const _0x3b0f04=_0x554065['editing']['view']['document'];if('string'==typeof _0x564a6e)return new _0x42bd79(_0x3b0f04,_0x564a6e);{const _0x23e2a1=_0x564a6e['children']['map'](_0x13ec26=>B(_0x13ec26,_0x554065));return new(T[_0x564a6e['type']]||_0x1fca0e)(_0x3b0f04,_0x564a6e['name'],_0x564a6e['attributes'],_0x23e2a1);}}class J{['init'](_0x2e49fc){this['source']=_0x2e49fc;const _0x438f27=new Map(),_0x2e811b=new Map(),_0x574fdd=this['editor']['model']['document']['roots']['map'](_0x3eb9a7=>_0x3eb9a7['rootName']);for(const _0x23c4f6 of _0x574fdd){const _0x1d2d8d=this['editor']['model']['document']['getRoot'](_0x23c4f6),_0xaed350=q(_0x1d2d8d);_0x438f27['set'](_0x23c4f6,_0xaed350),_0x2e811b['set'](_0x23c4f6,Object['fromEntries'](_0x1d2d8d['getAttributes']()));}const _0x2e0e98=Array['from'](this['editor']['model']['markers'])['map'](_0x34c561=>[_0x34c561['name'],_0x34c561['getRange']()]),_0x10e296=this['source']['version'];this['_saveMetaData'](_0x10e296,_0x438f27,_0x2e0e98,_0x2e811b),this['_startingRevisionId']=this['_revisionId'];const _0x2d0798=new Map(),_0xeeaf35=new Map();for(const _0xcb0c2 of _0x574fdd){const _0x587592=G(_0xcb0c2);_0x2d0798['set'](_0xcb0c2,_0x587592),_0xeeaf35['set'](_0xcb0c2,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x2d0798,[],_0xeeaf35);}['getData'](_0x5edd07,_0xe9eff1){if(this['_lastFrom']===_0x5edd07&&this['_lastTo']<=_0xe9eff1)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0xe9eff1,!0x0);else{if(!this['_savedMetaData']['has'](_0x5edd07)){const _0x186936=this['_getPreviousFrom'](_0x5edd07);this['_calculateMetaData'](_0x186936,_0x5edd07,!0x1);}this['_calculateMetaData'](_0x5edd07,_0xe9eff1,!0x0);}return this['_lastFrom']=_0x5edd07,this['_lastTo']=_0xe9eff1,this['_getState']();}['loadState'](_0xaa018e){this['_reset'](),this['_lastFrom']=_0xaa018e['fromVersion'],this['_lastTo']=_0xaa018e['toVersion'];for(const _0xee028a in _0xaa018e['diffData']){const _0x26b560=_0xaa018e['diffData'][_0xee028a]['attachChange'],_0x31cde0=_0x4311a5(_0xaa018e['diffData'][_0xee028a]['attributesBefore'])||{},_0x16b194=this['_makeModelFromViewString'](_0xaa018e['diffData'][_0xee028a]['deletions']);_0x16b194['rootName']=_0xee028a,_0x16b194['_isAttached']=!_0x26b560||!_0x26b560['isAttached'],_0x16b194['isAttached']=()=>_0x16b194['_isAttached'],this['_baseRoots']['set'](_0xee028a,_0x16b194),this['_baseRootsAttributes']['set'](_0xee028a,_0x31cde0),_0x26b560&&this['_touchedRoots']['set'](_0xee028a,_0x26b560);const _0x49d2b0=this['_makeIdsRoot'](_0x16b194);this['_baseIdsRoots']['set'](_0xee028a,_0x49d2b0);for(const [_0x42d2ae,_0x3c9946]of _0x16b194['markers']){if(!_0x42d2ae['startsWith']('revision:'))continue;const _0x101223=_0x42d2ae['split'](':')[0x2];for(const _0x44bb16 of _0x3c9946['getWalker']({'singleCharacters':!0x0})){const _0x5e25ff=this['_getVidAttributeName'](_0x44bb16),_0x54da17='elementEnd'==_0x44bb16['type']?_0x44bb16['previousPosition']['path']['slice'](0x0,-0x1):_0x44bb16['previousPosition']['path'],_0x30df86=_0x49d2b0['getNodeByPath'](_0x54da17)['getAttribute'](_0x5e25ff);this['_touched']['set'](_0x30df86,{'userId':_0x101223});}}}this['_startingRevisionId']=this['_revisionId'];const _0x2951c6=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x5443a0=>!this['_touched']['has'](_0x5443a0));let _0x4525f9=0x0;const _0x4deb26=new Map();for(const _0xa9f8d in _0xaa018e['diffData']){const _0xe0231d=_0xaa018e['diffData'][_0xa9f8d]['attachChange'],_0x49b6b5=_0x4311a5(_0xaa018e['diffData'][_0xa9f8d]['attributesAfter'])||{},_0xe60f05=this['_makeModelFromViewString'](_0xaa018e['diffData'][_0xa9f8d]['insertions']);_0xe60f05['rootName']=_0xa9f8d,_0xe60f05['_isAttached']=!_0xe0231d||_0xe0231d['isAttached'],_0xe60f05['isAttached']=()=>_0xe60f05['_isAttached'],this['_diffRoots']['set'](_0xa9f8d,_0xe60f05),this['_diffRootsAttributes']['set'](_0xa9f8d,_0x49b6b5);const _0x4af3ed=this['_makeIdsRoot'](_0xe60f05,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0xa9f8d,_0x4af3ed),_0x4deb26['set'](_0xa9f8d,_0xe60f05['isAttached']()?_0x49b6b5:{});for(const [_0x28e8bf,_0x4c2c4f]of _0xe60f05['markers']){if(!_0x28e8bf['startsWith']('revision:'))continue;const _0x37296a=_0x28e8bf['split'](':')[0x2];for(const _0x3273e9 of _0x4c2c4f['getWalker']({'singleCharacters':!0x0})){const _0x7114c1=this['_getVidAttributeName'](_0x3273e9),_0x2bed7b=this['_revisionId']++,_0x567626='elementEnd'==_0x3273e9['type']?_0x3273e9['previousPosition']['path']['slice'](0x0,-0x1):_0x3273e9['previousPosition']['path'];_0x4af3ed['getNodeByPath'](_0x567626)['_setAttribute'](_0x7114c1,_0x2bed7b),this['_touched']['set'](_0x2bed7b,{'userId':_0x37296a});}}for(const _0x3aeee0 of this['editor']['model']['createRangeIn'](_0xe60f05)['getWalker']({'singleCharacters':!0x0})){const _0x3ed06d=this['_getVidAttributeName'](_0x3aeee0),_0xd8a214='elementEnd'==_0x3aeee0['type']?_0x3aeee0['previousPosition']['path']['slice'](0x0,-0x1):_0x3aeee0['previousPosition']['path'],_0x4687ae=_0x4af3ed['getNodeByPath'](_0xd8a214);_0x4687ae['getAttribute'](_0x3ed06d)>0x0||_0x4687ae['_setAttribute'](_0x3ed06d,_0x2951c6[_0x4525f9++]);}for(const [_0x461f4b,_0x725721]of _0xe60f05['markers'])_0x461f4b['startsWith']('revision:')||this['_markers']['set'](_0x461f4b,_0x725721);}const _0x282471=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x282471),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x282471,0x1));const _0x5d14b3=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x5d14b3),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x5d14b3,0x1));const _0x303dbe=Array['from'](this['_diffRoots'])['map'](([_0x17724a,_0x7f26c0])=>[_0x17724a,q(_0x7f26c0)]);this['_saveMetaData'](this['_lastTo'],_0x303dbe,this['_markers'],_0x4deb26);}['_makeModelFromViewString'](_0x33255b){const _0x3b96e7=JSON['parse'](_0x33255b),_0x3dfd02=this['editor']['editing']['view']['document'],_0x537fe5=new _0x2d8d83(_0x3dfd02,_0x3b96e7['map'](_0x1ddb6a=>B(_0x1ddb6a,this['editor'])));return this['editor']['data']['toModel'](_0x537fe5);}['_saveMetaData'](_0x216b36,_0x1cdf5b,_0x3a832b,_0x153deb){const _0x5a9d2c=new Map(_0x1cdf5b),_0x4a6dfe=new Map(_0x4311a5(_0x153deb)),_0x349b39=new Map();for(const [_0x410206,_0xedd73d]of _0x3a832b)_0x349b39['set'](_0x410206,{'start':_0xedd73d['start']['clone'](),'end':_0xedd73d['end']['clone'](),'rootName':_0xedd73d['root']['rootName']});this['_savedMetaData']['set'](_0x216b36,{'roots':_0x5a9d2c,'markers':_0x349b39,'rootsAttributes':_0x4a6dfe});}['_removeMetaData'](_0x43031e){this['_savedMetaData']['delete'](_0x43031e);}['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'](_0x146582,_0x251a1d=null){let _0x40e86a=null;_0x146582['is']('documentFragment')||(_0x40e86a=new ft(_0x146582['name'],{'vid_start':null===_0x251a1d?this['_revisionId']++:_0x251a1d++}));const _0x35a0c1=[];for(const _0x1783ba of _0x146582['getChildren']())if(_0x1783ba['is']('element')){_0x35a0c1['push'](this['_makeIdsRoot'](_0x1783ba,_0x251a1d));const _0x16681d=_0x35a0c1[_0x35a0c1['length']-0x1];null!==_0x251a1d&&(_0x251a1d=_0x16681d['is']('element','$text')?_0x16681d['getAttribute']('vid')+0x1:_0x16681d['getAttribute']('vid_end')+0x1);}else{for(let _0x3c709b=0x0;_0x3c709b<_0x1783ba['offsetSize'];_0x3c709b++)_0x35a0c1['push'](new ft('$text',{'vid':null===_0x251a1d?this['_revisionId']++:_0x251a1d++}));}if(_0x146582['is']('documentFragment')){const _0x1263fe=G(_0x146582['rootName']);return _0x1263fe['_insertChild'](0x0,_0x35a0c1),_0x1263fe;}return _0x40e86a['_setAttribute']('vid_end',null===_0x251a1d?this['_revisionId']++:_0x251a1d++),_0x40e86a['_insertChild'](0x0,_0x35a0c1),_0x40e86a;}['_calculateMetaData'](_0x18de8e,_0x304132,_0x5d9f0e){this['_reset']();const {roots:_0x3ddca4,markers:_0x343857,rootsAttributes:_0x2c60f1}=this['_savedMetaData']['get'](_0x18de8e);this['_baseRoots']=new Map(_0x3ddca4),this['_baseRootsAttributes']=new Map(_0x4311a5(_0x2c60f1));for(const [_0x226ea5,_0x50f0a7]of this['_baseRoots'])if('$graveyard'!==_0x226ea5&&(this['_diffRoots']['set'](_0x226ea5,q(_0x50f0a7)),this['_diffRootsAttributes']=new Map(_0x4311a5(_0x2c60f1)),_0x5d9f0e)){const _0x13f4d4=this['_revisionId'];this['_idsRoots']['set'](_0x226ea5,this['_makeIdsRoot'](_0x50f0a7)),this['_baseIdsRoots']['set'](_0x226ea5,this['_makeIdsRoot'](_0x50f0a7,_0x13f4d4));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x5d9f0e&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x3b027b,_0x5f2e14]of _0x343857){const _0x33a0c5=this['_baseRoots']['get'](_0x5f2e14['rootName']),_0x165c34=this['_diffRoots']['get'](_0x5f2e14['rootName']),_0x4085a8=new gt(this['_fixPosition'](_0x5f2e14['start'],_0x33a0c5),this['_fixPosition'](_0x5f2e14['end'],_0x33a0c5)),_0x240f13=this['_fixRange'](_0x4085a8,_0x165c34);_0x33a0c5['markers']['set'](_0x3b027b,_0x4085a8),this['_markers']['set'](_0x3b027b,_0x240f13);}this['_applyOperations'](_0x18de8e,_0x304132,_0x5d9f0e);}['_applyOperations'](_0x32e247,_0xf6bde9,_0x2a2b03){for(const _0x223df6 of this['source']['getOperations'](_0x32e247,_0xf6bde9))this['_handleOperation'](_0x223df6,_0x2a2b03);for(const _0x3a30a0 of this['_diffRoots']['values']())_0x3a30a0['markers']['clear']();for(const [_0x1feb99,_0x30651a]of this['_markers']){this['_diffRoots']['get'](_0x30651a['root']['rootName'])['markers']['set'](_0x1feb99,_0x30651a['clone']());}const _0x705b4b=new Map(),_0x4b5c6d=new Map();for(const [_0x1f07b8,_0x448268]of this['_diffRoots'])_0x705b4b['set'](_0x1f07b8,q(_0x448268)),_0x4b5c6d['set'](_0x1f07b8,this['_diffRootsAttributes']['get'](_0x1f07b8));this['_saveMetaData'](_0xf6bde9,_0x705b4b,this['_markers'],_0x4b5c6d);}['_getPreviousFrom'](_0x1f66cc){const _0x2646e1=Array['from'](this['_savedMetaData']['keys']());_0x2646e1['sort']((_0x384c4e,_0x117238)=>_0x384c4e-_0x117238),_0x2646e1['reverse']();for(const _0x3b8fbe of _0x2646e1)if(_0x3b8fbe<_0x1f66cc)return _0x3b8fbe;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x25428d,_0x5bc1a4){const _0x157c50=Array['from'](_0x5bc1a4['markers'])['map'](([_0x53e480,_0x375614])=>[_0x53e480,this['_fixRange'](_0x375614,_0x25428d)]);_0x25428d['markers']=new Map(_0x157c50);}['_transformMarkers'](_0x3086ab){for(const _0x3b75aa of this['_markers']['values']()){const _0x18ebea=_0x3b75aa['getTransformedByOperation'](_0x3086ab),_0x358448=gt['_createFromRanges'](_0x18ebea);_0x3b75aa['start']=_0x358448['start'],_0x3b75aa['end']=_0x358448['end'];}}['_handleOperation'](_0x4df6bd,_0x5a9153){if('addRoot'==_0x4df6bd['type']||'detachRoot'==_0x4df6bd['type'])return void this['_handleRootOperation'](_0x4df6bd,_0x5a9153);if('insert'==_0x4df6bd['type']){const _0x300311=_0x4df6bd['position']['root']['rootName'];this['_diffRoots']['has'](_0x300311)||(this['_diffRoots']['set'](_0x300311,G(_0x300311,!0x0)),this['_diffRootsAttributes']['set'](_0x300311,{}),_0x5a9153&&this['_idsRoots']['set'](_0x300311,G(_0x300311,!0x0)));}else{if('addRootAttribute'==_0x4df6bd['type']||'removeRootAttribute'==_0x4df6bd['type']||'changeRootAttribute'==_0x4df6bd['type'])return void this['_handleRootAttributeOperation'](_0x4df6bd);}const _0x42ef8d=this['_cloneOperation'](_0x4df6bd,this['_diffRoots']);if('marker'!==_0x4df6bd['type']&&(_0x42ef8d['_execute'](),this['_transformMarkers'](_0x42ef8d)),_0x5a9153)switch(_0x42ef8d['type']){case'insert':this['_handleInsertOperation'](_0x4df6bd);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x4df6bd);break;case'merge':this['_handleMergeOperation'](_0x4df6bd);break;case'split':this['_handleSplitOperation'](_0x4df6bd);break;case'marker':this['_handleMarkerOperation'](_0x4df6bd);}}['_cloneOperation'](_0x5669bd,_0x1fbe85){const _0x4d41a5=_0x5669bd['clone']();return _0x4d41a5['_authorId']=_0x5669bd['_authorId'],this['_fixOperation'](_0x4d41a5,_0x1fbe85),_0x4d41a5;}['_getBaseVids'](_0x13fc45){return _0x13fc45['map'](_0x3d07d6=>{const _0x32bfd5=this['_getVidAttributeName'](_0x3d07d6);return Number(_0x3d07d6['item']['getAttribute'](_0x32bfd5));});}['_generateTape'](_0x241f19,_0x387196){if(_0x241f19['is']('element','$text'))_0x387196['push']({'item':_0x241f19,'type':'text'});else{_0x241f19['is']('element')&&_0x387196['push']({'item':_0x241f19,'type':'elementStart'});for(const _0x45502d of _0x241f19['getChildren']())this['_generateTape'](_0x45502d,_0x387196);_0x241f19['is']('element')&&_0x387196['push']({'item':_0x241f19,'type':'elementEnd'});}return _0x387196;}['_getState'](){const _0x4ff657=new Map(this['_touched']),_0x556526=new Map(_0x4ff657),_0x11aab0=new Map(),_0x5e8be5={'insertions':{},'deletions':{}},_0x15c364={'insertions':{},'deletions':{}},_0x56acdc=new Map(),_0x26da71=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x26da71['delete']('$graveyard');for(const _0x173141 of _0x26da71){const _0x1be138=this['_diffRoots']['get'](_0x173141)||G(_0x173141,!0x1),_0x1d7763=this['_baseRoots']['get'](_0x173141)||G(_0x173141,!0x1);_0x1be138['isAttached']()||_0x1d7763['isAttached']()?(_0x5e8be5['insertions'][_0x173141]=q(_0x1be138),_0x5e8be5['deletions'][_0x173141]=q(_0x1d7763),this['_copyMarkers'](_0x5e8be5['deletions'][_0x173141],_0x1d7763),this['_copyMarkers'](_0x5e8be5['insertions'][_0x173141],_0x1be138),_0x15c364['insertions'][_0x173141]=this['_generateTape'](this['_idsRoots']['get'](_0x173141),[]),_0x15c364['deletions'][_0x173141]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x173141)||G(_0x173141,!0x1),[])):_0x26da71['delete'](_0x173141);}for(const _0x5b7c3f of _0x26da71){const _0x15e502=_0x15c364['insertions'][_0x5b7c3f];for(const _0x2aa12f of _0x15e502){const _0x5a3dba=this['_getVidAttributeName'](_0x2aa12f),_0x3b8b96=_0x2aa12f['item']['getAttribute'](_0x5a3dba);_0x556526['delete'](_0x3b8b96),_0x3b8b96>=this['_startingRevisionId']&&_0x11aab0['set'](_0x3b8b96,_0x4ff657['get'](_0x3b8b96));}}for(const _0x1e6e59 of _0x26da71){const _0xf76860=_0x15c364['insertions'][_0x1e6e59],_0x55454f=this['_getBaseVids'](_0x15c364['deletions'][_0x1e6e59]);let _0x474045=0x0;for(const _0x56c3fe of _0xf76860){const _0x59bb9d=this['_getVidAttributeName'](_0x56c3fe),_0xc9d9be=_0x56c3fe['item']['getAttribute'](_0x59bb9d);if(!_0x11aab0['has'](_0xc9d9be)&&!_0x56acdc['has'](_0xc9d9be)){if(_0x556526['has'](_0xc9d9be))_0x474045++;else{if(_0xc9d9be!=_0x55454f[_0x474045]){const _0x47b6fb=_0x4ff657['get'](_0xc9d9be)||_0x4ff657['get'](_0x55454f[_0x474045]);for(;_0xc9d9be!=_0x55454f[_0x474045];)_0x556526['has'](_0x55454f[_0x474045])||(_0x56acdc['set'](_0x55454f[_0x474045],_0x47b6fb),_0x4ff657['set'](_0x55454f[_0x474045],_0x47b6fb)),_0x474045++;}_0x474045++;}}}}for(const _0x2fb7b4 of _0x26da71){const _0x210be1=_0x15c364['insertions'][_0x2fb7b4];for(const _0x3696cc of _0x210be1){const _0x446298=this['_getVidAttributeName'](_0x3696cc),_0x53ede7=_0x3696cc['item']['getAttribute'](_0x446298);if(_0x56acdc['has'](_0x53ede7)){const _0x4060ac=_0x56acdc['get'](_0x53ede7);_0x556526['has'](_0x53ede7)||_0x556526['set'](_0x53ede7,{..._0x4060ac}),_0x11aab0['set'](_0x53ede7,{..._0x4060ac});}}}for(const _0x3e3363 of _0x556526['keys']())_0x3e3363>=this['_startingRevisionId']&&_0x556526['delete'](_0x3e3363);const _0x26842f=new Map();for(const _0xdad715 of _0x26da71){let _0x37ef37=_0x15c364['insertions'][_0xdad715];for(const _0x4d262a of _0x37ef37)if(_0x4d262a['item']['is']('element','tableCell')){const _0x5386e4=this['_getVidAttributeName'](_0x4d262a),_0x2b4670=_0x4d262a['item']['getAttribute'](_0x5386e4);if(_0x11aab0['has'](_0x2b4670)){const _0x5ac359=_0x4d262a['item']['parent']['parent']['getAttribute']('vid_start'),_0x5bc9a5=_0x26842f['get'](_0x5ac359)||new Set();_0x5bc9a5['add'](_0x11aab0['get'](_0x2b4670)['userId']),_0x26842f['set'](_0x5ac359,_0x5bc9a5);}}_0x37ef37=_0x15c364['deletions'][_0xdad715];for(const _0x55d2e9 of _0x37ef37)if(_0x55d2e9['item']['is']('element','tableCell')){const _0x4b3e07=this['_getVidAttributeName'](_0x55d2e9),_0x54754e=_0x55d2e9['item']['getAttribute'](_0x4b3e07);if(_0x556526['has'](_0x54754e)){const _0x22f35c=_0x55d2e9['item']['parent']['parent']['getAttribute']('vid_start'),_0x25e653=_0x26842f['get'](_0x22f35c)||new Set();_0x25e653['add'](_0x556526['get'](_0x54754e)['userId']),_0x26842f['set'](_0x22f35c,_0x25e653);}}for(const _0x5b22ec of _0x26842f['keys']())(_0x11aab0['has'](_0x5b22ec)||_0x556526['has'](_0x5b22ec))&&_0x26842f['delete'](_0x5b22ec);}for(const _0x37fc7c of _0x26da71){const _0x11f6cc=_0x15c364['insertions'][_0x37fc7c];let _0x96b1a0=null,_0x511281=null;for(const _0x1be43b of _0x11f6cc){const _0x3e9b5e=this['_getVidAttributeName'](_0x1be43b),_0x551da8=_0x1be43b['item']['getAttribute'](_0x3e9b5e),_0x6d8612=_0x26842f['get'](_0x551da8);_0x6d8612&&'elementStart'==_0x1be43b['type']&&(_0x96b1a0=Array['from'](_0x6d8612)[0x0],_0x511281=_0x1be43b['item']['getAttribute']('vid_end')),_0x96b1a0&&(_0x556526['set'](_0x551da8,{'userId':_0x96b1a0}),_0x11aab0['set'](_0x551da8,{'userId':_0x96b1a0})),_0x551da8==_0x511281&&(_0x96b1a0=null,_0x511281=null);}}const _0x138a5e={},_0x3dc7e9=new Set();for(const _0x1cc9f8 of _0x26da71){const _0x176cd9=_0x5e8be5['deletions'][_0x1cc9f8],_0x5d2556=_0x5e8be5['insertions'][_0x1cc9f8];for(const {userId:_0x44d6aa}of this['_touchedMarkers']['values']())null!==_0x44d6aa&&_0x3dc7e9['add'](_0x44d6aa);for(const {userId:_0x469f5d}of this['_touchedRoots']['values']())null!==_0x469f5d&&_0x3dc7e9['add'](_0x469f5d);this['_markChanges'](_0x5d2556,_0x15c364['insertions'][_0x1cc9f8],_0x11aab0,'insertion',_0x3dc7e9),this['_markChanges'](_0x176cd9,_0x15c364['deletions'][_0x1cc9f8],_0x556526,'deletion',_0x3dc7e9),_0x138a5e[_0x1cc9f8]={'insertions':this['_prepareViewToSave'](_0x5d2556),'deletions':this['_prepareViewToSave'](_0x176cd9),'attachChange':this['_touchedRoots']['get'](_0x1cc9f8)||null,'attributesBefore':_0x4311a5(this['_baseRootsAttributes']['get'](_0x1cc9f8))||{},'attributesAfter':_0x4311a5(this['_diffRootsAttributes']['get'](_0x1cc9f8))};}return{'diffData':_0x138a5e,'authorsIds':Array['from'](_0x3dc7e9)};}['_processRootBeforeSave'](_0x1235ba){for(const [,_0x379da4]of _0x1235ba['markers']){const _0x3e5910=_0x379da4['start']['getAncestors']()['filter'](_0x4fd641=>'tableCell'==_0x4fd641['name']);for(const _0x517444 of _0x3e5910)0x1==_0x517444['childCount']&&_0x517444['getChild'](0x0)['is']('element','paragraph')&&_0x517444['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x34fe16){this['_processRootBeforeSave'](_0x34fe16);const _0x39860d=this['editor']['data']['toView'](_0x34fe16,{}),_0x48df8a=Array['from'](_0x39860d['getChildren']())['map'](_0x26d09b=>this['_getViewJson'](_0x26d09b));return JSON['stringify'](_0x48df8a);}['_getViewJson'](_0x56ebf8){if(_0x56ebf8['is']('$text'))return _0x56ebf8['data'];{const _0x58898e=_0x56ebf8;return{'type':Object['keys'](T)['find'](_0x71bec8=>_0x56ebf8 instanceof T[_0x71bec8]),'name':_0x58898e['name'],'attributes':Array['from'](_0x58898e['getAttributes']()),'children':Array['from'](_0x58898e['getChildren']())['map'](_0x4688a3=>this['_getViewJson'](_0x4688a3))};}}['_markChanges'](_0x52d948,_0x1fd2b8,_0x1865a3,_0x9b2dfb,_0xf7e630){let _0x442f8a=null,_0x5b687e=null,_0x521243=0x0;const _0x229e81=this['editor']['model'];for(let _0x2141e3=0x0;_0x2141e3<_0x1fd2b8['length'];_0x2141e3++){const _0x18d71d=this['_getVidAttributeName'](_0x1fd2b8[_0x2141e3]),_0x119f08=_0x1fd2b8[_0x2141e3]['item']['getAttribute'](_0x18d71d),_0x194933=_0x1865a3['get'](_0x119f08),_0x331ded=_0x2141e3==_0x1fd2b8['length']-0x1;(!_0x442f8a&&_0x194933&&(_0x442f8a=_0x194933,_0x5b687e=_0x1fd2b8[_0x2141e3]),_0x442f8a&&(!_0x194933||_0x194933['userId']!=_0x442f8a['userId']))&&(_0x5d338d(_0x194933,L(_0x5b687e,_0x52d948,_0x229e81),L(_0x1fd2b8[_0x2141e3],_0x52d948,_0x229e81)),_0x442f8a=_0x194933||null,_0x5b687e=_0x194933?_0x1fd2b8[_0x2141e3]:null),_0x442f8a&&_0x331ded&&_0x5d338d(_0x194933,L(_0x5b687e,_0x52d948,_0x229e81),W(_0x1fd2b8[_0x2141e3],_0x52d948,_0x229e81));}function _0x5d338d(_0x7fa2b4,_0x58cf40,_0x301785){const _0x40962f=_0x442f8a['userId'],_0x23c367='revision:'+_0x9b2dfb+':'+_0x40962f+':'+_0x521243++,_0x8c5478=_0x229e81['createRange'](_0x58cf40,_0x301785);_0x52d948['markers']['set'](_0x23c367,_0x8c5478),null!==_0x40962f&&_0xf7e630['add'](_0x40962f);}}['_getVidAttributeName'](_0x23b6b9){switch(_0x23b6b9['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x5906a6,_0x4f71db){_0x5906a6['baseVersion']=null;for(const _0x190785 in _0x5906a6){const _0x18847e=_0x5906a6[_0x190785];if(_0x18847e instanceof wt){const _0x29e364=_0x4f71db['get'](_0x18847e['root']['rootName']);_0x5906a6[_0x190785]=this['_fixPosition'](_0x18847e,_0x29e364);}if(_0x18847e instanceof gt){const _0x483124=_0x4f71db['get'](_0x18847e['root']['rootName']);_0x5906a6[_0x190785]=this['_fixRange'](_0x18847e,_0x483124);}'root'===_0x190785&&(_0x5906a6['root']=_0x4f71db['get'](_0x5906a6['root']['rootName']));}}['_fixRange'](_0x2f5b89,_0x31675c){return this['editor']['model']['createRange'](this['_fixPosition'](_0x2f5b89['start'],_0x31675c),this['_fixPosition'](_0x2f5b89['end'],_0x31675c));}['_fixPosition'](_0x39ce4b,_0x3b0781){return this['editor']['model']['createPositionFromPath'](_0x3b0781,_0x39ce4b['path'],_0x39ce4b['stickiness']);}['_handleInsertOperation'](_0x563c05){const _0x188921=this['_idsRoots']['get'](_0x563c05['position']['root']['rootName']),_0x2d9006=this['_fixPosition'](_0x563c05['position'],_0x188921),_0x2ee145=null===_0x563c05['_authorId']?null:_0x563c05['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5a8a7c=_0x2d9006['parent'],_0x40f191=this['_revisionId'],_0x2ca5a4=[];for(const _0xaa816d of _0x563c05['nodes'])if(_0xaa816d['is']('element'))_0x2ca5a4['push'](this['_makeIdsRoot'](_0xaa816d));else{for(let _0x34e055=0x0;_0x34e055<_0xaa816d['offsetSize'];_0x34e055++)_0x2ca5a4['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x472961=this['_revisionId'];for(let _0x2ee7f1=_0x40f191;_0x2ee7f1<_0x472961;_0x2ee7f1++)this['_touched']['set'](_0x2ee7f1,{'userId':_0x2ee145});_0x5a8a7c['_insertChild'](_0x2d9006['offset'],_0x2ca5a4);}['_handleMoveOperation'](_0x160297){(_0x160297=this['_cloneOperation'](_0x160297,this['_idsRoots']))['_execute']();const _0xd27a50=null===_0x160297['_authorId']?null:_0x160297['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x253c5a=_0x160297['getMovedRangeStart'](),_0xb29cbc=_0x253c5a['parent'],_0x39adf8=_0x253c5a['offset'];!function _0x2c1c9d(_0x34ff1f,_0x4ea427,_0x1e1a36,_0x504ac9){for(let _0x3b5a15=_0x1e1a36;_0x3b5a15<_0x504ac9;_0x3b5a15++){const _0x2605f9=_0x4ea427['getChild'](_0x3b5a15);_0x2605f9['is']('element','$text')?_0x34ff1f['set'](_0x2605f9['getAttribute']('vid'),{'userId':_0xd27a50}):(_0x34ff1f['set'](_0x2605f9['getAttribute']('vid_start'),{'userId':_0xd27a50}),_0x2c1c9d(_0x34ff1f,_0x2605f9,0x0,_0x2605f9['childCount']),_0x34ff1f['set'](_0x2605f9['getAttribute']('vid_end'),{'userId':_0xd27a50}));}}(this['_touched'],_0xb29cbc,_0x39adf8,_0x39adf8+_0x160297['howMany']);}['_handleMergeOperation'](_0x44dfbe){const _0x27a08c=null===(_0x44dfbe=this['_cloneOperation'](_0x44dfbe,this['_idsRoots']))['_authorId']?null:_0x44dfbe['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x27ba65=_0x44dfbe['targetPosition']['parent'],_0xd0b28d=_0x44dfbe['sourcePosition']['parent'],_0x1878b9=_0x27ba65['getAttribute']('vid_end'),_0x577069=_0xd0b28d['getAttribute']('vid_start');_0x27ba65['_setAttribute']('vid_end',_0xd0b28d['getAttribute']('vid_end')),_0xd0b28d['_setAttribute']('vid_end',_0x1878b9),this['_touched']['set'](_0x577069,{'userId':_0x27a08c}),this['_touched']['set'](_0x1878b9,{'userId':_0x27a08c}),_0x44dfbe['_execute']();}['_handleSplitOperation'](_0x30ca9d){const _0x33ee9e=null===(_0x30ca9d=this['_cloneOperation'](_0x30ca9d,this['_idsRoots']))['_authorId']?null:_0x30ca9d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x12b172=_0x30ca9d['graveyardPosition'],_0x1451b5=_0x30ca9d['splitPosition']['parent'];_0x30ca9d['_execute']();const _0x3e36e7=_0x1451b5['getAttribute']('vid_end'),_0x174f6b=_0x30ca9d['insertionPosition']['nodeAfter'];if(_0x12b172){const _0x5e3207=_0x174f6b['getAttribute']('vid_end'),_0x53c61e=_0x1451b5['getAttribute']('vid_end');_0x1451b5['_setAttribute']('vid_end',_0x5e3207),_0x174f6b['_setAttribute']('vid_end',_0x53c61e),this['_touched']['set'](_0x1451b5['getAttribute']('vid_end'),{'userId':_0x33ee9e}),this['_touched']['set'](_0x174f6b['getAttribute']('vid_start'),{'userId':_0x33ee9e});}else{const _0x15b5e4=this['_revisionId']++,_0x243ff6=this['_revisionId']++;_0x1451b5['_setAttribute']('vid_end',_0x15b5e4),_0x174f6b['_setAttribute']('vid_start',_0x243ff6),_0x174f6b['_setAttribute']('vid_end',_0x3e36e7),this['_touched']['set'](_0x15b5e4,{'userId':_0x33ee9e}),this['_touched']['set'](_0x243ff6,{'userId':_0x33ee9e});}}['_handleMarkerOperation'](_0x14fd37){if(!_0x14fd37['affectsData'])return;const _0x23ac6c=(_0x14fd37=this['_cloneOperation'](_0x14fd37,this['_diffRoots']))['oldRange']?_0x14fd37['oldRange']['root']:null,_0x48f4c6=_0x14fd37['newRange']?_0x14fd37['newRange']['root']:null;_0x23ac6c&&this['_markers']['delete'](_0x14fd37['name']),_0x48f4c6&&this['_markers']['set'](_0x14fd37['name'],_0x14fd37['newRange']['clone']());const _0x4a8197=null===_0x14fd37['_authorId']?null:_0x14fd37['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4f7e2f=_0x14fd37['name'];if(!this['_touchedMarkers']['has'](_0x4f7e2f))return void this['_touchedMarkers']['set'](_0x4f7e2f,{'range':_0x14fd37['oldRange'],'userId':_0x4a8197});const _0x133936=this['_touchedMarkers']['get'](_0x4f7e2f),_0x23eb79=_0x133936['range'],_0xe9ac06=_0x14fd37['newRange'];null==_0x23eb79&&null==_0xe9ac06||_0x23eb79&&_0xe9ac06&&_0x23eb79['isEqual'](_0xe9ac06)?this['_touchedMarkers']['delete'](_0x14fd37['name']):_0x133936['userId']=_0x4a8197;}['_handleRootOperation'](_0xd09ce1,_0x7fc286){this['_diffRoots']['has'](_0xd09ce1['rootName'])?this['_diffRoots']['get'](_0xd09ce1['rootName'])['_isAttached']=_0xd09ce1['isAdd']:(this['_diffRoots']['set'](_0xd09ce1['rootName'],G(_0xd09ce1['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0xd09ce1['rootName'],{}),_0x7fc286&&this['_idsRoots']['set'](_0xd09ce1['rootName'],G(_0xd09ce1['rootName'],!0x0)));const _0x5b3883=null===_0xd09ce1['_authorId']?null:_0xd09ce1['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4a0b8b=this['_touchedRoots']['get'](_0xd09ce1['rootName']);_0x4a0b8b&&_0x4a0b8b['userId']===_0x5b3883?this['_touchedRoots']['delete'](_0xd09ce1['rootName']):this['_touchedRoots']['set'](_0xd09ce1['rootName'],{'userId':_0x5b3883,'isAttached':_0xd09ce1['isAdd']});}['_handleRootAttributeOperation'](_0x5b7b3c){const _0x2722fc=this['_diffRootsAttributes']['get'](_0x5b7b3c['root']['rootName']);null===_0x5b7b3c['newValue']?delete _0x2722fc[_0x5b7b3c['key']]:_0x2722fc[_0x5b7b3c['key']]=_0x5b7b3c['newValue'];}constructor(_0x48033d){this['editor']=_0x48033d,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}}function q(_0x3af1dc){const _0x542acb=G(_0x3af1dc['rootName'],_0x3af1dc['isAttached']());for(const _0x364a03 of _0x3af1dc['getChildren']()){const _0x45f327=_0x364a03['_clone'](!0x0);_0x542acb['_appendChild'](_0x45f327);}return _0x542acb;}function G(_0x494cda,_0x9ae998=!0x0){const _0x40e91d=new _t();return _0x40e91d['rootName']=_0x494cda,_0x40e91d['_isAttached']=_0x9ae998,_0x40e91d['isAttached']=()=>_0x40e91d['_isAttached'],_0x40e91d;}function L(_0x52a76f,_0x32041e,_0x392b33){const _0x351f3c='elementEnd'==_0x52a76f['type']?_0x392b33['createPositionAt'](_0x52a76f['item'],'end'):_0x392b33['createPositionBefore'](_0x52a76f['item']);return _0x392b33['createPositionFromPath'](_0x32041e,_0x351f3c['path'],_0x351f3c['stickiness']);}function W(_0x270622,_0x3aaaf7,_0xdfb04f){const _0xdcc49c='elementStart'==_0x270622['type']?_0xdfb04f['createPositionAt'](_0x270622['item'],0x0):_0xdfb04f['createPositionAfter'](_0x270622['item']);return _0xdfb04f['createPositionFromPath'](_0x3aaaf7,_0xdcc49c['path'],_0xdcc49c['stickiness']);}class ns extends _0x42c77d{['render'](){super['render'](),_0x2b9c5b({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x12c7e6=_0x113ed1=>_0x113ed1['stopPropagation']();this['keystrokes']['set']('arrowright',_0x12c7e6),this['keystrokes']['set']('arrowleft',_0x12c7e6),this['keystrokes']['set']('arrowup',_0x12c7e6),this['keystrokes']['set']('arrowdown',_0x12c7e6);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x1d46e4){this['revisionNameInputView']['fieldView']['element']['value']=_0x1d46e4['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x2230e6){const _0x24dd70=new mt(this['locale'],_0x50d707),_0x583227=_0x24dd70['fieldView'];_0x583227['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x2b9f56=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x2230e6&&(_0x2b9f56+='\x20('+y(this['locale'],'optional')+')'),(_0x24dd70['label']=_0x2b9f56,_0x583227['on']('input',()=>{this['revisionNameInputValue']=_0x583227['element']['value']['trim']();}),_0x24dd70);}constructor(_0xbed6d3,_0x4ba524){super(_0xbed6d3),this['focusTracker']=new _0x2757f4(),this['keystrokes']=new _0x2fdc83(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x4ba524),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}}class u extends _0x4611ab{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['init'](){const _0x319f1b=this['editor'],_0x4a4509=_0x319f1b['plugins']['get']('RevisionTracker');_0x319f1b['ui']['componentFactory']['add']('revisionHistory',_0x261bf8=>{const _0x5f5c53=_0x377434(_0x261bf8),_0x19a9e3=_0x5f5c53['panelView']['children'],_0x1f14fc=new te(_0x261bf8),_0x549e92=new _0x20a6b0(_0x261bf8),_0x429198=new _0x15c4b0(_0x261bf8),_0x4ff7e1=new _0x20a6b0(_0x261bf8),_0x4b558f=new _0x15c4b0(_0x261bf8);return _0x5f5c53['bind']('isEnabled')['to'](_0x4a4509,'isReady',_0x4a4509,'isEnabled',_0x319f1b,'isReadOnly',(_0x23aa98,_0x3b05bc,_0x1ba4c9)=>_0x23aa98&&_0x3b05bc&&!_0x1ba4c9),_0x5f5c53['buttonView']['set']({'icon':_0x3503f1['history'],'label':y(_0x261bf8,'Revision\x20history'),'tooltip':!0x0}),_0x429198['set']({'label':y(_0x261bf8,'Save\x20current\x20revision'),'withText':!0x0}),_0x429198['bind']('isEnabled')['to'](_0x4a4509,'isReady',_0x4a4509,'isEnabled',_0x319f1b,'isReadOnly',(_0x2a5065,_0x2a935b,_0x50a08e)=>_0x2a5065&&_0x2a935b&&!_0x50a08e),_0x429198['on']('execute',()=>this['_showDialog']()),_0x4b558f['set']({'label':y(_0x261bf8,'Open\x20revision\x20history'),'withText':!0x0}),_0x4b558f['bind']('isEnabled')['to'](_0x4a4509,'isReady',_0x319f1b,'isReadOnly',(_0x55a2ef,_0x554ff8)=>_0x55a2ef&&!_0x554ff8),_0x4b558f['on']('execute',()=>{_0x319f1b['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x5f5c53['isOpen']=!0x1,_0x319f1b['editing']['view']['focus']();}),_0x549e92['children']['add'](_0x429198),_0x4ff7e1['children']['add'](_0x4b558f),_0x1f14fc['items']['addMany']([_0x549e92,_0x4ff7e1]),_0x19a9e3['add'](_0x1f14fc),_0x5f5c53;}),_0x319f1b['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x27d06b=this['editor'],_0x483934=_0x27d06b['locale'],_0x61f777=new _0x341b7a(_0x483934),_0x2d68a6=new _0x75cb69(_0x483934);_0x61f777['buttonView']['set']({'icon':_0x3503f1['history'],'label':y(_0x483934,'Revision\x20history')});const _0x34aff1=new _0x354246(_0x483934,_0x61f777),_0x4adf78=new _0x22ca20(_0x483934);_0x4adf78['set']({'label':y(_0x483934,'Save\x20current\x20revision')}),_0x4adf78['delegate']('execute')['to'](_0x61f777),_0x4adf78['on']('execute',()=>{this['_showDialog']();}),_0x34aff1['children']['add'](_0x4adf78),_0x2d68a6['items']['add'](_0x34aff1);const _0x3ec82d=new _0x354246(_0x483934,_0x61f777),_0x1b06f8=new _0x22ca20(_0x483934);return _0x1b06f8['set']({'label':y(_0x483934,'Open\x20revision\x20history')}),_0x1b06f8['delegate']('execute')['to'](_0x61f777),_0x1b06f8['on']('execute',()=>{_0x27d06b['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x3ec82d['children']['add'](_0x1b06f8),_0x2d68a6['items']['add'](_0x3ec82d),_0x61f777['panelView']['children']['add'](_0x2d68a6),_0x61f777;}['_showDialog'](){const _0x33f2b8=this['editor'],_0x25ef09=_0x33f2b8['locale'],t=_0x25ef09['t'],_0x2cc121=_0x33f2b8['plugins']['get']('Dialog'),_0xc6e03d=_0x33f2b8['plugins']['get']('RevisionTracker');function _0x3eede5(_0x3942dc){_0x33f2b8['config']['get']('revisionHistory.requireRevisionName')&&''===_0x3942dc['revisionName']?_0x3942dc['revisionNameInputView']['errorText']=y(_0x25ef09,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x33f2b8['plugins']['get'](l)['saveRevision']({'name':_0x3942dc['revisionName']}),_0x2cc121['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x3eede5(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x2cc121['show']({'id':'findAndReplace','title':y(_0x25ef09,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x2cc121['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x4e7fe8){_0x4e7fe8['bind']('isEnabled')['to'](_0xc6e03d,'isReady',_0xc6e03d,'isEnabled',_0x33f2b8,'isReadOnly',(_0x157790,_0xb3912a,_0x39c3ae)=>_0x157790&&_0xb3912a&&!_0x39c3ae);},'onExecute':()=>_0x3eede5(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x29ca19=this['editor'],_0x5ae6a1=_0x29ca19['locale'];this['_saveRevisionFormView']=new ns(_0x5ae6a1,_0x29ca19['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x42c77d{['focus'](){this['element']['focus']();}constructor(_0x2016e1,_0x15d940){super(_0x2016e1),this['_model']=_0x15d940,this['changeId']=_0x15d940['id'];const _0x20ce93=this['bindTemplate'],_0x4edc51=y(_0x2016e1,_0x15d940['data']['isSuggestion']?'Suggested\x20by':'add'==_0x15d940['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x15d940['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x20ce93['to']('type',_0x152f19=>'ck-revision-change__'+_0x152f19)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x4edc51}]},{'text':'\x20'+_0x15d940['author']['name']}]}]});}}class r extends _0x53a58f(){['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}constructor(_0x366873){super(),this['id']=_0x366873['id']||_0x3d2381(),this['author']=_0x366873['author'],this['type']=_0x366873['type'],this['data']=_0x366873['data']||{},this['rootName']=_0x366873['rootName'],this['set']('createdAt',_0x366873['createdAt']);}}class f{['_setChanges'](_0x36d215){for(const _0x3c2562 of _0x36d215)this['changes']['add'](_0x3c2562);}constructor(_0x2f7afb,_0x28c530){this['newRevisionId']=_0x2f7afb,this['oldRevisionId']=_0x28c530,this['changes']=new _0x627659();}}const tt={'c':_0x5811a3,'a':_0x254c23,'e':_0x3fff9c,'r':_0x1a4a80,'u':_0x53a894};class d extends _0x4611ab{static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x254728,_0x37c051,A];}['init'](){const _0x4e52f4=this['editor'],_0x21c90f=new Rt(_0x4e52f4,{'direction':'backward'}),_0x5ee761=new Rt(_0x4e52f4,{'direction':'forward'});(_0x4e52f4['commands']['add']('showPreviousChange',_0x21c90f),_0x4e52f4['commands']['add']('showNextChange',_0x5ee761),_0x4e52f4['commands']['add']('restoreRevision',new bt(_0x4e52f4)),this['on']('change:numberOfChanges',()=>{_0x21c90f['refresh'](),_0x5ee761['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x4e52f4['enableReadOnlyMode']('revision-viewer'),_0x4e52f4['plugins']['has']('WidgetToolbarRepository'))&&_0x4e52f4['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x17041d){await this['loadRevisionData'](_0x17041d);const _0x3eb3f9={};for(const _0x181480 in _0x17041d['diffData']){if(_0x17041d['diffData'][_0x181480]['attachChange']&&!_0x17041d['diffData'][_0x181480]['attachChange']['isAttached'])continue;const _0x5b7ada=this['_removeRevisionMarkers'](JSON['parse'](_0x17041d['diffData'][_0x181480]['insertions'])),_0xb2e961=this['editor']['editing']['view']['document'],_0x1c22ca=new _0x2d8d83(_0xb2e961,_0x5b7ada['map'](_0x216b86=>this['_getViewObj'](_0x216b86)));this['editor']['data']['processor']['useFillerType']('marked'),_0x3eb3f9[_0x181480]=this['editor']['data']['processor']['toData'](_0x1c22ca),this['editor']['data']['processor']['useFillerType']('default');}return _0x3eb3f9;}async['getRevisionRootsAttributes'](_0x47a542){await this['loadRevisionData'](_0x47a542);const _0x5a1852={};for(const _0x55bb7d in _0x47a542['diffData'])_0x47a542['diffData'][_0x55bb7d]['attachChange']&&!_0x47a542['diffData'][_0x55bb7d]['attachChange']['isAttached']||(_0x5a1852[_0x55bb7d]=_0x47a542['diffData'][_0x55bb7d]['attributesAfter']||{});return _0x5a1852;}['_removeRevisionMarkers'](_0x11bef8){return(_0x11bef8=_0x11bef8['filter'](_0x4d40a8=>!_0x4d40a8['name']||'revision-start'!==_0x4d40a8['name']&&'revision-end'!==_0x4d40a8['name']))['forEach'](_0xc0b1a3=>{'string'!=typeof _0xc0b1a3&&(_0xc0b1a3['children']=this['_removeRevisionMarkers'](_0xc0b1a3['children']),_0xc0b1a3['attributes']=_0xc0b1a3['attributes']['filter'](_0x56e7ea=>!_0x56e7ea[0x0]['startsWith']('data-revision-')));}),_0x11bef8;}async['compare'](_0x35ab84,_0x111b76,_0x200304=!0x1){if(!this['isEnabled'])return;const _0x54d49d=this['diff'],_0x48934d=this['repository'],_0x420004='string'==typeof _0x35ab84?_0x48934d['getRevision'](_0x35ab84):_0x35ab84,_0x32ff6e='string'==typeof _0x111b76?_0x48934d['getRevision'](_0x111b76):_0x111b76,_0x228800=_0x420004['id'],_0x4cbb3b=_0x32ff6e?_0x32ff6e['id']:null;if(!_0x200304&&this['diff']&&this['diff']['newRevisionId']===_0x228800&&this['diff']['oldRevisionId']===_0x4cbb3b)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x228800,_0x4cbb3b);const _0x221e42=this['_getRevisionsRange'](_0x420004,_0x32ff6e,!0x0)['map'](_0x1d39d8=>this['loadRevisionData'](_0x1d39d8));return _0x221e42['push'](new Promise(_0x369045=>{setTimeout(_0x369045,0x14);})),Promise['all'](_0x221e42)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x31ba3b=this['_getDiff'](_0x228800,_0x4cbb3b);for(const _0x19cbc7 of _0x31ba3b['changes'])this['_changeIdToChange']['set'](_0x19cbc7['id'],_0x19cbc7);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x41b22e=>{for(const _0x445b7e of this['editor']['model']['document']['getRootNames']())_0x41b22e['detachRoot'](_0x445b7e);for(const _0x266bc5 of Object['keys'](_0x31ba3b['model'])){const _0x200b5c=_0x41b22e['addRoot'](_0x266bc5);for(const _0x2465e9 of Object['keys'](_0x31ba3b['attributes'][_0x266bc5]))_0x41b22e['setAttribute'](_0x2465e9,_0x31ba3b['attributes'][_0x266bc5][_0x2465e9],_0x200b5c);_0x41b22e['insert'](_0x31ba3b['model'][_0x266bc5],_0x200b5c,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x31ba3b['changes'])),this['isReady']=!0x0;})['catch'](_0x509ef4=>{console['error'](_0x509ef4),this['_cleanUp'](),_0x54d49d&&(this['diff']=_0x54d49d),this['isReady']=!0x0;});}['addRevisionData'](_0x32bcd2,_0x58a92c){const _0x31a982=this['repository']['createRevision'](_0x32bcd2);return _0x31a982['on']('_update',(_0x42ec34,_0x27bc13,_0x527c30)=>_0x58a92c(_0x27bc13,_0x527c30,_0x31a982)),this['repository']['addRevision'](_0x31a982),_0x31a982;}['loadRevisionData'](_0x1cf305){if(!_0x1cf305||_0x1cf305['diffData'])return Promise['resolve']();{const _0x539190=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x539190,'revisionId':_0x1cf305['id']})['then'](_0x1a37df=>{_0x1cf305['_update']({'diffData':_0x1a37df['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},_0x1af080=>{for(const _0x3a3135 of this['editor']['model']['document']['getRootNames']())_0x1af080['detachRoot'](_0x3a3135);});}['_sortAndFilterDiffChanges'](_0x25027a){const _0x4d4172=[],_0x387ad8=new Map();for(const _0x670756 of this['editor']['model']['document']['getRootNames']()){const _0xf46fe=this['editor']['editing']['view']['getDomRoot'](_0x670756);if(!_0xf46fe)continue;const _0x54092e=_0xf46fe['getClientRects']()['item'](0x0);_0x54092e&&(_0x4d4172['push'](_0x670756),_0x387ad8['set'](_0x670756,_0x54092e));}return _0x4d4172['sort']((_0x10f044,_0x5893cf)=>{const _0x4b96f4=_0x387ad8['get'](_0x10f044),_0x56cad2=_0x387ad8['get'](_0x5893cf);return _0x4b96f4['y']-_0x56cad2['y']||_0x4b96f4['x']-_0x56cad2['x'];}),(_0x25027a=_0x25027a['filter'](_0x14e9ed=>_0x4d4172['includes'](_0x14e9ed['rootName'])))['sort']((_0x48503d,_0x56e0d0)=>_0x4d4172['indexOf'](_0x48503d['rootName'])-_0x4d4172['indexOf'](_0x56e0d0['rootName'])),_0x25027a;}['_makeTape'](_0x20b4bd){const _0x1d55bd=Array['from'](_0x20b4bd['markers'])['filter'](([_0x46d266,_0x1082cc])=>_0x46d266['startsWith']('revision:')&&!_0x1082cc['isCollapsed']),_0xe08fb9=Array['from'](this['editor']['model']['createRangeIn'](_0x20b4bd)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x1d55bd['length'])for(const _0x5e79a2 of _0xe08fb9){const [_0x5078e9,_0x144211]=_0x1d55bd[0x0],[,_0x24fd05,_0x2cc4cf]=_0x5078e9['split'](':');if(_0x144211['end']['isEqual'](_0x5e79a2['nextPosition'])&&_0x1d55bd['shift'](),(_0x5e79a2['previousPosition']['isEqual'](_0x144211['start'])||_0x5e79a2['previousPosition']['isAfter'](_0x144211['start']))&&('insertion'==_0x24fd05?_0x5e79a2['isAdded']={'userId':_0x2cc4cf}:'deletion'==_0x24fd05&&(_0x5e79a2['isRemoved']={'userId':_0x2cc4cf})),0x0==_0x1d55bd['length'])break;}return _0xe08fb9;}['_refreshStartEndIndex'](_0xf2cc34){const _0x46767e=new Map();for(let _0x59fbe1=0x0;_0x59fbe1<_0xf2cc34['length'];_0x59fbe1++)'text'===_0xf2cc34[_0x59fbe1]['type']?(_0xf2cc34[_0x59fbe1]['item']['startIndex']=_0x59fbe1,_0xf2cc34[_0x59fbe1]['item']['endIndex']=_0x59fbe1):('elementStart'===_0xf2cc34[_0x59fbe1]['type']?_0xf2cc34[_0x59fbe1]['item']['startIndex']=_0x59fbe1:'elementEnd'===_0xf2cc34[_0x59fbe1]['type']&&(_0xf2cc34[_0x59fbe1]['item']['endIndex']=_0x59fbe1),_0x46767e['set'](_0xf2cc34[_0x59fbe1]['id'],_0x59fbe1));for(const _0x3814b6 of _0x46767e['values']())'elementStart'===_0xf2cc34[_0x3814b6]['type']?_0xf2cc34[_0x3814b6]['item']['endIndex']=_0x46767e['get'](_0xf2cc34[_0x3814b6]['pairId']):'elementEnd'===_0xf2cc34[_0x3814b6]['type']&&(_0xf2cc34[_0x3814b6]['item']['startIndex']=_0x46767e['get'](_0xf2cc34[_0x3814b6]['pairId']));}['_processTape'](_0x410a57){for(let _0x374072=0x0;_0x374072<_0x410a57['length'];_0x374072++){if('elementStart'===_0x410a57[_0x374072]['type'])_0x410a57[_0x374072]['item']['startIndex']=_0x374072;else{if('elementEnd'===_0x410a57[_0x374072]['type']){_0x410a57[_0x374072]['item']['endIndex']=_0x374072;const _0x4fc0d1=_0x410a57[_0x374072]['item']['startIndex'];_0x410a57[_0x4fc0d1]['pairId']=_0x410a57[_0x374072]['id'],_0x410a57[_0x374072]['pairId']=_0x410a57[_0x4fc0d1]['id'];}else _0x410a57[_0x374072]['item']['startIndex']=_0x374072,_0x410a57[_0x374072]['item']['endIndex']=_0x374072,_0x410a57[_0x374072]['pairId']=null;}_0x410a57[_0x374072]['markersStart']||(_0x410a57[_0x374072]['markersStart']=[],_0x410a57[_0x374072]['markersEnd']=[]);}}['_markInsertions'](_0x33d100,_0x4b49e3){const _0x50fe6e=_0x33d100['filter'](_0x28c767=>!_0x28c767['isAdded']);for(let _0x3db21b=0x0;_0x3db21b<_0x4b49e3['length'];_0x3db21b++)_0x4b49e3[_0x3db21b]['isAdded']&&(_0x50fe6e[_0x3db21b]['isAdded']=_0x4b49e3[_0x3db21b]['isAdded']);}['_makeModelFromViewString'](_0x25e775){const _0x11c202=JSON['parse'](_0x25e775),_0x20e19a=this['editor']['editing']['view']['document'],_0x2a38b0=new _0x2d8d83(_0x20e19a,_0x11c202['map'](_0x520d27=>this['_getViewObj'](_0x520d27)));return this['editor']['data']['toModel'](_0x2a38b0);}['_getViewObj'](_0x41d904){const _0x55d88e=this['editor']['editing']['view']['document'];if('string'==typeof _0x41d904)return new _0x42bd79(_0x55d88e,_0x41d904);{const _0x43c685=_0x41d904['children']['map'](_0x28386c=>this['_getViewObj'](_0x28386c));return new(tt[_0x41d904['type']]||_0x1fca0e)(_0x55d88e,_0x41d904['name'],_0x41d904['attributes'],_0x43c685);}}['_getDiff'](_0x297623,_0x1821c1=null){const _0x368b57=this['repository']['getRevision'](_0x297623),_0x44cf5d=_0x1821c1?this['repository']['getRevision'](_0x1821c1):null,_0x12fda6=this['_getRevisionsRange'](_0x368b57,_0x44cf5d),_0x3406ba=_0x12fda6[_0x12fda6['length']-0x1],_0x513204=new Map(),_0x542b7f={'model':{},'attributes':{},'changes':[]},_0x40033c=new Set(),_0x453496=new Map();for(let _0x5297a0=_0x12fda6['length']-0x1;_0x5297a0>=0x0;_0x5297a0--){const _0x17a614=_0x12fda6[_0x5297a0];for(const _0x25f31c of Object['keys'](_0x17a614['diffData']))if(_0x17a614['diffData'][_0x25f31c]['attachChange']){const _0x1588da=_0x17a614['diffData'][_0x25f31c]['attachChange'];_0x1588da['isAttached']?(_0x40033c['add'](_0x25f31c),_0x453496['has'](_0x25f31c)&&_0x453496['get'](_0x25f31c)['userId']==_0x1588da['userId']?_0x453496['delete'](_0x25f31c):_0x453496['set'](_0x25f31c,_0x1588da)):_0x453496['has'](_0x25f31c)?(_0x40033c['delete'](_0x25f31c),_0x453496['delete'](_0x25f31c)):(_0x40033c['add'](_0x25f31c),_0x453496['set'](_0x25f31c,_0x1588da));}else _0x40033c['add'](_0x25f31c);}for(const _0x477c46 of _0x40033c){const _0x21b65a=_0x453496['has'](_0x477c46)&&!_0x453496['get'](_0x477c46)['isAttached'];let _0xc76364=_0x21b65a?_0x12fda6['length']-0x1:0x0;const _0x22512d=_0x21b65a?-0x1:0x1;for(;_0x12fda6[_0xc76364];){const _0x343b5f=_0x12fda6[_0xc76364];if(_0x343b5f['diffData'][_0x477c46]){const _0x3de517=_0x21b65a?_0x343b5f['diffData'][_0x477c46]['attributesBefore']:_0x343b5f['diffData'][_0x477c46]['attributesAfter'];_0x542b7f['attributes'][_0x477c46]=_0x3de517?_0x4311a5(_0x3de517):{};break;}_0xc76364+=_0x22512d;}}for(const _0x181c9d of _0x12fda6){_0x181c9d['model']={};for(const _0x1c71d3 of _0x181c9d['authors'])_0x513204['set'](_0x1c71d3['id'],_0x1c71d3);for(const _0x4ac6a1 of _0x40033c){const _0x11d680=_0x181c9d['diffData'][_0x4ac6a1]?_0x181c9d['diffData'][_0x4ac6a1]['insertions']:'[]',_0x4e4d78=_0x181c9d['diffData'][_0x4ac6a1]?_0x181c9d['diffData'][_0x4ac6a1]['deletions']:'[]';_0x181c9d['model'][_0x4ac6a1]={'insertions':this['_makeModelFromViewString'](_0x11d680),'deletions':this['_makeModelFromViewString'](_0x4e4d78)};}}for(const _0x3e89ba of _0x40033c){let _0x363c83=null,_0x3e5d2a=0x0;const _0x345e15=new Map(Array['from'](_0x368b57['model'][_0x3e89ba]['insertions']['markers'])['filter'](([_0x243ea0])=>!_0x243ea0['startsWith']('revision:')));let _0x3d1d28=0x0;for(const _0x43e438 of _0x12fda6){const _0x479535=this['_makeTape'](_0x43e438['model'][_0x3e89ba]['insertions']);_0x43e438==_0x368b57?(_0x363c83=_0x479535,_0x3e5d2a=_0x363c83['length'],_0x363c83['forEach'](_0x4951f5=>{_0x4951f5['id']=_0x3d1d28++;}),this['_processTape'](_0x363c83)):this['_markInsertions'](_0x363c83,_0x479535);const _0x5237c3=_0x363c83['filter'](_0x8b2ea0=>!_0x8b2ea0['isAdded'])['map'](_0x1c67db=>_0x1c67db['id']);let _0x54e93e=0x0;const _0x428f74=this['_makeTape'](_0x43e438['model'][_0x3e89ba]['deletions']);_0x428f74['forEach'](_0x5d78b0=>{_0x5d78b0['isRemoved']?_0x5d78b0['id']=_0x3e5d2a++:_0x5d78b0['id']=_0x5237c3[_0x54e93e++];}),this['_processTape'](_0x428f74),this['_setDistance'](_0x363c83,'isAdded'),this['_setDistance'](_0x428f74,'isRemoved'),_0x43e438==_0x368b57&&this['_markMarkers'](_0x363c83,_0x345e15),_0x363c83=this['_joinTapes'](_0x363c83,_0x428f74),this['_refreshStartEndIndex'](_0x363c83),this['_setDistance'](_0x363c83,'isRemoved');}_0x363c83=_0x363c83['filter'](_0x10b9ac=>!(_0x10b9ac['isAdded']&&_0x10b9ac['isRemoved']));const _0x185bce=new Map(_0x3406ba['model'][_0x3e89ba]['deletions']['markers']),_0x24fc2a=new Set(_0x345e15['keys']());for(const _0xbb2b7a of _0x185bce['keys']())_0x24fc2a['delete'](_0xbb2b7a);this['_markSuggestions'](_0x363c83,_0x24fc2a),this['_fixObsoleteTags'](_0x363c83),_0x363c83=this['_removeMissingPairs'](_0x363c83),_0x363c83=this['_markMismatchedRemovedTags'](_0x363c83),_0x363c83=this['_removeUnsupportedChanges'](_0x363c83);const {root:_0x906a45,changes:_0x148f1d}=this['_makeModelFromTape'](_0x363c83,_0x513204,_0x3e89ba);_0x542b7f['model'][_0x3e89ba]=_0x906a45;const _0xe24c4a=_0x453496['get'](_0x3e89ba);if(_0xe24c4a){const _0x1945b8=_0x513204['get'](_0xe24c4a['userId']),_0x1743d3=new r({'author':_0x1945b8,'type':_0xe24c4a['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x3e89ba});_0x148f1d['unshift'](_0x1743d3),_0x542b7f['attributes'][_0x3e89ba]['revisionHistoryAttachChange']=_0x1743d3['id'];}_0x542b7f['changes']=_0x542b7f['changes']['concat'](_0x148f1d);}return _0x542b7f;}['_markMarkers'](_0x302ad3,_0x585a2a){for(let _0x1fea2e=0x0;_0x1fea2e<_0x302ad3['length'];_0x1fea2e++)for(const [_0x1dce2b,_0x50e8be]of _0x585a2a)_0x50e8be['start']['isEqual'](_0x302ad3[_0x1fea2e]['previousPosition'])&&_0x302ad3[_0x1fea2e]['markersStart']['push'](_0x1dce2b),_0x50e8be['end']['isEqual'](_0x302ad3[_0x1fea2e]['nextPosition'])&&_0x302ad3[_0x1fea2e]['markersEnd']['push'](_0x1dce2b);}['_joinTapes'](_0x2e579a,_0x567a87){let _0x5174f0=[],_0x6a970f=0x0,_0x4b9743=0x0;for(;_0x6a970f<_0x2e579a['length']||_0x4b9743<_0x567a87['length'];){const _0x5267a9=_0x2e579a[_0x6a970f]||{},_0x72e310=_0x567a87[_0x4b9743]||{};if(_0x5267a9['id']==_0x72e310['id'])_0x6a970f++,_0x4b9743++,_0x5174f0['push'](_0x5267a9);else{if(_0x72e310['isRemoved']&&_0x5267a9['isAdded']){const {commonTape:_0x22306f,iEnd:_0x2fd78f,jEnd:_0xdcd140}=this['_threeWayMerge'](_0x2e579a,_0x6a970f,_0x567a87,_0x4b9743);_0x5174f0=_0x5174f0['concat'](_0x22306f),_0x6a970f=_0x2fd78f,_0x4b9743=_0xdcd140;}else _0x72e310['isRemoved']?(_0x4b9743++,_0x5174f0['push'](_0x72e310)):(_0x6a970f++,_0x5174f0['push'](_0x5267a9));}}return _0x5174f0;}['_markSuggestions'](_0x21aa98,_0x13d44d){const _0x447649=[];for(let _0x375bab=0x0;_0x375bab<_0x21aa98['length'];_0x375bab++){for(let _0x2a9b0e=0x0;_0x2a9b0e<_0x21aa98[_0x375bab]['markersStart']['length'];_0x2a9b0e++){const _0x2ee87b=_0x21aa98[_0x375bab]['markersStart'][_0x2a9b0e];if(!_0x13d44d['has'](_0x2ee87b))continue;const {group:_0x37ba9f,type:_0x3e0e93,authorId:_0x5b5d1b}=_0x53f901(_0x2ee87b);'revision-suggestion'!=_0x37ba9f||'insertion'!=_0x3e0e93&&'deletion'!=_0x3e0e93||(_0x447649['unshift']({'type':_0x3e0e93,'name':_0x2ee87b,'userId':_0x5b5d1b}),_0x21aa98[_0x375bab]['markersStart']['splice'](_0x2a9b0e,0x1),_0x2a9b0e--);}_0x551dcc(_0x21aa98[_0x375bab]);for(let _0x32a2fa=0x0;_0x32a2fa<_0x21aa98[_0x375bab]['markersEnd']['length'];_0x32a2fa++){const _0x367205=_0x21aa98[_0x375bab]['markersEnd'][_0x32a2fa];if(!_0x13d44d['has'](_0x367205))continue;const {group:_0x3ea58d,type:_0x2ecafe}=_0x53f901(_0x367205);if('revision-suggestion'!=_0x3ea58d||'insertion'!=_0x2ecafe&&'deletion'!=_0x2ecafe)continue;_0x21aa98[_0x375bab]['markersEnd']['splice'](_0x32a2fa,0x1),_0x32a2fa--;const _0x409129=_0x447649['findIndex'](_0x11765e=>_0x11765e['name']==_0x367205);_0x409129>-0x1&&_0x447649['splice'](_0x409129,0x1);}}function _0x53f901(_0x395526){const _0x5e331f=_0x395526['split'](':');return{'group':_0x5e331f[0x0],'type':_0x5e331f[0x1],'subType':_0x5e331f['length']>=0x5?_0x5e331f[0x2]:null,'id':_0x5e331f['length']<0x5?_0x5e331f[0x2]:_0x5e331f[0x3],'authorId':_0x5e331f['length']<0x5?_0x5e331f[0x3]:_0x5e331f[0x4],'markerCount':0x6==_0x5e331f['length']?_0x5e331f[0x5]:null};}function _0x551dcc(_0xb07350){for(let _0x3cad8d=0x0;_0x3cad8d<_0x447649['length'];_0x3cad8d++){if(_0xb07350['isAdded']&&'insertion'==_0x447649[_0x3cad8d]['type'])return _0xb07350['isAddSuggestion']=_0x447649[_0x3cad8d],void delete _0xb07350['isAdded'];if(!_0xb07350['isAdded']&&!_0xb07350['isRemoved']&&'deletion'==_0x447649[_0x3cad8d]['type'])return void(_0xb07350['isRemoveSuggestion']=_0x447649[_0x3cad8d]);}}}['_setDistance'](_0x944f14,_0x5d9f78){let _0x49681c=0x0,_0x9f007c=!0x1;const _0x3af736=new Map();for(const _0x442ff7 of _0x944f14)_0x442ff7[_0x5d9f78]?_0x9f007c&&(_0x49681c++,_0x9f007c=!0x1):(_0x49681c++,_0x9f007c=!0x0),_0x3af736['set'](_0x442ff7['id'],_0x49681c);for(let _0x493bf4=0x0;_0x493bf4<_0x944f14['length'];_0x493bf4++){if('isRemoved'==_0x5d9f78&&_0x944f14[_0x493bf4]['isAdded']||'isAdded'==_0x5d9f78&&_0x944f14[_0x493bf4]['isRemoved'])continue;if('text'==_0x944f14[_0x493bf4]['type']){_0x944f14[_0x493bf4]['distance']=0x0;continue;}const _0x5ce8cd=_0x3af736['get'](_0x944f14[_0x493bf4]['pairId']),_0x19344e=_0x3af736['get'](_0x944f14[_0x493bf4]['id']);_0x944f14[_0x493bf4]['distance']=_0x5ce8cd-_0x19344e;}}['_getRevisionsRange'](_0x489b49,_0x505ebb,_0x11a34b=!0x1){const _0x40a572=[];let _0x4566c4=this['repository']['getIndex'](_0x489b49),_0x216586=this['repository']['getIndex'](_0x505ebb);for(-0x1==_0x216586&&(_0x216586=this['repository']['_revisions']['length'],_0x11a34b=!0x1);_0x4566c4<_0x216586;)_0x40a572['push'](this['repository']['getRevision'](_0x4566c4)),_0x4566c4++;return _0x11a34b&&_0x40a572['push'](this['repository']['getRevision'](_0x4566c4)),_0x40a572;}['_threeWayMerge'](_0x544fee,_0x306ec5,_0x33ebc7,_0x7ed2ca){const _0x5177b6=this['editor']['model']['schema'];let _0xab4eb5=_0x306ec5;for(;_0x544fee[_0xab4eb5]&&_0x544fee[_0xab4eb5]['isAdded'];)_0xab4eb5++;let _0x2ba633=_0x7ed2ca;for(;_0x33ebc7[_0x2ba633]&&_0x33ebc7[_0x2ba633]['isRemoved'];)_0x2ba633++;_0x3e1139(_0x544fee,_0x306ec5,_0xab4eb5),_0x3e1139(_0x33ebc7,_0x7ed2ca,_0x2ba633);const _0x5caf74=_0x33ebc7['slice'](_0x7ed2ca,_0x2ba633)['concat'](_0x544fee['slice'](_0x306ec5,_0xab4eb5));return _0x5caf74['sort']((_0x313057,_0x4b894f)=>_0x313057['side']!=_0x4b894f['side']?_0x313057['side']-_0x4b894f['side']:_0x313057['level']!=_0x4b894f['level']?_0x313057['level']-_0x4b894f['level']:_0x313057['distance']!=_0x4b894f['distance']?_0x4b894f['distance']-_0x313057['distance']:!!_0x313057['isAdded']!=!!_0x4b894f['isAdded']?-0x1==_0x313057['side']||0x0==_0x313057['side']?_0x313057['isAdded']?-0x1:0x1:_0x313057['isAdded']?0x1:-0x1:_0x313057['index']-_0x4b894f['index']),{'commonTape':_0x5caf74,'iEnd':_0xab4eb5,'jEnd':_0x2ba633};function _0x3e1139(_0x1c73c7,_0x3c8d40,_0xa3f108){let _0x2a403a=-0x1,_0x37bbd8=Number['POSITIVE_INFINITY'],_0x598f66=!0x0;for(let _0x249db8=_0x3c8d40;_0x249db8<_0xa3f108;_0x249db8++)if(_0x5177b6['isInline'](_0x1c73c7[_0x249db8]['item'])||(_0x598f66=!0x1),_0x1c73c7[_0x249db8]['item']['startIndex']<_0x3c8d40&&(_0x2a403a=_0x249db8),_0x1c73c7[_0x249db8]['item']['endIndex']>=_0xa3f108){_0x37bbd8=_0x249db8;break;}_0x598f66&&(_0x2a403a=_0xa3f108-0x1);for(let _0x2cee45=_0x3c8d40;_0x2cee45<_0xa3f108;_0x2cee45++)_0x1c73c7[_0x2cee45]['side']=_0x2cee45<=_0x2a403a?-0x1:_0x2cee45<_0x37bbd8?0x0:0x1,_0x1c73c7[_0x2cee45]['index']=_0x2cee45;let _0x471360=0x0;for(let _0x227f60=_0x3c8d40;_0x227f60<=_0x2a403a;_0x227f60++)0x0==_0x1c73c7[_0x227f60]['distance']?_0x1c73c7[_0x227f60]['level']=_0x471360:(_0x471360++,_0x1c73c7[_0x227f60]['level']=_0x471360,_0x471360++);for(let _0x37d7e3=_0x3c8d40;_0x37d7e3<_0xa3f108;_0x37d7e3++)0x0==_0x1c73c7[_0x37d7e3]['side']&&(_0x1c73c7[_0x37d7e3]['level']=_0x471360);_0x471360=0x0;for(let _0x4e7938=_0xa3f108-0x1;_0x4e7938>=_0x37bbd8;_0x4e7938--)0x0==_0x1c73c7[_0x4e7938]['distance']?_0x1c73c7[_0x4e7938]['level']=_0x471360:(_0x471360--,_0x1c73c7[_0x4e7938]['level']=_0x471360,_0x471360--);}}['_fixObsoleteTags'](_0x467c10){const _0x3e7c8a=new Map(),_0x5a68d1=this['editor']['model']['schema'];for(let _0x469f31=0x1;_0x469f31<_0x467c10['length'];_0x469f31++){let _0x1576bf,_0x54b97f,_0x46752f;const _0x44fc73=_0x467c10[_0x469f31],_0x2d25a2=_0x467c10[_0x469f31-0x1];if('text'==_0x44fc73['type'])continue;if(_0x44fc73['type']!=_0x2d25a2['type'])continue;if(!_0x5a68d1['isBlock'](_0x2d25a2['item'])||_0x5a68d1['isLimit'](_0x2d25a2['item']))continue;if(!_0x5a68d1['isBlock'](_0x44fc73['item'])||_0x5a68d1['isLimit'](_0x44fc73['item']))continue;if((_0x467c10[_0x469f31]['isAdded']||_0x467c10[_0x469f31]['isAddSuggestion'])&&_0x467c10[_0x469f31-0x1]['isRemoved'])_0x1576bf=_0x467c10[_0x469f31],_0x54b97f=_0x467c10[_0x469f31-0x1],_0x46752f=_0x469f31-0x1;else{if(!_0x467c10[_0x469f31]['isRemoved']||!_0x467c10[_0x469f31-0x1]['isAdded']&&!_0x467c10[_0x469f31-0x1]['isAddSuggestion'])continue;_0x1576bf=_0x467c10[_0x469f31-0x1],_0x54b97f=_0x467c10[_0x469f31],_0x46752f=_0x469f31;}const _0x47a5d9=_0x1576bf['level']==_0x54b97f['level'],_0x513e1a=Math['abs'](_0x1576bf['level'])<Math['abs'](_0x54b97f['level'])&&0x0==_0x54b97f['distance'];(_0x47a5d9||_0x513e1a)&&(_0x3e7c8a['set'](_0x54b97f['id'],_0x1576bf['id']),_0x467c10['splice'](_0x46752f,0x1),_0x469f31--,_0x1576bf['isAdded']=!0x1);}for(let _0x56f93b=0x0;_0x56f93b<_0x467c10['length'];_0x56f93b++)_0x3e7c8a['has'](_0x467c10[_0x56f93b]['pairId'])&&(_0x467c10[_0x56f93b]['pairId']=_0x3e7c8a['get'](_0x467c10[_0x56f93b]['pairId']));}['_removeMissingPairs'](_0x83fc53){const _0xf8fb6=new Set(_0x83fc53['map'](_0xc81d38=>_0xc81d38['id']));for(let _0x3babf4=0x0;_0x3babf4<_0x83fc53['length'];_0x3babf4++)_0xf8fb6['has'](_0x83fc53[_0x3babf4]['pairId'])||0x0==_0x83fc53[_0x3babf4]['distance']||(_0x83fc53[_0x3babf4]['isIncorrect']=!0x0);return _0x83fc53['filter'](_0x4211f5=>!_0x4211f5['isIncorrect']);}['_markMismatchedRemovedTags'](_0x139c8c){const _0x5717d9=new Set();for(let _0x407c5c=0x0;_0x407c5c<_0x139c8c['length'];_0x407c5c++){if(_0x5717d9['has'](_0x139c8c[_0x407c5c]['id'])&&_0x139c8c[_0x407c5c]['isRemoved']&&(_0x139c8c[_0x407c5c]['isIncorrect']=!0x0),_0x139c8c[_0x407c5c]['isIncorrect'])continue;if(0x0==_0x139c8c[_0x407c5c]['distance'])continue;if('elementStart'!=_0x139c8c[_0x407c5c]['type'])continue;if(null==_0x139c8c[_0x407c5c]['pairId'])continue;let _0x1e8387=_0x407c5c+0x1,_0x4ac433=0x0;for(;_0x139c8c[_0x1e8387]['id']!=_0x139c8c[_0x407c5c]['pairId'];)'elementStart'==_0x139c8c[_0x1e8387]['type']?_0x4ac433++:'elementEnd'==_0x139c8c[_0x1e8387]['type']&&_0x4ac433--,_0x1e8387++;if(0x0!=_0x4ac433){if(_0x139c8c[_0x407c5c]['isRemoved'])_0x139c8c[_0x407c5c]['isIncorrect']=!0x0;else{for(;_0x1e8387!=_0x407c5c;)_0x139c8c[_0x1e8387]['isRemoved']&&0x0!=_0x139c8c[_0x1e8387]['distance']&&(_0x139c8c[_0x1e8387]['isIncorrect']=!0x0,_0x5717d9['add'](_0x139c8c[_0x1e8387]['pairId'])),_0x1e8387--;}}}return _0x139c8c['filter'](_0x13a58c=>!_0x13a58c['isIncorrect']);}['_removeUnsupportedChanges'](_0x2b7629){const _0x2bbd40=this['editor']['model']['schema'];for(let _0x6f43b5=0x0;_0x6f43b5<_0x2b7629['length'];_0x6f43b5++){if(!(_0x2b7629[_0x6f43b5]['isAdded']||_0x2b7629[_0x6f43b5]['isAddSuggestion']||_0x2b7629[_0x6f43b5]['isRemoved']||_0x2b7629[_0x6f43b5]['isRemoveSuggestion']))continue;if(0x0==_0x2b7629[_0x6f43b5]['distance'])continue;const _0x15a1e9=_0x2b7629[_0x6f43b5]['item'];_0x2bbd40['isBlock'](_0x15a1e9)||_0x2bbd40['isLimit'](_0x15a1e9)||(_0x2b7629[_0x6f43b5]['isAdded']&&delete _0x2b7629[_0x6f43b5]['isAdded'],_0x2b7629[_0x6f43b5]['isAddSuggestion']&&delete _0x2b7629[_0x6f43b5]['isAddSuggestion'],_0x2b7629[_0x6f43b5]['isRemoveSuggestion']&&delete _0x2b7629[_0x6f43b5]['isRemoveSuggestion'],_0x2b7629[_0x6f43b5]['isRemoved']&&(_0x2b7629[_0x6f43b5]['isIncorrect']=!0x0));}return _0x2b7629['filter'](_0x233cf2=>!_0x233cf2['isIncorrect']);}['_makeModelFromTape'](_0x497ef1,_0x21e378,_0x38bf39){const _0x586014=new _t(),_0x41c912=[],_0x379dfa=new Map(),_0x29cf82=this['editor']['model'],_0x50e327=_0x29cf82['schema'],_0x51a97d=[_0x586014],_0xba13be={},_0x554156={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3b7d88=null;const _0x44ed62=[0x0];for(let _0x2ca83d=0x0;_0x2ca83d<_0x497ef1['length'];_0x2ca83d++){let _0x3c4e1a,_0x29ff91;if('elementStart'===_0x497ef1[_0x2ca83d]['type']){_0x3c4e1a=_0x29cf82['createPositionFromPath'](_0x586014,_0x44ed62);const _0x49dba0=new ft(_0x497ef1[_0x2ca83d]['item']['name'],_0x497ef1[_0x2ca83d]['item']['getAttributes']());_0x51a97d[0x0]['_appendChild'](_0x49dba0),_0x44ed62['push'](0x0),_0x51a97d['unshift'](_0x49dba0),_0x29ff91=_0x29cf82['createPositionFromPath'](_0x586014,_0x44ed62),_0x3b7d88=null;}else{if('elementEnd'===_0x497ef1[_0x2ca83d]['type'])_0x51a97d['shift'](),_0x3c4e1a=_0x29cf82['createPositionFromPath'](_0x586014,_0x44ed62),_0x44ed62['pop'](),_0x44ed62[_0x44ed62['length']-0x1]++,_0x29ff91=_0x29cf82['createPositionFromPath'](_0x586014,_0x44ed62),_0x3b7d88=null;else{if(_0x3c4e1a=_0x29cf82['createPositionFromPath'](_0x586014,_0x44ed62),_0x3b7d88&&_0x13f213(_0x3b7d88,_0x497ef1[_0x2ca83d]['item']))_0x3b7d88['_data']+=_0x497ef1[_0x2ca83d]['item']['data'];else{const _0xcd1f1b=new yt(_0x497ef1[_0x2ca83d]['item']['data'],_0x497ef1[_0x2ca83d]['item']['getAttributes']());_0x51a97d[0x0]['_appendChild'](_0xcd1f1b),_0x3b7d88=_0xcd1f1b;}_0x44ed62[_0x44ed62['length']-0x1]+=_0x497ef1[_0x2ca83d]['item']['offsetSize'],_0x29ff91=_0x29cf82['createPositionFromPath'](_0x586014,_0x44ed62);}}for(const _0x104096 of _0x497ef1[_0x2ca83d]['markersStart'])_0x379dfa['set'](_0x104096,{'start':_0x3c4e1a,'end':null});_0x3cc29b('isRemoveSuggestion',_0x2ca83d,_0x3c4e1a,_0x29ff91),_0x3cc29b('isAddSuggestion',_0x2ca83d,_0x3c4e1a,_0x29ff91),_0x3cc29b('isRemoved',_0x2ca83d,_0x3c4e1a,_0x29ff91),_0x3cc29b('isAdded',_0x2ca83d,_0x3c4e1a,_0x29ff91);for(const _0x386d28 of _0x497ef1[_0x2ca83d]['markersEnd']){_0x379dfa['get'](_0x386d28)['end']=_0x29ff91;}}for(const [_0xd34dce,_0x2befbc]of _0x379dfa){const _0x181950=this['editor']['model']['createRange'](_0x2befbc['start'],_0x2befbc['end']);_0x586014['markers']['set'](_0xd34dce,_0x181950);}return _0x41c912['sort']((_0x4e0c5b,_0x29ba38)=>{const _0x4d2fe0=_0x586014['markers']['get']('revision:'+_0x4e0c5b['id']),_0x1899c2=_0x586014['markers']['get']('revision:'+_0x29ba38['id']);return _0x4d2fe0['start']['isBefore'](_0x1899c2['start'])?-0x1:_0x4d2fe0['start']['isAfter'](_0x1899c2['start'])?0x1:_0x4d2fe0['end']['isBefore'](_0x1899c2['end'])?-0x1:_0x4d2fe0['end']['isAfter'](_0x1899c2['end'])?0x1:'add'===_0x4e0c5b['type']?-0x1:0x1;}),{'root':_0x586014,'changes':_0x41c912};function _0x3cc29b(_0x2685b3,_0x4bca44,_0x41bf1d,_0x223ffa){const _0x5adba6=!!_0x497ef1[_0x4bca44][_0x2685b3],_0x5bc31b=_0x5adba6?_0x497ef1[_0x4bca44][_0x2685b3]['userId']:null,_0x239efd=_0x4bca44===_0x497ef1['length']-0x1,_0xa3403=_0x554156[_0x2685b3][0x0],_0x5d62ba=_0x50e327['isObject'](_0x497ef1[_0x4bca44]['item']);!_0xba13be[_0x2685b3]&&_0x5adba6?_0xba13be[_0x2685b3]={'start':_0x41bf1d,'tapeItem':_0x497ef1[_0x4bca44],'userId':_0x5bc31b,'type':_0x2685b3}:_0xba13be[_0x2685b3]&&!_0x5adba6?(_0xba13be[_0x2685b3]['end']=_0x41bf1d,_0x312bbc(_0xba13be[_0x2685b3]),_0xba13be[_0x2685b3]=null):_0xba13be[_0x2685b3]&&_0x5adba6&&_0xba13be[_0x2685b3]['userId']!==_0x5bc31b&&(_0xba13be[_0x2685b3]['end']=_0x41bf1d,_0xa3403&&_0xa3403['userId']===_0xba13be[_0x2685b3]['userId']||_0x312bbc(_0xba13be[_0x2685b3]),_0xba13be[_0x2685b3]={'start':_0x41bf1d,'tapeItem':_0x497ef1[_0x4bca44],'userId':_0x5bc31b,'type':_0x2685b3}),_0xba13be[_0x2685b3]&&_0x5d62ba&&('elementStart'!==_0x497ef1[_0x4bca44]['type']||_0xa3403&&_0xa3403['userId']===_0x5bc31b||_0x554156[_0x2685b3]['unshift']({'userId':_0x5bc31b,'object':_0x497ef1[_0x4bca44]['item'],'change':_0xba13be[_0x2685b3]}),'elementEnd'===_0x497ef1[_0x4bca44]['type']&&_0xa3403&&_0xa3403['object']===_0x497ef1[_0x4bca44]['item']&&(_0x554156[_0x2685b3]['shift'](),_0xba13be[_0x2685b3]=_0xa3403['change'])),_0xba13be[_0x2685b3]&&_0x239efd&&(_0xba13be[_0x2685b3]['end']=_0x223ffa,_0x312bbc(_0xba13be[_0x2685b3]),_0xba13be[_0x2685b3]=null);}function _0x312bbc({start:_0x53ea5c,end:_0x480402,tapeItem:_0x3aebb9,userId:_0x483c1e,type:_0x116868}){const _0x5cab07=_0x3aebb9['item'],_0x2874cc=_0x29cf82['schema']['isBlock'](_0x5cab07)&&!_0x29cf82['schema']['isLimit'](_0x5cab07),_0x1e18f8=_0x53ea5c['nodeAfter']==_0x480402['parent']&&_0x480402['isAtStart'];if(_0x2874cc&&_0x1e18f8)return;const _0x41cae9=_0x29cf82['createRange'](_0x53ea5c,_0x480402),_0x2e93eb=_0x21e378['get'](_0x483c1e),_0x401a08=new r({'author':_0x2e93eb,'type':'isAdded'==_0x116868||'isAddSuggestion'==_0x116868?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x116868||'isRemoveSuggestion'==_0x116868},'createdAt':new Date(),'rootName':_0x38bf39});_0x41c912['push'](_0x401a08),_0x586014['markers']['set']('revision:'+_0x401a08['id'],_0x41cae9);}function _0x13f213(_0x511f2a,_0x4ed7ac){const _0x15be0a=_0x511f2a['getAttributes'](),_0x36da3d=_0x4ed7ac['getAttributes']();for(const _0x2fd23a of _0x15be0a){if(_0x2fd23a[0x1]!==_0x4ed7ac['getAttribute'](_0x2fd23a[0x0]))return!0x1;_0x36da3d['next']();}return _0x36da3d['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x1b98ac=>{const _0x54cc52=_0x1b98ac['markerName']['split'](':')[0x1],_0x569408=this['_getChangeFromId'](_0x54cc52);if(!_0x569408)return null;const _0x4f053c='add'==_0x569408['type']?'insertion':'deletion',_0x9477b0=['ck-suggestion-marker','ck-suggestion-marker-'+_0x4f053c];return _0x569408['data']['isSuggestion']&&_0x9477b0['push']('ck-suggestion-marker-'+_0x4f053c+'-new'),this['activeChange']==_0x569408&&_0x9477b0['push']('ck-suggestion-marker--active'),{'classes':_0x9477b0,'attributes':{'data-change-id':_0x54cc52}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x30d1dc=>{_0x30d1dc['on']('element:pre',(_0x8883b3,_0x32a862,_0x599bf3)=>{const _0x5db1e6=_0x32a862['viewItem']['getChild'](0x0);if(!_0x5db1e6||!_0x5db1e6['is']('element','code'))return;if(!_0x599bf3['consumable']['consume'](_0x5db1e6,{'attributes':['vid_start','vid_end']}))return;const _0x6c582f=_0x32a862['modelRange']['start']['nodeAfter'];_0x599bf3['writer']['setAttribute']('vid_start',_0x5db1e6['getAttribute']('vid_start'),_0x6c582f),_0x599bf3['writer']['setAttribute']('vid_end',_0x5db1e6['getAttribute']('vid_end'),_0x6c582f);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x1ce4b7=>{_0x1ce4b7['on']('element',(_0x81c0e8,_0x507bd5,_0x5d4013)=>{if(!_0x5d4013['consumable']['consume'](_0x507bd5['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x507bd5['modelRange']['isCollapsed'])return;const _0x504de6=_0x507bd5['modelRange']['start']['nodeAfter'];_0x504de6['hasAttribute']('vid_start')||_0x504de6['hasAttribute']('vid')||(_0x5d4013['writer']['setAttribute']('vid_start',_0x507bd5['viewItem']['getAttribute']('vid_start'),_0x504de6),_0x5d4013['writer']['setAttribute']('vid_end',_0x507bd5['viewItem']['getAttribute']('vid_end'),_0x504de6));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x3324c2=>_0x3324c2['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x410749,[,_0x400342])=>{['vid_start','vid_end','vid']['includes'](_0x400342)&&(_0x410749['return']=!0x0,_0x410749['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x2942e6=>{_0x2942e6['on']('attribute:vid',(_0x402096,_0x41a1d5,_0x78d101)=>{if('\x20'!=_0x41a1d5['item']['data']||_0x41a1d5['item']['parent']['maxOffset']>0x1)return;if(!_0x78d101['consumable']['consume'](_0x41a1d5['item'],_0x402096['name']))return;const _0x126d9f=_0x78d101['writer'],_0x29b1c8=_0x78d101['mapper']['toViewRange'](_0x41a1d5['range']);_0x126d9f['wrap'](_0x29b1c8,_0x126d9f['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x22c13c){const _0x1ab08c=_0x22c13c['plugins']['get']('RevisionViewer');return(_0x34cfa6,_0x5e0857,_0x2d3535)=>{const _0xc6c63b=_0x5e0857['markerName']['split'](':')[0x1],_0x45c5db=_0x1ab08c['_getChangeFromId'](_0xc6c63b);if(!_0x45c5db)return null;const _0x262589='add'==_0x45c5db['type']?'split':'merge';if(!_0x2d3535['consumable']['test'](_0x5e0857['markerRange'],_0x34cfa6['name']))return;const _0x48a698=_0x5e0857['markerRange']['getWalker'](),_0xde9316=_0x5e0857['markerRange']['start'],_0x21d769=_0x22c13c['model']['schema'];let _0x5a3fc7=null,_0x19ac8c=null,_0x5a4c53=!0x1,_0x4767f3=!0x1;for(const _0x2e7238 of _0x48a698){const _0x106eb4=_0x2e7238['item'];_0x5a4c53=_0x5a4c53||_0x21d769['isContent'](_0x106eb4);const _0x35ae71=_0x2d3535['mapper']['toViewElement'](_0x106eb4);if(_0x35ae71&&_0x35ae71['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x2e7238['type']&&(_0x21d769['isBlock'](_0x106eb4)&&!_0x21d769['isLimit'](_0x106eb4)&&(_0x106eb4['nextSibling']||_0xde9316['isAtEnd']?_0x5a3fc7&&_0x5a3fc7['parent']==_0x106eb4||(_0x5a3fc7=_0x106eb4,_0x1ccbaf(_0x2e7238['previousPosition']),_0x4767f3=!0x0):_0x19ac8c=_0x19ac8c||_0x2e7238['previousPosition']));}function _0x1ccbaf(_0x92621f){const _0x48e088=_0x2d3535['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x262589}),_0xeb3b13=_0x2d3535['mapper']['toViewPosition'](_0x92621f);_0x45c5db['data']['isSuggestion']&&_0x2d3535['writer']['addClass']('ck-suggestion-marker-'+_0x262589+'-new',_0x48e088),_0x1ab08c['activeChange']==_0x45c5db&&_0x2d3535['writer']['addClass']('ck-suggestion-marker--active',_0x48e088),_0x2d3535['writer']['insert'](_0xeb3b13,_0x48e088),_0x2d3535['mapper']['bindElementToMarker'](_0x48e088,_0x5e0857['markerName']);}_0x5a4c53||_0x4767f3||!_0x19ac8c||_0x1ccbaf(_0x19ac8c);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x42a3c3,_0x35a288,_0x21ee3d)=>{const _0x2acced=_0x21ee3d['mapper']['markerNameToElements'](_0x35a288['markerName']);if(_0x2acced){for(const _0x182425 of _0x2acced)(_0x182425['hasClass']('ck-suggestion-marker-split')||_0x182425['hasClass']('ck-suggestion-marker-merge'))&&(_0x21ee3d['mapper']['unbindElementFromMarkerName'](_0x182425,_0x35a288['markerName']),_0x21ee3d['writer']['remove'](_0x182425));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x49d2be,_0x55b6e9,_0x3a437c)=>{const _0x4d1951=_0x55b6e9['markerName']['split'](':')[0x1],_0x2c7399=this['_getChangeFromId'](_0x4d1951);if(!_0x2c7399)return null;const _0x4a785c='add'==_0x2c7399['type']?'split':'merge';if(_0x3a437c['consumable']['test'](_0x55b6e9['markerRange'],_0x49d2be['name']))for(const _0x4220ac of _0x55b6e9['markerRange']['getItems']()){if(!_0x4220ac['is']('element','softBreak'))continue;const _0x52e4e=_0x3a437c['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4a785c}),_0x59617f=_0x3a437c['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x4220ac));_0x2c7399['data']['isSuggestion']&&_0x3a437c['writer']['addClass']('ck-suggestion-marker-'+_0x4a785c+'-new',_0x52e4e),this['activeChange']==_0x2c7399&&_0x3a437c['writer']['addClass']('ck-suggestion-marker--active',_0x52e4e),_0x3a437c['writer']['insert'](_0x59617f,_0x52e4e),_0x3a437c['mapper']['bindElementToMarker'](_0x52e4e,_0x55b6e9['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x274775=>{for(const _0x5cc04e of this['editor']['model']['document']['getRootNames']()){const _0x164f17=this['editor']['model']['document']['getRoot'](_0x5cc04e),_0x5ce3c8=this['editor']['editing']['view']['document']['getRoot'](_0x5cc04e);if(_0x5ce3c8){const _0x2eaada=_0x164f17['getAttribute']('revisionHistoryAttachChange');if(_0x274775['removeAttribute']('data-change-id',_0x5ce3c8),_0x274775['removeClass']('ck-revision-history-root-add',_0x5ce3c8),_0x274775['removeClass']('ck-revision-history-root-remove',_0x5ce3c8),_0x274775['removeClass']('ck-revision-history-root--active',_0x5ce3c8),_0x2eaada){const _0x484baf=this['_getChangeFromId'](_0x2eaada);if(!_0x484baf)return null;_0x274775['setAttribute']('data-change-id',_0x2eaada,_0x5ce3c8),_0x274775['addClass']('ck-revision-history-root-'+_0x484baf['type'],_0x5ce3c8),this['activeChange']==_0x484baf&&_0x274775['addClass']('ck-revision-history-root--active',_0x5ce3c8);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x1e0ae3=>'revision-comment:'+_0x1e0ae3,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x4ddca9=>'revision-suggestion:'+_0x4ddca9,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x378c5f=>({'name':'suggestion:'+_0x378c5f,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x4f9cfa=>{const _0x2778fa=_0x4f9cfa['markerName']['split'](':')[0x1];return'insertion'!=_0x2778fa&&'deletion'!=_0x2778fa?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x2778fa]};}}),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',(_0x2f6e17,_0x131d64,_0x438903)=>{const _0x4b2086=_0x438903['mapper']['markerNameToElements'](_0x131d64['markerName']);if(_0x4b2086){for(const _0x39ba4a of _0x4b2086)_0x39ba4a['is']('uiElement')&&(_0x438903['mapper']['unbindElementFromMarkerName'](_0x39ba4a,_0x131d64['markerName']),_0x438903['writer']['remove'](_0x39ba4a));}},{'priority':'high'});}['_getChangeFromId'](_0x1b5fe9){return this['_changeIdToChange']['get'](_0x1b5fe9);}['_getViewForChange'](_0x6a1777){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x6a1777),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x4b1c41,_0x2d8064,_0xa9f14,_0x435e2d)=>{_0x435e2d&&this['_balloon']['remove'](_0x435e2d),_0xa9f14&&(this['_balloon']['add']({'view':_0xa9f14,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x1bd737=this['editor']['editing'],_0x3cd0b8=this['_getChangeFromId'](_0xa9f14['changeId']);let _0x4d6cf0;if(_0x3cd0b8['data']['isOnRoot']){const _0x352434=_0x1bd737['view']['getDomRoot'](_0x3cd0b8['rootName']);_0x4d6cf0=Array['from'](_0x352434['getClientRects']());}else{const _0x497dcc=this['editor']['model']['markers']['get']('revision:'+_0xa9f14['changeId']);_0x4d6cf0=Array['from'](_0x1bd737['mapper']['markerNameToElements'](_0x497dcc['name']))['map'](_0x6a3001=>_0x1bd737['view']['domConverter']['mapViewToDom'](_0x6a3001))['map'](_0x51062a=>Array['from'](_0x51062a['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x4d6cf0[0x0];return _0x4d6cf0['find'](_0x33fdd5=>_0x33fdd5['top']-0x3<=this['_activeViewTarget']['y']&&_0x33fdd5['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x33fdd5['left']-0x3<=this['_activeViewTarget']['x']&&_0x33fdd5['right']+0x3>=this['_activeViewTarget']['x'])||_0x4d6cf0[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x546935,_0x401188,_0x2e195b,_0x3cd5fe)=>{this['activeView']=_0x2e195b?this['_getViewForChange'](_0x2e195b):null,this['editor']['model']['change'](()=>{const _0x3050ad=this['editor']['editing'];_0x3cd5fe&&(_0x3cd5fe['data']['isOnRoot']?_0x3050ad['view']['change'](_0x1c15ff=>{_0x1c15ff['removeClass']('ck-revision-history-root--active',_0x3050ad['view']['document']['getRoot'](_0x3cd5fe['rootName']));}):_0x3050ad['reconvertMarker']('revision:'+_0x3cd5fe['id'])),_0x2e195b&&(_0x2e195b['data']['isOnRoot']?_0x3050ad['view']['change'](_0xe95b5a=>{_0xe95b5a['addClass']('ck-revision-history-root--active',_0x3050ad['view']['document']['getRoot'](_0x2e195b['rootName']));}):_0x3050ad['reconvertMarker']('revision:'+_0x2e195b['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x3466d9,_0xc877f9)=>{if(this['activeChange'])return;const _0xfcd5d=this['_findChangeIdFromDomTarget'](_0xc877f9['target']),_0x53f27e=this['_changeIdToChange']['get'](_0xfcd5d);_0x53f27e?(this['_activeViewTarget']={'x':_0xc877f9['domEvent']['x'],'y':_0xc877f9['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x53f27e)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x3c61b8,_0x59237b)=>{const _0x516032=this['_findChangeIdFromDomTarget'](_0x59237b['target']),_0xd908fc=this['_changeIdToChange']['get'](_0x516032);_0xd908fc?(this['_activeViewTarget']={'x':_0x59237b['domEvent']['x'],'y':_0x59237b['domEvent']['y']},_0xd908fc===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0xd908fc):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x43d386){do{const _0x5ef2e0=_0x43d386['getAttribute']('data-change-id');if(_0x5ef2e0)return _0x5ef2e0;_0x43d386=_0x43d386['parent'];}while(_0x43d386);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x3361a3=>{for(const _0x578ecb of this['editor']['model']['markers'])_0x3361a3['removeMarker'](_0x578ecb);});}constructor(_0x2ff8b4){super(_0x2ff8b4),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',(_0x1f1e99,_0x5afd7e,_0xc9a379)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0xf97685=>{for(const _0x11bf2e of this['editor']['editing']['view']['document']['roots'])_0xc9a379?_0xf97685['removeClass']('ck-editor__editable__overlay',_0x11bf2e):_0xf97685['addClass']('ck-editor__editable__overlay',_0x11bf2e);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x60cbef=>null!==_0x60cbef),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0xc4cb30,_0x783f91,_0x40a1b1)=>_0xc4cb30&&_0x40a1b1?_0x783f91['changes']['getIndex'](_0x40a1b1):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x4f44b1,_0x1ffdc8)=>_0x4f44b1?_0x1ffdc8['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x37c051);}}function et(_0x3973be,_0x39afd7){return(_0x28070f,_0x599a25,_0x10c30c)=>{if(!_0x10c30c['consumable']['test'](_0x599a25['markerRange'],_0x28070f['name']))return;const _0x4e4c2b=_0x599a25['markerRange']['getWalker'](),_0x844483=_0x599a25['markerRange']['start'],_0x55edc6=_0x3973be['model']['schema'];let _0x85bb8b=null,_0x481479=null,_0x45f82f=!0x1,_0x50d2e3=!0x1;for(const _0x519272 of _0x4e4c2b){const _0x539032=_0x519272['item'];_0x45f82f=_0x45f82f||_0x55edc6['isContent'](_0x539032);const _0x33922f=_0x10c30c['mapper']['toViewElement'](_0x539032);if(_0x33922f&&_0x33922f['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x519272['type']&&(_0x55edc6['isBlock'](_0x539032)&&!_0x55edc6['isLimit'](_0x539032)&&(_0x539032['nextSibling']||_0x844483['isAtEnd']?_0x85bb8b&&_0x85bb8b['parent']==_0x539032||(_0x85bb8b=_0x539032,_0x3a7d0b(_0x519272['previousPosition']),_0x50d2e3=!0x0):_0x481479=_0x481479||_0x519272['previousPosition']));}function _0x3a7d0b(_0x7fc5ab){const _0x4bdb62=_0x10c30c['mapper']['toViewPosition'](_0x7fc5ab),_0x58dc35=_0x10c30c['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x39afd7});_0x10c30c['writer']['insert'](_0x4bdb62,_0x58dc35),_0x10c30c['mapper']['bindElementToMarker'](_0x58dc35,_0x599a25['markerName']);}_0x45f82f||_0x50d2e3||!_0x481479||_0x3a7d0b(_0x481479);};}class bt extends _0x19eace{['execute'](){const _0xb94853=this['editor'],_0x41868c=_0xb94853['plugins']['get'](d),_0x3cbffc=_0x41868c['isReady']?_0x41868c['diff']['newRevisionId']:null;_0xb94853['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x3cbffc);}['refresh'](){const {isReady:_0x531c00,isEnabled:_0x250369}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x531c00&&_0x250369;}constructor(_0x3dbbd3){super(_0x3dbbd3);const _0x214b4f=_0x3dbbd3['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x214b4f,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x214b4f,'change:isEnabled',()=>this['refresh']());}}class Rt extends _0x19eace{['execute'](){const _0x47feb8=this['editor'],_0x3cc86b=_0x47feb8['plugins']['get'](d),{isNavigationMode:_0x42e569,currentChangeNumber:_0x5ad222}=_0x3cc86b;let _0x262ab2;if(_0x3cc86b['activeChange']=_0x42e569?_0x3cc86b['diff']['changes']['get'](_0x5ad222+this['_step']):_0x3cc86b['diff']['changes']['first'],_0x3cc86b['activeChange']['data']['isOnRoot'])_0x262ab2=_0x47feb8['editing']['view']['getDomRoot'](_0x3cc86b['activeChange']['rootName']);else{const _0x50d6f9=_0x47feb8['model']['markers']['get']('revision:'+_0x3cc86b['activeChange']['id']);_0x262ab2=_0x4a4f4a(_0x47feb8['editing'],_0x50d6f9);}_0x138191({'target':_0x262ab2,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0xa9414e,currentChangeNumber:_0x99f4a5,numberOfChanges:_0x34ebf6,isReady:_0x152037,isEnabled:_0x7717c3}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x7717c3&&_0x152037&&_0x34ebf6)&&(!_0xa9414e||(0x1===this['_step']?_0x99f4a5<_0x34ebf6-0x1:_0x99f4a5>0x0));}constructor(_0x490ff1,{direction:_0x16016a}){super(_0x490ff1);const _0x4e10a3=_0x490ff1['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x16016a?0x1:-0x1,this['listenTo'](_0x4e10a3,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x4e10a3,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x4e10a3,'change:activeChange',()=>this['refresh']());}}class _i extends _0x42c77d{constructor(_0x4e1a61){super(_0x4e1a61);const _0x33c97b=this['bindTemplate'],_0x23bb42=new _0x15c4b0(_0x4e1a61),_0x231fa4=new _0x15c4b0(_0x4e1a61);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',(_0x313f04,_0x31f3a9)=>_0x313f04&&_0x31f3a9>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x3b6bc3,_0x5bbe88,_0x4a9c6c,_0x587ad7)=>{if(!_0x3b6bc3)return y(_0x4e1a61,'Loading...');if(!_0x4a9c6c)return y(_0x4e1a61,'No\x20changes');const _0x19e3a0=y(_0x4e1a61,'NUMBER_OF_CHANGES',_0x4a9c6c);return _0x587ad7?y(_0x4e1a61,'X_OF_Y_CHANGES',[_0x5bbe88+0x1,_0x4a9c6c]):_0x19e3a0;}),_0x23bb42['set']({'label':y(_0x4e1a61,'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'}),_0x231fa4['set']({'label':y(_0x4e1a61,'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'}),_0x23bb42['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x231fa4['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x23bb42['on']('execute',()=>this['fire']('execute','backward')),_0x231fa4['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',_0x33c97b['if']('_isStatusLabelVisible','ck-hidden',_0x293b60=>!_0x293b60)]},'children':[{'text':_0x33c97b['to']('isNavigationMode',_0xd01047=>_0xd01047?y(_0x4e1a61,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x4e1a61,'Total')+':\x20')}]},{'text':_0x33c97b['to']('_statusText')}]},new _0x5303d5(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x23bb42,_0x231fa4]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x4611ab{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x20ecaf=this['editor']['editing']['view'];_0x20ecaf['change'](_0x3f3074=>{for(const _0x2414c3 of _0x20ecaf['document']['roots'])_0x3f3074['addClass'](ce,_0x2414c3);});}['hide'](){const _0x878391=this['editor']['editing']['view'];_0x878391['change'](_0x5dbe8b=>{for(const _0x2e90e5 of _0x878391['document']['roots'])_0x5dbe8b['removeClass'](ce,_0x2e90e5);});}}class R extends _0x4611ab{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x128dfe=this['editor'],_0x14f858=_0x128dfe['plugins']['get'](d),_0x16366a=_0x128dfe['plugins']['get'](de);_0x128dfe['ui']['componentFactory']['add']('exitToEditing',_0x3195fa=>{const _0x37c87f=new _0x15c4b0(_0x3195fa);return _0x37c87f['set']({'label':y(_0x3195fa,'Back\x20to\x20editing'),'icon':_0x3503f1['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x37c87f,'execute',()=>{_0x128dfe['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x37c87f;}),_0x128dfe['ui']['componentFactory']['add']('restoreRevision',_0x35b697=>{const _0x548490=new _0x15c4b0(_0x35b697);return _0x548490['set']({'label':y(_0x35b697,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x548490['bind']('isEnabled')['to'](_0x128dfe['commands']['get']('restoreRevision')),this['listenTo'](_0x548490,'execute',()=>_0x128dfe['execute']('restoreRevision')),_0x548490;}),_0x128dfe['ui']['componentFactory']['add']('changesNavigation',_0x3b2937=>{const _0x170d63=new _i(_0x3b2937),_0x354ab8=_0x128dfe['commands']['get']('showPreviousChange'),_0x1df5a4=_0x128dfe['commands']['get']('showNextChange');return _0x170d63['bind']('isBackwardNavigationEnabled')['to'](_0x354ab8,'isEnabled'),_0x170d63['bind']('isForwardNavigationEnabled')['to'](_0x1df5a4,'isEnabled'),_0x170d63['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x14f858),this['listenTo'](_0x170d63,'execute',(_0x117e73,_0x1e9958)=>{_0x128dfe['execute']('forward'===_0x1e9958?'showNextChange':'showPreviousChange');}),_0x170d63;}),_0x16366a['show'](),_0x14f858['on']('change:isReady',(_0x23cf17,_0x3acccb,_0x104c5e)=>{_0x104c5e?_0x16366a['hide']():_0x16366a['show']();});}}class vt extends mt{['render'](){super['render'](),this['_resizeObserver']=new kt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x24dfce=this['fieldView']['element'];this['_tooltipString']=_0x24dfce['scrollWidth']>_0x24dfce['clientWidth']&&_0x24dfce['value']||'';}constructor(_0x11b55d,_0x3624a3){super(_0x11b55d,_0x3624a3),this['_resizeObserver']=null;const _0x27ee51=this['bindTemplate'];this['set']({'label':y(_0x11b55d,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x11b55d,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x27ee51['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}}class ti extends _0x42c77d{constructor(_0x4205cc,_0x5acc8b,_0x5dc89c){super(_0x4205cc);const _0x4b5963=new _0x538fcf();_0x4b5963['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 _0x768429=['ck','ck-revision-history-sidebar__revision-author'];_0x5dc89c&&_0x768429['push']('ck-revision-history-sidebar__revision-author_creator');const _0x2c43e3=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x4205cc,_0x5dc89c?'Revision\x20creator':'Revision\x20author')},'children':[_0x4b5963,_0x5acc8b['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x768429},'children':_0x2c43e3});}}function ni(_0x4a9ea3,_0x23c6e8){const _0x54b831=_0x4a9ea3['bindTemplate'],_0x5298a4=_0x4a9ea3['locale'],_0x44bee2=_0x377434(_0x5298a4);_0x44bee2['panelPosition']='sw';const _0x5bd19f=function(_0x33f07d,_0x2152a3){const _0x38bab0=function(_0x89bd07,_0x4f76e4){const _0x37a590=_0x89bd07['locale'],_0xb0bfc7={'Compare\x20against\x20selected':y(_0x37a590,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x37a590,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x37a590,'Restore\x20this\x20revision')};return _0x4f76e4['map'](_0x214fea=>{const _0x4ac76a=_0xb0bfc7[_0x214fea['name']];return _0x4ac76a&&_0x4ac76a!==_0x214fea['name']&&(_0x214fea['name']=_0x4ac76a),_0x214fea;});}(_0x33f07d,_0x2152a3),_0x2bc874=new _0x627659();for(const _0x136306 of _0x38bab0){const _0x4452de={'type':'button','model':new to({'label':_0x136306['name'],'class':_0x136306['class'],'withText':!0x0,'_action':_0x136306['action']})};_0x4452de['model']['bind']('isEnabled')['to'](_0x33f07d,'isActionsDropdownOpen',_0x52620a=>'function'!=typeof _0x136306['isEnabled']||(!_0x52620a||_0x136306['isEnabled'](_0x33f07d))),_0x2bc874['add'](_0x4452de);}return _0x2bc874;}(_0x4a9ea3,_0x23c6e8);return _0x4a9ea3['bind']('isActionsDropdownOpen')['to'](_0x44bee2,'isOpen'),_0x44bee2['buttonView']['set']({'label':y(_0x5298a4,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x3503f1['threeVerticalDots']}),_0x44bee2['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x54b831['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x54b831['to'](_0x4a2463=>_0x4a2463['stopPropagation']())}}),_0x44bee2['on']('execute',_0x1fdfdd=>{_0x4a9ea3['isReady']&&'function'==typeof _0x1fdfdd['source']['_action']&&_0x1fdfdd['source']['_action'](_0x4a9ea3);}),_0x556d49(_0x44bee2,_0x5bd19f),_0x44bee2['listenTo'](_0x4a9ea3,'change:isActionsDropdownOpen',(_0x34c202,_0xd41120,_0x4b5167)=>{if(_0x4b5167)for(const _0x2b917f of _0x44bee2['listView']['items']){const _0x43dcf1=_0x2b917f['children']['first'],_0x1a842d=_0x23c6e8['find'](_0x5ea66a=>_0x5ea66a['action']===_0x43dcf1['_action'])['isVisible'];_0x2b917f['isVisible']=void 0x0===_0x1a842d||_0x1a842d(_0x4a9ea3);}}),_0x44bee2;}class ai extends _0x158f8f(_0x42c77d){['render'](){super['render']();const _0x8fa26f=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x8fa26f,'change',()=>{this['_requireRevisionName']&&!_0x8fa26f['value']||this['fire']('setName',{'id':this['id'],'name':_0x8fa26f['value']}),_0x8fa26f['value']||(_0x8fa26f['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}constructor(_0x2b190a,_0x3d1c8e,_0x215217,_0x5243c3){super(_0x2b190a);const _0x235a66=this['bindTemplate'],_0x5d896a=function(_0xb530e7,_0x25a632){const _0x194d90=Array['from'](_0x25a632['authors'])['filter'](_0x1cc61f=>_0x1cc61f!=_0x25a632['creator']);return _0x25a632['creator']&&_0x194d90['unshift'](_0x25a632['creator']),_0x194d90['map'](_0x36fa28=>new ti(_0xb530e7,_0x36fa28,_0x36fa28==_0x25a632['creator']));}(_0x2b190a,_0x3d1c8e);this['id']=_0x3d1c8e['id'],this['_revision']=_0x3d1c8e,this['_requireRevisionName']=_0x5243c3,this['bind']('name','createdAt')['to'](_0x3d1c8e),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x1bf86f=>{return _0x556a2e=_0x2b190a['uiLanguage'],(_0x1d8ecd=_0x1bf86f)['toLocaleDateString'](_0x556a2e,{'month':'long','day':'numeric'})+',\x20'+_0x1d8ecd['toLocaleTimeString'](_0x556a2e,{'hour':'numeric','minute':'numeric'});var _0x556a2e,_0x1d8ecd;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new vt(_0x2b190a,_0x50d707),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x268dca=>_0x268dca||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x1f8519,_0x1efc2f)=>_0x1f8519&&_0x1efc2f),this['revisionActionsView']=_0x215217&&_0x215217['length']?ni(this,_0x215217):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x235a66['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x235a66['if']('isEnabled','ck-disabled',_0x5488e2=>!_0x5488e2),_0x235a66['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x235a66['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x235a66['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':_0x235a66['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':_0x5d896a}]},this['revisionActionsView']],'on':{'click':_0x235a66['to'](_0x5d1fdf=>{_0x5d1fdf['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}}function di(_0x590164,_0x486bd4){const _0xae98ad=_0x38471c['fromJSDate'](_0x590164)['setLocale'](_0x486bd4),_0x1cb899=_0x38471c['local'](),_0x3cf88b=_0x1cb899['minus']({'days':0x1})['startOf']('day');let _0x51b084,_0x516462;return _0xae98ad['hasSame'](_0x1cb899,'day')?(_0x51b084=_0xae98ad['startOf']('day')['toJSDate'](),_0x516462=_0xae98ad['toRelativeCalendar']()):_0xae98ad['hasSame'](_0x3cf88b,'day')?(_0x51b084=_0x3cf88b['toJSDate'](),_0x516462=_0xae98ad['toRelativeCalendar']()):_0xae98ad['hasSame'](_0x1cb899,'week')?(_0x51b084=_0xae98ad['startOf']('week')['toJSDate'](),_0x516462=_0xae98ad['weekdayLong']||''):_0xae98ad['hasSame'](_0x1cb899,'year')?(_0x51b084=_0xae98ad['startOf']('month')['toJSDate'](),_0x516462=_0xae98ad['monthLong']||''):(_0x51b084=_0xae98ad['startOf']('year')['toJSDate'](),_0x516462=String(_0xae98ad['year'])),{'startDate':_0x51b084,'localizedPeriodName':_0x516462};}class mi extends _0x42c77d{['addRevision'](_0x26e4ec){const _0x4a7cad=new ai(this['locale'],_0x26e4ec,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x4a7cad);}['removeRevision'](_0x19c50e){const _0x1ff572=this['revisionViews']['find'](_0x9a6493=>_0x9a6493['id']===_0x19c50e['id']);this['revisionViews']['remove'](_0x1ff572);}constructor(_0x19e3a9,_0x126770,_0x403715,_0x20e3c2){super(_0x19e3a9);const _0x3e5e7c=di(_0x126770,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x126770,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x403715,this['_requireRevisionName']=_0x20e3c2,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':_0x3e5e7c}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}}class as extends _0x42c77d{constructor(_0x269152){super(_0x269152);const _0xac200=new _0x538fcf();_0xac200['content']=_0x3503f1['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0xac200,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x269152,'Revision\x20history')]}]});}}class ci extends _0x42c77d{['render'](){super['render']();for(const _0x392570 of this['_revisions'])this['_addRevision'](_0x392570);this['_revisions']['on']('add',(_0x303548,_0x27c900)=>{this['_addRevision'](_0x27c900);}),this['_revisions']['on']('remove',(_0x23c253,_0x23bffe)=>{this['_removeRevision'](_0x23bffe);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x93a7f9=>_0x93a7f9['revisionViews']['map'](_0x5c560f=>_0x5c560f))['flat']();}['selectRevision'](_0x1dd426){for(const _0x38893f of this['revisionViews'])_0x1dd426&&_0x1dd426['id']===_0x38893f['id']?_0x38893f['select']():_0x38893f['deselect']();}['highlightRevisions'](_0x2bc05a){for(const _0x32de3f of this['revisionViews'])_0x2bc05a['some'](({id:_0x4a4b01})=>_0x4a4b01===_0x32de3f['id'])?_0x32de3f['highlight']():_0x32de3f['unhighlight']();}['_addRevision'](_0x5e8e70){const _0x2ca959=di(_0x5e8e70['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0xf59581=this['timePeriodViews']['get'](0x0);_0xf59581&&_0xf59581['startDate']['getTime']()===_0x2ca959['getTime']()||(_0xf59581=new mi(this['locale'],_0x2ca959,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0xf59581)),_0xf59581['addRevision'](_0x5e8e70);}['_removeRevision'](_0x48c8a1){const _0x4dcc67=di(_0x48c8a1['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x4dcc67)['removeRevision'](_0x48c8a1);}['_getTimePeriodViewByStartDate'](_0x503231){return this['timePeriodViews']['find'](_0xc91cd5=>_0xc91cd5['startDate']['getTime']()===_0x503231['getTime']());}constructor(_0x19dacf,_0x34ccb7,_0x541caf,_0x2724da){super(_0x19dacf);const _0x37d23c=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x34ccb7,this['_revisionActions']=_0x541caf,this['_requireRevisionName']=_0x2724da,this['on']('select',(_0x528f81,_0x4f441b)=>{this['fire']('revisionSelected',_0x4f441b);}),this['on']('setName',(_0x50c7e9,_0x2291bc)=>{this['fire']('revisionSetName',_0x2291bc);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x19dacf),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x37d23c['if']('isEnabled','ck-disabled',_0x39a17b=>!_0x39a17b)]},'children':this['timePeriodViews']}]});}}class w extends _0x4611ab{static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}['init'](){const _0x4ee899=this['_revisionsRepository']['_revisions'],_0x514a75=this['_createRevisionActions'](),_0x5e02a7=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x4ee899,_0x514a75,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',(_0x322af9,_0x5b4894)=>{_0x5b4894['revisionViews']['on']('add',(_0x135a30,_0x158edb)=>{_0x158edb['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)),_0x5e02a7['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x236453=this['_revisionsRepository']['getRevision'](0x0);if(_0x236453){const _0x1032eb=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x236453['id']);this['_revisionViewer']['compare'](_0x236453,_0x1032eb);}}['_handleRevisionSelected'](_0xc6e6d2,_0x930e2a){const _0x2a79f6=this['_revisionsRepository']['getRevision'](_0x930e2a['id']),_0x9e69e7=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x2a79f6['id']);this['_revisionViewer']['compare'](_0x2a79f6,_0x9e69e7);}['_handleRevisionSetName'](_0x20cce2,_0x41bfed){this['_revisionsRepository']['getRevision'](_0x41bfed['id'])['setName'](_0x41bfed['name']);}['_handleDiffChange'](_0x1fbca6,_0x25248e,_0xb058d9){const _0xd70185=this['_revisionsRepository']['getRevisionsInDiff'](_0xb058d9);_0xd70185['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0xd70185),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0xd70185[0x0]));}['_createRevisionActions'](){const _0x44ccfe=this['editor'],_0x5abbdf=w['availableRevisionActions'],_0x42d9b2=_0x44ccfe['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x42d9b2['length'])return _0x42d9b2['map'](_0x9c3ccc=>{const _0x2c72c1='string'==typeof _0x9c3ccc?Object['assign']({},_0x5abbdf[_0x9c3ccc]):_0x9c3ccc;return _0x2c72c1['action']=_0x2c72c1['action']['bind'](this,_0x44ccfe),_0x2c72c1['isVisible']&&(_0x2c72c1['isVisible']=_0x2c72c1['isVisible']['bind'](this,_0x44ccfe)),_0x2c72c1;});}constructor(_0xd2e4d3){super(_0xd2e4d3),this['_revisionViewer']=_0xd2e4d3['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x3a4feb},_0x5b8c3d)=>{const _0x4de105=_0x3a4feb['get'](d),_0x20f517=_0x4de105['repository'];let _0x3eb15e=_0x4de105['diff']['newRevisionId'],_0x3e1172=_0x5b8c3d['id'];_0x20f517['getIndex'](_0x3eb15e)>_0x20f517['getIndex'](_0x3e1172)&&([_0x3eb15e,_0x3e1172]=[_0x3e1172,_0x3eb15e]),_0x4de105['compare'](_0x3eb15e,_0x3e1172);},'isVisible':({plugins:_0x58a52a},_0x1e6413)=>{const _0x5421fc=_0x58a52a['get'](d);return!(_0x5421fc['repository']['getRevisionsInDiff'](_0x5421fc['diff'])['length']>0x2)&&!_0x1e6413['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x51dc00,{id:_0x2cf628})=>{_0x51dc00['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2cf628);},'isVisible':({plugins:_0x4695c7},_0x1526cb)=>!!_0x4695c7['get'](d)['repository']['getLaterVisibleRevision'](_0x1526cb['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x45eb1},{id:_0x2c207e,revisionNameView:_0x376baa})=>{const _0x42f216=_0x45eb1['get'](d),_0xf4f616=_0x42f216['repository']['getEarlierVisibleRevision'](_0x2c207e);_0x42f216['compare'](_0x2c207e,_0xf4f616),_0x376baa['focus'](),_0x376baa['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class ot extends ht{get['view'](){return this['_view'];}get['element'](){return this['view']['element'];}['init'](_0x51ba6a){const _0x44a2e8=this['editor'],_0x2c23f2=this['view'],_0x4995dd=_0x44a2e8['editing']['view'],_0x28a552=_0x2c23f2['editable'],_0x7ceaed=_0x4995dd['document']['getRoot']();_0x28a552['name']=_0x7ceaed['rootName'],_0x2c23f2['render']();const _0x223797=_0x28a552['element'];this['setEditableElement'](_0x28a552['name'],_0x223797),_0x2c23f2['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x4995dd['attachDomRoot'](_0x223797),this['_elementReplacer']['replace'](_0x51ba6a,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x34f1b0=this['view'],_0x38a42f=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x38a42f['detachDomRoot'](_0x34f1b0['editable']['name']),_0x34f1b0['destroy']();}['_initToolbar'](){const _0x50493d=this['view'];_0x50493d['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x50493d['stickyPanel']['limiterElement']=_0x50493d['element'],_0x50493d['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0xde6897})=>_0xde6897),_0x50493d['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x50493d['toolbar']);}constructor(_0xb5a722,_0x2b6d6e){super(_0xb5a722),this['_view']=_0x2b6d6e,this['_toolbarConfig']=ct(_0xb5a722['config']['get']('toolbar')),this['_elementReplacer']=new nt();}}class at extends dt{get['editable'](){return this['_editable'];}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}constructor(_0x27a7bd,_0x55c872,_0x2483ae={}){super(_0x27a7bd),this['stickyPanel']=new lt(_0x27a7bd),this['toolbar']=new pt(_0x27a7bd,{'shouldGroupWhenFull':_0x2483ae['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x27a7bd,_0x55c872);}}class m extends rt(st(it)){get['ui'](){return this['_ui'];}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x230d40,_0x4bceba){const _0x951044=new this(_0x230d40,_0x4bceba);return await _0x951044['initPlugins'](),await _0x951044['ui']['init'](_0x230d40),await _0x951044['data']['init'](_0x951044['config']['get']('initialData')||''),_0x951044['fire']('ready'),_0x951044;}constructor(_0x10791d,_0xdf4e12){super(_0xdf4e12),this['sourceElement']=_0x10791d,this['model']['document']['createRoot']();const _0x6f27b6=new at(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new ot(this,_0x6f27b6);}}const g=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x4611ab{static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x4e8b9d){super(_0x4e8b9d),this['result']='end';}}class H extends _0x4611ab{static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}set['adapter'](_0x453ad1){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x453ad1;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x437180){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x437180);}['getRevision'](_0x233058){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x233058);}['getRevisions'](_0x3adb0={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x3adb0);}['_getRevisionViewerEditorConfig'](){const _0x4c7dec=this['editor'],_0x4bef1b=_0x37c7dc(_0x4c7dec,g),_0x49b11e=_0x4c7dec['plugins']['get']('RevisionTracker'),_0x533315=_0x4c7dec['plugins']['get']('Users')['users'];return _0x4bef1b['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x4bef1b['lazyRoots'],(_0x4bef1b['plugins']['push'](k,d,R,class extends _0x4611ab{static get['requires'](){return[d,'Users'];}['init'](){const _0x4fe0fe=this['editor']['plugins']['get']('Users');for(const _0x32d7ae of _0x533315)_0x32d7ae['isAnonymous']||_0x4fe0fe['getUser'](_0x32d7ae['id'])||_0x4fe0fe['addUser'](_0x32d7ae);const _0x11ebe6=_0x49b11e['repository']['getRevisions']();let _0x17ff60=null;const _0x1d04b8=this['editor']['plugins']['get']('RevisionViewer');_0x1d04b8['adapter']=_0x49b11e['adapter'],_0x1d04b8['bind']('isEnabled')['to'](_0x49b11e),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x4c7dec,'isReadOnly',_0x2515ce=>!_0x2515ce);for(const _0x3179a0 of _0x11ebe6){const _0x1a2d8e=null===_0x3179a0['creator'];if(_0x1a2d8e&&_0x3179a0['toVersion']===_0x3179a0['fromVersion'])continue;const _0x3c556e=_0x3179a0['toJSON']();_0x1d04b8['addRevisionData'](_0x3c556e,(_0x58f257,_0x341116,_0x5446d9)=>{if(_0x1a2d8e){if(_0x17ff60)_0x17ff60['_update'](_0x58f257,_0x341116);else{if(!_0x341116){const _0x27d4ec=_0x5446d9['toJSON']();_0x27d4ec['id']=_0x3d2381(),_0x49b11e['saveRevision'](_0x27d4ec,_0x5446d9['toVersion'])['then'](_0x5d9a8c=>{_0x17ff60=_0x5d9a8c;});}}}else _0x3179a0['_update'](_0x58f257,_0x341116);});}}},w),_0x4bef1b);}['_enhanceShowRevisionViewerCallback'](){const _0x254804=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x486043=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x4747fc=this['editor']['plugins']['get']('Autosave');await _0x4747fc['save']();}else await _0x486043['update']();this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks']();const _0x5b15f5=this['_getRevisionViewerEditorConfig']();return _0x254804(_0x5b15f5)['then'](_0x18ef03=>{return(this['_viewerEditor']=_0x18ef03,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x18ef03;})['catch'](_0x243fbd=>(console['error'](_0x243fbd),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0xf79f0f=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'](),_0xf79f0f(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x3f7c73=this['editor']['plugins']['get']('Annotations');_0x3f7c73['refreshVisibility'](),_0x3f7c73['refreshPositioning']();}})));}['_showRevisionViewer'](_0x144b5b){const _0x31870a=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x48a98f=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x410dc1=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x410dc1,_0x144b5b)['then'](_0x2784d3=>(_0x48a98f['style']['display']='block',_0x31870a['style']['display']='none',_0x2784d3));}['_closeRevisionViewer'](_0x318b20){const _0xed7498=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0xed7498['style']['display']='',_0x318b20['destroy']();}async['_restoreRevision'](_0xfd6749){const _0x23dc10=this['editor'],_0x112572=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x332219=_0x23dc10['plugins']['get']('RevisionTracker'),_0x37cf3e=_0x112572['repository']['getRevision'](_0xfd6749);let _0x1233c2,_0x4dc662,_0x31dfc1;try{_0x1233c2=await _0x112572['getRevisionData'](_0x37cf3e),_0x4dc662=await _0x112572['getRevisionRootsAttributes'](_0x37cf3e);}catch(_0x509c44){return void console['error'](_0x509c44);}_0x23dc10['model']['change'](_0x4960f4=>{for(const _0x2d422 of Array['from'](_0x23dc10['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x4960f4['removeMarker'](_0x2d422);}),_0x112572['isReady']=!0x1,_0x23dc10['model']['enqueueChange'](_0x202f23=>{_0x202f23['setSelection'](null),_0x202f23['removeSelectionAttribute'](_0x23dc10['model']['document']['selection']['getAttributeKeys']());const _0x47f55b=Object['keys'](_0x1233c2);for(const _0x8a471a of _0x23dc10['model']['document']['roots'])'$graveyard'!=_0x8a471a['rootName']&&_0x8a471a['isAttached']()&&!_0x47f55b['includes'](_0x8a471a['rootName'])&&_0x202f23['detachRoot'](_0x8a471a);for(const _0x405da6 of _0x47f55b){let _0x23d675=_0x23dc10['model']['document']['getRoot'](_0x405da6);_0x23d675&&_0x23d675['isAttached']()||(_0x23d675=_0x202f23['addRoot'](_0x405da6));const _0x1b4780=_0x4dc662[_0x405da6],_0x3c4596=Object['keys'](_0x1b4780),_0x3f6ea8=_0x1233c2[_0x405da6];for(const _0x44c736 of _0x23d675['getAttributeKeys']())_0x3c4596['includes'](_0x44c736)||_0x202f23['removeAttribute'](_0x44c736,_0x23d675);for(const _0x55a382 of _0x3c4596)_0x202f23['setAttribute'](_0x55a382,_0x4dc662[_0x405da6][_0x55a382],_0x23d675);_0x202f23['remove'](_0x202f23['createRangeIn'](_0x23d675)),_0x202f23['insert'](_0x23dc10['data']['parse'](_0x3f6ea8,_0x23d675),_0x23d675,0x0);}});const _0x25bd6d=y(_0x23dc10['locale'],'Restored');if(_0x37cf3e['name'])_0x31dfc1=-0x1==_0x37cf3e['name']['indexOf'](_0x25bd6d)?_0x25bd6d+':\x20'+_0x37cf3e['name']:_0x37cf3e['name'];else _0x31dfc1=_0x25bd6d+':\x20'+(_0x37cf3e['createdAt']['toLocaleDateString'](_0x23dc10['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x37cf3e['createdAt']['toLocaleTimeString'](_0x23dc10['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x332219['saveRevision']({'name':_0x31dfc1}),_0x112572['isReady']=!0x0,_0x23dc10['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}constructor(_0xd0361e){if(super(_0xd0361e),!this['editor']['config']['get']('revisionHistory'))throw new _0x5e5322('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x25db8d=>this['_showRevisionViewer']({..._0x25db8d,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x287b92=>this['_closeRevisionViewer'](_0x287b92)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x255837=>this['_restoreRevision'](_0x255837)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
23
+ import{Plugin as _0x5960e6,Context as _0x1ca7a3,PendingActions as _0x27d029,icons as _0x3c2dc1,Command as _0x4e120f,DataApiMixin as rt,ElementApiMixin as st,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x530cfa,uid as _0x4077f3,Collection as _0x41db01,logWarning as _0x494e9f,FocusTracker as _0xc790ed,KeystrokeHandler as _0x3a588b,scrollViewportToShowTarget as _0x55597a,ResizeObserver as kt,ElementReplacer as nt,CKEditorError as _0x3fd2ee}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0xc2555f,getMarkerDomElement as _0x316588,ConfirmMixin as _0x27bff3,sanitizeEditorConfig as _0x15e2c9}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x404b60,ViewText as _0x17670e,ViewElement as _0x23df6c,Element as ft,Range as gt,Position as wt,DocumentFragment as _t,ViewContainerElement as _0x401e93,ViewAttributeElement as _0x1b1fec,ViewEmptyElement as _0x5881c5,ViewRawElement as _0x438d46,ViewUIElement as _0x5adeb7,Text as yt}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x333ce7,set as _0x2d2e43,unset as _0x345dc8,isEqual as _0x244c72}from'lodash-es';import{View as _0xb33fc2,submitHandler as _0x420a75,LabeledFieldView as mt,createLabeledInputText as _0x202a9a,injectCssTransitionDisabler as ts,createDropdown as _0xb6690e,ListView as te,ListItemView as _0x403a90,ButtonView as _0x166e2b,MenuBarMenuView as _0x3fe0ff,MenuBarMenuListView as _0x2bf801,MenuBarMenuListItemView as _0x2bc9a9,MenuBarMenuListItemButtonView as _0x2f9319,ContextualBalloon as _0x45579d,ToolbarSeparatorView as _0x458b5d,IconView as _0x493c9d,addListToDropdown as _0x1ad031,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 _0x4c0bae}from'luxon';class a extends _0x530cfa(){['setName'](_0x1db058){this['_update']({'name':_0x1db058});}['setAttribute'](_0x39ecdf,_0x5a6ac6){const _0x4ec1ef=_0x333ce7(this['attributes']);_0x2d2e43(_0x4ec1ef,_0x39ecdf,_0x5a6ac6),this['_update']({'attributes':_0x4ec1ef});}['removeAttribute'](_0x3e0c01){const _0x5a9640=_0x333ce7(this['attributes']);_0x345dc8(_0x5a9640,_0x3e0c01),this['_update']({'attributes':_0x5a9640});}['_update'](_0x5ccc6b,_0x2d22b8=!0x1){let _0xcb82f7=!0x1;const _0x511270={'id':this['id']},_0x4ebcc8=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x5184a2 of _0x4ebcc8){const _0x2f5e6b=_0x5ccc6b[_0x5184a2];void 0x0!==_0x2f5e6b&&_0x2f5e6b!==this[_0x5184a2]&&(this[_0x5184a2]=_0x2f5e6b,_0x511270[_0x5184a2]=_0x2f5e6b,_0xcb82f7=!0x0);}_0xcb82f7&&(_0x511270['authors']&&(_0x511270['authorsIds']=_0x511270['authors']['map'](_0x3ec84a=>_0x3ec84a['id']),delete _0x511270['authors']),this['fire']('_update',_0x511270,_0x2d22b8));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x237ad5=>_0x237ad5['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}constructor(_0x36ad5c){super(),this['id']=_0x36ad5c['id']||_0x4077f3(),this['creator']=_0x36ad5c['creator']||null,this['authors']=_0x36ad5c['authors']||[],this['diffData']=_0x36ad5c['diffData']||null,this['toVersion']=_0x36ad5c['toVersion']||0x0,this['fromVersion']=_0x36ad5c['fromVersion']||0x0,this['set']('name',_0x36ad5c['name']||''),this['set']('createdAt',_0x36ad5c['createdAt']||new Date()),this['set']('attributes',_0x36ad5c['attributes']||{});}}class A extends _0x5960e6{static get['requires'](){return[_0xc2555f];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}['afterInit'](){!function(_0x312160){function _0xd3fd35(_0x5eb0c7,_0x24c588,_0x15cf09){const _0x584cec={};_0x584cec[_0x8676b0([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x584cec[_0x8676b0([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],_0x584cec[_0x8676b0([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],_0x584cec[_0x8676b0([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],_0x584cec[_0x8676b0([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],_0x584cec[_0x8676b0([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],_0x584cec[_0x8676b0([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],_0x584cec[_0x8676b0([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],_0x584cec[_0x8676b0([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],_0x584cec[_0x8676b0([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],_0x584cec[_0x8676b0([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 _0x6d5fa5=new Uint8Array(0x10);for(let _0x35db14=0xf;_0x35db14>=0x0;--_0x35db14)_0x6d5fa5[_0x35db14]=_0x15cf09%0x100,_0x15cf09=parseInt(_0x15cf09/0x100);let _0x35c1eb=null,_0x17da4a=0x10;const _0x48d790=new Uint8Array(_0x24c588),_0x1fad0c=[],_0x480a76=[];_0x2c7141();for(let _0x17009c=0x0;_0x17009c<_0x5eb0c7[_0x8676b0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17009c++)0x10===_0x17da4a&&(_0x35c1eb=_0x2f5561(_0x6d5fa5),_0x17da4a=0x0,_0x2e1f54(_0x6d5fa5)),_0x5eb0c7[_0x17009c]^=_0x35c1eb[_0x17da4a++];return _0x5eb0c7;function _0x1385a6(_0x334f14){const _0x37f5c1=[];for(let _0x21129c=0x0;_0x21129c<_0x334f14[_0x8676b0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21129c+=0x4)_0x37f5c1[_0x8676b0([0x70,0x75,0x73,0x68])](_0x334f14[_0x21129c]<<0x18|_0x334f14[_0x21129c+0x1]<<0x10|_0x334f14[_0x21129c+0x2]<<0x8|_0x334f14[_0x21129c+0x3]);return _0x37f5c1;}function _0x2e1f54(_0x40f790){for(let _0x5c9ac4=0xf;_0x5c9ac4>=0x0;_0x5c9ac4--){if(0xff!==_0x40f790[_0x5c9ac4]){_0x40f790[_0x5c9ac4]++;break;}_0x40f790[_0x5c9ac4]=0x0;}}function _0x2f5561(_0x21d333){const _0x1b944b=_0x1fad0c[_0x8676b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x2c0423=[0x0,0x0,0x0,0x0];let t=_0x1385a6(_0x21d333);for(let _0x10adf7=0x0;_0x10adf7<0x4;_0x10adf7++)t[_0x10adf7]^=_0x1fad0c[0x0][_0x10adf7];for(let _0x148c23=0x1;_0x148c23<_0x1b944b;_0x148c23++){for(let _0x522fc9=0x0;_0x522fc9<0x4;_0x522fc9++)_0x2c0423[_0x522fc9]=_0x584cec[_0x8676b0([0x54,0x31])][t[_0x522fc9]>>0x18&0xff]^_0x584cec[_0x8676b0([0x54,0x32])][t[(_0x522fc9+0x1)%0x4]>>0x10&0xff]^_0x584cec[_0x8676b0([0x54,0x33])][t[(_0x522fc9+0x2)%0x4]>>0x8&0xff]^_0x584cec[_0x8676b0([0x54,0x34])][0xff&t[(_0x522fc9+0x3)%0x4]]^_0x1fad0c[_0x148c23][_0x522fc9];t=_0x2c0423[_0x8676b0([0x73,0x6c,0x69,0x63,0x65])]();}const _0x2c9359=new Uint8Array(0x10);let _0x7fc93f;for(let _0x19638b=0x0;_0x19638b<0x4;_0x19638b++)_0x7fc93f=_0x1fad0c[_0x1b944b][_0x19638b],_0x2c9359[0x4*_0x19638b]=0xff&(_0x584cec[_0x8676b0([0x53])][t[_0x19638b]>>0x18&0xff]^_0x7fc93f>>0x18),_0x2c9359[0x4*_0x19638b+0x1]=0xff&(_0x584cec[_0x8676b0([0x53])][t[(_0x19638b+0x1)%0x4]>>0x10&0xff]^_0x7fc93f>>0x10),_0x2c9359[0x4*_0x19638b+0x2]=0xff&(_0x584cec[_0x8676b0([0x53])][t[(_0x19638b+0x2)%0x4]>>0x8&0xff]^_0x7fc93f>>0x8),_0x2c9359[0x4*_0x19638b+0x3]=0xff&(_0x584cec[_0x8676b0([0x53])][0xff&t[(_0x19638b+0x3)%0x4]]^_0x7fc93f);return _0x2c9359;}function _0x2c7141(){const _0x52c440=_0x584cec[_0x8676b0([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x48d790[_0x8676b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x55c62b=0x0;_0x55c62b<=_0x52c440;_0x55c62b++)_0x1fad0c[_0x8676b0([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x480a76[_0x8676b0([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x4f5da3=0x4*(_0x52c440+0x1),_0x369d87=_0x48d790[_0x8676b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x2cd89f=_0x1385a6(_0x48d790);let _0x1552c2;for(let _0xd60d07=0x0;_0xd60d07<_0x369d87;_0xd60d07++)_0x1552c2=_0xd60d07>>0x2,_0x1fad0c[_0x1552c2][_0xd60d07%0x4]=_0x2cd89f[_0xd60d07],_0x480a76[_0x52c440-_0x1552c2][_0xd60d07%0x4]=_0x2cd89f[_0xd60d07];let _0x424187,_0x5a78e9=0x0,t=_0x369d87;for(;t<_0x4f5da3;){_0x424187=_0x2cd89f[_0x369d87-0x1],_0x2cd89f[0x0]^=_0x584cec[_0x8676b0([0x53])][_0x424187>>0x10&0xff]<<0x18^_0x584cec[_0x8676b0([0x53])][_0x424187>>0x8&0xff]<<0x10^_0x584cec[_0x8676b0([0x53])][0xff&_0x424187]<<0x8^_0x584cec[_0x8676b0([0x53])][_0x424187>>0x18&0xff]^_0x584cec[_0x8676b0([0x72,0x63,0x6f,0x6e])][_0x5a78e9]<<0x18,_0x5a78e9+=0x1;for(let _0x37063c=0x1;_0x37063c<_0x369d87/0x2;_0x37063c++)_0x2cd89f[_0x37063c]^=_0x2cd89f[_0x37063c-0x1];_0x424187=_0x2cd89f[_0x369d87/0x2-0x1],_0x2cd89f[_0x369d87/0x2]^=_0x584cec[_0x8676b0([0x53])][0xff&_0x424187]^_0x584cec[_0x8676b0([0x53])][_0x424187>>0x8&0xff]<<0x8^_0x584cec[_0x8676b0([0x53])][_0x424187>>0x10&0xff]<<0x10^_0x584cec[_0x8676b0([0x53])][_0x424187>>0x18&0xff]<<0x18;for(let _0x434f6a=_0x369d87/0x2+0x1;_0x434f6a<_0x369d87;_0x434f6a++)_0x2cd89f[_0x434f6a]^=_0x2cd89f[_0x434f6a-0x1];let _0x1572df,_0x1d6a40,_0x13d3e9=0x0;for(;_0x13d3e9<_0x369d87&&t<_0x4f5da3;)_0x1572df=t>>0x2,_0x1d6a40=t%0x4,_0x1fad0c[_0x1572df][_0x1d6a40]=_0x2cd89f[_0x13d3e9],_0x480a76[_0x52c440-_0x1572df][_0x1d6a40]=_0x2cd89f[_0x13d3e9++],t++;}for(let _0x16e43d=0x1;_0x16e43d<_0x52c440;_0x16e43d++)for(let _0x4db6bc=0x0;_0x4db6bc<0x4;_0x4db6bc++)_0x424187=_0x480a76[_0x16e43d][_0x4db6bc],_0x480a76[_0x16e43d][_0x4db6bc]=_0x584cec[_0x8676b0([0x55,0x31])][_0x424187>>0x18&0xff]^_0x584cec[_0x8676b0([0x55,0x32])][_0x424187>>0x10&0xff]^_0x584cec[_0x8676b0([0x55,0x33])][_0x424187>>0x8&0xff]^_0x584cec[_0x8676b0([0x55,0x34])][0xff&_0x424187];}}function _0x8676b0(_0x1f1048){return _0x1f1048['map'](_0x36ce3f=>String['fromCharCode'](_0x36ce3f))['join']('');}(_0x3ca46d=>{function _0x208d01(){const _0x3a8ea8=[{[_0x8676b0([0x69,0x64])]:0x1,[_0x8676b0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x8676b0([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x8676b0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x8676b0([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x8676b0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x8676b0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x8676b0([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x8676b0([0x69,0x64])]:0x2,[_0x8676b0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x8676b0([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x8676b0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x8676b0([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x8676b0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x8676b0([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]),[_0x8676b0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x8676b0([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x8676b0([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x8676b0([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x8676b0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x8676b0([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x8676b0([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x8676b0([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x8676b0([0x69,0x64])]:0x3,[_0x8676b0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x8676b0([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x8676b0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x8676b0([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x8676b0([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x8676b0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x8676b0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x8676b0([0x69,0x64])]:0x4,[_0x8676b0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x8676b0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x8676b0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x8676b0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x8676b0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x8676b0([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]),[_0x8676b0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x8676b0([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x8676b0([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x8676b0([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x8676b0([0x69,0x64])]:0x5,[_0x8676b0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x8676b0([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x8676b0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x8676b0([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x8676b0([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]),[_0x8676b0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x8676b0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x8676b0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x8676b0([0x66,0x67,0x69])]:[0xc]}},{[_0x8676b0([0x69,0x64])]:0x6,[_0x8676b0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x8676b0([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x8676b0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x8676b0([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x8676b0([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x8676b0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x8676b0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x8676b0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x8676b0([0x66,0x67,0x69])]:[0xc]}},{[_0x8676b0([0x69,0x64])]:0x7,[_0x8676b0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x8676b0([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x8676b0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x8676b0([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x8676b0([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x8676b0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x8676b0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x8676b0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x8676b0([0x66,0x67,0x69])]:[0xc]}},{[_0x8676b0([0x69,0x64])]:0x8,[_0x8676b0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x8676b0([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x8676b0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x8676b0([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x8676b0([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]),[_0x8676b0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x8676b0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x8676b0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x8676b0([0x66,0x67,0x69])]:[0xc]}},{[_0x8676b0([0x69,0x64])]:0x9,[_0x8676b0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x8676b0([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x8676b0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x8676b0([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x8676b0([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x8676b0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x8676b0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x8676b0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x8676b0([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x8676b0([0x69,0x64])]:0xa,[_0x8676b0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x8676b0([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]),[_0x8676b0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x8676b0([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]),[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x8676b0([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]),[_0x8676b0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x8676b0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x8676b0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x8676b0([0x66,0x67,0x69])]:[0xc]}},{[_0x8676b0([0x69,0x64])]:0xb,[_0x8676b0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x8676b0([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x8676b0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x8676b0([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x8676b0([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x8676b0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x8676b0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x8676b0([0x69,0x64])]:0xc,[_0x8676b0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x8676b0([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x8676b0([0x69,0x64])]:0xd,[_0x8676b0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x8676b0([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x8676b0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x8676b0([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x8676b0([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x8676b0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x8676b0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x8676b0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x8676b0([0x66,0x67,0x69])]:[0xc]}},{[_0x8676b0([0x69,0x64])]:0xe,[_0x8676b0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x8676b0([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x8676b0([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x8676b0([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])},{[_0x8676b0([0x69,0x64])]:0xf,[_0x8676b0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x8676b0([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x8676b0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x8676b0([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x8676b0([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x8676b0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x8676b0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])}];return _0x20cc6f(_0x3a8ea8),_0x3a8ea8;function _0x4f9c50(_0x2ae5a2){return 0x1<<_0x2ae5a2-0x1;}function _0x20cc6f(_0x56a34a){_0x56a34a[_0x8676b0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x19a76d=>{_0x19a76d[_0x8676b0([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x4f9c50(_0x19a76d[_0x8676b0([0x69,0x64])]),_0x464811(_0x19a76d)&&_0x19a76d[_0x8676b0([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x20cc6f(_0x19a76d[_0x8676b0([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x464811(_0x1db894){return _0x8676b0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x1db894;}const _0x40e766=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x23f70f=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x833436(_0x284430){const _0x3bbda3=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x1fed85(_0x284430,new Uint8Array([..._0x40e766,..._0x3bbda3,..._0x23f70f]));}function _0x1fed85(_0x84409f,_0x3dc895){const _0x1d4a65=_0xf49336(_0x84409f),_0x12b945=Array[_0x8676b0([0x66,0x72,0x6f,0x6d])](_0x12df85(_0x1d4a65)),_0x13a249=_0x12b945[_0x8676b0([0x70,0x6f,0x70])](),_0x2608da=_0x12b945[_0x8676b0([0x70,0x6f,0x70])]();return _0x4e3868(_0xd3fd35(_0x12b945,_0x3dc895,_0x2608da+0x100*_0x13a249));}function _0xf49336(_0x182925){const _0x33a8f2=atob(_0x182925),[_0x45d9e5,_0x4e14c1]=_0x33a8f2[_0x8676b0([0x73,0x70,0x6c,0x69,0x74])](_0x8676b0([0x2d]));try{if(atob(_0x4e14c1))return atob(_0x45d9e5);}catch(_0x46c8a9){}return _0x33a8f2;}function _0x3f1c59(_0x5a280e){try{const _0x22a7e1=_0x833436(_0x5a280e),_0x164c5d=JSON[_0x8676b0([0x70,0x61,0x72,0x73,0x65])](_0x22a7e1),_0x358a7e=parseInt(_0x164c5d[_0x8676b0([0x31])]),_0x21f801=_0x164c5d[_0x8676b0([0x32])]||'',_0x4db56e=parseInt(_0x164c5d[_0x8676b0([0x33])]),_0x4cd124=parseInt(_0x164c5d[_0x8676b0([0x34])])||0x0,_0x1a8d88=parseInt(_0x164c5d[_0x8676b0([0x35])])||0x0;return{[_0x8676b0([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x21f801,[_0x8676b0([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x4cd124,[_0x8676b0([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x358a7e,[_0x8676b0([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x4db56e,[_0x8676b0([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x1a8d88};}catch(_0x17289e){return null;}}const _0x1bc7bd=_0x208d01(),_0x36d06c={[_0x8676b0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x4ba6d1,[_0x8676b0([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])]:_0x2583ce,[_0x8676b0([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])]:_0x4b2cab},_0x5a18da=_0x3ca46d[_0x8676b0([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x8676b0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x3a7cc9=_0x8676b0([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x3ca46d?_0x3ca46d['context']:_0x3ca46d['editor'],_0x370c96=_0x8676b0([0x34,0x30,0x34,0x38,0x31,0x30,0x30,0x32]),_0x1fdf54=_0x8676b0([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]),_0x285b87=_0x3a7cc9['config']['get'](_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x133490=_0x1bc7bd[_0x8676b0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x464811)[_0x8676b0([0x66,0x69,0x6e,0x64])](_0x33a849=>_0x33a849[_0x8676b0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x5a18da);function _0x48a3e5(_0x4aa0d5,_0x42fa80){_0x36d06c[_0x42fa80[_0x8676b0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x4aa0d5,_0x42fa80),_0x42fa80[_0x8676b0([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x42fa80[_0x8676b0([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x8676b0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40b762=>_0x25fcc3(_0x3a7cc9,_0x40b762[_0x8676b0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x8676b0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x393d36=>_0x48a3e5(_0x4aa0d5,_0x393d36));}function _0x4ba6d1(_0x2073a8,_0x50600f){_0x41223e(_0x4f4cd9(_0x2073a8,_0x50600f),_0x50600f);}function _0x2583ce(_0x7042aa,_0x9614d8){function _0x14db63(_0x1757d5,_0x3f856e){try{if(_0x25fcc3(_0x3a7cc9,_0x8676b0([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x1757d5){const _0x5344d5=_0x52257d(_0x3a7cc9,_0x8676b0([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x8676b0([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x5344d5)/0x2>_0x1757d5[_0x8676b0([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x57b21e(_0x3f856e[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x8676b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x4f4cd9(_0x1757d5,_0x3f856e);}catch(_0x2a35df){return _0x57b21e(_0x3f856e[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x8676b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x41223e(_0x14db63(_0x7042aa,_0x9614d8),_0x9614d8);}function _0x4b2cab(_0xf9389d,_0x35eeae){const _0x30541d=_0x23f70f[0x0]*_0x40e766[0x1],_0x4927d4=_0x23f70f[0x0]*_0x40e766[0x2],_0x2deeab=_0x23f70f[0x2]*_0x40e766[0x2];_0x25fcc3(_0x3a7cc9,_0x8676b0([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x52257d(_0x3a7cc9,_0x8676b0([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x8676b0([0x73,0x74,0x61,0x74,0x65])]==_0x8676b0([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x137ad5()]=_0x2deeab);function _0x55452f(_0x2ccf2d,_0x61844){try{return _0x1d8f8d()?_0x57b21e(_0x61844[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x8676b0([0x56,0x61,0x6c,0x69,0x64])):_0x4f4cd9(_0x2ccf2d,_0x61844);}catch(_0x571cce){return _0x57b21e(_0x61844[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x8676b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5f4f3e(_0x5be2be,_0x2db682){const _0x28ea2b=0x7;if(_0x5be2be==_0x2db682[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x8676b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x500b10();else{if(_0x5be2be==_0x2db682[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x8676b0([0x54,0x72,0x69,0x61,0x6c])){const _0x31fc2f=_0x2b45b5();_0x31fc2f&&_0x2a1f72(_0x31fc2f,_0x2db682[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x43e2de=_0x57c01e();window[_0x8676b0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2a1f72(_0x8676b0([0x74,0x69,0x6d,0x65]),_0x2db682[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x43e2de);const _0x5b276e=_0x52257d(_0x3a7cc9,_0x8676b0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x8676b0([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x5b276e[_0x8676b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x28ea2b?_0x2a1f72(_0x8676b0([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x2db682[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x5b276e['on'](_0x8676b0([0x61,0x64,0x64]),()=>{_0x5b276e[_0x8676b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x28ea2b&&_0x2a1f72(_0x8676b0([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x2db682[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x2b45b5(){if(!_0x25fcc3(_0x3a7cc9,_0x8676b0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x170018 in window)if(Number['isNaN'](Number(_0x170018))){if(window[_0x170018]===_0x30541d)return _0x8676b0([0x74,0x69,0x6d,0x65]);if(window[_0x170018]===_0x4927d4)return _0x8676b0([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x1d8f8d(){if(!_0x25fcc3(_0x3a7cc9,_0x8676b0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x21a53f in window)if(Number['isNaN'](Number(_0x21a53f))&&window[_0x21a53f]===_0x2deeab)return!0x0;return!0x1;}function _0x2a1f72(_0x98f8e0,_0x3b97d3){_0x500b10(),_0x57b21e(_0x3b97d3+_0x8676b0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x98f8e0),window[_0x137ad5()]=_0x98f8e0===_0x8676b0([0x74,0x69,0x6d,0x65])?_0x30541d:_0x4927d4;}function _0x57c01e(){let _0x5dec5c=_0x23f70f[0x6]*_0x40e766[0x8]*_0x40e766[0x6];return _0x25fcc3(_0x3a7cc9,_0x8676b0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x5dec5c/=0xa),_0x5dec5c;}function _0x500b10(){const _0x4e4ef2=_0x3a7cc9;function _0x1e50a5(){_0x25fcc3(_0x4e4ef2,_0x8676b0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x52257d(_0x4e4ef2,_0x8676b0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x8676b0([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x8676b0([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x52257d(_0x4e4ef2,_0x8676b0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x8676b0([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x52257d(_0x4e4ef2,_0x8676b0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x8676b0([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x101847,_0x52257d(_0x4e4ef2,_0x8676b0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x8676b0([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x101847,_0x4e4ef2[_0x8676b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x8676b0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x101847,_0x4e4ef2[_0x8676b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x8676b0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x101847,_0x4e4ef2[_0x8676b0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x8676b0([0x6d,0x6f,0x64,0x65,0x6c]))),_0x25fcc3(_0x4e4ef2,_0x8676b0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x52257d(_0x4e4ef2,_0x8676b0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x8676b0([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x8676b0([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x52257d(_0x4e4ef2,_0x8676b0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x8676b0([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x52257d(_0x4e4ef2,_0x8676b0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x8676b0([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x101847,_0x52257d(_0x4e4ef2,_0x8676b0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x8676b0([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x101847);}_0x4e4ef2[_0x8676b0([0x73,0x74,0x61,0x74,0x65])]==_0x8676b0([0x72,0x65,0x61,0x64,0x79])?_0x1e50a5():_0x4e4ef2[_0x8676b0([0x6f,0x6e,0x63,0x65])](_0x8676b0([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x25fcc3(_0x4e4ef2,_0x8676b0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x1e50a5(),_0x25fcc3(_0x4e4ef2,_0x8676b0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x2e4b1d=_0x52257d(_0x4e4ef2,_0x8676b0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4503b1=_0x2e4b1d['getRevision'](0x0),_0x274559=_0x2e4b1d['getEarlierVisibleRevision'](_0x4503b1[_0x8676b0([0x69,0x64])]);_0x52257d(_0x4e4ef2,_0x8676b0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x8676b0([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4503b1[_0x8676b0([0x69,0x64])],_0x274559?_0x274559[_0x8676b0([0x69,0x64])]:null,0x1)['then'](()=>_0x1e50a5());}});}_0x5f4f3e(_0x55452f(_0xf9389d,_0x35eeae),_0x35eeae);}function _0x4f4cd9(_0x4e03be,_0x9478e3){try{return _0x3eff86(_0x9478e3)?_0x57b21e(_0x9478e3[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x8676b0([0x56,0x61,0x6c,0x69,0x64])):_0x4e03be&&_0x1cc4f3(_0x4e03be[_0x8676b0([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x9478e3)?_0x4e03be[_0x8676b0([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x8676b0([0x6f,0x70,0x65,0x6e])][_0x8676b0([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x370c96)/0x2>_0x4e03be[_0x8676b0([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x57b21e(_0x9478e3[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x8676b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x4e03be[_0x8676b0([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x57b21e(_0x9478e3[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x8676b0([0x54,0x72,0x69,0x61,0x6c])):_0x57b21e(_0x9478e3[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x8676b0([0x56,0x61,0x6c,0x69,0x64])):_0x57b21e(_0x9478e3[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x8676b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x221b36){return _0x57b21e(_0x9478e3[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x8676b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x41223e(_0x16a401,_0x2cb2f6){if(_0x3a7cc9 instanceof _0x1ca7a3){const _0x14aeb0=_0x3a7cc9;_0x16a401==_0x2cb2f6[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x8676b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0xcd72c1(_0x14aeb0):_0x16a401==_0x2cb2f6[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x8676b0([0x54,0x72,0x69,0x61,0x6c])&&window[_0x8676b0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xcd72c1(_0x14aeb0),_0x57b21e(_0x2cb2f6[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x8676b0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x23f70f[0x6]*_0x40e766[0x8]*_0x40e766[0x6]),_0x14aeb0[_0x8676b0([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x8676b0([0x6f,0x6e])](_0x8676b0([0x61,0x64,0x64]),(_0x5404e7,_0x2c1f61)=>{_0x16a401!=_0x2cb2f6[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x8676b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x16a401!=_0x2cb2f6[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x8676b0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x16a401!=_0x2cb2f6[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x8676b0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x49f423(_0x2c1f61);});}else{const _0x273a9c=_0x3a7cc9;_0x16a401==_0x2cb2f6[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x8676b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x49f423(_0x273a9c):_0x16a401==_0x2cb2f6[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x8676b0([0x54,0x72,0x69,0x61,0x6c])&&_0x273a9c[_0x8676b0([0x6f,0x6e])](_0x8676b0([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x50da66=0x0;_0x273a9c[_0x8676b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x8676b0([0x6f,0x6e])](_0x8676b0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4b66ea,_0xa4c4dd)=>{_0xa4c4dd[0x0][_0x8676b0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x50da66++,0x1f8===_0x50da66&&(_0x49f423(_0x273a9c),_0x57b21e(_0x2cb2f6[_0x8676b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x8676b0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x4b66ea[_0x8676b0([0x6f,0x66,0x66])]());},{'priority':_0x8676b0([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x57b21e(_0xb2e2a6){const _0x20bade=_0x137ad5();return _0x3a7cc9[_0x20bade]=_0xb2e2a6,_0xb2e2a6;}function _0x137ad5(){const _0x57464e=String(window[_0x8676b0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x8676b0([0x6e,0x6f,0x77])]())[_0x8676b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x8676b0([0x2e]),'');let _0x5dedf0='';for(let _0xd98600=0x0;_0xd98600<_0x57464e[_0x8676b0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd98600+=0x2){let _0xf568fc=parseInt(_0x57464e[_0x8676b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xd98600,_0xd98600+0x2));_0xf568fc>=_0x1fdf54[_0x8676b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xf568fc-=_0x1fdf54[_0x8676b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5dedf0+=_0x1fdf54[_0xf568fc];}return _0x5dedf0;}function _0xcd72c1(_0x1e06fc){for(const _0x17e0e1 of _0x1e06fc[_0x8676b0([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x49f423(_0x17e0e1);_0x52257d(_0x1e06fc,_0x8676b0([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x8676b0([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x52257d(_0x1e06fc,_0x8676b0([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x8676b0([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x101847;}function _0x49f423(_0x3f2be3){function _0x930c04(){_0x3f2be3[_0x8676b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x8676b0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x101847,_0x3f2be3[_0x8676b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x8676b0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x101847,_0x3f2be3[_0x8676b0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x8676b0([0x6d,0x6f,0x64,0x65,0x6c]));}_0x3f2be3[_0x8676b0([0x73,0x74,0x61,0x74,0x65])]==_0x8676b0([0x72,0x65,0x61,0x64,0x79])?_0x930c04():_0x3f2be3[_0x8676b0([0x6f,0x6e,0x63,0x65])](_0x8676b0([0x72,0x65,0x61,0x64,0x79]),()=>_0x930c04());}function _0x101847(){return null;}function _0x1cc4f3(_0x3b5aa6,_0x3e9719){const _0x458a2e=!!(_0x3b5aa6&_0x3e9719[_0x8676b0([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x2c4c34=_0x5eeb68(_0x3b5aa6,_0x3e9719);return _0x458a2e||_0x2c4c34;}function _0x5eeb68(_0x394ebb,_0x3c5e4d){const _0x3d564b=(_0x3c5e4d[_0x8676b0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x8676b0([0x66,0x67,0x69])]||null;return!!_0x3d564b&&_0x1bc7bd[_0x8676b0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a51ab=>_0x3d564b[_0x8676b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a51ab[_0x8676b0([0x69,0x64])]))[_0x8676b0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3438cf=>!_0x3eb4ba(_0x3438cf))[_0x8676b0([0x73,0x6f,0x6d,0x65])](_0x5cd6c0=>!!(_0x394ebb&_0x5cd6c0[_0x8676b0([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x3eb4ba(_0x176934){const _0x2e6f45={[_0x8676b0([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])]:_0x12ab3a};return!!_0x176934['forbiddenHandler']&&_0x2e6f45[_0x176934['forbiddenHandler']]();}function _0x12ab3a(){return!window[_0x8676b0([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x25fcc3(_0x3a7cc9,_0x8676b0([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x3eff86(_0x30bd03){if(!_0x25fcc3(_0x3a7cc9,_0x30bd03[_0x8676b0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x2c2572=_0x30bd03[_0x8676b0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x33b89a=_0x2c2572[_0x8676b0([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x3bace4=_0x2c2572[_0x8676b0([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x44e6c0=_0x2c2572[_0x8676b0([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x25fcc3(_0x3a7cc9,_0x8676b0([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x52257d(_0x3a7cc9,_0x8676b0([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x8676b0([0x73,0x74,0x61,0x74,0x65])]==_0x8676b0([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x33b89a)return!0x0;if(_0x25fcc3(_0x3a7cc9,_0x8676b0([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x52257d(_0x3a7cc9,_0x8676b0([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x8676b0([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x8676b0([0x65,0x6e,0x64])&&_0x3bace4)return!0x0;return!(!_0x25fcc3(_0x3a7cc9,_0x8676b0([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]))||_0x52257d(_0x3a7cc9,_0x8676b0([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]))[_0x8676b0([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x8676b0([0x65,0x6e,0x64])||!_0x44e6c0);}function _0x25fcc3(_0x3e2cf7,_0x21800e){return _0x3e2cf7[_0x8676b0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x8676b0([0x68,0x61,0x73])](_0x21800e);}function _0x52257d(_0x3d02e0,_0x2c4b4c){return _0x3d02e0[_0x8676b0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x8676b0([0x67,0x65,0x74])](_0x2c4b4c);}function _0x4e3868(_0x470a8b){let _0x4f3f57='';for(const _0x395f97 of _0x470a8b)_0x4f3f57+=String[_0x8676b0([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x395f97);return _0x4f3f57;}function _0x12df85(_0x1515a6){const _0x5e57b5=new Uint8Array(_0x1515a6[_0x8676b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x250d34=0x0;_0x250d34<_0x1515a6[_0x8676b0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x250d34++)_0x5e57b5[_0x250d34]=_0x1515a6[_0x8676b0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x250d34);return _0x5e57b5;}_0x133490&&_0x48a3e5(_0x3f1c59(_0x285b87),_0x133490);})(_0x312160);}(this);}['createRevision'](_0x396c19){const _0x3e8c3c=this['editor']['plugins']['get']('Users');return new a({'id':_0x396c19['id'],'name':_0x396c19['name'],'creator':_0x396c19['creatorId']?_0x3e8c3c['getUser'](_0x396c19['creatorId']):null,'diffData':_0x396c19['diffData']||_0x396c19['data'],'authors':_0x396c19['authorsIds']['map'](_0x5be57e=>_0x3e8c3c['getUser'](_0x5be57e)),'createdAt':new Date(_0x396c19['createdAt']),'attributes':_0x396c19['attributes'],'fromVersion':_0x396c19['fromVersion'],'toVersion':_0x396c19['toVersion']});}['addRevision'](_0x400663,_0x410303=0x0){this['_revisions']['add'](_0x400663,_0x410303);}['getRevision'](_0x4b4e99){return this['_revisions']['get'](_0x4b4e99);}['getRevisions'](_0xbd209f={'toJSON':!0x1}){const _0x18311c=Array['from'](this['_revisions']);return _0x18311c['reverse'](),_0xbd209f['toJSON']?_0x18311c['map'](_0x48d7d2=>_0x48d7d2['toJSON']()):_0x18311c;}['getIndex'](_0xf322d6){return this['_revisions']['getIndex'](_0xf322d6);}['getEarlierVisibleRevision'](_0x34d9c0){const [,_0x3b0884]=this['getRevisionsIterator'](_0x34d9c0,{'direction':'earlier'});return _0x3b0884;}['getLaterVisibleRevision'](_0x27ae2b){const [,_0x1caf92]=this['getRevisionsIterator'](_0x27ae2b,{'direction':'later'});return _0x1caf92;}['getRevisionsInDiff'](_0x47002a){const _0x15438b=[];for(const _0x2198ae of this['getRevisionsIterator'](_0x47002a['newRevisionId']))if(_0x15438b['push'](_0x2198ae),_0x2198ae['id']===_0x47002a['oldRevisionId'])break;return _0x15438b;}*['getRevisionsIterator'](_0x2a0f1a,{direction:_0x3e7318='earlier',filter:_0x39fd61=_0x278d07=>!0x0}={}){const _0x1e5425='earlier'===_0x3e7318?0x1:-0x1;let _0x1632ad=this['_revisions']['get'](_0x2a0f1a),_0x4d3330=this['getIndex'](_0x1632ad);for(yield _0x1632ad;_0x1632ad;){if(_0x4d3330+=_0x1e5425,_0x1632ad=this['getRevision'](_0x4d3330),!_0x1632ad)return;_0x39fd61(_0x1632ad)&&(yield _0x1632ad);}}constructor(_0x22fadf){super(_0x22fadf),this['_revisions']=new _0x41db01();}}function y(_0x1cc3fd,_0x309088,_0x5b2d0a){const t=_0x1cc3fd['t'];switch(_0x309088){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'},_0x5b2d0a);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x5b2d0a);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x401e93,'a':_0x1b1fec,'e':_0x5881c5,'r':_0x438d46,'u':_0x5adeb7};class l extends _0x5960e6{static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0xc2555f,A,_0x27d029];}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x14fd26=this['repository']['getRevision'](0x0),_0x179b1e=_0x14fd26&&null===_0x14fd26['creator']?_0x14fd26:null;if(this['_continueCurrentRevision']=!!_0x179b1e&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x723b=this['_source']['getCurrentRevisionId'](),_0x5ae97d=this['repository']['getRevision'](_0x723b);if(_0x5ae97d)this['_startingVersion']=_0x5ae97d['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0xe0da1e=this['_source']['history']['_operations']['find'](_0x1d1565=>!_0x1d1565['_isInit']),_0x4f459c=_0xe0da1e?_0xe0da1e['baseVersion']:this['_source']['history']['version'];_0x14fd26?(_0x14fd26['toVersion']<_0x4f459c&&_0x14fd26['_update']({'toVersion':_0x4f459c}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x179b1e['id'],this['_startingVersion']=_0x179b1e['fromVersion']):(this['_startingVersion']=_0x14fd26['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x4f459c,this['_continueCurrentRevision']=!0x1);}}else _0x179b1e&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x179b1e['toVersion'],this['editor']['model']['document']['history']['version']),_0x179b1e['fromVersion']===_0x179b1e['toVersion']?(0x0!==_0x179b1e['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x179b1e['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x179b1e['id'],this['_startingVersion']=_0x179b1e['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',_0x473445=>!_0x473445);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x2b79c8=this['repository']['getRevision'](0x0),_0x5b425e=await this['getRevisionDocumentData'](_0x2b79c8),_0x6ff34c=await this['getRevisionRootsAttributes'](_0x2b79c8);this['_replaceEditorDataWithRevisionData'](_0x5b425e,_0x6ff34c);}}['setSource'](_0x4f1da1){this['_source']=_0x4f1da1;}async['update'](){const _0x1cd9a0=await this['_source']['getLatestVersion']();if(_0x1cd9a0>this['currentRevision']['toVersion']){await this['_loadState']();const _0x49bce9=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x1cd9a0});_0x49bce9['authors']=_0x49bce9['authorsIds']['map'](_0x2855a0=>this['editor']['plugins']['get']('Users')['getUser'](_0x2855a0)),this['currentRevision']['_update'](_0x49bce9);}}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'](_0xca752b={},_0x5a4f23=null){const _0x2f0784=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x5a4f23>this['currentRevision']['toVersion']&&(_0x5a4f23=null),null===_0x5a4f23&&(_0x5a4f23=await this['_source']['getLatestVersion']());const _0x451461=this['_getFromVersion'](_0x5a4f23),_0x5a24cd=this['buildRevisionData']({'from':_0x451461,'to':_0x5a4f23});if(this['currentRevision']['toVersion']<_0x5a4f23){const _0x1c3876=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x5a4f23,'to':_0x5a4f23});_0x1c3876['authors']=[],_0x1c3876['authorsIds']=[],_0x1c3876['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x1c3876,!0x0),delete _0x1c3876['authors'],_0x2f0784['push'](_0x1c3876);}_0xca752b['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0xca752b['name']=_0xca752b['name']||null,_0xca752b['id']=_0xca752b['id']||_0x4077f3(),_0xca752b={..._0xca752b,..._0x5a24cd};const _0x40849d=this['addRevisionData'](_0xca752b);_0x2f0784['push'](_0xca752b);const _0x11c9ac=this['repository']['getIndex'](_0x40849d);if(0x0!==_0x11c9ac){const _0x37caa1=this['repository']['getRevision'](_0x11c9ac-0x1);if(_0x37caa1['fromVersion']!==_0x5a4f23){const _0x35619f=this['_revisionDataBuilder']['getData'](_0x5a4f23,_0x37caa1['toVersion']),_0x565312={'id':_0x37caa1['id'],'diffData':_0x35619f['diffData'],'authorsIds':_0x35619f['authorsIds'],'authors':_0x35619f['authorsIds']['map'](_0x519ad8=>this['editor']['plugins']['get']('Users')['getUser'](_0x519ad8)),'fromVersion':_0x5a4f23};_0x37caa1===this['currentRevision']&&(_0x565312['createdAt']=new Date(_0xca752b['createdAt']['getTime']()+0xa)),_0x37caa1['_update'](_0x565312,!0x0),delete _0x565312['authors'],_0x2f0784['push'](_0x565312);}}if(this['adapter']){for(const _0x5e001f of _0x2f0784)this['_bufferUpdate'](_0x5e001f['id'],_0x5e001f,!0x0);this['sendBufferedUpdates']();}return _0x40849d;}['addRevisionData'](_0x5147ff){const _0x16323d=this['repository']['createRevision'](_0x5147ff);return this['adapter']&&_0x16323d['on']('_update',(_0x455cfd,_0x18cae0,_0x44328e)=>{_0x44328e||(this['_bufferUpdate'](_0x18cae0['id'],_0x18cae0,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x16323d,this['_findInsertionIndex'](_0x16323d)),_0x16323d;}async['getRevisionDocumentData'](_0x42df2e){await this['_loadRevisionData'](_0x42df2e);const _0x3b3506={};for(const _0x4f8ec6 in _0x42df2e['diffData']){if(_0x42df2e['diffData'][_0x4f8ec6]['attachChange']&&!_0x42df2e['diffData'][_0x4f8ec6]['attachChange']['isAttached'])continue;const _0x51b078=this['_removeRevisionMarkers'](JSON['parse'](_0x42df2e['diffData'][_0x4f8ec6]['insertions'])),_0x11c0d5=this['editor']['editing']['view']['document'],_0x1631fb=new _0x404b60(_0x11c0d5,_0x51b078['map'](_0x222c2b=>B(_0x222c2b,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x3b3506[_0x4f8ec6]=this['editor']['data']['processor']['toData'](_0x1631fb),this['editor']['data']['processor']['useFillerType']('default');}return _0x3b3506;}async['getRevisionRootsAttributes'](_0xc23b8c){await this['_loadRevisionData'](_0xc23b8c);const _0x35461f={};for(const _0x5d524a in _0xc23b8c['diffData'])_0xc23b8c['diffData'][_0x5d524a]['attachChange']&&!_0xc23b8c['diffData'][_0x5d524a]['attachChange']['isAttached']||(_0x35461f[_0x5d524a]=_0xc23b8c['diffData'][_0x5d524a]['attributesAfter']||{});return _0x35461f;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x7011ba=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x480ff2=0x0;_0x480ff2<_0x7011ba['length'];_0x480ff2++){const _0x38692c=_0x7011ba[_0x480ff2];let _0x142f65=!0x1;for(const _0x343121 of Object['keys'](_0x38692c))void 0x0===_0x38692c[_0x343121]?delete _0x38692c[_0x343121]:'id'!==_0x343121&&(_0x142f65=!0x0);_0x142f65||(_0x7011ba[_0x480ff2]=null);}if(_0x7011ba=_0x7011ba['filter'](_0x5581a9=>null!==_0x5581a9),!_0x7011ba['length'])return;for(let _0x1d39bf=0x0;_0x1d39bf<_0x7011ba['length'];_0x1d39bf++){const _0xad7c2d=_0x7011ba[_0x1d39bf];void 0x0!==_0xad7c2d['fromVersion']&&void 0x0===_0xad7c2d['toVersion']&&(_0xad7c2d['toVersion']=this['repository']['getRevision'](_0xad7c2d['id'])['toVersion']),void 0x0!==_0xad7c2d['toVersion']&&void 0x0===_0xad7c2d['fromVersion']&&(_0xad7c2d['fromVersion']=this['repository']['getRevision'](_0xad7c2d['id'])['fromVersion']);}const _0x55cd96=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x7011ba,_0x55cd96)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x5fb3bf=>{if(_0x5fb3bf){for(const _0x562c8b of _0x5fb3bf)this['setRevisionData']({'id':_0x562c8b['id'],'createdAt':_0x562c8b['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x4abcb2,_0x5f3bfe){let _0x196d32=this['editor']['config']['get']('initialData'),_0x780d64=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x196d32){_0x196d32={};for(const _0x342946 of this['editor']['model']['document']['getRootNames']())_0x196d32[_0x342946]='';}if('string'==typeof _0x196d32&&(_0x196d32={'main':_0x196d32}),void 0x0===_0x780d64){_0x780d64={};for(const _0x3d698c of this['editor']['model']['document']['getRootNames']())_0x780d64[_0x3d698c]={};}let _0x5f49c6=!0x1;const _0x3b49c0=Object['keys'](_0x196d32),_0x4315ba=Object['keys'](_0x4abcb2);for(const _0xd73897 of _0x3b49c0){if(_0x196d32[_0xd73897]!==_0x4abcb2[_0xd73897]&&''!==_0x196d32[_0xd73897]['trim']()){_0x5f49c6=!0x0;break;}if(!_0x244c72(_0x780d64[_0xd73897],_0x5f3bfe[_0xd73897])&&Object['keys'](_0x780d64[_0xd73897])['length']>0x0){_0x5f49c6=!0x0;break;}}_0x5f49c6||(_0x5f49c6=_0x4315ba['some'](_0x212c7c=>!this['editor']['model']['document']['getRoot'](_0x212c7c))),_0x5f49c6&&_0x494e9f('editor-initial-data-replaced-with-revision-data',{'editorData':_0x196d32,'editorRootsAttributes':_0x780d64,'revisionData':_0x4abcb2,'revisionRootsAttributes':_0x5f3bfe}),this['editor']['config']['set']('initialData',_0x4abcb2),this['editor']['config']['set']('rootsAttributes',_0x5f3bfe);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x38dc21=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x38dc21['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x4e52e7){const _0x561183=this['repository']['getRevisions']();_0x561183['reverse']();let _0x241ec2=0x0;for(;_0x241ec2<_0x561183['length'];){const _0x44c87f=_0x561183[_0x241ec2];if(_0x44c87f===this['currentRevision']){_0x241ec2++;continue;}if(_0x44c87f['id']===this['_initialRevisionId'])break;const _0x2b4e66=_0x4e52e7['toVersion']-_0x44c87f['toVersion']||_0x4e52e7['fromVersion']-_0x44c87f['fromVersion'];if(_0x2b4e66>0x0)break;if(_0x2b4e66<0x0)_0x241ec2++;else{if(!_0x4e52e7['creator']&&_0x44c87f['creator'])break;if(_0x44c87f['creator']||!_0x4e52e7['creator']){if(_0x4e52e7['createdAt']>_0x44c87f['createdAt'])break;_0x241ec2++;}else _0x241ec2++;}}return _0x241ec2;}['setRevisionData'](_0x48e48c){const _0x22db8b=this['repository']['getRevision'](_0x48e48c['id']);if(_0x48e48c['createdAt']&&(_0x48e48c['createdAt']=new Date(_0x48e48c['createdAt'])),_0x48e48c['authorsIds']){const _0x38862e=this['editor']['plugins']['get']('Users');_0x48e48c['authors']=_0x48e48c['authorsIds']['map'](_0x506fb4=>_0x38862e['getUser'](_0x506fb4));}_0x22db8b['_update'](_0x48e48c,!0x0);}['buildRevisionData']({revision:_0x3b0687=null,from:_0x3068fb=null,to:_0x3007b4=null}){_0x3068fb=null!==_0x3068fb?_0x3068fb:_0x3b0687['fromVersion'],_0x3007b4=null!==_0x3007b4?_0x3007b4:_0x3b0687['toVersion'];const _0x5d43b3=this['_revisionDataBuilder']['getData'](_0x3068fb,_0x3007b4),_0x532459={'diffData':_0x5d43b3['diffData'],'authorsIds':_0x5d43b3['authorsIds'],'fromVersion':_0x3068fb,'toVersion':_0x3007b4};if(!_0x3b0687||_0x3007b4!==_0x3b0687['toVersion']){const _0x5dff69=_0x3007b4-0x1,_0x2b1f40=this['_source']['history']['getOperation'](_0x5dff69);_0x532459['createdAt']=_0x2b1f40&&_0x2b1f40['createdAt']||new Date();}if(this['_loadedStateData']&&_0x3068fb===this['_loadedStateData']['fromVersion']){for(const _0x279195 of this['_loadedStateData']['authors'])_0x532459['authorsIds']['includes'](_0x279195['id'])||_0x532459['authorsIds']['push'](_0x279195['id']);}return _0x532459;}['_loadRevisionData'](_0x511505){if(!_0x511505||_0x511505['diffData'])return Promise['resolve']();{const _0x323d7e=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x323d7e,'revisionId':_0x511505['id']})['then'](_0x38ad22=>{_0x511505['diffData']=_0x38ad22['diffData'];});}}['_bufferUpdate'](_0x1e2ab6,_0x3e5dad,_0x5fb4ac){if(this['_bufferedUpdates']['has'](_0x1e2ab6)){const _0x252807=this['_bufferedUpdates']['get'](_0x1e2ab6);_0x3e5dad=_0x5fb4ac?{..._0x252807,..._0x3e5dad}:{..._0x3e5dad,..._0x252807};}this['_bufferedUpdates']['set'](_0x1e2ab6,_0x3e5dad);}['_getFromVersion'](_0x4e3bfc){const _0x58f2c6=this['repository']['getRevisions']();_0x58f2c6['reverse'](),_0x58f2c6['shift']();const _0x3834ad=_0x58f2c6['find'](_0x57761c=>_0x57761c['toVersion']<=_0x4e3bfc)['toVersion'];return _0x3834ad<this['_startingVersion']?this['_startingVersion']:_0x3834ad;}['_createInitialRevision'](_0x331b56){const _0x5206d9=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x5206d9)this['_initialRevisionId']=_0x5206d9['id'];else{const _0x139132=!this['editor']['model']['document']['roots']['find'](_0x3b0fc7=>this['editor']['model']['hasContent'](_0x3b0fc7)),_0x41e966=this['editor']['plugins']['get']('Users')['me']['id'],_0x425914=y(this['editor']['locale'],_0x139132?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x331b56,'to':_0x331b56,'id':this['_initialRevisionId'],'name':_0x425914,'creatorId':_0x41e966});}}['_createCurrentRevision'](_0x5e9aa6){const _0x45b4c2=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x45b4c2),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x5e9aa6,'to':_0x5e9aa6,'id':_0x45b4c2,'name':'','creatorId':null}));}['_makeRevision']({name:_0x5f56ad,from:_0x3fc1ad,to:_0x45a1cc,creatorId:_0x216fdb,id:_0x21b4a2}){const _0x1b07d0=this['buildRevisionData']({'from':_0x3fc1ad,'to':_0x45a1cc});_0x1b07d0['name']=_0x5f56ad,_0x1b07d0['creatorId']=_0x216fdb,_0x1b07d0['id']=_0x21b4a2;const _0x6512ac=this['addRevisionData'](_0x1b07d0);return this['adapter']&&this['_bufferUpdate'](_0x1b07d0['id'],_0x1b07d0,!0x0),_0x6512ac;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x456d57){return(_0x456d57=_0x456d57['filter'](_0x3414f0=>!_0x3414f0['name']||'revision-start'!==_0x3414f0['name']&&'revision-end'!==_0x3414f0['name']))['forEach'](_0x78a864=>{'string'!=typeof _0x78a864&&(_0x78a864['children']=this['_removeRevisionMarkers'](_0x78a864['children']),_0x78a864['attributes']=_0x78a864['attributes']['filter'](_0x4f4a0a=>!_0x4f4a0a[0x0]['startsWith']('data-revision-')));}),_0x456d57;}constructor(_0x48954d){super(_0x48954d),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 _0xe05ca2=_0x4077f3();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0xe05ca2},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}}function B(_0x245dbc,_0x5a8361){const _0x1654ef=_0x5a8361['editing']['view']['document'];if('string'==typeof _0x245dbc)return new _0x17670e(_0x1654ef,_0x245dbc);{const _0x3392d7=_0x245dbc['children']['map'](_0x628273=>B(_0x628273,_0x5a8361));return new(T[_0x245dbc['type']]||_0x23df6c)(_0x1654ef,_0x245dbc['name'],_0x245dbc['attributes'],_0x3392d7);}}class J{['init'](_0x4ba605){this['source']=_0x4ba605;const _0x536398=new Map(),_0x396b0e=new Map(),_0x422e5f=this['editor']['model']['document']['roots']['map'](_0x3ea994=>_0x3ea994['rootName']);for(const _0x1496fd of _0x422e5f){const _0x520822=this['editor']['model']['document']['getRoot'](_0x1496fd),_0x4ebb26=q(_0x520822);_0x536398['set'](_0x1496fd,_0x4ebb26),_0x396b0e['set'](_0x1496fd,Object['fromEntries'](_0x520822['getAttributes']()));}const _0x853e29=Array['from'](this['editor']['model']['markers'])['map'](_0x314f4d=>[_0x314f4d['name'],_0x314f4d['getRange']()]),_0x5e8d1e=this['source']['version'];this['_saveMetaData'](_0x5e8d1e,_0x536398,_0x853e29,_0x396b0e),this['_startingRevisionId']=this['_revisionId'];const _0x1b4d87=new Map(),_0x356d4a=new Map();for(const _0x531f78 of _0x422e5f){const _0x443f64=G(_0x531f78);_0x1b4d87['set'](_0x531f78,_0x443f64),_0x356d4a['set'](_0x531f78,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x1b4d87,[],_0x356d4a);}['getData'](_0x1d5946,_0xdd1348){if(this['_lastFrom']===_0x1d5946&&this['_lastTo']<=_0xdd1348)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0xdd1348,!0x0);else{if(!this['_savedMetaData']['has'](_0x1d5946)){const _0x409966=this['_getPreviousFrom'](_0x1d5946);this['_calculateMetaData'](_0x409966,_0x1d5946,!0x1);}this['_calculateMetaData'](_0x1d5946,_0xdd1348,!0x0);}return this['_lastFrom']=_0x1d5946,this['_lastTo']=_0xdd1348,this['_getState']();}['loadState'](_0x20e2e5){this['_reset'](),this['_lastFrom']=_0x20e2e5['fromVersion'],this['_lastTo']=_0x20e2e5['toVersion'];for(const _0x819f1f in _0x20e2e5['diffData']){const _0x58289b=_0x20e2e5['diffData'][_0x819f1f]['attachChange'],_0x4bddb9=_0x333ce7(_0x20e2e5['diffData'][_0x819f1f]['attributesBefore'])||{},_0x3c53aa=this['_makeModelFromViewString'](_0x20e2e5['diffData'][_0x819f1f]['deletions']);_0x3c53aa['rootName']=_0x819f1f,_0x3c53aa['_isAttached']=!_0x58289b||!_0x58289b['isAttached'],_0x3c53aa['isAttached']=()=>_0x3c53aa['_isAttached'],this['_baseRoots']['set'](_0x819f1f,_0x3c53aa),this['_baseRootsAttributes']['set'](_0x819f1f,_0x4bddb9),_0x58289b&&this['_touchedRoots']['set'](_0x819f1f,_0x58289b);const _0x4d9fcf=this['_makeIdsRoot'](_0x3c53aa);this['_baseIdsRoots']['set'](_0x819f1f,_0x4d9fcf);for(const [_0x58ea5c,_0xeb5ef9]of _0x3c53aa['markers']){if(!_0x58ea5c['startsWith']('revision:'))continue;const _0x5b5f0d=_0x58ea5c['split'](':')[0x2];for(const _0x5712e1 of _0xeb5ef9['getWalker']({'singleCharacters':!0x0})){const _0x1d152c=this['_getVidAttributeName'](_0x5712e1),_0x45819e='elementEnd'==_0x5712e1['type']?_0x5712e1['previousPosition']['path']['slice'](0x0,-0x1):_0x5712e1['previousPosition']['path'],_0x362019=_0x4d9fcf['getNodeByPath'](_0x45819e)['getAttribute'](_0x1d152c);this['_touched']['set'](_0x362019,{'userId':_0x5b5f0d});}}}this['_startingRevisionId']=this['_revisionId'];const _0x3cdc05=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x3a4b3c=>!this['_touched']['has'](_0x3a4b3c));let _0x515953=0x0;const _0x3bd9a0=new Map();for(const _0x51e2e7 in _0x20e2e5['diffData']){const _0x52f82c=_0x20e2e5['diffData'][_0x51e2e7]['attachChange'],_0x2d7e6d=_0x333ce7(_0x20e2e5['diffData'][_0x51e2e7]['attributesAfter'])||{},_0x39e255=this['_makeModelFromViewString'](_0x20e2e5['diffData'][_0x51e2e7]['insertions']);_0x39e255['rootName']=_0x51e2e7,_0x39e255['_isAttached']=!_0x52f82c||_0x52f82c['isAttached'],_0x39e255['isAttached']=()=>_0x39e255['_isAttached'],this['_diffRoots']['set'](_0x51e2e7,_0x39e255),this['_diffRootsAttributes']['set'](_0x51e2e7,_0x2d7e6d);const _0x46c873=this['_makeIdsRoot'](_0x39e255,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x51e2e7,_0x46c873),_0x3bd9a0['set'](_0x51e2e7,_0x39e255['isAttached']()?_0x2d7e6d:{});for(const [_0x268f54,_0x46ffcf]of _0x39e255['markers']){if(!_0x268f54['startsWith']('revision:'))continue;const _0x12826a=_0x268f54['split'](':')[0x2];for(const _0x288364 of _0x46ffcf['getWalker']({'singleCharacters':!0x0})){const _0x452322=this['_getVidAttributeName'](_0x288364),_0x1caf1d=this['_revisionId']++,_0x3829d3='elementEnd'==_0x288364['type']?_0x288364['previousPosition']['path']['slice'](0x0,-0x1):_0x288364['previousPosition']['path'];_0x46c873['getNodeByPath'](_0x3829d3)['_setAttribute'](_0x452322,_0x1caf1d),this['_touched']['set'](_0x1caf1d,{'userId':_0x12826a});}}for(const _0x10abec of this['editor']['model']['createRangeIn'](_0x39e255)['getWalker']({'singleCharacters':!0x0})){const _0x160b14=this['_getVidAttributeName'](_0x10abec),_0x308f2d='elementEnd'==_0x10abec['type']?_0x10abec['previousPosition']['path']['slice'](0x0,-0x1):_0x10abec['previousPosition']['path'],_0x3ac063=_0x46c873['getNodeByPath'](_0x308f2d);_0x3ac063['getAttribute'](_0x160b14)>0x0||_0x3ac063['_setAttribute'](_0x160b14,_0x3cdc05[_0x515953++]);}for(const [_0x553c1c,_0x59dd5f]of _0x39e255['markers'])_0x553c1c['startsWith']('revision:')||this['_markers']['set'](_0x553c1c,_0x59dd5f);}const _0x2eea21=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x2eea21),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x2eea21,0x1));const _0x1598c4=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x1598c4),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1598c4,0x1));const _0x52c350=Array['from'](this['_diffRoots'])['map'](([_0x42f833,_0xe42bcd])=>[_0x42f833,q(_0xe42bcd)]);this['_saveMetaData'](this['_lastTo'],_0x52c350,this['_markers'],_0x3bd9a0);}['_makeModelFromViewString'](_0x5bcb17){const _0x2801e9=JSON['parse'](_0x5bcb17),_0x4ab6a8=this['editor']['editing']['view']['document'],_0x14a58f=new _0x404b60(_0x4ab6a8,_0x2801e9['map'](_0x3c0786=>B(_0x3c0786,this['editor'])));return this['editor']['data']['toModel'](_0x14a58f);}['_saveMetaData'](_0x117f45,_0x2df4b0,_0x1a2c5a,_0xe59da0){const _0x4ddd69=new Map(_0x2df4b0),_0x561cbb=new Map(_0x333ce7(_0xe59da0)),_0x241f97=new Map();for(const [_0x5b54fc,_0x315e84]of _0x1a2c5a)_0x241f97['set'](_0x5b54fc,{'start':_0x315e84['start']['clone'](),'end':_0x315e84['end']['clone'](),'rootName':_0x315e84['root']['rootName']});this['_savedMetaData']['set'](_0x117f45,{'roots':_0x4ddd69,'markers':_0x241f97,'rootsAttributes':_0x561cbb});}['_removeMetaData'](_0x5ebaad){this['_savedMetaData']['delete'](_0x5ebaad);}['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'](_0x44e40a,_0x96b008=null){let _0x40844e=null;_0x44e40a['is']('documentFragment')||(_0x40844e=new ft(_0x44e40a['name'],{'vid_start':null===_0x96b008?this['_revisionId']++:_0x96b008++}));const _0x2b7848=[];for(const _0x5338a4 of _0x44e40a['getChildren']())if(_0x5338a4['is']('element')){_0x2b7848['push'](this['_makeIdsRoot'](_0x5338a4,_0x96b008));const _0x418653=_0x2b7848[_0x2b7848['length']-0x1];null!==_0x96b008&&(_0x96b008=_0x418653['is']('element','$text')?_0x418653['getAttribute']('vid')+0x1:_0x418653['getAttribute']('vid_end')+0x1);}else{for(let _0xbd5b38=0x0;_0xbd5b38<_0x5338a4['offsetSize'];_0xbd5b38++)_0x2b7848['push'](new ft('$text',{'vid':null===_0x96b008?this['_revisionId']++:_0x96b008++}));}if(_0x44e40a['is']('documentFragment')){const _0x356c8c=G(_0x44e40a['rootName']);return _0x356c8c['_insertChild'](0x0,_0x2b7848),_0x356c8c;}return _0x40844e['_setAttribute']('vid_end',null===_0x96b008?this['_revisionId']++:_0x96b008++),_0x40844e['_insertChild'](0x0,_0x2b7848),_0x40844e;}['_calculateMetaData'](_0x1f0587,_0x46c148,_0x2e7972){this['_reset']();const {roots:_0x39b59d,markers:_0xb6426e,rootsAttributes:_0x482c4e}=this['_savedMetaData']['get'](_0x1f0587);this['_baseRoots']=new Map(_0x39b59d),this['_baseRootsAttributes']=new Map(_0x333ce7(_0x482c4e));for(const [_0xee384b,_0x3f6a5d]of this['_baseRoots'])if('$graveyard'!==_0xee384b&&(this['_diffRoots']['set'](_0xee384b,q(_0x3f6a5d)),this['_diffRootsAttributes']=new Map(_0x333ce7(_0x482c4e)),_0x2e7972)){const _0x3d22d2=this['_revisionId'];this['_idsRoots']['set'](_0xee384b,this['_makeIdsRoot'](_0x3f6a5d)),this['_baseIdsRoots']['set'](_0xee384b,this['_makeIdsRoot'](_0x3f6a5d,_0x3d22d2));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x2e7972&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x48c534,_0x290cc8]of _0xb6426e){const _0x4300da=this['_baseRoots']['get'](_0x290cc8['rootName']),_0x57922f=this['_diffRoots']['get'](_0x290cc8['rootName']),_0x334c9b=new gt(this['_fixPosition'](_0x290cc8['start'],_0x4300da),this['_fixPosition'](_0x290cc8['end'],_0x4300da)),_0x1c2c70=this['_fixRange'](_0x334c9b,_0x57922f);_0x4300da['markers']['set'](_0x48c534,_0x334c9b),this['_markers']['set'](_0x48c534,_0x1c2c70);}this['_applyOperations'](_0x1f0587,_0x46c148,_0x2e7972);}['_applyOperations'](_0x47fa92,_0x2f34d2,_0x2a5ea9){for(const _0x5e0e1b of this['source']['getOperations'](_0x47fa92,_0x2f34d2))this['_handleOperation'](_0x5e0e1b,_0x2a5ea9);for(const _0x2a912e of this['_diffRoots']['values']())_0x2a912e['markers']['clear']();for(const [_0x2e19eb,_0x10285a]of this['_markers']){this['_diffRoots']['get'](_0x10285a['root']['rootName'])['markers']['set'](_0x2e19eb,_0x10285a['clone']());}const _0x1cbc21=new Map(),_0x2863f5=new Map();for(const [_0x58ff8f,_0x2ff6db]of this['_diffRoots'])_0x1cbc21['set'](_0x58ff8f,q(_0x2ff6db)),_0x2863f5['set'](_0x58ff8f,this['_diffRootsAttributes']['get'](_0x58ff8f));this['_saveMetaData'](_0x2f34d2,_0x1cbc21,this['_markers'],_0x2863f5);}['_getPreviousFrom'](_0x2f4645){const _0x5a9188=Array['from'](this['_savedMetaData']['keys']());_0x5a9188['sort']((_0xc22ce3,_0x37f5b5)=>_0xc22ce3-_0x37f5b5),_0x5a9188['reverse']();for(const _0x3c60be of _0x5a9188)if(_0x3c60be<_0x2f4645)return _0x3c60be;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x5dd1bb,_0x2240c3){const _0x89152b=Array['from'](_0x2240c3['markers'])['map'](([_0x586ea2,_0x431e69])=>[_0x586ea2,this['_fixRange'](_0x431e69,_0x5dd1bb)]);_0x5dd1bb['markers']=new Map(_0x89152b);}['_transformMarkers'](_0x291e60){for(const _0x4efe76 of this['_markers']['values']()){const _0x47739c=_0x4efe76['getTransformedByOperation'](_0x291e60),_0x40d993=gt['_createFromRanges'](_0x47739c);_0x4efe76['start']=_0x40d993['start'],_0x4efe76['end']=_0x40d993['end'];}}['_handleOperation'](_0x51d560,_0x2f6cfe){if('addRoot'==_0x51d560['type']||'detachRoot'==_0x51d560['type'])return void this['_handleRootOperation'](_0x51d560,_0x2f6cfe);if('insert'==_0x51d560['type']){const _0x441a93=_0x51d560['position']['root']['rootName'];this['_diffRoots']['has'](_0x441a93)||(this['_diffRoots']['set'](_0x441a93,G(_0x441a93,!0x0)),this['_diffRootsAttributes']['set'](_0x441a93,{}),_0x2f6cfe&&this['_idsRoots']['set'](_0x441a93,G(_0x441a93,!0x0)));}else{if('addRootAttribute'==_0x51d560['type']||'removeRootAttribute'==_0x51d560['type']||'changeRootAttribute'==_0x51d560['type'])return void this['_handleRootAttributeOperation'](_0x51d560);}const _0x3665c3=this['_cloneOperation'](_0x51d560,this['_diffRoots']);if('marker'!==_0x51d560['type']&&(_0x3665c3['_execute'](),this['_transformMarkers'](_0x3665c3)),_0x2f6cfe)switch(_0x3665c3['type']){case'insert':this['_handleInsertOperation'](_0x51d560);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x51d560);break;case'merge':this['_handleMergeOperation'](_0x51d560);break;case'split':this['_handleSplitOperation'](_0x51d560);break;case'marker':this['_handleMarkerOperation'](_0x51d560);}}['_cloneOperation'](_0x380fdc,_0x49c358){const _0x388069=_0x380fdc['clone']();return _0x388069['_authorId']=_0x380fdc['_authorId'],this['_fixOperation'](_0x388069,_0x49c358),_0x388069;}['_getBaseVids'](_0x1e38ce){return _0x1e38ce['map'](_0x3befca=>{const _0x2eafa1=this['_getVidAttributeName'](_0x3befca);return Number(_0x3befca['item']['getAttribute'](_0x2eafa1));});}['_generateTape'](_0x6a13e0,_0x4b9915){if(_0x6a13e0['is']('element','$text'))_0x4b9915['push']({'item':_0x6a13e0,'type':'text'});else{_0x6a13e0['is']('element')&&_0x4b9915['push']({'item':_0x6a13e0,'type':'elementStart'});for(const _0x4cf3eb of _0x6a13e0['getChildren']())this['_generateTape'](_0x4cf3eb,_0x4b9915);_0x6a13e0['is']('element')&&_0x4b9915['push']({'item':_0x6a13e0,'type':'elementEnd'});}return _0x4b9915;}['_getState'](){const _0x5677b=new Map(this['_touched']),_0xe36220=new Map(_0x5677b),_0x438fd6=new Map(),_0x43e4cd={'insertions':{},'deletions':{}},_0x14ff5c={'insertions':{},'deletions':{}},_0x141a54=new Map(),_0x4a647c=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x4a647c['delete']('$graveyard');for(const _0x32aa81 of _0x4a647c){const _0x44ea50=this['_diffRoots']['get'](_0x32aa81)||G(_0x32aa81,!0x1),_0x1d5c76=this['_baseRoots']['get'](_0x32aa81)||G(_0x32aa81,!0x1);_0x44ea50['isAttached']()||_0x1d5c76['isAttached']()?(_0x43e4cd['insertions'][_0x32aa81]=q(_0x44ea50),_0x43e4cd['deletions'][_0x32aa81]=q(_0x1d5c76),this['_copyMarkers'](_0x43e4cd['deletions'][_0x32aa81],_0x1d5c76),this['_copyMarkers'](_0x43e4cd['insertions'][_0x32aa81],_0x44ea50),_0x14ff5c['insertions'][_0x32aa81]=this['_generateTape'](this['_idsRoots']['get'](_0x32aa81),[]),_0x14ff5c['deletions'][_0x32aa81]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x32aa81)||G(_0x32aa81,!0x1),[])):_0x4a647c['delete'](_0x32aa81);}for(const _0x1f6cc2 of _0x4a647c){const _0xf77256=_0x14ff5c['insertions'][_0x1f6cc2];for(const _0x5894ff of _0xf77256){const _0xe52e58=this['_getVidAttributeName'](_0x5894ff),_0x42783a=_0x5894ff['item']['getAttribute'](_0xe52e58);_0xe36220['delete'](_0x42783a),_0x42783a>=this['_startingRevisionId']&&_0x438fd6['set'](_0x42783a,_0x5677b['get'](_0x42783a));}}for(const _0x4371eb of _0x4a647c){const _0x16cfa7=_0x14ff5c['insertions'][_0x4371eb],_0x4bad7b=this['_getBaseVids'](_0x14ff5c['deletions'][_0x4371eb]);let _0x35bef1=0x0;for(const _0x2a4261 of _0x16cfa7){const _0xae71dd=this['_getVidAttributeName'](_0x2a4261),_0x4f49b0=_0x2a4261['item']['getAttribute'](_0xae71dd);if(!_0x438fd6['has'](_0x4f49b0)&&!_0x141a54['has'](_0x4f49b0)){if(_0xe36220['has'](_0x4f49b0))_0x35bef1++;else{if(_0x4f49b0!=_0x4bad7b[_0x35bef1]){const _0x4e4aa8=_0x5677b['get'](_0x4f49b0)||_0x5677b['get'](_0x4bad7b[_0x35bef1]);for(;_0x4f49b0!=_0x4bad7b[_0x35bef1];)_0xe36220['has'](_0x4bad7b[_0x35bef1])||(_0x141a54['set'](_0x4bad7b[_0x35bef1],_0x4e4aa8),_0x5677b['set'](_0x4bad7b[_0x35bef1],_0x4e4aa8)),_0x35bef1++;}_0x35bef1++;}}}}for(const _0x3b4dbf of _0x4a647c){const _0x54af46=_0x14ff5c['insertions'][_0x3b4dbf];for(const _0x1162e2 of _0x54af46){const _0x26d588=this['_getVidAttributeName'](_0x1162e2),_0x5ae443=_0x1162e2['item']['getAttribute'](_0x26d588);if(_0x141a54['has'](_0x5ae443)){const _0x1ea3f6=_0x141a54['get'](_0x5ae443);_0xe36220['has'](_0x5ae443)||_0xe36220['set'](_0x5ae443,{..._0x1ea3f6}),_0x438fd6['set'](_0x5ae443,{..._0x1ea3f6});}}}for(const _0x553f09 of _0xe36220['keys']())_0x553f09>=this['_startingRevisionId']&&_0xe36220['delete'](_0x553f09);const _0x2aff81=new Map();for(const _0x2f575f of _0x4a647c){let _0x3edace=_0x14ff5c['insertions'][_0x2f575f];for(const _0x4bffe0 of _0x3edace)if(_0x4bffe0['item']['is']('element','tableCell')){const _0x3697c4=this['_getVidAttributeName'](_0x4bffe0),_0x1dc231=_0x4bffe0['item']['getAttribute'](_0x3697c4);if(_0x438fd6['has'](_0x1dc231)){const _0x5cc28b=_0x4bffe0['item']['parent']['parent']['getAttribute']('vid_start'),_0x4b1581=_0x2aff81['get'](_0x5cc28b)||new Set();_0x4b1581['add'](_0x438fd6['get'](_0x1dc231)['userId']),_0x2aff81['set'](_0x5cc28b,_0x4b1581);}}_0x3edace=_0x14ff5c['deletions'][_0x2f575f];for(const _0x5a0fad of _0x3edace)if(_0x5a0fad['item']['is']('element','tableCell')){const _0x1514a1=this['_getVidAttributeName'](_0x5a0fad),_0x2938af=_0x5a0fad['item']['getAttribute'](_0x1514a1);if(_0xe36220['has'](_0x2938af)){const _0x2b05ba=_0x5a0fad['item']['parent']['parent']['getAttribute']('vid_start'),_0x24c860=_0x2aff81['get'](_0x2b05ba)||new Set();_0x24c860['add'](_0xe36220['get'](_0x2938af)['userId']),_0x2aff81['set'](_0x2b05ba,_0x24c860);}}for(const _0x884218 of _0x2aff81['keys']())(_0x438fd6['has'](_0x884218)||_0xe36220['has'](_0x884218))&&_0x2aff81['delete'](_0x884218);}for(const _0x1b5ec6 of _0x4a647c){const _0x5df268=_0x14ff5c['insertions'][_0x1b5ec6];let _0x54c5c1=null,_0x291b58=null;for(const _0xb8957a of _0x5df268){const _0x38bf30=this['_getVidAttributeName'](_0xb8957a),_0x3ee91a=_0xb8957a['item']['getAttribute'](_0x38bf30),_0x4576e5=_0x2aff81['get'](_0x3ee91a);_0x4576e5&&'elementStart'==_0xb8957a['type']&&(_0x54c5c1=Array['from'](_0x4576e5)[0x0],_0x291b58=_0xb8957a['item']['getAttribute']('vid_end')),_0x54c5c1&&(_0xe36220['set'](_0x3ee91a,{'userId':_0x54c5c1}),_0x438fd6['set'](_0x3ee91a,{'userId':_0x54c5c1})),_0x3ee91a==_0x291b58&&(_0x54c5c1=null,_0x291b58=null);}}const _0x3efc65={},_0x4cb4af=new Set();for(const _0x5de147 of _0x4a647c){const _0xebc9f7=_0x43e4cd['deletions'][_0x5de147],_0x312f4f=_0x43e4cd['insertions'][_0x5de147];for(const {userId:_0x589c01}of this['_touchedMarkers']['values']())null!==_0x589c01&&_0x4cb4af['add'](_0x589c01);for(const {userId:_0x5c98b3}of this['_touchedRoots']['values']())null!==_0x5c98b3&&_0x4cb4af['add'](_0x5c98b3);this['_markChanges'](_0x312f4f,_0x14ff5c['insertions'][_0x5de147],_0x438fd6,'insertion',_0x4cb4af),this['_markChanges'](_0xebc9f7,_0x14ff5c['deletions'][_0x5de147],_0xe36220,'deletion',_0x4cb4af),_0x3efc65[_0x5de147]={'insertions':this['_prepareViewToSave'](_0x312f4f),'deletions':this['_prepareViewToSave'](_0xebc9f7),'attachChange':this['_touchedRoots']['get'](_0x5de147)||null,'attributesBefore':_0x333ce7(this['_baseRootsAttributes']['get'](_0x5de147))||{},'attributesAfter':_0x333ce7(this['_diffRootsAttributes']['get'](_0x5de147))};}return{'diffData':_0x3efc65,'authorsIds':Array['from'](_0x4cb4af)};}['_processRootBeforeSave'](_0x361740){for(const [,_0x106ff4]of _0x361740['markers']){const _0x9cc5c7=_0x106ff4['start']['getAncestors']()['filter'](_0x5f4b6d=>'tableCell'==_0x5f4b6d['name']);for(const _0x10acd3 of _0x9cc5c7)0x1==_0x10acd3['childCount']&&_0x10acd3['getChild'](0x0)['is']('element','paragraph')&&_0x10acd3['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x486222){this['_processRootBeforeSave'](_0x486222);const _0x4ed038=this['editor']['data']['toView'](_0x486222,{}),_0x52e9f7=Array['from'](_0x4ed038['getChildren']())['map'](_0x3b5fb7=>this['_getViewJson'](_0x3b5fb7));return JSON['stringify'](_0x52e9f7);}['_getViewJson'](_0x341604){if(_0x341604['is']('$text'))return _0x341604['data'];{const _0x1f43a3=_0x341604;return{'type':Object['keys'](T)['find'](_0x3ee04d=>_0x341604 instanceof T[_0x3ee04d]),'name':_0x1f43a3['name'],'attributes':Array['from'](_0x1f43a3['getAttributes']()),'children':Array['from'](_0x1f43a3['getChildren']())['map'](_0xdd123f=>this['_getViewJson'](_0xdd123f))};}}['_markChanges'](_0x27114c,_0x5bbf6f,_0x5583fc,_0x57d0f5,_0x5d491f){let _0x2a0fd8=null,_0x59dbcf=null,_0x39a4c5=0x0;const _0x320f7c=this['editor']['model'];for(let _0x527a55=0x0;_0x527a55<_0x5bbf6f['length'];_0x527a55++){const _0x11be39=this['_getVidAttributeName'](_0x5bbf6f[_0x527a55]),_0x2bd9f8=_0x5bbf6f[_0x527a55]['item']['getAttribute'](_0x11be39),_0x507009=_0x5583fc['get'](_0x2bd9f8),_0x3a484f=_0x527a55==_0x5bbf6f['length']-0x1;(!_0x2a0fd8&&_0x507009&&(_0x2a0fd8=_0x507009,_0x59dbcf=_0x5bbf6f[_0x527a55]),_0x2a0fd8&&(!_0x507009||_0x507009['userId']!=_0x2a0fd8['userId']))&&(_0x50278d(_0x507009,L(_0x59dbcf,_0x27114c,_0x320f7c),L(_0x5bbf6f[_0x527a55],_0x27114c,_0x320f7c)),_0x2a0fd8=_0x507009||null,_0x59dbcf=_0x507009?_0x5bbf6f[_0x527a55]:null),_0x2a0fd8&&_0x3a484f&&_0x50278d(_0x507009,L(_0x59dbcf,_0x27114c,_0x320f7c),W(_0x5bbf6f[_0x527a55],_0x27114c,_0x320f7c));}function _0x50278d(_0x4a9b71,_0x5e693a,_0x3e7e9a){const _0x1e94e5=_0x2a0fd8['userId'],_0x302086='revision:'+_0x57d0f5+':'+_0x1e94e5+':'+_0x39a4c5++,_0x47765f=_0x320f7c['createRange'](_0x5e693a,_0x3e7e9a);_0x27114c['markers']['set'](_0x302086,_0x47765f),null!==_0x1e94e5&&_0x5d491f['add'](_0x1e94e5);}}['_getVidAttributeName'](_0x564a48){switch(_0x564a48['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x2b47a4,_0x28eb){_0x2b47a4['baseVersion']=null;for(const _0x7f9258 in _0x2b47a4){const _0x440567=_0x2b47a4[_0x7f9258];if(_0x440567 instanceof wt){const _0x463c4c=_0x28eb['get'](_0x440567['root']['rootName']);_0x2b47a4[_0x7f9258]=this['_fixPosition'](_0x440567,_0x463c4c);}if(_0x440567 instanceof gt){const _0x19bea8=_0x28eb['get'](_0x440567['root']['rootName']);_0x2b47a4[_0x7f9258]=this['_fixRange'](_0x440567,_0x19bea8);}'root'===_0x7f9258&&(_0x2b47a4['root']=_0x28eb['get'](_0x2b47a4['root']['rootName']));}}['_fixRange'](_0x429e93,_0x550e54){return this['editor']['model']['createRange'](this['_fixPosition'](_0x429e93['start'],_0x550e54),this['_fixPosition'](_0x429e93['end'],_0x550e54));}['_fixPosition'](_0x1987a8,_0x412052){return this['editor']['model']['createPositionFromPath'](_0x412052,_0x1987a8['path'],_0x1987a8['stickiness']);}['_handleInsertOperation'](_0x23319e){const _0x133e6a=this['_idsRoots']['get'](_0x23319e['position']['root']['rootName']),_0x4002ee=this['_fixPosition'](_0x23319e['position'],_0x133e6a),_0x410d2b=null===_0x23319e['_authorId']?null:_0x23319e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x7a1af5=_0x4002ee['parent'],_0x10b284=this['_revisionId'],_0x42dd77=[];for(const _0x35eafc of _0x23319e['nodes'])if(_0x35eafc['is']('element'))_0x42dd77['push'](this['_makeIdsRoot'](_0x35eafc));else{for(let _0x67b998=0x0;_0x67b998<_0x35eafc['offsetSize'];_0x67b998++)_0x42dd77['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x321792=this['_revisionId'];for(let _0x2e4668=_0x10b284;_0x2e4668<_0x321792;_0x2e4668++)this['_touched']['set'](_0x2e4668,{'userId':_0x410d2b});_0x7a1af5['_insertChild'](_0x4002ee['offset'],_0x42dd77);}['_handleMoveOperation'](_0x51bf7a){(_0x51bf7a=this['_cloneOperation'](_0x51bf7a,this['_idsRoots']))['_execute']();const _0x37ef48=null===_0x51bf7a['_authorId']?null:_0x51bf7a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4f436d=_0x51bf7a['getMovedRangeStart'](),_0x100c61=_0x4f436d['parent'],_0x21d7ef=_0x4f436d['offset'];!function _0x38a494(_0x3e23c4,_0x3dc310,_0x7d6629,_0xaef0f5){for(let _0x2d5b6c=_0x7d6629;_0x2d5b6c<_0xaef0f5;_0x2d5b6c++){const _0x4dc37b=_0x3dc310['getChild'](_0x2d5b6c);_0x4dc37b['is']('element','$text')?_0x3e23c4['set'](_0x4dc37b['getAttribute']('vid'),{'userId':_0x37ef48}):(_0x3e23c4['set'](_0x4dc37b['getAttribute']('vid_start'),{'userId':_0x37ef48}),_0x38a494(_0x3e23c4,_0x4dc37b,0x0,_0x4dc37b['childCount']),_0x3e23c4['set'](_0x4dc37b['getAttribute']('vid_end'),{'userId':_0x37ef48}));}}(this['_touched'],_0x100c61,_0x21d7ef,_0x21d7ef+_0x51bf7a['howMany']);}['_handleMergeOperation'](_0x239061){const _0x93ef57=null===(_0x239061=this['_cloneOperation'](_0x239061,this['_idsRoots']))['_authorId']?null:_0x239061['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x38cf58=_0x239061['targetPosition']['parent'],_0x3640da=_0x239061['sourcePosition']['parent'],_0x3d5342=_0x38cf58['getAttribute']('vid_end'),_0x43d57c=_0x3640da['getAttribute']('vid_start');_0x38cf58['_setAttribute']('vid_end',_0x3640da['getAttribute']('vid_end')),_0x3640da['_setAttribute']('vid_end',_0x3d5342),this['_touched']['set'](_0x43d57c,{'userId':_0x93ef57}),this['_touched']['set'](_0x3d5342,{'userId':_0x93ef57}),_0x239061['_execute']();}['_handleSplitOperation'](_0x269aa0){const _0x4ad5fa=null===(_0x269aa0=this['_cloneOperation'](_0x269aa0,this['_idsRoots']))['_authorId']?null:_0x269aa0['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4a8bf1=_0x269aa0['graveyardPosition'],_0x2f1831=_0x269aa0['splitPosition']['parent'];_0x269aa0['_execute']();const _0x3d735f=_0x2f1831['getAttribute']('vid_end'),_0x4aa542=_0x269aa0['insertionPosition']['nodeAfter'];if(_0x4a8bf1){const _0x289518=_0x4aa542['getAttribute']('vid_end'),_0x470ffb=_0x2f1831['getAttribute']('vid_end');_0x2f1831['_setAttribute']('vid_end',_0x289518),_0x4aa542['_setAttribute']('vid_end',_0x470ffb),this['_touched']['set'](_0x2f1831['getAttribute']('vid_end'),{'userId':_0x4ad5fa}),this['_touched']['set'](_0x4aa542['getAttribute']('vid_start'),{'userId':_0x4ad5fa});}else{const _0x3588f3=this['_revisionId']++,_0xb3ba1d=this['_revisionId']++;_0x2f1831['_setAttribute']('vid_end',_0x3588f3),_0x4aa542['_setAttribute']('vid_start',_0xb3ba1d),_0x4aa542['_setAttribute']('vid_end',_0x3d735f),this['_touched']['set'](_0x3588f3,{'userId':_0x4ad5fa}),this['_touched']['set'](_0xb3ba1d,{'userId':_0x4ad5fa});}}['_handleMarkerOperation'](_0x30b251){if(!_0x30b251['affectsData'])return;const _0x28ce96=(_0x30b251=this['_cloneOperation'](_0x30b251,this['_diffRoots']))['oldRange']?_0x30b251['oldRange']['root']:null,_0x375d92=_0x30b251['newRange']?_0x30b251['newRange']['root']:null;_0x28ce96&&this['_markers']['delete'](_0x30b251['name']),_0x375d92&&this['_markers']['set'](_0x30b251['name'],_0x30b251['newRange']['clone']());const _0x1a095b=null===_0x30b251['_authorId']?null:_0x30b251['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x14c39a=_0x30b251['name'];if(!this['_touchedMarkers']['has'](_0x14c39a))return void this['_touchedMarkers']['set'](_0x14c39a,{'range':_0x30b251['oldRange'],'userId':_0x1a095b});const _0x19cd03=this['_touchedMarkers']['get'](_0x14c39a),_0xad4d3f=_0x19cd03['range'],_0x11ec99=_0x30b251['newRange'];null==_0xad4d3f&&null==_0x11ec99||_0xad4d3f&&_0x11ec99&&_0xad4d3f['isEqual'](_0x11ec99)?this['_touchedMarkers']['delete'](_0x30b251['name']):_0x19cd03['userId']=_0x1a095b;}['_handleRootOperation'](_0x139e9e,_0x720918){this['_diffRoots']['has'](_0x139e9e['rootName'])?this['_diffRoots']['get'](_0x139e9e['rootName'])['_isAttached']=_0x139e9e['isAdd']:(this['_diffRoots']['set'](_0x139e9e['rootName'],G(_0x139e9e['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x139e9e['rootName'],{}),_0x720918&&this['_idsRoots']['set'](_0x139e9e['rootName'],G(_0x139e9e['rootName'],!0x0)));const _0x589f1a=null===_0x139e9e['_authorId']?null:_0x139e9e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x479dba=this['_touchedRoots']['get'](_0x139e9e['rootName']);_0x479dba&&_0x479dba['userId']===_0x589f1a?this['_touchedRoots']['delete'](_0x139e9e['rootName']):this['_touchedRoots']['set'](_0x139e9e['rootName'],{'userId':_0x589f1a,'isAttached':_0x139e9e['isAdd']});}['_handleRootAttributeOperation'](_0x21efdf){const _0x94f4a6=this['_diffRootsAttributes']['get'](_0x21efdf['root']['rootName']);null===_0x21efdf['newValue']?delete _0x94f4a6[_0x21efdf['key']]:_0x94f4a6[_0x21efdf['key']]=_0x21efdf['newValue'];}constructor(_0x866634){this['editor']=_0x866634,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}}function q(_0x225c08){const _0x2f91c0=G(_0x225c08['rootName'],_0x225c08['isAttached']());for(const _0x462089 of _0x225c08['getChildren']()){const _0x2603d7=_0x462089['_clone'](!0x0);_0x2f91c0['_appendChild'](_0x2603d7);}return _0x2f91c0;}function G(_0x16d12e,_0xeda4e4=!0x0){const _0x31275a=new _t();return _0x31275a['rootName']=_0x16d12e,_0x31275a['_isAttached']=_0xeda4e4,_0x31275a['isAttached']=()=>_0x31275a['_isAttached'],_0x31275a;}function L(_0x11419a,_0x15e7b6,_0x434af6){const _0x69d5e2='elementEnd'==_0x11419a['type']?_0x434af6['createPositionAt'](_0x11419a['item'],'end'):_0x434af6['createPositionBefore'](_0x11419a['item']);return _0x434af6['createPositionFromPath'](_0x15e7b6,_0x69d5e2['path'],_0x69d5e2['stickiness']);}function W(_0x445068,_0x344120,_0x50b806){const _0x5adb75='elementStart'==_0x445068['type']?_0x50b806['createPositionAt'](_0x445068['item'],0x0):_0x50b806['createPositionAfter'](_0x445068['item']);return _0x50b806['createPositionFromPath'](_0x344120,_0x5adb75['path'],_0x5adb75['stickiness']);}class ns extends _0xb33fc2{['render'](){super['render'](),_0x420a75({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x48ae93=_0x2e3ecd=>_0x2e3ecd['stopPropagation']();this['keystrokes']['set']('arrowright',_0x48ae93),this['keystrokes']['set']('arrowleft',_0x48ae93),this['keystrokes']['set']('arrowup',_0x48ae93),this['keystrokes']['set']('arrowdown',_0x48ae93);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x38fb09){this['revisionNameInputView']['fieldView']['element']['value']=_0x38fb09['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x2e3c4){const _0x13219b=new mt(this['locale'],_0x202a9a),_0x5511d0=_0x13219b['fieldView'];_0x5511d0['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x1947ee=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x2e3c4&&(_0x1947ee+='\x20('+y(this['locale'],'optional')+')'),(_0x13219b['label']=_0x1947ee,_0x5511d0['on']('input',()=>{this['revisionNameInputValue']=_0x5511d0['element']['value']['trim']();}),_0x13219b);}constructor(_0x40aeb0,_0x1393a1){super(_0x40aeb0),this['focusTracker']=new _0xc790ed(),this['keystrokes']=new _0x3a588b(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x1393a1),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}}class u extends _0x5960e6{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['init'](){const _0x5bed44=this['editor'],_0x4aaf68=_0x5bed44['plugins']['get']('RevisionTracker');_0x5bed44['ui']['componentFactory']['add']('revisionHistory',_0x599895=>{const _0x4daf70=_0xb6690e(_0x599895),_0x4b527f=_0x4daf70['panelView']['children'],_0xd67aae=new te(_0x599895),_0x14a3de=new _0x403a90(_0x599895),_0x50ab7c=new _0x166e2b(_0x599895),_0x462a08=new _0x403a90(_0x599895),_0x405516=new _0x166e2b(_0x599895);return _0x4daf70['bind']('isEnabled')['to'](_0x4aaf68,'isReady',_0x4aaf68,'isEnabled',_0x5bed44,'isReadOnly',(_0xb9ac90,_0x496d9d,_0x94dc51)=>_0xb9ac90&&_0x496d9d&&!_0x94dc51),_0x4daf70['buttonView']['set']({'icon':_0x3c2dc1['history'],'label':y(_0x599895,'Revision\x20history'),'tooltip':!0x0}),_0x50ab7c['set']({'label':y(_0x599895,'Save\x20current\x20revision'),'withText':!0x0}),_0x50ab7c['bind']('isEnabled')['to'](_0x4aaf68,'isReady',_0x4aaf68,'isEnabled',_0x5bed44,'isReadOnly',(_0x26e0ec,_0x2c7c58,_0x58396a)=>_0x26e0ec&&_0x2c7c58&&!_0x58396a),_0x50ab7c['on']('execute',()=>this['_showDialog']()),_0x405516['set']({'label':y(_0x599895,'Open\x20revision\x20history'),'withText':!0x0}),_0x405516['bind']('isEnabled')['to'](_0x4aaf68,'isReady',_0x5bed44,'isReadOnly',(_0x4df8fd,_0x402c41)=>_0x4df8fd&&!_0x402c41),_0x405516['on']('execute',()=>{_0x5bed44['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x4daf70['isOpen']=!0x1,_0x5bed44['editing']['view']['focus']();}),_0x14a3de['children']['add'](_0x50ab7c),_0x462a08['children']['add'](_0x405516),_0xd67aae['items']['addMany']([_0x14a3de,_0x462a08]),_0x4b527f['add'](_0xd67aae),_0x4daf70;}),_0x5bed44['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x32f91b=this['editor'],_0x1c6255=_0x32f91b['locale'],_0x172da1=new _0x3fe0ff(_0x1c6255),_0x138ad8=new _0x2bf801(_0x1c6255);_0x172da1['buttonView']['set']({'icon':_0x3c2dc1['history'],'label':y(_0x1c6255,'Revision\x20history')});const _0x548b10=new _0x2bc9a9(_0x1c6255,_0x172da1),_0x5c2255=new _0x2f9319(_0x1c6255);_0x5c2255['set']({'label':y(_0x1c6255,'Save\x20current\x20revision')}),_0x5c2255['delegate']('execute')['to'](_0x172da1),_0x5c2255['on']('execute',()=>{this['_showDialog']();}),_0x548b10['children']['add'](_0x5c2255),_0x138ad8['items']['add'](_0x548b10);const _0x10c8fc=new _0x2bc9a9(_0x1c6255,_0x172da1),_0x105c03=new _0x2f9319(_0x1c6255);return _0x105c03['set']({'label':y(_0x1c6255,'Open\x20revision\x20history')}),_0x105c03['delegate']('execute')['to'](_0x172da1),_0x105c03['on']('execute',()=>{_0x32f91b['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x10c8fc['children']['add'](_0x105c03),_0x138ad8['items']['add'](_0x10c8fc),_0x172da1['panelView']['children']['add'](_0x138ad8),_0x172da1;}['_showDialog'](){const _0x39bb3b=this['editor'],_0xca728=_0x39bb3b['locale'],t=_0xca728['t'],_0x5898e2=_0x39bb3b['plugins']['get']('Dialog'),_0x87c329=_0x39bb3b['plugins']['get']('RevisionTracker');function _0x4ec1cd(_0x1731c6){_0x39bb3b['config']['get']('revisionHistory.requireRevisionName')&&''===_0x1731c6['revisionName']?_0x1731c6['revisionNameInputView']['errorText']=y(_0xca728,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x39bb3b['plugins']['get'](l)['saveRevision']({'name':_0x1731c6['revisionName']}),_0x5898e2['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x4ec1cd(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x5898e2['show']({'id':'findAndReplace','title':y(_0xca728,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x5898e2['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x33771b){_0x33771b['bind']('isEnabled')['to'](_0x87c329,'isReady',_0x87c329,'isEnabled',_0x39bb3b,'isReadOnly',(_0xb5ee2e,_0x3423f9,_0x3b0854)=>_0xb5ee2e&&_0x3423f9&&!_0x3b0854);},'onExecute':()=>_0x4ec1cd(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x3c5b87=this['editor'],_0x4a1d51=_0x3c5b87['locale'];this['_saveRevisionFormView']=new ns(_0x4a1d51,_0x3c5b87['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0xb33fc2{['focus'](){this['element']['focus']();}constructor(_0x3c83ab,_0x2ee42b){super(_0x3c83ab),this['_model']=_0x2ee42b,this['changeId']=_0x2ee42b['id'];const _0x58cbb0=this['bindTemplate'],_0x5e0ca0=y(_0x3c83ab,_0x2ee42b['data']['isSuggestion']?'Suggested\x20by':'add'==_0x2ee42b['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x2ee42b['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x58cbb0['to']('type',_0x5d761c=>'ck-revision-change__'+_0x5d761c)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x5e0ca0}]},{'text':'\x20'+_0x2ee42b['author']['name']}]}]});}}class r extends _0x530cfa(){['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}constructor(_0x1787fe){super(),this['id']=_0x1787fe['id']||_0x4077f3(),this['author']=_0x1787fe['author'],this['type']=_0x1787fe['type'],this['data']=_0x1787fe['data']||{},this['rootName']=_0x1787fe['rootName'],this['set']('createdAt',_0x1787fe['createdAt']);}}class f{['_setChanges'](_0x1306bd){for(const _0x262c76 of _0x1306bd)this['changes']['add'](_0x262c76);}constructor(_0x5d9a45,_0x1dcdd9){this['newRevisionId']=_0x5d9a45,this['oldRevisionId']=_0x1dcdd9,this['changes']=new _0x41db01();}}const tt={'c':_0x401e93,'a':_0x1b1fec,'e':_0x5881c5,'r':_0x438d46,'u':_0x5adeb7};class d extends _0x5960e6{static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0xc2555f,_0x45579d,A];}['init'](){const _0x43a3e0=this['editor'],_0x571d96=new Rt(_0x43a3e0,{'direction':'backward'}),_0x401aa2=new Rt(_0x43a3e0,{'direction':'forward'});(_0x43a3e0['commands']['add']('showPreviousChange',_0x571d96),_0x43a3e0['commands']['add']('showNextChange',_0x401aa2),_0x43a3e0['commands']['add']('restoreRevision',new bt(_0x43a3e0)),this['on']('change:numberOfChanges',()=>{_0x571d96['refresh'](),_0x401aa2['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x43a3e0['enableReadOnlyMode']('revision-viewer'),_0x43a3e0['plugins']['has']('WidgetToolbarRepository'))&&_0x43a3e0['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x55dd36){await this['loadRevisionData'](_0x55dd36);const _0x22c0a0={};for(const _0x18fb1e in _0x55dd36['diffData']){if(_0x55dd36['diffData'][_0x18fb1e]['attachChange']&&!_0x55dd36['diffData'][_0x18fb1e]['attachChange']['isAttached'])continue;const _0x1d437a=this['_removeRevisionMarkers'](JSON['parse'](_0x55dd36['diffData'][_0x18fb1e]['insertions'])),_0x3014b4=this['editor']['editing']['view']['document'],_0x4c3b4e=new _0x404b60(_0x3014b4,_0x1d437a['map'](_0x24bc1e=>this['_getViewObj'](_0x24bc1e)));this['editor']['data']['processor']['useFillerType']('marked'),_0x22c0a0[_0x18fb1e]=this['editor']['data']['processor']['toData'](_0x4c3b4e),this['editor']['data']['processor']['useFillerType']('default');}return _0x22c0a0;}async['getRevisionRootsAttributes'](_0x22c113){await this['loadRevisionData'](_0x22c113);const _0x532b89={};for(const _0x3fff58 in _0x22c113['diffData'])_0x22c113['diffData'][_0x3fff58]['attachChange']&&!_0x22c113['diffData'][_0x3fff58]['attachChange']['isAttached']||(_0x532b89[_0x3fff58]=_0x22c113['diffData'][_0x3fff58]['attributesAfter']||{});return _0x532b89;}['_removeRevisionMarkers'](_0x11f559){return(_0x11f559=_0x11f559['filter'](_0x13b5d5=>!_0x13b5d5['name']||'revision-start'!==_0x13b5d5['name']&&'revision-end'!==_0x13b5d5['name']))['forEach'](_0x53e9d5=>{'string'!=typeof _0x53e9d5&&(_0x53e9d5['children']=this['_removeRevisionMarkers'](_0x53e9d5['children']),_0x53e9d5['attributes']=_0x53e9d5['attributes']['filter'](_0x2ae806=>!_0x2ae806[0x0]['startsWith']('data-revision-')));}),_0x11f559;}async['compare'](_0x84e3f8,_0x57bd32,_0x21918b=!0x1){if(!this['isEnabled'])return;const _0x5c1b80=this['diff'],_0xb77c62=this['repository'],_0x13948e='string'==typeof _0x84e3f8?_0xb77c62['getRevision'](_0x84e3f8):_0x84e3f8,_0x57f1ad='string'==typeof _0x57bd32?_0xb77c62['getRevision'](_0x57bd32):_0x57bd32,_0x42bcfa=_0x13948e['id'],_0x56a129=_0x57f1ad?_0x57f1ad['id']:null;if(!_0x21918b&&this['diff']&&this['diff']['newRevisionId']===_0x42bcfa&&this['diff']['oldRevisionId']===_0x56a129)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x42bcfa,_0x56a129);const _0xfd8f70=this['_getRevisionsRange'](_0x13948e,_0x57f1ad,!0x0)['map'](_0x577b78=>this['loadRevisionData'](_0x577b78));return _0xfd8f70['push'](new Promise(_0x28a407=>{setTimeout(_0x28a407,0x14);})),Promise['all'](_0xfd8f70)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0xd634f6=this['_getDiff'](_0x42bcfa,_0x56a129);for(const _0x54b2c4 of _0xd634f6['changes'])this['_changeIdToChange']['set'](_0x54b2c4['id'],_0x54b2c4);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x8f47dd=>{for(const _0x1a98ac of this['editor']['model']['document']['getRootNames']())_0x8f47dd['detachRoot'](_0x1a98ac);for(const _0x265c14 of Object['keys'](_0xd634f6['model'])){const _0x3ee9e4=_0x8f47dd['addRoot'](_0x265c14);for(const _0x3e5c1a of Object['keys'](_0xd634f6['attributes'][_0x265c14]))_0x8f47dd['setAttribute'](_0x3e5c1a,_0xd634f6['attributes'][_0x265c14][_0x3e5c1a],_0x3ee9e4);_0x8f47dd['insert'](_0xd634f6['model'][_0x265c14],_0x3ee9e4,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0xd634f6['changes'])),this['isReady']=!0x0;})['catch'](_0x3a7d38=>{console['error'](_0x3a7d38),this['_cleanUp'](),_0x5c1b80&&(this['diff']=_0x5c1b80),this['isReady']=!0x0;});}['addRevisionData'](_0x2d29c6,_0x3b985d){const _0x597b9c=this['repository']['createRevision'](_0x2d29c6);return _0x597b9c['on']('_update',(_0x47d1f8,_0x2b2116,_0x48ec6f)=>_0x3b985d(_0x2b2116,_0x48ec6f,_0x597b9c)),this['repository']['addRevision'](_0x597b9c),_0x597b9c;}['loadRevisionData'](_0xb7b474){if(!_0xb7b474||_0xb7b474['diffData'])return Promise['resolve']();{const _0xd1843d=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xd1843d,'revisionId':_0xb7b474['id']})['then'](_0x5056ab=>{_0xb7b474['_update']({'diffData':_0x5056ab['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},_0x14b6bf=>{for(const _0x5841e9 of this['editor']['model']['document']['getRootNames']())_0x14b6bf['detachRoot'](_0x5841e9);});}['_sortAndFilterDiffChanges'](_0x4622da){const _0x478671=[],_0x54de21=new Map();for(const _0x46cbbe of this['editor']['model']['document']['getRootNames']()){const _0x1990f0=this['editor']['editing']['view']['getDomRoot'](_0x46cbbe);if(!_0x1990f0)continue;const _0x5613be=_0x1990f0['getClientRects']()['item'](0x0);_0x5613be&&(_0x478671['push'](_0x46cbbe),_0x54de21['set'](_0x46cbbe,_0x5613be));}return _0x478671['sort']((_0x134bc6,_0x46ef4a)=>{const _0x432836=_0x54de21['get'](_0x134bc6),_0x879ebd=_0x54de21['get'](_0x46ef4a);return _0x432836['y']-_0x879ebd['y']||_0x432836['x']-_0x879ebd['x'];}),(_0x4622da=_0x4622da['filter'](_0x531b6c=>_0x478671['includes'](_0x531b6c['rootName'])))['sort']((_0x47b99c,_0x5256a7)=>_0x478671['indexOf'](_0x47b99c['rootName'])-_0x478671['indexOf'](_0x5256a7['rootName'])),_0x4622da;}['_makeTape'](_0x26e7b8){const _0x51c3b0=Array['from'](_0x26e7b8['markers'])['filter'](([_0x19da15,_0x2c191d])=>_0x19da15['startsWith']('revision:')&&!_0x2c191d['isCollapsed']),_0x3262f9=Array['from'](this['editor']['model']['createRangeIn'](_0x26e7b8)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x51c3b0['length'])for(const _0x539277 of _0x3262f9){const [_0x9d2206,_0x2fe954]=_0x51c3b0[0x0],[,_0x441c28,_0x2d2651]=_0x9d2206['split'](':');if(_0x2fe954['end']['isEqual'](_0x539277['nextPosition'])&&_0x51c3b0['shift'](),(_0x539277['previousPosition']['isEqual'](_0x2fe954['start'])||_0x539277['previousPosition']['isAfter'](_0x2fe954['start']))&&('insertion'==_0x441c28?_0x539277['isAdded']={'userId':_0x2d2651}:'deletion'==_0x441c28&&(_0x539277['isRemoved']={'userId':_0x2d2651})),0x0==_0x51c3b0['length'])break;}return _0x3262f9;}['_refreshStartEndIndex'](_0x6e8c44){const _0x4b4ba0=new Map();for(let _0x2dbfee=0x0;_0x2dbfee<_0x6e8c44['length'];_0x2dbfee++)'text'===_0x6e8c44[_0x2dbfee]['type']?(_0x6e8c44[_0x2dbfee]['item']['startIndex']=_0x2dbfee,_0x6e8c44[_0x2dbfee]['item']['endIndex']=_0x2dbfee):('elementStart'===_0x6e8c44[_0x2dbfee]['type']?_0x6e8c44[_0x2dbfee]['item']['startIndex']=_0x2dbfee:'elementEnd'===_0x6e8c44[_0x2dbfee]['type']&&(_0x6e8c44[_0x2dbfee]['item']['endIndex']=_0x2dbfee),_0x4b4ba0['set'](_0x6e8c44[_0x2dbfee]['id'],_0x2dbfee));for(const _0x115856 of _0x4b4ba0['values']())'elementStart'===_0x6e8c44[_0x115856]['type']?_0x6e8c44[_0x115856]['item']['endIndex']=_0x4b4ba0['get'](_0x6e8c44[_0x115856]['pairId']):'elementEnd'===_0x6e8c44[_0x115856]['type']&&(_0x6e8c44[_0x115856]['item']['startIndex']=_0x4b4ba0['get'](_0x6e8c44[_0x115856]['pairId']));}['_processTape'](_0x4f640c){for(let _0x44c9d9=0x0;_0x44c9d9<_0x4f640c['length'];_0x44c9d9++){if('elementStart'===_0x4f640c[_0x44c9d9]['type'])_0x4f640c[_0x44c9d9]['item']['startIndex']=_0x44c9d9;else{if('elementEnd'===_0x4f640c[_0x44c9d9]['type']){_0x4f640c[_0x44c9d9]['item']['endIndex']=_0x44c9d9;const _0x3d043b=_0x4f640c[_0x44c9d9]['item']['startIndex'];_0x4f640c[_0x3d043b]['pairId']=_0x4f640c[_0x44c9d9]['id'],_0x4f640c[_0x44c9d9]['pairId']=_0x4f640c[_0x3d043b]['id'];}else _0x4f640c[_0x44c9d9]['item']['startIndex']=_0x44c9d9,_0x4f640c[_0x44c9d9]['item']['endIndex']=_0x44c9d9,_0x4f640c[_0x44c9d9]['pairId']=null;}_0x4f640c[_0x44c9d9]['markersStart']||(_0x4f640c[_0x44c9d9]['markersStart']=[],_0x4f640c[_0x44c9d9]['markersEnd']=[]);}}['_markInsertions'](_0x2b5130,_0x5d16bc){const _0x3eed81=_0x2b5130['filter'](_0x2f2f8f=>!_0x2f2f8f['isAdded']);for(let _0x9f566f=0x0;_0x9f566f<_0x5d16bc['length'];_0x9f566f++)_0x5d16bc[_0x9f566f]['isAdded']&&(_0x3eed81[_0x9f566f]['isAdded']=_0x5d16bc[_0x9f566f]['isAdded']);}['_makeModelFromViewString'](_0x32f070){const _0x52720a=JSON['parse'](_0x32f070),_0x9e7ae8=this['editor']['editing']['view']['document'],_0x31479d=new _0x404b60(_0x9e7ae8,_0x52720a['map'](_0xac1ab4=>this['_getViewObj'](_0xac1ab4)));return this['editor']['data']['toModel'](_0x31479d);}['_getViewObj'](_0x5700ed){const _0x4e8db1=this['editor']['editing']['view']['document'];if('string'==typeof _0x5700ed)return new _0x17670e(_0x4e8db1,_0x5700ed);{const _0x38b102=_0x5700ed['children']['map'](_0x2537c0=>this['_getViewObj'](_0x2537c0));return new(tt[_0x5700ed['type']]||_0x23df6c)(_0x4e8db1,_0x5700ed['name'],_0x5700ed['attributes'],_0x38b102);}}['_getDiff'](_0x146cd9,_0x3ce4a3=null){const _0x1fd3ad=this['repository']['getRevision'](_0x146cd9),_0x2181b9=_0x3ce4a3?this['repository']['getRevision'](_0x3ce4a3):null,_0x6ae232=this['_getRevisionsRange'](_0x1fd3ad,_0x2181b9),_0x23d81c=_0x6ae232[_0x6ae232['length']-0x1],_0x1f781d=new Map(),_0x52628f={'model':{},'attributes':{},'changes':[]},_0x2bf5cf=new Set(),_0x1e63ba=new Map();for(let _0x1970a2=_0x6ae232['length']-0x1;_0x1970a2>=0x0;_0x1970a2--){const _0x361d4e=_0x6ae232[_0x1970a2];for(const _0xb6e7b7 of Object['keys'](_0x361d4e['diffData']))if(_0x361d4e['diffData'][_0xb6e7b7]['attachChange']){const _0x338501=_0x361d4e['diffData'][_0xb6e7b7]['attachChange'];_0x338501['isAttached']?(_0x2bf5cf['add'](_0xb6e7b7),_0x1e63ba['has'](_0xb6e7b7)&&_0x1e63ba['get'](_0xb6e7b7)['userId']==_0x338501['userId']?_0x1e63ba['delete'](_0xb6e7b7):_0x1e63ba['set'](_0xb6e7b7,_0x338501)):_0x1e63ba['has'](_0xb6e7b7)?(_0x2bf5cf['delete'](_0xb6e7b7),_0x1e63ba['delete'](_0xb6e7b7)):(_0x2bf5cf['add'](_0xb6e7b7),_0x1e63ba['set'](_0xb6e7b7,_0x338501));}else _0x2bf5cf['add'](_0xb6e7b7);}for(const _0x532332 of _0x2bf5cf){const _0x9fd32d=_0x1e63ba['has'](_0x532332)&&!_0x1e63ba['get'](_0x532332)['isAttached'];let _0x20bdcd=_0x9fd32d?_0x6ae232['length']-0x1:0x0;const _0xdeff9e=_0x9fd32d?-0x1:0x1;for(;_0x6ae232[_0x20bdcd];){const _0xeb7daf=_0x6ae232[_0x20bdcd];if(_0xeb7daf['diffData'][_0x532332]){const _0x51a341=_0x9fd32d?_0xeb7daf['diffData'][_0x532332]['attributesBefore']:_0xeb7daf['diffData'][_0x532332]['attributesAfter'];_0x52628f['attributes'][_0x532332]=_0x51a341?_0x333ce7(_0x51a341):{};break;}_0x20bdcd+=_0xdeff9e;}}for(const _0x513955 of _0x6ae232){_0x513955['model']={};for(const _0x367e4f of _0x513955['authors'])_0x1f781d['set'](_0x367e4f['id'],_0x367e4f);for(const _0x2666b3 of _0x2bf5cf){const _0x37a765=_0x513955['diffData'][_0x2666b3]?_0x513955['diffData'][_0x2666b3]['insertions']:'[]',_0x15cdb7=_0x513955['diffData'][_0x2666b3]?_0x513955['diffData'][_0x2666b3]['deletions']:'[]';_0x513955['model'][_0x2666b3]={'insertions':this['_makeModelFromViewString'](_0x37a765),'deletions':this['_makeModelFromViewString'](_0x15cdb7)};}}for(const _0x3733cf of _0x2bf5cf){let _0x2f70b3=null,_0x51564d=0x0;const _0x4b84e3=new Map(Array['from'](_0x1fd3ad['model'][_0x3733cf]['insertions']['markers'])['filter'](([_0x3be952])=>!_0x3be952['startsWith']('revision:')));let _0x4fab18=0x0;for(const _0x12c24f of _0x6ae232){const _0x33fa0a=this['_makeTape'](_0x12c24f['model'][_0x3733cf]['insertions']);_0x12c24f==_0x1fd3ad?(_0x2f70b3=_0x33fa0a,_0x51564d=_0x2f70b3['length'],_0x2f70b3['forEach'](_0x54e6d0=>{_0x54e6d0['id']=_0x4fab18++;}),this['_processTape'](_0x2f70b3)):this['_markInsertions'](_0x2f70b3,_0x33fa0a);const _0x1a0598=_0x2f70b3['filter'](_0x52ccc2=>!_0x52ccc2['isAdded'])['map'](_0x1a3b56=>_0x1a3b56['id']);let _0x52e01d=0x0;const _0x32b744=this['_makeTape'](_0x12c24f['model'][_0x3733cf]['deletions']);_0x32b744['forEach'](_0x626ada=>{_0x626ada['isRemoved']?_0x626ada['id']=_0x51564d++:_0x626ada['id']=_0x1a0598[_0x52e01d++];}),this['_processTape'](_0x32b744),this['_setDistance'](_0x2f70b3,'isAdded'),this['_setDistance'](_0x32b744,'isRemoved'),_0x12c24f==_0x1fd3ad&&this['_markMarkers'](_0x2f70b3,_0x4b84e3),_0x2f70b3=this['_joinTapes'](_0x2f70b3,_0x32b744),this['_refreshStartEndIndex'](_0x2f70b3),this['_setDistance'](_0x2f70b3,'isRemoved');}_0x2f70b3=_0x2f70b3['filter'](_0x72f5a3=>!(_0x72f5a3['isAdded']&&_0x72f5a3['isRemoved']));const _0x2851bb=new Map(_0x23d81c['model'][_0x3733cf]['deletions']['markers']),_0x559a85=new Set(_0x4b84e3['keys']());for(const _0xe0423b of _0x2851bb['keys']())_0x559a85['delete'](_0xe0423b);this['_markSuggestions'](_0x2f70b3,_0x559a85),this['_fixObsoleteTags'](_0x2f70b3),_0x2f70b3=this['_removeMissingPairs'](_0x2f70b3),_0x2f70b3=this['_markMismatchedRemovedTags'](_0x2f70b3),_0x2f70b3=this['_removeUnsupportedChanges'](_0x2f70b3);const {root:_0x3ff20d,changes:_0x148f83}=this['_makeModelFromTape'](_0x2f70b3,_0x1f781d,_0x3733cf);_0x52628f['model'][_0x3733cf]=_0x3ff20d;const _0x1ada56=_0x1e63ba['get'](_0x3733cf);if(_0x1ada56){const _0x56a5c4=_0x1f781d['get'](_0x1ada56['userId']),_0x512319=new r({'author':_0x56a5c4,'type':_0x1ada56['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x3733cf});_0x148f83['unshift'](_0x512319),_0x52628f['attributes'][_0x3733cf]['revisionHistoryAttachChange']=_0x512319['id'];}_0x52628f['changes']=_0x52628f['changes']['concat'](_0x148f83);}return _0x52628f;}['_markMarkers'](_0x2397cb,_0x169b36){for(let _0x460cd8=0x0;_0x460cd8<_0x2397cb['length'];_0x460cd8++)for(const [_0x4afd98,_0x1f3f92]of _0x169b36)_0x1f3f92['start']['isEqual'](_0x2397cb[_0x460cd8]['previousPosition'])&&_0x2397cb[_0x460cd8]['markersStart']['push'](_0x4afd98),_0x1f3f92['end']['isEqual'](_0x2397cb[_0x460cd8]['nextPosition'])&&_0x2397cb[_0x460cd8]['markersEnd']['push'](_0x4afd98);}['_joinTapes'](_0xbf2130,_0x5e9a00){let _0xfb5eb4=[],_0x4d193f=0x0,_0x188ab6=0x0;for(;_0x4d193f<_0xbf2130['length']||_0x188ab6<_0x5e9a00['length'];){const _0x939c41=_0xbf2130[_0x4d193f]||{},_0x573c60=_0x5e9a00[_0x188ab6]||{};if(_0x939c41['id']==_0x573c60['id'])_0x4d193f++,_0x188ab6++,_0xfb5eb4['push'](_0x939c41);else{if(_0x573c60['isRemoved']&&_0x939c41['isAdded']){const {commonTape:_0x9051bc,iEnd:_0x50e9ed,jEnd:_0x5f4499}=this['_threeWayMerge'](_0xbf2130,_0x4d193f,_0x5e9a00,_0x188ab6);_0xfb5eb4=_0xfb5eb4['concat'](_0x9051bc),_0x4d193f=_0x50e9ed,_0x188ab6=_0x5f4499;}else _0x573c60['isRemoved']?(_0x188ab6++,_0xfb5eb4['push'](_0x573c60)):(_0x4d193f++,_0xfb5eb4['push'](_0x939c41));}}return _0xfb5eb4;}['_markSuggestions'](_0x48555c,_0x3211c8){const _0x16461a=[];for(let _0x4e4c87=0x0;_0x4e4c87<_0x48555c['length'];_0x4e4c87++){for(let _0x7de78b=0x0;_0x7de78b<_0x48555c[_0x4e4c87]['markersStart']['length'];_0x7de78b++){const _0x4ce032=_0x48555c[_0x4e4c87]['markersStart'][_0x7de78b];if(!_0x3211c8['has'](_0x4ce032))continue;const {group:_0x1f9360,type:_0x395d3b,authorId:_0x32ba25}=_0x139141(_0x4ce032);'revision-suggestion'!=_0x1f9360||'insertion'!=_0x395d3b&&'deletion'!=_0x395d3b||(_0x16461a['unshift']({'type':_0x395d3b,'name':_0x4ce032,'userId':_0x32ba25}),_0x48555c[_0x4e4c87]['markersStart']['splice'](_0x7de78b,0x1),_0x7de78b--);}_0x1c9a75(_0x48555c[_0x4e4c87]);for(let _0x28d353=0x0;_0x28d353<_0x48555c[_0x4e4c87]['markersEnd']['length'];_0x28d353++){const _0x5ef40f=_0x48555c[_0x4e4c87]['markersEnd'][_0x28d353];if(!_0x3211c8['has'](_0x5ef40f))continue;const {group:_0x395c36,type:_0x3f0d0e}=_0x139141(_0x5ef40f);if('revision-suggestion'!=_0x395c36||'insertion'!=_0x3f0d0e&&'deletion'!=_0x3f0d0e)continue;_0x48555c[_0x4e4c87]['markersEnd']['splice'](_0x28d353,0x1),_0x28d353--;const _0x30842f=_0x16461a['findIndex'](_0x5c3d52=>_0x5c3d52['name']==_0x5ef40f);_0x30842f>-0x1&&_0x16461a['splice'](_0x30842f,0x1);}}function _0x139141(_0x5b73a0){const _0x47a0d0=_0x5b73a0['split'](':');return{'group':_0x47a0d0[0x0],'type':_0x47a0d0[0x1],'subType':_0x47a0d0['length']>=0x5?_0x47a0d0[0x2]:null,'id':_0x47a0d0['length']<0x5?_0x47a0d0[0x2]:_0x47a0d0[0x3],'authorId':_0x47a0d0['length']<0x5?_0x47a0d0[0x3]:_0x47a0d0[0x4],'markerCount':0x6==_0x47a0d0['length']?_0x47a0d0[0x5]:null};}function _0x1c9a75(_0x14285a){for(let _0xf174b9=0x0;_0xf174b9<_0x16461a['length'];_0xf174b9++){if(_0x14285a['isAdded']&&'insertion'==_0x16461a[_0xf174b9]['type'])return _0x14285a['isAddSuggestion']=_0x16461a[_0xf174b9],void delete _0x14285a['isAdded'];if(!_0x14285a['isAdded']&&!_0x14285a['isRemoved']&&'deletion'==_0x16461a[_0xf174b9]['type'])return void(_0x14285a['isRemoveSuggestion']=_0x16461a[_0xf174b9]);}}}['_setDistance'](_0x1156c1,_0x156c8f){let _0x239cbe=0x0,_0x2fe26c=!0x1;const _0x38e294=new Map();for(const _0x2b5bd3 of _0x1156c1)_0x2b5bd3[_0x156c8f]?_0x2fe26c&&(_0x239cbe++,_0x2fe26c=!0x1):(_0x239cbe++,_0x2fe26c=!0x0),_0x38e294['set'](_0x2b5bd3['id'],_0x239cbe);for(let _0x43558d=0x0;_0x43558d<_0x1156c1['length'];_0x43558d++){if('isRemoved'==_0x156c8f&&_0x1156c1[_0x43558d]['isAdded']||'isAdded'==_0x156c8f&&_0x1156c1[_0x43558d]['isRemoved'])continue;if('text'==_0x1156c1[_0x43558d]['type']){_0x1156c1[_0x43558d]['distance']=0x0;continue;}const _0x429a90=_0x38e294['get'](_0x1156c1[_0x43558d]['pairId']),_0xf49c4b=_0x38e294['get'](_0x1156c1[_0x43558d]['id']);_0x1156c1[_0x43558d]['distance']=_0x429a90-_0xf49c4b;}}['_getRevisionsRange'](_0x1f0bef,_0x44b34e,_0x319d8a=!0x1){const _0x24e445=[];let _0xd70646=this['repository']['getIndex'](_0x1f0bef),_0x4f5f50=this['repository']['getIndex'](_0x44b34e);for(-0x1==_0x4f5f50&&(_0x4f5f50=this['repository']['_revisions']['length'],_0x319d8a=!0x1);_0xd70646<_0x4f5f50;)_0x24e445['push'](this['repository']['getRevision'](_0xd70646)),_0xd70646++;return _0x319d8a&&_0x24e445['push'](this['repository']['getRevision'](_0xd70646)),_0x24e445;}['_threeWayMerge'](_0x4961a7,_0x2bd2a8,_0x572132,_0x502298){const _0xc40403=this['editor']['model']['schema'];let _0x36eb72=_0x2bd2a8;for(;_0x4961a7[_0x36eb72]&&_0x4961a7[_0x36eb72]['isAdded'];)_0x36eb72++;let _0x2bc357=_0x502298;for(;_0x572132[_0x2bc357]&&_0x572132[_0x2bc357]['isRemoved'];)_0x2bc357++;_0x13881b(_0x4961a7,_0x2bd2a8,_0x36eb72),_0x13881b(_0x572132,_0x502298,_0x2bc357);const _0x2626c8=_0x572132['slice'](_0x502298,_0x2bc357)['concat'](_0x4961a7['slice'](_0x2bd2a8,_0x36eb72));return _0x2626c8['sort']((_0x6657de,_0xff78ec)=>_0x6657de['side']!=_0xff78ec['side']?_0x6657de['side']-_0xff78ec['side']:_0x6657de['level']!=_0xff78ec['level']?_0x6657de['level']-_0xff78ec['level']:_0x6657de['distance']!=_0xff78ec['distance']?_0xff78ec['distance']-_0x6657de['distance']:!!_0x6657de['isAdded']!=!!_0xff78ec['isAdded']?-0x1==_0x6657de['side']||0x0==_0x6657de['side']?_0x6657de['isAdded']?-0x1:0x1:_0x6657de['isAdded']?0x1:-0x1:_0x6657de['index']-_0xff78ec['index']),{'commonTape':_0x2626c8,'iEnd':_0x36eb72,'jEnd':_0x2bc357};function _0x13881b(_0x16eb02,_0x270ffd,_0x11e429){let _0x5847ca=-0x1,_0x373f85=Number['POSITIVE_INFINITY'],_0x346a89=!0x0;for(let _0x88c95e=_0x270ffd;_0x88c95e<_0x11e429;_0x88c95e++)if(_0xc40403['isInline'](_0x16eb02[_0x88c95e]['item'])||(_0x346a89=!0x1),_0x16eb02[_0x88c95e]['item']['startIndex']<_0x270ffd&&(_0x5847ca=_0x88c95e),_0x16eb02[_0x88c95e]['item']['endIndex']>=_0x11e429){_0x373f85=_0x88c95e;break;}_0x346a89&&(_0x5847ca=_0x11e429-0x1);for(let _0x55ca43=_0x270ffd;_0x55ca43<_0x11e429;_0x55ca43++)_0x16eb02[_0x55ca43]['side']=_0x55ca43<=_0x5847ca?-0x1:_0x55ca43<_0x373f85?0x0:0x1,_0x16eb02[_0x55ca43]['index']=_0x55ca43;let _0x5d38bc=0x0;for(let _0x22dcff=_0x270ffd;_0x22dcff<=_0x5847ca;_0x22dcff++)0x0==_0x16eb02[_0x22dcff]['distance']?_0x16eb02[_0x22dcff]['level']=_0x5d38bc:(_0x5d38bc++,_0x16eb02[_0x22dcff]['level']=_0x5d38bc,_0x5d38bc++);for(let _0x4c9522=_0x270ffd;_0x4c9522<_0x11e429;_0x4c9522++)0x0==_0x16eb02[_0x4c9522]['side']&&(_0x16eb02[_0x4c9522]['level']=_0x5d38bc);_0x5d38bc=0x0;for(let _0x458513=_0x11e429-0x1;_0x458513>=_0x373f85;_0x458513--)0x0==_0x16eb02[_0x458513]['distance']?_0x16eb02[_0x458513]['level']=_0x5d38bc:(_0x5d38bc--,_0x16eb02[_0x458513]['level']=_0x5d38bc,_0x5d38bc--);}}['_fixObsoleteTags'](_0x59fc76){const _0x123d0a=new Map(),_0x1dc66d=this['editor']['model']['schema'];for(let _0x2c997d=0x1;_0x2c997d<_0x59fc76['length'];_0x2c997d++){let _0x3d0c3f,_0x5aa0ee,_0x582a9f;const _0xc2e82=_0x59fc76[_0x2c997d],_0x1856f7=_0x59fc76[_0x2c997d-0x1];if('text'==_0xc2e82['type'])continue;if(_0xc2e82['type']!=_0x1856f7['type'])continue;if(!_0x1dc66d['isBlock'](_0x1856f7['item'])||_0x1dc66d['isLimit'](_0x1856f7['item']))continue;if(!_0x1dc66d['isBlock'](_0xc2e82['item'])||_0x1dc66d['isLimit'](_0xc2e82['item']))continue;if((_0x59fc76[_0x2c997d]['isAdded']||_0x59fc76[_0x2c997d]['isAddSuggestion'])&&_0x59fc76[_0x2c997d-0x1]['isRemoved'])_0x3d0c3f=_0x59fc76[_0x2c997d],_0x5aa0ee=_0x59fc76[_0x2c997d-0x1],_0x582a9f=_0x2c997d-0x1;else{if(!_0x59fc76[_0x2c997d]['isRemoved']||!_0x59fc76[_0x2c997d-0x1]['isAdded']&&!_0x59fc76[_0x2c997d-0x1]['isAddSuggestion'])continue;_0x3d0c3f=_0x59fc76[_0x2c997d-0x1],_0x5aa0ee=_0x59fc76[_0x2c997d],_0x582a9f=_0x2c997d;}const _0xaec80a=_0x3d0c3f['level']==_0x5aa0ee['level'],_0x491707=Math['abs'](_0x3d0c3f['level'])<Math['abs'](_0x5aa0ee['level'])&&0x0==_0x5aa0ee['distance'];(_0xaec80a||_0x491707)&&(_0x123d0a['set'](_0x5aa0ee['id'],_0x3d0c3f['id']),_0x59fc76['splice'](_0x582a9f,0x1),_0x2c997d--,_0x3d0c3f['isAdded']=!0x1);}for(let _0x8047f4=0x0;_0x8047f4<_0x59fc76['length'];_0x8047f4++)_0x123d0a['has'](_0x59fc76[_0x8047f4]['pairId'])&&(_0x59fc76[_0x8047f4]['pairId']=_0x123d0a['get'](_0x59fc76[_0x8047f4]['pairId']));}['_removeMissingPairs'](_0x49f384){const _0x1e6092=new Set(_0x49f384['map'](_0x289d91=>_0x289d91['id']));for(let _0x3d9c8d=0x0;_0x3d9c8d<_0x49f384['length'];_0x3d9c8d++)_0x1e6092['has'](_0x49f384[_0x3d9c8d]['pairId'])||0x0==_0x49f384[_0x3d9c8d]['distance']||(_0x49f384[_0x3d9c8d]['isIncorrect']=!0x0);return _0x49f384['filter'](_0x28f561=>!_0x28f561['isIncorrect']);}['_markMismatchedRemovedTags'](_0xd4248f){const _0x1e0f34=new Set();for(let _0x2782bf=0x0;_0x2782bf<_0xd4248f['length'];_0x2782bf++){if(_0x1e0f34['has'](_0xd4248f[_0x2782bf]['id'])&&_0xd4248f[_0x2782bf]['isRemoved']&&(_0xd4248f[_0x2782bf]['isIncorrect']=!0x0),_0xd4248f[_0x2782bf]['isIncorrect'])continue;if(0x0==_0xd4248f[_0x2782bf]['distance'])continue;if('elementStart'!=_0xd4248f[_0x2782bf]['type'])continue;if(null==_0xd4248f[_0x2782bf]['pairId'])continue;let _0x44efab=_0x2782bf+0x1,_0x56d702=0x0;for(;_0xd4248f[_0x44efab]['id']!=_0xd4248f[_0x2782bf]['pairId'];)'elementStart'==_0xd4248f[_0x44efab]['type']?_0x56d702++:'elementEnd'==_0xd4248f[_0x44efab]['type']&&_0x56d702--,_0x44efab++;if(0x0!=_0x56d702){if(_0xd4248f[_0x2782bf]['isRemoved'])_0xd4248f[_0x2782bf]['isIncorrect']=!0x0;else{for(;_0x44efab!=_0x2782bf;)_0xd4248f[_0x44efab]['isRemoved']&&0x0!=_0xd4248f[_0x44efab]['distance']&&(_0xd4248f[_0x44efab]['isIncorrect']=!0x0,_0x1e0f34['add'](_0xd4248f[_0x44efab]['pairId'])),_0x44efab--;}}}return _0xd4248f['filter'](_0x17ef4e=>!_0x17ef4e['isIncorrect']);}['_removeUnsupportedChanges'](_0x2f31ba){const _0x596a80=this['editor']['model']['schema'];for(let _0x4564e4=0x0;_0x4564e4<_0x2f31ba['length'];_0x4564e4++){if(!(_0x2f31ba[_0x4564e4]['isAdded']||_0x2f31ba[_0x4564e4]['isAddSuggestion']||_0x2f31ba[_0x4564e4]['isRemoved']||_0x2f31ba[_0x4564e4]['isRemoveSuggestion']))continue;if(0x0==_0x2f31ba[_0x4564e4]['distance'])continue;const _0xd54b60=_0x2f31ba[_0x4564e4]['item'];_0x596a80['isBlock'](_0xd54b60)||_0x596a80['isLimit'](_0xd54b60)||(_0x2f31ba[_0x4564e4]['isAdded']&&delete _0x2f31ba[_0x4564e4]['isAdded'],_0x2f31ba[_0x4564e4]['isAddSuggestion']&&delete _0x2f31ba[_0x4564e4]['isAddSuggestion'],_0x2f31ba[_0x4564e4]['isRemoveSuggestion']&&delete _0x2f31ba[_0x4564e4]['isRemoveSuggestion'],_0x2f31ba[_0x4564e4]['isRemoved']&&(_0x2f31ba[_0x4564e4]['isIncorrect']=!0x0));}return _0x2f31ba['filter'](_0x14beef=>!_0x14beef['isIncorrect']);}['_makeModelFromTape'](_0x120179,_0x5d7978,_0x46d586){const _0x19287f=new _t(),_0x42354c=[],_0x4cae1b=new Map(),_0xfc9c67=this['editor']['model'],_0x114325=_0xfc9c67['schema'],_0x390301=[_0x19287f],_0x361f00={},_0x2c3697={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x32b70c=null;const _0x240839=[0x0];for(let _0x1cbf0e=0x0;_0x1cbf0e<_0x120179['length'];_0x1cbf0e++){let _0x3de5d3,_0x36d9ed;if('elementStart'===_0x120179[_0x1cbf0e]['type']){_0x3de5d3=_0xfc9c67['createPositionFromPath'](_0x19287f,_0x240839);const _0x433d81=new ft(_0x120179[_0x1cbf0e]['item']['name'],_0x120179[_0x1cbf0e]['item']['getAttributes']());_0x390301[0x0]['_appendChild'](_0x433d81),_0x240839['push'](0x0),_0x390301['unshift'](_0x433d81),_0x36d9ed=_0xfc9c67['createPositionFromPath'](_0x19287f,_0x240839),_0x32b70c=null;}else{if('elementEnd'===_0x120179[_0x1cbf0e]['type'])_0x390301['shift'](),_0x3de5d3=_0xfc9c67['createPositionFromPath'](_0x19287f,_0x240839),_0x240839['pop'](),_0x240839[_0x240839['length']-0x1]++,_0x36d9ed=_0xfc9c67['createPositionFromPath'](_0x19287f,_0x240839),_0x32b70c=null;else{if(_0x3de5d3=_0xfc9c67['createPositionFromPath'](_0x19287f,_0x240839),_0x32b70c&&_0x26f9ec(_0x32b70c,_0x120179[_0x1cbf0e]['item']))_0x32b70c['_data']+=_0x120179[_0x1cbf0e]['item']['data'];else{const _0x45a4c1=new yt(_0x120179[_0x1cbf0e]['item']['data'],_0x120179[_0x1cbf0e]['item']['getAttributes']());_0x390301[0x0]['_appendChild'](_0x45a4c1),_0x32b70c=_0x45a4c1;}_0x240839[_0x240839['length']-0x1]+=_0x120179[_0x1cbf0e]['item']['offsetSize'],_0x36d9ed=_0xfc9c67['createPositionFromPath'](_0x19287f,_0x240839);}}for(const _0x24ba4d of _0x120179[_0x1cbf0e]['markersStart'])_0x4cae1b['set'](_0x24ba4d,{'start':_0x3de5d3,'end':null});_0x1e524d('isRemoveSuggestion',_0x1cbf0e,_0x3de5d3,_0x36d9ed),_0x1e524d('isAddSuggestion',_0x1cbf0e,_0x3de5d3,_0x36d9ed),_0x1e524d('isRemoved',_0x1cbf0e,_0x3de5d3,_0x36d9ed),_0x1e524d('isAdded',_0x1cbf0e,_0x3de5d3,_0x36d9ed);for(const _0x476915 of _0x120179[_0x1cbf0e]['markersEnd']){_0x4cae1b['get'](_0x476915)['end']=_0x36d9ed;}}for(const [_0x576d49,_0x1f8f80]of _0x4cae1b){const _0x3502cb=this['editor']['model']['createRange'](_0x1f8f80['start'],_0x1f8f80['end']);_0x19287f['markers']['set'](_0x576d49,_0x3502cb);}return _0x42354c['sort']((_0x4f1941,_0x1f0c48)=>{const _0x26e646=_0x19287f['markers']['get']('revision:'+_0x4f1941['id']),_0xee4494=_0x19287f['markers']['get']('revision:'+_0x1f0c48['id']);return _0x26e646['start']['isBefore'](_0xee4494['start'])?-0x1:_0x26e646['start']['isAfter'](_0xee4494['start'])?0x1:_0x26e646['end']['isBefore'](_0xee4494['end'])?-0x1:_0x26e646['end']['isAfter'](_0xee4494['end'])?0x1:'add'===_0x4f1941['type']?-0x1:0x1;}),{'root':_0x19287f,'changes':_0x42354c};function _0x1e524d(_0x6ba2a7,_0x3e5c7f,_0x4c49ba,_0x599d41){const _0xc8f638=!!_0x120179[_0x3e5c7f][_0x6ba2a7],_0x2b5f23=_0xc8f638?_0x120179[_0x3e5c7f][_0x6ba2a7]['userId']:null,_0x2233d1=_0x3e5c7f===_0x120179['length']-0x1,_0x1d3407=_0x2c3697[_0x6ba2a7][0x0],_0x578f01=_0x114325['isObject'](_0x120179[_0x3e5c7f]['item']);!_0x361f00[_0x6ba2a7]&&_0xc8f638?_0x361f00[_0x6ba2a7]={'start':_0x4c49ba,'tapeItem':_0x120179[_0x3e5c7f],'userId':_0x2b5f23,'type':_0x6ba2a7}:_0x361f00[_0x6ba2a7]&&!_0xc8f638?(_0x361f00[_0x6ba2a7]['end']=_0x4c49ba,_0x414513(_0x361f00[_0x6ba2a7]),_0x361f00[_0x6ba2a7]=null):_0x361f00[_0x6ba2a7]&&_0xc8f638&&_0x361f00[_0x6ba2a7]['userId']!==_0x2b5f23&&(_0x361f00[_0x6ba2a7]['end']=_0x4c49ba,_0x1d3407&&_0x1d3407['userId']===_0x361f00[_0x6ba2a7]['userId']||_0x414513(_0x361f00[_0x6ba2a7]),_0x361f00[_0x6ba2a7]={'start':_0x4c49ba,'tapeItem':_0x120179[_0x3e5c7f],'userId':_0x2b5f23,'type':_0x6ba2a7}),_0x361f00[_0x6ba2a7]&&_0x578f01&&('elementStart'!==_0x120179[_0x3e5c7f]['type']||_0x1d3407&&_0x1d3407['userId']===_0x2b5f23||_0x2c3697[_0x6ba2a7]['unshift']({'userId':_0x2b5f23,'object':_0x120179[_0x3e5c7f]['item'],'change':_0x361f00[_0x6ba2a7]}),'elementEnd'===_0x120179[_0x3e5c7f]['type']&&_0x1d3407&&_0x1d3407['object']===_0x120179[_0x3e5c7f]['item']&&(_0x2c3697[_0x6ba2a7]['shift'](),_0x361f00[_0x6ba2a7]=_0x1d3407['change'])),_0x361f00[_0x6ba2a7]&&_0x2233d1&&(_0x361f00[_0x6ba2a7]['end']=_0x599d41,_0x414513(_0x361f00[_0x6ba2a7]),_0x361f00[_0x6ba2a7]=null);}function _0x414513({start:_0x17f2f0,end:_0x1f5d18,tapeItem:_0x3b9fdb,userId:_0x4f1b33,type:_0x466b45}){const _0x8d970b=_0x3b9fdb['item'],_0x404500=_0xfc9c67['schema']['isBlock'](_0x8d970b)&&!_0xfc9c67['schema']['isLimit'](_0x8d970b),_0x4b9376=_0x17f2f0['nodeAfter']==_0x1f5d18['parent']&&_0x1f5d18['isAtStart'];if(_0x404500&&_0x4b9376)return;const _0x2c7070=_0xfc9c67['createRange'](_0x17f2f0,_0x1f5d18),_0x17e45d=_0x5d7978['get'](_0x4f1b33),_0xea0e7=new r({'author':_0x17e45d,'type':'isAdded'==_0x466b45||'isAddSuggestion'==_0x466b45?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x466b45||'isRemoveSuggestion'==_0x466b45},'createdAt':new Date(),'rootName':_0x46d586});_0x42354c['push'](_0xea0e7),_0x19287f['markers']['set']('revision:'+_0xea0e7['id'],_0x2c7070);}function _0x26f9ec(_0xf42e72,_0x35665e){const _0x5dfc3f=_0xf42e72['getAttributes'](),_0x2536e5=_0x35665e['getAttributes']();for(const _0x432370 of _0x5dfc3f){if(_0x432370[0x1]!==_0x35665e['getAttribute'](_0x432370[0x0]))return!0x1;_0x2536e5['next']();}return _0x2536e5['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x533edc=>{const _0x8d51b5=_0x533edc['markerName']['split'](':')[0x1],_0x297b67=this['_getChangeFromId'](_0x8d51b5);if(!_0x297b67)return null;const _0x2b27fd='add'==_0x297b67['type']?'insertion':'deletion',_0x3b6830=['ck-suggestion-marker','ck-suggestion-marker-'+_0x2b27fd];return _0x297b67['data']['isSuggestion']&&_0x3b6830['push']('ck-suggestion-marker-'+_0x2b27fd+'-new'),this['activeChange']==_0x297b67&&_0x3b6830['push']('ck-suggestion-marker--active'),{'classes':_0x3b6830,'attributes':{'data-change-id':_0x8d51b5}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x40e456=>{_0x40e456['on']('element:pre',(_0x4d2cdf,_0x3ec200,_0x3b3fb1)=>{const _0x16422c=_0x3ec200['viewItem']['getChild'](0x0);if(!_0x16422c||!_0x16422c['is']('element','code'))return;if(!_0x3b3fb1['consumable']['consume'](_0x16422c,{'attributes':['vid_start','vid_end']}))return;const _0x2c6907=_0x3ec200['modelRange']['start']['nodeAfter'];_0x3b3fb1['writer']['setAttribute']('vid_start',_0x16422c['getAttribute']('vid_start'),_0x2c6907),_0x3b3fb1['writer']['setAttribute']('vid_end',_0x16422c['getAttribute']('vid_end'),_0x2c6907);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x192ecd=>{_0x192ecd['on']('element',(_0x425be7,_0x12ef01,_0x49c347)=>{if(!_0x49c347['consumable']['consume'](_0x12ef01['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x12ef01['modelRange']['isCollapsed'])return;const _0x5e3bf0=_0x12ef01['modelRange']['start']['nodeAfter'];_0x5e3bf0['hasAttribute']('vid_start')||_0x5e3bf0['hasAttribute']('vid')||(_0x49c347['writer']['setAttribute']('vid_start',_0x12ef01['viewItem']['getAttribute']('vid_start'),_0x5e3bf0),_0x49c347['writer']['setAttribute']('vid_end',_0x12ef01['viewItem']['getAttribute']('vid_end'),_0x5e3bf0));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x46c6fb=>_0x46c6fb['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x2b864f,[,_0x4bb97f])=>{['vid_start','vid_end','vid']['includes'](_0x4bb97f)&&(_0x2b864f['return']=!0x0,_0x2b864f['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x46886b=>{_0x46886b['on']('attribute:vid',(_0x273807,_0xb88b60,_0xccafb3)=>{if('\x20'!=_0xb88b60['item']['data']||_0xb88b60['item']['parent']['maxOffset']>0x1)return;if(!_0xccafb3['consumable']['consume'](_0xb88b60['item'],_0x273807['name']))return;const _0x3fea48=_0xccafb3['writer'],_0x401789=_0xccafb3['mapper']['toViewRange'](_0xb88b60['range']);_0x3fea48['wrap'](_0x401789,_0x3fea48['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x48cbbf){const _0x3e16a0=_0x48cbbf['plugins']['get']('RevisionViewer');return(_0x298fbc,_0x39f2f8,_0x5c88ce)=>{const _0x1dd016=_0x39f2f8['markerName']['split'](':')[0x1],_0x54ab33=_0x3e16a0['_getChangeFromId'](_0x1dd016);if(!_0x54ab33)return null;const _0x41b4b9='add'==_0x54ab33['type']?'split':'merge';if(!_0x5c88ce['consumable']['test'](_0x39f2f8['markerRange'],_0x298fbc['name']))return;const _0x310646=_0x39f2f8['markerRange']['getWalker'](),_0x1c408a=_0x39f2f8['markerRange']['start'],_0x5a3ec4=_0x48cbbf['model']['schema'];let _0x14bf68=null,_0x121a05=null,_0x1a0462=!0x1,_0x31e7ac=!0x1;for(const _0x5a95ac of _0x310646){const _0x4e493c=_0x5a95ac['item'];_0x1a0462=_0x1a0462||_0x5a3ec4['isContent'](_0x4e493c);const _0x3d5913=_0x5c88ce['mapper']['toViewElement'](_0x4e493c);if(_0x3d5913&&_0x3d5913['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5a95ac['type']&&(_0x5a3ec4['isBlock'](_0x4e493c)&&!_0x5a3ec4['isLimit'](_0x4e493c)&&(_0x4e493c['nextSibling']||_0x1c408a['isAtEnd']?_0x14bf68&&_0x14bf68['parent']==_0x4e493c||(_0x14bf68=_0x4e493c,_0x2f85ee(_0x5a95ac['previousPosition']),_0x31e7ac=!0x0):_0x121a05=_0x121a05||_0x5a95ac['previousPosition']));}function _0x2f85ee(_0x506a21){const _0x95c4b4=_0x5c88ce['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x41b4b9}),_0x2fd91c=_0x5c88ce['mapper']['toViewPosition'](_0x506a21);_0x54ab33['data']['isSuggestion']&&_0x5c88ce['writer']['addClass']('ck-suggestion-marker-'+_0x41b4b9+'-new',_0x95c4b4),_0x3e16a0['activeChange']==_0x54ab33&&_0x5c88ce['writer']['addClass']('ck-suggestion-marker--active',_0x95c4b4),_0x5c88ce['writer']['insert'](_0x2fd91c,_0x95c4b4),_0x5c88ce['mapper']['bindElementToMarker'](_0x95c4b4,_0x39f2f8['markerName']);}_0x1a0462||_0x31e7ac||!_0x121a05||_0x2f85ee(_0x121a05);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x5b33fb,_0x5e2036,_0x54137b)=>{const _0x1a0dc2=_0x54137b['mapper']['markerNameToElements'](_0x5e2036['markerName']);if(_0x1a0dc2){for(const _0x4b9bd1 of _0x1a0dc2)(_0x4b9bd1['hasClass']('ck-suggestion-marker-split')||_0x4b9bd1['hasClass']('ck-suggestion-marker-merge'))&&(_0x54137b['mapper']['unbindElementFromMarkerName'](_0x4b9bd1,_0x5e2036['markerName']),_0x54137b['writer']['remove'](_0x4b9bd1));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x2d50cb,_0x1fbf4a,_0x26db89)=>{const _0x2b0f43=_0x1fbf4a['markerName']['split'](':')[0x1],_0x5e0cfb=this['_getChangeFromId'](_0x2b0f43);if(!_0x5e0cfb)return null;const _0x2211a0='add'==_0x5e0cfb['type']?'split':'merge';if(_0x26db89['consumable']['test'](_0x1fbf4a['markerRange'],_0x2d50cb['name']))for(const _0x2801c6 of _0x1fbf4a['markerRange']['getItems']()){if(!_0x2801c6['is']('element','softBreak'))continue;const _0x2e4a9e=_0x26db89['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2211a0}),_0x2470ad=_0x26db89['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x2801c6));_0x5e0cfb['data']['isSuggestion']&&_0x26db89['writer']['addClass']('ck-suggestion-marker-'+_0x2211a0+'-new',_0x2e4a9e),this['activeChange']==_0x5e0cfb&&_0x26db89['writer']['addClass']('ck-suggestion-marker--active',_0x2e4a9e),_0x26db89['writer']['insert'](_0x2470ad,_0x2e4a9e),_0x26db89['mapper']['bindElementToMarker'](_0x2e4a9e,_0x1fbf4a['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x1fec06=>{for(const _0x2f29c4 of this['editor']['model']['document']['getRootNames']()){const _0xaf2470=this['editor']['model']['document']['getRoot'](_0x2f29c4),_0x8d0f15=this['editor']['editing']['view']['document']['getRoot'](_0x2f29c4);if(_0x8d0f15){const _0x1ab563=_0xaf2470['getAttribute']('revisionHistoryAttachChange');if(_0x1fec06['removeAttribute']('data-change-id',_0x8d0f15),_0x1fec06['removeClass']('ck-revision-history-root-add',_0x8d0f15),_0x1fec06['removeClass']('ck-revision-history-root-remove',_0x8d0f15),_0x1fec06['removeClass']('ck-revision-history-root--active',_0x8d0f15),_0x1ab563){const _0x4b8155=this['_getChangeFromId'](_0x1ab563);if(!_0x4b8155)return null;_0x1fec06['setAttribute']('data-change-id',_0x1ab563,_0x8d0f15),_0x1fec06['addClass']('ck-revision-history-root-'+_0x4b8155['type'],_0x8d0f15),this['activeChange']==_0x4b8155&&_0x1fec06['addClass']('ck-revision-history-root--active',_0x8d0f15);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x2bcfd8=>'revision-comment:'+_0x2bcfd8,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x36198c=>'revision-suggestion:'+_0x36198c,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x4da7f9=>({'name':'suggestion:'+_0x4da7f9,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x1aef17=>{const _0x3794cf=_0x1aef17['markerName']['split'](':')[0x1];return'insertion'!=_0x3794cf&&'deletion'!=_0x3794cf?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x3794cf]};}}),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',(_0x350588,_0x5523b1,_0x224a98)=>{const _0x245461=_0x224a98['mapper']['markerNameToElements'](_0x5523b1['markerName']);if(_0x245461){for(const _0x36747d of _0x245461)_0x36747d['is']('uiElement')&&(_0x224a98['mapper']['unbindElementFromMarkerName'](_0x36747d,_0x5523b1['markerName']),_0x224a98['writer']['remove'](_0x36747d));}},{'priority':'high'});}['_getChangeFromId'](_0x101c78){return this['_changeIdToChange']['get'](_0x101c78);}['_getViewForChange'](_0x29ad17){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x29ad17),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x55ae1a,_0x1a972e,_0x2b4d79,_0x39236e)=>{_0x39236e&&this['_balloon']['remove'](_0x39236e),_0x2b4d79&&(this['_balloon']['add']({'view':_0x2b4d79,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x57cb17=this['editor']['editing'],_0xdb1285=this['_getChangeFromId'](_0x2b4d79['changeId']);let _0x19d3ab;if(_0xdb1285['data']['isOnRoot']){const _0x3fd145=_0x57cb17['view']['getDomRoot'](_0xdb1285['rootName']);_0x19d3ab=Array['from'](_0x3fd145['getClientRects']());}else{const _0x27400d=this['editor']['model']['markers']['get']('revision:'+_0x2b4d79['changeId']);_0x19d3ab=Array['from'](_0x57cb17['mapper']['markerNameToElements'](_0x27400d['name']))['map'](_0x167c04=>_0x57cb17['view']['domConverter']['mapViewToDom'](_0x167c04))['map'](_0x9f0ade=>Array['from'](_0x9f0ade['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x19d3ab[0x0];return _0x19d3ab['find'](_0x1b126f=>_0x1b126f['top']-0x3<=this['_activeViewTarget']['y']&&_0x1b126f['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x1b126f['left']-0x3<=this['_activeViewTarget']['x']&&_0x1b126f['right']+0x3>=this['_activeViewTarget']['x'])||_0x19d3ab[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x314f01,_0x4ffb30,_0x1b07d7,_0x4561df)=>{this['activeView']=_0x1b07d7?this['_getViewForChange'](_0x1b07d7):null,this['editor']['model']['change'](()=>{const _0xa976e4=this['editor']['editing'];_0x4561df&&(_0x4561df['data']['isOnRoot']?_0xa976e4['view']['change'](_0x579d00=>{_0x579d00['removeClass']('ck-revision-history-root--active',_0xa976e4['view']['document']['getRoot'](_0x4561df['rootName']));}):_0xa976e4['reconvertMarker']('revision:'+_0x4561df['id'])),_0x1b07d7&&(_0x1b07d7['data']['isOnRoot']?_0xa976e4['view']['change'](_0x250f7f=>{_0x250f7f['addClass']('ck-revision-history-root--active',_0xa976e4['view']['document']['getRoot'](_0x1b07d7['rootName']));}):_0xa976e4['reconvertMarker']('revision:'+_0x1b07d7['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x2667e3,_0x25c855)=>{if(this['activeChange'])return;const _0x32cdc1=this['_findChangeIdFromDomTarget'](_0x25c855['target']),_0x388946=this['_changeIdToChange']['get'](_0x32cdc1);_0x388946?(this['_activeViewTarget']={'x':_0x25c855['domEvent']['x'],'y':_0x25c855['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x388946)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x1e1685,_0x2b55c3)=>{const _0x564e66=this['_findChangeIdFromDomTarget'](_0x2b55c3['target']),_0x367a34=this['_changeIdToChange']['get'](_0x564e66);_0x367a34?(this['_activeViewTarget']={'x':_0x2b55c3['domEvent']['x'],'y':_0x2b55c3['domEvent']['y']},_0x367a34===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x367a34):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x2e3bed){do{const _0x4f410f=_0x2e3bed['getAttribute']('data-change-id');if(_0x4f410f)return _0x4f410f;_0x2e3bed=_0x2e3bed['parent'];}while(_0x2e3bed);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x4a4390=>{for(const _0x5c204c of this['editor']['model']['markers'])_0x4a4390['removeMarker'](_0x5c204c);});}constructor(_0x5bf6a8){super(_0x5bf6a8),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',(_0x471064,_0x20dd6f,_0x4a2b61)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x5d6f3b=>{for(const _0x29d98b of this['editor']['editing']['view']['document']['roots'])_0x4a2b61?_0x5d6f3b['removeClass']('ck-editor__editable__overlay',_0x29d98b):_0x5d6f3b['addClass']('ck-editor__editable__overlay',_0x29d98b);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x4cd2a3=>null!==_0x4cd2a3),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x48fceb,_0x11b577,_0x58a874)=>_0x48fceb&&_0x58a874?_0x11b577['changes']['getIndex'](_0x58a874):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x2e0a77,_0x3667c0)=>_0x2e0a77?_0x3667c0['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x45579d);}}function et(_0x4ef584,_0x3f6c86){return(_0x5f2aeb,_0x26bc32,_0x36eedf)=>{if(!_0x36eedf['consumable']['test'](_0x26bc32['markerRange'],_0x5f2aeb['name']))return;const _0x3ee4c6=_0x26bc32['markerRange']['getWalker'](),_0x5ed01b=_0x26bc32['markerRange']['start'],_0x33fbab=_0x4ef584['model']['schema'];let _0x5590bc=null,_0x1b0449=null,_0x3691a7=!0x1,_0x263190=!0x1;for(const _0x359e4a of _0x3ee4c6){const _0x83cdaa=_0x359e4a['item'];_0x3691a7=_0x3691a7||_0x33fbab['isContent'](_0x83cdaa);const _0x4b349b=_0x36eedf['mapper']['toViewElement'](_0x83cdaa);if(_0x4b349b&&_0x4b349b['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x359e4a['type']&&(_0x33fbab['isBlock'](_0x83cdaa)&&!_0x33fbab['isLimit'](_0x83cdaa)&&(_0x83cdaa['nextSibling']||_0x5ed01b['isAtEnd']?_0x5590bc&&_0x5590bc['parent']==_0x83cdaa||(_0x5590bc=_0x83cdaa,_0x1ca1cc(_0x359e4a['previousPosition']),_0x263190=!0x0):_0x1b0449=_0x1b0449||_0x359e4a['previousPosition']));}function _0x1ca1cc(_0x1d56b5){const _0x3ba154=_0x36eedf['mapper']['toViewPosition'](_0x1d56b5),_0x42015d=_0x36eedf['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x3f6c86});_0x36eedf['writer']['insert'](_0x3ba154,_0x42015d),_0x36eedf['mapper']['bindElementToMarker'](_0x42015d,_0x26bc32['markerName']);}_0x3691a7||_0x263190||!_0x1b0449||_0x1ca1cc(_0x1b0449);};}class bt extends _0x4e120f{['execute'](){const _0x3eade6=this['editor'],_0x4267fb=_0x3eade6['plugins']['get'](d),_0x32ad82=_0x4267fb['isReady']?_0x4267fb['diff']['newRevisionId']:null;_0x3eade6['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x32ad82);}['refresh'](){const {isReady:_0x5dbc59,isEnabled:_0x33e66a}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x5dbc59&&_0x33e66a;}constructor(_0x26165f){super(_0x26165f);const _0x4a6c81=_0x26165f['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x4a6c81,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x4a6c81,'change:isEnabled',()=>this['refresh']());}}class Rt extends _0x4e120f{['execute'](){const _0x18a05d=this['editor'],_0x48d9da=_0x18a05d['plugins']['get'](d),{isNavigationMode:_0x485863,currentChangeNumber:_0x245988}=_0x48d9da;let _0x403150;if(_0x48d9da['activeChange']=_0x485863?_0x48d9da['diff']['changes']['get'](_0x245988+this['_step']):_0x48d9da['diff']['changes']['first'],_0x48d9da['activeChange']['data']['isOnRoot'])_0x403150=_0x18a05d['editing']['view']['getDomRoot'](_0x48d9da['activeChange']['rootName']);else{const _0x2d658a=_0x18a05d['model']['markers']['get']('revision:'+_0x48d9da['activeChange']['id']);_0x403150=_0x316588(_0x18a05d['editing'],_0x2d658a);}_0x55597a({'target':_0x403150,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x2b697a,currentChangeNumber:_0x221695,numberOfChanges:_0x137e4c,isReady:_0x148ca9,isEnabled:_0x3a434e}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x3a434e&&_0x148ca9&&_0x137e4c)&&(!_0x2b697a||(0x1===this['_step']?_0x221695<_0x137e4c-0x1:_0x221695>0x0));}constructor(_0x1ffd77,{direction:_0x43f5db}){super(_0x1ffd77);const _0x12a5e3=_0x1ffd77['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x43f5db?0x1:-0x1,this['listenTo'](_0x12a5e3,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x12a5e3,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x12a5e3,'change:activeChange',()=>this['refresh']());}}class _i extends _0xb33fc2{constructor(_0x3e4f03){super(_0x3e4f03);const _0x46e551=this['bindTemplate'],_0x3cb059=new _0x166e2b(_0x3e4f03),_0x53a2aa=new _0x166e2b(_0x3e4f03);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',(_0x3cd892,_0x51707f)=>_0x3cd892&&_0x51707f>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x197ae2,_0x18c0d8,_0x5c1dce,_0x776da9)=>{if(!_0x197ae2)return y(_0x3e4f03,'Loading...');if(!_0x5c1dce)return y(_0x3e4f03,'No\x20changes');const _0x4fe59a=y(_0x3e4f03,'NUMBER_OF_CHANGES',_0x5c1dce);return _0x776da9?y(_0x3e4f03,'X_OF_Y_CHANGES',[_0x18c0d8+0x1,_0x5c1dce]):_0x4fe59a;}),_0x3cb059['set']({'label':y(_0x3e4f03,'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'}),_0x53a2aa['set']({'label':y(_0x3e4f03,'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'}),_0x3cb059['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x53a2aa['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x3cb059['on']('execute',()=>this['fire']('execute','backward')),_0x53a2aa['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',_0x46e551['if']('_isStatusLabelVisible','ck-hidden',_0x437bf4=>!_0x437bf4)]},'children':[{'text':_0x46e551['to']('isNavigationMode',_0x908799=>_0x908799?y(_0x3e4f03,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x3e4f03,'Total')+':\x20')}]},{'text':_0x46e551['to']('_statusText')}]},new _0x458b5d(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x3cb059,_0x53a2aa]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x5960e6{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x47d97=this['editor']['editing']['view'];_0x47d97['change'](_0x5a7a97=>{for(const _0x46eb31 of _0x47d97['document']['roots'])_0x5a7a97['addClass'](ce,_0x46eb31);});}['hide'](){const _0x4fa96d=this['editor']['editing']['view'];_0x4fa96d['change'](_0xd9cb7d=>{for(const _0xa97b1f of _0x4fa96d['document']['roots'])_0xd9cb7d['removeClass'](ce,_0xa97b1f);});}}class R extends _0x5960e6{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x1687a0=this['editor'],_0x393ad0=_0x1687a0['plugins']['get'](d),_0x2af9ec=_0x1687a0['plugins']['get'](de);_0x1687a0['ui']['componentFactory']['add']('exitToEditing',_0x80dadd=>{const _0x149263=new _0x166e2b(_0x80dadd);return _0x149263['set']({'label':y(_0x80dadd,'Back\x20to\x20editing'),'icon':_0x3c2dc1['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x149263,'execute',()=>{_0x1687a0['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x149263;}),_0x1687a0['ui']['componentFactory']['add']('restoreRevision',_0x15db49=>{const _0x477842=new _0x166e2b(_0x15db49);return _0x477842['set']({'label':y(_0x15db49,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x477842['bind']('isEnabled')['to'](_0x1687a0['commands']['get']('restoreRevision')),this['listenTo'](_0x477842,'execute',()=>_0x1687a0['execute']('restoreRevision')),_0x477842;}),_0x1687a0['ui']['componentFactory']['add']('changesNavigation',_0x5f0f68=>{const _0x3a79bb=new _i(_0x5f0f68),_0x45b404=_0x1687a0['commands']['get']('showPreviousChange'),_0x2fc363=_0x1687a0['commands']['get']('showNextChange');return _0x3a79bb['bind']('isBackwardNavigationEnabled')['to'](_0x45b404,'isEnabled'),_0x3a79bb['bind']('isForwardNavigationEnabled')['to'](_0x2fc363,'isEnabled'),_0x3a79bb['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x393ad0),this['listenTo'](_0x3a79bb,'execute',(_0x14f633,_0x495215)=>{_0x1687a0['execute']('forward'===_0x495215?'showNextChange':'showPreviousChange');}),_0x3a79bb;}),_0x2af9ec['show'](),_0x393ad0['on']('change:isReady',(_0x3c0a55,_0x33c521,_0x4faea4)=>{_0x4faea4?_0x2af9ec['hide']():_0x2af9ec['show']();});}}class vt extends mt{['render'](){super['render'](),this['_resizeObserver']=new kt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x78dfd2=this['fieldView']['element'];this['_tooltipString']=_0x78dfd2['scrollWidth']>_0x78dfd2['clientWidth']&&_0x78dfd2['value']||'';}constructor(_0x2851bc,_0x498972){super(_0x2851bc,_0x498972),this['_resizeObserver']=null;const _0x1fc096=this['bindTemplate'];this['set']({'label':y(_0x2851bc,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x2851bc,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x1fc096['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}}class ti extends _0xb33fc2{constructor(_0x46cb87,_0x39e43c,_0x182575){super(_0x46cb87);const _0x5686bb=new _0x493c9d();_0x5686bb['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 _0x985b5f=['ck','ck-revision-history-sidebar__revision-author'];_0x182575&&_0x985b5f['push']('ck-revision-history-sidebar__revision-author_creator');const _0x143c8d=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x46cb87,_0x182575?'Revision\x20creator':'Revision\x20author')},'children':[_0x5686bb,_0x39e43c['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x985b5f},'children':_0x143c8d});}}function ni(_0x4001c1,_0x5951b4){const _0x33687d=_0x4001c1['bindTemplate'],_0x2d1ddc=_0x4001c1['locale'],_0xd49320=_0xb6690e(_0x2d1ddc);_0xd49320['panelPosition']='sw';const _0x315462=function(_0x19206f,_0x1e962a){const _0x1cb76b=function(_0x5be142,_0x829cfd){const _0x53fda0=_0x5be142['locale'],_0x4f7331={'Compare\x20against\x20selected':y(_0x53fda0,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x53fda0,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x53fda0,'Restore\x20this\x20revision')};return _0x829cfd['map'](_0xd26df8=>{const _0x5c06f2=_0x4f7331[_0xd26df8['name']];return _0x5c06f2&&_0x5c06f2!==_0xd26df8['name']&&(_0xd26df8['name']=_0x5c06f2),_0xd26df8;});}(_0x19206f,_0x1e962a),_0x8fd4f6=new _0x41db01();for(const _0x58d8f6 of _0x1cb76b){const _0x4c275a={'type':'button','model':new to({'label':_0x58d8f6['name'],'class':_0x58d8f6['class'],'withText':!0x0,'_action':_0x58d8f6['action']})};_0x4c275a['model']['bind']('isEnabled')['to'](_0x19206f,'isActionsDropdownOpen',_0x1ede56=>'function'!=typeof _0x58d8f6['isEnabled']||(!_0x1ede56||_0x58d8f6['isEnabled'](_0x19206f))),_0x8fd4f6['add'](_0x4c275a);}return _0x8fd4f6;}(_0x4001c1,_0x5951b4);return _0x4001c1['bind']('isActionsDropdownOpen')['to'](_0xd49320,'isOpen'),_0xd49320['buttonView']['set']({'label':y(_0x2d1ddc,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x3c2dc1['threeVerticalDots']}),_0xd49320['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x33687d['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x33687d['to'](_0xff8e92=>_0xff8e92['stopPropagation']())}}),_0xd49320['on']('execute',_0x3f6a13=>{_0x4001c1['isReady']&&'function'==typeof _0x3f6a13['source']['_action']&&_0x3f6a13['source']['_action'](_0x4001c1);}),_0x1ad031(_0xd49320,_0x315462),_0xd49320['listenTo'](_0x4001c1,'change:isActionsDropdownOpen',(_0x17e70a,_0xd30f08,_0x2259cb)=>{if(_0x2259cb)for(const _0x3b171e of _0xd49320['listView']['items']){const _0x21aeec=_0x3b171e['children']['first'],_0x3c479b=_0x5951b4['find'](_0x227385=>_0x227385['action']===_0x21aeec['_action'])['isVisible'];_0x3b171e['isVisible']=void 0x0===_0x3c479b||_0x3c479b(_0x4001c1);}}),_0xd49320;}class ai extends _0x27bff3(_0xb33fc2){['render'](){super['render']();const _0xeed0ad=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0xeed0ad,'change',()=>{this['_requireRevisionName']&&!_0xeed0ad['value']||this['fire']('setName',{'id':this['id'],'name':_0xeed0ad['value']}),_0xeed0ad['value']||(_0xeed0ad['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}constructor(_0x3f0679,_0x3ef974,_0x5a47d9,_0x58d845){super(_0x3f0679);const _0x8d1821=this['bindTemplate'],_0x3590a2=function(_0x6690bf,_0x29a85e){const _0x5c7268=Array['from'](_0x29a85e['authors'])['filter'](_0x32b77a=>_0x32b77a!=_0x29a85e['creator']);return _0x29a85e['creator']&&_0x5c7268['unshift'](_0x29a85e['creator']),_0x5c7268['map'](_0x1dd90a=>new ti(_0x6690bf,_0x1dd90a,_0x1dd90a==_0x29a85e['creator']));}(_0x3f0679,_0x3ef974);this['id']=_0x3ef974['id'],this['_revision']=_0x3ef974,this['_requireRevisionName']=_0x58d845,this['bind']('name','createdAt')['to'](_0x3ef974),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x3e2aa9=>{return _0x20b986=_0x3f0679['uiLanguage'],(_0x12325b=_0x3e2aa9)['toLocaleDateString'](_0x20b986,{'month':'long','day':'numeric'})+',\x20'+_0x12325b['toLocaleTimeString'](_0x20b986,{'hour':'numeric','minute':'numeric'});var _0x20b986,_0x12325b;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new vt(_0x3f0679,_0x202a9a),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x3205f7=>_0x3205f7||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x39d502,_0x16150a)=>_0x39d502&&_0x16150a),this['revisionActionsView']=_0x5a47d9&&_0x5a47d9['length']?ni(this,_0x5a47d9):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x8d1821['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x8d1821['if']('isEnabled','ck-disabled',_0x496255=>!_0x496255),_0x8d1821['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x8d1821['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x8d1821['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':_0x8d1821['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':_0x3590a2}]},this['revisionActionsView']],'on':{'click':_0x8d1821['to'](_0x33edd6=>{_0x33edd6['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}}function di(_0x10575c,_0x4c7a98){const _0x2957d9=_0x4c0bae['fromJSDate'](_0x10575c)['setLocale'](_0x4c7a98),_0x6e9d6b=_0x4c0bae['local'](),_0x2d86f1=_0x6e9d6b['minus']({'days':0x1})['startOf']('day');let _0x1b988f,_0x4a63e4;return _0x2957d9['hasSame'](_0x6e9d6b,'day')?(_0x1b988f=_0x2957d9['startOf']('day')['toJSDate'](),_0x4a63e4=_0x2957d9['toRelativeCalendar']()):_0x2957d9['hasSame'](_0x2d86f1,'day')?(_0x1b988f=_0x2d86f1['toJSDate'](),_0x4a63e4=_0x2957d9['toRelativeCalendar']()):_0x2957d9['hasSame'](_0x6e9d6b,'week')?(_0x1b988f=_0x2957d9['startOf']('week')['toJSDate'](),_0x4a63e4=_0x2957d9['weekdayLong']||''):_0x2957d9['hasSame'](_0x6e9d6b,'year')?(_0x1b988f=_0x2957d9['startOf']('month')['toJSDate'](),_0x4a63e4=_0x2957d9['monthLong']||''):(_0x1b988f=_0x2957d9['startOf']('year')['toJSDate'](),_0x4a63e4=String(_0x2957d9['year'])),{'startDate':_0x1b988f,'localizedPeriodName':_0x4a63e4};}class mi extends _0xb33fc2{['addRevision'](_0x27887f){const _0x32b680=new ai(this['locale'],_0x27887f,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x32b680);}['removeRevision'](_0x24932c){const _0x27b1aa=this['revisionViews']['find'](_0x4e3fb0=>_0x4e3fb0['id']===_0x24932c['id']);this['revisionViews']['remove'](_0x27b1aa);}constructor(_0x139e6a,_0x81283e,_0x309c5a,_0x5d7657){super(_0x139e6a);const _0x5f0a65=di(_0x81283e,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x81283e,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x309c5a,this['_requireRevisionName']=_0x5d7657,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':_0x5f0a65}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}}class as extends _0xb33fc2{constructor(_0x122e94){super(_0x122e94);const _0x56b2b3=new _0x493c9d();_0x56b2b3['content']=_0x3c2dc1['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x56b2b3,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x122e94,'Revision\x20history')]}]});}}class ci extends _0xb33fc2{['render'](){super['render']();for(const _0x29278a of this['_revisions'])this['_addRevision'](_0x29278a);this['_revisions']['on']('add',(_0x40e550,_0xd2a34e)=>{this['_addRevision'](_0xd2a34e);}),this['_revisions']['on']('remove',(_0x389f1c,_0x35bc87)=>{this['_removeRevision'](_0x35bc87);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0xf96ed6=>_0xf96ed6['revisionViews']['map'](_0x2b8325=>_0x2b8325))['flat']();}['selectRevision'](_0x87fa10){for(const _0x51789d of this['revisionViews'])_0x87fa10&&_0x87fa10['id']===_0x51789d['id']?_0x51789d['select']():_0x51789d['deselect']();}['highlightRevisions'](_0x2203b1){for(const _0x51f032 of this['revisionViews'])_0x2203b1['some'](({id:_0x3ca168})=>_0x3ca168===_0x51f032['id'])?_0x51f032['highlight']():_0x51f032['unhighlight']();}['_addRevision'](_0x573993){const _0x459678=di(_0x573993['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x55ce3f=this['timePeriodViews']['get'](0x0);_0x55ce3f&&_0x55ce3f['startDate']['getTime']()===_0x459678['getTime']()||(_0x55ce3f=new mi(this['locale'],_0x459678,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x55ce3f)),_0x55ce3f['addRevision'](_0x573993);}['_removeRevision'](_0x4e0023){const _0x1f4996=di(_0x4e0023['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x1f4996)['removeRevision'](_0x4e0023);}['_getTimePeriodViewByStartDate'](_0x1c838d){return this['timePeriodViews']['find'](_0x91f203=>_0x91f203['startDate']['getTime']()===_0x1c838d['getTime']());}constructor(_0x4e7850,_0x288705,_0xafc2a,_0x4c55e5){super(_0x4e7850);const _0x4d09c0=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x288705,this['_revisionActions']=_0xafc2a,this['_requireRevisionName']=_0x4c55e5,this['on']('select',(_0x425155,_0x426982)=>{this['fire']('revisionSelected',_0x426982);}),this['on']('setName',(_0x141596,_0x196824)=>{this['fire']('revisionSetName',_0x196824);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x4e7850),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x4d09c0['if']('isEnabled','ck-disabled',_0x5b31fb=>!_0x5b31fb)]},'children':this['timePeriodViews']}]});}}class w extends _0x5960e6{static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}['init'](){const _0x355aa6=this['_revisionsRepository']['_revisions'],_0x177cc3=this['_createRevisionActions'](),_0x19fcb8=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x355aa6,_0x177cc3,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',(_0x25a302,_0x37bb29)=>{_0x37bb29['revisionViews']['on']('add',(_0x153129,_0x17b846)=>{_0x17b846['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)),_0x19fcb8['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x380607=this['_revisionsRepository']['getRevision'](0x0);if(_0x380607){const _0x5b4948=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x380607['id']);this['_revisionViewer']['compare'](_0x380607,_0x5b4948);}}['_handleRevisionSelected'](_0x4c0f33,_0x3ff610){const _0x4fd75e=this['_revisionsRepository']['getRevision'](_0x3ff610['id']),_0x2e0db0=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4fd75e['id']);this['_revisionViewer']['compare'](_0x4fd75e,_0x2e0db0);}['_handleRevisionSetName'](_0x468ccc,_0x44116c){this['_revisionsRepository']['getRevision'](_0x44116c['id'])['setName'](_0x44116c['name']);}['_handleDiffChange'](_0x76604f,_0x547bdf,_0x5853a2){const _0x2676b9=this['_revisionsRepository']['getRevisionsInDiff'](_0x5853a2);_0x2676b9['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x2676b9),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x2676b9[0x0]));}['_createRevisionActions'](){const _0x50ef81=this['editor'],_0x34aca8=w['availableRevisionActions'],_0x78cddf=_0x50ef81['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x78cddf['length'])return _0x78cddf['map'](_0x8e5a82=>{const _0x33da9f='string'==typeof _0x8e5a82?Object['assign']({},_0x34aca8[_0x8e5a82]):_0x8e5a82;return _0x33da9f['action']=_0x33da9f['action']['bind'](this,_0x50ef81),_0x33da9f['isVisible']&&(_0x33da9f['isVisible']=_0x33da9f['isVisible']['bind'](this,_0x50ef81)),_0x33da9f;});}constructor(_0x311a30){super(_0x311a30),this['_revisionViewer']=_0x311a30['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x29d0a7},_0x186eb4)=>{const _0x47f0df=_0x29d0a7['get'](d),_0x4dee57=_0x47f0df['repository'];let _0xd0b12a=_0x47f0df['diff']['newRevisionId'],_0x23a02e=_0x186eb4['id'];_0x4dee57['getIndex'](_0xd0b12a)>_0x4dee57['getIndex'](_0x23a02e)&&([_0xd0b12a,_0x23a02e]=[_0x23a02e,_0xd0b12a]),_0x47f0df['compare'](_0xd0b12a,_0x23a02e);},'isVisible':({plugins:_0x33ba33},_0x54bbe8)=>{const _0x26c9bd=_0x33ba33['get'](d);return!(_0x26c9bd['repository']['getRevisionsInDiff'](_0x26c9bd['diff'])['length']>0x2)&&!_0x54bbe8['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0xd5939d,{id:_0x611bd5})=>{_0xd5939d['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x611bd5);},'isVisible':({plugins:_0x89f3c4},_0x227d13)=>!!_0x89f3c4['get'](d)['repository']['getLaterVisibleRevision'](_0x227d13['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0xc74d67},{id:_0x47aae8,revisionNameView:_0x105bea})=>{const _0xa14fb1=_0xc74d67['get'](d),_0x4c33ec=_0xa14fb1['repository']['getEarlierVisibleRevision'](_0x47aae8);_0xa14fb1['compare'](_0x47aae8,_0x4c33ec),_0x105bea['focus'](),_0x105bea['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class ot extends ht{get['view'](){return this['_view'];}get['element'](){return this['view']['element'];}['init'](_0x59413f){const _0x4bf2f4=this['editor'],_0x278827=this['view'],_0x4bebfb=_0x4bf2f4['editing']['view'],_0x13453b=_0x278827['editable'],_0x503367=_0x4bebfb['document']['getRoot']();_0x13453b['name']=_0x503367['rootName'],_0x278827['render']();const _0x36a4ba=_0x13453b['element'];this['setEditableElement'](_0x13453b['name'],_0x36a4ba),_0x278827['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x4bebfb['attachDomRoot'](_0x36a4ba),this['_elementReplacer']['replace'](_0x59413f,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x339cb1=this['view'],_0x2f53a5=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x2f53a5['detachDomRoot'](_0x339cb1['editable']['name']),_0x339cb1['destroy']();}['_initToolbar'](){const _0x104791=this['view'];_0x104791['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x104791['stickyPanel']['limiterElement']=_0x104791['element'],_0x104791['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x9e752b})=>_0x9e752b),_0x104791['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x104791['toolbar']);}constructor(_0x9b0381,_0x54b527){super(_0x9b0381),this['_view']=_0x54b527,this['_toolbarConfig']=ct(_0x9b0381['config']['get']('toolbar')),this['_elementReplacer']=new nt();}}class at extends dt{get['editable'](){return this['_editable'];}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}constructor(_0x3cef82,_0x227af2,_0x5e2c20={}){super(_0x3cef82),this['stickyPanel']=new lt(_0x3cef82),this['toolbar']=new pt(_0x3cef82,{'shouldGroupWhenFull':_0x5e2c20['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x3cef82,_0x227af2);}}class m extends rt(st(it)){get['ui'](){return this['_ui'];}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x1a441a,_0x167490){const _0x503f20=new this(_0x1a441a,_0x167490);return await _0x503f20['initPlugins'](),await _0x503f20['ui']['init'](_0x1a441a),await _0x503f20['data']['init'](_0x503f20['config']['get']('initialData')||''),_0x503f20['fire']('ready'),_0x503f20;}constructor(_0x2ea11c,_0x59ff6c){super(_0x59ff6c),this['sourceElement']=_0x2ea11c,this['model']['document']['createRoot']();const _0xcae5c2=new at(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new ot(this,_0xcae5c2);}}const g=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x5960e6{static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x4d1eee){super(_0x4d1eee),this['result']='end';}}class H extends _0x5960e6{static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}set['adapter'](_0x1dcb0e){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x1dcb0e;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x18df4c){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x18df4c);}['getRevision'](_0x4e9559){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x4e9559);}['getRevisions'](_0x3d18c6={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x3d18c6);}['_getRevisionViewerEditorConfig'](){const _0x1ce0d8=this['editor'],_0x418a51=_0x15e2c9(_0x1ce0d8,g),_0x11b188=_0x1ce0d8['plugins']['get']('RevisionTracker'),_0x369a62=_0x1ce0d8['plugins']['get']('Users')['users'];return _0x418a51['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x418a51['lazyRoots'],(_0x418a51['plugins']['push'](k,d,R,class extends _0x5960e6{static get['requires'](){return[d,'Users'];}['init'](){const _0x3f0aad=this['editor']['plugins']['get']('Users');for(const _0xb960bd of _0x369a62)_0xb960bd['isAnonymous']||_0x3f0aad['getUser'](_0xb960bd['id'])||_0x3f0aad['addUser'](_0xb960bd);const _0x506515=_0x11b188['repository']['getRevisions']();let _0x3c882b=null;const _0x394c65=this['editor']['plugins']['get']('RevisionViewer');_0x394c65['adapter']=_0x11b188['adapter'],_0x394c65['bind']('isEnabled')['to'](_0x11b188),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x1ce0d8,'isReadOnly',_0x3357b9=>!_0x3357b9);for(const _0x2d624b of _0x506515){const _0x137476=null===_0x2d624b['creator'];if(_0x137476&&_0x2d624b['toVersion']===_0x2d624b['fromVersion'])continue;const _0x2701d1=_0x2d624b['toJSON']();_0x394c65['addRevisionData'](_0x2701d1,(_0x12867f,_0x5dca31,_0x17443f)=>{if(_0x137476){if(_0x3c882b)_0x3c882b['_update'](_0x12867f,_0x5dca31);else{if(!_0x5dca31){const _0x1cc937=_0x17443f['toJSON']();_0x1cc937['id']=_0x4077f3(),_0x11b188['saveRevision'](_0x1cc937,_0x17443f['toVersion'])['then'](_0xf5c29d=>{_0x3c882b=_0xf5c29d;});}}}else _0x2d624b['_update'](_0x12867f,_0x5dca31);});}}},w),_0x418a51);}['_enhanceShowRevisionViewerCallback'](){const _0x478c50=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x4969ff=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x524206=this['editor']['plugins']['get']('Autosave');await _0x524206['save']();}else await _0x4969ff['update']();this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks']();const _0x140abd=this['_getRevisionViewerEditorConfig']();return _0x478c50(_0x140abd)['then'](_0x2c0def=>{return(this['_viewerEditor']=_0x2c0def,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x2c0def;})['catch'](_0x531376=>(console['error'](_0x531376),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x2ef921=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'](),_0x2ef921(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0xe46096=this['editor']['plugins']['get']('Annotations');_0xe46096['refreshVisibility'](),_0xe46096['refreshPositioning']();}})));}['_showRevisionViewer'](_0x394848){const _0x271367=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x41febc=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0xb8575a=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0xb8575a,_0x394848)['then'](_0x5365f6=>(_0x41febc['style']['display']='block',_0x271367['style']['display']='none',_0x5365f6));}['_closeRevisionViewer'](_0x52f30d){const _0x3b2c97=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x3b2c97['style']['display']='',_0x52f30d['destroy']();}async['_restoreRevision'](_0x36ecef){const _0x109152=this['editor'],_0x3f4444=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x4e11be=_0x109152['plugins']['get']('RevisionTracker'),_0x4d34bc=_0x3f4444['repository']['getRevision'](_0x36ecef);let _0x8d74ca,_0x171ab7,_0x4b9e0a;try{_0x8d74ca=await _0x3f4444['getRevisionData'](_0x4d34bc),_0x171ab7=await _0x3f4444['getRevisionRootsAttributes'](_0x4d34bc);}catch(_0x590a04){return void console['error'](_0x590a04);}_0x109152['model']['change'](_0x627ecd=>{for(const _0xd8085 of Array['from'](_0x109152['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x627ecd['removeMarker'](_0xd8085);}),_0x3f4444['isReady']=!0x1,_0x109152['model']['enqueueChange'](_0x4fc6cc=>{_0x4fc6cc['setSelection'](null),_0x4fc6cc['removeSelectionAttribute'](_0x109152['model']['document']['selection']['getAttributeKeys']());const _0x3a2b9d=Object['keys'](_0x8d74ca);for(const _0x2bd7cd of _0x109152['model']['document']['roots'])'$graveyard'!=_0x2bd7cd['rootName']&&_0x2bd7cd['isAttached']()&&!_0x3a2b9d['includes'](_0x2bd7cd['rootName'])&&_0x4fc6cc['detachRoot'](_0x2bd7cd);for(const _0x284ba1 of _0x3a2b9d){let _0x2c8aad=_0x109152['model']['document']['getRoot'](_0x284ba1);_0x2c8aad&&_0x2c8aad['isAttached']()||(_0x2c8aad=_0x4fc6cc['addRoot'](_0x284ba1));const _0x398faf=_0x171ab7[_0x284ba1],_0x9bcabe=Object['keys'](_0x398faf),_0x276145=_0x8d74ca[_0x284ba1];for(const _0x7b1e62 of _0x2c8aad['getAttributeKeys']())_0x9bcabe['includes'](_0x7b1e62)||_0x4fc6cc['removeAttribute'](_0x7b1e62,_0x2c8aad);for(const _0x18119b of _0x9bcabe)_0x4fc6cc['setAttribute'](_0x18119b,_0x171ab7[_0x284ba1][_0x18119b],_0x2c8aad);_0x4fc6cc['remove'](_0x4fc6cc['createRangeIn'](_0x2c8aad)),_0x4fc6cc['insert'](_0x109152['data']['parse'](_0x276145,_0x2c8aad),_0x2c8aad,0x0);}});const _0x2e893b=y(_0x109152['locale'],'Restored');if(_0x4d34bc['name'])_0x4b9e0a=-0x1==_0x4d34bc['name']['indexOf'](_0x2e893b)?_0x2e893b+':\x20'+_0x4d34bc['name']:_0x4d34bc['name'];else _0x4b9e0a=_0x2e893b+':\x20'+(_0x4d34bc['createdAt']['toLocaleDateString'](_0x109152['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x4d34bc['createdAt']['toLocaleTimeString'](_0x109152['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x4e11be['saveRevision']({'name':_0x4b9e0a}),_0x3f4444['isReady']=!0x0,_0x109152['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}constructor(_0x119680){if(super(_0x119680),!this['editor']['config']['get']('revisionHistory'))throw new _0x3fd2ee('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x18b6b7=>this['_showRevisionViewer']({..._0x18b6b7,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0xf6e78c=>this['_closeRevisionViewer'](_0xf6e78c)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x2ca7b6=>this['_restoreRevision'](_0x2ca7b6)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};