@ckeditor/ckeditor5-revision-history 43.3.0-alpha.1 → 43.3.0-alpha.3

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 (177) 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/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +8 -8
  148. package/src/changeitem.js +2 -2
  149. package/src/editor/revisionviewereditor.js +2 -2
  150. package/src/editor/revisionviewereditorui.js +1 -1
  151. package/src/editor/revisionviewereditoruiview.js +1 -1
  152. package/src/index.js +1 -1
  153. package/src/revision.js +2 -2
  154. package/src/revisiondiff.js +1 -1
  155. package/src/revisionhistory.js +1 -1
  156. package/src/revisionsrepository.js +1 -1
  157. package/src/revisiontracker.js +1 -1
  158. package/src/revisionviewer.js +1 -1
  159. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  160. package/src/ui/revision/revisionauthorview.js +1 -1
  161. package/src/ui/revision/revisionnameview.js +1 -1
  162. package/src/ui/revision/revisionview.js +2 -2
  163. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  164. package/src/ui/revision/subrevisionview.js +1 -1
  165. package/src/ui/revision/utils.js +1 -1
  166. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  167. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  168. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  169. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  170. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  171. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  172. package/src/ui/revisionssidebar/utils.js +1 -1
  173. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  174. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  175. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  176. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  177. 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 _0x57213c,uid as _0x309ab9,Collection as _0x15679c,logWarning as _0x2bcc93,FocusTracker as _0x450e3a,KeystrokeHandler as _0x5af699,scrollViewportToShowTarget as _0x15b1f4,ResizeObserver as at,ElementReplacer as nt,CKEditorError as _0x4ad8dd}from'@ckeditor/ckeditor5-utils/dist/index.js';import{cloneDeep as _0x3479a4,set as _0x4a3ac9,unset as _0x4460ca,isEqual as _0x19fd18}from'lodash-es';import{Plugin as _0x55c2ea,Context as _0x17aa89,PendingActions as _0x3347eb,icons as _0x4a84f1,Command as _0x553daa,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{Users as _0x9adf1f,getMarkerDomElement as _0x2f8010,ConfirmMixin as ti,sanitizeEditorConfig as _0x2333c3}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x49b22b,ViewText as _0x37d2e1,ViewElement as _0x11da4a,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x245b3b,ViewAttributeElement as _0x1328ee,ViewEmptyElement as _0x2ed5ac,ViewRawElement as _0x25a50f,ViewUIElement as _0x401e44,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{View as ts,injectCssTransitionDisabler as _0x35c2f1,submitHandler as _0x4a8858,LabeledFieldView as _0x4fedc3,createLabeledInputText as _0x325628,createDropdown as _0x4a55a0,ListView as _0x29b029,ListItemView as _0x2a6157,ButtonView as te,MenuBarMenuView as _0x297758,MenuBarMenuListView as _0x107e8c,MenuBarMenuListItemView as _0xfb9879,MenuBarMenuListItemButtonView as _0xbdd781,ContextualBalloon as _0x2bd836,ToolbarSeparatorView as _0x179e02,IconView as _0x3ec742,addListToDropdown as to,ViewModel as _0x19067f,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 _0x8485fe}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x57213c(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x5429db){super(),this['id']=_0x5429db['id']||_0x309ab9(),this['creator']=_0x5429db['creator']||null,this['authors']=_0x5429db['authors']||[],this['diffData']=_0x5429db['diffData']||null,this['toVersion']=_0x5429db['toVersion']||0x0,this['fromVersion']=_0x5429db['fromVersion']||0x0,this['set']('name',_0x5429db['name']||''),this['set']('createdAt',_0x5429db['createdAt']||new Date()),this['set']('attributes',_0x5429db['attributes']||{});}['setName'](_0x5c7bf4){this['_update']({'name':_0x5c7bf4});}['setAttribute'](_0xbf80ee,_0x14ca78){const _0x2e4fc9=_0x3479a4(this['attributes']);_0x4a3ac9(_0x2e4fc9,_0xbf80ee,_0x14ca78),this['_update']({'attributes':_0x2e4fc9});}['removeAttribute'](_0x393310){const _0x2ae53e=_0x3479a4(this['attributes']);_0x4460ca(_0x2ae53e,_0x393310),this['_update']({'attributes':_0x2ae53e});}['_update'](_0x45b81e,_0x11b454=!0x1){let _0x43a39e=!0x1;const _0x34f193={'id':this['id']},_0x2ca76e=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x1513f4 of _0x2ca76e){const _0x34290b=_0x45b81e[_0x1513f4];void 0x0!==_0x34290b&&_0x34290b!==this[_0x1513f4]&&(this[_0x1513f4]=_0x34290b,_0x34f193[_0x1513f4]=_0x34290b,_0x43a39e=!0x0);}_0x43a39e&&(_0x34f193['authors']&&(_0x34f193['authorsIds']=_0x34f193['authors']['map'](_0x59c2b2=>_0x59c2b2['id']),delete _0x34f193['authors']),this['fire']('_update',_0x34f193,_0x11b454));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x1a2cde=>_0x1a2cde['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x55c2ea{['_revisions'];static get['requires'](){return[_0x9adf1f];}static get['pluginName'](){return'RevisionsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['length'](){return this['_revisions']['length'];}constructor(_0x254af5){super(_0x254af5),this['_revisions']=new _0x15679c();}['afterInit'](){!function(_0x4ca719){function _0x433678(_0x5952c4,_0x39cd93,_0x3798b4){const _0x4c087d={};_0x4c087d[_0x1afe78([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x4c087d[_0x1afe78([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],_0x4c087d[_0x1afe78([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],_0x4c087d[_0x1afe78([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],_0x4c087d[_0x1afe78([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],_0x4c087d[_0x1afe78([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],_0x4c087d[_0x1afe78([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],_0x4c087d[_0x1afe78([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],_0x4c087d[_0x1afe78([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],_0x4c087d[_0x1afe78([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],_0x4c087d[_0x1afe78([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 _0x54e468=new Uint8Array(0x10);for(let _0x54734b=0xf;_0x54734b>=0x0;--_0x54734b)_0x54e468[_0x54734b]=_0x3798b4%0x100,_0x3798b4=parseInt(_0x3798b4/0x100);let _0x27437f=null,_0x363b62=0x10;const _0x41fc46=new Uint8Array(_0x39cd93),_0x2d2850=[],_0x2c09b4=[];_0x274eb8();for(let _0x10c425=0x0;_0x10c425<_0x5952c4[_0x1afe78([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x10c425++)0x10===_0x363b62&&(_0x27437f=_0x5d1dad(_0x54e468),_0x363b62=0x0,_0x36ef23(_0x54e468)),_0x5952c4[_0x10c425]^=_0x27437f[_0x363b62++];return _0x5952c4;function _0x4a9596(_0x581d06){const _0x2aa329=[];for(let _0x2e4dee=0x0;_0x2e4dee<_0x581d06[_0x1afe78([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e4dee+=0x4)_0x2aa329[_0x1afe78([0x70,0x75,0x73,0x68])](_0x581d06[_0x2e4dee]<<0x18|_0x581d06[_0x2e4dee+0x1]<<0x10|_0x581d06[_0x2e4dee+0x2]<<0x8|_0x581d06[_0x2e4dee+0x3]);return _0x2aa329;}function _0x36ef23(_0x508d75){for(let _0x559979=0xf;_0x559979>=0x0;_0x559979--){if(0xff!==_0x508d75[_0x559979]){_0x508d75[_0x559979]++;break;}_0x508d75[_0x559979]=0x0;}}function _0x5d1dad(_0x2af488){const _0x59f531=_0x2d2850[_0x1afe78([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x3a5cc4=[0x0,0x0,0x0,0x0];let t=_0x4a9596(_0x2af488);for(let _0x17735d=0x0;_0x17735d<0x4;_0x17735d++)t[_0x17735d]^=_0x2d2850[0x0][_0x17735d];for(let _0x2fc5eb=0x1;_0x2fc5eb<_0x59f531;_0x2fc5eb++){for(let _0x303a16=0x0;_0x303a16<0x4;_0x303a16++)_0x3a5cc4[_0x303a16]=_0x4c087d[_0x1afe78([0x54,0x31])][t[_0x303a16]>>0x18&0xff]^_0x4c087d[_0x1afe78([0x54,0x32])][t[(_0x303a16+0x1)%0x4]>>0x10&0xff]^_0x4c087d[_0x1afe78([0x54,0x33])][t[(_0x303a16+0x2)%0x4]>>0x8&0xff]^_0x4c087d[_0x1afe78([0x54,0x34])][0xff&t[(_0x303a16+0x3)%0x4]]^_0x2d2850[_0x2fc5eb][_0x303a16];t=_0x3a5cc4[_0x1afe78([0x73,0x6c,0x69,0x63,0x65])]();}const _0x3b31b3=new Uint8Array(0x10);let _0xde702e;for(let _0x295998=0x0;_0x295998<0x4;_0x295998++)_0xde702e=_0x2d2850[_0x59f531][_0x295998],_0x3b31b3[0x4*_0x295998]=0xff&(_0x4c087d[_0x1afe78([0x53])][t[_0x295998]>>0x18&0xff]^_0xde702e>>0x18),_0x3b31b3[0x4*_0x295998+0x1]=0xff&(_0x4c087d[_0x1afe78([0x53])][t[(_0x295998+0x1)%0x4]>>0x10&0xff]^_0xde702e>>0x10),_0x3b31b3[0x4*_0x295998+0x2]=0xff&(_0x4c087d[_0x1afe78([0x53])][t[(_0x295998+0x2)%0x4]>>0x8&0xff]^_0xde702e>>0x8),_0x3b31b3[0x4*_0x295998+0x3]=0xff&(_0x4c087d[_0x1afe78([0x53])][0xff&t[(_0x295998+0x3)%0x4]]^_0xde702e);return _0x3b31b3;}function _0x274eb8(){const _0x3856bf=_0x4c087d[_0x1afe78([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x41fc46[_0x1afe78([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x7fed49=0x0;_0x7fed49<=_0x3856bf;_0x7fed49++)_0x2d2850[_0x1afe78([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x2c09b4[_0x1afe78([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x319b64=0x4*(_0x3856bf+0x1),_0x33eaea=_0x41fc46[_0x1afe78([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x2bcf82=_0x4a9596(_0x41fc46);let _0x480dda;for(let _0x381cab=0x0;_0x381cab<_0x33eaea;_0x381cab++)_0x480dda=_0x381cab>>0x2,_0x2d2850[_0x480dda][_0x381cab%0x4]=_0x2bcf82[_0x381cab],_0x2c09b4[_0x3856bf-_0x480dda][_0x381cab%0x4]=_0x2bcf82[_0x381cab];let _0x91918f,_0x4d281d=0x0,t=_0x33eaea;for(;t<_0x319b64;){_0x91918f=_0x2bcf82[_0x33eaea-0x1],_0x2bcf82[0x0]^=_0x4c087d[_0x1afe78([0x53])][_0x91918f>>0x10&0xff]<<0x18^_0x4c087d[_0x1afe78([0x53])][_0x91918f>>0x8&0xff]<<0x10^_0x4c087d[_0x1afe78([0x53])][0xff&_0x91918f]<<0x8^_0x4c087d[_0x1afe78([0x53])][_0x91918f>>0x18&0xff]^_0x4c087d[_0x1afe78([0x72,0x63,0x6f,0x6e])][_0x4d281d]<<0x18,_0x4d281d+=0x1;for(let _0x808459=0x1;_0x808459<_0x33eaea/0x2;_0x808459++)_0x2bcf82[_0x808459]^=_0x2bcf82[_0x808459-0x1];_0x91918f=_0x2bcf82[_0x33eaea/0x2-0x1],_0x2bcf82[_0x33eaea/0x2]^=_0x4c087d[_0x1afe78([0x53])][0xff&_0x91918f]^_0x4c087d[_0x1afe78([0x53])][_0x91918f>>0x8&0xff]<<0x8^_0x4c087d[_0x1afe78([0x53])][_0x91918f>>0x10&0xff]<<0x10^_0x4c087d[_0x1afe78([0x53])][_0x91918f>>0x18&0xff]<<0x18;for(let _0x683db4=_0x33eaea/0x2+0x1;_0x683db4<_0x33eaea;_0x683db4++)_0x2bcf82[_0x683db4]^=_0x2bcf82[_0x683db4-0x1];let _0xbe1931,_0x1eb857,_0x15063d=0x0;for(;_0x15063d<_0x33eaea&&t<_0x319b64;)_0xbe1931=t>>0x2,_0x1eb857=t%0x4,_0x2d2850[_0xbe1931][_0x1eb857]=_0x2bcf82[_0x15063d],_0x2c09b4[_0x3856bf-_0xbe1931][_0x1eb857]=_0x2bcf82[_0x15063d++],t++;}for(let _0x1772d1=0x1;_0x1772d1<_0x3856bf;_0x1772d1++)for(let _0x2b6f60=0x0;_0x2b6f60<0x4;_0x2b6f60++)_0x91918f=_0x2c09b4[_0x1772d1][_0x2b6f60],_0x2c09b4[_0x1772d1][_0x2b6f60]=_0x4c087d[_0x1afe78([0x55,0x31])][_0x91918f>>0x18&0xff]^_0x4c087d[_0x1afe78([0x55,0x32])][_0x91918f>>0x10&0xff]^_0x4c087d[_0x1afe78([0x55,0x33])][_0x91918f>>0x8&0xff]^_0x4c087d[_0x1afe78([0x55,0x34])][0xff&_0x91918f];}}function _0x1afe78(_0x1b08c2){return _0x1b08c2['map'](_0x4f8446=>String['fromCharCode'](_0x4f8446))['join']('');}(_0x318ede=>{function _0x3ae3a8(){const _0x9a0c9a=[{[_0x1afe78([0x69,0x64])]:0x1,[_0x1afe78([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1afe78([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x1afe78([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1afe78([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1afe78([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1afe78([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1afe78([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x1afe78([0x69,0x64])]:0x2,[_0x1afe78([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1afe78([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x1afe78([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1afe78([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1afe78([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1afe78([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]),[_0x1afe78([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1afe78([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x1afe78([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x1afe78([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x1afe78([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1afe78([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x1afe78([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x1afe78([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x1afe78([0x69,0x64])]:0x3,[_0x1afe78([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1afe78([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x1afe78([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1afe78([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1afe78([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1afe78([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1afe78([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x1afe78([0x69,0x64])]:0x4,[_0x1afe78([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1afe78([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x1afe78([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1afe78([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1afe78([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1afe78([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]),[_0x1afe78([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1afe78([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x1afe78([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x1afe78([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x1afe78([0x69,0x64])]:0x5,[_0x1afe78([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1afe78([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x1afe78([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1afe78([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1afe78([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]),[_0x1afe78([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1afe78([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1afe78([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1afe78([0x66,0x67,0x69])]:[0xc]}},{[_0x1afe78([0x69,0x64])]:0x6,[_0x1afe78([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1afe78([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x1afe78([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1afe78([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1afe78([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1afe78([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1afe78([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1afe78([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1afe78([0x66,0x67,0x69])]:[0xc]}},{[_0x1afe78([0x69,0x64])]:0x7,[_0x1afe78([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1afe78([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x1afe78([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1afe78([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1afe78([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1afe78([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1afe78([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1afe78([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1afe78([0x66,0x67,0x69])]:[0xc]}},{[_0x1afe78([0x69,0x64])]:0x8,[_0x1afe78([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1afe78([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x1afe78([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1afe78([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1afe78([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]),[_0x1afe78([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1afe78([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1afe78([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1afe78([0x66,0x67,0x69])]:[0xc]}},{[_0x1afe78([0x69,0x64])]:0x9,[_0x1afe78([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1afe78([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x1afe78([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1afe78([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1afe78([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1afe78([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1afe78([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1afe78([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1afe78([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x1afe78([0x69,0x64])]:0xa,[_0x1afe78([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1afe78([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]),[_0x1afe78([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1afe78([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]),[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1afe78([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]),[_0x1afe78([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1afe78([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1afe78([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1afe78([0x66,0x67,0x69])]:[0xc]}},{[_0x1afe78([0x69,0x64])]:0xb,[_0x1afe78([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1afe78([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x1afe78([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1afe78([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1afe78([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1afe78([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1afe78([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x1afe78([0x69,0x64])]:0xc,[_0x1afe78([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1afe78([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x1afe78([0x69,0x64])]:0xd,[_0x1afe78([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1afe78([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x1afe78([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1afe78([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1afe78([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1afe78([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1afe78([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1afe78([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1afe78([0x66,0x67,0x69])]:[0xc]}},{[_0x1afe78([0x69,0x64])]:0xe,[_0x1afe78([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1afe78([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x1afe78([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1afe78([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])},{[_0x1afe78([0x69,0x64])]:0xf,[_0x1afe78([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1afe78([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x1afe78([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1afe78([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1afe78([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1afe78([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1afe78([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x1afe78([0x69,0x64])]:0x10,[_0x1afe78([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1afe78([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x1afe78([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1afe78([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1afe78([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1afe78([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1afe78([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1afe78([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1afe78([0x66,0x67,0x69])]:[0xc]}}];return _0xddacb6(_0x9a0c9a),_0x9a0c9a;function _0x2868dc(_0x18ad8f){return 0x1<<_0x18ad8f-0x1;}function _0xddacb6(_0xac16cc){_0xac16cc[_0x1afe78([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c114d=>{_0x1c114d[_0x1afe78([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x2868dc(_0x1c114d[_0x1afe78([0x69,0x64])]),_0xf5b778(_0x1c114d)&&_0x1c114d[_0x1afe78([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0xddacb6(_0x1c114d[_0x1afe78([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0xf5b778(_0x2c29c0){return _0x1afe78([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x2c29c0;}const _0x25a227=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x31f0f9=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x2da832(_0x9cceec){const _0x890a79=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x1280cf(_0x9cceec,new Uint8Array([..._0x25a227,..._0x890a79,..._0x31f0f9]));}function _0x1280cf(_0x12440b,_0x482f05){const _0x3429b5=_0x138761(_0x12440b),_0x27bff1=Array[_0x1afe78([0x66,0x72,0x6f,0x6d])](_0x3d1c30(_0x3429b5)),_0x3dab1c=_0x27bff1[_0x1afe78([0x70,0x6f,0x70])](),_0xc2a55f=_0x27bff1[_0x1afe78([0x70,0x6f,0x70])]();return _0x2409c4(_0x433678(_0x27bff1,_0x482f05,_0xc2a55f+0x100*_0x3dab1c));}function _0x138761(_0x2aecb8){const _0x222d50=atob(_0x2aecb8),[_0x2a5454,_0x208af2]=_0x222d50[_0x1afe78([0x73,0x70,0x6c,0x69,0x74])](_0x1afe78([0x2d]));try{if(atob(_0x208af2))return atob(_0x2a5454);}catch(_0x42f239){}return _0x222d50;}function _0x13b045(_0x14db45){try{const _0x33f412=_0x2da832(_0x14db45),_0x25aa36=JSON[_0x1afe78([0x70,0x61,0x72,0x73,0x65])](_0x33f412),_0x15a134=parseInt(_0x25aa36[_0x1afe78([0x31])]),_0x1a947f=_0x25aa36[_0x1afe78([0x32])]||'',_0x4bd3f0=parseInt(_0x25aa36[_0x1afe78([0x33])]),_0x1cc1ce=parseInt(_0x25aa36[_0x1afe78([0x34])])||0x0,_0x5b91cf=parseInt(_0x25aa36[_0x1afe78([0x35])])||0x0;return{[_0x1afe78([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x1a947f,[_0x1afe78([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x1cc1ce,[_0x1afe78([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x15a134,[_0x1afe78([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x4bd3f0,[_0x1afe78([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x5b91cf};}catch(_0x50e541){return null;}}const _0x42ec06=_0x3ae3a8(),_0x478303={[_0x1afe78([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x446404,[_0x1afe78([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])]:_0x5dab17,[_0x1afe78([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])]:_0x34fb86},_0x2c3511=_0x318ede[_0x1afe78([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x1afe78([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x5095b2=_0x1afe78([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x318ede?_0x318ede['context']:_0x318ede['editor'],_0x11b43a=_0x1afe78([0x34,0x30,0x34,0x38,0x32,0x30,0x35,0x30]),_0x82a10b=_0x1afe78([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]),_0x3d0569=_0x5095b2['config']['get'](_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x384395=_0x42ec06[_0x1afe78([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf5b778)[_0x1afe78([0x66,0x69,0x6e,0x64])](_0x23494f=>_0x23494f[_0x1afe78([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x2c3511);function _0x23bc36(_0x2f144d,_0x182ef4){_0x478303[_0x182ef4[_0x1afe78([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x2f144d,_0x182ef4),_0x182ef4[_0x1afe78([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x182ef4[_0x1afe78([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x1afe78([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xe9bb2c=>_0x2457cc(_0x5095b2,_0xe9bb2c[_0x1afe78([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x1afe78([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x190024=>_0x23bc36(_0x2f144d,_0x190024));}function _0x446404(_0x496d23,_0x675b37){_0x2aeea1(_0x2384d4(_0x496d23,_0x675b37),_0x675b37);}function _0x5dab17(_0x9b4878,_0x5bf211){function _0x1274a3(_0x7ff544,_0x3178a0){try{if(_0x2457cc(_0x5095b2,_0x1afe78([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x7ff544){const _0x49b76f=_0x2cf88a(_0x5095b2,_0x1afe78([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x1afe78([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x49b76f)/0x2>_0x7ff544[_0x1afe78([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x274230(_0x3178a0[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1afe78([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x2384d4(_0x7ff544,_0x3178a0);}catch(_0x31eecc){return _0x274230(_0x3178a0[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1afe78([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x2aeea1(_0x1274a3(_0x9b4878,_0x5bf211),_0x5bf211);}function _0x34fb86(_0xa050c8,_0x2b7d46){const _0x4ec6e9=_0x31f0f9[0x0]*_0x25a227[0x1],_0x13c48b=_0x31f0f9[0x0]*_0x25a227[0x2],_0x3a43b6=_0x31f0f9[0x2]*_0x25a227[0x2];_0x2457cc(_0x5095b2,_0x1afe78([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x2cf88a(_0x5095b2,_0x1afe78([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x1afe78([0x73,0x74,0x61,0x74,0x65])]==_0x1afe78([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x29238e()]=_0x3a43b6);function _0xfbb52b(_0x44746b,_0x127676){try{return _0x1a0a82()?_0x274230(_0x127676[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1afe78([0x56,0x61,0x6c,0x69,0x64])):_0x2384d4(_0x44746b,_0x127676);}catch(_0x30a806){return _0x274230(_0x127676[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1afe78([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x4fc5a3(_0x152d66,_0x3050ee){const _0x38d68d=0x7;if(_0x152d66==_0x3050ee[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1afe78([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x6135a4();else{if(_0x152d66==_0x3050ee[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1afe78([0x54,0x72,0x69,0x61,0x6c])){const _0x52383c=_0x299405();_0x52383c&&_0x3f5992(_0x52383c,_0x3050ee[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x3f7ee6=_0x125371();window[_0x1afe78([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3f5992(_0x1afe78([0x74,0x69,0x6d,0x65]),_0x3050ee[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x3f7ee6);const _0x4667d2=_0x2cf88a(_0x5095b2,_0x1afe78([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x1afe78([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x4667d2[_0x1afe78([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x38d68d?_0x3f5992(_0x1afe78([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3050ee[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x4667d2['on'](_0x1afe78([0x61,0x64,0x64]),()=>{_0x4667d2[_0x1afe78([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x38d68d&&_0x3f5992(_0x1afe78([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3050ee[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x299405(){if(!_0x2457cc(_0x5095b2,_0x1afe78([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x2f73cc in window)if(Number['isNaN'](Number(_0x2f73cc))){if(window[_0x2f73cc]===_0x4ec6e9)return _0x1afe78([0x74,0x69,0x6d,0x65]);if(window[_0x2f73cc]===_0x13c48b)return _0x1afe78([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x1a0a82(){if(!_0x2457cc(_0x5095b2,_0x1afe78([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x1e980e in window)if(Number['isNaN'](Number(_0x1e980e))&&window[_0x1e980e]===_0x3a43b6)return!0x0;return!0x1;}function _0x3f5992(_0x8e2419,_0x43fe4b){_0x6135a4(),_0x274230(_0x43fe4b+_0x1afe78([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x8e2419),window[_0x29238e()]=_0x8e2419===_0x1afe78([0x74,0x69,0x6d,0x65])?_0x4ec6e9:_0x13c48b;}function _0x125371(){let _0x77c37=_0x31f0f9[0x6]*_0x25a227[0x8]*_0x25a227[0x6];return _0x2457cc(_0x5095b2,_0x1afe78([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x77c37/=0xa),_0x77c37;}function _0x6135a4(){const _0x433fb2=_0x5095b2;function _0x116b60(){_0x2457cc(_0x433fb2,_0x1afe78([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x2cf88a(_0x433fb2,_0x1afe78([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1afe78([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x1afe78([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x2cf88a(_0x433fb2,_0x1afe78([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1afe78([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x2cf88a(_0x433fb2,_0x1afe78([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1afe78([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x2125b0,_0x2cf88a(_0x433fb2,_0x1afe78([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1afe78([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x2125b0,_0x433fb2[_0x1afe78([0x6d,0x6f,0x64,0x65,0x6c])][_0x1afe78([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2125b0,_0x433fb2[_0x1afe78([0x6d,0x6f,0x64,0x65,0x6c])][_0x1afe78([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2125b0,_0x433fb2[_0x1afe78([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1afe78([0x6d,0x6f,0x64,0x65,0x6c]))),_0x2457cc(_0x433fb2,_0x1afe78([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x2cf88a(_0x433fb2,_0x1afe78([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1afe78([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x1afe78([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x2cf88a(_0x433fb2,_0x1afe78([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1afe78([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x2cf88a(_0x433fb2,_0x1afe78([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1afe78([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x2125b0,_0x2cf88a(_0x433fb2,_0x1afe78([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1afe78([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x2125b0);}_0x433fb2[_0x1afe78([0x73,0x74,0x61,0x74,0x65])]==_0x1afe78([0x72,0x65,0x61,0x64,0x79])?_0x116b60():_0x433fb2[_0x1afe78([0x6f,0x6e,0x63,0x65])](_0x1afe78([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x2457cc(_0x433fb2,_0x1afe78([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x116b60(),_0x2457cc(_0x433fb2,_0x1afe78([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x2c77c8=_0x2cf88a(_0x433fb2,_0x1afe78([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x38add6=_0x2c77c8['getRevision'](0x0),_0x577610=_0x2c77c8['getEarlierVisibleRevision'](_0x38add6[_0x1afe78([0x69,0x64])]);_0x2cf88a(_0x433fb2,_0x1afe78([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1afe78([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x38add6[_0x1afe78([0x69,0x64])],_0x577610?_0x577610[_0x1afe78([0x69,0x64])]:null,0x1)['then'](()=>_0x116b60());}});}_0x4fc5a3(_0xfbb52b(_0xa050c8,_0x2b7d46),_0x2b7d46);}function _0x2384d4(_0x560100,_0x3399a0){try{return _0x276d7b(_0x3399a0)?_0x274230(_0x3399a0[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1afe78([0x56,0x61,0x6c,0x69,0x64])):_0x560100&&_0x1d10f0(_0x560100[_0x1afe78([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x3399a0)?_0x560100[_0x1afe78([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x1afe78([0x6f,0x70,0x65,0x6e])][_0x1afe78([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x11b43a)/0x2>_0x560100[_0x1afe78([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x274230(_0x3399a0[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1afe78([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x560100[_0x1afe78([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x274230(_0x3399a0[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1afe78([0x54,0x72,0x69,0x61,0x6c])):_0x274230(_0x3399a0[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1afe78([0x56,0x61,0x6c,0x69,0x64])):_0x274230(_0x3399a0[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1afe78([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x5a9a54){return _0x274230(_0x3399a0[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1afe78([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x2aeea1(_0x5ba281,_0x4c26a4){if(_0x5095b2 instanceof _0x17aa89){const _0x3e844e=_0x5095b2;_0x5ba281==_0x4c26a4[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1afe78([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4c9777(_0x3e844e):_0x5ba281==_0x4c26a4[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1afe78([0x54,0x72,0x69,0x61,0x6c])&&window[_0x1afe78([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4c9777(_0x3e844e),_0x274230(_0x4c26a4[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1afe78([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x31f0f9[0x6]*_0x25a227[0x8]*_0x25a227[0x6]),_0x3e844e[_0x1afe78([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x1afe78([0x6f,0x6e])](_0x1afe78([0x61,0x64,0x64]),(_0x392373,_0x22de3f)=>{_0x5ba281!=_0x4c26a4[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1afe78([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x5ba281!=_0x4c26a4[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1afe78([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x5ba281!=_0x4c26a4[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1afe78([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x5ade58(_0x22de3f);});}else{const _0x6450ba=_0x5095b2;_0x5ba281==_0x4c26a4[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1afe78([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x5ade58(_0x6450ba):_0x5ba281==_0x4c26a4[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1afe78([0x54,0x72,0x69,0x61,0x6c])&&_0x6450ba[_0x1afe78([0x6f,0x6e])](_0x1afe78([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x6f3065=0x0;_0x6450ba[_0x1afe78([0x6d,0x6f,0x64,0x65,0x6c])][_0x1afe78([0x6f,0x6e])](_0x1afe78([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1dd5f9,_0x2295e9)=>{_0x2295e9[0x0][_0x1afe78([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x6f3065++,0x1f8===_0x6f3065&&(_0x5ade58(_0x6450ba),_0x274230(_0x4c26a4[_0x1afe78([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1afe78([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x1dd5f9[_0x1afe78([0x6f,0x66,0x66])]());},{'priority':_0x1afe78([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x274230(_0x2fcd0b){const _0x4bc7f4=_0x29238e();return _0x5095b2[_0x4bc7f4]=_0x2fcd0b,_0x2fcd0b;}function _0x29238e(){const _0x49d91e=String(window[_0x1afe78([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1afe78([0x6e,0x6f,0x77])]())[_0x1afe78([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1afe78([0x2e]),'');let _0x2cf7ba='';for(let _0x432474=0x0;_0x432474<_0x49d91e[_0x1afe78([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x432474+=0x2){let _0x2d2a17=parseInt(_0x49d91e[_0x1afe78([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x432474,_0x432474+0x2));_0x2d2a17>=_0x82a10b[_0x1afe78([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2d2a17-=_0x82a10b[_0x1afe78([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2cf7ba+=_0x82a10b[_0x2d2a17];}return _0x2cf7ba;}function _0x4c9777(_0x2adc6f){for(const _0x5dce12 of _0x2adc6f[_0x1afe78([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x5ade58(_0x5dce12);_0x2cf88a(_0x2adc6f,_0x1afe78([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x1afe78([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x2cf88a(_0x2adc6f,_0x1afe78([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x1afe78([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x2125b0;}function _0x5ade58(_0x1db20b){function _0x432ac3(){_0x1db20b[_0x1afe78([0x6d,0x6f,0x64,0x65,0x6c])][_0x1afe78([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2125b0,_0x1db20b[_0x1afe78([0x6d,0x6f,0x64,0x65,0x6c])][_0x1afe78([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2125b0,_0x1db20b[_0x1afe78([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1afe78([0x6d,0x6f,0x64,0x65,0x6c]));}_0x1db20b[_0x1afe78([0x73,0x74,0x61,0x74,0x65])]==_0x1afe78([0x72,0x65,0x61,0x64,0x79])?_0x432ac3():_0x1db20b[_0x1afe78([0x6f,0x6e,0x63,0x65])](_0x1afe78([0x72,0x65,0x61,0x64,0x79]),()=>_0x432ac3());}function _0x2125b0(){return null;}function _0x1d10f0(_0x22a60d,_0x3ecc1e){const _0x4bb68e=!!(_0x22a60d&_0x3ecc1e[_0x1afe78([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x50503f=_0x99c8d2(_0x22a60d,_0x3ecc1e);return _0x4bb68e||_0x50503f;}function _0x99c8d2(_0x30bf94,_0x413591){const _0xd72e11=(_0x413591[_0x1afe78([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x1afe78([0x66,0x67,0x69])]||null;return!!_0xd72e11&&_0x42ec06[_0x1afe78([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5cabcd=>_0xd72e11[_0x1afe78([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5cabcd[_0x1afe78([0x69,0x64])]))[_0x1afe78([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4f27a6=>!_0x4e0dff(_0x4f27a6))[_0x1afe78([0x73,0x6f,0x6d,0x65])](_0x190738=>!!(_0x30bf94&_0x190738[_0x1afe78([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x4e0dff(_0x36442f){const _0x5dfc02={[_0x1afe78([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])]:_0x2c3392};return!!_0x36442f['forbiddenHandler']&&_0x5dfc02[_0x36442f['forbiddenHandler']]();}function _0x2c3392(){return!window[_0x1afe78([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x2457cc(_0x5095b2,_0x1afe78([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x276d7b(_0x217eba){if(!_0x2457cc(_0x5095b2,_0x217eba[_0x1afe78([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x477ca3=_0x217eba[_0x1afe78([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x48939a=_0x477ca3[_0x1afe78([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x3e7c06=_0x477ca3[_0x1afe78([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x513112=_0x477ca3[_0x1afe78([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x2457cc(_0x5095b2,_0x1afe78([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x2cf88a(_0x5095b2,_0x1afe78([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x1afe78([0x73,0x74,0x61,0x74,0x65])]==_0x1afe78([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x48939a)return!0x0;if(_0x2457cc(_0x5095b2,_0x1afe78([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x2cf88a(_0x5095b2,_0x1afe78([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x1afe78([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x1afe78([0x65,0x6e,0x64])&&_0x3e7c06)return!0x0;return!(!_0x2457cc(_0x5095b2,_0x1afe78([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]))||_0x2cf88a(_0x5095b2,_0x1afe78([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]))[_0x1afe78([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x1afe78([0x65,0x6e,0x64])||!_0x513112);}function _0x2457cc(_0x4400bd,_0x4662af){return _0x4400bd[_0x1afe78([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1afe78([0x68,0x61,0x73])](_0x4662af);}function _0x2cf88a(_0x5dd62d,_0x1e25c6){return _0x5dd62d[_0x1afe78([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1afe78([0x67,0x65,0x74])](_0x1e25c6);}function _0x2409c4(_0x225e74){let _0x579c69='';for(const _0x5801e5 of _0x225e74)_0x579c69+=String[_0x1afe78([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x5801e5);return _0x579c69;}function _0x3d1c30(_0x54e467){const _0x13ddd3=new Uint8Array(_0x54e467[_0x1afe78([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x3efde2=0x0;_0x3efde2<_0x54e467[_0x1afe78([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3efde2++)_0x13ddd3[_0x3efde2]=_0x54e467[_0x1afe78([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3efde2);return _0x13ddd3;}_0x384395&&_0x23bc36(_0x13b045(_0x3d0569),_0x384395);})(_0x4ca719);}(this);}['createRevision'](_0x345a83){const _0x139093=this['editor']['plugins']['get']('Users');return new a({'id':_0x345a83['id'],'name':_0x345a83['name'],'creator':_0x345a83['creatorId']?_0x139093['getUser'](_0x345a83['creatorId']):null,'diffData':_0x345a83['diffData']||_0x345a83['data'],'authors':_0x345a83['authorsIds']['map'](_0x58cd92=>_0x139093['getUser'](_0x58cd92)),'createdAt':new Date(_0x345a83['createdAt']),'attributes':_0x345a83['attributes'],'fromVersion':_0x345a83['fromVersion'],'toVersion':_0x345a83['toVersion']});}['addRevision'](_0x23e636,_0x47e1d5=0x0){this['_revisions']['add'](_0x23e636,_0x47e1d5);}['getRevision'](_0x5cf17c){return this['_revisions']['get'](_0x5cf17c);}['getRevisions'](_0x2789e1={'toJSON':!0x1}){const _0x5519c0=Array['from'](this['_revisions']);return _0x5519c0['reverse'](),_0x2789e1['toJSON']?_0x5519c0['map'](_0x3f2fe6=>_0x3f2fe6['toJSON']()):_0x5519c0;}['getIndex'](_0x19204b){return this['_revisions']['getIndex'](_0x19204b);}['getEarlierVisibleRevision'](_0x5a01f0){const [,_0x167a2c]=this['getRevisionsIterator'](_0x5a01f0,{'direction':'earlier'});return _0x167a2c;}['getLaterVisibleRevision'](_0x34abc3){const [,_0x4445c0]=this['getRevisionsIterator'](_0x34abc3,{'direction':'later'});return _0x4445c0;}['getRevisionsInDiff'](_0x137ddd){const _0x2de541=[];for(const _0x495271 of this['getRevisionsIterator'](_0x137ddd['newRevisionId']))if(_0x2de541['push'](_0x495271),_0x495271['id']===_0x137ddd['oldRevisionId'])break;return _0x2de541;}*['getRevisionsIterator'](_0x4240e9,{direction:_0x1f7880='earlier',filter:_0x138afa=()=>!0x0}={}){const _0x4b12ea='earlier'===_0x1f7880?0x1:-0x1;let _0x1a0ff2=this['_revisions']['get'](_0x4240e9),_0x311bc4=this['getIndex'](_0x1a0ff2);for(yield _0x1a0ff2;_0x1a0ff2;){if(_0x311bc4+=_0x4b12ea,_0x1a0ff2=this['getRevision'](_0x311bc4),!_0x1a0ff2)return;_0x138afa(_0x1a0ff2)&&(yield _0x1a0ff2);}}}function w(_0x3608be,_0x5f591b,_0x24a4bd){const t=_0x3608be['t'];switch(_0x5f591b){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'},_0x24a4bd);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x24a4bd);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':_0x245b3b,'a':_0x1328ee,'e':_0x2ed5ac,'r':_0x25a50f,'u':_0x401e44};class l extends _0x55c2ea{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x9adf1f,A,_0x3347eb];}constructor(_0x3005a0){super(_0x3005a0),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 _0x255142=_0x309ab9();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x255142},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 _0x53e889=this['repository']['getRevision'](0x0),_0x23a4bf=_0x53e889&&null===_0x53e889['creator']?_0x53e889:null;if(this['_continueCurrentRevision']=!!_0x23a4bf&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x11e405=this['_source']['getCurrentRevisionId'](),_0x64113d=this['repository']['getRevision'](_0x11e405);if(_0x64113d)this['_startingVersion']=_0x64113d['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x1cd307=this['_source']['history']['_operations']['find'](_0x3ab31c=>!_0x3ab31c['_isInit']),_0x3ff83a=_0x1cd307?_0x1cd307['baseVersion']:this['_source']['history']['version'];_0x53e889?(_0x53e889['toVersion']<_0x3ff83a&&_0x53e889['_update']({'toVersion':_0x3ff83a}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x23a4bf['id'],this['_startingVersion']=_0x23a4bf['fromVersion']):(this['_startingVersion']=_0x53e889['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x3ff83a,this['_continueCurrentRevision']=!0x1);}}else _0x23a4bf&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x23a4bf['toVersion'],this['editor']['model']['document']['history']['version']),_0x23a4bf['fromVersion']===_0x23a4bf['toVersion']?(0x0!==_0x23a4bf['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x23a4bf['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x23a4bf['id'],this['_startingVersion']=_0x23a4bf['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',_0x1235cb=>!_0x1235cb);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x37cd4e=this['repository']['getRevision'](0x0),_0x6a7c78=await this['getRevisionDocumentData'](_0x37cd4e),_0x4d019b=await this['getRevisionRootsAttributes'](_0x37cd4e);this['_replaceEditorDataWithRevisionData'](_0x6a7c78,_0x4d019b);}}['setSource'](_0x1f005b){this['_source']=_0x1f005b;}async['update'](){const _0x3576c5=await this['_source']['getLatestVersion']();if(_0x3576c5>this['currentRevision']['toVersion']){await this['_loadState']();const _0x2a0697=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x3576c5});_0x2a0697['authors']=_0x2a0697['authorsIds']['map'](_0x5d451b=>this['editor']['plugins']['get']('Users')['getUser'](_0x5d451b)),this['currentRevision']['_update'](_0x2a0697);}}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'](_0x1e36a6={},_0xbce9d=null){const _0x210e53=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0xbce9d>this['currentRevision']['toVersion']&&(_0xbce9d=null),null===_0xbce9d&&(_0xbce9d=await this['_source']['getLatestVersion']());const _0x36b4e4=this['_getFromVersion'](_0xbce9d),_0x301133=this['buildRevisionData']({'from':_0x36b4e4,'to':_0xbce9d});if(this['currentRevision']['toVersion']<_0xbce9d){const _0x50b08b=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0xbce9d,'to':_0xbce9d});_0x50b08b['authors']=[],_0x50b08b['authorsIds']=[],_0x50b08b['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x50b08b,!0x0),delete _0x50b08b['authors'],_0x210e53['push'](_0x50b08b);}_0x1e36a6['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x1e36a6['name']=_0x1e36a6['name']||null,_0x1e36a6['id']=_0x1e36a6['id']||_0x309ab9(),_0x1e36a6={..._0x1e36a6,..._0x301133};const _0xb26dc9=this['addRevisionData'](_0x1e36a6);_0x210e53['push'](_0x1e36a6);const _0x385357=this['repository']['getIndex'](_0xb26dc9);if(0x0!==_0x385357){const _0xe49aa9=this['repository']['getRevision'](_0x385357-0x1);if(_0xe49aa9['fromVersion']!==_0xbce9d){const _0x18af0d=this['_revisionDataBuilder']['getData'](_0xbce9d,_0xe49aa9['toVersion']),_0x3c139d={'id':_0xe49aa9['id'],'diffData':_0x18af0d['diffData'],'authorsIds':_0x18af0d['authorsIds'],'authors':_0x18af0d['authorsIds']['map'](_0x27cad4=>this['editor']['plugins']['get']('Users')['getUser'](_0x27cad4)),'fromVersion':_0xbce9d};_0xe49aa9===this['currentRevision']&&(_0x3c139d['createdAt']=new Date(_0x1e36a6['createdAt']['getTime']()+0xa)),_0xe49aa9['_update'](_0x3c139d,!0x0),delete _0x3c139d['authors'],_0x210e53['push'](_0x3c139d);}}if(this['adapter']){for(const _0x2cee57 of _0x210e53)this['_bufferUpdate'](_0x2cee57['id'],_0x2cee57,!0x0);this['sendBufferedUpdates']();}return _0xb26dc9;}['addRevisionData'](_0x417453){const _0x2e5aa2=this['repository']['createRevision'](_0x417453);return this['adapter']&&_0x2e5aa2['on']('_update',(_0xb4771e,_0x24901c,_0x55be7c)=>{_0x55be7c||(this['_bufferUpdate'](_0x24901c['id'],_0x24901c,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x2e5aa2,this['_findInsertionIndex'](_0x2e5aa2)),_0x2e5aa2;}async['getRevisionDocumentData'](_0x886046){await this['_loadRevisionData'](_0x886046);const _0x1b2670={};for(const _0x2080a3 in _0x886046['diffData']){if(_0x886046['diffData'][_0x2080a3]['attachChange']&&!_0x886046['diffData'][_0x2080a3]['attachChange']['isAttached'])continue;const _0x26aab0=this['_removeRevisionMarkers'](JSON['parse'](_0x886046['diffData'][_0x2080a3]['insertions'])),_0x1ee61b=this['editor']['editing']['view']['document'],_0x5f2e52=new _0x49b22b(_0x1ee61b,_0x26aab0['map'](_0x4f770a=>B(_0x4f770a,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x1b2670[_0x2080a3]=this['editor']['data']['processor']['toData'](_0x5f2e52),this['editor']['data']['processor']['useFillerType']('default');}return _0x1b2670;}async['getRevisionRootsAttributes'](_0x5c164b){await this['_loadRevisionData'](_0x5c164b);const _0x436157={};for(const _0x4fe968 in _0x5c164b['diffData'])_0x5c164b['diffData'][_0x4fe968]['attachChange']&&!_0x5c164b['diffData'][_0x4fe968]['attachChange']['isAttached']||(_0x436157[_0x4fe968]=_0x5c164b['diffData'][_0x4fe968]['attributesAfter']||{});return _0x436157;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x4c6b84=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x6845f1=0x0;_0x6845f1<_0x4c6b84['length'];_0x6845f1++){const _0x22f045=_0x4c6b84[_0x6845f1];let _0x25ea67=!0x1;for(const _0xa2a586 of Object['keys'](_0x22f045))void 0x0===_0x22f045[_0xa2a586]?delete _0x22f045[_0xa2a586]:'id'!==_0xa2a586&&(_0x25ea67=!0x0);_0x25ea67||(_0x4c6b84[_0x6845f1]=null);}if(_0x4c6b84=_0x4c6b84['filter'](_0x2156eb=>null!==_0x2156eb),!_0x4c6b84['length'])return;for(let _0x528124=0x0;_0x528124<_0x4c6b84['length'];_0x528124++){const _0x4089d7=_0x4c6b84[_0x528124];void 0x0!==_0x4089d7['fromVersion']&&void 0x0===_0x4089d7['toVersion']&&(_0x4089d7['toVersion']=this['repository']['getRevision'](_0x4089d7['id'])['toVersion']),void 0x0!==_0x4089d7['toVersion']&&void 0x0===_0x4089d7['fromVersion']&&(_0x4089d7['fromVersion']=this['repository']['getRevision'](_0x4089d7['id'])['fromVersion']);}const _0x4e8041=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x4c6b84,_0x4e8041)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x2aefff=>{if(_0x2aefff){for(const _0x38d776 of _0x2aefff)this['setRevisionData']({'id':_0x38d776['id'],'createdAt':_0x38d776['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0xecc49d,_0x41efb0){let _0x314552=this['editor']['config']['get']('initialData'),_0xc8a08=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x314552){_0x314552={};for(const _0x2dbb0f of this['editor']['model']['document']['getRootNames']())_0x314552[_0x2dbb0f]='';}if('string'==typeof _0x314552&&(_0x314552={'main':_0x314552}),void 0x0===_0xc8a08){_0xc8a08={};for(const _0x2841b4 of this['editor']['model']['document']['getRootNames']())_0xc8a08[_0x2841b4]={};}let _0xaba37a=!0x1;const _0x322fc3=Object['keys'](_0x314552),_0x50c002=Object['keys'](_0xecc49d);for(const _0x538830 of _0x322fc3){if(_0x314552[_0x538830]!==_0xecc49d[_0x538830]&&''!==_0x314552[_0x538830]['trim']()){_0xaba37a=!0x0;break;}if(!_0x19fd18(_0xc8a08[_0x538830],_0x41efb0[_0x538830])&&Object['keys'](_0xc8a08[_0x538830])['length']>0x0){_0xaba37a=!0x0;break;}}_0xaba37a||(_0xaba37a=_0x50c002['some'](_0xfa200d=>!this['editor']['model']['document']['getRoot'](_0xfa200d))),_0xaba37a&&_0x2bcc93('editor-initial-data-replaced-with-revision-data',{'editorData':_0x314552,'editorRootsAttributes':_0xc8a08,'revisionData':_0xecc49d,'revisionRootsAttributes':_0x41efb0}),this['editor']['config']['set']('initialData',_0xecc49d),this['editor']['config']['set']('rootsAttributes',_0x41efb0);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x2cd57e=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x2cd57e['add'](w(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x11732f){const _0x31e59e=this['repository']['getRevisions']();_0x31e59e['reverse']();let _0x3f03ae=0x0;for(;_0x3f03ae<_0x31e59e['length'];){const _0x3b3f49=_0x31e59e[_0x3f03ae];if(_0x3b3f49===this['currentRevision']){_0x3f03ae++;continue;}if(_0x3b3f49['id']===this['_initialRevisionId'])break;const _0x16dc69=_0x11732f['toVersion']-_0x3b3f49['toVersion']||_0x11732f['fromVersion']-_0x3b3f49['fromVersion'];if(_0x16dc69>0x0)break;if(_0x16dc69<0x0)_0x3f03ae++;else{if(!_0x11732f['creator']&&_0x3b3f49['creator'])break;if(_0x3b3f49['creator']||!_0x11732f['creator']){if(_0x11732f['createdAt']>_0x3b3f49['createdAt'])break;_0x3f03ae++;}else _0x3f03ae++;}}return _0x3f03ae;}['setRevisionData'](_0x27cfcf){const _0x177ded=this['repository']['getRevision'](_0x27cfcf['id']);if(_0x27cfcf['createdAt']&&(_0x27cfcf['createdAt']=new Date(_0x27cfcf['createdAt'])),_0x27cfcf['authorsIds']){const _0xab1c95=this['editor']['plugins']['get']('Users');_0x27cfcf['authors']=_0x27cfcf['authorsIds']['map'](_0x53cdc7=>_0xab1c95['getUser'](_0x53cdc7));}_0x177ded['_update'](_0x27cfcf,!0x0);}['buildRevisionData']({revision:_0x1b686e=null,from:_0x253f24=null,to:_0x4c4297=null}){_0x253f24=null!==_0x253f24?_0x253f24:_0x1b686e['fromVersion'],_0x4c4297=null!==_0x4c4297?_0x4c4297:_0x1b686e['toVersion'];const _0x2d20a8=this['_revisionDataBuilder']['getData'](_0x253f24,_0x4c4297),_0x5d5ef6={'diffData':_0x2d20a8['diffData'],'authorsIds':_0x2d20a8['authorsIds'],'fromVersion':_0x253f24,'toVersion':_0x4c4297};if(!_0x1b686e||_0x4c4297!==_0x1b686e['toVersion']){const _0x2555c7=_0x4c4297-0x1,_0xe04ad0=this['_source']['history']['getOperation'](_0x2555c7);_0x5d5ef6['createdAt']=_0xe04ad0&&_0xe04ad0['createdAt']||new Date();}if(this['_loadedStateData']&&_0x253f24===this['_loadedStateData']['fromVersion']){for(const _0x4b9841 of this['_loadedStateData']['authors'])_0x5d5ef6['authorsIds']['includes'](_0x4b9841['id'])||_0x5d5ef6['authorsIds']['push'](_0x4b9841['id']);}return _0x5d5ef6;}['_loadRevisionData'](_0x3a697c){if(!_0x3a697c||_0x3a697c['diffData'])return Promise['resolve']();{const _0x494702=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x494702,'revisionId':_0x3a697c['id']})['then'](_0x43dbcc=>{_0x3a697c['diffData']=_0x43dbcc['diffData'];});}}['_bufferUpdate'](_0x304c4b,_0xf1f888,_0x4cb05a){if(this['_bufferedUpdates']['has'](_0x304c4b)){const _0x1dcb0d=this['_bufferedUpdates']['get'](_0x304c4b);_0xf1f888=_0x4cb05a?{..._0x1dcb0d,..._0xf1f888}:{..._0xf1f888,..._0x1dcb0d};}this['_bufferedUpdates']['set'](_0x304c4b,_0xf1f888);}['_getFromVersion'](_0x5aebf6){const _0x524cfa=this['repository']['getRevisions']();_0x524cfa['reverse'](),_0x524cfa['shift']();const _0x4ffa11=_0x524cfa['find'](_0x17fb04=>_0x17fb04['toVersion']<=_0x5aebf6)['toVersion'];return _0x4ffa11<this['_startingVersion']?this['_startingVersion']:_0x4ffa11;}['_createInitialRevision'](_0x53e209){const _0xf1e966=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0xf1e966)this['_initialRevisionId']=_0xf1e966['id'];else{const _0x11c940=!this['editor']['model']['document']['roots']['find'](_0x3b1098=>this['editor']['model']['hasContent'](_0x3b1098)),_0x64bdf2=this['editor']['plugins']['get']('Users')['me']['id'],_0x158ff4=w(this['editor']['locale'],_0x11c940?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x53e209,'to':_0x53e209,'id':this['_initialRevisionId'],'name':_0x158ff4,'creatorId':_0x64bdf2});}}['_createCurrentRevision'](_0x19e5a9){const _0x112be5=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x112be5),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x19e5a9,'to':_0x19e5a9,'id':_0x112be5,'name':'','creatorId':null}));}['_makeRevision']({name:_0x5a5717,from:_0xee84e9,to:_0x44d6c1,creatorId:_0x2686c7,id:_0x10193b}){const _0x38bdf2=this['buildRevisionData']({'from':_0xee84e9,'to':_0x44d6c1});_0x38bdf2['name']=_0x5a5717,_0x38bdf2['creatorId']=_0x2686c7,_0x38bdf2['id']=_0x10193b;const _0x41b54b=this['addRevisionData'](_0x38bdf2);return this['adapter']&&this['_bufferUpdate'](_0x38bdf2['id'],_0x38bdf2,!0x0),_0x41b54b;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x412c5b){return(_0x412c5b=_0x412c5b['filter'](_0x184ceb=>!_0x184ceb['name']||'revision-start'!==_0x184ceb['name']&&'revision-end'!==_0x184ceb['name']))['forEach'](_0x5e7a4e=>{'string'!=typeof _0x5e7a4e&&(_0x5e7a4e['children']=this['_removeRevisionMarkers'](_0x5e7a4e['children']),_0x5e7a4e['attributes']=_0x5e7a4e['attributes']['filter'](_0x3e5a78=>!_0x3e5a78[0x0]['startsWith']('data-revision-')));}),_0x412c5b;}}function B(_0x3c6d72,_0x2eb940){const _0x461425=_0x2eb940['editing']['view']['document'];if('string'==typeof _0x3c6d72)return new _0x37d2e1(_0x461425,_0x3c6d72);{const _0x4cf48a=_0x3c6d72['children']['map'](_0x5e1e82=>B(_0x5e1e82,_0x2eb940));return new(T[_0x3c6d72['type']]||_0x11da4a)(_0x461425,_0x3c6d72['name'],_0x3c6d72['attributes'],_0x4cf48a);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x3b342c){this['editor']=_0x3b342c,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'](_0x3403a5){this['source']=_0x3403a5;const _0x2b4007=new Map(),_0x242e5c=new Map(),_0x56c825=this['editor']['model']['document']['roots']['map'](_0x3c6e95=>_0x3c6e95['rootName']);for(const _0x3c4ede of _0x56c825){const _0x8c98c4=this['editor']['model']['document']['getRoot'](_0x3c4ede),_0x22d8e6=q(_0x8c98c4);_0x2b4007['set'](_0x3c4ede,_0x22d8e6),_0x242e5c['set'](_0x3c4ede,Object['fromEntries'](_0x8c98c4['getAttributes']()));}const _0x18dd38=Array['from'](this['editor']['model']['markers'])['map'](_0x192f04=>[_0x192f04['name'],_0x192f04['getRange']()]),_0x57c07f=this['source']['version'];this['_saveMetaData'](_0x57c07f,_0x2b4007,_0x18dd38,_0x242e5c),this['_startingRevisionId']=this['_revisionId'];const _0x33d710=new Map(),_0x2ea86c=new Map();for(const _0x42eb64 of _0x56c825){const _0x4d10e6=G(_0x42eb64);_0x33d710['set'](_0x42eb64,_0x4d10e6),_0x2ea86c['set'](_0x42eb64,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x33d710,[],_0x2ea86c);}['getData'](_0x5350a8,_0x4e9b3b){if(this['_lastFrom']===_0x5350a8&&this['_lastTo']<=_0x4e9b3b)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x4e9b3b,!0x0);else{if(!this['_savedMetaData']['has'](_0x5350a8)){const _0x482b51=this['_getPreviousFrom'](_0x5350a8);this['_calculateMetaData'](_0x482b51,_0x5350a8,!0x1);}this['_calculateMetaData'](_0x5350a8,_0x4e9b3b,!0x0);}return this['_lastFrom']=_0x5350a8,this['_lastTo']=_0x4e9b3b,this['_getState']();}['loadState'](_0x33f906){this['_reset'](),this['_lastFrom']=_0x33f906['fromVersion'],this['_lastTo']=_0x33f906['toVersion'];for(const _0x34d31d in _0x33f906['diffData']){const _0xb56547=_0x33f906['diffData'][_0x34d31d]['attachChange'],_0xa7998c=_0x3479a4(_0x33f906['diffData'][_0x34d31d]['attributesBefore'])||{},_0x2fc980=this['_makeModelFromViewString'](_0x33f906['diffData'][_0x34d31d]['deletions']);_0x2fc980['rootName']=_0x34d31d,_0x2fc980['_isAttached']=!_0xb56547||!_0xb56547['isAttached'],_0x2fc980['isAttached']=()=>_0x2fc980['_isAttached'],this['_baseRoots']['set'](_0x34d31d,_0x2fc980),this['_baseRootsAttributes']['set'](_0x34d31d,_0xa7998c),_0xb56547&&this['_touchedRoots']['set'](_0x34d31d,_0xb56547);const _0x292549=this['_makeIdsRoot'](_0x2fc980);this['_baseIdsRoots']['set'](_0x34d31d,_0x292549);for(const [_0x13d6ee,_0x49c5db]of _0x2fc980['markers']){if(!_0x13d6ee['startsWith']('revision:'))continue;const _0x4f7bc2=_0x13d6ee['split'](':')[0x2];for(const _0x52d8f9 of _0x49c5db['getWalker']({'singleCharacters':!0x0})){const _0x28c309=this['_getVidAttributeName'](_0x52d8f9),_0x26ac8a='elementEnd'==_0x52d8f9['type']?_0x52d8f9['previousPosition']['path']['slice'](0x0,-0x1):_0x52d8f9['previousPosition']['path'],_0x431f25=_0x292549['getNodeByPath'](_0x26ac8a)['getAttribute'](_0x28c309);this['_touched']['set'](_0x431f25,{'userId':_0x4f7bc2});}}}this['_startingRevisionId']=this['_revisionId'];const _0x3d1ce1=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x24c88f=>!this['_touched']['has'](_0x24c88f));let _0x49efb7=0x0;const _0x2e4e3e=new Map();for(const _0x3e15fc in _0x33f906['diffData']){const _0xb75fff=_0x33f906['diffData'][_0x3e15fc]['attachChange'],_0x1667df=_0x3479a4(_0x33f906['diffData'][_0x3e15fc]['attributesAfter'])||{},_0x546eb4=this['_makeModelFromViewString'](_0x33f906['diffData'][_0x3e15fc]['insertions']);_0x546eb4['rootName']=_0x3e15fc,_0x546eb4['_isAttached']=!_0xb75fff||_0xb75fff['isAttached'],_0x546eb4['isAttached']=()=>_0x546eb4['_isAttached'],this['_diffRoots']['set'](_0x3e15fc,_0x546eb4),this['_diffRootsAttributes']['set'](_0x3e15fc,_0x1667df);const _0x3c567a=this['_makeIdsRoot'](_0x546eb4,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x3e15fc,_0x3c567a),_0x2e4e3e['set'](_0x3e15fc,_0x546eb4['isAttached']()?_0x1667df:{});for(const [_0x3929eb,_0x304238]of _0x546eb4['markers']){if(!_0x3929eb['startsWith']('revision:'))continue;const _0x43e3aa=_0x3929eb['split'](':')[0x2];for(const _0x4ace7c of _0x304238['getWalker']({'singleCharacters':!0x0})){const _0x122fbf=this['_getVidAttributeName'](_0x4ace7c),_0x44dffe=this['_revisionId']++,_0x2cb81c='elementEnd'==_0x4ace7c['type']?_0x4ace7c['previousPosition']['path']['slice'](0x0,-0x1):_0x4ace7c['previousPosition']['path'];_0x3c567a['getNodeByPath'](_0x2cb81c)['_setAttribute'](_0x122fbf,_0x44dffe),this['_touched']['set'](_0x44dffe,{'userId':_0x43e3aa});}}for(const _0x13ee5b of this['editor']['model']['createRangeIn'](_0x546eb4)['getWalker']({'singleCharacters':!0x0})){const _0x948933=this['_getVidAttributeName'](_0x13ee5b),_0x5473b0='elementEnd'==_0x13ee5b['type']?_0x13ee5b['previousPosition']['path']['slice'](0x0,-0x1):_0x13ee5b['previousPosition']['path'],_0xef28d1=_0x3c567a['getNodeByPath'](_0x5473b0);_0xef28d1['getAttribute'](_0x948933)>0x0||_0xef28d1['_setAttribute'](_0x948933,_0x3d1ce1[_0x49efb7++]);}for(const [_0x14f3a7,_0x195e15]of _0x546eb4['markers'])_0x14f3a7['startsWith']('revision:')||this['_markers']['set'](_0x14f3a7,_0x195e15);}const _0x4d7f8c=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x4d7f8c),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4d7f8c,0x1));const _0x398722=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x398722),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x398722,0x1));const _0x43e1ed=Array['from'](this['_diffRoots'])['map'](([_0x17a16d,_0xd2a0b2])=>[_0x17a16d,q(_0xd2a0b2)]);this['_saveMetaData'](this['_lastTo'],_0x43e1ed,this['_markers'],_0x2e4e3e);}['_makeModelFromViewString'](_0x5544c8){const _0x4e262d=JSON['parse'](_0x5544c8),_0x4faffc=this['editor']['editing']['view']['document'],_0x4d6102=new _0x49b22b(_0x4faffc,_0x4e262d['map'](_0x5f3b31=>B(_0x5f3b31,this['editor'])));return this['editor']['data']['toModel'](_0x4d6102);}['_saveMetaData'](_0xcc3f4c,_0x2c060c,_0x3a25bf,_0x2fa5b7){const _0x555412=new Map(_0x2c060c),_0x13565a=new Map(_0x3479a4(_0x2fa5b7)),_0x759819=new Map();for(const [_0x68fcaf,_0x4b402b]of _0x3a25bf)_0x759819['set'](_0x68fcaf,{'start':_0x4b402b['start']['clone'](),'end':_0x4b402b['end']['clone'](),'rootName':_0x4b402b['root']['rootName']});this['_savedMetaData']['set'](_0xcc3f4c,{'roots':_0x555412,'markers':_0x759819,'rootsAttributes':_0x13565a});}['_removeMetaData'](_0x5c3b26){this['_savedMetaData']['delete'](_0x5c3b26);}['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'](_0x5977b7,_0x338e06=null){let _0x539efe=null;_0x5977b7['is']('documentFragment')||(_0x539efe=new ft(_0x5977b7['name'],{'vid_start':null===_0x338e06?this['_revisionId']++:_0x338e06++}));const _0xf4833d=[];for(const _0x252121 of _0x5977b7['getChildren']())if(_0x252121['is']('element')){_0xf4833d['push'](this['_makeIdsRoot'](_0x252121,_0x338e06));const _0x58e54f=_0xf4833d[_0xf4833d['length']-0x1];null!==_0x338e06&&(_0x338e06=_0x58e54f['is']('element','$text')?_0x58e54f['getAttribute']('vid')+0x1:_0x58e54f['getAttribute']('vid_end')+0x1);}else{for(let _0x43b2cd=0x0;_0x43b2cd<_0x252121['offsetSize'];_0x43b2cd++)_0xf4833d['push'](new ft('$text',{'vid':null===_0x338e06?this['_revisionId']++:_0x338e06++}));}if(_0x5977b7['is']('documentFragment')){const _0x5ddb5f=G(_0x5977b7['rootName']);return _0x5ddb5f['_insertChild'](0x0,_0xf4833d),_0x5ddb5f;}return _0x539efe['_setAttribute']('vid_end',null===_0x338e06?this['_revisionId']++:_0x338e06++),_0x539efe['_insertChild'](0x0,_0xf4833d),_0x539efe;}['_calculateMetaData'](_0x2a5bd9,_0x1575f9,_0x18cc4b){this['_reset']();const {roots:_0x3c95b6,markers:_0x59e52a,rootsAttributes:_0x1b80d2}=this['_savedMetaData']['get'](_0x2a5bd9);this['_baseRoots']=new Map(_0x3c95b6),this['_baseRootsAttributes']=new Map(_0x3479a4(_0x1b80d2));for(const [_0x3ef902,_0x3bc679]of this['_baseRoots'])if('$graveyard'!==_0x3ef902&&(this['_diffRoots']['set'](_0x3ef902,q(_0x3bc679)),this['_diffRootsAttributes']=new Map(_0x3479a4(_0x1b80d2)),_0x18cc4b)){const _0x5e74e0=this['_revisionId'];this['_idsRoots']['set'](_0x3ef902,this['_makeIdsRoot'](_0x3bc679)),this['_baseIdsRoots']['set'](_0x3ef902,this['_makeIdsRoot'](_0x3bc679,_0x5e74e0));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x18cc4b&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x3da4fa,_0x39590a]of _0x59e52a){const _0x11511c=this['_baseRoots']['get'](_0x39590a['rootName']),_0x1ef463=this['_diffRoots']['get'](_0x39590a['rootName']),_0x44978c=new vt(this['_fixPosition'](_0x39590a['start'],_0x11511c),this['_fixPosition'](_0x39590a['end'],_0x11511c)),_0x378218=this['_fixRange'](_0x44978c,_0x1ef463);_0x11511c['markers']['set'](_0x3da4fa,_0x44978c),this['_markers']['set'](_0x3da4fa,_0x378218);}this['_applyOperations'](_0x2a5bd9,_0x1575f9,_0x18cc4b);}['_applyOperations'](_0x75c927,_0x184ac7,_0x3dc703){for(const _0x111338 of this['source']['getOperations'](_0x75c927,_0x184ac7))this['_handleOperation'](_0x111338,_0x3dc703);for(const _0x37bec1 of this['_diffRoots']['values']())_0x37bec1['markers']['clear']();for(const [_0x42d566,_0x2a87d3]of this['_markers']){this['_diffRoots']['get'](_0x2a87d3['root']['rootName'])['markers']['set'](_0x42d566,_0x2a87d3['clone']());}const _0x283eba=new Map(),_0x60917b=new Map();for(const [_0x2c5e9a,_0x3e970c]of this['_diffRoots'])_0x283eba['set'](_0x2c5e9a,q(_0x3e970c)),_0x60917b['set'](_0x2c5e9a,this['_diffRootsAttributes']['get'](_0x2c5e9a));this['_saveMetaData'](_0x184ac7,_0x283eba,this['_markers'],_0x60917b);}['_getPreviousFrom'](_0x5d2593){const _0x1d3c0e=Array['from'](this['_savedMetaData']['keys']());_0x1d3c0e['sort']((_0x63aeec,_0x594976)=>_0x63aeec-_0x594976),_0x1d3c0e['reverse']();for(const _0x434920 of _0x1d3c0e)if(_0x434920<_0x5d2593)return _0x434920;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x360a9e,_0x1e3d20){const _0x379b03=Array['from'](_0x1e3d20['markers'])['map'](([_0x2265ad,_0x592671])=>[_0x2265ad,this['_fixRange'](_0x592671,_0x360a9e)]);_0x360a9e['markers']=new Map(_0x379b03);}['_transformMarkers'](_0x593533){for(const _0x1b1000 of this['_markers']['values']()){const _0x287c39=_0x1b1000['getTransformedByOperation'](_0x593533),_0x2a9ca7=vt['_createFromRanges'](_0x287c39);_0x1b1000['start']=_0x2a9ca7['start'],_0x1b1000['end']=_0x2a9ca7['end'];}}['_handleOperation'](_0x3b1dad,_0x329ad2){if('addRoot'!=_0x3b1dad['type']&&'detachRoot'!=_0x3b1dad['type']){if('insert'==_0x3b1dad['type']){const _0x58b4b0=_0x3b1dad['position']['root']['rootName'];this['_diffRoots']['has'](_0x58b4b0)||(this['_diffRoots']['set'](_0x58b4b0,G(_0x58b4b0,!0x0)),this['_diffRootsAttributes']['set'](_0x58b4b0,{}),_0x329ad2&&this['_idsRoots']['set'](_0x58b4b0,G(_0x58b4b0,!0x0)));}else{if('addRootAttribute'==_0x3b1dad['type']||'removeRootAttribute'==_0x3b1dad['type']||'changeRootAttribute'==_0x3b1dad['type'])return void this['_handleRootAttributeOperation'](_0x3b1dad);'marker'==_0x3b1dad['type']&&this['_handleMarkerOperation'](_0x3b1dad);}if('marker'!==_0x3b1dad['type']){const _0xbaed23=this['_cloneOperation'](_0x3b1dad,this['_diffRoots']);_0xbaed23['_execute'](),this['_transformMarkers'](_0xbaed23);}if(_0x329ad2)switch(_0x3b1dad['type']){case'insert':this['_handleInsertOperation'](_0x3b1dad);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x3b1dad);break;case'merge':this['_handleMergeOperation'](_0x3b1dad);break;case'split':this['_handleSplitOperation'](_0x3b1dad);}}else this['_handleRootOperation'](_0x3b1dad,_0x329ad2);}['_cloneOperation'](_0x405b76,_0x102c13){const _0x29dce4=_0x405b76['clone']();return _0x29dce4['_authorId']=_0x405b76['_authorId'],this['_fixOperation'](_0x29dce4,_0x102c13),_0x29dce4;}['_getBaseVids'](_0x126e89){return _0x126e89['map'](_0x248045=>{const _0x486b1d=this['_getVidAttributeName'](_0x248045);return Number(_0x248045['item']['getAttribute'](_0x486b1d));});}['_generateTape'](_0x1b620a,_0x8f22e3){if(_0x1b620a['is']('element','$text'))_0x8f22e3['push']({'item':_0x1b620a,'type':'text'});else{_0x1b620a['is']('element')&&_0x8f22e3['push']({'item':_0x1b620a,'type':'elementStart'});for(const _0x2ee67c of _0x1b620a['getChildren']())this['_generateTape'](_0x2ee67c,_0x8f22e3);_0x1b620a['is']('element')&&_0x8f22e3['push']({'item':_0x1b620a,'type':'elementEnd'});}return _0x8f22e3;}['_getState'](){const _0x2bc32b=new Map(this['_touched']),_0x398cb8=new Map(_0x2bc32b),_0x5da64d=new Map(),_0x34ad21={'insertions':{},'deletions':{}},_0x1c54ee={'insertions':{},'deletions':{}},_0x65ce0e=new Map(),_0x3ae9fa=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x3ae9fa['delete']('$graveyard');for(const _0x30a2b2 of _0x3ae9fa){const _0x313ecf=this['_diffRoots']['get'](_0x30a2b2)||G(_0x30a2b2,!0x1),_0x52cae7=this['_baseRoots']['get'](_0x30a2b2)||G(_0x30a2b2,!0x1);_0x313ecf['isAttached']()||_0x52cae7['isAttached']()?(_0x34ad21['insertions'][_0x30a2b2]=q(_0x313ecf),_0x34ad21['deletions'][_0x30a2b2]=q(_0x52cae7),this['_copyMarkers'](_0x34ad21['deletions'][_0x30a2b2],_0x52cae7),this['_copyMarkers'](_0x34ad21['insertions'][_0x30a2b2],_0x313ecf),_0x1c54ee['insertions'][_0x30a2b2]=this['_generateTape'](this['_idsRoots']['get'](_0x30a2b2),[]),_0x1c54ee['deletions'][_0x30a2b2]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x30a2b2)||G(_0x30a2b2,!0x1),[])):_0x3ae9fa['delete'](_0x30a2b2);}for(const _0x2e6c15 of _0x3ae9fa){const _0x19cd2b=_0x1c54ee['insertions'][_0x2e6c15];for(const _0x34c791 of _0x19cd2b){const _0x386e1d=this['_getVidAttributeName'](_0x34c791),_0x31664e=_0x34c791['item']['getAttribute'](_0x386e1d);_0x398cb8['delete'](_0x31664e),_0x31664e>=this['_startingRevisionId']&&_0x5da64d['set'](_0x31664e,_0x2bc32b['get'](_0x31664e));}}for(const _0x1ed13b of _0x3ae9fa){const _0x167132=_0x1c54ee['insertions'][_0x1ed13b],_0x23cd8a=this['_getBaseVids'](_0x1c54ee['deletions'][_0x1ed13b]);let _0x36e94a=0x0;for(const _0x5f4b9a of _0x167132){const _0x1418bb=this['_getVidAttributeName'](_0x5f4b9a),_0x1743f5=_0x5f4b9a['item']['getAttribute'](_0x1418bb);if(!_0x5da64d['has'](_0x1743f5)&&!_0x65ce0e['has'](_0x1743f5)){if(_0x398cb8['has'](_0x1743f5))_0x36e94a++;else{if(_0x1743f5!=_0x23cd8a[_0x36e94a]){const _0x2d3ea1=_0x2bc32b['get'](_0x1743f5)||_0x2bc32b['get'](_0x23cd8a[_0x36e94a]);for(;_0x1743f5!=_0x23cd8a[_0x36e94a];)_0x398cb8['has'](_0x23cd8a[_0x36e94a])||(_0x65ce0e['set'](_0x23cd8a[_0x36e94a],_0x2d3ea1),_0x2bc32b['set'](_0x23cd8a[_0x36e94a],_0x2d3ea1)),_0x36e94a++;}_0x36e94a++;}}}}for(const _0x38de0d of _0x3ae9fa){const _0x4130b7=_0x1c54ee['insertions'][_0x38de0d];for(const _0x28fb5e of _0x4130b7){const _0x19b7c1=this['_getVidAttributeName'](_0x28fb5e),_0x5202f7=_0x28fb5e['item']['getAttribute'](_0x19b7c1);if(_0x65ce0e['has'](_0x5202f7)){const _0x46909f=_0x65ce0e['get'](_0x5202f7);_0x398cb8['has'](_0x5202f7)||_0x398cb8['set'](_0x5202f7,{..._0x46909f}),_0x5da64d['set'](_0x5202f7,{..._0x46909f});}}}for(const _0x59d399 of _0x398cb8['keys']())_0x59d399>=this['_startingRevisionId']&&_0x398cb8['delete'](_0x59d399);const _0x121d83=new Map();for(const _0x13be43 of _0x3ae9fa){let _0x227940=_0x1c54ee['insertions'][_0x13be43];for(const _0x398cd1 of _0x227940)if(_0x398cd1['item']['is']('element','tableCell')){const _0x5e4be6=this['_getVidAttributeName'](_0x398cd1),_0x2a29e9=_0x398cd1['item']['getAttribute'](_0x5e4be6);if(_0x5da64d['has'](_0x2a29e9)){const _0x519a15=_0x398cd1['item']['parent']['parent']['getAttribute']('vid_start'),_0xf68b0c=_0x121d83['get'](_0x519a15)||new Set();_0xf68b0c['add'](_0x5da64d['get'](_0x2a29e9)['userId']),_0x121d83['set'](_0x519a15,_0xf68b0c);}}_0x227940=_0x1c54ee['deletions'][_0x13be43];for(const _0x30b56a of _0x227940)if(_0x30b56a['item']['is']('element','tableCell')){const _0x51494a=this['_getVidAttributeName'](_0x30b56a),_0x1d44f9=_0x30b56a['item']['getAttribute'](_0x51494a);if(_0x398cb8['has'](_0x1d44f9)){const _0x116d01=_0x30b56a['item']['parent']['parent']['getAttribute']('vid_start'),_0x3efcda=_0x121d83['get'](_0x116d01)||new Set();_0x3efcda['add'](_0x398cb8['get'](_0x1d44f9)['userId']),_0x121d83['set'](_0x116d01,_0x3efcda);}}for(const _0x16c43a of _0x121d83['keys']())(_0x5da64d['has'](_0x16c43a)||_0x398cb8['has'](_0x16c43a))&&_0x121d83['delete'](_0x16c43a);}for(const _0xb8dae3 of _0x3ae9fa){const _0x35a665=_0x1c54ee['insertions'][_0xb8dae3];let _0x55ddc5=null,_0x27bb1d=null;for(const _0x128423 of _0x35a665){const _0x1f747f=this['_getVidAttributeName'](_0x128423),_0x45492e=_0x128423['item']['getAttribute'](_0x1f747f),_0x557bf3=_0x121d83['get'](_0x45492e);_0x557bf3&&'elementStart'==_0x128423['type']&&(_0x55ddc5=Array['from'](_0x557bf3)[0x0],_0x27bb1d=_0x128423['item']['getAttribute']('vid_end')),_0x55ddc5&&(_0x398cb8['set'](_0x45492e,{'userId':_0x55ddc5}),_0x5da64d['set'](_0x45492e,{'userId':_0x55ddc5})),_0x45492e==_0x27bb1d&&(_0x55ddc5=null,_0x27bb1d=null);}}const _0x4df8f0={},_0x2b0488=new Set();for(const _0x563cb6 of _0x3ae9fa){const _0x58ce14=_0x34ad21['deletions'][_0x563cb6],_0x54f924=_0x34ad21['insertions'][_0x563cb6];for(const {userId:_0xcaa09a}of this['_touchedMarkers']['values']())null!==_0xcaa09a&&_0x2b0488['add'](_0xcaa09a);for(const {userId:_0x2063fd}of this['_touchedRoots']['values']())null!==_0x2063fd&&_0x2b0488['add'](_0x2063fd);this['_markChanges'](_0x54f924,_0x1c54ee['insertions'][_0x563cb6],_0x5da64d,'insertion',_0x2b0488),this['_markChanges'](_0x58ce14,_0x1c54ee['deletions'][_0x563cb6],_0x398cb8,'deletion',_0x2b0488),_0x4df8f0[_0x563cb6]={'insertions':this['_prepareViewToSave'](_0x54f924),'deletions':this['_prepareViewToSave'](_0x58ce14),'attachChange':this['_touchedRoots']['get'](_0x563cb6)||null,'attributesBefore':_0x3479a4(this['_baseRootsAttributes']['get'](_0x563cb6))||{},'attributesAfter':_0x3479a4(this['_diffRootsAttributes']['get'](_0x563cb6))};}return{'diffData':_0x4df8f0,'authorsIds':Array['from'](_0x2b0488)};}['_processRootBeforeSave'](_0x59a3bd){for(const [,_0x2f4d82]of _0x59a3bd['markers']){const _0x576f59=_0x2f4d82['start']['getAncestors']()['filter'](_0x561f89=>'tableCell'==_0x561f89['name']);for(const _0x274067 of _0x576f59)0x1==_0x274067['childCount']&&_0x274067['getChild'](0x0)['is']('element','paragraph')&&_0x274067['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x3d0aae){this['_processRootBeforeSave'](_0x3d0aae);const _0x443f5e=this['editor']['data']['toView'](_0x3d0aae,{}),_0x1e8203=Array['from'](_0x443f5e['getChildren']())['map'](_0x1e5ad0=>this['_getViewJson'](_0x1e5ad0));return JSON['stringify'](_0x1e8203);}['_getViewJson'](_0x4cd61f){if(_0x4cd61f['is']('$text'))return _0x4cd61f['data'];{const _0x258425=_0x4cd61f;return{'type':Object['keys'](T)['find'](_0x38313d=>_0x4cd61f instanceof T[_0x38313d]),'name':_0x258425['name'],'attributes':Array['from'](_0x258425['getAttributes']()),'children':Array['from'](_0x258425['getChildren']())['map'](_0x344153=>this['_getViewJson'](_0x344153))};}}['_markChanges'](_0x2484c7,_0x27f3df,_0x2ccd42,_0x1e3305,_0x1d9521){let _0x3877fa=null,_0x1a6736=null,_0x118674=0x0;const _0x3326af=this['editor']['model'];for(let _0x229a94=0x0;_0x229a94<_0x27f3df['length'];_0x229a94++){const _0x435bc9=this['_getVidAttributeName'](_0x27f3df[_0x229a94]),_0x5a6142=_0x27f3df[_0x229a94]['item']['getAttribute'](_0x435bc9),_0x1bc1a6=_0x2ccd42['get'](_0x5a6142),_0x148e5f=_0x229a94==_0x27f3df['length']-0x1;(!_0x3877fa&&_0x1bc1a6&&(_0x3877fa=_0x1bc1a6,_0x1a6736=_0x27f3df[_0x229a94]),_0x3877fa&&(!_0x1bc1a6||_0x1bc1a6['userId']!=_0x3877fa['userId']))&&(_0x2ca970(_0x1bc1a6,L(_0x1a6736,_0x2484c7,_0x3326af),L(_0x27f3df[_0x229a94],_0x2484c7,_0x3326af)),_0x3877fa=_0x1bc1a6||null,_0x1a6736=_0x1bc1a6?_0x27f3df[_0x229a94]:null),_0x3877fa&&_0x148e5f&&_0x2ca970(_0x1bc1a6,L(_0x1a6736,_0x2484c7,_0x3326af),W(_0x27f3df[_0x229a94],_0x2484c7,_0x3326af));}function _0x2ca970(_0x5c15d8,_0x106294,_0x403fbd){const _0x309862=_0x3877fa['userId'],_0x476d6a='revision:'+_0x1e3305+':'+_0x309862+':'+_0x118674++,_0x35efe6=_0x3326af['createRange'](_0x106294,_0x403fbd);_0x2484c7['markers']['set'](_0x476d6a,_0x35efe6),null!==_0x309862&&_0x1d9521['add'](_0x309862);}}['_getVidAttributeName'](_0x511ec2){switch(_0x511ec2['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x300c68,_0x399b22){_0x300c68['baseVersion']=null;for(const _0x26a17f in _0x300c68){const _0x47bb97=_0x300c68[_0x26a17f];if(_0x47bb97 instanceof gt){const _0x314e16=_0x399b22['get'](_0x47bb97['root']['rootName']);_0x300c68[_0x26a17f]=this['_fixPosition'](_0x47bb97,_0x314e16);}if(_0x47bb97 instanceof vt){const _0x4e579b=_0x399b22['get'](_0x47bb97['root']['rootName']);_0x300c68[_0x26a17f]=this['_fixRange'](_0x47bb97,_0x4e579b);}'root'===_0x26a17f&&(_0x300c68['root']=_0x399b22['get'](_0x300c68['root']['rootName']));}}['_fixRange'](_0x148682,_0x20b051){return this['editor']['model']['createRange'](this['_fixPosition'](_0x148682['start'],_0x20b051),this['_fixPosition'](_0x148682['end'],_0x20b051));}['_fixPosition'](_0x40a3f4,_0x599fde){return this['editor']['model']['createPositionFromPath'](_0x599fde,_0x40a3f4['path'],_0x40a3f4['stickiness']);}['_handleInsertOperation'](_0x257d44){const _0xb96842=this['_idsRoots']['get'](_0x257d44['position']['root']['rootName']),_0x23bf96=this['_fixPosition'](_0x257d44['position'],_0xb96842),_0x95fe20=null===_0x257d44['_authorId']?null:_0x257d44['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3f07ca=_0x23bf96['parent'],_0x1dc6f2=this['_revisionId'],_0x3bcb68=[];for(const _0x4b9a86 of _0x257d44['nodes'])if(_0x4b9a86['is']('element'))_0x3bcb68['push'](this['_makeIdsRoot'](_0x4b9a86));else{for(let _0x388092=0x0;_0x388092<_0x4b9a86['offsetSize'];_0x388092++)_0x3bcb68['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x5e9130=this['_revisionId'];for(let _0x4711b2=_0x1dc6f2;_0x4711b2<_0x5e9130;_0x4711b2++)this['_touched']['set'](_0x4711b2,{'userId':_0x95fe20});_0x3f07ca['_insertChild'](_0x23bf96['offset'],_0x3bcb68);}['_handleMoveOperation'](_0xccb591){(_0xccb591=this['_cloneOperation'](_0xccb591,this['_idsRoots']))['_execute']();const _0x2c530b=null===_0xccb591['_authorId']?null:_0xccb591['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1370c0=_0xccb591['getMovedRangeStart'](),_0x24084d=_0x1370c0['parent'],_0x1cf3d8=_0x1370c0['offset'];!function _0x5576d5(_0x53ef82,_0x10d19d,_0x23cab5,_0x1befb1){for(let _0x4c50b8=_0x23cab5;_0x4c50b8<_0x1befb1;_0x4c50b8++){const _0x492cc7=_0x10d19d['getChild'](_0x4c50b8);_0x492cc7['is']('element','$text')?_0x53ef82['set'](_0x492cc7['getAttribute']('vid'),{'userId':_0x2c530b}):(_0x53ef82['set'](_0x492cc7['getAttribute']('vid_start'),{'userId':_0x2c530b}),_0x5576d5(_0x53ef82,_0x492cc7,0x0,_0x492cc7['childCount']),_0x53ef82['set'](_0x492cc7['getAttribute']('vid_end'),{'userId':_0x2c530b}));}}(this['_touched'],_0x24084d,_0x1cf3d8,_0x1cf3d8+_0xccb591['howMany']);}['_handleMergeOperation'](_0xfa335a){const _0x630e38=null===(_0xfa335a=this['_cloneOperation'](_0xfa335a,this['_idsRoots']))['_authorId']?null:_0xfa335a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5a5569=_0xfa335a['targetPosition']['parent'],_0x3f3f60=_0xfa335a['sourcePosition']['parent'],_0x2c69d7=_0x5a5569['getAttribute']('vid_end'),_0xf47bcf=_0x3f3f60['getAttribute']('vid_start');_0x5a5569['_setAttribute']('vid_end',_0x3f3f60['getAttribute']('vid_end')),_0x3f3f60['_setAttribute']('vid_end',_0x2c69d7),this['_touched']['set'](_0xf47bcf,{'userId':_0x630e38}),this['_touched']['set'](_0x2c69d7,{'userId':_0x630e38}),_0xfa335a['_execute']();}['_handleSplitOperation'](_0x539cb2){const _0x4bf383=null===(_0x539cb2=this['_cloneOperation'](_0x539cb2,this['_idsRoots']))['_authorId']?null:_0x539cb2['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x37e5df=_0x539cb2['graveyardPosition'],_0x43fbd1=_0x539cb2['splitPosition']['parent'];_0x539cb2['_execute']();const _0x22ad3d=_0x43fbd1['getAttribute']('vid_end'),_0x5ad8e7=_0x539cb2['insertionPosition']['nodeAfter'];if(_0x37e5df){const _0xb4f33b=_0x5ad8e7['getAttribute']('vid_end'),_0xf7e491=_0x43fbd1['getAttribute']('vid_end');_0x43fbd1['_setAttribute']('vid_end',_0xb4f33b),_0x5ad8e7['_setAttribute']('vid_end',_0xf7e491),this['_touched']['set'](_0x43fbd1['getAttribute']('vid_end'),{'userId':_0x4bf383}),this['_touched']['set'](_0x5ad8e7['getAttribute']('vid_start'),{'userId':_0x4bf383});}else{const _0x1593a7=this['_revisionId']++,_0x34355a=this['_revisionId']++;_0x43fbd1['_setAttribute']('vid_end',_0x1593a7),_0x5ad8e7['_setAttribute']('vid_start',_0x34355a),_0x5ad8e7['_setAttribute']('vid_end',_0x22ad3d),this['_touched']['set'](_0x1593a7,{'userId':_0x4bf383}),this['_touched']['set'](_0x34355a,{'userId':_0x4bf383});}}['_handleMarkerOperation'](_0x562e99){if(!_0x562e99['affectsData'])return;const _0x4e14af=(_0x562e99=this['_cloneOperation'](_0x562e99,this['_diffRoots']))['oldRange']?_0x562e99['oldRange']['root']:null,_0x5cb756=_0x562e99['newRange']?_0x562e99['newRange']['root']:null;_0x4e14af&&this['_markers']['delete'](_0x562e99['name']),_0x5cb756&&this['_markers']['set'](_0x562e99['name'],_0x562e99['newRange']['clone']());const _0x4c4e5a=null===_0x562e99['_authorId']?null:_0x562e99['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x459d37=_0x562e99['name'];if(!this['_touchedMarkers']['has'](_0x459d37))return void this['_touchedMarkers']['set'](_0x459d37,{'range':_0x562e99['oldRange'],'userId':_0x4c4e5a});const _0x158866=this['_touchedMarkers']['get'](_0x459d37),_0x2d5203=_0x158866['range'],_0x5e9ed2=_0x562e99['newRange'];null==_0x2d5203&&null==_0x5e9ed2||_0x2d5203&&_0x5e9ed2&&_0x2d5203['isEqual'](_0x5e9ed2)?this['_touchedMarkers']['delete'](_0x562e99['name']):_0x158866['userId']=_0x4c4e5a;}['_handleRootOperation'](_0x5337a7,_0x287086){this['_diffRoots']['has'](_0x5337a7['rootName'])?this['_diffRoots']['get'](_0x5337a7['rootName'])['_isAttached']=_0x5337a7['isAdd']:(this['_diffRoots']['set'](_0x5337a7['rootName'],G(_0x5337a7['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x5337a7['rootName'],{}),_0x287086&&this['_idsRoots']['set'](_0x5337a7['rootName'],G(_0x5337a7['rootName'],!0x0)));const _0x3b42a3=null===_0x5337a7['_authorId']?null:_0x5337a7['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5214ac=this['_touchedRoots']['get'](_0x5337a7['rootName']);_0x5214ac&&_0x5214ac['userId']===_0x3b42a3?this['_touchedRoots']['delete'](_0x5337a7['rootName']):this['_touchedRoots']['set'](_0x5337a7['rootName'],{'userId':_0x3b42a3,'isAttached':_0x5337a7['isAdd']});}['_handleRootAttributeOperation'](_0x2a045f){const _0x4ae4f1=this['_diffRootsAttributes']['get'](_0x2a045f['root']['rootName']);null===_0x2a045f['newValue']?delete _0x4ae4f1[_0x2a045f['key']]:_0x4ae4f1[_0x2a045f['key']]=_0x2a045f['newValue'];}}function q(_0xf48754){const _0x1d3d25=G(_0xf48754['rootName'],_0xf48754['isAttached']());for(const _0x4a383b of _0xf48754['getChildren']()){const _0x4cc435=_0x4a383b['_clone'](!0x0);_0x1d3d25['_appendChild'](_0x4cc435);}return _0x1d3d25;}function G(_0x12d7e5,_0x1e27ed=!0x0){const _0x135360=new wt();return _0x135360['rootName']=_0x12d7e5,_0x135360['_isAttached']=_0x1e27ed,_0x135360['isAttached']=()=>_0x135360['_isAttached'],_0x135360;}function L(_0x124865,_0x501588,_0x33fe0a){const _0x43f9a1='elementEnd'==_0x124865['type']?_0x33fe0a['createPositionAt'](_0x124865['item'],'end'):_0x33fe0a['createPositionBefore'](_0x124865['item']);return _0x33fe0a['createPositionFromPath'](_0x501588,_0x43f9a1['path'],_0x43f9a1['stickiness']);}function W(_0x46ed5,_0x5d8477,_0x4cbef5){const _0x5e2bce='elementStart'==_0x46ed5['type']?_0x4cbef5['createPositionAt'](_0x46ed5['item'],0x0):_0x4cbef5['createPositionAfter'](_0x46ed5['item']);return _0x4cbef5['createPositionFromPath'](_0x5d8477,_0x5e2bce['path'],_0x5e2bce['stickiness']);}class hs extends ts{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x15597b,_0x1f670d){super(_0x15597b),this['focusTracker']=new _0x450e3a(),this['keystrokes']=new _0x5af699(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x1f670d),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),_0x35c2f1(this);}['render'](){super['render'](),_0x4a8858({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0xe2ae78=_0x2cc0df=>_0x2cc0df['stopPropagation']();this['keystrokes']['set']('arrowright',_0xe2ae78),this['keystrokes']['set']('arrowleft',_0xe2ae78),this['keystrokes']['set']('arrowup',_0xe2ae78),this['keystrokes']['set']('arrowdown',_0xe2ae78);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x21fa90){this['revisionNameInputView']['fieldView']['element']['value']=_0x21fa90['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x63a747){const _0x4cf1cb=new _0x4fedc3(this['locale'],_0x325628),_0x5427a4=_0x4cf1cb['fieldView'];_0x5427a4['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x156f05=w(this['locale'],'Name\x20of\x20the\x20revision');return!_0x63a747&&(_0x156f05+='\x20('+w(this['locale'],'optional')+')'),(_0x4cf1cb['label']=_0x156f05,_0x5427a4['on']('input',()=>{this['revisionNameInputValue']=_0x5427a4['element']['value']['trim']();}),_0x4cf1cb);}}class u extends _0x55c2ea{static get['pluginName'](){return'RevisionHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x1b5501=this['editor'],_0xd5e536=_0x1b5501['plugins']['get']('RevisionTracker');_0x1b5501['ui']['componentFactory']['add']('revisionHistory',_0x3702cf=>{const _0xa28def=_0x4a55a0(_0x3702cf),_0x46198f=_0xa28def['panelView']['children'],_0x277849=new _0x29b029(_0x3702cf),_0x1ba0d7=new _0x2a6157(_0x3702cf),_0x54436d=new te(_0x3702cf),_0x1a505b=new _0x2a6157(_0x3702cf),_0x4b0508=new te(_0x3702cf);return _0xa28def['bind']('isEnabled')['to'](_0xd5e536,'isReady',_0xd5e536,'isEnabled',_0x1b5501,'isReadOnly',(_0x198f39,_0x49e16f,_0x24f46f)=>_0x198f39&&_0x49e16f&&!_0x24f46f),_0xa28def['buttonView']['set']({'icon':_0x4a84f1['history'],'label':w(_0x3702cf,'Revision\x20history'),'tooltip':!0x0}),_0x54436d['set']({'label':w(_0x3702cf,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x54436d['bind']('isEnabled')['to'](_0xd5e536,'isReady',_0xd5e536,'isEnabled',_0x1b5501,'isReadOnly',(_0x19ae96,_0x1e8eb6,_0x368ad8)=>_0x19ae96&&_0x1e8eb6&&!_0x368ad8),_0x54436d['on']('execute',()=>this['_showDialog']()),_0x4b0508['set']({'label':w(_0x3702cf,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x4b0508['bind']('isEnabled')['to'](_0xd5e536,'isReady',_0x1b5501,'isReadOnly',(_0x586e37,_0x591d34)=>_0x586e37&&!_0x591d34),_0x4b0508['on']('execute',()=>{_0x1b5501['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0xa28def['isOpen']=!0x1,_0x1b5501['editing']['view']['focus']();}),_0x1ba0d7['children']['add'](_0x54436d),_0x1a505b['children']['add'](_0x4b0508),_0x277849['role']='menu',_0x277849['items']['addMany']([_0x1ba0d7,_0x1a505b]),_0x46198f['add'](_0x277849),_0xa28def;}),_0x1b5501['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x329b1d=this['editor'],_0x168005=_0x329b1d['locale'],_0x3b743e=new _0x297758(_0x168005),_0x4e5977=new _0x107e8c(_0x168005);_0x3b743e['buttonView']['set']({'icon':_0x4a84f1['history'],'label':w(_0x168005,'Revision\x20history')});const _0x47122d=new _0xfb9879(_0x168005,_0x3b743e),_0x2876b7=new _0xbdd781(_0x168005);_0x2876b7['set']({'label':w(_0x168005,'Save\x20current\x20revision')}),_0x2876b7['delegate']('execute')['to'](_0x3b743e),_0x2876b7['on']('execute',()=>{this['_showDialog']();}),_0x47122d['children']['add'](_0x2876b7),_0x4e5977['items']['add'](_0x47122d);const _0x303383=new _0xfb9879(_0x168005,_0x3b743e),_0x1c7c62=new _0xbdd781(_0x168005);return _0x1c7c62['set']({'label':w(_0x168005,'Open\x20revision\x20history')}),_0x1c7c62['delegate']('execute')['to'](_0x3b743e),_0x1c7c62['on']('execute',()=>{_0x329b1d['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x303383['children']['add'](_0x1c7c62),_0x4e5977['items']['add'](_0x303383),_0x3b743e['panelView']['children']['add'](_0x4e5977),_0x3b743e;}['_showDialog'](){const _0x478dc6=this['editor'],_0x31b1bf=_0x478dc6['locale'],_0x1c1167=_0x478dc6['plugins']['get']('Dialog'),_0x163ede=_0x478dc6['plugins']['get']('RevisionTracker');function _0x313320(_0x57caa3){_0x478dc6['config']['get']('revisionHistory.requireRevisionName')&&''===_0x57caa3['revisionName']?_0x57caa3['revisionNameInputView']['errorText']=w(_0x31b1bf,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x478dc6['plugins']['get'](l)['saveRevision']({'name':_0x57caa3['revisionName']}),_0x1c1167['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x313320(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x1c1167['show']({'id':'revisionSave','title':w(_0x31b1bf,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':w(_0x478dc6['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x1c1167['hide']()},{'label':w(_0x478dc6['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x17e880){_0x17e880['bind']('isEnabled')['to'](_0x163ede,'isReady',_0x163ede,'isEnabled',_0x478dc6,'isReadOnly',(_0x546573,_0x5d00d1,_0x1750c6)=>_0x546573&&_0x5d00d1&&!_0x1750c6);},'onExecute':()=>_0x313320(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x4e66f7=this['editor'],_0x4b671b=_0x4e66f7['locale'];this['_saveRevisionFormView']=new hs(_0x4b671b,_0x4e66f7['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends ts{['changeId'];['_model'];constructor(_0x5ab54d,_0x42b339){super(_0x5ab54d),this['_model']=_0x42b339,this['changeId']=_0x42b339['id'];const _0x668bb8=this['bindTemplate'],_0x224acf=w(_0x5ab54d,_0x42b339['data']['isSuggestion']?'Suggested\x20by':'add'==_0x42b339['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x42b339['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x668bb8['to']('type',_0x39f89d=>'ck-revision-change__'+_0x39f89d)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x224acf}]},{'text':'\x20'+_0x42b339['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x57213c(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x6ef02c){super(),this['id']=_0x6ef02c['id']||_0x309ab9(),this['author']=_0x6ef02c['author'],this['type']=_0x6ef02c['type'],this['data']=_0x6ef02c['data']||{},this['rootName']=_0x6ef02c['rootName'],this['set']('createdAt',_0x6ef02c['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(_0x15ce08,_0x2074f2){this['newRevisionId']=_0x15ce08,this['oldRevisionId']=_0x2074f2,this['changes']=new _0x15679c();}['_setChanges'](_0x3c99f8){for(const _0x23ea7a of _0x3c99f8)this['changes']['add'](_0x23ea7a);}}const tt={'c':_0x245b3b,'a':_0x1328ee,'e':_0x2ed5ac,'r':_0x25a50f,'u':_0x401e44};class d extends _0x55c2ea{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x9adf1f,_0x2bd836,A];}constructor(_0x3e702c){super(_0x3e702c),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',(_0x151613,_0x17b60f,_0x24e860)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x141be9=>{for(const _0x4f7943 of this['editor']['editing']['view']['document']['roots'])_0x24e860?_0x141be9['removeClass']('ck-editor__editable__overlay',_0x4f7943):_0x141be9['addClass']('ck-editor__editable__overlay',_0x4f7943);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0xd25de3=>null!==_0xd25de3),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x368a5b,_0x498d75,_0x1df322)=>_0x368a5b&&_0x1df322?_0x498d75['changes']['getIndex'](_0x1df322):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x1f8636,_0xc2ab26)=>_0x1f8636?_0xc2ab26['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x2bd836);}['init'](){const _0x5688c7=this['editor'],_0x49de61=new bt(_0x5688c7,{'direction':'backward'}),_0x2bf3ee=new bt(_0x5688c7,{'direction':'forward'});(_0x5688c7['commands']['add']('showPreviousChange',_0x49de61),_0x5688c7['commands']['add']('showNextChange',_0x2bf3ee),_0x5688c7['commands']['add']('restoreRevision',new yt(_0x5688c7)),this['on']('change:numberOfChanges',()=>{_0x49de61['refresh'](),_0x2bf3ee['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x5688c7['enableReadOnlyMode']('revision-viewer'),_0x5688c7['plugins']['has']('WidgetToolbarRepository'))&&_0x5688c7['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0xc13918){await this['loadRevisionData'](_0xc13918);const _0x116270={};for(const _0x5dc5cd in _0xc13918['diffData']){if(_0xc13918['diffData'][_0x5dc5cd]['attachChange']&&!_0xc13918['diffData'][_0x5dc5cd]['attachChange']['isAttached'])continue;const _0x45c6d6=this['_removeRevisionMarkers'](JSON['parse'](_0xc13918['diffData'][_0x5dc5cd]['insertions'])),_0x522ac4=this['editor']['editing']['view']['document'],_0x4e8a84=new _0x49b22b(_0x522ac4,_0x45c6d6['map'](_0x3121c2=>this['_getViewObj'](_0x3121c2)));this['editor']['data']['processor']['useFillerType']('marked'),_0x116270[_0x5dc5cd]=this['editor']['data']['processor']['toData'](_0x4e8a84),this['editor']['data']['processor']['useFillerType']('default');}return _0x116270;}async['getRevisionRootsAttributes'](_0x1eda79){await this['loadRevisionData'](_0x1eda79);const _0x218865={};for(const _0x55de25 in _0x1eda79['diffData'])_0x1eda79['diffData'][_0x55de25]['attachChange']&&!_0x1eda79['diffData'][_0x55de25]['attachChange']['isAttached']||(_0x218865[_0x55de25]=_0x1eda79['diffData'][_0x55de25]['attributesAfter']||{});return _0x218865;}['_removeRevisionMarkers'](_0x4e91a5){return(_0x4e91a5=_0x4e91a5['filter'](_0x3054b5=>!_0x3054b5['name']||'revision-start'!==_0x3054b5['name']&&'revision-end'!==_0x3054b5['name']))['forEach'](_0xfdc49=>{'string'!=typeof _0xfdc49&&(_0xfdc49['children']=this['_removeRevisionMarkers'](_0xfdc49['children']),_0xfdc49['attributes']=_0xfdc49['attributes']['filter'](_0x150d4f=>!_0x150d4f[0x0]['startsWith']('data-revision-')));}),_0x4e91a5;}async['compare'](_0x130c47,_0x3ee1ca,_0x14ce71=!0x1){if(!this['isEnabled'])return;const _0x1a2f8f=this['diff'],_0x13272d=this['repository'],_0x19e239='string'==typeof _0x130c47?_0x13272d['getRevision'](_0x130c47):_0x130c47,_0x3562f4='string'==typeof _0x3ee1ca?_0x13272d['getRevision'](_0x3ee1ca):_0x3ee1ca,_0x47a495=_0x19e239['id'],_0x4181f9=_0x3562f4?_0x3562f4['id']:null;if(!_0x14ce71&&this['diff']&&this['diff']['newRevisionId']===_0x47a495&&this['diff']['oldRevisionId']===_0x4181f9)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x47a495,_0x4181f9);const _0x20bc6c=this['_getRevisionsRange'](_0x19e239,_0x3562f4,!0x0)['map'](_0x6a1fb9=>this['loadRevisionData'](_0x6a1fb9));return _0x20bc6c['push'](new Promise(_0x4f8d2d=>{setTimeout(_0x4f8d2d,0x14);})),Promise['all'](_0x20bc6c)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x5ec6e5=this['_getDiff'](_0x47a495,_0x4181f9);for(const _0x3160c3 of _0x5ec6e5['changes'])this['_changeIdToChange']['set'](_0x3160c3['id'],_0x3160c3);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x517b1b=>{for(const _0x185f97 of this['editor']['model']['document']['getRootNames']())_0x517b1b['detachRoot'](_0x185f97);for(const _0x5bdc71 of Object['keys'](_0x5ec6e5['model'])){const _0x111a4a=_0x517b1b['addRoot'](_0x5bdc71);for(const _0x5c78da of Object['keys'](_0x5ec6e5['attributes'][_0x5bdc71]))_0x517b1b['setAttribute'](_0x5c78da,_0x5ec6e5['attributes'][_0x5bdc71][_0x5c78da],_0x111a4a);_0x517b1b['insert'](_0x5ec6e5['model'][_0x5bdc71],_0x111a4a,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x5ec6e5['changes'])),this['isReady']=!0x0;})['catch'](_0x1f659d=>{console['error'](_0x1f659d),this['_cleanUp'](),_0x1a2f8f&&(this['diff']=_0x1a2f8f),this['isReady']=!0x0;});}['addRevisionData'](_0x36e4cc,_0xce66eb){const _0x38228b=this['repository']['createRevision'](_0x36e4cc);return _0x38228b['on']('_update',(_0x312bff,_0x51af14,_0x58be33)=>_0xce66eb(_0x51af14,_0x58be33,_0x38228b)),this['repository']['addRevision'](_0x38228b),_0x38228b;}['loadRevisionData'](_0x4b8326){if(!_0x4b8326||_0x4b8326['diffData'])return Promise['resolve']();{const _0x315fac=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x315fac,'revisionId':_0x4b8326['id']})['then'](_0x5bb602=>{_0x4b8326['_update']({'diffData':_0x5bb602['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},_0x3f492f=>{for(const _0x10aa18 of this['editor']['model']['document']['getRootNames']())_0x3f492f['detachRoot'](_0x10aa18);});}['_sortAndFilterDiffChanges'](_0x5db321){const _0x5a14cf=[],_0x2dae21=new Map();for(const _0x2628a3 of this['editor']['model']['document']['getRootNames']()){const _0x38bf53=this['editor']['editing']['view']['getDomRoot'](_0x2628a3);if(!_0x38bf53)continue;const _0x1111e0=_0x38bf53['getClientRects']()['item'](0x0);_0x1111e0&&(_0x5a14cf['push'](_0x2628a3),_0x2dae21['set'](_0x2628a3,_0x1111e0));}return _0x5a14cf['sort']((_0x5de3bd,_0x524223)=>{const _0x211aa5=_0x2dae21['get'](_0x5de3bd),_0x30a2e9=_0x2dae21['get'](_0x524223);return _0x211aa5['y']-_0x30a2e9['y']||_0x211aa5['x']-_0x30a2e9['x'];}),(_0x5db321=_0x5db321['filter'](_0x50f867=>_0x5a14cf['includes'](_0x50f867['rootName'])))['sort']((_0x5730b3,_0x58105a)=>_0x5a14cf['indexOf'](_0x5730b3['rootName'])-_0x5a14cf['indexOf'](_0x58105a['rootName'])),_0x5db321;}['_makeTape'](_0x2a0626){const _0x9a8f89=Array['from'](_0x2a0626['markers'])['filter'](([_0x50e623,_0x61c0fe])=>_0x50e623['startsWith']('revision:')&&!_0x61c0fe['isCollapsed']),_0x292115=Array['from'](this['editor']['model']['createRangeIn'](_0x2a0626)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x9a8f89['length'])for(const _0x42e453 of _0x292115){const [_0x119297,_0x1d40af]=_0x9a8f89[0x0],[,_0x3d2775,_0x40512c]=_0x119297['split'](':');if(_0x1d40af['end']['isEqual'](_0x42e453['nextPosition'])&&_0x9a8f89['shift'](),(_0x42e453['previousPosition']['isEqual'](_0x1d40af['start'])||_0x42e453['previousPosition']['isAfter'](_0x1d40af['start']))&&('insertion'==_0x3d2775?_0x42e453['isAdded']={'userId':_0x40512c}:'deletion'==_0x3d2775&&(_0x42e453['isRemoved']={'userId':_0x40512c})),0x0==_0x9a8f89['length'])break;}return _0x292115;}['_refreshStartEndIndex'](_0x687726){const _0x4925ac=new Map();for(let _0x4a1eab=0x0;_0x4a1eab<_0x687726['length'];_0x4a1eab++)'text'===_0x687726[_0x4a1eab]['type']?(_0x687726[_0x4a1eab]['item']['startIndex']=_0x4a1eab,_0x687726[_0x4a1eab]['item']['endIndex']=_0x4a1eab):('elementStart'===_0x687726[_0x4a1eab]['type']?_0x687726[_0x4a1eab]['item']['startIndex']=_0x4a1eab:'elementEnd'===_0x687726[_0x4a1eab]['type']&&(_0x687726[_0x4a1eab]['item']['endIndex']=_0x4a1eab),_0x4925ac['set'](_0x687726[_0x4a1eab]['id'],_0x4a1eab));for(const _0x71e39e of _0x4925ac['values']())'elementStart'===_0x687726[_0x71e39e]['type']?_0x687726[_0x71e39e]['item']['endIndex']=_0x4925ac['get'](_0x687726[_0x71e39e]['pairId']):'elementEnd'===_0x687726[_0x71e39e]['type']&&(_0x687726[_0x71e39e]['item']['startIndex']=_0x4925ac['get'](_0x687726[_0x71e39e]['pairId']));}['_processTape'](_0x403ed6){for(let _0x18e666=0x0;_0x18e666<_0x403ed6['length'];_0x18e666++){if('elementStart'===_0x403ed6[_0x18e666]['type'])_0x403ed6[_0x18e666]['item']['startIndex']=_0x18e666;else{if('elementEnd'===_0x403ed6[_0x18e666]['type']){_0x403ed6[_0x18e666]['item']['endIndex']=_0x18e666;const _0x1df5e6=_0x403ed6[_0x18e666]['item']['startIndex'];_0x403ed6[_0x1df5e6]['pairId']=_0x403ed6[_0x18e666]['id'],_0x403ed6[_0x18e666]['pairId']=_0x403ed6[_0x1df5e6]['id'];}else _0x403ed6[_0x18e666]['item']['startIndex']=_0x18e666,_0x403ed6[_0x18e666]['item']['endIndex']=_0x18e666,_0x403ed6[_0x18e666]['pairId']=null;}_0x403ed6[_0x18e666]['markersStart']||(_0x403ed6[_0x18e666]['markersStart']=[],_0x403ed6[_0x18e666]['markersEnd']=[]);}}['_markInsertions'](_0x1d0022,_0x2a56f9){const _0x34e6b2=_0x1d0022['filter'](_0x1f8428=>!_0x1f8428['isAdded']);for(let _0x5cb212=0x0;_0x5cb212<_0x2a56f9['length'];_0x5cb212++)_0x2a56f9[_0x5cb212]['isAdded']&&(_0x34e6b2[_0x5cb212]['isAdded']=_0x2a56f9[_0x5cb212]['isAdded']);}['_makeModelFromViewString'](_0x1552ce){const _0x277bbc=JSON['parse'](_0x1552ce),_0x1b7e3b=this['editor']['editing']['view']['document'],_0x1d0438=new _0x49b22b(_0x1b7e3b,_0x277bbc['map'](_0x2e8203=>this['_getViewObj'](_0x2e8203)));return this['editor']['data']['toModel'](_0x1d0438);}['_getViewObj'](_0x560bab){const _0x59536f=this['editor']['editing']['view']['document'];if('string'==typeof _0x560bab)return new _0x37d2e1(_0x59536f,_0x560bab);{const _0x3dee30=_0x560bab['children']['map'](_0x3f8a38=>this['_getViewObj'](_0x3f8a38));return new(tt[_0x560bab['type']]||_0x11da4a)(_0x59536f,_0x560bab['name'],_0x560bab['attributes'],_0x3dee30);}}['_getDiff'](_0x410b93,_0xbed858=null){const _0x4f609d=this['repository']['getRevision'](_0x410b93),_0x348311=_0xbed858?this['repository']['getRevision'](_0xbed858):null,_0x4b849e=this['_getRevisionsRange'](_0x4f609d,_0x348311),_0xf282f1=_0x4b849e[_0x4b849e['length']-0x1],_0x320dfc=new Map(),_0x2d5d86={'model':{},'attributes':{},'changes':[]},_0xe9d9ae=new Set(),_0x4f588a=new Map();for(let _0x40efc5=_0x4b849e['length']-0x1;_0x40efc5>=0x0;_0x40efc5--){const _0x5c53d4=_0x4b849e[_0x40efc5];for(const _0x5eb1a7 of Object['keys'](_0x5c53d4['diffData']))if(_0x5c53d4['diffData'][_0x5eb1a7]['attachChange']){const _0x1e9e46=_0x5c53d4['diffData'][_0x5eb1a7]['attachChange'];_0x1e9e46['isAttached']?(_0xe9d9ae['add'](_0x5eb1a7),_0x4f588a['has'](_0x5eb1a7)&&_0x4f588a['get'](_0x5eb1a7)['userId']==_0x1e9e46['userId']?_0x4f588a['delete'](_0x5eb1a7):_0x4f588a['set'](_0x5eb1a7,_0x1e9e46)):_0x4f588a['has'](_0x5eb1a7)?(_0xe9d9ae['delete'](_0x5eb1a7),_0x4f588a['delete'](_0x5eb1a7)):(_0xe9d9ae['add'](_0x5eb1a7),_0x4f588a['set'](_0x5eb1a7,_0x1e9e46));}else _0xe9d9ae['add'](_0x5eb1a7);}for(const _0x304663 of _0xe9d9ae){const _0x5e7384=_0x4f588a['has'](_0x304663)&&!_0x4f588a['get'](_0x304663)['isAttached'];let _0x1723ab=_0x5e7384?_0x4b849e['length']-0x1:0x0;const _0x4f6f0b=_0x5e7384?-0x1:0x1;for(;_0x4b849e[_0x1723ab];){const _0x44faea=_0x4b849e[_0x1723ab];if(_0x44faea['diffData'][_0x304663]){const _0x4bf91d=_0x5e7384?_0x44faea['diffData'][_0x304663]['attributesBefore']:_0x44faea['diffData'][_0x304663]['attributesAfter'];_0x2d5d86['attributes'][_0x304663]=_0x4bf91d?_0x3479a4(_0x4bf91d):{};break;}_0x1723ab+=_0x4f6f0b;}}for(const _0x1bb677 of _0x4b849e){_0x1bb677['model']={};for(const _0x2ab7ba of _0x1bb677['authors'])_0x320dfc['set'](_0x2ab7ba['id'],_0x2ab7ba);for(const _0x59981e of _0xe9d9ae){const _0x54550f=_0x1bb677['diffData'][_0x59981e]?_0x1bb677['diffData'][_0x59981e]['insertions']:'[]',_0x502b1f=_0x1bb677['diffData'][_0x59981e]?_0x1bb677['diffData'][_0x59981e]['deletions']:'[]';_0x1bb677['model'][_0x59981e]={'insertions':this['_makeModelFromViewString'](_0x54550f),'deletions':this['_makeModelFromViewString'](_0x502b1f)};}}for(const _0x1b35a3 of _0xe9d9ae){let _0x31bccd=null,_0x2b6b2e=0x0;const _0x1e73fe=new Map(Array['from'](_0x4f609d['model'][_0x1b35a3]['insertions']['markers'])['filter'](([_0x7cac4b])=>!_0x7cac4b['startsWith']('revision:')));let _0x58fe4e=0x0;for(const _0x427cbe of _0x4b849e){const _0x56a55e=this['_makeTape'](_0x427cbe['model'][_0x1b35a3]['insertions']);_0x427cbe==_0x4f609d?(_0x31bccd=_0x56a55e,_0x2b6b2e=_0x31bccd['length'],_0x31bccd['forEach'](_0x1a4315=>{_0x1a4315['id']=_0x58fe4e++;}),this['_processTape'](_0x31bccd)):this['_markInsertions'](_0x31bccd,_0x56a55e);const _0x28ef1b=_0x31bccd['filter'](_0x31643b=>!_0x31643b['isAdded'])['map'](_0x29c6db=>_0x29c6db['id']);let _0x381b85=0x0;const _0x2709dd=this['_makeTape'](_0x427cbe['model'][_0x1b35a3]['deletions']);_0x2709dd['forEach'](_0x224b85=>{_0x224b85['isRemoved']?_0x224b85['id']=_0x2b6b2e++:_0x224b85['id']=_0x28ef1b[_0x381b85++];}),this['_processTape'](_0x2709dd),this['_setDistance'](_0x31bccd,'isAdded'),this['_setDistance'](_0x2709dd,'isRemoved'),_0x427cbe==_0x4f609d&&this['_markMarkers'](_0x31bccd,_0x1e73fe),_0x31bccd=this['_joinTapes'](_0x31bccd,_0x2709dd),this['_refreshStartEndIndex'](_0x31bccd),this['_setDistance'](_0x31bccd,'isRemoved');}_0x31bccd=_0x31bccd['filter'](_0x838d9d=>!(_0x838d9d['isAdded']&&_0x838d9d['isRemoved']));const _0x3fd885=new Map(_0xf282f1['model'][_0x1b35a3]['deletions']['markers']),_0x489663=new Set(_0x1e73fe['keys']());for(const _0x599159 of _0x3fd885['keys']())_0x489663['delete'](_0x599159);this['_markSuggestions'](_0x31bccd,_0x489663),this['_fixObsoleteTags'](_0x31bccd),_0x31bccd=this['_removeMissingPairs'](_0x31bccd),_0x31bccd=this['_markMismatchedRemovedTags'](_0x31bccd),_0x31bccd=this['_removeUnsupportedChanges'](_0x31bccd);const {root:_0x5ce294,changes:_0x356b6c}=this['_makeModelFromTape'](_0x31bccd,_0x320dfc,_0x1b35a3);_0x2d5d86['model'][_0x1b35a3]=_0x5ce294;const _0x533f01=_0x4f588a['get'](_0x1b35a3);if(_0x533f01){const _0x30469f=_0x320dfc['get'](_0x533f01['userId']),_0x9da67d=new r({'author':_0x30469f,'type':_0x533f01['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x1b35a3});_0x356b6c['unshift'](_0x9da67d),_0x2d5d86['attributes'][_0x1b35a3]['revisionHistoryAttachChange']=_0x9da67d['id'];}_0x2d5d86['changes']=_0x2d5d86['changes']['concat'](_0x356b6c);}return _0x2d5d86;}['_markMarkers'](_0x517106,_0x57b160){for(let _0x1cd955=0x0;_0x1cd955<_0x517106['length'];_0x1cd955++)for(const [_0x225017,_0x2a7098]of _0x57b160)_0x2a7098['start']['isEqual'](_0x517106[_0x1cd955]['previousPosition'])&&_0x517106[_0x1cd955]['markersStart']['push'](_0x225017),_0x2a7098['end']['isEqual'](_0x517106[_0x1cd955]['nextPosition'])&&_0x517106[_0x1cd955]['markersEnd']['push'](_0x225017);}['_joinTapes'](_0x467c40,_0x4346b9){let _0x16717d=[],_0x2d4a17=0x0,_0x3f11af=0x0;for(;_0x2d4a17<_0x467c40['length']||_0x3f11af<_0x4346b9['length'];){const _0x17dc22=_0x467c40[_0x2d4a17]||{},_0x42ff26=_0x4346b9[_0x3f11af]||{};if(_0x17dc22['id']==_0x42ff26['id'])_0x2d4a17++,_0x3f11af++,_0x16717d['push'](_0x17dc22);else{if(_0x42ff26['isRemoved']&&_0x17dc22['isAdded']){const {commonTape:_0xd1ee32,iEnd:_0x21d9c0,jEnd:_0x50b812}=this['_threeWayMerge'](_0x467c40,_0x2d4a17,_0x4346b9,_0x3f11af);_0x16717d=_0x16717d['concat'](_0xd1ee32),_0x2d4a17=_0x21d9c0,_0x3f11af=_0x50b812;}else _0x42ff26['isRemoved']?(_0x3f11af++,_0x16717d['push'](_0x42ff26)):(_0x2d4a17++,_0x16717d['push'](_0x17dc22));}}return _0x16717d;}['_markSuggestions'](_0x54c5f0,_0x167faf){const _0x34f439=[];for(let _0x549e1a=0x0;_0x549e1a<_0x54c5f0['length'];_0x549e1a++){for(let _0x1a1f83=0x0;_0x1a1f83<_0x54c5f0[_0x549e1a]['markersStart']['length'];_0x1a1f83++){const _0x43693a=_0x54c5f0[_0x549e1a]['markersStart'][_0x1a1f83];if(!_0x167faf['has'](_0x43693a))continue;const {group:_0x4430de,type:_0x154e3f,authorId:_0x508abe}=_0x15f821(_0x43693a);'revision-suggestion'!=_0x4430de||'insertion'!=_0x154e3f&&'deletion'!=_0x154e3f||(_0x34f439['unshift']({'type':_0x154e3f,'name':_0x43693a,'userId':_0x508abe}),_0x54c5f0[_0x549e1a]['markersStart']['splice'](_0x1a1f83,0x1),_0x1a1f83--);}_0x1bb2e6(_0x54c5f0[_0x549e1a]);for(let _0x2499e9=0x0;_0x2499e9<_0x54c5f0[_0x549e1a]['markersEnd']['length'];_0x2499e9++){const _0x559bcc=_0x54c5f0[_0x549e1a]['markersEnd'][_0x2499e9];if(!_0x167faf['has'](_0x559bcc))continue;const {group:_0x7ea994,type:_0x1b7692}=_0x15f821(_0x559bcc);if('revision-suggestion'!=_0x7ea994||'insertion'!=_0x1b7692&&'deletion'!=_0x1b7692)continue;_0x54c5f0[_0x549e1a]['markersEnd']['splice'](_0x2499e9,0x1),_0x2499e9--;const _0x48eb90=_0x34f439['findIndex'](_0x3e2839=>_0x3e2839['name']==_0x559bcc);_0x48eb90>-0x1&&_0x34f439['splice'](_0x48eb90,0x1);}}function _0x15f821(_0x199a19){const _0x4ccf7a=_0x199a19['split'](':');return{'group':_0x4ccf7a[0x0],'type':_0x4ccf7a[0x1],'subType':_0x4ccf7a['length']>=0x5?_0x4ccf7a[0x2]:null,'id':_0x4ccf7a['length']<0x5?_0x4ccf7a[0x2]:_0x4ccf7a[0x3],'authorId':_0x4ccf7a['length']<0x5?_0x4ccf7a[0x3]:_0x4ccf7a[0x4],'markerCount':0x6==_0x4ccf7a['length']?_0x4ccf7a[0x5]:null};}function _0x1bb2e6(_0x5d7f0f){for(let _0x2c0dc7=0x0;_0x2c0dc7<_0x34f439['length'];_0x2c0dc7++){if(_0x5d7f0f['isAdded']&&'insertion'==_0x34f439[_0x2c0dc7]['type'])return _0x5d7f0f['isAddSuggestion']=_0x34f439[_0x2c0dc7],void delete _0x5d7f0f['isAdded'];if(!_0x5d7f0f['isAdded']&&!_0x5d7f0f['isRemoved']&&'deletion'==_0x34f439[_0x2c0dc7]['type'])return void(_0x5d7f0f['isRemoveSuggestion']=_0x34f439[_0x2c0dc7]);}}}['_setDistance'](_0x12e503,_0x2a9cfc){let _0x4472a5=0x0,_0x44309d=!0x1;const _0x534c9c=new Map();for(const _0x119ded of _0x12e503)_0x119ded[_0x2a9cfc]?_0x44309d&&(_0x4472a5++,_0x44309d=!0x1):(_0x4472a5++,_0x44309d=!0x0),_0x534c9c['set'](_0x119ded['id'],_0x4472a5);for(let _0x345079=0x0;_0x345079<_0x12e503['length'];_0x345079++){if('isRemoved'==_0x2a9cfc&&_0x12e503[_0x345079]['isAdded']||'isAdded'==_0x2a9cfc&&_0x12e503[_0x345079]['isRemoved'])continue;if('text'==_0x12e503[_0x345079]['type']){_0x12e503[_0x345079]['distance']=0x0;continue;}const _0x20b93b=_0x534c9c['get'](_0x12e503[_0x345079]['pairId']),_0x27932a=_0x534c9c['get'](_0x12e503[_0x345079]['id']);_0x12e503[_0x345079]['distance']=_0x20b93b-_0x27932a;}}['_getRevisionsRange'](_0x57c99e,_0x1712c6,_0x332865=!0x1){const _0x40a9c9=[];let _0x252762=this['repository']['getIndex'](_0x57c99e),_0x43af54=this['repository']['getIndex'](_0x1712c6);for(-0x1==_0x43af54&&(_0x43af54=this['repository']['_revisions']['length'],_0x332865=!0x1);_0x252762<_0x43af54;)_0x40a9c9['push'](this['repository']['getRevision'](_0x252762)),_0x252762++;return _0x332865&&_0x40a9c9['push'](this['repository']['getRevision'](_0x252762)),_0x40a9c9;}['_threeWayMerge'](_0x40ce81,_0x9b47b,_0xbecfdb,_0x45312a){const _0x34554d=this['editor']['model']['schema'];let _0x3dda81=_0x9b47b;for(;_0x40ce81[_0x3dda81]&&_0x40ce81[_0x3dda81]['isAdded'];)_0x3dda81++;let _0x3c556b=_0x45312a;for(;_0xbecfdb[_0x3c556b]&&_0xbecfdb[_0x3c556b]['isRemoved'];)_0x3c556b++;_0x367967(_0x40ce81,_0x9b47b,_0x3dda81),_0x367967(_0xbecfdb,_0x45312a,_0x3c556b);const _0x3174b6=_0xbecfdb['slice'](_0x45312a,_0x3c556b)['concat'](_0x40ce81['slice'](_0x9b47b,_0x3dda81));return _0x3174b6['sort']((_0x519d28,_0x540e6b)=>_0x519d28['side']!=_0x540e6b['side']?_0x519d28['side']-_0x540e6b['side']:_0x519d28['level']!=_0x540e6b['level']?_0x519d28['level']-_0x540e6b['level']:_0x519d28['distance']!=_0x540e6b['distance']?_0x540e6b['distance']-_0x519d28['distance']:!!_0x519d28['isAdded']!=!!_0x540e6b['isAdded']?-0x1==_0x519d28['side']||0x0==_0x519d28['side']?_0x519d28['isAdded']?-0x1:0x1:_0x519d28['isAdded']?0x1:-0x1:_0x519d28['index']-_0x540e6b['index']),{'commonTape':_0x3174b6,'iEnd':_0x3dda81,'jEnd':_0x3c556b};function _0x367967(_0x1e120c,_0x1e6217,_0x412c05){let _0x19df14=-0x1,_0x866b83=Number['POSITIVE_INFINITY'],_0x5d0a01=!0x0;for(let _0x53caf6=_0x1e6217;_0x53caf6<_0x412c05;_0x53caf6++)if(_0x34554d['isInline'](_0x1e120c[_0x53caf6]['item'])||(_0x5d0a01=!0x1),_0x1e120c[_0x53caf6]['item']['startIndex']<_0x1e6217&&(_0x19df14=_0x53caf6),_0x1e120c[_0x53caf6]['item']['endIndex']>=_0x412c05){_0x866b83=_0x53caf6;break;}_0x5d0a01&&(_0x19df14=_0x412c05-0x1);for(let _0x292b1f=_0x1e6217;_0x292b1f<_0x412c05;_0x292b1f++)_0x1e120c[_0x292b1f]['side']=_0x292b1f<=_0x19df14?-0x1:_0x292b1f<_0x866b83?0x0:0x1,_0x1e120c[_0x292b1f]['index']=_0x292b1f;let _0x13a89b=0x0;for(let _0x179379=_0x1e6217;_0x179379<=_0x19df14;_0x179379++)0x0==_0x1e120c[_0x179379]['distance']?_0x1e120c[_0x179379]['level']=_0x13a89b:(_0x13a89b++,_0x1e120c[_0x179379]['level']=_0x13a89b,_0x13a89b++);for(let _0x5e80a7=_0x1e6217;_0x5e80a7<_0x412c05;_0x5e80a7++)0x0==_0x1e120c[_0x5e80a7]['side']&&(_0x1e120c[_0x5e80a7]['level']=_0x13a89b);_0x13a89b=0x0;for(let _0x3b4487=_0x412c05-0x1;_0x3b4487>=_0x866b83;_0x3b4487--)0x0==_0x1e120c[_0x3b4487]['distance']?_0x1e120c[_0x3b4487]['level']=_0x13a89b:(_0x13a89b--,_0x1e120c[_0x3b4487]['level']=_0x13a89b,_0x13a89b--);}}['_fixObsoleteTags'](_0x8112e0){const _0x2390fe=new Map(),_0x577d85=this['editor']['model']['schema'];for(let _0x15b779=0x1;_0x15b779<_0x8112e0['length'];_0x15b779++){let _0xfefefd,_0x511d45,_0x69fc83;const _0x47c459=_0x8112e0[_0x15b779],_0x39acc0=_0x8112e0[_0x15b779-0x1];if('text'==_0x47c459['type'])continue;if(_0x47c459['type']!=_0x39acc0['type'])continue;if(!_0x577d85['isBlock'](_0x39acc0['item'])||_0x577d85['isLimit'](_0x39acc0['item']))continue;if(!_0x577d85['isBlock'](_0x47c459['item'])||_0x577d85['isLimit'](_0x47c459['item']))continue;if((_0x8112e0[_0x15b779]['isAdded']||_0x8112e0[_0x15b779]['isAddSuggestion'])&&_0x8112e0[_0x15b779-0x1]['isRemoved'])_0xfefefd=_0x8112e0[_0x15b779],_0x511d45=_0x8112e0[_0x15b779-0x1],_0x69fc83=_0x15b779-0x1;else{if(!_0x8112e0[_0x15b779]['isRemoved']||!_0x8112e0[_0x15b779-0x1]['isAdded']&&!_0x8112e0[_0x15b779-0x1]['isAddSuggestion'])continue;_0xfefefd=_0x8112e0[_0x15b779-0x1],_0x511d45=_0x8112e0[_0x15b779],_0x69fc83=_0x15b779;}const _0x9c0594=_0xfefefd['level']==_0x511d45['level'],_0xb82328=Math['abs'](_0xfefefd['level'])<Math['abs'](_0x511d45['level'])&&0x0==_0x511d45['distance'];(_0x9c0594||_0xb82328)&&(_0x2390fe['set'](_0x511d45['id'],_0xfefefd['id']),_0x8112e0['splice'](_0x69fc83,0x1),_0x15b779--,_0xfefefd['isAdded']=!0x1);}for(let _0x90d007=0x0;_0x90d007<_0x8112e0['length'];_0x90d007++)_0x2390fe['has'](_0x8112e0[_0x90d007]['pairId'])&&(_0x8112e0[_0x90d007]['pairId']=_0x2390fe['get'](_0x8112e0[_0x90d007]['pairId']));}['_removeMissingPairs'](_0x172208){const _0x164e01=new Set(_0x172208['map'](_0x1062d9=>_0x1062d9['id']));for(let _0x598209=0x0;_0x598209<_0x172208['length'];_0x598209++)_0x164e01['has'](_0x172208[_0x598209]['pairId'])||0x0==_0x172208[_0x598209]['distance']||(_0x172208[_0x598209]['isIncorrect']=!0x0);return _0x172208['filter'](_0x58380e=>!_0x58380e['isIncorrect']);}['_markMismatchedRemovedTags'](_0x49a15c){const _0x147e41=new Set();for(let _0x540b95=0x0;_0x540b95<_0x49a15c['length'];_0x540b95++){if(_0x147e41['has'](_0x49a15c[_0x540b95]['id'])&&_0x49a15c[_0x540b95]['isRemoved']&&(_0x49a15c[_0x540b95]['isIncorrect']=!0x0),_0x49a15c[_0x540b95]['isIncorrect'])continue;if(0x0==_0x49a15c[_0x540b95]['distance'])continue;if('elementStart'!=_0x49a15c[_0x540b95]['type'])continue;if(null==_0x49a15c[_0x540b95]['pairId'])continue;let _0xf0c9b8=_0x540b95+0x1,_0x3df45a=0x0;for(;_0x49a15c[_0xf0c9b8]['id']!=_0x49a15c[_0x540b95]['pairId'];)'elementStart'==_0x49a15c[_0xf0c9b8]['type']?_0x3df45a++:'elementEnd'==_0x49a15c[_0xf0c9b8]['type']&&_0x3df45a--,_0xf0c9b8++;if(0x0!=_0x3df45a){if(_0x49a15c[_0x540b95]['isRemoved'])_0x49a15c[_0x540b95]['isIncorrect']=!0x0;else{for(;_0xf0c9b8!=_0x540b95;)_0x49a15c[_0xf0c9b8]['isRemoved']&&0x0!=_0x49a15c[_0xf0c9b8]['distance']&&(_0x49a15c[_0xf0c9b8]['isIncorrect']=!0x0,_0x147e41['add'](_0x49a15c[_0xf0c9b8]['pairId'])),_0xf0c9b8--;}}}return _0x49a15c['filter'](_0x55948c=>!_0x55948c['isIncorrect']);}['_removeUnsupportedChanges'](_0x4df5c3){const _0x97c8d7=this['editor']['model']['schema'];for(let _0xf07cab=0x0;_0xf07cab<_0x4df5c3['length'];_0xf07cab++){if(!(_0x4df5c3[_0xf07cab]['isAdded']||_0x4df5c3[_0xf07cab]['isAddSuggestion']||_0x4df5c3[_0xf07cab]['isRemoved']||_0x4df5c3[_0xf07cab]['isRemoveSuggestion']))continue;if(0x0==_0x4df5c3[_0xf07cab]['distance'])continue;const _0x3efa6f=_0x4df5c3[_0xf07cab]['item'];_0x97c8d7['isBlock'](_0x3efa6f)||_0x97c8d7['isLimit'](_0x3efa6f)||(_0x4df5c3[_0xf07cab]['isAdded']&&delete _0x4df5c3[_0xf07cab]['isAdded'],_0x4df5c3[_0xf07cab]['isAddSuggestion']&&delete _0x4df5c3[_0xf07cab]['isAddSuggestion'],_0x4df5c3[_0xf07cab]['isRemoveSuggestion']&&delete _0x4df5c3[_0xf07cab]['isRemoveSuggestion'],_0x4df5c3[_0xf07cab]['isRemoved']&&(_0x4df5c3[_0xf07cab]['isIncorrect']=!0x0));}return _0x4df5c3['filter'](_0x49c836=>!_0x49c836['isIncorrect']);}['_makeModelFromTape'](_0x2bf99a,_0x1470ed,_0x49b354){const _0x3ea719=new wt(),_0x2348bf=[],_0x1246cd=new Map(),_0x6b534f=this['editor']['model'],_0x27fb0a=_0x6b534f['schema'],_0x214755=[_0x3ea719],_0x541fcc={},_0x19d61c={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x18260e=null;const _0x26df2a=[0x0];for(let _0x313004=0x0;_0x313004<_0x2bf99a['length'];_0x313004++){let _0x5977ef,_0x4718a6;if('elementStart'===_0x2bf99a[_0x313004]['type']){_0x5977ef=_0x6b534f['createPositionFromPath'](_0x3ea719,_0x26df2a);const _0x26c447=new ft(_0x2bf99a[_0x313004]['item']['name'],_0x2bf99a[_0x313004]['item']['getAttributes']());_0x214755[0x0]['_appendChild'](_0x26c447),_0x26df2a['push'](0x0),_0x214755['unshift'](_0x26c447),_0x4718a6=_0x6b534f['createPositionFromPath'](_0x3ea719,_0x26df2a),_0x18260e=null;}else{if('elementEnd'===_0x2bf99a[_0x313004]['type'])_0x214755['shift'](),_0x5977ef=_0x6b534f['createPositionFromPath'](_0x3ea719,_0x26df2a),_0x26df2a['pop'](),_0x26df2a[_0x26df2a['length']-0x1]++,_0x4718a6=_0x6b534f['createPositionFromPath'](_0x3ea719,_0x26df2a),_0x18260e=null;else{if(_0x5977ef=_0x6b534f['createPositionFromPath'](_0x3ea719,_0x26df2a),_0x18260e&&_0x107d10(_0x18260e,_0x2bf99a[_0x313004]['item']))_0x18260e['_data']+=_0x2bf99a[_0x313004]['item']['data'];else{const _0x6a6452=new _t(_0x2bf99a[_0x313004]['item']['data'],_0x2bf99a[_0x313004]['item']['getAttributes']());_0x214755[0x0]['_appendChild'](_0x6a6452),_0x18260e=_0x6a6452;}_0x26df2a[_0x26df2a['length']-0x1]+=_0x2bf99a[_0x313004]['item']['offsetSize'],_0x4718a6=_0x6b534f['createPositionFromPath'](_0x3ea719,_0x26df2a);}}for(const _0x1920e0 of _0x2bf99a[_0x313004]['markersStart'])_0x1246cd['set'](_0x1920e0,{'start':_0x5977ef,'end':null});_0x3bfea8('isRemoveSuggestion',_0x313004,_0x5977ef,_0x4718a6),_0x3bfea8('isAddSuggestion',_0x313004,_0x5977ef,_0x4718a6),_0x3bfea8('isRemoved',_0x313004,_0x5977ef,_0x4718a6),_0x3bfea8('isAdded',_0x313004,_0x5977ef,_0x4718a6);for(const _0x4795c7 of _0x2bf99a[_0x313004]['markersEnd']){_0x1246cd['get'](_0x4795c7)['end']=_0x4718a6;}}for(const [_0x58df35,_0x4f4815]of _0x1246cd){const _0xe6fdd2=this['editor']['model']['createRange'](_0x4f4815['start'],_0x4f4815['end']);_0x3ea719['markers']['set'](_0x58df35,_0xe6fdd2);}return _0x2348bf['sort']((_0x5c3fea,_0x1d431a)=>{const _0x5ab3a9=_0x3ea719['markers']['get']('revision:'+_0x5c3fea['id']),_0x5b0ab3=_0x3ea719['markers']['get']('revision:'+_0x1d431a['id']);return _0x5ab3a9['start']['isBefore'](_0x5b0ab3['start'])?-0x1:_0x5ab3a9['start']['isAfter'](_0x5b0ab3['start'])?0x1:_0x5ab3a9['end']['isBefore'](_0x5b0ab3['end'])?-0x1:_0x5ab3a9['end']['isAfter'](_0x5b0ab3['end'])?0x1:'add'===_0x5c3fea['type']?-0x1:0x1;}),{'root':_0x3ea719,'changes':_0x2348bf};function _0x3bfea8(_0x7be6f0,_0x599a3b,_0x3b421e,_0x855530){const _0x35e5f7=!!_0x2bf99a[_0x599a3b][_0x7be6f0],_0x54b062=_0x35e5f7?_0x2bf99a[_0x599a3b][_0x7be6f0]['userId']:null,_0x43bedd=_0x599a3b===_0x2bf99a['length']-0x1,_0x3ba2b3=_0x19d61c[_0x7be6f0][0x0],_0x2eee26=_0x27fb0a['isObject'](_0x2bf99a[_0x599a3b]['item']);!_0x541fcc[_0x7be6f0]&&_0x35e5f7?_0x541fcc[_0x7be6f0]={'start':_0x3b421e,'tapeItem':_0x2bf99a[_0x599a3b],'userId':_0x54b062,'type':_0x7be6f0}:_0x541fcc[_0x7be6f0]&&!_0x35e5f7?(_0x541fcc[_0x7be6f0]['end']=_0x3b421e,_0x5b4fa1(_0x541fcc[_0x7be6f0]),_0x541fcc[_0x7be6f0]=null):_0x541fcc[_0x7be6f0]&&_0x35e5f7&&_0x541fcc[_0x7be6f0]['userId']!==_0x54b062&&(_0x541fcc[_0x7be6f0]['end']=_0x3b421e,_0x3ba2b3&&_0x3ba2b3['userId']===_0x541fcc[_0x7be6f0]['userId']||_0x5b4fa1(_0x541fcc[_0x7be6f0]),_0x541fcc[_0x7be6f0]={'start':_0x3b421e,'tapeItem':_0x2bf99a[_0x599a3b],'userId':_0x54b062,'type':_0x7be6f0}),_0x541fcc[_0x7be6f0]&&_0x2eee26&&('elementStart'!==_0x2bf99a[_0x599a3b]['type']||_0x3ba2b3&&_0x3ba2b3['userId']===_0x54b062||_0x19d61c[_0x7be6f0]['unshift']({'userId':_0x54b062,'object':_0x2bf99a[_0x599a3b]['item'],'change':_0x541fcc[_0x7be6f0]}),'elementEnd'===_0x2bf99a[_0x599a3b]['type']&&_0x3ba2b3&&_0x3ba2b3['object']===_0x2bf99a[_0x599a3b]['item']&&(_0x19d61c[_0x7be6f0]['shift'](),_0x541fcc[_0x7be6f0]=_0x3ba2b3['change'])),_0x541fcc[_0x7be6f0]&&_0x43bedd&&(_0x541fcc[_0x7be6f0]['end']=_0x855530,_0x5b4fa1(_0x541fcc[_0x7be6f0]),_0x541fcc[_0x7be6f0]=null);}function _0x5b4fa1({start:_0xca4ea,end:_0x5b98b2,tapeItem:_0x3f8f51,userId:_0x4dc123,type:_0x845585}){const _0x1a1d6a=_0x3f8f51['item'],_0x3fee73=_0x6b534f['schema']['isBlock'](_0x1a1d6a)&&!_0x6b534f['schema']['isLimit'](_0x1a1d6a),_0x1cf730=_0xca4ea['nodeAfter']==_0x5b98b2['parent']&&_0x5b98b2['isAtStart'];if(_0x3fee73&&_0x1cf730)return;const _0x423f44=_0x6b534f['createRange'](_0xca4ea,_0x5b98b2),_0x36594d=_0x1470ed['get'](_0x4dc123),_0x121790=new r({'author':_0x36594d,'type':'isAdded'==_0x845585||'isAddSuggestion'==_0x845585?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x845585||'isRemoveSuggestion'==_0x845585},'createdAt':new Date(),'rootName':_0x49b354});_0x2348bf['push'](_0x121790),_0x3ea719['markers']['set']('revision:'+_0x121790['id'],_0x423f44);}function _0x107d10(_0x70bb3a,_0x8713c5){const _0x2ddbd1=_0x70bb3a['getAttributes'](),_0x23fcef=_0x8713c5['getAttributes']();for(const _0x23d821 of _0x2ddbd1){if(_0x23d821[0x1]!==_0x8713c5['getAttribute'](_0x23d821[0x0]))return!0x1;_0x23fcef['next']();}return _0x23fcef['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x801801=>{const _0x3a38c=_0x801801['markerName']['split'](':')[0x1],_0x4332bd=this['_getChangeFromId'](_0x3a38c);if(!_0x4332bd)return null;const _0x1d2b26='add'==_0x4332bd['type']?'insertion':'deletion',_0x18b17c=['ck-suggestion-marker','ck-suggestion-marker-'+_0x1d2b26];return _0x4332bd['data']['isSuggestion']&&_0x18b17c['push']('ck-suggestion-marker-'+_0x1d2b26+'-new'),this['activeChange']==_0x4332bd&&_0x18b17c['push']('ck-suggestion-marker--active'),{'classes':_0x18b17c,'attributes':{'data-change-id':_0x3a38c}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x138920=>{_0x138920['on']('element:pre',(_0x46b371,_0x22b2ae,_0x85ea04)=>{const _0x49ebc6=_0x22b2ae['viewItem']['getChild'](0x0);if(!_0x49ebc6||!_0x49ebc6['is']('element','code'))return;if(!_0x85ea04['consumable']['consume'](_0x49ebc6,{'attributes':['vid_start','vid_end']}))return;const _0xec1d6f=_0x22b2ae['modelRange']['start']['nodeAfter'];_0x85ea04['writer']['setAttribute']('vid_start',_0x49ebc6['getAttribute']('vid_start'),_0xec1d6f),_0x85ea04['writer']['setAttribute']('vid_end',_0x49ebc6['getAttribute']('vid_end'),_0xec1d6f);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x251da3=>{_0x251da3['on']('element',(_0x4a1a6b,_0x47add6,_0x2dd36b)=>{if(!_0x2dd36b['consumable']['consume'](_0x47add6['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x47add6['modelRange']['isCollapsed'])return;const _0x1fb753=_0x47add6['modelRange']['start']['nodeAfter'];_0x1fb753['hasAttribute']('vid_start')||_0x1fb753['hasAttribute']('vid')||(_0x2dd36b['writer']['setAttribute']('vid_start',_0x47add6['viewItem']['getAttribute']('vid_start'),_0x1fb753),_0x2dd36b['writer']['setAttribute']('vid_end',_0x47add6['viewItem']['getAttribute']('vid_end'),_0x1fb753));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x37b0ea=>_0x37b0ea['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x5e86b1,[,_0x50dc94])=>{['vid_start','vid_end','vid']['includes'](_0x50dc94)&&(_0x5e86b1['return']=!0x0,_0x5e86b1['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0xb34f21=>{_0xb34f21['on']('attribute:vid',(_0x54e220,_0x2b8a9d,_0x4365c5)=>{if('\x20'!=_0x2b8a9d['item']['data']||_0x2b8a9d['item']['parent']['maxOffset']>0x1)return;if(!_0x4365c5['consumable']['consume'](_0x2b8a9d['item'],_0x54e220['name']))return;const _0x4bb333=_0x4365c5['writer'],_0x6c86b6=_0x4365c5['mapper']['toViewRange'](_0x2b8a9d['range']);_0x4bb333['wrap'](_0x6c86b6,_0x4bb333['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0xe58076){const _0x188e3d=_0xe58076['plugins']['get']('RevisionViewer');return(_0x58710c,_0x5534fd,_0x3b7ab0)=>{const _0x1a4ec4=_0x5534fd['markerName']['split'](':')[0x1],_0x709d52=_0x188e3d['_getChangeFromId'](_0x1a4ec4);if(!_0x709d52)return null;const _0xe467c2='add'==_0x709d52['type']?'split':'merge';if(!_0x3b7ab0['consumable']['test'](_0x5534fd['markerRange'],_0x58710c['name']))return;const _0x597c13=_0x5534fd['markerRange']['getWalker'](),_0x5732d5=_0x5534fd['markerRange']['start'],_0x433f29=_0xe58076['model']['schema'];let _0x2f0e9f=null,_0x29b045=null,_0x225c79=!0x1,_0x2666ed=!0x1;for(const _0x450b77 of _0x597c13){const _0x156239=_0x450b77['item'];_0x225c79=_0x225c79||_0x433f29['isContent'](_0x156239);const _0x14893f=_0x3b7ab0['mapper']['toViewElement'](_0x156239);if(_0x14893f&&_0x14893f['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x450b77['type']&&(_0x433f29['isBlock'](_0x156239)&&!_0x433f29['isLimit'](_0x156239)&&(_0x156239['nextSibling']||_0x5732d5['isAtEnd']?_0x2f0e9f&&_0x2f0e9f['parent']==_0x156239||(_0x2f0e9f=_0x156239,_0x508f88(_0x450b77['previousPosition']),_0x2666ed=!0x0):_0x29b045=_0x29b045||_0x450b77['previousPosition']));}function _0x508f88(_0x2d0389){const _0x4c4d74=_0x3b7ab0['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xe467c2}),_0x4b5854=_0x3b7ab0['mapper']['toViewPosition'](_0x2d0389);_0x709d52['data']['isSuggestion']&&_0x3b7ab0['writer']['addClass']('ck-suggestion-marker-'+_0xe467c2+'-new',_0x4c4d74),_0x188e3d['activeChange']==_0x709d52&&_0x3b7ab0['writer']['addClass']('ck-suggestion-marker--active',_0x4c4d74),_0x3b7ab0['writer']['insert'](_0x4b5854,_0x4c4d74),_0x3b7ab0['mapper']['bindElementToMarker'](_0x4c4d74,_0x5534fd['markerName']);}_0x225c79||_0x2666ed||!_0x29b045||_0x508f88(_0x29b045);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x1e72c1,_0xf713c6,_0x23c168)=>{const _0x2eb30e=_0x23c168['mapper']['markerNameToElements'](_0xf713c6['markerName']);if(_0x2eb30e){for(const _0x1fbc8e of _0x2eb30e)(_0x1fbc8e['hasClass']('ck-suggestion-marker-split')||_0x1fbc8e['hasClass']('ck-suggestion-marker-merge'))&&(_0x23c168['mapper']['unbindElementFromMarkerName'](_0x1fbc8e,_0xf713c6['markerName']),_0x23c168['writer']['remove'](_0x1fbc8e));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x2c8ec6,_0x233cfc,_0x41aada)=>{const _0x18f048=_0x233cfc['markerName']['split'](':')[0x1],_0x16da2c=this['_getChangeFromId'](_0x18f048);if(!_0x16da2c)return null;const _0xcd94f9='add'==_0x16da2c['type']?'split':'merge';if(_0x41aada['consumable']['test'](_0x233cfc['markerRange'],_0x2c8ec6['name']))for(const _0x33267b of _0x233cfc['markerRange']['getItems']()){if(!_0x33267b['is']('element','softBreak'))continue;const _0x428a94=_0x41aada['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xcd94f9}),_0x3ddc8b=_0x41aada['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x33267b));_0x16da2c['data']['isSuggestion']&&_0x41aada['writer']['addClass']('ck-suggestion-marker-'+_0xcd94f9+'-new',_0x428a94),this['activeChange']==_0x16da2c&&_0x41aada['writer']['addClass']('ck-suggestion-marker--active',_0x428a94),_0x41aada['writer']['insert'](_0x3ddc8b,_0x428a94),_0x41aada['mapper']['bindElementToMarker'](_0x428a94,_0x233cfc['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x46e795=>{for(const _0x2fe6b5 of this['editor']['model']['document']['getRootNames']()){const _0xc4c191=this['editor']['model']['document']['getRoot'](_0x2fe6b5),_0x466af6=this['editor']['editing']['view']['document']['getRoot'](_0x2fe6b5);if(_0x466af6){const _0xcc464=_0xc4c191['getAttribute']('revisionHistoryAttachChange');if(_0x46e795['removeAttribute']('data-change-id',_0x466af6),_0x46e795['removeClass']('ck-revision-history-root-add',_0x466af6),_0x46e795['removeClass']('ck-revision-history-root-remove',_0x466af6),_0x46e795['removeClass']('ck-revision-history-root--active',_0x466af6),_0xcc464){const _0x2b2805=this['_getChangeFromId'](_0xcc464);if(!_0x2b2805)return null;_0x46e795['setAttribute']('data-change-id',_0xcc464,_0x466af6),_0x46e795['addClass']('ck-revision-history-root-'+_0x2b2805['type'],_0x466af6),this['activeChange']==_0x2b2805&&_0x46e795['addClass']('ck-revision-history-root--active',_0x466af6);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x2f8608=>'revision-comment:'+_0x2f8608,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x56e7c7=>'revision-suggestion:'+_0x56e7c7,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0xd6d6a9=>({'name':'suggestion:'+_0xd6d6a9,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x57ee6e=>{const _0x11efaa=_0x57ee6e['markerName']['split'](':')[0x1];return'insertion'!=_0x11efaa&&'deletion'!=_0x11efaa?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x11efaa]};}}),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',(_0x1306c7,_0x3e5d70,_0x382b78)=>{const _0x34ab77=_0x382b78['mapper']['markerNameToElements'](_0x3e5d70['markerName']);if(_0x34ab77){for(const _0x15f521 of _0x34ab77)_0x15f521['is']('uiElement')&&(_0x382b78['mapper']['unbindElementFromMarkerName'](_0x15f521,_0x3e5d70['markerName']),_0x382b78['writer']['remove'](_0x15f521));}},{'priority':'high'});}['_getChangeFromId'](_0x1528ae){return this['_changeIdToChange']['get'](_0x1528ae);}['_getViewForChange'](_0x15c1d3){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x15c1d3),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x5c5f2a,_0x1ef10c,_0x59e3e9,_0x4782b4)=>{_0x4782b4&&this['_balloon']['remove'](_0x4782b4),_0x59e3e9&&(this['_balloon']['add']({'view':_0x59e3e9,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x213eaf=this['editor']['editing'],_0x2c1e53=this['_getChangeFromId'](_0x59e3e9['changeId']);let _0x2f37b4;if(_0x2c1e53['data']['isOnRoot']){const _0x1755ab=_0x213eaf['view']['getDomRoot'](_0x2c1e53['rootName']);_0x2f37b4=Array['from'](_0x1755ab['getClientRects']());}else{const _0x4e96bb=this['editor']['model']['markers']['get']('revision:'+_0x59e3e9['changeId']);_0x2f37b4=Array['from'](_0x213eaf['mapper']['markerNameToElements'](_0x4e96bb['name']))['map'](_0x5a7a8c=>_0x213eaf['view']['domConverter']['mapViewToDom'](_0x5a7a8c))['map'](_0x1d5319=>Array['from'](_0x1d5319['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x2f37b4[0x0];return _0x2f37b4['find'](_0x5edaaf=>_0x5edaaf['top']-0x3<=this['_activeViewTarget']['y']&&_0x5edaaf['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x5edaaf['left']-0x3<=this['_activeViewTarget']['x']&&_0x5edaaf['right']+0x3>=this['_activeViewTarget']['x'])||_0x2f37b4[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x70b2af,_0x5488d5,_0x4a46b6,_0xc36474)=>{this['activeView']=_0x4a46b6?this['_getViewForChange'](_0x4a46b6):null,this['editor']['model']['change'](()=>{const _0x53b1a3=this['editor']['editing'];_0xc36474&&(_0xc36474['data']['isOnRoot']?_0x53b1a3['view']['change'](_0x2cd483=>{_0x2cd483['removeClass']('ck-revision-history-root--active',_0x53b1a3['view']['document']['getRoot'](_0xc36474['rootName']));}):_0x53b1a3['reconvertMarker']('revision:'+_0xc36474['id'])),_0x4a46b6&&(_0x4a46b6['data']['isOnRoot']?_0x53b1a3['view']['change'](_0x150ed7=>{_0x150ed7['addClass']('ck-revision-history-root--active',_0x53b1a3['view']['document']['getRoot'](_0x4a46b6['rootName']));}):_0x53b1a3['reconvertMarker']('revision:'+_0x4a46b6['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x158491,_0x6c3eea)=>{if(this['activeChange'])return;const _0x4e003f=this['_findChangeIdFromDomTarget'](_0x6c3eea['target']),_0x5a84d9=this['_changeIdToChange']['get'](_0x4e003f);_0x5a84d9?(this['_activeViewTarget']={'x':_0x6c3eea['domEvent']['x'],'y':_0x6c3eea['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x5a84d9)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x5eb52e,_0x361665)=>{const _0x4d627d=this['_findChangeIdFromDomTarget'](_0x361665['target']),_0x57d96f=this['_changeIdToChange']['get'](_0x4d627d);_0x57d96f?(this['_activeViewTarget']={'x':_0x361665['domEvent']['x'],'y':_0x361665['domEvent']['y']},_0x57d96f===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x57d96f):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x5d9c74){do{const _0x391f4f=_0x5d9c74['getAttribute']('data-change-id');if(_0x391f4f)return _0x391f4f;_0x5d9c74=_0x5d9c74['parent'];}while(_0x5d9c74);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x118dbe=>{for(const _0x1bab44 of this['editor']['model']['markers'])_0x118dbe['removeMarker'](_0x1bab44);});}}function et(_0x4d9cb9,_0xbc5ac0){return(_0x3d6ec7,_0x25e6b0,_0x1a53f5)=>{if(!_0x1a53f5['consumable']['test'](_0x25e6b0['markerRange'],_0x3d6ec7['name']))return;const _0x30bfca=_0x25e6b0['markerRange']['getWalker'](),_0x2c9ff3=_0x25e6b0['markerRange']['start'],_0x3cc88f=_0x4d9cb9['model']['schema'];let _0x31dbf8=null,_0x49d581=null,_0x3cdd7b=!0x1,_0x16c892=!0x1;for(const _0x4484f5 of _0x30bfca){const _0x44e38b=_0x4484f5['item'];_0x3cdd7b=_0x3cdd7b||_0x3cc88f['isContent'](_0x44e38b);const _0x14dde3=_0x1a53f5['mapper']['toViewElement'](_0x44e38b);if(_0x14dde3&&_0x14dde3['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4484f5['type']&&(_0x3cc88f['isBlock'](_0x44e38b)&&!_0x3cc88f['isLimit'](_0x44e38b)&&(_0x44e38b['nextSibling']||_0x2c9ff3['isAtEnd']?_0x31dbf8&&_0x31dbf8['parent']==_0x44e38b||(_0x31dbf8=_0x44e38b,_0x30295f(_0x4484f5['previousPosition']),_0x16c892=!0x0):_0x49d581=_0x49d581||_0x4484f5['previousPosition']));}function _0x30295f(_0x2793ee){const _0x3acb7c=_0x1a53f5['mapper']['toViewPosition'](_0x2793ee),_0x516d32=_0x1a53f5['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0xbc5ac0});_0x1a53f5['writer']['insert'](_0x3acb7c,_0x516d32),_0x1a53f5['mapper']['bindElementToMarker'](_0x516d32,_0x25e6b0['markerName']);}_0x3cdd7b||_0x16c892||!_0x49d581||_0x30295f(_0x49d581);};}class yt extends _0x553daa{constructor(_0x2c6ce3){super(_0x2c6ce3);const _0x467dfd=_0x2c6ce3['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x467dfd,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x467dfd,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x1bd689=this['editor'],_0x4b66fe=_0x1bd689['plugins']['get'](d),_0x4c6a76=_0x4b66fe['isReady']?_0x4b66fe['diff']['newRevisionId']:null;_0x1bd689['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x4c6a76);}['refresh'](){const {isReady:_0x5c5ae8,isEnabled:_0x40bec5}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x5c5ae8&&_0x40bec5;}}class bt extends _0x553daa{['_step'];constructor(_0x378c8d,{direction:_0x12ac59}){super(_0x378c8d);const _0x2bb6c2=_0x378c8d['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x12ac59?0x1:-0x1,this['listenTo'](_0x2bb6c2,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x2bb6c2,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x2bb6c2,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x355731=this['editor'],_0xc7362d=_0x355731['plugins']['get'](d),{isNavigationMode:_0x458bcc,currentChangeNumber:_0x52f8dd}=_0xc7362d;let _0x4d0d55;if(_0xc7362d['activeChange']=_0x458bcc?_0xc7362d['diff']['changes']['get'](_0x52f8dd+this['_step']):_0xc7362d['diff']['changes']['first'],_0xc7362d['activeChange']['data']['isOnRoot'])_0x4d0d55=_0x355731['editing']['view']['getDomRoot'](_0xc7362d['activeChange']['rootName']);else{const _0x18ce17=_0x355731['model']['markers']['get']('revision:'+_0xc7362d['activeChange']['id']);_0x4d0d55=_0x2f8010(_0x355731['editing'],_0x18ce17);}_0x15b1f4({'target':_0x4d0d55,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x2baa3e,currentChangeNumber:_0x6261b,numberOfChanges:_0x52e421,isReady:_0x53e0ea,isEnabled:_0x11a547}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x11a547&&_0x53e0ea&&_0x52e421)&&(!_0x2baa3e||(0x1===this['_step']?_0x6261b<_0x52e421-0x1:_0x6261b>0x0));}}class li extends ts{constructor(_0xbf53a){super(_0xbf53a);const _0x1393a2=this['bindTemplate'],_0x5a47ba=new te(_0xbf53a),_0x3c84a0=new te(_0xbf53a);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',(_0x297128,_0x455695)=>_0x297128&&_0x455695>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0xa6218a,_0x4daa25,_0x4b3069,_0x329c29)=>{if(!_0xa6218a)return w(_0xbf53a,'Loading...');if(!_0x4b3069)return w(_0xbf53a,'No\x20changes');const _0x5d0835=w(_0xbf53a,'NUMBER_OF_CHANGES',_0x4b3069);return _0x329c29?w(_0xbf53a,'X_OF_Y_CHANGES',[_0x4daa25+0x1,_0x4b3069]):_0x5d0835;}),_0x5a47ba['set']({'label':w(_0xbf53a,'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'}),_0x3c84a0['set']({'label':w(_0xbf53a,'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'}),_0x5a47ba['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x3c84a0['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x5a47ba['on']('execute',()=>this['fire']('execute','backward')),_0x3c84a0['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',_0x1393a2['if']('_isStatusLabelVisible','ck-hidden',_0x5a07aa=>!_0x5a07aa)]},'children':[{'text':_0x1393a2['to']('isNavigationMode',_0xede95=>_0xede95?w(_0xbf53a,'EDIT_X_OF_Y_REVISIONS')+':\x20':w(_0xbf53a,'Total')+':\x20')}]},{'text':_0x1393a2['to']('_statusText')}]},new _0x179e02(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x5a47ba,_0x3c84a0]}]});}}const le='ck-editor__editable__loading-overlay';class ge extends _0x55c2ea{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['show'](){const _0x2fb338=this['editor']['editing']['view'];_0x2fb338['change'](_0x36748a=>{for(const _0x56f1be of _0x2fb338['document']['roots'])_0x36748a['addClass'](le,_0x56f1be);});}['hide'](){const _0x23ce9c=this['editor']['editing']['view'];_0x23ce9c['change'](_0x2376ad=>{for(const _0x4f0c49 of _0x23ce9c['document']['roots'])_0x2376ad['removeClass'](le,_0x4f0c49);});}}class m extends _0x55c2ea{static get['pluginName'](){return'RevisionViewerUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[d,ge];}['init'](){const _0x13613d=this['editor'],_0x36d5c4=_0x13613d['plugins']['get'](d),_0x52f954=_0x13613d['plugins']['get'](ge);_0x13613d['ui']['componentFactory']['add']('exitToEditing',_0x262cd8=>{const _0x2c3d77=new te(_0x262cd8);return _0x2c3d77['set']({'label':w(_0x262cd8,'Back\x20to\x20editing'),'icon':_0x4a84f1['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x2c3d77,'execute',()=>{_0x13613d['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x2c3d77;}),_0x13613d['ui']['componentFactory']['add']('restoreRevision',_0x543863=>{const _0x5cd3e5=new te(_0x543863);return _0x5cd3e5['set']({'label':w(_0x543863,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x5cd3e5['bind']('isEnabled')['to'](_0x13613d['commands']['get']('restoreRevision')),this['listenTo'](_0x5cd3e5,'execute',()=>_0x13613d['execute']('restoreRevision')),_0x5cd3e5;}),_0x13613d['ui']['componentFactory']['add']('changesNavigation',_0x4414ca=>{const _0x11ea89=new li(_0x4414ca),_0x59a816=_0x13613d['commands']['get']('showPreviousChange'),_0x2131c2=_0x13613d['commands']['get']('showNextChange');return _0x11ea89['bind']('isBackwardNavigationEnabled')['to'](_0x59a816,'isEnabled'),_0x11ea89['bind']('isForwardNavigationEnabled')['to'](_0x2131c2,'isEnabled'),_0x11ea89['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x36d5c4),this['listenTo'](_0x11ea89,'execute',(_0x1aa3ba,_0x3a2a89)=>{_0x13613d['execute']('forward'===_0x3a2a89?'showNextChange':'showPreviousChange');}),_0x11ea89;}),_0x52f954['show'](),_0x36d5c4['on']('change:isReady',(_0x5870c6,_0x9ded31,_0x396952)=>{_0x396952?_0x52f954['hide']():_0x52f954['show']();});}}class mt extends _0x4fedc3{['_resizeObserver']=null;constructor(_0x2dfb1c,_0x2595c1){super(_0x2dfb1c,_0x2595c1);const _0x46fd5d=this['bindTemplate'];this['set']({'label':w(_0x2dfb1c,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=w(_0x2dfb1c,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x46fd5d['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 _0x36ab24=this['fieldView']['element'];this['_tooltipString']=_0x36ab24['scrollWidth']>_0x36ab24['clientWidth']&&_0x36ab24['value']||'';}}class ri extends ts{constructor(_0x4dc5e7,_0xf45e71,_0x5189fc){super(_0x4dc5e7);const _0x2c4b31=new _0x3ec742();_0x2c4b31['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 _0x504986=['ck','ck-revision-history-sidebar__revision-author'];_0x5189fc&&_0x504986['push']('ck-revision-history-sidebar__revision-author_creator');const _0x22d508=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':w(_0x4dc5e7,_0x5189fc?'Revision\x20creator':'Revision\x20author')},'children':[_0x2c4b31,_0xf45e71['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x504986},'children':_0x22d508});}}function oi(_0x1e6eb8,_0x457217){const _0x400dd6=_0x1e6eb8['bindTemplate'],_0x316613=_0x1e6eb8['locale'],_0x17a307=_0x4a55a0(_0x316613);_0x17a307['panelPosition']='sw';const _0x459815=function(_0x1cf136,_0x51d2a2){const _0xed2d5a=function(_0x30863a,_0x5b1c3e){const _0x347e97=_0x30863a['locale'],_0x148bb6={'Compare\x20against\x20selected':w(_0x347e97,'Compare\x20against\x20selected'),'Name\x20this\x20revision':w(_0x347e97,'Name\x20this\x20revision'),'Restore\x20this\x20revision':w(_0x347e97,'Restore\x20this\x20revision')};return _0x5b1c3e['map'](_0x51b95c=>{const _0x4e0daf=_0x148bb6[_0x51b95c['name']];return _0x4e0daf&&_0x4e0daf!==_0x51b95c['name']&&(_0x51b95c['name']=_0x4e0daf),_0x51b95c;});}(_0x1cf136,_0x51d2a2),_0x22ecaa=new _0x15679c();for(const _0x42334f of _0xed2d5a){const _0x24827f={'type':'button','model':new _0x19067f({'label':_0x42334f['name'],'class':_0x42334f['class'],'withText':!0x0,'role':'menuitem','_action':_0x42334f['action']})};_0x24827f['model']['bind']('isEnabled')['to'](_0x1cf136,'isActionsDropdownOpen',_0x51fe39=>'function'!=typeof _0x42334f['isEnabled']||(!_0x51fe39||_0x42334f['isEnabled'](_0x1cf136))),_0x22ecaa['add'](_0x24827f);}return _0x22ecaa;}(_0x1e6eb8,_0x457217);return _0x1e6eb8['bind']('isActionsDropdownOpen')['to'](_0x17a307,'isOpen'),_0x17a307['buttonView']['set']({'label':w(_0x316613,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x4a84f1['threeVerticalDots']}),_0x17a307['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x400dd6['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x400dd6['to'](_0x2bb62e=>_0x2bb62e['stopPropagation']())}}),_0x17a307['on']('execute',_0x56cdc7=>{_0x1e6eb8['isReady']&&'function'==typeof _0x56cdc7['source']['_action']&&_0x56cdc7['source']['_action'](_0x1e6eb8);}),to(_0x17a307,_0x459815,{'role':'menu'}),_0x17a307['listenTo'](_0x1e6eb8,'change:isActionsDropdownOpen',(_0x2fc8af,_0x122f41,_0x2f42f9)=>{if(_0x2f42f9)for(const _0x20ed6b of _0x17a307['listView']['items']){const _0x42a10e=_0x20ed6b['children']['first'],_0x30686c=_0x457217['find'](_0x23e35e=>_0x23e35e['action']===_0x42a10e['_action'])['isVisible'];_0x20ed6b['isVisible']=void 0x0===_0x30686c||_0x30686c(_0x1e6eb8);}}),_0x17a307;}class hi extends/* #__PURE__ -- @preserve */
26
- ti(ts){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x435131,_0x10c792,_0x317a5d,_0x4797bd){super(_0x435131);const _0x3e700b=this['bindTemplate'],_0x138fe5=function(_0x90ed31,_0x1a2517){const _0x3b4a3d=Array['from'](_0x1a2517['authors'])['filter'](_0x1b9d75=>_0x1b9d75!=_0x1a2517['creator']);return _0x1a2517['creator']&&_0x3b4a3d['unshift'](_0x1a2517['creator']),_0x3b4a3d['map'](_0x2d19eb=>new ri(_0x90ed31,_0x2d19eb,_0x2d19eb==_0x1a2517['creator']));}(_0x435131,_0x10c792);this['id']=_0x10c792['id'],this['_revision']=_0x10c792,this['_requireRevisionName']=_0x4797bd,this['bind']('name','createdAt')['to'](_0x10c792),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x2bebf6=>{return _0x44fade=_0x435131['uiLanguage'],(_0x360071=_0x2bebf6)['toLocaleDateString'](_0x44fade,{'month':'long','day':'numeric'})+',\x20'+_0x360071['toLocaleTimeString'](_0x44fade,{'hour':'numeric','minute':'numeric'});var _0x44fade,_0x360071;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new mt(_0x435131,_0x325628),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0xa988f5=>_0xa988f5||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0xde9c1c,_0x477de2)=>_0xde9c1c&&_0x477de2),this['revisionActionsView']=_0x317a5d&&_0x317a5d['length']?oi(this,_0x317a5d):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x3e700b['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x3e700b['if']('isEnabled','ck-disabled',_0x2ee906=>!_0x2ee906),_0x3e700b['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x3e700b['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x3e700b['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':_0x3e700b['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':_0x138fe5}]},this['revisionActionsView']],'on':{'click':_0x3e700b['to'](_0x3e8472=>{_0x3e8472['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x234523=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x234523,'change',()=>{this['_requireRevisionName']&&!_0x234523['value']||this['fire']('setName',{'id':this['id'],'name':_0x234523['value']}),_0x234523['value']||(_0x234523['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(_0x435281,_0x126395){const _0x256f1f=_0x8485fe['fromJSDate'](_0x435281)['setLocale'](_0x126395),_0x33ffbf=_0x8485fe['local'](),_0x55bd93=_0x33ffbf['minus']({'days':0x1})['startOf']('day');let _0x45b06b,_0x3b625f;return _0x256f1f['hasSame'](_0x33ffbf,'day')?(_0x45b06b=_0x256f1f['startOf']('day')['toJSDate'](),_0x3b625f=_0x256f1f['toRelativeCalendar']()):_0x256f1f['hasSame'](_0x55bd93,'day')?(_0x45b06b=_0x55bd93['toJSDate'](),_0x3b625f=_0x256f1f['toRelativeCalendar']()):_0x256f1f['hasSame'](_0x33ffbf,'week')?(_0x45b06b=_0x256f1f['startOf']('week')['toJSDate'](),_0x3b625f=_0x256f1f['weekdayLong']||''):_0x256f1f['hasSame'](_0x33ffbf,'year')?(_0x45b06b=_0x256f1f['startOf']('month')['toJSDate'](),_0x3b625f=_0x256f1f['monthLong']||''):(_0x45b06b=_0x256f1f['startOf']('year')['toJSDate'](),_0x3b625f=String(_0x256f1f['year'])),{'startDate':_0x45b06b,'localizedPeriodName':_0x3b625f};}class ai extends ts{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x173623,_0x5a53a,_0x550305,_0x1645df){super(_0x173623);const _0x2262bd=ci(_0x5a53a,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x5a53a,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x550305,this['_requireRevisionName']=_0x1645df,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':_0x2262bd}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x28db1b){const _0x699b28=new hi(this['locale'],_0x28db1b,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x699b28);}['removeRevision'](_0x2fc54d){const _0x49223e=this['revisionViews']['find'](_0x307b79=>_0x307b79['id']===_0x2fc54d['id']);this['revisionViews']['remove'](_0x49223e);}}class as extends ts{constructor(_0x3bbe65){super(_0x3bbe65);const _0xac2e91=new _0x3ec742();_0xac2e91['content']=_0x4a84f1['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0xac2e91,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[w(_0x3bbe65,'Revision\x20history')]}]});}}class ni extends ts{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x38cbbf,_0x3a3394,_0x13a79a,_0x1d6918){super(_0x38cbbf);const _0x5166b2=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x3a3394,this['_revisionActions']=_0x13a79a,this['_requireRevisionName']=_0x1d6918,this['on']('select',(_0x4b694f,_0x4aaaa1)=>{this['fire']('revisionSelected',_0x4aaaa1);}),this['on']('setName',(_0x561fd7,_0x894c35)=>{this['fire']('revisionSetName',_0x894c35);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x38cbbf),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x5166b2['if']('isEnabled','ck-disabled',_0x3ca1ff=>!_0x3ca1ff)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x1754e2 of this['_revisions'])this['_addRevision'](_0x1754e2);this['_revisions']['on']('add',(_0x1207e6,_0x269876)=>{this['_addRevision'](_0x269876);}),this['_revisions']['on']('remove',(_0x415dba,_0x5f494c)=>{this['_removeRevision'](_0x5f494c);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x36d995=>_0x36d995['revisionViews']['map'](_0x3f5283=>_0x3f5283))['flat']();}['selectRevision'](_0xf0c28f){for(const _0x591403 of this['revisionViews'])_0xf0c28f&&_0xf0c28f['id']===_0x591403['id']?_0x591403['select']():_0x591403['deselect']();}['highlightRevisions'](_0x258b51){for(const _0x4ba64d of this['revisionViews'])_0x258b51['some'](({id:_0x26336a})=>_0x26336a===_0x4ba64d['id'])?_0x4ba64d['highlight']():_0x4ba64d['unhighlight']();}['_addRevision'](_0x2879c9){const _0x5d58dd=ci(_0x2879c9['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x4fb706=this['timePeriodViews']['get'](0x0);_0x4fb706&&_0x4fb706['startDate']['getTime']()===_0x5d58dd['getTime']()||(_0x4fb706=new ai(this['locale'],_0x5d58dd,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x4fb706)),_0x4fb706['addRevision'](_0x2879c9);}['_removeRevision'](_0xe2c562){const _0x52b4bb=ci(_0xe2c562['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x52b4bb)['removeRevision'](_0xe2c562);}['_getTimePeriodViewByStartDate'](_0x48cc8e){return this['timePeriodViews']['find'](_0x4ceb37=>_0x4ceb37['startDate']['getTime']()===_0x48cc8e['getTime']());}}class R extends _0x55c2ea{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{ObservableMixin as _0xa45c52,uid as _0xa0f6ce,Collection as _0x6948d8,logWarning as _0x3263c9,FocusTracker as _0xd9330b,KeystrokeHandler as _0x2a2ef9,scrollViewportToShowTarget as _0x412950,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x363180}from'@ckeditor/ckeditor5-utils/dist/index.js';import{cloneDeep as _0x129f66,set as _0x3a248b,unset as _0x3ec00b,isEqual as _0x6a66f0}from'lodash-es';import{Plugin as _0x5a8318,Context as _0xe568e7,PendingActions as _0x459abd,icons as _0x353022,Command as _0x5c8442,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{Users as _0x2145f4,getMarkerDomElement as _0x5d1cab,ConfirmMixin as _0x529bfb,sanitizeEditorConfig as _0x52c1d3}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x5dbf0d,ViewText as _0x55cba7,ViewElement as _0x3e7388,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x503e00,ViewAttributeElement as _0x4bbfc3,ViewEmptyElement as _0x130aa8,ViewRawElement as _0x386332,ViewUIElement as _0x5da548,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{View as _0x426b94,injectCssTransitionDisabler as ts,submitHandler as _0x374a0d,LabeledFieldView as at,createLabeledInputText as _0x3702a7,createDropdown as _0x42ea35,ListView as te,ListItemView as _0x21decc,ButtonView as _0x3e3432,MenuBarMenuView as _0x14bc10,MenuBarMenuListView as _0x2f8cdd,MenuBarMenuListItemView as _0x378b88,MenuBarMenuListItemButtonView as _0x41889f,ContextualBalloon as _0x26dedd,ToolbarSeparatorView as _0x77fb68,IconView as _0x5806cf,addListToDropdown as _0x58d5a8,ViewModel as to,EditorUI as ht,normalizeToolbarConfig as ct,BoxedEditorUIView as dt,StickyPanelView as lt,ToolbarView as pt,InlineEditableUIView as ut}from'@ckeditor/ckeditor5-ui/dist/index.js';import{DateTime as _0x56d018}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0xa45c52(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x10e10d){super(),this['id']=_0x10e10d['id']||_0xa0f6ce(),this['creator']=_0x10e10d['creator']||null,this['authors']=_0x10e10d['authors']||[],this['diffData']=_0x10e10d['diffData']||null,this['toVersion']=_0x10e10d['toVersion']||0x0,this['fromVersion']=_0x10e10d['fromVersion']||0x0,this['set']('name',_0x10e10d['name']||''),this['set']('createdAt',_0x10e10d['createdAt']||new Date()),this['set']('attributes',_0x10e10d['attributes']||{});}['setName'](_0x1a6121){this['_update']({'name':_0x1a6121});}['setAttribute'](_0x28f5f4,_0x1ea892){const _0x379e2e=_0x129f66(this['attributes']);_0x3a248b(_0x379e2e,_0x28f5f4,_0x1ea892),this['_update']({'attributes':_0x379e2e});}['removeAttribute'](_0x16aa82){const _0x1acc9f=_0x129f66(this['attributes']);_0x3ec00b(_0x1acc9f,_0x16aa82),this['_update']({'attributes':_0x1acc9f});}['_update'](_0x29a825,_0x54859f=!0x1){let _0x12e698=!0x1;const _0x266ee0={'id':this['id']},_0x1fefdc=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x465b90 of _0x1fefdc){const _0x6d1d28=_0x29a825[_0x465b90];void 0x0!==_0x6d1d28&&_0x6d1d28!==this[_0x465b90]&&(this[_0x465b90]=_0x6d1d28,_0x266ee0[_0x465b90]=_0x6d1d28,_0x12e698=!0x0);}_0x12e698&&(_0x266ee0['authors']&&(_0x266ee0['authorsIds']=_0x266ee0['authors']['map'](_0x9882f3=>_0x9882f3['id']),delete _0x266ee0['authors']),this['fire']('_update',_0x266ee0,_0x54859f));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x57e6d1=>_0x57e6d1['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x5a8318{['_revisions'];static get['requires'](){return[_0x2145f4];}static get['pluginName'](){return'RevisionsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['length'](){return this['_revisions']['length'];}constructor(_0x17796a){super(_0x17796a),this['_revisions']=new _0x6948d8();}['afterInit'](){!function(_0x18be7f){function _0x23aece(_0x4aeda6,_0x26ca0e,_0x4dbf02){const _0x5dff37={};_0x5dff37[_0x43c82f([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x5dff37[_0x43c82f([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],_0x5dff37[_0x43c82f([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],_0x5dff37[_0x43c82f([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],_0x5dff37[_0x43c82f([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],_0x5dff37[_0x43c82f([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],_0x5dff37[_0x43c82f([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],_0x5dff37[_0x43c82f([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],_0x5dff37[_0x43c82f([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],_0x5dff37[_0x43c82f([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],_0x5dff37[_0x43c82f([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 _0x294811=new Uint8Array(0x10);for(let _0x3b721b=0xf;_0x3b721b>=0x0;--_0x3b721b)_0x294811[_0x3b721b]=_0x4dbf02%0x100,_0x4dbf02=parseInt(_0x4dbf02/0x100);let _0x2e861e=null,_0x25f96c=0x10;const _0x17a9e5=new Uint8Array(_0x26ca0e),_0x56543f=[],_0x1a0c47=[];_0x3e103d();for(let _0x51ff2e=0x0;_0x51ff2e<_0x4aeda6[_0x43c82f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51ff2e++)0x10===_0x25f96c&&(_0x2e861e=_0x4558df(_0x294811),_0x25f96c=0x0,_0xae8d22(_0x294811)),_0x4aeda6[_0x51ff2e]^=_0x2e861e[_0x25f96c++];return _0x4aeda6;function _0xb3738(_0x5a7bf4){const _0x5202da=[];for(let _0x4406dd=0x0;_0x4406dd<_0x5a7bf4[_0x43c82f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4406dd+=0x4)_0x5202da[_0x43c82f([0x70,0x75,0x73,0x68])](_0x5a7bf4[_0x4406dd]<<0x18|_0x5a7bf4[_0x4406dd+0x1]<<0x10|_0x5a7bf4[_0x4406dd+0x2]<<0x8|_0x5a7bf4[_0x4406dd+0x3]);return _0x5202da;}function _0xae8d22(_0x85665b){for(let _0x155fcb=0xf;_0x155fcb>=0x0;_0x155fcb--){if(0xff!==_0x85665b[_0x155fcb]){_0x85665b[_0x155fcb]++;break;}_0x85665b[_0x155fcb]=0x0;}}function _0x4558df(_0x1ace83){const _0x495c59=_0x56543f[_0x43c82f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0xf47fde=[0x0,0x0,0x0,0x0];let t=_0xb3738(_0x1ace83);for(let _0x2308bb=0x0;_0x2308bb<0x4;_0x2308bb++)t[_0x2308bb]^=_0x56543f[0x0][_0x2308bb];for(let _0x52b113=0x1;_0x52b113<_0x495c59;_0x52b113++){for(let _0x11e693=0x0;_0x11e693<0x4;_0x11e693++)_0xf47fde[_0x11e693]=_0x5dff37[_0x43c82f([0x54,0x31])][t[_0x11e693]>>0x18&0xff]^_0x5dff37[_0x43c82f([0x54,0x32])][t[(_0x11e693+0x1)%0x4]>>0x10&0xff]^_0x5dff37[_0x43c82f([0x54,0x33])][t[(_0x11e693+0x2)%0x4]>>0x8&0xff]^_0x5dff37[_0x43c82f([0x54,0x34])][0xff&t[(_0x11e693+0x3)%0x4]]^_0x56543f[_0x52b113][_0x11e693];t=_0xf47fde[_0x43c82f([0x73,0x6c,0x69,0x63,0x65])]();}const _0x40e3b8=new Uint8Array(0x10);let _0x202d4a;for(let _0x539c4f=0x0;_0x539c4f<0x4;_0x539c4f++)_0x202d4a=_0x56543f[_0x495c59][_0x539c4f],_0x40e3b8[0x4*_0x539c4f]=0xff&(_0x5dff37[_0x43c82f([0x53])][t[_0x539c4f]>>0x18&0xff]^_0x202d4a>>0x18),_0x40e3b8[0x4*_0x539c4f+0x1]=0xff&(_0x5dff37[_0x43c82f([0x53])][t[(_0x539c4f+0x1)%0x4]>>0x10&0xff]^_0x202d4a>>0x10),_0x40e3b8[0x4*_0x539c4f+0x2]=0xff&(_0x5dff37[_0x43c82f([0x53])][t[(_0x539c4f+0x2)%0x4]>>0x8&0xff]^_0x202d4a>>0x8),_0x40e3b8[0x4*_0x539c4f+0x3]=0xff&(_0x5dff37[_0x43c82f([0x53])][0xff&t[(_0x539c4f+0x3)%0x4]]^_0x202d4a);return _0x40e3b8;}function _0x3e103d(){const _0x86b828=_0x5dff37[_0x43c82f([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x17a9e5[_0x43c82f([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x178b3a=0x0;_0x178b3a<=_0x86b828;_0x178b3a++)_0x56543f[_0x43c82f([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x1a0c47[_0x43c82f([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x554499=0x4*(_0x86b828+0x1),_0x1116f4=_0x17a9e5[_0x43c82f([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x17c866=_0xb3738(_0x17a9e5);let _0x3b7b95;for(let _0x3d6ec4=0x0;_0x3d6ec4<_0x1116f4;_0x3d6ec4++)_0x3b7b95=_0x3d6ec4>>0x2,_0x56543f[_0x3b7b95][_0x3d6ec4%0x4]=_0x17c866[_0x3d6ec4],_0x1a0c47[_0x86b828-_0x3b7b95][_0x3d6ec4%0x4]=_0x17c866[_0x3d6ec4];let _0x37badf,_0x13e9af=0x0,t=_0x1116f4;for(;t<_0x554499;){_0x37badf=_0x17c866[_0x1116f4-0x1],_0x17c866[0x0]^=_0x5dff37[_0x43c82f([0x53])][_0x37badf>>0x10&0xff]<<0x18^_0x5dff37[_0x43c82f([0x53])][_0x37badf>>0x8&0xff]<<0x10^_0x5dff37[_0x43c82f([0x53])][0xff&_0x37badf]<<0x8^_0x5dff37[_0x43c82f([0x53])][_0x37badf>>0x18&0xff]^_0x5dff37[_0x43c82f([0x72,0x63,0x6f,0x6e])][_0x13e9af]<<0x18,_0x13e9af+=0x1;for(let _0x395673=0x1;_0x395673<_0x1116f4/0x2;_0x395673++)_0x17c866[_0x395673]^=_0x17c866[_0x395673-0x1];_0x37badf=_0x17c866[_0x1116f4/0x2-0x1],_0x17c866[_0x1116f4/0x2]^=_0x5dff37[_0x43c82f([0x53])][0xff&_0x37badf]^_0x5dff37[_0x43c82f([0x53])][_0x37badf>>0x8&0xff]<<0x8^_0x5dff37[_0x43c82f([0x53])][_0x37badf>>0x10&0xff]<<0x10^_0x5dff37[_0x43c82f([0x53])][_0x37badf>>0x18&0xff]<<0x18;for(let _0x38e3bd=_0x1116f4/0x2+0x1;_0x38e3bd<_0x1116f4;_0x38e3bd++)_0x17c866[_0x38e3bd]^=_0x17c866[_0x38e3bd-0x1];let _0x41a0dc,_0x14c61e,_0xf3ca70=0x0;for(;_0xf3ca70<_0x1116f4&&t<_0x554499;)_0x41a0dc=t>>0x2,_0x14c61e=t%0x4,_0x56543f[_0x41a0dc][_0x14c61e]=_0x17c866[_0xf3ca70],_0x1a0c47[_0x86b828-_0x41a0dc][_0x14c61e]=_0x17c866[_0xf3ca70++],t++;}for(let _0x57f464=0x1;_0x57f464<_0x86b828;_0x57f464++)for(let _0x222c89=0x0;_0x222c89<0x4;_0x222c89++)_0x37badf=_0x1a0c47[_0x57f464][_0x222c89],_0x1a0c47[_0x57f464][_0x222c89]=_0x5dff37[_0x43c82f([0x55,0x31])][_0x37badf>>0x18&0xff]^_0x5dff37[_0x43c82f([0x55,0x32])][_0x37badf>>0x10&0xff]^_0x5dff37[_0x43c82f([0x55,0x33])][_0x37badf>>0x8&0xff]^_0x5dff37[_0x43c82f([0x55,0x34])][0xff&_0x37badf];}}function _0x43c82f(_0x5afa05){return _0x5afa05['map'](_0x265e6d=>String['fromCharCode'](_0x265e6d))['join']('');}(_0x4436d3=>{function _0x40e759(){const _0x526e7e=[{[_0x43c82f([0x69,0x64])]:0x1,[_0x43c82f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x43c82f([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x43c82f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x43c82f([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x43c82f([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x43c82f([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x43c82f([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x43c82f([0x69,0x64])]:0x2,[_0x43c82f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x43c82f([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x43c82f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x43c82f([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x43c82f([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x43c82f([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]),[_0x43c82f([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x43c82f([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x43c82f([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x43c82f([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x43c82f([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x43c82f([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x43c82f([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x43c82f([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x43c82f([0x69,0x64])]:0x3,[_0x43c82f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x43c82f([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x43c82f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x43c82f([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x43c82f([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x43c82f([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x43c82f([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x43c82f([0x69,0x64])]:0x4,[_0x43c82f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x43c82f([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x43c82f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x43c82f([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x43c82f([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x43c82f([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]),[_0x43c82f([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x43c82f([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x43c82f([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x43c82f([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x43c82f([0x69,0x64])]:0x5,[_0x43c82f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x43c82f([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x43c82f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x43c82f([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x43c82f([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]),[_0x43c82f([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x43c82f([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x43c82f([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x43c82f([0x66,0x67,0x69])]:[0xc]}},{[_0x43c82f([0x69,0x64])]:0x6,[_0x43c82f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x43c82f([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x43c82f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x43c82f([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x43c82f([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x43c82f([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x43c82f([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x43c82f([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x43c82f([0x66,0x67,0x69])]:[0xc]}},{[_0x43c82f([0x69,0x64])]:0x7,[_0x43c82f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x43c82f([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x43c82f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x43c82f([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x43c82f([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x43c82f([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x43c82f([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x43c82f([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x43c82f([0x66,0x67,0x69])]:[0xc]}},{[_0x43c82f([0x69,0x64])]:0x8,[_0x43c82f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x43c82f([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x43c82f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x43c82f([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x43c82f([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]),[_0x43c82f([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x43c82f([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x43c82f([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x43c82f([0x66,0x67,0x69])]:[0xc]}},{[_0x43c82f([0x69,0x64])]:0x9,[_0x43c82f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x43c82f([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x43c82f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x43c82f([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x43c82f([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x43c82f([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x43c82f([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x43c82f([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x43c82f([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x43c82f([0x69,0x64])]:0xa,[_0x43c82f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x43c82f([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]),[_0x43c82f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x43c82f([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]),[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x43c82f([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]),[_0x43c82f([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x43c82f([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x43c82f([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x43c82f([0x66,0x67,0x69])]:[0xc]}},{[_0x43c82f([0x69,0x64])]:0xb,[_0x43c82f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x43c82f([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x43c82f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x43c82f([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x43c82f([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x43c82f([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x43c82f([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x43c82f([0x69,0x64])]:0xc,[_0x43c82f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x43c82f([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x43c82f([0x69,0x64])]:0xd,[_0x43c82f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x43c82f([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x43c82f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x43c82f([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x43c82f([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x43c82f([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x43c82f([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x43c82f([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x43c82f([0x66,0x67,0x69])]:[0xc]}},{[_0x43c82f([0x69,0x64])]:0xe,[_0x43c82f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x43c82f([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x43c82f([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x43c82f([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])},{[_0x43c82f([0x69,0x64])]:0xf,[_0x43c82f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x43c82f([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x43c82f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x43c82f([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x43c82f([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x43c82f([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x43c82f([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x43c82f([0x69,0x64])]:0x10,[_0x43c82f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x43c82f([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x43c82f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x43c82f([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x43c82f([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x43c82f([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x43c82f([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x43c82f([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x43c82f([0x66,0x67,0x69])]:[0xc]}}];return _0x5dc7e8(_0x526e7e),_0x526e7e;function _0x85b6ca(_0x3acebb){return 0x1<<_0x3acebb-0x1;}function _0x5dc7e8(_0xabed66){_0xabed66[_0x43c82f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x14065f=>{_0x14065f[_0x43c82f([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x85b6ca(_0x14065f[_0x43c82f([0x69,0x64])]),_0x2e8358(_0x14065f)&&_0x14065f[_0x43c82f([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5dc7e8(_0x14065f[_0x43c82f([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x2e8358(_0x89d74f){return _0x43c82f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x89d74f;}const _0x5ba18b=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x4ebded=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x2fc753(_0x198ed2){const _0x677a43=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x340bd9(_0x198ed2,new Uint8Array([..._0x5ba18b,..._0x677a43,..._0x4ebded]));}function _0x340bd9(_0x9edf1e,_0x1d6b5d){const _0x168eb6=_0x47522a(_0x9edf1e),_0x154cf9=Array[_0x43c82f([0x66,0x72,0x6f,0x6d])](_0x2b8882(_0x168eb6)),_0xba2e60=_0x154cf9[_0x43c82f([0x70,0x6f,0x70])](),_0x478656=_0x154cf9[_0x43c82f([0x70,0x6f,0x70])]();return _0x844702(_0x23aece(_0x154cf9,_0x1d6b5d,_0x478656+0x100*_0xba2e60));}function _0x47522a(_0x217058){const _0x2ad065=atob(_0x217058),[_0x543d42,_0x14074e]=_0x2ad065[_0x43c82f([0x73,0x70,0x6c,0x69,0x74])](_0x43c82f([0x2d]));try{if(atob(_0x14074e))return atob(_0x543d42);}catch(_0x2a030d){}return _0x2ad065;}function _0x2eeaff(_0x35cbcb){try{const _0x27be2d=_0x2fc753(_0x35cbcb),_0x4157e9=JSON[_0x43c82f([0x70,0x61,0x72,0x73,0x65])](_0x27be2d),_0x3a9e93=parseInt(_0x4157e9[_0x43c82f([0x31])]),_0x3e3d2c=_0x4157e9[_0x43c82f([0x32])]||'',_0x4b6bd7=parseInt(_0x4157e9[_0x43c82f([0x33])]),_0x157e46=parseInt(_0x4157e9[_0x43c82f([0x34])])||0x0,_0xe5e52b=parseInt(_0x4157e9[_0x43c82f([0x35])])||0x0;return{[_0x43c82f([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x3e3d2c,[_0x43c82f([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x157e46,[_0x43c82f([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x3a9e93,[_0x43c82f([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x4b6bd7,[_0x43c82f([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0xe5e52b};}catch(_0x314b05){return null;}}const _0x15212f=_0x40e759(),_0x5bb7a0={[_0x43c82f([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x43d7b3,[_0x43c82f([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])]:_0x32d1e4,[_0x43c82f([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])]:_0x102f34},_0x70a298=_0x4436d3[_0x43c82f([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x43c82f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0xb23c7=_0x43c82f([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x4436d3?_0x4436d3['context']:_0x4436d3['editor'],_0x118deb=_0x43c82f([0x34,0x30,0x34,0x38,0x32,0x30,0x35,0x30]),_0x2bc479=_0x43c82f([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]),_0x2a73f2=_0xb23c7['config']['get'](_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x5cf17f=_0x15212f[_0x43c82f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e8358)[_0x43c82f([0x66,0x69,0x6e,0x64])](_0x2b3c6c=>_0x2b3c6c[_0x43c82f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x70a298);function _0x49c08a(_0x7f470a,_0x48667e){_0x5bb7a0[_0x48667e[_0x43c82f([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x7f470a,_0x48667e),_0x48667e[_0x43c82f([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x48667e[_0x43c82f([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x43c82f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x316e80=>_0x2d0767(_0xb23c7,_0x316e80[_0x43c82f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x43c82f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x52d74e=>_0x49c08a(_0x7f470a,_0x52d74e));}function _0x43d7b3(_0x168ce9,_0x2ee38d){_0x2e047c(_0x54b616(_0x168ce9,_0x2ee38d),_0x2ee38d);}function _0x32d1e4(_0x437656,_0x3cfb22){function _0x1f9b7e(_0x32f45c,_0x5519ed){try{if(_0x2d0767(_0xb23c7,_0x43c82f([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x32f45c){const _0x42aea0=_0x482842(_0xb23c7,_0x43c82f([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x43c82f([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x42aea0)/0x2>_0x32f45c[_0x43c82f([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x158c7a(_0x5519ed[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x43c82f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x54b616(_0x32f45c,_0x5519ed);}catch(_0x490c19){return _0x158c7a(_0x5519ed[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x43c82f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x2e047c(_0x1f9b7e(_0x437656,_0x3cfb22),_0x3cfb22);}function _0x102f34(_0x410ec3,_0x37ed17){const _0x1c7451=_0x4ebded[0x0]*_0x5ba18b[0x1],_0x2a532f=_0x4ebded[0x0]*_0x5ba18b[0x2],_0x17ef64=_0x4ebded[0x2]*_0x5ba18b[0x2];_0x2d0767(_0xb23c7,_0x43c82f([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x482842(_0xb23c7,_0x43c82f([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x43c82f([0x73,0x74,0x61,0x74,0x65])]==_0x43c82f([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x3aebeb()]=_0x17ef64);function _0x57c47c(_0x182fbc,_0x4b3e51){try{return _0x10caab()?_0x158c7a(_0x4b3e51[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x43c82f([0x56,0x61,0x6c,0x69,0x64])):_0x54b616(_0x182fbc,_0x4b3e51);}catch(_0x260372){return _0x158c7a(_0x4b3e51[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x43c82f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x27e1c7(_0x586c3a,_0x11a42a){const _0x580d55=0x7;if(_0x586c3a==_0x11a42a[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x43c82f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x3d0d2f();else{if(_0x586c3a==_0x11a42a[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x43c82f([0x54,0x72,0x69,0x61,0x6c])){const _0x108495=_0x1ed6aa();_0x108495&&_0x7db77c(_0x108495,_0x11a42a[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x4f80c9=_0x270daa();window[_0x43c82f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x7db77c(_0x43c82f([0x74,0x69,0x6d,0x65]),_0x11a42a[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x4f80c9);const _0x3debe3=_0x482842(_0xb23c7,_0x43c82f([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x43c82f([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x3debe3[_0x43c82f([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x580d55?_0x7db77c(_0x43c82f([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x11a42a[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x3debe3['on'](_0x43c82f([0x61,0x64,0x64]),()=>{_0x3debe3[_0x43c82f([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x580d55&&_0x7db77c(_0x43c82f([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x11a42a[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x1ed6aa(){if(!_0x2d0767(_0xb23c7,_0x43c82f([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x3df698 in window)if(Number['isNaN'](Number(_0x3df698))){if(window[_0x3df698]===_0x1c7451)return _0x43c82f([0x74,0x69,0x6d,0x65]);if(window[_0x3df698]===_0x2a532f)return _0x43c82f([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x10caab(){if(!_0x2d0767(_0xb23c7,_0x43c82f([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x2431b9 in window)if(Number['isNaN'](Number(_0x2431b9))&&window[_0x2431b9]===_0x17ef64)return!0x0;return!0x1;}function _0x7db77c(_0x19f65e,_0x804f16){_0x3d0d2f(),_0x158c7a(_0x804f16+_0x43c82f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x19f65e),window[_0x3aebeb()]=_0x19f65e===_0x43c82f([0x74,0x69,0x6d,0x65])?_0x1c7451:_0x2a532f;}function _0x270daa(){let _0x58c987=_0x4ebded[0x6]*_0x5ba18b[0x8]*_0x5ba18b[0x6];return _0x2d0767(_0xb23c7,_0x43c82f([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x58c987/=0xa),_0x58c987;}function _0x3d0d2f(){const _0x33bc02=_0xb23c7;function _0x906c5(){_0x2d0767(_0x33bc02,_0x43c82f([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x482842(_0x33bc02,_0x43c82f([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x43c82f([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x43c82f([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x482842(_0x33bc02,_0x43c82f([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x43c82f([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x482842(_0x33bc02,_0x43c82f([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x43c82f([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x5c17cc,_0x482842(_0x33bc02,_0x43c82f([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x43c82f([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x5c17cc,_0x33bc02[_0x43c82f([0x6d,0x6f,0x64,0x65,0x6c])][_0x43c82f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5c17cc,_0x33bc02[_0x43c82f([0x6d,0x6f,0x64,0x65,0x6c])][_0x43c82f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5c17cc,_0x33bc02[_0x43c82f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x43c82f([0x6d,0x6f,0x64,0x65,0x6c]))),_0x2d0767(_0x33bc02,_0x43c82f([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x482842(_0x33bc02,_0x43c82f([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x43c82f([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x43c82f([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x482842(_0x33bc02,_0x43c82f([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x43c82f([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x482842(_0x33bc02,_0x43c82f([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x43c82f([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x5c17cc,_0x482842(_0x33bc02,_0x43c82f([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x43c82f([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x5c17cc);}_0x33bc02[_0x43c82f([0x73,0x74,0x61,0x74,0x65])]==_0x43c82f([0x72,0x65,0x61,0x64,0x79])?_0x906c5():_0x33bc02[_0x43c82f([0x6f,0x6e,0x63,0x65])](_0x43c82f([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x2d0767(_0x33bc02,_0x43c82f([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x906c5(),_0x2d0767(_0x33bc02,_0x43c82f([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x1dac89=_0x482842(_0x33bc02,_0x43c82f([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x1b7ea2=_0x1dac89['getRevision'](0x0),_0x2f6849=_0x1dac89['getEarlierVisibleRevision'](_0x1b7ea2[_0x43c82f([0x69,0x64])]);_0x482842(_0x33bc02,_0x43c82f([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x43c82f([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x1b7ea2[_0x43c82f([0x69,0x64])],_0x2f6849?_0x2f6849[_0x43c82f([0x69,0x64])]:null,0x1)['then'](()=>_0x906c5());}});}_0x27e1c7(_0x57c47c(_0x410ec3,_0x37ed17),_0x37ed17);}function _0x54b616(_0x52713b,_0x138bf2){try{return _0x597b6e(_0x138bf2)?_0x158c7a(_0x138bf2[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x43c82f([0x56,0x61,0x6c,0x69,0x64])):_0x52713b&&_0x170367(_0x52713b[_0x43c82f([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x138bf2)?_0x52713b[_0x43c82f([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x43c82f([0x6f,0x70,0x65,0x6e])][_0x43c82f([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x118deb)/0x2>_0x52713b[_0x43c82f([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x158c7a(_0x138bf2[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x43c82f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x52713b[_0x43c82f([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x158c7a(_0x138bf2[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x43c82f([0x54,0x72,0x69,0x61,0x6c])):_0x158c7a(_0x138bf2[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x43c82f([0x56,0x61,0x6c,0x69,0x64])):_0x158c7a(_0x138bf2[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x43c82f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x31cf28){return _0x158c7a(_0x138bf2[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x43c82f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x2e047c(_0x4aab0c,_0x28569d){if(_0xb23c7 instanceof _0xe568e7){const _0x8c88c8=_0xb23c7;_0x4aab0c==_0x28569d[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x43c82f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x5192c0(_0x8c88c8):_0x4aab0c==_0x28569d[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x43c82f([0x54,0x72,0x69,0x61,0x6c])&&window[_0x43c82f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x5192c0(_0x8c88c8),_0x158c7a(_0x28569d[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x43c82f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x4ebded[0x6]*_0x5ba18b[0x8]*_0x5ba18b[0x6]),_0x8c88c8[_0x43c82f([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x43c82f([0x6f,0x6e])](_0x43c82f([0x61,0x64,0x64]),(_0x335ac5,_0x584ebd)=>{_0x4aab0c!=_0x28569d[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x43c82f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x4aab0c!=_0x28569d[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x43c82f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x4aab0c!=_0x28569d[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x43c82f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0xe79134(_0x584ebd);});}else{const _0x1496f8=_0xb23c7;_0x4aab0c==_0x28569d[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x43c82f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0xe79134(_0x1496f8):_0x4aab0c==_0x28569d[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x43c82f([0x54,0x72,0x69,0x61,0x6c])&&_0x1496f8[_0x43c82f([0x6f,0x6e])](_0x43c82f([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x4c7f9f=0x0;_0x1496f8[_0x43c82f([0x6d,0x6f,0x64,0x65,0x6c])][_0x43c82f([0x6f,0x6e])](_0x43c82f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5b7c7c,_0x581261)=>{_0x581261[0x0][_0x43c82f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4c7f9f++,0x1f8===_0x4c7f9f&&(_0xe79134(_0x1496f8),_0x158c7a(_0x28569d[_0x43c82f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x43c82f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x5b7c7c[_0x43c82f([0x6f,0x66,0x66])]());},{'priority':_0x43c82f([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x158c7a(_0x40a4d8){const _0x47d0da=_0x3aebeb();return _0xb23c7[_0x47d0da]=_0x40a4d8,_0x40a4d8;}function _0x3aebeb(){const _0x483eee=String(window[_0x43c82f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x43c82f([0x6e,0x6f,0x77])]())[_0x43c82f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x43c82f([0x2e]),'');let _0x56b16e='';for(let _0x28b02d=0x0;_0x28b02d<_0x483eee[_0x43c82f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x28b02d+=0x2){let _0x1b6f90=parseInt(_0x483eee[_0x43c82f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28b02d,_0x28b02d+0x2));_0x1b6f90>=_0x2bc479[_0x43c82f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1b6f90-=_0x2bc479[_0x43c82f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x56b16e+=_0x2bc479[_0x1b6f90];}return _0x56b16e;}function _0x5192c0(_0xfc567a){for(const _0x3e1c16 of _0xfc567a[_0x43c82f([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0xe79134(_0x3e1c16);_0x482842(_0xfc567a,_0x43c82f([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x43c82f([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x482842(_0xfc567a,_0x43c82f([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x43c82f([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x5c17cc;}function _0xe79134(_0x2fba43){function _0x3e5c3e(){_0x2fba43[_0x43c82f([0x6d,0x6f,0x64,0x65,0x6c])][_0x43c82f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5c17cc,_0x2fba43[_0x43c82f([0x6d,0x6f,0x64,0x65,0x6c])][_0x43c82f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5c17cc,_0x2fba43[_0x43c82f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x43c82f([0x6d,0x6f,0x64,0x65,0x6c]));}_0x2fba43[_0x43c82f([0x73,0x74,0x61,0x74,0x65])]==_0x43c82f([0x72,0x65,0x61,0x64,0x79])?_0x3e5c3e():_0x2fba43[_0x43c82f([0x6f,0x6e,0x63,0x65])](_0x43c82f([0x72,0x65,0x61,0x64,0x79]),()=>_0x3e5c3e());}function _0x5c17cc(){return null;}function _0x170367(_0xfb82ac,_0x5caf66){const _0xcbac86=!!(_0xfb82ac&_0x5caf66[_0x43c82f([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x357168=_0x47b431(_0xfb82ac,_0x5caf66);return _0xcbac86||_0x357168;}function _0x47b431(_0x37b035,_0x5ebc7a){const _0x545430=(_0x5ebc7a[_0x43c82f([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x43c82f([0x66,0x67,0x69])]||null;return!!_0x545430&&_0x15212f[_0x43c82f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x21a485=>_0x545430[_0x43c82f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21a485[_0x43c82f([0x69,0x64])]))[_0x43c82f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xedbae7=>!_0x2f49a4(_0xedbae7))[_0x43c82f([0x73,0x6f,0x6d,0x65])](_0x3094c5=>!!(_0x37b035&_0x3094c5[_0x43c82f([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x2f49a4(_0x54fa79){const _0x2e9c1d={[_0x43c82f([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])]:_0x4bfde9};return!!_0x54fa79['forbiddenHandler']&&_0x2e9c1d[_0x54fa79['forbiddenHandler']]();}function _0x4bfde9(){return!window[_0x43c82f([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x2d0767(_0xb23c7,_0x43c82f([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x597b6e(_0x27e3da){if(!_0x2d0767(_0xb23c7,_0x27e3da[_0x43c82f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x527df3=_0x27e3da[_0x43c82f([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x3a6290=_0x527df3[_0x43c82f([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0xdece59=_0x527df3[_0x43c82f([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x15222f=_0x527df3[_0x43c82f([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x2d0767(_0xb23c7,_0x43c82f([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x482842(_0xb23c7,_0x43c82f([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x43c82f([0x73,0x74,0x61,0x74,0x65])]==_0x43c82f([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x3a6290)return!0x0;if(_0x2d0767(_0xb23c7,_0x43c82f([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x482842(_0xb23c7,_0x43c82f([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x43c82f([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x43c82f([0x65,0x6e,0x64])&&_0xdece59)return!0x0;return!(!_0x2d0767(_0xb23c7,_0x43c82f([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]))||_0x482842(_0xb23c7,_0x43c82f([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]))[_0x43c82f([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x43c82f([0x65,0x6e,0x64])||!_0x15222f);}function _0x2d0767(_0x28e809,_0x58896e){return _0x28e809[_0x43c82f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x43c82f([0x68,0x61,0x73])](_0x58896e);}function _0x482842(_0x462d50,_0x5a1323){return _0x462d50[_0x43c82f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x43c82f([0x67,0x65,0x74])](_0x5a1323);}function _0x844702(_0x136e51){let _0x1ead9c='';for(const _0xc49cc3 of _0x136e51)_0x1ead9c+=String[_0x43c82f([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0xc49cc3);return _0x1ead9c;}function _0x2b8882(_0x488da8){const _0xea3e75=new Uint8Array(_0x488da8[_0x43c82f([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x140bee=0x0;_0x140bee<_0x488da8[_0x43c82f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x140bee++)_0xea3e75[_0x140bee]=_0x488da8[_0x43c82f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x140bee);return _0xea3e75;}_0x5cf17f&&_0x49c08a(_0x2eeaff(_0x2a73f2),_0x5cf17f);})(_0x18be7f);}(this);}['createRevision'](_0x1be64f){const _0x5ba390=this['editor']['plugins']['get']('Users');return new a({'id':_0x1be64f['id'],'name':_0x1be64f['name'],'creator':_0x1be64f['creatorId']?_0x5ba390['getUser'](_0x1be64f['creatorId']):null,'diffData':_0x1be64f['diffData']||_0x1be64f['data'],'authors':_0x1be64f['authorsIds']['map'](_0x194495=>_0x5ba390['getUser'](_0x194495)),'createdAt':new Date(_0x1be64f['createdAt']),'attributes':_0x1be64f['attributes'],'fromVersion':_0x1be64f['fromVersion'],'toVersion':_0x1be64f['toVersion']});}['addRevision'](_0x907442,_0x2543a7=0x0){this['_revisions']['add'](_0x907442,_0x2543a7);}['getRevision'](_0x52de2e){return this['_revisions']['get'](_0x52de2e);}['getRevisions'](_0x4cdeff={'toJSON':!0x1}){const _0x28fe93=Array['from'](this['_revisions']);return _0x28fe93['reverse'](),_0x4cdeff['toJSON']?_0x28fe93['map'](_0x26f99f=>_0x26f99f['toJSON']()):_0x28fe93;}['getIndex'](_0x193d55){return this['_revisions']['getIndex'](_0x193d55);}['getEarlierVisibleRevision'](_0x3c8e0a){const [,_0x2b7778]=this['getRevisionsIterator'](_0x3c8e0a,{'direction':'earlier'});return _0x2b7778;}['getLaterVisibleRevision'](_0x497d1a){const [,_0x3a6097]=this['getRevisionsIterator'](_0x497d1a,{'direction':'later'});return _0x3a6097;}['getRevisionsInDiff'](_0x24d19e){const _0x5ae1d1=[];for(const _0x7dd6a4 of this['getRevisionsIterator'](_0x24d19e['newRevisionId']))if(_0x5ae1d1['push'](_0x7dd6a4),_0x7dd6a4['id']===_0x24d19e['oldRevisionId'])break;return _0x5ae1d1;}*['getRevisionsIterator'](_0x192648,{direction:_0x36356b='earlier',filter:_0x2ed842=()=>!0x0}={}){const _0x5caf79='earlier'===_0x36356b?0x1:-0x1;let _0x1e6ed2=this['_revisions']['get'](_0x192648),_0x311964=this['getIndex'](_0x1e6ed2);for(yield _0x1e6ed2;_0x1e6ed2;){if(_0x311964+=_0x5caf79,_0x1e6ed2=this['getRevision'](_0x311964),!_0x1e6ed2)return;_0x2ed842(_0x1e6ed2)&&(yield _0x1e6ed2);}}}function w(_0x11d8cd,_0xa0ba9c,_0x50c4cd){const t=_0x11d8cd['t'];switch(_0xa0ba9c){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'},_0x50c4cd);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x50c4cd);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':_0x503e00,'a':_0x4bbfc3,'e':_0x130aa8,'r':_0x386332,'u':_0x5da548};class l extends _0x5a8318{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x2145f4,A,_0x459abd];}constructor(_0x376708){super(_0x376708),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 _0x3ed381=_0xa0f6ce();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x3ed381},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 _0x4c8005=this['repository']['getRevision'](0x0),_0x459205=_0x4c8005&&null===_0x4c8005['creator']?_0x4c8005:null;if(this['_continueCurrentRevision']=!!_0x459205&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x149d43=this['_source']['getCurrentRevisionId'](),_0xe49fcb=this['repository']['getRevision'](_0x149d43);if(_0xe49fcb)this['_startingVersion']=_0xe49fcb['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x53b971=this['_source']['history']['_operations']['find'](_0x500da2=>!_0x500da2['_isInit']),_0x7a9e32=_0x53b971?_0x53b971['baseVersion']:this['_source']['history']['version'];_0x4c8005?(_0x4c8005['toVersion']<_0x7a9e32&&_0x4c8005['_update']({'toVersion':_0x7a9e32}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x459205['id'],this['_startingVersion']=_0x459205['fromVersion']):(this['_startingVersion']=_0x4c8005['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x7a9e32,this['_continueCurrentRevision']=!0x1);}}else _0x459205&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x459205['toVersion'],this['editor']['model']['document']['history']['version']),_0x459205['fromVersion']===_0x459205['toVersion']?(0x0!==_0x459205['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x459205['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x459205['id'],this['_startingVersion']=_0x459205['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',_0x234a6d=>!_0x234a6d);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x15a4a6=this['repository']['getRevision'](0x0),_0x5b02f1=await this['getRevisionDocumentData'](_0x15a4a6),_0x2a2829=await this['getRevisionRootsAttributes'](_0x15a4a6);this['_replaceEditorDataWithRevisionData'](_0x5b02f1,_0x2a2829);}}['setSource'](_0x4d24c7){this['_source']=_0x4d24c7;}async['update'](){const _0x3625db=await this['_source']['getLatestVersion']();if(_0x3625db>this['currentRevision']['toVersion']){await this['_loadState']();const _0x10fa6d=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x3625db});_0x10fa6d['authors']=_0x10fa6d['authorsIds']['map'](_0xb45eca=>this['editor']['plugins']['get']('Users')['getUser'](_0xb45eca)),this['currentRevision']['_update'](_0x10fa6d);}}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'](_0xc56e61={},_0x4da19f=null){const _0x371356=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x4da19f>this['currentRevision']['toVersion']&&(_0x4da19f=null),null===_0x4da19f&&(_0x4da19f=await this['_source']['getLatestVersion']());const _0x3a8a13=this['_getFromVersion'](_0x4da19f),_0x8662e5=this['buildRevisionData']({'from':_0x3a8a13,'to':_0x4da19f});if(this['currentRevision']['toVersion']<_0x4da19f){const _0x13a7b4=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x4da19f,'to':_0x4da19f});_0x13a7b4['authors']=[],_0x13a7b4['authorsIds']=[],_0x13a7b4['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x13a7b4,!0x0),delete _0x13a7b4['authors'],_0x371356['push'](_0x13a7b4);}_0xc56e61['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0xc56e61['name']=_0xc56e61['name']||null,_0xc56e61['id']=_0xc56e61['id']||_0xa0f6ce(),_0xc56e61={..._0xc56e61,..._0x8662e5};const _0x9b3a03=this['addRevisionData'](_0xc56e61);_0x371356['push'](_0xc56e61);const _0xeb8f49=this['repository']['getIndex'](_0x9b3a03);if(0x0!==_0xeb8f49){const _0x137a50=this['repository']['getRevision'](_0xeb8f49-0x1);if(_0x137a50['fromVersion']!==_0x4da19f){const _0xd918b5=this['_revisionDataBuilder']['getData'](_0x4da19f,_0x137a50['toVersion']),_0x49eab9={'id':_0x137a50['id'],'diffData':_0xd918b5['diffData'],'authorsIds':_0xd918b5['authorsIds'],'authors':_0xd918b5['authorsIds']['map'](_0x319292=>this['editor']['plugins']['get']('Users')['getUser'](_0x319292)),'fromVersion':_0x4da19f};_0x137a50===this['currentRevision']&&(_0x49eab9['createdAt']=new Date(_0xc56e61['createdAt']['getTime']()+0xa)),_0x137a50['_update'](_0x49eab9,!0x0),delete _0x49eab9['authors'],_0x371356['push'](_0x49eab9);}}if(this['adapter']){for(const _0x551696 of _0x371356)this['_bufferUpdate'](_0x551696['id'],_0x551696,!0x0);this['sendBufferedUpdates']();}return _0x9b3a03;}['addRevisionData'](_0x57b895){const _0x403f49=this['repository']['createRevision'](_0x57b895);return this['adapter']&&_0x403f49['on']('_update',(_0x4eaf0f,_0x5c6cdb,_0x43014c)=>{_0x43014c||(this['_bufferUpdate'](_0x5c6cdb['id'],_0x5c6cdb,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x403f49,this['_findInsertionIndex'](_0x403f49)),_0x403f49;}async['getRevisionDocumentData'](_0x13622d){await this['_loadRevisionData'](_0x13622d);const _0x5651a7={};for(const _0x1d81f0 in _0x13622d['diffData']){if(_0x13622d['diffData'][_0x1d81f0]['attachChange']&&!_0x13622d['diffData'][_0x1d81f0]['attachChange']['isAttached'])continue;const _0x376849=this['_removeRevisionMarkers'](JSON['parse'](_0x13622d['diffData'][_0x1d81f0]['insertions'])),_0x3a056c=this['editor']['editing']['view']['document'],_0x3fc485=new _0x5dbf0d(_0x3a056c,_0x376849['map'](_0x1b7f68=>B(_0x1b7f68,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x5651a7[_0x1d81f0]=this['editor']['data']['processor']['toData'](_0x3fc485),this['editor']['data']['processor']['useFillerType']('default');}return _0x5651a7;}async['getRevisionRootsAttributes'](_0x389aca){await this['_loadRevisionData'](_0x389aca);const _0x565c83={};for(const _0x816511 in _0x389aca['diffData'])_0x389aca['diffData'][_0x816511]['attachChange']&&!_0x389aca['diffData'][_0x816511]['attachChange']['isAttached']||(_0x565c83[_0x816511]=_0x389aca['diffData'][_0x816511]['attributesAfter']||{});return _0x565c83;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x43972c=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x25947e=0x0;_0x25947e<_0x43972c['length'];_0x25947e++){const _0x1a4eba=_0x43972c[_0x25947e];let _0x5d51ec=!0x1;for(const _0x245610 of Object['keys'](_0x1a4eba))void 0x0===_0x1a4eba[_0x245610]?delete _0x1a4eba[_0x245610]:'id'!==_0x245610&&(_0x5d51ec=!0x0);_0x5d51ec||(_0x43972c[_0x25947e]=null);}if(_0x43972c=_0x43972c['filter'](_0x29dbb6=>null!==_0x29dbb6),!_0x43972c['length'])return;for(let _0xbc152a=0x0;_0xbc152a<_0x43972c['length'];_0xbc152a++){const _0x3db3dc=_0x43972c[_0xbc152a];void 0x0!==_0x3db3dc['fromVersion']&&void 0x0===_0x3db3dc['toVersion']&&(_0x3db3dc['toVersion']=this['repository']['getRevision'](_0x3db3dc['id'])['toVersion']),void 0x0!==_0x3db3dc['toVersion']&&void 0x0===_0x3db3dc['fromVersion']&&(_0x3db3dc['fromVersion']=this['repository']['getRevision'](_0x3db3dc['id'])['fromVersion']);}const _0x5b913e=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x43972c,_0x5b913e)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x166a36=>{if(_0x166a36){for(const _0x1ff551 of _0x166a36)this['setRevisionData']({'id':_0x1ff551['id'],'createdAt':_0x1ff551['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x3a5d91,_0xa40c20){let _0x4a80e3=this['editor']['config']['get']('initialData'),_0x105739=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x4a80e3){_0x4a80e3={};for(const _0x5dcaaf of this['editor']['model']['document']['getRootNames']())_0x4a80e3[_0x5dcaaf]='';}if('string'==typeof _0x4a80e3&&(_0x4a80e3={'main':_0x4a80e3}),void 0x0===_0x105739){_0x105739={};for(const _0x2b2b99 of this['editor']['model']['document']['getRootNames']())_0x105739[_0x2b2b99]={};}let _0x47db71=!0x1;const _0x43dbad=Object['keys'](_0x4a80e3),_0x17f00d=Object['keys'](_0x3a5d91);for(const _0x35571e of _0x43dbad){if(_0x4a80e3[_0x35571e]!==_0x3a5d91[_0x35571e]&&''!==_0x4a80e3[_0x35571e]['trim']()){_0x47db71=!0x0;break;}if(!_0x6a66f0(_0x105739[_0x35571e],_0xa40c20[_0x35571e])&&Object['keys'](_0x105739[_0x35571e])['length']>0x0){_0x47db71=!0x0;break;}}_0x47db71||(_0x47db71=_0x17f00d['some'](_0x4f9d35=>!this['editor']['model']['document']['getRoot'](_0x4f9d35))),_0x47db71&&_0x3263c9('editor-initial-data-replaced-with-revision-data',{'editorData':_0x4a80e3,'editorRootsAttributes':_0x105739,'revisionData':_0x3a5d91,'revisionRootsAttributes':_0xa40c20}),this['editor']['config']['set']('initialData',_0x3a5d91),this['editor']['config']['set']('rootsAttributes',_0xa40c20);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x53636d=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x53636d['add'](w(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x4e3571){const _0xd8683d=this['repository']['getRevisions']();_0xd8683d['reverse']();let _0x1ca503=0x0;for(;_0x1ca503<_0xd8683d['length'];){const _0x2621ea=_0xd8683d[_0x1ca503];if(_0x2621ea===this['currentRevision']){_0x1ca503++;continue;}if(_0x2621ea['id']===this['_initialRevisionId'])break;const _0x2f98a5=_0x4e3571['toVersion']-_0x2621ea['toVersion']||_0x4e3571['fromVersion']-_0x2621ea['fromVersion'];if(_0x2f98a5>0x0)break;if(_0x2f98a5<0x0)_0x1ca503++;else{if(!_0x4e3571['creator']&&_0x2621ea['creator'])break;if(_0x2621ea['creator']||!_0x4e3571['creator']){if(_0x4e3571['createdAt']>_0x2621ea['createdAt'])break;_0x1ca503++;}else _0x1ca503++;}}return _0x1ca503;}['setRevisionData'](_0x54627d){const _0x313f68=this['repository']['getRevision'](_0x54627d['id']);if(_0x54627d['createdAt']&&(_0x54627d['createdAt']=new Date(_0x54627d['createdAt'])),_0x54627d['authorsIds']){const _0x39f1c6=this['editor']['plugins']['get']('Users');_0x54627d['authors']=_0x54627d['authorsIds']['map'](_0x366695=>_0x39f1c6['getUser'](_0x366695));}_0x313f68['_update'](_0x54627d,!0x0);}['buildRevisionData']({revision:_0x4508ad=null,from:_0x28e70e=null,to:_0x2ce5a4=null}){_0x28e70e=null!==_0x28e70e?_0x28e70e:_0x4508ad['fromVersion'],_0x2ce5a4=null!==_0x2ce5a4?_0x2ce5a4:_0x4508ad['toVersion'];const _0x5bb97b=this['_revisionDataBuilder']['getData'](_0x28e70e,_0x2ce5a4),_0x2f8d17={'diffData':_0x5bb97b['diffData'],'authorsIds':_0x5bb97b['authorsIds'],'fromVersion':_0x28e70e,'toVersion':_0x2ce5a4};if(!_0x4508ad||_0x2ce5a4!==_0x4508ad['toVersion']){const _0x1be7f9=_0x2ce5a4-0x1,_0x250e43=this['_source']['history']['getOperation'](_0x1be7f9);_0x2f8d17['createdAt']=_0x250e43&&_0x250e43['createdAt']||new Date();}if(this['_loadedStateData']&&_0x28e70e===this['_loadedStateData']['fromVersion']){for(const _0xb617a9 of this['_loadedStateData']['authors'])_0x2f8d17['authorsIds']['includes'](_0xb617a9['id'])||_0x2f8d17['authorsIds']['push'](_0xb617a9['id']);}return _0x2f8d17;}['_loadRevisionData'](_0x1360d3){if(!_0x1360d3||_0x1360d3['diffData'])return Promise['resolve']();{const _0xa3da5a=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xa3da5a,'revisionId':_0x1360d3['id']})['then'](_0x3a0ad8=>{_0x1360d3['diffData']=_0x3a0ad8['diffData'];});}}['_bufferUpdate'](_0x3d7378,_0x4b6dda,_0x36c143){if(this['_bufferedUpdates']['has'](_0x3d7378)){const _0x40ac7c=this['_bufferedUpdates']['get'](_0x3d7378);_0x4b6dda=_0x36c143?{..._0x40ac7c,..._0x4b6dda}:{..._0x4b6dda,..._0x40ac7c};}this['_bufferedUpdates']['set'](_0x3d7378,_0x4b6dda);}['_getFromVersion'](_0xf77366){const _0x311f20=this['repository']['getRevisions']();_0x311f20['reverse'](),_0x311f20['shift']();const _0x322b52=_0x311f20['find'](_0x1e020b=>_0x1e020b['toVersion']<=_0xf77366)['toVersion'];return _0x322b52<this['_startingVersion']?this['_startingVersion']:_0x322b52;}['_createInitialRevision'](_0x14af01){const _0x1eb08d=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x1eb08d)this['_initialRevisionId']=_0x1eb08d['id'];else{const _0x3d4ee2=!this['editor']['model']['document']['roots']['find'](_0x53e932=>this['editor']['model']['hasContent'](_0x53e932)),_0x804b40=this['editor']['plugins']['get']('Users')['me']['id'],_0x1e37bc=w(this['editor']['locale'],_0x3d4ee2?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x14af01,'to':_0x14af01,'id':this['_initialRevisionId'],'name':_0x1e37bc,'creatorId':_0x804b40});}}['_createCurrentRevision'](_0x556ef7){const _0x1b0cba=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x1b0cba),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x556ef7,'to':_0x556ef7,'id':_0x1b0cba,'name':'','creatorId':null}));}['_makeRevision']({name:_0x4203cb,from:_0x2f2a76,to:_0xbf6724,creatorId:_0x44b82a,id:_0x193535}){const _0x225d20=this['buildRevisionData']({'from':_0x2f2a76,'to':_0xbf6724});_0x225d20['name']=_0x4203cb,_0x225d20['creatorId']=_0x44b82a,_0x225d20['id']=_0x193535;const _0x1cff34=this['addRevisionData'](_0x225d20);return this['adapter']&&this['_bufferUpdate'](_0x225d20['id'],_0x225d20,!0x0),_0x1cff34;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x4cf238){return(_0x4cf238=_0x4cf238['filter'](_0x599a7e=>!_0x599a7e['name']||'revision-start'!==_0x599a7e['name']&&'revision-end'!==_0x599a7e['name']))['forEach'](_0x5836ad=>{'string'!=typeof _0x5836ad&&(_0x5836ad['children']=this['_removeRevisionMarkers'](_0x5836ad['children']),_0x5836ad['attributes']=_0x5836ad['attributes']['filter'](_0x5d7a14=>!_0x5d7a14[0x0]['startsWith']('data-revision-')));}),_0x4cf238;}}function B(_0x144dea,_0x41c750){const _0x1003ba=_0x41c750['editing']['view']['document'];if('string'==typeof _0x144dea)return new _0x55cba7(_0x1003ba,_0x144dea);{const _0x3f2345=_0x144dea['children']['map'](_0x5a4b7f=>B(_0x5a4b7f,_0x41c750));return new(T[_0x144dea['type']]||_0x3e7388)(_0x1003ba,_0x144dea['name'],_0x144dea['attributes'],_0x3f2345);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x5c78f6){this['editor']=_0x5c78f6,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'](_0x21080a){this['source']=_0x21080a;const _0x2e235c=new Map(),_0x753c1f=new Map(),_0x13a7a4=this['editor']['model']['document']['roots']['map'](_0x171655=>_0x171655['rootName']);for(const _0x29178d of _0x13a7a4){const _0x14b866=this['editor']['model']['document']['getRoot'](_0x29178d),_0x5a8d91=q(_0x14b866);_0x2e235c['set'](_0x29178d,_0x5a8d91),_0x753c1f['set'](_0x29178d,Object['fromEntries'](_0x14b866['getAttributes']()));}const _0xed42f3=Array['from'](this['editor']['model']['markers'])['map'](_0x5e06ee=>[_0x5e06ee['name'],_0x5e06ee['getRange']()]),_0x1f587e=this['source']['version'];this['_saveMetaData'](_0x1f587e,_0x2e235c,_0xed42f3,_0x753c1f),this['_startingRevisionId']=this['_revisionId'];const _0xfaa6e2=new Map(),_0x3051fc=new Map();for(const _0x1c5a76 of _0x13a7a4){const _0x2ba7d1=G(_0x1c5a76);_0xfaa6e2['set'](_0x1c5a76,_0x2ba7d1),_0x3051fc['set'](_0x1c5a76,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0xfaa6e2,[],_0x3051fc);}['getData'](_0x2aad5a,_0x2ef680){if(this['_lastFrom']===_0x2aad5a&&this['_lastTo']<=_0x2ef680)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x2ef680,!0x0);else{if(!this['_savedMetaData']['has'](_0x2aad5a)){const _0x29dc71=this['_getPreviousFrom'](_0x2aad5a);this['_calculateMetaData'](_0x29dc71,_0x2aad5a,!0x1);}this['_calculateMetaData'](_0x2aad5a,_0x2ef680,!0x0);}return this['_lastFrom']=_0x2aad5a,this['_lastTo']=_0x2ef680,this['_getState']();}['loadState'](_0x22d45d){this['_reset'](),this['_lastFrom']=_0x22d45d['fromVersion'],this['_lastTo']=_0x22d45d['toVersion'];for(const _0x4f85c7 in _0x22d45d['diffData']){const _0x45d724=_0x22d45d['diffData'][_0x4f85c7]['attachChange'],_0x540363=_0x129f66(_0x22d45d['diffData'][_0x4f85c7]['attributesBefore'])||{},_0x4015e0=this['_makeModelFromViewString'](_0x22d45d['diffData'][_0x4f85c7]['deletions']);_0x4015e0['rootName']=_0x4f85c7,_0x4015e0['_isAttached']=!_0x45d724||!_0x45d724['isAttached'],_0x4015e0['isAttached']=()=>_0x4015e0['_isAttached'],this['_baseRoots']['set'](_0x4f85c7,_0x4015e0),this['_baseRootsAttributes']['set'](_0x4f85c7,_0x540363),_0x45d724&&this['_touchedRoots']['set'](_0x4f85c7,_0x45d724);const _0x5728c8=this['_makeIdsRoot'](_0x4015e0);this['_baseIdsRoots']['set'](_0x4f85c7,_0x5728c8);for(const [_0x203289,_0x296051]of _0x4015e0['markers']){if(!_0x203289['startsWith']('revision:'))continue;const _0x25e2a0=_0x203289['split'](':')[0x2];for(const _0x499f8a of _0x296051['getWalker']({'singleCharacters':!0x0})){const _0x5d23e1=this['_getVidAttributeName'](_0x499f8a),_0x44c766='elementEnd'==_0x499f8a['type']?_0x499f8a['previousPosition']['path']['slice'](0x0,-0x1):_0x499f8a['previousPosition']['path'],_0x562c90=_0x5728c8['getNodeByPath'](_0x44c766)['getAttribute'](_0x5d23e1);this['_touched']['set'](_0x562c90,{'userId':_0x25e2a0});}}}this['_startingRevisionId']=this['_revisionId'];const _0x3109bb=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x3d372b=>!this['_touched']['has'](_0x3d372b));let _0x1b45d7=0x0;const _0x55a518=new Map();for(const _0x3b5d52 in _0x22d45d['diffData']){const _0x298c0e=_0x22d45d['diffData'][_0x3b5d52]['attachChange'],_0x4f70c8=_0x129f66(_0x22d45d['diffData'][_0x3b5d52]['attributesAfter'])||{},_0x849293=this['_makeModelFromViewString'](_0x22d45d['diffData'][_0x3b5d52]['insertions']);_0x849293['rootName']=_0x3b5d52,_0x849293['_isAttached']=!_0x298c0e||_0x298c0e['isAttached'],_0x849293['isAttached']=()=>_0x849293['_isAttached'],this['_diffRoots']['set'](_0x3b5d52,_0x849293),this['_diffRootsAttributes']['set'](_0x3b5d52,_0x4f70c8);const _0x1c5b0a=this['_makeIdsRoot'](_0x849293,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x3b5d52,_0x1c5b0a),_0x55a518['set'](_0x3b5d52,_0x849293['isAttached']()?_0x4f70c8:{});for(const [_0x48ca0c,_0x14e974]of _0x849293['markers']){if(!_0x48ca0c['startsWith']('revision:'))continue;const _0x3f9e49=_0x48ca0c['split'](':')[0x2];for(const _0x384189 of _0x14e974['getWalker']({'singleCharacters':!0x0})){const _0x10cce1=this['_getVidAttributeName'](_0x384189),_0xb4cf0d=this['_revisionId']++,_0x439f9d='elementEnd'==_0x384189['type']?_0x384189['previousPosition']['path']['slice'](0x0,-0x1):_0x384189['previousPosition']['path'];_0x1c5b0a['getNodeByPath'](_0x439f9d)['_setAttribute'](_0x10cce1,_0xb4cf0d),this['_touched']['set'](_0xb4cf0d,{'userId':_0x3f9e49});}}for(const _0x1a6471 of this['editor']['model']['createRangeIn'](_0x849293)['getWalker']({'singleCharacters':!0x0})){const _0x32d258=this['_getVidAttributeName'](_0x1a6471),_0x268da6='elementEnd'==_0x1a6471['type']?_0x1a6471['previousPosition']['path']['slice'](0x0,-0x1):_0x1a6471['previousPosition']['path'],_0x4553e2=_0x1c5b0a['getNodeByPath'](_0x268da6);_0x4553e2['getAttribute'](_0x32d258)>0x0||_0x4553e2['_setAttribute'](_0x32d258,_0x3109bb[_0x1b45d7++]);}for(const [_0x23cdd8,_0x256312]of _0x849293['markers'])_0x23cdd8['startsWith']('revision:')||this['_markers']['set'](_0x23cdd8,_0x256312);}const _0x3e2f2f=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x3e2f2f),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x3e2f2f,0x1));const _0x12f637=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x12f637),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x12f637,0x1));const _0x3337a8=Array['from'](this['_diffRoots'])['map'](([_0x33870b,_0x3da2ea])=>[_0x33870b,q(_0x3da2ea)]);this['_saveMetaData'](this['_lastTo'],_0x3337a8,this['_markers'],_0x55a518);}['_makeModelFromViewString'](_0x2706c3){const _0x2fff77=JSON['parse'](_0x2706c3),_0x1e590c=this['editor']['editing']['view']['document'],_0x1ffa2e=new _0x5dbf0d(_0x1e590c,_0x2fff77['map'](_0x4dafac=>B(_0x4dafac,this['editor'])));return this['editor']['data']['toModel'](_0x1ffa2e);}['_saveMetaData'](_0x289f24,_0x16ec9c,_0x5af0f1,_0x565250){const _0x3de981=new Map(_0x16ec9c),_0x23f6c2=new Map(_0x129f66(_0x565250)),_0x1db96e=new Map();for(const [_0x4a5ce1,_0x167ab5]of _0x5af0f1)_0x1db96e['set'](_0x4a5ce1,{'start':_0x167ab5['start']['clone'](),'end':_0x167ab5['end']['clone'](),'rootName':_0x167ab5['root']['rootName']});this['_savedMetaData']['set'](_0x289f24,{'roots':_0x3de981,'markers':_0x1db96e,'rootsAttributes':_0x23f6c2});}['_removeMetaData'](_0x17b0fb){this['_savedMetaData']['delete'](_0x17b0fb);}['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'](_0x50de33,_0x46dfff=null){let _0x120cae=null;_0x50de33['is']('documentFragment')||(_0x120cae=new ft(_0x50de33['name'],{'vid_start':null===_0x46dfff?this['_revisionId']++:_0x46dfff++}));const _0x35e53b=[];for(const _0x4ed869 of _0x50de33['getChildren']())if(_0x4ed869['is']('element')){_0x35e53b['push'](this['_makeIdsRoot'](_0x4ed869,_0x46dfff));const _0x208a35=_0x35e53b[_0x35e53b['length']-0x1];null!==_0x46dfff&&(_0x46dfff=_0x208a35['is']('element','$text')?_0x208a35['getAttribute']('vid')+0x1:_0x208a35['getAttribute']('vid_end')+0x1);}else{for(let _0x446857=0x0;_0x446857<_0x4ed869['offsetSize'];_0x446857++)_0x35e53b['push'](new ft('$text',{'vid':null===_0x46dfff?this['_revisionId']++:_0x46dfff++}));}if(_0x50de33['is']('documentFragment')){const _0x66e870=G(_0x50de33['rootName']);return _0x66e870['_insertChild'](0x0,_0x35e53b),_0x66e870;}return _0x120cae['_setAttribute']('vid_end',null===_0x46dfff?this['_revisionId']++:_0x46dfff++),_0x120cae['_insertChild'](0x0,_0x35e53b),_0x120cae;}['_calculateMetaData'](_0x39480a,_0x3a8042,_0x334878){this['_reset']();const {roots:_0x2a6a17,markers:_0x39b404,rootsAttributes:_0x1e8145}=this['_savedMetaData']['get'](_0x39480a);this['_baseRoots']=new Map(_0x2a6a17),this['_baseRootsAttributes']=new Map(_0x129f66(_0x1e8145));for(const [_0x4dab6e,_0x5616ba]of this['_baseRoots'])if('$graveyard'!==_0x4dab6e&&(this['_diffRoots']['set'](_0x4dab6e,q(_0x5616ba)),this['_diffRootsAttributes']=new Map(_0x129f66(_0x1e8145)),_0x334878)){const _0x251f80=this['_revisionId'];this['_idsRoots']['set'](_0x4dab6e,this['_makeIdsRoot'](_0x5616ba)),this['_baseIdsRoots']['set'](_0x4dab6e,this['_makeIdsRoot'](_0x5616ba,_0x251f80));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x334878&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x1dab66,_0x442877]of _0x39b404){const _0x2a705e=this['_baseRoots']['get'](_0x442877['rootName']),_0x145a24=this['_diffRoots']['get'](_0x442877['rootName']),_0x1a99c7=new vt(this['_fixPosition'](_0x442877['start'],_0x2a705e),this['_fixPosition'](_0x442877['end'],_0x2a705e)),_0x75c715=this['_fixRange'](_0x1a99c7,_0x145a24);_0x2a705e['markers']['set'](_0x1dab66,_0x1a99c7),this['_markers']['set'](_0x1dab66,_0x75c715);}this['_applyOperations'](_0x39480a,_0x3a8042,_0x334878);}['_applyOperations'](_0x3747e5,_0x541884,_0x1e19e9){for(const _0x4e5543 of this['source']['getOperations'](_0x3747e5,_0x541884))this['_handleOperation'](_0x4e5543,_0x1e19e9);for(const _0x5d0fa6 of this['_diffRoots']['values']())_0x5d0fa6['markers']['clear']();for(const [_0x40b92d,_0x5b9081]of this['_markers']){this['_diffRoots']['get'](_0x5b9081['root']['rootName'])['markers']['set'](_0x40b92d,_0x5b9081['clone']());}const _0x115e4b=new Map(),_0x575fbd=new Map();for(const [_0x54d55a,_0x572885]of this['_diffRoots'])_0x115e4b['set'](_0x54d55a,q(_0x572885)),_0x575fbd['set'](_0x54d55a,this['_diffRootsAttributes']['get'](_0x54d55a));this['_saveMetaData'](_0x541884,_0x115e4b,this['_markers'],_0x575fbd);}['_getPreviousFrom'](_0x466743){const _0x49df61=Array['from'](this['_savedMetaData']['keys']());_0x49df61['sort']((_0x7b50e3,_0x45d4fe)=>_0x7b50e3-_0x45d4fe),_0x49df61['reverse']();for(const _0x37640e of _0x49df61)if(_0x37640e<_0x466743)return _0x37640e;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x4e1310,_0x915663){const _0x13e5f1=Array['from'](_0x915663['markers'])['map'](([_0x22eb5c,_0x16dc9f])=>[_0x22eb5c,this['_fixRange'](_0x16dc9f,_0x4e1310)]);_0x4e1310['markers']=new Map(_0x13e5f1);}['_transformMarkers'](_0x23792c){for(const _0x451f80 of this['_markers']['values']()){const _0x5bb6ff=_0x451f80['getTransformedByOperation'](_0x23792c),_0x1add22=vt['_createFromRanges'](_0x5bb6ff);_0x451f80['start']=_0x1add22['start'],_0x451f80['end']=_0x1add22['end'];}}['_handleOperation'](_0x2becf3,_0x5b5a43){if('addRoot'!=_0x2becf3['type']&&'detachRoot'!=_0x2becf3['type']){if('insert'==_0x2becf3['type']){const _0x462cf5=_0x2becf3['position']['root']['rootName'];this['_diffRoots']['has'](_0x462cf5)||(this['_diffRoots']['set'](_0x462cf5,G(_0x462cf5,!0x0)),this['_diffRootsAttributes']['set'](_0x462cf5,{}),_0x5b5a43&&this['_idsRoots']['set'](_0x462cf5,G(_0x462cf5,!0x0)));}else{if('addRootAttribute'==_0x2becf3['type']||'removeRootAttribute'==_0x2becf3['type']||'changeRootAttribute'==_0x2becf3['type'])return void this['_handleRootAttributeOperation'](_0x2becf3);'marker'==_0x2becf3['type']&&this['_handleMarkerOperation'](_0x2becf3);}if('marker'!==_0x2becf3['type']){const _0x32aea9=this['_cloneOperation'](_0x2becf3,this['_diffRoots']);_0x32aea9['_execute'](),this['_transformMarkers'](_0x32aea9);}if(_0x5b5a43)switch(_0x2becf3['type']){case'insert':this['_handleInsertOperation'](_0x2becf3);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x2becf3);break;case'merge':this['_handleMergeOperation'](_0x2becf3);break;case'split':this['_handleSplitOperation'](_0x2becf3);}}else this['_handleRootOperation'](_0x2becf3,_0x5b5a43);}['_cloneOperation'](_0x433b83,_0x992d15){const _0x4c7e53=_0x433b83['clone']();return _0x4c7e53['_authorId']=_0x433b83['_authorId'],this['_fixOperation'](_0x4c7e53,_0x992d15),_0x4c7e53;}['_getBaseVids'](_0x527951){return _0x527951['map'](_0x258909=>{const _0x2247b9=this['_getVidAttributeName'](_0x258909);return Number(_0x258909['item']['getAttribute'](_0x2247b9));});}['_generateTape'](_0x9b16f8,_0x279f46){if(_0x9b16f8['is']('element','$text'))_0x279f46['push']({'item':_0x9b16f8,'type':'text'});else{_0x9b16f8['is']('element')&&_0x279f46['push']({'item':_0x9b16f8,'type':'elementStart'});for(const _0x2c8a35 of _0x9b16f8['getChildren']())this['_generateTape'](_0x2c8a35,_0x279f46);_0x9b16f8['is']('element')&&_0x279f46['push']({'item':_0x9b16f8,'type':'elementEnd'});}return _0x279f46;}['_getState'](){const _0x5d6fc7=new Map(this['_touched']),_0x31d0a0=new Map(_0x5d6fc7),_0x2cc8fc=new Map(),_0xe86556={'insertions':{},'deletions':{}},_0x528ceb={'insertions':{},'deletions':{}},_0x42e4b5=new Map(),_0x2d9133=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x2d9133['delete']('$graveyard');for(const _0x1d230a of _0x2d9133){const _0x17df19=this['_diffRoots']['get'](_0x1d230a)||G(_0x1d230a,!0x1),_0x6665c3=this['_baseRoots']['get'](_0x1d230a)||G(_0x1d230a,!0x1);_0x17df19['isAttached']()||_0x6665c3['isAttached']()?(_0xe86556['insertions'][_0x1d230a]=q(_0x17df19),_0xe86556['deletions'][_0x1d230a]=q(_0x6665c3),this['_copyMarkers'](_0xe86556['deletions'][_0x1d230a],_0x6665c3),this['_copyMarkers'](_0xe86556['insertions'][_0x1d230a],_0x17df19),_0x528ceb['insertions'][_0x1d230a]=this['_generateTape'](this['_idsRoots']['get'](_0x1d230a),[]),_0x528ceb['deletions'][_0x1d230a]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x1d230a)||G(_0x1d230a,!0x1),[])):_0x2d9133['delete'](_0x1d230a);}for(const _0x423a9b of _0x2d9133){const _0x100a8d=_0x528ceb['insertions'][_0x423a9b];for(const _0x1e8800 of _0x100a8d){const _0x10bb09=this['_getVidAttributeName'](_0x1e8800),_0x480081=_0x1e8800['item']['getAttribute'](_0x10bb09);_0x31d0a0['delete'](_0x480081),_0x480081>=this['_startingRevisionId']&&_0x2cc8fc['set'](_0x480081,_0x5d6fc7['get'](_0x480081));}}for(const _0x31c70c of _0x2d9133){const _0xf4c40a=_0x528ceb['insertions'][_0x31c70c],_0x47d2c4=this['_getBaseVids'](_0x528ceb['deletions'][_0x31c70c]);let _0x423224=0x0;for(const _0x1732df of _0xf4c40a){const _0x23bcc2=this['_getVidAttributeName'](_0x1732df),_0x499666=_0x1732df['item']['getAttribute'](_0x23bcc2);if(!_0x2cc8fc['has'](_0x499666)&&!_0x42e4b5['has'](_0x499666)){if(_0x31d0a0['has'](_0x499666))_0x423224++;else{if(_0x499666!=_0x47d2c4[_0x423224]){const _0x14fb4b=_0x5d6fc7['get'](_0x499666)||_0x5d6fc7['get'](_0x47d2c4[_0x423224]);for(;_0x499666!=_0x47d2c4[_0x423224];)_0x31d0a0['has'](_0x47d2c4[_0x423224])||(_0x42e4b5['set'](_0x47d2c4[_0x423224],_0x14fb4b),_0x5d6fc7['set'](_0x47d2c4[_0x423224],_0x14fb4b)),_0x423224++;}_0x423224++;}}}}for(const _0x1fa3a6 of _0x2d9133){const _0x256c4a=_0x528ceb['insertions'][_0x1fa3a6];for(const _0x5b56d6 of _0x256c4a){const _0x1081be=this['_getVidAttributeName'](_0x5b56d6),_0x46d4f4=_0x5b56d6['item']['getAttribute'](_0x1081be);if(_0x42e4b5['has'](_0x46d4f4)){const _0x1165d6=_0x42e4b5['get'](_0x46d4f4);_0x31d0a0['has'](_0x46d4f4)||_0x31d0a0['set'](_0x46d4f4,{..._0x1165d6}),_0x2cc8fc['set'](_0x46d4f4,{..._0x1165d6});}}}for(const _0xb3ecd3 of _0x31d0a0['keys']())_0xb3ecd3>=this['_startingRevisionId']&&_0x31d0a0['delete'](_0xb3ecd3);const _0x40c448=new Map();for(const _0x21da6e of _0x2d9133){let _0x90ff67=_0x528ceb['insertions'][_0x21da6e];for(const _0x275f8e of _0x90ff67)if(_0x275f8e['item']['is']('element','tableCell')){const _0x5283a5=this['_getVidAttributeName'](_0x275f8e),_0x264119=_0x275f8e['item']['getAttribute'](_0x5283a5);if(_0x2cc8fc['has'](_0x264119)){const _0x4d8779=_0x275f8e['item']['parent']['parent']['getAttribute']('vid_start'),_0x52f9bb=_0x40c448['get'](_0x4d8779)||new Set();_0x52f9bb['add'](_0x2cc8fc['get'](_0x264119)['userId']),_0x40c448['set'](_0x4d8779,_0x52f9bb);}}_0x90ff67=_0x528ceb['deletions'][_0x21da6e];for(const _0x539756 of _0x90ff67)if(_0x539756['item']['is']('element','tableCell')){const _0x48f29f=this['_getVidAttributeName'](_0x539756),_0x33b094=_0x539756['item']['getAttribute'](_0x48f29f);if(_0x31d0a0['has'](_0x33b094)){const _0x15f6eb=_0x539756['item']['parent']['parent']['getAttribute']('vid_start'),_0x2b4ca1=_0x40c448['get'](_0x15f6eb)||new Set();_0x2b4ca1['add'](_0x31d0a0['get'](_0x33b094)['userId']),_0x40c448['set'](_0x15f6eb,_0x2b4ca1);}}for(const _0x553494 of _0x40c448['keys']())(_0x2cc8fc['has'](_0x553494)||_0x31d0a0['has'](_0x553494))&&_0x40c448['delete'](_0x553494);}for(const _0x47cbd6 of _0x2d9133){const _0xf3e6e8=_0x528ceb['insertions'][_0x47cbd6];let _0x190b11=null,_0x10ffd9=null;for(const _0x330ac4 of _0xf3e6e8){const _0x133482=this['_getVidAttributeName'](_0x330ac4),_0x23cb4e=_0x330ac4['item']['getAttribute'](_0x133482),_0x10624a=_0x40c448['get'](_0x23cb4e);_0x10624a&&'elementStart'==_0x330ac4['type']&&(_0x190b11=Array['from'](_0x10624a)[0x0],_0x10ffd9=_0x330ac4['item']['getAttribute']('vid_end')),_0x190b11&&(_0x31d0a0['set'](_0x23cb4e,{'userId':_0x190b11}),_0x2cc8fc['set'](_0x23cb4e,{'userId':_0x190b11})),_0x23cb4e==_0x10ffd9&&(_0x190b11=null,_0x10ffd9=null);}}const _0x392124={},_0x4bb7d0=new Set();for(const _0x400b97 of _0x2d9133){const _0x228639=_0xe86556['deletions'][_0x400b97],_0x154555=_0xe86556['insertions'][_0x400b97];for(const {userId:_0x2331d6}of this['_touchedMarkers']['values']())null!==_0x2331d6&&_0x4bb7d0['add'](_0x2331d6);for(const {userId:_0x23928b}of this['_touchedRoots']['values']())null!==_0x23928b&&_0x4bb7d0['add'](_0x23928b);this['_markChanges'](_0x154555,_0x528ceb['insertions'][_0x400b97],_0x2cc8fc,'insertion',_0x4bb7d0),this['_markChanges'](_0x228639,_0x528ceb['deletions'][_0x400b97],_0x31d0a0,'deletion',_0x4bb7d0),_0x392124[_0x400b97]={'insertions':this['_prepareViewToSave'](_0x154555),'deletions':this['_prepareViewToSave'](_0x228639),'attachChange':this['_touchedRoots']['get'](_0x400b97)||null,'attributesBefore':_0x129f66(this['_baseRootsAttributes']['get'](_0x400b97))||{},'attributesAfter':_0x129f66(this['_diffRootsAttributes']['get'](_0x400b97))};}return{'diffData':_0x392124,'authorsIds':Array['from'](_0x4bb7d0)};}['_processRootBeforeSave'](_0x4f7abf){for(const [,_0x2f8ee6]of _0x4f7abf['markers']){const _0x55f7bd=_0x2f8ee6['start']['getAncestors']()['filter'](_0x59c6d0=>'tableCell'==_0x59c6d0['name']);for(const _0x207866 of _0x55f7bd)0x1==_0x207866['childCount']&&_0x207866['getChild'](0x0)['is']('element','paragraph')&&_0x207866['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x31681d){this['_processRootBeforeSave'](_0x31681d);const _0x5864c6=this['editor']['data']['toView'](_0x31681d,{}),_0x3ee0aa=Array['from'](_0x5864c6['getChildren']())['map'](_0x276b35=>this['_getViewJson'](_0x276b35));return JSON['stringify'](_0x3ee0aa);}['_getViewJson'](_0x504f53){if(_0x504f53['is']('$text'))return _0x504f53['data'];{const _0x22cfbc=_0x504f53;return{'type':Object['keys'](T)['find'](_0x1b5a28=>_0x504f53 instanceof T[_0x1b5a28]),'name':_0x22cfbc['name'],'attributes':Array['from'](_0x22cfbc['getAttributes']()),'children':Array['from'](_0x22cfbc['getChildren']())['map'](_0x31468a=>this['_getViewJson'](_0x31468a))};}}['_markChanges'](_0x1fdef6,_0x7ff75a,_0x330b27,_0x67a3b,_0x4238ec){let _0x5deb1d=null,_0x20010a=null,_0x261d7c=0x0;const _0x15a455=this['editor']['model'];for(let _0x2674ec=0x0;_0x2674ec<_0x7ff75a['length'];_0x2674ec++){const _0x4c0acc=this['_getVidAttributeName'](_0x7ff75a[_0x2674ec]),_0x31e7b5=_0x7ff75a[_0x2674ec]['item']['getAttribute'](_0x4c0acc),_0x3ea311=_0x330b27['get'](_0x31e7b5),_0xda25f0=_0x2674ec==_0x7ff75a['length']-0x1;(!_0x5deb1d&&_0x3ea311&&(_0x5deb1d=_0x3ea311,_0x20010a=_0x7ff75a[_0x2674ec]),_0x5deb1d&&(!_0x3ea311||_0x3ea311['userId']!=_0x5deb1d['userId']))&&(_0x44649b(_0x3ea311,L(_0x20010a,_0x1fdef6,_0x15a455),L(_0x7ff75a[_0x2674ec],_0x1fdef6,_0x15a455)),_0x5deb1d=_0x3ea311||null,_0x20010a=_0x3ea311?_0x7ff75a[_0x2674ec]:null),_0x5deb1d&&_0xda25f0&&_0x44649b(_0x3ea311,L(_0x20010a,_0x1fdef6,_0x15a455),W(_0x7ff75a[_0x2674ec],_0x1fdef6,_0x15a455));}function _0x44649b(_0x472f04,_0x324dc9,_0x449cf6){const _0xd8be9b=_0x5deb1d['userId'],_0x568a78='revision:'+_0x67a3b+':'+_0xd8be9b+':'+_0x261d7c++,_0x13d7cc=_0x15a455['createRange'](_0x324dc9,_0x449cf6);_0x1fdef6['markers']['set'](_0x568a78,_0x13d7cc),null!==_0xd8be9b&&_0x4238ec['add'](_0xd8be9b);}}['_getVidAttributeName'](_0x1115d5){switch(_0x1115d5['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x1367dc,_0x19b532){_0x1367dc['baseVersion']=null;for(const _0x4ef188 in _0x1367dc){const _0x2d0321=_0x1367dc[_0x4ef188];if(_0x2d0321 instanceof gt){const _0x4c3407=_0x19b532['get'](_0x2d0321['root']['rootName']);_0x1367dc[_0x4ef188]=this['_fixPosition'](_0x2d0321,_0x4c3407);}if(_0x2d0321 instanceof vt){const _0x11296c=_0x19b532['get'](_0x2d0321['root']['rootName']);_0x1367dc[_0x4ef188]=this['_fixRange'](_0x2d0321,_0x11296c);}'root'===_0x4ef188&&(_0x1367dc['root']=_0x19b532['get'](_0x1367dc['root']['rootName']));}}['_fixRange'](_0x354475,_0x1d8c22){return this['editor']['model']['createRange'](this['_fixPosition'](_0x354475['start'],_0x1d8c22),this['_fixPosition'](_0x354475['end'],_0x1d8c22));}['_fixPosition'](_0x24541a,_0x40242f){return this['editor']['model']['createPositionFromPath'](_0x40242f,_0x24541a['path'],_0x24541a['stickiness']);}['_handleInsertOperation'](_0x22242c){const _0x19b0dd=this['_idsRoots']['get'](_0x22242c['position']['root']['rootName']),_0xf2dacd=this['_fixPosition'](_0x22242c['position'],_0x19b0dd),_0xac88db=null===_0x22242c['_authorId']?null:_0x22242c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x83b474=_0xf2dacd['parent'],_0x5ca92a=this['_revisionId'],_0x5bb961=[];for(const _0x996c23 of _0x22242c['nodes'])if(_0x996c23['is']('element'))_0x5bb961['push'](this['_makeIdsRoot'](_0x996c23));else{for(let _0x5de331=0x0;_0x5de331<_0x996c23['offsetSize'];_0x5de331++)_0x5bb961['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x534ce7=this['_revisionId'];for(let _0x2ecbba=_0x5ca92a;_0x2ecbba<_0x534ce7;_0x2ecbba++)this['_touched']['set'](_0x2ecbba,{'userId':_0xac88db});_0x83b474['_insertChild'](_0xf2dacd['offset'],_0x5bb961);}['_handleMoveOperation'](_0x131985){(_0x131985=this['_cloneOperation'](_0x131985,this['_idsRoots']))['_execute']();const _0x2bc18c=null===_0x131985['_authorId']?null:_0x131985['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x24806e=_0x131985['getMovedRangeStart'](),_0x465c68=_0x24806e['parent'],_0x3950b9=_0x24806e['offset'];!function _0x644568(_0x356550,_0x2c9204,_0x2f0451,_0x498e8f){for(let _0x466df9=_0x2f0451;_0x466df9<_0x498e8f;_0x466df9++){const _0x42442c=_0x2c9204['getChild'](_0x466df9);_0x42442c['is']('element','$text')?_0x356550['set'](_0x42442c['getAttribute']('vid'),{'userId':_0x2bc18c}):(_0x356550['set'](_0x42442c['getAttribute']('vid_start'),{'userId':_0x2bc18c}),_0x644568(_0x356550,_0x42442c,0x0,_0x42442c['childCount']),_0x356550['set'](_0x42442c['getAttribute']('vid_end'),{'userId':_0x2bc18c}));}}(this['_touched'],_0x465c68,_0x3950b9,_0x3950b9+_0x131985['howMany']);}['_handleMergeOperation'](_0xaa4120){const _0x20f6ee=null===(_0xaa4120=this['_cloneOperation'](_0xaa4120,this['_idsRoots']))['_authorId']?null:_0xaa4120['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x473d05=_0xaa4120['targetPosition']['parent'],_0x6fa48e=_0xaa4120['sourcePosition']['parent'],_0x5426e9=_0x473d05['getAttribute']('vid_end'),_0x2c7ce2=_0x6fa48e['getAttribute']('vid_start');_0x473d05['_setAttribute']('vid_end',_0x6fa48e['getAttribute']('vid_end')),_0x6fa48e['_setAttribute']('vid_end',_0x5426e9),this['_touched']['set'](_0x2c7ce2,{'userId':_0x20f6ee}),this['_touched']['set'](_0x5426e9,{'userId':_0x20f6ee}),_0xaa4120['_execute']();}['_handleSplitOperation'](_0x582627){const _0x22b1b5=null===(_0x582627=this['_cloneOperation'](_0x582627,this['_idsRoots']))['_authorId']?null:_0x582627['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x608444=_0x582627['graveyardPosition'],_0x464416=_0x582627['splitPosition']['parent'];_0x582627['_execute']();const _0x3f3d7f=_0x464416['getAttribute']('vid_end'),_0x4bd76a=_0x582627['insertionPosition']['nodeAfter'];if(_0x608444){const _0x187600=_0x4bd76a['getAttribute']('vid_end'),_0x16b110=_0x464416['getAttribute']('vid_end');_0x464416['_setAttribute']('vid_end',_0x187600),_0x4bd76a['_setAttribute']('vid_end',_0x16b110),this['_touched']['set'](_0x464416['getAttribute']('vid_end'),{'userId':_0x22b1b5}),this['_touched']['set'](_0x4bd76a['getAttribute']('vid_start'),{'userId':_0x22b1b5});}else{const _0x20da56=this['_revisionId']++,_0x2dbb62=this['_revisionId']++;_0x464416['_setAttribute']('vid_end',_0x20da56),_0x4bd76a['_setAttribute']('vid_start',_0x2dbb62),_0x4bd76a['_setAttribute']('vid_end',_0x3f3d7f),this['_touched']['set'](_0x20da56,{'userId':_0x22b1b5}),this['_touched']['set'](_0x2dbb62,{'userId':_0x22b1b5});}}['_handleMarkerOperation'](_0x12b423){if(!_0x12b423['affectsData'])return;const _0x1e398f=(_0x12b423=this['_cloneOperation'](_0x12b423,this['_diffRoots']))['oldRange']?_0x12b423['oldRange']['root']:null,_0x4ffc68=_0x12b423['newRange']?_0x12b423['newRange']['root']:null;_0x1e398f&&this['_markers']['delete'](_0x12b423['name']),_0x4ffc68&&this['_markers']['set'](_0x12b423['name'],_0x12b423['newRange']['clone']());const _0x566aca=null===_0x12b423['_authorId']?null:_0x12b423['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3f8b44=_0x12b423['name'];if(!this['_touchedMarkers']['has'](_0x3f8b44))return void this['_touchedMarkers']['set'](_0x3f8b44,{'range':_0x12b423['oldRange'],'userId':_0x566aca});const _0x4017ef=this['_touchedMarkers']['get'](_0x3f8b44),_0x19076e=_0x4017ef['range'],_0x2458cb=_0x12b423['newRange'];null==_0x19076e&&null==_0x2458cb||_0x19076e&&_0x2458cb&&_0x19076e['isEqual'](_0x2458cb)?this['_touchedMarkers']['delete'](_0x12b423['name']):_0x4017ef['userId']=_0x566aca;}['_handleRootOperation'](_0x399eb2,_0x521ee1){this['_diffRoots']['has'](_0x399eb2['rootName'])?this['_diffRoots']['get'](_0x399eb2['rootName'])['_isAttached']=_0x399eb2['isAdd']:(this['_diffRoots']['set'](_0x399eb2['rootName'],G(_0x399eb2['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x399eb2['rootName'],{}),_0x521ee1&&this['_idsRoots']['set'](_0x399eb2['rootName'],G(_0x399eb2['rootName'],!0x0)));const _0x3b5425=null===_0x399eb2['_authorId']?null:_0x399eb2['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1aaf44=this['_touchedRoots']['get'](_0x399eb2['rootName']);_0x1aaf44&&_0x1aaf44['userId']===_0x3b5425?this['_touchedRoots']['delete'](_0x399eb2['rootName']):this['_touchedRoots']['set'](_0x399eb2['rootName'],{'userId':_0x3b5425,'isAttached':_0x399eb2['isAdd']});}['_handleRootAttributeOperation'](_0x562608){const _0x2ab278=this['_diffRootsAttributes']['get'](_0x562608['root']['rootName']);null===_0x562608['newValue']?delete _0x2ab278[_0x562608['key']]:_0x2ab278[_0x562608['key']]=_0x562608['newValue'];}}function q(_0x397d57){const _0x30df9b=G(_0x397d57['rootName'],_0x397d57['isAttached']());for(const _0x97d765 of _0x397d57['getChildren']()){const _0x2ee406=_0x97d765['_clone'](!0x0);_0x30df9b['_appendChild'](_0x2ee406);}return _0x30df9b;}function G(_0x3593f3,_0x198d06=!0x0){const _0x21a9a8=new wt();return _0x21a9a8['rootName']=_0x3593f3,_0x21a9a8['_isAttached']=_0x198d06,_0x21a9a8['isAttached']=()=>_0x21a9a8['_isAttached'],_0x21a9a8;}function L(_0x3a5a00,_0x572289,_0x5aeb0f){const _0x24831d='elementEnd'==_0x3a5a00['type']?_0x5aeb0f['createPositionAt'](_0x3a5a00['item'],'end'):_0x5aeb0f['createPositionBefore'](_0x3a5a00['item']);return _0x5aeb0f['createPositionFromPath'](_0x572289,_0x24831d['path'],_0x24831d['stickiness']);}function W(_0xa502da,_0xb5e326,_0x30cdd7){const _0x1d9bf4='elementStart'==_0xa502da['type']?_0x30cdd7['createPositionAt'](_0xa502da['item'],0x0):_0x30cdd7['createPositionAfter'](_0xa502da['item']);return _0x30cdd7['createPositionFromPath'](_0xb5e326,_0x1d9bf4['path'],_0x1d9bf4['stickiness']);}class ns extends _0x426b94{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x19a9cd,_0x498354){super(_0x19a9cd),this['focusTracker']=new _0xd9330b(),this['keystrokes']=new _0x2a2ef9(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x498354),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}['render'](){super['render'](),_0x374a0d({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x4fb413=_0x56c16c=>_0x56c16c['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4fb413),this['keystrokes']['set']('arrowleft',_0x4fb413),this['keystrokes']['set']('arrowup',_0x4fb413),this['keystrokes']['set']('arrowdown',_0x4fb413);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x23fd59){this['revisionNameInputView']['fieldView']['element']['value']=_0x23fd59['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x369e9d){const _0x445c7f=new at(this['locale'],_0x3702a7),_0x126ddd=_0x445c7f['fieldView'];_0x126ddd['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x23a9de=w(this['locale'],'Name\x20of\x20the\x20revision');return!_0x369e9d&&(_0x23a9de+='\x20('+w(this['locale'],'optional')+')'),(_0x445c7f['label']=_0x23a9de,_0x126ddd['on']('input',()=>{this['revisionNameInputValue']=_0x126ddd['element']['value']['trim']();}),_0x445c7f);}}class u extends _0x5a8318{static get['pluginName'](){return'RevisionHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x5929a7=this['editor'],_0x47a09b=_0x5929a7['plugins']['get']('RevisionTracker');_0x5929a7['ui']['componentFactory']['add']('revisionHistory',_0x3b9b65=>{const _0x263f0d=_0x42ea35(_0x3b9b65),_0x18cd39=_0x263f0d['panelView']['children'],_0x360c83=new te(_0x3b9b65),_0x55fd8a=new _0x21decc(_0x3b9b65),_0x45525f=new _0x3e3432(_0x3b9b65),_0xaac257=new _0x21decc(_0x3b9b65),_0x4ff04a=new _0x3e3432(_0x3b9b65);return _0x263f0d['bind']('isEnabled')['to'](_0x47a09b,'isReady',_0x47a09b,'isEnabled',_0x5929a7,'isReadOnly',(_0x269e08,_0x1d4841,_0x3f68db)=>_0x269e08&&_0x1d4841&&!_0x3f68db),_0x263f0d['buttonView']['set']({'icon':_0x353022['history'],'label':w(_0x3b9b65,'Revision\x20history'),'tooltip':!0x0}),_0x45525f['set']({'label':w(_0x3b9b65,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x45525f['bind']('isEnabled')['to'](_0x47a09b,'isReady',_0x47a09b,'isEnabled',_0x5929a7,'isReadOnly',(_0x494f48,_0x5967b6,_0x5b7e2d)=>_0x494f48&&_0x5967b6&&!_0x5b7e2d),_0x45525f['on']('execute',()=>this['_showDialog']()),_0x4ff04a['set']({'label':w(_0x3b9b65,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x4ff04a['bind']('isEnabled')['to'](_0x47a09b,'isReady',_0x5929a7,'isReadOnly',(_0xe2436e,_0xff0e89)=>_0xe2436e&&!_0xff0e89),_0x4ff04a['on']('execute',()=>{_0x5929a7['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x263f0d['isOpen']=!0x1,_0x5929a7['editing']['view']['focus']();}),_0x55fd8a['children']['add'](_0x45525f),_0xaac257['children']['add'](_0x4ff04a),_0x360c83['role']='menu',_0x360c83['items']['addMany']([_0x55fd8a,_0xaac257]),_0x18cd39['add'](_0x360c83),_0x263f0d;}),_0x5929a7['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x1a7bbb=this['editor'],_0x2322c8=_0x1a7bbb['locale'],_0x4cb9a8=new _0x14bc10(_0x2322c8),_0x6ff151=new _0x2f8cdd(_0x2322c8);_0x4cb9a8['buttonView']['set']({'icon':_0x353022['history'],'label':w(_0x2322c8,'Revision\x20history')});const _0x2c4a23=new _0x378b88(_0x2322c8,_0x4cb9a8),_0x4c7037=new _0x41889f(_0x2322c8);_0x4c7037['set']({'label':w(_0x2322c8,'Save\x20current\x20revision')}),_0x4c7037['delegate']('execute')['to'](_0x4cb9a8),_0x4c7037['on']('execute',()=>{this['_showDialog']();}),_0x2c4a23['children']['add'](_0x4c7037),_0x6ff151['items']['add'](_0x2c4a23);const _0x14fbe8=new _0x378b88(_0x2322c8,_0x4cb9a8),_0x56d977=new _0x41889f(_0x2322c8);return _0x56d977['set']({'label':w(_0x2322c8,'Open\x20revision\x20history')}),_0x56d977['delegate']('execute')['to'](_0x4cb9a8),_0x56d977['on']('execute',()=>{_0x1a7bbb['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x14fbe8['children']['add'](_0x56d977),_0x6ff151['items']['add'](_0x14fbe8),_0x4cb9a8['panelView']['children']['add'](_0x6ff151),_0x4cb9a8;}['_showDialog'](){const _0x678917=this['editor'],_0x328b8e=_0x678917['locale'],_0x46029=_0x678917['plugins']['get']('Dialog'),_0x1cfa63=_0x678917['plugins']['get']('RevisionTracker');function _0x965022(_0x3507f5){_0x678917['config']['get']('revisionHistory.requireRevisionName')&&''===_0x3507f5['revisionName']?_0x3507f5['revisionNameInputView']['errorText']=w(_0x328b8e,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x678917['plugins']['get'](l)['saveRevision']({'name':_0x3507f5['revisionName']}),_0x46029['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x965022(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x46029['show']({'id':'revisionSave','title':w(_0x328b8e,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':w(_0x678917['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x46029['hide']()},{'label':w(_0x678917['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x4c236c){_0x4c236c['bind']('isEnabled')['to'](_0x1cfa63,'isReady',_0x1cfa63,'isEnabled',_0x678917,'isReadOnly',(_0x4b3b7a,_0x5d7b99,_0xd9dc47)=>_0x4b3b7a&&_0x5d7b99&&!_0xd9dc47);},'onExecute':()=>_0x965022(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x541206=this['editor'],_0x1394e3=_0x541206['locale'];this['_saveRevisionFormView']=new ns(_0x1394e3,_0x541206['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x426b94{['changeId'];['_model'];constructor(_0x46ca52,_0x34e348){super(_0x46ca52),this['_model']=_0x34e348,this['changeId']=_0x34e348['id'];const _0x1e6fb0=this['bindTemplate'],_0x3b73ce=w(_0x46ca52,_0x34e348['data']['isSuggestion']?'Suggested\x20by':'add'==_0x34e348['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x34e348['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x1e6fb0['to']('type',_0x26613e=>'ck-revision-change__'+_0x26613e)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x3b73ce}]},{'text':'\x20'+_0x34e348['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0xa45c52(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x2cff04){super(),this['id']=_0x2cff04['id']||_0xa0f6ce(),this['author']=_0x2cff04['author'],this['type']=_0x2cff04['type'],this['data']=_0x2cff04['data']||{},this['rootName']=_0x2cff04['rootName'],this['set']('createdAt',_0x2cff04['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(_0x1401e5,_0xe939b1){this['newRevisionId']=_0x1401e5,this['oldRevisionId']=_0xe939b1,this['changes']=new _0x6948d8();}['_setChanges'](_0x52c85f){for(const _0xa57068 of _0x52c85f)this['changes']['add'](_0xa57068);}}const tt={'c':_0x503e00,'a':_0x4bbfc3,'e':_0x130aa8,'r':_0x386332,'u':_0x5da548};class d extends _0x5a8318{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x2145f4,_0x26dedd,A];}constructor(_0x49e80e){super(_0x49e80e),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',(_0x1cf0f6,_0xc9dab4,_0x49b10c)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x293517=>{for(const _0x1c9337 of this['editor']['editing']['view']['document']['roots'])_0x49b10c?_0x293517['removeClass']('ck-editor__editable__overlay',_0x1c9337):_0x293517['addClass']('ck-editor__editable__overlay',_0x1c9337);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x26c4b4=>null!==_0x26c4b4),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x52e826,_0x3953f5,_0x438891)=>_0x52e826&&_0x438891?_0x3953f5['changes']['getIndex'](_0x438891):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x4d7ced,_0x24e77d)=>_0x4d7ced?_0x24e77d['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x26dedd);}['init'](){const _0x439177=this['editor'],_0x3f0c4a=new bt(_0x439177,{'direction':'backward'}),_0x16f1c0=new bt(_0x439177,{'direction':'forward'});(_0x439177['commands']['add']('showPreviousChange',_0x3f0c4a),_0x439177['commands']['add']('showNextChange',_0x16f1c0),_0x439177['commands']['add']('restoreRevision',new yt(_0x439177)),this['on']('change:numberOfChanges',()=>{_0x3f0c4a['refresh'](),_0x16f1c0['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x439177['enableReadOnlyMode']('revision-viewer'),_0x439177['plugins']['has']('WidgetToolbarRepository'))&&_0x439177['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x49a65d){await this['loadRevisionData'](_0x49a65d);const _0x41f872={};for(const _0x1d0cea in _0x49a65d['diffData']){if(_0x49a65d['diffData'][_0x1d0cea]['attachChange']&&!_0x49a65d['diffData'][_0x1d0cea]['attachChange']['isAttached'])continue;const _0x5cab91=this['_removeRevisionMarkers'](JSON['parse'](_0x49a65d['diffData'][_0x1d0cea]['insertions'])),_0x45b4bd=this['editor']['editing']['view']['document'],_0x37095e=new _0x5dbf0d(_0x45b4bd,_0x5cab91['map'](_0x4256b7=>this['_getViewObj'](_0x4256b7)));this['editor']['data']['processor']['useFillerType']('marked'),_0x41f872[_0x1d0cea]=this['editor']['data']['processor']['toData'](_0x37095e),this['editor']['data']['processor']['useFillerType']('default');}return _0x41f872;}async['getRevisionRootsAttributes'](_0x490487){await this['loadRevisionData'](_0x490487);const _0x577dd4={};for(const _0x23eaa4 in _0x490487['diffData'])_0x490487['diffData'][_0x23eaa4]['attachChange']&&!_0x490487['diffData'][_0x23eaa4]['attachChange']['isAttached']||(_0x577dd4[_0x23eaa4]=_0x490487['diffData'][_0x23eaa4]['attributesAfter']||{});return _0x577dd4;}['_removeRevisionMarkers'](_0x4fb099){return(_0x4fb099=_0x4fb099['filter'](_0x54fb86=>!_0x54fb86['name']||'revision-start'!==_0x54fb86['name']&&'revision-end'!==_0x54fb86['name']))['forEach'](_0x300aa1=>{'string'!=typeof _0x300aa1&&(_0x300aa1['children']=this['_removeRevisionMarkers'](_0x300aa1['children']),_0x300aa1['attributes']=_0x300aa1['attributes']['filter'](_0x1a0aa0=>!_0x1a0aa0[0x0]['startsWith']('data-revision-')));}),_0x4fb099;}async['compare'](_0x5e81ec,_0x36ed43,_0x542990=!0x1){if(!this['isEnabled'])return;const _0x14ffd3=this['diff'],_0x51ea33=this['repository'],_0x57d854='string'==typeof _0x5e81ec?_0x51ea33['getRevision'](_0x5e81ec):_0x5e81ec,_0x6290a='string'==typeof _0x36ed43?_0x51ea33['getRevision'](_0x36ed43):_0x36ed43,_0x531160=_0x57d854['id'],_0x8cf8e6=_0x6290a?_0x6290a['id']:null;if(!_0x542990&&this['diff']&&this['diff']['newRevisionId']===_0x531160&&this['diff']['oldRevisionId']===_0x8cf8e6)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x531160,_0x8cf8e6);const _0x61a98a=this['_getRevisionsRange'](_0x57d854,_0x6290a,!0x0)['map'](_0xc4d176=>this['loadRevisionData'](_0xc4d176));return _0x61a98a['push'](new Promise(_0xd8db77=>{setTimeout(_0xd8db77,0x14);})),Promise['all'](_0x61a98a)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x855352=this['_getDiff'](_0x531160,_0x8cf8e6);for(const _0x53dac2 of _0x855352['changes'])this['_changeIdToChange']['set'](_0x53dac2['id'],_0x53dac2);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x4d8ce4=>{for(const _0x1a9ac6 of this['editor']['model']['document']['getRootNames']())_0x4d8ce4['detachRoot'](_0x1a9ac6);for(const _0x426dcc of Object['keys'](_0x855352['model'])){const _0x53718e=_0x4d8ce4['addRoot'](_0x426dcc);for(const _0x31a594 of Object['keys'](_0x855352['attributes'][_0x426dcc]))_0x4d8ce4['setAttribute'](_0x31a594,_0x855352['attributes'][_0x426dcc][_0x31a594],_0x53718e);_0x4d8ce4['insert'](_0x855352['model'][_0x426dcc],_0x53718e,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x855352['changes'])),this['isReady']=!0x0;})['catch'](_0x34d6b2=>{console['error'](_0x34d6b2),this['_cleanUp'](),_0x14ffd3&&(this['diff']=_0x14ffd3),this['isReady']=!0x0;});}['addRevisionData'](_0x18e074,_0x3759c1){const _0x243ea9=this['repository']['createRevision'](_0x18e074);return _0x243ea9['on']('_update',(_0x217df3,_0x166b70,_0x32af1a)=>_0x3759c1(_0x166b70,_0x32af1a,_0x243ea9)),this['repository']['addRevision'](_0x243ea9),_0x243ea9;}['loadRevisionData'](_0x41fb87){if(!_0x41fb87||_0x41fb87['diffData'])return Promise['resolve']();{const _0x94a1bb=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x94a1bb,'revisionId':_0x41fb87['id']})['then'](_0xd9ce7=>{_0x41fb87['_update']({'diffData':_0xd9ce7['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},_0xa90f02=>{for(const _0x547146 of this['editor']['model']['document']['getRootNames']())_0xa90f02['detachRoot'](_0x547146);});}['_sortAndFilterDiffChanges'](_0x238412){const _0x76ae7a=[],_0x299054=new Map();for(const _0x4490c5 of this['editor']['model']['document']['getRootNames']()){const _0xe8d1fe=this['editor']['editing']['view']['getDomRoot'](_0x4490c5);if(!_0xe8d1fe)continue;const _0x454014=_0xe8d1fe['getClientRects']()['item'](0x0);_0x454014&&(_0x76ae7a['push'](_0x4490c5),_0x299054['set'](_0x4490c5,_0x454014));}return _0x76ae7a['sort']((_0x49440c,_0x3ade13)=>{const _0x52f281=_0x299054['get'](_0x49440c),_0xe3ebaa=_0x299054['get'](_0x3ade13);return _0x52f281['y']-_0xe3ebaa['y']||_0x52f281['x']-_0xe3ebaa['x'];}),(_0x238412=_0x238412['filter'](_0x275a79=>_0x76ae7a['includes'](_0x275a79['rootName'])))['sort']((_0x7ecc1,_0xf4c994)=>_0x76ae7a['indexOf'](_0x7ecc1['rootName'])-_0x76ae7a['indexOf'](_0xf4c994['rootName'])),_0x238412;}['_makeTape'](_0x6f4aed){const _0x460166=Array['from'](_0x6f4aed['markers'])['filter'](([_0x15a963,_0x23f246])=>_0x15a963['startsWith']('revision:')&&!_0x23f246['isCollapsed']),_0x5b2f8f=Array['from'](this['editor']['model']['createRangeIn'](_0x6f4aed)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x460166['length'])for(const _0x2b0ee6 of _0x5b2f8f){const [_0x15fc94,_0x3d4e90]=_0x460166[0x0],[,_0x52cd42,_0x38b484]=_0x15fc94['split'](':');if(_0x3d4e90['end']['isEqual'](_0x2b0ee6['nextPosition'])&&_0x460166['shift'](),(_0x2b0ee6['previousPosition']['isEqual'](_0x3d4e90['start'])||_0x2b0ee6['previousPosition']['isAfter'](_0x3d4e90['start']))&&('insertion'==_0x52cd42?_0x2b0ee6['isAdded']={'userId':_0x38b484}:'deletion'==_0x52cd42&&(_0x2b0ee6['isRemoved']={'userId':_0x38b484})),0x0==_0x460166['length'])break;}return _0x5b2f8f;}['_refreshStartEndIndex'](_0x23cee3){const _0x1f39a3=new Map();for(let _0x339b03=0x0;_0x339b03<_0x23cee3['length'];_0x339b03++)'text'===_0x23cee3[_0x339b03]['type']?(_0x23cee3[_0x339b03]['item']['startIndex']=_0x339b03,_0x23cee3[_0x339b03]['item']['endIndex']=_0x339b03):('elementStart'===_0x23cee3[_0x339b03]['type']?_0x23cee3[_0x339b03]['item']['startIndex']=_0x339b03:'elementEnd'===_0x23cee3[_0x339b03]['type']&&(_0x23cee3[_0x339b03]['item']['endIndex']=_0x339b03),_0x1f39a3['set'](_0x23cee3[_0x339b03]['id'],_0x339b03));for(const _0x44f33f of _0x1f39a3['values']())'elementStart'===_0x23cee3[_0x44f33f]['type']?_0x23cee3[_0x44f33f]['item']['endIndex']=_0x1f39a3['get'](_0x23cee3[_0x44f33f]['pairId']):'elementEnd'===_0x23cee3[_0x44f33f]['type']&&(_0x23cee3[_0x44f33f]['item']['startIndex']=_0x1f39a3['get'](_0x23cee3[_0x44f33f]['pairId']));}['_processTape'](_0x30e864){for(let _0x1ccea4=0x0;_0x1ccea4<_0x30e864['length'];_0x1ccea4++){if('elementStart'===_0x30e864[_0x1ccea4]['type'])_0x30e864[_0x1ccea4]['item']['startIndex']=_0x1ccea4;else{if('elementEnd'===_0x30e864[_0x1ccea4]['type']){_0x30e864[_0x1ccea4]['item']['endIndex']=_0x1ccea4;const _0x37f100=_0x30e864[_0x1ccea4]['item']['startIndex'];_0x30e864[_0x37f100]['pairId']=_0x30e864[_0x1ccea4]['id'],_0x30e864[_0x1ccea4]['pairId']=_0x30e864[_0x37f100]['id'];}else _0x30e864[_0x1ccea4]['item']['startIndex']=_0x1ccea4,_0x30e864[_0x1ccea4]['item']['endIndex']=_0x1ccea4,_0x30e864[_0x1ccea4]['pairId']=null;}_0x30e864[_0x1ccea4]['markersStart']||(_0x30e864[_0x1ccea4]['markersStart']=[],_0x30e864[_0x1ccea4]['markersEnd']=[]);}}['_markInsertions'](_0x403f15,_0x720210){const _0x27b244=_0x403f15['filter'](_0x5aeeb9=>!_0x5aeeb9['isAdded']);for(let _0x198565=0x0;_0x198565<_0x720210['length'];_0x198565++)_0x720210[_0x198565]['isAdded']&&(_0x27b244[_0x198565]['isAdded']=_0x720210[_0x198565]['isAdded']);}['_makeModelFromViewString'](_0x383eab){const _0x4a4667=JSON['parse'](_0x383eab),_0x242739=this['editor']['editing']['view']['document'],_0x446fe7=new _0x5dbf0d(_0x242739,_0x4a4667['map'](_0x1f847f=>this['_getViewObj'](_0x1f847f)));return this['editor']['data']['toModel'](_0x446fe7);}['_getViewObj'](_0x3ca582){const _0x5628d7=this['editor']['editing']['view']['document'];if('string'==typeof _0x3ca582)return new _0x55cba7(_0x5628d7,_0x3ca582);{const _0x40724d=_0x3ca582['children']['map'](_0x415c92=>this['_getViewObj'](_0x415c92));return new(tt[_0x3ca582['type']]||_0x3e7388)(_0x5628d7,_0x3ca582['name'],_0x3ca582['attributes'],_0x40724d);}}['_getDiff'](_0x4f9bbe,_0x386db4=null){const _0x369ebc=this['repository']['getRevision'](_0x4f9bbe),_0x5321e0=_0x386db4?this['repository']['getRevision'](_0x386db4):null,_0x3d86a5=this['_getRevisionsRange'](_0x369ebc,_0x5321e0),_0x3ec0a3=_0x3d86a5[_0x3d86a5['length']-0x1],_0x2151f1=new Map(),_0x2de217={'model':{},'attributes':{},'changes':[]},_0x4dd721=new Set(),_0x2330da=new Map();for(let _0x241870=_0x3d86a5['length']-0x1;_0x241870>=0x0;_0x241870--){const _0x211d61=_0x3d86a5[_0x241870];for(const _0x5eee7b of Object['keys'](_0x211d61['diffData']))if(_0x211d61['diffData'][_0x5eee7b]['attachChange']){const _0x4ce170=_0x211d61['diffData'][_0x5eee7b]['attachChange'];_0x4ce170['isAttached']?(_0x4dd721['add'](_0x5eee7b),_0x2330da['has'](_0x5eee7b)&&_0x2330da['get'](_0x5eee7b)['userId']==_0x4ce170['userId']?_0x2330da['delete'](_0x5eee7b):_0x2330da['set'](_0x5eee7b,_0x4ce170)):_0x2330da['has'](_0x5eee7b)?(_0x4dd721['delete'](_0x5eee7b),_0x2330da['delete'](_0x5eee7b)):(_0x4dd721['add'](_0x5eee7b),_0x2330da['set'](_0x5eee7b,_0x4ce170));}else _0x4dd721['add'](_0x5eee7b);}for(const _0x264c0b of _0x4dd721){const _0x30ea4b=_0x2330da['has'](_0x264c0b)&&!_0x2330da['get'](_0x264c0b)['isAttached'];let _0x4cbcc3=_0x30ea4b?_0x3d86a5['length']-0x1:0x0;const _0x5220a3=_0x30ea4b?-0x1:0x1;for(;_0x3d86a5[_0x4cbcc3];){const _0x9beb5a=_0x3d86a5[_0x4cbcc3];if(_0x9beb5a['diffData'][_0x264c0b]){const _0x1e5cd1=_0x30ea4b?_0x9beb5a['diffData'][_0x264c0b]['attributesBefore']:_0x9beb5a['diffData'][_0x264c0b]['attributesAfter'];_0x2de217['attributes'][_0x264c0b]=_0x1e5cd1?_0x129f66(_0x1e5cd1):{};break;}_0x4cbcc3+=_0x5220a3;}}for(const _0x1a4445 of _0x3d86a5){_0x1a4445['model']={};for(const _0x5969c0 of _0x1a4445['authors'])_0x2151f1['set'](_0x5969c0['id'],_0x5969c0);for(const _0x29d8b6 of _0x4dd721){const _0xb18aeb=_0x1a4445['diffData'][_0x29d8b6]?_0x1a4445['diffData'][_0x29d8b6]['insertions']:'[]',_0x3916a3=_0x1a4445['diffData'][_0x29d8b6]?_0x1a4445['diffData'][_0x29d8b6]['deletions']:'[]';_0x1a4445['model'][_0x29d8b6]={'insertions':this['_makeModelFromViewString'](_0xb18aeb),'deletions':this['_makeModelFromViewString'](_0x3916a3)};}}for(const _0x575342 of _0x4dd721){let _0x2df1cf=null,_0x4be529=0x0;const _0x26d5f8=new Map(Array['from'](_0x369ebc['model'][_0x575342]['insertions']['markers'])['filter'](([_0x4caa97])=>!_0x4caa97['startsWith']('revision:')));let _0x3caca5=0x0;for(const _0x1a0a18 of _0x3d86a5){const _0x4bd466=this['_makeTape'](_0x1a0a18['model'][_0x575342]['insertions']);_0x1a0a18==_0x369ebc?(_0x2df1cf=_0x4bd466,_0x4be529=_0x2df1cf['length'],_0x2df1cf['forEach'](_0x8afebf=>{_0x8afebf['id']=_0x3caca5++;}),this['_processTape'](_0x2df1cf)):this['_markInsertions'](_0x2df1cf,_0x4bd466);const _0x2505fe=_0x2df1cf['filter'](_0x3dfc91=>!_0x3dfc91['isAdded'])['map'](_0x399700=>_0x399700['id']);let _0x5da265=0x0;const _0x2692f7=this['_makeTape'](_0x1a0a18['model'][_0x575342]['deletions']);_0x2692f7['forEach'](_0x332130=>{_0x332130['isRemoved']?_0x332130['id']=_0x4be529++:_0x332130['id']=_0x2505fe[_0x5da265++];}),this['_processTape'](_0x2692f7),this['_setDistance'](_0x2df1cf,'isAdded'),this['_setDistance'](_0x2692f7,'isRemoved'),_0x1a0a18==_0x369ebc&&this['_markMarkers'](_0x2df1cf,_0x26d5f8),_0x2df1cf=this['_joinTapes'](_0x2df1cf,_0x2692f7),this['_refreshStartEndIndex'](_0x2df1cf),this['_setDistance'](_0x2df1cf,'isRemoved');}_0x2df1cf=_0x2df1cf['filter'](_0x4982e6=>!(_0x4982e6['isAdded']&&_0x4982e6['isRemoved']));const _0x4e9168=new Map(_0x3ec0a3['model'][_0x575342]['deletions']['markers']),_0x460ff9=new Set(_0x26d5f8['keys']());for(const _0x385f59 of _0x4e9168['keys']())_0x460ff9['delete'](_0x385f59);this['_markSuggestions'](_0x2df1cf,_0x460ff9),this['_fixObsoleteTags'](_0x2df1cf),_0x2df1cf=this['_removeMissingPairs'](_0x2df1cf),_0x2df1cf=this['_markMismatchedRemovedTags'](_0x2df1cf),_0x2df1cf=this['_removeUnsupportedChanges'](_0x2df1cf);const {root:_0x2480c6,changes:_0x243901}=this['_makeModelFromTape'](_0x2df1cf,_0x2151f1,_0x575342);_0x2de217['model'][_0x575342]=_0x2480c6;const _0x484035=_0x2330da['get'](_0x575342);if(_0x484035){const _0x3bf9ee=_0x2151f1['get'](_0x484035['userId']),_0x5a9a16=new r({'author':_0x3bf9ee,'type':_0x484035['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x575342});_0x243901['unshift'](_0x5a9a16),_0x2de217['attributes'][_0x575342]['revisionHistoryAttachChange']=_0x5a9a16['id'];}_0x2de217['changes']=_0x2de217['changes']['concat'](_0x243901);}return _0x2de217;}['_markMarkers'](_0x5d066c,_0x576c91){for(let _0x4ad0ee=0x0;_0x4ad0ee<_0x5d066c['length'];_0x4ad0ee++)for(const [_0x480b6a,_0x764aa9]of _0x576c91)_0x764aa9['start']['isEqual'](_0x5d066c[_0x4ad0ee]['previousPosition'])&&_0x5d066c[_0x4ad0ee]['markersStart']['push'](_0x480b6a),_0x764aa9['end']['isEqual'](_0x5d066c[_0x4ad0ee]['nextPosition'])&&_0x5d066c[_0x4ad0ee]['markersEnd']['push'](_0x480b6a);}['_joinTapes'](_0x42a52f,_0x476608){let _0x13236a=[],_0x1feb67=0x0,_0x3c6b4c=0x0;for(;_0x1feb67<_0x42a52f['length']||_0x3c6b4c<_0x476608['length'];){const _0x4f4aff=_0x42a52f[_0x1feb67]||{},_0x11d50f=_0x476608[_0x3c6b4c]||{};if(_0x4f4aff['id']==_0x11d50f['id'])_0x1feb67++,_0x3c6b4c++,_0x13236a['push'](_0x4f4aff);else{if(_0x11d50f['isRemoved']&&_0x4f4aff['isAdded']){const {commonTape:_0x464c6c,iEnd:_0x22666d,jEnd:_0x3cb767}=this['_threeWayMerge'](_0x42a52f,_0x1feb67,_0x476608,_0x3c6b4c);_0x13236a=_0x13236a['concat'](_0x464c6c),_0x1feb67=_0x22666d,_0x3c6b4c=_0x3cb767;}else _0x11d50f['isRemoved']?(_0x3c6b4c++,_0x13236a['push'](_0x11d50f)):(_0x1feb67++,_0x13236a['push'](_0x4f4aff));}}return _0x13236a;}['_markSuggestions'](_0x520003,_0x3ec479){const _0x2aaa46=[];for(let _0x2c1ad4=0x0;_0x2c1ad4<_0x520003['length'];_0x2c1ad4++){for(let _0x51eebe=0x0;_0x51eebe<_0x520003[_0x2c1ad4]['markersStart']['length'];_0x51eebe++){const _0x24b533=_0x520003[_0x2c1ad4]['markersStart'][_0x51eebe];if(!_0x3ec479['has'](_0x24b533))continue;const {group:_0x1f5d71,type:_0x29e579,authorId:_0x1486fa}=_0x2908dc(_0x24b533);'revision-suggestion'!=_0x1f5d71||'insertion'!=_0x29e579&&'deletion'!=_0x29e579||(_0x2aaa46['unshift']({'type':_0x29e579,'name':_0x24b533,'userId':_0x1486fa}),_0x520003[_0x2c1ad4]['markersStart']['splice'](_0x51eebe,0x1),_0x51eebe--);}_0x5dc4de(_0x520003[_0x2c1ad4]);for(let _0x5f4e99=0x0;_0x5f4e99<_0x520003[_0x2c1ad4]['markersEnd']['length'];_0x5f4e99++){const _0x581294=_0x520003[_0x2c1ad4]['markersEnd'][_0x5f4e99];if(!_0x3ec479['has'](_0x581294))continue;const {group:_0x1f4261,type:_0x2dbd14}=_0x2908dc(_0x581294);if('revision-suggestion'!=_0x1f4261||'insertion'!=_0x2dbd14&&'deletion'!=_0x2dbd14)continue;_0x520003[_0x2c1ad4]['markersEnd']['splice'](_0x5f4e99,0x1),_0x5f4e99--;const _0x3e3a23=_0x2aaa46['findIndex'](_0x44e6c4=>_0x44e6c4['name']==_0x581294);_0x3e3a23>-0x1&&_0x2aaa46['splice'](_0x3e3a23,0x1);}}function _0x2908dc(_0x14ae05){const _0x237a91=_0x14ae05['split'](':');return{'group':_0x237a91[0x0],'type':_0x237a91[0x1],'subType':_0x237a91['length']>=0x5?_0x237a91[0x2]:null,'id':_0x237a91['length']<0x5?_0x237a91[0x2]:_0x237a91[0x3],'authorId':_0x237a91['length']<0x5?_0x237a91[0x3]:_0x237a91[0x4],'markerCount':0x6==_0x237a91['length']?_0x237a91[0x5]:null};}function _0x5dc4de(_0x56ea67){for(let _0x1faba3=0x0;_0x1faba3<_0x2aaa46['length'];_0x1faba3++){if(_0x56ea67['isAdded']&&'insertion'==_0x2aaa46[_0x1faba3]['type'])return _0x56ea67['isAddSuggestion']=_0x2aaa46[_0x1faba3],void delete _0x56ea67['isAdded'];if(!_0x56ea67['isAdded']&&!_0x56ea67['isRemoved']&&'deletion'==_0x2aaa46[_0x1faba3]['type'])return void(_0x56ea67['isRemoveSuggestion']=_0x2aaa46[_0x1faba3]);}}}['_setDistance'](_0x4c7f5d,_0x8d283){let _0x343731=0x0,_0x15b673=!0x1;const _0x2c6e14=new Map();for(const _0x2af367 of _0x4c7f5d)_0x2af367[_0x8d283]?_0x15b673&&(_0x343731++,_0x15b673=!0x1):(_0x343731++,_0x15b673=!0x0),_0x2c6e14['set'](_0x2af367['id'],_0x343731);for(let _0x8ddb8a=0x0;_0x8ddb8a<_0x4c7f5d['length'];_0x8ddb8a++){if('isRemoved'==_0x8d283&&_0x4c7f5d[_0x8ddb8a]['isAdded']||'isAdded'==_0x8d283&&_0x4c7f5d[_0x8ddb8a]['isRemoved'])continue;if('text'==_0x4c7f5d[_0x8ddb8a]['type']){_0x4c7f5d[_0x8ddb8a]['distance']=0x0;continue;}const _0x48b3cd=_0x2c6e14['get'](_0x4c7f5d[_0x8ddb8a]['pairId']),_0x50f05a=_0x2c6e14['get'](_0x4c7f5d[_0x8ddb8a]['id']);_0x4c7f5d[_0x8ddb8a]['distance']=_0x48b3cd-_0x50f05a;}}['_getRevisionsRange'](_0xeaa6e8,_0x2b6b2a,_0x2cecec=!0x1){const _0x466dd0=[];let _0x2eead6=this['repository']['getIndex'](_0xeaa6e8),_0x1fb617=this['repository']['getIndex'](_0x2b6b2a);for(-0x1==_0x1fb617&&(_0x1fb617=this['repository']['_revisions']['length'],_0x2cecec=!0x1);_0x2eead6<_0x1fb617;)_0x466dd0['push'](this['repository']['getRevision'](_0x2eead6)),_0x2eead6++;return _0x2cecec&&_0x466dd0['push'](this['repository']['getRevision'](_0x2eead6)),_0x466dd0;}['_threeWayMerge'](_0x5eab15,_0x16c1de,_0x5aaa51,_0x8e8793){const _0x469f7f=this['editor']['model']['schema'];let _0x54006a=_0x16c1de;for(;_0x5eab15[_0x54006a]&&_0x5eab15[_0x54006a]['isAdded'];)_0x54006a++;let _0x592b78=_0x8e8793;for(;_0x5aaa51[_0x592b78]&&_0x5aaa51[_0x592b78]['isRemoved'];)_0x592b78++;_0x340644(_0x5eab15,_0x16c1de,_0x54006a),_0x340644(_0x5aaa51,_0x8e8793,_0x592b78);const _0x258f9f=_0x5aaa51['slice'](_0x8e8793,_0x592b78)['concat'](_0x5eab15['slice'](_0x16c1de,_0x54006a));return _0x258f9f['sort']((_0x538429,_0x1a0abc)=>_0x538429['side']!=_0x1a0abc['side']?_0x538429['side']-_0x1a0abc['side']:_0x538429['level']!=_0x1a0abc['level']?_0x538429['level']-_0x1a0abc['level']:_0x538429['distance']!=_0x1a0abc['distance']?_0x1a0abc['distance']-_0x538429['distance']:!!_0x538429['isAdded']!=!!_0x1a0abc['isAdded']?-0x1==_0x538429['side']||0x0==_0x538429['side']?_0x538429['isAdded']?-0x1:0x1:_0x538429['isAdded']?0x1:-0x1:_0x538429['index']-_0x1a0abc['index']),{'commonTape':_0x258f9f,'iEnd':_0x54006a,'jEnd':_0x592b78};function _0x340644(_0x1494dc,_0x5b2611,_0x272192){let _0x31f642=-0x1,_0x46469d=Number['POSITIVE_INFINITY'],_0x29092d=!0x0;for(let _0x53c041=_0x5b2611;_0x53c041<_0x272192;_0x53c041++)if(_0x469f7f['isInline'](_0x1494dc[_0x53c041]['item'])||(_0x29092d=!0x1),_0x1494dc[_0x53c041]['item']['startIndex']<_0x5b2611&&(_0x31f642=_0x53c041),_0x1494dc[_0x53c041]['item']['endIndex']>=_0x272192){_0x46469d=_0x53c041;break;}_0x29092d&&(_0x31f642=_0x272192-0x1);for(let _0x1b920a=_0x5b2611;_0x1b920a<_0x272192;_0x1b920a++)_0x1494dc[_0x1b920a]['side']=_0x1b920a<=_0x31f642?-0x1:_0x1b920a<_0x46469d?0x0:0x1,_0x1494dc[_0x1b920a]['index']=_0x1b920a;let _0x38a020=0x0;for(let _0x1270bd=_0x5b2611;_0x1270bd<=_0x31f642;_0x1270bd++)0x0==_0x1494dc[_0x1270bd]['distance']?_0x1494dc[_0x1270bd]['level']=_0x38a020:(_0x38a020++,_0x1494dc[_0x1270bd]['level']=_0x38a020,_0x38a020++);for(let _0x3fa8b4=_0x5b2611;_0x3fa8b4<_0x272192;_0x3fa8b4++)0x0==_0x1494dc[_0x3fa8b4]['side']&&(_0x1494dc[_0x3fa8b4]['level']=_0x38a020);_0x38a020=0x0;for(let _0x47e324=_0x272192-0x1;_0x47e324>=_0x46469d;_0x47e324--)0x0==_0x1494dc[_0x47e324]['distance']?_0x1494dc[_0x47e324]['level']=_0x38a020:(_0x38a020--,_0x1494dc[_0x47e324]['level']=_0x38a020,_0x38a020--);}}['_fixObsoleteTags'](_0x10bfc7){const _0x457737=new Map(),_0x430277=this['editor']['model']['schema'];for(let _0xe24472=0x1;_0xe24472<_0x10bfc7['length'];_0xe24472++){let _0x2a17a2,_0x41e816,_0x3b2ae0;const _0xecb5fc=_0x10bfc7[_0xe24472],_0x4e1132=_0x10bfc7[_0xe24472-0x1];if('text'==_0xecb5fc['type'])continue;if(_0xecb5fc['type']!=_0x4e1132['type'])continue;if(!_0x430277['isBlock'](_0x4e1132['item'])||_0x430277['isLimit'](_0x4e1132['item']))continue;if(!_0x430277['isBlock'](_0xecb5fc['item'])||_0x430277['isLimit'](_0xecb5fc['item']))continue;if((_0x10bfc7[_0xe24472]['isAdded']||_0x10bfc7[_0xe24472]['isAddSuggestion'])&&_0x10bfc7[_0xe24472-0x1]['isRemoved'])_0x2a17a2=_0x10bfc7[_0xe24472],_0x41e816=_0x10bfc7[_0xe24472-0x1],_0x3b2ae0=_0xe24472-0x1;else{if(!_0x10bfc7[_0xe24472]['isRemoved']||!_0x10bfc7[_0xe24472-0x1]['isAdded']&&!_0x10bfc7[_0xe24472-0x1]['isAddSuggestion'])continue;_0x2a17a2=_0x10bfc7[_0xe24472-0x1],_0x41e816=_0x10bfc7[_0xe24472],_0x3b2ae0=_0xe24472;}const _0x2d5d56=_0x2a17a2['level']==_0x41e816['level'],_0x37e016=Math['abs'](_0x2a17a2['level'])<Math['abs'](_0x41e816['level'])&&0x0==_0x41e816['distance'];(_0x2d5d56||_0x37e016)&&(_0x457737['set'](_0x41e816['id'],_0x2a17a2['id']),_0x10bfc7['splice'](_0x3b2ae0,0x1),_0xe24472--,_0x2a17a2['isAdded']=!0x1);}for(let _0x2763e2=0x0;_0x2763e2<_0x10bfc7['length'];_0x2763e2++)_0x457737['has'](_0x10bfc7[_0x2763e2]['pairId'])&&(_0x10bfc7[_0x2763e2]['pairId']=_0x457737['get'](_0x10bfc7[_0x2763e2]['pairId']));}['_removeMissingPairs'](_0x40b761){const _0x11563b=new Set(_0x40b761['map'](_0x296920=>_0x296920['id']));for(let _0x34ecd2=0x0;_0x34ecd2<_0x40b761['length'];_0x34ecd2++)_0x11563b['has'](_0x40b761[_0x34ecd2]['pairId'])||0x0==_0x40b761[_0x34ecd2]['distance']||(_0x40b761[_0x34ecd2]['isIncorrect']=!0x0);return _0x40b761['filter'](_0x30922a=>!_0x30922a['isIncorrect']);}['_markMismatchedRemovedTags'](_0x153d6){const _0x2e04d5=new Set();for(let _0x142f1f=0x0;_0x142f1f<_0x153d6['length'];_0x142f1f++){if(_0x2e04d5['has'](_0x153d6[_0x142f1f]['id'])&&_0x153d6[_0x142f1f]['isRemoved']&&(_0x153d6[_0x142f1f]['isIncorrect']=!0x0),_0x153d6[_0x142f1f]['isIncorrect'])continue;if(0x0==_0x153d6[_0x142f1f]['distance'])continue;if('elementStart'!=_0x153d6[_0x142f1f]['type'])continue;if(null==_0x153d6[_0x142f1f]['pairId'])continue;let _0x58a962=_0x142f1f+0x1,_0x4e3b9a=0x0;for(;_0x153d6[_0x58a962]['id']!=_0x153d6[_0x142f1f]['pairId'];)'elementStart'==_0x153d6[_0x58a962]['type']?_0x4e3b9a++:'elementEnd'==_0x153d6[_0x58a962]['type']&&_0x4e3b9a--,_0x58a962++;if(0x0!=_0x4e3b9a){if(_0x153d6[_0x142f1f]['isRemoved'])_0x153d6[_0x142f1f]['isIncorrect']=!0x0;else{for(;_0x58a962!=_0x142f1f;)_0x153d6[_0x58a962]['isRemoved']&&0x0!=_0x153d6[_0x58a962]['distance']&&(_0x153d6[_0x58a962]['isIncorrect']=!0x0,_0x2e04d5['add'](_0x153d6[_0x58a962]['pairId'])),_0x58a962--;}}}return _0x153d6['filter'](_0x20b14b=>!_0x20b14b['isIncorrect']);}['_removeUnsupportedChanges'](_0xa2c49f){const _0xed3ab0=this['editor']['model']['schema'];for(let _0x3e52b1=0x0;_0x3e52b1<_0xa2c49f['length'];_0x3e52b1++){if(!(_0xa2c49f[_0x3e52b1]['isAdded']||_0xa2c49f[_0x3e52b1]['isAddSuggestion']||_0xa2c49f[_0x3e52b1]['isRemoved']||_0xa2c49f[_0x3e52b1]['isRemoveSuggestion']))continue;if(0x0==_0xa2c49f[_0x3e52b1]['distance'])continue;const _0x209bba=_0xa2c49f[_0x3e52b1]['item'];_0xed3ab0['isBlock'](_0x209bba)||_0xed3ab0['isLimit'](_0x209bba)||(_0xa2c49f[_0x3e52b1]['isAdded']&&delete _0xa2c49f[_0x3e52b1]['isAdded'],_0xa2c49f[_0x3e52b1]['isAddSuggestion']&&delete _0xa2c49f[_0x3e52b1]['isAddSuggestion'],_0xa2c49f[_0x3e52b1]['isRemoveSuggestion']&&delete _0xa2c49f[_0x3e52b1]['isRemoveSuggestion'],_0xa2c49f[_0x3e52b1]['isRemoved']&&(_0xa2c49f[_0x3e52b1]['isIncorrect']=!0x0));}return _0xa2c49f['filter'](_0x59db73=>!_0x59db73['isIncorrect']);}['_makeModelFromTape'](_0x10c613,_0x163736,_0x5406e3){const _0x45b0bb=new wt(),_0x30195a=[],_0x4de096=new Map(),_0x257381=this['editor']['model'],_0x236c96=_0x257381['schema'],_0x568010=[_0x45b0bb],_0x53ad41={},_0x1b5f8d={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x444315=null;const _0x2d49ff=[0x0];for(let _0x4297ac=0x0;_0x4297ac<_0x10c613['length'];_0x4297ac++){let _0xd8f82d,_0x509146;if('elementStart'===_0x10c613[_0x4297ac]['type']){_0xd8f82d=_0x257381['createPositionFromPath'](_0x45b0bb,_0x2d49ff);const _0x4fbde6=new ft(_0x10c613[_0x4297ac]['item']['name'],_0x10c613[_0x4297ac]['item']['getAttributes']());_0x568010[0x0]['_appendChild'](_0x4fbde6),_0x2d49ff['push'](0x0),_0x568010['unshift'](_0x4fbde6),_0x509146=_0x257381['createPositionFromPath'](_0x45b0bb,_0x2d49ff),_0x444315=null;}else{if('elementEnd'===_0x10c613[_0x4297ac]['type'])_0x568010['shift'](),_0xd8f82d=_0x257381['createPositionFromPath'](_0x45b0bb,_0x2d49ff),_0x2d49ff['pop'](),_0x2d49ff[_0x2d49ff['length']-0x1]++,_0x509146=_0x257381['createPositionFromPath'](_0x45b0bb,_0x2d49ff),_0x444315=null;else{if(_0xd8f82d=_0x257381['createPositionFromPath'](_0x45b0bb,_0x2d49ff),_0x444315&&_0x523b7e(_0x444315,_0x10c613[_0x4297ac]['item']))_0x444315['_data']+=_0x10c613[_0x4297ac]['item']['data'];else{const _0x2f910=new _t(_0x10c613[_0x4297ac]['item']['data'],_0x10c613[_0x4297ac]['item']['getAttributes']());_0x568010[0x0]['_appendChild'](_0x2f910),_0x444315=_0x2f910;}_0x2d49ff[_0x2d49ff['length']-0x1]+=_0x10c613[_0x4297ac]['item']['offsetSize'],_0x509146=_0x257381['createPositionFromPath'](_0x45b0bb,_0x2d49ff);}}for(const _0x3a7f20 of _0x10c613[_0x4297ac]['markersStart'])_0x4de096['set'](_0x3a7f20,{'start':_0xd8f82d,'end':null});_0x1896b6('isRemoveSuggestion',_0x4297ac,_0xd8f82d,_0x509146),_0x1896b6('isAddSuggestion',_0x4297ac,_0xd8f82d,_0x509146),_0x1896b6('isRemoved',_0x4297ac,_0xd8f82d,_0x509146),_0x1896b6('isAdded',_0x4297ac,_0xd8f82d,_0x509146);for(const _0x1e1786 of _0x10c613[_0x4297ac]['markersEnd']){_0x4de096['get'](_0x1e1786)['end']=_0x509146;}}for(const [_0x1e32a8,_0x2c05a6]of _0x4de096){const _0x5a63e9=this['editor']['model']['createRange'](_0x2c05a6['start'],_0x2c05a6['end']);_0x45b0bb['markers']['set'](_0x1e32a8,_0x5a63e9);}return _0x30195a['sort']((_0x45c44a,_0x5bb972)=>{const _0x392eb6=_0x45b0bb['markers']['get']('revision:'+_0x45c44a['id']),_0x24e42a=_0x45b0bb['markers']['get']('revision:'+_0x5bb972['id']);return _0x392eb6['start']['isBefore'](_0x24e42a['start'])?-0x1:_0x392eb6['start']['isAfter'](_0x24e42a['start'])?0x1:_0x392eb6['end']['isBefore'](_0x24e42a['end'])?-0x1:_0x392eb6['end']['isAfter'](_0x24e42a['end'])?0x1:'add'===_0x45c44a['type']?-0x1:0x1;}),{'root':_0x45b0bb,'changes':_0x30195a};function _0x1896b6(_0x49830a,_0x2f89c9,_0x19eb83,_0x234e41){const _0x118009=!!_0x10c613[_0x2f89c9][_0x49830a],_0x5a3bc1=_0x118009?_0x10c613[_0x2f89c9][_0x49830a]['userId']:null,_0x5bb4e5=_0x2f89c9===_0x10c613['length']-0x1,_0x241458=_0x1b5f8d[_0x49830a][0x0],_0x4dadfb=_0x236c96['isObject'](_0x10c613[_0x2f89c9]['item']);!_0x53ad41[_0x49830a]&&_0x118009?_0x53ad41[_0x49830a]={'start':_0x19eb83,'tapeItem':_0x10c613[_0x2f89c9],'userId':_0x5a3bc1,'type':_0x49830a}:_0x53ad41[_0x49830a]&&!_0x118009?(_0x53ad41[_0x49830a]['end']=_0x19eb83,_0x507f41(_0x53ad41[_0x49830a]),_0x53ad41[_0x49830a]=null):_0x53ad41[_0x49830a]&&_0x118009&&_0x53ad41[_0x49830a]['userId']!==_0x5a3bc1&&(_0x53ad41[_0x49830a]['end']=_0x19eb83,_0x241458&&_0x241458['userId']===_0x53ad41[_0x49830a]['userId']||_0x507f41(_0x53ad41[_0x49830a]),_0x53ad41[_0x49830a]={'start':_0x19eb83,'tapeItem':_0x10c613[_0x2f89c9],'userId':_0x5a3bc1,'type':_0x49830a}),_0x53ad41[_0x49830a]&&_0x4dadfb&&('elementStart'!==_0x10c613[_0x2f89c9]['type']||_0x241458&&_0x241458['userId']===_0x5a3bc1||_0x1b5f8d[_0x49830a]['unshift']({'userId':_0x5a3bc1,'object':_0x10c613[_0x2f89c9]['item'],'change':_0x53ad41[_0x49830a]}),'elementEnd'===_0x10c613[_0x2f89c9]['type']&&_0x241458&&_0x241458['object']===_0x10c613[_0x2f89c9]['item']&&(_0x1b5f8d[_0x49830a]['shift'](),_0x53ad41[_0x49830a]=_0x241458['change'])),_0x53ad41[_0x49830a]&&_0x5bb4e5&&(_0x53ad41[_0x49830a]['end']=_0x234e41,_0x507f41(_0x53ad41[_0x49830a]),_0x53ad41[_0x49830a]=null);}function _0x507f41({start:_0x56564f,end:_0x50feb2,tapeItem:_0x42850c,userId:_0x2fe628,type:_0x7ff710}){const _0x2aa2e1=_0x42850c['item'],_0x5d8283=_0x257381['schema']['isBlock'](_0x2aa2e1)&&!_0x257381['schema']['isLimit'](_0x2aa2e1),_0x15b120=_0x56564f['nodeAfter']==_0x50feb2['parent']&&_0x50feb2['isAtStart'];if(_0x5d8283&&_0x15b120)return;const _0x35e056=_0x257381['createRange'](_0x56564f,_0x50feb2),_0x20f875=_0x163736['get'](_0x2fe628),_0x39423c=new r({'author':_0x20f875,'type':'isAdded'==_0x7ff710||'isAddSuggestion'==_0x7ff710?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x7ff710||'isRemoveSuggestion'==_0x7ff710},'createdAt':new Date(),'rootName':_0x5406e3});_0x30195a['push'](_0x39423c),_0x45b0bb['markers']['set']('revision:'+_0x39423c['id'],_0x35e056);}function _0x523b7e(_0x590871,_0x4a7abd){const _0x55fcd3=_0x590871['getAttributes'](),_0x5b8f78=_0x4a7abd['getAttributes']();for(const _0x3db22c of _0x55fcd3){if(_0x3db22c[0x1]!==_0x4a7abd['getAttribute'](_0x3db22c[0x0]))return!0x1;_0x5b8f78['next']();}return _0x5b8f78['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x587ff1=>{const _0x1ac77e=_0x587ff1['markerName']['split'](':')[0x1],_0x162eff=this['_getChangeFromId'](_0x1ac77e);if(!_0x162eff)return null;const _0x2ef09b='add'==_0x162eff['type']?'insertion':'deletion',_0x57f485=['ck-suggestion-marker','ck-suggestion-marker-'+_0x2ef09b];return _0x162eff['data']['isSuggestion']&&_0x57f485['push']('ck-suggestion-marker-'+_0x2ef09b+'-new'),this['activeChange']==_0x162eff&&_0x57f485['push']('ck-suggestion-marker--active'),{'classes':_0x57f485,'attributes':{'data-change-id':_0x1ac77e}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x564849=>{_0x564849['on']('element:pre',(_0x3fbf82,_0x4956e9,_0x1c1a8f)=>{const _0x45141a=_0x4956e9['viewItem']['getChild'](0x0);if(!_0x45141a||!_0x45141a['is']('element','code'))return;if(!_0x1c1a8f['consumable']['consume'](_0x45141a,{'attributes':['vid_start','vid_end']}))return;const _0x276560=_0x4956e9['modelRange']['start']['nodeAfter'];_0x1c1a8f['writer']['setAttribute']('vid_start',_0x45141a['getAttribute']('vid_start'),_0x276560),_0x1c1a8f['writer']['setAttribute']('vid_end',_0x45141a['getAttribute']('vid_end'),_0x276560);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x3036e9=>{_0x3036e9['on']('element',(_0x3508a2,_0x5acae1,_0x4ea69e)=>{if(!_0x4ea69e['consumable']['consume'](_0x5acae1['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x5acae1['modelRange']['isCollapsed'])return;const _0x590be8=_0x5acae1['modelRange']['start']['nodeAfter'];_0x590be8['hasAttribute']('vid_start')||_0x590be8['hasAttribute']('vid')||(_0x4ea69e['writer']['setAttribute']('vid_start',_0x5acae1['viewItem']['getAttribute']('vid_start'),_0x590be8),_0x4ea69e['writer']['setAttribute']('vid_end',_0x5acae1['viewItem']['getAttribute']('vid_end'),_0x590be8));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0xce7cd6=>_0xce7cd6['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x5bf7c9,[,_0x306bd1])=>{['vid_start','vid_end','vid']['includes'](_0x306bd1)&&(_0x5bf7c9['return']=!0x0,_0x5bf7c9['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x40c434=>{_0x40c434['on']('attribute:vid',(_0x5ee638,_0x5b5605,_0x45bd1a)=>{if('\x20'!=_0x5b5605['item']['data']||_0x5b5605['item']['parent']['maxOffset']>0x1)return;if(!_0x45bd1a['consumable']['consume'](_0x5b5605['item'],_0x5ee638['name']))return;const _0x655fb2=_0x45bd1a['writer'],_0x5067a7=_0x45bd1a['mapper']['toViewRange'](_0x5b5605['range']);_0x655fb2['wrap'](_0x5067a7,_0x655fb2['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x230f24){const _0x335c65=_0x230f24['plugins']['get']('RevisionViewer');return(_0x45b161,_0x371fb6,_0xeaaf3a)=>{const _0x5e4886=_0x371fb6['markerName']['split'](':')[0x1],_0x372882=_0x335c65['_getChangeFromId'](_0x5e4886);if(!_0x372882)return null;const _0x3a403a='add'==_0x372882['type']?'split':'merge';if(!_0xeaaf3a['consumable']['test'](_0x371fb6['markerRange'],_0x45b161['name']))return;const _0x50cc54=_0x371fb6['markerRange']['getWalker'](),_0x28333e=_0x371fb6['markerRange']['start'],_0xe64522=_0x230f24['model']['schema'];let _0x361f22=null,_0x2604a6=null,_0x5ef426=!0x1,_0x3d4f90=!0x1;for(const _0x59c901 of _0x50cc54){const _0x36c8fe=_0x59c901['item'];_0x5ef426=_0x5ef426||_0xe64522['isContent'](_0x36c8fe);const _0x110065=_0xeaaf3a['mapper']['toViewElement'](_0x36c8fe);if(_0x110065&&_0x110065['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x59c901['type']&&(_0xe64522['isBlock'](_0x36c8fe)&&!_0xe64522['isLimit'](_0x36c8fe)&&(_0x36c8fe['nextSibling']||_0x28333e['isAtEnd']?_0x361f22&&_0x361f22['parent']==_0x36c8fe||(_0x361f22=_0x36c8fe,_0x1118dc(_0x59c901['previousPosition']),_0x3d4f90=!0x0):_0x2604a6=_0x2604a6||_0x59c901['previousPosition']));}function _0x1118dc(_0x1ad5fe){const _0x596a23=_0xeaaf3a['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3a403a}),_0xf71d84=_0xeaaf3a['mapper']['toViewPosition'](_0x1ad5fe);_0x372882['data']['isSuggestion']&&_0xeaaf3a['writer']['addClass']('ck-suggestion-marker-'+_0x3a403a+'-new',_0x596a23),_0x335c65['activeChange']==_0x372882&&_0xeaaf3a['writer']['addClass']('ck-suggestion-marker--active',_0x596a23),_0xeaaf3a['writer']['insert'](_0xf71d84,_0x596a23),_0xeaaf3a['mapper']['bindElementToMarker'](_0x596a23,_0x371fb6['markerName']);}_0x5ef426||_0x3d4f90||!_0x2604a6||_0x1118dc(_0x2604a6);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x52e5c2,_0x46d61b,_0x1f4546)=>{const _0x207f6f=_0x1f4546['mapper']['markerNameToElements'](_0x46d61b['markerName']);if(_0x207f6f){for(const _0x41af23 of _0x207f6f)(_0x41af23['hasClass']('ck-suggestion-marker-split')||_0x41af23['hasClass']('ck-suggestion-marker-merge'))&&(_0x1f4546['mapper']['unbindElementFromMarkerName'](_0x41af23,_0x46d61b['markerName']),_0x1f4546['writer']['remove'](_0x41af23));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x34c449,_0xf4afc0,_0x34b71e)=>{const _0x3afd06=_0xf4afc0['markerName']['split'](':')[0x1],_0x4de021=this['_getChangeFromId'](_0x3afd06);if(!_0x4de021)return null;const _0x3ff063='add'==_0x4de021['type']?'split':'merge';if(_0x34b71e['consumable']['test'](_0xf4afc0['markerRange'],_0x34c449['name']))for(const _0x34c099 of _0xf4afc0['markerRange']['getItems']()){if(!_0x34c099['is']('element','softBreak'))continue;const _0x5f47dd=_0x34b71e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3ff063}),_0x42ce5d=_0x34b71e['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x34c099));_0x4de021['data']['isSuggestion']&&_0x34b71e['writer']['addClass']('ck-suggestion-marker-'+_0x3ff063+'-new',_0x5f47dd),this['activeChange']==_0x4de021&&_0x34b71e['writer']['addClass']('ck-suggestion-marker--active',_0x5f47dd),_0x34b71e['writer']['insert'](_0x42ce5d,_0x5f47dd),_0x34b71e['mapper']['bindElementToMarker'](_0x5f47dd,_0xf4afc0['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x95f18f=>{for(const _0x2e8d30 of this['editor']['model']['document']['getRootNames']()){const _0x382c07=this['editor']['model']['document']['getRoot'](_0x2e8d30),_0x4620c8=this['editor']['editing']['view']['document']['getRoot'](_0x2e8d30);if(_0x4620c8){const _0xb50b57=_0x382c07['getAttribute']('revisionHistoryAttachChange');if(_0x95f18f['removeAttribute']('data-change-id',_0x4620c8),_0x95f18f['removeClass']('ck-revision-history-root-add',_0x4620c8),_0x95f18f['removeClass']('ck-revision-history-root-remove',_0x4620c8),_0x95f18f['removeClass']('ck-revision-history-root--active',_0x4620c8),_0xb50b57){const _0x310219=this['_getChangeFromId'](_0xb50b57);if(!_0x310219)return null;_0x95f18f['setAttribute']('data-change-id',_0xb50b57,_0x4620c8),_0x95f18f['addClass']('ck-revision-history-root-'+_0x310219['type'],_0x4620c8),this['activeChange']==_0x310219&&_0x95f18f['addClass']('ck-revision-history-root--active',_0x4620c8);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x5a504f=>'revision-comment:'+_0x5a504f,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x933edf=>'revision-suggestion:'+_0x933edf,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x4e0b9d=>({'name':'suggestion:'+_0x4e0b9d,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x1fd174=>{const _0x3b2874=_0x1fd174['markerName']['split'](':')[0x1];return'insertion'!=_0x3b2874&&'deletion'!=_0x3b2874?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x3b2874]};}}),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',(_0x51da58,_0x267cce,_0x5421c2)=>{const _0x1e89c9=_0x5421c2['mapper']['markerNameToElements'](_0x267cce['markerName']);if(_0x1e89c9){for(const _0x3f924d of _0x1e89c9)_0x3f924d['is']('uiElement')&&(_0x5421c2['mapper']['unbindElementFromMarkerName'](_0x3f924d,_0x267cce['markerName']),_0x5421c2['writer']['remove'](_0x3f924d));}},{'priority':'high'});}['_getChangeFromId'](_0x4a4fdc){return this['_changeIdToChange']['get'](_0x4a4fdc);}['_getViewForChange'](_0x30f1c0){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x30f1c0),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0xbcc20d,_0x108f9c,_0x31526e,_0x3786b5)=>{_0x3786b5&&this['_balloon']['remove'](_0x3786b5),_0x31526e&&(this['_balloon']['add']({'view':_0x31526e,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x2bf87e=this['editor']['editing'],_0xb87229=this['_getChangeFromId'](_0x31526e['changeId']);let _0x5764cb;if(_0xb87229['data']['isOnRoot']){const _0x272e56=_0x2bf87e['view']['getDomRoot'](_0xb87229['rootName']);_0x5764cb=Array['from'](_0x272e56['getClientRects']());}else{const _0x4d5957=this['editor']['model']['markers']['get']('revision:'+_0x31526e['changeId']);_0x5764cb=Array['from'](_0x2bf87e['mapper']['markerNameToElements'](_0x4d5957['name']))['map'](_0x3d54df=>_0x2bf87e['view']['domConverter']['mapViewToDom'](_0x3d54df))['map'](_0x43a56a=>Array['from'](_0x43a56a['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x5764cb[0x0];return _0x5764cb['find'](_0x45be73=>_0x45be73['top']-0x3<=this['_activeViewTarget']['y']&&_0x45be73['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x45be73['left']-0x3<=this['_activeViewTarget']['x']&&_0x45be73['right']+0x3>=this['_activeViewTarget']['x'])||_0x5764cb[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x467b14,_0x27b92f,_0x51f701,_0x4e25f3)=>{this['activeView']=_0x51f701?this['_getViewForChange'](_0x51f701):null,this['editor']['model']['change'](()=>{const _0x11bd78=this['editor']['editing'];_0x4e25f3&&(_0x4e25f3['data']['isOnRoot']?_0x11bd78['view']['change'](_0xc001c=>{_0xc001c['removeClass']('ck-revision-history-root--active',_0x11bd78['view']['document']['getRoot'](_0x4e25f3['rootName']));}):_0x11bd78['reconvertMarker']('revision:'+_0x4e25f3['id'])),_0x51f701&&(_0x51f701['data']['isOnRoot']?_0x11bd78['view']['change'](_0x1a10d0=>{_0x1a10d0['addClass']('ck-revision-history-root--active',_0x11bd78['view']['document']['getRoot'](_0x51f701['rootName']));}):_0x11bd78['reconvertMarker']('revision:'+_0x51f701['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x594011,_0x1a117e)=>{if(this['activeChange'])return;const _0x5cd513=this['_findChangeIdFromDomTarget'](_0x1a117e['target']),_0x126cd1=this['_changeIdToChange']['get'](_0x5cd513);_0x126cd1?(this['_activeViewTarget']={'x':_0x1a117e['domEvent']['x'],'y':_0x1a117e['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x126cd1)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x870a07,_0x4c514e)=>{const _0x26961c=this['_findChangeIdFromDomTarget'](_0x4c514e['target']),_0x41acab=this['_changeIdToChange']['get'](_0x26961c);_0x41acab?(this['_activeViewTarget']={'x':_0x4c514e['domEvent']['x'],'y':_0x4c514e['domEvent']['y']},_0x41acab===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x41acab):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x513cc9){do{const _0x49cbed=_0x513cc9['getAttribute']('data-change-id');if(_0x49cbed)return _0x49cbed;_0x513cc9=_0x513cc9['parent'];}while(_0x513cc9);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x6eed05=>{for(const _0x232808 of this['editor']['model']['markers'])_0x6eed05['removeMarker'](_0x232808);});}}function et(_0x42f67d,_0x188b01){return(_0x11e224,_0xa5d378,_0x5d0f85)=>{if(!_0x5d0f85['consumable']['test'](_0xa5d378['markerRange'],_0x11e224['name']))return;const _0x2ac91b=_0xa5d378['markerRange']['getWalker'](),_0x183cf4=_0xa5d378['markerRange']['start'],_0x1ee377=_0x42f67d['model']['schema'];let _0x10bc31=null,_0x5a1392=null,_0x1c4d72=!0x1,_0x1b13ea=!0x1;for(const _0x37ccd3 of _0x2ac91b){const _0x2ac446=_0x37ccd3['item'];_0x1c4d72=_0x1c4d72||_0x1ee377['isContent'](_0x2ac446);const _0x46df9d=_0x5d0f85['mapper']['toViewElement'](_0x2ac446);if(_0x46df9d&&_0x46df9d['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x37ccd3['type']&&(_0x1ee377['isBlock'](_0x2ac446)&&!_0x1ee377['isLimit'](_0x2ac446)&&(_0x2ac446['nextSibling']||_0x183cf4['isAtEnd']?_0x10bc31&&_0x10bc31['parent']==_0x2ac446||(_0x10bc31=_0x2ac446,_0x5e2d21(_0x37ccd3['previousPosition']),_0x1b13ea=!0x0):_0x5a1392=_0x5a1392||_0x37ccd3['previousPosition']));}function _0x5e2d21(_0x380d56){const _0x23ea66=_0x5d0f85['mapper']['toViewPosition'](_0x380d56),_0x48f94e=_0x5d0f85['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x188b01});_0x5d0f85['writer']['insert'](_0x23ea66,_0x48f94e),_0x5d0f85['mapper']['bindElementToMarker'](_0x48f94e,_0xa5d378['markerName']);}_0x1c4d72||_0x1b13ea||!_0x5a1392||_0x5e2d21(_0x5a1392);};}class yt extends _0x5c8442{constructor(_0x9fdacb){super(_0x9fdacb);const _0x209398=_0x9fdacb['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x209398,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x209398,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x559143=this['editor'],_0x320ad4=_0x559143['plugins']['get'](d),_0x1b6010=_0x320ad4['isReady']?_0x320ad4['diff']['newRevisionId']:null;_0x559143['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1b6010);}['refresh'](){const {isReady:_0x2430de,isEnabled:_0x383668}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x2430de&&_0x383668;}}class bt extends _0x5c8442{['_step'];constructor(_0x5b8573,{direction:_0x46acdd}){super(_0x5b8573);const _0x4a62c9=_0x5b8573['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x46acdd?0x1:-0x1,this['listenTo'](_0x4a62c9,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x4a62c9,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x4a62c9,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x3bdf9f=this['editor'],_0x2037c2=_0x3bdf9f['plugins']['get'](d),{isNavigationMode:_0xd9f582,currentChangeNumber:_0x1d9344}=_0x2037c2;let _0x325b5a;if(_0x2037c2['activeChange']=_0xd9f582?_0x2037c2['diff']['changes']['get'](_0x1d9344+this['_step']):_0x2037c2['diff']['changes']['first'],_0x2037c2['activeChange']['data']['isOnRoot'])_0x325b5a=_0x3bdf9f['editing']['view']['getDomRoot'](_0x2037c2['activeChange']['rootName']);else{const _0x416e05=_0x3bdf9f['model']['markers']['get']('revision:'+_0x2037c2['activeChange']['id']);_0x325b5a=_0x5d1cab(_0x3bdf9f['editing'],_0x416e05);}_0x412950({'target':_0x325b5a,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x3b2fd8,currentChangeNumber:_0xb534e8,numberOfChanges:_0x3f2f99,isReady:_0x321bda,isEnabled:_0x2d4b4a}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x2d4b4a&&_0x321bda&&_0x3f2f99)&&(!_0x3b2fd8||(0x1===this['_step']?_0xb534e8<_0x3f2f99-0x1:_0xb534e8>0x0));}}class _i extends _0x426b94{constructor(_0x597c7b){super(_0x597c7b);const _0x513a4f=this['bindTemplate'],_0x874ae9=new _0x3e3432(_0x597c7b),_0x4f0c56=new _0x3e3432(_0x597c7b);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',(_0xc2dc09,_0x4b2371)=>_0xc2dc09&&_0x4b2371>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0xf79411,_0xf5c2bf,_0x646529,_0x1b21e9)=>{if(!_0xf79411)return w(_0x597c7b,'Loading...');if(!_0x646529)return w(_0x597c7b,'No\x20changes');const _0x7574d1=w(_0x597c7b,'NUMBER_OF_CHANGES',_0x646529);return _0x1b21e9?w(_0x597c7b,'X_OF_Y_CHANGES',[_0xf5c2bf+0x1,_0x646529]):_0x7574d1;}),_0x874ae9['set']({'label':w(_0x597c7b,'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'}),_0x4f0c56['set']({'label':w(_0x597c7b,'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'}),_0x874ae9['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x4f0c56['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x874ae9['on']('execute',()=>this['fire']('execute','backward')),_0x4f0c56['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',_0x513a4f['if']('_isStatusLabelVisible','ck-hidden',_0x3c96b1=>!_0x3c96b1)]},'children':[{'text':_0x513a4f['to']('isNavigationMode',_0x2e3962=>_0x2e3962?w(_0x597c7b,'EDIT_X_OF_Y_REVISIONS')+':\x20':w(_0x597c7b,'Total')+':\x20')}]},{'text':_0x513a4f['to']('_statusText')}]},new _0x77fb68(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x874ae9,_0x4f0c56]}]});}}const ce='ck-editor__editable__loading-overlay';class le extends _0x5a8318{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['show'](){const _0x1143d2=this['editor']['editing']['view'];_0x1143d2['change'](_0xe078c5=>{for(const _0x458bbb of _0x1143d2['document']['roots'])_0xe078c5['addClass'](ce,_0x458bbb);});}['hide'](){const _0x5d7f83=this['editor']['editing']['view'];_0x5d7f83['change'](_0x1a27d1=>{for(const _0x3f0ea3 of _0x5d7f83['document']['roots'])_0x1a27d1['removeClass'](ce,_0x3f0ea3);});}}class m extends _0x5a8318{static get['pluginName'](){return'RevisionViewerUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[d,le];}['init'](){const _0x2e5369=this['editor'],_0x1f3a19=_0x2e5369['plugins']['get'](d),_0xd14687=_0x2e5369['plugins']['get'](le);_0x2e5369['ui']['componentFactory']['add']('exitToEditing',_0x5b1174=>{const _0x3d7bbb=new _0x3e3432(_0x5b1174);return _0x3d7bbb['set']({'label':w(_0x5b1174,'Back\x20to\x20editing'),'icon':_0x353022['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x3d7bbb,'execute',()=>{_0x2e5369['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x3d7bbb;}),_0x2e5369['ui']['componentFactory']['add']('restoreRevision',_0x3e8ecf=>{const _0x186e93=new _0x3e3432(_0x3e8ecf);return _0x186e93['set']({'label':w(_0x3e8ecf,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x186e93['bind']('isEnabled')['to'](_0x2e5369['commands']['get']('restoreRevision')),this['listenTo'](_0x186e93,'execute',()=>_0x2e5369['execute']('restoreRevision')),_0x186e93;}),_0x2e5369['ui']['componentFactory']['add']('changesNavigation',_0x8b322f=>{const _0x288fff=new _i(_0x8b322f),_0x4c9f75=_0x2e5369['commands']['get']('showPreviousChange'),_0x4bbf01=_0x2e5369['commands']['get']('showNextChange');return _0x288fff['bind']('isBackwardNavigationEnabled')['to'](_0x4c9f75,'isEnabled'),_0x288fff['bind']('isForwardNavigationEnabled')['to'](_0x4bbf01,'isEnabled'),_0x288fff['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x1f3a19),this['listenTo'](_0x288fff,'execute',(_0x1f6c46,_0x1b6208)=>{_0x2e5369['execute']('forward'===_0x1b6208?'showNextChange':'showPreviousChange');}),_0x288fff;}),_0xd14687['show'](),_0x1f3a19['on']('change:isReady',(_0x298579,_0x5b48f3,_0x4aee43)=>{_0x4aee43?_0xd14687['hide']():_0xd14687['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x469e4f,_0x3207d8){super(_0x469e4f,_0x3207d8);const _0x4a011e=this['bindTemplate'];this['set']({'label':w(_0x469e4f,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=w(_0x469e4f,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x4a011e['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new mt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x5dd170=this['fieldView']['element'];this['_tooltipString']=_0x5dd170['scrollWidth']>_0x5dd170['clientWidth']&&_0x5dd170['value']||'';}}class ti extends _0x426b94{constructor(_0x32d17a,_0xae0fd8,_0x17d95d){super(_0x32d17a);const _0x329adb=new _0x5806cf();_0x329adb['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 _0xe199ba=['ck','ck-revision-history-sidebar__revision-author'];_0x17d95d&&_0xe199ba['push']('ck-revision-history-sidebar__revision-author_creator');const _0x360250=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':w(_0x32d17a,_0x17d95d?'Revision\x20creator':'Revision\x20author')},'children':[_0x329adb,_0xae0fd8['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0xe199ba},'children':_0x360250});}}function ni(_0x51eff5,_0x143ae3){const _0x217ed5=_0x51eff5['bindTemplate'],_0x15999e=_0x51eff5['locale'],_0x5775c8=_0x42ea35(_0x15999e);_0x5775c8['panelPosition']='sw';const _0x5f418f=function(_0x4f7db1,_0x52133c){const _0x3d8d63=function(_0x553edc,_0xd90ca){const _0x7dae25=_0x553edc['locale'],_0x505b57={'Compare\x20against\x20selected':w(_0x7dae25,'Compare\x20against\x20selected'),'Name\x20this\x20revision':w(_0x7dae25,'Name\x20this\x20revision'),'Restore\x20this\x20revision':w(_0x7dae25,'Restore\x20this\x20revision')};return _0xd90ca['map'](_0x4ce563=>{const _0x5138f4=_0x505b57[_0x4ce563['name']];return _0x5138f4&&_0x5138f4!==_0x4ce563['name']&&(_0x4ce563['name']=_0x5138f4),_0x4ce563;});}(_0x4f7db1,_0x52133c),_0x391270=new _0x6948d8();for(const _0x47b6cb of _0x3d8d63){const _0x1d05ed={'type':'button','model':new to({'label':_0x47b6cb['name'],'class':_0x47b6cb['class'],'withText':!0x0,'role':'menuitem','_action':_0x47b6cb['action']})};_0x1d05ed['model']['bind']('isEnabled')['to'](_0x4f7db1,'isActionsDropdownOpen',_0x189da8=>'function'!=typeof _0x47b6cb['isEnabled']||(!_0x189da8||_0x47b6cb['isEnabled'](_0x4f7db1))),_0x391270['add'](_0x1d05ed);}return _0x391270;}(_0x51eff5,_0x143ae3);return _0x51eff5['bind']('isActionsDropdownOpen')['to'](_0x5775c8,'isOpen'),_0x5775c8['buttonView']['set']({'label':w(_0x15999e,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x353022['threeVerticalDots']}),_0x5775c8['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x217ed5['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x217ed5['to'](_0x2a8294=>_0x2a8294['stopPropagation']())}}),_0x5775c8['on']('execute',_0x168818=>{_0x51eff5['isReady']&&'function'==typeof _0x168818['source']['_action']&&_0x168818['source']['_action'](_0x51eff5);}),_0x58d5a8(_0x5775c8,_0x5f418f,{'role':'menu'}),_0x5775c8['listenTo'](_0x51eff5,'change:isActionsDropdownOpen',(_0x136a0a,_0x394d2d,_0x3f4439)=>{if(_0x3f4439)for(const _0x25351e of _0x5775c8['listView']['items']){const _0x3111d3=_0x25351e['children']['first'],_0x1c8974=_0x143ae3['find'](_0x5d4d58=>_0x5d4d58['action']===_0x3111d3['_action'])['isVisible'];_0x25351e['isVisible']=void 0x0===_0x1c8974||_0x1c8974(_0x51eff5);}}),_0x5775c8;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x529bfb(_0x426b94){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x6c2f54,_0x5e7c44,_0x39ee44,_0x199970){super(_0x6c2f54);const _0x5484bc=this['bindTemplate'],_0x331210=function(_0x57ed70,_0xfcbd57){const _0x226282=Array['from'](_0xfcbd57['authors'])['filter'](_0x1c924a=>_0x1c924a!=_0xfcbd57['creator']);return _0xfcbd57['creator']&&_0x226282['unshift'](_0xfcbd57['creator']),_0x226282['map'](_0x1f21ff=>new ti(_0x57ed70,_0x1f21ff,_0x1f21ff==_0xfcbd57['creator']));}(_0x6c2f54,_0x5e7c44);this['id']=_0x5e7c44['id'],this['_revision']=_0x5e7c44,this['_requireRevisionName']=_0x199970,this['bind']('name','createdAt')['to'](_0x5e7c44),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x164484=>{return _0x30ecd0=_0x6c2f54['uiLanguage'],(_0x1d6337=_0x164484)['toLocaleDateString'](_0x30ecd0,{'month':'long','day':'numeric'})+',\x20'+_0x1d6337['toLocaleTimeString'](_0x30ecd0,{'hour':'numeric','minute':'numeric'});var _0x30ecd0,_0x1d6337;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x6c2f54,_0x3702a7),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x5ae123=>_0x5ae123||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x366976,_0x5c3ad1)=>_0x366976&&_0x5c3ad1),this['revisionActionsView']=_0x39ee44&&_0x39ee44['length']?ni(this,_0x39ee44):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x5484bc['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x5484bc['if']('isEnabled','ck-disabled',_0x1bb932=>!_0x1bb932),_0x5484bc['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x5484bc['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x5484bc['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':_0x5484bc['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':_0x331210}]},this['revisionActionsView']],'on':{'click':_0x5484bc['to'](_0x1be7e0=>{_0x1be7e0['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0xd3483b=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0xd3483b,'change',()=>{this['_requireRevisionName']&&!_0xd3483b['value']||this['fire']('setName',{'id':this['id'],'name':_0xd3483b['value']}),_0xd3483b['value']||(_0xd3483b['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function di(_0x26a2fe,_0x5a7254){const _0x4c8bda=_0x56d018['fromJSDate'](_0x26a2fe)['setLocale'](_0x5a7254),_0x8e1817=_0x56d018['local'](),_0x3b6a07=_0x8e1817['minus']({'days':0x1})['startOf']('day');let _0x5b2aa7,_0x1e6a52;return _0x4c8bda['hasSame'](_0x8e1817,'day')?(_0x5b2aa7=_0x4c8bda['startOf']('day')['toJSDate'](),_0x1e6a52=_0x4c8bda['toRelativeCalendar']()):_0x4c8bda['hasSame'](_0x3b6a07,'day')?(_0x5b2aa7=_0x3b6a07['toJSDate'](),_0x1e6a52=_0x4c8bda['toRelativeCalendar']()):_0x4c8bda['hasSame'](_0x8e1817,'week')?(_0x5b2aa7=_0x4c8bda['startOf']('week')['toJSDate'](),_0x1e6a52=_0x4c8bda['weekdayLong']||''):_0x4c8bda['hasSame'](_0x8e1817,'year')?(_0x5b2aa7=_0x4c8bda['startOf']('month')['toJSDate'](),_0x1e6a52=_0x4c8bda['monthLong']||''):(_0x5b2aa7=_0x4c8bda['startOf']('year')['toJSDate'](),_0x1e6a52=String(_0x4c8bda['year'])),{'startDate':_0x5b2aa7,'localizedPeriodName':_0x1e6a52};}class mi extends _0x426b94{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x2493e4,_0x4efad9,_0x22e901,_0x4e839f){super(_0x2493e4);const _0xf5f483=di(_0x4efad9,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x4efad9,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x22e901,this['_requireRevisionName']=_0x4e839f,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':_0xf5f483}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x30f7f3){const _0x5e3a78=new ai(this['locale'],_0x30f7f3,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x5e3a78);}['removeRevision'](_0x25dacd){const _0x1aefa5=this['revisionViews']['find'](_0x1fc698=>_0x1fc698['id']===_0x25dacd['id']);this['revisionViews']['remove'](_0x1aefa5);}}class as extends _0x426b94{constructor(_0x888944){super(_0x888944);const _0x26b57c=new _0x5806cf();_0x26b57c['content']=_0x353022['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x26b57c,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[w(_0x888944,'Revision\x20history')]}]});}}class ci extends _0x426b94{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x5d5445,_0x50c9de,_0x546aa8,_0x7d3ffe){super(_0x5d5445);const _0x3a0f62=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x50c9de,this['_revisionActions']=_0x546aa8,this['_requireRevisionName']=_0x7d3ffe,this['on']('select',(_0x42b499,_0x21fb25)=>{this['fire']('revisionSelected',_0x21fb25);}),this['on']('setName',(_0x251274,_0x5d4a18)=>{this['fire']('revisionSetName',_0x5d4a18);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x5d5445),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x3a0f62['if']('isEnabled','ck-disabled',_0x10165f=>!_0x10165f)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x5c75a7 of this['_revisions'])this['_addRevision'](_0x5c75a7);this['_revisions']['on']('add',(_0x220a10,_0x159619)=>{this['_addRevision'](_0x159619);}),this['_revisions']['on']('remove',(_0x1733cb,_0x37d4e7)=>{this['_removeRevision'](_0x37d4e7);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x47125e=>_0x47125e['revisionViews']['map'](_0x28dfe8=>_0x28dfe8))['flat']();}['selectRevision'](_0x3197fe){for(const _0x2a0769 of this['revisionViews'])_0x3197fe&&_0x3197fe['id']===_0x2a0769['id']?_0x2a0769['select']():_0x2a0769['deselect']();}['highlightRevisions'](_0x25b9d2){for(const _0x5bba5f of this['revisionViews'])_0x25b9d2['some'](({id:_0x21c70b})=>_0x21c70b===_0x5bba5f['id'])?_0x5bba5f['highlight']():_0x5bba5f['unhighlight']();}['_addRevision'](_0x279766){const _0x339ba5=di(_0x279766['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x4dc935=this['timePeriodViews']['get'](0x0);_0x4dc935&&_0x4dc935['startDate']['getTime']()===_0x339ba5['getTime']()||(_0x4dc935=new mi(this['locale'],_0x339ba5,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x4dc935)),_0x4dc935['addRevision'](_0x279766);}['_removeRevision'](_0x1b735b){const _0x1d80e7=di(_0x1b735b['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x1d80e7)['removeRevision'](_0x1b735b);}['_getTimePeriodViewByStartDate'](_0x539d10){return this['timePeriodViews']['find'](_0x2bd6ce=>_0x2bd6ce['startDate']['getTime']()===_0x539d10['getTime']());}}class R extends _0x5a8318{['_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['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[d];}constructor(_0x2d28bb){super(_0x2d28bb),this['_revisionViewer']=_0x2d28bb['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x3945c9=this['_revisionsRepository']['_revisions'],_0x417fb8=this['_createRevisionActions'](),_0x37746c=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ni(this['editor']['locale'],_0x3945c9,_0x417fb8,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',(_0x55e5aa,_0x564f8f)=>{_0x564f8f['revisionViews']['on']('add',(_0x30407f,_0x41de7b)=>{_0x41de7b['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)),_0x37746c['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x1e3841=this['_revisionsRepository']['getRevision'](0x0);if(_0x1e3841){const _0x2262f8=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x1e3841['id']);this['_revisionViewer']['compare'](_0x1e3841,_0x2262f8);}}['_handleRevisionSelected'](_0x437514,_0x17d2af){const _0x427cd8=this['_revisionsRepository']['getRevision'](_0x17d2af['id']),_0x47764e=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x427cd8['id']);this['_revisionViewer']['compare'](_0x427cd8,_0x47764e);}['_handleRevisionSetName'](_0x464841,_0x1b254d){this['_revisionsRepository']['getRevision'](_0x1b254d['id'])['setName'](_0x1b254d['name']);}['_handleDiffChange'](_0x662787,_0x93a50b,_0x2c651f){const _0x5c2685=this['_revisionsRepository']['getRevisionsInDiff'](_0x2c651f);_0x5c2685['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x5c2685),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x5c2685[0x0]));}['_createRevisionActions'](){const _0x2e57c9=this['editor'],_0x583ee7=R['availableRevisionActions'],_0x2b4f0a=_0x2e57c9['config']['get']('revisionHistory.revisionActions')||R['defaultRevisionActions'];if(_0x2b4f0a['length'])return _0x2b4f0a['map'](_0x7afd8e=>{const _0x35709d='string'==typeof _0x7afd8e?Object['assign']({},_0x583ee7[_0x7afd8e]):_0x7afd8e;return _0x35709d['action']=_0x35709d['action']['bind'](this,_0x2e57c9),_0x35709d['isVisible']&&(_0x35709d['isVisible']=_0x35709d['isVisible']['bind'](this,_0x2e57c9)),_0x35709d;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x339379},_0x331326)=>{const _0x438dec=_0x339379['get'](d),_0x7d47ed=_0x438dec['repository'];let _0x183f8f=_0x438dec['diff']['newRevisionId'],_0x1af835=_0x331326['id'];_0x7d47ed['getIndex'](_0x183f8f)>_0x7d47ed['getIndex'](_0x1af835)&&([_0x183f8f,_0x1af835]=[_0x1af835,_0x183f8f]),_0x438dec['compare'](_0x183f8f,_0x1af835);},'isVisible':({plugins:_0x9c95e7},_0x4089b7)=>{const _0x2eb3ed=_0x9c95e7['get'](d);return!(_0x2eb3ed['repository']['getRevisionsInDiff'](_0x2eb3ed['diff'])['length']>0x2)&&!_0x4089b7['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x5be846,{id:_0x5acc0b})=>{_0x5be846['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x5acc0b);},'isVisible':({plugins:_0x2e7b9d},_0x44ce6d)=>!!_0x2e7b9d['get'](d)['repository']['getLaterVisibleRevision'](_0x44ce6d['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x211f3b},{id:_0x115450,revisionNameView:_0xdc9f30})=>{const _0x3fd7a3=_0x211f3b['get'](d),_0xa8aa51=_0x3fd7a3['repository']['getEarlierVisibleRevision'](_0x115450);_0x3fd7a3['compare'](_0x115450,_0xa8aa51),_0xdc9f30['focus'](),_0xdc9f30['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x2425ed,_0x27914b){super(_0x2425ed),this['_view']=_0x27914b,this['_toolbarConfig']=ct(_0x2425ed['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x416a3f){const _0x149f69=this['editor'],_0x2baaba=this['view'],_0x423c28=_0x149f69['editing']['view'],_0xa67b7d=_0x2baaba['editable'],_0x28b8a4=_0x423c28['document']['getRoot']();_0xa67b7d['name']=_0x28b8a4['rootName'],_0x2baaba['render']();const _0x3e02b3=_0xa67b7d['element'];this['setEditableElement'](_0xa67b7d['name'],_0x3e02b3),_0x2baaba['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x423c28['attachDomRoot'](_0x3e02b3),this['_elementReplacer']['replace'](_0x416a3f,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x2593c4=this['view'],_0x37e6ef=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x37e6ef['detachDomRoot'](_0x2593c4['editable']['name']),_0x2593c4['destroy']();}['_initToolbar'](){const _0x3fcedf=this['view'];_0x3fcedf['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x3fcedf['stickyPanel']['limiterElement']=_0x3fcedf['element'],_0x3fcedf['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x2f0738})=>_0x2f0738),_0x3fcedf['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x3fcedf['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x584627,_0x1c67d0,_0x1f89c1={}){super(_0x584627),this['stickyPanel']=new lt(_0x584627),this['toolbar']=new pt(_0x584627,{'shouldGroupWhenFull':_0x1f89c1['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x584627,_0x1c67d0);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class g extends/* #__PURE__ -- @preserve */
29
- rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x227c9e,_0x4b3224){super(_0x4b3224),this['sourceElement']=_0x227c9e,this['model']['document']['createRoot']();const _0x215d7b=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x215d7b);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x1dfdc1,_0x2d4097){const _0x311a9e=new this(_0x1dfdc1,_0x2d4097);return await _0x311a9e['initPlugins'](),await _0x311a9e['ui']['init'](_0x1dfdc1),await _0x311a9e['data']['init'](_0x311a9e['config']['get']('initialData')||''),_0x311a9e['fire']('ready'),_0x311a9e;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x55c2ea{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x42f900){super(_0x42f900),this['result']='end';}}class H extends _0x55c2ea{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[l,u];}constructor(_0x5439c0){if(super(_0x5439c0),!this['editor']['config']['get']('revisionHistory'))throw new _0x4ad8dd('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x2250cf=>this['_showRevisionViewer']({..._0x2250cf,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x31df5c=>this['_closeRevisionViewer'](_0x31df5c)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x2756d3=>this['_restoreRevision'](_0x2756d3)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x5d0693){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x5d0693;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x3cf826){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x3cf826);}['getRevision'](_0x264977){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x264977);}['getRevisions'](_0x32a829){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x32a829||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x50cd8a=this['editor'],_0xee89fb=_0x2333c3(_0x50cd8a,p),_0x314585=_0x50cd8a['plugins']['get']('RevisionTracker'),_0x256146=_0x50cd8a['plugins']['get']('Users')['users'];return _0xee89fb['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0xee89fb['lazyRoots'],(_0xee89fb['plugins']['push'](k,d,m,class extends _0x55c2ea{static get['requires'](){return[d,'Users'];}['init'](){const _0x43e126=this['editor']['plugins']['get']('Users');for(const _0x3e4752 of _0x256146)_0x3e4752['isAnonymous']||_0x43e126['getUser'](_0x3e4752['id'])||_0x43e126['addUser'](_0x3e4752);const _0x4e7043=_0x314585['repository']['getRevisions']();let _0x2c50cc=null;const _0x139af3=this['editor']['plugins']['get']('RevisionViewer');_0x139af3['adapter']=_0x314585['adapter'],_0x139af3['bind']('isEnabled')['to'](_0x314585),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x50cd8a,'isReadOnly',_0x3af6d2=>!_0x3af6d2);for(const _0x4ef50e of _0x4e7043){const _0x2acc89=null===_0x4ef50e['creator'];if(_0x2acc89&&_0x4ef50e['toVersion']===_0x4ef50e['fromVersion'])continue;const _0x182e13=_0x4ef50e['toJSON']();_0x139af3['addRevisionData'](_0x182e13,(_0x1e0f85,_0xbaec3b,_0x3acda0)=>{if(_0x2acc89){if(_0x2c50cc)_0x2c50cc['_update'](_0x1e0f85,_0xbaec3b);else{if(!_0xbaec3b){const _0x442201=_0x3acda0['toJSON']();_0x442201['id']=_0x309ab9(),_0x314585['saveRevision'](_0x442201,_0x3acda0['toVersion'])['then'](_0xfa738f=>{_0x2c50cc=_0xfa738f;});}}}else _0x4ef50e['_update'](_0x1e0f85,_0xbaec3b);});}}},R),_0xee89fb);}['_enhanceShowRevisionViewerCallback'](){const _0x333892=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x9753dc=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x2743d2=this['editor']['plugins']['get']('Autosave');await _0x2743d2['save']();}else await _0x9753dc['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x41382b=this['editor']['plugins']['get']('Dialog');_0x41382b['isOpen']&&_0x41382b['hide']();}const _0x163f2f=this['_getRevisionViewerEditorConfig']();return _0x333892(_0x163f2f)['then'](_0x57bf5d=>{return(this['_viewerEditor']=_0x57bf5d,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x57bf5d;})['catch'](_0x279132=>(console['error'](_0x279132),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x3e9408=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'](),_0x3e9408(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x5a3a71=this['editor']['plugins']['get']('Annotations');_0x5a3a71['refreshVisibility'](),_0x5a3a71['refreshPositioning']();}})));}['_showRevisionViewer'](_0x37e72d){const _0x2b42a9=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x460bfb=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x2943a6=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return g['create'](_0x2943a6,_0x37e72d)['then'](_0x457329=>(_0x460bfb['style']['display']='block',_0x2b42a9['style']['display']='none',_0x457329));}['_closeRevisionViewer'](_0x17f618){const _0x3b39ce=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x3b39ce['style']['display']='',_0x17f618['destroy']();}async['_restoreRevision'](_0x4bc615){const _0x589de6=this['editor'],_0x1c37f8=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x1ce7a2=_0x589de6['plugins']['get']('RevisionTracker'),_0x427116=_0x1c37f8['repository']['getRevision'](_0x4bc615);let _0x53b0d2,_0x22f7da,_0x431bc8;try{_0x53b0d2=await _0x1c37f8['getRevisionData'](_0x427116),_0x22f7da=await _0x1c37f8['getRevisionRootsAttributes'](_0x427116);}catch(_0x13c6b7){return void console['error'](_0x13c6b7);}_0x589de6['model']['change'](_0x479124=>{for(const _0x1fdd88 of Array['from'](_0x589de6['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x479124['removeMarker'](_0x1fdd88);}),_0x1c37f8['isReady']=!0x1,_0x589de6['model']['enqueueChange'](_0x3dbc95=>{_0x3dbc95['setSelection'](null),_0x3dbc95['removeSelectionAttribute'](_0x589de6['model']['document']['selection']['getAttributeKeys']());const _0x32aa32=Object['keys'](_0x53b0d2);for(const _0x241519 of _0x589de6['model']['document']['roots'])'$graveyard'!=_0x241519['rootName']&&_0x241519['isAttached']()&&!_0x32aa32['includes'](_0x241519['rootName'])&&_0x3dbc95['detachRoot'](_0x241519);for(const _0x2f9511 of _0x32aa32){let _0x32c82d=_0x589de6['model']['document']['getRoot'](_0x2f9511);_0x32c82d&&_0x32c82d['isAttached']()||(_0x32c82d=_0x3dbc95['addRoot'](_0x2f9511));const _0x553ba1=_0x22f7da[_0x2f9511],_0x190a56=Object['keys'](_0x553ba1),_0x531f3f=_0x53b0d2[_0x2f9511];for(const _0x25094a of _0x32c82d['getAttributeKeys']())_0x190a56['includes'](_0x25094a)||_0x3dbc95['removeAttribute'](_0x25094a,_0x32c82d);for(const _0x3ca868 of _0x190a56)_0x3dbc95['setAttribute'](_0x3ca868,_0x22f7da[_0x2f9511][_0x3ca868],_0x32c82d);_0x3dbc95['remove'](_0x3dbc95['createRangeIn'](_0x32c82d)),_0x3dbc95['insert'](_0x589de6['data']['parse'](_0x531f3f,_0x32c82d),_0x32c82d,0x0);}});const _0x38bec7=w(_0x589de6['locale'],'Restored');if(_0x427116['name'])_0x431bc8=-0x1==_0x427116['name']['indexOf'](_0x38bec7)?_0x38bec7+':\x20'+_0x427116['name']:_0x427116['name'];else _0x431bc8=_0x38bec7+':\x20'+(_0x427116['createdAt']['toLocaleDateString'](_0x589de6['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x427116['createdAt']['toLocaleTimeString'](_0x589de6['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x1ce7a2['saveRevision']({'name':_0x431bc8}),_0x1c37f8['isReady']=!0x0,_0x589de6['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{a as Revision,H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,ge as RevisionViewerLoadingOverlay,m as RevisionViewerUI,A as RevisionsRepository,R as RevisionsSidebar};
28
+ Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[d];}constructor(_0x301260){super(_0x301260),this['_revisionViewer']=_0x301260['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x36b41c=this['_revisionsRepository']['_revisions'],_0x66779b=this['_createRevisionActions'](),_0x546389=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x36b41c,_0x66779b,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',(_0x36eff1,_0x4fbaac)=>{_0x4fbaac['revisionViews']['on']('add',(_0x6d3d78,_0x519f84)=>{_0x519f84['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)),_0x546389['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x106095=this['_revisionsRepository']['getRevision'](0x0);if(_0x106095){const _0x26d4bf=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x106095['id']);this['_revisionViewer']['compare'](_0x106095,_0x26d4bf);}}['_handleRevisionSelected'](_0x5deec2,_0x5a26b6){const _0xa75e81=this['_revisionsRepository']['getRevision'](_0x5a26b6['id']),_0x40a5df=this['_revisionsRepository']['getEarlierVisibleRevision'](_0xa75e81['id']);this['_revisionViewer']['compare'](_0xa75e81,_0x40a5df);}['_handleRevisionSetName'](_0x3fb7d8,_0x299695){this['_revisionsRepository']['getRevision'](_0x299695['id'])['setName'](_0x299695['name']);}['_handleDiffChange'](_0xec0676,_0x423551,_0x48e361){const _0x5fd796=this['_revisionsRepository']['getRevisionsInDiff'](_0x48e361);_0x5fd796['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x5fd796),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x5fd796[0x0]));}['_createRevisionActions'](){const _0x3894cc=this['editor'],_0x4461e4=R['availableRevisionActions'],_0x34d1f2=_0x3894cc['config']['get']('revisionHistory.revisionActions')||R['defaultRevisionActions'];if(_0x34d1f2['length'])return _0x34d1f2['map'](_0x3cefe8=>{const _0x5e618e='string'==typeof _0x3cefe8?Object['assign']({},_0x4461e4[_0x3cefe8]):_0x3cefe8;return _0x5e618e['action']=_0x5e618e['action']['bind'](this,_0x3894cc),_0x5e618e['isVisible']&&(_0x5e618e['isVisible']=_0x5e618e['isVisible']['bind'](this,_0x3894cc)),_0x5e618e;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x1468d7},_0x1b5c3e)=>{const _0x4f4992=_0x1468d7['get'](d),_0x6d83af=_0x4f4992['repository'];let _0x2f3bd4=_0x4f4992['diff']['newRevisionId'],_0xd3bc2b=_0x1b5c3e['id'];_0x6d83af['getIndex'](_0x2f3bd4)>_0x6d83af['getIndex'](_0xd3bc2b)&&([_0x2f3bd4,_0xd3bc2b]=[_0xd3bc2b,_0x2f3bd4]),_0x4f4992['compare'](_0x2f3bd4,_0xd3bc2b);},'isVisible':({plugins:_0xad2d16},_0x78317e)=>{const _0x35cc62=_0xad2d16['get'](d);return!(_0x35cc62['repository']['getRevisionsInDiff'](_0x35cc62['diff'])['length']>0x2)&&!_0x78317e['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x439088,{id:_0x104607})=>{_0x439088['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x104607);},'isVisible':({plugins:_0x599e03},_0x5ac233)=>!!_0x599e03['get'](d)['repository']['getLaterVisibleRevision'](_0x5ac233['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x1a09f5},{id:_0x114c8a,revisionNameView:_0x421c05})=>{const _0x33650c=_0x1a09f5['get'](d),_0x4f4efe=_0x33650c['repository']['getEarlierVisibleRevision'](_0x114c8a);_0x33650c['compare'](_0x114c8a,_0x4f4efe),_0x421c05['focus'](),_0x421c05['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x3932ab,_0x5ed429){super(_0x3932ab),this['_view']=_0x5ed429,this['_toolbarConfig']=ct(_0x3932ab['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x154145){const _0xfb417=this['editor'],_0x5b6fc7=this['view'],_0x560dee=_0xfb417['editing']['view'],_0xee8f06=_0x5b6fc7['editable'],_0x32e058=_0x560dee['document']['getRoot']();_0xee8f06['name']=_0x32e058['rootName'],_0x5b6fc7['render']();const _0x3ea540=_0xee8f06['element'];this['setEditableElement'](_0xee8f06['name'],_0x3ea540),_0x5b6fc7['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x560dee['attachDomRoot'](_0x3ea540),this['_elementReplacer']['replace'](_0x154145,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x471cf1=this['view'],_0x38b1c2=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x38b1c2['detachDomRoot'](_0x471cf1['editable']['name']),_0x471cf1['destroy']();}['_initToolbar'](){const _0x41360e=this['view'];_0x41360e['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x41360e['stickyPanel']['limiterElement']=_0x41360e['element'],_0x41360e['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x4b1899})=>_0x4b1899),_0x41360e['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x41360e['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x3db153,_0x1cf29c,_0x2cb3d6={}){super(_0x3db153),this['stickyPanel']=new lt(_0x3db153),this['toolbar']=new pt(_0x3db153,{'shouldGroupWhenFull':_0x2cb3d6['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x3db153,_0x1cf29c);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class g extends/* #__PURE__ -- @preserve */
29
+ rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x1f0f16,_0x3049cd){super(_0x3049cd),this['sourceElement']=_0x1f0f16,this['model']['document']['createRoot']();const _0x4c694b=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x4c694b);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x594898,_0x555aea){const _0xc8cade=new this(_0x594898,_0x555aea);return await _0xc8cade['initPlugins'](),await _0xc8cade['ui']['init'](_0x594898),await _0xc8cade['data']['init'](_0xc8cade['config']['get']('initialData')||''),_0xc8cade['fire']('ready'),_0xc8cade;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x5a8318{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4c2ce2){super(_0x4c2ce2),this['result']='end';}}class H extends _0x5a8318{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[l,u];}constructor(_0x572216){if(super(_0x572216),!this['editor']['config']['get']('revisionHistory'))throw new _0x363180('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x25d360=>this['_showRevisionViewer']({..._0x25d360,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x513781=>this['_closeRevisionViewer'](_0x513781)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x8065bc=>this['_restoreRevision'](_0x8065bc)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x4d2480){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x4d2480;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0xf98314){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0xf98314);}['getRevision'](_0x55120e){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x55120e);}['getRevisions'](_0x4c4421){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x4c4421||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x1ef8dc=this['editor'],_0x4ecd31=_0x52c1d3(_0x1ef8dc,p),_0x4983bd=_0x1ef8dc['plugins']['get']('RevisionTracker'),_0x365d53=_0x1ef8dc['plugins']['get']('Users')['users'];return _0x4ecd31['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x4ecd31['lazyRoots'],(_0x4ecd31['plugins']['push'](k,d,m,class extends _0x5a8318{static get['requires'](){return[d,'Users'];}['init'](){const _0x243ef6=this['editor']['plugins']['get']('Users');for(const _0xfc0012 of _0x365d53)_0xfc0012['isAnonymous']||_0x243ef6['getUser'](_0xfc0012['id'])||_0x243ef6['addUser'](_0xfc0012);const _0x987a03=_0x4983bd['repository']['getRevisions']();let _0x4d5125=null;const _0x31d7ac=this['editor']['plugins']['get']('RevisionViewer');_0x31d7ac['adapter']=_0x4983bd['adapter'],_0x31d7ac['bind']('isEnabled')['to'](_0x4983bd),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x1ef8dc,'isReadOnly',_0x54993d=>!_0x54993d);for(const _0x53e56b of _0x987a03){const _0x52cf50=null===_0x53e56b['creator'];if(_0x52cf50&&_0x53e56b['toVersion']===_0x53e56b['fromVersion'])continue;const _0x54c1b5=_0x53e56b['toJSON']();_0x31d7ac['addRevisionData'](_0x54c1b5,(_0x13c5bb,_0x52bf4f,_0x3275aa)=>{if(_0x52cf50){if(_0x4d5125)_0x4d5125['_update'](_0x13c5bb,_0x52bf4f);else{if(!_0x52bf4f){const _0x4c6580=_0x3275aa['toJSON']();_0x4c6580['id']=_0xa0f6ce(),_0x4983bd['saveRevision'](_0x4c6580,_0x3275aa['toVersion'])['then'](_0x6b9bfb=>{_0x4d5125=_0x6b9bfb;});}}}else _0x53e56b['_update'](_0x13c5bb,_0x52bf4f);});}}},R),_0x4ecd31);}['_enhanceShowRevisionViewerCallback'](){const _0x1f69c4=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x328775=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x948151=this['editor']['plugins']['get']('Autosave');await _0x948151['save']();}else await _0x328775['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x5f1afa=this['editor']['plugins']['get']('Dialog');_0x5f1afa['isOpen']&&_0x5f1afa['hide']();}const _0x393a6a=this['_getRevisionViewerEditorConfig']();return _0x1f69c4(_0x393a6a)['then'](_0x5df7fd=>{return(this['_viewerEditor']=_0x5df7fd,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x5df7fd;})['catch'](_0x41ae0f=>(console['error'](_0x41ae0f),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x36736e=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'](),_0x36736e(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x51c08b=this['editor']['plugins']['get']('Annotations');_0x51c08b['refreshVisibility'](),_0x51c08b['refreshPositioning']();}})));}['_showRevisionViewer'](_0x5922a1){const _0x13ab57=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x56217f=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x9e6f8d=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return g['create'](_0x9e6f8d,_0x5922a1)['then'](_0x3296a4=>(_0x56217f['style']['display']='block',_0x13ab57['style']['display']='none',_0x3296a4));}['_closeRevisionViewer'](_0x4ca298){const _0xd47fc9=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0xd47fc9['style']['display']='',_0x4ca298['destroy']();}async['_restoreRevision'](_0xfd2431){const _0x180877=this['editor'],_0x3884d0=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x2dcda2=_0x180877['plugins']['get']('RevisionTracker'),_0x41a60e=_0x3884d0['repository']['getRevision'](_0xfd2431);let _0x279710,_0xd5bee3,_0x5e6357;try{_0x279710=await _0x3884d0['getRevisionData'](_0x41a60e),_0xd5bee3=await _0x3884d0['getRevisionRootsAttributes'](_0x41a60e);}catch(_0x2ce5e7){return void console['error'](_0x2ce5e7);}_0x180877['model']['change'](_0x5c2273=>{for(const _0x54799b of Array['from'](_0x180877['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x5c2273['removeMarker'](_0x54799b);}),_0x3884d0['isReady']=!0x1,_0x180877['model']['enqueueChange'](_0x2be272=>{_0x2be272['setSelection'](null),_0x2be272['removeSelectionAttribute'](_0x180877['model']['document']['selection']['getAttributeKeys']());const _0x5b5c13=Object['keys'](_0x279710);for(const _0x4a3ec8 of _0x180877['model']['document']['roots'])'$graveyard'!=_0x4a3ec8['rootName']&&_0x4a3ec8['isAttached']()&&!_0x5b5c13['includes'](_0x4a3ec8['rootName'])&&_0x2be272['detachRoot'](_0x4a3ec8);for(const _0x30ecd5 of _0x5b5c13){let _0x3e6697=_0x180877['model']['document']['getRoot'](_0x30ecd5);_0x3e6697&&_0x3e6697['isAttached']()||(_0x3e6697=_0x2be272['addRoot'](_0x30ecd5));const _0x18b80a=_0xd5bee3[_0x30ecd5],_0x25429a=Object['keys'](_0x18b80a),_0xcbe7f0=_0x279710[_0x30ecd5];for(const _0x4b3ec5 of _0x3e6697['getAttributeKeys']())_0x25429a['includes'](_0x4b3ec5)||_0x2be272['removeAttribute'](_0x4b3ec5,_0x3e6697);for(const _0x98b7b1 of _0x25429a)_0x2be272['setAttribute'](_0x98b7b1,_0xd5bee3[_0x30ecd5][_0x98b7b1],_0x3e6697);_0x2be272['remove'](_0x2be272['createRangeIn'](_0x3e6697)),_0x2be272['insert'](_0x180877['data']['parse'](_0xcbe7f0,_0x3e6697),_0x3e6697,0x0);}});const _0x2a20ea=w(_0x180877['locale'],'Restored');if(_0x41a60e['name'])_0x5e6357=-0x1==_0x41a60e['name']['indexOf'](_0x2a20ea)?_0x2a20ea+':\x20'+_0x41a60e['name']:_0x41a60e['name'];else _0x5e6357=_0x2a20ea+':\x20'+(_0x41a60e['createdAt']['toLocaleDateString'](_0x180877['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x41a60e['createdAt']['toLocaleTimeString'](_0x180877['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x2dcda2['saveRevision']({'name':_0x5e6357}),_0x3884d0['isReady']=!0x0,_0x180877['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{a as Revision,H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,le as RevisionViewerLoadingOverlay,m as RevisionViewerUI,A as RevisionsRepository,R as RevisionsSidebar};