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

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 (309) hide show
  1. package/build/revision-history.js +1 -1
  2. package/build/translations/ast.js +1 -0
  3. package/build/translations/cs.js +1 -1
  4. package/build/translations/eo.js +1 -0
  5. package/build/translations/es-co.js +1 -1
  6. package/build/translations/es.js +1 -1
  7. package/build/translations/eu.js +1 -0
  8. package/build/translations/fa.js +1 -1
  9. package/build/translations/fr.js +1 -1
  10. package/build/translations/gu.js +1 -0
  11. package/build/translations/he.js +1 -1
  12. package/build/translations/hy.js +1 -0
  13. package/build/translations/it.js +1 -1
  14. package/build/translations/jv.js +1 -1
  15. package/build/translations/kk.js +1 -0
  16. package/build/translations/km.js +1 -0
  17. package/build/translations/kn.js +1 -0
  18. package/build/translations/lt.js +1 -1
  19. package/build/translations/nb.js +1 -0
  20. package/build/translations/oc.js +1 -0
  21. package/build/translations/pl.js +1 -1
  22. package/build/translations/pt-br.js +1 -1
  23. package/build/translations/pt.js +1 -1
  24. package/build/translations/ru.js +1 -1
  25. package/build/translations/si.js +1 -0
  26. package/build/translations/sk.js +1 -1
  27. package/build/translations/sl.js +1 -0
  28. package/build/translations/sq.js +1 -0
  29. package/build/translations/ug.js +1 -1
  30. package/build/translations/uk.js +1 -1
  31. package/build/translations/uz.js +1 -0
  32. package/dist/index.js +6 -6
  33. package/dist/revisionhistory.d.ts +8 -0
  34. package/dist/revisionsrepository.d.ts +8 -0
  35. package/dist/revisiontracker.d.ts +43 -0
  36. package/dist/revisionviewer.d.ts +8 -0
  37. package/dist/translations/af.js +1 -1
  38. package/dist/translations/af.umd.js +1 -1
  39. package/dist/translations/ar.js +1 -1
  40. package/dist/translations/ar.umd.js +1 -1
  41. package/dist/translations/ast.d.ts +8 -0
  42. package/dist/translations/ast.js +23 -0
  43. package/dist/translations/ast.umd.js +23 -0
  44. package/dist/translations/az.js +1 -1
  45. package/dist/translations/az.umd.js +1 -1
  46. package/dist/translations/bg.js +1 -1
  47. package/dist/translations/bg.umd.js +1 -1
  48. package/dist/translations/bn.js +1 -1
  49. package/dist/translations/bn.umd.js +1 -1
  50. package/dist/translations/bs.js +1 -1
  51. package/dist/translations/bs.umd.js +1 -1
  52. package/dist/translations/ca.js +1 -1
  53. package/dist/translations/ca.umd.js +1 -1
  54. package/dist/translations/cs.js +1 -1
  55. package/dist/translations/cs.umd.js +1 -1
  56. package/dist/translations/da.js +1 -1
  57. package/dist/translations/da.umd.js +1 -1
  58. package/dist/translations/de-ch.js +1 -1
  59. package/dist/translations/de-ch.umd.js +1 -1
  60. package/dist/translations/de.js +1 -1
  61. package/dist/translations/de.umd.js +1 -1
  62. package/dist/translations/el.js +1 -1
  63. package/dist/translations/el.umd.js +1 -1
  64. package/dist/translations/en-au.js +1 -1
  65. package/dist/translations/en-au.umd.js +1 -1
  66. package/dist/translations/en-gb.js +1 -1
  67. package/dist/translations/en-gb.umd.js +1 -1
  68. package/dist/translations/en.js +1 -1
  69. package/dist/translations/en.umd.js +1 -1
  70. package/dist/translations/eo.d.ts +8 -0
  71. package/dist/translations/eo.js +23 -0
  72. package/dist/translations/eo.umd.js +23 -0
  73. package/dist/translations/es-co.js +1 -1
  74. package/dist/translations/es-co.umd.js +1 -1
  75. package/dist/translations/es.js +1 -1
  76. package/dist/translations/es.umd.js +1 -1
  77. package/dist/translations/et.js +1 -1
  78. package/dist/translations/et.umd.js +1 -1
  79. package/dist/translations/eu.d.ts +8 -0
  80. package/dist/translations/eu.js +23 -0
  81. package/dist/translations/eu.umd.js +23 -0
  82. package/dist/translations/fa.js +1 -1
  83. package/dist/translations/fa.umd.js +1 -1
  84. package/dist/translations/fi.js +1 -1
  85. package/dist/translations/fi.umd.js +1 -1
  86. package/dist/translations/fr.js +1 -1
  87. package/dist/translations/fr.umd.js +1 -1
  88. package/dist/translations/gl.js +1 -1
  89. package/dist/translations/gl.umd.js +1 -1
  90. package/dist/translations/gu.d.ts +8 -0
  91. package/dist/translations/gu.js +23 -0
  92. package/dist/translations/gu.umd.js +23 -0
  93. package/dist/translations/he.js +1 -1
  94. package/dist/translations/he.umd.js +1 -1
  95. package/dist/translations/hi.js +1 -1
  96. package/dist/translations/hi.umd.js +1 -1
  97. package/dist/translations/hr.js +1 -1
  98. package/dist/translations/hr.umd.js +1 -1
  99. package/dist/translations/hu.js +1 -1
  100. package/dist/translations/hu.umd.js +1 -1
  101. package/dist/translations/hy.d.ts +8 -0
  102. package/dist/translations/hy.js +23 -0
  103. package/dist/translations/hy.umd.js +23 -0
  104. package/dist/translations/id.js +1 -1
  105. package/dist/translations/id.umd.js +1 -1
  106. package/dist/translations/it.js +1 -1
  107. package/dist/translations/it.umd.js +1 -1
  108. package/dist/translations/ja.js +1 -1
  109. package/dist/translations/ja.umd.js +1 -1
  110. package/dist/translations/jv.js +1 -1
  111. package/dist/translations/jv.umd.js +1 -1
  112. package/dist/translations/kk.d.ts +8 -0
  113. package/dist/translations/kk.js +23 -0
  114. package/dist/translations/kk.umd.js +23 -0
  115. package/dist/translations/km.d.ts +8 -0
  116. package/dist/translations/km.js +23 -0
  117. package/dist/translations/km.umd.js +23 -0
  118. package/dist/translations/kn.d.ts +8 -0
  119. package/dist/translations/kn.js +23 -0
  120. package/dist/translations/kn.umd.js +23 -0
  121. package/dist/translations/ko.js +1 -1
  122. package/dist/translations/ko.umd.js +1 -1
  123. package/dist/translations/ku.js +1 -1
  124. package/dist/translations/ku.umd.js +1 -1
  125. package/dist/translations/lt.js +1 -1
  126. package/dist/translations/lt.umd.js +1 -1
  127. package/dist/translations/lv.js +1 -1
  128. package/dist/translations/lv.umd.js +1 -1
  129. package/dist/translations/ms.js +1 -1
  130. package/dist/translations/ms.umd.js +1 -1
  131. package/dist/translations/nb.d.ts +8 -0
  132. package/dist/translations/nb.js +23 -0
  133. package/dist/translations/nb.umd.js +23 -0
  134. package/dist/translations/ne.js +1 -1
  135. package/dist/translations/ne.umd.js +1 -1
  136. package/dist/translations/nl.js +1 -1
  137. package/dist/translations/nl.umd.js +1 -1
  138. package/dist/translations/no.js +1 -1
  139. package/dist/translations/no.umd.js +1 -1
  140. package/dist/translations/oc.d.ts +8 -0
  141. package/dist/translations/oc.js +23 -0
  142. package/dist/translations/oc.umd.js +23 -0
  143. package/dist/translations/pl.js +1 -1
  144. package/dist/translations/pl.umd.js +1 -1
  145. package/dist/translations/pt-br.js +1 -1
  146. package/dist/translations/pt-br.umd.js +1 -1
  147. package/dist/translations/pt.js +1 -1
  148. package/dist/translations/pt.umd.js +1 -1
  149. package/dist/translations/ro.js +1 -1
  150. package/dist/translations/ro.umd.js +1 -1
  151. package/dist/translations/ru.js +1 -1
  152. package/dist/translations/ru.umd.js +1 -1
  153. package/dist/translations/si.d.ts +8 -0
  154. package/dist/translations/si.js +23 -0
  155. package/dist/translations/si.umd.js +23 -0
  156. package/dist/translations/sk.js +1 -1
  157. package/dist/translations/sk.umd.js +1 -1
  158. package/dist/translations/sl.d.ts +8 -0
  159. package/dist/translations/sl.js +23 -0
  160. package/dist/translations/sl.umd.js +23 -0
  161. package/dist/translations/sq.d.ts +8 -0
  162. package/dist/translations/sq.js +23 -0
  163. package/dist/translations/sq.umd.js +23 -0
  164. package/dist/translations/sr-latn.js +1 -1
  165. package/dist/translations/sr-latn.umd.js +1 -1
  166. package/dist/translations/sr.js +1 -1
  167. package/dist/translations/sr.umd.js +1 -1
  168. package/dist/translations/sv.js +1 -1
  169. package/dist/translations/sv.umd.js +1 -1
  170. package/dist/translations/th.js +1 -1
  171. package/dist/translations/th.umd.js +1 -1
  172. package/dist/translations/ti.js +1 -1
  173. package/dist/translations/ti.umd.js +1 -1
  174. package/dist/translations/tk.js +1 -1
  175. package/dist/translations/tk.umd.js +1 -1
  176. package/dist/translations/tr.js +1 -1
  177. package/dist/translations/tr.umd.js +1 -1
  178. package/dist/translations/tt.js +1 -1
  179. package/dist/translations/tt.umd.js +1 -1
  180. package/dist/translations/ug.js +1 -1
  181. package/dist/translations/ug.umd.js +1 -1
  182. package/dist/translations/uk.js +1 -1
  183. package/dist/translations/uk.umd.js +1 -1
  184. package/dist/translations/ur.js +1 -1
  185. package/dist/translations/ur.umd.js +1 -1
  186. package/dist/translations/uz.d.ts +8 -0
  187. package/dist/translations/uz.js +23 -0
  188. package/dist/translations/uz.umd.js +23 -0
  189. package/dist/translations/vi.js +1 -1
  190. package/dist/translations/vi.umd.js +1 -1
  191. package/dist/translations/zh-cn.js +1 -1
  192. package/dist/translations/zh-cn.umd.js +1 -1
  193. package/dist/translations/zh.js +1 -1
  194. package/dist/translations/zh.umd.js +1 -1
  195. package/dist/ui/revisionhistory/revisionhistoryui.d.ts +8 -0
  196. package/dist/ui/revisionssidebar/revisionssidebar.d.ts +8 -0
  197. package/dist/ui/revisionviewer/revisionviewerloadingoverlay.d.ts +8 -0
  198. package/dist/ui/revisionviewer/revisionviewerui.d.ts +8 -0
  199. package/lang/translations/af.po +3 -9
  200. package/lang/translations/ar.po +4 -10
  201. package/lang/translations/ast.po +130 -0
  202. package/lang/translations/az.po +3 -9
  203. package/lang/translations/bg.po +3 -9
  204. package/lang/translations/bn.po +3 -9
  205. package/lang/translations/bs.po +4 -10
  206. package/lang/translations/ca.po +3 -9
  207. package/lang/translations/cs.po +4 -11
  208. package/lang/translations/da.po +3 -9
  209. package/lang/translations/de-ch.po +3 -9
  210. package/lang/translations/de.po +3 -9
  211. package/lang/translations/el.po +3 -9
  212. package/lang/translations/en-au.po +3 -9
  213. package/lang/translations/en-gb.po +3 -9
  214. package/lang/translations/en.po +5 -11
  215. package/lang/translations/eo.po +130 -0
  216. package/lang/translations/es-co.po +4 -11
  217. package/lang/translations/es.po +4 -11
  218. package/lang/translations/et.po +3 -9
  219. package/lang/translations/eu.po +130 -0
  220. package/lang/translations/fa.po +4 -11
  221. package/lang/translations/fi.po +3 -9
  222. package/lang/translations/fr.po +4 -11
  223. package/lang/translations/gl.po +3 -9
  224. package/lang/translations/gu.po +130 -0
  225. package/lang/translations/he.po +4 -11
  226. package/lang/translations/hi.po +3 -9
  227. package/lang/translations/hr.po +4 -10
  228. package/lang/translations/hu.po +3 -9
  229. package/lang/translations/hy.po +130 -0
  230. package/lang/translations/id.po +3 -9
  231. package/lang/translations/it.po +4 -11
  232. package/lang/translations/ja.po +3 -9
  233. package/lang/translations/jv.po +5 -10
  234. package/lang/translations/kk.po +130 -0
  235. package/lang/translations/km.po +129 -0
  236. package/lang/translations/kn.po +130 -0
  237. package/lang/translations/ko.po +3 -9
  238. package/lang/translations/ku.po +3 -9
  239. package/lang/translations/lt.po +4 -11
  240. package/lang/translations/lv.po +4 -10
  241. package/lang/translations/ms.po +3 -9
  242. package/lang/translations/nb.po +130 -0
  243. package/lang/translations/ne.po +3 -9
  244. package/lang/translations/nl.po +3 -9
  245. package/lang/translations/no.po +3 -9
  246. package/lang/translations/oc.po +130 -0
  247. package/lang/translations/pl.po +4 -11
  248. package/lang/translations/pt-br.po +4 -11
  249. package/lang/translations/pt.po +4 -11
  250. package/lang/translations/ro.po +4 -10
  251. package/lang/translations/ru.po +4 -11
  252. package/lang/translations/si.po +130 -0
  253. package/lang/translations/sk.po +4 -11
  254. package/lang/translations/sl.po +132 -0
  255. package/lang/translations/sq.po +130 -0
  256. package/lang/translations/sr-latn.po +4 -10
  257. package/lang/translations/sr.po +4 -10
  258. package/lang/translations/sv.po +3 -9
  259. package/lang/translations/th.po +3 -9
  260. package/lang/translations/ti.po +3 -9
  261. package/lang/translations/tk.po +3 -9
  262. package/lang/translations/tr.po +3 -9
  263. package/lang/translations/tt.po +3 -9
  264. package/lang/translations/ug.po +4 -11
  265. package/lang/translations/uk.po +4 -11
  266. package/lang/translations/ur.po +3 -9
  267. package/lang/translations/uz.po +130 -0
  268. package/lang/translations/vi.po +3 -9
  269. package/lang/translations/zh-cn.po +3 -9
  270. package/lang/translations/zh.po +3 -9
  271. package/package.json +8 -8
  272. package/src/changeitem.js +2 -2
  273. package/src/editor/revisionviewereditor.js +2 -2
  274. package/src/editor/revisionviewereditorui.js +1 -1
  275. package/src/editor/revisionviewereditoruiview.js +1 -1
  276. package/src/index.js +1 -1
  277. package/src/revision.js +2 -2
  278. package/src/revisiondiff.js +1 -1
  279. package/src/revisionhistory.d.ts +8 -0
  280. package/src/revisionhistory.js +1 -1
  281. package/src/revisionsrepository.d.ts +8 -0
  282. package/src/revisionsrepository.js +1 -1
  283. package/src/revisiontracker.d.ts +43 -0
  284. package/src/revisiontracker.js +1 -1
  285. package/src/revisionviewer.d.ts +8 -0
  286. package/src/revisionviewer.js +1 -1
  287. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  288. package/src/ui/revision/revisionauthorview.js +1 -1
  289. package/src/ui/revision/revisionnameview.js +1 -1
  290. package/src/ui/revision/revisionview.js +2 -2
  291. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  292. package/src/ui/revision/subrevisionview.js +1 -1
  293. package/src/ui/revision/utils.js +1 -1
  294. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  295. package/src/ui/revisionhistory/revisionhistoryui.d.ts +8 -0
  296. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  297. package/src/ui/revisionssidebar/revisionssidebar.d.ts +8 -0
  298. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  299. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  300. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  301. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  302. package/src/ui/revisionssidebar/utils.js +1 -1
  303. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  304. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  305. package/src/ui/revisionviewer/revisionviewerloadingoverlay.d.ts +8 -0
  306. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  307. package/src/ui/revisionviewer/revisionviewerui.d.ts +8 -0
  308. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  309. 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 _0x3d11cb,uid as _0x2a5db2,Collection as _0x1fb395,logWarning as _0x3f16ce,FocusTracker as _0x5a2962,KeystrokeHandler as _0x442a74,scrollViewportToShowTarget as _0x12b3d1,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x4d009a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{cloneDeep as _0x1bdd3a,set as _0x2967d9,unset as _0x4575fc,isEqual as _0x3d5475}from'lodash-es';import{Plugin as _0x19e2a4,Context as _0x1c2fe6,PendingActions as _0x33d93a,icons as _0x5c6115,Command as _0x3f1ce8,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{Users as _0x590248,getMarkerDomElement as _0x38468e,ConfirmMixin as _0x3c4636,sanitizeEditorConfig as _0x18b2c1}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x1f7f4d,ViewText as _0x4c1e2b,ViewElement as _0x110187,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x301860,ViewAttributeElement as _0x5abd44,ViewEmptyElement as _0x411ca4,ViewRawElement as _0x187dc1,ViewUIElement as _0x2bad88,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{View as _0x46510e,injectCssTransitionDisabler as ts,submitHandler as _0x3e57ba,LabeledFieldView as at,createLabeledInputText as _0x1063c2,createDropdown as _0x35e7f6,ListView as te,ListItemView as _0x5f6d89,ButtonView as _0xc147ec,MenuBarMenuView as _0x550147,MenuBarMenuListView as _0x289f67,MenuBarMenuListItemView as _0x2ac6f7,MenuBarMenuListItemButtonView as _0x4fe277,ContextualBalloon as _0x4906a8,ToolbarSeparatorView as _0x5cd386,IconView as _0x5585ee,addListToDropdown as _0x5f5b36,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 _0x30cc6b}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x3d11cb(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x2ac4e5){super(),this['id']=_0x2ac4e5['id']||_0x2a5db2(),this['creator']=_0x2ac4e5['creator']||null,this['authors']=_0x2ac4e5['authors']||[],this['diffData']=_0x2ac4e5['diffData']||null,this['toVersion']=_0x2ac4e5['toVersion']||0x0,this['fromVersion']=_0x2ac4e5['fromVersion']||0x0,this['set']('name',_0x2ac4e5['name']||''),this['set']('createdAt',_0x2ac4e5['createdAt']||new Date()),this['set']('attributes',_0x2ac4e5['attributes']||{});}['setName'](_0x485741){this['_update']({'name':_0x485741});}['setAttribute'](_0x315925,_0x314a6c){const _0x2b1bcf=_0x1bdd3a(this['attributes']);_0x2967d9(_0x2b1bcf,_0x315925,_0x314a6c),this['_update']({'attributes':_0x2b1bcf});}['removeAttribute'](_0x15581d){const _0x4f13da=_0x1bdd3a(this['attributes']);_0x4575fc(_0x4f13da,_0x15581d),this['_update']({'attributes':_0x4f13da});}['_update'](_0x1f3bd9,_0x1c85b5=!0x1){let _0x2ea984=!0x1;const _0x53ef99={'id':this['id']},_0x542711=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x5e9d67 of _0x542711){const _0x32f38b=_0x1f3bd9[_0x5e9d67];void 0x0!==_0x32f38b&&_0x32f38b!==this[_0x5e9d67]&&(this[_0x5e9d67]=_0x32f38b,_0x53ef99[_0x5e9d67]=_0x32f38b,_0x2ea984=!0x0);}_0x2ea984&&(_0x53ef99['authors']&&(_0x53ef99['authorsIds']=_0x53ef99['authors']['map'](_0x3659b0=>_0x3659b0['id']),delete _0x53ef99['authors']),this['fire']('_update',_0x53ef99,_0x1c85b5));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x493e70=>_0x493e70['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x19e2a4{['_revisions'];static get['requires'](){return[_0x590248];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x3f762a){super(_0x3f762a),this['_revisions']=new _0x1fb395();}['afterInit'](){!function(_0x323adb){function _0x2be030(_0x197409,_0x3b2d88,_0x2211af){const _0x74f8a4={};_0x74f8a4[_0x2d6682([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x74f8a4[_0x2d6682([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],_0x74f8a4[_0x2d6682([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],_0x74f8a4[_0x2d6682([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],_0x74f8a4[_0x2d6682([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],_0x74f8a4[_0x2d6682([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],_0x74f8a4[_0x2d6682([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],_0x74f8a4[_0x2d6682([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],_0x74f8a4[_0x2d6682([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],_0x74f8a4[_0x2d6682([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],_0x74f8a4[_0x2d6682([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 _0x37bcca=new Uint8Array(0x10);for(let _0x4b296a=0xf;_0x4b296a>=0x0;--_0x4b296a)_0x37bcca[_0x4b296a]=_0x2211af%0x100,_0x2211af=parseInt(_0x2211af/0x100);let _0x368fa5=null,_0x302254=0x10;const _0x64e822=new Uint8Array(_0x3b2d88),_0x5e0a86=[],_0x173ab5=[];_0x23c718();for(let _0x891e8b=0x0;_0x891e8b<_0x197409[_0x2d6682([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x891e8b++)0x10===_0x302254&&(_0x368fa5=_0x1d2099(_0x37bcca),_0x302254=0x0,_0xa0f589(_0x37bcca)),_0x197409[_0x891e8b]^=_0x368fa5[_0x302254++];return _0x197409;function _0x2dc1a1(_0x74ec1f){const _0x482fc6=[];for(let _0x14f59c=0x0;_0x14f59c<_0x74ec1f[_0x2d6682([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14f59c+=0x4)_0x482fc6[_0x2d6682([0x70,0x75,0x73,0x68])](_0x74ec1f[_0x14f59c]<<0x18|_0x74ec1f[_0x14f59c+0x1]<<0x10|_0x74ec1f[_0x14f59c+0x2]<<0x8|_0x74ec1f[_0x14f59c+0x3]);return _0x482fc6;}function _0xa0f589(_0x5b59fc){for(let _0x1c1f65=0xf;_0x1c1f65>=0x0;_0x1c1f65--){if(0xff!==_0x5b59fc[_0x1c1f65]){_0x5b59fc[_0x1c1f65]++;break;}_0x5b59fc[_0x1c1f65]=0x0;}}function _0x1d2099(_0x28895d){const _0x158dff=_0x5e0a86[_0x2d6682([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x44fc18=[0x0,0x0,0x0,0x0];let t=_0x2dc1a1(_0x28895d);for(let _0xab7280=0x0;_0xab7280<0x4;_0xab7280++)t[_0xab7280]^=_0x5e0a86[0x0][_0xab7280];for(let _0xbcd4ec=0x1;_0xbcd4ec<_0x158dff;_0xbcd4ec++){for(let _0x28ea37=0x0;_0x28ea37<0x4;_0x28ea37++)_0x44fc18[_0x28ea37]=_0x74f8a4[_0x2d6682([0x54,0x31])][t[_0x28ea37]>>0x18&0xff]^_0x74f8a4[_0x2d6682([0x54,0x32])][t[(_0x28ea37+0x1)%0x4]>>0x10&0xff]^_0x74f8a4[_0x2d6682([0x54,0x33])][t[(_0x28ea37+0x2)%0x4]>>0x8&0xff]^_0x74f8a4[_0x2d6682([0x54,0x34])][0xff&t[(_0x28ea37+0x3)%0x4]]^_0x5e0a86[_0xbcd4ec][_0x28ea37];t=_0x44fc18[_0x2d6682([0x73,0x6c,0x69,0x63,0x65])]();}const _0x5ecf2b=new Uint8Array(0x10);let _0x525f16;for(let _0x340ab7=0x0;_0x340ab7<0x4;_0x340ab7++)_0x525f16=_0x5e0a86[_0x158dff][_0x340ab7],_0x5ecf2b[0x4*_0x340ab7]=0xff&(_0x74f8a4[_0x2d6682([0x53])][t[_0x340ab7]>>0x18&0xff]^_0x525f16>>0x18),_0x5ecf2b[0x4*_0x340ab7+0x1]=0xff&(_0x74f8a4[_0x2d6682([0x53])][t[(_0x340ab7+0x1)%0x4]>>0x10&0xff]^_0x525f16>>0x10),_0x5ecf2b[0x4*_0x340ab7+0x2]=0xff&(_0x74f8a4[_0x2d6682([0x53])][t[(_0x340ab7+0x2)%0x4]>>0x8&0xff]^_0x525f16>>0x8),_0x5ecf2b[0x4*_0x340ab7+0x3]=0xff&(_0x74f8a4[_0x2d6682([0x53])][0xff&t[(_0x340ab7+0x3)%0x4]]^_0x525f16);return _0x5ecf2b;}function _0x23c718(){const _0x254ffe=_0x74f8a4[_0x2d6682([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x64e822[_0x2d6682([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x9ce1e8=0x0;_0x9ce1e8<=_0x254ffe;_0x9ce1e8++)_0x5e0a86[_0x2d6682([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x173ab5[_0x2d6682([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x32212d=0x4*(_0x254ffe+0x1),_0x548f60=_0x64e822[_0x2d6682([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x407161=_0x2dc1a1(_0x64e822);let _0x98368b;for(let _0x23e8f8=0x0;_0x23e8f8<_0x548f60;_0x23e8f8++)_0x98368b=_0x23e8f8>>0x2,_0x5e0a86[_0x98368b][_0x23e8f8%0x4]=_0x407161[_0x23e8f8],_0x173ab5[_0x254ffe-_0x98368b][_0x23e8f8%0x4]=_0x407161[_0x23e8f8];let _0x3e6cc2,_0x2eb595=0x0,t=_0x548f60;for(;t<_0x32212d;){_0x3e6cc2=_0x407161[_0x548f60-0x1],_0x407161[0x0]^=_0x74f8a4[_0x2d6682([0x53])][_0x3e6cc2>>0x10&0xff]<<0x18^_0x74f8a4[_0x2d6682([0x53])][_0x3e6cc2>>0x8&0xff]<<0x10^_0x74f8a4[_0x2d6682([0x53])][0xff&_0x3e6cc2]<<0x8^_0x74f8a4[_0x2d6682([0x53])][_0x3e6cc2>>0x18&0xff]^_0x74f8a4[_0x2d6682([0x72,0x63,0x6f,0x6e])][_0x2eb595]<<0x18,_0x2eb595+=0x1;for(let _0x59ab1b=0x1;_0x59ab1b<_0x548f60/0x2;_0x59ab1b++)_0x407161[_0x59ab1b]^=_0x407161[_0x59ab1b-0x1];_0x3e6cc2=_0x407161[_0x548f60/0x2-0x1],_0x407161[_0x548f60/0x2]^=_0x74f8a4[_0x2d6682([0x53])][0xff&_0x3e6cc2]^_0x74f8a4[_0x2d6682([0x53])][_0x3e6cc2>>0x8&0xff]<<0x8^_0x74f8a4[_0x2d6682([0x53])][_0x3e6cc2>>0x10&0xff]<<0x10^_0x74f8a4[_0x2d6682([0x53])][_0x3e6cc2>>0x18&0xff]<<0x18;for(let _0x2bd17b=_0x548f60/0x2+0x1;_0x2bd17b<_0x548f60;_0x2bd17b++)_0x407161[_0x2bd17b]^=_0x407161[_0x2bd17b-0x1];let _0x4bfa9f,_0x5e2638,_0x15a9b8=0x0;for(;_0x15a9b8<_0x548f60&&t<_0x32212d;)_0x4bfa9f=t>>0x2,_0x5e2638=t%0x4,_0x5e0a86[_0x4bfa9f][_0x5e2638]=_0x407161[_0x15a9b8],_0x173ab5[_0x254ffe-_0x4bfa9f][_0x5e2638]=_0x407161[_0x15a9b8++],t++;}for(let _0xc4330b=0x1;_0xc4330b<_0x254ffe;_0xc4330b++)for(let _0x1aedb2=0x0;_0x1aedb2<0x4;_0x1aedb2++)_0x3e6cc2=_0x173ab5[_0xc4330b][_0x1aedb2],_0x173ab5[_0xc4330b][_0x1aedb2]=_0x74f8a4[_0x2d6682([0x55,0x31])][_0x3e6cc2>>0x18&0xff]^_0x74f8a4[_0x2d6682([0x55,0x32])][_0x3e6cc2>>0x10&0xff]^_0x74f8a4[_0x2d6682([0x55,0x33])][_0x3e6cc2>>0x8&0xff]^_0x74f8a4[_0x2d6682([0x55,0x34])][0xff&_0x3e6cc2];}}function _0x2d6682(_0x20791a){return _0x20791a['map'](_0x2b2142=>String['fromCharCode'](_0x2b2142))['join']('');}(_0x5ad847=>{function _0x4115aa(){const _0x5f11ba=[{[_0x2d6682([0x69,0x64])]:0x1,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x2d6682([0x69,0x64])]:0x2,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([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]),[_0x2d6682([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2d6682([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2d6682([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2d6682([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x2d6682([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2d6682([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2d6682([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2d6682([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2d6682([0x69,0x64])]:0x3,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2d6682([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2d6682([0x69,0x64])]:0x4,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([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]),[_0x2d6682([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2d6682([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2d6682([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2d6682([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2d6682([0x69,0x64])]:0x5,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2d6682([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]),[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2d6682([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2d6682([0x66,0x67,0x69])]:[0xc]}},{[_0x2d6682([0x69,0x64])]:0x6,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2d6682([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2d6682([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2d6682([0x66,0x67,0x69])]:[0xc]}},{[_0x2d6682([0x69,0x64])]:0x7,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2d6682([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2d6682([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2d6682([0x66,0x67,0x69])]:[0xc]}},{[_0x2d6682([0x69,0x64])]:0x8,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2d6682([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]),[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2d6682([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2d6682([0x66,0x67,0x69])]:[0xc]}},{[_0x2d6682([0x69,0x64])]:0x9,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2d6682([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2d6682([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2d6682([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x2d6682([0x69,0x64])]:0xa,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([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]),[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2d6682([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]),[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2d6682([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]),[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2d6682([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2d6682([0x66,0x67,0x69])]:[0xc]}},{[_0x2d6682([0x69,0x64])]:0xb,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2d6682([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2d6682([0x69,0x64])]:0xc,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x2d6682([0x69,0x64])]:0xd,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2d6682([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2d6682([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2d6682([0x66,0x67,0x69])]:[0xc]}},{[_0x2d6682([0x69,0x64])]:0xe,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x2d6682([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([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])},{[_0x2d6682([0x69,0x64])]:0xf,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2d6682([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2d6682([0x69,0x64])]:0x10,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2d6682([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2d6682([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2d6682([0x66,0x67,0x69])]:[0xc]}}];return _0x326235(_0x5f11ba),_0x5f11ba;function _0x978aa1(_0x329e04){return 0x1<<_0x329e04-0x1;}function _0x326235(_0x27e854){_0x27e854[_0x2d6682([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x7c4957=>{_0x7c4957[_0x2d6682([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x978aa1(_0x7c4957[_0x2d6682([0x69,0x64])]),_0x37d99d(_0x7c4957)&&_0x7c4957[_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x326235(_0x7c4957[_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x37d99d(_0x36f9f5){return _0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x36f9f5;}const _0x57e7fc=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x173931=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x39f6e8(_0x42109c){const _0x4caa0f=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x192a5d(_0x42109c,new Uint8Array([..._0x57e7fc,..._0x4caa0f,..._0x173931]));}function _0x192a5d(_0x3ceda9,_0x2347d0){const _0x37e636=_0x1bea26(_0x3ceda9),_0x8b9337=Array[_0x2d6682([0x66,0x72,0x6f,0x6d])](_0x48ade0(_0x37e636)),_0x558b88=_0x8b9337[_0x2d6682([0x70,0x6f,0x70])](),_0x284b0d=_0x8b9337[_0x2d6682([0x70,0x6f,0x70])]();return _0x17ded3(_0x2be030(_0x8b9337,_0x2347d0,_0x284b0d+0x100*_0x558b88));}function _0x1bea26(_0x1367c1){const _0x33ddf3=atob(_0x1367c1),[_0x1ec598,_0x3819b9]=_0x33ddf3[_0x2d6682([0x73,0x70,0x6c,0x69,0x74])](_0x2d6682([0x2d]));try{if(atob(_0x3819b9))return atob(_0x1ec598);}catch(_0x2331e8){}return _0x33ddf3;}function _0x6a3150(_0x397005){try{const _0x211b8b=_0x39f6e8(_0x397005),_0x3d26dc=JSON[_0x2d6682([0x70,0x61,0x72,0x73,0x65])](_0x211b8b),_0x29d0b4=parseInt(_0x3d26dc[_0x2d6682([0x31])]),_0x49432b=_0x3d26dc[_0x2d6682([0x32])]||'',_0x38fbb0=parseInt(_0x3d26dc[_0x2d6682([0x33])]),_0x3745e6=parseInt(_0x3d26dc[_0x2d6682([0x34])])||0x0,_0x1fbc74=parseInt(_0x3d26dc[_0x2d6682([0x35])])||0x0;return{[_0x2d6682([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x49432b,[_0x2d6682([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x3745e6,[_0x2d6682([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x29d0b4,[_0x2d6682([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x38fbb0,[_0x2d6682([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x1fbc74};}catch(_0x476256){return null;}}const _0x46beae=_0x4115aa(),_0x8d2881={[_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x38804f,[_0x2d6682([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])]:_0x1ebb33,[_0x2d6682([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])]:_0x446848},_0x2bf097=_0x5ad847[_0x2d6682([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x2299c8=_0x2d6682([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x5ad847?_0x5ad847['context']:_0x5ad847['editor'],_0x1d2023=_0x2d6682([0x34,0x30,0x34,0x38,0x32,0x30,0x30,0x34]),_0x4bc440=_0x2d6682([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]),_0x49603d=_0x2299c8['config']['get'](_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x41c22e=_0x46beae[_0x2d6682([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x37d99d)[_0x2d6682([0x66,0x69,0x6e,0x64])](_0x2d828e=>_0x2d828e[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x2bf097);function _0x5d3e86(_0x37af23,_0x5b01d1){_0x8d2881[_0x5b01d1[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x37af23,_0x5b01d1),_0x5b01d1[_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5b01d1[_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x2d6682([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x885ca0=>_0x20f3bd(_0x2299c8,_0x885ca0[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x2d6682([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x21589a=>_0x5d3e86(_0x37af23,_0x21589a));}function _0x38804f(_0x4bf147,_0x3428be){_0x3d0fb9(_0x527352(_0x4bf147,_0x3428be),_0x3428be);}function _0x1ebb33(_0x579062,_0x32ce6f){function _0xf92857(_0x1faab9,_0x23d12a){try{if(_0x20f3bd(_0x2299c8,_0x2d6682([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x1faab9){const _0x44dce0=_0x6ffd5c(_0x2299c8,_0x2d6682([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x2d6682([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x44dce0)/0x2>_0x1faab9[_0x2d6682([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x1b7aed(_0x23d12a[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x527352(_0x1faab9,_0x23d12a);}catch(_0x4dfa66){return _0x1b7aed(_0x23d12a[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x3d0fb9(_0xf92857(_0x579062,_0x32ce6f),_0x32ce6f);}function _0x446848(_0x5de38c,_0x52e404){const _0x560093=_0x173931[0x0]*_0x57e7fc[0x1],_0x27e394=_0x173931[0x0]*_0x57e7fc[0x2],_0x6a8778=_0x173931[0x2]*_0x57e7fc[0x2];_0x20f3bd(_0x2299c8,_0x2d6682([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x6ffd5c(_0x2299c8,_0x2d6682([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2d6682([0x73,0x74,0x61,0x74,0x65])]==_0x2d6682([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x58e051()]=_0x6a8778);function _0xbf661f(_0x5b82f0,_0x3ffdf8){try{return _0x48d777()?_0x1b7aed(_0x3ffdf8[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x56,0x61,0x6c,0x69,0x64])):_0x527352(_0x5b82f0,_0x3ffdf8);}catch(_0x18c53d){return _0x1b7aed(_0x3ffdf8[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1c0987(_0x311a37,_0x209ed6){const _0x1950ea=0x7;if(_0x311a37==_0x209ed6[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x588581();else{if(_0x311a37==_0x209ed6[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x54,0x72,0x69,0x61,0x6c])){const _0x4aa6c6=_0x429d27();_0x4aa6c6&&_0x4408be(_0x4aa6c6,_0x209ed6[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x51951a=_0x5f3be8();window[_0x2d6682([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4408be(_0x2d6682([0x74,0x69,0x6d,0x65]),_0x209ed6[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x51951a);const _0x1ded2b=_0x6ffd5c(_0x2299c8,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2d6682([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x1ded2b[_0x2d6682([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x1950ea?_0x4408be(_0x2d6682([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x209ed6[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x1ded2b['on'](_0x2d6682([0x61,0x64,0x64]),()=>{_0x1ded2b[_0x2d6682([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x1950ea&&_0x4408be(_0x2d6682([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x209ed6[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x429d27(){if(!_0x20f3bd(_0x2299c8,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x2cba91 in window)if(Number['isNaN'](Number(_0x2cba91))){if(window[_0x2cba91]===_0x560093)return _0x2d6682([0x74,0x69,0x6d,0x65]);if(window[_0x2cba91]===_0x27e394)return _0x2d6682([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x48d777(){if(!_0x20f3bd(_0x2299c8,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x5d4aab in window)if(Number['isNaN'](Number(_0x5d4aab))&&window[_0x5d4aab]===_0x6a8778)return!0x0;return!0x1;}function _0x4408be(_0x50ac33,_0xd6d2ce){_0x588581(),_0x1b7aed(_0xd6d2ce+_0x2d6682([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x50ac33),window[_0x58e051()]=_0x50ac33===_0x2d6682([0x74,0x69,0x6d,0x65])?_0x560093:_0x27e394;}function _0x5f3be8(){let _0x1b78bb=_0x173931[0x6]*_0x57e7fc[0x8]*_0x57e7fc[0x6];return _0x20f3bd(_0x2299c8,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1b78bb/=0xa),_0x1b78bb;}function _0x588581(){const _0x2f024a=_0x2299c8;function _0x421573(){_0x20f3bd(_0x2f024a,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x6ffd5c(_0x2f024a,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2d6682([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2d6682([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x6ffd5c(_0x2f024a,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2d6682([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x6ffd5c(_0x2f024a,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2d6682([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x20fffd,_0x6ffd5c(_0x2f024a,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2d6682([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x20fffd,_0x2f024a[_0x2d6682([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d6682([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x20fffd,_0x2f024a[_0x2d6682([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d6682([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x20fffd,_0x2f024a[_0x2d6682([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2d6682([0x6d,0x6f,0x64,0x65,0x6c]))),_0x20f3bd(_0x2f024a,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x6ffd5c(_0x2f024a,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2d6682([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2d6682([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x6ffd5c(_0x2f024a,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2d6682([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x6ffd5c(_0x2f024a,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2d6682([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x20fffd,_0x6ffd5c(_0x2f024a,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2d6682([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x20fffd);}_0x2f024a[_0x2d6682([0x73,0x74,0x61,0x74,0x65])]==_0x2d6682([0x72,0x65,0x61,0x64,0x79])?_0x421573():_0x2f024a[_0x2d6682([0x6f,0x6e,0x63,0x65])](_0x2d6682([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x20f3bd(_0x2f024a,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x421573(),_0x20f3bd(_0x2f024a,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x4b8c15=_0x6ffd5c(_0x2f024a,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x3fab66=_0x4b8c15['getRevision'](0x0),_0x325cfd=_0x4b8c15['getEarlierVisibleRevision'](_0x3fab66[_0x2d6682([0x69,0x64])]);_0x6ffd5c(_0x2f024a,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2d6682([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x3fab66[_0x2d6682([0x69,0x64])],_0x325cfd?_0x325cfd[_0x2d6682([0x69,0x64])]:null,0x1)['then'](()=>_0x421573());}});}_0x1c0987(_0xbf661f(_0x5de38c,_0x52e404),_0x52e404);}function _0x527352(_0x2b2c15,_0x47949d){try{return _0x46bbb6(_0x47949d)?_0x1b7aed(_0x47949d[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x56,0x61,0x6c,0x69,0x64])):_0x2b2c15&&_0x34da00(_0x2b2c15[_0x2d6682([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x47949d)?_0x2b2c15[_0x2d6682([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x2d6682([0x6f,0x70,0x65,0x6e])][_0x2d6682([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x1d2023)/0x2>_0x2b2c15[_0x2d6682([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x1b7aed(_0x47949d[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x2b2c15[_0x2d6682([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x1b7aed(_0x47949d[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x54,0x72,0x69,0x61,0x6c])):_0x1b7aed(_0x47949d[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x56,0x61,0x6c,0x69,0x64])):_0x1b7aed(_0x47949d[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x24f912){return _0x1b7aed(_0x47949d[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x3d0fb9(_0x2d22c9,_0x2c2266){if(_0x2299c8 instanceof _0x1c2fe6){const _0x41f826=_0x2299c8;_0x2d22c9==_0x2c2266[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x175800(_0x41f826):_0x2d22c9==_0x2c2266[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x54,0x72,0x69,0x61,0x6c])&&window[_0x2d6682([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x175800(_0x41f826),_0x1b7aed(_0x2c2266[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x173931[0x6]*_0x57e7fc[0x8]*_0x57e7fc[0x6]),_0x41f826[_0x2d6682([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x2d6682([0x6f,0x6e])](_0x2d6682([0x61,0x64,0x64]),(_0x216ec0,_0x349ab8)=>{_0x2d22c9!=_0x2c2266[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x2d22c9!=_0x2c2266[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x2d22c9!=_0x2c2266[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x24a8a7(_0x349ab8);});}else{const _0x3dea37=_0x2299c8;_0x2d22c9==_0x2c2266[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x24a8a7(_0x3dea37):_0x2d22c9==_0x2c2266[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x54,0x72,0x69,0x61,0x6c])&&_0x3dea37[_0x2d6682([0x6f,0x6e])](_0x2d6682([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x52f064=0x0;_0x3dea37[_0x2d6682([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d6682([0x6f,0x6e])](_0x2d6682([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x310f62,_0x4b986a)=>{_0x4b986a[0x0][_0x2d6682([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x52f064++,0x1f8===_0x52f064&&(_0x24a8a7(_0x3dea37),_0x1b7aed(_0x2c2266[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x310f62[_0x2d6682([0x6f,0x66,0x66])]());},{'priority':_0x2d6682([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x1b7aed(_0x194a95){const _0x5561b4=_0x58e051();return _0x2299c8[_0x5561b4]=_0x194a95,_0x194a95;}function _0x58e051(){const _0x239e3e=String(window[_0x2d6682([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2d6682([0x6e,0x6f,0x77])]())[_0x2d6682([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2d6682([0x2e]),'');let _0x4e4728='';for(let _0x1e29ec=0x0;_0x1e29ec<_0x239e3e[_0x2d6682([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e29ec+=0x2){let _0x4f672d=parseInt(_0x239e3e[_0x2d6682([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e29ec,_0x1e29ec+0x2));_0x4f672d>=_0x4bc440[_0x2d6682([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4f672d-=_0x4bc440[_0x2d6682([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4e4728+=_0x4bc440[_0x4f672d];}return _0x4e4728;}function _0x175800(_0x4d2238){for(const _0x378bfc of _0x4d2238[_0x2d6682([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x24a8a7(_0x378bfc);_0x6ffd5c(_0x4d2238,_0x2d6682([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2d6682([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x6ffd5c(_0x4d2238,_0x2d6682([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2d6682([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x20fffd;}function _0x24a8a7(_0x1c6f13){function _0x441ca6(){_0x1c6f13[_0x2d6682([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d6682([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x20fffd,_0x1c6f13[_0x2d6682([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d6682([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x20fffd,_0x1c6f13[_0x2d6682([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2d6682([0x6d,0x6f,0x64,0x65,0x6c]));}_0x1c6f13[_0x2d6682([0x73,0x74,0x61,0x74,0x65])]==_0x2d6682([0x72,0x65,0x61,0x64,0x79])?_0x441ca6():_0x1c6f13[_0x2d6682([0x6f,0x6e,0x63,0x65])](_0x2d6682([0x72,0x65,0x61,0x64,0x79]),()=>_0x441ca6());}function _0x20fffd(){return null;}function _0x34da00(_0x449fe0,_0x39a40a){const _0x449259=!!(_0x449fe0&_0x39a40a[_0x2d6682([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x4734de=_0x1d6476(_0x449fe0,_0x39a40a);return _0x449259||_0x4734de;}function _0x1d6476(_0x23dd7d,_0x8479b8){const _0x3fc3f6=(_0x8479b8[_0x2d6682([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x2d6682([0x66,0x67,0x69])]||null;return!!_0x3fc3f6&&_0x46beae[_0x2d6682([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4cabd2=>_0x3fc3f6[_0x2d6682([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cabd2[_0x2d6682([0x69,0x64])]))[_0x2d6682([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e0ead=>!_0x318d3d(_0x4e0ead))[_0x2d6682([0x73,0x6f,0x6d,0x65])](_0x498bf0=>!!(_0x23dd7d&_0x498bf0[_0x2d6682([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x318d3d(_0x39fadf){const _0x20b476={[_0x2d6682([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])]:_0x257491};return!!_0x39fadf['forbiddenHandler']&&_0x20b476[_0x39fadf['forbiddenHandler']]();}function _0x257491(){return!window[_0x2d6682([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x20f3bd(_0x2299c8,_0x2d6682([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x46bbb6(_0x28667d){if(!_0x20f3bd(_0x2299c8,_0x28667d[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x213586=_0x28667d[_0x2d6682([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x53d998=_0x213586[_0x2d6682([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x51e862=_0x213586[_0x2d6682([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x2c6e0b=_0x213586[_0x2d6682([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x20f3bd(_0x2299c8,_0x2d6682([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x6ffd5c(_0x2299c8,_0x2d6682([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2d6682([0x73,0x74,0x61,0x74,0x65])]==_0x2d6682([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x53d998)return!0x0;if(_0x20f3bd(_0x2299c8,_0x2d6682([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x6ffd5c(_0x2299c8,_0x2d6682([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x2d6682([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x2d6682([0x65,0x6e,0x64])&&_0x51e862)return!0x0;return!(!_0x20f3bd(_0x2299c8,_0x2d6682([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]))||_0x6ffd5c(_0x2299c8,_0x2d6682([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]))[_0x2d6682([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x2d6682([0x65,0x6e,0x64])||!_0x2c6e0b);}function _0x20f3bd(_0x2118ed,_0x5b3970){return _0x2118ed[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2d6682([0x68,0x61,0x73])](_0x5b3970);}function _0x6ffd5c(_0x792d37,_0xb1ec43){return _0x792d37[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2d6682([0x67,0x65,0x74])](_0xb1ec43);}function _0x17ded3(_0x4edad8){let _0x3a1b3e='';for(const _0x7b9643 of _0x4edad8)_0x3a1b3e+=String[_0x2d6682([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x7b9643);return _0x3a1b3e;}function _0x48ade0(_0x135812){const _0x36a894=new Uint8Array(_0x135812[_0x2d6682([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x300f53=0x0;_0x300f53<_0x135812[_0x2d6682([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x300f53++)_0x36a894[_0x300f53]=_0x135812[_0x2d6682([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x300f53);return _0x36a894;}_0x41c22e&&_0x5d3e86(_0x6a3150(_0x49603d),_0x41c22e);})(_0x323adb);}(this);}['createRevision'](_0x2fb7ed){const _0x659c83=this['editor']['plugins']['get']('Users');return new a({'id':_0x2fb7ed['id'],'name':_0x2fb7ed['name'],'creator':_0x2fb7ed['creatorId']?_0x659c83['getUser'](_0x2fb7ed['creatorId']):null,'diffData':_0x2fb7ed['diffData']||_0x2fb7ed['data'],'authors':_0x2fb7ed['authorsIds']['map'](_0x43f7bd=>_0x659c83['getUser'](_0x43f7bd)),'createdAt':new Date(_0x2fb7ed['createdAt']),'attributes':_0x2fb7ed['attributes'],'fromVersion':_0x2fb7ed['fromVersion'],'toVersion':_0x2fb7ed['toVersion']});}['addRevision'](_0x5d1bbc,_0x274ca6=0x0){this['_revisions']['add'](_0x5d1bbc,_0x274ca6);}['getRevision'](_0x256c41){return this['_revisions']['get'](_0x256c41);}['getRevisions'](_0x5f5c9f={'toJSON':!0x1}){const _0x267325=Array['from'](this['_revisions']);return _0x267325['reverse'](),_0x5f5c9f['toJSON']?_0x267325['map'](_0x56d11b=>_0x56d11b['toJSON']()):_0x267325;}['getIndex'](_0x2334c4){return this['_revisions']['getIndex'](_0x2334c4);}['getEarlierVisibleRevision'](_0x5bf0ff){const [,_0x200341]=this['getRevisionsIterator'](_0x5bf0ff,{'direction':'earlier'});return _0x200341;}['getLaterVisibleRevision'](_0x22dfa3){const [,_0x19fae0]=this['getRevisionsIterator'](_0x22dfa3,{'direction':'later'});return _0x19fae0;}['getRevisionsInDiff'](_0x16e7c1){const _0x2aa380=[];for(const _0x1f209f of this['getRevisionsIterator'](_0x16e7c1['newRevisionId']))if(_0x2aa380['push'](_0x1f209f),_0x1f209f['id']===_0x16e7c1['oldRevisionId'])break;return _0x2aa380;}*['getRevisionsIterator'](_0x341c49,{direction:_0x42ee7b='earlier',filter:_0x4f9341=()=>!0x0}={}){const _0x18bd53='earlier'===_0x42ee7b?0x1:-0x1;let _0x174a31=this['_revisions']['get'](_0x341c49),_0x3c0c13=this['getIndex'](_0x174a31);for(yield _0x174a31;_0x174a31;){if(_0x3c0c13+=_0x18bd53,_0x174a31=this['getRevision'](_0x3c0c13),!_0x174a31)return;_0x4f9341(_0x174a31)&&(yield _0x174a31);}}}function y(_0x29e642,_0x2f2597,_0x422208){const t=_0x29e642['t'];switch(_0x2f2597){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'},_0x422208);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x422208);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':_0x301860,'a':_0x5abd44,'e':_0x411ca4,'r':_0x187dc1,'u':_0x2bad88};class l extends _0x19e2a4{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x590248,A,_0x33d93a];}constructor(_0x100315){super(_0x100315),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 _0x1785df=_0x2a5db2();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x1785df},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 _0xbba42c=this['repository']['getRevision'](0x0),_0x132956=_0xbba42c&&null===_0xbba42c['creator']?_0xbba42c:null;if(this['_continueCurrentRevision']=!!_0x132956&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x138c9b=this['_source']['getCurrentRevisionId'](),_0x5d29fc=this['repository']['getRevision'](_0x138c9b);if(_0x5d29fc)this['_startingVersion']=_0x5d29fc['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x3c5b08=this['_source']['history']['_operations']['find'](_0x26bff2=>!_0x26bff2['_isInit']),_0x4fdd3f=_0x3c5b08?_0x3c5b08['baseVersion']:this['_source']['history']['version'];_0xbba42c?(_0xbba42c['toVersion']<_0x4fdd3f&&_0xbba42c['_update']({'toVersion':_0x4fdd3f}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x132956['id'],this['_startingVersion']=_0x132956['fromVersion']):(this['_startingVersion']=_0xbba42c['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x4fdd3f,this['_continueCurrentRevision']=!0x1);}}else _0x132956&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x132956['toVersion'],this['editor']['model']['document']['history']['version']),_0x132956['fromVersion']===_0x132956['toVersion']?(0x0!==_0x132956['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x132956['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x132956['id'],this['_startingVersion']=_0x132956['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',_0x244613=>!_0x244613);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x189a46=this['repository']['getRevision'](0x0),_0x54fb52=await this['getRevisionDocumentData'](_0x189a46),_0xd668e5=await this['getRevisionRootsAttributes'](_0x189a46);this['_replaceEditorDataWithRevisionData'](_0x54fb52,_0xd668e5);}}['setSource'](_0x56d1a7){this['_source']=_0x56d1a7;}async['update'](){const _0xe30aa0=await this['_source']['getLatestVersion']();if(_0xe30aa0>this['currentRevision']['toVersion']){await this['_loadState']();const _0x3f0a67=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0xe30aa0});_0x3f0a67['authors']=_0x3f0a67['authorsIds']['map'](_0x28b0a9=>this['editor']['plugins']['get']('Users')['getUser'](_0x28b0a9)),this['currentRevision']['_update'](_0x3f0a67);}}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'](_0x207a92={},_0x1d566d=null){const _0x1c7062=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x1d566d>this['currentRevision']['toVersion']&&(_0x1d566d=null),null===_0x1d566d&&(_0x1d566d=await this['_source']['getLatestVersion']());const _0x266069=this['_getFromVersion'](_0x1d566d),_0x192e57=this['buildRevisionData']({'from':_0x266069,'to':_0x1d566d});if(this['currentRevision']['toVersion']<_0x1d566d){const _0x523482=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x1d566d,'to':_0x1d566d});_0x523482['authors']=[],_0x523482['authorsIds']=[],_0x523482['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x523482,!0x0),delete _0x523482['authors'],_0x1c7062['push'](_0x523482);}_0x207a92['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x207a92['name']=_0x207a92['name']||null,_0x207a92['id']=_0x207a92['id']||_0x2a5db2(),_0x207a92={..._0x207a92,..._0x192e57};const _0x46f4e5=this['addRevisionData'](_0x207a92);_0x1c7062['push'](_0x207a92);const _0x169ae9=this['repository']['getIndex'](_0x46f4e5);if(0x0!==_0x169ae9){const _0x421b48=this['repository']['getRevision'](_0x169ae9-0x1);if(_0x421b48['fromVersion']!==_0x1d566d){const _0x1380c7=this['_revisionDataBuilder']['getData'](_0x1d566d,_0x421b48['toVersion']),_0x54f05c={'id':_0x421b48['id'],'diffData':_0x1380c7['diffData'],'authorsIds':_0x1380c7['authorsIds'],'authors':_0x1380c7['authorsIds']['map'](_0x473bb5=>this['editor']['plugins']['get']('Users')['getUser'](_0x473bb5)),'fromVersion':_0x1d566d};_0x421b48===this['currentRevision']&&(_0x54f05c['createdAt']=new Date(_0x207a92['createdAt']['getTime']()+0xa)),_0x421b48['_update'](_0x54f05c,!0x0),delete _0x54f05c['authors'],_0x1c7062['push'](_0x54f05c);}}if(this['adapter']){for(const _0x1229f3 of _0x1c7062)this['_bufferUpdate'](_0x1229f3['id'],_0x1229f3,!0x0);this['sendBufferedUpdates']();}return _0x46f4e5;}['addRevisionData'](_0x767849){const _0x3d4a39=this['repository']['createRevision'](_0x767849);return this['adapter']&&_0x3d4a39['on']('_update',(_0x3050c2,_0x288d8e,_0xf1cbd1)=>{_0xf1cbd1||(this['_bufferUpdate'](_0x288d8e['id'],_0x288d8e,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x3d4a39,this['_findInsertionIndex'](_0x3d4a39)),_0x3d4a39;}async['getRevisionDocumentData'](_0x5cce26){await this['_loadRevisionData'](_0x5cce26);const _0x3bafb9={};for(const _0x465791 in _0x5cce26['diffData']){if(_0x5cce26['diffData'][_0x465791]['attachChange']&&!_0x5cce26['diffData'][_0x465791]['attachChange']['isAttached'])continue;const _0x4a52f3=this['_removeRevisionMarkers'](JSON['parse'](_0x5cce26['diffData'][_0x465791]['insertions'])),_0x6fa0b3=this['editor']['editing']['view']['document'],_0x7fe365=new _0x1f7f4d(_0x6fa0b3,_0x4a52f3['map'](_0x49cb11=>B(_0x49cb11,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x3bafb9[_0x465791]=this['editor']['data']['processor']['toData'](_0x7fe365),this['editor']['data']['processor']['useFillerType']('default');}return _0x3bafb9;}async['getRevisionRootsAttributes'](_0x56257b){await this['_loadRevisionData'](_0x56257b);const _0x447008={};for(const _0x5a9d9 in _0x56257b['diffData'])_0x56257b['diffData'][_0x5a9d9]['attachChange']&&!_0x56257b['diffData'][_0x5a9d9]['attachChange']['isAttached']||(_0x447008[_0x5a9d9]=_0x56257b['diffData'][_0x5a9d9]['attributesAfter']||{});return _0x447008;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x1502c5=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x2991d0=0x0;_0x2991d0<_0x1502c5['length'];_0x2991d0++){const _0x4b1bfd=_0x1502c5[_0x2991d0];let _0x5e2dae=!0x1;for(const _0xd1868 of Object['keys'](_0x4b1bfd))void 0x0===_0x4b1bfd[_0xd1868]?delete _0x4b1bfd[_0xd1868]:'id'!==_0xd1868&&(_0x5e2dae=!0x0);_0x5e2dae||(_0x1502c5[_0x2991d0]=null);}if(_0x1502c5=_0x1502c5['filter'](_0x21347a=>null!==_0x21347a),!_0x1502c5['length'])return;for(let _0x1508d4=0x0;_0x1508d4<_0x1502c5['length'];_0x1508d4++){const _0x2ffe42=_0x1502c5[_0x1508d4];void 0x0!==_0x2ffe42['fromVersion']&&void 0x0===_0x2ffe42['toVersion']&&(_0x2ffe42['toVersion']=this['repository']['getRevision'](_0x2ffe42['id'])['toVersion']),void 0x0!==_0x2ffe42['toVersion']&&void 0x0===_0x2ffe42['fromVersion']&&(_0x2ffe42['fromVersion']=this['repository']['getRevision'](_0x2ffe42['id'])['fromVersion']);}const _0x3b407a=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x1502c5,_0x3b407a)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x58769a=>{if(_0x58769a){for(const _0x2537cc of _0x58769a)this['setRevisionData']({'id':_0x2537cc['id'],'createdAt':_0x2537cc['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x12743a,_0x2c0455){let _0x1f701e=this['editor']['config']['get']('initialData'),_0x2cb186=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x1f701e){_0x1f701e={};for(const _0x42314b of this['editor']['model']['document']['getRootNames']())_0x1f701e[_0x42314b]='';}if('string'==typeof _0x1f701e&&(_0x1f701e={'main':_0x1f701e}),void 0x0===_0x2cb186){_0x2cb186={};for(const _0xa06f10 of this['editor']['model']['document']['getRootNames']())_0x2cb186[_0xa06f10]={};}let _0x4941fc=!0x1;const _0x1a7ba6=Object['keys'](_0x1f701e),_0x2212fd=Object['keys'](_0x12743a);for(const _0x35c7d4 of _0x1a7ba6){if(_0x1f701e[_0x35c7d4]!==_0x12743a[_0x35c7d4]&&''!==_0x1f701e[_0x35c7d4]['trim']()){_0x4941fc=!0x0;break;}if(!_0x3d5475(_0x2cb186[_0x35c7d4],_0x2c0455[_0x35c7d4])&&Object['keys'](_0x2cb186[_0x35c7d4])['length']>0x0){_0x4941fc=!0x0;break;}}_0x4941fc||(_0x4941fc=_0x2212fd['some'](_0x47817d=>!this['editor']['model']['document']['getRoot'](_0x47817d))),_0x4941fc&&_0x3f16ce('editor-initial-data-replaced-with-revision-data',{'editorData':_0x1f701e,'editorRootsAttributes':_0x2cb186,'revisionData':_0x12743a,'revisionRootsAttributes':_0x2c0455}),this['editor']['config']['set']('initialData',_0x12743a),this['editor']['config']['set']('rootsAttributes',_0x2c0455);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x2c9b9=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x2c9b9['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x1d8039){const _0x10fe62=this['repository']['getRevisions']();_0x10fe62['reverse']();let _0x47a538=0x0;for(;_0x47a538<_0x10fe62['length'];){const _0x262120=_0x10fe62[_0x47a538];if(_0x262120===this['currentRevision']){_0x47a538++;continue;}if(_0x262120['id']===this['_initialRevisionId'])break;const _0x46cd18=_0x1d8039['toVersion']-_0x262120['toVersion']||_0x1d8039['fromVersion']-_0x262120['fromVersion'];if(_0x46cd18>0x0)break;if(_0x46cd18<0x0)_0x47a538++;else{if(!_0x1d8039['creator']&&_0x262120['creator'])break;if(_0x262120['creator']||!_0x1d8039['creator']){if(_0x1d8039['createdAt']>_0x262120['createdAt'])break;_0x47a538++;}else _0x47a538++;}}return _0x47a538;}['setRevisionData'](_0x35e6ad){const _0x203b28=this['repository']['getRevision'](_0x35e6ad['id']);if(_0x35e6ad['createdAt']&&(_0x35e6ad['createdAt']=new Date(_0x35e6ad['createdAt'])),_0x35e6ad['authorsIds']){const _0x125f87=this['editor']['plugins']['get']('Users');_0x35e6ad['authors']=_0x35e6ad['authorsIds']['map'](_0x224238=>_0x125f87['getUser'](_0x224238));}_0x203b28['_update'](_0x35e6ad,!0x0);}['buildRevisionData']({revision:_0x270314=null,from:_0xbdca9c=null,to:_0xfc5842=null}){_0xbdca9c=null!==_0xbdca9c?_0xbdca9c:_0x270314['fromVersion'],_0xfc5842=null!==_0xfc5842?_0xfc5842:_0x270314['toVersion'];const _0x2c5e77=this['_revisionDataBuilder']['getData'](_0xbdca9c,_0xfc5842),_0x3625a2={'diffData':_0x2c5e77['diffData'],'authorsIds':_0x2c5e77['authorsIds'],'fromVersion':_0xbdca9c,'toVersion':_0xfc5842};if(!_0x270314||_0xfc5842!==_0x270314['toVersion']){const _0x36488f=_0xfc5842-0x1,_0x30eb9a=this['_source']['history']['getOperation'](_0x36488f);_0x3625a2['createdAt']=_0x30eb9a&&_0x30eb9a['createdAt']||new Date();}if(this['_loadedStateData']&&_0xbdca9c===this['_loadedStateData']['fromVersion']){for(const _0xaf3905 of this['_loadedStateData']['authors'])_0x3625a2['authorsIds']['includes'](_0xaf3905['id'])||_0x3625a2['authorsIds']['push'](_0xaf3905['id']);}return _0x3625a2;}['_loadRevisionData'](_0x1d789c){if(!_0x1d789c||_0x1d789c['diffData'])return Promise['resolve']();{const _0x2ccd55=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2ccd55,'revisionId':_0x1d789c['id']})['then'](_0x4b9b31=>{_0x1d789c['diffData']=_0x4b9b31['diffData'];});}}['_bufferUpdate'](_0x504d8e,_0x4c96e4,_0xfe0f02){if(this['_bufferedUpdates']['has'](_0x504d8e)){const _0xfeec96=this['_bufferedUpdates']['get'](_0x504d8e);_0x4c96e4=_0xfe0f02?{..._0xfeec96,..._0x4c96e4}:{..._0x4c96e4,..._0xfeec96};}this['_bufferedUpdates']['set'](_0x504d8e,_0x4c96e4);}['_getFromVersion'](_0x1323c2){const _0x380701=this['repository']['getRevisions']();_0x380701['reverse'](),_0x380701['shift']();const _0xa07786=_0x380701['find'](_0x2dd5e8=>_0x2dd5e8['toVersion']<=_0x1323c2)['toVersion'];return _0xa07786<this['_startingVersion']?this['_startingVersion']:_0xa07786;}['_createInitialRevision'](_0x56528d){const _0x211742=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x211742)this['_initialRevisionId']=_0x211742['id'];else{const _0xdfcb2=!this['editor']['model']['document']['roots']['find'](_0x5176aa=>this['editor']['model']['hasContent'](_0x5176aa)),_0x5f4fed=this['editor']['plugins']['get']('Users')['me']['id'],_0x58dfa6=y(this['editor']['locale'],_0xdfcb2?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x56528d,'to':_0x56528d,'id':this['_initialRevisionId'],'name':_0x58dfa6,'creatorId':_0x5f4fed});}}['_createCurrentRevision'](_0x1b4b87){const _0x1686b7=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x1686b7),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x1b4b87,'to':_0x1b4b87,'id':_0x1686b7,'name':'','creatorId':null}));}['_makeRevision']({name:_0x586f45,from:_0x30c036,to:_0xaa7f20,creatorId:_0x50e658,id:_0xbc587f}){const _0x5d92d8=this['buildRevisionData']({'from':_0x30c036,'to':_0xaa7f20});_0x5d92d8['name']=_0x586f45,_0x5d92d8['creatorId']=_0x50e658,_0x5d92d8['id']=_0xbc587f;const _0x4f1de9=this['addRevisionData'](_0x5d92d8);return this['adapter']&&this['_bufferUpdate'](_0x5d92d8['id'],_0x5d92d8,!0x0),_0x4f1de9;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0xec074a){return(_0xec074a=_0xec074a['filter'](_0x4ed3f9=>!_0x4ed3f9['name']||'revision-start'!==_0x4ed3f9['name']&&'revision-end'!==_0x4ed3f9['name']))['forEach'](_0x414ddd=>{'string'!=typeof _0x414ddd&&(_0x414ddd['children']=this['_removeRevisionMarkers'](_0x414ddd['children']),_0x414ddd['attributes']=_0x414ddd['attributes']['filter'](_0x27f233=>!_0x27f233[0x0]['startsWith']('data-revision-')));}),_0xec074a;}}function B(_0x40f5ee,_0x31ad4e){const _0x21ea18=_0x31ad4e['editing']['view']['document'];if('string'==typeof _0x40f5ee)return new _0x4c1e2b(_0x21ea18,_0x40f5ee);{const _0x527335=_0x40f5ee['children']['map'](_0x1f0b72=>B(_0x1f0b72,_0x31ad4e));return new(T[_0x40f5ee['type']]||_0x110187)(_0x21ea18,_0x40f5ee['name'],_0x40f5ee['attributes'],_0x527335);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x2deedf){this['editor']=_0x2deedf,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'](_0x4a2793){this['source']=_0x4a2793;const _0x51fde9=new Map(),_0x5551a3=new Map(),_0x5ac80d=this['editor']['model']['document']['roots']['map'](_0x34d5fe=>_0x34d5fe['rootName']);for(const _0x4d75ea of _0x5ac80d){const _0x159c4d=this['editor']['model']['document']['getRoot'](_0x4d75ea),_0x1d4902=q(_0x159c4d);_0x51fde9['set'](_0x4d75ea,_0x1d4902),_0x5551a3['set'](_0x4d75ea,Object['fromEntries'](_0x159c4d['getAttributes']()));}const _0x12f13e=Array['from'](this['editor']['model']['markers'])['map'](_0x4c5686=>[_0x4c5686['name'],_0x4c5686['getRange']()]),_0x199815=this['source']['version'];this['_saveMetaData'](_0x199815,_0x51fde9,_0x12f13e,_0x5551a3),this['_startingRevisionId']=this['_revisionId'];const _0x56210a=new Map(),_0x1c1d86=new Map();for(const _0x36b87c of _0x5ac80d){const _0x3ce143=G(_0x36b87c);_0x56210a['set'](_0x36b87c,_0x3ce143),_0x1c1d86['set'](_0x36b87c,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x56210a,[],_0x1c1d86);}['getData'](_0x43e6c4,_0xc91439){if(this['_lastFrom']===_0x43e6c4&&this['_lastTo']<=_0xc91439)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0xc91439,!0x0);else{if(!this['_savedMetaData']['has'](_0x43e6c4)){const _0x34fe1a=this['_getPreviousFrom'](_0x43e6c4);this['_calculateMetaData'](_0x34fe1a,_0x43e6c4,!0x1);}this['_calculateMetaData'](_0x43e6c4,_0xc91439,!0x0);}return this['_lastFrom']=_0x43e6c4,this['_lastTo']=_0xc91439,this['_getState']();}['loadState'](_0x120378){this['_reset'](),this['_lastFrom']=_0x120378['fromVersion'],this['_lastTo']=_0x120378['toVersion'];for(const _0x20ddb5 in _0x120378['diffData']){const _0x5eba02=_0x120378['diffData'][_0x20ddb5]['attachChange'],_0x3c5429=_0x1bdd3a(_0x120378['diffData'][_0x20ddb5]['attributesBefore'])||{},_0x578eb1=this['_makeModelFromViewString'](_0x120378['diffData'][_0x20ddb5]['deletions']);_0x578eb1['rootName']=_0x20ddb5,_0x578eb1['_isAttached']=!_0x5eba02||!_0x5eba02['isAttached'],_0x578eb1['isAttached']=()=>_0x578eb1['_isAttached'],this['_baseRoots']['set'](_0x20ddb5,_0x578eb1),this['_baseRootsAttributes']['set'](_0x20ddb5,_0x3c5429),_0x5eba02&&this['_touchedRoots']['set'](_0x20ddb5,_0x5eba02);const _0x4886e5=this['_makeIdsRoot'](_0x578eb1);this['_baseIdsRoots']['set'](_0x20ddb5,_0x4886e5);for(const [_0x24654b,_0x873644]of _0x578eb1['markers']){if(!_0x24654b['startsWith']('revision:'))continue;const _0x2967b8=_0x24654b['split'](':')[0x2];for(const _0xd53138 of _0x873644['getWalker']({'singleCharacters':!0x0})){const _0x316a6e=this['_getVidAttributeName'](_0xd53138),_0xc2f90c='elementEnd'==_0xd53138['type']?_0xd53138['previousPosition']['path']['slice'](0x0,-0x1):_0xd53138['previousPosition']['path'],_0x16577e=_0x4886e5['getNodeByPath'](_0xc2f90c)['getAttribute'](_0x316a6e);this['_touched']['set'](_0x16577e,{'userId':_0x2967b8});}}}this['_startingRevisionId']=this['_revisionId'];const _0x535110=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x1ef30f=>!this['_touched']['has'](_0x1ef30f));let _0xf2e033=0x0;const _0x58175f=new Map();for(const _0xce60c8 in _0x120378['diffData']){const _0x3b5581=_0x120378['diffData'][_0xce60c8]['attachChange'],_0x25a41a=_0x1bdd3a(_0x120378['diffData'][_0xce60c8]['attributesAfter'])||{},_0x371b8c=this['_makeModelFromViewString'](_0x120378['diffData'][_0xce60c8]['insertions']);_0x371b8c['rootName']=_0xce60c8,_0x371b8c['_isAttached']=!_0x3b5581||_0x3b5581['isAttached'],_0x371b8c['isAttached']=()=>_0x371b8c['_isAttached'],this['_diffRoots']['set'](_0xce60c8,_0x371b8c),this['_diffRootsAttributes']['set'](_0xce60c8,_0x25a41a);const _0x371eca=this['_makeIdsRoot'](_0x371b8c,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0xce60c8,_0x371eca),_0x58175f['set'](_0xce60c8,_0x371b8c['isAttached']()?_0x25a41a:{});for(const [_0xaf4120,_0x3d3eb3]of _0x371b8c['markers']){if(!_0xaf4120['startsWith']('revision:'))continue;const _0x270fc5=_0xaf4120['split'](':')[0x2];for(const _0x4dc1ea of _0x3d3eb3['getWalker']({'singleCharacters':!0x0})){const _0x486044=this['_getVidAttributeName'](_0x4dc1ea),_0x48f055=this['_revisionId']++,_0x172ea0='elementEnd'==_0x4dc1ea['type']?_0x4dc1ea['previousPosition']['path']['slice'](0x0,-0x1):_0x4dc1ea['previousPosition']['path'];_0x371eca['getNodeByPath'](_0x172ea0)['_setAttribute'](_0x486044,_0x48f055),this['_touched']['set'](_0x48f055,{'userId':_0x270fc5});}}for(const _0xe0fecd of this['editor']['model']['createRangeIn'](_0x371b8c)['getWalker']({'singleCharacters':!0x0})){const _0x1ecae7=this['_getVidAttributeName'](_0xe0fecd),_0x3f55bd='elementEnd'==_0xe0fecd['type']?_0xe0fecd['previousPosition']['path']['slice'](0x0,-0x1):_0xe0fecd['previousPosition']['path'],_0x1dfbb3=_0x371eca['getNodeByPath'](_0x3f55bd);_0x1dfbb3['getAttribute'](_0x1ecae7)>0x0||_0x1dfbb3['_setAttribute'](_0x1ecae7,_0x535110[_0xf2e033++]);}for(const [_0x3f683b,_0x5a4e0f]of _0x371b8c['markers'])_0x3f683b['startsWith']('revision:')||this['_markers']['set'](_0x3f683b,_0x5a4e0f);}const _0xa4ccb5=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0xa4ccb5),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0xa4ccb5,0x1));const _0x261acb=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x261acb),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x261acb,0x1));const _0x50ffc0=Array['from'](this['_diffRoots'])['map'](([_0x23d765,_0x357fe3])=>[_0x23d765,q(_0x357fe3)]);this['_saveMetaData'](this['_lastTo'],_0x50ffc0,this['_markers'],_0x58175f);}['_makeModelFromViewString'](_0x58368a){const _0x97674f=JSON['parse'](_0x58368a),_0x19809c=this['editor']['editing']['view']['document'],_0x4ca268=new _0x1f7f4d(_0x19809c,_0x97674f['map'](_0x31cc13=>B(_0x31cc13,this['editor'])));return this['editor']['data']['toModel'](_0x4ca268);}['_saveMetaData'](_0x2e2c0c,_0x55c728,_0x18650e,_0x546b22){const _0x3ca31a=new Map(_0x55c728),_0x45c757=new Map(_0x1bdd3a(_0x546b22)),_0x34f910=new Map();for(const [_0x200dbb,_0x3ef4de]of _0x18650e)_0x34f910['set'](_0x200dbb,{'start':_0x3ef4de['start']['clone'](),'end':_0x3ef4de['end']['clone'](),'rootName':_0x3ef4de['root']['rootName']});this['_savedMetaData']['set'](_0x2e2c0c,{'roots':_0x3ca31a,'markers':_0x34f910,'rootsAttributes':_0x45c757});}['_removeMetaData'](_0x2ab9a2){this['_savedMetaData']['delete'](_0x2ab9a2);}['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'](_0x3bf634,_0x1eb2fd=null){let _0x388496=null;_0x3bf634['is']('documentFragment')||(_0x388496=new ft(_0x3bf634['name'],{'vid_start':null===_0x1eb2fd?this['_revisionId']++:_0x1eb2fd++}));const _0x156302=[];for(const _0x2bb570 of _0x3bf634['getChildren']())if(_0x2bb570['is']('element')){_0x156302['push'](this['_makeIdsRoot'](_0x2bb570,_0x1eb2fd));const _0x642c1e=_0x156302[_0x156302['length']-0x1];null!==_0x1eb2fd&&(_0x1eb2fd=_0x642c1e['is']('element','$text')?_0x642c1e['getAttribute']('vid')+0x1:_0x642c1e['getAttribute']('vid_end')+0x1);}else{for(let _0x256333=0x0;_0x256333<_0x2bb570['offsetSize'];_0x256333++)_0x156302['push'](new ft('$text',{'vid':null===_0x1eb2fd?this['_revisionId']++:_0x1eb2fd++}));}if(_0x3bf634['is']('documentFragment')){const _0x3f191c=G(_0x3bf634['rootName']);return _0x3f191c['_insertChild'](0x0,_0x156302),_0x3f191c;}return _0x388496['_setAttribute']('vid_end',null===_0x1eb2fd?this['_revisionId']++:_0x1eb2fd++),_0x388496['_insertChild'](0x0,_0x156302),_0x388496;}['_calculateMetaData'](_0x2ae65e,_0x157b11,_0x569529){this['_reset']();const {roots:_0xd789b3,markers:_0x121b13,rootsAttributes:_0x366728}=this['_savedMetaData']['get'](_0x2ae65e);this['_baseRoots']=new Map(_0xd789b3),this['_baseRootsAttributes']=new Map(_0x1bdd3a(_0x366728));for(const [_0x397da2,_0x579952]of this['_baseRoots'])if('$graveyard'!==_0x397da2&&(this['_diffRoots']['set'](_0x397da2,q(_0x579952)),this['_diffRootsAttributes']=new Map(_0x1bdd3a(_0x366728)),_0x569529)){const _0x402f7f=this['_revisionId'];this['_idsRoots']['set'](_0x397da2,this['_makeIdsRoot'](_0x579952)),this['_baseIdsRoots']['set'](_0x397da2,this['_makeIdsRoot'](_0x579952,_0x402f7f));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x569529&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x116b37,_0xba2953]of _0x121b13){const _0x30fa3d=this['_baseRoots']['get'](_0xba2953['rootName']),_0x173694=this['_diffRoots']['get'](_0xba2953['rootName']),_0x220f6f=new vt(this['_fixPosition'](_0xba2953['start'],_0x30fa3d),this['_fixPosition'](_0xba2953['end'],_0x30fa3d)),_0x43c48f=this['_fixRange'](_0x220f6f,_0x173694);_0x30fa3d['markers']['set'](_0x116b37,_0x220f6f),this['_markers']['set'](_0x116b37,_0x43c48f);}this['_applyOperations'](_0x2ae65e,_0x157b11,_0x569529);}['_applyOperations'](_0x323c2a,_0x235ee5,_0x4a9da2){for(const _0x2eda9e of this['source']['getOperations'](_0x323c2a,_0x235ee5))this['_handleOperation'](_0x2eda9e,_0x4a9da2);for(const _0x22ba0d of this['_diffRoots']['values']())_0x22ba0d['markers']['clear']();for(const [_0x3e9db6,_0x1759cc]of this['_markers']){this['_diffRoots']['get'](_0x1759cc['root']['rootName'])['markers']['set'](_0x3e9db6,_0x1759cc['clone']());}const _0x596187=new Map(),_0x1dc064=new Map();for(const [_0x150383,_0x5c012d]of this['_diffRoots'])_0x596187['set'](_0x150383,q(_0x5c012d)),_0x1dc064['set'](_0x150383,this['_diffRootsAttributes']['get'](_0x150383));this['_saveMetaData'](_0x235ee5,_0x596187,this['_markers'],_0x1dc064);}['_getPreviousFrom'](_0x29bcda){const _0x5880a2=Array['from'](this['_savedMetaData']['keys']());_0x5880a2['sort']((_0x1a76be,_0x4cefb7)=>_0x1a76be-_0x4cefb7),_0x5880a2['reverse']();for(const _0x51129e of _0x5880a2)if(_0x51129e<_0x29bcda)return _0x51129e;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x23a15d,_0x5503b8){const _0x41fa6a=Array['from'](_0x5503b8['markers'])['map'](([_0xaffd12,_0xae20bf])=>[_0xaffd12,this['_fixRange'](_0xae20bf,_0x23a15d)]);_0x23a15d['markers']=new Map(_0x41fa6a);}['_transformMarkers'](_0x35b9d7){for(const _0x19edae of this['_markers']['values']()){const _0x3a3be5=_0x19edae['getTransformedByOperation'](_0x35b9d7),_0x3cf29e=vt['_createFromRanges'](_0x3a3be5);_0x19edae['start']=_0x3cf29e['start'],_0x19edae['end']=_0x3cf29e['end'];}}['_handleOperation'](_0xd38a77,_0x5273cd){if('addRoot'==_0xd38a77['type']||'detachRoot'==_0xd38a77['type'])return void this['_handleRootOperation'](_0xd38a77,_0x5273cd);if('insert'==_0xd38a77['type']){const _0x198231=_0xd38a77['position']['root']['rootName'];this['_diffRoots']['has'](_0x198231)||(this['_diffRoots']['set'](_0x198231,G(_0x198231,!0x0)),this['_diffRootsAttributes']['set'](_0x198231,{}),_0x5273cd&&this['_idsRoots']['set'](_0x198231,G(_0x198231,!0x0)));}else{if('addRootAttribute'==_0xd38a77['type']||'removeRootAttribute'==_0xd38a77['type']||'changeRootAttribute'==_0xd38a77['type'])return void this['_handleRootAttributeOperation'](_0xd38a77);}const _0x2ad86c=this['_cloneOperation'](_0xd38a77,this['_diffRoots']);if('marker'!==_0xd38a77['type']&&(_0x2ad86c['_execute'](),this['_transformMarkers'](_0x2ad86c)),_0x5273cd)switch(_0x2ad86c['type']){case'insert':this['_handleInsertOperation'](_0xd38a77);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0xd38a77);break;case'merge':this['_handleMergeOperation'](_0xd38a77);break;case'split':this['_handleSplitOperation'](_0xd38a77);break;case'marker':this['_handleMarkerOperation'](_0xd38a77);}}['_cloneOperation'](_0x2327bd,_0x393613){const _0x526194=_0x2327bd['clone']();return _0x526194['_authorId']=_0x2327bd['_authorId'],this['_fixOperation'](_0x526194,_0x393613),_0x526194;}['_getBaseVids'](_0x5369b0){return _0x5369b0['map'](_0x4a2985=>{const _0x46f818=this['_getVidAttributeName'](_0x4a2985);return Number(_0x4a2985['item']['getAttribute'](_0x46f818));});}['_generateTape'](_0x5607fe,_0x2c7aa9){if(_0x5607fe['is']('element','$text'))_0x2c7aa9['push']({'item':_0x5607fe,'type':'text'});else{_0x5607fe['is']('element')&&_0x2c7aa9['push']({'item':_0x5607fe,'type':'elementStart'});for(const _0xfd876b of _0x5607fe['getChildren']())this['_generateTape'](_0xfd876b,_0x2c7aa9);_0x5607fe['is']('element')&&_0x2c7aa9['push']({'item':_0x5607fe,'type':'elementEnd'});}return _0x2c7aa9;}['_getState'](){const _0x34b4a8=new Map(this['_touched']),_0xc9ed85=new Map(_0x34b4a8),_0x5d4b20=new Map(),_0x4bff3b={'insertions':{},'deletions':{}},_0x2d7e2e={'insertions':{},'deletions':{}},_0x499afc=new Map(),_0x59b55b=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x59b55b['delete']('$graveyard');for(const _0x28bdb7 of _0x59b55b){const _0x1926d1=this['_diffRoots']['get'](_0x28bdb7)||G(_0x28bdb7,!0x1),_0x4bfe22=this['_baseRoots']['get'](_0x28bdb7)||G(_0x28bdb7,!0x1);_0x1926d1['isAttached']()||_0x4bfe22['isAttached']()?(_0x4bff3b['insertions'][_0x28bdb7]=q(_0x1926d1),_0x4bff3b['deletions'][_0x28bdb7]=q(_0x4bfe22),this['_copyMarkers'](_0x4bff3b['deletions'][_0x28bdb7],_0x4bfe22),this['_copyMarkers'](_0x4bff3b['insertions'][_0x28bdb7],_0x1926d1),_0x2d7e2e['insertions'][_0x28bdb7]=this['_generateTape'](this['_idsRoots']['get'](_0x28bdb7),[]),_0x2d7e2e['deletions'][_0x28bdb7]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x28bdb7)||G(_0x28bdb7,!0x1),[])):_0x59b55b['delete'](_0x28bdb7);}for(const _0xb6b5ae of _0x59b55b){const _0x3f64f5=_0x2d7e2e['insertions'][_0xb6b5ae];for(const _0x8c3d58 of _0x3f64f5){const _0x32046f=this['_getVidAttributeName'](_0x8c3d58),_0x53ac30=_0x8c3d58['item']['getAttribute'](_0x32046f);_0xc9ed85['delete'](_0x53ac30),_0x53ac30>=this['_startingRevisionId']&&_0x5d4b20['set'](_0x53ac30,_0x34b4a8['get'](_0x53ac30));}}for(const _0x203df0 of _0x59b55b){const _0x36fbfd=_0x2d7e2e['insertions'][_0x203df0],_0xd0ac08=this['_getBaseVids'](_0x2d7e2e['deletions'][_0x203df0]);let _0x54fd25=0x0;for(const _0x3c4470 of _0x36fbfd){const _0x5a2d5c=this['_getVidAttributeName'](_0x3c4470),_0x26edbf=_0x3c4470['item']['getAttribute'](_0x5a2d5c);if(!_0x5d4b20['has'](_0x26edbf)&&!_0x499afc['has'](_0x26edbf)){if(_0xc9ed85['has'](_0x26edbf))_0x54fd25++;else{if(_0x26edbf!=_0xd0ac08[_0x54fd25]){const _0x34ab95=_0x34b4a8['get'](_0x26edbf)||_0x34b4a8['get'](_0xd0ac08[_0x54fd25]);for(;_0x26edbf!=_0xd0ac08[_0x54fd25];)_0xc9ed85['has'](_0xd0ac08[_0x54fd25])||(_0x499afc['set'](_0xd0ac08[_0x54fd25],_0x34ab95),_0x34b4a8['set'](_0xd0ac08[_0x54fd25],_0x34ab95)),_0x54fd25++;}_0x54fd25++;}}}}for(const _0x37fc3f of _0x59b55b){const _0x413fa9=_0x2d7e2e['insertions'][_0x37fc3f];for(const _0x5a6b79 of _0x413fa9){const _0x30b85d=this['_getVidAttributeName'](_0x5a6b79),_0x25f372=_0x5a6b79['item']['getAttribute'](_0x30b85d);if(_0x499afc['has'](_0x25f372)){const _0x3bbf16=_0x499afc['get'](_0x25f372);_0xc9ed85['has'](_0x25f372)||_0xc9ed85['set'](_0x25f372,{..._0x3bbf16}),_0x5d4b20['set'](_0x25f372,{..._0x3bbf16});}}}for(const _0x38b889 of _0xc9ed85['keys']())_0x38b889>=this['_startingRevisionId']&&_0xc9ed85['delete'](_0x38b889);const _0x3702b0=new Map();for(const _0x4f2abd of _0x59b55b){let _0x294523=_0x2d7e2e['insertions'][_0x4f2abd];for(const _0x7cc36e of _0x294523)if(_0x7cc36e['item']['is']('element','tableCell')){const _0x592b36=this['_getVidAttributeName'](_0x7cc36e),_0x56e727=_0x7cc36e['item']['getAttribute'](_0x592b36);if(_0x5d4b20['has'](_0x56e727)){const _0x18c8f7=_0x7cc36e['item']['parent']['parent']['getAttribute']('vid_start'),_0x784c2=_0x3702b0['get'](_0x18c8f7)||new Set();_0x784c2['add'](_0x5d4b20['get'](_0x56e727)['userId']),_0x3702b0['set'](_0x18c8f7,_0x784c2);}}_0x294523=_0x2d7e2e['deletions'][_0x4f2abd];for(const _0xdc0003 of _0x294523)if(_0xdc0003['item']['is']('element','tableCell')){const _0x1c055d=this['_getVidAttributeName'](_0xdc0003),_0x5c3970=_0xdc0003['item']['getAttribute'](_0x1c055d);if(_0xc9ed85['has'](_0x5c3970)){const _0x1cec57=_0xdc0003['item']['parent']['parent']['getAttribute']('vid_start'),_0x5b6028=_0x3702b0['get'](_0x1cec57)||new Set();_0x5b6028['add'](_0xc9ed85['get'](_0x5c3970)['userId']),_0x3702b0['set'](_0x1cec57,_0x5b6028);}}for(const _0x2aa2ba of _0x3702b0['keys']())(_0x5d4b20['has'](_0x2aa2ba)||_0xc9ed85['has'](_0x2aa2ba))&&_0x3702b0['delete'](_0x2aa2ba);}for(const _0x2b4a0c of _0x59b55b){const _0x3ae4ee=_0x2d7e2e['insertions'][_0x2b4a0c];let _0x36dc83=null,_0x22c0b2=null;for(const _0x6da8c2 of _0x3ae4ee){const _0x5f06d2=this['_getVidAttributeName'](_0x6da8c2),_0x2d7b90=_0x6da8c2['item']['getAttribute'](_0x5f06d2),_0x4ce769=_0x3702b0['get'](_0x2d7b90);_0x4ce769&&'elementStart'==_0x6da8c2['type']&&(_0x36dc83=Array['from'](_0x4ce769)[0x0],_0x22c0b2=_0x6da8c2['item']['getAttribute']('vid_end')),_0x36dc83&&(_0xc9ed85['set'](_0x2d7b90,{'userId':_0x36dc83}),_0x5d4b20['set'](_0x2d7b90,{'userId':_0x36dc83})),_0x2d7b90==_0x22c0b2&&(_0x36dc83=null,_0x22c0b2=null);}}const _0x9c627d={},_0x4e3ade=new Set();for(const _0x576377 of _0x59b55b){const _0x4d5838=_0x4bff3b['deletions'][_0x576377],_0x1f1f5e=_0x4bff3b['insertions'][_0x576377];for(const {userId:_0x26bf1c}of this['_touchedMarkers']['values']())null!==_0x26bf1c&&_0x4e3ade['add'](_0x26bf1c);for(const {userId:_0x5c0eb9}of this['_touchedRoots']['values']())null!==_0x5c0eb9&&_0x4e3ade['add'](_0x5c0eb9);this['_markChanges'](_0x1f1f5e,_0x2d7e2e['insertions'][_0x576377],_0x5d4b20,'insertion',_0x4e3ade),this['_markChanges'](_0x4d5838,_0x2d7e2e['deletions'][_0x576377],_0xc9ed85,'deletion',_0x4e3ade),_0x9c627d[_0x576377]={'insertions':this['_prepareViewToSave'](_0x1f1f5e),'deletions':this['_prepareViewToSave'](_0x4d5838),'attachChange':this['_touchedRoots']['get'](_0x576377)||null,'attributesBefore':_0x1bdd3a(this['_baseRootsAttributes']['get'](_0x576377))||{},'attributesAfter':_0x1bdd3a(this['_diffRootsAttributes']['get'](_0x576377))};}return{'diffData':_0x9c627d,'authorsIds':Array['from'](_0x4e3ade)};}['_processRootBeforeSave'](_0x5c301e){for(const [,_0x4c16ec]of _0x5c301e['markers']){const _0x1b6fa1=_0x4c16ec['start']['getAncestors']()['filter'](_0x3cea08=>'tableCell'==_0x3cea08['name']);for(const _0x4baf55 of _0x1b6fa1)0x1==_0x4baf55['childCount']&&_0x4baf55['getChild'](0x0)['is']('element','paragraph')&&_0x4baf55['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x11cf73){this['_processRootBeforeSave'](_0x11cf73);const _0x100119=this['editor']['data']['toView'](_0x11cf73,{}),_0x4abaa9=Array['from'](_0x100119['getChildren']())['map'](_0x3920ce=>this['_getViewJson'](_0x3920ce));return JSON['stringify'](_0x4abaa9);}['_getViewJson'](_0x1595a2){if(_0x1595a2['is']('$text'))return _0x1595a2['data'];{const _0x384a98=_0x1595a2;return{'type':Object['keys'](T)['find'](_0x22e445=>_0x1595a2 instanceof T[_0x22e445]),'name':_0x384a98['name'],'attributes':Array['from'](_0x384a98['getAttributes']()),'children':Array['from'](_0x384a98['getChildren']())['map'](_0x524d1c=>this['_getViewJson'](_0x524d1c))};}}['_markChanges'](_0x448dd5,_0x66a47b,_0x1b2ce5,_0x4fcc2d,_0x384401){let _0x365d3d=null,_0x45b7f3=null,_0xec3488=0x0;const _0x317c1d=this['editor']['model'];for(let _0x57f4b3=0x0;_0x57f4b3<_0x66a47b['length'];_0x57f4b3++){const _0x3101a3=this['_getVidAttributeName'](_0x66a47b[_0x57f4b3]),_0x2a8fc3=_0x66a47b[_0x57f4b3]['item']['getAttribute'](_0x3101a3),_0x4ae1a3=_0x1b2ce5['get'](_0x2a8fc3),_0x2fcd78=_0x57f4b3==_0x66a47b['length']-0x1;(!_0x365d3d&&_0x4ae1a3&&(_0x365d3d=_0x4ae1a3,_0x45b7f3=_0x66a47b[_0x57f4b3]),_0x365d3d&&(!_0x4ae1a3||_0x4ae1a3['userId']!=_0x365d3d['userId']))&&(_0x34ac2c(_0x4ae1a3,L(_0x45b7f3,_0x448dd5,_0x317c1d),L(_0x66a47b[_0x57f4b3],_0x448dd5,_0x317c1d)),_0x365d3d=_0x4ae1a3||null,_0x45b7f3=_0x4ae1a3?_0x66a47b[_0x57f4b3]:null),_0x365d3d&&_0x2fcd78&&_0x34ac2c(_0x4ae1a3,L(_0x45b7f3,_0x448dd5,_0x317c1d),W(_0x66a47b[_0x57f4b3],_0x448dd5,_0x317c1d));}function _0x34ac2c(_0x9d5e17,_0x572e3f,_0x40c611){const _0x3ca3ed=_0x365d3d['userId'],_0x1df2e6='revision:'+_0x4fcc2d+':'+_0x3ca3ed+':'+_0xec3488++,_0x1e9015=_0x317c1d['createRange'](_0x572e3f,_0x40c611);_0x448dd5['markers']['set'](_0x1df2e6,_0x1e9015),null!==_0x3ca3ed&&_0x384401['add'](_0x3ca3ed);}}['_getVidAttributeName'](_0x21d7d4){switch(_0x21d7d4['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x22f2be,_0x15cf3e){_0x22f2be['baseVersion']=null;for(const _0x3ddae5 in _0x22f2be){const _0x310fd2=_0x22f2be[_0x3ddae5];if(_0x310fd2 instanceof gt){const _0x30057f=_0x15cf3e['get'](_0x310fd2['root']['rootName']);_0x22f2be[_0x3ddae5]=this['_fixPosition'](_0x310fd2,_0x30057f);}if(_0x310fd2 instanceof vt){const _0x3c60f2=_0x15cf3e['get'](_0x310fd2['root']['rootName']);_0x22f2be[_0x3ddae5]=this['_fixRange'](_0x310fd2,_0x3c60f2);}'root'===_0x3ddae5&&(_0x22f2be['root']=_0x15cf3e['get'](_0x22f2be['root']['rootName']));}}['_fixRange'](_0xfe09da,_0x1a76b6){return this['editor']['model']['createRange'](this['_fixPosition'](_0xfe09da['start'],_0x1a76b6),this['_fixPosition'](_0xfe09da['end'],_0x1a76b6));}['_fixPosition'](_0x3422e6,_0x4e961){return this['editor']['model']['createPositionFromPath'](_0x4e961,_0x3422e6['path'],_0x3422e6['stickiness']);}['_handleInsertOperation'](_0x926931){const _0x19c307=this['_idsRoots']['get'](_0x926931['position']['root']['rootName']),_0x34a7e8=this['_fixPosition'](_0x926931['position'],_0x19c307),_0x4bcf33=null===_0x926931['_authorId']?null:_0x926931['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3c3f08=_0x34a7e8['parent'],_0x3b78ca=this['_revisionId'],_0x173e66=[];for(const _0x25402d of _0x926931['nodes'])if(_0x25402d['is']('element'))_0x173e66['push'](this['_makeIdsRoot'](_0x25402d));else{for(let _0x44455e=0x0;_0x44455e<_0x25402d['offsetSize'];_0x44455e++)_0x173e66['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x3f6a1f=this['_revisionId'];for(let _0x28c040=_0x3b78ca;_0x28c040<_0x3f6a1f;_0x28c040++)this['_touched']['set'](_0x28c040,{'userId':_0x4bcf33});_0x3c3f08['_insertChild'](_0x34a7e8['offset'],_0x173e66);}['_handleMoveOperation'](_0xe52c0e){(_0xe52c0e=this['_cloneOperation'](_0xe52c0e,this['_idsRoots']))['_execute']();const _0x2e76d4=null===_0xe52c0e['_authorId']?null:_0xe52c0e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x33e612=_0xe52c0e['getMovedRangeStart'](),_0xf738bd=_0x33e612['parent'],_0x9edc94=_0x33e612['offset'];!function _0x35c658(_0x3a00a6,_0x38f29d,_0x2d050a,_0x55c587){for(let _0x5c939c=_0x2d050a;_0x5c939c<_0x55c587;_0x5c939c++){const _0x4306f9=_0x38f29d['getChild'](_0x5c939c);_0x4306f9['is']('element','$text')?_0x3a00a6['set'](_0x4306f9['getAttribute']('vid'),{'userId':_0x2e76d4}):(_0x3a00a6['set'](_0x4306f9['getAttribute']('vid_start'),{'userId':_0x2e76d4}),_0x35c658(_0x3a00a6,_0x4306f9,0x0,_0x4306f9['childCount']),_0x3a00a6['set'](_0x4306f9['getAttribute']('vid_end'),{'userId':_0x2e76d4}));}}(this['_touched'],_0xf738bd,_0x9edc94,_0x9edc94+_0xe52c0e['howMany']);}['_handleMergeOperation'](_0xde7e7c){const _0x5e1cc7=null===(_0xde7e7c=this['_cloneOperation'](_0xde7e7c,this['_idsRoots']))['_authorId']?null:_0xde7e7c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2bf133=_0xde7e7c['targetPosition']['parent'],_0x4e7e11=_0xde7e7c['sourcePosition']['parent'],_0x5ca216=_0x2bf133['getAttribute']('vid_end'),_0x584e7d=_0x4e7e11['getAttribute']('vid_start');_0x2bf133['_setAttribute']('vid_end',_0x4e7e11['getAttribute']('vid_end')),_0x4e7e11['_setAttribute']('vid_end',_0x5ca216),this['_touched']['set'](_0x584e7d,{'userId':_0x5e1cc7}),this['_touched']['set'](_0x5ca216,{'userId':_0x5e1cc7}),_0xde7e7c['_execute']();}['_handleSplitOperation'](_0x47e024){const _0x3aa495=null===(_0x47e024=this['_cloneOperation'](_0x47e024,this['_idsRoots']))['_authorId']?null:_0x47e024['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xefffb5=_0x47e024['graveyardPosition'],_0xcb87a=_0x47e024['splitPosition']['parent'];_0x47e024['_execute']();const _0x336883=_0xcb87a['getAttribute']('vid_end'),_0x34c229=_0x47e024['insertionPosition']['nodeAfter'];if(_0xefffb5){const _0x177084=_0x34c229['getAttribute']('vid_end'),_0x280dda=_0xcb87a['getAttribute']('vid_end');_0xcb87a['_setAttribute']('vid_end',_0x177084),_0x34c229['_setAttribute']('vid_end',_0x280dda),this['_touched']['set'](_0xcb87a['getAttribute']('vid_end'),{'userId':_0x3aa495}),this['_touched']['set'](_0x34c229['getAttribute']('vid_start'),{'userId':_0x3aa495});}else{const _0x1e52a9=this['_revisionId']++,_0x5ab762=this['_revisionId']++;_0xcb87a['_setAttribute']('vid_end',_0x1e52a9),_0x34c229['_setAttribute']('vid_start',_0x5ab762),_0x34c229['_setAttribute']('vid_end',_0x336883),this['_touched']['set'](_0x1e52a9,{'userId':_0x3aa495}),this['_touched']['set'](_0x5ab762,{'userId':_0x3aa495});}}['_handleMarkerOperation'](_0x5b0df8){if(!_0x5b0df8['affectsData'])return;const _0x396b6d=(_0x5b0df8=this['_cloneOperation'](_0x5b0df8,this['_diffRoots']))['oldRange']?_0x5b0df8['oldRange']['root']:null,_0x38d84e=_0x5b0df8['newRange']?_0x5b0df8['newRange']['root']:null;_0x396b6d&&this['_markers']['delete'](_0x5b0df8['name']),_0x38d84e&&this['_markers']['set'](_0x5b0df8['name'],_0x5b0df8['newRange']['clone']());const _0x399a26=null===_0x5b0df8['_authorId']?null:_0x5b0df8['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x42b93f=_0x5b0df8['name'];if(!this['_touchedMarkers']['has'](_0x42b93f))return void this['_touchedMarkers']['set'](_0x42b93f,{'range':_0x5b0df8['oldRange'],'userId':_0x399a26});const _0x3fb614=this['_touchedMarkers']['get'](_0x42b93f),_0x1051e1=_0x3fb614['range'],_0x39cc4c=_0x5b0df8['newRange'];null==_0x1051e1&&null==_0x39cc4c||_0x1051e1&&_0x39cc4c&&_0x1051e1['isEqual'](_0x39cc4c)?this['_touchedMarkers']['delete'](_0x5b0df8['name']):_0x3fb614['userId']=_0x399a26;}['_handleRootOperation'](_0x319e4a,_0x39e56b){this['_diffRoots']['has'](_0x319e4a['rootName'])?this['_diffRoots']['get'](_0x319e4a['rootName'])['_isAttached']=_0x319e4a['isAdd']:(this['_diffRoots']['set'](_0x319e4a['rootName'],G(_0x319e4a['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x319e4a['rootName'],{}),_0x39e56b&&this['_idsRoots']['set'](_0x319e4a['rootName'],G(_0x319e4a['rootName'],!0x0)));const _0x48eb42=null===_0x319e4a['_authorId']?null:_0x319e4a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x102e9a=this['_touchedRoots']['get'](_0x319e4a['rootName']);_0x102e9a&&_0x102e9a['userId']===_0x48eb42?this['_touchedRoots']['delete'](_0x319e4a['rootName']):this['_touchedRoots']['set'](_0x319e4a['rootName'],{'userId':_0x48eb42,'isAttached':_0x319e4a['isAdd']});}['_handleRootAttributeOperation'](_0x15f6bf){const _0x5b15fc=this['_diffRootsAttributes']['get'](_0x15f6bf['root']['rootName']);null===_0x15f6bf['newValue']?delete _0x5b15fc[_0x15f6bf['key']]:_0x5b15fc[_0x15f6bf['key']]=_0x15f6bf['newValue'];}}function q(_0xf684ba){const _0x383f92=G(_0xf684ba['rootName'],_0xf684ba['isAttached']());for(const _0x2f90e7 of _0xf684ba['getChildren']()){const _0x41d891=_0x2f90e7['_clone'](!0x0);_0x383f92['_appendChild'](_0x41d891);}return _0x383f92;}function G(_0x536fe9,_0xbaeb61=!0x0){const _0x3b813c=new wt();return _0x3b813c['rootName']=_0x536fe9,_0x3b813c['_isAttached']=_0xbaeb61,_0x3b813c['isAttached']=()=>_0x3b813c['_isAttached'],_0x3b813c;}function L(_0x344eb3,_0x4d266f,_0x52a0e0){const _0x88fc61='elementEnd'==_0x344eb3['type']?_0x52a0e0['createPositionAt'](_0x344eb3['item'],'end'):_0x52a0e0['createPositionBefore'](_0x344eb3['item']);return _0x52a0e0['createPositionFromPath'](_0x4d266f,_0x88fc61['path'],_0x88fc61['stickiness']);}function W(_0x595f41,_0xb6e15d,_0x34eb16){const _0x2376c7='elementStart'==_0x595f41['type']?_0x34eb16['createPositionAt'](_0x595f41['item'],0x0):_0x34eb16['createPositionAfter'](_0x595f41['item']);return _0x34eb16['createPositionFromPath'](_0xb6e15d,_0x2376c7['path'],_0x2376c7['stickiness']);}class ns extends _0x46510e{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x1ae62b,_0x51bbc6){super(_0x1ae62b),this['focusTracker']=new _0x5a2962(),this['keystrokes']=new _0x442a74(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x51bbc6),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'](),_0x3e57ba({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x15913e=_0x1e8b79=>_0x1e8b79['stopPropagation']();this['keystrokes']['set']('arrowright',_0x15913e),this['keystrokes']['set']('arrowleft',_0x15913e),this['keystrokes']['set']('arrowup',_0x15913e),this['keystrokes']['set']('arrowdown',_0x15913e);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x46dd45){this['revisionNameInputView']['fieldView']['element']['value']=_0x46dd45['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0xed2c65){const _0x5b46b0=new at(this['locale'],_0x1063c2),_0x50450e=_0x5b46b0['fieldView'];_0x50450e['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x397801=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0xed2c65&&(_0x397801+='\x20('+y(this['locale'],'optional')+')'),(_0x5b46b0['label']=_0x397801,_0x50450e['on']('input',()=>{this['revisionNameInputValue']=_0x50450e['element']['value']['trim']();}),_0x5b46b0);}}class u extends _0x19e2a4{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x59d8e6=this['editor'],_0x298216=_0x59d8e6['plugins']['get']('RevisionTracker');_0x59d8e6['ui']['componentFactory']['add']('revisionHistory',_0x4106b0=>{const _0x29715f=_0x35e7f6(_0x4106b0),_0xec2b91=_0x29715f['panelView']['children'],_0x287784=new te(_0x4106b0),_0x321047=new _0x5f6d89(_0x4106b0),_0x4ed221=new _0xc147ec(_0x4106b0),_0xc2bf5=new _0x5f6d89(_0x4106b0),_0x145dc4=new _0xc147ec(_0x4106b0);return _0x29715f['bind']('isEnabled')['to'](_0x298216,'isReady',_0x298216,'isEnabled',_0x59d8e6,'isReadOnly',(_0x4f1181,_0x5e36d3,_0x1d256b)=>_0x4f1181&&_0x5e36d3&&!_0x1d256b),_0x29715f['buttonView']['set']({'icon':_0x5c6115['history'],'label':y(_0x4106b0,'Revision\x20history'),'tooltip':!0x0}),_0x4ed221['set']({'label':y(_0x4106b0,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x4ed221['bind']('isEnabled')['to'](_0x298216,'isReady',_0x298216,'isEnabled',_0x59d8e6,'isReadOnly',(_0x183fef,_0x4c9f10,_0x872c05)=>_0x183fef&&_0x4c9f10&&!_0x872c05),_0x4ed221['on']('execute',()=>this['_showDialog']()),_0x145dc4['set']({'label':y(_0x4106b0,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x145dc4['bind']('isEnabled')['to'](_0x298216,'isReady',_0x59d8e6,'isReadOnly',(_0x44ffc3,_0x1e654d)=>_0x44ffc3&&!_0x1e654d),_0x145dc4['on']('execute',()=>{_0x59d8e6['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x29715f['isOpen']=!0x1,_0x59d8e6['editing']['view']['focus']();}),_0x321047['children']['add'](_0x4ed221),_0xc2bf5['children']['add'](_0x145dc4),_0x287784['role']='menu',_0x287784['items']['addMany']([_0x321047,_0xc2bf5]),_0xec2b91['add'](_0x287784),_0x29715f;}),_0x59d8e6['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x15c708=this['editor'],_0x203ff7=_0x15c708['locale'],_0x1cdf65=new _0x550147(_0x203ff7),_0x3d706b=new _0x289f67(_0x203ff7);_0x1cdf65['buttonView']['set']({'icon':_0x5c6115['history'],'label':y(_0x203ff7,'Revision\x20history')});const _0x46f393=new _0x2ac6f7(_0x203ff7,_0x1cdf65),_0x2ebe4b=new _0x4fe277(_0x203ff7);_0x2ebe4b['set']({'label':y(_0x203ff7,'Save\x20current\x20revision')}),_0x2ebe4b['delegate']('execute')['to'](_0x1cdf65),_0x2ebe4b['on']('execute',()=>{this['_showDialog']();}),_0x46f393['children']['add'](_0x2ebe4b),_0x3d706b['items']['add'](_0x46f393);const _0x2cc906=new _0x2ac6f7(_0x203ff7,_0x1cdf65),_0x1d083b=new _0x4fe277(_0x203ff7);return _0x1d083b['set']({'label':y(_0x203ff7,'Open\x20revision\x20history')}),_0x1d083b['delegate']('execute')['to'](_0x1cdf65),_0x1d083b['on']('execute',()=>{_0x15c708['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x2cc906['children']['add'](_0x1d083b),_0x3d706b['items']['add'](_0x2cc906),_0x1cdf65['panelView']['children']['add'](_0x3d706b),_0x1cdf65;}['_showDialog'](){const _0x530126=this['editor'],_0x27497c=_0x530126['locale'],_0x33c4c4=_0x530126['plugins']['get']('Dialog'),_0x38ef29=_0x530126['plugins']['get']('RevisionTracker');function _0x222f09(_0x545f2a){_0x530126['config']['get']('revisionHistory.requireRevisionName')&&''===_0x545f2a['revisionName']?_0x545f2a['revisionNameInputView']['errorText']=y(_0x27497c,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x530126['plugins']['get'](l)['saveRevision']({'name':_0x545f2a['revisionName']}),_0x33c4c4['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x222f09(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x33c4c4['show']({'id':'revisionSave','title':y(_0x27497c,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x530126['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x33c4c4['hide']()},{'label':y(_0x530126['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x35c0de){_0x35c0de['bind']('isEnabled')['to'](_0x38ef29,'isReady',_0x38ef29,'isEnabled',_0x530126,'isReadOnly',(_0x5a1f51,_0x20c0b2,_0x4a99dd)=>_0x5a1f51&&_0x20c0b2&&!_0x4a99dd);},'onExecute':()=>_0x222f09(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x5d200b=this['editor'],_0x456c7c=_0x5d200b['locale'];this['_saveRevisionFormView']=new ns(_0x456c7c,_0x5d200b['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x46510e{['changeId'];['_model'];constructor(_0x4120f9,_0x1316ff){super(_0x4120f9),this['_model']=_0x1316ff,this['changeId']=_0x1316ff['id'];const _0x147567=this['bindTemplate'],_0x2808f1=y(_0x4120f9,_0x1316ff['data']['isSuggestion']?'Suggested\x20by':'add'==_0x1316ff['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x1316ff['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x147567['to']('type',_0x2bec7a=>'ck-revision-change__'+_0x2bec7a)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x2808f1}]},{'text':'\x20'+_0x1316ff['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x3d11cb(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x2e0780){super(),this['id']=_0x2e0780['id']||_0x2a5db2(),this['author']=_0x2e0780['author'],this['type']=_0x2e0780['type'],this['data']=_0x2e0780['data']||{},this['rootName']=_0x2e0780['rootName'],this['set']('createdAt',_0x2e0780['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(_0x1061c7,_0x37cfcd){this['newRevisionId']=_0x1061c7,this['oldRevisionId']=_0x37cfcd,this['changes']=new _0x1fb395();}['_setChanges'](_0x35be53){for(const _0x36c495 of _0x35be53)this['changes']['add'](_0x36c495);}}const tt={'c':_0x301860,'a':_0x5abd44,'e':_0x411ca4,'r':_0x187dc1,'u':_0x2bad88};class d extends _0x19e2a4{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x590248,_0x4906a8,A];}constructor(_0x434dfe){super(_0x434dfe),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',(_0x38e3b4,_0x3da893,_0x7a63f8)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x5cf3d1=>{for(const _0x1e4307 of this['editor']['editing']['view']['document']['roots'])_0x7a63f8?_0x5cf3d1['removeClass']('ck-editor__editable__overlay',_0x1e4307):_0x5cf3d1['addClass']('ck-editor__editable__overlay',_0x1e4307);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x33a310=>null!==_0x33a310),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x18a6aa,_0x30f7e5,_0x2aafc6)=>_0x18a6aa&&_0x2aafc6?_0x30f7e5['changes']['getIndex'](_0x2aafc6):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x4ea8ad,_0x98c6df)=>_0x4ea8ad?_0x98c6df['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x4906a8);}['init'](){const _0x308b56=this['editor'],_0x3b4307=new yt(_0x308b56,{'direction':'backward'}),_0x2fb7fb=new yt(_0x308b56,{'direction':'forward'});(_0x308b56['commands']['add']('showPreviousChange',_0x3b4307),_0x308b56['commands']['add']('showNextChange',_0x2fb7fb),_0x308b56['commands']['add']('restoreRevision',new bt(_0x308b56)),this['on']('change:numberOfChanges',()=>{_0x3b4307['refresh'](),_0x2fb7fb['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x308b56['enableReadOnlyMode']('revision-viewer'),_0x308b56['plugins']['has']('WidgetToolbarRepository'))&&_0x308b56['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x497ced){await this['loadRevisionData'](_0x497ced);const _0x210cf7={};for(const _0x4b57ab in _0x497ced['diffData']){if(_0x497ced['diffData'][_0x4b57ab]['attachChange']&&!_0x497ced['diffData'][_0x4b57ab]['attachChange']['isAttached'])continue;const _0x1d05e5=this['_removeRevisionMarkers'](JSON['parse'](_0x497ced['diffData'][_0x4b57ab]['insertions'])),_0x25c9ac=this['editor']['editing']['view']['document'],_0x50735a=new _0x1f7f4d(_0x25c9ac,_0x1d05e5['map'](_0x5995f8=>this['_getViewObj'](_0x5995f8)));this['editor']['data']['processor']['useFillerType']('marked'),_0x210cf7[_0x4b57ab]=this['editor']['data']['processor']['toData'](_0x50735a),this['editor']['data']['processor']['useFillerType']('default');}return _0x210cf7;}async['getRevisionRootsAttributes'](_0x1dbf49){await this['loadRevisionData'](_0x1dbf49);const _0x427b81={};for(const _0x10602b in _0x1dbf49['diffData'])_0x1dbf49['diffData'][_0x10602b]['attachChange']&&!_0x1dbf49['diffData'][_0x10602b]['attachChange']['isAttached']||(_0x427b81[_0x10602b]=_0x1dbf49['diffData'][_0x10602b]['attributesAfter']||{});return _0x427b81;}['_removeRevisionMarkers'](_0x3a0c57){return(_0x3a0c57=_0x3a0c57['filter'](_0xa2dbeb=>!_0xa2dbeb['name']||'revision-start'!==_0xa2dbeb['name']&&'revision-end'!==_0xa2dbeb['name']))['forEach'](_0x25e1e3=>{'string'!=typeof _0x25e1e3&&(_0x25e1e3['children']=this['_removeRevisionMarkers'](_0x25e1e3['children']),_0x25e1e3['attributes']=_0x25e1e3['attributes']['filter'](_0x25e2d5=>!_0x25e2d5[0x0]['startsWith']('data-revision-')));}),_0x3a0c57;}async['compare'](_0x2b48a7,_0xd950f1,_0x29cde2=!0x1){if(!this['isEnabled'])return;const _0x5e32ba=this['diff'],_0x2fbf9d=this['repository'],_0x308e0f='string'==typeof _0x2b48a7?_0x2fbf9d['getRevision'](_0x2b48a7):_0x2b48a7,_0x2fbeb3='string'==typeof _0xd950f1?_0x2fbf9d['getRevision'](_0xd950f1):_0xd950f1,_0x2d176e=_0x308e0f['id'],_0x3176af=_0x2fbeb3?_0x2fbeb3['id']:null;if(!_0x29cde2&&this['diff']&&this['diff']['newRevisionId']===_0x2d176e&&this['diff']['oldRevisionId']===_0x3176af)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x2d176e,_0x3176af);const _0x514b72=this['_getRevisionsRange'](_0x308e0f,_0x2fbeb3,!0x0)['map'](_0x553406=>this['loadRevisionData'](_0x553406));return _0x514b72['push'](new Promise(_0x3965d4=>{setTimeout(_0x3965d4,0x14);})),Promise['all'](_0x514b72)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x1ed20f=this['_getDiff'](_0x2d176e,_0x3176af);for(const _0x2943af of _0x1ed20f['changes'])this['_changeIdToChange']['set'](_0x2943af['id'],_0x2943af);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x31d985=>{for(const _0x16dcef of this['editor']['model']['document']['getRootNames']())_0x31d985['detachRoot'](_0x16dcef);for(const _0x452770 of Object['keys'](_0x1ed20f['model'])){const _0x5dc134=_0x31d985['addRoot'](_0x452770);for(const _0xaa0798 of Object['keys'](_0x1ed20f['attributes'][_0x452770]))_0x31d985['setAttribute'](_0xaa0798,_0x1ed20f['attributes'][_0x452770][_0xaa0798],_0x5dc134);_0x31d985['insert'](_0x1ed20f['model'][_0x452770],_0x5dc134,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x1ed20f['changes'])),this['isReady']=!0x0;})['catch'](_0x3c3f1f=>{console['error'](_0x3c3f1f),this['_cleanUp'](),_0x5e32ba&&(this['diff']=_0x5e32ba),this['isReady']=!0x0;});}['addRevisionData'](_0x4b0c05,_0x422c87){const _0xfba40a=this['repository']['createRevision'](_0x4b0c05);return _0xfba40a['on']('_update',(_0x30762b,_0x27a723,_0x3fa73f)=>_0x422c87(_0x27a723,_0x3fa73f,_0xfba40a)),this['repository']['addRevision'](_0xfba40a),_0xfba40a;}['loadRevisionData'](_0x32eba0){if(!_0x32eba0||_0x32eba0['diffData'])return Promise['resolve']();{const _0x46a964=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x46a964,'revisionId':_0x32eba0['id']})['then'](_0x46e796=>{_0x32eba0['_update']({'diffData':_0x46e796['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},_0x5da168=>{for(const _0x14d547 of this['editor']['model']['document']['getRootNames']())_0x5da168['detachRoot'](_0x14d547);});}['_sortAndFilterDiffChanges'](_0x135fd2){const _0x5d454f=[],_0xe02e5b=new Map();for(const _0x52f9d9 of this['editor']['model']['document']['getRootNames']()){const _0x518d38=this['editor']['editing']['view']['getDomRoot'](_0x52f9d9);if(!_0x518d38)continue;const _0x41c700=_0x518d38['getClientRects']()['item'](0x0);_0x41c700&&(_0x5d454f['push'](_0x52f9d9),_0xe02e5b['set'](_0x52f9d9,_0x41c700));}return _0x5d454f['sort']((_0x4cf504,_0x489ff4)=>{const _0x5e411b=_0xe02e5b['get'](_0x4cf504),_0x578e97=_0xe02e5b['get'](_0x489ff4);return _0x5e411b['y']-_0x578e97['y']||_0x5e411b['x']-_0x578e97['x'];}),(_0x135fd2=_0x135fd2['filter'](_0x1ec345=>_0x5d454f['includes'](_0x1ec345['rootName'])))['sort']((_0x43c6cf,_0xd60810)=>_0x5d454f['indexOf'](_0x43c6cf['rootName'])-_0x5d454f['indexOf'](_0xd60810['rootName'])),_0x135fd2;}['_makeTape'](_0x16062c){const _0x2aa82b=Array['from'](_0x16062c['markers'])['filter'](([_0x3ea3dd,_0x11bdb5])=>_0x3ea3dd['startsWith']('revision:')&&!_0x11bdb5['isCollapsed']),_0x51b470=Array['from'](this['editor']['model']['createRangeIn'](_0x16062c)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x2aa82b['length'])for(const _0x29c3b6 of _0x51b470){const [_0x457361,_0x5e21c0]=_0x2aa82b[0x0],[,_0x256bdd,_0x281cc9]=_0x457361['split'](':');if(_0x5e21c0['end']['isEqual'](_0x29c3b6['nextPosition'])&&_0x2aa82b['shift'](),(_0x29c3b6['previousPosition']['isEqual'](_0x5e21c0['start'])||_0x29c3b6['previousPosition']['isAfter'](_0x5e21c0['start']))&&('insertion'==_0x256bdd?_0x29c3b6['isAdded']={'userId':_0x281cc9}:'deletion'==_0x256bdd&&(_0x29c3b6['isRemoved']={'userId':_0x281cc9})),0x0==_0x2aa82b['length'])break;}return _0x51b470;}['_refreshStartEndIndex'](_0x34e6d3){const _0x39a1b1=new Map();for(let _0x39ea85=0x0;_0x39ea85<_0x34e6d3['length'];_0x39ea85++)'text'===_0x34e6d3[_0x39ea85]['type']?(_0x34e6d3[_0x39ea85]['item']['startIndex']=_0x39ea85,_0x34e6d3[_0x39ea85]['item']['endIndex']=_0x39ea85):('elementStart'===_0x34e6d3[_0x39ea85]['type']?_0x34e6d3[_0x39ea85]['item']['startIndex']=_0x39ea85:'elementEnd'===_0x34e6d3[_0x39ea85]['type']&&(_0x34e6d3[_0x39ea85]['item']['endIndex']=_0x39ea85),_0x39a1b1['set'](_0x34e6d3[_0x39ea85]['id'],_0x39ea85));for(const _0x58f8ec of _0x39a1b1['values']())'elementStart'===_0x34e6d3[_0x58f8ec]['type']?_0x34e6d3[_0x58f8ec]['item']['endIndex']=_0x39a1b1['get'](_0x34e6d3[_0x58f8ec]['pairId']):'elementEnd'===_0x34e6d3[_0x58f8ec]['type']&&(_0x34e6d3[_0x58f8ec]['item']['startIndex']=_0x39a1b1['get'](_0x34e6d3[_0x58f8ec]['pairId']));}['_processTape'](_0x3e8f42){for(let _0xda0bee=0x0;_0xda0bee<_0x3e8f42['length'];_0xda0bee++){if('elementStart'===_0x3e8f42[_0xda0bee]['type'])_0x3e8f42[_0xda0bee]['item']['startIndex']=_0xda0bee;else{if('elementEnd'===_0x3e8f42[_0xda0bee]['type']){_0x3e8f42[_0xda0bee]['item']['endIndex']=_0xda0bee;const _0x3fe8eb=_0x3e8f42[_0xda0bee]['item']['startIndex'];_0x3e8f42[_0x3fe8eb]['pairId']=_0x3e8f42[_0xda0bee]['id'],_0x3e8f42[_0xda0bee]['pairId']=_0x3e8f42[_0x3fe8eb]['id'];}else _0x3e8f42[_0xda0bee]['item']['startIndex']=_0xda0bee,_0x3e8f42[_0xda0bee]['item']['endIndex']=_0xda0bee,_0x3e8f42[_0xda0bee]['pairId']=null;}_0x3e8f42[_0xda0bee]['markersStart']||(_0x3e8f42[_0xda0bee]['markersStart']=[],_0x3e8f42[_0xda0bee]['markersEnd']=[]);}}['_markInsertions'](_0x3db53c,_0x3f3f7f){const _0x131094=_0x3db53c['filter'](_0x3326a3=>!_0x3326a3['isAdded']);for(let _0x1a85fd=0x0;_0x1a85fd<_0x3f3f7f['length'];_0x1a85fd++)_0x3f3f7f[_0x1a85fd]['isAdded']&&(_0x131094[_0x1a85fd]['isAdded']=_0x3f3f7f[_0x1a85fd]['isAdded']);}['_makeModelFromViewString'](_0x6160ec){const _0x544f74=JSON['parse'](_0x6160ec),_0x20ce9d=this['editor']['editing']['view']['document'],_0xc21b5a=new _0x1f7f4d(_0x20ce9d,_0x544f74['map'](_0x30ff7f=>this['_getViewObj'](_0x30ff7f)));return this['editor']['data']['toModel'](_0xc21b5a);}['_getViewObj'](_0x46a527){const _0x44af85=this['editor']['editing']['view']['document'];if('string'==typeof _0x46a527)return new _0x4c1e2b(_0x44af85,_0x46a527);{const _0x394291=_0x46a527['children']['map'](_0xbe925b=>this['_getViewObj'](_0xbe925b));return new(tt[_0x46a527['type']]||_0x110187)(_0x44af85,_0x46a527['name'],_0x46a527['attributes'],_0x394291);}}['_getDiff'](_0x68ab7f,_0x39c5ec=null){const _0x114446=this['repository']['getRevision'](_0x68ab7f),_0x3253bd=_0x39c5ec?this['repository']['getRevision'](_0x39c5ec):null,_0x4558be=this['_getRevisionsRange'](_0x114446,_0x3253bd),_0x1675fd=_0x4558be[_0x4558be['length']-0x1],_0x20af09=new Map(),_0x18edab={'model':{},'attributes':{},'changes':[]},_0x111f83=new Set(),_0x3ab5df=new Map();for(let _0xb91a6d=_0x4558be['length']-0x1;_0xb91a6d>=0x0;_0xb91a6d--){const _0x410228=_0x4558be[_0xb91a6d];for(const _0x36bb53 of Object['keys'](_0x410228['diffData']))if(_0x410228['diffData'][_0x36bb53]['attachChange']){const _0x5ae3a2=_0x410228['diffData'][_0x36bb53]['attachChange'];_0x5ae3a2['isAttached']?(_0x111f83['add'](_0x36bb53),_0x3ab5df['has'](_0x36bb53)&&_0x3ab5df['get'](_0x36bb53)['userId']==_0x5ae3a2['userId']?_0x3ab5df['delete'](_0x36bb53):_0x3ab5df['set'](_0x36bb53,_0x5ae3a2)):_0x3ab5df['has'](_0x36bb53)?(_0x111f83['delete'](_0x36bb53),_0x3ab5df['delete'](_0x36bb53)):(_0x111f83['add'](_0x36bb53),_0x3ab5df['set'](_0x36bb53,_0x5ae3a2));}else _0x111f83['add'](_0x36bb53);}for(const _0x31d277 of _0x111f83){const _0x580ed6=_0x3ab5df['has'](_0x31d277)&&!_0x3ab5df['get'](_0x31d277)['isAttached'];let _0x278d04=_0x580ed6?_0x4558be['length']-0x1:0x0;const _0x29eaa4=_0x580ed6?-0x1:0x1;for(;_0x4558be[_0x278d04];){const _0x575820=_0x4558be[_0x278d04];if(_0x575820['diffData'][_0x31d277]){const _0x2659a1=_0x580ed6?_0x575820['diffData'][_0x31d277]['attributesBefore']:_0x575820['diffData'][_0x31d277]['attributesAfter'];_0x18edab['attributes'][_0x31d277]=_0x2659a1?_0x1bdd3a(_0x2659a1):{};break;}_0x278d04+=_0x29eaa4;}}for(const _0x191958 of _0x4558be){_0x191958['model']={};for(const _0x290926 of _0x191958['authors'])_0x20af09['set'](_0x290926['id'],_0x290926);for(const _0xebc610 of _0x111f83){const _0x2adaa1=_0x191958['diffData'][_0xebc610]?_0x191958['diffData'][_0xebc610]['insertions']:'[]',_0x30a4d1=_0x191958['diffData'][_0xebc610]?_0x191958['diffData'][_0xebc610]['deletions']:'[]';_0x191958['model'][_0xebc610]={'insertions':this['_makeModelFromViewString'](_0x2adaa1),'deletions':this['_makeModelFromViewString'](_0x30a4d1)};}}for(const _0x1e6ac4 of _0x111f83){let _0x421b3e=null,_0x2ea005=0x0;const _0x4b1d6=new Map(Array['from'](_0x114446['model'][_0x1e6ac4]['insertions']['markers'])['filter'](([_0x38a167])=>!_0x38a167['startsWith']('revision:')));let _0x3cdaa0=0x0;for(const _0x5cc9b9 of _0x4558be){const _0x2e6218=this['_makeTape'](_0x5cc9b9['model'][_0x1e6ac4]['insertions']);_0x5cc9b9==_0x114446?(_0x421b3e=_0x2e6218,_0x2ea005=_0x421b3e['length'],_0x421b3e['forEach'](_0x22c0a9=>{_0x22c0a9['id']=_0x3cdaa0++;}),this['_processTape'](_0x421b3e)):this['_markInsertions'](_0x421b3e,_0x2e6218);const _0x4ab4db=_0x421b3e['filter'](_0xbf8665=>!_0xbf8665['isAdded'])['map'](_0xecaba4=>_0xecaba4['id']);let _0x1a4af9=0x0;const _0x22dfb4=this['_makeTape'](_0x5cc9b9['model'][_0x1e6ac4]['deletions']);_0x22dfb4['forEach'](_0x2f07a7=>{_0x2f07a7['isRemoved']?_0x2f07a7['id']=_0x2ea005++:_0x2f07a7['id']=_0x4ab4db[_0x1a4af9++];}),this['_processTape'](_0x22dfb4),this['_setDistance'](_0x421b3e,'isAdded'),this['_setDistance'](_0x22dfb4,'isRemoved'),_0x5cc9b9==_0x114446&&this['_markMarkers'](_0x421b3e,_0x4b1d6),_0x421b3e=this['_joinTapes'](_0x421b3e,_0x22dfb4),this['_refreshStartEndIndex'](_0x421b3e),this['_setDistance'](_0x421b3e,'isRemoved');}_0x421b3e=_0x421b3e['filter'](_0xbd27eb=>!(_0xbd27eb['isAdded']&&_0xbd27eb['isRemoved']));const _0x26f388=new Map(_0x1675fd['model'][_0x1e6ac4]['deletions']['markers']),_0x218b18=new Set(_0x4b1d6['keys']());for(const _0x109d78 of _0x26f388['keys']())_0x218b18['delete'](_0x109d78);this['_markSuggestions'](_0x421b3e,_0x218b18),this['_fixObsoleteTags'](_0x421b3e),_0x421b3e=this['_removeMissingPairs'](_0x421b3e),_0x421b3e=this['_markMismatchedRemovedTags'](_0x421b3e),_0x421b3e=this['_removeUnsupportedChanges'](_0x421b3e);const {root:_0x2743b9,changes:_0x25238f}=this['_makeModelFromTape'](_0x421b3e,_0x20af09,_0x1e6ac4);_0x18edab['model'][_0x1e6ac4]=_0x2743b9;const _0x565f85=_0x3ab5df['get'](_0x1e6ac4);if(_0x565f85){const _0x21f4b2=_0x20af09['get'](_0x565f85['userId']),_0x532ff7=new r({'author':_0x21f4b2,'type':_0x565f85['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x1e6ac4});_0x25238f['unshift'](_0x532ff7),_0x18edab['attributes'][_0x1e6ac4]['revisionHistoryAttachChange']=_0x532ff7['id'];}_0x18edab['changes']=_0x18edab['changes']['concat'](_0x25238f);}return _0x18edab;}['_markMarkers'](_0x2f4301,_0x3d8507){for(let _0x4bbda6=0x0;_0x4bbda6<_0x2f4301['length'];_0x4bbda6++)for(const [_0x3ec7e5,_0x1f4505]of _0x3d8507)_0x1f4505['start']['isEqual'](_0x2f4301[_0x4bbda6]['previousPosition'])&&_0x2f4301[_0x4bbda6]['markersStart']['push'](_0x3ec7e5),_0x1f4505['end']['isEqual'](_0x2f4301[_0x4bbda6]['nextPosition'])&&_0x2f4301[_0x4bbda6]['markersEnd']['push'](_0x3ec7e5);}['_joinTapes'](_0x41eeaf,_0x53155b){let _0x2b454b=[],_0x4ba80a=0x0,_0x4a4e56=0x0;for(;_0x4ba80a<_0x41eeaf['length']||_0x4a4e56<_0x53155b['length'];){const _0x51d2d0=_0x41eeaf[_0x4ba80a]||{},_0x48d38d=_0x53155b[_0x4a4e56]||{};if(_0x51d2d0['id']==_0x48d38d['id'])_0x4ba80a++,_0x4a4e56++,_0x2b454b['push'](_0x51d2d0);else{if(_0x48d38d['isRemoved']&&_0x51d2d0['isAdded']){const {commonTape:_0x141ece,iEnd:_0x2cb23a,jEnd:_0x2fd17f}=this['_threeWayMerge'](_0x41eeaf,_0x4ba80a,_0x53155b,_0x4a4e56);_0x2b454b=_0x2b454b['concat'](_0x141ece),_0x4ba80a=_0x2cb23a,_0x4a4e56=_0x2fd17f;}else _0x48d38d['isRemoved']?(_0x4a4e56++,_0x2b454b['push'](_0x48d38d)):(_0x4ba80a++,_0x2b454b['push'](_0x51d2d0));}}return _0x2b454b;}['_markSuggestions'](_0x66fc1f,_0xd66f9b){const _0x1e6a52=[];for(let _0xe8608c=0x0;_0xe8608c<_0x66fc1f['length'];_0xe8608c++){for(let _0x54bdd4=0x0;_0x54bdd4<_0x66fc1f[_0xe8608c]['markersStart']['length'];_0x54bdd4++){const _0x1f0e99=_0x66fc1f[_0xe8608c]['markersStart'][_0x54bdd4];if(!_0xd66f9b['has'](_0x1f0e99))continue;const {group:_0x517f51,type:_0x74d22a,authorId:_0x5ad938}=_0x3ab1dd(_0x1f0e99);'revision-suggestion'!=_0x517f51||'insertion'!=_0x74d22a&&'deletion'!=_0x74d22a||(_0x1e6a52['unshift']({'type':_0x74d22a,'name':_0x1f0e99,'userId':_0x5ad938}),_0x66fc1f[_0xe8608c]['markersStart']['splice'](_0x54bdd4,0x1),_0x54bdd4--);}_0x4c4eba(_0x66fc1f[_0xe8608c]);for(let _0x4c045d=0x0;_0x4c045d<_0x66fc1f[_0xe8608c]['markersEnd']['length'];_0x4c045d++){const _0xa1639=_0x66fc1f[_0xe8608c]['markersEnd'][_0x4c045d];if(!_0xd66f9b['has'](_0xa1639))continue;const {group:_0x44cf8b,type:_0x56a70a}=_0x3ab1dd(_0xa1639);if('revision-suggestion'!=_0x44cf8b||'insertion'!=_0x56a70a&&'deletion'!=_0x56a70a)continue;_0x66fc1f[_0xe8608c]['markersEnd']['splice'](_0x4c045d,0x1),_0x4c045d--;const _0x97c476=_0x1e6a52['findIndex'](_0x31555f=>_0x31555f['name']==_0xa1639);_0x97c476>-0x1&&_0x1e6a52['splice'](_0x97c476,0x1);}}function _0x3ab1dd(_0x55c621){const _0x239ab6=_0x55c621['split'](':');return{'group':_0x239ab6[0x0],'type':_0x239ab6[0x1],'subType':_0x239ab6['length']>=0x5?_0x239ab6[0x2]:null,'id':_0x239ab6['length']<0x5?_0x239ab6[0x2]:_0x239ab6[0x3],'authorId':_0x239ab6['length']<0x5?_0x239ab6[0x3]:_0x239ab6[0x4],'markerCount':0x6==_0x239ab6['length']?_0x239ab6[0x5]:null};}function _0x4c4eba(_0x497e6f){for(let _0x220343=0x0;_0x220343<_0x1e6a52['length'];_0x220343++){if(_0x497e6f['isAdded']&&'insertion'==_0x1e6a52[_0x220343]['type'])return _0x497e6f['isAddSuggestion']=_0x1e6a52[_0x220343],void delete _0x497e6f['isAdded'];if(!_0x497e6f['isAdded']&&!_0x497e6f['isRemoved']&&'deletion'==_0x1e6a52[_0x220343]['type'])return void(_0x497e6f['isRemoveSuggestion']=_0x1e6a52[_0x220343]);}}}['_setDistance'](_0x5a865f,_0x899429){let _0x589921=0x0,_0x1237e0=!0x1;const _0x4aea2a=new Map();for(const _0x3efdab of _0x5a865f)_0x3efdab[_0x899429]?_0x1237e0&&(_0x589921++,_0x1237e0=!0x1):(_0x589921++,_0x1237e0=!0x0),_0x4aea2a['set'](_0x3efdab['id'],_0x589921);for(let _0x57a4cb=0x0;_0x57a4cb<_0x5a865f['length'];_0x57a4cb++){if('isRemoved'==_0x899429&&_0x5a865f[_0x57a4cb]['isAdded']||'isAdded'==_0x899429&&_0x5a865f[_0x57a4cb]['isRemoved'])continue;if('text'==_0x5a865f[_0x57a4cb]['type']){_0x5a865f[_0x57a4cb]['distance']=0x0;continue;}const _0x1ebd90=_0x4aea2a['get'](_0x5a865f[_0x57a4cb]['pairId']),_0x169654=_0x4aea2a['get'](_0x5a865f[_0x57a4cb]['id']);_0x5a865f[_0x57a4cb]['distance']=_0x1ebd90-_0x169654;}}['_getRevisionsRange'](_0x238f0a,_0x53ace7,_0x557cac=!0x1){const _0x1e0df9=[];let _0x2de044=this['repository']['getIndex'](_0x238f0a),_0x11d544=this['repository']['getIndex'](_0x53ace7);for(-0x1==_0x11d544&&(_0x11d544=this['repository']['_revisions']['length'],_0x557cac=!0x1);_0x2de044<_0x11d544;)_0x1e0df9['push'](this['repository']['getRevision'](_0x2de044)),_0x2de044++;return _0x557cac&&_0x1e0df9['push'](this['repository']['getRevision'](_0x2de044)),_0x1e0df9;}['_threeWayMerge'](_0x53f975,_0x3fd6b2,_0x3e2a3b,_0xe4d22e){const _0xe74260=this['editor']['model']['schema'];let _0x2b8267=_0x3fd6b2;for(;_0x53f975[_0x2b8267]&&_0x53f975[_0x2b8267]['isAdded'];)_0x2b8267++;let _0x5a5af9=_0xe4d22e;for(;_0x3e2a3b[_0x5a5af9]&&_0x3e2a3b[_0x5a5af9]['isRemoved'];)_0x5a5af9++;_0x7674c8(_0x53f975,_0x3fd6b2,_0x2b8267),_0x7674c8(_0x3e2a3b,_0xe4d22e,_0x5a5af9);const _0x95da37=_0x3e2a3b['slice'](_0xe4d22e,_0x5a5af9)['concat'](_0x53f975['slice'](_0x3fd6b2,_0x2b8267));return _0x95da37['sort']((_0x1ae0f,_0xc37598)=>_0x1ae0f['side']!=_0xc37598['side']?_0x1ae0f['side']-_0xc37598['side']:_0x1ae0f['level']!=_0xc37598['level']?_0x1ae0f['level']-_0xc37598['level']:_0x1ae0f['distance']!=_0xc37598['distance']?_0xc37598['distance']-_0x1ae0f['distance']:!!_0x1ae0f['isAdded']!=!!_0xc37598['isAdded']?-0x1==_0x1ae0f['side']||0x0==_0x1ae0f['side']?_0x1ae0f['isAdded']?-0x1:0x1:_0x1ae0f['isAdded']?0x1:-0x1:_0x1ae0f['index']-_0xc37598['index']),{'commonTape':_0x95da37,'iEnd':_0x2b8267,'jEnd':_0x5a5af9};function _0x7674c8(_0x5657c6,_0x1bf9a3,_0x31c6db){let _0x51656c=-0x1,_0x16c39b=Number['POSITIVE_INFINITY'],_0xcb1a41=!0x0;for(let _0x3a232d=_0x1bf9a3;_0x3a232d<_0x31c6db;_0x3a232d++)if(_0xe74260['isInline'](_0x5657c6[_0x3a232d]['item'])||(_0xcb1a41=!0x1),_0x5657c6[_0x3a232d]['item']['startIndex']<_0x1bf9a3&&(_0x51656c=_0x3a232d),_0x5657c6[_0x3a232d]['item']['endIndex']>=_0x31c6db){_0x16c39b=_0x3a232d;break;}_0xcb1a41&&(_0x51656c=_0x31c6db-0x1);for(let _0x52de0a=_0x1bf9a3;_0x52de0a<_0x31c6db;_0x52de0a++)_0x5657c6[_0x52de0a]['side']=_0x52de0a<=_0x51656c?-0x1:_0x52de0a<_0x16c39b?0x0:0x1,_0x5657c6[_0x52de0a]['index']=_0x52de0a;let _0xd37cc8=0x0;for(let _0xee7452=_0x1bf9a3;_0xee7452<=_0x51656c;_0xee7452++)0x0==_0x5657c6[_0xee7452]['distance']?_0x5657c6[_0xee7452]['level']=_0xd37cc8:(_0xd37cc8++,_0x5657c6[_0xee7452]['level']=_0xd37cc8,_0xd37cc8++);for(let _0xce70c8=_0x1bf9a3;_0xce70c8<_0x31c6db;_0xce70c8++)0x0==_0x5657c6[_0xce70c8]['side']&&(_0x5657c6[_0xce70c8]['level']=_0xd37cc8);_0xd37cc8=0x0;for(let _0x4a2b8b=_0x31c6db-0x1;_0x4a2b8b>=_0x16c39b;_0x4a2b8b--)0x0==_0x5657c6[_0x4a2b8b]['distance']?_0x5657c6[_0x4a2b8b]['level']=_0xd37cc8:(_0xd37cc8--,_0x5657c6[_0x4a2b8b]['level']=_0xd37cc8,_0xd37cc8--);}}['_fixObsoleteTags'](_0x7c798f){const _0x476e88=new Map(),_0x2cfd1e=this['editor']['model']['schema'];for(let _0x52b123=0x1;_0x52b123<_0x7c798f['length'];_0x52b123++){let _0x4c05f2,_0x453127,_0x3b080a;const _0x25cc8a=_0x7c798f[_0x52b123],_0x55c3b8=_0x7c798f[_0x52b123-0x1];if('text'==_0x25cc8a['type'])continue;if(_0x25cc8a['type']!=_0x55c3b8['type'])continue;if(!_0x2cfd1e['isBlock'](_0x55c3b8['item'])||_0x2cfd1e['isLimit'](_0x55c3b8['item']))continue;if(!_0x2cfd1e['isBlock'](_0x25cc8a['item'])||_0x2cfd1e['isLimit'](_0x25cc8a['item']))continue;if((_0x7c798f[_0x52b123]['isAdded']||_0x7c798f[_0x52b123]['isAddSuggestion'])&&_0x7c798f[_0x52b123-0x1]['isRemoved'])_0x4c05f2=_0x7c798f[_0x52b123],_0x453127=_0x7c798f[_0x52b123-0x1],_0x3b080a=_0x52b123-0x1;else{if(!_0x7c798f[_0x52b123]['isRemoved']||!_0x7c798f[_0x52b123-0x1]['isAdded']&&!_0x7c798f[_0x52b123-0x1]['isAddSuggestion'])continue;_0x4c05f2=_0x7c798f[_0x52b123-0x1],_0x453127=_0x7c798f[_0x52b123],_0x3b080a=_0x52b123;}const _0x1ddb34=_0x4c05f2['level']==_0x453127['level'],_0x1d93f4=Math['abs'](_0x4c05f2['level'])<Math['abs'](_0x453127['level'])&&0x0==_0x453127['distance'];(_0x1ddb34||_0x1d93f4)&&(_0x476e88['set'](_0x453127['id'],_0x4c05f2['id']),_0x7c798f['splice'](_0x3b080a,0x1),_0x52b123--,_0x4c05f2['isAdded']=!0x1);}for(let _0x2454e9=0x0;_0x2454e9<_0x7c798f['length'];_0x2454e9++)_0x476e88['has'](_0x7c798f[_0x2454e9]['pairId'])&&(_0x7c798f[_0x2454e9]['pairId']=_0x476e88['get'](_0x7c798f[_0x2454e9]['pairId']));}['_removeMissingPairs'](_0x3237c0){const _0x3bf997=new Set(_0x3237c0['map'](_0x2d24e0=>_0x2d24e0['id']));for(let _0x1e20cf=0x0;_0x1e20cf<_0x3237c0['length'];_0x1e20cf++)_0x3bf997['has'](_0x3237c0[_0x1e20cf]['pairId'])||0x0==_0x3237c0[_0x1e20cf]['distance']||(_0x3237c0[_0x1e20cf]['isIncorrect']=!0x0);return _0x3237c0['filter'](_0x182506=>!_0x182506['isIncorrect']);}['_markMismatchedRemovedTags'](_0x3c5a5a){const _0x58b252=new Set();for(let _0xd67142=0x0;_0xd67142<_0x3c5a5a['length'];_0xd67142++){if(_0x58b252['has'](_0x3c5a5a[_0xd67142]['id'])&&_0x3c5a5a[_0xd67142]['isRemoved']&&(_0x3c5a5a[_0xd67142]['isIncorrect']=!0x0),_0x3c5a5a[_0xd67142]['isIncorrect'])continue;if(0x0==_0x3c5a5a[_0xd67142]['distance'])continue;if('elementStart'!=_0x3c5a5a[_0xd67142]['type'])continue;if(null==_0x3c5a5a[_0xd67142]['pairId'])continue;let _0x40cd5e=_0xd67142+0x1,_0x3af6bc=0x0;for(;_0x3c5a5a[_0x40cd5e]['id']!=_0x3c5a5a[_0xd67142]['pairId'];)'elementStart'==_0x3c5a5a[_0x40cd5e]['type']?_0x3af6bc++:'elementEnd'==_0x3c5a5a[_0x40cd5e]['type']&&_0x3af6bc--,_0x40cd5e++;if(0x0!=_0x3af6bc){if(_0x3c5a5a[_0xd67142]['isRemoved'])_0x3c5a5a[_0xd67142]['isIncorrect']=!0x0;else{for(;_0x40cd5e!=_0xd67142;)_0x3c5a5a[_0x40cd5e]['isRemoved']&&0x0!=_0x3c5a5a[_0x40cd5e]['distance']&&(_0x3c5a5a[_0x40cd5e]['isIncorrect']=!0x0,_0x58b252['add'](_0x3c5a5a[_0x40cd5e]['pairId'])),_0x40cd5e--;}}}return _0x3c5a5a['filter'](_0x5af87c=>!_0x5af87c['isIncorrect']);}['_removeUnsupportedChanges'](_0x5a7b53){const _0x1cbe28=this['editor']['model']['schema'];for(let _0x4695eb=0x0;_0x4695eb<_0x5a7b53['length'];_0x4695eb++){if(!(_0x5a7b53[_0x4695eb]['isAdded']||_0x5a7b53[_0x4695eb]['isAddSuggestion']||_0x5a7b53[_0x4695eb]['isRemoved']||_0x5a7b53[_0x4695eb]['isRemoveSuggestion']))continue;if(0x0==_0x5a7b53[_0x4695eb]['distance'])continue;const _0x100ee6=_0x5a7b53[_0x4695eb]['item'];_0x1cbe28['isBlock'](_0x100ee6)||_0x1cbe28['isLimit'](_0x100ee6)||(_0x5a7b53[_0x4695eb]['isAdded']&&delete _0x5a7b53[_0x4695eb]['isAdded'],_0x5a7b53[_0x4695eb]['isAddSuggestion']&&delete _0x5a7b53[_0x4695eb]['isAddSuggestion'],_0x5a7b53[_0x4695eb]['isRemoveSuggestion']&&delete _0x5a7b53[_0x4695eb]['isRemoveSuggestion'],_0x5a7b53[_0x4695eb]['isRemoved']&&(_0x5a7b53[_0x4695eb]['isIncorrect']=!0x0));}return _0x5a7b53['filter'](_0x2b7d00=>!_0x2b7d00['isIncorrect']);}['_makeModelFromTape'](_0x21e9b5,_0x5a5239,_0x33f2da){const _0x335f8f=new wt(),_0x38fd98=[],_0x2a27b7=new Map(),_0x5ed3c6=this['editor']['model'],_0x6cd0d9=_0x5ed3c6['schema'],_0x2ed67d=[_0x335f8f],_0x23a84e={},_0x4644e9={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x2e8f0e=null;const _0x2c6ceb=[0x0];for(let _0x37c26f=0x0;_0x37c26f<_0x21e9b5['length'];_0x37c26f++){let _0xc0418b,_0x5e877d;if('elementStart'===_0x21e9b5[_0x37c26f]['type']){_0xc0418b=_0x5ed3c6['createPositionFromPath'](_0x335f8f,_0x2c6ceb);const _0x5c0b5a=new ft(_0x21e9b5[_0x37c26f]['item']['name'],_0x21e9b5[_0x37c26f]['item']['getAttributes']());_0x2ed67d[0x0]['_appendChild'](_0x5c0b5a),_0x2c6ceb['push'](0x0),_0x2ed67d['unshift'](_0x5c0b5a),_0x5e877d=_0x5ed3c6['createPositionFromPath'](_0x335f8f,_0x2c6ceb),_0x2e8f0e=null;}else{if('elementEnd'===_0x21e9b5[_0x37c26f]['type'])_0x2ed67d['shift'](),_0xc0418b=_0x5ed3c6['createPositionFromPath'](_0x335f8f,_0x2c6ceb),_0x2c6ceb['pop'](),_0x2c6ceb[_0x2c6ceb['length']-0x1]++,_0x5e877d=_0x5ed3c6['createPositionFromPath'](_0x335f8f,_0x2c6ceb),_0x2e8f0e=null;else{if(_0xc0418b=_0x5ed3c6['createPositionFromPath'](_0x335f8f,_0x2c6ceb),_0x2e8f0e&&_0x19ba75(_0x2e8f0e,_0x21e9b5[_0x37c26f]['item']))_0x2e8f0e['_data']+=_0x21e9b5[_0x37c26f]['item']['data'];else{const _0x247618=new _t(_0x21e9b5[_0x37c26f]['item']['data'],_0x21e9b5[_0x37c26f]['item']['getAttributes']());_0x2ed67d[0x0]['_appendChild'](_0x247618),_0x2e8f0e=_0x247618;}_0x2c6ceb[_0x2c6ceb['length']-0x1]+=_0x21e9b5[_0x37c26f]['item']['offsetSize'],_0x5e877d=_0x5ed3c6['createPositionFromPath'](_0x335f8f,_0x2c6ceb);}}for(const _0x103cc4 of _0x21e9b5[_0x37c26f]['markersStart'])_0x2a27b7['set'](_0x103cc4,{'start':_0xc0418b,'end':null});_0x1b08c6('isRemoveSuggestion',_0x37c26f,_0xc0418b,_0x5e877d),_0x1b08c6('isAddSuggestion',_0x37c26f,_0xc0418b,_0x5e877d),_0x1b08c6('isRemoved',_0x37c26f,_0xc0418b,_0x5e877d),_0x1b08c6('isAdded',_0x37c26f,_0xc0418b,_0x5e877d);for(const _0x232e51 of _0x21e9b5[_0x37c26f]['markersEnd']){_0x2a27b7['get'](_0x232e51)['end']=_0x5e877d;}}for(const [_0xdb92f6,_0x88f7e7]of _0x2a27b7){const _0x410633=this['editor']['model']['createRange'](_0x88f7e7['start'],_0x88f7e7['end']);_0x335f8f['markers']['set'](_0xdb92f6,_0x410633);}return _0x38fd98['sort']((_0xf3010c,_0x46a682)=>{const _0x819f4e=_0x335f8f['markers']['get']('revision:'+_0xf3010c['id']),_0x2ca2e8=_0x335f8f['markers']['get']('revision:'+_0x46a682['id']);return _0x819f4e['start']['isBefore'](_0x2ca2e8['start'])?-0x1:_0x819f4e['start']['isAfter'](_0x2ca2e8['start'])?0x1:_0x819f4e['end']['isBefore'](_0x2ca2e8['end'])?-0x1:_0x819f4e['end']['isAfter'](_0x2ca2e8['end'])?0x1:'add'===_0xf3010c['type']?-0x1:0x1;}),{'root':_0x335f8f,'changes':_0x38fd98};function _0x1b08c6(_0x258f5a,_0x2ea10d,_0x5af30b,_0x5abdaa){const _0x41cdec=!!_0x21e9b5[_0x2ea10d][_0x258f5a],_0x320f81=_0x41cdec?_0x21e9b5[_0x2ea10d][_0x258f5a]['userId']:null,_0x196fa7=_0x2ea10d===_0x21e9b5['length']-0x1,_0x583675=_0x4644e9[_0x258f5a][0x0],_0x4f2ca0=_0x6cd0d9['isObject'](_0x21e9b5[_0x2ea10d]['item']);!_0x23a84e[_0x258f5a]&&_0x41cdec?_0x23a84e[_0x258f5a]={'start':_0x5af30b,'tapeItem':_0x21e9b5[_0x2ea10d],'userId':_0x320f81,'type':_0x258f5a}:_0x23a84e[_0x258f5a]&&!_0x41cdec?(_0x23a84e[_0x258f5a]['end']=_0x5af30b,_0x1194a7(_0x23a84e[_0x258f5a]),_0x23a84e[_0x258f5a]=null):_0x23a84e[_0x258f5a]&&_0x41cdec&&_0x23a84e[_0x258f5a]['userId']!==_0x320f81&&(_0x23a84e[_0x258f5a]['end']=_0x5af30b,_0x583675&&_0x583675['userId']===_0x23a84e[_0x258f5a]['userId']||_0x1194a7(_0x23a84e[_0x258f5a]),_0x23a84e[_0x258f5a]={'start':_0x5af30b,'tapeItem':_0x21e9b5[_0x2ea10d],'userId':_0x320f81,'type':_0x258f5a}),_0x23a84e[_0x258f5a]&&_0x4f2ca0&&('elementStart'!==_0x21e9b5[_0x2ea10d]['type']||_0x583675&&_0x583675['userId']===_0x320f81||_0x4644e9[_0x258f5a]['unshift']({'userId':_0x320f81,'object':_0x21e9b5[_0x2ea10d]['item'],'change':_0x23a84e[_0x258f5a]}),'elementEnd'===_0x21e9b5[_0x2ea10d]['type']&&_0x583675&&_0x583675['object']===_0x21e9b5[_0x2ea10d]['item']&&(_0x4644e9[_0x258f5a]['shift'](),_0x23a84e[_0x258f5a]=_0x583675['change'])),_0x23a84e[_0x258f5a]&&_0x196fa7&&(_0x23a84e[_0x258f5a]['end']=_0x5abdaa,_0x1194a7(_0x23a84e[_0x258f5a]),_0x23a84e[_0x258f5a]=null);}function _0x1194a7({start:_0x49355f,end:_0x5b396a,tapeItem:_0x3b0c37,userId:_0x27373b,type:_0x15df46}){const _0x5af5e5=_0x3b0c37['item'],_0x1b5e3d=_0x5ed3c6['schema']['isBlock'](_0x5af5e5)&&!_0x5ed3c6['schema']['isLimit'](_0x5af5e5),_0x666c79=_0x49355f['nodeAfter']==_0x5b396a['parent']&&_0x5b396a['isAtStart'];if(_0x1b5e3d&&_0x666c79)return;const _0x1703fc=_0x5ed3c6['createRange'](_0x49355f,_0x5b396a),_0x3dcb44=_0x5a5239['get'](_0x27373b),_0xca54f8=new r({'author':_0x3dcb44,'type':'isAdded'==_0x15df46||'isAddSuggestion'==_0x15df46?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x15df46||'isRemoveSuggestion'==_0x15df46},'createdAt':new Date(),'rootName':_0x33f2da});_0x38fd98['push'](_0xca54f8),_0x335f8f['markers']['set']('revision:'+_0xca54f8['id'],_0x1703fc);}function _0x19ba75(_0x27cf4b,_0x4d9f91){const _0x1ddd4d=_0x27cf4b['getAttributes'](),_0x4b28f7=_0x4d9f91['getAttributes']();for(const _0x37f601 of _0x1ddd4d){if(_0x37f601[0x1]!==_0x4d9f91['getAttribute'](_0x37f601[0x0]))return!0x1;_0x4b28f7['next']();}return _0x4b28f7['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x463ef8=>{const _0xc200c2=_0x463ef8['markerName']['split'](':')[0x1],_0x30c1b7=this['_getChangeFromId'](_0xc200c2);if(!_0x30c1b7)return null;const _0x4e9091='add'==_0x30c1b7['type']?'insertion':'deletion',_0x194c4a=['ck-suggestion-marker','ck-suggestion-marker-'+_0x4e9091];return _0x30c1b7['data']['isSuggestion']&&_0x194c4a['push']('ck-suggestion-marker-'+_0x4e9091+'-new'),this['activeChange']==_0x30c1b7&&_0x194c4a['push']('ck-suggestion-marker--active'),{'classes':_0x194c4a,'attributes':{'data-change-id':_0xc200c2}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x5172e2=>{_0x5172e2['on']('element:pre',(_0x148d70,_0x32b4a9,_0x115095)=>{const _0x45a85a=_0x32b4a9['viewItem']['getChild'](0x0);if(!_0x45a85a||!_0x45a85a['is']('element','code'))return;if(!_0x115095['consumable']['consume'](_0x45a85a,{'attributes':['vid_start','vid_end']}))return;const _0xf1c9eb=_0x32b4a9['modelRange']['start']['nodeAfter'];_0x115095['writer']['setAttribute']('vid_start',_0x45a85a['getAttribute']('vid_start'),_0xf1c9eb),_0x115095['writer']['setAttribute']('vid_end',_0x45a85a['getAttribute']('vid_end'),_0xf1c9eb);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0xd36a81=>{_0xd36a81['on']('element',(_0x271e95,_0x3a4900,_0x2735ed)=>{if(!_0x2735ed['consumable']['consume'](_0x3a4900['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x3a4900['modelRange']['isCollapsed'])return;const _0x5058a6=_0x3a4900['modelRange']['start']['nodeAfter'];_0x5058a6['hasAttribute']('vid_start')||_0x5058a6['hasAttribute']('vid')||(_0x2735ed['writer']['setAttribute']('vid_start',_0x3a4900['viewItem']['getAttribute']('vid_start'),_0x5058a6),_0x2735ed['writer']['setAttribute']('vid_end',_0x3a4900['viewItem']['getAttribute']('vid_end'),_0x5058a6));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x583a3f=>_0x583a3f['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x30ff94,[,_0x3c86aa])=>{['vid_start','vid_end','vid']['includes'](_0x3c86aa)&&(_0x30ff94['return']=!0x0,_0x30ff94['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x13346e=>{_0x13346e['on']('attribute:vid',(_0x910434,_0x391ca2,_0x5328d7)=>{if('\x20'!=_0x391ca2['item']['data']||_0x391ca2['item']['parent']['maxOffset']>0x1)return;if(!_0x5328d7['consumable']['consume'](_0x391ca2['item'],_0x910434['name']))return;const _0x1065f4=_0x5328d7['writer'],_0x456bd9=_0x5328d7['mapper']['toViewRange'](_0x391ca2['range']);_0x1065f4['wrap'](_0x456bd9,_0x1065f4['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x2f38aa){const _0x5abf27=_0x2f38aa['plugins']['get']('RevisionViewer');return(_0x53fe2f,_0x2bbb82,_0x1b54e5)=>{const _0x81d8ce=_0x2bbb82['markerName']['split'](':')[0x1],_0x437526=_0x5abf27['_getChangeFromId'](_0x81d8ce);if(!_0x437526)return null;const _0x1c355c='add'==_0x437526['type']?'split':'merge';if(!_0x1b54e5['consumable']['test'](_0x2bbb82['markerRange'],_0x53fe2f['name']))return;const _0x299c25=_0x2bbb82['markerRange']['getWalker'](),_0x254b5d=_0x2bbb82['markerRange']['start'],_0x41099e=_0x2f38aa['model']['schema'];let _0x81b204=null,_0x2dbf9a=null,_0x47db3f=!0x1,_0x5a44e4=!0x1;for(const _0x1b81c6 of _0x299c25){const _0x1f9ef3=_0x1b81c6['item'];_0x47db3f=_0x47db3f||_0x41099e['isContent'](_0x1f9ef3);const _0x959ebe=_0x1b54e5['mapper']['toViewElement'](_0x1f9ef3);if(_0x959ebe&&_0x959ebe['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1b81c6['type']&&(_0x41099e['isBlock'](_0x1f9ef3)&&!_0x41099e['isLimit'](_0x1f9ef3)&&(_0x1f9ef3['nextSibling']||_0x254b5d['isAtEnd']?_0x81b204&&_0x81b204['parent']==_0x1f9ef3||(_0x81b204=_0x1f9ef3,_0x576734(_0x1b81c6['previousPosition']),_0x5a44e4=!0x0):_0x2dbf9a=_0x2dbf9a||_0x1b81c6['previousPosition']));}function _0x576734(_0x3bf748){const _0x344417=_0x1b54e5['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1c355c}),_0x50ee8b=_0x1b54e5['mapper']['toViewPosition'](_0x3bf748);_0x437526['data']['isSuggestion']&&_0x1b54e5['writer']['addClass']('ck-suggestion-marker-'+_0x1c355c+'-new',_0x344417),_0x5abf27['activeChange']==_0x437526&&_0x1b54e5['writer']['addClass']('ck-suggestion-marker--active',_0x344417),_0x1b54e5['writer']['insert'](_0x50ee8b,_0x344417),_0x1b54e5['mapper']['bindElementToMarker'](_0x344417,_0x2bbb82['markerName']);}_0x47db3f||_0x5a44e4||!_0x2dbf9a||_0x576734(_0x2dbf9a);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x2ebd04,_0x12a155,_0x1511fe)=>{const _0x204e12=_0x1511fe['mapper']['markerNameToElements'](_0x12a155['markerName']);if(_0x204e12){for(const _0x87769d of _0x204e12)(_0x87769d['hasClass']('ck-suggestion-marker-split')||_0x87769d['hasClass']('ck-suggestion-marker-merge'))&&(_0x1511fe['mapper']['unbindElementFromMarkerName'](_0x87769d,_0x12a155['markerName']),_0x1511fe['writer']['remove'](_0x87769d));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x464725,_0x165c90,_0x1cb5b5)=>{const _0x3e39d2=_0x165c90['markerName']['split'](':')[0x1],_0x50ae91=this['_getChangeFromId'](_0x3e39d2);if(!_0x50ae91)return null;const _0xd979d3='add'==_0x50ae91['type']?'split':'merge';if(_0x1cb5b5['consumable']['test'](_0x165c90['markerRange'],_0x464725['name']))for(const _0x492d5b of _0x165c90['markerRange']['getItems']()){if(!_0x492d5b['is']('element','softBreak'))continue;const _0xe7f86b=_0x1cb5b5['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xd979d3}),_0x2745a2=_0x1cb5b5['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x492d5b));_0x50ae91['data']['isSuggestion']&&_0x1cb5b5['writer']['addClass']('ck-suggestion-marker-'+_0xd979d3+'-new',_0xe7f86b),this['activeChange']==_0x50ae91&&_0x1cb5b5['writer']['addClass']('ck-suggestion-marker--active',_0xe7f86b),_0x1cb5b5['writer']['insert'](_0x2745a2,_0xe7f86b),_0x1cb5b5['mapper']['bindElementToMarker'](_0xe7f86b,_0x165c90['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x749c02=>{for(const _0x9c81a8 of this['editor']['model']['document']['getRootNames']()){const _0x10b1ff=this['editor']['model']['document']['getRoot'](_0x9c81a8),_0xa1dba5=this['editor']['editing']['view']['document']['getRoot'](_0x9c81a8);if(_0xa1dba5){const _0x4949a1=_0x10b1ff['getAttribute']('revisionHistoryAttachChange');if(_0x749c02['removeAttribute']('data-change-id',_0xa1dba5),_0x749c02['removeClass']('ck-revision-history-root-add',_0xa1dba5),_0x749c02['removeClass']('ck-revision-history-root-remove',_0xa1dba5),_0x749c02['removeClass']('ck-revision-history-root--active',_0xa1dba5),_0x4949a1){const _0x1ff5d0=this['_getChangeFromId'](_0x4949a1);if(!_0x1ff5d0)return null;_0x749c02['setAttribute']('data-change-id',_0x4949a1,_0xa1dba5),_0x749c02['addClass']('ck-revision-history-root-'+_0x1ff5d0['type'],_0xa1dba5),this['activeChange']==_0x1ff5d0&&_0x749c02['addClass']('ck-revision-history-root--active',_0xa1dba5);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0xd8c9ff=>'revision-comment:'+_0xd8c9ff,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x95d509=>'revision-suggestion:'+_0x95d509,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x29456d=>({'name':'suggestion:'+_0x29456d,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x3d8cee=>{const _0x1d879b=_0x3d8cee['markerName']['split'](':')[0x1];return'insertion'!=_0x1d879b&&'deletion'!=_0x1d879b?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x1d879b]};}}),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',(_0x3fd06c,_0x901d34,_0x3035f3)=>{const _0x1e0da2=_0x3035f3['mapper']['markerNameToElements'](_0x901d34['markerName']);if(_0x1e0da2){for(const _0x9c1eba of _0x1e0da2)_0x9c1eba['is']('uiElement')&&(_0x3035f3['mapper']['unbindElementFromMarkerName'](_0x9c1eba,_0x901d34['markerName']),_0x3035f3['writer']['remove'](_0x9c1eba));}},{'priority':'high'});}['_getChangeFromId'](_0x47a93b){return this['_changeIdToChange']['get'](_0x47a93b);}['_getViewForChange'](_0x311992){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x311992),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x18a036,_0x478525,_0x2ec691,_0x25d003)=>{_0x25d003&&this['_balloon']['remove'](_0x25d003),_0x2ec691&&(this['_balloon']['add']({'view':_0x2ec691,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x1e12a0=this['editor']['editing'],_0xfdeffb=this['_getChangeFromId'](_0x2ec691['changeId']);let _0x534083;if(_0xfdeffb['data']['isOnRoot']){const _0x1f4196=_0x1e12a0['view']['getDomRoot'](_0xfdeffb['rootName']);_0x534083=Array['from'](_0x1f4196['getClientRects']());}else{const _0x3e1514=this['editor']['model']['markers']['get']('revision:'+_0x2ec691['changeId']);_0x534083=Array['from'](_0x1e12a0['mapper']['markerNameToElements'](_0x3e1514['name']))['map'](_0x55c117=>_0x1e12a0['view']['domConverter']['mapViewToDom'](_0x55c117))['map'](_0x32720e=>Array['from'](_0x32720e['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x534083[0x0];return _0x534083['find'](_0x4c00d1=>_0x4c00d1['top']-0x3<=this['_activeViewTarget']['y']&&_0x4c00d1['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x4c00d1['left']-0x3<=this['_activeViewTarget']['x']&&_0x4c00d1['right']+0x3>=this['_activeViewTarget']['x'])||_0x534083[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x4d5dc4,_0x4e6e87,_0xf2bb10,_0x277125)=>{this['activeView']=_0xf2bb10?this['_getViewForChange'](_0xf2bb10):null,this['editor']['model']['change'](()=>{const _0x14a329=this['editor']['editing'];_0x277125&&(_0x277125['data']['isOnRoot']?_0x14a329['view']['change'](_0x3fdada=>{_0x3fdada['removeClass']('ck-revision-history-root--active',_0x14a329['view']['document']['getRoot'](_0x277125['rootName']));}):_0x14a329['reconvertMarker']('revision:'+_0x277125['id'])),_0xf2bb10&&(_0xf2bb10['data']['isOnRoot']?_0x14a329['view']['change'](_0x2510e4=>{_0x2510e4['addClass']('ck-revision-history-root--active',_0x14a329['view']['document']['getRoot'](_0xf2bb10['rootName']));}):_0x14a329['reconvertMarker']('revision:'+_0xf2bb10['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x5388f9,_0x113ae1)=>{if(this['activeChange'])return;const _0x91f0fe=this['_findChangeIdFromDomTarget'](_0x113ae1['target']),_0x543d89=this['_changeIdToChange']['get'](_0x91f0fe);_0x543d89?(this['_activeViewTarget']={'x':_0x113ae1['domEvent']['x'],'y':_0x113ae1['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x543d89)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x3f4a0e,_0x348ceb)=>{const _0x713966=this['_findChangeIdFromDomTarget'](_0x348ceb['target']),_0x5c21e2=this['_changeIdToChange']['get'](_0x713966);_0x5c21e2?(this['_activeViewTarget']={'x':_0x348ceb['domEvent']['x'],'y':_0x348ceb['domEvent']['y']},_0x5c21e2===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x5c21e2):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x5611b0){do{const _0x194c51=_0x5611b0['getAttribute']('data-change-id');if(_0x194c51)return _0x194c51;_0x5611b0=_0x5611b0['parent'];}while(_0x5611b0);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x6c1645=>{for(const _0x4ec4c5 of this['editor']['model']['markers'])_0x6c1645['removeMarker'](_0x4ec4c5);});}}function et(_0x28d0a8,_0x1d8769){return(_0x3b8433,_0x2d8c3e,_0x295ee7)=>{if(!_0x295ee7['consumable']['test'](_0x2d8c3e['markerRange'],_0x3b8433['name']))return;const _0x21cfed=_0x2d8c3e['markerRange']['getWalker'](),_0x3569ba=_0x2d8c3e['markerRange']['start'],_0x43b71c=_0x28d0a8['model']['schema'];let _0x346a16=null,_0x9ddbda=null,_0x5babfb=!0x1,_0x11805b=!0x1;for(const _0x1ff0af of _0x21cfed){const _0x59bbd4=_0x1ff0af['item'];_0x5babfb=_0x5babfb||_0x43b71c['isContent'](_0x59bbd4);const _0xd3e029=_0x295ee7['mapper']['toViewElement'](_0x59bbd4);if(_0xd3e029&&_0xd3e029['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1ff0af['type']&&(_0x43b71c['isBlock'](_0x59bbd4)&&!_0x43b71c['isLimit'](_0x59bbd4)&&(_0x59bbd4['nextSibling']||_0x3569ba['isAtEnd']?_0x346a16&&_0x346a16['parent']==_0x59bbd4||(_0x346a16=_0x59bbd4,_0x4b322e(_0x1ff0af['previousPosition']),_0x11805b=!0x0):_0x9ddbda=_0x9ddbda||_0x1ff0af['previousPosition']));}function _0x4b322e(_0x1f0ec3){const _0x43fb61=_0x295ee7['mapper']['toViewPosition'](_0x1f0ec3),_0x465dc3=_0x295ee7['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x1d8769});_0x295ee7['writer']['insert'](_0x43fb61,_0x465dc3),_0x295ee7['mapper']['bindElementToMarker'](_0x465dc3,_0x2d8c3e['markerName']);}_0x5babfb||_0x11805b||!_0x9ddbda||_0x4b322e(_0x9ddbda);};}class bt extends _0x3f1ce8{constructor(_0x1f743e){super(_0x1f743e);const _0x597d38=_0x1f743e['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x597d38,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x597d38,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x454c45=this['editor'],_0x2036a7=_0x454c45['plugins']['get'](d),_0x577b2b=_0x2036a7['isReady']?_0x2036a7['diff']['newRevisionId']:null;_0x454c45['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x577b2b);}['refresh'](){const {isReady:_0x5c72f1,isEnabled:_0x5282}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x5c72f1&&_0x5282;}}class yt extends _0x3f1ce8{['_step'];constructor(_0x4f4884,{direction:_0x536d76}){super(_0x4f4884);const _0x5d3cdd=_0x4f4884['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x536d76?0x1:-0x1,this['listenTo'](_0x5d3cdd,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x5d3cdd,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x5d3cdd,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x56ab4d=this['editor'],_0x3f581d=_0x56ab4d['plugins']['get'](d),{isNavigationMode:_0x44f5ba,currentChangeNumber:_0x1221dd}=_0x3f581d;let _0x3dc4e7;if(_0x3f581d['activeChange']=_0x44f5ba?_0x3f581d['diff']['changes']['get'](_0x1221dd+this['_step']):_0x3f581d['diff']['changes']['first'],_0x3f581d['activeChange']['data']['isOnRoot'])_0x3dc4e7=_0x56ab4d['editing']['view']['getDomRoot'](_0x3f581d['activeChange']['rootName']);else{const _0x54b238=_0x56ab4d['model']['markers']['get']('revision:'+_0x3f581d['activeChange']['id']);_0x3dc4e7=_0x38468e(_0x56ab4d['editing'],_0x54b238);}_0x12b3d1({'target':_0x3dc4e7,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x754b89,currentChangeNumber:_0x382d11,numberOfChanges:_0x446762,isReady:_0x95bca8,isEnabled:_0x187a64}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x187a64&&_0x95bca8&&_0x446762)&&(!_0x754b89||(0x1===this['_step']?_0x382d11<_0x446762-0x1:_0x382d11>0x0));}}class di extends _0x46510e{constructor(_0x5b381d){super(_0x5b381d);const _0x2b524b=this['bindTemplate'],_0x3f9b99=new _0xc147ec(_0x5b381d),_0x510a5b=new _0xc147ec(_0x5b381d);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',(_0x471da5,_0x2ce25d)=>_0x471da5&&_0x2ce25d>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x13220d,_0x2a0e0c,_0x464799,_0x300139)=>{if(!_0x13220d)return y(_0x5b381d,'Loading...');if(!_0x464799)return y(_0x5b381d,'No\x20changes');const _0x46971f=y(_0x5b381d,'NUMBER_OF_CHANGES',_0x464799);return _0x300139?y(_0x5b381d,'X_OF_Y_CHANGES',[_0x2a0e0c+0x1,_0x464799]):_0x46971f;}),_0x3f9b99['set']({'label':y(_0x5b381d,'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'}),_0x510a5b['set']({'label':y(_0x5b381d,'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'}),_0x3f9b99['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x510a5b['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x3f9b99['on']('execute',()=>this['fire']('execute','backward')),_0x510a5b['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',_0x2b524b['if']('_isStatusLabelVisible','ck-hidden',_0x5d19d3=>!_0x5d19d3)]},'children':[{'text':_0x2b524b['to']('isNavigationMode',_0x3e33ee=>_0x3e33ee?y(_0x5b381d,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x5b381d,'Total')+':\x20')}]},{'text':_0x2b524b['to']('_statusText')}]},new _0x5cd386(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x3f9b99,_0x510a5b]}]});}}const ce='ck-editor__editable__loading-overlay';class ae extends _0x19e2a4{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x29628c=this['editor']['editing']['view'];_0x29628c['change'](_0x5b5e93=>{for(const _0x4f7fb6 of _0x29628c['document']['roots'])_0x5b5e93['addClass'](ce,_0x4f7fb6);});}['hide'](){const _0x1c5e7e=this['editor']['editing']['view'];_0x1c5e7e['change'](_0xc7acd1=>{for(const _0x104d69 of _0x1c5e7e['document']['roots'])_0xc7acd1['removeClass'](ce,_0x104d69);});}}class R extends _0x19e2a4{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,ae];}['init'](){const _0x231879=this['editor'],_0x5bc7a8=_0x231879['plugins']['get'](d),_0x216bcf=_0x231879['plugins']['get'](ae);_0x231879['ui']['componentFactory']['add']('exitToEditing',_0xa11b72=>{const _0x264eb2=new _0xc147ec(_0xa11b72);return _0x264eb2['set']({'label':y(_0xa11b72,'Back\x20to\x20editing'),'icon':_0x5c6115['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x264eb2,'execute',()=>{_0x231879['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x264eb2;}),_0x231879['ui']['componentFactory']['add']('restoreRevision',_0x12cfbd=>{const _0x484ae3=new _0xc147ec(_0x12cfbd);return _0x484ae3['set']({'label':y(_0x12cfbd,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x484ae3['bind']('isEnabled')['to'](_0x231879['commands']['get']('restoreRevision')),this['listenTo'](_0x484ae3,'execute',()=>_0x231879['execute']('restoreRevision')),_0x484ae3;}),_0x231879['ui']['componentFactory']['add']('changesNavigation',_0xbce2d2=>{const _0x42a992=new di(_0xbce2d2),_0x294887=_0x231879['commands']['get']('showPreviousChange'),_0x53a7ce=_0x231879['commands']['get']('showNextChange');return _0x42a992['bind']('isBackwardNavigationEnabled')['to'](_0x294887,'isEnabled'),_0x42a992['bind']('isForwardNavigationEnabled')['to'](_0x53a7ce,'isEnabled'),_0x42a992['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x5bc7a8),this['listenTo'](_0x42a992,'execute',(_0x1724eb,_0x6cc412)=>{_0x231879['execute']('forward'===_0x6cc412?'showNextChange':'showPreviousChange');}),_0x42a992;}),_0x216bcf['show'](),_0x5bc7a8['on']('change:isReady',(_0x18c19d,_0x38d623,_0x4f2102)=>{_0x4f2102?_0x216bcf['hide']():_0x216bcf['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x1aaf35,_0x5ce2e2){super(_0x1aaf35,_0x5ce2e2);const _0x14e51e=this['bindTemplate'];this['set']({'label':y(_0x1aaf35,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x1aaf35,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x14e51e['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 _0x1d8ddf=this['fieldView']['element'];this['_tooltipString']=_0x1d8ddf['scrollWidth']>_0x1d8ddf['clientWidth']&&_0x1d8ddf['value']||'';}}class ti extends _0x46510e{constructor(_0x3792ec,_0x437f86,_0x71550c){super(_0x3792ec);const _0x45fa08=new _0x5585ee();_0x45fa08['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 _0x251dae=['ck','ck-revision-history-sidebar__revision-author'];_0x71550c&&_0x251dae['push']('ck-revision-history-sidebar__revision-author_creator');const _0x2eeafc=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x3792ec,_0x71550c?'Revision\x20creator':'Revision\x20author')},'children':[_0x45fa08,_0x437f86['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x251dae},'children':_0x2eeafc});}}function ni(_0x1eeec3,_0x1112c4){const _0x1a5abe=_0x1eeec3['bindTemplate'],_0xd98c43=_0x1eeec3['locale'],_0x300a96=_0x35e7f6(_0xd98c43);_0x300a96['panelPosition']='sw';const _0x1eb5fa=function(_0x5f270e,_0x4d3a20){const _0x464908=function(_0x1d0815,_0xa74d99){const _0x4196c3=_0x1d0815['locale'],_0x25635e={'Compare\x20against\x20selected':y(_0x4196c3,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x4196c3,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x4196c3,'Restore\x20this\x20revision')};return _0xa74d99['map'](_0x59556a=>{const _0x20ad9b=_0x25635e[_0x59556a['name']];return _0x20ad9b&&_0x20ad9b!==_0x59556a['name']&&(_0x59556a['name']=_0x20ad9b),_0x59556a;});}(_0x5f270e,_0x4d3a20),_0xbf0af4=new _0x1fb395();for(const _0x331c2e of _0x464908){const _0x108d9e={'type':'button','model':new to({'label':_0x331c2e['name'],'class':_0x331c2e['class'],'withText':!0x0,'role':'menuitem','_action':_0x331c2e['action']})};_0x108d9e['model']['bind']('isEnabled')['to'](_0x5f270e,'isActionsDropdownOpen',_0x4651e2=>'function'!=typeof _0x331c2e['isEnabled']||(!_0x4651e2||_0x331c2e['isEnabled'](_0x5f270e))),_0xbf0af4['add'](_0x108d9e);}return _0xbf0af4;}(_0x1eeec3,_0x1112c4);return _0x1eeec3['bind']('isActionsDropdownOpen')['to'](_0x300a96,'isOpen'),_0x300a96['buttonView']['set']({'label':y(_0xd98c43,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x5c6115['threeVerticalDots']}),_0x300a96['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x1a5abe['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x1a5abe['to'](_0x18b1f9=>_0x18b1f9['stopPropagation']())}}),_0x300a96['on']('execute',_0x2a4786=>{_0x1eeec3['isReady']&&'function'==typeof _0x2a4786['source']['_action']&&_0x2a4786['source']['_action'](_0x1eeec3);}),_0x5f5b36(_0x300a96,_0x1eb5fa,{'role':'menu'}),_0x300a96['listenTo'](_0x1eeec3,'change:isActionsDropdownOpen',(_0x3442a6,_0x10becb,_0x4d7d0f)=>{if(_0x4d7d0f)for(const _0xbc03f of _0x300a96['listView']['items']){const _0x295a58=_0xbc03f['children']['first'],_0x51b267=_0x1112c4['find'](_0x471d73=>_0x471d73['action']===_0x295a58['_action'])['isVisible'];_0xbc03f['isVisible']=void 0x0===_0x51b267||_0x51b267(_0x1eeec3);}}),_0x300a96;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x3c4636(_0x46510e){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x55576a,_0x5193b2,_0x637a0,_0x495faa){super(_0x55576a);const _0x37b5b0=this['bindTemplate'],_0x25d1b4=function(_0xa97f76,_0x28e848){const _0x400887=Array['from'](_0x28e848['authors'])['filter'](_0x11b9e6=>_0x11b9e6!=_0x28e848['creator']);return _0x28e848['creator']&&_0x400887['unshift'](_0x28e848['creator']),_0x400887['map'](_0x8b8a88=>new ti(_0xa97f76,_0x8b8a88,_0x8b8a88==_0x28e848['creator']));}(_0x55576a,_0x5193b2);this['id']=_0x5193b2['id'],this['_revision']=_0x5193b2,this['_requireRevisionName']=_0x495faa,this['bind']('name','createdAt')['to'](_0x5193b2),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x16843e=>{return _0x595f71=_0x55576a['uiLanguage'],(_0x380a5f=_0x16843e)['toLocaleDateString'](_0x595f71,{'month':'long','day':'numeric'})+',\x20'+_0x380a5f['toLocaleTimeString'](_0x595f71,{'hour':'numeric','minute':'numeric'});var _0x595f71,_0x380a5f;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x55576a,_0x1063c2),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x1d32e7=>_0x1d32e7||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x3a3279,_0x10cd02)=>_0x3a3279&&_0x10cd02),this['revisionActionsView']=_0x637a0&&_0x637a0['length']?ni(this,_0x637a0):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x37b5b0['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x37b5b0['if']('isEnabled','ck-disabled',_0x3c7084=>!_0x3c7084),_0x37b5b0['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x37b5b0['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x37b5b0['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':_0x37b5b0['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':_0x25d1b4}]},this['revisionActionsView']],'on':{'click':_0x37b5b0['to'](_0xfc1c38=>{_0xfc1c38['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x23930e=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x23930e,'change',()=>{this['_requireRevisionName']&&!_0x23930e['value']||this['fire']('setName',{'id':this['id'],'name':_0x23930e['value']}),_0x23930e['value']||(_0x23930e['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function mi(_0x465dcd,_0x115f91){const _0x3b19d5=_0x30cc6b['fromJSDate'](_0x465dcd)['setLocale'](_0x115f91),_0x443b06=_0x30cc6b['local'](),_0x99fce3=_0x443b06['minus']({'days':0x1})['startOf']('day');let _0x22123b,_0x442869;return _0x3b19d5['hasSame'](_0x443b06,'day')?(_0x22123b=_0x3b19d5['startOf']('day')['toJSDate'](),_0x442869=_0x3b19d5['toRelativeCalendar']()):_0x3b19d5['hasSame'](_0x99fce3,'day')?(_0x22123b=_0x99fce3['toJSDate'](),_0x442869=_0x3b19d5['toRelativeCalendar']()):_0x3b19d5['hasSame'](_0x443b06,'week')?(_0x22123b=_0x3b19d5['startOf']('week')['toJSDate'](),_0x442869=_0x3b19d5['weekdayLong']||''):_0x3b19d5['hasSame'](_0x443b06,'year')?(_0x22123b=_0x3b19d5['startOf']('month')['toJSDate'](),_0x442869=_0x3b19d5['monthLong']||''):(_0x22123b=_0x3b19d5['startOf']('year')['toJSDate'](),_0x442869=String(_0x3b19d5['year'])),{'startDate':_0x22123b,'localizedPeriodName':_0x442869};}class vi extends _0x46510e{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0xe69e19,_0x2577fb,_0x20f522,_0x2a351a){super(_0xe69e19);const _0x262d27=mi(_0x2577fb,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x2577fb,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x20f522,this['_requireRevisionName']=_0x2a351a,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':_0x262d27}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x3e55f0){const _0x416d2c=new ai(this['locale'],_0x3e55f0,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x416d2c);}['removeRevision'](_0x5c4d2c){const _0x14c2a6=this['revisionViews']['find'](_0x5cf35e=>_0x5cf35e['id']===_0x5c4d2c['id']);this['revisionViews']['remove'](_0x14c2a6);}}class as extends _0x46510e{constructor(_0x15c892){super(_0x15c892);const _0x41f309=new _0x5585ee();_0x41f309['content']=_0x5c6115['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x41f309,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x15c892,'Revision\x20history')]}]});}}class li extends _0x46510e{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x49fe1d,_0x71f6d0,_0x4c23f4,_0x25a308){super(_0x49fe1d);const _0x3ae938=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x71f6d0,this['_revisionActions']=_0x4c23f4,this['_requireRevisionName']=_0x25a308,this['on']('select',(_0x1c61fa,_0x3f75af)=>{this['fire']('revisionSelected',_0x3f75af);}),this['on']('setName',(_0x328ae7,_0x563e15)=>{this['fire']('revisionSetName',_0x563e15);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x49fe1d),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x3ae938['if']('isEnabled','ck-disabled',_0x54a374=>!_0x54a374)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x307ca8 of this['_revisions'])this['_addRevision'](_0x307ca8);this['_revisions']['on']('add',(_0x4875c1,_0x4548a7)=>{this['_addRevision'](_0x4548a7);}),this['_revisions']['on']('remove',(_0x50bba3,_0x31f331)=>{this['_removeRevision'](_0x31f331);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x445895=>_0x445895['revisionViews']['map'](_0x3ce617=>_0x3ce617))['flat']();}['selectRevision'](_0x2f0ef2){for(const _0x1fb81f of this['revisionViews'])_0x2f0ef2&&_0x2f0ef2['id']===_0x1fb81f['id']?_0x1fb81f['select']():_0x1fb81f['deselect']();}['highlightRevisions'](_0x23890d){for(const _0x49a1d6 of this['revisionViews'])_0x23890d['some'](({id:_0x44d9cd})=>_0x44d9cd===_0x49a1d6['id'])?_0x49a1d6['highlight']():_0x49a1d6['unhighlight']();}['_addRevision'](_0x4b4a78){const _0x3c07e4=mi(_0x4b4a78['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x56bdad=this['timePeriodViews']['get'](0x0);_0x56bdad&&_0x56bdad['startDate']['getTime']()===_0x3c07e4['getTime']()||(_0x56bdad=new vi(this['locale'],_0x3c07e4,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x56bdad)),_0x56bdad['addRevision'](_0x4b4a78);}['_removeRevision'](_0x1e6710){const _0x42295d=mi(_0x1e6710['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x42295d)['removeRevision'](_0x1e6710);}['_getTimePeriodViewByStartDate'](_0x2616b2){return this['timePeriodViews']['find'](_0x532145=>_0x532145['startDate']['getTime']()===_0x2616b2['getTime']());}}class w extends _0x19e2a4{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
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 */
27
27
  ((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
28
- Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x42486b){super(_0x42486b),this['_revisionViewer']=_0x42486b['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x3cd28c=this['_revisionsRepository']['_revisions'],_0x594e06=this['_createRevisionActions'](),_0x1a37eb=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new li(this['editor']['locale'],_0x3cd28c,_0x594e06,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',(_0x579a99,_0x1b7b27)=>{_0x1b7b27['revisionViews']['on']('add',(_0x2dc85f,_0x10bb14)=>{_0x10bb14['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)),_0x1a37eb['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x1ad167=this['_revisionsRepository']['getRevision'](0x0);if(_0x1ad167){const _0x8a7e9=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x1ad167['id']);this['_revisionViewer']['compare'](_0x1ad167,_0x8a7e9);}}['_handleRevisionSelected'](_0x24a5c2,_0x4b48e0){const _0x51879a=this['_revisionsRepository']['getRevision'](_0x4b48e0['id']),_0x4e4c77=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x51879a['id']);this['_revisionViewer']['compare'](_0x51879a,_0x4e4c77);}['_handleRevisionSetName'](_0x4600f1,_0x4e7043){this['_revisionsRepository']['getRevision'](_0x4e7043['id'])['setName'](_0x4e7043['name']);}['_handleDiffChange'](_0x30ef6d,_0x257c2c,_0x15089d){const _0x4594f3=this['_revisionsRepository']['getRevisionsInDiff'](_0x15089d);_0x4594f3['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x4594f3),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x4594f3[0x0]));}['_createRevisionActions'](){const _0x4e4f37=this['editor'],_0x511565=w['availableRevisionActions'],_0x44a33b=_0x4e4f37['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x44a33b['length'])return _0x44a33b['map'](_0xb8713a=>{const _0x186340='string'==typeof _0xb8713a?Object['assign']({},_0x511565[_0xb8713a]):_0xb8713a;return _0x186340['action']=_0x186340['action']['bind'](this,_0x4e4f37),_0x186340['isVisible']&&(_0x186340['isVisible']=_0x186340['isVisible']['bind'](this,_0x4e4f37)),_0x186340;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x73aeb3},_0x5f08db)=>{const _0x32d2e7=_0x73aeb3['get'](d),_0x175c20=_0x32d2e7['repository'];let _0x5e5137=_0x32d2e7['diff']['newRevisionId'],_0x2ecea3=_0x5f08db['id'];_0x175c20['getIndex'](_0x5e5137)>_0x175c20['getIndex'](_0x2ecea3)&&([_0x5e5137,_0x2ecea3]=[_0x2ecea3,_0x5e5137]),_0x32d2e7['compare'](_0x5e5137,_0x2ecea3);},'isVisible':({plugins:_0xc5e156},_0x26f5a9)=>{const _0x29c16d=_0xc5e156['get'](d);return!(_0x29c16d['repository']['getRevisionsInDiff'](_0x29c16d['diff'])['length']>0x2)&&!_0x26f5a9['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x3015fe,{id:_0x2ad288})=>{_0x3015fe['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2ad288);},'isVisible':({plugins:_0x21024a},_0x289de6)=>!!_0x21024a['get'](d)['repository']['getLaterVisibleRevision'](_0x289de6['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x1ee865},{id:_0x2270ab,revisionNameView:_0x395cbf})=>{const _0x2aef15=_0x1ee865['get'](d),_0x32874e=_0x2aef15['repository']['getEarlierVisibleRevision'](_0x2270ab);_0x2aef15['compare'](_0x2270ab,_0x32874e),_0x395cbf['focus'](),_0x395cbf['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x459e43,_0x731dd6){super(_0x459e43),this['_view']=_0x731dd6,this['_toolbarConfig']=ct(_0x459e43['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x525a56){const _0x3bbfb6=this['editor'],_0x459bbd=this['view'],_0x5130fd=_0x3bbfb6['editing']['view'],_0x2b2655=_0x459bbd['editable'],_0xd37f74=_0x5130fd['document']['getRoot']();_0x2b2655['name']=_0xd37f74['rootName'],_0x459bbd['render']();const _0x469486=_0x2b2655['element'];this['setEditableElement'](_0x2b2655['name'],_0x469486),_0x459bbd['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x5130fd['attachDomRoot'](_0x469486),this['_elementReplacer']['replace'](_0x525a56,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x577229=this['view'],_0x39ae58=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x39ae58['detachDomRoot'](_0x577229['editable']['name']),_0x577229['destroy']();}['_initToolbar'](){const _0x12f9eb=this['view'];_0x12f9eb['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x12f9eb['stickyPanel']['limiterElement']=_0x12f9eb['element'],_0x12f9eb['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x50053f})=>_0x50053f),_0x12f9eb['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x12f9eb['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x1c491a,_0x511433,_0x3a678d={}){super(_0x1c491a),this['stickyPanel']=new lt(_0x1c491a),this['toolbar']=new pt(_0x1c491a,{'shouldGroupWhenFull':_0x3a678d['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x1c491a,_0x511433);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends/* #__PURE__ -- @preserve */
29
- rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x15b34c,_0x249ec3){super(_0x249ec3),this['sourceElement']=_0x15b34c,this['model']['document']['createRoot']();const _0x1990af=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x1990af);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x4fd441,_0x45eb54){const _0x41cf25=new this(_0x4fd441,_0x45eb54);return await _0x41cf25['initPlugins'](),await _0x41cf25['ui']['init'](_0x4fd441),await _0x41cf25['data']['init'](_0x41cf25['config']['get']('initialData')||''),_0x41cf25['fire']('ready'),_0x41cf25;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x19e2a4{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x576856){super(_0x576856),this['result']='end';}}class H extends _0x19e2a4{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x30c21f){if(super(_0x30c21f),!this['editor']['config']['get']('revisionHistory'))throw new _0x4d009a('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x2d1691=>this['_showRevisionViewer']({..._0x2d1691,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x4a3fa2=>this['_closeRevisionViewer'](_0x4a3fa2)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x2f2e64=>this['_restoreRevision'](_0x2f2e64)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x54daa6){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x54daa6;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x3a3ef9){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x3a3ef9);}['getRevision'](_0x390677){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x390677);}['getRevisions'](_0x212c25){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x212c25||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x4f05c5=this['editor'],_0x26b3b3=_0x18b2c1(_0x4f05c5,p),_0x21021b=_0x4f05c5['plugins']['get']('RevisionTracker'),_0x5a1970=_0x4f05c5['plugins']['get']('Users')['users'];return _0x26b3b3['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x26b3b3['lazyRoots'],(_0x26b3b3['plugins']['push'](k,d,R,class extends _0x19e2a4{static get['requires'](){return[d,'Users'];}['init'](){const _0x2fa174=this['editor']['plugins']['get']('Users');for(const _0x310c44 of _0x5a1970)_0x310c44['isAnonymous']||_0x2fa174['getUser'](_0x310c44['id'])||_0x2fa174['addUser'](_0x310c44);const _0x4dfb07=_0x21021b['repository']['getRevisions']();let _0x5086ee=null;const _0x46b99d=this['editor']['plugins']['get']('RevisionViewer');_0x46b99d['adapter']=_0x21021b['adapter'],_0x46b99d['bind']('isEnabled')['to'](_0x21021b),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x4f05c5,'isReadOnly',_0x3a9720=>!_0x3a9720);for(const _0x2c8b44 of _0x4dfb07){const _0x240ba4=null===_0x2c8b44['creator'];if(_0x240ba4&&_0x2c8b44['toVersion']===_0x2c8b44['fromVersion'])continue;const _0x45252=_0x2c8b44['toJSON']();_0x46b99d['addRevisionData'](_0x45252,(_0x5898a3,_0xfe8104,_0x1d042e)=>{if(_0x240ba4){if(_0x5086ee)_0x5086ee['_update'](_0x5898a3,_0xfe8104);else{if(!_0xfe8104){const _0x3af815=_0x1d042e['toJSON']();_0x3af815['id']=_0x2a5db2(),_0x21021b['saveRevision'](_0x3af815,_0x1d042e['toVersion'])['then'](_0x4cbd87=>{_0x5086ee=_0x4cbd87;});}}}else _0x2c8b44['_update'](_0x5898a3,_0xfe8104);});}}},w),_0x26b3b3);}['_enhanceShowRevisionViewerCallback'](){const _0x6fdd19=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0xd4bc30=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x4fa71f=this['editor']['plugins']['get']('Autosave');await _0x4fa71f['save']();}else await _0xd4bc30['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x21b86a=this['editor']['plugins']['get']('Dialog');_0x21b86a['isOpen']&&_0x21b86a['hide']();}const _0xa71165=this['_getRevisionViewerEditorConfig']();return _0x6fdd19(_0xa71165)['then'](_0x546f34=>{return(this['_viewerEditor']=_0x546f34,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x546f34;})['catch'](_0x21290d=>(console['error'](_0x21290d),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x272901=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'](),_0x272901(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x5e1ec5=this['editor']['plugins']['get']('Annotations');_0x5e1ec5['refreshVisibility'](),_0x5e1ec5['refreshPositioning']();}})));}['_showRevisionViewer'](_0x567843){const _0x1bd89a=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x1c5408=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x4f0b6f=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x4f0b6f,_0x567843)['then'](_0xb4f7a8=>(_0x1c5408['style']['display']='block',_0x1bd89a['style']['display']='none',_0xb4f7a8));}['_closeRevisionViewer'](_0x1d1a6f){const _0x252229=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x252229['style']['display']='',_0x1d1a6f['destroy']();}async['_restoreRevision'](_0x20f005){const _0x4a7844=this['editor'],_0x1fece6=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x10d3f8=_0x4a7844['plugins']['get']('RevisionTracker'),_0x1df6f5=_0x1fece6['repository']['getRevision'](_0x20f005);let _0x14b21f,_0x5e754b,_0x5d74ce;try{_0x14b21f=await _0x1fece6['getRevisionData'](_0x1df6f5),_0x5e754b=await _0x1fece6['getRevisionRootsAttributes'](_0x1df6f5);}catch(_0x1482f6){return void console['error'](_0x1482f6);}_0x4a7844['model']['change'](_0x3c75f5=>{for(const _0x385036 of Array['from'](_0x4a7844['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x3c75f5['removeMarker'](_0x385036);}),_0x1fece6['isReady']=!0x1,_0x4a7844['model']['enqueueChange'](_0x34384c=>{_0x34384c['setSelection'](null),_0x34384c['removeSelectionAttribute'](_0x4a7844['model']['document']['selection']['getAttributeKeys']());const _0x25e07b=Object['keys'](_0x14b21f);for(const _0x254e9a of _0x4a7844['model']['document']['roots'])'$graveyard'!=_0x254e9a['rootName']&&_0x254e9a['isAttached']()&&!_0x25e07b['includes'](_0x254e9a['rootName'])&&_0x34384c['detachRoot'](_0x254e9a);for(const _0x1dbf96 of _0x25e07b){let _0x5ef422=_0x4a7844['model']['document']['getRoot'](_0x1dbf96);_0x5ef422&&_0x5ef422['isAttached']()||(_0x5ef422=_0x34384c['addRoot'](_0x1dbf96));const _0x1105e4=_0x5e754b[_0x1dbf96],_0x5b1ea8=Object['keys'](_0x1105e4),_0x1b92ed=_0x14b21f[_0x1dbf96];for(const _0x178c0c of _0x5ef422['getAttributeKeys']())_0x5b1ea8['includes'](_0x178c0c)||_0x34384c['removeAttribute'](_0x178c0c,_0x5ef422);for(const _0x42c63b of _0x5b1ea8)_0x34384c['setAttribute'](_0x42c63b,_0x5e754b[_0x1dbf96][_0x42c63b],_0x5ef422);_0x34384c['remove'](_0x34384c['createRangeIn'](_0x5ef422)),_0x34384c['insert'](_0x4a7844['data']['parse'](_0x1b92ed,_0x5ef422),_0x5ef422,0x0);}});const _0xbeab3a=y(_0x4a7844['locale'],'Restored');if(_0x1df6f5['name'])_0x5d74ce=-0x1==_0x1df6f5['name']['indexOf'](_0xbeab3a)?_0xbeab3a+':\x20'+_0x1df6f5['name']:_0x1df6f5['name'];else _0x5d74ce=_0xbeab3a+':\x20'+(_0x1df6f5['createdAt']['toLocaleDateString'](_0x4a7844['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x1df6f5['createdAt']['toLocaleTimeString'](_0x4a7844['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x10d3f8['saveRevision']({'name':_0x5d74ce}),_0x1fece6['isReady']=!0x0,_0x4a7844['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{a as Revision,H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,ae as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w 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(_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};