@ckeditor/ckeditor5-revision-history 43.1.0-alpha.8 → 43.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/az.js +1 -1
  8. package/dist/translations/az.umd.js +1 -1
  9. package/dist/translations/bg.js +1 -1
  10. package/dist/translations/bg.umd.js +1 -1
  11. package/dist/translations/bn.js +1 -1
  12. package/dist/translations/bn.umd.js +1 -1
  13. package/dist/translations/bs.js +1 -1
  14. package/dist/translations/bs.umd.js +1 -1
  15. package/dist/translations/ca.js +1 -1
  16. package/dist/translations/ca.umd.js +1 -1
  17. package/dist/translations/cs.js +1 -1
  18. package/dist/translations/cs.umd.js +1 -1
  19. package/dist/translations/da.js +1 -1
  20. package/dist/translations/da.umd.js +1 -1
  21. package/dist/translations/de-ch.js +1 -1
  22. package/dist/translations/de-ch.umd.js +1 -1
  23. package/dist/translations/de.js +1 -1
  24. package/dist/translations/de.umd.js +1 -1
  25. package/dist/translations/el.js +1 -1
  26. package/dist/translations/el.umd.js +1 -1
  27. package/dist/translations/en-au.js +1 -1
  28. package/dist/translations/en-au.umd.js +1 -1
  29. package/dist/translations/en-gb.js +1 -1
  30. package/dist/translations/en-gb.umd.js +1 -1
  31. package/dist/translations/en.umd.js +1 -1
  32. package/dist/translations/es-co.js +1 -1
  33. package/dist/translations/es-co.umd.js +1 -1
  34. package/dist/translations/es.js +1 -1
  35. package/dist/translations/es.umd.js +1 -1
  36. package/dist/translations/et.js +1 -1
  37. package/dist/translations/et.umd.js +1 -1
  38. package/dist/translations/fa.js +1 -1
  39. package/dist/translations/fa.umd.js +1 -1
  40. package/dist/translations/fi.js +1 -1
  41. package/dist/translations/fi.umd.js +1 -1
  42. package/dist/translations/fr.js +1 -1
  43. package/dist/translations/fr.umd.js +1 -1
  44. package/dist/translations/gl.js +1 -1
  45. package/dist/translations/gl.umd.js +1 -1
  46. package/dist/translations/he.js +1 -1
  47. package/dist/translations/he.umd.js +1 -1
  48. package/dist/translations/hi.js +1 -1
  49. package/dist/translations/hi.umd.js +1 -1
  50. package/dist/translations/hr.js +1 -1
  51. package/dist/translations/hr.umd.js +1 -1
  52. package/dist/translations/hu.js +1 -1
  53. package/dist/translations/hu.umd.js +1 -1
  54. package/dist/translations/id.js +1 -1
  55. package/dist/translations/id.umd.js +1 -1
  56. package/dist/translations/it.js +1 -1
  57. package/dist/translations/it.umd.js +1 -1
  58. package/dist/translations/ja.js +1 -1
  59. package/dist/translations/ja.umd.js +1 -1
  60. package/dist/translations/jv.js +1 -1
  61. package/dist/translations/jv.umd.js +1 -1
  62. package/dist/translations/ko.js +1 -1
  63. package/dist/translations/ko.umd.js +1 -1
  64. package/dist/translations/ku.js +1 -1
  65. package/dist/translations/ku.umd.js +1 -1
  66. package/dist/translations/lt.js +1 -1
  67. package/dist/translations/lt.umd.js +1 -1
  68. package/dist/translations/lv.js +1 -1
  69. package/dist/translations/lv.umd.js +1 -1
  70. package/dist/translations/ms.js +1 -1
  71. package/dist/translations/ms.umd.js +1 -1
  72. package/dist/translations/ne.js +1 -1
  73. package/dist/translations/ne.umd.js +1 -1
  74. package/dist/translations/nl.js +1 -1
  75. package/dist/translations/nl.umd.js +1 -1
  76. package/dist/translations/no.js +1 -1
  77. package/dist/translations/no.umd.js +1 -1
  78. package/dist/translations/pl.js +1 -1
  79. package/dist/translations/pl.umd.js +1 -1
  80. package/dist/translations/pt-br.js +1 -1
  81. package/dist/translations/pt-br.umd.js +1 -1
  82. package/dist/translations/pt.js +1 -1
  83. package/dist/translations/pt.umd.js +1 -1
  84. package/dist/translations/ro.js +1 -1
  85. package/dist/translations/ro.umd.js +1 -1
  86. package/dist/translations/ru.js +1 -1
  87. package/dist/translations/ru.umd.js +1 -1
  88. package/dist/translations/sk.js +1 -1
  89. package/dist/translations/sk.umd.js +1 -1
  90. package/dist/translations/sr-latn.js +1 -1
  91. package/dist/translations/sr-latn.umd.js +1 -1
  92. package/dist/translations/sr.js +1 -1
  93. package/dist/translations/sr.umd.js +1 -1
  94. package/dist/translations/sv.js +1 -1
  95. package/dist/translations/sv.umd.js +1 -1
  96. package/dist/translations/th.js +1 -1
  97. package/dist/translations/th.umd.js +1 -1
  98. package/dist/translations/ti.js +1 -1
  99. package/dist/translations/ti.umd.js +1 -1
  100. package/dist/translations/tk.js +1 -1
  101. package/dist/translations/tk.umd.js +1 -1
  102. package/dist/translations/tr.js +1 -1
  103. package/dist/translations/tr.umd.js +1 -1
  104. package/dist/translations/tt.js +1 -1
  105. package/dist/translations/tt.umd.js +1 -1
  106. package/dist/translations/ug.js +1 -1
  107. package/dist/translations/ug.umd.js +1 -1
  108. package/dist/translations/uk.js +1 -1
  109. package/dist/translations/uk.umd.js +1 -1
  110. package/dist/translations/ur.js +1 -1
  111. package/dist/translations/ur.umd.js +1 -1
  112. package/dist/translations/vi.js +1 -1
  113. package/dist/translations/vi.umd.js +1 -1
  114. package/dist/translations/zh-cn.js +1 -1
  115. package/dist/translations/zh-cn.umd.js +1 -1
  116. package/dist/translations/zh.js +1 -1
  117. package/dist/translations/zh.umd.js +1 -1
  118. package/package.json +8 -8
  119. package/src/changeitem.js +2 -2
  120. package/src/editor/revisionviewereditor.js +2 -2
  121. package/src/editor/revisionviewereditorui.js +1 -1
  122. package/src/editor/revisionviewereditoruiview.js +1 -1
  123. package/src/index.js +1 -1
  124. package/src/revision.js +2 -2
  125. package/src/revisiondiff.js +1 -1
  126. package/src/revisionhistory.js +1 -1
  127. package/src/revisionsrepository.js +1 -1
  128. package/src/revisiontracker.js +1 -1
  129. package/src/revisionviewer.js +1 -1
  130. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  131. package/src/ui/revision/revisionauthorview.js +1 -1
  132. package/src/ui/revision/revisionnameview.js +1 -1
  133. package/src/ui/revision/revisionview.js +2 -2
  134. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  135. package/src/ui/revision/subrevisionview.js +1 -1
  136. package/src/ui/revision/utils.js +1 -1
  137. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  138. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  139. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  140. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  141. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  142. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  143. package/src/ui/revisionssidebar/utils.js +1 -1
  144. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  145. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  146. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  147. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  148. package/src/utils/common-translations.js +1 -1
package/dist/index.js CHANGED
@@ -20,10 +20,10 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ObservableMixin as _0x2d215a,uid as _0x57e508,Collection as _0x504d6c,logWarning as _0x50326e,FocusTracker as _0x5de8d6,KeystrokeHandler as _0x1311df,scrollViewportToShowTarget as _0x5f2bc6,ResizeObserver as at,ElementReplacer as nt,CKEditorError as _0x386746}from'@ckeditor/ckeditor5-utils/dist/index.js';import{cloneDeep as _0x48669d,set as _0x2eb05f,unset as _0x30b97b,isEqual as _0x5bc8b1}from'lodash-es';import{Plugin as _0x5641b0,Context as _0x217c44,PendingActions as _0x4fc0ba,icons as _0x204acd,Command as _0x4078ce,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{Users as _0x10af68,getMarkerDomElement as _0x21c2c0,ConfirmMixin as ti,sanitizeEditorConfig as _0x2639d1}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x262c67,ViewText as _0x30021a,ViewElement as _0x23799c,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x1f7009,ViewAttributeElement as _0xd6a26c,ViewEmptyElement as _0x31103f,ViewRawElement as _0x576114,ViewUIElement as _0x276df6,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{View as ts,injectCssTransitionDisabler as _0x5d2df7,submitHandler as _0x529fcd,LabeledFieldView as _0x26e7d9,createLabeledInputText as _0x4edbb9,createDropdown as _0x118a74,ListView as _0x21451d,ListItemView as _0x35a49d,ButtonView as te,MenuBarMenuView as _0x3f00f1,MenuBarMenuListView as _0x3a4070,MenuBarMenuListItemView as _0x346cb0,MenuBarMenuListItemButtonView as _0x33a824,ContextualBalloon as _0x42efbd,ToolbarSeparatorView as _0x4a7340,IconView as _0x2b1894,addListToDropdown as to,ViewModel as _0x568eff,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 _0x4e0933}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x2d215a(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x3ced21){super(),this['id']=_0x3ced21['id']||_0x57e508(),this['creator']=_0x3ced21['creator']||null,this['authors']=_0x3ced21['authors']||[],this['diffData']=_0x3ced21['diffData']||null,this['toVersion']=_0x3ced21['toVersion']||0x0,this['fromVersion']=_0x3ced21['fromVersion']||0x0,this['set']('name',_0x3ced21['name']||''),this['set']('createdAt',_0x3ced21['createdAt']||new Date()),this['set']('attributes',_0x3ced21['attributes']||{});}['setName'](_0x3a4492){this['_update']({'name':_0x3a4492});}['setAttribute'](_0x15ffdb,_0x38bc49){const _0x25bffb=_0x48669d(this['attributes']);_0x2eb05f(_0x25bffb,_0x15ffdb,_0x38bc49),this['_update']({'attributes':_0x25bffb});}['removeAttribute'](_0x559c3a){const _0x4a7138=_0x48669d(this['attributes']);_0x30b97b(_0x4a7138,_0x559c3a),this['_update']({'attributes':_0x4a7138});}['_update'](_0x312db2,_0x5944a3=!0x1){let _0x3a1944=!0x1;const _0x282fb0={'id':this['id']},_0x57e20d=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x3bf355 of _0x57e20d){const _0x2140ff=_0x312db2[_0x3bf355];void 0x0!==_0x2140ff&&_0x2140ff!==this[_0x3bf355]&&(this[_0x3bf355]=_0x2140ff,_0x282fb0[_0x3bf355]=_0x2140ff,_0x3a1944=!0x0);}_0x3a1944&&(_0x282fb0['authors']&&(_0x282fb0['authorsIds']=_0x282fb0['authors']['map'](_0x1892d6=>_0x1892d6['id']),delete _0x282fb0['authors']),this['fire']('_update',_0x282fb0,_0x5944a3));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x50d188=>_0x50d188['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x5641b0{['_revisions'];static get['requires'](){return[_0x10af68];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x1e1a5d){super(_0x1e1a5d),this['_revisions']=new _0x504d6c();}['afterInit'](){!function(_0x437551){function _0x5670c3(_0x589d2a,_0x36bdb4,_0x45147b){const _0x56ffde={};_0x56ffde[_0x5702fc([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x56ffde[_0x5702fc([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],_0x56ffde[_0x5702fc([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],_0x56ffde[_0x5702fc([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],_0x56ffde[_0x5702fc([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],_0x56ffde[_0x5702fc([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],_0x56ffde[_0x5702fc([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],_0x56ffde[_0x5702fc([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],_0x56ffde[_0x5702fc([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],_0x56ffde[_0x5702fc([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],_0x56ffde[_0x5702fc([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 _0x1d3055=new Uint8Array(0x10);for(let _0x4be0fc=0xf;_0x4be0fc>=0x0;--_0x4be0fc)_0x1d3055[_0x4be0fc]=_0x45147b%0x100,_0x45147b=parseInt(_0x45147b/0x100);let _0x1f080e=null,_0x19b20b=0x10;const _0x2be4f7=new Uint8Array(_0x36bdb4),_0x475aac=[],_0x10d10f=[];_0x57f020();for(let _0xa8c526=0x0;_0xa8c526<_0x589d2a[_0x5702fc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa8c526++)0x10===_0x19b20b&&(_0x1f080e=_0x18b107(_0x1d3055),_0x19b20b=0x0,_0x3d5931(_0x1d3055)),_0x589d2a[_0xa8c526]^=_0x1f080e[_0x19b20b++];return _0x589d2a;function _0x15cae9(_0x5bb13a){const _0x2b4f66=[];for(let _0x2a9ba5=0x0;_0x2a9ba5<_0x5bb13a[_0x5702fc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a9ba5+=0x4)_0x2b4f66[_0x5702fc([0x70,0x75,0x73,0x68])](_0x5bb13a[_0x2a9ba5]<<0x18|_0x5bb13a[_0x2a9ba5+0x1]<<0x10|_0x5bb13a[_0x2a9ba5+0x2]<<0x8|_0x5bb13a[_0x2a9ba5+0x3]);return _0x2b4f66;}function _0x3d5931(_0x4dd616){for(let _0x994e2a=0xf;_0x994e2a>=0x0;_0x994e2a--){if(0xff!==_0x4dd616[_0x994e2a]){_0x4dd616[_0x994e2a]++;break;}_0x4dd616[_0x994e2a]=0x0;}}function _0x18b107(_0x44fc62){const _0xa856f8=_0x475aac[_0x5702fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x460b90=[0x0,0x0,0x0,0x0];let t=_0x15cae9(_0x44fc62);for(let _0x138487=0x0;_0x138487<0x4;_0x138487++)t[_0x138487]^=_0x475aac[0x0][_0x138487];for(let _0x5e07ce=0x1;_0x5e07ce<_0xa856f8;_0x5e07ce++){for(let _0x5dd2e5=0x0;_0x5dd2e5<0x4;_0x5dd2e5++)_0x460b90[_0x5dd2e5]=_0x56ffde[_0x5702fc([0x54,0x31])][t[_0x5dd2e5]>>0x18&0xff]^_0x56ffde[_0x5702fc([0x54,0x32])][t[(_0x5dd2e5+0x1)%0x4]>>0x10&0xff]^_0x56ffde[_0x5702fc([0x54,0x33])][t[(_0x5dd2e5+0x2)%0x4]>>0x8&0xff]^_0x56ffde[_0x5702fc([0x54,0x34])][0xff&t[(_0x5dd2e5+0x3)%0x4]]^_0x475aac[_0x5e07ce][_0x5dd2e5];t=_0x460b90[_0x5702fc([0x73,0x6c,0x69,0x63,0x65])]();}const _0x435c09=new Uint8Array(0x10);let _0xb293d;for(let _0x1a814d=0x0;_0x1a814d<0x4;_0x1a814d++)_0xb293d=_0x475aac[_0xa856f8][_0x1a814d],_0x435c09[0x4*_0x1a814d]=0xff&(_0x56ffde[_0x5702fc([0x53])][t[_0x1a814d]>>0x18&0xff]^_0xb293d>>0x18),_0x435c09[0x4*_0x1a814d+0x1]=0xff&(_0x56ffde[_0x5702fc([0x53])][t[(_0x1a814d+0x1)%0x4]>>0x10&0xff]^_0xb293d>>0x10),_0x435c09[0x4*_0x1a814d+0x2]=0xff&(_0x56ffde[_0x5702fc([0x53])][t[(_0x1a814d+0x2)%0x4]>>0x8&0xff]^_0xb293d>>0x8),_0x435c09[0x4*_0x1a814d+0x3]=0xff&(_0x56ffde[_0x5702fc([0x53])][0xff&t[(_0x1a814d+0x3)%0x4]]^_0xb293d);return _0x435c09;}function _0x57f020(){const _0x3f86fd=_0x56ffde[_0x5702fc([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x2be4f7[_0x5702fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x98b822=0x0;_0x98b822<=_0x3f86fd;_0x98b822++)_0x475aac[_0x5702fc([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x10d10f[_0x5702fc([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x234897=0x4*(_0x3f86fd+0x1),_0x21b05f=_0x2be4f7[_0x5702fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x1649da=_0x15cae9(_0x2be4f7);let _0x51d9e8;for(let _0x30b9b8=0x0;_0x30b9b8<_0x21b05f;_0x30b9b8++)_0x51d9e8=_0x30b9b8>>0x2,_0x475aac[_0x51d9e8][_0x30b9b8%0x4]=_0x1649da[_0x30b9b8],_0x10d10f[_0x3f86fd-_0x51d9e8][_0x30b9b8%0x4]=_0x1649da[_0x30b9b8];let _0x43aa67,_0x574785=0x0,t=_0x21b05f;for(;t<_0x234897;){_0x43aa67=_0x1649da[_0x21b05f-0x1],_0x1649da[0x0]^=_0x56ffde[_0x5702fc([0x53])][_0x43aa67>>0x10&0xff]<<0x18^_0x56ffde[_0x5702fc([0x53])][_0x43aa67>>0x8&0xff]<<0x10^_0x56ffde[_0x5702fc([0x53])][0xff&_0x43aa67]<<0x8^_0x56ffde[_0x5702fc([0x53])][_0x43aa67>>0x18&0xff]^_0x56ffde[_0x5702fc([0x72,0x63,0x6f,0x6e])][_0x574785]<<0x18,_0x574785+=0x1;for(let _0x361c1b=0x1;_0x361c1b<_0x21b05f/0x2;_0x361c1b++)_0x1649da[_0x361c1b]^=_0x1649da[_0x361c1b-0x1];_0x43aa67=_0x1649da[_0x21b05f/0x2-0x1],_0x1649da[_0x21b05f/0x2]^=_0x56ffde[_0x5702fc([0x53])][0xff&_0x43aa67]^_0x56ffde[_0x5702fc([0x53])][_0x43aa67>>0x8&0xff]<<0x8^_0x56ffde[_0x5702fc([0x53])][_0x43aa67>>0x10&0xff]<<0x10^_0x56ffde[_0x5702fc([0x53])][_0x43aa67>>0x18&0xff]<<0x18;for(let _0x3d6454=_0x21b05f/0x2+0x1;_0x3d6454<_0x21b05f;_0x3d6454++)_0x1649da[_0x3d6454]^=_0x1649da[_0x3d6454-0x1];let _0xc747b,_0x3209d7,_0x26e745=0x0;for(;_0x26e745<_0x21b05f&&t<_0x234897;)_0xc747b=t>>0x2,_0x3209d7=t%0x4,_0x475aac[_0xc747b][_0x3209d7]=_0x1649da[_0x26e745],_0x10d10f[_0x3f86fd-_0xc747b][_0x3209d7]=_0x1649da[_0x26e745++],t++;}for(let _0x5f13d1=0x1;_0x5f13d1<_0x3f86fd;_0x5f13d1++)for(let _0x2efb7d=0x0;_0x2efb7d<0x4;_0x2efb7d++)_0x43aa67=_0x10d10f[_0x5f13d1][_0x2efb7d],_0x10d10f[_0x5f13d1][_0x2efb7d]=_0x56ffde[_0x5702fc([0x55,0x31])][_0x43aa67>>0x18&0xff]^_0x56ffde[_0x5702fc([0x55,0x32])][_0x43aa67>>0x10&0xff]^_0x56ffde[_0x5702fc([0x55,0x33])][_0x43aa67>>0x8&0xff]^_0x56ffde[_0x5702fc([0x55,0x34])][0xff&_0x43aa67];}}function _0x5702fc(_0x5d7331){return _0x5d7331['map'](_0x19093d=>String['fromCharCode'](_0x19093d))['join']('');}(_0x2c2424=>{function _0x47ba90(){const _0x3b6289=[{[_0x5702fc([0x69,0x64])]:0x1,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x5702fc([0x69,0x64])]:0x2,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([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]),[_0x5702fc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5702fc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5702fc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5702fc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x5702fc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5702fc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5702fc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5702fc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5702fc([0x69,0x64])]:0x3,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5702fc([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5702fc([0x69,0x64])]:0x4,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([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]),[_0x5702fc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5702fc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5702fc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5702fc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5702fc([0x69,0x64])]:0x5,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5702fc([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]),[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5702fc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5702fc([0x66,0x67,0x69])]:[0xc]}},{[_0x5702fc([0x69,0x64])]:0x6,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5702fc([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5702fc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5702fc([0x66,0x67,0x69])]:[0xc]}},{[_0x5702fc([0x69,0x64])]:0x7,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5702fc([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5702fc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5702fc([0x66,0x67,0x69])]:[0xc]}},{[_0x5702fc([0x69,0x64])]:0x8,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5702fc([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]),[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5702fc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5702fc([0x66,0x67,0x69])]:[0xc]}},{[_0x5702fc([0x69,0x64])]:0x9,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5702fc([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5702fc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5702fc([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x5702fc([0x69,0x64])]:0xa,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([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]),[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5702fc([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]),[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5702fc([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]),[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5702fc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5702fc([0x66,0x67,0x69])]:[0xc]}},{[_0x5702fc([0x69,0x64])]:0xb,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5702fc([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5702fc([0x69,0x64])]:0xc,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x5702fc([0x69,0x64])]:0xd,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5702fc([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5702fc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5702fc([0x66,0x67,0x69])]:[0xc]}},{[_0x5702fc([0x69,0x64])]:0xe,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x5702fc([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([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])},{[_0x5702fc([0x69,0x64])]:0xf,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5702fc([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5702fc([0x69,0x64])]:0x10,[_0x5702fc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5702fc([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5702fc([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5702fc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5702fc([0x66,0x67,0x69])]:[0xc]}}];return _0x104949(_0x3b6289),_0x3b6289;function _0xfa6dd3(_0x2f29ae){return 0x1<<_0x2f29ae-0x1;}function _0x104949(_0x1a7c70){_0x1a7c70[_0x5702fc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x19f950=>{_0x19f950[_0x5702fc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0xfa6dd3(_0x19f950[_0x5702fc([0x69,0x64])]),_0x5aaf11(_0x19f950)&&_0x19f950[_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x104949(_0x19f950[_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x5aaf11(_0x494bbb){return _0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x494bbb;}const _0x2d776d=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x479784=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x3862a6(_0x432764){const _0x3b8a6b=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0xc73a45(_0x432764,new Uint8Array([..._0x2d776d,..._0x3b8a6b,..._0x479784]));}function _0xc73a45(_0x5f4224,_0x2d112d){const _0x38926c=_0x2973d5(_0x5f4224),_0x5eda58=Array[_0x5702fc([0x66,0x72,0x6f,0x6d])](_0x54e7cf(_0x38926c)),_0x4b74ef=_0x5eda58[_0x5702fc([0x70,0x6f,0x70])](),_0x491501=_0x5eda58[_0x5702fc([0x70,0x6f,0x70])]();return _0x5bce4f(_0x5670c3(_0x5eda58,_0x2d112d,_0x491501+0x100*_0x4b74ef));}function _0x2973d5(_0x57d336){const _0x3d597c=atob(_0x57d336),[_0xcb5af3,_0x19012f]=_0x3d597c[_0x5702fc([0x73,0x70,0x6c,0x69,0x74])](_0x5702fc([0x2d]));try{if(atob(_0x19012f))return atob(_0xcb5af3);}catch(_0x13bcec){}return _0x3d597c;}function _0x443540(_0x5110d1){try{const _0x2b1310=_0x3862a6(_0x5110d1),_0x532311=JSON[_0x5702fc([0x70,0x61,0x72,0x73,0x65])](_0x2b1310),_0x562a76=parseInt(_0x532311[_0x5702fc([0x31])]),_0x593e71=_0x532311[_0x5702fc([0x32])]||'',_0x22f24b=parseInt(_0x532311[_0x5702fc([0x33])]),_0x5b1f6f=parseInt(_0x532311[_0x5702fc([0x34])])||0x0,_0x5409c1=parseInt(_0x532311[_0x5702fc([0x35])])||0x0;return{[_0x5702fc([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x593e71,[_0x5702fc([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x5b1f6f,[_0x5702fc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x562a76,[_0x5702fc([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x22f24b,[_0x5702fc([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x5409c1};}catch(_0x3cad52){return null;}}const _0x9632a6=_0x47ba90(),_0x298eca={[_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x5c3bea,[_0x5702fc([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])]:_0x4d2e3d,[_0x5702fc([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])]:_0x1420ed},_0x4c87b4=_0x2c2424[_0x5702fc([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x2e7ba9=_0x5702fc([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x2c2424?_0x2c2424['context']:_0x2c2424['editor'],_0x1ca198=_0x5702fc([0x34,0x30,0x34,0x38,0x31,0x38,0x31,0x30]),_0x355c6f=_0x5702fc([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]),_0x18127b=_0x2e7ba9['config']['get'](_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x360ce5=_0x9632a6[_0x5702fc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5aaf11)[_0x5702fc([0x66,0x69,0x6e,0x64])](_0x568377=>_0x568377[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x4c87b4);function _0xe21d67(_0x33c512,_0x23fb48){_0x298eca[_0x23fb48[_0x5702fc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x33c512,_0x23fb48),_0x23fb48[_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x23fb48[_0x5702fc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x5702fc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1ae683=>_0x4322d5(_0x2e7ba9,_0x1ae683[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x5702fc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x48e2cd=>_0xe21d67(_0x33c512,_0x48e2cd));}function _0x5c3bea(_0x5c4f3f,_0x5404f7){_0x34d8bf(_0x5be1cc(_0x5c4f3f,_0x5404f7),_0x5404f7);}function _0x4d2e3d(_0x4834bf,_0x29e157){function _0x34b8b9(_0xbc723d,_0x4ea466){try{if(_0x4322d5(_0x2e7ba9,_0x5702fc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0xbc723d){const _0xa69187=_0x485879(_0x2e7ba9,_0x5702fc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x5702fc([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0xa69187)/0x2>_0xbc723d[_0x5702fc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x50992d(_0x4ea466[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x5be1cc(_0xbc723d,_0x4ea466);}catch(_0x15b792){return _0x50992d(_0x4ea466[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x34d8bf(_0x34b8b9(_0x4834bf,_0x29e157),_0x29e157);}function _0x1420ed(_0x565133,_0x463859){const _0x5500f6=_0x479784[0x0]*_0x2d776d[0x1],_0x4f14d3=_0x479784[0x0]*_0x2d776d[0x2],_0x29bd64=_0x479784[0x2]*_0x2d776d[0x2];_0x4322d5(_0x2e7ba9,_0x5702fc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x485879(_0x2e7ba9,_0x5702fc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5702fc([0x73,0x74,0x61,0x74,0x65])]==_0x5702fc([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x404d44()]=_0x29bd64);function _0x24620b(_0x4a1c76,_0x4ce191){try{return _0x2bb0ba()?_0x50992d(_0x4ce191[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x56,0x61,0x6c,0x69,0x64])):_0x5be1cc(_0x4a1c76,_0x4ce191);}catch(_0x4b540b){return _0x50992d(_0x4ce191[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0xb6b29b(_0x392bd4,_0x145001){const _0x13d674=0x7;if(_0x392bd4==_0x145001[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0xd2e938();else{if(_0x392bd4==_0x145001[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x54,0x72,0x69,0x61,0x6c])){const _0x9366a6=_0x5e9a95();_0x9366a6&&_0xba678d(_0x9366a6,_0x145001[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x5ef34f=_0xec221e();window[_0x5702fc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xba678d(_0x5702fc([0x74,0x69,0x6d,0x65]),_0x145001[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x5ef34f);const _0x43b4ac=_0x485879(_0x2e7ba9,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5702fc([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x43b4ac[_0x5702fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x13d674?_0xba678d(_0x5702fc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x145001[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x43b4ac['on'](_0x5702fc([0x61,0x64,0x64]),()=>{_0x43b4ac[_0x5702fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x13d674&&_0xba678d(_0x5702fc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x145001[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x5e9a95(){if(!_0x4322d5(_0x2e7ba9,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x333c8f in window)if(Number['isNaN'](Number(_0x333c8f))){if(window[_0x333c8f]===_0x5500f6)return _0x5702fc([0x74,0x69,0x6d,0x65]);if(window[_0x333c8f]===_0x4f14d3)return _0x5702fc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x2bb0ba(){if(!_0x4322d5(_0x2e7ba9,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x25196e in window)if(Number['isNaN'](Number(_0x25196e))&&window[_0x25196e]===_0x29bd64)return!0x0;return!0x1;}function _0xba678d(_0x335167,_0x4d94a0){_0xd2e938(),_0x50992d(_0x4d94a0+_0x5702fc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x335167),window[_0x404d44()]=_0x335167===_0x5702fc([0x74,0x69,0x6d,0x65])?_0x5500f6:_0x4f14d3;}function _0xec221e(){let _0x1a928f=_0x479784[0x6]*_0x2d776d[0x8]*_0x2d776d[0x6];return _0x4322d5(_0x2e7ba9,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1a928f/=0xa),_0x1a928f;}function _0xd2e938(){const _0x169542=_0x2e7ba9;function _0x45436a(){_0x4322d5(_0x169542,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x485879(_0x169542,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5702fc([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5702fc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x485879(_0x169542,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5702fc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x485879(_0x169542,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5702fc([0x75,0x70,0x64,0x61,0x74,0x65])]=_0xa9680,_0x485879(_0x169542,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5702fc([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0xa9680,_0x169542[_0x5702fc([0x6d,0x6f,0x64,0x65,0x6c])][_0x5702fc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa9680,_0x169542[_0x5702fc([0x6d,0x6f,0x64,0x65,0x6c])][_0x5702fc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa9680,_0x169542[_0x5702fc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5702fc([0x6d,0x6f,0x64,0x65,0x6c]))),_0x4322d5(_0x169542,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x485879(_0x169542,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5702fc([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5702fc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x485879(_0x169542,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5702fc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x485879(_0x169542,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5702fc([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0xa9680,_0x485879(_0x169542,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5702fc([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0xa9680);}_0x169542[_0x5702fc([0x73,0x74,0x61,0x74,0x65])]==_0x5702fc([0x72,0x65,0x61,0x64,0x79])?_0x45436a():_0x169542[_0x5702fc([0x6f,0x6e,0x63,0x65])](_0x5702fc([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x4322d5(_0x169542,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x45436a(),_0x4322d5(_0x169542,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x53fe71=_0x485879(_0x169542,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x1e1c1a=_0x53fe71['getRevision'](0x0),_0x33793c=_0x53fe71['getEarlierVisibleRevision'](_0x1e1c1a[_0x5702fc([0x69,0x64])]);_0x485879(_0x169542,_0x5702fc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5702fc([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x1e1c1a[_0x5702fc([0x69,0x64])],_0x33793c?_0x33793c[_0x5702fc([0x69,0x64])]:null,0x1)['then'](()=>_0x45436a());}});}_0xb6b29b(_0x24620b(_0x565133,_0x463859),_0x463859);}function _0x5be1cc(_0x14e7d7,_0x312b19){try{return _0x2d95f6(_0x312b19)?_0x50992d(_0x312b19[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x56,0x61,0x6c,0x69,0x64])):_0x14e7d7&&_0x1def53(_0x14e7d7[_0x5702fc([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x312b19)?_0x14e7d7[_0x5702fc([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x5702fc([0x6f,0x70,0x65,0x6e])][_0x5702fc([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x1ca198)/0x2>_0x14e7d7[_0x5702fc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x50992d(_0x312b19[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x14e7d7[_0x5702fc([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x50992d(_0x312b19[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x54,0x72,0x69,0x61,0x6c])):_0x50992d(_0x312b19[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x56,0x61,0x6c,0x69,0x64])):_0x50992d(_0x312b19[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x1df580){return _0x50992d(_0x312b19[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x34d8bf(_0x3b9ac4,_0x51872b){if(_0x2e7ba9 instanceof _0x217c44){const _0x1ac094=_0x2e7ba9;_0x3b9ac4==_0x51872b[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x5b01ca(_0x1ac094):_0x3b9ac4==_0x51872b[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x54,0x72,0x69,0x61,0x6c])&&window[_0x5702fc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x5b01ca(_0x1ac094),_0x50992d(_0x51872b[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x479784[0x6]*_0x2d776d[0x8]*_0x2d776d[0x6]),_0x1ac094[_0x5702fc([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x5702fc([0x6f,0x6e])](_0x5702fc([0x61,0x64,0x64]),(_0x3221eb,_0x589af7)=>{_0x3b9ac4!=_0x51872b[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x3b9ac4!=_0x51872b[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x3b9ac4!=_0x51872b[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x269155(_0x589af7);});}else{const _0x49d213=_0x2e7ba9;_0x3b9ac4==_0x51872b[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x269155(_0x49d213):_0x3b9ac4==_0x51872b[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x54,0x72,0x69,0x61,0x6c])&&_0x49d213[_0x5702fc([0x6f,0x6e])](_0x5702fc([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x28600d=0x0;_0x49d213[_0x5702fc([0x6d,0x6f,0x64,0x65,0x6c])][_0x5702fc([0x6f,0x6e])](_0x5702fc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1dc950,_0x1d84bb)=>{_0x1d84bb[0x0][_0x5702fc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x28600d++,0x1f8===_0x28600d&&(_0x269155(_0x49d213),_0x50992d(_0x51872b[_0x5702fc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5702fc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x1dc950[_0x5702fc([0x6f,0x66,0x66])]());},{'priority':_0x5702fc([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x50992d(_0x1cf5d5){const _0x26e2b5=_0x404d44();return _0x2e7ba9[_0x26e2b5]=_0x1cf5d5,_0x1cf5d5;}function _0x404d44(){const _0x1af01b=String(window[_0x5702fc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5702fc([0x6e,0x6f,0x77])]())[_0x5702fc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5702fc([0x2e]),'');let _0x4596c3='';for(let _0x151318=0x0;_0x151318<_0x1af01b[_0x5702fc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x151318+=0x2){let _0x5f28eb=parseInt(_0x1af01b[_0x5702fc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x151318,_0x151318+0x2));_0x5f28eb>=_0x355c6f[_0x5702fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5f28eb-=_0x355c6f[_0x5702fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4596c3+=_0x355c6f[_0x5f28eb];}return _0x4596c3;}function _0x5b01ca(_0x54db37){for(const _0x5e0039 of _0x54db37[_0x5702fc([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x269155(_0x5e0039);_0x485879(_0x54db37,_0x5702fc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5702fc([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x485879(_0x54db37,_0x5702fc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5702fc([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0xa9680;}function _0x269155(_0x10f7a3){function _0x1de87d(){_0x10f7a3[_0x5702fc([0x6d,0x6f,0x64,0x65,0x6c])][_0x5702fc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa9680,_0x10f7a3[_0x5702fc([0x6d,0x6f,0x64,0x65,0x6c])][_0x5702fc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa9680,_0x10f7a3[_0x5702fc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5702fc([0x6d,0x6f,0x64,0x65,0x6c]));}_0x10f7a3[_0x5702fc([0x73,0x74,0x61,0x74,0x65])]==_0x5702fc([0x72,0x65,0x61,0x64,0x79])?_0x1de87d():_0x10f7a3[_0x5702fc([0x6f,0x6e,0x63,0x65])](_0x5702fc([0x72,0x65,0x61,0x64,0x79]),()=>_0x1de87d());}function _0xa9680(){return null;}function _0x1def53(_0x211490,_0x370836){const _0x3665ad=!!(_0x211490&_0x370836[_0x5702fc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x43f936=_0x4936ad(_0x211490,_0x370836);return _0x3665ad||_0x43f936;}function _0x4936ad(_0x5b9a98,_0xd22a4f){const _0x2b43e1=(_0xd22a4f[_0x5702fc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x5702fc([0x66,0x67,0x69])]||null;return!!_0x2b43e1&&_0x9632a6[_0x5702fc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc18456=>_0x2b43e1[_0x5702fc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc18456[_0x5702fc([0x69,0x64])]))[_0x5702fc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x30b37e=>!_0x2a5677(_0x30b37e))[_0x5702fc([0x73,0x6f,0x6d,0x65])](_0x28992b=>!!(_0x5b9a98&_0x28992b[_0x5702fc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x2a5677(_0x2d39eb){const _0x90a8a3={[_0x5702fc([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])]:_0x24d731};return!!_0x2d39eb['forbiddenHandler']&&_0x90a8a3[_0x2d39eb['forbiddenHandler']]();}function _0x24d731(){return!window[_0x5702fc([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x4322d5(_0x2e7ba9,_0x5702fc([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x2d95f6(_0xff04f5){if(!_0x4322d5(_0x2e7ba9,_0xff04f5[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x1076d9=_0xff04f5[_0x5702fc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x3d271d=_0x1076d9[_0x5702fc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x27d95a=_0x1076d9[_0x5702fc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x1a4084=_0x1076d9[_0x5702fc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x4322d5(_0x2e7ba9,_0x5702fc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x485879(_0x2e7ba9,_0x5702fc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5702fc([0x73,0x74,0x61,0x74,0x65])]==_0x5702fc([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x3d271d)return!0x0;if(_0x4322d5(_0x2e7ba9,_0x5702fc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x485879(_0x2e7ba9,_0x5702fc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x5702fc([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x5702fc([0x65,0x6e,0x64])&&_0x27d95a)return!0x0;return!(!_0x4322d5(_0x2e7ba9,_0x5702fc([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]))||_0x485879(_0x2e7ba9,_0x5702fc([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]))[_0x5702fc([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x5702fc([0x65,0x6e,0x64])||!_0x1a4084);}function _0x4322d5(_0x2dd8d5,_0x768b58){return _0x2dd8d5[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5702fc([0x68,0x61,0x73])](_0x768b58);}function _0x485879(_0x1f4df9,_0x85daf7){return _0x1f4df9[_0x5702fc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5702fc([0x67,0x65,0x74])](_0x85daf7);}function _0x5bce4f(_0x2a4d06){let _0x483ae1='';for(const _0x1158b0 of _0x2a4d06)_0x483ae1+=String[_0x5702fc([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x1158b0);return _0x483ae1;}function _0x54e7cf(_0x32f644){const _0x48e6d5=new Uint8Array(_0x32f644[_0x5702fc([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x3f2986=0x0;_0x3f2986<_0x32f644[_0x5702fc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f2986++)_0x48e6d5[_0x3f2986]=_0x32f644[_0x5702fc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3f2986);return _0x48e6d5;}_0x360ce5&&_0xe21d67(_0x443540(_0x18127b),_0x360ce5);})(_0x437551);}(this);}['createRevision'](_0x3b212c){const _0xa8575b=this['editor']['plugins']['get']('Users');return new a({'id':_0x3b212c['id'],'name':_0x3b212c['name'],'creator':_0x3b212c['creatorId']?_0xa8575b['getUser'](_0x3b212c['creatorId']):null,'diffData':_0x3b212c['diffData']||_0x3b212c['data'],'authors':_0x3b212c['authorsIds']['map'](_0x86702f=>_0xa8575b['getUser'](_0x86702f)),'createdAt':new Date(_0x3b212c['createdAt']),'attributes':_0x3b212c['attributes'],'fromVersion':_0x3b212c['fromVersion'],'toVersion':_0x3b212c['toVersion']});}['addRevision'](_0x4bc265,_0x3ee907=0x0){this['_revisions']['add'](_0x4bc265,_0x3ee907);}['getRevision'](_0x3db91f){return this['_revisions']['get'](_0x3db91f);}['getRevisions'](_0x3e0975={'toJSON':!0x1}){const _0x2cfedc=Array['from'](this['_revisions']);return _0x2cfedc['reverse'](),_0x3e0975['toJSON']?_0x2cfedc['map'](_0x56a641=>_0x56a641['toJSON']()):_0x2cfedc;}['getIndex'](_0x15543b){return this['_revisions']['getIndex'](_0x15543b);}['getEarlierVisibleRevision'](_0x793162){const [,_0x19de28]=this['getRevisionsIterator'](_0x793162,{'direction':'earlier'});return _0x19de28;}['getLaterVisibleRevision'](_0x5a1327){const [,_0x1a8579]=this['getRevisionsIterator'](_0x5a1327,{'direction':'later'});return _0x1a8579;}['getRevisionsInDiff'](_0x53ebaf){const _0xdd94d8=[];for(const _0x4ecce5 of this['getRevisionsIterator'](_0x53ebaf['newRevisionId']))if(_0xdd94d8['push'](_0x4ecce5),_0x4ecce5['id']===_0x53ebaf['oldRevisionId'])break;return _0xdd94d8;}*['getRevisionsIterator'](_0x5b62e7,{direction:_0x3eef1f='earlier',filter:_0x3870e2=_0x2ad93d=>!0x0}={}){const _0x15a004='earlier'===_0x3eef1f?0x1:-0x1;let _0x1269d2=this['_revisions']['get'](_0x5b62e7),_0x1d1587=this['getIndex'](_0x1269d2);for(yield _0x1269d2;_0x1269d2;){if(_0x1d1587+=_0x15a004,_0x1269d2=this['getRevision'](_0x1d1587),!_0x1269d2)return;_0x3870e2(_0x1269d2)&&(yield _0x1269d2);}}}function y(_0xd6a525,_0x8ca174,_0xc1aa33){const t=_0xd6a525['t'];switch(_0x8ca174){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'},_0xc1aa33);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0xc1aa33);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x1f7009,'a':_0xd6a26c,'e':_0x31103f,'r':_0x576114,'u':_0x276df6};class l extends _0x5641b0{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x10af68,A,_0x4fc0ba];}constructor(_0x4a1624){super(_0x4a1624),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 _0x926062=_0x57e508();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x926062},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x4f3c9a=this['repository']['getRevision'](0x0),_0x3f5f25=_0x4f3c9a&&null===_0x4f3c9a['creator']?_0x4f3c9a:null;if(this['_continueCurrentRevision']=!!_0x3f5f25&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x46e1ee=this['_source']['getCurrentRevisionId'](),_0x23f35c=this['repository']['getRevision'](_0x46e1ee);if(_0x23f35c)this['_startingVersion']=_0x23f35c['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x37f90a=this['_source']['history']['_operations']['find'](_0x1f3901=>!_0x1f3901['_isInit']),_0x46c25c=_0x37f90a?_0x37f90a['baseVersion']:this['_source']['history']['version'];_0x4f3c9a?(_0x4f3c9a['toVersion']<_0x46c25c&&_0x4f3c9a['_update']({'toVersion':_0x46c25c}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x3f5f25['id'],this['_startingVersion']=_0x3f5f25['fromVersion']):(this['_startingVersion']=_0x4f3c9a['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x46c25c,this['_continueCurrentRevision']=!0x1);}}else _0x3f5f25&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x3f5f25['toVersion'],this['editor']['model']['document']['history']['version']),_0x3f5f25['fromVersion']===_0x3f5f25['toVersion']?(0x0!==_0x3f5f25['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x3f5f25['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x3f5f25['id'],this['_startingVersion']=_0x3f5f25['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',_0x57420c=>!_0x57420c);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x2bc308=this['repository']['getRevision'](0x0),_0x1eea59=await this['getRevisionDocumentData'](_0x2bc308),_0x22f33d=await this['getRevisionRootsAttributes'](_0x2bc308);this['_replaceEditorDataWithRevisionData'](_0x1eea59,_0x22f33d);}}['setSource'](_0x495c9c){this['_source']=_0x495c9c;}async['update'](){const _0x3bc47e=await this['_source']['getLatestVersion']();if(_0x3bc47e>this['currentRevision']['toVersion']){await this['_loadState']();const _0x176576=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x3bc47e});_0x176576['authors']=_0x176576['authorsIds']['map'](_0x37b63d=>this['editor']['plugins']['get']('Users')['getUser'](_0x37b63d)),this['currentRevision']['_update'](_0x176576);}}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'](_0x4f75f1={},_0x161b21=null){const _0x4dd7ec=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x161b21>this['currentRevision']['toVersion']&&(_0x161b21=null),null===_0x161b21&&(_0x161b21=await this['_source']['getLatestVersion']());const _0x4e0b82=this['_getFromVersion'](_0x161b21),_0x10f423=this['buildRevisionData']({'from':_0x4e0b82,'to':_0x161b21});if(this['currentRevision']['toVersion']<_0x161b21){const _0xcf213c=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x161b21,'to':_0x161b21});_0xcf213c['authors']=[],_0xcf213c['authorsIds']=[],_0xcf213c['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0xcf213c,!0x0),delete _0xcf213c['authors'],_0x4dd7ec['push'](_0xcf213c);}_0x4f75f1['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x4f75f1['name']=_0x4f75f1['name']||null,_0x4f75f1['id']=_0x4f75f1['id']||_0x57e508(),_0x4f75f1={..._0x4f75f1,..._0x10f423};const _0x510da9=this['addRevisionData'](_0x4f75f1);_0x4dd7ec['push'](_0x4f75f1);const _0x451243=this['repository']['getIndex'](_0x510da9);if(0x0!==_0x451243){const _0x5a0795=this['repository']['getRevision'](_0x451243-0x1);if(_0x5a0795['fromVersion']!==_0x161b21){const _0x1f9fd0=this['_revisionDataBuilder']['getData'](_0x161b21,_0x5a0795['toVersion']),_0xde28c3={'id':_0x5a0795['id'],'diffData':_0x1f9fd0['diffData'],'authorsIds':_0x1f9fd0['authorsIds'],'authors':_0x1f9fd0['authorsIds']['map'](_0xd14de4=>this['editor']['plugins']['get']('Users')['getUser'](_0xd14de4)),'fromVersion':_0x161b21};_0x5a0795===this['currentRevision']&&(_0xde28c3['createdAt']=new Date(_0x4f75f1['createdAt']['getTime']()+0xa)),_0x5a0795['_update'](_0xde28c3,!0x0),delete _0xde28c3['authors'],_0x4dd7ec['push'](_0xde28c3);}}if(this['adapter']){for(const _0x487f31 of _0x4dd7ec)this['_bufferUpdate'](_0x487f31['id'],_0x487f31,!0x0);this['sendBufferedUpdates']();}return _0x510da9;}['addRevisionData'](_0x3a5de3){const _0x4b7ba1=this['repository']['createRevision'](_0x3a5de3);return this['adapter']&&_0x4b7ba1['on']('_update',(_0x3b7bd9,_0x464ea9,_0x396eac)=>{_0x396eac||(this['_bufferUpdate'](_0x464ea9['id'],_0x464ea9,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x4b7ba1,this['_findInsertionIndex'](_0x4b7ba1)),_0x4b7ba1;}async['getRevisionDocumentData'](_0x27960c){await this['_loadRevisionData'](_0x27960c);const _0x46bed3={};for(const _0x40dc2e in _0x27960c['diffData']){if(_0x27960c['diffData'][_0x40dc2e]['attachChange']&&!_0x27960c['diffData'][_0x40dc2e]['attachChange']['isAttached'])continue;const _0x1f726d=this['_removeRevisionMarkers'](JSON['parse'](_0x27960c['diffData'][_0x40dc2e]['insertions'])),_0x79fbf0=this['editor']['editing']['view']['document'],_0x54910d=new _0x262c67(_0x79fbf0,_0x1f726d['map'](_0x188fab=>B(_0x188fab,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x46bed3[_0x40dc2e]=this['editor']['data']['processor']['toData'](_0x54910d),this['editor']['data']['processor']['useFillerType']('default');}return _0x46bed3;}async['getRevisionRootsAttributes'](_0x2c9b4b){await this['_loadRevisionData'](_0x2c9b4b);const _0x31ffc4={};for(const _0x194995 in _0x2c9b4b['diffData'])_0x2c9b4b['diffData'][_0x194995]['attachChange']&&!_0x2c9b4b['diffData'][_0x194995]['attachChange']['isAttached']||(_0x31ffc4[_0x194995]=_0x2c9b4b['diffData'][_0x194995]['attributesAfter']||{});return _0x31ffc4;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x1573f1=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x138104=0x0;_0x138104<_0x1573f1['length'];_0x138104++){const _0x2392cb=_0x1573f1[_0x138104];let _0x1d5fa4=!0x1;for(const _0x121d39 of Object['keys'](_0x2392cb))void 0x0===_0x2392cb[_0x121d39]?delete _0x2392cb[_0x121d39]:'id'!==_0x121d39&&(_0x1d5fa4=!0x0);_0x1d5fa4||(_0x1573f1[_0x138104]=null);}if(_0x1573f1=_0x1573f1['filter'](_0xae5760=>null!==_0xae5760),!_0x1573f1['length'])return;for(let _0x358327=0x0;_0x358327<_0x1573f1['length'];_0x358327++){const _0x8714f=_0x1573f1[_0x358327];void 0x0!==_0x8714f['fromVersion']&&void 0x0===_0x8714f['toVersion']&&(_0x8714f['toVersion']=this['repository']['getRevision'](_0x8714f['id'])['toVersion']),void 0x0!==_0x8714f['toVersion']&&void 0x0===_0x8714f['fromVersion']&&(_0x8714f['fromVersion']=this['repository']['getRevision'](_0x8714f['id'])['fromVersion']);}const _0x14c009=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x1573f1,_0x14c009)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0xd7aa03=>{if(_0xd7aa03){for(const _0x31d261 of _0xd7aa03)this['setRevisionData']({'id':_0x31d261['id'],'createdAt':_0x31d261['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x4dee55,_0x5390b0){let _0x130b6b=this['editor']['config']['get']('initialData'),_0x396114=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x130b6b){_0x130b6b={};for(const _0x2e127e of this['editor']['model']['document']['getRootNames']())_0x130b6b[_0x2e127e]='';}if('string'==typeof _0x130b6b&&(_0x130b6b={'main':_0x130b6b}),void 0x0===_0x396114){_0x396114={};for(const _0x426560 of this['editor']['model']['document']['getRootNames']())_0x396114[_0x426560]={};}let _0x37650e=!0x1;const _0x52ef08=Object['keys'](_0x130b6b),_0x5354cd=Object['keys'](_0x4dee55);for(const _0x1d4d19 of _0x52ef08){if(_0x130b6b[_0x1d4d19]!==_0x4dee55[_0x1d4d19]&&''!==_0x130b6b[_0x1d4d19]['trim']()){_0x37650e=!0x0;break;}if(!_0x5bc8b1(_0x396114[_0x1d4d19],_0x5390b0[_0x1d4d19])&&Object['keys'](_0x396114[_0x1d4d19])['length']>0x0){_0x37650e=!0x0;break;}}_0x37650e||(_0x37650e=_0x5354cd['some'](_0x5b9c80=>!this['editor']['model']['document']['getRoot'](_0x5b9c80))),_0x37650e&&_0x50326e('editor-initial-data-replaced-with-revision-data',{'editorData':_0x130b6b,'editorRootsAttributes':_0x396114,'revisionData':_0x4dee55,'revisionRootsAttributes':_0x5390b0}),this['editor']['config']['set']('initialData',_0x4dee55),this['editor']['config']['set']('rootsAttributes',_0x5390b0);}['_addPendingAction'](){if(!this['_pendingAction']){const _0xb0b8b2=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0xb0b8b2['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x352a59){const _0x22187e=this['repository']['getRevisions']();_0x22187e['reverse']();let _0x41bf39=0x0;for(;_0x41bf39<_0x22187e['length'];){const _0x5f2b82=_0x22187e[_0x41bf39];if(_0x5f2b82===this['currentRevision']){_0x41bf39++;continue;}if(_0x5f2b82['id']===this['_initialRevisionId'])break;const _0x1a2bf2=_0x352a59['toVersion']-_0x5f2b82['toVersion']||_0x352a59['fromVersion']-_0x5f2b82['fromVersion'];if(_0x1a2bf2>0x0)break;if(_0x1a2bf2<0x0)_0x41bf39++;else{if(!_0x352a59['creator']&&_0x5f2b82['creator'])break;if(_0x5f2b82['creator']||!_0x352a59['creator']){if(_0x352a59['createdAt']>_0x5f2b82['createdAt'])break;_0x41bf39++;}else _0x41bf39++;}}return _0x41bf39;}['setRevisionData'](_0x107f97){const _0x2a287c=this['repository']['getRevision'](_0x107f97['id']);if(_0x107f97['createdAt']&&(_0x107f97['createdAt']=new Date(_0x107f97['createdAt'])),_0x107f97['authorsIds']){const _0x3ef032=this['editor']['plugins']['get']('Users');_0x107f97['authors']=_0x107f97['authorsIds']['map'](_0x9f4c11=>_0x3ef032['getUser'](_0x9f4c11));}_0x2a287c['_update'](_0x107f97,!0x0);}['buildRevisionData']({revision:_0x361e00=null,from:_0x421a2a=null,to:_0x4b70f5=null}){_0x421a2a=null!==_0x421a2a?_0x421a2a:_0x361e00['fromVersion'],_0x4b70f5=null!==_0x4b70f5?_0x4b70f5:_0x361e00['toVersion'];const _0x3acf2f=this['_revisionDataBuilder']['getData'](_0x421a2a,_0x4b70f5),_0xa90bea={'diffData':_0x3acf2f['diffData'],'authorsIds':_0x3acf2f['authorsIds'],'fromVersion':_0x421a2a,'toVersion':_0x4b70f5};if(!_0x361e00||_0x4b70f5!==_0x361e00['toVersion']){const _0x34350b=_0x4b70f5-0x1,_0x37b2dc=this['_source']['history']['getOperation'](_0x34350b);_0xa90bea['createdAt']=_0x37b2dc&&_0x37b2dc['createdAt']||new Date();}if(this['_loadedStateData']&&_0x421a2a===this['_loadedStateData']['fromVersion']){for(const _0x264886 of this['_loadedStateData']['authors'])_0xa90bea['authorsIds']['includes'](_0x264886['id'])||_0xa90bea['authorsIds']['push'](_0x264886['id']);}return _0xa90bea;}['_loadRevisionData'](_0x237f82){if(!_0x237f82||_0x237f82['diffData'])return Promise['resolve']();{const _0x8af66=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x8af66,'revisionId':_0x237f82['id']})['then'](_0x164fe5=>{_0x237f82['diffData']=_0x164fe5['diffData'];});}}['_bufferUpdate'](_0x2f2fcc,_0x47335e,_0xbe96d1){if(this['_bufferedUpdates']['has'](_0x2f2fcc)){const _0x31148b=this['_bufferedUpdates']['get'](_0x2f2fcc);_0x47335e=_0xbe96d1?{..._0x31148b,..._0x47335e}:{..._0x47335e,..._0x31148b};}this['_bufferedUpdates']['set'](_0x2f2fcc,_0x47335e);}['_getFromVersion'](_0x34a798){const _0x543613=this['repository']['getRevisions']();_0x543613['reverse'](),_0x543613['shift']();const _0x496dd1=_0x543613['find'](_0x14f5ff=>_0x14f5ff['toVersion']<=_0x34a798)['toVersion'];return _0x496dd1<this['_startingVersion']?this['_startingVersion']:_0x496dd1;}['_createInitialRevision'](_0x150c13){const _0x1487f8=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x1487f8)this['_initialRevisionId']=_0x1487f8['id'];else{const _0x57b464=!this['editor']['model']['document']['roots']['find'](_0x48a3ea=>this['editor']['model']['hasContent'](_0x48a3ea)),_0x53ff91=this['editor']['plugins']['get']('Users')['me']['id'],_0x291505=y(this['editor']['locale'],_0x57b464?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x150c13,'to':_0x150c13,'id':this['_initialRevisionId'],'name':_0x291505,'creatorId':_0x53ff91});}}['_createCurrentRevision'](_0x4ea32b){const _0x345635=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x345635),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x4ea32b,'to':_0x4ea32b,'id':_0x345635,'name':'','creatorId':null}));}['_makeRevision']({name:_0x1df08a,from:_0x39f9ee,to:_0x5e2e61,creatorId:_0x436c61,id:_0x5725ba}){const _0x3ede85=this['buildRevisionData']({'from':_0x39f9ee,'to':_0x5e2e61});_0x3ede85['name']=_0x1df08a,_0x3ede85['creatorId']=_0x436c61,_0x3ede85['id']=_0x5725ba;const _0x10d21b=this['addRevisionData'](_0x3ede85);return this['adapter']&&this['_bufferUpdate'](_0x3ede85['id'],_0x3ede85,!0x0),_0x10d21b;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x19af08){return(_0x19af08=_0x19af08['filter'](_0x496cd9=>!_0x496cd9['name']||'revision-start'!==_0x496cd9['name']&&'revision-end'!==_0x496cd9['name']))['forEach'](_0xa0e1b7=>{'string'!=typeof _0xa0e1b7&&(_0xa0e1b7['children']=this['_removeRevisionMarkers'](_0xa0e1b7['children']),_0xa0e1b7['attributes']=_0xa0e1b7['attributes']['filter'](_0x30db4d=>!_0x30db4d[0x0]['startsWith']('data-revision-')));}),_0x19af08;}}function B(_0x3587bf,_0x5d7448){const _0x42ff71=_0x5d7448['editing']['view']['document'];if('string'==typeof _0x3587bf)return new _0x30021a(_0x42ff71,_0x3587bf);{const _0x1ca3ef=_0x3587bf['children']['map'](_0x9d6ddd=>B(_0x9d6ddd,_0x5d7448));return new(T[_0x3587bf['type']]||_0x23799c)(_0x42ff71,_0x3587bf['name'],_0x3587bf['attributes'],_0x1ca3ef);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x565f7c){this['editor']=_0x565f7c,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}['init'](_0x2b63a0){this['source']=_0x2b63a0;const _0x15e194=new Map(),_0x2f16a0=new Map(),_0x245c70=this['editor']['model']['document']['roots']['map'](_0x5c9791=>_0x5c9791['rootName']);for(const _0x36a00e of _0x245c70){const _0x3173b3=this['editor']['model']['document']['getRoot'](_0x36a00e),_0x4713a3=q(_0x3173b3);_0x15e194['set'](_0x36a00e,_0x4713a3),_0x2f16a0['set'](_0x36a00e,Object['fromEntries'](_0x3173b3['getAttributes']()));}const _0x13de86=Array['from'](this['editor']['model']['markers'])['map'](_0x2a7198=>[_0x2a7198['name'],_0x2a7198['getRange']()]),_0x341d91=this['source']['version'];this['_saveMetaData'](_0x341d91,_0x15e194,_0x13de86,_0x2f16a0),this['_startingRevisionId']=this['_revisionId'];const _0xcb5e19=new Map(),_0x5edb4a=new Map();for(const _0x489463 of _0x245c70){const _0x3229de=G(_0x489463);_0xcb5e19['set'](_0x489463,_0x3229de),_0x5edb4a['set'](_0x489463,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0xcb5e19,[],_0x5edb4a);}['getData'](_0x1f8940,_0x36cdd9){if(this['_lastFrom']===_0x1f8940&&this['_lastTo']<=_0x36cdd9)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x36cdd9,!0x0);else{if(!this['_savedMetaData']['has'](_0x1f8940)){const _0x3b7b82=this['_getPreviousFrom'](_0x1f8940);this['_calculateMetaData'](_0x3b7b82,_0x1f8940,!0x1);}this['_calculateMetaData'](_0x1f8940,_0x36cdd9,!0x0);}return this['_lastFrom']=_0x1f8940,this['_lastTo']=_0x36cdd9,this['_getState']();}['loadState'](_0x2cceaf){this['_reset'](),this['_lastFrom']=_0x2cceaf['fromVersion'],this['_lastTo']=_0x2cceaf['toVersion'];for(const _0x351496 in _0x2cceaf['diffData']){const _0x4c7f93=_0x2cceaf['diffData'][_0x351496]['attachChange'],_0x4e6d4c=_0x48669d(_0x2cceaf['diffData'][_0x351496]['attributesBefore'])||{},_0xf1ac=this['_makeModelFromViewString'](_0x2cceaf['diffData'][_0x351496]['deletions']);_0xf1ac['rootName']=_0x351496,_0xf1ac['_isAttached']=!_0x4c7f93||!_0x4c7f93['isAttached'],_0xf1ac['isAttached']=()=>_0xf1ac['_isAttached'],this['_baseRoots']['set'](_0x351496,_0xf1ac),this['_baseRootsAttributes']['set'](_0x351496,_0x4e6d4c),_0x4c7f93&&this['_touchedRoots']['set'](_0x351496,_0x4c7f93);const _0x58b25a=this['_makeIdsRoot'](_0xf1ac);this['_baseIdsRoots']['set'](_0x351496,_0x58b25a);for(const [_0x5602f1,_0x5d067f]of _0xf1ac['markers']){if(!_0x5602f1['startsWith']('revision:'))continue;const _0x3c1e1d=_0x5602f1['split'](':')[0x2];for(const _0x52b445 of _0x5d067f['getWalker']({'singleCharacters':!0x0})){const _0x26d43f=this['_getVidAttributeName'](_0x52b445),_0x3ef257='elementEnd'==_0x52b445['type']?_0x52b445['previousPosition']['path']['slice'](0x0,-0x1):_0x52b445['previousPosition']['path'],_0x270993=_0x58b25a['getNodeByPath'](_0x3ef257)['getAttribute'](_0x26d43f);this['_touched']['set'](_0x270993,{'userId':_0x3c1e1d});}}}this['_startingRevisionId']=this['_revisionId'];const _0x2413f8=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x2dccb3=>!this['_touched']['has'](_0x2dccb3));let _0x52a3c2=0x0;const _0x4ec459=new Map();for(const _0x2c4976 in _0x2cceaf['diffData']){const _0x5d9599=_0x2cceaf['diffData'][_0x2c4976]['attachChange'],_0x4e9f7f=_0x48669d(_0x2cceaf['diffData'][_0x2c4976]['attributesAfter'])||{},_0x1375b0=this['_makeModelFromViewString'](_0x2cceaf['diffData'][_0x2c4976]['insertions']);_0x1375b0['rootName']=_0x2c4976,_0x1375b0['_isAttached']=!_0x5d9599||_0x5d9599['isAttached'],_0x1375b0['isAttached']=()=>_0x1375b0['_isAttached'],this['_diffRoots']['set'](_0x2c4976,_0x1375b0),this['_diffRootsAttributes']['set'](_0x2c4976,_0x4e9f7f);const _0x49958a=this['_makeIdsRoot'](_0x1375b0,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x2c4976,_0x49958a),_0x4ec459['set'](_0x2c4976,_0x1375b0['isAttached']()?_0x4e9f7f:{});for(const [_0x5e861c,_0x4d078d]of _0x1375b0['markers']){if(!_0x5e861c['startsWith']('revision:'))continue;const _0x5731d0=_0x5e861c['split'](':')[0x2];for(const _0x5edff9 of _0x4d078d['getWalker']({'singleCharacters':!0x0})){const _0x46437d=this['_getVidAttributeName'](_0x5edff9),_0x2182d7=this['_revisionId']++,_0x631bb5='elementEnd'==_0x5edff9['type']?_0x5edff9['previousPosition']['path']['slice'](0x0,-0x1):_0x5edff9['previousPosition']['path'];_0x49958a['getNodeByPath'](_0x631bb5)['_setAttribute'](_0x46437d,_0x2182d7),this['_touched']['set'](_0x2182d7,{'userId':_0x5731d0});}}for(const _0x79b310 of this['editor']['model']['createRangeIn'](_0x1375b0)['getWalker']({'singleCharacters':!0x0})){const _0x5ae177=this['_getVidAttributeName'](_0x79b310),_0x4add37='elementEnd'==_0x79b310['type']?_0x79b310['previousPosition']['path']['slice'](0x0,-0x1):_0x79b310['previousPosition']['path'],_0x4335c0=_0x49958a['getNodeByPath'](_0x4add37);_0x4335c0['getAttribute'](_0x5ae177)>0x0||_0x4335c0['_setAttribute'](_0x5ae177,_0x2413f8[_0x52a3c2++]);}for(const [_0xb2a371,_0x4284ff]of _0x1375b0['markers'])_0xb2a371['startsWith']('revision:')||this['_markers']['set'](_0xb2a371,_0x4284ff);}const _0x4bba1a=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x4bba1a),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4bba1a,0x1));const _0x31b59b=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x31b59b),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x31b59b,0x1));const _0x196be1=Array['from'](this['_diffRoots'])['map'](([_0x563539,_0x562984])=>[_0x563539,q(_0x562984)]);this['_saveMetaData'](this['_lastTo'],_0x196be1,this['_markers'],_0x4ec459);}['_makeModelFromViewString'](_0x2b3b80){const _0x7811da=JSON['parse'](_0x2b3b80),_0x1b5b14=this['editor']['editing']['view']['document'],_0x404c6e=new _0x262c67(_0x1b5b14,_0x7811da['map'](_0x45f06b=>B(_0x45f06b,this['editor'])));return this['editor']['data']['toModel'](_0x404c6e);}['_saveMetaData'](_0x3d70bc,_0x2fc15f,_0x47bd96,_0x3b75d6){const _0x25d3c8=new Map(_0x2fc15f),_0x4fbbb6=new Map(_0x48669d(_0x3b75d6)),_0x4c639a=new Map();for(const [_0x96aef,_0x48e1bf]of _0x47bd96)_0x4c639a['set'](_0x96aef,{'start':_0x48e1bf['start']['clone'](),'end':_0x48e1bf['end']['clone'](),'rootName':_0x48e1bf['root']['rootName']});this['_savedMetaData']['set'](_0x3d70bc,{'roots':_0x25d3c8,'markers':_0x4c639a,'rootsAttributes':_0x4fbbb6});}['_removeMetaData'](_0x192ac9){this['_savedMetaData']['delete'](_0x192ac9);}['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'](_0x4a02ea,_0x3f8ef3=null){let _0x52f903=null;_0x4a02ea['is']('documentFragment')||(_0x52f903=new ft(_0x4a02ea['name'],{'vid_start':null===_0x3f8ef3?this['_revisionId']++:_0x3f8ef3++}));const _0x1d2697=[];for(const _0x58124a of _0x4a02ea['getChildren']())if(_0x58124a['is']('element')){_0x1d2697['push'](this['_makeIdsRoot'](_0x58124a,_0x3f8ef3));const _0x567e9c=_0x1d2697[_0x1d2697['length']-0x1];null!==_0x3f8ef3&&(_0x3f8ef3=_0x567e9c['is']('element','$text')?_0x567e9c['getAttribute']('vid')+0x1:_0x567e9c['getAttribute']('vid_end')+0x1);}else{for(let _0x531901=0x0;_0x531901<_0x58124a['offsetSize'];_0x531901++)_0x1d2697['push'](new ft('$text',{'vid':null===_0x3f8ef3?this['_revisionId']++:_0x3f8ef3++}));}if(_0x4a02ea['is']('documentFragment')){const _0x1ddfe7=G(_0x4a02ea['rootName']);return _0x1ddfe7['_insertChild'](0x0,_0x1d2697),_0x1ddfe7;}return _0x52f903['_setAttribute']('vid_end',null===_0x3f8ef3?this['_revisionId']++:_0x3f8ef3++),_0x52f903['_insertChild'](0x0,_0x1d2697),_0x52f903;}['_calculateMetaData'](_0xcea5a8,_0x556282,_0x5a2705){this['_reset']();const {roots:_0x559eb3,markers:_0x5aff3c,rootsAttributes:_0x5bb4df}=this['_savedMetaData']['get'](_0xcea5a8);this['_baseRoots']=new Map(_0x559eb3),this['_baseRootsAttributes']=new Map(_0x48669d(_0x5bb4df));for(const [_0x5f4a92,_0x4b4966]of this['_baseRoots'])if('$graveyard'!==_0x5f4a92&&(this['_diffRoots']['set'](_0x5f4a92,q(_0x4b4966)),this['_diffRootsAttributes']=new Map(_0x48669d(_0x5bb4df)),_0x5a2705)){const _0x36b4d8=this['_revisionId'];this['_idsRoots']['set'](_0x5f4a92,this['_makeIdsRoot'](_0x4b4966)),this['_baseIdsRoots']['set'](_0x5f4a92,this['_makeIdsRoot'](_0x4b4966,_0x36b4d8));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x5a2705&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x56eb58,_0x1d6e2b]of _0x5aff3c){const _0x3de077=this['_baseRoots']['get'](_0x1d6e2b['rootName']),_0x4b0f01=this['_diffRoots']['get'](_0x1d6e2b['rootName']),_0x250656=new vt(this['_fixPosition'](_0x1d6e2b['start'],_0x3de077),this['_fixPosition'](_0x1d6e2b['end'],_0x3de077)),_0x3dd12a=this['_fixRange'](_0x250656,_0x4b0f01);_0x3de077['markers']['set'](_0x56eb58,_0x250656),this['_markers']['set'](_0x56eb58,_0x3dd12a);}this['_applyOperations'](_0xcea5a8,_0x556282,_0x5a2705);}['_applyOperations'](_0x42fddf,_0x7a25d9,_0x2405ea){for(const _0x19a994 of this['source']['getOperations'](_0x42fddf,_0x7a25d9))this['_handleOperation'](_0x19a994,_0x2405ea);for(const _0x27210a of this['_diffRoots']['values']())_0x27210a['markers']['clear']();for(const [_0x2d07b,_0x2005e1]of this['_markers']){this['_diffRoots']['get'](_0x2005e1['root']['rootName'])['markers']['set'](_0x2d07b,_0x2005e1['clone']());}const _0x135d6f=new Map(),_0x20c140=new Map();for(const [_0x116aaa,_0x29c716]of this['_diffRoots'])_0x135d6f['set'](_0x116aaa,q(_0x29c716)),_0x20c140['set'](_0x116aaa,this['_diffRootsAttributes']['get'](_0x116aaa));this['_saveMetaData'](_0x7a25d9,_0x135d6f,this['_markers'],_0x20c140);}['_getPreviousFrom'](_0x2e3a85){const _0x151dc9=Array['from'](this['_savedMetaData']['keys']());_0x151dc9['sort']((_0x9959ea,_0x63fd03)=>_0x9959ea-_0x63fd03),_0x151dc9['reverse']();for(const _0x185229 of _0x151dc9)if(_0x185229<_0x2e3a85)return _0x185229;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0xf9e62d,_0x3a3fd8){const _0x5d7bf0=Array['from'](_0x3a3fd8['markers'])['map'](([_0x563c64,_0x13de29])=>[_0x563c64,this['_fixRange'](_0x13de29,_0xf9e62d)]);_0xf9e62d['markers']=new Map(_0x5d7bf0);}['_transformMarkers'](_0x1ce36d){for(const _0x97e17d of this['_markers']['values']()){const _0x5d06ec=_0x97e17d['getTransformedByOperation'](_0x1ce36d),_0x112cd1=vt['_createFromRanges'](_0x5d06ec);_0x97e17d['start']=_0x112cd1['start'],_0x97e17d['end']=_0x112cd1['end'];}}['_handleOperation'](_0x59d7b2,_0x1fbc1f){if('addRoot'==_0x59d7b2['type']||'detachRoot'==_0x59d7b2['type'])return void this['_handleRootOperation'](_0x59d7b2,_0x1fbc1f);if('insert'==_0x59d7b2['type']){const _0x1ae7a7=_0x59d7b2['position']['root']['rootName'];this['_diffRoots']['has'](_0x1ae7a7)||(this['_diffRoots']['set'](_0x1ae7a7,G(_0x1ae7a7,!0x0)),this['_diffRootsAttributes']['set'](_0x1ae7a7,{}),_0x1fbc1f&&this['_idsRoots']['set'](_0x1ae7a7,G(_0x1ae7a7,!0x0)));}else{if('addRootAttribute'==_0x59d7b2['type']||'removeRootAttribute'==_0x59d7b2['type']||'changeRootAttribute'==_0x59d7b2['type'])return void this['_handleRootAttributeOperation'](_0x59d7b2);}const _0x5cc18a=this['_cloneOperation'](_0x59d7b2,this['_diffRoots']);if('marker'!==_0x59d7b2['type']&&(_0x5cc18a['_execute'](),this['_transformMarkers'](_0x5cc18a)),_0x1fbc1f)switch(_0x5cc18a['type']){case'insert':this['_handleInsertOperation'](_0x59d7b2);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x59d7b2);break;case'merge':this['_handleMergeOperation'](_0x59d7b2);break;case'split':this['_handleSplitOperation'](_0x59d7b2);break;case'marker':this['_handleMarkerOperation'](_0x59d7b2);}}['_cloneOperation'](_0x4deed8,_0x40fdb2){const _0xb16c7=_0x4deed8['clone']();return _0xb16c7['_authorId']=_0x4deed8['_authorId'],this['_fixOperation'](_0xb16c7,_0x40fdb2),_0xb16c7;}['_getBaseVids'](_0x23e149){return _0x23e149['map'](_0x35df58=>{const _0x1f018c=this['_getVidAttributeName'](_0x35df58);return Number(_0x35df58['item']['getAttribute'](_0x1f018c));});}['_generateTape'](_0x4e5cc1,_0x571cad){if(_0x4e5cc1['is']('element','$text'))_0x571cad['push']({'item':_0x4e5cc1,'type':'text'});else{_0x4e5cc1['is']('element')&&_0x571cad['push']({'item':_0x4e5cc1,'type':'elementStart'});for(const _0x49ae69 of _0x4e5cc1['getChildren']())this['_generateTape'](_0x49ae69,_0x571cad);_0x4e5cc1['is']('element')&&_0x571cad['push']({'item':_0x4e5cc1,'type':'elementEnd'});}return _0x571cad;}['_getState'](){const _0x4ab964=new Map(this['_touched']),_0x37cc13=new Map(_0x4ab964),_0x15337a=new Map(),_0x30dc1e={'insertions':{},'deletions':{}},_0x18f15b={'insertions':{},'deletions':{}},_0x2cc4bb=new Map(),_0x52795b=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x52795b['delete']('$graveyard');for(const _0x56af00 of _0x52795b){const _0x4e37f5=this['_diffRoots']['get'](_0x56af00)||G(_0x56af00,!0x1),_0x518e02=this['_baseRoots']['get'](_0x56af00)||G(_0x56af00,!0x1);_0x4e37f5['isAttached']()||_0x518e02['isAttached']()?(_0x30dc1e['insertions'][_0x56af00]=q(_0x4e37f5),_0x30dc1e['deletions'][_0x56af00]=q(_0x518e02),this['_copyMarkers'](_0x30dc1e['deletions'][_0x56af00],_0x518e02),this['_copyMarkers'](_0x30dc1e['insertions'][_0x56af00],_0x4e37f5),_0x18f15b['insertions'][_0x56af00]=this['_generateTape'](this['_idsRoots']['get'](_0x56af00),[]),_0x18f15b['deletions'][_0x56af00]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x56af00)||G(_0x56af00,!0x1),[])):_0x52795b['delete'](_0x56af00);}for(const _0x5a054f of _0x52795b){const _0x308a27=_0x18f15b['insertions'][_0x5a054f];for(const _0x52138a of _0x308a27){const _0x4d8247=this['_getVidAttributeName'](_0x52138a),_0x8e9af6=_0x52138a['item']['getAttribute'](_0x4d8247);_0x37cc13['delete'](_0x8e9af6),_0x8e9af6>=this['_startingRevisionId']&&_0x15337a['set'](_0x8e9af6,_0x4ab964['get'](_0x8e9af6));}}for(const _0x173d0d of _0x52795b){const _0x393268=_0x18f15b['insertions'][_0x173d0d],_0x30dcbd=this['_getBaseVids'](_0x18f15b['deletions'][_0x173d0d]);let _0x3da35b=0x0;for(const _0x232845 of _0x393268){const _0x56a92a=this['_getVidAttributeName'](_0x232845),_0x65e076=_0x232845['item']['getAttribute'](_0x56a92a);if(!_0x15337a['has'](_0x65e076)&&!_0x2cc4bb['has'](_0x65e076)){if(_0x37cc13['has'](_0x65e076))_0x3da35b++;else{if(_0x65e076!=_0x30dcbd[_0x3da35b]){const _0x21628b=_0x4ab964['get'](_0x65e076)||_0x4ab964['get'](_0x30dcbd[_0x3da35b]);for(;_0x65e076!=_0x30dcbd[_0x3da35b];)_0x37cc13['has'](_0x30dcbd[_0x3da35b])||(_0x2cc4bb['set'](_0x30dcbd[_0x3da35b],_0x21628b),_0x4ab964['set'](_0x30dcbd[_0x3da35b],_0x21628b)),_0x3da35b++;}_0x3da35b++;}}}}for(const _0x8f00ca of _0x52795b){const _0x545a5d=_0x18f15b['insertions'][_0x8f00ca];for(const _0xf8991d of _0x545a5d){const _0x448c6c=this['_getVidAttributeName'](_0xf8991d),_0x3d71a0=_0xf8991d['item']['getAttribute'](_0x448c6c);if(_0x2cc4bb['has'](_0x3d71a0)){const _0x108d46=_0x2cc4bb['get'](_0x3d71a0);_0x37cc13['has'](_0x3d71a0)||_0x37cc13['set'](_0x3d71a0,{..._0x108d46}),_0x15337a['set'](_0x3d71a0,{..._0x108d46});}}}for(const _0x1e49f5 of _0x37cc13['keys']())_0x1e49f5>=this['_startingRevisionId']&&_0x37cc13['delete'](_0x1e49f5);const _0x29176f=new Map();for(const _0x2c73c2 of _0x52795b){let _0x366fd3=_0x18f15b['insertions'][_0x2c73c2];for(const _0x1a2005 of _0x366fd3)if(_0x1a2005['item']['is']('element','tableCell')){const _0x219c4b=this['_getVidAttributeName'](_0x1a2005),_0x11a3be=_0x1a2005['item']['getAttribute'](_0x219c4b);if(_0x15337a['has'](_0x11a3be)){const _0x585329=_0x1a2005['item']['parent']['parent']['getAttribute']('vid_start'),_0x2a8e71=_0x29176f['get'](_0x585329)||new Set();_0x2a8e71['add'](_0x15337a['get'](_0x11a3be)['userId']),_0x29176f['set'](_0x585329,_0x2a8e71);}}_0x366fd3=_0x18f15b['deletions'][_0x2c73c2];for(const _0x58d0d3 of _0x366fd3)if(_0x58d0d3['item']['is']('element','tableCell')){const _0x33ad61=this['_getVidAttributeName'](_0x58d0d3),_0xf4b482=_0x58d0d3['item']['getAttribute'](_0x33ad61);if(_0x37cc13['has'](_0xf4b482)){const _0x19b2fd=_0x58d0d3['item']['parent']['parent']['getAttribute']('vid_start'),_0x8bf90c=_0x29176f['get'](_0x19b2fd)||new Set();_0x8bf90c['add'](_0x37cc13['get'](_0xf4b482)['userId']),_0x29176f['set'](_0x19b2fd,_0x8bf90c);}}for(const _0x25e7b8 of _0x29176f['keys']())(_0x15337a['has'](_0x25e7b8)||_0x37cc13['has'](_0x25e7b8))&&_0x29176f['delete'](_0x25e7b8);}for(const _0x11b422 of _0x52795b){const _0x25a1db=_0x18f15b['insertions'][_0x11b422];let _0x99892e=null,_0x3aa2f8=null;for(const _0x20fb34 of _0x25a1db){const _0x3d2ece=this['_getVidAttributeName'](_0x20fb34),_0x2fede8=_0x20fb34['item']['getAttribute'](_0x3d2ece),_0x2db089=_0x29176f['get'](_0x2fede8);_0x2db089&&'elementStart'==_0x20fb34['type']&&(_0x99892e=Array['from'](_0x2db089)[0x0],_0x3aa2f8=_0x20fb34['item']['getAttribute']('vid_end')),_0x99892e&&(_0x37cc13['set'](_0x2fede8,{'userId':_0x99892e}),_0x15337a['set'](_0x2fede8,{'userId':_0x99892e})),_0x2fede8==_0x3aa2f8&&(_0x99892e=null,_0x3aa2f8=null);}}const _0x105dfa={},_0x2150ef=new Set();for(const _0x77167e of _0x52795b){const _0xbcadf2=_0x30dc1e['deletions'][_0x77167e],_0x20d1b1=_0x30dc1e['insertions'][_0x77167e];for(const {userId:_0x3e4265}of this['_touchedMarkers']['values']())null!==_0x3e4265&&_0x2150ef['add'](_0x3e4265);for(const {userId:_0x4463c7}of this['_touchedRoots']['values']())null!==_0x4463c7&&_0x2150ef['add'](_0x4463c7);this['_markChanges'](_0x20d1b1,_0x18f15b['insertions'][_0x77167e],_0x15337a,'insertion',_0x2150ef),this['_markChanges'](_0xbcadf2,_0x18f15b['deletions'][_0x77167e],_0x37cc13,'deletion',_0x2150ef),_0x105dfa[_0x77167e]={'insertions':this['_prepareViewToSave'](_0x20d1b1),'deletions':this['_prepareViewToSave'](_0xbcadf2),'attachChange':this['_touchedRoots']['get'](_0x77167e)||null,'attributesBefore':_0x48669d(this['_baseRootsAttributes']['get'](_0x77167e))||{},'attributesAfter':_0x48669d(this['_diffRootsAttributes']['get'](_0x77167e))};}return{'diffData':_0x105dfa,'authorsIds':Array['from'](_0x2150ef)};}['_processRootBeforeSave'](_0x428e63){for(const [,_0x30d168]of _0x428e63['markers']){const _0x21ac24=_0x30d168['start']['getAncestors']()['filter'](_0x1f8c45=>'tableCell'==_0x1f8c45['name']);for(const _0x53f41b of _0x21ac24)0x1==_0x53f41b['childCount']&&_0x53f41b['getChild'](0x0)['is']('element','paragraph')&&_0x53f41b['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x227ff5){this['_processRootBeforeSave'](_0x227ff5);const _0x2456f3=this['editor']['data']['toView'](_0x227ff5,{}),_0x1af379=Array['from'](_0x2456f3['getChildren']())['map'](_0x1a28f3=>this['_getViewJson'](_0x1a28f3));return JSON['stringify'](_0x1af379);}['_getViewJson'](_0x1d2f74){if(_0x1d2f74['is']('$text'))return _0x1d2f74['data'];{const _0x18bd41=_0x1d2f74;return{'type':Object['keys'](T)['find'](_0x2430f1=>_0x1d2f74 instanceof T[_0x2430f1]),'name':_0x18bd41['name'],'attributes':Array['from'](_0x18bd41['getAttributes']()),'children':Array['from'](_0x18bd41['getChildren']())['map'](_0x5e1445=>this['_getViewJson'](_0x5e1445))};}}['_markChanges'](_0x101dce,_0x2d3d88,_0x52389b,_0x518b3d,_0x2db079){let _0x1bbd50=null,_0xb54e3f=null,_0x5e2295=0x0;const _0x198c6b=this['editor']['model'];for(let _0x567229=0x0;_0x567229<_0x2d3d88['length'];_0x567229++){const _0x29ad4d=this['_getVidAttributeName'](_0x2d3d88[_0x567229]),_0x923c28=_0x2d3d88[_0x567229]['item']['getAttribute'](_0x29ad4d),_0x53f8d5=_0x52389b['get'](_0x923c28),_0x4bac8c=_0x567229==_0x2d3d88['length']-0x1;(!_0x1bbd50&&_0x53f8d5&&(_0x1bbd50=_0x53f8d5,_0xb54e3f=_0x2d3d88[_0x567229]),_0x1bbd50&&(!_0x53f8d5||_0x53f8d5['userId']!=_0x1bbd50['userId']))&&(_0x458c56(_0x53f8d5,L(_0xb54e3f,_0x101dce,_0x198c6b),L(_0x2d3d88[_0x567229],_0x101dce,_0x198c6b)),_0x1bbd50=_0x53f8d5||null,_0xb54e3f=_0x53f8d5?_0x2d3d88[_0x567229]:null),_0x1bbd50&&_0x4bac8c&&_0x458c56(_0x53f8d5,L(_0xb54e3f,_0x101dce,_0x198c6b),W(_0x2d3d88[_0x567229],_0x101dce,_0x198c6b));}function _0x458c56(_0x585637,_0x57f3a9,_0x9a49e3){const _0x418464=_0x1bbd50['userId'],_0x3c63eb='revision:'+_0x518b3d+':'+_0x418464+':'+_0x5e2295++,_0x323abf=_0x198c6b['createRange'](_0x57f3a9,_0x9a49e3);_0x101dce['markers']['set'](_0x3c63eb,_0x323abf),null!==_0x418464&&_0x2db079['add'](_0x418464);}}['_getVidAttributeName'](_0x4f70c2){switch(_0x4f70c2['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x52a1a4,_0x2124c2){_0x52a1a4['baseVersion']=null;for(const _0x2c7fd6 in _0x52a1a4){const _0x1c4217=_0x52a1a4[_0x2c7fd6];if(_0x1c4217 instanceof gt){const _0x23b86f=_0x2124c2['get'](_0x1c4217['root']['rootName']);_0x52a1a4[_0x2c7fd6]=this['_fixPosition'](_0x1c4217,_0x23b86f);}if(_0x1c4217 instanceof vt){const _0x5992c0=_0x2124c2['get'](_0x1c4217['root']['rootName']);_0x52a1a4[_0x2c7fd6]=this['_fixRange'](_0x1c4217,_0x5992c0);}'root'===_0x2c7fd6&&(_0x52a1a4['root']=_0x2124c2['get'](_0x52a1a4['root']['rootName']));}}['_fixRange'](_0x537763,_0x3a54c2){return this['editor']['model']['createRange'](this['_fixPosition'](_0x537763['start'],_0x3a54c2),this['_fixPosition'](_0x537763['end'],_0x3a54c2));}['_fixPosition'](_0x2180f0,_0x16df3a){return this['editor']['model']['createPositionFromPath'](_0x16df3a,_0x2180f0['path'],_0x2180f0['stickiness']);}['_handleInsertOperation'](_0x971d5d){const _0x7d5525=this['_idsRoots']['get'](_0x971d5d['position']['root']['rootName']),_0x2ce147=this['_fixPosition'](_0x971d5d['position'],_0x7d5525),_0x5bf75c=null===_0x971d5d['_authorId']?null:_0x971d5d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4bf9b7=_0x2ce147['parent'],_0x5e3910=this['_revisionId'],_0x4703c5=[];for(const _0x1113cb of _0x971d5d['nodes'])if(_0x1113cb['is']('element'))_0x4703c5['push'](this['_makeIdsRoot'](_0x1113cb));else{for(let _0x1efb18=0x0;_0x1efb18<_0x1113cb['offsetSize'];_0x1efb18++)_0x4703c5['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x75588a=this['_revisionId'];for(let _0x22f5b2=_0x5e3910;_0x22f5b2<_0x75588a;_0x22f5b2++)this['_touched']['set'](_0x22f5b2,{'userId':_0x5bf75c});_0x4bf9b7['_insertChild'](_0x2ce147['offset'],_0x4703c5);}['_handleMoveOperation'](_0x2c8288){(_0x2c8288=this['_cloneOperation'](_0x2c8288,this['_idsRoots']))['_execute']();const _0x558fc5=null===_0x2c8288['_authorId']?null:_0x2c8288['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4ad5e7=_0x2c8288['getMovedRangeStart'](),_0x1a3e10=_0x4ad5e7['parent'],_0x2bae9d=_0x4ad5e7['offset'];!function _0x22455d(_0x3becdb,_0x1796b1,_0x880846,_0x54a6af){for(let _0x11bbf4=_0x880846;_0x11bbf4<_0x54a6af;_0x11bbf4++){const _0x193d64=_0x1796b1['getChild'](_0x11bbf4);_0x193d64['is']('element','$text')?_0x3becdb['set'](_0x193d64['getAttribute']('vid'),{'userId':_0x558fc5}):(_0x3becdb['set'](_0x193d64['getAttribute']('vid_start'),{'userId':_0x558fc5}),_0x22455d(_0x3becdb,_0x193d64,0x0,_0x193d64['childCount']),_0x3becdb['set'](_0x193d64['getAttribute']('vid_end'),{'userId':_0x558fc5}));}}(this['_touched'],_0x1a3e10,_0x2bae9d,_0x2bae9d+_0x2c8288['howMany']);}['_handleMergeOperation'](_0x4e06c8){const _0xe2f535=null===(_0x4e06c8=this['_cloneOperation'](_0x4e06c8,this['_idsRoots']))['_authorId']?null:_0x4e06c8['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x15cc83=_0x4e06c8['targetPosition']['parent'],_0x199134=_0x4e06c8['sourcePosition']['parent'],_0x39e221=_0x15cc83['getAttribute']('vid_end'),_0x3159e5=_0x199134['getAttribute']('vid_start');_0x15cc83['_setAttribute']('vid_end',_0x199134['getAttribute']('vid_end')),_0x199134['_setAttribute']('vid_end',_0x39e221),this['_touched']['set'](_0x3159e5,{'userId':_0xe2f535}),this['_touched']['set'](_0x39e221,{'userId':_0xe2f535}),_0x4e06c8['_execute']();}['_handleSplitOperation'](_0x38f9b3){const _0x27ed97=null===(_0x38f9b3=this['_cloneOperation'](_0x38f9b3,this['_idsRoots']))['_authorId']?null:_0x38f9b3['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x99a0a1=_0x38f9b3['graveyardPosition'],_0x488d86=_0x38f9b3['splitPosition']['parent'];_0x38f9b3['_execute']();const _0xd9f100=_0x488d86['getAttribute']('vid_end'),_0x4b537c=_0x38f9b3['insertionPosition']['nodeAfter'];if(_0x99a0a1){const _0x1200a1=_0x4b537c['getAttribute']('vid_end'),_0x5d7848=_0x488d86['getAttribute']('vid_end');_0x488d86['_setAttribute']('vid_end',_0x1200a1),_0x4b537c['_setAttribute']('vid_end',_0x5d7848),this['_touched']['set'](_0x488d86['getAttribute']('vid_end'),{'userId':_0x27ed97}),this['_touched']['set'](_0x4b537c['getAttribute']('vid_start'),{'userId':_0x27ed97});}else{const _0x7fb58f=this['_revisionId']++,_0x3470be=this['_revisionId']++;_0x488d86['_setAttribute']('vid_end',_0x7fb58f),_0x4b537c['_setAttribute']('vid_start',_0x3470be),_0x4b537c['_setAttribute']('vid_end',_0xd9f100),this['_touched']['set'](_0x7fb58f,{'userId':_0x27ed97}),this['_touched']['set'](_0x3470be,{'userId':_0x27ed97});}}['_handleMarkerOperation'](_0x20a660){if(!_0x20a660['affectsData'])return;const _0x3beb78=(_0x20a660=this['_cloneOperation'](_0x20a660,this['_diffRoots']))['oldRange']?_0x20a660['oldRange']['root']:null,_0x379978=_0x20a660['newRange']?_0x20a660['newRange']['root']:null;_0x3beb78&&this['_markers']['delete'](_0x20a660['name']),_0x379978&&this['_markers']['set'](_0x20a660['name'],_0x20a660['newRange']['clone']());const _0x576fa2=null===_0x20a660['_authorId']?null:_0x20a660['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1b0442=_0x20a660['name'];if(!this['_touchedMarkers']['has'](_0x1b0442))return void this['_touchedMarkers']['set'](_0x1b0442,{'range':_0x20a660['oldRange'],'userId':_0x576fa2});const _0x1cdc30=this['_touchedMarkers']['get'](_0x1b0442),_0x3d29fa=_0x1cdc30['range'],_0x4b7dd0=_0x20a660['newRange'];null==_0x3d29fa&&null==_0x4b7dd0||_0x3d29fa&&_0x4b7dd0&&_0x3d29fa['isEqual'](_0x4b7dd0)?this['_touchedMarkers']['delete'](_0x20a660['name']):_0x1cdc30['userId']=_0x576fa2;}['_handleRootOperation'](_0xbaa519,_0xfd366f){this['_diffRoots']['has'](_0xbaa519['rootName'])?this['_diffRoots']['get'](_0xbaa519['rootName'])['_isAttached']=_0xbaa519['isAdd']:(this['_diffRoots']['set'](_0xbaa519['rootName'],G(_0xbaa519['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0xbaa519['rootName'],{}),_0xfd366f&&this['_idsRoots']['set'](_0xbaa519['rootName'],G(_0xbaa519['rootName'],!0x0)));const _0x4ecf85=null===_0xbaa519['_authorId']?null:_0xbaa519['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4af29e=this['_touchedRoots']['get'](_0xbaa519['rootName']);_0x4af29e&&_0x4af29e['userId']===_0x4ecf85?this['_touchedRoots']['delete'](_0xbaa519['rootName']):this['_touchedRoots']['set'](_0xbaa519['rootName'],{'userId':_0x4ecf85,'isAttached':_0xbaa519['isAdd']});}['_handleRootAttributeOperation'](_0x47dfec){const _0x155d33=this['_diffRootsAttributes']['get'](_0x47dfec['root']['rootName']);null===_0x47dfec['newValue']?delete _0x155d33[_0x47dfec['key']]:_0x155d33[_0x47dfec['key']]=_0x47dfec['newValue'];}}function q(_0x5fe686){const _0x4cfddb=G(_0x5fe686['rootName'],_0x5fe686['isAttached']());for(const _0xe2c205 of _0x5fe686['getChildren']()){const _0x117c27=_0xe2c205['_clone'](!0x0);_0x4cfddb['_appendChild'](_0x117c27);}return _0x4cfddb;}function G(_0x440161,_0x2cec4f=!0x0){const _0x3b7ce2=new wt();return _0x3b7ce2['rootName']=_0x440161,_0x3b7ce2['_isAttached']=_0x2cec4f,_0x3b7ce2['isAttached']=()=>_0x3b7ce2['_isAttached'],_0x3b7ce2;}function L(_0x2b6a13,_0x5c7e42,_0x4c5521){const _0x3c8e1e='elementEnd'==_0x2b6a13['type']?_0x4c5521['createPositionAt'](_0x2b6a13['item'],'end'):_0x4c5521['createPositionBefore'](_0x2b6a13['item']);return _0x4c5521['createPositionFromPath'](_0x5c7e42,_0x3c8e1e['path'],_0x3c8e1e['stickiness']);}function W(_0x2a697a,_0x28e67a,_0x50190d){const _0x579740='elementStart'==_0x2a697a['type']?_0x50190d['createPositionAt'](_0x2a697a['item'],0x0):_0x50190d['createPositionAfter'](_0x2a697a['item']);return _0x50190d['createPositionFromPath'](_0x28e67a,_0x579740['path'],_0x579740['stickiness']);}class hs extends ts{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x4058c8,_0x381e4f){super(_0x4058c8),this['focusTracker']=new _0x5de8d6(),this['keystrokes']=new _0x1311df(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x381e4f),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),_0x5d2df7(this);}['render'](){super['render'](),_0x529fcd({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x494e22=_0x30adbf=>_0x30adbf['stopPropagation']();this['keystrokes']['set']('arrowright',_0x494e22),this['keystrokes']['set']('arrowleft',_0x494e22),this['keystrokes']['set']('arrowup',_0x494e22),this['keystrokes']['set']('arrowdown',_0x494e22);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x21fd9b){this['revisionNameInputView']['fieldView']['element']['value']=_0x21fd9b['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x402f8c){const _0x15d05c=new _0x26e7d9(this['locale'],_0x4edbb9),_0x568ea7=_0x15d05c['fieldView'];_0x568ea7['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x32a801=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x402f8c&&(_0x32a801+='\x20('+y(this['locale'],'optional')+')'),(_0x15d05c['label']=_0x32a801,_0x568ea7['on']('input',()=>{this['revisionNameInputValue']=_0x568ea7['element']['value']['trim']();}),_0x15d05c);}}class u extends _0x5641b0{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x3b039b=this['editor'],_0x13bf2a=_0x3b039b['plugins']['get']('RevisionTracker');_0x3b039b['ui']['componentFactory']['add']('revisionHistory',_0x3ea19a=>{const _0x51313e=_0x118a74(_0x3ea19a),_0x371953=_0x51313e['panelView']['children'],_0x401f33=new _0x21451d(_0x3ea19a),_0x381f60=new _0x35a49d(_0x3ea19a),_0x37219c=new te(_0x3ea19a),_0x367b4f=new _0x35a49d(_0x3ea19a),_0x4f586a=new te(_0x3ea19a);return _0x51313e['bind']('isEnabled')['to'](_0x13bf2a,'isReady',_0x13bf2a,'isEnabled',_0x3b039b,'isReadOnly',(_0x482d21,_0x7c319c,_0x4f8554)=>_0x482d21&&_0x7c319c&&!_0x4f8554),_0x51313e['buttonView']['set']({'icon':_0x204acd['history'],'label':y(_0x3ea19a,'Revision\x20history'),'tooltip':!0x0}),_0x37219c['set']({'label':y(_0x3ea19a,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x37219c['bind']('isEnabled')['to'](_0x13bf2a,'isReady',_0x13bf2a,'isEnabled',_0x3b039b,'isReadOnly',(_0x56f09f,_0xb94ac3,_0x489c5a)=>_0x56f09f&&_0xb94ac3&&!_0x489c5a),_0x37219c['on']('execute',()=>this['_showDialog']()),_0x4f586a['set']({'label':y(_0x3ea19a,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x4f586a['bind']('isEnabled')['to'](_0x13bf2a,'isReady',_0x3b039b,'isReadOnly',(_0x26d361,_0xb7a334)=>_0x26d361&&!_0xb7a334),_0x4f586a['on']('execute',()=>{_0x3b039b['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x51313e['isOpen']=!0x1,_0x3b039b['editing']['view']['focus']();}),_0x381f60['children']['add'](_0x37219c),_0x367b4f['children']['add'](_0x4f586a),_0x401f33['role']='menu',_0x401f33['items']['addMany']([_0x381f60,_0x367b4f]),_0x371953['add'](_0x401f33),_0x51313e;}),_0x3b039b['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0xadeadf=this['editor'],_0x50a5cd=_0xadeadf['locale'],_0x374022=new _0x3f00f1(_0x50a5cd),_0x8cc9e8=new _0x3a4070(_0x50a5cd);_0x374022['buttonView']['set']({'icon':_0x204acd['history'],'label':y(_0x50a5cd,'Revision\x20history')});const _0x487a82=new _0x346cb0(_0x50a5cd,_0x374022),_0x3d3e46=new _0x33a824(_0x50a5cd);_0x3d3e46['set']({'label':y(_0x50a5cd,'Save\x20current\x20revision')}),_0x3d3e46['delegate']('execute')['to'](_0x374022),_0x3d3e46['on']('execute',()=>{this['_showDialog']();}),_0x487a82['children']['add'](_0x3d3e46),_0x8cc9e8['items']['add'](_0x487a82);const _0x5d494f=new _0x346cb0(_0x50a5cd,_0x374022),_0x1a395e=new _0x33a824(_0x50a5cd);return _0x1a395e['set']({'label':y(_0x50a5cd,'Open\x20revision\x20history')}),_0x1a395e['delegate']('execute')['to'](_0x374022),_0x1a395e['on']('execute',()=>{_0xadeadf['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x5d494f['children']['add'](_0x1a395e),_0x8cc9e8['items']['add'](_0x5d494f),_0x374022['panelView']['children']['add'](_0x8cc9e8),_0x374022;}['_showDialog'](){const _0x9f19ed=this['editor'],_0x386ed9=_0x9f19ed['locale'],_0x3921ce=_0x9f19ed['plugins']['get']('Dialog'),_0x712c15=_0x9f19ed['plugins']['get']('RevisionTracker');function _0x582e3a(_0x5c645d){_0x9f19ed['config']['get']('revisionHistory.requireRevisionName')&&''===_0x5c645d['revisionName']?_0x5c645d['revisionNameInputView']['errorText']=y(_0x386ed9,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x9f19ed['plugins']['get'](l)['saveRevision']({'name':_0x5c645d['revisionName']}),_0x3921ce['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x582e3a(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x3921ce['show']({'id':'revisionSave','title':y(_0x386ed9,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x9f19ed['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x3921ce['hide']()},{'label':y(_0x9f19ed['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0xef93e2){_0xef93e2['bind']('isEnabled')['to'](_0x712c15,'isReady',_0x712c15,'isEnabled',_0x9f19ed,'isReadOnly',(_0x102501,_0x2eb6d1,_0x43fb75)=>_0x102501&&_0x2eb6d1&&!_0x43fb75);},'onExecute':()=>_0x582e3a(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x21ccac=this['editor'],_0x11b0ea=_0x21ccac['locale'];this['_saveRevisionFormView']=new hs(_0x11b0ea,_0x21ccac['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends ts{['changeId'];['_model'];constructor(_0x2ed0bc,_0x1a4b7d){super(_0x2ed0bc),this['_model']=_0x1a4b7d,this['changeId']=_0x1a4b7d['id'];const _0x430d24=this['bindTemplate'],_0x3ff7f4=y(_0x2ed0bc,_0x1a4b7d['data']['isSuggestion']?'Suggested\x20by':'add'==_0x1a4b7d['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x1a4b7d['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x430d24['to']('type',_0x58dd27=>'ck-revision-change__'+_0x58dd27)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x3ff7f4}]},{'text':'\x20'+_0x1a4b7d['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x2d215a(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x348d5d){super(),this['id']=_0x348d5d['id']||_0x57e508(),this['author']=_0x348d5d['author'],this['type']=_0x348d5d['type'],this['data']=_0x348d5d['data']||{},this['rootName']=_0x348d5d['rootName'],this['set']('createdAt',_0x348d5d['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class f{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x8a7256,_0x1c2473){this['newRevisionId']=_0x8a7256,this['oldRevisionId']=_0x1c2473,this['changes']=new _0x504d6c();}['_setChanges'](_0x5b21f1){for(const _0x26af60 of _0x5b21f1)this['changes']['add'](_0x26af60);}}const tt={'c':_0x1f7009,'a':_0xd6a26c,'e':_0x31103f,'r':_0x576114,'u':_0x276df6};class d extends _0x5641b0{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x10af68,_0x42efbd,A];}constructor(_0x2731da){super(_0x2731da),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',(_0x2d815a,_0x14088b,_0x16bdad)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x3141d3=>{for(const _0x51fc44 of this['editor']['editing']['view']['document']['roots'])_0x16bdad?_0x3141d3['removeClass']('ck-editor__editable__overlay',_0x51fc44):_0x3141d3['addClass']('ck-editor__editable__overlay',_0x51fc44);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0xf42d8d=>null!==_0xf42d8d),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x26db60,_0x604daa,_0x36b949)=>_0x26db60&&_0x36b949?_0x604daa['changes']['getIndex'](_0x36b949):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x3ec870,_0x6432f1)=>_0x3ec870?_0x6432f1['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x42efbd);}['init'](){const _0x1351c1=this['editor'],_0x426883=new yt(_0x1351c1,{'direction':'backward'}),_0x2beafe=new yt(_0x1351c1,{'direction':'forward'});(_0x1351c1['commands']['add']('showPreviousChange',_0x426883),_0x1351c1['commands']['add']('showNextChange',_0x2beafe),_0x1351c1['commands']['add']('restoreRevision',new bt(_0x1351c1)),this['on']('change:numberOfChanges',()=>{_0x426883['refresh'](),_0x2beafe['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x1351c1['enableReadOnlyMode']('revision-viewer'),_0x1351c1['plugins']['has']('WidgetToolbarRepository'))&&_0x1351c1['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x56799d){await this['loadRevisionData'](_0x56799d);const _0x49781f={};for(const _0x14a095 in _0x56799d['diffData']){if(_0x56799d['diffData'][_0x14a095]['attachChange']&&!_0x56799d['diffData'][_0x14a095]['attachChange']['isAttached'])continue;const _0x37215c=this['_removeRevisionMarkers'](JSON['parse'](_0x56799d['diffData'][_0x14a095]['insertions'])),_0x2db124=this['editor']['editing']['view']['document'],_0x324964=new _0x262c67(_0x2db124,_0x37215c['map'](_0x486494=>this['_getViewObj'](_0x486494)));this['editor']['data']['processor']['useFillerType']('marked'),_0x49781f[_0x14a095]=this['editor']['data']['processor']['toData'](_0x324964),this['editor']['data']['processor']['useFillerType']('default');}return _0x49781f;}async['getRevisionRootsAttributes'](_0x32d55d){await this['loadRevisionData'](_0x32d55d);const _0x367ad1={};for(const _0x1fec72 in _0x32d55d['diffData'])_0x32d55d['diffData'][_0x1fec72]['attachChange']&&!_0x32d55d['diffData'][_0x1fec72]['attachChange']['isAttached']||(_0x367ad1[_0x1fec72]=_0x32d55d['diffData'][_0x1fec72]['attributesAfter']||{});return _0x367ad1;}['_removeRevisionMarkers'](_0x245b93){return(_0x245b93=_0x245b93['filter'](_0x2a99c0=>!_0x2a99c0['name']||'revision-start'!==_0x2a99c0['name']&&'revision-end'!==_0x2a99c0['name']))['forEach'](_0x3a1a37=>{'string'!=typeof _0x3a1a37&&(_0x3a1a37['children']=this['_removeRevisionMarkers'](_0x3a1a37['children']),_0x3a1a37['attributes']=_0x3a1a37['attributes']['filter'](_0x164e3b=>!_0x164e3b[0x0]['startsWith']('data-revision-')));}),_0x245b93;}async['compare'](_0x5e409b,_0x32541a,_0x34f8e2=!0x1){if(!this['isEnabled'])return;const _0x52117c=this['diff'],_0x44b0de=this['repository'],_0x1a93df='string'==typeof _0x5e409b?_0x44b0de['getRevision'](_0x5e409b):_0x5e409b,_0x129f77='string'==typeof _0x32541a?_0x44b0de['getRevision'](_0x32541a):_0x32541a,_0x56dd92=_0x1a93df['id'],_0x891fab=_0x129f77?_0x129f77['id']:null;if(!_0x34f8e2&&this['diff']&&this['diff']['newRevisionId']===_0x56dd92&&this['diff']['oldRevisionId']===_0x891fab)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x56dd92,_0x891fab);const _0x5c662d=this['_getRevisionsRange'](_0x1a93df,_0x129f77,!0x0)['map'](_0x307cd4=>this['loadRevisionData'](_0x307cd4));return _0x5c662d['push'](new Promise(_0x59b9dc=>{setTimeout(_0x59b9dc,0x14);})),Promise['all'](_0x5c662d)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x2f0949=this['_getDiff'](_0x56dd92,_0x891fab);for(const _0x5f555a of _0x2f0949['changes'])this['_changeIdToChange']['set'](_0x5f555a['id'],_0x5f555a);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x2be79b=>{for(const _0x163990 of this['editor']['model']['document']['getRootNames']())_0x2be79b['detachRoot'](_0x163990);for(const _0xa71cff of Object['keys'](_0x2f0949['model'])){const _0x1cf672=_0x2be79b['addRoot'](_0xa71cff);for(const _0x594c31 of Object['keys'](_0x2f0949['attributes'][_0xa71cff]))_0x2be79b['setAttribute'](_0x594c31,_0x2f0949['attributes'][_0xa71cff][_0x594c31],_0x1cf672);_0x2be79b['insert'](_0x2f0949['model'][_0xa71cff],_0x1cf672,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x2f0949['changes'])),this['isReady']=!0x0;})['catch'](_0x1dfa4b=>{console['error'](_0x1dfa4b),this['_cleanUp'](),_0x52117c&&(this['diff']=_0x52117c),this['isReady']=!0x0;});}['addRevisionData'](_0xb5f607,_0x33e17e){const _0x42cdd2=this['repository']['createRevision'](_0xb5f607);return _0x42cdd2['on']('_update',(_0x61ad52,_0x342f00,_0x561fb3)=>_0x33e17e(_0x342f00,_0x561fb3,_0x42cdd2)),this['repository']['addRevision'](_0x42cdd2),_0x42cdd2;}['loadRevisionData'](_0x1d945d){if(!_0x1d945d||_0x1d945d['diffData'])return Promise['resolve']();{const _0x97eb1e=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x97eb1e,'revisionId':_0x1d945d['id']})['then'](_0x2aceca=>{_0x1d945d['_update']({'diffData':_0x2aceca['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},_0xbe6736=>{for(const _0x25dc2e of this['editor']['model']['document']['getRootNames']())_0xbe6736['detachRoot'](_0x25dc2e);});}['_sortAndFilterDiffChanges'](_0x5ac65f){const _0xd1a84=[],_0x4c2628=new Map();for(const _0x548d40 of this['editor']['model']['document']['getRootNames']()){const _0x4ce480=this['editor']['editing']['view']['getDomRoot'](_0x548d40);if(!_0x4ce480)continue;const _0x29df68=_0x4ce480['getClientRects']()['item'](0x0);_0x29df68&&(_0xd1a84['push'](_0x548d40),_0x4c2628['set'](_0x548d40,_0x29df68));}return _0xd1a84['sort']((_0x51e5e1,_0x572fcc)=>{const _0x4adfa9=_0x4c2628['get'](_0x51e5e1),_0xc4c6b2=_0x4c2628['get'](_0x572fcc);return _0x4adfa9['y']-_0xc4c6b2['y']||_0x4adfa9['x']-_0xc4c6b2['x'];}),(_0x5ac65f=_0x5ac65f['filter'](_0x5410ca=>_0xd1a84['includes'](_0x5410ca['rootName'])))['sort']((_0x1c5c7b,_0xa5f9a5)=>_0xd1a84['indexOf'](_0x1c5c7b['rootName'])-_0xd1a84['indexOf'](_0xa5f9a5['rootName'])),_0x5ac65f;}['_makeTape'](_0x5c629c){const _0x299365=Array['from'](_0x5c629c['markers'])['filter'](([_0x1743d2,_0x578b0c])=>_0x1743d2['startsWith']('revision:')&&!_0x578b0c['isCollapsed']),_0x220557=Array['from'](this['editor']['model']['createRangeIn'](_0x5c629c)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x299365['length'])for(const _0x146a5d of _0x220557){const [_0x275ae7,_0x3c2c02]=_0x299365[0x0],[,_0x1d625d,_0x73f24c]=_0x275ae7['split'](':');if(_0x3c2c02['end']['isEqual'](_0x146a5d['nextPosition'])&&_0x299365['shift'](),(_0x146a5d['previousPosition']['isEqual'](_0x3c2c02['start'])||_0x146a5d['previousPosition']['isAfter'](_0x3c2c02['start']))&&('insertion'==_0x1d625d?_0x146a5d['isAdded']={'userId':_0x73f24c}:'deletion'==_0x1d625d&&(_0x146a5d['isRemoved']={'userId':_0x73f24c})),0x0==_0x299365['length'])break;}return _0x220557;}['_refreshStartEndIndex'](_0xb98a11){const _0x2a1a01=new Map();for(let _0x2c493f=0x0;_0x2c493f<_0xb98a11['length'];_0x2c493f++)'text'===_0xb98a11[_0x2c493f]['type']?(_0xb98a11[_0x2c493f]['item']['startIndex']=_0x2c493f,_0xb98a11[_0x2c493f]['item']['endIndex']=_0x2c493f):('elementStart'===_0xb98a11[_0x2c493f]['type']?_0xb98a11[_0x2c493f]['item']['startIndex']=_0x2c493f:'elementEnd'===_0xb98a11[_0x2c493f]['type']&&(_0xb98a11[_0x2c493f]['item']['endIndex']=_0x2c493f),_0x2a1a01['set'](_0xb98a11[_0x2c493f]['id'],_0x2c493f));for(const _0x3444ac of _0x2a1a01['values']())'elementStart'===_0xb98a11[_0x3444ac]['type']?_0xb98a11[_0x3444ac]['item']['endIndex']=_0x2a1a01['get'](_0xb98a11[_0x3444ac]['pairId']):'elementEnd'===_0xb98a11[_0x3444ac]['type']&&(_0xb98a11[_0x3444ac]['item']['startIndex']=_0x2a1a01['get'](_0xb98a11[_0x3444ac]['pairId']));}['_processTape'](_0x38d91d){for(let _0x5d6c97=0x0;_0x5d6c97<_0x38d91d['length'];_0x5d6c97++){if('elementStart'===_0x38d91d[_0x5d6c97]['type'])_0x38d91d[_0x5d6c97]['item']['startIndex']=_0x5d6c97;else{if('elementEnd'===_0x38d91d[_0x5d6c97]['type']){_0x38d91d[_0x5d6c97]['item']['endIndex']=_0x5d6c97;const _0x3b2193=_0x38d91d[_0x5d6c97]['item']['startIndex'];_0x38d91d[_0x3b2193]['pairId']=_0x38d91d[_0x5d6c97]['id'],_0x38d91d[_0x5d6c97]['pairId']=_0x38d91d[_0x3b2193]['id'];}else _0x38d91d[_0x5d6c97]['item']['startIndex']=_0x5d6c97,_0x38d91d[_0x5d6c97]['item']['endIndex']=_0x5d6c97,_0x38d91d[_0x5d6c97]['pairId']=null;}_0x38d91d[_0x5d6c97]['markersStart']||(_0x38d91d[_0x5d6c97]['markersStart']=[],_0x38d91d[_0x5d6c97]['markersEnd']=[]);}}['_markInsertions'](_0x1c185c,_0x42572a){const _0x32db2a=_0x1c185c['filter'](_0x20af0=>!_0x20af0['isAdded']);for(let _0xaf45b0=0x0;_0xaf45b0<_0x42572a['length'];_0xaf45b0++)_0x42572a[_0xaf45b0]['isAdded']&&(_0x32db2a[_0xaf45b0]['isAdded']=_0x42572a[_0xaf45b0]['isAdded']);}['_makeModelFromViewString'](_0x271412){const _0x1ce019=JSON['parse'](_0x271412),_0x3e20ed=this['editor']['editing']['view']['document'],_0x2effbb=new _0x262c67(_0x3e20ed,_0x1ce019['map'](_0x482c6c=>this['_getViewObj'](_0x482c6c)));return this['editor']['data']['toModel'](_0x2effbb);}['_getViewObj'](_0xde6bb){const _0x43f38d=this['editor']['editing']['view']['document'];if('string'==typeof _0xde6bb)return new _0x30021a(_0x43f38d,_0xde6bb);{const _0x2120f7=_0xde6bb['children']['map'](_0x1ee6fe=>this['_getViewObj'](_0x1ee6fe));return new(tt[_0xde6bb['type']]||_0x23799c)(_0x43f38d,_0xde6bb['name'],_0xde6bb['attributes'],_0x2120f7);}}['_getDiff'](_0x5b8137,_0x57065c=null){const _0x4387f9=this['repository']['getRevision'](_0x5b8137),_0x26b7ee=_0x57065c?this['repository']['getRevision'](_0x57065c):null,_0xda7dae=this['_getRevisionsRange'](_0x4387f9,_0x26b7ee),_0xdfc5fb=_0xda7dae[_0xda7dae['length']-0x1],_0x1b98f1=new Map(),_0x16cf82={'model':{},'attributes':{},'changes':[]},_0x474a5e=new Set(),_0x55f75b=new Map();for(let _0x54efa9=_0xda7dae['length']-0x1;_0x54efa9>=0x0;_0x54efa9--){const _0x157f99=_0xda7dae[_0x54efa9];for(const _0x4a152a of Object['keys'](_0x157f99['diffData']))if(_0x157f99['diffData'][_0x4a152a]['attachChange']){const _0x192dde=_0x157f99['diffData'][_0x4a152a]['attachChange'];_0x192dde['isAttached']?(_0x474a5e['add'](_0x4a152a),_0x55f75b['has'](_0x4a152a)&&_0x55f75b['get'](_0x4a152a)['userId']==_0x192dde['userId']?_0x55f75b['delete'](_0x4a152a):_0x55f75b['set'](_0x4a152a,_0x192dde)):_0x55f75b['has'](_0x4a152a)?(_0x474a5e['delete'](_0x4a152a),_0x55f75b['delete'](_0x4a152a)):(_0x474a5e['add'](_0x4a152a),_0x55f75b['set'](_0x4a152a,_0x192dde));}else _0x474a5e['add'](_0x4a152a);}for(const _0x463669 of _0x474a5e){const _0x5ee989=_0x55f75b['has'](_0x463669)&&!_0x55f75b['get'](_0x463669)['isAttached'];let _0x581add=_0x5ee989?_0xda7dae['length']-0x1:0x0;const _0x5d5987=_0x5ee989?-0x1:0x1;for(;_0xda7dae[_0x581add];){const _0x4659a4=_0xda7dae[_0x581add];if(_0x4659a4['diffData'][_0x463669]){const _0x47d994=_0x5ee989?_0x4659a4['diffData'][_0x463669]['attributesBefore']:_0x4659a4['diffData'][_0x463669]['attributesAfter'];_0x16cf82['attributes'][_0x463669]=_0x47d994?_0x48669d(_0x47d994):{};break;}_0x581add+=_0x5d5987;}}for(const _0x104d70 of _0xda7dae){_0x104d70['model']={};for(const _0x1022c4 of _0x104d70['authors'])_0x1b98f1['set'](_0x1022c4['id'],_0x1022c4);for(const _0x488b0e of _0x474a5e){const _0xd924af=_0x104d70['diffData'][_0x488b0e]?_0x104d70['diffData'][_0x488b0e]['insertions']:'[]',_0x20b4d0=_0x104d70['diffData'][_0x488b0e]?_0x104d70['diffData'][_0x488b0e]['deletions']:'[]';_0x104d70['model'][_0x488b0e]={'insertions':this['_makeModelFromViewString'](_0xd924af),'deletions':this['_makeModelFromViewString'](_0x20b4d0)};}}for(const _0x14905d of _0x474a5e){let _0x4c4e09=null,_0x225c0b=0x0;const _0x539421=new Map(Array['from'](_0x4387f9['model'][_0x14905d]['insertions']['markers'])['filter'](([_0x4219fb])=>!_0x4219fb['startsWith']('revision:')));let _0x4312fc=0x0;for(const _0x570631 of _0xda7dae){const _0x1951a8=this['_makeTape'](_0x570631['model'][_0x14905d]['insertions']);_0x570631==_0x4387f9?(_0x4c4e09=_0x1951a8,_0x225c0b=_0x4c4e09['length'],_0x4c4e09['forEach'](_0x306ba2=>{_0x306ba2['id']=_0x4312fc++;}),this['_processTape'](_0x4c4e09)):this['_markInsertions'](_0x4c4e09,_0x1951a8);const _0x48f968=_0x4c4e09['filter'](_0xeb5132=>!_0xeb5132['isAdded'])['map'](_0x5d0fb=>_0x5d0fb['id']);let _0x2e0299=0x0;const _0x1928da=this['_makeTape'](_0x570631['model'][_0x14905d]['deletions']);_0x1928da['forEach'](_0x5ea6b3=>{_0x5ea6b3['isRemoved']?_0x5ea6b3['id']=_0x225c0b++:_0x5ea6b3['id']=_0x48f968[_0x2e0299++];}),this['_processTape'](_0x1928da),this['_setDistance'](_0x4c4e09,'isAdded'),this['_setDistance'](_0x1928da,'isRemoved'),_0x570631==_0x4387f9&&this['_markMarkers'](_0x4c4e09,_0x539421),_0x4c4e09=this['_joinTapes'](_0x4c4e09,_0x1928da),this['_refreshStartEndIndex'](_0x4c4e09),this['_setDistance'](_0x4c4e09,'isRemoved');}_0x4c4e09=_0x4c4e09['filter'](_0x17f838=>!(_0x17f838['isAdded']&&_0x17f838['isRemoved']));const _0x362814=new Map(_0xdfc5fb['model'][_0x14905d]['deletions']['markers']),_0x241887=new Set(_0x539421['keys']());for(const _0x18ffed of _0x362814['keys']())_0x241887['delete'](_0x18ffed);this['_markSuggestions'](_0x4c4e09,_0x241887),this['_fixObsoleteTags'](_0x4c4e09),_0x4c4e09=this['_removeMissingPairs'](_0x4c4e09),_0x4c4e09=this['_markMismatchedRemovedTags'](_0x4c4e09),_0x4c4e09=this['_removeUnsupportedChanges'](_0x4c4e09);const {root:_0x494375,changes:_0x3761af}=this['_makeModelFromTape'](_0x4c4e09,_0x1b98f1,_0x14905d);_0x16cf82['model'][_0x14905d]=_0x494375;const _0xf89978=_0x55f75b['get'](_0x14905d);if(_0xf89978){const _0x4c7cf6=_0x1b98f1['get'](_0xf89978['userId']),_0x3b036d=new r({'author':_0x4c7cf6,'type':_0xf89978['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x14905d});_0x3761af['unshift'](_0x3b036d),_0x16cf82['attributes'][_0x14905d]['revisionHistoryAttachChange']=_0x3b036d['id'];}_0x16cf82['changes']=_0x16cf82['changes']['concat'](_0x3761af);}return _0x16cf82;}['_markMarkers'](_0x19f90c,_0x5847ab){for(let _0x173672=0x0;_0x173672<_0x19f90c['length'];_0x173672++)for(const [_0xcb036f,_0x57526f]of _0x5847ab)_0x57526f['start']['isEqual'](_0x19f90c[_0x173672]['previousPosition'])&&_0x19f90c[_0x173672]['markersStart']['push'](_0xcb036f),_0x57526f['end']['isEqual'](_0x19f90c[_0x173672]['nextPosition'])&&_0x19f90c[_0x173672]['markersEnd']['push'](_0xcb036f);}['_joinTapes'](_0x551596,_0x358a2a){let _0x22ee45=[],_0x259871=0x0,_0x150826=0x0;for(;_0x259871<_0x551596['length']||_0x150826<_0x358a2a['length'];){const _0x27d56b=_0x551596[_0x259871]||{},_0x1165a1=_0x358a2a[_0x150826]||{};if(_0x27d56b['id']==_0x1165a1['id'])_0x259871++,_0x150826++,_0x22ee45['push'](_0x27d56b);else{if(_0x1165a1['isRemoved']&&_0x27d56b['isAdded']){const {commonTape:_0x4dfe94,iEnd:_0x164be9,jEnd:_0x3d70cb}=this['_threeWayMerge'](_0x551596,_0x259871,_0x358a2a,_0x150826);_0x22ee45=_0x22ee45['concat'](_0x4dfe94),_0x259871=_0x164be9,_0x150826=_0x3d70cb;}else _0x1165a1['isRemoved']?(_0x150826++,_0x22ee45['push'](_0x1165a1)):(_0x259871++,_0x22ee45['push'](_0x27d56b));}}return _0x22ee45;}['_markSuggestions'](_0x9d1283,_0x208a2b){const _0x323935=[];for(let _0x3a495e=0x0;_0x3a495e<_0x9d1283['length'];_0x3a495e++){for(let _0x1dbb23=0x0;_0x1dbb23<_0x9d1283[_0x3a495e]['markersStart']['length'];_0x1dbb23++){const _0x5403a6=_0x9d1283[_0x3a495e]['markersStart'][_0x1dbb23];if(!_0x208a2b['has'](_0x5403a6))continue;const {group:_0x238fec,type:_0x2c6b1c,authorId:_0x4ba6af}=_0x572aa0(_0x5403a6);'revision-suggestion'!=_0x238fec||'insertion'!=_0x2c6b1c&&'deletion'!=_0x2c6b1c||(_0x323935['unshift']({'type':_0x2c6b1c,'name':_0x5403a6,'userId':_0x4ba6af}),_0x9d1283[_0x3a495e]['markersStart']['splice'](_0x1dbb23,0x1),_0x1dbb23--);}_0x3ed496(_0x9d1283[_0x3a495e]);for(let _0x9dcfa3=0x0;_0x9dcfa3<_0x9d1283[_0x3a495e]['markersEnd']['length'];_0x9dcfa3++){const _0x1ce6e3=_0x9d1283[_0x3a495e]['markersEnd'][_0x9dcfa3];if(!_0x208a2b['has'](_0x1ce6e3))continue;const {group:_0x1a1a53,type:_0x469aea}=_0x572aa0(_0x1ce6e3);if('revision-suggestion'!=_0x1a1a53||'insertion'!=_0x469aea&&'deletion'!=_0x469aea)continue;_0x9d1283[_0x3a495e]['markersEnd']['splice'](_0x9dcfa3,0x1),_0x9dcfa3--;const _0x781796=_0x323935['findIndex'](_0x1bf09e=>_0x1bf09e['name']==_0x1ce6e3);_0x781796>-0x1&&_0x323935['splice'](_0x781796,0x1);}}function _0x572aa0(_0x334042){const _0x2aaebf=_0x334042['split'](':');return{'group':_0x2aaebf[0x0],'type':_0x2aaebf[0x1],'subType':_0x2aaebf['length']>=0x5?_0x2aaebf[0x2]:null,'id':_0x2aaebf['length']<0x5?_0x2aaebf[0x2]:_0x2aaebf[0x3],'authorId':_0x2aaebf['length']<0x5?_0x2aaebf[0x3]:_0x2aaebf[0x4],'markerCount':0x6==_0x2aaebf['length']?_0x2aaebf[0x5]:null};}function _0x3ed496(_0x49d1b8){for(let _0x549dde=0x0;_0x549dde<_0x323935['length'];_0x549dde++){if(_0x49d1b8['isAdded']&&'insertion'==_0x323935[_0x549dde]['type'])return _0x49d1b8['isAddSuggestion']=_0x323935[_0x549dde],void delete _0x49d1b8['isAdded'];if(!_0x49d1b8['isAdded']&&!_0x49d1b8['isRemoved']&&'deletion'==_0x323935[_0x549dde]['type'])return void(_0x49d1b8['isRemoveSuggestion']=_0x323935[_0x549dde]);}}}['_setDistance'](_0x280d81,_0x1fd920){let _0xff3590=0x0,_0x100a0f=!0x1;const _0x320ba7=new Map();for(const _0x2da365 of _0x280d81)_0x2da365[_0x1fd920]?_0x100a0f&&(_0xff3590++,_0x100a0f=!0x1):(_0xff3590++,_0x100a0f=!0x0),_0x320ba7['set'](_0x2da365['id'],_0xff3590);for(let _0x5717a2=0x0;_0x5717a2<_0x280d81['length'];_0x5717a2++){if('isRemoved'==_0x1fd920&&_0x280d81[_0x5717a2]['isAdded']||'isAdded'==_0x1fd920&&_0x280d81[_0x5717a2]['isRemoved'])continue;if('text'==_0x280d81[_0x5717a2]['type']){_0x280d81[_0x5717a2]['distance']=0x0;continue;}const _0xe9d666=_0x320ba7['get'](_0x280d81[_0x5717a2]['pairId']),_0xf1261d=_0x320ba7['get'](_0x280d81[_0x5717a2]['id']);_0x280d81[_0x5717a2]['distance']=_0xe9d666-_0xf1261d;}}['_getRevisionsRange'](_0x29213b,_0x1dec86,_0x3afa5f=!0x1){const _0x54a6bb=[];let _0x500dff=this['repository']['getIndex'](_0x29213b),_0x564187=this['repository']['getIndex'](_0x1dec86);for(-0x1==_0x564187&&(_0x564187=this['repository']['_revisions']['length'],_0x3afa5f=!0x1);_0x500dff<_0x564187;)_0x54a6bb['push'](this['repository']['getRevision'](_0x500dff)),_0x500dff++;return _0x3afa5f&&_0x54a6bb['push'](this['repository']['getRevision'](_0x500dff)),_0x54a6bb;}['_threeWayMerge'](_0x16ad12,_0x22448d,_0x381cfa,_0x8fe4a0){const _0x442326=this['editor']['model']['schema'];let _0xf6b801=_0x22448d;for(;_0x16ad12[_0xf6b801]&&_0x16ad12[_0xf6b801]['isAdded'];)_0xf6b801++;let _0x649674=_0x8fe4a0;for(;_0x381cfa[_0x649674]&&_0x381cfa[_0x649674]['isRemoved'];)_0x649674++;_0x186462(_0x16ad12,_0x22448d,_0xf6b801),_0x186462(_0x381cfa,_0x8fe4a0,_0x649674);const _0xef2135=_0x381cfa['slice'](_0x8fe4a0,_0x649674)['concat'](_0x16ad12['slice'](_0x22448d,_0xf6b801));return _0xef2135['sort']((_0x583750,_0x5f4c87)=>_0x583750['side']!=_0x5f4c87['side']?_0x583750['side']-_0x5f4c87['side']:_0x583750['level']!=_0x5f4c87['level']?_0x583750['level']-_0x5f4c87['level']:_0x583750['distance']!=_0x5f4c87['distance']?_0x5f4c87['distance']-_0x583750['distance']:!!_0x583750['isAdded']!=!!_0x5f4c87['isAdded']?-0x1==_0x583750['side']||0x0==_0x583750['side']?_0x583750['isAdded']?-0x1:0x1:_0x583750['isAdded']?0x1:-0x1:_0x583750['index']-_0x5f4c87['index']),{'commonTape':_0xef2135,'iEnd':_0xf6b801,'jEnd':_0x649674};function _0x186462(_0x394e6a,_0x5275e5,_0x4f6bd0){let _0x53c815=-0x1,_0x5660dc=Number['POSITIVE_INFINITY'],_0x270520=!0x0;for(let _0xd9a8fa=_0x5275e5;_0xd9a8fa<_0x4f6bd0;_0xd9a8fa++)if(_0x442326['isInline'](_0x394e6a[_0xd9a8fa]['item'])||(_0x270520=!0x1),_0x394e6a[_0xd9a8fa]['item']['startIndex']<_0x5275e5&&(_0x53c815=_0xd9a8fa),_0x394e6a[_0xd9a8fa]['item']['endIndex']>=_0x4f6bd0){_0x5660dc=_0xd9a8fa;break;}_0x270520&&(_0x53c815=_0x4f6bd0-0x1);for(let _0x49d3bb=_0x5275e5;_0x49d3bb<_0x4f6bd0;_0x49d3bb++)_0x394e6a[_0x49d3bb]['side']=_0x49d3bb<=_0x53c815?-0x1:_0x49d3bb<_0x5660dc?0x0:0x1,_0x394e6a[_0x49d3bb]['index']=_0x49d3bb;let _0x1d358f=0x0;for(let _0x5c795a=_0x5275e5;_0x5c795a<=_0x53c815;_0x5c795a++)0x0==_0x394e6a[_0x5c795a]['distance']?_0x394e6a[_0x5c795a]['level']=_0x1d358f:(_0x1d358f++,_0x394e6a[_0x5c795a]['level']=_0x1d358f,_0x1d358f++);for(let _0x203381=_0x5275e5;_0x203381<_0x4f6bd0;_0x203381++)0x0==_0x394e6a[_0x203381]['side']&&(_0x394e6a[_0x203381]['level']=_0x1d358f);_0x1d358f=0x0;for(let _0x3297ab=_0x4f6bd0-0x1;_0x3297ab>=_0x5660dc;_0x3297ab--)0x0==_0x394e6a[_0x3297ab]['distance']?_0x394e6a[_0x3297ab]['level']=_0x1d358f:(_0x1d358f--,_0x394e6a[_0x3297ab]['level']=_0x1d358f,_0x1d358f--);}}['_fixObsoleteTags'](_0x409d67){const _0x2b1832=new Map(),_0x5e5bd4=this['editor']['model']['schema'];for(let _0x677d9e=0x1;_0x677d9e<_0x409d67['length'];_0x677d9e++){let _0x51a5e1,_0x166398,_0x296e97;const _0x3e3a54=_0x409d67[_0x677d9e],_0x53a443=_0x409d67[_0x677d9e-0x1];if('text'==_0x3e3a54['type'])continue;if(_0x3e3a54['type']!=_0x53a443['type'])continue;if(!_0x5e5bd4['isBlock'](_0x53a443['item'])||_0x5e5bd4['isLimit'](_0x53a443['item']))continue;if(!_0x5e5bd4['isBlock'](_0x3e3a54['item'])||_0x5e5bd4['isLimit'](_0x3e3a54['item']))continue;if((_0x409d67[_0x677d9e]['isAdded']||_0x409d67[_0x677d9e]['isAddSuggestion'])&&_0x409d67[_0x677d9e-0x1]['isRemoved'])_0x51a5e1=_0x409d67[_0x677d9e],_0x166398=_0x409d67[_0x677d9e-0x1],_0x296e97=_0x677d9e-0x1;else{if(!_0x409d67[_0x677d9e]['isRemoved']||!_0x409d67[_0x677d9e-0x1]['isAdded']&&!_0x409d67[_0x677d9e-0x1]['isAddSuggestion'])continue;_0x51a5e1=_0x409d67[_0x677d9e-0x1],_0x166398=_0x409d67[_0x677d9e],_0x296e97=_0x677d9e;}const _0xa05e85=_0x51a5e1['level']==_0x166398['level'],_0x5d15ee=Math['abs'](_0x51a5e1['level'])<Math['abs'](_0x166398['level'])&&0x0==_0x166398['distance'];(_0xa05e85||_0x5d15ee)&&(_0x2b1832['set'](_0x166398['id'],_0x51a5e1['id']),_0x409d67['splice'](_0x296e97,0x1),_0x677d9e--,_0x51a5e1['isAdded']=!0x1);}for(let _0x56f02d=0x0;_0x56f02d<_0x409d67['length'];_0x56f02d++)_0x2b1832['has'](_0x409d67[_0x56f02d]['pairId'])&&(_0x409d67[_0x56f02d]['pairId']=_0x2b1832['get'](_0x409d67[_0x56f02d]['pairId']));}['_removeMissingPairs'](_0x4f9a51){const _0x278814=new Set(_0x4f9a51['map'](_0x1fb71d=>_0x1fb71d['id']));for(let _0x59a624=0x0;_0x59a624<_0x4f9a51['length'];_0x59a624++)_0x278814['has'](_0x4f9a51[_0x59a624]['pairId'])||0x0==_0x4f9a51[_0x59a624]['distance']||(_0x4f9a51[_0x59a624]['isIncorrect']=!0x0);return _0x4f9a51['filter'](_0x40f8a7=>!_0x40f8a7['isIncorrect']);}['_markMismatchedRemovedTags'](_0x35ef0c){const _0xa73c47=new Set();for(let _0x19870c=0x0;_0x19870c<_0x35ef0c['length'];_0x19870c++){if(_0xa73c47['has'](_0x35ef0c[_0x19870c]['id'])&&_0x35ef0c[_0x19870c]['isRemoved']&&(_0x35ef0c[_0x19870c]['isIncorrect']=!0x0),_0x35ef0c[_0x19870c]['isIncorrect'])continue;if(0x0==_0x35ef0c[_0x19870c]['distance'])continue;if('elementStart'!=_0x35ef0c[_0x19870c]['type'])continue;if(null==_0x35ef0c[_0x19870c]['pairId'])continue;let _0x3366b1=_0x19870c+0x1,_0x5e43e9=0x0;for(;_0x35ef0c[_0x3366b1]['id']!=_0x35ef0c[_0x19870c]['pairId'];)'elementStart'==_0x35ef0c[_0x3366b1]['type']?_0x5e43e9++:'elementEnd'==_0x35ef0c[_0x3366b1]['type']&&_0x5e43e9--,_0x3366b1++;if(0x0!=_0x5e43e9){if(_0x35ef0c[_0x19870c]['isRemoved'])_0x35ef0c[_0x19870c]['isIncorrect']=!0x0;else{for(;_0x3366b1!=_0x19870c;)_0x35ef0c[_0x3366b1]['isRemoved']&&0x0!=_0x35ef0c[_0x3366b1]['distance']&&(_0x35ef0c[_0x3366b1]['isIncorrect']=!0x0,_0xa73c47['add'](_0x35ef0c[_0x3366b1]['pairId'])),_0x3366b1--;}}}return _0x35ef0c['filter'](_0x2e7da2=>!_0x2e7da2['isIncorrect']);}['_removeUnsupportedChanges'](_0x3d9b85){const _0x5a834e=this['editor']['model']['schema'];for(let _0x33a73a=0x0;_0x33a73a<_0x3d9b85['length'];_0x33a73a++){if(!(_0x3d9b85[_0x33a73a]['isAdded']||_0x3d9b85[_0x33a73a]['isAddSuggestion']||_0x3d9b85[_0x33a73a]['isRemoved']||_0x3d9b85[_0x33a73a]['isRemoveSuggestion']))continue;if(0x0==_0x3d9b85[_0x33a73a]['distance'])continue;const _0x15bc44=_0x3d9b85[_0x33a73a]['item'];_0x5a834e['isBlock'](_0x15bc44)||_0x5a834e['isLimit'](_0x15bc44)||(_0x3d9b85[_0x33a73a]['isAdded']&&delete _0x3d9b85[_0x33a73a]['isAdded'],_0x3d9b85[_0x33a73a]['isAddSuggestion']&&delete _0x3d9b85[_0x33a73a]['isAddSuggestion'],_0x3d9b85[_0x33a73a]['isRemoveSuggestion']&&delete _0x3d9b85[_0x33a73a]['isRemoveSuggestion'],_0x3d9b85[_0x33a73a]['isRemoved']&&(_0x3d9b85[_0x33a73a]['isIncorrect']=!0x0));}return _0x3d9b85['filter'](_0x3728f6=>!_0x3728f6['isIncorrect']);}['_makeModelFromTape'](_0x1d8695,_0x2d7cab,_0x3c74e0){const _0x373fb8=new wt(),_0x1ce9f1=[],_0x2dc67d=new Map(),_0x4b31aa=this['editor']['model'],_0x537708=_0x4b31aa['schema'],_0x3867a5=[_0x373fb8],_0x1b6c5f={},_0x49a956={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x53ef13=null;const _0x12a87a=[0x0];for(let _0x407d51=0x0;_0x407d51<_0x1d8695['length'];_0x407d51++){let _0x1f8e67,_0x1d9d56;if('elementStart'===_0x1d8695[_0x407d51]['type']){_0x1f8e67=_0x4b31aa['createPositionFromPath'](_0x373fb8,_0x12a87a);const _0x39c8db=new ft(_0x1d8695[_0x407d51]['item']['name'],_0x1d8695[_0x407d51]['item']['getAttributes']());_0x3867a5[0x0]['_appendChild'](_0x39c8db),_0x12a87a['push'](0x0),_0x3867a5['unshift'](_0x39c8db),_0x1d9d56=_0x4b31aa['createPositionFromPath'](_0x373fb8,_0x12a87a),_0x53ef13=null;}else{if('elementEnd'===_0x1d8695[_0x407d51]['type'])_0x3867a5['shift'](),_0x1f8e67=_0x4b31aa['createPositionFromPath'](_0x373fb8,_0x12a87a),_0x12a87a['pop'](),_0x12a87a[_0x12a87a['length']-0x1]++,_0x1d9d56=_0x4b31aa['createPositionFromPath'](_0x373fb8,_0x12a87a),_0x53ef13=null;else{if(_0x1f8e67=_0x4b31aa['createPositionFromPath'](_0x373fb8,_0x12a87a),_0x53ef13&&_0x5d3aa0(_0x53ef13,_0x1d8695[_0x407d51]['item']))_0x53ef13['_data']+=_0x1d8695[_0x407d51]['item']['data'];else{const _0x333ae3=new _t(_0x1d8695[_0x407d51]['item']['data'],_0x1d8695[_0x407d51]['item']['getAttributes']());_0x3867a5[0x0]['_appendChild'](_0x333ae3),_0x53ef13=_0x333ae3;}_0x12a87a[_0x12a87a['length']-0x1]+=_0x1d8695[_0x407d51]['item']['offsetSize'],_0x1d9d56=_0x4b31aa['createPositionFromPath'](_0x373fb8,_0x12a87a);}}for(const _0x2d8c26 of _0x1d8695[_0x407d51]['markersStart'])_0x2dc67d['set'](_0x2d8c26,{'start':_0x1f8e67,'end':null});_0x197a3f('isRemoveSuggestion',_0x407d51,_0x1f8e67,_0x1d9d56),_0x197a3f('isAddSuggestion',_0x407d51,_0x1f8e67,_0x1d9d56),_0x197a3f('isRemoved',_0x407d51,_0x1f8e67,_0x1d9d56),_0x197a3f('isAdded',_0x407d51,_0x1f8e67,_0x1d9d56);for(const _0x4b8753 of _0x1d8695[_0x407d51]['markersEnd']){_0x2dc67d['get'](_0x4b8753)['end']=_0x1d9d56;}}for(const [_0x3d8fb6,_0x779bf7]of _0x2dc67d){const _0x240963=this['editor']['model']['createRange'](_0x779bf7['start'],_0x779bf7['end']);_0x373fb8['markers']['set'](_0x3d8fb6,_0x240963);}return _0x1ce9f1['sort']((_0x4294d2,_0x5daa4b)=>{const _0x37c189=_0x373fb8['markers']['get']('revision:'+_0x4294d2['id']),_0x4a3d93=_0x373fb8['markers']['get']('revision:'+_0x5daa4b['id']);return _0x37c189['start']['isBefore'](_0x4a3d93['start'])?-0x1:_0x37c189['start']['isAfter'](_0x4a3d93['start'])?0x1:_0x37c189['end']['isBefore'](_0x4a3d93['end'])?-0x1:_0x37c189['end']['isAfter'](_0x4a3d93['end'])?0x1:'add'===_0x4294d2['type']?-0x1:0x1;}),{'root':_0x373fb8,'changes':_0x1ce9f1};function _0x197a3f(_0x6e3bf6,_0x3669fb,_0x26fab8,_0x46749f){const _0x3f3569=!!_0x1d8695[_0x3669fb][_0x6e3bf6],_0x5431e6=_0x3f3569?_0x1d8695[_0x3669fb][_0x6e3bf6]['userId']:null,_0x288f98=_0x3669fb===_0x1d8695['length']-0x1,_0x2b7c53=_0x49a956[_0x6e3bf6][0x0],_0x32b43f=_0x537708['isObject'](_0x1d8695[_0x3669fb]['item']);!_0x1b6c5f[_0x6e3bf6]&&_0x3f3569?_0x1b6c5f[_0x6e3bf6]={'start':_0x26fab8,'tapeItem':_0x1d8695[_0x3669fb],'userId':_0x5431e6,'type':_0x6e3bf6}:_0x1b6c5f[_0x6e3bf6]&&!_0x3f3569?(_0x1b6c5f[_0x6e3bf6]['end']=_0x26fab8,_0x4191cf(_0x1b6c5f[_0x6e3bf6]),_0x1b6c5f[_0x6e3bf6]=null):_0x1b6c5f[_0x6e3bf6]&&_0x3f3569&&_0x1b6c5f[_0x6e3bf6]['userId']!==_0x5431e6&&(_0x1b6c5f[_0x6e3bf6]['end']=_0x26fab8,_0x2b7c53&&_0x2b7c53['userId']===_0x1b6c5f[_0x6e3bf6]['userId']||_0x4191cf(_0x1b6c5f[_0x6e3bf6]),_0x1b6c5f[_0x6e3bf6]={'start':_0x26fab8,'tapeItem':_0x1d8695[_0x3669fb],'userId':_0x5431e6,'type':_0x6e3bf6}),_0x1b6c5f[_0x6e3bf6]&&_0x32b43f&&('elementStart'!==_0x1d8695[_0x3669fb]['type']||_0x2b7c53&&_0x2b7c53['userId']===_0x5431e6||_0x49a956[_0x6e3bf6]['unshift']({'userId':_0x5431e6,'object':_0x1d8695[_0x3669fb]['item'],'change':_0x1b6c5f[_0x6e3bf6]}),'elementEnd'===_0x1d8695[_0x3669fb]['type']&&_0x2b7c53&&_0x2b7c53['object']===_0x1d8695[_0x3669fb]['item']&&(_0x49a956[_0x6e3bf6]['shift'](),_0x1b6c5f[_0x6e3bf6]=_0x2b7c53['change'])),_0x1b6c5f[_0x6e3bf6]&&_0x288f98&&(_0x1b6c5f[_0x6e3bf6]['end']=_0x46749f,_0x4191cf(_0x1b6c5f[_0x6e3bf6]),_0x1b6c5f[_0x6e3bf6]=null);}function _0x4191cf({start:_0x3cd011,end:_0x21eede,tapeItem:_0x2b3d95,userId:_0x42cd82,type:_0x29a31f}){const _0x2c698f=_0x2b3d95['item'],_0x2f5f1d=_0x4b31aa['schema']['isBlock'](_0x2c698f)&&!_0x4b31aa['schema']['isLimit'](_0x2c698f),_0x3b877e=_0x3cd011['nodeAfter']==_0x21eede['parent']&&_0x21eede['isAtStart'];if(_0x2f5f1d&&_0x3b877e)return;const _0x287787=_0x4b31aa['createRange'](_0x3cd011,_0x21eede),_0x6c0471=_0x2d7cab['get'](_0x42cd82),_0x4fec16=new r({'author':_0x6c0471,'type':'isAdded'==_0x29a31f||'isAddSuggestion'==_0x29a31f?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x29a31f||'isRemoveSuggestion'==_0x29a31f},'createdAt':new Date(),'rootName':_0x3c74e0});_0x1ce9f1['push'](_0x4fec16),_0x373fb8['markers']['set']('revision:'+_0x4fec16['id'],_0x287787);}function _0x5d3aa0(_0x168d89,_0x42e2a7){const _0x3c49d7=_0x168d89['getAttributes'](),_0xdffcc8=_0x42e2a7['getAttributes']();for(const _0x4daa03 of _0x3c49d7){if(_0x4daa03[0x1]!==_0x42e2a7['getAttribute'](_0x4daa03[0x0]))return!0x1;_0xdffcc8['next']();}return _0xdffcc8['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x49d7e7=>{const _0x12eec5=_0x49d7e7['markerName']['split'](':')[0x1],_0x50a9d5=this['_getChangeFromId'](_0x12eec5);if(!_0x50a9d5)return null;const _0xf849f3='add'==_0x50a9d5['type']?'insertion':'deletion',_0x2f51da=['ck-suggestion-marker','ck-suggestion-marker-'+_0xf849f3];return _0x50a9d5['data']['isSuggestion']&&_0x2f51da['push']('ck-suggestion-marker-'+_0xf849f3+'-new'),this['activeChange']==_0x50a9d5&&_0x2f51da['push']('ck-suggestion-marker--active'),{'classes':_0x2f51da,'attributes':{'data-change-id':_0x12eec5}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x1c174f=>{_0x1c174f['on']('element:pre',(_0x359091,_0x3b24b4,_0x58f704)=>{const _0x229135=_0x3b24b4['viewItem']['getChild'](0x0);if(!_0x229135||!_0x229135['is']('element','code'))return;if(!_0x58f704['consumable']['consume'](_0x229135,{'attributes':['vid_start','vid_end']}))return;const _0x489871=_0x3b24b4['modelRange']['start']['nodeAfter'];_0x58f704['writer']['setAttribute']('vid_start',_0x229135['getAttribute']('vid_start'),_0x489871),_0x58f704['writer']['setAttribute']('vid_end',_0x229135['getAttribute']('vid_end'),_0x489871);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x3beaf8=>{_0x3beaf8['on']('element',(_0x2de358,_0x2e78b4,_0x5a2c13)=>{if(!_0x5a2c13['consumable']['consume'](_0x2e78b4['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x2e78b4['modelRange']['isCollapsed'])return;const _0x223c3a=_0x2e78b4['modelRange']['start']['nodeAfter'];_0x223c3a['hasAttribute']('vid_start')||_0x223c3a['hasAttribute']('vid')||(_0x5a2c13['writer']['setAttribute']('vid_start',_0x2e78b4['viewItem']['getAttribute']('vid_start'),_0x223c3a),_0x5a2c13['writer']['setAttribute']('vid_end',_0x2e78b4['viewItem']['getAttribute']('vid_end'),_0x223c3a));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x3bd0e2=>_0x3bd0e2['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x555cce,[,_0x37fbbc])=>{['vid_start','vid_end','vid']['includes'](_0x37fbbc)&&(_0x555cce['return']=!0x0,_0x555cce['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x1f1425=>{_0x1f1425['on']('attribute:vid',(_0x7a7255,_0x5dea1d,_0x552d49)=>{if('\x20'!=_0x5dea1d['item']['data']||_0x5dea1d['item']['parent']['maxOffset']>0x1)return;if(!_0x552d49['consumable']['consume'](_0x5dea1d['item'],_0x7a7255['name']))return;const _0x47135a=_0x552d49['writer'],_0x13b3b5=_0x552d49['mapper']['toViewRange'](_0x5dea1d['range']);_0x47135a['wrap'](_0x13b3b5,_0x47135a['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x108b3c){const _0x32fcc7=_0x108b3c['plugins']['get']('RevisionViewer');return(_0x1c151e,_0x4cc94e,_0x527c2e)=>{const _0x2c1217=_0x4cc94e['markerName']['split'](':')[0x1],_0x1ba0aa=_0x32fcc7['_getChangeFromId'](_0x2c1217);if(!_0x1ba0aa)return null;const _0x1e3731='add'==_0x1ba0aa['type']?'split':'merge';if(!_0x527c2e['consumable']['test'](_0x4cc94e['markerRange'],_0x1c151e['name']))return;const _0x95fbf0=_0x4cc94e['markerRange']['getWalker'](),_0x102ecb=_0x4cc94e['markerRange']['start'],_0x249e34=_0x108b3c['model']['schema'];let _0x5ad139=null,_0x34fd72=null,_0x193807=!0x1,_0x3cd13f=!0x1;for(const _0x1196f2 of _0x95fbf0){const _0xaa8bf6=_0x1196f2['item'];_0x193807=_0x193807||_0x249e34['isContent'](_0xaa8bf6);const _0x435459=_0x527c2e['mapper']['toViewElement'](_0xaa8bf6);if(_0x435459&&_0x435459['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1196f2['type']&&(_0x249e34['isBlock'](_0xaa8bf6)&&!_0x249e34['isLimit'](_0xaa8bf6)&&(_0xaa8bf6['nextSibling']||_0x102ecb['isAtEnd']?_0x5ad139&&_0x5ad139['parent']==_0xaa8bf6||(_0x5ad139=_0xaa8bf6,_0x1106e2(_0x1196f2['previousPosition']),_0x3cd13f=!0x0):_0x34fd72=_0x34fd72||_0x1196f2['previousPosition']));}function _0x1106e2(_0x5263e1){const _0x282555=_0x527c2e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1e3731}),_0x35f4d5=_0x527c2e['mapper']['toViewPosition'](_0x5263e1);_0x1ba0aa['data']['isSuggestion']&&_0x527c2e['writer']['addClass']('ck-suggestion-marker-'+_0x1e3731+'-new',_0x282555),_0x32fcc7['activeChange']==_0x1ba0aa&&_0x527c2e['writer']['addClass']('ck-suggestion-marker--active',_0x282555),_0x527c2e['writer']['insert'](_0x35f4d5,_0x282555),_0x527c2e['mapper']['bindElementToMarker'](_0x282555,_0x4cc94e['markerName']);}_0x193807||_0x3cd13f||!_0x34fd72||_0x1106e2(_0x34fd72);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x1358ae,_0x4e293b,_0x287d53)=>{const _0x1c67e8=_0x287d53['mapper']['markerNameToElements'](_0x4e293b['markerName']);if(_0x1c67e8){for(const _0x1b06e0 of _0x1c67e8)(_0x1b06e0['hasClass']('ck-suggestion-marker-split')||_0x1b06e0['hasClass']('ck-suggestion-marker-merge'))&&(_0x287d53['mapper']['unbindElementFromMarkerName'](_0x1b06e0,_0x4e293b['markerName']),_0x287d53['writer']['remove'](_0x1b06e0));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x33f3c1,_0x4bff42,_0x3bd52e)=>{const _0x1ff1c5=_0x4bff42['markerName']['split'](':')[0x1],_0x5c8f89=this['_getChangeFromId'](_0x1ff1c5);if(!_0x5c8f89)return null;const _0x3dabb1='add'==_0x5c8f89['type']?'split':'merge';if(_0x3bd52e['consumable']['test'](_0x4bff42['markerRange'],_0x33f3c1['name']))for(const _0x593091 of _0x4bff42['markerRange']['getItems']()){if(!_0x593091['is']('element','softBreak'))continue;const _0x2aef25=_0x3bd52e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3dabb1}),_0x3a9e61=_0x3bd52e['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x593091));_0x5c8f89['data']['isSuggestion']&&_0x3bd52e['writer']['addClass']('ck-suggestion-marker-'+_0x3dabb1+'-new',_0x2aef25),this['activeChange']==_0x5c8f89&&_0x3bd52e['writer']['addClass']('ck-suggestion-marker--active',_0x2aef25),_0x3bd52e['writer']['insert'](_0x3a9e61,_0x2aef25),_0x3bd52e['mapper']['bindElementToMarker'](_0x2aef25,_0x4bff42['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0xed2cd9=>{for(const _0xf07624 of this['editor']['model']['document']['getRootNames']()){const _0x36af9c=this['editor']['model']['document']['getRoot'](_0xf07624),_0x1e7e7d=this['editor']['editing']['view']['document']['getRoot'](_0xf07624);if(_0x1e7e7d){const _0x3707b0=_0x36af9c['getAttribute']('revisionHistoryAttachChange');if(_0xed2cd9['removeAttribute']('data-change-id',_0x1e7e7d),_0xed2cd9['removeClass']('ck-revision-history-root-add',_0x1e7e7d),_0xed2cd9['removeClass']('ck-revision-history-root-remove',_0x1e7e7d),_0xed2cd9['removeClass']('ck-revision-history-root--active',_0x1e7e7d),_0x3707b0){const _0x5ee557=this['_getChangeFromId'](_0x3707b0);if(!_0x5ee557)return null;_0xed2cd9['setAttribute']('data-change-id',_0x3707b0,_0x1e7e7d),_0xed2cd9['addClass']('ck-revision-history-root-'+_0x5ee557['type'],_0x1e7e7d),this['activeChange']==_0x5ee557&&_0xed2cd9['addClass']('ck-revision-history-root--active',_0x1e7e7d);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x4291a8=>'revision-comment:'+_0x4291a8,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x48fc94=>'revision-suggestion:'+_0x48fc94,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x33e73c=>({'name':'suggestion:'+_0x33e73c,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x1f0fd6=>{const _0x3d4201=_0x1f0fd6['markerName']['split'](':')[0x1];return'insertion'!=_0x3d4201&&'deletion'!=_0x3d4201?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x3d4201]};}}),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',(_0x375e3a,_0x3c1312,_0x551a1f)=>{const _0x2d9a6f=_0x551a1f['mapper']['markerNameToElements'](_0x3c1312['markerName']);if(_0x2d9a6f){for(const _0x5c5f22 of _0x2d9a6f)_0x5c5f22['is']('uiElement')&&(_0x551a1f['mapper']['unbindElementFromMarkerName'](_0x5c5f22,_0x3c1312['markerName']),_0x551a1f['writer']['remove'](_0x5c5f22));}},{'priority':'high'});}['_getChangeFromId'](_0x2b18bc){return this['_changeIdToChange']['get'](_0x2b18bc);}['_getViewForChange'](_0x90060b){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x90060b),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x22e648,_0x2a28d5,_0x2016c3,_0x1d24f6)=>{_0x1d24f6&&this['_balloon']['remove'](_0x1d24f6),_0x2016c3&&(this['_balloon']['add']({'view':_0x2016c3,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0xedd7cc=this['editor']['editing'],_0x3af5ce=this['_getChangeFromId'](_0x2016c3['changeId']);let _0x2ce9b8;if(_0x3af5ce['data']['isOnRoot']){const _0x1494fa=_0xedd7cc['view']['getDomRoot'](_0x3af5ce['rootName']);_0x2ce9b8=Array['from'](_0x1494fa['getClientRects']());}else{const _0xa35dbc=this['editor']['model']['markers']['get']('revision:'+_0x2016c3['changeId']);_0x2ce9b8=Array['from'](_0xedd7cc['mapper']['markerNameToElements'](_0xa35dbc['name']))['map'](_0x23ddf0=>_0xedd7cc['view']['domConverter']['mapViewToDom'](_0x23ddf0))['map'](_0x214e7c=>Array['from'](_0x214e7c['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x2ce9b8[0x0];return _0x2ce9b8['find'](_0x416897=>_0x416897['top']-0x3<=this['_activeViewTarget']['y']&&_0x416897['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x416897['left']-0x3<=this['_activeViewTarget']['x']&&_0x416897['right']+0x3>=this['_activeViewTarget']['x'])||_0x2ce9b8[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x1c21a0,_0x1052d5,_0x42ba58,_0x2b8644)=>{this['activeView']=_0x42ba58?this['_getViewForChange'](_0x42ba58):null,this['editor']['model']['change'](()=>{const _0x51a393=this['editor']['editing'];_0x2b8644&&(_0x2b8644['data']['isOnRoot']?_0x51a393['view']['change'](_0x1fad86=>{_0x1fad86['removeClass']('ck-revision-history-root--active',_0x51a393['view']['document']['getRoot'](_0x2b8644['rootName']));}):_0x51a393['reconvertMarker']('revision:'+_0x2b8644['id'])),_0x42ba58&&(_0x42ba58['data']['isOnRoot']?_0x51a393['view']['change'](_0x205ae7=>{_0x205ae7['addClass']('ck-revision-history-root--active',_0x51a393['view']['document']['getRoot'](_0x42ba58['rootName']));}):_0x51a393['reconvertMarker']('revision:'+_0x42ba58['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x22b98c,_0x5da317)=>{if(this['activeChange'])return;const _0x52ca8=this['_findChangeIdFromDomTarget'](_0x5da317['target']),_0x502bea=this['_changeIdToChange']['get'](_0x52ca8);_0x502bea?(this['_activeViewTarget']={'x':_0x5da317['domEvent']['x'],'y':_0x5da317['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x502bea)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x529878,_0x24e47c)=>{const _0x3c63fa=this['_findChangeIdFromDomTarget'](_0x24e47c['target']),_0xef1fae=this['_changeIdToChange']['get'](_0x3c63fa);_0xef1fae?(this['_activeViewTarget']={'x':_0x24e47c['domEvent']['x'],'y':_0x24e47c['domEvent']['y']},_0xef1fae===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0xef1fae):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x27211f){do{const _0x21cdde=_0x27211f['getAttribute']('data-change-id');if(_0x21cdde)return _0x21cdde;_0x27211f=_0x27211f['parent'];}while(_0x27211f);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x476e07=>{for(const _0x25f578 of this['editor']['model']['markers'])_0x476e07['removeMarker'](_0x25f578);});}}function et(_0x2421d8,_0x4d644b){return(_0x3f48a1,_0x17ea0b,_0x198777)=>{if(!_0x198777['consumable']['test'](_0x17ea0b['markerRange'],_0x3f48a1['name']))return;const _0x3447f0=_0x17ea0b['markerRange']['getWalker'](),_0x316d48=_0x17ea0b['markerRange']['start'],_0x59ba8e=_0x2421d8['model']['schema'];let _0x2112f7=null,_0x5c9078=null,_0x3a6893=!0x1,_0x3b5d7a=!0x1;for(const _0x551ded of _0x3447f0){const _0x244e76=_0x551ded['item'];_0x3a6893=_0x3a6893||_0x59ba8e['isContent'](_0x244e76);const _0x3137ae=_0x198777['mapper']['toViewElement'](_0x244e76);if(_0x3137ae&&_0x3137ae['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x551ded['type']&&(_0x59ba8e['isBlock'](_0x244e76)&&!_0x59ba8e['isLimit'](_0x244e76)&&(_0x244e76['nextSibling']||_0x316d48['isAtEnd']?_0x2112f7&&_0x2112f7['parent']==_0x244e76||(_0x2112f7=_0x244e76,_0x14f47b(_0x551ded['previousPosition']),_0x3b5d7a=!0x0):_0x5c9078=_0x5c9078||_0x551ded['previousPosition']));}function _0x14f47b(_0xd0f10){const _0x3a2e2a=_0x198777['mapper']['toViewPosition'](_0xd0f10),_0x3787a1=_0x198777['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x4d644b});_0x198777['writer']['insert'](_0x3a2e2a,_0x3787a1),_0x198777['mapper']['bindElementToMarker'](_0x3787a1,_0x17ea0b['markerName']);}_0x3a6893||_0x3b5d7a||!_0x5c9078||_0x14f47b(_0x5c9078);};}class bt extends _0x4078ce{constructor(_0x59907c){super(_0x59907c);const _0x4b85e2=_0x59907c['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x4b85e2,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x4b85e2,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x216f01=this['editor'],_0x5c12fd=_0x216f01['plugins']['get'](d),_0x50afd0=_0x5c12fd['isReady']?_0x5c12fd['diff']['newRevisionId']:null;_0x216f01['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x50afd0);}['refresh'](){const {isReady:_0x5e5d41,isEnabled:_0x30f0a7}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x5e5d41&&_0x30f0a7;}}class yt extends _0x4078ce{['_step'];constructor(_0x1370df,{direction:_0x43b778}){super(_0x1370df);const _0x26cd4a=_0x1370df['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x43b778?0x1:-0x1,this['listenTo'](_0x26cd4a,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x26cd4a,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x26cd4a,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x556b8a=this['editor'],_0x41fac4=_0x556b8a['plugins']['get'](d),{isNavigationMode:_0x31031e,currentChangeNumber:_0x171cda}=_0x41fac4;let _0x328036;if(_0x41fac4['activeChange']=_0x31031e?_0x41fac4['diff']['changes']['get'](_0x171cda+this['_step']):_0x41fac4['diff']['changes']['first'],_0x41fac4['activeChange']['data']['isOnRoot'])_0x328036=_0x556b8a['editing']['view']['getDomRoot'](_0x41fac4['activeChange']['rootName']);else{const _0x5112ed=_0x556b8a['model']['markers']['get']('revision:'+_0x41fac4['activeChange']['id']);_0x328036=_0x21c2c0(_0x556b8a['editing'],_0x5112ed);}_0x5f2bc6({'target':_0x328036,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x3116ce,currentChangeNumber:_0x1c6fb1,numberOfChanges:_0x4427eb,isReady:_0x4d5002,isEnabled:_0xcea678}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0xcea678&&_0x4d5002&&_0x4427eb)&&(!_0x3116ce||(0x1===this['_step']?_0x1c6fb1<_0x4427eb-0x1:_0x1c6fb1>0x0));}}class li extends ts{constructor(_0x2cc638){super(_0x2cc638);const _0x10ba9e=this['bindTemplate'],_0x4d5820=new te(_0x2cc638),_0x407908=new te(_0x2cc638);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',(_0x3d79b2,_0x321e2b)=>_0x3d79b2&&_0x321e2b>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x4ed5c5,_0x11b8b2,_0x2d8f2f,_0x321d10)=>{if(!_0x4ed5c5)return y(_0x2cc638,'Loading...');if(!_0x2d8f2f)return y(_0x2cc638,'No\x20changes');const _0x44cdb7=y(_0x2cc638,'NUMBER_OF_CHANGES',_0x2d8f2f);return _0x321d10?y(_0x2cc638,'X_OF_Y_CHANGES',[_0x11b8b2+0x1,_0x2d8f2f]):_0x44cdb7;}),_0x4d5820['set']({'label':y(_0x2cc638,'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'}),_0x407908['set']({'label':y(_0x2cc638,'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'}),_0x4d5820['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x407908['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x4d5820['on']('execute',()=>this['fire']('execute','backward')),_0x407908['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',_0x10ba9e['if']('_isStatusLabelVisible','ck-hidden',_0x9e56b7=>!_0x9e56b7)]},'children':[{'text':_0x10ba9e['to']('isNavigationMode',_0x15607e=>_0x15607e?y(_0x2cc638,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x2cc638,'Total')+':\x20')}]},{'text':_0x10ba9e['to']('_statusText')}]},new _0x4a7340(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x4d5820,_0x407908]}]});}}const le='ck-editor__editable__loading-overlay';class fe extends _0x5641b0{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x127904=this['editor']['editing']['view'];_0x127904['change'](_0x285ae8=>{for(const _0x407b0f of _0x127904['document']['roots'])_0x285ae8['addClass'](le,_0x407b0f);});}['hide'](){const _0x56c731=this['editor']['editing']['view'];_0x56c731['change'](_0x37ca03=>{for(const _0x5484ee of _0x56c731['document']['roots'])_0x37ca03['removeClass'](le,_0x5484ee);});}}class R extends _0x5641b0{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,fe];}['init'](){const _0x12df93=this['editor'],_0x3f6c01=_0x12df93['plugins']['get'](d),_0x145076=_0x12df93['plugins']['get'](fe);_0x12df93['ui']['componentFactory']['add']('exitToEditing',_0x4f6376=>{const _0x3b12f2=new te(_0x4f6376);return _0x3b12f2['set']({'label':y(_0x4f6376,'Back\x20to\x20editing'),'icon':_0x204acd['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x3b12f2,'execute',()=>{_0x12df93['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x3b12f2;}),_0x12df93['ui']['componentFactory']['add']('restoreRevision',_0x10a371=>{const _0x2b3511=new te(_0x10a371);return _0x2b3511['set']({'label':y(_0x10a371,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x2b3511['bind']('isEnabled')['to'](_0x12df93['commands']['get']('restoreRevision')),this['listenTo'](_0x2b3511,'execute',()=>_0x12df93['execute']('restoreRevision')),_0x2b3511;}),_0x12df93['ui']['componentFactory']['add']('changesNavigation',_0x3bca78=>{const _0x44ee2f=new li(_0x3bca78),_0x2f5249=_0x12df93['commands']['get']('showPreviousChange'),_0x3ec0f7=_0x12df93['commands']['get']('showNextChange');return _0x44ee2f['bind']('isBackwardNavigationEnabled')['to'](_0x2f5249,'isEnabled'),_0x44ee2f['bind']('isForwardNavigationEnabled')['to'](_0x3ec0f7,'isEnabled'),_0x44ee2f['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x3f6c01),this['listenTo'](_0x44ee2f,'execute',(_0x29eb7d,_0x215683)=>{_0x12df93['execute']('forward'===_0x215683?'showNextChange':'showPreviousChange');}),_0x44ee2f;}),_0x145076['show'](),_0x3f6c01['on']('change:isReady',(_0x2d617c,_0x774a00,_0x469c5e)=>{_0x469c5e?_0x145076['hide']():_0x145076['show']();});}}class mt extends _0x26e7d9{['_resizeObserver']=null;constructor(_0x3b9250,_0x330bd6){super(_0x3b9250,_0x330bd6);const _0xb1cb0e=this['bindTemplate'];this['set']({'label':y(_0x3b9250,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x3b9250,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0xb1cb0e['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new at(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0xc8bb8e=this['fieldView']['element'];this['_tooltipString']=_0xc8bb8e['scrollWidth']>_0xc8bb8e['clientWidth']&&_0xc8bb8e['value']||'';}}class ri extends ts{constructor(_0x3df6ad,_0x16e5f6,_0x125dfd){super(_0x3df6ad);const _0x2149fd=new _0x2b1894();_0x2149fd['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 _0x81ba21=['ck','ck-revision-history-sidebar__revision-author'];_0x125dfd&&_0x81ba21['push']('ck-revision-history-sidebar__revision-author_creator');const _0x57080c=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x3df6ad,_0x125dfd?'Revision\x20creator':'Revision\x20author')},'children':[_0x2149fd,_0x16e5f6['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x81ba21},'children':_0x57080c});}}function oi(_0x32069f,_0x17271b){const _0xdd4a63=_0x32069f['bindTemplate'],_0x18fb46=_0x32069f['locale'],_0x53ffc0=_0x118a74(_0x18fb46);_0x53ffc0['panelPosition']='sw';const _0x545b07=function(_0x45d173,_0x168a7c){const _0x382799=function(_0x557160,_0x457f44){const _0x404b9f=_0x557160['locale'],_0x595624={'Compare\x20against\x20selected':y(_0x404b9f,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x404b9f,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x404b9f,'Restore\x20this\x20revision')};return _0x457f44['map'](_0x40b2a6=>{const _0xdcd162=_0x595624[_0x40b2a6['name']];return _0xdcd162&&_0xdcd162!==_0x40b2a6['name']&&(_0x40b2a6['name']=_0xdcd162),_0x40b2a6;});}(_0x45d173,_0x168a7c),_0x44a193=new _0x504d6c();for(const _0x31c4a6 of _0x382799){const _0x5d4410={'type':'button','model':new _0x568eff({'label':_0x31c4a6['name'],'class':_0x31c4a6['class'],'withText':!0x0,'role':'menuitem','_action':_0x31c4a6['action']})};_0x5d4410['model']['bind']('isEnabled')['to'](_0x45d173,'isActionsDropdownOpen',_0xb0ca27=>'function'!=typeof _0x31c4a6['isEnabled']||(!_0xb0ca27||_0x31c4a6['isEnabled'](_0x45d173))),_0x44a193['add'](_0x5d4410);}return _0x44a193;}(_0x32069f,_0x17271b);return _0x32069f['bind']('isActionsDropdownOpen')['to'](_0x53ffc0,'isOpen'),_0x53ffc0['buttonView']['set']({'label':y(_0x18fb46,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x204acd['threeVerticalDots']}),_0x53ffc0['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0xdd4a63['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0xdd4a63['to'](_0x251041=>_0x251041['stopPropagation']())}}),_0x53ffc0['on']('execute',_0xbc0257=>{_0x32069f['isReady']&&'function'==typeof _0xbc0257['source']['_action']&&_0xbc0257['source']['_action'](_0x32069f);}),to(_0x53ffc0,_0x545b07,{'role':'menu'}),_0x53ffc0['listenTo'](_0x32069f,'change:isActionsDropdownOpen',(_0x26697f,_0x5dca74,_0x209039)=>{if(_0x209039)for(const _0x3cf522 of _0x53ffc0['listView']['items']){const _0x3671e9=_0x3cf522['children']['first'],_0x2603a3=_0x17271b['find'](_0x1268b4=>_0x1268b4['action']===_0x3671e9['_action'])['isVisible'];_0x3cf522['isVisible']=void 0x0===_0x2603a3||_0x2603a3(_0x32069f);}}),_0x53ffc0;}class hi extends/* #__PURE__ -- @preserve */
26
- ti(ts){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x18d2d9,_0x96f4cd,_0x27441a,_0x566d1c){super(_0x18d2d9);const _0x1e357d=this['bindTemplate'],_0x272393=function(_0x5197af,_0x170013){const _0xd592a0=Array['from'](_0x170013['authors'])['filter'](_0x30fd8a=>_0x30fd8a!=_0x170013['creator']);return _0x170013['creator']&&_0xd592a0['unshift'](_0x170013['creator']),_0xd592a0['map'](_0x16a447=>new ri(_0x5197af,_0x16a447,_0x16a447==_0x170013['creator']));}(_0x18d2d9,_0x96f4cd);this['id']=_0x96f4cd['id'],this['_revision']=_0x96f4cd,this['_requireRevisionName']=_0x566d1c,this['bind']('name','createdAt')['to'](_0x96f4cd),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x203648=>{return _0x4c7e39=_0x18d2d9['uiLanguage'],(_0x5b6714=_0x203648)['toLocaleDateString'](_0x4c7e39,{'month':'long','day':'numeric'})+',\x20'+_0x5b6714['toLocaleTimeString'](_0x4c7e39,{'hour':'numeric','minute':'numeric'});var _0x4c7e39,_0x5b6714;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new mt(_0x18d2d9,_0x4edbb9),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x33607f=>_0x33607f||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x374d9c,_0x22932b)=>_0x374d9c&&_0x22932b),this['revisionActionsView']=_0x27441a&&_0x27441a['length']?oi(this,_0x27441a):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x1e357d['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x1e357d['if']('isEnabled','ck-disabled',_0x3a98c9=>!_0x3a98c9),_0x1e357d['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x1e357d['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x1e357d['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':_0x1e357d['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':_0x272393}]},this['revisionActionsView']],'on':{'click':_0x1e357d['to'](_0x192e7a=>{_0x192e7a['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x5c56d3=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x5c56d3,'change',()=>{this['_requireRevisionName']&&!_0x5c56d3['value']||this['fire']('setName',{'id':this['id'],'name':_0x5c56d3['value']}),_0x5c56d3['value']||(_0x5c56d3['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function ci(_0x3bc252,_0x5d9abe){const _0x5b299f=_0x4e0933['fromJSDate'](_0x3bc252)['setLocale'](_0x5d9abe),_0x270b5b=_0x4e0933['local'](),_0xb5748a=_0x270b5b['minus']({'days':0x1})['startOf']('day');let _0x5d453a,_0x55c9e7;return _0x5b299f['hasSame'](_0x270b5b,'day')?(_0x5d453a=_0x5b299f['startOf']('day')['toJSDate'](),_0x55c9e7=_0x5b299f['toRelativeCalendar']()):_0x5b299f['hasSame'](_0xb5748a,'day')?(_0x5d453a=_0xb5748a['toJSDate'](),_0x55c9e7=_0x5b299f['toRelativeCalendar']()):_0x5b299f['hasSame'](_0x270b5b,'week')?(_0x5d453a=_0x5b299f['startOf']('week')['toJSDate'](),_0x55c9e7=_0x5b299f['weekdayLong']||''):_0x5b299f['hasSame'](_0x270b5b,'year')?(_0x5d453a=_0x5b299f['startOf']('month')['toJSDate'](),_0x55c9e7=_0x5b299f['monthLong']||''):(_0x5d453a=_0x5b299f['startOf']('year')['toJSDate'](),_0x55c9e7=String(_0x5b299f['year'])),{'startDate':_0x5d453a,'localizedPeriodName':_0x55c9e7};}class ai extends ts{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x587c17,_0x41fd50,_0x1edecf,_0x22fd90){super(_0x587c17);const _0x557779=ci(_0x41fd50,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x41fd50,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x1edecf,this['_requireRevisionName']=_0x22fd90,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':_0x557779}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x55cad1){const _0x352d80=new hi(this['locale'],_0x55cad1,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x352d80);}['removeRevision'](_0x510560){const _0x47db3e=this['revisionViews']['find'](_0x3f9807=>_0x3f9807['id']===_0x510560['id']);this['revisionViews']['remove'](_0x47db3e);}}class as extends ts{constructor(_0x171987){super(_0x171987);const _0x405838=new _0x2b1894();_0x405838['content']=_0x204acd['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x405838,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x171987,'Revision\x20history')]}]});}}class ni extends ts{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x74c942,_0xcedc2,_0x5c17a3,_0x6cd81a){super(_0x74c942);const _0x51dcce=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0xcedc2,this['_revisionActions']=_0x5c17a3,this['_requireRevisionName']=_0x6cd81a,this['on']('select',(_0x3dbd52,_0x51254b)=>{this['fire']('revisionSelected',_0x51254b);}),this['on']('setName',(_0x7b7763,_0x4b0934)=>{this['fire']('revisionSetName',_0x4b0934);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x74c942),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x51dcce['if']('isEnabled','ck-disabled',_0x2fdd03=>!_0x2fdd03)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x738fb7 of this['_revisions'])this['_addRevision'](_0x738fb7);this['_revisions']['on']('add',(_0x12b713,_0x4d8954)=>{this['_addRevision'](_0x4d8954);}),this['_revisions']['on']('remove',(_0x59a088,_0xf86219)=>{this['_removeRevision'](_0xf86219);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x43fa43=>_0x43fa43['revisionViews']['map'](_0x31bc22=>_0x31bc22))['flat']();}['selectRevision'](_0x52b16f){for(const _0x24e8cc of this['revisionViews'])_0x52b16f&&_0x52b16f['id']===_0x24e8cc['id']?_0x24e8cc['select']():_0x24e8cc['deselect']();}['highlightRevisions'](_0x5e7a9f){for(const _0x51e46d of this['revisionViews'])_0x5e7a9f['some'](({id:_0x1a7b01})=>_0x1a7b01===_0x51e46d['id'])?_0x51e46d['highlight']():_0x51e46d['unhighlight']();}['_addRevision'](_0x3659a4){const _0x135a1b=ci(_0x3659a4['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x131aa3=this['timePeriodViews']['get'](0x0);_0x131aa3&&_0x131aa3['startDate']['getTime']()===_0x135a1b['getTime']()||(_0x131aa3=new ai(this['locale'],_0x135a1b,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x131aa3)),_0x131aa3['addRevision'](_0x3659a4);}['_removeRevision'](_0x5162dc){const _0x469862=ci(_0x5162dc['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x469862)['removeRevision'](_0x5162dc);}['_getTimePeriodViewByStartDate'](_0x4ce9bb){return this['timePeriodViews']['find'](_0xf77a07=>_0xf77a07['startDate']['getTime']()===_0x4ce9bb['getTime']());}}class w extends _0x5641b0{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{ObservableMixin as _0x575ae5,uid as _0x497491,Collection as _0x2af926,logWarning as _0x4f58d1,FocusTracker as _0x48864f,KeystrokeHandler as _0x290d5d,scrollViewportToShowTarget as _0x479144,ResizeObserver as at,ElementReplacer as nt,CKEditorError as _0x40723b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{cloneDeep as _0x205b47,set as _0xbf78ec,unset as _0x29133d,isEqual as _0x49a462}from'lodash-es';import{Plugin as _0x5cf14b,Context as _0x2b9e46,PendingActions as _0x37c3a3,icons as _0x5eadf1,Command as _0x29a981,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{Users as _0xfe3709,getMarkerDomElement as _0x27a391,ConfirmMixin as ti,sanitizeEditorConfig as _0x4f420b}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x591c68,ViewText as _0x2bf891,ViewElement as _0x30ac93,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x2138c6,ViewAttributeElement as _0x363512,ViewEmptyElement as _0x2299d5,ViewRawElement as _0x22b971,ViewUIElement as _0x3b2686,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{View as ts,injectCssTransitionDisabler as _0x2f0aaf,submitHandler as _0x25d4e9,LabeledFieldView as _0x35a0a1,createLabeledInputText as _0x169b0b,createDropdown as _0x42fdea,ListView as _0x42fab7,ListItemView as _0x1ca4b0,ButtonView as te,MenuBarMenuView as _0x445a03,MenuBarMenuListView as _0x11d8bf,MenuBarMenuListItemView as _0x35a69f,MenuBarMenuListItemButtonView as _0x44a249,ContextualBalloon as _0x2dd35c,ToolbarSeparatorView as _0x469b06,IconView as _0x2194fe,addListToDropdown as to,ViewModel as _0x34129a,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 _0x4530d6}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x575ae5(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x5c12bc){super(),this['id']=_0x5c12bc['id']||_0x497491(),this['creator']=_0x5c12bc['creator']||null,this['authors']=_0x5c12bc['authors']||[],this['diffData']=_0x5c12bc['diffData']||null,this['toVersion']=_0x5c12bc['toVersion']||0x0,this['fromVersion']=_0x5c12bc['fromVersion']||0x0,this['set']('name',_0x5c12bc['name']||''),this['set']('createdAt',_0x5c12bc['createdAt']||new Date()),this['set']('attributes',_0x5c12bc['attributes']||{});}['setName'](_0x5cb4cd){this['_update']({'name':_0x5cb4cd});}['setAttribute'](_0x75dcf7,_0x256b6d){const _0x1d1d74=_0x205b47(this['attributes']);_0xbf78ec(_0x1d1d74,_0x75dcf7,_0x256b6d),this['_update']({'attributes':_0x1d1d74});}['removeAttribute'](_0x152f52){const _0x11fb76=_0x205b47(this['attributes']);_0x29133d(_0x11fb76,_0x152f52),this['_update']({'attributes':_0x11fb76});}['_update'](_0x200ce1,_0x4772f5=!0x1){let _0x356f77=!0x1;const _0x80b5d={'id':this['id']},_0x1f1c9a=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x3a260a of _0x1f1c9a){const _0x44b705=_0x200ce1[_0x3a260a];void 0x0!==_0x44b705&&_0x44b705!==this[_0x3a260a]&&(this[_0x3a260a]=_0x44b705,_0x80b5d[_0x3a260a]=_0x44b705,_0x356f77=!0x0);}_0x356f77&&(_0x80b5d['authors']&&(_0x80b5d['authorsIds']=_0x80b5d['authors']['map'](_0x3f9122=>_0x3f9122['id']),delete _0x80b5d['authors']),this['fire']('_update',_0x80b5d,_0x4772f5));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x128e2b=>_0x128e2b['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x5cf14b{['_revisions'];static get['requires'](){return[_0xfe3709];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x5563b0){super(_0x5563b0),this['_revisions']=new _0x2af926();}['afterInit'](){!function(_0x222c62){function _0x46d648(_0x4f0dfd,_0x29913d,_0x136098){const _0xd744={};_0xd744[_0x1ec036([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0xd744[_0x1ec036([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],_0xd744[_0x1ec036([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],_0xd744[_0x1ec036([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],_0xd744[_0x1ec036([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],_0xd744[_0x1ec036([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],_0xd744[_0x1ec036([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],_0xd744[_0x1ec036([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],_0xd744[_0x1ec036([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],_0xd744[_0x1ec036([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],_0xd744[_0x1ec036([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 _0x4ebb82=new Uint8Array(0x10);for(let _0x5cfca6=0xf;_0x5cfca6>=0x0;--_0x5cfca6)_0x4ebb82[_0x5cfca6]=_0x136098%0x100,_0x136098=parseInt(_0x136098/0x100);let _0x10f423=null,_0x5add92=0x10;const _0x5088fd=new Uint8Array(_0x29913d),_0x24a619=[],_0x5a1099=[];_0x1887e8();for(let _0x4fc642=0x0;_0x4fc642<_0x4f0dfd[_0x1ec036([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4fc642++)0x10===_0x5add92&&(_0x10f423=_0x4c43ed(_0x4ebb82),_0x5add92=0x0,_0x233b59(_0x4ebb82)),_0x4f0dfd[_0x4fc642]^=_0x10f423[_0x5add92++];return _0x4f0dfd;function _0x1549c8(_0x456efd){const _0x452c1f=[];for(let _0x5aeeae=0x0;_0x5aeeae<_0x456efd[_0x1ec036([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5aeeae+=0x4)_0x452c1f[_0x1ec036([0x70,0x75,0x73,0x68])](_0x456efd[_0x5aeeae]<<0x18|_0x456efd[_0x5aeeae+0x1]<<0x10|_0x456efd[_0x5aeeae+0x2]<<0x8|_0x456efd[_0x5aeeae+0x3]);return _0x452c1f;}function _0x233b59(_0x299007){for(let _0x40ce3f=0xf;_0x40ce3f>=0x0;_0x40ce3f--){if(0xff!==_0x299007[_0x40ce3f]){_0x299007[_0x40ce3f]++;break;}_0x299007[_0x40ce3f]=0x0;}}function _0x4c43ed(_0x2e9cab){const _0x4f7dac=_0x24a619[_0x1ec036([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x345135=[0x0,0x0,0x0,0x0];let t=_0x1549c8(_0x2e9cab);for(let _0x3278f7=0x0;_0x3278f7<0x4;_0x3278f7++)t[_0x3278f7]^=_0x24a619[0x0][_0x3278f7];for(let _0xc01e30=0x1;_0xc01e30<_0x4f7dac;_0xc01e30++){for(let _0x5063dd=0x0;_0x5063dd<0x4;_0x5063dd++)_0x345135[_0x5063dd]=_0xd744[_0x1ec036([0x54,0x31])][t[_0x5063dd]>>0x18&0xff]^_0xd744[_0x1ec036([0x54,0x32])][t[(_0x5063dd+0x1)%0x4]>>0x10&0xff]^_0xd744[_0x1ec036([0x54,0x33])][t[(_0x5063dd+0x2)%0x4]>>0x8&0xff]^_0xd744[_0x1ec036([0x54,0x34])][0xff&t[(_0x5063dd+0x3)%0x4]]^_0x24a619[_0xc01e30][_0x5063dd];t=_0x345135[_0x1ec036([0x73,0x6c,0x69,0x63,0x65])]();}const _0x313f1a=new Uint8Array(0x10);let _0x264f93;for(let _0x3189ba=0x0;_0x3189ba<0x4;_0x3189ba++)_0x264f93=_0x24a619[_0x4f7dac][_0x3189ba],_0x313f1a[0x4*_0x3189ba]=0xff&(_0xd744[_0x1ec036([0x53])][t[_0x3189ba]>>0x18&0xff]^_0x264f93>>0x18),_0x313f1a[0x4*_0x3189ba+0x1]=0xff&(_0xd744[_0x1ec036([0x53])][t[(_0x3189ba+0x1)%0x4]>>0x10&0xff]^_0x264f93>>0x10),_0x313f1a[0x4*_0x3189ba+0x2]=0xff&(_0xd744[_0x1ec036([0x53])][t[(_0x3189ba+0x2)%0x4]>>0x8&0xff]^_0x264f93>>0x8),_0x313f1a[0x4*_0x3189ba+0x3]=0xff&(_0xd744[_0x1ec036([0x53])][0xff&t[(_0x3189ba+0x3)%0x4]]^_0x264f93);return _0x313f1a;}function _0x1887e8(){const _0x4f67bb=_0xd744[_0x1ec036([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x5088fd[_0x1ec036([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x4729f1=0x0;_0x4729f1<=_0x4f67bb;_0x4729f1++)_0x24a619[_0x1ec036([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x5a1099[_0x1ec036([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x362d5c=0x4*(_0x4f67bb+0x1),_0x499fac=_0x5088fd[_0x1ec036([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x8e887c=_0x1549c8(_0x5088fd);let _0x1817a3;for(let _0x37d7b4=0x0;_0x37d7b4<_0x499fac;_0x37d7b4++)_0x1817a3=_0x37d7b4>>0x2,_0x24a619[_0x1817a3][_0x37d7b4%0x4]=_0x8e887c[_0x37d7b4],_0x5a1099[_0x4f67bb-_0x1817a3][_0x37d7b4%0x4]=_0x8e887c[_0x37d7b4];let _0x223a8e,_0x12a383=0x0,t=_0x499fac;for(;t<_0x362d5c;){_0x223a8e=_0x8e887c[_0x499fac-0x1],_0x8e887c[0x0]^=_0xd744[_0x1ec036([0x53])][_0x223a8e>>0x10&0xff]<<0x18^_0xd744[_0x1ec036([0x53])][_0x223a8e>>0x8&0xff]<<0x10^_0xd744[_0x1ec036([0x53])][0xff&_0x223a8e]<<0x8^_0xd744[_0x1ec036([0x53])][_0x223a8e>>0x18&0xff]^_0xd744[_0x1ec036([0x72,0x63,0x6f,0x6e])][_0x12a383]<<0x18,_0x12a383+=0x1;for(let _0x1b1cd8=0x1;_0x1b1cd8<_0x499fac/0x2;_0x1b1cd8++)_0x8e887c[_0x1b1cd8]^=_0x8e887c[_0x1b1cd8-0x1];_0x223a8e=_0x8e887c[_0x499fac/0x2-0x1],_0x8e887c[_0x499fac/0x2]^=_0xd744[_0x1ec036([0x53])][0xff&_0x223a8e]^_0xd744[_0x1ec036([0x53])][_0x223a8e>>0x8&0xff]<<0x8^_0xd744[_0x1ec036([0x53])][_0x223a8e>>0x10&0xff]<<0x10^_0xd744[_0x1ec036([0x53])][_0x223a8e>>0x18&0xff]<<0x18;for(let _0x5e63ab=_0x499fac/0x2+0x1;_0x5e63ab<_0x499fac;_0x5e63ab++)_0x8e887c[_0x5e63ab]^=_0x8e887c[_0x5e63ab-0x1];let _0x23dbd0,_0x5b40ed,_0x17c9b3=0x0;for(;_0x17c9b3<_0x499fac&&t<_0x362d5c;)_0x23dbd0=t>>0x2,_0x5b40ed=t%0x4,_0x24a619[_0x23dbd0][_0x5b40ed]=_0x8e887c[_0x17c9b3],_0x5a1099[_0x4f67bb-_0x23dbd0][_0x5b40ed]=_0x8e887c[_0x17c9b3++],t++;}for(let _0x1cfe47=0x1;_0x1cfe47<_0x4f67bb;_0x1cfe47++)for(let _0x1ed3f2=0x0;_0x1ed3f2<0x4;_0x1ed3f2++)_0x223a8e=_0x5a1099[_0x1cfe47][_0x1ed3f2],_0x5a1099[_0x1cfe47][_0x1ed3f2]=_0xd744[_0x1ec036([0x55,0x31])][_0x223a8e>>0x18&0xff]^_0xd744[_0x1ec036([0x55,0x32])][_0x223a8e>>0x10&0xff]^_0xd744[_0x1ec036([0x55,0x33])][_0x223a8e>>0x8&0xff]^_0xd744[_0x1ec036([0x55,0x34])][0xff&_0x223a8e];}}function _0x1ec036(_0x930b33){return _0x930b33['map'](_0x4c7587=>String['fromCharCode'](_0x4c7587))['join']('');}(_0x4ddb75=>{function _0x280971(){const _0x37f557=[{[_0x1ec036([0x69,0x64])]:0x1,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x1ec036([0x69,0x64])]:0x2,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([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]),[_0x1ec036([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1ec036([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x1ec036([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x1ec036([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x1ec036([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1ec036([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x1ec036([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x1ec036([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x1ec036([0x69,0x64])]:0x3,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1ec036([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x1ec036([0x69,0x64])]:0x4,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([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]),[_0x1ec036([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1ec036([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x1ec036([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x1ec036([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x1ec036([0x69,0x64])]:0x5,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1ec036([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]),[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1ec036([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1ec036([0x66,0x67,0x69])]:[0xc]}},{[_0x1ec036([0x69,0x64])]:0x6,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1ec036([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1ec036([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1ec036([0x66,0x67,0x69])]:[0xc]}},{[_0x1ec036([0x69,0x64])]:0x7,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1ec036([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1ec036([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1ec036([0x66,0x67,0x69])]:[0xc]}},{[_0x1ec036([0x69,0x64])]:0x8,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1ec036([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]),[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1ec036([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1ec036([0x66,0x67,0x69])]:[0xc]}},{[_0x1ec036([0x69,0x64])]:0x9,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1ec036([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1ec036([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1ec036([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x1ec036([0x69,0x64])]:0xa,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([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]),[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1ec036([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]),[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1ec036([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]),[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1ec036([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1ec036([0x66,0x67,0x69])]:[0xc]}},{[_0x1ec036([0x69,0x64])]:0xb,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1ec036([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x1ec036([0x69,0x64])]:0xc,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x1ec036([0x69,0x64])]:0xd,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1ec036([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1ec036([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1ec036([0x66,0x67,0x69])]:[0xc]}},{[_0x1ec036([0x69,0x64])]:0xe,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x1ec036([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([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])},{[_0x1ec036([0x69,0x64])]:0xf,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1ec036([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x1ec036([0x69,0x64])]:0x10,[_0x1ec036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1ec036([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1ec036([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1ec036([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1ec036([0x66,0x67,0x69])]:[0xc]}}];return _0x52604a(_0x37f557),_0x37f557;function _0x4f8617(_0x466913){return 0x1<<_0x466913-0x1;}function _0x52604a(_0x11e083){_0x11e083[_0x1ec036([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xbfd680=>{_0xbfd680[_0x1ec036([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x4f8617(_0xbfd680[_0x1ec036([0x69,0x64])]),_0x4e162f(_0xbfd680)&&_0xbfd680[_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x52604a(_0xbfd680[_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x4e162f(_0x321603){return _0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x321603;}const _0x5782ed=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x2166ab=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x527e53(_0x5a11ff){const _0xeeddf2=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x21124e(_0x5a11ff,new Uint8Array([..._0x5782ed,..._0xeeddf2,..._0x2166ab]));}function _0x21124e(_0x37f5f1,_0x5482d8){const _0x47c666=_0x295520(_0x37f5f1),_0x467ae6=Array[_0x1ec036([0x66,0x72,0x6f,0x6d])](_0x231a28(_0x47c666)),_0x3928e0=_0x467ae6[_0x1ec036([0x70,0x6f,0x70])](),_0x5f3d22=_0x467ae6[_0x1ec036([0x70,0x6f,0x70])]();return _0x240df(_0x46d648(_0x467ae6,_0x5482d8,_0x5f3d22+0x100*_0x3928e0));}function _0x295520(_0xb998ef){const _0x7cc3c3=atob(_0xb998ef),[_0x1fef41,_0x549f38]=_0x7cc3c3[_0x1ec036([0x73,0x70,0x6c,0x69,0x74])](_0x1ec036([0x2d]));try{if(atob(_0x549f38))return atob(_0x1fef41);}catch(_0x24a04a){}return _0x7cc3c3;}function _0x46d090(_0x31edb5){try{const _0x367cb5=_0x527e53(_0x31edb5),_0x31cff6=JSON[_0x1ec036([0x70,0x61,0x72,0x73,0x65])](_0x367cb5),_0x14f9a0=parseInt(_0x31cff6[_0x1ec036([0x31])]),_0x4dc4c0=_0x31cff6[_0x1ec036([0x32])]||'',_0x3c09ae=parseInt(_0x31cff6[_0x1ec036([0x33])]),_0xbf6a78=parseInt(_0x31cff6[_0x1ec036([0x34])])||0x0,_0xd8d6fe=parseInt(_0x31cff6[_0x1ec036([0x35])])||0x0;return{[_0x1ec036([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x4dc4c0,[_0x1ec036([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0xbf6a78,[_0x1ec036([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x14f9a0,[_0x1ec036([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x3c09ae,[_0x1ec036([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0xd8d6fe};}catch(_0x2a5fde){return null;}}const _0x3df0ef=_0x280971(),_0x8a1ee7={[_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x2aa5ee,[_0x1ec036([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])]:_0x1430e3,[_0x1ec036([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])]:_0x437844},_0x71e1f1=_0x4ddb75[_0x1ec036([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x17f6da=_0x1ec036([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x4ddb75?_0x4ddb75['context']:_0x4ddb75['editor'],_0x305205=_0x1ec036([0x34,0x30,0x34,0x38,0x31,0x38,0x31,0x30]),_0x312e37=_0x1ec036([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]),_0x48bf66=_0x17f6da['config']['get'](_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0xc8ebfe=_0x3df0ef[_0x1ec036([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e162f)[_0x1ec036([0x66,0x69,0x6e,0x64])](_0xb1aaca=>_0xb1aaca[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x71e1f1);function _0x7523b7(_0x38bc49,_0x4e0ccd){_0x8a1ee7[_0x4e0ccd[_0x1ec036([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x38bc49,_0x4e0ccd),_0x4e0ccd[_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4e0ccd[_0x1ec036([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x1ec036([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x519a0c=>_0x5deae1(_0x17f6da,_0x519a0c[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x1ec036([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2bca9b=>_0x7523b7(_0x38bc49,_0x2bca9b));}function _0x2aa5ee(_0x36183d,_0x4cdeb5){_0x388156(_0x240174(_0x36183d,_0x4cdeb5),_0x4cdeb5);}function _0x1430e3(_0x9ce1eb,_0x202510){function _0x49e4a9(_0x27414f,_0x442f49){try{if(_0x5deae1(_0x17f6da,_0x1ec036([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x27414f){const _0x55639c=_0x314a05(_0x17f6da,_0x1ec036([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x1ec036([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x55639c)/0x2>_0x27414f[_0x1ec036([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x57bd3a(_0x442f49[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x240174(_0x27414f,_0x442f49);}catch(_0x177e8a){return _0x57bd3a(_0x442f49[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x388156(_0x49e4a9(_0x9ce1eb,_0x202510),_0x202510);}function _0x437844(_0x1831c4,_0x1abdd7){const _0x51e68c=_0x2166ab[0x0]*_0x5782ed[0x1],_0x3a766a=_0x2166ab[0x0]*_0x5782ed[0x2],_0xbcf8fc=_0x2166ab[0x2]*_0x5782ed[0x2];_0x5deae1(_0x17f6da,_0x1ec036([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x314a05(_0x17f6da,_0x1ec036([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x1ec036([0x73,0x74,0x61,0x74,0x65])]==_0x1ec036([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x3e9523()]=_0xbcf8fc);function _0x5e2a83(_0x1f84db,_0x386ea4){try{return _0xa4b71d()?_0x57bd3a(_0x386ea4[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x56,0x61,0x6c,0x69,0x64])):_0x240174(_0x1f84db,_0x386ea4);}catch(_0x510c64){return _0x57bd3a(_0x386ea4[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0xa69032(_0x127696,_0x5aa746){const _0x5b3778=0x7;if(_0x127696==_0x5aa746[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x2c40eb();else{if(_0x127696==_0x5aa746[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x54,0x72,0x69,0x61,0x6c])){const _0x210896=_0x19f7f0();_0x210896&&_0x58926b(_0x210896,_0x5aa746[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x3b567c=_0x27f50c();window[_0x1ec036([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x58926b(_0x1ec036([0x74,0x69,0x6d,0x65]),_0x5aa746[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x3b567c);const _0x536cc2=_0x314a05(_0x17f6da,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x1ec036([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x536cc2[_0x1ec036([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x5b3778?_0x58926b(_0x1ec036([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x5aa746[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x536cc2['on'](_0x1ec036([0x61,0x64,0x64]),()=>{_0x536cc2[_0x1ec036([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x5b3778&&_0x58926b(_0x1ec036([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x5aa746[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x19f7f0(){if(!_0x5deae1(_0x17f6da,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x178e87 in window)if(Number['isNaN'](Number(_0x178e87))){if(window[_0x178e87]===_0x51e68c)return _0x1ec036([0x74,0x69,0x6d,0x65]);if(window[_0x178e87]===_0x3a766a)return _0x1ec036([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0xa4b71d(){if(!_0x5deae1(_0x17f6da,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x32972d in window)if(Number['isNaN'](Number(_0x32972d))&&window[_0x32972d]===_0xbcf8fc)return!0x0;return!0x1;}function _0x58926b(_0x7a6e3d,_0x500792){_0x2c40eb(),_0x57bd3a(_0x500792+_0x1ec036([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x7a6e3d),window[_0x3e9523()]=_0x7a6e3d===_0x1ec036([0x74,0x69,0x6d,0x65])?_0x51e68c:_0x3a766a;}function _0x27f50c(){let _0x2dd400=_0x2166ab[0x6]*_0x5782ed[0x8]*_0x5782ed[0x6];return _0x5deae1(_0x17f6da,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x2dd400/=0xa),_0x2dd400;}function _0x2c40eb(){const _0x295236=_0x17f6da;function _0x5582f6(){_0x5deae1(_0x295236,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x314a05(_0x295236,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1ec036([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x1ec036([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x314a05(_0x295236,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1ec036([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x314a05(_0x295236,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1ec036([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x6ca168,_0x314a05(_0x295236,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1ec036([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x6ca168,_0x295236[_0x1ec036([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ec036([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x6ca168,_0x295236[_0x1ec036([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ec036([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x6ca168,_0x295236[_0x1ec036([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1ec036([0x6d,0x6f,0x64,0x65,0x6c]))),_0x5deae1(_0x295236,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x314a05(_0x295236,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1ec036([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x1ec036([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x314a05(_0x295236,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1ec036([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x314a05(_0x295236,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1ec036([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x6ca168,_0x314a05(_0x295236,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1ec036([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x6ca168);}_0x295236[_0x1ec036([0x73,0x74,0x61,0x74,0x65])]==_0x1ec036([0x72,0x65,0x61,0x64,0x79])?_0x5582f6():_0x295236[_0x1ec036([0x6f,0x6e,0x63,0x65])](_0x1ec036([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x5deae1(_0x295236,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x5582f6(),_0x5deae1(_0x295236,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x271d82=_0x314a05(_0x295236,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x41dd3d=_0x271d82['getRevision'](0x0),_0x411964=_0x271d82['getEarlierVisibleRevision'](_0x41dd3d[_0x1ec036([0x69,0x64])]);_0x314a05(_0x295236,_0x1ec036([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1ec036([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x41dd3d[_0x1ec036([0x69,0x64])],_0x411964?_0x411964[_0x1ec036([0x69,0x64])]:null,0x1)['then'](()=>_0x5582f6());}});}_0xa69032(_0x5e2a83(_0x1831c4,_0x1abdd7),_0x1abdd7);}function _0x240174(_0x3e207b,_0x5c3ac1){try{return _0x5cb75e(_0x5c3ac1)?_0x57bd3a(_0x5c3ac1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x56,0x61,0x6c,0x69,0x64])):_0x3e207b&&_0x329523(_0x3e207b[_0x1ec036([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x5c3ac1)?_0x3e207b[_0x1ec036([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x1ec036([0x6f,0x70,0x65,0x6e])][_0x1ec036([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x305205)/0x2>_0x3e207b[_0x1ec036([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x57bd3a(_0x5c3ac1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x3e207b[_0x1ec036([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x57bd3a(_0x5c3ac1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x54,0x72,0x69,0x61,0x6c])):_0x57bd3a(_0x5c3ac1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x56,0x61,0x6c,0x69,0x64])):_0x57bd3a(_0x5c3ac1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x56e56d){return _0x57bd3a(_0x5c3ac1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x388156(_0x1cf29f,_0x3ad3a1){if(_0x17f6da instanceof _0x2b9e46){const _0x273151=_0x17f6da;_0x1cf29f==_0x3ad3a1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4f9df2(_0x273151):_0x1cf29f==_0x3ad3a1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x54,0x72,0x69,0x61,0x6c])&&window[_0x1ec036([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4f9df2(_0x273151),_0x57bd3a(_0x3ad3a1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x2166ab[0x6]*_0x5782ed[0x8]*_0x5782ed[0x6]),_0x273151[_0x1ec036([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x1ec036([0x6f,0x6e])](_0x1ec036([0x61,0x64,0x64]),(_0x3b0b3f,_0x47a978)=>{_0x1cf29f!=_0x3ad3a1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x1cf29f!=_0x3ad3a1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x1cf29f!=_0x3ad3a1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x4ecc78(_0x47a978);});}else{const _0x7db92d=_0x17f6da;_0x1cf29f==_0x3ad3a1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4ecc78(_0x7db92d):_0x1cf29f==_0x3ad3a1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x54,0x72,0x69,0x61,0x6c])&&_0x7db92d[_0x1ec036([0x6f,0x6e])](_0x1ec036([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x2e88fc=0x0;_0x7db92d[_0x1ec036([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ec036([0x6f,0x6e])](_0x1ec036([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1791a5,_0x4e9992)=>{_0x4e9992[0x0][_0x1ec036([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2e88fc++,0x1f8===_0x2e88fc&&(_0x4ecc78(_0x7db92d),_0x57bd3a(_0x3ad3a1[_0x1ec036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1ec036([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x1791a5[_0x1ec036([0x6f,0x66,0x66])]());},{'priority':_0x1ec036([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x57bd3a(_0x3bfc54){const _0x20b648=_0x3e9523();return _0x17f6da[_0x20b648]=_0x3bfc54,_0x3bfc54;}function _0x3e9523(){const _0x430b99=String(window[_0x1ec036([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1ec036([0x6e,0x6f,0x77])]())[_0x1ec036([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1ec036([0x2e]),'');let _0x39548e='';for(let _0x5b0084=0x0;_0x5b0084<_0x430b99[_0x1ec036([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b0084+=0x2){let _0x55f5e9=parseInt(_0x430b99[_0x1ec036([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b0084,_0x5b0084+0x2));_0x55f5e9>=_0x312e37[_0x1ec036([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x55f5e9-=_0x312e37[_0x1ec036([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x39548e+=_0x312e37[_0x55f5e9];}return _0x39548e;}function _0x4f9df2(_0x182dfe){for(const _0x2a1b2f of _0x182dfe[_0x1ec036([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x4ecc78(_0x2a1b2f);_0x314a05(_0x182dfe,_0x1ec036([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x1ec036([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x314a05(_0x182dfe,_0x1ec036([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x1ec036([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x6ca168;}function _0x4ecc78(_0x5e8202){function _0x321b16(){_0x5e8202[_0x1ec036([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ec036([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x6ca168,_0x5e8202[_0x1ec036([0x6d,0x6f,0x64,0x65,0x6c])][_0x1ec036([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x6ca168,_0x5e8202[_0x1ec036([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1ec036([0x6d,0x6f,0x64,0x65,0x6c]));}_0x5e8202[_0x1ec036([0x73,0x74,0x61,0x74,0x65])]==_0x1ec036([0x72,0x65,0x61,0x64,0x79])?_0x321b16():_0x5e8202[_0x1ec036([0x6f,0x6e,0x63,0x65])](_0x1ec036([0x72,0x65,0x61,0x64,0x79]),()=>_0x321b16());}function _0x6ca168(){return null;}function _0x329523(_0x1c3853,_0x4e18ea){const _0x294164=!!(_0x1c3853&_0x4e18ea[_0x1ec036([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x2d0ac5=_0x4d315b(_0x1c3853,_0x4e18ea);return _0x294164||_0x2d0ac5;}function _0x4d315b(_0x46b7d0,_0x4825f2){const _0x23941c=(_0x4825f2[_0x1ec036([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x1ec036([0x66,0x67,0x69])]||null;return!!_0x23941c&&_0x3df0ef[_0x1ec036([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xbbcbd7=>_0x23941c[_0x1ec036([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbbcbd7[_0x1ec036([0x69,0x64])]))[_0x1ec036([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a1b6a=>!_0x5ec5c4(_0x4a1b6a))[_0x1ec036([0x73,0x6f,0x6d,0x65])](_0x26f3e1=>!!(_0x46b7d0&_0x26f3e1[_0x1ec036([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x5ec5c4(_0x3aa89f){const _0x273e5c={[_0x1ec036([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])]:_0x1b539d};return!!_0x3aa89f['forbiddenHandler']&&_0x273e5c[_0x3aa89f['forbiddenHandler']]();}function _0x1b539d(){return!window[_0x1ec036([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x5deae1(_0x17f6da,_0x1ec036([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x5cb75e(_0xe659e6){if(!_0x5deae1(_0x17f6da,_0xe659e6[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x1e7789=_0xe659e6[_0x1ec036([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0xab70e4=_0x1e7789[_0x1ec036([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x22699a=_0x1e7789[_0x1ec036([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x29d9b8=_0x1e7789[_0x1ec036([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x5deae1(_0x17f6da,_0x1ec036([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x314a05(_0x17f6da,_0x1ec036([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x1ec036([0x73,0x74,0x61,0x74,0x65])]==_0x1ec036([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0xab70e4)return!0x0;if(_0x5deae1(_0x17f6da,_0x1ec036([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x314a05(_0x17f6da,_0x1ec036([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x1ec036([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x1ec036([0x65,0x6e,0x64])&&_0x22699a)return!0x0;return!(!_0x5deae1(_0x17f6da,_0x1ec036([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]))||_0x314a05(_0x17f6da,_0x1ec036([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]))[_0x1ec036([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x1ec036([0x65,0x6e,0x64])||!_0x29d9b8);}function _0x5deae1(_0x4ccdfd,_0x58a047){return _0x4ccdfd[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1ec036([0x68,0x61,0x73])](_0x58a047);}function _0x314a05(_0x395e4d,_0x1fa27c){return _0x395e4d[_0x1ec036([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1ec036([0x67,0x65,0x74])](_0x1fa27c);}function _0x240df(_0x1e00cf){let _0x4a0eaa='';for(const _0x1c7686 of _0x1e00cf)_0x4a0eaa+=String[_0x1ec036([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x1c7686);return _0x4a0eaa;}function _0x231a28(_0x22837a){const _0x1d8599=new Uint8Array(_0x22837a[_0x1ec036([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x4ba414=0x0;_0x4ba414<_0x22837a[_0x1ec036([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ba414++)_0x1d8599[_0x4ba414]=_0x22837a[_0x1ec036([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4ba414);return _0x1d8599;}_0xc8ebfe&&_0x7523b7(_0x46d090(_0x48bf66),_0xc8ebfe);})(_0x222c62);}(this);}['createRevision'](_0xb4602f){const _0x2af0f4=this['editor']['plugins']['get']('Users');return new a({'id':_0xb4602f['id'],'name':_0xb4602f['name'],'creator':_0xb4602f['creatorId']?_0x2af0f4['getUser'](_0xb4602f['creatorId']):null,'diffData':_0xb4602f['diffData']||_0xb4602f['data'],'authors':_0xb4602f['authorsIds']['map'](_0x25c3ec=>_0x2af0f4['getUser'](_0x25c3ec)),'createdAt':new Date(_0xb4602f['createdAt']),'attributes':_0xb4602f['attributes'],'fromVersion':_0xb4602f['fromVersion'],'toVersion':_0xb4602f['toVersion']});}['addRevision'](_0x38b6b6,_0x104cce=0x0){this['_revisions']['add'](_0x38b6b6,_0x104cce);}['getRevision'](_0x16bfd6){return this['_revisions']['get'](_0x16bfd6);}['getRevisions'](_0x36eed9={'toJSON':!0x1}){const _0x4b2dd8=Array['from'](this['_revisions']);return _0x4b2dd8['reverse'](),_0x36eed9['toJSON']?_0x4b2dd8['map'](_0x58fb72=>_0x58fb72['toJSON']()):_0x4b2dd8;}['getIndex'](_0x57b4e4){return this['_revisions']['getIndex'](_0x57b4e4);}['getEarlierVisibleRevision'](_0x5c2f01){const [,_0x801711]=this['getRevisionsIterator'](_0x5c2f01,{'direction':'earlier'});return _0x801711;}['getLaterVisibleRevision'](_0x47a6f9){const [,_0xab5c53]=this['getRevisionsIterator'](_0x47a6f9,{'direction':'later'});return _0xab5c53;}['getRevisionsInDiff'](_0x111c7c){const _0x3e6bd6=[];for(const _0x2514d4 of this['getRevisionsIterator'](_0x111c7c['newRevisionId']))if(_0x3e6bd6['push'](_0x2514d4),_0x2514d4['id']===_0x111c7c['oldRevisionId'])break;return _0x3e6bd6;}*['getRevisionsIterator'](_0x3173d6,{direction:_0x91ac94='earlier',filter:_0x5a3f76=_0x4638ab=>!0x0}={}){const _0xfaa4e6='earlier'===_0x91ac94?0x1:-0x1;let _0x20019a=this['_revisions']['get'](_0x3173d6),_0x1c32e9=this['getIndex'](_0x20019a);for(yield _0x20019a;_0x20019a;){if(_0x1c32e9+=_0xfaa4e6,_0x20019a=this['getRevision'](_0x1c32e9),!_0x20019a)return;_0x5a3f76(_0x20019a)&&(yield _0x20019a);}}}function y(_0x2d1136,_0x3534c2,_0x5e15a5){const t=_0x2d1136['t'];switch(_0x3534c2){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'},_0x5e15a5);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x5e15a5);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x2138c6,'a':_0x363512,'e':_0x2299d5,'r':_0x22b971,'u':_0x3b2686};class l extends _0x5cf14b{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0xfe3709,A,_0x37c3a3];}constructor(_0x2bee00){super(_0x2bee00),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 _0x1e20d0=_0x497491();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x1e20d0},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x51fd72=this['repository']['getRevision'](0x0),_0x129d64=_0x51fd72&&null===_0x51fd72['creator']?_0x51fd72:null;if(this['_continueCurrentRevision']=!!_0x129d64&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x591885=this['_source']['getCurrentRevisionId'](),_0x12a870=this['repository']['getRevision'](_0x591885);if(_0x12a870)this['_startingVersion']=_0x12a870['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x5e017a=this['_source']['history']['_operations']['find'](_0x3c65d6=>!_0x3c65d6['_isInit']),_0x18f810=_0x5e017a?_0x5e017a['baseVersion']:this['_source']['history']['version'];_0x51fd72?(_0x51fd72['toVersion']<_0x18f810&&_0x51fd72['_update']({'toVersion':_0x18f810}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x129d64['id'],this['_startingVersion']=_0x129d64['fromVersion']):(this['_startingVersion']=_0x51fd72['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x18f810,this['_continueCurrentRevision']=!0x1);}}else _0x129d64&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x129d64['toVersion'],this['editor']['model']['document']['history']['version']),_0x129d64['fromVersion']===_0x129d64['toVersion']?(0x0!==_0x129d64['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x129d64['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x129d64['id'],this['_startingVersion']=_0x129d64['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',_0x3657d9=>!_0x3657d9);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x387ada=this['repository']['getRevision'](0x0),_0x62ecf6=await this['getRevisionDocumentData'](_0x387ada),_0xaef536=await this['getRevisionRootsAttributes'](_0x387ada);this['_replaceEditorDataWithRevisionData'](_0x62ecf6,_0xaef536);}}['setSource'](_0x48438f){this['_source']=_0x48438f;}async['update'](){const _0x3b3b52=await this['_source']['getLatestVersion']();if(_0x3b3b52>this['currentRevision']['toVersion']){await this['_loadState']();const _0x2875ef=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x3b3b52});_0x2875ef['authors']=_0x2875ef['authorsIds']['map'](_0x20e89b=>this['editor']['plugins']['get']('Users')['getUser'](_0x20e89b)),this['currentRevision']['_update'](_0x2875ef);}}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'](_0x19fd89={},_0x5a7912=null){const _0x44cc63=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x5a7912>this['currentRevision']['toVersion']&&(_0x5a7912=null),null===_0x5a7912&&(_0x5a7912=await this['_source']['getLatestVersion']());const _0x3dc6a3=this['_getFromVersion'](_0x5a7912),_0x5149f8=this['buildRevisionData']({'from':_0x3dc6a3,'to':_0x5a7912});if(this['currentRevision']['toVersion']<_0x5a7912){const _0x4602dc=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x5a7912,'to':_0x5a7912});_0x4602dc['authors']=[],_0x4602dc['authorsIds']=[],_0x4602dc['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x4602dc,!0x0),delete _0x4602dc['authors'],_0x44cc63['push'](_0x4602dc);}_0x19fd89['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x19fd89['name']=_0x19fd89['name']||null,_0x19fd89['id']=_0x19fd89['id']||_0x497491(),_0x19fd89={..._0x19fd89,..._0x5149f8};const _0x15ff35=this['addRevisionData'](_0x19fd89);_0x44cc63['push'](_0x19fd89);const _0x2a390d=this['repository']['getIndex'](_0x15ff35);if(0x0!==_0x2a390d){const _0x44591b=this['repository']['getRevision'](_0x2a390d-0x1);if(_0x44591b['fromVersion']!==_0x5a7912){const _0x4c1f12=this['_revisionDataBuilder']['getData'](_0x5a7912,_0x44591b['toVersion']),_0x4a7343={'id':_0x44591b['id'],'diffData':_0x4c1f12['diffData'],'authorsIds':_0x4c1f12['authorsIds'],'authors':_0x4c1f12['authorsIds']['map'](_0x2178df=>this['editor']['plugins']['get']('Users')['getUser'](_0x2178df)),'fromVersion':_0x5a7912};_0x44591b===this['currentRevision']&&(_0x4a7343['createdAt']=new Date(_0x19fd89['createdAt']['getTime']()+0xa)),_0x44591b['_update'](_0x4a7343,!0x0),delete _0x4a7343['authors'],_0x44cc63['push'](_0x4a7343);}}if(this['adapter']){for(const _0x746aec of _0x44cc63)this['_bufferUpdate'](_0x746aec['id'],_0x746aec,!0x0);this['sendBufferedUpdates']();}return _0x15ff35;}['addRevisionData'](_0x49bc3c){const _0x54053c=this['repository']['createRevision'](_0x49bc3c);return this['adapter']&&_0x54053c['on']('_update',(_0x25e848,_0x2cb6af,_0x3655dc)=>{_0x3655dc||(this['_bufferUpdate'](_0x2cb6af['id'],_0x2cb6af,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x54053c,this['_findInsertionIndex'](_0x54053c)),_0x54053c;}async['getRevisionDocumentData'](_0x260a5a){await this['_loadRevisionData'](_0x260a5a);const _0x263da5={};for(const _0x2c600e in _0x260a5a['diffData']){if(_0x260a5a['diffData'][_0x2c600e]['attachChange']&&!_0x260a5a['diffData'][_0x2c600e]['attachChange']['isAttached'])continue;const _0x2ddf47=this['_removeRevisionMarkers'](JSON['parse'](_0x260a5a['diffData'][_0x2c600e]['insertions'])),_0x475c95=this['editor']['editing']['view']['document'],_0x19f710=new _0x591c68(_0x475c95,_0x2ddf47['map'](_0x511465=>B(_0x511465,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x263da5[_0x2c600e]=this['editor']['data']['processor']['toData'](_0x19f710),this['editor']['data']['processor']['useFillerType']('default');}return _0x263da5;}async['getRevisionRootsAttributes'](_0x332111){await this['_loadRevisionData'](_0x332111);const _0x593525={};for(const _0x204908 in _0x332111['diffData'])_0x332111['diffData'][_0x204908]['attachChange']&&!_0x332111['diffData'][_0x204908]['attachChange']['isAttached']||(_0x593525[_0x204908]=_0x332111['diffData'][_0x204908]['attributesAfter']||{});return _0x593525;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x227922=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x16c78d=0x0;_0x16c78d<_0x227922['length'];_0x16c78d++){const _0x572cc3=_0x227922[_0x16c78d];let _0x4f97a5=!0x1;for(const _0xd08a52 of Object['keys'](_0x572cc3))void 0x0===_0x572cc3[_0xd08a52]?delete _0x572cc3[_0xd08a52]:'id'!==_0xd08a52&&(_0x4f97a5=!0x0);_0x4f97a5||(_0x227922[_0x16c78d]=null);}if(_0x227922=_0x227922['filter'](_0x2cd558=>null!==_0x2cd558),!_0x227922['length'])return;for(let _0x595382=0x0;_0x595382<_0x227922['length'];_0x595382++){const _0x174b62=_0x227922[_0x595382];void 0x0!==_0x174b62['fromVersion']&&void 0x0===_0x174b62['toVersion']&&(_0x174b62['toVersion']=this['repository']['getRevision'](_0x174b62['id'])['toVersion']),void 0x0!==_0x174b62['toVersion']&&void 0x0===_0x174b62['fromVersion']&&(_0x174b62['fromVersion']=this['repository']['getRevision'](_0x174b62['id'])['fromVersion']);}const _0xb62bbc=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x227922,_0xb62bbc)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x487577=>{if(_0x487577){for(const _0x3f70c8 of _0x487577)this['setRevisionData']({'id':_0x3f70c8['id'],'createdAt':_0x3f70c8['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x35b6b2,_0x1a7f8d){let _0x4ee303=this['editor']['config']['get']('initialData'),_0x2e545f=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x4ee303){_0x4ee303={};for(const _0x562d3f of this['editor']['model']['document']['getRootNames']())_0x4ee303[_0x562d3f]='';}if('string'==typeof _0x4ee303&&(_0x4ee303={'main':_0x4ee303}),void 0x0===_0x2e545f){_0x2e545f={};for(const _0x42148c of this['editor']['model']['document']['getRootNames']())_0x2e545f[_0x42148c]={};}let _0x3577cd=!0x1;const _0x585870=Object['keys'](_0x4ee303),_0x576331=Object['keys'](_0x35b6b2);for(const _0x1d13b9 of _0x585870){if(_0x4ee303[_0x1d13b9]!==_0x35b6b2[_0x1d13b9]&&''!==_0x4ee303[_0x1d13b9]['trim']()){_0x3577cd=!0x0;break;}if(!_0x49a462(_0x2e545f[_0x1d13b9],_0x1a7f8d[_0x1d13b9])&&Object['keys'](_0x2e545f[_0x1d13b9])['length']>0x0){_0x3577cd=!0x0;break;}}_0x3577cd||(_0x3577cd=_0x576331['some'](_0x45913d=>!this['editor']['model']['document']['getRoot'](_0x45913d))),_0x3577cd&&_0x4f58d1('editor-initial-data-replaced-with-revision-data',{'editorData':_0x4ee303,'editorRootsAttributes':_0x2e545f,'revisionData':_0x35b6b2,'revisionRootsAttributes':_0x1a7f8d}),this['editor']['config']['set']('initialData',_0x35b6b2),this['editor']['config']['set']('rootsAttributes',_0x1a7f8d);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x2ddc9d=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x2ddc9d['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x2dae8d){const _0x12f81a=this['repository']['getRevisions']();_0x12f81a['reverse']();let _0x249df8=0x0;for(;_0x249df8<_0x12f81a['length'];){const _0x29c16b=_0x12f81a[_0x249df8];if(_0x29c16b===this['currentRevision']){_0x249df8++;continue;}if(_0x29c16b['id']===this['_initialRevisionId'])break;const _0x3ade33=_0x2dae8d['toVersion']-_0x29c16b['toVersion']||_0x2dae8d['fromVersion']-_0x29c16b['fromVersion'];if(_0x3ade33>0x0)break;if(_0x3ade33<0x0)_0x249df8++;else{if(!_0x2dae8d['creator']&&_0x29c16b['creator'])break;if(_0x29c16b['creator']||!_0x2dae8d['creator']){if(_0x2dae8d['createdAt']>_0x29c16b['createdAt'])break;_0x249df8++;}else _0x249df8++;}}return _0x249df8;}['setRevisionData'](_0x2bfa2c){const _0x5868bd=this['repository']['getRevision'](_0x2bfa2c['id']);if(_0x2bfa2c['createdAt']&&(_0x2bfa2c['createdAt']=new Date(_0x2bfa2c['createdAt'])),_0x2bfa2c['authorsIds']){const _0x20f73b=this['editor']['plugins']['get']('Users');_0x2bfa2c['authors']=_0x2bfa2c['authorsIds']['map'](_0x3d04c3=>_0x20f73b['getUser'](_0x3d04c3));}_0x5868bd['_update'](_0x2bfa2c,!0x0);}['buildRevisionData']({revision:_0xec37f6=null,from:_0x356091=null,to:_0x199f6a=null}){_0x356091=null!==_0x356091?_0x356091:_0xec37f6['fromVersion'],_0x199f6a=null!==_0x199f6a?_0x199f6a:_0xec37f6['toVersion'];const _0x1ddb51=this['_revisionDataBuilder']['getData'](_0x356091,_0x199f6a),_0x178eca={'diffData':_0x1ddb51['diffData'],'authorsIds':_0x1ddb51['authorsIds'],'fromVersion':_0x356091,'toVersion':_0x199f6a};if(!_0xec37f6||_0x199f6a!==_0xec37f6['toVersion']){const _0x222906=_0x199f6a-0x1,_0x136818=this['_source']['history']['getOperation'](_0x222906);_0x178eca['createdAt']=_0x136818&&_0x136818['createdAt']||new Date();}if(this['_loadedStateData']&&_0x356091===this['_loadedStateData']['fromVersion']){for(const _0x5297fa of this['_loadedStateData']['authors'])_0x178eca['authorsIds']['includes'](_0x5297fa['id'])||_0x178eca['authorsIds']['push'](_0x5297fa['id']);}return _0x178eca;}['_loadRevisionData'](_0x5a33f9){if(!_0x5a33f9||_0x5a33f9['diffData'])return Promise['resolve']();{const _0x385268=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x385268,'revisionId':_0x5a33f9['id']})['then'](_0x51525f=>{_0x5a33f9['diffData']=_0x51525f['diffData'];});}}['_bufferUpdate'](_0x4fa4ab,_0x450437,_0x268dd4){if(this['_bufferedUpdates']['has'](_0x4fa4ab)){const _0xd663fd=this['_bufferedUpdates']['get'](_0x4fa4ab);_0x450437=_0x268dd4?{..._0xd663fd,..._0x450437}:{..._0x450437,..._0xd663fd};}this['_bufferedUpdates']['set'](_0x4fa4ab,_0x450437);}['_getFromVersion'](_0x1a29ff){const _0x3c95e5=this['repository']['getRevisions']();_0x3c95e5['reverse'](),_0x3c95e5['shift']();const _0x225c76=_0x3c95e5['find'](_0x4d6737=>_0x4d6737['toVersion']<=_0x1a29ff)['toVersion'];return _0x225c76<this['_startingVersion']?this['_startingVersion']:_0x225c76;}['_createInitialRevision'](_0x461e93){const _0x5932c3=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x5932c3)this['_initialRevisionId']=_0x5932c3['id'];else{const _0x46bea2=!this['editor']['model']['document']['roots']['find'](_0x249b73=>this['editor']['model']['hasContent'](_0x249b73)),_0x14cf2b=this['editor']['plugins']['get']('Users')['me']['id'],_0x19da8=y(this['editor']['locale'],_0x46bea2?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x461e93,'to':_0x461e93,'id':this['_initialRevisionId'],'name':_0x19da8,'creatorId':_0x14cf2b});}}['_createCurrentRevision'](_0x10e5b1){const _0x4a63ba=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x4a63ba),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x10e5b1,'to':_0x10e5b1,'id':_0x4a63ba,'name':'','creatorId':null}));}['_makeRevision']({name:_0x1ef5f8,from:_0x2a3223,to:_0x35e3ca,creatorId:_0x2935d9,id:_0x36a421}){const _0x5b4a3f=this['buildRevisionData']({'from':_0x2a3223,'to':_0x35e3ca});_0x5b4a3f['name']=_0x1ef5f8,_0x5b4a3f['creatorId']=_0x2935d9,_0x5b4a3f['id']=_0x36a421;const _0x1d854c=this['addRevisionData'](_0x5b4a3f);return this['adapter']&&this['_bufferUpdate'](_0x5b4a3f['id'],_0x5b4a3f,!0x0),_0x1d854c;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x404954){return(_0x404954=_0x404954['filter'](_0x44bde2=>!_0x44bde2['name']||'revision-start'!==_0x44bde2['name']&&'revision-end'!==_0x44bde2['name']))['forEach'](_0x3b55a3=>{'string'!=typeof _0x3b55a3&&(_0x3b55a3['children']=this['_removeRevisionMarkers'](_0x3b55a3['children']),_0x3b55a3['attributes']=_0x3b55a3['attributes']['filter'](_0x4b62e9=>!_0x4b62e9[0x0]['startsWith']('data-revision-')));}),_0x404954;}}function B(_0x5a2275,_0x334879){const _0x3400bc=_0x334879['editing']['view']['document'];if('string'==typeof _0x5a2275)return new _0x2bf891(_0x3400bc,_0x5a2275);{const _0xb89dac=_0x5a2275['children']['map'](_0x3e32ad=>B(_0x3e32ad,_0x334879));return new(T[_0x5a2275['type']]||_0x30ac93)(_0x3400bc,_0x5a2275['name'],_0x5a2275['attributes'],_0xb89dac);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x23a506){this['editor']=_0x23a506,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}['init'](_0x5852c){this['source']=_0x5852c;const _0x4cbbee=new Map(),_0x14f478=new Map(),_0x268c5e=this['editor']['model']['document']['roots']['map'](_0x2790e9=>_0x2790e9['rootName']);for(const _0x17319d of _0x268c5e){const _0xfa496d=this['editor']['model']['document']['getRoot'](_0x17319d),_0x59f240=q(_0xfa496d);_0x4cbbee['set'](_0x17319d,_0x59f240),_0x14f478['set'](_0x17319d,Object['fromEntries'](_0xfa496d['getAttributes']()));}const _0x218704=Array['from'](this['editor']['model']['markers'])['map'](_0x4c776d=>[_0x4c776d['name'],_0x4c776d['getRange']()]),_0x4e6d04=this['source']['version'];this['_saveMetaData'](_0x4e6d04,_0x4cbbee,_0x218704,_0x14f478),this['_startingRevisionId']=this['_revisionId'];const _0x5687e4=new Map(),_0x4ca8b1=new Map();for(const _0xf2a4f4 of _0x268c5e){const _0x4fddec=G(_0xf2a4f4);_0x5687e4['set'](_0xf2a4f4,_0x4fddec),_0x4ca8b1['set'](_0xf2a4f4,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x5687e4,[],_0x4ca8b1);}['getData'](_0x4d8121,_0x42a6f5){if(this['_lastFrom']===_0x4d8121&&this['_lastTo']<=_0x42a6f5)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x42a6f5,!0x0);else{if(!this['_savedMetaData']['has'](_0x4d8121)){const _0x3ad1f0=this['_getPreviousFrom'](_0x4d8121);this['_calculateMetaData'](_0x3ad1f0,_0x4d8121,!0x1);}this['_calculateMetaData'](_0x4d8121,_0x42a6f5,!0x0);}return this['_lastFrom']=_0x4d8121,this['_lastTo']=_0x42a6f5,this['_getState']();}['loadState'](_0x2cbe8b){this['_reset'](),this['_lastFrom']=_0x2cbe8b['fromVersion'],this['_lastTo']=_0x2cbe8b['toVersion'];for(const _0x183945 in _0x2cbe8b['diffData']){const _0x2c7ccc=_0x2cbe8b['diffData'][_0x183945]['attachChange'],_0x46533c=_0x205b47(_0x2cbe8b['diffData'][_0x183945]['attributesBefore'])||{},_0x1ecdd1=this['_makeModelFromViewString'](_0x2cbe8b['diffData'][_0x183945]['deletions']);_0x1ecdd1['rootName']=_0x183945,_0x1ecdd1['_isAttached']=!_0x2c7ccc||!_0x2c7ccc['isAttached'],_0x1ecdd1['isAttached']=()=>_0x1ecdd1['_isAttached'],this['_baseRoots']['set'](_0x183945,_0x1ecdd1),this['_baseRootsAttributes']['set'](_0x183945,_0x46533c),_0x2c7ccc&&this['_touchedRoots']['set'](_0x183945,_0x2c7ccc);const _0x471e62=this['_makeIdsRoot'](_0x1ecdd1);this['_baseIdsRoots']['set'](_0x183945,_0x471e62);for(const [_0x229f4a,_0x11b41d]of _0x1ecdd1['markers']){if(!_0x229f4a['startsWith']('revision:'))continue;const _0x24b429=_0x229f4a['split'](':')[0x2];for(const _0x21a8a9 of _0x11b41d['getWalker']({'singleCharacters':!0x0})){const _0x59d609=this['_getVidAttributeName'](_0x21a8a9),_0x57b9c9='elementEnd'==_0x21a8a9['type']?_0x21a8a9['previousPosition']['path']['slice'](0x0,-0x1):_0x21a8a9['previousPosition']['path'],_0xe63623=_0x471e62['getNodeByPath'](_0x57b9c9)['getAttribute'](_0x59d609);this['_touched']['set'](_0xe63623,{'userId':_0x24b429});}}}this['_startingRevisionId']=this['_revisionId'];const _0xc6fc6c=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x3bc863=>!this['_touched']['has'](_0x3bc863));let _0x4dd18f=0x0;const _0x425a49=new Map();for(const _0x3a75aa in _0x2cbe8b['diffData']){const _0x5ccdc7=_0x2cbe8b['diffData'][_0x3a75aa]['attachChange'],_0x2f9d46=_0x205b47(_0x2cbe8b['diffData'][_0x3a75aa]['attributesAfter'])||{},_0x55c05f=this['_makeModelFromViewString'](_0x2cbe8b['diffData'][_0x3a75aa]['insertions']);_0x55c05f['rootName']=_0x3a75aa,_0x55c05f['_isAttached']=!_0x5ccdc7||_0x5ccdc7['isAttached'],_0x55c05f['isAttached']=()=>_0x55c05f['_isAttached'],this['_diffRoots']['set'](_0x3a75aa,_0x55c05f),this['_diffRootsAttributes']['set'](_0x3a75aa,_0x2f9d46);const _0x539f8a=this['_makeIdsRoot'](_0x55c05f,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x3a75aa,_0x539f8a),_0x425a49['set'](_0x3a75aa,_0x55c05f['isAttached']()?_0x2f9d46:{});for(const [_0x13e9c3,_0x5e3c11]of _0x55c05f['markers']){if(!_0x13e9c3['startsWith']('revision:'))continue;const _0x28d50d=_0x13e9c3['split'](':')[0x2];for(const _0x22401d of _0x5e3c11['getWalker']({'singleCharacters':!0x0})){const _0x35e403=this['_getVidAttributeName'](_0x22401d),_0x2e50c5=this['_revisionId']++,_0x506355='elementEnd'==_0x22401d['type']?_0x22401d['previousPosition']['path']['slice'](0x0,-0x1):_0x22401d['previousPosition']['path'];_0x539f8a['getNodeByPath'](_0x506355)['_setAttribute'](_0x35e403,_0x2e50c5),this['_touched']['set'](_0x2e50c5,{'userId':_0x28d50d});}}for(const _0x239ffa of this['editor']['model']['createRangeIn'](_0x55c05f)['getWalker']({'singleCharacters':!0x0})){const _0x158acb=this['_getVidAttributeName'](_0x239ffa),_0x4e829c='elementEnd'==_0x239ffa['type']?_0x239ffa['previousPosition']['path']['slice'](0x0,-0x1):_0x239ffa['previousPosition']['path'],_0x30b014=_0x539f8a['getNodeByPath'](_0x4e829c);_0x30b014['getAttribute'](_0x158acb)>0x0||_0x30b014['_setAttribute'](_0x158acb,_0xc6fc6c[_0x4dd18f++]);}for(const [_0xce4db7,_0x1cb65c]of _0x55c05f['markers'])_0xce4db7['startsWith']('revision:')||this['_markers']['set'](_0xce4db7,_0x1cb65c);}const _0x78c650=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x78c650),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x78c650,0x1));const _0x464a19=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x464a19),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x464a19,0x1));const _0x2c931a=Array['from'](this['_diffRoots'])['map'](([_0x53a982,_0x19a70b])=>[_0x53a982,q(_0x19a70b)]);this['_saveMetaData'](this['_lastTo'],_0x2c931a,this['_markers'],_0x425a49);}['_makeModelFromViewString'](_0x3313ea){const _0x21ec41=JSON['parse'](_0x3313ea),_0x3ee7b7=this['editor']['editing']['view']['document'],_0xaf0336=new _0x591c68(_0x3ee7b7,_0x21ec41['map'](_0x4abf1e=>B(_0x4abf1e,this['editor'])));return this['editor']['data']['toModel'](_0xaf0336);}['_saveMetaData'](_0x196b25,_0x464ba6,_0xa4c660,_0x6ecde7){const _0x23ed13=new Map(_0x464ba6),_0x117717=new Map(_0x205b47(_0x6ecde7)),_0x54bbd0=new Map();for(const [_0x5ef8af,_0xdc3ec9]of _0xa4c660)_0x54bbd0['set'](_0x5ef8af,{'start':_0xdc3ec9['start']['clone'](),'end':_0xdc3ec9['end']['clone'](),'rootName':_0xdc3ec9['root']['rootName']});this['_savedMetaData']['set'](_0x196b25,{'roots':_0x23ed13,'markers':_0x54bbd0,'rootsAttributes':_0x117717});}['_removeMetaData'](_0x3cb650){this['_savedMetaData']['delete'](_0x3cb650);}['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'](_0x4c936b,_0x55c58a=null){let _0x3d8ba9=null;_0x4c936b['is']('documentFragment')||(_0x3d8ba9=new ft(_0x4c936b['name'],{'vid_start':null===_0x55c58a?this['_revisionId']++:_0x55c58a++}));const _0x2d39e8=[];for(const _0x29f24c of _0x4c936b['getChildren']())if(_0x29f24c['is']('element')){_0x2d39e8['push'](this['_makeIdsRoot'](_0x29f24c,_0x55c58a));const _0x1cd513=_0x2d39e8[_0x2d39e8['length']-0x1];null!==_0x55c58a&&(_0x55c58a=_0x1cd513['is']('element','$text')?_0x1cd513['getAttribute']('vid')+0x1:_0x1cd513['getAttribute']('vid_end')+0x1);}else{for(let _0x5132d1=0x0;_0x5132d1<_0x29f24c['offsetSize'];_0x5132d1++)_0x2d39e8['push'](new ft('$text',{'vid':null===_0x55c58a?this['_revisionId']++:_0x55c58a++}));}if(_0x4c936b['is']('documentFragment')){const _0x16e4e6=G(_0x4c936b['rootName']);return _0x16e4e6['_insertChild'](0x0,_0x2d39e8),_0x16e4e6;}return _0x3d8ba9['_setAttribute']('vid_end',null===_0x55c58a?this['_revisionId']++:_0x55c58a++),_0x3d8ba9['_insertChild'](0x0,_0x2d39e8),_0x3d8ba9;}['_calculateMetaData'](_0x1747fa,_0x2fdc07,_0x3631a2){this['_reset']();const {roots:_0x57e3c5,markers:_0x30bb72,rootsAttributes:_0x4fe9f0}=this['_savedMetaData']['get'](_0x1747fa);this['_baseRoots']=new Map(_0x57e3c5),this['_baseRootsAttributes']=new Map(_0x205b47(_0x4fe9f0));for(const [_0x273253,_0x3f0c63]of this['_baseRoots'])if('$graveyard'!==_0x273253&&(this['_diffRoots']['set'](_0x273253,q(_0x3f0c63)),this['_diffRootsAttributes']=new Map(_0x205b47(_0x4fe9f0)),_0x3631a2)){const _0x4edaef=this['_revisionId'];this['_idsRoots']['set'](_0x273253,this['_makeIdsRoot'](_0x3f0c63)),this['_baseIdsRoots']['set'](_0x273253,this['_makeIdsRoot'](_0x3f0c63,_0x4edaef));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x3631a2&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x49875f,_0x5616a2]of _0x30bb72){const _0x313af5=this['_baseRoots']['get'](_0x5616a2['rootName']),_0x261dd3=this['_diffRoots']['get'](_0x5616a2['rootName']),_0x3bc236=new vt(this['_fixPosition'](_0x5616a2['start'],_0x313af5),this['_fixPosition'](_0x5616a2['end'],_0x313af5)),_0x4efb2b=this['_fixRange'](_0x3bc236,_0x261dd3);_0x313af5['markers']['set'](_0x49875f,_0x3bc236),this['_markers']['set'](_0x49875f,_0x4efb2b);}this['_applyOperations'](_0x1747fa,_0x2fdc07,_0x3631a2);}['_applyOperations'](_0x5f53a0,_0x246056,_0x55d37a){for(const _0x50228f of this['source']['getOperations'](_0x5f53a0,_0x246056))this['_handleOperation'](_0x50228f,_0x55d37a);for(const _0x444b28 of this['_diffRoots']['values']())_0x444b28['markers']['clear']();for(const [_0x3bfb8c,_0x3d004b]of this['_markers']){this['_diffRoots']['get'](_0x3d004b['root']['rootName'])['markers']['set'](_0x3bfb8c,_0x3d004b['clone']());}const _0xeb90da=new Map(),_0x47814a=new Map();for(const [_0x571182,_0x7d81fd]of this['_diffRoots'])_0xeb90da['set'](_0x571182,q(_0x7d81fd)),_0x47814a['set'](_0x571182,this['_diffRootsAttributes']['get'](_0x571182));this['_saveMetaData'](_0x246056,_0xeb90da,this['_markers'],_0x47814a);}['_getPreviousFrom'](_0x4426d4){const _0x3a9cb3=Array['from'](this['_savedMetaData']['keys']());_0x3a9cb3['sort']((_0x8f06b2,_0x1ded4a)=>_0x8f06b2-_0x1ded4a),_0x3a9cb3['reverse']();for(const _0x3ddd09 of _0x3a9cb3)if(_0x3ddd09<_0x4426d4)return _0x3ddd09;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x50db4e,_0x350451){const _0x22eaca=Array['from'](_0x350451['markers'])['map'](([_0x4f9787,_0x2b99ef])=>[_0x4f9787,this['_fixRange'](_0x2b99ef,_0x50db4e)]);_0x50db4e['markers']=new Map(_0x22eaca);}['_transformMarkers'](_0x29e363){for(const _0x4aaaab of this['_markers']['values']()){const _0x3703b4=_0x4aaaab['getTransformedByOperation'](_0x29e363),_0x4108d2=vt['_createFromRanges'](_0x3703b4);_0x4aaaab['start']=_0x4108d2['start'],_0x4aaaab['end']=_0x4108d2['end'];}}['_handleOperation'](_0x2efe0b,_0x3d9bda){if('addRoot'==_0x2efe0b['type']||'detachRoot'==_0x2efe0b['type'])return void this['_handleRootOperation'](_0x2efe0b,_0x3d9bda);if('insert'==_0x2efe0b['type']){const _0x2b1116=_0x2efe0b['position']['root']['rootName'];this['_diffRoots']['has'](_0x2b1116)||(this['_diffRoots']['set'](_0x2b1116,G(_0x2b1116,!0x0)),this['_diffRootsAttributes']['set'](_0x2b1116,{}),_0x3d9bda&&this['_idsRoots']['set'](_0x2b1116,G(_0x2b1116,!0x0)));}else{if('addRootAttribute'==_0x2efe0b['type']||'removeRootAttribute'==_0x2efe0b['type']||'changeRootAttribute'==_0x2efe0b['type'])return void this['_handleRootAttributeOperation'](_0x2efe0b);}const _0x4f1745=this['_cloneOperation'](_0x2efe0b,this['_diffRoots']);if('marker'!==_0x2efe0b['type']&&(_0x4f1745['_execute'](),this['_transformMarkers'](_0x4f1745)),_0x3d9bda)switch(_0x4f1745['type']){case'insert':this['_handleInsertOperation'](_0x2efe0b);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x2efe0b);break;case'merge':this['_handleMergeOperation'](_0x2efe0b);break;case'split':this['_handleSplitOperation'](_0x2efe0b);break;case'marker':this['_handleMarkerOperation'](_0x2efe0b);}}['_cloneOperation'](_0x1882ca,_0x87f54a){const _0x1d2696=_0x1882ca['clone']();return _0x1d2696['_authorId']=_0x1882ca['_authorId'],this['_fixOperation'](_0x1d2696,_0x87f54a),_0x1d2696;}['_getBaseVids'](_0x5869e6){return _0x5869e6['map'](_0x287ad4=>{const _0x1108ba=this['_getVidAttributeName'](_0x287ad4);return Number(_0x287ad4['item']['getAttribute'](_0x1108ba));});}['_generateTape'](_0x3c771f,_0x4b650d){if(_0x3c771f['is']('element','$text'))_0x4b650d['push']({'item':_0x3c771f,'type':'text'});else{_0x3c771f['is']('element')&&_0x4b650d['push']({'item':_0x3c771f,'type':'elementStart'});for(const _0x5a0787 of _0x3c771f['getChildren']())this['_generateTape'](_0x5a0787,_0x4b650d);_0x3c771f['is']('element')&&_0x4b650d['push']({'item':_0x3c771f,'type':'elementEnd'});}return _0x4b650d;}['_getState'](){const _0x474bfe=new Map(this['_touched']),_0x48e963=new Map(_0x474bfe),_0x36e4bb=new Map(),_0x1cf3ba={'insertions':{},'deletions':{}},_0x410795={'insertions':{},'deletions':{}},_0x31eed1=new Map(),_0x3c8708=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x3c8708['delete']('$graveyard');for(const _0x3be7ef of _0x3c8708){const _0x5cbc94=this['_diffRoots']['get'](_0x3be7ef)||G(_0x3be7ef,!0x1),_0x415d51=this['_baseRoots']['get'](_0x3be7ef)||G(_0x3be7ef,!0x1);_0x5cbc94['isAttached']()||_0x415d51['isAttached']()?(_0x1cf3ba['insertions'][_0x3be7ef]=q(_0x5cbc94),_0x1cf3ba['deletions'][_0x3be7ef]=q(_0x415d51),this['_copyMarkers'](_0x1cf3ba['deletions'][_0x3be7ef],_0x415d51),this['_copyMarkers'](_0x1cf3ba['insertions'][_0x3be7ef],_0x5cbc94),_0x410795['insertions'][_0x3be7ef]=this['_generateTape'](this['_idsRoots']['get'](_0x3be7ef),[]),_0x410795['deletions'][_0x3be7ef]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x3be7ef)||G(_0x3be7ef,!0x1),[])):_0x3c8708['delete'](_0x3be7ef);}for(const _0x5e7f4c of _0x3c8708){const _0x264ed0=_0x410795['insertions'][_0x5e7f4c];for(const _0x491933 of _0x264ed0){const _0x5554c2=this['_getVidAttributeName'](_0x491933),_0x4012ec=_0x491933['item']['getAttribute'](_0x5554c2);_0x48e963['delete'](_0x4012ec),_0x4012ec>=this['_startingRevisionId']&&_0x36e4bb['set'](_0x4012ec,_0x474bfe['get'](_0x4012ec));}}for(const _0xa27fdc of _0x3c8708){const _0x1c5300=_0x410795['insertions'][_0xa27fdc],_0x4a6657=this['_getBaseVids'](_0x410795['deletions'][_0xa27fdc]);let _0x4dacef=0x0;for(const _0x5c8465 of _0x1c5300){const _0x50ba03=this['_getVidAttributeName'](_0x5c8465),_0x3f708a=_0x5c8465['item']['getAttribute'](_0x50ba03);if(!_0x36e4bb['has'](_0x3f708a)&&!_0x31eed1['has'](_0x3f708a)){if(_0x48e963['has'](_0x3f708a))_0x4dacef++;else{if(_0x3f708a!=_0x4a6657[_0x4dacef]){const _0x512ba8=_0x474bfe['get'](_0x3f708a)||_0x474bfe['get'](_0x4a6657[_0x4dacef]);for(;_0x3f708a!=_0x4a6657[_0x4dacef];)_0x48e963['has'](_0x4a6657[_0x4dacef])||(_0x31eed1['set'](_0x4a6657[_0x4dacef],_0x512ba8),_0x474bfe['set'](_0x4a6657[_0x4dacef],_0x512ba8)),_0x4dacef++;}_0x4dacef++;}}}}for(const _0x436d5b of _0x3c8708){const _0x1ace82=_0x410795['insertions'][_0x436d5b];for(const _0x543dc6 of _0x1ace82){const _0x495044=this['_getVidAttributeName'](_0x543dc6),_0xa41a5=_0x543dc6['item']['getAttribute'](_0x495044);if(_0x31eed1['has'](_0xa41a5)){const _0x5f3e33=_0x31eed1['get'](_0xa41a5);_0x48e963['has'](_0xa41a5)||_0x48e963['set'](_0xa41a5,{..._0x5f3e33}),_0x36e4bb['set'](_0xa41a5,{..._0x5f3e33});}}}for(const _0x8a535d of _0x48e963['keys']())_0x8a535d>=this['_startingRevisionId']&&_0x48e963['delete'](_0x8a535d);const _0x2b3089=new Map();for(const _0x3bd949 of _0x3c8708){let _0x5890a2=_0x410795['insertions'][_0x3bd949];for(const _0x49ff94 of _0x5890a2)if(_0x49ff94['item']['is']('element','tableCell')){const _0x3bef4d=this['_getVidAttributeName'](_0x49ff94),_0x44bfb3=_0x49ff94['item']['getAttribute'](_0x3bef4d);if(_0x36e4bb['has'](_0x44bfb3)){const _0x65826c=_0x49ff94['item']['parent']['parent']['getAttribute']('vid_start'),_0x4925dc=_0x2b3089['get'](_0x65826c)||new Set();_0x4925dc['add'](_0x36e4bb['get'](_0x44bfb3)['userId']),_0x2b3089['set'](_0x65826c,_0x4925dc);}}_0x5890a2=_0x410795['deletions'][_0x3bd949];for(const _0x1c1cf1 of _0x5890a2)if(_0x1c1cf1['item']['is']('element','tableCell')){const _0x198757=this['_getVidAttributeName'](_0x1c1cf1),_0x4a2412=_0x1c1cf1['item']['getAttribute'](_0x198757);if(_0x48e963['has'](_0x4a2412)){const _0x21f740=_0x1c1cf1['item']['parent']['parent']['getAttribute']('vid_start'),_0x357844=_0x2b3089['get'](_0x21f740)||new Set();_0x357844['add'](_0x48e963['get'](_0x4a2412)['userId']),_0x2b3089['set'](_0x21f740,_0x357844);}}for(const _0x37f4a5 of _0x2b3089['keys']())(_0x36e4bb['has'](_0x37f4a5)||_0x48e963['has'](_0x37f4a5))&&_0x2b3089['delete'](_0x37f4a5);}for(const _0x501761 of _0x3c8708){const _0x10dcc9=_0x410795['insertions'][_0x501761];let _0x592cfb=null,_0x561636=null;for(const _0x246180 of _0x10dcc9){const _0x3cbb17=this['_getVidAttributeName'](_0x246180),_0x15b29b=_0x246180['item']['getAttribute'](_0x3cbb17),_0x22c481=_0x2b3089['get'](_0x15b29b);_0x22c481&&'elementStart'==_0x246180['type']&&(_0x592cfb=Array['from'](_0x22c481)[0x0],_0x561636=_0x246180['item']['getAttribute']('vid_end')),_0x592cfb&&(_0x48e963['set'](_0x15b29b,{'userId':_0x592cfb}),_0x36e4bb['set'](_0x15b29b,{'userId':_0x592cfb})),_0x15b29b==_0x561636&&(_0x592cfb=null,_0x561636=null);}}const _0x32cb6b={},_0x4d704f=new Set();for(const _0x42a8cb of _0x3c8708){const _0x2ea326=_0x1cf3ba['deletions'][_0x42a8cb],_0x1a454d=_0x1cf3ba['insertions'][_0x42a8cb];for(const {userId:_0x27d546}of this['_touchedMarkers']['values']())null!==_0x27d546&&_0x4d704f['add'](_0x27d546);for(const {userId:_0x12951b}of this['_touchedRoots']['values']())null!==_0x12951b&&_0x4d704f['add'](_0x12951b);this['_markChanges'](_0x1a454d,_0x410795['insertions'][_0x42a8cb],_0x36e4bb,'insertion',_0x4d704f),this['_markChanges'](_0x2ea326,_0x410795['deletions'][_0x42a8cb],_0x48e963,'deletion',_0x4d704f),_0x32cb6b[_0x42a8cb]={'insertions':this['_prepareViewToSave'](_0x1a454d),'deletions':this['_prepareViewToSave'](_0x2ea326),'attachChange':this['_touchedRoots']['get'](_0x42a8cb)||null,'attributesBefore':_0x205b47(this['_baseRootsAttributes']['get'](_0x42a8cb))||{},'attributesAfter':_0x205b47(this['_diffRootsAttributes']['get'](_0x42a8cb))};}return{'diffData':_0x32cb6b,'authorsIds':Array['from'](_0x4d704f)};}['_processRootBeforeSave'](_0x3b407b){for(const [,_0x9d43ec]of _0x3b407b['markers']){const _0x23db85=_0x9d43ec['start']['getAncestors']()['filter'](_0x2a71c6=>'tableCell'==_0x2a71c6['name']);for(const _0x3afc37 of _0x23db85)0x1==_0x3afc37['childCount']&&_0x3afc37['getChild'](0x0)['is']('element','paragraph')&&_0x3afc37['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x1d6092){this['_processRootBeforeSave'](_0x1d6092);const _0x46f5db=this['editor']['data']['toView'](_0x1d6092,{}),_0x3837c4=Array['from'](_0x46f5db['getChildren']())['map'](_0x495b5a=>this['_getViewJson'](_0x495b5a));return JSON['stringify'](_0x3837c4);}['_getViewJson'](_0x80dae){if(_0x80dae['is']('$text'))return _0x80dae['data'];{const _0x164258=_0x80dae;return{'type':Object['keys'](T)['find'](_0x4aed9c=>_0x80dae instanceof T[_0x4aed9c]),'name':_0x164258['name'],'attributes':Array['from'](_0x164258['getAttributes']()),'children':Array['from'](_0x164258['getChildren']())['map'](_0x3c161a=>this['_getViewJson'](_0x3c161a))};}}['_markChanges'](_0x4a2127,_0xb07f1b,_0x4a69b9,_0xfb5a15,_0x18f99e){let _0x4cc719=null,_0x4debb8=null,_0x598141=0x0;const _0x5d98bd=this['editor']['model'];for(let _0x1ae9c5=0x0;_0x1ae9c5<_0xb07f1b['length'];_0x1ae9c5++){const _0x42ab7a=this['_getVidAttributeName'](_0xb07f1b[_0x1ae9c5]),_0x3115d6=_0xb07f1b[_0x1ae9c5]['item']['getAttribute'](_0x42ab7a),_0x109a7c=_0x4a69b9['get'](_0x3115d6),_0x432ccf=_0x1ae9c5==_0xb07f1b['length']-0x1;(!_0x4cc719&&_0x109a7c&&(_0x4cc719=_0x109a7c,_0x4debb8=_0xb07f1b[_0x1ae9c5]),_0x4cc719&&(!_0x109a7c||_0x109a7c['userId']!=_0x4cc719['userId']))&&(_0x320a19(_0x109a7c,L(_0x4debb8,_0x4a2127,_0x5d98bd),L(_0xb07f1b[_0x1ae9c5],_0x4a2127,_0x5d98bd)),_0x4cc719=_0x109a7c||null,_0x4debb8=_0x109a7c?_0xb07f1b[_0x1ae9c5]:null),_0x4cc719&&_0x432ccf&&_0x320a19(_0x109a7c,L(_0x4debb8,_0x4a2127,_0x5d98bd),W(_0xb07f1b[_0x1ae9c5],_0x4a2127,_0x5d98bd));}function _0x320a19(_0x4748f3,_0xad7918,_0x489f3a){const _0xd25703=_0x4cc719['userId'],_0x15c7fb='revision:'+_0xfb5a15+':'+_0xd25703+':'+_0x598141++,_0x40bdcd=_0x5d98bd['createRange'](_0xad7918,_0x489f3a);_0x4a2127['markers']['set'](_0x15c7fb,_0x40bdcd),null!==_0xd25703&&_0x18f99e['add'](_0xd25703);}}['_getVidAttributeName'](_0x15a2b4){switch(_0x15a2b4['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0xefb5f1,_0x4bd955){_0xefb5f1['baseVersion']=null;for(const _0x5e4d4e in _0xefb5f1){const _0x579385=_0xefb5f1[_0x5e4d4e];if(_0x579385 instanceof gt){const _0x106a05=_0x4bd955['get'](_0x579385['root']['rootName']);_0xefb5f1[_0x5e4d4e]=this['_fixPosition'](_0x579385,_0x106a05);}if(_0x579385 instanceof vt){const _0x37ab58=_0x4bd955['get'](_0x579385['root']['rootName']);_0xefb5f1[_0x5e4d4e]=this['_fixRange'](_0x579385,_0x37ab58);}'root'===_0x5e4d4e&&(_0xefb5f1['root']=_0x4bd955['get'](_0xefb5f1['root']['rootName']));}}['_fixRange'](_0x205fb6,_0x3941da){return this['editor']['model']['createRange'](this['_fixPosition'](_0x205fb6['start'],_0x3941da),this['_fixPosition'](_0x205fb6['end'],_0x3941da));}['_fixPosition'](_0x482c8c,_0x2c5065){return this['editor']['model']['createPositionFromPath'](_0x2c5065,_0x482c8c['path'],_0x482c8c['stickiness']);}['_handleInsertOperation'](_0x13e800){const _0x34d0d5=this['_idsRoots']['get'](_0x13e800['position']['root']['rootName']),_0x40ea60=this['_fixPosition'](_0x13e800['position'],_0x34d0d5),_0x48ae40=null===_0x13e800['_authorId']?null:_0x13e800['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x308815=_0x40ea60['parent'],_0x1cbce9=this['_revisionId'],_0x371fe6=[];for(const _0x70ee1d of _0x13e800['nodes'])if(_0x70ee1d['is']('element'))_0x371fe6['push'](this['_makeIdsRoot'](_0x70ee1d));else{for(let _0x1e3b9f=0x0;_0x1e3b9f<_0x70ee1d['offsetSize'];_0x1e3b9f++)_0x371fe6['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x47ea34=this['_revisionId'];for(let _0x3f833d=_0x1cbce9;_0x3f833d<_0x47ea34;_0x3f833d++)this['_touched']['set'](_0x3f833d,{'userId':_0x48ae40});_0x308815['_insertChild'](_0x40ea60['offset'],_0x371fe6);}['_handleMoveOperation'](_0x3297cf){(_0x3297cf=this['_cloneOperation'](_0x3297cf,this['_idsRoots']))['_execute']();const _0x2a273a=null===_0x3297cf['_authorId']?null:_0x3297cf['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x37aa08=_0x3297cf['getMovedRangeStart'](),_0x5773ff=_0x37aa08['parent'],_0x397cc1=_0x37aa08['offset'];!function _0x14e80c(_0x5b4ba4,_0x3c0fb5,_0x5154fa,_0x299f97){for(let _0x34abab=_0x5154fa;_0x34abab<_0x299f97;_0x34abab++){const _0x1acc9f=_0x3c0fb5['getChild'](_0x34abab);_0x1acc9f['is']('element','$text')?_0x5b4ba4['set'](_0x1acc9f['getAttribute']('vid'),{'userId':_0x2a273a}):(_0x5b4ba4['set'](_0x1acc9f['getAttribute']('vid_start'),{'userId':_0x2a273a}),_0x14e80c(_0x5b4ba4,_0x1acc9f,0x0,_0x1acc9f['childCount']),_0x5b4ba4['set'](_0x1acc9f['getAttribute']('vid_end'),{'userId':_0x2a273a}));}}(this['_touched'],_0x5773ff,_0x397cc1,_0x397cc1+_0x3297cf['howMany']);}['_handleMergeOperation'](_0x3832ad){const _0x2c3d5a=null===(_0x3832ad=this['_cloneOperation'](_0x3832ad,this['_idsRoots']))['_authorId']?null:_0x3832ad['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3d8897=_0x3832ad['targetPosition']['parent'],_0x27e7f1=_0x3832ad['sourcePosition']['parent'],_0x332ac2=_0x3d8897['getAttribute']('vid_end'),_0x1e11a6=_0x27e7f1['getAttribute']('vid_start');_0x3d8897['_setAttribute']('vid_end',_0x27e7f1['getAttribute']('vid_end')),_0x27e7f1['_setAttribute']('vid_end',_0x332ac2),this['_touched']['set'](_0x1e11a6,{'userId':_0x2c3d5a}),this['_touched']['set'](_0x332ac2,{'userId':_0x2c3d5a}),_0x3832ad['_execute']();}['_handleSplitOperation'](_0x2c28a4){const _0x4da78a=null===(_0x2c28a4=this['_cloneOperation'](_0x2c28a4,this['_idsRoots']))['_authorId']?null:_0x2c28a4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2021c4=_0x2c28a4['graveyardPosition'],_0x4e914b=_0x2c28a4['splitPosition']['parent'];_0x2c28a4['_execute']();const _0x1ad428=_0x4e914b['getAttribute']('vid_end'),_0x1d7c75=_0x2c28a4['insertionPosition']['nodeAfter'];if(_0x2021c4){const _0x4b78d4=_0x1d7c75['getAttribute']('vid_end'),_0x2d202e=_0x4e914b['getAttribute']('vid_end');_0x4e914b['_setAttribute']('vid_end',_0x4b78d4),_0x1d7c75['_setAttribute']('vid_end',_0x2d202e),this['_touched']['set'](_0x4e914b['getAttribute']('vid_end'),{'userId':_0x4da78a}),this['_touched']['set'](_0x1d7c75['getAttribute']('vid_start'),{'userId':_0x4da78a});}else{const _0x2a0a2c=this['_revisionId']++,_0x314796=this['_revisionId']++;_0x4e914b['_setAttribute']('vid_end',_0x2a0a2c),_0x1d7c75['_setAttribute']('vid_start',_0x314796),_0x1d7c75['_setAttribute']('vid_end',_0x1ad428),this['_touched']['set'](_0x2a0a2c,{'userId':_0x4da78a}),this['_touched']['set'](_0x314796,{'userId':_0x4da78a});}}['_handleMarkerOperation'](_0x123109){if(!_0x123109['affectsData'])return;const _0x10305e=(_0x123109=this['_cloneOperation'](_0x123109,this['_diffRoots']))['oldRange']?_0x123109['oldRange']['root']:null,_0x22d4fd=_0x123109['newRange']?_0x123109['newRange']['root']:null;_0x10305e&&this['_markers']['delete'](_0x123109['name']),_0x22d4fd&&this['_markers']['set'](_0x123109['name'],_0x123109['newRange']['clone']());const _0x39518a=null===_0x123109['_authorId']?null:_0x123109['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x197a4e=_0x123109['name'];if(!this['_touchedMarkers']['has'](_0x197a4e))return void this['_touchedMarkers']['set'](_0x197a4e,{'range':_0x123109['oldRange'],'userId':_0x39518a});const _0x4b28d9=this['_touchedMarkers']['get'](_0x197a4e),_0xf5eb25=_0x4b28d9['range'],_0x5efd41=_0x123109['newRange'];null==_0xf5eb25&&null==_0x5efd41||_0xf5eb25&&_0x5efd41&&_0xf5eb25['isEqual'](_0x5efd41)?this['_touchedMarkers']['delete'](_0x123109['name']):_0x4b28d9['userId']=_0x39518a;}['_handleRootOperation'](_0x2a66cd,_0x276cb4){this['_diffRoots']['has'](_0x2a66cd['rootName'])?this['_diffRoots']['get'](_0x2a66cd['rootName'])['_isAttached']=_0x2a66cd['isAdd']:(this['_diffRoots']['set'](_0x2a66cd['rootName'],G(_0x2a66cd['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x2a66cd['rootName'],{}),_0x276cb4&&this['_idsRoots']['set'](_0x2a66cd['rootName'],G(_0x2a66cd['rootName'],!0x0)));const _0x3ca4af=null===_0x2a66cd['_authorId']?null:_0x2a66cd['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3fef10=this['_touchedRoots']['get'](_0x2a66cd['rootName']);_0x3fef10&&_0x3fef10['userId']===_0x3ca4af?this['_touchedRoots']['delete'](_0x2a66cd['rootName']):this['_touchedRoots']['set'](_0x2a66cd['rootName'],{'userId':_0x3ca4af,'isAttached':_0x2a66cd['isAdd']});}['_handleRootAttributeOperation'](_0x5968cd){const _0x317a4e=this['_diffRootsAttributes']['get'](_0x5968cd['root']['rootName']);null===_0x5968cd['newValue']?delete _0x317a4e[_0x5968cd['key']]:_0x317a4e[_0x5968cd['key']]=_0x5968cd['newValue'];}}function q(_0x5664ff){const _0x2a9408=G(_0x5664ff['rootName'],_0x5664ff['isAttached']());for(const _0x2dc34f of _0x5664ff['getChildren']()){const _0x32e247=_0x2dc34f['_clone'](!0x0);_0x2a9408['_appendChild'](_0x32e247);}return _0x2a9408;}function G(_0x3582f6,_0x10089d=!0x0){const _0x11cc22=new wt();return _0x11cc22['rootName']=_0x3582f6,_0x11cc22['_isAttached']=_0x10089d,_0x11cc22['isAttached']=()=>_0x11cc22['_isAttached'],_0x11cc22;}function L(_0x5beb0c,_0x112bef,_0x108a59){const _0x514c87='elementEnd'==_0x5beb0c['type']?_0x108a59['createPositionAt'](_0x5beb0c['item'],'end'):_0x108a59['createPositionBefore'](_0x5beb0c['item']);return _0x108a59['createPositionFromPath'](_0x112bef,_0x514c87['path'],_0x514c87['stickiness']);}function W(_0xc3f633,_0x195075,_0x261f43){const _0x24060b='elementStart'==_0xc3f633['type']?_0x261f43['createPositionAt'](_0xc3f633['item'],0x0):_0x261f43['createPositionAfter'](_0xc3f633['item']);return _0x261f43['createPositionFromPath'](_0x195075,_0x24060b['path'],_0x24060b['stickiness']);}class hs extends ts{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x52a6b2,_0x146825){super(_0x52a6b2),this['focusTracker']=new _0x48864f(),this['keystrokes']=new _0x290d5d(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x146825),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),_0x2f0aaf(this);}['render'](){super['render'](),_0x25d4e9({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x4d271b=_0xd5f6bb=>_0xd5f6bb['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4d271b),this['keystrokes']['set']('arrowleft',_0x4d271b),this['keystrokes']['set']('arrowup',_0x4d271b),this['keystrokes']['set']('arrowdown',_0x4d271b);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x5473f3){this['revisionNameInputView']['fieldView']['element']['value']=_0x5473f3['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x190430){const _0x369c34=new _0x35a0a1(this['locale'],_0x169b0b),_0x5f1704=_0x369c34['fieldView'];_0x5f1704['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x1f1dc7=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x190430&&(_0x1f1dc7+='\x20('+y(this['locale'],'optional')+')'),(_0x369c34['label']=_0x1f1dc7,_0x5f1704['on']('input',()=>{this['revisionNameInputValue']=_0x5f1704['element']['value']['trim']();}),_0x369c34);}}class u extends _0x5cf14b{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x4c8e8d=this['editor'],_0x5b554a=_0x4c8e8d['plugins']['get']('RevisionTracker');_0x4c8e8d['ui']['componentFactory']['add']('revisionHistory',_0x384a58=>{const _0x23d34e=_0x42fdea(_0x384a58),_0x5ad311=_0x23d34e['panelView']['children'],_0x59bf6e=new _0x42fab7(_0x384a58),_0xecac85=new _0x1ca4b0(_0x384a58),_0x38bbc2=new te(_0x384a58),_0x4892e7=new _0x1ca4b0(_0x384a58),_0x167aea=new te(_0x384a58);return _0x23d34e['bind']('isEnabled')['to'](_0x5b554a,'isReady',_0x5b554a,'isEnabled',_0x4c8e8d,'isReadOnly',(_0x41342c,_0x2bc688,_0x582884)=>_0x41342c&&_0x2bc688&&!_0x582884),_0x23d34e['buttonView']['set']({'icon':_0x5eadf1['history'],'label':y(_0x384a58,'Revision\x20history'),'tooltip':!0x0}),_0x38bbc2['set']({'label':y(_0x384a58,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x38bbc2['bind']('isEnabled')['to'](_0x5b554a,'isReady',_0x5b554a,'isEnabled',_0x4c8e8d,'isReadOnly',(_0x118a4b,_0x11090e,_0x198723)=>_0x118a4b&&_0x11090e&&!_0x198723),_0x38bbc2['on']('execute',()=>this['_showDialog']()),_0x167aea['set']({'label':y(_0x384a58,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x167aea['bind']('isEnabled')['to'](_0x5b554a,'isReady',_0x4c8e8d,'isReadOnly',(_0x2fca14,_0xf50870)=>_0x2fca14&&!_0xf50870),_0x167aea['on']('execute',()=>{_0x4c8e8d['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x23d34e['isOpen']=!0x1,_0x4c8e8d['editing']['view']['focus']();}),_0xecac85['children']['add'](_0x38bbc2),_0x4892e7['children']['add'](_0x167aea),_0x59bf6e['role']='menu',_0x59bf6e['items']['addMany']([_0xecac85,_0x4892e7]),_0x5ad311['add'](_0x59bf6e),_0x23d34e;}),_0x4c8e8d['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x11d2fd=this['editor'],_0x802d2=_0x11d2fd['locale'],_0x136fb8=new _0x445a03(_0x802d2),_0x26e649=new _0x11d8bf(_0x802d2);_0x136fb8['buttonView']['set']({'icon':_0x5eadf1['history'],'label':y(_0x802d2,'Revision\x20history')});const _0x2b0b68=new _0x35a69f(_0x802d2,_0x136fb8),_0x52bd8c=new _0x44a249(_0x802d2);_0x52bd8c['set']({'label':y(_0x802d2,'Save\x20current\x20revision')}),_0x52bd8c['delegate']('execute')['to'](_0x136fb8),_0x52bd8c['on']('execute',()=>{this['_showDialog']();}),_0x2b0b68['children']['add'](_0x52bd8c),_0x26e649['items']['add'](_0x2b0b68);const _0x4875bb=new _0x35a69f(_0x802d2,_0x136fb8),_0x41eedf=new _0x44a249(_0x802d2);return _0x41eedf['set']({'label':y(_0x802d2,'Open\x20revision\x20history')}),_0x41eedf['delegate']('execute')['to'](_0x136fb8),_0x41eedf['on']('execute',()=>{_0x11d2fd['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x4875bb['children']['add'](_0x41eedf),_0x26e649['items']['add'](_0x4875bb),_0x136fb8['panelView']['children']['add'](_0x26e649),_0x136fb8;}['_showDialog'](){const _0x197a6f=this['editor'],_0x3e680c=_0x197a6f['locale'],_0x5a0d6f=_0x197a6f['plugins']['get']('Dialog'),_0x4a2f8a=_0x197a6f['plugins']['get']('RevisionTracker');function _0x47250f(_0x574253){_0x197a6f['config']['get']('revisionHistory.requireRevisionName')&&''===_0x574253['revisionName']?_0x574253['revisionNameInputView']['errorText']=y(_0x3e680c,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x197a6f['plugins']['get'](l)['saveRevision']({'name':_0x574253['revisionName']}),_0x5a0d6f['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x47250f(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x5a0d6f['show']({'id':'revisionSave','title':y(_0x3e680c,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x197a6f['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x5a0d6f['hide']()},{'label':y(_0x197a6f['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x5e0761){_0x5e0761['bind']('isEnabled')['to'](_0x4a2f8a,'isReady',_0x4a2f8a,'isEnabled',_0x197a6f,'isReadOnly',(_0x3f811f,_0x99e084,_0x277855)=>_0x3f811f&&_0x99e084&&!_0x277855);},'onExecute':()=>_0x47250f(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x11e0ac=this['editor'],_0x8306a6=_0x11e0ac['locale'];this['_saveRevisionFormView']=new hs(_0x8306a6,_0x11e0ac['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends ts{['changeId'];['_model'];constructor(_0x3711c3,_0x382b5c){super(_0x3711c3),this['_model']=_0x382b5c,this['changeId']=_0x382b5c['id'];const _0x3f32b4=this['bindTemplate'],_0x15636b=y(_0x3711c3,_0x382b5c['data']['isSuggestion']?'Suggested\x20by':'add'==_0x382b5c['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x382b5c['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x3f32b4['to']('type',_0x27e711=>'ck-revision-change__'+_0x27e711)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x15636b}]},{'text':'\x20'+_0x382b5c['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x575ae5(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x48a88d){super(),this['id']=_0x48a88d['id']||_0x497491(),this['author']=_0x48a88d['author'],this['type']=_0x48a88d['type'],this['data']=_0x48a88d['data']||{},this['rootName']=_0x48a88d['rootName'],this['set']('createdAt',_0x48a88d['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class f{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x4d1c66,_0x12bb02){this['newRevisionId']=_0x4d1c66,this['oldRevisionId']=_0x12bb02,this['changes']=new _0x2af926();}['_setChanges'](_0x2ab24d){for(const _0x320a1e of _0x2ab24d)this['changes']['add'](_0x320a1e);}}const tt={'c':_0x2138c6,'a':_0x363512,'e':_0x2299d5,'r':_0x22b971,'u':_0x3b2686};class d extends _0x5cf14b{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0xfe3709,_0x2dd35c,A];}constructor(_0x25c6f1){super(_0x25c6f1),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',(_0x6d2324,_0x27baa3,_0x49839a)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x192704=>{for(const _0x4d36c1 of this['editor']['editing']['view']['document']['roots'])_0x49839a?_0x192704['removeClass']('ck-editor__editable__overlay',_0x4d36c1):_0x192704['addClass']('ck-editor__editable__overlay',_0x4d36c1);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x11571b=>null!==_0x11571b),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x185877,_0x13e23b,_0x22e2b0)=>_0x185877&&_0x22e2b0?_0x13e23b['changes']['getIndex'](_0x22e2b0):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x5543ad,_0x590b1c)=>_0x5543ad?_0x590b1c['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x2dd35c);}['init'](){const _0x46de5c=this['editor'],_0x3bcaaf=new yt(_0x46de5c,{'direction':'backward'}),_0x785ed=new yt(_0x46de5c,{'direction':'forward'});(_0x46de5c['commands']['add']('showPreviousChange',_0x3bcaaf),_0x46de5c['commands']['add']('showNextChange',_0x785ed),_0x46de5c['commands']['add']('restoreRevision',new bt(_0x46de5c)),this['on']('change:numberOfChanges',()=>{_0x3bcaaf['refresh'](),_0x785ed['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x46de5c['enableReadOnlyMode']('revision-viewer'),_0x46de5c['plugins']['has']('WidgetToolbarRepository'))&&_0x46de5c['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x569194){await this['loadRevisionData'](_0x569194);const _0x4cb036={};for(const _0x10f9cb in _0x569194['diffData']){if(_0x569194['diffData'][_0x10f9cb]['attachChange']&&!_0x569194['diffData'][_0x10f9cb]['attachChange']['isAttached'])continue;const _0xc02f7a=this['_removeRevisionMarkers'](JSON['parse'](_0x569194['diffData'][_0x10f9cb]['insertions'])),_0x2d0b4e=this['editor']['editing']['view']['document'],_0x412d3a=new _0x591c68(_0x2d0b4e,_0xc02f7a['map'](_0x521b8e=>this['_getViewObj'](_0x521b8e)));this['editor']['data']['processor']['useFillerType']('marked'),_0x4cb036[_0x10f9cb]=this['editor']['data']['processor']['toData'](_0x412d3a),this['editor']['data']['processor']['useFillerType']('default');}return _0x4cb036;}async['getRevisionRootsAttributes'](_0x2b5aa0){await this['loadRevisionData'](_0x2b5aa0);const _0x180a0a={};for(const _0x16b1e5 in _0x2b5aa0['diffData'])_0x2b5aa0['diffData'][_0x16b1e5]['attachChange']&&!_0x2b5aa0['diffData'][_0x16b1e5]['attachChange']['isAttached']||(_0x180a0a[_0x16b1e5]=_0x2b5aa0['diffData'][_0x16b1e5]['attributesAfter']||{});return _0x180a0a;}['_removeRevisionMarkers'](_0x470334){return(_0x470334=_0x470334['filter'](_0x336162=>!_0x336162['name']||'revision-start'!==_0x336162['name']&&'revision-end'!==_0x336162['name']))['forEach'](_0x51e0f5=>{'string'!=typeof _0x51e0f5&&(_0x51e0f5['children']=this['_removeRevisionMarkers'](_0x51e0f5['children']),_0x51e0f5['attributes']=_0x51e0f5['attributes']['filter'](_0x428350=>!_0x428350[0x0]['startsWith']('data-revision-')));}),_0x470334;}async['compare'](_0x115c35,_0x1c73ab,_0x4216c5=!0x1){if(!this['isEnabled'])return;const _0x359208=this['diff'],_0x211673=this['repository'],_0x8ded0f='string'==typeof _0x115c35?_0x211673['getRevision'](_0x115c35):_0x115c35,_0x113668='string'==typeof _0x1c73ab?_0x211673['getRevision'](_0x1c73ab):_0x1c73ab,_0x1120cf=_0x8ded0f['id'],_0x49f1be=_0x113668?_0x113668['id']:null;if(!_0x4216c5&&this['diff']&&this['diff']['newRevisionId']===_0x1120cf&&this['diff']['oldRevisionId']===_0x49f1be)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x1120cf,_0x49f1be);const _0x10f130=this['_getRevisionsRange'](_0x8ded0f,_0x113668,!0x0)['map'](_0x51285f=>this['loadRevisionData'](_0x51285f));return _0x10f130['push'](new Promise(_0x5b38cf=>{setTimeout(_0x5b38cf,0x14);})),Promise['all'](_0x10f130)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x25b479=this['_getDiff'](_0x1120cf,_0x49f1be);for(const _0x46c9c2 of _0x25b479['changes'])this['_changeIdToChange']['set'](_0x46c9c2['id'],_0x46c9c2);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x2003cb=>{for(const _0x3ec216 of this['editor']['model']['document']['getRootNames']())_0x2003cb['detachRoot'](_0x3ec216);for(const _0x28d9e3 of Object['keys'](_0x25b479['model'])){const _0x2fa62f=_0x2003cb['addRoot'](_0x28d9e3);for(const _0x415213 of Object['keys'](_0x25b479['attributes'][_0x28d9e3]))_0x2003cb['setAttribute'](_0x415213,_0x25b479['attributes'][_0x28d9e3][_0x415213],_0x2fa62f);_0x2003cb['insert'](_0x25b479['model'][_0x28d9e3],_0x2fa62f,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x25b479['changes'])),this['isReady']=!0x0;})['catch'](_0x524847=>{console['error'](_0x524847),this['_cleanUp'](),_0x359208&&(this['diff']=_0x359208),this['isReady']=!0x0;});}['addRevisionData'](_0x2f5972,_0x29de56){const _0x3e0e59=this['repository']['createRevision'](_0x2f5972);return _0x3e0e59['on']('_update',(_0x894c0e,_0x51fa27,_0x68e719)=>_0x29de56(_0x51fa27,_0x68e719,_0x3e0e59)),this['repository']['addRevision'](_0x3e0e59),_0x3e0e59;}['loadRevisionData'](_0xf7ea76){if(!_0xf7ea76||_0xf7ea76['diffData'])return Promise['resolve']();{const _0x2e28ba=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2e28ba,'revisionId':_0xf7ea76['id']})['then'](_0x20db34=>{_0xf7ea76['_update']({'diffData':_0x20db34['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},_0x3e578a=>{for(const _0x615260 of this['editor']['model']['document']['getRootNames']())_0x3e578a['detachRoot'](_0x615260);});}['_sortAndFilterDiffChanges'](_0x38975a){const _0x27d853=[],_0x2db4dd=new Map();for(const _0x31ad95 of this['editor']['model']['document']['getRootNames']()){const _0x5d7ecb=this['editor']['editing']['view']['getDomRoot'](_0x31ad95);if(!_0x5d7ecb)continue;const _0x38a79b=_0x5d7ecb['getClientRects']()['item'](0x0);_0x38a79b&&(_0x27d853['push'](_0x31ad95),_0x2db4dd['set'](_0x31ad95,_0x38a79b));}return _0x27d853['sort']((_0x42a9ab,_0x16f9dd)=>{const _0x1e3206=_0x2db4dd['get'](_0x42a9ab),_0x2c8002=_0x2db4dd['get'](_0x16f9dd);return _0x1e3206['y']-_0x2c8002['y']||_0x1e3206['x']-_0x2c8002['x'];}),(_0x38975a=_0x38975a['filter'](_0xbe0549=>_0x27d853['includes'](_0xbe0549['rootName'])))['sort']((_0x3274e4,_0x256e50)=>_0x27d853['indexOf'](_0x3274e4['rootName'])-_0x27d853['indexOf'](_0x256e50['rootName'])),_0x38975a;}['_makeTape'](_0x347203){const _0x1623a4=Array['from'](_0x347203['markers'])['filter'](([_0x40193f,_0xa3042a])=>_0x40193f['startsWith']('revision:')&&!_0xa3042a['isCollapsed']),_0x5bdb13=Array['from'](this['editor']['model']['createRangeIn'](_0x347203)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x1623a4['length'])for(const _0x75521c of _0x5bdb13){const [_0x36801d,_0xc05b48]=_0x1623a4[0x0],[,_0x119f08,_0x57cb59]=_0x36801d['split'](':');if(_0xc05b48['end']['isEqual'](_0x75521c['nextPosition'])&&_0x1623a4['shift'](),(_0x75521c['previousPosition']['isEqual'](_0xc05b48['start'])||_0x75521c['previousPosition']['isAfter'](_0xc05b48['start']))&&('insertion'==_0x119f08?_0x75521c['isAdded']={'userId':_0x57cb59}:'deletion'==_0x119f08&&(_0x75521c['isRemoved']={'userId':_0x57cb59})),0x0==_0x1623a4['length'])break;}return _0x5bdb13;}['_refreshStartEndIndex'](_0x48abb6){const _0x3b0e1f=new Map();for(let _0x127dea=0x0;_0x127dea<_0x48abb6['length'];_0x127dea++)'text'===_0x48abb6[_0x127dea]['type']?(_0x48abb6[_0x127dea]['item']['startIndex']=_0x127dea,_0x48abb6[_0x127dea]['item']['endIndex']=_0x127dea):('elementStart'===_0x48abb6[_0x127dea]['type']?_0x48abb6[_0x127dea]['item']['startIndex']=_0x127dea:'elementEnd'===_0x48abb6[_0x127dea]['type']&&(_0x48abb6[_0x127dea]['item']['endIndex']=_0x127dea),_0x3b0e1f['set'](_0x48abb6[_0x127dea]['id'],_0x127dea));for(const _0x712fcf of _0x3b0e1f['values']())'elementStart'===_0x48abb6[_0x712fcf]['type']?_0x48abb6[_0x712fcf]['item']['endIndex']=_0x3b0e1f['get'](_0x48abb6[_0x712fcf]['pairId']):'elementEnd'===_0x48abb6[_0x712fcf]['type']&&(_0x48abb6[_0x712fcf]['item']['startIndex']=_0x3b0e1f['get'](_0x48abb6[_0x712fcf]['pairId']));}['_processTape'](_0x97a383){for(let _0x5b60ed=0x0;_0x5b60ed<_0x97a383['length'];_0x5b60ed++){if('elementStart'===_0x97a383[_0x5b60ed]['type'])_0x97a383[_0x5b60ed]['item']['startIndex']=_0x5b60ed;else{if('elementEnd'===_0x97a383[_0x5b60ed]['type']){_0x97a383[_0x5b60ed]['item']['endIndex']=_0x5b60ed;const _0x2f85b8=_0x97a383[_0x5b60ed]['item']['startIndex'];_0x97a383[_0x2f85b8]['pairId']=_0x97a383[_0x5b60ed]['id'],_0x97a383[_0x5b60ed]['pairId']=_0x97a383[_0x2f85b8]['id'];}else _0x97a383[_0x5b60ed]['item']['startIndex']=_0x5b60ed,_0x97a383[_0x5b60ed]['item']['endIndex']=_0x5b60ed,_0x97a383[_0x5b60ed]['pairId']=null;}_0x97a383[_0x5b60ed]['markersStart']||(_0x97a383[_0x5b60ed]['markersStart']=[],_0x97a383[_0x5b60ed]['markersEnd']=[]);}}['_markInsertions'](_0x2117c1,_0x518b1f){const _0x5e06cd=_0x2117c1['filter'](_0x1d1185=>!_0x1d1185['isAdded']);for(let _0x146eef=0x0;_0x146eef<_0x518b1f['length'];_0x146eef++)_0x518b1f[_0x146eef]['isAdded']&&(_0x5e06cd[_0x146eef]['isAdded']=_0x518b1f[_0x146eef]['isAdded']);}['_makeModelFromViewString'](_0x2ba333){const _0x21d407=JSON['parse'](_0x2ba333),_0x30c2d5=this['editor']['editing']['view']['document'],_0x592e95=new _0x591c68(_0x30c2d5,_0x21d407['map'](_0x34a150=>this['_getViewObj'](_0x34a150)));return this['editor']['data']['toModel'](_0x592e95);}['_getViewObj'](_0x54a290){const _0x58641b=this['editor']['editing']['view']['document'];if('string'==typeof _0x54a290)return new _0x2bf891(_0x58641b,_0x54a290);{const _0x5db9f4=_0x54a290['children']['map'](_0x1d52a6=>this['_getViewObj'](_0x1d52a6));return new(tt[_0x54a290['type']]||_0x30ac93)(_0x58641b,_0x54a290['name'],_0x54a290['attributes'],_0x5db9f4);}}['_getDiff'](_0x14e8b5,_0x35a695=null){const _0x146116=this['repository']['getRevision'](_0x14e8b5),_0x195e3c=_0x35a695?this['repository']['getRevision'](_0x35a695):null,_0x4321ef=this['_getRevisionsRange'](_0x146116,_0x195e3c),_0x232157=_0x4321ef[_0x4321ef['length']-0x1],_0x1162d8=new Map(),_0x1884fb={'model':{},'attributes':{},'changes':[]},_0x4e64c4=new Set(),_0x2a9dbe=new Map();for(let _0x3795e9=_0x4321ef['length']-0x1;_0x3795e9>=0x0;_0x3795e9--){const _0x4d4268=_0x4321ef[_0x3795e9];for(const _0x128f57 of Object['keys'](_0x4d4268['diffData']))if(_0x4d4268['diffData'][_0x128f57]['attachChange']){const _0x38d34b=_0x4d4268['diffData'][_0x128f57]['attachChange'];_0x38d34b['isAttached']?(_0x4e64c4['add'](_0x128f57),_0x2a9dbe['has'](_0x128f57)&&_0x2a9dbe['get'](_0x128f57)['userId']==_0x38d34b['userId']?_0x2a9dbe['delete'](_0x128f57):_0x2a9dbe['set'](_0x128f57,_0x38d34b)):_0x2a9dbe['has'](_0x128f57)?(_0x4e64c4['delete'](_0x128f57),_0x2a9dbe['delete'](_0x128f57)):(_0x4e64c4['add'](_0x128f57),_0x2a9dbe['set'](_0x128f57,_0x38d34b));}else _0x4e64c4['add'](_0x128f57);}for(const _0x212989 of _0x4e64c4){const _0x204ba4=_0x2a9dbe['has'](_0x212989)&&!_0x2a9dbe['get'](_0x212989)['isAttached'];let _0x2ba658=_0x204ba4?_0x4321ef['length']-0x1:0x0;const _0x179c66=_0x204ba4?-0x1:0x1;for(;_0x4321ef[_0x2ba658];){const _0x2fc4aa=_0x4321ef[_0x2ba658];if(_0x2fc4aa['diffData'][_0x212989]){const _0x3349d4=_0x204ba4?_0x2fc4aa['diffData'][_0x212989]['attributesBefore']:_0x2fc4aa['diffData'][_0x212989]['attributesAfter'];_0x1884fb['attributes'][_0x212989]=_0x3349d4?_0x205b47(_0x3349d4):{};break;}_0x2ba658+=_0x179c66;}}for(const _0x3d196c of _0x4321ef){_0x3d196c['model']={};for(const _0x536c7b of _0x3d196c['authors'])_0x1162d8['set'](_0x536c7b['id'],_0x536c7b);for(const _0x2843f9 of _0x4e64c4){const _0x5617d9=_0x3d196c['diffData'][_0x2843f9]?_0x3d196c['diffData'][_0x2843f9]['insertions']:'[]',_0xda24a6=_0x3d196c['diffData'][_0x2843f9]?_0x3d196c['diffData'][_0x2843f9]['deletions']:'[]';_0x3d196c['model'][_0x2843f9]={'insertions':this['_makeModelFromViewString'](_0x5617d9),'deletions':this['_makeModelFromViewString'](_0xda24a6)};}}for(const _0x45343f of _0x4e64c4){let _0x5adda3=null,_0xfc856f=0x0;const _0x2a7358=new Map(Array['from'](_0x146116['model'][_0x45343f]['insertions']['markers'])['filter'](([_0x2e9010])=>!_0x2e9010['startsWith']('revision:')));let _0x584270=0x0;for(const _0x1c0b8e of _0x4321ef){const _0x3e0d1e=this['_makeTape'](_0x1c0b8e['model'][_0x45343f]['insertions']);_0x1c0b8e==_0x146116?(_0x5adda3=_0x3e0d1e,_0xfc856f=_0x5adda3['length'],_0x5adda3['forEach'](_0xe7242c=>{_0xe7242c['id']=_0x584270++;}),this['_processTape'](_0x5adda3)):this['_markInsertions'](_0x5adda3,_0x3e0d1e);const _0x14f76b=_0x5adda3['filter'](_0x15059c=>!_0x15059c['isAdded'])['map'](_0x20fb56=>_0x20fb56['id']);let _0xfb797a=0x0;const _0x229565=this['_makeTape'](_0x1c0b8e['model'][_0x45343f]['deletions']);_0x229565['forEach'](_0x1c77d7=>{_0x1c77d7['isRemoved']?_0x1c77d7['id']=_0xfc856f++:_0x1c77d7['id']=_0x14f76b[_0xfb797a++];}),this['_processTape'](_0x229565),this['_setDistance'](_0x5adda3,'isAdded'),this['_setDistance'](_0x229565,'isRemoved'),_0x1c0b8e==_0x146116&&this['_markMarkers'](_0x5adda3,_0x2a7358),_0x5adda3=this['_joinTapes'](_0x5adda3,_0x229565),this['_refreshStartEndIndex'](_0x5adda3),this['_setDistance'](_0x5adda3,'isRemoved');}_0x5adda3=_0x5adda3['filter'](_0x542965=>!(_0x542965['isAdded']&&_0x542965['isRemoved']));const _0x2c91fe=new Map(_0x232157['model'][_0x45343f]['deletions']['markers']),_0x6f07b6=new Set(_0x2a7358['keys']());for(const _0x40acd5 of _0x2c91fe['keys']())_0x6f07b6['delete'](_0x40acd5);this['_markSuggestions'](_0x5adda3,_0x6f07b6),this['_fixObsoleteTags'](_0x5adda3),_0x5adda3=this['_removeMissingPairs'](_0x5adda3),_0x5adda3=this['_markMismatchedRemovedTags'](_0x5adda3),_0x5adda3=this['_removeUnsupportedChanges'](_0x5adda3);const {root:_0x1db3f3,changes:_0x29c4ae}=this['_makeModelFromTape'](_0x5adda3,_0x1162d8,_0x45343f);_0x1884fb['model'][_0x45343f]=_0x1db3f3;const _0x572a9c=_0x2a9dbe['get'](_0x45343f);if(_0x572a9c){const _0x5214fa=_0x1162d8['get'](_0x572a9c['userId']),_0x203616=new r({'author':_0x5214fa,'type':_0x572a9c['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x45343f});_0x29c4ae['unshift'](_0x203616),_0x1884fb['attributes'][_0x45343f]['revisionHistoryAttachChange']=_0x203616['id'];}_0x1884fb['changes']=_0x1884fb['changes']['concat'](_0x29c4ae);}return _0x1884fb;}['_markMarkers'](_0x5b06dc,_0x58f1df){for(let _0x32ae96=0x0;_0x32ae96<_0x5b06dc['length'];_0x32ae96++)for(const [_0x518673,_0x6035f1]of _0x58f1df)_0x6035f1['start']['isEqual'](_0x5b06dc[_0x32ae96]['previousPosition'])&&_0x5b06dc[_0x32ae96]['markersStart']['push'](_0x518673),_0x6035f1['end']['isEqual'](_0x5b06dc[_0x32ae96]['nextPosition'])&&_0x5b06dc[_0x32ae96]['markersEnd']['push'](_0x518673);}['_joinTapes'](_0x121ddc,_0x31ccf1){let _0x3f30cf=[],_0x453a91=0x0,_0xac89bc=0x0;for(;_0x453a91<_0x121ddc['length']||_0xac89bc<_0x31ccf1['length'];){const _0x3e43bc=_0x121ddc[_0x453a91]||{},_0x192128=_0x31ccf1[_0xac89bc]||{};if(_0x3e43bc['id']==_0x192128['id'])_0x453a91++,_0xac89bc++,_0x3f30cf['push'](_0x3e43bc);else{if(_0x192128['isRemoved']&&_0x3e43bc['isAdded']){const {commonTape:_0x528ff9,iEnd:_0x2fac37,jEnd:_0x510dec}=this['_threeWayMerge'](_0x121ddc,_0x453a91,_0x31ccf1,_0xac89bc);_0x3f30cf=_0x3f30cf['concat'](_0x528ff9),_0x453a91=_0x2fac37,_0xac89bc=_0x510dec;}else _0x192128['isRemoved']?(_0xac89bc++,_0x3f30cf['push'](_0x192128)):(_0x453a91++,_0x3f30cf['push'](_0x3e43bc));}}return _0x3f30cf;}['_markSuggestions'](_0x3624ad,_0x3036fb){const _0x50906c=[];for(let _0x17d0a8=0x0;_0x17d0a8<_0x3624ad['length'];_0x17d0a8++){for(let _0x331368=0x0;_0x331368<_0x3624ad[_0x17d0a8]['markersStart']['length'];_0x331368++){const _0x4c2a15=_0x3624ad[_0x17d0a8]['markersStart'][_0x331368];if(!_0x3036fb['has'](_0x4c2a15))continue;const {group:_0xf77e42,type:_0x264d0a,authorId:_0xc9e45c}=_0x3a091d(_0x4c2a15);'revision-suggestion'!=_0xf77e42||'insertion'!=_0x264d0a&&'deletion'!=_0x264d0a||(_0x50906c['unshift']({'type':_0x264d0a,'name':_0x4c2a15,'userId':_0xc9e45c}),_0x3624ad[_0x17d0a8]['markersStart']['splice'](_0x331368,0x1),_0x331368--);}_0x431154(_0x3624ad[_0x17d0a8]);for(let _0x2aaee7=0x0;_0x2aaee7<_0x3624ad[_0x17d0a8]['markersEnd']['length'];_0x2aaee7++){const _0x31a69b=_0x3624ad[_0x17d0a8]['markersEnd'][_0x2aaee7];if(!_0x3036fb['has'](_0x31a69b))continue;const {group:_0x4d9a04,type:_0x84b79e}=_0x3a091d(_0x31a69b);if('revision-suggestion'!=_0x4d9a04||'insertion'!=_0x84b79e&&'deletion'!=_0x84b79e)continue;_0x3624ad[_0x17d0a8]['markersEnd']['splice'](_0x2aaee7,0x1),_0x2aaee7--;const _0x1119da=_0x50906c['findIndex'](_0x5f2df5=>_0x5f2df5['name']==_0x31a69b);_0x1119da>-0x1&&_0x50906c['splice'](_0x1119da,0x1);}}function _0x3a091d(_0x312e08){const _0xd42e2f=_0x312e08['split'](':');return{'group':_0xd42e2f[0x0],'type':_0xd42e2f[0x1],'subType':_0xd42e2f['length']>=0x5?_0xd42e2f[0x2]:null,'id':_0xd42e2f['length']<0x5?_0xd42e2f[0x2]:_0xd42e2f[0x3],'authorId':_0xd42e2f['length']<0x5?_0xd42e2f[0x3]:_0xd42e2f[0x4],'markerCount':0x6==_0xd42e2f['length']?_0xd42e2f[0x5]:null};}function _0x431154(_0x51f5ec){for(let _0x1cf79=0x0;_0x1cf79<_0x50906c['length'];_0x1cf79++){if(_0x51f5ec['isAdded']&&'insertion'==_0x50906c[_0x1cf79]['type'])return _0x51f5ec['isAddSuggestion']=_0x50906c[_0x1cf79],void delete _0x51f5ec['isAdded'];if(!_0x51f5ec['isAdded']&&!_0x51f5ec['isRemoved']&&'deletion'==_0x50906c[_0x1cf79]['type'])return void(_0x51f5ec['isRemoveSuggestion']=_0x50906c[_0x1cf79]);}}}['_setDistance'](_0x4c0854,_0x3396fc){let _0x1b8757=0x0,_0x119de7=!0x1;const _0x3d0457=new Map();for(const _0x45d94c of _0x4c0854)_0x45d94c[_0x3396fc]?_0x119de7&&(_0x1b8757++,_0x119de7=!0x1):(_0x1b8757++,_0x119de7=!0x0),_0x3d0457['set'](_0x45d94c['id'],_0x1b8757);for(let _0x1fbd66=0x0;_0x1fbd66<_0x4c0854['length'];_0x1fbd66++){if('isRemoved'==_0x3396fc&&_0x4c0854[_0x1fbd66]['isAdded']||'isAdded'==_0x3396fc&&_0x4c0854[_0x1fbd66]['isRemoved'])continue;if('text'==_0x4c0854[_0x1fbd66]['type']){_0x4c0854[_0x1fbd66]['distance']=0x0;continue;}const _0x237354=_0x3d0457['get'](_0x4c0854[_0x1fbd66]['pairId']),_0x509b1c=_0x3d0457['get'](_0x4c0854[_0x1fbd66]['id']);_0x4c0854[_0x1fbd66]['distance']=_0x237354-_0x509b1c;}}['_getRevisionsRange'](_0x8935,_0x50f9f1,_0x119877=!0x1){const _0x4f3835=[];let _0x67aa2d=this['repository']['getIndex'](_0x8935),_0x88f8ef=this['repository']['getIndex'](_0x50f9f1);for(-0x1==_0x88f8ef&&(_0x88f8ef=this['repository']['_revisions']['length'],_0x119877=!0x1);_0x67aa2d<_0x88f8ef;)_0x4f3835['push'](this['repository']['getRevision'](_0x67aa2d)),_0x67aa2d++;return _0x119877&&_0x4f3835['push'](this['repository']['getRevision'](_0x67aa2d)),_0x4f3835;}['_threeWayMerge'](_0x55151c,_0x48a880,_0x4a642f,_0x1c9c87){const _0x47a07d=this['editor']['model']['schema'];let _0x3f6a4b=_0x48a880;for(;_0x55151c[_0x3f6a4b]&&_0x55151c[_0x3f6a4b]['isAdded'];)_0x3f6a4b++;let _0x463b00=_0x1c9c87;for(;_0x4a642f[_0x463b00]&&_0x4a642f[_0x463b00]['isRemoved'];)_0x463b00++;_0x28cbe0(_0x55151c,_0x48a880,_0x3f6a4b),_0x28cbe0(_0x4a642f,_0x1c9c87,_0x463b00);const _0x25f153=_0x4a642f['slice'](_0x1c9c87,_0x463b00)['concat'](_0x55151c['slice'](_0x48a880,_0x3f6a4b));return _0x25f153['sort']((_0x12f406,_0x2b4376)=>_0x12f406['side']!=_0x2b4376['side']?_0x12f406['side']-_0x2b4376['side']:_0x12f406['level']!=_0x2b4376['level']?_0x12f406['level']-_0x2b4376['level']:_0x12f406['distance']!=_0x2b4376['distance']?_0x2b4376['distance']-_0x12f406['distance']:!!_0x12f406['isAdded']!=!!_0x2b4376['isAdded']?-0x1==_0x12f406['side']||0x0==_0x12f406['side']?_0x12f406['isAdded']?-0x1:0x1:_0x12f406['isAdded']?0x1:-0x1:_0x12f406['index']-_0x2b4376['index']),{'commonTape':_0x25f153,'iEnd':_0x3f6a4b,'jEnd':_0x463b00};function _0x28cbe0(_0x113530,_0x5db2d2,_0x5f33d4){let _0x42942a=-0x1,_0x3bfa00=Number['POSITIVE_INFINITY'],_0xf84312=!0x0;for(let _0x68a004=_0x5db2d2;_0x68a004<_0x5f33d4;_0x68a004++)if(_0x47a07d['isInline'](_0x113530[_0x68a004]['item'])||(_0xf84312=!0x1),_0x113530[_0x68a004]['item']['startIndex']<_0x5db2d2&&(_0x42942a=_0x68a004),_0x113530[_0x68a004]['item']['endIndex']>=_0x5f33d4){_0x3bfa00=_0x68a004;break;}_0xf84312&&(_0x42942a=_0x5f33d4-0x1);for(let _0x1c4290=_0x5db2d2;_0x1c4290<_0x5f33d4;_0x1c4290++)_0x113530[_0x1c4290]['side']=_0x1c4290<=_0x42942a?-0x1:_0x1c4290<_0x3bfa00?0x0:0x1,_0x113530[_0x1c4290]['index']=_0x1c4290;let _0x4dda58=0x0;for(let _0x4fec3a=_0x5db2d2;_0x4fec3a<=_0x42942a;_0x4fec3a++)0x0==_0x113530[_0x4fec3a]['distance']?_0x113530[_0x4fec3a]['level']=_0x4dda58:(_0x4dda58++,_0x113530[_0x4fec3a]['level']=_0x4dda58,_0x4dda58++);for(let _0x3df346=_0x5db2d2;_0x3df346<_0x5f33d4;_0x3df346++)0x0==_0x113530[_0x3df346]['side']&&(_0x113530[_0x3df346]['level']=_0x4dda58);_0x4dda58=0x0;for(let _0x3d625f=_0x5f33d4-0x1;_0x3d625f>=_0x3bfa00;_0x3d625f--)0x0==_0x113530[_0x3d625f]['distance']?_0x113530[_0x3d625f]['level']=_0x4dda58:(_0x4dda58--,_0x113530[_0x3d625f]['level']=_0x4dda58,_0x4dda58--);}}['_fixObsoleteTags'](_0x4550a2){const _0x1dee63=new Map(),_0x2e28a0=this['editor']['model']['schema'];for(let _0x58c62e=0x1;_0x58c62e<_0x4550a2['length'];_0x58c62e++){let _0x36b473,_0x5ae892,_0xe49dbf;const _0x3a83b0=_0x4550a2[_0x58c62e],_0x57c434=_0x4550a2[_0x58c62e-0x1];if('text'==_0x3a83b0['type'])continue;if(_0x3a83b0['type']!=_0x57c434['type'])continue;if(!_0x2e28a0['isBlock'](_0x57c434['item'])||_0x2e28a0['isLimit'](_0x57c434['item']))continue;if(!_0x2e28a0['isBlock'](_0x3a83b0['item'])||_0x2e28a0['isLimit'](_0x3a83b0['item']))continue;if((_0x4550a2[_0x58c62e]['isAdded']||_0x4550a2[_0x58c62e]['isAddSuggestion'])&&_0x4550a2[_0x58c62e-0x1]['isRemoved'])_0x36b473=_0x4550a2[_0x58c62e],_0x5ae892=_0x4550a2[_0x58c62e-0x1],_0xe49dbf=_0x58c62e-0x1;else{if(!_0x4550a2[_0x58c62e]['isRemoved']||!_0x4550a2[_0x58c62e-0x1]['isAdded']&&!_0x4550a2[_0x58c62e-0x1]['isAddSuggestion'])continue;_0x36b473=_0x4550a2[_0x58c62e-0x1],_0x5ae892=_0x4550a2[_0x58c62e],_0xe49dbf=_0x58c62e;}const _0x15411d=_0x36b473['level']==_0x5ae892['level'],_0x4de00e=Math['abs'](_0x36b473['level'])<Math['abs'](_0x5ae892['level'])&&0x0==_0x5ae892['distance'];(_0x15411d||_0x4de00e)&&(_0x1dee63['set'](_0x5ae892['id'],_0x36b473['id']),_0x4550a2['splice'](_0xe49dbf,0x1),_0x58c62e--,_0x36b473['isAdded']=!0x1);}for(let _0x2a9a64=0x0;_0x2a9a64<_0x4550a2['length'];_0x2a9a64++)_0x1dee63['has'](_0x4550a2[_0x2a9a64]['pairId'])&&(_0x4550a2[_0x2a9a64]['pairId']=_0x1dee63['get'](_0x4550a2[_0x2a9a64]['pairId']));}['_removeMissingPairs'](_0x258f9b){const _0x563f36=new Set(_0x258f9b['map'](_0x24f62b=>_0x24f62b['id']));for(let _0x5cad1c=0x0;_0x5cad1c<_0x258f9b['length'];_0x5cad1c++)_0x563f36['has'](_0x258f9b[_0x5cad1c]['pairId'])||0x0==_0x258f9b[_0x5cad1c]['distance']||(_0x258f9b[_0x5cad1c]['isIncorrect']=!0x0);return _0x258f9b['filter'](_0xcc64aa=>!_0xcc64aa['isIncorrect']);}['_markMismatchedRemovedTags'](_0x37c093){const _0x23250e=new Set();for(let _0x57b0cc=0x0;_0x57b0cc<_0x37c093['length'];_0x57b0cc++){if(_0x23250e['has'](_0x37c093[_0x57b0cc]['id'])&&_0x37c093[_0x57b0cc]['isRemoved']&&(_0x37c093[_0x57b0cc]['isIncorrect']=!0x0),_0x37c093[_0x57b0cc]['isIncorrect'])continue;if(0x0==_0x37c093[_0x57b0cc]['distance'])continue;if('elementStart'!=_0x37c093[_0x57b0cc]['type'])continue;if(null==_0x37c093[_0x57b0cc]['pairId'])continue;let _0x3762e1=_0x57b0cc+0x1,_0x2af1cc=0x0;for(;_0x37c093[_0x3762e1]['id']!=_0x37c093[_0x57b0cc]['pairId'];)'elementStart'==_0x37c093[_0x3762e1]['type']?_0x2af1cc++:'elementEnd'==_0x37c093[_0x3762e1]['type']&&_0x2af1cc--,_0x3762e1++;if(0x0!=_0x2af1cc){if(_0x37c093[_0x57b0cc]['isRemoved'])_0x37c093[_0x57b0cc]['isIncorrect']=!0x0;else{for(;_0x3762e1!=_0x57b0cc;)_0x37c093[_0x3762e1]['isRemoved']&&0x0!=_0x37c093[_0x3762e1]['distance']&&(_0x37c093[_0x3762e1]['isIncorrect']=!0x0,_0x23250e['add'](_0x37c093[_0x3762e1]['pairId'])),_0x3762e1--;}}}return _0x37c093['filter'](_0x2330a6=>!_0x2330a6['isIncorrect']);}['_removeUnsupportedChanges'](_0x5de239){const _0x5c1a89=this['editor']['model']['schema'];for(let _0xa883f6=0x0;_0xa883f6<_0x5de239['length'];_0xa883f6++){if(!(_0x5de239[_0xa883f6]['isAdded']||_0x5de239[_0xa883f6]['isAddSuggestion']||_0x5de239[_0xa883f6]['isRemoved']||_0x5de239[_0xa883f6]['isRemoveSuggestion']))continue;if(0x0==_0x5de239[_0xa883f6]['distance'])continue;const _0x41c600=_0x5de239[_0xa883f6]['item'];_0x5c1a89['isBlock'](_0x41c600)||_0x5c1a89['isLimit'](_0x41c600)||(_0x5de239[_0xa883f6]['isAdded']&&delete _0x5de239[_0xa883f6]['isAdded'],_0x5de239[_0xa883f6]['isAddSuggestion']&&delete _0x5de239[_0xa883f6]['isAddSuggestion'],_0x5de239[_0xa883f6]['isRemoveSuggestion']&&delete _0x5de239[_0xa883f6]['isRemoveSuggestion'],_0x5de239[_0xa883f6]['isRemoved']&&(_0x5de239[_0xa883f6]['isIncorrect']=!0x0));}return _0x5de239['filter'](_0x3bcfe3=>!_0x3bcfe3['isIncorrect']);}['_makeModelFromTape'](_0x1c9cec,_0x181e53,_0x3f4fed){const _0x49612a=new wt(),_0x556d66=[],_0xa47b62=new Map(),_0x4b2c7a=this['editor']['model'],_0x4d0624=_0x4b2c7a['schema'],_0x527a00=[_0x49612a],_0x4477bb={},_0x5db35f={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x1121eb=null;const _0x3c4385=[0x0];for(let _0x5d4299=0x0;_0x5d4299<_0x1c9cec['length'];_0x5d4299++){let _0x402bb0,_0x1c793f;if('elementStart'===_0x1c9cec[_0x5d4299]['type']){_0x402bb0=_0x4b2c7a['createPositionFromPath'](_0x49612a,_0x3c4385);const _0x3dac51=new ft(_0x1c9cec[_0x5d4299]['item']['name'],_0x1c9cec[_0x5d4299]['item']['getAttributes']());_0x527a00[0x0]['_appendChild'](_0x3dac51),_0x3c4385['push'](0x0),_0x527a00['unshift'](_0x3dac51),_0x1c793f=_0x4b2c7a['createPositionFromPath'](_0x49612a,_0x3c4385),_0x1121eb=null;}else{if('elementEnd'===_0x1c9cec[_0x5d4299]['type'])_0x527a00['shift'](),_0x402bb0=_0x4b2c7a['createPositionFromPath'](_0x49612a,_0x3c4385),_0x3c4385['pop'](),_0x3c4385[_0x3c4385['length']-0x1]++,_0x1c793f=_0x4b2c7a['createPositionFromPath'](_0x49612a,_0x3c4385),_0x1121eb=null;else{if(_0x402bb0=_0x4b2c7a['createPositionFromPath'](_0x49612a,_0x3c4385),_0x1121eb&&_0x1b4f35(_0x1121eb,_0x1c9cec[_0x5d4299]['item']))_0x1121eb['_data']+=_0x1c9cec[_0x5d4299]['item']['data'];else{const _0x44bddd=new _t(_0x1c9cec[_0x5d4299]['item']['data'],_0x1c9cec[_0x5d4299]['item']['getAttributes']());_0x527a00[0x0]['_appendChild'](_0x44bddd),_0x1121eb=_0x44bddd;}_0x3c4385[_0x3c4385['length']-0x1]+=_0x1c9cec[_0x5d4299]['item']['offsetSize'],_0x1c793f=_0x4b2c7a['createPositionFromPath'](_0x49612a,_0x3c4385);}}for(const _0xb5e865 of _0x1c9cec[_0x5d4299]['markersStart'])_0xa47b62['set'](_0xb5e865,{'start':_0x402bb0,'end':null});_0x1a1a84('isRemoveSuggestion',_0x5d4299,_0x402bb0,_0x1c793f),_0x1a1a84('isAddSuggestion',_0x5d4299,_0x402bb0,_0x1c793f),_0x1a1a84('isRemoved',_0x5d4299,_0x402bb0,_0x1c793f),_0x1a1a84('isAdded',_0x5d4299,_0x402bb0,_0x1c793f);for(const _0x5875da of _0x1c9cec[_0x5d4299]['markersEnd']){_0xa47b62['get'](_0x5875da)['end']=_0x1c793f;}}for(const [_0x24b1e7,_0x38ccd3]of _0xa47b62){const _0x2fdc46=this['editor']['model']['createRange'](_0x38ccd3['start'],_0x38ccd3['end']);_0x49612a['markers']['set'](_0x24b1e7,_0x2fdc46);}return _0x556d66['sort']((_0x489f6b,_0x159e72)=>{const _0x144095=_0x49612a['markers']['get']('revision:'+_0x489f6b['id']),_0xc642c7=_0x49612a['markers']['get']('revision:'+_0x159e72['id']);return _0x144095['start']['isBefore'](_0xc642c7['start'])?-0x1:_0x144095['start']['isAfter'](_0xc642c7['start'])?0x1:_0x144095['end']['isBefore'](_0xc642c7['end'])?-0x1:_0x144095['end']['isAfter'](_0xc642c7['end'])?0x1:'add'===_0x489f6b['type']?-0x1:0x1;}),{'root':_0x49612a,'changes':_0x556d66};function _0x1a1a84(_0x2ff2ef,_0x6030cc,_0x196524,_0x2fc43b){const _0xf497d5=!!_0x1c9cec[_0x6030cc][_0x2ff2ef],_0x1c4943=_0xf497d5?_0x1c9cec[_0x6030cc][_0x2ff2ef]['userId']:null,_0x542969=_0x6030cc===_0x1c9cec['length']-0x1,_0x3ab76e=_0x5db35f[_0x2ff2ef][0x0],_0x39b81a=_0x4d0624['isObject'](_0x1c9cec[_0x6030cc]['item']);!_0x4477bb[_0x2ff2ef]&&_0xf497d5?_0x4477bb[_0x2ff2ef]={'start':_0x196524,'tapeItem':_0x1c9cec[_0x6030cc],'userId':_0x1c4943,'type':_0x2ff2ef}:_0x4477bb[_0x2ff2ef]&&!_0xf497d5?(_0x4477bb[_0x2ff2ef]['end']=_0x196524,_0x5add21(_0x4477bb[_0x2ff2ef]),_0x4477bb[_0x2ff2ef]=null):_0x4477bb[_0x2ff2ef]&&_0xf497d5&&_0x4477bb[_0x2ff2ef]['userId']!==_0x1c4943&&(_0x4477bb[_0x2ff2ef]['end']=_0x196524,_0x3ab76e&&_0x3ab76e['userId']===_0x4477bb[_0x2ff2ef]['userId']||_0x5add21(_0x4477bb[_0x2ff2ef]),_0x4477bb[_0x2ff2ef]={'start':_0x196524,'tapeItem':_0x1c9cec[_0x6030cc],'userId':_0x1c4943,'type':_0x2ff2ef}),_0x4477bb[_0x2ff2ef]&&_0x39b81a&&('elementStart'!==_0x1c9cec[_0x6030cc]['type']||_0x3ab76e&&_0x3ab76e['userId']===_0x1c4943||_0x5db35f[_0x2ff2ef]['unshift']({'userId':_0x1c4943,'object':_0x1c9cec[_0x6030cc]['item'],'change':_0x4477bb[_0x2ff2ef]}),'elementEnd'===_0x1c9cec[_0x6030cc]['type']&&_0x3ab76e&&_0x3ab76e['object']===_0x1c9cec[_0x6030cc]['item']&&(_0x5db35f[_0x2ff2ef]['shift'](),_0x4477bb[_0x2ff2ef]=_0x3ab76e['change'])),_0x4477bb[_0x2ff2ef]&&_0x542969&&(_0x4477bb[_0x2ff2ef]['end']=_0x2fc43b,_0x5add21(_0x4477bb[_0x2ff2ef]),_0x4477bb[_0x2ff2ef]=null);}function _0x5add21({start:_0x1afae0,end:_0x3b4690,tapeItem:_0x58d431,userId:_0x1b325b,type:_0x52aed7}){const _0x3cd808=_0x58d431['item'],_0x1ff0e2=_0x4b2c7a['schema']['isBlock'](_0x3cd808)&&!_0x4b2c7a['schema']['isLimit'](_0x3cd808),_0x1a1367=_0x1afae0['nodeAfter']==_0x3b4690['parent']&&_0x3b4690['isAtStart'];if(_0x1ff0e2&&_0x1a1367)return;const _0x40cf9c=_0x4b2c7a['createRange'](_0x1afae0,_0x3b4690),_0x32172b=_0x181e53['get'](_0x1b325b),_0x480f40=new r({'author':_0x32172b,'type':'isAdded'==_0x52aed7||'isAddSuggestion'==_0x52aed7?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x52aed7||'isRemoveSuggestion'==_0x52aed7},'createdAt':new Date(),'rootName':_0x3f4fed});_0x556d66['push'](_0x480f40),_0x49612a['markers']['set']('revision:'+_0x480f40['id'],_0x40cf9c);}function _0x1b4f35(_0x271798,_0x316153){const _0x404afe=_0x271798['getAttributes'](),_0x19f65a=_0x316153['getAttributes']();for(const _0x274699 of _0x404afe){if(_0x274699[0x1]!==_0x316153['getAttribute'](_0x274699[0x0]))return!0x1;_0x19f65a['next']();}return _0x19f65a['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x509889=>{const _0xd0c1ee=_0x509889['markerName']['split'](':')[0x1],_0x15ad57=this['_getChangeFromId'](_0xd0c1ee);if(!_0x15ad57)return null;const _0x29caad='add'==_0x15ad57['type']?'insertion':'deletion',_0x322edf=['ck-suggestion-marker','ck-suggestion-marker-'+_0x29caad];return _0x15ad57['data']['isSuggestion']&&_0x322edf['push']('ck-suggestion-marker-'+_0x29caad+'-new'),this['activeChange']==_0x15ad57&&_0x322edf['push']('ck-suggestion-marker--active'),{'classes':_0x322edf,'attributes':{'data-change-id':_0xd0c1ee}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x22dd24=>{_0x22dd24['on']('element:pre',(_0x3b3237,_0x5b0a15,_0x40a735)=>{const _0x13df2f=_0x5b0a15['viewItem']['getChild'](0x0);if(!_0x13df2f||!_0x13df2f['is']('element','code'))return;if(!_0x40a735['consumable']['consume'](_0x13df2f,{'attributes':['vid_start','vid_end']}))return;const _0x399fce=_0x5b0a15['modelRange']['start']['nodeAfter'];_0x40a735['writer']['setAttribute']('vid_start',_0x13df2f['getAttribute']('vid_start'),_0x399fce),_0x40a735['writer']['setAttribute']('vid_end',_0x13df2f['getAttribute']('vid_end'),_0x399fce);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x50fc11=>{_0x50fc11['on']('element',(_0x5e4295,_0x1a5341,_0x5e8407)=>{if(!_0x5e8407['consumable']['consume'](_0x1a5341['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x1a5341['modelRange']['isCollapsed'])return;const _0x563856=_0x1a5341['modelRange']['start']['nodeAfter'];_0x563856['hasAttribute']('vid_start')||_0x563856['hasAttribute']('vid')||(_0x5e8407['writer']['setAttribute']('vid_start',_0x1a5341['viewItem']['getAttribute']('vid_start'),_0x563856),_0x5e8407['writer']['setAttribute']('vid_end',_0x1a5341['viewItem']['getAttribute']('vid_end'),_0x563856));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x158893=>_0x158893['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x335ed4,[,_0x27d2d0])=>{['vid_start','vid_end','vid']['includes'](_0x27d2d0)&&(_0x335ed4['return']=!0x0,_0x335ed4['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x448d70=>{_0x448d70['on']('attribute:vid',(_0x45d900,_0x22704f,_0x2d86c4)=>{if('\x20'!=_0x22704f['item']['data']||_0x22704f['item']['parent']['maxOffset']>0x1)return;if(!_0x2d86c4['consumable']['consume'](_0x22704f['item'],_0x45d900['name']))return;const _0x16ab0b=_0x2d86c4['writer'],_0x5635d6=_0x2d86c4['mapper']['toViewRange'](_0x22704f['range']);_0x16ab0b['wrap'](_0x5635d6,_0x16ab0b['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x4ac177){const _0x1aeffe=_0x4ac177['plugins']['get']('RevisionViewer');return(_0x381508,_0x17907d,_0x2f9e11)=>{const _0x32e2d7=_0x17907d['markerName']['split'](':')[0x1],_0x12d083=_0x1aeffe['_getChangeFromId'](_0x32e2d7);if(!_0x12d083)return null;const _0x2d7105='add'==_0x12d083['type']?'split':'merge';if(!_0x2f9e11['consumable']['test'](_0x17907d['markerRange'],_0x381508['name']))return;const _0x48a7b3=_0x17907d['markerRange']['getWalker'](),_0x27c448=_0x17907d['markerRange']['start'],_0x241bea=_0x4ac177['model']['schema'];let _0x108f50=null,_0x35eae5=null,_0xcd3a24=!0x1,_0x1d3e4e=!0x1;for(const _0x42e230 of _0x48a7b3){const _0x436a5c=_0x42e230['item'];_0xcd3a24=_0xcd3a24||_0x241bea['isContent'](_0x436a5c);const _0x44fae0=_0x2f9e11['mapper']['toViewElement'](_0x436a5c);if(_0x44fae0&&_0x44fae0['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x42e230['type']&&(_0x241bea['isBlock'](_0x436a5c)&&!_0x241bea['isLimit'](_0x436a5c)&&(_0x436a5c['nextSibling']||_0x27c448['isAtEnd']?_0x108f50&&_0x108f50['parent']==_0x436a5c||(_0x108f50=_0x436a5c,_0x42bbd9(_0x42e230['previousPosition']),_0x1d3e4e=!0x0):_0x35eae5=_0x35eae5||_0x42e230['previousPosition']));}function _0x42bbd9(_0x3f0c52){const _0x2f5bff=_0x2f9e11['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2d7105}),_0x3122bd=_0x2f9e11['mapper']['toViewPosition'](_0x3f0c52);_0x12d083['data']['isSuggestion']&&_0x2f9e11['writer']['addClass']('ck-suggestion-marker-'+_0x2d7105+'-new',_0x2f5bff),_0x1aeffe['activeChange']==_0x12d083&&_0x2f9e11['writer']['addClass']('ck-suggestion-marker--active',_0x2f5bff),_0x2f9e11['writer']['insert'](_0x3122bd,_0x2f5bff),_0x2f9e11['mapper']['bindElementToMarker'](_0x2f5bff,_0x17907d['markerName']);}_0xcd3a24||_0x1d3e4e||!_0x35eae5||_0x42bbd9(_0x35eae5);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x494c39,_0x21de78,_0x1b71a8)=>{const _0x4cfd10=_0x1b71a8['mapper']['markerNameToElements'](_0x21de78['markerName']);if(_0x4cfd10){for(const _0x5cecc5 of _0x4cfd10)(_0x5cecc5['hasClass']('ck-suggestion-marker-split')||_0x5cecc5['hasClass']('ck-suggestion-marker-merge'))&&(_0x1b71a8['mapper']['unbindElementFromMarkerName'](_0x5cecc5,_0x21de78['markerName']),_0x1b71a8['writer']['remove'](_0x5cecc5));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0xc32006,_0x1200f8,_0x7e9cb8)=>{const _0xb9461f=_0x1200f8['markerName']['split'](':')[0x1],_0x2bf458=this['_getChangeFromId'](_0xb9461f);if(!_0x2bf458)return null;const _0x293019='add'==_0x2bf458['type']?'split':'merge';if(_0x7e9cb8['consumable']['test'](_0x1200f8['markerRange'],_0xc32006['name']))for(const _0x538a1c of _0x1200f8['markerRange']['getItems']()){if(!_0x538a1c['is']('element','softBreak'))continue;const _0x376e42=_0x7e9cb8['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x293019}),_0x407f8c=_0x7e9cb8['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x538a1c));_0x2bf458['data']['isSuggestion']&&_0x7e9cb8['writer']['addClass']('ck-suggestion-marker-'+_0x293019+'-new',_0x376e42),this['activeChange']==_0x2bf458&&_0x7e9cb8['writer']['addClass']('ck-suggestion-marker--active',_0x376e42),_0x7e9cb8['writer']['insert'](_0x407f8c,_0x376e42),_0x7e9cb8['mapper']['bindElementToMarker'](_0x376e42,_0x1200f8['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x1ee528=>{for(const _0x2eda87 of this['editor']['model']['document']['getRootNames']()){const _0x45024c=this['editor']['model']['document']['getRoot'](_0x2eda87),_0x4e9d33=this['editor']['editing']['view']['document']['getRoot'](_0x2eda87);if(_0x4e9d33){const _0x7f66ee=_0x45024c['getAttribute']('revisionHistoryAttachChange');if(_0x1ee528['removeAttribute']('data-change-id',_0x4e9d33),_0x1ee528['removeClass']('ck-revision-history-root-add',_0x4e9d33),_0x1ee528['removeClass']('ck-revision-history-root-remove',_0x4e9d33),_0x1ee528['removeClass']('ck-revision-history-root--active',_0x4e9d33),_0x7f66ee){const _0x461181=this['_getChangeFromId'](_0x7f66ee);if(!_0x461181)return null;_0x1ee528['setAttribute']('data-change-id',_0x7f66ee,_0x4e9d33),_0x1ee528['addClass']('ck-revision-history-root-'+_0x461181['type'],_0x4e9d33),this['activeChange']==_0x461181&&_0x1ee528['addClass']('ck-revision-history-root--active',_0x4e9d33);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x3d26af=>'revision-comment:'+_0x3d26af,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x20b69c=>'revision-suggestion:'+_0x20b69c,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x6317a7=>({'name':'suggestion:'+_0x6317a7,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x57c719=>{const _0x3e46d3=_0x57c719['markerName']['split'](':')[0x1];return'insertion'!=_0x3e46d3&&'deletion'!=_0x3e46d3?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x3e46d3]};}}),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',(_0x155878,_0x48d288,_0x32b97a)=>{const _0x2ccafa=_0x32b97a['mapper']['markerNameToElements'](_0x48d288['markerName']);if(_0x2ccafa){for(const _0x2df016 of _0x2ccafa)_0x2df016['is']('uiElement')&&(_0x32b97a['mapper']['unbindElementFromMarkerName'](_0x2df016,_0x48d288['markerName']),_0x32b97a['writer']['remove'](_0x2df016));}},{'priority':'high'});}['_getChangeFromId'](_0x3ed177){return this['_changeIdToChange']['get'](_0x3ed177);}['_getViewForChange'](_0x246875){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x246875),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x3c4de1,_0x9e582c,_0x55de71,_0x53e6a7)=>{_0x53e6a7&&this['_balloon']['remove'](_0x53e6a7),_0x55de71&&(this['_balloon']['add']({'view':_0x55de71,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x4f9813=this['editor']['editing'],_0xbc5abe=this['_getChangeFromId'](_0x55de71['changeId']);let _0x4eb281;if(_0xbc5abe['data']['isOnRoot']){const _0x1a7858=_0x4f9813['view']['getDomRoot'](_0xbc5abe['rootName']);_0x4eb281=Array['from'](_0x1a7858['getClientRects']());}else{const _0x440f8a=this['editor']['model']['markers']['get']('revision:'+_0x55de71['changeId']);_0x4eb281=Array['from'](_0x4f9813['mapper']['markerNameToElements'](_0x440f8a['name']))['map'](_0x267473=>_0x4f9813['view']['domConverter']['mapViewToDom'](_0x267473))['map'](_0x1cfb68=>Array['from'](_0x1cfb68['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x4eb281[0x0];return _0x4eb281['find'](_0x33921e=>_0x33921e['top']-0x3<=this['_activeViewTarget']['y']&&_0x33921e['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x33921e['left']-0x3<=this['_activeViewTarget']['x']&&_0x33921e['right']+0x3>=this['_activeViewTarget']['x'])||_0x4eb281[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x5ad37b,_0x2a1525,_0x19e5e9,_0x1a45a8)=>{this['activeView']=_0x19e5e9?this['_getViewForChange'](_0x19e5e9):null,this['editor']['model']['change'](()=>{const _0x39c678=this['editor']['editing'];_0x1a45a8&&(_0x1a45a8['data']['isOnRoot']?_0x39c678['view']['change'](_0x18a0ce=>{_0x18a0ce['removeClass']('ck-revision-history-root--active',_0x39c678['view']['document']['getRoot'](_0x1a45a8['rootName']));}):_0x39c678['reconvertMarker']('revision:'+_0x1a45a8['id'])),_0x19e5e9&&(_0x19e5e9['data']['isOnRoot']?_0x39c678['view']['change'](_0x314bb3=>{_0x314bb3['addClass']('ck-revision-history-root--active',_0x39c678['view']['document']['getRoot'](_0x19e5e9['rootName']));}):_0x39c678['reconvertMarker']('revision:'+_0x19e5e9['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0xef1354,_0x5bdd5c)=>{if(this['activeChange'])return;const _0x54f39d=this['_findChangeIdFromDomTarget'](_0x5bdd5c['target']),_0x55a181=this['_changeIdToChange']['get'](_0x54f39d);_0x55a181?(this['_activeViewTarget']={'x':_0x5bdd5c['domEvent']['x'],'y':_0x5bdd5c['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x55a181)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x785279,_0x39caae)=>{const _0x403f67=this['_findChangeIdFromDomTarget'](_0x39caae['target']),_0x518cdd=this['_changeIdToChange']['get'](_0x403f67);_0x518cdd?(this['_activeViewTarget']={'x':_0x39caae['domEvent']['x'],'y':_0x39caae['domEvent']['y']},_0x518cdd===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x518cdd):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0xe3cb0c){do{const _0xab4453=_0xe3cb0c['getAttribute']('data-change-id');if(_0xab4453)return _0xab4453;_0xe3cb0c=_0xe3cb0c['parent'];}while(_0xe3cb0c);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x2809f1=>{for(const _0x4ee2e5 of this['editor']['model']['markers'])_0x2809f1['removeMarker'](_0x4ee2e5);});}}function et(_0x222679,_0x4927ac){return(_0x55a7c3,_0x4c7b34,_0x354c68)=>{if(!_0x354c68['consumable']['test'](_0x4c7b34['markerRange'],_0x55a7c3['name']))return;const _0xf2e653=_0x4c7b34['markerRange']['getWalker'](),_0x19fe36=_0x4c7b34['markerRange']['start'],_0x23b242=_0x222679['model']['schema'];let _0x4646c5=null,_0x149e48=null,_0x1fa522=!0x1,_0x3c0db1=!0x1;for(const _0x2dd54f of _0xf2e653){const _0x156f91=_0x2dd54f['item'];_0x1fa522=_0x1fa522||_0x23b242['isContent'](_0x156f91);const _0x3f302d=_0x354c68['mapper']['toViewElement'](_0x156f91);if(_0x3f302d&&_0x3f302d['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x2dd54f['type']&&(_0x23b242['isBlock'](_0x156f91)&&!_0x23b242['isLimit'](_0x156f91)&&(_0x156f91['nextSibling']||_0x19fe36['isAtEnd']?_0x4646c5&&_0x4646c5['parent']==_0x156f91||(_0x4646c5=_0x156f91,_0x1c98cd(_0x2dd54f['previousPosition']),_0x3c0db1=!0x0):_0x149e48=_0x149e48||_0x2dd54f['previousPosition']));}function _0x1c98cd(_0x4b53fe){const _0x2cbd07=_0x354c68['mapper']['toViewPosition'](_0x4b53fe),_0x73579c=_0x354c68['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x4927ac});_0x354c68['writer']['insert'](_0x2cbd07,_0x73579c),_0x354c68['mapper']['bindElementToMarker'](_0x73579c,_0x4c7b34['markerName']);}_0x1fa522||_0x3c0db1||!_0x149e48||_0x1c98cd(_0x149e48);};}class bt extends _0x29a981{constructor(_0x478e83){super(_0x478e83);const _0x3a24c1=_0x478e83['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x3a24c1,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x3a24c1,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x35a86c=this['editor'],_0x24449b=_0x35a86c['plugins']['get'](d),_0x395727=_0x24449b['isReady']?_0x24449b['diff']['newRevisionId']:null;_0x35a86c['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x395727);}['refresh'](){const {isReady:_0x5d2938,isEnabled:_0x18e46e}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x5d2938&&_0x18e46e;}}class yt extends _0x29a981{['_step'];constructor(_0x48a2eb,{direction:_0x46d4dd}){super(_0x48a2eb);const _0x49439f=_0x48a2eb['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x46d4dd?0x1:-0x1,this['listenTo'](_0x49439f,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x49439f,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x49439f,'change:activeChange',()=>this['refresh']());}['execute'](){const _0xf176a8=this['editor'],_0x193949=_0xf176a8['plugins']['get'](d),{isNavigationMode:_0x46578f,currentChangeNumber:_0x5a66f9}=_0x193949;let _0x48745f;if(_0x193949['activeChange']=_0x46578f?_0x193949['diff']['changes']['get'](_0x5a66f9+this['_step']):_0x193949['diff']['changes']['first'],_0x193949['activeChange']['data']['isOnRoot'])_0x48745f=_0xf176a8['editing']['view']['getDomRoot'](_0x193949['activeChange']['rootName']);else{const _0x1765ca=_0xf176a8['model']['markers']['get']('revision:'+_0x193949['activeChange']['id']);_0x48745f=_0x27a391(_0xf176a8['editing'],_0x1765ca);}_0x479144({'target':_0x48745f,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x4e6a93,currentChangeNumber:_0x51e31a,numberOfChanges:_0x1fe77b,isReady:_0x17f531,isEnabled:_0x4a647b}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x4a647b&&_0x17f531&&_0x1fe77b)&&(!_0x4e6a93||(0x1===this['_step']?_0x51e31a<_0x1fe77b-0x1:_0x51e31a>0x0));}}class ui extends ts{constructor(_0x560a65){super(_0x560a65);const _0x27910b=this['bindTemplate'],_0x1ec001=new te(_0x560a65),_0xd9237f=new te(_0x560a65);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',(_0x42d575,_0x3f732b)=>_0x42d575&&_0x3f732b>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x2238c4,_0x42a197,_0x34c151,_0x5dc982)=>{if(!_0x2238c4)return y(_0x560a65,'Loading...');if(!_0x34c151)return y(_0x560a65,'No\x20changes');const _0x430bae=y(_0x560a65,'NUMBER_OF_CHANGES',_0x34c151);return _0x5dc982?y(_0x560a65,'X_OF_Y_CHANGES',[_0x42a197+0x1,_0x34c151]):_0x430bae;}),_0x1ec001['set']({'label':y(_0x560a65,'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'}),_0xd9237f['set']({'label':y(_0x560a65,'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'}),_0x1ec001['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0xd9237f['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x1ec001['on']('execute',()=>this['fire']('execute','backward')),_0xd9237f['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',_0x27910b['if']('_isStatusLabelVisible','ck-hidden',_0xf3d921=>!_0xf3d921)]},'children':[{'text':_0x27910b['to']('isNavigationMode',_0x166324=>_0x166324?y(_0x560a65,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x560a65,'Total')+':\x20')}]},{'text':_0x27910b['to']('_statusText')}]},new _0x469b06(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x1ec001,_0xd9237f]}]});}}const de='ck-editor__editable__loading-overlay';class le extends _0x5cf14b{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x26f7f4=this['editor']['editing']['view'];_0x26f7f4['change'](_0x5c1f12=>{for(const _0x2a1d4a of _0x26f7f4['document']['roots'])_0x5c1f12['addClass'](de,_0x2a1d4a);});}['hide'](){const _0x52694f=this['editor']['editing']['view'];_0x52694f['change'](_0x3cb155=>{for(const _0x5d2f6a of _0x52694f['document']['roots'])_0x3cb155['removeClass'](de,_0x5d2f6a);});}}class R extends _0x5cf14b{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,le];}['init'](){const _0xcee3b7=this['editor'],_0xcb0408=_0xcee3b7['plugins']['get'](d),_0x18518a=_0xcee3b7['plugins']['get'](le);_0xcee3b7['ui']['componentFactory']['add']('exitToEditing',_0xd11323=>{const _0x344f23=new te(_0xd11323);return _0x344f23['set']({'label':y(_0xd11323,'Back\x20to\x20editing'),'icon':_0x5eadf1['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x344f23,'execute',()=>{_0xcee3b7['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x344f23;}),_0xcee3b7['ui']['componentFactory']['add']('restoreRevision',_0x4c0bb3=>{const _0x33f593=new te(_0x4c0bb3);return _0x33f593['set']({'label':y(_0x4c0bb3,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x33f593['bind']('isEnabled')['to'](_0xcee3b7['commands']['get']('restoreRevision')),this['listenTo'](_0x33f593,'execute',()=>_0xcee3b7['execute']('restoreRevision')),_0x33f593;}),_0xcee3b7['ui']['componentFactory']['add']('changesNavigation',_0x54bfb8=>{const _0x1d10b8=new ui(_0x54bfb8),_0x3e54d8=_0xcee3b7['commands']['get']('showPreviousChange'),_0x4a504f=_0xcee3b7['commands']['get']('showNextChange');return _0x1d10b8['bind']('isBackwardNavigationEnabled')['to'](_0x3e54d8,'isEnabled'),_0x1d10b8['bind']('isForwardNavigationEnabled')['to'](_0x4a504f,'isEnabled'),_0x1d10b8['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0xcb0408),this['listenTo'](_0x1d10b8,'execute',(_0xbd34e8,_0x4ad325)=>{_0xcee3b7['execute']('forward'===_0x4ad325?'showNextChange':'showPreviousChange');}),_0x1d10b8;}),_0x18518a['show'](),_0xcb0408['on']('change:isReady',(_0x485a57,_0x210c09,_0x2ee2ad)=>{_0x2ee2ad?_0x18518a['hide']():_0x18518a['show']();});}}class mt extends _0x35a0a1{['_resizeObserver']=null;constructor(_0x328966,_0x41788f){super(_0x328966,_0x41788f);const _0x44863d=this['bindTemplate'];this['set']({'label':y(_0x328966,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x328966,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x44863d['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new at(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0xf18e11=this['fieldView']['element'];this['_tooltipString']=_0xf18e11['scrollWidth']>_0xf18e11['clientWidth']&&_0xf18e11['value']||'';}}class ri extends ts{constructor(_0x18073b,_0x2739f7,_0x553433){super(_0x18073b);const _0x2c83b1=new _0x2194fe();_0x2c83b1['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 _0x20bb7f=['ck','ck-revision-history-sidebar__revision-author'];_0x553433&&_0x20bb7f['push']('ck-revision-history-sidebar__revision-author_creator');const _0x2778c8=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x18073b,_0x553433?'Revision\x20creator':'Revision\x20author')},'children':[_0x2c83b1,_0x2739f7['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x20bb7f},'children':_0x2778c8});}}function oi(_0xdf52e,_0x58fdcd){const _0x3265cf=_0xdf52e['bindTemplate'],_0x4f39c0=_0xdf52e['locale'],_0x437ee5=_0x42fdea(_0x4f39c0);_0x437ee5['panelPosition']='sw';const _0x1f5149=function(_0x65dca9,_0x3d27f3){const _0x481080=function(_0x1b96f8,_0x2336d7){const _0x5450f1=_0x1b96f8['locale'],_0x2b5f09={'Compare\x20against\x20selected':y(_0x5450f1,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x5450f1,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x5450f1,'Restore\x20this\x20revision')};return _0x2336d7['map'](_0x3f0a22=>{const _0x37a786=_0x2b5f09[_0x3f0a22['name']];return _0x37a786&&_0x37a786!==_0x3f0a22['name']&&(_0x3f0a22['name']=_0x37a786),_0x3f0a22;});}(_0x65dca9,_0x3d27f3),_0x2e5cff=new _0x2af926();for(const _0x440bcf of _0x481080){const _0x34e8ba={'type':'button','model':new _0x34129a({'label':_0x440bcf['name'],'class':_0x440bcf['class'],'withText':!0x0,'role':'menuitem','_action':_0x440bcf['action']})};_0x34e8ba['model']['bind']('isEnabled')['to'](_0x65dca9,'isActionsDropdownOpen',_0x399ad1=>'function'!=typeof _0x440bcf['isEnabled']||(!_0x399ad1||_0x440bcf['isEnabled'](_0x65dca9))),_0x2e5cff['add'](_0x34e8ba);}return _0x2e5cff;}(_0xdf52e,_0x58fdcd);return _0xdf52e['bind']('isActionsDropdownOpen')['to'](_0x437ee5,'isOpen'),_0x437ee5['buttonView']['set']({'label':y(_0x4f39c0,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x5eadf1['threeVerticalDots']}),_0x437ee5['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x3265cf['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x3265cf['to'](_0x52c950=>_0x52c950['stopPropagation']())}}),_0x437ee5['on']('execute',_0x36535a=>{_0xdf52e['isReady']&&'function'==typeof _0x36535a['source']['_action']&&_0x36535a['source']['_action'](_0xdf52e);}),to(_0x437ee5,_0x1f5149,{'role':'menu'}),_0x437ee5['listenTo'](_0xdf52e,'change:isActionsDropdownOpen',(_0x4ec860,_0x3f0555,_0x17b45d)=>{if(_0x17b45d)for(const _0x1c80b5 of _0x437ee5['listView']['items']){const _0x5c54ab=_0x1c80b5['children']['first'],_0x8d3258=_0x58fdcd['find'](_0x18d9a1=>_0x18d9a1['action']===_0x5c54ab['_action'])['isVisible'];_0x1c80b5['isVisible']=void 0x0===_0x8d3258||_0x8d3258(_0xdf52e);}}),_0x437ee5;}class hi extends/* #__PURE__ -- @preserve */
26
+ ti(ts){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x413fd8,_0x5f3fb7,_0x1cc428,_0x48407d){super(_0x413fd8);const _0x506c2b=this['bindTemplate'],_0x2623da=function(_0x54961c,_0xddd1f1){const _0x2cc7f7=Array['from'](_0xddd1f1['authors'])['filter'](_0x17dcbf=>_0x17dcbf!=_0xddd1f1['creator']);return _0xddd1f1['creator']&&_0x2cc7f7['unshift'](_0xddd1f1['creator']),_0x2cc7f7['map'](_0x574ce8=>new ri(_0x54961c,_0x574ce8,_0x574ce8==_0xddd1f1['creator']));}(_0x413fd8,_0x5f3fb7);this['id']=_0x5f3fb7['id'],this['_revision']=_0x5f3fb7,this['_requireRevisionName']=_0x48407d,this['bind']('name','createdAt')['to'](_0x5f3fb7),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x1d9642=>{return _0x321ff8=_0x413fd8['uiLanguage'],(_0x5b098e=_0x1d9642)['toLocaleDateString'](_0x321ff8,{'month':'long','day':'numeric'})+',\x20'+_0x5b098e['toLocaleTimeString'](_0x321ff8,{'hour':'numeric','minute':'numeric'});var _0x321ff8,_0x5b098e;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new mt(_0x413fd8,_0x169b0b),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x3a4d23=>_0x3a4d23||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x37575d,_0x44ec1c)=>_0x37575d&&_0x44ec1c),this['revisionActionsView']=_0x1cc428&&_0x1cc428['length']?oi(this,_0x1cc428):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x506c2b['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x506c2b['if']('isEnabled','ck-disabled',_0x2fc2c4=>!_0x2fc2c4),_0x506c2b['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x506c2b['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x506c2b['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':_0x506c2b['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':_0x2623da}]},this['revisionActionsView']],'on':{'click':_0x506c2b['to'](_0x5850b3=>{_0x5850b3['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x492ebd=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x492ebd,'change',()=>{this['_requireRevisionName']&&!_0x492ebd['value']||this['fire']('setName',{'id':this['id'],'name':_0x492ebd['value']}),_0x492ebd['value']||(_0x492ebd['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function mi(_0x3bfdce,_0x96262a){const _0xedea4=_0x4530d6['fromJSDate'](_0x3bfdce)['setLocale'](_0x96262a),_0x4beda1=_0x4530d6['local'](),_0x35b222=_0x4beda1['minus']({'days':0x1})['startOf']('day');let _0x215674,_0x10886d;return _0xedea4['hasSame'](_0x4beda1,'day')?(_0x215674=_0xedea4['startOf']('day')['toJSDate'](),_0x10886d=_0xedea4['toRelativeCalendar']()):_0xedea4['hasSame'](_0x35b222,'day')?(_0x215674=_0x35b222['toJSDate'](),_0x10886d=_0xedea4['toRelativeCalendar']()):_0xedea4['hasSame'](_0x4beda1,'week')?(_0x215674=_0xedea4['startOf']('week')['toJSDate'](),_0x10886d=_0xedea4['weekdayLong']||''):_0xedea4['hasSame'](_0x4beda1,'year')?(_0x215674=_0xedea4['startOf']('month')['toJSDate'](),_0x10886d=_0xedea4['monthLong']||''):(_0x215674=_0xedea4['startOf']('year')['toJSDate'](),_0x10886d=String(_0xedea4['year'])),{'startDate':_0x215674,'localizedPeriodName':_0x10886d};}class vi extends ts{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x3e6b4a,_0x27e044,_0x37be38,_0x9a38ce){super(_0x3e6b4a);const _0xabf3e1=mi(_0x27e044,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x27e044,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x37be38,this['_requireRevisionName']=_0x9a38ce,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':_0xabf3e1}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x24032b){const _0x5ab38c=new hi(this['locale'],_0x24032b,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x5ab38c);}['removeRevision'](_0x2d64f8){const _0x320a09=this['revisionViews']['find'](_0x3fcc59=>_0x3fcc59['id']===_0x2d64f8['id']);this['revisionViews']['remove'](_0x320a09);}}class as extends ts{constructor(_0x49447a){super(_0x49447a);const _0x5c7e7f=new _0x2194fe();_0x5c7e7f['content']=_0x5eadf1['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x5c7e7f,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x49447a,'Revision\x20history')]}]});}}class di extends ts{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x4cc338,_0x50af37,_0x4deb54,_0x2213b5){super(_0x4cc338);const _0x3ca445=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x50af37,this['_revisionActions']=_0x4deb54,this['_requireRevisionName']=_0x2213b5,this['on']('select',(_0x58c6a7,_0x223b89)=>{this['fire']('revisionSelected',_0x223b89);}),this['on']('setName',(_0x43d4bc,_0x180264)=>{this['fire']('revisionSetName',_0x180264);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x4cc338),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x3ca445['if']('isEnabled','ck-disabled',_0x433173=>!_0x433173)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x4ac752 of this['_revisions'])this['_addRevision'](_0x4ac752);this['_revisions']['on']('add',(_0x5c49fb,_0x205bcf)=>{this['_addRevision'](_0x205bcf);}),this['_revisions']['on']('remove',(_0x942736,_0x2eaa8b)=>{this['_removeRevision'](_0x2eaa8b);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x2e3f78=>_0x2e3f78['revisionViews']['map'](_0x1f0cc6=>_0x1f0cc6))['flat']();}['selectRevision'](_0x293a5f){for(const _0x35741a of this['revisionViews'])_0x293a5f&&_0x293a5f['id']===_0x35741a['id']?_0x35741a['select']():_0x35741a['deselect']();}['highlightRevisions'](_0x468a3d){for(const _0x34d75f of this['revisionViews'])_0x468a3d['some'](({id:_0x409e73})=>_0x409e73===_0x34d75f['id'])?_0x34d75f['highlight']():_0x34d75f['unhighlight']();}['_addRevision'](_0x4e58f7){const _0x28c038=mi(_0x4e58f7['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x2735c5=this['timePeriodViews']['get'](0x0);_0x2735c5&&_0x2735c5['startDate']['getTime']()===_0x28c038['getTime']()||(_0x2735c5=new vi(this['locale'],_0x28c038,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x2735c5)),_0x2735c5['addRevision'](_0x4e58f7);}['_removeRevision'](_0x2f23c4){const _0x212d45=mi(_0x2f23c4['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x212d45)['removeRevision'](_0x2f23c4);}['_getTimePeriodViewByStartDate'](_0x1533ee){return this['timePeriodViews']['find'](_0x46302d=>_0x46302d['startDate']['getTime']()===_0x1533ee['getTime']());}}class w extends _0x5cf14b{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
27
27
  ((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
28
- Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x1e3f00){super(_0x1e3f00),this['_revisionViewer']=_0x1e3f00['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x100d93=this['_revisionsRepository']['_revisions'],_0x3db178=this['_createRevisionActions'](),_0x4d0b16=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ni(this['editor']['locale'],_0x100d93,_0x3db178,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',(_0x386c99,_0x26b610)=>{_0x26b610['revisionViews']['on']('add',(_0x8eb702,_0x4b1377)=>{_0x4b1377['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)),_0x4d0b16['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0xfe35dc=this['_revisionsRepository']['getRevision'](0x0);if(_0xfe35dc){const _0x55c962=this['_revisionsRepository']['getEarlierVisibleRevision'](_0xfe35dc['id']);this['_revisionViewer']['compare'](_0xfe35dc,_0x55c962);}}['_handleRevisionSelected'](_0x57c657,_0x35ab58){const _0x512368=this['_revisionsRepository']['getRevision'](_0x35ab58['id']),_0x45a653=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x512368['id']);this['_revisionViewer']['compare'](_0x512368,_0x45a653);}['_handleRevisionSetName'](_0x1eb687,_0x3ed297){this['_revisionsRepository']['getRevision'](_0x3ed297['id'])['setName'](_0x3ed297['name']);}['_handleDiffChange'](_0x4619aa,_0x3fdaf5,_0x347688){const _0x509ae1=this['_revisionsRepository']['getRevisionsInDiff'](_0x347688);_0x509ae1['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x509ae1),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x509ae1[0x0]));}['_createRevisionActions'](){const _0x124232=this['editor'],_0x38f49b=w['availableRevisionActions'],_0x2f2495=_0x124232['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x2f2495['length'])return _0x2f2495['map'](_0x460154=>{const _0xed18f8='string'==typeof _0x460154?Object['assign']({},_0x38f49b[_0x460154]):_0x460154;return _0xed18f8['action']=_0xed18f8['action']['bind'](this,_0x124232),_0xed18f8['isVisible']&&(_0xed18f8['isVisible']=_0xed18f8['isVisible']['bind'](this,_0x124232)),_0xed18f8;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x27bee2},_0x56dac9)=>{const _0x5f39d0=_0x27bee2['get'](d),_0x7acf5e=_0x5f39d0['repository'];let _0x47c38c=_0x5f39d0['diff']['newRevisionId'],_0x3e4c83=_0x56dac9['id'];_0x7acf5e['getIndex'](_0x47c38c)>_0x7acf5e['getIndex'](_0x3e4c83)&&([_0x47c38c,_0x3e4c83]=[_0x3e4c83,_0x47c38c]),_0x5f39d0['compare'](_0x47c38c,_0x3e4c83);},'isVisible':({plugins:_0x2d1cd6},_0x58abc4)=>{const _0x56bb55=_0x2d1cd6['get'](d);return!(_0x56bb55['repository']['getRevisionsInDiff'](_0x56bb55['diff'])['length']>0x2)&&!_0x58abc4['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x2203ef,{id:_0x400277})=>{_0x2203ef['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x400277);},'isVisible':({plugins:_0x572427},_0x3ac7ac)=>!!_0x572427['get'](d)['repository']['getLaterVisibleRevision'](_0x3ac7ac['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x3e8708},{id:_0x17f73e,revisionNameView:_0x7bc234})=>{const _0x5dba01=_0x3e8708['get'](d),_0x192b75=_0x5dba01['repository']['getEarlierVisibleRevision'](_0x17f73e);_0x5dba01['compare'](_0x17f73e,_0x192b75),_0x7bc234['focus'](),_0x7bc234['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x2171c5,_0x250563){super(_0x2171c5),this['_view']=_0x250563,this['_toolbarConfig']=ct(_0x2171c5['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x2a652c){const _0x349219=this['editor'],_0x1d54b3=this['view'],_0x489e32=_0x349219['editing']['view'],_0x1902f0=_0x1d54b3['editable'],_0x36a656=_0x489e32['document']['getRoot']();_0x1902f0['name']=_0x36a656['rootName'],_0x1d54b3['render']();const _0x37dcd3=_0x1902f0['element'];this['setEditableElement'](_0x1902f0['name'],_0x37dcd3),_0x1d54b3['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x489e32['attachDomRoot'](_0x37dcd3),this['_elementReplacer']['replace'](_0x2a652c,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x32d89d=this['view'],_0x259889=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x259889['detachDomRoot'](_0x32d89d['editable']['name']),_0x32d89d['destroy']();}['_initToolbar'](){const _0x26d5d4=this['view'];_0x26d5d4['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x26d5d4['stickyPanel']['limiterElement']=_0x26d5d4['element'],_0x26d5d4['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x4ff002})=>_0x4ff002),_0x26d5d4['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x26d5d4['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x28e2d7,_0x35f2b0,_0x4c9e4c={}){super(_0x28e2d7),this['stickyPanel']=new lt(_0x28e2d7),this['toolbar']=new pt(_0x28e2d7,{'shouldGroupWhenFull':_0x4c9e4c['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x28e2d7,_0x35f2b0);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends/* #__PURE__ -- @preserve */
29
- rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x1e108e,_0x24b8d6){super(_0x24b8d6),this['sourceElement']=_0x1e108e,this['model']['document']['createRoot']();const _0x45de02=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x45de02);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x9efbe0,_0x2e5193){const _0x16ee67=new this(_0x9efbe0,_0x2e5193);return await _0x16ee67['initPlugins'](),await _0x16ee67['ui']['init'](_0x9efbe0),await _0x16ee67['data']['init'](_0x16ee67['config']['get']('initialData')||''),_0x16ee67['fire']('ready'),_0x16ee67;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x5641b0{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x29d2e0){super(_0x29d2e0),this['result']='end';}}class H extends _0x5641b0{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x2fc39d){if(super(_0x2fc39d),!this['editor']['config']['get']('revisionHistory'))throw new _0x386746('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x30205a=>this['_showRevisionViewer']({..._0x30205a,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x1de906=>this['_closeRevisionViewer'](_0x1de906)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x136508=>this['_restoreRevision'](_0x136508)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x492198){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x492198;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x44e27e){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x44e27e);}['getRevision'](_0x1ca972){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x1ca972);}['getRevisions'](_0x13e37f){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x13e37f||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x22a30a=this['editor'],_0x29c496=_0x2639d1(_0x22a30a,p),_0x5ad41c=_0x22a30a['plugins']['get']('RevisionTracker'),_0x412dd9=_0x22a30a['plugins']['get']('Users')['users'];return _0x29c496['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x29c496['lazyRoots'],(_0x29c496['plugins']['push'](k,d,R,class extends _0x5641b0{static get['requires'](){return[d,'Users'];}['init'](){const _0x4cf459=this['editor']['plugins']['get']('Users');for(const _0x526bb4 of _0x412dd9)_0x526bb4['isAnonymous']||_0x4cf459['getUser'](_0x526bb4['id'])||_0x4cf459['addUser'](_0x526bb4);const _0x245972=_0x5ad41c['repository']['getRevisions']();let _0x1be66c=null;const _0x4b5e53=this['editor']['plugins']['get']('RevisionViewer');_0x4b5e53['adapter']=_0x5ad41c['adapter'],_0x4b5e53['bind']('isEnabled')['to'](_0x5ad41c),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x22a30a,'isReadOnly',_0x3407b4=>!_0x3407b4);for(const _0x2f2487 of _0x245972){const _0xe702bd=null===_0x2f2487['creator'];if(_0xe702bd&&_0x2f2487['toVersion']===_0x2f2487['fromVersion'])continue;const _0xc5ea0c=_0x2f2487['toJSON']();_0x4b5e53['addRevisionData'](_0xc5ea0c,(_0x22741d,_0x1e2fe7,_0x1e7ea3)=>{if(_0xe702bd){if(_0x1be66c)_0x1be66c['_update'](_0x22741d,_0x1e2fe7);else{if(!_0x1e2fe7){const _0x37d7ed=_0x1e7ea3['toJSON']();_0x37d7ed['id']=_0x57e508(),_0x5ad41c['saveRevision'](_0x37d7ed,_0x1e7ea3['toVersion'])['then'](_0x307064=>{_0x1be66c=_0x307064;});}}}else _0x2f2487['_update'](_0x22741d,_0x1e2fe7);});}}},w),_0x29c496);}['_enhanceShowRevisionViewerCallback'](){const _0x29fdf4=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x5dc33b=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x8fe5cc=this['editor']['plugins']['get']('Autosave');await _0x8fe5cc['save']();}else await _0x5dc33b['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0xf4a0a5=this['editor']['plugins']['get']('Dialog');_0xf4a0a5['isOpen']&&_0xf4a0a5['hide']();}const _0x382b2e=this['_getRevisionViewerEditorConfig']();return _0x29fdf4(_0x382b2e)['then'](_0x48bf71=>{return(this['_viewerEditor']=_0x48bf71,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x48bf71;})['catch'](_0x5b91aa=>(console['error'](_0x5b91aa),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x292956=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'](),_0x292956(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x344437=this['editor']['plugins']['get']('Annotations');_0x344437['refreshVisibility'](),_0x344437['refreshPositioning']();}})));}['_showRevisionViewer'](_0x54a8e9){const _0x574ab6=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x93a425=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x223dcd=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x223dcd,_0x54a8e9)['then'](_0xf5d1db=>(_0x93a425['style']['display']='block',_0x574ab6['style']['display']='none',_0xf5d1db));}['_closeRevisionViewer'](_0x46403c){const _0x50be9a=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x50be9a['style']['display']='',_0x46403c['destroy']();}async['_restoreRevision'](_0x1bf21b){const _0x270ed9=this['editor'],_0x56c2ce=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x417b77=_0x270ed9['plugins']['get']('RevisionTracker'),_0x522c66=_0x56c2ce['repository']['getRevision'](_0x1bf21b);let _0x59710a,_0x9f294d,_0x18ca40;try{_0x59710a=await _0x56c2ce['getRevisionData'](_0x522c66),_0x9f294d=await _0x56c2ce['getRevisionRootsAttributes'](_0x522c66);}catch(_0x309e8f){return void console['error'](_0x309e8f);}_0x270ed9['model']['change'](_0x43d66e=>{for(const _0x3c13c2 of Array['from'](_0x270ed9['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x43d66e['removeMarker'](_0x3c13c2);}),_0x56c2ce['isReady']=!0x1,_0x270ed9['model']['enqueueChange'](_0x21fe2f=>{_0x21fe2f['setSelection'](null),_0x21fe2f['removeSelectionAttribute'](_0x270ed9['model']['document']['selection']['getAttributeKeys']());const _0x48c172=Object['keys'](_0x59710a);for(const _0x33e5fc of _0x270ed9['model']['document']['roots'])'$graveyard'!=_0x33e5fc['rootName']&&_0x33e5fc['isAttached']()&&!_0x48c172['includes'](_0x33e5fc['rootName'])&&_0x21fe2f['detachRoot'](_0x33e5fc);for(const _0x4ab485 of _0x48c172){let _0x163ace=_0x270ed9['model']['document']['getRoot'](_0x4ab485);_0x163ace&&_0x163ace['isAttached']()||(_0x163ace=_0x21fe2f['addRoot'](_0x4ab485));const _0x13768f=_0x9f294d[_0x4ab485],_0x20c161=Object['keys'](_0x13768f),_0x165cf9=_0x59710a[_0x4ab485];for(const _0xf8359f of _0x163ace['getAttributeKeys']())_0x20c161['includes'](_0xf8359f)||_0x21fe2f['removeAttribute'](_0xf8359f,_0x163ace);for(const _0x43a86a of _0x20c161)_0x21fe2f['setAttribute'](_0x43a86a,_0x9f294d[_0x4ab485][_0x43a86a],_0x163ace);_0x21fe2f['remove'](_0x21fe2f['createRangeIn'](_0x163ace)),_0x21fe2f['insert'](_0x270ed9['data']['parse'](_0x165cf9,_0x163ace),_0x163ace,0x0);}});const _0x10009a=y(_0x270ed9['locale'],'Restored');if(_0x522c66['name'])_0x18ca40=-0x1==_0x522c66['name']['indexOf'](_0x10009a)?_0x10009a+':\x20'+_0x522c66['name']:_0x522c66['name'];else _0x18ca40=_0x10009a+':\x20'+(_0x522c66['createdAt']['toLocaleDateString'](_0x270ed9['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x522c66['createdAt']['toLocaleTimeString'](_0x270ed9['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x417b77['saveRevision']({'name':_0x18ca40}),_0x56c2ce['isReady']=!0x0,_0x270ed9['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{a as Revision,H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,fe as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
28
+ Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x5c67da){super(_0x5c67da),this['_revisionViewer']=_0x5c67da['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x25e77d=this['_revisionsRepository']['_revisions'],_0x1ec9e7=this['_createRevisionActions'](),_0x3f3be4=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new di(this['editor']['locale'],_0x25e77d,_0x1ec9e7,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',(_0x151b47,_0x147c13)=>{_0x147c13['revisionViews']['on']('add',(_0x241d7e,_0x5958e1)=>{_0x5958e1['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)),_0x3f3be4['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x5c5db9=this['_revisionsRepository']['getRevision'](0x0);if(_0x5c5db9){const _0x53417e=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x5c5db9['id']);this['_revisionViewer']['compare'](_0x5c5db9,_0x53417e);}}['_handleRevisionSelected'](_0x24147d,_0x34dbd6){const _0x3de6c3=this['_revisionsRepository']['getRevision'](_0x34dbd6['id']),_0x5678a1=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x3de6c3['id']);this['_revisionViewer']['compare'](_0x3de6c3,_0x5678a1);}['_handleRevisionSetName'](_0x292c86,_0x4b0c5d){this['_revisionsRepository']['getRevision'](_0x4b0c5d['id'])['setName'](_0x4b0c5d['name']);}['_handleDiffChange'](_0x119e80,_0x5540a6,_0x1b6b3f){const _0x2b4256=this['_revisionsRepository']['getRevisionsInDiff'](_0x1b6b3f);_0x2b4256['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x2b4256),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x2b4256[0x0]));}['_createRevisionActions'](){const _0xcba089=this['editor'],_0x3a254a=w['availableRevisionActions'],_0x3f68f5=_0xcba089['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x3f68f5['length'])return _0x3f68f5['map'](_0x346f44=>{const _0x3b4a7f='string'==typeof _0x346f44?Object['assign']({},_0x3a254a[_0x346f44]):_0x346f44;return _0x3b4a7f['action']=_0x3b4a7f['action']['bind'](this,_0xcba089),_0x3b4a7f['isVisible']&&(_0x3b4a7f['isVisible']=_0x3b4a7f['isVisible']['bind'](this,_0xcba089)),_0x3b4a7f;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x2b04d2},_0x138361)=>{const _0x4fd22d=_0x2b04d2['get'](d),_0x1ce75f=_0x4fd22d['repository'];let _0x1fb147=_0x4fd22d['diff']['newRevisionId'],_0x15e6b2=_0x138361['id'];_0x1ce75f['getIndex'](_0x1fb147)>_0x1ce75f['getIndex'](_0x15e6b2)&&([_0x1fb147,_0x15e6b2]=[_0x15e6b2,_0x1fb147]),_0x4fd22d['compare'](_0x1fb147,_0x15e6b2);},'isVisible':({plugins:_0x156fd5},_0x12c285)=>{const _0x5108c0=_0x156fd5['get'](d);return!(_0x5108c0['repository']['getRevisionsInDiff'](_0x5108c0['diff'])['length']>0x2)&&!_0x12c285['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x1e5463,{id:_0x59b7bf})=>{_0x1e5463['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x59b7bf);},'isVisible':({plugins:_0x54cffc},_0x345ba2)=>!!_0x54cffc['get'](d)['repository']['getLaterVisibleRevision'](_0x345ba2['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x5366c9},{id:_0x34fee6,revisionNameView:_0x54cae7})=>{const _0x8fa953=_0x5366c9['get'](d),_0x190393=_0x8fa953['repository']['getEarlierVisibleRevision'](_0x34fee6);_0x8fa953['compare'](_0x34fee6,_0x190393),_0x54cae7['focus'](),_0x54cae7['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x3fbe2c,_0x3a58fd){super(_0x3fbe2c),this['_view']=_0x3a58fd,this['_toolbarConfig']=ct(_0x3fbe2c['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0xe9047d){const _0x200f40=this['editor'],_0x519ce2=this['view'],_0x3f5ede=_0x200f40['editing']['view'],_0x222914=_0x519ce2['editable'],_0x2a9833=_0x3f5ede['document']['getRoot']();_0x222914['name']=_0x2a9833['rootName'],_0x519ce2['render']();const _0x550d38=_0x222914['element'];this['setEditableElement'](_0x222914['name'],_0x550d38),_0x519ce2['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x3f5ede['attachDomRoot'](_0x550d38),this['_elementReplacer']['replace'](_0xe9047d,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x74f8c=this['view'],_0x47a840=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x47a840['detachDomRoot'](_0x74f8c['editable']['name']),_0x74f8c['destroy']();}['_initToolbar'](){const _0x488452=this['view'];_0x488452['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x488452['stickyPanel']['limiterElement']=_0x488452['element'],_0x488452['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x281caa})=>_0x281caa),_0x488452['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x488452['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x40bb3c,_0x276cf9,_0x2fcd8b={}){super(_0x40bb3c),this['stickyPanel']=new lt(_0x40bb3c),this['toolbar']=new pt(_0x40bb3c,{'shouldGroupWhenFull':_0x2fcd8b['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x40bb3c,_0x276cf9);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends/* #__PURE__ -- @preserve */
29
+ rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x247e69,_0x4d19b7){super(_0x4d19b7),this['sourceElement']=_0x247e69,this['model']['document']['createRoot']();const _0x1da990=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x1da990);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x4ff895,_0x3b5a9a){const _0x5910b6=new this(_0x4ff895,_0x3b5a9a);return await _0x5910b6['initPlugins'](),await _0x5910b6['ui']['init'](_0x4ff895),await _0x5910b6['data']['init'](_0x5910b6['config']['get']('initialData')||''),_0x5910b6['fire']('ready'),_0x5910b6;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x5cf14b{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0xa88590){super(_0xa88590),this['result']='end';}}class H extends _0x5cf14b{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x1fe5ca){if(super(_0x1fe5ca),!this['editor']['config']['get']('revisionHistory'))throw new _0x40723b('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x4a0cbc=>this['_showRevisionViewer']({..._0x4a0cbc,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x403140=>this['_closeRevisionViewer'](_0x403140)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x492c59=>this['_restoreRevision'](_0x492c59)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x43f7a1){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x43f7a1;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x191340){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x191340);}['getRevision'](_0x1b4279){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x1b4279);}['getRevisions'](_0x990573){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x990573||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x1a362f=this['editor'],_0x2fd1c0=_0x4f420b(_0x1a362f,p),_0x4604f3=_0x1a362f['plugins']['get']('RevisionTracker'),_0x1fd53c=_0x1a362f['plugins']['get']('Users')['users'];return _0x2fd1c0['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x2fd1c0['lazyRoots'],(_0x2fd1c0['plugins']['push'](k,d,R,class extends _0x5cf14b{static get['requires'](){return[d,'Users'];}['init'](){const _0x282ef9=this['editor']['plugins']['get']('Users');for(const _0x476d9e of _0x1fd53c)_0x476d9e['isAnonymous']||_0x282ef9['getUser'](_0x476d9e['id'])||_0x282ef9['addUser'](_0x476d9e);const _0x1cfbc1=_0x4604f3['repository']['getRevisions']();let _0x52b75f=null;const _0x41b7b3=this['editor']['plugins']['get']('RevisionViewer');_0x41b7b3['adapter']=_0x4604f3['adapter'],_0x41b7b3['bind']('isEnabled')['to'](_0x4604f3),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x1a362f,'isReadOnly',_0x28c75b=>!_0x28c75b);for(const _0x1fa57b of _0x1cfbc1){const _0x22484d=null===_0x1fa57b['creator'];if(_0x22484d&&_0x1fa57b['toVersion']===_0x1fa57b['fromVersion'])continue;const _0x1c5cdf=_0x1fa57b['toJSON']();_0x41b7b3['addRevisionData'](_0x1c5cdf,(_0x105aba,_0x18d8df,_0x4ffa97)=>{if(_0x22484d){if(_0x52b75f)_0x52b75f['_update'](_0x105aba,_0x18d8df);else{if(!_0x18d8df){const _0x2e04c1=_0x4ffa97['toJSON']();_0x2e04c1['id']=_0x497491(),_0x4604f3['saveRevision'](_0x2e04c1,_0x4ffa97['toVersion'])['then'](_0x9cec31=>{_0x52b75f=_0x9cec31;});}}}else _0x1fa57b['_update'](_0x105aba,_0x18d8df);});}}},w),_0x2fd1c0);}['_enhanceShowRevisionViewerCallback'](){const _0x14175e=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x40fc84=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x19d2d0=this['editor']['plugins']['get']('Autosave');await _0x19d2d0['save']();}else await _0x40fc84['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x13dade=this['editor']['plugins']['get']('Dialog');_0x13dade['isOpen']&&_0x13dade['hide']();}const _0x6c6475=this['_getRevisionViewerEditorConfig']();return _0x14175e(_0x6c6475)['then'](_0x151d14=>{return(this['_viewerEditor']=_0x151d14,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x151d14;})['catch'](_0x5aa1e4=>(console['error'](_0x5aa1e4),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x3fad23=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'](),_0x3fad23(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x15e6ad=this['editor']['plugins']['get']('Annotations');_0x15e6ad['refreshVisibility'](),_0x15e6ad['refreshPositioning']();}})));}['_showRevisionViewer'](_0x54884a){const _0x484476=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x21c558=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x41deb3=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x41deb3,_0x54884a)['then'](_0x47c85f=>(_0x21c558['style']['display']='block',_0x484476['style']['display']='none',_0x47c85f));}['_closeRevisionViewer'](_0x298755){const _0x303b5d=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x303b5d['style']['display']='',_0x298755['destroy']();}async['_restoreRevision'](_0xe4b57){const _0x498b64=this['editor'],_0x1c9c50=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x4555f2=_0x498b64['plugins']['get']('RevisionTracker'),_0x23be58=_0x1c9c50['repository']['getRevision'](_0xe4b57);let _0x38b834,_0x54809c,_0x146f8e;try{_0x38b834=await _0x1c9c50['getRevisionData'](_0x23be58),_0x54809c=await _0x1c9c50['getRevisionRootsAttributes'](_0x23be58);}catch(_0x36726a){return void console['error'](_0x36726a);}_0x498b64['model']['change'](_0x4a6bdc=>{for(const _0x3766d1 of Array['from'](_0x498b64['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x4a6bdc['removeMarker'](_0x3766d1);}),_0x1c9c50['isReady']=!0x1,_0x498b64['model']['enqueueChange'](_0x2d878b=>{_0x2d878b['setSelection'](null),_0x2d878b['removeSelectionAttribute'](_0x498b64['model']['document']['selection']['getAttributeKeys']());const _0x510635=Object['keys'](_0x38b834);for(const _0x236cfe of _0x498b64['model']['document']['roots'])'$graveyard'!=_0x236cfe['rootName']&&_0x236cfe['isAttached']()&&!_0x510635['includes'](_0x236cfe['rootName'])&&_0x2d878b['detachRoot'](_0x236cfe);for(const _0x1c5ced of _0x510635){let _0x59c155=_0x498b64['model']['document']['getRoot'](_0x1c5ced);_0x59c155&&_0x59c155['isAttached']()||(_0x59c155=_0x2d878b['addRoot'](_0x1c5ced));const _0xca6fe2=_0x54809c[_0x1c5ced],_0x2cb5e7=Object['keys'](_0xca6fe2),_0x489078=_0x38b834[_0x1c5ced];for(const _0x4543e9 of _0x59c155['getAttributeKeys']())_0x2cb5e7['includes'](_0x4543e9)||_0x2d878b['removeAttribute'](_0x4543e9,_0x59c155);for(const _0x219f4b of _0x2cb5e7)_0x2d878b['setAttribute'](_0x219f4b,_0x54809c[_0x1c5ced][_0x219f4b],_0x59c155);_0x2d878b['remove'](_0x2d878b['createRangeIn'](_0x59c155)),_0x2d878b['insert'](_0x498b64['data']['parse'](_0x489078,_0x59c155),_0x59c155,0x0);}});const _0x2d1940=y(_0x498b64['locale'],'Restored');if(_0x23be58['name'])_0x146f8e=-0x1==_0x23be58['name']['indexOf'](_0x2d1940)?_0x2d1940+':\x20'+_0x23be58['name']:_0x23be58['name'];else _0x146f8e=_0x2d1940+':\x20'+(_0x23be58['createdAt']['toLocaleDateString'](_0x498b64['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x23be58['createdAt']['toLocaleTimeString'](_0x498b64['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x4555f2['saveRevision']({'name':_0x146f8e}),_0x1c9c50['isReady']=!0x0,_0x498b64['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{a as Revision,H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,le as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};