@univerjs-pro/collaboration-client 0.12.3 → 0.12.4-experimental.20251210-8d33c6e

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 (55) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/types/controllers/collaboration/collaboration-state.d.ts +2 -0
  41. package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +15 -0
  42. package/lib/umd/facade.js +1 -1
  43. package/lib/umd/index.js +1 -1
  44. package/lib/umd/locale/ca-ES.js +1 -1
  45. package/lib/umd/locale/en-US.js +1 -1
  46. package/lib/umd/locale/es-ES.js +1 -1
  47. package/lib/umd/locale/fa-IR.js +1 -1
  48. package/lib/umd/locale/fr-FR.js +1 -1
  49. package/lib/umd/locale/ja-JP.js +1 -1
  50. package/lib/umd/locale/ko-KR.js +1 -1
  51. package/lib/umd/locale/ru-RU.js +1 -1
  52. package/lib/umd/locale/vi-VN.js +1 -1
  53. package/lib/umd/locale/zh-CN.js +1 -1
  54. package/lib/umd/locale/zh-TW.js +1 -1
  55. package/package.json +12 -12
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x50de8b=_0x391f;(function(_0x5d9f54,_0x8cd22c){var _0x5d1f78=_0x391f,_0x2b5a28=_0x5d9f54();while(!![]){try{var _0x6a428c=-parseInt(_0x5d1f78(0x532))/0x1*(parseInt(_0x5d1f78(0x1ed))/0x2)+-parseInt(_0x5d1f78(0x1f1))/0x3*(parseInt(_0x5d1f78(0x4ba))/0x4)+parseInt(_0x5d1f78(0x253))/0x5+-parseInt(_0x5d1f78(0x1f9))/0x6*(parseInt(_0x5d1f78(0x265))/0x7)+-parseInt(_0x5d1f78(0x288))/0x8*(-parseInt(_0x5d1f78(0x247))/0x9)+parseInt(_0x5d1f78(0x36f))/0xa+-parseInt(_0x5d1f78(0x1e0))/0xb*(-parseInt(_0x5d1f78(0x299))/0xc);if(_0x6a428c===_0x8cd22c)break;else _0x2b5a28['push'](_0x2b5a28['shift']());}catch(_0xcf6236){_0x2b5a28['push'](_0x2b5a28['shift']());}}}(_0x2ee8,0xc50a1));var bt=Object[_0x50de8b(0x507)],Ot=(_0x231a19,_0x26ec92,_0xc2fae0)=>_0x26ec92 in _0x231a19?bt(_0x231a19,_0x26ec92,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc2fae0}):_0x231a19[_0x26ec92]=_0xc2fae0,A=(_0x498507,_0x254e68,_0x4501c1)=>Ot(_0x498507,typeof _0x254e68!=_0x50de8b(0x38f)?_0x254e68+'':_0x254e68,_0x4501c1);Object[_0x50de8b(0x507)](exports,Symbol[_0x50de8b(0x44f)],{'value':_0x50de8b(0x2cd)});const E=require('@univerjs-pro/collaboration'),o=require('@univerjs/core'),ct=require('@univerjs/docs'),Q=require('@univerjs/sheets'),j=require('rxjs'),Rt=require('@univerjs/telemetry'),V=require('rxjs/operators'),K=require('@univerjs/network'),z=require('@univerjs/drawing'),Nt=require('@univerjs-pro/license'),Dt=_0x50de8b(0x319),yt=_0x50de8b(0x4aa),Ut=0x7d0,ht=_0x50de8b(0x251),At=_0x50de8b(0x515),_t=_0x50de8b(0x46e),Pt=0x7530,ke=_0x50de8b(0x30b),lt=0x4e20,Lt=0x4e20,ut='RETRY_CONNECTING_MAX_COUNT',Mt=0x3,wt=_0x50de8b(0x1f4),xt=0x3e8,kt=_0x50de8b(0x2d9),$t=_0x50de8b(0x21f),Ht=_0x50de8b(0x264),jt=_0x50de8b(0x42c);var vt=(_0x1d13bd=>(_0x1d13bd[_0x1d13bd[_0x50de8b(0x314)]=0x0]=_0x50de8b(0x314),_0x1d13bd[_0x1d13bd['OK']=0x1]='OK',_0x1d13bd[_0x1d13bd[_0x50de8b(0x43d)]=0x2]=_0x50de8b(0x43d),_0x1d13bd[_0x1d13bd[_0x50de8b(0x3c5)]=0x3]=_0x50de8b(0x3c5),_0x1d13bd[_0x1d13bd[_0x50de8b(0x4f3)]=0x4]=_0x50de8b(0x4f3),_0x1d13bd[_0x1d13bd[_0x50de8b(0x4ed)]=0x5]='UNAUTHENTICATED',_0x1d13bd[_0x1d13bd[_0x50de8b(0x474)]=0x6]=_0x50de8b(0x474),_0x1d13bd[_0x1d13bd[_0x50de8b(0x3de)]=0x7]=_0x50de8b(0x3de),_0x1d13bd[_0x1d13bd[_0x50de8b(0x3af)]=0x8]=_0x50de8b(0x3af),_0x1d13bd[_0x1d13bd[_0x50de8b(0x344)]=0x9]=_0x50de8b(0x344),_0x1d13bd[_0x1d13bd[_0x50de8b(0x3f2)]=0xa]=_0x50de8b(0x3f2),_0x1d13bd[_0x1d13bd[_0x50de8b(0x1d5)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x1d13bd[_0x1d13bd[_0x50de8b(0x49f)]=0xc]=_0x50de8b(0x49f),_0x1d13bd[_0x1d13bd[_0x50de8b(0x36c)]=0xd]=_0x50de8b(0x36c),_0x1d13bd[_0x1d13bd['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x50de8b(0x4ff),_0x1d13bd[_0x1d13bd[_0x50de8b(0x469)]=0xf]=_0x50de8b(0x469),_0x1d13bd[_0x1d13bd[_0x50de8b(0x355)]=0x10]=_0x50de8b(0x355),_0x1d13bd[_0x1d13bd[_0x50de8b(0x2f8)]=0x64]=_0x50de8b(0x2f8),_0x1d13bd[_0x1d13bd[_0x50de8b(0x30e)]=0x65]='ERROR_AGAIN',_0x1d13bd[_0x1d13bd['USER_NOT_FOUND']=0xc9]=_0x50de8b(0x27f),_0x1d13bd[_0x1d13bd['USER_IS_ANONYMOUS']=0xca]='USER_IS_ANONYMOUS',_0x1d13bd[_0x1d13bd[_0x50de8b(0x4f5)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1d13bd[_0x1d13bd[_0x50de8b(0x1da)]=0x1771]=_0x50de8b(0x1da),_0x1d13bd[_0x1d13bd[_0x50de8b(0x343)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1d13bd[_0x1d13bd[_0x50de8b(0x356)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1d13bd[_0x1d13bd[_0x50de8b(0x487)]=0x1b59]='APPLY_REJECT',_0x1d13bd[_0x1d13bd[_0x50de8b(0x236)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x1d13bd[_0x1d13bd[_0x50de8b(0x257)]=0x1b5b]=_0x50de8b(0x257),_0x1d13bd[_0x1d13bd[_0x50de8b(0x2a0)]=0x1b5c]=_0x50de8b(0x2a0),_0x1d13bd[_0x1d13bd[_0x50de8b(0x41c)]=0x1b5d]=_0x50de8b(0x41c),_0x1d13bd[_0x1d13bd[_0x50de8b(0x215)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1d13bd[_0x1d13bd[_0x50de8b(0x2bc)]=0x2329]=_0x50de8b(0x2bc),_0x1d13bd[_0x1d13bd[_0x50de8b(0x497)]=0x232a]=_0x50de8b(0x497),_0x1d13bd[_0x1d13bd[_0x50de8b(0x281)]=0x232b]=_0x50de8b(0x281),_0x1d13bd[_0x1d13bd[_0x50de8b(0x3b1)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1d13bd[_0x1d13bd[_0x50de8b(0x276)]=0x232d]=_0x50de8b(0x276),_0x1d13bd[_0x1d13bd[_0x50de8b(0x517)]=0x2711]=_0x50de8b(0x517),_0x1d13bd[_0x1d13bd['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x50de8b(0x4c6),_0x1d13bd[_0x1d13bd[_0x50de8b(0x4e8)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1d13bd[_0x1d13bd[_0x50de8b(0x4a7)]=0x2714]=_0x50de8b(0x4a7),_0x1d13bd[_0x1d13bd['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x50de8b(0x3ab),_0x1d13bd[_0x1d13bd[_0x50de8b(0x2d6)]=0x271b]=_0x50de8b(0x2d6),_0x1d13bd[_0x1d13bd[_0x50de8b(0x41b)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x1d13bd[_0x1d13bd[_0x50de8b(0x4b4)]=0x271d]=_0x50de8b(0x4b4),_0x1d13bd[_0x1d13bd[_0x50de8b(0x4a5)]=0x271e]=_0x50de8b(0x4a5),_0x1d13bd[_0x1d13bd[_0x50de8b(0x1f3)]=0x271f]=_0x50de8b(0x1f3),_0x1d13bd[_0x1d13bd[_0x50de8b(0x1de)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x1d13bd[_0x1d13bd[_0x50de8b(0x558)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1d13bd[_0x1d13bd[_0x50de8b(0x25e)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1d13bd[_0x1d13bd[_0x50de8b(0x540)]=0x2ee2]=_0x50de8b(0x540),_0x1d13bd[_0x1d13bd[_0x50de8b(0x27e)]=0x2ee3]=_0x50de8b(0x27e),_0x1d13bd[_0x1d13bd['USER_NOT_INVITED_CODE']=0x2ee4]=_0x50de8b(0x2c5),_0x1d13bd[_0x1d13bd[_0x50de8b(0x338)]=0x2ee5]=_0x50de8b(0x338),_0x1d13bd[_0x1d13bd[_0x50de8b(0x3bb)]=0x32c9]=_0x50de8b(0x3bb),_0x1d13bd[_0x1d13bd[_0x50de8b(0x29f)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1d13bd[_0x1d13bd[_0x50de8b(0x457)]=0x32cb]=_0x50de8b(0x457),_0x1d13bd[_0x1d13bd[_0x50de8b(0x30f)]=0x36b1]=_0x50de8b(0x30f),_0x1d13bd[_0x1d13bd[_0x50de8b(0x27b)]=0x36b2]=_0x50de8b(0x27b),_0x1d13bd[_0x1d13bd[_0x50de8b(0x35c)]=0x36b3]=_0x50de8b(0x35c),_0x1d13bd[_0x1d13bd[_0x50de8b(0x3f3)]=0x36b4]=_0x50de8b(0x3f3),_0x1d13bd[_0x1d13bd[_0x50de8b(0x4da)]=0x3715]=_0x50de8b(0x4da),_0x1d13bd[_0x1d13bd[_0x50de8b(0x4ea)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x1d13bd[_0x1d13bd['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x1d13bd[_0x1d13bd[_0x50de8b(0x1ec)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x1d13bd[_0x1d13bd[_0x50de8b(0x3cf)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x1d13bd[_0x1d13bd['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x50de8b(0x2d3),_0x1d13bd[_0x1d13bd[_0x50de8b(0x212)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x1d13bd[_0x1d13bd[_0x50de8b(0x372)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x1d13bd[_0x1d13bd[_0x50de8b(0x53f)]=0x3a9d]=_0x50de8b(0x53f),_0x1d13bd[_0x1d13bd['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x50de8b(0x415),_0x1d13bd[_0x1d13bd[_0x50de8b(0x27a)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x1d13bd[_0x1d13bd[_0x50de8b(0x222)]=0x3e81]=_0x50de8b(0x222),_0x1d13bd[_0x1d13bd[_0x50de8b(0x2e1)]=-0x1]=_0x50de8b(0x2e1),_0x1d13bd))(vt||{}),X=(_0xb0497c=>(_0xb0497c[_0xb0497c[_0x50de8b(0x37c)]=0x0]=_0x50de8b(0x37c),_0xb0497c[_0xb0497c[_0x50de8b(0x321)]=0x1]='UNIVER_DOC',_0xb0497c[_0xb0497c[_0x50de8b(0x33c)]=0x2]=_0x50de8b(0x33c),_0xb0497c[_0xb0497c[_0x50de8b(0x330)]=0x3]=_0x50de8b(0x330),_0xb0497c[_0xb0497c[_0x50de8b(0x528)]=0x4]='UNIVER_PROJECT',_0xb0497c[_0xb0497c['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0xb0497c))(X||{}),W=(_0x1ce1bd=>(_0x1ce1bd[_0x1ce1bd[_0x50de8b(0x4b3)]=0x0]=_0x50de8b(0x4b3),_0x1ce1bd[_0x1ce1bd[_0x50de8b(0x22d)]=0x1]=_0x50de8b(0x22d),_0x1ce1bd[_0x1ce1bd['JOIN']=0x2]='JOIN',_0x1ce1bd[_0x1ce1bd['LEAVE']=0x3]=_0x50de8b(0x1f2),_0x1ce1bd[_0x1ce1bd[_0x50de8b(0x214)]=0x4]='INGEST',_0x1ce1bd[_0x1ce1bd[_0x50de8b(0x1f5)]=0x5]=_0x50de8b(0x1f5),_0x1ce1bd[_0x1ce1bd[_0x50de8b(0x526)]=0x6]=_0x50de8b(0x526),_0x1ce1bd[_0x1ce1bd['UNRECOGNIZED']=-0x1]=_0x50de8b(0x2e1),_0x1ce1bd))(W||{}),re=(_0x59fe5b=>(_0x59fe5b[_0x59fe5b['UNKNOWN_CODE']=0x0]=_0x50de8b(0x50e),_0x59fe5b[_0x59fe5b['OK']=0x1]='OK',_0x59fe5b[_0x59fe5b[_0x50de8b(0x4e9)]=0x2]=_0x50de8b(0x4e9),_0x59fe5b[_0x59fe5b[_0x50de8b(0x291)]=0x3e9]=_0x50de8b(0x291),_0x59fe5b[_0x59fe5b['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x59fe5b[_0x59fe5b['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x50de8b(0x4a4),_0x59fe5b[_0x59fe5b['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x50de8b(0x563),_0x59fe5b[_0x59fe5b[_0x50de8b(0x2e1)]=-0x1]=_0x50de8b(0x2e1),_0x59fe5b))(re||{}),dt=(_0xcc3eca=>(_0xcc3eca[_0xcc3eca[_0x50de8b(0x44d)]=0x0]='Undefined',_0xcc3eca[_0xcc3eca[_0x50de8b(0x306)]=0x1]=_0x50de8b(0x306),_0xcc3eca[_0xcc3eca['HttpExport']=0x2]=_0x50de8b(0x546),_0xcc3eca[_0xcc3eca['UnitEmbedded']=0x3]=_0x50de8b(0x405),_0xcc3eca[_0xcc3eca[_0x50de8b(0x228)]=0x4]=_0x50de8b(0x228),_0xcc3eca[_0xcc3eca[_0x50de8b(0x32f)]=0x5]=_0x50de8b(0x32f),_0xcc3eca[_0xcc3eca['ClipsheetFragments']=0x6]=_0x50de8b(0x345),_0xcc3eca[_0xcc3eca[_0x50de8b(0x2e1)]=-0x1]=_0x50de8b(0x2e1),_0xcc3eca))(dt||{});const Bt='collaboration_new_changeset';function Ft(_0x467e8b){var _0x555809=_0x50de8b;return JSON[_0x555809(0x54c)](_0x467e8b)[_0x555809(0x3a9)];}var J=(_0x1b1e29=>(_0x1b1e29[_0x50de8b(0x3c0)]=_0x50de8b(0x3c0),_0x1b1e29[_0x50de8b(0x3c5)]=_0x50de8b(0x3c5),_0x1b1e29[_0x50de8b(0x447)]=_0x50de8b(0x447),_0x1b1e29[_0x50de8b(0x414)]='CLOSE_ROOM',_0x1b1e29[_0x50de8b(0x3d7)]='JOIN_ROOM_FAILED',_0x1b1e29[_0x50de8b(0x352)]='SOCKET_FAILED_RETRY',_0x1b1e29[_0x50de8b(0x464)]=_0x50de8b(0x464),_0x1b1e29[_0x50de8b(0x31f)]=_0x50de8b(0x31f),_0x1b1e29))(J||{});class ee{constructor(){var _0x5a3fa4=_0x50de8b;A(this,_0x5a3fa4(0x244),new j[(_0x5a3fa4(0x424))]()),A(this,_0x5a3fa4(0x46c),this['_event$']['asObservable']());}[_0x50de8b(0x1fa)](_0x198fcc){var _0x21bc29=_0x50de8b;this[_0x21bc29(0x244)][_0x21bc29(0x305)](_0x198fcc);}}class $e{constructor(){var _0x3335c9=_0x50de8b;A(this,_0x3335c9(0x2ff),new j['Subject']()),A(this,_0x3335c9(0x2ec),this[_0x3335c9(0x2ff)][_0x3335c9(0x237)]());}['onCommentUpdate'](_0x7731e9){var _0x35b033=_0x50de8b;this[_0x35b033(0x2ff)][_0x35b033(0x305)](_0x7731e9);}}var Vt=Object['getOwnPropertyDescriptor'],Wt=(_0x31d53c,_0x489a93,_0x32ea60,_0x5bdf22)=>{var _0x2edf73=_0x50de8b;for(var _0x4048ea=_0x5bdf22>0x1?void 0x0:_0x5bdf22?Vt(_0x489a93,_0x32ea60):_0x489a93,_0xbefb24=_0x31d53c[_0x2edf73(0x3a9)]-0x1,_0x286a56;_0xbefb24>=0x0;_0xbefb24--)(_0x286a56=_0x31d53c[_0xbefb24])&&(_0x4048ea=_0x286a56(_0x4048ea)||_0x4048ea);return _0x4048ea;},Ve=(_0x235654,_0x331773)=>(_0x318bb0,_0x534741)=>_0x331773(_0x318bb0,_0x534741,_0x235654);exports[_0x50de8b(0x37a)]=class extends o['Disposable']{constructor(_0x3555c9,_0x43cdd9){var _0x4690cd=_0x50de8b;super(),A(this,_0x4690cd(0x380),new Map()),A(this,_0x4690cd(0x20d),new j[(_0x4690cd(0x424))]()),(this[_0x4690cd(0x3bf)]=_0x3555c9,this['_userManagerService']=_0x43cdd9,this['disposeWithMe'](j[_0x4690cd(0x34a)](this[_0x4690cd(0x3bf)][_0x4690cd(0x4d3)](o[_0x4690cd(0x4b6)][_0x4690cd(0x33c)])['pipe'](V[_0x4690cd(0x4a1)](_0x748d70=>_0x748d70[_0x4690cd(0x37b)]())),this['_univerInstanceService'][_0x4690cd(0x4d3)](o[_0x4690cd(0x4b6)]['UNIVER_DOC'])['pipe'](V[_0x4690cd(0x4a1)](_0x8c84ab=>_0x8c84ab['getUnitId']())),this[_0x4690cd(0x3bf)]['getTypeOfUnitDisposed$'](o['UniverInstanceType']['UNIVER_SLIDE'])[_0x4690cd(0x39f)](V['map'](_0x4ffb74=>_0x4ffb74[_0x4690cd(0x37b)]())))['subscribe'](_0x537465=>this[_0x4690cd(0x204)](_0x537465))));}[_0x50de8b(0x548)](_0x52e333){var _0x19d429=_0x50de8b;return this[_0x19d429(0x380)][_0x19d429(0x346)](_0x52e333)?j['of'](this['_roomMembers'][_0x19d429(0x3b6)](_0x52e333)):this[_0x19d429(0x20d)][_0x19d429(0x39f)](V['map'](_0x4af936=>{var _0x5c2906=_0x19d429;if(_0x4af936===_0x52e333)return this[_0x5c2906(0x380)][_0x5c2906(0x3b6)](_0x4af936);}));}['setCurrentUser'](_0xd6fa22){var _0x474575=_0x50de8b;this[_0x474575(0x553)][_0x474575(0x33e)](_0xd6fa22);}[_0x50de8b(0x1dc)](){var _0x410488=_0x50de8b;return this[_0x410488(0x553)][_0x410488(0x1dc)]();}[_0x50de8b(0x2df)](_0x3efa6e,_0x2ca44a){var _0x2d3641=_0x50de8b;let _0x53a644=this[_0x2d3641(0x380)][_0x2d3641(0x3b6)](_0x3efa6e);_0x53a644||(_0x53a644=new Gt(),this[_0x2d3641(0x380)]['set'](_0x3efa6e,_0x53a644),this[_0x2d3641(0x20d)][_0x2d3641(0x305)](_0x3efa6e)),_0x53a644[_0x2d3641(0x2df)](_0x2ca44a);}[_0x50de8b(0x20a)](_0x2a33dc,_0x283c2b){var _0x2ff57d=_0x50de8b;const _0x55514f=this[_0x2ff57d(0x380)][_0x2ff57d(0x3b6)](_0x2a33dc);_0x55514f&&_0x55514f[_0x2ff57d(0x20a)](_0x283c2b);}[_0x50de8b(0x545)](_0x516cfb){var _0xcbcf65=_0x50de8b;return this[_0xcbcf65(0x380)]['get'](_0x516cfb);}[_0x50de8b(0x3a7)](_0x294368,_0x2d297c){var _0x2581bc=_0x50de8b;const _0x4391a3=this[_0x2581bc(0x380)][_0x2581bc(0x3b6)](_0x294368);if(_0x4391a3)return _0x4391a3[_0x2581bc(0x3a7)](_0x2d297c);}[_0x50de8b(0x204)](_0x3ca54f){var _0x55e77a=_0x50de8b;const _0x26d9f9=this[_0x55e77a(0x380)][_0x55e77a(0x3b6)](_0x3ca54f);_0x26d9f9&&(_0x26d9f9[_0x55e77a(0x388)](),this[_0x55e77a(0x380)]['delete'](_0x3ca54f));}[_0x50de8b(0x388)](){var _0x39d29c=_0x50de8b;this[_0x39d29c(0x380)]['forEach'](_0x19e272=>_0x19e272[_0x39d29c(0x388)]()),this[_0x39d29c(0x380)]['clear'](),this['_roomCreated$'][_0x39d29c(0x484)]();}},exports[_0x50de8b(0x37a)]=Wt([Ve(0x0,o['IUniverInstanceService']),Ve(0x1,o['Inject'](o['UserManagerService']))],exports['MemberService']);class Gt extends o['Disposable']{constructor(){var _0x144e41=_0x50de8b;super(...arguments),A(this,_0x144e41(0x266),new Map()),A(this,_0x144e41(0x334),new j[(_0x144e41(0x454))](this[_0x144e41(0x266)])),A(this,'members$',this[_0x144e41(0x334)][_0x144e41(0x237)]());}[_0x50de8b(0x388)](){var _0x3e632e=_0x50de8b;this[_0x3e632e(0x266)]['clear']();}['updateMember'](_0x3a2aa1){var _0x239d94=_0x50de8b;this[_0x239d94(0x266)][_0x239d94(0x562)](_0x3a2aa1['memberID'],_0x3a2aa1),this['_emitMembers']();}[_0x50de8b(0x20a)](_0x114af4){var _0x506703=_0x50de8b;this[_0x506703(0x266)][_0x506703(0x261)](_0x114af4);}[_0x50de8b(0x3a7)](_0x199450){var _0x17a053=_0x50de8b;return this[_0x17a053(0x266)][_0x17a053(0x3b6)](_0x199450);}['getAllMembers'](){var _0x1cc29f=_0x50de8b;return Array[_0x1cc29f(0x3f1)](this[_0x1cc29f(0x266)][_0x1cc29f(0x1c9)]());}['_emitMembers'](){var _0x3e469e=_0x50de8b;this[_0x3e469e(0x334)][_0x3e469e(0x305)](this[_0x3e469e(0x266)]);}}var Yt=Object['getOwnPropertyDescriptor'],Kt=(_0x30d3b0,_0x3a5e62,_0x38edc9,_0x104809)=>{var _0x9dd0df=_0x50de8b;for(var _0x26ccfd=_0x104809>0x1?void 0x0:_0x104809?Yt(_0x3a5e62,_0x38edc9):_0x3a5e62,_0x1798a1=_0x30d3b0[_0x9dd0df(0x3a9)]-0x1,_0xc79c0f;_0x1798a1>=0x0;_0x1798a1--)(_0xc79c0f=_0x30d3b0[_0x1798a1])&&(_0x26ccfd=_0xc79c0f(_0x26ccfd)||_0x26ccfd);return _0x26ccfd;},ce=(_0x3579df,_0x333c0d)=>(_0x519ccd,_0x5d57ba)=>_0x333c0d(_0x519ccd,_0x5d57ba,_0x3579df),se=(_0x22c2e6=>(_0x22c2e6[_0x22c2e6['IDLE']=0x0]=_0x50de8b(0x3ce),_0x22c2e6[_0x22c2e6['JOINING']=0x1]=_0x50de8b(0x34b),_0x22c2e6[_0x22c2e6[_0x50de8b(0x2f0)]=0x2]=_0x50de8b(0x2f0),_0x22c2e6[_0x22c2e6[_0x50de8b(0x2ea)]=0x3]=_0x50de8b(0x2ea),_0x22c2e6))(se||{});const We={[re[_0x50de8b(0x4e9)]]:_0x50de8b(0x4d4),[re[_0x50de8b(0x291)]]:_0x50de8b(0x1f7),[re['JOIN_ROOM_NOT_EXISTS']]:_0x50de8b(0x3f0),[re[_0x50de8b(0x4a4)]]:_0x50de8b(0x26c),[re['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x50de8b(0x1d2)};exports[_0x50de8b(0x358)]=class extends o[_0x50de8b(0x1fb)]{constructor(_0x3d2464,_0x48464a,_0x3a88c1,_0xd64ecb,_0x304b7b,_0x37d9b2,_0x34d7ce,_0x2dbc31){var _0x214dbc=_0x50de8b;super(),A(this,_0x214dbc(0x51d),new j[(_0x214dbc(0x454))](0x0)),A(this,'sessionStatus$',this[_0x214dbc(0x51d)][_0x214dbc(0x237)]()),A(this,'_event$',new j['Subject']()),A(this,_0x214dbc(0x46c),this[_0x214dbc(0x244)][_0x214dbc(0x237)]()),A(this,_0x214dbc(0x48b)),A(this,_0x214dbc(0x363)),A(this,_0x214dbc(0x420)),A(this,_0x214dbc(0x37f),!0x1),A(this,_0x214dbc(0x303),null),(this[_0x214dbc(0x471)]=_0x3d2464,this[_0x214dbc(0x3cc)]=_0x3a88c1,this[_0x214dbc(0x26e)]=_0xd64ecb,this[_0x214dbc(0x456)]=_0x304b7b,this['_commentService']=_0x37d9b2,this['_collaborationUIEventService']=_0x34d7ce,this['_telemetryService']=_0x2dbc31,this['_shouldReportTelemetry']=!!this[_0x214dbc(0x550)],_0x48464a[_0x214dbc(0x39f)](j[_0x214dbc(0x506)](this[_0x214dbc(0x3f4)]))['subscribe'](_0xab0aac=>{var _0x328145=_0x214dbc,_0x49ec1a;typeof _0xab0aac>'u'||(this[_0x328145(0x48b)]=_0xab0aac,_0xab0aac?(this[_0x328145(0x328)](_0xab0aac),this[_0x328145(0x363)]=_0xab0aac[_0x328145(0x3be)][_0x328145(0x520)](_0x452144=>{var _0xd71c76=_0x328145;_0x452144[_0xd71c76(0x53d)]===this[_0xd71c76(0x471)]&&this[_0xd71c76(0x384)](_0x452144);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x328145(0x51d)][_0x328145(0x305)](0x2),(_0x49ec1a=this[_0x328145(0x363)])==null||_0x49ec1a[_0x328145(0x4dc)](),this['_socketMessageSubscription']=null));}));}get[_0x50de8b(0x481)](){var _0x19113a=_0x50de8b;return this[_0x19113a(0x51d)]['getValue']();}[_0x50de8b(0x3df)](){var _0x30bfd2=_0x50de8b,_0x86d16f,_0x20cc08;return(_0x20cc08=(_0x86d16f=this[_0x30bfd2(0x48b)])==null?void 0x0:_0x86d16f[_0x30bfd2(0x391)])!=null?_0x20cc08:null;}[_0x50de8b(0x388)](){var _0x57629b=_0x50de8b;super[_0x57629b(0x388)](),this['dispose$'][_0x57629b(0x305)](),this[_0x57629b(0x3f4)][_0x57629b(0x484)]();}[_0x50de8b(0x423)](){var _0xa0592d=_0x50de8b,_0x1ff616,_0x485d75;this[_0xa0592d(0x1f0)](),(_0x1ff616=this[_0xa0592d(0x48b)])==null||_0x1ff616[_0xa0592d(0x39a)]({'cmd':W[_0xa0592d(0x1f2)],'data':{'roomID':this[_0xa0592d(0x471)]}}),(_0x485d75=this[_0xa0592d(0x48b)])==null||_0x485d75['close'](),this[_0xa0592d(0x244)][_0xa0592d(0x484)](),this[_0xa0592d(0x51d)][_0xa0592d(0x484)](),this[_0xa0592d(0x388)]();}[_0x50de8b(0x384)](_0xed55a6){var _0xef39d6=_0x50de8b;_0xed55a6[_0xef39d6(0x24f)]===W['JOIN']?this['_onJoinRoomEvent'](_0xed55a6):_0xed55a6[_0xef39d6(0x24f)]===W[_0xef39d6(0x526)]&&this[_0xef39d6(0x32e)](_0xed55a6);}['_joinRoom'](_0x4fbad6){var _0x4418b1=_0x50de8b;this[_0x4418b1(0x51d)]['next'](0x1),_0x4fbad6[_0x4418b1(0x39a)]({'cmd':W[_0x4418b1(0x4ae)],'routeKey':this[_0x4418b1(0x471)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4418b1(0x471)]}]}});}[_0x50de8b(0x542)](_0x57fc8e){var _0x59c80d=_0x50de8b,_0xa62859;if(_0x57fc8e[_0x59c80d(0x4e2)]in We){this[_0x59c80d(0x1e3)][_0x59c80d(0x1fa)]({'id':J['JOIN_ROOM_FAILED'],'data':We[_0x57fc8e['code']]}),this[_0x59c80d(0x51d)][_0x59c80d(0x305)](0x2);return;}this[_0x59c80d(0x51d)][_0x59c80d(0x305)](0x3);const _0xf924da=(_0xa62859=_0x57fc8e['data'][_0x59c80d(0x54d)][this[_0x59c80d(0x471)]])==null?void 0x0:_0xa62859[_0x59c80d(0x21e)];_0xf924da&&_0xf924da[_0x59c80d(0x1fd)](_0x205baf=>this[_0x59c80d(0x456)][_0x59c80d(0x2df)](this[_0x59c80d(0x471)],_0x205baf));}[_0x50de8b(0x32e)](_0x23ae31){var _0x2d52b9=_0x50de8b;try{const _0x435485=_0x23ae31[_0x2d52b9(0x200)];switch(_0x435485[_0x2d52b9(0x52b)]){case E[_0x2d52b9(0x2d7)][_0x2d52b9(0x2c9)]:this[_0x2d52b9(0x3ca)](_0x435485),this['_event$'][_0x2d52b9(0x305)](_0x435485);break;case E[_0x2d52b9(0x2d7)][_0x2d52b9(0x30c)]:this['_onUserLeave'](_0x435485),this[_0x2d52b9(0x244)][_0x2d52b9(0x305)](_0x435485);break;case E[_0x2d52b9(0x2d7)]['CHANGESET_ACK']:case E[_0x2d52b9(0x2d7)]['CHANGESET_SHOULD_RETRY']:this[_0x2d52b9(0x552)](),this[_0x2d52b9(0x249)](),this[_0x2d52b9(0x244)][_0x2d52b9(0x305)](_0x435485);break;case E[_0x2d52b9(0x2d7)]['MSG_FOR_ERROR']:this[_0x2d52b9(0x3cc)][_0x2d52b9(0x4fe)](_0x2d52b9(0x46d)+JSON[_0x2d52b9(0x54c)](_0x435485)),this[_0x2d52b9(0x244)][_0x2d52b9(0x305)](_0x435485);break;case E[_0x2d52b9(0x2d7)]['COMMENT_UPDATE']:this[_0x2d52b9(0x2b9)][_0x2d52b9(0x505)](_0x435485[_0x2d52b9(0x200)]),this['_event$'][_0x2d52b9(0x305)](_0x435485);break;default:this[_0x2d52b9(0x244)][_0x2d52b9(0x305)](_0x435485);}}catch(_0x63d265){this[_0x2d52b9(0x3cc)][_0x2d52b9(0x4fe)](_0x63d265,_0x23ae31);}}[_0x50de8b(0x3ca)](_0x5494eb){var _0x394714=_0x50de8b;this[_0x394714(0x456)][_0x394714(0x2df)](this[_0x394714(0x471)],_0x5494eb[_0x394714(0x200)]);}['_onUserLeave'](_0x438aa1){var _0x27c9c0=_0x50de8b;this['_memberService'][_0x27c9c0(0x20a)](this['_unitID'],_0x438aa1['data'][_0x27c9c0(0x391)]);}async[_0x50de8b(0x39a)](_0x2da282,_0x5ebdd7){var _0x498a44=_0x50de8b;if(this[_0x498a44(0x481)]!==0x3||!this[_0x498a44(0x48b)])throw new Error(_0x498a44(0x551));try{_0x2da282[_0x498a44(0x52b)]===E[_0x498a44(0x2d7)]['SUBMIT_CHANGESET']&&(this[_0x498a44(0x32a)](),this[_0x498a44(0x327)](_0x2da282)),this['_socket'][_0x498a44(0x39a)]({'cmd':W['INGEST'],'routeKey':_0x5ebdd7,'routeType':'','data':_0x2da282});}catch(_0x5702f9){this[_0x498a44(0x3cc)][_0x498a44(0x4fe)](_0x5702f9);}}[_0x50de8b(0x32a)](){var _0x3079cd=_0x50de8b,_0x7707a7;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x5f39b1=_0x391f;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService'][_0x5f39b1(0x1fa)]({'id':J[_0x5f39b1(0x31f)]});},(_0x7707a7=this[_0x3079cd(0x26e)][_0x3079cd(0x3d6)](ke))!=null?_0x7707a7:lt);}['_clearCollaborationTimeoutTimer'](){var _0x8ab56=_0x50de8b;this[_0x8ab56(0x420)]&&(clearTimeout(this[_0x8ab56(0x420)]),this['_collaborationTimeoutTimer']=null);}[_0x50de8b(0x327)](_0x478d60){var _0x3c48f3=_0x50de8b;if(!this[_0x3c48f3(0x37f)])return;const {data:_0x53c21a}=_0x478d60,{unitID:_0x591369,changeset:_0x223c55}=_0x53c21a,{mutations:_0x2125f9,type:_0x51f5c7}=_0x223c55;this[_0x3c48f3(0x303)]={'unitId':_0x591369,'type':_0x51f5c7,'startTime':performance[_0x3c48f3(0x2d1)](),'stopTime':0x0,'duration':0x0,'size':Ft(_0x2125f9)};}[_0x50de8b(0x552)](){var _0x4a61cd=_0x50de8b;if(this[_0x4a61cd(0x37f)]){if(!this[_0x4a61cd(0x303)]){this[_0x4a61cd(0x3cc)][_0x4a61cd(0x4fe)](_0x4a61cd(0x3e0),_0x4a61cd(0x535));return;}this[_0x4a61cd(0x303)][_0x4a61cd(0x4fd)]=performance[_0x4a61cd(0x2d1)](),this[_0x4a61cd(0x303)][_0x4a61cd(0x3ac)]=this[_0x4a61cd(0x303)]['stopTime']-this[_0x4a61cd(0x303)][_0x4a61cd(0x354)],this[_0x4a61cd(0x550)]['capture'](Bt,this[_0x4a61cd(0x303)]),this[_0x4a61cd(0x303)]=null;}}[_0x50de8b(0x1f0)](){this['_telemetryInfo']=null;}},exports[_0x50de8b(0x358)]=Kt([ce(0x2,o['ILogService']),ce(0x3,o[_0x50de8b(0x4ac)]),ce(0x4,o[_0x50de8b(0x2fe)](exports['MemberService'])),ce(0x5,o[_0x50de8b(0x2fe)]($e)),ce(0x6,o[_0x50de8b(0x2fe)](ee)),ce(0x7,o[_0x50de8b(0x4d5)](Rt[_0x50de8b(0x2ae)]))],exports[_0x50de8b(0x358)]);const q=o['createIdentifier'](_0x50de8b(0x382));function qt(_0x13632b){var _0x5c0aa4=_0x50de8b;return _0x5c0aa4(0x307)+_0x13632b;}var zt=Object['getOwnPropertyDescriptor'],Xt=(_0x2a9d44,_0x429d41,_0x33000d,_0x1e16e4)=>{var _0x3bce06=_0x50de8b;for(var _0x49f07f=_0x1e16e4>0x1?void 0x0:_0x1e16e4?zt(_0x429d41,_0x33000d):_0x429d41,_0x56ad11=_0x2a9d44[_0x3bce06(0x3a9)]-0x1,_0x40a1f1;_0x56ad11>=0x0;_0x56ad11--)(_0x40a1f1=_0x2a9d44[_0x56ad11])&&(_0x49f07f=_0x40a1f1(_0x49f07f)||_0x49f07f);return _0x49f07f;},Ue=(_0x3505d0,_0x206b20)=>(_0x47f02d,_0x5ed03c)=>_0x206b20(_0x47f02d,_0x5ed03c,_0x3505d0);function Jt(_0x2a557){var _0x285e9f=_0x50de8b;const {unitID:_0x62205f,mutations:_0x104c64}=_0x2a557;return{'unitId':_0x62205f,'subUnitId':_0x104c64[_0x285e9f(0x3a9)]>0x0?_0x104c64[0x0][_0x285e9f(0x390)][_0x285e9f(0x374)]:null};}exports[_0x50de8b(0x4f8)]=class{constructor(_0x2995fe,_0x1a2908,_0x3e90ca){var _0x5143fa=_0x50de8b;this[_0x5143fa(0x3e7)]=_0x2995fe,this[_0x5143fa(0x287)]=_0x1a2908,this[_0x5143fa(0x2ed)]=_0x3e90ca;}['transformSelections'](_0x255c6f){var _0x333002=_0x50de8b,_0xdfddb3,_0x37a21d,_0x1147c4,_0x403790;const _0x22c8ff=this[_0x333002(0x3e7)][_0x333002(0x3b6)](Q[_0x333002(0x393)]),{unitId:_0x214c4e,subUnitId:_0x24fe57}=Jt(_0x255c6f),_0x1dd421=_0x22c8ff==null?void 0x0:_0x22c8ff['getWorkbookSelections'](_0x214c4e)[_0x333002(0x44c)](),_0x519999=(_0x37a21d=(_0xdfddb3=this[_0x333002(0x2ed)][_0x333002(0x348)](_0x214c4e))==null?void 0x0:_0xdfddb3[_0x333002(0x2bd)]())==null?void 0x0:_0x37a21d[_0x333002(0x23b)]();if(_0x1dd421[_0x333002(0x3a9)]===0x0||!_0x214c4e||!_0x24fe57)return;const _0x51df35=[{'id':Q[_0x333002(0x4b9)]['id'],'params':{'unitId':_0x214c4e,'subUnitId':_0x519999,'selections':o[_0x333002(0x518)][_0x333002(0x224)](_0x1dd421)}}],_0xaa0b33=this[_0x333002(0x287)][_0x333002(0x43b)](_0x255c6f,_0x51df35);if(!E['isTransformMutationsWithChangesetSuccess'](_0xaa0b33))throw _0xaa0b33[_0x333002(0x4fe)];const _0x5a0c97=(_0x403790=(_0x1147c4=_0xaa0b33[_0x333002(0x296)][0x0])==null?void 0x0:_0x1147c4[_0x333002(0x390)])==null?void 0x0:_0x403790['selections'];if(Array[_0x333002(0x486)](_0x5a0c97)&&_0x5a0c97[_0x333002(0x3a9)]){if(_0x5a0c97[_0x333002(0x3a9)]===_0x51df35[0x0][_0x333002(0x390)][_0x333002(0x283)]['length']&&_0x5a0c97['every']((_0x4620b0,_0x14d8cf)=>o['Rectangle'][_0x333002(0x359)](_0x4620b0[_0x333002(0x45f)],_0x51df35[0x0][_0x333002(0x390)][_0x333002(0x283)][_0x14d8cf][_0x333002(0x45f)])))return;this[_0x333002(0x3e7)]['get'](o[_0x333002(0x24e)])['executeCommand'](Q[_0x333002(0x4b9)]['id'],{'unitId':_0x214c4e,'subUnitId':_0x519999,'selections':_0x5a0c97});}}},exports[_0x50de8b(0x4f8)]=Xt([Ue(0x0,o[_0x50de8b(0x2fe)](o['Injector'])),Ue(0x1,E['ITransformService']),Ue(0x2,o[_0x50de8b(0x35a)])],exports['SheetTransformSelectionsService']);const ve=o[_0x50de8b(0x2c4)](_0x50de8b(0x219));var He=(_0x453aed=>(_0x453aed[_0x453aed[_0x50de8b(0x3cb)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x453aed[_0x453aed[_0x50de8b(0x50a)]=0x1]='OTHER_CLIENTS_EDITING',_0x453aed))(He||{});const Y=_0x50de8b(0x312),Zt={},Qt=new Set([Q[_0x50de8b(0x475)]['id']]);function Ge(_0x1232ce,_0x184567,_0x74624b,_0x1e8db5,_0x3c277c){var _0x2cc080=_0x50de8b,_0x431909,_0x11b11f,_0x2e5501,_0x34ba26;const _0x4860d4=[];for(const _0x28ea69 of _0x1232ce)if(Qt[_0x2cc080(0x346)](_0x28ea69['id'])){if(_0x4860d4[_0x2cc080(0x3a9)]>0x0)break;_0x4860d4['push'](_0x28ea69);break;}else _0x4860d4[_0x2cc080(0x459)](_0x28ea69);const _0x444ce8=(_0x11b11f=(_0x431909=_0x3c277c[_0x2cc080(0x1dc)]())==null?void 0x0:_0x431909[_0x2cc080(0x300)])!=null?_0x11b11f:'unknown',_0x4f1945=(_0x34ba26=(_0x2e5501=_0x3c277c['getCurrentUser']())==null?void 0x0:_0x2e5501[_0x2cc080(0x391)])!=null?_0x34ba26:_0x2cc080(0x339);return{'changeset':{'unitID':_0x184567,'type':E[_0x2cc080(0x4b0)](_0x74624b[_0x2cc080(0x2f5)](_0x184567)),'baseRev':_0x1e8db5[_0x2cc080(0x48f)](_0x184567),'revision':0x0,'userID':_0x444ce8,'memberID':_0x4f1945,'mutations':_0x4860d4},'pendingMutations':_0x1232ce[_0x2cc080(0x435)](_0x4860d4[_0x2cc080(0x3a9)])};}function ei(_0xf3ca0b,_0x130fcc,_0x4f3bc1,_0xfcd487,_0x341f25){var _0x5ee959=_0x50de8b,_0x1ccfcd,_0x1cabd9,_0x5dc7fe,_0x2e31be;const _0x9d6949=[_0xf3ca0b[_0x5ee959(0x2fb)]((_0x2d8431,_0x556d0d)=>{var _0x4898a5=_0x5ee959,_0x5415e9;const {id:_0x568e80}=_0x2d8431,{id:_0x19bae2,type:_0x385e4a}=_0x556d0d,_0xb3802e=(_0x5415e9=_0x2d8431['params'])!=null?_0x5415e9:{'actions':null},_0x20cc2c=_0x556d0d['params'];if(_0x568e80&&_0x568e80!==_0x19bae2)throw new Error(_0x4898a5(0x4c7)+_0x568e80+_0x4898a5(0x22a)+_0x19bae2+'.');return{..._0x2d8431,'id':_0x19bae2,'type':_0x385e4a,'params':{'unitId':_0x20cc2c[_0x4898a5(0x516)],'textRanges':_0x20cc2c[_0x4898a5(0x1ee)],'actions':o[_0x4898a5(0x347)][_0x4898a5(0x3db)](_0xb3802e[_0x4898a5(0x468)],_0x20cc2c['actions'])}};},{})],_0x333db3=(_0x1cabd9=(_0x1ccfcd=_0x341f25[_0x5ee959(0x1dc)]())==null?void 0x0:_0x1ccfcd[_0x5ee959(0x300)])!=null?_0x1cabd9:_0x5ee959(0x339),_0x55ca31=(_0x2e31be=(_0x5dc7fe=_0x341f25[_0x5ee959(0x1dc)]())==null?void 0x0:_0x5dc7fe[_0x5ee959(0x391)])!=null?_0x2e31be:'unknown';return{'changeset':{'unitID':_0x130fcc,'type':E[_0x5ee959(0x4b0)](_0x4f3bc1[_0x5ee959(0x2f5)](_0x130fcc)),'baseRev':_0xfcd487[_0x5ee959(0x48f)](_0x130fcc),'revision':0x0,'userID':_0x333db3,'memberID':_0x55ca31,'mutations':_0x9d6949},'pendingMutations':[]};}function St(_0x10d092,_0x81a81a){var _0x395d13=_0x50de8b;const _0x492a2e=new j['ReplaySubject'](0x1);return setTimeout(()=>_0x492a2e['next'](_0x81a81a),_0x10d092),_0x492a2e['asObservable']()[_0x395d13(0x39f)](j[_0x395d13(0x413)](0x1));}var ti=Object[_0x50de8b(0x2d5)],ae=(_0x5ea291,_0x53d508,_0x10d13f,_0x22fa85)=>{var _0x566c27=_0x50de8b;for(var _0x52f27a=_0x22fa85>0x1?void 0x0:_0x22fa85?ti(_0x53d508,_0x10d13f):_0x53d508,_0x3d70f7=_0x5ea291[_0x566c27(0x3a9)]-0x1,_0x4539d2;_0x3d70f7>=0x0;_0x3d70f7--)(_0x4539d2=_0x5ea291[_0x3d70f7])&&(_0x52f27a=_0x4539d2(_0x52f27a)||_0x52f27a);return _0x52f27a;},L=(_0x3740dd,_0x4d7057)=>(_0x3b4191,_0x5bd4a2)=>_0x4d7057(_0x3b4191,_0x5bd4a2,_0x3740dd),je=(_0x4f823e=>(_0x4f823e[_0x50de8b(0x33d)]=_0x50de8b(0x331),_0x4f823e[_0x50de8b(0x434)]=_0x50de8b(0x39b),_0x4f823e[_0x50de8b(0x23e)]=_0x50de8b(0x386),_0x4f823e[_0x50de8b(0x3d2)]='awaiting',_0x4f823e[_0x50de8b(0x3c4)]=_0x50de8b(0x3da),_0x4f823e[_0x50de8b(0x53e)]='fetch_missing',_0x4f823e[_0x50de8b(0x447)]='conflict',_0x4f823e['OFFLINE']=_0x50de8b(0x28d),_0x4f823e))(je||{});const It=0xea60;class oe{constructor(_0x1a1558,_0x4f29dd,_0x39529a,_0x3059de,_0x350830,_0x3512df,_0x4a1f47,_0x150528,_0x5cfd54){var _0x19b4ac=_0x50de8b;A(this,'_awaitingChangeset',null),A(this,_0x19b4ac(0x26a),[]),(this[_0x19b4ac(0x53a)]=_0x1a1558,this[_0x19b4ac(0x43f)]=_0x4f29dd,this[_0x19b4ac(0x3d8)]=_0x350830,this[_0x19b4ac(0x523)]=_0x3512df,this[_0x19b4ac(0x4f0)]=_0x4a1f47,this[_0x19b4ac(0x290)]=_0x150528,this[_0x19b4ac(0x256)]=_0x5cfd54,this[_0x19b4ac(0x480)]=_0x39529a,this['_pendingMutations']=_0x3059de);}[_0x50de8b(0x1ef)](_0x3925e5){var _0x1b676c=_0x50de8b;const _0x5574d4=this['_revisionService'][_0x1b676c(0x48f)](this['unitID']);return _0x3925e5[_0x1b676c(0x235)]>_0x5574d4+0x1?(this[_0x1b676c(0x3d8)]['onMissingChangesets']({'from':_0x5574d4,'to':_0x3925e5[_0x1b676c(0x235)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x2b8012){var _0x4940d3=_0x50de8b;this['_undoRedoService'][_0x4940d3(0x2b8)](this[_0x4940d3(0x53a)],_0x2b8012);}[_0x50de8b(0x263)](_0x4b0beb){var _0x5f17da=_0x50de8b,_0x153bfd,_0x1c4812;(_0x1c4812=(_0x153bfd=this[_0x5f17da(0x3d8)])[_0x5f17da(0x2aa)])==null||_0x1c4812[_0x5f17da(0x51c)](_0x153bfd,_0x4b0beb);}[_0x50de8b(0x4d9)](_0x5d8529){var _0x14a534=_0x50de8b,_0x10f39e,_0x3c6406;return(_0x3c6406=(_0x10f39e=this['_handler'])[_0x14a534(0x2f6)])==null?void 0x0:_0x3c6406[_0x14a534(0x51c)](_0x10f39e,_0x5d8529);}[_0x50de8b(0x494)](_0x7327e3){var _0x3975fb=_0x50de8b,_0x3fbe6b,_0x587e20;return(_0x587e20=(_0x3fbe6b=this[_0x3975fb(0x3d8)])['onTransformState'])==null?void 0x0:_0x587e20[_0x3975fb(0x51c)](_0x3fbe6b,_0x7327e3);}[_0x50de8b(0x41d)](_0x255d66){var _0xc59ea3=_0x50de8b,_0x41c6c3,_0x5b27ef,_0x4ffc26;return(_0x4ffc26=(_0x5b27ef=(_0x41c6c3=this[_0xc59ea3(0x3d8)])[_0xc59ea3(0x28b)])==null?void 0x0:_0x5b27ef['call'](_0x41c6c3,_0x255d66))!=null?_0x4ffc26:_0x255d66;}[_0x50de8b(0x3c8)](_0x3d6552){var _0x139ae6=_0x50de8b,_0x2d3692,_0x2ec120,_0x41a144;return(_0x41a144=(_0x2ec120=(_0x2d3692=this[_0x139ae6(0x3d8)])[_0x139ae6(0x50c)])==null?void 0x0:_0x2ec120['call'](_0x2d3692,_0x3d6552))!=null?_0x41a144:_0x3d6552;}[_0x50de8b(0x45e)](_0x4d95df){var _0x27ca5a=_0x50de8b,_0x32cb3e,_0x2d7236;if(this[_0x27ca5a(0x43f)]===X[_0x27ca5a(0x321)]){const {unitID:_0x27dc35,mutations:_0x446982,memberID:_0x55e20f}=_0x4d95df,_0x4e16e6=_0x446982[_0x27ca5a(0x3a9)]>0x0?_0x446982[0x0]['params'][_0x27ca5a(0x1ee)]:[];Array[_0x27ca5a(0x486)](_0x4e16e6)&&_0x4e16e6[_0x27ca5a(0x3a9)]>0x0&&((_0x2d7236=(_0x32cb3e=this[_0x27ca5a(0x3d8)])[_0x27ca5a(0x45d)])==null||_0x2d7236[_0x27ca5a(0x51c)](_0x32cb3e,{'unitID':_0x27dc35,'memberID':_0x55e20f,'textRanges':_0x4e16e6}));}}[_0x50de8b(0x443)](){var _0x19b8d1=_0x50de8b,_0x343096;(_0x343096=this['_localCacheService'])==null||_0x343096['updateOfflineData'](this[_0x19b8d1(0x53a)],this[_0x19b8d1(0x43f)],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x50de8b(0x398)](){var _0x378225=_0x50de8b;return this[_0x378225(0x290)]['getCurrentRevOfUnit'](this[_0x378225(0x53a)]);}[_0x50de8b(0x45b)](){var _0x1796b1=_0x50de8b;this[_0x1796b1(0x290)][_0x1796b1(0x302)](this[_0x1796b1(0x53a)]);}[_0x50de8b(0x437)](_0x4b28f2){var _0x24ea0f=_0x50de8b,_0x1ce877;let _0x477636=this[_0x24ea0f(0x41d)](_0x4b28f2);_0x477636=this[_0x24ea0f(0x3c8)](_0x477636);const _0x55c301=o['sequenceExecute'](_0x477636[_0x24ea0f(0x278)],this[_0x24ea0f(0x523)],{'fromCollab':!0x0});if(!_0x55c301[_0x24ea0f(0x490)])throw _0x55c301[_0x24ea0f(0x4fe)]instanceof Error?_0x55c301[_0x24ea0f(0x4fe)]:new Error((_0x1ce877=_0x55c301[_0x24ea0f(0x4fe)])!=null?_0x1ce877:_0x24ea0f(0x3b2));this[_0x24ea0f(0x4d9)](_0x477636),this['_transformStateCache'](_0x477636),this[_0x24ea0f(0x461)](_0x4b28f2),this[_0x24ea0f(0x263)](_0x477636),this['_syncEditingCollabCursor'](_0x477636),this[_0x24ea0f(0x45b)]();}}exports[_0x50de8b(0x2ab)]=class extends oe{constructor(_0x4360c3,_0x45a993,_0x2409e6,_0x231c7c,_0x939963,_0x521d8c,_0x33943c,_0xacf6c,_0x33598e,_0x2a83c4){var _0x27fce4=_0x50de8b;super(_0x4360c3,_0x45a993,null,[],_0x2409e6,_0x33943c,_0x521d8c,_0x231c7c,_0x2a83c4),A(this,'status',_0x27fce4(0x39b)),(this[_0x27fce4(0x3e7)]=_0x939963,this['_logService']=_0xacf6c,this[_0x27fce4(0x287)]=_0x33598e,this[_0x27fce4(0x26b)]=_0x2a83c4);}[_0x50de8b(0x42f)](_0x138894){var _0x383a97=_0x50de8b;const _0x566c6e=this[_0x383a97(0x3e7)]['createInstance'](exports[_0x383a97(0x353)],this[_0x383a97(0x53a)],this[_0x383a97(0x43f)],[_0x138894],this[_0x383a97(0x3d8)]);return _0x566c6e[_0x383a97(0x4df)](),_0x566c6e[_0x383a97(0x443)](),_0x566c6e;}[_0x50de8b(0x20e)](_0x80f991){var _0x10f7ed=_0x50de8b;if(this[_0x10f7ed(0x1ef)](_0x80f991))return this['_injector'][_0x10f7ed(0x55c)](exports[_0x10f7ed(0x2cf)],this['unitID'],this[_0x10f7ed(0x43f)],null,[],null,[_0x80f991],this[_0x10f7ed(0x3d8)]);try{const _0x1f8d62=this[_0x10f7ed(0x287)][_0x10f7ed(0x43b)](_0x80f991,[E[_0x10f7ed(0x234)]]);if(E[_0x10f7ed(0x1e2)](_0x1f8d62)){const {c1Prime:_0xfe5e1b}=_0x1f8d62;return this['_executeRemoteChangeset'](_0xfe5e1b),this;}throw _0x1f8d62['error'];}catch(_0xd402e5){return this[_0x10f7ed(0x3cc)][_0x10f7ed(0x4fe)](_0xd402e5),this[_0x10f7ed(0x401)](!0x1);}}[_0x50de8b(0x401)](_0x284a22){var _0x2c3d54=_0x50de8b;return this[_0x2c3d54(0x3e7)][_0x2c3d54(0x55c)](exports['ConflictState'],this[_0x2c3d54(0x53a)],this[_0x2c3d54(0x43f)],null,[],this[_0x2c3d54(0x3d8)],_0x284a22);}[_0x50de8b(0x3a8)](){var _0x3f6b1e=_0x50de8b;throw new Error(_0x3f6b1e(0x2c8));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x50de8b(0x2b6)](){return this;}[_0x50de8b(0x367)](){var _0x495754=_0x50de8b;return this[_0x495754(0x3e7)]['createInstance'](exports['OfflineState'],this[_0x495754(0x53a)],this[_0x495754(0x43f)],null,[],this[_0x495754(0x3d8)]);}['toggleOnline'](){return this;}[_0x50de8b(0x400)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x50de8b(0x3f9)](){var _0x583a36=_0x50de8b;const _0x432416=this[_0x583a36(0x290)][_0x583a36(0x48f)](this['unitID']);return this['_handler'][_0x583a36(0x533)]({'from':_0x432416,'to':0x0}),this[_0x583a36(0x3e7)][_0x583a36(0x55c)](exports[_0x583a36(0x2cf)],this[_0x583a36(0x53a)],this[_0x583a36(0x43f)],null,[],null,[],this[_0x583a36(0x3d8)]);}},exports['SyncedState']=ae([L(0x3,o[_0x50de8b(0x2fe)](E[_0x50de8b(0x4fc)])),L(0x4,o[_0x50de8b(0x2fe)](o['Injector'])),L(0x5,o['IUndoRedoService']),L(0x6,o['ICommandService']),L(0x7,o[_0x50de8b(0x534)]),L(0x8,E['ITransformService']),L(0x9,o[_0x50de8b(0x4d5)](q))],exports[_0x50de8b(0x2ab)]),exports[_0x50de8b(0x353)]=class extends oe{constructor(_0x14ac1f,_0x107221,_0x2e353c,_0x1ba1ad,_0x864ca,_0x350c8e,_0x5e89a4,_0x2dd113,_0xd4a388,_0x16fa20,_0x46c70c,_0x571c2f,_0x334ee2,_0x401cc1){var _0x23659a=_0x50de8b;super(_0x14ac1f,_0x107221,null,_0x2e353c,_0x1ba1ad,_0xd4a388,_0x334ee2,_0x350c8e,_0x401cc1),A(this,_0x23659a(0x3d4),'pending'),A(this,'_scheduleCompleteTimestamp',null),A(this,'_sendingTimer',null),(this[_0x23659a(0x3e7)]=_0x864ca,this['_memberService']=_0x5e89a4,this[_0x23659a(0x3cc)]=_0x2dd113,this[_0x23659a(0x26e)]=_0x16fa20,this['_transformService']=_0x46c70c,this['_univerInstanceService']=_0x571c2f);}['appendMutation'](_0x466f22){var _0x34a60c=_0x50de8b;return this['_pendingMutations'][_0x34a60c(0x459)](_0x466f22),this[_0x34a60c(0x443)](),this;}[_0x50de8b(0x20e)](_0x283595){var _0xa75c59=_0x50de8b;if(this[_0xa75c59(0x1ef)](_0x283595))return this['_clearScheduledTask'](),this['_injector'][_0xa75c59(0x55c)](exports[_0xa75c59(0x2cf)],this[_0xa75c59(0x53a)],this[_0xa75c59(0x43f)],null,this[_0xa75c59(0x26a)],null,[_0x283595],this[_0xa75c59(0x3d8)]);try{const _0x2ee417=this['_transformService'][_0xa75c59(0x43b)](_0x283595,this[_0xa75c59(0x26a)]);if(E[_0xa75c59(0x1e2)](_0x2ee417)){const {c1Prime:_0x44f4fc,m2Prime:_0x3f7de2}=_0x2ee417;this[_0xa75c59(0x437)](_0x44f4fc);const _0x57b4dc=this['_injector'][_0xa75c59(0x55c)](exports['PendingState'],this['unitID'],this[_0xa75c59(0x43f)],_0x3f7de2,this[_0xa75c59(0x3d8)]);this[_0xa75c59(0x3d5)]();const _0x15338f=new Date()['getTime'](),_0x1f7f35=this[_0xa75c59(0x295)]?Math[_0xa75c59(0x383)](this[_0xa75c59(0x295)]-_0x15338f,0x0):this[_0xa75c59(0x320)]();return _0x57b4dc[_0xa75c59(0x4df)](_0x1f7f35),_0x57b4dc;}throw _0x2ee417['error'];}catch(_0x2f9a6b){return this[_0xa75c59(0x3cc)][_0xa75c59(0x4fe)](_0x2f9a6b),this[_0xa75c59(0x401)](!0x1);}}[_0x50de8b(0x3a8)](){var _0x6574ce=_0x50de8b;throw new Error(_0x6574ce(0x547));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x50de8b(0x2b6)](){return this;}[_0x50de8b(0x367)](){var _0x4e6519=_0x50de8b;return this[_0x4e6519(0x3d5)](),this['_injector'][_0x4e6519(0x55c)](exports[_0x4e6519(0x326)],this[_0x4e6519(0x53a)],this[_0x4e6519(0x43f)],null,this[_0x4e6519(0x26a)],this[_0x4e6519(0x3d8)]);}[_0x50de8b(0x3d3)](){return this;}[_0x50de8b(0x4df)](_0x386c76){var _0x188088=_0x50de8b;const _0x49200c=_0x386c76!=null?_0x386c76:this[_0x188088(0x320)]();this[_0x188088(0x295)]=new Date()[_0x188088(0x4b2)]()+_0x49200c,this[_0x188088(0x38c)]=setTimeout(()=>{var _0x4d862a=_0x188088;this[_0x4d862a(0x3d5)]();let _0x4fdcb2=null;switch(this[_0x4d862a(0x43f)]){case X[_0x4d862a(0x33c)]:{_0x4fdcb2=Ge(this[_0x4d862a(0x26a)],this[_0x4d862a(0x53a)],this[_0x4d862a(0x3bf)],this[_0x4d862a(0x290)],this[_0x4d862a(0x456)]);break;}case X[_0x4d862a(0x321)]:{this[_0x4d862a(0x26a)][_0x4d862a(0x4c5)](_0x3e55b8=>_0x3e55b8['id']===ct[_0x4d862a(0x4e0)]['id'])?_0x4fdcb2=ei(this['_pendingMutations'],this['unitID'],this[_0x4d862a(0x3bf)],this['_revisionService'],this[_0x4d862a(0x456)]):_0x4fdcb2=Ge(this[_0x4d862a(0x26a)],this[_0x4d862a(0x53a)],this[_0x4d862a(0x3bf)],this['_revisionService'],this[_0x4d862a(0x456)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x4d862a(0x52a));}const {changeset:_0x1b9960,pendingMutations:_0x178b0d}=_0x4fdcb2;this['_handler'][_0x4d862a(0x3fa)](_0x1b9960);const _0x29c66f=_0x178b0d[_0x4d862a(0x3a9)]?this[_0x4d862a(0x3e7)][_0x4d862a(0x55c)](exports[_0x4d862a(0x254)],this[_0x4d862a(0x53a)],this['type'],_0x1b9960,_0x178b0d,this[_0x4d862a(0x3d8)],void 0x0):this[_0x4d862a(0x3e7)][_0x4d862a(0x55c)](exports[_0x4d862a(0x421)],this['unitID'],this[_0x4d862a(0x43f)],_0x1b9960,this[_0x4d862a(0x3d8)]);_0x29c66f[_0x4d862a(0x443)](),this[_0x4d862a(0x3d8)][_0x4d862a(0x364)](this,_0x29c66f);},_0x49200c);}[_0x50de8b(0x320)](){var _0x3fb73a=_0x50de8b,_0x18c01f;const _0x65141b=this[_0x3fb73a(0x26e)][_0x3fb73a(0x3d6)](Y);return(_0x18c01f=_0x65141b==null?void 0x0:_0x65141b[_0x3fb73a(0x232)])!=null?_0x18c01f:Ut;}[_0x50de8b(0x400)](){var _0x21ed71=_0x50de8b;throw new Error(_0x21ed71(0x4b8));}[_0x50de8b(0x3d5)](){var _0x38f942=_0x50de8b;this[_0x38f942(0x38c)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x38f942(0x38c)]=null);}[_0x50de8b(0x401)](_0x2c2495){var _0xe9b222=_0x50de8b;return this['_clearScheduledTask'](),this[_0xe9b222(0x3e7)][_0xe9b222(0x55c)](exports[_0xe9b222(0x209)],this[_0xe9b222(0x53a)],this[_0xe9b222(0x43f)],null,this[_0xe9b222(0x26a)],this[_0xe9b222(0x3d8)],_0x2c2495);}},exports[_0x50de8b(0x353)]=ae([L(0x4,o[_0x50de8b(0x2fe)](o['Injector'])),L(0x5,o['Inject'](E['RevisionService'])),L(0x6,o[_0x50de8b(0x2fe)](exports['MemberService'])),L(0x7,o[_0x50de8b(0x534)]),L(0x8,o[_0x50de8b(0x24e)]),L(0x9,o[_0x50de8b(0x4ac)]),L(0xa,E['ITransformService']),L(0xb,o[_0x50de8b(0x35a)]),L(0xc,o['IUndoRedoService']),L(0xd,o[_0x50de8b(0x4d5)](q))],exports['PendingState']),exports[_0x50de8b(0x421)]=class extends oe{constructor(_0x323fff,_0x549bd0,_0x4c5fa8,_0x5953fb,_0x477310,_0x4fc906,_0x266d8f,_0x28d0ee,_0x1591e2,_0x1edd81,_0x101bc1){var _0x368052=_0x50de8b;super(_0x323fff,_0x549bd0,_0x4c5fa8,[],_0x5953fb,_0x266d8f,_0x1edd81,_0x4fc906,_0x101bc1),A(this,_0x368052(0x3d4),_0x368052(0x54b)),A(this,_0x368052(0x2ca),0x0),A(this,_0x368052(0x3a1)),A(this,_0x368052(0x4c4)),(this[_0x368052(0x3e7)]=_0x477310,this[_0x368052(0x3cc)]=_0x28d0ee,this[_0x368052(0x287)]=_0x1591e2);}[_0x50de8b(0x42f)](_0x1cb8d4){var _0x4c03ce=_0x50de8b;this[_0x4c03ce(0x3d5)]();const _0x1b2bbb=this[_0x4c03ce(0x3e7)][_0x4c03ce(0x55c)](exports['AwaitingWithPendingState'],this[_0x4c03ce(0x53a)],this[_0x4c03ce(0x43f)],this[_0x4c03ce(0x480)],[_0x1cb8d4],this['_handler'],this[_0x4c03ce(0x3a1)]);return _0x1b2bbb[_0x4c03ce(0x443)](),_0x1b2bbb;}[_0x50de8b(0x20e)](_0x127ff9){var _0x3c0f70=_0x50de8b;if(this[_0x3c0f70(0x1ef)](_0x127ff9))return this['_clearScheduledTask'](),this[_0x3c0f70(0x3e7)][_0x3c0f70(0x55c)](exports[_0x3c0f70(0x2cf)],this[_0x3c0f70(0x53a)],this[_0x3c0f70(0x43f)],this['_awaitingChangeset'],[],null,[_0x127ff9],this[_0x3c0f70(0x3d8)]);try{const _0x29b722=this[_0x3c0f70(0x287)][_0x3c0f70(0x463)]([_0x127ff9],[this['_awaitingChangeset']],!0x1);if(E[_0x3c0f70(0x38e)](_0x29b722)){const {c1Prime:_0x3efe8f,c2Prime:_0xbad1ac}=_0x29b722;this[_0x3c0f70(0x437)](_0x3efe8f[0x0]),_0xbad1ac[0x0][_0x3c0f70(0x210)]=this[_0x3c0f70(0x398)](),this['_clearScheduledTask']();const _0x115a3f=this[_0x3c0f70(0x3e7)][_0x3c0f70(0x55c)](exports['AwaitingState'],this['unitID'],this[_0x3c0f70(0x43f)],_0xbad1ac[0x0],this[_0x3c0f70(0x3d8)]);return _0x115a3f[_0x3c0f70(0x443)](),_0x115a3f;}return this[_0x3c0f70(0x401)](!0x1);}catch(_0x1a91d1){return this['_logService'][_0x3c0f70(0x4fe)](_0x1a91d1),this[_0x3c0f70(0x401)](!0x1);}}[_0x50de8b(0x3a8)](_0x58397a){var _0x39046a=_0x50de8b;this[_0x39046a(0x3d5)]();const _0x207217=this[_0x39046a(0x290)][_0x39046a(0x48f)](this['unitID']);if(_0x58397a[_0x39046a(0x235)]<_0x207217-0x1)return this;if(this[_0x39046a(0x1ef)](_0x58397a))return this[_0x39046a(0x3e7)][_0x39046a(0x55c)](exports[_0x39046a(0x2cf)],this[_0x39046a(0x53a)],this[_0x39046a(0x43f)],null,[],this[_0x39046a(0x480)],[],this['_handler']);this['_incrementRevisionNumber']();const _0xcea39b=this[_0x39046a(0x3e7)][_0x39046a(0x55c)](exports[_0x39046a(0x2ab)],this[_0x39046a(0x53a)],this['type'],this[_0x39046a(0x3d8)]);return _0xcea39b[_0x39046a(0x443)](),_0xcea39b;}[_0x50de8b(0x450)](_0xadd428){var _0x5ae9f3=_0x50de8b;return this[_0x5ae9f3(0x401)](!!(_0xadd428!=null&&_0xadd428['isPermissionRej']));}[_0x50de8b(0x2b6)](_0x325c43){var _0x321bc4=_0x50de8b;return this['_resendTimeout']>It?this[_0x321bc4(0x367)]():(this[_0x321bc4(0x3a1)]=St(this[_0x321bc4(0x2ca)],{'timeout':this['_resendTimeout'],'reqId':_0x325c43['reqId']}),this[_0x321bc4(0x4c4)]=this['_resendTimer'][_0x321bc4(0x520)](({reqId:_0x49ab68,timeout:_0x533584})=>{var _0x56d795=_0x321bc4;this[_0x56d795(0x3c7)](_0x49ab68,_0x533584);}),this);}[_0x50de8b(0x367)](){var _0x3ecc89=_0x50de8b;return this[_0x3ecc89(0x3d5)](),this[_0x3ecc89(0x3e7)][_0x3ecc89(0x55c)](exports['OfflineState'],this[_0x3ecc89(0x53a)],this[_0x3ecc89(0x43f)],this[_0x3ecc89(0x480)],[],this[_0x3ecc89(0x3d8)]);}[_0x50de8b(0x3d3)](){return this;}[_0x50de8b(0x400)](){var _0x52fb3e=_0x50de8b;this[_0x52fb3e(0x3d8)][_0x52fb3e(0x3fa)](this[_0x52fb3e(0x480)]);}[_0x50de8b(0x401)](_0x5efa9f){var _0x1ef8b9=_0x50de8b;return this[_0x1ef8b9(0x3d5)](),this[_0x1ef8b9(0x3e7)][_0x1ef8b9(0x55c)](exports[_0x1ef8b9(0x209)],this['unitID'],this['type'],this[_0x1ef8b9(0x480)],[],this[_0x1ef8b9(0x3d8)],_0x5efa9f);}[_0x50de8b(0x3c7)](_0x4250c8,_0x4720bf){var _0x5286a4=_0x50de8b,_0x283b3d;_0x4250c8===((_0x283b3d=this['_awaitingChangeset'])==null?void 0x0:_0x283b3d[_0x5286a4(0x36a)])&&(this[_0x5286a4(0x400)](),this[_0x5286a4(0x2ca)]=_0x4720bf===0x0?0x3e8:_0x4720bf*0x2);}[_0x50de8b(0x3d5)](){var _0x4fcae5=_0x50de8b,_0x2055de;(_0x2055de=this[_0x4fcae5(0x4c4)])==null||_0x2055de[_0x4fcae5(0x4dc)](),this[_0x4fcae5(0x2ca)]=0x0;}},exports['AwaitingState']=ae([L(0x4,o[_0x50de8b(0x2fe)](o['Injector'])),L(0x5,o['Inject'](E['RevisionService'])),L(0x6,o[_0x50de8b(0x24e)]),L(0x7,o['ILogService']),L(0x8,E[_0x50de8b(0x1e4)]),L(0x9,o[_0x50de8b(0x34e)]),L(0xa,o[_0x50de8b(0x4d5)](q))],exports[_0x50de8b(0x421)]),exports[_0x50de8b(0x254)]=class extends oe{constructor(_0x47d820,_0x396dfd,_0x8e363f,_0x101b8e,_0x3a1327,_0x27bb0a,_0x4fbb91,_0x3dd343,_0x8156c,_0x168fa9,_0xe79fff,_0x288441,_0x464a31){var _0x2d3fa6=_0x50de8b;super(_0x47d820,_0x396dfd,_0x8e363f,_0x101b8e,_0x3a1327,_0x8156c,_0x288441,_0x3dd343,_0x464a31),A(this,_0x2d3fa6(0x3d4),_0x2d3fa6(0x3da)),A(this,_0x2d3fa6(0x2ca),0x0),A(this,_0x2d3fa6(0x3a1)),A(this,_0x2d3fa6(0x4c4)),(this['_injector']=_0x4fbb91,this[_0x2d3fa6(0x3cc)]=_0x168fa9,this['_transformService']=_0xe79fff,this[_0x2d3fa6(0x26b)]=_0x464a31,_0x27bb0a&&(this[_0x2d3fa6(0x3a1)]=_0x27bb0a,this[_0x2d3fa6(0x4c4)]=this[_0x2d3fa6(0x3a1)]['subscribe'](({reqId:_0x5bc5f7,timeout:_0x47eb39})=>{var _0x231d82=_0x2d3fa6;this[_0x231d82(0x3c7)](_0x5bc5f7,_0x47eb39);})));}['appendMutation'](_0x2a5e42){var _0xf14a00=_0x50de8b;return this[_0xf14a00(0x26a)][_0xf14a00(0x459)](_0x2a5e42),this;}[_0x50de8b(0x20e)](_0x13c0ca){var _0x39308b=_0x50de8b;if(this[_0x39308b(0x1ef)](_0x13c0ca))return this[_0x39308b(0x3d5)](),this[_0x39308b(0x3e7)][_0x39308b(0x55c)](exports[_0x39308b(0x2cf)],this[_0x39308b(0x53a)],this[_0x39308b(0x43f)],this['_awaitingChangeset'],this[_0x39308b(0x26a)],null,[_0x13c0ca],this[_0x39308b(0x3d8)]);try{const _0x5df68c=this[_0x39308b(0x287)][_0x39308b(0x463)]([_0x13c0ca],[this[_0x39308b(0x480)]],!0x1);if(E[_0x39308b(0x38e)](_0x5df68c)){const {c1Prime:_0x12ecf1,c2Prime:_0x3d83e9}=_0x5df68c,_0x4789a4=this['_transformService'][_0x39308b(0x43b)](_0x12ecf1[0x0],this[_0x39308b(0x26a)]);if(E[_0x39308b(0x1e2)](_0x4789a4)){const {c1Prime:_0x3b61ed,m2Prime:_0x196493}=_0x4789a4;return this[_0x39308b(0x437)](_0x3b61ed),_0x3d83e9[0x0][_0x39308b(0x210)]=this[_0x39308b(0x398)](),this['_clearScheduledTask'](),this['_injector'][_0x39308b(0x55c)](exports[_0x39308b(0x254)],this['unitID'],this[_0x39308b(0x43f)],_0x3d83e9[0x0],_0x196493,this[_0x39308b(0x3d8)],void 0x0);}throw _0x4789a4[_0x39308b(0x4fe)];}throw _0x5df68c[_0x39308b(0x4fe)];}catch(_0x5bc842){return this[_0x39308b(0x3cc)][_0x39308b(0x4fe)](_0x5bc842),this[_0x39308b(0x401)](!0x1);}}[_0x50de8b(0x3a8)](_0x482ec5){var _0xf0f52b=_0x50de8b;if(this[_0xf0f52b(0x3d5)](),this[_0xf0f52b(0x1ef)](_0x482ec5))return this[_0xf0f52b(0x3e7)][_0xf0f52b(0x55c)](exports['FetchingMissState'],this['unitID'],this[_0xf0f52b(0x43f)],null,this['_pendingMutations'],this[_0xf0f52b(0x480)],[],this[_0xf0f52b(0x3d8)]);this[_0xf0f52b(0x45b)]();const _0x475278=this['_injector']['createInstance'](exports[_0xf0f52b(0x353)],this[_0xf0f52b(0x53a)],this[_0xf0f52b(0x43f)],this[_0xf0f52b(0x26a)],this[_0xf0f52b(0x3d8)]);return _0x475278[_0xf0f52b(0x4df)](),_0x475278[_0xf0f52b(0x443)](),_0x475278;}[_0x50de8b(0x450)](_0x31ff6c){var _0x22808c=_0x50de8b;return this[_0x22808c(0x401)](!!(_0x31ff6c!=null&&_0x31ff6c[_0x22808c(0x1e8)]));}[_0x50de8b(0x2b6)](_0x1be6e4){var _0x293386=_0x50de8b;return this[_0x293386(0x2ca)]>It?this[_0x293386(0x367)]():(this[_0x293386(0x3a1)]=St(this[_0x293386(0x2ca)],{'timeout':this[_0x293386(0x2ca)],'reqId':_0x1be6e4[_0x293386(0x36a)]}),this[_0x293386(0x4c4)]=this[_0x293386(0x3a1)][_0x293386(0x520)](({reqId:_0x1a4dc3,timeout:_0x1f592a})=>{var _0x2374df=_0x293386;this[_0x2374df(0x3c7)](_0x1a4dc3,_0x1f592a);}),this);}[_0x50de8b(0x367)](){var _0xbd65b1=_0x50de8b;return this[_0xbd65b1(0x3d5)](),this[_0xbd65b1(0x3e7)][_0xbd65b1(0x55c)](exports[_0xbd65b1(0x326)],this[_0xbd65b1(0x53a)],this['type'],this[_0xbd65b1(0x480)],this[_0xbd65b1(0x26a)],this[_0xbd65b1(0x3d8)]);}['toggleOnline'](){return this;}[_0x50de8b(0x400)](){var _0x4df668=_0x50de8b;this[_0x4df668(0x3d8)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x50de8b(0x401)](_0x54d481){var _0x516e10=_0x50de8b;return this['_clearScheduledTask'](),this[_0x516e10(0x3e7)][_0x516e10(0x55c)](exports[_0x516e10(0x209)],this[_0x516e10(0x53a)],this['type'],null,this['_pendingMutations'],this[_0x516e10(0x3d8)],_0x54d481);}[_0x50de8b(0x3c7)](_0x38aec7,_0xeecde){var _0x566a58=_0x50de8b,_0x140786;_0x38aec7===((_0x140786=this[_0x566a58(0x480)])==null?void 0x0:_0x140786[_0x566a58(0x36a)])&&(this[_0x566a58(0x400)](),this[_0x566a58(0x2ca)]=_0xeecde===0x0?0x3e8:_0xeecde*0x2);}[_0x50de8b(0x3d5)](){var _0x17ca71=_0x50de8b,_0x5c3f4b;(_0x5c3f4b=this[_0x17ca71(0x4c4)])==null||_0x5c3f4b[_0x17ca71(0x4dc)](),this[_0x17ca71(0x2ca)]=0x0;}},exports[_0x50de8b(0x254)]=ae([L(0x6,o['Inject'](o['Injector'])),L(0x7,o[_0x50de8b(0x2fe)](E[_0x50de8b(0x4fc)])),L(0x8,o['ICommandService']),L(0x9,o[_0x50de8b(0x534)]),L(0xa,E[_0x50de8b(0x1e4)]),L(0xb,o[_0x50de8b(0x34e)]),L(0xc,o[_0x50de8b(0x4d5)](q))],exports['AwaitingWithPendingState']),exports[_0x50de8b(0x209)]=class extends oe{constructor(_0x3955ba,_0x39aacf,_0x1e2266,_0x3bf839,_0x3f5025,_0x1ebc5c=!0x1,_0x50c790,_0x364242,_0x294e74,_0x563c4f,_0x4f139e,_0x1c5859,_0x3e6b8c){var _0x44d606=_0x50de8b;super(_0x3955ba,_0x39aacf,_0x1e2266,_0x3bf839,_0x3f5025,_0x364242,_0x294e74,_0x563c4f,_0x3e6b8c),A(this,_0x44d606(0x3d4),_0x44d606(0x49d)),(this[_0x44d606(0x537)]=_0x1ebc5c,this[_0x44d606(0x211)]=_0x50c790,this['_localeService']=_0x4f139e,this[_0x44d606(0x1e3)]=_0x1c5859,this['localCacheService']=_0x3e6b8c,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x44d606(0x2c7)]());}[_0x50de8b(0x42f)](){return this;}[_0x50de8b(0x20e)](){return this;}[_0x50de8b(0x3a8)](){return this;}[_0x50de8b(0x450)](){return this;}[_0x50de8b(0x2b6)](){return this;}['toggleOffline'](){return this;}[_0x50de8b(0x3d3)](){return this;}[_0x50de8b(0x400)](){var _0x2b8fab=_0x50de8b;throw new Error(_0x2b8fab(0x4a9));}[_0x50de8b(0x360)](){var _0x3dfc44=_0x50de8b,_0x1eef99;(_0x1eef99=this[_0x3dfc44(0x256)])==null||_0x1eef99[_0x3dfc44(0x2dd)](this[_0x3dfc44(0x53a)],this[_0x3dfc44(0x43f)],null,[]);}['_showConflictNotification'](){var _0x499e17=_0x50de8b;this[_0x499e17(0x537)]?this['_collaborationUIEventService']['emitEvent']({'id':J[_0x499e17(0x3c5)]}):this['_collaborationUIEventService'][_0x499e17(0x1fa)]({'id':J[_0x499e17(0x447)]});}[_0x50de8b(0x2c7)](){var _0x377664=_0x50de8b;this['_permissionService'][_0x377664(0x432)](new Q['WorkbookEditablePermission'](this[_0x377664(0x53a)])['id'],!0x1);}},exports[_0x50de8b(0x209)]=ae([L(0x6,o['Inject'](o[_0x50de8b(0x43e)])),L(0x7,o['ICommandService']),L(0x8,o['IUndoRedoService']),L(0x9,o[_0x50de8b(0x2fe)](E['RevisionService'])),L(0xa,o[_0x50de8b(0x2fe)](o['LocaleService'])),L(0xb,o[_0x50de8b(0x2fe)](ee)),L(0xc,o[_0x50de8b(0x4d5)](q))],exports['ConflictState']),exports['OfflineState']=class extends oe{constructor(_0x1cced6,_0x434d08,_0xfcbad0,_0x46feea,_0x3811b8,_0x5822d2,_0x4f48bf,_0x3f35f4,_0x47754e,_0x2a9aa3){var _0x4578fa=_0x50de8b;super(_0x1cced6,_0x434d08,_0xfcbad0,_0x46feea,_0x3811b8,_0x3f35f4,_0x47754e,_0x4f48bf,_0x2a9aa3),A(this,_0x4578fa(0x3d4),_0x4578fa(0x28d)),this[_0x4578fa(0x3e7)]=_0x5822d2;}[_0x50de8b(0x42f)](_0x74c5b7){var _0x1f0dba=_0x50de8b;return this[_0x1f0dba(0x26a)][_0x1f0dba(0x459)](_0x74c5b7),this[_0x1f0dba(0x443)](),this;}[_0x50de8b(0x20e)](_0x475fce){var _0x8115bf=_0x50de8b;throw new Error(_0x8115bf(0x4c0));}[_0x50de8b(0x3a8)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x50de8b(0x450)](){var _0xd70bb3=_0x50de8b;throw new Error(_0xd70bb3(0x3c1));}[_0x50de8b(0x2b6)](){return this;}[_0x50de8b(0x367)](){return this;}[_0x50de8b(0x3d3)](){var _0x38edbd=_0x50de8b;const {_injector:_0x3418fd,_pendingMutations:_0x4adff6,_awaitingChangeset:_0x5a8047,unitID:_0x3f4ad7,_handler:_0x294229,type:_0x111677}=this,_0x32071d=ft(_0x3418fd,_0x3f4ad7,_0x111677,_0x5a8047,_0x4adff6,_0x294229);return _0x32071d instanceof exports[_0x38edbd(0x353)]?_0x32071d['_schedule']():(_0x32071d instanceof exports[_0x38edbd(0x254)]||_0x32071d instanceof exports[_0x38edbd(0x421)])&&_0x32071d[_0x38edbd(0x400)](),_0x32071d;}['resend'](){var _0x69d8e4=_0x50de8b;throw new Error(_0x69d8e4(0x451));}},exports[_0x50de8b(0x326)]=ae([L(0x5,o[_0x50de8b(0x2fe)](o[_0x50de8b(0x221)])),L(0x6,o[_0x50de8b(0x2fe)](E[_0x50de8b(0x4fc)])),L(0x7,o[_0x50de8b(0x24e)]),L(0x8,o['IUndoRedoService']),L(0x9,o[_0x50de8b(0x4d5)](q))],exports[_0x50de8b(0x326)]),exports[_0x50de8b(0x2cf)]=class extends oe{constructor(_0x483f08,_0x581582,_0x208d62,_0x366913,_0x292f8f,_0x404ba2,_0x5d0049,_0x287f11,_0x4c2b24,_0x2807b9,_0x1bae07,_0x217e04,_0x47b941,_0x516f39){var _0x5741b9=_0x50de8b;super(_0x483f08,_0x581582,_0x208d62,_0x366913,_0x5d0049,_0x1bae07,_0x217e04,_0x4c2b24,_0x516f39),A(this,_0x5741b9(0x3d4),_0x5741b9(0x47c)),(this[_0x5741b9(0x2ac)]=_0x292f8f,this['_queuedRemoteChangesets']=_0x404ba2,this[_0x5741b9(0x3e7)]=_0x287f11,this[_0x5741b9(0x3cc)]=_0x2807b9,this['_transformService']=_0x47b941,this[_0x5741b9(0x26b)]=_0x516f39);}[_0x50de8b(0x555)](_0x43c41e){var _0x56f0c8=_0x50de8b;try{const _0x3f726a=[..._0x43c41e,...this[_0x56f0c8(0x53b)]],_0xa3a787=[this[_0x56f0c8(0x480)]||this[_0x56f0c8(0x2ac)]][_0x56f0c8(0x48c)](_0x3a99bc=>!!_0x3a99bc);let _0x396896,_0x1ba201;if(_0xa3a787[_0x56f0c8(0x3a9)]){const _0x563134=this[_0x56f0c8(0x287)][_0x56f0c8(0x463)](_0x3f726a,_0xa3a787,!0x1);if(!E[_0x56f0c8(0x38e)](_0x563134))throw _0x563134[_0x56f0c8(0x4fe)];_0x396896=_0x563134[_0x56f0c8(0x49b)],_0x1ba201=_0x563134[_0x56f0c8(0x53c)];}else _0x396896=_0x3f726a,_0x1ba201=[];let _0x555b17=this[_0x56f0c8(0x26a)];_0x396896[_0x56f0c8(0x1fd)](_0x56c0bb=>{var _0x5c494c=_0x56f0c8;let _0x575671;if(_0x555b17[_0x5c494c(0x3a9)]){const _0x358faa=this[_0x5c494c(0x287)][_0x5c494c(0x43b)](_0x56c0bb,_0x555b17);if(!E['isTransformMutationsWithChangesetSuccess'](_0x358faa))throw _0x358faa[_0x5c494c(0x4fe)];_0x575671=_0x358faa[_0x5c494c(0x49b)],_0x555b17=_0x358faa[_0x5c494c(0x296)];}else _0x575671=_0x56c0bb;this['_executeRemoteChangeset'](_0x575671);}),this[_0x56f0c8(0x2ac)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x1ba201[_0x56f0c8(0x3a9)]&&(_0x1ba201[0x0][_0x56f0c8(0x210)]=this['_getCurrentRevision']());let _0x487388;if(this[_0x56f0c8(0x480)]&&_0x555b17[_0x56f0c8(0x3a9)]!==0x0)_0x487388=this[_0x56f0c8(0x3e7)][_0x56f0c8(0x55c)](exports[_0x56f0c8(0x254)],this[_0x56f0c8(0x53a)],this[_0x56f0c8(0x43f)],_0x1ba201[0x0],_0x555b17,this[_0x56f0c8(0x3d8)],void 0x0);else{if(this[_0x56f0c8(0x480)]&&_0x555b17['length']===0x0)_0x1ba201[0x0][_0x56f0c8(0x210)]=this['_getCurrentRevision'](),_0x487388=this[_0x56f0c8(0x3e7)][_0x56f0c8(0x55c)](exports['AwaitingState'],this[_0x56f0c8(0x53a)],this[_0x56f0c8(0x43f)],_0x1ba201[0x0],this[_0x56f0c8(0x3d8)]);else{if(_0x555b17[_0x56f0c8(0x3a9)]!==0x0){const _0x41146f=this['_injector'][_0x56f0c8(0x55c)](exports[_0x56f0c8(0x353)],this[_0x56f0c8(0x53a)],this['type'],_0x555b17,this[_0x56f0c8(0x3d8)]);_0x41146f[_0x56f0c8(0x4df)](),_0x487388=_0x41146f;}else _0x487388=this['_injector'][_0x56f0c8(0x55c)](exports[_0x56f0c8(0x2ab)],this['unitID'],this[_0x56f0c8(0x43f)],this[_0x56f0c8(0x3d8)]);}}return _0x487388['_updateLocalCache'](),_0x487388;}catch(_0xab15e2){return this[_0x56f0c8(0x3cc)][_0x56f0c8(0x4fe)](_0x56f0c8(0x513),_0x56f0c8(0x441),_0xab15e2),this[_0x56f0c8(0x3e7)]['createInstance'](exports['ConflictState'],this[_0x56f0c8(0x53a)],this[_0x56f0c8(0x43f)],this[_0x56f0c8(0x480)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x50de8b(0x400)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x50de8b(0x42f)](_0x2cc83b){var _0x1555d0=_0x50de8b;return this[_0x1555d0(0x26a)][_0x1555d0(0x459)](_0x2cc83b),this;}[_0x50de8b(0x20e)](_0x5267a2){var _0x51c0f1=_0x50de8b;return this[_0x51c0f1(0x53b)][_0x51c0f1(0x459)](_0x5267a2),this;}[_0x50de8b(0x3a8)](_0x1fb427){var _0x48d51b=_0x50de8b;if(this[_0x48d51b(0x480)])return this['_acknowledgedAwaitingChangeset']=this[_0x48d51b(0x480)],this['_awaitingChangeset']=null,this;throw new Error(_0x48d51b(0x4dd));}[_0x50de8b(0x450)](_0x2527a7){var _0xd72615=_0x50de8b;return this['_onConflict'](!!(_0x2527a7!=null&&_0x2527a7[_0xd72615(0x1e8)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x286f1a=_0x50de8b;return this[_0x286f1a(0x3e7)][_0x286f1a(0x55c)](exports[_0x286f1a(0x326)],this[_0x286f1a(0x53a)],this[_0x286f1a(0x43f)],this[_0x286f1a(0x480)],this[_0x286f1a(0x26a)],this[_0x286f1a(0x3d8)]);}[_0x50de8b(0x3d3)](){return this;}['_onConflict'](_0xd5c7b2){var _0x4d026f=_0x50de8b;return this[_0x4d026f(0x3e7)][_0x4d026f(0x55c)](exports['ConflictState'],this[_0x4d026f(0x53a)],this[_0x4d026f(0x43f)],this['_awaitingChangeset'],this[_0x4d026f(0x26a)],this[_0x4d026f(0x3d8)],_0xd5c7b2);}},exports[_0x50de8b(0x2cf)]=ae([L(0x7,o['Inject'](o[_0x50de8b(0x221)])),L(0x8,o[_0x50de8b(0x2fe)](E[_0x50de8b(0x4fc)])),L(0x9,o[_0x50de8b(0x534)]),L(0xa,o[_0x50de8b(0x24e)]),L(0xb,o['IUndoRedoService']),L(0xc,E[_0x50de8b(0x1e4)]),L(0xd,o[_0x50de8b(0x4d5)](q))],exports[_0x50de8b(0x2cf)]);function ft(_0x17e561,_0x48ce80,_0x4eb396,_0x48302b,_0x345060,_0x198d14){var _0x851a3b=_0x50de8b;return _0x48302b&&_0x345060[_0x851a3b(0x3a9)]?_0x17e561[_0x851a3b(0x55c)](exports[_0x851a3b(0x254)],_0x48ce80,_0x4eb396,_0x48302b,_0x345060,_0x198d14,void 0x0):_0x48302b?_0x17e561['createInstance'](exports[_0x851a3b(0x421)],_0x48ce80,_0x4eb396,_0x48302b,_0x198d14):_0x345060[_0x851a3b(0x3a9)]?_0x17e561[_0x851a3b(0x55c)](exports[_0x851a3b(0x353)],_0x48ce80,_0x4eb396,_0x345060,_0x198d14):_0x17e561[_0x851a3b(0x55c)](exports[_0x851a3b(0x2ab)],_0x48ce80,_0x4eb396,_0x198d14);}var ii=Object[_0x50de8b(0x2d5)],Be=(_0x140d5d,_0x461efe,_0x3eb8cf,_0x7059c)=>{var _0x2c5af2=_0x50de8b;for(var _0x343bb8=_0x7059c>0x1?void 0x0:_0x7059c?ii(_0x461efe,_0x3eb8cf):_0x461efe,_0x3ebffb=_0x140d5d[_0x2c5af2(0x3a9)]-0x1,_0x28b4b0;_0x3ebffb>=0x0;_0x3ebffb--)(_0x28b4b0=_0x140d5d[_0x3ebffb])&&(_0x343bb8=_0x28b4b0(_0x343bb8)||_0x343bb8);return _0x343bb8;},$=(_0xcf27ce,_0x13feaf)=>(_0x2fc3ed,_0x18fbfc)=>_0x13feaf(_0x2fc3ed,_0x18fbfc,_0xcf27ce);exports[_0x50de8b(0x4f6)]=class extends o['RxDisposable']{constructor(_0x478acc,_0x191522,_0x9c44f,_0x1f6e34,_0x47945c,_0x448e6a,_0xf52b6a,_0x559bcc,_0x204201,_0x26e36f,_0xd19647,_0x365258,_0x11b455,_0x43fa64){var _0x307caf=_0x50de8b;super(),A(this,_0x307caf(0x39d),new j[(_0x307caf(0x454))](null)),A(this,_0x307caf(0x361),this['_state$'][_0x307caf(0x237)]()),A(this,_0x307caf(0x419)),A(this,_0x307caf(0x2ce),!0x1),A(this,_0x307caf(0x2da),''),A(this,_0x307caf(0x2c6),0x0),A(this,_0x307caf(0x34d),this[_0x307caf(0x361)][_0x307caf(0x39f)](j[_0x307caf(0x4a1)](_0x5f3957=>_0x5f3957?_0x5f3957['status']:je[_0x307caf(0x2f0)]),j[_0x307caf(0x3e3)](0x1))),A(this,_0x307caf(0x21a),!0x1),A(this,'_remoteChangesetQueue',[]),(this[_0x307caf(0x53a)]=_0x478acc,this[_0x307caf(0x207)]=_0x191522,this[_0x307caf(0x2b3)]=_0x9c44f,this['_injector']=_0x1f6e34,this[_0x307caf(0x522)]=_0x47945c,this['_localeService']=_0x448e6a,this[_0x307caf(0x290)]=_0xf52b6a,this[_0x307caf(0x452)]=_0x559bcc,this[_0x307caf(0x3bf)]=_0x204201,this[_0x307caf(0x3cc)]=_0x26e36f,this['_commandService']=_0xd19647,this[_0x307caf(0x211)]=_0x365258,this[_0x307caf(0x410)]=_0x11b455,this[_0x307caf(0x256)]=_0x43fa64);}get[_0x50de8b(0x267)](){return this['_state'];}async['init'](){var _0x1dd60c=_0x50de8b;if(this[_0x1dd60c(0x267)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x1dd60c(0x41a)]();}[_0x50de8b(0x43c)](){var _0x2b0cd6=_0x50de8b;return this[_0x2b0cd6(0x2ce)]=!0x0,o[_0x2b0cd6(0x47d)](()=>{var _0x219703=_0x2b0cd6;this[_0x219703(0x2ce)]=!0x1,this[_0x219703(0x2eb)]();});}[_0x50de8b(0x40e)](_0x4e3c4c){var _0x472fdb=_0x50de8b;this[_0x472fdb(0x268)](_0x4e3c4c);}[_0x50de8b(0x208)](_0x19a9ae){var _0x328d17=_0x50de8b;this['_state']=_0x19a9ae,this[_0x328d17(0x39d)][_0x328d17(0x305)](_0x19a9ae);}async[_0x50de8b(0x41a)](){var _0x37766d=_0x50de8b,_0x3b2382;this[_0x37766d(0x208)](await this[_0x37766d(0x40c)]()),this[_0x37766d(0x410)]&&((_0x3b2382=this[_0x37766d(0x410)])==null||_0x3b2382[_0x37766d(0x3d1)](this[_0x37766d(0x53a)]),this['disposeWithMe'](this[_0x37766d(0x410)][_0x37766d(0x38b)](this[_0x37766d(0x53a)])[_0x37766d(0x520)](_0x5d10aa=>{var _0x15b591=_0x37766d;this[_0x15b591(0x3cc)][_0x15b591(0x2f1)](_0x15b591(0x529),_0x15b591(0x36d),_0x5d10aa),_0x5d10aa===He[_0x15b591(0x50a)]?(this[_0x15b591(0x452)]['emitEvent']({'id':J[_0x15b591(0x3c0)]}),this[_0x15b591(0x211)][_0x15b591(0x432)](new Q[(_0x15b591(0x1e6))](this[_0x15b591(0x53a)])['id'],!0x1),this[_0x15b591(0x211)][_0x15b591(0x289)](!0x1)):(this['_permissionService'][_0x15b591(0x432)](new Q['WorkbookEditablePermission'](this[_0x15b591(0x53a)])['id'],!0x0),this[_0x15b591(0x211)][_0x15b591(0x289)](!0x0));})));let _0x4bd068=!0x1;return this[_0x37766d(0x366)](this['session'][_0x37766d(0x46a)][_0x37766d(0x520)](_0x1d2e54=>{var _0x5387db=_0x37766d;_0x1d2e54===se['ONLINE']?this['_toggleOnline'](_0x4bd068):_0x1d2e54===se[_0x5387db(0x2f0)]&&(_0x4bd068=!0x0,this[_0x5387db(0x20b)]());})),this['disposeWithMe'](this[_0x37766d(0x207)][_0x37766d(0x46c)][_0x37766d(0x520)](_0x30ac6b=>{var _0x7f2a02=_0x37766d;try{switch(_0x30ac6b[_0x7f2a02(0x52b)]){case E[_0x7f2a02(0x2d7)][_0x7f2a02(0x3a0)]:{this[_0x7f2a02(0x3c9)](E[_0x7f2a02(0x2a7)](_0x30ac6b[_0x7f2a02(0x200)]));break;}case E['CollaborationEvent'][_0x7f2a02(0x336)]:{this[_0x7f2a02(0x4bc)](_0x30ac6b[_0x7f2a02(0x200)]);break;}case E[_0x7f2a02(0x2d7)][_0x7f2a02(0x4fb)]:{this[_0x7f2a02(0x536)]();break;}case E['CollaborationEvent'][_0x7f2a02(0x41f)]:{this['_onRemoteRetry'](_0x30ac6b[_0x7f2a02(0x200)]);break;}case E[_0x7f2a02(0x2d7)][_0x7f2a02(0x509)]:{this[_0x7f2a02(0x1f8)](_0x30ac6b[_0x7f2a02(0x200)][_0x7f2a02(0x333)][_0x7f2a02(0x4a1)](_0x124230=>E[_0x7f2a02(0x2a7)](_0x124230)));break;}case E['CollaborationEvent'][_0x7f2a02(0x489)]:{this[_0x7f2a02(0x536)]({'isPermissionRej':!0x0});break;}case E[_0x7f2a02(0x2d7)][_0x7f2a02(0x50b)]:break;}}catch(_0x67ccb7){throw console[_0x7f2a02(0x4fe)](_0x7f2a02(0x298),_0x67ccb7),_0x67ccb7;}})),this['_state'];}[_0x50de8b(0x49a)](){this['_transitionLocked']=!0x1;}[_0x50de8b(0x3a2)](){var _0x1baf61=_0x50de8b;if(this[_0x1baf61(0x21a)])throw new Error(_0x1baf61(0x4ec));this[_0x1baf61(0x21a)]=!0x0;}[_0x50de8b(0x268)](_0x27d016){var _0x20c944=_0x50de8b;this[_0x20c944(0x3a2)](),this['_updateState'](this[_0x20c944(0x419)][_0x20c944(0x42f)](_0x27d016)),this[_0x20c944(0x49a)]();}[_0x50de8b(0x3c9)](_0x47dd7f){var _0x2e56eb=_0x50de8b;if(!(_0x47dd7f[_0x2e56eb(0x235)]<=this[_0x2e56eb(0x290)]['getCurrentRevOfUnit'](this['unitID']))){if(this[_0x2e56eb(0x2ce)]){this[_0x2e56eb(0x448)][_0x2e56eb(0x459)](_0x47dd7f);return;}this[_0x2e56eb(0x1cb)](_0x47dd7f);}}[_0x50de8b(0x2eb)](){var _0x3d1d37=_0x50de8b;this[_0x3d1d37(0x448)][_0x3d1d37(0x1fd)](_0x132453=>this['_applyRemoteChangeset'](_0x132453)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x320b5a){var _0x572a21=_0x50de8b;const _0x3c0849=this['_compressMutationService'][_0x572a21(0x3e9)][_0x572a21(0x444)](this[_0x572a21(0x522)][_0x572a21(0x3e9)][_0x572a21(0x24d)]()[_0x572a21(0x462)])(_0x320b5a[_0x572a21(0x278)],null)||_0x320b5a[_0x572a21(0x278)],_0x23de26={..._0x320b5a,'mutations':_0x3c0849};this[_0x572a21(0x3a2)](),this[_0x572a21(0x208)](this['_state'][_0x572a21(0x20e)](_0x23de26)),this['_unlockTransition']();}[_0x50de8b(0x4bc)](_0x5dddee){var _0x32aa4e=_0x50de8b;this['_lockTransition'](),this[_0x32aa4e(0x208)](this['_state'][_0x32aa4e(0x3a8)](_0x5dddee)),this[_0x32aa4e(0x49a)]();}[_0x50de8b(0x536)](_0x38c986){var _0x22b380=_0x50de8b;this[_0x22b380(0x3a2)](),this[_0x22b380(0x208)](this[_0x22b380(0x419)][_0x22b380(0x450)](_0x38c986)),this[_0x22b380(0x49a)]();}['_onRemoteRetry'](_0x3d8b66){var _0x2ad1db=_0x50de8b;this['_lockTransition'](),this[_0x2ad1db(0x208)](this['_state'][_0x2ad1db(0x2b6)](_0x3d8b66)),this[_0x2ad1db(0x49a)]();}[_0x50de8b(0x1f8)](_0x10e109){var _0x13c0f1=_0x50de8b;if(!(this['_state']instanceof exports[_0x13c0f1(0x2cf)]))throw new TypeError(_0x13c0f1(0x282));const _0x33dcb6=_0x10e109[_0x13c0f1(0x4a1)](_0x5bddc0=>{var _0x31bc5c=_0x13c0f1;const _0x33fcc8=this['_compressMutationService'][_0x31bc5c(0x3e9)][_0x31bc5c(0x444)](this[_0x31bc5c(0x522)][_0x31bc5c(0x3e9)][_0x31bc5c(0x24d)]()[_0x31bc5c(0x462)])(_0x5bddc0[_0x31bc5c(0x278)],null)||_0x5bddc0[_0x31bc5c(0x278)];return{..._0x5bddc0,'mutations':_0x33fcc8};});this[_0x13c0f1(0x3a2)](),this[_0x13c0f1(0x208)](this[_0x13c0f1(0x419)][_0x13c0f1(0x555)](_0x33dcb6)),this['_unlockTransition']();}[_0x50de8b(0x20b)](){var _0x1cff8c=_0x50de8b;this['_lockTransition'](),this['_updateState'](this[_0x1cff8c(0x419)][_0x1cff8c(0x367)]()),this['_unlockTransition']();}[_0x50de8b(0x501)](_0x24d533=!0x1){var _0x1e9da6=_0x50de8b;this[_0x1e9da6(0x3a2)](),this[_0x1e9da6(0x208)](this[_0x1e9da6(0x419)]['toggleOnline']()),this['_unlockTransition']();const _0x289927=this['_state'];_0x24d533&&_0x289927 instanceof exports[_0x1e9da6(0x2ab)]&&(this[_0x1e9da6(0x3a2)](),this[_0x1e9da6(0x208)](_0x289927[_0x1e9da6(0x3f9)]()),this['_unlockTransition']());}async[_0x50de8b(0x40c)](){return new Promise(_0x408898=>{var _0x2423f7=_0x391f;this[_0x2423f7(0x207)][_0x2423f7(0x46a)][_0x2423f7(0x39f)](j[_0x2423f7(0x413)](0x1))[_0x2423f7(0x520)](async _0x4070bb=>{var _0x119480=_0x2423f7;_0x408898(await this['_createInitialStateImpl'](_0x4070bb===se[_0x119480(0x2ea)]));});});}[_0x50de8b(0x246)](){var _0x3fff79=_0x50de8b;const _0xcd4826=this[_0x3fff79(0x53a)];return{'onStateChange':(_0x24b64c,_0x37b0ab)=>{var _0x5667fc=_0x3fff79;if(_0x24b64c!==this[_0x5667fc(0x419)])throw new Error(_0x5667fc(0x4bb)+_0x24b64c['status']+_0x5667fc(0x499)+_0x37b0ab[_0x5667fc(0x3d4)]+_0x5667fc(0x3ad)+this[_0x5667fc(0x419)][_0x5667fc(0x3d4)]);this[_0x5667fc(0x208)](_0x37b0ab);},'onSendChangeset':_0x45bb3a=>{var _0x3972d2=_0x3fff79;_0x45bb3a[_0x3972d2(0x455)]||(_0x45bb3a[_0x3972d2(0x455)]=this[_0x3972d2(0x2da)],_0x45bb3a[_0x3972d2(0x36a)]=++this[_0x3972d2(0x2c6)]);const _0x187d09={'eventID':E['CollaborationEvent']['SUBMIT_CHANGESET'],'data':{'unitID':_0x45bb3a['unitID'],'unitType':this[_0x3972d2(0x2b3)],'changeset':_0x45bb3a,'memberID':this[_0x3972d2(0x207)][_0x3972d2(0x3df)]()}};this[_0x3972d2(0x207)][_0x3972d2(0x39a)](_0x187d09,this['unitID']);},'onMissingChangesets':({from:_0x9ca3fc,to:_0x43be30})=>{var _0x2fec2e=_0x3fff79;this[_0x2fec2e(0x3cc)][_0x2fec2e(0x2f1)](_0x2fec2e(0x529),_0x2fec2e(0x3b3)+_0x9ca3fc+_0x2fec2e(0x37e)+_0x43be30);const _0x414080={'eventID':E['CollaborationEvent']['FETCH_MISSING'],'data':{'unitID':_0xcd4826,'unitType':this[_0x2fec2e(0x2b3)],'from':_0x9ca3fc,'to':_0x43be30}};this[_0x2fec2e(0x207)][_0x2fec2e(0x39a)](_0x414080,this[_0x2fec2e(0x53a)]);}};}async[_0x50de8b(0x503)](_0x4e05b0){var _0x1527f9=_0x50de8b,_0x584753,_0xa1b51e,_0x5f06f1;const _0x383ed7=await((_0x584753=this[_0x1527f9(0x256)])==null?void 0x0:_0x584753[_0x1527f9(0x4a6)](this['unitID'])),_0x24ff06=(_0xa1b51e=_0x383ed7==null?void 0x0:_0x383ed7[_0x1527f9(0x278)])!=null?_0xa1b51e:[],_0x312fc8=(_0x5f06f1=_0x383ed7==null?void 0x0:_0x383ed7[_0x1527f9(0x2fc)])!=null?_0x5f06f1:null,_0x46608c=!!(_0x312fc8!=null&&_0x312fc8['sid'])&&!!(_0x312fc8!=null&&_0x312fc8[_0x1527f9(0x36a)]);this[_0x1527f9(0x2da)]=_0x46608c?_0x312fc8[_0x1527f9(0x455)]:E[_0x1527f9(0x54a)](),this[_0x1527f9(0x2c6)]=_0x46608c?_0x312fc8[_0x1527f9(0x36a)]:0x0;const _0xdd593e=this[_0x1527f9(0x53a)];try{this[_0x1527f9(0x403)](_0x312fc8,_0x24ff06);}catch(_0x474bf6){this[_0x1527f9(0x3cc)][_0x1527f9(0x4fe)](_0x474bf6);}const _0x18773a=this[_0x1527f9(0x246)]();if(_0x4e05b0){const _0xeec997=ft(this[_0x1527f9(0x3e7)],_0xdd593e,this[_0x1527f9(0x2b3)],_0x312fc8,_0x24ff06,_0x18773a);return _0xeec997 instanceof exports[_0x1527f9(0x353)]?_0xeec997['_schedule']():(_0xeec997 instanceof exports['AwaitingWithPendingState']||_0xeec997 instanceof exports[_0x1527f9(0x421)])&&_0xeec997[_0x1527f9(0x400)](),_0xeec997;}return this[_0x1527f9(0x3e7)]['createInstance'](exports['OfflineState'],_0xdd593e,this[_0x1527f9(0x2b3)],_0x312fc8,_0x24ff06,_0x18773a);}[_0x50de8b(0x403)](_0x1d501c,_0xcf6d00){var _0x3bf9fc=_0x50de8b,_0x32dfc5,_0x5b486e;const _0x3a6d35=this['_compressMutationService']['interceptor'][_0x3bf9fc(0x444)](this[_0x3bf9fc(0x522)][_0x3bf9fc(0x3e9)]['getInterceptPoints']()[_0x3bf9fc(0x462)]);(_0x32dfc5=_0x3a6d35((_0x1d501c==null?void 0x0:_0x1d501c[_0x3bf9fc(0x278)])||[],null))==null||_0x32dfc5['forEach'](_0x2d1f03=>this[_0x3bf9fc(0x523)][_0x3bf9fc(0x556)](_0x2d1f03['id'],_0x2d1f03[_0x3bf9fc(0x390)])),(_0x5b486e=_0x3a6d35(_0xcf6d00||[],null))==null||_0x5b486e['forEach'](_0x2d3398=>this[_0x3bf9fc(0x523)][_0x3bf9fc(0x556)](_0x2d3398['id'],_0x2d3398[_0x3bf9fc(0x390)]));}},exports['CollaborationEntity']=Be([$(0x3,o[_0x50de8b(0x2fe)](o[_0x50de8b(0x221)])),$(0x4,o[_0x50de8b(0x2fe)](E[_0x50de8b(0x3a3)])),$(0x5,o['Inject'](o[_0x50de8b(0x49c)])),$(0x6,o[_0x50de8b(0x2fe)](E[_0x50de8b(0x4fc)])),$(0x7,o['Inject'](ee)),$(0x8,o['IUniverInstanceService']),$(0x9,o[_0x50de8b(0x534)]),$(0xa,o[_0x50de8b(0x24e)]),$(0xb,o[_0x50de8b(0x43e)]),$(0xc,o[_0x50de8b(0x4d5)](ve)),$(0xd,o[_0x50de8b(0x4d5)](q))],exports[_0x50de8b(0x4f6)]),exports[_0x50de8b(0x252)]=class extends exports[_0x50de8b(0x4f6)]{constructor(_0x57869b,_0x140c4a,_0x5398ff,_0x511e93,_0x4529b6,_0x1f0e02,_0x5b9b42,_0xe05126,_0x218df2,_0x3d14d1,_0x1d407e,_0x51649d,_0x59c912,_0x233e66){var _0x4272a2=_0x50de8b;super(_0x57869b,_0x5398ff,_0x140c4a,_0x511e93,_0x4529b6,_0x1f0e02,_0x5b9b42,_0xe05126,_0x218df2,_0x3d14d1,_0x1d407e,_0x51649d,_0x59c912,_0x233e66),A(this,_0x4272a2(0x2b4),null),(this[_0x4272a2(0x53a)]=_0x57869b,this[_0x4272a2(0x43f)]=_0x140c4a);}['addHandlerCallback'](_0x31e7d7){var _0x55a7bc=_0x50de8b;this[_0x55a7bc(0x2b4)]=_0x31e7d7;}['dispose'](){var _0x22aab5=_0x50de8b;this['_handlerCallback']=null,super[_0x22aab5(0x388)]();}[_0x50de8b(0x246)](){var _0x4db1f1=_0x50de8b;const _0x5534da=super[_0x4db1f1(0x246)]();return _0x5534da[_0x4db1f1(0x2f6)]=_0x490946=>{var _0xfa9022=_0x4db1f1,_0x2bd257,_0x588b6f;return(_0x588b6f=(_0x2bd257=this[_0xfa9022(0x2b4)])==null?void 0x0:_0x2bd257[_0xfa9022(0x2f6)])==null?void 0x0:_0x588b6f['call'](_0x2bd257,_0x490946);},_0x5534da[_0x4db1f1(0x245)]=_0x5bc9b7=>{var _0x39f5aa=_0x4db1f1,_0x2e3de2,_0x321d2b;return(_0x321d2b=(_0x2e3de2=this[_0x39f5aa(0x2b4)])==null?void 0x0:_0x2e3de2[_0x39f5aa(0x245)])==null?void 0x0:_0x321d2b[_0x39f5aa(0x51c)](_0x2e3de2,_0x5bc9b7);},_0x5534da[_0x4db1f1(0x2aa)]=_0x537061=>{var _0x1e9576=_0x4db1f1,_0x33ffec,_0xe6798;return(_0xe6798=(_0x33ffec=this[_0x1e9576(0x2b4)])==null?void 0x0:_0x33ffec[_0x1e9576(0x2aa)])==null?void 0x0:_0xe6798[_0x1e9576(0x51c)](_0x33ffec,_0x537061);},_0x5534da[_0x4db1f1(0x45d)]=_0x28a730=>{var _0x29aa12=_0x4db1f1,_0x400c35,_0x50d69d;return(_0x50d69d=(_0x400c35=this[_0x29aa12(0x2b4)])==null?void 0x0:_0x400c35[_0x29aa12(0x45d)])==null?void 0x0:_0x50d69d[_0x29aa12(0x51c)](_0x400c35,_0x28a730);},_0x5534da[_0x4db1f1(0x28b)]=_0x1577c1=>{var _0x1fccfb=_0x4db1f1,_0x1519ca,_0x3c3834,_0x262893;if(!((_0x1519ca=this['_handlerCallback'])!=null&&_0x1519ca['onTransformRemoteChangesetByIMECache']))throw new Error(_0x1fccfb(0x44e));return(_0x262893=(_0x3c3834=this[_0x1fccfb(0x2b4)])==null?void 0x0:_0x3c3834[_0x1fccfb(0x28b)])==null?void 0x0:_0x262893['call'](_0x3c3834,_0x1577c1);},_0x5534da[_0x4db1f1(0x50c)]=_0xd4398a=>{var _0x5b7a10=_0x4db1f1,_0x1706b6,_0x24294f,_0x4d0ed6;if(!((_0x1706b6=this[_0x5b7a10(0x2b4)])!=null&&_0x1706b6[_0x5b7a10(0x50c)]))throw new Error(_0x5b7a10(0x1cf));return(_0x4d0ed6=(_0x24294f=this[_0x5b7a10(0x2b4)])==null?void 0x0:_0x24294f[_0x5b7a10(0x50c)])==null?void 0x0:_0x4d0ed6['call'](_0x24294f,_0xd4398a);},_0x5534da;}async[_0x50de8b(0x41a)](){var _0x143daf=_0x50de8b;const _0x1bc7a1=await super[_0x143daf(0x41a)]();return this[_0x143daf(0x366)](this[_0x143daf(0x523)][_0x143daf(0x2e5)]((_0x1fb62a,_0x32e0c0)=>{var _0x3f9e98=_0x143daf;if(_0x1fb62a[_0x3f9e98(0x43f)]!==o[_0x3f9e98(0x408)][_0x3f9e98(0x4ee)]||_0x32e0c0!=null&&_0x32e0c0[_0x3f9e98(0x31e)]||_0x32e0c0!=null&&_0x32e0c0[_0x3f9e98(0x218)]||_0x1fb62a['id']===ct['RichTextEditingMutation']['id'])return;const _0x371093=_0x1fb62a[_0x3f9e98(0x390)];if((_0x371093==null?void 0x0:_0x371093[_0x3f9e98(0x516)])!==this[_0x3f9e98(0x53a)])return;const _0x4730ca=_0x1fb62a,_0x87908e=this[_0x3f9e98(0x522)][_0x3f9e98(0x3e9)]['fetchThroughInterceptors'](this[_0x3f9e98(0x522)][_0x3f9e98(0x3e9)][_0x3f9e98(0x24d)]()['COMPRESS_MUTATION_SEND'])([_0x4730ca],this[_0x3f9e98(0x3bf)])||[_0x4730ca];this[_0x3f9e98(0x268)](_0x87908e[0x0]);})),_0x1bc7a1;}},exports['DocCollaborationEntity']=Be([$(0x3,o[_0x50de8b(0x2fe)](o['Injector'])),$(0x4,o['Inject'](E[_0x50de8b(0x3a3)])),$(0x5,o[_0x50de8b(0x2fe)](o[_0x50de8b(0x49c)])),$(0x6,o[_0x50de8b(0x2fe)](E['RevisionService'])),$(0x7,o[_0x50de8b(0x2fe)](ee)),$(0x8,o[_0x50de8b(0x35a)]),$(0x9,o[_0x50de8b(0x534)]),$(0xa,o[_0x50de8b(0x24e)]),$(0xb,o[_0x50de8b(0x43e)]),$(0xc,o[_0x50de8b(0x4d5)](ve)),$(0xd,o[_0x50de8b(0x4d5)](q))],exports['DocCollaborationEntity']),exports['SheetCollaborationEntity']=class extends exports[_0x50de8b(0x4f6)]{constructor(_0x407178,_0x43c4f0,_0x50ebcf,_0x358b3c,_0x174538,_0x3281d0,_0x223157,_0x161c7c,_0x33c24a,_0x505cd3,_0x2ed8d6,_0xe6fad7,_0x5c9b92,_0x3eb412,_0x111d7f){var _0x4fd63a=_0x50de8b;super(_0x407178,_0x50ebcf,_0x43c4f0,_0x358b3c,_0x174538,_0x3281d0,_0x223157,_0x33c24a,_0x505cd3,_0x2ed8d6,_0xe6fad7,_0x5c9b92,_0x3eb412,_0x111d7f),this[_0x4fd63a(0x53a)]=_0x407178,this[_0x4fd63a(0x43f)]=_0x43c4f0,this['_sheetTransformSelectionsService']=_0x161c7c;}[_0x50de8b(0x246)](){var _0x45e8ba=_0x50de8b;const _0x3f4d0b=super['_createHandler']();return _0x3f4d0b[_0x45e8ba(0x2aa)]=_0x3269ce=>this[_0x45e8ba(0x309)][_0x45e8ba(0x376)](_0x3269ce),_0x3f4d0b;}async[_0x50de8b(0x41a)](){var _0x30fd68=_0x50de8b;const _0x15119e=await super[_0x30fd68(0x41a)]();return this[_0x30fd68(0x366)](this[_0x30fd68(0x523)]['onCommandExecuted']((_0x396b2e,_0x25fa00)=>{var _0x1e88bb=_0x30fd68;if(_0x396b2e[_0x1e88bb(0x43f)]!==o[_0x1e88bb(0x408)]['MUTATION']||_0x25fa00!=null&&_0x25fa00['fromCollab']||_0x25fa00!=null&&_0x25fa00[_0x1e88bb(0x218)])return;const _0x35b948=_0x396b2e[_0x1e88bb(0x390)];if((_0x35b948==null?void 0x0:_0x35b948[_0x1e88bb(0x516)])!==this[_0x1e88bb(0x53a)])return;const _0xd3569=_0x396b2e,_0xcc59a8=this[_0x1e88bb(0x522)][_0x1e88bb(0x3e9)][_0x1e88bb(0x444)](this[_0x1e88bb(0x522)][_0x1e88bb(0x3e9)][_0x1e88bb(0x24d)]()[_0x1e88bb(0x23c)])([_0xd3569],this[_0x1e88bb(0x3bf)])||[_0xd3569];this[_0x1e88bb(0x268)](_0xcc59a8[0x0]);})),_0x15119e;}},exports[_0x50de8b(0x262)]=Be([$(0x3,o[_0x50de8b(0x2fe)](o[_0x50de8b(0x221)])),$(0x4,o[_0x50de8b(0x2fe)](E[_0x50de8b(0x3a3)])),$(0x5,o['Inject'](o[_0x50de8b(0x49c)])),$(0x6,o['Inject'](E[_0x50de8b(0x4fc)])),$(0x7,o[_0x50de8b(0x2fe)](exports['SheetTransformSelectionsService'])),$(0x8,o[_0x50de8b(0x2fe)](ee)),$(0x9,o[_0x50de8b(0x35a)]),$(0xa,o[_0x50de8b(0x534)]),$(0xb,o['ICommandService']),$(0xc,o[_0x50de8b(0x43e)]),$(0xd,o[_0x50de8b(0x4d5)](ve)),$(0xe,o['Optional'](q))],exports[_0x50de8b(0x262)]);const Et=o[_0x50de8b(0x2c4)](_0x50de8b(0x521));function pt(_0xeef794){var _0x1e4025=_0x50de8b,_0x3d57f0,_0xe92104,_0x14e6ab,_0x4be8ce,_0x1b23b6;const _0x16b599=_0xeef794['data'],_0x228334=JSON['parse'](_0x16b599);switch(_0x228334['cmd']){case W[_0x1e4025(0x1f5)]:case W['HELLO']:{const _0x3e9ad2=_0x228334[_0x1e4025(0x377)];return{..._0x228334,'data':_0x3e9ad2,'cmd':_0x228334['cmd']};}case W[_0x1e4025(0x4ae)]:{const _0x116076=_0x228334[_0x1e4025(0x23a)];return{..._0x228334,'data':_0x116076,'cmd':_0x228334[_0x1e4025(0x24f)]};}case W[_0x1e4025(0x526)]:{const _0x434d81=_0x228334['collaMsg'];switch(_0x434d81[_0x1e4025(0x52b)]){case E[_0x1e4025(0x2d7)][_0x1e4025(0x489)]:return{..._0x228334,'data':{..._0x434d81,'data':(_0x3d57f0=_0x434d81['permissionRejEvent'])==null?void 0x0:_0x3d57f0['cs']},'cmd':_0x228334[_0x1e4025(0x24f)]};case E[_0x1e4025(0x2d7)][_0x1e4025(0x336)]:return{..._0x228334,'data':{..._0x434d81,'data':(_0xe92104=_0x434d81[_0x1e4025(0x292)])==null?void 0x0:_0xe92104['cs']},'cmd':_0x228334[_0x1e4025(0x24f)]};case E['CollaborationEvent'][_0x1e4025(0x3a0)]:return{..._0x228334,'data':{..._0x434d81,'data':(_0x14e6ab=_0x434d81[_0x1e4025(0x504)])==null?void 0x0:_0x14e6ab['cs']},'cmd':_0x228334[_0x1e4025(0x24f)]};case E[_0x1e4025(0x2d7)][_0x1e4025(0x4fb)]:return{..._0x228334,'data':{..._0x434d81,'data':(_0x4be8ce=_0x434d81[_0x1e4025(0x3eb)])==null?void 0x0:_0x4be8ce['cs']},'cmd':_0x228334[_0x1e4025(0x24f)]};case E[_0x1e4025(0x2d7)][_0x1e4025(0x41f)]:return{..._0x228334,'data':{..._0x434d81,'data':(_0x1b23b6=_0x434d81[_0x1e4025(0x259)])==null?void 0x0:_0x1b23b6['cs']},'cmd':_0x228334[_0x1e4025(0x24f)]};case E[_0x1e4025(0x2d7)][_0x1e4025(0x402)]:return{..._0x228334,'data':{..._0x434d81,'data':_0x434d81[_0x1e4025(0x3dd)]},'cmd':_0x228334[_0x1e4025(0x24f)]};case E[_0x1e4025(0x2d7)][_0x1e4025(0x2c9)]:return{..._0x228334,'data':{..._0x434d81,'data':_0x434d81['joinEvent']},'cmd':_0x228334[_0x1e4025(0x24f)]};case E[_0x1e4025(0x2d7)]['USERS_LEAVE']:return{..._0x228334,'data':{..._0x434d81,'data':_0x434d81[_0x1e4025(0x4af)]},'cmd':_0x228334['cmd']};case E['CollaborationEvent'][_0x1e4025(0x453)]:return{..._0x228334,'data':{..._0x434d81,'data':_0x434d81[_0x1e4025(0x362)]},'cmd':_0x228334[_0x1e4025(0x24f)]};case E[_0x1e4025(0x2d7)][_0x1e4025(0x2f3)]:case E[_0x1e4025(0x2d7)][_0x1e4025(0x25c)]:return{..._0x228334,'data':{..._0x434d81,'data':_0x434d81['liveShareOperation']},'cmd':_0x228334['cmd']};case E[_0x1e4025(0x2d7)][_0x1e4025(0x20f)]:return{..._0x228334,'data':{..._0x434d81,'data':_0x434d81[_0x1e4025(0x362)]},'cmd':_0x228334[_0x1e4025(0x24f)]};case E[_0x1e4025(0x2d7)][_0x1e4025(0x473)]:return{..._0x228334,'data':_0x434d81,'cmd':_0x228334[_0x1e4025(0x24f)]};case E[_0x1e4025(0x2d7)][_0x1e4025(0x1fc)]:return{..._0x228334,'data':{..._0x434d81,'data':_0x434d81[_0x1e4025(0x22b)]},'cmd':_0x228334[_0x1e4025(0x24f)]};case E[_0x1e4025(0x2d7)][_0x1e4025(0x48d)]:return{..._0x228334,'data':{..._0x434d81,'data':_0x434d81[_0x1e4025(0x446)]},'cmd':_0x228334[_0x1e4025(0x24f)]};case E[_0x1e4025(0x2d7)]['SHOULD_CLOSE_CONN']:return{..._0x228334,'data':{..._0x434d81,'data':_0x434d81[_0x1e4025(0x34f)]},'cmd':_0x228334[_0x1e4025(0x24f)]};case E[_0x1e4025(0x2d7)][_0x1e4025(0x50b)]:return{..._0x228334,'data':{..._0x434d81,'data':_0x434d81[_0x1e4025(0x2dc)]},'cmd':_0x228334[_0x1e4025(0x24f)]};default:return _0x228334;}}default:return _0x228334;}}function mt(_0x1f3730){var _0x33a718=_0x50de8b;switch(_0x1f3730['cmd']){case W[_0x33a718(0x1f5)]:case W[_0x33a718(0x22d)]:return JSON[_0x33a718(0x54c)]({'cmd':_0x1f3730[_0x33a718(0x24f)],'routeKey':_0x1f3730['routeKey']});case W[_0x33a718(0x214)]:{let _0x1fe116;switch(_0x1f3730['data'][_0x33a718(0x52b)]){case E[_0x33a718(0x2d7)][_0x33a718(0x402)]:{_0x1fe116={'eventID':E['CollaborationEvent'][_0x33a718(0x402)],'updateCursorEvent':_0x1f3730['data']['data']};break;}case E[_0x33a718(0x2d7)]['USERS_LEAVE']:{_0x1fe116={'eventID':E['CollaborationEvent'][_0x33a718(0x30c)],'leaveEvent':_0x1f3730[_0x33a718(0x200)][_0x33a718(0x200)]};break;}case E[_0x33a718(0x2d7)][_0x33a718(0x2c9)]:{_0x1fe116={'eventID':E[_0x33a718(0x2d7)]['USERS_ENTER'],'joinEvent':_0x1f3730['data']['data']};break;}case E[_0x33a718(0x2d7)][_0x33a718(0x453)]:{_0x1fe116={'eventID':E[_0x33a718(0x2d7)][_0x33a718(0x453)],'liveShareNewHost':_0x1f3730[_0x33a718(0x200)][_0x33a718(0x200)]};break;}case E[_0x33a718(0x2d7)][_0x33a718(0x25c)]:{_0x1fe116={'eventID':E[_0x33a718(0x2d7)][_0x33a718(0x25c)],'liveShareOperation':_0x1f3730[_0x33a718(0x200)][_0x33a718(0x200)]};break;}case E[_0x33a718(0x2d7)][_0x33a718(0x20f)]:{_0x1fe116={'eventID':E[_0x33a718(0x2d7)][_0x33a718(0x20f)],'liveShareTerminate':_0x1f3730[_0x33a718(0x200)][_0x33a718(0x200)]};break;}case E[_0x33a718(0x2d7)][_0x33a718(0x351)]:{_0x1fe116={'eventID':E[_0x33a718(0x2d7)][_0x33a718(0x351)],'liveShareRequestHost':_0x1f3730[_0x33a718(0x200)]['data']};break;}case E[_0x33a718(0x2d7)][_0x33a718(0x2f3)]:{_0x1fe116={'eventID':E['CollaborationEvent'][_0x33a718(0x2f3)]};break;}default:_0x1fe116={'eventID':_0x1f3730[_0x33a718(0x200)][_0x33a718(0x52b)]};}return JSON['stringify']({'cmd':_0x1f3730[_0x33a718(0x24f)],'routeKey':_0x1f3730[_0x33a718(0x53d)],'collaMsg':_0x1fe116});}case W[_0x33a718(0x4ae)]:return JSON[_0x33a718(0x54c)]({'cmd':_0x1f3730[_0x33a718(0x24f)],'routeKey':_0x1f3730[_0x33a718(0x53d)],'joinReq':_0x1f3730[_0x33a718(0x200)]});case W[_0x33a718(0x1f2)]:return JSON[_0x33a718(0x54c)]({'cmd':_0x1f3730[_0x33a718(0x24f)],'routeKey':_0x1f3730[_0x33a718(0x53d)],'leaveReq':_0x1f3730['data']});default:throw new Error(_0x33a718(0x2c1));}}var ni=Object[_0x50de8b(0x2d5)],si=(_0x37b54d,_0x3d4922,_0x570369,_0x29a68c)=>{var _0x48e5b8=_0x50de8b;for(var _0x4ca917=_0x29a68c>0x1?void 0x0:_0x29a68c?ni(_0x3d4922,_0x570369):_0x3d4922,_0x56e538=_0x37b54d[_0x48e5b8(0x3a9)]-0x1,_0x3e44a3;_0x56e538>=0x0;_0x56e538--)(_0x3e44a3=_0x37b54d[_0x56e538])&&(_0x4ca917=_0x3e44a3(_0x4ca917)||_0x4ca917);return _0x4ca917;},_e=(_0x33997a,_0x4cfb1f)=>(_0x48b7b9,_0x49dd63)=>_0x4cfb1f(_0x48b7b9,_0x49dd63,_0x33997a);const Fe=o[_0x50de8b(0x2c4)](_0x50de8b(0x4b7));function ri(_0x52f6a1,_0x2f1310,_0x15e5db){var _0x4d8784=_0x50de8b;return _0x52f6a1+'/'+_0x2f1310+_0x4d8784(0x38a)+_0x15e5db+'/new_changes';}exports[_0x50de8b(0x2fa)]=class extends o[_0x50de8b(0x293)]{constructor(_0x1dc93b,_0x4abd89,_0x14986d,_0x4f8d4c,_0x5d5828){var _0x2e7c57=_0x50de8b;super(),this[_0x2e7c57(0x3e7)]=_0x1dc93b,this[_0x2e7c57(0x539)]=_0x4abd89,this[_0x2e7c57(0x26e)]=_0x14986d,this['_logService']=_0x4f8d4c,this[_0x2e7c57(0x2bf)]=_0x5d5828;}[_0x50de8b(0x411)](_0x1684ad){var _0x4c6739=_0x50de8b;const _0x3f5880=this['_injector'][_0x4c6739(0x3b6)](K[_0x4c6739(0x1e7)]);if(!_0x3f5880)throw new Error(_0x4c6739(0x510));const _0xb5f161=_0x3f5880[_0x4c6739(0x313)](_0x1684ad);if(!_0xb5f161)throw new Error(_0x4c6739(0x42b));const _0x28ad58=new o[(_0x4c6739(0x3ee))](),_0x4fc3b9=new j[(_0x4c6739(0x424))]();_0x28ad58['add'](_0xb5f161[_0x4c6739(0x4ef)][_0x4c6739(0x520)](_0x22ebad=>_0x4fc3b9[_0x4c6739(0x305)](_0x22ebad))),_0x28ad58[_0x4c6739(0x230)](o['toDisposable'](()=>_0x4fc3b9[_0x4c6739(0x484)]()));const _0xceb28e=new j[(_0x4c6739(0x424))]();_0x28ad58['add'](_0xb5f161[_0x4c6739(0x31d)][_0x4c6739(0x520)](_0x527db4=>_0xceb28e['next'](_0x527db4))),_0x28ad58['add'](o['toDisposable'](()=>_0xceb28e[_0x4c6739(0x484)]()));const _0x427dfc=new j['Subject']();_0x28ad58[_0x4c6739(0x230)](_0xb5f161[_0x4c6739(0x3be)][_0x4c6739(0x520)](_0x392194=>{var _0x4d27f1=_0x4c6739;const _0x3c62c6=pt(_0x392194);_0x427dfc[_0x4d27f1(0x305)](_0x3c62c6);})),_0x28ad58[_0x4c6739(0x230)](o[_0x4c6739(0x47d)](()=>_0x427dfc[_0x4c6739(0x484)]()));let _0x5e0d5f;const _0xd785e=()=>{var _0x337505=_0x4c6739;_0xceb28e['next'](new Event(_0x337505(0x2d0))),_0x4fc3b9[_0x337505(0x305)](new Event('connection\x20error')),_0x5e0d5f[_0x337505(0x423)]();};return _0x5e0d5f={'memberID':'','close$':_0x4fc3b9[_0x4c6739(0x237)](),'error$':_0xceb28e['asObservable'](),'open$':_0xb5f161[_0x4c6739(0x51b)],'message$':_0x427dfc['asObservable'](),'send':_0x472a1b=>{var _0x194b21=_0x4c6739;if(_0x472a1b[_0x194b21(0x24f)]===W[_0x194b21(0x214)]){if(_0x472a1b['data']['eventID']===E[_0x194b21(0x2d7)][_0x194b21(0x3f5)]){this[_0x194b21(0x470)](_0x5e0d5f,_0x472a1b['data'])[_0x194b21(0x365)](_0x2fe4e8=>{var _0x28256c=_0x194b21;this[_0x28256c(0x3cc)][_0x28256c(0x4fe)](_0x2fe4e8),_0xd785e();});return;}if(_0x472a1b[_0x194b21(0x200)]['eventID']===E[_0x194b21(0x2d7)][_0x194b21(0x29e)]){const _0x5a1bb7=_0x472a1b[_0x194b21(0x200)];this['_fetchMissChangesets'](_0x5a1bb7)[_0x194b21(0x4d0)](_0x330cac=>{var _0x151c18=_0x194b21;_0x427dfc[_0x151c18(0x305)]({'cmd':W['RECV'],'code':re['OK'],'routeKey':_0x5a1bb7[_0x151c18(0x200)]['unitID'],'routeType':'','data':{'eventID':E['CollaborationEvent'][_0x151c18(0x509)],'data':{'changesets':_0x330cac}}});})[_0x194b21(0x365)](_0x71c6e=>{var _0x112436=_0x194b21;this[_0x112436(0x3cc)]['error'](_0x71c6e),_0xd785e();});return;}}_0xb5f161[_0x194b21(0x39a)](mt(_0x472a1b));},'close':()=>{var _0x397eb6=_0x4c6739;_0xb5f161[_0x397eb6(0x423)](),_0x28ad58[_0x397eb6(0x388)]();}},_0x5e0d5f;}async[_0x50de8b(0x470)](_0x238b64,_0x1f8aa5){var _0x4c8649=_0x50de8b,_0x5bb6f0;const {unitType:_0x98b29c,unitID:_0x3e0b21,changeset:_0x2b4145}=_0x1f8aa5[_0x4c8649(0x200)],_0x4f262d={'unitID':_0x3e0b21,'memberID':_0x238b64[_0x4c8649(0x391)],'type':_0x98b29c,'changeset':E[_0x4c8649(0x51f)](_0x2b4145)},_0x1c9e91=this[_0x4c8649(0x26e)][_0x4c8649(0x3d6)](Y),_0x5a4e5b=ri((_0x5bb6f0=_0x1c9e91==null?void 0x0:_0x1c9e91['collabSubmitChangesetUrl'])!=null?_0x5bb6f0:kt,_0x98b29c,_0x3e0b21);try{await this[_0x4c8649(0x539)][_0x4c8649(0x55b)](_0x5a4e5b,{'body':_0x4f262d});}catch(_0x14b53a){throw this['_logService'][_0x4c8649(0x4fe)](_0x4c8649(0x3e0),'submit\x20changeset\x20error!'),_0x14b53a;}}async[_0x50de8b(0x3bd)](_0x34249a){var _0x552f37=_0x50de8b;const {unitID:_0x3b950d,from:_0x38d83f,to:_0x17585a,unitType:_0x37f5f3}=_0x34249a[_0x552f37(0x200)];return(await this[_0x552f37(0x2bf)][_0x552f37(0x525)]({'metadata':void 0x0},{'unitID':_0x3b950d,'type':_0x37f5f3,'from':_0x38d83f,'to':_0x17585a}))[_0x552f37(0x333)]['map'](_0x464b7a=>((_0x464b7a['mutations']===null||_0x464b7a[_0x552f37(0x278)]===void 0x0)&&(_0x464b7a[_0x552f37(0x278)]=[]),_0x464b7a));}},exports[_0x50de8b(0x2fa)]=si([_e(0x0,o[_0x50de8b(0x2fe)](o['Injector'])),_e(0x1,o[_0x50de8b(0x2fe)](K[_0x50de8b(0x217)])),_e(0x2,o['IConfigService']),_e(0x3,o['ILogService']),_e(0x4,E[_0x50de8b(0x3e4)])],exports[_0x50de8b(0x2fa)]);var ai=Object[_0x50de8b(0x2d5)],oi=(_0x311301,_0xf4f4eb,_0x34cd46,_0x4d831d)=>{var _0x3cfbdd=_0x50de8b;for(var _0x217be4=_0x4d831d>0x1?void 0x0:_0x4d831d?ai(_0xf4f4eb,_0x34cd46):_0xf4f4eb,_0x31c941=_0x311301[_0x3cfbdd(0x3a9)]-0x1,_0x4ba838;_0x31c941>=0x0;_0x31c941--)(_0x4ba838=_0x311301[_0x31c941])&&(_0x217be4=_0x4ba838(_0x217be4)||_0x217be4);return _0x217be4;},he=(_0x277ea3,_0x3769db)=>(_0x3983c2,_0xb15499)=>_0x3769db(_0x3983c2,_0xb15499,_0x277ea3);exports[_0x50de8b(0x4bd)]=class extends o[_0x50de8b(0x293)]{constructor(_0x28c038,_0x202f66,_0x313847,_0x2a798d,_0xb23dfb,_0x1ecbfd){var _0x232daf=_0x50de8b;super(),A(this,_0x232daf(0x2d8),new j['BehaviorSubject'](void 0x0)),A(this,_0x232daf(0x4de),this[_0x232daf(0x2d8)][_0x232daf(0x237)]()),A(this,_0x232daf(0x30d),null),A(this,'_sessions',new Map()),A(this,'_status$',new j[(_0x232daf(0x454))](se['IDLE'])),A(this,_0x232daf(0x34d),this[_0x232daf(0x4be)][_0x232daf(0x237)]()),A(this,'_socketReady',!0x1),A(this,_0x232daf(0x2cb)),A(this,_0x232daf(0x519),0x0),A(this,_0x232daf(0x531)),A(this,_0x232daf(0x498)),(this[_0x232daf(0x3e7)]=_0x28c038,this['_logService']=_0x202f66,this[_0x232daf(0x26e)]=_0x313847,this[_0x232daf(0x2b5)]=_0x2a798d,this['_collaborationUIEventService']=_0xb23dfb,this[_0x232daf(0x436)]=_0x1ecbfd,this[_0x232daf(0x3bc)]());}get['_socket'](){var _0x41b40a=_0x50de8b;return this[_0x41b40a(0x2d8)][_0x41b40a(0x349)]();}['_listenToNetworkCondition'](){var _0x210c5e=_0x50de8b;this[_0x210c5e(0x436)]&&this[_0x210c5e(0x366)](this['_networkConditionService'][_0x210c5e(0x29c)][_0x210c5e(0x520)](_0x275209=>{var _0x45e463=_0x210c5e;_0x275209&&!this[_0x45e463(0x48b)]&&this[_0x45e463(0x286)](),_0x275209||this[_0x45e463(0x2c2)]();}));}['dispose'](){var _0x1d8ee1=_0x50de8b;super[_0x1d8ee1(0x388)](),this[_0x1d8ee1(0x47a)](),this[_0x1d8ee1(0x460)](),this[_0x1d8ee1(0x426)](),this[_0x1d8ee1(0x4ce)]['forEach'](_0x126796=>_0x126796['dispose']()),this[_0x1d8ee1(0x4ce)][_0x1d8ee1(0x495)](),this[_0x1d8ee1(0x4be)]['complete']();}async[_0x50de8b(0x1eb)](_0x3cdb53){var _0x23edca=_0x50de8b;if(this[_0x23edca(0x4ce)]['has'](_0x3cdb53))return this[_0x23edca(0x4ce)][_0x23edca(0x3b6)](_0x3cdb53);this['_tryEnsureSocket']();const _0x27eaf7=this[_0x23edca(0x3e7)][_0x23edca(0x55c)](exports[_0x23edca(0x358)],_0x3cdb53,this[_0x23edca(0x2d8)]['asObservable']());return this['_sessions']['set'](_0x3cdb53,_0x27eaf7),_0x27eaf7;}[_0x50de8b(0x478)](_0x5ee0f3){var _0x419944=_0x50de8b,_0x461b04;const _0x5ad16d=this[_0x419944(0x4ce)]['get'](_0x5ee0f3);_0x5ad16d&&(this['_sessions'][_0x419944(0x261)](_0x5ee0f3),_0x5ad16d[_0x419944(0x423)]()),this[_0x419944(0x4ce)]['size']||(_0x461b04=this['_socket'])==null||_0x461b04[_0x419944(0x423)]();}[_0x50de8b(0x286)](){var _0x31af1e=_0x50de8b;this[_0x31af1e(0x519)]=0x0,this[_0x31af1e(0x47a)](),this['_tryReconnect']();}[_0x50de8b(0x47a)](){var _0x248596=_0x50de8b;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x248596(0x2cb)]),this[_0x248596(0x2cb)]=null);}async['_createSocket'](){var _0x27c338=_0x50de8b,_0x156402;const _0x3ee723=this[_0x27c338(0x26e)][_0x27c338(0x3d6)](Y),_0x5771e0=(_0x156402=_0x3ee723==null?void 0x0:_0x3ee723[_0x27c338(0x20c)])!=null?_0x156402:ht,_0x5c2713=await this[_0x27c338(0x2b5)][_0x27c338(0x313)](_0x5771e0);return this[_0x27c338(0x30d)]=_0x5c2713,_0x5c2713;}async['_tryEnsureSocket'](){var _0x37cb0a=_0x50de8b,_0x36887b,_0x1821fe;try{const _0x43ea2f=(_0x1821fe=(_0x36887b=this[_0x37cb0a(0x48b)])!=null?_0x36887b:this[_0x37cb0a(0x30d)])!=null?_0x1821fe:await this[_0x37cb0a(0x238)]();if(_0x43ea2f){const _0x810de9=_0x43ea2f['send'];_0x43ea2f[_0x37cb0a(0x39a)]=_0x197db7=>(this[_0x37cb0a(0x2e9)](),_0x810de9[_0x37cb0a(0x22e)](_0x43ea2f,[_0x197db7])),_0x43ea2f[_0x37cb0a(0x3be)]['subscribe'](_0x56083a=>this[_0x37cb0a(0x1cc)](_0x43ea2f,_0x56083a)),_0x43ea2f[_0x37cb0a(0x31d)][_0x37cb0a(0x39f)](V[_0x37cb0a(0x413)](0x1))[_0x37cb0a(0x520)](_0x12c319=>this[_0x37cb0a(0x3cc)][_0x37cb0a(0x4fe)](_0x37cb0a(0x325),_0x12c319)),_0x43ea2f[_0x37cb0a(0x51b)][_0x37cb0a(0x39f)](V[_0x37cb0a(0x413)](0x1))[_0x37cb0a(0x520)](()=>{this['_onConnectionOpen'](_0x43ea2f);}),_0x43ea2f[_0x37cb0a(0x4ef)][_0x37cb0a(0x39f)](V['take'](0x1))[_0x37cb0a(0x520)](_0x2a7684=>{var _0x44e5bd=_0x37cb0a;this[_0x44e5bd(0x3cc)][_0x44e5bd(0x2f1)]('[CollaborationSessionService]',_0x44e5bd(0x2a9),_0x2a7684),this['_onConnectionFailed']();});}}catch(_0x4c93dd){this[_0x37cb0a(0x3cc)][_0x37cb0a(0x4fe)](_0x4c93dd),this[_0x37cb0a(0x2f9)]();}}[_0x50de8b(0x27c)](_0x1771d2){var _0x2d3182=_0x50de8b;this['_logService'][_0x2d3182(0x2f1)]('[CollaborationSessionService]',_0x2d3182(0x483)),_0x1771d2[_0x2d3182(0x39a)]({'cmd':W[_0x2d3182(0x22d)]}),this[_0x2d3182(0x2e9)]();}[_0x50de8b(0x2c2)](){var _0x48865f=_0x50de8b;this[_0x48865f(0x409)]=!0x1,this[_0x48865f(0x30d)]=null,this[_0x48865f(0x4be)][_0x48865f(0x305)](se[_0x48865f(0x2f0)]),this['_socket$']['next'](null),this['_clearTimeoutTimer'](),this[_0x48865f(0x426)]();}[_0x50de8b(0x2f9)](){var _0x5c543e=_0x50de8b,_0x5eb631;this[_0x5c543e(0x2c2)](),this['_retryCount']<((_0x5eb631=this[_0x5c543e(0x26e)]['getConfig'](ut))!=null?_0x5eb631:Mt)?(this[_0x5c543e(0x1e3)][_0x5c543e(0x1fa)]({'id':J[_0x5c543e(0x352)]}),this[_0x5c543e(0x2a3)]()):this[_0x5c543e(0x1e3)]['emitEvent']({'id':J[_0x5c543e(0x464)]});}[_0x50de8b(0x2a3)](){var _0x4f6b8c=_0x50de8b,_0x94b00c;const _0x48da45=this[_0x4f6b8c(0x519)],_0x415966=this['_configService'][_0x4f6b8c(0x3d6)](Y),_0x117c1a=_0x48da45===0x0?0x0:((_0x94b00c=_0x415966==null?void 0x0:_0x415966['retryConnectingInterval'])!=null?_0x94b00c:Lt)*0x2**_0x48da45;this[_0x4f6b8c(0x2cb)]=setTimeout(()=>{var _0xc5c3d7=_0x4f6b8c;clearTimeout(this[_0xc5c3d7(0x2cb)]),this[_0xc5c3d7(0x2cb)]=null,this['_tryEnsureSocket']();},_0x117c1a),this[_0x4f6b8c(0x519)]+=0x1;}[_0x50de8b(0x1cc)](_0x2b387f,_0x1754f6){var _0x113eed=_0x50de8b;const {cmd:_0x1175d}=_0x1754f6;_0x1175d===W['HELLO']&&!this[_0x113eed(0x409)]&&(_0x2b387f[_0x113eed(0x391)]=_0x1754f6['data'][_0x113eed(0x391)],this[_0x113eed(0x2d8)][_0x113eed(0x305)](_0x2b387f),this[_0x113eed(0x4be)][_0x113eed(0x305)](se[_0x113eed(0x2ea)]),this[_0x113eed(0x409)]=!0x0,this['_candidateSocket']=null),_0x1175d===W[_0x113eed(0x1f5)]&&this[_0x113eed(0x460)](),this[_0x113eed(0x2e9)]();}[_0x50de8b(0x2e9)](){var _0x35ff26=_0x50de8b,_0x3409b5;this[_0x35ff26(0x426)](),this[_0x35ff26(0x531)]=setTimeout(()=>this[_0x35ff26(0x48e)](),(_0x3409b5=this[_0x35ff26(0x26e)][_0x35ff26(0x3d6)](_t))!=null?_0x3409b5:Pt);}[_0x50de8b(0x48e)](){var _0x252f60=_0x50de8b;this[_0x252f60(0x48b)][_0x252f60(0x39a)]({'cmd':W[_0x252f60(0x1f5)]}),this[_0x252f60(0x2f4)]();}[_0x50de8b(0x2f4)](){var _0x4d020e=_0x50de8b,_0x4fad98;this[_0x4d020e(0x498)]=setTimeout(()=>this[_0x4d020e(0x2f9)](),(_0x4fad98=this[_0x4d020e(0x26e)]['getConfig'](ke))!=null?_0x4fad98:lt);}[_0x50de8b(0x426)](){var _0x43f4e5=_0x50de8b;this[_0x43f4e5(0x531)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x43f4e5(0x531)]=null);}['_clearTimeoutTimer'](){var _0x5c0162=_0x50de8b;this[_0x5c0162(0x498)]!=null&&(clearTimeout(this[_0x5c0162(0x498)]),this['_timeoutTimer']=null);}},exports['CollaborationSessionService']=oi([he(0x0,o['Inject'](o[_0x50de8b(0x221)])),he(0x1,o[_0x50de8b(0x534)]),he(0x2,o[_0x50de8b(0x4ac)]),he(0x3,Fe),he(0x4,o['Inject'](ee)),he(0x5,o[_0x50de8b(0x4d5)](Et))],exports[_0x50de8b(0x4bd)]);var ci=Object[_0x50de8b(0x2d5)],hi=(_0x54cbb0,_0xe328bb,_0x179b7b,_0x47a947)=>{var _0x30dee1=_0x50de8b;for(var _0x4aa2a=_0x47a947>0x1?void 0x0:_0x47a947?ci(_0xe328bb,_0x179b7b):_0xe328bb,_0x5645dd=_0x54cbb0[_0x30dee1(0x3a9)]-0x1,_0x3cd0d6;_0x5645dd>=0x0;_0x5645dd--)(_0x3cd0d6=_0x54cbb0[_0x5645dd])&&(_0x4aa2a=_0x3cd0d6(_0x4aa2a)||_0x4aa2a);return _0x4aa2a;},Se=(_0x3251ab,_0x1755a4)=>(_0xc9279,_0xb86b48)=>_0x1755a4(_0xc9279,_0xb86b48,_0x3251ab);exports['CollaborationController']=class extends o[_0x50de8b(0x1fb)]{constructor(_0x225a2f,_0x109d08,_0x4f9fb7,_0xc7a483){var _0x2ec45e=_0x50de8b,_0x5a17c1;super(),A(this,_0x2ec45e(0x1dd),new Map()),A(this,'_entityInit$',new j[(_0x2ec45e(0x424))]()),A(this,'entityInit$',this[_0x2ec45e(0x3ae)]['asObservable']()),(this[_0x2ec45e(0x3e7)]=_0x225a2f,this[_0x2ec45e(0x491)]=_0x109d08,this[_0x2ec45e(0x26e)]=_0x4f9fb7,this[_0x2ec45e(0x3bf)]=_0xc7a483,((_0x5a17c1=this[_0x2ec45e(0x26e)][_0x2ec45e(0x3d6)](Y))==null?void 0x0:_0x5a17c1[_0x2ec45e(0x4d8)])!==!0x1&&this[_0x2ec45e(0x41a)]());}['dispose'](){var _0x2a55a4=_0x50de8b;super[_0x2a55a4(0x388)](),this[_0x2a55a4(0x1dd)][_0x2a55a4(0x1fd)](_0x118def=>_0x118def['dispose']()),this[_0x2a55a4(0x1dd)][_0x2a55a4(0x495)]();}[_0x50de8b(0x23f)](_0x33f76e){var _0x341f1e=_0x50de8b,_0x45975e;return(_0x45975e=this[_0x341f1e(0x1dd)]['get'](_0x33f76e))!=null?_0x45975e:null;}[_0x50de8b(0x52c)](_0x467dbd){var _0x117b00=_0x50de8b;const _0x2f3653=this[_0x117b00(0x23f)](_0x467dbd);return _0x2f3653?j['of'](_0x2f3653):this[_0x117b00(0x3ae)]['pipe'](V['filter'](_0x20c16c=>_0x20c16c[_0x117b00(0x53a)]===_0x467dbd));}[_0x50de8b(0x385)](_0xa660da){var _0x28a11b=_0x50de8b;return j[_0x28a11b(0x3a6)](this[_0x28a11b(0x52c)](_0xa660da)[_0x28a11b(0x39f)](V[_0x28a11b(0x4a1)](()=>{})));}[_0x50de8b(0x41a)](){var _0x1ad566=_0x50de8b;this[_0x1ad566(0x3bf)]['getTypeOfUnitAdded$'](o[_0x1ad566(0x4b6)]['UNIVER_SHEET'])['pipe'](j['takeUntil'](this[_0x1ad566(0x3f4)]),V[_0x1ad566(0x35d)](0x10))[_0x1ad566(0x520)](async _0x1b3fa8=>{var _0x189569=_0x1ad566;const _0x3947cd=_0x1b3fa8[_0x189569(0x37b)](),_0x28c543=await this[_0x189569(0x2af)](_0x3947cd,X[_0x189569(0x33c)]);this[_0x189569(0x1dd)][_0x189569(0x562)](_0x3947cd,_0x28c543);}),this['_univerInstanceService'][_0x1ad566(0x3c6)](o['UniverInstanceType'][_0x1ad566(0x321)])['pipe'](j['takeUntil'](this[_0x1ad566(0x3f4)]),V[_0x1ad566(0x35d)](0x10))[_0x1ad566(0x39f)](V[_0x1ad566(0x48c)](_0x45da48=>!_0x45da48[_0x1ad566(0x37b)]()['startsWith']('__')))[_0x1ad566(0x520)](async _0x4aaf52=>{var _0x1ee0f2=_0x1ad566;const _0x401737=_0x4aaf52[_0x1ee0f2(0x37b)](),_0x591693=await this[_0x1ee0f2(0x2af)](_0x401737,X[_0x1ee0f2(0x321)]);this['_entities']['set'](_0x401737,_0x591693);}),j[_0x1ad566(0x34a)](this[_0x1ad566(0x3bf)][_0x1ad566(0x4d3)](o[_0x1ad566(0x4b6)][_0x1ad566(0x33c)]),this['_univerInstanceService'][_0x1ad566(0x4d3)](o['UniverInstanceType'][_0x1ad566(0x321)]))[_0x1ad566(0x39f)](j[_0x1ad566(0x506)](this[_0x1ad566(0x3f4)]))[_0x1ad566(0x520)](_0x13deac=>{var _0x58cbea=_0x1ad566;const _0xc7ae11=_0x13deac[_0x58cbea(0x37b)](),_0xbbc381=this['_entities'][_0x58cbea(0x3b6)](_0xc7ae11);_0xbbc381&&(_0xbbc381[_0x58cbea(0x388)](),this[_0x58cbea(0x1dd)][_0x58cbea(0x261)](_0xc7ae11));});}async[_0x50de8b(0x2af)](_0x585fe4,_0x1ed07d){var _0x3ccf13=_0x50de8b;const _0xd81f2e=await this['_collabSessionService'][_0x3ccf13(0x1eb)](_0x585fe4),_0x548d99=this[_0x3ccf13(0x3e7)]['createInstance'](this[_0x3ccf13(0x445)](_0x1ed07d),_0x585fe4,_0x1ed07d,_0xd81f2e);return await _0x548d99[_0x3ccf13(0x27d)](),this['_entityInit$']['next'](_0x548d99),_0x548d99;}[_0x50de8b(0x445)](_0x2939fb){var _0x21ca46=_0x50de8b;switch(_0x2939fb){case X[_0x21ca46(0x321)]:return exports['DocCollaborationEntity'];case X[_0x21ca46(0x33c)]:return exports[_0x21ca46(0x262)];default:throw new Error(_0x21ca46(0x269)+_0x2939fb);}}},exports[_0x50de8b(0x3e8)]=hi([Se(0x0,o[_0x50de8b(0x2fe)](o[_0x50de8b(0x221)])),Se(0x1,o[_0x50de8b(0x2fe)](exports[_0x50de8b(0x4bd)])),Se(0x2,o[_0x50de8b(0x4ac)]),Se(0x3,o[_0x50de8b(0x35a)])],exports[_0x50de8b(0x3e8)]);var _i=Object[_0x50de8b(0x2d5)],li=(_0x147dcd,_0x2033f9,_0x2b4e36,_0x3292db)=>{var _0x3ddcb3=_0x50de8b;for(var _0x44c3a3=_0x3292db>0x1?void 0x0:_0x3292db?_i(_0x2033f9,_0x2b4e36):_0x2033f9,_0x4d337e=_0x147dcd[_0x3ddcb3(0x3a9)]-0x1,_0x72f88d;_0x4d337e>=0x0;_0x4d337e--)(_0x72f88d=_0x147dcd[_0x4d337e])&&(_0x44c3a3=_0x72f88d(_0x44c3a3)||_0x44c3a3);return _0x44c3a3;},Ye=(_0x492af5,_0x2cc71b)=>(_0x3f5cb4,_0x594ba5)=>_0x2cc71b(_0x3f5cb4,_0x594ba5,_0x492af5);const ui=_0x50de8b(0x1e1),vi=_0x50de8b(0x55e);function _0x2ee8(){var _0x53c945=['LOGIN_FAILED','PAYMENT_CHANNEL_NOT_SUPPORT','dispose$','SUBMIT_CHANGESET','putCollaborators','EvpKDF','_append','fetchMiss','onSendChangeset','HEARTBEAT_INTERVAL_KEY','/object/','authzUrl','initWorkbookPermissionChange','SerializableCipher','resend','_onConflict','UPDATE_CURSOR','_replayCachedMutations','collaborators','UnitEmbedded','indexOf','getSheetBlock','CommandType','_socketReady','_invKeySchedule','_undoStacks','_createInitialState','encrypt','onLocalMutation','SnapshotServerOverHTTPService','_singleActiveUnitService','_doCreateSocket','_doFinalize','take','CLOSE_ROOM','REDEMPTION_USER_REDEEM_TIMES_EXCEED','createDecryptor','localeService','Cipher','_state','_init','YUUMI_TABLE_NOT_FOUND_IN_UNIT','APPLY_DUPLICATED','_transformRemoteChangesetByIMECache','registerHTTPInterceptor','CHANGESET_SHOULD_RETRY','_collaborationTimeoutTimer','AwaitingState','formatter','close','Subject','fromCharCode','_clearHeartbeatTimer','Could\x20not\x20dynamically\x20require\x20\x22','sin','workbook','_substituteUndoStack','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','/universer-api/uniscript','sigBytes','compute','appendMutation','_change$','MentionIoHttpService','updatePermissionPoint','_keyPriorReset','SYNCED','slice','_networkConditionService','_executeRemoteChangeset','keySize','serializeCombRequest','Utf8','transformMutationsWithChangeset','pauseCollaboration','INTERNAL_ERROR','IPermissionService','type','msCrypto','failed\x20to\x20apply\x20missed\x20changesets!','isInternalEditorID','_updateLocalCache','fetchThroughInterceptors','_getCtorByUniverType','updatePermissionObjEvent','CONFLICT','_remoteChangesetQueue','substr','_getDownloadEndpointURL','unitId\x20is\x20not\x20found','getCurrentSelections','Undefined','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','toStringTag','onRemoteRej','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_eventService','LIVESHARE_NEW_HOST','BehaviorSubject','sid','_memberService','EMAIL_HAS_BEEN_BOUND','append','push','href','_incrementRevisionNumber','__Key__','onSyncEditingCollabCursor','_syncEditingCollabCursor','range','_clearTimeoutTimer','_transformUndoredo','COMPRESS_MUTATION_APPLY','transformChangesets','SOCKET_FAILED','key','objectType','/universer-api/authz','actions','AUTHORIZE_CODE_ILLEGAL','sessionStatus$','random','event$','save\x20fail\x20reason\x20is\x20','HEARTBEAT_INTERVAL','unitInfo$','_submitChangeset','_unitID','_initCloseConn','MSG_FOR_ERROR','ALREADY_EXISTS','InsertSheetMutation','_config','touchDependencies','closeSession','Failed\x20to\x20update\x20permission\x20point','_clearRetryConnectingTimer','pad','fetch_missing','toDisposable','charAt','_transformStack','_awaitingChangeset','sessionStatus','ISingleActiveUnitService','socket\x20open.','complete','CollaborationImageIoService','isArray','APPLY_REJECT','responseType','PERMISSION_REJ','reset','_socket','filter','UPDATE_PERMISSION_OBJ','_sendHeartbeat','getCurrentRevOfUnit','result','_collabSessionService','INetworkConditionService','reject','_transformStateCache','clear','_initUnitPermissionChange','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_timeoutTimer','\x0aAfter:\x20','_unlockTransition','c1Prime','LocaleService','conflict','HTTPRequest','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','{fileID}','map','confirm','_ENC_XFORM_MODE','JOIN_ROOM_PERMISSION_DENIED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','loadOfflineData','YUUMI_SUBSCRIPTION_NOT_FOUND','crypto','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','SNAPSHOT_URL_KEY','LocalUndoRedoService','IConfigService','deleteCollaborator','JOIN','leaveEvent','mapDocumentTypeToUniverType','update','getTime','UNKNOWN_CMD','YUUMI_ALL_TABLES_IS_INVALID','UniverNetworkPlugin','UniverInstanceType','univer-pro.collaboration-client-socket-service','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','SetSelectionsOperation','36eeRtAN','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_onRemoteACK','CollaborationSessionService','_status$','__esModule','[OfflineState]:\x20received\x20changeset.','saveSheetBlock','HMAC','find','_sender','every','YUUMI_URL_COL_OUT_OF_RANGE','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','salt','_unitInfo$','MentionType','SUCCUSS','splice','getRandomValues','_sessions','_key','then','_replaceFileID','?url=','getTypeOfUnitDisposed$','session.join-failed','Optional','_data','_hasher','enableCollaboration','_transformIMECache','ENTITLE_CHAT_LIMIT_EXCEED','image/png','unsubscribe','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','socket$','_schedule','RichTextEditingMutation','[DataLoaderService]','code','/block/','isTransformMutationsWithChangesetFailure','list','entries','BlockCipher','YUUMI_RATE_OVER_LIMIT','FAIL','ENTITLE_REPORT_LIMIT_EXCEED','registerDependencies','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','UNAUTHENTICATED','MUTATION','close$','_undoRedoService','body','hostname','NOT_FOUND','Encryptor','CHANGESET_REVISION_CONFILICT','CollaborationEntity','mergeOverrideWithDependencies','SheetTransformSelectionsService','_getAPIPrefixPath','_doCryptBlock','CHANGESET_REJ','RevisionService','stopTime','error','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','HEARTBEAT_TIMEOUT_KEY','_toggleOnline','ERROR_EXCEED_SIZE','_createInitialStateImpl','newCsEvent','onCommentUpdate','takeUntil','defineProperty','[CollaborationUndoRedoService]','PSEUDO_FETCH_MISSING_RESULT','OTHER_CLIENTS_EDITING','UNISCRIPT_RUN','onTransformRemoteChangesetByStateCache','getImage','UNKNOWN_CODE','deserializeToCombResponse','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','UUID','mode','[FetchMissState]','&source=','/universer-api/user/session-ticket','unitId','YUUMI_UNABLE_LOAD_URL','Tools','_retryCount','Base64','open$','call','_sessionStatus$','enc','parseChangesetToProtocol','subscribe','univer-pro.collaboration-client.network-condition.service','_compressMutationService','_commandService','originalMeta','fetchMissingChangesets','RECV','/rev/','UNIVER_PROJECT','[CollaborationEntity]','\x20in\x20_schedule.','eventID','getCollabEntity$','avatar','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','CollaborativeUndoRedoService','_imageSourceCache','_sendHeartbeatTimer','1lwrVae','onMissingChangesets','ILogService','telemetry\x20info\x20is\x20not\x20initialized','_onRemoteRejected','_isPermissionRej','headers','_httpService','unitID','_queuedRemoteChangesets','c2Prime','routeKey','FETCH_MISS','REDEMPTION_USER_NOT_ELIGIBLE','INVALID_INVITE_CODE','UniverCollaborationClientPlugin','_onJoinRoomEvent','saveImage','_createHelper','getRoom','HttpExport','[PendingState]:\x20received\x20acknowledgement.','waitForRoom$','findIndex','uuidv4','awaiting','stringify','roomInfos','_getSignURL','_hash','_telemetryService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_stopTelemetryCollaborationNewChangeset','_userManagerService','AES','onMissedChangesetFetched','executeCommand','saveSnapshot','PY_RUNTIME_SCRIPT_ERROR','&to=','snapshot','post','createInstance','focused$','Univer','decrypt','parse','_clearRedo','set','GLOBAL_ROOMS_CNT_EXCEEDS','values','_mode','_applyRemoteChangeset','_onMessage','create','UniverCollaborationPlugin','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','/allowed','/universer-api/snapshot/','session.room-cnt-exceeds','withCredentials','replace','MOBILE_VERIFY_CODE_MISMATCH','_registerDependencies','function','url','image/jpeg','SNAPSHOT_INVALID_SNAPSHOT','pluginName','getCurrentUser','_entities','YUUMI_CONNECTOR_URL_NOT_FOUND','extend','22MzgtDl','DEFAULT_FILE_NAME','isTransformMutationsWithChangesetSuccess','_collaborationUIEventService','ITransformService','change$','WorkbookEditablePermission','ISocketService','isPermissionRej','DEFAULT_WS_SESSION_TICKET_URL','iterations','requireSession','ENTITLE_NEED_BILLING_ADDRESS','1273486AfecWL','textRanges','_checkMissing','_throwTelemetryCollaborationNewChangeset','181518APqJKO','LEAVE','YUUMI_AI_RUN_FAILED','LOCAL_CACHE_INTERVAL','HEARTBEAT','getGlobalObject','session.room-full','_onFetchMissResult','4415910XHcpkZ','emitEvent','RxDisposable','COMMENT_UPDATE','forEach','lib','_process','data','refreshPermission','sheets','default','_removeRoom','_getUndoStack','padding','session','_updateState','ConflictState','removeMember','_toggleOffline','collabWebSocketUrl','_roomCreated$','onRemoteChangeset','LIVESHARE_TERMINATE','baseRev','_permissionService','REDEMPTION_CODE_FULLY_REDEEMED','encryptBlock','INGEST','CONNECTOR_DATA_TOO_LARGE','/collaborator','HTTPService','onlyLocal','univer-pro.collaboration-client.single-active-unit-service','_transitionLocked','format','objects','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','members','/universer-api/oidc/authpage','NoPadding','Injector','DATA_SOURCE_TOO_LARGE','/object','deepClone','LOCAL_CACHE_INTERVAL_KEY','mixIn','listRoles','UnitSnapshot','getSnapshotAPIPath','\x20-\x20','commentUpdateEvent','concatMap','HELLO','apply','CipherParams','add','OpenSSL','sendChangesetTimeout','concat','EmptyMutationInfo','revision','APPLY_NON_SEQUENTIAL_REVISION','asObservable','_createSocket','UNIVER_COLLABORATION_CLIENT_PLUGIN','joinRsp','getSheetId','COMPRESS_MUTATION_SEND','CollaborationUIEventService','PENDING','getCollabEntity','/role','byteLength','_initDependencies','batchAllowed','_event$','onTransformState','_createHandler','62370bRepxG','ciphertext','_clearCollaborationTimeoutTimer','_iv','algo','size','getInterceptPoints','ICommandService','cmd','SheetPermissionInitController','ws://127.0.0.1:8000/universer-api/comb/connect','DocCollaborationEntity','4859130ujSPRm','AwaitingWithPendingState','_redoStacks','_localCacheService','APPLY_REVISION_CONFILICT','ERROR_IMAGE_TYPE','csShouldRetryEvent','loadUnit','execute','LIVESHARE_OPERATION','origin','INVITE_CODE_HAS_BEEN_UES','onload','PERSON','delete','SheetCollaborationEntity','_transformSelections','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','14iwphIw','_members','state','_onLocalMutation','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_pendingMutations','localCacheService','session.room-permission-denied','charCodeAt','_configService','file','floor','copyFileMeta','string','/universer-api/stream/file/upload','name','setWaitCount','LICENSE_DISTRO_REJECTED','enableOfflineEditing','mutations','getResourcesRequest','REDEMPTION_CODE_HAS_BEEN_CREATED','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_onConnectionOpen','init','INVITE_CODE_REQUIRED','USER_NOT_FOUND','exports','LICENSE_IMPORT_SIZE_EXCEEDED','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','selections','WordArray','PasswordBasedCipher','reconnect','_transformService','1216npHMKH','setShowComponents','_decreaseWaiting','onTransformRemoteChangesetByIMECache','finalize','offline','SHOULD_CLOSE_CONN','textEncoder','_revisionService','JOIN_ROOM_FULL','csAckEvent','Disposable','IContextService','_scheduleCompleteTimestamp','m2Prime','prototype','Error\x20on\x20receiving\x20event','7869480VqSsZV','_getRedoStack','_getAPIPrefix','online$','auth.needGotoLoginAlert','FETCH_MISSING','MOBILE_HAS_BEEN_BOUND','APPLY_PERMISSION_DENIED','location','Decryptor','_tryReconnect','repeat','getUnitOnRev','ERROR_IMAGE','parseProtocolChangeset','_xformMode','socket\x20close','onTransformSelections','SyncedState','_acknowledgedAwaitingChangeset','ImageUploadStatusType','ITelemetryService','_startCollaboration','$super','FileId','_oKey','_type','_handlerCallback','_socketService','onRemoteRetry','_reverseMap','transformUndoRedo','_commentService','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','StreamCipher','LICENSE_MAX_UNITS_EXCEEDED','getActiveSheet','includes','_snapshotServerService','MD5','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_onOffline','decryptBlock','createIdentifier','USER_NOT_INVITED_CODE','_changesetReqId','_disableEditing','[SyncedState]:\x20received\x20acknowledgement.','USERS_ENTER','_resendTimeout','_retryConnectingTimer','reverse','Module','_collaborationPaused','FetchingMissState','connection\x20error','now','socketService','REDEMPTION_CODE_INACTIVE','unpad','getOwnPropertyDescriptor','YUUMI_ASYNCIO_CANCELLED','CollaborationEvent','_socket$','/universer-api/comb','_changesetSessionId','_getUploadFileURL','uniscriptRunEvent','updateOfflineData','ceil','updateMember','_createHmacHelper','UNRECOGNIZED','byteOffset','patch','objectActions','onCommandExecuted','enableAuthServer','b64DecodeUnicode','_iKey','_rescheduleHeartbeat','ONLINE','_exhaustRemoteChangesetQueue','commentUpdate$','_instanceService','min','POST','OFFLINE','debug','hasOwnProperty','LIVESHARE_FETCH_OPERATIONS','_waitForHeartbeatResponse','getUnitType','onTransformIME','/fetchmissing?from=','CURRENT_STATUS_CANNOT_OPERATE','_onConnectionFailed','CollaborationSocketService','reduce','awaitingChangeset','_substituteRedoStack','Inject','_commentUpdate$','userID','subject','incrementRevOfUnit','_telemetryInfo','Hasher','next','HttpImport','unit-cache-','Malformed\x20UTF-8\x20data','_sheetTransformSelectionsService','onStarting','HEARTBEAT_TIMEOUT','USERS_LEAVE','_candidateSocket','ERROR_AGAIN','ENTITLE_CAN_NOT_BUY_LOWER_OTP','Base','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','collaboration-client.config','createSocket','UNDEFINED','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','CommentService','put','_minBufferSize','/universer-api/snapshot','HmacMD5','OPTIONAL','_getLoginPath','error$','fromCollab','SUBMIT_CHANGESET_TIMEOUT','_getSendChangesetTimeout','UNIVER_DOC','_snapshotService','disableLocalCache','_cipher','[CollaborationSessionService]:\x20socket\x20error','OfflineState','_startTelemetryCollaborationNewChangeset','_joinRoom','loadUnitOfRevision','_scheduleCollaborationTimeoutTimer','blockSize','DependentOn','_map','_onRecvEvent','UserProfileImg','UNIVER_SLIDE','not_collab','loadSheet','changesets','_members$','ivSize','CHANGESET_ACK','&assign=','INVITE_CODE_ALREADY_BOUND','unknown','src','_collaborationSessionService','UNIVER_SHEET','NOT_COLLAB','setCurrentUser','allowed','_waitCount','_nRounds','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','SNAPSHOT_HAS_BEEN_REMOVED','COMPLETION_FINISHED','ClipsheetFragments','has','JSONX','getUnit','getValue','merge','JOINING','updateCollaborator','status$','IUndoRedoService','shouldCloseConn','transformStack\x20failed!','LIVESHARE_REQUEST_HOST','SOCKET_FAILED_RETRY','PendingState','startTime','LOGIN_TOKEN_PROCESSING_FAILED','ENSURE_SNAPSHOT_EXECUTION','/-/object/list','CollaborationSession','equals','IUniverInstanceService','hasher','ENTITLE_DUP_SUBSCRIPTION','delay','createEncryptor','/-/object/-/batch_allowed','_clearLocalCache','state$','liveShareNewHost','_socketMessageSubscription','onStateChange','catch','disposeWithMe','toggleOffline','_doReset','ThresholdInterceptorFactory','reqId','BASE64','EMAIL_VERIFY_CODE_MISMATCH','editing\x20status\x20changed\x20to','CBC','1235740eDUTzP','clamp','ICollaborationSocketService','REDEMPTION_CODE_NOT_STARTED','AuthzIoHttpService','subUnitId','resourceIDs','transformSelections','infoRsp','_prevBlock','saveChangeset','MemberService','getUnitId','UNIVER_UNKNOWN','_initRequestHeader','\x20to\x20','_shouldReportTelemetry','_roomMembers','encode','collaboration-client.local-cache-service','max','_onCombEvent','readyForCollab','pending','clone','dispose','listCollaborators','/unit/','getUnitStatus$','_sendingTimer','_updateStatus','isTransformChangesetsSuccess','symbol','params','memberID','join','SheetsSelectionsService','target','objectID','getDeserializedSheetBlock','_HTTPService','_getCurrentRevision','image/bmp','send','synced','IMentionIOService','_state$','cfg','pipe','NEW_CHANGESETS','_resendTimer','_lockTransition','CompressMutationService','action','createCollaborator','firstValueFrom','getMember','onRemoteAck','length','requestParams','YUUMI_NO_CUBOID_FOR_QUESTION','duration','\x0aCurrent:\x20','_entityInit$','TOO_MANY_REQUESTS','loginUrlKey','LICENSE_EXPORT_SIZE_EXCEEDED','[CollaborationState]:\x20apply\x20error!','fetching\x20missing\x20changesets\x20from\x20','Quantity','encodeURIComponent','get','getLocalCacheKey','_initMergeInterceptor','toString','_parse','WECHAT_HAS_BEEN_BOUND','_listenToNetworkCondition','_fetchMissChangesets','message$','_univerInstanceService','OTHER_CLIENT_EDITING','[OfflineState]:\x20received\x20rejection.','UnitStatus','readAsDataURL','AWAITING_WITH_PENDING','PERMISSION_DENIED','getTypeOfUnitAdded$','_resendWithTimeout','_transformRemoteChangesetByStateCache','_onRemoteChangeset','_onUserJoin','NO_OTHER_CLIENTS_EDITING','_logService','ImageSourceType','IDLE','REDEMPTION_INVALID_CODE','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','editingUnit','AWAITING','toggleOnline','status','_clearScheduledTask','getConfig','JOIN_ROOM_FAILED','_handler','DataLoaderService','awaiting_with_pending','compose','override','updateCursorEvent','INVALID_ARGUMENT','getMemberID','[CollaborationSession]','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','People','shareReplay','ISnapshotServerService','randomBytes','ILocalCacheService','_injector','CollaborationController','interceptor','BufferedBlockAlgorithm','csRejEvent','_nDataBytes','words','DisposableCollection','roles','session.room-not-exists','from'];_0x2ee8=function(){return _0x53c945;};return _0x2ee8();}let xe=class extends o[_0x50de8b(0x293)]{constructor(_0x50ebdc,_0x358a51){var _0x29387a=_0x50de8b;super(),this['_univerInstanceService']=_0x50ebdc,this[_0x29387a(0x26e)]=_0x358a51,this[_0x29387a(0x41a)]();}['_init'](){var _0x1bafb8=_0x50de8b;this['disposeWithMe'](this['_univerInstanceService'][_0x1bafb8(0x55d)][_0x1bafb8(0x520)](()=>{var _0x65e7f8=_0x1bafb8,_0x1dfd4e;const _0x2e83b0=this[_0x65e7f8(0x3bf)]['getFocusedUnit']();let _0x1e1067=(_0x1dfd4e=this[_0x65e7f8(0x26e)][_0x65e7f8(0x3d6)](ui))!=null?_0x1dfd4e:vi;_0x2e83b0 instanceof o['Workbook']&&(_0x1e1067=_0x2e83b0[_0x65e7f8(0x274)]),document['title']=_0x1e1067;}));}};xe=li([Ye(0x0,o[_0x50de8b(0x35a)]),Ye(0x1,o[_0x50de8b(0x4ac)])],xe);var di=Object[_0x50de8b(0x2d5)],Si=(_0x33b774,_0x1e96be,_0x1c3caa,_0x1f3a4d)=>{for(var _0x630078=_0x1f3a4d>0x1?void 0x0:_0x1f3a4d?di(_0x1e96be,_0x1c3caa):_0x1e96be,_0x49f770=_0x33b774['length']-0x1,_0x41d5a5;_0x49f770>=0x0;_0x49f770--)(_0x41d5a5=_0x33b774[_0x49f770])&&(_0x630078=_0x41d5a5(_0x630078)||_0x630078);return _0x630078;},Ae=(_0x1159c9,_0xae639c)=>(_0x8e886d,_0x3ca15d)=>_0xae639c(_0x8e886d,_0x3ca15d,_0x1159c9);let Ne=class{constructor(_0x59c862,_0x3d884c,_0x28968e){var _0x56ccab=_0x50de8b;this[_0x56ccab(0x26e)]=_0x59c862,this[_0x56ccab(0x539)]=_0x3d884c,this['localeService']=_0x28968e,this[_0x56ccab(0x27d)]();}['init'](){var _0x1c9849=_0x50de8b;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x4e916c,_0x484a0c)=>_0x484a0c(_0x4e916c)['pipe'](j[_0x1c9849(0x22c)](async _0x48fd66=>{var _0x560d78=_0x1c9849;const _0x106fd1=_0x48fd66;if(_0x106fd1[_0x560d78(0x3d4)]===0x191){if(typeof window>'u')throw new Error(_0x560d78(0x315));if(window[_0x560d78(0x4a2)](this[_0x560d78(0x417)]['t'](_0x560d78(0x29d)))){const _0x30aedd=window[_0x560d78(0x3b5)](window['location'][_0x560d78(0x45a)]);window[_0x560d78(0x2a1)][_0x560d78(0x45a)]=this[_0x560d78(0x31c)]()+_0x560d78(0x4d2)+_0x30aedd;}}return _0x106fd1;}))});}[_0x50de8b(0x31c)](){var _0x452ec9=_0x50de8b,_0x1cbfe9;const _0xae03ea=this['_configService'][_0x452ec9(0x3d6)](Y);return(_0x1cbfe9=_0xae03ea==null?void 0x0:_0xae03ea[_0x452ec9(0x3b0)])!=null?_0x1cbfe9:$t;}};Ne=Si([Ae(0x0,o[_0x50de8b(0x4ac)]),Ae(0x1,o['Inject'](K[_0x50de8b(0x217)])),Ae(0x2,o['Inject'](o[_0x50de8b(0x49c)]))],Ne);var Ii=Object[_0x50de8b(0x2d5)],fi=(_0x3e3544,_0x2a5678,_0x50922c,_0xc04da1)=>{var _0x593bc3=_0x50de8b;for(var _0x5449d9=_0xc04da1>0x1?void 0x0:_0xc04da1?Ii(_0x2a5678,_0x50922c):_0x2a5678,_0xc238b0=_0x3e3544[_0x593bc3(0x3a9)]-0x1,_0x170544;_0xc238b0>=0x0;_0xc238b0--)(_0x170544=_0x3e3544[_0xc238b0])&&(_0x5449d9=_0x170544(_0x5449d9)||_0x5449d9);return _0x5449d9;},Ke=(_0x57b336,_0x3fe8f5)=>(_0x1fa382,_0xd3af85)=>_0x3fe8f5(_0x1fa382,_0xd3af85,_0x57b336);const Ei=_0x50de8b(0x467);exports[_0x50de8b(0x373)]=class extends o[_0x50de8b(0x293)]{constructor(_0x268a9d,_0x189a8e){var _0x29a1b9=_0x50de8b;super(),this[_0x29a1b9(0x397)]=_0x268a9d,this['_configService']=_0x189a8e,this[_0x29a1b9(0x3b8)]();}['_initMergeInterceptor'](){var _0x3cb796=_0x50de8b;const _0x46ca75=this;this[_0x3cb796(0x366)](this[_0x3cb796(0x397)][_0x3cb796(0x41e)]({'priority':0x3e7,'interceptor':K['MergeInterceptorFactory']({'isMatch'(_0x58b6ce){var _0x3f7a67=_0x3cb796,_0x37da8c;if(_0x58b6ce['method']===_0x3f7a67(0x2ef)&&((_0x37da8c=_0x58b6ce['requestParams'])!=null&&_0x37da8c[_0x3f7a67(0x4f1)])){const {objectID:_0xa4e993,objectType:_0xfa8b}=_0x58b6ce[_0x3f7a67(0x3aa)][_0x3f7a67(0x4f1)]||{};if(!_0xa4e993||_0xfa8b===void 0x0)return!0x1;const _0x452852=_0x46ca75[_0x3f7a67(0x4f9)]()+'/'+_0xfa8b+_0x3f7a67(0x3fc)+_0xa4e993+_0x3f7a67(0x1d0);if(_0x58b6ce[_0x3f7a67(0x1d8)]===_0x452852)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x497cbf){var _0x307965=_0x3cb796,_0x4eb790;return(_0x4eb790=_0x497cbf[_0x307965(0x3aa)])==null?void 0x0:_0x4eb790['body'];},'mergeParamsToRequest'(_0x56fb91,_0x432b8c){var _0x1292a0=_0x3cb796;const _0x5ef5e3=_0x46ca75[_0x1292a0(0x4f9)]()+'/-/object/-/batch_allowed',_0x175088=_0x56fb91[_0x1292a0(0x2fb)]((_0x49be65,_0x591f59)=>{var _0x449a36=_0x1292a0;const {unitID:_0x36db62,objectID:_0x3f74e2,objectType:_0x40ea57,actions:_0x2ab5d0}=_0x591f59;return _0x49be65[_0x36db62]||(_0x49be65[_0x36db62]={}),_0x49be65[_0x36db62][_0x3f74e2]||(_0x49be65[_0x36db62][_0x3f74e2]={'objectID':_0x3f74e2,'objectType':_0x40ea57,'actions':[]}),_0x49be65[_0x36db62][_0x3f74e2][_0x449a36(0x468)][_0x449a36(0x459)](..._0x2ab5d0),_0x49be65;},{}),_0x27a089=[];for(const _0x5ed288 in _0x175088)for(const _0x340395 in _0x175088[_0x5ed288]){const {actions:_0x2f113b,objectType:_0x43f926}=_0x175088[_0x5ed288][_0x340395],_0x209cee=[...new Set(_0x2f113b)];_0x27a089[_0x1292a0(0x459)]({'unitID':_0x5ed288,'objectID':_0x340395,'objectType':_0x43f926,'actions':_0x209cee});}return new K[(_0x1292a0(0x49e))]('POST',_0x5ef5e3,{'headers':_0x432b8c[_0x1292a0(0x538)],'withCredentials':_0x432b8c[_0x1292a0(0x1d3)],'responseType':_0x432b8c[_0x1292a0(0x488)],'body':{'requests':_0x27a089}});}},{'distributeResult'(_0x39f349,_0x43f606){const {objectActions:_0x5a0275}=_0x39f349;return _0x43f606['map'](_0x3d7c51=>{var _0x5436ea=_0x391f;const {unitID:_0x3955de,objectID:_0x4cbbf4,actions:_0x69a988}=_0x3d7c51,_0x170c2d=_0x5a0275[_0x5436ea(0x4c3)](_0x410d69=>_0x410d69[_0x5436ea(0x53a)]===_0x3955de&&_0x410d69['objectID']===_0x4cbbf4),_0xa1deeb=_0x69a988[_0x5436ea(0x4a1)](_0xd8236e=>_0x170c2d==null?void 0x0:_0x170c2d[_0x5436ea(0x468)][_0x5436ea(0x4c3)](_0x52af30=>_0x52af30[_0x5436ea(0x3a4)]===_0xd8236e))[_0x5436ea(0x48c)](_0x304e96=>!!_0x304e96);return{'config':_0x3d7c51,'result':{'actions':_0xa1deeb,'error':_0x39f349['error']}};});}})}));}[_0x50de8b(0x4f9)](){var _0x4d873b=_0x50de8b,_0xe905cd;const _0x31a4c6=this['_configService']['getConfig'](Y);return(_0xe905cd=_0x31a4c6==null?void 0x0:_0x31a4c6[_0x4d873b(0x3fd)])!=null?_0xe905cd:Ei;}async[_0x50de8b(0x1cd)](_0x2a99ad){var _0x549169=_0x50de8b;const _0x2e86b7=this[_0x549169(0x4f9)]()+'/'+_0x2a99ad[_0x549169(0x466)]+_0x549169(0x223);return(await this[_0x549169(0x397)][_0x549169(0x55b)](_0x2e86b7,{'body':_0x2a99ad}))['body'][_0x549169(0x395)]||'';}async[_0x50de8b(0x4e5)](_0x5b3c36){var _0x490b08=_0x50de8b;const _0x305751=this[_0x490b08(0x4f9)]()+_0x490b08(0x357);return(await this[_0x490b08(0x397)][_0x490b08(0x55b)](_0x305751,{'body':_0x5b3c36}))[_0x490b08(0x4f1)][_0x490b08(0x21c)];}async['update'](_0x89965b){var _0x173b1d=_0x50de8b,_0x5e1cdc,_0x3d14a5;const _0x3fe8f2=this[_0x173b1d(0x4f9)]()+'/'+_0x89965b[_0x173b1d(0x466)]+_0x173b1d(0x3fc)+_0x89965b[_0x173b1d(0x395)],_0x31e34f=await this[_0x173b1d(0x397)]['put'](_0x3fe8f2,{'body':_0x89965b});if(((_0x3d14a5=(_0x5e1cdc=_0x31e34f==null?void 0x0:_0x31e34f['body'])==null?void 0x0:_0x5e1cdc[_0x173b1d(0x4fe)])==null?void 0x0:_0x3d14a5[_0x173b1d(0x4e2)])!==0x1)throw new Error(_0x173b1d(0x479));}async[_0x50de8b(0x33f)](_0x42e102){var _0xc27b2a=_0x50de8b;const _0x447a88=this[_0xc27b2a(0x4f9)]()+'/'+_0x42e102[_0xc27b2a(0x466)]+_0xc27b2a(0x3fc)+_0x42e102[_0xc27b2a(0x395)]+_0xc27b2a(0x1d0);return(await this[_0xc27b2a(0x397)][_0xc27b2a(0x55b)](_0x447a88,{'body':_0x42e102}))[_0xc27b2a(0x4f1)][_0xc27b2a(0x468)];}async[_0x50de8b(0x243)](_0x14550a){var _0xab2058=_0x50de8b;const _0x471cab=this[_0xab2058(0x4f9)]()+_0xab2058(0x35f);return(await this[_0xab2058(0x397)][_0xab2058(0x55b)](_0x471cab,{'body':{'requests':_0x14550a}}))['body'][_0xab2058(0x2e4)];}async[_0x50de8b(0x227)](_0x3a9186){var _0x4731b9=_0x50de8b;const _0x47e527=this[_0x4731b9(0x4f9)]()+'/'+_0x3a9186[_0x4731b9(0x466)]+_0x4731b9(0x240),_0x5be5ba=await this[_0x4731b9(0x397)][_0x4731b9(0x55b)](_0x47e527,{'body':_0x3a9186});return{'roles':_0x5be5ba[_0x4731b9(0x4f1)][_0x4731b9(0x3ef)],'actions':_0x5be5ba[_0x4731b9(0x4f1)][_0x4731b9(0x468)]};}async[_0x50de8b(0x4ad)](_0x1cb87a){var _0x26289e=_0x50de8b;const _0x37ea79=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x26289e(0x397)][_0x26289e(0x261)](_0x37ea79,{'params':{'collaboratorID':_0x1cb87a['collaboratorID'],'objectID':_0x1cb87a[_0x26289e(0x395)],'unitID':_0x1cb87a['unitID']}});}async[_0x50de8b(0x34c)](_0x1a2aa6){var _0x4cdfb3=_0x50de8b;const _0x47a6f0=this[_0x4cdfb3(0x4f9)]()+_0x4cdfb3(0x216);await this[_0x4cdfb3(0x397)][_0x4cdfb3(0x2e3)](_0x47a6f0,{'body':_0x1a2aa6});}async[_0x50de8b(0x3a5)](_0x19f3f6){var _0x45ac89=_0x50de8b;const _0x4c86f2=this['_getAPIPrefixPath']()+_0x45ac89(0x216);await this[_0x45ac89(0x397)][_0x45ac89(0x55b)](_0x4c86f2,{'body':_0x19f3f6});}async[_0x50de8b(0x389)](_0x50a1c0){var _0x40ca2e=_0x50de8b;const _0x437c72=this['_getAPIPrefixPath']()+_0x40ca2e(0x216);return(await this['_HTTPService'][_0x40ca2e(0x3b6)](_0x437c72,{'params':{'objectID':_0x50a1c0[_0x40ca2e(0x395)],'unitID':_0x50a1c0[_0x40ca2e(0x53a)]}}))[_0x40ca2e(0x4f1)][_0x40ca2e(0x404)];}async[_0x50de8b(0x3f6)](_0x512618){var _0x3e9478=_0x50de8b;const _0x38bf94=this[_0x3e9478(0x4f9)]()+'/collaborator';await this[_0x3e9478(0x397)][_0x3e9478(0x317)](_0x38bf94,{'body':_0x512618});}},exports[_0x50de8b(0x373)]=fi([Ke(0x0,o['Inject'](K[_0x50de8b(0x217)])),Ke(0x1,o['Inject'](o['IConfigService']))],exports[_0x50de8b(0x373)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function de(_0x53bc0d){var _0x4b8c0c=_0x50de8b;return _0x53bc0d&&_0x53bc0d[_0x4b8c0c(0x4bf)]&&Object[_0x4b8c0c(0x297)][_0x4b8c0c(0x2f2)]['call'](_0x53bc0d,_0x4b8c0c(0x203))?_0x53bc0d['default']:_0x53bc0d;}var Ie={'exports':{}};function pi(_0x2fae26){var _0x11d461=_0x50de8b;throw new Error(_0x11d461(0x427)+_0x2fae26+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var fe={'exports':{}},mi=fe[_0x50de8b(0x280)],qe;function Z(){return qe||(qe=0x1,function(_0x5ca3df,_0x4f2d60){(function(_0x52c80a,_0x5e21e5){_0x5ca3df['exports']=_0x5e21e5();}(mi,function(){var _0x2dd66=_0x2dd66||function(_0x5d8228,_0x3e3137){var _0x2e13ba=_0x391f,_0x229190;if(typeof window<'u'&&window['crypto']&&(_0x229190=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x229190=self['crypto']),typeof globalThis<'u'&&globalThis[_0x2e13ba(0x4a8)]&&(_0x229190=globalThis[_0x2e13ba(0x4a8)]),!_0x229190&&typeof window<'u'&&window['msCrypto']&&(_0x229190=window[_0x2e13ba(0x440)]),!_0x229190&&typeof Pe<'u'&&Pe[_0x2e13ba(0x4a8)]&&(_0x229190=Pe['crypto']),!_0x229190&&typeof pi=='function')try{_0x229190=require('crypto');}catch{}var _0x4e3583=function(){var _0x3d9256=_0x2e13ba;if(_0x229190){if(typeof _0x229190[_0x3d9256(0x4cd)]==_0x3d9256(0x1d7))try{return _0x229190[_0x3d9256(0x4cd)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x229190[_0x3d9256(0x3e5)]==_0x3d9256(0x1d7))try{return _0x229190[_0x3d9256(0x3e5)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x590836=Object[_0x2e13ba(0x1cd)]||(function(){function _0x19497f(){}return function(_0x326050){var _0x70f3e=_0x391f,_0x491612;return _0x19497f['prototype']=_0x326050,_0x491612=new _0x19497f(),_0x19497f[_0x70f3e(0x297)]=null,_0x491612;};}()),_0x97c38c={},_0x56de37=_0x97c38c[_0x2e13ba(0x1fe)]={},_0x49d1f8=_0x56de37[_0x2e13ba(0x310)]=(function(){return{'extend':function(_0x186322){var _0x22132b=_0x391f,_0x3ed60d=_0x590836(this);return _0x186322&&_0x3ed60d[_0x22132b(0x226)](_0x186322),(!_0x3ed60d[_0x22132b(0x2f2)](_0x22132b(0x27d))||this[_0x22132b(0x27d)]===_0x3ed60d['init'])&&(_0x3ed60d[_0x22132b(0x27d)]=function(){var _0x112604=_0x22132b;_0x3ed60d[_0x112604(0x2b0)][_0x112604(0x27d)][_0x112604(0x22e)](this,arguments);}),_0x3ed60d[_0x22132b(0x27d)][_0x22132b(0x297)]=_0x3ed60d,_0x3ed60d[_0x22132b(0x2b0)]=this,_0x3ed60d;},'create':function(){var _0xad3571=_0x391f,_0x585832=this[_0xad3571(0x1df)]();return _0x585832[_0xad3571(0x27d)][_0xad3571(0x22e)](_0x585832,arguments),_0x585832;},'init':function(){},'mixIn':function(_0x5a1e8c){var _0x4d549c=_0x391f;for(var _0x10a086 in _0x5a1e8c)_0x5a1e8c[_0x4d549c(0x2f2)](_0x10a086)&&(this[_0x10a086]=_0x5a1e8c[_0x10a086]);_0x5a1e8c[_0x4d549c(0x2f2)](_0x4d549c(0x3b9))&&(this['toString']=_0x5a1e8c[_0x4d549c(0x3b9)]);},'clone':function(){var _0x1fba37=_0x391f;return this[_0x1fba37(0x27d)][_0x1fba37(0x297)]['extend'](this);}};}()),_0x5603be=_0x56de37[_0x2e13ba(0x284)]=_0x49d1f8[_0x2e13ba(0x1df)]({'init':function(_0x270acf,_0x58a48d){var _0x532f69=_0x2e13ba;_0x270acf=this[_0x532f69(0x3ed)]=_0x270acf||[],_0x58a48d!=_0x3e3137?this[_0x532f69(0x42d)]=_0x58a48d:this['sigBytes']=_0x270acf['length']*0x4;},'toString':function(_0x158dae){var _0x59b1c7=_0x2e13ba;return(_0x158dae||_0x58f457)[_0x59b1c7(0x54c)](this);},'concat':function(_0x516047){var _0xbb8a=_0x2e13ba,_0x223dd2=this['words'],_0x7001c8=_0x516047[_0xbb8a(0x3ed)],_0x291d74=this[_0xbb8a(0x42d)],_0x354624=_0x516047[_0xbb8a(0x42d)];if(this[_0xbb8a(0x370)](),_0x291d74%0x4)for(var _0x556a8c=0x0;_0x556a8c<_0x354624;_0x556a8c++){var _0x4f7015=_0x7001c8[_0x556a8c>>>0x2]>>>0x18-_0x556a8c%0x4*0x8&0xff;_0x223dd2[_0x291d74+_0x556a8c>>>0x2]|=_0x4f7015<<0x18-(_0x291d74+_0x556a8c)%0x4*0x8;}else{for(var _0x54d1eb=0x0;_0x54d1eb<_0x354624;_0x54d1eb+=0x4)_0x223dd2[_0x291d74+_0x54d1eb>>>0x2]=_0x7001c8[_0x54d1eb>>>0x2];}return this[_0xbb8a(0x42d)]+=_0x354624,this;},'clamp':function(){var _0x5933d2=_0x2e13ba,_0x19c8c2=this[_0x5933d2(0x3ed)],_0x331395=this[_0x5933d2(0x42d)];_0x19c8c2[_0x331395>>>0x2]&=0xffffffff<<0x20-_0x331395%0x4*0x8,_0x19c8c2[_0x5933d2(0x3a9)]=_0x5d8228[_0x5933d2(0x2de)](_0x331395/0x4);},'clone':function(){var _0x3f9088=_0x2e13ba,_0x47cab6=_0x49d1f8['clone'][_0x3f9088(0x51c)](this);return _0x47cab6[_0x3f9088(0x3ed)]=this[_0x3f9088(0x3ed)][_0x3f9088(0x435)](0x0),_0x47cab6;},'random':function(_0x4bb97b){var _0x22c359=_0x2e13ba;for(var _0x5dec4d=[],_0x3ca965=0x0;_0x3ca965<_0x4bb97b;_0x3ca965+=0x4)_0x5dec4d['push'](_0x4e3583());return new _0x5603be[(_0x22c359(0x27d))](_0x5dec4d,_0x4bb97b);}}),_0x415161=_0x97c38c[_0x2e13ba(0x51e)]={},_0x58f457=_0x415161['Hex']={'stringify':function(_0x353cb8){var _0x471357=_0x2e13ba;for(var _0x166e19=_0x353cb8[_0x471357(0x3ed)],_0x2e1446=_0x353cb8[_0x471357(0x42d)],_0x58d872=[],_0x3b08a8=0x0;_0x3b08a8<_0x2e1446;_0x3b08a8++){var _0x3d5a70=_0x166e19[_0x3b08a8>>>0x2]>>>0x18-_0x3b08a8%0x4*0x8&0xff;_0x58d872['push']((_0x3d5a70>>>0x4)['toString'](0x10)),_0x58d872['push']((_0x3d5a70&0xf)[_0x471357(0x3b9)](0x10));}return _0x58d872['join']('');},'parse':function(_0x24a40c){var _0x1921db=_0x2e13ba;for(var _0x3120a2=_0x24a40c[_0x1921db(0x3a9)],_0x27060b=[],_0x215e11=0x0;_0x215e11<_0x3120a2;_0x215e11+=0x2)_0x27060b[_0x215e11>>>0x3]|=parseInt(_0x24a40c[_0x1921db(0x449)](_0x215e11,0x2),0x10)<<0x18-_0x215e11%0x8*0x4;return new _0x5603be['init'](_0x27060b,_0x3120a2/0x2);}},_0x1fad0c=_0x415161['Latin1']={'stringify':function(_0x8c84e3){var _0x410c75=_0x2e13ba;for(var _0x33b646=_0x8c84e3[_0x410c75(0x3ed)],_0x34abe1=_0x8c84e3[_0x410c75(0x42d)],_0x2e0406=[],_0x1d4948=0x0;_0x1d4948<_0x34abe1;_0x1d4948++){var _0x1a2ba8=_0x33b646[_0x1d4948>>>0x2]>>>0x18-_0x1d4948%0x4*0x8&0xff;_0x2e0406['push'](String[_0x410c75(0x425)](_0x1a2ba8));}return _0x2e0406[_0x410c75(0x392)]('');},'parse':function(_0x1c35c0){var _0x10ccc9=_0x2e13ba;for(var _0x14d662=_0x1c35c0[_0x10ccc9(0x3a9)],_0x5062b7=[],_0x1ca861=0x0;_0x1ca861<_0x14d662;_0x1ca861++)_0x5062b7[_0x1ca861>>>0x2]|=(_0x1c35c0[_0x10ccc9(0x26d)](_0x1ca861)&0xff)<<0x18-_0x1ca861%0x4*0x8;return new _0x5603be[(_0x10ccc9(0x27d))](_0x5062b7,_0x14d662);}},_0x3037eb=_0x415161[_0x2e13ba(0x43a)]={'stringify':function(_0x18420d){var _0x2e4a4e=_0x2e13ba;try{return decodeURIComponent(escape(_0x1fad0c['stringify'](_0x18420d)));}catch{throw new Error(_0x2e4a4e(0x308));}},'parse':function(_0x3311c9){var _0x5d937c=_0x2e13ba;return _0x1fad0c[_0x5d937c(0x560)](unescape(encodeURIComponent(_0x3311c9)));}},_0x5aa752=_0x56de37[_0x2e13ba(0x3ea)]=_0x49d1f8['extend']({'reset':function(){var _0x260711=_0x2e13ba;this[_0x260711(0x4d6)]=new _0x5603be[(_0x260711(0x27d))](),this['_nDataBytes']=0x0;},'_append':function(_0x5503e4){var _0x490570=_0x2e13ba;typeof _0x5503e4==_0x490570(0x272)&&(_0x5503e4=_0x3037eb[_0x490570(0x560)](_0x5503e4)),this[_0x490570(0x4d6)][_0x490570(0x233)](_0x5503e4),this[_0x490570(0x3ec)]+=_0x5503e4['sigBytes'];},'_process':function(_0x504716){var _0x3808c7=_0x2e13ba,_0xba1eb3,_0x409ee6=this[_0x3808c7(0x4d6)],_0x232aca=_0x409ee6[_0x3808c7(0x3ed)],_0x259e3c=_0x409ee6[_0x3808c7(0x42d)],_0x2c0dce=this[_0x3808c7(0x32b)],_0xd77231=_0x2c0dce*0x4,_0x3fc6c8=_0x259e3c/_0xd77231;_0x504716?_0x3fc6c8=_0x5d8228[_0x3808c7(0x2de)](_0x3fc6c8):_0x3fc6c8=_0x5d8228[_0x3808c7(0x383)]((_0x3fc6c8|0x0)-this[_0x3808c7(0x318)],0x0);var _0x789d0a=_0x3fc6c8*_0x2c0dce,_0x32a7eb=_0x5d8228[_0x3808c7(0x2ee)](_0x789d0a*0x4,_0x259e3c);if(_0x789d0a){for(var _0x5a21a3=0x0;_0x5a21a3<_0x789d0a;_0x5a21a3+=_0x2c0dce)this['_doProcessBlock'](_0x232aca,_0x5a21a3);_0xba1eb3=_0x232aca[_0x3808c7(0x4cc)](0x0,_0x789d0a),_0x409ee6['sigBytes']-=_0x32a7eb;}return new _0x5603be[(_0x3808c7(0x27d))](_0xba1eb3,_0x32a7eb);},'clone':function(){var _0x1deae4=_0x2e13ba,_0x500204=_0x49d1f8[_0x1deae4(0x387)]['call'](this);return _0x500204[_0x1deae4(0x4d6)]=this['_data'][_0x1deae4(0x387)](),_0x500204;},'_minBufferSize':0x0});_0x56de37[_0x2e13ba(0x304)]=_0x5aa752[_0x2e13ba(0x1df)]({'cfg':_0x49d1f8['extend'](),'init':function(_0x12a5ec){var _0x56523d=_0x2e13ba;this['cfg']=this['cfg']['extend'](_0x12a5ec),this[_0x56523d(0x48a)]();},'reset':function(){var _0x1b7ac0=_0x2e13ba;_0x5aa752['reset'][_0x1b7ac0(0x51c)](this),this[_0x1b7ac0(0x368)]();},'update':function(_0x30401a){var _0x3a573d=_0x2e13ba;return this[_0x3a573d(0x3f8)](_0x30401a),this[_0x3a573d(0x1ff)](),this;},'finalize':function(_0x42a9f9){var _0x1f091d=_0x2e13ba;_0x42a9f9&&this['_append'](_0x42a9f9);var _0x261436=this[_0x1f091d(0x412)]();return _0x261436;},'blockSize':0x10,'_createHelper':function(_0xbbe8a1){return function(_0x387bd9,_0x22136a){var _0x2b4639=_0x391f;return new _0xbbe8a1['init'](_0x22136a)[_0x2b4639(0x28c)](_0x387bd9);};},'_createHmacHelper':function(_0x539dbb){return function(_0x50e4c7,_0x51d0cc){var _0x8e797b=_0x391f;return new _0x108b54[(_0x8e797b(0x4c2))][(_0x8e797b(0x27d))](_0x539dbb,_0x51d0cc)[_0x8e797b(0x28c)](_0x50e4c7);};}});var _0x108b54=_0x97c38c[_0x2e13ba(0x24b)]={};return _0x97c38c;}(Math);return _0x2dd66;}));}(fe)),fe['exports'];}var Ee={'exports':{}},gi=Ee[_0x50de8b(0x280)],ze;function gt(){return ze||(ze=0x1,function(_0x5dc086,_0x3d6531){(function(_0x5b51c2,_0x143ac4){var _0x26b044=_0x391f;_0x5dc086[_0x26b044(0x280)]=_0x143ac4(Z());}(gi,function(_0x114512){var _0x6e6d23=_0x391f;return(function(){var _0x550923=_0x391f,_0x28cd46=_0x114512,_0x272642=_0x28cd46['lib'],_0x99366=_0x272642[_0x550923(0x284)],_0x82c8d2=_0x28cd46['enc'];_0x82c8d2[_0x550923(0x51a)]={'stringify':function(_0x59410e){var _0x24dbc0=_0x550923,_0x2c09d8=_0x59410e[_0x24dbc0(0x3ed)],_0x10c9b5=_0x59410e[_0x24dbc0(0x42d)],_0x15cf8d=this[_0x24dbc0(0x32d)];_0x59410e['clamp']();for(var _0x6e4198=[],_0x57bc28=0x0;_0x57bc28<_0x10c9b5;_0x57bc28+=0x3)for(var _0x472f52=_0x2c09d8[_0x57bc28>>>0x2]>>>0x18-_0x57bc28%0x4*0x8&0xff,_0x1b626b=_0x2c09d8[_0x57bc28+0x1>>>0x2]>>>0x18-(_0x57bc28+0x1)%0x4*0x8&0xff,_0x265ac1=_0x2c09d8[_0x57bc28+0x2>>>0x2]>>>0x18-(_0x57bc28+0x2)%0x4*0x8&0xff,_0x1618d6=_0x472f52<<0x10|_0x1b626b<<0x8|_0x265ac1,_0x3f3cf7=0x0;_0x3f3cf7<0x4&&_0x57bc28+_0x3f3cf7*0.75<_0x10c9b5;_0x3f3cf7++)_0x6e4198[_0x24dbc0(0x459)](_0x15cf8d['charAt'](_0x1618d6>>>0x6*(0x3-_0x3f3cf7)&0x3f));var _0x2dfcbf=_0x15cf8d['charAt'](0x40);if(_0x2dfcbf){for(;_0x6e4198[_0x24dbc0(0x3a9)]%0x4;)_0x6e4198[_0x24dbc0(0x459)](_0x2dfcbf);}return _0x6e4198[_0x24dbc0(0x392)]('');},'parse':function(_0x244080){var _0x47090d=_0x550923,_0x507180=_0x244080[_0x47090d(0x3a9)],_0x290011=this['_map'],_0x1c2db9=this[_0x47090d(0x2b7)];if(!_0x1c2db9){_0x1c2db9=this[_0x47090d(0x2b7)]=[];for(var _0x5e9343=0x0;_0x5e9343<_0x290011[_0x47090d(0x3a9)];_0x5e9343++)_0x1c2db9[_0x290011[_0x47090d(0x26d)](_0x5e9343)]=_0x5e9343;}var _0x55c039=_0x290011[_0x47090d(0x47e)](0x40);if(_0x55c039){var _0x4eedf5=_0x244080[_0x47090d(0x406)](_0x55c039);_0x4eedf5!==-0x1&&(_0x507180=_0x4eedf5);}return _0x442dbf(_0x244080,_0x507180,_0x1c2db9);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x442dbf(_0x45f3e0,_0x3c9eef,_0x46f523){var _0x1e1102=_0x550923;for(var _0x19f6f2=[],_0x207c4c=0x0,_0x235cbc=0x0;_0x235cbc<_0x3c9eef;_0x235cbc++)if(_0x235cbc%0x4){var _0x35a783=_0x46f523[_0x45f3e0['charCodeAt'](_0x235cbc-0x1)]<<_0x235cbc%0x4*0x2,_0x312ab7=_0x46f523[_0x45f3e0[_0x1e1102(0x26d)](_0x235cbc)]>>>0x6-_0x235cbc%0x4*0x2,_0x5ce9d9=_0x35a783|_0x312ab7;_0x19f6f2[_0x207c4c>>>0x2]|=_0x5ce9d9<<0x18-_0x207c4c%0x4*0x8,_0x207c4c++;}return _0x99366[_0x1e1102(0x1cd)](_0x19f6f2,_0x207c4c);}}()),_0x114512['enc'][_0x6e6d23(0x51a)];}));}(Ee)),Ee['exports'];}var pe={'exports':{}},Ti=pe[_0x50de8b(0x280)],Xe;function Ci(){var _0x57f0de=_0x50de8b;return Xe||(Xe=0x1,function(_0x5ac4e1,_0x46884a){(function(_0x486fc7,_0x47e009){var _0x79f373=_0x391f;_0x5ac4e1[_0x79f373(0x280)]=_0x47e009(Z());}(Ti,function(_0x21ea6e){var _0x5225a7=_0x391f;return function(_0x4a8636){var _0x591034=_0x391f,_0x1af896=_0x21ea6e,_0x3a7a51=_0x1af896[_0x591034(0x1fe)],_0x4b7fbb=_0x3a7a51['WordArray'],_0x1e3117=_0x3a7a51[_0x591034(0x304)],_0x585daa=_0x1af896[_0x591034(0x24b)],_0x1c9d9b=[];(function(){var _0x8bb561=_0x591034;for(var _0x37cdd1=0x0;_0x37cdd1<0x40;_0x37cdd1++)_0x1c9d9b[_0x37cdd1]=_0x4a8636['abs'](_0x4a8636[_0x8bb561(0x428)](_0x37cdd1+0x1))*0x100000000|0x0;}());var _0x366bdd=_0x585daa[_0x591034(0x2c0)]=_0x1e3117[_0x591034(0x1df)]({'_doReset':function(){var _0x20f20a=_0x591034;this[_0x20f20a(0x54f)]=new _0x4b7fbb['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2011d2,_0x4c780d){var _0x2a5308=_0x591034;for(var _0x506a48=0x0;_0x506a48<0x10;_0x506a48++){var _0x4280ed=_0x4c780d+_0x506a48,_0x32a449=_0x2011d2[_0x4280ed];_0x2011d2[_0x4280ed]=(_0x32a449<<0x8|_0x32a449>>>0x18)&0xff00ff|(_0x32a449<<0x18|_0x32a449>>>0x8)&0xff00ff00;}var _0x53a273=this[_0x2a5308(0x54f)][_0x2a5308(0x3ed)],_0x1c154d=_0x2011d2[_0x4c780d+0x0],_0x478ff0=_0x2011d2[_0x4c780d+0x1],_0x290510=_0x2011d2[_0x4c780d+0x2],_0x3e452d=_0x2011d2[_0x4c780d+0x3],_0x52eeb2=_0x2011d2[_0x4c780d+0x4],_0x39bd76=_0x2011d2[_0x4c780d+0x5],_0x409d14=_0x2011d2[_0x4c780d+0x6],_0xb38aaf=_0x2011d2[_0x4c780d+0x7],_0x1b6462=_0x2011d2[_0x4c780d+0x8],_0x45ef6d=_0x2011d2[_0x4c780d+0x9],_0x3324ca=_0x2011d2[_0x4c780d+0xa],_0x109d17=_0x2011d2[_0x4c780d+0xb],_0x3e10c1=_0x2011d2[_0x4c780d+0xc],_0x5e1f75=_0x2011d2[_0x4c780d+0xd],_0xdb32d3=_0x2011d2[_0x4c780d+0xe],_0x5f0d65=_0x2011d2[_0x4c780d+0xf],_0x3f5480=_0x53a273[0x0],_0x353993=_0x53a273[0x1],_0x1d7d7c=_0x53a273[0x2],_0x2d9e92=_0x53a273[0x3];_0x3f5480=_0x35027d(_0x3f5480,_0x353993,_0x1d7d7c,_0x2d9e92,_0x1c154d,0x7,_0x1c9d9b[0x0]),_0x2d9e92=_0x35027d(_0x2d9e92,_0x3f5480,_0x353993,_0x1d7d7c,_0x478ff0,0xc,_0x1c9d9b[0x1]),_0x1d7d7c=_0x35027d(_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x353993,_0x290510,0x11,_0x1c9d9b[0x2]),_0x353993=_0x35027d(_0x353993,_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x3e452d,0x16,_0x1c9d9b[0x3]),_0x3f5480=_0x35027d(_0x3f5480,_0x353993,_0x1d7d7c,_0x2d9e92,_0x52eeb2,0x7,_0x1c9d9b[0x4]),_0x2d9e92=_0x35027d(_0x2d9e92,_0x3f5480,_0x353993,_0x1d7d7c,_0x39bd76,0xc,_0x1c9d9b[0x5]),_0x1d7d7c=_0x35027d(_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x353993,_0x409d14,0x11,_0x1c9d9b[0x6]),_0x353993=_0x35027d(_0x353993,_0x1d7d7c,_0x2d9e92,_0x3f5480,_0xb38aaf,0x16,_0x1c9d9b[0x7]),_0x3f5480=_0x35027d(_0x3f5480,_0x353993,_0x1d7d7c,_0x2d9e92,_0x1b6462,0x7,_0x1c9d9b[0x8]),_0x2d9e92=_0x35027d(_0x2d9e92,_0x3f5480,_0x353993,_0x1d7d7c,_0x45ef6d,0xc,_0x1c9d9b[0x9]),_0x1d7d7c=_0x35027d(_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x353993,_0x3324ca,0x11,_0x1c9d9b[0xa]),_0x353993=_0x35027d(_0x353993,_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x109d17,0x16,_0x1c9d9b[0xb]),_0x3f5480=_0x35027d(_0x3f5480,_0x353993,_0x1d7d7c,_0x2d9e92,_0x3e10c1,0x7,_0x1c9d9b[0xc]),_0x2d9e92=_0x35027d(_0x2d9e92,_0x3f5480,_0x353993,_0x1d7d7c,_0x5e1f75,0xc,_0x1c9d9b[0xd]),_0x1d7d7c=_0x35027d(_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x353993,_0xdb32d3,0x11,_0x1c9d9b[0xe]),_0x353993=_0x35027d(_0x353993,_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x5f0d65,0x16,_0x1c9d9b[0xf]),_0x3f5480=_0x16620d(_0x3f5480,_0x353993,_0x1d7d7c,_0x2d9e92,_0x478ff0,0x5,_0x1c9d9b[0x10]),_0x2d9e92=_0x16620d(_0x2d9e92,_0x3f5480,_0x353993,_0x1d7d7c,_0x409d14,0x9,_0x1c9d9b[0x11]),_0x1d7d7c=_0x16620d(_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x353993,_0x109d17,0xe,_0x1c9d9b[0x12]),_0x353993=_0x16620d(_0x353993,_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x1c154d,0x14,_0x1c9d9b[0x13]),_0x3f5480=_0x16620d(_0x3f5480,_0x353993,_0x1d7d7c,_0x2d9e92,_0x39bd76,0x5,_0x1c9d9b[0x14]),_0x2d9e92=_0x16620d(_0x2d9e92,_0x3f5480,_0x353993,_0x1d7d7c,_0x3324ca,0x9,_0x1c9d9b[0x15]),_0x1d7d7c=_0x16620d(_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x353993,_0x5f0d65,0xe,_0x1c9d9b[0x16]),_0x353993=_0x16620d(_0x353993,_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x52eeb2,0x14,_0x1c9d9b[0x17]),_0x3f5480=_0x16620d(_0x3f5480,_0x353993,_0x1d7d7c,_0x2d9e92,_0x45ef6d,0x5,_0x1c9d9b[0x18]),_0x2d9e92=_0x16620d(_0x2d9e92,_0x3f5480,_0x353993,_0x1d7d7c,_0xdb32d3,0x9,_0x1c9d9b[0x19]),_0x1d7d7c=_0x16620d(_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x353993,_0x3e452d,0xe,_0x1c9d9b[0x1a]),_0x353993=_0x16620d(_0x353993,_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x1b6462,0x14,_0x1c9d9b[0x1b]),_0x3f5480=_0x16620d(_0x3f5480,_0x353993,_0x1d7d7c,_0x2d9e92,_0x5e1f75,0x5,_0x1c9d9b[0x1c]),_0x2d9e92=_0x16620d(_0x2d9e92,_0x3f5480,_0x353993,_0x1d7d7c,_0x290510,0x9,_0x1c9d9b[0x1d]),_0x1d7d7c=_0x16620d(_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x353993,_0xb38aaf,0xe,_0x1c9d9b[0x1e]),_0x353993=_0x16620d(_0x353993,_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x3e10c1,0x14,_0x1c9d9b[0x1f]),_0x3f5480=_0x3ffb4a(_0x3f5480,_0x353993,_0x1d7d7c,_0x2d9e92,_0x39bd76,0x4,_0x1c9d9b[0x20]),_0x2d9e92=_0x3ffb4a(_0x2d9e92,_0x3f5480,_0x353993,_0x1d7d7c,_0x1b6462,0xb,_0x1c9d9b[0x21]),_0x1d7d7c=_0x3ffb4a(_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x353993,_0x109d17,0x10,_0x1c9d9b[0x22]),_0x353993=_0x3ffb4a(_0x353993,_0x1d7d7c,_0x2d9e92,_0x3f5480,_0xdb32d3,0x17,_0x1c9d9b[0x23]),_0x3f5480=_0x3ffb4a(_0x3f5480,_0x353993,_0x1d7d7c,_0x2d9e92,_0x478ff0,0x4,_0x1c9d9b[0x24]),_0x2d9e92=_0x3ffb4a(_0x2d9e92,_0x3f5480,_0x353993,_0x1d7d7c,_0x52eeb2,0xb,_0x1c9d9b[0x25]),_0x1d7d7c=_0x3ffb4a(_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x353993,_0xb38aaf,0x10,_0x1c9d9b[0x26]),_0x353993=_0x3ffb4a(_0x353993,_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x3324ca,0x17,_0x1c9d9b[0x27]),_0x3f5480=_0x3ffb4a(_0x3f5480,_0x353993,_0x1d7d7c,_0x2d9e92,_0x5e1f75,0x4,_0x1c9d9b[0x28]),_0x2d9e92=_0x3ffb4a(_0x2d9e92,_0x3f5480,_0x353993,_0x1d7d7c,_0x1c154d,0xb,_0x1c9d9b[0x29]),_0x1d7d7c=_0x3ffb4a(_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x353993,_0x3e452d,0x10,_0x1c9d9b[0x2a]),_0x353993=_0x3ffb4a(_0x353993,_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x409d14,0x17,_0x1c9d9b[0x2b]),_0x3f5480=_0x3ffb4a(_0x3f5480,_0x353993,_0x1d7d7c,_0x2d9e92,_0x45ef6d,0x4,_0x1c9d9b[0x2c]),_0x2d9e92=_0x3ffb4a(_0x2d9e92,_0x3f5480,_0x353993,_0x1d7d7c,_0x3e10c1,0xb,_0x1c9d9b[0x2d]),_0x1d7d7c=_0x3ffb4a(_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x353993,_0x5f0d65,0x10,_0x1c9d9b[0x2e]),_0x353993=_0x3ffb4a(_0x353993,_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x290510,0x17,_0x1c9d9b[0x2f]),_0x3f5480=_0x1c0d33(_0x3f5480,_0x353993,_0x1d7d7c,_0x2d9e92,_0x1c154d,0x6,_0x1c9d9b[0x30]),_0x2d9e92=_0x1c0d33(_0x2d9e92,_0x3f5480,_0x353993,_0x1d7d7c,_0xb38aaf,0xa,_0x1c9d9b[0x31]),_0x1d7d7c=_0x1c0d33(_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x353993,_0xdb32d3,0xf,_0x1c9d9b[0x32]),_0x353993=_0x1c0d33(_0x353993,_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x39bd76,0x15,_0x1c9d9b[0x33]),_0x3f5480=_0x1c0d33(_0x3f5480,_0x353993,_0x1d7d7c,_0x2d9e92,_0x3e10c1,0x6,_0x1c9d9b[0x34]),_0x2d9e92=_0x1c0d33(_0x2d9e92,_0x3f5480,_0x353993,_0x1d7d7c,_0x3e452d,0xa,_0x1c9d9b[0x35]),_0x1d7d7c=_0x1c0d33(_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x353993,_0x3324ca,0xf,_0x1c9d9b[0x36]),_0x353993=_0x1c0d33(_0x353993,_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x478ff0,0x15,_0x1c9d9b[0x37]),_0x3f5480=_0x1c0d33(_0x3f5480,_0x353993,_0x1d7d7c,_0x2d9e92,_0x1b6462,0x6,_0x1c9d9b[0x38]),_0x2d9e92=_0x1c0d33(_0x2d9e92,_0x3f5480,_0x353993,_0x1d7d7c,_0x5f0d65,0xa,_0x1c9d9b[0x39]),_0x1d7d7c=_0x1c0d33(_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x353993,_0x409d14,0xf,_0x1c9d9b[0x3a]),_0x353993=_0x1c0d33(_0x353993,_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x5e1f75,0x15,_0x1c9d9b[0x3b]),_0x3f5480=_0x1c0d33(_0x3f5480,_0x353993,_0x1d7d7c,_0x2d9e92,_0x52eeb2,0x6,_0x1c9d9b[0x3c]),_0x2d9e92=_0x1c0d33(_0x2d9e92,_0x3f5480,_0x353993,_0x1d7d7c,_0x109d17,0xa,_0x1c9d9b[0x3d]),_0x1d7d7c=_0x1c0d33(_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x353993,_0x290510,0xf,_0x1c9d9b[0x3e]),_0x353993=_0x1c0d33(_0x353993,_0x1d7d7c,_0x2d9e92,_0x3f5480,_0x45ef6d,0x15,_0x1c9d9b[0x3f]),_0x53a273[0x0]=_0x53a273[0x0]+_0x3f5480|0x0,_0x53a273[0x1]=_0x53a273[0x1]+_0x353993|0x0,_0x53a273[0x2]=_0x53a273[0x2]+_0x1d7d7c|0x0,_0x53a273[0x3]=_0x53a273[0x3]+_0x2d9e92|0x0;},'_doFinalize':function(){var _0x55016a=_0x591034,_0x494ee9=this[_0x55016a(0x4d6)],_0x986c5d=_0x494ee9[_0x55016a(0x3ed)],_0x33022d=this[_0x55016a(0x3ec)]*0x8,_0x12b1b8=_0x494ee9['sigBytes']*0x8;_0x986c5d[_0x12b1b8>>>0x5]|=0x80<<0x18-_0x12b1b8%0x20;var _0x4bb91d=_0x4a8636[_0x55016a(0x270)](_0x33022d/0x100000000),_0xb5425d=_0x33022d;_0x986c5d[(_0x12b1b8+0x40>>>0x9<<0x4)+0xf]=(_0x4bb91d<<0x8|_0x4bb91d>>>0x18)&0xff00ff|(_0x4bb91d<<0x18|_0x4bb91d>>>0x8)&0xff00ff00,_0x986c5d[(_0x12b1b8+0x40>>>0x9<<0x4)+0xe]=(_0xb5425d<<0x8|_0xb5425d>>>0x18)&0xff00ff|(_0xb5425d<<0x18|_0xb5425d>>>0x8)&0xff00ff00,_0x494ee9[_0x55016a(0x42d)]=(_0x986c5d[_0x55016a(0x3a9)]+0x1)*0x4,this['_process']();for(var _0x4dcb2f=this['_hash'],_0x33b386=_0x4dcb2f['words'],_0x4fe7ec=0x0;_0x4fe7ec<0x4;_0x4fe7ec++){var _0x2a01eb=_0x33b386[_0x4fe7ec];_0x33b386[_0x4fe7ec]=(_0x2a01eb<<0x8|_0x2a01eb>>>0x18)&0xff00ff|(_0x2a01eb<<0x18|_0x2a01eb>>>0x8)&0xff00ff00;}return _0x4dcb2f;},'clone':function(){var _0x3de0b3=_0x591034,_0x3b82a0=_0x1e3117[_0x3de0b3(0x387)][_0x3de0b3(0x51c)](this);return _0x3b82a0['_hash']=this[_0x3de0b3(0x54f)]['clone'](),_0x3b82a0;}});function _0x35027d(_0x10fb38,_0x4b9011,_0x59908e,_0x305558,_0x4babdf,_0x3cabd6,_0x3a7ebc){var _0x303d8a=_0x10fb38+(_0x4b9011&_0x59908e|~_0x4b9011&_0x305558)+_0x4babdf+_0x3a7ebc;return(_0x303d8a<<_0x3cabd6|_0x303d8a>>>0x20-_0x3cabd6)+_0x4b9011;}function _0x16620d(_0x199e47,_0x815873,_0x1b75bb,_0x158d25,_0x298aa4,_0x20a77b,_0x1f65c){var _0x2d8794=_0x199e47+(_0x815873&_0x158d25|_0x1b75bb&~_0x158d25)+_0x298aa4+_0x1f65c;return(_0x2d8794<<_0x20a77b|_0x2d8794>>>0x20-_0x20a77b)+_0x815873;}function _0x3ffb4a(_0x3388b4,_0xb3f44f,_0x120db3,_0x268d71,_0x5f3a63,_0x4b84ce,_0x616058){var _0x10b179=_0x3388b4+(_0xb3f44f^_0x120db3^_0x268d71)+_0x5f3a63+_0x616058;return(_0x10b179<<_0x4b84ce|_0x10b179>>>0x20-_0x4b84ce)+_0xb3f44f;}function _0x1c0d33(_0x2f83dd,_0x2944d5,_0x3568f5,_0x337b96,_0x1c55da,_0x407a2d,_0x512123){var _0x3ae3aa=_0x2f83dd+(_0x3568f5^(_0x2944d5|~_0x337b96))+_0x1c55da+_0x512123;return(_0x3ae3aa<<_0x407a2d|_0x3ae3aa>>>0x20-_0x407a2d)+_0x2944d5;}_0x1af896[_0x591034(0x2c0)]=_0x1e3117['_createHelper'](_0x366bdd),_0x1af896[_0x591034(0x31a)]=_0x1e3117[_0x591034(0x2e0)](_0x366bdd);}(Math),_0x21ea6e[_0x5225a7(0x2c0)];}));}(pe)),pe[_0x57f0de(0x280)];}var me={'exports':{}},ge={'exports':{}},bi=ge[_0x50de8b(0x280)],Je;function Oi(){return Je||(Je=0x1,function(_0x3f3a03,_0x30fa48){(function(_0x6fed10,_0x15014f){var _0x190dcf=_0x391f;_0x3f3a03[_0x190dcf(0x280)]=_0x15014f(Z());}(bi,function(_0x2b6913){return(function(){var _0x362a7f=_0x391f,_0x489208=_0x2b6913,_0x475bca=_0x489208[_0x362a7f(0x1fe)],_0x1e047f=_0x475bca['WordArray'],_0x46c37f=_0x475bca['Hasher'],_0x31c1e5=_0x489208[_0x362a7f(0x24b)],_0x491116=[],_0x4d5138=_0x31c1e5['SHA1']=_0x46c37f[_0x362a7f(0x1df)]({'_doReset':function(){var _0xd04f2b=_0x362a7f;this[_0xd04f2b(0x54f)]=new _0x1e047f[(_0xd04f2b(0x27d))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2fb571,_0x35f6ea){var _0x5d83b1=_0x362a7f;for(var _0x245262=this[_0x5d83b1(0x54f)][_0x5d83b1(0x3ed)],_0x44516c=_0x245262[0x0],_0x49f6f8=_0x245262[0x1],_0x4416d1=_0x245262[0x2],_0x456432=_0x245262[0x3],_0x44c628=_0x245262[0x4],_0x3797bc=0x0;_0x3797bc<0x50;_0x3797bc++){if(_0x3797bc<0x10)_0x491116[_0x3797bc]=_0x2fb571[_0x35f6ea+_0x3797bc]|0x0;else{var _0x35cf91=_0x491116[_0x3797bc-0x3]^_0x491116[_0x3797bc-0x8]^_0x491116[_0x3797bc-0xe]^_0x491116[_0x3797bc-0x10];_0x491116[_0x3797bc]=_0x35cf91<<0x1|_0x35cf91>>>0x1f;}var _0x5dccea=(_0x44516c<<0x5|_0x44516c>>>0x1b)+_0x44c628+_0x491116[_0x3797bc];_0x3797bc<0x14?_0x5dccea+=(_0x49f6f8&_0x4416d1|~_0x49f6f8&_0x456432)+0x5a827999:_0x3797bc<0x28?_0x5dccea+=(_0x49f6f8^_0x4416d1^_0x456432)+0x6ed9eba1:_0x3797bc<0x3c?_0x5dccea+=(_0x49f6f8&_0x4416d1|_0x49f6f8&_0x456432|_0x4416d1&_0x456432)-0x70e44324:_0x5dccea+=(_0x49f6f8^_0x4416d1^_0x456432)-0x359d3e2a,_0x44c628=_0x456432,_0x456432=_0x4416d1,_0x4416d1=_0x49f6f8<<0x1e|_0x49f6f8>>>0x2,_0x49f6f8=_0x44516c,_0x44516c=_0x5dccea;}_0x245262[0x0]=_0x245262[0x0]+_0x44516c|0x0,_0x245262[0x1]=_0x245262[0x1]+_0x49f6f8|0x0,_0x245262[0x2]=_0x245262[0x2]+_0x4416d1|0x0,_0x245262[0x3]=_0x245262[0x3]+_0x456432|0x0,_0x245262[0x4]=_0x245262[0x4]+_0x44c628|0x0;},'_doFinalize':function(){var _0x4af766=_0x362a7f,_0x160883=this[_0x4af766(0x4d6)],_0x171e06=_0x160883[_0x4af766(0x3ed)],_0x45d136=this['_nDataBytes']*0x8,_0x2a21de=_0x160883[_0x4af766(0x42d)]*0x8;return _0x171e06[_0x2a21de>>>0x5]|=0x80<<0x18-_0x2a21de%0x20,_0x171e06[(_0x2a21de+0x40>>>0x9<<0x4)+0xe]=Math[_0x4af766(0x270)](_0x45d136/0x100000000),_0x171e06[(_0x2a21de+0x40>>>0x9<<0x4)+0xf]=_0x45d136,_0x160883[_0x4af766(0x42d)]=_0x171e06['length']*0x4,this[_0x4af766(0x1ff)](),this[_0x4af766(0x54f)];},'clone':function(){var _0x152735=_0x362a7f,_0x434f34=_0x46c37f[_0x152735(0x387)]['call'](this);return _0x434f34['_hash']=this[_0x152735(0x54f)][_0x152735(0x387)](),_0x434f34;}});_0x489208['SHA1']=_0x46c37f['_createHelper'](_0x4d5138),_0x489208['HmacSHA1']=_0x46c37f[_0x362a7f(0x2e0)](_0x4d5138);}()),_0x2b6913['SHA1'];}));}(ge)),ge['exports'];}var Te={'exports':{}},Ri=Te[_0x50de8b(0x280)],Ze;function Ni(){var _0x4f7cad=_0x50de8b;return Ze||(Ze=0x1,function(_0x3c173b,_0x9211de){(function(_0x326c53,_0x54abba){var _0x3be84a=_0x391f;_0x3c173b[_0x3be84a(0x280)]=_0x54abba(Z());}(Ri,function(_0x241596){(function(){var _0x2303fe=_0x391f,_0x22220a=_0x241596,_0x17971e=_0x22220a[_0x2303fe(0x1fe)],_0x5bb4d9=_0x17971e[_0x2303fe(0x310)],_0x250c07=_0x22220a['enc'],_0x212874=_0x250c07[_0x2303fe(0x43a)],_0x3b6823=_0x22220a[_0x2303fe(0x24b)];_0x3b6823['HMAC']=_0x5bb4d9[_0x2303fe(0x1df)]({'init':function(_0x251cf6,_0x40a04d){var _0x2f3b5f=_0x2303fe;_0x251cf6=this[_0x2f3b5f(0x4d7)]=new _0x251cf6['init'](),typeof _0x40a04d==_0x2f3b5f(0x272)&&(_0x40a04d=_0x212874['parse'](_0x40a04d));var _0x484db4=_0x251cf6['blockSize'],_0x1bce41=_0x484db4*0x4;_0x40a04d['sigBytes']>_0x1bce41&&(_0x40a04d=_0x251cf6[_0x2f3b5f(0x28c)](_0x40a04d)),_0x40a04d[_0x2f3b5f(0x370)]();for(var _0x493897=this[_0x2f3b5f(0x2b2)]=_0x40a04d[_0x2f3b5f(0x387)](),_0x1aa160=this[_0x2f3b5f(0x2e8)]=_0x40a04d[_0x2f3b5f(0x387)](),_0xfaa395=_0x493897[_0x2f3b5f(0x3ed)],_0x108ff5=_0x1aa160['words'],_0x40dc88=0x0;_0x40dc88<_0x484db4;_0x40dc88++)_0xfaa395[_0x40dc88]^=0x5c5c5c5c,_0x108ff5[_0x40dc88]^=0x36363636;_0x493897[_0x2f3b5f(0x42d)]=_0x1aa160['sigBytes']=_0x1bce41,this['reset']();},'reset':function(){var _0x14350d=_0x2303fe,_0x44b10a=this[_0x14350d(0x4d7)];_0x44b10a[_0x14350d(0x48a)](),_0x44b10a[_0x14350d(0x4b1)](this[_0x14350d(0x2e8)]);},'update':function(_0x30d2a7){var _0x276e99=_0x2303fe;return this[_0x276e99(0x4d7)][_0x276e99(0x4b1)](_0x30d2a7),this;},'finalize':function(_0x109d67){var _0x3da404=_0x2303fe,_0x3817f4=this[_0x3da404(0x4d7)],_0x3bba3f=_0x3817f4[_0x3da404(0x28c)](_0x109d67);_0x3817f4['reset']();var _0x4daf3a=_0x3817f4[_0x3da404(0x28c)](this[_0x3da404(0x2b2)][_0x3da404(0x387)]()['concat'](_0x3bba3f));return _0x4daf3a;}});}());}));}(Te)),Te[_0x4f7cad(0x280)];}var Di=me[_0x50de8b(0x280)],Qe;function Tt(){var _0x5c2124=_0x50de8b;return Qe||(Qe=0x1,function(_0x4a68fe,_0x433949){(function(_0x1694aa,_0x28ad47,_0x357468){_0x4a68fe['exports']=_0x28ad47(Z(),Oi(),Ni());}(Di,function(_0x33fe72){var _0x12e5c0=_0x391f;return(function(){var _0x101124=_0x391f,_0x36f647=_0x33fe72,_0x4abb1c=_0x36f647[_0x101124(0x1fe)],_0x9d34ca=_0x4abb1c['Base'],_0x2ecb17=_0x4abb1c[_0x101124(0x284)],_0x1438fc=_0x36f647[_0x101124(0x24b)],_0x5707ab=_0x1438fc['MD5'],_0x344ec3=_0x1438fc['EvpKDF']=_0x9d34ca[_0x101124(0x1df)]({'cfg':_0x9d34ca[_0x101124(0x1df)]({'keySize':0x80/0x20,'hasher':_0x5707ab,'iterations':0x1}),'init':function(_0x4baecf){var _0xdf306f=_0x101124;this[_0xdf306f(0x39e)]=this[_0xdf306f(0x39e)]['extend'](_0x4baecf);},'compute':function(_0x4bb11b,_0x4d7550){var _0x2f06e6=_0x101124;for(var _0x2808e0,_0x2f3cb0=this[_0x2f06e6(0x39e)],_0x1f0f11=_0x2f3cb0['hasher'][_0x2f06e6(0x1cd)](),_0x2b75f9=_0x2ecb17[_0x2f06e6(0x1cd)](),_0x445d50=_0x2b75f9[_0x2f06e6(0x3ed)],_0x564e99=_0x2f3cb0['keySize'],_0x367f04=_0x2f3cb0[_0x2f06e6(0x1ea)];_0x445d50[_0x2f06e6(0x3a9)]<_0x564e99;){_0x2808e0&&_0x1f0f11[_0x2f06e6(0x4b1)](_0x2808e0),_0x2808e0=_0x1f0f11[_0x2f06e6(0x4b1)](_0x4bb11b)[_0x2f06e6(0x28c)](_0x4d7550),_0x1f0f11[_0x2f06e6(0x48a)]();for(var _0x3e76a8=0x1;_0x3e76a8<_0x367f04;_0x3e76a8++)_0x2808e0=_0x1f0f11[_0x2f06e6(0x28c)](_0x2808e0),_0x1f0f11[_0x2f06e6(0x48a)]();_0x2b75f9[_0x2f06e6(0x233)](_0x2808e0);}return _0x2b75f9[_0x2f06e6(0x42d)]=_0x564e99*0x4,_0x2b75f9;}});_0x36f647['EvpKDF']=function(_0x2f71f1,_0x40700b,_0x3078d2){var _0x25dfe9=_0x101124;return _0x344ec3['create'](_0x3078d2)[_0x25dfe9(0x42e)](_0x2f71f1,_0x40700b);};}()),_0x33fe72[_0x12e5c0(0x3f7)];}));}(me)),me[_0x5c2124(0x280)];}var Ce={'exports':{}},yi=Ce[_0x50de8b(0x280)],et;function Ct(){return et||(et=0x1,function(_0x4406a6,_0x324742){(function(_0x184bc6,_0xc44a9c,_0x16d725){var _0x526f6f=_0x391f;_0x4406a6[_0x526f6f(0x280)]=_0xc44a9c(Z(),Tt());}(yi,function(_0x5db4dd){var _0x39656a=_0x391f;_0x5db4dd[_0x39656a(0x1fe)]['Cipher']||function(_0x3934b8){var _0x132a07=_0x39656a,_0x40c8c7=_0x5db4dd,_0x43a329=_0x40c8c7[_0x132a07(0x1fe)],_0x5f4d16=_0x43a329[_0x132a07(0x310)],_0x479f60=_0x43a329[_0x132a07(0x284)],_0x51c894=_0x43a329[_0x132a07(0x3ea)],_0x43c46f=_0x40c8c7['enc'];_0x43c46f[_0x132a07(0x43a)];var _0x425455=_0x43c46f[_0x132a07(0x51a)],_0xbde239=_0x40c8c7['algo'],_0x408f12=_0xbde239['EvpKDF'],_0x5cd423=_0x43a329[_0x132a07(0x418)]=_0x51c894[_0x132a07(0x1df)]({'cfg':_0x5f4d16['extend'](),'createEncryptor':function(_0x5edb8a,_0x1c5105){var _0x1f859d=_0x132a07;return this[_0x1f859d(0x1cd)](this[_0x1f859d(0x4a3)],_0x5edb8a,_0x1c5105);},'createDecryptor':function(_0x2238ad,_0x6d618){return this['create'](this['_DEC_XFORM_MODE'],_0x2238ad,_0x6d618);},'init':function(_0x29e9bd,_0x425778,_0x168237){var _0x16a1c7=_0x132a07;this[_0x16a1c7(0x39e)]=this['cfg'][_0x16a1c7(0x1df)](_0x168237),this[_0x16a1c7(0x2a8)]=_0x29e9bd,this[_0x16a1c7(0x4cf)]=_0x425778,this[_0x16a1c7(0x48a)]();},'reset':function(){var _0x23f526=_0x132a07;_0x51c894[_0x23f526(0x48a)][_0x23f526(0x51c)](this),this[_0x23f526(0x368)]();},'process':function(_0x1ee911){var _0x516e17=_0x132a07;return this[_0x516e17(0x3f8)](_0x1ee911),this[_0x516e17(0x1ff)]();},'finalize':function(_0x25bdb7){var _0x1548b3=_0x132a07;_0x25bdb7&&this[_0x1548b3(0x3f8)](_0x25bdb7);var _0x4d8b2d=this[_0x1548b3(0x412)]();return _0x4d8b2d;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x519098(_0xc6e029){var _0x75e0af=_0x391f;return typeof _0xc6e029==_0x75e0af(0x272)?_0x318f70:_0x44f21e;}return function(_0x375754){return{'encrypt':function(_0xe18375,_0x5857dd,_0x341f6d){var _0x1799b1=_0x391f;return _0x519098(_0x5857dd)[_0x1799b1(0x40d)](_0x375754,_0xe18375,_0x5857dd,_0x341f6d);},'decrypt':function(_0x6f3739,_0x4567ef,_0x383f20){return _0x519098(_0x4567ef)['decrypt'](_0x375754,_0x6f3739,_0x4567ef,_0x383f20);}};};}())});_0x43a329[_0x132a07(0x2bb)]=_0x5cd423[_0x132a07(0x1df)]({'_doFinalize':function(){var _0x5606c8=this['_process'](!0x0);return _0x5606c8;},'blockSize':0x1});var _0x4cff5c=_0x40c8c7[_0x132a07(0x512)]={},_0x3d0cc9=_0x43a329['BlockCipherMode']=_0x5f4d16[_0x132a07(0x1df)]({'createEncryptor':function(_0x39ec57,_0x2b0b56){var _0x2a0430=_0x132a07;return this[_0x2a0430(0x4f4)]['create'](_0x39ec57,_0x2b0b56);},'createDecryptor':function(_0x4ff169,_0x542fc2){var _0x4a94c9=_0x132a07;return this[_0x4a94c9(0x2a2)][_0x4a94c9(0x1cd)](_0x4ff169,_0x542fc2);},'init':function(_0x414397,_0x1faadf){var _0xb100ee=_0x132a07;this['_cipher']=_0x414397,this[_0xb100ee(0x24a)]=_0x1faadf;}}),_0x40a1d2=_0x4cff5c[_0x132a07(0x36e)]=(function(){var _0x345c54=_0x132a07,_0x27981a=_0x3d0cc9['extend']();_0x27981a[_0x345c54(0x4f4)]=_0x27981a[_0x345c54(0x1df)]({'processBlock':function(_0x18edd1,_0x362a6e){var _0x184691=_0x345c54,_0x4197e1=this[_0x184691(0x324)],_0x589b17=_0x4197e1[_0x184691(0x32b)];_0x43ec26[_0x184691(0x51c)](this,_0x18edd1,_0x362a6e,_0x589b17),_0x4197e1[_0x184691(0x213)](_0x18edd1,_0x362a6e),this[_0x184691(0x378)]=_0x18edd1[_0x184691(0x435)](_0x362a6e,_0x362a6e+_0x589b17);}}),_0x27981a[_0x345c54(0x2a2)]=_0x27981a[_0x345c54(0x1df)]({'processBlock':function(_0x3b29aa,_0x3778b6){var _0x41b807=_0x345c54,_0x233b05=this[_0x41b807(0x324)],_0x313b29=_0x233b05[_0x41b807(0x32b)],_0x8024b5=_0x3b29aa[_0x41b807(0x435)](_0x3778b6,_0x3778b6+_0x313b29);_0x233b05[_0x41b807(0x2c3)](_0x3b29aa,_0x3778b6),_0x43ec26['call'](this,_0x3b29aa,_0x3778b6,_0x313b29),this[_0x41b807(0x378)]=_0x8024b5;}});function _0x43ec26(_0x5caad2,_0x50250c,_0x50e9ba){var _0x2136c2=_0x345c54,_0x88e02e,_0x59c380=this['_iv'];_0x59c380?(_0x88e02e=_0x59c380,this[_0x2136c2(0x24a)]=_0x3934b8):_0x88e02e=this['_prevBlock'];for(var _0x5efb9d=0x0;_0x5efb9d<_0x50e9ba;_0x5efb9d++)_0x5caad2[_0x50250c+_0x5efb9d]^=_0x88e02e[_0x5efb9d];}return _0x27981a;}()),_0x2f5dfb=_0x40c8c7['pad']={},_0xdbc48a=_0x2f5dfb['Pkcs7']={'pad':function(_0x2df2c5,_0x158c0a){var _0x228ea4=_0x132a07;for(var _0x4aa570=_0x158c0a*0x4,_0xd3aa5c=_0x4aa570-_0x2df2c5[_0x228ea4(0x42d)]%_0x4aa570,_0x3a971d=_0xd3aa5c<<0x18|_0xd3aa5c<<0x10|_0xd3aa5c<<0x8|_0xd3aa5c,_0x177bf9=[],_0x16777a=0x0;_0x16777a<_0xd3aa5c;_0x16777a+=0x4)_0x177bf9[_0x228ea4(0x459)](_0x3a971d);var _0x59882=_0x479f60[_0x228ea4(0x1cd)](_0x177bf9,_0xd3aa5c);_0x2df2c5[_0x228ea4(0x233)](_0x59882);},'unpad':function(_0x1f85bc){var _0xbec87f=_0x1f85bc['words'][_0x1f85bc['sigBytes']-0x1>>>0x2]&0xff;_0x1f85bc['sigBytes']-=_0xbec87f;}};_0x43a329[_0x132a07(0x4e7)]=_0x5cd423[_0x132a07(0x1df)]({'cfg':_0x5cd423[_0x132a07(0x39e)][_0x132a07(0x1df)]({'mode':_0x40a1d2,'padding':_0xdbc48a}),'reset':function(){var _0x506941=_0x132a07,_0x2536b8;_0x5cd423[_0x506941(0x48a)]['call'](this);var _0x278735=this[_0x506941(0x39e)],_0x32c4a3=_0x278735['iv'],_0x3ed269=_0x278735[_0x506941(0x512)];this[_0x506941(0x2a8)]==this[_0x506941(0x4a3)]?_0x2536b8=_0x3ed269[_0x506941(0x35e)]:(_0x2536b8=_0x3ed269[_0x506941(0x416)],this['_minBufferSize']=0x1),this[_0x506941(0x1ca)]&&this[_0x506941(0x1ca)]['__creator']==_0x2536b8?this['_mode'][_0x506941(0x27d)](this,_0x32c4a3&&_0x32c4a3[_0x506941(0x3ed)]):(this[_0x506941(0x1ca)]=_0x2536b8[_0x506941(0x51c)](_0x3ed269,this,_0x32c4a3&&_0x32c4a3['words']),this[_0x506941(0x1ca)]['__creator']=_0x2536b8);},'_doProcessBlock':function(_0x5b0dbd,_0x123d8b){this['_mode']['processBlock'](_0x5b0dbd,_0x123d8b);},'_doFinalize':function(){var _0xf88ccd=_0x132a07,_0x134a15,_0x4c7456=this['cfg']['padding'];return this[_0xf88ccd(0x2a8)]==this[_0xf88ccd(0x4a3)]?(_0x4c7456[_0xf88ccd(0x47b)](this[_0xf88ccd(0x4d6)],this['blockSize']),_0x134a15=this['_process'](!0x0)):(_0x134a15=this[_0xf88ccd(0x1ff)](!0x0),_0x4c7456[_0xf88ccd(0x2d4)](_0x134a15)),_0x134a15;},'blockSize':0x80/0x20});var _0x1c491b=_0x43a329[_0x132a07(0x22f)]=_0x5f4d16[_0x132a07(0x1df)]({'init':function(_0x71ab31){var _0x154a72=_0x132a07;this[_0x154a72(0x226)](_0x71ab31);},'toString':function(_0x588462){var _0x3e2c85=_0x132a07;return(_0x588462||this[_0x3e2c85(0x422)])['stringify'](this);}}),_0x93e254=_0x40c8c7[_0x132a07(0x21b)]={},_0x5a332a=_0x93e254[_0x132a07(0x231)]={'stringify':function(_0x8a03eb){var _0x1a961d=_0x132a07,_0x4316e9,_0x5dd3b3=_0x8a03eb[_0x1a961d(0x248)],_0x54428e=_0x8a03eb[_0x1a961d(0x4c8)];return _0x54428e?_0x4316e9=_0x479f60[_0x1a961d(0x1cd)]([0x53616c74,0x65645f5f])[_0x1a961d(0x233)](_0x54428e)[_0x1a961d(0x233)](_0x5dd3b3):_0x4316e9=_0x5dd3b3,_0x4316e9[_0x1a961d(0x3b9)](_0x425455);},'parse':function(_0x2381ea){var _0x3cf18e=_0x132a07,_0x5a5bd1,_0x16315c=_0x425455['parse'](_0x2381ea),_0x3d68ba=_0x16315c[_0x3cf18e(0x3ed)];return _0x3d68ba[0x0]==0x53616c74&&_0x3d68ba[0x1]==0x65645f5f&&(_0x5a5bd1=_0x479f60[_0x3cf18e(0x1cd)](_0x3d68ba[_0x3cf18e(0x435)](0x2,0x4)),_0x3d68ba[_0x3cf18e(0x4cc)](0x0,0x4),_0x16315c[_0x3cf18e(0x42d)]-=0x10),_0x1c491b[_0x3cf18e(0x1cd)]({'ciphertext':_0x16315c,'salt':_0x5a5bd1});}},_0x44f21e=_0x43a329[_0x132a07(0x3ff)]=_0x5f4d16['extend']({'cfg':_0x5f4d16[_0x132a07(0x1df)]({'format':_0x5a332a}),'encrypt':function(_0x300ab2,_0x55bfdf,_0x2c10f9,_0x1ffec9){var _0xbaf79f=_0x132a07;_0x1ffec9=this['cfg'][_0xbaf79f(0x1df)](_0x1ffec9);var _0x1c1b7c=_0x300ab2[_0xbaf79f(0x35e)](_0x2c10f9,_0x1ffec9),_0x5a2f64=_0x1c1b7c[_0xbaf79f(0x28c)](_0x55bfdf),_0x13daec=_0x1c1b7c[_0xbaf79f(0x39e)];return _0x1c491b[_0xbaf79f(0x1cd)]({'ciphertext':_0x5a2f64,'key':_0x2c10f9,'iv':_0x13daec['iv'],'algorithm':_0x300ab2,'mode':_0x13daec['mode'],'padding':_0x13daec[_0xbaf79f(0x206)],'blockSize':_0x300ab2[_0xbaf79f(0x32b)],'formatter':_0x1ffec9[_0xbaf79f(0x21b)]});},'decrypt':function(_0x2ce71f,_0x34b26d,_0x2e19f,_0x2d9340){var _0x1ef871=_0x132a07;_0x2d9340=this[_0x1ef871(0x39e)][_0x1ef871(0x1df)](_0x2d9340),_0x34b26d=this['_parse'](_0x34b26d,_0x2d9340['format']);var _0x207d02=_0x2ce71f[_0x1ef871(0x416)](_0x2e19f,_0x2d9340)['finalize'](_0x34b26d[_0x1ef871(0x248)]);return _0x207d02;},'_parse':function(_0x3c95c7,_0x1ed63a){var _0x30573b=_0x132a07;return typeof _0x3c95c7==_0x30573b(0x272)?_0x1ed63a[_0x30573b(0x560)](_0x3c95c7,this):_0x3c95c7;}}),_0x460273=_0x40c8c7['kdf']={},_0x375d56=_0x460273[_0x132a07(0x231)]={'execute':function(_0x3e001e,_0x1f8b30,_0x57cfa8,_0x37130a,_0x3362fc){var _0x584ec7=_0x132a07;if(_0x37130a||(_0x37130a=_0x479f60[_0x584ec7(0x46b)](0x40/0x8)),_0x3362fc)var _0x257b6f=_0x408f12['create']({'keySize':_0x1f8b30+_0x57cfa8,'hasher':_0x3362fc})['compute'](_0x3e001e,_0x37130a);else var _0x257b6f=_0x408f12[_0x584ec7(0x1cd)]({'keySize':_0x1f8b30+_0x57cfa8})[_0x584ec7(0x42e)](_0x3e001e,_0x37130a);var _0x8274e5=_0x479f60[_0x584ec7(0x1cd)](_0x257b6f['words'][_0x584ec7(0x435)](_0x1f8b30),_0x57cfa8*0x4);return _0x257b6f[_0x584ec7(0x42d)]=_0x1f8b30*0x4,_0x1c491b[_0x584ec7(0x1cd)]({'key':_0x257b6f,'iv':_0x8274e5,'salt':_0x37130a});}},_0x318f70=_0x43a329[_0x132a07(0x285)]=_0x44f21e[_0x132a07(0x1df)]({'cfg':_0x44f21e[_0x132a07(0x39e)][_0x132a07(0x1df)]({'kdf':_0x375d56}),'encrypt':function(_0x1ed142,_0x23416e,_0x519790,_0x2e24ce){var _0x45e187=_0x132a07;_0x2e24ce=this[_0x45e187(0x39e)][_0x45e187(0x1df)](_0x2e24ce);var _0x2857e4=_0x2e24ce['kdf'][_0x45e187(0x25b)](_0x519790,_0x1ed142[_0x45e187(0x438)],_0x1ed142[_0x45e187(0x335)],_0x2e24ce[_0x45e187(0x4c8)],_0x2e24ce[_0x45e187(0x35b)]);_0x2e24ce['iv']=_0x2857e4['iv'];var _0x513fdb=_0x44f21e[_0x45e187(0x40d)][_0x45e187(0x51c)](this,_0x1ed142,_0x23416e,_0x2857e4['key'],_0x2e24ce);return _0x513fdb[_0x45e187(0x226)](_0x2857e4),_0x513fdb;},'decrypt':function(_0x55599f,_0x503d2a,_0x7b0ca4,_0x3d4ab8){var _0x4791c5=_0x132a07;_0x3d4ab8=this[_0x4791c5(0x39e)][_0x4791c5(0x1df)](_0x3d4ab8),_0x503d2a=this[_0x4791c5(0x3ba)](_0x503d2a,_0x3d4ab8['format']);var _0x5377d8=_0x3d4ab8['kdf'][_0x4791c5(0x25b)](_0x7b0ca4,_0x55599f[_0x4791c5(0x438)],_0x55599f['ivSize'],_0x503d2a[_0x4791c5(0x4c8)],_0x3d4ab8['hasher']);_0x3d4ab8['iv']=_0x5377d8['iv'];var _0x352d23=_0x44f21e[_0x4791c5(0x55f)][_0x4791c5(0x51c)](this,_0x55599f,_0x503d2a,_0x5377d8[_0x4791c5(0x465)],_0x3d4ab8);return _0x352d23;}});}();}));}(Ce)),Ce['exports'];}var Ui=Ie['exports'],tt;function Ai(){var _0x277e67=_0x50de8b;return tt||(tt=0x1,function(_0x1ae9be,_0x5d4ece){(function(_0x376dab,_0x383cc4,_0x1d6ce0){var _0x58d6ac=_0x391f;_0x1ae9be[_0x58d6ac(0x280)]=_0x383cc4(Z(),gt(),Ci(),Tt(),Ct());}(Ui,function(_0x198c44){var _0x2a2c08=_0x391f;return(function(){var _0x47c4d7=_0x391f,_0x2a6fab=_0x198c44,_0x16d5b7=_0x2a6fab[_0x47c4d7(0x1fe)],_0x319cb8=_0x16d5b7['BlockCipher'],_0x9e2d42=_0x2a6fab[_0x47c4d7(0x24b)],_0x5697b3=[],_0x4219f7=[],_0x265d75=[],_0x253324=[],_0x1f80f4=[],_0x107f78=[],_0x14a01d=[],_0x368b8c=[],_0x4e417a=[],_0x495df4=[];(function(){for(var _0x17dc8f=[],_0x2ecaee=0x0;_0x2ecaee<0x100;_0x2ecaee++)_0x2ecaee<0x80?_0x17dc8f[_0x2ecaee]=_0x2ecaee<<0x1:_0x17dc8f[_0x2ecaee]=_0x2ecaee<<0x1^0x11b;for(var _0x5bdc4c=0x0,_0x59b8e7=0x0,_0x2ecaee=0x0;_0x2ecaee<0x100;_0x2ecaee++){var _0x180e26=_0x59b8e7^_0x59b8e7<<0x1^_0x59b8e7<<0x2^_0x59b8e7<<0x3^_0x59b8e7<<0x4;_0x180e26=_0x180e26>>>0x8^_0x180e26&0xff^0x63,_0x5697b3[_0x5bdc4c]=_0x180e26,_0x4219f7[_0x180e26]=_0x5bdc4c;var _0x2443f0=_0x17dc8f[_0x5bdc4c],_0x1b8f63=_0x17dc8f[_0x2443f0],_0x23c133=_0x17dc8f[_0x1b8f63],_0x3a5497=_0x17dc8f[_0x180e26]*0x101^_0x180e26*0x1010100;_0x265d75[_0x5bdc4c]=_0x3a5497<<0x18|_0x3a5497>>>0x8,_0x253324[_0x5bdc4c]=_0x3a5497<<0x10|_0x3a5497>>>0x10,_0x1f80f4[_0x5bdc4c]=_0x3a5497<<0x8|_0x3a5497>>>0x18,_0x107f78[_0x5bdc4c]=_0x3a5497;var _0x3a5497=_0x23c133*0x1010101^_0x1b8f63*0x10001^_0x2443f0*0x101^_0x5bdc4c*0x1010100;_0x14a01d[_0x180e26]=_0x3a5497<<0x18|_0x3a5497>>>0x8,_0x368b8c[_0x180e26]=_0x3a5497<<0x10|_0x3a5497>>>0x10,_0x4e417a[_0x180e26]=_0x3a5497<<0x8|_0x3a5497>>>0x18,_0x495df4[_0x180e26]=_0x3a5497,_0x5bdc4c?(_0x5bdc4c=_0x2443f0^_0x17dc8f[_0x17dc8f[_0x17dc8f[_0x23c133^_0x2443f0]]],_0x59b8e7^=_0x17dc8f[_0x17dc8f[_0x59b8e7]]):_0x5bdc4c=_0x59b8e7=0x1;}}());var _0x28ed17=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1048af=_0x9e2d42[_0x47c4d7(0x554)]=_0x319cb8[_0x47c4d7(0x1df)]({'_doReset':function(){var _0xb37330=_0x47c4d7,_0x25c132;if(!(this['_nRounds']&&this[_0xb37330(0x433)]===this['_key'])){for(var _0x287082=this[_0xb37330(0x433)]=this['_key'],_0x306c80=_0x287082[_0xb37330(0x3ed)],_0x197039=_0x287082[_0xb37330(0x42d)]/0x4,_0x49801f=this[_0xb37330(0x341)]=_0x197039+0x6,_0x4ff725=(_0x49801f+0x1)*0x4,_0x84955=this['_keySchedule']=[],_0x5b9222=0x0;_0x5b9222<_0x4ff725;_0x5b9222++)_0x5b9222<_0x197039?_0x84955[_0x5b9222]=_0x306c80[_0x5b9222]:(_0x25c132=_0x84955[_0x5b9222-0x1],_0x5b9222%_0x197039?_0x197039>0x6&&_0x5b9222%_0x197039==0x4&&(_0x25c132=_0x5697b3[_0x25c132>>>0x18]<<0x18|_0x5697b3[_0x25c132>>>0x10&0xff]<<0x10|_0x5697b3[_0x25c132>>>0x8&0xff]<<0x8|_0x5697b3[_0x25c132&0xff]):(_0x25c132=_0x25c132<<0x8|_0x25c132>>>0x18,_0x25c132=_0x5697b3[_0x25c132>>>0x18]<<0x18|_0x5697b3[_0x25c132>>>0x10&0xff]<<0x10|_0x5697b3[_0x25c132>>>0x8&0xff]<<0x8|_0x5697b3[_0x25c132&0xff],_0x25c132^=_0x28ed17[_0x5b9222/_0x197039|0x0]<<0x18),_0x84955[_0x5b9222]=_0x84955[_0x5b9222-_0x197039]^_0x25c132);for(var _0x541427=this['_invKeySchedule']=[],_0x29a579=0x0;_0x29a579<_0x4ff725;_0x29a579++){var _0x5b9222=_0x4ff725-_0x29a579;if(_0x29a579%0x4)var _0x25c132=_0x84955[_0x5b9222];else var _0x25c132=_0x84955[_0x5b9222-0x4];_0x29a579<0x4||_0x5b9222<=0x4?_0x541427[_0x29a579]=_0x25c132:_0x541427[_0x29a579]=_0x14a01d[_0x5697b3[_0x25c132>>>0x18]]^_0x368b8c[_0x5697b3[_0x25c132>>>0x10&0xff]]^_0x4e417a[_0x5697b3[_0x25c132>>>0x8&0xff]]^_0x495df4[_0x5697b3[_0x25c132&0xff]];}}},'encryptBlock':function(_0x7e41db,_0x1317f7){var _0x27c1d9=_0x47c4d7;this[_0x27c1d9(0x4fa)](_0x7e41db,_0x1317f7,this['_keySchedule'],_0x265d75,_0x253324,_0x1f80f4,_0x107f78,_0x5697b3);},'decryptBlock':function(_0x12f46d,_0x57bbf9){var _0x3e894b=_0x47c4d7,_0x99081d=_0x12f46d[_0x57bbf9+0x1];_0x12f46d[_0x57bbf9+0x1]=_0x12f46d[_0x57bbf9+0x3],_0x12f46d[_0x57bbf9+0x3]=_0x99081d,this[_0x3e894b(0x4fa)](_0x12f46d,_0x57bbf9,this[_0x3e894b(0x40a)],_0x14a01d,_0x368b8c,_0x4e417a,_0x495df4,_0x4219f7);var _0x99081d=_0x12f46d[_0x57bbf9+0x1];_0x12f46d[_0x57bbf9+0x1]=_0x12f46d[_0x57bbf9+0x3],_0x12f46d[_0x57bbf9+0x3]=_0x99081d;},'_doCryptBlock':function(_0x463b47,_0x547649,_0x5c04bd,_0x1e7789,_0x53f609,_0x572ad1,_0x467f4b,_0x4390a7){var _0x2a9351=_0x47c4d7;for(var _0x1f92c1=this[_0x2a9351(0x341)],_0x46c359=_0x463b47[_0x547649]^_0x5c04bd[0x0],_0x1971d3=_0x463b47[_0x547649+0x1]^_0x5c04bd[0x1],_0x4440ee=_0x463b47[_0x547649+0x2]^_0x5c04bd[0x2],_0x161168=_0x463b47[_0x547649+0x3]^_0x5c04bd[0x3],_0x10162f=0x4,_0x26d31b=0x1;_0x26d31b<_0x1f92c1;_0x26d31b++){var _0x2e7550=_0x1e7789[_0x46c359>>>0x18]^_0x53f609[_0x1971d3>>>0x10&0xff]^_0x572ad1[_0x4440ee>>>0x8&0xff]^_0x467f4b[_0x161168&0xff]^_0x5c04bd[_0x10162f++],_0x52275f=_0x1e7789[_0x1971d3>>>0x18]^_0x53f609[_0x4440ee>>>0x10&0xff]^_0x572ad1[_0x161168>>>0x8&0xff]^_0x467f4b[_0x46c359&0xff]^_0x5c04bd[_0x10162f++],_0x5a5484=_0x1e7789[_0x4440ee>>>0x18]^_0x53f609[_0x161168>>>0x10&0xff]^_0x572ad1[_0x46c359>>>0x8&0xff]^_0x467f4b[_0x1971d3&0xff]^_0x5c04bd[_0x10162f++],_0x1b3fea=_0x1e7789[_0x161168>>>0x18]^_0x53f609[_0x46c359>>>0x10&0xff]^_0x572ad1[_0x1971d3>>>0x8&0xff]^_0x467f4b[_0x4440ee&0xff]^_0x5c04bd[_0x10162f++];_0x46c359=_0x2e7550,_0x1971d3=_0x52275f,_0x4440ee=_0x5a5484,_0x161168=_0x1b3fea;}var _0x2e7550=(_0x4390a7[_0x46c359>>>0x18]<<0x18|_0x4390a7[_0x1971d3>>>0x10&0xff]<<0x10|_0x4390a7[_0x4440ee>>>0x8&0xff]<<0x8|_0x4390a7[_0x161168&0xff])^_0x5c04bd[_0x10162f++],_0x52275f=(_0x4390a7[_0x1971d3>>>0x18]<<0x18|_0x4390a7[_0x4440ee>>>0x10&0xff]<<0x10|_0x4390a7[_0x161168>>>0x8&0xff]<<0x8|_0x4390a7[_0x46c359&0xff])^_0x5c04bd[_0x10162f++],_0x5a5484=(_0x4390a7[_0x4440ee>>>0x18]<<0x18|_0x4390a7[_0x161168>>>0x10&0xff]<<0x10|_0x4390a7[_0x46c359>>>0x8&0xff]<<0x8|_0x4390a7[_0x1971d3&0xff])^_0x5c04bd[_0x10162f++],_0x1b3fea=(_0x4390a7[_0x161168>>>0x18]<<0x18|_0x4390a7[_0x46c359>>>0x10&0xff]<<0x10|_0x4390a7[_0x1971d3>>>0x8&0xff]<<0x8|_0x4390a7[_0x4440ee&0xff])^_0x5c04bd[_0x10162f++];_0x463b47[_0x547649]=_0x2e7550,_0x463b47[_0x547649+0x1]=_0x52275f,_0x463b47[_0x547649+0x2]=_0x5a5484,_0x463b47[_0x547649+0x3]=_0x1b3fea;},'keySize':0x100/0x20});_0x2a6fab['AES']=_0x319cb8[_0x47c4d7(0x544)](_0x1048af);}()),_0x198c44[_0x2a2c08(0x554)];}));}(Ie)),Ie[_0x277e67(0x280)];}var Pi=Ai();const Li=de(Pi);var Mi=gt();const it=de(Mi);var be={'exports':{}},wi=be[_0x50de8b(0x280)],nt;function xi(){var _0x5c3cdc=_0x50de8b;return nt||(nt=0x1,function(_0x365d28,_0x1bcc23){(function(_0x1beaa8,_0x1476c2){var _0x396be9=_0x391f;_0x365d28[_0x396be9(0x280)]=_0x1476c2(Z());}(wi,function(_0x4d423e){var _0x5933b4=_0x391f;return _0x4d423e['enc'][_0x5933b4(0x43a)];}));}(be)),be[_0x5c3cdc(0x280)];}var ki=xi();const $i=de(ki);var Oe={'exports':{}},Hi=Oe[_0x50de8b(0x280)],st;function ji(){var _0x4a1183=_0x50de8b;return st||(st=0x1,function(_0x31c424,_0x55731c){(function(_0xa80814,_0x93e81b){var _0x3e7dd6=_0x391f;_0x31c424[_0x3e7dd6(0x280)]=_0x93e81b(Z());}(Hi,function(_0x14151d){var _0x1b3dea=_0x391f;return(function(){var _0x53c03e=_0x391f;if(typeof ArrayBuffer==_0x53c03e(0x1d7)){var _0x45d19d=_0x14151d,_0x1ec3d3=_0x45d19d[_0x53c03e(0x1fe)],_0x231f53=_0x1ec3d3[_0x53c03e(0x284)],_0x193da1=_0x231f53[_0x53c03e(0x27d)],_0x4a1424=_0x231f53[_0x53c03e(0x27d)]=function(_0x21eba6){var _0x3a78c1=_0x53c03e;if(_0x21eba6 instanceof ArrayBuffer&&(_0x21eba6=new Uint8Array(_0x21eba6)),(_0x21eba6 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x21eba6 instanceof Uint8ClampedArray||_0x21eba6 instanceof Int16Array||_0x21eba6 instanceof Uint16Array||_0x21eba6 instanceof Int32Array||_0x21eba6 instanceof Uint32Array||_0x21eba6 instanceof Float32Array||_0x21eba6 instanceof Float64Array)&&(_0x21eba6=new Uint8Array(_0x21eba6['buffer'],_0x21eba6[_0x3a78c1(0x2e2)],_0x21eba6['byteLength'])),_0x21eba6 instanceof Uint8Array){for(var _0x4cc6d0=_0x21eba6[_0x3a78c1(0x241)],_0x51cd34=[],_0x58faa4=0x0;_0x58faa4<_0x4cc6d0;_0x58faa4++)_0x51cd34[_0x58faa4>>>0x2]|=_0x21eba6[_0x58faa4]<<0x18-_0x58faa4%0x4*0x8;_0x193da1[_0x3a78c1(0x51c)](this,_0x51cd34,_0x4cc6d0);}else _0x193da1['apply'](this,arguments);};_0x4a1424[_0x53c03e(0x297)]=_0x231f53;}}()),_0x14151d[_0x1b3dea(0x1fe)][_0x1b3dea(0x284)];}));}(Oe)),Oe[_0x4a1183(0x280)];}var Bi=ji();const Fi=de(Bi);var Re={'exports':{}},Vi=Re['exports'],rt;function Wi(){return rt||(rt=0x1,function(_0x51ee13,_0x2bbc77){(function(_0x595852,_0x107938,_0xa71b89){_0x51ee13['exports']=_0x107938(Z(),Ct());}(Vi,function(_0x145c88){var _0x486c6f=_0x391f;return _0x145c88[_0x486c6f(0x47b)][_0x486c6f(0x220)]={'pad':function(){},'unpad':function(){}},_0x145c88[_0x486c6f(0x47b)][_0x486c6f(0x220)];}));}(Re)),Re['exports'];}var Gi=Wi();const Yi=de(Gi);function Ki(_0x4e094b,_0x2df2ec){var _0x34023b=_0x50de8b;const _0x49a977=_0x2df2ec-_0x4e094b[_0x34023b(0x3a9)]%_0x2df2ec,_0x3baec6=String['fromCharCode'](_0x49a977)[_0x34023b(0x2a4)](_0x49a977);return _0x4e094b+_0x3baec6;}function qi(_0x4ae1fd,_0x13c631){var _0x1346a3=_0x50de8b;const _0x58dd0f=Fi[_0x1346a3(0x46b)](0x10),_0x1954a9=Ki(_0x4ae1fd,0x10),_0x34487b=Li['encrypt']($i[_0x1346a3(0x560)](_0x1954a9),it[_0x1346a3(0x560)](_0x13c631),{'iv':_0x58dd0f,'padding':Yi});return _0x58dd0f[_0x1346a3(0x233)](_0x34487b[_0x1346a3(0x248)])[_0x1346a3(0x3b9)](it);}function _0x391f(_0x314f40,_0x39b7da){var _0x2ee86b=_0x2ee8();return _0x391f=function(_0x391f20,_0x15234d){_0x391f20=_0x391f20-0x1c9;var _0x8466a1=_0x2ee86b[_0x391f20];return _0x8466a1;},_0x391f(_0x314f40,_0x39b7da);}function zi(){var _0x5b8417=_0x50de8b;const _0xca0f66=Nt[_0x5b8417(0x1f6)]()[_0x5b8417(0x45c)];if(_0xca0f66){const _0x351dfd={'time':Math[_0x5b8417(0x270)](Date[_0x5b8417(0x2d1)]()/0x3e8),'domain':location[_0x5b8417(0x4f2)]};return qi(JSON[_0x5b8417(0x54c)](_0x351dfd),_0xca0f66);}}var Xi=Object[_0x50de8b(0x2d5)],Ji=(_0x41d6b3,_0x523ec7,_0x3089a2,_0x4055ed)=>{var _0x3658fe=_0x50de8b;for(var _0x2e0bc4=_0x4055ed>0x1?void 0x0:_0x4055ed?Xi(_0x523ec7,_0x3089a2):_0x523ec7,_0x293a18=_0x41d6b3[_0x3658fe(0x3a9)]-0x1,_0x4f535e;_0x293a18>=0x0;_0x293a18--)(_0x4f535e=_0x41d6b3[_0x293a18])&&(_0x2e0bc4=_0x4f535e(_0x2e0bc4)||_0x2e0bc4);return _0x2e0bc4;},Zi=(_0x678d2b,_0x59ee07)=>(_0x33b7bc,_0x20efd9)=>_0x59ee07(_0x33b7bc,_0x20efd9,_0x678d2b);let De=class{constructor(_0x121bf5){var _0x1f24d0=_0x50de8b;this[_0x1f24d0(0x539)]=_0x121bf5,this[_0x1f24d0(0x37d)]();}[_0x50de8b(0x37d)](){var _0x4384d8=_0x50de8b;this['_httpService'][_0x4384d8(0x41e)]({'interceptor':(_0x6defde,_0x4405eb)=>{var _0x414e87=_0x4384d8;const _0x48dd26=_0x6defde[_0x414e87(0x538)],_0x5d1b22=zi();return _0x5d1b22&&_0x48dd26['set']('x-univer-host',_0x5d1b22),_0x4405eb(_0x6defde);}});}};De=Ji([Zi(0x0,o[_0x50de8b(0x2fe)](K[_0x50de8b(0x217)]))],De);var Qi=Object['getOwnPropertyDescriptor'],en=(_0x5eac3b,_0x16c558,_0x14463f,_0x2181b2)=>{var _0xfd61d5=_0x50de8b;for(var _0x370cfc=_0x2181b2>0x1?void 0x0:_0x2181b2?Qi(_0x16c558,_0x14463f):_0x16c558,_0x3e5e22=_0x5eac3b[_0xfd61d5(0x3a9)]-0x1,_0x1c9ee1;_0x3e5e22>=0x0;_0x3e5e22--)(_0x1c9ee1=_0x5eac3b[_0x3e5e22])&&(_0x370cfc=_0x1c9ee1(_0x370cfc)||_0x370cfc);return _0x370cfc;},Le=(_0x3284e1,_0x38391b)=>(_0xa03b55,_0x33cf6e)=>_0x38391b(_0xa03b55,_0x33cf6e,_0x3284e1);exports[_0x50de8b(0x3d9)]=class extends o[_0x50de8b(0x1fb)]{constructor(_0x38d0f8,_0x13d429,_0x29ebe0){var _0x43eab4=_0x50de8b;super(),A(this,'_unitInfo$',new j[(_0x43eab4(0x454))](null)),A(this,_0x43eab4(0x46f),this[_0x43eab4(0x4c9)][_0x43eab4(0x237)]()),(this[_0x43eab4(0x3cc)]=_0x38d0f8,this[_0x43eab4(0x322)]=_0x13d429,this[_0x43eab4(0x256)]=_0x29ebe0);}async['loadUnitOfRevision'](_0x2d42d2,_0x45acc2,_0x244054){var _0x137d1a=_0x50de8b;this[_0x137d1a(0x4c9)][_0x137d1a(0x305)]({'unitId':_0x2d42d2,'type':_0x45acc2});let _0x51ea9f=null;switch(_0x45acc2){case X[_0x137d1a(0x33c)]:{_0x51ea9f=await this[_0x137d1a(0x322)][_0x137d1a(0x332)](_0x2d42d2,_0x244054);break;}case X[_0x137d1a(0x321)]:{_0x51ea9f=await this[_0x137d1a(0x322)]['loadDoc'](_0x2d42d2,_0x244054);break;}default:{this[_0x137d1a(0x3cc)]['error'](_0x137d1a(0x4e1),_0x137d1a(0x2ba));break;}}return _0x51ea9f;}async[_0x50de8b(0x25a)](_0x22c7b3,_0x1a2123,_0x3ccba5){var _0x6b6e41=_0x50de8b,_0x195181;this[_0x6b6e41(0x4c9)][_0x6b6e41(0x305)]({'unitId':_0x22c7b3,'type':_0x1a2123,'subUnitId':_0x3ccba5});let _0x5abb9b=0x0;const _0x55a277=await((_0x195181=this[_0x6b6e41(0x256)])==null?void 0x0:_0x195181[_0x6b6e41(0x4a6)](_0x22c7b3));return _0x55a277&&(_0x55a277[_0x6b6e41(0x2fc)]||_0x55a277['mutations']['length']!==0x0)&&(_0x5abb9b=_0x55a277['rev']),_0x5abb9b===0x0&&this[_0x6b6e41(0x3cc)][_0x6b6e41(0x2f1)](_0x6b6e41(0x4e1),_0x6b6e41(0x342)),this[_0x6b6e41(0x329)](_0x22c7b3,_0x1a2123,_0x5abb9b);}},exports[_0x50de8b(0x3d9)]=en([Le(0x0,o[_0x50de8b(0x534)]),Le(0x1,o[_0x50de8b(0x2fe)](E['SnapshotService'])),Le(0x2,o[_0x50de8b(0x4d5)](q))],exports[_0x50de8b(0x3d9)]);var tn=Object[_0x50de8b(0x2d5)],nn=(_0x577bf3,_0x1eba7c,_0xa4d7aa,_0x4eb896)=>{for(var _0x4bd1a0=_0x4eb896>0x1?void 0x0:_0x4eb896?tn(_0x1eba7c,_0xa4d7aa):_0x1eba7c,_0x4135a5=_0x577bf3['length']-0x1,_0xcb6a55;_0x4135a5>=0x0;_0x4135a5--)(_0xcb6a55=_0x577bf3[_0x4135a5])&&(_0x4bd1a0=_0xcb6a55(_0x4bd1a0)||_0x4bd1a0);return _0x4bd1a0;},Me=(_0xa23cbc,_0x12059f)=>(_0x254b2e,_0x2d4aa9)=>_0x12059f(_0x254b2e,_0x2d4aa9,_0xa23cbc);const sn=[_0x50de8b(0x4db),_0x50de8b(0x1d9),'image/jpg','image/gif',_0x50de8b(0x399)],rn=0x5*0x400*0x400,an=_0x50de8b(0x273),on='/universer-api/file/{fileID}/sign-url';exports['CollaborationImageIoService']=class{constructor(_0x456250,_0xc051d2,_0x42f3a7){var _0x593a9b=_0x50de8b;A(this,_0x593a9b(0x340),0x0),A(this,'_change$',new j[(_0x593a9b(0x424))]()),A(this,_0x593a9b(0x1e5),this[_0x593a9b(0x430)]),A(this,'_imageSourceCache',new Map()),(this[_0x593a9b(0x539)]=_0x456250,this[_0x593a9b(0x26e)]=_0xc051d2,this[_0x593a9b(0x3bf)]=_0x42f3a7);}[_0x50de8b(0x275)](_0x14f66a){var _0x39d499=_0x50de8b;this[_0x39d499(0x340)]=_0x14f66a,this[_0x39d499(0x430)]['next'](_0x14f66a);}['getImageSourceCache'](_0x416b75,_0x5ef7f5){var _0x3342ac=_0x50de8b;if(_0x5ef7f5===z[_0x3342ac(0x3cd)][_0x3342ac(0x36b)]){const _0x108b9a=new Image();return _0x108b9a[_0x3342ac(0x33a)]=_0x416b75,_0x108b9a;}return this[_0x3342ac(0x530)][_0x3342ac(0x3b6)](_0x416b75);}['addImageSourceCache'](_0x3a28f9,_0x2d4ded,_0x4e164c){var _0x290efb=_0x50de8b;_0x2d4ded===z[_0x290efb(0x3cd)][_0x290efb(0x36b)]||_0x4e164c==null||this[_0x290efb(0x530)][_0x290efb(0x562)](_0x3a28f9,_0x4e164c);}async[_0x50de8b(0x50d)](_0x1f0e96){var _0x5ece9a=_0x50de8b;try{const _0x3aaebc=this[_0x5ece9a(0x4d1)](this['_getSignURL'](),''+_0x1f0e96),_0xdfb733=(await this[_0x5ece9a(0x539)]['get'](_0x3aaebc))[_0x5ece9a(0x4f1)];if(_0xdfb733[_0x5ece9a(0x4fe)]&&_0xdfb733[_0x5ece9a(0x4fe)][_0x5ece9a(0x4e2)]===vt['OK']){const _0x5b636f=new URL(_0xdfb733[_0x5ece9a(0x1d8)],this['_getDownloadEndpointURL']())[_0x5ece9a(0x3b9)]();return Promise['resolve'](_0x5b636f);}return Promise['reject'](_0xdfb733['error']);}catch(_0x42b7d4){return Promise['reject'](_0x42b7d4);}}async[_0x50de8b(0x543)](_0x4f3c63){var _0x54054f=_0x50de8b;let _0x332e59='';if(!sn[_0x54054f(0x2be)](_0x4f3c63['type']))return this[_0x54054f(0x28a)](),Promise['reject'](new Error(z['ImageUploadStatusType'][_0x54054f(0x258)]));if(_0x4f3c63['size']>rn)return this[_0x54054f(0x28a)](),Promise[_0x54054f(0x493)](new Error(z['ImageUploadStatusType'][_0x54054f(0x502)]));try{const _0x23f65a=new FormData();_0x23f65a[_0x54054f(0x458)](_0x54054f(0x26f),_0x4f3c63);const _0x35b4ed=this[_0x54054f(0x3bf)]['getFocusedUnit'](),_0x5d82b3=_0x35b4ed==null?void 0x0:_0x35b4ed[_0x54054f(0x37b)]();if(!_0x5d82b3)throw new Error(_0x54054f(0x44b));const _0x6afadc=this[_0x54054f(0x2db)]()+'?size='+_0x4f3c63[_0x54054f(0x24c)]['toString']()+_0x54054f(0x514)+dt[_0x54054f(0x405)]+_0x54054f(0x337)+encodeURIComponent(_0x5d82b3),_0xcfa794={'body':_0x23f65a},_0x4302fa=(await this[_0x54054f(0x539)][_0x54054f(0x55b)](_0x6afadc,_0xcfa794))[_0x54054f(0x4f1)];if(typeof _0x4302fa['FileId']!='string')return this[_0x54054f(0x28a)](),Promise[_0x54054f(0x493)](new Error(z[_0x54054f(0x2ad)][_0x54054f(0x2a6)]));_0x332e59=_0x4302fa[_0x54054f(0x2b1)];}catch{return this[_0x54054f(0x28a)](),Promise['reject'](new Error(z[_0x54054f(0x2ad)][_0x54054f(0x2a6)]));}return new Promise((_0x589d44,_0x3ac105)=>{var _0x264fa8=_0x54054f;const _0x510177=new FileReader();_0x510177[_0x264fa8(0x3c3)](_0x4f3c63),_0x510177[_0x264fa8(0x25f)]=_0x12f5c0=>{var _0x204dba=_0x264fa8,_0x9db966;const _0x58d35f=(_0x9db966=_0x12f5c0[_0x204dba(0x394)])==null?void 0x0:_0x9db966[_0x204dba(0x490)];if(_0x58d35f==null){this[_0x204dba(0x28a)](),_0x3ac105(new Error(z[_0x204dba(0x2ad)]['ERROR_IMAGE']));return;}const _0x1f4696=o['generateRandomId'](0x6);_0x589d44({'imageId':_0x1f4696,'imageSourceType':z[_0x204dba(0x3cd)][_0x204dba(0x511)],'source':_0x332e59,'base64Cache':_0x58d35f,'status':z[_0x204dba(0x2ad)][_0x204dba(0x4cb)]}),this[_0x204dba(0x28a)]();};});}['_getUploadFileURL'](){var _0x5219be=_0x50de8b,_0x454e0e;const _0x2dd0bd=this[_0x5219be(0x26e)][_0x5219be(0x3d6)](Y);return(_0x454e0e=_0x2dd0bd==null?void 0x0:_0x2dd0bd['uploadFileServerUrl'])!=null?_0x454e0e:an;}[_0x50de8b(0x54e)](){var _0x548888=_0x50de8b,_0x4fc0c3;const _0x2d66a6=this[_0x548888(0x26e)][_0x548888(0x3d6)](Y);return(_0x4fc0c3=_0x2d66a6==null?void 0x0:_0x2d66a6['signUrlServerUrl'])!=null?_0x4fc0c3:on;}[_0x50de8b(0x44a)](){var _0x2f8c1d=_0x50de8b,_0x34603a;const _0xde630e=this[_0x2f8c1d(0x26e)]['getConfig'](Y);return(_0x34603a=_0xde630e==null?void 0x0:_0xde630e['downloadEndpointUrl'])!=null?_0x34603a:location[_0x2f8c1d(0x25d)];}[_0x50de8b(0x4d1)](_0x1f34bb,_0x2be0ac){var _0x3bdf48=_0x50de8b;return _0x1f34bb[_0x3bdf48(0x1d4)](_0x3bdf48(0x4a0),_0x2be0ac);}[_0x50de8b(0x28a)](){var _0x522052=_0x50de8b;this[_0x522052(0x340)]-=0x1,this['_change$'][_0x522052(0x305)](this[_0x522052(0x340)]);}},exports['CollaborationImageIoService']=nn([Me(0x0,o[_0x50de8b(0x2fe)](K['HTTPService'])),Me(0x1,o[_0x50de8b(0x4ac)]),Me(0x2,o[_0x50de8b(0x2fe)](o[_0x50de8b(0x35a)]))],exports['CollaborationImageIoService']);var cn=Object['getOwnPropertyDescriptor'],hn=(_0x19f4ca,_0x6a8bc9,_0x5b2994,_0x294582)=>{var _0x3eed60=_0x50de8b;for(var _0x2b8934=_0x294582>0x1?void 0x0:_0x294582?cn(_0x6a8bc9,_0x5b2994):_0x6a8bc9,_0x4de13d=_0x19f4ca[_0x3eed60(0x3a9)]-0x1,_0x4fabdc;_0x4de13d>=0x0;_0x4de13d--)(_0x4fabdc=_0x19f4ca[_0x4de13d])&&(_0x2b8934=_0x4fabdc(_0x2b8934)||_0x2b8934);return _0x2b8934;},at=(_0xa3add,_0x4c1af5)=>(_0x29344b,_0xfd8440)=>_0x4c1af5(_0x29344b,_0xfd8440,_0xa3add);const _n='/universer-api/authz';exports['MentionIoHttpService']=class{constructor(_0x3b39fa,_0x13e6b2){var _0x5ee6d1=_0x50de8b;this['_configService']=_0x3b39fa,this[_0x5ee6d1(0x397)]=_0x13e6b2;}[_0x50de8b(0x4f9)](){var _0x184acc=_0x50de8b,_0x35b87e;const _0x5b2c06=this[_0x184acc(0x26e)][_0x184acc(0x3d6)](Y);return(_0x35b87e=_0x5b2c06==null?void 0x0:_0x5b2c06[_0x184acc(0x3fd)])!=null?_0x35b87e:_n;}async[_0x50de8b(0x4e5)](_0x54f42f){var _0x3cbf85=_0x50de8b;const _0x4ff99f=this[_0x3cbf85(0x4f9)]()+_0x3cbf85(0x216);return{'list':[{'title':_0x3cbf85(0x3e2),'mentions':(await this['_HTTPService'][_0x3cbf85(0x3b6)](_0x4ff99f,{'params':{'objectID':_0x54f42f[_0x3cbf85(0x516)],'unitID':_0x54f42f['unitId']}}))[_0x3cbf85(0x4f1)][_0x3cbf85(0x404)][_0x3cbf85(0x4a1)](_0x4a055c=>({'objectId':_0x4a055c['id'],'name':_0x4a055c[_0x3cbf85(0x301)]['name'],'metadata':{'icon':_0x4a055c[_0x3cbf85(0x301)][_0x3cbf85(0x52d)]},'label':_0x4a055c[_0x3cbf85(0x301)]['name'],'objectType':o[_0x3cbf85(0x4ca)]['PERSON']})),'metadata':{},'type':o[_0x3cbf85(0x4ca)][_0x3cbf85(0x260)]}]};}},exports['MentionIoHttpService']=hn([at(0x0,o[_0x50de8b(0x2fe)](o['IConfigService'])),at(0x1,o['Inject'](K[_0x50de8b(0x217)]))],exports[_0x50de8b(0x431)]);var ln=Object['getOwnPropertyDescriptor'],un=(_0x1fca00,_0x2e3b9d,_0x42157d,_0x780c68)=>{for(var _0x479846=_0x780c68>0x1?void 0x0:_0x780c68?ln(_0x2e3b9d,_0x42157d):_0x2e3b9d,_0x544d6e=_0x1fca00['length']-0x1,_0x55ed34;_0x544d6e>=0x0;_0x544d6e--)(_0x55ed34=_0x1fca00[_0x544d6e])&&(_0x479846=_0x55ed34(_0x479846)||_0x479846);return _0x479846;},le=(_0x2af206,_0x2e2fad)=>(_0x3300d2,_0xb1383b)=>_0x2e2fad(_0x3300d2,_0xb1383b,_0x2af206);let ye=class extends o['RxDisposable']{constructor(_0x1b78ef,_0x529b3a,_0x1bda66,_0x582d2e,_0x27c514){var _0x1ea6c9=_0x50de8b;super(),this[_0x1ea6c9(0x3e7)]=_0x1b78ef,this['_univerInstanceService']=_0x529b3a,this[_0x1ea6c9(0x211)]=_0x1bda66,this[_0x1ea6c9(0x33b)]=_0x582d2e,this[_0x1ea6c9(0x1e3)]=_0x27c514,this[_0x1ea6c9(0x496)](),this['_initCloseConn']();}[_0x50de8b(0x472)](){var _0x508a27=_0x50de8b;const _0xc85e0e=async _0x5fbda0=>{var _0x209581=_0x391f;(await this[_0x209581(0x33b)][_0x209581(0x1eb)](_0x5fbda0))[_0x209581(0x46c)]['pipe'](V[_0x209581(0x48c)](_0x2d96d2=>_0x2d96d2['eventID']===E['CollaborationEvent'][_0x209581(0x28e)]),V['takeUntil'](this[_0x209581(0x3f4)]))[_0x209581(0x520)](_0x509cd9=>{var _0x4a2666=_0x209581;const _0x3904c2=_0x509cd9,{reason:_0xe951c2}=_0x3904c2['data'];this[_0x4a2666(0x1e3)]['emitEvent']({'id':J[_0x4a2666(0x414)],'data':_0xe951c2}),this[_0x4a2666(0x211)]['updatePermissionPoint'](new Q[(_0x4a2666(0x1e6))](_0x5fbda0)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x5fbda0);});};j[_0x508a27(0x34a)](this[_0x508a27(0x3bf)][_0x508a27(0x3c6)](o['UniverInstanceType'][_0x508a27(0x33c)]),this[_0x508a27(0x3bf)][_0x508a27(0x3c6)](o[_0x508a27(0x4b6)]['UNIVER_DOC']))[_0x508a27(0x39f)](V[_0x508a27(0x4a1)](_0x55983c=>_0x55983c[_0x508a27(0x37b)]()),V[_0x508a27(0x48c)](_0x51b6b0=>!o[_0x508a27(0x442)](_0x51b6b0)),V[_0x508a27(0x506)](this[_0x508a27(0x3f4)]))[_0x508a27(0x520)](_0x1f97e9=>{_0xc85e0e(_0x1f97e9);});}[_0x50de8b(0x496)](){var _0x7c85b7=_0x50de8b;const _0x1692d4=async _0x19463b=>{var _0x2b7791=_0x391f;const _0x10bff8=await this[_0x2b7791(0x33b)]['requireSession'](_0x19463b),_0x45e96d=this[_0x2b7791(0x3e7)][_0x2b7791(0x3b6)](Q[_0x2b7791(0x250)]);_0x10bff8[_0x2b7791(0x46c)][_0x2b7791(0x39f)](V['filter'](_0x51499a=>_0x51499a[_0x2b7791(0x52b)]===E[_0x2b7791(0x2d7)][_0x2b7791(0x48d)]),V[_0x2b7791(0x506)](this['dispose$']))[_0x2b7791(0x520)](_0x466b8a=>{var _0x5d1b40=_0x2b7791;const _0x24be5d=_0x466b8a,{objectId:_0x56cfb5}=_0x24be5d[_0x5d1b40(0x200)];_0x56cfb5===_0x19463b?_0x45e96d[_0x5d1b40(0x3fe)](_0x19463b):_0x45e96d[_0x5d1b40(0x201)](_0x19463b,_0x56cfb5);});};j['merge'](this['_univerInstanceService']['getTypeOfUnitAdded$'](o[_0x7c85b7(0x4b6)][_0x7c85b7(0x33c)]))['pipe'](V[_0x7c85b7(0x4a1)](_0x142fd7=>_0x142fd7['getUnitId']()),V[_0x7c85b7(0x48c)](_0x2421e8=>!o[_0x7c85b7(0x442)](_0x2421e8)),V[_0x7c85b7(0x506)](this[_0x7c85b7(0x3f4)]))[_0x7c85b7(0x520)](_0xaec9f4=>{_0x1692d4(_0xaec9f4);});}};ye=un([le(0x0,o[_0x50de8b(0x2fe)](o[_0x50de8b(0x221)])),le(0x1,o[_0x50de8b(0x35a)]),le(0x2,o[_0x50de8b(0x43e)]),le(0x3,o[_0x50de8b(0x2fe)](exports[_0x50de8b(0x4bd)])),le(0x4,o[_0x50de8b(0x2fe)](ee))],ye);var vn=Object['getOwnPropertyDescriptor'],dn=(_0x2c8e1a,_0x58cb18,_0x1311f5,_0x580800)=>{var _0x5f203c=_0x50de8b;for(var _0x4570c0=_0x580800>0x1?void 0x0:_0x580800?vn(_0x58cb18,_0x1311f5):_0x58cb18,_0xf24e58=_0x2c8e1a[_0x5f203c(0x3a9)]-0x1,_0x18706f;_0xf24e58>=0x0;_0xf24e58--)(_0x18706f=_0x2c8e1a[_0xf24e58])&&(_0x4570c0=_0x18706f(_0x4570c0)||_0x4570c0);return _0x4570c0;},ot=(_0x2e4544,_0x50880b)=>(_0x32fc39,_0x10a512)=>_0x50880b(_0x32fc39,_0x10a512,_0x2e4544);exports[_0x50de8b(0x40f)]=class{constructor(_0x5c6257,_0xfbec7a){var _0x2c381e=_0x50de8b;this[_0x2c381e(0x26e)]=_0x5c6257,this[_0x2c381e(0x539)]=_0xfbec7a;}async[_0x50de8b(0x2a5)](_0x2252d8,_0x57d395){var _0x4a9af6=_0x50de8b,_0x4941b5;const {unitID:_0x2229c7,type:_0x15c507,revision:_0x50e6b5=0x0}=_0x57d395,_0x19f24a=this[_0x4a9af6(0x229)]()+'/'+_0x15c507+'/unit/'+_0x2229c7+_0x4a9af6(0x527)+_0x50e6b5,_0xca83e6=(await this[_0x4a9af6(0x539)]['get'](_0x19f24a))[_0x4a9af6(0x4f1)],_0x340bf9=(_0x4941b5=_0xca83e6[_0x4a9af6(0x55a)])==null?void 0x0:_0x4941b5[_0x4a9af6(0x429)];if(_0x340bf9){const _0x17af35=_0x340bf9==null?void 0x0:_0x340bf9[_0x4a9af6(0x524)],_0x52559b=E[_0x4a9af6(0x28f)][_0x4a9af6(0x381)](E[_0x4a9af6(0x2e7)](_0x17af35));_0x340bf9['originalMeta']=_0x52559b,Object[_0x4a9af6(0x4e6)](_0x340bf9[_0x4a9af6(0x202)])['forEach'](([,_0xb1357f])=>{var _0x2fcc0d=_0x4a9af6;const _0x12409c=_0xb1357f[_0x2fcc0d(0x524)],_0x2f1f1a=E[_0x2fcc0d(0x28f)]['encode'](E['b64DecodeUnicode'](_0x12409c));_0xb1357f[_0x2fcc0d(0x524)]=_0x2f1f1a;});}return _0xca83e6;}async[_0x50de8b(0x407)](_0x134e9f,_0x37d4e8){var _0x1268ca=_0x50de8b;const {unitID:_0x2627f1,type:_0x3088b9,blockID:_0x23c2c8}=_0x37d4e8,_0x1deee8=this[_0x1268ca(0x29b)]()+'/'+_0x3088b9+'/unit/'+_0x2627f1+_0x1268ca(0x4e3)+_0x23c2c8;return(await this[_0x1268ca(0x539)]['get'](_0x1deee8))['body'];}async[_0x50de8b(0x396)](_0x22f441,_0x27b5b3){var _0x131f0a=_0x50de8b;const {unitID:_0x191787,type:_0xd4578b,blockID:_0x585e79}=_0x27b5b3,_0x4e782f=this[_0x131f0a(0x29b)]()+_0x131f0a(0x4e3)+_0xd4578b+_0x131f0a(0x38a)+_0x191787+_0x131f0a(0x4e3)+_0x585e79;return(await this[_0x131f0a(0x539)][_0x131f0a(0x3b6)](_0x4e782f))[_0x131f0a(0x4f1)];}async[_0x50de8b(0x525)](_0x9f546d,_0x3e3147){var _0x588a2a=_0x50de8b;const {unitID:_0x5cef50,type:_0x4f7734,from:_0x3d445d,to:_0x18fe13}=_0x3e3147,_0x5f4067=this[_0x588a2a(0x29b)]()+'/'+_0x4f7734+_0x588a2a(0x38a)+_0x5cef50+_0x588a2a(0x2f7)+_0x3d445d+_0x588a2a(0x559)+_0x18fe13;return(await this['_httpService'][_0x588a2a(0x3b6)](_0x5f4067))[_0x588a2a(0x4f1)];}[_0x50de8b(0x229)](){var _0x37c993=_0x50de8b,_0x484a34;return(_0x484a34=this[_0x37c993(0x26e)]['getConfig'](yt))!=null?_0x484a34:this['_getAPIPrefix']();}['_getAPIPrefix'](){var _0x324084=_0x50de8b,_0x3e1d31;const _0x21f0e4=this['_configService'][_0x324084(0x3d6)](Y);return(_0x3e1d31=_0x21f0e4==null?void 0x0:_0x21f0e4['snapshotServerUrl'])!=null?_0x3e1d31:Dt;}async[_0x50de8b(0x279)](_0x24a3b9,_0x3672db){var _0x20b6aa=_0x50de8b;const _0x4450d0=_0x20b6aa(0x1d1)+_0x3672db[_0x20b6aa(0x43f)]+'/unit/'+_0x3672db[_0x20b6aa(0x53a)]+'/resources';return(await this[_0x20b6aa(0x539)][_0x20b6aa(0x3b6)](_0x4450d0,{'params':{'resourceId':JSON[_0x20b6aa(0x54c)](_0x3672db[_0x20b6aa(0x375)])}}))[_0x20b6aa(0x4f1)];}[_0x50de8b(0x557)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['updateSnapshot'](){var _0x35ade6=_0x50de8b;throw new Error(_0x35ade6(0x3e1));}[_0x50de8b(0x4c1)](){var _0x1c21b4=_0x50de8b;throw new Error(_0x1c21b4(0x3e1));}[_0x50de8b(0x379)](){var _0x21b86b=_0x50de8b;throw new Error(_0x21b86b(0x3e1));}[_0x50de8b(0x271)](){var _0x42e34a=_0x50de8b;throw new Error(_0x42e34a(0x3e1));}['getLatestCsReqIdBySid'](){var _0x25596f=_0x50de8b;throw new Error(_0x25596f(0x3e1));}},exports['SnapshotServerOverHTTPService']=dn([ot(0x0,o[_0x50de8b(0x4ac)]),ot(0x1,o[_0x50de8b(0x2fe)](K['HTTPService']))],exports['SnapshotServerOverHTTPService']);var Sn=Object[_0x50de8b(0x2d5)],In=(_0x1ec0a6,_0xd5dd0e,_0x319e92,_0x1833b3)=>{var _0x428c39=_0x50de8b;for(var _0x35bab2=_0x1833b3>0x1?void 0x0:_0x1833b3?Sn(_0xd5dd0e,_0x319e92):_0xd5dd0e,_0x5735cc=_0x1ec0a6[_0x428c39(0x3a9)]-0x1,_0x3f3fb5;_0x5735cc>=0x0;_0x5735cc--)(_0x3f3fb5=_0x1ec0a6[_0x5735cc])&&(_0x35bab2=_0x3f3fb5(_0x35bab2)||_0x35bab2);return _0x35bab2;},ue=(_0x27498f,_0x430e74)=>(_0x56e2a6,_0x28d667)=>_0x430e74(_0x56e2a6,_0x28d667,_0x27498f);exports[_0x50de8b(0x52f)]=class extends o[_0x50de8b(0x4ab)]{constructor(_0x5c8489,_0x2c41a5,_0x5bc5f4,_0x3ca7f0,_0x48f50f){var _0x1b24d5=_0x50de8b;super(_0x5c8489,_0x2c41a5,_0x5bc5f4),this[_0x1b24d5(0x287)]=_0x3ca7f0,this[_0x1b24d5(0x3cc)]=_0x48f50f;}['transformUndoRedo'](_0x5d13ad,_0x24a54b){var _0x1676db=_0x50de8b;const _0x3e4294=this[_0x1676db(0x205)](_0x5d13ad);if(_0x3e4294)try{const _0xbf4d76=this['_transformStack'](_0x3e4294,_0x24a54b);this[_0x1676db(0x42a)](_0x5d13ad,_0xbf4d76);}catch(_0x67511b){this[_0x1676db(0x3cc)][_0x1676db(0x4fe)](_0x1676db(0x508),_0x67511b),this['_clearUndo'](_0x5d13ad);}const _0x1e1263=this[_0x1676db(0x29a)](_0x5d13ad);if(_0x1e1263)try{const _0x279f40=this[_0x1676db(0x47f)](_0x1e1263,_0x24a54b);this['_substituteRedoStack'](_0x5d13ad,_0x279f40);}catch(_0x361175){this[_0x1676db(0x3cc)]['error'](_0x361175),this[_0x1676db(0x561)](_0x5d13ad);}}['_clearUndo'](_0x564e3d){var _0x3e8fcd=_0x50de8b;const _0x5bb03c=this['_getUndoStack'](_0x564e3d);_0x5bb03c&&(_0x5bb03c[_0x3e8fcd(0x3a9)]=0x0,this['_updateStatus']());}[_0x50de8b(0x561)](_0x378403){var _0x3601fb=_0x50de8b;const _0x5c1b0d=this[_0x3601fb(0x29a)](_0x378403);_0x5c1b0d&&(_0x5c1b0d[_0x3601fb(0x3a9)]=0x0,this[_0x3601fb(0x38d)]());}[_0x50de8b(0x42a)](_0x4d5583,_0x4c9b03){var _0x83137f=_0x50de8b;this[_0x83137f(0x40b)][_0x83137f(0x562)](_0x4d5583,_0x4c9b03),this['_updateStatus']();}[_0x50de8b(0x2fd)](_0x4ce5b7,_0x24ad06){var _0x365cdc=_0x50de8b;this[_0x365cdc(0x255)][_0x365cdc(0x562)](_0x4ce5b7,_0x24ad06),this[_0x365cdc(0x38d)]();}['_transformStack'](_0x1126b9,_0x1781fc){var _0x48e7ae=_0x50de8b;const _0x33ad63=[];let _0x14b883=_0x1781fc,_0x271c60=_0x1781fc;for(let _0x4f3a8a=_0x1126b9[_0x48e7ae(0x3a9)]-0x1;_0x4f3a8a>=0x0;_0x4f3a8a--){const {unitID:_0x1b16f8,undoMutations:_0x471ca9,redoMutations:_0xaa622b}=_0x1126b9[_0x4f3a8a],_0x2ea3e9=this[_0x48e7ae(0x287)][_0x48e7ae(0x43b)](_0x14b883,_0x471ca9),_0x439a8f=this[_0x48e7ae(0x287)][_0x48e7ae(0x43b)](_0x271c60,_0xaa622b);if(E[_0x48e7ae(0x4e4)](_0x2ea3e9)||E[_0x48e7ae(0x4e4)](_0x439a8f)){this[_0x48e7ae(0x3cc)]['error'](_0x48e7ae(0x508),_0x48e7ae(0x350),_0x2ea3e9,_0x439a8f);break;}_0x14b883=_0x2ea3e9[_0x48e7ae(0x49b)],_0x271c60=_0x439a8f[_0x48e7ae(0x49b)],_0x33ad63[_0x48e7ae(0x459)]({'unitID':_0x1b16f8,'undoMutations':_0x2ea3e9[_0x48e7ae(0x296)],'redoMutations':_0x439a8f[_0x48e7ae(0x296)]});}return _0x33ad63[_0x48e7ae(0x2cc)]();}},exports[_0x50de8b(0x52f)]=In([ue(0x0,o[_0x50de8b(0x35a)]),ue(0x1,o[_0x50de8b(0x24e)]),ue(0x2,o[_0x50de8b(0x294)]),ue(0x3,E['ITransformService']),ue(0x4,o['ILogService'])],exports[_0x50de8b(0x52f)]);var fn=Object[_0x50de8b(0x507)],En=Object[_0x50de8b(0x2d5)],pn=(_0x1b4ead,_0xd22cf4,_0x335056)=>_0xd22cf4 in _0x1b4ead?fn(_0x1b4ead,_0xd22cf4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x335056}):_0x1b4ead[_0xd22cf4]=_0x335056,mn=(_0x1195ee,_0xbe2727,_0x401da4,_0x47b773)=>{for(var _0x4c7fae=_0x47b773>0x1?void 0x0:_0x47b773?En(_0xbe2727,_0x401da4):_0xbe2727,_0x6356cd=_0x1195ee['length']-0x1,_0x4c1172;_0x6356cd>=0x0;_0x6356cd--)(_0x4c1172=_0x1195ee[_0x6356cd])&&(_0x4c7fae=_0x4c1172(_0x4c7fae)||_0x4c7fae);return _0x4c7fae;},we=(_0x412877,_0x347602)=>(_0x2e4d16,_0x2efb8d)=>_0x347602(_0x2e4d16,_0x2efb8d,_0x412877),gn=(_0x2d1dd8,_0x5c7a98,_0x2992d9)=>pn(_0x2d1dd8,_0x5c7a98+'',_0x2992d9);const Tn=_0x50de8b(0x239);exports[_0x50de8b(0x541)]=class extends o['Plugin']{constructor(_0xc62981,_0x146051,_0x5b5442,_0xbd4d66){var _0x1eeaa2=_0x50de8b;super(),A(this,'_config'),(this['_logService']=_0x146051,this[_0x1eeaa2(0x3e7)]=_0x5b5442,this[_0x1eeaa2(0x26e)]=_0xbd4d66);const {..._0x436c7d}=o[_0x1eeaa2(0x34a)]({},Zt,_0xc62981);if(!_0x436c7d[_0x1eeaa2(0x2d2)])throw new Error(_0x1eeaa2(0x52e));this[_0x1eeaa2(0x476)]=_0x436c7d,this['_configService']['setConfig'](Y,_0x436c7d);}[_0x50de8b(0x30a)](){var _0x4996be=_0x50de8b;this[_0x4996be(0x1d6)](),this[_0x4996be(0x242)]();}['_registerDependencies'](){var _0x4d853a=_0x50de8b,_0x5de054,_0xda2e20;this[_0x4d853a(0x3e7)]['has'](o['IUndoRedoService'])&&this['_logService']['error']('[UniverCollaborationClientPlugin]',_0x4d853a(0x3d0));const _0x5aae60=o[_0x4d853a(0x4f7)]([[o[_0x4d853a(0x34e)],{'useClass':exports[_0x4d853a(0x52f)]}],[exports[_0x4d853a(0x4bd)]],[exports[_0x4d853a(0x37a)]],[exports['SheetTransformSelectionsService']],[Ne],[De],[$e],[ye],[ee],[exports[_0x4d853a(0x3d9)]],[Fe,{'useClass':this[_0x4d853a(0x476)]['socketService']}],[E[_0x4d853a(0x3e4)],{'useClass':exports[_0x4d853a(0x40f)]}],[o['IAuthzIoService'],{'useClass':exports[_0x4d853a(0x373)]}],[z['IImageIoService'],{'useClass':exports[_0x4d853a(0x485)]}],[o[_0x4d853a(0x39c)],{'useClass':exports[_0x4d853a(0x431)]}],[exports[_0x4d853a(0x3e8)]],[xe]],(_0x5de054=this[_0x4d853a(0x476)])==null?void 0x0:_0x5de054[_0x4d853a(0x3dc)]);if(!((_0xda2e20=this[_0x4d853a(0x476)])!=null&&_0xda2e20['enableSingleActiveInstanceLock'])){const _0x49a7fd=_0x5aae60[_0x4d853a(0x549)](([_0x3c04f4])=>_0x3c04f4===ve);_0x49a7fd!==-0x1&&_0x5aae60[_0x4d853a(0x4cc)](_0x49a7fd,0x1);}o[_0x4d853a(0x4eb)](this[_0x4d853a(0x3e7)],_0x5aae60);}['_initDependencies'](){var _0x58a02a=_0x50de8b,_0x4d93a8,_0xc88c45,_0x15aa69;this['_injector']['get'](K['HTTPService'])[_0x58a02a(0x41e)]({'priority':0x14,'interceptor':K[_0x58a02a(0x369)]({'maxParallel':0x6})}),(_0x4d93a8=this[_0x58a02a(0x476)])!=null&&_0x4d93a8[_0x58a02a(0x277)]||(_0xc88c45=this[_0x58a02a(0x3e7)][_0x58a02a(0x3b6)](q,o[_0x58a02a(0x3b4)][_0x58a02a(0x31b)]))==null||_0xc88c45[_0x58a02a(0x323)](),(_0x15aa69=this[_0x58a02a(0x476)])!=null&&_0x15aa69[_0x58a02a(0x2e6)]&&o[_0x58a02a(0x477)](this['_injector'],[[Ne]]),o[_0x58a02a(0x477)](this[_0x58a02a(0x3e7)],[[De],[exports[_0x58a02a(0x3e8)]],[ye]]);}},gn(exports[_0x50de8b(0x541)],_0x50de8b(0x1db),Tn),exports['UniverCollaborationClientPlugin']=mn([o[_0x50de8b(0x32c)](E[_0x50de8b(0x1ce)],K[_0x50de8b(0x4b5)]),we(0x1,o['ILogService']),we(0x2,o[_0x50de8b(0x2fe)](o[_0x50de8b(0x221)])),we(0x3,o['IConfigService'])],exports['UniverCollaborationClientPlugin']),exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports['CollaborationStatus']=je,exports['CollaborationUIEventId']=J,exports[_0x50de8b(0x23d)]=ee,exports[_0x50de8b(0x316)]=$e,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=ht,exports[_0x50de8b(0x311)]=jt,exports[_0x50de8b(0x1e9)]=At,exports[_0x50de8b(0x3fb)]=_t,exports[_0x50de8b(0x500)]=ke,exports[_0x50de8b(0x371)]=Fe,exports[_0x50de8b(0x3e6)]=q,exports[_0x50de8b(0x492)]=Et,exports[_0x50de8b(0x482)]=ve,exports['LOCAL_CACHE_INTERVAL']=xt,exports[_0x50de8b(0x225)]=wt,exports[_0x50de8b(0x21d)]=Ht,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=ut,exports['SessionStatus']=se,exports[_0x50de8b(0x3c2)]=He,exports[_0x50de8b(0x50f)]=pt,exports[_0x50de8b(0x3b7)]=qt,exports[_0x50de8b(0x439)]=mt;
1
+ 'use strict';var _0x497bf8=_0x382c;(function(_0x19dfcc,_0x5a7de0){var _0x181909=_0x382c,_0x2601ad=_0x19dfcc();while(!![]){try{var _0x4d3f21=parseInt(_0x181909(0x3fb))/0x1+parseInt(_0x181909(0x220))/0x2+-parseInt(_0x181909(0x2db))/0x3+-parseInt(_0x181909(0x37b))/0x4+-parseInt(_0x181909(0x42a))/0x5*(parseInt(_0x181909(0x41c))/0x6)+-parseInt(_0x181909(0x2e7))/0x7*(parseInt(_0x181909(0x2fb))/0x8)+parseInt(_0x181909(0x557))/0x9*(parseInt(_0x181909(0x3d5))/0xa);if(_0x4d3f21===_0x5a7de0)break;else _0x2601ad['push'](_0x2601ad['shift']());}catch(_0x2ae988){_0x2601ad['push'](_0x2601ad['shift']());}}}(_0x4680,0x23525));var bt=Object[_0x497bf8(0x27f)],Rt=(_0x30ea47,_0x53c0e7,_0x448e38)=>_0x53c0e7 in _0x30ea47?bt(_0x30ea47,_0x53c0e7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x448e38}):_0x30ea47[_0x53c0e7]=_0x448e38,A=(_0x2fabcb,_0x4b292e,_0x563998)=>Rt(_0x2fabcb,typeof _0x4b292e!=_0x497bf8(0x409)?_0x4b292e+'':_0x4b292e,_0x563998);Object[_0x497bf8(0x27f)](exports,Symbol[_0x497bf8(0x4ac)],{'value':_0x497bf8(0x25a)});const E=require('@univerjs-pro/collaboration'),o=require('@univerjs/core'),ct=require('@univerjs/docs'),Q=require('@univerjs/sheets'),j=require('rxjs'),Nt=require('@univerjs/telemetry'),V=require('rxjs/operators'),K=require('@univerjs/network'),z=require('@univerjs/drawing'),Dt=require('@univerjs-pro/license'),yt=_0x497bf8(0x415),Ut=_0x497bf8(0x27b),At=0x7d0,_t=_0x497bf8(0x3bb),Pt=_0x497bf8(0x452),ht=_0x497bf8(0x30a),Lt=0x7530,ke='HEARTBEAT_TIMEOUT',lt=0x4e20,Mt=0x4e20,ut=_0x497bf8(0x22f),wt=0x3,xt=_0x497bf8(0x232),kt=0x3e8,$t='/universer-api/comb',Ht=_0x497bf8(0x29d),jt='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Bt='/universer-api/uniscript';var vt=(_0xe7a0f5=>(_0xe7a0f5[_0xe7a0f5['UNDEFINED']=0x0]='UNDEFINED',_0xe7a0f5[_0xe7a0f5['OK']=0x1]='OK',_0xe7a0f5[_0xe7a0f5['INTERNAL_ERROR']=0x2]=_0x497bf8(0x3ed),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x501)]=0x3]=_0x497bf8(0x501),_0xe7a0f5[_0xe7a0f5['NOT_FOUND']=0x4]=_0x497bf8(0x3e1),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x3e2)]=0x5]=_0x497bf8(0x3e2),_0xe7a0f5[_0xe7a0f5['ALREADY_EXISTS']=0x6]=_0x497bf8(0x48f),_0xe7a0f5[_0xe7a0f5['INVALID_ARGUMENT']=0x7]=_0x497bf8(0x2a4),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x31a)]=0x8]=_0x497bf8(0x31a),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x523)]=0x9]=_0x497bf8(0x523),_0xe7a0f5[_0xe7a0f5['LOGIN_FAILED']=0xa]=_0x497bf8(0x500),_0xe7a0f5[_0xe7a0f5['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x497bf8(0x4c3),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x285)]=0xc]=_0x497bf8(0x285),_0xe7a0f5[_0xe7a0f5['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x497bf8(0x28a),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x3d2)]=0xe]=_0x497bf8(0x3d2),_0xe7a0f5[_0xe7a0f5['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x497bf8(0x4c9),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x241)]=0x10]=_0x497bf8(0x241),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x489)]=0x64]=_0x497bf8(0x489),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x35c)]=0x65]=_0x497bf8(0x35c),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x290)]=0xc9]='USER_NOT_FOUND',_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x3d4)]=0xca]=_0x497bf8(0x3d4),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x486)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x35b)]=0x1771]=_0x497bf8(0x35b),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x338)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x51b)]=0x1773]=_0x497bf8(0x51b),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x3f6)]=0x1b59]='APPLY_REJECT',_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x4bd)]=0x1b5a]=_0x497bf8(0x4bd),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x270)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0xe7a0f5[_0xe7a0f5['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x334)]=0x1b5d]='APPLY_DUPLICATED',_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x57b)]=0x1f41]=_0x497bf8(0x57b),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x2f0)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0xe7a0f5[_0xe7a0f5['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x2d2)]=0x232b]=_0x497bf8(0x2d2),_0xe7a0f5[_0xe7a0f5['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x497bf8(0x57e),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x2d4)]=0x232d]='LICENSE_DISTRO_REJECTED',_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x308)]=0x2711]=_0x497bf8(0x308),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x44c)]=0x2712]=_0x497bf8(0x44c),_0xe7a0f5[_0xe7a0f5['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x417)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xe7a0f5[_0xe7a0f5['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x4a3)]=0x271b]=_0x497bf8(0x4a3),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x481)]=0x271c]=_0x497bf8(0x481),_0xe7a0f5[_0xe7a0f5['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x538)]=0x271e]=_0x497bf8(0x538),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x1f6)]=0x271f]=_0x497bf8(0x1f6),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x277)]=0x2720]=_0x497bf8(0x277),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x330)]=0x2af9]=_0x497bf8(0x330),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x3ff)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x27a)]=0x2ee2]=_0x497bf8(0x27a),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x2de)]=0x2ee3]='INVITE_CODE_REQUIRED',_0xe7a0f5[_0xe7a0f5['USER_NOT_INVITED_CODE']=0x2ee4]=_0x497bf8(0x4bc),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x269)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x493)]=0x32c9]=_0x497bf8(0x493),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x276)]=0x32ca]=_0x497bf8(0x276),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x3da)]=0x32cb]=_0x497bf8(0x3da),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x2eb)]=0x36b1]=_0x497bf8(0x2eb),_0xe7a0f5[_0xe7a0f5['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x497bf8(0x495),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x2ab)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x253)]=0x36b4]=_0x497bf8(0x253),_0xe7a0f5[_0xe7a0f5['ENTITLE_INVALID_COUPON_CODE']=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0xe7a0f5[_0xe7a0f5['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x497bf8(0x578),_0xe7a0f5[_0xe7a0f5['ENTITLE_COUPON_USED_UP']=0x36b7]=_0x497bf8(0x224),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x367)]=0x36b8]=_0x497bf8(0x367),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x43a)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0xe7a0f5[_0xe7a0f5['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x497bf8(0x522),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x4c5)]=0x3717]=_0x497bf8(0x4c5),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x539)]=0x37dd]=_0x497bf8(0x539),_0xe7a0f5[_0xe7a0f5['REDEMPTION_INVALID_CODE']=0x3a99]=_0x497bf8(0x547),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x2d3)]=0x3a9a]=_0x497bf8(0x2d3),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x4bb)]=0x3a9b]=_0x497bf8(0x4bb),_0xe7a0f5[_0xe7a0f5['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0xe7a0f5[_0xe7a0f5['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x497bf8(0x225),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x466)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x33f)]=0x3a9f]=_0x497bf8(0x33f),_0xe7a0f5[_0xe7a0f5['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x497bf8(0x273),_0xe7a0f5[_0xe7a0f5[_0x497bf8(0x38b)]=-0x1]=_0x497bf8(0x38b),_0xe7a0f5))(vt||{}),X=(_0x4eaf41=>(_0x4eaf41[_0x4eaf41[_0x497bf8(0x33e)]=0x0]=_0x497bf8(0x33e),_0x4eaf41[_0x4eaf41[_0x497bf8(0x541)]=0x1]='UNIVER_DOC',_0x4eaf41[_0x4eaf41[_0x497bf8(0x2ff)]=0x2]=_0x497bf8(0x2ff),_0x4eaf41[_0x4eaf41[_0x497bf8(0x414)]=0x3]=_0x497bf8(0x414),_0x4eaf41[_0x4eaf41[_0x497bf8(0x43d)]=0x4]=_0x497bf8(0x43d),_0x4eaf41[_0x4eaf41['UNRECOGNIZED']=-0x1]=_0x497bf8(0x38b),_0x4eaf41))(X||{}),W=(_0x3b5af3=>(_0x3b5af3[_0x3b5af3[_0x497bf8(0x223)]=0x0]=_0x497bf8(0x223),_0x3b5af3[_0x3b5af3[_0x497bf8(0x47c)]=0x1]='HELLO',_0x3b5af3[_0x3b5af3[_0x497bf8(0x3ee)]=0x2]=_0x497bf8(0x3ee),_0x3b5af3[_0x3b5af3['LEAVE']=0x3]='LEAVE',_0x3b5af3[_0x3b5af3['INGEST']=0x4]=_0x497bf8(0x41e),_0x3b5af3[_0x3b5af3[_0x497bf8(0x3a0)]=0x5]=_0x497bf8(0x3a0),_0x3b5af3[_0x3b5af3['RECV']=0x6]=_0x497bf8(0x45d),_0x3b5af3[_0x3b5af3[_0x497bf8(0x38b)]=-0x1]=_0x497bf8(0x38b),_0x3b5af3))(W||{}),re=(_0x3e6dd2=>(_0x3e6dd2[_0x3e6dd2[_0x497bf8(0x32e)]=0x0]=_0x497bf8(0x32e),_0x3e6dd2[_0x3e6dd2['OK']=0x1]='OK',_0x3e6dd2[_0x3e6dd2[_0x497bf8(0x297)]=0x2]=_0x497bf8(0x297),_0x3e6dd2[_0x3e6dd2[_0x497bf8(0x2d1)]=0x3e9]=_0x497bf8(0x2d1),_0x3e6dd2[_0x3e6dd2[_0x497bf8(0x2c8)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x3e6dd2[_0x3e6dd2[_0x497bf8(0x510)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x3e6dd2[_0x3e6dd2['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x497bf8(0x3c6),_0x3e6dd2[_0x3e6dd2[_0x497bf8(0x38b)]=-0x1]=_0x497bf8(0x38b),_0x3e6dd2))(re||{}),dt=(_0x1ffddf=>(_0x1ffddf[_0x1ffddf[_0x497bf8(0x487)]=0x0]=_0x497bf8(0x487),_0x1ffddf[_0x1ffddf['HttpImport']=0x1]=_0x497bf8(0x42f),_0x1ffddf[_0x1ffddf[_0x497bf8(0x286)]=0x2]=_0x497bf8(0x286),_0x1ffddf[_0x1ffddf[_0x497bf8(0x3af)]=0x3]=_0x497bf8(0x3af),_0x1ffddf[_0x1ffddf[_0x497bf8(0x445)]=0x4]='UnitSnapshot',_0x1ffddf[_0x1ffddf[_0x497bf8(0x469)]=0x5]='UserProfileImg',_0x1ffddf[_0x1ffddf[_0x497bf8(0x2ba)]=0x6]=_0x497bf8(0x2ba),_0x1ffddf[_0x1ffddf[_0x497bf8(0x38b)]=-0x1]=_0x497bf8(0x38b),_0x1ffddf))(dt||{});const Ft=_0x497bf8(0x47d);function Vt(_0x5ec0a6){var _0x75c008=_0x497bf8;return JSON[_0x75c008(0x4ad)](_0x5ec0a6)[_0x75c008(0x2a5)];}var J=(_0x42c307=>(_0x42c307[_0x497bf8(0x50c)]=_0x497bf8(0x50c),_0x42c307[_0x497bf8(0x501)]='PERMISSION_DENIED',_0x42c307[_0x497bf8(0x4a2)]=_0x497bf8(0x4a2),_0x42c307[_0x497bf8(0x3d1)]=_0x497bf8(0x3d1),_0x42c307[_0x497bf8(0x35d)]='JOIN_ROOM_FAILED',_0x42c307[_0x497bf8(0x29b)]='SOCKET_FAILED_RETRY',_0x42c307[_0x497bf8(0x447)]='SOCKET_FAILED',_0x42c307['SUBMIT_CHANGESET_TIMEOUT']=_0x497bf8(0x402),_0x42c307))(J||{});class ee{constructor(){var _0x4fb320=_0x497bf8;A(this,_0x4fb320(0x23a),new j[(_0x4fb320(0x465))]()),A(this,_0x4fb320(0x357),this[_0x4fb320(0x23a)][_0x4fb320(0x4d1)]());}[_0x497bf8(0x2e8)](_0x593335){var _0x3cb5c2=_0x497bf8;this[_0x3cb5c2(0x23a)][_0x3cb5c2(0x580)](_0x593335);}}class $e{constructor(){var _0x12a96b=_0x497bf8;A(this,_0x12a96b(0x477),new j[(_0x12a96b(0x465))]()),A(this,_0x12a96b(0x585),this['_commentUpdate$']['asObservable']());}[_0x497bf8(0x366)](_0x3d7bb5){var _0x22f71b=_0x497bf8;this['_commentUpdate$'][_0x22f71b(0x580)](_0x3d7bb5);}}var Wt=Object['getOwnPropertyDescriptor'],Gt=(_0x389660,_0x2149fd,_0x543584,_0x450cd8)=>{for(var _0x21bb97=_0x450cd8>0x1?void 0x0:_0x450cd8?Wt(_0x2149fd,_0x543584):_0x2149fd,_0x357c26=_0x389660['length']-0x1,_0x42410c;_0x357c26>=0x0;_0x357c26--)(_0x42410c=_0x389660[_0x357c26])&&(_0x21bb97=_0x42410c(_0x21bb97)||_0x21bb97);return _0x21bb97;},Ve=(_0xddce18,_0x2b0f5e)=>(_0x458016,_0x20cb76)=>_0x2b0f5e(_0x458016,_0x20cb76,_0xddce18);exports[_0x497bf8(0x4c2)]=class extends o[_0x497bf8(0x584)]{constructor(_0x4c92f5,_0x231b59){var _0x1c8cd0=_0x497bf8;super(),A(this,'_roomMembers',new Map()),A(this,_0x1c8cd0(0x482),new j[(_0x1c8cd0(0x465))]()),(this[_0x1c8cd0(0x301)]=_0x4c92f5,this['_userManagerService']=_0x231b59,this[_0x1c8cd0(0x26d)](j[_0x1c8cd0(0x565)](this['_univerInstanceService'][_0x1c8cd0(0x328)](o['UniverInstanceType']['UNIVER_SHEET'])[_0x1c8cd0(0x4fa)](V['map'](_0x104a30=>_0x104a30[_0x1c8cd0(0x54d)]())),this[_0x1c8cd0(0x301)][_0x1c8cd0(0x328)](o['UniverInstanceType'][_0x1c8cd0(0x541)])[_0x1c8cd0(0x4fa)](V[_0x1c8cd0(0x392)](_0x46a3a2=>_0x46a3a2[_0x1c8cd0(0x54d)]())),this[_0x1c8cd0(0x301)]['getTypeOfUnitDisposed$'](o[_0x1c8cd0(0x36a)][_0x1c8cd0(0x414)])[_0x1c8cd0(0x4fa)](V[_0x1c8cd0(0x392)](_0x1b7def=>_0x1b7def[_0x1c8cd0(0x54d)]())))[_0x1c8cd0(0x441)](_0x2e436=>this[_0x1c8cd0(0x50f)](_0x2e436))));}['waitForRoom$'](_0x2d2cfb){var _0x5bb191=_0x497bf8;return this['_roomMembers']['has'](_0x2d2cfb)?j['of'](this['_roomMembers']['get'](_0x2d2cfb)):this[_0x5bb191(0x482)]['pipe'](V['map'](_0x10e56b=>{var _0x3a4b27=_0x5bb191;if(_0x10e56b===_0x2d2cfb)return this[_0x3a4b27(0x28d)][_0x3a4b27(0x229)](_0x10e56b);}));}['setCurrentUser'](_0x548a95){var _0x16ba17=_0x497bf8;this[_0x16ba17(0x333)][_0x16ba17(0x4d0)](_0x548a95);}[_0x497bf8(0x33c)](){var _0x5e1e4f=_0x497bf8;return this['_userManagerService'][_0x5e1e4f(0x33c)]();}['updateMember'](_0x4096f2,_0x189cec){var _0x6d0323=_0x497bf8;let _0x2dd43a=this[_0x6d0323(0x28d)][_0x6d0323(0x229)](_0x4096f2);_0x2dd43a||(_0x2dd43a=new Yt(),this[_0x6d0323(0x28d)][_0x6d0323(0x2f3)](_0x4096f2,_0x2dd43a),this[_0x6d0323(0x482)][_0x6d0323(0x580)](_0x4096f2)),_0x2dd43a[_0x6d0323(0x422)](_0x189cec);}[_0x497bf8(0x39e)](_0x5aa90d,_0x5c3a89){var _0x5814c1=_0x497bf8;const _0x41bb9f=this['_roomMembers'][_0x5814c1(0x229)](_0x5aa90d);_0x41bb9f&&_0x41bb9f[_0x5814c1(0x39e)](_0x5c3a89);}[_0x497bf8(0x2d7)](_0x92584d){var _0xcbd284=_0x497bf8;return this[_0xcbd284(0x28d)]['get'](_0x92584d);}[_0x497bf8(0x2e6)](_0x5c6819,_0x1311c2){var _0x44a87b=_0x497bf8;const _0x2afa72=this[_0x44a87b(0x28d)][_0x44a87b(0x229)](_0x5c6819);if(_0x2afa72)return _0x2afa72['getMember'](_0x1311c2);}[_0x497bf8(0x50f)](_0x16fd60){var _0x394618=_0x497bf8;const _0x3c883a=this['_roomMembers']['get'](_0x16fd60);_0x3c883a&&(_0x3c883a['dispose'](),this[_0x394618(0x28d)]['delete'](_0x16fd60));}['dispose'](){var _0x25c94f=_0x497bf8;this[_0x25c94f(0x28d)][_0x25c94f(0x49b)](_0x34a24d=>_0x34a24d[_0x25c94f(0x444)]()),this[_0x25c94f(0x28d)][_0x25c94f(0x234)](),this[_0x25c94f(0x482)][_0x25c94f(0x2a2)]();}},exports[_0x497bf8(0x4c2)]=Gt([Ve(0x0,o[_0x497bf8(0x200)]),Ve(0x1,o[_0x497bf8(0x3f5)](o[_0x497bf8(0x1ff)]))],exports[_0x497bf8(0x4c2)]);class Yt extends o['Disposable']{constructor(){var _0x1fb5d5=_0x497bf8;super(...arguments),A(this,'_members',new Map()),A(this,_0x1fb5d5(0x37f),new j[(_0x1fb5d5(0x387))](this[_0x1fb5d5(0x411)])),A(this,'members$',this[_0x1fb5d5(0x37f)][_0x1fb5d5(0x4d1)]());}[_0x497bf8(0x444)](){var _0x31b3ee=_0x497bf8;this[_0x31b3ee(0x411)][_0x31b3ee(0x234)]();}[_0x497bf8(0x422)](_0x4909cf){var _0x252c88=_0x497bf8;this[_0x252c88(0x411)][_0x252c88(0x2f3)](_0x4909cf[_0x252c88(0x2b4)],_0x4909cf),this['_emitMembers']();}[_0x497bf8(0x39e)](_0xfe59a6){var _0x27c6cd=_0x497bf8;this[_0x27c6cd(0x411)][_0x27c6cd(0x2e9)](_0xfe59a6);}['getMember'](_0x26517d){var _0x54232c=_0x497bf8;return this[_0x54232c(0x411)][_0x54232c(0x229)](_0x26517d);}['getAllMembers'](){var _0x31cb3b=_0x497bf8;return Array[_0x31cb3b(0x205)](this[_0x31cb3b(0x411)]['values']());}['_emitMembers'](){var _0xb88c40=_0x497bf8;this[_0xb88c40(0x37f)][_0xb88c40(0x580)](this[_0xb88c40(0x411)]);}}var Kt=Object[_0x497bf8(0x4fe)],qt=(_0x36ccb8,_0x137678,_0x140f3a,_0x15028d)=>{for(var _0x3d72cc=_0x15028d>0x1?void 0x0:_0x15028d?Kt(_0x137678,_0x140f3a):_0x137678,_0x226778=_0x36ccb8['length']-0x1,_0x1ab9e5;_0x226778>=0x0;_0x226778--)(_0x1ab9e5=_0x36ccb8[_0x226778])&&(_0x3d72cc=_0x1ab9e5(_0x3d72cc)||_0x3d72cc);return _0x3d72cc;},ce=(_0x36b2a3,_0x4a4abb)=>(_0x397b2a,_0x4641fe)=>_0x4a4abb(_0x397b2a,_0x4641fe,_0x36b2a3),se=(_0x182c32=>(_0x182c32[_0x182c32[_0x497bf8(0x312)]=0x0]=_0x497bf8(0x312),_0x182c32[_0x182c32[_0x497bf8(0x2a0)]=0x1]=_0x497bf8(0x2a0),_0x182c32[_0x182c32[_0x497bf8(0x2c3)]=0x2]=_0x497bf8(0x2c3),_0x182c32[_0x182c32['ONLINE']=0x3]=_0x497bf8(0x33b),_0x182c32))(se||{});const We={[re['FAIL']]:_0x497bf8(0x40a),[re['JOIN_ROOM_FULL']]:_0x497bf8(0x362),[re[_0x497bf8(0x2c8)]]:'session.room-not-exists',[re[_0x497bf8(0x510)]]:_0x497bf8(0x369),[re[_0x497bf8(0x3c6)]]:_0x497bf8(0x384)};exports[_0x497bf8(0x3db)]=class extends o['RxDisposable']{constructor(_0x2e1870,_0x25e251,_0x5aed24,_0x5241ff,_0x447392,_0x13e944,_0x15e78f,_0x453844){var _0x36b422=_0x497bf8;super(),A(this,_0x36b422(0x235),new j[(_0x36b422(0x387))](0x0)),A(this,'sessionStatus$',this[_0x36b422(0x235)][_0x36b422(0x4d1)]()),A(this,_0x36b422(0x23a),new j[(_0x36b422(0x465))]()),A(this,_0x36b422(0x357),this[_0x36b422(0x23a)][_0x36b422(0x4d1)]()),A(this,_0x36b422(0x4db)),A(this,_0x36b422(0x346)),A(this,_0x36b422(0x514)),A(this,_0x36b422(0x2bc),!0x1),A(this,_0x36b422(0x24c),null),(this['_unitID']=_0x2e1870,this[_0x36b422(0x2e3)]=_0x5aed24,this[_0x36b422(0x4d3)]=_0x5241ff,this[_0x36b422(0x2cd)]=_0x447392,this[_0x36b422(0x3bf)]=_0x13e944,this['_collaborationUIEventService']=_0x15e78f,this[_0x36b422(0x36e)]=_0x453844,this[_0x36b422(0x2bc)]=!!this[_0x36b422(0x36e)],_0x25e251[_0x36b422(0x4fa)](j[_0x36b422(0x403)](this['dispose$']))['subscribe'](_0x505d3a=>{var _0x4718ef=_0x36b422,_0x3eb6c4;typeof _0x505d3a>'u'||(this[_0x4718ef(0x4db)]=_0x505d3a,_0x505d3a?(this[_0x4718ef(0x4ee)](_0x505d3a),this['_socketMessageSubscription']=_0x505d3a[_0x4718ef(0x492)]['subscribe'](_0x243a8e=>{var _0x9d7e80=_0x4718ef;_0x243a8e[_0x9d7e80(0x278)]===this[_0x9d7e80(0x2c0)]&&this[_0x9d7e80(0x504)](_0x243a8e);})):(this[_0x4718ef(0x315)](),this['_sessionStatus$']['next'](0x2),(_0x3eb6c4=this[_0x4718ef(0x346)])==null||_0x3eb6c4[_0x4718ef(0x44a)](),this[_0x4718ef(0x346)]=null));}));}get['sessionStatus'](){var _0x29fd40=_0x497bf8;return this[_0x29fd40(0x235)][_0x29fd40(0x3e7)]();}[_0x497bf8(0x292)](){var _0x17b48b=_0x497bf8,_0x58746c,_0x224d8c;return(_0x224d8c=(_0x58746c=this[_0x17b48b(0x4db)])==null?void 0x0:_0x58746c[_0x17b48b(0x2b4)])!=null?_0x224d8c:null;}[_0x497bf8(0x444)](){var _0x270450=_0x497bf8;super[_0x270450(0x444)](),this['dispose$'][_0x270450(0x580)](),this[_0x270450(0x53c)][_0x270450(0x2a2)]();}[_0x497bf8(0x3a3)](){var _0x2f655a=_0x497bf8,_0x3d5fda,_0xcd216f;this[_0x2f655a(0x315)](),(_0x3d5fda=this[_0x2f655a(0x4db)])==null||_0x3d5fda['send']({'cmd':W[_0x2f655a(0x3e4)],'data':{'roomID':this[_0x2f655a(0x2c0)]}}),(_0xcd216f=this[_0x2f655a(0x4db)])==null||_0xcd216f[_0x2f655a(0x3a3)](),this[_0x2f655a(0x23a)][_0x2f655a(0x2a2)](),this[_0x2f655a(0x235)]['complete'](),this['dispose']();}[_0x497bf8(0x504)](_0x305f60){var _0x4915d8=_0x497bf8;_0x305f60[_0x4915d8(0x548)]===W['JOIN']?this[_0x4915d8(0x22c)](_0x305f60):_0x305f60[_0x4915d8(0x548)]===W[_0x4915d8(0x45d)]&&this[_0x4915d8(0x37d)](_0x305f60);}[_0x497bf8(0x4ee)](_0xfcdcda){var _0x16b8e9=_0x497bf8;this['_sessionStatus$'][_0x16b8e9(0x580)](0x1),_0xfcdcda['send']({'cmd':W[_0x16b8e9(0x3ee)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x16b8e9(0x2c0)]}]}});}[_0x497bf8(0x22c)](_0x247de8){var _0xed8873=_0x497bf8,_0x85dc11;if(_0x247de8[_0xed8873(0x467)]in We){this[_0xed8873(0x534)][_0xed8873(0x2e8)]({'id':J[_0xed8873(0x35d)],'data':We[_0x247de8[_0xed8873(0x467)]]}),this['_sessionStatus$'][_0xed8873(0x580)](0x2);return;}this[_0xed8873(0x235)][_0xed8873(0x580)](0x3);const _0x3b72bd=(_0x85dc11=_0x247de8[_0xed8873(0x57d)][_0xed8873(0x579)][this['_unitID']])==null?void 0x0:_0x85dc11[_0xed8873(0x3c2)];_0x3b72bd&&_0x3b72bd[_0xed8873(0x49b)](_0x4fdb78=>this[_0xed8873(0x2cd)][_0xed8873(0x422)](this[_0xed8873(0x2c0)],_0x4fdb78));}[_0x497bf8(0x37d)](_0x1be74a){var _0x4b3b26=_0x497bf8;try{const _0x1bac5f=_0x1be74a[_0x4b3b26(0x57d)];switch(_0x1bac5f['eventID']){case E[_0x4b3b26(0x54a)][_0x4b3b26(0x365)]:this['_onUserJoin'](_0x1bac5f),this[_0x4b3b26(0x23a)][_0x4b3b26(0x580)](_0x1bac5f);break;case E[_0x4b3b26(0x54a)]['USERS_LEAVE']:this[_0x4b3b26(0x23e)](_0x1bac5f),this[_0x4b3b26(0x23a)][_0x4b3b26(0x580)](_0x1bac5f);break;case E['CollaborationEvent'][_0x4b3b26(0x34e)]:case E[_0x4b3b26(0x54a)]['CHANGESET_SHOULD_RETRY']:this[_0x4b3b26(0x583)](),this[_0x4b3b26(0x2a3)](),this[_0x4b3b26(0x23a)][_0x4b3b26(0x580)](_0x1bac5f);break;case E[_0x4b3b26(0x54a)]['MSG_FOR_ERROR']:this[_0x4b3b26(0x2e3)][_0x4b3b26(0x536)](_0x4b3b26(0x3a8)+JSON[_0x4b3b26(0x4ad)](_0x1bac5f)),this[_0x4b3b26(0x23a)][_0x4b3b26(0x580)](_0x1bac5f);break;case E[_0x4b3b26(0x54a)]['COMMENT_UPDATE']:this[_0x4b3b26(0x3bf)][_0x4b3b26(0x366)](_0x1bac5f['data']),this[_0x4b3b26(0x23a)][_0x4b3b26(0x580)](_0x1bac5f);break;default:this['_event$']['next'](_0x1bac5f);}}catch(_0x4609d5){this[_0x4b3b26(0x2e3)][_0x4b3b26(0x536)](_0x4609d5,_0x1be74a);}}['_onUserJoin'](_0x29a42c){var _0x25210e=_0x497bf8;this[_0x25210e(0x2cd)]['updateMember'](this['_unitID'],_0x29a42c[_0x25210e(0x57d)]);}[_0x497bf8(0x23e)](_0xd33539){var _0x5e58b5=_0x497bf8;this[_0x5e58b5(0x2cd)]['removeMember'](this[_0x5e58b5(0x2c0)],_0xd33539[_0x5e58b5(0x57d)][_0x5e58b5(0x2b4)]);}async['send'](_0x17c55a,_0x424496){var _0x1274ef=_0x497bf8;if(this['sessionStatus']!==0x3||!this[_0x1274ef(0x4db)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x17c55a['eventID']===E[_0x1274ef(0x54a)]['SUBMIT_CHANGESET']&&(this[_0x1274ef(0x26a)](),this[_0x1274ef(0x516)](_0x17c55a)),this[_0x1274ef(0x4db)]['send']({'cmd':W['INGEST'],'routeKey':_0x424496,'routeType':'','data':_0x17c55a});}catch(_0xf76be8){this[_0x1274ef(0x2e3)]['error'](_0xf76be8);}}[_0x497bf8(0x26a)](){var _0x3fdfa8=_0x497bf8,_0xbd5e0a;this[_0x3fdfa8(0x514)]=setTimeout(()=>{var _0x4f75a1=_0x3fdfa8;this['_collaborationTimeoutTimer']=null,this[_0x4f75a1(0x534)][_0x4f75a1(0x2e8)]({'id':J[_0x4f75a1(0x402)]});},(_0xbd5e0a=this[_0x3fdfa8(0x4d3)][_0x3fdfa8(0x33a)](ke))!=null?_0xbd5e0a:lt);}['_clearCollaborationTimeoutTimer'](){var _0x1570d6=_0x497bf8;this[_0x1570d6(0x514)]&&(clearTimeout(this[_0x1570d6(0x514)]),this[_0x1570d6(0x514)]=null);}[_0x497bf8(0x516)](_0x515559){var _0x3cb251=_0x497bf8;if(!this[_0x3cb251(0x2bc)])return;const {data:_0x3a3871}=_0x515559,{unitID:_0x1aa028,changeset:_0x45fe42}=_0x3a3871,{mutations:_0x383292,type:_0x52a531}=_0x45fe42;this[_0x3cb251(0x24c)]={'unitId':_0x1aa028,'type':_0x52a531,'startTime':performance[_0x3cb251(0x339)](),'stopTime':0x0,'duration':0x0,'size':Vt(_0x383292)};}[_0x497bf8(0x583)](){var _0x8c67e6=_0x497bf8;if(this['_shouldReportTelemetry']){if(!this[_0x8c67e6(0x24c)]){this[_0x8c67e6(0x2e3)][_0x8c67e6(0x536)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x8c67e6(0x24c)][_0x8c67e6(0x440)]=performance[_0x8c67e6(0x339)](),this[_0x8c67e6(0x24c)][_0x8c67e6(0x34c)]=this[_0x8c67e6(0x24c)][_0x8c67e6(0x440)]-this[_0x8c67e6(0x24c)][_0x8c67e6(0x358)],this[_0x8c67e6(0x36e)][_0x8c67e6(0x375)](Ft,this[_0x8c67e6(0x24c)]),this[_0x8c67e6(0x24c)]=null;}}[_0x497bf8(0x315)](){var _0x503f64=_0x497bf8;this[_0x503f64(0x24c)]=null;}},exports[_0x497bf8(0x3db)]=qt([ce(0x2,o[_0x497bf8(0x3a9)]),ce(0x3,o[_0x497bf8(0x30e)]),ce(0x4,o[_0x497bf8(0x3f5)](exports[_0x497bf8(0x4c2)])),ce(0x5,o['Inject']($e)),ce(0x6,o[_0x497bf8(0x3f5)](ee)),ce(0x7,o['Optional'](Nt[_0x497bf8(0x3f9)]))],exports['CollaborationSession']);const q=o[_0x497bf8(0x4b7)](_0x497bf8(0x2f4));function zt(_0xbfec4d){return'unit-cache-'+_0xbfec4d;}var Xt=Object['getOwnPropertyDescriptor'],Jt=(_0x51a101,_0x1159b9,_0x265c52,_0x5db0c9)=>{var _0x10dfe5=_0x497bf8;for(var _0x430ad9=_0x5db0c9>0x1?void 0x0:_0x5db0c9?Xt(_0x1159b9,_0x265c52):_0x1159b9,_0x1a13f6=_0x51a101[_0x10dfe5(0x2a5)]-0x1,_0x5d873a;_0x1a13f6>=0x0;_0x1a13f6--)(_0x5d873a=_0x51a101[_0x1a13f6])&&(_0x430ad9=_0x5d873a(_0x430ad9)||_0x430ad9);return _0x430ad9;},Ue=(_0x20c137,_0x46598a)=>(_0x111dcc,_0x478c05)=>_0x46598a(_0x111dcc,_0x478c05,_0x20c137);function Zt(_0x5960e5){var _0x5379b5=_0x497bf8;const {unitID:_0x40f7b5,mutations:_0x1148a2}=_0x5960e5;return{'unitId':_0x40f7b5,'subUnitId':_0x1148a2['length']>0x0?_0x1148a2[0x0][_0x5379b5(0x295)][_0x5379b5(0x39b)]:null};}exports[_0x497bf8(0x2b6)]=class{constructor(_0x10374f,_0x586708,_0x1c49c7){var _0x1b01da=_0x497bf8;this['_injector']=_0x10374f,this['_transformService']=_0x586708,this[_0x1b01da(0x21e)]=_0x1c49c7;}[_0x497bf8(0x386)](_0x17a44d){var _0x18d62c=_0x497bf8,_0x10a66a,_0x5c5e86,_0x3306c9,_0x5a85f9;const _0x5322b5=this[_0x18d62c(0x474)]['get'](Q[_0x18d62c(0x36b)]),{unitId:_0x4828a9,subUnitId:_0x34e2c4}=Zt(_0x17a44d),_0x594df0=_0x5322b5==null?void 0x0:_0x5322b5[_0x18d62c(0x450)](_0x4828a9)[_0x18d62c(0x389)](),_0x5ddf3c=(_0x5c5e86=(_0x10a66a=this[_0x18d62c(0x21e)]['getUnit'](_0x4828a9))==null?void 0x0:_0x10a66a[_0x18d62c(0x471)]())==null?void 0x0:_0x5c5e86['getSheetId']();if(_0x594df0['length']===0x0||!_0x4828a9||!_0x34e2c4)return;const _0x3949eb=[{'id':Q['SetSelectionsOperation']['id'],'params':{'unitId':_0x4828a9,'subUnitId':_0x5ddf3c,'selections':o['Tools'][_0x18d62c(0x423)](_0x594df0)}}],_0x1ead10=this['_transformService'][_0x18d62c(0x368)](_0x17a44d,_0x3949eb);if(!E[_0x18d62c(0x438)](_0x1ead10))throw _0x1ead10['error'];const _0x5b9aa1=(_0x5a85f9=(_0x3306c9=_0x1ead10[_0x18d62c(0x2f6)][0x0])==null?void 0x0:_0x3306c9[_0x18d62c(0x295)])==null?void 0x0:_0x5a85f9[_0x18d62c(0x419)];if(Array['isArray'](_0x5b9aa1)&&_0x5b9aa1[_0x18d62c(0x2a5)]){if(_0x5b9aa1[_0x18d62c(0x2a5)]===_0x3949eb[0x0][_0x18d62c(0x295)][_0x18d62c(0x419)][_0x18d62c(0x2a5)]&&_0x5b9aa1[_0x18d62c(0x323)]((_0x36245d,_0x44b302)=>o['Rectangle'][_0x18d62c(0x3eb)](_0x36245d[_0x18d62c(0x2b7)],_0x3949eb[0x0][_0x18d62c(0x295)][_0x18d62c(0x419)][_0x44b302][_0x18d62c(0x2b7)])))return;this[_0x18d62c(0x474)]['get'](o[_0x18d62c(0x453)])[_0x18d62c(0x4f1)](Q['SetSelectionsOperation']['id'],{'unitId':_0x4828a9,'subUnitId':_0x5ddf3c,'selections':_0x5b9aa1});}}},exports['SheetTransformSelectionsService']=Jt([Ue(0x0,o[_0x497bf8(0x3f5)](o[_0x497bf8(0x35e)])),Ue(0x1,E['ITransformService']),Ue(0x2,o['IUniverInstanceService'])],exports['SheetTransformSelectionsService']);const ve=o[_0x497bf8(0x4b7)](_0x497bf8(0x56e));var He=(_0x152c67=>(_0x152c67[_0x152c67[_0x497bf8(0x4af)]=0x0]=_0x497bf8(0x4af),_0x152c67[_0x152c67[_0x497bf8(0x258)]=0x1]='OTHER_CLIENTS_EDITING',_0x152c67))(He||{});const Y=_0x497bf8(0x2f8),Qt={};function ei(_0x3ca74b){var _0x535c1f=_0x497bf8,_0x228d2d;return!!((_0x228d2d=_0x3ca74b[_0x535c1f(0x295)])!=null&&_0x228d2d[_0x535c1f(0x3fd)]);}const ti=new Set([Q[_0x497bf8(0x4b9)]['id']]);function Ge(_0x4a1deb,_0x5e7b84,_0x7febfb,_0x4716cd,_0x4ebe8f){var _0xcac413=_0x497bf8,_0x253edf,_0x39626e,_0x5b344f,_0x31b901;const _0x135495=[];for(const _0x40ee0e of _0x4a1deb){if(ti[_0xcac413(0x26e)](_0x40ee0e['id'])){if(_0x135495['length']>0x0)break;_0x135495[_0xcac413(0x303)](_0x40ee0e);break;}if(ei(_0x40ee0e)){if(_0x135495['length']>0x0)break;_0x135495[_0xcac413(0x303)](_0x40ee0e);break;}_0x135495[_0xcac413(0x303)](_0x40ee0e);}const _0x462ce7=(_0x39626e=(_0x253edf=_0x4ebe8f[_0xcac413(0x33c)]())==null?void 0x0:_0x253edf[_0xcac413(0x4d6)])!=null?_0x39626e:_0xcac413(0x3ab),_0x46a3c3=(_0x31b901=(_0x5b344f=_0x4ebe8f[_0xcac413(0x33c)]())==null?void 0x0:_0x5b344f[_0xcac413(0x2b4)])!=null?_0x31b901:'unknown';return{'changeset':{'unitID':_0x5e7b84,'type':E[_0xcac413(0x2e5)](_0x7febfb['getUnitType'](_0x5e7b84)),'baseRev':_0x4716cd[_0xcac413(0x4ec)](_0x5e7b84),'revision':0x0,'userID':_0x462ce7,'memberID':_0x46a3c3,'mutations':_0x135495},'pendingMutations':_0x4a1deb[_0xcac413(0x44f)](_0x135495['length'])};}function ii(_0x3e56da,_0x11f9b,_0x5c0d2f,_0x215e42,_0x21f39a){var _0x34449b=_0x497bf8,_0x381a18,_0x20f9ad,_0x19216c,_0x40aaa3;const _0x2192f5=[_0x3e56da[_0x34449b(0x22e)]((_0x3e70e8,_0x4dace1)=>{var _0x4632d4=_0x34449b,_0x18ac53;const {id:_0x2e9fcb}=_0x3e70e8,{id:_0x119d88,type:_0x324056}=_0x4dace1,_0x5cd5c6=(_0x18ac53=_0x3e70e8[_0x4632d4(0x295)])!=null?_0x18ac53:{'actions':null},_0x16a7e6=_0x4dace1[_0x4632d4(0x295)];if(_0x2e9fcb&&_0x2e9fcb!==_0x119d88)throw new Error(_0x4632d4(0x588)+_0x2e9fcb+_0x4632d4(0x1fb)+_0x119d88+'.');return{..._0x3e70e8,'id':_0x119d88,'type':_0x324056,'params':{'unitId':_0x16a7e6[_0x4632d4(0x472)],'textRanges':_0x16a7e6['textRanges'],'actions':o['JSONX'][_0x4632d4(0x37c)](_0x5cd5c6[_0x4632d4(0x257)],_0x16a7e6[_0x4632d4(0x257)])}};},{})],_0x207d7f=(_0x20f9ad=(_0x381a18=_0x21f39a['getCurrentUser']())==null?void 0x0:_0x381a18[_0x34449b(0x4d6)])!=null?_0x20f9ad:_0x34449b(0x3ab),_0x3b4273=(_0x40aaa3=(_0x19216c=_0x21f39a['getCurrentUser']())==null?void 0x0:_0x19216c['memberID'])!=null?_0x40aaa3:'unknown';return{'changeset':{'unitID':_0x11f9b,'type':E[_0x34449b(0x2e5)](_0x5c0d2f[_0x34449b(0x21f)](_0x11f9b)),'baseRev':_0x215e42[_0x34449b(0x4ec)](_0x11f9b),'revision':0x0,'userID':_0x207d7f,'memberID':_0x3b4273,'mutations':_0x2192f5},'pendingMutations':[]};}function St(_0xb1b026,_0x47b02e){var _0xd821d0=_0x497bf8;const _0x22b0ac=new j[(_0xd821d0(0x25e))](0x1);return setTimeout(()=>_0x22b0ac[_0xd821d0(0x580)](_0x47b02e),_0xb1b026),_0x22b0ac[_0xd821d0(0x4d1)]()[_0xd821d0(0x4fa)](j[_0xd821d0(0x4f3)](0x1));}var ni=Object[_0x497bf8(0x4fe)],ae=(_0xcc01a0,_0x39a9c7,_0x566be5,_0x4718b9)=>{var _0x1d9fb2=_0x497bf8;for(var _0x42e618=_0x4718b9>0x1?void 0x0:_0x4718b9?ni(_0x39a9c7,_0x566be5):_0x39a9c7,_0x208e9a=_0xcc01a0[_0x1d9fb2(0x2a5)]-0x1,_0x5c54eb;_0x208e9a>=0x0;_0x208e9a--)(_0x5c54eb=_0xcc01a0[_0x208e9a])&&(_0x42e618=_0x5c54eb(_0x42e618)||_0x42e618);return _0x42e618;},L=(_0x341021,_0x4839c2)=>(_0x2b5600,_0x1aee95)=>_0x4839c2(_0x2b5600,_0x1aee95,_0x341021),je=(_0x89872a=>(_0x89872a[_0x497bf8(0x3a5)]=_0x497bf8(0x3e6),_0x89872a[_0x497bf8(0x264)]=_0x497bf8(0x4cb),_0x89872a['PENDING']=_0x497bf8(0x56d),_0x89872a[_0x497bf8(0x581)]=_0x497bf8(0x456),_0x89872a['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x89872a[_0x497bf8(0x267)]=_0x497bf8(0x201),_0x89872a['CONFLICT']='conflict',_0x89872a[_0x497bf8(0x2c3)]=_0x497bf8(0x219),_0x89872a))(je||{});const It=0x4e20,ft=0x2bf20;class oe{constructor(_0x626483,_0xaaf878,_0x14b515,_0x55454f,_0x380491,_0x1b21b5,_0x2ed44a,_0x57ac74,_0x199d95){var _0xc986ae=_0x497bf8;A(this,'_awaitingChangeset',null),A(this,_0xc986ae(0x40e),[]),(this[_0xc986ae(0x299)]=_0x626483,this[_0xc986ae(0x245)]=_0xaaf878,this[_0xc986ae(0x20e)]=_0x380491,this['_commandService']=_0x1b21b5,this['_undoRedoService']=_0x2ed44a,this[_0xc986ae(0x207)]=_0x57ac74,this['_localCacheService']=_0x199d95,this[_0xc986ae(0x457)]=_0x14b515,this['_pendingMutations']=_0x55454f);}[_0x497bf8(0x425)](_0x346190){var _0x530af4=_0x497bf8;const _0x22485f=this[_0x530af4(0x207)][_0x530af4(0x4ec)](this['unitID']);return _0x346190['revision']>_0x22485f+0x1?(this[_0x530af4(0x20e)][_0x530af4(0x54f)]({'from':_0x22485f,'to':_0x346190[_0x530af4(0x283)]-0x1}),!0x0):!0x1;}[_0x497bf8(0x318)](_0x5a3520){var _0x5961c8=_0x497bf8;this[_0x5961c8(0x463)][_0x5961c8(0x4e4)](this[_0x5961c8(0x299)],_0x5a3520);}[_0x497bf8(0x4e2)](_0x610d15){var _0x442c73=_0x497bf8,_0x9372d0,_0x4c3477;(_0x4c3477=(_0x9372d0=this[_0x442c73(0x20e)])['onTransformSelections'])==null||_0x4c3477[_0x442c73(0x55f)](_0x9372d0,_0x610d15);}[_0x497bf8(0x24d)](_0x5af83e){var _0x27f099=_0x497bf8,_0x4e3cf9,_0x1f6748;return(_0x1f6748=(_0x4e3cf9=this[_0x27f099(0x20e)])[_0x27f099(0x310)])==null?void 0x0:_0x1f6748[_0x27f099(0x55f)](_0x4e3cf9,_0x5af83e);}[_0x497bf8(0x329)](_0x39962e){var _0x416ee1=_0x497bf8,_0x494953,_0x659003;return(_0x659003=(_0x494953=this[_0x416ee1(0x20e)])[_0x416ee1(0x4f0)])==null?void 0x0:_0x659003['call'](_0x494953,_0x39962e);}[_0x497bf8(0x2af)](_0x2206f6){var _0x57554e=_0x497bf8,_0x4952d9,_0x50db52,_0x2cf0d5;return(_0x2cf0d5=(_0x50db52=(_0x4952d9=this['_handler'])[_0x57554e(0x52e)])==null?void 0x0:_0x50db52[_0x57554e(0x55f)](_0x4952d9,_0x2206f6))!=null?_0x2cf0d5:_0x2206f6;}[_0x497bf8(0x464)](_0x1b4ac6){var _0x35e91f=_0x497bf8,_0x2de6e7,_0x53d056,_0xce757a;return(_0xce757a=(_0x53d056=(_0x2de6e7=this[_0x35e91f(0x20e)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x53d056[_0x35e91f(0x55f)](_0x2de6e7,_0x1b4ac6))!=null?_0xce757a:_0x1b4ac6;}[_0x497bf8(0x564)](_0x4e888b){var _0x4256e0=_0x497bf8,_0x46e948,_0x5308a7;if(this[_0x4256e0(0x245)]===X[_0x4256e0(0x541)]){const {unitID:_0x13390c,mutations:_0x3f5736,memberID:_0x2b25db}=_0x4e888b,_0xc7d81c=_0x3f5736['length']>0x0?_0x3f5736[0x0][_0x4256e0(0x295)][_0x4256e0(0x41b)]:[];Array[_0x4256e0(0x50b)](_0xc7d81c)&&_0xc7d81c[_0x4256e0(0x2a5)]>0x0&&((_0x5308a7=(_0x46e948=this[_0x4256e0(0x20e)])[_0x4256e0(0x38a)])==null||_0x5308a7[_0x4256e0(0x55f)](_0x46e948,{'unitID':_0x13390c,'memberID':_0x2b25db,'textRanges':_0xc7d81c}));}}[_0x497bf8(0x327)](){var _0x9a30e4=_0x497bf8,_0x2e1bfc;(_0x2e1bfc=this['_localCacheService'])==null||_0x2e1bfc[_0x9a30e4(0x238)](this[_0x9a30e4(0x299)],this['type'],this['_awaitingChangeset'],this[_0x9a30e4(0x40e)]);}['_getCurrentRevision'](){var _0x22f389=_0x497bf8;return this[_0x22f389(0x207)]['getCurrentRevOfUnit'](this[_0x22f389(0x299)]);}['_incrementRevisionNumber'](){var _0x43b3e1=_0x497bf8;this[_0x43b3e1(0x207)]['incrementRevOfUnit'](this[_0x43b3e1(0x299)]);}['_executeRemoteChangeset'](_0x20ca51){var _0x6de1aa=_0x497bf8,_0x128dec;let _0x50a80a=this[_0x6de1aa(0x2af)](_0x20ca51);_0x50a80a=this[_0x6de1aa(0x464)](_0x50a80a);const _0xc92c4e=o[_0x6de1aa(0x405)](_0x50a80a['mutations'],this[_0x6de1aa(0x2cc)],{'fromCollab':!0x0});if(!_0xc92c4e['result'])throw _0xc92c4e[_0x6de1aa(0x536)]instanceof Error?_0xc92c4e['error']:new Error((_0x128dec=_0xc92c4e[_0x6de1aa(0x536)])!=null?_0x128dec:_0x6de1aa(0x341));this[_0x6de1aa(0x24d)](_0x50a80a),this['_transformStateCache'](_0x50a80a),this[_0x6de1aa(0x318)](_0x20ca51),this['_transformSelections'](_0x50a80a),this[_0x6de1aa(0x564)](_0x50a80a),this[_0x6de1aa(0x300)]();}}exports[_0x497bf8(0x203)]=class extends oe{constructor(_0x2d62ae,_0x593205,_0x58c36a,_0x4a950a,_0x197cb8,_0x3121a0,_0x1084f0,_0x33adcf,_0x342f5f,_0x3ca1a9){var _0x18a3be=_0x497bf8;super(_0x2d62ae,_0x593205,null,[],_0x58c36a,_0x1084f0,_0x3121a0,_0x4a950a,_0x3ca1a9),A(this,_0x18a3be(0x3e5),'synced'),(this[_0x18a3be(0x474)]=_0x197cb8,this[_0x18a3be(0x2e3)]=_0x33adcf,this[_0x18a3be(0x320)]=_0x342f5f,this[_0x18a3be(0x31e)]=_0x3ca1a9);}[_0x497bf8(0x442)](_0x31f14a){var _0x292246=_0x497bf8;const _0x1f873c=this[_0x292246(0x474)][_0x292246(0x20a)](exports[_0x292246(0x4b8)],this['unitID'],this[_0x292246(0x245)],[_0x31f14a],this[_0x292246(0x20e)]);return _0x1f873c[_0x292246(0x4fd)](),_0x1f873c[_0x292246(0x327)](),_0x1f873c;}[_0x497bf8(0x431)](_0x30f1f8){var _0x10f8ad=_0x497bf8;if(this[_0x10f8ad(0x425)](_0x30f1f8))return this[_0x10f8ad(0x474)][_0x10f8ad(0x20a)](exports['FetchingMissState'],this[_0x10f8ad(0x299)],this[_0x10f8ad(0x245)],null,[],null,[_0x30f1f8],this[_0x10f8ad(0x20e)]);try{const _0x8c18d8=this[_0x10f8ad(0x320)][_0x10f8ad(0x368)](_0x30f1f8,[E[_0x10f8ad(0x428)]]);if(E[_0x10f8ad(0x438)](_0x8c18d8)){const {c1Prime:_0x14cde1}=_0x8c18d8;return this[_0x10f8ad(0x289)](_0x14cde1),this;}throw _0x8c18d8['error'];}catch(_0x27581f){return this[_0x10f8ad(0x2e3)][_0x10f8ad(0x536)](_0x27581f),this[_0x10f8ad(0x352)](!0x1);}}['_onConflict'](_0x5aa1b6){var _0x1f220c=_0x497bf8;return this[_0x1f220c(0x474)][_0x1f220c(0x20a)](exports[_0x1f220c(0x551)],this[_0x1f220c(0x299)],this[_0x1f220c(0x245)],null,[],this['_handler'],_0x5aa1b6);}['onRemoteAck'](){var _0x8afbe6=_0x497bf8;throw new Error(_0x8afbe6(0x4fc));}[_0x497bf8(0x55a)](){var _0x13f0c7=_0x497bf8;throw new Error(_0x13f0c7(0x485));}[_0x497bf8(0x543)](){return this;}[_0x497bf8(0x432)](){var _0x5cd959=_0x497bf8;return this[_0x5cd959(0x474)][_0x5cd959(0x20a)](exports['OfflineState'],this[_0x5cd959(0x299)],this[_0x5cd959(0x245)],null,[],this[_0x5cd959(0x20e)]);}[_0x497bf8(0x32d)](){return this;}[_0x497bf8(0x4fb)](){var _0x36630f=_0x497bf8;throw new Error(_0x36630f(0x45c));}['fetchMiss'](){var _0x4d8a04=_0x497bf8;const _0x3b7e2f=this[_0x4d8a04(0x207)]['getCurrentRevOfUnit'](this[_0x4d8a04(0x299)]);return this[_0x4d8a04(0x20e)][_0x4d8a04(0x54f)]({'from':_0x3b7e2f,'to':0x0}),this[_0x4d8a04(0x474)][_0x4d8a04(0x20a)](exports[_0x4d8a04(0x3b9)],this[_0x4d8a04(0x299)],this['type'],null,[],null,[],this['_handler']);}},exports[_0x497bf8(0x203)]=ae([L(0x3,o['Inject'](E['RevisionService'])),L(0x4,o['Inject'](o[_0x497bf8(0x35e)])),L(0x5,o['IUndoRedoService']),L(0x6,o[_0x497bf8(0x453)]),L(0x7,o['ILogService']),L(0x8,E['ITransformService']),L(0x9,o['Optional'](q))],exports[_0x497bf8(0x203)]),exports[_0x497bf8(0x4b8)]=class extends oe{constructor(_0x3341fc,_0x44b5e8,_0x15a31d,_0x5505c6,_0x2add7d,_0x12671d,_0xcbad5b,_0x48e89e,_0x2ad19f,_0x14fcd0,_0xdc6c71,_0x169877,_0x2eea66,_0x2dea41){var _0x2932d1=_0x497bf8;super(_0x3341fc,_0x44b5e8,null,_0x15a31d,_0x5505c6,_0x2ad19f,_0x2eea66,_0x12671d,_0x2dea41),A(this,_0x2932d1(0x3e5),_0x2932d1(0x56d)),A(this,'_scheduleCompleteTimestamp',null),A(this,_0x2932d1(0x52c),null),(this[_0x2932d1(0x474)]=_0x2add7d,this['_memberService']=_0xcbad5b,this[_0x2932d1(0x2e3)]=_0x48e89e,this[_0x2932d1(0x4d3)]=_0x14fcd0,this[_0x2932d1(0x320)]=_0xdc6c71,this[_0x2932d1(0x301)]=_0x169877);}[_0x497bf8(0x442)](_0x2c1646){var _0x412c13=_0x497bf8;return this['_pendingMutations'][_0x412c13(0x303)](_0x2c1646),this['_updateLocalCache'](),this;}[_0x497bf8(0x431)](_0x9da00b){var _0x3959b8=_0x497bf8;if(this[_0x3959b8(0x425)](_0x9da00b))return this['_clearScheduledTask'](),this['_injector'][_0x3959b8(0x20a)](exports[_0x3959b8(0x3b9)],this[_0x3959b8(0x299)],this['type'],null,this[_0x3959b8(0x40e)],null,[_0x9da00b],this[_0x3959b8(0x20e)]);try{const _0x24e528=this[_0x3959b8(0x320)]['transformMutationsWithChangeset'](_0x9da00b,this[_0x3959b8(0x40e)]);if(E[_0x3959b8(0x438)](_0x24e528)){const {c1Prime:_0x323b33,m2Prime:_0x223413}=_0x24e528;this[_0x3959b8(0x289)](_0x323b33);const _0x223af5=this['_injector'][_0x3959b8(0x20a)](exports[_0x3959b8(0x4b8)],this[_0x3959b8(0x299)],this[_0x3959b8(0x245)],_0x223413,this[_0x3959b8(0x20e)]);this['_clearScheduledTask']();const _0x356849=new Date()[_0x3959b8(0x30f)](),_0xa95f69=this[_0x3959b8(0x381)]?Math[_0x3959b8(0x2ca)](this['_scheduleCompleteTimestamp']-_0x356849,0x0):this[_0x3959b8(0x449)]();return _0x223af5['_schedule'](_0xa95f69),_0x223af5;}throw _0x24e528['error'];}catch(_0x8abf9f){return this[_0x3959b8(0x2e3)]['error'](_0x8abf9f),this[_0x3959b8(0x352)](!0x1);}}['onRemoteAck'](){var _0x46fb42=_0x497bf8;throw new Error(_0x46fb42(0x4ca));}['onRemoteRej'](){var _0x8f1e35=_0x497bf8;throw new Error(_0x8f1e35(0x561));}[_0x497bf8(0x543)](){return this;}['toggleOffline'](){var _0x18c5fd=_0x497bf8;return this[_0x18c5fd(0x331)](),this[_0x18c5fd(0x474)][_0x18c5fd(0x20a)](exports['OfflineState'],this['unitID'],this[_0x18c5fd(0x245)],null,this[_0x18c5fd(0x40e)],this['_handler']);}[_0x497bf8(0x32d)](){return this;}[_0x497bf8(0x4fd)](_0x21b6b4){var _0x4e2da2=_0x497bf8;const _0x16d4bf=_0x21b6b4!=null?_0x21b6b4:this[_0x4e2da2(0x449)]();this[_0x4e2da2(0x381)]=new Date()[_0x4e2da2(0x30f)]()+_0x16d4bf,this['_sendingTimer']=setTimeout(()=>{var _0x371554=_0x4e2da2;this[_0x371554(0x331)]();let _0x5dced0=null;switch(this[_0x371554(0x245)]){case X[_0x371554(0x2ff)]:{_0x5dced0=Ge(this[_0x371554(0x40e)],this['unitID'],this[_0x371554(0x301)],this['_revisionService'],this['_memberService']);break;}case X[_0x371554(0x541)]:{this[_0x371554(0x40e)]['every'](_0x4084d2=>_0x4084d2['id']===ct[_0x371554(0x377)]['id'])?_0x5dced0=ii(this[_0x371554(0x40e)],this['unitID'],this[_0x371554(0x301)],this[_0x371554(0x207)],this[_0x371554(0x2cd)]):_0x5dced0=Ge(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x371554(0x207)],this[_0x371554(0x2cd)]);break;}default:throw new Error(_0x371554(0x448)+this[_0x371554(0x245)]+_0x371554(0x2ed));}const {changeset:_0x1e52f2,pendingMutations:_0x4d12d9}=_0x5dced0;this[_0x371554(0x20e)]['onSendChangeset'](_0x1e52f2);const _0x4c6bc4=_0x4d12d9[_0x371554(0x2a5)]?this[_0x371554(0x474)][_0x371554(0x20a)](exports['AwaitingWithPendingState'],this[_0x371554(0x299)],this[_0x371554(0x245)],_0x1e52f2,_0x4d12d9,this[_0x371554(0x20e)],void 0x0):this[_0x371554(0x474)][_0x371554(0x20a)](exports[_0x371554(0x554)],this['unitID'],this[_0x371554(0x245)],_0x1e52f2,this[_0x371554(0x20e)]);_0x4c6bc4[_0x371554(0x327)](),this[_0x371554(0x20e)]['onStateChange'](this,_0x4c6bc4);},_0x16d4bf);}[_0x497bf8(0x449)](){var _0x45d80a=_0x497bf8,_0x1b6cad;const _0x572924=this[_0x45d80a(0x4d3)][_0x45d80a(0x33a)](Y);return(_0x1b6cad=_0x572924==null?void 0x0:_0x572924[_0x45d80a(0x508)])!=null?_0x1b6cad:At;}[_0x497bf8(0x4fb)](){var _0x4c1669=_0x497bf8;throw new Error(_0x4c1669(0x3f8));}[_0x497bf8(0x331)](){var _0x3c7166=_0x497bf8;this[_0x3c7166(0x52c)]!=null&&(clearTimeout(this[_0x3c7166(0x52c)]),this[_0x3c7166(0x52c)]=null);}[_0x497bf8(0x352)](_0x550e25){var _0x9328d3=_0x497bf8;return this[_0x9328d3(0x331)](),this[_0x9328d3(0x474)]['createInstance'](exports[_0x9328d3(0x551)],this[_0x9328d3(0x299)],this[_0x9328d3(0x245)],null,this['_pendingMutations'],this[_0x9328d3(0x20e)],_0x550e25);}},exports[_0x497bf8(0x4b8)]=ae([L(0x4,o['Inject'](o['Injector'])),L(0x5,o['Inject'](E[_0x497bf8(0x378)])),L(0x6,o['Inject'](exports[_0x497bf8(0x4c2)])),L(0x7,o[_0x497bf8(0x3a9)]),L(0x8,o[_0x497bf8(0x453)]),L(0x9,o[_0x497bf8(0x30e)]),L(0xa,E['ITransformService']),L(0xb,o[_0x497bf8(0x200)]),L(0xc,o[_0x497bf8(0x53b)]),L(0xd,o['Optional'](q))],exports[_0x497bf8(0x4b8)]),exports[_0x497bf8(0x554)]=class extends oe{constructor(_0x5d71fc,_0x3c90e7,_0x5bab46,_0x30644d,_0x188498,_0x5e9b25,_0x1de26a,_0x5859c0,_0x3c40f4,_0x5b4207,_0x4260e2){var _0x53da3b=_0x497bf8;super(_0x5d71fc,_0x3c90e7,_0x5bab46,[],_0x30644d,_0x1de26a,_0x5b4207,_0x5e9b25,_0x4260e2),A(this,_0x53da3b(0x3e5),_0x53da3b(0x456)),A(this,'_resendTimeout',0x0),A(this,_0x53da3b(0x3d0),0x0),A(this,'_resendTimer'),A(this,'_sender'),(this[_0x53da3b(0x474)]=_0x188498,this[_0x53da3b(0x2e3)]=_0x5859c0,this[_0x53da3b(0x320)]=_0x3c40f4);}[_0x497bf8(0x442)](_0x2b6cab){var _0x58356c=_0x497bf8;this[_0x58356c(0x331)]();const _0x431ba4=this[_0x58356c(0x474)]['createInstance'](exports[_0x58356c(0x20c)],this[_0x58356c(0x299)],this['type'],this['_awaitingChangeset'],[_0x2b6cab],this['_handler'],this[_0x58356c(0x4e0)]);return _0x431ba4[_0x58356c(0x327)](),_0x431ba4;}[_0x497bf8(0x431)](_0x52b91c){var _0x238d58=_0x497bf8;if(this['_checkMissing'](_0x52b91c))return this['_clearScheduledTask'](),this[_0x238d58(0x474)]['createInstance'](exports[_0x238d58(0x3b9)],this[_0x238d58(0x299)],this[_0x238d58(0x245)],this[_0x238d58(0x457)],[],null,[_0x52b91c],this[_0x238d58(0x20e)]);try{const _0x499a17=this[_0x238d58(0x320)][_0x238d58(0x343)]([_0x52b91c],[this[_0x238d58(0x457)]],!0x1);if(E[_0x238d58(0x47f)](_0x499a17)){const {c1Prime:_0x60b52a,c2Prime:_0x2c25d9}=_0x499a17;this['_executeRemoteChangeset'](_0x60b52a[0x0]),_0x2c25d9[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x238d58(0x331)]();const _0x683969=this['_injector'][_0x238d58(0x20a)](exports['AwaitingState'],this[_0x238d58(0x299)],this['type'],_0x2c25d9[0x0],this['_handler']);return _0x683969['_updateLocalCache'](),_0x683969;}return this[_0x238d58(0x352)](!0x1);}catch(_0x220386){return this['_logService'][_0x238d58(0x536)](_0x220386),this[_0x238d58(0x352)](!0x1);}}[_0x497bf8(0x470)](_0x279a34){var _0x10d973=_0x497bf8;this[_0x10d973(0x331)]();const _0x1ab567=this[_0x10d973(0x207)]['getCurrentRevOfUnit'](this[_0x10d973(0x299)]);if(_0x279a34[_0x10d973(0x283)]<_0x1ab567-0x1)return this;if(this[_0x10d973(0x425)](_0x279a34))return this[_0x10d973(0x474)][_0x10d973(0x20a)](exports['FetchingMissState'],this['unitID'],this['type'],null,[],this[_0x10d973(0x457)],[],this[_0x10d973(0x20e)]);this[_0x10d973(0x300)]();const _0x16c96a=this[_0x10d973(0x474)][_0x10d973(0x20a)](exports[_0x10d973(0x203)],this[_0x10d973(0x299)],this[_0x10d973(0x245)],this[_0x10d973(0x20e)]);return _0x16c96a[_0x10d973(0x327)](),_0x16c96a;}['onRemoteRej'](_0x3801b6){var _0x47bd14=_0x497bf8;return this[_0x47bd14(0x352)](!!(_0x3801b6!=null&&_0x3801b6[_0x47bd14(0x4ce)]));}[_0x497bf8(0x543)](_0x4d343b){var _0x50bc09=_0x497bf8;return this[_0x50bc09(0x3d0)]>ft?this[_0x50bc09(0x432)]():(this[_0x50bc09(0x4e0)]=St(this[_0x50bc09(0x404)],{'timeout':this[_0x50bc09(0x404)],'reqId':_0x4d343b[_0x50bc09(0x2b3)]}),this[_0x50bc09(0x268)]=this[_0x50bc09(0x4e0)][_0x50bc09(0x441)](({reqId:_0x3e538a,timeout:_0x3dcdfe})=>{this['_resendWithTimeout'](_0x3e538a,_0x3dcdfe);}),this);}[_0x497bf8(0x432)](){var _0x2dc9de=_0x497bf8;return this[_0x2dc9de(0x331)](),this[_0x2dc9de(0x474)][_0x2dc9de(0x20a)](exports[_0x2dc9de(0x532)],this[_0x2dc9de(0x299)],this['type'],this[_0x2dc9de(0x457)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x497bf8(0x4fb)](){var _0x265118=_0x497bf8;this[_0x265118(0x20e)][_0x265118(0x2fc)](this[_0x265118(0x457)]);}[_0x497bf8(0x352)](_0x1d9557){var _0x24b216=_0x497bf8;return this[_0x24b216(0x331)](),this[_0x24b216(0x474)][_0x24b216(0x20a)](exports[_0x24b216(0x551)],this['unitID'],this['type'],this['_awaitingChangeset'],[],this['_handler'],_0x1d9557);}[_0x497bf8(0x418)](_0x88fe6a,_0x537ecb){var _0x1dc14e=_0x497bf8,_0x7c6506;_0x88fe6a===((_0x7c6506=this[_0x1dc14e(0x457)])==null?void 0x0:_0x7c6506[_0x1dc14e(0x2b3)])&&(this['resend'](),this[_0x1dc14e(0x404)]=_0x537ecb===0x0?0x3e8:Math[_0x1dc14e(0x517)](_0x537ecb*0x2,It),this[_0x1dc14e(0x3d0)]+=this[_0x1dc14e(0x404)]);}[_0x497bf8(0x331)](){var _0x14197c=_0x497bf8,_0x416ca3;(_0x416ca3=this[_0x14197c(0x268)])==null||_0x416ca3[_0x14197c(0x44a)](),this[_0x14197c(0x404)]=0x0,this['_maxTotalRetryTimeout']=0x0;}},exports[_0x497bf8(0x554)]=ae([L(0x4,o['Inject'](o[_0x497bf8(0x35e)])),L(0x5,o[_0x497bf8(0x3f5)](E[_0x497bf8(0x378)])),L(0x6,o[_0x497bf8(0x453)]),L(0x7,o['ILogService']),L(0x8,E[_0x497bf8(0x503)]),L(0x9,o[_0x497bf8(0x53b)]),L(0xa,o['Optional'](q))],exports[_0x497bf8(0x554)]),exports[_0x497bf8(0x20c)]=class extends oe{constructor(_0x4984c5,_0x140dbc,_0x556d4d,_0x7b01dc,_0x41fc50,_0x460137,_0x5ca07b,_0x5b3fc4,_0xac09f4,_0x379d6f,_0x132fc0,_0x2b8488,_0x53eb7b){var _0x12c912=_0x497bf8;super(_0x4984c5,_0x140dbc,_0x556d4d,_0x7b01dc,_0x41fc50,_0xac09f4,_0x2b8488,_0x5b3fc4,_0x53eb7b),A(this,'status',_0x12c912(0x35a)),A(this,_0x12c912(0x404),0x0),A(this,'_maxTotalRetryTimeout',0x0),A(this,_0x12c912(0x4e0)),A(this,_0x12c912(0x268)),(this['_injector']=_0x5ca07b,this['_logService']=_0x379d6f,this[_0x12c912(0x320)]=_0x132fc0,this['localCacheService']=_0x53eb7b,_0x460137&&(this[_0x12c912(0x4e0)]=_0x460137,this[_0x12c912(0x268)]=this[_0x12c912(0x4e0)][_0x12c912(0x441)](({reqId:_0xa35ed4,timeout:_0x39c919})=>{this['_resendWithTimeout'](_0xa35ed4,_0x39c919);})));}[_0x497bf8(0x442)](_0x3ae6dd){var _0x4f5dce=_0x497bf8;return this[_0x4f5dce(0x40e)][_0x4f5dce(0x303)](_0x3ae6dd),this;}[_0x497bf8(0x431)](_0x5199c4){var _0x2ed558=_0x497bf8;if(this[_0x2ed558(0x425)](_0x5199c4))return this[_0x2ed558(0x331)](),this[_0x2ed558(0x474)][_0x2ed558(0x20a)](exports['FetchingMissState'],this[_0x2ed558(0x299)],this[_0x2ed558(0x245)],this[_0x2ed558(0x457)],this[_0x2ed558(0x40e)],null,[_0x5199c4],this[_0x2ed558(0x20e)]);try{const _0x35834d=this['_transformService'][_0x2ed558(0x343)]([_0x5199c4],[this[_0x2ed558(0x457)]],!0x1);if(E['isTransformChangesetsSuccess'](_0x35834d)){const {c1Prime:_0x3c6498,c2Prime:_0x360401}=_0x35834d,_0x1d47aa=this['_transformService'][_0x2ed558(0x368)](_0x3c6498[0x0],this[_0x2ed558(0x40e)]);if(E[_0x2ed558(0x438)](_0x1d47aa)){const {c1Prime:_0x4fe83c,m2Prime:_0x43be1a}=_0x1d47aa;return this[_0x2ed558(0x289)](_0x4fe83c),_0x360401[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x2ed558(0x331)](),this['_injector']['createInstance'](exports['AwaitingWithPendingState'],this[_0x2ed558(0x299)],this[_0x2ed558(0x245)],_0x360401[0x0],_0x43be1a,this['_handler'],void 0x0);}throw _0x1d47aa['error'];}throw _0x35834d[_0x2ed558(0x536)];}catch(_0x2e7471){return this['_logService'][_0x2ed558(0x536)](_0x2e7471),this[_0x2ed558(0x352)](!0x1);}}[_0x497bf8(0x470)](_0x2714f8){var _0x19715f=_0x497bf8;if(this[_0x19715f(0x331)](),this['_checkMissing'](_0x2714f8))return this[_0x19715f(0x474)]['createInstance'](exports[_0x19715f(0x3b9)],this[_0x19715f(0x299)],this[_0x19715f(0x245)],null,this[_0x19715f(0x40e)],this[_0x19715f(0x457)],[],this['_handler']);this[_0x19715f(0x300)]();const _0x1387b7=this[_0x19715f(0x474)][_0x19715f(0x20a)](exports['PendingState'],this[_0x19715f(0x299)],this['type'],this['_pendingMutations'],this['_handler']);return _0x1387b7[_0x19715f(0x4fd)](),_0x1387b7[_0x19715f(0x327)](),_0x1387b7;}[_0x497bf8(0x55a)](_0x45ff13){var _0x32a4d3=_0x497bf8;return this['_onConflict'](!!(_0x45ff13!=null&&_0x45ff13[_0x32a4d3(0x4ce)]));}[_0x497bf8(0x543)](_0x1cbd3a){var _0x3b12e9=_0x497bf8;return this[_0x3b12e9(0x3d0)]>ft?this['toggleOffline']():(this['_resendTimer']=St(this[_0x3b12e9(0x404)],{'timeout':this['_resendTimeout'],'reqId':_0x1cbd3a[_0x3b12e9(0x2b3)]}),this['_sender']=this['_resendTimer'][_0x3b12e9(0x441)](({reqId:_0x1a3776,timeout:_0x273fe2})=>{this['_resendWithTimeout'](_0x1a3776,_0x273fe2);}),this);}['toggleOffline'](){var _0x512598=_0x497bf8;return this[_0x512598(0x331)](),this['_injector']['createInstance'](exports['OfflineState'],this[_0x512598(0x299)],this[_0x512598(0x245)],this['_awaitingChangeset'],this[_0x512598(0x40e)],this['_handler']);}[_0x497bf8(0x32d)](){return this;}['resend'](){var _0x1ebc79=_0x497bf8;this[_0x1ebc79(0x20e)]['onSendChangeset'](this[_0x1ebc79(0x457)]);}[_0x497bf8(0x352)](_0x464c85){var _0x9a82a5=_0x497bf8;return this[_0x9a82a5(0x331)](),this[_0x9a82a5(0x474)][_0x9a82a5(0x20a)](exports[_0x9a82a5(0x551)],this['unitID'],this[_0x9a82a5(0x245)],null,this[_0x9a82a5(0x40e)],this['_handler'],_0x464c85);}['_resendWithTimeout'](_0x6d7fd4,_0x5c7fa5){var _0x30183c=_0x497bf8,_0x46dae1;_0x6d7fd4===((_0x46dae1=this[_0x30183c(0x457)])==null?void 0x0:_0x46dae1['reqId'])&&(this[_0x30183c(0x4fb)](),this[_0x30183c(0x404)]=_0x5c7fa5===0x0?0x3e8:Math[_0x30183c(0x517)](_0x5c7fa5*0x2,It),this[_0x30183c(0x3d0)]+=this[_0x30183c(0x404)]);}[_0x497bf8(0x331)](){var _0x4c316e=_0x497bf8,_0x154f0e;(_0x154f0e=this[_0x4c316e(0x268)])==null||_0x154f0e[_0x4c316e(0x44a)](),this[_0x4c316e(0x404)]=0x0,this[_0x4c316e(0x3d0)]=0x0;}},exports[_0x497bf8(0x20c)]=ae([L(0x6,o[_0x497bf8(0x3f5)](o['Injector'])),L(0x7,o[_0x497bf8(0x3f5)](E['RevisionService'])),L(0x8,o[_0x497bf8(0x453)]),L(0x9,o[_0x497bf8(0x3a9)]),L(0xa,E[_0x497bf8(0x503)]),L(0xb,o['IUndoRedoService']),L(0xc,o[_0x497bf8(0x382)](q))],exports[_0x497bf8(0x20c)]),exports[_0x497bf8(0x551)]=class extends oe{constructor(_0x18e34b,_0x4286ea,_0x346871,_0x314fe9,_0x1e29fa,_0x3cb4f6=!0x1,_0xc768aa,_0x5281b3,_0x2e3bf5,_0x3f3654,_0x3ea923,_0x596d8a,_0x51c762){var _0x277f8d=_0x497bf8;super(_0x18e34b,_0x4286ea,_0x346871,_0x314fe9,_0x1e29fa,_0x5281b3,_0x2e3bf5,_0x3f3654,_0x51c762),A(this,_0x277f8d(0x3e5),_0x277f8d(0x4eb)),(this[_0x277f8d(0x3cb)]=_0x3cb4f6,this[_0x277f8d(0x427)]=_0xc768aa,this[_0x277f8d(0x25f)]=_0x3ea923,this['_collaborationUIEventService']=_0x596d8a,this[_0x277f8d(0x31e)]=_0x51c762,this[_0x277f8d(0x27c)](),this[_0x277f8d(0x348)](),this['_disableEditing']());}[_0x497bf8(0x442)](){return this;}[_0x497bf8(0x431)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x497bf8(0x543)](){return this;}[_0x497bf8(0x432)](){return this;}['toggleOnline'](){return this;}[_0x497bf8(0x4fb)](){var _0x5d8751=_0x497bf8;throw new Error(_0x5d8751(0x3c4));}[_0x497bf8(0x348)](){var _0x3aa9b4=_0x497bf8,_0x4f8ae9;(_0x4f8ae9=this[_0x3aa9b4(0x21d)])==null||_0x4f8ae9[_0x3aa9b4(0x238)](this[_0x3aa9b4(0x299)],this['type'],null,[]);}['_showConflictNotification'](){var _0x2b5334=_0x497bf8;this[_0x2b5334(0x3cb)]?this[_0x2b5334(0x534)][_0x2b5334(0x2e8)]({'id':J['PERMISSION_DENIED']}):this[_0x2b5334(0x534)][_0x2b5334(0x2e8)]({'id':J['CONFLICT']});}['_disableEditing'](){var _0x316f37=_0x497bf8;this['_permissionService'][_0x316f37(0x50a)](new Q[(_0x316f37(0x2bb))](this[_0x316f37(0x299)])['id'],!0x1);}},exports[_0x497bf8(0x551)]=ae([L(0x6,o['Inject'](o[_0x497bf8(0x39a)])),L(0x7,o[_0x497bf8(0x453)]),L(0x8,o[_0x497bf8(0x53b)]),L(0x9,o[_0x497bf8(0x3f5)](E[_0x497bf8(0x378)])),L(0xa,o['Inject'](o[_0x497bf8(0x29f)])),L(0xb,o['Inject'](ee)),L(0xc,o['Optional'](q))],exports[_0x497bf8(0x551)]),exports[_0x497bf8(0x532)]=class extends oe{constructor(_0x7c3eab,_0x928257,_0x4c577b,_0x3a634f,_0x486b1d,_0x3cbc57,_0x53f41b,_0xa1a314,_0x32ca33,_0x144760){var _0x343bf0=_0x497bf8;super(_0x7c3eab,_0x928257,_0x4c577b,_0x3a634f,_0x486b1d,_0xa1a314,_0x32ca33,_0x53f41b,_0x144760),A(this,_0x343bf0(0x3e5),_0x343bf0(0x219)),this[_0x343bf0(0x474)]=_0x3cbc57;}[_0x497bf8(0x442)](_0x36ec96){var _0x1dcc17=_0x497bf8;return this[_0x1dcc17(0x40e)][_0x1dcc17(0x303)](_0x36ec96),this[_0x1dcc17(0x327)](),this;}['onRemoteChangeset'](_0x33469e){var _0x5be67e=_0x497bf8;throw new Error(_0x5be67e(0x31c));}['onRemoteAck'](){var _0x45aed7=_0x497bf8;throw new Error(_0x45aed7(0x524));}[_0x497bf8(0x55a)](){var _0x495ffa=_0x497bf8;throw new Error(_0x495ffa(0x1fd));}[_0x497bf8(0x543)](){return this;}[_0x497bf8(0x432)](){return this;}[_0x497bf8(0x32d)](){var _0x5a560a=_0x497bf8;const {_injector:_0x12839a,_pendingMutations:_0x71cad0,_awaitingChangeset:_0x2af0b3,unitID:_0x9bdca9,_handler:_0xa8b125,type:_0x4d236d}=this,_0x507753=Et(_0x12839a,_0x9bdca9,_0x4d236d,_0x2af0b3,_0x71cad0,_0xa8b125);return _0x507753 instanceof exports['PendingState']?_0x507753['_schedule']():(_0x507753 instanceof exports[_0x5a560a(0x20c)]||_0x507753 instanceof exports[_0x5a560a(0x554)])&&_0x507753[_0x5a560a(0x4fb)](),_0x507753;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports[_0x497bf8(0x532)]=ae([L(0x5,o[_0x497bf8(0x3f5)](o[_0x497bf8(0x35e)])),L(0x6,o['Inject'](E[_0x497bf8(0x378)])),L(0x7,o['ICommandService']),L(0x8,o[_0x497bf8(0x53b)]),L(0x9,o['Optional'](q))],exports[_0x497bf8(0x532)]),exports[_0x497bf8(0x3b9)]=class extends oe{constructor(_0x153cca,_0x40cd4a,_0x320f24,_0x5ea389,_0xa8fa0d,_0x4676a4,_0x38ba0d,_0x338efd,_0x515499,_0x320156,_0x3bf0c4,_0x2b2a7c,_0x48ca35,_0x20a832){var _0x424bb8=_0x497bf8;super(_0x153cca,_0x40cd4a,_0x320f24,_0x5ea389,_0x38ba0d,_0x3bf0c4,_0x2b2a7c,_0x515499,_0x20a832),A(this,_0x424bb8(0x3e5),_0x424bb8(0x201)),(this[_0x424bb8(0x44e)]=_0xa8fa0d,this['_queuedRemoteChangesets']=_0x4676a4,this['_injector']=_0x338efd,this[_0x424bb8(0x2e3)]=_0x320156,this[_0x424bb8(0x320)]=_0x48ca35,this[_0x424bb8(0x31e)]=_0x20a832);}['onMissedChangesetFetched'](_0xcc14fd){var _0x27f234=_0x497bf8;try{const _0x5c3f85=[..._0xcc14fd,...this[_0x27f234(0x437)]],_0xb3d6b9=[this[_0x27f234(0x457)]||this['_acknowledgedAwaitingChangeset']][_0x27f234(0x545)](_0x56de19=>!!_0x56de19);let _0x965d23,_0x2c326f;if(_0xb3d6b9[_0x27f234(0x2a5)]){const _0x3e6eaf=this[_0x27f234(0x320)][_0x27f234(0x343)](_0x5c3f85,_0xb3d6b9,!0x1);if(!E[_0x27f234(0x47f)](_0x3e6eaf))throw _0x3e6eaf[_0x27f234(0x536)];_0x965d23=_0x3e6eaf[_0x27f234(0x556)],_0x2c326f=_0x3e6eaf[_0x27f234(0x455)];}else _0x965d23=_0x5c3f85,_0x2c326f=[];let _0x225b9b=this[_0x27f234(0x40e)];_0x965d23['forEach'](_0x2d9e45=>{var _0x27973c=_0x27f234;let _0x451116;if(_0x225b9b[_0x27973c(0x2a5)]){const _0x417a64=this[_0x27973c(0x320)][_0x27973c(0x368)](_0x2d9e45,_0x225b9b);if(!E['isTransformMutationsWithChangesetSuccess'](_0x417a64))throw _0x417a64[_0x27973c(0x536)];_0x451116=_0x417a64['c1Prime'],_0x225b9b=_0x417a64['m2Prime'];}else _0x451116=_0x2d9e45;this[_0x27973c(0x289)](_0x451116);}),this[_0x27f234(0x44e)]&&this[_0x27f234(0x300)](),this['_awaitingChangeset']&&_0x2c326f['length']&&(_0x2c326f[0x0]['baseRev']=this[_0x27f234(0x3c0)]());let _0x2307e3;if(this[_0x27f234(0x457)]&&_0x225b9b['length']!==0x0)_0x2307e3=this[_0x27f234(0x474)]['createInstance'](exports[_0x27f234(0x20c)],this[_0x27f234(0x299)],this[_0x27f234(0x245)],_0x2c326f[0x0],_0x225b9b,this[_0x27f234(0x20e)],void 0x0);else{if(this[_0x27f234(0x457)]&&_0x225b9b[_0x27f234(0x2a5)]===0x0)_0x2c326f[0x0][_0x27f234(0x335)]=this[_0x27f234(0x3c0)](),_0x2307e3=this[_0x27f234(0x474)]['createInstance'](exports[_0x27f234(0x554)],this['unitID'],this[_0x27f234(0x245)],_0x2c326f[0x0],this[_0x27f234(0x20e)]);else{if(_0x225b9b[_0x27f234(0x2a5)]!==0x0){const _0x16bc1b=this[_0x27f234(0x474)]['createInstance'](exports[_0x27f234(0x4b8)],this['unitID'],this[_0x27f234(0x245)],_0x225b9b,this['_handler']);_0x16bc1b[_0x27f234(0x4fd)](),_0x2307e3=_0x16bc1b;}else _0x2307e3=this[_0x27f234(0x474)][_0x27f234(0x20a)](exports[_0x27f234(0x203)],this[_0x27f234(0x299)],this['type'],this[_0x27f234(0x20e)]);}}return _0x2307e3[_0x27f234(0x327)](),_0x2307e3;}catch(_0x3bdbe6){return this[_0x27f234(0x2e3)][_0x27f234(0x536)](_0x27f234(0x314),_0x27f234(0x2bf),_0x3bdbe6),this[_0x27f234(0x474)][_0x27f234(0x20a)](exports[_0x27f234(0x551)],this[_0x27f234(0x299)],this[_0x27f234(0x245)],this[_0x27f234(0x457)],this[_0x27f234(0x40e)],this[_0x27f234(0x20e)],!0x1);}}[_0x497bf8(0x4fb)](){var _0x184617=_0x497bf8;throw new Error(_0x184617(0x218));}[_0x497bf8(0x442)](_0x411260){var _0x2e42f3=_0x497bf8;return this[_0x2e42f3(0x40e)][_0x2e42f3(0x303)](_0x411260),this;}['onRemoteChangeset'](_0x992439){var _0x1dd1ef=_0x497bf8;return this[_0x1dd1ef(0x437)][_0x1dd1ef(0x303)](_0x992439),this;}[_0x497bf8(0x470)](_0x30b40b){var _0x430e01=_0x497bf8;if(this['_awaitingChangeset'])return this[_0x430e01(0x44e)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x497bf8(0x55a)](_0x4f1142){var _0x20184f=_0x497bf8;return this[_0x20184f(0x352)](!!(_0x4f1142!=null&&_0x4f1142['isPermissionRej']));}[_0x497bf8(0x543)](){return this;}[_0x497bf8(0x432)](){var _0x47b19e=_0x497bf8;return this[_0x47b19e(0x474)][_0x47b19e(0x20a)](exports['OfflineState'],this[_0x47b19e(0x299)],this[_0x47b19e(0x245)],this[_0x47b19e(0x457)],this[_0x47b19e(0x40e)],this[_0x47b19e(0x20e)]);}[_0x497bf8(0x32d)](){return this;}[_0x497bf8(0x352)](_0x4984cf){var _0xcec4ad=_0x497bf8;return this['_injector'][_0xcec4ad(0x20a)](exports[_0xcec4ad(0x551)],this[_0xcec4ad(0x299)],this['type'],this[_0xcec4ad(0x457)],this[_0xcec4ad(0x40e)],this[_0xcec4ad(0x20e)],_0x4984cf);}},exports['FetchingMissState']=ae([L(0x7,o[_0x497bf8(0x3f5)](o['Injector'])),L(0x8,o[_0x497bf8(0x3f5)](E[_0x497bf8(0x378)])),L(0x9,o['ILogService']),L(0xa,o['ICommandService']),L(0xb,o['IUndoRedoService']),L(0xc,E[_0x497bf8(0x503)]),L(0xd,o['Optional'](q))],exports[_0x497bf8(0x3b9)]);function Et(_0x3ed564,_0x1d4631,_0x908c8b,_0x2a0ecf,_0x1b50b6,_0x3c4037){var _0x5e3cfb=_0x497bf8;return _0x2a0ecf&&_0x1b50b6[_0x5e3cfb(0x2a5)]?_0x3ed564[_0x5e3cfb(0x20a)](exports[_0x5e3cfb(0x20c)],_0x1d4631,_0x908c8b,_0x2a0ecf,_0x1b50b6,_0x3c4037,void 0x0):_0x2a0ecf?_0x3ed564[_0x5e3cfb(0x20a)](exports[_0x5e3cfb(0x554)],_0x1d4631,_0x908c8b,_0x2a0ecf,_0x3c4037):_0x1b50b6[_0x5e3cfb(0x2a5)]?_0x3ed564[_0x5e3cfb(0x20a)](exports[_0x5e3cfb(0x4b8)],_0x1d4631,_0x908c8b,_0x1b50b6,_0x3c4037):_0x3ed564['createInstance'](exports[_0x5e3cfb(0x203)],_0x1d4631,_0x908c8b,_0x3c4037);}var si=Object[_0x497bf8(0x4fe)],Be=(_0x5d7933,_0x182b82,_0x445525,_0x3f32fc)=>{var _0x426267=_0x497bf8;for(var _0x5e45f1=_0x3f32fc>0x1?void 0x0:_0x3f32fc?si(_0x182b82,_0x445525):_0x182b82,_0x22f4bf=_0x5d7933[_0x426267(0x2a5)]-0x1,_0x1094d2;_0x22f4bf>=0x0;_0x22f4bf--)(_0x1094d2=_0x5d7933[_0x22f4bf])&&(_0x5e45f1=_0x1094d2(_0x5e45f1)||_0x5e45f1);return _0x5e45f1;},$=(_0x1bdc91,_0x5bbf8f)=>(_0x39016d,_0x4b47bd)=>_0x5bbf8f(_0x39016d,_0x4b47bd,_0x1bdc91);exports[_0x497bf8(0x426)]=class extends o['RxDisposable']{constructor(_0x18e5fb,_0x40a83f,_0x2334b7,_0x3cad6b,_0x5a33d5,_0x35c047,_0x139abc,_0x1ed06f,_0x2fe0e8,_0x520037,_0x375db9,_0x3d08b9,_0x2bae79,_0x15dc28){var _0x29943b=_0x497bf8;super(),A(this,'_state$',new j[(_0x29943b(0x387))](null)),A(this,_0x29943b(0x43f),this[_0x29943b(0x3e9)]['asObservable']()),A(this,_0x29943b(0x498)),A(this,_0x29943b(0x2c5),!0x1),A(this,_0x29943b(0x531),''),A(this,_0x29943b(0x4be),0x0),A(this,_0x29943b(0x317),this[_0x29943b(0x43f)]['pipe'](j[_0x29943b(0x392)](_0x4f5841=>_0x4f5841?_0x4f5841[_0x29943b(0x3e5)]:je[_0x29943b(0x2c3)]),j[_0x29943b(0x46b)](0x1))),A(this,_0x29943b(0x28e),!0x1),A(this,_0x29943b(0x549),[]),(this[_0x29943b(0x299)]=_0x18e5fb,this[_0x29943b(0x353)]=_0x40a83f,this[_0x29943b(0x1fc)]=_0x2334b7,this['_injector']=_0x3cad6b,this[_0x29943b(0x51e)]=_0x5a33d5,this[_0x29943b(0x25f)]=_0x35c047,this[_0x29943b(0x207)]=_0x139abc,this[_0x29943b(0x47a)]=_0x1ed06f,this[_0x29943b(0x301)]=_0x2fe0e8,this[_0x29943b(0x2e3)]=_0x520037,this['_commandService']=_0x375db9,this['_permissionService']=_0x3d08b9,this['_singleActiveUnitService']=_0x2bae79,this[_0x29943b(0x21d)]=_0x15dc28);}get[_0x497bf8(0x324)](){return this['_state'];}async[_0x497bf8(0x47e)](){var _0x2de95b=_0x497bf8;if(this[_0x2de95b(0x324)])throw new Error(_0x2de95b(0x374));await this[_0x2de95b(0x2e0)]();}[_0x497bf8(0x355)](){return this['_collaborationPaused']=!0x0,o['toDisposable'](()=>{var _0x361394=_0x382c;this[_0x361394(0x2c5)]=!0x1,this[_0x361394(0x3b5)]();});}[_0x497bf8(0x3bd)](_0x4713fc){var _0x1e8ae9=_0x497bf8;this[_0x1e8ae9(0x40c)](_0x4713fc);}[_0x497bf8(0x249)](_0x295ccf){var _0x21970a=_0x497bf8;this[_0x21970a(0x498)]=_0x295ccf,this['_state$'][_0x21970a(0x580)](_0x295ccf);}async[_0x497bf8(0x2e0)](){var _0x2d8f0f=_0x497bf8,_0x4f6b5d;this[_0x2d8f0f(0x249)](await this[_0x2d8f0f(0x263)]()),this[_0x2d8f0f(0x529)]&&((_0x4f6b5d=this['_singleActiveUnitService'])==null||_0x4f6b5d[_0x2d8f0f(0x4d2)](this[_0x2d8f0f(0x299)]),this['disposeWithMe'](this[_0x2d8f0f(0x529)]['getUnitStatus$'](this[_0x2d8f0f(0x299)])[_0x2d8f0f(0x441)](_0x15ec1e=>{var _0x2574ae=_0x2d8f0f;this[_0x2574ae(0x2e3)]['debug']('[CollaborationEntity]',_0x2574ae(0x553),_0x15ec1e),_0x15ec1e===He['OTHER_CLIENTS_EDITING']?(this[_0x2574ae(0x47a)][_0x2574ae(0x2e8)]({'id':J[_0x2574ae(0x50c)]}),this['_permissionService'][_0x2574ae(0x50a)](new Q[(_0x2574ae(0x2bb))](this[_0x2574ae(0x299)])['id'],!0x1),this[_0x2574ae(0x427)]['setShowComponents'](!0x1)):(this[_0x2574ae(0x427)][_0x2574ae(0x50a)](new Q[(_0x2574ae(0x2bb))](this[_0x2574ae(0x299)])['id'],!0x0),this[_0x2574ae(0x427)][_0x2574ae(0x350)](!0x0));})));let _0x10a964=!0x1;return this[_0x2d8f0f(0x26d)](this[_0x2d8f0f(0x353)][_0x2d8f0f(0x4a5)][_0x2d8f0f(0x441)](_0x1d350d=>{var _0x27084e=_0x2d8f0f;_0x1d350d===se['ONLINE']?this['_toggleOnline'](_0x10a964):_0x1d350d===se[_0x27084e(0x2c3)]&&(_0x10a964=!0x0,this['_toggleOffline']());})),this[_0x2d8f0f(0x26d)](this[_0x2d8f0f(0x353)][_0x2d8f0f(0x357)][_0x2d8f0f(0x441)](_0x1667df=>{var _0x5e3cb8=_0x2d8f0f;try{switch(_0x1667df[_0x5e3cb8(0x214)]){case E[_0x5e3cb8(0x54a)][_0x5e3cb8(0x4ff)]:{this[_0x5e3cb8(0x23c)](E[_0x5e3cb8(0x533)](_0x1667df[_0x5e3cb8(0x57d)]));break;}case E[_0x5e3cb8(0x54a)][_0x5e3cb8(0x34e)]:{this[_0x5e3cb8(0x1fe)](_0x1667df[_0x5e3cb8(0x57d)]);break;}case E[_0x5e3cb8(0x54a)][_0x5e3cb8(0x4a4)]:{this[_0x5e3cb8(0x1f7)]();break;}case E[_0x5e3cb8(0x54a)][_0x5e3cb8(0x530)]:{this[_0x5e3cb8(0x3c8)](_0x1667df[_0x5e3cb8(0x57d)]);break;}case E[_0x5e3cb8(0x54a)][_0x5e3cb8(0x2ea)]:{this[_0x5e3cb8(0x3fe)](_0x1667df[_0x5e3cb8(0x57d)][_0x5e3cb8(0x4aa)][_0x5e3cb8(0x392)](_0xfd451e=>E[_0x5e3cb8(0x533)](_0xfd451e)));break;}case E['CollaborationEvent']['PERMISSION_REJ']:{this[_0x5e3cb8(0x1f7)]({'isPermissionRej':!0x0});break;}case E['CollaborationEvent']['UNISCRIPT_RUN']:break;}}catch(_0x299f43){throw console[_0x5e3cb8(0x536)](_0x5e3cb8(0x388),_0x299f43),_0x299f43;}})),this[_0x2d8f0f(0x498)];}[_0x497bf8(0x266)](){var _0x150ad0=_0x497bf8;this[_0x150ad0(0x28e)]=!0x1;}[_0x497bf8(0x563)](){var _0x4fabea=_0x497bf8;if(this[_0x4fabea(0x28e)])throw new Error(_0x4fabea(0x37e));this['_transitionLocked']=!0x0;}[_0x497bf8(0x40c)](_0x4f7dfd){var _0x3644d1=_0x497bf8;this[_0x3644d1(0x563)](),this['_updateState'](this[_0x3644d1(0x498)]['appendMutation'](_0x4f7dfd)),this['_unlockTransition']();}[_0x497bf8(0x23c)](_0x375e6b){var _0x22ad9b=_0x497bf8;if(!(_0x375e6b[_0x22ad9b(0x283)]<=this['_revisionService'][_0x22ad9b(0x4ec)](this[_0x22ad9b(0x299)]))){if(this[_0x22ad9b(0x2c5)]){this[_0x22ad9b(0x549)][_0x22ad9b(0x303)](_0x375e6b);return;}this['_applyRemoteChangeset'](_0x375e6b);}}[_0x497bf8(0x3b5)](){var _0x39bafe=_0x497bf8;this['_remoteChangesetQueue']['forEach'](_0x5952d5=>this[_0x39bafe(0x222)](_0x5952d5)),this[_0x39bafe(0x549)]=[];}[_0x497bf8(0x222)](_0x1069e9){var _0x7b3a7b=_0x497bf8;const _0x2e00f5=this[_0x7b3a7b(0x51e)][_0x7b3a7b(0x31b)][_0x7b3a7b(0x361)](this[_0x7b3a7b(0x51e)][_0x7b3a7b(0x31b)][_0x7b3a7b(0x3ef)]()['COMPRESS_MUTATION_APPLY'])(_0x1069e9[_0x7b3a7b(0x265)],null)||_0x1069e9[_0x7b3a7b(0x265)],_0x5ad9e3={..._0x1069e9,'mutations':_0x2e00f5};this[_0x7b3a7b(0x563)](),this['_updateState'](this[_0x7b3a7b(0x498)][_0x7b3a7b(0x431)](_0x5ad9e3)),this[_0x7b3a7b(0x266)]();}[_0x497bf8(0x1fe)](_0x45180e){var _0x409c1c=_0x497bf8;this['_lockTransition'](),this[_0x409c1c(0x249)](this['_state'][_0x409c1c(0x470)](_0x45180e)),this[_0x409c1c(0x266)]();}['_onRemoteRejected'](_0x1d8246){var _0x2f3351=_0x497bf8;this['_lockTransition'](),this['_updateState'](this[_0x2f3351(0x498)][_0x2f3351(0x55a)](_0x1d8246)),this[_0x2f3351(0x266)]();}[_0x497bf8(0x3c8)](_0x2215c8){var _0x104ee3=_0x497bf8;this[_0x104ee3(0x563)](),this[_0x104ee3(0x249)](this['_state'][_0x104ee3(0x543)](_0x2215c8)),this[_0x104ee3(0x266)]();}['_onFetchMissResult'](_0x4c452f){var _0x3b8cd5=_0x497bf8;if(!(this[_0x3b8cd5(0x498)]instanceof exports[_0x3b8cd5(0x3b9)]))throw new TypeError(_0x3b8cd5(0x46d));const _0x1dd038=_0x4c452f[_0x3b8cd5(0x392)](_0x8a1cf0=>{var _0x4aeeb8=_0x3b8cd5;const _0x11df57=this[_0x4aeeb8(0x51e)][_0x4aeeb8(0x31b)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x4aeeb8(0x31b)][_0x4aeeb8(0x3ef)]()[_0x4aeeb8(0x56b)])(_0x8a1cf0['mutations'],null)||_0x8a1cf0[_0x4aeeb8(0x265)];return{..._0x8a1cf0,'mutations':_0x11df57};});this[_0x3b8cd5(0x563)](),this[_0x3b8cd5(0x249)](this[_0x3b8cd5(0x498)]['onMissedChangesetFetched'](_0x1dd038)),this[_0x3b8cd5(0x266)]();}[_0x497bf8(0x280)](){var _0x5d3fc8=_0x497bf8;this[_0x5d3fc8(0x563)](),this[_0x5d3fc8(0x249)](this[_0x5d3fc8(0x498)][_0x5d3fc8(0x432)]()),this['_unlockTransition']();}[_0x497bf8(0x221)](_0x5aaa64=!0x1){var _0x88d991=_0x497bf8;this[_0x88d991(0x563)](),this['_updateState'](this[_0x88d991(0x498)][_0x88d991(0x32d)]()),this['_unlockTransition']();const _0x5cee8a=this[_0x88d991(0x498)];_0x5aaa64&&_0x5cee8a instanceof exports['SyncedState']&&(this[_0x88d991(0x563)](),this[_0x88d991(0x249)](_0x5cee8a[_0x88d991(0x243)]()),this[_0x88d991(0x266)]());}async[_0x497bf8(0x263)](){return new Promise(_0x6011de=>{var _0xecc203=_0x382c;this[_0xecc203(0x353)][_0xecc203(0x4a5)]['pipe'](j[_0xecc203(0x4f3)](0x1))['subscribe'](async _0x57955f=>{var _0x7c4684=_0xecc203;_0x6011de(await this[_0x7c4684(0x376)](_0x57955f===se[_0x7c4684(0x33b)]));});});}['_createHandler'](){var _0x5c12db=_0x497bf8;const _0x398dc4=this[_0x5c12db(0x299)];return{'onStateChange':(_0xdc2960,_0x121429)=>{var _0x461e5d=_0x5c12db;if(_0xdc2960!==this[_0x461e5d(0x498)])throw new Error(_0x461e5d(0x356)+_0xdc2960[_0x461e5d(0x3e5)]+_0x461e5d(0x53e)+_0x121429['status']+'\x0aCurrent:\x20'+this[_0x461e5d(0x498)]['status']);this[_0x461e5d(0x249)](_0x121429);},'onSendChangeset':_0x5a55b7=>{var _0x1ba7c8=_0x5c12db;_0x5a55b7[_0x1ba7c8(0x435)]||(_0x5a55b7[_0x1ba7c8(0x435)]=this['_changesetSessionId'],_0x5a55b7[_0x1ba7c8(0x2b3)]=++this['_changesetReqId']);const _0x414d24={'eventID':E[_0x1ba7c8(0x54a)][_0x1ba7c8(0x2b5)],'data':{'unitID':_0x5a55b7[_0x1ba7c8(0x299)],'unitType':this[_0x1ba7c8(0x1fc)],'changeset':_0x5a55b7,'memberID':this['session'][_0x1ba7c8(0x292)]()}};this[_0x1ba7c8(0x353)][_0x1ba7c8(0x55c)](_0x414d24,this[_0x1ba7c8(0x299)]);},'onMissingChangesets':({from:_0x465107,to:_0x151036})=>{var _0x6ccb77=_0x5c12db;this['_logService'][_0x6ccb77(0x434)](_0x6ccb77(0x313),_0x6ccb77(0x25d)+_0x465107+_0x6ccb77(0x393)+_0x151036);const _0x403525={'eventID':E[_0x6ccb77(0x54a)][_0x6ccb77(0x359)],'data':{'unitID':_0x398dc4,'unitType':this[_0x6ccb77(0x1fc)],'from':_0x465107,'to':_0x151036}};this[_0x6ccb77(0x353)]['send'](_0x403525,this['unitID']);}};}async[_0x497bf8(0x376)](_0x1618b7){var _0x585645=_0x497bf8,_0xcb6a3e,_0x105936,_0x6098e9;const _0xcd26ef=await((_0xcb6a3e=this[_0x585645(0x21d)])==null?void 0x0:_0xcb6a3e[_0x585645(0x212)](this[_0x585645(0x299)])),_0x1aef73=(_0x105936=_0xcd26ef==null?void 0x0:_0xcd26ef[_0x585645(0x265)])!=null?_0x105936:[],_0x55906c=(_0x6098e9=_0xcd26ef==null?void 0x0:_0xcd26ef[_0x585645(0x2bd)])!=null?_0x6098e9:null,_0x35e2e2=!!(_0x55906c!=null&&_0x55906c['sid'])&&!!(_0x55906c!=null&&_0x55906c[_0x585645(0x2b3)]);this['_changesetSessionId']=_0x35e2e2?_0x55906c[_0x585645(0x435)]:E[_0x585645(0x44d)](),this[_0x585645(0x4be)]=_0x35e2e2?_0x55906c[_0x585645(0x2b3)]:0x0;const _0x311316=this[_0x585645(0x299)];try{this[_0x585645(0x272)](_0x55906c,_0x1aef73);}catch(_0x584a5e){this['_logService']['error'](_0x584a5e);}const _0x59eeee=this[_0x585645(0x340)]();if(_0x1618b7){const _0x4834d5=Et(this['_injector'],_0x311316,this[_0x585645(0x1fc)],_0x55906c,_0x1aef73,_0x59eeee);return _0x4834d5 instanceof exports['PendingState']?_0x4834d5[_0x585645(0x4fd)]():(_0x4834d5 instanceof exports[_0x585645(0x20c)]||_0x4834d5 instanceof exports[_0x585645(0x554)])&&_0x4834d5[_0x585645(0x4fb)](),_0x4834d5;}return this[_0x585645(0x474)][_0x585645(0x20a)](exports[_0x585645(0x532)],_0x311316,this[_0x585645(0x1fc)],_0x55906c,_0x1aef73,_0x59eeee);}[_0x497bf8(0x272)](_0x3dd9f4,_0x177f2e){var _0x5e6090=_0x497bf8,_0x752a0b,_0x448978;const _0x61d700=this['_compressMutationService'][_0x5e6090(0x31b)][_0x5e6090(0x361)](this['_compressMutationService'][_0x5e6090(0x31b)][_0x5e6090(0x3ef)]()[_0x5e6090(0x56b)]);(_0x752a0b=_0x61d700((_0x3dd9f4==null?void 0x0:_0x3dd9f4['mutations'])||[],null))==null||_0x752a0b['forEach'](_0x2f9a76=>this['_commandService'][_0x5e6090(0x4f1)](_0x2f9a76['id'],_0x2f9a76[_0x5e6090(0x295)])),(_0x448978=_0x61d700(_0x177f2e||[],null))==null||_0x448978[_0x5e6090(0x49b)](_0x1e3f3f=>this[_0x5e6090(0x2cc)][_0x5e6090(0x4f1)](_0x1e3f3f['id'],_0x1e3f3f['params']));}},exports[_0x497bf8(0x426)]=Be([$(0x3,o[_0x497bf8(0x3f5)](o[_0x497bf8(0x35e)])),$(0x4,o[_0x497bf8(0x3f5)](E[_0x497bf8(0x302)])),$(0x5,o[_0x497bf8(0x3f5)](o[_0x497bf8(0x29f)])),$(0x6,o[_0x497bf8(0x3f5)](E[_0x497bf8(0x378)])),$(0x7,o['Inject'](ee)),$(0x8,o[_0x497bf8(0x200)]),$(0x9,o['ILogService']),$(0xa,o[_0x497bf8(0x453)]),$(0xb,o[_0x497bf8(0x39a)]),$(0xc,o['Optional'](ve)),$(0xd,o['Optional'](q))],exports[_0x497bf8(0x426)]),exports[_0x497bf8(0x47b)]=class extends exports[_0x497bf8(0x426)]{constructor(_0x3a0057,_0x3ba9a0,_0x47d32e,_0x12aa55,_0x34c45a,_0x434a78,_0x5007e2,_0x193a5e,_0x341334,_0x8deab3,_0x3b6050,_0x185d88,_0x2fc07e,_0x5ac6c3){var _0x1dd551=_0x497bf8;super(_0x3a0057,_0x47d32e,_0x3ba9a0,_0x12aa55,_0x34c45a,_0x434a78,_0x5007e2,_0x193a5e,_0x341334,_0x8deab3,_0x3b6050,_0x185d88,_0x2fc07e,_0x5ac6c3),A(this,_0x1dd551(0x2a9),null),(this[_0x1dd551(0x299)]=_0x3a0057,this['type']=_0x3ba9a0);}[_0x497bf8(0x4ba)](_0xd507c6){var _0x7168d5=_0x497bf8;this[_0x7168d5(0x2a9)]=_0xd507c6;}['dispose'](){var _0x26187c=_0x497bf8;this['_handlerCallback']=null,super[_0x26187c(0x444)]();}[_0x497bf8(0x340)](){var _0x4651a1=_0x497bf8;const _0x513064=super[_0x4651a1(0x340)]();return _0x513064[_0x4651a1(0x310)]=_0x29e9aa=>{var _0x239753=_0x4651a1,_0x407620,_0x1be322;return(_0x1be322=(_0x407620=this[_0x239753(0x2a9)])==null?void 0x0:_0x407620['onTransformIME'])==null?void 0x0:_0x1be322[_0x239753(0x55f)](_0x407620,_0x29e9aa);},_0x513064[_0x4651a1(0x4f0)]=_0x5e568b=>{var _0x31b2c6=_0x4651a1,_0x45ce45,_0x68a355;return(_0x68a355=(_0x45ce45=this[_0x31b2c6(0x2a9)])==null?void 0x0:_0x45ce45[_0x31b2c6(0x4f0)])==null?void 0x0:_0x68a355[_0x31b2c6(0x55f)](_0x45ce45,_0x5e568b);},_0x513064[_0x4651a1(0x3cd)]=_0x425204=>{var _0x25fdc1=_0x4651a1,_0x55c9d7,_0x163e9d;return(_0x163e9d=(_0x55c9d7=this[_0x25fdc1(0x2a9)])==null?void 0x0:_0x55c9d7[_0x25fdc1(0x3cd)])==null?void 0x0:_0x163e9d[_0x25fdc1(0x55f)](_0x55c9d7,_0x425204);},_0x513064[_0x4651a1(0x38a)]=_0x2374be=>{var _0x4d0c2e=_0x4651a1,_0x38fe72,_0x429a64;return(_0x429a64=(_0x38fe72=this[_0x4d0c2e(0x2a9)])==null?void 0x0:_0x38fe72[_0x4d0c2e(0x38a)])==null?void 0x0:_0x429a64[_0x4d0c2e(0x55f)](_0x38fe72,_0x2374be);},_0x513064[_0x4651a1(0x52e)]=_0x26a5b9=>{var _0x520a3e=_0x4651a1,_0x567b2a,_0x180c8a,_0x5a847d;if(!((_0x567b2a=this['_handlerCallback'])!=null&&_0x567b2a['onTransformRemoteChangesetByIMECache']))throw new Error(_0x520a3e(0x202));return(_0x5a847d=(_0x180c8a=this[_0x520a3e(0x2a9)])==null?void 0x0:_0x180c8a[_0x520a3e(0x52e)])==null?void 0x0:_0x5a847d[_0x520a3e(0x55f)](_0x180c8a,_0x26a5b9);},_0x513064[_0x4651a1(0x505)]=_0x258ed1=>{var _0x15ecc5=_0x4651a1,_0x2ad3df,_0x45987c,_0x4e434c;if(!((_0x2ad3df=this['_handlerCallback'])!=null&&_0x2ad3df[_0x15ecc5(0x505)]))throw new Error(_0x15ecc5(0x552));return(_0x4e434c=(_0x45987c=this[_0x15ecc5(0x2a9)])==null?void 0x0:_0x45987c['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x4e434c[_0x15ecc5(0x55f)](_0x45987c,_0x258ed1);},_0x513064;}async['_init'](){var _0x33caf1=_0x497bf8;const _0x12a8e7=await super['_init']();return this[_0x33caf1(0x26d)](this[_0x33caf1(0x2cc)][_0x33caf1(0x494)]((_0x5c2806,_0xbfd3fc)=>{var _0x15052c=_0x33caf1;if(_0x5c2806[_0x15052c(0x245)]!==o[_0x15052c(0x3a4)][_0x15052c(0x479)]||_0xbfd3fc!=null&&_0xbfd3fc[_0x15052c(0x2f2)]||_0xbfd3fc!=null&&_0xbfd3fc[_0x15052c(0x3e3)]||_0x5c2806['id']===ct[_0x15052c(0x377)]['id'])return;const _0x1150e4=_0x5c2806['params'];if((_0x1150e4==null?void 0x0:_0x1150e4[_0x15052c(0x472)])!==this[_0x15052c(0x299)])return;const _0x4a5e4c=_0x5c2806,_0x227e20=this['_compressMutationService']['interceptor'][_0x15052c(0x361)](this[_0x15052c(0x51e)][_0x15052c(0x31b)][_0x15052c(0x3ef)]()[_0x15052c(0x3b6)])([_0x4a5e4c],this[_0x15052c(0x301)])||[_0x4a5e4c];this[_0x15052c(0x40c)](_0x227e20[0x0]);})),_0x12a8e7;}},exports['DocCollaborationEntity']=Be([$(0x3,o['Inject'](o[_0x497bf8(0x35e)])),$(0x4,o[_0x497bf8(0x3f5)](E[_0x497bf8(0x302)])),$(0x5,o[_0x497bf8(0x3f5)](o[_0x497bf8(0x29f)])),$(0x6,o[_0x497bf8(0x3f5)](E[_0x497bf8(0x378)])),$(0x7,o[_0x497bf8(0x3f5)](ee)),$(0x8,o[_0x497bf8(0x200)]),$(0x9,o[_0x497bf8(0x3a9)]),$(0xa,o[_0x497bf8(0x453)]),$(0xb,o[_0x497bf8(0x39a)]),$(0xc,o[_0x497bf8(0x382)](ve)),$(0xd,o[_0x497bf8(0x382)](q))],exports['DocCollaborationEntity']),exports['SheetCollaborationEntity']=class extends exports[_0x497bf8(0x426)]{constructor(_0x45ec64,_0x8bb1e3,_0x43a9b4,_0x592173,_0x434e77,_0x5c2b6,_0x148b6d,_0x3a5788,_0x11ed6b,_0xa0ead6,_0x43daf6,_0x594338,_0x2406d9,_0x137ae8,_0x1d4f05){var _0x27a663=_0x497bf8;super(_0x45ec64,_0x43a9b4,_0x8bb1e3,_0x592173,_0x434e77,_0x5c2b6,_0x148b6d,_0x11ed6b,_0xa0ead6,_0x43daf6,_0x594338,_0x2406d9,_0x137ae8,_0x1d4f05),this[_0x27a663(0x299)]=_0x45ec64,this['type']=_0x8bb1e3,this['_sheetTransformSelectionsService']=_0x3a5788;}[_0x497bf8(0x340)](){var _0x1cd966=_0x497bf8;const _0x3f4b88=super[_0x1cd966(0x340)]();return _0x3f4b88[_0x1cd966(0x3cd)]=_0x14e4ab=>this[_0x1cd966(0x573)]['transformSelections'](_0x14e4ab),_0x3f4b88;}async['_init'](){var _0x4b6be2=_0x497bf8;const _0x3e94e6=await super[_0x4b6be2(0x2e0)]();return this[_0x4b6be2(0x26d)](this[_0x4b6be2(0x2cc)][_0x4b6be2(0x494)]((_0x29ff12,_0x405a3b)=>{var _0x14085a=_0x4b6be2;if(_0x29ff12[_0x14085a(0x245)]!==o['CommandType'][_0x14085a(0x479)]||_0x405a3b!=null&&_0x405a3b[_0x14085a(0x2f2)]||_0x405a3b!=null&&_0x405a3b[_0x14085a(0x3e3)])return;const _0x2d9292=_0x29ff12[_0x14085a(0x295)];if((_0x2d9292==null?void 0x0:_0x2d9292[_0x14085a(0x472)])!==this['unitID'])return;const _0x3880f7=_0x29ff12,_0x3f61c2=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x14085a(0x51e)][_0x14085a(0x31b)][_0x14085a(0x3ef)]()[_0x14085a(0x3b6)])([_0x3880f7],this[_0x14085a(0x301)])||[_0x3880f7];this[_0x14085a(0x40c)](_0x3f61c2[0x0]);})),_0x3e94e6;}},exports['SheetCollaborationEntity']=Be([$(0x3,o[_0x497bf8(0x3f5)](o['Injector'])),$(0x4,o[_0x497bf8(0x3f5)](E[_0x497bf8(0x302)])),$(0x5,o[_0x497bf8(0x3f5)](o[_0x497bf8(0x29f)])),$(0x6,o['Inject'](E['RevisionService'])),$(0x7,o[_0x497bf8(0x3f5)](exports[_0x497bf8(0x2b6)])),$(0x8,o[_0x497bf8(0x3f5)](ee)),$(0x9,o[_0x497bf8(0x200)]),$(0xa,o[_0x497bf8(0x3a9)]),$(0xb,o[_0x497bf8(0x453)]),$(0xc,o[_0x497bf8(0x39a)]),$(0xd,o[_0x497bf8(0x382)](ve)),$(0xe,o['Optional'](q))],exports[_0x497bf8(0x526)]);const pt=o[_0x497bf8(0x4b7)]('univer-pro.collaboration-client.network-condition.service');function mt(_0x1ef024){var _0x17f3c9=_0x497bf8,_0x53922e,_0x3c8b4a,_0x4142d3,_0x138ff6,_0x1de155;const _0x3dc8f6=_0x1ef024[_0x17f3c9(0x57d)],_0xb18764=JSON['parse'](_0x3dc8f6);switch(_0xb18764[_0x17f3c9(0x548)]){case W[_0x17f3c9(0x3a0)]:case W[_0x17f3c9(0x47c)]:{const _0x458eff=_0xb18764[_0x17f3c9(0x4cf)];return{..._0xb18764,'data':_0x458eff,'cmd':_0xb18764[_0x17f3c9(0x548)]};}case W[_0x17f3c9(0x3ee)]:{const _0x113984=_0xb18764['joinRsp'];return{..._0xb18764,'data':_0x113984,'cmd':_0xb18764[_0x17f3c9(0x548)]};}case W['RECV']:{const _0x580100=_0xb18764[_0x17f3c9(0x2c1)];switch(_0x580100[_0x17f3c9(0x214)]){case E[_0x17f3c9(0x54a)]['PERMISSION_REJ']:return{..._0xb18764,'data':{..._0x580100,'data':(_0x53922e=_0x580100[_0x17f3c9(0x416)])==null?void 0x0:_0x53922e['cs']},'cmd':_0xb18764['cmd']};case E['CollaborationEvent'][_0x17f3c9(0x34e)]:return{..._0xb18764,'data':{..._0x580100,'data':(_0x3c8b4a=_0x580100[_0x17f3c9(0x4e7)])==null?void 0x0:_0x3c8b4a['cs']},'cmd':_0xb18764[_0x17f3c9(0x548)]};case E[_0x17f3c9(0x54a)][_0x17f3c9(0x4ff)]:return{..._0xb18764,'data':{..._0x580100,'data':(_0x4142d3=_0x580100['newCsEvent'])==null?void 0x0:_0x4142d3['cs']},'cmd':_0xb18764[_0x17f3c9(0x548)]};case E['CollaborationEvent'][_0x17f3c9(0x4a4)]:return{..._0xb18764,'data':{..._0x580100,'data':(_0x138ff6=_0x580100[_0x17f3c9(0x3a2)])==null?void 0x0:_0x138ff6['cs']},'cmd':_0xb18764['cmd']};case E[_0x17f3c9(0x54a)][_0x17f3c9(0x530)]:return{..._0xb18764,'data':{..._0x580100,'data':(_0x1de155=_0x580100[_0x17f3c9(0x395)])==null?void 0x0:_0x1de155['cs']},'cmd':_0xb18764[_0x17f3c9(0x548)]};case E['CollaborationEvent'][_0x17f3c9(0x51f)]:return{..._0xb18764,'data':{..._0x580100,'data':_0x580100[_0x17f3c9(0x476)]},'cmd':_0xb18764[_0x17f3c9(0x548)]};case E[_0x17f3c9(0x54a)][_0x17f3c9(0x365)]:return{..._0xb18764,'data':{..._0x580100,'data':_0x580100[_0x17f3c9(0x294)]},'cmd':_0xb18764['cmd']};case E['CollaborationEvent'][_0x17f3c9(0x443)]:return{..._0xb18764,'data':{..._0x580100,'data':_0x580100[_0x17f3c9(0x496)]},'cmd':_0xb18764[_0x17f3c9(0x548)]};case E[_0x17f3c9(0x54a)][_0x17f3c9(0x28c)]:return{..._0xb18764,'data':{..._0x580100,'data':_0x580100[_0x17f3c9(0x4ab)]},'cmd':_0xb18764[_0x17f3c9(0x548)]};case E['CollaborationEvent'][_0x17f3c9(0x488)]:case E[_0x17f3c9(0x54a)]['LIVESHARE_OPERATION']:return{..._0xb18764,'data':{..._0x580100,'data':_0x580100[_0x17f3c9(0x20b)]},'cmd':_0xb18764[_0x17f3c9(0x548)]};case E[_0x17f3c9(0x54a)][_0x17f3c9(0x41a)]:return{..._0xb18764,'data':{..._0x580100,'data':_0x580100[_0x17f3c9(0x4ab)]},'cmd':_0xb18764[_0x17f3c9(0x548)]};case E['CollaborationEvent'][_0x17f3c9(0x2b1)]:return{..._0xb18764,'data':_0x580100,'cmd':_0xb18764[_0x17f3c9(0x548)]};case E['CollaborationEvent'][_0x17f3c9(0x383)]:return{..._0xb18764,'data':{..._0x580100,'data':_0x580100[_0x17f3c9(0x436)]},'cmd':_0xb18764[_0x17f3c9(0x548)]};case E[_0x17f3c9(0x54a)][_0x17f3c9(0x4b3)]:return{..._0xb18764,'data':{..._0x580100,'data':_0x580100[_0x17f3c9(0x20f)]},'cmd':_0xb18764[_0x17f3c9(0x548)]};case E[_0x17f3c9(0x54a)][_0x17f3c9(0x4e5)]:return{..._0xb18764,'data':{..._0x580100,'data':_0x580100[_0x17f3c9(0x311)]},'cmd':_0xb18764['cmd']};case E[_0x17f3c9(0x54a)][_0x17f3c9(0x528)]:return{..._0xb18764,'data':{..._0x580100,'data':_0x580100['uniscriptRunEvent']},'cmd':_0xb18764[_0x17f3c9(0x548)]};default:return _0xb18764;}}default:return _0xb18764;}}function gt(_0x127234){var _0x9d3f53=_0x497bf8;switch(_0x127234['cmd']){case W[_0x9d3f53(0x3a0)]:case W[_0x9d3f53(0x47c)]:return JSON[_0x9d3f53(0x4ad)]({'cmd':_0x127234[_0x9d3f53(0x548)],'routeKey':_0x127234[_0x9d3f53(0x278)]});case W[_0x9d3f53(0x41e)]:{let _0x2757f6;switch(_0x127234[_0x9d3f53(0x57d)][_0x9d3f53(0x214)]){case E[_0x9d3f53(0x54a)]['UPDATE_CURSOR']:{_0x2757f6={'eventID':E['CollaborationEvent'][_0x9d3f53(0x51f)],'updateCursorEvent':_0x127234[_0x9d3f53(0x57d)][_0x9d3f53(0x57d)]};break;}case E[_0x9d3f53(0x54a)][_0x9d3f53(0x443)]:{_0x2757f6={'eventID':E['CollaborationEvent'][_0x9d3f53(0x443)],'leaveEvent':_0x127234[_0x9d3f53(0x57d)][_0x9d3f53(0x57d)]};break;}case E['CollaborationEvent'][_0x9d3f53(0x365)]:{_0x2757f6={'eventID':E['CollaborationEvent'][_0x9d3f53(0x365)],'joinEvent':_0x127234[_0x9d3f53(0x57d)][_0x9d3f53(0x57d)]};break;}case E[_0x9d3f53(0x54a)]['LIVESHARE_NEW_HOST']:{_0x2757f6={'eventID':E[_0x9d3f53(0x54a)][_0x9d3f53(0x28c)],'liveShareNewHost':_0x127234['data'][_0x9d3f53(0x57d)]};break;}case E['CollaborationEvent']['LIVESHARE_OPERATION']:{_0x2757f6={'eventID':E['CollaborationEvent'][_0x9d3f53(0x231)],'liveShareOperation':_0x127234[_0x9d3f53(0x57d)]['data']};break;}case E[_0x9d3f53(0x54a)][_0x9d3f53(0x41a)]:{_0x2757f6={'eventID':E[_0x9d3f53(0x54a)][_0x9d3f53(0x41a)],'liveShareTerminate':_0x127234['data'][_0x9d3f53(0x57d)]};break;}case E['CollaborationEvent'][_0x9d3f53(0x49d)]:{_0x2757f6={'eventID':E[_0x9d3f53(0x54a)][_0x9d3f53(0x49d)],'liveShareRequestHost':_0x127234[_0x9d3f53(0x57d)][_0x9d3f53(0x57d)]};break;}case E['CollaborationEvent'][_0x9d3f53(0x488)]:{_0x2757f6={'eventID':E[_0x9d3f53(0x54a)][_0x9d3f53(0x488)]};break;}default:_0x2757f6={'eventID':_0x127234[_0x9d3f53(0x57d)][_0x9d3f53(0x214)]};}return JSON['stringify']({'cmd':_0x127234['cmd'],'routeKey':_0x127234[_0x9d3f53(0x278)],'collaMsg':_0x2757f6});}case W[_0x9d3f53(0x3ee)]:return JSON[_0x9d3f53(0x4ad)]({'cmd':_0x127234['cmd'],'routeKey':_0x127234[_0x9d3f53(0x278)],'joinReq':_0x127234[_0x9d3f53(0x57d)]});case W[_0x9d3f53(0x3e4)]:return JSON[_0x9d3f53(0x4ad)]({'cmd':_0x127234['cmd'],'routeKey':_0x127234['routeKey'],'leaveReq':_0x127234[_0x9d3f53(0x57d)]});default:throw new Error(_0x9d3f53(0x2c6));}}var ri=Object['getOwnPropertyDescriptor'],ai=(_0x4ef8c7,_0x2b0fd5,_0x8020cb,_0x17acdd)=>{var _0x3e76cd=_0x497bf8;for(var _0x230ee7=_0x17acdd>0x1?void 0x0:_0x17acdd?ri(_0x2b0fd5,_0x8020cb):_0x2b0fd5,_0x4891be=_0x4ef8c7[_0x3e76cd(0x2a5)]-0x1,_0x4010bf;_0x4891be>=0x0;_0x4891be--)(_0x4010bf=_0x4ef8c7[_0x4891be])&&(_0x230ee7=_0x4010bf(_0x230ee7)||_0x230ee7);return _0x230ee7;},he=(_0x749bb5,_0x39fea8)=>(_0x73fb69,_0xc8b05f)=>_0x39fea8(_0x73fb69,_0xc8b05f,_0x749bb5);const Fe=o[_0x497bf8(0x4b7)](_0x497bf8(0x332));function oi(_0x38df34,_0x1675df,_0x31a45b){var _0x3c8bc7=_0x497bf8;return _0x38df34+'/'+_0x1675df+'/unit/'+_0x31a45b+_0x3c8bc7(0x347);}exports[_0x497bf8(0x57c)]=class extends o[_0x497bf8(0x584)]{constructor(_0x44bb03,_0x481a65,_0x4a8a9b,_0x5c81b7,_0x53339e){var _0x229f02=_0x497bf8;super(),this[_0x229f02(0x474)]=_0x44bb03,this[_0x229f02(0x21a)]=_0x481a65,this[_0x229f02(0x4d3)]=_0x4a8a9b,this[_0x229f02(0x2e3)]=_0x5c81b7,this[_0x229f02(0x535)]=_0x53339e;}['_doCreateSocket'](_0x53e3ae){var _0x34442e=_0x497bf8;const _0x55ac19=this[_0x34442e(0x474)]['get'](K[_0x34442e(0x48c)]);if(!_0x55ac19)throw new Error(_0x34442e(0x49c));const _0x3a2879=_0x55ac19[_0x34442e(0x2be)](_0x53e3ae);if(!_0x3a2879)throw new Error(_0x34442e(0x351));const _0x39eef9=new o[(_0x34442e(0x458))](),_0x44af97=new j[(_0x34442e(0x465))]();_0x39eef9['add'](_0x3a2879[_0x34442e(0x42b)][_0x34442e(0x441)](_0x1c0af9=>_0x44af97[_0x34442e(0x580)](_0x1c0af9))),_0x39eef9[_0x34442e(0x2df)](o[_0x34442e(0x1f4)](()=>_0x44af97[_0x34442e(0x2a2)]()));const _0x225504=new j[(_0x34442e(0x465))]();_0x39eef9[_0x34442e(0x2df)](_0x3a2879[_0x34442e(0x4c1)][_0x34442e(0x441)](_0x2b28e8=>_0x225504['next'](_0x2b28e8))),_0x39eef9['add'](o['toDisposable'](()=>_0x225504[_0x34442e(0x2a2)]()));const _0x5d521e=new j['Subject']();_0x39eef9[_0x34442e(0x2df)](_0x3a2879['message$'][_0x34442e(0x441)](_0x237cc3=>{var _0x5d1549=_0x34442e;const _0x26e98d=mt(_0x237cc3);_0x5d521e[_0x5d1549(0x580)](_0x26e98d);})),_0x39eef9[_0x34442e(0x2df)](o[_0x34442e(0x1f4)](()=>_0x5d521e['complete']()));let _0x148055;const _0x3d5d6c=()=>{var _0x377944=_0x34442e;_0x225504[_0x377944(0x580)](new Event(_0x377944(0x281))),_0x44af97['next'](new Event(_0x377944(0x281))),_0x148055[_0x377944(0x3a3)]();};return _0x148055={'memberID':'','close$':_0x44af97['asObservable'](),'error$':_0x225504['asObservable'](),'open$':_0x3a2879[_0x34442e(0x4b1)],'message$':_0x5d521e['asObservable'](),'send':_0x10433a=>{var _0x3b45f3=_0x34442e;if(_0x10433a['cmd']===W[_0x3b45f3(0x41e)]){if(_0x10433a[_0x3b45f3(0x57d)][_0x3b45f3(0x214)]===E[_0x3b45f3(0x54a)]['SUBMIT_CHANGESET']){this[_0x3b45f3(0x572)](_0x148055,_0x10433a[_0x3b45f3(0x57d)])[_0x3b45f3(0x582)](_0x1247c5=>{var _0x2ff7d9=_0x3b45f3;this[_0x2ff7d9(0x2e3)][_0x2ff7d9(0x536)](_0x1247c5),_0x3d5d6c();});return;}if(_0x10433a[_0x3b45f3(0x57d)][_0x3b45f3(0x214)]===E[_0x3b45f3(0x54a)][_0x3b45f3(0x359)]){const _0x5aa8f8=_0x10433a['data'];this['_fetchMissChangesets'](_0x5aa8f8)['then'](_0x50081d=>{var _0x5dbd7e=_0x3b45f3;_0x5d521e[_0x5dbd7e(0x580)]({'cmd':W[_0x5dbd7e(0x45d)],'code':re['OK'],'routeKey':_0x5aa8f8[_0x5dbd7e(0x57d)][_0x5dbd7e(0x299)],'routeType':'','data':{'eventID':E[_0x5dbd7e(0x54a)][_0x5dbd7e(0x2ea)],'data':{'changesets':_0x50081d}}});})['catch'](_0x5ac574=>{var _0x2cc515=_0x3b45f3;this[_0x2cc515(0x2e3)]['error'](_0x5ac574),_0x3d5d6c();});return;}}_0x3a2879[_0x3b45f3(0x55c)](gt(_0x10433a));},'close':()=>{var _0x2874cc=_0x34442e;_0x3a2879[_0x2874cc(0x3a3)](),_0x39eef9[_0x2874cc(0x444)]();}},_0x148055;}async[_0x497bf8(0x572)](_0x2d9b54,_0x5c0761){var _0x12c43e=_0x497bf8,_0x171aad;const {unitType:_0x377ae0,unitID:_0x34d4af,changeset:_0x1929a2}=_0x5c0761[_0x12c43e(0x57d)],_0x17d295={'unitID':_0x34d4af,'memberID':_0x2d9b54[_0x12c43e(0x2b4)],'type':_0x377ae0,'changeset':E['parseChangesetToProtocol'](_0x1929a2)},_0x45106b=this[_0x12c43e(0x4d3)][_0x12c43e(0x33a)](Y),_0x3a0565=oi((_0x171aad=_0x45106b==null?void 0x0:_0x45106b[_0x12c43e(0x1f3)])!=null?_0x171aad:$t,_0x377ae0,_0x34d4af);try{await this['_httpService']['post'](_0x3a0565,{'body':_0x17d295});}catch(_0x2829ff){throw this[_0x12c43e(0x2e3)]['error']('[CollaborationSession]',_0x12c43e(0x213)),_0x2829ff;}}async[_0x497bf8(0x2a7)](_0x4e6c5c){var _0x48e201=_0x497bf8;const {unitID:_0x199089,from:_0x244c8b,to:_0x3b48fe,unitType:_0x58cabc}=_0x4e6c5c[_0x48e201(0x57d)];return(await this[_0x48e201(0x535)][_0x48e201(0x521)]({'metadata':void 0x0},{'unitID':_0x199089,'type':_0x58cabc,'from':_0x244c8b,'to':_0x3b48fe}))[_0x48e201(0x4aa)][_0x48e201(0x392)](_0x4c4fb5=>((_0x4c4fb5[_0x48e201(0x265)]===null||_0x4c4fb5['mutations']===void 0x0)&&(_0x4c4fb5['mutations']=[]),_0x4c4fb5));}},exports[_0x497bf8(0x57c)]=ai([he(0x0,o[_0x497bf8(0x3f5)](o[_0x497bf8(0x35e)])),he(0x1,o['Inject'](K['HTTPService'])),he(0x2,o['IConfigService']),he(0x3,o[_0x497bf8(0x3a9)]),he(0x4,E['ISnapshotServerService'])],exports['CollaborationSocketService']);var ci=Object[_0x497bf8(0x4fe)],_i=(_0x3ac35c,_0x4f81b8,_0x3ebb1b,_0x1293fd)=>{for(var _0x1ceefd=_0x1293fd>0x1?void 0x0:_0x1293fd?ci(_0x4f81b8,_0x3ebb1b):_0x4f81b8,_0x1af9e6=_0x3ac35c['length']-0x1,_0x2b4dcf;_0x1af9e6>=0x0;_0x1af9e6--)(_0x2b4dcf=_0x3ac35c[_0x1af9e6])&&(_0x1ceefd=_0x2b4dcf(_0x1ceefd)||_0x1ceefd);return _0x1ceefd;},_e=(_0x26c770,_0x19d746)=>(_0xe3c64,_0x33a2fa)=>_0x19d746(_0xe3c64,_0x33a2fa,_0x26c770);exports[_0x497bf8(0x3b2)]=class extends o['Disposable']{constructor(_0x1dd0e5,_0x3d5cbc,_0x25b7b6,_0xb09790,_0x1fc3ae,_0x50a3a5){var _0x4a8f8f=_0x497bf8;super(),A(this,_0x4a8f8f(0x2c7),new j['BehaviorSubject'](void 0x0)),A(this,_0x4a8f8f(0x34f),this[_0x4a8f8f(0x2c7)][_0x4a8f8f(0x4d1)]()),A(this,_0x4a8f8f(0x4c4),null),A(this,_0x4a8f8f(0x345),new Map()),A(this,_0x4a8f8f(0x204),new j[(_0x4a8f8f(0x387))](se[_0x4a8f8f(0x312)])),A(this,'status$',this[_0x4a8f8f(0x204)]['asObservable']()),A(this,_0x4a8f8f(0x2ef),!0x1),A(this,'_retryConnectingTimer'),A(this,_0x4a8f8f(0x50d),0x0),A(this,_0x4a8f8f(0x3d8)),A(this,'_timeoutTimer'),(this[_0x4a8f8f(0x474)]=_0x1dd0e5,this[_0x4a8f8f(0x2e3)]=_0x3d5cbc,this[_0x4a8f8f(0x4d3)]=_0x25b7b6,this['_socketService']=_0xb09790,this[_0x4a8f8f(0x534)]=_0x1fc3ae,this[_0x4a8f8f(0x25c)]=_0x50a3a5,this['_listenToNetworkCondition']());}get[_0x497bf8(0x4db)](){var _0x3d4624=_0x497bf8;return this[_0x3d4624(0x2c7)][_0x3d4624(0x3e7)]();}['_listenToNetworkCondition'](){var _0x81165d=_0x497bf8;this[_0x81165d(0x25c)]&&this[_0x81165d(0x26d)](this[_0x81165d(0x25c)][_0x81165d(0x4a1)][_0x81165d(0x441)](_0x4699f1=>{var _0x1f2237=_0x81165d;_0x4699f1&&!this[_0x1f2237(0x4db)]&&this['reconnect'](),_0x4699f1||this[_0x1f2237(0x256)]();}));}[_0x497bf8(0x444)](){var _0x7e1a18=_0x497bf8;super['dispose'](),this[_0x7e1a18(0x30b)](),this[_0x7e1a18(0x2c4)](),this[_0x7e1a18(0x560)](),this[_0x7e1a18(0x345)][_0x7e1a18(0x49b)](_0x537bd6=>_0x537bd6['dispose']()),this[_0x7e1a18(0x345)]['clear'](),this[_0x7e1a18(0x204)][_0x7e1a18(0x2a2)]();}async[_0x497bf8(0x210)](_0x31f528){var _0x60f7cc=_0x497bf8;if(this[_0x60f7cc(0x345)][_0x60f7cc(0x26e)](_0x31f528))return this[_0x60f7cc(0x345)][_0x60f7cc(0x229)](_0x31f528);this[_0x60f7cc(0x3d9)]();const _0x4a47d4=this['_injector'][_0x60f7cc(0x20a)](exports['CollaborationSession'],_0x31f528,this[_0x60f7cc(0x2c7)][_0x60f7cc(0x4d1)]());return this[_0x60f7cc(0x345)][_0x60f7cc(0x2f3)](_0x31f528,_0x4a47d4),_0x4a47d4;}['closeSession'](_0x3caa18){var _0xfa6dcb=_0x497bf8,_0x482a80;const _0x14cdd6=this['_sessions'][_0xfa6dcb(0x229)](_0x3caa18);_0x14cdd6&&(this['_sessions']['delete'](_0x3caa18),_0x14cdd6[_0xfa6dcb(0x3a3)]()),this[_0xfa6dcb(0x345)][_0xfa6dcb(0x507)]||(_0x482a80=this['_socket'])==null||_0x482a80[_0xfa6dcb(0x3a3)]();}[_0x497bf8(0x42c)](){var _0x94e125=_0x497bf8;this[_0x94e125(0x50d)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x94e125(0x3ac)]();}['_clearRetryConnectingTimer'](){this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null);}async[_0x497bf8(0x228)](){var _0x5ce97d=_0x497bf8,_0x23a2d5;const _0x24f1b1=this['_configService'][_0x5ce97d(0x33a)](Y),_0xc514af=(_0x23a2d5=_0x24f1b1==null?void 0x0:_0x24f1b1[_0x5ce97d(0x4f8)])!=null?_0x23a2d5:_t,_0x1e5774=await this[_0x5ce97d(0x570)][_0x5ce97d(0x2be)](_0xc514af);return this['_candidateSocket']=_0x1e5774,_0x1e5774;}async[_0x497bf8(0x3d9)](){var _0x3828fe=_0x497bf8,_0x8f38df,_0x11bded;try{const _0x5462fa=(_0x11bded=(_0x8f38df=this['_socket'])!=null?_0x8f38df:this[_0x3828fe(0x4c4)])!=null?_0x11bded:await this[_0x3828fe(0x228)]();if(_0x5462fa){const _0x52a707=_0x5462fa[_0x3828fe(0x55c)];_0x5462fa[_0x3828fe(0x55c)]=_0x5eaf70=>(this[_0x3828fe(0x23f)](),_0x52a707['apply'](_0x5462fa,[_0x5eaf70])),_0x5462fa[_0x3828fe(0x492)]['subscribe'](_0x52c02a=>this['_onMessage'](_0x5462fa,_0x52c02a)),_0x5462fa[_0x3828fe(0x4c1)][_0x3828fe(0x4fa)](V['take'](0x1))[_0x3828fe(0x441)](_0x16b30b=>this[_0x3828fe(0x2e3)][_0x3828fe(0x536)](_0x3828fe(0x4a8),_0x16b30b)),_0x5462fa[_0x3828fe(0x4b1)][_0x3828fe(0x4fa)](V['take'](0x1))[_0x3828fe(0x441)](()=>{var _0x20ee4f=_0x3828fe;this[_0x20ee4f(0x49e)](_0x5462fa);}),_0x5462fa[_0x3828fe(0x42b)][_0x3828fe(0x4fa)](V['take'](0x1))[_0x3828fe(0x441)](_0x2f69d7=>{var _0xd15af9=_0x3828fe;this['_logService'][_0xd15af9(0x434)](_0xd15af9(0x25b),_0xd15af9(0x480),_0x2f69d7),this['_onConnectionFailed']();});}}catch(_0x18e6c2){this['_logService']['error'](_0x18e6c2),this[_0x3828fe(0x24b)]();}}[_0x497bf8(0x49e)](_0x34cbcc){var _0x422114=_0x497bf8;this['_logService']['debug'](_0x422114(0x25b),_0x422114(0x1fa)),_0x34cbcc[_0x422114(0x55c)]({'cmd':W[_0x422114(0x47c)]}),this[_0x422114(0x23f)]();}['_onOffline'](){var _0x434bd4=_0x497bf8;this[_0x434bd4(0x2ef)]=!0x1,this[_0x434bd4(0x4c4)]=null,this[_0x434bd4(0x204)]['next'](se[_0x434bd4(0x2c3)]),this[_0x434bd4(0x2c7)][_0x434bd4(0x580)](null),this[_0x434bd4(0x2c4)](),this[_0x434bd4(0x560)]();}[_0x497bf8(0x24b)](){var _0x4996c4=_0x497bf8,_0x97c9f4;this[_0x4996c4(0x256)](),this[_0x4996c4(0x50d)]<((_0x97c9f4=this[_0x4996c4(0x4d3)][_0x4996c4(0x33a)](ut))!=null?_0x97c9f4:wt)?(this[_0x4996c4(0x534)][_0x4996c4(0x2e8)]({'id':J[_0x4996c4(0x29b)]}),this[_0x4996c4(0x3ac)]()):this[_0x4996c4(0x534)][_0x4996c4(0x2e8)]({'id':J[_0x4996c4(0x447)]});}[_0x497bf8(0x3ac)](){var _0x228b0c=_0x497bf8,_0x260b2f;const _0x3adbdf=this[_0x228b0c(0x50d)],_0xa54ed9=this[_0x228b0c(0x4d3)][_0x228b0c(0x33a)](Y),_0x379822=_0x3adbdf===0x0?0x0:((_0x260b2f=_0xa54ed9==null?void 0x0:_0xa54ed9[_0x228b0c(0x4dc)])!=null?_0x260b2f:Mt)*0x2**_0x3adbdf;this[_0x228b0c(0x484)]=setTimeout(()=>{var _0x137560=_0x228b0c;clearTimeout(this[_0x137560(0x484)]),this[_0x137560(0x484)]=null,this[_0x137560(0x3d9)]();},_0x379822),this[_0x228b0c(0x50d)]+=0x1;}['_onMessage'](_0x596ae3,_0x54ddc3){var _0x35e9e4=_0x497bf8;const {cmd:_0x41603f}=_0x54ddc3;_0x41603f===W[_0x35e9e4(0x47c)]&&!this['_socketReady']&&(_0x596ae3[_0x35e9e4(0x2b4)]=_0x54ddc3[_0x35e9e4(0x57d)][_0x35e9e4(0x2b4)],this[_0x35e9e4(0x2c7)]['next'](_0x596ae3),this[_0x35e9e4(0x204)][_0x35e9e4(0x580)](se[_0x35e9e4(0x33b)]),this['_socketReady']=!0x0,this[_0x35e9e4(0x4c4)]=null),_0x41603f===W[_0x35e9e4(0x3a0)]&&this[_0x35e9e4(0x2c4)](),this[_0x35e9e4(0x23f)]();}[_0x497bf8(0x23f)](){var _0x21065c=_0x497bf8,_0x3a01f6;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x3a01f6=this['_configService'][_0x21065c(0x33a)](ht))!=null?_0x3a01f6:Lt);}[_0x497bf8(0x569)](){var _0x2145fe=_0x497bf8;this[_0x2145fe(0x4db)][_0x2145fe(0x55c)]({'cmd':W[_0x2145fe(0x3a0)]}),this['_waitForHeartbeatResponse']();}[_0x497bf8(0x252)](){var _0x472770=_0x497bf8,_0x15d345;this[_0x472770(0x571)]=setTimeout(()=>this[_0x472770(0x24b)](),(_0x15d345=this[_0x472770(0x4d3)][_0x472770(0x33a)](ke))!=null?_0x15d345:lt);}['_clearHeartbeatTimer'](){var _0x317b86=_0x497bf8;this[_0x317b86(0x3d8)]!=null&&(clearTimeout(this[_0x317b86(0x3d8)]),this[_0x317b86(0x3d8)]=null);}[_0x497bf8(0x2c4)](){var _0x3628f1=_0x497bf8;this[_0x3628f1(0x571)]!=null&&(clearTimeout(this[_0x3628f1(0x571)]),this[_0x3628f1(0x571)]=null);}},exports[_0x497bf8(0x3b2)]=_i([_e(0x0,o[_0x497bf8(0x3f5)](o[_0x497bf8(0x35e)])),_e(0x1,o['ILogService']),_e(0x2,o['IConfigService']),_e(0x3,Fe),_e(0x4,o['Inject'](ee)),_e(0x5,o['Optional'](pt))],exports[_0x497bf8(0x3b2)]);var hi=Object['getOwnPropertyDescriptor'],li=(_0x2bf772,_0x119fc3,_0x5e739c,_0x404840)=>{var _0x58427d=_0x497bf8;for(var _0x28ba3d=_0x404840>0x1?void 0x0:_0x404840?hi(_0x119fc3,_0x5e739c):_0x119fc3,_0x32e808=_0x2bf772[_0x58427d(0x2a5)]-0x1,_0x2c7b28;_0x32e808>=0x0;_0x32e808--)(_0x2c7b28=_0x2bf772[_0x32e808])&&(_0x28ba3d=_0x2c7b28(_0x28ba3d)||_0x28ba3d);return _0x28ba3d;},Se=(_0x330986,_0x2ad7fe)=>(_0x3320a9,_0x1590f4)=>_0x2ad7fe(_0x3320a9,_0x1590f4,_0x330986);exports[_0x497bf8(0x39f)]=class extends o[_0x497bf8(0x246)]{constructor(_0xbd783,_0x396001,_0x1a72b1,_0x1380e8){var _0x5b7361=_0x497bf8,_0x5ad461;super(),A(this,'_entities',new Map()),A(this,_0x5b7361(0x48a),new j['Subject']()),A(this,_0x5b7361(0x4ed),this[_0x5b7361(0x48a)][_0x5b7361(0x4d1)]()),(this[_0x5b7361(0x474)]=_0xbd783,this[_0x5b7361(0x51a)]=_0x396001,this[_0x5b7361(0x4d3)]=_0x1a72b1,this[_0x5b7361(0x301)]=_0x1380e8,((_0x5ad461=this[_0x5b7361(0x4d3)]['getConfig'](Y))==null?void 0x0:_0x5ad461[_0x5b7361(0x3ae)])!==!0x1&&this[_0x5b7361(0x2e0)]());}[_0x497bf8(0x444)](){var _0x28272b=_0x497bf8;super[_0x28272b(0x444)](),this[_0x28272b(0x4b4)][_0x28272b(0x49b)](_0x5ce960=>_0x5ce960['dispose']()),this[_0x28272b(0x4b4)][_0x28272b(0x234)]();}['getCollabEntity'](_0x33e981){var _0x710717=_0x497bf8,_0x4ce880;return(_0x4ce880=this['_entities'][_0x710717(0x229)](_0x33e981))!=null?_0x4ce880:null;}['getCollabEntity$'](_0xc31376){var _0x3ee2f9=_0x497bf8;const _0x5a2148=this['getCollabEntity'](_0xc31376);return _0x5a2148?j['of'](_0x5a2148):this[_0x3ee2f9(0x48a)][_0x3ee2f9(0x4fa)](V[_0x3ee2f9(0x545)](_0x24372e=>_0x24372e[_0x3ee2f9(0x299)]===_0xc31376));}[_0x497bf8(0x57a)](_0xcdb0f7){var _0x1eadeb=_0x497bf8;return j['firstValueFrom'](this[_0x1eadeb(0x3d3)](_0xcdb0f7)['pipe'](V['map'](()=>{})));}[_0x497bf8(0x2e0)](){var _0x5965c5=_0x497bf8;this[_0x5965c5(0x301)][_0x5965c5(0x412)](o['UniverInstanceType'][_0x5965c5(0x2ff)])[_0x5965c5(0x4fa)](j[_0x5965c5(0x403)](this[_0x5965c5(0x53c)]),V['delay'](0x10))['subscribe'](async _0x404f29=>{var _0x5c7a08=_0x5965c5;const _0x5e9577=_0x404f29['getUnitId'](),_0x4d2153=await this['_startCollaboration'](_0x5e9577,X[_0x5c7a08(0x2ff)]);this[_0x5c7a08(0x4b4)]['set'](_0x5e9577,_0x4d2153);}),this[_0x5965c5(0x301)]['getTypeOfUnitAdded$'](o[_0x5965c5(0x36a)]['UNIVER_DOC'])[_0x5965c5(0x4fa)](j[_0x5965c5(0x403)](this[_0x5965c5(0x53c)]),V[_0x5965c5(0x3a6)](0x10))[_0x5965c5(0x4fa)](V[_0x5965c5(0x545)](_0x52bc64=>!_0x52bc64[_0x5965c5(0x54d)]()[_0x5965c5(0x56a)]('__')))[_0x5965c5(0x441)](async _0x2686c0=>{var _0x492952=_0x5965c5;const _0x309c82=_0x2686c0[_0x492952(0x54d)](),_0xb0e0f8=await this[_0x492952(0x24f)](_0x309c82,X[_0x492952(0x541)]);this[_0x492952(0x4b4)][_0x492952(0x2f3)](_0x309c82,_0xb0e0f8);}),j[_0x5965c5(0x565)](this['_univerInstanceService'][_0x5965c5(0x328)](o[_0x5965c5(0x36a)][_0x5965c5(0x2ff)]),this[_0x5965c5(0x301)][_0x5965c5(0x328)](o[_0x5965c5(0x36a)]['UNIVER_DOC']))[_0x5965c5(0x4fa)](j['takeUntil'](this[_0x5965c5(0x53c)]))['subscribe'](_0x2e64e5=>{var _0x3ebc85=_0x5965c5;const _0x5d6607=_0x2e64e5[_0x3ebc85(0x54d)](),_0x310c07=this[_0x3ebc85(0x4b4)][_0x3ebc85(0x229)](_0x5d6607);_0x310c07&&(_0x310c07[_0x3ebc85(0x444)](),this[_0x3ebc85(0x4b4)][_0x3ebc85(0x2e9)](_0x5d6607));});}async['_startCollaboration'](_0x4b62f1,_0x14a60c){var _0xfd073e=_0x497bf8;const _0x327e9e=await this['_collabSessionService'][_0xfd073e(0x210)](_0x4b62f1),_0x2ee66e=this[_0xfd073e(0x474)]['createInstance'](this[_0xfd073e(0x39d)](_0x14a60c),_0x4b62f1,_0x14a60c,_0x327e9e);return await _0x2ee66e[_0xfd073e(0x47e)](),this[_0xfd073e(0x48a)][_0xfd073e(0x580)](_0x2ee66e),_0x2ee66e;}[_0x497bf8(0x39d)](_0x4c9057){var _0x292719=_0x497bf8;switch(_0x4c9057){case X[_0x292719(0x541)]:return exports[_0x292719(0x47b)];case X[_0x292719(0x2ff)]:return exports[_0x292719(0x526)];default:throw new Error(_0x292719(0x291)+_0x4c9057);}}},exports['CollaborationController']=li([Se(0x0,o[_0x497bf8(0x3f5)](o[_0x497bf8(0x35e)])),Se(0x1,o[_0x497bf8(0x3f5)](exports[_0x497bf8(0x3b2)])),Se(0x2,o[_0x497bf8(0x30e)]),Se(0x3,o[_0x497bf8(0x200)])],exports[_0x497bf8(0x39f)]);var ui=Object[_0x497bf8(0x4fe)],vi=(_0x3a422e,_0xc98f68,_0x273f5c,_0x40e429)=>{var _0x96a92b=_0x497bf8;for(var _0x527ed9=_0x40e429>0x1?void 0x0:_0x40e429?ui(_0xc98f68,_0x273f5c):_0xc98f68,_0x5ca134=_0x3a422e[_0x96a92b(0x2a5)]-0x1,_0x33a85e;_0x5ca134>=0x0;_0x5ca134--)(_0x33a85e=_0x3a422e[_0x5ca134])&&(_0x527ed9=_0x33a85e(_0x527ed9)||_0x527ed9);return _0x527ed9;},Ye=(_0x4fb5b1,_0x249dc2)=>(_0xceefd3,_0x327220)=>_0x249dc2(_0xceefd3,_0x327220,_0x4fb5b1);const di=_0x497bf8(0x226),Si=_0x497bf8(0x555);let xe=class extends o[_0x497bf8(0x584)]{constructor(_0x5d5583,_0x38e35a){var _0x478487=_0x497bf8;super(),this[_0x478487(0x301)]=_0x5d5583,this[_0x478487(0x4d3)]=_0x38e35a,this[_0x478487(0x2e0)]();}[_0x497bf8(0x2e0)](){var _0xf3abc2=_0x497bf8;this[_0xf3abc2(0x26d)](this[_0xf3abc2(0x301)][_0xf3abc2(0x3f0)][_0xf3abc2(0x441)](()=>{var _0x3e7732=_0xf3abc2,_0x2518a9;const _0xee9cf9=this[_0x3e7732(0x301)][_0x3e7732(0x2a1)]();let _0x279fae=(_0x2518a9=this[_0x3e7732(0x4d3)][_0x3e7732(0x33a)](di))!=null?_0x2518a9:Si;_0xee9cf9 instanceof o[_0x3e7732(0x3ce)]&&(_0x279fae=_0xee9cf9['name']),document[_0x3e7732(0x3aa)]=_0x279fae;}));}};xe=vi([Ye(0x0,o[_0x497bf8(0x200)]),Ye(0x1,o[_0x497bf8(0x30e)])],xe);var Ii=Object[_0x497bf8(0x4fe)],fi=(_0x220fd6,_0x23e825,_0x2b2d70,_0x33291f)=>{var _0x29ff17=_0x497bf8;for(var _0x5beb34=_0x33291f>0x1?void 0x0:_0x33291f?Ii(_0x23e825,_0x2b2d70):_0x23e825,_0x5d5e79=_0x220fd6[_0x29ff17(0x2a5)]-0x1,_0x475bfd;_0x5d5e79>=0x0;_0x5d5e79--)(_0x475bfd=_0x220fd6[_0x5d5e79])&&(_0x5beb34=_0x475bfd(_0x5beb34)||_0x5beb34);return _0x5beb34;},Ae=(_0x5974ad,_0x267171)=>(_0x1f4b28,_0x347919)=>_0x267171(_0x1f4b28,_0x347919,_0x5974ad);let Ne=class{constructor(_0x38d556,_0x182d4c,_0x3425cb){var _0x5a3606=_0x497bf8;this[_0x5a3606(0x4d3)]=_0x38d556,this[_0x5a3606(0x21a)]=_0x182d4c,this[_0x5a3606(0x518)]=_0x3425cb,this[_0x5a3606(0x47e)]();}[_0x497bf8(0x47e)](){var _0x43dded=_0x497bf8;this[_0x43dded(0x21a)][_0x43dded(0x562)]({'priority':0x1,'interceptor':(_0x86b703,_0x22b28e)=>_0x22b28e(_0x86b703)['pipe'](j[_0x43dded(0x2e4)](async _0x53f80a=>{var _0x317486=_0x43dded;const _0x3aa228=_0x53f80a;if(_0x3aa228[_0x317486(0x3e5)]===0x191){if(typeof window>'u')throw new Error(_0x317486(0x40b));if(window[_0x317486(0x342)](this[_0x317486(0x518)]['t'](_0x317486(0x54b)))){const _0x1fde6c=window[_0x317486(0x586)](window[_0x317486(0x206)][_0x317486(0x45a)]);window[_0x317486(0x206)]['href']=this[_0x317486(0x22d)]()+'?url='+_0x1fde6c;}}return _0x3aa228;}))});}[_0x497bf8(0x22d)](){var _0x5b0eac=_0x497bf8,_0x239827;const _0x44e4a7=this[_0x5b0eac(0x4d3)][_0x5b0eac(0x33a)](Y);return(_0x239827=_0x44e4a7==null?void 0x0:_0x44e4a7[_0x5b0eac(0x354)])!=null?_0x239827:Ht;}};Ne=fi([Ae(0x0,o[_0x497bf8(0x30e)]),Ae(0x1,o['Inject'](K['HTTPService'])),Ae(0x2,o[_0x497bf8(0x3f5)](o['LocaleService']))],Ne);var Ei=Object[_0x497bf8(0x4fe)],pi=(_0x2e0e10,_0x14d1b1,_0x49acc3,_0x4c7b35)=>{for(var _0x599d0f=_0x4c7b35>0x1?void 0x0:_0x4c7b35?Ei(_0x14d1b1,_0x49acc3):_0x14d1b1,_0x5db3c6=_0x2e0e10['length']-0x1,_0x416929;_0x5db3c6>=0x0;_0x5db3c6--)(_0x416929=_0x2e0e10[_0x5db3c6])&&(_0x599d0f=_0x416929(_0x599d0f)||_0x599d0f);return _0x599d0f;},Ke=(_0x16050c,_0x53bdee)=>(_0x48a6dd,_0x20699a)=>_0x53bdee(_0x48a6dd,_0x20699a,_0x16050c);const mi=_0x497bf8(0x41f);exports[_0x497bf8(0x230)]=class extends o['Disposable']{constructor(_0xf23fad,_0x492bba){var _0x3d1d97=_0x497bf8;super(),this[_0x3d1d97(0x247)]=_0xf23fad,this[_0x3d1d97(0x4d3)]=_0x492bba,this[_0x3d1d97(0x439)]();}['_initMergeInterceptor'](){var _0x45905f=_0x497bf8;const _0x23dbac=this;this[_0x45905f(0x26d)](this[_0x45905f(0x247)][_0x45905f(0x562)]({'priority':0x3e7,'interceptor':K[_0x45905f(0x216)]({'isMatch'(_0xb98454){var _0x539d61=_0x45905f,_0x1ec957;if(_0xb98454[_0x539d61(0x209)]===_0x539d61(0x390)&&((_0x1ec957=_0xb98454[_0x539d61(0x3c7)])!=null&&_0x1ec957[_0x539d61(0x51c)])){const {objectID:_0x5d1c8a,objectType:_0x39fb3a}=_0xb98454['requestParams'][_0x539d61(0x51c)]||{};if(!_0x5d1c8a||_0x39fb3a===void 0x0)return!0x1;const _0x2d61f3=_0x23dbac[_0x539d61(0x2f9)]()+'/'+_0x39fb3a+_0x539d61(0x325)+_0x5d1c8a+_0x539d61(0x56f);if(_0xb98454['url']===_0x2d61f3)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x15a2c2){var _0x6cec86=_0x45905f,_0x418f78;return(_0x418f78=_0x15a2c2[_0x6cec86(0x3c7)])==null?void 0x0:_0x418f78[_0x6cec86(0x51c)];},'mergeParamsToRequest'(_0x2e4354,_0x46032e){var _0x3e1751=_0x45905f;const _0x51d04c=_0x23dbac[_0x3e1751(0x2f9)]()+_0x3e1751(0x43e),_0x36086c=_0x2e4354[_0x3e1751(0x22e)]((_0xd11987,_0x4261e0)=>{var _0x2602d1=_0x3e1751;const {unitID:_0x1d21ab,objectID:_0x1e02d3,objectType:_0x24a679,actions:_0x33b463}=_0x4261e0;return _0xd11987[_0x1d21ab]||(_0xd11987[_0x1d21ab]={}),_0xd11987[_0x1d21ab][_0x1e02d3]||(_0xd11987[_0x1d21ab][_0x1e02d3]={'objectID':_0x1e02d3,'objectType':_0x24a679,'actions':[]}),_0xd11987[_0x1d21ab][_0x1e02d3][_0x2602d1(0x257)][_0x2602d1(0x303)](..._0x33b463),_0xd11987;},{}),_0x416891=[];for(const _0x3881b3 in _0x36086c)for(const _0x2d83d4 in _0x36086c[_0x3881b3]){const {actions:_0x275fb7,objectType:_0x5ad9f1}=_0x36086c[_0x3881b3][_0x2d83d4],_0x4cb17d=[...new Set(_0x275fb7)];_0x416891['push']({'unitID':_0x3881b3,'objectID':_0x2d83d4,'objectType':_0x5ad9f1,'actions':_0x4cb17d});}return new K[(_0x3e1751(0x284))]('POST',_0x51d04c,{'headers':_0x46032e[_0x3e1751(0x475)],'withCredentials':_0x46032e['withCredentials'],'responseType':_0x46032e[_0x3e1751(0x574)],'body':{'requests':_0x416891}});}},{'distributeResult'(_0x16e63e,_0x299009){var _0x36b8ae=_0x45905f;const {objectActions:_0x5650a9}=_0x16e63e;return _0x299009[_0x36b8ae(0x392)](_0x9de90e=>{var _0x3239ef=_0x36b8ae;const {unitID:_0x59a2b7,objectID:_0x4ef4ea,actions:_0x3ef026}=_0x9de90e,_0x20c8ff=_0x5650a9[_0x3239ef(0x4bf)](_0x5187b2=>_0x5187b2[_0x3239ef(0x299)]===_0x59a2b7&&_0x5187b2[_0x3239ef(0x3b1)]===_0x4ef4ea),_0x56df46=_0x3ef026[_0x3239ef(0x392)](_0x3cff00=>_0x20c8ff==null?void 0x0:_0x20c8ff[_0x3239ef(0x257)][_0x3239ef(0x4bf)](_0x170f5e=>_0x170f5e['action']===_0x3cff00))[_0x3239ef(0x545)](_0x3dfa11=>!!_0x3dfa11);return{'config':_0x9de90e,'result':{'actions':_0x56df46,'error':_0x16e63e['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x139432=_0x497bf8,_0x6e2522;const _0x2da4e6=this[_0x139432(0x4d3)][_0x139432(0x33a)](Y);return(_0x6e2522=_0x2da4e6==null?void 0x0:_0x2da4e6[_0x139432(0x2c9)])!=null?_0x6e2522:mi;}async[_0x497bf8(0x321)](_0x3c3cad){var _0x30b522=_0x497bf8;const _0x4c4463=this[_0x30b522(0x2f9)]()+'/'+_0x3c3cad[_0x30b522(0x4c0)]+_0x30b522(0x3f3);return(await this[_0x30b522(0x247)]['post'](_0x4c4463,{'body':_0x3c3cad}))[_0x30b522(0x51c)]['objectID']||'';}async['list'](_0x3944b3){var _0x12c3ff=_0x497bf8;const _0x33ac28=this['_getAPIPrefixPath']()+_0x12c3ff(0x260);return(await this['_HTTPService'][_0x12c3ff(0x4ae)](_0x33ac28,{'body':_0x3944b3}))['body'][_0x12c3ff(0x3e8)];}async['update'](_0x56b32c){var _0x4033b8=_0x497bf8,_0x1b3728,_0x485b89;const _0x4cc912=this[_0x4033b8(0x2f9)]()+'/'+_0x56b32c[_0x4033b8(0x4c0)]+_0x4033b8(0x325)+_0x56b32c['objectID'],_0x2b9d07=await this['_HTTPService'][_0x4033b8(0x399)](_0x4cc912,{'body':_0x56b32c});if(((_0x485b89=(_0x1b3728=_0x2b9d07==null?void 0x0:_0x2b9d07[_0x4033b8(0x51c)])==null?void 0x0:_0x1b3728[_0x4033b8(0x536)])==null?void 0x0:_0x485b89['code'])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x497bf8(0x2dc)](_0x6d6cac){var _0xfd30c4=_0x497bf8;const _0x19f074=this[_0xfd30c4(0x2f9)]()+'/'+_0x6d6cac[_0xfd30c4(0x4c0)]+'/object/'+_0x6d6cac[_0xfd30c4(0x3b1)]+_0xfd30c4(0x56f);return(await this[_0xfd30c4(0x247)][_0xfd30c4(0x4ae)](_0x19f074,{'body':_0x6d6cac}))[_0xfd30c4(0x51c)][_0xfd30c4(0x257)];}async['batchAllowed'](_0x2d4c42){var _0x5ee4ac=_0x497bf8;const _0x277c41=this[_0x5ee4ac(0x2f9)]()+_0x5ee4ac(0x43e);return(await this[_0x5ee4ac(0x247)][_0x5ee4ac(0x4ae)](_0x277c41,{'body':{'requests':_0x2d4c42}}))[_0x5ee4ac(0x51c)][_0x5ee4ac(0x4b0)];}async[_0x497bf8(0x3d6)](_0x54f64f){var _0x4d1d7f=_0x497bf8;const _0x3ac4ea=this[_0x4d1d7f(0x2f9)]()+'/'+_0x54f64f[_0x4d1d7f(0x4c0)]+_0x4d1d7f(0x396),_0x57db45=await this[_0x4d1d7f(0x247)]['post'](_0x3ac4ea,{'body':_0x54f64f});return{'roles':_0x57db45[_0x4d1d7f(0x51c)]['roles'],'actions':_0x57db45['body'][_0x4d1d7f(0x257)]};}async[_0x497bf8(0x57f)](_0x4b1e11){var _0x130f86=_0x497bf8;const _0x3fa772=this[_0x130f86(0x2f9)]()+'/collaborator';await this['_HTTPService']['delete'](_0x3fa772,{'params':{'collaboratorID':_0x4b1e11[_0x130f86(0x29c)],'objectID':_0x4b1e11[_0x130f86(0x3b1)],'unitID':_0x4b1e11[_0x130f86(0x299)]}});}async['updateCollaborator'](_0x4e948f){var _0x5bbc49=_0x497bf8;const _0x23a827=this['_getAPIPrefixPath']()+_0x5bbc49(0x2b8);await this[_0x5bbc49(0x247)][_0x5bbc49(0x446)](_0x23a827,{'body':_0x4e948f});}async[_0x497bf8(0x46f)](_0x299e3c){var _0x1c55dd=_0x497bf8;const _0x37c92c=this[_0x1c55dd(0x2f9)]()+_0x1c55dd(0x2b8);await this[_0x1c55dd(0x247)]['post'](_0x37c92c,{'body':_0x299e3c});}async[_0x497bf8(0x336)](_0x1afdb9){var _0x378848=_0x497bf8;const _0x4703a4=this[_0x378848(0x2f9)]()+_0x378848(0x2b8);return(await this['_HTTPService']['get'](_0x4703a4,{'params':{'objectID':_0x1afdb9[_0x378848(0x3b1)],'unitID':_0x1afdb9['unitID']}}))['body'][_0x378848(0x49f)];}async[_0x497bf8(0x408)](_0x5e8a40){var _0x7de55f=_0x497bf8;const _0x15ace0=this[_0x7de55f(0x2f9)]()+'/collaborator';await this[_0x7de55f(0x247)][_0x7de55f(0x399)](_0x15ace0,{'body':_0x5e8a40});}},exports[_0x497bf8(0x230)]=pi([Ke(0x0,o[_0x497bf8(0x3f5)](K[_0x497bf8(0x1f8)])),Ke(0x1,o['Inject'](o[_0x497bf8(0x30e)]))],exports[_0x497bf8(0x230)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function de(_0x5ac0cb){var _0x8f34bc=_0x497bf8;return _0x5ac0cb&&_0x5ac0cb[_0x8f34bc(0x511)]&&Object['prototype'][_0x8f34bc(0x34b)]['call'](_0x5ac0cb,_0x8f34bc(0x2ee))?_0x5ac0cb['default']:_0x5ac0cb;}var Ie={'exports':{}};function gi(_0x5756b8){var _0xe634d4=_0x497bf8;throw new Error(_0xe634d4(0x326)+_0x5756b8+_0xe634d4(0x400));}var fe={'exports':{}},Ti=fe[_0x497bf8(0x49a)],qe;function Z(){var _0x55cc9e=_0x497bf8;return qe||(qe=0x1,function(_0x5670d1,_0x174465){(function(_0x4ed1d3,_0x3025f9){_0x5670d1['exports']=_0x3025f9();}(Ti,function(){var _0x57878b=_0x57878b||function(_0x26d7c5,_0x18b93d){var _0x5990cc=_0x382c,_0x5eab9f;if(typeof window<'u'&&window[_0x5990cc(0x4b6)]&&(_0x5eab9f=window['crypto']),typeof self<'u'&&self[_0x5990cc(0x4b6)]&&(_0x5eab9f=self[_0x5990cc(0x4b6)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x5eab9f=globalThis[_0x5990cc(0x4b6)]),!_0x5eab9f&&typeof window<'u'&&window[_0x5990cc(0x2a6)]&&(_0x5eab9f=window['msCrypto']),!_0x5eab9f&&typeof Pe<'u'&&Pe[_0x5990cc(0x4b6)]&&(_0x5eab9f=Pe[_0x5990cc(0x4b6)]),!_0x5eab9f&&typeof gi==_0x5990cc(0x502))try{_0x5eab9f=require('crypto');}catch{}var _0x22db65=function(){var _0x2b980f=_0x5990cc;if(_0x5eab9f){if(typeof _0x5eab9f['getRandomValues']==_0x2b980f(0x502))try{return _0x5eab9f[_0x2b980f(0x454)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5eab9f[_0x2b980f(0x515)]=='function')try{return _0x5eab9f[_0x2b980f(0x515)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x2b980f(0x568));},_0x572007=Object[_0x5990cc(0x321)]||(function(){function _0x25c79a(){}return function(_0x3891f9){var _0x4efe31=_0x382c,_0x46bc8d;return _0x25c79a[_0x4efe31(0x296)]=_0x3891f9,_0x46bc8d=new _0x25c79a(),_0x25c79a[_0x4efe31(0x296)]=null,_0x46bc8d;};}()),_0x5e6a1d={},_0x38e67e=_0x5e6a1d['lib']={},_0x57b00a=_0x38e67e[_0x5990cc(0x576)]=(function(){return{'extend':function(_0x5367a9){var _0x4ad9b1=_0x382c,_0x4b801d=_0x572007(this);return _0x5367a9&&_0x4b801d[_0x4ad9b1(0x2b2)](_0x5367a9),(!_0x4b801d[_0x4ad9b1(0x34b)]('init')||this[_0x4ad9b1(0x47e)]===_0x4b801d[_0x4ad9b1(0x47e)])&&(_0x4b801d['init']=function(){var _0x592d24=_0x4ad9b1;_0x4b801d['$super'][_0x592d24(0x47e)]['apply'](this,arguments);}),_0x4b801d[_0x4ad9b1(0x47e)][_0x4ad9b1(0x296)]=_0x4b801d,_0x4b801d[_0x4ad9b1(0x3ca)]=this,_0x4b801d;},'create':function(){var _0x5131ba=_0x382c,_0x5b69c6=this[_0x5131ba(0x394)]();return _0x5b69c6[_0x5131ba(0x47e)][_0x5131ba(0x3b8)](_0x5b69c6,arguments),_0x5b69c6;},'init':function(){},'mixIn':function(_0x41e499){var _0x236f72=_0x382c;for(var _0x4c4867 in _0x41e499)_0x41e499[_0x236f72(0x34b)](_0x4c4867)&&(this[_0x4c4867]=_0x41e499[_0x4c4867]);_0x41e499[_0x236f72(0x34b)](_0x236f72(0x537))&&(this['toString']=_0x41e499['toString']);},'clone':function(){var _0x44b777=_0x382c;return this[_0x44b777(0x47e)][_0x44b777(0x296)][_0x44b777(0x394)](this);}};}()),_0x1dfd95=_0x38e67e[_0x5990cc(0x307)]=_0x57b00a[_0x5990cc(0x394)]({'init':function(_0x3c422c,_0x42f494){var _0x4ddcea=_0x5990cc;_0x3c422c=this[_0x4ddcea(0x2e2)]=_0x3c422c||[],_0x42f494!=_0x18b93d?this[_0x4ddcea(0x37a)]=_0x42f494:this[_0x4ddcea(0x37a)]=_0x3c422c[_0x4ddcea(0x2a5)]*0x4;},'toString':function(_0x1dd13c){var _0x559c43=_0x5990cc;return(_0x1dd13c||_0x2106ab)[_0x559c43(0x4ad)](this);},'concat':function(_0x1b56fe){var _0x5a8c91=_0x5990cc,_0x1ee728=this[_0x5a8c91(0x2e2)],_0x5918c8=_0x1b56fe['words'],_0x5751d1=this[_0x5a8c91(0x37a)],_0x4876aa=_0x1b56fe[_0x5a8c91(0x37a)];if(this[_0x5a8c91(0x385)](),_0x5751d1%0x4)for(var _0x934508=0x0;_0x934508<_0x4876aa;_0x934508++){var _0x4fccf3=_0x5918c8[_0x934508>>>0x2]>>>0x18-_0x934508%0x4*0x8&0xff;_0x1ee728[_0x5751d1+_0x934508>>>0x2]|=_0x4fccf3<<0x18-(_0x5751d1+_0x934508)%0x4*0x8;}else{for(var _0xa26987=0x0;_0xa26987<_0x4876aa;_0xa26987+=0x4)_0x1ee728[_0x5751d1+_0xa26987>>>0x2]=_0x5918c8[_0xa26987>>>0x2];}return this[_0x5a8c91(0x37a)]+=_0x4876aa,this;},'clamp':function(){var _0x4ff3f0=_0x5990cc,_0x5e9733=this[_0x4ff3f0(0x2e2)],_0x126050=this[_0x4ff3f0(0x37a)];_0x5e9733[_0x126050>>>0x2]&=0xffffffff<<0x20-_0x126050%0x4*0x8,_0x5e9733[_0x4ff3f0(0x2a5)]=_0x26d7c5[_0x4ff3f0(0x309)](_0x126050/0x4);},'clone':function(){var _0x4297ab=_0x5990cc,_0x459486=_0x57b00a[_0x4297ab(0x306)]['call'](this);return _0x459486[_0x4297ab(0x2e2)]=this[_0x4297ab(0x2e2)][_0x4297ab(0x44f)](0x0),_0x459486;},'random':function(_0x50f745){var _0x150558=_0x5990cc;for(var _0x3f5759=[],_0x3da391=0x0;_0x3da391<_0x50f745;_0x3da391+=0x4)_0x3f5759[_0x150558(0x303)](_0x22db65());return new _0x1dfd95['init'](_0x3f5759,_0x50f745);}}),_0x5381b3=_0x5e6a1d[_0x5990cc(0x2fe)]={},_0x2106ab=_0x5381b3['Hex']={'stringify':function(_0x53a11e){var _0x1e1648=_0x5990cc;for(var _0x1c3cd1=_0x53a11e[_0x1e1648(0x2e2)],_0x2ff4b6=_0x53a11e[_0x1e1648(0x37a)],_0x32bb6f=[],_0x42b7c4=0x0;_0x42b7c4<_0x2ff4b6;_0x42b7c4++){var _0x3c7efe=_0x1c3cd1[_0x42b7c4>>>0x2]>>>0x18-_0x42b7c4%0x4*0x8&0xff;_0x32bb6f[_0x1e1648(0x303)]((_0x3c7efe>>>0x4)[_0x1e1648(0x537)](0x10)),_0x32bb6f['push']((_0x3c7efe&0xf)['toString'](0x10));}return _0x32bb6f[_0x1e1648(0x2e1)]('');},'parse':function(_0x4d7b65){var _0x23e7dc=_0x5990cc;for(var _0x1e2615=_0x4d7b65[_0x23e7dc(0x2a5)],_0x6c4aa8=[],_0x1a3c82=0x0;_0x1a3c82<_0x1e2615;_0x1a3c82+=0x2)_0x6c4aa8[_0x1a3c82>>>0x3]|=parseInt(_0x4d7b65['substr'](_0x1a3c82,0x2),0x10)<<0x18-_0x1a3c82%0x8*0x4;return new _0x1dfd95[(_0x23e7dc(0x47e))](_0x6c4aa8,_0x1e2615/0x2);}},_0xc2166d=_0x5381b3[_0x5990cc(0x525)]={'stringify':function(_0x182446){var _0x3ca562=_0x5990cc;for(var _0x24c264=_0x182446[_0x3ca562(0x2e2)],_0x184c1b=_0x182446[_0x3ca562(0x37a)],_0x2db377=[],_0x6c431e=0x0;_0x6c431e<_0x184c1b;_0x6c431e++){var _0x6dfb82=_0x24c264[_0x6c431e>>>0x2]>>>0x18-_0x6c431e%0x4*0x8&0xff;_0x2db377['push'](String['fromCharCode'](_0x6dfb82));}return _0x2db377[_0x3ca562(0x2e1)]('');},'parse':function(_0x5c848d){var _0x3f0705=_0x5990cc;for(var _0x5e17ff=_0x5c848d[_0x3f0705(0x2a5)],_0x107749=[],_0x5c7ff1=0x0;_0x5c7ff1<_0x5e17ff;_0x5c7ff1++)_0x107749[_0x5c7ff1>>>0x2]|=(_0x5c848d[_0x3f0705(0x2d9)](_0x5c7ff1)&0xff)<<0x18-_0x5c7ff1%0x4*0x8;return new _0x1dfd95[(_0x3f0705(0x47e))](_0x107749,_0x5e17ff);}},_0x4fad81=_0x5381b3['Utf8']={'stringify':function(_0xd9b69f){var _0x38aca6=_0x5990cc;try{return decodeURIComponent(escape(_0xc2166d[_0x38aca6(0x4ad)](_0xd9b69f)));}catch{throw new Error(_0x38aca6(0x3be));}},'parse':function(_0xfc9c2b){var _0x29fdcd=_0x5990cc;return _0xc2166d[_0x29fdcd(0x32a)](unescape(encodeURIComponent(_0xfc9c2b)));}},_0x39277e=_0x38e67e[_0x5990cc(0x43b)]=_0x57b00a[_0x5990cc(0x394)]({'reset':function(){var _0x125268=_0x5990cc;this['_data']=new _0x1dfd95[(_0x125268(0x47e))](),this[_0x125268(0x31d)]=0x0;},'_append':function(_0x3c360f){var _0x2871ea=_0x5990cc;typeof _0x3c360f=='string'&&(_0x3c360f=_0x4fad81[_0x2871ea(0x32a)](_0x3c360f)),this[_0x2871ea(0x344)]['concat'](_0x3c360f),this['_nDataBytes']+=_0x3c360f[_0x2871ea(0x37a)];},'_process':function(_0x4adf81){var _0x48ea10=_0x5990cc,_0x45adfc,_0x42a040=this[_0x48ea10(0x344)],_0x372a99=_0x42a040[_0x48ea10(0x2e2)],_0x42abd2=_0x42a040[_0x48ea10(0x37a)],_0x23822c=this[_0x48ea10(0x3c9)],_0x5eacab=_0x23822c*0x4,_0x3dd859=_0x42abd2/_0x5eacab;_0x4adf81?_0x3dd859=_0x26d7c5[_0x48ea10(0x309)](_0x3dd859):_0x3dd859=_0x26d7c5[_0x48ea10(0x2ca)]((_0x3dd859|0x0)-this[_0x48ea10(0x282)],0x0);var _0x462385=_0x3dd859*_0x23822c,_0x198aa0=_0x26d7c5[_0x48ea10(0x517)](_0x462385*0x4,_0x42abd2);if(_0x462385){for(var _0xb11eef=0x0;_0xb11eef<_0x462385;_0xb11eef+=_0x23822c)this[_0x48ea10(0x279)](_0x372a99,_0xb11eef);_0x45adfc=_0x372a99[_0x48ea10(0x45f)](0x0,_0x462385),_0x42a040[_0x48ea10(0x37a)]-=_0x198aa0;}return new _0x1dfd95[(_0x48ea10(0x47e))](_0x45adfc,_0x198aa0);},'clone':function(){var _0xd2912=_0x5990cc,_0x44d385=_0x57b00a[_0xd2912(0x306)][_0xd2912(0x55f)](this);return _0x44d385[_0xd2912(0x344)]=this[_0xd2912(0x344)][_0xd2912(0x306)](),_0x44d385;},'_minBufferSize':0x0});_0x38e67e['Hasher']=_0x39277e[_0x5990cc(0x394)]({'cfg':_0x57b00a[_0x5990cc(0x394)](),'init':function(_0x4569f2){var _0x183708=_0x5990cc;this['cfg']=this[_0x183708(0x577)][_0x183708(0x394)](_0x4569f2),this[_0x183708(0x34a)]();},'reset':function(){var _0x902056=_0x5990cc;_0x39277e[_0x902056(0x34a)][_0x902056(0x55f)](this),this[_0x902056(0x26f)]();},'update':function(_0x46fe9d){var _0x3cfac1=_0x5990cc;return this[_0x3cfac1(0x319)](_0x46fe9d),this['_process'](),this;},'finalize':function(_0x3904f1){var _0x3c6e6c=_0x5990cc;_0x3904f1&&this[_0x3c6e6c(0x319)](_0x3904f1);var _0x4a22be=this[_0x3c6e6c(0x4a9)]();return _0x4a22be;},'blockSize':0x10,'_createHelper':function(_0x6ef469){return function(_0x2b7d73,_0x130afa){return new _0x6ef469['init'](_0x130afa)['finalize'](_0x2b7d73);};},'_createHmacHelper':function(_0x2ba8c7){return function(_0x50147a,_0x5218e7){var _0x3d7cba=_0x382c;return new _0x5c8ffe[(_0x3d7cba(0x512))][(_0x3d7cba(0x47e))](_0x2ba8c7,_0x5218e7)[_0x3d7cba(0x371)](_0x50147a);};}});var _0x5c8ffe=_0x5e6a1d[_0x5990cc(0x459)]={};return _0x5e6a1d;}(Math);return _0x57878b;}));}(fe)),fe[_0x55cc9e(0x49a)];}var Ee={'exports':{}},Ci=Ee[_0x497bf8(0x49a)],ze;function Tt(){return ze||(ze=0x1,function(_0x34ebfb,_0x33e0f4){(function(_0x4387ac,_0x21a0f2){var _0x5781f4=_0x382c;_0x34ebfb[_0x5781f4(0x49a)]=_0x21a0f2(Z());}(Ci,function(_0x25afaf){var _0x46210d=_0x382c;return(function(){var _0x443474=_0x382c,_0x16e72b=_0x25afaf,_0x43ccd2=_0x16e72b['lib'],_0x59e057=_0x43ccd2[_0x443474(0x307)],_0x5809c1=_0x16e72b['enc'];_0x5809c1['Base64']={'stringify':function(_0x2808f2){var _0x3136d7=_0x443474,_0x52c97e=_0x2808f2['words'],_0x43ffa5=_0x2808f2[_0x3136d7(0x37a)],_0x3ff8dc=this[_0x3136d7(0x271)];_0x2808f2[_0x3136d7(0x385)]();for(var _0x248365=[],_0x17d290=0x0;_0x17d290<_0x43ffa5;_0x17d290+=0x3)for(var _0x34481c=_0x52c97e[_0x17d290>>>0x2]>>>0x18-_0x17d290%0x4*0x8&0xff,_0x1c4617=_0x52c97e[_0x17d290+0x1>>>0x2]>>>0x18-(_0x17d290+0x1)%0x4*0x8&0xff,_0xd5a96e=_0x52c97e[_0x17d290+0x2>>>0x2]>>>0x18-(_0x17d290+0x2)%0x4*0x8&0xff,_0x7e667f=_0x34481c<<0x10|_0x1c4617<<0x8|_0xd5a96e,_0x34f899=0x0;_0x34f899<0x4&&_0x17d290+_0x34f899*0.75<_0x43ffa5;_0x34f899++)_0x248365[_0x3136d7(0x303)](_0x3ff8dc[_0x3136d7(0x56c)](_0x7e667f>>>0x6*(0x3-_0x34f899)&0x3f));var _0x35519d=_0x3ff8dc[_0x3136d7(0x56c)](0x40);if(_0x35519d){for(;_0x248365[_0x3136d7(0x2a5)]%0x4;)_0x248365[_0x3136d7(0x303)](_0x35519d);}return _0x248365[_0x3136d7(0x2e1)]('');},'parse':function(_0x357945){var _0x29314e=_0x443474,_0x279353=_0x357945[_0x29314e(0x2a5)],_0x10f034=this['_map'],_0x566f68=this[_0x29314e(0x4ef)];if(!_0x566f68){_0x566f68=this['_reverseMap']=[];for(var _0x334b23=0x0;_0x334b23<_0x10f034[_0x29314e(0x2a5)];_0x334b23++)_0x566f68[_0x10f034[_0x29314e(0x2d9)](_0x334b23)]=_0x334b23;}var _0x184c64=_0x10f034['charAt'](0x40);if(_0x184c64){var _0x3df2ee=_0x357945[_0x29314e(0x3dd)](_0x184c64);_0x3df2ee!==-0x1&&(_0x279353=_0x3df2ee);}return _0x4f95a6(_0x357945,_0x279353,_0x566f68);},'_map':_0x443474(0x29e)};function _0x4f95a6(_0x2b18b6,_0x2c75c3,_0x417af7){var _0xa6b596=_0x443474;for(var _0x38f252=[],_0x4ed0b3=0x0,_0x375bed=0x0;_0x375bed<_0x2c75c3;_0x375bed++)if(_0x375bed%0x4){var _0x3dd982=_0x417af7[_0x2b18b6['charCodeAt'](_0x375bed-0x1)]<<_0x375bed%0x4*0x2,_0x47c151=_0x417af7[_0x2b18b6[_0xa6b596(0x2d9)](_0x375bed)]>>>0x6-_0x375bed%0x4*0x2,_0xd54122=_0x3dd982|_0x47c151;_0x38f252[_0x4ed0b3>>>0x2]|=_0xd54122<<0x18-_0x4ed0b3%0x4*0x8,_0x4ed0b3++;}return _0x59e057['create'](_0x38f252,_0x4ed0b3);}}()),_0x25afaf[_0x46210d(0x2fe)]['Base64'];}));}(Ee)),Ee['exports'];}var pe={'exports':{}},Oi=pe['exports'],Xe;function bi(){return Xe||(Xe=0x1,function(_0x14e8f5,_0x3cd709){(function(_0x24ec82,_0x11a2ea){var _0x44c703=_0x382c;_0x14e8f5[_0x44c703(0x49a)]=_0x11a2ea(Z());}(Oi,function(_0x5489b2){var _0x3d68a5=_0x382c;return function(_0x2363e0){var _0xc69ffe=_0x382c,_0x168448=_0x5489b2,_0x2a3c76=_0x168448[_0xc69ffe(0x3ea)],_0x1faa38=_0x2a3c76[_0xc69ffe(0x307)],_0x2adcb8=_0x2a3c76[_0xc69ffe(0x3ba)],_0x15b21d=_0x168448[_0xc69ffe(0x459)],_0x162424=[];(function(){var _0xd45adb=_0xc69ffe;for(var _0xc7c717=0x0;_0xc7c717<0x40;_0xc7c717++)_0x162424[_0xc7c717]=_0x2363e0[_0xd45adb(0x50e)](_0x2363e0[_0xd45adb(0x42d)](_0xc7c717+0x1))*0x100000000|0x0;}());var _0x3133ba=_0x15b21d[_0xc69ffe(0x373)]=_0x2adcb8[_0xc69ffe(0x394)]({'_doReset':function(){var _0x5d9e06=_0xc69ffe;this['_hash']=new _0x1faa38[(_0x5d9e06(0x47e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x507073,_0x2b4c82){var _0x21e494=_0xc69ffe;for(var _0x579e73=0x0;_0x579e73<0x10;_0x579e73++){var _0x3e1c9e=_0x2b4c82+_0x579e73,_0x48f662=_0x507073[_0x3e1c9e];_0x507073[_0x3e1c9e]=(_0x48f662<<0x8|_0x48f662>>>0x18)&0xff00ff|(_0x48f662<<0x18|_0x48f662>>>0x8)&0xff00ff00;}var _0x5c50c7=this[_0x21e494(0x398)][_0x21e494(0x2e2)],_0x2aadcd=_0x507073[_0x2b4c82+0x0],_0x122b5d=_0x507073[_0x2b4c82+0x1],_0x1f5d8e=_0x507073[_0x2b4c82+0x2],_0x227b80=_0x507073[_0x2b4c82+0x3],_0x89075=_0x507073[_0x2b4c82+0x4],_0x445b1a=_0x507073[_0x2b4c82+0x5],_0x2a22e8=_0x507073[_0x2b4c82+0x6],_0x36fe68=_0x507073[_0x2b4c82+0x7],_0x4497a1=_0x507073[_0x2b4c82+0x8],_0x256e0e=_0x507073[_0x2b4c82+0x9],_0x438ad1=_0x507073[_0x2b4c82+0xa],_0x47ba86=_0x507073[_0x2b4c82+0xb],_0x1f974f=_0x507073[_0x2b4c82+0xc],_0xbb390=_0x507073[_0x2b4c82+0xd],_0x39d01e=_0x507073[_0x2b4c82+0xe],_0x5384e8=_0x507073[_0x2b4c82+0xf],_0x3388d3=_0x5c50c7[0x0],_0x508184=_0x5c50c7[0x1],_0x4ac8b7=_0x5c50c7[0x2],_0x393176=_0x5c50c7[0x3];_0x3388d3=_0x4ce0ff(_0x3388d3,_0x508184,_0x4ac8b7,_0x393176,_0x2aadcd,0x7,_0x162424[0x0]),_0x393176=_0x4ce0ff(_0x393176,_0x3388d3,_0x508184,_0x4ac8b7,_0x122b5d,0xc,_0x162424[0x1]),_0x4ac8b7=_0x4ce0ff(_0x4ac8b7,_0x393176,_0x3388d3,_0x508184,_0x1f5d8e,0x11,_0x162424[0x2]),_0x508184=_0x4ce0ff(_0x508184,_0x4ac8b7,_0x393176,_0x3388d3,_0x227b80,0x16,_0x162424[0x3]),_0x3388d3=_0x4ce0ff(_0x3388d3,_0x508184,_0x4ac8b7,_0x393176,_0x89075,0x7,_0x162424[0x4]),_0x393176=_0x4ce0ff(_0x393176,_0x3388d3,_0x508184,_0x4ac8b7,_0x445b1a,0xc,_0x162424[0x5]),_0x4ac8b7=_0x4ce0ff(_0x4ac8b7,_0x393176,_0x3388d3,_0x508184,_0x2a22e8,0x11,_0x162424[0x6]),_0x508184=_0x4ce0ff(_0x508184,_0x4ac8b7,_0x393176,_0x3388d3,_0x36fe68,0x16,_0x162424[0x7]),_0x3388d3=_0x4ce0ff(_0x3388d3,_0x508184,_0x4ac8b7,_0x393176,_0x4497a1,0x7,_0x162424[0x8]),_0x393176=_0x4ce0ff(_0x393176,_0x3388d3,_0x508184,_0x4ac8b7,_0x256e0e,0xc,_0x162424[0x9]),_0x4ac8b7=_0x4ce0ff(_0x4ac8b7,_0x393176,_0x3388d3,_0x508184,_0x438ad1,0x11,_0x162424[0xa]),_0x508184=_0x4ce0ff(_0x508184,_0x4ac8b7,_0x393176,_0x3388d3,_0x47ba86,0x16,_0x162424[0xb]),_0x3388d3=_0x4ce0ff(_0x3388d3,_0x508184,_0x4ac8b7,_0x393176,_0x1f974f,0x7,_0x162424[0xc]),_0x393176=_0x4ce0ff(_0x393176,_0x3388d3,_0x508184,_0x4ac8b7,_0xbb390,0xc,_0x162424[0xd]),_0x4ac8b7=_0x4ce0ff(_0x4ac8b7,_0x393176,_0x3388d3,_0x508184,_0x39d01e,0x11,_0x162424[0xe]),_0x508184=_0x4ce0ff(_0x508184,_0x4ac8b7,_0x393176,_0x3388d3,_0x5384e8,0x16,_0x162424[0xf]),_0x3388d3=_0x2eedcb(_0x3388d3,_0x508184,_0x4ac8b7,_0x393176,_0x122b5d,0x5,_0x162424[0x10]),_0x393176=_0x2eedcb(_0x393176,_0x3388d3,_0x508184,_0x4ac8b7,_0x2a22e8,0x9,_0x162424[0x11]),_0x4ac8b7=_0x2eedcb(_0x4ac8b7,_0x393176,_0x3388d3,_0x508184,_0x47ba86,0xe,_0x162424[0x12]),_0x508184=_0x2eedcb(_0x508184,_0x4ac8b7,_0x393176,_0x3388d3,_0x2aadcd,0x14,_0x162424[0x13]),_0x3388d3=_0x2eedcb(_0x3388d3,_0x508184,_0x4ac8b7,_0x393176,_0x445b1a,0x5,_0x162424[0x14]),_0x393176=_0x2eedcb(_0x393176,_0x3388d3,_0x508184,_0x4ac8b7,_0x438ad1,0x9,_0x162424[0x15]),_0x4ac8b7=_0x2eedcb(_0x4ac8b7,_0x393176,_0x3388d3,_0x508184,_0x5384e8,0xe,_0x162424[0x16]),_0x508184=_0x2eedcb(_0x508184,_0x4ac8b7,_0x393176,_0x3388d3,_0x89075,0x14,_0x162424[0x17]),_0x3388d3=_0x2eedcb(_0x3388d3,_0x508184,_0x4ac8b7,_0x393176,_0x256e0e,0x5,_0x162424[0x18]),_0x393176=_0x2eedcb(_0x393176,_0x3388d3,_0x508184,_0x4ac8b7,_0x39d01e,0x9,_0x162424[0x19]),_0x4ac8b7=_0x2eedcb(_0x4ac8b7,_0x393176,_0x3388d3,_0x508184,_0x227b80,0xe,_0x162424[0x1a]),_0x508184=_0x2eedcb(_0x508184,_0x4ac8b7,_0x393176,_0x3388d3,_0x4497a1,0x14,_0x162424[0x1b]),_0x3388d3=_0x2eedcb(_0x3388d3,_0x508184,_0x4ac8b7,_0x393176,_0xbb390,0x5,_0x162424[0x1c]),_0x393176=_0x2eedcb(_0x393176,_0x3388d3,_0x508184,_0x4ac8b7,_0x1f5d8e,0x9,_0x162424[0x1d]),_0x4ac8b7=_0x2eedcb(_0x4ac8b7,_0x393176,_0x3388d3,_0x508184,_0x36fe68,0xe,_0x162424[0x1e]),_0x508184=_0x2eedcb(_0x508184,_0x4ac8b7,_0x393176,_0x3388d3,_0x1f974f,0x14,_0x162424[0x1f]),_0x3388d3=_0x29f4fa(_0x3388d3,_0x508184,_0x4ac8b7,_0x393176,_0x445b1a,0x4,_0x162424[0x20]),_0x393176=_0x29f4fa(_0x393176,_0x3388d3,_0x508184,_0x4ac8b7,_0x4497a1,0xb,_0x162424[0x21]),_0x4ac8b7=_0x29f4fa(_0x4ac8b7,_0x393176,_0x3388d3,_0x508184,_0x47ba86,0x10,_0x162424[0x22]),_0x508184=_0x29f4fa(_0x508184,_0x4ac8b7,_0x393176,_0x3388d3,_0x39d01e,0x17,_0x162424[0x23]),_0x3388d3=_0x29f4fa(_0x3388d3,_0x508184,_0x4ac8b7,_0x393176,_0x122b5d,0x4,_0x162424[0x24]),_0x393176=_0x29f4fa(_0x393176,_0x3388d3,_0x508184,_0x4ac8b7,_0x89075,0xb,_0x162424[0x25]),_0x4ac8b7=_0x29f4fa(_0x4ac8b7,_0x393176,_0x3388d3,_0x508184,_0x36fe68,0x10,_0x162424[0x26]),_0x508184=_0x29f4fa(_0x508184,_0x4ac8b7,_0x393176,_0x3388d3,_0x438ad1,0x17,_0x162424[0x27]),_0x3388d3=_0x29f4fa(_0x3388d3,_0x508184,_0x4ac8b7,_0x393176,_0xbb390,0x4,_0x162424[0x28]),_0x393176=_0x29f4fa(_0x393176,_0x3388d3,_0x508184,_0x4ac8b7,_0x2aadcd,0xb,_0x162424[0x29]),_0x4ac8b7=_0x29f4fa(_0x4ac8b7,_0x393176,_0x3388d3,_0x508184,_0x227b80,0x10,_0x162424[0x2a]),_0x508184=_0x29f4fa(_0x508184,_0x4ac8b7,_0x393176,_0x3388d3,_0x2a22e8,0x17,_0x162424[0x2b]),_0x3388d3=_0x29f4fa(_0x3388d3,_0x508184,_0x4ac8b7,_0x393176,_0x256e0e,0x4,_0x162424[0x2c]),_0x393176=_0x29f4fa(_0x393176,_0x3388d3,_0x508184,_0x4ac8b7,_0x1f974f,0xb,_0x162424[0x2d]),_0x4ac8b7=_0x29f4fa(_0x4ac8b7,_0x393176,_0x3388d3,_0x508184,_0x5384e8,0x10,_0x162424[0x2e]),_0x508184=_0x29f4fa(_0x508184,_0x4ac8b7,_0x393176,_0x3388d3,_0x1f5d8e,0x17,_0x162424[0x2f]),_0x3388d3=_0x27f3b7(_0x3388d3,_0x508184,_0x4ac8b7,_0x393176,_0x2aadcd,0x6,_0x162424[0x30]),_0x393176=_0x27f3b7(_0x393176,_0x3388d3,_0x508184,_0x4ac8b7,_0x36fe68,0xa,_0x162424[0x31]),_0x4ac8b7=_0x27f3b7(_0x4ac8b7,_0x393176,_0x3388d3,_0x508184,_0x39d01e,0xf,_0x162424[0x32]),_0x508184=_0x27f3b7(_0x508184,_0x4ac8b7,_0x393176,_0x3388d3,_0x445b1a,0x15,_0x162424[0x33]),_0x3388d3=_0x27f3b7(_0x3388d3,_0x508184,_0x4ac8b7,_0x393176,_0x1f974f,0x6,_0x162424[0x34]),_0x393176=_0x27f3b7(_0x393176,_0x3388d3,_0x508184,_0x4ac8b7,_0x227b80,0xa,_0x162424[0x35]),_0x4ac8b7=_0x27f3b7(_0x4ac8b7,_0x393176,_0x3388d3,_0x508184,_0x438ad1,0xf,_0x162424[0x36]),_0x508184=_0x27f3b7(_0x508184,_0x4ac8b7,_0x393176,_0x3388d3,_0x122b5d,0x15,_0x162424[0x37]),_0x3388d3=_0x27f3b7(_0x3388d3,_0x508184,_0x4ac8b7,_0x393176,_0x4497a1,0x6,_0x162424[0x38]),_0x393176=_0x27f3b7(_0x393176,_0x3388d3,_0x508184,_0x4ac8b7,_0x5384e8,0xa,_0x162424[0x39]),_0x4ac8b7=_0x27f3b7(_0x4ac8b7,_0x393176,_0x3388d3,_0x508184,_0x2a22e8,0xf,_0x162424[0x3a]),_0x508184=_0x27f3b7(_0x508184,_0x4ac8b7,_0x393176,_0x3388d3,_0xbb390,0x15,_0x162424[0x3b]),_0x3388d3=_0x27f3b7(_0x3388d3,_0x508184,_0x4ac8b7,_0x393176,_0x89075,0x6,_0x162424[0x3c]),_0x393176=_0x27f3b7(_0x393176,_0x3388d3,_0x508184,_0x4ac8b7,_0x47ba86,0xa,_0x162424[0x3d]),_0x4ac8b7=_0x27f3b7(_0x4ac8b7,_0x393176,_0x3388d3,_0x508184,_0x1f5d8e,0xf,_0x162424[0x3e]),_0x508184=_0x27f3b7(_0x508184,_0x4ac8b7,_0x393176,_0x3388d3,_0x256e0e,0x15,_0x162424[0x3f]),_0x5c50c7[0x0]=_0x5c50c7[0x0]+_0x3388d3|0x0,_0x5c50c7[0x1]=_0x5c50c7[0x1]+_0x508184|0x0,_0x5c50c7[0x2]=_0x5c50c7[0x2]+_0x4ac8b7|0x0,_0x5c50c7[0x3]=_0x5c50c7[0x3]+_0x393176|0x0;},'_doFinalize':function(){var _0x25da27=_0xc69ffe,_0x3c1057=this[_0x25da27(0x344)],_0x5a67de=_0x3c1057[_0x25da27(0x2e2)],_0x2d9b82=this[_0x25da27(0x31d)]*0x8,_0xd1d96f=_0x3c1057[_0x25da27(0x37a)]*0x8;_0x5a67de[_0xd1d96f>>>0x5]|=0x80<<0x18-_0xd1d96f%0x20;var _0x2e2e61=_0x2363e0[_0x25da27(0x550)](_0x2d9b82/0x100000000),_0xb6a80a=_0x2d9b82;_0x5a67de[(_0xd1d96f+0x40>>>0x9<<0x4)+0xf]=(_0x2e2e61<<0x8|_0x2e2e61>>>0x18)&0xff00ff|(_0x2e2e61<<0x18|_0x2e2e61>>>0x8)&0xff00ff00,_0x5a67de[(_0xd1d96f+0x40>>>0x9<<0x4)+0xe]=(_0xb6a80a<<0x8|_0xb6a80a>>>0x18)&0xff00ff|(_0xb6a80a<<0x18|_0xb6a80a>>>0x8)&0xff00ff00,_0x3c1057[_0x25da27(0x37a)]=(_0x5a67de['length']+0x1)*0x4,this['_process']();for(var _0x2e4666=this[_0x25da27(0x398)],_0x523804=_0x2e4666[_0x25da27(0x2e2)],_0x409247=0x0;_0x409247<0x4;_0x409247++){var _0x510455=_0x523804[_0x409247];_0x523804[_0x409247]=(_0x510455<<0x8|_0x510455>>>0x18)&0xff00ff|(_0x510455<<0x18|_0x510455>>>0x8)&0xff00ff00;}return _0x2e4666;},'clone':function(){var _0x2c85c0=_0xc69ffe,_0x1919c2=_0x2adcb8[_0x2c85c0(0x306)]['call'](this);return _0x1919c2[_0x2c85c0(0x398)]=this[_0x2c85c0(0x398)][_0x2c85c0(0x306)](),_0x1919c2;}});function _0x4ce0ff(_0x4d36b1,_0x3925eb,_0x5263f3,_0x56cf68,_0x711f0b,_0x3d09ef,_0x5e46a1){var _0x133ae8=_0x4d36b1+(_0x3925eb&_0x5263f3|~_0x3925eb&_0x56cf68)+_0x711f0b+_0x5e46a1;return(_0x133ae8<<_0x3d09ef|_0x133ae8>>>0x20-_0x3d09ef)+_0x3925eb;}function _0x2eedcb(_0xb0b820,_0x1b46c4,_0x31a68e,_0x5cae5e,_0x849772,_0x4eca6c,_0x1c9fec){var _0x4eb52f=_0xb0b820+(_0x1b46c4&_0x5cae5e|_0x31a68e&~_0x5cae5e)+_0x849772+_0x1c9fec;return(_0x4eb52f<<_0x4eca6c|_0x4eb52f>>>0x20-_0x4eca6c)+_0x1b46c4;}function _0x29f4fa(_0x67d2c,_0x12f739,_0x582d3c,_0xbd5801,_0x389c42,_0x477913,_0x5557c1){var _0xcb68e9=_0x67d2c+(_0x12f739^_0x582d3c^_0xbd5801)+_0x389c42+_0x5557c1;return(_0xcb68e9<<_0x477913|_0xcb68e9>>>0x20-_0x477913)+_0x12f739;}function _0x27f3b7(_0x5b2ec7,_0x442b24,_0x1fb964,_0x4e9837,_0x4b4708,_0x7feb1c,_0x694ec){var _0x3a42e3=_0x5b2ec7+(_0x1fb964^(_0x442b24|~_0x4e9837))+_0x4b4708+_0x694ec;return(_0x3a42e3<<_0x7feb1c|_0x3a42e3>>>0x20-_0x7feb1c)+_0x442b24;}_0x168448[_0xc69ffe(0x373)]=_0x2adcb8[_0xc69ffe(0x3f4)](_0x3133ba),_0x168448['HmacMD5']=_0x2adcb8['_createHmacHelper'](_0x3133ba);}(Math),_0x5489b2[_0x3d68a5(0x373)];}));}(pe)),pe['exports'];}var me={'exports':{}},ge={'exports':{}},Ri=ge[_0x497bf8(0x49a)],Je;function Ni(){var _0x381b15=_0x497bf8;return Je||(Je=0x1,function(_0x1911de,_0x335e07){(function(_0x190058,_0xd80272){_0x1911de['exports']=_0xd80272(Z());}(Ri,function(_0x7162ed){var _0x4f7fca=_0x382c;return(function(){var _0x1ea4af=_0x382c,_0x20a4ea=_0x7162ed,_0x3e5cc5=_0x20a4ea[_0x1ea4af(0x3ea)],_0x586baf=_0x3e5cc5[_0x1ea4af(0x307)],_0x5b1913=_0x3e5cc5[_0x1ea4af(0x3ba)],_0x3d77d9=_0x20a4ea[_0x1ea4af(0x459)],_0x53e36f=[],_0x358068=_0x3d77d9[_0x1ea4af(0x4d5)]=_0x5b1913[_0x1ea4af(0x394)]({'_doReset':function(){var _0x53bb00=_0x1ea4af;this[_0x53bb00(0x398)]=new _0x586baf['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1d31fb,_0x55d72c){var _0x2504e8=_0x1ea4af;for(var _0x55327c=this[_0x2504e8(0x398)][_0x2504e8(0x2e2)],_0x14127d=_0x55327c[0x0],_0x109a57=_0x55327c[0x1],_0x216cfd=_0x55327c[0x2],_0x301c72=_0x55327c[0x3],_0x131ee7=_0x55327c[0x4],_0x4d8dd9=0x0;_0x4d8dd9<0x50;_0x4d8dd9++){if(_0x4d8dd9<0x10)_0x53e36f[_0x4d8dd9]=_0x1d31fb[_0x55d72c+_0x4d8dd9]|0x0;else{var _0x198644=_0x53e36f[_0x4d8dd9-0x3]^_0x53e36f[_0x4d8dd9-0x8]^_0x53e36f[_0x4d8dd9-0xe]^_0x53e36f[_0x4d8dd9-0x10];_0x53e36f[_0x4d8dd9]=_0x198644<<0x1|_0x198644>>>0x1f;}var _0x3ecd2f=(_0x14127d<<0x5|_0x14127d>>>0x1b)+_0x131ee7+_0x53e36f[_0x4d8dd9];_0x4d8dd9<0x14?_0x3ecd2f+=(_0x109a57&_0x216cfd|~_0x109a57&_0x301c72)+0x5a827999:_0x4d8dd9<0x28?_0x3ecd2f+=(_0x109a57^_0x216cfd^_0x301c72)+0x6ed9eba1:_0x4d8dd9<0x3c?_0x3ecd2f+=(_0x109a57&_0x216cfd|_0x109a57&_0x301c72|_0x216cfd&_0x301c72)-0x70e44324:_0x3ecd2f+=(_0x109a57^_0x216cfd^_0x301c72)-0x359d3e2a,_0x131ee7=_0x301c72,_0x301c72=_0x216cfd,_0x216cfd=_0x109a57<<0x1e|_0x109a57>>>0x2,_0x109a57=_0x14127d,_0x14127d=_0x3ecd2f;}_0x55327c[0x0]=_0x55327c[0x0]+_0x14127d|0x0,_0x55327c[0x1]=_0x55327c[0x1]+_0x109a57|0x0,_0x55327c[0x2]=_0x55327c[0x2]+_0x216cfd|0x0,_0x55327c[0x3]=_0x55327c[0x3]+_0x301c72|0x0,_0x55327c[0x4]=_0x55327c[0x4]+_0x131ee7|0x0;},'_doFinalize':function(){var _0x493911=_0x1ea4af,_0x3d7e4a=this[_0x493911(0x344)],_0x123414=_0x3d7e4a[_0x493911(0x2e2)],_0x50ee6e=this['_nDataBytes']*0x8,_0x2b3d39=_0x3d7e4a[_0x493911(0x37a)]*0x8;return _0x123414[_0x2b3d39>>>0x5]|=0x80<<0x18-_0x2b3d39%0x20,_0x123414[(_0x2b3d39+0x40>>>0x9<<0x4)+0xe]=Math[_0x493911(0x550)](_0x50ee6e/0x100000000),_0x123414[(_0x2b3d39+0x40>>>0x9<<0x4)+0xf]=_0x50ee6e,_0x3d7e4a['sigBytes']=_0x123414[_0x493911(0x2a5)]*0x4,this['_process'](),this[_0x493911(0x398)];},'clone':function(){var _0x32cfae=_0x1ea4af,_0x2f7af9=_0x5b1913[_0x32cfae(0x306)][_0x32cfae(0x55f)](this);return _0x2f7af9[_0x32cfae(0x398)]=this[_0x32cfae(0x398)][_0x32cfae(0x306)](),_0x2f7af9;}});_0x20a4ea[_0x1ea4af(0x4d5)]=_0x5b1913[_0x1ea4af(0x3f4)](_0x358068),_0x20a4ea['HmacSHA1']=_0x5b1913[_0x1ea4af(0x421)](_0x358068);}()),_0x7162ed[_0x4f7fca(0x4d5)];}));}(ge)),ge[_0x381b15(0x49a)];}var Te={'exports':{}},Di=Te[_0x497bf8(0x49a)],Ze;function yi(){return Ze||(Ze=0x1,function(_0x3da22d,_0x6ff271){(function(_0xa21813,_0x57e9eb){_0x3da22d['exports']=_0x57e9eb(Z());}(Di,function(_0x265034){(function(){var _0x229f8f=_0x382c,_0x17929f=_0x265034,_0x1cba89=_0x17929f[_0x229f8f(0x3ea)],_0x4f9745=_0x1cba89[_0x229f8f(0x576)],_0x337ff7=_0x17929f[_0x229f8f(0x2fe)],_0x4bc866=_0x337ff7[_0x229f8f(0x461)],_0x2ba388=_0x17929f['algo'];_0x2ba388[_0x229f8f(0x512)]=_0x4f9745[_0x229f8f(0x394)]({'init':function(_0x183fd5,_0x3597bf){var _0x545c9b=_0x229f8f;_0x183fd5=this[_0x545c9b(0x26b)]=new _0x183fd5[(_0x545c9b(0x47e))](),typeof _0x3597bf==_0x545c9b(0x27e)&&(_0x3597bf=_0x4bc866[_0x545c9b(0x32a)](_0x3597bf));var _0xbfc3b=_0x183fd5[_0x545c9b(0x3c9)],_0x465ae3=_0xbfc3b*0x4;_0x3597bf[_0x545c9b(0x37a)]>_0x465ae3&&(_0x3597bf=_0x183fd5[_0x545c9b(0x371)](_0x3597bf)),_0x3597bf[_0x545c9b(0x385)]();for(var _0x81c2bb=this[_0x545c9b(0x520)]=_0x3597bf[_0x545c9b(0x306)](),_0x72cf9d=this[_0x545c9b(0x237)]=_0x3597bf['clone'](),_0x696c10=_0x81c2bb[_0x545c9b(0x2e2)],_0x2f45a4=_0x72cf9d[_0x545c9b(0x2e2)],_0x5ba15f=0x0;_0x5ba15f<_0xbfc3b;_0x5ba15f++)_0x696c10[_0x5ba15f]^=0x5c5c5c5c,_0x2f45a4[_0x5ba15f]^=0x36363636;_0x81c2bb[_0x545c9b(0x37a)]=_0x72cf9d['sigBytes']=_0x465ae3,this[_0x545c9b(0x34a)]();},'reset':function(){var _0x2c96fb=_0x229f8f,_0x1db136=this[_0x2c96fb(0x26b)];_0x1db136['reset'](),_0x1db136['update'](this[_0x2c96fb(0x237)]);},'update':function(_0x5ae5ff){var _0x2ff9db=_0x229f8f;return this[_0x2ff9db(0x26b)][_0x2ff9db(0x3ad)](_0x5ae5ff),this;},'finalize':function(_0x2d4b64){var _0x54b173=_0x229f8f,_0x2b4dbf=this['_hasher'],_0x35cf37=_0x2b4dbf[_0x54b173(0x371)](_0x2d4b64);_0x2b4dbf[_0x54b173(0x34a)]();var _0x248c26=_0x2b4dbf[_0x54b173(0x371)](this[_0x54b173(0x520)]['clone']()[_0x54b173(0x45e)](_0x35cf37));return _0x248c26;}});}());}));}(Te)),Te['exports'];}var Ui=me[_0x497bf8(0x49a)],Qe;function Ct(){var _0x474cf0=_0x497bf8;return Qe||(Qe=0x1,function(_0x542c12,_0x452436){(function(_0x32dd9d,_0x2ead55,_0x8e822b){var _0x51e2d8=_0x382c;_0x542c12[_0x51e2d8(0x49a)]=_0x2ead55(Z(),Ni(),yi());}(Ui,function(_0x449f3c){return(function(){var _0xef24a8=_0x382c,_0x311c62=_0x449f3c,_0x25ed16=_0x311c62['lib'],_0x40265a=_0x25ed16[_0xef24a8(0x576)],_0x379a64=_0x25ed16[_0xef24a8(0x307)],_0x156078=_0x311c62[_0xef24a8(0x459)],_0x5c5d48=_0x156078['MD5'],_0x4de8d6=_0x156078['EvpKDF']=_0x40265a[_0xef24a8(0x394)]({'cfg':_0x40265a[_0xef24a8(0x394)]({'keySize':0x80/0x20,'hasher':_0x5c5d48,'iterations':0x1}),'init':function(_0x18e7af){var _0x2ed2dc=_0xef24a8;this[_0x2ed2dc(0x577)]=this['cfg']['extend'](_0x18e7af);},'compute':function(_0xcb838d,_0x46893a){var _0x3227cb=_0xef24a8;for(var _0x35d570,_0x34a6ab=this[_0x3227cb(0x577)],_0x96c00d=_0x34a6ab['hasher'][_0x3227cb(0x321)](),_0x1793eb=_0x379a64['create'](),_0x23bca4=_0x1793eb[_0x3227cb(0x2e2)],_0x111062=_0x34a6ab[_0x3227cb(0x2ce)],_0x4833d6=_0x34a6ab['iterations'];_0x23bca4[_0x3227cb(0x2a5)]<_0x111062;){_0x35d570&&_0x96c00d['update'](_0x35d570),_0x35d570=_0x96c00d[_0x3227cb(0x3ad)](_0xcb838d)[_0x3227cb(0x371)](_0x46893a),_0x96c00d[_0x3227cb(0x34a)]();for(var _0x4373d0=0x1;_0x4373d0<_0x4833d6;_0x4373d0++)_0x35d570=_0x96c00d[_0x3227cb(0x371)](_0x35d570),_0x96c00d[_0x3227cb(0x34a)]();_0x1793eb['concat'](_0x35d570);}return _0x1793eb[_0x3227cb(0x37a)]=_0x111062*0x4,_0x1793eb;}});_0x311c62[_0xef24a8(0x38f)]=function(_0x1a3a1a,_0x40f315,_0x15cef7){var _0xaa4096=_0xef24a8;return _0x4de8d6[_0xaa4096(0x321)](_0x15cef7)[_0xaa4096(0x3dc)](_0x1a3a1a,_0x40f315);};}()),_0x449f3c['EvpKDF'];}));}(me)),me[_0x474cf0(0x49a)];}var Ce={'exports':{}},Ai=Ce['exports'],et;function Ot(){return et||(et=0x1,function(_0x1ebe28,_0x34d27b){(function(_0x267290,_0x2ccedf,_0xa69467){var _0x1854b7=_0x382c;_0x1ebe28[_0x1854b7(0x49a)]=_0x2ccedf(Z(),Ct());}(Ai,function(_0x562a44){var _0x3c536f=_0x382c;_0x562a44[_0x3c536f(0x3ea)]['Cipher']||function(_0x176d21){var _0x210df1=_0x3c536f,_0x574a34=_0x562a44,_0x27f7fd=_0x574a34[_0x210df1(0x3ea)],_0x3f53fe=_0x27f7fd['Base'],_0x3c42c7=_0x27f7fd['WordArray'],_0x59ad29=_0x27f7fd['BufferedBlockAlgorithm'],_0x1d9fa5=_0x574a34[_0x210df1(0x2fe)];_0x1d9fa5['Utf8'];var _0x5e5a72=_0x1d9fa5['Base64'],_0x124414=_0x574a34['algo'],_0x149b84=_0x124414['EvpKDF'],_0x4b8ef0=_0x27f7fd[_0x210df1(0x38c)]=_0x59ad29['extend']({'cfg':_0x3f53fe[_0x210df1(0x394)](),'createEncryptor':function(_0x27de20,_0x15f9fd){var _0xa8eebd=_0x210df1;return this[_0xa8eebd(0x321)](this['_ENC_XFORM_MODE'],_0x27de20,_0x15f9fd);},'createDecryptor':function(_0x102061,_0x2bbed9){var _0x558e71=_0x210df1;return this[_0x558e71(0x321)](this[_0x558e71(0x4da)],_0x102061,_0x2bbed9);},'init':function(_0x540780,_0x3ee728,_0x844498){var _0x89617f=_0x210df1;this['cfg']=this[_0x89617f(0x577)]['extend'](_0x844498),this[_0x89617f(0x38e)]=_0x540780,this[_0x89617f(0x2d5)]=_0x3ee728,this[_0x89617f(0x34a)]();},'reset':function(){var _0x549a4f=_0x210df1;_0x59ad29[_0x549a4f(0x34a)][_0x549a4f(0x55f)](this),this[_0x549a4f(0x26f)]();},'process':function(_0x3c7ba3){var _0x191d5f=_0x210df1;return this[_0x191d5f(0x319)](_0x3c7ba3),this[_0x191d5f(0x2fa)]();},'finalize':function(_0x5b0e62){_0x5b0e62&&this['_append'](_0x5b0e62);var _0x4e7907=this['_doFinalize']();return _0x4e7907;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5354a3(_0x2e8371){var _0x301f3a=_0x382c;return typeof _0x2e8371==_0x301f3a(0x27e)?_0x453b42:_0x444ef0;}return function(_0x267ce2){return{'encrypt':function(_0x404861,_0x9ebf73,_0x4805cb){var _0x5300c4=_0x382c;return _0x5354a3(_0x9ebf73)[_0x5300c4(0x23b)](_0x267ce2,_0x404861,_0x9ebf73,_0x4805cb);},'decrypt':function(_0x8b506f,_0x430a28,_0x533db0){var _0x35b19c=_0x382c;return _0x5354a3(_0x430a28)[_0x35b19c(0x4c8)](_0x267ce2,_0x8b506f,_0x430a28,_0x533db0);}};};}())});_0x27f7fd[_0x210df1(0x360)]=_0x4b8ef0[_0x210df1(0x394)]({'_doFinalize':function(){var _0xde3f2d=_0x210df1,_0x4218f3=this[_0xde3f2d(0x2fa)](!0x0);return _0x4218f3;},'blockSize':0x1});var _0x19722c=_0x574a34[_0x210df1(0x293)]={},_0x262ae4=_0x27f7fd['BlockCipherMode']=_0x3f53fe[_0x210df1(0x394)]({'createEncryptor':function(_0x313082,_0xd7af01){var _0x35a91c=_0x210df1;return this[_0x35a91c(0x45b)][_0x35a91c(0x321)](_0x313082,_0xd7af01);},'createDecryptor':function(_0x583e56,_0xf80da8){var _0x7476a=_0x210df1;return this[_0x7476a(0x41d)][_0x7476a(0x321)](_0x583e56,_0xf80da8);},'init':function(_0x4c2d13,_0x3e8d61){var _0xad9f57=_0x210df1;this[_0xad9f57(0x430)]=_0x4c2d13,this[_0xad9f57(0x4d7)]=_0x3e8d61;}}),_0xd597de=_0x19722c['CBC']=(function(){var _0x5a386b=_0x210df1,_0x19cba1=_0x262ae4[_0x5a386b(0x394)]();_0x19cba1[_0x5a386b(0x45b)]=_0x19cba1[_0x5a386b(0x394)]({'processBlock':function(_0xfe3d43,_0x3ba72b){var _0x46a7dd=_0x5a386b,_0x22cf19=this[_0x46a7dd(0x430)],_0x51c509=_0x22cf19[_0x46a7dd(0x3c9)];_0x5da1d5['call'](this,_0xfe3d43,_0x3ba72b,_0x51c509),_0x22cf19[_0x46a7dd(0x542)](_0xfe3d43,_0x3ba72b),this[_0x46a7dd(0x3f2)]=_0xfe3d43[_0x46a7dd(0x44f)](_0x3ba72b,_0x3ba72b+_0x51c509);}}),_0x19cba1['Decryptor']=_0x19cba1[_0x5a386b(0x394)]({'processBlock':function(_0x5630d9,_0x11ef68){var _0x9e2776=_0x5a386b,_0x1a20b9=this['_cipher'],_0x212738=_0x1a20b9[_0x9e2776(0x3c9)],_0x32fb9f=_0x5630d9[_0x9e2776(0x44f)](_0x11ef68,_0x11ef68+_0x212738);_0x1a20b9[_0x9e2776(0x2d0)](_0x5630d9,_0x11ef68),_0x5da1d5[_0x9e2776(0x55f)](this,_0x5630d9,_0x11ef68,_0x212738),this[_0x9e2776(0x3f2)]=_0x32fb9f;}});function _0x5da1d5(_0x5549a4,_0x4f813c,_0x48c848){var _0x17f9d6=_0x5a386b,_0x251636,_0x2643c5=this[_0x17f9d6(0x4d7)];_0x2643c5?(_0x251636=_0x2643c5,this[_0x17f9d6(0x4d7)]=_0x176d21):_0x251636=this[_0x17f9d6(0x3f2)];for(var _0x325487=0x0;_0x325487<_0x48c848;_0x325487++)_0x5549a4[_0x4f813c+_0x325487]^=_0x251636[_0x325487];}return _0x19cba1;}()),_0x330fa8=_0x574a34['pad']={},_0x4f8a3f=_0x330fa8[_0x210df1(0x4f2)]={'pad':function(_0x479687,_0x2f24dc){var _0x279fa5=_0x210df1;for(var _0x2d8d40=_0x2f24dc*0x4,_0x5700d3=_0x2d8d40-_0x479687['sigBytes']%_0x2d8d40,_0x21a8fe=_0x5700d3<<0x18|_0x5700d3<<0x10|_0x5700d3<<0x8|_0x5700d3,_0x4000d2=[],_0xc2c590=0x0;_0xc2c590<_0x5700d3;_0xc2c590+=0x4)_0x4000d2[_0x279fa5(0x303)](_0x21a8fe);var _0x2e4d70=_0x3c42c7[_0x279fa5(0x321)](_0x4000d2,_0x5700d3);_0x479687[_0x279fa5(0x45e)](_0x2e4d70);},'unpad':function(_0x1b4141){var _0x43c4d9=_0x210df1,_0x5011f0=_0x1b4141['words'][_0x1b4141[_0x43c4d9(0x37a)]-0x1>>>0x2]&0xff;_0x1b4141[_0x43c4d9(0x37a)]-=_0x5011f0;}};_0x27f7fd[_0x210df1(0x3d7)]=_0x4b8ef0['extend']({'cfg':_0x4b8ef0[_0x210df1(0x577)][_0x210df1(0x394)]({'mode':_0xd597de,'padding':_0x4f8a3f}),'reset':function(){var _0x432fe2=_0x210df1,_0x40daf4;_0x4b8ef0[_0x432fe2(0x34a)][_0x432fe2(0x55f)](this);var _0x5b1aa2=this[_0x432fe2(0x577)],_0x4857c3=_0x5b1aa2['iv'],_0x5788c4=_0x5b1aa2[_0x432fe2(0x293)];this[_0x432fe2(0x38e)]==this['_ENC_XFORM_MODE']?_0x40daf4=_0x5788c4['createEncryptor']:(_0x40daf4=_0x5788c4[_0x432fe2(0x1f9)],this[_0x432fe2(0x282)]=0x1),this[_0x432fe2(0x429)]&&this[_0x432fe2(0x429)][_0x432fe2(0x28b)]==_0x40daf4?this['_mode']['init'](this,_0x4857c3&&_0x4857c3[_0x432fe2(0x2e2)]):(this[_0x432fe2(0x429)]=_0x40daf4[_0x432fe2(0x55f)](_0x5788c4,this,_0x4857c3&&_0x4857c3[_0x432fe2(0x2e2)]),this['_mode'][_0x432fe2(0x28b)]=_0x40daf4);},'_doProcessBlock':function(_0x369388,_0x3b0c59){var _0x43ec38=_0x210df1;this['_mode'][_0x43ec38(0x211)](_0x369388,_0x3b0c59);},'_doFinalize':function(){var _0xc4da47=_0x210df1,_0x4181bb,_0xb8db86=this[_0xc4da47(0x577)]['padding'];return this[_0xc4da47(0x38e)]==this[_0xc4da47(0x349)]?(_0xb8db86[_0xc4da47(0x46c)](this[_0xc4da47(0x344)],this[_0xc4da47(0x3c9)]),_0x4181bb=this['_process'](!0x0)):(_0x4181bb=this[_0xc4da47(0x2fa)](!0x0),_0xb8db86['unpad'](_0x4181bb)),_0x4181bb;},'blockSize':0x80/0x20});var _0x142cb4=_0x27f7fd[_0x210df1(0x208)]=_0x3f53fe['extend']({'init':function(_0x313cfb){var _0x4f1ba3=_0x210df1;this[_0x4f1ba3(0x2b2)](_0x313cfb);},'toString':function(_0x2fbcc2){var _0x4d739d=_0x210df1;return(_0x2fbcc2||this[_0x4d739d(0x23d)])[_0x4d739d(0x4ad)](this);}}),_0xa01f9b=_0x574a34[_0x210df1(0x236)]={},_0x263093=_0xa01f9b[_0x210df1(0x227)]={'stringify':function(_0x509e43){var _0x22cdb1=_0x210df1,_0x33adbf,_0x13c025=_0x509e43[_0x22cdb1(0x2f7)],_0x21ce3d=_0x509e43[_0x22cdb1(0x215)];return _0x21ce3d?_0x33adbf=_0x3c42c7['create']([0x53616c74,0x65645f5f])[_0x22cdb1(0x45e)](_0x21ce3d)['concat'](_0x13c025):_0x33adbf=_0x13c025,_0x33adbf[_0x22cdb1(0x537)](_0x5e5a72);},'parse':function(_0x15cea3){var _0x4d349d=_0x210df1,_0x9b42e0,_0x2b0b72=_0x5e5a72[_0x4d349d(0x32a)](_0x15cea3),_0x217e25=_0x2b0b72[_0x4d349d(0x2e2)];return _0x217e25[0x0]==0x53616c74&&_0x217e25[0x1]==0x65645f5f&&(_0x9b42e0=_0x3c42c7[_0x4d349d(0x321)](_0x217e25['slice'](0x2,0x4)),_0x217e25[_0x4d349d(0x45f)](0x0,0x4),_0x2b0b72['sigBytes']-=0x10),_0x142cb4[_0x4d349d(0x321)]({'ciphertext':_0x2b0b72,'salt':_0x9b42e0});}},_0x444ef0=_0x27f7fd['SerializableCipher']=_0x3f53fe[_0x210df1(0x394)]({'cfg':_0x3f53fe[_0x210df1(0x394)]({'format':_0x263093}),'encrypt':function(_0x3cb8d7,_0x436884,_0x319218,_0x54ed56){var _0x3d1973=_0x210df1;_0x54ed56=this['cfg'][_0x3d1973(0x394)](_0x54ed56);var _0x37a39b=_0x3cb8d7['createEncryptor'](_0x319218,_0x54ed56),_0x348171=_0x37a39b[_0x3d1973(0x371)](_0x436884),_0x9e92c5=_0x37a39b['cfg'];return _0x142cb4[_0x3d1973(0x321)]({'ciphertext':_0x348171,'key':_0x319218,'iv':_0x9e92c5['iv'],'algorithm':_0x3cb8d7,'mode':_0x9e92c5[_0x3d1973(0x293)],'padding':_0x9e92c5[_0x3d1973(0x36d)],'blockSize':_0x3cb8d7[_0x3d1973(0x3c9)],'formatter':_0x54ed56[_0x3d1973(0x236)]});},'decrypt':function(_0x5d0c0b,_0xbc3a69,_0x4938c3,_0x574870){var _0x2c68b6=_0x210df1;_0x574870=this[_0x2c68b6(0x577)][_0x2c68b6(0x394)](_0x574870),_0xbc3a69=this['_parse'](_0xbc3a69,_0x574870[_0x2c68b6(0x236)]);var _0x90cf52=_0x5d0c0b['createDecryptor'](_0x4938c3,_0x574870)[_0x2c68b6(0x371)](_0xbc3a69[_0x2c68b6(0x2f7)]);return _0x90cf52;},'_parse':function(_0x9dafe,_0x59df1c){var _0x1a2bf8=_0x210df1;return typeof _0x9dafe==_0x1a2bf8(0x27e)?_0x59df1c[_0x1a2bf8(0x32a)](_0x9dafe,this):_0x9dafe;}}),_0x197b9f=_0x574a34['kdf']={},_0x249b07=_0x197b9f[_0x210df1(0x227)]={'execute':function(_0x4343cf,_0x1addf4,_0xbec54e,_0x59d36a,_0x498070){var _0x4a27f2=_0x210df1;if(_0x59d36a||(_0x59d36a=_0x3c42c7[_0x4a27f2(0x3e0)](0x40/0x8)),_0x498070)var _0x50fc94=_0x149b84[_0x4a27f2(0x321)]({'keySize':_0x1addf4+_0xbec54e,'hasher':_0x498070})[_0x4a27f2(0x3dc)](_0x4343cf,_0x59d36a);else var _0x50fc94=_0x149b84[_0x4a27f2(0x321)]({'keySize':_0x1addf4+_0xbec54e})[_0x4a27f2(0x3dc)](_0x4343cf,_0x59d36a);var _0x2e517f=_0x3c42c7['create'](_0x50fc94['words'][_0x4a27f2(0x44f)](_0x1addf4),_0xbec54e*0x4);return _0x50fc94[_0x4a27f2(0x37a)]=_0x1addf4*0x4,_0x142cb4[_0x4a27f2(0x321)]({'key':_0x50fc94,'iv':_0x2e517f,'salt':_0x59d36a});}},_0x453b42=_0x27f7fd[_0x210df1(0x33d)]=_0x444ef0[_0x210df1(0x394)]({'cfg':_0x444ef0['cfg'][_0x210df1(0x394)]({'kdf':_0x249b07}),'encrypt':function(_0x30bf49,_0x22f96f,_0x50d329,_0x3a6ca0){var _0x2c751e=_0x210df1;_0x3a6ca0=this[_0x2c751e(0x577)][_0x2c751e(0x394)](_0x3a6ca0);var _0x4a25bf=_0x3a6ca0[_0x2c751e(0x54e)][_0x2c751e(0x53f)](_0x50d329,_0x30bf49[_0x2c751e(0x2ce)],_0x30bf49['ivSize'],_0x3a6ca0[_0x2c751e(0x215)],_0x3a6ca0[_0x2c751e(0x240)]);_0x3a6ca0['iv']=_0x4a25bf['iv'];var _0x3eb889=_0x444ef0[_0x2c751e(0x23b)][_0x2c751e(0x55f)](this,_0x30bf49,_0x22f96f,_0x4a25bf[_0x2c751e(0x3c1)],_0x3a6ca0);return _0x3eb889['mixIn'](_0x4a25bf),_0x3eb889;},'decrypt':function(_0x57fd29,_0xbc27b8,_0x3644bf,_0x2635a1){var _0x94722c=_0x210df1;_0x2635a1=this[_0x94722c(0x577)][_0x94722c(0x394)](_0x2635a1),_0xbc27b8=this['_parse'](_0xbc27b8,_0x2635a1[_0x94722c(0x236)]);var _0x526909=_0x2635a1[_0x94722c(0x54e)]['execute'](_0x3644bf,_0x57fd29[_0x94722c(0x2ce)],_0x57fd29['ivSize'],_0xbc27b8[_0x94722c(0x215)],_0x2635a1[_0x94722c(0x240)]);_0x2635a1['iv']=_0x526909['iv'];var _0x5ee483=_0x444ef0[_0x94722c(0x4c8)][_0x94722c(0x55f)](this,_0x57fd29,_0xbc27b8,_0x526909[_0x94722c(0x3c1)],_0x2635a1);return _0x5ee483;}});}();}));}(Ce)),Ce['exports'];}var Pi=Ie[_0x497bf8(0x49a)],tt;function Li(){var _0x37cd28=_0x497bf8;return tt||(tt=0x1,function(_0x23688e,_0x3976db){(function(_0x33c1d6,_0xbc9c32,_0xadf275){var _0x56baa3=_0x382c;_0x23688e[_0x56baa3(0x49a)]=_0xbc9c32(Z(),Tt(),bi(),Ct(),Ot());}(Pi,function(_0x5c2e9f){var _0x408815=_0x382c;return(function(){var _0x478b18=_0x382c,_0x42ce1e=_0x5c2e9f,_0x509ecd=_0x42ce1e[_0x478b18(0x3ea)],_0x38347f=_0x509ecd[_0x478b18(0x3d7)],_0x4990a0=_0x42ce1e[_0x478b18(0x459)],_0x2e6ae1=[],_0x4478b5=[],_0x304845=[],_0x15807c=[],_0x38537b=[],_0xff880b=[],_0x4cdde4=[],_0x4a2435=[],_0x3c9fed=[],_0x4a8985=[];(function(){for(var _0x121274=[],_0x1ef2ad=0x0;_0x1ef2ad<0x100;_0x1ef2ad++)_0x1ef2ad<0x80?_0x121274[_0x1ef2ad]=_0x1ef2ad<<0x1:_0x121274[_0x1ef2ad]=_0x1ef2ad<<0x1^0x11b;for(var _0x3e11af=0x0,_0x5b9d20=0x0,_0x1ef2ad=0x0;_0x1ef2ad<0x100;_0x1ef2ad++){var _0x14ee06=_0x5b9d20^_0x5b9d20<<0x1^_0x5b9d20<<0x2^_0x5b9d20<<0x3^_0x5b9d20<<0x4;_0x14ee06=_0x14ee06>>>0x8^_0x14ee06&0xff^0x63,_0x2e6ae1[_0x3e11af]=_0x14ee06,_0x4478b5[_0x14ee06]=_0x3e11af;var _0xf063c7=_0x121274[_0x3e11af],_0x3343d6=_0x121274[_0xf063c7],_0x42aec8=_0x121274[_0x3343d6],_0x318eb3=_0x121274[_0x14ee06]*0x101^_0x14ee06*0x1010100;_0x304845[_0x3e11af]=_0x318eb3<<0x18|_0x318eb3>>>0x8,_0x15807c[_0x3e11af]=_0x318eb3<<0x10|_0x318eb3>>>0x10,_0x38537b[_0x3e11af]=_0x318eb3<<0x8|_0x318eb3>>>0x18,_0xff880b[_0x3e11af]=_0x318eb3;var _0x318eb3=_0x42aec8*0x1010101^_0x3343d6*0x10001^_0xf063c7*0x101^_0x3e11af*0x1010100;_0x4cdde4[_0x14ee06]=_0x318eb3<<0x18|_0x318eb3>>>0x8,_0x4a2435[_0x14ee06]=_0x318eb3<<0x10|_0x318eb3>>>0x10,_0x3c9fed[_0x14ee06]=_0x318eb3<<0x8|_0x318eb3>>>0x18,_0x4a8985[_0x14ee06]=_0x318eb3,_0x3e11af?(_0x3e11af=_0xf063c7^_0x121274[_0x121274[_0x121274[_0x42aec8^_0xf063c7]]],_0x5b9d20^=_0x121274[_0x121274[_0x5b9d20]]):_0x3e11af=_0x5b9d20=0x1;}}());var _0x524ccb=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x47f015=_0x4990a0[_0x478b18(0x2c2)]=_0x38347f[_0x478b18(0x394)]({'_doReset':function(){var _0x36a514=_0x478b18,_0x1b27fc;if(!(this[_0x36a514(0x370)]&&this['_keyPriorReset']===this['_key'])){for(var _0x420eba=this[_0x36a514(0x2b9)]=this[_0x36a514(0x2d5)],_0x394e77=_0x420eba[_0x36a514(0x2e2)],_0x1c03c6=_0x420eba[_0x36a514(0x37a)]/0x4,_0x174f40=this[_0x36a514(0x370)]=_0x1c03c6+0x6,_0x9ce134=(_0x174f40+0x1)*0x4,_0x53b3c4=this[_0x36a514(0x46e)]=[],_0x408b65=0x0;_0x408b65<_0x9ce134;_0x408b65++)_0x408b65<_0x1c03c6?_0x53b3c4[_0x408b65]=_0x394e77[_0x408b65]:(_0x1b27fc=_0x53b3c4[_0x408b65-0x1],_0x408b65%_0x1c03c6?_0x1c03c6>0x6&&_0x408b65%_0x1c03c6==0x4&&(_0x1b27fc=_0x2e6ae1[_0x1b27fc>>>0x18]<<0x18|_0x2e6ae1[_0x1b27fc>>>0x10&0xff]<<0x10|_0x2e6ae1[_0x1b27fc>>>0x8&0xff]<<0x8|_0x2e6ae1[_0x1b27fc&0xff]):(_0x1b27fc=_0x1b27fc<<0x8|_0x1b27fc>>>0x18,_0x1b27fc=_0x2e6ae1[_0x1b27fc>>>0x18]<<0x18|_0x2e6ae1[_0x1b27fc>>>0x10&0xff]<<0x10|_0x2e6ae1[_0x1b27fc>>>0x8&0xff]<<0x8|_0x2e6ae1[_0x1b27fc&0xff],_0x1b27fc^=_0x524ccb[_0x408b65/_0x1c03c6|0x0]<<0x18),_0x53b3c4[_0x408b65]=_0x53b3c4[_0x408b65-_0x1c03c6]^_0x1b27fc);for(var _0x3f8c93=this[_0x36a514(0x26c)]=[],_0x1a2da9=0x0;_0x1a2da9<_0x9ce134;_0x1a2da9++){var _0x408b65=_0x9ce134-_0x1a2da9;if(_0x1a2da9%0x4)var _0x1b27fc=_0x53b3c4[_0x408b65];else var _0x1b27fc=_0x53b3c4[_0x408b65-0x4];_0x1a2da9<0x4||_0x408b65<=0x4?_0x3f8c93[_0x1a2da9]=_0x1b27fc:_0x3f8c93[_0x1a2da9]=_0x4cdde4[_0x2e6ae1[_0x1b27fc>>>0x18]]^_0x4a2435[_0x2e6ae1[_0x1b27fc>>>0x10&0xff]]^_0x3c9fed[_0x2e6ae1[_0x1b27fc>>>0x8&0xff]]^_0x4a8985[_0x2e6ae1[_0x1b27fc&0xff]];}}},'encryptBlock':function(_0x54683a,_0x55542c){var _0xa550ab=_0x478b18;this[_0xa550ab(0x413)](_0x54683a,_0x55542c,this[_0xa550ab(0x46e)],_0x304845,_0x15807c,_0x38537b,_0xff880b,_0x2e6ae1);},'decryptBlock':function(_0x569780,_0x144d6e){var _0x381b14=_0x478b18,_0x1f9120=_0x569780[_0x144d6e+0x1];_0x569780[_0x144d6e+0x1]=_0x569780[_0x144d6e+0x3],_0x569780[_0x144d6e+0x3]=_0x1f9120,this[_0x381b14(0x413)](_0x569780,_0x144d6e,this['_invKeySchedule'],_0x4cdde4,_0x4a2435,_0x3c9fed,_0x4a8985,_0x4478b5);var _0x1f9120=_0x569780[_0x144d6e+0x1];_0x569780[_0x144d6e+0x1]=_0x569780[_0x144d6e+0x3],_0x569780[_0x144d6e+0x3]=_0x1f9120;},'_doCryptBlock':function(_0x217c7d,_0x3e87de,_0x195410,_0x3c9d7b,_0x216c3a,_0x3b3e1d,_0x2ddb8a,_0x4ea3cc){var _0x1984ee=_0x478b18;for(var _0x20c100=this[_0x1984ee(0x370)],_0x1e5bdd=_0x217c7d[_0x3e87de]^_0x195410[0x0],_0x1f49b4=_0x217c7d[_0x3e87de+0x1]^_0x195410[0x1],_0x472f90=_0x217c7d[_0x3e87de+0x2]^_0x195410[0x2],_0x1be47b=_0x217c7d[_0x3e87de+0x3]^_0x195410[0x3],_0x1071a8=0x4,_0x3c5673=0x1;_0x3c5673<_0x20c100;_0x3c5673++){var _0x516212=_0x3c9d7b[_0x1e5bdd>>>0x18]^_0x216c3a[_0x1f49b4>>>0x10&0xff]^_0x3b3e1d[_0x472f90>>>0x8&0xff]^_0x2ddb8a[_0x1be47b&0xff]^_0x195410[_0x1071a8++],_0x3720a8=_0x3c9d7b[_0x1f49b4>>>0x18]^_0x216c3a[_0x472f90>>>0x10&0xff]^_0x3b3e1d[_0x1be47b>>>0x8&0xff]^_0x2ddb8a[_0x1e5bdd&0xff]^_0x195410[_0x1071a8++],_0xf54969=_0x3c9d7b[_0x472f90>>>0x18]^_0x216c3a[_0x1be47b>>>0x10&0xff]^_0x3b3e1d[_0x1e5bdd>>>0x8&0xff]^_0x2ddb8a[_0x1f49b4&0xff]^_0x195410[_0x1071a8++],_0x4055d2=_0x3c9d7b[_0x1be47b>>>0x18]^_0x216c3a[_0x1e5bdd>>>0x10&0xff]^_0x3b3e1d[_0x1f49b4>>>0x8&0xff]^_0x2ddb8a[_0x472f90&0xff]^_0x195410[_0x1071a8++];_0x1e5bdd=_0x516212,_0x1f49b4=_0x3720a8,_0x472f90=_0xf54969,_0x1be47b=_0x4055d2;}var _0x516212=(_0x4ea3cc[_0x1e5bdd>>>0x18]<<0x18|_0x4ea3cc[_0x1f49b4>>>0x10&0xff]<<0x10|_0x4ea3cc[_0x472f90>>>0x8&0xff]<<0x8|_0x4ea3cc[_0x1be47b&0xff])^_0x195410[_0x1071a8++],_0x3720a8=(_0x4ea3cc[_0x1f49b4>>>0x18]<<0x18|_0x4ea3cc[_0x472f90>>>0x10&0xff]<<0x10|_0x4ea3cc[_0x1be47b>>>0x8&0xff]<<0x8|_0x4ea3cc[_0x1e5bdd&0xff])^_0x195410[_0x1071a8++],_0xf54969=(_0x4ea3cc[_0x472f90>>>0x18]<<0x18|_0x4ea3cc[_0x1be47b>>>0x10&0xff]<<0x10|_0x4ea3cc[_0x1e5bdd>>>0x8&0xff]<<0x8|_0x4ea3cc[_0x1f49b4&0xff])^_0x195410[_0x1071a8++],_0x4055d2=(_0x4ea3cc[_0x1be47b>>>0x18]<<0x18|_0x4ea3cc[_0x1e5bdd>>>0x10&0xff]<<0x10|_0x4ea3cc[_0x1f49b4>>>0x8&0xff]<<0x8|_0x4ea3cc[_0x472f90&0xff])^_0x195410[_0x1071a8++];_0x217c7d[_0x3e87de]=_0x516212,_0x217c7d[_0x3e87de+0x1]=_0x3720a8,_0x217c7d[_0x3e87de+0x2]=_0xf54969,_0x217c7d[_0x3e87de+0x3]=_0x4055d2;},'keySize':0x100/0x20});_0x42ce1e['AES']=_0x38347f[_0x478b18(0x3f4)](_0x47f015);}()),_0x5c2e9f[_0x408815(0x2c2)];}));}(Ie)),Ie[_0x37cd28(0x49a)];}var Mi=Li();const wi=de(Mi);var xi=Tt();const it=de(xi);var Oe={'exports':{}},ki=Oe[_0x497bf8(0x49a)],nt;function $i(){return nt||(nt=0x1,function(_0x3d4836,_0xbe3dae){(function(_0x22cc8f,_0x36d5d5){_0x3d4836['exports']=_0x36d5d5(Z());}(ki,function(_0x18a2c5){var _0x3cce95=_0x382c;return _0x18a2c5[_0x3cce95(0x2fe)][_0x3cce95(0x461)];}));}(Oe)),Oe['exports'];}var Hi=$i();const ji=de(Hi);var be={'exports':{}},Bi=be[_0x497bf8(0x49a)],st;function Fi(){return st||(st=0x1,function(_0x13a22e,_0x4b3328){(function(_0x505db7,_0x51a374){var _0x55d3d2=_0x382c;_0x13a22e[_0x55d3d2(0x49a)]=_0x51a374(Z());}(Bi,function(_0x1e9571){return(function(){var _0x5f748c=_0x382c;if(typeof ArrayBuffer==_0x5f748c(0x502)){var _0x3c691e=_0x1e9571,_0x232438=_0x3c691e[_0x5f748c(0x3ea)],_0x40cc87=_0x232438[_0x5f748c(0x307)],_0x45aa69=_0x40cc87[_0x5f748c(0x47e)],_0x320374=_0x40cc87[_0x5f748c(0x47e)]=function(_0x30947c){var _0x4ad63f=_0x5f748c;if(_0x30947c instanceof ArrayBuffer&&(_0x30947c=new Uint8Array(_0x30947c)),(_0x30947c instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x30947c instanceof Uint8ClampedArray||_0x30947c instanceof Int16Array||_0x30947c instanceof Uint16Array||_0x30947c instanceof Int32Array||_0x30947c instanceof Uint32Array||_0x30947c instanceof Float32Array||_0x30947c instanceof Float64Array)&&(_0x30947c=new Uint8Array(_0x30947c[_0x4ad63f(0x27d)],_0x30947c[_0x4ad63f(0x3f7)],_0x30947c[_0x4ad63f(0x32c)])),_0x30947c instanceof Uint8Array){for(var _0x8d608b=_0x30947c[_0x4ad63f(0x32c)],_0x73da42=[],_0x251d59=0x0;_0x251d59<_0x8d608b;_0x251d59++)_0x73da42[_0x251d59>>>0x2]|=_0x30947c[_0x251d59]<<0x18-_0x251d59%0x4*0x8;_0x45aa69[_0x4ad63f(0x55f)](this,_0x73da42,_0x8d608b);}else _0x45aa69['apply'](this,arguments);};_0x320374[_0x5f748c(0x296)]=_0x40cc87;}}()),_0x1e9571['lib']['WordArray'];}));}(be)),be['exports'];}var Vi=Fi();const Wi=de(Vi);var Re={'exports':{}},Gi=Re[_0x497bf8(0x49a)],rt;function Yi(){var _0x3130fa=_0x497bf8;return rt||(rt=0x1,function(_0x64002c,_0x5df75d){(function(_0x2b808f,_0x46256f,_0x7a51b9){var _0x40e802=_0x382c;_0x64002c[_0x40e802(0x49a)]=_0x46256f(Z(),Ot());}(Gi,function(_0x1b68a0){var _0x2b57f1=_0x382c;return _0x1b68a0[_0x2b57f1(0x46c)][_0x2b57f1(0x3de)]={'pad':function(){},'unpad':function(){}},_0x1b68a0['pad'][_0x2b57f1(0x3de)];}));}(Re)),Re[_0x3130fa(0x49a)];}var Ki=Yi();const qi=de(Ki);function zi(_0x4a1d89,_0x1aa4e7){var _0x5f1764=_0x497bf8;const _0x243dec=_0x1aa4e7-_0x4a1d89['length']%_0x1aa4e7,_0x1d74ae=String[_0x5f1764(0x3c5)](_0x243dec)['repeat'](_0x243dec);return _0x4a1d89+_0x1d74ae;}function Xi(_0x21405d,_0xb81f2){var _0x3d9edb=_0x497bf8;const _0x4d90c9=Wi[_0x3d9edb(0x3e0)](0x10),_0xc0b9fe=zi(_0x21405d,0x10),_0x50e703=wi['encrypt'](ji[_0x3d9edb(0x32a)](_0xc0b9fe),it[_0x3d9edb(0x32a)](_0xb81f2),{'iv':_0x4d90c9,'padding':qi});return _0x4d90c9[_0x3d9edb(0x45e)](_0x50e703[_0x3d9edb(0x2f7)])['toString'](it);}function Ji(){var _0x2ffb99=_0x497bf8;const _0x5ce106=Dt['getGlobalObject']()[_0x2ffb99(0x544)];if(_0x5ce106){const _0x2125e3={'time':Math[_0x2ffb99(0x550)](Date[_0x2ffb99(0x339)]()/0x3e8),'domain':location[_0x2ffb99(0x3df)]};return Xi(JSON['stringify'](_0x2125e3),_0x5ce106);}}var Zi=Object[_0x497bf8(0x4fe)],Qi=(_0x31b769,_0x630efb,_0x699d11,_0x2e8b78)=>{var _0x1b250a=_0x497bf8;for(var _0x34c39c=_0x2e8b78>0x1?void 0x0:_0x2e8b78?Zi(_0x630efb,_0x699d11):_0x630efb,_0x531a9f=_0x31b769[_0x1b250a(0x2a5)]-0x1,_0x3b840f;_0x531a9f>=0x0;_0x531a9f--)(_0x3b840f=_0x31b769[_0x531a9f])&&(_0x34c39c=_0x3b840f(_0x34c39c)||_0x34c39c);return _0x34c39c;},en=(_0x75da11,_0x9dee08)=>(_0x1f4321,_0x4d82df)=>_0x9dee08(_0x1f4321,_0x4d82df,_0x75da11);let De=class{constructor(_0x1dc771){var _0x2c503a=_0x497bf8;this['_httpService']=_0x1dc771,this[_0x2c503a(0x527)]();}[_0x497bf8(0x527)](){var _0x4c74b5=_0x497bf8;this[_0x4c74b5(0x21a)][_0x4c74b5(0x562)]({'interceptor':(_0x584e5e,_0x3de828)=>{var _0x596244=_0x4c74b5;const _0x2b419e=_0x584e5e[_0x596244(0x475)],_0x37676c=Ji();return _0x37676c&&_0x2b419e[_0x596244(0x2f3)](_0x596244(0x32f),_0x37676c),_0x3de828(_0x584e5e);}});}};De=Qi([en(0x0,o['Inject'](K[_0x497bf8(0x1f8)]))],De);var tn=Object[_0x497bf8(0x4fe)],nn=(_0x36e5fb,_0x5aa63b,_0x4f98a5,_0xe6c10b)=>{var _0x916eb2=_0x497bf8;for(var _0x529e8f=_0xe6c10b>0x1?void 0x0:_0xe6c10b?tn(_0x5aa63b,_0x4f98a5):_0x5aa63b,_0x36b3ac=_0x36e5fb[_0x916eb2(0x2a5)]-0x1,_0x3dbcc4;_0x36b3ac>=0x0;_0x36b3ac--)(_0x3dbcc4=_0x36e5fb[_0x36b3ac])&&(_0x529e8f=_0x3dbcc4(_0x529e8f)||_0x529e8f);return _0x529e8f;},Le=(_0x2e9ea6,_0x284800)=>(_0x202fee,_0x4c9357)=>_0x284800(_0x202fee,_0x4c9357,_0x2e9ea6);exports[_0x497bf8(0x22a)]=class extends o[_0x497bf8(0x246)]{constructor(_0x402874,_0x4abcac,_0x3add16){var _0x5acc4a=_0x497bf8;super(),A(this,'_unitInfo$',new j['BehaviorSubject'](null)),A(this,_0x5acc4a(0x4c6),this[_0x5acc4a(0x42e)][_0x5acc4a(0x4d1)]()),(this[_0x5acc4a(0x2e3)]=_0x402874,this[_0x5acc4a(0x233)]=_0x4abcac,this[_0x5acc4a(0x21d)]=_0x3add16);}async[_0x497bf8(0x4ea)](_0x2c9911,_0x5b050a,_0xf98428){var _0x3e9b59=_0x497bf8;this[_0x3e9b59(0x42e)][_0x3e9b59(0x580)]({'unitId':_0x2c9911,'type':_0x5b050a});let _0x5e2fab=null;switch(_0x5b050a){case X['UNIVER_SHEET']:{_0x5e2fab=await this[_0x3e9b59(0x233)][_0x3e9b59(0x4cd)](_0x2c9911,_0xf98428);break;}case X[_0x3e9b59(0x541)]:{_0x5e2fab=await this[_0x3e9b59(0x233)]['loadDoc'](_0x2c9911,_0xf98428);break;}default:{this[_0x3e9b59(0x2e3)][_0x3e9b59(0x536)](_0x3e9b59(0x2b0),_0x3e9b59(0x2dd));break;}}return _0x5e2fab;}async['loadUnit'](_0x4abad1,_0x7d3159,_0x5193e0){var _0x1a6c92=_0x497bf8,_0x55d1c7;this['_unitInfo$'][_0x1a6c92(0x580)]({'unitId':_0x4abad1,'type':_0x7d3159,'subUnitId':_0x5193e0});let _0x5b38ac=0x0;const _0x31e9a6=await((_0x55d1c7=this[_0x1a6c92(0x21d)])==null?void 0x0:_0x55d1c7[_0x1a6c92(0x212)](_0x4abad1));return _0x31e9a6&&(_0x31e9a6[_0x1a6c92(0x2bd)]||_0x31e9a6[_0x1a6c92(0x265)][_0x1a6c92(0x2a5)]!==0x0)&&(_0x5b38ac=_0x31e9a6[_0x1a6c92(0x322)]),_0x5b38ac===0x0&&this[_0x1a6c92(0x2e3)][_0x1a6c92(0x434)](_0x1a6c92(0x2b0),_0x1a6c92(0x363)),this[_0x1a6c92(0x4ea)](_0x4abad1,_0x7d3159,_0x5b38ac);}},exports['DataLoaderService']=nn([Le(0x0,o[_0x497bf8(0x3a9)]),Le(0x1,o['Inject'](E[_0x497bf8(0x460)])),Le(0x2,o[_0x497bf8(0x382)](q))],exports['DataLoaderService']);var sn=Object['getOwnPropertyDescriptor'],rn=(_0x26268a,_0x1db736,_0x11be53,_0x370dac)=>{var _0x599ed2=_0x497bf8;for(var _0x3c28a0=_0x370dac>0x1?void 0x0:_0x370dac?sn(_0x1db736,_0x11be53):_0x1db736,_0x1202b6=_0x26268a[_0x599ed2(0x2a5)]-0x1,_0x25b484;_0x1202b6>=0x0;_0x1202b6--)(_0x25b484=_0x26268a[_0x1202b6])&&(_0x3c28a0=_0x25b484(_0x3c28a0)||_0x3c28a0);return _0x3c28a0;},Me=(_0x4952e0,_0x444058)=>(_0x3b15dd,_0x40f0e9)=>_0x444058(_0x3b15dd,_0x40f0e9,_0x4952e0);const an=[_0x497bf8(0x401),_0x497bf8(0x513),'image/jpg',_0x497bf8(0x52b),_0x497bf8(0x364)],on=0x5*0x400*0x400,cn=_0x497bf8(0x546),_n=_0x497bf8(0x51d);exports[_0x497bf8(0x52a)]=class{constructor(_0x1ddf5b,_0x1efcec,_0x583283){var _0x52fdf4=_0x497bf8;A(this,_0x52fdf4(0x305),0x0),A(this,_0x52fdf4(0x2ec),new j[(_0x52fdf4(0x465))]()),A(this,_0x52fdf4(0x2ac),this[_0x52fdf4(0x2ec)]),A(this,_0x52fdf4(0x43c),new Map()),(this[_0x52fdf4(0x21a)]=_0x1ddf5b,this[_0x52fdf4(0x4d3)]=_0x1efcec,this[_0x52fdf4(0x301)]=_0x583283);}[_0x497bf8(0x4e3)](_0x56cb8d){var _0x26f493=_0x497bf8;this[_0x26f493(0x305)]=_0x56cb8d,this[_0x26f493(0x2ec)]['next'](_0x56cb8d);}[_0x497bf8(0x39c)](_0x23c192,_0xf04d9a){var _0x2b5ad9=_0x497bf8;if(_0xf04d9a===z[_0x2b5ad9(0x30c)][_0x2b5ad9(0x53a)]){const _0x47bd33=new Image();return _0x47bd33[_0x2b5ad9(0x244)]=_0x23c192,_0x47bd33;}return this[_0x2b5ad9(0x43c)]['get'](_0x23c192);}[_0x497bf8(0x31f)](_0x4be397,_0x50ef8d,_0x4a297f){var _0x540900=_0x497bf8;_0x50ef8d===z[_0x540900(0x30c)][_0x540900(0x53a)]||_0x4a297f==null||this[_0x540900(0x43c)]['set'](_0x4be397,_0x4a297f);}async[_0x497bf8(0x4a6)](_0x4ed5c5){var _0x4895d6=_0x497bf8;try{const _0x37d79e=this[_0x4895d6(0x497)](this['_getSignURL'](),''+_0x4ed5c5),_0x59a98b=(await this[_0x4895d6(0x21a)]['get'](_0x37d79e))[_0x4895d6(0x51c)];if(_0x59a98b[_0x4895d6(0x536)]&&_0x59a98b[_0x4895d6(0x536)][_0x4895d6(0x467)]===vt['OK']){const _0x5040a1=new URL(_0x59a98b[_0x4895d6(0x28f)],this['_getDownloadEndpointURL']())[_0x4895d6(0x537)]();return Promise['resolve'](_0x5040a1);}return Promise[_0x4895d6(0x499)](_0x59a98b[_0x4895d6(0x536)]);}catch(_0xc61941){return Promise[_0x4895d6(0x499)](_0xc61941);}}async[_0x497bf8(0x490)](_0x3999d4){var _0x49966a=_0x497bf8;let _0x186e2b='';if(!an[_0x49966a(0x2a8)](_0x3999d4[_0x49966a(0x245)]))return this[_0x49966a(0x288)](),Promise[_0x49966a(0x499)](new Error(z['ImageUploadStatusType'][_0x49966a(0x380)]));if(_0x3999d4[_0x49966a(0x507)]>on)return this[_0x49966a(0x288)](),Promise['reject'](new Error(z[_0x49966a(0x55b)][_0x49966a(0x24e)]));try{const _0x393a75=new FormData();_0x393a75[_0x49966a(0x48e)](_0x49966a(0x558),_0x3999d4);const _0x58b5d9=this[_0x49966a(0x301)][_0x49966a(0x2a1)](),_0x28c3a3=_0x58b5d9==null?void 0x0:_0x58b5d9['getUnitId']();if(!_0x28c3a3)throw new Error(_0x49966a(0x3c3));const _0x5de5d1=this[_0x49966a(0x4b2)]()+_0x49966a(0x3b4)+_0x3999d4['size']['toString']()+_0x49966a(0x3fa)+dt[_0x49966a(0x3af)]+_0x49966a(0x519)+encodeURIComponent(_0x28c3a3),_0x52df77={'body':_0x393a75},_0x1d7bad=(await this[_0x49966a(0x21a)][_0x49966a(0x4ae)](_0x5de5d1,_0x52df77))[_0x49966a(0x51c)];if(typeof _0x1d7bad['FileId']!=_0x49966a(0x27e))return this[_0x49966a(0x288)](),Promise[_0x49966a(0x499)](new Error(z[_0x49966a(0x55b)]['ERROR_IMAGE']));_0x186e2b=_0x1d7bad[_0x49966a(0x239)];}catch{return this[_0x49966a(0x288)](),Promise[_0x49966a(0x499)](new Error(z[_0x49966a(0x55b)]['ERROR_IMAGE']));}return new Promise((_0x979d38,_0x427c57)=>{var _0x2c5e6e=_0x49966a;const _0x5cf567=new FileReader();_0x5cf567[_0x2c5e6e(0x3cc)](_0x3999d4),_0x5cf567[_0x2c5e6e(0x40d)]=_0x2b3170=>{var _0x44157d=_0x2c5e6e,_0x32117a;const _0x440d8e=(_0x32117a=_0x2b3170['target'])==null?void 0x0:_0x32117a['result'];if(_0x440d8e==null){this[_0x44157d(0x288)](),_0x427c57(new Error(z[_0x44157d(0x55b)][_0x44157d(0x287)]));return;}const _0x22a0b6=o[_0x44157d(0x2ad)](0x6);_0x979d38({'imageId':_0x22a0b6,'imageSourceType':z['ImageSourceType'][_0x44157d(0x4c7)],'source':_0x186e2b,'base64Cache':_0x440d8e,'status':z[_0x44157d(0x55b)]['SUCCUSS']}),this[_0x44157d(0x288)]();};});}['_getUploadFileURL'](){var _0x430345=_0x497bf8,_0x5e419e;const _0x55669a=this[_0x430345(0x4d3)][_0x430345(0x33a)](Y);return(_0x5e419e=_0x55669a==null?void 0x0:_0x55669a['uploadFileServerUrl'])!=null?_0x5e419e:cn;}[_0x497bf8(0x20d)](){var _0x50e6a6=_0x497bf8,_0x5c9217;const _0x50cbda=this[_0x50e6a6(0x4d3)][_0x50e6a6(0x33a)](Y);return(_0x5c9217=_0x50cbda==null?void 0x0:_0x50cbda[_0x50e6a6(0x407)])!=null?_0x5c9217:_n;}[_0x497bf8(0x3b0)](){var _0x53cded=_0x497bf8,_0x54c87f;const _0x1ee392=this[_0x53cded(0x4d3)][_0x53cded(0x33a)](Y);return(_0x54c87f=_0x1ee392==null?void 0x0:_0x1ee392[_0x53cded(0x3ec)])!=null?_0x54c87f:location['origin'];}[_0x497bf8(0x497)](_0x1a44e8,_0x4443e7){var _0xca4309=_0x497bf8;return _0x1a44e8['replace'](_0xca4309(0x255),_0x4443e7);}[_0x497bf8(0x288)](){var _0x298f73=_0x497bf8;this[_0x298f73(0x305)]-=0x1,this[_0x298f73(0x2ec)][_0x298f73(0x580)](this[_0x298f73(0x305)]);}},exports[_0x497bf8(0x52a)]=rn([Me(0x0,o[_0x497bf8(0x3f5)](K[_0x497bf8(0x1f8)])),Me(0x1,o[_0x497bf8(0x30e)]),Me(0x2,o['Inject'](o[_0x497bf8(0x200)]))],exports[_0x497bf8(0x52a)]);var hn=Object[_0x497bf8(0x4fe)],ln=(_0x4ad997,_0x471c33,_0x585fc6,_0x26534a)=>{var _0x57020b=_0x497bf8;for(var _0x29a275=_0x26534a>0x1?void 0x0:_0x26534a?hn(_0x471c33,_0x585fc6):_0x471c33,_0x394fdd=_0x4ad997[_0x57020b(0x2a5)]-0x1,_0x3ebb19;_0x394fdd>=0x0;_0x394fdd--)(_0x3ebb19=_0x4ad997[_0x394fdd])&&(_0x29a275=_0x3ebb19(_0x29a275)||_0x29a275);return _0x29a275;},at=(_0x31212b,_0xe18e85)=>(_0x187ba0,_0x572ec7)=>_0xe18e85(_0x187ba0,_0x572ec7,_0x31212b);const un=_0x497bf8(0x41f);exports[_0x497bf8(0x3b3)]=class{constructor(_0x546c49,_0x60eae2){var _0x5b47bf=_0x497bf8;this[_0x5b47bf(0x4d3)]=_0x546c49,this[_0x5b47bf(0x247)]=_0x60eae2;}[_0x497bf8(0x2f9)](){var _0x115728=_0x497bf8,_0x639af2;const _0x445d6c=this[_0x115728(0x4d3)][_0x115728(0x33a)](Y);return(_0x639af2=_0x445d6c==null?void 0x0:_0x445d6c[_0x115728(0x2c9)])!=null?_0x639af2:un;}async[_0x497bf8(0x29a)](_0x56cc5a){var _0x1d69f1=_0x497bf8;const _0x48f3ac=this[_0x1d69f1(0x2f9)]()+_0x1d69f1(0x2b8);return{'list':[{'title':_0x1d69f1(0x4f7),'mentions':(await this[_0x1d69f1(0x247)][_0x1d69f1(0x229)](_0x48f3ac,{'params':{'objectID':_0x56cc5a[_0x1d69f1(0x472)],'unitID':_0x56cc5a['unitId']}}))[_0x1d69f1(0x51c)][_0x1d69f1(0x49f)]['map'](_0x4d60b8=>({'objectId':_0x4d60b8['id'],'name':_0x4d60b8[_0x1d69f1(0x379)][_0x1d69f1(0x34d)],'metadata':{'icon':_0x4d60b8[_0x1d69f1(0x379)][_0x1d69f1(0x2d8)]},'label':_0x4d60b8[_0x1d69f1(0x379)][_0x1d69f1(0x34d)],'objectType':o[_0x1d69f1(0x391)][_0x1d69f1(0x4de)]})),'metadata':{},'type':o[_0x1d69f1(0x391)][_0x1d69f1(0x4de)]}]};}},exports[_0x497bf8(0x3b3)]=ln([at(0x0,o['Inject'](o['IConfigService'])),at(0x1,o[_0x497bf8(0x3f5)](K[_0x497bf8(0x1f8)]))],exports[_0x497bf8(0x3b3)]);var vn=Object[_0x497bf8(0x4fe)],dn=(_0x3e8c28,_0x1117b2,_0x4440f3,_0x380d80)=>{for(var _0x2537aa=_0x380d80>0x1?void 0x0:_0x380d80?vn(_0x1117b2,_0x4440f3):_0x1117b2,_0x45dbf3=_0x3e8c28['length']-0x1,_0x285463;_0x45dbf3>=0x0;_0x45dbf3--)(_0x285463=_0x3e8c28[_0x45dbf3])&&(_0x2537aa=_0x285463(_0x2537aa)||_0x2537aa);return _0x2537aa;},le=(_0x25236a,_0x3e9a11)=>(_0x4bf7cd,_0x29bf34)=>_0x3e9a11(_0x4bf7cd,_0x29bf34,_0x25236a);let ye=class extends o[_0x497bf8(0x246)]{constructor(_0x226c40,_0x39a109,_0x3df190,_0x5154e0,_0x5282f5){var _0x18508e=_0x497bf8;super(),this[_0x18508e(0x474)]=_0x226c40,this[_0x18508e(0x301)]=_0x39a109,this[_0x18508e(0x427)]=_0x3df190,this[_0x18508e(0x40f)]=_0x5154e0,this[_0x18508e(0x534)]=_0x5282f5,this[_0x18508e(0x4a0)](),this['_initCloseConn']();}[_0x497bf8(0x53d)](){var _0x14e6ed=_0x497bf8;const _0x5c5a90=async _0x20e15e=>{var _0x327422=_0x382c;(await this[_0x327422(0x40f)]['requireSession'](_0x20e15e))[_0x327422(0x357)][_0x327422(0x4fa)](V[_0x327422(0x545)](_0x477647=>_0x477647[_0x327422(0x214)]===E[_0x327422(0x54a)][_0x327422(0x4e5)]),V[_0x327422(0x403)](this[_0x327422(0x53c)]))['subscribe'](_0x3e5b7a=>{var _0x14ee65=_0x327422;const _0x169c8e=_0x3e5b7a,{reason:_0x5c9274}=_0x169c8e[_0x14ee65(0x57d)];this[_0x14ee65(0x534)][_0x14ee65(0x2e8)]({'id':J['CLOSE_ROOM'],'data':_0x5c9274}),this[_0x14ee65(0x427)][_0x14ee65(0x50a)](new Q[(_0x14ee65(0x2bb))](_0x20e15e)['id'],!0x1),this[_0x14ee65(0x40f)][_0x14ee65(0x473)](_0x20e15e);});};j[_0x14e6ed(0x565)](this[_0x14e6ed(0x301)][_0x14e6ed(0x412)](o['UniverInstanceType'][_0x14e6ed(0x2ff)]),this[_0x14e6ed(0x301)][_0x14e6ed(0x412)](o[_0x14e6ed(0x36a)][_0x14e6ed(0x541)]))['pipe'](V[_0x14e6ed(0x392)](_0x38f3ff=>_0x38f3ff[_0x14e6ed(0x54d)]()),V[_0x14e6ed(0x545)](_0x292623=>!o[_0x14e6ed(0x4a7)](_0x292623)),V['takeUntil'](this[_0x14e6ed(0x53c)]))[_0x14e6ed(0x441)](_0x1fd04a=>{_0x5c5a90(_0x1fd04a);});}[_0x497bf8(0x4a0)](){var _0x13ae94=_0x497bf8;const _0x4f4f4c=async _0x4f57d8=>{var _0x29492e=_0x382c;const _0x574b9c=await this[_0x29492e(0x40f)][_0x29492e(0x210)](_0x4f57d8),_0x239587=this[_0x29492e(0x474)]['get'](Q[_0x29492e(0x506)]);_0x574b9c['event$'][_0x29492e(0x4fa)](V[_0x29492e(0x545)](_0x21040f=>_0x21040f[_0x29492e(0x214)]===E[_0x29492e(0x54a)]['UPDATE_PERMISSION_OBJ']),V[_0x29492e(0x403)](this['dispose$']))['subscribe'](_0x56ebc3=>{var _0xb26edf=_0x29492e;const _0x488237=_0x56ebc3,{objectId:_0x4db182}=_0x488237[_0xb26edf(0x57d)];_0x4db182===_0x4f57d8?_0x239587[_0xb26edf(0x4e8)](_0x4f57d8):_0x239587['refreshPermission'](_0x4f57d8,_0x4db182);});};j[_0x13ae94(0x565)](this[_0x13ae94(0x301)][_0x13ae94(0x412)](o[_0x13ae94(0x36a)][_0x13ae94(0x2ff)]))[_0x13ae94(0x4fa)](V[_0x13ae94(0x392)](_0x14d34e=>_0x14d34e[_0x13ae94(0x54d)]()),V['filter'](_0x15c771=>!o[_0x13ae94(0x4a7)](_0x15c771)),V[_0x13ae94(0x403)](this['dispose$']))[_0x13ae94(0x441)](_0x2bed48=>{_0x4f4f4c(_0x2bed48);});}};ye=dn([le(0x0,o[_0x497bf8(0x3f5)](o[_0x497bf8(0x35e)])),le(0x1,o[_0x497bf8(0x200)]),le(0x2,o[_0x497bf8(0x39a)]),le(0x3,o[_0x497bf8(0x3f5)](exports[_0x497bf8(0x3b2)])),le(0x4,o[_0x497bf8(0x3f5)](ee))],ye);var Sn=Object[_0x497bf8(0x4fe)],In=(_0x5ace07,_0x4bf1b6,_0xe3fa50,_0x130d03)=>{var _0x3bb0a2=_0x497bf8;for(var _0xc15a9c=_0x130d03>0x1?void 0x0:_0x130d03?Sn(_0x4bf1b6,_0xe3fa50):_0x4bf1b6,_0x4c6708=_0x5ace07[_0x3bb0a2(0x2a5)]-0x1,_0x1df867;_0x4c6708>=0x0;_0x4c6708--)(_0x1df867=_0x5ace07[_0x4c6708])&&(_0xc15a9c=_0x1df867(_0xc15a9c)||_0xc15a9c);return _0xc15a9c;},ot=(_0x2b25ed,_0xbb1594)=>(_0x47a40c,_0x3473d0)=>_0xbb1594(_0x47a40c,_0x3473d0,_0x2b25ed);exports['SnapshotServerOverHTTPService']=class{constructor(_0x3a6a43,_0x1c773f){var _0x30576e=_0x497bf8;this[_0x30576e(0x4d3)]=_0x3a6a43,this[_0x30576e(0x21a)]=_0x1c773f;}async[_0x497bf8(0x433)](_0x43ca58,_0x5424d0){var _0x4ab35f=_0x497bf8,_0x291a58;const {unitID:_0x25c6d3,type:_0x57bbab,revision:_0x557581=0x0}=_0x5424d0,_0x4072d5=this[_0x4ab35f(0x52d)]()+'/'+_0x57bbab+_0x4ab35f(0x248)+_0x25c6d3+_0x4ab35f(0x22b)+_0x557581,_0x4aec31=(await this[_0x4ab35f(0x21a)][_0x4ab35f(0x229)](_0x4072d5))[_0x4ab35f(0x51c)],_0x1aefb2=(_0x291a58=_0x4aec31[_0x4ab35f(0x410)])==null?void 0x0:_0x291a58[_0x4ab35f(0x4d8)];if(_0x1aefb2){const _0x251a48=_0x1aefb2==null?void 0x0:_0x1aefb2['originalMeta'],_0x23f05b=E[_0x4ab35f(0x304)][_0x4ab35f(0x36c)](E['b64DecodeUnicode'](_0x251a48));_0x1aefb2['originalMeta']=_0x23f05b,Object['entries'](_0x1aefb2[_0x4ab35f(0x44b)])[_0x4ab35f(0x49b)](([,_0x507979])=>{var _0xdb2f55=_0x4ab35f;const _0x2ca139=_0x507979[_0xdb2f55(0x559)],_0x10b04d=E['textEncoder']['encode'](E[_0xdb2f55(0x540)](_0x2ca139));_0x507979['originalMeta']=_0x10b04d;});}return _0x4aec31;}async[_0x497bf8(0x575)](_0x2c3a91,_0x3238cc){var _0x250117=_0x497bf8;const {unitID:_0x562e60,type:_0x4b13f9,blockID:_0x35246b}=_0x3238cc,_0x5f4926=this[_0x250117(0x275)]()+'/'+_0x4b13f9+_0x250117(0x248)+_0x562e60+_0x250117(0x2f5)+_0x35246b;return(await this[_0x250117(0x21a)][_0x250117(0x229)](_0x5f4926))['body'];}async[_0x497bf8(0x54c)](_0x5809ab,_0x505cb8){var _0x13ef5a=_0x497bf8;const {unitID:_0x510a0b,type:_0x4ef0ec,blockID:_0x29f520}=_0x505cb8,_0x9870b=this[_0x13ef5a(0x275)]()+_0x13ef5a(0x2f5)+_0x4ef0ec+_0x13ef5a(0x248)+_0x510a0b+_0x13ef5a(0x2f5)+_0x29f520;return(await this['_httpService'][_0x13ef5a(0x229)](_0x9870b))[_0x13ef5a(0x51c)];}async['fetchMissingChangesets'](_0x110251,_0x10463c){var _0xbb241e=_0x497bf8;const {unitID:_0x1c771b,type:_0x44ef30,from:_0x58ef79,to:_0x4127ec}=_0x10463c,_0xc7e9eb=this[_0xbb241e(0x275)]()+'/'+_0x44ef30+_0xbb241e(0x248)+_0x1c771b+_0xbb241e(0x4f6)+_0x58ef79+_0xbb241e(0x4df)+_0x4127ec;return(await this['_httpService']['get'](_0xc7e9eb))[_0xbb241e(0x51c)];}[_0x497bf8(0x52d)](){var _0x4a204a=_0x497bf8,_0xa2bb60;return(_0xa2bb60=this['_configService'][_0x4a204a(0x33a)](Ut))!=null?_0xa2bb60:this[_0x4a204a(0x275)]();}[_0x497bf8(0x275)](){var _0x35d70a=_0x497bf8,_0x13ddf9;const _0x5baa0c=this['_configService']['getConfig'](Y);return(_0x13ddf9=_0x5baa0c==null?void 0x0:_0x5baa0c[_0x35d70a(0x2ae)])!=null?_0x13ddf9:yt;}async['getResourcesRequest'](_0x2c08c3,_0x5162ec){var _0x89fadd=_0x497bf8;const _0x5df426='/universer-api/snapshot/'+_0x5162ec[_0x89fadd(0x245)]+_0x89fadd(0x248)+_0x5162ec['unitID']+_0x89fadd(0x4f5);return(await this['_httpService'][_0x89fadd(0x229)](_0x5df426,{'params':{'resourceId':JSON['stringify'](_0x5162ec[_0x89fadd(0x48b)])}}))[_0x89fadd(0x51c)];}['saveSnapshot'](){var _0x7c92df=_0x497bf8;throw new Error(_0x7c92df(0x4e1));}['updateSnapshot'](){var _0x3f8dd9=_0x497bf8;throw new Error(_0x3f8dd9(0x4e1));}[_0x497bf8(0x406)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){var _0x3f74cd=_0x497bf8;throw new Error(_0x3f74cd(0x4e1));}[_0x497bf8(0x3f1)](){var _0x3b15fc=_0x497bf8;throw new Error(_0x3b15fc(0x4e1));}},exports[_0x497bf8(0x509)]=In([ot(0x0,o['IConfigService']),ot(0x1,o[_0x497bf8(0x3f5)](K['HTTPService']))],exports[_0x497bf8(0x509)]);function _0x4680(){var _0x47f78a=['randomBytes','_startTelemetryCollaborationNewChangeset','min','localeService','&assign=','_collabSessionService','ENSURE_SNAPSHOT_EXECUTION','body','/universer-api/file/{fileID}/sign-url','_compressMutationService','UPDATE_CURSOR','_oKey','fetchMissingChangesets','ENTITLE_REPORT_LIMIT_EXCEED','COMPLETION_FINISHED','[OfflineState]:\x20received\x20acknowledgement.','Latin1','SheetCollaborationEntity','_initRequestHeader','UNISCRIPT_RUN','_singleActiveUnitService','CollaborationImageIoService','image/gif','_sendingTimer','getSnapshotAPIPath','onTransformRemoteChangesetByIMECache','enableOfflineEditing','CHANGESET_SHOULD_RETRY','_changesetSessionId','OfflineState','parseProtocolChangeset','_collaborationUIEventService','_snapshotServerService','error','toString','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ENTITLE_NEED_BILLING_ADDRESS','BASE64','IUndoRedoService','dispose$','_initCloseConn','\x0aAfter:\x20','execute','b64DecodeUnicode','UNIVER_DOC','encryptBlock','onRemoteRetry','__Key__','filter','/universer-api/stream/file/upload','REDEMPTION_INVALID_CODE','cmd','_remoteChangesetQueue','CollaborationEvent','auth.needGotoLoginAlert','getDeserializedSheetBlock','getUnitId','kdf','onMissingChangesets','floor','ConflictState','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','editing\x20status\x20changed\x20to','AwaitingState','Univer','c1Prime','9FJNdHw','file','originalMeta','onRemoteRej','ImageUploadStatusType','send','_updateStatus','mergeOverrideWithDependencies','call','_clearHeartbeatTimer','[PendingState]:\x20received\x20rejection.','registerHTTPInterceptor','_lockTransition','_syncEditingCollabCursor','merge','_registerDependencies','_initDependencies','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_sendHeartbeat','startsWith','COMPRESS_MUTATION_APPLY','charAt','pending','univer-pro.collaboration-client.single-active-unit-service','/allowed','_socketService','_timeoutTimer','_submitChangeset','_sheetTransformSelectionsService','responseType','getSheetBlock','Base','cfg','ENTITLE_COUPON_EXPIRED','roomInfos','readyForCollab','CONNECTOR_DATA_TOO_LARGE','CollaborationSocketService','data','LICENSE_EXPORT_SIZE_EXCEEDED','deleteCollaborator','next','AWAITING','catch','_stopTelemetryCollaborationNewChangeset','Disposable','commentUpdate$','encodeURIComponent','UniverCollaborationPlugin','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','collabSubmitChangesetUrl','toDisposable','ICollaborationSocketService','YUUMI_AI_RUN_FAILED','_onRemoteRejected','HTTPService','createDecryptor','socket\x20open.','\x20-\x20','_type','[OfflineState]:\x20received\x20rejection.','_onRemoteACK','UserManagerService','IUniverInstanceService','fetch_missing','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','SyncedState','_status$','from','location','_revisionService','CipherParams','method','createInstance','liveShareOperation','AwaitingWithPendingState','_getSignURL','_handler','updatePermissionObjEvent','requireSession','processBlock','loadOfflineData','submit\x20changeset\x20error!','eventID','salt','MergeInterceptorFactory','UniverNetworkPlugin','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','offline','_httpService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','UNIVER_COLLABORATION_CLIENT_PLUGIN','_localCacheService','_instanceService','getUnitType','500472aGalch','_toggleOnline','_applyRemoteChangeset','UNKNOWN_CMD','ENTITLE_COUPON_USED_UP','REDEMPTION_USER_NOT_ELIGIBLE','DEFAULT_FILE_NAME','OpenSSL','_createSocket','get','DataLoaderService','/rev/','_onJoinRoomEvent','_getLoginPath','reduce','RETRY_CONNECTING_MAX_COUNT','AuthzIoHttpService','LIVESHARE_OPERATION','LOCAL_CACHE_INTERVAL','_snapshotService','clear','_sessionStatus$','format','_iKey','updateOfflineData','FileId','_event$','encrypt','_onRemoteChangeset','formatter','_onUserLeave','_rescheduleHeartbeat','hasher','LOGIN_TOKEN_PROCESSING_FAILED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','fetchMiss','src','type','RxDisposable','_HTTPService','/unit/','_updateState','ISingleActiveUnitService','_onConnectionFailed','_telemetryInfo','_transformIMECache','ERROR_EXCEED_SIZE','_startCollaboration','onStarting','IMentionIOService','_waitForHeartbeatResponse','PAYMENT_CHANNEL_NOT_SUPPORT','ThresholdInterceptorFactory','{fileID}','_onOffline','actions','OTHER_CLIENTS_EDITING','serializeCombRequest','Module','[CollaborationSessionService]','_networkConditionService','fetching\x20missing\x20changesets\x20from\x20','ReplaySubject','_localeService','/-/object/list','LocalUndoRedoService','_clearRedo','_createInitialState','SYNCED','mutations','_unlockTransition','FETCH_MISS','_sender','INVITE_CODE_ALREADY_BOUND','_scheduleCollaborationTimeoutTimer','_hasher','_invKeySchedule','disposeWithMe','has','_doReset','APPLY_REVISION_CONFILICT','_map','_replayCachedMutations','DATA_SOURCE_TOO_LARGE','_redoStacks','_getAPIPrefix','MOBILE_HAS_BEEN_BOUND','YUUMI_CONNECTOR_URL_NOT_FOUND','routeKey','_doProcessBlock','INVALID_INVITE_CODE','SNAPSHOT_URL_KEY','_showConflictNotification','buffer','string','defineProperty','_toggleOffline','connection\x20error','_minBufferSize','revision','HTTPRequest','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','HttpExport','ERROR_IMAGE','_decreaseWaiting','_executeRemoteChangeset','EMAIL_VERIFY_CODE_MISMATCH','__creator','LIVESHARE_NEW_HOST','_roomMembers','_transitionLocked','url','USER_NOT_FOUND','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','getMemberID','mode','joinEvent','params','prototype','FAIL','UnitStatus','unitID','list','SOCKET_FAILED_RETRY','collaboratorID','/universer-api/oidc/authpage','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','LocaleService','JOINING','getFocusedUnit','complete','_clearCollaborationTimeoutTimer','INVALID_ARGUMENT','length','msCrypto','_fetchMissChangesets','includes','_handlerCallback','UniverCollaborationClientPlugin','ENTITLE_DUP_SUBSCRIPTION','change$','generateRandomId','snapshotServerUrl','_transformRemoteChangesetByIMECache','[DataLoaderService]','MSG_FOR_ERROR','mixIn','reqId','memberID','SUBMIT_CHANGESET','SheetTransformSelectionsService','range','/collaborator','_keyPriorReset','ClipsheetFragments','WorkbookEditablePermission','_shouldReportTelemetry','awaitingChangeset','createSocket','failed\x20to\x20apply\x20missed\x20changesets!','_unitID','collaMsg','AES','OFFLINE','_clearTimeoutTimer','_collaborationPaused','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_socket$','JOIN_ROOM_NOT_EXISTS','authzUrl','max','_config','_commandService','_memberService','keySize','INetworkConditionService','decryptBlock','JOIN_ROOM_FULL','LICENSE_IMPORT_SIZE_EXCEEDED','REDEMPTION_CODE_INACTIVE','LICENSE_DISTRO_REJECTED','_key','pluginName','getRoom','avatar','charCodeAt','CollaborationUIEventId','136884XCFqht','allowed','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','INVITE_CODE_REQUIRED','add','_init','join','words','_logService','concatMap','mapDocumentTypeToUniverType','getMember','49574VvYWLM','emitEvent','delete','PSEUDO_FETCH_MISSING_RESULT','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_change$','\x20in\x20_schedule.','default','_socketReady','LICENSE_MAX_UNITS_EXCEEDED','disableLocalCache','fromCollab','set','collaboration-client.local-cache-service','/block/','m2Prime','ciphertext','collaboration-client.config','_getAPIPrefixPath','_process','152qDlApI','onSendChangeset','RETRY_CONNECTING_MAX_COUNT_KEY','enc','UNIVER_SHEET','_incrementRevisionNumber','_univerInstanceService','CompressMutationService','push','textEncoder','_waitCount','clone','WordArray','YUUMI_UNABLE_LOAD_URL','ceil','HEARTBEAT_INTERVAL','_clearRetryConnectingTimer','ImageSourceType','transformStack\x20failed!','IConfigService','getTime','onTransformIME','shouldCloseConn','IDLE','[CollaborationEntity]','[FetchMissState]','_throwTelemetryCollaborationNewChangeset','DependentOn','status$','_transformUndoredo','_append','TOO_MANY_REQUESTS','interceptor','[OfflineState]:\x20received\x20changeset.','_nDataBytes','localCacheService','addImageSourceCache','_transformService','create','rev','every','state','/object/','Could\x20not\x20dynamically\x20require\x20\x22','_updateLocalCache','getTypeOfUnitDisposed$','_transformStateCache','parse','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','byteLength','toggleOnline','UNKNOWN_CODE','x-univer-host','PY_RUNTIME_SCRIPT_ERROR','_clearScheduledTask','univer-pro.collaboration-client-socket-service','_userManagerService','APPLY_DUPLICATED','baseRev','listCollaborators','LOCAL_CACHE_INTERVAL_KEY','SNAPSHOT_HAS_BEEN_REMOVED','now','getConfig','ONLINE','getCurrentUser','PasswordBasedCipher','UNIVER_UNKNOWN','REDEMPTION_CODE_HAS_BEEN_CREATED','_createHandler','[CollaborationState]:\x20apply\x20error!','confirm','transformChangesets','_data','_sessions','_socketMessageSubscription','/new_changes','_clearLocalCache','_ENC_XFORM_MODE','reset','hasOwnProperty','duration','name','CHANGESET_ACK','socket$','setShowComponents','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_onConflict','session','loginUrlKey','pauseCollaboration','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','event$','startTime','FETCH_MISSING','awaiting_with_pending','SNAPSHOT_INVALID_SNAPSHOT','ERROR_AGAIN','JOIN_ROOM_FAILED','Injector','_substituteRedoStack','StreamCipher','fetchThroughInterceptors','session.room-full','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','image/bmp','USERS_ENTER','onCommentUpdate','ENTITLE_USE_COUPON_NOT_1ST_TRADE','transformMutationsWithChangeset','session.room-permission-denied','UniverInstanceType','SheetsSelectionsService','encode','padding','_telemetryService','Quantity','_nRounds','finalize','SessionStatus','MD5','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','capture','_createInitialStateImpl','RichTextEditingMutation','RevisionService','subject','sigBytes','694724SHAoFw','compose','_onRecvEvent','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','_members$','ERROR_IMAGE_TYPE','_scheduleCompleteTimestamp','Optional','COMMENT_UPDATE','session.room-cnt-exceeds','clamp','transformSelections','BehaviorSubject','Error\x20on\x20receiving\x20event','getCurrentSelections','onSyncEditingCollabCursor','UNRECOGNIZED','Cipher','override','_xformMode','EvpKDF','POST','MentionType','map','\x20to\x20','extend','csShouldRetryEvent','/role','IContextService','_hash','put','IPermissionService','subUnitId','getImageSourceCache','_getCtorByUniverType','removeMember','CollaborationController','HEARTBEAT','socketService','csRejEvent','close','CommandType','NOT_COLLAB','delay','OPTIONAL','save\x20fail\x20reason\x20is\x20','ILogService','title','unknown','_tryReconnect','update','enableCollaboration','UnitEmbedded','_getDownloadEndpointURL','objectID','CollaborationSessionService','MentionIoHttpService','?size=','_exhaustRemoteChangesetQueue','COMPRESS_MUTATION_SEND','[CollaborationUndoRedoService]','apply','FetchingMissState','Hasher','ws://127.0.0.1:8000/universer-api/comb/connect','Plugin','onLocalMutation','Malformed\x20UTF-8\x20data','_commentService','_getCurrentRevision','key','members','unitId\x20is\x20not\x20found','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','fromCharCode','GLOBAL_ROOMS_CNT_EXCEEDS','requestParams','_onRemoteRetry','blockSize','$super','_isPermissionRej','readAsDataURL','onTransformSelections','Workbook','_getUndoStack','_maxTotalRetryTimeout','CLOSE_ROOM','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getCollabEntity$','USER_IS_ANONYMOUS','2820280EzQBXH','listRoles','BlockCipher','_sendHeartbeatTimer','_tryEnsureSocket','EMAIL_HAS_BEEN_BOUND','CollaborationSession','compute','indexOf','NoPadding','hostname','random','NOT_FOUND','UNAUTHENTICATED','onlyLocal','LEAVE','status','not_collab','getValue','objects','_state$','lib','equals','downloadEndpointUrl','INTERNAL_ERROR','JOIN','getInterceptPoints','focused$','getLatestCsReqIdBySid','_prevBlock','/object','_createHelper','Inject','APPLY_REJECT','byteOffset','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','ITelemetryService','&source=','56235qeSZxi','deserializeToCombResponse','__splitChunk__','_onFetchMissResult','INVITE_CODE_HAS_BEEN_UES','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','image/png','SUBMIT_CHANGESET_TIMEOUT','takeUntil','_resendTimeout','sequenceExecute','saveSheetBlock','signUrlServerUrl','putCollaborators','symbol','session.join-failed','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_onLocalMutation','onload','_pendingMutations','_collaborationSessionService','snapshot','_members','getTypeOfUnitAdded$','_doCryptBlock','UNIVER_SLIDE','/universer-api/snapshot','permissionRejEvent','YUUMI_SUBSCRIPTION_NOT_FOUND','_resendWithTimeout','selections','LIVESHARE_TERMINATE','textRanges','539730ofuQfC','Decryptor','INGEST','/universer-api/authz','CollaborationStatus','_createHmacHelper','updateMember','deepClone','HEARTBEAT_INTERVAL_KEY','_checkMissing','CollaborationEntity','_permissionService','EmptyMutationInfo','_mode','5IqDmQV','close$','reconnect','sin','_unitInfo$','HttpImport','_cipher','onRemoteChangeset','toggleOffline','getUnitOnRev','debug','sid','commentUpdateEvent','_queuedRemoteChangesets','isTransformMutationsWithChangesetSuccess','_initMergeInterceptor','ENTITLE_CHAT_LIMIT_EXCEED','BufferedBlockAlgorithm','_imageSourceCache','UNIVER_PROJECT','/-/object/-/batch_allowed','state$','stopTime','subscribe','appendMutation','USERS_LEAVE','dispose','UnitSnapshot','patch','SOCKET_FAILED','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_getSendChangesetTimeout','unsubscribe','sheets','YUUMI_URL_COL_OUT_OF_RANGE','uuidv4','_acknowledgedAwaitingChangeset','slice','getWorkbookSelections','_substituteUndoStack','/universer-api/user/session-ticket','ICommandService','getRandomValues','c2Prime','awaiting','_awaitingChangeset','DisposableCollection','algo','href','Encryptor','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','RECV','concat','splice','SnapshotService','Utf8','_getRedoStack','_undoRedoService','_transformRemoteChangesetByStateCache','Subject','REDEMPTION_USER_REDEEM_TIMES_EXCEED','code','DEFAULT_WS_SESSION_TICKET_URL','UserProfileImg','_clearUndo','shareReplay','pad','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_keySchedule','createCollaborator','onRemoteAck','getActiveSheet','unitId','closeSession','_injector','headers','updateCursorEvent','_commentUpdate$','HEARTBEAT_TIMEOUT_KEY','MUTATION','_eventService','DocCollaborationEntity','HELLO','collaboration_new_changeset','init','isTransformChangesetsSuccess','socket\x20close','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_roomCreated$','CollaborativeUndoRedoService','_retryConnectingTimer','[SyncedState]:\x20received\x20rejection.','CHANGESET_REVISION_CONFILICT','Undefined','LIVESHARE_FETCH_OPERATIONS','CURRENT_STATUS_CANNOT_OPERATE','_entityInit$','resourceIDs','ISocketService','registerDependencies','append','ALREADY_EXISTS','saveImage','setConfig','message$','WECHAT_HAS_BEEN_BOUND','onMutationExecutedForCollab','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','leaveEvent','_replaceFileID','_state','reject','exports','forEach','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','LIVESHARE_REQUEST_HOST','_onConnectionOpen','collaborators','_initUnitPermissionChange','online$','CONFLICT','YUUMI_ASYNCIO_CANCELLED','CHANGESET_REJ','sessionStatus$','getImage','isInternalEditorID','[CollaborationSessionService]:\x20socket\x20error','_doFinalize','changesets','liveShareNewHost','toStringTag','stringify','post','NO_OTHER_CLIENTS_EDITING','objectActions','open$','_getUploadFileURL','UPDATE_PERMISSION_OBJ','_entities','reverse','crypto','createIdentifier','PendingState','InsertSheetMutation','addHandlerCallback','REDEMPTION_CODE_FULLY_REDEEMED','USER_NOT_INVITED_CODE','APPLY_NON_SEQUENTIAL_REVISION','_changesetReqId','find','objectType','error$','MemberService','MOBILE_VERIFY_CODE_MISMATCH','_candidateSocket','ENTITLE_INSUFFICIENT_QUOTA','unitInfo$','UUID','decrypt','AUTHORIZE_CODE_ILLEGAL','[PendingState]:\x20received\x20acknowledgement.','synced','ILocalCacheService','loadSheet','isPermissionRej','infoRsp','setCurrentUser','asObservable','editingUnit','_configService','findIndex','SHA1','userID','_iv','workbook','isTransformMutationsWithChangesetFailure','_DEC_XFORM_MODE','_socket','retryConnectingInterval','CollaborationUIEventService','PERSON','&to=','_resendTimer','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_transformSelections','setWaitCount','transformUndoRedo','SHOULD_CLOSE_CONN','IImageIoService','csAckEvent','initWorkbookPermissionChange','_undoStacks','loadUnitOfRevision','conflict','getCurrentRevOfUnit','entityInit$','_joinRoom','_reverseMap','onTransformState','executeCommand','Pkcs7','take','enableSingleActiveInstanceLock','/resources','/fetchmissing?from=','People','collabWebSocketUrl','_transformStack','pipe','resend','[SyncedState]:\x20received\x20acknowledgement.','_schedule','getOwnPropertyDescriptor','NEW_CHANGESETS','LOGIN_FAILED','PERMISSION_DENIED','function','ITransformService','_onCombEvent','onTransformRemoteChangesetByStateCache','SheetPermissionInitController','size','sendChangesetTimeout','SnapshotServerOverHTTPService','updatePermissionPoint','isArray','OTHER_CLIENT_EDITING','_retryCount','abs','_removeRoom','JOIN_ROOM_PERMISSION_DENIED','__esModule','HMAC','image/jpeg','_collaborationTimeoutTimer'];_0x4680=function(){return _0x47f78a;};return _0x4680();}var fn=Object[_0x497bf8(0x4fe)],En=(_0x553be0,_0x29b101,_0x290af2,_0x27a73d)=>{var _0x335f6b=_0x497bf8;for(var _0x4a0541=_0x27a73d>0x1?void 0x0:_0x27a73d?fn(_0x29b101,_0x290af2):_0x29b101,_0x3d241f=_0x553be0[_0x335f6b(0x2a5)]-0x1,_0x37c767;_0x3d241f>=0x0;_0x3d241f--)(_0x37c767=_0x553be0[_0x3d241f])&&(_0x4a0541=_0x37c767(_0x4a0541)||_0x4a0541);return _0x4a0541;},ue=(_0x35c527,_0x381525)=>(_0x28e9e2,_0x32be8e)=>_0x381525(_0x28e9e2,_0x32be8e,_0x35c527);exports[_0x497bf8(0x483)]=class extends o[_0x497bf8(0x261)]{constructor(_0x577063,_0x1dd4fb,_0x1aa201,_0x1e133a,_0x27c184){var _0x5d1eb7=_0x497bf8;super(_0x577063,_0x1dd4fb,_0x1aa201),this[_0x5d1eb7(0x320)]=_0x1e133a,this[_0x5d1eb7(0x2e3)]=_0x27c184;}[_0x497bf8(0x4e4)](_0x2b8968,_0x5e77e9){var _0x31fab3=_0x497bf8;const _0x284aed=this['_getUndoStack'](_0x2b8968);if(_0x284aed)try{const _0x197f14=this['_transformStack'](_0x284aed,_0x5e77e9);this['_substituteUndoStack'](_0x2b8968,_0x197f14);}catch(_0x1d57db){this[_0x31fab3(0x2e3)][_0x31fab3(0x536)]('[CollaborationUndoRedoService]',_0x1d57db),this['_clearUndo'](_0x2b8968);}const _0x10ad3b=this[_0x31fab3(0x462)](_0x2b8968);if(_0x10ad3b)try{const _0xf5d9fd=this[_0x31fab3(0x4f9)](_0x10ad3b,_0x5e77e9);this[_0x31fab3(0x35f)](_0x2b8968,_0xf5d9fd);}catch(_0x1179a7){this[_0x31fab3(0x2e3)][_0x31fab3(0x536)](_0x1179a7),this[_0x31fab3(0x262)](_0x2b8968);}}[_0x497bf8(0x46a)](_0x49085e){var _0x5245a0=_0x497bf8;const _0x14beae=this[_0x5245a0(0x3cf)](_0x49085e);_0x14beae&&(_0x14beae['length']=0x0,this['_updateStatus']());}['_clearRedo'](_0x814259){var _0x107a01=_0x497bf8;const _0x87f6ab=this['_getRedoStack'](_0x814259);_0x87f6ab&&(_0x87f6ab[_0x107a01(0x2a5)]=0x0,this['_updateStatus']());}[_0x497bf8(0x451)](_0x432417,_0x1c4aa7){var _0x32f285=_0x497bf8;this[_0x32f285(0x4e9)]['set'](_0x432417,_0x1c4aa7),this[_0x32f285(0x55d)]();}[_0x497bf8(0x35f)](_0x1ffe2d,_0x1f1be2){var _0x48fa51=_0x497bf8;this[_0x48fa51(0x274)][_0x48fa51(0x2f3)](_0x1ffe2d,_0x1f1be2),this['_updateStatus']();}[_0x497bf8(0x4f9)](_0xe506f6,_0x1edada){var _0xdfeb96=_0x497bf8;const _0x27b2b9=[];let _0x13edb6=_0x1edada,_0x2d68f0=_0x1edada;for(let _0x5f4585=_0xe506f6[_0xdfeb96(0x2a5)]-0x1;_0x5f4585>=0x0;_0x5f4585--){const {unitID:_0x751af6,undoMutations:_0x558d0b,redoMutations:_0x5796d2}=_0xe506f6[_0x5f4585],_0x209527=this[_0xdfeb96(0x320)][_0xdfeb96(0x368)](_0x13edb6,_0x558d0b),_0x30b27d=this[_0xdfeb96(0x320)]['transformMutationsWithChangeset'](_0x2d68f0,_0x5796d2);if(E['isTransformMutationsWithChangesetFailure'](_0x209527)||E[_0xdfeb96(0x4d9)](_0x30b27d)){this[_0xdfeb96(0x2e3)][_0xdfeb96(0x536)](_0xdfeb96(0x3b7),_0xdfeb96(0x30d),_0x209527,_0x30b27d);break;}_0x13edb6=_0x209527[_0xdfeb96(0x556)],_0x2d68f0=_0x30b27d[_0xdfeb96(0x556)],_0x27b2b9['push']({'unitID':_0x751af6,'undoMutations':_0x209527['m2Prime'],'redoMutations':_0x30b27d[_0xdfeb96(0x2f6)]});}return _0x27b2b9[_0xdfeb96(0x4b5)]();}},exports['CollaborativeUndoRedoService']=En([ue(0x0,o[_0x497bf8(0x200)]),ue(0x1,o[_0x497bf8(0x453)]),ue(0x2,o[_0x497bf8(0x397)]),ue(0x3,E[_0x497bf8(0x503)]),ue(0x4,o[_0x497bf8(0x3a9)])],exports[_0x497bf8(0x483)]);var pn=Object[_0x497bf8(0x27f)],mn=Object[_0x497bf8(0x4fe)],gn=(_0xbbffc2,_0x4a24b6,_0x524f14)=>_0x4a24b6 in _0xbbffc2?pn(_0xbbffc2,_0x4a24b6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x524f14}):_0xbbffc2[_0x4a24b6]=_0x524f14,Tn=(_0x38ca66,_0x47430d,_0x3867e3,_0x2d6d51)=>{var _0x50a9dc=_0x497bf8;for(var _0x2954b2=_0x2d6d51>0x1?void 0x0:_0x2d6d51?mn(_0x47430d,_0x3867e3):_0x47430d,_0x269f65=_0x38ca66[_0x50a9dc(0x2a5)]-0x1,_0x4a9dd6;_0x269f65>=0x0;_0x269f65--)(_0x4a9dd6=_0x38ca66[_0x269f65])&&(_0x2954b2=_0x4a9dd6(_0x2954b2)||_0x2954b2);return _0x2954b2;},we=(_0x3e4679,_0x33877c)=>(_0x4d4ecd,_0x1f7a4b)=>_0x33877c(_0x4d4ecd,_0x1f7a4b,_0x3e4679),Cn=(_0x39a465,_0x22d13a,_0x171a8b)=>gn(_0x39a465,_0x22d13a+'',_0x171a8b);const On=_0x497bf8(0x21c);function _0x382c(_0x1ef3dc,_0x4e8ad0){_0x1ef3dc=_0x1ef3dc-0x1f3;var _0x468070=_0x4680();var _0x382c0c=_0x468070[_0x1ef3dc];return _0x382c0c;}exports[_0x497bf8(0x2aa)]=class extends o[_0x497bf8(0x3bc)]{constructor(_0x49997d,_0x92f1d4,_0x4e39ee,_0x2d2b34){var _0x37cadf=_0x497bf8;super(),A(this,_0x37cadf(0x2cb)),(this['_logService']=_0x92f1d4,this['_injector']=_0x4e39ee,this[_0x37cadf(0x4d3)]=_0x2d2b34);const {..._0x30f4aa}=o[_0x37cadf(0x565)]({},Qt,_0x49997d);if(!_0x30f4aa['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x37cadf(0x2cb)]=_0x30f4aa,this[_0x37cadf(0x4d3)][_0x37cadf(0x491)](Y,_0x30f4aa);}[_0x497bf8(0x250)](){var _0x5aee34=_0x497bf8;this[_0x5aee34(0x566)](),this[_0x5aee34(0x567)]();}[_0x497bf8(0x566)](){var _0x57c439=_0x497bf8,_0x1d4bd7,_0x4fc53d;this[_0x57c439(0x474)][_0x57c439(0x26e)](o[_0x57c439(0x53b)])&&this['_logService'][_0x57c439(0x536)]('[UniverCollaborationClientPlugin]',_0x57c439(0x32b));const _0x5f232d=o[_0x57c439(0x55e)]([[o[_0x57c439(0x53b)],{'useClass':exports[_0x57c439(0x483)]}],[exports[_0x57c439(0x3b2)]],[exports[_0x57c439(0x4c2)]],[exports[_0x57c439(0x2b6)]],[Ne],[De],[$e],[ye],[ee],[exports[_0x57c439(0x22a)]],[Fe,{'useClass':this[_0x57c439(0x2cb)][_0x57c439(0x3a1)]}],[E['ISnapshotServerService'],{'useClass':exports[_0x57c439(0x509)]}],[o['IAuthzIoService'],{'useClass':exports[_0x57c439(0x230)]}],[z[_0x57c439(0x4e6)],{'useClass':exports[_0x57c439(0x52a)]}],[o[_0x57c439(0x251)],{'useClass':exports[_0x57c439(0x3b3)]}],[exports[_0x57c439(0x39f)]],[xe]],(_0x1d4bd7=this[_0x57c439(0x2cb)])==null?void 0x0:_0x1d4bd7[_0x57c439(0x38d)]);if(!((_0x4fc53d=this[_0x57c439(0x2cb)])!=null&&_0x4fc53d[_0x57c439(0x4f4)])){const _0x18cc00=_0x5f232d[_0x57c439(0x4d4)](([_0x388e00])=>_0x388e00===ve);_0x18cc00!==-0x1&&_0x5f232d['splice'](_0x18cc00,0x1);}o[_0x57c439(0x48d)](this[_0x57c439(0x474)],_0x5f232d);}['_initDependencies'](){var _0x2d32e5=_0x497bf8,_0x398c70,_0x133882,_0x318b69;this[_0x2d32e5(0x474)][_0x2d32e5(0x229)](K[_0x2d32e5(0x1f8)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':K[_0x2d32e5(0x254)]({'maxParallel':0x6})}),(_0x398c70=this[_0x2d32e5(0x2cb)])!=null&&_0x398c70[_0x2d32e5(0x52f)]||(_0x133882=this['_injector'][_0x2d32e5(0x229)](q,o[_0x2d32e5(0x36f)][_0x2d32e5(0x3a7)]))==null||_0x133882[_0x2d32e5(0x2f1)](),(_0x318b69=this[_0x2d32e5(0x2cb)])!=null&&_0x318b69['enableAuthServer']&&o['touchDependencies'](this[_0x2d32e5(0x474)],[[Ne]]),o['touchDependencies'](this[_0x2d32e5(0x474)],[[De],[exports[_0x2d32e5(0x39f)]],[ye]]);}},Cn(exports[_0x497bf8(0x2aa)],_0x497bf8(0x2d6),On),exports[_0x497bf8(0x2aa)]=Tn([o[_0x497bf8(0x316)](E[_0x497bf8(0x587)],K[_0x497bf8(0x217)]),we(0x1,o[_0x497bf8(0x3a9)]),we(0x2,o[_0x497bf8(0x3f5)](o[_0x497bf8(0x35e)])),we(0x3,o['IConfigService'])],exports[_0x497bf8(0x2aa)]),exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports[_0x497bf8(0x420)]=je,exports[_0x497bf8(0x2da)]=J,exports[_0x497bf8(0x4dd)]=ee,exports['CommentService']=$e,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=_t,exports[_0x497bf8(0x242)]=Bt,exports[_0x497bf8(0x468)]=Pt,exports[_0x497bf8(0x424)]=ht,exports[_0x497bf8(0x478)]=ke,exports[_0x497bf8(0x1f5)]=Fe,exports[_0x497bf8(0x4cc)]=q,exports[_0x497bf8(0x2cf)]=pt,exports[_0x497bf8(0x24a)]=ve,exports[_0x497bf8(0x232)]=kt,exports[_0x497bf8(0x337)]=xt,exports[_0x497bf8(0x21b)]=jt,exports[_0x497bf8(0x2fd)]=ut,exports[_0x497bf8(0x372)]=se,exports[_0x497bf8(0x298)]=He,exports[_0x497bf8(0x3fc)]=mt,exports['getLocalCacheKey']=zt,exports[_0x497bf8(0x259)]=gt;