@univerjs-pro/collaboration-client 0.12.4-experimental.20251208-c4b8a44 → 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 (54) 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/umd/facade.js +1 -1
  42. package/lib/umd/index.js +1 -1
  43. package/lib/umd/locale/ca-ES.js +1 -1
  44. package/lib/umd/locale/en-US.js +1 -1
  45. package/lib/umd/locale/es-ES.js +1 -1
  46. package/lib/umd/locale/fa-IR.js +1 -1
  47. package/lib/umd/locale/fr-FR.js +1 -1
  48. package/lib/umd/locale/ja-JP.js +1 -1
  49. package/lib/umd/locale/ko-KR.js +1 -1
  50. package/lib/umd/locale/ru-RU.js +1 -1
  51. package/lib/umd/locale/vi-VN.js +1 -1
  52. package/lib/umd/locale/zh-CN.js +1 -1
  53. package/lib/umd/locale/zh-TW.js +1 -1
  54. package/package.json +9 -9
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x33edf5=_0x5256;(function(_0x22f1fb,_0x27dea0){var _0x37855a=_0x5256,_0x3d341a=_0x22f1fb();while(!![]){try{var _0x172777=-parseInt(_0x37855a(0x3ef))/0x1+-parseInt(_0x37855a(0x315))/0x2+-parseInt(_0x37855a(0x2bc))/0x3*(parseInt(_0x37855a(0x373))/0x4)+-parseInt(_0x37855a(0x357))/0x5*(parseInt(_0x37855a(0x377))/0x6)+-parseInt(_0x37855a(0x13b))/0x7*(-parseInt(_0x37855a(0x3d4))/0x8)+-parseInt(_0x37855a(0x30c))/0x9+parseInt(_0x37855a(0x277))/0xa*(parseInt(_0x37855a(0xd0))/0xb);if(_0x172777===_0x27dea0)break;else _0x3d341a['push'](_0x3d341a['shift']());}catch(_0x580aed){_0x3d341a['push'](_0x3d341a['shift']());}}}(_0x4f5d,0xac70b));var Ot=Object[_0x33edf5(0x1d7)],bt=(_0x57d57a,_0x33ca73,_0x148cbe)=>_0x33ca73 in _0x57d57a?Ot(_0x57d57a,_0x33ca73,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x148cbe}):_0x57d57a[_0x33ca73]=_0x148cbe,A=(_0x2b329f,_0x10c722,_0x4e91e7)=>bt(_0x2b329f,typeof _0x10c722!=_0x33edf5(0x16a)?_0x10c722+'':_0x10c722,_0x4e91e7);Object[_0x33edf5(0x1d7)](exports,Symbol['toStringTag'],{'value':'Module'});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=_0x33edf5(0xa2),yt=_0x33edf5(0x249),Ut=0x7d0,_t=_0x33edf5(0x334),At=_0x33edf5(0x244),ht='HEARTBEAT_INTERVAL',Pt=0x7530,ke=_0x33edf5(0x14a),lt=0x4e20,Lt=0x4e20,ut='RETRY_CONNECTING_MAX_COUNT',Mt=0x3,wt=_0x33edf5(0x2a4),xt=0x3e8,kt='/universer-api/comb',$t='/universer-api/oidc/authpage',Ht=_0x33edf5(0x379),jt='/universer-api/uniscript';var vt=(_0x42f2d0=>(_0x42f2d0[_0x42f2d0[_0x33edf5(0x278)]=0x0]=_0x33edf5(0x278),_0x42f2d0[_0x42f2d0['OK']=0x1]='OK',_0x42f2d0[_0x42f2d0[_0x33edf5(0x3aa)]=0x2]=_0x33edf5(0x3aa),_0x42f2d0[_0x42f2d0[_0x33edf5(0x3e4)]=0x3]='PERMISSION_DENIED',_0x42f2d0[_0x42f2d0[_0x33edf5(0x2d3)]=0x4]=_0x33edf5(0x2d3),_0x42f2d0[_0x42f2d0[_0x33edf5(0x314)]=0x5]=_0x33edf5(0x314),_0x42f2d0[_0x42f2d0['ALREADY_EXISTS']=0x6]=_0x33edf5(0x203),_0x42f2d0[_0x42f2d0[_0x33edf5(0x94)]=0x7]='INVALID_ARGUMENT',_0x42f2d0[_0x42f2d0[_0x33edf5(0x3b0)]=0x8]=_0x33edf5(0x3b0),_0x42f2d0[_0x42f2d0[_0x33edf5(0x21e)]=0x9]=_0x33edf5(0x21e),_0x42f2d0[_0x42f2d0[_0x33edf5(0x341)]=0xa]='LOGIN_FAILED',_0x42f2d0[_0x42f2d0[_0x33edf5(0x346)]=0xb]=_0x33edf5(0x346),_0x42f2d0[_0x42f2d0['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x33edf5(0x1fb),_0x42f2d0[_0x42f2d0[_0x33edf5(0x122)]=0xd]=_0x33edf5(0x122),_0x42f2d0[_0x42f2d0[_0x33edf5(0x7c)]=0xe]=_0x33edf5(0x7c),_0x42f2d0[_0x42f2d0[_0x33edf5(0x120)]=0xf]=_0x33edf5(0x120),_0x42f2d0[_0x42f2d0[_0x33edf5(0x185)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x42f2d0[_0x42f2d0[_0x33edf5(0x9b)]=0x64]=_0x33edf5(0x9b),_0x42f2d0[_0x42f2d0[_0x33edf5(0x358)]=0x65]=_0x33edf5(0x358),_0x42f2d0[_0x42f2d0[_0x33edf5(0x384)]=0xc9]=_0x33edf5(0x384),_0x42f2d0[_0x42f2d0['USER_IS_ANONYMOUS']=0xca]=_0x33edf5(0x15c),_0x42f2d0[_0x42f2d0[_0x33edf5(0xee)]=0x1389]=_0x33edf5(0xee),_0x42f2d0[_0x42f2d0['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x42f2d0[_0x42f2d0[_0x33edf5(0x303)]=0x1772]=_0x33edf5(0x303),_0x42f2d0[_0x42f2d0[_0x33edf5(0x12a)]=0x1773]=_0x33edf5(0x12a),_0x42f2d0[_0x42f2d0[_0x33edf5(0x3ae)]=0x1b59]=_0x33edf5(0x3ae),_0x42f2d0[_0x42f2d0[_0x33edf5(0x1bf)]=0x1b5a]=_0x33edf5(0x1bf),_0x42f2d0[_0x42f2d0[_0x33edf5(0x1b6)]=0x1b5b]=_0x33edf5(0x1b6),_0x42f2d0[_0x42f2d0[_0x33edf5(0x354)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x42f2d0[_0x42f2d0['APPLY_DUPLICATED']=0x1b5d]=_0x33edf5(0x150),_0x42f2d0[_0x42f2d0[_0x33edf5(0x294)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x42f2d0[_0x42f2d0[_0x33edf5(0xfc)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x42f2d0[_0x42f2d0[_0x33edf5(0xf4)]=0x232a]=_0x33edf5(0xf4),_0x42f2d0[_0x42f2d0[_0x33edf5(0xcf)]=0x232b]=_0x33edf5(0xcf),_0x42f2d0[_0x42f2d0['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x33edf5(0x2b0),_0x42f2d0[_0x42f2d0[_0x33edf5(0x208)]=0x232d]=_0x33edf5(0x208),_0x42f2d0[_0x42f2d0['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x42f2d0[_0x42f2d0[_0x33edf5(0x2f4)]=0x2712]=_0x33edf5(0x2f4),_0x42f2d0[_0x42f2d0['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x33edf5(0x1de),_0x42f2d0[_0x42f2d0[_0x33edf5(0x397)]=0x2714]=_0x33edf5(0x397),_0x42f2d0[_0x42f2d0[_0x33edf5(0x1c3)]=0x271a]=_0x33edf5(0x1c3),_0x42f2d0[_0x42f2d0[_0x33edf5(0x262)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x42f2d0[_0x42f2d0['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x33edf5(0x310),_0x42f2d0[_0x42f2d0[_0x33edf5(0x33d)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x42f2d0[_0x42f2d0[_0x33edf5(0x240)]=0x271e]=_0x33edf5(0x240),_0x42f2d0[_0x42f2d0[_0x33edf5(0xb7)]=0x271f]=_0x33edf5(0xb7),_0x42f2d0[_0x42f2d0[_0x33edf5(0xb5)]=0x2720]=_0x33edf5(0xb5),_0x42f2d0[_0x42f2d0['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x33edf5(0x288),_0x42f2d0[_0x42f2d0['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x33edf5(0x286),_0x42f2d0[_0x42f2d0[_0x33edf5(0x1ca)]=0x2ee2]=_0x33edf5(0x1ca),_0x42f2d0[_0x42f2d0[_0x33edf5(0xac)]=0x2ee3]=_0x33edf5(0xac),_0x42f2d0[_0x42f2d0[_0x33edf5(0x18c)]=0x2ee4]=_0x33edf5(0x18c),_0x42f2d0[_0x42f2d0[_0x33edf5(0x239)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x42f2d0[_0x42f2d0[_0x33edf5(0x11b)]=0x32c9]=_0x33edf5(0x11b),_0x42f2d0[_0x42f2d0[_0x33edf5(0x2f1)]=0x32ca]=_0x33edf5(0x2f1),_0x42f2d0[_0x42f2d0[_0x33edf5(0x229)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x42f2d0[_0x42f2d0[_0x33edf5(0x3c0)]=0x36b1]=_0x33edf5(0x3c0),_0x42f2d0[_0x42f2d0[_0x33edf5(0xa7)]=0x36b2]=_0x33edf5(0xa7),_0x42f2d0[_0x42f2d0[_0x33edf5(0x2b4)]=0x36b3]=_0x33edf5(0x2b4),_0x42f2d0[_0x42f2d0[_0x33edf5(0x9d)]=0x36b4]=_0x33edf5(0x9d),_0x42f2d0[_0x42f2d0[_0x33edf5(0x36a)]=0x36b5]=_0x33edf5(0x36a),_0x42f2d0[_0x42f2d0[_0x33edf5(0x2d6)]=0x36b6]=_0x33edf5(0x2d6),_0x42f2d0[_0x42f2d0[_0x33edf5(0xff)]=0x36b7]=_0x33edf5(0xff),_0x42f2d0[_0x42f2d0[_0x33edf5(0x252)]=0x36b8]=_0x33edf5(0x252),_0x42f2d0[_0x42f2d0[_0x33edf5(0x90)]=0x3715]=_0x33edf5(0x90),_0x42f2d0[_0x42f2d0[_0x33edf5(0xe2)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x42f2d0[_0x42f2d0['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x42f2d0[_0x42f2d0[_0x33edf5(0xf1)]=0x37dd]=_0x33edf5(0xf1),_0x42f2d0[_0x42f2d0[_0x33edf5(0x1e1)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x42f2d0[_0x42f2d0[_0x33edf5(0x1e8)]=0x3a9a]=_0x33edf5(0x1e8),_0x42f2d0[_0x42f2d0[_0x33edf5(0x338)]=0x3a9b]=_0x33edf5(0x338),_0x42f2d0[_0x42f2d0[_0x33edf5(0x1ad)]=0x3a9c]=_0x33edf5(0x1ad),_0x42f2d0[_0x42f2d0[_0x33edf5(0x28a)]=0x3a9d]=_0x33edf5(0x28a),_0x42f2d0[_0x42f2d0[_0x33edf5(0x2e4)]=0x3a9e]=_0x33edf5(0x2e4),_0x42f2d0[_0x42f2d0['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x33edf5(0x137),_0x42f2d0[_0x42f2d0[_0x33edf5(0x3d3)]=0x3e81]=_0x33edf5(0x3d3),_0x42f2d0[_0x42f2d0[_0x33edf5(0x14f)]=-0x1]='UNRECOGNIZED',_0x42f2d0))(vt||{}),X=(_0x313c04=>(_0x313c04[_0x313c04[_0x33edf5(0x197)]=0x0]='UNIVER_UNKNOWN',_0x313c04[_0x313c04[_0x33edf5(0x317)]=0x1]='UNIVER_DOC',_0x313c04[_0x313c04['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x313c04[_0x313c04[_0x33edf5(0x140)]=0x3]=_0x33edf5(0x140),_0x313c04[_0x313c04['UNIVER_PROJECT']=0x4]=_0x33edf5(0x88),_0x313c04[_0x313c04[_0x33edf5(0x14f)]=-0x1]=_0x33edf5(0x14f),_0x313c04))(X||{}),W=(_0x1860ec=>(_0x1860ec[_0x1860ec[_0x33edf5(0x242)]=0x0]=_0x33edf5(0x242),_0x1860ec[_0x1860ec[_0x33edf5(0x339)]=0x1]=_0x33edf5(0x339),_0x1860ec[_0x1860ec[_0x33edf5(0xea)]=0x2]=_0x33edf5(0xea),_0x1860ec[_0x1860ec['LEAVE']=0x3]='LEAVE',_0x1860ec[_0x1860ec[_0x33edf5(0x312)]=0x4]=_0x33edf5(0x312),_0x1860ec[_0x1860ec[_0x33edf5(0x1a8)]=0x5]=_0x33edf5(0x1a8),_0x1860ec[_0x1860ec[_0x33edf5(0x3ec)]=0x6]=_0x33edf5(0x3ec),_0x1860ec[_0x1860ec['UNRECOGNIZED']=-0x1]=_0x33edf5(0x14f),_0x1860ec))(W||{}),re=(_0x96a4c=>(_0x96a4c[_0x96a4c[_0x33edf5(0xb9)]=0x0]=_0x33edf5(0xb9),_0x96a4c[_0x96a4c['OK']=0x1]='OK',_0x96a4c[_0x96a4c[_0x33edf5(0xd6)]=0x2]='FAIL',_0x96a4c[_0x96a4c[_0x33edf5(0x13e)]=0x3e9]=_0x33edf5(0x13e),_0x96a4c[_0x96a4c[_0x33edf5(0x224)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x96a4c[_0x96a4c[_0x33edf5(0x309)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x96a4c[_0x96a4c[_0x33edf5(0x3c6)]=0x3ec]=_0x33edf5(0x3c6),_0x96a4c[_0x96a4c['UNRECOGNIZED']=-0x1]=_0x33edf5(0x14f),_0x96a4c))(re||{}),dt=(_0x136e1b=>(_0x136e1b[_0x136e1b[_0x33edf5(0x220)]=0x0]='Undefined',_0x136e1b[_0x136e1b['HttpImport']=0x1]='HttpImport',_0x136e1b[_0x136e1b[_0x33edf5(0x165)]=0x2]=_0x33edf5(0x165),_0x136e1b[_0x136e1b['UnitEmbedded']=0x3]=_0x33edf5(0x254),_0x136e1b[_0x136e1b[_0x33edf5(0x146)]=0x4]=_0x33edf5(0x146),_0x136e1b[_0x136e1b['UserProfileImg']=0x5]=_0x33edf5(0x234),_0x136e1b[_0x136e1b['ClipsheetFragments']=0x6]=_0x33edf5(0x13f),_0x136e1b[_0x136e1b[_0x33edf5(0x14f)]=-0x1]=_0x33edf5(0x14f),_0x136e1b))(dt||{});const Bt=_0x33edf5(0x15a);function Ft(_0x2a3dc1){var _0x3cd41b=_0x33edf5;return JSON[_0x3cd41b(0x16f)](_0x2a3dc1)['length'];}var J=(_0x127334=>(_0x127334['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x127334[_0x33edf5(0x3e4)]='PERMISSION_DENIED',_0x127334[_0x33edf5(0x250)]='CONFLICT',_0x127334['CLOSE_ROOM']=_0x33edf5(0x21b),_0x127334[_0x33edf5(0xe1)]='JOIN_ROOM_FAILED',_0x127334[_0x33edf5(0x105)]='SOCKET_FAILED_RETRY',_0x127334[_0x33edf5(0x12f)]=_0x33edf5(0x12f),_0x127334[_0x33edf5(0x27a)]=_0x33edf5(0x27a),_0x127334))(J||{});class ee{constructor(){var _0x2ec184=_0x33edf5;A(this,_0x2ec184(0x1d1),new j['Subject']()),A(this,_0x2ec184(0x1a2),this[_0x2ec184(0x1d1)]['asObservable']());}[_0x33edf5(0x328)](_0x54b025){var _0x18994b=_0x33edf5;this[_0x18994b(0x1d1)][_0x18994b(0x402)](_0x54b025);}}class $e{constructor(){var _0x2d29b5=_0x33edf5;A(this,_0x2d29b5(0x13a),new j[(_0x2d29b5(0xef))]()),A(this,_0x2d29b5(0x29d),this[_0x2d29b5(0x13a)]['asObservable']());}[_0x33edf5(0x116)](_0x2f3a16){var _0x5e97df=_0x33edf5;this[_0x5e97df(0x13a)][_0x5e97df(0x402)](_0x2f3a16);}}var Vt=Object[_0x33edf5(0x8d)],Wt=(_0x48eb34,_0xc3eb5f,_0x368c38,_0xb4d119)=>{var _0x352c12=_0x33edf5;for(var _0x1338a1=_0xb4d119>0x1?void 0x0:_0xb4d119?Vt(_0xc3eb5f,_0x368c38):_0xc3eb5f,_0x42857e=_0x48eb34[_0x352c12(0x182)]-0x1,_0x6e7244;_0x42857e>=0x0;_0x42857e--)(_0x6e7244=_0x48eb34[_0x42857e])&&(_0x1338a1=_0x6e7244(_0x1338a1)||_0x1338a1);return _0x1338a1;},Ve=(_0xdd5d15,_0xa82e17)=>(_0x3ad574,_0x5245a8)=>_0xa82e17(_0x3ad574,_0x5245a8,_0xdd5d15);exports[_0x33edf5(0x267)]=class extends o[_0x33edf5(0x16b)]{constructor(_0xe8360c,_0x2f7e8d){var _0x14fce9=_0x33edf5;super(),A(this,_0x14fce9(0x1b4),new Map()),A(this,'_roomCreated$',new j['Subject']()),(this[_0x14fce9(0x82)]=_0xe8360c,this[_0x14fce9(0x20b)]=_0x2f7e8d,this['disposeWithMe'](j[_0x14fce9(0x22d)](this[_0x14fce9(0x82)][_0x14fce9(0x153)](o[_0x14fce9(0x302)][_0x14fce9(0x290)])['pipe'](V[_0x14fce9(0x3b9)](_0x205949=>_0x205949[_0x14fce9(0xe0)]())),this[_0x14fce9(0x82)][_0x14fce9(0x153)](o[_0x14fce9(0x302)][_0x14fce9(0x317)])[_0x14fce9(0x10a)](V[_0x14fce9(0x3b9)](_0x5a16cc=>_0x5a16cc[_0x14fce9(0xe0)]())),this['_univerInstanceService'][_0x14fce9(0x153)](o[_0x14fce9(0x302)]['UNIVER_SLIDE'])[_0x14fce9(0x10a)](V[_0x14fce9(0x3b9)](_0x2cea53=>_0x2cea53[_0x14fce9(0xe0)]())))[_0x14fce9(0x2cc)](_0x16e3e0=>this[_0x14fce9(0x24b)](_0x16e3e0))));}['waitForRoom$'](_0x9893c4){var _0x3a803a=_0x33edf5;return this[_0x3a803a(0x1b4)][_0x3a803a(0x2ab)](_0x9893c4)?j['of'](this[_0x3a803a(0x1b4)][_0x3a803a(0x3cc)](_0x9893c4)):this['_roomCreated$'][_0x3a803a(0x10a)](V[_0x3a803a(0x3b9)](_0x17c995=>{var _0x17f563=_0x3a803a;if(_0x17c995===_0x9893c4)return this[_0x17f563(0x1b4)][_0x17f563(0x3cc)](_0x17c995);}));}[_0x33edf5(0x200)](_0x51ea73){var _0x585503=_0x33edf5;this['_userManagerService'][_0x585503(0x200)](_0x51ea73);}[_0x33edf5(0x132)](){var _0x29fc57=_0x33edf5;return this[_0x29fc57(0x20b)][_0x29fc57(0x132)]();}[_0x33edf5(0x330)](_0x25464c,_0x59c864){var _0x490e54=_0x33edf5;let _0x350f9f=this[_0x490e54(0x1b4)][_0x490e54(0x3cc)](_0x25464c);_0x350f9f||(_0x350f9f=new Gt(),this['_roomMembers'][_0x490e54(0x18b)](_0x25464c,_0x350f9f),this[_0x490e54(0x388)][_0x490e54(0x402)](_0x25464c)),_0x350f9f[_0x490e54(0x330)](_0x59c864);}[_0x33edf5(0x17d)](_0x1526ea,_0x4c3a14){var _0x1c872e=_0x33edf5;const _0x3a862e=this[_0x1c872e(0x1b4)]['get'](_0x1526ea);_0x3a862e&&_0x3a862e[_0x1c872e(0x17d)](_0x4c3a14);}['getRoom'](_0xfff6d9){var _0x39b5fb=_0x33edf5;return this[_0x39b5fb(0x1b4)][_0x39b5fb(0x3cc)](_0xfff6d9);}['getMember'](_0x59ab9d,_0x178b1e){var _0x3a51bd=_0x33edf5;const _0xf67a1f=this[_0x3a51bd(0x1b4)][_0x3a51bd(0x3cc)](_0x59ab9d);if(_0xf67a1f)return _0xf67a1f[_0x3a51bd(0x151)](_0x178b1e);}['_removeRoom'](_0x4711e6){var _0x267117=_0x33edf5;const _0x355da0=this[_0x267117(0x1b4)][_0x267117(0x3cc)](_0x4711e6);_0x355da0&&(_0x355da0['dispose'](),this['_roomMembers'][_0x267117(0x15b)](_0x4711e6));}[_0x33edf5(0xa8)](){var _0x3169ff=_0x33edf5;this[_0x3169ff(0x1b4)]['forEach'](_0x271034=>_0x271034['dispose']()),this[_0x3169ff(0x1b4)][_0x3169ff(0x193)](),this[_0x3169ff(0x388)][_0x3169ff(0x29f)]();}},exports[_0x33edf5(0x267)]=Wt([Ve(0x0,o[_0x33edf5(0x2c1)]),Ve(0x1,o[_0x33edf5(0x348)](o['UserManagerService']))],exports['MemberService']);class Gt extends o['Disposable']{constructor(){var _0x5ffd3f=_0x33edf5;super(...arguments),A(this,'_members',new Map()),A(this,_0x5ffd3f(0x223),new j['BehaviorSubject'](this[_0x5ffd3f(0x263)])),A(this,_0x5ffd3f(0x28d),this[_0x5ffd3f(0x223)]['asObservable']());}[_0x33edf5(0xa8)](){this['_members']['clear']();}[_0x33edf5(0x330)](_0x196e8d){var _0x23276a=_0x33edf5;this['_members']['set'](_0x196e8d[_0x23276a(0x23a)],_0x196e8d),this[_0x23276a(0x14d)]();}['removeMember'](_0x3f523e){var _0x432602=_0x33edf5;this[_0x432602(0x263)]['delete'](_0x3f523e);}[_0x33edf5(0x151)](_0x3c9a52){var _0x40d113=_0x33edf5;return this[_0x40d113(0x263)][_0x40d113(0x3cc)](_0x3c9a52);}[_0x33edf5(0x3f5)](){var _0x5d7a38=_0x33edf5;return Array[_0x5d7a38(0x19a)](this[_0x5d7a38(0x263)][_0x5d7a38(0x2c7)]());}['_emitMembers'](){var _0x443daf=_0x33edf5;this[_0x443daf(0x223)]['next'](this[_0x443daf(0x263)]);}}var Yt=Object[_0x33edf5(0x8d)],Kt=(_0x2e28af,_0x258575,_0x346711,_0x19f9fb)=>{var _0x4ffcdb=_0x33edf5;for(var _0x5d67db=_0x19f9fb>0x1?void 0x0:_0x19f9fb?Yt(_0x258575,_0x346711):_0x258575,_0x271295=_0x2e28af[_0x4ffcdb(0x182)]-0x1,_0x2918e7;_0x271295>=0x0;_0x271295--)(_0x2918e7=_0x2e28af[_0x271295])&&(_0x5d67db=_0x2918e7(_0x5d67db)||_0x5d67db);return _0x5d67db;},ce=(_0x38f6ed,_0xa4501d)=>(_0x13bcc7,_0x3f80b9)=>_0xa4501d(_0x13bcc7,_0x3f80b9,_0x38f6ed),se=(_0x572e16=>(_0x572e16[_0x572e16[_0x33edf5(0x2a3)]=0x0]=_0x33edf5(0x2a3),_0x572e16[_0x572e16['JOINING']=0x1]='JOINING',_0x572e16[_0x572e16[_0x33edf5(0xd8)]=0x2]=_0x33edf5(0xd8),_0x572e16[_0x572e16[_0x33edf5(0x387)]=0x3]=_0x33edf5(0x387),_0x572e16))(se||{});const We={[re[_0x33edf5(0xd6)]]:'session.join-failed',[re[_0x33edf5(0x13e)]]:_0x33edf5(0x2e9),[re[_0x33edf5(0x224)]]:_0x33edf5(0xed),[re[_0x33edf5(0x309)]]:_0x33edf5(0x1b7),[re[_0x33edf5(0x3c6)]]:'session.room-cnt-exceeds'};exports[_0x33edf5(0x16d)]=class extends o[_0x33edf5(0x37e)]{constructor(_0x380f83,_0x60535f,_0xbd5d70,_0x5b6dc8,_0x6ab033,_0x10508b,_0xd82d04,_0x1e6f3b){var _0x44cdd4=_0x33edf5;super(),A(this,'_sessionStatus$',new j[(_0x44cdd4(0x19d))](0x0)),A(this,'sessionStatus$',this[_0x44cdd4(0x3f4)][_0x44cdd4(0x291)]()),A(this,_0x44cdd4(0x1d1),new j[(_0x44cdd4(0xef))]()),A(this,_0x44cdd4(0x1a2),this[_0x44cdd4(0x1d1)][_0x44cdd4(0x291)]()),A(this,_0x44cdd4(0x1ab)),A(this,_0x44cdd4(0x1ed)),A(this,_0x44cdd4(0x3e8)),A(this,_0x44cdd4(0x1bb),!0x1),A(this,_0x44cdd4(0x24e),null),(this['_unitID']=_0x380f83,this[_0x44cdd4(0x353)]=_0xbd5d70,this[_0x44cdd4(0x2ba)]=_0x5b6dc8,this['_memberService']=_0x6ab033,this[_0x44cdd4(0x345)]=_0x10508b,this[_0x44cdd4(0x2aa)]=_0xd82d04,this[_0x44cdd4(0x332)]=_0x1e6f3b,this[_0x44cdd4(0x1bb)]=!!this[_0x44cdd4(0x332)],_0x60535f['pipe'](j[_0x44cdd4(0x28c)](this[_0x44cdd4(0x149)]))[_0x44cdd4(0x2cc)](_0x5a3e87=>{var _0x3e123=_0x44cdd4,_0x170e75;typeof _0x5a3e87>'u'||(this['_socket']=_0x5a3e87,_0x5a3e87?(this[_0x3e123(0x35a)](_0x5a3e87),this[_0x3e123(0x1ed)]=_0x5a3e87['message$'][_0x3e123(0x2cc)](_0x4d6ca9=>{var _0x391a56=_0x3e123;_0x4d6ca9[_0x391a56(0x26f)]===this[_0x391a56(0x119)]&&this[_0x391a56(0x24f)](_0x4d6ca9);})):(this[_0x3e123(0x359)](),this['_sessionStatus$']['next'](0x2),(_0x170e75=this[_0x3e123(0x1ed)])==null||_0x170e75[_0x3e123(0x2ff)](),this[_0x3e123(0x1ed)]=null));}));}get[_0x33edf5(0x180)](){var _0x374244=_0x33edf5;return this[_0x374244(0x3f4)][_0x374244(0x167)]();}[_0x33edf5(0x38f)](){var _0x5204fd=_0x33edf5,_0x43bfe7,_0x3c8c15;return(_0x3c8c15=(_0x43bfe7=this[_0x5204fd(0x1ab)])==null?void 0x0:_0x43bfe7[_0x5204fd(0x23a)])!=null?_0x3c8c15:null;}[_0x33edf5(0xa8)](){var _0x409cba=_0x33edf5;super['dispose'](),this['dispose$'][_0x409cba(0x402)](),this[_0x409cba(0x149)][_0x409cba(0x29f)]();}[_0x33edf5(0x331)](){var _0x5e327b=_0x33edf5,_0xf6c368,_0x534959;this[_0x5e327b(0x359)](),(_0xf6c368=this[_0x5e327b(0x1ab)])==null||_0xf6c368[_0x5e327b(0x113)]({'cmd':W[_0x5e327b(0x2d0)],'data':{'roomID':this[_0x5e327b(0x119)]}}),(_0x534959=this[_0x5e327b(0x1ab)])==null||_0x534959[_0x5e327b(0x331)](),this['_event$'][_0x5e327b(0x29f)](),this['_sessionStatus$'][_0x5e327b(0x29f)](),this[_0x5e327b(0xa8)]();}[_0x33edf5(0x24f)](_0x1973f7){var _0x2315fa=_0x33edf5;_0x1973f7[_0x2315fa(0x2f8)]===W[_0x2315fa(0xea)]?this[_0x2315fa(0x184)](_0x1973f7):_0x1973f7[_0x2315fa(0x2f8)]===W[_0x2315fa(0x3ec)]&&this[_0x2315fa(0x108)](_0x1973f7);}[_0x33edf5(0x35a)](_0x4fa935){var _0x25f74f=_0x33edf5;this[_0x25f74f(0x3f4)][_0x25f74f(0x402)](0x1),_0x4fa935['send']({'cmd':W[_0x25f74f(0xea)],'routeKey':this[_0x25f74f(0x119)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x33edf5(0x184)](_0x419f7e){var _0x4e1871=_0x33edf5,_0xe625e0;if(_0x419f7e[_0x4e1871(0xe8)]in We){this['_collaborationUIEventService'][_0x4e1871(0x328)]({'id':J[_0x4e1871(0xe1)],'data':We[_0x419f7e[_0x4e1871(0xe8)]]}),this[_0x4e1871(0x3f4)][_0x4e1871(0x402)](0x2);return;}this[_0x4e1871(0x3f4)][_0x4e1871(0x402)](0x3);const _0x227218=(_0xe625e0=_0x419f7e[_0x4e1871(0x34f)]['roomInfos'][this[_0x4e1871(0x119)]])==null?void 0x0:_0xe625e0[_0x4e1871(0xa1)];_0x227218&&_0x227218['forEach'](_0x17cd3e=>this['_memberService']['updateMember'](this[_0x4e1871(0x119)],_0x17cd3e));}[_0x33edf5(0x108)](_0x89588){var _0x5e7508=_0x33edf5;try{const _0x1b5aa5=_0x89588[_0x5e7508(0x34f)];switch(_0x1b5aa5['eventID']){case E[_0x5e7508(0xd1)][_0x5e7508(0x246)]:this[_0x5e7508(0x107)](_0x1b5aa5),this[_0x5e7508(0x1d1)][_0x5e7508(0x402)](_0x1b5aa5);break;case E['CollaborationEvent'][_0x5e7508(0x30e)]:this['_onUserLeave'](_0x1b5aa5),this['_event$'][_0x5e7508(0x402)](_0x1b5aa5);break;case E['CollaborationEvent'][_0x5e7508(0xc1)]:case E[_0x5e7508(0xd1)]['CHANGESET_SHOULD_RETRY']:this[_0x5e7508(0x337)](),this['_clearCollaborationTimeoutTimer'](),this['_event$']['next'](_0x1b5aa5);break;case E['CollaborationEvent'][_0x5e7508(0x292)]:this[_0x5e7508(0x353)]['error'](_0x5e7508(0xc7)+JSON[_0x5e7508(0x16f)](_0x1b5aa5)),this['_event$'][_0x5e7508(0x402)](_0x1b5aa5);break;case E[_0x5e7508(0xd1)]['COMMENT_UPDATE']:this[_0x5e7508(0x345)][_0x5e7508(0x116)](_0x1b5aa5[_0x5e7508(0x34f)]),this[_0x5e7508(0x1d1)][_0x5e7508(0x402)](_0x1b5aa5);break;default:this[_0x5e7508(0x1d1)][_0x5e7508(0x402)](_0x1b5aa5);}}catch(_0x131824){this[_0x5e7508(0x353)][_0x5e7508(0x134)](_0x131824,_0x89588);}}[_0x33edf5(0x107)](_0x13e013){var _0x41f12c=_0x33edf5;this[_0x41f12c(0x2af)][_0x41f12c(0x330)](this[_0x41f12c(0x119)],_0x13e013[_0x41f12c(0x34f)]);}[_0x33edf5(0x1cc)](_0xed1d8a){var _0x27768f=_0x33edf5;this[_0x27768f(0x2af)][_0x27768f(0x17d)](this[_0x27768f(0x119)],_0xed1d8a[_0x27768f(0x34f)]['memberID']);}async[_0x33edf5(0x113)](_0x59883f,_0x4acef1){var _0x5ddb32=_0x33edf5;if(this[_0x5ddb32(0x180)]!==0x3||!this['_socket'])throw new Error(_0x5ddb32(0x21a));try{_0x59883f[_0x5ddb32(0x2f2)]===E['CollaborationEvent'][_0x5ddb32(0x2f3)]&&(this[_0x5ddb32(0x22f)](),this[_0x5ddb32(0x2d4)](_0x59883f)),this[_0x5ddb32(0x1ab)]['send']({'cmd':W[_0x5ddb32(0x312)],'routeKey':_0x4acef1,'routeType':'','data':_0x59883f});}catch(_0x5f1f82){this['_logService'][_0x5ddb32(0x134)](_0x5f1f82);}}[_0x33edf5(0x22f)](){var _0x16d222=_0x33edf5,_0x5f220e;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x253902=_0x5256;this[_0x253902(0x3e8)]=null,this[_0x253902(0x2aa)][_0x253902(0x328)]({'id':J[_0x253902(0x27a)]});},(_0x5f220e=this[_0x16d222(0x2ba)][_0x16d222(0x2d9)](ke))!=null?_0x5f220e:lt);}[_0x33edf5(0x3bf)](){var _0xc6745c=_0x33edf5;this[_0xc6745c(0x3e8)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x33edf5(0x2d4)](_0x5e85dc){var _0x2f7714=_0x33edf5;if(!this['_shouldReportTelemetry'])return;const {data:_0x123905}=_0x5e85dc,{unitID:_0x1c9433,changeset:_0x577132}=_0x123905,{mutations:_0xc901ce,type:_0xf5e658}=_0x577132;this['_telemetryInfo']={'unitId':_0x1c9433,'type':_0xf5e658,'startTime':performance[_0x2f7714(0x188)](),'stopTime':0x0,'duration':0x0,'size':Ft(_0xc901ce)};}[_0x33edf5(0x337)](){var _0x5514e5=_0x33edf5;if(this[_0x5514e5(0x1bb)]){if(!this[_0x5514e5(0x24e)]){this[_0x5514e5(0x353)][_0x5514e5(0x134)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x5514e5(0xb8)]=performance[_0x5514e5(0x188)](),this[_0x5514e5(0x24e)]['duration']=this[_0x5514e5(0x24e)][_0x5514e5(0xb8)]-this[_0x5514e5(0x24e)][_0x5514e5(0x35e)],this[_0x5514e5(0x332)][_0x5514e5(0x404)](Bt,this[_0x5514e5(0x24e)]),this[_0x5514e5(0x24e)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0xe875a=_0x33edf5;this[_0xe875a(0x24e)]=null;}},exports['CollaborationSession']=Kt([ce(0x2,o[_0x33edf5(0x2e7)]),ce(0x3,o[_0x33edf5(0x37c)]),ce(0x4,o[_0x33edf5(0x348)](exports['MemberService'])),ce(0x5,o[_0x33edf5(0x348)]($e)),ce(0x6,o['Inject'](ee)),ce(0x7,o[_0x33edf5(0x370)](Rt[_0x33edf5(0xc3)]))],exports[_0x33edf5(0x16d)]);const q=o[_0x33edf5(0x22a)](_0x33edf5(0x3f3));function qt(_0x2615d6){var _0x27c858=_0x33edf5;return _0x27c858(0x121)+_0x2615d6;}var zt=Object[_0x33edf5(0x8d)],Xt=(_0xc004c9,_0x5ded87,_0x4b6b44,_0x5b0be3)=>{var _0x345c39=_0x33edf5;for(var _0x20941e=_0x5b0be3>0x1?void 0x0:_0x5b0be3?zt(_0x5ded87,_0x4b6b44):_0x5ded87,_0x3eef53=_0xc004c9[_0x345c39(0x182)]-0x1,_0x31afe7;_0x3eef53>=0x0;_0x3eef53--)(_0x31afe7=_0xc004c9[_0x3eef53])&&(_0x20941e=_0x31afe7(_0x20941e)||_0x20941e);return _0x20941e;},Ue=(_0x25b326,_0x5ec625)=>(_0x2d20d1,_0x646333)=>_0x5ec625(_0x2d20d1,_0x646333,_0x25b326);function Jt(_0x1d7cbb){var _0x9acf5a=_0x33edf5;const {unitID:_0x2c6d10,mutations:_0x36c333}=_0x1d7cbb;return{'unitId':_0x2c6d10,'subUnitId':_0x36c333[_0x9acf5a(0x182)]>0x0?_0x36c333[0x0]['params'][_0x9acf5a(0x19f)]:null};}exports[_0x33edf5(0x221)]=class{constructor(_0x1cb6ca,_0xe2d28f,_0x47afee){var _0x20a169=_0x33edf5;this[_0x20a169(0x1fe)]=_0x1cb6ca,this[_0x20a169(0x3f2)]=_0xe2d28f,this[_0x20a169(0x3fb)]=_0x47afee;}[_0x33edf5(0x18a)](_0x2393d1){var _0x5742b9=_0x33edf5,_0x1613a8,_0x82a5d0,_0x224049,_0x3bb270;const _0x210ab9=this['_injector']['get'](Q['SheetsSelectionsService']),{unitId:_0x1e0fd9,subUnitId:_0x3728ec}=Jt(_0x2393d1),_0x3426dc=_0x210ab9==null?void 0x0:_0x210ab9[_0x5742b9(0x237)](_0x1e0fd9)[_0x5742b9(0x226)](),_0x1e5546=(_0x82a5d0=(_0x1613a8=this[_0x5742b9(0x3fb)][_0x5742b9(0x179)](_0x1e0fd9))==null?void 0x0:_0x1613a8['getActiveSheet']())==null?void 0x0:_0x82a5d0[_0x5742b9(0x27e)]();if(_0x3426dc[_0x5742b9(0x182)]===0x0||!_0x1e0fd9||!_0x3728ec)return;const _0x2e44eb=[{'id':Q[_0x5742b9(0x374)]['id'],'params':{'unitId':_0x1e0fd9,'subUnitId':_0x1e5546,'selections':o[_0x5742b9(0x3c3)][_0x5742b9(0x143)](_0x3426dc)}}],_0x2a697b=this[_0x5742b9(0x3f2)][_0x5742b9(0xbf)](_0x2393d1,_0x2e44eb);if(!E[_0x5742b9(0x3cd)](_0x2a697b))throw _0x2a697b['error'];const _0x56076f=(_0x3bb270=(_0x224049=_0x2a697b[_0x5742b9(0x2b9)][0x0])==null?void 0x0:_0x224049[_0x5742b9(0xf2)])==null?void 0x0:_0x3bb270[_0x5742b9(0x1f6)];if(Array[_0x5742b9(0x163)](_0x56076f)&&_0x56076f[_0x5742b9(0x182)]){if(_0x56076f[_0x5742b9(0x182)]===_0x2e44eb[0x0][_0x5742b9(0xf2)][_0x5742b9(0x1f6)]['length']&&_0x56076f[_0x5742b9(0x2b1)]((_0x444071,_0x2c7cfa)=>o[_0x5742b9(0x3b2)][_0x5742b9(0x17a)](_0x444071[_0x5742b9(0x264)],_0x2e44eb[0x0][_0x5742b9(0xf2)][_0x5742b9(0x1f6)][_0x2c7cfa][_0x5742b9(0x264)])))return;this[_0x5742b9(0x1fe)][_0x5742b9(0x3cc)](o[_0x5742b9(0x376)])[_0x5742b9(0x233)](Q[_0x5742b9(0x374)]['id'],{'unitId':_0x1e0fd9,'subUnitId':_0x1e5546,'selections':_0x56076f});}}},exports[_0x33edf5(0x221)]=Xt([Ue(0x0,o[_0x33edf5(0x348)](o[_0x33edf5(0x173)])),Ue(0x1,E[_0x33edf5(0x141)]),Ue(0x2,o[_0x33edf5(0x2c1)])],exports['SheetTransformSelectionsService']);const ve=o[_0x33edf5(0x22a)](_0x33edf5(0x26d));var He=(_0x250c3a=>(_0x250c3a[_0x250c3a['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x33edf5(0x324),_0x250c3a[_0x250c3a[_0x33edf5(0x126)]=0x1]=_0x33edf5(0x126),_0x250c3a))(He||{});const Y='collaboration-client.config',Zt={};function Qt(_0x40445b){var _0x3a8e93=_0x33edf5,_0x5c818a;return!!((_0x5c818a=_0x40445b[_0x3a8e93(0xf2)])!=null&&_0x5c818a[_0x3a8e93(0x17c)]);}const ei=new Set([Q[_0x33edf5(0xb2)]['id']]);function Ge(_0x536f77,_0x131890,_0x50cf79,_0xeb1562,_0x5a28c3){var _0x1ea20e=_0x33edf5,_0x391bae,_0x45fc69,_0xad6585,_0x37535c;const _0x260326=[];for(const _0x428531 of _0x536f77){if(ei['has'](_0x428531['id'])){if(_0x260326[_0x1ea20e(0x182)]>0x0)break;_0x260326[_0x1ea20e(0x38d)](_0x428531);break;}if(Qt(_0x428531)){if(_0x260326['length']>0x0)break;_0x260326[_0x1ea20e(0x38d)](_0x428531);break;}_0x260326[_0x1ea20e(0x38d)](_0x428531);}const _0x278b70=(_0x45fc69=(_0x391bae=_0x5a28c3[_0x1ea20e(0x132)]())==null?void 0x0:_0x391bae[_0x1ea20e(0x3ba)])!=null?_0x45fc69:_0x1ea20e(0x1c0),_0x164749=(_0x37535c=(_0xad6585=_0x5a28c3[_0x1ea20e(0x132)]())==null?void 0x0:_0xad6585[_0x1ea20e(0x23a)])!=null?_0x37535c:'unknown';return{'changeset':{'unitID':_0x131890,'type':E[_0x1ea20e(0x322)](_0x50cf79['getUnitType'](_0x131890)),'baseRev':_0xeb1562[_0x1ea20e(0xa0)](_0x131890),'revision':0x0,'userID':_0x278b70,'memberID':_0x164749,'mutations':_0x260326},'pendingMutations':_0x536f77[_0x1ea20e(0x3c7)](_0x260326[_0x1ea20e(0x182)])};}function ti(_0x13831e,_0x528613,_0x125d86,_0x233aa5,_0x529fe9){var _0x3c9c73=_0x33edf5,_0x2b7dc4,_0x17ccc7,_0x51b626,_0x1c5184;const _0x18d4cb=[_0x13831e[_0x3c9c73(0x217)]((_0x2acd51,_0x1a82b4)=>{var _0x2c1f64=_0x3c9c73,_0x26c088;const {id:_0x240874}=_0x2acd51,{id:_0x539b27,type:_0x59ae69}=_0x1a82b4,_0x4a0309=(_0x26c088=_0x2acd51[_0x2c1f64(0xf2)])!=null?_0x26c088:{'actions':null},_0x3ef114=_0x1a82b4[_0x2c1f64(0xf2)];if(_0x240874&&_0x240874!==_0x539b27)throw new Error(_0x2c1f64(0x2c5)+_0x240874+'\x20-\x20'+_0x539b27+'.');return{..._0x2acd51,'id':_0x539b27,'type':_0x59ae69,'params':{'unitId':_0x3ef114[_0x2c1f64(0x30d)],'textRanges':_0x3ef114[_0x2c1f64(0x1cb)],'actions':o[_0x2c1f64(0x27c)][_0x2c1f64(0x306)](_0x4a0309[_0x2c1f64(0x133)],_0x3ef114[_0x2c1f64(0x133)])}};},{})],_0x468161=(_0x17ccc7=(_0x2b7dc4=_0x529fe9['getCurrentUser']())==null?void 0x0:_0x2b7dc4[_0x3c9c73(0x3ba)])!=null?_0x17ccc7:'unknown',_0x2df87c=(_0x1c5184=(_0x51b626=_0x529fe9['getCurrentUser']())==null?void 0x0:_0x51b626[_0x3c9c73(0x23a)])!=null?_0x1c5184:_0x3c9c73(0x1c0);return{'changeset':{'unitID':_0x528613,'type':E[_0x3c9c73(0x322)](_0x125d86['getUnitType'](_0x528613)),'baseRev':_0x233aa5[_0x3c9c73(0xa0)](_0x528613),'revision':0x0,'userID':_0x468161,'memberID':_0x2df87c,'mutations':_0x18d4cb},'pendingMutations':[]};}function St(_0x1cdc40,_0x39b7aa){var _0x15390c=_0x33edf5;const _0x1eda3e=new j[(_0x15390c(0x275))](0x1);return setTimeout(()=>_0x1eda3e[_0x15390c(0x402)](_0x39b7aa),_0x1cdc40),_0x1eda3e[_0x15390c(0x291)]()[_0x15390c(0x10a)](j[_0x15390c(0x168)](0x1));}var ii=Object[_0x33edf5(0x8d)],ae=(_0x381ae5,_0x3b9766,_0x725542,_0x420af7)=>{var _0x9cef48=_0x33edf5;for(var _0x5c0839=_0x420af7>0x1?void 0x0:_0x420af7?ii(_0x3b9766,_0x725542):_0x3b9766,_0x4bc12c=_0x381ae5[_0x9cef48(0x182)]-0x1,_0x20c71c;_0x4bc12c>=0x0;_0x4bc12c--)(_0x20c71c=_0x381ae5[_0x4bc12c])&&(_0x5c0839=_0x20c71c(_0x5c0839)||_0x5c0839);return _0x5c0839;},L=(_0xe45c27,_0x4fff4c)=>(_0x544a9d,_0x131d25)=>_0x4fff4c(_0x544a9d,_0x131d25,_0xe45c27),je=(_0x561c16=>(_0x561c16[_0x33edf5(0x3e2)]='not_collab',_0x561c16[_0x33edf5(0x3e1)]='synced',_0x561c16[_0x33edf5(0x210)]='pending',_0x561c16[_0x33edf5(0x29e)]=_0x33edf5(0x7e),_0x561c16[_0x33edf5(0x1f5)]='awaiting_with_pending',_0x561c16[_0x33edf5(0x2ea)]='fetch_missing',_0x561c16[_0x33edf5(0x250)]=_0x33edf5(0x27d),_0x561c16[_0x33edf5(0xd8)]='offline',_0x561c16))(je||{});const It=0xea60;class oe{constructor(_0x5da748,_0x23d31b,_0x38506a,_0x555da6,_0x4adf47,_0x359214,_0x1eac7c,_0x56b4cd,_0x4b9b6f){var _0x486498=_0x33edf5;A(this,_0x486498(0x24a),null),A(this,_0x486498(0x159),[]),(this[_0x486498(0xcb)]=_0x5da748,this['type']=_0x23d31b,this[_0x486498(0x3cf)]=_0x4adf47,this[_0x486498(0x170)]=_0x359214,this[_0x486498(0x26b)]=_0x1eac7c,this[_0x486498(0x3fa)]=_0x56b4cd,this[_0x486498(0x3ab)]=_0x4b9b6f,this[_0x486498(0x24a)]=_0x38506a,this[_0x486498(0x159)]=_0x555da6);}['_checkMissing'](_0x3782f3){var _0x52fc7c=_0x33edf5;const _0x46f5a8=this['_revisionService'][_0x52fc7c(0xa0)](this[_0x52fc7c(0xcb)]);return _0x3782f3[_0x52fc7c(0x23f)]>_0x46f5a8+0x1?(this[_0x52fc7c(0x3cf)][_0x52fc7c(0x3d6)]({'from':_0x46f5a8,'to':_0x3782f3[_0x52fc7c(0x23f)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x4c109f){var _0x51eaff=_0x33edf5;this[_0x51eaff(0x26b)][_0x51eaff(0xc8)](this[_0x51eaff(0xcb)],_0x4c109f);}[_0x33edf5(0x104)](_0x587a1b){var _0xe2a5c1=_0x33edf5,_0x112c7c,_0x3dedf7;(_0x3dedf7=(_0x112c7c=this[_0xe2a5c1(0x3cf)])[_0xe2a5c1(0x2c2)])==null||_0x3dedf7['call'](_0x112c7c,_0x587a1b);}['_transformIMECache'](_0x1c08e8){var _0x305f27=_0x33edf5,_0x5eac69,_0x711453;return(_0x711453=(_0x5eac69=this['_handler'])[_0x305f27(0x2dd)])==null?void 0x0:_0x711453['call'](_0x5eac69,_0x1c08e8);}[_0x33edf5(0x2ac)](_0x25ff5f){var _0x349c95=_0x33edf5,_0x30597f,_0x21398d;return(_0x21398d=(_0x30597f=this[_0x349c95(0x3cf)])[_0x349c95(0x383)])==null?void 0x0:_0x21398d[_0x349c95(0x38c)](_0x30597f,_0x25ff5f);}[_0x33edf5(0x3c2)](_0x37b474){var _0x3687d1=_0x33edf5,_0x11b10a,_0x1b04da,_0xd925e4;return(_0xd925e4=(_0x1b04da=(_0x11b10a=this[_0x3687d1(0x3cf)])[_0x3687d1(0x162)])==null?void 0x0:_0x1b04da[_0x3687d1(0x38c)](_0x11b10a,_0x37b474))!=null?_0xd925e4:_0x37b474;}[_0x33edf5(0x1f0)](_0x23f287){var _0x1d7a91=_0x33edf5,_0x3e0eee,_0x4a232f,_0x52e29e;return(_0x52e29e=(_0x4a232f=(_0x3e0eee=this[_0x1d7a91(0x3cf)])[_0x1d7a91(0x1e3)])==null?void 0x0:_0x4a232f[_0x1d7a91(0x38c)](_0x3e0eee,_0x23f287))!=null?_0x52e29e:_0x23f287;}['_syncEditingCollabCursor'](_0x553bc8){var _0x207436=_0x33edf5,_0x3f5ab9,_0x282484;if(this['type']===X[_0x207436(0x317)]){const {unitID:_0x5caabc,mutations:_0x51f88a,memberID:_0x2c886b}=_0x553bc8,_0x3f33cc=_0x51f88a['length']>0x0?_0x51f88a[0x0][_0x207436(0xf2)][_0x207436(0x1cb)]:[];Array[_0x207436(0x163)](_0x3f33cc)&&_0x3f33cc['length']>0x0&&((_0x282484=(_0x3f5ab9=this[_0x207436(0x3cf)])[_0x207436(0x3da)])==null||_0x282484[_0x207436(0x38c)](_0x3f5ab9,{'unitID':_0x5caabc,'memberID':_0x2c886b,'textRanges':_0x3f33cc}));}}[_0x33edf5(0x39b)](){var _0x30fc12=_0x33edf5,_0x5799b3;(_0x5799b3=this[_0x30fc12(0x3ab)])==null||_0x5799b3[_0x30fc12(0x87)](this['unitID'],this[_0x30fc12(0x102)],this[_0x30fc12(0x24a)],this['_pendingMutations']);}[_0x33edf5(0x27b)](){var _0x10db13=_0x33edf5;return this[_0x10db13(0x3fa)]['getCurrentRevOfUnit'](this['unitID']);}[_0x33edf5(0x1a3)](){var _0x147170=_0x33edf5;this['_revisionService'][_0x147170(0x7b)](this['unitID']);}[_0x33edf5(0x30f)](_0x284802){var _0x4e181b=_0x33edf5,_0x33547c;let _0xcaec4=this['_transformRemoteChangesetByIMECache'](_0x284802);_0xcaec4=this[_0x4e181b(0x1f0)](_0xcaec4);const _0x1052ea=o[_0x4e181b(0x1ff)](_0xcaec4[_0x4e181b(0x14e)],this['_commandService'],{'fromCollab':!0x0});if(!_0x1052ea[_0x4e181b(0x3fe)])throw _0x1052ea[_0x4e181b(0x134)]instanceof Error?_0x1052ea[_0x4e181b(0x134)]:new Error((_0x33547c=_0x1052ea[_0x4e181b(0x134)])!=null?_0x33547c:_0x4e181b(0x3c8));this[_0x4e181b(0xe5)](_0xcaec4),this[_0x4e181b(0x2ac)](_0xcaec4),this['_transformUndoredo'](_0x284802),this[_0x4e181b(0x104)](_0xcaec4),this['_syncEditingCollabCursor'](_0xcaec4),this[_0x4e181b(0x1a3)]();}}exports[_0x33edf5(0x3f8)]=class extends oe{constructor(_0x327956,_0xb14fec,_0x47801b,_0x769dcb,_0x337d11,_0x2d312a,_0xf2e23,_0x26cad0,_0x4cc39a,_0x1ee6e1){var _0x504372=_0x33edf5;super(_0x327956,_0xb14fec,null,[],_0x47801b,_0xf2e23,_0x2d312a,_0x769dcb,_0x1ee6e1),A(this,_0x504372(0x3b5),_0x504372(0x199)),(this[_0x504372(0x1fe)]=_0x337d11,this['_logService']=_0x26cad0,this[_0x504372(0x3f2)]=_0x4cc39a,this[_0x504372(0x2d2)]=_0x1ee6e1);}[_0x33edf5(0x109)](_0xc605dd){var _0x35fd5a=_0x33edf5;const _0x3bb079=this[_0x35fd5a(0x1fe)]['createInstance'](exports[_0x35fd5a(0x1d8)],this[_0x35fd5a(0xcb)],this['type'],[_0xc605dd],this[_0x35fd5a(0x3cf)]);return _0x3bb079[_0x35fd5a(0x10b)](),_0x3bb079[_0x35fd5a(0x39b)](),_0x3bb079;}[_0x33edf5(0x394)](_0x4e4b54){var _0x11970e=_0x33edf5;if(this[_0x11970e(0x3d5)](_0x4e4b54))return this['_injector'][_0x11970e(0xc4)](exports[_0x11970e(0x19c)],this['unitID'],this[_0x11970e(0x102)],null,[],null,[_0x4e4b54],this['_handler']);try{const _0x20fe8f=this[_0x11970e(0x3f2)][_0x11970e(0xbf)](_0x4e4b54,[E[_0x11970e(0x3a1)]]);if(E[_0x11970e(0x3cd)](_0x20fe8f)){const {c1Prime:_0xaeb5a9}=_0x20fe8f;return this[_0x11970e(0x30f)](_0xaeb5a9),this;}throw _0x20fe8f[_0x11970e(0x134)];}catch(_0x442e50){return this[_0x11970e(0x353)][_0x11970e(0x134)](_0x442e50),this[_0x11970e(0x386)](!0x1);}}[_0x33edf5(0x386)](_0x340e3a){var _0x2f6ecc=_0x33edf5;return this['_injector'][_0x2f6ecc(0xc4)](exports[_0x2f6ecc(0x37b)],this[_0x2f6ecc(0xcb)],this[_0x2f6ecc(0x102)],null,[],this['_handler'],_0x340e3a);}[_0x33edf5(0x265)](){var _0x4424a6=_0x33edf5;throw new Error(_0x4424a6(0x161));}[_0x33edf5(0x293)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x33edf5(0x81)](){return this;}[_0x33edf5(0x2bf)](){var _0x55c7f6=_0x33edf5;return this[_0x55c7f6(0x1fe)][_0x55c7f6(0xc4)](exports['OfflineState'],this['unitID'],this[_0x55c7f6(0x102)],null,[],this[_0x55c7f6(0x3cf)]);}[_0x33edf5(0x256)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x33edf5(0x136)](){var _0x56c35c=_0x33edf5;const _0x1e557c=this[_0x56c35c(0x3fa)][_0x56c35c(0xa0)](this[_0x56c35c(0xcb)]);return this[_0x56c35c(0x3cf)][_0x56c35c(0x3d6)]({'from':_0x1e557c,'to':0x0}),this[_0x56c35c(0x1fe)][_0x56c35c(0xc4)](exports[_0x56c35c(0x19c)],this[_0x56c35c(0xcb)],this[_0x56c35c(0x102)],null,[],null,[],this[_0x56c35c(0x3cf)]);}},exports[_0x33edf5(0x3f8)]=ae([L(0x3,o[_0x33edf5(0x348)](E[_0x33edf5(0x2bb)])),L(0x4,o[_0x33edf5(0x348)](o[_0x33edf5(0x173)])),L(0x5,o[_0x33edf5(0x194)]),L(0x6,o[_0x33edf5(0x376)]),L(0x7,o['ILogService']),L(0x8,E['ITransformService']),L(0x9,o[_0x33edf5(0x370)](q))],exports[_0x33edf5(0x3f8)]),exports[_0x33edf5(0x1d8)]=class extends oe{constructor(_0x445c59,_0x343904,_0x335935,_0xe3485c,_0x2e7b7a,_0x126df0,_0x2aa8b1,_0x4721fa,_0x29152f,_0x2b8ad3,_0x51df46,_0xbbcf94,_0x389bb1,_0x4cf10c){var _0x3184c1=_0x33edf5;super(_0x445c59,_0x343904,null,_0x335935,_0xe3485c,_0x29152f,_0x389bb1,_0x126df0,_0x4cf10c),A(this,_0x3184c1(0x3b5),_0x3184c1(0x142)),A(this,'_scheduleCompleteTimestamp',null),A(this,'_sendingTimer',null),(this[_0x3184c1(0x1fe)]=_0x2e7b7a,this[_0x3184c1(0x2af)]=_0x2aa8b1,this[_0x3184c1(0x353)]=_0x4721fa,this[_0x3184c1(0x2ba)]=_0x2b8ad3,this[_0x3184c1(0x3f2)]=_0x51df46,this[_0x3184c1(0x82)]=_0xbbcf94);}['appendMutation'](_0x14830a){var _0x2d851e=_0x33edf5;return this[_0x2d851e(0x159)][_0x2d851e(0x38d)](_0x14830a),this[_0x2d851e(0x39b)](),this;}[_0x33edf5(0x394)](_0x4b3f76){var _0x41f2ce=_0x33edf5;if(this[_0x41f2ce(0x3d5)](_0x4b3f76))return this[_0x41f2ce(0xae)](),this[_0x41f2ce(0x1fe)][_0x41f2ce(0xc4)](exports[_0x41f2ce(0x19c)],this[_0x41f2ce(0xcb)],this[_0x41f2ce(0x102)],null,this['_pendingMutations'],null,[_0x4b3f76],this[_0x41f2ce(0x3cf)]);try{const _0x1c6bba=this[_0x41f2ce(0x3f2)][_0x41f2ce(0xbf)](_0x4b3f76,this['_pendingMutations']);if(E['isTransformMutationsWithChangesetSuccess'](_0x1c6bba)){const {c1Prime:_0x5751fc,m2Prime:_0x3d5795}=_0x1c6bba;this[_0x41f2ce(0x30f)](_0x5751fc);const _0x2372a2=this[_0x41f2ce(0x1fe)][_0x41f2ce(0xc4)](exports[_0x41f2ce(0x1d8)],this[_0x41f2ce(0xcb)],this[_0x41f2ce(0x102)],_0x3d5795,this[_0x41f2ce(0x3cf)]);this[_0x41f2ce(0xae)]();const _0xd358a1=new Date()[_0x41f2ce(0x30b)](),_0x2c5226=this[_0x41f2ce(0x3a6)]?Math['max'](this['_scheduleCompleteTimestamp']-_0xd358a1,0x0):this['_getSendChangesetTimeout']();return _0x2372a2[_0x41f2ce(0x10b)](_0x2c5226),_0x2372a2;}throw _0x1c6bba[_0x41f2ce(0x134)];}catch(_0xfe4749){return this[_0x41f2ce(0x353)][_0x41f2ce(0x134)](_0xfe4749),this[_0x41f2ce(0x386)](!0x1);}}[_0x33edf5(0x265)](){var _0x4789f2=_0x33edf5;throw new Error(_0x4789f2(0xcd));}[_0x33edf5(0x293)](){var _0xdd69a3=_0x33edf5;throw new Error(_0xdd69a3(0xbe));}[_0x33edf5(0x81)](){return this;}['toggleOffline'](){var _0x3517e1=_0x33edf5;return this[_0x3517e1(0xae)](),this[_0x3517e1(0x1fe)][_0x3517e1(0xc4)](exports['OfflineState'],this[_0x3517e1(0xcb)],this['type'],null,this['_pendingMutations'],this[_0x3517e1(0x3cf)]);}[_0x33edf5(0x256)](){return this;}[_0x33edf5(0x10b)](_0x1f6c2c){var _0x540419=_0x33edf5;const _0x3f3947=_0x1f6c2c!=null?_0x1f6c2c:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0x540419(0x30b)]()+_0x3f3947,this[_0x540419(0x174)]=setTimeout(()=>{var _0x34e70a=_0x540419;this[_0x34e70a(0xae)]();let _0x2c3f10=null;switch(this[_0x34e70a(0x102)]){case X[_0x34e70a(0x290)]:{_0x2c3f10=Ge(this[_0x34e70a(0x159)],this[_0x34e70a(0xcb)],this[_0x34e70a(0x82)],this[_0x34e70a(0x3fa)],this['_memberService']);break;}case X[_0x34e70a(0x317)]:{this['_pendingMutations'][_0x34e70a(0x2b1)](_0x59bb2f=>_0x59bb2f['id']===ct[_0x34e70a(0x33f)]['id'])?_0x2c3f10=ti(this['_pendingMutations'],this['unitID'],this[_0x34e70a(0x82)],this['_revisionService'],this['_memberService']):_0x2c3f10=Ge(this[_0x34e70a(0x159)],this[_0x34e70a(0xcb)],this[_0x34e70a(0x82)],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x34e70a(0x86)+this['type']+_0x34e70a(0x2a6));}const {changeset:_0x921369,pendingMutations:_0x386901}=_0x2c3f10;this['_handler'][_0x34e70a(0x349)](_0x921369);const _0x39eeab=_0x386901[_0x34e70a(0x182)]?this[_0x34e70a(0x1fe)][_0x34e70a(0xc4)](exports[_0x34e70a(0x1ae)],this['unitID'],this[_0x34e70a(0x102)],_0x921369,_0x386901,this[_0x34e70a(0x3cf)],void 0x0):this[_0x34e70a(0x1fe)][_0x34e70a(0xc4)](exports[_0x34e70a(0x32f)],this[_0x34e70a(0xcb)],this[_0x34e70a(0x102)],_0x921369,this[_0x34e70a(0x3cf)]);_0x39eeab[_0x34e70a(0x39b)](),this[_0x34e70a(0x3cf)][_0x34e70a(0x192)](this,_0x39eeab);},_0x3f3947);}[_0x33edf5(0x95)](){var _0x3ed941=_0x33edf5,_0x89b931;const _0x55a6c7=this[_0x3ed941(0x2ba)][_0x3ed941(0x2d9)](Y);return(_0x89b931=_0x55a6c7==null?void 0x0:_0x55a6c7[_0x3ed941(0x222)])!=null?_0x89b931:Ut;}[_0x33edf5(0x117)](){var _0x1384f4=_0x33edf5;throw new Error(_0x1384f4(0x336));}[_0x33edf5(0xae)](){var _0x5b7417=_0x33edf5;this['_sendingTimer']!=null&&(clearTimeout(this[_0x5b7417(0x174)]),this[_0x5b7417(0x174)]=null);}[_0x33edf5(0x386)](_0x4c595f){var _0x377c25=_0x33edf5;return this[_0x377c25(0xae)](),this[_0x377c25(0x1fe)][_0x377c25(0xc4)](exports[_0x377c25(0x37b)],this[_0x377c25(0xcb)],this[_0x377c25(0x102)],null,this[_0x377c25(0x159)],this[_0x377c25(0x3cf)],_0x4c595f);}},exports[_0x33edf5(0x1d8)]=ae([L(0x4,o[_0x33edf5(0x348)](o['Injector'])),L(0x5,o[_0x33edf5(0x348)](E[_0x33edf5(0x2bb)])),L(0x6,o[_0x33edf5(0x348)](exports[_0x33edf5(0x267)])),L(0x7,o[_0x33edf5(0x2e7)]),L(0x8,o['ICommandService']),L(0x9,o['IConfigService']),L(0xa,E['ITransformService']),L(0xb,o[_0x33edf5(0x2c1)]),L(0xc,o[_0x33edf5(0x194)]),L(0xd,o[_0x33edf5(0x370)](q))],exports['PendingState']),exports['AwaitingState']=class extends oe{constructor(_0x52dafe,_0x51196e,_0x2ef64e,_0x193f4d,_0x96da55,_0x31dba6,_0xb7ff9,_0x20d5be,_0x202ff2,_0x25afab,_0x2c3aba){var _0x2a4476=_0x33edf5;super(_0x52dafe,_0x51196e,_0x2ef64e,[],_0x193f4d,_0xb7ff9,_0x25afab,_0x31dba6,_0x2c3aba),A(this,_0x2a4476(0x3b5),_0x2a4476(0x7e)),A(this,_0x2a4476(0x2d8),0x0),A(this,_0x2a4476(0x3fc)),A(this,_0x2a4476(0x8b)),(this['_injector']=_0x96da55,this[_0x2a4476(0x353)]=_0x20d5be,this['_transformService']=_0x202ff2);}[_0x33edf5(0x109)](_0xe26f42){var _0x2f4a9c=_0x33edf5;this['_clearScheduledTask']();const _0x2bd746=this[_0x2f4a9c(0x1fe)][_0x2f4a9c(0xc4)](exports[_0x2f4a9c(0x1ae)],this['unitID'],this['type'],this[_0x2f4a9c(0x24a)],[_0xe26f42],this[_0x2f4a9c(0x3cf)],this[_0x2f4a9c(0x3fc)]);return _0x2bd746[_0x2f4a9c(0x39b)](),_0x2bd746;}['onRemoteChangeset'](_0x3feb7c){var _0x6462a0=_0x33edf5;if(this[_0x6462a0(0x3d5)](_0x3feb7c))return this[_0x6462a0(0xae)](),this['_injector'][_0x6462a0(0xc4)](exports[_0x6462a0(0x19c)],this['unitID'],this[_0x6462a0(0x102)],this[_0x6462a0(0x24a)],[],null,[_0x3feb7c],this[_0x6462a0(0x3cf)]);try{const _0x12b7e0=this[_0x6462a0(0x3f2)][_0x6462a0(0x1db)]([_0x3feb7c],[this[_0x6462a0(0x24a)]],!0x1);if(E[_0x6462a0(0x212)](_0x12b7e0)){const {c1Prime:_0x173ef0,c2Prime:_0x1ee2c1}=_0x12b7e0;this[_0x6462a0(0x30f)](_0x173ef0[0x0]),_0x1ee2c1[0x0]['baseRev']=this[_0x6462a0(0x27b)](),this['_clearScheduledTask']();const _0x18ea3f=this[_0x6462a0(0x1fe)][_0x6462a0(0xc4)](exports[_0x6462a0(0x32f)],this[_0x6462a0(0xcb)],this[_0x6462a0(0x102)],_0x1ee2c1[0x0],this[_0x6462a0(0x3cf)]);return _0x18ea3f['_updateLocalCache'](),_0x18ea3f;}return this[_0x6462a0(0x386)](!0x1);}catch(_0x2af3a8){return this[_0x6462a0(0x353)][_0x6462a0(0x134)](_0x2af3a8),this['_onConflict'](!0x1);}}[_0x33edf5(0x265)](_0x5ac5b4){var _0x43dcf6=_0x33edf5;this[_0x43dcf6(0xae)]();const _0x1ae659=this[_0x43dcf6(0x3fa)]['getCurrentRevOfUnit'](this[_0x43dcf6(0xcb)]);if(_0x5ac5b4[_0x43dcf6(0x23f)]<_0x1ae659-0x1)return this;if(this[_0x43dcf6(0x3d5)](_0x5ac5b4))return this[_0x43dcf6(0x1fe)]['createInstance'](exports['FetchingMissState'],this[_0x43dcf6(0xcb)],this[_0x43dcf6(0x102)],null,[],this[_0x43dcf6(0x24a)],[],this[_0x43dcf6(0x3cf)]);this[_0x43dcf6(0x1a3)]();const _0x1d21f7=this[_0x43dcf6(0x1fe)][_0x43dcf6(0xc4)](exports[_0x43dcf6(0x3f8)],this[_0x43dcf6(0xcb)],this['type'],this[_0x43dcf6(0x3cf)]);return _0x1d21f7[_0x43dcf6(0x39b)](),_0x1d21f7;}[_0x33edf5(0x293)](_0x56efa5){var _0x3cad68=_0x33edf5;return this[_0x3cad68(0x386)](!!(_0x56efa5!=null&&_0x56efa5['isPermissionRej']));}[_0x33edf5(0x81)](_0x223d0b){var _0x180a61=_0x33edf5;return this[_0x180a61(0x2d8)]>It?this['toggleOffline']():(this[_0x180a61(0x3fc)]=St(this[_0x180a61(0x2d8)],{'timeout':this[_0x180a61(0x2d8)],'reqId':_0x223d0b[_0x180a61(0x268)]}),this[_0x180a61(0x8b)]=this[_0x180a61(0x3fc)][_0x180a61(0x2cc)](({reqId:_0x541561,timeout:_0x213146})=>{this['_resendWithTimeout'](_0x541561,_0x213146);}),this);}['toggleOffline'](){var _0x57af4e=_0x33edf5;return this[_0x57af4e(0xae)](),this['_injector'][_0x57af4e(0xc4)](exports[_0x57af4e(0x38b)],this[_0x57af4e(0xcb)],this[_0x57af4e(0x102)],this['_awaitingChangeset'],[],this['_handler']);}[_0x33edf5(0x256)](){return this;}[_0x33edf5(0x117)](){var _0x47c853=_0x33edf5;this[_0x47c853(0x3cf)][_0x47c853(0x349)](this[_0x47c853(0x24a)]);}[_0x33edf5(0x386)](_0x47e537){var _0x1c0627=_0x33edf5;return this[_0x1c0627(0xae)](),this[_0x1c0627(0x1fe)][_0x1c0627(0xc4)](exports[_0x1c0627(0x37b)],this[_0x1c0627(0xcb)],this['type'],this[_0x1c0627(0x24a)],[],this[_0x1c0627(0x3cf)],_0x47e537);}['_resendWithTimeout'](_0x62f183,_0xc5fc68){var _0x5dbb71=_0x33edf5,_0x1e78b8;_0x62f183===((_0x1e78b8=this[_0x5dbb71(0x24a)])==null?void 0x0:_0x1e78b8['reqId'])&&(this['resend'](),this[_0x5dbb71(0x2d8)]=_0xc5fc68===0x0?0x3e8:_0xc5fc68*0x2);}[_0x33edf5(0xae)](){var _0x8af08d=_0x33edf5,_0x2532a3;(_0x2532a3=this['_sender'])==null||_0x2532a3['unsubscribe'](),this[_0x8af08d(0x2d8)]=0x0;}},exports[_0x33edf5(0x32f)]=ae([L(0x4,o[_0x33edf5(0x348)](o[_0x33edf5(0x173)])),L(0x5,o[_0x33edf5(0x348)](E[_0x33edf5(0x2bb)])),L(0x6,o['ICommandService']),L(0x7,o[_0x33edf5(0x2e7)]),L(0x8,E[_0x33edf5(0x141)]),L(0x9,o[_0x33edf5(0x194)]),L(0xa,o[_0x33edf5(0x370)](q))],exports[_0x33edf5(0x32f)]),exports[_0x33edf5(0x1ae)]=class extends oe{constructor(_0x41b538,_0x17ce94,_0x271668,_0x521a36,_0x2f8d2c,_0x2ff69e,_0x3db75e,_0x3ab6d2,_0x596533,_0x410680,_0x307d3a,_0x1c6d3b,_0x1817fa){var _0x3cdbd7=_0x33edf5;super(_0x41b538,_0x17ce94,_0x271668,_0x521a36,_0x2f8d2c,_0x596533,_0x1c6d3b,_0x3ab6d2,_0x1817fa),A(this,_0x3cdbd7(0x3b5),_0x3cdbd7(0xf6)),A(this,_0x3cdbd7(0x2d8),0x0),A(this,_0x3cdbd7(0x3fc)),A(this,_0x3cdbd7(0x8b)),(this[_0x3cdbd7(0x1fe)]=_0x3db75e,this[_0x3cdbd7(0x353)]=_0x410680,this[_0x3cdbd7(0x3f2)]=_0x307d3a,this[_0x3cdbd7(0x2d2)]=_0x1817fa,_0x2ff69e&&(this[_0x3cdbd7(0x3fc)]=_0x2ff69e,this[_0x3cdbd7(0x8b)]=this[_0x3cdbd7(0x3fc)][_0x3cdbd7(0x2cc)](({reqId:_0x5f1e87,timeout:_0x359687})=>{var _0x79a2d2=_0x3cdbd7;this[_0x79a2d2(0xc2)](_0x5f1e87,_0x359687);})));}[_0x33edf5(0x109)](_0x22b0a6){var _0x4676e8=_0x33edf5;return this[_0x4676e8(0x159)][_0x4676e8(0x38d)](_0x22b0a6),this;}[_0x33edf5(0x394)](_0x29fe5b){var _0x525c71=_0x33edf5;if(this[_0x525c71(0x3d5)](_0x29fe5b))return this[_0x525c71(0xae)](),this['_injector']['createInstance'](exports[_0x525c71(0x19c)],this['unitID'],this[_0x525c71(0x102)],this[_0x525c71(0x24a)],this[_0x525c71(0x159)],null,[_0x29fe5b],this[_0x525c71(0x3cf)]);try{const _0x5377a8=this['_transformService'][_0x525c71(0x1db)]([_0x29fe5b],[this[_0x525c71(0x24a)]],!0x1);if(E['isTransformChangesetsSuccess'](_0x5377a8)){const {c1Prime:_0x2d7c97,c2Prime:_0x4189d0}=_0x5377a8,_0x3c9394=this[_0x525c71(0x3f2)]['transformMutationsWithChangeset'](_0x2d7c97[0x0],this[_0x525c71(0x159)]);if(E[_0x525c71(0x3cd)](_0x3c9394)){const {c1Prime:_0x532ff4,m2Prime:_0x56be10}=_0x3c9394;return this[_0x525c71(0x30f)](_0x532ff4),_0x4189d0[0x0][_0x525c71(0x25c)]=this[_0x525c71(0x27b)](),this[_0x525c71(0xae)](),this[_0x525c71(0x1fe)][_0x525c71(0xc4)](exports[_0x525c71(0x1ae)],this['unitID'],this[_0x525c71(0x102)],_0x4189d0[0x0],_0x56be10,this[_0x525c71(0x3cf)],void 0x0);}throw _0x3c9394[_0x525c71(0x134)];}throw _0x5377a8[_0x525c71(0x134)];}catch(_0x2f2a1e){return this[_0x525c71(0x353)]['error'](_0x2f2a1e),this[_0x525c71(0x386)](!0x1);}}[_0x33edf5(0x265)](_0x4a3f44){var _0x11f279=_0x33edf5;if(this[_0x11f279(0xae)](),this['_checkMissing'](_0x4a3f44))return this[_0x11f279(0x1fe)][_0x11f279(0xc4)](exports[_0x11f279(0x19c)],this[_0x11f279(0xcb)],this['type'],null,this[_0x11f279(0x159)],this['_awaitingChangeset'],[],this['_handler']);this[_0x11f279(0x1a3)]();const _0x138389=this[_0x11f279(0x1fe)][_0x11f279(0xc4)](exports[_0x11f279(0x1d8)],this[_0x11f279(0xcb)],this['type'],this[_0x11f279(0x159)],this['_handler']);return _0x138389[_0x11f279(0x10b)](),_0x138389[_0x11f279(0x39b)](),_0x138389;}[_0x33edf5(0x293)](_0x10aefa){var _0x46110c=_0x33edf5;return this[_0x46110c(0x386)](!!(_0x10aefa!=null&&_0x10aefa[_0x46110c(0x295)]));}[_0x33edf5(0x81)](_0x1995ec){var _0x358e11=_0x33edf5;return this[_0x358e11(0x2d8)]>It?this[_0x358e11(0x2bf)]():(this[_0x358e11(0x3fc)]=St(this[_0x358e11(0x2d8)],{'timeout':this[_0x358e11(0x2d8)],'reqId':_0x1995ec[_0x358e11(0x268)]}),this[_0x358e11(0x8b)]=this[_0x358e11(0x3fc)][_0x358e11(0x2cc)](({reqId:_0x327195,timeout:_0x3d3298})=>{this['_resendWithTimeout'](_0x327195,_0x3d3298);}),this);}[_0x33edf5(0x2bf)](){var _0x1fc2aa=_0x33edf5;return this['_clearScheduledTask'](),this[_0x1fc2aa(0x1fe)][_0x1fc2aa(0xc4)](exports[_0x1fc2aa(0x38b)],this[_0x1fc2aa(0xcb)],this[_0x1fc2aa(0x102)],this[_0x1fc2aa(0x24a)],this[_0x1fc2aa(0x159)],this[_0x1fc2aa(0x3cf)]);}[_0x33edf5(0x256)](){return this;}['resend'](){var _0x1f6d26=_0x33edf5;this[_0x1f6d26(0x3cf)][_0x1f6d26(0x349)](this[_0x1f6d26(0x24a)]);}[_0x33edf5(0x386)](_0x5301dd){var _0x36e887=_0x33edf5;return this[_0x36e887(0xae)](),this['_injector'][_0x36e887(0xc4)](exports[_0x36e887(0x37b)],this[_0x36e887(0xcb)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x5301dd);}[_0x33edf5(0xc2)](_0x181dd4,_0x48cbdc){var _0x3457ac=_0x33edf5,_0x15fab7;_0x181dd4===((_0x15fab7=this[_0x3457ac(0x24a)])==null?void 0x0:_0x15fab7['reqId'])&&(this[_0x3457ac(0x117)](),this['_resendTimeout']=_0x48cbdc===0x0?0x3e8:_0x48cbdc*0x2);}['_clearScheduledTask'](){var _0x8b8e89=_0x33edf5,_0x3827ad;(_0x3827ad=this[_0x8b8e89(0x8b)])==null||_0x3827ad[_0x8b8e89(0x2ff)](),this[_0x8b8e89(0x2d8)]=0x0;}},exports[_0x33edf5(0x1ae)]=ae([L(0x6,o['Inject'](o[_0x33edf5(0x173)])),L(0x7,o[_0x33edf5(0x348)](E[_0x33edf5(0x2bb)])),L(0x8,o[_0x33edf5(0x376)]),L(0x9,o[_0x33edf5(0x2e7)]),L(0xa,E['ITransformService']),L(0xb,o[_0x33edf5(0x194)]),L(0xc,o[_0x33edf5(0x370)](q))],exports[_0x33edf5(0x1ae)]),exports['ConflictState']=class extends oe{constructor(_0x1b563a,_0x12c52c,_0x2aa932,_0x326e47,_0x2d2293,_0x3c96cb=!0x1,_0x3f24df,_0x3f8f54,_0x26f3e9,_0x4b59a5,_0x8a3f73,_0x3015a3,_0x189417){var _0x50af79=_0x33edf5;super(_0x1b563a,_0x12c52c,_0x2aa932,_0x326e47,_0x2d2293,_0x3f8f54,_0x26f3e9,_0x4b59a5,_0x189417),A(this,'status','conflict'),(this[_0x50af79(0x3de)]=_0x3c96cb,this[_0x50af79(0x2a7)]=_0x3f24df,this[_0x50af79(0x3cb)]=_0x8a3f73,this[_0x50af79(0x2aa)]=_0x3015a3,this[_0x50af79(0x2d2)]=_0x189417,this[_0x50af79(0x3e0)](),this[_0x50af79(0x33e)](),this[_0x50af79(0x399)]());}[_0x33edf5(0x109)](){return this;}['onRemoteChangeset'](){return this;}[_0x33edf5(0x265)](){return this;}['onRemoteRej'](){return this;}[_0x33edf5(0x81)](){return this;}[_0x33edf5(0x2bf)](){return this;}['toggleOnline'](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x33edf5(0x33e)](){var _0x40c5cc=_0x33edf5,_0x177997;(_0x177997=this['_localCacheService'])==null||_0x177997[_0x40c5cc(0x87)](this['unitID'],this[_0x40c5cc(0x102)],null,[]);}['_showConflictNotification'](){var _0x2e677a=_0x33edf5;this['_isPermissionRej']?this[_0x2e677a(0x2aa)][_0x2e677a(0x328)]({'id':J[_0x2e677a(0x3e4)]}):this['_collaborationUIEventService']['emitEvent']({'id':J['CONFLICT']});}['_disableEditing'](){var _0x32c2d9=_0x33edf5;this[_0x32c2d9(0x2a7)][_0x32c2d9(0x2f7)](new Q['WorkbookEditablePermission'](this[_0x32c2d9(0xcb)])['id'],!0x1);}},exports[_0x33edf5(0x37b)]=ae([L(0x6,o[_0x33edf5(0x348)](o[_0x33edf5(0x2c6)])),L(0x7,o[_0x33edf5(0x376)]),L(0x8,o[_0x33edf5(0x194)]),L(0x9,o['Inject'](E[_0x33edf5(0x2bb)])),L(0xa,o[_0x33edf5(0x348)](o['LocaleService'])),L(0xb,o['Inject'](ee)),L(0xc,o['Optional'](q))],exports[_0x33edf5(0x37b)]),exports[_0x33edf5(0x38b)]=class extends oe{constructor(_0x20f974,_0x3075cc,_0x15b99e,_0xbc7a45,_0x4abfc5,_0x196b73,_0x4d1339,_0x4dc372,_0x10bc11,_0x29c61f){var _0x397ab7=_0x33edf5;super(_0x20f974,_0x3075cc,_0x15b99e,_0xbc7a45,_0x4abfc5,_0x4dc372,_0x10bc11,_0x4d1339,_0x29c61f),A(this,_0x397ab7(0x3b5),_0x397ab7(0xda)),this['_injector']=_0x196b73;}[_0x33edf5(0x109)](_0x179df8){var _0x2c9d42=_0x33edf5;return this['_pendingMutations']['push'](_0x179df8),this[_0x2c9d42(0x39b)](),this;}[_0x33edf5(0x394)](_0x4e3922){var _0x33026f=_0x33edf5;throw new Error(_0x33026f(0x2be));}[_0x33edf5(0x265)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x33edf5(0x293)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x33edf5(0x81)](){return this;}[_0x33edf5(0x2bf)](){return this;}['toggleOnline'](){var _0x5564c0=_0x33edf5;const {_injector:_0x1fdd39,_pendingMutations:_0x5aaeba,_awaitingChangeset:_0x336137,unitID:_0x4cff0e,_handler:_0x2af4e3,type:_0x494b18}=this,_0x4d43e0=ft(_0x1fdd39,_0x4cff0e,_0x494b18,_0x336137,_0x5aaeba,_0x2af4e3);return _0x4d43e0 instanceof exports['PendingState']?_0x4d43e0[_0x5564c0(0x10b)]():(_0x4d43e0 instanceof exports[_0x5564c0(0x1ae)]||_0x4d43e0 instanceof exports[_0x5564c0(0x32f)])&&_0x4d43e0[_0x5564c0(0x117)](),_0x4d43e0;}[_0x33edf5(0x117)](){var _0x3ba16c=_0x33edf5;throw new Error(_0x3ba16c(0x9a));}},exports[_0x33edf5(0x38b)]=ae([L(0x5,o[_0x33edf5(0x348)](o[_0x33edf5(0x173)])),L(0x6,o['Inject'](E[_0x33edf5(0x2bb)])),L(0x7,o[_0x33edf5(0x376)]),L(0x8,o[_0x33edf5(0x194)]),L(0x9,o[_0x33edf5(0x370)](q))],exports['OfflineState']),exports[_0x33edf5(0x19c)]=class extends oe{constructor(_0x20495a,_0x558b3e,_0x2e7de2,_0x5c7888,_0x1cf3e6,_0x51a3f5,_0x2a7989,_0x407328,_0x2b8598,_0x1b1b60,_0x52e2d2,_0x3789a4,_0x13c6a8,_0x287a8d){var _0x1df379=_0x33edf5;super(_0x20495a,_0x558b3e,_0x2e7de2,_0x5c7888,_0x2a7989,_0x52e2d2,_0x3789a4,_0x2b8598,_0x287a8d),A(this,_0x1df379(0x3b5),_0x1df379(0x304)),(this[_0x1df379(0x34c)]=_0x1cf3e6,this[_0x1df379(0xcc)]=_0x51a3f5,this['_injector']=_0x407328,this[_0x1df379(0x353)]=_0x1b1b60,this[_0x1df379(0x3f2)]=_0x13c6a8,this[_0x1df379(0x2d2)]=_0x287a8d);}[_0x33edf5(0x3b8)](_0x3df4ca){var _0x2ec8cd=_0x33edf5;try{const _0x2a2ebd=[..._0x3df4ca,...this['_queuedRemoteChangesets']],_0xea0d00=[this[_0x2ec8cd(0x24a)]||this[_0x2ec8cd(0x34c)]][_0x2ec8cd(0x261)](_0x29feeb=>!!_0x29feeb);let _0x23fb21,_0x3f7ba1;if(_0xea0d00[_0x2ec8cd(0x182)]){const _0x5b98e2=this[_0x2ec8cd(0x3f2)]['transformChangesets'](_0x2a2ebd,_0xea0d00,!0x1);if(!E[_0x2ec8cd(0x212)](_0x5b98e2))throw _0x5b98e2['error'];_0x23fb21=_0x5b98e2[_0x2ec8cd(0x1f2)],_0x3f7ba1=_0x5b98e2[_0x2ec8cd(0xa9)];}else _0x23fb21=_0x2a2ebd,_0x3f7ba1=[];let _0x3263ed=this[_0x2ec8cd(0x159)];_0x23fb21['forEach'](_0x382f15=>{var _0x55466d=_0x2ec8cd;let _0x410ee1;if(_0x3263ed[_0x55466d(0x182)]){const _0x4903c5=this[_0x55466d(0x3f2)][_0x55466d(0xbf)](_0x382f15,_0x3263ed);if(!E[_0x55466d(0x3cd)](_0x4903c5))throw _0x4903c5[_0x55466d(0x134)];_0x410ee1=_0x4903c5[_0x55466d(0x1f2)],_0x3263ed=_0x4903c5[_0x55466d(0x2b9)];}else _0x410ee1=_0x382f15;this[_0x55466d(0x30f)](_0x410ee1);}),this[_0x2ec8cd(0x34c)]&&this[_0x2ec8cd(0x1a3)](),this['_awaitingChangeset']&&_0x3f7ba1[_0x2ec8cd(0x182)]&&(_0x3f7ba1[0x0][_0x2ec8cd(0x25c)]=this[_0x2ec8cd(0x27b)]());let _0x2c4940;if(this[_0x2ec8cd(0x24a)]&&_0x3263ed[_0x2ec8cd(0x182)]!==0x0)_0x2c4940=this[_0x2ec8cd(0x1fe)][_0x2ec8cd(0xc4)](exports[_0x2ec8cd(0x1ae)],this['unitID'],this[_0x2ec8cd(0x102)],_0x3f7ba1[0x0],_0x3263ed,this[_0x2ec8cd(0x3cf)],void 0x0);else{if(this[_0x2ec8cd(0x24a)]&&_0x3263ed['length']===0x0)_0x3f7ba1[0x0][_0x2ec8cd(0x25c)]=this[_0x2ec8cd(0x27b)](),_0x2c4940=this[_0x2ec8cd(0x1fe)]['createInstance'](exports[_0x2ec8cd(0x32f)],this[_0x2ec8cd(0xcb)],this[_0x2ec8cd(0x102)],_0x3f7ba1[0x0],this['_handler']);else{if(_0x3263ed['length']!==0x0){const _0x3c310b=this['_injector'][_0x2ec8cd(0xc4)](exports['PendingState'],this[_0x2ec8cd(0xcb)],this[_0x2ec8cd(0x102)],_0x3263ed,this[_0x2ec8cd(0x3cf)]);_0x3c310b[_0x2ec8cd(0x10b)](),_0x2c4940=_0x3c310b;}else _0x2c4940=this[_0x2ec8cd(0x1fe)][_0x2ec8cd(0xc4)](exports['SyncedState'],this[_0x2ec8cd(0xcb)],this[_0x2ec8cd(0x102)],this[_0x2ec8cd(0x3cf)]);}}return _0x2c4940[_0x2ec8cd(0x39b)](),_0x2c4940;}catch(_0x163305){return this[_0x2ec8cd(0x353)]['error'](_0x2ec8cd(0x3d1),_0x2ec8cd(0xad),_0x163305),this[_0x2ec8cd(0x1fe)][_0x2ec8cd(0xc4)](exports[_0x2ec8cd(0x37b)],this[_0x2ec8cd(0xcb)],this[_0x2ec8cd(0x102)],this['_awaitingChangeset'],this[_0x2ec8cd(0x159)],this[_0x2ec8cd(0x3cf)],!0x1);}}[_0x33edf5(0x117)](){var _0x1e40e3=_0x33edf5;throw new Error(_0x1e40e3(0xf7));}['appendMutation'](_0x3b682d){var _0xd568cd=_0x33edf5;return this[_0xd568cd(0x159)]['push'](_0x3b682d),this;}[_0x33edf5(0x394)](_0x307f1e){var _0x1b83ec=_0x33edf5;return this[_0x1b83ec(0xcc)][_0x1b83ec(0x38d)](_0x307f1e),this;}[_0x33edf5(0x265)](_0x14baf6){var _0x2f2489=_0x33edf5;if(this[_0x2f2489(0x24a)])return this[_0x2f2489(0x34c)]=this['_awaitingChangeset'],this[_0x2f2489(0x24a)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x17257c){var _0x1c6886=_0x33edf5;return this['_onConflict'](!!(_0x17257c!=null&&_0x17257c[_0x1c6886(0x295)]));}[_0x33edf5(0x81)](){return this;}['toggleOffline'](){var _0x3fbf3d=_0x33edf5;return this[_0x3fbf3d(0x1fe)][_0x3fbf3d(0xc4)](exports['OfflineState'],this['unitID'],this['type'],this[_0x3fbf3d(0x24a)],this['_pendingMutations'],this[_0x3fbf3d(0x3cf)]);}[_0x33edf5(0x256)](){return this;}[_0x33edf5(0x386)](_0x30b578){var _0x22c1f8=_0x33edf5;return this['_injector'][_0x22c1f8(0xc4)](exports[_0x22c1f8(0x37b)],this[_0x22c1f8(0xcb)],this[_0x22c1f8(0x102)],this[_0x22c1f8(0x24a)],this['_pendingMutations'],this[_0x22c1f8(0x3cf)],_0x30b578);}},exports['FetchingMissState']=ae([L(0x7,o['Inject'](o[_0x33edf5(0x173)])),L(0x8,o[_0x33edf5(0x348)](E[_0x33edf5(0x2bb)])),L(0x9,o['ILogService']),L(0xa,o[_0x33edf5(0x376)]),L(0xb,o[_0x33edf5(0x194)]),L(0xc,E[_0x33edf5(0x141)]),L(0xd,o[_0x33edf5(0x370)](q))],exports[_0x33edf5(0x19c)]);function ft(_0x17be75,_0x195409,_0x16f6c4,_0x5b40d0,_0x598cf8,_0x539115){var _0x44c8b2=_0x33edf5;return _0x5b40d0&&_0x598cf8[_0x44c8b2(0x182)]?_0x17be75[_0x44c8b2(0xc4)](exports[_0x44c8b2(0x1ae)],_0x195409,_0x16f6c4,_0x5b40d0,_0x598cf8,_0x539115,void 0x0):_0x5b40d0?_0x17be75[_0x44c8b2(0xc4)](exports[_0x44c8b2(0x32f)],_0x195409,_0x16f6c4,_0x5b40d0,_0x539115):_0x598cf8[_0x44c8b2(0x182)]?_0x17be75['createInstance'](exports[_0x44c8b2(0x1d8)],_0x195409,_0x16f6c4,_0x598cf8,_0x539115):_0x17be75['createInstance'](exports[_0x44c8b2(0x3f8)],_0x195409,_0x16f6c4,_0x539115);}var ni=Object[_0x33edf5(0x8d)],Be=(_0x20db51,_0x3f613a,_0x959b3d,_0x493502)=>{var _0x30b8c8=_0x33edf5;for(var _0x34a3b8=_0x493502>0x1?void 0x0:_0x493502?ni(_0x3f613a,_0x959b3d):_0x3f613a,_0x5f1a68=_0x20db51[_0x30b8c8(0x182)]-0x1,_0x438f90;_0x5f1a68>=0x0;_0x5f1a68--)(_0x438f90=_0x20db51[_0x5f1a68])&&(_0x34a3b8=_0x438f90(_0x34a3b8)||_0x34a3b8);return _0x34a3b8;},$=(_0x5e741a,_0x505ceb)=>(_0x5f4d4a,_0x334324)=>_0x505ceb(_0x5f4d4a,_0x334324,_0x5e741a);exports['CollaborationEntity']=class extends o['RxDisposable']{constructor(_0x4e8fed,_0xaa87f7,_0x36e8c7,_0x3d7d1e,_0x47e5a3,_0x2405ec,_0x3fdc0d,_0x20118b,_0x18de22,_0x34c857,_0x5be3d0,_0x50b889,_0x490ce2,_0x2ab9ea){var _0x1cb62a=_0x33edf5;super(),A(this,_0x1cb62a(0x147),new j[(_0x1cb62a(0x19d))](null)),A(this,_0x1cb62a(0x206),this[_0x1cb62a(0x147)][_0x1cb62a(0x291)]()),A(this,'_state'),A(this,'_collaborationPaused',!0x1),A(this,_0x1cb62a(0x271),''),A(this,_0x1cb62a(0x219),0x0),A(this,_0x1cb62a(0x2e1),this[_0x1cb62a(0x206)][_0x1cb62a(0x10a)](j[_0x1cb62a(0x3b9)](_0x52c659=>_0x52c659?_0x52c659[_0x1cb62a(0x3b5)]:je['OFFLINE']),j[_0x1cb62a(0x259)](0x1))),A(this,_0x1cb62a(0x287),!0x1),A(this,_0x1cb62a(0x3ff),[]),(this[_0x1cb62a(0xcb)]=_0x4e8fed,this[_0x1cb62a(0x12d)]=_0xaa87f7,this[_0x1cb62a(0x335)]=_0x36e8c7,this[_0x1cb62a(0x1fe)]=_0x3d7d1e,this[_0x1cb62a(0x307)]=_0x47e5a3,this[_0x1cb62a(0x3cb)]=_0x2405ec,this[_0x1cb62a(0x3fa)]=_0x3fdc0d,this[_0x1cb62a(0x18f)]=_0x20118b,this[_0x1cb62a(0x82)]=_0x18de22,this[_0x1cb62a(0x353)]=_0x34c857,this[_0x1cb62a(0x170)]=_0x5be3d0,this[_0x1cb62a(0x2a7)]=_0x50b889,this[_0x1cb62a(0x1af)]=_0x490ce2,this['_localCacheService']=_0x2ab9ea);}get[_0x33edf5(0x372)](){var _0x12046c=_0x33edf5;return this[_0x12046c(0x2a1)];}async[_0x33edf5(0x112)](){var _0x466d7f=_0x33edf5;if(this['state'])throw new Error(_0x466d7f(0xfe));await this['_init']();}[_0x33edf5(0x1a9)](){var _0x4ba23c=_0x33edf5;return this[_0x4ba23c(0x1f9)]=!0x0,o[_0x4ba23c(0x3b1)](()=>{var _0x1a2b83=_0x4ba23c;this['_collaborationPaused']=!0x1,this[_0x1a2b83(0x2fa)]();});}[_0x33edf5(0x190)](_0x333040){var _0x129d69=_0x33edf5;this[_0x129d69(0x327)](_0x333040);}[_0x33edf5(0x2f0)](_0x34f823){var _0x1f196b=_0x33edf5;this[_0x1f196b(0x2a1)]=_0x34f823,this[_0x1f196b(0x147)][_0x1f196b(0x402)](_0x34f823);}async[_0x33edf5(0x1e2)](){var _0x45aaff=_0x33edf5,_0x56365b;this['_updateState'](await this[_0x45aaff(0xf9)]()),this['_singleActiveUnitService']&&((_0x56365b=this[_0x45aaff(0x1af)])==null||_0x56365b['editingUnit'](this[_0x45aaff(0xcb)]),this[_0x45aaff(0x1be)](this[_0x45aaff(0x1af)]['getUnitStatus$'](this[_0x45aaff(0xcb)])[_0x45aaff(0x2cc)](_0x304c9b=>{var _0x3f3ab2=_0x45aaff;this[_0x3f3ab2(0x353)]['debug']('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x304c9b),_0x304c9b===He[_0x3f3ab2(0x126)]?(this[_0x3f3ab2(0x18f)][_0x3f3ab2(0x328)]({'id':J['OTHER_CLIENT_EDITING']}),this[_0x3f3ab2(0x2a7)][_0x3f3ab2(0x2f7)](new Q[(_0x3f3ab2(0x241))](this[_0x3f3ab2(0xcb)])['id'],!0x1),this[_0x3f3ab2(0x2a7)][_0x3f3ab2(0x18e)](!0x1)):(this['_permissionService'][_0x3f3ab2(0x2f7)](new Q[(_0x3f3ab2(0x241))](this['unitID'])['id'],!0x0),this[_0x3f3ab2(0x2a7)][_0x3f3ab2(0x18e)](!0x0));})));let _0x460993=!0x1;return this[_0x45aaff(0x1be)](this['session']['sessionStatus$']['subscribe'](_0x504719=>{var _0x4f6e9e=_0x45aaff;_0x504719===se[_0x4f6e9e(0x387)]?this[_0x4f6e9e(0x375)](_0x460993):_0x504719===se['OFFLINE']&&(_0x460993=!0x0,this[_0x4f6e9e(0x29c)]());})),this[_0x45aaff(0x1be)](this[_0x45aaff(0x12d)]['event$']['subscribe'](_0x52b0be=>{var _0x1672cf=_0x45aaff;try{switch(_0x52b0be['eventID']){case E['CollaborationEvent'][_0x1672cf(0x2c9)]:{this[_0x1672cf(0xe3)](E['parseProtocolChangeset'](_0x52b0be[_0x1672cf(0x34f)]));break;}case E[_0x1672cf(0xd1)][_0x1672cf(0xc1)]:{this['_onRemoteACK'](_0x52b0be[_0x1672cf(0x34f)]);break;}case E[_0x1672cf(0xd1)]['CHANGESET_REJ']:{this[_0x1672cf(0x129)]();break;}case E[_0x1672cf(0xd1)]['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x52b0be[_0x1672cf(0x34f)]);break;}case E[_0x1672cf(0xd1)][_0x1672cf(0x1c4)]:{this[_0x1672cf(0x380)](_0x52b0be[_0x1672cf(0x34f)][_0x1672cf(0xec)][_0x1672cf(0x3b9)](_0x32f364=>E[_0x1672cf(0x1bd)](_0x32f364)));break;}case E[_0x1672cf(0xd1)][_0x1672cf(0x2eb)]:{this[_0x1672cf(0x129)]({'isPermissionRej':!0x0});break;}case E['CollaborationEvent']['UNISCRIPT_RUN']:break;}}catch(_0x7dbcdc){throw console[_0x1672cf(0x134)](_0x1672cf(0x1c9),_0x7dbcdc),_0x7dbcdc;}})),this[_0x45aaff(0x2a1)];}['_unlockTransition'](){var _0x294223=_0x33edf5;this[_0x294223(0x287)]=!0x1;}['_lockTransition'](){var _0x36f0a9=_0x33edf5;if(this[_0x36f0a9(0x287)])throw new Error(_0x36f0a9(0x100));this[_0x36f0a9(0x287)]=!0x0;}['_onLocalMutation'](_0x340e99){var _0x1ec45b=_0x33edf5;this[_0x1ec45b(0x2df)](),this[_0x1ec45b(0x2f0)](this['_state'][_0x1ec45b(0x109)](_0x340e99)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x692b3f){var _0x386bce=_0x33edf5;if(!(_0x692b3f[_0x386bce(0x23f)]<=this[_0x386bce(0x3fa)][_0x386bce(0xa0)](this[_0x386bce(0xcb)]))){if(this[_0x386bce(0x1f9)]){this[_0x386bce(0x3ff)][_0x386bce(0x38d)](_0x692b3f);return;}this[_0x386bce(0x155)](_0x692b3f);}}[_0x33edf5(0x2fa)](){var _0x1b3b65=_0x33edf5;this[_0x1b3b65(0x3ff)][_0x1b3b65(0x3f0)](_0x448a69=>this['_applyRemoteChangeset'](_0x448a69)),this[_0x1b3b65(0x3ff)]=[];}['_applyRemoteChangeset'](_0x2adbe8){var _0x37f133=_0x33edf5;const _0x406d87=this[_0x37f133(0x307)]['interceptor'][_0x37f133(0x144)](this[_0x37f133(0x307)][_0x37f133(0x34e)][_0x37f133(0x381)]()[_0x37f133(0x296)])(_0x2adbe8[_0x37f133(0x14e)],null)||_0x2adbe8[_0x37f133(0x14e)],_0x321267={..._0x2adbe8,'mutations':_0x406d87};this[_0x37f133(0x2df)](),this[_0x37f133(0x2f0)](this[_0x37f133(0x2a1)][_0x37f133(0x394)](_0x321267)),this['_unlockTransition']();}[_0x33edf5(0x31c)](_0x53a8ff){var _0x1fd630=_0x33edf5;this[_0x1fd630(0x2df)](),this[_0x1fd630(0x2f0)](this[_0x1fd630(0x2a1)][_0x1fd630(0x265)](_0x53a8ff)),this[_0x1fd630(0x3fd)]();}[_0x33edf5(0x129)](_0x175ac8){var _0x2e1926=_0x33edf5;this[_0x2e1926(0x2df)](),this[_0x2e1926(0x2f0)](this[_0x2e1926(0x2a1)]['onRemoteRej'](_0x175ac8)),this[_0x2e1926(0x3fd)]();}[_0x33edf5(0xca)](_0x4f747b){var _0x5e19e0=_0x33edf5;this[_0x5e19e0(0x2df)](),this['_updateState'](this[_0x5e19e0(0x2a1)][_0x5e19e0(0x81)](_0x4f747b)),this[_0x5e19e0(0x3fd)]();}[_0x33edf5(0x380)](_0x4df838){var _0x3bef60=_0x33edf5;if(!(this['_state']instanceof exports['FetchingMissState']))throw new TypeError(_0x3bef60(0x35c));const _0x2123e5=_0x4df838[_0x3bef60(0x3b9)](_0x46dd14=>{var _0x1327a6=_0x3bef60;const _0x4f0181=this[_0x1327a6(0x307)][_0x1327a6(0x34e)][_0x1327a6(0x144)](this['_compressMutationService'][_0x1327a6(0x34e)][_0x1327a6(0x381)]()['COMPRESS_MUTATION_APPLY'])(_0x46dd14[_0x1327a6(0x14e)],null)||_0x46dd14[_0x1327a6(0x14e)];return{..._0x46dd14,'mutations':_0x4f0181};});this[_0x3bef60(0x2df)](),this[_0x3bef60(0x2f0)](this[_0x3bef60(0x2a1)][_0x3bef60(0x3b8)](_0x2123e5)),this[_0x3bef60(0x3fd)]();}[_0x33edf5(0x29c)](){var _0x3e3b13=_0x33edf5;this['_lockTransition'](),this['_updateState'](this[_0x3e3b13(0x2a1)][_0x3e3b13(0x2bf)]()),this[_0x3e3b13(0x3fd)]();}[_0x33edf5(0x375)](_0x3c782b=!0x1){var _0x108065=_0x33edf5;this[_0x108065(0x2df)](),this[_0x108065(0x2f0)](this[_0x108065(0x2a1)][_0x108065(0x256)]()),this[_0x108065(0x3fd)]();const _0x420ce5=this['_state'];_0x3c782b&&_0x420ce5 instanceof exports[_0x108065(0x3f8)]&&(this[_0x108065(0x2df)](),this['_updateState'](_0x420ce5[_0x108065(0x136)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x4be6f6=>{var _0x376721=_0x5256;this['session'][_0x376721(0x135)][_0x376721(0x10a)](j[_0x376721(0x168)](0x1))[_0x376721(0x2cc)](async _0x2a908e=>{var _0x3a207e=_0x376721;_0x4be6f6(await this[_0x3a207e(0x3a0)](_0x2a908e===se[_0x3a207e(0x387)]));});});}['_createHandler'](){var _0x188d0f=_0x33edf5;const _0x3a6aeb=this[_0x188d0f(0xcb)];return{'onStateChange':(_0x4a58ee,_0x315687)=>{var _0x1520ca=_0x188d0f;if(_0x4a58ee!==this['_state'])throw new Error(_0x1520ca(0x3ea)+_0x4a58ee['status']+_0x1520ca(0x1c1)+_0x315687['status']+_0x1520ca(0x13c)+this[_0x1520ca(0x2a1)][_0x1520ca(0x3b5)]);this[_0x1520ca(0x2f0)](_0x315687);},'onSendChangeset':_0x56fe81=>{var _0x4fff26=_0x188d0f;_0x56fe81[_0x4fff26(0x1e4)]||(_0x56fe81[_0x4fff26(0x1e4)]=this[_0x4fff26(0x271)],_0x56fe81[_0x4fff26(0x268)]=++this[_0x4fff26(0x219)]);const _0x101b2c={'eventID':E[_0x4fff26(0xd1)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x56fe81[_0x4fff26(0xcb)],'unitType':this[_0x4fff26(0x335)],'changeset':_0x56fe81,'memberID':this[_0x4fff26(0x12d)]['getMemberID']()}};this[_0x4fff26(0x12d)]['send'](_0x101b2c,this[_0x4fff26(0xcb)]);},'onMissingChangesets':({from:_0xe59bae,to:_0x57b389})=>{var _0x471746=_0x188d0f;this['_logService'][_0x471746(0x38a)](_0x471746(0x145),_0x471746(0x2fd)+_0xe59bae+'\x20to\x20'+_0x57b389);const _0x3c2e9b={'eventID':E[_0x471746(0xd1)][_0x471746(0x157)],'data':{'unitID':_0x3a6aeb,'unitType':this[_0x471746(0x335)],'from':_0xe59bae,'to':_0x57b389}};this[_0x471746(0x12d)]['send'](_0x3c2e9b,this['unitID']);}};}async[_0x33edf5(0x3a0)](_0xe45c87){var _0x55338a=_0x33edf5,_0x10a531,_0x1e629d,_0x549ed4;const _0x42dfa4=await((_0x10a531=this[_0x55338a(0x3ab)])==null?void 0x0:_0x10a531[_0x55338a(0x1f4)](this[_0x55338a(0xcb)])),_0x536bbd=(_0x1e629d=_0x42dfa4==null?void 0x0:_0x42dfa4[_0x55338a(0x14e)])!=null?_0x1e629d:[],_0x11a34a=(_0x549ed4=_0x42dfa4==null?void 0x0:_0x42dfa4[_0x55338a(0x367)])!=null?_0x549ed4:null,_0xc40d93=!!(_0x11a34a!=null&&_0x11a34a['sid'])&&!!(_0x11a34a!=null&&_0x11a34a[_0x55338a(0x268)]);this[_0x55338a(0x271)]=_0xc40d93?_0x11a34a[_0x55338a(0x1e4)]:E['uuidv4'](),this[_0x55338a(0x219)]=_0xc40d93?_0x11a34a[_0x55338a(0x268)]:0x0;const _0x945610=this[_0x55338a(0xcb)];try{this[_0x55338a(0x236)](_0x11a34a,_0x536bbd);}catch(_0x38c836){this[_0x55338a(0x353)][_0x55338a(0x134)](_0x38c836);}const _0x31daa8=this['_createHandler']();if(_0xe45c87){const _0x28ffa8=ft(this['_injector'],_0x945610,this[_0x55338a(0x335)],_0x11a34a,_0x536bbd,_0x31daa8);return _0x28ffa8 instanceof exports[_0x55338a(0x1d8)]?_0x28ffa8['_schedule']():(_0x28ffa8 instanceof exports[_0x55338a(0x1ae)]||_0x28ffa8 instanceof exports[_0x55338a(0x32f)])&&_0x28ffa8['resend'](),_0x28ffa8;}return this[_0x55338a(0x1fe)]['createInstance'](exports[_0x55338a(0x38b)],_0x945610,this['_type'],_0x11a34a,_0x536bbd,_0x31daa8);}['_replayCachedMutations'](_0x30af2e,_0x757648){var _0x3bf692=_0x33edf5,_0x319534,_0x76746f;const _0x5b3828=this[_0x3bf692(0x307)]['interceptor'][_0x3bf692(0x144)](this[_0x3bf692(0x307)][_0x3bf692(0x34e)][_0x3bf692(0x381)]()[_0x3bf692(0x296)]);(_0x319534=_0x5b3828((_0x30af2e==null?void 0x0:_0x30af2e['mutations'])||[],null))==null||_0x319534[_0x3bf692(0x3f0)](_0x5ccfa8=>this['_commandService']['executeCommand'](_0x5ccfa8['id'],_0x5ccfa8[_0x3bf692(0xf2)])),(_0x76746f=_0x5b3828(_0x757648||[],null))==null||_0x76746f[_0x3bf692(0x3f0)](_0x3994da=>this['_commandService']['executeCommand'](_0x3994da['id'],_0x3994da['params']));}},exports[_0x33edf5(0x320)]=Be([$(0x3,o[_0x33edf5(0x348)](o[_0x33edf5(0x173)])),$(0x4,o['Inject'](E[_0x33edf5(0x204)])),$(0x5,o[_0x33edf5(0x348)](o[_0x33edf5(0x2e3)])),$(0x6,o[_0x33edf5(0x348)](E[_0x33edf5(0x2bb)])),$(0x7,o['Inject'](ee)),$(0x8,o['IUniverInstanceService']),$(0x9,o[_0x33edf5(0x2e7)]),$(0xa,o[_0x33edf5(0x376)]),$(0xb,o[_0x33edf5(0x2c6)]),$(0xc,o['Optional'](ve)),$(0xd,o[_0x33edf5(0x370)](q))],exports['CollaborationEntity']),exports[_0x33edf5(0x3a4)]=class extends exports['CollaborationEntity']{constructor(_0x4573f7,_0xfed3fc,_0x261a22,_0x2bd7f2,_0x1eb972,_0x18e61a,_0x553b4b,_0x3d10a6,_0x391844,_0x3826e8,_0x423cdd,_0x2dcd8a,_0x5c1fe8,_0x49b68c){var _0x2fcdde=_0x33edf5;super(_0x4573f7,_0x261a22,_0xfed3fc,_0x2bd7f2,_0x1eb972,_0x18e61a,_0x553b4b,_0x3d10a6,_0x391844,_0x3826e8,_0x423cdd,_0x2dcd8a,_0x5c1fe8,_0x49b68c),A(this,'_handlerCallback',null),(this[_0x2fcdde(0xcb)]=_0x4573f7,this[_0x2fcdde(0x102)]=_0xfed3fc);}[_0x33edf5(0x106)](_0x3dfb41){var _0x49b34e=_0x33edf5;this[_0x49b34e(0x176)]=_0x3dfb41;}[_0x33edf5(0xa8)](){var _0x2b1738=_0x33edf5;this[_0x2b1738(0x176)]=null,super[_0x2b1738(0xa8)]();}[_0x33edf5(0x2fb)](){var _0x184261=_0x33edf5;const _0x3e8adc=super[_0x184261(0x2fb)]();return _0x3e8adc[_0x184261(0x2dd)]=_0x13f61d=>{var _0x3b8163=_0x184261,_0x5b8592,_0x27547d;return(_0x27547d=(_0x5b8592=this[_0x3b8163(0x176)])==null?void 0x0:_0x5b8592[_0x3b8163(0x2dd)])==null?void 0x0:_0x27547d[_0x3b8163(0x38c)](_0x5b8592,_0x13f61d);},_0x3e8adc[_0x184261(0x383)]=_0x4aef55=>{var _0x57745c,_0x2286a5;return(_0x2286a5=(_0x57745c=this['_handlerCallback'])==null?void 0x0:_0x57745c['onTransformState'])==null?void 0x0:_0x2286a5['call'](_0x57745c,_0x4aef55);},_0x3e8adc[_0x184261(0x2c2)]=_0x1fb161=>{var _0xca1088=_0x184261,_0x3fb253,_0x514bd2;return(_0x514bd2=(_0x3fb253=this[_0xca1088(0x176)])==null?void 0x0:_0x3fb253[_0xca1088(0x2c2)])==null?void 0x0:_0x514bd2[_0xca1088(0x38c)](_0x3fb253,_0x1fb161);},_0x3e8adc[_0x184261(0x3da)]=_0xd40290=>{var _0x2c464c=_0x184261,_0xace4f1,_0x2a6ad5;return(_0x2a6ad5=(_0xace4f1=this[_0x2c464c(0x176)])==null?void 0x0:_0xace4f1['onSyncEditingCollabCursor'])==null?void 0x0:_0x2a6ad5[_0x2c464c(0x38c)](_0xace4f1,_0xd40290);},_0x3e8adc[_0x184261(0x162)]=_0x446ffc=>{var _0x89a919=_0x184261,_0x543eda,_0x5ee98b,_0x5e8bb7;if(!((_0x543eda=this[_0x89a919(0x176)])!=null&&_0x543eda['onTransformRemoteChangesetByIMECache']))throw new Error(_0x89a919(0x301));return(_0x5e8bb7=(_0x5ee98b=this[_0x89a919(0x176)])==null?void 0x0:_0x5ee98b[_0x89a919(0x162)])==null?void 0x0:_0x5e8bb7[_0x89a919(0x38c)](_0x5ee98b,_0x446ffc);},_0x3e8adc[_0x184261(0x1e3)]=_0x18663b=>{var _0x5bb7c2=_0x184261,_0x1d5039,_0x39cb60,_0x305c8c;if(!((_0x1d5039=this['_handlerCallback'])!=null&&_0x1d5039[_0x5bb7c2(0x1e3)]))throw new Error(_0x5bb7c2(0x305));return(_0x305c8c=(_0x39cb60=this[_0x5bb7c2(0x176)])==null?void 0x0:_0x39cb60[_0x5bb7c2(0x1e3)])==null?void 0x0:_0x305c8c[_0x5bb7c2(0x38c)](_0x39cb60,_0x18663b);},_0x3e8adc;}async[_0x33edf5(0x1e2)](){var _0x10765c=_0x33edf5;const _0x4dcab8=await super['_init']();return this[_0x10765c(0x1be)](this[_0x10765c(0x170)]['onMutationExecutedForCollab']((_0x11f776,_0x34824b)=>{var _0x3d12ef=_0x10765c;if(_0x11f776[_0x3d12ef(0x102)]!==o['CommandType'][_0x3d12ef(0x8a)]||_0x34824b!=null&&_0x34824b[_0x3d12ef(0xe6)]||_0x34824b!=null&&_0x34824b['onlyLocal']||_0x11f776['id']===ct[_0x3d12ef(0x33f)]['id'])return;const _0x5b53ab=_0x11f776['params'];if((_0x5b53ab==null?void 0x0:_0x5b53ab['unitId'])!==this[_0x3d12ef(0xcb)])return;const _0x530b39=_0x11f776,_0x54458b=this['_compressMutationService'][_0x3d12ef(0x34e)][_0x3d12ef(0x144)](this[_0x3d12ef(0x307)][_0x3d12ef(0x34e)][_0x3d12ef(0x381)]()[_0x3d12ef(0x1fc)])([_0x530b39],this[_0x3d12ef(0x82)])||[_0x530b39];this[_0x3d12ef(0x327)](_0x54458b[0x0]);})),_0x4dcab8;}},exports[_0x33edf5(0x3a4)]=Be([$(0x3,o[_0x33edf5(0x348)](o[_0x33edf5(0x173)])),$(0x4,o[_0x33edf5(0x348)](E[_0x33edf5(0x204)])),$(0x5,o[_0x33edf5(0x348)](o[_0x33edf5(0x2e3)])),$(0x6,o['Inject'](E[_0x33edf5(0x2bb)])),$(0x7,o[_0x33edf5(0x348)](ee)),$(0x8,o[_0x33edf5(0x2c1)]),$(0x9,o[_0x33edf5(0x2e7)]),$(0xa,o['ICommandService']),$(0xb,o[_0x33edf5(0x2c6)]),$(0xc,o[_0x33edf5(0x370)](ve)),$(0xd,o[_0x33edf5(0x370)](q))],exports[_0x33edf5(0x3a4)]),exports[_0x33edf5(0x14c)]=class extends exports[_0x33edf5(0x320)]{constructor(_0x220aa3,_0x298121,_0x6e4759,_0x2e3ba8,_0x5998cf,_0x714f9f,_0x258be8,_0x12a33b,_0x3db765,_0x4fe69a,_0xbbb8b0,_0x47407b,_0x44bfaa,_0x58858f,_0x92f70f){var _0x692bb2=_0x33edf5;super(_0x220aa3,_0x6e4759,_0x298121,_0x2e3ba8,_0x5998cf,_0x714f9f,_0x258be8,_0x3db765,_0x4fe69a,_0xbbb8b0,_0x47407b,_0x44bfaa,_0x58858f,_0x92f70f),this[_0x692bb2(0xcb)]=_0x220aa3,this[_0x692bb2(0x102)]=_0x298121,this[_0x692bb2(0x329)]=_0x12a33b;}[_0x33edf5(0x2fb)](){var _0x47c91d=_0x33edf5;const _0x229259=super['_createHandler']();return _0x229259[_0x47c91d(0x2c2)]=_0xdc05ce=>this[_0x47c91d(0x329)][_0x47c91d(0x18a)](_0xdc05ce),_0x229259;}async['_init'](){var _0x190d97=_0x33edf5;const _0x21eeb5=await super[_0x190d97(0x1e2)]();return this[_0x190d97(0x1be)](this[_0x190d97(0x170)][_0x190d97(0x1cf)]((_0x28f176,_0x2425b3)=>{var _0x3c0871=_0x190d97;if(_0x28f176[_0x3c0871(0x102)]!==o['CommandType']['MUTATION']||_0x2425b3!=null&&_0x2425b3['fromCollab']||_0x2425b3!=null&&_0x2425b3[_0x3c0871(0x32b)])return;const _0x157421=_0x28f176[_0x3c0871(0xf2)];if((_0x157421==null?void 0x0:_0x157421[_0x3c0871(0x30d)])!==this[_0x3c0871(0xcb)])return;const _0x5c853d=_0x28f176,_0x1af614=this['_compressMutationService'][_0x3c0871(0x34e)][_0x3c0871(0x144)](this[_0x3c0871(0x307)][_0x3c0871(0x34e)][_0x3c0871(0x381)]()[_0x3c0871(0x1fc)])([_0x5c853d],this[_0x3c0871(0x82)])||[_0x5c853d];this[_0x3c0871(0x327)](_0x1af614[0x0]);})),_0x21eeb5;}},exports[_0x33edf5(0x14c)]=Be([$(0x3,o[_0x33edf5(0x348)](o[_0x33edf5(0x173)])),$(0x4,o[_0x33edf5(0x348)](E[_0x33edf5(0x204)])),$(0x5,o['Inject'](o[_0x33edf5(0x2e3)])),$(0x6,o['Inject'](E['RevisionService'])),$(0x7,o[_0x33edf5(0x348)](exports[_0x33edf5(0x221)])),$(0x8,o['Inject'](ee)),$(0x9,o[_0x33edf5(0x2c1)]),$(0xa,o[_0x33edf5(0x2e7)]),$(0xb,o['ICommandService']),$(0xc,o[_0x33edf5(0x2c6)]),$(0xd,o[_0x33edf5(0x370)](ve)),$(0xe,o[_0x33edf5(0x370)](q))],exports[_0x33edf5(0x14c)]);const Et=o['createIdentifier'](_0x33edf5(0x3b4));function pt(_0x239f97){var _0xbeccb1=_0x33edf5,_0x58fc63,_0x25fdfe,_0x1621b2,_0x2e04f5,_0xbc36d7;const _0x2d0b63=_0x239f97[_0xbeccb1(0x34f)],_0x222dc8=JSON['parse'](_0x2d0b63);switch(_0x222dc8[_0xbeccb1(0x2f8)]){case W[_0xbeccb1(0x1a8)]:case W[_0xbeccb1(0x339)]:{const _0x380d78=_0x222dc8['infoRsp'];return{..._0x222dc8,'data':_0x380d78,'cmd':_0x222dc8[_0xbeccb1(0x2f8)]};}case W['JOIN']:{const _0x382490=_0x222dc8[_0xbeccb1(0x3ed)];return{..._0x222dc8,'data':_0x382490,'cmd':_0x222dc8[_0xbeccb1(0x2f8)]};}case W[_0xbeccb1(0x3ec)]:{const _0x38135a=_0x222dc8['collaMsg'];switch(_0x38135a[_0xbeccb1(0x2f2)]){case E['CollaborationEvent'][_0xbeccb1(0x2eb)]:return{..._0x222dc8,'data':{..._0x38135a,'data':(_0x58fc63=_0x38135a[_0xbeccb1(0x391)])==null?void 0x0:_0x58fc63['cs']},'cmd':_0x222dc8['cmd']};case E[_0xbeccb1(0xd1)]['CHANGESET_ACK']:return{..._0x222dc8,'data':{..._0x38135a,'data':(_0x25fdfe=_0x38135a[_0xbeccb1(0x2d1)])==null?void 0x0:_0x25fdfe['cs']},'cmd':_0x222dc8[_0xbeccb1(0x2f8)]};case E[_0xbeccb1(0xd1)]['NEW_CHANGESETS']:return{..._0x222dc8,'data':{..._0x38135a,'data':(_0x1621b2=_0x38135a['newCsEvent'])==null?void 0x0:_0x1621b2['cs']},'cmd':_0x222dc8[_0xbeccb1(0x2f8)]};case E['CollaborationEvent'][_0xbeccb1(0x238)]:return{..._0x222dc8,'data':{..._0x38135a,'data':(_0x2e04f5=_0x38135a[_0xbeccb1(0x1c8)])==null?void 0x0:_0x2e04f5['cs']},'cmd':_0x222dc8[_0xbeccb1(0x2f8)]};case E[_0xbeccb1(0xd1)][_0xbeccb1(0x316)]:return{..._0x222dc8,'data':{..._0x38135a,'data':(_0xbc36d7=_0x38135a[_0xbeccb1(0x29a)])==null?void 0x0:_0xbc36d7['cs']},'cmd':_0x222dc8[_0xbeccb1(0x2f8)]};case E[_0xbeccb1(0xd1)][_0xbeccb1(0x319)]:return{..._0x222dc8,'data':{..._0x38135a,'data':_0x38135a[_0xbeccb1(0x1df)]},'cmd':_0x222dc8[_0xbeccb1(0x2f8)]};case E[_0xbeccb1(0xd1)][_0xbeccb1(0x246)]:return{..._0x222dc8,'data':{..._0x38135a,'data':_0x38135a[_0xbeccb1(0xf0)]},'cmd':_0x222dc8[_0xbeccb1(0x2f8)]};case E[_0xbeccb1(0xd1)]['USERS_LEAVE']:return{..._0x222dc8,'data':{..._0x38135a,'data':_0x38135a[_0xbeccb1(0x7f)]},'cmd':_0x222dc8[_0xbeccb1(0x2f8)]};case E[_0xbeccb1(0xd1)][_0xbeccb1(0x269)]:return{..._0x222dc8,'data':{..._0x38135a,'data':_0x38135a['liveShareNewHost']},'cmd':_0x222dc8[_0xbeccb1(0x2f8)]};case E[_0xbeccb1(0xd1)][_0xbeccb1(0x164)]:case E[_0xbeccb1(0xd1)][_0xbeccb1(0x20e)]:return{..._0x222dc8,'data':{..._0x38135a,'data':_0x38135a[_0xbeccb1(0x14b)]},'cmd':_0x222dc8[_0xbeccb1(0x2f8)]};case E[_0xbeccb1(0xd1)][_0xbeccb1(0x115)]:return{..._0x222dc8,'data':{..._0x38135a,'data':_0x38135a['liveShareNewHost']},'cmd':_0x222dc8[_0xbeccb1(0x2f8)]};case E['CollaborationEvent'][_0xbeccb1(0x292)]:return{..._0x222dc8,'data':_0x38135a,'cmd':_0x222dc8['cmd']};case E[_0xbeccb1(0xd1)][_0xbeccb1(0x2d5)]:return{..._0x222dc8,'data':{..._0x38135a,'data':_0x38135a[_0xbeccb1(0x361)]},'cmd':_0x222dc8[_0xbeccb1(0x2f8)]};case E['CollaborationEvent']['UPDATE_PERMISSION_OBJ']:return{..._0x222dc8,'data':{..._0x38135a,'data':_0x38135a[_0xbeccb1(0x2e5)]},'cmd':_0x222dc8['cmd']};case E['CollaborationEvent'][_0xbeccb1(0xaa)]:return{..._0x222dc8,'data':{..._0x38135a,'data':_0x38135a[_0xbeccb1(0x39a)]},'cmd':_0x222dc8[_0xbeccb1(0x2f8)]};case E['CollaborationEvent'][_0xbeccb1(0x3af)]:return{..._0x222dc8,'data':{..._0x38135a,'data':_0x38135a[_0xbeccb1(0xeb)]},'cmd':_0x222dc8['cmd']};default:return _0x222dc8;}}default:return _0x222dc8;}}function mt(_0x99bf3){var _0x5d9540=_0x33edf5;switch(_0x99bf3[_0x5d9540(0x2f8)]){case W[_0x5d9540(0x1a8)]:case W[_0x5d9540(0x339)]:return JSON[_0x5d9540(0x16f)]({'cmd':_0x99bf3[_0x5d9540(0x2f8)],'routeKey':_0x99bf3[_0x5d9540(0x26f)]});case W['INGEST']:{let _0x1c7fcd;switch(_0x99bf3[_0x5d9540(0x34f)]['eventID']){case E[_0x5d9540(0xd1)]['UPDATE_CURSOR']:{_0x1c7fcd={'eventID':E[_0x5d9540(0xd1)][_0x5d9540(0x319)],'updateCursorEvent':_0x99bf3['data']['data']};break;}case E[_0x5d9540(0xd1)]['USERS_LEAVE']:{_0x1c7fcd={'eventID':E[_0x5d9540(0xd1)][_0x5d9540(0x30e)],'leaveEvent':_0x99bf3[_0x5d9540(0x34f)][_0x5d9540(0x34f)]};break;}case E['CollaborationEvent'][_0x5d9540(0x246)]:{_0x1c7fcd={'eventID':E[_0x5d9540(0xd1)][_0x5d9540(0x246)],'joinEvent':_0x99bf3[_0x5d9540(0x34f)][_0x5d9540(0x34f)]};break;}case E[_0x5d9540(0xd1)][_0x5d9540(0x269)]:{_0x1c7fcd={'eventID':E['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x99bf3[_0x5d9540(0x34f)][_0x5d9540(0x34f)]};break;}case E[_0x5d9540(0xd1)][_0x5d9540(0x20e)]:{_0x1c7fcd={'eventID':E[_0x5d9540(0xd1)][_0x5d9540(0x20e)],'liveShareOperation':_0x99bf3[_0x5d9540(0x34f)][_0x5d9540(0x34f)]};break;}case E[_0x5d9540(0xd1)][_0x5d9540(0x115)]:{_0x1c7fcd={'eventID':E['CollaborationEvent'][_0x5d9540(0x115)],'liveShareTerminate':_0x99bf3[_0x5d9540(0x34f)][_0x5d9540(0x34f)]};break;}case E[_0x5d9540(0xd1)][_0x5d9540(0x2a2)]:{_0x1c7fcd={'eventID':E['CollaborationEvent'][_0x5d9540(0x2a2)],'liveShareRequestHost':_0x99bf3[_0x5d9540(0x34f)][_0x5d9540(0x34f)]};break;}case E[_0x5d9540(0xd1)][_0x5d9540(0x164)]:{_0x1c7fcd={'eventID':E['CollaborationEvent'][_0x5d9540(0x164)]};break;}default:_0x1c7fcd={'eventID':_0x99bf3['data'][_0x5d9540(0x2f2)]};}return JSON['stringify']({'cmd':_0x99bf3[_0x5d9540(0x2f8)],'routeKey':_0x99bf3[_0x5d9540(0x26f)],'collaMsg':_0x1c7fcd});}case W[_0x5d9540(0xea)]:return JSON[_0x5d9540(0x16f)]({'cmd':_0x99bf3['cmd'],'routeKey':_0x99bf3['routeKey'],'joinReq':_0x99bf3['data']});case W[_0x5d9540(0x2d0)]:return JSON[_0x5d9540(0x16f)]({'cmd':_0x99bf3[_0x5d9540(0x2f8)],'routeKey':_0x99bf3[_0x5d9540(0x26f)],'leaveReq':_0x99bf3['data']});default:throw new Error(_0x5d9540(0x2f9));}}var si=Object['getOwnPropertyDescriptor'],ri=(_0x286177,_0xa63e1f,_0x48a466,_0x4e890a)=>{var _0x34f91f=_0x33edf5;for(var _0x29c5b1=_0x4e890a>0x1?void 0x0:_0x4e890a?si(_0xa63e1f,_0x48a466):_0xa63e1f,_0x11b0da=_0x286177[_0x34f91f(0x182)]-0x1,_0x39f6a5;_0x11b0da>=0x0;_0x11b0da--)(_0x39f6a5=_0x286177[_0x11b0da])&&(_0x29c5b1=_0x39f6a5(_0x29c5b1)||_0x29c5b1);return _0x29c5b1;},he=(_0x102ab3,_0x10da4d)=>(_0x39d971,_0x3f5849)=>_0x10da4d(_0x39d971,_0x3f5849,_0x102ab3);const Fe=o[_0x33edf5(0x22a)]('univer-pro.collaboration-client-socket-service');function ai(_0x83ac90,_0x2ea5c6,_0x316188){var _0x30edc7=_0x33edf5;return _0x83ac90+'/'+_0x2ea5c6+_0x30edc7(0x178)+_0x316188+_0x30edc7(0x2c3);}exports[_0x33edf5(0x23d)]=class extends o[_0x33edf5(0x16b)]{constructor(_0x1ff245,_0x4da309,_0x15cd0f,_0x381d15,_0x1e6ae5){var _0xe16876=_0x33edf5;super(),this['_injector']=_0x1ff245,this[_0xe16876(0x1cd)]=_0x4da309,this[_0xe16876(0x2ba)]=_0x15cd0f,this[_0xe16876(0x353)]=_0x381d15,this[_0xe16876(0x177)]=_0x1e6ae5;}[_0x33edf5(0x1fa)](_0x48e5a7){var _0x4b1e1c=_0x33edf5;const _0x3541a2=this[_0x4b1e1c(0x1fe)][_0x4b1e1c(0x3cc)](K[_0x4b1e1c(0xdf)]);if(!_0x3541a2)throw new Error(_0x4b1e1c(0x313));const _0x5e6723=_0x3541a2[_0x4b1e1c(0x3e6)](_0x48e5a7);if(!_0x5e6723)throw new Error(_0x4b1e1c(0x205));const _0x23069d=new o[(_0x4b1e1c(0x31a))](),_0x5c02a6=new j[(_0x4b1e1c(0xef))]();_0x23069d['add'](_0x5e6723[_0x4b1e1c(0x114)][_0x4b1e1c(0x2cc)](_0x2d308e=>_0x5c02a6[_0x4b1e1c(0x402)](_0x2d308e))),_0x23069d[_0x4b1e1c(0x281)](o[_0x4b1e1c(0x3b1)](()=>_0x5c02a6[_0x4b1e1c(0x29f)]()));const _0x45b075=new j[(_0x4b1e1c(0xef))]();_0x23069d[_0x4b1e1c(0x281)](_0x5e6723[_0x4b1e1c(0x1d9)][_0x4b1e1c(0x2cc)](_0x122381=>_0x45b075[_0x4b1e1c(0x402)](_0x122381))),_0x23069d[_0x4b1e1c(0x281)](o['toDisposable'](()=>_0x45b075[_0x4b1e1c(0x29f)]()));const _0xe90f5a=new j[(_0x4b1e1c(0xef))]();_0x23069d[_0x4b1e1c(0x281)](_0x5e6723[_0x4b1e1c(0x103)][_0x4b1e1c(0x2cc)](_0x47872b=>{var _0x52e9be=_0x4b1e1c;const _0x27b79f=pt(_0x47872b);_0xe90f5a[_0x52e9be(0x402)](_0x27b79f);})),_0x23069d[_0x4b1e1c(0x281)](o[_0x4b1e1c(0x3b1)](()=>_0xe90f5a[_0x4b1e1c(0x29f)]()));let _0x59cca3;const _0x167d64=()=>{var _0x4ed6bd=_0x4b1e1c;_0x45b075['next'](new Event(_0x4ed6bd(0x216))),_0x5c02a6['next'](new Event(_0x4ed6bd(0x216))),_0x59cca3[_0x4ed6bd(0x331)]();};return _0x59cca3={'memberID':'','close$':_0x5c02a6[_0x4b1e1c(0x291)](),'error$':_0x45b075[_0x4b1e1c(0x291)](),'open$':_0x5e6723[_0x4b1e1c(0xfa)],'message$':_0xe90f5a[_0x4b1e1c(0x291)](),'send':_0x1e145b=>{var _0x16c250=_0x4b1e1c;if(_0x1e145b[_0x16c250(0x2f8)]===W[_0x16c250(0x312)]){if(_0x1e145b[_0x16c250(0x34f)][_0x16c250(0x2f2)]===E[_0x16c250(0xd1)][_0x16c250(0x2f3)]){this[_0x16c250(0x33a)](_0x59cca3,_0x1e145b[_0x16c250(0x34f)])['catch'](_0x2dc086=>{this['_logService']['error'](_0x2dc086),_0x167d64();});return;}if(_0x1e145b[_0x16c250(0x34f)][_0x16c250(0x2f2)]===E[_0x16c250(0xd1)][_0x16c250(0x157)]){const _0x3b64e3=_0x1e145b[_0x16c250(0x34f)];this[_0x16c250(0x2ad)](_0x3b64e3)[_0x16c250(0x230)](_0x320987=>{var _0x19d67e=_0x16c250;_0xe90f5a[_0x19d67e(0x402)]({'cmd':W[_0x19d67e(0x3ec)],'code':re['OK'],'routeKey':_0x3b64e3[_0x19d67e(0x34f)][_0x19d67e(0xcb)],'routeType':'','data':{'eventID':E[_0x19d67e(0xd1)][_0x19d67e(0x1c4)],'data':{'changesets':_0x320987}}});})[_0x16c250(0x2c8)](_0x128ba1=>{var _0x35c002=_0x16c250;this[_0x35c002(0x353)]['error'](_0x128ba1),_0x167d64();});return;}}_0x5e6723[_0x16c250(0x113)](mt(_0x1e145b));},'close':()=>{var _0xcdf074=_0x4b1e1c;_0x5e6723[_0xcdf074(0x331)](),_0x23069d[_0xcdf074(0xa8)]();}},_0x59cca3;}async[_0x33edf5(0x33a)](_0x54eaae,_0x2d43ac){var _0x4df329=_0x33edf5,_0x2c8792;const {unitType:_0x33aca7,unitID:_0x40924d,changeset:_0x337c3a}=_0x2d43ac[_0x4df329(0x34f)],_0xb3053b={'unitID':_0x40924d,'memberID':_0x54eaae[_0x4df329(0x23a)],'type':_0x33aca7,'changeset':E[_0x4df329(0x11c)](_0x337c3a)},_0x2af638=this[_0x4df329(0x2ba)]['getConfig'](Y),_0x29e6c7=ai((_0x2c8792=_0x2af638==null?void 0x0:_0x2af638['collabSubmitChangesetUrl'])!=null?_0x2c8792:kt,_0x33aca7,_0x40924d);try{await this['_httpService']['post'](_0x29e6c7,{'body':_0xb3053b});}catch(_0x260d39){throw this[_0x4df329(0x353)][_0x4df329(0x134)](_0x4df329(0x2dc),_0x4df329(0x171)),_0x260d39;}}async[_0x33edf5(0x2ad)](_0x4477c0){var _0x2a90e0=_0x33edf5;const {unitID:_0xd3aac9,from:_0x46ef1b,to:_0x589f80,unitType:_0x375a08}=_0x4477c0[_0x2a90e0(0x34f)];return(await this['_snapshotServerService'][_0x2a90e0(0x3c5)]({'metadata':void 0x0},{'unitID':_0xd3aac9,'type':_0x375a08,'from':_0x46ef1b,'to':_0x589f80}))['changesets'][_0x2a90e0(0x3b9)](_0x2b4aef=>((_0x2b4aef['mutations']===null||_0x2b4aef['mutations']===void 0x0)&&(_0x2b4aef[_0x2a90e0(0x14e)]=[]),_0x2b4aef));}},exports[_0x33edf5(0x23d)]=ri([he(0x0,o[_0x33edf5(0x348)](o[_0x33edf5(0x173)])),he(0x1,o[_0x33edf5(0x348)](K[_0x33edf5(0x93)])),he(0x2,o[_0x33edf5(0x37c)]),he(0x3,o[_0x33edf5(0x2e7)]),he(0x4,E['ISnapshotServerService'])],exports[_0x33edf5(0x23d)]);var oi=Object[_0x33edf5(0x8d)],ci=(_0x2a333f,_0x377e04,_0x1daa36,_0x39a6a5)=>{var _0xfec6d2=_0x33edf5;for(var _0x152c82=_0x39a6a5>0x1?void 0x0:_0x39a6a5?oi(_0x377e04,_0x1daa36):_0x377e04,_0x380f91=_0x2a333f[_0xfec6d2(0x182)]-0x1,_0x5aa864;_0x380f91>=0x0;_0x380f91--)(_0x5aa864=_0x2a333f[_0x380f91])&&(_0x152c82=_0x5aa864(_0x152c82)||_0x152c82);return _0x152c82;},_e=(_0x5a4579,_0x495f60)=>(_0x3af486,_0x572e45)=>_0x495f60(_0x3af486,_0x572e45,_0x5a4579);exports['CollaborationSessionService']=class extends o[_0x33edf5(0x16b)]{constructor(_0x34db72,_0x3b421,_0x5b25f5,_0x3607f7,_0x5cecf1,_0x20c301){var _0x1612e6=_0x33edf5;super(),A(this,_0x1612e6(0xc9),new j[(_0x1612e6(0x19d))](void 0x0)),A(this,'socket$',this[_0x1612e6(0xc9)][_0x1612e6(0x291)]()),A(this,'_candidateSocket',null),A(this,_0x1612e6(0x1c7),new Map()),A(this,_0x1612e6(0x407),new j['BehaviorSubject'](se[_0x1612e6(0x2a3)])),A(this,'status$',this[_0x1612e6(0x407)][_0x1612e6(0x291)]()),A(this,_0x1612e6(0x297),!0x1),A(this,_0x1612e6(0x37f)),A(this,'_retryCount',0x0),A(this,_0x1612e6(0x3bb)),A(this,_0x1612e6(0x3c9)),(this[_0x1612e6(0x1fe)]=_0x34db72,this[_0x1612e6(0x353)]=_0x3b421,this[_0x1612e6(0x2ba)]=_0x5b25f5,this['_socketService']=_0x3607f7,this[_0x1612e6(0x2aa)]=_0x5cecf1,this[_0x1612e6(0x9c)]=_0x20c301,this[_0x1612e6(0x25d)]());}get['_socket'](){var _0x307071=_0x33edf5;return this['_socket$'][_0x307071(0x167)]();}[_0x33edf5(0x25d)](){var _0x47a452=_0x33edf5;this[_0x47a452(0x9c)]&&this['disposeWithMe'](this['_networkConditionService'][_0x47a452(0x2c4)][_0x47a452(0x2cc)](_0x1031c4=>{var _0x5386d7=_0x47a452;_0x1031c4&&!this[_0x5386d7(0x1ab)]&&this[_0x5386d7(0x169)](),_0x1031c4||this['_onOffline']();}));}[_0x33edf5(0xa8)](){var _0x151384=_0x33edf5;super[_0x151384(0xa8)](),this[_0x151384(0x369)](),this[_0x151384(0xab)](),this[_0x151384(0x1e7)](),this['_sessions'][_0x151384(0x3f0)](_0x245703=>_0x245703[_0x151384(0xa8)]()),this[_0x151384(0x1c7)][_0x151384(0x193)](),this[_0x151384(0x407)]['complete']();}async[_0x33edf5(0x1b5)](_0x323563){var _0x267016=_0x33edf5;if(this['_sessions'][_0x267016(0x2ab)](_0x323563))return this[_0x267016(0x1c7)][_0x267016(0x3cc)](_0x323563);this[_0x267016(0x34a)]();const _0x34f2d9=this[_0x267016(0x1fe)][_0x267016(0xc4)](exports[_0x267016(0x16d)],_0x323563,this[_0x267016(0xc9)]['asObservable']());return this['_sessions']['set'](_0x323563,_0x34f2d9),_0x34f2d9;}[_0x33edf5(0xb6)](_0xff5eb9){var _0x2c2df3=_0x33edf5,_0x2165fe;const _0x46a127=this[_0x2c2df3(0x1c7)]['get'](_0xff5eb9);_0x46a127&&(this[_0x2c2df3(0x1c7)][_0x2c2df3(0x15b)](_0xff5eb9),_0x46a127[_0x2c2df3(0x331)]()),this['_sessions'][_0x2c2df3(0xd9)]||(_0x2165fe=this[_0x2c2df3(0x1ab)])==null||_0x2165fe[_0x2c2df3(0x331)]();}[_0x33edf5(0x169)](){var _0x387a03=_0x33edf5;this[_0x387a03(0x31b)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x387a03(0x1b0)]();}['_clearRetryConnectingTimer'](){var _0x2e4d38=_0x33edf5;this[_0x2e4d38(0x37f)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x2e4d38(0x37f)]=null);}async[_0x33edf5(0x202)](){var _0x143c7c=_0x33edf5,_0xe0d17;const _0x4b7013=this['_configService']['getConfig'](Y),_0x530338=(_0xe0d17=_0x4b7013==null?void 0x0:_0x4b7013['collabWebSocketUrl'])!=null?_0xe0d17:_t,_0x39471d=await this[_0x143c7c(0x33c)][_0x143c7c(0x3e6)](_0x530338);return this[_0x143c7c(0xe4)]=_0x39471d,_0x39471d;}async['_tryEnsureSocket'](){var _0x20a359=_0x33edf5,_0x55762b,_0x4d6dd9;try{const _0x292bd3=(_0x4d6dd9=(_0x55762b=this[_0x20a359(0x1ab)])!=null?_0x55762b:this[_0x20a359(0xe4)])!=null?_0x4d6dd9:await this[_0x20a359(0x202)]();if(_0x292bd3){const _0xe35650=_0x292bd3[_0x20a359(0x113)];_0x292bd3[_0x20a359(0x113)]=_0x5b51c4=>(this[_0x20a359(0xe9)](),_0xe35650['apply'](_0x292bd3,[_0x5b51c4])),_0x292bd3['message$']['subscribe'](_0xc7d320=>this[_0x20a359(0x12e)](_0x292bd3,_0xc7d320)),_0x292bd3['error$'][_0x20a359(0x10a)](V[_0x20a359(0x168)](0x1))[_0x20a359(0x2cc)](_0x4bac2a=>this[_0x20a359(0x353)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x4bac2a)),_0x292bd3[_0x20a359(0xfa)][_0x20a359(0x10a)](V[_0x20a359(0x168)](0x1))[_0x20a359(0x2cc)](()=>{var _0x2c0b6d=_0x20a359;this[_0x2c0b6d(0x213)](_0x292bd3);}),_0x292bd3[_0x20a359(0x114)][_0x20a359(0x10a)](V[_0x20a359(0x168)](0x1))[_0x20a359(0x2cc)](_0x64ee2b=>{var _0x13c92e=_0x20a359;this[_0x13c92e(0x353)]['debug']('[CollaborationSessionService]','socket\x20close',_0x64ee2b),this[_0x13c92e(0x3d0)]();});}}catch(_0x5a4cf5){this[_0x20a359(0x353)][_0x20a359(0x134)](_0x5a4cf5),this[_0x20a359(0x3d0)]();}}[_0x33edf5(0x213)](_0x495eb1){var _0x5a73fc=_0x33edf5;this[_0x5a73fc(0x353)][_0x5a73fc(0x38a)](_0x5a73fc(0x11f),_0x5a73fc(0x2ce)),_0x495eb1['send']({'cmd':W[_0x5a73fc(0x339)]}),this[_0x5a73fc(0xe9)]();}[_0x33edf5(0x214)](){var _0x4222ee=_0x33edf5;this[_0x4222ee(0x297)]=!0x1,this[_0x4222ee(0xe4)]=null,this[_0x4222ee(0x407)][_0x4222ee(0x402)](se[_0x4222ee(0xd8)]),this[_0x4222ee(0xc9)][_0x4222ee(0x402)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x33edf5(0x3d0)](){var _0x10788d=_0x33edf5,_0x4925e9;this['_onOffline'](),this[_0x10788d(0x31b)]<((_0x4925e9=this[_0x10788d(0x2ba)]['getConfig'](ut))!=null?_0x4925e9:Mt)?(this[_0x10788d(0x2aa)][_0x10788d(0x328)]({'id':J['SOCKET_FAILED_RETRY']}),this[_0x10788d(0x1b0)]()):this['_collaborationUIEventService'][_0x10788d(0x328)]({'id':J[_0x10788d(0x12f)]});}[_0x33edf5(0x1b0)](){var _0x4812af=_0x33edf5,_0x4cecbe;const _0x1d2d0b=this[_0x4812af(0x31b)],_0xa26e2a=this[_0x4812af(0x2ba)][_0x4812af(0x2d9)](Y),_0x4077c1=_0x1d2d0b===0x0?0x0:((_0x4cecbe=_0xa26e2a==null?void 0x0:_0xa26e2a[_0x4812af(0x3e5)])!=null?_0x4cecbe:Lt)*0x2**_0x1d2d0b;this['_retryConnectingTimer']=setTimeout(()=>{var _0x4a0fec=_0x4812af;clearTimeout(this[_0x4a0fec(0x37f)]),this[_0x4a0fec(0x37f)]=null,this['_tryEnsureSocket']();},_0x4077c1),this[_0x4812af(0x31b)]+=0x1;}[_0x33edf5(0x12e)](_0x39d854,_0xd14264){var _0x4a65a2=_0x33edf5;const {cmd:_0x3f9390}=_0xd14264;_0x3f9390===W['HELLO']&&!this[_0x4a65a2(0x297)]&&(_0x39d854[_0x4a65a2(0x23a)]=_0xd14264[_0x4a65a2(0x34f)][_0x4a65a2(0x23a)],this[_0x4a65a2(0xc9)]['next'](_0x39d854),this[_0x4a65a2(0x407)][_0x4a65a2(0x402)](se[_0x4a65a2(0x387)]),this['_socketReady']=!0x0,this[_0x4a65a2(0xe4)]=null),_0x3f9390===W[_0x4a65a2(0x1a8)]&&this[_0x4a65a2(0xab)](),this[_0x4a65a2(0xe9)]();}[_0x33edf5(0xe9)](){var _0x15e0ff=_0x33edf5,_0x14c278;this['_clearHeartbeatTimer'](),this[_0x15e0ff(0x3bb)]=setTimeout(()=>this[_0x15e0ff(0x32c)](),(_0x14c278=this[_0x15e0ff(0x2ba)][_0x15e0ff(0x2d9)](ht))!=null?_0x14c278:Pt);}[_0x33edf5(0x32c)](){var _0x4acb1f=_0x33edf5;this[_0x4acb1f(0x1ab)][_0x4acb1f(0x113)]({'cmd':W[_0x4acb1f(0x1a8)]}),this[_0x4acb1f(0x22c)]();}[_0x33edf5(0x22c)](){var _0x51fc72=_0x33edf5,_0x299356;this[_0x51fc72(0x3c9)]=setTimeout(()=>this[_0x51fc72(0x3d0)](),(_0x299356=this[_0x51fc72(0x2ba)][_0x51fc72(0x2d9)](ke))!=null?_0x299356:lt);}['_clearHeartbeatTimer'](){var _0x485e85=_0x33edf5;this[_0x485e85(0x3bb)]!=null&&(clearTimeout(this[_0x485e85(0x3bb)]),this[_0x485e85(0x3bb)]=null);}[_0x33edf5(0xab)](){var _0x3eba82=_0x33edf5;this[_0x3eba82(0x3c9)]!=null&&(clearTimeout(this[_0x3eba82(0x3c9)]),this[_0x3eba82(0x3c9)]=null);}},exports[_0x33edf5(0x343)]=ci([_e(0x0,o[_0x33edf5(0x348)](o[_0x33edf5(0x173)])),_e(0x1,o[_0x33edf5(0x2e7)]),_e(0x2,o[_0x33edf5(0x37c)]),_e(0x3,Fe),_e(0x4,o[_0x33edf5(0x348)](ee)),_e(0x5,o[_0x33edf5(0x370)](Et))],exports[_0x33edf5(0x343)]);var _i=Object[_0x33edf5(0x8d)],hi=(_0x2b3478,_0x3e3edc,_0x2c3129,_0x3f723a)=>{var _0x1fef3d=_0x33edf5;for(var _0x35423d=_0x3f723a>0x1?void 0x0:_0x3f723a?_i(_0x3e3edc,_0x2c3129):_0x3e3edc,_0x2ab9a3=_0x2b3478[_0x1fef3d(0x182)]-0x1,_0x519890;_0x2ab9a3>=0x0;_0x2ab9a3--)(_0x519890=_0x2b3478[_0x2ab9a3])&&(_0x35423d=_0x519890(_0x35423d)||_0x35423d);return _0x35423d;},Se=(_0x2c98df,_0x5c449b)=>(_0x394490,_0x31a64b)=>_0x5c449b(_0x394490,_0x31a64b,_0x2c98df);exports[_0x33edf5(0x3ad)]=class extends o['RxDisposable']{constructor(_0x225a87,_0x1b1c17,_0x23eb90,_0x5bb464){var _0x3d3451=_0x33edf5,_0x31737d;super(),A(this,_0x3d3451(0x24c),new Map()),A(this,'_entityInit$',new j[(_0x3d3451(0xef))]()),A(this,_0x3d3451(0x18d),this['_entityInit$'][_0x3d3451(0x291)]()),(this[_0x3d3451(0x1fe)]=_0x225a87,this[_0x3d3451(0x1d0)]=_0x1b1c17,this[_0x3d3451(0x2ba)]=_0x23eb90,this['_univerInstanceService']=_0x5bb464,((_0x31737d=this[_0x3d3451(0x2ba)]['getConfig'](Y))==null?void 0x0:_0x31737d[_0x3d3451(0x1f1)])!==!0x1&&this['_init']());}[_0x33edf5(0xa8)](){var _0x4c72db=_0x33edf5;super['dispose'](),this[_0x4c72db(0x24c)][_0x4c72db(0x3f0)](_0x3d93bb=>_0x3d93bb[_0x4c72db(0xa8)]()),this[_0x4c72db(0x24c)][_0x4c72db(0x193)]();}[_0x33edf5(0x360)](_0x23268d){var _0x48b4ec=_0x33edf5,_0x4bc18f;return(_0x4bc18f=this['_entities'][_0x48b4ec(0x3cc)](_0x23268d))!=null?_0x4bc18f:null;}[_0x33edf5(0x89)](_0x3c1299){var _0x4eda66=_0x33edf5;const _0x15120f=this[_0x4eda66(0x360)](_0x3c1299);return _0x15120f?j['of'](_0x15120f):this['_entityInit$'][_0x4eda66(0x10a)](V['filter'](_0xe93870=>_0xe93870['unitID']===_0x3c1299));}[_0x33edf5(0x235)](_0x596792){var _0x507e8f=_0x33edf5;return j[_0x507e8f(0x378)](this['getCollabEntity$'](_0x596792)[_0x507e8f(0x10a)](V[_0x507e8f(0x3b9)](()=>{})));}[_0x33edf5(0x1e2)](){var _0x16f400=_0x33edf5;this[_0x16f400(0x82)][_0x16f400(0x3b3)](o[_0x16f400(0x302)][_0x16f400(0x290)])[_0x16f400(0x10a)](j[_0x16f400(0x28c)](this['dispose$']),V[_0x16f400(0x1a4)](0x10))[_0x16f400(0x2cc)](async _0x32721a=>{var _0xc955da=_0x16f400;const _0x38ac0f=_0x32721a[_0xc955da(0xe0)](),_0x26f890=await this['_startCollaboration'](_0x38ac0f,X['UNIVER_SHEET']);this['_entities'][_0xc955da(0x18b)](_0x38ac0f,_0x26f890);}),this[_0x16f400(0x82)][_0x16f400(0x3b3)](o[_0x16f400(0x302)][_0x16f400(0x317)])['pipe'](j[_0x16f400(0x28c)](this[_0x16f400(0x149)]),V['delay'](0x10))['pipe'](V[_0x16f400(0x261)](_0x311aae=>!_0x311aae[_0x16f400(0xe0)]()[_0x16f400(0x1da)]('__')))[_0x16f400(0x2cc)](async _0xbff64c=>{var _0x296685=_0x16f400;const _0x24ae68=_0xbff64c[_0x296685(0xe0)](),_0x1520a3=await this['_startCollaboration'](_0x24ae68,X[_0x296685(0x317)]);this[_0x296685(0x24c)][_0x296685(0x18b)](_0x24ae68,_0x1520a3);}),j[_0x16f400(0x22d)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](o[_0x16f400(0x302)][_0x16f400(0x290)]),this[_0x16f400(0x82)][_0x16f400(0x153)](o[_0x16f400(0x302)][_0x16f400(0x317)]))['pipe'](j[_0x16f400(0x28c)](this[_0x16f400(0x149)]))[_0x16f400(0x2cc)](_0x490af8=>{var _0x6e4343=_0x16f400;const _0x2b0e59=_0x490af8[_0x6e4343(0xe0)](),_0x5cd781=this[_0x6e4343(0x24c)][_0x6e4343(0x3cc)](_0x2b0e59);_0x5cd781&&(_0x5cd781[_0x6e4343(0xa8)](),this[_0x6e4343(0x24c)][_0x6e4343(0x15b)](_0x2b0e59));});}async['_startCollaboration'](_0x2fb9dd,_0x10cc03){var _0x4845a3=_0x33edf5;const _0x54d3c5=await this[_0x4845a3(0x1d0)]['requireSession'](_0x2fb9dd),_0x11b5ad=this['_injector'][_0x4845a3(0xc4)](this[_0x4845a3(0x131)](_0x10cc03),_0x2fb9dd,_0x10cc03,_0x54d3c5);return await _0x11b5ad['init'](),this[_0x4845a3(0x139)][_0x4845a3(0x402)](_0x11b5ad),_0x11b5ad;}[_0x33edf5(0x131)](_0x3d8fb3){var _0x4104ac=_0x33edf5;switch(_0x3d8fb3){case X[_0x4104ac(0x317)]:return exports[_0x4104ac(0x3a4)];case X[_0x4104ac(0x290)]:return exports[_0x4104ac(0x14c)];default:throw new Error(_0x4104ac(0x20c)+_0x3d8fb3);}}},exports[_0x33edf5(0x3ad)]=hi([Se(0x0,o[_0x33edf5(0x348)](o['Injector'])),Se(0x1,o['Inject'](exports[_0x33edf5(0x343)])),Se(0x2,o[_0x33edf5(0x37c)]),Se(0x3,o[_0x33edf5(0x2c1)])],exports[_0x33edf5(0x3ad)]);var li=Object[_0x33edf5(0x8d)],ui=(_0x21bdfe,_0xde5804,_0x4a87ae,_0x4a40fd)=>{for(var _0x42af23=_0x4a40fd>0x1?void 0x0:_0x4a40fd?li(_0xde5804,_0x4a87ae):_0xde5804,_0x5b6b5a=_0x21bdfe['length']-0x1,_0x4c4a8c;_0x5b6b5a>=0x0;_0x5b6b5a--)(_0x4c4a8c=_0x21bdfe[_0x5b6b5a])&&(_0x42af23=_0x4c4a8c(_0x42af23)||_0x42af23);return _0x42af23;},Ye=(_0x201d33,_0x34c881)=>(_0x22190c,_0x2e2489)=>_0x34c881(_0x22190c,_0x2e2489,_0x201d33);const vi=_0x33edf5(0x31e),di=_0x33edf5(0x3bd);let xe=class extends o['Disposable']{constructor(_0x5b5909,_0x2ed829){var _0x3a0cdb=_0x33edf5;super(),this['_univerInstanceService']=_0x5b5909,this[_0x3a0cdb(0x2ba)]=_0x2ed829,this[_0x3a0cdb(0x1e2)]();}[_0x33edf5(0x1e2)](){var _0xbe1931=_0x33edf5;this[_0xbe1931(0x1be)](this['_univerInstanceService'][_0xbe1931(0x2fc)][_0xbe1931(0x2cc)](()=>{var _0x380ca7=_0xbe1931,_0x36e962;const _0x461d74=this[_0x380ca7(0x82)][_0x380ca7(0x1b8)]();let _0x3c503a=(_0x36e962=this[_0x380ca7(0x2ba)]['getConfig'](vi))!=null?_0x36e962:di;_0x461d74 instanceof o['Workbook']&&(_0x3c503a=_0x461d74[_0x380ca7(0x16c)]),document[_0x380ca7(0x311)]=_0x3c503a;}));}};xe=ui([Ye(0x0,o[_0x33edf5(0x2c1)]),Ye(0x1,o[_0x33edf5(0x37c)])],xe);var Si=Object['getOwnPropertyDescriptor'],Ii=(_0xf8f8af,_0x4d4621,_0x4eab09,_0x17aeb0)=>{var _0x17fd66=_0x33edf5;for(var _0x514b28=_0x17aeb0>0x1?void 0x0:_0x17aeb0?Si(_0x4d4621,_0x4eab09):_0x4d4621,_0x55f514=_0xf8f8af[_0x17fd66(0x182)]-0x1,_0x79d35e;_0x55f514>=0x0;_0x55f514--)(_0x79d35e=_0xf8f8af[_0x55f514])&&(_0x514b28=_0x79d35e(_0x514b28)||_0x514b28);return _0x514b28;},Ae=(_0x1271d6,_0x2deffe)=>(_0x291f3a,_0x473566)=>_0x2deffe(_0x291f3a,_0x473566,_0x1271d6);let Ne=class{constructor(_0x3f517f,_0x56d77f,_0x1eabbe){var _0x552a1e=_0x33edf5;this[_0x552a1e(0x2ba)]=_0x3f517f,this[_0x552a1e(0x1cd)]=_0x56d77f,this[_0x552a1e(0x35f)]=_0x1eabbe,this[_0x552a1e(0x112)]();}[_0x33edf5(0x112)](){var _0x26c2f9=_0x33edf5;this[_0x26c2f9(0x1cd)][_0x26c2f9(0x253)]({'priority':0x1,'interceptor':(_0x5bbb1b,_0x17383f)=>_0x17383f(_0x5bbb1b)['pipe'](j['concatMap'](async _0x24e85b=>{var _0x317353=_0x26c2f9;const _0x906d1c=_0x24e85b;if(_0x906d1c[_0x317353(0x3b5)]===0x191){if(typeof window>'u')throw new Error(_0x317353(0x1c5));if(window['confirm'](this[_0x317353(0x35f)]['t']('auth.needGotoLoginAlert'))){const _0x1bca8a=window[_0x317353(0x2e0)](window[_0x317353(0x23e)][_0x317353(0x227)]);window[_0x317353(0x23e)]['href']=this[_0x317353(0x34b)]()+'?url='+_0x1bca8a;}}return _0x906d1c;}))});}[_0x33edf5(0x34b)](){var _0x256abd=_0x33edf5,_0x4d79e2;const _0x32fbe5=this[_0x256abd(0x2ba)][_0x256abd(0x2d9)](Y);return(_0x4d79e2=_0x32fbe5==null?void 0x0:_0x32fbe5[_0x256abd(0xb0)])!=null?_0x4d79e2:$t;}};Ne=Ii([Ae(0x0,o[_0x33edf5(0x37c)]),Ae(0x1,o['Inject'](K[_0x33edf5(0x93)])),Ae(0x2,o[_0x33edf5(0x348)](o[_0x33edf5(0x2e3)]))],Ne);var fi=Object[_0x33edf5(0x8d)],Ei=(_0x7a134c,_0x2b02d6,_0x4f43b9,_0x113d4b)=>{var _0x4c734e=_0x33edf5;for(var _0x457fad=_0x113d4b>0x1?void 0x0:_0x113d4b?fi(_0x2b02d6,_0x4f43b9):_0x2b02d6,_0x3367cc=_0x7a134c[_0x4c734e(0x182)]-0x1,_0x1d77fb;_0x3367cc>=0x0;_0x3367cc--)(_0x1d77fb=_0x7a134c[_0x3367cc])&&(_0x457fad=_0x1d77fb(_0x457fad)||_0x457fad);return _0x457fad;},Ke=(_0xf346ee,_0x205ef9)=>(_0x28898e,_0x2afc34)=>_0x205ef9(_0x28898e,_0x2afc34,_0xf346ee);const pi=_0x33edf5(0x362);exports[_0x33edf5(0x1a6)]=class extends o[_0x33edf5(0x16b)]{constructor(_0x33e2cb,_0x575b54){var _0x2e50ad=_0x33edf5;super(),this[_0x2e50ad(0x1fd)]=_0x33e2cb,this[_0x2e50ad(0x2ba)]=_0x575b54,this['_initMergeInterceptor']();}[_0x33edf5(0x2a9)](){var _0x2aa1ed=_0x33edf5;const _0x3d24ee=this;this[_0x2aa1ed(0x1be)](this[_0x2aa1ed(0x1fd)][_0x2aa1ed(0x253)]({'priority':0x3e7,'interceptor':K[_0x2aa1ed(0x2cb)]({'isMatch'(_0x31c3ae){var _0xdda989=_0x2aa1ed,_0x185173;if(_0x31c3ae[_0xdda989(0x83)]==='POST'&&((_0x185173=_0x31c3ae[_0xdda989(0x1ec)])!=null&&_0x185173[_0xdda989(0x3f6)])){const {objectID:_0x3dea75,objectType:_0x310c30}=_0x31c3ae['requestParams'][_0xdda989(0x3f6)]||{};if(!_0x3dea75||_0x310c30===void 0x0)return!0x1;const _0x243975=_0x3d24ee[_0xdda989(0x17e)]()+'/'+_0x310c30+_0xdda989(0x382)+_0x3dea75+_0xdda989(0x3f1);if(_0x31c3ae[_0xdda989(0x128)]===_0x243975)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1104ae){var _0x5bf974=_0x2aa1ed,_0x23520a;return(_0x23520a=_0x1104ae[_0x5bf974(0x1ec)])==null?void 0x0:_0x23520a[_0x5bf974(0x3f6)];},'mergeParamsToRequest'(_0x11fa46,_0x36bb71){var _0x1e738a=_0x2aa1ed;const _0x47d1d3=_0x3d24ee[_0x1e738a(0x17e)]()+_0x1e738a(0x3ac),_0x208859=_0x11fa46['reduce']((_0x2c27a6,_0x110748)=>{var _0x348b50=_0x1e738a;const {unitID:_0x2d2d0d,objectID:_0x252951,objectType:_0x4d41e1,actions:_0x1931d9}=_0x110748;return _0x2c27a6[_0x2d2d0d]||(_0x2c27a6[_0x2d2d0d]={}),_0x2c27a6[_0x2d2d0d][_0x252951]||(_0x2c27a6[_0x2d2d0d][_0x252951]={'objectID':_0x252951,'objectType':_0x4d41e1,'actions':[]}),_0x2c27a6[_0x2d2d0d][_0x252951][_0x348b50(0x133)][_0x348b50(0x38d)](..._0x1931d9),_0x2c27a6;},{}),_0xfdc6e3=[];for(const _0x240d85 in _0x208859)for(const _0x3a3cf7 in _0x208859[_0x240d85]){const {actions:_0x3c6676,objectType:_0x22d8fd}=_0x208859[_0x240d85][_0x3a3cf7],_0xfc83f=[...new Set(_0x3c6676)];_0xfdc6e3['push']({'unitID':_0x240d85,'objectID':_0x3a3cf7,'objectType':_0x22d8fd,'actions':_0xfc83f});}return new K[(_0x1e738a(0x274))](_0x1e738a(0x1bc),_0x47d1d3,{'headers':_0x36bb71[_0x1e738a(0xdb)],'withCredentials':_0x36bb71[_0x1e738a(0xa5)],'responseType':_0x36bb71[_0x1e738a(0x10f)],'body':{'requests':_0xfdc6e3}});}},{'distributeResult'(_0x2ac216,_0x4e8ec6){var _0x190191=_0x2aa1ed;const {objectActions:_0x39afd7}=_0x2ac216;return _0x4e8ec6[_0x190191(0x3b9)](_0xc7047a=>{var _0x4bc9be=_0x190191;const {unitID:_0x1c07db,objectID:_0xa7b9a3,actions:_0x55f874}=_0xc7047a,_0x432f15=_0x39afd7['find'](_0x5dd8c6=>_0x5dd8c6[_0x4bc9be(0xcb)]===_0x1c07db&&_0x5dd8c6[_0x4bc9be(0x1e0)]===_0xa7b9a3),_0x5f2537=_0x55f874[_0x4bc9be(0x3b9)](_0x4b3df3=>_0x432f15==null?void 0x0:_0x432f15['actions'][_0x4bc9be(0xaf)](_0x3f7ad0=>_0x3f7ad0[_0x4bc9be(0x158)]===_0x4b3df3))[_0x4bc9be(0x261)](_0x414178=>!!_0x414178);return{'config':_0xc7047a,'result':{'actions':_0x5f2537,'error':_0x2ac216['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x390d48=_0x33edf5,_0x45aa87;const _0x2b7f29=this[_0x390d48(0x2ba)][_0x390d48(0x2d9)](Y);return(_0x45aa87=_0x2b7f29==null?void 0x0:_0x2b7f29[_0x390d48(0x1ef)])!=null?_0x45aa87:pi;}async['create'](_0x51598d){var _0x13fb5b=_0x33edf5;const _0x5e45d5=this[_0x13fb5b(0x17e)]()+'/'+_0x51598d[_0x13fb5b(0x347)]+_0x13fb5b(0x26e);return(await this[_0x13fb5b(0x1fd)][_0x13fb5b(0x8e)](_0x5e45d5,{'body':_0x51598d}))[_0x13fb5b(0x3f6)][_0x13fb5b(0x1e0)]||'';}async[_0x33edf5(0x3bc)](_0x32e7ec){var _0x300f05=_0x33edf5;const _0x2020de=this[_0x300f05(0x17e)]()+'/-/object/list';return(await this['_HTTPService'][_0x300f05(0x8e)](_0x2020de,{'body':_0x32e7ec}))['body'][_0x300f05(0xa4)];}async['update'](_0x43940f){var _0x31c8c3=_0x33edf5,_0x443d1d,_0x3b48c3;const _0x1e5882=this[_0x31c8c3(0x17e)]()+'/'+_0x43940f[_0x31c8c3(0x347)]+_0x31c8c3(0x382)+_0x43940f[_0x31c8c3(0x1e0)],_0x223391=await this['_HTTPService'][_0x31c8c3(0x3b7)](_0x1e5882,{'body':_0x43940f});if(((_0x3b48c3=(_0x443d1d=_0x223391==null?void 0x0:_0x223391[_0x31c8c3(0x3f6)])==null?void 0x0:_0x443d1d['error'])==null?void 0x0:_0x3b48c3[_0x31c8c3(0xe8)])!==0x1)throw new Error(_0x31c8c3(0x26c));}async[_0x33edf5(0x25e)](_0x5ba64a){var _0x16b62b=_0x33edf5;const _0xaa0457=this[_0x16b62b(0x17e)]()+'/'+_0x5ba64a['objectType']+_0x16b62b(0x382)+_0x5ba64a[_0x16b62b(0x1e0)]+_0x16b62b(0x3f1);return(await this[_0x16b62b(0x1fd)][_0x16b62b(0x8e)](_0xaa0457,{'body':_0x5ba64a}))['body'][_0x16b62b(0x133)];}async['batchAllowed'](_0x2e0709){var _0x887f75=_0x33edf5;const _0x1f64dd=this[_0x887f75(0x17e)]()+'/-/object/-/batch_allowed';return(await this[_0x887f75(0x1fd)][_0x887f75(0x8e)](_0x1f64dd,{'body':{'requests':_0x2e0709}}))[_0x887f75(0x3f6)]['objectActions'];}async[_0x33edf5(0x2d7)](_0x4e833a){var _0x441f75=_0x33edf5;const _0x1b1aad=this[_0x441f75(0x17e)]()+'/'+_0x4e833a[_0x441f75(0x347)]+_0x441f75(0x28b),_0x448ece=await this[_0x441f75(0x1fd)][_0x441f75(0x8e)](_0x1b1aad,{'body':_0x4e833a});return{'roles':_0x448ece[_0x441f75(0x3f6)][_0x441f75(0x351)],'actions':_0x448ece['body'][_0x441f75(0x133)]};}async[_0x33edf5(0x34d)](_0x2787fd){var _0xaa92ab=_0x33edf5;const _0x32b325=this['_getAPIPrefixPath']()+_0xaa92ab(0x1eb);await this[_0xaa92ab(0x1fd)]['delete'](_0x32b325,{'params':{'collaboratorID':_0x2787fd[_0xaa92ab(0x38e)],'objectID':_0x2787fd['objectID'],'unitID':_0x2787fd[_0xaa92ab(0xcb)]}});}async['updateCollaborator'](_0x67e958){const _0x45b5ce=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService']['patch'](_0x45b5ce,{'body':_0x67e958});}async[_0x33edf5(0x11e)](_0x5d7996){var _0x23ac30=_0x33edf5;const _0x163d8d=this['_getAPIPrefixPath']()+_0x23ac30(0x1eb);await this[_0x23ac30(0x1fd)][_0x23ac30(0x8e)](_0x163d8d,{'body':_0x5d7996});}async[_0x33edf5(0x366)](_0x209322){var _0x30a8f3=_0x33edf5;const _0x57dc29=this[_0x30a8f3(0x17e)]()+_0x30a8f3(0x1eb);return(await this[_0x30a8f3(0x1fd)][_0x30a8f3(0x3cc)](_0x57dc29,{'params':{'objectID':_0x209322[_0x30a8f3(0x1e0)],'unitID':_0x209322['unitID']}}))[_0x30a8f3(0x3f6)][_0x30a8f3(0x181)];}async['putCollaborators'](_0x112c5d){var _0x28654f=_0x33edf5;const _0x2f9b3a=this[_0x28654f(0x17e)]()+_0x28654f(0x1eb);await this[_0x28654f(0x1fd)][_0x28654f(0x3b7)](_0x2f9b3a,{'body':_0x112c5d});}},exports[_0x33edf5(0x1a6)]=Ei([Ke(0x0,o[_0x33edf5(0x348)](K[_0x33edf5(0x93)])),Ke(0x1,o[_0x33edf5(0x348)](o[_0x33edf5(0x37c)]))],exports['AuthzIoHttpService']);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function de(_0x523a70){var _0x4f7491=_0x33edf5;return _0x523a70&&_0x523a70[_0x4f7491(0xd7)]&&Object['prototype'][_0x4f7491(0x19e)][_0x4f7491(0x38c)](_0x523a70,_0x4f7491(0x398))?_0x523a70[_0x4f7491(0x398)]:_0x523a70;}var Ie={'exports':{}};function mi(_0x1db643){var _0x375403=_0x33edf5;throw new Error(_0x375403(0x285)+_0x1db643+_0x375403(0x80));}var fe={'exports':{}},gi=fe[_0x33edf5(0xc5)],qe;function Z(){var _0x3f8e4f=_0x33edf5;return qe||(qe=0x1,function(_0x5eda46,_0x4e2c38){(function(_0xf0f623,_0xf2217a){var _0x55625c=_0x5256;_0x5eda46[_0x55625c(0xc5)]=_0xf2217a();}(gi,function(){var _0xcbaba1=_0xcbaba1||function(_0x1ace2e,_0x3d7e87){var _0x5b148=_0x5256,_0x3cc241;if(typeof window<'u'&&window['crypto']&&(_0x3cc241=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x3cc241=self[_0x5b148(0x3d9)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x3cc241=globalThis[_0x5b148(0x3d9)]),!_0x3cc241&&typeof window<'u'&&window['msCrypto']&&(_0x3cc241=window[_0x5b148(0x189)]),!_0x3cc241&&typeof Pe<'u'&&Pe[_0x5b148(0x3d9)]&&(_0x3cc241=Pe[_0x5b148(0x3d9)]),!_0x3cc241&&typeof mi==_0x5b148(0x92))try{_0x3cc241=require('crypto');}catch{}var _0x444bc8=function(){var _0x11ff31=_0x5b148;if(_0x3cc241){if(typeof _0x3cc241[_0x11ff31(0x266)]==_0x11ff31(0x92))try{return _0x3cc241['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3cc241[_0x11ff31(0x10c)]==_0x11ff31(0x92))try{return _0x3cc241['randomBytes'](0x4)[_0x11ff31(0x350)]();}catch{}}throw new Error(_0x11ff31(0xbb));},_0x2204ab=Object[_0x5b148(0x3e3)]||(function(){function _0x170cfc(){}return function(_0x3d4be1){var _0xeaf441=_0x5256,_0x5029ae;return _0x170cfc[_0xeaf441(0x300)]=_0x3d4be1,_0x5029ae=new _0x170cfc(),_0x170cfc[_0xeaf441(0x300)]=null,_0x5029ae;};}()),_0x46e617={},_0x5ca5fd=_0x46e617['lib']={},_0x44a9e0=_0x5ca5fd[_0x5b148(0xbd)]=(function(){return{'extend':function(_0x1b139d){var _0x123a67=_0x5256,_0x24351d=_0x2204ab(this);return _0x1b139d&&_0x24351d[_0x123a67(0x3a5)](_0x1b139d),(!_0x24351d[_0x123a67(0x19e)](_0x123a67(0x112))||this[_0x123a67(0x112)]===_0x24351d['init'])&&(_0x24351d['init']=function(){var _0x4449e1=_0x123a67;_0x24351d[_0x4449e1(0x3c1)]['init']['apply'](this,arguments);}),_0x24351d[_0x123a67(0x112)]['prototype']=_0x24351d,_0x24351d['$super']=this,_0x24351d;},'create':function(){var _0x3e7283=_0x5256,_0x382f21=this[_0x3e7283(0x299)]();return _0x382f21['init'][_0x3e7283(0x39e)](_0x382f21,arguments),_0x382f21;},'init':function(){},'mixIn':function(_0x34ce39){var _0x5b4478=_0x5256;for(var _0x5b1c2d in _0x34ce39)_0x34ce39['hasOwnProperty'](_0x5b1c2d)&&(this[_0x5b1c2d]=_0x34ce39[_0x5b1c2d]);_0x34ce39['hasOwnProperty'](_0x5b4478(0x1ba))&&(this[_0x5b4478(0x1ba)]=_0x34ce39['toString']);},'clone':function(){var _0x18da9b=_0x5256;return this[_0x18da9b(0x112)][_0x18da9b(0x300)][_0x18da9b(0x299)](this);}};}()),_0x1cc313=_0x5ca5fd['WordArray']=_0x44a9e0[_0x5b148(0x299)]({'init':function(_0x2e2d8f,_0x45a63b){var _0x4aab3c=_0x5b148;_0x2e2d8f=this['words']=_0x2e2d8f||[],_0x45a63b!=_0x3d7e87?this[_0x4aab3c(0x39d)]=_0x45a63b:this[_0x4aab3c(0x39d)]=_0x2e2d8f[_0x4aab3c(0x182)]*0x4;},'toString':function(_0x5c2ab0){var _0x1f3939=_0x5b148;return(_0x5c2ab0||_0x2e3c63)[_0x1f3939(0x16f)](this);},'concat':function(_0x56db72){var _0x2cb69c=_0x5b148,_0x493747=this[_0x2cb69c(0x36b)],_0x22e57a=_0x56db72['words'],_0x3c2a59=this['sigBytes'],_0x19a8d0=_0x56db72['sigBytes'];if(this[_0x2cb69c(0x3a3)](),_0x3c2a59%0x4)for(var _0x20cf1a=0x0;_0x20cf1a<_0x19a8d0;_0x20cf1a++){var _0x1c0527=_0x22e57a[_0x20cf1a>>>0x2]>>>0x18-_0x20cf1a%0x4*0x8&0xff;_0x493747[_0x3c2a59+_0x20cf1a>>>0x2]|=_0x1c0527<<0x18-(_0x3c2a59+_0x20cf1a)%0x4*0x8;}else{for(var _0x1a7aac=0x0;_0x1a7aac<_0x19a8d0;_0x1a7aac+=0x4)_0x493747[_0x3c2a59+_0x1a7aac>>>0x2]=_0x22e57a[_0x1a7aac>>>0x2];}return this[_0x2cb69c(0x39d)]+=_0x19a8d0,this;},'clamp':function(){var _0x144248=_0x5b148,_0x12139c=this[_0x144248(0x36b)],_0x2fea1f=this[_0x144248(0x39d)];_0x12139c[_0x2fea1f>>>0x2]&=0xffffffff<<0x20-_0x2fea1f%0x4*0x8,_0x12139c[_0x144248(0x182)]=_0x1ace2e[_0x144248(0xf8)](_0x2fea1f/0x4);},'clone':function(){var _0x2155d4=_0x5b148,_0x666afc=_0x44a9e0['clone'][_0x2155d4(0x38c)](this);return _0x666afc[_0x2155d4(0x36b)]=this[_0x2155d4(0x36b)][_0x2155d4(0x3c7)](0x0),_0x666afc;},'random':function(_0x24c8aa){var _0x35fd84=_0x5b148;for(var _0xb4e94e=[],_0x33ddab=0x0;_0x33ddab<_0x24c8aa;_0x33ddab+=0x4)_0xb4e94e[_0x35fd84(0x38d)](_0x444bc8());return new _0x1cc313[(_0x35fd84(0x112))](_0xb4e94e,_0x24c8aa);}}),_0x16d709=_0x46e617[_0x5b148(0x3ce)]={},_0x2e3c63=_0x16d709['Hex']={'stringify':function(_0x4b4a71){var _0x4af748=_0x5b148;for(var _0x36182d=_0x4b4a71[_0x4af748(0x36b)],_0xf4683=_0x4b4a71[_0x4af748(0x39d)],_0x1829b3=[],_0x445350=0x0;_0x445350<_0xf4683;_0x445350++){var _0x27f63f=_0x36182d[_0x445350>>>0x2]>>>0x18-_0x445350%0x4*0x8&0xff;_0x1829b3['push']((_0x27f63f>>>0x4)['toString'](0x10)),_0x1829b3[_0x4af748(0x38d)]((_0x27f63f&0xf)['toString'](0x10));}return _0x1829b3[_0x4af748(0x36f)]('');},'parse':function(_0x5d2338){var _0x2e6bf2=_0x5b148;for(var _0x57756e=_0x5d2338[_0x2e6bf2(0x182)],_0x21a5d7=[],_0x235238=0x0;_0x235238<_0x57756e;_0x235238+=0x2)_0x21a5d7[_0x235238>>>0x3]|=parseInt(_0x5d2338[_0x2e6bf2(0x17b)](_0x235238,0x2),0x10)<<0x18-_0x235238%0x8*0x4;return new _0x1cc313[(_0x2e6bf2(0x112))](_0x21a5d7,_0x57756e/0x2);}},_0x33df12=_0x16d709['Latin1']={'stringify':function(_0x2e79ad){var _0x396d1d=_0x5b148;for(var _0x1c5a4e=_0x2e79ad[_0x396d1d(0x36b)],_0x5c348e=_0x2e79ad[_0x396d1d(0x39d)],_0x476b17=[],_0x3baaf0=0x0;_0x3baaf0<_0x5c348e;_0x3baaf0++){var _0x1374f1=_0x1c5a4e[_0x3baaf0>>>0x2]>>>0x18-_0x3baaf0%0x4*0x8&0xff;_0x476b17['push'](String[_0x396d1d(0xd5)](_0x1374f1));}return _0x476b17[_0x396d1d(0x36f)]('');},'parse':function(_0x3825ce){var _0x10cc6d=_0x5b148;for(var _0x5a1ad9=_0x3825ce[_0x10cc6d(0x182)],_0x298f5f=[],_0x25f457=0x0;_0x25f457<_0x5a1ad9;_0x25f457++)_0x298f5f[_0x25f457>>>0x2]|=(_0x3825ce[_0x10cc6d(0xa3)](_0x25f457)&0xff)<<0x18-_0x25f457%0x4*0x8;return new _0x1cc313[(_0x10cc6d(0x112))](_0x298f5f,_0x5a1ad9);}},_0x2e3b66=_0x16d709[_0x5b148(0x2e6)]={'stringify':function(_0x3890d7){try{return decodeURIComponent(escape(_0x33df12['stringify'](_0x3890d7)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x8262d1){return _0x33df12['parse'](unescape(encodeURIComponent(_0x8262d1)));}},_0x1b02f0=_0x5ca5fd[_0x5b148(0x2a8)]=_0x44a9e0['extend']({'reset':function(){var _0x486524=_0x5b148;this[_0x486524(0x251)]=new _0x1cc313['init'](),this[_0x486524(0x247)]=0x0;},'_append':function(_0x47cbac){var _0x17a3c3=_0x5b148;typeof _0x47cbac==_0x17a3c3(0x35b)&&(_0x47cbac=_0x2e3b66[_0x17a3c3(0x218)](_0x47cbac)),this[_0x17a3c3(0x251)][_0x17a3c3(0x111)](_0x47cbac),this[_0x17a3c3(0x247)]+=_0x47cbac['sigBytes'];},'_process':function(_0x11384d){var _0x27b543=_0x5b148,_0x3e231f,_0x1f2e8e=this[_0x27b543(0x251)],_0x1184e8=_0x1f2e8e[_0x27b543(0x36b)],_0x46692a=_0x1f2e8e['sigBytes'],_0xf05656=this[_0x27b543(0x392)],_0x157d40=_0xf05656*0x4,_0x5e9d4c=_0x46692a/_0x157d40;_0x11384d?_0x5e9d4c=_0x1ace2e[_0x27b543(0xf8)](_0x5e9d4c):_0x5e9d4c=_0x1ace2e[_0x27b543(0x127)]((_0x5e9d4c|0x0)-this[_0x27b543(0x225)],0x0);var _0x43cab9=_0x5e9d4c*_0xf05656,_0x5c66ea=_0x1ace2e[_0x27b543(0x2ef)](_0x43cab9*0x4,_0x46692a);if(_0x43cab9){for(var _0x4019d7=0x0;_0x4019d7<_0x43cab9;_0x4019d7+=_0xf05656)this['_doProcessBlock'](_0x1184e8,_0x4019d7);_0x3e231f=_0x1184e8[_0x27b543(0x9f)](0x0,_0x43cab9),_0x1f2e8e[_0x27b543(0x39d)]-=_0x5c66ea;}return new _0x1cc313[(_0x27b543(0x112))](_0x3e231f,_0x5c66ea);},'clone':function(){var _0x39a972=_0x5b148,_0x3201db=_0x44a9e0[_0x39a972(0x406)][_0x39a972(0x38c)](this);return _0x3201db[_0x39a972(0x251)]=this[_0x39a972(0x251)][_0x39a972(0x406)](),_0x3201db;},'_minBufferSize':0x0});_0x5ca5fd['Hasher']=_0x1b02f0['extend']({'cfg':_0x44a9e0[_0x5b148(0x299)](),'init':function(_0x1872d1){var _0x47b8e9=_0x5b148;this[_0x47b8e9(0x11a)]=this[_0x47b8e9(0x11a)][_0x47b8e9(0x299)](_0x1872d1),this['reset']();},'reset':function(){var _0x3cadd4=_0x5b148;_0x1b02f0['reset']['call'](this),this[_0x3cadd4(0x31d)]();},'update':function(_0x2c979d){var _0x6b4344=_0x5b148;return this['_append'](_0x2c979d),this[_0x6b4344(0x160)](),this;},'finalize':function(_0xdd70f6){_0xdd70f6&&this['_append'](_0xdd70f6);var _0x310d59=this['_doFinalize']();return _0x310d59;},'blockSize':0x10,'_createHelper':function(_0x129ba2){return function(_0x112997,_0x24f4d9){var _0x129396=_0x5256;return new _0x129ba2['init'](_0x24f4d9)[_0x129396(0x1ea)](_0x112997);};},'_createHmacHelper':function(_0x1394aa){return function(_0x742f77,_0x2cc168){var _0x12ce2f=_0x5256;return new _0x2c24cf[(_0x12ce2f(0x2b8))][(_0x12ce2f(0x112))](_0x1394aa,_0x2cc168)[_0x12ce2f(0x1ea)](_0x742f77);};}});var _0x2c24cf=_0x46e617[_0x5b148(0x1f3)]={};return _0x46e617;}(Math);return _0xcbaba1;}));}(fe)),fe[_0x3f8e4f(0xc5)];}var Ee={'exports':{}},Ti=Ee['exports'],ze;function gt(){var _0x598e5a=_0x33edf5;return ze||(ze=0x1,function(_0x27b85e,_0x147fa8){(function(_0x124c34,_0x4aeb1b){var _0xaf7ae3=_0x5256;_0x27b85e[_0xaf7ae3(0xc5)]=_0x4aeb1b(Z());}(Ti,function(_0x19c40f){var _0x3f7e1d=_0x5256;return(function(){var _0x377d7d=_0x5256,_0x2fd88c=_0x19c40f,_0x4f6219=_0x2fd88c[_0x377d7d(0x9e)],_0x10ef46=_0x4f6219[_0x377d7d(0x1ac)],_0xbb445d=_0x2fd88c[_0x377d7d(0x3ce)];_0xbb445d[_0x377d7d(0x98)]={'stringify':function(_0xe0ac08){var _0x1195bd=_0x377d7d,_0x496969=_0xe0ac08[_0x1195bd(0x36b)],_0x282c3a=_0xe0ac08['sigBytes'],_0x5c08fe=this['_map'];_0xe0ac08['clamp']();for(var _0x25b59a=[],_0x439064=0x0;_0x439064<_0x282c3a;_0x439064+=0x3)for(var _0x4c64f2=_0x496969[_0x439064>>>0x2]>>>0x18-_0x439064%0x4*0x8&0xff,_0x17c4e2=_0x496969[_0x439064+0x1>>>0x2]>>>0x18-(_0x439064+0x1)%0x4*0x8&0xff,_0x11062f=_0x496969[_0x439064+0x2>>>0x2]>>>0x18-(_0x439064+0x2)%0x4*0x8&0xff,_0x3ccf35=_0x4c64f2<<0x10|_0x17c4e2<<0x8|_0x11062f,_0x164cf2=0x0;_0x164cf2<0x4&&_0x439064+_0x164cf2*0.75<_0x282c3a;_0x164cf2++)_0x25b59a[_0x1195bd(0x38d)](_0x5c08fe[_0x1195bd(0x1a1)](_0x3ccf35>>>0x6*(0x3-_0x164cf2)&0x3f));var _0x39390e=_0x5c08fe[_0x1195bd(0x1a1)](0x40);if(_0x39390e){for(;_0x25b59a[_0x1195bd(0x182)]%0x4;)_0x25b59a[_0x1195bd(0x38d)](_0x39390e);}return _0x25b59a[_0x1195bd(0x36f)]('');},'parse':function(_0x4f3501){var _0x4b51e2=_0x377d7d,_0x54429b=_0x4f3501['length'],_0x343555=this[_0x4b51e2(0x2bd)],_0x4829f3=this[_0x4b51e2(0x365)];if(!_0x4829f3){_0x4829f3=this[_0x4b51e2(0x365)]=[];for(var _0x386d37=0x0;_0x386d37<_0x343555[_0x4b51e2(0x182)];_0x386d37++)_0x4829f3[_0x343555[_0x4b51e2(0xa3)](_0x386d37)]=_0x386d37;}var _0x3a7252=_0x343555[_0x4b51e2(0x1a1)](0x40);if(_0x3a7252){var _0x1ff105=_0x4f3501[_0x4b51e2(0x36d)](_0x3a7252);_0x1ff105!==-0x1&&(_0x54429b=_0x1ff105);}return _0x10f299(_0x4f3501,_0x54429b,_0x4829f3);},'_map':_0x377d7d(0x198)};function _0x10f299(_0x106573,_0x539404,_0x134a20){var _0x37f108=_0x377d7d;for(var _0x2a992c=[],_0x50e87f=0x0,_0xddd923=0x0;_0xddd923<_0x539404;_0xddd923++)if(_0xddd923%0x4){var _0x19adc8=_0x134a20[_0x106573[_0x37f108(0xa3)](_0xddd923-0x1)]<<_0xddd923%0x4*0x2,_0x231bb1=_0x134a20[_0x106573[_0x37f108(0xa3)](_0xddd923)]>>>0x6-_0xddd923%0x4*0x2,_0x7e9aed=_0x19adc8|_0x231bb1;_0x2a992c[_0x50e87f>>>0x2]|=_0x7e9aed<<0x18-_0x50e87f%0x4*0x8,_0x50e87f++;}return _0x10ef46[_0x37f108(0x3e3)](_0x2a992c,_0x50e87f);}}()),_0x19c40f[_0x3f7e1d(0x3ce)][_0x3f7e1d(0x98)];}));}(Ee)),Ee[_0x598e5a(0xc5)];}function _0x5256(_0xc0c7ad,_0x40009f){_0xc0c7ad=_0xc0c7ad-0x7b;var _0x4f5d2d=_0x4f5d();var _0x52560d=_0x4f5d2d[_0xc0c7ad];return _0x52560d;}var pe={'exports':{}},Ci=pe[_0x33edf5(0xc5)],Xe;function Oi(){var _0x8d2c9=_0x33edf5;return Xe||(Xe=0x1,function(_0x128b1a,_0x5211ad){(function(_0x3308ae,_0x392886){var _0x562d39=_0x5256;_0x128b1a[_0x562d39(0xc5)]=_0x392886(Z());}(Ci,function(_0x5ec68b){return function(_0x5e5f5a){var _0x3c34dc=_0x5256,_0x59674d=_0x5ec68b,_0x2a1807=_0x59674d[_0x3c34dc(0x9e)],_0x2f8212=_0x2a1807['WordArray'],_0x5c1b8b=_0x2a1807['Hasher'],_0x3022cd=_0x59674d['algo'],_0x4fd70e=[];(function(){var _0x52eb3b=_0x3c34dc;for(var _0x4f4a9b=0x0;_0x4f4a9b<0x40;_0x4f4a9b++)_0x4fd70e[_0x4f4a9b]=_0x5e5f5a[_0x52eb3b(0xc0)](_0x5e5f5a[_0x52eb3b(0x110)](_0x4f4a9b+0x1))*0x100000000|0x0;}());var _0x56f8a8=_0x3022cd['MD5']=_0x5c1b8b[_0x3c34dc(0x299)]({'_doReset':function(){var _0x38225f=_0x3c34dc;this[_0x38225f(0x39f)]=new _0x2f8212[(_0x38225f(0x112))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3e82f2,_0x44f483){var _0xa03e0b=_0x3c34dc;for(var _0x55c206=0x0;_0x55c206<0x10;_0x55c206++){var _0x1d7bb1=_0x44f483+_0x55c206,_0x5d47eb=_0x3e82f2[_0x1d7bb1];_0x3e82f2[_0x1d7bb1]=(_0x5d47eb<<0x8|_0x5d47eb>>>0x18)&0xff00ff|(_0x5d47eb<<0x18|_0x5d47eb>>>0x8)&0xff00ff00;}var _0x5ed9a7=this[_0xa03e0b(0x39f)][_0xa03e0b(0x36b)],_0x25ac27=_0x3e82f2[_0x44f483+0x0],_0x1bf28f=_0x3e82f2[_0x44f483+0x1],_0x2e28d5=_0x3e82f2[_0x44f483+0x2],_0x511305=_0x3e82f2[_0x44f483+0x3],_0x53715c=_0x3e82f2[_0x44f483+0x4],_0x5bbe80=_0x3e82f2[_0x44f483+0x5],_0x47ae94=_0x3e82f2[_0x44f483+0x6],_0x21b563=_0x3e82f2[_0x44f483+0x7],_0x8d756a=_0x3e82f2[_0x44f483+0x8],_0x546614=_0x3e82f2[_0x44f483+0x9],_0x2a712d=_0x3e82f2[_0x44f483+0xa],_0x4b5227=_0x3e82f2[_0x44f483+0xb],_0x3558bc=_0x3e82f2[_0x44f483+0xc],_0x5426ab=_0x3e82f2[_0x44f483+0xd],_0xb92647=_0x3e82f2[_0x44f483+0xe],_0x2a01cd=_0x3e82f2[_0x44f483+0xf],_0x55f864=_0x5ed9a7[0x0],_0x5e4ecd=_0x5ed9a7[0x1],_0x52741c=_0x5ed9a7[0x2],_0x5a6101=_0x5ed9a7[0x3];_0x55f864=_0x5232ab(_0x55f864,_0x5e4ecd,_0x52741c,_0x5a6101,_0x25ac27,0x7,_0x4fd70e[0x0]),_0x5a6101=_0x5232ab(_0x5a6101,_0x55f864,_0x5e4ecd,_0x52741c,_0x1bf28f,0xc,_0x4fd70e[0x1]),_0x52741c=_0x5232ab(_0x52741c,_0x5a6101,_0x55f864,_0x5e4ecd,_0x2e28d5,0x11,_0x4fd70e[0x2]),_0x5e4ecd=_0x5232ab(_0x5e4ecd,_0x52741c,_0x5a6101,_0x55f864,_0x511305,0x16,_0x4fd70e[0x3]),_0x55f864=_0x5232ab(_0x55f864,_0x5e4ecd,_0x52741c,_0x5a6101,_0x53715c,0x7,_0x4fd70e[0x4]),_0x5a6101=_0x5232ab(_0x5a6101,_0x55f864,_0x5e4ecd,_0x52741c,_0x5bbe80,0xc,_0x4fd70e[0x5]),_0x52741c=_0x5232ab(_0x52741c,_0x5a6101,_0x55f864,_0x5e4ecd,_0x47ae94,0x11,_0x4fd70e[0x6]),_0x5e4ecd=_0x5232ab(_0x5e4ecd,_0x52741c,_0x5a6101,_0x55f864,_0x21b563,0x16,_0x4fd70e[0x7]),_0x55f864=_0x5232ab(_0x55f864,_0x5e4ecd,_0x52741c,_0x5a6101,_0x8d756a,0x7,_0x4fd70e[0x8]),_0x5a6101=_0x5232ab(_0x5a6101,_0x55f864,_0x5e4ecd,_0x52741c,_0x546614,0xc,_0x4fd70e[0x9]),_0x52741c=_0x5232ab(_0x52741c,_0x5a6101,_0x55f864,_0x5e4ecd,_0x2a712d,0x11,_0x4fd70e[0xa]),_0x5e4ecd=_0x5232ab(_0x5e4ecd,_0x52741c,_0x5a6101,_0x55f864,_0x4b5227,0x16,_0x4fd70e[0xb]),_0x55f864=_0x5232ab(_0x55f864,_0x5e4ecd,_0x52741c,_0x5a6101,_0x3558bc,0x7,_0x4fd70e[0xc]),_0x5a6101=_0x5232ab(_0x5a6101,_0x55f864,_0x5e4ecd,_0x52741c,_0x5426ab,0xc,_0x4fd70e[0xd]),_0x52741c=_0x5232ab(_0x52741c,_0x5a6101,_0x55f864,_0x5e4ecd,_0xb92647,0x11,_0x4fd70e[0xe]),_0x5e4ecd=_0x5232ab(_0x5e4ecd,_0x52741c,_0x5a6101,_0x55f864,_0x2a01cd,0x16,_0x4fd70e[0xf]),_0x55f864=_0x35754f(_0x55f864,_0x5e4ecd,_0x52741c,_0x5a6101,_0x1bf28f,0x5,_0x4fd70e[0x10]),_0x5a6101=_0x35754f(_0x5a6101,_0x55f864,_0x5e4ecd,_0x52741c,_0x47ae94,0x9,_0x4fd70e[0x11]),_0x52741c=_0x35754f(_0x52741c,_0x5a6101,_0x55f864,_0x5e4ecd,_0x4b5227,0xe,_0x4fd70e[0x12]),_0x5e4ecd=_0x35754f(_0x5e4ecd,_0x52741c,_0x5a6101,_0x55f864,_0x25ac27,0x14,_0x4fd70e[0x13]),_0x55f864=_0x35754f(_0x55f864,_0x5e4ecd,_0x52741c,_0x5a6101,_0x5bbe80,0x5,_0x4fd70e[0x14]),_0x5a6101=_0x35754f(_0x5a6101,_0x55f864,_0x5e4ecd,_0x52741c,_0x2a712d,0x9,_0x4fd70e[0x15]),_0x52741c=_0x35754f(_0x52741c,_0x5a6101,_0x55f864,_0x5e4ecd,_0x2a01cd,0xe,_0x4fd70e[0x16]),_0x5e4ecd=_0x35754f(_0x5e4ecd,_0x52741c,_0x5a6101,_0x55f864,_0x53715c,0x14,_0x4fd70e[0x17]),_0x55f864=_0x35754f(_0x55f864,_0x5e4ecd,_0x52741c,_0x5a6101,_0x546614,0x5,_0x4fd70e[0x18]),_0x5a6101=_0x35754f(_0x5a6101,_0x55f864,_0x5e4ecd,_0x52741c,_0xb92647,0x9,_0x4fd70e[0x19]),_0x52741c=_0x35754f(_0x52741c,_0x5a6101,_0x55f864,_0x5e4ecd,_0x511305,0xe,_0x4fd70e[0x1a]),_0x5e4ecd=_0x35754f(_0x5e4ecd,_0x52741c,_0x5a6101,_0x55f864,_0x8d756a,0x14,_0x4fd70e[0x1b]),_0x55f864=_0x35754f(_0x55f864,_0x5e4ecd,_0x52741c,_0x5a6101,_0x5426ab,0x5,_0x4fd70e[0x1c]),_0x5a6101=_0x35754f(_0x5a6101,_0x55f864,_0x5e4ecd,_0x52741c,_0x2e28d5,0x9,_0x4fd70e[0x1d]),_0x52741c=_0x35754f(_0x52741c,_0x5a6101,_0x55f864,_0x5e4ecd,_0x21b563,0xe,_0x4fd70e[0x1e]),_0x5e4ecd=_0x35754f(_0x5e4ecd,_0x52741c,_0x5a6101,_0x55f864,_0x3558bc,0x14,_0x4fd70e[0x1f]),_0x55f864=_0x60a3d8(_0x55f864,_0x5e4ecd,_0x52741c,_0x5a6101,_0x5bbe80,0x4,_0x4fd70e[0x20]),_0x5a6101=_0x60a3d8(_0x5a6101,_0x55f864,_0x5e4ecd,_0x52741c,_0x8d756a,0xb,_0x4fd70e[0x21]),_0x52741c=_0x60a3d8(_0x52741c,_0x5a6101,_0x55f864,_0x5e4ecd,_0x4b5227,0x10,_0x4fd70e[0x22]),_0x5e4ecd=_0x60a3d8(_0x5e4ecd,_0x52741c,_0x5a6101,_0x55f864,_0xb92647,0x17,_0x4fd70e[0x23]),_0x55f864=_0x60a3d8(_0x55f864,_0x5e4ecd,_0x52741c,_0x5a6101,_0x1bf28f,0x4,_0x4fd70e[0x24]),_0x5a6101=_0x60a3d8(_0x5a6101,_0x55f864,_0x5e4ecd,_0x52741c,_0x53715c,0xb,_0x4fd70e[0x25]),_0x52741c=_0x60a3d8(_0x52741c,_0x5a6101,_0x55f864,_0x5e4ecd,_0x21b563,0x10,_0x4fd70e[0x26]),_0x5e4ecd=_0x60a3d8(_0x5e4ecd,_0x52741c,_0x5a6101,_0x55f864,_0x2a712d,0x17,_0x4fd70e[0x27]),_0x55f864=_0x60a3d8(_0x55f864,_0x5e4ecd,_0x52741c,_0x5a6101,_0x5426ab,0x4,_0x4fd70e[0x28]),_0x5a6101=_0x60a3d8(_0x5a6101,_0x55f864,_0x5e4ecd,_0x52741c,_0x25ac27,0xb,_0x4fd70e[0x29]),_0x52741c=_0x60a3d8(_0x52741c,_0x5a6101,_0x55f864,_0x5e4ecd,_0x511305,0x10,_0x4fd70e[0x2a]),_0x5e4ecd=_0x60a3d8(_0x5e4ecd,_0x52741c,_0x5a6101,_0x55f864,_0x47ae94,0x17,_0x4fd70e[0x2b]),_0x55f864=_0x60a3d8(_0x55f864,_0x5e4ecd,_0x52741c,_0x5a6101,_0x546614,0x4,_0x4fd70e[0x2c]),_0x5a6101=_0x60a3d8(_0x5a6101,_0x55f864,_0x5e4ecd,_0x52741c,_0x3558bc,0xb,_0x4fd70e[0x2d]),_0x52741c=_0x60a3d8(_0x52741c,_0x5a6101,_0x55f864,_0x5e4ecd,_0x2a01cd,0x10,_0x4fd70e[0x2e]),_0x5e4ecd=_0x60a3d8(_0x5e4ecd,_0x52741c,_0x5a6101,_0x55f864,_0x2e28d5,0x17,_0x4fd70e[0x2f]),_0x55f864=_0x461d5f(_0x55f864,_0x5e4ecd,_0x52741c,_0x5a6101,_0x25ac27,0x6,_0x4fd70e[0x30]),_0x5a6101=_0x461d5f(_0x5a6101,_0x55f864,_0x5e4ecd,_0x52741c,_0x21b563,0xa,_0x4fd70e[0x31]),_0x52741c=_0x461d5f(_0x52741c,_0x5a6101,_0x55f864,_0x5e4ecd,_0xb92647,0xf,_0x4fd70e[0x32]),_0x5e4ecd=_0x461d5f(_0x5e4ecd,_0x52741c,_0x5a6101,_0x55f864,_0x5bbe80,0x15,_0x4fd70e[0x33]),_0x55f864=_0x461d5f(_0x55f864,_0x5e4ecd,_0x52741c,_0x5a6101,_0x3558bc,0x6,_0x4fd70e[0x34]),_0x5a6101=_0x461d5f(_0x5a6101,_0x55f864,_0x5e4ecd,_0x52741c,_0x511305,0xa,_0x4fd70e[0x35]),_0x52741c=_0x461d5f(_0x52741c,_0x5a6101,_0x55f864,_0x5e4ecd,_0x2a712d,0xf,_0x4fd70e[0x36]),_0x5e4ecd=_0x461d5f(_0x5e4ecd,_0x52741c,_0x5a6101,_0x55f864,_0x1bf28f,0x15,_0x4fd70e[0x37]),_0x55f864=_0x461d5f(_0x55f864,_0x5e4ecd,_0x52741c,_0x5a6101,_0x8d756a,0x6,_0x4fd70e[0x38]),_0x5a6101=_0x461d5f(_0x5a6101,_0x55f864,_0x5e4ecd,_0x52741c,_0x2a01cd,0xa,_0x4fd70e[0x39]),_0x52741c=_0x461d5f(_0x52741c,_0x5a6101,_0x55f864,_0x5e4ecd,_0x47ae94,0xf,_0x4fd70e[0x3a]),_0x5e4ecd=_0x461d5f(_0x5e4ecd,_0x52741c,_0x5a6101,_0x55f864,_0x5426ab,0x15,_0x4fd70e[0x3b]),_0x55f864=_0x461d5f(_0x55f864,_0x5e4ecd,_0x52741c,_0x5a6101,_0x53715c,0x6,_0x4fd70e[0x3c]),_0x5a6101=_0x461d5f(_0x5a6101,_0x55f864,_0x5e4ecd,_0x52741c,_0x4b5227,0xa,_0x4fd70e[0x3d]),_0x52741c=_0x461d5f(_0x52741c,_0x5a6101,_0x55f864,_0x5e4ecd,_0x2e28d5,0xf,_0x4fd70e[0x3e]),_0x5e4ecd=_0x461d5f(_0x5e4ecd,_0x52741c,_0x5a6101,_0x55f864,_0x546614,0x15,_0x4fd70e[0x3f]),_0x5ed9a7[0x0]=_0x5ed9a7[0x0]+_0x55f864|0x0,_0x5ed9a7[0x1]=_0x5ed9a7[0x1]+_0x5e4ecd|0x0,_0x5ed9a7[0x2]=_0x5ed9a7[0x2]+_0x52741c|0x0,_0x5ed9a7[0x3]=_0x5ed9a7[0x3]+_0x5a6101|0x0;},'_doFinalize':function(){var _0x1a83d5=_0x3c34dc,_0x39e9d9=this[_0x1a83d5(0x251)],_0xdd214=_0x39e9d9[_0x1a83d5(0x36b)],_0xf0513f=this['_nDataBytes']*0x8,_0x5436dd=_0x39e9d9['sigBytes']*0x8;_0xdd214[_0x5436dd>>>0x5]|=0x80<<0x18-_0x5436dd%0x20;var _0x9f36bb=_0x5e5f5a[_0x1a83d5(0x282)](_0xf0513f/0x100000000),_0x29ce92=_0xf0513f;_0xdd214[(_0x5436dd+0x40>>>0x9<<0x4)+0xf]=(_0x9f36bb<<0x8|_0x9f36bb>>>0x18)&0xff00ff|(_0x9f36bb<<0x18|_0x9f36bb>>>0x8)&0xff00ff00,_0xdd214[(_0x5436dd+0x40>>>0x9<<0x4)+0xe]=(_0x29ce92<<0x8|_0x29ce92>>>0x18)&0xff00ff|(_0x29ce92<<0x18|_0x29ce92>>>0x8)&0xff00ff00,_0x39e9d9[_0x1a83d5(0x39d)]=(_0xdd214['length']+0x1)*0x4,this[_0x1a83d5(0x160)]();for(var _0x112e49=this[_0x1a83d5(0x39f)],_0x298119=_0x112e49[_0x1a83d5(0x36b)],_0x4f7075=0x0;_0x4f7075<0x4;_0x4f7075++){var _0x577904=_0x298119[_0x4f7075];_0x298119[_0x4f7075]=(_0x577904<<0x8|_0x577904>>>0x18)&0xff00ff|(_0x577904<<0x18|_0x577904>>>0x8)&0xff00ff00;}return _0x112e49;},'clone':function(){var _0x576b45=_0x3c34dc,_0x274d43=_0x5c1b8b[_0x576b45(0x406)][_0x576b45(0x38c)](this);return _0x274d43[_0x576b45(0x39f)]=this[_0x576b45(0x39f)][_0x576b45(0x406)](),_0x274d43;}});function _0x5232ab(_0x184c7d,_0x3c8c30,_0x14d9f5,_0x590fcc,_0x4821a5,_0x49647c,_0x3db902){var _0x53b0e6=_0x184c7d+(_0x3c8c30&_0x14d9f5|~_0x3c8c30&_0x590fcc)+_0x4821a5+_0x3db902;return(_0x53b0e6<<_0x49647c|_0x53b0e6>>>0x20-_0x49647c)+_0x3c8c30;}function _0x35754f(_0x3a9c49,_0x2b1bef,_0x115c30,_0x943382,_0x1283ae,_0x5b192a,_0x365f3e){var _0x1586e4=_0x3a9c49+(_0x2b1bef&_0x943382|_0x115c30&~_0x943382)+_0x1283ae+_0x365f3e;return(_0x1586e4<<_0x5b192a|_0x1586e4>>>0x20-_0x5b192a)+_0x2b1bef;}function _0x60a3d8(_0x10b93d,_0xa57998,_0x4f737b,_0x125dc9,_0x3155b4,_0x598a7a,_0x3d7cc8){var _0x24db05=_0x10b93d+(_0xa57998^_0x4f737b^_0x125dc9)+_0x3155b4+_0x3d7cc8;return(_0x24db05<<_0x598a7a|_0x24db05>>>0x20-_0x598a7a)+_0xa57998;}function _0x461d5f(_0x45fcac,_0x11f944,_0x5b249a,_0x2f85c2,_0x16efaa,_0x592f80,_0x422955){var _0x2f1715=_0x45fcac+(_0x5b249a^(_0x11f944|~_0x2f85c2))+_0x16efaa+_0x422955;return(_0x2f1715<<_0x592f80|_0x2f1715>>>0x20-_0x592f80)+_0x11f944;}_0x59674d[_0x3c34dc(0x2f6)]=_0x5c1b8b[_0x3c34dc(0x125)](_0x56f8a8),_0x59674d[_0x3c34dc(0x1d2)]=_0x5c1b8b[_0x3c34dc(0x3d8)](_0x56f8a8);}(Math),_0x5ec68b['MD5'];}));}(pe)),pe[_0x8d2c9(0xc5)];}var me={'exports':{}},ge={'exports':{}},bi=ge[_0x33edf5(0xc5)],Je;function Ri(){var _0x1361e1=_0x33edf5;return Je||(Je=0x1,function(_0x3915c3,_0x5299ee){(function(_0x5ba3fe,_0x4ef02a){_0x3915c3['exports']=_0x4ef02a(Z());}(bi,function(_0x4cd6a0){var _0x29af3f=_0x5256;return(function(){var _0x40f736=_0x5256,_0x58c097=_0x4cd6a0,_0x3a58f9=_0x58c097[_0x40f736(0x9e)],_0x167d2d=_0x3a58f9['WordArray'],_0x48ceaa=_0x3a58f9[_0x40f736(0x130)],_0x4dc259=_0x58c097[_0x40f736(0x1f3)],_0x5c76d4=[],_0x324446=_0x4dc259[_0x40f736(0x3be)]=_0x48ceaa[_0x40f736(0x299)]({'_doReset':function(){var _0x150483=_0x40f736;this[_0x150483(0x39f)]=new _0x167d2d[(_0x150483(0x112))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x483b72,_0x560cf8){var _0x46fbca=_0x40f736;for(var _0x1091de=this['_hash'][_0x46fbca(0x36b)],_0x5045fe=_0x1091de[0x0],_0xad595=_0x1091de[0x1],_0x2fd0cb=_0x1091de[0x2],_0x1408db=_0x1091de[0x3],_0x5a4e46=_0x1091de[0x4],_0x2d08cb=0x0;_0x2d08cb<0x50;_0x2d08cb++){if(_0x2d08cb<0x10)_0x5c76d4[_0x2d08cb]=_0x483b72[_0x560cf8+_0x2d08cb]|0x0;else{var _0x11b3f2=_0x5c76d4[_0x2d08cb-0x3]^_0x5c76d4[_0x2d08cb-0x8]^_0x5c76d4[_0x2d08cb-0xe]^_0x5c76d4[_0x2d08cb-0x10];_0x5c76d4[_0x2d08cb]=_0x11b3f2<<0x1|_0x11b3f2>>>0x1f;}var _0x4b23a6=(_0x5045fe<<0x5|_0x5045fe>>>0x1b)+_0x5a4e46+_0x5c76d4[_0x2d08cb];_0x2d08cb<0x14?_0x4b23a6+=(_0xad595&_0x2fd0cb|~_0xad595&_0x1408db)+0x5a827999:_0x2d08cb<0x28?_0x4b23a6+=(_0xad595^_0x2fd0cb^_0x1408db)+0x6ed9eba1:_0x2d08cb<0x3c?_0x4b23a6+=(_0xad595&_0x2fd0cb|_0xad595&_0x1408db|_0x2fd0cb&_0x1408db)-0x70e44324:_0x4b23a6+=(_0xad595^_0x2fd0cb^_0x1408db)-0x359d3e2a,_0x5a4e46=_0x1408db,_0x1408db=_0x2fd0cb,_0x2fd0cb=_0xad595<<0x1e|_0xad595>>>0x2,_0xad595=_0x5045fe,_0x5045fe=_0x4b23a6;}_0x1091de[0x0]=_0x1091de[0x0]+_0x5045fe|0x0,_0x1091de[0x1]=_0x1091de[0x1]+_0xad595|0x0,_0x1091de[0x2]=_0x1091de[0x2]+_0x2fd0cb|0x0,_0x1091de[0x3]=_0x1091de[0x3]+_0x1408db|0x0,_0x1091de[0x4]=_0x1091de[0x4]+_0x5a4e46|0x0;},'_doFinalize':function(){var _0x2ca3bb=_0x40f736,_0x222c86=this[_0x2ca3bb(0x251)],_0x560680=_0x222c86['words'],_0x3285d6=this[_0x2ca3bb(0x247)]*0x8,_0x5e8314=_0x222c86['sigBytes']*0x8;return _0x560680[_0x5e8314>>>0x5]|=0x80<<0x18-_0x5e8314%0x20,_0x560680[(_0x5e8314+0x40>>>0x9<<0x4)+0xe]=Math[_0x2ca3bb(0x282)](_0x3285d6/0x100000000),_0x560680[(_0x5e8314+0x40>>>0x9<<0x4)+0xf]=_0x3285d6,_0x222c86['sigBytes']=_0x560680['length']*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x58bcf2=_0x40f736,_0x1dea04=_0x48ceaa[_0x58bcf2(0x406)][_0x58bcf2(0x38c)](this);return _0x1dea04[_0x58bcf2(0x39f)]=this['_hash']['clone'](),_0x1dea04;}});_0x58c097['SHA1']=_0x48ceaa['_createHelper'](_0x324446),_0x58c097[_0x40f736(0x20f)]=_0x48ceaa[_0x40f736(0x3d8)](_0x324446);}()),_0x4cd6a0[_0x29af3f(0x3be)];}));}(ge)),ge[_0x1361e1(0xc5)];}var Te={'exports':{}},Ni=Te[_0x33edf5(0xc5)],Ze;function Di(){var _0x340870=_0x33edf5;return Ze||(Ze=0x1,function(_0x4be375,_0x4ee62b){(function(_0x12d23d,_0x4bfc97){var _0x9b1470=_0x5256;_0x4be375[_0x9b1470(0xc5)]=_0x4bfc97(Z());}(Ni,function(_0x1b9d14){(function(){var _0x144edc=_0x5256,_0x4bd011=_0x1b9d14,_0x2f7ebd=_0x4bd011['lib'],_0x15f4b3=_0x2f7ebd[_0x144edc(0xbd)],_0x51b530=_0x4bd011[_0x144edc(0x3ce)],_0x1c9712=_0x51b530['Utf8'],_0x1b8b94=_0x4bd011['algo'];_0x1b8b94[_0x144edc(0x2b8)]=_0x15f4b3['extend']({'init':function(_0x118379,_0x153088){var _0x1db952=_0x144edc;_0x118379=this[_0x1db952(0x2b2)]=new _0x118379[(_0x1db952(0x112))](),typeof _0x153088==_0x1db952(0x35b)&&(_0x153088=_0x1c9712[_0x1db952(0x218)](_0x153088));var _0x2782f6=_0x118379[_0x1db952(0x392)],_0x195a40=_0x2782f6*0x4;_0x153088['sigBytes']>_0x195a40&&(_0x153088=_0x118379['finalize'](_0x153088)),_0x153088['clamp']();for(var _0x4aa9f8=this[_0x1db952(0x352)]=_0x153088[_0x1db952(0x406)](),_0x22ab91=this['_iKey']=_0x153088['clone'](),_0x34cd45=_0x4aa9f8[_0x1db952(0x36b)],_0x2b6eb4=_0x22ab91[_0x1db952(0x36b)],_0x6d9497=0x0;_0x6d9497<_0x2782f6;_0x6d9497++)_0x34cd45[_0x6d9497]^=0x5c5c5c5c,_0x2b6eb4[_0x6d9497]^=0x36363636;_0x4aa9f8[_0x1db952(0x39d)]=_0x22ab91[_0x1db952(0x39d)]=_0x195a40,this['reset']();},'reset':function(){var _0xadf513=_0x144edc,_0x19683d=this[_0xadf513(0x2b2)];_0x19683d['reset'](),_0x19683d['update'](this[_0xadf513(0x22e)]);},'update':function(_0xa58eef){var _0x20f24b=_0x144edc;return this[_0x20f24b(0x2b2)][_0x20f24b(0xce)](_0xa58eef),this;},'finalize':function(_0x3d3d1a){var _0x51d4cd=_0x144edc,_0x35de93=this[_0x51d4cd(0x2b2)],_0x59fc44=_0x35de93['finalize'](_0x3d3d1a);_0x35de93[_0x51d4cd(0x3db)]();var _0x247ee0=_0x35de93[_0x51d4cd(0x1ea)](this[_0x51d4cd(0x352)][_0x51d4cd(0x406)]()[_0x51d4cd(0x111)](_0x59fc44));return _0x247ee0;}});}());}));}(Te)),Te[_0x340870(0xc5)];}var yi=me[_0x33edf5(0xc5)],Qe;function Tt(){return Qe||(Qe=0x1,function(_0x36ae6c,_0x1d56e2){(function(_0x5f4d2b,_0x36bed1,_0x444338){var _0x134c1c=_0x5256;_0x36ae6c[_0x134c1c(0xc5)]=_0x36bed1(Z(),Ri(),Di());}(yi,function(_0x8958db){var _0x93a416=_0x5256;return(function(){var _0x34d277=_0x5256,_0x1ecb14=_0x8958db,_0x251e83=_0x1ecb14[_0x34d277(0x9e)],_0x1e8705=_0x251e83[_0x34d277(0xbd)],_0x31097d=_0x251e83[_0x34d277(0x1ac)],_0x1564c=_0x1ecb14['algo'],_0xe7df52=_0x1564c['MD5'],_0xf1bba6=_0x1564c[_0x34d277(0x355)]=_0x1e8705[_0x34d277(0x299)]({'cfg':_0x1e8705['extend']({'keySize':0x80/0x20,'hasher':_0xe7df52,'iterations':0x1}),'init':function(_0x14377f){var _0x3ae560=_0x34d277;this[_0x3ae560(0x11a)]=this['cfg'][_0x3ae560(0x299)](_0x14377f);},'compute':function(_0x47ea4f,_0x2459b6){var _0x2521ce=_0x34d277;for(var _0x3f98cb,_0x34a044=this[_0x2521ce(0x11a)],_0x171f5a=_0x34a044['hasher'][_0x2521ce(0x3e3)](),_0x27e668=_0x31097d[_0x2521ce(0x3e3)](),_0x2c55fe=_0x27e668[_0x2521ce(0x36b)],_0x5868ff=_0x34a044[_0x2521ce(0x91)],_0x43b625=_0x34a044['iterations'];_0x2c55fe[_0x2521ce(0x182)]<_0x5868ff;){_0x3f98cb&&_0x171f5a[_0x2521ce(0xce)](_0x3f98cb),_0x3f98cb=_0x171f5a[_0x2521ce(0xce)](_0x47ea4f)[_0x2521ce(0x1ea)](_0x2459b6),_0x171f5a['reset']();for(var _0x4694cd=0x1;_0x4694cd<_0x43b625;_0x4694cd++)_0x3f98cb=_0x171f5a['finalize'](_0x3f98cb),_0x171f5a[_0x2521ce(0x3db)]();_0x27e668[_0x2521ce(0x111)](_0x3f98cb);}return _0x27e668[_0x2521ce(0x39d)]=_0x5868ff*0x4,_0x27e668;}});_0x1ecb14['EvpKDF']=function(_0x216421,_0x3cada4,_0x206e87){var _0x17f7d4=_0x34d277;return _0xf1bba6[_0x17f7d4(0x3e3)](_0x206e87)[_0x17f7d4(0x152)](_0x216421,_0x3cada4);};}()),_0x8958db[_0x93a416(0x355)];}));}(me)),me['exports'];}var Ce={'exports':{}},Ui=Ce[_0x33edf5(0xc5)],et;function Ct(){var _0x29fc06=_0x33edf5;return et||(et=0x1,function(_0x5d2645,_0x351ac4){(function(_0x17b79c,_0x404be1,_0x58338f){var _0xd95612=_0x5256;_0x5d2645[_0xd95612(0xc5)]=_0x404be1(Z(),Tt());}(Ui,function(_0x4acc5c){var _0xcd2102=_0x5256;_0x4acc5c[_0xcd2102(0x9e)][_0xcd2102(0xf3)]||function(_0x19fd9b){var _0x31539a=_0xcd2102,_0x39fc62=_0x4acc5c,_0xc30c89=_0x39fc62[_0x31539a(0x9e)],_0x1dac5a=_0xc30c89[_0x31539a(0xbd)],_0x53acce=_0xc30c89[_0x31539a(0x1ac)],_0x48f70b=_0xc30c89[_0x31539a(0x2a8)],_0x40ac28=_0x39fc62[_0x31539a(0x3ce)];_0x40ac28[_0x31539a(0x2e6)];var _0x43c092=_0x40ac28[_0x31539a(0x98)],_0x844598=_0x39fc62[_0x31539a(0x1f3)],_0x507192=_0x844598[_0x31539a(0x355)],_0x26545c=_0xc30c89[_0x31539a(0xf3)]=_0x48f70b['extend']({'cfg':_0x1dac5a[_0x31539a(0x299)](),'createEncryptor':function(_0x13a9eb,_0x21a56b){var _0x286975=_0x31539a;return this[_0x286975(0x3e3)](this[_0x286975(0x3e7)],_0x13a9eb,_0x21a56b);},'createDecryptor':function(_0x3504cd,_0x89a1b0){return this['create'](this['_DEC_XFORM_MODE'],_0x3504cd,_0x89a1b0);},'init':function(_0x452c44,_0x4baa4a,_0x4599cf){var _0x4989c4=_0x31539a;this[_0x4989c4(0x11a)]=this[_0x4989c4(0x11a)]['extend'](_0x4599cf),this[_0x4989c4(0x17f)]=_0x452c44,this['_key']=_0x4baa4a,this[_0x4989c4(0x3db)]();},'reset':function(){var _0x44d93a=_0x31539a;_0x48f70b[_0x44d93a(0x3db)]['call'](this),this[_0x44d93a(0x31d)]();},'process':function(_0x29d6b3){var _0x50c646=_0x31539a;return this[_0x50c646(0x344)](_0x29d6b3),this[_0x50c646(0x160)]();},'finalize':function(_0x1a154a){var _0x31edbb=_0x31539a;_0x1a154a&&this[_0x31edbb(0x344)](_0x1a154a);var _0xf1cfbe=this[_0x31edbb(0x1ee)]();return _0xf1cfbe;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x14e2cf(_0x5c6fcf){var _0x4b005e=_0x5256;return typeof _0x5c6fcf==_0x4b005e(0x35b)?_0x2de12f:_0x3d2edd;}return function(_0x3e6d67){return{'encrypt':function(_0x4d45f1,_0x346f6c,_0x336d94){var _0x4913b3=_0x5256;return _0x14e2cf(_0x346f6c)[_0x4913b3(0x308)](_0x3e6d67,_0x4d45f1,_0x346f6c,_0x336d94);},'decrypt':function(_0x43dfd3,_0x2f9945,_0xa8be5f){return _0x14e2cf(_0x2f9945)['decrypt'](_0x3e6d67,_0x43dfd3,_0x2f9945,_0xa8be5f);}};};}())});_0xc30c89[_0x31539a(0x28f)]=_0x26545c[_0x31539a(0x299)]({'_doFinalize':function(){var _0x2353bb=this['_process'](!0x0);return _0x2353bb;},'blockSize':0x1});var _0x440585=_0x39fc62['mode']={},_0x1a781d=_0xc30c89[_0x31539a(0x156)]=_0x1dac5a['extend']({'createEncryptor':function(_0x413d9a,_0x4e180e){var _0x596e9e=_0x31539a;return this[_0x596e9e(0x401)][_0x596e9e(0x3e3)](_0x413d9a,_0x4e180e);},'createDecryptor':function(_0x4cfbbb,_0x289da6){var _0x78aa1=_0x31539a;return this[_0x78aa1(0x2ae)]['create'](_0x4cfbbb,_0x289da6);},'init':function(_0x317a3b,_0x5615fc){var _0x1d985c=_0x31539a;this[_0x1d985c(0x385)]=_0x317a3b,this[_0x1d985c(0x1dc)]=_0x5615fc;}}),_0x579b31=_0x440585[_0x31539a(0x1b3)]=(function(){var _0x16327b=_0x31539a,_0x11e191=_0x1a781d[_0x16327b(0x299)]();_0x11e191[_0x16327b(0x401)]=_0x11e191[_0x16327b(0x299)]({'processBlock':function(_0x24abaf,_0x20507d){var _0x1b0f60=_0x16327b,_0x53cb60=this[_0x1b0f60(0x385)],_0x24d25d=_0x53cb60[_0x1b0f60(0x392)];_0x48f608[_0x1b0f60(0x38c)](this,_0x24abaf,_0x20507d,_0x24d25d),_0x53cb60[_0x1b0f60(0x3d2)](_0x24abaf,_0x20507d),this['_prevBlock']=_0x24abaf[_0x1b0f60(0x3c7)](_0x20507d,_0x20507d+_0x24d25d);}}),_0x11e191[_0x16327b(0x2ae)]=_0x11e191['extend']({'processBlock':function(_0x24136c,_0x354ae1){var _0x280441=_0x16327b,_0x244dad=this['_cipher'],_0x29d94c=_0x244dad[_0x280441(0x392)],_0x480a4e=_0x24136c[_0x280441(0x3c7)](_0x354ae1,_0x354ae1+_0x29d94c);_0x244dad[_0x280441(0x24d)](_0x24136c,_0x354ae1),_0x48f608[_0x280441(0x38c)](this,_0x24136c,_0x354ae1,_0x29d94c),this[_0x280441(0x30a)]=_0x480a4e;}});function _0x48f608(_0x387060,_0x17555c,_0x3c0440){var _0x444cd3=_0x16327b,_0x50e09a,_0x23cf97=this[_0x444cd3(0x1dc)];_0x23cf97?(_0x50e09a=_0x23cf97,this[_0x444cd3(0x1dc)]=_0x19fd9b):_0x50e09a=this[_0x444cd3(0x30a)];for(var _0x377b23=0x0;_0x377b23<_0x3c0440;_0x377b23++)_0x387060[_0x17555c+_0x377b23]^=_0x50e09a[_0x377b23];}return _0x11e191;}()),_0x26f9a9=_0x39fc62[_0x31539a(0x1e5)]={},_0x577b32=_0x26f9a9[_0x31539a(0x368)]={'pad':function(_0x25ae90,_0x4e1cd8){var _0x487527=_0x31539a;for(var _0x5c0e91=_0x4e1cd8*0x4,_0x1f07bf=_0x5c0e91-_0x25ae90[_0x487527(0x39d)]%_0x5c0e91,_0x254565=_0x1f07bf<<0x18|_0x1f07bf<<0x10|_0x1f07bf<<0x8|_0x1f07bf,_0x44f41b=[],_0x5866c1=0x0;_0x5866c1<_0x1f07bf;_0x5866c1+=0x4)_0x44f41b['push'](_0x254565);var _0x2745de=_0x53acce['create'](_0x44f41b,_0x1f07bf);_0x25ae90[_0x487527(0x111)](_0x2745de);},'unpad':function(_0x467319){var _0x2ebd74=_0x31539a,_0x1ca331=_0x467319[_0x2ebd74(0x36b)][_0x467319[_0x2ebd74(0x39d)]-0x1>>>0x2]&0xff;_0x467319[_0x2ebd74(0x39d)]-=_0x1ca331;}};_0xc30c89[_0x31539a(0x3a2)]=_0x26545c[_0x31539a(0x299)]({'cfg':_0x26545c[_0x31539a(0x11a)][_0x31539a(0x299)]({'mode':_0x579b31,'padding':_0x577b32}),'reset':function(){var _0x54782f=_0x31539a,_0x4377ca;_0x26545c[_0x54782f(0x3db)][_0x54782f(0x38c)](this);var _0x1a8609=this['cfg'],_0xddaa28=_0x1a8609['iv'],_0x2163cd=_0x1a8609[_0x54782f(0x1f7)];this['_xformMode']==this[_0x54782f(0x3e7)]?_0x4377ca=_0x2163cd['createEncryptor']:(_0x4377ca=_0x2163cd[_0x54782f(0x3c4)],this['_minBufferSize']=0x1),this[_0x54782f(0x280)]&&this['_mode'][_0x54782f(0x2b6)]==_0x4377ca?this[_0x54782f(0x280)][_0x54782f(0x112)](this,_0xddaa28&&_0xddaa28['words']):(this[_0x54782f(0x280)]=_0x4377ca[_0x54782f(0x38c)](_0x2163cd,this,_0xddaa28&&_0xddaa28['words']),this['_mode'][_0x54782f(0x2b6)]=_0x4377ca);},'_doProcessBlock':function(_0x13a0e5,_0x5c1cf1){var _0xa437cd=_0x31539a;this['_mode'][_0xa437cd(0x289)](_0x13a0e5,_0x5c1cf1);},'_doFinalize':function(){var _0x2d1875=_0x31539a,_0xb267d7,_0x7849ac=this[_0x2d1875(0x11a)]['padding'];return this[_0x2d1875(0x17f)]==this[_0x2d1875(0x3e7)]?(_0x7849ac[_0x2d1875(0x1e5)](this['_data'],this[_0x2d1875(0x392)]),_0xb267d7=this[_0x2d1875(0x160)](!0x0)):(_0xb267d7=this[_0x2d1875(0x160)](!0x0),_0x7849ac[_0x2d1875(0xa6)](_0xb267d7)),_0xb267d7;},'blockSize':0x80/0x20});var _0x571b99=_0xc30c89[_0x31539a(0x21c)]=_0x1dac5a[_0x31539a(0x299)]({'init':function(_0x1eb09f){var _0x3ed562=_0x31539a;this[_0x3ed562(0x3a5)](_0x1eb09f);},'toString':function(_0xf322e9){var _0x2b02f8=_0x31539a;return(_0xf322e9||this[_0x2b02f8(0x12c)])['stringify'](this);}}),_0x41b093=_0x39fc62[_0x31539a(0x2a5)]={},_0x1de3ec=_0x41b093['OpenSSL']={'stringify':function(_0x34d06c){var _0x3de508=_0x31539a,_0x21139f,_0x14326b=_0x34d06c['ciphertext'],_0x2ce5c5=_0x34d06c[_0x3de508(0x232)];return _0x2ce5c5?_0x21139f=_0x53acce[_0x3de508(0x3e3)]([0x53616c74,0x65645f5f])[_0x3de508(0x111)](_0x2ce5c5)[_0x3de508(0x111)](_0x14326b):_0x21139f=_0x14326b,_0x21139f['toString'](_0x43c092);},'parse':function(_0x21d004){var _0x3d4868=_0x31539a,_0x4599f8,_0x380abe=_0x43c092[_0x3d4868(0x218)](_0x21d004),_0x52baaf=_0x380abe[_0x3d4868(0x36b)];return _0x52baaf[0x0]==0x53616c74&&_0x52baaf[0x1]==0x65645f5f&&(_0x4599f8=_0x53acce[_0x3d4868(0x3e3)](_0x52baaf[_0x3d4868(0x3c7)](0x2,0x4)),_0x52baaf['splice'](0x0,0x4),_0x380abe['sigBytes']-=0x10),_0x571b99[_0x3d4868(0x3e3)]({'ciphertext':_0x380abe,'salt':_0x4599f8});}},_0x3d2edd=_0xc30c89[_0x31539a(0x1f8)]=_0x1dac5a[_0x31539a(0x299)]({'cfg':_0x1dac5a[_0x31539a(0x299)]({'format':_0x1de3ec}),'encrypt':function(_0x2bb084,_0x49ed9c,_0x56b02a,_0x177258){var _0x627de8=_0x31539a;_0x177258=this[_0x627de8(0x11a)][_0x627de8(0x299)](_0x177258);var _0x2a97ac=_0x2bb084[_0x627de8(0x28e)](_0x56b02a,_0x177258),_0x128a3c=_0x2a97ac[_0x627de8(0x1ea)](_0x49ed9c),_0x306051=_0x2a97ac[_0x627de8(0x11a)];return _0x571b99[_0x627de8(0x3e3)]({'ciphertext':_0x128a3c,'key':_0x56b02a,'iv':_0x306051['iv'],'algorithm':_0x2bb084,'mode':_0x306051[_0x627de8(0x1f7)],'padding':_0x306051[_0x627de8(0x1d4)],'blockSize':_0x2bb084[_0x627de8(0x392)],'formatter':_0x177258['format']});},'decrypt':function(_0x238a6e,_0x38a7d0,_0x1fcfb7,_0x1f8f13){var _0x386994=_0x31539a;_0x1f8f13=this[_0x386994(0x11a)][_0x386994(0x299)](_0x1f8f13),_0x38a7d0=this[_0x386994(0x36e)](_0x38a7d0,_0x1f8f13[_0x386994(0x2a5)]);var _0x2160b2=_0x238a6e['createDecryptor'](_0x1fcfb7,_0x1f8f13)[_0x386994(0x1ea)](_0x38a7d0['ciphertext']);return _0x2160b2;},'_parse':function(_0x3df216,_0x45767c){var _0x2feecd=_0x31539a;return typeof _0x3df216==_0x2feecd(0x35b)?_0x45767c['parse'](_0x3df216,this):_0x3df216;}}),_0x4c33e2=_0x39fc62[_0x31539a(0x37d)]={},_0x18e949=_0x4c33e2[_0x31539a(0x276)]={'execute':function(_0x34840c,_0x589642,_0x1c01bf,_0x790e00,_0x133d30){var _0x234eaf=_0x31539a;if(_0x790e00||(_0x790e00=_0x53acce['random'](0x40/0x8)),_0x133d30)var _0x332f24=_0x507192['create']({'keySize':_0x589642+_0x1c01bf,'hasher':_0x133d30})[_0x234eaf(0x152)](_0x34840c,_0x790e00);else var _0x332f24=_0x507192[_0x234eaf(0x3e3)]({'keySize':_0x589642+_0x1c01bf})['compute'](_0x34840c,_0x790e00);var _0x289703=_0x53acce[_0x234eaf(0x3e3)](_0x332f24[_0x234eaf(0x36b)][_0x234eaf(0x3c7)](_0x589642),_0x1c01bf*0x4);return _0x332f24['sigBytes']=_0x589642*0x4,_0x571b99[_0x234eaf(0x3e3)]({'key':_0x332f24,'iv':_0x289703,'salt':_0x790e00});}},_0x2de12f=_0xc30c89[_0x31539a(0x1a5)]=_0x3d2edd['extend']({'cfg':_0x3d2edd[_0x31539a(0x11a)][_0x31539a(0x299)]({'kdf':_0x18e949}),'encrypt':function(_0x5c36c3,_0x3d44ae,_0x5d3f4f,_0xab4934){var _0x410339=_0x31539a;_0xab4934=this[_0x410339(0x11a)]['extend'](_0xab4934);var _0x1a5fca=_0xab4934[_0x410339(0x37d)][_0x410339(0x148)](_0x5d3f4f,_0x5c36c3['keySize'],_0x5c36c3['ivSize'],_0xab4934[_0x410339(0x232)],_0xab4934[_0x410339(0x3d7)]);_0xab4934['iv']=_0x1a5fca['iv'];var _0x1adeab=_0x3d2edd[_0x410339(0x308)][_0x410339(0x38c)](this,_0x5c36c3,_0x3d44ae,_0x1a5fca[_0x410339(0x1b9)],_0xab4934);return _0x1adeab[_0x410339(0x3a5)](_0x1a5fca),_0x1adeab;},'decrypt':function(_0x95d1e9,_0x53a020,_0x457366,_0x4f9013){var _0x2714b6=_0x31539a;_0x4f9013=this[_0x2714b6(0x11a)][_0x2714b6(0x299)](_0x4f9013),_0x53a020=this['_parse'](_0x53a020,_0x4f9013[_0x2714b6(0x2a5)]);var _0x290d56=_0x4f9013[_0x2714b6(0x37d)][_0x2714b6(0x148)](_0x457366,_0x95d1e9['keySize'],_0x95d1e9['ivSize'],_0x53a020[_0x2714b6(0x232)],_0x4f9013[_0x2714b6(0x3d7)]);_0x4f9013['iv']=_0x290d56['iv'];var _0xedc5a9=_0x3d2edd[_0x2714b6(0x15d)]['call'](this,_0x95d1e9,_0x53a020,_0x290d56[_0x2714b6(0x1b9)],_0x4f9013);return _0xedc5a9;}});}();}));}(Ce)),Ce[_0x29fc06(0xc5)];}var Ai=Ie[_0x33edf5(0xc5)],tt;function Pi(){var _0x20f62=_0x33edf5;return tt||(tt=0x1,function(_0x377bdc,_0x551c8f){(function(_0x3d2c34,_0x51f352,_0x395335){_0x377bdc['exports']=_0x51f352(Z(),gt(),Oi(),Tt(),Ct());}(Ai,function(_0x53ae4d){var _0x47ed78=_0x5256;return(function(){var _0x409968=_0x5256,_0x26a037=_0x53ae4d,_0x4c372f=_0x26a037[_0x409968(0x9e)],_0x5f2619=_0x4c372f[_0x409968(0x3a2)],_0x3f4667=_0x26a037[_0x409968(0x1f3)],_0x19d72e=[],_0x39fe8b=[],_0x1e15d8=[],_0x3bbb8f=[],_0x265fa5=[],_0x1826b9=[],_0x64727=[],_0x244060=[],_0x4f85ed=[],_0xdb3dff=[];(function(){for(var _0x482810=[],_0x20b2f6=0x0;_0x20b2f6<0x100;_0x20b2f6++)_0x20b2f6<0x80?_0x482810[_0x20b2f6]=_0x20b2f6<<0x1:_0x482810[_0x20b2f6]=_0x20b2f6<<0x1^0x11b;for(var _0x371fbc=0x0,_0x30739d=0x0,_0x20b2f6=0x0;_0x20b2f6<0x100;_0x20b2f6++){var _0x58a617=_0x30739d^_0x30739d<<0x1^_0x30739d<<0x2^_0x30739d<<0x3^_0x30739d<<0x4;_0x58a617=_0x58a617>>>0x8^_0x58a617&0xff^0x63,_0x19d72e[_0x371fbc]=_0x58a617,_0x39fe8b[_0x58a617]=_0x371fbc;var _0x382b64=_0x482810[_0x371fbc],_0x1267b3=_0x482810[_0x382b64],_0x3b00ef=_0x482810[_0x1267b3],_0x14482a=_0x482810[_0x58a617]*0x101^_0x58a617*0x1010100;_0x1e15d8[_0x371fbc]=_0x14482a<<0x18|_0x14482a>>>0x8,_0x3bbb8f[_0x371fbc]=_0x14482a<<0x10|_0x14482a>>>0x10,_0x265fa5[_0x371fbc]=_0x14482a<<0x8|_0x14482a>>>0x18,_0x1826b9[_0x371fbc]=_0x14482a;var _0x14482a=_0x3b00ef*0x1010101^_0x1267b3*0x10001^_0x382b64*0x101^_0x371fbc*0x1010100;_0x64727[_0x58a617]=_0x14482a<<0x18|_0x14482a>>>0x8,_0x244060[_0x58a617]=_0x14482a<<0x10|_0x14482a>>>0x10,_0x4f85ed[_0x58a617]=_0x14482a<<0x8|_0x14482a>>>0x18,_0xdb3dff[_0x58a617]=_0x14482a,_0x371fbc?(_0x371fbc=_0x382b64^_0x482810[_0x482810[_0x482810[_0x3b00ef^_0x382b64]]],_0x30739d^=_0x482810[_0x482810[_0x30739d]]):_0x371fbc=_0x30739d=0x1;}}());var _0x3a06dc=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x57d6d6=_0x3f4667[_0x409968(0x201)]=_0x5f2619['extend']({'_doReset':function(){var _0x30392e=_0x409968,_0x3de072;if(!(this[_0x30392e(0x209)]&&this[_0x30392e(0x270)]===this[_0x30392e(0x2b7)])){for(var _0x527673=this[_0x30392e(0x270)]=this['_key'],_0x8e9724=_0x527673[_0x30392e(0x36b)],_0x67b629=_0x527673[_0x30392e(0x39d)]/0x4,_0x166dea=this[_0x30392e(0x209)]=_0x67b629+0x6,_0x5ae47b=(_0x166dea+0x1)*0x4,_0x2f9dc9=this[_0x30392e(0xba)]=[],_0x4c7a89=0x0;_0x4c7a89<_0x5ae47b;_0x4c7a89++)_0x4c7a89<_0x67b629?_0x2f9dc9[_0x4c7a89]=_0x8e9724[_0x4c7a89]:(_0x3de072=_0x2f9dc9[_0x4c7a89-0x1],_0x4c7a89%_0x67b629?_0x67b629>0x6&&_0x4c7a89%_0x67b629==0x4&&(_0x3de072=_0x19d72e[_0x3de072>>>0x18]<<0x18|_0x19d72e[_0x3de072>>>0x10&0xff]<<0x10|_0x19d72e[_0x3de072>>>0x8&0xff]<<0x8|_0x19d72e[_0x3de072&0xff]):(_0x3de072=_0x3de072<<0x8|_0x3de072>>>0x18,_0x3de072=_0x19d72e[_0x3de072>>>0x18]<<0x18|_0x19d72e[_0x3de072>>>0x10&0xff]<<0x10|_0x19d72e[_0x3de072>>>0x8&0xff]<<0x8|_0x19d72e[_0x3de072&0xff],_0x3de072^=_0x3a06dc[_0x4c7a89/_0x67b629|0x0]<<0x18),_0x2f9dc9[_0x4c7a89]=_0x2f9dc9[_0x4c7a89-_0x67b629]^_0x3de072);for(var _0xf56fc5=this[_0x30392e(0x29b)]=[],_0x8073fc=0x0;_0x8073fc<_0x5ae47b;_0x8073fc++){var _0x4c7a89=_0x5ae47b-_0x8073fc;if(_0x8073fc%0x4)var _0x3de072=_0x2f9dc9[_0x4c7a89];else var _0x3de072=_0x2f9dc9[_0x4c7a89-0x4];_0x8073fc<0x4||_0x4c7a89<=0x4?_0xf56fc5[_0x8073fc]=_0x3de072:_0xf56fc5[_0x8073fc]=_0x64727[_0x19d72e[_0x3de072>>>0x18]]^_0x244060[_0x19d72e[_0x3de072>>>0x10&0xff]]^_0x4f85ed[_0x19d72e[_0x3de072>>>0x8&0xff]]^_0xdb3dff[_0x19d72e[_0x3de072&0xff]];}}},'encryptBlock':function(_0x46763e,_0x363577){var _0x504472=_0x409968;this[_0x504472(0x3dd)](_0x46763e,_0x363577,this['_keySchedule'],_0x1e15d8,_0x3bbb8f,_0x265fa5,_0x1826b9,_0x19d72e);},'decryptBlock':function(_0x12cfdb,_0x4179a0){var _0x4737fa=_0x409968,_0x4a4dbc=_0x12cfdb[_0x4179a0+0x1];_0x12cfdb[_0x4179a0+0x1]=_0x12cfdb[_0x4179a0+0x3],_0x12cfdb[_0x4179a0+0x3]=_0x4a4dbc,this[_0x4737fa(0x3dd)](_0x12cfdb,_0x4179a0,this[_0x4737fa(0x29b)],_0x64727,_0x244060,_0x4f85ed,_0xdb3dff,_0x39fe8b);var _0x4a4dbc=_0x12cfdb[_0x4179a0+0x1];_0x12cfdb[_0x4179a0+0x1]=_0x12cfdb[_0x4179a0+0x3],_0x12cfdb[_0x4179a0+0x3]=_0x4a4dbc;},'_doCryptBlock':function(_0x5c628e,_0xee6063,_0x294a66,_0x168267,_0x80f17,_0x430117,_0x262813,_0x7dc181){var _0x3c8d74=_0x409968;for(var _0x55a326=this[_0x3c8d74(0x209)],_0x44552b=_0x5c628e[_0xee6063]^_0x294a66[0x0],_0x4f38ed=_0x5c628e[_0xee6063+0x1]^_0x294a66[0x1],_0x1e7b02=_0x5c628e[_0xee6063+0x2]^_0x294a66[0x2],_0x305e08=_0x5c628e[_0xee6063+0x3]^_0x294a66[0x3],_0x40e9ba=0x4,_0x3c1559=0x1;_0x3c1559<_0x55a326;_0x3c1559++){var _0x5c7cbf=_0x168267[_0x44552b>>>0x18]^_0x80f17[_0x4f38ed>>>0x10&0xff]^_0x430117[_0x1e7b02>>>0x8&0xff]^_0x262813[_0x305e08&0xff]^_0x294a66[_0x40e9ba++],_0x2b63b4=_0x168267[_0x4f38ed>>>0x18]^_0x80f17[_0x1e7b02>>>0x10&0xff]^_0x430117[_0x305e08>>>0x8&0xff]^_0x262813[_0x44552b&0xff]^_0x294a66[_0x40e9ba++],_0x2371e3=_0x168267[_0x1e7b02>>>0x18]^_0x80f17[_0x305e08>>>0x10&0xff]^_0x430117[_0x44552b>>>0x8&0xff]^_0x262813[_0x4f38ed&0xff]^_0x294a66[_0x40e9ba++],_0x288dc3=_0x168267[_0x305e08>>>0x18]^_0x80f17[_0x44552b>>>0x10&0xff]^_0x430117[_0x4f38ed>>>0x8&0xff]^_0x262813[_0x1e7b02&0xff]^_0x294a66[_0x40e9ba++];_0x44552b=_0x5c7cbf,_0x4f38ed=_0x2b63b4,_0x1e7b02=_0x2371e3,_0x305e08=_0x288dc3;}var _0x5c7cbf=(_0x7dc181[_0x44552b>>>0x18]<<0x18|_0x7dc181[_0x4f38ed>>>0x10&0xff]<<0x10|_0x7dc181[_0x1e7b02>>>0x8&0xff]<<0x8|_0x7dc181[_0x305e08&0xff])^_0x294a66[_0x40e9ba++],_0x2b63b4=(_0x7dc181[_0x4f38ed>>>0x18]<<0x18|_0x7dc181[_0x1e7b02>>>0x10&0xff]<<0x10|_0x7dc181[_0x305e08>>>0x8&0xff]<<0x8|_0x7dc181[_0x44552b&0xff])^_0x294a66[_0x40e9ba++],_0x2371e3=(_0x7dc181[_0x1e7b02>>>0x18]<<0x18|_0x7dc181[_0x305e08>>>0x10&0xff]<<0x10|_0x7dc181[_0x44552b>>>0x8&0xff]<<0x8|_0x7dc181[_0x4f38ed&0xff])^_0x294a66[_0x40e9ba++],_0x288dc3=(_0x7dc181[_0x305e08>>>0x18]<<0x18|_0x7dc181[_0x44552b>>>0x10&0xff]<<0x10|_0x7dc181[_0x4f38ed>>>0x8&0xff]<<0x8|_0x7dc181[_0x1e7b02&0xff])^_0x294a66[_0x40e9ba++];_0x5c628e[_0xee6063]=_0x5c7cbf,_0x5c628e[_0xee6063+0x1]=_0x2b63b4,_0x5c628e[_0xee6063+0x2]=_0x2371e3,_0x5c628e[_0xee6063+0x3]=_0x288dc3;},'keySize':0x100/0x20});_0x26a037[_0x409968(0x201)]=_0x5f2619[_0x409968(0x125)](_0x57d6d6);}()),_0x53ae4d[_0x47ed78(0x201)];}));}(Ie)),Ie[_0x20f62(0xc5)];}var Li=Pi();const Mi=de(Li);var wi=gt();const it=de(wi);var Oe={'exports':{}},xi=Oe['exports'],nt;function ki(){var _0x2abf8e=_0x33edf5;return nt||(nt=0x1,function(_0x4499db,_0x12cfc2){(function(_0xa83164,_0x48f950){var _0x3d1693=_0x5256;_0x4499db[_0x3d1693(0xc5)]=_0x48f950(Z());}(xi,function(_0x28df39){var _0x3a25fd=_0x5256;return _0x28df39[_0x3a25fd(0x3ce)][_0x3a25fd(0x2e6)];}));}(Oe)),Oe[_0x2abf8e(0xc5)];}var $i=ki();const Hi=de($i);var be={'exports':{}},ji=be['exports'],st;function Bi(){var _0x4addcd=_0x33edf5;return st||(st=0x1,function(_0x3b2db0,_0xd84aa8){(function(_0x5acd41,_0x43df93){var _0xa02301=_0x5256;_0x3b2db0[_0xa02301(0xc5)]=_0x43df93(Z());}(ji,function(_0x43397a){var _0x3bdac9=_0x5256;return(function(){var _0x479234=_0x5256;if(typeof ArrayBuffer=='function'){var _0xfa8881=_0x43397a,_0x48de8e=_0xfa8881['lib'],_0x1544d1=_0x48de8e[_0x479234(0x1ac)],_0x49f5f2=_0x1544d1[_0x479234(0x112)],_0x5bee13=_0x1544d1['init']=function(_0x28f4db){var _0x52a6f8=_0x479234;if(_0x28f4db instanceof ArrayBuffer&&(_0x28f4db=new Uint8Array(_0x28f4db)),(_0x28f4db instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x28f4db instanceof Uint8ClampedArray||_0x28f4db instanceof Int16Array||_0x28f4db instanceof Uint16Array||_0x28f4db instanceof Int32Array||_0x28f4db instanceof Uint32Array||_0x28f4db instanceof Float32Array||_0x28f4db instanceof Float64Array)&&(_0x28f4db=new Uint8Array(_0x28f4db['buffer'],_0x28f4db['byteOffset'],_0x28f4db['byteLength'])),_0x28f4db instanceof Uint8Array){for(var _0x980a77=_0x28f4db['byteLength'],_0x4e4671=[],_0xe05bed=0x0;_0xe05bed<_0x980a77;_0xe05bed++)_0x4e4671[_0xe05bed>>>0x2]|=_0x28f4db[_0xe05bed]<<0x18-_0xe05bed%0x4*0x8;_0x49f5f2[_0x52a6f8(0x38c)](this,_0x4e4671,_0x980a77);}else _0x49f5f2[_0x52a6f8(0x39e)](this,arguments);};_0x5bee13[_0x479234(0x300)]=_0x1544d1;}}()),_0x43397a['lib'][_0x3bdac9(0x1ac)];}));}(be)),be[_0x4addcd(0xc5)];}var Fi=Bi();const Vi=de(Fi);var Re={'exports':{}},Wi=Re[_0x33edf5(0xc5)],rt;function Gi(){var _0x7128d5=_0x33edf5;return rt||(rt=0x1,function(_0x272b76,_0x4c960e){(function(_0x12255b,_0x362e5c,_0x1ccb0f){var _0x2b1664=_0x5256;_0x272b76[_0x2b1664(0xc5)]=_0x362e5c(Z(),Ct());}(Wi,function(_0x3eab81){var _0x36f787=_0x5256;return _0x3eab81[_0x36f787(0x1e5)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x3eab81['pad']['NoPadding'];}));}(Re)),Re[_0x7128d5(0xc5)];}var Yi=Gi();const Ki=de(Yi);function qi(_0x2d5203,_0x2a1e1e){var _0x4f723d=_0x33edf5;const _0x4a630a=_0x2a1e1e-_0x2d5203['length']%_0x2a1e1e,_0xf69ae0=String['fromCharCode'](_0x4a630a)[_0x4f723d(0x325)](_0x4a630a);return _0x2d5203+_0xf69ae0;}function zi(_0x5180fd,_0x3e4576){var _0x41c7c3=_0x33edf5;const _0x217ba9=Vi[_0x41c7c3(0x138)](0x10),_0xb92427=qi(_0x5180fd,0x10),_0x3d7aef=Mi[_0x41c7c3(0x308)](Hi['parse'](_0xb92427),it[_0x41c7c3(0x218)](_0x3e4576),{'iv':_0x217ba9,'padding':Ki});return _0x217ba9[_0x41c7c3(0x111)](_0x3d7aef[_0x41c7c3(0x245)])['toString'](it);}function Xi(){var _0x559cc6=_0x33edf5;const _0x1d9be9=Nt[_0x559cc6(0x1aa)]()['__Key__'];if(_0x1d9be9){const _0x594720={'time':Math[_0x559cc6(0x282)](Date['now']()/0x3e8),'domain':location[_0x559cc6(0x96)]};return zi(JSON[_0x559cc6(0x16f)](_0x594720),_0x1d9be9);}}var Ji=Object[_0x33edf5(0x8d)],Zi=(_0x5654d6,_0x683e33,_0x2c71ef,_0x505ca5)=>{var _0x3bc4aa=_0x33edf5;for(var _0x33cefa=_0x505ca5>0x1?void 0x0:_0x505ca5?Ji(_0x683e33,_0x2c71ef):_0x683e33,_0x5a4e08=_0x5654d6[_0x3bc4aa(0x182)]-0x1,_0x179b32;_0x5a4e08>=0x0;_0x5a4e08--)(_0x179b32=_0x5654d6[_0x5a4e08])&&(_0x33cefa=_0x179b32(_0x33cefa)||_0x33cefa);return _0x33cefa;},Qi=(_0x486cb6,_0x4aae5f)=>(_0x1fa709,_0x1865d9)=>_0x4aae5f(_0x1fa709,_0x1865d9,_0x486cb6);let De=class{constructor(_0x54b0c9){var _0x2aa600=_0x33edf5;this['_httpService']=_0x54b0c9,this[_0x2aa600(0x97)]();}[_0x33edf5(0x97)](){var _0x39b5df=_0x33edf5;this[_0x39b5df(0x1cd)]['registerHTTPInterceptor']({'interceptor':(_0x29a40b,_0x3202ac)=>{var _0x9a9fcf=_0x39b5df;const _0xf6873f=_0x29a40b['headers'],_0xdb491b=Xi();return _0xdb491b&&_0xf6873f[_0x9a9fcf(0x18b)](_0x9a9fcf(0x32e),_0xdb491b),_0x3202ac(_0x29a40b);}});}};De=Zi([Qi(0x0,o[_0x33edf5(0x348)](K[_0x33edf5(0x93)]))],De);var en=Object[_0x33edf5(0x8d)],tn=(_0x4e38f6,_0x162642,_0x99af2c,_0x3fc29a)=>{var _0x43506e=_0x33edf5;for(var _0x262a44=_0x3fc29a>0x1?void 0x0:_0x3fc29a?en(_0x162642,_0x99af2c):_0x162642,_0x28ffdc=_0x4e38f6[_0x43506e(0x182)]-0x1,_0x39535a;_0x28ffdc>=0x0;_0x28ffdc--)(_0x39535a=_0x4e38f6[_0x28ffdc])&&(_0x262a44=_0x39535a(_0x262a44)||_0x262a44);return _0x262a44;},Le=(_0x2e8b95,_0x1d5140)=>(_0x4ac8e3,_0x394b2f)=>_0x1d5140(_0x4ac8e3,_0x394b2f,_0x2e8b95);exports[_0x33edf5(0x84)]=class extends o['RxDisposable']{constructor(_0x4994a2,_0x851d39,_0x21b56f){var _0x5f4740=_0x33edf5;super(),A(this,_0x5f4740(0x272),new j['BehaviorSubject'](null)),A(this,_0x5f4740(0x279),this[_0x5f4740(0x272)][_0x5f4740(0x291)]()),(this[_0x5f4740(0x353)]=_0x4994a2,this['_snapshotService']=_0x851d39,this[_0x5f4740(0x3ab)]=_0x21b56f);}async[_0x33edf5(0x1b2)](_0x1567d1,_0x484727,_0x527bfc){var _0x57bc33=_0x33edf5;this[_0x57bc33(0x272)][_0x57bc33(0x402)]({'unitId':_0x1567d1,'type':_0x484727});let _0x311e79=null;switch(_0x484727){case X[_0x57bc33(0x290)]:{_0x311e79=await this[_0x57bc33(0x403)][_0x57bc33(0x39c)](_0x1567d1,_0x527bfc);break;}case X[_0x57bc33(0x317)]:{_0x311e79=await this[_0x57bc33(0x403)][_0x57bc33(0x298)](_0x1567d1,_0x527bfc);break;}default:{this[_0x57bc33(0x353)][_0x57bc33(0x134)](_0x57bc33(0x211),_0x57bc33(0x396));break;}}return _0x311e79;}async['loadUnit'](_0x32ada8,_0x12884e,_0x2387f0){var _0x3b25f6=_0x33edf5,_0x29e6c3;this[_0x3b25f6(0x272)][_0x3b25f6(0x402)]({'unitId':_0x32ada8,'type':_0x12884e,'subUnitId':_0x2387f0});let _0x5d981f=0x0;const _0x29fdf2=await((_0x29e6c3=this[_0x3b25f6(0x3ab)])==null?void 0x0:_0x29e6c3[_0x3b25f6(0x1f4)](_0x32ada8));return _0x29fdf2&&(_0x29fdf2[_0x3b25f6(0x367)]||_0x29fdf2[_0x3b25f6(0x14e)]['length']!==0x0)&&(_0x5d981f=_0x29fdf2['rev']),_0x5d981f===0x0&&this[_0x3b25f6(0x353)][_0x3b25f6(0x38a)](_0x3b25f6(0x211),_0x3b25f6(0x3b6)),this[_0x3b25f6(0x1b2)](_0x32ada8,_0x12884e,_0x5d981f);}},exports[_0x33edf5(0x84)]=tn([Le(0x0,o['ILogService']),Le(0x1,o['Inject'](E[_0x33edf5(0x326)])),Le(0x2,o[_0x33edf5(0x370)](q))],exports[_0x33edf5(0x84)]);var nn=Object[_0x33edf5(0x8d)],sn=(_0x5ace46,_0x161751,_0x47db2b,_0x1ac28b)=>{var _0x12c260=_0x33edf5;for(var _0xef4c26=_0x1ac28b>0x1?void 0x0:_0x1ac28b?nn(_0x161751,_0x47db2b):_0x161751,_0x33ff61=_0x5ace46[_0x12c260(0x182)]-0x1,_0x4c3053;_0x33ff61>=0x0;_0x33ff61--)(_0x4c3053=_0x5ace46[_0x33ff61])&&(_0xef4c26=_0x4c3053(_0xef4c26)||_0xef4c26);return _0xef4c26;},Me=(_0x1b9846,_0x4dec13)=>(_0x1fb4e5,_0x3d7841)=>_0x4dec13(_0x1fb4e5,_0x3d7841,_0x1b9846);const rn=[_0x33edf5(0x16e),_0x33edf5(0x31f),_0x33edf5(0xfd),_0x33edf5(0x26a),_0x33edf5(0x27f)],an=0x5*0x400*0x400,on=_0x33edf5(0xb3),cn=_0x33edf5(0x1d6);exports[_0x33edf5(0x2fe)]=class{constructor(_0x4859d1,_0x2e04b6,_0x2f681e){var _0x37a53c=_0x33edf5;A(this,_0x37a53c(0x10d),0x0),A(this,_0x37a53c(0x32a),new j[(_0x37a53c(0xef))]()),A(this,'change$',this[_0x37a53c(0x32a)]),A(this,'_imageSourceCache',new Map()),(this[_0x37a53c(0x1cd)]=_0x4859d1,this[_0x37a53c(0x2ba)]=_0x2e04b6,this[_0x37a53c(0x82)]=_0x2f681e);}['setWaitCount'](_0x8c73a4){var _0x171ebd=_0x33edf5;this[_0x171ebd(0x10d)]=_0x8c73a4,this[_0x171ebd(0x32a)][_0x171ebd(0x402)](_0x8c73a4);}[_0x33edf5(0x364)](_0x9dd6c,_0x117c32){var _0x3ccb5f=_0x33edf5;if(_0x117c32===z[_0x3ccb5f(0x342)][_0x3ccb5f(0xdc)]){const _0x362f18=new Image();return _0x362f18[_0x3ccb5f(0x390)]=_0x9dd6c,_0x362f18;}return this[_0x3ccb5f(0x166)][_0x3ccb5f(0x3cc)](_0x9dd6c);}[_0x33edf5(0x2b5)](_0xc5ae4c,_0x21dd04,_0x597f4d){var _0x4507f8=_0x33edf5;_0x21dd04===z[_0x4507f8(0x342)][_0x4507f8(0xdc)]||_0x597f4d==null||this[_0x4507f8(0x166)]['set'](_0xc5ae4c,_0x597f4d);}async['getImage'](_0x8da74b){var _0x10dcd4=_0x33edf5;try{const _0x39a91e=this['_replaceFileID'](this['_getSignURL'](),''+_0x8da74b),_0x5e9844=(await this[_0x10dcd4(0x1cd)]['get'](_0x39a91e))[_0x10dcd4(0x3f6)];if(_0x5e9844[_0x10dcd4(0x134)]&&_0x5e9844[_0x10dcd4(0x134)][_0x10dcd4(0xe8)]===vt['OK']){const _0x5aa734=new URL(_0x5e9844[_0x10dcd4(0x128)],this[_0x10dcd4(0x1a7)]())[_0x10dcd4(0x1ba)]();return Promise['resolve'](_0x5aa734);}return Promise['reject'](_0x5e9844[_0x10dcd4(0x134)]);}catch(_0x9220f1){return Promise[_0x10dcd4(0x3ca)](_0x9220f1);}}async[_0x33edf5(0x3a7)](_0x1d24f8){var _0x52711e=_0x33edf5;let _0x55ad0d='';if(!rn[_0x52711e(0x20a)](_0x1d24f8[_0x52711e(0x102)]))return this[_0x52711e(0x323)](),Promise[_0x52711e(0x3ca)](new Error(z['ImageUploadStatusType'][_0x52711e(0x175)]));if(_0x1d24f8[_0x52711e(0xd9)]>an)return this[_0x52711e(0x323)](),Promise['reject'](new Error(z[_0x52711e(0x187)]['ERROR_EXCEED_SIZE']));try{const _0x1705e8=new FormData();_0x1705e8['append'](_0x52711e(0x400),_0x1d24f8);const _0x53c21d=this['_univerInstanceService'][_0x52711e(0x1b8)](),_0x59c552=_0x53c21d==null?void 0x0:_0x53c21d[_0x52711e(0xe0)]();if(!_0x59c552)throw new Error(_0x52711e(0x15f));const _0x566ebf=this[_0x52711e(0x405)]()+'?size='+_0x1d24f8[_0x52711e(0xd9)][_0x52711e(0x1ba)]()+_0x52711e(0x284)+dt['UnitEmbedded']+_0x52711e(0x2ed)+encodeURIComponent(_0x59c552),_0xeefcd8={'body':_0x1705e8},_0x596a26=(await this[_0x52711e(0x1cd)]['post'](_0x566ebf,_0xeefcd8))[_0x52711e(0x3f6)];if(typeof _0x596a26[_0x52711e(0xd2)]!=_0x52711e(0x35b))return this[_0x52711e(0x323)](),Promise[_0x52711e(0x3ca)](new Error(z['ImageUploadStatusType'][_0x52711e(0x195)]));_0x55ad0d=_0x596a26[_0x52711e(0xd2)];}catch{return this[_0x52711e(0x323)](),Promise['reject'](new Error(z[_0x52711e(0x187)][_0x52711e(0x195)]));}return new Promise((_0x30e76b,_0x21c1cd)=>{var _0x144f7e=_0x52711e;const _0x1e825d=new FileReader();_0x1e825d[_0x144f7e(0x1c2)](_0x1d24f8),_0x1e825d['onload']=_0x15cea3=>{var _0x5bc9e7=_0x144f7e,_0x3a36d9;const _0x39d740=(_0x3a36d9=_0x15cea3[_0x5bc9e7(0x25a)])==null?void 0x0:_0x3a36d9['result'];if(_0x39d740==null){this[_0x5bc9e7(0x323)](),_0x21c1cd(new Error(z['ImageUploadStatusType'][_0x5bc9e7(0x195)]));return;}const _0x394841=o[_0x5bc9e7(0x2a0)](0x6);_0x30e76b({'imageId':_0x394841,'imageSourceType':z['ImageSourceType'][_0x5bc9e7(0x283)],'source':_0x55ad0d,'base64Cache':_0x39d740,'status':z['ImageUploadStatusType']['SUCCUSS']}),this[_0x5bc9e7(0x323)]();};});}[_0x33edf5(0x405)](){var _0x27b63c=_0x33edf5,_0x56d8b2;const _0x57ba05=this[_0x27b63c(0x2ba)]['getConfig'](Y);return(_0x56d8b2=_0x57ba05==null?void 0x0:_0x57ba05['uploadFileServerUrl'])!=null?_0x56d8b2:on;}[_0x33edf5(0x12b)](){var _0x2e1605=_0x33edf5,_0x142e2c;const _0x4293af=this[_0x2e1605(0x2ba)][_0x2e1605(0x2d9)](Y);return(_0x142e2c=_0x4293af==null?void 0x0:_0x4293af[_0x2e1605(0x228)])!=null?_0x142e2c:cn;}[_0x33edf5(0x1a7)](){var _0x1458f1=_0x33edf5,_0x326dd6;const _0x5a06ca=this['_configService'][_0x1458f1(0x2d9)](Y);return(_0x326dd6=_0x5a06ca==null?void 0x0:_0x5a06ca[_0x1458f1(0x2cf)])!=null?_0x326dd6:location[_0x1458f1(0x243)];}[_0x33edf5(0x3dc)](_0x4ea9d2,_0x20254a){var _0x3fada0=_0x33edf5;return _0x4ea9d2[_0x3fada0(0x2ec)](_0x3fada0(0x1d3),_0x20254a);}['_decreaseWaiting'](){var _0x1f68e0=_0x33edf5;this[_0x1f68e0(0x10d)]-=0x1,this['_change$'][_0x1f68e0(0x402)](this[_0x1f68e0(0x10d)]);}},exports[_0x33edf5(0x2fe)]=sn([Me(0x0,o['Inject'](K[_0x33edf5(0x93)])),Me(0x1,o[_0x33edf5(0x37c)]),Me(0x2,o['Inject'](o[_0x33edf5(0x2c1)]))],exports['CollaborationImageIoService']);var _n=Object[_0x33edf5(0x8d)],hn=(_0x515ec6,_0x5eeb78,_0x4ee4b7,_0x1f4741)=>{var _0x30dc0e=_0x33edf5;for(var _0x43b25c=_0x1f4741>0x1?void 0x0:_0x1f4741?_n(_0x5eeb78,_0x4ee4b7):_0x5eeb78,_0x14aefa=_0x515ec6[_0x30dc0e(0x182)]-0x1,_0x2c7078;_0x14aefa>=0x0;_0x14aefa--)(_0x2c7078=_0x515ec6[_0x14aefa])&&(_0x43b25c=_0x2c7078(_0x43b25c)||_0x43b25c);return _0x43b25c;},at=(_0x2d4b52,_0x58c60b)=>(_0x47f810,_0x458b41)=>_0x58c60b(_0x47f810,_0x458b41,_0x2d4b52);function _0x4f5d(){var _0x2627b6=['executeCommand','UserProfileImg','readyForCollab','_replayCachedMutations','getWorkbookSelections','CHANGESET_REJ','INVITE_CODE_ALREADY_BOUND','memberID','refreshPermission','saveSheetBlock','CollaborationSocketService','location','revision','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','WorkbookEditablePermission','UNKNOWN_CMD','origin','/universer-api/user/session-ticket','ciphertext','USERS_ENTER','_nDataBytes','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','SNAPSHOT_URL_KEY','_awaitingChangeset','_removeRoom','_entities','decryptBlock','_telemetryInfo','_onCombEvent','CONFLICT','_data','ENTITLE_USE_COUPON_NOT_1ST_TRADE','registerHTTPInterceptor','UnitEmbedded','DependentOn','toggleOnline','reverse','SheetPermissionInitController','shareReplay','target','pluginName','baseRev','_listenToNetworkCondition','allowed','isInternalEditorID','socketService','filter','YUUMI_ASYNCIO_CANCELLED','_members','range','onRemoteAck','getRandomValues','MemberService','reqId','LIVESHARE_NEW_HOST','image/gif','_undoRedoService','Failed\x20to\x20update\x20permission\x20point','univer-pro.collaboration-client.single-active-unit-service','/object','routeKey','_keyPriorReset','_changesetSessionId','_unitInfo$','LocalUndoRedoService','HTTPRequest','ReplaySubject','OpenSSL','10TzctJy','UNDEFINED','unitInfo$','SUBMIT_CHANGESET_TIMEOUT','_getCurrentRevision','JSONX','conflict','getSheetId','image/bmp','_mode','add','floor','UUID','&source=','Could\x20not\x20dynamically\x20require\x20\x22','INVITE_CODE_HAS_BEEN_UES','_transitionLocked','PY_RUNTIME_SCRIPT_ERROR','processBlock','REDEMPTION_USER_NOT_ELIGIBLE','/role','takeUntil','members$','createEncryptor','StreamCipher','UNIVER_SHEET','asObservable','MSG_FOR_ERROR','onRemoteRej','CONNECTOR_DATA_TOO_LARGE','isPermissionRej','COMPRESS_MUTATION_APPLY','_socketReady','loadDoc','extend','csShouldRetryEvent','_invKeySchedule','_toggleOffline','commentUpdate$','AWAITING','complete','generateRandomId','_state','LIVESHARE_REQUEST_HOST','IDLE','LOCAL_CACHE_INTERVAL','format','\x20in\x20_schedule.','_permissionService','BufferedBlockAlgorithm','_initMergeInterceptor','_collaborationUIEventService','has','_transformStateCache','_fetchMissChangesets','Decryptor','_memberService','LICENSE_EXPORT_SIZE_EXCEEDED','every','_hasher','DEFAULT_COLLAB_WEB_SOCKET_URL','ENTITLE_DUP_SUBSCRIPTION','addImageSourceCache','__creator','_key','HMAC','m2Prime','_configService','RevisionService','909exyhZp','_map','[OfflineState]:\x20received\x20changeset.','toggleOffline','_initUnitPermissionChange','IUniverInstanceService','onTransformSelections','/new_changes','online$','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','IPermissionService','values','catch','NEW_CHANGESETS','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','MergeInterceptorFactory','subscribe','CollaborationUIEventService','socket\x20open.','downloadEndpointUrl','LEAVE','csAckEvent','localCacheService','NOT_FOUND','_startTelemetryCollaborationNewChangeset','COMMENT_UPDATE','ENTITLE_COUPON_EXPIRED','listRoles','_resendTimeout','getConfig','CollaborativeUndoRedoService','MentionIoHttpService','[CollaborationSession]','onTransformIME','_getAPIPrefix','_lockTransition','encodeURIComponent','status$','_clearRedo','LocaleService','REDEMPTION_USER_REDEEM_TIMES_EXCEED','updatePermissionObjEvent','Utf8','ILogService','enableOfflineEditing','session.room-full','FETCH_MISS','PERMISSION_REJ','replace','&assign=','ISnapshotServerService','min','_updateState','MOBILE_HAS_BEEN_BOUND','eventID','SUBMIT_CHANGESET','YUUMI_URL_COL_OUT_OF_RANGE','snapshot','MD5','updatePermissionPoint','cmd','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_exhaustRemoteChangesetQueue','_createHandler','focused$','fetching\x20missing\x20changesets\x20from\x20','CollaborationImageIoService','unsubscribe','prototype','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','UniverInstanceType','SNAPSHOT_HAS_BEEN_REMOVED','fetch_missing','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','compose','_compressMutationService','encrypt','JOIN_ROOM_PERMISSION_DENIED','_prevBlock','getTime','12060612tFUOfs','unitId','USERS_LEAVE','_executeRemoteChangeset','YUUMI_TABLE_NOT_FOUND_IN_UNIT','title','INGEST','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','UNAUTHENTICATED','382702OVaStv','CHANGESET_SHOULD_RETRY','UNIVER_DOC','isTransformMutationsWithChangesetFailure','UPDATE_CURSOR','DisposableCollection','_retryCount','_onRemoteACK','_doReset','DEFAULT_FILE_NAME','image/jpeg','CollaborationEntity','Plugin','mapDocumentTypeToUniverType','_decreaseWaiting','NO_OTHER_CLIENTS_EDITING','repeat','SnapshotService','_onLocalMutation','emitEvent','_sheetTransformSelectionsService','_change$','onlyLocal','_sendHeartbeat','/resources','x-univer-host','AwaitingState','updateMember','close','_telemetryService','_substituteRedoStack','ws://127.0.0.1:8000/universer-api/comb/connect','_type','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_stopTelemetryCollaborationNewChangeset','REDEMPTION_CODE_FULLY_REDEEMED','HELLO','_submitChangeset','CollaborationStatus','_socketService','YUUMI_ALL_TABLES_IS_INVALID','_clearLocalCache','RichTextEditingMutation','DEFAULT_WS_SESSION_TICKET_URL','LOGIN_FAILED','ImageSourceType','CollaborationSessionService','_append','_commentService','MOBILE_VERIFY_CODE_MISMATCH','objectType','Inject','onSendChangeset','_tryEnsureSocket','_getLoginPath','_acknowledgedAwaitingChangeset','deleteCollaborator','interceptor','data','readInt32LE','roles','_oKey','_logService','APPLY_PERMISSION_DENIED','EvpKDF','HEARTBEAT_TIMEOUT_KEY','271815XPfHgB','ERROR_AGAIN','_throwTelemetryCollaborationNewChangeset','_joinRoom','string','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','ThresholdInterceptorFactory','startTime','localeService','getCollabEntity','commentUpdateEvent','/universer-api/authz','enableAuthServer','getImageSourceCache','_reverseMap','listCollaborators','awaitingChangeset','Pkcs7','_clearRetryConnectingTimer','ENTITLE_INVALID_COUPON_CODE','words','[UniverCollaborationClientPlugin]','indexOf','_parse','join','Optional','subject','state','5556wPGMdw','SetSelectionsOperation','_toggleOnline','ICommandService','150LHORqG','firstValueFrom','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_registerDependencies','ConflictState','IConfigService','kdf','RxDisposable','_retryConnectingTimer','_onFetchMissResult','getInterceptPoints','/object/','onTransformState','USER_NOT_FOUND','_cipher','_onConflict','ONLINE','_roomCreated$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','debug','OfflineState','call','push','collaboratorID','getMemberID','src','permissionRejEvent','blockSize','RETRY_CONNECTING_MAX_COUNT_KEY','onRemoteChangeset','getLocalCacheKey','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','YUUMI_SUBSCRIPTION_NOT_FOUND','default','_disableEditing','shouldCloseConn','_updateLocalCache','loadSheet','sigBytes','apply','_hash','_createInitialStateImpl','EmptyMutationInfo','BlockCipher','clamp','DocCollaborationEntity','mixIn','_scheduleCompleteTimestamp','saveImage','/block/','UniverCollaborationClientPlugin','INTERNAL_ERROR','_localCacheService','/-/object/-/batch_allowed','CollaborationController','APPLY_REJECT','UNISCRIPT_RUN','TOO_MANY_REQUESTS','toDisposable','Rectangle','getTypeOfUnitAdded$','univer-pro.collaboration-client.network-condition.service','status','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','put','onMissedChangesetFetched','map','userID','_sendHeartbeatTimer','list','Univer','SHA1','_clearCollaborationTimeoutTimer','ENTITLE_CAN_NOT_BUY_LOWER_OTP','$super','_transformRemoteChangesetByIMECache','Tools','createDecryptor','fetchMissingChangesets','GLOBAL_ROOMS_CNT_EXCEEDS','slice','[CollaborationState]:\x20apply\x20error!','_timeoutTimer','reject','_localeService','get','isTransformMutationsWithChangesetSuccess','enc','_handler','_onConnectionFailed','[FetchMissState]','encryptBlock','DATA_SOURCE_TOO_LARGE','7609048QSbPTj','_checkMissing','onMissingChangesets','hasher','_createHmacHelper','crypto','onSyncEditingCollabCursor','reset','_replaceFileID','_doCryptBlock','_isPermissionRej','transformStack\x20failed!','_showConflictNotification','SYNCED','NOT_COLLAB','create','PERMISSION_DENIED','retryConnectingInterval','createSocket','_ENC_XFORM_MODE','_collaborationTimeoutTimer','_collaborationSessionService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','UniverNetworkPlugin','RECV','joinRsp','[CollaborationUndoRedoService]','902868diWfuF','forEach','/allowed','_transformService','collaboration-client.local-cache-service','_sessionStatus$','getAllMembers','body','_getUndoStack','SyncedState','SessionStatus','_revisionService','_instanceService','_resendTimer','_unlockTransition','result','_remoteChangesetQueue','file','Encryptor','next','_snapshotService','capture','_getUploadFileURL','clone','_status$','incrementRevOfUnit','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SnapshotServerOverHTTPService','awaiting','leaveEvent','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','onRemoteRetry','_univerInstanceService','method','DataLoaderService','People','[PendingState]:\x20unhandled\x20univer\x20type:\x20','updateOfflineData','UNIVER_PROJECT','getCollabEntity$','MUTATION','_sender','ILocalCacheService','getOwnPropertyDescriptor','post','Quantity','ENTITLE_CHAT_LIMIT_EXCEED','keySize','function','HTTPService','INVALID_ARGUMENT','_getSendChangesetTimeout','hostname','_initRequestHeader','Base64','override','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','CURRENT_STATUS_CANNOT_OPERATE','_networkConditionService','PAYMENT_CHANNEL_NOT_SUPPORT','lib','splice','getCurrentRevOfUnit','members','/universer-api/snapshot','charCodeAt','objects','withCredentials','unpad','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','dispose','c2Prime','SHOULD_CLOSE_CONN','_clearTimeoutTimer','INVITE_CODE_REQUIRED','failed\x20to\x20apply\x20missed\x20changesets!','_clearScheduledTask','find','loginUrlKey','UPDATE_PERMISSION_OBJ','InsertSheetMutation','/universer-api/stream/file/upload','getDeserializedSheetBlock','YUUMI_CONNECTOR_URL_NOT_FOUND','closeSession','YUUMI_AI_RUN_FAILED','stopTime','UNKNOWN_CODE','_keySchedule','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_clearUndo','Base','[PendingState]:\x20received\x20rejection.','transformMutationsWithChangeset','abs','CHANGESET_ACK','_resendWithTimeout','ITelemetryService','createInstance','exports','ISingleActiveUnitService','save\x20fail\x20reason\x20is\x20','transformUndoRedo','_socket$','_onRemoteRetry','unitID','_queuedRemoteChangesets','[PendingState]:\x20received\x20acknowledgement.','update','LICENSE_IMPORT_SIZE_EXCEEDED','43663543qxSMto','CollaborationEvent','FileId','_initCloseConn','b64DecodeUnicode','fromCharCode','FAIL','__esModule','OFFLINE','size','offline','headers','BASE64','sheets','deserializeToCombResponse','ISocketService','getUnitId','JOIN_ROOM_FAILED','ENTITLE_REPORT_LIMIT_EXCEED','_onRemoteChangeset','_candidateSocket','_transformIMECache','fromCollab','IImageIoService','code','_rescheduleHeartbeat','JOIN','uniscriptRunEvent','changesets','session.room-not-exists','CHANGESET_REVISION_CONFILICT','Subject','joinEvent','ENTITLE_NEED_BILLING_ADDRESS','params','Cipher','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UNIVER_COLLABORATION_CLIENT_PLUGIN','awaiting_with_pending','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','ceil','_createInitialState','open$','_substituteUndoStack','LICENSE_MAX_UNITS_EXCEEDED','image/jpg','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','ENTITLE_COUPON_USED_UP','[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.','&to=','type','message$','_transformSelections','SOCKET_FAILED_RETRY','addHandlerCallback','_onUserJoin','_onRecvEvent','appendMutation','pipe','_schedule','randomBytes','_waitCount','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','responseType','sin','concat','init','send','close$','LIVESHARE_TERMINATE','onCommentUpdate','resend','getUnitOnRev','_unitID','cfg','WECHAT_HAS_BEEN_BOUND','parseChangesetToProtocol','initWorkbookPermissionChange','createCollaborator','[CollaborationSessionService]','AUTHORIZE_CODE_ILLEGAL','unit-cache-','EMAIL_VERIFY_CODE_MISMATCH','UniverCollaborationPlugin','MentionType','_createHelper','OTHER_CLIENTS_EDITING','max','url','_onRemoteRejected','ENSURE_SNAPSHOT_EXECUTION','_getSignURL','formatter','session','_onMessage','SOCKET_FAILED','Hasher','_getCtorByUniverType','getCurrentUser','actions','error','sessionStatus$','fetchMiss','REDEMPTION_CODE_HAS_BEEN_CREATED','random','_entityInit$','_commentUpdate$','7QNyTyP','\x0aCurrent:\x20','originalMeta','JOIN_ROOM_FULL','ClipsheetFragments','UNIVER_SLIDE','ITransformService','pending','deepClone','fetchThroughInterceptors','[CollaborationEntity]','UnitSnapshot','_state$','execute','dispose$','HEARTBEAT_TIMEOUT','liveShareOperation','SheetCollaborationEntity','_emitMembers','mutations','UNRECOGNIZED','APPLY_DUPLICATED','getMember','compute','getTypeOfUnitDisposed$','_updateStatus','_applyRemoteChangeset','BlockCipherMode','FETCH_MISSING','action','_pendingMutations','collaboration_new_changeset','delete','USER_IS_ANONYMOUS','decrypt','getSnapshotAPIPath','unitId\x20is\x20not\x20found','_process','[SyncedState]:\x20received\x20acknowledgement.','onTransformRemoteChangesetByIMECache','isArray','LIVESHARE_FETCH_OPERATIONS','HttpExport','_imageSourceCache','getValue','take','reconnect','symbol','Disposable','name','CollaborationSession','image/png','stringify','_commandService','submit\x20changeset\x20error!','ICollaborationSocketService','Injector','_sendingTimer','ERROR_IMAGE_TYPE','_handlerCallback','_snapshotServerService','/unit/','getUnit','equals','substr','__splitChunk__','removeMember','_getAPIPrefixPath','_xformMode','sessionStatus','collaborators','length','UnitStatus','_onJoinRoomEvent','LOGIN_TOKEN_PROCESSING_FAILED','IAuthzIoService','ImageUploadStatusType','now','msCrypto','transformSelections','set','USER_NOT_INVITED_CODE','entityInit$','setShowComponents','_eventService','onLocalMutation','_getRedoStack','onStateChange','clear','IUndoRedoService','ERROR_IMAGE','findIndex','UNIVER_UNKNOWN','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','synced','from','/fetchmissing?from=','FetchingMissState','BehaviorSubject','hasOwnProperty','subUnitId','_redoStacks','charAt','event$','_incrementRevisionNumber','delay','PasswordBasedCipher','AuthzIoHttpService','_getDownloadEndpointURL','HEARTBEAT','pauseCollaboration','getGlobalObject','_socket','WordArray','REDEMPTION_CODE_NOT_STARTED','AwaitingWithPendingState','_singleActiveUnitService','_tryReconnect','textEncoder','loadUnitOfRevision','CBC','_roomMembers','requireSession','APPLY_REVISION_CONFILICT','session.room-permission-denied','getFocusedUnit','key','toString','_shouldReportTelemetry','POST','parseProtocolChangeset','disposeWithMe','APPLY_NON_SEQUENTIAL_REVISION','unknown','\x0aAfter:\x20','readAsDataURL','YUUMI_NO_CUBOID_FOR_QUESTION','PSEUDO_FETCH_MISSING_RESULT','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','saveSnapshot','_sessions','csRejEvent','Error\x20on\x20receiving\x20event','INVALID_INVITE_CODE','textRanges','_onUserLeave','_httpService','OPTIONAL','onMutationExecutedForCollab','_collabSessionService','_event$','HmacMD5','{fileID}','padding','_config','/universer-api/file/{fileID}/sign-url','defineProperty','PendingState','error$','startsWith','transformChangesets','_iv','saveChangeset','YUUMI_RATE_OVER_LIMIT','updateCursorEvent','objectID','REDEMPTION_INVALID_CODE','_init','onTransformRemoteChangesetByStateCache','sid','pad','PERSON','_clearHeartbeatTimer','REDEMPTION_CODE_INACTIVE','_initDependencies','finalize','/collaborator','requestParams','_socketMessageSubscription','_doFinalize','authzUrl','_transformRemoteChangesetByStateCache','enableCollaboration','c1Prime','algo','loadOfflineData','AWAITING_WITH_PENDING','selections','mode','SerializableCipher','_collaborationPaused','_doCreateSocket','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','COMPRESS_MUTATION_SEND','_HTTPService','_injector','sequenceExecute','setCurrentUser','AES','_createSocket','ALREADY_EXISTS','CompressMutationService','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','state$','avatar','LICENSE_DISTRO_REJECTED','_nRounds','includes','_userManagerService','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','getLatestCsReqIdBySid','LIVESHARE_OPERATION','HmacSHA1','PENDING','[DataLoaderService]','isTransformChangesetsSuccess','_onConnectionOpen','_onOffline','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','connection\x20error','reduce','parse','_changesetReqId','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','CLOSE_ROOM','CipherParams','encode','COMPLETION_FINISHED','_transformStack','Undefined','SheetTransformSelectionsService','sendChangesetTimeout','_members$','JOIN_ROOM_NOT_EXISTS','_minBufferSize','getCurrentSelections','href','signUrlServerUrl','EMAIL_HAS_BEEN_BOUND','createIdentifier','_undoStacks','_waitForHeartbeatResponse','merge','_iKey','_scheduleCollaborationTimeoutTimer','then','registerDependencies','salt'];_0x4f5d=function(){return _0x2627b6;};return _0x4f5d();}const ln='/universer-api/authz';exports['MentionIoHttpService']=class{constructor(_0x23d60d,_0x10bf3a){var _0x45ccd7=_0x33edf5;this['_configService']=_0x23d60d,this[_0x45ccd7(0x1fd)]=_0x10bf3a;}[_0x33edf5(0x17e)](){var _0x45ff7c=_0x33edf5,_0xb4762d;const _0x100d68=this[_0x45ff7c(0x2ba)]['getConfig'](Y);return(_0xb4762d=_0x100d68==null?void 0x0:_0x100d68[_0x45ff7c(0x1ef)])!=null?_0xb4762d:ln;}async['list'](_0x109595){var _0x99c525=_0x33edf5;const _0x4df82d=this[_0x99c525(0x17e)]()+_0x99c525(0x1eb);return{'list':[{'title':_0x99c525(0x85),'mentions':(await this['_HTTPService'][_0x99c525(0x3cc)](_0x4df82d,{'params':{'objectID':_0x109595[_0x99c525(0x30d)],'unitID':_0x109595[_0x99c525(0x30d)]}}))[_0x99c525(0x3f6)][_0x99c525(0x181)][_0x99c525(0x3b9)](_0x1fbd29=>({'objectId':_0x1fbd29['id'],'name':_0x1fbd29[_0x99c525(0x371)][_0x99c525(0x16c)],'metadata':{'icon':_0x1fbd29[_0x99c525(0x371)][_0x99c525(0x207)]},'label':_0x1fbd29[_0x99c525(0x371)]['name'],'objectType':o[_0x99c525(0x124)][_0x99c525(0x1e6)]})),'metadata':{},'type':o['MentionType'][_0x99c525(0x1e6)]}]};}},exports[_0x33edf5(0x2db)]=hn([at(0x0,o[_0x33edf5(0x348)](o['IConfigService'])),at(0x1,o[_0x33edf5(0x348)](K['HTTPService']))],exports[_0x33edf5(0x2db)]);var un=Object[_0x33edf5(0x8d)],vn=(_0x4e4870,_0x1c0e5e,_0x12e02c,_0x582153)=>{for(var _0x227ce4=_0x582153>0x1?void 0x0:_0x582153?un(_0x1c0e5e,_0x12e02c):_0x1c0e5e,_0x4b1cf4=_0x4e4870['length']-0x1,_0x16b04f;_0x4b1cf4>=0x0;_0x4b1cf4--)(_0x16b04f=_0x4e4870[_0x4b1cf4])&&(_0x227ce4=_0x16b04f(_0x227ce4)||_0x227ce4);return _0x227ce4;},le=(_0x59ccf3,_0x2486b2)=>(_0x5d1460,_0x14f48c)=>_0x2486b2(_0x5d1460,_0x14f48c,_0x59ccf3);let ye=class extends o[_0x33edf5(0x37e)]{constructor(_0x222b1b,_0x49fe40,_0x19053f,_0x3454a4,_0x46ca58){var _0x370613=_0x33edf5;super(),this['_injector']=_0x222b1b,this[_0x370613(0x82)]=_0x49fe40,this[_0x370613(0x2a7)]=_0x19053f,this[_0x370613(0x3e9)]=_0x3454a4,this[_0x370613(0x2aa)]=_0x46ca58,this['_initUnitPermissionChange'](),this[_0x370613(0xd3)]();}[_0x33edf5(0xd3)](){var _0x268dbd=_0x33edf5;const _0x43ae88=async _0x3091da=>{var _0x14099d=_0x5256;(await this[_0x14099d(0x3e9)][_0x14099d(0x1b5)](_0x3091da))[_0x14099d(0x1a2)][_0x14099d(0x10a)](V['filter'](_0x42c6e5=>_0x42c6e5[_0x14099d(0x2f2)]===E[_0x14099d(0xd1)][_0x14099d(0xaa)]),V['takeUntil'](this['dispose$']))[_0x14099d(0x2cc)](_0xcec45e=>{var _0x18b76e=_0x14099d;const _0x4778b9=_0xcec45e,{reason:_0x1f33c8}=_0x4778b9['data'];this['_collaborationUIEventService']['emitEvent']({'id':J[_0x18b76e(0x21b)],'data':_0x1f33c8}),this[_0x18b76e(0x2a7)][_0x18b76e(0x2f7)](new Q[(_0x18b76e(0x241))](_0x3091da)['id'],!0x1),this[_0x18b76e(0x3e9)][_0x18b76e(0xb6)](_0x3091da);});};j[_0x268dbd(0x22d)](this[_0x268dbd(0x82)][_0x268dbd(0x3b3)](o[_0x268dbd(0x302)][_0x268dbd(0x290)]),this[_0x268dbd(0x82)]['getTypeOfUnitAdded$'](o[_0x268dbd(0x302)][_0x268dbd(0x317)]))[_0x268dbd(0x10a)](V[_0x268dbd(0x3b9)](_0x31a0da=>_0x31a0da[_0x268dbd(0xe0)]()),V[_0x268dbd(0x261)](_0x5dec30=>!o[_0x268dbd(0x25f)](_0x5dec30)),V['takeUntil'](this[_0x268dbd(0x149)]))[_0x268dbd(0x2cc)](_0x440c1b=>{_0x43ae88(_0x440c1b);});}[_0x33edf5(0x2c0)](){var _0x13afd0=_0x33edf5;const _0x27352f=async _0x3a0414=>{var _0x36b91f=_0x5256;const _0x49aa46=await this[_0x36b91f(0x3e9)][_0x36b91f(0x1b5)](_0x3a0414),_0x5da396=this[_0x36b91f(0x1fe)][_0x36b91f(0x3cc)](Q[_0x36b91f(0x258)]);_0x49aa46[_0x36b91f(0x1a2)]['pipe'](V['filter'](_0x1439c6=>_0x1439c6[_0x36b91f(0x2f2)]===E[_0x36b91f(0xd1)][_0x36b91f(0xb1)]),V['takeUntil'](this[_0x36b91f(0x149)]))[_0x36b91f(0x2cc)](_0x5237b0=>{var _0x36e413=_0x36b91f;const _0x23b3ae=_0x5237b0,{objectId:_0x37fa31}=_0x23b3ae[_0x36e413(0x34f)];_0x37fa31===_0x3a0414?_0x5da396[_0x36e413(0x11d)](_0x3a0414):_0x5da396[_0x36e413(0x23b)](_0x3a0414,_0x37fa31);});};j['merge'](this[_0x13afd0(0x82)][_0x13afd0(0x3b3)](o[_0x13afd0(0x302)][_0x13afd0(0x290)]))['pipe'](V['map'](_0x215212=>_0x215212[_0x13afd0(0xe0)]()),V[_0x13afd0(0x261)](_0x2a5928=>!o[_0x13afd0(0x25f)](_0x2a5928)),V[_0x13afd0(0x28c)](this[_0x13afd0(0x149)]))[_0x13afd0(0x2cc)](_0x25ae3c=>{_0x27352f(_0x25ae3c);});}};ye=vn([le(0x0,o['Inject'](o['Injector'])),le(0x1,o[_0x33edf5(0x2c1)]),le(0x2,o[_0x33edf5(0x2c6)]),le(0x3,o[_0x33edf5(0x348)](exports['CollaborationSessionService'])),le(0x4,o['Inject'](ee))],ye);var dn=Object[_0x33edf5(0x8d)],Sn=(_0x3aa312,_0x35e338,_0x20a901,_0x24a342)=>{var _0x96c006=_0x33edf5;for(var _0x2b01e9=_0x24a342>0x1?void 0x0:_0x24a342?dn(_0x35e338,_0x20a901):_0x35e338,_0x183f3d=_0x3aa312[_0x96c006(0x182)]-0x1,_0x43a998;_0x183f3d>=0x0;_0x183f3d--)(_0x43a998=_0x3aa312[_0x183f3d])&&(_0x2b01e9=_0x43a998(_0x2b01e9)||_0x2b01e9);return _0x2b01e9;},ot=(_0x8be66b,_0x5c583a)=>(_0x13409b,_0x542b89)=>_0x5c583a(_0x13409b,_0x542b89,_0x8be66b);exports[_0x33edf5(0x7d)]=class{constructor(_0x472343,_0x166780){this['_configService']=_0x472343,this['_httpService']=_0x166780;}async[_0x33edf5(0x118)](_0xbbc51c,_0x21068b){var _0x3a662e=_0x33edf5,_0x493634;const {unitID:_0x3096c4,type:_0x3fe5a6,revision:_0x4dd74a=0x0}=_0x21068b,_0x16067d=this[_0x3a662e(0x15e)]()+'/'+_0x3fe5a6+_0x3a662e(0x178)+_0x3096c4+'/rev/'+_0x4dd74a,_0xf35c52=(await this[_0x3a662e(0x1cd)][_0x3a662e(0x3cc)](_0x16067d))[_0x3a662e(0x3f6)],_0x1592b6=(_0x493634=_0xf35c52[_0x3a662e(0x2f5)])==null?void 0x0:_0x493634['workbook'];if(_0x1592b6){const _0x70cccb=_0x1592b6==null?void 0x0:_0x1592b6['originalMeta'],_0x5d2c94=E[_0x3a662e(0x1b1)]['encode'](E[_0x3a662e(0xd4)](_0x70cccb));_0x1592b6[_0x3a662e(0x13d)]=_0x5d2c94,Object['entries'](_0x1592b6[_0x3a662e(0xdd)])[_0x3a662e(0x3f0)](([,_0x7c49b7])=>{var _0x1b0ac4=_0x3a662e;const _0x56900b=_0x7c49b7[_0x1b0ac4(0x13d)],_0x58f788=E[_0x1b0ac4(0x1b1)][_0x1b0ac4(0x21d)](E['b64DecodeUnicode'](_0x56900b));_0x7c49b7[_0x1b0ac4(0x13d)]=_0x58f788;});}return _0xf35c52;}async['getSheetBlock'](_0xbb9253,_0x33c65e){var _0x17865f=_0x33edf5;const {unitID:_0x48899f,type:_0x3cf481,blockID:_0x2cd7d9}=_0x33c65e,_0x13bb48=this['_getAPIPrefix']()+'/'+_0x3cf481+'/unit/'+_0x48899f+_0x17865f(0x3a8)+_0x2cd7d9;return(await this[_0x17865f(0x1cd)][_0x17865f(0x3cc)](_0x13bb48))['body'];}async[_0x33edf5(0xb4)](_0x17d144,_0x7b5777){var _0x2a4feb=_0x33edf5;const {unitID:_0x184f7d,type:_0x11d945,blockID:_0x3920f4}=_0x7b5777,_0x2c4a7f=this[_0x2a4feb(0x2de)]()+_0x2a4feb(0x3a8)+_0x11d945+_0x2a4feb(0x178)+_0x184f7d+_0x2a4feb(0x3a8)+_0x3920f4;return(await this[_0x2a4feb(0x1cd)]['get'](_0x2c4a7f))[_0x2a4feb(0x3f6)];}async['fetchMissingChangesets'](_0x3d72db,_0x3ca771){var _0xbba70e=_0x33edf5;const {unitID:_0x506223,type:_0x4859c8,from:_0x13763a,to:_0x3919b9}=_0x3ca771,_0x3ab32b=this['_getAPIPrefix']()+'/'+_0x4859c8+_0xbba70e(0x178)+_0x506223+_0xbba70e(0x19b)+_0x13763a+_0xbba70e(0x101)+_0x3919b9;return(await this[_0xbba70e(0x1cd)][_0xbba70e(0x3cc)](_0x3ab32b))[_0xbba70e(0x3f6)];}['getSnapshotAPIPath'](){var _0x2ccdc2=_0x33edf5,_0x3c88af;return(_0x3c88af=this[_0x2ccdc2(0x2ba)][_0x2ccdc2(0x2d9)](yt))!=null?_0x3c88af:this[_0x2ccdc2(0x2de)]();}[_0x33edf5(0x2de)](){var _0x24e8f2=_0x33edf5,_0x521299;const _0x20e8eb=this[_0x24e8f2(0x2ba)][_0x24e8f2(0x2d9)](Y);return(_0x521299=_0x20e8eb==null?void 0x0:_0x20e8eb['snapshotServerUrl'])!=null?_0x521299:Dt;}async['getResourcesRequest'](_0x324a40,_0x479a13){var _0x4ae6a3=_0x33edf5;const _0x56e416='/universer-api/snapshot/'+_0x479a13['type']+'/unit/'+_0x479a13[_0x4ae6a3(0xcb)]+_0x4ae6a3(0x32d);return(await this[_0x4ae6a3(0x1cd)][_0x4ae6a3(0x3cc)](_0x56e416,{'params':{'resourceId':JSON[_0x4ae6a3(0x16f)](_0x479a13['resourceIDs'])}}))[_0x4ae6a3(0x3f6)];}[_0x33edf5(0x1c6)](){var _0x1c625d=_0x33edf5;throw new Error(_0x1c625d(0x2ca));}['updateSnapshot'](){var _0x422a9f=_0x33edf5;throw new Error(_0x422a9f(0x2ca));}[_0x33edf5(0x23c)](){var _0x100302=_0x33edf5;throw new Error(_0x100302(0x2ca));}[_0x33edf5(0x1dd)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){var _0x500045=_0x33edf5;throw new Error(_0x500045(0x2ca));}[_0x33edf5(0x20d)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x33edf5(0x7d)]=Sn([ot(0x0,o[_0x33edf5(0x37c)]),ot(0x1,o[_0x33edf5(0x348)](K[_0x33edf5(0x93)]))],exports[_0x33edf5(0x7d)]);var In=Object[_0x33edf5(0x8d)],fn=(_0x25fe76,_0x1bf04b,_0x349ce5,_0x234789)=>{var _0x2a8612=_0x33edf5;for(var _0x57ac98=_0x234789>0x1?void 0x0:_0x234789?In(_0x1bf04b,_0x349ce5):_0x1bf04b,_0x2d4704=_0x25fe76[_0x2a8612(0x182)]-0x1,_0x3515c2;_0x2d4704>=0x0;_0x2d4704--)(_0x3515c2=_0x25fe76[_0x2d4704])&&(_0x57ac98=_0x3515c2(_0x57ac98)||_0x57ac98);return _0x57ac98;},ue=(_0x3408b0,_0x2e0658)=>(_0x50cb36,_0x109bd7)=>_0x2e0658(_0x50cb36,_0x109bd7,_0x3408b0);exports['CollaborativeUndoRedoService']=class extends o[_0x33edf5(0x273)]{constructor(_0x253e8d,_0x16ace0,_0x5787b1,_0x27a705,_0x353d08){var _0xc1859e=_0x33edf5;super(_0x253e8d,_0x16ace0,_0x5787b1),this[_0xc1859e(0x3f2)]=_0x27a705,this[_0xc1859e(0x353)]=_0x353d08;}[_0x33edf5(0xc8)](_0x2af8dc,_0xa99a4c){var _0x18b429=_0x33edf5;const _0x14a507=this['_getUndoStack'](_0x2af8dc);if(_0x14a507)try{const _0x339ca3=this[_0x18b429(0x21f)](_0x14a507,_0xa99a4c);this[_0x18b429(0xfb)](_0x2af8dc,_0x339ca3);}catch(_0x48a307){this['_logService'][_0x18b429(0x134)](_0x18b429(0x3ee),_0x48a307),this[_0x18b429(0xbc)](_0x2af8dc);}const _0x2b7e7a=this[_0x18b429(0x191)](_0x2af8dc);if(_0x2b7e7a)try{const _0x374031=this['_transformStack'](_0x2b7e7a,_0xa99a4c);this[_0x18b429(0x333)](_0x2af8dc,_0x374031);}catch(_0x4f3677){this[_0x18b429(0x353)][_0x18b429(0x134)](_0x4f3677),this[_0x18b429(0x2e2)](_0x2af8dc);}}['_clearUndo'](_0x21463d){var _0x56c24c=_0x33edf5;const _0x2c546f=this[_0x56c24c(0x3f7)](_0x21463d);_0x2c546f&&(_0x2c546f['length']=0x0,this[_0x56c24c(0x154)]());}[_0x33edf5(0x2e2)](_0x4f0782){var _0x19c891=_0x33edf5;const _0x137db8=this[_0x19c891(0x191)](_0x4f0782);_0x137db8&&(_0x137db8[_0x19c891(0x182)]=0x0,this[_0x19c891(0x154)]());}[_0x33edf5(0xfb)](_0x3a93af,_0x31944d){var _0x26aa9b=_0x33edf5;this[_0x26aa9b(0x22b)]['set'](_0x3a93af,_0x31944d),this[_0x26aa9b(0x154)]();}[_0x33edf5(0x333)](_0x57cece,_0x3a6a6c){var _0x36d183=_0x33edf5;this[_0x36d183(0x1a0)][_0x36d183(0x18b)](_0x57cece,_0x3a6a6c),this[_0x36d183(0x154)]();}[_0x33edf5(0x21f)](_0x3e58cc,_0x5f27b2){var _0x279e8b=_0x33edf5;const _0xb722d2=[];let _0x63abab=_0x5f27b2,_0x2008e8=_0x5f27b2;for(let _0x234233=_0x3e58cc[_0x279e8b(0x182)]-0x1;_0x234233>=0x0;_0x234233--){const {unitID:_0x119e02,undoMutations:_0x4d31d4,redoMutations:_0x2beffa}=_0x3e58cc[_0x234233],_0x41ffe1=this[_0x279e8b(0x3f2)]['transformMutationsWithChangeset'](_0x63abab,_0x4d31d4),_0x8cff42=this['_transformService']['transformMutationsWithChangeset'](_0x2008e8,_0x2beffa);if(E[_0x279e8b(0x318)](_0x41ffe1)||E[_0x279e8b(0x318)](_0x8cff42)){this[_0x279e8b(0x353)]['error']('[CollaborationUndoRedoService]',_0x279e8b(0x3df),_0x41ffe1,_0x8cff42);break;}_0x63abab=_0x41ffe1[_0x279e8b(0x1f2)],_0x2008e8=_0x8cff42[_0x279e8b(0x1f2)],_0xb722d2[_0x279e8b(0x38d)]({'unitID':_0x119e02,'undoMutations':_0x41ffe1[_0x279e8b(0x2b9)],'redoMutations':_0x8cff42['m2Prime']});}return _0xb722d2[_0x279e8b(0x257)]();}},exports[_0x33edf5(0x2da)]=fn([ue(0x0,o[_0x33edf5(0x2c1)]),ue(0x1,o['ICommandService']),ue(0x2,o['IContextService']),ue(0x3,E[_0x33edf5(0x141)]),ue(0x4,o[_0x33edf5(0x2e7)])],exports['CollaborativeUndoRedoService']);var En=Object[_0x33edf5(0x1d7)],pn=Object[_0x33edf5(0x8d)],mn=(_0x537a19,_0x5d89a9,_0x183421)=>_0x5d89a9 in _0x537a19?En(_0x537a19,_0x5d89a9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x183421}):_0x537a19[_0x5d89a9]=_0x183421,gn=(_0x382007,_0x5e2f5e,_0x2e2c42,_0xa01c91)=>{for(var _0x552b0b=_0xa01c91>0x1?void 0x0:_0xa01c91?pn(_0x5e2f5e,_0x2e2c42):_0x5e2f5e,_0x3db257=_0x382007['length']-0x1,_0x3be4c5;_0x3db257>=0x0;_0x3db257--)(_0x3be4c5=_0x382007[_0x3db257])&&(_0x552b0b=_0x3be4c5(_0x552b0b)||_0x552b0b);return _0x552b0b;},we=(_0x303a26,_0x210264)=>(_0x4c794c,_0x139ca4)=>_0x210264(_0x4c794c,_0x139ca4,_0x303a26),Tn=(_0x590d13,_0x225c1e,_0x303ceb)=>mn(_0x590d13,_0x225c1e+'',_0x303ceb);const Cn=_0x33edf5(0xf5);exports[_0x33edf5(0x3a9)]=class extends o[_0x33edf5(0x321)]{constructor(_0x2a5d29,_0x20e85f,_0x16c9ec,_0xe470d7){var _0x13b48c=_0x33edf5;super(),A(this,_0x13b48c(0x1d5)),(this[_0x13b48c(0x353)]=_0x20e85f,this['_injector']=_0x16c9ec,this[_0x13b48c(0x2ba)]=_0xe470d7);const {..._0x4d4db7}=o['merge']({},Zt,_0x2a5d29);if(!_0x4d4db7['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x13b48c(0x1d5)]=_0x4d4db7,this[_0x13b48c(0x2ba)]['setConfig'](Y,_0x4d4db7);}['onStarting'](){var _0x12e2b2=_0x33edf5;this[_0x12e2b2(0x37a)](),this[_0x12e2b2(0x1e9)]();}['_registerDependencies'](){var _0x1cdf7c=_0x33edf5,_0x24edea,_0x5458d7;this[_0x1cdf7c(0x1fe)]['has'](o[_0x1cdf7c(0x194)])&&this[_0x1cdf7c(0x353)][_0x1cdf7c(0x134)](_0x1cdf7c(0x36c),_0x1cdf7c(0x215));const _0x5948ec=o['mergeOverrideWithDependencies']([[o['IUndoRedoService'],{'useClass':exports[_0x1cdf7c(0x2da)]}],[exports[_0x1cdf7c(0x343)]],[exports['MemberService']],[exports[_0x1cdf7c(0x221)]],[Ne],[De],[$e],[ye],[ee],[exports[_0x1cdf7c(0x84)]],[Fe,{'useClass':this[_0x1cdf7c(0x1d5)][_0x1cdf7c(0x260)]}],[E[_0x1cdf7c(0x2ee)],{'useClass':exports[_0x1cdf7c(0x7d)]}],[o[_0x1cdf7c(0x186)],{'useClass':exports[_0x1cdf7c(0x1a6)]}],[z[_0x1cdf7c(0xe7)],{'useClass':exports[_0x1cdf7c(0x2fe)]}],[o['IMentionIOService'],{'useClass':exports[_0x1cdf7c(0x2db)]}],[exports[_0x1cdf7c(0x3ad)]],[xe]],(_0x24edea=this[_0x1cdf7c(0x1d5)])==null?void 0x0:_0x24edea[_0x1cdf7c(0x99)]);if(!((_0x5458d7=this['_config'])!=null&&_0x5458d7['enableSingleActiveInstanceLock'])){const _0x16aeeb=_0x5948ec[_0x1cdf7c(0x196)](([_0x48af6c])=>_0x48af6c===ve);_0x16aeeb!==-0x1&&_0x5948ec[_0x1cdf7c(0x9f)](_0x16aeeb,0x1);}o[_0x1cdf7c(0x231)](this[_0x1cdf7c(0x1fe)],_0x5948ec);}['_initDependencies'](){var _0xc43fa9=_0x33edf5,_0x11e870,_0x512694,_0x143b84;this['_injector'][_0xc43fa9(0x3cc)](K['HTTPService'])['registerHTTPInterceptor']({'priority':0x14,'interceptor':K[_0xc43fa9(0x35d)]({'maxParallel':0x6})}),(_0x11e870=this[_0xc43fa9(0x1d5)])!=null&&_0x11e870[_0xc43fa9(0x2e8)]||(_0x512694=this[_0xc43fa9(0x1fe)][_0xc43fa9(0x3cc)](q,o[_0xc43fa9(0x8f)][_0xc43fa9(0x1ce)]))==null||_0x512694['disableLocalCache'](),(_0x143b84=this[_0xc43fa9(0x1d5)])!=null&&_0x143b84[_0xc43fa9(0x363)]&&o['touchDependencies'](this[_0xc43fa9(0x1fe)],[[Ne]]),o['touchDependencies'](this[_0xc43fa9(0x1fe)],[[De],[exports[_0xc43fa9(0x3ad)]],[ye]]);}},Tn(exports['UniverCollaborationClientPlugin'],_0x33edf5(0x25b),Cn),exports[_0x33edf5(0x3a9)]=gn([o[_0x33edf5(0x255)](E[_0x33edf5(0x123)],K[_0x33edf5(0x3eb)]),we(0x1,o['ILogService']),we(0x2,o[_0x33edf5(0x348)](o['Injector'])),we(0x3,o[_0x33edf5(0x37c)])],exports['UniverCollaborationClientPlugin']),exports[_0x33edf5(0x10e)]=Y,exports[_0x33edf5(0x33b)]=je,exports['CollaborationUIEventId']=J,exports[_0x33edf5(0x2cd)]=ee,exports['CommentService']=$e,exports[_0x33edf5(0x2b3)]=_t,exports[_0x33edf5(0x389)]=jt,exports[_0x33edf5(0x340)]=At,exports['HEARTBEAT_INTERVAL_KEY']=ht,exports[_0x33edf5(0x356)]=ke,exports[_0x33edf5(0x172)]=Fe,exports[_0x33edf5(0x8c)]=q,exports['INetworkConditionService']=Et,exports[_0x33edf5(0xc6)]=ve,exports[_0x33edf5(0x2a4)]=xt,exports['LOCAL_CACHE_INTERVAL_KEY']=wt,exports[_0x33edf5(0x248)]=Ht,exports[_0x33edf5(0x393)]=ut,exports[_0x33edf5(0x3f9)]=se,exports[_0x33edf5(0x183)]=He,exports[_0x33edf5(0xde)]=pt,exports[_0x33edf5(0x395)]=qt,exports['serializeCombRequest']=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;