@univerjs-pro/collaboration-client 0.16.1 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) 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/sk-SK.js +1 -1
  12. package/lib/cjs/locale/vi-VN.js +1 -1
  13. package/lib/cjs/locale/zh-CN.js +1 -1
  14. package/lib/cjs/locale/zh-TW.js +1 -1
  15. package/lib/es/facade.js +1 -1
  16. package/lib/es/index.js +1 -1
  17. package/lib/es/locale/ca-ES.js +1 -1
  18. package/lib/es/locale/en-US.js +1 -1
  19. package/lib/es/locale/es-ES.js +1 -1
  20. package/lib/es/locale/fa-IR.js +1 -1
  21. package/lib/es/locale/fr-FR.js +1 -1
  22. package/lib/es/locale/ja-JP.js +1 -1
  23. package/lib/es/locale/ko-KR.js +1 -1
  24. package/lib/es/locale/ru-RU.js +1 -1
  25. package/lib/es/locale/sk-SK.js +1 -1
  26. package/lib/es/locale/vi-VN.js +1 -1
  27. package/lib/es/locale/zh-CN.js +1 -1
  28. package/lib/es/locale/zh-TW.js +1 -1
  29. package/lib/facade.js +1 -1
  30. package/lib/index.js +1 -1
  31. package/lib/locale/ca-ES.js +1 -1
  32. package/lib/locale/en-US.js +1 -1
  33. package/lib/locale/es-ES.js +1 -1
  34. package/lib/locale/fa-IR.js +1 -1
  35. package/lib/locale/fr-FR.js +1 -1
  36. package/lib/locale/ja-JP.js +1 -1
  37. package/lib/locale/ko-KR.js +1 -1
  38. package/lib/locale/ru-RU.js +1 -1
  39. package/lib/locale/sk-SK.js +1 -1
  40. package/lib/locale/vi-VN.js +1 -1
  41. package/lib/locale/zh-CN.js +1 -1
  42. package/lib/locale/zh-TW.js +1 -1
  43. package/lib/types/plugin.d.ts +4 -2
  44. package/lib/umd/facade.js +1 -1
  45. package/lib/umd/index.js +1 -1
  46. package/lib/umd/locale/ca-ES.js +1 -1
  47. package/lib/umd/locale/en-US.js +1 -1
  48. package/lib/umd/locale/es-ES.js +1 -1
  49. package/lib/umd/locale/fa-IR.js +1 -1
  50. package/lib/umd/locale/fr-FR.js +1 -1
  51. package/lib/umd/locale/ja-JP.js +1 -1
  52. package/lib/umd/locale/ko-KR.js +1 -1
  53. package/lib/umd/locale/ru-RU.js +1 -1
  54. package/lib/umd/locale/sk-SK.js +1 -1
  55. package/lib/umd/locale/vi-VN.js +1 -1
  56. package/lib/umd/locale/zh-CN.js +1 -1
  57. package/lib/umd/locale/zh-TW.js +1 -1
  58. package/package.json +11 -11
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x44d730=_0x2b21;(function(_0x41f2c2,_0x2d5ad4){var _0x548938=_0x2b21,_0x2eff6d=_0x41f2c2();while(!![]){try{var _0x10cd9a=parseInt(_0x548938(0x389))/0x1*(-parseInt(_0x548938(0x2f6))/0x2)+parseInt(_0x548938(0x2de))/0x3+-parseInt(_0x548938(0x2ae))/0x4*(-parseInt(_0x548938(0x46b))/0x5)+parseInt(_0x548938(0x4fe))/0x6*(parseInt(_0x548938(0x201))/0x7)+-parseInt(_0x548938(0x505))/0x8+-parseInt(_0x548938(0x4ed))/0x9*(parseInt(_0x548938(0x2e9))/0xa)+parseInt(_0x548938(0x38a))/0xb*(parseInt(_0x548938(0x4d6))/0xc);if(_0x10cd9a===_0x2d5ad4)break;else _0x2eff6d['push'](_0x2eff6d['shift']());}catch(_0x3b82c6){_0x2eff6d['push'](_0x2eff6d['shift']());}}}(_0x28b2,0x56260));var Rt=Object[_0x44d730(0x385)],Nt=(_0x35a0cd,_0x7fb33,_0x2593fa)=>_0x7fb33 in _0x35a0cd?Rt(_0x35a0cd,_0x7fb33,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2593fa}):_0x35a0cd[_0x7fb33]=_0x2593fa,A=(_0x281ad4,_0x43f3da,_0x164bc3)=>Nt(_0x281ad4,typeof _0x43f3da!=_0x44d730(0x3b6)?_0x43f3da+'':_0x43f3da,_0x164bc3);Object[_0x44d730(0x385)](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'),Dt=require('@univerjs/telemetry'),V=require('rxjs/operators'),K=require('@univerjs/network'),_t=require('@univerjs-pro/license'),z=require('@univerjs/drawing'),yt=_0x44d730(0x552),Ut=_0x44d730(0x292),At=0x7d0,ht=_0x44d730(0x541),Pt=_0x44d730(0x51e),lt=_0x44d730(0x20c),Lt=0x7530,ke=_0x44d730(0x258),ut=0x4e20,Mt=0x4e20,vt='RETRY_CONNECTING_MAX_COUNT',wt=0x3,xt=_0x44d730(0x3ee),kt=0x3e8,$t='/universer-api/comb',Ht='/universer-api/oidc/authpage',jt=_0x44d730(0x2eb),Bt=_0x44d730(0x390);var dt=(_0x2c9915=>(_0x2c9915[_0x2c9915['UNDEFINED']=0x0]='UNDEFINED',_0x2c9915[_0x2c9915['OK']=0x1]='OK',_0x2c9915[_0x2c9915['INTERNAL_ERROR']=0x2]=_0x44d730(0x4ce),_0x2c9915[_0x2c9915['PERMISSION_DENIED']=0x3]=_0x44d730(0x222),_0x2c9915[_0x2c9915['NOT_FOUND']=0x4]=_0x44d730(0x3b3),_0x2c9915[_0x2c9915['UNAUTHENTICATED']=0x5]=_0x44d730(0x23f),_0x2c9915[_0x2c9915[_0x44d730(0x363)]=0x6]=_0x44d730(0x363),_0x2c9915[_0x2c9915[_0x44d730(0x35c)]=0x7]=_0x44d730(0x35c),_0x2c9915[_0x2c9915[_0x44d730(0x3a7)]=0x8]='TOO_MANY_REQUESTS',_0x2c9915[_0x2c9915[_0x44d730(0x2d4)]=0x9]='COMPLETION_FINISHED',_0x2c9915[_0x2c9915[_0x44d730(0x423)]=0xa]=_0x44d730(0x423),_0x2c9915[_0x2c9915[_0x44d730(0x2a1)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x2c9915[_0x2c9915[_0x44d730(0x420)]=0xc]=_0x44d730(0x420),_0x2c9915[_0x2c9915[_0x44d730(0x200)]=0xd]=_0x44d730(0x200),_0x2c9915[_0x2c9915[_0x44d730(0x47c)]=0xe]=_0x44d730(0x47c),_0x2c9915[_0x2c9915[_0x44d730(0x388)]=0xf]=_0x44d730(0x388),_0x2c9915[_0x2c9915[_0x44d730(0x463)]=0x10]=_0x44d730(0x463),_0x2c9915[_0x2c9915[_0x44d730(0x34d)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x2c9915[_0x2c9915['ERROR_AGAIN']=0x65]='ERROR_AGAIN',_0x2c9915[_0x2c9915[_0x44d730(0x206)]=0xc9]='USER_NOT_FOUND',_0x2c9915[_0x2c9915[_0x44d730(0x3e4)]=0xca]='USER_IS_ANONYMOUS',_0x2c9915[_0x2c9915[_0x44d730(0x331)]=0x1389]=_0x44d730(0x331),_0x2c9915[_0x2c9915[_0x44d730(0x3b4)]=0x1771]=_0x44d730(0x3b4),_0x2c9915[_0x2c9915[_0x44d730(0x4bc)]=0x1772]=_0x44d730(0x4bc),_0x2c9915[_0x2c9915[_0x44d730(0x3b0)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2c9915[_0x2c9915[_0x44d730(0x2cf)]=0x1b59]=_0x44d730(0x2cf),_0x2c9915[_0x2c9915['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x44d730(0x3ae),_0x2c9915[_0x2c9915[_0x44d730(0x528)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2c9915[_0x2c9915['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x44d730(0x3a0),_0x2c9915[_0x2c9915[_0x44d730(0x23c)]=0x1b5d]=_0x44d730(0x23c),_0x2c9915[_0x2c9915[_0x44d730(0x36f)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x2c9915[_0x2c9915[_0x44d730(0x203)]=0x2329]=_0x44d730(0x203),_0x2c9915[_0x2c9915[_0x44d730(0x460)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2c9915[_0x2c9915[_0x44d730(0x3fa)]=0x232b]=_0x44d730(0x3fa),_0x2c9915[_0x2c9915['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2c9915[_0x2c9915['LICENSE_DISTRO_REJECTED']=0x232d]=_0x44d730(0x4b2),_0x2c9915[_0x2c9915[_0x44d730(0x446)]=0x2711]=_0x44d730(0x446),_0x2c9915[_0x2c9915[_0x44d730(0x3a9)]=0x2712]=_0x44d730(0x3a9),_0x2c9915[_0x2c9915[_0x44d730(0x3a5)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2c9915[_0x2c9915[_0x44d730(0x422)]=0x2714]=_0x44d730(0x422),_0x2c9915[_0x2c9915[_0x44d730(0x39c)]=0x271a]=_0x44d730(0x39c),_0x2c9915[_0x2c9915[_0x44d730(0x232)]=0x271b]=_0x44d730(0x232),_0x2c9915[_0x2c9915['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x44d730(0x2aa),_0x2c9915[_0x2c9915['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x2c9915[_0x2c9915[_0x44d730(0x4a2)]=0x271e]=_0x44d730(0x4a2),_0x2c9915[_0x2c9915[_0x44d730(0x28f)]=0x271f]=_0x44d730(0x28f),_0x2c9915[_0x2c9915[_0x44d730(0x4e8)]=0x2720]=_0x44d730(0x4e8),_0x2c9915[_0x2c9915[_0x44d730(0x45a)]=0x2af9]=_0x44d730(0x45a),_0x2c9915[_0x2c9915[_0x44d730(0x297)]=0x2ee1]=_0x44d730(0x297),_0x2c9915[_0x2c9915['INVALID_INVITE_CODE']=0x2ee2]=_0x44d730(0x421),_0x2c9915[_0x2c9915[_0x44d730(0x2b8)]=0x2ee3]=_0x44d730(0x2b8),_0x2c9915[_0x2c9915[_0x44d730(0x368)]=0x2ee4]=_0x44d730(0x368),_0x2c9915[_0x2c9915[_0x44d730(0x33f)]=0x2ee5]=_0x44d730(0x33f),_0x2c9915[_0x2c9915[_0x44d730(0x44c)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x2c9915[_0x2c9915[_0x44d730(0x3f8)]=0x32ca]=_0x44d730(0x3f8),_0x2c9915[_0x2c9915['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x44d730(0x499),_0x2c9915[_0x2c9915['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x2c9915[_0x2c9915[_0x44d730(0x4cf)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x2c9915[_0x2c9915[_0x44d730(0x4e2)]=0x36b3]=_0x44d730(0x4e2),_0x2c9915[_0x2c9915[_0x44d730(0x514)]=0x36b4]=_0x44d730(0x514),_0x2c9915[_0x2c9915['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x44d730(0x530),_0x2c9915[_0x2c9915['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x44d730(0x462),_0x2c9915[_0x2c9915[_0x44d730(0x50d)]=0x36b7]=_0x44d730(0x50d),_0x2c9915[_0x2c9915[_0x44d730(0x207)]=0x36b8]=_0x44d730(0x207),_0x2c9915[_0x2c9915[_0x44d730(0x542)]=0x3715]=_0x44d730(0x542),_0x2c9915[_0x2c9915[_0x44d730(0x4ba)]=0x3716]=_0x44d730(0x4ba),_0x2c9915[_0x2c9915[_0x44d730(0x56c)]=0x3717]=_0x44d730(0x56c),_0x2c9915[_0x2c9915[_0x44d730(0x273)]=0x37dd]=_0x44d730(0x273),_0x2c9915[_0x2c9915[_0x44d730(0x55a)]=0x3a99]=_0x44d730(0x55a),_0x2c9915[_0x2c9915['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x44d730(0x1e8),_0x2c9915[_0x2c9915[_0x44d730(0x50e)]=0x3a9b]=_0x44d730(0x50e),_0x2c9915[_0x2c9915[_0x44d730(0x445)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x2c9915[_0x2c9915[_0x44d730(0x20d)]=0x3a9d]=_0x44d730(0x20d),_0x2c9915[_0x2c9915['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x44d730(0x31d),_0x2c9915[_0x2c9915[_0x44d730(0x410)]=0x3a9f]=_0x44d730(0x410),_0x2c9915[_0x2c9915[_0x44d730(0x1e1)]=0x3e81]=_0x44d730(0x1e1),_0x2c9915[_0x2c9915[_0x44d730(0x405)]=-0x1]=_0x44d730(0x405),_0x2c9915))(dt||{}),X=(_0x2cdb07=>(_0x2cdb07[_0x2cdb07[_0x44d730(0x216)]=0x0]='UNIVER_UNKNOWN',_0x2cdb07[_0x2cdb07['UNIVER_DOC']=0x1]=_0x44d730(0x548),_0x2cdb07[_0x2cdb07['UNIVER_SHEET']=0x2]=_0x44d730(0x536),_0x2cdb07[_0x2cdb07['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x2cdb07[_0x2cdb07[_0x44d730(0x47f)]=0x4]=_0x44d730(0x47f),_0x2cdb07[_0x2cdb07[_0x44d730(0x405)]=-0x1]=_0x44d730(0x405),_0x2cdb07))(X||{}),W=(_0xe23716=>(_0xe23716[_0xe23716[_0x44d730(0x3d0)]=0x0]=_0x44d730(0x3d0),_0xe23716[_0xe23716[_0x44d730(0x4e1)]=0x1]=_0x44d730(0x4e1),_0xe23716[_0xe23716[_0x44d730(0x3be)]=0x2]=_0x44d730(0x3be),_0xe23716[_0xe23716[_0x44d730(0x32d)]=0x3]=_0x44d730(0x32d),_0xe23716[_0xe23716['INGEST']=0x4]=_0x44d730(0x46f),_0xe23716[_0xe23716[_0x44d730(0x43d)]=0x5]='HEARTBEAT',_0xe23716[_0xe23716[_0x44d730(0x215)]=0x6]=_0x44d730(0x215),_0xe23716[_0xe23716['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0xe23716))(W||{}),re=(_0x3438fc=>(_0x3438fc[_0x3438fc[_0x44d730(0x33c)]=0x0]=_0x44d730(0x33c),_0x3438fc[_0x3438fc['OK']=0x1]='OK',_0x3438fc[_0x3438fc[_0x44d730(0x543)]=0x2]=_0x44d730(0x543),_0x3438fc[_0x3438fc[_0x44d730(0x4ab)]=0x3e9]=_0x44d730(0x4ab),_0x3438fc[_0x3438fc[_0x44d730(0x39e)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x3438fc[_0x3438fc['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x44d730(0x38f),_0x3438fc[_0x3438fc[_0x44d730(0x244)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x3438fc[_0x3438fc[_0x44d730(0x405)]=-0x1]=_0x44d730(0x405),_0x3438fc))(re||{}),St=(_0x452712=>(_0x452712[_0x452712[_0x44d730(0x490)]=0x0]=_0x44d730(0x490),_0x452712[_0x452712[_0x44d730(0x444)]=0x1]=_0x44d730(0x444),_0x452712[_0x452712['HttpExport']=0x2]=_0x44d730(0x477),_0x452712[_0x452712['UnitEmbedded']=0x3]=_0x44d730(0x509),_0x452712[_0x452712[_0x44d730(0x276)]=0x4]=_0x44d730(0x276),_0x452712[_0x452712[_0x44d730(0x36c)]=0x5]=_0x44d730(0x36c),_0x452712[_0x452712['ClipsheetFragments']=0x6]=_0x44d730(0x1ec),_0x452712[_0x452712[_0x44d730(0x405)]=-0x1]=_0x44d730(0x405),_0x452712))(St||{});const Ft=_0x44d730(0x3d1);function Vt(_0x14abbd){var _0x4fbe5a=_0x44d730;return JSON['stringify'](_0x14abbd)[_0x4fbe5a(0x53a)];}var J=(_0x24b862=>(_0x24b862[_0x44d730(0x3af)]=_0x44d730(0x3af),_0x24b862[_0x44d730(0x222)]=_0x44d730(0x222),_0x24b862[_0x44d730(0x55e)]='CONFLICT',_0x24b862['CLOSE_ROOM']=_0x44d730(0x29d),_0x24b862[_0x44d730(0x3bf)]=_0x44d730(0x3bf),_0x24b862['SOCKET_FAILED_RETRY']=_0x44d730(0x4f0),_0x24b862[_0x44d730(0x3ba)]=_0x44d730(0x3ba),_0x24b862[_0x44d730(0x519)]='SUBMIT_CHANGESET_TIMEOUT',_0x24b862))(J||{});class ee{constructor(){var _0x73fab2=_0x44d730;A(this,_0x73fab2(0x4b5),new j[(_0x73fab2(0x3c0))]()),A(this,_0x73fab2(0x22e),this['_event$'][_0x73fab2(0x504)]());}[_0x44d730(0x2fd)](_0x28bac8){var _0xbb481a=_0x44d730;this[_0xbb481a(0x4b5)][_0xbb481a(0x269)](_0x28bac8);}}class $e{constructor(){var _0x231ba0=_0x44d730;A(this,_0x231ba0(0x24c),new j[(_0x231ba0(0x3c0))]()),A(this,_0x231ba0(0x4c5),this[_0x231ba0(0x24c)][_0x231ba0(0x504)]());}[_0x44d730(0x1df)](_0x2ec9b1){this['_commentUpdate$']['next'](_0x2ec9b1);}}var Wt=Object[_0x44d730(0x456)],Gt=(_0x4081a9,_0x260f14,_0x3ad3c0,_0x52896b)=>{var _0x267a07=_0x44d730;for(var _0x1de4c8=_0x52896b>0x1?void 0x0:_0x52896b?Wt(_0x260f14,_0x3ad3c0):_0x260f14,_0x7b1e70=_0x4081a9[_0x267a07(0x53a)]-0x1,_0x4e0591;_0x7b1e70>=0x0;_0x7b1e70--)(_0x4e0591=_0x4081a9[_0x7b1e70])&&(_0x1de4c8=_0x4e0591(_0x1de4c8)||_0x1de4c8);return _0x1de4c8;},Ve=(_0x26cd55,_0x454386)=>(_0x1ad54a,_0x1f94bb)=>_0x454386(_0x1ad54a,_0x1f94bb,_0x26cd55);exports[_0x44d730(0x4c1)]=class extends o[_0x44d730(0x2c5)]{constructor(_0x1c0ee6,_0x4412d6){var _0x3c6c04=_0x44d730;super(),A(this,_0x3c6c04(0x321),new Map()),A(this,_0x3c6c04(0x498),new j[(_0x3c6c04(0x3c0))]()),(this[_0x3c6c04(0x3fc)]=_0x1c0ee6,this[_0x3c6c04(0x44f)]=_0x4412d6,this[_0x3c6c04(0x439)](j[_0x3c6c04(0x54d)](this[_0x3c6c04(0x3fc)]['getTypeOfUnitDisposed$'](o[_0x3c6c04(0x40e)][_0x3c6c04(0x536)])[_0x3c6c04(0x448)](V[_0x3c6c04(0x309)](_0x50cdd3=>_0x50cdd3['getUnitId']())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](o[_0x3c6c04(0x40e)][_0x3c6c04(0x548)])[_0x3c6c04(0x448)](V[_0x3c6c04(0x309)](_0x5baf63=>_0x5baf63[_0x3c6c04(0x287)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](o[_0x3c6c04(0x40e)][_0x3c6c04(0x501)])[_0x3c6c04(0x448)](V[_0x3c6c04(0x309)](_0x4ba313=>_0x4ba313[_0x3c6c04(0x287)]())))[_0x3c6c04(0x4e6)](_0x158951=>this['_removeRoom'](_0x158951))));}[_0x44d730(0x2d6)](_0x5d8998){var _0xbb861f=_0x44d730;return this[_0xbb861f(0x321)][_0xbb861f(0x394)](_0x5d8998)?j['of'](this[_0xbb861f(0x321)][_0xbb861f(0x239)](_0x5d8998)):this[_0xbb861f(0x498)]['pipe'](V['map'](_0x7de425=>{var _0x2ac3b7=_0xbb861f;if(_0x7de425===_0x5d8998)return this[_0x2ac3b7(0x321)][_0x2ac3b7(0x239)](_0x7de425);}));}[_0x44d730(0x1e4)](_0x3227fd){var _0x4ae8da=_0x44d730;this['_userManagerService'][_0x4ae8da(0x1e4)](_0x3227fd);}[_0x44d730(0x45f)](){var _0x2fbb06=_0x44d730;return this[_0x2fbb06(0x44f)][_0x2fbb06(0x45f)]();}['updateMember'](_0x4a92a8,_0x219fa9){var _0x17a9d8=_0x44d730;let _0x5b823d=this[_0x17a9d8(0x321)][_0x17a9d8(0x239)](_0x4a92a8);_0x5b823d||(_0x5b823d=new Yt(),this[_0x17a9d8(0x321)]['set'](_0x4a92a8,_0x5b823d),this[_0x17a9d8(0x498)][_0x17a9d8(0x269)](_0x4a92a8)),_0x5b823d[_0x17a9d8(0x572)](_0x219fa9);}[_0x44d730(0x49a)](_0x2dd122,_0x46d52e){var _0x38756b=_0x44d730;const _0x14f969=this[_0x38756b(0x321)][_0x38756b(0x239)](_0x2dd122);_0x14f969&&_0x14f969[_0x38756b(0x49a)](_0x46d52e);}['getRoom'](_0x51a8a2){var _0x267865=_0x44d730;return this['_roomMembers'][_0x267865(0x239)](_0x51a8a2);}[_0x44d730(0x296)](_0x4b055c,_0x26ee39){var _0x2f51e5=_0x44d730;const _0x159fe9=this['_roomMembers'][_0x2f51e5(0x239)](_0x4b055c);if(_0x159fe9)return _0x159fe9[_0x2f51e5(0x296)](_0x26ee39);}[_0x44d730(0x3eb)](_0x56e707){var _0x62fe77=_0x44d730;const _0x16e660=this['_roomMembers'][_0x62fe77(0x239)](_0x56e707);_0x16e660&&(_0x16e660[_0x62fe77(0x407)](),this[_0x62fe77(0x321)][_0x62fe77(0x545)](_0x56e707));}[_0x44d730(0x407)](){var _0x4baf39=_0x44d730;this[_0x4baf39(0x321)][_0x4baf39(0x53e)](_0x3ef209=>_0x3ef209[_0x4baf39(0x407)]()),this[_0x4baf39(0x321)][_0x4baf39(0x24f)](),this['_roomCreated$']['complete']();}},exports[_0x44d730(0x4c1)]=Gt([Ve(0x0,o[_0x44d730(0x487)]),Ve(0x1,o[_0x44d730(0x433)](o[_0x44d730(0x4d0)]))],exports[_0x44d730(0x4c1)]);class Yt extends o['Disposable']{constructor(){var _0x2444df=_0x44d730;super(...arguments),A(this,'_members',new Map()),A(this,_0x2444df(0x341),new j['BehaviorSubject'](this[_0x2444df(0x327)])),A(this,_0x2444df(0x272),this[_0x2444df(0x341)]['asObservable']());}['dispose'](){var _0x3b4784=_0x44d730;this[_0x3b4784(0x327)]['clear']();}[_0x44d730(0x572)](_0x5d6960){var _0x1b9692=_0x44d730;this[_0x1b9692(0x327)][_0x1b9692(0x395)](_0x5d6960[_0x1b9692(0x44a)],_0x5d6960),this[_0x1b9692(0x49e)]();}[_0x44d730(0x49a)](_0x1438ac){var _0x1261ed=_0x44d730;this[_0x1261ed(0x327)]['delete'](_0x1438ac);}[_0x44d730(0x296)](_0xd1a546){var _0x3ec742=_0x44d730;return this['_members'][_0x3ec742(0x239)](_0xd1a546);}[_0x44d730(0x23e)](){var _0x4916f1=_0x44d730;return Array[_0x4916f1(0x476)](this[_0x4916f1(0x327)][_0x4916f1(0x337)]());}['_emitMembers'](){var _0x4c03df=_0x44d730;this[_0x4c03df(0x341)][_0x4c03df(0x269)](this[_0x4c03df(0x327)]);}}var Kt=Object[_0x44d730(0x456)],qt=(_0x17886a,_0x5388d6,_0x42186a,_0x454480)=>{for(var _0x2a8612=_0x454480>0x1?void 0x0:_0x454480?Kt(_0x5388d6,_0x42186a):_0x5388d6,_0xc8db54=_0x17886a['length']-0x1,_0x5b76b0;_0xc8db54>=0x0;_0xc8db54--)(_0x5b76b0=_0x17886a[_0xc8db54])&&(_0x2a8612=_0x5b76b0(_0x2a8612)||_0x2a8612);return _0x2a8612;},ce=(_0x246bd3,_0x42c431)=>(_0x48cd4f,_0x26fe9d)=>_0x42c431(_0x48cd4f,_0x26fe9d,_0x246bd3),se=(_0xac46a9=>(_0xac46a9[_0xac46a9['IDLE']=0x0]=_0x44d730(0x2c3),_0xac46a9[_0xac46a9[_0x44d730(0x484)]=0x1]=_0x44d730(0x484),_0xac46a9[_0xac46a9[_0x44d730(0x345)]=0x2]='OFFLINE',_0xac46a9[_0xac46a9[_0x44d730(0x298)]=0x3]=_0x44d730(0x298),_0xac46a9))(se||{});const We={[re['FAIL']]:_0x44d730(0x2ff),[re['JOIN_ROOM_FULL']]:_0x44d730(0x33a),[re[_0x44d730(0x39e)]]:_0x44d730(0x4b1),[re[_0x44d730(0x38f)]]:'session.room-permission-denied',[re[_0x44d730(0x244)]]:'session.room-cnt-exceeds'};exports[_0x44d730(0x2e4)]=class extends o[_0x44d730(0x37a)]{constructor(_0x3a6f00,_0x1658a6,_0x2d2e00,_0x2cfd59,_0x4738b8,_0x325bf4,_0xfe54e,_0x52968a){var _0x30b67b=_0x44d730;super(),A(this,_0x30b67b(0x263),new j[(_0x30b67b(0x2f1))](0x0)),A(this,_0x30b67b(0x41d),this['_sessionStatus$'][_0x30b67b(0x504)]()),A(this,_0x30b67b(0x4b5),new j['Subject']()),A(this,_0x30b67b(0x22e),this[_0x30b67b(0x4b5)]['asObservable']()),A(this,_0x30b67b(0x2f0)),A(this,_0x30b67b(0x268)),A(this,_0x30b67b(0x366)),A(this,'_shouldReportTelemetry',!0x1),A(this,_0x30b67b(0x52b),null),(this[_0x30b67b(0x416)]=_0x3a6f00,this[_0x30b67b(0x2f9)]=_0x2d2e00,this[_0x30b67b(0x4c8)]=_0x2cfd59,this['_memberService']=_0x4738b8,this[_0x30b67b(0x3dd)]=_0x325bf4,this[_0x30b67b(0x4d3)]=_0xfe54e,this[_0x30b67b(0x241)]=_0x52968a,this[_0x30b67b(0x3ac)]=!!this[_0x30b67b(0x241)],_0x1658a6[_0x30b67b(0x448)](j[_0x30b67b(0x4ac)](this[_0x30b67b(0x406)]))[_0x30b67b(0x4e6)](_0x444cff=>{var _0x459a65=_0x30b67b,_0x11d259;typeof _0x444cff>'u'||(this['_socket']=_0x444cff,_0x444cff?(this[_0x459a65(0x324)](_0x444cff),this['_socketMessageSubscription']=_0x444cff[_0x459a65(0x51f)]['subscribe'](_0xf480f8=>{var _0x18a686=_0x459a65;_0xf480f8['routeKey']===this['_unitID']&&this[_0x18a686(0x533)](_0xf480f8);})):(this[_0x459a65(0x4b7)](),this['_sessionStatus$'][_0x459a65(0x269)](0x2),(_0x11d259=this['_socketMessageSubscription'])==null||_0x11d259[_0x459a65(0x386)](),this['_socketMessageSubscription']=null));}));}get['sessionStatus'](){var _0x4e6f09=_0x44d730;return this['_sessionStatus$'][_0x4e6f09(0x4b0)]();}[_0x44d730(0x4a7)](){var _0x14d393=_0x44d730,_0x1e9947,_0x830aab;return(_0x830aab=(_0x1e9947=this['_socket'])==null?void 0x0:_0x1e9947[_0x14d393(0x44a)])!=null?_0x830aab:null;}['dispose'](){var _0x549468=_0x44d730;super[_0x549468(0x407)](),this['dispose$'][_0x549468(0x269)](),this[_0x549468(0x406)][_0x549468(0x454)]();}['close'](){var _0x590a22=_0x44d730,_0xec590d,_0x5cfc1e;this[_0x590a22(0x4b7)](),(_0xec590d=this[_0x590a22(0x2f0)])==null||_0xec590d['send']({'cmd':W[_0x590a22(0x32d)],'data':{'roomID':this[_0x590a22(0x416)]}}),(_0x5cfc1e=this[_0x590a22(0x2f0)])==null||_0x5cfc1e['close'](),this[_0x590a22(0x4b5)][_0x590a22(0x454)](),this[_0x590a22(0x263)][_0x590a22(0x454)](),this[_0x590a22(0x407)]();}[_0x44d730(0x533)](_0x50b30){var _0x325551=_0x44d730;_0x50b30[_0x325551(0x266)]===W[_0x325551(0x3be)]?this[_0x325551(0x38d)](_0x50b30):_0x50b30[_0x325551(0x266)]===W[_0x325551(0x215)]&&this[_0x325551(0x21e)](_0x50b30);}[_0x44d730(0x324)](_0x41eb5a){var _0x2c7454=_0x44d730;this[_0x2c7454(0x263)]['next'](0x1),_0x41eb5a['send']({'cmd':W['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x2c7454(0x416)]}]}});}[_0x44d730(0x38d)](_0x42eab1){var _0xb92b4d=_0x44d730,_0x4ad13b;if(_0x42eab1['code']in We){this[_0xb92b4d(0x4d3)][_0xb92b4d(0x2fd)]({'id':J[_0xb92b4d(0x3bf)],'data':We[_0x42eab1[_0xb92b4d(0x419)]]}),this[_0xb92b4d(0x263)][_0xb92b4d(0x269)](0x2);return;}this[_0xb92b4d(0x263)][_0xb92b4d(0x269)](0x3);const _0x2cbb2c=(_0x4ad13b=_0x42eab1[_0xb92b4d(0x347)][_0xb92b4d(0x250)][this['_unitID']])==null?void 0x0:_0x4ad13b[_0xb92b4d(0x214)];_0x2cbb2c&&_0x2cbb2c[_0xb92b4d(0x53e)](_0x237d9f=>this['_memberService'][_0xb92b4d(0x572)](this[_0xb92b4d(0x416)],_0x237d9f));}[_0x44d730(0x21e)](_0x20451b){var _0x470bdb=_0x44d730;try{const _0x4d3130=_0x20451b[_0x470bdb(0x347)];switch(_0x4d3130[_0x470bdb(0x497)]){case E['CollaborationEvent'][_0x470bdb(0x3d5)]:this['_onUserJoin'](_0x4d3130),this[_0x470bdb(0x4b5)][_0x470bdb(0x269)](_0x4d3130);break;case E[_0x470bdb(0x4a9)][_0x470bdb(0x470)]:this[_0x470bdb(0x3cb)](_0x4d3130),this[_0x470bdb(0x4b5)][_0x470bdb(0x269)](_0x4d3130);break;case E[_0x470bdb(0x4a9)]['CHANGESET_ACK']:case E[_0x470bdb(0x4a9)]['CHANGESET_SHOULD_RETRY']:this[_0x470bdb(0x3a4)](),this[_0x470bdb(0x2a5)](),this[_0x470bdb(0x4b5)]['next'](_0x4d3130);break;case E[_0x470bdb(0x4a9)][_0x470bdb(0x437)]:this[_0x470bdb(0x2f9)]['error'](_0x470bdb(0x434)+JSON[_0x470bdb(0x432)](_0x4d3130)),this['_event$']['next'](_0x4d3130);break;case E[_0x470bdb(0x4a9)][_0x470bdb(0x55f)]:this[_0x470bdb(0x3dd)][_0x470bdb(0x1df)](_0x4d3130['data']),this[_0x470bdb(0x4b5)][_0x470bdb(0x269)](_0x4d3130);break;default:this[_0x470bdb(0x4b5)][_0x470bdb(0x269)](_0x4d3130);}}catch(_0x388696){this[_0x470bdb(0x2f9)][_0x470bdb(0x4e4)](_0x388696,_0x20451b);}}[_0x44d730(0x267)](_0x5bf34d){var _0x15b4ca=_0x44d730;this['_memberService'][_0x15b4ca(0x572)](this[_0x15b4ca(0x416)],_0x5bf34d['data']);}[_0x44d730(0x3cb)](_0x3b7f10){var _0x43958d=_0x44d730;this[_0x43958d(0x245)][_0x43958d(0x49a)](this['_unitID'],_0x3b7f10[_0x43958d(0x347)]['memberID']);}async['send'](_0x20ab18,_0x241f81){var _0x588fb6=_0x44d730;if(this[_0x588fb6(0x467)]!==0x3||!this[_0x588fb6(0x2f0)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x20ab18['eventID']===E[_0x588fb6(0x4a9)][_0x588fb6(0x558)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x588fb6(0x379)](_0x20ab18)),this[_0x588fb6(0x2f0)][_0x588fb6(0x340)]({'cmd':W['INGEST'],'routeKey':_0x241f81,'routeType':'','data':_0x20ab18});}catch(_0x1570bf){this[_0x588fb6(0x2f9)]['error'](_0x1570bf);}}[_0x44d730(0x3e7)](){var _0x4fd468=_0x44d730,_0x36c40c;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x5acd62=_0x2b21;this[_0x5acd62(0x366)]=null,this[_0x5acd62(0x4d3)][_0x5acd62(0x2fd)]({'id':J[_0x5acd62(0x519)]});},(_0x36c40c=this[_0x4fd468(0x4c8)][_0x4fd468(0x314)](ke))!=null?_0x36c40c:ut);}[_0x44d730(0x2a5)](){var _0x4d9bdb=_0x44d730;this[_0x4d9bdb(0x366)]&&(clearTimeout(this[_0x4d9bdb(0x366)]),this[_0x4d9bdb(0x366)]=null);}[_0x44d730(0x379)](_0x5e031e){var _0x5a8d52=_0x44d730;if(!this[_0x5a8d52(0x3ac)])return;const {data:_0x5e5687}=_0x5e031e,{unitID:_0x52b6ee,changeset:_0x2e4b87}=_0x5e5687,{mutations:_0x561861,type:_0x195a41}=_0x2e4b87;this['_telemetryInfo']={'unitId':_0x52b6ee,'type':_0x195a41,'startTime':performance[_0x5a8d52(0x1e5)](),'stopTime':0x0,'duration':0x0,'size':Vt(_0x561861)};}[_0x44d730(0x3a4)](){var _0x1b9cb3=_0x44d730;if(this[_0x1b9cb3(0x3ac)]){if(!this[_0x1b9cb3(0x52b)]){this[_0x1b9cb3(0x2f9)]['error']('[CollaborationSession]',_0x1b9cb3(0x415));return;}this['_telemetryInfo']['stopTime']=performance[_0x1b9cb3(0x1e5)](),this[_0x1b9cb3(0x52b)][_0x1b9cb3(0x45b)]=this[_0x1b9cb3(0x52b)][_0x1b9cb3(0x1ee)]-this['_telemetryInfo']['startTime'],this[_0x1b9cb3(0x241)][_0x1b9cb3(0x29a)](Ft,this[_0x1b9cb3(0x52b)]),this[_0x1b9cb3(0x52b)]=null;}}[_0x44d730(0x4b7)](){var _0x5cd78c=_0x44d730;this[_0x5cd78c(0x52b)]=null;}},exports['CollaborationSession']=qt([ce(0x2,o[_0x44d730(0x265)]),ce(0x3,o[_0x44d730(0x47e)]),ce(0x4,o[_0x44d730(0x433)](exports[_0x44d730(0x4c1)])),ce(0x5,o[_0x44d730(0x433)]($e)),ce(0x6,o[_0x44d730(0x433)](ee)),ce(0x7,o['Optional'](Dt[_0x44d730(0x561)]))],exports[_0x44d730(0x2e4)]);const q=o[_0x44d730(0x27c)](_0x44d730(0x318));function zt(_0x443ba4){var _0x22c28e=_0x44d730;return _0x22c28e(0x4b8)+_0x443ba4;}var Xt=Object['getOwnPropertyDescriptor'],Jt=(_0x49cbec,_0xcea53e,_0x359783,_0x2f494d)=>{var _0x4bb66f=_0x44d730;for(var _0x44f12c=_0x2f494d>0x1?void 0x0:_0x2f494d?Xt(_0xcea53e,_0x359783):_0xcea53e,_0x21175c=_0x49cbec[_0x4bb66f(0x53a)]-0x1,_0x4c4194;_0x21175c>=0x0;_0x21175c--)(_0x4c4194=_0x49cbec[_0x21175c])&&(_0x44f12c=_0x4c4194(_0x44f12c)||_0x44f12c);return _0x44f12c;},Ue=(_0x2e9d4b,_0x10355e)=>(_0x22e8c8,_0x5dfac5)=>_0x10355e(_0x22e8c8,_0x5dfac5,_0x2e9d4b);function Zt(_0x177df5){var _0x16c059=_0x44d730;const {unitID:_0x218743,mutations:_0x5ba826}=_0x177df5;return{'unitId':_0x218743,'subUnitId':_0x5ba826[_0x16c059(0x53a)]>0x0?_0x5ba826[0x0]['params'][_0x16c059(0x335)]:null};}exports[_0x44d730(0x52e)]=class{constructor(_0x1ffe82,_0x285933,_0x26d763){var _0x309fcc=_0x44d730;this[_0x309fcc(0x3f1)]=_0x1ffe82,this[_0x309fcc(0x2bd)]=_0x285933,this[_0x309fcc(0x4ae)]=_0x26d763;}[_0x44d730(0x396)](_0x4d394d){var _0x2eec28=_0x44d730,_0x4a22f2,_0x331f95,_0x1d6286,_0xc400c1;const _0x4491ad=this[_0x2eec28(0x3f1)][_0x2eec28(0x239)](Q[_0x2eec28(0x516)]),{unitId:_0xee2131,subUnitId:_0x28e0e9}=Zt(_0x4d394d),_0x318fa4=_0x4491ad==null?void 0x0:_0x4491ad[_0x2eec28(0x329)](_0xee2131)[_0x2eec28(0x39b)](),_0x2b9d44=(_0x331f95=(_0x4a22f2=this[_0x2eec28(0x4ae)]['getUnit'](_0xee2131))==null?void 0x0:_0x4a22f2[_0x2eec28(0x24e)]())==null?void 0x0:_0x331f95[_0x2eec28(0x38e)]();if(_0x318fa4[_0x2eec28(0x53a)]===0x0||!_0xee2131||!_0x28e0e9)return;const _0x341cae=[{'id':Q[_0x2eec28(0x25f)]['id'],'params':{'unitId':_0xee2131,'subUnitId':_0x2b9d44,'selections':o[_0x2eec28(0x517)][_0x2eec28(0x4db)](_0x318fa4)}}],_0x1e2d7c=this[_0x2eec28(0x2bd)][_0x2eec28(0x308)](_0x4d394d,_0x341cae);if(!E['isTransformMutationsWithChangesetSuccess'](_0x1e2d7c))throw _0x1e2d7c['error'];const _0x538601=(_0xc400c1=(_0x1d6286=_0x1e2d7c[_0x2eec28(0x3df)][0x0])==null?void 0x0:_0x1d6286[_0x2eec28(0x34f)])==null?void 0x0:_0xc400c1['selections'];if(Array[_0x2eec28(0x537)](_0x538601)&&_0x538601[_0x2eec28(0x53a)]){if(_0x538601['length']===_0x341cae[0x0][_0x2eec28(0x34f)][_0x2eec28(0x4fc)][_0x2eec28(0x53a)]&&_0x538601[_0x2eec28(0x315)]((_0x255b9a,_0x2a3305)=>o[_0x2eec28(0x26f)]['equals'](_0x255b9a[_0x2eec28(0x210)],_0x341cae[0x0][_0x2eec28(0x34f)][_0x2eec28(0x4fc)][_0x2a3305]['range'])))return;this[_0x2eec28(0x3f1)]['get'](o['ICommandService'])[_0x2eec28(0x55d)](Q[_0x2eec28(0x25f)]['id'],{'unitId':_0xee2131,'subUnitId':_0x2b9d44,'selections':_0x538601});}}},exports['SheetTransformSelectionsService']=Jt([Ue(0x0,o[_0x44d730(0x433)](o['Injector'])),Ue(0x1,E[_0x44d730(0x1de)]),Ue(0x2,o[_0x44d730(0x487)])],exports[_0x44d730(0x52e)]);const ve=o[_0x44d730(0x27c)](_0x44d730(0x228));var He=(_0x4a87f5=>(_0x4a87f5[_0x4a87f5[_0x44d730(0x1fa)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4a87f5[_0x4a87f5['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x4a87f5))(He||{});const Y='collaboration-client.config',Qt={};function ei(_0x2aaab7){var _0x227dd3=_0x44d730,_0x1c6e01;return!!((_0x1c6e01=_0x2aaab7[_0x227dd3(0x34f)])!=null&&_0x1c6e01['__splitChunk__']);}const ti=new Set([Q[_0x44d730(0x436)]['id']]);function Ge(_0xea61ec,_0x287710,_0x2f920d,_0x2a7cde,_0x39c9b9){var _0x175309=_0x44d730,_0x23cb7f,_0x4fbd38,_0x1bc0aa,_0xa95483;const _0x4feee5=[];for(const _0x39af31 of _0xea61ec){if(ti[_0x175309(0x394)](_0x39af31['id'])){if(_0x4feee5['length']>0x0)break;_0x4feee5[_0x175309(0x4b4)](_0x39af31);break;}if(ei(_0x39af31)){if(_0x4feee5[_0x175309(0x53a)]>0x0)break;_0x4feee5[_0x175309(0x4b4)](_0x39af31);break;}_0x4feee5[_0x175309(0x4b4)](_0x39af31);}const _0x269907=(_0x4fbd38=(_0x23cb7f=_0x39c9b9[_0x175309(0x45f)]())==null?void 0x0:_0x23cb7f[_0x175309(0x288)])!=null?_0x4fbd38:_0x175309(0x540),_0x574d8e=(_0xa95483=(_0x1bc0aa=_0x39c9b9[_0x175309(0x45f)]())==null?void 0x0:_0x1bc0aa['memberID'])!=null?_0xa95483:_0x175309(0x540);return{'changeset':{'unitID':_0x287710,'type':E[_0x175309(0x3d7)](_0x2f920d[_0x175309(0x4be)](_0x287710)),'baseRev':_0x2a7cde['getCurrentRevOfUnit'](_0x287710),'revision':0x0,'userID':_0x269907,'memberID':_0x574d8e,'mutations':_0x4feee5},'pendingMutations':_0xea61ec[_0x175309(0x3fb)](_0x4feee5[_0x175309(0x53a)])};}function ii(_0x4aa1ff,_0x503a49,_0x46a922,_0x1417c9,_0x5d56cb){var _0x2ae6bf=_0x44d730,_0x378fcd,_0x3866ea,_0x3b8b66,_0x1f5418;const _0x1a5c76=[_0x4aa1ff[_0x2ae6bf(0x472)]((_0x45f3f6,_0x7a1809)=>{var _0x5d4f54=_0x2ae6bf,_0x6c6883;const {id:_0x428a61}=_0x45f3f6,{id:_0x5ca768,type:_0x1a50a5}=_0x7a1809,_0x5defb3=(_0x6c6883=_0x45f3f6[_0x5d4f54(0x34f)])!=null?_0x6c6883:{'actions':null},_0x5885a1=_0x7a1809[_0x5d4f54(0x34f)];if(_0x428a61&&_0x428a61!==_0x5ca768)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x428a61+_0x5d4f54(0x384)+_0x5ca768+'.');return{..._0x45f3f6,'id':_0x5ca768,'type':_0x1a50a5,'params':{'unitId':_0x5885a1[_0x5d4f54(0x464)],'textRanges':_0x5885a1[_0x5d4f54(0x2d0)],'actions':o['JSONX'][_0x5d4f54(0x35f)](_0x5defb3[_0x5d4f54(0x219)],_0x5885a1[_0x5d4f54(0x219)])}};},{})],_0x517fd6=(_0x3866ea=(_0x378fcd=_0x5d56cb[_0x2ae6bf(0x45f)]())==null?void 0x0:_0x378fcd[_0x2ae6bf(0x288)])!=null?_0x3866ea:_0x2ae6bf(0x540),_0x1d61bc=(_0x1f5418=(_0x3b8b66=_0x5d56cb[_0x2ae6bf(0x45f)]())==null?void 0x0:_0x3b8b66[_0x2ae6bf(0x44a)])!=null?_0x1f5418:'unknown';return{'changeset':{'unitID':_0x503a49,'type':E['mapDocumentTypeToUniverType'](_0x46a922[_0x2ae6bf(0x4be)](_0x503a49)),'baseRev':_0x1417c9[_0x2ae6bf(0x488)](_0x503a49),'revision':0x0,'userID':_0x517fd6,'memberID':_0x1d61bc,'mutations':_0x1a5c76},'pendingMutations':[]};}function It(_0x4ef542,_0x31d27e){var _0x4621fa=_0x44d730;const _0x13c7e4=new j[(_0x4621fa(0x2bc))](0x1);return setTimeout(()=>_0x13c7e4[_0x4621fa(0x269)](_0x31d27e),_0x4ef542),_0x13c7e4[_0x4621fa(0x504)]()[_0x4621fa(0x448)](j[_0x4621fa(0x3d8)](0x1));}var ni=Object['getOwnPropertyDescriptor'],ae=(_0x22c6f3,_0x4cd32c,_0x1ebd8c,_0x331f1b)=>{var _0x356018=_0x44d730;for(var _0x3ceb53=_0x331f1b>0x1?void 0x0:_0x331f1b?ni(_0x4cd32c,_0x1ebd8c):_0x4cd32c,_0x4cb343=_0x22c6f3[_0x356018(0x53a)]-0x1,_0x415b44;_0x4cb343>=0x0;_0x4cb343--)(_0x415b44=_0x22c6f3[_0x4cb343])&&(_0x3ceb53=_0x415b44(_0x3ceb53)||_0x3ceb53);return _0x3ceb53;},L=(_0x42960d,_0x4269ed)=>(_0x315a18,_0x3679b0)=>_0x4269ed(_0x315a18,_0x3679b0,_0x42960d),je=(_0x226230=>(_0x226230[_0x44d730(0x226)]=_0x44d730(0x443),_0x226230['SYNCED']='synced',_0x226230[_0x44d730(0x27b)]='pending',_0x226230[_0x44d730(0x52f)]=_0x44d730(0x1f1),_0x226230[_0x44d730(0x49c)]='awaiting_with_pending',_0x226230[_0x44d730(0x26e)]='fetch_missing',_0x226230[_0x44d730(0x55e)]=_0x44d730(0x2e1),_0x226230['OFFLINE']=_0x44d730(0x3f6),_0x226230))(je||{});const ft=0x4e20,Et=0x2bf20;class oe{constructor(_0x59dbbb,_0xde8ef1,_0x2e91dc,_0x30c19d,_0x12fc0b,_0x5b1985,_0x134f6a,_0x151ccb,_0x406e0f){var _0x55c74e=_0x44d730;A(this,'_awaitingChangeset',null),A(this,_0x55c74e(0x3f0),[]),(this[_0x55c74e(0x20f)]=_0x59dbbb,this[_0x55c74e(0x319)]=_0xde8ef1,this['_handler']=_0x12fc0b,this[_0x55c74e(0x22b)]=_0x5b1985,this[_0x55c74e(0x4df)]=_0x134f6a,this['_revisionService']=_0x151ccb,this[_0x55c74e(0x2af)]=_0x406e0f,this[_0x55c74e(0x323)]=_0x2e91dc,this[_0x55c74e(0x3f0)]=_0x30c19d);}['_checkMissing'](_0xe3dc6e){var _0x1d6555=_0x44d730;const _0x3f8c98=this[_0x1d6555(0x4f7)][_0x1d6555(0x488)](this['unitID']);return _0xe3dc6e[_0x1d6555(0x236)]>_0x3f8c98+0x1?(this[_0x1d6555(0x531)][_0x1d6555(0x403)]({'from':_0x3f8c98,'to':_0xe3dc6e[_0x1d6555(0x236)]-0x1}),!0x0):!0x1;}[_0x44d730(0x350)](_0x2b6f48){var _0x21ad42=_0x44d730;this[_0x21ad42(0x4df)]['transformUndoRedo'](this[_0x21ad42(0x20f)],_0x2b6f48);}[_0x44d730(0x2d1)](_0x3d9d39){var _0x4e18c2=_0x44d730,_0x5d7889,_0x5edc83;(_0x5edc83=(_0x5d7889=this[_0x4e18c2(0x531)])['onTransformSelections'])==null||_0x5edc83[_0x4e18c2(0x2da)](_0x5d7889,_0x3d9d39);}[_0x44d730(0x430)](_0x26a354){var _0x341b67=_0x44d730,_0x5b5514,_0x3e50ea;return(_0x3e50ea=(_0x5b5514=this[_0x341b67(0x531)])['onTransformIME'])==null?void 0x0:_0x3e50ea['call'](_0x5b5514,_0x26a354);}[_0x44d730(0x559)](_0x2c5e37){var _0x504e59=_0x44d730,_0xf5779,_0x5d18f2;return(_0x5d18f2=(_0xf5779=this[_0x504e59(0x531)])[_0x504e59(0x401)])==null?void 0x0:_0x5d18f2['call'](_0xf5779,_0x2c5e37);}[_0x44d730(0x574)](_0x552558){var _0x3b17ce=_0x44d730,_0x4bba8c,_0x11c736,_0x4b124a;return(_0x4b124a=(_0x11c736=(_0x4bba8c=this[_0x3b17ce(0x531)])[_0x3b17ce(0x3ec)])==null?void 0x0:_0x11c736[_0x3b17ce(0x2da)](_0x4bba8c,_0x552558))!=null?_0x4b124a:_0x552558;}[_0x44d730(0x48c)](_0x1c9185){var _0x25f7af=_0x44d730,_0x283579,_0x1c693c,_0x30680e;return(_0x30680e=(_0x1c693c=(_0x283579=this[_0x25f7af(0x531)])[_0x25f7af(0x344)])==null?void 0x0:_0x1c693c['call'](_0x283579,_0x1c9185))!=null?_0x30680e:_0x1c9185;}['_syncEditingCollabCursor'](_0x40114b){var _0x25327a=_0x44d730,_0x5e83d8,_0x277ebb;if(this[_0x25327a(0x319)]===X[_0x25327a(0x548)]){const {unitID:_0x2c71f1,mutations:_0x3453e7,memberID:_0x1ed80b}=_0x40114b,_0x149b40=_0x3453e7[_0x25327a(0x53a)]>0x0?_0x3453e7[0x0][_0x25327a(0x34f)][_0x25327a(0x2d0)]:[];Array['isArray'](_0x149b40)&&_0x149b40['length']>0x0&&((_0x277ebb=(_0x5e83d8=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x277ebb[_0x25327a(0x2da)](_0x5e83d8,{'unitID':_0x2c71f1,'memberID':_0x1ed80b,'textRanges':_0x149b40}));}}['_updateLocalCache'](){var _0x19a733=_0x44d730,_0x4dc000;(_0x4dc000=this['_localCacheService'])==null||_0x4dc000['updateOfflineData'](this[_0x19a733(0x20f)],this[_0x19a733(0x319)],this[_0x19a733(0x323)],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x1c4938=_0x44d730;return this[_0x1c4938(0x4f7)][_0x1c4938(0x488)](this[_0x1c4938(0x20f)]);}['_incrementRevisionNumber'](){var _0x45b8cd=_0x44d730;this[_0x45b8cd(0x4f7)][_0x45b8cd(0x32f)](this[_0x45b8cd(0x20f)]);}[_0x44d730(0x213)](_0x4fdf6e){var _0x3af2ba=_0x44d730,_0x539d5e;let _0xc06399=this[_0x3af2ba(0x574)](_0x4fdf6e);_0xc06399=this[_0x3af2ba(0x48c)](_0xc06399);const _0x1e90bf=o['sequenceExecute'](_0xc06399[_0x3af2ba(0x3a8)],this[_0x3af2ba(0x22b)],{'fromCollab':!0x0});if(!_0x1e90bf[_0x3af2ba(0x282)])throw _0x1e90bf[_0x3af2ba(0x4e4)]instanceof Error?_0x1e90bf[_0x3af2ba(0x4e4)]:new Error((_0x539d5e=_0x1e90bf[_0x3af2ba(0x4e4)])!=null?_0x539d5e:_0x3af2ba(0x20b));this[_0x3af2ba(0x430)](_0xc06399),this[_0x3af2ba(0x559)](_0xc06399),this['_transformUndoredo'](_0x4fdf6e),this['_transformSelections'](_0xc06399),this[_0x3af2ba(0x3fd)](_0xc06399),this[_0x3af2ba(0x3ea)]();}}exports[_0x44d730(0x468)]=class extends oe{constructor(_0x25cf7f,_0x49240f,_0x215123,_0x3bd0ed,_0x55499a,_0x44dc0f,_0x44f37d,_0x1281bc,_0x36aa58,_0x1b8a60){var _0xfb27ec=_0x44d730;super(_0x25cf7f,_0x49240f,null,[],_0x215123,_0x44f37d,_0x44dc0f,_0x3bd0ed,_0x1b8a60),A(this,'status',_0xfb27ec(0x506)),(this[_0xfb27ec(0x3f1)]=_0x55499a,this[_0xfb27ec(0x2f9)]=_0x1281bc,this[_0xfb27ec(0x2bd)]=_0x36aa58,this['localCacheService']=_0x1b8a60);}[_0x44d730(0x374)](_0xa8e8e2){var _0xd35227=_0x44d730;const _0x5a6786=this[_0xd35227(0x3f1)]['createInstance'](exports['PendingState'],this[_0xd35227(0x20f)],this[_0xd35227(0x319)],[_0xa8e8e2],this['_handler']);return _0x5a6786['_schedule'](),_0x5a6786[_0xd35227(0x569)](),_0x5a6786;}[_0x44d730(0x2e6)](_0xfaacf2){var _0x544fa9=_0x44d730;if(this[_0x544fa9(0x3e0)](_0xfaacf2))return this['_injector']['createInstance'](exports['FetchingMissState'],this[_0x544fa9(0x20f)],this['type'],null,[],null,[_0xfaacf2],this[_0x544fa9(0x531)]);try{const _0xf7749f=this[_0x544fa9(0x2bd)][_0x544fa9(0x308)](_0xfaacf2,[E['EmptyMutationInfo']]);if(E[_0x544fa9(0x24d)](_0xf7749f)){const {c1Prime:_0x4b97e8}=_0xf7749f;return this[_0x544fa9(0x213)](_0x4b97e8),this;}throw _0xf7749f['error'];}catch(_0x521995){return this[_0x544fa9(0x2f9)][_0x544fa9(0x4e4)](_0x521995),this[_0x544fa9(0x23b)](!0x1);}}[_0x44d730(0x23b)](_0x250772){var _0x27a63e=_0x44d730;return this['_injector']['createInstance'](exports[_0x27a63e(0x4c0)],this['unitID'],this['type'],null,[],this[_0x27a63e(0x531)],_0x250772);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x44d730(0x33d)](){var _0x40122c=_0x44d730;throw new Error(_0x40122c(0x3a2));}[_0x44d730(0x3b9)](){return this;}[_0x44d730(0x449)](){var _0x4ddf84=_0x44d730;return this[_0x4ddf84(0x3f1)]['createInstance'](exports[_0x4ddf84(0x2a0)],this[_0x4ddf84(0x20f)],this[_0x4ddf84(0x319)],null,[],this[_0x4ddf84(0x531)]);}[_0x44d730(0x22c)](){return this;}[_0x44d730(0x4f4)](){var _0x219962=_0x44d730;throw new Error(_0x219962(0x44d));}['fetchMiss'](){var _0x38da72=_0x44d730;const _0x221e29=this[_0x38da72(0x4f7)][_0x38da72(0x488)](this[_0x38da72(0x20f)]);return this[_0x38da72(0x531)][_0x38da72(0x403)]({'from':_0x221e29,'to':0x0}),this[_0x38da72(0x3f1)][_0x38da72(0x447)](exports['FetchingMissState'],this[_0x38da72(0x20f)],this['type'],null,[],null,[],this[_0x38da72(0x531)]);}},exports[_0x44d730(0x468)]=ae([L(0x3,o[_0x44d730(0x433)](E[_0x44d730(0x3f9)])),L(0x4,o[_0x44d730(0x433)](o[_0x44d730(0x54f)])),L(0x5,o[_0x44d730(0x290)]),L(0x6,o[_0x44d730(0x2fa)]),L(0x7,o['ILogService']),L(0x8,E[_0x44d730(0x1de)]),L(0x9,o[_0x44d730(0x493)](q))],exports[_0x44d730(0x468)]),exports[_0x44d730(0x435)]=class extends oe{constructor(_0x4421a9,_0xddad1,_0x2bd4c0,_0x3efd47,_0x42d8cb,_0x292ace,_0x60d71e,_0xa9842f,_0x11b66c,_0x5f22d1,_0x5e08b5,_0x4bec19,_0x10b392,_0x2c0484){var _0x1f1519=_0x44d730;super(_0x4421a9,_0xddad1,null,_0x2bd4c0,_0x3efd47,_0x11b66c,_0x10b392,_0x292ace,_0x2c0484),A(this,_0x1f1519(0x373),_0x1f1519(0x550)),A(this,_0x1f1519(0x3e8),null),A(this,'_sendingTimer',null),(this[_0x1f1519(0x3f1)]=_0x42d8cb,this[_0x1f1519(0x245)]=_0x60d71e,this[_0x1f1519(0x2f9)]=_0xa9842f,this[_0x1f1519(0x4c8)]=_0x5f22d1,this['_transformService']=_0x5e08b5,this[_0x1f1519(0x3fc)]=_0x4bec19);}[_0x44d730(0x374)](_0x28b7dc){var _0xc726fa=_0x44d730;return this[_0xc726fa(0x3f0)][_0xc726fa(0x4b4)](_0x28b7dc),this['_updateLocalCache'](),this;}[_0x44d730(0x2e6)](_0x12d9f4){var _0x28a7fd=_0x44d730;if(this[_0x28a7fd(0x3e0)](_0x12d9f4))return this[_0x28a7fd(0x4eb)](),this[_0x28a7fd(0x3f1)]['createInstance'](exports['FetchingMissState'],this[_0x28a7fd(0x20f)],this[_0x28a7fd(0x319)],null,this[_0x28a7fd(0x3f0)],null,[_0x12d9f4],this[_0x28a7fd(0x531)]);try{const _0x328c2d=this[_0x28a7fd(0x2bd)][_0x28a7fd(0x308)](_0x12d9f4,this['_pendingMutations']);if(E[_0x28a7fd(0x24d)](_0x328c2d)){const {c1Prime:_0x10c35e,m2Prime:_0x1bd557}=_0x328c2d;this[_0x28a7fd(0x213)](_0x10c35e);const _0x3520fe=this['_injector']['createInstance'](exports['PendingState'],this['unitID'],this[_0x28a7fd(0x319)],_0x1bd557,this[_0x28a7fd(0x531)]);this[_0x28a7fd(0x4eb)]();const _0x29609e=new Date()[_0x28a7fd(0x1fd)](),_0x51908e=this[_0x28a7fd(0x3e8)]?Math[_0x28a7fd(0x40a)](this[_0x28a7fd(0x3e8)]-_0x29609e,0x0):this[_0x28a7fd(0x218)]();return _0x3520fe[_0x28a7fd(0x2a6)](_0x51908e),_0x3520fe;}throw _0x328c2d[_0x28a7fd(0x4e4)];}catch(_0x4c15e5){return this[_0x28a7fd(0x2f9)]['error'](_0x4c15e5),this[_0x28a7fd(0x23b)](!0x1);}}[_0x44d730(0x3db)](){var _0x4848df=_0x44d730;throw new Error(_0x4848df(0x2b2));}[_0x44d730(0x33d)](){var _0x93aaf=_0x44d730;throw new Error(_0x93aaf(0x249));}['onRemoteRetry'](){return this;}[_0x44d730(0x449)](){var _0x2b54e8=_0x44d730;return this[_0x2b54e8(0x4eb)](),this[_0x2b54e8(0x3f1)]['createInstance'](exports[_0x2b54e8(0x2a0)],this[_0x2b54e8(0x20f)],this[_0x2b54e8(0x319)],null,this['_pendingMutations'],this['_handler']);}[_0x44d730(0x22c)](){return this;}[_0x44d730(0x2a6)](_0x5bcc6a){var _0x427765=_0x44d730;const _0x3cc8ee=_0x5bcc6a!=null?_0x5bcc6a:this[_0x427765(0x218)]();this[_0x427765(0x3e8)]=new Date()['getTime']()+_0x3cc8ee,this[_0x427765(0x2f2)]=setTimeout(()=>{var _0x43e793=_0x427765;this[_0x43e793(0x4eb)]();let _0x3ab775=null;switch(this['type']){case X[_0x43e793(0x536)]:{_0x3ab775=Ge(this['_pendingMutations'],this[_0x43e793(0x20f)],this[_0x43e793(0x3fc)],this[_0x43e793(0x4f7)],this['_memberService']);break;}case X[_0x43e793(0x548)]:{this['_pendingMutations'][_0x43e793(0x315)](_0x2e6cf0=>_0x2e6cf0['id']===ct[_0x43e793(0x4b3)]['id'])?_0x3ab775=ii(this[_0x43e793(0x3f0)],this['unitID'],this[_0x43e793(0x3fc)],this[_0x43e793(0x4f7)],this[_0x43e793(0x245)]):_0x3ab775=Ge(this[_0x43e793(0x3f0)],this[_0x43e793(0x20f)],this[_0x43e793(0x3fc)],this['_revisionService'],this[_0x43e793(0x245)]);break;}default:throw new Error(_0x43e793(0x475)+this[_0x43e793(0x319)]+_0x43e793(0x227));}const {changeset:_0x969b99,pendingMutations:_0x385918}=_0x3ab775;this[_0x43e793(0x531)][_0x43e793(0x237)](_0x969b99);const _0x371cb3=_0x385918[_0x43e793(0x53a)]?this[_0x43e793(0x3f1)][_0x43e793(0x447)](exports[_0x43e793(0x27f)],this[_0x43e793(0x20f)],this[_0x43e793(0x319)],_0x969b99,_0x385918,this[_0x43e793(0x531)],void 0x0):this[_0x43e793(0x3f1)][_0x43e793(0x447)](exports[_0x43e793(0x45d)],this[_0x43e793(0x20f)],this[_0x43e793(0x319)],_0x969b99,this['_handler']);_0x371cb3[_0x43e793(0x569)](),this[_0x43e793(0x531)][_0x43e793(0x212)](this,_0x371cb3);},_0x3cc8ee);}[_0x44d730(0x218)](){var _0x59bb1d=_0x44d730,_0x1c96b8;const _0x79edbc=this[_0x59bb1d(0x4c8)][_0x59bb1d(0x314)](Y);return(_0x1c96b8=_0x79edbc==null?void 0x0:_0x79edbc['sendChangesetTimeout'])!=null?_0x1c96b8:At;}[_0x44d730(0x4f4)](){var _0xf1399c=_0x44d730;throw new Error(_0xf1399c(0x48e));}[_0x44d730(0x4eb)](){var _0x208409=_0x44d730;this[_0x208409(0x2f2)]!=null&&(clearTimeout(this[_0x208409(0x2f2)]),this[_0x208409(0x2f2)]=null);}['_onConflict'](_0x3bc1e1){var _0x290784=_0x44d730;return this[_0x290784(0x4eb)](),this[_0x290784(0x3f1)][_0x290784(0x447)](exports['ConflictState'],this[_0x290784(0x20f)],this[_0x290784(0x319)],null,this['_pendingMutations'],this[_0x290784(0x531)],_0x3bc1e1);}},exports[_0x44d730(0x435)]=ae([L(0x4,o[_0x44d730(0x433)](o['Injector'])),L(0x5,o['Inject'](E[_0x44d730(0x3f9)])),L(0x6,o['Inject'](exports[_0x44d730(0x4c1)])),L(0x7,o[_0x44d730(0x265)]),L(0x8,o[_0x44d730(0x2fa)]),L(0x9,o[_0x44d730(0x47e)]),L(0xa,E[_0x44d730(0x1de)]),L(0xb,o[_0x44d730(0x487)]),L(0xc,o[_0x44d730(0x290)]),L(0xd,o[_0x44d730(0x493)](q))],exports['PendingState']),exports['AwaitingState']=class extends oe{constructor(_0x457c73,_0xb8da5e,_0x2f6e3c,_0x20c2d8,_0x441d05,_0x71abdb,_0xc39cd3,_0x420741,_0x9c0d87,_0x4b8e51,_0x32df67){var _0x10e35b=_0x44d730;super(_0x457c73,_0xb8da5e,_0x2f6e3c,[],_0x20c2d8,_0xc39cd3,_0x4b8e51,_0x71abdb,_0x32df67),A(this,'status',_0x10e35b(0x1f1)),A(this,_0x10e35b(0x1e6),0x0),A(this,_0x10e35b(0x573),0x0),A(this,_0x10e35b(0x4ec)),A(this,_0x10e35b(0x503)),(this[_0x10e35b(0x3f1)]=_0x441d05,this[_0x10e35b(0x2f9)]=_0x420741,this[_0x10e35b(0x2bd)]=_0x9c0d87);}[_0x44d730(0x374)](_0x5cf702){var _0x4f65d5=_0x44d730;this[_0x4f65d5(0x4eb)]();const _0x22c9a8=this['_injector'][_0x4f65d5(0x447)](exports[_0x4f65d5(0x27f)],this[_0x4f65d5(0x20f)],this['type'],this[_0x4f65d5(0x323)],[_0x5cf702],this[_0x4f65d5(0x531)],this['_resendTimer']);return _0x22c9a8[_0x4f65d5(0x569)](),_0x22c9a8;}[_0x44d730(0x2e6)](_0x302737){var _0x2cf190=_0x44d730;if(this['_checkMissing'](_0x302737))return this[_0x2cf190(0x4eb)](),this[_0x2cf190(0x3f1)][_0x2cf190(0x447)](exports['FetchingMissState'],this[_0x2cf190(0x20f)],this[_0x2cf190(0x319)],this[_0x2cf190(0x323)],[],null,[_0x302737],this[_0x2cf190(0x531)]);try{const _0x3f4405=this[_0x2cf190(0x2bd)][_0x2cf190(0x38b)]([_0x302737],[this[_0x2cf190(0x323)]],!0x1);if(E[_0x2cf190(0x365)](_0x3f4405)){const {c1Prime:_0x5f20f1,c2Prime:_0x297a9d}=_0x3f4405;this['_executeRemoteChangeset'](_0x5f20f1[0x0]),_0x297a9d[0x0][_0x2cf190(0x211)]=this['_getCurrentRevision'](),this[_0x2cf190(0x4eb)]();const _0x2c8f97=this[_0x2cf190(0x3f1)][_0x2cf190(0x447)](exports[_0x2cf190(0x45d)],this[_0x2cf190(0x20f)],this['type'],_0x297a9d[0x0],this['_handler']);return _0x2c8f97[_0x2cf190(0x569)](),_0x2c8f97;}return this[_0x2cf190(0x23b)](!0x1);}catch(_0x43209a){return this[_0x2cf190(0x2f9)]['error'](_0x43209a),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x4eb747){var _0x438e78=_0x44d730;this[_0x438e78(0x4eb)]();const _0x33a317=this[_0x438e78(0x4f7)]['getCurrentRevOfUnit'](this[_0x438e78(0x20f)]);if(_0x4eb747['revision']<_0x33a317-0x1)return this;if(this[_0x438e78(0x3e0)](_0x4eb747))return this[_0x438e78(0x3f1)]['createInstance'](exports['FetchingMissState'],this[_0x438e78(0x20f)],this[_0x438e78(0x319)],null,[],this[_0x438e78(0x323)],[],this[_0x438e78(0x531)]);this[_0x438e78(0x3ea)]();const _0x58c22d=this['_injector']['createInstance'](exports[_0x438e78(0x468)],this[_0x438e78(0x20f)],this[_0x438e78(0x319)],this[_0x438e78(0x531)]);return _0x58c22d[_0x438e78(0x569)](),_0x58c22d;}[_0x44d730(0x33d)](_0x2aad6a){var _0x6108d9=_0x44d730;return this[_0x6108d9(0x23b)](!!(_0x2aad6a!=null&&_0x2aad6a[_0x6108d9(0x46a)]));}[_0x44d730(0x3b9)](_0x56703f){var _0x4e8b68=_0x44d730;return this[_0x4e8b68(0x573)]>Et?this[_0x4e8b68(0x449)]():(this[_0x4e8b68(0x4ec)]=It(this[_0x4e8b68(0x1e6)],{'timeout':this[_0x4e8b68(0x1e6)],'reqId':_0x56703f[_0x4e8b68(0x36a)]}),this[_0x4e8b68(0x503)]=this[_0x4e8b68(0x4ec)][_0x4e8b68(0x4e6)](({reqId:_0xf609c7,timeout:_0x4a489d})=>{var _0xabd509=_0x4e8b68;this[_0xabd509(0x450)](_0xf609c7,_0x4a489d);}),this);}[_0x44d730(0x449)](){var _0x3913aa=_0x44d730;return this[_0x3913aa(0x4eb)](),this[_0x3913aa(0x3f1)][_0x3913aa(0x447)](exports[_0x3913aa(0x2a0)],this[_0x3913aa(0x20f)],this[_0x3913aa(0x319)],this[_0x3913aa(0x323)],[],this[_0x3913aa(0x531)]);}[_0x44d730(0x22c)](){return this;}[_0x44d730(0x4f4)](){var _0x24964e=_0x44d730;this[_0x24964e(0x531)][_0x24964e(0x237)](this['_awaitingChangeset']);}[_0x44d730(0x23b)](_0x1448ba){var _0x46d925=_0x44d730;return this[_0x46d925(0x4eb)](),this[_0x46d925(0x3f1)]['createInstance'](exports[_0x46d925(0x4c0)],this[_0x46d925(0x20f)],this[_0x46d925(0x319)],this[_0x46d925(0x323)],[],this['_handler'],_0x1448ba);}['_resendWithTimeout'](_0x2fd44f,_0x1565d2){var _0x10ec5a=_0x44d730,_0x15af29;_0x2fd44f===((_0x15af29=this['_awaitingChangeset'])==null?void 0x0:_0x15af29['reqId'])&&(this[_0x10ec5a(0x4f4)](),this[_0x10ec5a(0x1e6)]=_0x1565d2===0x0?0x3e8:Math[_0x10ec5a(0x1ff)](_0x1565d2*0x2,ft),this[_0x10ec5a(0x573)]+=this[_0x10ec5a(0x1e6)]);}['_clearScheduledTask'](){var _0x2656c5=_0x44d730,_0x519d1c;(_0x519d1c=this[_0x2656c5(0x503)])==null||_0x519d1c[_0x2656c5(0x386)](),this[_0x2656c5(0x1e6)]=0x0,this[_0x2656c5(0x573)]=0x0;}},exports[_0x44d730(0x45d)]=ae([L(0x4,o[_0x44d730(0x433)](o[_0x44d730(0x54f)])),L(0x5,o[_0x44d730(0x433)](E['RevisionService'])),L(0x6,o['ICommandService']),L(0x7,o[_0x44d730(0x265)]),L(0x8,E[_0x44d730(0x1de)]),L(0x9,o[_0x44d730(0x290)]),L(0xa,o[_0x44d730(0x493)](q))],exports[_0x44d730(0x45d)]),exports['AwaitingWithPendingState']=class extends oe{constructor(_0x4c68e8,_0x155c34,_0x2b624f,_0x49a8f3,_0x314af4,_0x1c55b0,_0x2d0a9b,_0x5ccf07,_0x88c79e,_0xb3c857,_0xce85eb,_0x37e2fd,_0xba29e4){var _0x3d752b=_0x44d730;super(_0x4c68e8,_0x155c34,_0x2b624f,_0x49a8f3,_0x314af4,_0x88c79e,_0x37e2fd,_0x5ccf07,_0xba29e4),A(this,'status',_0x3d752b(0x1e7)),A(this,_0x3d752b(0x1e6),0x0),A(this,_0x3d752b(0x573),0x0),A(this,'_resendTimer'),A(this,_0x3d752b(0x503)),(this[_0x3d752b(0x3f1)]=_0x2d0a9b,this[_0x3d752b(0x2f9)]=_0xb3c857,this['_transformService']=_0xce85eb,this['localCacheService']=_0xba29e4,_0x1c55b0&&(this[_0x3d752b(0x4ec)]=_0x1c55b0,this['_sender']=this[_0x3d752b(0x4ec)]['subscribe'](({reqId:_0x13acaa,timeout:_0xb3169b})=>{var _0x14a649=_0x3d752b;this[_0x14a649(0x450)](_0x13acaa,_0xb3169b);})));}[_0x44d730(0x374)](_0x19034a){var _0xfe033f=_0x44d730;return this[_0xfe033f(0x3f0)][_0xfe033f(0x4b4)](_0x19034a),this;}[_0x44d730(0x2e6)](_0x18d380){var _0x2cdd0f=_0x44d730;if(this['_checkMissing'](_0x18d380))return this[_0x2cdd0f(0x4eb)](),this[_0x2cdd0f(0x3f1)][_0x2cdd0f(0x447)](exports[_0x2cdd0f(0x520)],this[_0x2cdd0f(0x20f)],this[_0x2cdd0f(0x319)],this[_0x2cdd0f(0x323)],this['_pendingMutations'],null,[_0x18d380],this[_0x2cdd0f(0x531)]);try{const _0xe7ab60=this[_0x2cdd0f(0x2bd)][_0x2cdd0f(0x38b)]([_0x18d380],[this[_0x2cdd0f(0x323)]],!0x1);if(E[_0x2cdd0f(0x365)](_0xe7ab60)){const {c1Prime:_0x3a5dde,c2Prime:_0x141b37}=_0xe7ab60,_0x46daac=this[_0x2cdd0f(0x2bd)][_0x2cdd0f(0x308)](_0x3a5dde[0x0],this['_pendingMutations']);if(E[_0x2cdd0f(0x24d)](_0x46daac)){const {c1Prime:_0x1d20ab,m2Prime:_0x105294}=_0x46daac;return this[_0x2cdd0f(0x213)](_0x1d20ab),_0x141b37[0x0][_0x2cdd0f(0x211)]=this['_getCurrentRevision'](),this[_0x2cdd0f(0x4eb)](),this[_0x2cdd0f(0x3f1)][_0x2cdd0f(0x447)](exports[_0x2cdd0f(0x27f)],this[_0x2cdd0f(0x20f)],this['type'],_0x141b37[0x0],_0x105294,this['_handler'],void 0x0);}throw _0x46daac[_0x2cdd0f(0x4e4)];}throw _0xe7ab60[_0x2cdd0f(0x4e4)];}catch(_0x42f523){return this[_0x2cdd0f(0x2f9)]['error'](_0x42f523),this['_onConflict'](!0x1);}}[_0x44d730(0x3db)](_0x51e511){var _0x5441a0=_0x44d730;if(this[_0x5441a0(0x4eb)](),this['_checkMissing'](_0x51e511))return this['_injector'][_0x5441a0(0x447)](exports[_0x5441a0(0x520)],this[_0x5441a0(0x20f)],this[_0x5441a0(0x319)],null,this[_0x5441a0(0x3f0)],this[_0x5441a0(0x323)],[],this[_0x5441a0(0x531)]);this['_incrementRevisionNumber']();const _0x2550a6=this[_0x5441a0(0x3f1)]['createInstance'](exports[_0x5441a0(0x435)],this[_0x5441a0(0x20f)],this[_0x5441a0(0x319)],this[_0x5441a0(0x3f0)],this[_0x5441a0(0x531)]);return _0x2550a6[_0x5441a0(0x2a6)](),_0x2550a6[_0x5441a0(0x569)](),_0x2550a6;}[_0x44d730(0x33d)](_0x55b5b1){var _0x59c6da=_0x44d730;return this['_onConflict'](!!(_0x55b5b1!=null&&_0x55b5b1[_0x59c6da(0x46a)]));}[_0x44d730(0x3b9)](_0x4efcb4){var _0x204e9e=_0x44d730;return this[_0x204e9e(0x573)]>Et?this[_0x204e9e(0x449)]():(this[_0x204e9e(0x4ec)]=It(this[_0x204e9e(0x1e6)],{'timeout':this[_0x204e9e(0x1e6)],'reqId':_0x4efcb4['reqId']}),this['_sender']=this[_0x204e9e(0x4ec)]['subscribe'](({reqId:_0x3c292c,timeout:_0x4141e6})=>{this['_resendWithTimeout'](_0x3c292c,_0x4141e6);}),this);}['toggleOffline'](){var _0x5004f2=_0x44d730;return this[_0x5004f2(0x4eb)](),this[_0x5004f2(0x3f1)][_0x5004f2(0x447)](exports['OfflineState'],this[_0x5004f2(0x20f)],this[_0x5004f2(0x319)],this[_0x5004f2(0x323)],this[_0x5004f2(0x3f0)],this[_0x5004f2(0x531)]);}[_0x44d730(0x22c)](){return this;}['resend'](){var _0x4edf49=_0x44d730;this[_0x4edf49(0x531)][_0x4edf49(0x237)](this[_0x4edf49(0x323)]);}[_0x44d730(0x23b)](_0x41b7b0){var _0x50e6a6=_0x44d730;return this[_0x50e6a6(0x4eb)](),this['_injector'][_0x50e6a6(0x447)](exports['ConflictState'],this[_0x50e6a6(0x20f)],this[_0x50e6a6(0x319)],null,this[_0x50e6a6(0x3f0)],this['_handler'],_0x41b7b0);}[_0x44d730(0x450)](_0xc89e6b,_0x554d5e){var _0x242453=_0x44d730,_0x2bf072;_0xc89e6b===((_0x2bf072=this['_awaitingChangeset'])==null?void 0x0:_0x2bf072[_0x242453(0x36a)])&&(this[_0x242453(0x4f4)](),this[_0x242453(0x1e6)]=_0x554d5e===0x0?0x3e8:Math[_0x242453(0x1ff)](_0x554d5e*0x2,ft),this[_0x242453(0x573)]+=this[_0x242453(0x1e6)]);}[_0x44d730(0x4eb)](){var _0x5b08e2=_0x44d730,_0x2de5cb;(_0x2de5cb=this[_0x5b08e2(0x503)])==null||_0x2de5cb[_0x5b08e2(0x386)](),this['_resendTimeout']=0x0,this[_0x5b08e2(0x573)]=0x0;}},exports['AwaitingWithPendingState']=ae([L(0x6,o['Inject'](o[_0x44d730(0x54f)])),L(0x7,o[_0x44d730(0x433)](E[_0x44d730(0x3f9)])),L(0x8,o[_0x44d730(0x2fa)]),L(0x9,o['ILogService']),L(0xa,E[_0x44d730(0x1de)]),L(0xb,o[_0x44d730(0x290)]),L(0xc,o[_0x44d730(0x493)](q))],exports[_0x44d730(0x27f)]),exports[_0x44d730(0x4c0)]=class extends oe{constructor(_0x147aca,_0x5be7ed,_0x51b88,_0x46c975,_0x225f6a,_0x3c24a8=!0x1,_0x36af3c,_0x35fbe0,_0x2a14ec,_0x2cd621,_0x53185c,_0x12c1cc,_0x557721){var _0x242e9a=_0x44d730;super(_0x147aca,_0x5be7ed,_0x51b88,_0x46c975,_0x225f6a,_0x35fbe0,_0x2a14ec,_0x2cd621,_0x557721),A(this,_0x242e9a(0x373),_0x242e9a(0x2e1)),(this[_0x242e9a(0x522)]=_0x3c24a8,this['_permissionService']=_0x36af3c,this[_0x242e9a(0x393)]=_0x53185c,this[_0x242e9a(0x4d3)]=_0x12c1cc,this['localCacheService']=_0x557721,this[_0x242e9a(0x42e)](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x44d730(0x374)](){return this;}[_0x44d730(0x2e6)](){return this;}[_0x44d730(0x3db)](){return this;}[_0x44d730(0x33d)](){return this;}[_0x44d730(0x3b9)](){return this;}[_0x44d730(0x449)](){return this;}[_0x44d730(0x22c)](){return this;}[_0x44d730(0x4f4)](){var _0x1b8614=_0x44d730;throw new Error(_0x1b8614(0x4ea));}[_0x44d730(0x4f1)](){var _0x38bcfe=_0x44d730,_0x346dd8;(_0x346dd8=this[_0x38bcfe(0x2af)])==null||_0x346dd8['updateOfflineData'](this[_0x38bcfe(0x20f)],this[_0x38bcfe(0x319)],null,[]);}[_0x44d730(0x42e)](){var _0x40202b=_0x44d730;this[_0x40202b(0x522)]?this[_0x40202b(0x4d3)]['emitEvent']({'id':J[_0x40202b(0x222)]}):this['_collaborationUIEventService'][_0x40202b(0x2fd)]({'id':J[_0x40202b(0x55e)]});}[_0x44d730(0x3ff)](){var _0x418c94=_0x44d730;this[_0x418c94(0x326)][_0x418c94(0x43c)](new Q['WorkbookEditablePermission'](this[_0x418c94(0x20f)])['id'],!0x1);}},exports['ConflictState']=ae([L(0x6,o[_0x44d730(0x433)](o[_0x44d730(0x2cd)])),L(0x7,o[_0x44d730(0x2fa)]),L(0x8,o['IUndoRedoService']),L(0x9,o[_0x44d730(0x433)](E[_0x44d730(0x3f9)])),L(0xa,o[_0x44d730(0x433)](o[_0x44d730(0x4c4)])),L(0xb,o['Inject'](ee)),L(0xc,o['Optional'](q))],exports[_0x44d730(0x4c0)]),exports[_0x44d730(0x2a0)]=class extends oe{constructor(_0x544ab1,_0x2b0699,_0x623c48,_0x3af90c,_0x23a6c9,_0x418412,_0x583df2,_0x2e0776,_0x5ce815,_0x2b68d0){var _0x3593d9=_0x44d730;super(_0x544ab1,_0x2b0699,_0x623c48,_0x3af90c,_0x23a6c9,_0x2e0776,_0x5ce815,_0x583df2,_0x2b68d0),A(this,_0x3593d9(0x373),_0x3593d9(0x3f6)),this[_0x3593d9(0x3f1)]=_0x418412;}[_0x44d730(0x374)](_0x23b39c){var _0x35247e=_0x44d730;return this[_0x35247e(0x3f0)][_0x35247e(0x4b4)](_0x23b39c),this['_updateLocalCache'](),this;}[_0x44d730(0x2e6)](_0x53193c){var _0x5ab09d=_0x44d730;throw new Error(_0x5ab09d(0x417));}[_0x44d730(0x3db)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x44d730(0x33d)](){var _0x322922=_0x44d730;throw new Error(_0x322922(0x380));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x3211ac=_0x44d730;const {_injector:_0x1eb925,_pendingMutations:_0x51317b,_awaitingChangeset:_0x501c59,unitID:_0x209b46,_handler:_0x2a777e,type:_0x242249}=this,_0x26dd78=pt(_0x1eb925,_0x209b46,_0x242249,_0x501c59,_0x51317b,_0x2a777e);return _0x26dd78 instanceof exports[_0x3211ac(0x435)]?_0x26dd78[_0x3211ac(0x2a6)]():(_0x26dd78 instanceof exports[_0x3211ac(0x27f)]||_0x26dd78 instanceof exports[_0x3211ac(0x45d)])&&_0x26dd78['resend'](),_0x26dd78;}[_0x44d730(0x4f4)](){var _0x5a133c=_0x44d730;throw new Error(_0x5a133c(0x3e6));}},exports[_0x44d730(0x2a0)]=ae([L(0x5,o['Inject'](o['Injector'])),L(0x6,o[_0x44d730(0x433)](E[_0x44d730(0x3f9)])),L(0x7,o[_0x44d730(0x2fa)]),L(0x8,o[_0x44d730(0x290)]),L(0x9,o[_0x44d730(0x493)](q))],exports[_0x44d730(0x2a0)]),exports['FetchingMissState']=class extends oe{constructor(_0x945e3d,_0xb3f012,_0x41c0b3,_0x5cc081,_0x56f8a5,_0x14813e,_0x25e48e,_0x135a36,_0x572fb4,_0x4bdae4,_0x23130a,_0x43765c,_0x5699f0,_0x2cddc6){var _0x5ac473=_0x44d730;super(_0x945e3d,_0xb3f012,_0x41c0b3,_0x5cc081,_0x25e48e,_0x23130a,_0x43765c,_0x572fb4,_0x2cddc6),A(this,_0x5ac473(0x373),_0x5ac473(0x465)),(this[_0x5ac473(0x46e)]=_0x56f8a5,this[_0x5ac473(0x4e5)]=_0x14813e,this[_0x5ac473(0x3f1)]=_0x135a36,this[_0x5ac473(0x2f9)]=_0x4bdae4,this[_0x5ac473(0x2bd)]=_0x5699f0,this[_0x5ac473(0x2d2)]=_0x2cddc6);}[_0x44d730(0x4cd)](_0x12c0ac){var _0x416ffa=_0x44d730;try{const _0x57113f=[..._0x12c0ac,...this[_0x416ffa(0x4e5)]],_0x27aed6=[this[_0x416ffa(0x323)]||this[_0x416ffa(0x46e)]][_0x416ffa(0x43b)](_0x42e55b=>!!_0x42e55b);let _0x3b8175,_0x116cae;if(_0x27aed6[_0x416ffa(0x53a)]){const _0x1088ef=this[_0x416ffa(0x2bd)]['transformChangesets'](_0x57113f,_0x27aed6,!0x1);if(!E[_0x416ffa(0x365)](_0x1088ef))throw _0x1088ef[_0x416ffa(0x4e4)];_0x3b8175=_0x1088ef[_0x416ffa(0x529)],_0x116cae=_0x1088ef[_0x416ffa(0x485)];}else _0x3b8175=_0x57113f,_0x116cae=[];let _0x5047bd=this['_pendingMutations'];_0x3b8175[_0x416ffa(0x53e)](_0xa5f6dd=>{var _0x183a83=_0x416ffa;let _0x5e29db;if(_0x5047bd[_0x183a83(0x53a)]){const _0x41b31f=this['_transformService'][_0x183a83(0x308)](_0xa5f6dd,_0x5047bd);if(!E[_0x183a83(0x24d)](_0x41b31f))throw _0x41b31f['error'];_0x5e29db=_0x41b31f['c1Prime'],_0x5047bd=_0x41b31f['m2Prime'];}else _0x5e29db=_0xa5f6dd;this['_executeRemoteChangeset'](_0x5e29db);}),this[_0x416ffa(0x46e)]&&this[_0x416ffa(0x3ea)](),this[_0x416ffa(0x323)]&&_0x116cae[_0x416ffa(0x53a)]&&(_0x116cae[0x0][_0x416ffa(0x211)]=this[_0x416ffa(0x229)]());let _0x38059c;if(this[_0x416ffa(0x323)]&&_0x5047bd['length']!==0x0)_0x38059c=this['_injector'][_0x416ffa(0x447)](exports['AwaitingWithPendingState'],this['unitID'],this['type'],_0x116cae[0x0],_0x5047bd,this[_0x416ffa(0x531)],void 0x0);else{if(this['_awaitingChangeset']&&_0x5047bd[_0x416ffa(0x53a)]===0x0)_0x116cae[0x0][_0x416ffa(0x211)]=this['_getCurrentRevision'](),_0x38059c=this['_injector'][_0x416ffa(0x447)](exports[_0x416ffa(0x45d)],this[_0x416ffa(0x20f)],this['type'],_0x116cae[0x0],this[_0x416ffa(0x531)]);else{if(_0x5047bd[_0x416ffa(0x53a)]!==0x0){const _0x4268a0=this[_0x416ffa(0x3f1)]['createInstance'](exports[_0x416ffa(0x435)],this[_0x416ffa(0x20f)],this[_0x416ffa(0x319)],_0x5047bd,this['_handler']);_0x4268a0['_schedule'](),_0x38059c=_0x4268a0;}else _0x38059c=this[_0x416ffa(0x3f1)]['createInstance'](exports[_0x416ffa(0x468)],this['unitID'],this[_0x416ffa(0x319)],this[_0x416ffa(0x531)]);}}return _0x38059c[_0x416ffa(0x569)](),_0x38059c;}catch(_0x43806a){return this[_0x416ffa(0x2f9)]['error'](_0x416ffa(0x2b9),_0x416ffa(0x40d),_0x43806a),this[_0x416ffa(0x3f1)][_0x416ffa(0x447)](exports[_0x416ffa(0x4c0)],this[_0x416ffa(0x20f)],this[_0x416ffa(0x319)],this[_0x416ffa(0x323)],this['_pendingMutations'],this[_0x416ffa(0x531)],!0x1);}}[_0x44d730(0x4f4)](){var _0x482617=_0x44d730;throw new Error(_0x482617(0x30d));}[_0x44d730(0x374)](_0x3225e0){var _0x1935c1=_0x44d730;return this[_0x1935c1(0x3f0)][_0x1935c1(0x4b4)](_0x3225e0),this;}[_0x44d730(0x2e6)](_0x203360){var _0xa05a79=_0x44d730;return this[_0xa05a79(0x4e5)][_0xa05a79(0x4b4)](_0x203360),this;}[_0x44d730(0x3db)](_0x20a052){var _0x1a07ff=_0x44d730;if(this[_0x1a07ff(0x323)])return this[_0x1a07ff(0x46e)]=this[_0x1a07ff(0x323)],this[_0x1a07ff(0x323)]=null,this;throw new Error(_0x1a07ff(0x563));}[_0x44d730(0x33d)](_0x261d37){var _0x993bbb=_0x44d730;return this['_onConflict'](!!(_0x261d37!=null&&_0x261d37[_0x993bbb(0x46a)]));}[_0x44d730(0x3b9)](){return this;}[_0x44d730(0x449)](){var _0x4e5854=_0x44d730;return this['_injector'][_0x4e5854(0x447)](exports[_0x4e5854(0x2a0)],this[_0x4e5854(0x20f)],this[_0x4e5854(0x319)],this[_0x4e5854(0x323)],this['_pendingMutations'],this[_0x4e5854(0x531)]);}[_0x44d730(0x22c)](){return this;}[_0x44d730(0x23b)](_0x4c5320){var _0x594aea=_0x44d730;return this['_injector']['createInstance'](exports[_0x594aea(0x4c0)],this[_0x594aea(0x20f)],this['type'],this[_0x594aea(0x323)],this['_pendingMutations'],this[_0x594aea(0x531)],_0x4c5320);}},exports[_0x44d730(0x520)]=ae([L(0x7,o[_0x44d730(0x433)](o[_0x44d730(0x54f)])),L(0x8,o[_0x44d730(0x433)](E[_0x44d730(0x3f9)])),L(0x9,o[_0x44d730(0x265)]),L(0xa,o[_0x44d730(0x2fa)]),L(0xb,o[_0x44d730(0x290)]),L(0xc,E[_0x44d730(0x1de)]),L(0xd,o[_0x44d730(0x493)](q))],exports[_0x44d730(0x520)]);function pt(_0x40c5f8,_0x380ba0,_0x1960b3,_0x4bd73a,_0x2ba884,_0x432de4){var _0x3b3c73=_0x44d730;return _0x4bd73a&&_0x2ba884[_0x3b3c73(0x53a)]?_0x40c5f8[_0x3b3c73(0x447)](exports[_0x3b3c73(0x27f)],_0x380ba0,_0x1960b3,_0x4bd73a,_0x2ba884,_0x432de4,void 0x0):_0x4bd73a?_0x40c5f8[_0x3b3c73(0x447)](exports[_0x3b3c73(0x45d)],_0x380ba0,_0x1960b3,_0x4bd73a,_0x432de4):_0x2ba884[_0x3b3c73(0x53a)]?_0x40c5f8[_0x3b3c73(0x447)](exports[_0x3b3c73(0x435)],_0x380ba0,_0x1960b3,_0x2ba884,_0x432de4):_0x40c5f8[_0x3b3c73(0x447)](exports[_0x3b3c73(0x468)],_0x380ba0,_0x1960b3,_0x432de4);}var si=Object[_0x44d730(0x456)],Be=(_0x243a78,_0x68e533,_0x206b71,_0x1e6c7a)=>{var _0xc35e34=_0x44d730;for(var _0x55798b=_0x1e6c7a>0x1?void 0x0:_0x1e6c7a?si(_0x68e533,_0x206b71):_0x68e533,_0x890812=_0x243a78[_0xc35e34(0x53a)]-0x1,_0x3d0c83;_0x890812>=0x0;_0x890812--)(_0x3d0c83=_0x243a78[_0x890812])&&(_0x55798b=_0x3d0c83(_0x55798b)||_0x55798b);return _0x55798b;},$=(_0x2f0a75,_0x28ed15)=>(_0x21275c,_0x3149f9)=>_0x28ed15(_0x21275c,_0x3149f9,_0x2f0a75);exports[_0x44d730(0x29e)]=class extends o['RxDisposable']{constructor(_0x396056,_0x3f4b99,_0x154d36,_0x37fd82,_0x2c3e99,_0x46223f,_0x9d61a5,_0x38b50b,_0x5423fd,_0x1eca20,_0x12918e,_0x511c14,_0x1f4866,_0x10d74e){var _0x6e8f23=_0x44d730;super(),A(this,_0x6e8f23(0x534),new j[(_0x6e8f23(0x2f1))](null)),A(this,_0x6e8f23(0x2c9),this['_state$'][_0x6e8f23(0x504)]()),A(this,_0x6e8f23(0x2a9)),A(this,_0x6e8f23(0x49d),!0x1),A(this,_0x6e8f23(0x549),''),A(this,_0x6e8f23(0x3d3),0x0),A(this,'status$',this[_0x6e8f23(0x2c9)][_0x6e8f23(0x448)](j['map'](_0x40cdd7=>_0x40cdd7?_0x40cdd7['status']:je[_0x6e8f23(0x345)]),j[_0x6e8f23(0x223)](0x1))),A(this,'_transitionLocked',!0x1),A(this,_0x6e8f23(0x35b),[]),(this[_0x6e8f23(0x20f)]=_0x396056,this[_0x6e8f23(0x248)]=_0x3f4b99,this['_type']=_0x154d36,this['_injector']=_0x37fd82,this[_0x6e8f23(0x4aa)]=_0x2c3e99,this[_0x6e8f23(0x393)]=_0x46223f,this['_revisionService']=_0x9d61a5,this[_0x6e8f23(0x2a7)]=_0x38b50b,this['_univerInstanceService']=_0x5423fd,this[_0x6e8f23(0x2f9)]=_0x1eca20,this[_0x6e8f23(0x22b)]=_0x12918e,this['_permissionService']=_0x511c14,this[_0x6e8f23(0x32e)]=_0x1f4866,this[_0x6e8f23(0x2af)]=_0x10d74e);}get[_0x44d730(0x48f)](){return this['_state'];}async[_0x44d730(0x23a)](){var _0x141318=_0x44d730;if(this[_0x141318(0x48f)])throw new Error(_0x141318(0x4f9));await this['_init']();}['pauseCollaboration'](){var _0x530127=_0x44d730;return this[_0x530127(0x49d)]=!0x0,o['toDisposable'](()=>{var _0x39f29b=_0x530127;this['_collaborationPaused']=!0x1,this[_0x39f29b(0x4a4)]();});}[_0x44d730(0x25a)](_0x145321){var _0x13c4ed=_0x44d730;this[_0x13c4ed(0x3c9)](_0x145321);}[_0x44d730(0x429)](_0x355546){var _0x4d1dff=_0x44d730;this[_0x4d1dff(0x2a9)]=_0x355546,this[_0x4d1dff(0x534)][_0x4d1dff(0x269)](_0x355546);}async[_0x44d730(0x3c2)](){var _0x5c9307=_0x44d730,_0x3c5605;this[_0x5c9307(0x429)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x3c5605=this[_0x5c9307(0x32e)])==null||_0x3c5605['editingUnit'](this['unitID']),this[_0x5c9307(0x439)](this[_0x5c9307(0x32e)]['getUnitStatus$'](this[_0x5c9307(0x20f)])[_0x5c9307(0x4e6)](_0x4488e0=>{var _0x256cef=_0x5c9307;this[_0x256cef(0x2f9)]['debug'](_0x256cef(0x4d1),_0x256cef(0x4da),_0x4488e0),_0x4488e0===He[_0x256cef(0x1f8)]?(this['_eventService'][_0x256cef(0x2fd)]({'id':J[_0x256cef(0x3af)]}),this[_0x256cef(0x326)]['updatePermissionPoint'](new Q[(_0x256cef(0x28e))](this[_0x256cef(0x20f)])['id'],!0x1),this[_0x256cef(0x326)]['setShowComponents'](!0x1)):(this['_permissionService'][_0x256cef(0x43c)](new Q[(_0x256cef(0x28e))](this[_0x256cef(0x20f)])['id'],!0x0),this[_0x256cef(0x326)][_0x256cef(0x40c)](!0x0));})));let _0x79d079=!0x1;return this[_0x5c9307(0x439)](this[_0x5c9307(0x248)][_0x5c9307(0x41d)][_0x5c9307(0x4e6)](_0x18d9da=>{var _0x49f803=_0x5c9307;_0x18d9da===se[_0x49f803(0x298)]?this[_0x49f803(0x4f8)](_0x79d079):_0x18d9da===se[_0x49f803(0x345)]&&(_0x79d079=!0x0,this['_toggleOffline']());})),this[_0x5c9307(0x439)](this['session']['event$']['subscribe'](_0x3efa29=>{var _0x41b5d3=_0x5c9307;try{switch(_0x3efa29['eventID']){case E[_0x41b5d3(0x4a9)][_0x41b5d3(0x333)]:{this['_onRemoteChangeset'](E[_0x41b5d3(0x442)](_0x3efa29[_0x41b5d3(0x347)]));break;}case E[_0x41b5d3(0x4a9)]['CHANGESET_ACK']:{this[_0x41b5d3(0x47b)](_0x3efa29[_0x41b5d3(0x347)]);break;}case E[_0x41b5d3(0x4a9)][_0x41b5d3(0x567)]:{this[_0x41b5d3(0x3cf)]();break;}case E['CollaborationEvent'][_0x41b5d3(0x391)]:{this[_0x41b5d3(0x242)](_0x3efa29[_0x41b5d3(0x347)]);break;}case E[_0x41b5d3(0x4a9)][_0x41b5d3(0x34b)]:{this[_0x41b5d3(0x39f)](_0x3efa29[_0x41b5d3(0x347)][_0x41b5d3(0x204)][_0x41b5d3(0x309)](_0x3fe559=>E[_0x41b5d3(0x442)](_0x3fe559)));break;}case E[_0x41b5d3(0x4a9)][_0x41b5d3(0x2f5)]:{this[_0x41b5d3(0x3cf)]({'isPermissionRej':!0x0});break;}case E[_0x41b5d3(0x4a9)][_0x41b5d3(0x568)]:break;}}catch(_0x47620d){throw console[_0x41b5d3(0x4e4)](_0x41b5d3(0x20e),_0x47620d),_0x47620d;}})),this[_0x5c9307(0x2a9)];}['_unlockTransition'](){var _0x20c6a3=_0x44d730;this[_0x20c6a3(0x48d)]=!0x1;}[_0x44d730(0x52c)](){var _0xaa08f1=_0x44d730;if(this['_transitionLocked'])throw new Error(_0xaa08f1(0x40f));this[_0xaa08f1(0x48d)]=!0x0;}[_0x44d730(0x3c9)](_0x450889){var _0x2786ed=_0x44d730;this[_0x2786ed(0x52c)](),this[_0x2786ed(0x429)](this[_0x2786ed(0x2a9)][_0x2786ed(0x374)](_0x450889)),this[_0x2786ed(0x4ef)]();}[_0x44d730(0x295)](_0x43eeda){var _0x51cf8b=_0x44d730;if(!(_0x43eeda[_0x51cf8b(0x236)]<=this[_0x51cf8b(0x4f7)][_0x51cf8b(0x488)](this[_0x51cf8b(0x20f)]))){if(this[_0x51cf8b(0x49d)]){this['_remoteChangesetQueue']['push'](_0x43eeda);return;}this[_0x51cf8b(0x42f)](_0x43eeda);}}[_0x44d730(0x4a4)](){var _0x37e700=_0x44d730;this[_0x37e700(0x35b)]['forEach'](_0x756226=>this[_0x37e700(0x42f)](_0x756226)),this[_0x37e700(0x35b)]=[];}[_0x44d730(0x42f)](_0x2b8aa8){var _0x4231b2=_0x44d730;const _0x236658=this[_0x4231b2(0x4aa)][_0x4231b2(0x2b5)]['fetchThroughInterceptors'](this[_0x4231b2(0x4aa)]['interceptor'][_0x4231b2(0x370)]()[_0x4231b2(0x408)])(_0x2b8aa8[_0x4231b2(0x3a8)],null)||_0x2b8aa8[_0x4231b2(0x3a8)],_0x513e22={..._0x2b8aa8,'mutations':_0x236658};this[_0x4231b2(0x52c)](),this[_0x4231b2(0x429)](this[_0x4231b2(0x2a9)]['onRemoteChangeset'](_0x513e22)),this[_0x4231b2(0x4ef)]();}[_0x44d730(0x47b)](_0x1336a9){var _0x296619=_0x44d730;this[_0x296619(0x52c)](),this[_0x296619(0x429)](this[_0x296619(0x2a9)]['onRemoteAck'](_0x1336a9)),this[_0x296619(0x4ef)]();}[_0x44d730(0x3cf)](_0x307b4f){var _0x411953=_0x44d730;this[_0x411953(0x52c)](),this['_updateState'](this[_0x411953(0x2a9)][_0x411953(0x33d)](_0x307b4f)),this['_unlockTransition']();}[_0x44d730(0x242)](_0x12d0ae){var _0x3e5f13=_0x44d730;this['_lockTransition'](),this['_updateState'](this[_0x3e5f13(0x2a9)]['onRemoteRetry'](_0x12d0ae)),this[_0x3e5f13(0x4ef)]();}[_0x44d730(0x39f)](_0x521514){var _0x49fcc8=_0x44d730;if(!(this[_0x49fcc8(0x2a9)]instanceof exports[_0x49fcc8(0x520)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x143030=_0x521514['map'](_0x2790f9=>{var _0x2e56b8=_0x49fcc8;const _0x4950dd=this['_compressMutationService'][_0x2e56b8(0x2b5)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x2e56b8(0x370)]()['COMPRESS_MUTATION_APPLY'])(_0x2790f9['mutations'],null)||_0x2790f9[_0x2e56b8(0x3a8)];return{..._0x2790f9,'mutations':_0x4950dd};});this[_0x49fcc8(0x52c)](),this[_0x49fcc8(0x429)](this[_0x49fcc8(0x2a9)][_0x49fcc8(0x4cd)](_0x143030)),this[_0x49fcc8(0x4ef)]();}[_0x44d730(0x3ef)](){var _0x13ee4d=_0x44d730;this[_0x13ee4d(0x52c)](),this[_0x13ee4d(0x429)](this[_0x13ee4d(0x2a9)]['toggleOffline']()),this[_0x13ee4d(0x4ef)]();}['_toggleOnline'](_0x534b3b=!0x1){var _0x2a2e43=_0x44d730;this[_0x2a2e43(0x52c)](),this[_0x2a2e43(0x429)](this[_0x2a2e43(0x2a9)][_0x2a2e43(0x22c)]()),this[_0x2a2e43(0x4ef)]();const _0x4a7010=this['_state'];_0x534b3b&&_0x4a7010 instanceof exports[_0x2a2e43(0x468)]&&(this[_0x2a2e43(0x52c)](),this[_0x2a2e43(0x429)](_0x4a7010[_0x2a2e43(0x4e0)]()),this[_0x2a2e43(0x4ef)]());}async['_createInitialState'](){return new Promise(_0x53bd6d=>{var _0x1133a5=_0x2b21;this['session'][_0x1133a5(0x41d)][_0x1133a5(0x448)](j[_0x1133a5(0x3d8)](0x1))[_0x1133a5(0x4e6)](async _0x555ce4=>{var _0x87b01d=_0x1133a5;_0x53bd6d(await this['_createInitialStateImpl'](_0x555ce4===se[_0x87b01d(0x298)]));});});}[_0x44d730(0x1e3)](){const _0x4b4086=this['unitID'];return{'onStateChange':(_0x2f2da9,_0x3cd481)=>{var _0x2f7800=_0x2b21;if(_0x2f2da9!==this[_0x2f7800(0x2a9)])throw new Error(_0x2f7800(0x28b)+_0x2f2da9['status']+'\x0aAfter:\x20'+_0x3cd481[_0x2f7800(0x373)]+'\x0aCurrent:\x20'+this[_0x2f7800(0x2a9)][_0x2f7800(0x373)]);this['_updateState'](_0x3cd481);},'onSendChangeset':_0x8471a3=>{var _0x4a82af=_0x2b21;_0x8471a3[_0x4a82af(0x440)]||(_0x8471a3[_0x4a82af(0x440)]=this[_0x4a82af(0x549)],_0x8471a3[_0x4a82af(0x36a)]=++this['_changesetReqId']);const _0x498ba5={'eventID':E[_0x4a82af(0x4a9)][_0x4a82af(0x558)],'data':{'unitID':_0x8471a3[_0x4a82af(0x20f)],'unitType':this[_0x4a82af(0x511)],'changeset':_0x8471a3,'memberID':this[_0x4a82af(0x248)]['getMemberID']()}};this[_0x4a82af(0x248)]['send'](_0x498ba5,this[_0x4a82af(0x20f)]);},'onMissingChangesets':({from:_0x329ab1,to:_0x3a5f92})=>{var _0xc528c3=_0x2b21;this['_logService']['debug']('[CollaborationEntity]',_0xc528c3(0x566)+_0x329ab1+_0xc528c3(0x301)+_0x3a5f92);const _0x3efac1={'eventID':E[_0xc528c3(0x4a9)]['FETCH_MISSING'],'data':{'unitID':_0x4b4086,'unitType':this[_0xc528c3(0x511)],'from':_0x329ab1,'to':_0x3a5f92}};this[_0xc528c3(0x248)]['send'](_0x3efac1,this[_0xc528c3(0x20f)]);}};}async[_0x44d730(0x42b)](_0x5c32d1){var _0x116d63=_0x44d730,_0x5b7d74,_0x103aff,_0xa94887;const _0x55e737=await((_0x5b7d74=this[_0x116d63(0x2af)])==null?void 0x0:_0x5b7d74[_0x116d63(0x4bf)](this[_0x116d63(0x20f)])),_0x1ba2d1=(_0x103aff=_0x55e737==null?void 0x0:_0x55e737[_0x116d63(0x3a8)])!=null?_0x103aff:[],_0xc59680=(_0xa94887=_0x55e737==null?void 0x0:_0x55e737['awaitingChangeset'])!=null?_0xa94887:null,_0x3ee4a4=!!(_0xc59680!=null&&_0xc59680[_0x116d63(0x440)])&&!!(_0xc59680!=null&&_0xc59680[_0x116d63(0x36a)]);this[_0x116d63(0x549)]=_0x3ee4a4?_0xc59680[_0x116d63(0x440)]:E[_0x116d63(0x3d4)](),this[_0x116d63(0x3d3)]=_0x3ee4a4?_0xc59680[_0x116d63(0x36a)]:0x0;const _0x1d6307=this[_0x116d63(0x20f)];try{this[_0x116d63(0x441)](_0xc59680,_0x1ba2d1);}catch(_0x167179){this[_0x116d63(0x2f9)]['error'](_0x167179);}const _0x1bec82=this[_0x116d63(0x1e3)]();if(_0x5c32d1){const _0x30d2f0=pt(this['_injector'],_0x1d6307,this[_0x116d63(0x511)],_0xc59680,_0x1ba2d1,_0x1bec82);return _0x30d2f0 instanceof exports[_0x116d63(0x435)]?_0x30d2f0['_schedule']():(_0x30d2f0 instanceof exports[_0x116d63(0x27f)]||_0x30d2f0 instanceof exports[_0x116d63(0x45d)])&&_0x30d2f0[_0x116d63(0x4f4)](),_0x30d2f0;}return this[_0x116d63(0x3f1)][_0x116d63(0x447)](exports[_0x116d63(0x2a0)],_0x1d6307,this['_type'],_0xc59680,_0x1ba2d1,_0x1bec82);}[_0x44d730(0x441)](_0x441c7e,_0x2a1307){var _0x3b0fb1=_0x44d730,_0x1aaf35,_0x5d69f6;const _0x4f18c3=this[_0x3b0fb1(0x4aa)][_0x3b0fb1(0x2b5)][_0x3b0fb1(0x414)](this['_compressMutationService'][_0x3b0fb1(0x2b5)][_0x3b0fb1(0x370)]()[_0x3b0fb1(0x408)]);(_0x1aaf35=_0x4f18c3((_0x441c7e==null?void 0x0:_0x441c7e[_0x3b0fb1(0x3a8)])||[],null))==null||_0x1aaf35[_0x3b0fb1(0x53e)](_0x2fa206=>this[_0x3b0fb1(0x22b)][_0x3b0fb1(0x55d)](_0x2fa206['id'],_0x2fa206[_0x3b0fb1(0x34f)])),(_0x5d69f6=_0x4f18c3(_0x2a1307||[],null))==null||_0x5d69f6['forEach'](_0x5a39b4=>this['_commandService'][_0x3b0fb1(0x55d)](_0x5a39b4['id'],_0x5a39b4['params']));}},exports['CollaborationEntity']=Be([$(0x3,o['Inject'](o[_0x44d730(0x54f)])),$(0x4,o[_0x44d730(0x433)](E['CompressMutationService'])),$(0x5,o[_0x44d730(0x433)](o['LocaleService'])),$(0x6,o[_0x44d730(0x433)](E[_0x44d730(0x3f9)])),$(0x7,o['Inject'](ee)),$(0x8,o[_0x44d730(0x487)]),$(0x9,o[_0x44d730(0x265)]),$(0xa,o[_0x44d730(0x2fa)]),$(0xb,o[_0x44d730(0x2cd)]),$(0xc,o['Optional'](ve)),$(0xd,o[_0x44d730(0x493)](q))],exports[_0x44d730(0x29e)]),exports['DocCollaborationEntity']=class extends exports['CollaborationEntity']{constructor(_0x5ed4cc,_0x37c1f4,_0x5555cd,_0x3ef8e4,_0x20bab4,_0x1ce460,_0x5ce19a,_0x29cde6,_0x1b3676,_0x3cb9c9,_0x153d59,_0x4d3346,_0x1bd821,_0x381386){var _0x32dca9=_0x44d730;super(_0x5ed4cc,_0x5555cd,_0x37c1f4,_0x3ef8e4,_0x20bab4,_0x1ce460,_0x5ce19a,_0x29cde6,_0x1b3676,_0x3cb9c9,_0x153d59,_0x4d3346,_0x1bd821,_0x381386),A(this,_0x32dca9(0x469),null),(this['unitID']=_0x5ed4cc,this[_0x32dca9(0x319)]=_0x37c1f4);}[_0x44d730(0x424)](_0x5b6fdf){var _0x4c4956=_0x44d730;this[_0x4c4956(0x469)]=_0x5b6fdf;}[_0x44d730(0x407)](){var _0x491f20=_0x44d730;this[_0x491f20(0x469)]=null,super['dispose']();}[_0x44d730(0x1e3)](){var _0x3dec2e=_0x44d730;const _0x5e5aab=super['_createHandler']();return _0x5e5aab[_0x3dec2e(0x262)]=_0x7cf181=>{var _0x31175b=_0x3dec2e,_0x177ec,_0xa8202c;return(_0xa8202c=(_0x177ec=this[_0x31175b(0x469)])==null?void 0x0:_0x177ec[_0x31175b(0x262)])==null?void 0x0:_0xa8202c[_0x31175b(0x2da)](_0x177ec,_0x7cf181);},_0x5e5aab[_0x3dec2e(0x401)]=_0x4f6cae=>{var _0x2020a5=_0x3dec2e,_0x12ba3d,_0x49733;return(_0x49733=(_0x12ba3d=this[_0x2020a5(0x469)])==null?void 0x0:_0x12ba3d['onTransformState'])==null?void 0x0:_0x49733[_0x2020a5(0x2da)](_0x12ba3d,_0x4f6cae);},_0x5e5aab['onTransformSelections']=_0x194a95=>{var _0x932818=_0x3dec2e,_0x50f8e6,_0x23020a;return(_0x23020a=(_0x50f8e6=this[_0x932818(0x469)])==null?void 0x0:_0x50f8e6['onTransformSelections'])==null?void 0x0:_0x23020a['call'](_0x50f8e6,_0x194a95);},_0x5e5aab[_0x3dec2e(0x310)]=_0x21c96a=>{var _0x39d3d0=_0x3dec2e,_0x4b0601,_0x368269;return(_0x368269=(_0x4b0601=this[_0x39d3d0(0x469)])==null?void 0x0:_0x4b0601[_0x39d3d0(0x310)])==null?void 0x0:_0x368269['call'](_0x4b0601,_0x21c96a);},_0x5e5aab[_0x3dec2e(0x3ec)]=_0x2ec358=>{var _0x5f2617=_0x3dec2e,_0x4901f1,_0x184477,_0x19c32c;if(!((_0x4901f1=this[_0x5f2617(0x469)])!=null&&_0x4901f1[_0x5f2617(0x3ec)]))throw new Error(_0x5f2617(0x2be));return(_0x19c32c=(_0x184477=this[_0x5f2617(0x469)])==null?void 0x0:_0x184477[_0x5f2617(0x3ec)])==null?void 0x0:_0x19c32c[_0x5f2617(0x2da)](_0x184477,_0x2ec358);},_0x5e5aab['onTransformRemoteChangesetByStateCache']=_0x3b6287=>{var _0x2e469b=_0x3dec2e,_0x539ad9,_0x2c04d0,_0x259625;if(!((_0x539ad9=this[_0x2e469b(0x469)])!=null&&_0x539ad9[_0x2e469b(0x344)]))throw new Error(_0x2e469b(0x451));return(_0x259625=(_0x2c04d0=this['_handlerCallback'])==null?void 0x0:_0x2c04d0[_0x2e469b(0x344)])==null?void 0x0:_0x259625[_0x2e469b(0x2da)](_0x2c04d0,_0x3b6287);},_0x5e5aab;}async[_0x44d730(0x3c2)](){var _0x241517=_0x44d730;const _0x447c69=await super[_0x241517(0x3c2)]();return this[_0x241517(0x439)](this[_0x241517(0x22b)][_0x241517(0x2d9)]((_0x357730,_0x26a8e6)=>{var _0x3edaa9=_0x241517;if(_0x357730[_0x3edaa9(0x319)]!==o[_0x3edaa9(0x554)][_0x3edaa9(0x54c)]||_0x26a8e6!=null&&_0x26a8e6[_0x3edaa9(0x43a)]||_0x26a8e6!=null&&_0x26a8e6[_0x3edaa9(0x231)]||_0x357730['id']===ct[_0x3edaa9(0x4b3)]['id'])return;const _0x41d6ce=_0x357730['params'];if((_0x41d6ce==null?void 0x0:_0x41d6ce[_0x3edaa9(0x464)])!==this[_0x3edaa9(0x20f)])return;const _0x2a0005=_0x357730,_0x2a4ebf=this[_0x3edaa9(0x4aa)]['interceptor']['fetchThroughInterceptors'](this[_0x3edaa9(0x4aa)]['interceptor']['getInterceptPoints']()[_0x3edaa9(0x551)])([_0x2a0005],this[_0x3edaa9(0x3fc)])||[_0x2a0005];this[_0x3edaa9(0x3c9)](_0x2a4ebf[0x0]);})),_0x447c69;}},exports[_0x44d730(0x515)]=Be([$(0x3,o[_0x44d730(0x433)](o[_0x44d730(0x54f)])),$(0x4,o[_0x44d730(0x433)](E[_0x44d730(0x2cc)])),$(0x5,o['Inject'](o[_0x44d730(0x4c4)])),$(0x6,o[_0x44d730(0x433)](E[_0x44d730(0x3f9)])),$(0x7,o[_0x44d730(0x433)](ee)),$(0x8,o['IUniverInstanceService']),$(0x9,o['ILogService']),$(0xa,o[_0x44d730(0x2fa)]),$(0xb,o[_0x44d730(0x2cd)]),$(0xc,o[_0x44d730(0x493)](ve)),$(0xd,o[_0x44d730(0x493)](q))],exports['DocCollaborationEntity']),exports[_0x44d730(0x3b1)]=class extends exports['CollaborationEntity']{constructor(_0x465316,_0x5d7ac0,_0x436c9d,_0x5124c5,_0x32369e,_0x45bfb2,_0xa2734a,_0x5deade,_0x1a8701,_0x3b14c3,_0x3c18c9,_0x3730ba,_0x36b4e4,_0x498be4,_0x147603){var _0x529f6f=_0x44d730;super(_0x465316,_0x436c9d,_0x5d7ac0,_0x5124c5,_0x32369e,_0x45bfb2,_0xa2734a,_0x1a8701,_0x3b14c3,_0x3c18c9,_0x3730ba,_0x36b4e4,_0x498be4,_0x147603),this['unitID']=_0x465316,this[_0x529f6f(0x319)]=_0x5d7ac0,this['_sheetTransformSelectionsService']=_0x5deade;}['_createHandler'](){var _0x156ed8=_0x44d730;const _0x407064=super[_0x156ed8(0x1e3)]();return _0x407064[_0x156ed8(0x51a)]=_0x1e6752=>this[_0x156ed8(0x21f)][_0x156ed8(0x396)](_0x1e6752),_0x407064;}async[_0x44d730(0x3c2)](){var _0x15f36d=_0x44d730;const _0x2e7725=await super[_0x15f36d(0x3c2)]();return this['disposeWithMe'](this[_0x15f36d(0x22b)]['onMutationExecutedForCollab']((_0x447c32,_0x55a6f3)=>{var _0x4738c2=_0x15f36d;if(_0x447c32[_0x4738c2(0x319)]!==o[_0x4738c2(0x554)][_0x4738c2(0x54c)]||_0x55a6f3!=null&&_0x55a6f3['fromCollab']||_0x55a6f3!=null&&_0x55a6f3[_0x4738c2(0x231)])return;const _0x456511=_0x447c32[_0x4738c2(0x34f)];if((_0x456511==null?void 0x0:_0x456511[_0x4738c2(0x464)])!==this['unitID'])return;const _0x2aad44=_0x447c32,_0x41516c=this[_0x4738c2(0x4aa)][_0x4738c2(0x2b5)][_0x4738c2(0x414)](this[_0x4738c2(0x4aa)]['interceptor']['getInterceptPoints']()[_0x4738c2(0x551)])([_0x2aad44],this[_0x4738c2(0x3fc)])||[_0x2aad44];this[_0x4738c2(0x3c9)](_0x41516c[0x0]);})),_0x2e7725;}},exports[_0x44d730(0x3b1)]=Be([$(0x3,o[_0x44d730(0x433)](o[_0x44d730(0x54f)])),$(0x4,o[_0x44d730(0x433)](E['CompressMutationService'])),$(0x5,o[_0x44d730(0x433)](o['LocaleService'])),$(0x6,o[_0x44d730(0x433)](E[_0x44d730(0x3f9)])),$(0x7,o['Inject'](exports[_0x44d730(0x52e)])),$(0x8,o[_0x44d730(0x433)](ee)),$(0x9,o[_0x44d730(0x487)]),$(0xa,o[_0x44d730(0x265)]),$(0xb,o['ICommandService']),$(0xc,o[_0x44d730(0x2cd)]),$(0xd,o[_0x44d730(0x493)](ve)),$(0xe,o[_0x44d730(0x493)](q))],exports[_0x44d730(0x3b1)]);const mt=o[_0x44d730(0x27c)](_0x44d730(0x339));function gt(_0x28da38){var _0x2932bf=_0x44d730,_0x279d4e,_0x563729,_0x115eed,_0x56d216,_0x331351;const _0x4453b2=_0x28da38[_0x2932bf(0x347)],_0x4e94a5=JSON[_0x2932bf(0x2fc)](_0x4453b2);switch(_0x4e94a5[_0x2932bf(0x266)]){case W[_0x2932bf(0x43d)]:case W[_0x2932bf(0x4e1)]:{const _0x308877=_0x4e94a5[_0x2932bf(0x235)];return{..._0x4e94a5,'data':_0x308877,'cmd':_0x4e94a5[_0x2932bf(0x266)]};}case W[_0x2932bf(0x3be)]:{const _0x5d7788=_0x4e94a5[_0x2932bf(0x22d)];return{..._0x4e94a5,'data':_0x5d7788,'cmd':_0x4e94a5[_0x2932bf(0x266)]};}case W['RECV']:{const _0x3fd294=_0x4e94a5[_0x2932bf(0x3bc)];switch(_0x3fd294[_0x2932bf(0x497)]){case E['CollaborationEvent'][_0x2932bf(0x2f5)]:return{..._0x4e94a5,'data':{..._0x3fd294,'data':(_0x279d4e=_0x3fd294[_0x2932bf(0x2bf)])==null?void 0x0:_0x279d4e['cs']},'cmd':_0x4e94a5[_0x2932bf(0x266)]};case E[_0x2932bf(0x4a9)][_0x2932bf(0x35d)]:return{..._0x4e94a5,'data':{..._0x3fd294,'data':(_0x563729=_0x3fd294[_0x2932bf(0x2f3)])==null?void 0x0:_0x563729['cs']},'cmd':_0x4e94a5[_0x2932bf(0x266)]};case E[_0x2932bf(0x4a9)]['NEW_CHANGESETS']:return{..._0x4e94a5,'data':{..._0x3fd294,'data':(_0x115eed=_0x3fd294[_0x2932bf(0x28d)])==null?void 0x0:_0x115eed['cs']},'cmd':_0x4e94a5['cmd']};case E[_0x2932bf(0x4a9)]['CHANGESET_REJ']:return{..._0x4e94a5,'data':{..._0x3fd294,'data':(_0x56d216=_0x3fd294[_0x2932bf(0x1e2)])==null?void 0x0:_0x56d216['cs']},'cmd':_0x4e94a5['cmd']};case E[_0x2932bf(0x4a9)][_0x2932bf(0x391)]:return{..._0x4e94a5,'data':{..._0x3fd294,'data':(_0x331351=_0x3fd294[_0x2932bf(0x3a1)])==null?void 0x0:_0x331351['cs']},'cmd':_0x4e94a5[_0x2932bf(0x266)]};case E[_0x2932bf(0x4a9)][_0x2932bf(0x3cd)]:return{..._0x4e94a5,'data':{..._0x3fd294,'data':_0x3fd294['updateCursorEvent']},'cmd':_0x4e94a5[_0x2932bf(0x266)]};case E[_0x2932bf(0x4a9)][_0x2932bf(0x3d5)]:return{..._0x4e94a5,'data':{..._0x3fd294,'data':_0x3fd294[_0x2932bf(0x43e)]},'cmd':_0x4e94a5['cmd']};case E[_0x2932bf(0x4a9)][_0x2932bf(0x470)]:return{..._0x4e94a5,'data':{..._0x3fd294,'data':_0x3fd294['leaveEvent']},'cmd':_0x4e94a5[_0x2932bf(0x266)]};case E[_0x2932bf(0x4a9)][_0x2932bf(0x36d)]:return{..._0x4e94a5,'data':{..._0x3fd294,'data':_0x3fd294[_0x2932bf(0x3ab)]},'cmd':_0x4e94a5['cmd']};case E[_0x2932bf(0x4a9)][_0x2932bf(0x1ef)]:case E['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x4e94a5,'data':{..._0x3fd294,'data':_0x3fd294[_0x2932bf(0x3bb)]},'cmd':_0x4e94a5[_0x2932bf(0x266)]};case E[_0x2932bf(0x4a9)]['LIVESHARE_TERMINATE']:return{..._0x4e94a5,'data':{..._0x3fd294,'data':_0x3fd294['liveShareNewHost']},'cmd':_0x4e94a5[_0x2932bf(0x266)]};case E[_0x2932bf(0x4a9)][_0x2932bf(0x437)]:return{..._0x4e94a5,'data':_0x3fd294,'cmd':_0x4e94a5[_0x2932bf(0x266)]};case E[_0x2932bf(0x4a9)]['COMMENT_UPDATE']:return{..._0x4e94a5,'data':{..._0x3fd294,'data':_0x3fd294['commentUpdateEvent']},'cmd':_0x4e94a5[_0x2932bf(0x266)]};case E[_0x2932bf(0x4a9)][_0x2932bf(0x243)]:return{..._0x4e94a5,'data':{..._0x3fd294,'data':_0x3fd294[_0x2932bf(0x2ed)]},'cmd':_0x4e94a5['cmd']};case E[_0x2932bf(0x4a9)][_0x2932bf(0x3e5)]:return{..._0x4e94a5,'data':{..._0x3fd294,'data':_0x3fd294['shouldCloseConn']},'cmd':_0x4e94a5[_0x2932bf(0x266)]};case E[_0x2932bf(0x4a9)][_0x2932bf(0x568)]:return{..._0x4e94a5,'data':{..._0x3fd294,'data':_0x3fd294[_0x2932bf(0x305)]},'cmd':_0x4e94a5[_0x2932bf(0x266)]};default:return _0x4e94a5;}}default:return _0x4e94a5;}}function Tt(_0x3c4f72){var _0x41d84b=_0x44d730;switch(_0x3c4f72[_0x41d84b(0x266)]){case W[_0x41d84b(0x43d)]:case W[_0x41d84b(0x4e1)]:return JSON['stringify']({'cmd':_0x3c4f72['cmd'],'routeKey':_0x3c4f72[_0x41d84b(0x54a)]});case W['INGEST']:{let _0x4efb9e;switch(_0x3c4f72[_0x41d84b(0x347)][_0x41d84b(0x497)]){case E[_0x41d84b(0x4a9)][_0x41d84b(0x3cd)]:{_0x4efb9e={'eventID':E[_0x41d84b(0x4a9)][_0x41d84b(0x3cd)],'updateCursorEvent':_0x3c4f72['data'][_0x41d84b(0x347)]};break;}case E[_0x41d84b(0x4a9)][_0x41d84b(0x470)]:{_0x4efb9e={'eventID':E[_0x41d84b(0x4a9)][_0x41d84b(0x470)],'leaveEvent':_0x3c4f72[_0x41d84b(0x347)][_0x41d84b(0x347)]};break;}case E[_0x41d84b(0x4a9)]['USERS_ENTER']:{_0x4efb9e={'eventID':E['CollaborationEvent'][_0x41d84b(0x3d5)],'joinEvent':_0x3c4f72[_0x41d84b(0x347)][_0x41d84b(0x347)]};break;}case E[_0x41d84b(0x4a9)][_0x41d84b(0x36d)]:{_0x4efb9e={'eventID':E['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x3c4f72[_0x41d84b(0x347)][_0x41d84b(0x347)]};break;}case E['CollaborationEvent'][_0x41d84b(0x205)]:{_0x4efb9e={'eventID':E['CollaborationEvent'][_0x41d84b(0x205)],'liveShareOperation':_0x3c4f72[_0x41d84b(0x347)]['data']};break;}case E[_0x41d84b(0x4a9)][_0x41d84b(0x34e)]:{_0x4efb9e={'eventID':E['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x3c4f72[_0x41d84b(0x347)][_0x41d84b(0x347)]};break;}case E['CollaborationEvent']['LIVESHARE_REQUEST_HOST']:{_0x4efb9e={'eventID':E[_0x41d84b(0x4a9)][_0x41d84b(0x1ed)],'liveShareRequestHost':_0x3c4f72[_0x41d84b(0x347)][_0x41d84b(0x347)]};break;}case E[_0x41d84b(0x4a9)]['LIVESHARE_FETCH_OPERATIONS']:{_0x4efb9e={'eventID':E[_0x41d84b(0x4a9)][_0x41d84b(0x1ef)]};break;}default:_0x4efb9e={'eventID':_0x3c4f72[_0x41d84b(0x347)]['eventID']};}return JSON[_0x41d84b(0x432)]({'cmd':_0x3c4f72[_0x41d84b(0x266)],'routeKey':_0x3c4f72[_0x41d84b(0x54a)],'collaMsg':_0x4efb9e});}case W[_0x41d84b(0x3be)]:return JSON[_0x41d84b(0x432)]({'cmd':_0x3c4f72[_0x41d84b(0x266)],'routeKey':_0x3c4f72[_0x41d84b(0x54a)],'joinReq':_0x3c4f72[_0x41d84b(0x347)]});case W['LEAVE']:return JSON['stringify']({'cmd':_0x3c4f72[_0x41d84b(0x266)],'routeKey':_0x3c4f72[_0x41d84b(0x54a)],'leaveReq':_0x3c4f72[_0x41d84b(0x347)]});default:throw new Error(_0x41d84b(0x3f7));}}var ri=Object[_0x44d730(0x456)],ai=(_0x3a6396,_0x52a417,_0x14f118,_0x16347d)=>{for(var _0x472098=_0x16347d>0x1?void 0x0:_0x16347d?ri(_0x52a417,_0x14f118):_0x52a417,_0x4b8495=_0x3a6396['length']-0x1,_0x48c982;_0x4b8495>=0x0;_0x4b8495--)(_0x48c982=_0x3a6396[_0x4b8495])&&(_0x472098=_0x48c982(_0x472098)||_0x472098);return _0x472098;},he=(_0x4fd043,_0x488b58)=>(_0x9773b3,_0x31ffcf)=>_0x488b58(_0x9773b3,_0x31ffcf,_0x4fd043);const Fe=o['createIdentifier']('univer-pro.collaboration-client-socket-service');function oi(_0x1e79d4,_0x2f3923,_0x45a621){var _0x2f1bc7=_0x44d730;return _0x1e79d4+'/'+_0x2f3923+_0x2f1bc7(0x41c)+_0x45a621+_0x2f1bc7(0x30f);}exports[_0x44d730(0x23d)]=class extends o[_0x44d730(0x2c5)]{constructor(_0x5ccb56,_0x472441,_0x2c2119,_0x3b5880,_0x49344c){var _0x2e19c5=_0x44d730;super(),this[_0x2e19c5(0x3f1)]=_0x5ccb56,this[_0x2e19c5(0x521)]=_0x472441,this[_0x2e19c5(0x4c8)]=_0x2c2119,this[_0x2e19c5(0x2f9)]=_0x3b5880,this[_0x2e19c5(0x299)]=_0x49344c;}[_0x44d730(0x526)](_0x499e02){var _0x44ca2e=_0x44d730;const _0x3339bf=this[_0x44ca2e(0x3f1)]['get'](K[_0x44ca2e(0x43f)]);if(!_0x3339bf)throw new Error(_0x44ca2e(0x378));const _0x2167d1=_0x3339bf[_0x44ca2e(0x1f6)](_0x499e02);if(!_0x2167d1)throw new Error(_0x44ca2e(0x571));const _0x36a33a=new o['DisposableCollection'](),_0x9d7393=new j[(_0x44ca2e(0x3c0))]();_0x36a33a[_0x44ca2e(0x404)](_0x2167d1[_0x44ca2e(0x381)][_0x44ca2e(0x4e6)](_0x4599ae=>_0x9d7393[_0x44ca2e(0x269)](_0x4599ae))),_0x36a33a[_0x44ca2e(0x404)](o[_0x44ca2e(0x518)](()=>_0x9d7393[_0x44ca2e(0x454)]()));const _0x1824cc=new j[(_0x44ca2e(0x3c0))]();_0x36a33a[_0x44ca2e(0x404)](_0x2167d1[_0x44ca2e(0x26d)][_0x44ca2e(0x4e6)](_0x36a6eb=>_0x1824cc['next'](_0x36a6eb))),_0x36a33a['add'](o[_0x44ca2e(0x518)](()=>_0x1824cc['complete']()));const _0x907ebf=new j[(_0x44ca2e(0x3c0))]();_0x36a33a['add'](_0x2167d1[_0x44ca2e(0x51f)][_0x44ca2e(0x4e6)](_0x38065e=>{var _0x17e619=_0x44ca2e;const _0x5233b5=gt(_0x38065e);_0x907ebf[_0x17e619(0x269)](_0x5233b5);})),_0x36a33a[_0x44ca2e(0x404)](o[_0x44ca2e(0x518)](()=>_0x907ebf[_0x44ca2e(0x454)]()));let _0x3d0828;const _0x60f640=()=>{var _0x3e0fb0=_0x44ca2e;_0x1824cc[_0x3e0fb0(0x269)](new Event(_0x3e0fb0(0x54e))),_0x9d7393[_0x3e0fb0(0x269)](new Event(_0x3e0fb0(0x54e))),_0x3d0828['close']();};return _0x3d0828={'memberID':'','close$':_0x9d7393[_0x44ca2e(0x504)](),'error$':_0x1824cc[_0x44ca2e(0x504)](),'open$':_0x2167d1[_0x44ca2e(0x25c)],'message$':_0x907ebf[_0x44ca2e(0x504)](),'send':_0x5aad43=>{var _0x5b59f1=_0x44ca2e;if(_0x5aad43[_0x5b59f1(0x266)]===W[_0x5b59f1(0x46f)]){if(_0x5aad43[_0x5b59f1(0x347)][_0x5b59f1(0x497)]===E[_0x5b59f1(0x4a9)]['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x3d0828,_0x5aad43[_0x5b59f1(0x347)])['catch'](_0x135a3a=>{var _0x57d2c2=_0x5b59f1;this[_0x57d2c2(0x2f9)][_0x57d2c2(0x4e4)](_0x135a3a),_0x60f640();});return;}if(_0x5aad43[_0x5b59f1(0x347)][_0x5b59f1(0x497)]===E[_0x5b59f1(0x4a9)]['FETCH_MISSING']){const _0x17cef4=_0x5aad43[_0x5b59f1(0x347)];this[_0x5b59f1(0x2b6)](_0x17cef4)[_0x5b59f1(0x351)](_0x536b1e=>{var _0x4334c0=_0x5b59f1;_0x907ebf[_0x4334c0(0x269)]({'cmd':W[_0x4334c0(0x215)],'code':re['OK'],'routeKey':_0x17cef4[_0x4334c0(0x347)][_0x4334c0(0x20f)],'routeType':'','data':{'eventID':E[_0x4334c0(0x4a9)][_0x4334c0(0x34b)],'data':{'changesets':_0x536b1e}}});})[_0x5b59f1(0x3f4)](_0x485c47=>{var _0x495ffb=_0x5b59f1;this[_0x495ffb(0x2f9)][_0x495ffb(0x4e4)](_0x485c47),_0x60f640();});return;}}_0x2167d1[_0x5b59f1(0x340)](Tt(_0x5aad43));},'close':()=>{var _0x28a29c=_0x44ca2e;_0x2167d1[_0x28a29c(0x2c8)](),_0x36a33a[_0x28a29c(0x407)]();}},_0x3d0828;}async['_submitChangeset'](_0x3a489d,_0x4291cd){var _0x26dc18=_0x44d730,_0x1d4a97;const {unitType:_0x3a2bd8,unitID:_0x38eb10,changeset:_0x4e6387}=_0x4291cd['data'],_0x21217a={'unitID':_0x38eb10,'memberID':_0x3a489d[_0x26dc18(0x44a)],'type':_0x3a2bd8,'changeset':E[_0x26dc18(0x3c3)](_0x4e6387)},_0x1ca12f=this['_configService'][_0x26dc18(0x314)](Y),_0x398644=oi((_0x1d4a97=_0x1ca12f==null?void 0x0:_0x1ca12f['collabSubmitChangesetUrl'])!=null?_0x1d4a97:$t,_0x3a2bd8,_0x38eb10);try{await this[_0x26dc18(0x521)][_0x26dc18(0x53c)](_0x398644,{'body':_0x21217a});}catch(_0x4521b7){throw this[_0x26dc18(0x2f9)]['error'](_0x26dc18(0x40b),_0x26dc18(0x53d)),_0x4521b7;}}async[_0x44d730(0x2b6)](_0x3772ee){var _0xdd3225=_0x44d730;const {unitID:_0x3f1940,from:_0x5a05f4,to:_0x36a536,unitType:_0x286791}=_0x3772ee[_0xdd3225(0x347)];return(await this['_snapshotServerService'][_0xdd3225(0x2e5)]({'metadata':void 0x0},{'unitID':_0x3f1940,'type':_0x286791,'from':_0x5a05f4,'to':_0x36a536}))[_0xdd3225(0x204)][_0xdd3225(0x309)](_0x425148=>((_0x425148[_0xdd3225(0x3a8)]===null||_0x425148[_0xdd3225(0x3a8)]===void 0x0)&&(_0x425148[_0xdd3225(0x3a8)]=[]),_0x425148));}},exports[_0x44d730(0x23d)]=ai([he(0x0,o['Inject'](o['Injector'])),he(0x1,o['Inject'](K[_0x44d730(0x2ad)])),he(0x2,o[_0x44d730(0x47e)]),he(0x3,o[_0x44d730(0x265)]),he(0x4,E[_0x44d730(0x428)])],exports[_0x44d730(0x23d)]);var ci=Object[_0x44d730(0x456)],_i=(_0x16c98a,_0x3b1469,_0x26a945,_0x4ce89b)=>{for(var _0x433245=_0x4ce89b>0x1?void 0x0:_0x4ce89b?ci(_0x3b1469,_0x26a945):_0x3b1469,_0x4294e2=_0x16c98a['length']-0x1,_0x4d4cec;_0x4294e2>=0x0;_0x4294e2--)(_0x4d4cec=_0x16c98a[_0x4294e2])&&(_0x433245=_0x4d4cec(_0x433245)||_0x433245);return _0x433245;},_e=(_0x5ac617,_0x12b000)=>(_0x17cd26,_0x227284)=>_0x12b000(_0x17cd26,_0x227284,_0x5ac617);exports[_0x44d730(0x277)]=class extends o['Disposable']{constructor(_0x2a09e5,_0x35212c,_0x2c52ba,_0x85336c,_0x18f39b,_0x128f73){var _0x113659=_0x44d730;super(),A(this,'_socket$',new j[(_0x113659(0x2f1))](void 0x0)),A(this,_0x113659(0x36b),this[_0x113659(0x332)][_0x113659(0x504)]()),A(this,_0x113659(0x473),null),A(this,'_sessions',new Map()),A(this,_0x113659(0x500),new j['BehaviorSubject'](se[_0x113659(0x2c3)])),A(this,_0x113659(0x4a8),this['_status$'][_0x113659(0x504)]()),A(this,_0x113659(0x2b1),!0x1),A(this,_0x113659(0x30b)),A(this,_0x113659(0x26b),0x0),A(this,'_sendHeartbeatTimer'),A(this,_0x113659(0x4d9)),(this[_0x113659(0x3f1)]=_0x2a09e5,this[_0x113659(0x2f9)]=_0x35212c,this[_0x113659(0x4c8)]=_0x2c52ba,this[_0x113659(0x1e0)]=_0x85336c,this[_0x113659(0x4d3)]=_0x18f39b,this['_networkConditionService']=_0x128f73,this[_0x113659(0x508)]());}get[_0x44d730(0x2f0)](){var _0x5693ed=_0x44d730;return this[_0x5693ed(0x332)][_0x5693ed(0x4b0)]();}[_0x44d730(0x508)](){var _0x3ac37b=_0x44d730;this[_0x3ac37b(0x52d)]&&this[_0x3ac37b(0x439)](this['_networkConditionService'][_0x3ac37b(0x527)]['subscribe'](_0x5d80cf=>{var _0x326a48=_0x3ac37b;_0x5d80cf&&!this['_socket']&&this[_0x326a48(0x3c5)](),_0x5d80cf||this[_0x326a48(0x2ea)]();}));}['dispose'](){var _0x1e828c=_0x44d730;super[_0x1e828c(0x407)](),this['_clearRetryConnectingTimer'](),this['_clearTimeoutTimer'](),this[_0x1e828c(0x4b6)](),this['_sessions']['forEach'](_0x34d4b9=>_0x34d4b9[_0x1e828c(0x407)]()),this['_sessions'][_0x1e828c(0x24f)](),this['_status$']['complete']();}async[_0x44d730(0x1fb)](_0x5a4a5a){var _0x366475=_0x44d730;if(this['_sessions'][_0x366475(0x394)](_0x5a4a5a))return this[_0x366475(0x4e3)][_0x366475(0x239)](_0x5a4a5a);this[_0x366475(0x37b)]();const _0x24d050=this[_0x366475(0x3f1)][_0x366475(0x447)](exports[_0x366475(0x2e4)],_0x5a4a5a,this[_0x366475(0x332)][_0x366475(0x504)]());return this['_sessions'][_0x366475(0x395)](_0x5a4a5a,_0x24d050),_0x24d050;}['closeSession'](_0x4ca999){var _0x356a0b=_0x44d730,_0x38e4c6;const _0x35749c=this['_sessions'][_0x356a0b(0x239)](_0x4ca999);_0x35749c&&(this[_0x356a0b(0x4e3)][_0x356a0b(0x545)](_0x4ca999),_0x35749c[_0x356a0b(0x2c8)]()),this[_0x356a0b(0x4e3)]['size']||(_0x38e4c6=this[_0x356a0b(0x2f0)])==null||_0x38e4c6[_0x356a0b(0x2c8)]();}[_0x44d730(0x3c5)](){var _0x2900eb=_0x44d730;this[_0x2900eb(0x26b)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x2900eb(0x2f8)]();}[_0x44d730(0x1f7)](){var _0x5a8bc7=_0x44d730;this[_0x5a8bc7(0x30b)]!=null&&(clearTimeout(this[_0x5a8bc7(0x30b)]),this[_0x5a8bc7(0x30b)]=null);}async['_createSocket'](){var _0x3732ae=_0x44d730,_0x17495d;const _0x353853=this['_configService'][_0x3732ae(0x314)](Y),_0x3fd607=(_0x17495d=_0x353853==null?void 0x0:_0x353853['collabWebSocketUrl'])!=null?_0x17495d:ht,_0x3f6510=await this[_0x3732ae(0x1e0)][_0x3732ae(0x1f6)](_0x3fd607);return this['_candidateSocket']=_0x3f6510,_0x3f6510;}async[_0x44d730(0x37b)](){var _0x1f4326=_0x44d730,_0x421554,_0x584c47;try{const _0x5f5298=(_0x584c47=(_0x421554=this[_0x1f4326(0x2f0)])!=null?_0x421554:this[_0x1f4326(0x473)])!=null?_0x584c47:await this['_createSocket']();if(_0x5f5298){const _0x10af96=_0x5f5298[_0x1f4326(0x340)];_0x5f5298[_0x1f4326(0x340)]=_0xd47b27=>(this[_0x1f4326(0x3f3)](),_0x10af96['apply'](_0x5f5298,[_0xd47b27])),_0x5f5298[_0x1f4326(0x51f)]['subscribe'](_0xd0f596=>this[_0x1f4326(0x1ea)](_0x5f5298,_0xd0f596)),_0x5f5298[_0x1f4326(0x26d)][_0x1f4326(0x448)](V['take'](0x1))[_0x1f4326(0x4e6)](_0x1e8676=>this[_0x1f4326(0x2f9)][_0x1f4326(0x4e4)](_0x1f4326(0x44b),_0x1e8676)),_0x5f5298[_0x1f4326(0x25c)][_0x1f4326(0x448)](V[_0x1f4326(0x3d8)](0x1))['subscribe'](()=>{var _0xc2fd68=_0x1f4326;this[_0xc2fd68(0x459)](_0x5f5298);}),_0x5f5298['close$'][_0x1f4326(0x448)](V[_0x1f4326(0x3d8)](0x1))[_0x1f4326(0x4e6)](_0x735383=>{var _0xcd1e61=_0x1f4326;this[_0xcd1e61(0x2f9)]['debug'](_0xcd1e61(0x397),_0xcd1e61(0x367),_0x735383),this['_onConnectionFailed']();});}}catch(_0x35ebf2){this['_logService'][_0x1f4326(0x4e4)](_0x35ebf2),this[_0x1f4326(0x208)]();}}[_0x44d730(0x459)](_0x19fff1){var _0x5b8147=_0x44d730;this[_0x5b8147(0x2f9)][_0x5b8147(0x3aa)](_0x5b8147(0x397),_0x5b8147(0x411)),_0x19fff1[_0x5b8147(0x340)]({'cmd':W[_0x5b8147(0x4e1)]}),this[_0x5b8147(0x3f3)]();}[_0x44d730(0x2ea)](){var _0x3f0c82=_0x44d730;this[_0x3f0c82(0x2b1)]=!0x1,this['_candidateSocket']=null,this['_status$'][_0x3f0c82(0x269)](se[_0x3f0c82(0x345)]),this[_0x3f0c82(0x332)]['next'](null),this['_clearTimeoutTimer'](),this[_0x3f0c82(0x4b6)]();}['_onConnectionFailed'](){var _0x4b30d7=_0x44d730,_0x303f1c;this[_0x4b30d7(0x2ea)](),this['_retryCount']<((_0x303f1c=this['_configService'][_0x4b30d7(0x314)](vt))!=null?_0x303f1c:wt)?(this[_0x4b30d7(0x4d3)][_0x4b30d7(0x2fd)]({'id':J[_0x4b30d7(0x4f0)]}),this[_0x4b30d7(0x2f8)]()):this[_0x4b30d7(0x4d3)][_0x4b30d7(0x2fd)]({'id':J[_0x4b30d7(0x3ba)]});}[_0x44d730(0x2f8)](){var _0x4f8f6b=_0x44d730,_0x591bb9;const _0x22c8c1=this[_0x4f8f6b(0x26b)],_0x39149e=this[_0x4f8f6b(0x4c8)]['getConfig'](Y),_0x364d9f=_0x22c8c1===0x0?0x0:((_0x591bb9=_0x39149e==null?void 0x0:_0x39149e['retryConnectingInterval'])!=null?_0x591bb9:Mt)*0x2**_0x22c8c1;this[_0x4f8f6b(0x30b)]=setTimeout(()=>{var _0x2c309e=_0x4f8f6b;clearTimeout(this['_retryConnectingTimer']),this[_0x2c309e(0x30b)]=null,this['_tryEnsureSocket']();},_0x364d9f),this[_0x4f8f6b(0x26b)]+=0x1;}[_0x44d730(0x1ea)](_0x44ac97,_0x42bec9){var _0x45fe60=_0x44d730;const {cmd:_0x4cbf87}=_0x42bec9;_0x4cbf87===W[_0x45fe60(0x4e1)]&&!this['_socketReady']&&(_0x44ac97[_0x45fe60(0x44a)]=_0x42bec9['data']['memberID'],this['_socket$'][_0x45fe60(0x269)](_0x44ac97),this[_0x45fe60(0x500)]['next'](se[_0x45fe60(0x298)]),this[_0x45fe60(0x2b1)]=!0x0,this['_candidateSocket']=null),_0x4cbf87===W[_0x45fe60(0x43d)]&&this['_clearTimeoutTimer'](),this[_0x45fe60(0x3f3)]();}['_rescheduleHeartbeat'](){var _0x5e9d6b=_0x44d730,_0xe4a8fd;this['_clearHeartbeatTimer'](),this[_0x5e9d6b(0x50f)]=setTimeout(()=>this[_0x5e9d6b(0x330)](),(_0xe4a8fd=this[_0x5e9d6b(0x4c8)][_0x5e9d6b(0x314)](lt))!=null?_0xe4a8fd:Lt);}['_sendHeartbeat'](){var _0x5e037a=_0x44d730;this[_0x5e037a(0x2f0)][_0x5e037a(0x340)]({'cmd':W[_0x5e037a(0x43d)]}),this[_0x5e037a(0x336)]();}[_0x44d730(0x336)](){var _0x40f378=_0x44d730,_0x2a13ed;this[_0x40f378(0x4d9)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x2a13ed=this[_0x40f378(0x4c8)][_0x40f378(0x314)](ke))!=null?_0x2a13ed:ut);}[_0x44d730(0x4b6)](){var _0x2fbe6f=_0x44d730;this[_0x2fbe6f(0x50f)]!=null&&(clearTimeout(this[_0x2fbe6f(0x50f)]),this[_0x2fbe6f(0x50f)]=null);}[_0x44d730(0x30a)](){var _0xddd6e=_0x44d730;this[_0xddd6e(0x4d9)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0xddd6e(0x4d9)]=null);}},exports[_0x44d730(0x277)]=_i([_e(0x0,o[_0x44d730(0x433)](o[_0x44d730(0x54f)])),_e(0x1,o['ILogService']),_e(0x2,o[_0x44d730(0x47e)]),_e(0x3,Fe),_e(0x4,o['Inject'](ee)),_e(0x5,o[_0x44d730(0x493)](mt))],exports[_0x44d730(0x277)]);var hi=Object[_0x44d730(0x456)],li=(_0x4c460a,_0x4a1a91,_0x34b404,_0x7f96d0)=>{var _0x58ea8d=_0x44d730;for(var _0x219b95=_0x7f96d0>0x1?void 0x0:_0x7f96d0?hi(_0x4a1a91,_0x34b404):_0x4a1a91,_0x2fea91=_0x4c460a[_0x58ea8d(0x53a)]-0x1,_0x467386;_0x2fea91>=0x0;_0x2fea91--)(_0x467386=_0x4c460a[_0x2fea91])&&(_0x219b95=_0x467386(_0x219b95)||_0x219b95);return _0x219b95;},Se=(_0x3be61e,_0x2a97d0)=>(_0x2af5ed,_0x466f30)=>_0x2a97d0(_0x2af5ed,_0x466f30,_0x3be61e);exports[_0x44d730(0x1eb)]=class extends o['RxDisposable']{constructor(_0x10b539,_0x105353,_0x29b3f9,_0xd5d989){var _0x213a5e=_0x44d730,_0x5a2d51;super(),A(this,_0x213a5e(0x46d),new Map()),A(this,'_entityInit$',new j['Subject']()),A(this,'entityInit$',this[_0x213a5e(0x252)][_0x213a5e(0x504)]()),(this[_0x213a5e(0x3f1)]=_0x10b539,this[_0x213a5e(0x2a8)]=_0x105353,this[_0x213a5e(0x4c8)]=_0x29b3f9,this[_0x213a5e(0x3fc)]=_0xd5d989,((_0x5a2d51=this[_0x213a5e(0x4c8)][_0x213a5e(0x314)](Y))==null?void 0x0:_0x5a2d51[_0x213a5e(0x426)])!==!0x1&&this[_0x213a5e(0x3c2)]());}[_0x44d730(0x407)](){var _0x5f4e75=_0x44d730;super[_0x5f4e75(0x407)](),this[_0x5f4e75(0x46d)][_0x5f4e75(0x53e)](_0x2b67cb=>_0x2b67cb[_0x5f4e75(0x407)]()),this['_entities'][_0x5f4e75(0x24f)]();}['getCollabEntity'](_0x2e7a56){var _0x5bec22;return(_0x5bec22=this['_entities']['get'](_0x2e7a56))!=null?_0x5bec22:null;}[_0x44d730(0x217)](_0x1fd4d6){var _0x4db1b5=_0x44d730;const _0x3dbe87=this[_0x4db1b5(0x362)](_0x1fd4d6);return _0x3dbe87?j['of'](_0x3dbe87):this['_entityInit$'][_0x4db1b5(0x448)](V[_0x4db1b5(0x43b)](_0x2c1839=>_0x2c1839[_0x4db1b5(0x20f)]===_0x1fd4d6));}[_0x44d730(0x280)](_0x4c6574){var _0x17a91e=_0x44d730;return j['firstValueFrom'](this['getCollabEntity$'](_0x4c6574)[_0x17a91e(0x448)](V[_0x17a91e(0x309)](()=>{})));}[_0x44d730(0x3c2)](){var _0x24ed9d=_0x44d730;this[_0x24ed9d(0x3fc)]['getTypeOfUnitAdded$'](o['UniverInstanceType'][_0x24ed9d(0x536)])[_0x24ed9d(0x448)](j['takeUntil'](this[_0x24ed9d(0x406)]),V[_0x24ed9d(0x234)](0x10))[_0x24ed9d(0x4e6)](async _0x48fa73=>{var _0x20983f=_0x24ed9d;const _0x28caea=_0x48fa73['getUnitId'](),_0x14fda1=await this[_0x20983f(0x220)](_0x28caea,X[_0x20983f(0x536)]);this['_entities']['set'](_0x28caea,_0x14fda1);}),this[_0x24ed9d(0x3fc)][_0x24ed9d(0x4d4)](o['UniverInstanceType'][_0x24ed9d(0x548)])[_0x24ed9d(0x448)](j[_0x24ed9d(0x4ac)](this['dispose$']),V[_0x24ed9d(0x234)](0x10))[_0x24ed9d(0x448)](V[_0x24ed9d(0x43b)](_0x568fa4=>!_0x568fa4[_0x24ed9d(0x287)]()['startsWith']('__')))[_0x24ed9d(0x4e6)](async _0x5bfb5b=>{var _0x2a26ab=_0x24ed9d;const _0x2a94a6=_0x5bfb5b[_0x2a26ab(0x287)](),_0xdce13d=await this[_0x2a26ab(0x220)](_0x2a94a6,X[_0x2a26ab(0x548)]);this['_entities'][_0x2a26ab(0x395)](_0x2a94a6,_0xdce13d);}),j[_0x24ed9d(0x54d)](this[_0x24ed9d(0x3fc)][_0x24ed9d(0x492)](o['UniverInstanceType'][_0x24ed9d(0x536)]),this[_0x24ed9d(0x3fc)][_0x24ed9d(0x492)](o[_0x24ed9d(0x40e)][_0x24ed9d(0x548)]))[_0x24ed9d(0x448)](j[_0x24ed9d(0x4ac)](this[_0x24ed9d(0x406)]))[_0x24ed9d(0x4e6)](_0x3b3d39=>{var _0x138c3f=_0x24ed9d;const _0x8b438c=_0x3b3d39[_0x138c3f(0x287)](),_0x4f3b24=this[_0x138c3f(0x46d)][_0x138c3f(0x239)](_0x8b438c);_0x4f3b24&&(_0x4f3b24['dispose'](),this[_0x138c3f(0x46d)][_0x138c3f(0x545)](_0x8b438c));});}async['_startCollaboration'](_0x438087,_0x4620ba){var _0x29f1f8=_0x44d730;const _0x9c3c77=await this['_collabSessionService'][_0x29f1f8(0x1fb)](_0x438087),_0x3ee09c=this['_injector'][_0x29f1f8(0x447)](this[_0x29f1f8(0x2b0)](_0x4620ba),_0x438087,_0x4620ba,_0x9c3c77);return await _0x3ee09c[_0x29f1f8(0x23a)](),this[_0x29f1f8(0x252)][_0x29f1f8(0x269)](_0x3ee09c),_0x3ee09c;}[_0x44d730(0x2b0)](_0x578c24){var _0x14214d=_0x44d730;switch(_0x578c24){case X[_0x14214d(0x548)]:return exports[_0x14214d(0x515)];case X[_0x14214d(0x536)]:return exports[_0x14214d(0x3b1)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x578c24);}}},exports[_0x44d730(0x1eb)]=li([Se(0x0,o['Inject'](o['Injector'])),Se(0x1,o['Inject'](exports[_0x44d730(0x277)])),Se(0x2,o[_0x44d730(0x47e)]),Se(0x3,o['IUniverInstanceService'])],exports['CollaborationController']);var ui=Object[_0x44d730(0x456)],vi=(_0x53d245,_0x70ab52,_0x1c6d93,_0x491220)=>{var _0x2c0778=_0x44d730;for(var _0x516293=_0x491220>0x1?void 0x0:_0x491220?ui(_0x70ab52,_0x1c6d93):_0x70ab52,_0x1f2880=_0x53d245[_0x2c0778(0x53a)]-0x1,_0x402497;_0x1f2880>=0x0;_0x1f2880--)(_0x402497=_0x53d245[_0x1f2880])&&(_0x516293=_0x402497(_0x516293)||_0x516293);return _0x516293;},Ye=(_0x4c75cf,_0x336023)=>(_0x3e9b31,_0x27ab62)=>_0x336023(_0x3e9b31,_0x27ab62,_0x4c75cf);const di=_0x44d730(0x482),Si=_0x44d730(0x291);let xe=class extends o[_0x44d730(0x2c5)]{constructor(_0x206751,_0x3e21c2){var _0x2cbd1e=_0x44d730;super(),this['_univerInstanceService']=_0x206751,this[_0x2cbd1e(0x4c8)]=_0x3e21c2,this[_0x2cbd1e(0x3c2)]();}['_init'](){var _0x2244f6=_0x44d730;this[_0x2244f6(0x439)](this[_0x2244f6(0x3fc)][_0x2244f6(0x37c)][_0x2244f6(0x4e6)](()=>{var _0x52555e=_0x2244f6,_0x41b8ab;const _0x29937b=this[_0x52555e(0x3fc)][_0x52555e(0x2dc)]();let _0x1fa2f6=(_0x41b8ab=this['_configService'][_0x52555e(0x314)](di))!=null?_0x41b8ab:Si;_0x29937b instanceof o['Workbook']&&(_0x1fa2f6=_0x29937b['name']),document['title']=_0x1fa2f6;}));}};xe=vi([Ye(0x0,o[_0x44d730(0x487)]),Ye(0x1,o[_0x44d730(0x47e)])],xe);var Ii=Object[_0x44d730(0x456)],fi=(_0x5eb225,_0x10928d,_0x198afb,_0x497bd3)=>{for(var _0x122f52=_0x497bd3>0x1?void 0x0:_0x497bd3?Ii(_0x10928d,_0x198afb):_0x10928d,_0x581e29=_0x5eb225['length']-0x1,_0x36fadf;_0x581e29>=0x0;_0x581e29--)(_0x36fadf=_0x5eb225[_0x581e29])&&(_0x122f52=_0x36fadf(_0x122f52)||_0x122f52);return _0x122f52;},Ae=(_0xb40103,_0x4ba567)=>(_0x525a63,_0x42cb9d)=>_0x4ba567(_0x525a63,_0x42cb9d,_0xb40103);let Ne=class{constructor(_0x3f4ace,_0xecc71,_0x561dc5){var _0x562d65=_0x44d730;this['_configService']=_0x3f4ace,this['_httpService']=_0xecc71,this[_0x562d65(0x39d)]=_0x561dc5,this[_0x562d65(0x23a)]();}[_0x44d730(0x23a)](){var _0x50c944=_0x44d730;this[_0x50c944(0x521)][_0x50c944(0x458)]({'priority':0x1,'interceptor':(_0x3a47bd,_0x15b890)=>_0x15b890(_0x3a47bd)[_0x50c944(0x448)](j['concatMap'](async _0x428018=>{var _0x174955=_0x50c944;const _0x210ade=_0x428018;if(_0x210ade[_0x174955(0x373)]===0x191){if(typeof window>'u')throw new Error(_0x174955(0x3ad));if(window[_0x174955(0x3d6)](this['localeService']['t'](_0x174955(0x32c)))){const _0x318667=window[_0x174955(0x3bd)](window[_0x174955(0x4b9)]['href']);window[_0x174955(0x4b9)]['href']=this[_0x174955(0x553)]()+_0x174955(0x512)+_0x318667;}}return _0x210ade;}))});}[_0x44d730(0x553)](){var _0x110b57=_0x44d730,_0x2d35a6;const _0x239a7a=this['_configService'][_0x110b57(0x314)](Y);return(_0x2d35a6=_0x239a7a==null?void 0x0:_0x239a7a[_0x110b57(0x42c)])!=null?_0x2d35a6:Ht;}};Ne=fi([Ae(0x0,o['IConfigService']),Ae(0x1,o[_0x44d730(0x433)](K['HTTPService'])),Ae(0x2,o[_0x44d730(0x433)](o[_0x44d730(0x4c4)]))],Ne);var Ei=Object[_0x44d730(0x456)],pi=(_0x47e73f,_0x27a51a,_0x3232b1,_0x1ba1ea)=>{var _0x507f46=_0x44d730;for(var _0xeeae7b=_0x1ba1ea>0x1?void 0x0:_0x1ba1ea?Ei(_0x27a51a,_0x3232b1):_0x27a51a,_0x2e9765=_0x47e73f[_0x507f46(0x53a)]-0x1,_0x3ae8f7;_0x2e9765>=0x0;_0x2e9765--)(_0x3ae8f7=_0x47e73f[_0x2e9765])&&(_0xeeae7b=_0x3ae8f7(_0xeeae7b)||_0xeeae7b);return _0xeeae7b;},Ke=(_0x38fc3d,_0x23c77b)=>(_0x559bdc,_0x87d0d1)=>_0x23c77b(_0x559bdc,_0x87d0d1,_0x38fc3d);const mi=_0x44d730(0x2c4);exports['AuthzIoHttpService']=class extends o[_0x44d730(0x2c5)]{constructor(_0x1b6e5c,_0x1fac34){var _0x328035=_0x44d730;super(),this[_0x328035(0x286)]=_0x1b6e5c,this['_configService']=_0x1fac34,this[_0x328035(0x481)]();}[_0x44d730(0x481)](){var _0x3e6b83=_0x44d730;const _0x400975=this;this[_0x3e6b83(0x439)](this[_0x3e6b83(0x286)][_0x3e6b83(0x458)]({'priority':0x3e7,'interceptor':K['MergeInterceptorFactory']({'isMatch'(_0x505560){var _0x301ec4=_0x3e6b83,_0x4a7984;if(_0x505560[_0x301ec4(0x41a)]==='POST'&&((_0x4a7984=_0x505560[_0x301ec4(0x524)])!=null&&_0x4a7984[_0x301ec4(0x47a)])){const {objectID:_0x408eea,objectType:_0x16e3b6}=_0x505560[_0x301ec4(0x524)][_0x301ec4(0x47a)]||{};if(!_0x408eea||_0x16e3b6===void 0x0)return!0x1;const _0x2b2477=_0x400975[_0x301ec4(0x35e)]()+'/'+_0x16e3b6+'/object/'+_0x408eea+_0x301ec4(0x457);if(_0x505560['url']===_0x2b2477)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1a1984){var _0xc46e47=_0x3e6b83,_0x5d4164;return(_0x5d4164=_0x1a1984[_0xc46e47(0x524)])==null?void 0x0:_0x5d4164['body'];},'mergeParamsToRequest'(_0x225f5f,_0x3928c2){var _0x50e990=_0x3e6b83;const _0x7ba546=_0x400975['_getAPIPrefixPath']()+_0x50e990(0x364),_0xd0cefa=_0x225f5f['reduce']((_0x1c10d9,_0x130470)=>{var _0xa6c04a=_0x50e990;const {unitID:_0x1d3f09,objectID:_0x3614eb,objectType:_0x13d651,actions:_0x51e591}=_0x130470;return _0x1c10d9[_0x1d3f09]||(_0x1c10d9[_0x1d3f09]={}),_0x1c10d9[_0x1d3f09][_0x3614eb]||(_0x1c10d9[_0x1d3f09][_0x3614eb]={'objectID':_0x3614eb,'objectType':_0x13d651,'actions':[]}),_0x1c10d9[_0x1d3f09][_0x3614eb]['actions'][_0xa6c04a(0x4b4)](..._0x51e591),_0x1c10d9;},{}),_0x5bd3d4=[];for(const _0x2a62c9 in _0xd0cefa)for(const _0x4be914 in _0xd0cefa[_0x2a62c9]){const {actions:_0x1612f6,objectType:_0x2187ef}=_0xd0cefa[_0x2a62c9][_0x4be914],_0x416eb3=[...new Set(_0x1612f6)];_0x5bd3d4[_0x50e990(0x4b4)]({'unitID':_0x2a62c9,'objectID':_0x4be914,'objectType':_0x2187ef,'actions':_0x416eb3});}return new K[(_0x50e990(0x3c8))](_0x50e990(0x1f5),_0x7ba546,{'headers':_0x3928c2[_0x50e990(0x402)],'withCredentials':_0x3928c2[_0x50e990(0x342)],'responseType':_0x3928c2[_0x50e990(0x27a)],'body':{'requests':_0x5bd3d4}});}},{'distributeResult'(_0x548109,_0x22db64){var _0x24e69f=_0x3e6b83;const {objectActions:_0x508fe5}=_0x548109;return _0x22db64[_0x24e69f(0x309)](_0x4b8a6f=>{var _0x340e8f=_0x24e69f;const {unitID:_0x57b257,objectID:_0x12a46b,actions:_0x184a73}=_0x4b8a6f,_0x132aa3=_0x508fe5[_0x340e8f(0x3da)](_0x42ed99=>_0x42ed99[_0x340e8f(0x20f)]===_0x57b257&&_0x42ed99[_0x340e8f(0x322)]===_0x12a46b),_0x13d0ab=_0x184a73[_0x340e8f(0x309)](_0x3dcce9=>_0x132aa3==null?void 0x0:_0x132aa3[_0x340e8f(0x219)][_0x340e8f(0x3da)](_0x2df107=>_0x2df107['action']===_0x3dcce9))[_0x340e8f(0x43b)](_0x23a6d6=>!!_0x23a6d6);return{'config':_0x4b8a6f,'result':{'actions':_0x13d0ab,'error':_0x548109[_0x340e8f(0x4e4)]}};});}})}));}[_0x44d730(0x35e)](){var _0x4ed761=_0x44d730,_0x501f65;const _0x1c10e3=this[_0x4ed761(0x4c8)][_0x4ed761(0x314)](Y);return(_0x501f65=_0x1c10e3==null?void 0x0:_0x1c10e3[_0x4ed761(0x354)])!=null?_0x501f65:mi;}async['create'](_0x33a83c){var _0x572df0=_0x44d730;const _0x3c603d=this[_0x572df0(0x35e)]()+'/'+_0x33a83c[_0x572df0(0x427)]+_0x572df0(0x3ca);return(await this[_0x572df0(0x286)][_0x572df0(0x53c)](_0x3c603d,{'body':_0x33a83c}))[_0x572df0(0x47a)][_0x572df0(0x322)]||'';}async['list'](_0x17c6de){var _0x50297f=_0x44d730;const _0x2016c4=this['_getAPIPrefixPath']()+_0x50297f(0x50c);return(await this[_0x50297f(0x286)]['post'](_0x2016c4,{'body':_0x17c6de}))['body'][_0x50297f(0x47d)];}async['update'](_0x5da28b){var _0xecd10=_0x44d730,_0xfede23,_0x185e19;const _0x4ae653=this['_getAPIPrefixPath']()+'/'+_0x5da28b['objectType']+'/object/'+_0x5da28b['objectID'],_0x55c791=await this[_0xecd10(0x286)][_0xecd10(0x28a)](_0x4ae653,{'body':_0x5da28b});if(((_0x185e19=(_0xfede23=_0x55c791==null?void 0x0:_0x55c791[_0xecd10(0x47a)])==null?void 0x0:_0xfede23[_0xecd10(0x4e4)])==null?void 0x0:_0x185e19[_0xecd10(0x419)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x44d730(0x4fa)](_0x5446b5){var _0x4fa98b=_0x44d730;const _0x2cee1c=this[_0x4fa98b(0x35e)]()+'/'+_0x5446b5[_0x4fa98b(0x427)]+_0x4fa98b(0x3dc)+_0x5446b5[_0x4fa98b(0x322)]+_0x4fa98b(0x457);return(await this[_0x4fa98b(0x286)][_0x4fa98b(0x53c)](_0x2cee1c,{'body':_0x5446b5}))[_0x4fa98b(0x47a)][_0x4fa98b(0x219)];}async['batchAllowed'](_0x51bb27){var _0x3e91c9=_0x44d730;const _0x32b934=this[_0x3e91c9(0x35e)]()+'/-/object/-/batch_allowed';return(await this[_0x3e91c9(0x286)][_0x3e91c9(0x53c)](_0x32b934,{'body':{'requests':_0x51bb27}}))[_0x3e91c9(0x47a)]['objectActions'];}async[_0x44d730(0x2ab)](_0x2438b3){var _0x451ed7=_0x44d730;const _0x4a7d79=this[_0x451ed7(0x35e)]()+'/'+_0x2438b3[_0x451ed7(0x427)]+_0x451ed7(0x525),_0x3feb90=await this[_0x451ed7(0x286)][_0x451ed7(0x53c)](_0x4a7d79,{'body':_0x2438b3});return{'roles':_0x3feb90[_0x451ed7(0x47a)][_0x451ed7(0x56e)],'actions':_0x3feb90[_0x451ed7(0x47a)][_0x451ed7(0x219)]};}async[_0x44d730(0x4de)](_0x4a3c28){var _0x4445ad=_0x44d730;const _0x5aac40=this[_0x4445ad(0x35e)]()+_0x4445ad(0x2e0);await this['_HTTPService'][_0x4445ad(0x545)](_0x5aac40,{'params':{'collaboratorID':_0x4a3c28[_0x4445ad(0x418)],'objectID':_0x4a3c28[_0x4445ad(0x322)],'unitID':_0x4a3c28[_0x4445ad(0x20f)]}});}async[_0x44d730(0x338)](_0x10adf3){var _0x89f79f=_0x44d730;const _0x2e5ef5=this[_0x89f79f(0x35e)]()+_0x89f79f(0x2e0);await this[_0x89f79f(0x286)][_0x89f79f(0x399)](_0x2e5ef5,{'body':_0x10adf3});}async[_0x44d730(0x510)](_0x29d8b8){var _0x5e5859=_0x44d730;const _0x202389=this['_getAPIPrefixPath']()+_0x5e5859(0x2e0);await this['_HTTPService']['post'](_0x202389,{'body':_0x29d8b8});}async[_0x44d730(0x1f4)](_0x423034){var _0x3428fd=_0x44d730;const _0x3dd504=this[_0x3428fd(0x35e)]()+'/collaborator';return(await this[_0x3428fd(0x286)][_0x3428fd(0x239)](_0x3dd504,{'params':{'objectID':_0x423034['objectID'],'unitID':_0x423034['unitID']}}))[_0x3428fd(0x47a)][_0x3428fd(0x270)];}async[_0x44d730(0x4f5)](_0x569dd4){var _0x1b9e00=_0x44d730;const _0x4bcb2e=this[_0x1b9e00(0x35e)]()+_0x1b9e00(0x2e0);await this[_0x1b9e00(0x286)][_0x1b9e00(0x28a)](_0x4bcb2e,{'body':_0x569dd4});}},exports['AuthzIoHttpService']=pi([Ke(0x0,o[_0x44d730(0x433)](K[_0x44d730(0x2ad)])),Ke(0x1,o['Inject'](o[_0x44d730(0x47e)]))],exports[_0x44d730(0x3fe)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function de(_0x9260f1){var _0x2a3710=_0x44d730;return _0x9260f1&&_0x9260f1[_0x2a3710(0x46c)]&&Object[_0x2a3710(0x425)][_0x2a3710(0x25e)][_0x2a3710(0x2da)](_0x9260f1,_0x2a3710(0x4c7))?_0x9260f1['default']:_0x9260f1;}var Ie={'exports':{}};function gi(_0x589be7){var _0x16c8d1=_0x44d730;throw new Error(_0x16c8d1(0x479)+_0x589be7+_0x16c8d1(0x30c));}var fe={'exports':{}},Ti=fe[_0x44d730(0x2df)],qe;function Z(){return qe||(qe=0x1,function(_0x4cf706,_0x27ddd7){(function(_0x5aee9f,_0x4b4b75){var _0x385e79=_0x2b21;_0x4cf706[_0x385e79(0x2df)]=_0x4b4b75();}(Ti,function(){var _0x1c69ab=_0x1c69ab||function(_0x355980,_0x28038b){var _0xda3ffd=_0x2b21,_0x3ea51a;if(typeof window<'u'&&window[_0xda3ffd(0x36e)]&&(_0x3ea51a=window[_0xda3ffd(0x36e)]),typeof self<'u'&&self['crypto']&&(_0x3ea51a=self[_0xda3ffd(0x36e)]),typeof globalThis<'u'&&globalThis[_0xda3ffd(0x36e)]&&(_0x3ea51a=globalThis[_0xda3ffd(0x36e)]),!_0x3ea51a&&typeof window<'u'&&window['msCrypto']&&(_0x3ea51a=window[_0xda3ffd(0x42a)]),!_0x3ea51a&&typeof Pe<'u'&&Pe[_0xda3ffd(0x36e)]&&(_0x3ea51a=Pe['crypto']),!_0x3ea51a&&typeof gi==_0xda3ffd(0x51b))try{_0x3ea51a=require('crypto');}catch{}var _0x2ea368=function(){var _0x4bb965=_0xda3ffd;if(_0x3ea51a){if(typeof _0x3ea51a[_0x4bb965(0x2d8)]==_0x4bb965(0x51b))try{return _0x3ea51a[_0x4bb965(0x2d8)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3ea51a[_0x4bb965(0x56a)]=='function')try{return _0x3ea51a[_0x4bb965(0x56a)](0x4)[_0x4bb965(0x49f)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x4b61ab=Object[_0xda3ffd(0x2e8)]||(function(){function _0x5dae88(){}return function(_0x44bc2a){var _0x1b0ea0=_0x2b21,_0x30086a;return _0x5dae88['prototype']=_0x44bc2a,_0x30086a=new _0x5dae88(),_0x5dae88[_0x1b0ea0(0x425)]=null,_0x30086a;};}()),_0x20d976={},_0x21c4fd=_0x20d976[_0xda3ffd(0x2b4)]={},_0x8af28b=_0x21c4fd[_0xda3ffd(0x4f6)]=(function(){return{'extend':function(_0x2fd5ac){var _0x52756f=_0x2b21,_0x4e2507=_0x4b61ab(this);return _0x2fd5ac&&_0x4e2507[_0x52756f(0x387)](_0x2fd5ac),(!_0x4e2507[_0x52756f(0x25e)](_0x52756f(0x23a))||this[_0x52756f(0x23a)]===_0x4e2507[_0x52756f(0x23a)])&&(_0x4e2507[_0x52756f(0x23a)]=function(){var _0x27b289=_0x52756f;_0x4e2507[_0x27b289(0x294)][_0x27b289(0x23a)][_0x27b289(0x31c)](this,arguments);}),_0x4e2507[_0x52756f(0x23a)][_0x52756f(0x425)]=_0x4e2507,_0x4e2507[_0x52756f(0x294)]=this,_0x4e2507;},'create':function(){var _0x56d875=_0x2b21,_0x14adde=this[_0x56d875(0x261)]();return _0x14adde[_0x56d875(0x23a)][_0x56d875(0x31c)](_0x14adde,arguments),_0x14adde;},'init':function(){},'mixIn':function(_0x3a25ee){var _0x271756=_0x2b21;for(var _0x4a3955 in _0x3a25ee)_0x3a25ee[_0x271756(0x25e)](_0x4a3955)&&(this[_0x4a3955]=_0x3a25ee[_0x4a3955]);_0x3a25ee[_0x271756(0x25e)]('toString')&&(this[_0x271756(0x1e9)]=_0x3a25ee[_0x271756(0x1e9)]);},'clone':function(){var _0x58b932=_0x2b21;return this[_0x58b932(0x23a)][_0x58b932(0x425)][_0x58b932(0x261)](this);}};}()),_0x505f61=_0x21c4fd[_0xda3ffd(0x3e2)]=_0x8af28b['extend']({'init':function(_0x407c86,_0x50aadb){var _0x3ed483=_0xda3ffd;_0x407c86=this[_0x3ed483(0x2bb)]=_0x407c86||[],_0x50aadb!=_0x28038b?this['sigBytes']=_0x50aadb:this[_0x3ed483(0x2ba)]=_0x407c86[_0x3ed483(0x53a)]*0x4;},'toString':function(_0x582844){var _0x1e2b41=_0xda3ffd;return(_0x582844||_0x5ddff6)[_0x1e2b41(0x432)](this);},'concat':function(_0x7dd46d){var _0x200837=_0xda3ffd,_0x1f515f=this['words'],_0x464b57=_0x7dd46d[_0x200837(0x2bb)],_0x162c62=this[_0x200837(0x2ba)],_0x1b5db7=_0x7dd46d[_0x200837(0x2ba)];if(this[_0x200837(0x279)](),_0x162c62%0x4)for(var _0x5c881f=0x0;_0x5c881f<_0x1b5db7;_0x5c881f++){var _0x1ca826=_0x464b57[_0x5c881f>>>0x2]>>>0x18-_0x5c881f%0x4*0x8&0xff;_0x1f515f[_0x162c62+_0x5c881f>>>0x2]|=_0x1ca826<<0x18-(_0x162c62+_0x5c881f)%0x4*0x8;}else{for(var _0x4ed940=0x0;_0x4ed940<_0x1b5db7;_0x4ed940+=0x4)_0x1f515f[_0x162c62+_0x4ed940>>>0x2]=_0x464b57[_0x4ed940>>>0x2];}return this[_0x200837(0x2ba)]+=_0x1b5db7,this;},'clamp':function(){var _0x5b60d2=_0xda3ffd,_0x1b3bf5=this[_0x5b60d2(0x2bb)],_0x4b6caa=this['sigBytes'];_0x1b3bf5[_0x4b6caa>>>0x2]&=0xffffffff<<0x20-_0x4b6caa%0x4*0x8,_0x1b3bf5['length']=_0x355980[_0x5b60d2(0x3de)](_0x4b6caa/0x4);},'clone':function(){var _0x2f221d=_0xda3ffd,_0x2ad861=_0x8af28b[_0x2f221d(0x334)][_0x2f221d(0x2da)](this);return _0x2ad861[_0x2f221d(0x2bb)]=this[_0x2f221d(0x2bb)]['slice'](0x0),_0x2ad861;},'random':function(_0x3baaff){var _0x4d6c36=_0xda3ffd;for(var _0x233b74=[],_0x4044b5=0x0;_0x4044b5<_0x3baaff;_0x4044b5+=0x4)_0x233b74[_0x4d6c36(0x4b4)](_0x2ea368());return new _0x505f61[(_0x4d6c36(0x23a))](_0x233b74,_0x3baaff);}}),_0x42eb8f=_0x20d976[_0xda3ffd(0x22f)]={},_0x5ddff6=_0x42eb8f[_0xda3ffd(0x471)]={'stringify':function(_0x3a95c4){var _0x323cbf=_0xda3ffd;for(var _0x3230ce=_0x3a95c4[_0x323cbf(0x2bb)],_0x438375=_0x3a95c4[_0x323cbf(0x2ba)],_0x36ee5f=[],_0x3b2e62=0x0;_0x3b2e62<_0x438375;_0x3b2e62++){var _0x2d593=_0x3230ce[_0x3b2e62>>>0x2]>>>0x18-_0x3b2e62%0x4*0x8&0xff;_0x36ee5f[_0x323cbf(0x4b4)]((_0x2d593>>>0x4)['toString'](0x10)),_0x36ee5f[_0x323cbf(0x4b4)]((_0x2d593&0xf)[_0x323cbf(0x1e9)](0x10));}return _0x36ee5f['join']('');},'parse':function(_0x1b553c){var _0x40a0df=_0xda3ffd;for(var _0x45329b=_0x1b553c[_0x40a0df(0x53a)],_0x14749a=[],_0x416265=0x0;_0x416265<_0x45329b;_0x416265+=0x2)_0x14749a[_0x416265>>>0x3]|=parseInt(_0x1b553c[_0x40a0df(0x486)](_0x416265,0x2),0x10)<<0x18-_0x416265%0x8*0x4;return new _0x505f61['init'](_0x14749a,_0x45329b/0x2);}},_0x29ba4c=_0x42eb8f[_0xda3ffd(0x369)]={'stringify':function(_0xc2cca1){var _0x5bfba8=_0xda3ffd;for(var _0x2520ff=_0xc2cca1[_0x5bfba8(0x2bb)],_0xb80c51=_0xc2cca1['sigBytes'],_0x4510b4=[],_0x303fde=0x0;_0x303fde<_0xb80c51;_0x303fde++){var _0x1b0ecc=_0x2520ff[_0x303fde>>>0x2]>>>0x18-_0x303fde%0x4*0x8&0xff;_0x4510b4['push'](String[_0x5bfba8(0x284)](_0x1b0ecc));}return _0x4510b4[_0x5bfba8(0x2d7)]('');},'parse':function(_0x45b917){var _0x1d15bc=_0xda3ffd;for(var _0x30de55=_0x45b917[_0x1d15bc(0x53a)],_0x61f971=[],_0x4cced7=0x0;_0x4cced7<_0x30de55;_0x4cced7++)_0x61f971[_0x4cced7>>>0x2]|=(_0x45b917[_0x1d15bc(0x359)](_0x4cced7)&0xff)<<0x18-_0x4cced7%0x4*0x8;return new _0x505f61[(_0x1d15bc(0x23a))](_0x61f971,_0x30de55);}},_0x5f1bb9=_0x42eb8f[_0xda3ffd(0x565)]={'stringify':function(_0x57bc26){var _0x40205a=_0xda3ffd;try{return decodeURIComponent(escape(_0x29ba4c[_0x40205a(0x432)](_0x57bc26)));}catch{throw new Error(_0x40205a(0x225));}},'parse':function(_0x3c7f08){var _0x47161b=_0xda3ffd;return _0x29ba4c[_0x47161b(0x2fc)](unescape(encodeURIComponent(_0x3c7f08)));}},_0x2dbe20=_0x21c4fd['BufferedBlockAlgorithm']=_0x8af28b[_0xda3ffd(0x261)]({'reset':function(){var _0x13b9c1=_0xda3ffd;this['_data']=new _0x505f61[(_0x13b9c1(0x23a))](),this['_nDataBytes']=0x0;},'_append':function(_0xe6c84b){var _0x30fbd0=_0xda3ffd;typeof _0xe6c84b==_0x30fbd0(0x38c)&&(_0xe6c84b=_0x5f1bb9[_0x30fbd0(0x2fc)](_0xe6c84b)),this[_0x30fbd0(0x570)][_0x30fbd0(0x371)](_0xe6c84b),this['_nDataBytes']+=_0xe6c84b['sigBytes'];},'_process':function(_0x2f56fd){var _0x2af2f9=_0xda3ffd,_0x13b511,_0x5a7c68=this['_data'],_0x97a5b0=_0x5a7c68[_0x2af2f9(0x2bb)],_0x3b0bb6=_0x5a7c68[_0x2af2f9(0x2ba)],_0xa6b84c=this[_0x2af2f9(0x453)],_0x535b79=_0xa6b84c*0x4,_0x22afcb=_0x3b0bb6/_0x535b79;_0x2f56fd?_0x22afcb=_0x355980['ceil'](_0x22afcb):_0x22afcb=_0x355980[_0x2af2f9(0x40a)]((_0x22afcb|0x0)-this[_0x2af2f9(0x382)],0x0);var _0x4c5338=_0x22afcb*_0xa6b84c,_0x252783=_0x355980[_0x2af2f9(0x1ff)](_0x4c5338*0x4,_0x3b0bb6);if(_0x4c5338){for(var _0x5f59e7=0x0;_0x5f59e7<_0x4c5338;_0x5f59e7+=_0xa6b84c)this['_doProcessBlock'](_0x97a5b0,_0x5f59e7);_0x13b511=_0x97a5b0[_0x2af2f9(0x352)](0x0,_0x4c5338),_0x5a7c68[_0x2af2f9(0x2ba)]-=_0x252783;}return new _0x505f61[(_0x2af2f9(0x23a))](_0x13b511,_0x252783);},'clone':function(){var _0x50e6ab=_0xda3ffd,_0x5bcf3b=_0x8af28b[_0x50e6ab(0x334)][_0x50e6ab(0x2da)](this);return _0x5bcf3b[_0x50e6ab(0x570)]=this[_0x50e6ab(0x570)][_0x50e6ab(0x334)](),_0x5bcf3b;},'_minBufferSize':0x0});_0x21c4fd[_0xda3ffd(0x48a)]=_0x2dbe20[_0xda3ffd(0x261)]({'cfg':_0x8af28b[_0xda3ffd(0x261)](),'init':function(_0x5abd7e){var _0x4eaf73=_0xda3ffd;this[_0x4eaf73(0x293)]=this[_0x4eaf73(0x293)][_0x4eaf73(0x261)](_0x5abd7e),this['reset']();},'reset':function(){var _0x5b5d50=_0xda3ffd;_0x2dbe20[_0x5b5d50(0x523)][_0x5b5d50(0x2da)](this),this[_0x5b5d50(0x221)]();},'update':function(_0x5db472){var _0x377e83=_0xda3ffd;return this[_0x377e83(0x4f2)](_0x5db472),this[_0x377e83(0x507)](),this;},'finalize':function(_0x2c633a){var _0x2b77be=_0xda3ffd;_0x2c633a&&this[_0x2b77be(0x4f2)](_0x2c633a);var _0x247db5=this[_0x2b77be(0x289)]();return _0x247db5;},'blockSize':0x10,'_createHelper':function(_0x19b26b){return function(_0x2320de,_0xecec79){var _0x30ce6b=_0x2b21;return new _0x19b26b[(_0x30ce6b(0x23a))](_0xecec79)[_0x30ce6b(0x375)](_0x2320de);};},'_createHmacHelper':function(_0x2f3821){return function(_0x1bb9ae,_0x35fe82){var _0x3e42cd=_0x2b21;return new _0x4afac5[(_0x3e42cd(0x55b))][(_0x3e42cd(0x23a))](_0x2f3821,_0x35fe82)[_0x3e42cd(0x375)](_0x1bb9ae);};}});var _0x4afac5=_0x20d976['algo']={};return _0x20d976;}(Math);return _0x1c69ab;}));}(fe)),fe['exports'];}var Ee={'exports':{}},Ci=Ee[_0x44d730(0x2df)],ze;function Ct(){var _0xeca7e7=_0x44d730;return ze||(ze=0x1,function(_0x41b1ae,_0x5de42d){(function(_0x3f0554,_0x299a12){var _0x57fb25=_0x2b21;_0x41b1ae[_0x57fb25(0x2df)]=_0x299a12(Z());}(Ci,function(_0x5cdc61){var _0x39f1f1=_0x2b21;return(function(){var _0x333565=_0x2b21,_0x55781d=_0x5cdc61,_0x5bc023=_0x55781d[_0x333565(0x2b4)],_0x4fc781=_0x5bc023[_0x333565(0x3e2)],_0x47848c=_0x55781d[_0x333565(0x22f)];_0x47848c[_0x333565(0x478)]={'stringify':function(_0x3e5bbd){var _0x15173e=_0x333565,_0x591f63=_0x3e5bbd[_0x15173e(0x2bb)],_0x58e9c5=_0x3e5bbd[_0x15173e(0x2ba)],_0x32c2a8=this[_0x15173e(0x39a)];_0x3e5bbd['clamp']();for(var _0x5d5a9e=[],_0x52a108=0x0;_0x52a108<_0x58e9c5;_0x52a108+=0x3)for(var _0x4abb8f=_0x591f63[_0x52a108>>>0x2]>>>0x18-_0x52a108%0x4*0x8&0xff,_0x443aa6=_0x591f63[_0x52a108+0x1>>>0x2]>>>0x18-(_0x52a108+0x1)%0x4*0x8&0xff,_0x54134b=_0x591f63[_0x52a108+0x2>>>0x2]>>>0x18-(_0x52a108+0x2)%0x4*0x8&0xff,_0xf55c05=_0x4abb8f<<0x10|_0x443aa6<<0x8|_0x54134b,_0x4b2c6d=0x0;_0x4b2c6d<0x4&&_0x52a108+_0x4b2c6d*0.75<_0x58e9c5;_0x4b2c6d++)_0x5d5a9e['push'](_0x32c2a8[_0x15173e(0x3e1)](_0xf55c05>>>0x6*(0x3-_0x4b2c6d)&0x3f));var _0x336762=_0x32c2a8['charAt'](0x40);if(_0x336762){for(;_0x5d5a9e[_0x15173e(0x53a)]%0x4;)_0x5d5a9e[_0x15173e(0x4b4)](_0x336762);}return _0x5d5a9e['join']('');},'parse':function(_0xc971a7){var _0x355c45=_0x333565,_0x5f5313=_0xc971a7[_0x355c45(0x53a)],_0x4a2803=this[_0x355c45(0x39a)],_0x49fce4=this['_reverseMap'];if(!_0x49fce4){_0x49fce4=this[_0x355c45(0x44e)]=[];for(var _0x377e3=0x0;_0x377e3<_0x4a2803[_0x355c45(0x53a)];_0x377e3++)_0x49fce4[_0x4a2803['charCodeAt'](_0x377e3)]=_0x377e3;}var _0x418086=_0x4a2803[_0x355c45(0x3e1)](0x40);if(_0x418086){var _0x3eeeeb=_0xc971a7[_0x355c45(0x2cb)](_0x418086);_0x3eeeeb!==-0x1&&(_0x5f5313=_0x3eeeeb);}return _0x497ab7(_0xc971a7,_0x5f5313,_0x49fce4);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x497ab7(_0x4478eb,_0x5b048c,_0x5aef24){var _0x2596c2=_0x333565;for(var _0x4d89b5=[],_0x32c137=0x0,_0x1f5bc5=0x0;_0x1f5bc5<_0x5b048c;_0x1f5bc5++)if(_0x1f5bc5%0x4){var _0x64bcf2=_0x5aef24[_0x4478eb['charCodeAt'](_0x1f5bc5-0x1)]<<_0x1f5bc5%0x4*0x2,_0x501580=_0x5aef24[_0x4478eb[_0x2596c2(0x359)](_0x1f5bc5)]>>>0x6-_0x1f5bc5%0x4*0x2,_0x4ca388=_0x64bcf2|_0x501580;_0x4d89b5[_0x32c137>>>0x2]|=_0x4ca388<<0x18-_0x32c137%0x4*0x8,_0x32c137++;}return _0x4fc781[_0x2596c2(0x2e8)](_0x4d89b5,_0x32c137);}}()),_0x5cdc61[_0x39f1f1(0x22f)][_0x39f1f1(0x478)];}));}(Ee)),Ee[_0xeca7e7(0x2df)];}var pe={'exports':{}},Oi=pe[_0x44d730(0x2df)],Xe;function bi(){return Xe||(Xe=0x1,function(_0x67b8be,_0x17ef66){(function(_0x53bc70,_0xd725a5){var _0x3fe250=_0x2b21;_0x67b8be[_0x3fe250(0x2df)]=_0xd725a5(Z());}(Oi,function(_0x17e284){return function(_0x167ca6){var _0x76b8f9=_0x2b21,_0x472470=_0x17e284,_0xcee2a9=_0x472470['lib'],_0x349d22=_0xcee2a9[_0x76b8f9(0x3e2)],_0x378ecb=_0xcee2a9[_0x76b8f9(0x48a)],_0x4aa872=_0x472470[_0x76b8f9(0x4ad)],_0x42bf7e=[];(function(){var _0x3f8769=_0x76b8f9;for(var _0x110d18=0x0;_0x110d18<0x40;_0x110d18++)_0x42bf7e[_0x110d18]=_0x167ca6['abs'](_0x167ca6[_0x3f8769(0x348)](_0x110d18+0x1))*0x100000000|0x0;}());var _0xc671d3=_0x4aa872['MD5']=_0x378ecb[_0x76b8f9(0x261)]({'_doReset':function(){var _0x3ed6ba=_0x76b8f9;this[_0x3ed6ba(0x495)]=new _0x349d22['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5175bc,_0x3aad46){var _0x2b486c=_0x76b8f9;for(var _0x4c0cbb=0x0;_0x4c0cbb<0x10;_0x4c0cbb++){var _0x5ab1c0=_0x3aad46+_0x4c0cbb,_0x18cd35=_0x5175bc[_0x5ab1c0];_0x5175bc[_0x5ab1c0]=(_0x18cd35<<0x8|_0x18cd35>>>0x18)&0xff00ff|(_0x18cd35<<0x18|_0x18cd35>>>0x8)&0xff00ff00;}var _0x2fbc41=this['_hash'][_0x2b486c(0x2bb)],_0x407c6d=_0x5175bc[_0x3aad46+0x0],_0x545143=_0x5175bc[_0x3aad46+0x1],_0x4e7957=_0x5175bc[_0x3aad46+0x2],_0x2da52b=_0x5175bc[_0x3aad46+0x3],_0x1107bc=_0x5175bc[_0x3aad46+0x4],_0x33f535=_0x5175bc[_0x3aad46+0x5],_0x228917=_0x5175bc[_0x3aad46+0x6],_0x52567e=_0x5175bc[_0x3aad46+0x7],_0x30a466=_0x5175bc[_0x3aad46+0x8],_0x8f5bde=_0x5175bc[_0x3aad46+0x9],_0x4f1c11=_0x5175bc[_0x3aad46+0xa],_0x2367da=_0x5175bc[_0x3aad46+0xb],_0x7748e4=_0x5175bc[_0x3aad46+0xc],_0x32ddc2=_0x5175bc[_0x3aad46+0xd],_0x1734ec=_0x5175bc[_0x3aad46+0xe],_0x42df34=_0x5175bc[_0x3aad46+0xf],_0x51b432=_0x2fbc41[0x0],_0x64acc1=_0x2fbc41[0x1],_0x53d7f6=_0x2fbc41[0x2],_0xdabf7e=_0x2fbc41[0x3];_0x51b432=_0x2257b4(_0x51b432,_0x64acc1,_0x53d7f6,_0xdabf7e,_0x407c6d,0x7,_0x42bf7e[0x0]),_0xdabf7e=_0x2257b4(_0xdabf7e,_0x51b432,_0x64acc1,_0x53d7f6,_0x545143,0xc,_0x42bf7e[0x1]),_0x53d7f6=_0x2257b4(_0x53d7f6,_0xdabf7e,_0x51b432,_0x64acc1,_0x4e7957,0x11,_0x42bf7e[0x2]),_0x64acc1=_0x2257b4(_0x64acc1,_0x53d7f6,_0xdabf7e,_0x51b432,_0x2da52b,0x16,_0x42bf7e[0x3]),_0x51b432=_0x2257b4(_0x51b432,_0x64acc1,_0x53d7f6,_0xdabf7e,_0x1107bc,0x7,_0x42bf7e[0x4]),_0xdabf7e=_0x2257b4(_0xdabf7e,_0x51b432,_0x64acc1,_0x53d7f6,_0x33f535,0xc,_0x42bf7e[0x5]),_0x53d7f6=_0x2257b4(_0x53d7f6,_0xdabf7e,_0x51b432,_0x64acc1,_0x228917,0x11,_0x42bf7e[0x6]),_0x64acc1=_0x2257b4(_0x64acc1,_0x53d7f6,_0xdabf7e,_0x51b432,_0x52567e,0x16,_0x42bf7e[0x7]),_0x51b432=_0x2257b4(_0x51b432,_0x64acc1,_0x53d7f6,_0xdabf7e,_0x30a466,0x7,_0x42bf7e[0x8]),_0xdabf7e=_0x2257b4(_0xdabf7e,_0x51b432,_0x64acc1,_0x53d7f6,_0x8f5bde,0xc,_0x42bf7e[0x9]),_0x53d7f6=_0x2257b4(_0x53d7f6,_0xdabf7e,_0x51b432,_0x64acc1,_0x4f1c11,0x11,_0x42bf7e[0xa]),_0x64acc1=_0x2257b4(_0x64acc1,_0x53d7f6,_0xdabf7e,_0x51b432,_0x2367da,0x16,_0x42bf7e[0xb]),_0x51b432=_0x2257b4(_0x51b432,_0x64acc1,_0x53d7f6,_0xdabf7e,_0x7748e4,0x7,_0x42bf7e[0xc]),_0xdabf7e=_0x2257b4(_0xdabf7e,_0x51b432,_0x64acc1,_0x53d7f6,_0x32ddc2,0xc,_0x42bf7e[0xd]),_0x53d7f6=_0x2257b4(_0x53d7f6,_0xdabf7e,_0x51b432,_0x64acc1,_0x1734ec,0x11,_0x42bf7e[0xe]),_0x64acc1=_0x2257b4(_0x64acc1,_0x53d7f6,_0xdabf7e,_0x51b432,_0x42df34,0x16,_0x42bf7e[0xf]),_0x51b432=_0x507ad4(_0x51b432,_0x64acc1,_0x53d7f6,_0xdabf7e,_0x545143,0x5,_0x42bf7e[0x10]),_0xdabf7e=_0x507ad4(_0xdabf7e,_0x51b432,_0x64acc1,_0x53d7f6,_0x228917,0x9,_0x42bf7e[0x11]),_0x53d7f6=_0x507ad4(_0x53d7f6,_0xdabf7e,_0x51b432,_0x64acc1,_0x2367da,0xe,_0x42bf7e[0x12]),_0x64acc1=_0x507ad4(_0x64acc1,_0x53d7f6,_0xdabf7e,_0x51b432,_0x407c6d,0x14,_0x42bf7e[0x13]),_0x51b432=_0x507ad4(_0x51b432,_0x64acc1,_0x53d7f6,_0xdabf7e,_0x33f535,0x5,_0x42bf7e[0x14]),_0xdabf7e=_0x507ad4(_0xdabf7e,_0x51b432,_0x64acc1,_0x53d7f6,_0x4f1c11,0x9,_0x42bf7e[0x15]),_0x53d7f6=_0x507ad4(_0x53d7f6,_0xdabf7e,_0x51b432,_0x64acc1,_0x42df34,0xe,_0x42bf7e[0x16]),_0x64acc1=_0x507ad4(_0x64acc1,_0x53d7f6,_0xdabf7e,_0x51b432,_0x1107bc,0x14,_0x42bf7e[0x17]),_0x51b432=_0x507ad4(_0x51b432,_0x64acc1,_0x53d7f6,_0xdabf7e,_0x8f5bde,0x5,_0x42bf7e[0x18]),_0xdabf7e=_0x507ad4(_0xdabf7e,_0x51b432,_0x64acc1,_0x53d7f6,_0x1734ec,0x9,_0x42bf7e[0x19]),_0x53d7f6=_0x507ad4(_0x53d7f6,_0xdabf7e,_0x51b432,_0x64acc1,_0x2da52b,0xe,_0x42bf7e[0x1a]),_0x64acc1=_0x507ad4(_0x64acc1,_0x53d7f6,_0xdabf7e,_0x51b432,_0x30a466,0x14,_0x42bf7e[0x1b]),_0x51b432=_0x507ad4(_0x51b432,_0x64acc1,_0x53d7f6,_0xdabf7e,_0x32ddc2,0x5,_0x42bf7e[0x1c]),_0xdabf7e=_0x507ad4(_0xdabf7e,_0x51b432,_0x64acc1,_0x53d7f6,_0x4e7957,0x9,_0x42bf7e[0x1d]),_0x53d7f6=_0x507ad4(_0x53d7f6,_0xdabf7e,_0x51b432,_0x64acc1,_0x52567e,0xe,_0x42bf7e[0x1e]),_0x64acc1=_0x507ad4(_0x64acc1,_0x53d7f6,_0xdabf7e,_0x51b432,_0x7748e4,0x14,_0x42bf7e[0x1f]),_0x51b432=_0x1f8a34(_0x51b432,_0x64acc1,_0x53d7f6,_0xdabf7e,_0x33f535,0x4,_0x42bf7e[0x20]),_0xdabf7e=_0x1f8a34(_0xdabf7e,_0x51b432,_0x64acc1,_0x53d7f6,_0x30a466,0xb,_0x42bf7e[0x21]),_0x53d7f6=_0x1f8a34(_0x53d7f6,_0xdabf7e,_0x51b432,_0x64acc1,_0x2367da,0x10,_0x42bf7e[0x22]),_0x64acc1=_0x1f8a34(_0x64acc1,_0x53d7f6,_0xdabf7e,_0x51b432,_0x1734ec,0x17,_0x42bf7e[0x23]),_0x51b432=_0x1f8a34(_0x51b432,_0x64acc1,_0x53d7f6,_0xdabf7e,_0x545143,0x4,_0x42bf7e[0x24]),_0xdabf7e=_0x1f8a34(_0xdabf7e,_0x51b432,_0x64acc1,_0x53d7f6,_0x1107bc,0xb,_0x42bf7e[0x25]),_0x53d7f6=_0x1f8a34(_0x53d7f6,_0xdabf7e,_0x51b432,_0x64acc1,_0x52567e,0x10,_0x42bf7e[0x26]),_0x64acc1=_0x1f8a34(_0x64acc1,_0x53d7f6,_0xdabf7e,_0x51b432,_0x4f1c11,0x17,_0x42bf7e[0x27]),_0x51b432=_0x1f8a34(_0x51b432,_0x64acc1,_0x53d7f6,_0xdabf7e,_0x32ddc2,0x4,_0x42bf7e[0x28]),_0xdabf7e=_0x1f8a34(_0xdabf7e,_0x51b432,_0x64acc1,_0x53d7f6,_0x407c6d,0xb,_0x42bf7e[0x29]),_0x53d7f6=_0x1f8a34(_0x53d7f6,_0xdabf7e,_0x51b432,_0x64acc1,_0x2da52b,0x10,_0x42bf7e[0x2a]),_0x64acc1=_0x1f8a34(_0x64acc1,_0x53d7f6,_0xdabf7e,_0x51b432,_0x228917,0x17,_0x42bf7e[0x2b]),_0x51b432=_0x1f8a34(_0x51b432,_0x64acc1,_0x53d7f6,_0xdabf7e,_0x8f5bde,0x4,_0x42bf7e[0x2c]),_0xdabf7e=_0x1f8a34(_0xdabf7e,_0x51b432,_0x64acc1,_0x53d7f6,_0x7748e4,0xb,_0x42bf7e[0x2d]),_0x53d7f6=_0x1f8a34(_0x53d7f6,_0xdabf7e,_0x51b432,_0x64acc1,_0x42df34,0x10,_0x42bf7e[0x2e]),_0x64acc1=_0x1f8a34(_0x64acc1,_0x53d7f6,_0xdabf7e,_0x51b432,_0x4e7957,0x17,_0x42bf7e[0x2f]),_0x51b432=_0x399420(_0x51b432,_0x64acc1,_0x53d7f6,_0xdabf7e,_0x407c6d,0x6,_0x42bf7e[0x30]),_0xdabf7e=_0x399420(_0xdabf7e,_0x51b432,_0x64acc1,_0x53d7f6,_0x52567e,0xa,_0x42bf7e[0x31]),_0x53d7f6=_0x399420(_0x53d7f6,_0xdabf7e,_0x51b432,_0x64acc1,_0x1734ec,0xf,_0x42bf7e[0x32]),_0x64acc1=_0x399420(_0x64acc1,_0x53d7f6,_0xdabf7e,_0x51b432,_0x33f535,0x15,_0x42bf7e[0x33]),_0x51b432=_0x399420(_0x51b432,_0x64acc1,_0x53d7f6,_0xdabf7e,_0x7748e4,0x6,_0x42bf7e[0x34]),_0xdabf7e=_0x399420(_0xdabf7e,_0x51b432,_0x64acc1,_0x53d7f6,_0x2da52b,0xa,_0x42bf7e[0x35]),_0x53d7f6=_0x399420(_0x53d7f6,_0xdabf7e,_0x51b432,_0x64acc1,_0x4f1c11,0xf,_0x42bf7e[0x36]),_0x64acc1=_0x399420(_0x64acc1,_0x53d7f6,_0xdabf7e,_0x51b432,_0x545143,0x15,_0x42bf7e[0x37]),_0x51b432=_0x399420(_0x51b432,_0x64acc1,_0x53d7f6,_0xdabf7e,_0x30a466,0x6,_0x42bf7e[0x38]),_0xdabf7e=_0x399420(_0xdabf7e,_0x51b432,_0x64acc1,_0x53d7f6,_0x42df34,0xa,_0x42bf7e[0x39]),_0x53d7f6=_0x399420(_0x53d7f6,_0xdabf7e,_0x51b432,_0x64acc1,_0x228917,0xf,_0x42bf7e[0x3a]),_0x64acc1=_0x399420(_0x64acc1,_0x53d7f6,_0xdabf7e,_0x51b432,_0x32ddc2,0x15,_0x42bf7e[0x3b]),_0x51b432=_0x399420(_0x51b432,_0x64acc1,_0x53d7f6,_0xdabf7e,_0x1107bc,0x6,_0x42bf7e[0x3c]),_0xdabf7e=_0x399420(_0xdabf7e,_0x51b432,_0x64acc1,_0x53d7f6,_0x2367da,0xa,_0x42bf7e[0x3d]),_0x53d7f6=_0x399420(_0x53d7f6,_0xdabf7e,_0x51b432,_0x64acc1,_0x4e7957,0xf,_0x42bf7e[0x3e]),_0x64acc1=_0x399420(_0x64acc1,_0x53d7f6,_0xdabf7e,_0x51b432,_0x8f5bde,0x15,_0x42bf7e[0x3f]),_0x2fbc41[0x0]=_0x2fbc41[0x0]+_0x51b432|0x0,_0x2fbc41[0x1]=_0x2fbc41[0x1]+_0x64acc1|0x0,_0x2fbc41[0x2]=_0x2fbc41[0x2]+_0x53d7f6|0x0,_0x2fbc41[0x3]=_0x2fbc41[0x3]+_0xdabf7e|0x0;},'_doFinalize':function(){var _0x391d8a=_0x76b8f9,_0x2a8af1=this[_0x391d8a(0x570)],_0x35681f=_0x2a8af1['words'],_0x3f3cc6=this[_0x391d8a(0x2b7)]*0x8,_0x176435=_0x2a8af1['sigBytes']*0x8;_0x35681f[_0x176435>>>0x5]|=0x80<<0x18-_0x176435%0x20;var _0x372f26=_0x167ca6[_0x391d8a(0x31b)](_0x3f3cc6/0x100000000),_0x3e433a=_0x3f3cc6;_0x35681f[(_0x176435+0x40>>>0x9<<0x4)+0xf]=(_0x372f26<<0x8|_0x372f26>>>0x18)&0xff00ff|(_0x372f26<<0x18|_0x372f26>>>0x8)&0xff00ff00,_0x35681f[(_0x176435+0x40>>>0x9<<0x4)+0xe]=(_0x3e433a<<0x8|_0x3e433a>>>0x18)&0xff00ff|(_0x3e433a<<0x18|_0x3e433a>>>0x8)&0xff00ff00,_0x2a8af1[_0x391d8a(0x2ba)]=(_0x35681f[_0x391d8a(0x53a)]+0x1)*0x4,this[_0x391d8a(0x507)]();for(var _0xfc4f6d=this[_0x391d8a(0x495)],_0x4a3be1=_0xfc4f6d['words'],_0x4395c9=0x0;_0x4395c9<0x4;_0x4395c9++){var _0x51d41f=_0x4a3be1[_0x4395c9];_0x4a3be1[_0x4395c9]=(_0x51d41f<<0x8|_0x51d41f>>>0x18)&0xff00ff|(_0x51d41f<<0x18|_0x51d41f>>>0x8)&0xff00ff00;}return _0xfc4f6d;},'clone':function(){var _0x39a125=_0x76b8f9,_0x192ccd=_0x378ecb[_0x39a125(0x334)][_0x39a125(0x2da)](this);return _0x192ccd['_hash']=this[_0x39a125(0x495)][_0x39a125(0x334)](),_0x192ccd;}});function _0x2257b4(_0x250ca4,_0x454e5d,_0x5a50c9,_0x3f8d0a,_0x44d2cd,_0xa117b5,_0x367f6a){var _0x42dadd=_0x250ca4+(_0x454e5d&_0x5a50c9|~_0x454e5d&_0x3f8d0a)+_0x44d2cd+_0x367f6a;return(_0x42dadd<<_0xa117b5|_0x42dadd>>>0x20-_0xa117b5)+_0x454e5d;}function _0x507ad4(_0x3c14c0,_0x2a178e,_0x24aeee,_0x1fa74b,_0xcf949d,_0x24ca63,_0x6abdd8){var _0x4c1f0c=_0x3c14c0+(_0x2a178e&_0x1fa74b|_0x24aeee&~_0x1fa74b)+_0xcf949d+_0x6abdd8;return(_0x4c1f0c<<_0x24ca63|_0x4c1f0c>>>0x20-_0x24ca63)+_0x2a178e;}function _0x1f8a34(_0x440306,_0x5b98a5,_0x5b638,_0xb0c0ab,_0x537a95,_0x4ed217,_0x11711e){var _0x1df6e1=_0x440306+(_0x5b98a5^_0x5b638^_0xb0c0ab)+_0x537a95+_0x11711e;return(_0x1df6e1<<_0x4ed217|_0x1df6e1>>>0x20-_0x4ed217)+_0x5b98a5;}function _0x399420(_0x4704bb,_0x32c73a,_0x188878,_0x5bbf99,_0x31dcb0,_0xf65ae2,_0x2f8d1b){var _0x82e21b=_0x4704bb+(_0x188878^(_0x32c73a|~_0x5bbf99))+_0x31dcb0+_0x2f8d1b;return(_0x82e21b<<_0xf65ae2|_0x82e21b>>>0x20-_0xf65ae2)+_0x32c73a;}_0x472470[_0x76b8f9(0x412)]=_0x378ecb[_0x76b8f9(0x307)](_0xc671d3),_0x472470['HmacMD5']=_0x378ecb['_createHmacHelper'](_0xc671d3);}(Math),_0x17e284['MD5'];}));}(pe)),pe['exports'];}var me={'exports':{}},ge={'exports':{}},Ri=ge[_0x44d730(0x2df)],Je;function Ni(){var _0x341841=_0x44d730;return Je||(Je=0x1,function(_0x47886e,_0x511651){(function(_0x414192,_0x181e18){_0x47886e['exports']=_0x181e18(Z());}(Ri,function(_0x982307){var _0x5ef7d6=_0x2b21;return(function(){var _0x3cd548=_0x2b21,_0x53d5c9=_0x982307,_0x3c3f16=_0x53d5c9[_0x3cd548(0x2b4)],_0x28e76b=_0x3c3f16[_0x3cd548(0x3e2)],_0x4680ae=_0x3c3f16[_0x3cd548(0x48a)],_0x4b5e4d=_0x53d5c9['algo'],_0x53a0b7=[],_0x106b83=_0x4b5e4d['SHA1']=_0x4680ae[_0x3cd548(0x261)]({'_doReset':function(){var _0x86926b=_0x3cd548;this['_hash']=new _0x28e76b[(_0x86926b(0x23a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1d0393,_0x58b87f){var _0x3cb5a3=_0x3cd548;for(var _0xec7cc=this[_0x3cb5a3(0x495)][_0x3cb5a3(0x2bb)],_0x49c901=_0xec7cc[0x0],_0x1e39f3=_0xec7cc[0x1],_0x158eba=_0xec7cc[0x2],_0x195800=_0xec7cc[0x3],_0x4ca65a=_0xec7cc[0x4],_0x78fee=0x0;_0x78fee<0x50;_0x78fee++){if(_0x78fee<0x10)_0x53a0b7[_0x78fee]=_0x1d0393[_0x58b87f+_0x78fee]|0x0;else{var _0x568f68=_0x53a0b7[_0x78fee-0x3]^_0x53a0b7[_0x78fee-0x8]^_0x53a0b7[_0x78fee-0xe]^_0x53a0b7[_0x78fee-0x10];_0x53a0b7[_0x78fee]=_0x568f68<<0x1|_0x568f68>>>0x1f;}var _0x3f3dc2=(_0x49c901<<0x5|_0x49c901>>>0x1b)+_0x4ca65a+_0x53a0b7[_0x78fee];_0x78fee<0x14?_0x3f3dc2+=(_0x1e39f3&_0x158eba|~_0x1e39f3&_0x195800)+0x5a827999:_0x78fee<0x28?_0x3f3dc2+=(_0x1e39f3^_0x158eba^_0x195800)+0x6ed9eba1:_0x78fee<0x3c?_0x3f3dc2+=(_0x1e39f3&_0x158eba|_0x1e39f3&_0x195800|_0x158eba&_0x195800)-0x70e44324:_0x3f3dc2+=(_0x1e39f3^_0x158eba^_0x195800)-0x359d3e2a,_0x4ca65a=_0x195800,_0x195800=_0x158eba,_0x158eba=_0x1e39f3<<0x1e|_0x1e39f3>>>0x2,_0x1e39f3=_0x49c901,_0x49c901=_0x3f3dc2;}_0xec7cc[0x0]=_0xec7cc[0x0]+_0x49c901|0x0,_0xec7cc[0x1]=_0xec7cc[0x1]+_0x1e39f3|0x0,_0xec7cc[0x2]=_0xec7cc[0x2]+_0x158eba|0x0,_0xec7cc[0x3]=_0xec7cc[0x3]+_0x195800|0x0,_0xec7cc[0x4]=_0xec7cc[0x4]+_0x4ca65a|0x0;},'_doFinalize':function(){var _0x6844f9=_0x3cd548,_0x102d08=this[_0x6844f9(0x570)],_0x20cc40=_0x102d08[_0x6844f9(0x2bb)],_0x170b2f=this[_0x6844f9(0x2b7)]*0x8,_0x6debaf=_0x102d08[_0x6844f9(0x2ba)]*0x8;return _0x20cc40[_0x6debaf>>>0x5]|=0x80<<0x18-_0x6debaf%0x20,_0x20cc40[(_0x6debaf+0x40>>>0x9<<0x4)+0xe]=Math[_0x6844f9(0x31b)](_0x170b2f/0x100000000),_0x20cc40[(_0x6debaf+0x40>>>0x9<<0x4)+0xf]=_0x170b2f,_0x102d08[_0x6844f9(0x2ba)]=_0x20cc40[_0x6844f9(0x53a)]*0x4,this[_0x6844f9(0x507)](),this[_0x6844f9(0x495)];},'clone':function(){var _0x3568d1=_0x3cd548,_0x3dfd8c=_0x4680ae[_0x3568d1(0x334)][_0x3568d1(0x2da)](this);return _0x3dfd8c['_hash']=this['_hash'][_0x3568d1(0x334)](),_0x3dfd8c;}});_0x53d5c9[_0x3cd548(0x27e)]=_0x4680ae[_0x3cd548(0x307)](_0x106b83),_0x53d5c9[_0x3cd548(0x1f2)]=_0x4680ae[_0x3cd548(0x356)](_0x106b83);}()),_0x982307[_0x5ef7d6(0x27e)];}));}(ge)),ge[_0x341841(0x2df)];}var Te={'exports':{}},Di=Te[_0x44d730(0x2df)],Ze;function yi(){var _0x358f4d=_0x44d730;return Ze||(Ze=0x1,function(_0x447356,_0x2fcdb5){(function(_0x81c5ad,_0x40d042){_0x447356['exports']=_0x40d042(Z());}(Di,function(_0x3214a9){(function(){var _0x2c5d16=_0x2b21,_0x336e84=_0x3214a9,_0x371bf0=_0x336e84[_0x2c5d16(0x2b4)],_0x5f1510=_0x371bf0['Base'],_0x5765f1=_0x336e84['enc'],_0xfd8ad=_0x5765f1[_0x2c5d16(0x565)],_0x3abdc1=_0x336e84[_0x2c5d16(0x4ad)];_0x3abdc1[_0x2c5d16(0x55b)]=_0x5f1510[_0x2c5d16(0x261)]({'init':function(_0x3c1891,_0x41244f){var _0x14ac18=_0x2c5d16;_0x3c1891=this[_0x14ac18(0x466)]=new _0x3c1891[(_0x14ac18(0x23a))](),typeof _0x41244f==_0x14ac18(0x38c)&&(_0x41244f=_0xfd8ad[_0x14ac18(0x2fc)](_0x41244f));var _0x4312c5=_0x3c1891['blockSize'],_0x33ab59=_0x4312c5*0x4;_0x41244f[_0x14ac18(0x2ba)]>_0x33ab59&&(_0x41244f=_0x3c1891[_0x14ac18(0x375)](_0x41244f)),_0x41244f[_0x14ac18(0x279)]();for(var _0x77648f=this['_oKey']=_0x41244f[_0x14ac18(0x334)](),_0x4a5112=this[_0x14ac18(0x37d)]=_0x41244f[_0x14ac18(0x334)](),_0x5cef1c=_0x77648f[_0x14ac18(0x2bb)],_0x2a8eea=_0x4a5112[_0x14ac18(0x2bb)],_0x2e876e=0x0;_0x2e876e<_0x4312c5;_0x2e876e++)_0x5cef1c[_0x2e876e]^=0x5c5c5c5c,_0x2a8eea[_0x2e876e]^=0x36363636;_0x77648f[_0x14ac18(0x2ba)]=_0x4a5112[_0x14ac18(0x2ba)]=_0x33ab59,this[_0x14ac18(0x523)]();},'reset':function(){var _0x13c1ab=_0x2c5d16,_0x12744d=this[_0x13c1ab(0x466)];_0x12744d[_0x13c1ab(0x523)](),_0x12744d[_0x13c1ab(0x431)](this[_0x13c1ab(0x37d)]);},'update':function(_0x381560){var _0x5695b2=_0x2c5d16;return this[_0x5695b2(0x466)][_0x5695b2(0x431)](_0x381560),this;},'finalize':function(_0x430cf0){var _0x31d8f2=_0x2c5d16,_0x27b5fc=this['_hasher'],_0x518e9d=_0x27b5fc['finalize'](_0x430cf0);_0x27b5fc['reset']();var _0x5e1c60=_0x27b5fc[_0x31d8f2(0x375)](this[_0x31d8f2(0x56d)][_0x31d8f2(0x334)]()[_0x31d8f2(0x371)](_0x518e9d));return _0x5e1c60;}});}());}));}(Te)),Te[_0x358f4d(0x2df)];}function _0x28b2(){var _0x30c1af=['[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','allowed','execute','selections','ThresholdInterceptorFactory','584034ELzJid','reject','_status$','UNIVER_SLIDE','UniverCollaborationClientPlugin','_sender','asObservable','1082648LYsQnX','synced','_process','_listenToNetworkCondition','UnitEmbedded','&source=','salt','/-/object/list','ENTITLE_COUPON_USED_UP','REDEMPTION_CODE_FULLY_REDEEMED','_sendHeartbeatTimer','createCollaborator','_type','?url=','workbook','PAYMENT_CHANNEL_NOT_SUPPORT','DocCollaborationEntity','SheetsSelectionsService','Tools','toDisposable','SUBMIT_CHANGESET_TIMEOUT','onTransformSelections','function','/block/','mode','/universer-api/user/session-ticket','message$','FetchingMissState','_httpService','_isPermissionRej','reset','requestParams','/role','_doCreateSocket','online$','APPLY_REVISION_CONFILICT','c1Prime','registerDependencies','_telemetryInfo','_lockTransition','_networkConditionService','SheetTransformSelectionsService','AWAITING','ENTITLE_INVALID_COUPON_CODE','_handler','key','_onCombEvent','_state$','HEARTBEAT_TIMEOUT_KEY','UNIVER_SHEET','isArray','Cipher','OPTIONAL','length','&assign=','post','submit\x20changeset\x20error!','forEach','hostname','unknown','ws://127.0.0.1:8000/universer-api/comb/connect','ENTITLE_CHAT_LIMIT_EXCEED','FAIL','addImageSourceCache','delete','socketService','snapshot','UNIVER_DOC','_changesetSessionId','routeKey','pad','MUTATION','merge','connection\x20error','Injector','pending','COMPRESS_MUTATION_SEND','/universer-api/snapshot','_getLoginPath','CommandType','saveSnapshot','refreshPermission','generateRandomId','SUBMIT_CHANGESET','_transformStateCache','REDEMPTION_INVALID_CODE','HMAC','_clearUndo','executeCommand','CONFLICT','COMMENT_UPDATE','ERROR_IMAGE','ITelemetryService','resolveWithBasePath','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','mergeOverrideWithDependencies','Utf8','fetching\x20missing\x20changesets\x20from\x20','CHANGESET_REJ','UNISCRIPT_RUN','_updateLocalCache','randomBytes','CipherParams','ENTITLE_INSUFFICIENT_QUOTA','_oKey','roles','_redoStacks','_data','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','updateMember','_maxTotalRetryTimeout','_transformRemoteChangesetByIMECache','ITransformService','onCommentUpdate','_socketService','DATA_SOURCE_TOO_LARGE','csRejEvent','_createHandler','setCurrentUser','now','_resendTimeout','awaiting_with_pending','REDEMPTION_CODE_INACTIVE','toString','_onMessage','CollaborationController','ClipsheetFragments','LIVESHARE_REQUEST_HOST','stopTime','LIVESHARE_FETCH_OPERATIONS','SessionStatus','awaiting','HmacSHA1','_iv','listCollaborators','POST','createSocket','_clearRetryConnectingTimer','OTHER_CLIENTS_EDITING','serializeCombRequest','NO_OTHER_CLIENTS_EDITING','requireSession','_getDownloadEndpointURL','getTime','origin','min','EMAIL_VERIFY_CODE_MISMATCH','14CMjHpW','_DEC_XFORM_MODE','LICENSE_MAX_UNITS_EXCEEDED','changesets','LIVESHARE_OPERATION','USER_NOT_FOUND','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_onConnectionFailed','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_parse','[CollaborationState]:\x20apply\x20error!','HEARTBEAT_INTERVAL','REDEMPTION_USER_NOT_ELIGIBLE','Error\x20on\x20receiving\x20event','unitID','range','baseRev','onStateChange','_executeRemoteChangeset','members','RECV','UNIVER_UNKNOWN','getCollabEntity$','_getSendChangesetTimeout','actions','MentionIoHttpService','_config','_snapshotService','_mode','_onRecvEvent','_sheetTransformSelectionsService','_startCollaboration','_doReset','PERMISSION_DENIED','shareReplay','NoPadding','Malformed\x20UTF-8\x20data','NOT_COLLAB','\x20in\x20_schedule.','univer-pro.collaboration-client.single-active-unit-service','_getCurrentRevision','Encryptor','_commandService','toggleOnline','joinRsp','event$','enc','_keySchedule','onlyLocal','YUUMI_ASYNCIO_CANCELLED','loadDoc','delay','infoRsp','revision','onSendChangeset','/rev/','get','init','_onConflict','APPLY_DUPLICATED','CollaborationSocketService','getAllMembers','UNAUTHENTICATED','initWorkbookPermissionChange','_telemetryService','_onRemoteRetry','UPDATE_PERMISSION_OBJ','GLOBAL_ROOMS_CNT_EXCEEDS','_memberService','decrypt','ImageSourceType','session','[PendingState]:\x20received\x20rejection.','_getRedoStack','encryptBlock','_commentUpdate$','isTransformMutationsWithChangesetSuccess','getActiveSheet','clear','roomInfos','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_entityInit$','_keyPriorReset','isTransformMutationsWithChangesetFailure','/resources','pluginName','image/jpg','HEARTBEAT_TIMEOUT','downloadEndpointUrl','onLocalMutation','encrypt','open$','UnitStatus','hasOwnProperty','SetSelectionsOperation','_invKeySchedule','extend','onTransformIME','_sessionStatus$','_cipher','ILogService','cmd','_onUserJoin','_socketMessageSubscription','next','random','_retryCount','[DataLoaderService]','error$','FETCH_MISS','Rectangle','collaborators','__Key__','members$','ENTITLE_NEED_BILLING_ADDRESS','_undoStacks','PERSON','UnitSnapshot','CollaborationSessionService','INetworkConditionService','clamp','responseType','PENDING','createIdentifier','IImageIoService','SHA1','AwaitingWithPendingState','readyForCollab','_clearRedo','result','avatar','fromCharCode','SheetPermissionInitController','_HTTPService','getUnitId','userID','_doFinalize','put','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_substituteRedoStack','newCsEvent','WorkbookEditablePermission','YUUMI_AI_RUN_FAILED','IUndoRedoService','Univer','SNAPSHOT_URL_KEY','cfg','$super','_onRemoteChangeset','getMember','INVITE_CODE_HAS_BEEN_UES','ONLINE','_snapshotServerService','capture','copyFileMeta','_imageSourceCache','CLOSE_ROOM','CollaborationEntity','compute','OfflineState','MOBILE_VERIFY_CODE_MISMATCH','subject','_collaborationSessionService','getLocalCacheKey','_clearCollaborationTimeoutTimer','_schedule','_eventService','_collabSessionService','_state','YUUMI_TABLE_NOT_FOUND_IN_UNIT','listRoles','replace','HTTPService','174364JcnFCX','_localCacheService','_getCtorByUniverType','_socketReady','[PendingState]:\x20received\x20acknowledgement.','includes','lib','interceptor','_fetchMissChangesets','_nDataBytes','INVITE_CODE_REQUIRED','[FetchMissState]','sigBytes','words','ReplaySubject','_transformService','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','permissionRejEvent','CollaborativeUndoRedoService','snapshotServerUrl','getImage','IDLE','/universer-api/authz','Disposable','list','file','close','state$','rev','indexOf','CompressMutationService','IPermissionService','CBC','APPLY_REJECT','textRanges','_transformSelections','localCacheService','override','COMPLETION_FINISHED','disableLocalCache','waitForRoom$','join','getRandomValues','onMutationExecutedForCollab','call','size','getFocusedUnit','loadUnitOfRevision','1436202OwvLSA','exports','/collaborator','conflict','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','/universer-api/file/{fileID}/sign-url','CollaborationSession','fetchMissingChangesets','onRemoteChangeset','IAuthzIoService','create','5860410jULfhW','_onOffline','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','updatePermissionObjEvent','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','EvpKDF','_socket','BehaviorSubject','_sendingTimer','csAckEvent','target','PERMISSION_REJ','122946dEerNl','_getUndoStack','_tryReconnect','_logService','ICommandService','createDecryptor','parse','emitEvent','__creator','session.join-failed','CommentService','\x20to\x20','getImageSourceCache','BlockCipherMode','loadUnit','uniscriptRunEvent','createEncryptor','_createHelper','transformMutationsWithChangeset','map','_clearTimeoutTimer','_retryConnectingTimer','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','byteOffset','/new_changes','onSyncEditingCollabCursor','onStarting','{fileID}','_unitInfo$','getConfig','every','_doCryptBlock','closeSession','collaboration-client.local-cache-service','type','CollaborationImageIoService','floor','apply','REDEMPTION_USER_REDEEM_TIMES_EXCEED','?size=','readAsDataURL','ivSize','_roomMembers','objectID','_awaitingChangeset','_joinRoom','deserializeToCombResponse','_permissionService','_members','byteLength','getWorkbookSelections','_updateStatus','_transformStack','auth.needGotoLoginAlert','LEAVE','_singleActiveUnitService','incrementRevOfUnit','_sendHeartbeat','CHANGESET_REVISION_CONFILICT','_socket$','NEW_CHANGESETS','clone','subUnitId','_waitForHeartbeatResponse','values','updateCollaborator','univer-pro.collaboration-client.network-condition.service','session.room-full','formatter','UNKNOWN_CODE','onRemoteRej','resolve','INVITE_CODE_ALREADY_BOUND','send','_members$','withCredentials','originalMeta','onTransformRemoteChangesetByStateCache','OFFLINE','SerializableCipher','data','sin','BufferedBlockAlgorithm','touchDependencies','PSEUDO_FETCH_MISSING_RESULT','_registerDependencies','CURRENT_STATUS_CANNOT_OPERATE','LIVESHARE_TERMINATE','params','_transformUndoredo','then','splice','getSnapshotAPIPath','authzUrl','[UniverCollaborationClientPlugin]','_createHmacHelper','transformStack\x20failed!','People','charCodeAt','ImageUploadStatusType','_remoteChangesetQueue','INVALID_ARGUMENT','CHANGESET_ACK','_getAPIPrefixPath','compose','CollaborationUIEventId','enableSingleActiveInstanceLock','getCollabEntity','ALREADY_EXISTS','/-/object/-/batch_allowed','isTransformChangesetsSuccess','_collaborationTimeoutTimer','socket\x20close','USER_NOT_INVITED_CODE','Latin1','reqId','socket$','UserProfileImg','LIVESHARE_NEW_HOST','crypto','CONNECTOR_DATA_TOO_LARGE','getInterceptPoints','concat','image/bmp','status','appendMutation','finalize','DataLoaderService','_initUnitPermissionChange','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_startTelemetryCollaborationNewChangeset','RxDisposable','_tryEnsureSocket','focused$','_iKey','LocalUndoRedoService','iterations','[OfflineState]:\x20received\x20rejection.','close$','_minBufferSize','kdf','\x20-\x20','defineProperty','unsubscribe','mixIn','AUTHORIZE_CODE_ILLEGAL','5uYBqGy','778283CYTUOq','transformChangesets','string','_onJoinRoomEvent','getSheetId','JOIN_ROOM_PERMISSION_DENIED','/universer-api/uniscript','CHANGESET_SHOULD_RETRY','_waitCount','_localeService','has','set','transformSelections','[CollaborationSessionService]','CollaborationStatus','patch','_map','getCurrentSelections','YUUMI_NO_CUBOID_FOR_QUESTION','localeService','JOIN_ROOM_NOT_EXISTS','_onFetchMissResult','APPLY_PERMISSION_DENIED','csShouldRetryEvent','[SyncedState]:\x20received\x20rejection.','_getAPIPrefix','_stopTelemetryCollaborationNewChangeset','YUUMI_RATE_OVER_LIMIT','repeat','TOO_MANY_REQUESTS','mutations','YUUMI_URL_COL_OUT_OF_RANGE','debug','liveShareNewHost','_shouldReportTelemetry','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','APPLY_NON_SEQUENTIAL_REVISION','OTHER_CLIENT_EDITING','ENSURE_SNAPSHOT_EXECUTION','SheetCollaborationEntity','Decryptor','NOT_FOUND','SNAPSHOT_INVALID_SNAPSHOT','signUrlServerUrl','symbol','ICollaborationSocketService','HEARTBEAT_INTERVAL_KEY','onRemoteRetry','SOCKET_FAILED','liveShareOperation','collaMsg','encodeURIComponent','JOIN','JOIN_ROOM_FAILED','Subject','Quantity','_init','parseChangesetToProtocol','_ENC_XFORM_MODE','reconnect','image/png','IMentionIOService','HTTPRequest','_onLocalMutation','/object','_onUserLeave','Plugin','UPDATE_CURSOR','_substituteUndoStack','_onRemoteRejected','UNKNOWN_CMD','collaboration_new_changeset','getGlobalObject','_changesetReqId','uuidv4','USERS_ENTER','confirm','mapDocumentTypeToUniverType','take','padding','find','onRemoteAck','/object/','_commentService','ceil','m2Prime','_checkMissing','charAt','WordArray','resourceIDs','USER_IS_ANONYMOUS','SHOULD_CLOSE_CONN','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_scheduleCollaborationTimeoutTimer','_scheduleCompleteTimestamp','[CollaborationUndoRedoService]','_incrementRevisionNumber','_removeRoom','onTransformRemoteChangesetByIMECache','ERROR_IMAGE_TYPE','LOCAL_CACHE_INTERVAL','_toggleOffline','_pendingMutations','_injector','_nRounds','_rescheduleHeartbeat','catch','_initDependencies','offline','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','MOBILE_HAS_BEEN_BOUND','RevisionService','LICENSE_IMPORT_SIZE_EXCEEDED','slice','_univerInstanceService','_syncEditingCollabCursor','AuthzIoHttpService','_disableEditing','StreamCipher','onTransformState','headers','onMissingChangesets','add','UNRECOGNIZED','dispose$','dispose','COMPRESS_MUTATION_APPLY','RETRY_CONNECTING_MAX_COUNT_KEY','max','[CollaborationSession]','setShowComponents','failed\x20to\x20apply\x20missed\x20changesets!','UniverInstanceType','[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.','REDEMPTION_CODE_HAS_BEEN_CREATED','socket\x20open.','MD5','DEFAULT_WS_SESSION_TICKET_URL','fetchThroughInterceptors','telemetry\x20info\x20is\x20not\x20initialized','_unitID','[OfflineState]:\x20received\x20changeset.','collaboratorID','code','method','textEncoder','/unit/','sessionStatus$','CollaborationUIEventService','MentionType','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','INVALID_INVITE_CODE','YUUMI_SUBSCRIPTION_NOT_FOUND','LOGIN_FAILED','addHandlerCallback','prototype','enableCollaboration','objectType','ISnapshotServerService','_updateState','msCrypto','_createInitialStateImpl','loginUrlKey','_getSignURL','_showConflictNotification','_applyRemoteChangeset','_transformIMECache','update','stringify','Inject','save\x20fail\x20reason\x20is\x20','PendingState','InsertSheetMutation','MSG_FOR_ERROR','OpenSSL','disposeWithMe','fromCollab','filter','updatePermissionPoint','HEARTBEAT','joinEvent','ISocketService','sid','_replayCachedMutations','parseProtocolChangeset','not_collab','HttpImport','REDEMPTION_CODE_NOT_STARTED','YUUMI_UNABLE_LOAD_URL','createInstance','pipe','toggleOffline','memberID','[CollaborationSessionService]:\x20socket\x20error','WECHAT_HAS_BEEN_BOUND','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_reverseMap','_userManagerService','_resendWithTimeout','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_xformMode','blockSize','complete','isInternalEditorID','getOwnPropertyDescriptor','/allowed','registerHTTPInterceptor','_onConnectionOpen','PY_RUNTIME_SCRIPT_ERROR','duration','_initCloseConn','AwaitingState','ciphertext','getCurrentUser','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','keySize','ENTITLE_COUPON_EXPIRED','LOGIN_TOKEN_PROCESSING_FAILED','unitId','fetch_missing','_hasher','sessionStatus','SyncedState','_handlerCallback','isPermissionRej','65ZQDKiC','__esModule','_entities','_acknowledgedAwaitingChangeset','INGEST','USERS_LEAVE','Hex','reduce','_candidateSocket','SnapshotService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','from','HttpExport','Base64','Could\x20not\x20dynamically\x20require\x20\x22','body','_onRemoteACK','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','objects','IConfigService','UNIVER_PROJECT','entries','_initMergeInterceptor','DEFAULT_FILE_NAME','ISingleActiveUnitService','JOINING','c2Prime','substr','IUniverInstanceService','getCurrentRevOfUnit','FileId','Hasher','enableOfflineEditing','_transformRemoteChangesetByStateCache','_transitionLocked','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','state','Undefined','getSheetBlock','getTypeOfUnitDisposed$','Optional','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_hash','SnapshotServerOverHTTPService','eventID','_roomCreated$','EMAIL_HAS_BEEN_BOUND','removeMember','_replaceFileID','AWAITING_WITH_PENDING','_collaborationPaused','_emitMembers','readInt32LE','format','BASE64','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','DEFAULT_COLLAB_WEB_SOCKET_URL','_exhaustRemoteChangesetQueue','/universer-api/snapshot/','_change$','getMemberID','status$','CollaborationEvent','_compressMutationService','JOIN_ROOM_FULL','takeUntil','algo','_instanceService','awaitingChangeset','getValue','session.room-not-exists','LICENSE_DISTRO_REJECTED','RichTextEditingMutation','push','_event$','_clearHeartbeatTimer','_throwTelemetryCollaborationNewChangeset','unit-cache-','location','ENTITLE_REPORT_LIMIT_EXCEED','image/jpeg','SNAPSHOT_HAS_BEEN_REMOVED','image/gif','getUnitType','loadOfflineData','ConflictState','MemberService','_initRequestHeader','hasher','LocaleService','commentUpdate$','ERROR_EXCEED_SIZE','default','_configService','setConfig','encode','_decreaseWaiting','AES','onMissedChangesetFetched','INTERNAL_ERROR','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','UserManagerService','[CollaborationEntity]','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_collaborationUIEventService','getTypeOfUnitAdded$','BlockCipher','24CIJHUZ','b64DecodeUnicode','buffer','_timeoutTimer','editing\x20status\x20changed\x20to','deepClone','uploadFileServerUrl','loadSheet','deleteCollaborator','_undoRedoService','fetchMiss','HELLO','ENTITLE_DUP_SUBSCRIPTION','_sessions','error','_queuedRemoteChangesets','subscribe','_prevBlock','YUUMI_CONNECTOR_URL_NOT_FOUND','change$','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_clearScheduledTask','_resendTimer','9jHYUQG','name','_unlockTransition','SOCKET_FAILED_RETRY','_clearLocalCache','_append','UniverLicensePlugin','resend','putCollaborators','Base','_revisionService','_toggleOnline'];_0x28b2=function(){return _0x30c1af;};return _0x28b2();}var Ui=me[_0x44d730(0x2df)],Qe;function Ot(){return Qe||(Qe=0x1,function(_0xd46ef9,_0xc76882){(function(_0x48ec2d,_0x1e483b,_0x1f5895){_0xd46ef9['exports']=_0x1e483b(Z(),Ni(),yi());}(Ui,function(_0x252afa){var _0x2675b7=_0x2b21;return(function(){var _0x3d670d=_0x2b21,_0x48a33d=_0x252afa,_0x24f84f=_0x48a33d[_0x3d670d(0x2b4)],_0x35e4ae=_0x24f84f['Base'],_0x4539f3=_0x24f84f[_0x3d670d(0x3e2)],_0x28a6b2=_0x48a33d[_0x3d670d(0x4ad)],_0x39d6ae=_0x28a6b2[_0x3d670d(0x412)],_0x54a6e4=_0x28a6b2['EvpKDF']=_0x35e4ae[_0x3d670d(0x261)]({'cfg':_0x35e4ae[_0x3d670d(0x261)]({'keySize':0x80/0x20,'hasher':_0x39d6ae,'iterations':0x1}),'init':function(_0x3e73c0){var _0xfed7c5=_0x3d670d;this[_0xfed7c5(0x293)]=this[_0xfed7c5(0x293)]['extend'](_0x3e73c0);},'compute':function(_0x3aa6df,_0x19ad66){var _0x3e657c=_0x3d670d;for(var _0x4b4352,_0x497406=this[_0x3e657c(0x293)],_0x46e6dd=_0x497406['hasher']['create'](),_0x329fd2=_0x4539f3['create'](),_0x4ff403=_0x329fd2[_0x3e657c(0x2bb)],_0x38eec6=_0x497406[_0x3e657c(0x461)],_0x11d2fd=_0x497406[_0x3e657c(0x37f)];_0x4ff403[_0x3e657c(0x53a)]<_0x38eec6;){_0x4b4352&&_0x46e6dd[_0x3e657c(0x431)](_0x4b4352),_0x4b4352=_0x46e6dd[_0x3e657c(0x431)](_0x3aa6df)[_0x3e657c(0x375)](_0x19ad66),_0x46e6dd[_0x3e657c(0x523)]();for(var _0xe0bb96=0x1;_0xe0bb96<_0x11d2fd;_0xe0bb96++)_0x4b4352=_0x46e6dd[_0x3e657c(0x375)](_0x4b4352),_0x46e6dd[_0x3e657c(0x523)]();_0x329fd2[_0x3e657c(0x371)](_0x4b4352);}return _0x329fd2[_0x3e657c(0x2ba)]=_0x38eec6*0x4,_0x329fd2;}});_0x48a33d[_0x3d670d(0x2ef)]=function(_0x27b171,_0x29342d,_0x2065e8){var _0x503c8c=_0x3d670d;return _0x54a6e4[_0x503c8c(0x2e8)](_0x2065e8)['compute'](_0x27b171,_0x29342d);};}()),_0x252afa[_0x2675b7(0x2ef)];}));}(me)),me['exports'];}var Ce={'exports':{}},Ai=Ce[_0x44d730(0x2df)],et;function bt(){return et||(et=0x1,function(_0x1c6bc1,_0x380199){(function(_0x52a521,_0x48b93f,_0x1a1510){_0x1c6bc1['exports']=_0x48b93f(Z(),Ot());}(Ai,function(_0x22e20b){var _0x2bb064=_0x2b21;_0x22e20b[_0x2bb064(0x2b4)][_0x2bb064(0x538)]||function(_0x32073b){var _0x2b18d9=_0x2bb064,_0x3f7c75=_0x22e20b,_0x2b8a98=_0x3f7c75['lib'],_0x38ea73=_0x2b8a98[_0x2b18d9(0x4f6)],_0x198017=_0x2b8a98[_0x2b18d9(0x3e2)],_0x7972e9=_0x2b8a98[_0x2b18d9(0x349)],_0x29f009=_0x3f7c75[_0x2b18d9(0x22f)];_0x29f009['Utf8'];var _0x1e7044=_0x29f009['Base64'],_0x5324e2=_0x3f7c75[_0x2b18d9(0x4ad)],_0x32187b=_0x5324e2['EvpKDF'],_0xcc9129=_0x2b8a98[_0x2b18d9(0x538)]=_0x7972e9[_0x2b18d9(0x261)]({'cfg':_0x38ea73[_0x2b18d9(0x261)](),'createEncryptor':function(_0x35bc08,_0xcc48e6){var _0x3af699=_0x2b18d9;return this[_0x3af699(0x2e8)](this[_0x3af699(0x3c4)],_0x35bc08,_0xcc48e6);},'createDecryptor':function(_0xe33666,_0x258d1e){var _0x251677=_0x2b18d9;return this[_0x251677(0x2e8)](this[_0x251677(0x202)],_0xe33666,_0x258d1e);},'init':function(_0x2f49a7,_0x5e7d66,_0x3e298f){var _0x394bb9=_0x2b18d9;this[_0x394bb9(0x293)]=this['cfg']['extend'](_0x3e298f),this[_0x394bb9(0x452)]=_0x2f49a7,this['_key']=_0x5e7d66,this[_0x394bb9(0x523)]();},'reset':function(){var _0x446579=_0x2b18d9;_0x7972e9[_0x446579(0x523)][_0x446579(0x2da)](this),this['_doReset']();},'process':function(_0x276ea6){var _0x56a145=_0x2b18d9;return this[_0x56a145(0x4f2)](_0x276ea6),this[_0x56a145(0x507)]();},'finalize':function(_0x5413b6){var _0x3637bf=_0x2b18d9;_0x5413b6&&this[_0x3637bf(0x4f2)](_0x5413b6);var _0x406e1e=this[_0x3637bf(0x289)]();return _0x406e1e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5eada1(_0x3b77bb){var _0x450818=_0x2b21;return typeof _0x3b77bb==_0x450818(0x38c)?_0x29a1dd:_0x49a487;}return function(_0x3e2b7f){return{'encrypt':function(_0x16da16,_0x29bab2,_0x361acc){var _0x4cbdca=_0x2b21;return _0x5eada1(_0x29bab2)[_0x4cbdca(0x25b)](_0x3e2b7f,_0x16da16,_0x29bab2,_0x361acc);},'decrypt':function(_0x15e23d,_0x2d81b6,_0x2eef59){return _0x5eada1(_0x2d81b6)['decrypt'](_0x3e2b7f,_0x15e23d,_0x2d81b6,_0x2eef59);}};};}())});_0x2b8a98[_0x2b18d9(0x400)]=_0xcc9129[_0x2b18d9(0x261)]({'_doFinalize':function(){var _0x1c3bfd=_0x2b18d9,_0x4d4f11=this[_0x1c3bfd(0x507)](!0x0);return _0x4d4f11;},'blockSize':0x1});var _0x40e52a=_0x3f7c75[_0x2b18d9(0x51d)]={},_0x12fa47=_0x2b8a98[_0x2b18d9(0x303)]=_0x38ea73[_0x2b18d9(0x261)]({'createEncryptor':function(_0x4795df,_0x43e5f4){var _0x469097=_0x2b18d9;return this[_0x469097(0x22a)][_0x469097(0x2e8)](_0x4795df,_0x43e5f4);},'createDecryptor':function(_0x506f1d,_0x5c0355){var _0x3d4252=_0x2b18d9;return this[_0x3d4252(0x3b2)][_0x3d4252(0x2e8)](_0x506f1d,_0x5c0355);},'init':function(_0x3eed2a,_0x3d777d){var _0x7e6d09=_0x2b18d9;this[_0x7e6d09(0x264)]=_0x3eed2a,this[_0x7e6d09(0x1f3)]=_0x3d777d;}}),_0x1065b8=_0x40e52a[_0x2b18d9(0x2ce)]=(function(){var _0x55f2b2=_0x2b18d9,_0xb16d56=_0x12fa47['extend']();_0xb16d56[_0x55f2b2(0x22a)]=_0xb16d56['extend']({'processBlock':function(_0x2a9a3b,_0x58a9e1){var _0x13ebe5=_0x55f2b2,_0x215b62=this['_cipher'],_0x46184b=_0x215b62[_0x13ebe5(0x453)];_0x51671a[_0x13ebe5(0x2da)](this,_0x2a9a3b,_0x58a9e1,_0x46184b),_0x215b62[_0x13ebe5(0x24b)](_0x2a9a3b,_0x58a9e1),this[_0x13ebe5(0x4e7)]=_0x2a9a3b[_0x13ebe5(0x3fb)](_0x58a9e1,_0x58a9e1+_0x46184b);}}),_0xb16d56[_0x55f2b2(0x3b2)]=_0xb16d56[_0x55f2b2(0x261)]({'processBlock':function(_0x11f1c7,_0x357d1c){var _0x21034a=_0x55f2b2,_0x56404a=this[_0x21034a(0x264)],_0x574877=_0x56404a['blockSize'],_0x49c78e=_0x11f1c7[_0x21034a(0x3fb)](_0x357d1c,_0x357d1c+_0x574877);_0x56404a['decryptBlock'](_0x11f1c7,_0x357d1c),_0x51671a[_0x21034a(0x2da)](this,_0x11f1c7,_0x357d1c,_0x574877),this[_0x21034a(0x4e7)]=_0x49c78e;}});function _0x51671a(_0x5e5920,_0x66b022,_0x10f108){var _0x1e746d=_0x55f2b2,_0x1e91b1,_0x4dae35=this[_0x1e746d(0x1f3)];_0x4dae35?(_0x1e91b1=_0x4dae35,this[_0x1e746d(0x1f3)]=_0x32073b):_0x1e91b1=this[_0x1e746d(0x4e7)];for(var _0xe56b00=0x0;_0xe56b00<_0x10f108;_0xe56b00++)_0x5e5920[_0x66b022+_0xe56b00]^=_0x1e91b1[_0xe56b00];}return _0xb16d56;}()),_0xbb9e4a=_0x3f7c75['pad']={},_0x2c2879=_0xbb9e4a['Pkcs7']={'pad':function(_0x243f2,_0x5ec602){var _0x226cff=_0x2b18d9;for(var _0x3bf679=_0x5ec602*0x4,_0x293b33=_0x3bf679-_0x243f2[_0x226cff(0x2ba)]%_0x3bf679,_0xca87a7=_0x293b33<<0x18|_0x293b33<<0x10|_0x293b33<<0x8|_0x293b33,_0x1197ca=[],_0x1684b1=0x0;_0x1684b1<_0x293b33;_0x1684b1+=0x4)_0x1197ca[_0x226cff(0x4b4)](_0xca87a7);var _0x3c941c=_0x198017[_0x226cff(0x2e8)](_0x1197ca,_0x293b33);_0x243f2[_0x226cff(0x371)](_0x3c941c);},'unpad':function(_0x5674a4){var _0x5b24be=_0x2b18d9,_0x3e2256=_0x5674a4[_0x5b24be(0x2bb)][_0x5674a4[_0x5b24be(0x2ba)]-0x1>>>0x2]&0xff;_0x5674a4[_0x5b24be(0x2ba)]-=_0x3e2256;}};_0x2b8a98[_0x2b18d9(0x4d5)]=_0xcc9129[_0x2b18d9(0x261)]({'cfg':_0xcc9129[_0x2b18d9(0x293)][_0x2b18d9(0x261)]({'mode':_0x1065b8,'padding':_0x2c2879}),'reset':function(){var _0x23af13=_0x2b18d9,_0xa9e178;_0xcc9129[_0x23af13(0x523)]['call'](this);var _0x4c4984=this[_0x23af13(0x293)],_0x4d991f=_0x4c4984['iv'],_0x44c555=_0x4c4984[_0x23af13(0x51d)];this['_xformMode']==this[_0x23af13(0x3c4)]?_0xa9e178=_0x44c555[_0x23af13(0x306)]:(_0xa9e178=_0x44c555[_0x23af13(0x2fb)],this['_minBufferSize']=0x1),this[_0x23af13(0x21d)]&&this[_0x23af13(0x21d)][_0x23af13(0x2fe)]==_0xa9e178?this[_0x23af13(0x21d)][_0x23af13(0x23a)](this,_0x4d991f&&_0x4d991f['words']):(this[_0x23af13(0x21d)]=_0xa9e178['call'](_0x44c555,this,_0x4d991f&&_0x4d991f[_0x23af13(0x2bb)]),this['_mode'][_0x23af13(0x2fe)]=_0xa9e178);},'_doProcessBlock':function(_0x57081a,_0x1807e0){var _0x139d5e=_0x2b18d9;this[_0x139d5e(0x21d)]['processBlock'](_0x57081a,_0x1807e0);},'_doFinalize':function(){var _0x2a416c=_0x2b18d9,_0x45aff7,_0x1a64e5=this['cfg'][_0x2a416c(0x3d9)];return this['_xformMode']==this[_0x2a416c(0x3c4)]?(_0x1a64e5['pad'](this[_0x2a416c(0x570)],this[_0x2a416c(0x453)]),_0x45aff7=this['_process'](!0x0)):(_0x45aff7=this[_0x2a416c(0x507)](!0x0),_0x1a64e5['unpad'](_0x45aff7)),_0x45aff7;},'blockSize':0x80/0x20});var _0x3c7ddb=_0x2b8a98[_0x2b18d9(0x56b)]=_0x38ea73[_0x2b18d9(0x261)]({'init':function(_0x1d2402){this['mixIn'](_0x1d2402);},'toString':function(_0x15344d){var _0x40e548=_0x2b18d9;return(_0x15344d||this[_0x40e548(0x33b)])[_0x40e548(0x432)](this);}}),_0x53f4e2=_0x3f7c75['format']={},_0xbf333d=_0x53f4e2[_0x2b18d9(0x438)]={'stringify':function(_0x14da10){var _0x4a78ef=_0x2b18d9,_0x5c2ffc,_0xa407fe=_0x14da10[_0x4a78ef(0x45e)],_0x448dee=_0x14da10[_0x4a78ef(0x50b)];return _0x448dee?_0x5c2ffc=_0x198017[_0x4a78ef(0x2e8)]([0x53616c74,0x65645f5f])[_0x4a78ef(0x371)](_0x448dee)[_0x4a78ef(0x371)](_0xa407fe):_0x5c2ffc=_0xa407fe,_0x5c2ffc[_0x4a78ef(0x1e9)](_0x1e7044);},'parse':function(_0x2abd3b){var _0x43107b=_0x2b18d9,_0x3e4420,_0x545401=_0x1e7044[_0x43107b(0x2fc)](_0x2abd3b),_0x30e54d=_0x545401[_0x43107b(0x2bb)];return _0x30e54d[0x0]==0x53616c74&&_0x30e54d[0x1]==0x65645f5f&&(_0x3e4420=_0x198017[_0x43107b(0x2e8)](_0x30e54d[_0x43107b(0x3fb)](0x2,0x4)),_0x30e54d[_0x43107b(0x352)](0x0,0x4),_0x545401[_0x43107b(0x2ba)]-=0x10),_0x3c7ddb[_0x43107b(0x2e8)]({'ciphertext':_0x545401,'salt':_0x3e4420});}},_0x49a487=_0x2b8a98[_0x2b18d9(0x346)]=_0x38ea73['extend']({'cfg':_0x38ea73[_0x2b18d9(0x261)]({'format':_0xbf333d}),'encrypt':function(_0x16edb0,_0x3f20a1,_0xdf7cb6,_0x216583){var _0x50b748=_0x2b18d9;_0x216583=this[_0x50b748(0x293)][_0x50b748(0x261)](_0x216583);var _0xbae677=_0x16edb0[_0x50b748(0x306)](_0xdf7cb6,_0x216583),_0x5430d4=_0xbae677[_0x50b748(0x375)](_0x3f20a1),_0x2f437e=_0xbae677[_0x50b748(0x293)];return _0x3c7ddb[_0x50b748(0x2e8)]({'ciphertext':_0x5430d4,'key':_0xdf7cb6,'iv':_0x2f437e['iv'],'algorithm':_0x16edb0,'mode':_0x2f437e[_0x50b748(0x51d)],'padding':_0x2f437e[_0x50b748(0x3d9)],'blockSize':_0x16edb0['blockSize'],'formatter':_0x216583[_0x50b748(0x4a0)]});},'decrypt':function(_0x2f6a75,_0x3d932d,_0x4e1776,_0x55da8f){var _0x271016=_0x2b18d9;_0x55da8f=this[_0x271016(0x293)][_0x271016(0x261)](_0x55da8f),_0x3d932d=this['_parse'](_0x3d932d,_0x55da8f['format']);var _0x34bdda=_0x2f6a75[_0x271016(0x2fb)](_0x4e1776,_0x55da8f)['finalize'](_0x3d932d[_0x271016(0x45e)]);return _0x34bdda;},'_parse':function(_0x11316f,_0x532320){var _0x381b80=_0x2b18d9;return typeof _0x11316f=='string'?_0x532320[_0x381b80(0x2fc)](_0x11316f,this):_0x11316f;}}),_0x3cb651=_0x3f7c75[_0x2b18d9(0x383)]={},_0xe006b=_0x3cb651[_0x2b18d9(0x438)]={'execute':function(_0x398d69,_0x4d3a87,_0x914a4d,_0x14010c,_0x2579c9){var _0x36dbd0=_0x2b18d9;if(_0x14010c||(_0x14010c=_0x198017[_0x36dbd0(0x26a)](0x40/0x8)),_0x2579c9)var _0x3e9e66=_0x32187b[_0x36dbd0(0x2e8)]({'keySize':_0x4d3a87+_0x914a4d,'hasher':_0x2579c9})[_0x36dbd0(0x29f)](_0x398d69,_0x14010c);else var _0x3e9e66=_0x32187b[_0x36dbd0(0x2e8)]({'keySize':_0x4d3a87+_0x914a4d})[_0x36dbd0(0x29f)](_0x398d69,_0x14010c);var _0x4533cf=_0x198017[_0x36dbd0(0x2e8)](_0x3e9e66[_0x36dbd0(0x2bb)]['slice'](_0x4d3a87),_0x914a4d*0x4);return _0x3e9e66[_0x36dbd0(0x2ba)]=_0x4d3a87*0x4,_0x3c7ddb['create']({'key':_0x3e9e66,'iv':_0x4533cf,'salt':_0x14010c});}},_0x29a1dd=_0x2b8a98['PasswordBasedCipher']=_0x49a487[_0x2b18d9(0x261)]({'cfg':_0x49a487['cfg']['extend']({'kdf':_0xe006b}),'encrypt':function(_0x53d669,_0x24930e,_0x47841e,_0x293472){var _0x9368f2=_0x2b18d9;_0x293472=this[_0x9368f2(0x293)][_0x9368f2(0x261)](_0x293472);var _0x390ac9=_0x293472[_0x9368f2(0x383)][_0x9368f2(0x4fb)](_0x47841e,_0x53d669['keySize'],_0x53d669['ivSize'],_0x293472[_0x9368f2(0x50b)],_0x293472[_0x9368f2(0x4c3)]);_0x293472['iv']=_0x390ac9['iv'];var _0x395049=_0x49a487[_0x9368f2(0x25b)]['call'](this,_0x53d669,_0x24930e,_0x390ac9[_0x9368f2(0x532)],_0x293472);return _0x395049[_0x9368f2(0x387)](_0x390ac9),_0x395049;},'decrypt':function(_0x5ab8ab,_0x21c938,_0x59df87,_0x520a8a){var _0x1504d5=_0x2b18d9;_0x520a8a=this[_0x1504d5(0x293)][_0x1504d5(0x261)](_0x520a8a),_0x21c938=this[_0x1504d5(0x20a)](_0x21c938,_0x520a8a[_0x1504d5(0x4a0)]);var _0x6e274f=_0x520a8a['kdf'][_0x1504d5(0x4fb)](_0x59df87,_0x5ab8ab[_0x1504d5(0x461)],_0x5ab8ab[_0x1504d5(0x320)],_0x21c938[_0x1504d5(0x50b)],_0x520a8a['hasher']);_0x520a8a['iv']=_0x6e274f['iv'];var _0x375767=_0x49a487[_0x1504d5(0x246)][_0x1504d5(0x2da)](this,_0x5ab8ab,_0x21c938,_0x6e274f[_0x1504d5(0x532)],_0x520a8a);return _0x375767;}});}();}));}(Ce)),Ce['exports'];}var Pi=Ie[_0x44d730(0x2df)],tt;function Li(){return tt||(tt=0x1,function(_0xc87d56,_0x1d5815){(function(_0x2eebf1,_0x311d40,_0x50e992){_0xc87d56['exports']=_0x311d40(Z(),Ct(),bi(),Ot(),bt());}(Pi,function(_0x5d2fec){var _0x43eec8=_0x2b21;return(function(){var _0x215426=_0x2b21,_0x3efe06=_0x5d2fec,_0x1a1eb1=_0x3efe06[_0x215426(0x2b4)],_0x5d17d5=_0x1a1eb1['BlockCipher'],_0x130b68=_0x3efe06[_0x215426(0x4ad)],_0x311106=[],_0x3684f8=[],_0x5eda67=[],_0x459060=[],_0x4eed8b=[],_0x1c0031=[],_0x15a7e2=[],_0x5891e5=[],_0x32ba38=[],_0x42ed77=[];(function(){for(var _0x446fa4=[],_0x461bb8=0x0;_0x461bb8<0x100;_0x461bb8++)_0x461bb8<0x80?_0x446fa4[_0x461bb8]=_0x461bb8<<0x1:_0x446fa4[_0x461bb8]=_0x461bb8<<0x1^0x11b;for(var _0x393a7e=0x0,_0x5e7ea7=0x0,_0x461bb8=0x0;_0x461bb8<0x100;_0x461bb8++){var _0x395970=_0x5e7ea7^_0x5e7ea7<<0x1^_0x5e7ea7<<0x2^_0x5e7ea7<<0x3^_0x5e7ea7<<0x4;_0x395970=_0x395970>>>0x8^_0x395970&0xff^0x63,_0x311106[_0x393a7e]=_0x395970,_0x3684f8[_0x395970]=_0x393a7e;var _0x35d558=_0x446fa4[_0x393a7e],_0x4f32c3=_0x446fa4[_0x35d558],_0x15d44a=_0x446fa4[_0x4f32c3],_0x4b5a53=_0x446fa4[_0x395970]*0x101^_0x395970*0x1010100;_0x5eda67[_0x393a7e]=_0x4b5a53<<0x18|_0x4b5a53>>>0x8,_0x459060[_0x393a7e]=_0x4b5a53<<0x10|_0x4b5a53>>>0x10,_0x4eed8b[_0x393a7e]=_0x4b5a53<<0x8|_0x4b5a53>>>0x18,_0x1c0031[_0x393a7e]=_0x4b5a53;var _0x4b5a53=_0x15d44a*0x1010101^_0x4f32c3*0x10001^_0x35d558*0x101^_0x393a7e*0x1010100;_0x15a7e2[_0x395970]=_0x4b5a53<<0x18|_0x4b5a53>>>0x8,_0x5891e5[_0x395970]=_0x4b5a53<<0x10|_0x4b5a53>>>0x10,_0x32ba38[_0x395970]=_0x4b5a53<<0x8|_0x4b5a53>>>0x18,_0x42ed77[_0x395970]=_0x4b5a53,_0x393a7e?(_0x393a7e=_0x35d558^_0x446fa4[_0x446fa4[_0x446fa4[_0x15d44a^_0x35d558]]],_0x5e7ea7^=_0x446fa4[_0x446fa4[_0x5e7ea7]]):_0x393a7e=_0x5e7ea7=0x1;}}());var _0x28dfe1=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4f86d8=_0x130b68[_0x215426(0x4cc)]=_0x5d17d5[_0x215426(0x261)]({'_doReset':function(){var _0x1f02cf=_0x215426,_0xb12277;if(!(this['_nRounds']&&this[_0x1f02cf(0x253)]===this['_key'])){for(var _0x321549=this[_0x1f02cf(0x253)]=this['_key'],_0x1c18d5=_0x321549['words'],_0x204543=_0x321549['sigBytes']/0x4,_0xb82ddf=this[_0x1f02cf(0x3f2)]=_0x204543+0x6,_0x24f086=(_0xb82ddf+0x1)*0x4,_0x5db61d=this[_0x1f02cf(0x230)]=[],_0x2ab703=0x0;_0x2ab703<_0x24f086;_0x2ab703++)_0x2ab703<_0x204543?_0x5db61d[_0x2ab703]=_0x1c18d5[_0x2ab703]:(_0xb12277=_0x5db61d[_0x2ab703-0x1],_0x2ab703%_0x204543?_0x204543>0x6&&_0x2ab703%_0x204543==0x4&&(_0xb12277=_0x311106[_0xb12277>>>0x18]<<0x18|_0x311106[_0xb12277>>>0x10&0xff]<<0x10|_0x311106[_0xb12277>>>0x8&0xff]<<0x8|_0x311106[_0xb12277&0xff]):(_0xb12277=_0xb12277<<0x8|_0xb12277>>>0x18,_0xb12277=_0x311106[_0xb12277>>>0x18]<<0x18|_0x311106[_0xb12277>>>0x10&0xff]<<0x10|_0x311106[_0xb12277>>>0x8&0xff]<<0x8|_0x311106[_0xb12277&0xff],_0xb12277^=_0x28dfe1[_0x2ab703/_0x204543|0x0]<<0x18),_0x5db61d[_0x2ab703]=_0x5db61d[_0x2ab703-_0x204543]^_0xb12277);for(var _0x230c00=this[_0x1f02cf(0x260)]=[],_0x1e94be=0x0;_0x1e94be<_0x24f086;_0x1e94be++){var _0x2ab703=_0x24f086-_0x1e94be;if(_0x1e94be%0x4)var _0xb12277=_0x5db61d[_0x2ab703];else var _0xb12277=_0x5db61d[_0x2ab703-0x4];_0x1e94be<0x4||_0x2ab703<=0x4?_0x230c00[_0x1e94be]=_0xb12277:_0x230c00[_0x1e94be]=_0x15a7e2[_0x311106[_0xb12277>>>0x18]]^_0x5891e5[_0x311106[_0xb12277>>>0x10&0xff]]^_0x32ba38[_0x311106[_0xb12277>>>0x8&0xff]]^_0x42ed77[_0x311106[_0xb12277&0xff]];}}},'encryptBlock':function(_0x2c2e37,_0xbed80e){var _0x467adc=_0x215426;this[_0x467adc(0x316)](_0x2c2e37,_0xbed80e,this[_0x467adc(0x230)],_0x5eda67,_0x459060,_0x4eed8b,_0x1c0031,_0x311106);},'decryptBlock':function(_0x9c4f19,_0x244aba){var _0xee7c27=_0x215426,_0x33f210=_0x9c4f19[_0x244aba+0x1];_0x9c4f19[_0x244aba+0x1]=_0x9c4f19[_0x244aba+0x3],_0x9c4f19[_0x244aba+0x3]=_0x33f210,this[_0xee7c27(0x316)](_0x9c4f19,_0x244aba,this['_invKeySchedule'],_0x15a7e2,_0x5891e5,_0x32ba38,_0x42ed77,_0x3684f8);var _0x33f210=_0x9c4f19[_0x244aba+0x1];_0x9c4f19[_0x244aba+0x1]=_0x9c4f19[_0x244aba+0x3],_0x9c4f19[_0x244aba+0x3]=_0x33f210;},'_doCryptBlock':function(_0x5d4cf1,_0x2e96f1,_0x22b7fb,_0x4ff435,_0x1c7e2d,_0x5491c5,_0x3b8cfe,_0x5e928a){for(var _0x2709b0=this['_nRounds'],_0x1f0c32=_0x5d4cf1[_0x2e96f1]^_0x22b7fb[0x0],_0x2c4e4b=_0x5d4cf1[_0x2e96f1+0x1]^_0x22b7fb[0x1],_0x2475bb=_0x5d4cf1[_0x2e96f1+0x2]^_0x22b7fb[0x2],_0x1fdaa5=_0x5d4cf1[_0x2e96f1+0x3]^_0x22b7fb[0x3],_0x4f8708=0x4,_0x325933=0x1;_0x325933<_0x2709b0;_0x325933++){var _0x3647a5=_0x4ff435[_0x1f0c32>>>0x18]^_0x1c7e2d[_0x2c4e4b>>>0x10&0xff]^_0x5491c5[_0x2475bb>>>0x8&0xff]^_0x3b8cfe[_0x1fdaa5&0xff]^_0x22b7fb[_0x4f8708++],_0x20abd5=_0x4ff435[_0x2c4e4b>>>0x18]^_0x1c7e2d[_0x2475bb>>>0x10&0xff]^_0x5491c5[_0x1fdaa5>>>0x8&0xff]^_0x3b8cfe[_0x1f0c32&0xff]^_0x22b7fb[_0x4f8708++],_0x5d310a=_0x4ff435[_0x2475bb>>>0x18]^_0x1c7e2d[_0x1fdaa5>>>0x10&0xff]^_0x5491c5[_0x1f0c32>>>0x8&0xff]^_0x3b8cfe[_0x2c4e4b&0xff]^_0x22b7fb[_0x4f8708++],_0x232d8f=_0x4ff435[_0x1fdaa5>>>0x18]^_0x1c7e2d[_0x1f0c32>>>0x10&0xff]^_0x5491c5[_0x2c4e4b>>>0x8&0xff]^_0x3b8cfe[_0x2475bb&0xff]^_0x22b7fb[_0x4f8708++];_0x1f0c32=_0x3647a5,_0x2c4e4b=_0x20abd5,_0x2475bb=_0x5d310a,_0x1fdaa5=_0x232d8f;}var _0x3647a5=(_0x5e928a[_0x1f0c32>>>0x18]<<0x18|_0x5e928a[_0x2c4e4b>>>0x10&0xff]<<0x10|_0x5e928a[_0x2475bb>>>0x8&0xff]<<0x8|_0x5e928a[_0x1fdaa5&0xff])^_0x22b7fb[_0x4f8708++],_0x20abd5=(_0x5e928a[_0x2c4e4b>>>0x18]<<0x18|_0x5e928a[_0x2475bb>>>0x10&0xff]<<0x10|_0x5e928a[_0x1fdaa5>>>0x8&0xff]<<0x8|_0x5e928a[_0x1f0c32&0xff])^_0x22b7fb[_0x4f8708++],_0x5d310a=(_0x5e928a[_0x2475bb>>>0x18]<<0x18|_0x5e928a[_0x1fdaa5>>>0x10&0xff]<<0x10|_0x5e928a[_0x1f0c32>>>0x8&0xff]<<0x8|_0x5e928a[_0x2c4e4b&0xff])^_0x22b7fb[_0x4f8708++],_0x232d8f=(_0x5e928a[_0x1fdaa5>>>0x18]<<0x18|_0x5e928a[_0x1f0c32>>>0x10&0xff]<<0x10|_0x5e928a[_0x2c4e4b>>>0x8&0xff]<<0x8|_0x5e928a[_0x2475bb&0xff])^_0x22b7fb[_0x4f8708++];_0x5d4cf1[_0x2e96f1]=_0x3647a5,_0x5d4cf1[_0x2e96f1+0x1]=_0x20abd5,_0x5d4cf1[_0x2e96f1+0x2]=_0x5d310a,_0x5d4cf1[_0x2e96f1+0x3]=_0x232d8f;},'keySize':0x100/0x20});_0x3efe06[_0x215426(0x4cc)]=_0x5d17d5[_0x215426(0x307)](_0x4f86d8);}()),_0x5d2fec[_0x43eec8(0x4cc)];}));}(Ie)),Ie['exports'];}var Mi=Li();const wi=de(Mi);function _0x2b21(_0x16ef6c,_0x19ca71){_0x16ef6c=_0x16ef6c-0x1de;var _0x28b2e7=_0x28b2();var _0x2b217e=_0x28b2e7[_0x16ef6c];return _0x2b217e;}var xi=Ct();const it=de(xi);var Oe={'exports':{}},ki=Oe[_0x44d730(0x2df)],nt;function $i(){var _0x3a651a=_0x44d730;return nt||(nt=0x1,function(_0x533ff9,_0x352328){(function(_0x4dc02e,_0x2a79f5){var _0x14ad84=_0x2b21;_0x533ff9[_0x14ad84(0x2df)]=_0x2a79f5(Z());}(ki,function(_0x676ce0){return _0x676ce0['enc']['Utf8'];}));}(Oe)),Oe[_0x3a651a(0x2df)];}var Hi=$i();const ji=de(Hi);var be={'exports':{}},Bi=be[_0x44d730(0x2df)],st;function Fi(){return st||(st=0x1,function(_0x252366,_0x2b55bc){(function(_0x3b18ec,_0xc822ad){_0x252366['exports']=_0xc822ad(Z());}(Bi,function(_0x183b9f){var _0x38fa40=_0x2b21;return(function(){var _0xa2ffb4=_0x2b21;if(typeof ArrayBuffer==_0xa2ffb4(0x51b)){var _0x50dadc=_0x183b9f,_0x531f25=_0x50dadc['lib'],_0x3fd4b3=_0x531f25[_0xa2ffb4(0x3e2)],_0x5da56d=_0x3fd4b3['init'],_0xbd9ba2=_0x3fd4b3[_0xa2ffb4(0x23a)]=function(_0x2732dc){var _0xa7a7d4=_0xa2ffb4;if(_0x2732dc instanceof ArrayBuffer&&(_0x2732dc=new Uint8Array(_0x2732dc)),(_0x2732dc instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2732dc instanceof Uint8ClampedArray||_0x2732dc instanceof Int16Array||_0x2732dc instanceof Uint16Array||_0x2732dc instanceof Int32Array||_0x2732dc instanceof Uint32Array||_0x2732dc instanceof Float32Array||_0x2732dc instanceof Float64Array)&&(_0x2732dc=new Uint8Array(_0x2732dc[_0xa7a7d4(0x4d8)],_0x2732dc[_0xa7a7d4(0x30e)],_0x2732dc[_0xa7a7d4(0x328)])),_0x2732dc instanceof Uint8Array){for(var _0x596239=_0x2732dc[_0xa7a7d4(0x328)],_0x1cd8d4=[],_0x49a81f=0x0;_0x49a81f<_0x596239;_0x49a81f++)_0x1cd8d4[_0x49a81f>>>0x2]|=_0x2732dc[_0x49a81f]<<0x18-_0x49a81f%0x4*0x8;_0x5da56d[_0xa7a7d4(0x2da)](this,_0x1cd8d4,_0x596239);}else _0x5da56d[_0xa7a7d4(0x31c)](this,arguments);};_0xbd9ba2[_0xa2ffb4(0x425)]=_0x3fd4b3;}}()),_0x183b9f[_0x38fa40(0x2b4)]['WordArray'];}));}(be)),be['exports'];}var Vi=Fi();const Wi=de(Vi);var Re={'exports':{}},Gi=Re['exports'],rt;function Yi(){var _0x5f2e7b=_0x44d730;return rt||(rt=0x1,function(_0x38af3b,_0x596756){(function(_0x29f442,_0x559fee,_0x5d0365){var _0x57ae36=_0x2b21;_0x38af3b[_0x57ae36(0x2df)]=_0x559fee(Z(),bt());}(Gi,function(_0x543143){var _0x2cccd7=_0x2b21;return _0x543143[_0x2cccd7(0x54b)][_0x2cccd7(0x224)]={'pad':function(){},'unpad':function(){}},_0x543143[_0x2cccd7(0x54b)][_0x2cccd7(0x224)];}));}(Re)),Re[_0x5f2e7b(0x2df)];}var Ki=Yi();const qi=de(Ki);function zi(_0x4f8063,_0x30277e){var _0x132260=_0x44d730;const _0x2a0e5f=_0x30277e-_0x4f8063['length']%_0x30277e,_0x56d532=String[_0x132260(0x284)](_0x2a0e5f)[_0x132260(0x3a6)](_0x2a0e5f);return _0x4f8063+_0x56d532;}function Xi(_0x2ce56c,_0x4fb81c){var _0x3caa95=_0x44d730;const _0x196b53=Wi[_0x3caa95(0x26a)](0x10),_0x315ee1=zi(_0x2ce56c,0x10),_0x506729=wi[_0x3caa95(0x25b)](ji[_0x3caa95(0x2fc)](_0x315ee1),it[_0x3caa95(0x2fc)](_0x4fb81c),{'iv':_0x196b53,'padding':qi});return _0x196b53[_0x3caa95(0x371)](_0x506729['ciphertext'])[_0x3caa95(0x1e9)](it);}function Ji(){var _0x28ddf5=_0x44d730;const _0x1ec0c7=_t[_0x28ddf5(0x3d2)]()[_0x28ddf5(0x271)];if(typeof window<'u'&&typeof window[_0x28ddf5(0x4b9)]<'u'&&_0x1ec0c7){const _0x25522a={'time':Math[_0x28ddf5(0x31b)](Date[_0x28ddf5(0x1e5)]()/0x3e8),'domain':location[_0x28ddf5(0x53f)]};return Xi(JSON[_0x28ddf5(0x432)](_0x25522a),_0x1ec0c7);}}var Zi=Object[_0x44d730(0x456)],Qi=(_0x27d9f2,_0x51b554,_0x580d7a,_0x31ecdb)=>{var _0x3485db=_0x44d730;for(var _0x3333aa=_0x31ecdb>0x1?void 0x0:_0x31ecdb?Zi(_0x51b554,_0x580d7a):_0x51b554,_0x4e316b=_0x27d9f2[_0x3485db(0x53a)]-0x1,_0x595259;_0x4e316b>=0x0;_0x4e316b--)(_0x595259=_0x27d9f2[_0x4e316b])&&(_0x3333aa=_0x595259(_0x3333aa)||_0x3333aa);return _0x3333aa;},en=(_0x5a5584,_0x3c87fa)=>(_0x2e1d9f,_0x400845)=>_0x3c87fa(_0x2e1d9f,_0x400845,_0x5a5584);let De=class{constructor(_0x3752b9){var _0x4a5b6c=_0x44d730;this[_0x4a5b6c(0x521)]=_0x3752b9,this[_0x4a5b6c(0x4c2)]();}[_0x44d730(0x4c2)](){var _0x16fe3d=_0x44d730;this[_0x16fe3d(0x521)][_0x16fe3d(0x458)]({'interceptor':(_0x500e95,_0xf79d8b)=>{var _0x3b8d8c=_0x16fe3d;const _0x2c05fb=_0x500e95[_0x3b8d8c(0x402)],_0x5eb7b4=Ji();return _0x5eb7b4&&_0x2c05fb[_0x3b8d8c(0x395)]('x-univer-host',_0x5eb7b4),_0xf79d8b(_0x500e95);}});}};De=Qi([en(0x0,o['Inject'](K[_0x44d730(0x2ad)]))],De);var tn=Object[_0x44d730(0x456)],nn=(_0x4d8da3,_0xb0ef13,_0x53acd6,_0x3188dd)=>{var _0x39cd60=_0x44d730;for(var _0xb40cc=_0x3188dd>0x1?void 0x0:_0x3188dd?tn(_0xb0ef13,_0x53acd6):_0xb0ef13,_0x22cf1d=_0x4d8da3[_0x39cd60(0x53a)]-0x1,_0x1e23f9;_0x22cf1d>=0x0;_0x22cf1d--)(_0x1e23f9=_0x4d8da3[_0x22cf1d])&&(_0xb40cc=_0x1e23f9(_0xb40cc)||_0xb40cc);return _0xb40cc;},Le=(_0x1a0ba3,_0x29f89a)=>(_0x2f7864,_0x15bfd4)=>_0x29f89a(_0x2f7864,_0x15bfd4,_0x1a0ba3);exports[_0x44d730(0x376)]=class extends o['RxDisposable']{constructor(_0xf65276,_0x4a3ca6,_0x834472){var _0x20e36f=_0x44d730;super(),A(this,'_unitInfo$',new j['BehaviorSubject'](null)),A(this,'unitInfo$',this['_unitInfo$']['asObservable']()),(this[_0x20e36f(0x2f9)]=_0xf65276,this['_snapshotService']=_0x4a3ca6,this[_0x20e36f(0x2af)]=_0x834472);}async[_0x44d730(0x2dd)](_0x5e5e2a,_0x42fb9e,_0x31c198){var _0x58e43b=_0x44d730;this['_unitInfo$'][_0x58e43b(0x269)]({'unitId':_0x5e5e2a,'type':_0x42fb9e});let _0x4f8416=null;switch(_0x42fb9e){case X[_0x58e43b(0x536)]:{_0x4f8416=await this[_0x58e43b(0x21c)][_0x58e43b(0x4dd)](_0x5e5e2a,_0x31c198);break;}case X[_0x58e43b(0x548)]:{_0x4f8416=await this['_snapshotService'][_0x58e43b(0x233)](_0x5e5e2a,_0x31c198);break;}default:{this[_0x58e43b(0x2f9)][_0x58e43b(0x4e4)](_0x58e43b(0x26c),_0x58e43b(0x2ec));break;}}return _0x4f8416;}async[_0x44d730(0x304)](_0x4cefec,_0x3d3a60,_0x23e77e){var _0x5c7cb7=_0x44d730,_0x1ec91f;this[_0x5c7cb7(0x313)][_0x5c7cb7(0x269)]({'unitId':_0x4cefec,'type':_0x3d3a60,'subUnitId':_0x23e77e});let _0x395a1e=0x0;const _0x265d12=await((_0x1ec91f=this['_localCacheService'])==null?void 0x0:_0x1ec91f[_0x5c7cb7(0x4bf)](_0x4cefec));return _0x265d12&&(_0x265d12[_0x5c7cb7(0x4af)]||_0x265d12[_0x5c7cb7(0x3a8)][_0x5c7cb7(0x53a)]!==0x0)&&(_0x395a1e=_0x265d12[_0x5c7cb7(0x2ca)]),_0x395a1e===0x0&&this[_0x5c7cb7(0x2f9)]['debug'](_0x5c7cb7(0x26c),_0x5c7cb7(0x251)),this['loadUnitOfRevision'](_0x4cefec,_0x3d3a60,_0x395a1e);}},exports['DataLoaderService']=nn([Le(0x0,o[_0x44d730(0x265)]),Le(0x1,o[_0x44d730(0x433)](E[_0x44d730(0x474)])),Le(0x2,o[_0x44d730(0x493)](q))],exports[_0x44d730(0x376)]);var sn=Object[_0x44d730(0x456)],rn=(_0x50cca1,_0x35b97e,_0x4da5ca,_0x2c5fc1)=>{var _0x434dfb=_0x44d730;for(var _0x1b7f5b=_0x2c5fc1>0x1?void 0x0:_0x2c5fc1?sn(_0x35b97e,_0x4da5ca):_0x35b97e,_0x1cdd49=_0x50cca1[_0x434dfb(0x53a)]-0x1,_0x1a6d9e;_0x1cdd49>=0x0;_0x1cdd49--)(_0x1a6d9e=_0x50cca1[_0x1cdd49])&&(_0x1b7f5b=_0x1a6d9e(_0x1b7f5b)||_0x1b7f5b);return _0x1b7f5b;},Me=(_0x16e6f6,_0x288f3f)=>(_0x5dc4eb,_0x40101f)=>_0x288f3f(_0x5dc4eb,_0x40101f,_0x16e6f6);const an=[_0x44d730(0x3c6),_0x44d730(0x4bb),_0x44d730(0x257),_0x44d730(0x4bd),_0x44d730(0x372)],on=0x5*0x400*0x400,cn='/universer-api/stream/file/upload',_n=_0x44d730(0x2e3);exports[_0x44d730(0x31a)]=class{constructor(_0x1bd6c7,_0x2b6cec,_0xfa377b){var _0x2c5457=_0x44d730;A(this,_0x2c5457(0x392),0x0),A(this,_0x2c5457(0x4a6),new j[(_0x2c5457(0x3c0))]()),A(this,_0x2c5457(0x4e9),this[_0x2c5457(0x4a6)]),A(this,_0x2c5457(0x29c),new Map()),(this['_httpService']=_0x1bd6c7,this[_0x2c5457(0x4c8)]=_0x2b6cec,this['_univerInstanceService']=_0xfa377b);}['setWaitCount'](_0x398c19){var _0x273022=_0x44d730;this[_0x273022(0x392)]=_0x398c19,this[_0x273022(0x4a6)][_0x273022(0x269)](_0x398c19);}[_0x44d730(0x302)](_0x3beaf5,_0x4b6e9e){var _0x14dfa1=_0x44d730;if(_0x4b6e9e===z[_0x14dfa1(0x247)][_0x14dfa1(0x4a1)]){const _0xa671ed=new Image();return _0xa671ed['src']=_0x3beaf5,_0xa671ed;}return this[_0x14dfa1(0x29c)][_0x14dfa1(0x239)](_0x3beaf5);}[_0x44d730(0x544)](_0x209f83,_0xe8cca,_0x4d130f){var _0x1ef6db=_0x44d730;_0xe8cca===z['ImageSourceType'][_0x1ef6db(0x4a1)]||_0x4d130f==null||this[_0x1ef6db(0x29c)][_0x1ef6db(0x395)](_0x209f83,_0x4d130f);}async[_0x44d730(0x2c2)](_0x442ef6){var _0x14b696=_0x44d730;try{const _0x44fb87=this[_0x14b696(0x49b)](this[_0x14b696(0x42d)](),''+_0x442ef6),_0x3ffba6=(await this[_0x14b696(0x521)][_0x14b696(0x239)](_0x44fb87))[_0x14b696(0x47a)];if(_0x3ffba6['error']&&_0x3ffba6[_0x14b696(0x4e4)][_0x14b696(0x419)]===dt['OK']){const _0x394773=o[_0x14b696(0x562)](_0x3ffba6['url'],this[_0x14b696(0x1fc)]());return Promise[_0x14b696(0x33e)](_0x394773);}return Promise[_0x14b696(0x4ff)](_0x3ffba6['error']);}catch(_0x46354b){return Promise[_0x14b696(0x4ff)](_0x46354b);}}async['saveImage'](_0x591aba){var _0x39afa5=_0x44d730;let _0x548ec8='';if(!an[_0x39afa5(0x2b3)](_0x591aba[_0x39afa5(0x319)]))return this[_0x39afa5(0x4cb)](),Promise['reject'](new Error(z['ImageUploadStatusType'][_0x39afa5(0x3ed)]));if(_0x591aba[_0x39afa5(0x2db)]>on)return this['_decreaseWaiting'](),Promise[_0x39afa5(0x4ff)](new Error(z[_0x39afa5(0x35a)][_0x39afa5(0x4c6)]));try{const _0x2cb5c2=new FormData();_0x2cb5c2['append'](_0x39afa5(0x2c7),_0x591aba);const _0x8352ea=this['_univerInstanceService'][_0x39afa5(0x2dc)](),_0x193b45=_0x8352ea==null?void 0x0:_0x8352ea[_0x39afa5(0x287)]();if(!_0x193b45)throw new Error('unitId\x20is\x20not\x20found');const _0x21b602=this['_getUploadFileURL']()+_0x39afa5(0x31e)+_0x591aba[_0x39afa5(0x2db)]['toString']()+_0x39afa5(0x50a)+St[_0x39afa5(0x509)]+_0x39afa5(0x53b)+encodeURIComponent(_0x193b45),_0x735454={'body':_0x2cb5c2},_0x4e9ba8=(await this[_0x39afa5(0x521)]['post'](_0x21b602,_0x735454))[_0x39afa5(0x47a)];if(typeof _0x4e9ba8[_0x39afa5(0x489)]!=_0x39afa5(0x38c))return this[_0x39afa5(0x4cb)](),Promise[_0x39afa5(0x4ff)](new Error(z[_0x39afa5(0x35a)][_0x39afa5(0x560)]));_0x548ec8=_0x4e9ba8[_0x39afa5(0x489)];}catch{return this[_0x39afa5(0x4cb)](),Promise['reject'](new Error(z[_0x39afa5(0x35a)][_0x39afa5(0x560)]));}return new Promise((_0x1426bb,_0x5ded75)=>{var _0x392cfd=_0x39afa5;const _0x282140=new FileReader();_0x282140[_0x392cfd(0x31f)](_0x591aba),_0x282140['onload']=_0x4246c0=>{var _0x2d5096=_0x392cfd,_0x4f64e5;const _0x39088e=(_0x4f64e5=_0x4246c0[_0x2d5096(0x2f4)])==null?void 0x0:_0x4f64e5[_0x2d5096(0x282)];if(_0x39088e==null){this[_0x2d5096(0x4cb)](),_0x5ded75(new Error(z[_0x2d5096(0x35a)][_0x2d5096(0x560)]));return;}const _0xc61d18=o[_0x2d5096(0x557)](0x6);_0x1426bb({'imageId':_0xc61d18,'imageSourceType':z[_0x2d5096(0x247)]['UUID'],'source':_0x548ec8,'base64Cache':_0x39088e,'status':z[_0x2d5096(0x35a)]['SUCCUSS']}),this[_0x2d5096(0x4cb)]();};});}['_getUploadFileURL'](){var _0xd88ed=_0x44d730,_0x1c7b34;const _0x2e7fa8=this[_0xd88ed(0x4c8)][_0xd88ed(0x314)](Y);return(_0x1c7b34=_0x2e7fa8==null?void 0x0:_0x2e7fa8[_0xd88ed(0x4dc)])!=null?_0x1c7b34:cn;}['_getSignURL'](){var _0x11884e=_0x44d730,_0x59e4b2;const _0x5210f7=this['_configService'][_0x11884e(0x314)](Y);return(_0x59e4b2=_0x5210f7==null?void 0x0:_0x5210f7[_0x11884e(0x3b5)])!=null?_0x59e4b2:_n;}[_0x44d730(0x1fc)](){var _0x37a083=_0x44d730,_0x3409e1;const _0x2b54c3=this['_configService'][_0x37a083(0x314)](Y);return(_0x3409e1=_0x2b54c3==null?void 0x0:_0x2b54c3[_0x37a083(0x259)])!=null?_0x3409e1:location[_0x37a083(0x1fe)];}[_0x44d730(0x49b)](_0x1edd6a,_0x143077){var _0x1dc789=_0x44d730;return _0x1edd6a[_0x1dc789(0x2ac)](_0x1dc789(0x312),_0x143077);}['_decreaseWaiting'](){var _0x16010e=_0x44d730;this[_0x16010e(0x392)]-=0x1,this[_0x16010e(0x4a6)][_0x16010e(0x269)](this[_0x16010e(0x392)]);}},exports['CollaborationImageIoService']=rn([Me(0x0,o[_0x44d730(0x433)](K['HTTPService'])),Me(0x1,o[_0x44d730(0x47e)]),Me(0x2,o['Inject'](o[_0x44d730(0x487)]))],exports[_0x44d730(0x31a)]);var hn=Object[_0x44d730(0x456)],ln=(_0x34f199,_0x5ba14b,_0x2ca54d,_0x41b6b8)=>{for(var _0x1b15d1=_0x41b6b8>0x1?void 0x0:_0x41b6b8?hn(_0x5ba14b,_0x2ca54d):_0x5ba14b,_0x81ef9e=_0x34f199['length']-0x1,_0x2949dd;_0x81ef9e>=0x0;_0x81ef9e--)(_0x2949dd=_0x34f199[_0x81ef9e])&&(_0x1b15d1=_0x2949dd(_0x1b15d1)||_0x1b15d1);return _0x1b15d1;},at=(_0x3fa079,_0x2a0640)=>(_0x37635e,_0x546640)=>_0x2a0640(_0x37635e,_0x546640,_0x3fa079);const un=_0x44d730(0x2c4);exports[_0x44d730(0x21a)]=class{constructor(_0x174ff8,_0x3efff2){var _0x4b4a3e=_0x44d730;this[_0x4b4a3e(0x4c8)]=_0x174ff8,this[_0x4b4a3e(0x286)]=_0x3efff2;}['_getAPIPrefixPath'](){var _0x2ade78=_0x44d730,_0x2c5b61;const _0x1422ce=this['_configService']['getConfig'](Y);return(_0x2c5b61=_0x1422ce==null?void 0x0:_0x1422ce[_0x2ade78(0x354)])!=null?_0x2c5b61:un;}async[_0x44d730(0x2c6)](_0x569fca){var _0x486d7c=_0x44d730;const _0x3b2e44=this[_0x486d7c(0x35e)]()+_0x486d7c(0x2e0);return{'list':[{'title':_0x486d7c(0x358),'mentions':(await this[_0x486d7c(0x286)]['get'](_0x3b2e44,{'params':{'objectID':_0x569fca[_0x486d7c(0x464)],'unitID':_0x569fca[_0x486d7c(0x464)]}}))[_0x486d7c(0x47a)][_0x486d7c(0x270)][_0x486d7c(0x309)](_0xf9970e=>({'objectId':_0xf9970e['id'],'name':_0xf9970e[_0x486d7c(0x2a2)]['name'],'metadata':{'icon':_0xf9970e[_0x486d7c(0x2a2)][_0x486d7c(0x283)]},'label':_0xf9970e[_0x486d7c(0x2a2)][_0x486d7c(0x4ee)],'objectType':o[_0x486d7c(0x41f)]['PERSON']})),'metadata':{},'type':o[_0x486d7c(0x41f)][_0x486d7c(0x275)]}]};}},exports['MentionIoHttpService']=ln([at(0x0,o[_0x44d730(0x433)](o[_0x44d730(0x47e)])),at(0x1,o[_0x44d730(0x433)](K['HTTPService']))],exports['MentionIoHttpService']);var vn=Object[_0x44d730(0x456)],dn=(_0x4c7bcb,_0x3ed018,_0x4956ad,_0x5f96ba)=>{var _0x13bc6c=_0x44d730;for(var _0x651f72=_0x5f96ba>0x1?void 0x0:_0x5f96ba?vn(_0x3ed018,_0x4956ad):_0x3ed018,_0x95dc09=_0x4c7bcb[_0x13bc6c(0x53a)]-0x1,_0x10548e;_0x95dc09>=0x0;_0x95dc09--)(_0x10548e=_0x4c7bcb[_0x95dc09])&&(_0x651f72=_0x10548e(_0x651f72)||_0x651f72);return _0x651f72;},le=(_0x459caa,_0x1695fc)=>(_0x3eeeca,_0x199538)=>_0x1695fc(_0x3eeeca,_0x199538,_0x459caa);let ye=class extends o['RxDisposable']{constructor(_0x3e3a95,_0x4870b3,_0x531bb9,_0xb1855b,_0x296362){var _0x453d64=_0x44d730;super(),this['_injector']=_0x3e3a95,this['_univerInstanceService']=_0x4870b3,this[_0x453d64(0x326)]=_0x531bb9,this[_0x453d64(0x2a3)]=_0xb1855b,this[_0x453d64(0x4d3)]=_0x296362,this[_0x453d64(0x377)](),this[_0x453d64(0x45c)]();}[_0x44d730(0x45c)](){var _0xe99c49=_0x44d730;const _0x4223b7=async _0x5419e5=>{var _0x352195=_0x2b21;(await this['_collaborationSessionService']['requireSession'](_0x5419e5))['event$'][_0x352195(0x448)](V[_0x352195(0x43b)](_0x51a5ca=>_0x51a5ca[_0x352195(0x497)]===E[_0x352195(0x4a9)][_0x352195(0x3e5)]),V[_0x352195(0x4ac)](this[_0x352195(0x406)]))[_0x352195(0x4e6)](_0x4694a4=>{var _0x6109d7=_0x352195;const _0x48e54e=_0x4694a4,{reason:_0x1ab7cc}=_0x48e54e[_0x6109d7(0x347)];this[_0x6109d7(0x4d3)][_0x6109d7(0x2fd)]({'id':J[_0x6109d7(0x29d)],'data':_0x1ab7cc}),this[_0x6109d7(0x326)]['updatePermissionPoint'](new Q[(_0x6109d7(0x28e))](_0x5419e5)['id'],!0x1),this[_0x6109d7(0x2a3)][_0x6109d7(0x317)](_0x5419e5);});};j[_0xe99c49(0x54d)](this[_0xe99c49(0x3fc)][_0xe99c49(0x4d4)](o[_0xe99c49(0x40e)]['UNIVER_SHEET']),this[_0xe99c49(0x3fc)]['getTypeOfUnitAdded$'](o['UniverInstanceType'][_0xe99c49(0x548)]))[_0xe99c49(0x448)](V['map'](_0x1aa0df=>_0x1aa0df[_0xe99c49(0x287)]()),V[_0xe99c49(0x43b)](_0x1b8bf7=>!o['isInternalEditorID'](_0x1b8bf7)),V['takeUntil'](this[_0xe99c49(0x406)]))[_0xe99c49(0x4e6)](_0x451dde=>{_0x4223b7(_0x451dde);});}[_0x44d730(0x377)](){var _0x3956a0=_0x44d730;const _0x4518e2=async _0x433c13=>{var _0x1e55b6=_0x2b21;const _0x2504c9=await this[_0x1e55b6(0x2a3)][_0x1e55b6(0x1fb)](_0x433c13),_0x55ca8e=this[_0x1e55b6(0x3f1)][_0x1e55b6(0x239)](Q[_0x1e55b6(0x285)]);_0x2504c9[_0x1e55b6(0x22e)][_0x1e55b6(0x448)](V[_0x1e55b6(0x43b)](_0x4637c5=>_0x4637c5[_0x1e55b6(0x497)]===E[_0x1e55b6(0x4a9)][_0x1e55b6(0x243)]),V[_0x1e55b6(0x4ac)](this[_0x1e55b6(0x406)]))[_0x1e55b6(0x4e6)](_0x20d0cd=>{var _0x261e64=_0x1e55b6;const _0x4a100f=_0x20d0cd,{objectId:_0x574c85}=_0x4a100f[_0x261e64(0x347)];_0x574c85===_0x433c13?_0x55ca8e[_0x261e64(0x240)](_0x433c13):_0x55ca8e[_0x261e64(0x556)](_0x433c13,_0x574c85);});};j['merge'](this[_0x3956a0(0x3fc)][_0x3956a0(0x4d4)](o['UniverInstanceType'][_0x3956a0(0x536)]))[_0x3956a0(0x448)](V['map'](_0x123466=>_0x123466[_0x3956a0(0x287)]()),V[_0x3956a0(0x43b)](_0x23058b=>!o[_0x3956a0(0x455)](_0x23058b)),V[_0x3956a0(0x4ac)](this[_0x3956a0(0x406)]))[_0x3956a0(0x4e6)](_0x262a72=>{_0x4518e2(_0x262a72);});}};ye=dn([le(0x0,o[_0x44d730(0x433)](o[_0x44d730(0x54f)])),le(0x1,o[_0x44d730(0x487)]),le(0x2,o[_0x44d730(0x2cd)]),le(0x3,o[_0x44d730(0x433)](exports[_0x44d730(0x277)])),le(0x4,o['Inject'](ee))],ye);var Sn=Object[_0x44d730(0x456)],In=(_0x4630d4,_0x3ff287,_0x2ed569,_0x284487)=>{for(var _0x2bde0d=_0x284487>0x1?void 0x0:_0x284487?Sn(_0x3ff287,_0x2ed569):_0x3ff287,_0x1a1049=_0x4630d4['length']-0x1,_0x3ad5b5;_0x1a1049>=0x0;_0x1a1049--)(_0x3ad5b5=_0x4630d4[_0x1a1049])&&(_0x2bde0d=_0x3ad5b5(_0x2bde0d)||_0x2bde0d);return _0x2bde0d;},ot=(_0x87ae7a,_0x57656b)=>(_0x1b2326,_0x565bfe)=>_0x57656b(_0x1b2326,_0x565bfe,_0x87ae7a);exports[_0x44d730(0x496)]=class{constructor(_0x4f43d3,_0x441a29){var _0x4dd782=_0x44d730;this[_0x4dd782(0x4c8)]=_0x4f43d3,this['_httpService']=_0x441a29;}async['getUnitOnRev'](_0x2aa7d6,_0x525e77){var _0x479a34=_0x44d730,_0xd229df;const {unitID:_0x13ed52,type:_0x1224da,revision:_0x5e77e0=0x0}=_0x525e77,_0x1b5a4e=this[_0x479a34(0x353)]()+'/'+_0x1224da+'/unit/'+_0x13ed52+_0x479a34(0x238)+_0x5e77e0,_0x201418=(await this['_httpService']['get'](_0x1b5a4e))[_0x479a34(0x47a)],_0x160bbf=(_0xd229df=_0x201418[_0x479a34(0x547)])==null?void 0x0:_0xd229df[_0x479a34(0x513)];if(_0x160bbf){const _0x3d3a29=_0x160bbf==null?void 0x0:_0x160bbf[_0x479a34(0x343)],_0x61dc18=E[_0x479a34(0x41b)][_0x479a34(0x4ca)](E[_0x479a34(0x4d7)](_0x3d3a29));_0x160bbf['originalMeta']=_0x61dc18,Object[_0x479a34(0x480)](_0x160bbf['sheets'])[_0x479a34(0x53e)](([,_0x5c6e46])=>{var _0x53ba66=_0x479a34;const _0x4b9202=_0x5c6e46[_0x53ba66(0x343)],_0x316953=E[_0x53ba66(0x41b)][_0x53ba66(0x4ca)](E[_0x53ba66(0x4d7)](_0x4b9202));_0x5c6e46[_0x53ba66(0x343)]=_0x316953;});}return _0x201418;}async[_0x44d730(0x491)](_0x1632dd,_0x4bc62b){var _0x8fee5d=_0x44d730;const {unitID:_0x4a88db,type:_0x3c9830,blockID:_0x3bc0ad}=_0x4bc62b,_0x106127=this[_0x8fee5d(0x3a3)]()+'/'+_0x3c9830+'/unit/'+_0x4a88db+'/block/'+_0x3bc0ad;return(await this[_0x8fee5d(0x521)][_0x8fee5d(0x239)](_0x106127))[_0x8fee5d(0x47a)];}async['getDeserializedSheetBlock'](_0x32045d,_0x27536f){var _0x314404=_0x44d730;const {unitID:_0x19dec7,type:_0x2856d3,blockID:_0x10d397}=_0x27536f,_0xa17297=this['_getAPIPrefix']()+_0x314404(0x51c)+_0x2856d3+_0x314404(0x41c)+_0x19dec7+_0x314404(0x51c)+_0x10d397;return(await this[_0x314404(0x521)][_0x314404(0x239)](_0xa17297))[_0x314404(0x47a)];}async['fetchMissingChangesets'](_0x560c2e,_0x32ca1e){var _0x44b56b=_0x44d730;const {unitID:_0x362b5b,type:_0x6538ff,from:_0x3c75cc,to:_0x56608e}=_0x32ca1e,_0x2036c2=this[_0x44b56b(0x3a3)]()+'/'+_0x6538ff+_0x44b56b(0x41c)+_0x362b5b+'/fetchmissing?from='+_0x3c75cc+'&to='+_0x56608e;return(await this[_0x44b56b(0x521)][_0x44b56b(0x239)](_0x2036c2))[_0x44b56b(0x47a)];}[_0x44d730(0x353)](){var _0x545512=_0x44d730,_0x35a3a5;return(_0x35a3a5=this[_0x545512(0x4c8)][_0x545512(0x314)](Ut))!=null?_0x35a3a5:this[_0x545512(0x3a3)]();}['_getAPIPrefix'](){var _0x33be32=_0x44d730,_0x15e3dc;const _0x5bd786=this[_0x33be32(0x4c8)][_0x33be32(0x314)](Y);return(_0x15e3dc=_0x5bd786==null?void 0x0:_0x5bd786[_0x33be32(0x2c1)])!=null?_0x15e3dc:yt;}async['getResourcesRequest'](_0x1b7c1b,_0x2ff1b2){var _0x3f63af=_0x44d730;const _0x5384ed=_0x3f63af(0x4a5)+_0x2ff1b2[_0x3f63af(0x319)]+'/unit/'+_0x2ff1b2[_0x3f63af(0x20f)]+_0x3f63af(0x255);return(await this[_0x3f63af(0x521)][_0x3f63af(0x239)](_0x5384ed,{'params':{'resourceId':JSON[_0x3f63af(0x432)](_0x2ff1b2[_0x3f63af(0x3e3)])}}))['body'];}[_0x44d730(0x555)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['updateSnapshot'](){var _0x118341=_0x44d730;throw new Error(_0x118341(0x4d2));}['saveSheetBlock'](){var _0x11ef26=_0x44d730;throw new Error(_0x11ef26(0x4d2));}['saveChangeset'](){var _0x10e713=_0x44d730;throw new Error(_0x10e713(0x4d2));}[_0x44d730(0x29b)](){var _0x41cca6=_0x44d730;throw new Error(_0x41cca6(0x4d2));}['getLatestCsReqIdBySid'](){var _0x28071d=_0x44d730;throw new Error(_0x28071d(0x4d2));}},exports[_0x44d730(0x496)]=In([ot(0x0,o[_0x44d730(0x47e)]),ot(0x1,o[_0x44d730(0x433)](K[_0x44d730(0x2ad)]))],exports['SnapshotServerOverHTTPService']);var fn=Object[_0x44d730(0x456)],En=(_0x108159,_0x2d37ff,_0x5b8059,_0x250d20)=>{var _0x19da23=_0x44d730;for(var _0x28c349=_0x250d20>0x1?void 0x0:_0x250d20?fn(_0x2d37ff,_0x5b8059):_0x2d37ff,_0x3ba4c8=_0x108159[_0x19da23(0x53a)]-0x1,_0x270f09;_0x3ba4c8>=0x0;_0x3ba4c8--)(_0x270f09=_0x108159[_0x3ba4c8])&&(_0x28c349=_0x270f09(_0x28c349)||_0x28c349);return _0x28c349;},ue=(_0x4c0097,_0x588631)=>(_0x747542,_0x36d84e)=>_0x588631(_0x747542,_0x36d84e,_0x4c0097);exports[_0x44d730(0x2c0)]=class extends o[_0x44d730(0x37e)]{constructor(_0x9f0f02,_0x113269,_0x4efa86,_0x58eb8a,_0xbf9b4d){var _0x471c35=_0x44d730;super(_0x9f0f02,_0x113269,_0x4efa86),this[_0x471c35(0x2bd)]=_0x58eb8a,this[_0x471c35(0x2f9)]=_0xbf9b4d;}['transformUndoRedo'](_0x5a086f,_0x1ce7f0){var _0x5eb66f=_0x44d730;const _0x520cd4=this['_getUndoStack'](_0x5a086f);if(_0x520cd4)try{const _0x5f0e30=this['_transformStack'](_0x520cd4,_0x1ce7f0);this['_substituteUndoStack'](_0x5a086f,_0x5f0e30);}catch(_0x399314){this[_0x5eb66f(0x2f9)][_0x5eb66f(0x4e4)]('[CollaborationUndoRedoService]',_0x399314),this[_0x5eb66f(0x55c)](_0x5a086f);}const _0x1e79f1=this[_0x5eb66f(0x24a)](_0x5a086f);if(_0x1e79f1)try{const _0x5042e4=this['_transformStack'](_0x1e79f1,_0x1ce7f0);this[_0x5eb66f(0x28c)](_0x5a086f,_0x5042e4);}catch(_0x1ffb97){this[_0x5eb66f(0x2f9)][_0x5eb66f(0x4e4)](_0x1ffb97),this[_0x5eb66f(0x281)](_0x5a086f);}}['_clearUndo'](_0x2392ea){var _0x518280=_0x44d730;const _0x4398e8=this[_0x518280(0x2f7)](_0x2392ea);_0x4398e8&&(_0x4398e8[_0x518280(0x53a)]=0x0,this[_0x518280(0x32a)]());}[_0x44d730(0x281)](_0x5aa8f3){var _0x421e4d=_0x44d730;const _0x540ee2=this[_0x421e4d(0x24a)](_0x5aa8f3);_0x540ee2&&(_0x540ee2[_0x421e4d(0x53a)]=0x0,this[_0x421e4d(0x32a)]());}[_0x44d730(0x3ce)](_0x2b05c5,_0xda2ae){var _0x6e7fca=_0x44d730;this[_0x6e7fca(0x274)][_0x6e7fca(0x395)](_0x2b05c5,_0xda2ae),this['_updateStatus']();}['_substituteRedoStack'](_0x48e06c,_0x2fdd47){var _0x7a7eb7=_0x44d730;this[_0x7a7eb7(0x56f)][_0x7a7eb7(0x395)](_0x48e06c,_0x2fdd47),this[_0x7a7eb7(0x32a)]();}[_0x44d730(0x32b)](_0x1a549e,_0x40ff9a){var _0x7ad82a=_0x44d730;const _0xcf99ac=[];let _0x4863e3=_0x40ff9a,_0x1062e9=_0x40ff9a;for(let _0x1c2e39=_0x1a549e[_0x7ad82a(0x53a)]-0x1;_0x1c2e39>=0x0;_0x1c2e39--){const {unitID:_0x16c987,undoMutations:_0x180d3c,redoMutations:_0x2ebb90}=_0x1a549e[_0x1c2e39],_0x448991=this[_0x7ad82a(0x2bd)]['transformMutationsWithChangeset'](_0x4863e3,_0x180d3c),_0x5c4c21=this[_0x7ad82a(0x2bd)][_0x7ad82a(0x308)](_0x1062e9,_0x2ebb90);if(E[_0x7ad82a(0x254)](_0x448991)||E[_0x7ad82a(0x254)](_0x5c4c21)){this[_0x7ad82a(0x2f9)][_0x7ad82a(0x4e4)](_0x7ad82a(0x3e9),_0x7ad82a(0x357),_0x448991,_0x5c4c21);break;}_0x4863e3=_0x448991['c1Prime'],_0x1062e9=_0x5c4c21[_0x7ad82a(0x529)],_0xcf99ac[_0x7ad82a(0x4b4)]({'unitID':_0x16c987,'undoMutations':_0x448991[_0x7ad82a(0x3df)],'redoMutations':_0x5c4c21[_0x7ad82a(0x3df)]});}return _0xcf99ac['reverse']();}},exports['CollaborativeUndoRedoService']=En([ue(0x0,o[_0x44d730(0x487)]),ue(0x1,o[_0x44d730(0x2fa)]),ue(0x2,o['IContextService']),ue(0x3,E[_0x44d730(0x1de)]),ue(0x4,o[_0x44d730(0x265)])],exports['CollaborativeUndoRedoService']);var pn=Object['defineProperty'],mn=Object['getOwnPropertyDescriptor'],gn=(_0x459a1c,_0x4dc0c2,_0x108f7a)=>_0x4dc0c2 in _0x459a1c?pn(_0x459a1c,_0x4dc0c2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x108f7a}):_0x459a1c[_0x4dc0c2]=_0x108f7a,Tn=(_0x40d061,_0x1cad69,_0xaff429,_0x4a6e17)=>{var _0x5551f0=_0x44d730;for(var _0x3428a1=_0x4a6e17>0x1?void 0x0:_0x4a6e17?mn(_0x1cad69,_0xaff429):_0x1cad69,_0x2a062d=_0x40d061[_0x5551f0(0x53a)]-0x1,_0xd99bb1;_0x2a062d>=0x0;_0x2a062d--)(_0xd99bb1=_0x40d061[_0x2a062d])&&(_0x3428a1=_0xd99bb1(_0x3428a1)||_0x3428a1);return _0x3428a1;},we=(_0x425451,_0x33e117)=>(_0x12edbf,_0x497d52)=>_0x33e117(_0x12edbf,_0x497d52,_0x425451),Cn=(_0x5609f0,_0x47f426,_0xf533fe)=>gn(_0x5609f0,_0x47f426+'',_0xf533fe);const On='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x44d730(0x502)]=class extends o[_0x44d730(0x3cc)]{constructor(_0xaf82b3,_0x37c58f,_0x3925fb,_0x3fec25){var _0x3c5600=_0x44d730;super(),A(this,_0x3c5600(0x21b)),(this['_logService']=_0x37c58f,this[_0x3c5600(0x3f1)]=_0x3925fb,this[_0x3c5600(0x4c8)]=_0x3fec25);const {..._0x34dc71}=o[_0x3c5600(0x54d)]({},Qt,_0xaf82b3);if(!_0x34dc71[_0x3c5600(0x546)])throw new Error(_0x3c5600(0x2e2));this[_0x3c5600(0x21b)]=_0x34dc71,this[_0x3c5600(0x4c8)][_0x3c5600(0x4c9)](Y,_0x34dc71);}[_0x44d730(0x311)](){var _0x13058d=_0x44d730;this[_0x13058d(0x34c)](),this[_0x13058d(0x3f5)]();}[_0x44d730(0x34c)](){var _0x3d4865=_0x44d730,_0xea5c89,_0xae8db2;this[_0x3d4865(0x3f1)][_0x3d4865(0x394)](o[_0x3d4865(0x290)])&&this[_0x3d4865(0x2f9)][_0x3d4865(0x4e4)](_0x3d4865(0x355),_0x3d4865(0x494));const _0x369ab9=o[_0x3d4865(0x564)]([[o[_0x3d4865(0x290)],{'useClass':exports[_0x3d4865(0x2c0)]}],[exports[_0x3d4865(0x277)]],[exports[_0x3d4865(0x4c1)]],[exports[_0x3d4865(0x52e)]],[Ne],[De],[$e],[ye],[ee],[exports[_0x3d4865(0x376)]],[Fe,{'useClass':this[_0x3d4865(0x21b)][_0x3d4865(0x546)]}],[E[_0x3d4865(0x428)],{'useClass':exports['SnapshotServerOverHTTPService']}],[o[_0x3d4865(0x2e7)],{'useClass':exports[_0x3d4865(0x3fe)]}],[z[_0x3d4865(0x27d)],{'useClass':exports['CollaborationImageIoService']}],[o[_0x3d4865(0x3c7)],{'useClass':exports[_0x3d4865(0x21a)]}],[exports[_0x3d4865(0x1eb)]],[xe]],(_0xea5c89=this[_0x3d4865(0x21b)])==null?void 0x0:_0xea5c89[_0x3d4865(0x2d3)]);if(!((_0xae8db2=this['_config'])!=null&&_0xae8db2[_0x3d4865(0x361)])){const _0x599e15=_0x369ab9['findIndex'](([_0x34a07f])=>_0x34a07f===ve);_0x599e15!==-0x1&&_0x369ab9['splice'](_0x599e15,0x1);}o[_0x3d4865(0x52a)](this[_0x3d4865(0x3f1)],_0x369ab9);}[_0x44d730(0x3f5)](){var _0x95e932=_0x44d730,_0xf2b781,_0x5d1c59,_0x8686f0;this[_0x95e932(0x3f1)]['get'](K[_0x95e932(0x2ad)])[_0x95e932(0x458)]({'priority':0x14,'interceptor':K[_0x95e932(0x4fd)]({'maxParallel':0x6})}),(_0xf2b781=this['_config'])!=null&&_0xf2b781[_0x95e932(0x48b)]||(_0x5d1c59=this['_injector'][_0x95e932(0x239)](q,o[_0x95e932(0x3c1)][_0x95e932(0x539)]))==null||_0x5d1c59[_0x95e932(0x2d5)](),(_0x8686f0=this[_0x95e932(0x21b)])!=null&&_0x8686f0['enableAuthServer']&&o[_0x95e932(0x34a)](this[_0x95e932(0x3f1)],[[Ne]]),o[_0x95e932(0x34a)](this[_0x95e932(0x3f1)],[[De],[exports[_0x95e932(0x1eb)]],[ye]]);}},Cn(exports['UniverCollaborationClientPlugin'],_0x44d730(0x256),On),exports[_0x44d730(0x502)]=Tn([o['DependentOn'](_t[_0x44d730(0x4f3)],E['UniverCollaborationPlugin'],K['UniverNetworkPlugin']),we(0x1,o['ILogService']),we(0x2,o[_0x44d730(0x433)](o['Injector'])),we(0x3,o[_0x44d730(0x47e)])],exports[_0x44d730(0x502)]),exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports[_0x44d730(0x398)]=je,exports[_0x44d730(0x360)]=J,exports[_0x44d730(0x41e)]=ee,exports[_0x44d730(0x300)]=$e,exports[_0x44d730(0x4a3)]=ht,exports[_0x44d730(0x209)]=Bt,exports[_0x44d730(0x413)]=Pt,exports[_0x44d730(0x3b8)]=lt,exports[_0x44d730(0x535)]=ke,exports[_0x44d730(0x3b7)]=Fe,exports['ILocalCacheService']=q,exports[_0x44d730(0x278)]=mt,exports[_0x44d730(0x483)]=ve,exports['LOCAL_CACHE_INTERVAL']=kt,exports['LOCAL_CACHE_INTERVAL_KEY']=xt,exports[_0x44d730(0x2ee)]=jt,exports[_0x44d730(0x409)]=vt,exports[_0x44d730(0x1f0)]=se,exports[_0x44d730(0x25d)]=He,exports[_0x44d730(0x325)]=gt,exports[_0x44d730(0x2a4)]=zt,exports[_0x44d730(0x1f9)]=Tt;
1
+ 'use strict';var _0x422fe2=_0x307d;(function(_0x3318cc,_0x5f149c){var _0x51e7ef=_0x307d,_0x47444d=_0x3318cc();while(!![]){try{var _0x2b266d=-parseInt(_0x51e7ef(0x213))/0x1+-parseInt(_0x51e7ef(0x4c3))/0x2*(-parseInt(_0x51e7ef(0x28c))/0x3)+parseInt(_0x51e7ef(0x28d))/0x4*(parseInt(_0x51e7ef(0x228))/0x5)+parseInt(_0x51e7ef(0x46b))/0x6*(-parseInt(_0x51e7ef(0x428))/0x7)+-parseInt(_0x51e7ef(0x3ef))/0x8*(-parseInt(_0x51e7ef(0x26b))/0x9)+parseInt(_0x51e7ef(0x1e2))/0xa+-parseInt(_0x51e7ef(0x416))/0xb*(parseInt(_0x51e7ef(0x3bb))/0xc);if(_0x2b266d===_0x5f149c)break;else _0x47444d['push'](_0x47444d['shift']());}catch(_0x137ee2){_0x47444d['push'](_0x47444d['shift']());}}}(_0x48a1,0x6f96c));var Dt=Object['defineProperty'],yt=(_0xd6997d,_0x1fdcad,_0x2eaba8)=>_0x1fdcad in _0xd6997d?Dt(_0xd6997d,_0x1fdcad,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2eaba8}):_0xd6997d[_0x1fdcad]=_0x2eaba8,A=(_0x2f4bb8,_0x220643,_0x428cf0)=>yt(_0x2f4bb8,typeof _0x220643!=_0x422fe2(0x4bb)?_0x220643+'':_0x220643,_0x428cf0);Object[_0x422fe2(0x4aa)](exports,Symbol[_0x422fe2(0x437)],{'value':_0x422fe2(0x4e3)});const E=require('@univerjs-pro/collaboration'),o=require('@univerjs/core'),_t=require('@univerjs/docs'),Q=require('@univerjs/sheets'),j=require('rxjs'),Ut=require('@univerjs/telemetry'),V=require('rxjs/operators'),K=require('@univerjs/network'),ht=require('@univerjs-pro/license'),z=require('@univerjs/drawing'),At=_0x422fe2(0x44e),Pt=_0x422fe2(0x4a2),Lt=0x7d0,lt=_0x422fe2(0x2e6),Mt=_0x422fe2(0x483),ut='HEARTBEAT_INTERVAL',wt=0x7530,ke=_0x422fe2(0x3b6),vt=0x4e20,xt=0x4e20,dt=_0x422fe2(0x3b9),kt=0x3,$t='LOCAL_CACHE_INTERVAL',Ht=0x3e8,jt=_0x422fe2(0x264),Bt=_0x422fe2(0x4c4),Ft=_0x422fe2(0x4e2),Vt=_0x422fe2(0x1ba);var St=(_0x4936c6=>(_0x4936c6[_0x4936c6[_0x422fe2(0x38d)]=0x0]='UNDEFINED',_0x4936c6[_0x4936c6['OK']=0x1]='OK',_0x4936c6[_0x4936c6[_0x422fe2(0x301)]=0x2]=_0x422fe2(0x301),_0x4936c6[_0x4936c6[_0x422fe2(0x48c)]=0x3]=_0x422fe2(0x48c),_0x4936c6[_0x4936c6[_0x422fe2(0x459)]=0x4]=_0x422fe2(0x459),_0x4936c6[_0x4936c6[_0x422fe2(0x21c)]=0x5]=_0x422fe2(0x21c),_0x4936c6[_0x4936c6[_0x422fe2(0x43d)]=0x6]='ALREADY_EXISTS',_0x4936c6[_0x4936c6[_0x422fe2(0x247)]=0x7]=_0x422fe2(0x247),_0x4936c6[_0x4936c6[_0x422fe2(0x49d)]=0x8]=_0x422fe2(0x49d),_0x4936c6[_0x4936c6[_0x422fe2(0x4db)]=0x9]=_0x422fe2(0x4db),_0x4936c6[_0x4936c6[_0x422fe2(0x305)]=0xa]='LOGIN_FAILED',_0x4936c6[_0x4936c6[_0x422fe2(0x3dd)]=0xb]=_0x422fe2(0x3dd),_0x4936c6[_0x4936c6[_0x422fe2(0x21e)]=0xc]=_0x422fe2(0x21e),_0x4936c6[_0x4936c6[_0x422fe2(0x238)]=0xd]=_0x422fe2(0x238),_0x4936c6[_0x4936c6[_0x422fe2(0x450)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4936c6[_0x4936c6[_0x422fe2(0x2fa)]=0xf]=_0x422fe2(0x2fa),_0x4936c6[_0x4936c6['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x422fe2(0x373),_0x4936c6[_0x4936c6['CURRENT_STATUS_CANNOT_OPERATE']=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x4936c6[_0x4936c6[_0x422fe2(0x350)]=0x65]=_0x422fe2(0x350),_0x4936c6[_0x4936c6[_0x422fe2(0x206)]=0xc9]='USER_NOT_FOUND',_0x4936c6[_0x4936c6[_0x422fe2(0x209)]=0xca]=_0x422fe2(0x209),_0x4936c6[_0x4936c6[_0x422fe2(0x395)]=0x1389]=_0x422fe2(0x395),_0x4936c6[_0x4936c6[_0x422fe2(0x3d2)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x4936c6[_0x4936c6[_0x422fe2(0x504)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4936c6[_0x4936c6['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x422fe2(0x516),_0x4936c6[_0x4936c6['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x4936c6[_0x4936c6[_0x422fe2(0x43a)]=0x1b5a]=_0x422fe2(0x43a),_0x4936c6[_0x4936c6[_0x422fe2(0x310)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x4936c6[_0x4936c6[_0x422fe2(0x216)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4936c6[_0x4936c6[_0x422fe2(0x3c6)]=0x1b5d]=_0x422fe2(0x3c6),_0x4936c6[_0x4936c6[_0x422fe2(0x4e7)]=0x1f41]=_0x422fe2(0x4e7),_0x4936c6[_0x4936c6[_0x422fe2(0x3a2)]=0x2329]=_0x422fe2(0x3a2),_0x4936c6[_0x4936c6[_0x422fe2(0x256)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4936c6[_0x4936c6[_0x422fe2(0x2bb)]=0x232b]=_0x422fe2(0x2bb),_0x4936c6[_0x4936c6[_0x422fe2(0x274)]=0x232c]=_0x422fe2(0x274),_0x4936c6[_0x4936c6[_0x422fe2(0x381)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x4936c6[_0x4936c6[_0x422fe2(0x327)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x4936c6[_0x4936c6[_0x422fe2(0x1bd)]=0x2712]=_0x422fe2(0x1bd),_0x4936c6[_0x4936c6[_0x422fe2(0x489)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4936c6[_0x4936c6[_0x422fe2(0x292)]=0x2714]=_0x422fe2(0x292),_0x4936c6[_0x4936c6[_0x422fe2(0x46a)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x4936c6[_0x4936c6[_0x422fe2(0x2b8)]=0x271b]=_0x422fe2(0x2b8),_0x4936c6[_0x4936c6[_0x422fe2(0x284)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x4936c6[_0x4936c6['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x4936c6[_0x4936c6[_0x422fe2(0x404)]=0x271e]=_0x422fe2(0x404),_0x4936c6[_0x4936c6[_0x422fe2(0x1e5)]=0x271f]=_0x422fe2(0x1e5),_0x4936c6[_0x4936c6[_0x422fe2(0x35b)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x4936c6[_0x4936c6['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x4936c6[_0x4936c6['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x422fe2(0x3b7),_0x4936c6[_0x4936c6[_0x422fe2(0x1f5)]=0x2ee2]=_0x422fe2(0x1f5),_0x4936c6[_0x4936c6[_0x422fe2(0x41f)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x4936c6[_0x4936c6[_0x422fe2(0x4ce)]=0x2ee4]=_0x422fe2(0x4ce),_0x4936c6[_0x4936c6['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x422fe2(0x456),_0x4936c6[_0x4936c6[_0x422fe2(0x41c)]=0x32c9]=_0x422fe2(0x41c),_0x4936c6[_0x4936c6[_0x422fe2(0x458)]=0x32ca]=_0x422fe2(0x458),_0x4936c6[_0x4936c6['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x422fe2(0x191),_0x4936c6[_0x4936c6[_0x422fe2(0x346)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x4936c6[_0x4936c6[_0x422fe2(0x3d9)]=0x36b2]=_0x422fe2(0x3d9),_0x4936c6[_0x4936c6['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x422fe2(0x4a6),_0x4936c6[_0x4936c6[_0x422fe2(0x2eb)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x4936c6[_0x4936c6['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x422fe2(0x384),_0x4936c6[_0x4936c6[_0x422fe2(0x300)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x4936c6[_0x4936c6[_0x422fe2(0x1af)]=0x36b7]=_0x422fe2(0x1af),_0x4936c6[_0x4936c6[_0x422fe2(0x46e)]=0x36b8]=_0x422fe2(0x46e),_0x4936c6[_0x4936c6[_0x422fe2(0x441)]=0x3715]=_0x422fe2(0x441),_0x4936c6[_0x4936c6[_0x422fe2(0x37a)]=0x3716]=_0x422fe2(0x37a),_0x4936c6[_0x4936c6[_0x422fe2(0x26f)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x4936c6[_0x4936c6[_0x422fe2(0x29c)]=0x37dd]=_0x422fe2(0x29c),_0x4936c6[_0x4936c6[_0x422fe2(0x202)]=0x3a99]=_0x422fe2(0x202),_0x4936c6[_0x4936c6[_0x422fe2(0x2ba)]=0x3a9a]=_0x422fe2(0x2ba),_0x4936c6[_0x4936c6[_0x422fe2(0x1fc)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x4936c6[_0x4936c6[_0x422fe2(0x348)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x4936c6[_0x4936c6[_0x422fe2(0x249)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x4936c6[_0x4936c6[_0x422fe2(0x440)]=0x3a9e]=_0x422fe2(0x440),_0x4936c6[_0x4936c6[_0x422fe2(0x4fc)]=0x3a9f]=_0x422fe2(0x4fc),_0x4936c6[_0x4936c6['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x422fe2(0x4ff),_0x4936c6[_0x4936c6[_0x422fe2(0x45a)]=-0x1]='UNRECOGNIZED',_0x4936c6))(St||{}),X=(_0x140199=>(_0x140199[_0x140199[_0x422fe2(0x3a7)]=0x0]='UNIVER_UNKNOWN',_0x140199[_0x140199['UNIVER_DOC']=0x1]=_0x422fe2(0x205),_0x140199[_0x140199[_0x422fe2(0x1c8)]=0x2]=_0x422fe2(0x1c8),_0x140199[_0x140199[_0x422fe2(0x194)]=0x3]=_0x422fe2(0x194),_0x140199[_0x140199[_0x422fe2(0x38b)]=0x4]=_0x422fe2(0x38b),_0x140199[_0x140199[_0x422fe2(0x45a)]=-0x1]=_0x422fe2(0x45a),_0x140199))(X||{}),W=(_0x93c8f=>(_0x93c8f[_0x93c8f['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x93c8f[_0x93c8f[_0x422fe2(0x4b5)]=0x1]=_0x422fe2(0x4b5),_0x93c8f[_0x93c8f[_0x422fe2(0x2d4)]=0x2]=_0x422fe2(0x2d4),_0x93c8f[_0x93c8f[_0x422fe2(0x388)]=0x3]=_0x422fe2(0x388),_0x93c8f[_0x93c8f['INGEST']=0x4]=_0x422fe2(0x231),_0x93c8f[_0x93c8f[_0x422fe2(0x3e0)]=0x5]=_0x422fe2(0x3e0),_0x93c8f[_0x93c8f[_0x422fe2(0x379)]=0x6]=_0x422fe2(0x379),_0x93c8f[_0x93c8f[_0x422fe2(0x45a)]=-0x1]='UNRECOGNIZED',_0x93c8f))(W||{}),re=(_0x19e9c3=>(_0x19e9c3[_0x19e9c3['UNKNOWN_CODE']=0x0]=_0x422fe2(0x20c),_0x19e9c3[_0x19e9c3['OK']=0x1]='OK',_0x19e9c3[_0x19e9c3[_0x422fe2(0x268)]=0x2]='FAIL',_0x19e9c3[_0x19e9c3[_0x422fe2(0x37b)]=0x3e9]='JOIN_ROOM_FULL',_0x19e9c3[_0x19e9c3['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x422fe2(0x293),_0x19e9c3[_0x19e9c3[_0x422fe2(0x2be)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x19e9c3[_0x19e9c3[_0x422fe2(0x313)]=0x3ec]=_0x422fe2(0x313),_0x19e9c3[_0x19e9c3['UNRECOGNIZED']=-0x1]=_0x422fe2(0x45a),_0x19e9c3))(re||{}),It=(_0x44281e=>(_0x44281e[_0x44281e[_0x422fe2(0x44f)]=0x0]=_0x422fe2(0x44f),_0x44281e[_0x44281e[_0x422fe2(0x3ad)]=0x1]=_0x422fe2(0x3ad),_0x44281e[_0x44281e['HttpExport']=0x2]=_0x422fe2(0x3eb),_0x44281e[_0x44281e[_0x422fe2(0x38f)]=0x3]=_0x422fe2(0x38f),_0x44281e[_0x44281e[_0x422fe2(0x4cb)]=0x4]='UnitSnapshot',_0x44281e[_0x44281e['UserProfileImg']=0x5]=_0x422fe2(0x2b4),_0x44281e[_0x44281e[_0x422fe2(0x50c)]=0x6]=_0x422fe2(0x50c),_0x44281e[_0x44281e[_0x422fe2(0x45a)]=-0x1]=_0x422fe2(0x45a),_0x44281e))(It||{});const Wt='collaboration_new_changeset';function Gt(_0x3fd3bb){var _0x120a23=_0x422fe2;return JSON[_0x120a23(0x4dc)](_0x3fd3bb)[_0x120a23(0x354)];}var J=(_0x23bc0b=>(_0x23bc0b[_0x422fe2(0x34b)]=_0x422fe2(0x34b),_0x23bc0b[_0x422fe2(0x48c)]=_0x422fe2(0x48c),_0x23bc0b[_0x422fe2(0x3f5)]=_0x422fe2(0x3f5),_0x23bc0b[_0x422fe2(0x2f3)]=_0x422fe2(0x2f3),_0x23bc0b[_0x422fe2(0x37e)]=_0x422fe2(0x37e),_0x23bc0b['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x23bc0b[_0x422fe2(0x446)]='SOCKET_FAILED',_0x23bc0b[_0x422fe2(0x1aa)]='SUBMIT_CHANGESET_TIMEOUT',_0x23bc0b))(J||{});class ee{constructor(){var _0x5b44c0=_0x422fe2;A(this,_0x5b44c0(0x431),new j[(_0x5b44c0(0x33d))]()),A(this,_0x5b44c0(0x344),this[_0x5b44c0(0x431)]['asObservable']());}['emitEvent'](_0xdedf50){var _0x1484c0=_0x422fe2;this['_event$'][_0x1484c0(0x20e)](_0xdedf50);}}function _0x48a1(){var _0x5c76e4=['onTransformRemoteChangesetByStateCache','REDEMPTION_USER_REDEEM_TIMES_EXCEED','ENTITLE_CHAT_LIMIT_EXCEED','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','encryptBlock','type','sequenceExecute','SOCKET_FAILED','exports','algo','MentionType','_onConnectionOpen','splice','&source=','pauseCollaboration','/universer-api/snapshot','Undefined','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','isInternalEditorID','DocCollaborationEntity','_doCryptBlock','Workbook','debug','INVITE_CODE_ALREADY_BOUND','MentionIoHttpService','MOBILE_HAS_BEEN_BOUND','NOT_FOUND','UNRECOGNIZED','setWaitCount','_retryConnectingTimer','UnitStatus','AwaitingWithPendingState','setShowComponents','onTransformRemoteChangesetByIMECache','readAsDataURL','Base64','LocaleService','/collaborator','execute','from','Tools','createInstance','_invKeySchedule','YUUMI_NO_CUBOID_FOR_QUESTION','1242GavLRp','SheetCollaborationEntity','RETRY_CONNECTING_MAX_COUNT_KEY','ENTITLE_USE_COUPON_NOT_1ST_TRADE','onTransformSelections','downloadEndpointUrl','AES','body','getInterceptPoints','joinRsp','compute','_initDependencies','uploadFileServerUrl','_rescheduleHeartbeat','onStateChange','_telemetryService','_onConnectionFailed','[SyncedState]:\x20received\x20acknowledgement.','_unlockTransition','SUBMIT_CHANGESET','CollaborationUIEventId','shareReplay','/block/','_hash','/universer-api/user/session-ticket','addImageSourceCache','encode','_sendingTimer','_changesetReqId','CollaborationImageIoService','YUUMI_RATE_OVER_LIMIT','lib','send','PERMISSION_DENIED','\x20in\x20_schedule.','CommandType','[CollaborationSessionService]:\x20socket\x20error','MSG_FOR_ERROR','NEW_CHANGESETS','getCollabEntity','/universer-api/snapshot/','_onRemoteACK','reduce','collaborators','CompressMutationService','COMMENT_UPDATE','_applyRemoteChangeset','_maxTotalRetryTimeout','encodeURIComponent','m2Prime','TOO_MANY_REQUESTS','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','onMutationExecutedForCollab','loadUnitOfRevision','href','SNAPSHOT_URL_KEY','_onRemoteRejected','univer-pro.collaboration-client.single-active-unit-service','_roomMembers','ENTITLE_DUP_SUBSCRIPTION','permissionRejEvent','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','LOCAL_CACHE_INTERVAL','defineProperty','extend','_sender','_replaceFileID','responseType','asObservable','Injector','appendMutation','loadDoc','HEARTBEAT_TIMEOUT_KEY','liveShareNewHost','HELLO','univer-pro.collaboration-client.network-condition.service','_undoRedoService','slice','createSocket','loadOfflineData','symbol','CollaborationStatus','_members$','entries','DEFAULT_COLLAB_WEB_SOCKET_URL','SheetTransformSelectionsService','OfflineState','Error\x20on\x20receiving\x20event','1309602vTcwbD','/universer-api/oidc/authpage','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','interceptor','getActiveSheet','onSendChangeset','fetchMiss','EmptyMutationInfo','UnitSnapshot','emitEvent','LocalUndoRedoService','USER_NOT_INVITED_CODE','_sendHeartbeatTimer','transformSelections','close','_candidateSocket','_config','onRemoteChangeset','target','PSEUDO_FETCH_MISSING_RESULT','refreshPermission','concat','_joinRoom','ISocketService','COMPLETION_FINISHED','stringify','session.room-permission-denied','originalMeta','image/bmp','_clearUndo','deserializeToCombResponse','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','Module','_socketReady','stopTime','editingUnit','CONNECTOR_DATA_TOO_LARGE','ONLINE','open$','_clearHeartbeatTimer','PendingState','_onRecvEvent','_clearLocalCache','actions','univer-pro.collaboration-client-socket-service','url','withCredentials','_registerDependencies','_iKey','keySize','signUrlServerUrl','_sessionStatus$','auth.needGotoLoginAlert','abs','_queuedRemoteChangesets','ceil','salt','REDEMPTION_CODE_HAS_BEEN_CREATED','_doReset','_append','DATA_SOURCE_TOO_LARGE','incrementRevOfUnit','_scheduleCompleteTimestamp','_getLoginPath','enableCollaboration','SNAPSHOT_HAS_BEEN_REMOVED','code','unitID','saveSheetBlock','getMemberID','floor','_redoStacks','getMember','ClipsheetFragments','routeKey','_timeoutTimer','executeCommand','getUnitId','_transformStack','IMentionIOService','removeMember','IUndoRedoService','MemberService','ENSURE_SNAPSHOT_EXECUTION','getFocusedUnit','mode','_onUserJoin','_eventService','getSnapshotAPIPath','_keySchedule','CollaborationEvent','_collaborationUIEventService','cmd','_remoteChangesetQueue','headers','_clearRetryConnectingTimer','/object/','dispose$','error','_data','_xformMode','eventID','EMAIL_HAS_BEEN_BOUND','update','_state$','UNIVER_SLIDE','getRandomValues','Encryptor','WordArray','_commentService','_clearRedo','JSONX','msCrypto','clone','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_configService','state','function','MergeInterceptorFactory','toDisposable','UniverInstanceType','_snapshotService','[FetchMissState]','unpad','CollaborationSession','version','CollaborationSocketService','SUBMIT_CHANGESET_TIMEOUT','NoPadding','collaboration-client.local-cache-service','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','fromCollab','ENTITLE_COUPON_USED_UP','_onConflict','_executeRemoteChangeset','localeService','[DataLoaderService]','parseChangesetToProtocol','_createHandler','Rectangle','not_collab','CommentService','session.room-cnt-exceeds','/universer-api/uniscript','_logService','ConflictState','YUUMI_URL_COL_OUT_OF_RANGE','_localCacheService','_prevBlock','_awaitingChangeset','AwaitingState','_transformIMECache','failed\x20to\x20apply\x20missed\x20changesets!','POST','_state','LIVESHARE_NEW_HOST','dispose','UNIVER_SHEET','_createInitialState','_createSocket','has','Utf8','rev','Optional','_collabSessionService','equals','isPermissionRej','copyFileMeta','sessionStatus','saveSnapshot','onRemoteRej','revision','_process','params','_retryCount','ciphertext','editing\x20status\x20changed\x20to','getDeserializedSheetBlock','readInt32LE','onSyncEditingCollabCursor','_HTTPService','hostname','unknown','870510teYPwZ','IConfigService','_shouldReportTelemetry','YUUMI_AI_RUN_FAILED','SheetPermissionInitController','decryptBlock','touchDependencies','changesets','randomBytes','createIdentifier','_resendTimeout','conflict','[OfflineState]:\x20received\x20rejection.','encrypt','then','readyForCollab','fetchThroughInterceptors','BlockCipher','enableOfflineEditing','INVALID_INVITE_CODE','_pendingMutations','batchAllowed','COMPRESS_MUTATION_SEND','ERROR_IMAGE','every','SyncedState','REDEMPTION_CODE_FULLY_REDEEMED','_collaborationPaused','[CollaborationEntity]','addHandlerCallback','socket$','getLocalCacheKey','REDEMPTION_INVALID_CODE','RxDisposable','_memberService','UNIVER_DOC','USER_NOT_FOUND','session.room-full','subject','USER_IS_ANONYMOUS','_updateLocalCache','_handlerCallback','UNKNOWN_CODE','_disableEditing','next','getUnitOnRev','_onCombEvent','create','status','309168PAjmtM','forEach','packageName','APPLY_PERMISSION_DENIED','listRoles','ThresholdInterceptorFactory','USERS_LEAVE','HTTPRequest','startTime','UNAUTHENTICATED','/unit/','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ISingleActiveUnitService','registerHTTPInterceptor','map','_clearTimeoutTimer','_singleActiveUnitService','_updateState','override','join','/resources','5iwBXio','hasOwnProperty','[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.','filter','OTHER_CLIENTS_EDITING','_handler','LIVESHARE_TERMINATE','_revisionService','onCommentUpdate','INGEST','DependentOn','_onMessage','\x0aAfter:\x20','enableSingleActiveInstanceLock','CollaborationUIEventService','PENDING','EMAIL_VERIFY_CODE_MISMATCH','Pkcs7','buffer','toggleOnline','_ENC_XFORM_MODE','closeSession','PERMISSION_REJ','_startTelemetryCollaborationNewChangeset','ICollaborationSocketService','_transformStateCache','[OfflineState]:\x20received\x20changeset.','startsWith','_getSignURL','entityInit$','_doCreateSocket','INVALID_ARGUMENT','disposeWithMe','REDEMPTION_USER_NOT_ELIGIBLE','_networkConditionService','?url=','UPDATE_PERMISSION_OBJ','_getDownloadEndpointURL','add','BehaviorSubject','cfg','_toggleOffline','_unitID','FETCH_MISSING','_reverseMap','_entities','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','init','x-univer-host','/role','getCurrentSelections','CollaborationEntity','sigBytes','close$','_onFetchMissResult','offline','snapshot','toggleOffline','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','NO_OTHER_CLIENTS_EDITING','/universer-api/comb','padding','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','socket\x20open.','FAIL','/universer-api/authz','_getUndoStack','36LPbzZU','/rev/','firstValueFrom','[CollaborationUndoRedoService]','ENTITLE_INSUFFICIENT_QUOTA','Decryptor','getOwnPropertyDescriptor','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','/universer-api/file/{fileID}/sign-url','LICENSE_EXPORT_SIZE_EXCEEDED','workbook','People','collabSubmitChangesetUrl','getWorkbookSelections','SHOULD_CLOSE_CONN','_listenToNetworkCondition','words','updateSnapshot','HMAC','getLatestCsReqIdBySid','InsertSheetMutation','_transformRemoteChangesetByStateCache','ITransformService','src','blockSize','YUUMI_TABLE_NOT_FOUND_IN_UNIT','mapDocumentTypeToUniverType','decrypt','onStarting','IUniverInstanceService','_resendTimer','onTransformIME','_nRounds','3roqhdQ','1714556cqcILw','name','hasher','unitId','_nDataBytes','YUUMI_SUBSCRIPTION_NOT_FOUND','JOIN_ROOM_NOT_EXISTS','_toggleOnline','_entityInit$','_checkMissing','_onLocalMutation','onTransformState','_init','HTTPService','duration','ENTITLE_NEED_BILLING_ADDRESS','_socketMessageSubscription','push','0.17.0','/fetchmissing?from=','resolve','sessionStatus$','post','complete','_replayCachedMutations','reject','updatePermissionPoint','set','_commentUpdate$','error$','ivSize','CipherParams','subUnitId','_clearScheduledTask','OPTIONAL','BASE64','[CollaborationSession]','sendChangesetTimeout','updateMember','UserProfileImg','commentUpdate$','_snapshotServerService','_doFinalize','YUUMI_ASYNCIO_CANCELLED','socket\x20close','REDEMPTION_CODE_INACTIVE','LICENSE_IMPORT_SIZE_EXCEEDED','_localeService','size','JOIN_ROOM_PERMISSION_DENIED','location','_throwTelemetryCollaborationNewChangeset','unit-cache-','IPermissionService','get','textEncoder','ERROR_EXCEED_SIZE','_initUnitPermissionChange','_hasher','getImage','UNISCRIPT_RUN','Quantity','_iv','ISnapshotServerService','/-/object/list','_telemetryInfo','string','_transformRemoteChangesetByIMECache','sheets','_transformSelections','_change$','JOIN','connection\x20error','onRemoteAck','objects','PERSON','byteLength','requireSession','onLocalMutation','Inject','resourceIDs','userID','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','SetSelectionsOperation','unsubscribe','file','_onOffline','UniverCollaborationClientPlugin','createCollaborator','ws://127.0.0.1:8000/universer-api/comb/connect','mutations','change$','_substituteUndoStack','__splitChunk__','PAYMENT_CHANNEL_NOT_SUPPORT','MD5','ILogService','state$','_createInitialStateImpl','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_removeRoom','[PendingState]:\x20unhandled\x20univer\x20type:\x20','CLOSE_ROOM','CHANGESET_SHOULD_RETRY','parse','_submitChangeset','sid','members$','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','AUTHORIZE_CODE_ILLEGAL','_initRequestHeader','SYNCED','_tryReconnect','_onRemoteChangeset','getValue','ENTITLE_COUPON_EXPIRED','INTERNAL_ERROR','Could\x20not\x20dynamically\x20require\x20\x22','getCurrentUser','_showConflictNotification','LOGIN_FAILED','socketService','resend','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_compressMutationService','saveChangeset','c1Prime','WorkbookEditablePermission','b64DecodeUnicode','_transitionLocked','serializeCombRequest','APPLY_REVISION_CONFILICT','SheetsSelectionsService','apply','GLOBAL_ROOMS_CNT_EXCEEDS','liveShareOperation','ERROR_IMAGE_TYPE','_getAPIPrefix','[OfflineState]:\x20received\x20acknowledgement.','enc','processBlock','_getCurrentRevision','getUnitType','prototype','fetchMissingChangesets','charCodeAt','FETCH_MISS','Hasher','SessionStatus','avatar','newCsEvent','ITelemetryService','isTransformMutationsWithChangesetFailure','_members','YUUMI_UNABLE_LOAD_URL','/new_changes','members','byteOffset','transformStack\x20failed!','unitId\x20is\x20not\x20found','DEFAULT_WS_SESSION_TICKET_URL','onMissingChangesets','csAckEvent','indexOf','COMPRESS_MUTATION_APPLY','key','awaiting','isTransformChangesetsSuccess','IDLE','infoRsp','PasswordBasedCipher','onlyLocal','_substituteRedoStack','delay','_type','_acknowledgedAwaitingChangeset','Subject','_syncEditingCollabCursor','setCurrentUser','__creator','FileId','submit\x20changeset\x20error!','_sessions','event$','takeUntil','ENTITLE_CAN_NOT_BUY_LOWER_OTP','objectType','REDEMPTION_CODE_NOT_STARTED','resolveWithBasePath','delete','OTHER_CLIENT_EDITING','CollaborationController','OFFLINE','_incrementRevisionNumber','reverse','ERROR_AGAIN','leaveEvent','_permissionService','LIVESHARE_FETCH_OPERATIONS','length','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','charAt','csShouldRetryEvent','joinEvent','SnapshotServerOverHTTPService','RichTextEditingMutation','YUUMI_CONNECTOR_URL_NOT_FOUND','NOT_COLLAB','reqId','awaitingChangeset','crypto','transformMutationsWithChangeset','clear','uuidv4','_socket','_collaborationSessionService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','authzUrl','c2Prime','includes','fromCharCode','_onJoinRoomEvent','_status$','reset','call','range','loginUrlKey','parseProtocolChangeset','requestParams','[UniverCollaborationClientPlugin]','LOGIN_TOKEN_PROCESSING_FAILED','data','UniverCollaborationPlugin','_createHelper','onRemoteRetry','memberID','RECV','ENTITLE_REPORT_LIMIT_EXCEED','JOIN_ROOM_FULL','default','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','JOIN_ROOM_FAILED','_socket$','clamp','LICENSE_DISTRO_REJECTED','_schedule','mixIn','ENTITLE_INVALID_COUPON_CODE','_sheetTransformSelectionsService','baseRev','_transformUndoredo','LEAVE','session','localCacheService','UNIVER_PROJECT','repeat','UNDEFINED','_fetchMissChangesets','UnitEmbedded','status$','Malformed\x20UTF-8\x20data','RevisionService','concatMap','now','CHANGESET_REVISION_CONFILICT','confirm','SnapshotService','getRoom','_emitMembers','fetching\x20missing\x20changesets\x20from\x20','_univerInstanceService','/object','Disposable','_parse','_scheduleCollaborationTimeoutTimer','FetchingMissState','_sendHeartbeat','LICENSE_MAX_UNITS_EXCEEDED','_createHmacHelper','formatter','kdf','_changesetSessionId','UNIVER_UNKNOWN','telemetry\x20info\x20is\x20not\x20initialized','online$','getImageSourceCache','max','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','HttpImport','_resendWithTimeout','_collaborationTimeoutTimer','getTime','_unitInfo$','\x20-\x20','USERS_ENTER','CollaborationSessionService','find','HEARTBEAT_TIMEOUT','INVITE_CODE_HAS_BEEN_UES','_getSendChangesetTimeout','RETRY_CONNECTING_MAX_COUNT','_roomCreated$','45468aUYJfk','transformChangesets','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','commentUpdateEvent','pipe','image/jpeg','[CollaborationSessionService]','createDecryptor','[PendingState]:\x20received\x20acknowledgement.','APPLY_DUPLICATED','isTransformMutationsWithChangesetSuccess','toString','__Key__','_updateStatus','/-/object/-/batch_allowed','initWorkbookPermissionChange','roles','selections','getTypeOfUnitDisposed$','_onRemoteRetry','CHANGESET_ACK','SNAPSHOT_INVALID_SNAPSHOT','transformUndoRedo','ImageUploadStatusType','_injector','_getCtorByUniverType','ImageSourceType','getUnit','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_decreaseWaiting','BufferedBlockAlgorithm','pending','MOBILE_VERIFY_CODE_MISMATCH','&assign=','SOCKET_FAILED_RETRY','HEARTBEAT','deleteCollaborator','_waitForHeartbeatResponse','_mode','enableAuthServer','_tryEnsureSocket','subscribe','finalize','Base','catch','synced','HttpExport','collaboratorID','_commandService','_instanceService','1458752wejYec','_oKey','/allowed','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','format','objectID','CONFLICT','min','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_userManagerService','_waitCount','getSheetId','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_map','UniverLicensePlugin','_socketService','_getAPIPrefixPath','[CollaborationState]:\x20apply\x20error!','getCurrentRevOfUnit','title','updateCursorEvent','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','CollaborativeUndoRedoService','CHANGESET_REJ','MUTATION','_key','_exhaustRemoteChangesetQueue','updateOfflineData','waitForRoom$','pad','UPDATE_CURSOR','_getUploadFileURL','replace','_transformService','HmacMD5','SHA1','deepClone','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_getRedoStack','1210HowvgD','onMissedChangesetFetched','_imageSourceCache','_isPermissionRej','registerDependencies','Failed\x20to\x20update\x20permission\x20point','WECHAT_HAS_BEEN_BOUND','__esModule','getTypeOfUnitAdded$','INVITE_CODE_REQUIRED','getAllMembers','_lockTransition','isArray','AuthzIoHttpService','_stopTelemetryCollaborationNewChangeset','random','_cipher','$super','24241qwTKTi','createEncryptor','ICommandService','iterations','DataLoaderService','patch','getUnitStatus$','fetch_missing','EvpKDF','_event$','capture','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','awaiting_with_pending','getConfig','merge','toStringTag','getCollabEntity$','take','APPLY_NON_SEQUENTIAL_REVISION','LIVESHARE_OPERATION','LIVESHARE_REQUEST_HOST','ALREADY_EXISTS','_httpService'];_0x48a1=function(){return _0x5c76e4;};return _0x48a1();}class $e{constructor(){var _0x41bb63=_0x422fe2;A(this,'_commentUpdate$',new j[(_0x41bb63(0x33d))]()),A(this,_0x41bb63(0x2b5),this[_0x41bb63(0x2a9)][_0x41bb63(0x4af)]());}[_0x422fe2(0x230)](_0x476ed0){var _0x4c2fd8=_0x422fe2;this['_commentUpdate$'][_0x4c2fd8(0x20e)](_0x476ed0);}}var Yt=Object[_0x422fe2(0x271)],Kt=(_0x20d0cb,_0x53161a,_0x3fef38,_0x57b481)=>{var _0x5a982a=_0x422fe2;for(var _0x4f103f=_0x57b481>0x1?void 0x0:_0x57b481?Yt(_0x53161a,_0x3fef38):_0x53161a,_0x4e3ac6=_0x20d0cb[_0x5a982a(0x354)]-0x1,_0x3fbb46;_0x4e3ac6>=0x0;_0x4e3ac6--)(_0x3fbb46=_0x20d0cb[_0x4e3ac6])&&(_0x4f103f=_0x3fbb46(_0x4f103f)||_0x4f103f);return _0x4f103f;},We=(_0x59c2d8,_0x42d339)=>(_0x56bf1e,_0x18be6d)=>_0x42d339(_0x56bf1e,_0x18be6d,_0x59c2d8);exports[_0x422fe2(0x515)]=class extends o[_0x422fe2(0x39d)]{constructor(_0x286e6e,_0x41dc26){var _0x539c08=_0x422fe2;super(),A(this,_0x539c08(0x4a5),new Map()),A(this,_0x539c08(0x3ba),new j[(_0x539c08(0x33d))]()),(this[_0x539c08(0x39b)]=_0x286e6e,this[_0x539c08(0x3f8)]=_0x41dc26,this[_0x539c08(0x248)](j[_0x539c08(0x436)](this[_0x539c08(0x39b)][_0x539c08(0x3cf)](o[_0x539c08(0x1a3)]['UNIVER_SHEET'])[_0x539c08(0x3c1)](V['map'](_0x4d8ae4=>_0x4d8ae4[_0x539c08(0x510)]())),this[_0x539c08(0x39b)][_0x539c08(0x3cf)](o[_0x539c08(0x1a3)][_0x539c08(0x205)])['pipe'](V[_0x539c08(0x221)](_0x24b1d0=>_0x24b1d0['getUnitId']())),this[_0x539c08(0x39b)][_0x539c08(0x3cf)](o[_0x539c08(0x1a3)]['UNIVER_SLIDE'])['pipe'](V[_0x539c08(0x221)](_0xad5316=>_0xad5316[_0x539c08(0x510)]())))[_0x539c08(0x3e6)](_0x48dd4a=>this[_0x539c08(0x2f1)](_0x48dd4a))));}[_0x422fe2(0x40b)](_0x1e59f8){var _0x4bf2a2=_0x422fe2;return this['_roomMembers'][_0x4bf2a2(0x1cb)](_0x1e59f8)?j['of'](this[_0x4bf2a2(0x4a5)][_0x4bf2a2(0x2c3)](_0x1e59f8)):this[_0x4bf2a2(0x3ba)]['pipe'](V[_0x4bf2a2(0x221)](_0x5392da=>{var _0x296301=_0x4bf2a2;if(_0x5392da===_0x1e59f8)return this[_0x296301(0x4a5)][_0x296301(0x2c3)](_0x5392da);}));}[_0x422fe2(0x33f)](_0x450465){var _0x23d908=_0x422fe2;this[_0x23d908(0x3f8)][_0x23d908(0x33f)](_0x450465);}[_0x422fe2(0x303)](){var _0x5365b9=_0x422fe2;return this[_0x5365b9(0x3f8)]['getCurrentUser']();}[_0x422fe2(0x2b3)](_0x229bff,_0x1ff962){var _0x22f38f=_0x422fe2;let _0x35ad0d=this[_0x22f38f(0x4a5)][_0x22f38f(0x2c3)](_0x229bff);_0x35ad0d||(_0x35ad0d=new qt(),this[_0x22f38f(0x4a5)][_0x22f38f(0x2a8)](_0x229bff,_0x35ad0d),this[_0x22f38f(0x3ba)]['next'](_0x229bff)),_0x35ad0d[_0x22f38f(0x2b3)](_0x1ff962);}[_0x422fe2(0x513)](_0x955409,_0x2facf4){var _0x51b521=_0x422fe2;const _0x449c21=this[_0x51b521(0x4a5)][_0x51b521(0x2c3)](_0x955409);_0x449c21&&_0x449c21[_0x51b521(0x513)](_0x2facf4);}[_0x422fe2(0x398)](_0x3499e9){var _0x316c2e=_0x422fe2;return this[_0x316c2e(0x4a5)]['get'](_0x3499e9);}['getMember'](_0x4750ed,_0x15d087){var _0x53af1d=_0x422fe2;const _0x114c91=this[_0x53af1d(0x4a5)][_0x53af1d(0x2c3)](_0x4750ed);if(_0x114c91)return _0x114c91[_0x53af1d(0x50b)](_0x15d087);}['_removeRoom'](_0x2906e2){var _0x76b083=_0x422fe2;const _0x21fa1c=this['_roomMembers'][_0x76b083(0x2c3)](_0x2906e2);_0x21fa1c&&(_0x21fa1c['dispose'](),this[_0x76b083(0x4a5)][_0x76b083(0x34a)](_0x2906e2));}[_0x422fe2(0x1c7)](){var _0xb9e78d=_0x422fe2;this['_roomMembers']['forEach'](_0x29f8aa=>_0x29f8aa[_0xb9e78d(0x1c7)]()),this[_0xb9e78d(0x4a5)][_0xb9e78d(0x361)](),this[_0xb9e78d(0x3ba)][_0xb9e78d(0x2a4)]();}},exports[_0x422fe2(0x515)]=Kt([We(0x0,o[_0x422fe2(0x288)]),We(0x1,o[_0x422fe2(0x2dc)](o['UserManagerService']))],exports[_0x422fe2(0x515)]);class qt extends o[_0x422fe2(0x39d)]{constructor(){var _0x313a6c=_0x422fe2;super(...arguments),A(this,_0x313a6c(0x326),new Map()),A(this,_0x313a6c(0x4bd),new j['BehaviorSubject'](this[_0x313a6c(0x326)])),A(this,_0x313a6c(0x2f8),this[_0x313a6c(0x4bd)][_0x313a6c(0x4af)]());}[_0x422fe2(0x1c7)](){var _0x454f9a=_0x422fe2;this[_0x454f9a(0x326)]['clear']();}[_0x422fe2(0x2b3)](_0x1fa2dd){var _0x500a1f=_0x422fe2;this['_members']['set'](_0x1fa2dd[_0x500a1f(0x378)],_0x1fa2dd),this[_0x500a1f(0x399)]();}[_0x422fe2(0x513)](_0x116186){var _0x1ce301=_0x422fe2;this[_0x1ce301(0x326)][_0x1ce301(0x34a)](_0x116186);}['getMember'](_0x2d53a5){var _0x2a5b13=_0x422fe2;return this[_0x2a5b13(0x326)]['get'](_0x2d53a5);}[_0x422fe2(0x420)](){var _0x16f2c7=_0x422fe2;return Array[_0x16f2c7(0x466)](this[_0x16f2c7(0x326)]['values']());}['_emitMembers'](){var _0x5de064=_0x422fe2;this[_0x5de064(0x4bd)]['next'](this['_members']);}}var zt=Object[_0x422fe2(0x271)],Xt=(_0xba5f23,_0x37d1c9,_0xefbb26,_0x4f4090)=>{var _0x5809f2=_0x422fe2;for(var _0x1d6a5c=_0x4f4090>0x1?void 0x0:_0x4f4090?zt(_0x37d1c9,_0xefbb26):_0x37d1c9,_0x27db19=_0xba5f23[_0x5809f2(0x354)]-0x1,_0x1f6304;_0x27db19>=0x0;_0x27db19--)(_0x1f6304=_0xba5f23[_0x27db19])&&(_0x1d6a5c=_0x1f6304(_0x1d6a5c)||_0x1d6a5c);return _0x1d6a5c;},ce=(_0x7ca716,_0x50de71)=>(_0x5dd023,_0x57319e)=>_0x50de71(_0x5dd023,_0x57319e,_0x7ca716),se=(_0x249b77=>(_0x249b77[_0x249b77[_0x422fe2(0x335)]=0x0]=_0x422fe2(0x335),_0x249b77[_0x249b77['JOINING']=0x1]='JOINING',_0x249b77[_0x249b77['OFFLINE']=0x2]='OFFLINE',_0x249b77[_0x249b77[_0x422fe2(0x4e8)]=0x3]=_0x422fe2(0x4e8),_0x249b77))(se||{});const Ge={[re['FAIL']]:'session.join-failed',[re['JOIN_ROOM_FULL']]:_0x422fe2(0x207),[re['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[re['JOIN_ROOM_PERMISSION_DENIED']]:_0x422fe2(0x4dd),[re['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x422fe2(0x1b9)};exports['CollaborationSession']=class extends o[_0x422fe2(0x203)]{constructor(_0x4c0a10,_0x4a832c,_0x44e8ea,_0x3d15a3,_0x553bce,_0x5a4a1c,_0x4fb8f0,_0x15878e){var _0x515970=_0x422fe2;super(),A(this,_0x515970(0x4f6),new j[(_0x515970(0x24f))](0x0)),A(this,_0x515970(0x2a2),this['_sessionStatus$']['asObservable']()),A(this,_0x515970(0x431),new j[(_0x515970(0x33d))]()),A(this,_0x515970(0x344),this['_event$'][_0x515970(0x4af)]()),A(this,'_socket'),A(this,_0x515970(0x29d)),A(this,_0x515970(0x3af)),A(this,_0x515970(0x1e4),!0x1),A(this,_0x515970(0x2ce),null),(this[_0x515970(0x252)]=_0x4c0a10,this[_0x515970(0x1bb)]=_0x44e8ea,this[_0x515970(0x19e)]=_0x3d15a3,this[_0x515970(0x204)]=_0x553bce,this[_0x515970(0x198)]=_0x5a4a1c,this[_0x515970(0x186)]=_0x4fb8f0,this['_telemetryService']=_0x15878e,this['_shouldReportTelemetry']=!!this[_0x515970(0x47a)],_0x4a832c['pipe'](j[_0x515970(0x345)](this[_0x515970(0x18c)]))[_0x515970(0x3e6)](_0x34a549=>{var _0x22be1a=_0x515970,_0x2b2618;typeof _0x34a549>'u'||(this[_0x22be1a(0x363)]=_0x34a549,_0x34a549?(this[_0x22be1a(0x4d9)](_0x34a549),this[_0x22be1a(0x29d)]=_0x34a549['message$'][_0x22be1a(0x3e6)](_0x9e8f1a=>{var _0x3d2010=_0x22be1a;_0x9e8f1a[_0x3d2010(0x50d)]===this[_0x3d2010(0x252)]&&this['_onCombEvent'](_0x9e8f1a);})):(this[_0x22be1a(0x2c0)](),this[_0x22be1a(0x4f6)][_0x22be1a(0x20e)](0x2),(_0x2b2618=this['_socketMessageSubscription'])==null||_0x2b2618[_0x22be1a(0x2e1)](),this[_0x22be1a(0x29d)]=null));}));}get[_0x422fe2(0x1d3)](){var _0x4c1179=_0x422fe2;return this[_0x4c1179(0x4f6)]['getValue']();}[_0x422fe2(0x508)](){var _0x5d9edc=_0x422fe2,_0x3ac1f2,_0x79eef1;return(_0x79eef1=(_0x3ac1f2=this['_socket'])==null?void 0x0:_0x3ac1f2[_0x5d9edc(0x378)])!=null?_0x79eef1:null;}[_0x422fe2(0x1c7)](){var _0x2828d7=_0x422fe2;super[_0x2828d7(0x1c7)](),this[_0x2828d7(0x4d1)](),this[_0x2828d7(0x18c)][_0x2828d7(0x20e)](),this[_0x2828d7(0x18c)][_0x2828d7(0x2a4)]();}[_0x422fe2(0x4d1)](){var _0x4739f1=_0x422fe2,_0x56522c,_0x1fbede;this[_0x4739f1(0x2c0)](),(_0x56522c=this[_0x4739f1(0x363)])==null||_0x56522c[_0x4739f1(0x48b)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x4739f1(0x252)]}}),(_0x1fbede=this[_0x4739f1(0x363)])==null||_0x1fbede[_0x4739f1(0x4d1)](),this[_0x4739f1(0x431)][_0x4739f1(0x2a4)](),this['_sessionStatus$'][_0x4739f1(0x2a4)]();}[_0x422fe2(0x210)](_0x4f35ac){var _0xa799ba=_0x422fe2;_0x4f35ac[_0xa799ba(0x187)]===W[_0xa799ba(0x2d4)]?this['_onJoinRoomEvent'](_0x4f35ac):_0x4f35ac['cmd']===W[_0xa799ba(0x379)]&&this[_0xa799ba(0x4ec)](_0x4f35ac);}[_0x422fe2(0x4d9)](_0xef3f7c){var _0xbe0528=_0x422fe2;this[_0xbe0528(0x4f6)][_0xbe0528(0x20e)](0x1),_0xef3f7c[_0xbe0528(0x48b)]({'cmd':W['JOIN'],'routeKey':this[_0xbe0528(0x252)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x422fe2(0x36a)](_0x58758c){var _0x2108f9=_0x422fe2,_0x7659f;if(_0x58758c[_0x2108f9(0x505)]in Ge){this[_0x2108f9(0x186)]['emitEvent']({'id':J[_0x2108f9(0x37e)],'data':Ge[_0x58758c['code']]}),this[_0x2108f9(0x4f6)]['next'](0x2);return;}this[_0x2108f9(0x4f6)][_0x2108f9(0x20e)](0x3);const _0x54bbc0=(_0x7659f=_0x58758c['data']['roomInfos'][this[_0x2108f9(0x252)]])==null?void 0x0:_0x7659f[_0x2108f9(0x329)];_0x54bbc0&&_0x54bbc0[_0x2108f9(0x214)](_0x2557b4=>this[_0x2108f9(0x204)][_0x2108f9(0x2b3)](this[_0x2108f9(0x252)],_0x2557b4));}[_0x422fe2(0x4ec)](_0x12da6f){var _0x435f43=_0x422fe2;try{const _0x46002c=_0x12da6f[_0x435f43(0x374)];switch(_0x46002c['eventID']){case E[_0x435f43(0x185)][_0x435f43(0x3b3)]:this[_0x435f43(0x519)](_0x46002c),this['_event$'][_0x435f43(0x20e)](_0x46002c);break;case E[_0x435f43(0x185)][_0x435f43(0x219)]:this['_onUserLeave'](_0x46002c),this[_0x435f43(0x431)][_0x435f43(0x20e)](_0x46002c);break;case E[_0x435f43(0x185)][_0x435f43(0x3d1)]:case E['CollaborationEvent'][_0x435f43(0x2f4)]:this[_0x435f43(0x424)](),this['_clearCollaborationTimeoutTimer'](),this[_0x435f43(0x431)][_0x435f43(0x20e)](_0x46002c);break;case E[_0x435f43(0x185)][_0x435f43(0x490)]:this['_logService'][_0x435f43(0x18d)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x435f43(0x4dc)](_0x46002c)),this[_0x435f43(0x431)][_0x435f43(0x20e)](_0x46002c);break;case E['CollaborationEvent'][_0x435f43(0x498)]:this[_0x435f43(0x198)][_0x435f43(0x230)](_0x46002c['data']),this[_0x435f43(0x431)]['next'](_0x46002c);break;default:this[_0x435f43(0x431)]['next'](_0x46002c);}}catch(_0x5511e1){this[_0x435f43(0x1bb)][_0x435f43(0x18d)](_0x5511e1,_0x12da6f);}}[_0x422fe2(0x519)](_0x128023){var _0x4020d3=_0x422fe2;this['_memberService'][_0x4020d3(0x2b3)](this[_0x4020d3(0x252)],_0x128023[_0x4020d3(0x374)]);}['_onUserLeave'](_0x58fe10){var _0x4d8c1a=_0x422fe2;this['_memberService'][_0x4d8c1a(0x513)](this[_0x4d8c1a(0x252)],_0x58fe10[_0x4d8c1a(0x374)][_0x4d8c1a(0x378)]);}async['send'](_0x599864,_0x5ba818){var _0x113784=_0x422fe2;if(this[_0x113784(0x1d3)]!==0x3||!this[_0x113784(0x363)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x599864[_0x113784(0x190)]===E[_0x113784(0x185)]['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x599864)),this[_0x113784(0x363)][_0x113784(0x48b)]({'cmd':W[_0x113784(0x231)],'routeKey':_0x5ba818,'routeType':'','data':_0x599864});}catch(_0x50a7a2){this['_logService'][_0x113784(0x18d)](_0x50a7a2);}}[_0x422fe2(0x39f)](){var _0x25b6fc=_0x422fe2,_0x1d77e8;this[_0x25b6fc(0x3af)]=setTimeout(()=>{var _0x362a82=_0x25b6fc;this['_collaborationTimeoutTimer']=null,this[_0x362a82(0x186)][_0x362a82(0x4cc)]({'id':J[_0x362a82(0x1aa)]});},(_0x1d77e8=this['_configService'][_0x25b6fc(0x435)](ke))!=null?_0x1d77e8:vt);}['_clearCollaborationTimeoutTimer'](){var _0x55a681=_0x422fe2;this[_0x55a681(0x3af)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x55a681(0x3af)]=null);}[_0x422fe2(0x23f)](_0x3d75ec){var _0x3fdfa2=_0x422fe2;if(!this[_0x3fdfa2(0x1e4)])return;const {data:_0x1e9fdb}=_0x3d75ec,{unitID:_0x57349d,changeset:_0xc92a01}=_0x1e9fdb,{mutations:_0x424c06,type:_0x245303}=_0xc92a01;this[_0x3fdfa2(0x2ce)]={'unitId':_0x57349d,'type':_0x245303,'startTime':performance[_0x3fdfa2(0x394)](),'stopTime':0x0,'duration':0x0,'size':Gt(_0x424c06)};}['_stopTelemetryCollaborationNewChangeset'](){var _0xebb82a=_0x422fe2;if(this['_shouldReportTelemetry']){if(!this[_0xebb82a(0x2ce)]){this[_0xebb82a(0x1bb)]['error'](_0xebb82a(0x2b1),_0xebb82a(0x3a8));return;}this[_0xebb82a(0x2ce)][_0xebb82a(0x4e5)]=performance[_0xebb82a(0x394)](),this[_0xebb82a(0x2ce)][_0xebb82a(0x29b)]=this[_0xebb82a(0x2ce)][_0xebb82a(0x4e5)]-this[_0xebb82a(0x2ce)][_0xebb82a(0x21b)],this[_0xebb82a(0x47a)][_0xebb82a(0x432)](Wt,this[_0xebb82a(0x2ce)]),this[_0xebb82a(0x2ce)]=null;}}[_0x422fe2(0x2c0)](){var _0xc508e8=_0x422fe2;this[_0xc508e8(0x2ce)]=null;}},exports[_0x422fe2(0x1a7)]=Xt([ce(0x2,o['ILogService']),ce(0x3,o['IConfigService']),ce(0x4,o[_0x422fe2(0x2dc)](exports[_0x422fe2(0x515)])),ce(0x5,o[_0x422fe2(0x2dc)]($e)),ce(0x6,o[_0x422fe2(0x2dc)](ee)),ce(0x7,o[_0x422fe2(0x1ce)](Ut[_0x422fe2(0x324)]))],exports[_0x422fe2(0x1a7)]);const q=o[_0x422fe2(0x1eb)](_0x422fe2(0x1ac));function Jt(_0x54cf1a){var _0x3ce951=_0x422fe2;return _0x3ce951(0x2c1)+_0x54cf1a;}var Zt=Object[_0x422fe2(0x271)],Qt=(_0x49a2c3,_0x58022e,_0xda5d96,_0x5999a9)=>{for(var _0x151a4d=_0x5999a9>0x1?void 0x0:_0x5999a9?Zt(_0x58022e,_0xda5d96):_0x58022e,_0x1ecbe1=_0x49a2c3['length']-0x1,_0x139ef5;_0x1ecbe1>=0x0;_0x1ecbe1--)(_0x139ef5=_0x49a2c3[_0x1ecbe1])&&(_0x151a4d=_0x139ef5(_0x151a4d)||_0x151a4d);return _0x151a4d;},Ue=(_0x348a8e,_0x517775)=>(_0xe3d82,_0x450e8c)=>_0x517775(_0xe3d82,_0x450e8c,_0x348a8e);function ei(_0x51f38d){var _0x4b8923=_0x422fe2;const {unitID:_0x699c32,mutations:_0x1e2121}=_0x51f38d;return{'unitId':_0x699c32,'subUnitId':_0x1e2121[_0x4b8923(0x354)]>0x0?_0x1e2121[0x0][_0x4b8923(0x1d8)][_0x4b8923(0x2ad)]:null};}exports['SheetTransformSelectionsService']=class{constructor(_0x5e6dde,_0x378f76,_0x135feb){var _0x1ece23=_0x422fe2;this[_0x1ece23(0x3d5)]=_0x5e6dde,this[_0x1ece23(0x410)]=_0x378f76,this[_0x1ece23(0x3ee)]=_0x135feb;}['transformSelections'](_0x5c75cf){var _0x341af0=_0x422fe2,_0x189538,_0x2bef49,_0x2a9ea5,_0x446ee8;const _0x29b1d3=this['_injector'][_0x341af0(0x2c3)](Q[_0x341af0(0x311)]),{unitId:_0x1407f2,subUnitId:_0x53c3fa}=ei(_0x5c75cf),_0x125377=_0x29b1d3==null?void 0x0:_0x29b1d3[_0x341af0(0x278)](_0x1407f2)[_0x341af0(0x25a)](),_0x240797=(_0x2bef49=(_0x189538=this[_0x341af0(0x3ee)][_0x341af0(0x3d8)](_0x1407f2))==null?void 0x0:_0x189538[_0x341af0(0x4c7)]())==null?void 0x0:_0x2bef49[_0x341af0(0x3fa)]();if(_0x125377[_0x341af0(0x354)]===0x0||!_0x1407f2||!_0x53c3fa)return;const _0x1266aa=[{'id':Q[_0x341af0(0x2e0)]['id'],'params':{'unitId':_0x1407f2,'subUnitId':_0x240797,'selections':o[_0x341af0(0x467)][_0x341af0(0x413)](_0x125377)}}],_0x546f15=this[_0x341af0(0x410)][_0x341af0(0x360)](_0x5c75cf,_0x1266aa);if(!E[_0x341af0(0x3c7)](_0x546f15))throw _0x546f15[_0x341af0(0x18d)];const _0x46e289=(_0x446ee8=(_0x2a9ea5=_0x546f15['m2Prime'][0x0])==null?void 0x0:_0x2a9ea5[_0x341af0(0x1d8)])==null?void 0x0:_0x446ee8[_0x341af0(0x3ce)];if(Array[_0x341af0(0x422)](_0x46e289)&&_0x46e289['length']){if(_0x46e289[_0x341af0(0x354)]===_0x1266aa[0x0][_0x341af0(0x1d8)][_0x341af0(0x3ce)][_0x341af0(0x354)]&&_0x46e289[_0x341af0(0x1fa)]((_0x111b21,_0xb3e4ee)=>o[_0x341af0(0x1b6)][_0x341af0(0x1d0)](_0x111b21[_0x341af0(0x36e)],_0x1266aa[0x0][_0x341af0(0x1d8)][_0x341af0(0x3ce)][_0xb3e4ee][_0x341af0(0x36e)])))return;this[_0x341af0(0x3d5)][_0x341af0(0x2c3)](o[_0x341af0(0x42a)])[_0x341af0(0x50f)](Q[_0x341af0(0x2e0)]['id'],{'unitId':_0x1407f2,'subUnitId':_0x240797,'selections':_0x46e289});}}},exports['SheetTransformSelectionsService']=Qt([Ue(0x0,o[_0x422fe2(0x2dc)](o[_0x422fe2(0x4b0)])),Ue(0x1,E['ITransformService']),Ue(0x2,o['IUniverInstanceService'])],exports[_0x422fe2(0x4c0)]);const ve=o[_0x422fe2(0x1eb)](_0x422fe2(0x4a4));var He=(_0x357138=>(_0x357138[_0x357138[_0x422fe2(0x263)]=0x0]=_0x422fe2(0x263),_0x357138[_0x357138['OTHER_CLIENTS_EDITING']=0x1]=_0x422fe2(0x22c),_0x357138))(He||{});const Y='collaboration-client.config',ti={};function _0x307d(_0x3b6103,_0x161845){_0x3b6103=_0x3b6103-0x182;var _0x48a13e=_0x48a1();var _0x307da3=_0x48a13e[_0x3b6103];return _0x307da3;}function ii(_0x2e650e){var _0x1d1d2f=_0x422fe2,_0x2911d4;return!!((_0x2911d4=_0x2e650e[_0x1d1d2f(0x1d8)])!=null&&_0x2911d4[_0x1d1d2f(0x2ea)]);}const ni=new Set([Q[_0x422fe2(0x27f)]['id']]);function Ye(_0x50724d,_0x317ee4,_0x9e30,_0x160a2a,_0x414585){var _0x48f893=_0x422fe2,_0x467575,_0x163b8f,_0x5be927,_0x4dcb63;const _0x359f52=[];for(const _0x3f3e14 of _0x50724d){if(ni['has'](_0x3f3e14['id'])){if(_0x359f52[_0x48f893(0x354)]>0x0)break;_0x359f52[_0x48f893(0x29e)](_0x3f3e14);break;}if(ii(_0x3f3e14)){if(_0x359f52[_0x48f893(0x354)]>0x0)break;_0x359f52[_0x48f893(0x29e)](_0x3f3e14);break;}_0x359f52[_0x48f893(0x29e)](_0x3f3e14);}const _0x16dbb0=(_0x163b8f=(_0x467575=_0x414585[_0x48f893(0x303)]())==null?void 0x0:_0x467575['userID'])!=null?_0x163b8f:'unknown',_0x5b776e=(_0x4dcb63=(_0x5be927=_0x414585[_0x48f893(0x303)]())==null?void 0x0:_0x5be927[_0x48f893(0x378)])!=null?_0x4dcb63:_0x48f893(0x1e1);return{'changeset':{'unitID':_0x317ee4,'type':E[_0x48f893(0x285)](_0x9e30[_0x48f893(0x31b)](_0x317ee4)),'baseRev':_0x160a2a[_0x48f893(0x401)](_0x317ee4),'revision':0x0,'userID':_0x16dbb0,'memberID':_0x5b776e,'mutations':_0x359f52},'pendingMutations':_0x50724d[_0x48f893(0x4b8)](_0x359f52[_0x48f893(0x354)])};}function si(_0x52c2f6,_0x5129e3,_0x56ad41,_0x5ee212,_0x518dcf){var _0x17d0bc=_0x422fe2,_0x194dfe,_0x18ee3d,_0x50aef1,_0x496055;const _0x1f29ae=[_0x52c2f6[_0x17d0bc(0x495)]((_0x59f3a7,_0x3c10ec)=>{var _0x30ee23=_0x17d0bc,_0x3692e7;const {id:_0x3146ac}=_0x59f3a7,{id:_0x1f4ffa,type:_0x456fdc}=_0x3c10ec,_0x4eebdd=(_0x3692e7=_0x59f3a7[_0x30ee23(0x1d8)])!=null?_0x3692e7:{'actions':null},_0x548e5a=_0x3c10ec[_0x30ee23(0x1d8)];if(_0x3146ac&&_0x3146ac!==_0x1f4ffa)throw new Error(_0x30ee23(0x1ad)+_0x3146ac+_0x30ee23(0x3b2)+_0x1f4ffa+'.');return{..._0x59f3a7,'id':_0x1f4ffa,'type':_0x456fdc,'params':{'unitId':_0x548e5a[_0x30ee23(0x290)],'textRanges':_0x548e5a['textRanges'],'actions':o[_0x30ee23(0x19a)]['compose'](_0x4eebdd[_0x30ee23(0x4ee)],_0x548e5a[_0x30ee23(0x4ee)])}};},{})],_0x2d12bf=(_0x18ee3d=(_0x194dfe=_0x518dcf['getCurrentUser']())==null?void 0x0:_0x194dfe[_0x17d0bc(0x2de)])!=null?_0x18ee3d:_0x17d0bc(0x1e1),_0x1d549a=(_0x496055=(_0x50aef1=_0x518dcf['getCurrentUser']())==null?void 0x0:_0x50aef1[_0x17d0bc(0x378)])!=null?_0x496055:'unknown';return{'changeset':{'unitID':_0x5129e3,'type':E[_0x17d0bc(0x285)](_0x56ad41[_0x17d0bc(0x31b)](_0x5129e3)),'baseRev':_0x5ee212['getCurrentRevOfUnit'](_0x5129e3),'revision':0x0,'userID':_0x2d12bf,'memberID':_0x1d549a,'mutations':_0x1f29ae},'pendingMutations':[]};}function ft(_0x279aee,_0x499489){var _0x417f69=_0x422fe2;const _0x4cd0c1=new j['ReplaySubject'](0x1);return setTimeout(()=>_0x4cd0c1[_0x417f69(0x20e)](_0x499489),_0x279aee),_0x4cd0c1[_0x417f69(0x4af)]()['pipe'](j['take'](0x1));}var ri=Object[_0x422fe2(0x271)],ae=(_0x1d7575,_0x375999,_0x442355,_0x3b8cc5)=>{var _0xb4b8d8=_0x422fe2;for(var _0x4402d4=_0x3b8cc5>0x1?void 0x0:_0x3b8cc5?ri(_0x375999,_0x442355):_0x375999,_0xc6f140=_0x1d7575[_0xb4b8d8(0x354)]-0x1,_0x1a0945;_0xc6f140>=0x0;_0xc6f140--)(_0x1a0945=_0x1d7575[_0xc6f140])&&(_0x4402d4=_0x1a0945(_0x4402d4)||_0x4402d4);return _0x4402d4;},L=(_0x1418bd,_0x2663de)=>(_0x3e9e13,_0x978dc0)=>_0x2663de(_0x3e9e13,_0x978dc0,_0x1418bd),je=(_0x498a2d=>(_0x498a2d[_0x422fe2(0x35c)]=_0x422fe2(0x1b7),_0x498a2d[_0x422fe2(0x2fc)]=_0x422fe2(0x3ea),_0x498a2d[_0x422fe2(0x237)]=_0x422fe2(0x3dc),_0x498a2d['AWAITING']=_0x422fe2(0x333),_0x498a2d['AWAITING_WITH_PENDING']=_0x422fe2(0x434),_0x498a2d[_0x422fe2(0x31f)]=_0x422fe2(0x42f),_0x498a2d['CONFLICT']=_0x422fe2(0x1ed),_0x498a2d[_0x422fe2(0x34d)]=_0x422fe2(0x25f),_0x498a2d))(je||{});const Et=0x4e20,pt=0x2bf20;class oe{constructor(_0x2e0bd9,_0x5a61c9,_0x19c0cf,_0x3216b6,_0x42737d,_0x551eab,_0x9a2cce,_0xdce9f4,_0x354962){var _0x575e1f=_0x422fe2;A(this,_0x575e1f(0x1c0),null),A(this,_0x575e1f(0x1f6),[]),(this['unitID']=_0x2e0bd9,this[_0x575e1f(0x444)]=_0x5a61c9,this[_0x575e1f(0x22d)]=_0x42737d,this[_0x575e1f(0x3ed)]=_0x551eab,this[_0x575e1f(0x4b7)]=_0x9a2cce,this[_0x575e1f(0x22f)]=_0xdce9f4,this[_0x575e1f(0x1be)]=_0x354962,this[_0x575e1f(0x1c0)]=_0x19c0cf,this[_0x575e1f(0x1f6)]=_0x3216b6);}[_0x422fe2(0x296)](_0x3ea135){var _0x478c25=_0x422fe2;const _0xd2bca6=this[_0x478c25(0x22f)][_0x478c25(0x401)](this[_0x478c25(0x506)]);return _0x3ea135['revision']>_0xd2bca6+0x1?(this[_0x478c25(0x22d)]['onMissingChangesets']({'from':_0xd2bca6,'to':_0x3ea135[_0x478c25(0x1d6)]-0x1}),!0x0):!0x1;}[_0x422fe2(0x387)](_0x139fbb){var _0x40916f=_0x422fe2;this[_0x40916f(0x4b7)][_0x40916f(0x3d3)](this['unitID'],_0x139fbb);}[_0x422fe2(0x2d2)](_0x40c0f4){var _0x348a76=_0x422fe2,_0xf310,_0x1983c1;(_0x1983c1=(_0xf310=this[_0x348a76(0x22d)])['onTransformSelections'])==null||_0x1983c1[_0x348a76(0x36d)](_0xf310,_0x40c0f4);}[_0x422fe2(0x1c2)](_0x1f847b){var _0x1a338c=_0x422fe2,_0x2bcbe8,_0x1a2e5d;return(_0x1a2e5d=(_0x2bcbe8=this[_0x1a338c(0x22d)])[_0x1a338c(0x28a)])==null?void 0x0:_0x1a2e5d['call'](_0x2bcbe8,_0x1f847b);}[_0x422fe2(0x241)](_0x311de7){var _0x8089d7=_0x422fe2,_0x6b62d6,_0x46500f;return(_0x46500f=(_0x6b62d6=this[_0x8089d7(0x22d)])[_0x8089d7(0x298)])==null?void 0x0:_0x46500f[_0x8089d7(0x36d)](_0x6b62d6,_0x311de7);}[_0x422fe2(0x2d0)](_0x4939a6){var _0x3b88da=_0x422fe2,_0x23b6c2,_0x7e8671,_0x5c1179;return(_0x5c1179=(_0x7e8671=(_0x23b6c2=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x7e8671[_0x3b88da(0x36d)](_0x23b6c2,_0x4939a6))!=null?_0x5c1179:_0x4939a6;}[_0x422fe2(0x280)](_0x7afbb2){var _0x56f34b=_0x422fe2,_0x1815e3,_0x17c0a8,_0x411eba;return(_0x411eba=(_0x17c0a8=(_0x1815e3=this['_handler'])[_0x56f34b(0x43f)])==null?void 0x0:_0x17c0a8[_0x56f34b(0x36d)](_0x1815e3,_0x7afbb2))!=null?_0x411eba:_0x7afbb2;}['_syncEditingCollabCursor'](_0x9722e2){var _0x59fd29=_0x422fe2,_0x43d32b,_0xfd2757;if(this[_0x59fd29(0x444)]===X[_0x59fd29(0x205)]){const {unitID:_0x428ee5,mutations:_0x5d2203,memberID:_0x109010}=_0x9722e2,_0x2d6ad1=_0x5d2203[_0x59fd29(0x354)]>0x0?_0x5d2203[0x0][_0x59fd29(0x1d8)]['textRanges']:[];Array[_0x59fd29(0x422)](_0x2d6ad1)&&_0x2d6ad1[_0x59fd29(0x354)]>0x0&&((_0xfd2757=(_0x43d32b=this[_0x59fd29(0x22d)])[_0x59fd29(0x1de)])==null||_0xfd2757[_0x59fd29(0x36d)](_0x43d32b,{'unitID':_0x428ee5,'memberID':_0x109010,'textRanges':_0x2d6ad1}));}}[_0x422fe2(0x20a)](){var _0x387c84=_0x422fe2,_0x7c972d;(_0x7c972d=this['_localCacheService'])==null||_0x7c972d[_0x387c84(0x40a)](this[_0x387c84(0x506)],this[_0x387c84(0x444)],this[_0x387c84(0x1c0)],this[_0x387c84(0x1f6)]);}[_0x422fe2(0x31a)](){var _0x31c04b=_0x422fe2;return this['_revisionService'][_0x31c04b(0x401)](this[_0x31c04b(0x506)]);}[_0x422fe2(0x34e)](){var _0x2527a2=_0x422fe2;this[_0x2527a2(0x22f)][_0x2527a2(0x500)](this[_0x2527a2(0x506)]);}[_0x422fe2(0x1b1)](_0x204a84){var _0x6f0f15=_0x422fe2,_0x41c789;let _0x53d060=this['_transformRemoteChangesetByIMECache'](_0x204a84);_0x53d060=this[_0x6f0f15(0x280)](_0x53d060);const _0x43b010=o[_0x6f0f15(0x445)](_0x53d060['mutations'],this[_0x6f0f15(0x3ed)],{'fromCollab':!0x0});if(!_0x43b010['result'])throw _0x43b010[_0x6f0f15(0x18d)]instanceof Error?_0x43b010[_0x6f0f15(0x18d)]:new Error((_0x41c789=_0x43b010[_0x6f0f15(0x18d)])!=null?_0x41c789:_0x6f0f15(0x400));this[_0x6f0f15(0x1c2)](_0x53d060),this[_0x6f0f15(0x241)](_0x53d060),this[_0x6f0f15(0x387)](_0x204a84),this[_0x6f0f15(0x2d2)](_0x53d060),this[_0x6f0f15(0x33e)](_0x53d060),this['_incrementRevisionNumber']();}}exports[_0x422fe2(0x1fb)]=class extends oe{constructor(_0xbf5237,_0x4e06e6,_0x2a4bba,_0x37e629,_0x211b67,_0x15e55a,_0x431276,_0x1867a8,_0x3ed08c,_0x3d5829){var _0x297fc6=_0x422fe2;super(_0xbf5237,_0x4e06e6,null,[],_0x2a4bba,_0x431276,_0x15e55a,_0x37e629,_0x3d5829),A(this,_0x297fc6(0x212),_0x297fc6(0x3ea)),(this[_0x297fc6(0x3d5)]=_0x211b67,this[_0x297fc6(0x1bb)]=_0x1867a8,this[_0x297fc6(0x410)]=_0x3ed08c,this[_0x297fc6(0x38a)]=_0x3d5829);}[_0x422fe2(0x4b1)](_0x44715b){var _0x43efc1=_0x422fe2;const _0x35374a=this['_injector'][_0x43efc1(0x468)](exports[_0x43efc1(0x4eb)],this[_0x43efc1(0x506)],this['type'],[_0x44715b],this[_0x43efc1(0x22d)]);return _0x35374a[_0x43efc1(0x382)](),_0x35374a['_updateLocalCache'](),_0x35374a;}['onRemoteChangeset'](_0x3c7e11){var _0x119c32=_0x422fe2;if(this[_0x119c32(0x296)](_0x3c7e11))return this[_0x119c32(0x3d5)][_0x119c32(0x468)](exports['FetchingMissState'],this[_0x119c32(0x506)],this[_0x119c32(0x444)],null,[],null,[_0x3c7e11],this[_0x119c32(0x22d)]);try{const _0x23bf27=this[_0x119c32(0x410)]['transformMutationsWithChangeset'](_0x3c7e11,[E[_0x119c32(0x4ca)]]);if(E[_0x119c32(0x3c7)](_0x23bf27)){const {c1Prime:_0x45e2c5}=_0x23bf27;return this['_executeRemoteChangeset'](_0x45e2c5),this;}throw _0x23bf27[_0x119c32(0x18d)];}catch(_0x219add){return this[_0x119c32(0x1bb)][_0x119c32(0x18d)](_0x219add),this['_onConflict'](!0x1);}}[_0x422fe2(0x1b0)](_0xd33ba6){var _0x3edfe3=_0x422fe2;return this[_0x3edfe3(0x3d5)][_0x3edfe3(0x468)](exports[_0x3edfe3(0x1bc)],this[_0x3edfe3(0x506)],this['type'],null,[],this['_handler'],_0xd33ba6);}[_0x422fe2(0x2d6)](){var _0x4f7911=_0x422fe2;throw new Error(_0x4f7911(0x47c));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x422fe2(0x377)](){return this;}[_0x422fe2(0x261)](){var _0x32e5fb=_0x422fe2;return this[_0x32e5fb(0x3d5)][_0x32e5fb(0x468)](exports[_0x32e5fb(0x4c1)],this[_0x32e5fb(0x506)],this[_0x32e5fb(0x444)],null,[],this[_0x32e5fb(0x22d)]);}[_0x422fe2(0x23b)](){return this;}[_0x422fe2(0x307)](){var _0x4c1b78=_0x422fe2;throw new Error(_0x4c1b78(0x433));}[_0x422fe2(0x4c9)](){var _0x33938a=_0x422fe2;const _0x4c0adb=this[_0x33938a(0x22f)][_0x33938a(0x401)](this[_0x33938a(0x506)]);return this[_0x33938a(0x22d)][_0x33938a(0x32e)]({'from':_0x4c0adb,'to':0x0}),this[_0x33938a(0x3d5)][_0x33938a(0x468)](exports[_0x33938a(0x3a0)],this[_0x33938a(0x506)],this[_0x33938a(0x444)],null,[],null,[],this[_0x33938a(0x22d)]);}},exports['SyncedState']=ae([L(0x3,o[_0x422fe2(0x2dc)](E[_0x422fe2(0x392)])),L(0x4,o[_0x422fe2(0x2dc)](o[_0x422fe2(0x4b0)])),L(0x5,o['IUndoRedoService']),L(0x6,o[_0x422fe2(0x42a)]),L(0x7,o['ILogService']),L(0x8,E['ITransformService']),L(0x9,o[_0x422fe2(0x1ce)](q))],exports[_0x422fe2(0x1fb)]),exports[_0x422fe2(0x4eb)]=class extends oe{constructor(_0xfb65e3,_0x2a7cfd,_0x3bea47,_0x24904a,_0x11096e,_0x5f22fd,_0x3d8a9f,_0x17619d,_0x3c520b,_0x2889a7,_0x180278,_0xfeeede,_0xf65712,_0x2e0395){var _0x46242d=_0x422fe2;super(_0xfb65e3,_0x2a7cfd,null,_0x3bea47,_0x24904a,_0x3c520b,_0xf65712,_0x5f22fd,_0x2e0395),A(this,'status',_0x46242d(0x3dc)),A(this,_0x46242d(0x501),null),A(this,'_sendingTimer',null),(this[_0x46242d(0x3d5)]=_0x11096e,this[_0x46242d(0x204)]=_0x3d8a9f,this[_0x46242d(0x1bb)]=_0x17619d,this[_0x46242d(0x19e)]=_0x2889a7,this['_transformService']=_0x180278,this[_0x46242d(0x39b)]=_0xfeeede);}[_0x422fe2(0x4b1)](_0x1a0917){var _0x430d0c=_0x422fe2;return this[_0x430d0c(0x1f6)]['push'](_0x1a0917),this[_0x430d0c(0x20a)](),this;}[_0x422fe2(0x4d4)](_0x341fde){var _0x12b71a=_0x422fe2;if(this[_0x12b71a(0x296)](_0x341fde))return this[_0x12b71a(0x2ae)](),this['_injector'][_0x12b71a(0x468)](exports[_0x12b71a(0x3a0)],this[_0x12b71a(0x506)],this[_0x12b71a(0x444)],null,this[_0x12b71a(0x1f6)],null,[_0x341fde],this[_0x12b71a(0x22d)]);try{const _0x5a965c=this[_0x12b71a(0x410)]['transformMutationsWithChangeset'](_0x341fde,this[_0x12b71a(0x1f6)]);if(E[_0x12b71a(0x3c7)](_0x5a965c)){const {c1Prime:_0x450860,m2Prime:_0x210fed}=_0x5a965c;this[_0x12b71a(0x1b1)](_0x450860);const _0x5ad1fc=this[_0x12b71a(0x3d5)]['createInstance'](exports[_0x12b71a(0x4eb)],this['unitID'],this[_0x12b71a(0x444)],_0x210fed,this[_0x12b71a(0x22d)]);this[_0x12b71a(0x2ae)]();const _0x2547a1=new Date()[_0x12b71a(0x3b0)](),_0x3d76f8=this[_0x12b71a(0x501)]?Math[_0x12b71a(0x3ab)](this[_0x12b71a(0x501)]-_0x2547a1,0x0):this['_getSendChangesetTimeout']();return _0x5ad1fc[_0x12b71a(0x382)](_0x3d76f8),_0x5ad1fc;}throw _0x5a965c[_0x12b71a(0x18d)];}catch(_0x43ee6b){return this[_0x12b71a(0x1bb)][_0x12b71a(0x18d)](_0x43ee6b),this[_0x12b71a(0x1b0)](!0x1);}}[_0x422fe2(0x2d6)](){var _0x233b96=_0x422fe2;throw new Error(_0x233b96(0x3c5));}[_0x422fe2(0x1d5)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x422fe2(0x377)](){return this;}[_0x422fe2(0x261)](){var _0x18cf08=_0x422fe2;return this['_clearScheduledTask'](),this['_injector'][_0x18cf08(0x468)](exports[_0x18cf08(0x4c1)],this[_0x18cf08(0x506)],this[_0x18cf08(0x444)],null,this['_pendingMutations'],this[_0x18cf08(0x22d)]);}[_0x422fe2(0x23b)](){return this;}[_0x422fe2(0x382)](_0x2e54f3){var _0x352ac9=_0x422fe2;const _0x7d1eed=_0x2e54f3!=null?_0x2e54f3:this[_0x352ac9(0x3b8)]();this[_0x352ac9(0x501)]=new Date()[_0x352ac9(0x3b0)]()+_0x7d1eed,this[_0x352ac9(0x486)]=setTimeout(()=>{var _0x1478b7=_0x352ac9;this[_0x1478b7(0x2ae)]();let _0x1769e1=null;switch(this[_0x1478b7(0x444)]){case X[_0x1478b7(0x1c8)]:{_0x1769e1=Ye(this[_0x1478b7(0x1f6)],this[_0x1478b7(0x506)],this[_0x1478b7(0x39b)],this[_0x1478b7(0x22f)],this[_0x1478b7(0x204)]);break;}case X['UNIVER_DOC']:{this['_pendingMutations'][_0x1478b7(0x1fa)](_0x222665=>_0x222665['id']===_t[_0x1478b7(0x35a)]['id'])?_0x1769e1=si(this[_0x1478b7(0x1f6)],this[_0x1478b7(0x506)],this[_0x1478b7(0x39b)],this[_0x1478b7(0x22f)],this[_0x1478b7(0x204)]):_0x1769e1=Ye(this[_0x1478b7(0x1f6)],this[_0x1478b7(0x506)],this[_0x1478b7(0x39b)],this['_revisionService'],this[_0x1478b7(0x204)]);break;}default:throw new Error(_0x1478b7(0x2f2)+this[_0x1478b7(0x444)]+_0x1478b7(0x48d));}const {changeset:_0xbd38c8,pendingMutations:_0x32ce9c}=_0x1769e1;this[_0x1478b7(0x22d)][_0x1478b7(0x4c8)](_0xbd38c8);const _0x310e4a=_0x32ce9c['length']?this[_0x1478b7(0x3d5)][_0x1478b7(0x468)](exports['AwaitingWithPendingState'],this['unitID'],this[_0x1478b7(0x444)],_0xbd38c8,_0x32ce9c,this[_0x1478b7(0x22d)],void 0x0):this[_0x1478b7(0x3d5)]['createInstance'](exports[_0x1478b7(0x1c1)],this[_0x1478b7(0x506)],this[_0x1478b7(0x444)],_0xbd38c8,this[_0x1478b7(0x22d)]);_0x310e4a[_0x1478b7(0x20a)](),this['_handler'][_0x1478b7(0x479)](this,_0x310e4a);},_0x7d1eed);}[_0x422fe2(0x3b8)](){var _0x131096=_0x422fe2,_0x4a536f;const _0x5f18b8=this['_configService'][_0x131096(0x435)](Y);return(_0x4a536f=_0x5f18b8==null?void 0x0:_0x5f18b8[_0x131096(0x2b2)])!=null?_0x4a536f:Lt;}[_0x422fe2(0x307)](){var _0x227ecb=_0x422fe2;throw new Error(_0x227ecb(0x4a8));}['_clearScheduledTask'](){var _0x250cad=_0x422fe2;this[_0x250cad(0x486)]!=null&&(clearTimeout(this[_0x250cad(0x486)]),this[_0x250cad(0x486)]=null);}[_0x422fe2(0x1b0)](_0x52e71c){var _0x14c60d=_0x422fe2;return this[_0x14c60d(0x2ae)](),this['_injector'][_0x14c60d(0x468)](exports['ConflictState'],this['unitID'],this[_0x14c60d(0x444)],null,this[_0x14c60d(0x1f6)],this['_handler'],_0x52e71c);}},exports[_0x422fe2(0x4eb)]=ae([L(0x4,o[_0x422fe2(0x2dc)](o[_0x422fe2(0x4b0)])),L(0x5,o[_0x422fe2(0x2dc)](E[_0x422fe2(0x392)])),L(0x6,o[_0x422fe2(0x2dc)](exports['MemberService'])),L(0x7,o[_0x422fe2(0x2ed)]),L(0x8,o['ICommandService']),L(0x9,o[_0x422fe2(0x1e3)]),L(0xa,E['ITransformService']),L(0xb,o['IUniverInstanceService']),L(0xc,o[_0x422fe2(0x514)]),L(0xd,o[_0x422fe2(0x1ce)](q))],exports[_0x422fe2(0x4eb)]),exports[_0x422fe2(0x1c1)]=class extends oe{constructor(_0x174afa,_0x86819c,_0x39cb3b,_0x592289,_0x42d935,_0x156f86,_0x1de99a,_0x260a76,_0x29a2dc,_0x84ff96,_0x1a743f){var _0x772ace=_0x422fe2;super(_0x174afa,_0x86819c,_0x39cb3b,[],_0x592289,_0x1de99a,_0x84ff96,_0x156f86,_0x1a743f),A(this,'status',_0x772ace(0x333)),A(this,_0x772ace(0x1ec),0x0),A(this,_0x772ace(0x49a),0x0),A(this,_0x772ace(0x289)),A(this,_0x772ace(0x4ac)),(this[_0x772ace(0x3d5)]=_0x42d935,this['_logService']=_0x260a76,this[_0x772ace(0x410)]=_0x29a2dc);}['appendMutation'](_0x2c3c9f){var _0x2e6603=_0x422fe2;this[_0x2e6603(0x2ae)]();const _0x30fd1d=this[_0x2e6603(0x3d5)][_0x2e6603(0x468)](exports[_0x2e6603(0x45e)],this[_0x2e6603(0x506)],this[_0x2e6603(0x444)],this[_0x2e6603(0x1c0)],[_0x2c3c9f],this[_0x2e6603(0x22d)],this[_0x2e6603(0x289)]);return _0x30fd1d[_0x2e6603(0x20a)](),_0x30fd1d;}[_0x422fe2(0x4d4)](_0x47a9aa){var _0x14bbc3=_0x422fe2;if(this[_0x14bbc3(0x296)](_0x47a9aa))return this[_0x14bbc3(0x2ae)](),this[_0x14bbc3(0x3d5)][_0x14bbc3(0x468)](exports['FetchingMissState'],this[_0x14bbc3(0x506)],this[_0x14bbc3(0x444)],this[_0x14bbc3(0x1c0)],[],null,[_0x47a9aa],this[_0x14bbc3(0x22d)]);try{const _0x4c416e=this[_0x14bbc3(0x410)][_0x14bbc3(0x3bc)]([_0x47a9aa],[this[_0x14bbc3(0x1c0)]],!0x1);if(E[_0x14bbc3(0x334)](_0x4c416e)){const {c1Prime:_0x5d50b6,c2Prime:_0x33aab8}=_0x4c416e;this[_0x14bbc3(0x1b1)](_0x5d50b6[0x0]),_0x33aab8[0x0][_0x14bbc3(0x386)]=this[_0x14bbc3(0x31a)](),this[_0x14bbc3(0x2ae)]();const _0x16e2f9=this[_0x14bbc3(0x3d5)][_0x14bbc3(0x468)](exports[_0x14bbc3(0x1c1)],this[_0x14bbc3(0x506)],this[_0x14bbc3(0x444)],_0x33aab8[0x0],this[_0x14bbc3(0x22d)]);return _0x16e2f9[_0x14bbc3(0x20a)](),_0x16e2f9;}return this[_0x14bbc3(0x1b0)](!0x1);}catch(_0x1f84ae){return this[_0x14bbc3(0x1bb)][_0x14bbc3(0x18d)](_0x1f84ae),this[_0x14bbc3(0x1b0)](!0x1);}}[_0x422fe2(0x2d6)](_0x191f19){var _0x13b4fc=_0x422fe2;this[_0x13b4fc(0x2ae)]();const _0x4b2398=this[_0x13b4fc(0x22f)]['getCurrentRevOfUnit'](this[_0x13b4fc(0x506)]);if(_0x191f19['revision']<_0x4b2398-0x1)return this;if(this['_checkMissing'](_0x191f19))return this['_injector'][_0x13b4fc(0x468)](exports[_0x13b4fc(0x3a0)],this[_0x13b4fc(0x506)],this[_0x13b4fc(0x444)],null,[],this[_0x13b4fc(0x1c0)],[],this[_0x13b4fc(0x22d)]);this[_0x13b4fc(0x34e)]();const _0x84caf4=this['_injector'][_0x13b4fc(0x468)](exports[_0x13b4fc(0x1fb)],this['unitID'],this[_0x13b4fc(0x444)],this[_0x13b4fc(0x22d)]);return _0x84caf4[_0x13b4fc(0x20a)](),_0x84caf4;}['onRemoteRej'](_0x205e1d){var _0x5c573f=_0x422fe2;return this[_0x5c573f(0x1b0)](!!(_0x205e1d!=null&&_0x205e1d[_0x5c573f(0x1d1)]));}[_0x422fe2(0x377)](_0x547d83){var _0x4bf361=_0x422fe2;return this[_0x4bf361(0x49a)]>pt?this[_0x4bf361(0x261)]():(this[_0x4bf361(0x289)]=ft(this[_0x4bf361(0x1ec)],{'timeout':this[_0x4bf361(0x1ec)],'reqId':_0x547d83[_0x4bf361(0x35d)]}),this['_sender']=this[_0x4bf361(0x289)][_0x4bf361(0x3e6)](({reqId:_0x4367cf,timeout:_0x1f26c1})=>{var _0x59dd6f=_0x4bf361;this[_0x59dd6f(0x3ae)](_0x4367cf,_0x1f26c1);}),this);}['toggleOffline'](){var _0x2d9256=_0x422fe2;return this['_clearScheduledTask'](),this[_0x2d9256(0x3d5)][_0x2d9256(0x468)](exports['OfflineState'],this['unitID'],this[_0x2d9256(0x444)],this[_0x2d9256(0x1c0)],[],this[_0x2d9256(0x22d)]);}[_0x422fe2(0x23b)](){return this;}[_0x422fe2(0x307)](){var _0x408267=_0x422fe2;this[_0x408267(0x22d)][_0x408267(0x4c8)](this[_0x408267(0x1c0)]);}['_onConflict'](_0x25d012){var _0x1aee57=_0x422fe2;return this[_0x1aee57(0x2ae)](),this[_0x1aee57(0x3d5)]['createInstance'](exports['ConflictState'],this[_0x1aee57(0x506)],this[_0x1aee57(0x444)],this[_0x1aee57(0x1c0)],[],this[_0x1aee57(0x22d)],_0x25d012);}['_resendWithTimeout'](_0xeadd94,_0x48d0f1){var _0x1d6cd9=_0x422fe2,_0x5bfd1c;_0xeadd94===((_0x5bfd1c=this[_0x1d6cd9(0x1c0)])==null?void 0x0:_0x5bfd1c['reqId'])&&(this[_0x1d6cd9(0x307)](),this[_0x1d6cd9(0x1ec)]=_0x48d0f1===0x0?0x3e8:Math[_0x1d6cd9(0x3f6)](_0x48d0f1*0x2,Et),this[_0x1d6cd9(0x49a)]+=this[_0x1d6cd9(0x1ec)]);}['_clearScheduledTask'](){var _0xa6968d=_0x422fe2,_0x3f1cd5;(_0x3f1cd5=this['_sender'])==null||_0x3f1cd5[_0xa6968d(0x2e1)](),this['_resendTimeout']=0x0,this['_maxTotalRetryTimeout']=0x0;}},exports[_0x422fe2(0x1c1)]=ae([L(0x4,o[_0x422fe2(0x2dc)](o[_0x422fe2(0x4b0)])),L(0x5,o[_0x422fe2(0x2dc)](E[_0x422fe2(0x392)])),L(0x6,o[_0x422fe2(0x42a)]),L(0x7,o[_0x422fe2(0x2ed)]),L(0x8,E[_0x422fe2(0x281)]),L(0x9,o['IUndoRedoService']),L(0xa,o[_0x422fe2(0x1ce)](q))],exports[_0x422fe2(0x1c1)]),exports[_0x422fe2(0x45e)]=class extends oe{constructor(_0x234fda,_0x2038d3,_0x1f9adf,_0x429928,_0x2cc838,_0x54a537,_0x56035c,_0x5aa759,_0x44f0de,_0x272c08,_0x26ed24,_0x5ad7d4,_0x13f604){var _0xabd0e0=_0x422fe2;super(_0x234fda,_0x2038d3,_0x1f9adf,_0x429928,_0x2cc838,_0x44f0de,_0x5ad7d4,_0x5aa759,_0x13f604),A(this,_0xabd0e0(0x212),_0xabd0e0(0x434)),A(this,_0xabd0e0(0x1ec),0x0),A(this,'_maxTotalRetryTimeout',0x0),A(this,_0xabd0e0(0x289)),A(this,_0xabd0e0(0x4ac)),(this['_injector']=_0x56035c,this[_0xabd0e0(0x1bb)]=_0x272c08,this[_0xabd0e0(0x410)]=_0x26ed24,this[_0xabd0e0(0x38a)]=_0x13f604,_0x54a537&&(this[_0xabd0e0(0x289)]=_0x54a537,this['_sender']=this[_0xabd0e0(0x289)][_0xabd0e0(0x3e6)](({reqId:_0x480b01,timeout:_0x47629c})=>{var _0x41ac91=_0xabd0e0;this[_0x41ac91(0x3ae)](_0x480b01,_0x47629c);})));}['appendMutation'](_0x5a0f2c){var _0x5abe5c=_0x422fe2;return this[_0x5abe5c(0x1f6)][_0x5abe5c(0x29e)](_0x5a0f2c),this;}[_0x422fe2(0x4d4)](_0xcc4ae9){var _0x5ab7da=_0x422fe2;if(this['_checkMissing'](_0xcc4ae9))return this[_0x5ab7da(0x2ae)](),this[_0x5ab7da(0x3d5)][_0x5ab7da(0x468)](exports['FetchingMissState'],this[_0x5ab7da(0x506)],this[_0x5ab7da(0x444)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0xcc4ae9],this[_0x5ab7da(0x22d)]);try{const _0x23f215=this['_transformService'][_0x5ab7da(0x3bc)]([_0xcc4ae9],[this['_awaitingChangeset']],!0x1);if(E[_0x5ab7da(0x334)](_0x23f215)){const {c1Prime:_0x371717,c2Prime:_0x4c2df3}=_0x23f215,_0x576f75=this[_0x5ab7da(0x410)][_0x5ab7da(0x360)](_0x371717[0x0],this[_0x5ab7da(0x1f6)]);if(E[_0x5ab7da(0x3c7)](_0x576f75)){const {c1Prime:_0x464007,m2Prime:_0x32af51}=_0x576f75;return this[_0x5ab7da(0x1b1)](_0x464007),_0x4c2df3[0x0][_0x5ab7da(0x386)]=this[_0x5ab7da(0x31a)](),this[_0x5ab7da(0x2ae)](),this['_injector']['createInstance'](exports[_0x5ab7da(0x45e)],this[_0x5ab7da(0x506)],this[_0x5ab7da(0x444)],_0x4c2df3[0x0],_0x32af51,this[_0x5ab7da(0x22d)],void 0x0);}throw _0x576f75[_0x5ab7da(0x18d)];}throw _0x23f215[_0x5ab7da(0x18d)];}catch(_0x5f0a0f){return this['_logService'][_0x5ab7da(0x18d)](_0x5f0a0f),this[_0x5ab7da(0x1b0)](!0x1);}}[_0x422fe2(0x2d6)](_0x524038){var _0x54150c=_0x422fe2;if(this[_0x54150c(0x2ae)](),this[_0x54150c(0x296)](_0x524038))return this[_0x54150c(0x3d5)]['createInstance'](exports[_0x54150c(0x3a0)],this[_0x54150c(0x506)],this[_0x54150c(0x444)],null,this[_0x54150c(0x1f6)],this['_awaitingChangeset'],[],this['_handler']);this[_0x54150c(0x34e)]();const _0x59ab5f=this[_0x54150c(0x3d5)][_0x54150c(0x468)](exports['PendingState'],this[_0x54150c(0x506)],this[_0x54150c(0x444)],this[_0x54150c(0x1f6)],this[_0x54150c(0x22d)]);return _0x59ab5f[_0x54150c(0x382)](),_0x59ab5f[_0x54150c(0x20a)](),_0x59ab5f;}['onRemoteRej'](_0x475954){var _0x231d72=_0x422fe2;return this[_0x231d72(0x1b0)](!!(_0x475954!=null&&_0x475954[_0x231d72(0x1d1)]));}['onRemoteRetry'](_0x126624){var _0x2e0a85=_0x422fe2;return this['_maxTotalRetryTimeout']>pt?this[_0x2e0a85(0x261)]():(this[_0x2e0a85(0x289)]=ft(this[_0x2e0a85(0x1ec)],{'timeout':this[_0x2e0a85(0x1ec)],'reqId':_0x126624['reqId']}),this['_sender']=this[_0x2e0a85(0x289)][_0x2e0a85(0x3e6)](({reqId:_0x5cddc5,timeout:_0x4c98b8})=>{this['_resendWithTimeout'](_0x5cddc5,_0x4c98b8);}),this);}[_0x422fe2(0x261)](){var _0x3cae9c=_0x422fe2;return this[_0x3cae9c(0x2ae)](),this[_0x3cae9c(0x3d5)][_0x3cae9c(0x468)](exports['OfflineState'],this[_0x3cae9c(0x506)],this[_0x3cae9c(0x444)],this[_0x3cae9c(0x1c0)],this['_pendingMutations'],this[_0x3cae9c(0x22d)]);}['toggleOnline'](){return this;}[_0x422fe2(0x307)](){var _0x1299e1=_0x422fe2;this[_0x1299e1(0x22d)][_0x1299e1(0x4c8)](this['_awaitingChangeset']);}[_0x422fe2(0x1b0)](_0xdced1){var _0x5afe9d=_0x422fe2;return this['_clearScheduledTask'](),this[_0x5afe9d(0x3d5)][_0x5afe9d(0x468)](exports[_0x5afe9d(0x1bc)],this['unitID'],this[_0x5afe9d(0x444)],null,this[_0x5afe9d(0x1f6)],this[_0x5afe9d(0x22d)],_0xdced1);}['_resendWithTimeout'](_0x2208dd,_0x525d91){var _0x138645=_0x422fe2,_0x46851c;_0x2208dd===((_0x46851c=this[_0x138645(0x1c0)])==null?void 0x0:_0x46851c['reqId'])&&(this[_0x138645(0x307)](),this[_0x138645(0x1ec)]=_0x525d91===0x0?0x3e8:Math['min'](_0x525d91*0x2,Et),this['_maxTotalRetryTimeout']+=this[_0x138645(0x1ec)]);}['_clearScheduledTask'](){var _0x26ba40=_0x422fe2,_0x1c28a3;(_0x1c28a3=this[_0x26ba40(0x4ac)])==null||_0x1c28a3['unsubscribe'](),this[_0x26ba40(0x1ec)]=0x0,this['_maxTotalRetryTimeout']=0x0;}},exports[_0x422fe2(0x45e)]=ae([L(0x6,o['Inject'](o[_0x422fe2(0x4b0)])),L(0x7,o[_0x422fe2(0x2dc)](E[_0x422fe2(0x392)])),L(0x8,o[_0x422fe2(0x42a)]),L(0x9,o[_0x422fe2(0x2ed)]),L(0xa,E[_0x422fe2(0x281)]),L(0xb,o[_0x422fe2(0x514)]),L(0xc,o[_0x422fe2(0x1ce)](q))],exports[_0x422fe2(0x45e)]),exports[_0x422fe2(0x1bc)]=class extends oe{constructor(_0x1a6907,_0x2e0240,_0x4b3639,_0x31d2ef,_0x5bc87a,_0x5ee53b=!0x1,_0x395b10,_0x42d622,_0x46c118,_0x3b392b,_0x269189,_0x2293e1,_0x215f20){var _0xba4f1d=_0x422fe2;super(_0x1a6907,_0x2e0240,_0x4b3639,_0x31d2ef,_0x5bc87a,_0x42d622,_0x46c118,_0x3b392b,_0x215f20),A(this,_0xba4f1d(0x212),_0xba4f1d(0x1ed)),(this['_isPermissionRej']=_0x5ee53b,this[_0xba4f1d(0x352)]=_0x395b10,this[_0xba4f1d(0x2bc)]=_0x269189,this[_0xba4f1d(0x186)]=_0x2293e1,this[_0xba4f1d(0x38a)]=_0x215f20,this['_showConflictNotification'](),this[_0xba4f1d(0x4ed)](),this[_0xba4f1d(0x20d)]());}[_0x422fe2(0x4b1)](){return this;}[_0x422fe2(0x4d4)](){return this;}[_0x422fe2(0x2d6)](){return this;}[_0x422fe2(0x1d5)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x422fe2(0x23b)](){return this;}[_0x422fe2(0x307)](){var _0x4464f4=_0x422fe2;throw new Error(_0x4464f4(0x414));}[_0x422fe2(0x4ed)](){var _0x2c26cb=_0x422fe2,_0x1ac906;(_0x1ac906=this[_0x2c26cb(0x1be)])==null||_0x1ac906[_0x2c26cb(0x40a)](this[_0x2c26cb(0x506)],this['type'],null,[]);}[_0x422fe2(0x304)](){var _0x59d63e=_0x422fe2;this[_0x59d63e(0x419)]?this[_0x59d63e(0x186)]['emitEvent']({'id':J[_0x59d63e(0x48c)]}):this['_collaborationUIEventService'][_0x59d63e(0x4cc)]({'id':J[_0x59d63e(0x3f5)]});}[_0x422fe2(0x20d)](){var _0x159840=_0x422fe2;this[_0x159840(0x352)][_0x159840(0x2a7)](new Q[(_0x159840(0x30c))](this[_0x159840(0x506)])['id'],!0x1);}},exports[_0x422fe2(0x1bc)]=ae([L(0x6,o['Inject'](o[_0x422fe2(0x2c2)])),L(0x7,o[_0x422fe2(0x42a)]),L(0x8,o[_0x422fe2(0x514)]),L(0x9,o[_0x422fe2(0x2dc)](E[_0x422fe2(0x392)])),L(0xa,o[_0x422fe2(0x2dc)](o['LocaleService'])),L(0xb,o['Inject'](ee)),L(0xc,o['Optional'](q))],exports[_0x422fe2(0x1bc)]),exports[_0x422fe2(0x4c1)]=class extends oe{constructor(_0x573862,_0x23ef9e,_0x25eda6,_0x4f5d6c,_0xc95724,_0x121d01,_0x3cd08f,_0x42f33a,_0x134c7d,_0x117a92){var _0x546220=_0x422fe2;super(_0x573862,_0x23ef9e,_0x25eda6,_0x4f5d6c,_0xc95724,_0x42f33a,_0x134c7d,_0x3cd08f,_0x117a92),A(this,_0x546220(0x212),_0x546220(0x25f)),this[_0x546220(0x3d5)]=_0x121d01;}[_0x422fe2(0x4b1)](_0x42bb6a){var _0x21f2e7=_0x422fe2;return this[_0x21f2e7(0x1f6)]['push'](_0x42bb6a),this['_updateLocalCache'](),this;}[_0x422fe2(0x4d4)](_0x335353){var _0x1ed134=_0x422fe2;throw new Error(_0x1ed134(0x242));}[_0x422fe2(0x2d6)](){var _0x1299fc=_0x422fe2;throw new Error(_0x1299fc(0x317));}[_0x422fe2(0x1d5)](){var _0x544d5a=_0x422fe2;throw new Error(_0x544d5a(0x1ee));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x422fe2(0x23b)](){var _0x3c7bbc=_0x422fe2;const {_injector:_0x7ee8fb,_pendingMutations:_0x538b77,_awaitingChangeset:_0x1fee7c,unitID:_0x15f888,_handler:_0x71a32f,type:_0x4949b3}=this,_0x351708=mt(_0x7ee8fb,_0x15f888,_0x4949b3,_0x1fee7c,_0x538b77,_0x71a32f);return _0x351708 instanceof exports[_0x3c7bbc(0x4eb)]?_0x351708[_0x3c7bbc(0x382)]():(_0x351708 instanceof exports[_0x3c7bbc(0x45e)]||_0x351708 instanceof exports[_0x3c7bbc(0x1c1)])&&_0x351708[_0x3c7bbc(0x307)](),_0x351708;}[_0x422fe2(0x307)](){var _0x84c09e=_0x422fe2;throw new Error(_0x84c09e(0x3bf));}},exports[_0x422fe2(0x4c1)]=ae([L(0x5,o['Inject'](o['Injector'])),L(0x6,o[_0x422fe2(0x2dc)](E[_0x422fe2(0x392)])),L(0x7,o['ICommandService']),L(0x8,o['IUndoRedoService']),L(0x9,o[_0x422fe2(0x1ce)](q))],exports[_0x422fe2(0x4c1)]),exports[_0x422fe2(0x3a0)]=class extends oe{constructor(_0x3e219e,_0x371551,_0x33f410,_0x392776,_0x1453d8,_0x1ea4b1,_0xef6dd3,_0x19e0fe,_0x14a7ae,_0xc3769d,_0x2046d2,_0x24f787,_0x264ae5,_0x44c852){var _0x1cf01d=_0x422fe2;super(_0x3e219e,_0x371551,_0x33f410,_0x392776,_0xef6dd3,_0x2046d2,_0x24f787,_0x14a7ae,_0x44c852),A(this,_0x1cf01d(0x212),'fetch_missing'),(this[_0x1cf01d(0x33c)]=_0x1453d8,this[_0x1cf01d(0x4f9)]=_0x1ea4b1,this[_0x1cf01d(0x3d5)]=_0x19e0fe,this[_0x1cf01d(0x1bb)]=_0xc3769d,this[_0x1cf01d(0x410)]=_0x264ae5,this[_0x1cf01d(0x38a)]=_0x44c852);}[_0x422fe2(0x417)](_0x3425ec){var _0x419c69=_0x422fe2;try{const _0x49e984=[..._0x3425ec,...this[_0x419c69(0x4f9)]],_0x4fe603=[this[_0x419c69(0x1c0)]||this[_0x419c69(0x33c)]][_0x419c69(0x22b)](_0x3b2f53=>!!_0x3b2f53);let _0xc5dfee,_0x30f7bb;if(_0x4fe603[_0x419c69(0x354)]){const _0x172293=this['_transformService'][_0x419c69(0x3bc)](_0x49e984,_0x4fe603,!0x1);if(!E[_0x419c69(0x334)](_0x172293))throw _0x172293[_0x419c69(0x18d)];_0xc5dfee=_0x172293['c1Prime'],_0x30f7bb=_0x172293[_0x419c69(0x367)];}else _0xc5dfee=_0x49e984,_0x30f7bb=[];let _0x108068=this[_0x419c69(0x1f6)];_0xc5dfee[_0x419c69(0x214)](_0x40e5e0=>{var _0x7b1523=_0x419c69;let _0x4bf177;if(_0x108068[_0x7b1523(0x354)]){const _0x3b11b2=this[_0x7b1523(0x410)][_0x7b1523(0x360)](_0x40e5e0,_0x108068);if(!E['isTransformMutationsWithChangesetSuccess'](_0x3b11b2))throw _0x3b11b2['error'];_0x4bf177=_0x3b11b2[_0x7b1523(0x30b)],_0x108068=_0x3b11b2[_0x7b1523(0x49c)];}else _0x4bf177=_0x40e5e0;this[_0x7b1523(0x1b1)](_0x4bf177);}),this[_0x419c69(0x33c)]&&this[_0x419c69(0x34e)](),this[_0x419c69(0x1c0)]&&_0x30f7bb['length']&&(_0x30f7bb[0x0][_0x419c69(0x386)]=this[_0x419c69(0x31a)]());let _0x5d3aba;if(this[_0x419c69(0x1c0)]&&_0x108068['length']!==0x0)_0x5d3aba=this[_0x419c69(0x3d5)][_0x419c69(0x468)](exports[_0x419c69(0x45e)],this['unitID'],this['type'],_0x30f7bb[0x0],_0x108068,this['_handler'],void 0x0);else{if(this[_0x419c69(0x1c0)]&&_0x108068['length']===0x0)_0x30f7bb[0x0][_0x419c69(0x386)]=this[_0x419c69(0x31a)](),_0x5d3aba=this[_0x419c69(0x3d5)][_0x419c69(0x468)](exports[_0x419c69(0x1c1)],this[_0x419c69(0x506)],this['type'],_0x30f7bb[0x0],this[_0x419c69(0x22d)]);else{if(_0x108068[_0x419c69(0x354)]!==0x0){const _0x55e477=this[_0x419c69(0x3d5)][_0x419c69(0x468)](exports[_0x419c69(0x4eb)],this[_0x419c69(0x506)],this[_0x419c69(0x444)],_0x108068,this[_0x419c69(0x22d)]);_0x55e477[_0x419c69(0x382)](),_0x5d3aba=_0x55e477;}else _0x5d3aba=this[_0x419c69(0x3d5)][_0x419c69(0x468)](exports[_0x419c69(0x1fb)],this[_0x419c69(0x506)],this[_0x419c69(0x444)],this[_0x419c69(0x22d)]);}}return _0x5d3aba['_updateLocalCache'](),_0x5d3aba;}catch(_0x27b25d){return this[_0x419c69(0x1bb)][_0x419c69(0x18d)](_0x419c69(0x1a5),_0x419c69(0x1c3),_0x27b25d),this[_0x419c69(0x3d5)][_0x419c69(0x468)](exports[_0x419c69(0x1bc)],this[_0x419c69(0x506)],this['type'],this[_0x419c69(0x1c0)],this[_0x419c69(0x1f6)],this['_handler'],!0x1);}}['resend'](){var _0x2d4c8a=_0x422fe2;throw new Error(_0x2d4c8a(0x308));}[_0x422fe2(0x4b1)](_0x27be81){return this['_pendingMutations']['push'](_0x27be81),this;}[_0x422fe2(0x4d4)](_0x4c9377){var _0x1ebf9e=_0x422fe2;return this[_0x1ebf9e(0x4f9)][_0x1ebf9e(0x29e)](_0x4c9377),this;}[_0x422fe2(0x2d6)](_0x252ea4){var _0xfe1e4a=_0x422fe2;if(this['_awaitingChangeset'])return this[_0xfe1e4a(0x33c)]=this[_0xfe1e4a(0x1c0)],this[_0xfe1e4a(0x1c0)]=null,this;throw new Error(_0xfe1e4a(0x355));}[_0x422fe2(0x1d5)](_0x3c66fb){var _0x4f6301=_0x422fe2;return this[_0x4f6301(0x1b0)](!!(_0x3c66fb!=null&&_0x3c66fb[_0x4f6301(0x1d1)]));}[_0x422fe2(0x377)](){return this;}[_0x422fe2(0x261)](){var _0x256243=_0x422fe2;return this['_injector']['createInstance'](exports[_0x256243(0x4c1)],this[_0x256243(0x506)],this['type'],this[_0x256243(0x1c0)],this[_0x256243(0x1f6)],this[_0x256243(0x22d)]);}[_0x422fe2(0x23b)](){return this;}[_0x422fe2(0x1b0)](_0x4b4a82){var _0x2fc8d7=_0x422fe2;return this[_0x2fc8d7(0x3d5)][_0x2fc8d7(0x468)](exports[_0x2fc8d7(0x1bc)],this[_0x2fc8d7(0x506)],this[_0x2fc8d7(0x444)],this[_0x2fc8d7(0x1c0)],this[_0x2fc8d7(0x1f6)],this[_0x2fc8d7(0x22d)],_0x4b4a82);}},exports[_0x422fe2(0x3a0)]=ae([L(0x7,o[_0x422fe2(0x2dc)](o[_0x422fe2(0x4b0)])),L(0x8,o[_0x422fe2(0x2dc)](E[_0x422fe2(0x392)])),L(0x9,o[_0x422fe2(0x2ed)]),L(0xa,o[_0x422fe2(0x42a)]),L(0xb,o[_0x422fe2(0x514)]),L(0xc,E[_0x422fe2(0x281)]),L(0xd,o[_0x422fe2(0x1ce)](q))],exports[_0x422fe2(0x3a0)]);function mt(_0x16d880,_0x179c00,_0x395feb,_0x3d9a27,_0x136b48,_0x2172d7){var _0x2561d2=_0x422fe2;return _0x3d9a27&&_0x136b48['length']?_0x16d880['createInstance'](exports[_0x2561d2(0x45e)],_0x179c00,_0x395feb,_0x3d9a27,_0x136b48,_0x2172d7,void 0x0):_0x3d9a27?_0x16d880[_0x2561d2(0x468)](exports[_0x2561d2(0x1c1)],_0x179c00,_0x395feb,_0x3d9a27,_0x2172d7):_0x136b48[_0x2561d2(0x354)]?_0x16d880[_0x2561d2(0x468)](exports[_0x2561d2(0x4eb)],_0x179c00,_0x395feb,_0x136b48,_0x2172d7):_0x16d880[_0x2561d2(0x468)](exports['SyncedState'],_0x179c00,_0x395feb,_0x2172d7);}var ai=Object['getOwnPropertyDescriptor'],Be=(_0x56ef67,_0x15adcb,_0x15eeb2,_0x371b7f)=>{var _0x23ee55=_0x422fe2;for(var _0x17063d=_0x371b7f>0x1?void 0x0:_0x371b7f?ai(_0x15adcb,_0x15eeb2):_0x15adcb,_0x635752=_0x56ef67[_0x23ee55(0x354)]-0x1,_0x6adb99;_0x635752>=0x0;_0x635752--)(_0x6adb99=_0x56ef67[_0x635752])&&(_0x17063d=_0x6adb99(_0x17063d)||_0x17063d);return _0x17063d;},$=(_0x3dec91,_0x582fc5)=>(_0xde8d97,_0x34b8d8)=>_0x582fc5(_0xde8d97,_0x34b8d8,_0x3dec91);exports[_0x422fe2(0x25b)]=class extends o[_0x422fe2(0x203)]{constructor(_0x73587d,_0x57fb74,_0x324bef,_0x1e142e,_0x550357,_0x36e5d1,_0x1eeee4,_0x4f5431,_0x4811b7,_0x133bfe,_0x17adb0,_0x45696e,_0xcc2178,_0x546883){var _0xcea3be=_0x422fe2;super(),A(this,_0xcea3be(0x193),new j['BehaviorSubject'](null)),A(this,_0xcea3be(0x2ee),this['_state$'][_0xcea3be(0x4af)]()),A(this,'_state'),A(this,_0xcea3be(0x1fd),!0x1),A(this,_0xcea3be(0x3a6),''),A(this,'_changesetReqId',0x0),A(this,_0xcea3be(0x390),this[_0xcea3be(0x2ee)][_0xcea3be(0x3c1)](j['map'](_0x535194=>_0x535194?_0x535194['status']:je[_0xcea3be(0x34d)]),j[_0xcea3be(0x480)](0x1))),A(this,_0xcea3be(0x30e),!0x1),A(this,'_remoteChangesetQueue',[]),(this[_0xcea3be(0x506)]=_0x73587d,this[_0xcea3be(0x389)]=_0x57fb74,this['_type']=_0x324bef,this['_injector']=_0x1e142e,this[_0xcea3be(0x309)]=_0x550357,this['_localeService']=_0x36e5d1,this['_revisionService']=_0x1eeee4,this[_0xcea3be(0x182)]=_0x4f5431,this[_0xcea3be(0x39b)]=_0x4811b7,this['_logService']=_0x133bfe,this[_0xcea3be(0x3ed)]=_0x17adb0,this[_0xcea3be(0x352)]=_0x45696e,this[_0xcea3be(0x223)]=_0xcc2178,this['_localCacheService']=_0x546883);}get['state'](){return this['_state'];}async[_0x422fe2(0x257)](){var _0x42b642=_0x422fe2;if(this[_0x42b642(0x19f)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x422fe2(0x44d)](){var _0xe83fc=_0x422fe2;return this[_0xe83fc(0x1fd)]=!0x0,o[_0xe83fc(0x1a2)](()=>{var _0x361853=_0xe83fc;this[_0x361853(0x1fd)]=!0x1,this[_0x361853(0x409)]();});}[_0x422fe2(0x2db)](_0x18e79e){var _0x3eab62=_0x422fe2;this[_0x3eab62(0x297)](_0x18e79e);}['_updateState'](_0x4059c0){var _0x5d9d36=_0x422fe2;this[_0x5d9d36(0x1c5)]=_0x4059c0,this[_0x5d9d36(0x193)]['next'](_0x4059c0);}async[_0x422fe2(0x299)](){var _0x409580=_0x422fe2,_0x5eca51;this[_0x409580(0x224)](await this[_0x409580(0x1c9)]()),this['_singleActiveUnitService']&&((_0x5eca51=this['_singleActiveUnitService'])==null||_0x5eca51[_0x409580(0x4e6)](this[_0x409580(0x506)]),this['disposeWithMe'](this[_0x409580(0x223)][_0x409580(0x42e)](this['unitID'])[_0x409580(0x3e6)](_0x248590=>{var _0x54e233=_0x409580;this[_0x54e233(0x1bb)]['debug'](_0x54e233(0x1fe),_0x54e233(0x1db),_0x248590),_0x248590===He[_0x54e233(0x22c)]?(this[_0x54e233(0x182)][_0x54e233(0x4cc)]({'id':J[_0x54e233(0x34b)]}),this['_permissionService'][_0x54e233(0x2a7)](new Q[(_0x54e233(0x30c))](this[_0x54e233(0x506)])['id'],!0x1),this[_0x54e233(0x352)]['setShowComponents'](!0x1)):(this[_0x54e233(0x352)][_0x54e233(0x2a7)](new Q[(_0x54e233(0x30c))](this['unitID'])['id'],!0x0),this['_permissionService'][_0x54e233(0x45f)](!0x0));})));let _0x1b5491=!0x1;return this[_0x409580(0x248)](this[_0x409580(0x389)]['sessionStatus$'][_0x409580(0x3e6)](_0x4a28a4=>{var _0xfc43a0=_0x409580;_0x4a28a4===se[_0xfc43a0(0x4e8)]?this[_0xfc43a0(0x294)](_0x1b5491):_0x4a28a4===se[_0xfc43a0(0x34d)]&&(_0x1b5491=!0x0,this[_0xfc43a0(0x251)]());})),this[_0x409580(0x248)](this['session'][_0x409580(0x344)][_0x409580(0x3e6)](_0xbee651=>{var _0x1bfa48=_0x409580;try{switch(_0xbee651['eventID']){case E[_0x1bfa48(0x185)]['NEW_CHANGESETS']:{this[_0x1bfa48(0x2fe)](E[_0x1bfa48(0x370)](_0xbee651['data']));break;}case E[_0x1bfa48(0x185)][_0x1bfa48(0x3d1)]:{this[_0x1bfa48(0x494)](_0xbee651[_0x1bfa48(0x374)]);break;}case E[_0x1bfa48(0x185)][_0x1bfa48(0x406)]:{this['_onRemoteRejected']();break;}case E[_0x1bfa48(0x185)][_0x1bfa48(0x2f4)]:{this[_0x1bfa48(0x3d0)](_0xbee651[_0x1bfa48(0x374)]);break;}case E[_0x1bfa48(0x185)][_0x1bfa48(0x4d6)]:{this['_onFetchMissResult'](_0xbee651[_0x1bfa48(0x374)][_0x1bfa48(0x1e9)]['map'](_0x1fd471=>E['parseProtocolChangeset'](_0x1fd471)));break;}case E[_0x1bfa48(0x185)][_0x1bfa48(0x23e)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case E[_0x1bfa48(0x185)][_0x1bfa48(0x2c9)]:break;}}catch(_0x404ae0){throw console[_0x1bfa48(0x18d)](_0x1bfa48(0x4c2),_0x404ae0),_0x404ae0;}})),this['_state'];}[_0x422fe2(0x47d)](){var _0x3254bf=_0x422fe2;this[_0x3254bf(0x30e)]=!0x1;}[_0x422fe2(0x421)](){var _0x300947=_0x422fe2;if(this[_0x300947(0x30e)])throw new Error(_0x300947(0x22a));this[_0x300947(0x30e)]=!0x0;}[_0x422fe2(0x297)](_0xc4bcdd){var _0x1452f2=_0x422fe2;this[_0x1452f2(0x421)](),this[_0x1452f2(0x224)](this['_state'][_0x1452f2(0x4b1)](_0xc4bcdd)),this[_0x1452f2(0x47d)]();}[_0x422fe2(0x2fe)](_0x332f8f){var _0x48ed77=_0x422fe2;if(!(_0x332f8f['revision']<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x48ed77(0x506)]))){if(this['_collaborationPaused']){this[_0x48ed77(0x188)]['push'](_0x332f8f);return;}this['_applyRemoteChangeset'](_0x332f8f);}}[_0x422fe2(0x409)](){var _0x320a73=_0x422fe2;this[_0x320a73(0x188)][_0x320a73(0x214)](_0xd3ba30=>this['_applyRemoteChangeset'](_0xd3ba30)),this[_0x320a73(0x188)]=[];}[_0x422fe2(0x499)](_0x2fcba2){var _0x4fcf55=_0x422fe2;const _0x284c47=this['_compressMutationService'][_0x4fcf55(0x4c6)][_0x4fcf55(0x1f2)](this['_compressMutationService']['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x2fcba2[_0x4fcf55(0x2e7)],null)||_0x2fcba2[_0x4fcf55(0x2e7)],_0x14cdf8={..._0x2fcba2,'mutations':_0x284c47};this['_lockTransition'](),this['_updateState'](this['_state'][_0x4fcf55(0x4d4)](_0x14cdf8)),this[_0x4fcf55(0x47d)]();}[_0x422fe2(0x494)](_0x5d09a4){var _0x11ff20=_0x422fe2;this[_0x11ff20(0x421)](),this[_0x11ff20(0x224)](this[_0x11ff20(0x1c5)][_0x11ff20(0x2d6)](_0x5d09a4)),this[_0x11ff20(0x47d)]();}[_0x422fe2(0x4a3)](_0x1f2aa3){var _0x14b02e=_0x422fe2;this[_0x14b02e(0x421)](),this[_0x14b02e(0x224)](this[_0x14b02e(0x1c5)][_0x14b02e(0x1d5)](_0x1f2aa3)),this['_unlockTransition']();}['_onRemoteRetry'](_0x1e1f9c){var _0x1c4f71=_0x422fe2;this[_0x1c4f71(0x421)](),this[_0x1c4f71(0x224)](this[_0x1c4f71(0x1c5)][_0x1c4f71(0x377)](_0x1e1f9c)),this['_unlockTransition']();}[_0x422fe2(0x25e)](_0x58a659){var _0x493507=_0x422fe2;if(!(this[_0x493507(0x1c5)]instanceof exports['FetchingMissState']))throw new TypeError(_0x493507(0x3be));const _0xe5fb30=_0x58a659[_0x493507(0x221)](_0x12a4f0=>{var _0x1eb655=_0x493507;const _0x732cac=this[_0x1eb655(0x309)]['interceptor'][_0x1eb655(0x1f2)](this[_0x1eb655(0x309)][_0x1eb655(0x4c6)][_0x1eb655(0x473)]()[_0x1eb655(0x331)])(_0x12a4f0[_0x1eb655(0x2e7)],null)||_0x12a4f0[_0x1eb655(0x2e7)];return{..._0x12a4f0,'mutations':_0x732cac};});this[_0x493507(0x421)](),this[_0x493507(0x224)](this[_0x493507(0x1c5)][_0x493507(0x417)](_0xe5fb30)),this[_0x493507(0x47d)]();}[_0x422fe2(0x251)](){var _0x1ee352=_0x422fe2;this[_0x1ee352(0x421)](),this[_0x1ee352(0x224)](this[_0x1ee352(0x1c5)][_0x1ee352(0x261)]()),this['_unlockTransition']();}['_toggleOnline'](_0xdf8b10=!0x1){var _0x4e2da5=_0x422fe2;this[_0x4e2da5(0x421)](),this[_0x4e2da5(0x224)](this[_0x4e2da5(0x1c5)][_0x4e2da5(0x23b)]()),this[_0x4e2da5(0x47d)]();const _0x26c814=this[_0x4e2da5(0x1c5)];_0xdf8b10&&_0x26c814 instanceof exports[_0x4e2da5(0x1fb)]&&(this[_0x4e2da5(0x421)](),this['_updateState'](_0x26c814[_0x4e2da5(0x4c9)]()),this['_unlockTransition']());}async[_0x422fe2(0x1c9)](){return new Promise(_0x441cb0=>{var _0x3f8454=_0x307d;this[_0x3f8454(0x389)][_0x3f8454(0x2a2)][_0x3f8454(0x3c1)](j[_0x3f8454(0x439)](0x1))[_0x3f8454(0x3e6)](async _0x49eab9=>{var _0x42d19c=_0x3f8454;_0x441cb0(await this[_0x42d19c(0x2ef)](_0x49eab9===se[_0x42d19c(0x4e8)]));});});}[_0x422fe2(0x1b5)](){const _0xa4754d=this['unitID'];return{'onStateChange':(_0xab771a,_0x183dc8)=>{var _0xbe2a90=_0x307d;if(_0xab771a!==this[_0xbe2a90(0x1c5)])throw new Error(_0xbe2a90(0x3f7)+_0xab771a[_0xbe2a90(0x212)]+_0xbe2a90(0x234)+_0x183dc8[_0xbe2a90(0x212)]+'\x0aCurrent:\x20'+this[_0xbe2a90(0x1c5)][_0xbe2a90(0x212)]);this['_updateState'](_0x183dc8);},'onSendChangeset':_0x110b12=>{var _0x100e3f=_0x307d;_0x110b12['sid']||(_0x110b12[_0x100e3f(0x2f7)]=this[_0x100e3f(0x3a6)],_0x110b12[_0x100e3f(0x35d)]=++this[_0x100e3f(0x487)]);const _0x233db9={'eventID':E['CollaborationEvent'][_0x100e3f(0x47e)],'data':{'unitID':_0x110b12[_0x100e3f(0x506)],'unitType':this[_0x100e3f(0x33b)],'changeset':_0x110b12,'memberID':this[_0x100e3f(0x389)][_0x100e3f(0x508)]()}};this[_0x100e3f(0x389)]['send'](_0x233db9,this[_0x100e3f(0x506)]);},'onMissingChangesets':({from:_0x5e2f19,to:_0x4b047f})=>{var _0x173dfd=_0x307d;this[_0x173dfd(0x1bb)][_0x173dfd(0x455)](_0x173dfd(0x1fe),_0x173dfd(0x39a)+_0x5e2f19+'\x20to\x20'+_0x4b047f);const _0x1bd068={'eventID':E['CollaborationEvent'][_0x173dfd(0x253)],'data':{'unitID':_0xa4754d,'unitType':this[_0x173dfd(0x33b)],'from':_0x5e2f19,'to':_0x4b047f}};this[_0x173dfd(0x389)][_0x173dfd(0x48b)](_0x1bd068,this[_0x173dfd(0x506)]);}};}async[_0x422fe2(0x2ef)](_0x38f757){var _0x1407ad=_0x422fe2,_0x314044,_0x5d02d4,_0x5e76b0;const _0x250ca4=await((_0x314044=this[_0x1407ad(0x1be)])==null?void 0x0:_0x314044['loadOfflineData'](this[_0x1407ad(0x506)])),_0x45a9eb=(_0x5d02d4=_0x250ca4==null?void 0x0:_0x250ca4['mutations'])!=null?_0x5d02d4:[],_0xcb9fb0=(_0x5e76b0=_0x250ca4==null?void 0x0:_0x250ca4[_0x1407ad(0x35e)])!=null?_0x5e76b0:null,_0x126ba2=!!(_0xcb9fb0!=null&&_0xcb9fb0[_0x1407ad(0x2f7)])&&!!(_0xcb9fb0!=null&&_0xcb9fb0['reqId']);this['_changesetSessionId']=_0x126ba2?_0xcb9fb0[_0x1407ad(0x2f7)]:E[_0x1407ad(0x362)](),this[_0x1407ad(0x487)]=_0x126ba2?_0xcb9fb0[_0x1407ad(0x35d)]:0x0;const _0x18224f=this[_0x1407ad(0x506)];try{this[_0x1407ad(0x2a5)](_0xcb9fb0,_0x45a9eb);}catch(_0x11a7be){this['_logService'][_0x1407ad(0x18d)](_0x11a7be);}const _0x12498b=this['_createHandler']();if(_0x38f757){const _0x6bd8dd=mt(this[_0x1407ad(0x3d5)],_0x18224f,this[_0x1407ad(0x33b)],_0xcb9fb0,_0x45a9eb,_0x12498b);return _0x6bd8dd instanceof exports[_0x1407ad(0x4eb)]?_0x6bd8dd[_0x1407ad(0x382)]():(_0x6bd8dd instanceof exports[_0x1407ad(0x45e)]||_0x6bd8dd instanceof exports[_0x1407ad(0x1c1)])&&_0x6bd8dd[_0x1407ad(0x307)](),_0x6bd8dd;}return this[_0x1407ad(0x3d5)][_0x1407ad(0x468)](exports[_0x1407ad(0x4c1)],_0x18224f,this[_0x1407ad(0x33b)],_0xcb9fb0,_0x45a9eb,_0x12498b);}[_0x422fe2(0x2a5)](_0x4231bb,_0x15fc93){var _0x3160ec=_0x422fe2,_0x1435e0,_0x10b1f3;const _0x51d106=this[_0x3160ec(0x309)][_0x3160ec(0x4c6)][_0x3160ec(0x1f2)](this['_compressMutationService']['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x1435e0=_0x51d106((_0x4231bb==null?void 0x0:_0x4231bb['mutations'])||[],null))==null||_0x1435e0[_0x3160ec(0x214)](_0x2e746f=>this[_0x3160ec(0x3ed)][_0x3160ec(0x50f)](_0x2e746f['id'],_0x2e746f[_0x3160ec(0x1d8)])),(_0x10b1f3=_0x51d106(_0x15fc93||[],null))==null||_0x10b1f3[_0x3160ec(0x214)](_0x294825=>this[_0x3160ec(0x3ed)][_0x3160ec(0x50f)](_0x294825['id'],_0x294825[_0x3160ec(0x1d8)]));}},exports['CollaborationEntity']=Be([$(0x3,o[_0x422fe2(0x2dc)](o['Injector'])),$(0x4,o[_0x422fe2(0x2dc)](E[_0x422fe2(0x497)])),$(0x5,o[_0x422fe2(0x2dc)](o[_0x422fe2(0x463)])),$(0x6,o[_0x422fe2(0x2dc)](E[_0x422fe2(0x392)])),$(0x7,o['Inject'](ee)),$(0x8,o['IUniverInstanceService']),$(0x9,o['ILogService']),$(0xa,o[_0x422fe2(0x42a)]),$(0xb,o[_0x422fe2(0x2c2)]),$(0xc,o[_0x422fe2(0x1ce)](ve)),$(0xd,o[_0x422fe2(0x1ce)](q))],exports[_0x422fe2(0x25b)]),exports[_0x422fe2(0x452)]=class extends exports[_0x422fe2(0x25b)]{constructor(_0x980d4a,_0x3bdcd9,_0x2789a9,_0x582de7,_0x3e7a31,_0xa3dcc2,_0x48bc24,_0x4f5b7e,_0x33640d,_0x515a75,_0x39b41d,_0x7dd51f,_0x324a0d,_0x2a95cc){var _0x459de2=_0x422fe2;super(_0x980d4a,_0x2789a9,_0x3bdcd9,_0x582de7,_0x3e7a31,_0xa3dcc2,_0x48bc24,_0x4f5b7e,_0x33640d,_0x515a75,_0x39b41d,_0x7dd51f,_0x324a0d,_0x2a95cc),A(this,_0x459de2(0x20b),null),(this[_0x459de2(0x506)]=_0x980d4a,this[_0x459de2(0x444)]=_0x3bdcd9);}[_0x422fe2(0x1ff)](_0x540fca){this['_handlerCallback']=_0x540fca;}['dispose'](){var _0x10ef51=_0x422fe2;this['_handlerCallback']=null,super[_0x10ef51(0x1c7)]();}[_0x422fe2(0x1b5)](){var _0x19e08b=_0x422fe2;const _0x3a8109=super[_0x19e08b(0x1b5)]();return _0x3a8109[_0x19e08b(0x28a)]=_0x314a09=>{var _0x171683=_0x19e08b,_0xb432e8,_0x590447;return(_0x590447=(_0xb432e8=this[_0x171683(0x20b)])==null?void 0x0:_0xb432e8[_0x171683(0x28a)])==null?void 0x0:_0x590447[_0x171683(0x36d)](_0xb432e8,_0x314a09);},_0x3a8109['onTransformState']=_0x3940cc=>{var _0x43e916=_0x19e08b,_0x2cd39f,_0x74138a;return(_0x74138a=(_0x2cd39f=this['_handlerCallback'])==null?void 0x0:_0x2cd39f['onTransformState'])==null?void 0x0:_0x74138a[_0x43e916(0x36d)](_0x2cd39f,_0x3940cc);},_0x3a8109['onTransformSelections']=_0x9966f1=>{var _0x583b38=_0x19e08b,_0x32c267,_0x190b0e;return(_0x190b0e=(_0x32c267=this[_0x583b38(0x20b)])==null?void 0x0:_0x32c267[_0x583b38(0x46f)])==null?void 0x0:_0x190b0e[_0x583b38(0x36d)](_0x32c267,_0x9966f1);},_0x3a8109[_0x19e08b(0x1de)]=_0x4a2db3=>{var _0x152bdf=_0x19e08b,_0x5298be,_0x4e38af;return(_0x4e38af=(_0x5298be=this[_0x152bdf(0x20b)])==null?void 0x0:_0x5298be[_0x152bdf(0x1de)])==null?void 0x0:_0x4e38af[_0x152bdf(0x36d)](_0x5298be,_0x4a2db3);},_0x3a8109[_0x19e08b(0x460)]=_0x4afdd5=>{var _0x284be0=_0x19e08b,_0x1b95cf,_0x334613,_0x2adc34;if(!((_0x1b95cf=this[_0x284be0(0x20b)])!=null&&_0x1b95cf[_0x284be0(0x460)]))throw new Error(_0x284be0(0x3ac));return(_0x2adc34=(_0x334613=this[_0x284be0(0x20b)])==null?void 0x0:_0x334613[_0x284be0(0x460)])==null?void 0x0:_0x2adc34[_0x284be0(0x36d)](_0x334613,_0x4afdd5);},_0x3a8109[_0x19e08b(0x43f)]=_0x58db92=>{var _0x2d97f1=_0x19e08b,_0x32c235,_0x14df1e,_0x10070d;if(!((_0x32c235=this[_0x2d97f1(0x20b)])!=null&&_0x32c235[_0x2d97f1(0x43f)]))throw new Error(_0x2d97f1(0x272));return(_0x10070d=(_0x14df1e=this[_0x2d97f1(0x20b)])==null?void 0x0:_0x14df1e['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x10070d[_0x2d97f1(0x36d)](_0x14df1e,_0x58db92);},_0x3a8109;}async['_init'](){var _0x2ed570=_0x422fe2;const _0x28b870=await super[_0x2ed570(0x299)]();return this[_0x2ed570(0x248)](this[_0x2ed570(0x3ed)][_0x2ed570(0x49f)]((_0x5ac84d,_0x18ddc0)=>{var _0xb7ed20=_0x2ed570;if(_0x5ac84d[_0xb7ed20(0x444)]!==o[_0xb7ed20(0x48e)]['MUTATION']||_0x18ddc0!=null&&_0x18ddc0[_0xb7ed20(0x1ae)]||_0x18ddc0!=null&&_0x18ddc0[_0xb7ed20(0x338)]||_0x5ac84d['id']===_t[_0xb7ed20(0x35a)]['id'])return;const _0xdddf82=_0x5ac84d[_0xb7ed20(0x1d8)];if((_0xdddf82==null?void 0x0:_0xdddf82[_0xb7ed20(0x290)])!==this[_0xb7ed20(0x506)])return;const _0x52abd9=_0x5ac84d,_0xe4bfe6=this[_0xb7ed20(0x309)][_0xb7ed20(0x4c6)]['fetchThroughInterceptors'](this['_compressMutationService'][_0xb7ed20(0x4c6)][_0xb7ed20(0x473)]()[_0xb7ed20(0x1f8)])([_0x52abd9],this[_0xb7ed20(0x39b)])||[_0x52abd9];this['_onLocalMutation'](_0xe4bfe6[0x0]);})),_0x28b870;}},exports[_0x422fe2(0x452)]=Be([$(0x3,o[_0x422fe2(0x2dc)](o[_0x422fe2(0x4b0)])),$(0x4,o[_0x422fe2(0x2dc)](E[_0x422fe2(0x497)])),$(0x5,o['Inject'](o[_0x422fe2(0x463)])),$(0x6,o[_0x422fe2(0x2dc)](E[_0x422fe2(0x392)])),$(0x7,o[_0x422fe2(0x2dc)](ee)),$(0x8,o[_0x422fe2(0x288)]),$(0x9,o[_0x422fe2(0x2ed)]),$(0xa,o['ICommandService']),$(0xb,o['IPermissionService']),$(0xc,o['Optional'](ve)),$(0xd,o['Optional'](q))],exports[_0x422fe2(0x452)]),exports[_0x422fe2(0x46c)]=class extends exports['CollaborationEntity']{constructor(_0x209b1a,_0x43743a,_0xa03493,_0x545de1,_0x726e0c,_0x3fcf12,_0x51c35b,_0x4dab7e,_0x9342cf,_0x22d302,_0xe31443,_0x18af9e,_0x76966c,_0x1298bb,_0x5a552a){var _0x58cc06=_0x422fe2;super(_0x209b1a,_0xa03493,_0x43743a,_0x545de1,_0x726e0c,_0x3fcf12,_0x51c35b,_0x9342cf,_0x22d302,_0xe31443,_0x18af9e,_0x76966c,_0x1298bb,_0x5a552a),this[_0x58cc06(0x506)]=_0x209b1a,this[_0x58cc06(0x444)]=_0x43743a,this['_sheetTransformSelectionsService']=_0x4dab7e;}[_0x422fe2(0x1b5)](){var _0x4a3c1a=_0x422fe2;const _0x2729f9=super[_0x4a3c1a(0x1b5)]();return _0x2729f9[_0x4a3c1a(0x46f)]=_0x20d1f4=>this[_0x4a3c1a(0x385)][_0x4a3c1a(0x4d0)](_0x20d1f4),_0x2729f9;}async[_0x422fe2(0x299)](){var _0x1bdbcb=_0x422fe2;const _0x4d2842=await super[_0x1bdbcb(0x299)]();return this[_0x1bdbcb(0x248)](this[_0x1bdbcb(0x3ed)][_0x1bdbcb(0x49f)]((_0x430777,_0x1e3e12)=>{var _0x4cff7f=_0x1bdbcb;if(_0x430777[_0x4cff7f(0x444)]!==o['CommandType'][_0x4cff7f(0x407)]||_0x1e3e12!=null&&_0x1e3e12['fromCollab']||_0x1e3e12!=null&&_0x1e3e12[_0x4cff7f(0x338)])return;const _0x3120cd=_0x430777[_0x4cff7f(0x1d8)];if((_0x3120cd==null?void 0x0:_0x3120cd[_0x4cff7f(0x290)])!==this['unitID'])return;const _0x1affca=_0x430777,_0x72d3bd=this[_0x4cff7f(0x309)][_0x4cff7f(0x4c6)][_0x4cff7f(0x1f2)](this['_compressMutationService'][_0x4cff7f(0x4c6)][_0x4cff7f(0x473)]()[_0x4cff7f(0x1f8)])([_0x1affca],this['_univerInstanceService'])||[_0x1affca];this[_0x4cff7f(0x297)](_0x72d3bd[0x0]);})),_0x4d2842;}},exports[_0x422fe2(0x46c)]=Be([$(0x3,o[_0x422fe2(0x2dc)](o[_0x422fe2(0x4b0)])),$(0x4,o[_0x422fe2(0x2dc)](E[_0x422fe2(0x497)])),$(0x5,o[_0x422fe2(0x2dc)](o[_0x422fe2(0x463)])),$(0x6,o['Inject'](E['RevisionService'])),$(0x7,o[_0x422fe2(0x2dc)](exports[_0x422fe2(0x4c0)])),$(0x8,o[_0x422fe2(0x2dc)](ee)),$(0x9,o[_0x422fe2(0x288)]),$(0xa,o['ILogService']),$(0xb,o['ICommandService']),$(0xc,o[_0x422fe2(0x2c2)]),$(0xd,o[_0x422fe2(0x1ce)](ve)),$(0xe,o[_0x422fe2(0x1ce)](q))],exports['SheetCollaborationEntity']);const gt=o[_0x422fe2(0x1eb)](_0x422fe2(0x4b6));function Tt(_0x1380a1){var _0x45e83e=_0x422fe2,_0x5e317c,_0x209e49,_0x507883,_0x5ae61c,_0x1c5150;const _0x3cde5f=_0x1380a1[_0x45e83e(0x374)],_0x598caa=JSON[_0x45e83e(0x2f5)](_0x3cde5f);switch(_0x598caa[_0x45e83e(0x187)]){case W[_0x45e83e(0x3e0)]:case W[_0x45e83e(0x4b5)]:{const _0x385c48=_0x598caa[_0x45e83e(0x336)];return{..._0x598caa,'data':_0x385c48,'cmd':_0x598caa[_0x45e83e(0x187)]};}case W['JOIN']:{const _0x2a4003=_0x598caa[_0x45e83e(0x474)];return{..._0x598caa,'data':_0x2a4003,'cmd':_0x598caa['cmd']};}case W[_0x45e83e(0x379)]:{const _0x5e9700=_0x598caa['collaMsg'];switch(_0x5e9700[_0x45e83e(0x190)]){case E[_0x45e83e(0x185)][_0x45e83e(0x23e)]:return{..._0x598caa,'data':{..._0x5e9700,'data':(_0x5e317c=_0x5e9700[_0x45e83e(0x4a7)])==null?void 0x0:_0x5e317c['cs']},'cmd':_0x598caa['cmd']};case E[_0x45e83e(0x185)][_0x45e83e(0x3d1)]:return{..._0x598caa,'data':{..._0x5e9700,'data':(_0x209e49=_0x5e9700[_0x45e83e(0x32f)])==null?void 0x0:_0x209e49['cs']},'cmd':_0x598caa[_0x45e83e(0x187)]};case E['CollaborationEvent'][_0x45e83e(0x491)]:return{..._0x598caa,'data':{..._0x5e9700,'data':(_0x507883=_0x5e9700[_0x45e83e(0x323)])==null?void 0x0:_0x507883['cs']},'cmd':_0x598caa[_0x45e83e(0x187)]};case E[_0x45e83e(0x185)][_0x45e83e(0x406)]:return{..._0x598caa,'data':{..._0x5e9700,'data':(_0x5ae61c=_0x5e9700['csRejEvent'])==null?void 0x0:_0x5ae61c['cs']},'cmd':_0x598caa['cmd']};case E[_0x45e83e(0x185)][_0x45e83e(0x2f4)]:return{..._0x598caa,'data':{..._0x5e9700,'data':(_0x1c5150=_0x5e9700[_0x45e83e(0x357)])==null?void 0x0:_0x1c5150['cs']},'cmd':_0x598caa['cmd']};case E[_0x45e83e(0x185)]['UPDATE_CURSOR']:return{..._0x598caa,'data':{..._0x5e9700,'data':_0x5e9700[_0x45e83e(0x403)]},'cmd':_0x598caa[_0x45e83e(0x187)]};case E[_0x45e83e(0x185)]['USERS_ENTER']:return{..._0x598caa,'data':{..._0x5e9700,'data':_0x5e9700[_0x45e83e(0x358)]},'cmd':_0x598caa[_0x45e83e(0x187)]};case E['CollaborationEvent'][_0x45e83e(0x219)]:return{..._0x598caa,'data':{..._0x5e9700,'data':_0x5e9700[_0x45e83e(0x351)]},'cmd':_0x598caa['cmd']};case E['CollaborationEvent'][_0x45e83e(0x1c6)]:return{..._0x598caa,'data':{..._0x5e9700,'data':_0x5e9700[_0x45e83e(0x4b4)]},'cmd':_0x598caa[_0x45e83e(0x187)]};case E[_0x45e83e(0x185)][_0x45e83e(0x353)]:case E['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x598caa,'data':{..._0x5e9700,'data':_0x5e9700[_0x45e83e(0x314)]},'cmd':_0x598caa[_0x45e83e(0x187)]};case E[_0x45e83e(0x185)]['LIVESHARE_TERMINATE']:return{..._0x598caa,'data':{..._0x5e9700,'data':_0x5e9700[_0x45e83e(0x4b4)]},'cmd':_0x598caa[_0x45e83e(0x187)]};case E['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x598caa,'data':_0x5e9700,'cmd':_0x598caa[_0x45e83e(0x187)]};case E[_0x45e83e(0x185)][_0x45e83e(0x498)]:return{..._0x598caa,'data':{..._0x5e9700,'data':_0x5e9700[_0x45e83e(0x3c0)]},'cmd':_0x598caa[_0x45e83e(0x187)]};case E[_0x45e83e(0x185)][_0x45e83e(0x24c)]:return{..._0x598caa,'data':{..._0x5e9700,'data':_0x5e9700['updatePermissionObjEvent']},'cmd':_0x598caa[_0x45e83e(0x187)]};case E[_0x45e83e(0x185)][_0x45e83e(0x279)]:return{..._0x598caa,'data':{..._0x5e9700,'data':_0x5e9700['shouldCloseConn']},'cmd':_0x598caa[_0x45e83e(0x187)]};case E['CollaborationEvent']['UNISCRIPT_RUN']:return{..._0x598caa,'data':{..._0x5e9700,'data':_0x5e9700['uniscriptRunEvent']},'cmd':_0x598caa[_0x45e83e(0x187)]};default:return _0x598caa;}}default:return _0x598caa;}}function Ct(_0x26799b){var _0x2c40e4=_0x422fe2;switch(_0x26799b[_0x2c40e4(0x187)]){case W[_0x2c40e4(0x3e0)]:case W[_0x2c40e4(0x4b5)]:return JSON[_0x2c40e4(0x4dc)]({'cmd':_0x26799b['cmd'],'routeKey':_0x26799b[_0x2c40e4(0x50d)]});case W[_0x2c40e4(0x231)]:{let _0x210dba;switch(_0x26799b[_0x2c40e4(0x374)][_0x2c40e4(0x190)]){case E[_0x2c40e4(0x185)][_0x2c40e4(0x40d)]:{_0x210dba={'eventID':E[_0x2c40e4(0x185)][_0x2c40e4(0x40d)],'updateCursorEvent':_0x26799b['data'][_0x2c40e4(0x374)]};break;}case E[_0x2c40e4(0x185)]['USERS_LEAVE']:{_0x210dba={'eventID':E[_0x2c40e4(0x185)][_0x2c40e4(0x219)],'leaveEvent':_0x26799b['data'][_0x2c40e4(0x374)]};break;}case E['CollaborationEvent'][_0x2c40e4(0x3b3)]:{_0x210dba={'eventID':E[_0x2c40e4(0x185)]['USERS_ENTER'],'joinEvent':_0x26799b[_0x2c40e4(0x374)][_0x2c40e4(0x374)]};break;}case E[_0x2c40e4(0x185)][_0x2c40e4(0x1c6)]:{_0x210dba={'eventID':E[_0x2c40e4(0x185)][_0x2c40e4(0x1c6)],'liveShareNewHost':_0x26799b[_0x2c40e4(0x374)][_0x2c40e4(0x374)]};break;}case E[_0x2c40e4(0x185)][_0x2c40e4(0x43b)]:{_0x210dba={'eventID':E['CollaborationEvent'][_0x2c40e4(0x43b)],'liveShareOperation':_0x26799b[_0x2c40e4(0x374)][_0x2c40e4(0x374)]};break;}case E['CollaborationEvent'][_0x2c40e4(0x22e)]:{_0x210dba={'eventID':E['CollaborationEvent'][_0x2c40e4(0x22e)],'liveShareTerminate':_0x26799b['data'][_0x2c40e4(0x374)]};break;}case E[_0x2c40e4(0x185)][_0x2c40e4(0x43c)]:{_0x210dba={'eventID':E[_0x2c40e4(0x185)][_0x2c40e4(0x43c)],'liveShareRequestHost':_0x26799b['data']['data']};break;}case E[_0x2c40e4(0x185)]['LIVESHARE_FETCH_OPERATIONS']:{_0x210dba={'eventID':E[_0x2c40e4(0x185)][_0x2c40e4(0x353)]};break;}default:_0x210dba={'eventID':_0x26799b[_0x2c40e4(0x374)][_0x2c40e4(0x190)]};}return JSON['stringify']({'cmd':_0x26799b[_0x2c40e4(0x187)],'routeKey':_0x26799b[_0x2c40e4(0x50d)],'collaMsg':_0x210dba});}case W[_0x2c40e4(0x2d4)]:return JSON[_0x2c40e4(0x4dc)]({'cmd':_0x26799b['cmd'],'routeKey':_0x26799b[_0x2c40e4(0x50d)],'joinReq':_0x26799b['data']});case W[_0x2c40e4(0x388)]:return JSON[_0x2c40e4(0x4dc)]({'cmd':_0x26799b['cmd'],'routeKey':_0x26799b[_0x2c40e4(0x50d)],'leaveReq':_0x26799b[_0x2c40e4(0x374)]});default:throw new Error(_0x2c40e4(0x49e));}}var oi=Object[_0x422fe2(0x271)],ci=(_0x2dfeb2,_0x269534,_0x153a08,_0x542cb9)=>{var _0x373160=_0x422fe2;for(var _0x5d52da=_0x542cb9>0x1?void 0x0:_0x542cb9?oi(_0x269534,_0x153a08):_0x269534,_0x3b2b51=_0x2dfeb2[_0x373160(0x354)]-0x1,_0x3bbd6c;_0x3b2b51>=0x0;_0x3b2b51--)(_0x3bbd6c=_0x2dfeb2[_0x3b2b51])&&(_0x5d52da=_0x3bbd6c(_0x5d52da)||_0x5d52da);return _0x5d52da;},he=(_0x2378bb,_0x532260)=>(_0x233035,_0x2e6310)=>_0x532260(_0x233035,_0x2e6310,_0x2378bb);const Fe=o[_0x422fe2(0x1eb)](_0x422fe2(0x4ef));function _i(_0x370c70,_0xe1b1ae,_0x5c04de){var _0x1183e5=_0x422fe2;return _0x370c70+'/'+_0xe1b1ae+_0x1183e5(0x21d)+_0x5c04de+_0x1183e5(0x328);}exports[_0x422fe2(0x1a9)]=class extends o[_0x422fe2(0x39d)]{constructor(_0x2c3169,_0x3add69,_0x8c3dcb,_0x299e1b,_0x574843){var _0x594c51=_0x422fe2;super(),this[_0x594c51(0x3d5)]=_0x2c3169,this[_0x594c51(0x43e)]=_0x3add69,this[_0x594c51(0x19e)]=_0x8c3dcb,this[_0x594c51(0x1bb)]=_0x299e1b,this[_0x594c51(0x2b6)]=_0x574843;}[_0x422fe2(0x246)](_0x3b3a80){var _0x1e4404=_0x422fe2;const _0x32c7e8=this[_0x1e4404(0x3d5)][_0x1e4404(0x2c3)](K[_0x1e4404(0x4da)]);if(!_0x32c7e8)throw new Error(_0x1e4404(0x262));const _0x2e7ac0=_0x32c7e8[_0x1e4404(0x4b9)](_0x3b3a80);if(!_0x2e7ac0)throw new Error(_0x1e4404(0x2f0));const _0x2ffc19=new o['DisposableCollection'](),_0x23a3e2=new j[(_0x1e4404(0x33d))]();_0x2ffc19[_0x1e4404(0x24e)](_0x2e7ac0[_0x1e4404(0x25d)][_0x1e4404(0x3e6)](_0x4758e0=>_0x23a3e2[_0x1e4404(0x20e)](_0x4758e0))),_0x2ffc19[_0x1e4404(0x24e)](o['toDisposable'](()=>_0x23a3e2[_0x1e4404(0x2a4)]()));const _0x283c70=new j[(_0x1e4404(0x33d))]();_0x2ffc19[_0x1e4404(0x24e)](_0x2e7ac0[_0x1e4404(0x2aa)][_0x1e4404(0x3e6)](_0x2ccdd6=>_0x283c70[_0x1e4404(0x20e)](_0x2ccdd6))),_0x2ffc19[_0x1e4404(0x24e)](o[_0x1e4404(0x1a2)](()=>_0x283c70[_0x1e4404(0x2a4)]()));const _0x276aa0=new j[(_0x1e4404(0x33d))]();_0x2ffc19[_0x1e4404(0x24e)](_0x2e7ac0['message$'][_0x1e4404(0x3e6)](_0x3ebf6c=>{const _0x48965a=Tt(_0x3ebf6c);_0x276aa0['next'](_0x48965a);})),_0x2ffc19[_0x1e4404(0x24e)](o['toDisposable'](()=>_0x276aa0[_0x1e4404(0x2a4)]()));let _0x53a596;const _0x55b470=()=>{var _0xa61eae=_0x1e4404;_0x283c70[_0xa61eae(0x20e)](new Event('connection\x20error')),_0x23a3e2[_0xa61eae(0x20e)](new Event(_0xa61eae(0x2d5))),_0x53a596[_0xa61eae(0x4d1)]();};return _0x53a596={'memberID':'','close$':_0x23a3e2[_0x1e4404(0x4af)](),'error$':_0x283c70[_0x1e4404(0x4af)](),'open$':_0x2e7ac0[_0x1e4404(0x4e9)],'message$':_0x276aa0[_0x1e4404(0x4af)](),'send':_0x14e4d9=>{var _0x97cb1=_0x1e4404;if(_0x14e4d9[_0x97cb1(0x187)]===W[_0x97cb1(0x231)]){if(_0x14e4d9['data'][_0x97cb1(0x190)]===E[_0x97cb1(0x185)][_0x97cb1(0x47e)]){this[_0x97cb1(0x2f6)](_0x53a596,_0x14e4d9[_0x97cb1(0x374)])['catch'](_0x1d1e42=>{var _0x3c4fb5=_0x97cb1;this['_logService'][_0x3c4fb5(0x18d)](_0x1d1e42),_0x55b470();});return;}if(_0x14e4d9[_0x97cb1(0x374)]['eventID']===E[_0x97cb1(0x185)][_0x97cb1(0x253)]){const _0x52ee64=_0x14e4d9[_0x97cb1(0x374)];this[_0x97cb1(0x38e)](_0x52ee64)[_0x97cb1(0x1f0)](_0x31e6a7=>{var _0x5960fc=_0x97cb1;_0x276aa0['next']({'cmd':W[_0x5960fc(0x379)],'code':re['OK'],'routeKey':_0x52ee64[_0x5960fc(0x374)][_0x5960fc(0x506)],'routeType':'','data':{'eventID':E['CollaborationEvent'][_0x5960fc(0x4d6)],'data':{'changesets':_0x31e6a7}}});})[_0x97cb1(0x3e9)](_0x39059e=>{var _0x2ae503=_0x97cb1;this[_0x2ae503(0x1bb)]['error'](_0x39059e),_0x55b470();});return;}}_0x2e7ac0['send'](Ct(_0x14e4d9));},'close':()=>{var _0x47b885=_0x1e4404;_0x2e7ac0[_0x47b885(0x4d1)](),_0x2ffc19[_0x47b885(0x1c7)]();}},_0x53a596;}async[_0x422fe2(0x2f6)](_0x16a3bc,_0x1e9720){var _0x1fcdb7=_0x422fe2,_0x4817d6;const {unitType:_0x55f73c,unitID:_0x1b1916,changeset:_0x143f07}=_0x1e9720[_0x1fcdb7(0x374)],_0x3eff44={'unitID':_0x1b1916,'memberID':_0x16a3bc['memberID'],'type':_0x55f73c,'changeset':E[_0x1fcdb7(0x1b4)](_0x143f07)},_0x547f7d=this['_configService'][_0x1fcdb7(0x435)](Y),_0x409fae=_i((_0x4817d6=_0x547f7d==null?void 0x0:_0x547f7d[_0x1fcdb7(0x277)])!=null?_0x4817d6:jt,_0x55f73c,_0x1b1916);try{await this[_0x1fcdb7(0x43e)]['post'](_0x409fae,{'body':_0x3eff44});}catch(_0x2accce){throw this[_0x1fcdb7(0x1bb)][_0x1fcdb7(0x18d)](_0x1fcdb7(0x2b1),_0x1fcdb7(0x342)),_0x2accce;}}async['_fetchMissChangesets'](_0x1b795f){var _0x45cf13=_0x422fe2;const {unitID:_0x3f14a4,from:_0x2f54b0,to:_0x2d34c6,unitType:_0x6c70c4}=_0x1b795f[_0x45cf13(0x374)];return(await this[_0x45cf13(0x2b6)][_0x45cf13(0x31d)]({'metadata':void 0x0},{'unitID':_0x3f14a4,'type':_0x6c70c4,'from':_0x2f54b0,'to':_0x2d34c6}))[_0x45cf13(0x1e9)]['map'](_0x194035=>((_0x194035[_0x45cf13(0x2e7)]===null||_0x194035[_0x45cf13(0x2e7)]===void 0x0)&&(_0x194035[_0x45cf13(0x2e7)]=[]),_0x194035));}},exports[_0x422fe2(0x1a9)]=ci([he(0x0,o['Inject'](o[_0x422fe2(0x4b0)])),he(0x1,o[_0x422fe2(0x2dc)](K['HTTPService'])),he(0x2,o[_0x422fe2(0x1e3)]),he(0x3,o[_0x422fe2(0x2ed)]),he(0x4,E['ISnapshotServerService'])],exports[_0x422fe2(0x1a9)]);var hi=Object[_0x422fe2(0x271)],li=(_0xebe6f6,_0x585844,_0x433ee3,_0x221a83)=>{for(var _0x47c3eb=_0x221a83>0x1?void 0x0:_0x221a83?hi(_0x585844,_0x433ee3):_0x585844,_0x28888a=_0xebe6f6['length']-0x1,_0x3be18d;_0x28888a>=0x0;_0x28888a--)(_0x3be18d=_0xebe6f6[_0x28888a])&&(_0x47c3eb=_0x3be18d(_0x47c3eb)||_0x47c3eb);return _0x47c3eb;},_e=(_0x1409fd,_0x34d26b)=>(_0x23ba27,_0x5b7824)=>_0x34d26b(_0x23ba27,_0x5b7824,_0x1409fd);exports['CollaborationSessionService']=class extends o['Disposable']{constructor(_0x4e7747,_0xd81b4,_0x345a7b,_0x20dfa6,_0x2d3676,_0x2d7fb8){var _0x2b7bc8=_0x422fe2;super(),A(this,_0x2b7bc8(0x37f),new j[(_0x2b7bc8(0x24f))](void 0x0)),A(this,_0x2b7bc8(0x200),this[_0x2b7bc8(0x37f)][_0x2b7bc8(0x4af)]()),A(this,_0x2b7bc8(0x4d2),null),A(this,_0x2b7bc8(0x343),new Map()),A(this,'_status$',new j[(_0x2b7bc8(0x24f))](se[_0x2b7bc8(0x335)])),A(this,'status$',this['_status$'][_0x2b7bc8(0x4af)]()),A(this,_0x2b7bc8(0x4e4),!0x1),A(this,_0x2b7bc8(0x45c)),A(this,_0x2b7bc8(0x1d9),0x0),A(this,_0x2b7bc8(0x4cf)),A(this,_0x2b7bc8(0x50e)),(this[_0x2b7bc8(0x3d5)]=_0x4e7747,this[_0x2b7bc8(0x1bb)]=_0xd81b4,this[_0x2b7bc8(0x19e)]=_0x345a7b,this[_0x2b7bc8(0x3fe)]=_0x20dfa6,this[_0x2b7bc8(0x186)]=_0x2d3676,this[_0x2b7bc8(0x24a)]=_0x2d7fb8,this[_0x2b7bc8(0x27a)]());}get[_0x422fe2(0x363)](){var _0x333a12=_0x422fe2;return this[_0x333a12(0x37f)][_0x333a12(0x2ff)]();}[_0x422fe2(0x27a)](){var _0x1d781e=_0x422fe2;this[_0x1d781e(0x24a)]&&this[_0x1d781e(0x248)](this['_networkConditionService'][_0x1d781e(0x3a9)][_0x1d781e(0x3e6)](_0x19435f=>{var _0x4eb7c3=_0x1d781e;_0x19435f&&!this[_0x4eb7c3(0x363)]&&this['reconnect'](),_0x19435f||this[_0x4eb7c3(0x2e3)]();}));}[_0x422fe2(0x1c7)](){var _0x1bc081=_0x422fe2;super[_0x1bc081(0x1c7)](),this[_0x1bc081(0x18a)](),this[_0x1bc081(0x222)](),this[_0x1bc081(0x4ea)](),this[_0x1bc081(0x343)][_0x1bc081(0x214)](_0x523eb2=>_0x523eb2[_0x1bc081(0x1c7)]()),this[_0x1bc081(0x343)][_0x1bc081(0x361)](),this['_status$']['complete']();}async[_0x422fe2(0x2da)](_0x580249){var _0x4f4530=_0x422fe2;if(this[_0x4f4530(0x343)][_0x4f4530(0x1cb)](_0x580249))return this[_0x4f4530(0x343)][_0x4f4530(0x2c3)](_0x580249);this[_0x4f4530(0x3e5)]();const _0x5e4d19=this[_0x4f4530(0x3d5)]['createInstance'](exports[_0x4f4530(0x1a7)],_0x580249,this[_0x4f4530(0x37f)][_0x4f4530(0x4af)]());return this[_0x4f4530(0x343)][_0x4f4530(0x2a8)](_0x580249,_0x5e4d19),_0x5e4d19;}[_0x422fe2(0x23d)](_0x534e49){var _0x35a257=_0x422fe2,_0x193c8b;const _0x56511e=this['_sessions'][_0x35a257(0x2c3)](_0x534e49);_0x56511e&&(this['_sessions'][_0x35a257(0x34a)](_0x534e49),_0x56511e[_0x35a257(0x4d1)]()),this[_0x35a257(0x343)]['size']||(_0x193c8b=this['_socket'])==null||_0x193c8b[_0x35a257(0x4d1)]();}['reconnect'](){var _0x4556a9=_0x422fe2;this[_0x4556a9(0x1d9)]=0x0,this[_0x4556a9(0x18a)](),this[_0x4556a9(0x2fd)]();}['_clearRetryConnectingTimer'](){var _0x5c177a=_0x422fe2;this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x5c177a(0x45c)]=null);}async[_0x422fe2(0x1ca)](){var _0x176090=_0x422fe2,_0x24f8c2;const _0x2f4c28=this[_0x176090(0x19e)]['getConfig'](Y),_0x21535f=(_0x24f8c2=_0x2f4c28==null?void 0x0:_0x2f4c28['collabWebSocketUrl'])!=null?_0x24f8c2:lt,_0xa5089=await this['_socketService'][_0x176090(0x4b9)](_0x21535f);return this[_0x176090(0x4d2)]=_0xa5089,_0xa5089;}async[_0x422fe2(0x3e5)](){var _0x36a132=_0x422fe2,_0x423b1e,_0x249aa3;try{const _0x5b4533=(_0x249aa3=(_0x423b1e=this[_0x36a132(0x363)])!=null?_0x423b1e:this[_0x36a132(0x4d2)])!=null?_0x249aa3:await this[_0x36a132(0x1ca)]();if(_0x5b4533){const _0x433dd3=_0x5b4533['send'];_0x5b4533[_0x36a132(0x48b)]=_0x335e7c=>(_0x335e7c[_0x36a132(0x187)]!==W[_0x36a132(0x388)]&&this['_rescheduleHeartbeat'](),_0x433dd3[_0x36a132(0x312)](_0x5b4533,[_0x335e7c])),_0x5b4533['message$'][_0x36a132(0x3e6)](_0xb5c524=>this[_0x36a132(0x233)](_0x5b4533,_0xb5c524)),_0x5b4533[_0x36a132(0x2aa)][_0x36a132(0x3c1)](V[_0x36a132(0x439)](0x1))[_0x36a132(0x3e6)](_0x298bb6=>this[_0x36a132(0x1bb)][_0x36a132(0x18d)](_0x36a132(0x48f),_0x298bb6)),_0x5b4533[_0x36a132(0x4e9)]['pipe'](V[_0x36a132(0x439)](0x1))['subscribe'](()=>{var _0x33912a=_0x36a132;this[_0x33912a(0x44a)](_0x5b4533);}),_0x5b4533[_0x36a132(0x25d)]['pipe'](V[_0x36a132(0x439)](0x1))[_0x36a132(0x3e6)](_0xdc6006=>{var _0x58582e=_0x36a132;this[_0x58582e(0x1bb)][_0x58582e(0x455)]('[CollaborationSessionService]',_0x58582e(0x2b9),_0xdc6006),this[_0x58582e(0x47b)]();});}}catch(_0x4e8cae){this[_0x36a132(0x1bb)][_0x36a132(0x18d)](_0x4e8cae),this[_0x36a132(0x47b)]();}}[_0x422fe2(0x44a)](_0x5b88a7){var _0x1b87f2=_0x422fe2;this[_0x1b87f2(0x1bb)][_0x1b87f2(0x455)](_0x1b87f2(0x3c3),_0x1b87f2(0x267)),_0x5b88a7[_0x1b87f2(0x48b)]({'cmd':W[_0x1b87f2(0x4b5)]}),this[_0x1b87f2(0x478)]();}[_0x422fe2(0x2e3)](){var _0x2e0bbc=_0x422fe2;this['_socketReady']=!0x1,this[_0x2e0bbc(0x4d2)]=null,this['_status$'][_0x2e0bbc(0x20e)](se[_0x2e0bbc(0x34d)]),this['_socket$'][_0x2e0bbc(0x20e)](null),this[_0x2e0bbc(0x222)](),this['_clearHeartbeatTimer']();}[_0x422fe2(0x47b)](){var _0x3b04bf=_0x422fe2,_0x41f75b;this['_onOffline'](),this[_0x3b04bf(0x1d9)]<((_0x41f75b=this[_0x3b04bf(0x19e)][_0x3b04bf(0x435)](dt))!=null?_0x41f75b:kt)?(this[_0x3b04bf(0x186)][_0x3b04bf(0x4cc)]({'id':J[_0x3b04bf(0x3df)]}),this[_0x3b04bf(0x2fd)]()):this['_collaborationUIEventService'][_0x3b04bf(0x4cc)]({'id':J[_0x3b04bf(0x446)]});}[_0x422fe2(0x2fd)](){var _0x17bd63=_0x422fe2,_0x226e7d;const _0x504f62=this[_0x17bd63(0x1d9)],_0x49378a=this[_0x17bd63(0x19e)][_0x17bd63(0x435)](Y),_0x3c2a9e=_0x504f62===0x0?0x0:((_0x226e7d=_0x49378a==null?void 0x0:_0x49378a['retryConnectingInterval'])!=null?_0x226e7d:xt)*0x2**_0x504f62;this[_0x17bd63(0x45c)]=setTimeout(()=>{var _0x330c50=_0x17bd63;clearTimeout(this[_0x330c50(0x45c)]),this['_retryConnectingTimer']=null,this[_0x330c50(0x3e5)]();},_0x3c2a9e),this[_0x17bd63(0x1d9)]+=0x1;}['_onMessage'](_0x4373c6,_0x385ef1){var _0x181a3b=_0x422fe2;const {cmd:_0x5a9b8e}=_0x385ef1;_0x5a9b8e===W[_0x181a3b(0x4b5)]&&!this[_0x181a3b(0x4e4)]&&(_0x4373c6[_0x181a3b(0x378)]=_0x385ef1[_0x181a3b(0x374)][_0x181a3b(0x378)],this[_0x181a3b(0x37f)][_0x181a3b(0x20e)](_0x4373c6),this[_0x181a3b(0x36b)][_0x181a3b(0x20e)](se[_0x181a3b(0x4e8)]),this[_0x181a3b(0x4e4)]=!0x0,this['_candidateSocket']=null),_0x5a9b8e===W[_0x181a3b(0x3e0)]&&this['_clearTimeoutTimer'](),this[_0x181a3b(0x478)]();}['_rescheduleHeartbeat'](){var _0x23d742=_0x422fe2,_0x57d2fd;this[_0x23d742(0x4ea)](),this[_0x23d742(0x4cf)]=setTimeout(()=>this[_0x23d742(0x3a1)](),(_0x57d2fd=this['_configService']['getConfig'](ut))!=null?_0x57d2fd:wt);}[_0x422fe2(0x3a1)](){var _0x425c95=_0x422fe2;this['_socket'][_0x425c95(0x48b)]({'cmd':W['HEARTBEAT']}),this[_0x425c95(0x3e2)]();}[_0x422fe2(0x3e2)](){var _0x353421=_0x422fe2,_0x580ea5;this[_0x353421(0x50e)]=setTimeout(()=>this[_0x353421(0x47b)](),(_0x580ea5=this['_configService'][_0x353421(0x435)](ke))!=null?_0x580ea5:vt);}['_clearHeartbeatTimer'](){var _0x13d943=_0x422fe2;this[_0x13d943(0x4cf)]!=null&&(clearTimeout(this[_0x13d943(0x4cf)]),this['_sendHeartbeatTimer']=null);}[_0x422fe2(0x222)](){var _0x3e8b5e=_0x422fe2;this[_0x3e8b5e(0x50e)]!=null&&(clearTimeout(this[_0x3e8b5e(0x50e)]),this[_0x3e8b5e(0x50e)]=null);}},exports[_0x422fe2(0x3b4)]=li([_e(0x0,o[_0x422fe2(0x2dc)](o[_0x422fe2(0x4b0)])),_e(0x1,o['ILogService']),_e(0x2,o[_0x422fe2(0x1e3)]),_e(0x3,Fe),_e(0x4,o[_0x422fe2(0x2dc)](ee)),_e(0x5,o[_0x422fe2(0x1ce)](gt))],exports[_0x422fe2(0x3b4)]);var ui=Object[_0x422fe2(0x271)],vi=(_0x525794,_0x49b48f,_0x5c5208,_0x1fa550)=>{var _0x3ebbc4=_0x422fe2;for(var _0x404869=_0x1fa550>0x1?void 0x0:_0x1fa550?ui(_0x49b48f,_0x5c5208):_0x49b48f,_0x2624c7=_0x525794[_0x3ebbc4(0x354)]-0x1,_0x359c56;_0x2624c7>=0x0;_0x2624c7--)(_0x359c56=_0x525794[_0x2624c7])&&(_0x404869=_0x359c56(_0x404869)||_0x404869);return _0x404869;},Se=(_0x44ab55,_0x432292)=>(_0x243209,_0x27777f)=>_0x432292(_0x243209,_0x27777f,_0x44ab55);exports[_0x422fe2(0x34c)]=class extends o[_0x422fe2(0x203)]{constructor(_0x310c0b,_0x2c299e,_0x5258c1,_0x476ce2){var _0x274766=_0x422fe2,_0x2c1d47;super(),A(this,'_entities',new Map()),A(this,'_entityInit$',new j['Subject']()),A(this,_0x274766(0x245),this[_0x274766(0x295)][_0x274766(0x4af)]()),(this[_0x274766(0x3d5)]=_0x310c0b,this[_0x274766(0x1cf)]=_0x2c299e,this['_configService']=_0x5258c1,this[_0x274766(0x39b)]=_0x476ce2,((_0x2c1d47=this[_0x274766(0x19e)][_0x274766(0x435)](Y))==null?void 0x0:_0x2c1d47[_0x274766(0x503)])!==!0x1&&this['_init']());}['dispose'](){var _0x5e0548=_0x422fe2;super['dispose'](),this[_0x5e0548(0x255)][_0x5e0548(0x214)](_0x3c3d48=>_0x3c3d48['dispose']()),this[_0x5e0548(0x255)]['clear']();}[_0x422fe2(0x492)](_0x472f2b){var _0x4bf5ca=_0x422fe2,_0x170e73;return(_0x170e73=this[_0x4bf5ca(0x255)][_0x4bf5ca(0x2c3)](_0x472f2b))!=null?_0x170e73:null;}[_0x422fe2(0x438)](_0x4db906){var _0x5d7ed1=_0x422fe2;const _0x3450a6=this[_0x5d7ed1(0x492)](_0x4db906);return _0x3450a6?j['of'](_0x3450a6):this[_0x5d7ed1(0x295)][_0x5d7ed1(0x3c1)](V[_0x5d7ed1(0x22b)](_0x6897ba=>_0x6897ba[_0x5d7ed1(0x506)]===_0x4db906));}[_0x422fe2(0x1f1)](_0x34b163){var _0x2dc71e=_0x422fe2;return j[_0x2dc71e(0x26d)](this['getCollabEntity$'](_0x34b163)['pipe'](V[_0x2dc71e(0x221)](()=>{})));}[_0x422fe2(0x299)](){var _0x583b12=_0x422fe2;this[_0x583b12(0x39b)][_0x583b12(0x41e)](o[_0x583b12(0x1a3)][_0x583b12(0x1c8)])['pipe'](j['takeUntil'](this['dispose$']),V['delay'](0x10))[_0x583b12(0x3e6)](async _0x1a764f=>{var _0x29c667=_0x583b12;const _0x310ec8=_0x1a764f[_0x29c667(0x510)](),_0x4c81a7=await this['_startCollaboration'](_0x310ec8,X['UNIVER_SHEET']);this[_0x29c667(0x255)][_0x29c667(0x2a8)](_0x310ec8,_0x4c81a7);}),this[_0x583b12(0x39b)]['getTypeOfUnitAdded$'](o['UniverInstanceType']['UNIVER_DOC'])[_0x583b12(0x3c1)](j[_0x583b12(0x345)](this['dispose$']),V[_0x583b12(0x33a)](0x10))[_0x583b12(0x3c1)](V['filter'](_0x589ac0=>!_0x589ac0[_0x583b12(0x510)]()[_0x583b12(0x243)]('__')))[_0x583b12(0x3e6)](async _0x28ab4d=>{var _0x1dd542=_0x583b12;const _0x1a19d2=_0x28ab4d[_0x1dd542(0x510)](),_0x497b23=await this['_startCollaboration'](_0x1a19d2,X[_0x1dd542(0x205)]);this[_0x1dd542(0x255)][_0x1dd542(0x2a8)](_0x1a19d2,_0x497b23);}),j[_0x583b12(0x436)](this['_univerInstanceService'][_0x583b12(0x3cf)](o['UniverInstanceType'][_0x583b12(0x1c8)]),this[_0x583b12(0x39b)][_0x583b12(0x3cf)](o['UniverInstanceType'][_0x583b12(0x205)]))['pipe'](j[_0x583b12(0x345)](this[_0x583b12(0x18c)]))[_0x583b12(0x3e6)](_0x15a49d=>{var _0x467539=_0x583b12;const _0x37111=_0x15a49d[_0x467539(0x510)](),_0x355fdc=this[_0x467539(0x255)][_0x467539(0x2c3)](_0x37111);_0x355fdc&&(_0x355fdc['dispose'](),this['_entities'][_0x467539(0x34a)](_0x37111));});}async['_startCollaboration'](_0x179b54,_0x44d03c){var _0x102a94=_0x422fe2;const _0x18a403=await this[_0x102a94(0x1cf)]['requireSession'](_0x179b54),_0x55601e=this[_0x102a94(0x3d5)]['createInstance'](this[_0x102a94(0x3d6)](_0x44d03c),_0x179b54,_0x44d03c,_0x18a403);return await _0x55601e[_0x102a94(0x257)](),this[_0x102a94(0x295)][_0x102a94(0x20e)](_0x55601e),_0x55601e;}[_0x422fe2(0x3d6)](_0x5638a7){var _0x3652cf=_0x422fe2;switch(_0x5638a7){case X[_0x3652cf(0x205)]:return exports[_0x3652cf(0x452)];case X[_0x3652cf(0x1c8)]:return exports[_0x3652cf(0x46c)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x5638a7);}}},exports[_0x422fe2(0x34c)]=vi([Se(0x0,o[_0x422fe2(0x2dc)](o[_0x422fe2(0x4b0)])),Se(0x1,o[_0x422fe2(0x2dc)](exports[_0x422fe2(0x3b4)])),Se(0x2,o[_0x422fe2(0x1e3)]),Se(0x3,o[_0x422fe2(0x288)])],exports[_0x422fe2(0x34c)]);const di='@univerjs-pro/collaboration-client',Si=_0x422fe2(0x29f),Ot={'name':di,'version':Si};var Ii=Object['getOwnPropertyDescriptor'],fi=(_0x32832c,_0x3dbcc6,_0x515c3d,_0x118ce6)=>{for(var _0x497a3a=_0x118ce6>0x1?void 0x0:_0x118ce6?Ii(_0x3dbcc6,_0x515c3d):_0x3dbcc6,_0x99250b=_0x32832c['length']-0x1,_0x5aacb4;_0x99250b>=0x0;_0x99250b--)(_0x5aacb4=_0x32832c[_0x99250b])&&(_0x497a3a=_0x5aacb4(_0x497a3a)||_0x497a3a);return _0x497a3a;},Ke=(_0x397f30,_0x14a850)=>(_0x139971,_0x4b2e33)=>_0x14a850(_0x139971,_0x4b2e33,_0x397f30);const Ei='DEFAULT_FILE_NAME',pi='Univer';let xe=class extends o['Disposable']{constructor(_0x391562,_0x2bdf27){var _0x24d89f=_0x422fe2;super(),this[_0x24d89f(0x39b)]=_0x391562,this[_0x24d89f(0x19e)]=_0x2bdf27,this[_0x24d89f(0x299)]();}[_0x422fe2(0x299)](){var _0x4eb3a3=_0x422fe2;this['disposeWithMe'](this[_0x4eb3a3(0x39b)]['focused$']['subscribe'](()=>{var _0x2ae85a=_0x4eb3a3,_0x308cfd;const _0x43f73a=this[_0x2ae85a(0x39b)][_0x2ae85a(0x517)]();let _0x55266c=(_0x308cfd=this[_0x2ae85a(0x19e)][_0x2ae85a(0x435)](Ei))!=null?_0x308cfd:pi;_0x43f73a instanceof o[_0x2ae85a(0x454)]&&(_0x55266c=_0x43f73a[_0x2ae85a(0x28e)]),document[_0x2ae85a(0x402)]=_0x55266c;}));}};xe=fi([Ke(0x0,o[_0x422fe2(0x288)]),Ke(0x1,o['IConfigService'])],xe);var mi=Object['getOwnPropertyDescriptor'],gi=(_0x60fb5d,_0x48f5c4,_0x33bf32,_0x572753)=>{var _0x5a0dc7=_0x422fe2;for(var _0x3ad5c2=_0x572753>0x1?void 0x0:_0x572753?mi(_0x48f5c4,_0x33bf32):_0x48f5c4,_0xa8cae8=_0x60fb5d[_0x5a0dc7(0x354)]-0x1,_0x4f695f;_0xa8cae8>=0x0;_0xa8cae8--)(_0x4f695f=_0x60fb5d[_0xa8cae8])&&(_0x3ad5c2=_0x4f695f(_0x3ad5c2)||_0x3ad5c2);return _0x3ad5c2;},Ae=(_0xfd998a,_0x4acf48)=>(_0x451195,_0x8d10b8)=>_0x4acf48(_0x451195,_0x8d10b8,_0xfd998a);let Ne=class{constructor(_0x4856f8,_0x3278ff,_0x19ddd){var _0x4dc7e5=_0x422fe2;this[_0x4dc7e5(0x19e)]=_0x4856f8,this['_httpService']=_0x3278ff,this[_0x4dc7e5(0x1b2)]=_0x19ddd,this[_0x4dc7e5(0x257)]();}['init'](){var _0x286250=_0x422fe2;this[_0x286250(0x43e)][_0x286250(0x220)]({'priority':0x1,'interceptor':(_0x1b0b61,_0x278f67)=>_0x278f67(_0x1b0b61)[_0x286250(0x3c1)](j[_0x286250(0x393)](async _0x3a86e6=>{var _0x376109=_0x286250;const _0x15f6cf=_0x3a86e6;if(_0x15f6cf[_0x376109(0x212)]===0x191){if(typeof window>'u')throw new Error(_0x376109(0x442));if(window[_0x376109(0x396)](this[_0x376109(0x1b2)]['t'](_0x376109(0x4f7)))){const _0xab0a39=window[_0x376109(0x49b)](window[_0x376109(0x2bf)][_0x376109(0x4a1)]);window[_0x376109(0x2bf)][_0x376109(0x4a1)]=this[_0x376109(0x502)]()+_0x376109(0x24b)+_0xab0a39;}}return _0x15f6cf;}))});}[_0x422fe2(0x502)](){var _0x328a92=_0x422fe2,_0x267c9c;const _0x2f5cfd=this[_0x328a92(0x19e)][_0x328a92(0x435)](Y);return(_0x267c9c=_0x2f5cfd==null?void 0x0:_0x2f5cfd[_0x328a92(0x36f)])!=null?_0x267c9c:Bt;}};Ne=gi([Ae(0x0,o[_0x422fe2(0x1e3)]),Ae(0x1,o[_0x422fe2(0x2dc)](K[_0x422fe2(0x29a)])),Ae(0x2,o[_0x422fe2(0x2dc)](o[_0x422fe2(0x463)]))],Ne);var Ti=Object[_0x422fe2(0x271)],Ci=(_0x1c3f95,_0x4dfec5,_0x35af5b,_0x545a9c)=>{var _0x1ddc27=_0x422fe2;for(var _0x1a6986=_0x545a9c>0x1?void 0x0:_0x545a9c?Ti(_0x4dfec5,_0x35af5b):_0x4dfec5,_0x6b7b06=_0x1c3f95[_0x1ddc27(0x354)]-0x1,_0xaeba45;_0x6b7b06>=0x0;_0x6b7b06--)(_0xaeba45=_0x1c3f95[_0x6b7b06])&&(_0x1a6986=_0xaeba45(_0x1a6986)||_0x1a6986);return _0x1a6986;},qe=(_0x2d5549,_0x51b19d)=>(_0xcc7404,_0x874c53)=>_0x51b19d(_0xcc7404,_0x874c53,_0x2d5549);const Oi=_0x422fe2(0x269);exports[_0x422fe2(0x423)]=class extends o[_0x422fe2(0x39d)]{constructor(_0x434009,_0x53f767){var _0x4cd692=_0x422fe2;super(),this['_HTTPService']=_0x434009,this[_0x4cd692(0x19e)]=_0x53f767,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x14783e=_0x422fe2;const _0x11835b=this;this[_0x14783e(0x248)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':K[_0x14783e(0x1a1)]({'isMatch'(_0x513111){var _0x1fb330=_0x14783e,_0x2b1cbe;if(_0x513111['method']===_0x1fb330(0x1c4)&&((_0x2b1cbe=_0x513111[_0x1fb330(0x371)])!=null&&_0x2b1cbe[_0x1fb330(0x472)])){const {objectID:_0x3a862f,objectType:_0x48aa92}=_0x513111[_0x1fb330(0x371)][_0x1fb330(0x472)]||{};if(!_0x3a862f||_0x48aa92===void 0x0)return!0x1;const _0x487101=_0x11835b['_getAPIPrefixPath']()+'/'+_0x48aa92+_0x1fb330(0x18b)+_0x3a862f+_0x1fb330(0x3f1);if(_0x513111['url']===_0x487101)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x48c0c5){var _0x61d692=_0x14783e,_0x52427c;return(_0x52427c=_0x48c0c5[_0x61d692(0x371)])==null?void 0x0:_0x52427c[_0x61d692(0x472)];},'mergeParamsToRequest'(_0x29e8df,_0xbaf8a2){var _0x775b12=_0x14783e;const _0xd149e5=_0x11835b[_0x775b12(0x3ff)]()+_0x775b12(0x3cb),_0x589ad2=_0x29e8df[_0x775b12(0x495)]((_0x5b08cb,_0x1c3266)=>{var _0x39b4d6=_0x775b12;const {unitID:_0x11e566,objectID:_0x1ec8df,objectType:_0x521f90,actions:_0x499e8c}=_0x1c3266;return _0x5b08cb[_0x11e566]||(_0x5b08cb[_0x11e566]={}),_0x5b08cb[_0x11e566][_0x1ec8df]||(_0x5b08cb[_0x11e566][_0x1ec8df]={'objectID':_0x1ec8df,'objectType':_0x521f90,'actions':[]}),_0x5b08cb[_0x11e566][_0x1ec8df][_0x39b4d6(0x4ee)][_0x39b4d6(0x29e)](..._0x499e8c),_0x5b08cb;},{}),_0x456b77=[];for(const _0xf41f41 in _0x589ad2)for(const _0x45ea6c in _0x589ad2[_0xf41f41]){const {actions:_0x6d6e93,objectType:_0x4a03aa}=_0x589ad2[_0xf41f41][_0x45ea6c],_0x41d9e=[...new Set(_0x6d6e93)];_0x456b77[_0x775b12(0x29e)]({'unitID':_0xf41f41,'objectID':_0x45ea6c,'objectType':_0x4a03aa,'actions':_0x41d9e});}return new K[(_0x775b12(0x21a))](_0x775b12(0x1c4),_0xd149e5,{'headers':_0xbaf8a2[_0x775b12(0x189)],'withCredentials':_0xbaf8a2[_0x775b12(0x4f1)],'responseType':_0xbaf8a2[_0x775b12(0x4ae)],'body':{'requests':_0x456b77}});}},{'distributeResult'(_0x2b51ef,_0x1be084){var _0x5f52b6=_0x14783e;const {objectActions:_0x2975cd}=_0x2b51ef;return _0x1be084[_0x5f52b6(0x221)](_0x8cc92=>{var _0x3e67f1=_0x5f52b6;const {unitID:_0x369492,objectID:_0x20c8c2,actions:_0x1413d9}=_0x8cc92,_0x3bc06b=_0x2975cd[_0x3e67f1(0x3b5)](_0x826eef=>_0x826eef[_0x3e67f1(0x506)]===_0x369492&&_0x826eef[_0x3e67f1(0x3f4)]===_0x20c8c2),_0x369728=_0x1413d9['map'](_0x2a49b0=>_0x3bc06b==null?void 0x0:_0x3bc06b[_0x3e67f1(0x4ee)][_0x3e67f1(0x3b5)](_0x45bbd8=>_0x45bbd8['action']===_0x2a49b0))['filter'](_0x4cf3ac=>!!_0x4cf3ac);return{'config':_0x8cc92,'result':{'actions':_0x369728,'error':_0x2b51ef[_0x3e67f1(0x18d)]}};});}})}));}['_getAPIPrefixPath'](){var _0x5b6f85=_0x422fe2,_0x771a9a;const _0x125238=this['_configService'][_0x5b6f85(0x435)](Y);return(_0x771a9a=_0x125238==null?void 0x0:_0x125238[_0x5b6f85(0x366)])!=null?_0x771a9a:Oi;}async[_0x422fe2(0x211)](_0x184a40){var _0x6636c2=_0x422fe2;const _0x568de8=this['_getAPIPrefixPath']()+'/'+_0x184a40[_0x6636c2(0x347)]+_0x6636c2(0x39c);return(await this[_0x6636c2(0x1df)][_0x6636c2(0x2a3)](_0x568de8,{'body':_0x184a40}))[_0x6636c2(0x472)][_0x6636c2(0x3f4)]||'';}async['list'](_0x506347){var _0x1fb33d=_0x422fe2;const _0x54ebab=this['_getAPIPrefixPath']()+_0x1fb33d(0x2cd);return(await this[_0x1fb33d(0x1df)][_0x1fb33d(0x2a3)](_0x54ebab,{'body':_0x506347}))[_0x1fb33d(0x472)][_0x1fb33d(0x2d7)];}async['update'](_0x4d0b67){var _0x57cdfe=_0x422fe2,_0x3af7cc,_0x1e109b;const _0x436f51=this[_0x57cdfe(0x3ff)]()+'/'+_0x4d0b67[_0x57cdfe(0x347)]+_0x57cdfe(0x18b)+_0x4d0b67[_0x57cdfe(0x3f4)],_0xefc76b=await this[_0x57cdfe(0x1df)]['put'](_0x436f51,{'body':_0x4d0b67});if(((_0x1e109b=(_0x3af7cc=_0xefc76b==null?void 0x0:_0xefc76b[_0x57cdfe(0x472)])==null?void 0x0:_0x3af7cc[_0x57cdfe(0x18d)])==null?void 0x0:_0x1e109b[_0x57cdfe(0x505)])!==0x1)throw new Error(_0x57cdfe(0x41b));}async['allowed'](_0x2d5e89){var _0x6e08c3=_0x422fe2;const _0x50f0c6=this['_getAPIPrefixPath']()+'/'+_0x2d5e89['objectType']+_0x6e08c3(0x18b)+_0x2d5e89[_0x6e08c3(0x3f4)]+_0x6e08c3(0x3f1);return(await this['_HTTPService'][_0x6e08c3(0x2a3)](_0x50f0c6,{'body':_0x2d5e89}))[_0x6e08c3(0x472)][_0x6e08c3(0x4ee)];}async[_0x422fe2(0x1f7)](_0x81e1d9){var _0x5bf9fb=_0x422fe2;const _0x32fcac=this[_0x5bf9fb(0x3ff)]()+'/-/object/-/batch_allowed';return(await this[_0x5bf9fb(0x1df)][_0x5bf9fb(0x2a3)](_0x32fcac,{'body':{'requests':_0x81e1d9}}))[_0x5bf9fb(0x472)]['objectActions'];}async[_0x422fe2(0x217)](_0xc04930){var _0x59bed8=_0x422fe2;const _0x54bf76=this[_0x59bed8(0x3ff)]()+'/'+_0xc04930['objectType']+_0x59bed8(0x259),_0x121a8d=await this['_HTTPService'][_0x59bed8(0x2a3)](_0x54bf76,{'body':_0xc04930});return{'roles':_0x121a8d[_0x59bed8(0x472)][_0x59bed8(0x3cd)],'actions':_0x121a8d[_0x59bed8(0x472)][_0x59bed8(0x4ee)]};}async[_0x422fe2(0x3e1)](_0xc9beb4){var _0x49e42d=_0x422fe2;const _0x2b060e=this[_0x49e42d(0x3ff)]()+_0x49e42d(0x464);await this['_HTTPService'][_0x49e42d(0x34a)](_0x2b060e,{'params':{'collaboratorID':_0xc9beb4[_0x49e42d(0x3ec)],'objectID':_0xc9beb4[_0x49e42d(0x3f4)],'unitID':_0xc9beb4[_0x49e42d(0x506)]}});}async['updateCollaborator'](_0x17b077){var _0x5cc577=_0x422fe2;const _0x478fd9=this[_0x5cc577(0x3ff)]()+_0x5cc577(0x464);await this[_0x5cc577(0x1df)][_0x5cc577(0x42d)](_0x478fd9,{'body':_0x17b077});}async[_0x422fe2(0x2e5)](_0x5ccdc5){var _0x53cc44=_0x422fe2;const _0x3d70cb=this[_0x53cc44(0x3ff)]()+_0x53cc44(0x464);await this['_HTTPService'][_0x53cc44(0x2a3)](_0x3d70cb,{'body':_0x5ccdc5});}async['listCollaborators'](_0x2ab0b9){var _0xc7284c=_0x422fe2;const _0x2aa73c=this['_getAPIPrefixPath']()+_0xc7284c(0x464);return(await this[_0xc7284c(0x1df)][_0xc7284c(0x2c3)](_0x2aa73c,{'params':{'objectID':_0x2ab0b9[_0xc7284c(0x3f4)],'unitID':_0x2ab0b9[_0xc7284c(0x506)]}}))['body']['collaborators'];}async['putCollaborators'](_0x2f09d1){var _0x3bd5e7=_0x422fe2;const _0xdfcafb=this[_0x3bd5e7(0x3ff)]()+_0x3bd5e7(0x464);await this[_0x3bd5e7(0x1df)]['put'](_0xdfcafb,{'body':_0x2f09d1});}},exports[_0x422fe2(0x423)]=Ci([qe(0x0,o[_0x422fe2(0x2dc)](K[_0x422fe2(0x29a)])),qe(0x1,o[_0x422fe2(0x2dc)](o[_0x422fe2(0x1e3)]))],exports['AuthzIoHttpService']);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function de(_0x399a03){var _0x3ace3e=_0x422fe2;return _0x399a03&&_0x399a03[_0x3ace3e(0x41d)]&&Object[_0x3ace3e(0x31c)]['hasOwnProperty'][_0x3ace3e(0x36d)](_0x399a03,_0x3ace3e(0x37c))?_0x399a03[_0x3ace3e(0x37c)]:_0x399a03;}var Ie={'exports':{}};function bi(_0x143287){var _0x129355=_0x422fe2;throw new Error(_0x129355(0x302)+_0x143287+_0x129355(0x3fb));}var fe={'exports':{}},Ri=fe[_0x422fe2(0x447)],ze;function Z(){var _0x2ed680=_0x422fe2;return ze||(ze=0x1,function(_0x26a2b5,_0x5762e2){(function(_0x10c5cf,_0x584ef3){_0x26a2b5['exports']=_0x584ef3();}(Ri,function(){var _0x3831ff=_0x3831ff||function(_0x13d1e5,_0x1f19ab){var _0x2d9a24=_0x307d,_0xe6d83f;if(typeof window<'u'&&window['crypto']&&(_0xe6d83f=window['crypto']),typeof self<'u'&&self['crypto']&&(_0xe6d83f=self[_0x2d9a24(0x35f)]),typeof globalThis<'u'&&globalThis[_0x2d9a24(0x35f)]&&(_0xe6d83f=globalThis[_0x2d9a24(0x35f)]),!_0xe6d83f&&typeof window<'u'&&window[_0x2d9a24(0x19b)]&&(_0xe6d83f=window[_0x2d9a24(0x19b)]),!_0xe6d83f&&typeof Pe<'u'&&Pe[_0x2d9a24(0x35f)]&&(_0xe6d83f=Pe[_0x2d9a24(0x35f)]),!_0xe6d83f&&typeof bi==_0x2d9a24(0x1a0))try{_0xe6d83f=require('crypto');}catch{}var _0x17cf9c=function(){var _0x498fb2=_0x2d9a24;if(_0xe6d83f){if(typeof _0xe6d83f[_0x498fb2(0x195)]=='function')try{return _0xe6d83f[_0x498fb2(0x195)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xe6d83f[_0x498fb2(0x1ea)]==_0x498fb2(0x1a0))try{return _0xe6d83f[_0x498fb2(0x1ea)](0x4)[_0x498fb2(0x1dd)]();}catch{}}throw new Error(_0x498fb2(0x19d));},_0x4e841c=Object[_0x2d9a24(0x211)]||(function(){function _0x2f381e(){}return function(_0xf2b933){var _0x481bb8=_0x307d,_0x5b230e;return _0x2f381e[_0x481bb8(0x31c)]=_0xf2b933,_0x5b230e=new _0x2f381e(),_0x2f381e[_0x481bb8(0x31c)]=null,_0x5b230e;};}()),_0x3942ae={},_0x1ace3c=_0x3942ae[_0x2d9a24(0x48a)]={},_0x1d2bab=_0x1ace3c[_0x2d9a24(0x3e8)]=(function(){return{'extend':function(_0x390f0c){var _0x25abba=_0x307d,_0x566c30=_0x4e841c(this);return _0x390f0c&&_0x566c30[_0x25abba(0x383)](_0x390f0c),(!_0x566c30['hasOwnProperty'](_0x25abba(0x257))||this[_0x25abba(0x257)]===_0x566c30[_0x25abba(0x257)])&&(_0x566c30['init']=function(){var _0x237fe6=_0x25abba;_0x566c30[_0x237fe6(0x427)][_0x237fe6(0x257)]['apply'](this,arguments);}),_0x566c30[_0x25abba(0x257)]['prototype']=_0x566c30,_0x566c30[_0x25abba(0x427)]=this,_0x566c30;},'create':function(){var _0x530a0d=_0x307d,_0x238422=this[_0x530a0d(0x4ab)]();return _0x238422[_0x530a0d(0x257)][_0x530a0d(0x312)](_0x238422,arguments),_0x238422;},'init':function(){},'mixIn':function(_0x1f15b6){var _0x11bccd=_0x307d;for(var _0x5beeae in _0x1f15b6)_0x1f15b6[_0x11bccd(0x229)](_0x5beeae)&&(this[_0x5beeae]=_0x1f15b6[_0x5beeae]);_0x1f15b6['hasOwnProperty']('toString')&&(this['toString']=_0x1f15b6[_0x11bccd(0x3c8)]);},'clone':function(){var _0x1595e0=_0x307d;return this[_0x1595e0(0x257)][_0x1595e0(0x31c)][_0x1595e0(0x4ab)](this);}};}()),_0x2d7f2b=_0x1ace3c[_0x2d9a24(0x197)]=_0x1d2bab[_0x2d9a24(0x4ab)]({'init':function(_0xd697dc,_0x158fbc){var _0x2f1c87=_0x2d9a24;_0xd697dc=this[_0x2f1c87(0x27b)]=_0xd697dc||[],_0x158fbc!=_0x1f19ab?this[_0x2f1c87(0x25c)]=_0x158fbc:this[_0x2f1c87(0x25c)]=_0xd697dc[_0x2f1c87(0x354)]*0x4;},'toString':function(_0x230513){var _0x247da5=_0x2d9a24;return(_0x230513||_0x1a5a97)[_0x247da5(0x4dc)](this);},'concat':function(_0x406f1d){var _0x1e7541=_0x2d9a24,_0x27845f=this['words'],_0x1ca516=_0x406f1d['words'],_0x3e472a=this['sigBytes'],_0x435179=_0x406f1d[_0x1e7541(0x25c)];if(this[_0x1e7541(0x380)](),_0x3e472a%0x4)for(var _0x4d32f2=0x0;_0x4d32f2<_0x435179;_0x4d32f2++){var _0xb923f2=_0x1ca516[_0x4d32f2>>>0x2]>>>0x18-_0x4d32f2%0x4*0x8&0xff;_0x27845f[_0x3e472a+_0x4d32f2>>>0x2]|=_0xb923f2<<0x18-(_0x3e472a+_0x4d32f2)%0x4*0x8;}else{for(var _0x115dfb=0x0;_0x115dfb<_0x435179;_0x115dfb+=0x4)_0x27845f[_0x3e472a+_0x115dfb>>>0x2]=_0x1ca516[_0x115dfb>>>0x2];}return this[_0x1e7541(0x25c)]+=_0x435179,this;},'clamp':function(){var _0x2e4b8a=_0x2d9a24,_0x48131a=this[_0x2e4b8a(0x27b)],_0x309dcb=this[_0x2e4b8a(0x25c)];_0x48131a[_0x309dcb>>>0x2]&=0xffffffff<<0x20-_0x309dcb%0x4*0x8,_0x48131a[_0x2e4b8a(0x354)]=_0x13d1e5[_0x2e4b8a(0x4fa)](_0x309dcb/0x4);},'clone':function(){var _0x25151a=_0x2d9a24,_0x17b5d4=_0x1d2bab[_0x25151a(0x19c)]['call'](this);return _0x17b5d4[_0x25151a(0x27b)]=this[_0x25151a(0x27b)]['slice'](0x0),_0x17b5d4;},'random':function(_0x1feb6c){var _0x4bee49=_0x2d9a24;for(var _0x4ded37=[],_0x53ff2d=0x0;_0x53ff2d<_0x1feb6c;_0x53ff2d+=0x4)_0x4ded37[_0x4bee49(0x29e)](_0x17cf9c());return new _0x2d7f2b[(_0x4bee49(0x257))](_0x4ded37,_0x1feb6c);}}),_0x207a06=_0x3942ae[_0x2d9a24(0x318)]={},_0x1a5a97=_0x207a06['Hex']={'stringify':function(_0x1c8196){var _0x34822c=_0x2d9a24;for(var _0x77dc87=_0x1c8196['words'],_0x531547=_0x1c8196[_0x34822c(0x25c)],_0x2c4b26=[],_0x5c4242=0x0;_0x5c4242<_0x531547;_0x5c4242++){var _0x20eeaa=_0x77dc87[_0x5c4242>>>0x2]>>>0x18-_0x5c4242%0x4*0x8&0xff;_0x2c4b26['push']((_0x20eeaa>>>0x4)[_0x34822c(0x3c8)](0x10)),_0x2c4b26[_0x34822c(0x29e)]((_0x20eeaa&0xf)[_0x34822c(0x3c8)](0x10));}return _0x2c4b26[_0x34822c(0x226)]('');},'parse':function(_0x35b576){var _0x254d09=_0x2d9a24;for(var _0x44d47b=_0x35b576['length'],_0x560e24=[],_0x7b5b8c=0x0;_0x7b5b8c<_0x44d47b;_0x7b5b8c+=0x2)_0x560e24[_0x7b5b8c>>>0x3]|=parseInt(_0x35b576['substr'](_0x7b5b8c,0x2),0x10)<<0x18-_0x7b5b8c%0x8*0x4;return new _0x2d7f2b[(_0x254d09(0x257))](_0x560e24,_0x44d47b/0x2);}},_0x4541fb=_0x207a06['Latin1']={'stringify':function(_0x3d280e){var _0x39408c=_0x2d9a24;for(var _0x3c03c8=_0x3d280e['words'],_0x3a85d4=_0x3d280e['sigBytes'],_0xb7e97e=[],_0x50be4b=0x0;_0x50be4b<_0x3a85d4;_0x50be4b++){var _0x3b110c=_0x3c03c8[_0x50be4b>>>0x2]>>>0x18-_0x50be4b%0x4*0x8&0xff;_0xb7e97e[_0x39408c(0x29e)](String[_0x39408c(0x369)](_0x3b110c));}return _0xb7e97e[_0x39408c(0x226)]('');},'parse':function(_0x194c60){var _0x2199bc=_0x2d9a24;for(var _0x477794=_0x194c60[_0x2199bc(0x354)],_0x1d488d=[],_0x1bc825=0x0;_0x1bc825<_0x477794;_0x1bc825++)_0x1d488d[_0x1bc825>>>0x2]|=(_0x194c60[_0x2199bc(0x31e)](_0x1bc825)&0xff)<<0x18-_0x1bc825%0x4*0x8;return new _0x2d7f2b[(_0x2199bc(0x257))](_0x1d488d,_0x477794);}},_0x4532c3=_0x207a06['Utf8']={'stringify':function(_0x53a816){var _0x2fa1a8=_0x2d9a24;try{return decodeURIComponent(escape(_0x4541fb['stringify'](_0x53a816)));}catch{throw new Error(_0x2fa1a8(0x391));}},'parse':function(_0x36a182){return _0x4541fb['parse'](unescape(encodeURIComponent(_0x36a182)));}},_0x19d7c1=_0x1ace3c[_0x2d9a24(0x3db)]=_0x1d2bab[_0x2d9a24(0x4ab)]({'reset':function(){var _0xf09132=_0x2d9a24;this[_0xf09132(0x18e)]=new _0x2d7f2b['init'](),this[_0xf09132(0x291)]=0x0;},'_append':function(_0x1652e5){var _0x3992bb=_0x2d9a24;typeof _0x1652e5==_0x3992bb(0x2cf)&&(_0x1652e5=_0x4532c3[_0x3992bb(0x2f5)](_0x1652e5)),this['_data'][_0x3992bb(0x4d8)](_0x1652e5),this[_0x3992bb(0x291)]+=_0x1652e5[_0x3992bb(0x25c)];},'_process':function(_0x1955c8){var _0x8496bd=_0x2d9a24,_0xb05d84,_0x179cbc=this[_0x8496bd(0x18e)],_0x4f9f45=_0x179cbc[_0x8496bd(0x27b)],_0x5b8009=_0x179cbc[_0x8496bd(0x25c)],_0x4d64c4=this[_0x8496bd(0x283)],_0x53bb8e=_0x4d64c4*0x4,_0x3cd50f=_0x5b8009/_0x53bb8e;_0x1955c8?_0x3cd50f=_0x13d1e5['ceil'](_0x3cd50f):_0x3cd50f=_0x13d1e5[_0x8496bd(0x3ab)]((_0x3cd50f|0x0)-this['_minBufferSize'],0x0);var _0xdd0365=_0x3cd50f*_0x4d64c4,_0x195c78=_0x13d1e5[_0x8496bd(0x3f6)](_0xdd0365*0x4,_0x5b8009);if(_0xdd0365){for(var _0x3fa392=0x0;_0x3fa392<_0xdd0365;_0x3fa392+=_0x4d64c4)this['_doProcessBlock'](_0x4f9f45,_0x3fa392);_0xb05d84=_0x4f9f45[_0x8496bd(0x44b)](0x0,_0xdd0365),_0x179cbc[_0x8496bd(0x25c)]-=_0x195c78;}return new _0x2d7f2b[(_0x8496bd(0x257))](_0xb05d84,_0x195c78);},'clone':function(){var _0x5ac40c=_0x2d9a24,_0x11ba65=_0x1d2bab[_0x5ac40c(0x19c)][_0x5ac40c(0x36d)](this);return _0x11ba65[_0x5ac40c(0x18e)]=this[_0x5ac40c(0x18e)]['clone'](),_0x11ba65;},'_minBufferSize':0x0});_0x1ace3c['Hasher']=_0x19d7c1[_0x2d9a24(0x4ab)]({'cfg':_0x1d2bab[_0x2d9a24(0x4ab)](),'init':function(_0x155a8e){var _0x18a26e=_0x2d9a24;this[_0x18a26e(0x250)]=this['cfg'][_0x18a26e(0x4ab)](_0x155a8e),this[_0x18a26e(0x36c)]();},'reset':function(){var _0x5d1132=_0x2d9a24;_0x19d7c1[_0x5d1132(0x36c)]['call'](this),this['_doReset']();},'update':function(_0x480e39){var _0x1155b5=_0x2d9a24;return this['_append'](_0x480e39),this[_0x1155b5(0x1d7)](),this;},'finalize':function(_0x4baa65){var _0x180424=_0x2d9a24;_0x4baa65&&this[_0x180424(0x4fe)](_0x4baa65);var _0xeca7fa=this[_0x180424(0x2b7)]();return _0xeca7fa;},'blockSize':0x10,'_createHelper':function(_0x205c3){return function(_0x11a271,_0x30b734){var _0x163962=_0x307d;return new _0x205c3[(_0x163962(0x257))](_0x30b734)[_0x163962(0x3e7)](_0x11a271);};},'_createHmacHelper':function(_0x387a6d){return function(_0x4276f0,_0x509339){var _0x571417=_0x307d;return new _0x54e3af['HMAC'][(_0x571417(0x257))](_0x387a6d,_0x509339)[_0x571417(0x3e7)](_0x4276f0);};}});var _0x54e3af=_0x3942ae['algo']={};return _0x3942ae;}(Math);return _0x3831ff;}));}(fe)),fe[_0x2ed680(0x447)];}var Ee={'exports':{}},Ni=Ee[_0x422fe2(0x447)],Xe;function bt(){return Xe||(Xe=0x1,function(_0x587e62,_0x3b3400){(function(_0x45d2ec,_0x57d952){var _0x40def7=_0x307d;_0x587e62[_0x40def7(0x447)]=_0x57d952(Z());}(Ni,function(_0x1d456e){var _0x4aee44=_0x307d;return(function(){var _0x291435=_0x307d,_0x405b25=_0x1d456e,_0x2a82e2=_0x405b25[_0x291435(0x48a)],_0x505edf=_0x2a82e2['WordArray'],_0x53f7f9=_0x405b25['enc'];_0x53f7f9['Base64']={'stringify':function(_0x3db539){var _0x4c3207=_0x291435,_0x5b0e96=_0x3db539[_0x4c3207(0x27b)],_0x4829cc=_0x3db539['sigBytes'],_0x283d9b=this[_0x4c3207(0x3fc)];_0x3db539[_0x4c3207(0x380)]();for(var _0xd61912=[],_0x1ba2be=0x0;_0x1ba2be<_0x4829cc;_0x1ba2be+=0x3)for(var _0x23cbae=_0x5b0e96[_0x1ba2be>>>0x2]>>>0x18-_0x1ba2be%0x4*0x8&0xff,_0x5b7cca=_0x5b0e96[_0x1ba2be+0x1>>>0x2]>>>0x18-(_0x1ba2be+0x1)%0x4*0x8&0xff,_0x1394b0=_0x5b0e96[_0x1ba2be+0x2>>>0x2]>>>0x18-(_0x1ba2be+0x2)%0x4*0x8&0xff,_0x8e74d5=_0x23cbae<<0x10|_0x5b7cca<<0x8|_0x1394b0,_0xf08608=0x0;_0xf08608<0x4&&_0x1ba2be+_0xf08608*0.75<_0x4829cc;_0xf08608++)_0xd61912[_0x4c3207(0x29e)](_0x283d9b[_0x4c3207(0x356)](_0x8e74d5>>>0x6*(0x3-_0xf08608)&0x3f));var _0x612205=_0x283d9b[_0x4c3207(0x356)](0x40);if(_0x612205){for(;_0xd61912[_0x4c3207(0x354)]%0x4;)_0xd61912[_0x4c3207(0x29e)](_0x612205);}return _0xd61912[_0x4c3207(0x226)]('');},'parse':function(_0x5bc7f2){var _0x92b8e8=_0x291435,_0x1c6d69=_0x5bc7f2['length'],_0xb2a70b=this[_0x92b8e8(0x3fc)],_0x387438=this[_0x92b8e8(0x254)];if(!_0x387438){_0x387438=this[_0x92b8e8(0x254)]=[];for(var _0xeb0234=0x0;_0xeb0234<_0xb2a70b[_0x92b8e8(0x354)];_0xeb0234++)_0x387438[_0xb2a70b[_0x92b8e8(0x31e)](_0xeb0234)]=_0xeb0234;}var _0x3bd47b=_0xb2a70b[_0x92b8e8(0x356)](0x40);if(_0x3bd47b){var _0x4bb0b1=_0x5bc7f2[_0x92b8e8(0x330)](_0x3bd47b);_0x4bb0b1!==-0x1&&(_0x1c6d69=_0x4bb0b1);}return _0x4ca8fb(_0x5bc7f2,_0x1c6d69,_0x387438);},'_map':_0x291435(0x365)};function _0x4ca8fb(_0x38eac7,_0xe8667d,_0x11efe1){var _0x39eddc=_0x291435;for(var _0x2e0ef9=[],_0x3cb92a=0x0,_0x293be8=0x0;_0x293be8<_0xe8667d;_0x293be8++)if(_0x293be8%0x4){var _0x24d65c=_0x11efe1[_0x38eac7[_0x39eddc(0x31e)](_0x293be8-0x1)]<<_0x293be8%0x4*0x2,_0x33ce32=_0x11efe1[_0x38eac7[_0x39eddc(0x31e)](_0x293be8)]>>>0x6-_0x293be8%0x4*0x2,_0x39e97e=_0x24d65c|_0x33ce32;_0x2e0ef9[_0x3cb92a>>>0x2]|=_0x39e97e<<0x18-_0x3cb92a%0x4*0x8,_0x3cb92a++;}return _0x505edf[_0x39eddc(0x211)](_0x2e0ef9,_0x3cb92a);}}()),_0x1d456e[_0x4aee44(0x318)][_0x4aee44(0x462)];}));}(Ee)),Ee['exports'];}var pe={'exports':{}},Di=pe['exports'],Je;function yi(){var _0x213947=_0x422fe2;return Je||(Je=0x1,function(_0x580307,_0x53cb57){(function(_0x2dddb0,_0x52f7b1){var _0x228d77=_0x307d;_0x580307[_0x228d77(0x447)]=_0x52f7b1(Z());}(Di,function(_0x530cad){var _0x276fb0=_0x307d;return function(_0x2f6d84){var _0x5c2b61=_0x307d,_0x1902a6=_0x530cad,_0xc9bb17=_0x1902a6[_0x5c2b61(0x48a)],_0x5cef28=_0xc9bb17[_0x5c2b61(0x197)],_0x43f18d=_0xc9bb17[_0x5c2b61(0x320)],_0x281dca=_0x1902a6['algo'],_0x2778d1=[];(function(){var _0x4e2664=_0x5c2b61;for(var _0x4903d1=0x0;_0x4903d1<0x40;_0x4903d1++)_0x2778d1[_0x4903d1]=_0x2f6d84[_0x4e2664(0x4f8)](_0x2f6d84['sin'](_0x4903d1+0x1))*0x100000000|0x0;}());var _0x28a9ab=_0x281dca[_0x5c2b61(0x2ec)]=_0x43f18d[_0x5c2b61(0x4ab)]({'_doReset':function(){this['_hash']=new _0x5cef28['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x14df98,_0x4ebe0c){var _0x2450d7=_0x5c2b61;for(var _0x1041e9=0x0;_0x1041e9<0x10;_0x1041e9++){var _0x5f0dd3=_0x4ebe0c+_0x1041e9,_0x2e7313=_0x14df98[_0x5f0dd3];_0x14df98[_0x5f0dd3]=(_0x2e7313<<0x8|_0x2e7313>>>0x18)&0xff00ff|(_0x2e7313<<0x18|_0x2e7313>>>0x8)&0xff00ff00;}var _0x6aca7c=this[_0x2450d7(0x482)][_0x2450d7(0x27b)],_0x10f1aa=_0x14df98[_0x4ebe0c+0x0],_0x1591fa=_0x14df98[_0x4ebe0c+0x1],_0x22e3c7=_0x14df98[_0x4ebe0c+0x2],_0x5ca233=_0x14df98[_0x4ebe0c+0x3],_0x281fd4=_0x14df98[_0x4ebe0c+0x4],_0x13618a=_0x14df98[_0x4ebe0c+0x5],_0x32a5b0=_0x14df98[_0x4ebe0c+0x6],_0xe56ab7=_0x14df98[_0x4ebe0c+0x7],_0x3423b5=_0x14df98[_0x4ebe0c+0x8],_0x2091a1=_0x14df98[_0x4ebe0c+0x9],_0x234477=_0x14df98[_0x4ebe0c+0xa],_0x5b17a9=_0x14df98[_0x4ebe0c+0xb],_0x55efab=_0x14df98[_0x4ebe0c+0xc],_0x2c0720=_0x14df98[_0x4ebe0c+0xd],_0x1d2f2e=_0x14df98[_0x4ebe0c+0xe],_0x3e2811=_0x14df98[_0x4ebe0c+0xf],_0x25eb3c=_0x6aca7c[0x0],_0x5809ec=_0x6aca7c[0x1],_0x4069e0=_0x6aca7c[0x2],_0xad3918=_0x6aca7c[0x3];_0x25eb3c=_0x49cb20(_0x25eb3c,_0x5809ec,_0x4069e0,_0xad3918,_0x10f1aa,0x7,_0x2778d1[0x0]),_0xad3918=_0x49cb20(_0xad3918,_0x25eb3c,_0x5809ec,_0x4069e0,_0x1591fa,0xc,_0x2778d1[0x1]),_0x4069e0=_0x49cb20(_0x4069e0,_0xad3918,_0x25eb3c,_0x5809ec,_0x22e3c7,0x11,_0x2778d1[0x2]),_0x5809ec=_0x49cb20(_0x5809ec,_0x4069e0,_0xad3918,_0x25eb3c,_0x5ca233,0x16,_0x2778d1[0x3]),_0x25eb3c=_0x49cb20(_0x25eb3c,_0x5809ec,_0x4069e0,_0xad3918,_0x281fd4,0x7,_0x2778d1[0x4]),_0xad3918=_0x49cb20(_0xad3918,_0x25eb3c,_0x5809ec,_0x4069e0,_0x13618a,0xc,_0x2778d1[0x5]),_0x4069e0=_0x49cb20(_0x4069e0,_0xad3918,_0x25eb3c,_0x5809ec,_0x32a5b0,0x11,_0x2778d1[0x6]),_0x5809ec=_0x49cb20(_0x5809ec,_0x4069e0,_0xad3918,_0x25eb3c,_0xe56ab7,0x16,_0x2778d1[0x7]),_0x25eb3c=_0x49cb20(_0x25eb3c,_0x5809ec,_0x4069e0,_0xad3918,_0x3423b5,0x7,_0x2778d1[0x8]),_0xad3918=_0x49cb20(_0xad3918,_0x25eb3c,_0x5809ec,_0x4069e0,_0x2091a1,0xc,_0x2778d1[0x9]),_0x4069e0=_0x49cb20(_0x4069e0,_0xad3918,_0x25eb3c,_0x5809ec,_0x234477,0x11,_0x2778d1[0xa]),_0x5809ec=_0x49cb20(_0x5809ec,_0x4069e0,_0xad3918,_0x25eb3c,_0x5b17a9,0x16,_0x2778d1[0xb]),_0x25eb3c=_0x49cb20(_0x25eb3c,_0x5809ec,_0x4069e0,_0xad3918,_0x55efab,0x7,_0x2778d1[0xc]),_0xad3918=_0x49cb20(_0xad3918,_0x25eb3c,_0x5809ec,_0x4069e0,_0x2c0720,0xc,_0x2778d1[0xd]),_0x4069e0=_0x49cb20(_0x4069e0,_0xad3918,_0x25eb3c,_0x5809ec,_0x1d2f2e,0x11,_0x2778d1[0xe]),_0x5809ec=_0x49cb20(_0x5809ec,_0x4069e0,_0xad3918,_0x25eb3c,_0x3e2811,0x16,_0x2778d1[0xf]),_0x25eb3c=_0x18c039(_0x25eb3c,_0x5809ec,_0x4069e0,_0xad3918,_0x1591fa,0x5,_0x2778d1[0x10]),_0xad3918=_0x18c039(_0xad3918,_0x25eb3c,_0x5809ec,_0x4069e0,_0x32a5b0,0x9,_0x2778d1[0x11]),_0x4069e0=_0x18c039(_0x4069e0,_0xad3918,_0x25eb3c,_0x5809ec,_0x5b17a9,0xe,_0x2778d1[0x12]),_0x5809ec=_0x18c039(_0x5809ec,_0x4069e0,_0xad3918,_0x25eb3c,_0x10f1aa,0x14,_0x2778d1[0x13]),_0x25eb3c=_0x18c039(_0x25eb3c,_0x5809ec,_0x4069e0,_0xad3918,_0x13618a,0x5,_0x2778d1[0x14]),_0xad3918=_0x18c039(_0xad3918,_0x25eb3c,_0x5809ec,_0x4069e0,_0x234477,0x9,_0x2778d1[0x15]),_0x4069e0=_0x18c039(_0x4069e0,_0xad3918,_0x25eb3c,_0x5809ec,_0x3e2811,0xe,_0x2778d1[0x16]),_0x5809ec=_0x18c039(_0x5809ec,_0x4069e0,_0xad3918,_0x25eb3c,_0x281fd4,0x14,_0x2778d1[0x17]),_0x25eb3c=_0x18c039(_0x25eb3c,_0x5809ec,_0x4069e0,_0xad3918,_0x2091a1,0x5,_0x2778d1[0x18]),_0xad3918=_0x18c039(_0xad3918,_0x25eb3c,_0x5809ec,_0x4069e0,_0x1d2f2e,0x9,_0x2778d1[0x19]),_0x4069e0=_0x18c039(_0x4069e0,_0xad3918,_0x25eb3c,_0x5809ec,_0x5ca233,0xe,_0x2778d1[0x1a]),_0x5809ec=_0x18c039(_0x5809ec,_0x4069e0,_0xad3918,_0x25eb3c,_0x3423b5,0x14,_0x2778d1[0x1b]),_0x25eb3c=_0x18c039(_0x25eb3c,_0x5809ec,_0x4069e0,_0xad3918,_0x2c0720,0x5,_0x2778d1[0x1c]),_0xad3918=_0x18c039(_0xad3918,_0x25eb3c,_0x5809ec,_0x4069e0,_0x22e3c7,0x9,_0x2778d1[0x1d]),_0x4069e0=_0x18c039(_0x4069e0,_0xad3918,_0x25eb3c,_0x5809ec,_0xe56ab7,0xe,_0x2778d1[0x1e]),_0x5809ec=_0x18c039(_0x5809ec,_0x4069e0,_0xad3918,_0x25eb3c,_0x55efab,0x14,_0x2778d1[0x1f]),_0x25eb3c=_0x59c425(_0x25eb3c,_0x5809ec,_0x4069e0,_0xad3918,_0x13618a,0x4,_0x2778d1[0x20]),_0xad3918=_0x59c425(_0xad3918,_0x25eb3c,_0x5809ec,_0x4069e0,_0x3423b5,0xb,_0x2778d1[0x21]),_0x4069e0=_0x59c425(_0x4069e0,_0xad3918,_0x25eb3c,_0x5809ec,_0x5b17a9,0x10,_0x2778d1[0x22]),_0x5809ec=_0x59c425(_0x5809ec,_0x4069e0,_0xad3918,_0x25eb3c,_0x1d2f2e,0x17,_0x2778d1[0x23]),_0x25eb3c=_0x59c425(_0x25eb3c,_0x5809ec,_0x4069e0,_0xad3918,_0x1591fa,0x4,_0x2778d1[0x24]),_0xad3918=_0x59c425(_0xad3918,_0x25eb3c,_0x5809ec,_0x4069e0,_0x281fd4,0xb,_0x2778d1[0x25]),_0x4069e0=_0x59c425(_0x4069e0,_0xad3918,_0x25eb3c,_0x5809ec,_0xe56ab7,0x10,_0x2778d1[0x26]),_0x5809ec=_0x59c425(_0x5809ec,_0x4069e0,_0xad3918,_0x25eb3c,_0x234477,0x17,_0x2778d1[0x27]),_0x25eb3c=_0x59c425(_0x25eb3c,_0x5809ec,_0x4069e0,_0xad3918,_0x2c0720,0x4,_0x2778d1[0x28]),_0xad3918=_0x59c425(_0xad3918,_0x25eb3c,_0x5809ec,_0x4069e0,_0x10f1aa,0xb,_0x2778d1[0x29]),_0x4069e0=_0x59c425(_0x4069e0,_0xad3918,_0x25eb3c,_0x5809ec,_0x5ca233,0x10,_0x2778d1[0x2a]),_0x5809ec=_0x59c425(_0x5809ec,_0x4069e0,_0xad3918,_0x25eb3c,_0x32a5b0,0x17,_0x2778d1[0x2b]),_0x25eb3c=_0x59c425(_0x25eb3c,_0x5809ec,_0x4069e0,_0xad3918,_0x2091a1,0x4,_0x2778d1[0x2c]),_0xad3918=_0x59c425(_0xad3918,_0x25eb3c,_0x5809ec,_0x4069e0,_0x55efab,0xb,_0x2778d1[0x2d]),_0x4069e0=_0x59c425(_0x4069e0,_0xad3918,_0x25eb3c,_0x5809ec,_0x3e2811,0x10,_0x2778d1[0x2e]),_0x5809ec=_0x59c425(_0x5809ec,_0x4069e0,_0xad3918,_0x25eb3c,_0x22e3c7,0x17,_0x2778d1[0x2f]),_0x25eb3c=_0x155e69(_0x25eb3c,_0x5809ec,_0x4069e0,_0xad3918,_0x10f1aa,0x6,_0x2778d1[0x30]),_0xad3918=_0x155e69(_0xad3918,_0x25eb3c,_0x5809ec,_0x4069e0,_0xe56ab7,0xa,_0x2778d1[0x31]),_0x4069e0=_0x155e69(_0x4069e0,_0xad3918,_0x25eb3c,_0x5809ec,_0x1d2f2e,0xf,_0x2778d1[0x32]),_0x5809ec=_0x155e69(_0x5809ec,_0x4069e0,_0xad3918,_0x25eb3c,_0x13618a,0x15,_0x2778d1[0x33]),_0x25eb3c=_0x155e69(_0x25eb3c,_0x5809ec,_0x4069e0,_0xad3918,_0x55efab,0x6,_0x2778d1[0x34]),_0xad3918=_0x155e69(_0xad3918,_0x25eb3c,_0x5809ec,_0x4069e0,_0x5ca233,0xa,_0x2778d1[0x35]),_0x4069e0=_0x155e69(_0x4069e0,_0xad3918,_0x25eb3c,_0x5809ec,_0x234477,0xf,_0x2778d1[0x36]),_0x5809ec=_0x155e69(_0x5809ec,_0x4069e0,_0xad3918,_0x25eb3c,_0x1591fa,0x15,_0x2778d1[0x37]),_0x25eb3c=_0x155e69(_0x25eb3c,_0x5809ec,_0x4069e0,_0xad3918,_0x3423b5,0x6,_0x2778d1[0x38]),_0xad3918=_0x155e69(_0xad3918,_0x25eb3c,_0x5809ec,_0x4069e0,_0x3e2811,0xa,_0x2778d1[0x39]),_0x4069e0=_0x155e69(_0x4069e0,_0xad3918,_0x25eb3c,_0x5809ec,_0x32a5b0,0xf,_0x2778d1[0x3a]),_0x5809ec=_0x155e69(_0x5809ec,_0x4069e0,_0xad3918,_0x25eb3c,_0x2c0720,0x15,_0x2778d1[0x3b]),_0x25eb3c=_0x155e69(_0x25eb3c,_0x5809ec,_0x4069e0,_0xad3918,_0x281fd4,0x6,_0x2778d1[0x3c]),_0xad3918=_0x155e69(_0xad3918,_0x25eb3c,_0x5809ec,_0x4069e0,_0x5b17a9,0xa,_0x2778d1[0x3d]),_0x4069e0=_0x155e69(_0x4069e0,_0xad3918,_0x25eb3c,_0x5809ec,_0x22e3c7,0xf,_0x2778d1[0x3e]),_0x5809ec=_0x155e69(_0x5809ec,_0x4069e0,_0xad3918,_0x25eb3c,_0x2091a1,0x15,_0x2778d1[0x3f]),_0x6aca7c[0x0]=_0x6aca7c[0x0]+_0x25eb3c|0x0,_0x6aca7c[0x1]=_0x6aca7c[0x1]+_0x5809ec|0x0,_0x6aca7c[0x2]=_0x6aca7c[0x2]+_0x4069e0|0x0,_0x6aca7c[0x3]=_0x6aca7c[0x3]+_0xad3918|0x0;},'_doFinalize':function(){var _0x2a161b=_0x5c2b61,_0x15bf7d=this[_0x2a161b(0x18e)],_0x276bcb=_0x15bf7d[_0x2a161b(0x27b)],_0x401812=this['_nDataBytes']*0x8,_0x51f0d6=_0x15bf7d[_0x2a161b(0x25c)]*0x8;_0x276bcb[_0x51f0d6>>>0x5]|=0x80<<0x18-_0x51f0d6%0x20;var _0x15d9ed=_0x2f6d84['floor'](_0x401812/0x100000000),_0x5e4b52=_0x401812;_0x276bcb[(_0x51f0d6+0x40>>>0x9<<0x4)+0xf]=(_0x15d9ed<<0x8|_0x15d9ed>>>0x18)&0xff00ff|(_0x15d9ed<<0x18|_0x15d9ed>>>0x8)&0xff00ff00,_0x276bcb[(_0x51f0d6+0x40>>>0x9<<0x4)+0xe]=(_0x5e4b52<<0x8|_0x5e4b52>>>0x18)&0xff00ff|(_0x5e4b52<<0x18|_0x5e4b52>>>0x8)&0xff00ff00,_0x15bf7d['sigBytes']=(_0x276bcb[_0x2a161b(0x354)]+0x1)*0x4,this['_process']();for(var _0x52b56f=this[_0x2a161b(0x482)],_0x572376=_0x52b56f[_0x2a161b(0x27b)],_0x3161e6=0x0;_0x3161e6<0x4;_0x3161e6++){var _0x3f4158=_0x572376[_0x3161e6];_0x572376[_0x3161e6]=(_0x3f4158<<0x8|_0x3f4158>>>0x18)&0xff00ff|(_0x3f4158<<0x18|_0x3f4158>>>0x8)&0xff00ff00;}return _0x52b56f;},'clone':function(){var _0x569a27=_0x5c2b61,_0x2905d0=_0x43f18d['clone']['call'](this);return _0x2905d0[_0x569a27(0x482)]=this[_0x569a27(0x482)][_0x569a27(0x19c)](),_0x2905d0;}});function _0x49cb20(_0x582316,_0x2ff0a1,_0x3db580,_0x746a1d,_0x16170e,_0x48a1ab,_0x72276){var _0x418e5a=_0x582316+(_0x2ff0a1&_0x3db580|~_0x2ff0a1&_0x746a1d)+_0x16170e+_0x72276;return(_0x418e5a<<_0x48a1ab|_0x418e5a>>>0x20-_0x48a1ab)+_0x2ff0a1;}function _0x18c039(_0x3b2bf1,_0x4bff8c,_0xbc5e28,_0x2a99f3,_0x26acba,_0x516b70,_0x234e5d){var _0x26bea0=_0x3b2bf1+(_0x4bff8c&_0x2a99f3|_0xbc5e28&~_0x2a99f3)+_0x26acba+_0x234e5d;return(_0x26bea0<<_0x516b70|_0x26bea0>>>0x20-_0x516b70)+_0x4bff8c;}function _0x59c425(_0x526b6b,_0x1a28b5,_0x1e79a1,_0x487664,_0x39fa59,_0x46727c,_0x27b5e2){var _0x52b734=_0x526b6b+(_0x1a28b5^_0x1e79a1^_0x487664)+_0x39fa59+_0x27b5e2;return(_0x52b734<<_0x46727c|_0x52b734>>>0x20-_0x46727c)+_0x1a28b5;}function _0x155e69(_0x1f6364,_0x3221c3,_0x3e0854,_0x4036b9,_0x33dab4,_0x4896fe,_0x507cce){var _0x6b88f6=_0x1f6364+(_0x3e0854^(_0x3221c3|~_0x4036b9))+_0x33dab4+_0x507cce;return(_0x6b88f6<<_0x4896fe|_0x6b88f6>>>0x20-_0x4896fe)+_0x3221c3;}_0x1902a6['MD5']=_0x43f18d['_createHelper'](_0x28a9ab),_0x1902a6[_0x5c2b61(0x411)]=_0x43f18d[_0x5c2b61(0x3a3)](_0x28a9ab);}(Math),_0x530cad[_0x276fb0(0x2ec)];}));}(pe)),pe[_0x213947(0x447)];}var me={'exports':{}},ge={'exports':{}},Ui=ge['exports'],Ze;function Ai(){var _0x39f15f=_0x422fe2;return Ze||(Ze=0x1,function(_0x24c8f0,_0x5acb0a){(function(_0x4b2d21,_0x274452){var _0x36c119=_0x307d;_0x24c8f0[_0x36c119(0x447)]=_0x274452(Z());}(Ui,function(_0x42333a){return(function(){var _0x2b1536=_0x307d,_0x28d621=_0x42333a,_0x590934=_0x28d621['lib'],_0x13fa06=_0x590934[_0x2b1536(0x197)],_0x5d7bbb=_0x590934['Hasher'],_0x152cf7=_0x28d621[_0x2b1536(0x448)],_0x30aae1=[],_0x4b667b=_0x152cf7[_0x2b1536(0x412)]=_0x5d7bbb[_0x2b1536(0x4ab)]({'_doReset':function(){var _0xb0008d=_0x2b1536;this[_0xb0008d(0x482)]=new _0x13fa06['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x168a3a,_0x4b3cc9){var _0x4e648d=_0x2b1536;for(var _0x301558=this['_hash'][_0x4e648d(0x27b)],_0x4666d9=_0x301558[0x0],_0x5a889c=_0x301558[0x1],_0x52ca07=_0x301558[0x2],_0x99d382=_0x301558[0x3],_0x1c05dc=_0x301558[0x4],_0x134d05=0x0;_0x134d05<0x50;_0x134d05++){if(_0x134d05<0x10)_0x30aae1[_0x134d05]=_0x168a3a[_0x4b3cc9+_0x134d05]|0x0;else{var _0x35b990=_0x30aae1[_0x134d05-0x3]^_0x30aae1[_0x134d05-0x8]^_0x30aae1[_0x134d05-0xe]^_0x30aae1[_0x134d05-0x10];_0x30aae1[_0x134d05]=_0x35b990<<0x1|_0x35b990>>>0x1f;}var _0x21f614=(_0x4666d9<<0x5|_0x4666d9>>>0x1b)+_0x1c05dc+_0x30aae1[_0x134d05];_0x134d05<0x14?_0x21f614+=(_0x5a889c&_0x52ca07|~_0x5a889c&_0x99d382)+0x5a827999:_0x134d05<0x28?_0x21f614+=(_0x5a889c^_0x52ca07^_0x99d382)+0x6ed9eba1:_0x134d05<0x3c?_0x21f614+=(_0x5a889c&_0x52ca07|_0x5a889c&_0x99d382|_0x52ca07&_0x99d382)-0x70e44324:_0x21f614+=(_0x5a889c^_0x52ca07^_0x99d382)-0x359d3e2a,_0x1c05dc=_0x99d382,_0x99d382=_0x52ca07,_0x52ca07=_0x5a889c<<0x1e|_0x5a889c>>>0x2,_0x5a889c=_0x4666d9,_0x4666d9=_0x21f614;}_0x301558[0x0]=_0x301558[0x0]+_0x4666d9|0x0,_0x301558[0x1]=_0x301558[0x1]+_0x5a889c|0x0,_0x301558[0x2]=_0x301558[0x2]+_0x52ca07|0x0,_0x301558[0x3]=_0x301558[0x3]+_0x99d382|0x0,_0x301558[0x4]=_0x301558[0x4]+_0x1c05dc|0x0;},'_doFinalize':function(){var _0x4ccf2c=_0x2b1536,_0x4b321b=this[_0x4ccf2c(0x18e)],_0x3e5667=_0x4b321b['words'],_0x3bad04=this['_nDataBytes']*0x8,_0x2268c5=_0x4b321b[_0x4ccf2c(0x25c)]*0x8;return _0x3e5667[_0x2268c5>>>0x5]|=0x80<<0x18-_0x2268c5%0x20,_0x3e5667[(_0x2268c5+0x40>>>0x9<<0x4)+0xe]=Math[_0x4ccf2c(0x509)](_0x3bad04/0x100000000),_0x3e5667[(_0x2268c5+0x40>>>0x9<<0x4)+0xf]=_0x3bad04,_0x4b321b[_0x4ccf2c(0x25c)]=_0x3e5667[_0x4ccf2c(0x354)]*0x4,this[_0x4ccf2c(0x1d7)](),this[_0x4ccf2c(0x482)];},'clone':function(){var _0xbab7c9=_0x2b1536,_0x144670=_0x5d7bbb[_0xbab7c9(0x19c)]['call'](this);return _0x144670[_0xbab7c9(0x482)]=this['_hash'][_0xbab7c9(0x19c)](),_0x144670;}});_0x28d621[_0x2b1536(0x412)]=_0x5d7bbb['_createHelper'](_0x4b667b),_0x28d621['HmacSHA1']=_0x5d7bbb[_0x2b1536(0x3a3)](_0x4b667b);}()),_0x42333a['SHA1'];}));}(ge)),ge[_0x39f15f(0x447)];}var Te={'exports':{}},Pi=Te['exports'],Qe;function Li(){var _0x5e0321=_0x422fe2;return Qe||(Qe=0x1,function(_0x2bd3ab,_0x4d3e64){(function(_0x5273f6,_0x5d3874){_0x2bd3ab['exports']=_0x5d3874(Z());}(Pi,function(_0x4e0ed2){(function(){var _0x6e5d1f=_0x307d,_0x5295b4=_0x4e0ed2,_0x3c05f1=_0x5295b4[_0x6e5d1f(0x48a)],_0x383d9d=_0x3c05f1[_0x6e5d1f(0x3e8)],_0x3a222c=_0x5295b4[_0x6e5d1f(0x318)],_0x573192=_0x3a222c[_0x6e5d1f(0x1cc)],_0x1f8477=_0x5295b4[_0x6e5d1f(0x448)];_0x1f8477[_0x6e5d1f(0x27d)]=_0x383d9d[_0x6e5d1f(0x4ab)]({'init':function(_0x20eb23,_0x230fc1){var _0x13258a=_0x6e5d1f;_0x20eb23=this['_hasher']=new _0x20eb23[(_0x13258a(0x257))](),typeof _0x230fc1==_0x13258a(0x2cf)&&(_0x230fc1=_0x573192[_0x13258a(0x2f5)](_0x230fc1));var _0x5611a9=_0x20eb23[_0x13258a(0x283)],_0x64ecc5=_0x5611a9*0x4;_0x230fc1['sigBytes']>_0x64ecc5&&(_0x230fc1=_0x20eb23[_0x13258a(0x3e7)](_0x230fc1)),_0x230fc1['clamp']();for(var _0x4283a7=this[_0x13258a(0x3f0)]=_0x230fc1[_0x13258a(0x19c)](),_0x40ecfb=this[_0x13258a(0x4f3)]=_0x230fc1['clone'](),_0x1ebb6d=_0x4283a7['words'],_0x17636c=_0x40ecfb[_0x13258a(0x27b)],_0x23006c=0x0;_0x23006c<_0x5611a9;_0x23006c++)_0x1ebb6d[_0x23006c]^=0x5c5c5c5c,_0x17636c[_0x23006c]^=0x36363636;_0x4283a7[_0x13258a(0x25c)]=_0x40ecfb[_0x13258a(0x25c)]=_0x64ecc5,this[_0x13258a(0x36c)]();},'reset':function(){var _0x597a37=_0x6e5d1f,_0x4a117e=this[_0x597a37(0x2c7)];_0x4a117e['reset'](),_0x4a117e['update'](this[_0x597a37(0x4f3)]);},'update':function(_0x2109c9){var _0x3c8a36=_0x6e5d1f;return this['_hasher'][_0x3c8a36(0x192)](_0x2109c9),this;},'finalize':function(_0x356445){var _0x5181b1=_0x6e5d1f,_0x204ffb=this[_0x5181b1(0x2c7)],_0x3ac9d4=_0x204ffb[_0x5181b1(0x3e7)](_0x356445);_0x204ffb[_0x5181b1(0x36c)]();var _0x247dd9=_0x204ffb[_0x5181b1(0x3e7)](this['_oKey'][_0x5181b1(0x19c)]()[_0x5181b1(0x4d8)](_0x3ac9d4));return _0x247dd9;}});}());}));}(Te)),Te[_0x5e0321(0x447)];}var Mi=me[_0x422fe2(0x447)],et;function Rt(){var _0x345045=_0x422fe2;return et||(et=0x1,function(_0xa294ae,_0x2d2575){(function(_0x2f38bd,_0x1c33db,_0x483cb0){var _0x17bad8=_0x307d;_0xa294ae[_0x17bad8(0x447)]=_0x1c33db(Z(),Ai(),Li());}(Mi,function(_0x397d8f){var _0x4e7b90=_0x307d;return(function(){var _0x2ac335=_0x307d,_0xb2bfe2=_0x397d8f,_0x2a5dff=_0xb2bfe2[_0x2ac335(0x48a)],_0x143673=_0x2a5dff[_0x2ac335(0x3e8)],_0x330048=_0x2a5dff['WordArray'],_0x2eb298=_0xb2bfe2[_0x2ac335(0x448)],_0x332a7e=_0x2eb298['MD5'],_0x555eb8=_0x2eb298[_0x2ac335(0x430)]=_0x143673[_0x2ac335(0x4ab)]({'cfg':_0x143673[_0x2ac335(0x4ab)]({'keySize':0x80/0x20,'hasher':_0x332a7e,'iterations':0x1}),'init':function(_0x94cf1){var _0x1057bd=_0x2ac335;this[_0x1057bd(0x250)]=this['cfg']['extend'](_0x94cf1);},'compute':function(_0x527e7a,_0x22236e){var _0x2ea677=_0x2ac335;for(var _0x4efe50,_0xa0df40=this[_0x2ea677(0x250)],_0x385d6f=_0xa0df40[_0x2ea677(0x28f)][_0x2ea677(0x211)](),_0x15db27=_0x330048[_0x2ea677(0x211)](),_0x56057c=_0x15db27[_0x2ea677(0x27b)],_0x1e6a19=_0xa0df40[_0x2ea677(0x4f4)],_0x1bda1f=_0xa0df40[_0x2ea677(0x42b)];_0x56057c[_0x2ea677(0x354)]<_0x1e6a19;){_0x4efe50&&_0x385d6f[_0x2ea677(0x192)](_0x4efe50),_0x4efe50=_0x385d6f[_0x2ea677(0x192)](_0x527e7a)['finalize'](_0x22236e),_0x385d6f[_0x2ea677(0x36c)]();for(var _0x42096c=0x1;_0x42096c<_0x1bda1f;_0x42096c++)_0x4efe50=_0x385d6f[_0x2ea677(0x3e7)](_0x4efe50),_0x385d6f[_0x2ea677(0x36c)]();_0x15db27[_0x2ea677(0x4d8)](_0x4efe50);}return _0x15db27[_0x2ea677(0x25c)]=_0x1e6a19*0x4,_0x15db27;}});_0xb2bfe2[_0x2ac335(0x430)]=function(_0x104d38,_0x217dfe,_0x2ec1eb){var _0x161a25=_0x2ac335;return _0x555eb8['create'](_0x2ec1eb)[_0x161a25(0x475)](_0x104d38,_0x217dfe);};}()),_0x397d8f[_0x4e7b90(0x430)];}));}(me)),me[_0x345045(0x447)];}var Ce={'exports':{}},wi=Ce['exports'],tt;function Nt(){var _0x37afda=_0x422fe2;return tt||(tt=0x1,function(_0x15dafb,_0x30b02a){(function(_0x5e1927,_0xa0ea0e,_0x44a80c){var _0x8434a4=_0x307d;_0x15dafb[_0x8434a4(0x447)]=_0xa0ea0e(Z(),Rt());}(wi,function(_0x494d11){_0x494d11['lib']['Cipher']||function(_0x1c5b7a){var _0x3c7591=_0x307d,_0x5bf5d3=_0x494d11,_0x1e46d3=_0x5bf5d3[_0x3c7591(0x48a)],_0x3514a0=_0x1e46d3['Base'],_0x40cc42=_0x1e46d3[_0x3c7591(0x197)],_0x27be0b=_0x1e46d3[_0x3c7591(0x3db)],_0x27d022=_0x5bf5d3[_0x3c7591(0x318)];_0x27d022[_0x3c7591(0x1cc)];var _0xa05dc1=_0x27d022['Base64'],_0x59445f=_0x5bf5d3[_0x3c7591(0x448)],_0x89b2e3=_0x59445f[_0x3c7591(0x430)],_0x5c7444=_0x1e46d3['Cipher']=_0x27be0b[_0x3c7591(0x4ab)]({'cfg':_0x3514a0[_0x3c7591(0x4ab)](),'createEncryptor':function(_0x85a353,_0x1b5c46){var _0x4f305d=_0x3c7591;return this[_0x4f305d(0x211)](this[_0x4f305d(0x23c)],_0x85a353,_0x1b5c46);},'createDecryptor':function(_0x1f9293,_0x41d353){var _0x47a65f=_0x3c7591;return this[_0x47a65f(0x211)](this['_DEC_XFORM_MODE'],_0x1f9293,_0x41d353);},'init':function(_0x2cb98c,_0x26db06,_0x9d4de8){var _0x4bd62f=_0x3c7591;this[_0x4bd62f(0x250)]=this[_0x4bd62f(0x250)][_0x4bd62f(0x4ab)](_0x9d4de8),this[_0x4bd62f(0x18f)]=_0x2cb98c,this[_0x4bd62f(0x408)]=_0x26db06,this['reset']();},'reset':function(){var _0x1a4b7e=_0x3c7591;_0x27be0b[_0x1a4b7e(0x36c)][_0x1a4b7e(0x36d)](this),this[_0x1a4b7e(0x4fd)]();},'process':function(_0x55e310){var _0x1958e2=_0x3c7591;return this['_append'](_0x55e310),this[_0x1958e2(0x1d7)]();},'finalize':function(_0x4d4a04){var _0x3c38f5=_0x3c7591;_0x4d4a04&&this[_0x3c38f5(0x4fe)](_0x4d4a04);var _0x1b6ab9=this[_0x3c38f5(0x2b7)]();return _0x1b6ab9;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xb3f19d(_0x23b7ba){var _0x56f64b=_0x307d;return typeof _0x23b7ba==_0x56f64b(0x2cf)?_0x3bf5b2:_0x138c56;}return function(_0x106795){return{'encrypt':function(_0x56a231,_0x36b3b3,_0x1954fc){return _0xb3f19d(_0x36b3b3)['encrypt'](_0x106795,_0x56a231,_0x36b3b3,_0x1954fc);},'decrypt':function(_0x789a74,_0xd50177,_0x506267){var _0x467414=_0x307d;return _0xb3f19d(_0xd50177)[_0x467414(0x286)](_0x106795,_0x789a74,_0xd50177,_0x506267);}};};}())});_0x1e46d3['StreamCipher']=_0x5c7444['extend']({'_doFinalize':function(){var _0x5e18ef=_0x3c7591,_0x213b62=this[_0x5e18ef(0x1d7)](!0x0);return _0x213b62;},'blockSize':0x1});var _0x3b1f0d=_0x5bf5d3['mode']={},_0x9df53e=_0x1e46d3['BlockCipherMode']=_0x3514a0[_0x3c7591(0x4ab)]({'createEncryptor':function(_0x4d9f0b,_0x1d3c2d){var _0x23282a=_0x3c7591;return this[_0x23282a(0x196)][_0x23282a(0x211)](_0x4d9f0b,_0x1d3c2d);},'createDecryptor':function(_0x661caa,_0xb72122){var _0x4c4fc0=_0x3c7591;return this[_0x4c4fc0(0x270)][_0x4c4fc0(0x211)](_0x661caa,_0xb72122);},'init':function(_0x3ac884,_0x3237b6){var _0x3bc6e8=_0x3c7591;this[_0x3bc6e8(0x426)]=_0x3ac884,this[_0x3bc6e8(0x2cb)]=_0x3237b6;}}),_0x1b5914=_0x3b1f0d['CBC']=(function(){var _0x1200aa=_0x3c7591,_0x56d5fb=_0x9df53e[_0x1200aa(0x4ab)]();_0x56d5fb[_0x1200aa(0x196)]=_0x56d5fb[_0x1200aa(0x4ab)]({'processBlock':function(_0x843ff1,_0x3607a0){var _0x32d0e8=_0x1200aa,_0x29d4a7=this[_0x32d0e8(0x426)],_0x416af9=_0x29d4a7[_0x32d0e8(0x283)];_0x1c2211[_0x32d0e8(0x36d)](this,_0x843ff1,_0x3607a0,_0x416af9),_0x29d4a7[_0x32d0e8(0x443)](_0x843ff1,_0x3607a0),this[_0x32d0e8(0x1bf)]=_0x843ff1[_0x32d0e8(0x4b8)](_0x3607a0,_0x3607a0+_0x416af9);}}),_0x56d5fb[_0x1200aa(0x270)]=_0x56d5fb[_0x1200aa(0x4ab)]({'processBlock':function(_0x4514d7,_0x1fb982){var _0x3585ed=_0x1200aa,_0x5765df=this[_0x3585ed(0x426)],_0x590ca3=_0x5765df[_0x3585ed(0x283)],_0x293840=_0x4514d7[_0x3585ed(0x4b8)](_0x1fb982,_0x1fb982+_0x590ca3);_0x5765df[_0x3585ed(0x1e7)](_0x4514d7,_0x1fb982),_0x1c2211[_0x3585ed(0x36d)](this,_0x4514d7,_0x1fb982,_0x590ca3),this[_0x3585ed(0x1bf)]=_0x293840;}});function _0x1c2211(_0x2d0ee4,_0xd61c8a,_0x1bce4e){var _0x57a415=_0x1200aa,_0x2e3679,_0x35ca97=this[_0x57a415(0x2cb)];_0x35ca97?(_0x2e3679=_0x35ca97,this['_iv']=_0x1c5b7a):_0x2e3679=this[_0x57a415(0x1bf)];for(var _0x1145ed=0x0;_0x1145ed<_0x1bce4e;_0x1145ed++)_0x2d0ee4[_0xd61c8a+_0x1145ed]^=_0x2e3679[_0x1145ed];}return _0x56d5fb;}()),_0x52a358=_0x5bf5d3['pad']={},_0x2c0eba=_0x52a358[_0x3c7591(0x239)]={'pad':function(_0x1540d2,_0x1ff15){var _0x10ae75=_0x3c7591;for(var _0xa287f8=_0x1ff15*0x4,_0x1834f2=_0xa287f8-_0x1540d2[_0x10ae75(0x25c)]%_0xa287f8,_0x3a0877=_0x1834f2<<0x18|_0x1834f2<<0x10|_0x1834f2<<0x8|_0x1834f2,_0x2057f0=[],_0xc5b5bb=0x0;_0xc5b5bb<_0x1834f2;_0xc5b5bb+=0x4)_0x2057f0[_0x10ae75(0x29e)](_0x3a0877);var _0x216eb5=_0x40cc42[_0x10ae75(0x211)](_0x2057f0,_0x1834f2);_0x1540d2[_0x10ae75(0x4d8)](_0x216eb5);},'unpad':function(_0x98611e){var _0x3c7eb1=_0x3c7591,_0x38e341=_0x98611e[_0x3c7eb1(0x27b)][_0x98611e[_0x3c7eb1(0x25c)]-0x1>>>0x2]&0xff;_0x98611e[_0x3c7eb1(0x25c)]-=_0x38e341;}};_0x1e46d3[_0x3c7591(0x1f3)]=_0x5c7444[_0x3c7591(0x4ab)]({'cfg':_0x5c7444['cfg']['extend']({'mode':_0x1b5914,'padding':_0x2c0eba}),'reset':function(){var _0x19f82f=_0x3c7591,_0x1ee829;_0x5c7444['reset'][_0x19f82f(0x36d)](this);var _0x41d8f4=this[_0x19f82f(0x250)],_0x24e4e1=_0x41d8f4['iv'],_0x7393d7=_0x41d8f4[_0x19f82f(0x518)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x1ee829=_0x7393d7['createEncryptor']:(_0x1ee829=_0x7393d7[_0x19f82f(0x3c4)],this['_minBufferSize']=0x1),this[_0x19f82f(0x3e3)]&&this[_0x19f82f(0x3e3)][_0x19f82f(0x340)]==_0x1ee829?this[_0x19f82f(0x3e3)]['init'](this,_0x24e4e1&&_0x24e4e1['words']):(this[_0x19f82f(0x3e3)]=_0x1ee829['call'](_0x7393d7,this,_0x24e4e1&&_0x24e4e1[_0x19f82f(0x27b)]),this[_0x19f82f(0x3e3)]['__creator']=_0x1ee829);},'_doProcessBlock':function(_0x46c19a,_0x253f58){var _0x34fd47=_0x3c7591;this[_0x34fd47(0x3e3)][_0x34fd47(0x319)](_0x46c19a,_0x253f58);},'_doFinalize':function(){var _0x227f47=_0x3c7591,_0x192a78,_0x268a54=this[_0x227f47(0x250)][_0x227f47(0x265)];return this[_0x227f47(0x18f)]==this['_ENC_XFORM_MODE']?(_0x268a54[_0x227f47(0x40c)](this[_0x227f47(0x18e)],this['blockSize']),_0x192a78=this[_0x227f47(0x1d7)](!0x0)):(_0x192a78=this[_0x227f47(0x1d7)](!0x0),_0x268a54[_0x227f47(0x1a6)](_0x192a78)),_0x192a78;},'blockSize':0x80/0x20});var _0x29f573=_0x1e46d3[_0x3c7591(0x2ac)]=_0x3514a0['extend']({'init':function(_0x48619f){var _0x5977d0=_0x3c7591;this[_0x5977d0(0x383)](_0x48619f);},'toString':function(_0x436fd7){var _0x94d636=_0x3c7591;return(_0x436fd7||this[_0x94d636(0x3a4)])['stringify'](this);}}),_0x3341d7=_0x5bf5d3['format']={},_0x506737=_0x3341d7['OpenSSL']={'stringify':function(_0x5935cc){var _0x2caae4=_0x3c7591,_0x2f24bf,_0x3219af=_0x5935cc['ciphertext'],_0xb0be80=_0x5935cc[_0x2caae4(0x4fb)];return _0xb0be80?_0x2f24bf=_0x40cc42[_0x2caae4(0x211)]([0x53616c74,0x65645f5f])[_0x2caae4(0x4d8)](_0xb0be80)[_0x2caae4(0x4d8)](_0x3219af):_0x2f24bf=_0x3219af,_0x2f24bf['toString'](_0xa05dc1);},'parse':function(_0x21a3a5){var _0x19c510=_0x3c7591,_0x43a892,_0x1ee038=_0xa05dc1['parse'](_0x21a3a5),_0x39e465=_0x1ee038[_0x19c510(0x27b)];return _0x39e465[0x0]==0x53616c74&&_0x39e465[0x1]==0x65645f5f&&(_0x43a892=_0x40cc42[_0x19c510(0x211)](_0x39e465[_0x19c510(0x4b8)](0x2,0x4)),_0x39e465[_0x19c510(0x44b)](0x0,0x4),_0x1ee038['sigBytes']-=0x10),_0x29f573[_0x19c510(0x211)]({'ciphertext':_0x1ee038,'salt':_0x43a892});}},_0x138c56=_0x1e46d3['SerializableCipher']=_0x3514a0[_0x3c7591(0x4ab)]({'cfg':_0x3514a0[_0x3c7591(0x4ab)]({'format':_0x506737}),'encrypt':function(_0x3509bc,_0x46d5c6,_0x536c91,_0x3b875b){var _0x3d2ee4=_0x3c7591;_0x3b875b=this[_0x3d2ee4(0x250)][_0x3d2ee4(0x4ab)](_0x3b875b);var _0x4fe8e8=_0x3509bc[_0x3d2ee4(0x429)](_0x536c91,_0x3b875b),_0xc93daf=_0x4fe8e8['finalize'](_0x46d5c6),_0x2207b2=_0x4fe8e8[_0x3d2ee4(0x250)];return _0x29f573['create']({'ciphertext':_0xc93daf,'key':_0x536c91,'iv':_0x2207b2['iv'],'algorithm':_0x3509bc,'mode':_0x2207b2['mode'],'padding':_0x2207b2[_0x3d2ee4(0x265)],'blockSize':_0x3509bc[_0x3d2ee4(0x283)],'formatter':_0x3b875b['format']});},'decrypt':function(_0x2f7fbd,_0x57a6c3,_0x45c3f2,_0x439543){var _0x4581ac=_0x3c7591;_0x439543=this[_0x4581ac(0x250)]['extend'](_0x439543),_0x57a6c3=this[_0x4581ac(0x39e)](_0x57a6c3,_0x439543['format']);var _0x2f78dc=_0x2f7fbd['createDecryptor'](_0x45c3f2,_0x439543)[_0x4581ac(0x3e7)](_0x57a6c3['ciphertext']);return _0x2f78dc;},'_parse':function(_0x22d150,_0x1318a9){var _0x5921f6=_0x3c7591;return typeof _0x22d150==_0x5921f6(0x2cf)?_0x1318a9[_0x5921f6(0x2f5)](_0x22d150,this):_0x22d150;}}),_0x38edf9=_0x5bf5d3['kdf']={},_0x2d9a07=_0x38edf9['OpenSSL']={'execute':function(_0x36a617,_0xd98646,_0x391eed,_0x15e5c0,_0x38d263){var _0x2bc40a=_0x3c7591;if(_0x15e5c0||(_0x15e5c0=_0x40cc42[_0x2bc40a(0x425)](0x40/0x8)),_0x38d263)var _0x25777a=_0x89b2e3[_0x2bc40a(0x211)]({'keySize':_0xd98646+_0x391eed,'hasher':_0x38d263})[_0x2bc40a(0x475)](_0x36a617,_0x15e5c0);else var _0x25777a=_0x89b2e3[_0x2bc40a(0x211)]({'keySize':_0xd98646+_0x391eed})[_0x2bc40a(0x475)](_0x36a617,_0x15e5c0);var _0x3527c4=_0x40cc42['create'](_0x25777a[_0x2bc40a(0x27b)][_0x2bc40a(0x4b8)](_0xd98646),_0x391eed*0x4);return _0x25777a[_0x2bc40a(0x25c)]=_0xd98646*0x4,_0x29f573[_0x2bc40a(0x211)]({'key':_0x25777a,'iv':_0x3527c4,'salt':_0x15e5c0});}},_0x3bf5b2=_0x1e46d3[_0x3c7591(0x337)]=_0x138c56[_0x3c7591(0x4ab)]({'cfg':_0x138c56[_0x3c7591(0x250)][_0x3c7591(0x4ab)]({'kdf':_0x2d9a07}),'encrypt':function(_0x346b81,_0x2ea540,_0x3e25cd,_0xa044c2){var _0x2302ea=_0x3c7591;_0xa044c2=this[_0x2302ea(0x250)][_0x2302ea(0x4ab)](_0xa044c2);var _0xca425d=_0xa044c2[_0x2302ea(0x3a5)][_0x2302ea(0x465)](_0x3e25cd,_0x346b81[_0x2302ea(0x4f4)],_0x346b81['ivSize'],_0xa044c2[_0x2302ea(0x4fb)],_0xa044c2[_0x2302ea(0x28f)]);_0xa044c2['iv']=_0xca425d['iv'];var _0x2958ac=_0x138c56[_0x2302ea(0x1ef)][_0x2302ea(0x36d)](this,_0x346b81,_0x2ea540,_0xca425d['key'],_0xa044c2);return _0x2958ac[_0x2302ea(0x383)](_0xca425d),_0x2958ac;},'decrypt':function(_0xebdd62,_0x188ad6,_0x15657f,_0x23011b){var _0x70426b=_0x3c7591;_0x23011b=this[_0x70426b(0x250)][_0x70426b(0x4ab)](_0x23011b),_0x188ad6=this[_0x70426b(0x39e)](_0x188ad6,_0x23011b[_0x70426b(0x3f3)]);var _0x2f2e1e=_0x23011b[_0x70426b(0x3a5)][_0x70426b(0x465)](_0x15657f,_0xebdd62[_0x70426b(0x4f4)],_0xebdd62[_0x70426b(0x2ab)],_0x188ad6['salt'],_0x23011b[_0x70426b(0x28f)]);_0x23011b['iv']=_0x2f2e1e['iv'];var _0x131de6=_0x138c56[_0x70426b(0x286)][_0x70426b(0x36d)](this,_0xebdd62,_0x188ad6,_0x2f2e1e[_0x70426b(0x332)],_0x23011b);return _0x131de6;}});}();}));}(Ce)),Ce[_0x37afda(0x447)];}var xi=Ie[_0x422fe2(0x447)],it;function ki(){var _0x275527=_0x422fe2;return it||(it=0x1,function(_0x1101d6,_0x2f7f6d){(function(_0x1781c3,_0x1cd463,_0x32c78f){var _0x2f1b9e=_0x307d;_0x1101d6[_0x2f1b9e(0x447)]=_0x1cd463(Z(),bt(),yi(),Rt(),Nt());}(xi,function(_0x350d10){var _0x10ede9=_0x307d;return(function(){var _0x5c6f52=_0x307d,_0x331777=_0x350d10,_0xf0ccfa=_0x331777['lib'],_0x553515=_0xf0ccfa[_0x5c6f52(0x1f3)],_0x3e93fb=_0x331777[_0x5c6f52(0x448)],_0x274fd7=[],_0x918087=[],_0x25a225=[],_0x1b2c8b=[],_0x41fd18=[],_0x5c2e8d=[],_0x85ecf1=[],_0x553484=[],_0x141760=[],_0x4f7d65=[];(function(){for(var _0x2c0392=[],_0x338cd9=0x0;_0x338cd9<0x100;_0x338cd9++)_0x338cd9<0x80?_0x2c0392[_0x338cd9]=_0x338cd9<<0x1:_0x2c0392[_0x338cd9]=_0x338cd9<<0x1^0x11b;for(var _0x134114=0x0,_0x49e3f8=0x0,_0x338cd9=0x0;_0x338cd9<0x100;_0x338cd9++){var _0x48d5c9=_0x49e3f8^_0x49e3f8<<0x1^_0x49e3f8<<0x2^_0x49e3f8<<0x3^_0x49e3f8<<0x4;_0x48d5c9=_0x48d5c9>>>0x8^_0x48d5c9&0xff^0x63,_0x274fd7[_0x134114]=_0x48d5c9,_0x918087[_0x48d5c9]=_0x134114;var _0xf340cd=_0x2c0392[_0x134114],_0x4fabf3=_0x2c0392[_0xf340cd],_0x560be9=_0x2c0392[_0x4fabf3],_0x4dac63=_0x2c0392[_0x48d5c9]*0x101^_0x48d5c9*0x1010100;_0x25a225[_0x134114]=_0x4dac63<<0x18|_0x4dac63>>>0x8,_0x1b2c8b[_0x134114]=_0x4dac63<<0x10|_0x4dac63>>>0x10,_0x41fd18[_0x134114]=_0x4dac63<<0x8|_0x4dac63>>>0x18,_0x5c2e8d[_0x134114]=_0x4dac63;var _0x4dac63=_0x560be9*0x1010101^_0x4fabf3*0x10001^_0xf340cd*0x101^_0x134114*0x1010100;_0x85ecf1[_0x48d5c9]=_0x4dac63<<0x18|_0x4dac63>>>0x8,_0x553484[_0x48d5c9]=_0x4dac63<<0x10|_0x4dac63>>>0x10,_0x141760[_0x48d5c9]=_0x4dac63<<0x8|_0x4dac63>>>0x18,_0x4f7d65[_0x48d5c9]=_0x4dac63,_0x134114?(_0x134114=_0xf340cd^_0x2c0392[_0x2c0392[_0x2c0392[_0x560be9^_0xf340cd]]],_0x49e3f8^=_0x2c0392[_0x2c0392[_0x49e3f8]]):_0x134114=_0x49e3f8=0x1;}}());var _0x512497=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1c01ff=_0x3e93fb[_0x5c6f52(0x471)]=_0x553515[_0x5c6f52(0x4ab)]({'_doReset':function(){var _0x162ebe=_0x5c6f52,_0xe76758;if(!(this['_nRounds']&&this['_keyPriorReset']===this['_key'])){for(var _0x111ac7=this['_keyPriorReset']=this[_0x162ebe(0x408)],_0x2bc7a7=_0x111ac7[_0x162ebe(0x27b)],_0x188f47=_0x111ac7[_0x162ebe(0x25c)]/0x4,_0x4346a1=this[_0x162ebe(0x28b)]=_0x188f47+0x6,_0x1cc0d8=(_0x4346a1+0x1)*0x4,_0x5b64cc=this['_keySchedule']=[],_0x5fe86a=0x0;_0x5fe86a<_0x1cc0d8;_0x5fe86a++)_0x5fe86a<_0x188f47?_0x5b64cc[_0x5fe86a]=_0x2bc7a7[_0x5fe86a]:(_0xe76758=_0x5b64cc[_0x5fe86a-0x1],_0x5fe86a%_0x188f47?_0x188f47>0x6&&_0x5fe86a%_0x188f47==0x4&&(_0xe76758=_0x274fd7[_0xe76758>>>0x18]<<0x18|_0x274fd7[_0xe76758>>>0x10&0xff]<<0x10|_0x274fd7[_0xe76758>>>0x8&0xff]<<0x8|_0x274fd7[_0xe76758&0xff]):(_0xe76758=_0xe76758<<0x8|_0xe76758>>>0x18,_0xe76758=_0x274fd7[_0xe76758>>>0x18]<<0x18|_0x274fd7[_0xe76758>>>0x10&0xff]<<0x10|_0x274fd7[_0xe76758>>>0x8&0xff]<<0x8|_0x274fd7[_0xe76758&0xff],_0xe76758^=_0x512497[_0x5fe86a/_0x188f47|0x0]<<0x18),_0x5b64cc[_0x5fe86a]=_0x5b64cc[_0x5fe86a-_0x188f47]^_0xe76758);for(var _0x599c5d=this[_0x162ebe(0x469)]=[],_0x3425dc=0x0;_0x3425dc<_0x1cc0d8;_0x3425dc++){var _0x5fe86a=_0x1cc0d8-_0x3425dc;if(_0x3425dc%0x4)var _0xe76758=_0x5b64cc[_0x5fe86a];else var _0xe76758=_0x5b64cc[_0x5fe86a-0x4];_0x3425dc<0x4||_0x5fe86a<=0x4?_0x599c5d[_0x3425dc]=_0xe76758:_0x599c5d[_0x3425dc]=_0x85ecf1[_0x274fd7[_0xe76758>>>0x18]]^_0x553484[_0x274fd7[_0xe76758>>>0x10&0xff]]^_0x141760[_0x274fd7[_0xe76758>>>0x8&0xff]]^_0x4f7d65[_0x274fd7[_0xe76758&0xff]];}}},'encryptBlock':function(_0x1200dc,_0x5e1827){var _0x7c1e44=_0x5c6f52;this[_0x7c1e44(0x453)](_0x1200dc,_0x5e1827,this[_0x7c1e44(0x184)],_0x25a225,_0x1b2c8b,_0x41fd18,_0x5c2e8d,_0x274fd7);},'decryptBlock':function(_0x573d1e,_0x2c963b){var _0x1602fd=_0x5c6f52,_0x415527=_0x573d1e[_0x2c963b+0x1];_0x573d1e[_0x2c963b+0x1]=_0x573d1e[_0x2c963b+0x3],_0x573d1e[_0x2c963b+0x3]=_0x415527,this[_0x1602fd(0x453)](_0x573d1e,_0x2c963b,this[_0x1602fd(0x469)],_0x85ecf1,_0x553484,_0x141760,_0x4f7d65,_0x918087);var _0x415527=_0x573d1e[_0x2c963b+0x1];_0x573d1e[_0x2c963b+0x1]=_0x573d1e[_0x2c963b+0x3],_0x573d1e[_0x2c963b+0x3]=_0x415527;},'_doCryptBlock':function(_0x340db9,_0x1e1436,_0x2879a6,_0x231636,_0x5cfd4e,_0x1a8b04,_0x5cacfd,_0x46a344){for(var _0x355c93=this['_nRounds'],_0x4bcd58=_0x340db9[_0x1e1436]^_0x2879a6[0x0],_0x49b3fe=_0x340db9[_0x1e1436+0x1]^_0x2879a6[0x1],_0x18af56=_0x340db9[_0x1e1436+0x2]^_0x2879a6[0x2],_0x511c5c=_0x340db9[_0x1e1436+0x3]^_0x2879a6[0x3],_0x18b80f=0x4,_0xa11f22=0x1;_0xa11f22<_0x355c93;_0xa11f22++){var _0x2af041=_0x231636[_0x4bcd58>>>0x18]^_0x5cfd4e[_0x49b3fe>>>0x10&0xff]^_0x1a8b04[_0x18af56>>>0x8&0xff]^_0x5cacfd[_0x511c5c&0xff]^_0x2879a6[_0x18b80f++],_0x2d912d=_0x231636[_0x49b3fe>>>0x18]^_0x5cfd4e[_0x18af56>>>0x10&0xff]^_0x1a8b04[_0x511c5c>>>0x8&0xff]^_0x5cacfd[_0x4bcd58&0xff]^_0x2879a6[_0x18b80f++],_0x22c0ab=_0x231636[_0x18af56>>>0x18]^_0x5cfd4e[_0x511c5c>>>0x10&0xff]^_0x1a8b04[_0x4bcd58>>>0x8&0xff]^_0x5cacfd[_0x49b3fe&0xff]^_0x2879a6[_0x18b80f++],_0x1eae98=_0x231636[_0x511c5c>>>0x18]^_0x5cfd4e[_0x4bcd58>>>0x10&0xff]^_0x1a8b04[_0x49b3fe>>>0x8&0xff]^_0x5cacfd[_0x18af56&0xff]^_0x2879a6[_0x18b80f++];_0x4bcd58=_0x2af041,_0x49b3fe=_0x2d912d,_0x18af56=_0x22c0ab,_0x511c5c=_0x1eae98;}var _0x2af041=(_0x46a344[_0x4bcd58>>>0x18]<<0x18|_0x46a344[_0x49b3fe>>>0x10&0xff]<<0x10|_0x46a344[_0x18af56>>>0x8&0xff]<<0x8|_0x46a344[_0x511c5c&0xff])^_0x2879a6[_0x18b80f++],_0x2d912d=(_0x46a344[_0x49b3fe>>>0x18]<<0x18|_0x46a344[_0x18af56>>>0x10&0xff]<<0x10|_0x46a344[_0x511c5c>>>0x8&0xff]<<0x8|_0x46a344[_0x4bcd58&0xff])^_0x2879a6[_0x18b80f++],_0x22c0ab=(_0x46a344[_0x18af56>>>0x18]<<0x18|_0x46a344[_0x511c5c>>>0x10&0xff]<<0x10|_0x46a344[_0x4bcd58>>>0x8&0xff]<<0x8|_0x46a344[_0x49b3fe&0xff])^_0x2879a6[_0x18b80f++],_0x1eae98=(_0x46a344[_0x511c5c>>>0x18]<<0x18|_0x46a344[_0x4bcd58>>>0x10&0xff]<<0x10|_0x46a344[_0x49b3fe>>>0x8&0xff]<<0x8|_0x46a344[_0x18af56&0xff])^_0x2879a6[_0x18b80f++];_0x340db9[_0x1e1436]=_0x2af041,_0x340db9[_0x1e1436+0x1]=_0x2d912d,_0x340db9[_0x1e1436+0x2]=_0x22c0ab,_0x340db9[_0x1e1436+0x3]=_0x1eae98;},'keySize':0x100/0x20});_0x331777['AES']=_0x553515[_0x5c6f52(0x376)](_0x1c01ff);}()),_0x350d10[_0x10ede9(0x471)];}));}(Ie)),Ie[_0x275527(0x447)];}var $i=ki();const Hi=de($i);var ji=bt();const nt=de(ji);var Oe={'exports':{}},Bi=Oe[_0x422fe2(0x447)],st;function Fi(){var _0x97421=_0x422fe2;return st||(st=0x1,function(_0x34c706,_0x4211ed){(function(_0x4fb754,_0xd3414c){_0x34c706['exports']=_0xd3414c(Z());}(Bi,function(_0x477b57){var _0x14a76b=_0x307d;return _0x477b57[_0x14a76b(0x318)][_0x14a76b(0x1cc)];}));}(Oe)),Oe[_0x97421(0x447)];}var Vi=Fi();const Wi=de(Vi);var be={'exports':{}},Gi=be[_0x422fe2(0x447)],rt;function Yi(){var _0x32b4a5=_0x422fe2;return rt||(rt=0x1,function(_0x14d6fd,_0x50490b){(function(_0x125866,_0x3aee3c){var _0x57a140=_0x307d;_0x14d6fd[_0x57a140(0x447)]=_0x3aee3c(Z());}(Gi,function(_0x1dbb3e){var _0x1fba27=_0x307d;return(function(){var _0x57c8c9=_0x307d;if(typeof ArrayBuffer==_0x57c8c9(0x1a0)){var _0x5998b3=_0x1dbb3e,_0x3231cd=_0x5998b3['lib'],_0x4967f3=_0x3231cd[_0x57c8c9(0x197)],_0x504771=_0x4967f3['init'],_0x577534=_0x4967f3[_0x57c8c9(0x257)]=function(_0x23333){var _0x5aa8bd=_0x57c8c9;if(_0x23333 instanceof ArrayBuffer&&(_0x23333=new Uint8Array(_0x23333)),(_0x23333 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x23333 instanceof Uint8ClampedArray||_0x23333 instanceof Int16Array||_0x23333 instanceof Uint16Array||_0x23333 instanceof Int32Array||_0x23333 instanceof Uint32Array||_0x23333 instanceof Float32Array||_0x23333 instanceof Float64Array)&&(_0x23333=new Uint8Array(_0x23333[_0x5aa8bd(0x23a)],_0x23333[_0x5aa8bd(0x32a)],_0x23333[_0x5aa8bd(0x2d9)])),_0x23333 instanceof Uint8Array){for(var _0x3f5357=_0x23333[_0x5aa8bd(0x2d9)],_0x27323f=[],_0x350a28=0x0;_0x350a28<_0x3f5357;_0x350a28++)_0x27323f[_0x350a28>>>0x2]|=_0x23333[_0x350a28]<<0x18-_0x350a28%0x4*0x8;_0x504771['call'](this,_0x27323f,_0x3f5357);}else _0x504771['apply'](this,arguments);};_0x577534[_0x57c8c9(0x31c)]=_0x4967f3;}}()),_0x1dbb3e['lib'][_0x1fba27(0x197)];}));}(be)),be[_0x32b4a5(0x447)];}var Ki=Yi();const qi=de(Ki);var Re={'exports':{}},zi=Re[_0x422fe2(0x447)],at;function Xi(){return at||(at=0x1,function(_0x310263,_0x1ff0b1){(function(_0x452047,_0x5dedba,_0x17042b){_0x310263['exports']=_0x5dedba(Z(),Nt());}(zi,function(_0x2d050b){var _0x3eb0d4=_0x307d;return _0x2d050b[_0x3eb0d4(0x40c)][_0x3eb0d4(0x1ab)]={'pad':function(){},'unpad':function(){}},_0x2d050b[_0x3eb0d4(0x40c)][_0x3eb0d4(0x1ab)];}));}(Re)),Re['exports'];}var Ji=Xi();const Zi=de(Ji);function Qi(_0x401489,_0x2f7aa7){var _0xbff8b7=_0x422fe2;const _0x41973e=_0x2f7aa7-_0x401489[_0xbff8b7(0x354)]%_0x2f7aa7,_0x5d1f06=String[_0xbff8b7(0x369)](_0x41973e)[_0xbff8b7(0x38c)](_0x41973e);return _0x401489+_0x5d1f06;}function en(_0x35dc82,_0x2fb940){var _0x40929e=_0x422fe2;const _0x42b6ab=qi[_0x40929e(0x425)](0x10),_0x54b673=Qi(_0x35dc82,0x10),_0x36f4de=Hi[_0x40929e(0x1ef)](Wi[_0x40929e(0x2f5)](_0x54b673),nt[_0x40929e(0x2f5)](_0x2fb940),{'iv':_0x42b6ab,'padding':Zi});return _0x42b6ab[_0x40929e(0x4d8)](_0x36f4de[_0x40929e(0x1da)])[_0x40929e(0x3c8)](nt);}function tn(){var _0x1bc364=_0x422fe2;const _0x4b1b0f=ht['getGlobalObject']()[_0x1bc364(0x3c9)];if(typeof window<'u'&&typeof window[_0x1bc364(0x2bf)]<'u'&&_0x4b1b0f){const _0x1d3f7f={'time':Math['floor'](Date[_0x1bc364(0x394)]()/0x3e8),'domain':location[_0x1bc364(0x1e0)]};return en(JSON[_0x1bc364(0x4dc)](_0x1d3f7f),_0x4b1b0f);}}var nn=Object['getOwnPropertyDescriptor'],sn=(_0x5bcaaf,_0x598104,_0x343361,_0x49c5e1)=>{var _0x473e9d=_0x422fe2;for(var _0x282113=_0x49c5e1>0x1?void 0x0:_0x49c5e1?nn(_0x598104,_0x343361):_0x598104,_0x1006b2=_0x5bcaaf[_0x473e9d(0x354)]-0x1,_0x15b411;_0x1006b2>=0x0;_0x1006b2--)(_0x15b411=_0x5bcaaf[_0x1006b2])&&(_0x282113=_0x15b411(_0x282113)||_0x282113);return _0x282113;},rn=(_0x30a771,_0x457dbc)=>(_0x3232f0,_0x3988e0)=>_0x457dbc(_0x3232f0,_0x3988e0,_0x30a771);let De=class{constructor(_0x1b62c7){var _0x433e2c=_0x422fe2;this[_0x433e2c(0x43e)]=_0x1b62c7,this[_0x433e2c(0x2fb)]();}[_0x422fe2(0x2fb)](){var _0x5971b5=_0x422fe2;this[_0x5971b5(0x43e)][_0x5971b5(0x220)]({'interceptor':(_0x260345,_0x486dee)=>{var _0x2a7aed=_0x5971b5;const _0x5de888=_0x260345[_0x2a7aed(0x189)],_0x4dedda=tn();return _0x4dedda&&_0x5de888[_0x2a7aed(0x2a8)](_0x2a7aed(0x258),_0x4dedda),_0x486dee(_0x260345);}});}};De=sn([rn(0x0,o['Inject'](K['HTTPService']))],De);var an=Object[_0x422fe2(0x271)],on=(_0x559cbd,_0x2b3fb2,_0x873c14,_0xdae559)=>{var _0xb6ae33=_0x422fe2;for(var _0x4b3381=_0xdae559>0x1?void 0x0:_0xdae559?an(_0x2b3fb2,_0x873c14):_0x2b3fb2,_0x22c97a=_0x559cbd[_0xb6ae33(0x354)]-0x1,_0x2a115d;_0x22c97a>=0x0;_0x22c97a--)(_0x2a115d=_0x559cbd[_0x22c97a])&&(_0x4b3381=_0x2a115d(_0x4b3381)||_0x4b3381);return _0x4b3381;},Le=(_0x4b4cf7,_0x5ee879)=>(_0x2056e9,_0x1eea33)=>_0x5ee879(_0x2056e9,_0x1eea33,_0x4b4cf7);exports[_0x422fe2(0x42c)]=class extends o['RxDisposable']{constructor(_0x40d80b,_0x3a519e,_0x383a91){var _0x461908=_0x422fe2;super(),A(this,_0x461908(0x3b1),new j[(_0x461908(0x24f))](null)),A(this,'unitInfo$',this['_unitInfo$'][_0x461908(0x4af)]()),(this[_0x461908(0x1bb)]=_0x40d80b,this['_snapshotService']=_0x3a519e,this[_0x461908(0x1be)]=_0x383a91);}async[_0x422fe2(0x4a0)](_0x4224ee,_0x29b80c,_0x311f37){var _0x243ffe=_0x422fe2;this[_0x243ffe(0x3b1)][_0x243ffe(0x20e)]({'unitId':_0x4224ee,'type':_0x29b80c});let _0x416d40=null;switch(_0x29b80c){case X[_0x243ffe(0x1c8)]:{_0x416d40=await this['_snapshotService']['loadSheet'](_0x4224ee,_0x311f37);break;}case X[_0x243ffe(0x205)]:{_0x416d40=await this[_0x243ffe(0x1a4)][_0x243ffe(0x4b2)](_0x4224ee,_0x311f37);break;}default:{this['_logService'][_0x243ffe(0x18d)](_0x243ffe(0x1b3),_0x243ffe(0x37d));break;}}return _0x416d40;}async['loadUnit'](_0x4d23b6,_0x339063,_0x481522){var _0x351deb=_0x422fe2,_0x133fca;this[_0x351deb(0x3b1)]['next']({'unitId':_0x4d23b6,'type':_0x339063,'subUnitId':_0x481522});let _0x459b8f=0x0;const _0x491e43=await((_0x133fca=this[_0x351deb(0x1be)])==null?void 0x0:_0x133fca[_0x351deb(0x4ba)](_0x4d23b6));return _0x491e43&&(_0x491e43[_0x351deb(0x35e)]||_0x491e43['mutations'][_0x351deb(0x354)]!==0x0)&&(_0x459b8f=_0x491e43[_0x351deb(0x1cd)]),_0x459b8f===0x0&&this[_0x351deb(0x1bb)][_0x351deb(0x455)](_0x351deb(0x1b3),_0x351deb(0x2df)),this['loadUnitOfRevision'](_0x4d23b6,_0x339063,_0x459b8f);}},exports[_0x422fe2(0x42c)]=on([Le(0x0,o[_0x422fe2(0x2ed)]),Le(0x1,o[_0x422fe2(0x2dc)](E[_0x422fe2(0x397)])),Le(0x2,o[_0x422fe2(0x1ce)](q))],exports[_0x422fe2(0x42c)]);var cn=Object['getOwnPropertyDescriptor'],_n=(_0x257d29,_0x414911,_0x1557a3,_0x3d2f48)=>{var _0x56041b=_0x422fe2;for(var _0x4c3eca=_0x3d2f48>0x1?void 0x0:_0x3d2f48?cn(_0x414911,_0x1557a3):_0x414911,_0x285bc8=_0x257d29[_0x56041b(0x354)]-0x1,_0x5ce362;_0x285bc8>=0x0;_0x285bc8--)(_0x5ce362=_0x257d29[_0x285bc8])&&(_0x4c3eca=_0x5ce362(_0x4c3eca)||_0x4c3eca);return _0x4c3eca;},Me=(_0x48bbba,_0x8b7cd9)=>(_0x203b39,_0x9a0a66)=>_0x8b7cd9(_0x203b39,_0x9a0a66,_0x48bbba);const hn=['image/png',_0x422fe2(0x3c2),'image/jpg','image/gif',_0x422fe2(0x4df)],ln=0x5*0x400*0x400,un='/universer-api/stream/file/upload',vn=_0x422fe2(0x273);exports['CollaborationImageIoService']=class{constructor(_0x5c3d7b,_0x15b7e2,_0x384205){var _0x7b1036=_0x422fe2;A(this,_0x7b1036(0x3f9),0x0),A(this,_0x7b1036(0x2d3),new j[(_0x7b1036(0x33d))]()),A(this,_0x7b1036(0x2e8),this[_0x7b1036(0x2d3)]),A(this,_0x7b1036(0x418),new Map()),(this[_0x7b1036(0x43e)]=_0x5c3d7b,this[_0x7b1036(0x19e)]=_0x15b7e2,this['_univerInstanceService']=_0x384205);}[_0x422fe2(0x45b)](_0x589a1a){var _0x1369a6=_0x422fe2;this[_0x1369a6(0x3f9)]=_0x589a1a,this[_0x1369a6(0x2d3)][_0x1369a6(0x20e)](_0x589a1a);}[_0x422fe2(0x3aa)](_0x437456,_0x3244e9){var _0x36f896=_0x422fe2;if(_0x3244e9===z[_0x36f896(0x3d7)][_0x36f896(0x2b0)]){const _0x153bdb=new Image();return _0x153bdb[_0x36f896(0x282)]=_0x437456,_0x153bdb;}return this[_0x36f896(0x418)][_0x36f896(0x2c3)](_0x437456);}[_0x422fe2(0x484)](_0x30d42d,_0x518139,_0x171547){var _0x2984d2=_0x422fe2;_0x518139===z[_0x2984d2(0x3d7)][_0x2984d2(0x2b0)]||_0x171547==null||this[_0x2984d2(0x418)][_0x2984d2(0x2a8)](_0x30d42d,_0x171547);}async[_0x422fe2(0x2c8)](_0x2e031f){var _0x4672ce=_0x422fe2;try{const _0x953011=this[_0x4672ce(0x4ad)](this[_0x4672ce(0x244)](),''+_0x2e031f),_0x52fce3=(await this['_httpService'][_0x4672ce(0x2c3)](_0x953011))[_0x4672ce(0x472)];if(_0x52fce3['error']&&_0x52fce3[_0x4672ce(0x18d)][_0x4672ce(0x505)]===St['OK']){const _0x20cb51=o[_0x4672ce(0x349)](_0x52fce3[_0x4672ce(0x4f0)],this[_0x4672ce(0x24d)]());return Promise[_0x4672ce(0x2a1)](_0x20cb51);}return Promise['reject'](_0x52fce3[_0x4672ce(0x18d)]);}catch(_0x258c76){return Promise[_0x4672ce(0x2a6)](_0x258c76);}}async['saveImage'](_0x275e9a){var _0x43c681=_0x422fe2;let _0x25f10c='';if(!hn[_0x43c681(0x368)](_0x275e9a[_0x43c681(0x444)]))return this[_0x43c681(0x3da)](),Promise['reject'](new Error(z[_0x43c681(0x3d4)][_0x43c681(0x315)]));if(_0x275e9a['size']>ln)return this[_0x43c681(0x3da)](),Promise[_0x43c681(0x2a6)](new Error(z[_0x43c681(0x3d4)][_0x43c681(0x2c5)]));try{const _0x28fdfe=new FormData();_0x28fdfe['append'](_0x43c681(0x2e2),_0x275e9a);const _0x44b7d4=this['_univerInstanceService'][_0x43c681(0x517)](),_0x2e3154=_0x44b7d4==null?void 0x0:_0x44b7d4[_0x43c681(0x510)]();if(!_0x2e3154)throw new Error(_0x43c681(0x32c));const _0x5531c4=this[_0x43c681(0x40e)]()+'?size='+_0x275e9a[_0x43c681(0x2bd)][_0x43c681(0x3c8)]()+_0x43c681(0x44c)+It[_0x43c681(0x38f)]+_0x43c681(0x3de)+encodeURIComponent(_0x2e3154),_0x58ccef={'body':_0x28fdfe},_0x54c8c5=(await this[_0x43c681(0x43e)][_0x43c681(0x2a3)](_0x5531c4,_0x58ccef))[_0x43c681(0x472)];if(typeof _0x54c8c5[_0x43c681(0x341)]!=_0x43c681(0x2cf))return this[_0x43c681(0x3da)](),Promise[_0x43c681(0x2a6)](new Error(z[_0x43c681(0x3d4)][_0x43c681(0x1f9)]));_0x25f10c=_0x54c8c5[_0x43c681(0x341)];}catch{return this[_0x43c681(0x3da)](),Promise[_0x43c681(0x2a6)](new Error(z[_0x43c681(0x3d4)][_0x43c681(0x1f9)]));}return new Promise((_0x4920c1,_0x2ce9bb)=>{var _0x490e4a=_0x43c681;const _0x18d8ca=new FileReader();_0x18d8ca[_0x490e4a(0x461)](_0x275e9a),_0x18d8ca['onload']=_0x182280=>{var _0xb47e1f=_0x490e4a,_0x2a4155;const _0x506746=(_0x2a4155=_0x182280[_0xb47e1f(0x4d5)])==null?void 0x0:_0x2a4155['result'];if(_0x506746==null){this[_0xb47e1f(0x3da)](),_0x2ce9bb(new Error(z['ImageUploadStatusType'][_0xb47e1f(0x1f9)]));return;}const _0x37a1eb=o['generateRandomId'](0x6);_0x4920c1({'imageId':_0x37a1eb,'imageSourceType':z['ImageSourceType']['UUID'],'source':_0x25f10c,'base64Cache':_0x506746,'status':z[_0xb47e1f(0x3d4)]['SUCCUSS']}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x23cb53=_0x422fe2,_0x247a7c;const _0x2d87c0=this[_0x23cb53(0x19e)][_0x23cb53(0x435)](Y);return(_0x247a7c=_0x2d87c0==null?void 0x0:_0x2d87c0[_0x23cb53(0x477)])!=null?_0x247a7c:un;}[_0x422fe2(0x244)](){var _0x59df52=_0x422fe2,_0x53c6fa;const _0x5aa499=this[_0x59df52(0x19e)][_0x59df52(0x435)](Y);return(_0x53c6fa=_0x5aa499==null?void 0x0:_0x5aa499[_0x59df52(0x4f5)])!=null?_0x53c6fa:vn;}[_0x422fe2(0x24d)](){var _0x434de1=_0x422fe2,_0x1ffe22;const _0x5c213d=this[_0x434de1(0x19e)][_0x434de1(0x435)](Y);return(_0x1ffe22=_0x5c213d==null?void 0x0:_0x5c213d[_0x434de1(0x470)])!=null?_0x1ffe22:location['origin'];}[_0x422fe2(0x4ad)](_0x32cafd,_0x4d1ccb){var _0x6f6727=_0x422fe2;return _0x32cafd[_0x6f6727(0x40f)]('{fileID}',_0x4d1ccb);}['_decreaseWaiting'](){var _0x580d57=_0x422fe2;this['_waitCount']-=0x1,this['_change$'][_0x580d57(0x20e)](this['_waitCount']);}},exports[_0x422fe2(0x488)]=_n([Me(0x0,o[_0x422fe2(0x2dc)](K[_0x422fe2(0x29a)])),Me(0x1,o[_0x422fe2(0x1e3)]),Me(0x2,o['Inject'](o[_0x422fe2(0x288)]))],exports[_0x422fe2(0x488)]);var dn=Object[_0x422fe2(0x271)],Sn=(_0x1e4594,_0x5217ec,_0x3cb459,_0x34c324)=>{var _0xc70198=_0x422fe2;for(var _0x410e5e=_0x34c324>0x1?void 0x0:_0x34c324?dn(_0x5217ec,_0x3cb459):_0x5217ec,_0x59483e=_0x1e4594[_0xc70198(0x354)]-0x1,_0x5c3262;_0x59483e>=0x0;_0x59483e--)(_0x5c3262=_0x1e4594[_0x59483e])&&(_0x410e5e=_0x5c3262(_0x410e5e)||_0x410e5e);return _0x410e5e;},ot=(_0x4066ee,_0x100642)=>(_0x4060b0,_0x32eea0)=>_0x100642(_0x4060b0,_0x32eea0,_0x4066ee);const In=_0x422fe2(0x269);exports['MentionIoHttpService']=class{constructor(_0x3a28bd,_0x1f799f){var _0x4af591=_0x422fe2;this['_configService']=_0x3a28bd,this[_0x4af591(0x1df)]=_0x1f799f;}[_0x422fe2(0x3ff)](){var _0x169ff1=_0x422fe2,_0xd204d9;const _0xa8f486=this['_configService'][_0x169ff1(0x435)](Y);return(_0xd204d9=_0xa8f486==null?void 0x0:_0xa8f486[_0x169ff1(0x366)])!=null?_0xd204d9:In;}async['list'](_0x20214c){var _0x373149=_0x422fe2;const _0x3422aa=this['_getAPIPrefixPath']()+_0x373149(0x464);return{'list':[{'title':_0x373149(0x276),'mentions':(await this[_0x373149(0x1df)][_0x373149(0x2c3)](_0x3422aa,{'params':{'objectID':_0x20214c[_0x373149(0x290)],'unitID':_0x20214c[_0x373149(0x290)]}}))['body'][_0x373149(0x496)][_0x373149(0x221)](_0x2f5cd8=>({'objectId':_0x2f5cd8['id'],'name':_0x2f5cd8[_0x373149(0x208)][_0x373149(0x28e)],'metadata':{'icon':_0x2f5cd8[_0x373149(0x208)][_0x373149(0x322)]},'label':_0x2f5cd8[_0x373149(0x208)]['name'],'objectType':o['MentionType']['PERSON']})),'metadata':{},'type':o[_0x373149(0x449)][_0x373149(0x2d8)]}]};}},exports[_0x422fe2(0x457)]=Sn([ot(0x0,o[_0x422fe2(0x2dc)](o['IConfigService'])),ot(0x1,o['Inject'](K[_0x422fe2(0x29a)]))],exports[_0x422fe2(0x457)]);var fn=Object['getOwnPropertyDescriptor'],En=(_0x326116,_0x295d34,_0x21b540,_0x3ba870)=>{for(var _0x3e6749=_0x3ba870>0x1?void 0x0:_0x3ba870?fn(_0x295d34,_0x21b540):_0x295d34,_0x5d4286=_0x326116['length']-0x1,_0x4ba040;_0x5d4286>=0x0;_0x5d4286--)(_0x4ba040=_0x326116[_0x5d4286])&&(_0x3e6749=_0x4ba040(_0x3e6749)||_0x3e6749);return _0x3e6749;},le=(_0x3475a9,_0x19d120)=>(_0x529bef,_0x5d8cbd)=>_0x19d120(_0x529bef,_0x5d8cbd,_0x3475a9);let ye=class extends o[_0x422fe2(0x203)]{constructor(_0x3ea6c6,_0xf0edca,_0x198907,_0x1cb5f3,_0x2c94ff){var _0x2ec419=_0x422fe2;super(),this['_injector']=_0x3ea6c6,this['_univerInstanceService']=_0xf0edca,this[_0x2ec419(0x352)]=_0x198907,this[_0x2ec419(0x364)]=_0x1cb5f3,this[_0x2ec419(0x186)]=_0x2c94ff,this[_0x2ec419(0x2c6)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x114346=_0x422fe2;const _0x419b30=async _0x5248de=>{var _0x421fcb=_0x307d;(await this[_0x421fcb(0x364)][_0x421fcb(0x2da)](_0x5248de))[_0x421fcb(0x344)]['pipe'](V['filter'](_0xf07360=>_0xf07360[_0x421fcb(0x190)]===E[_0x421fcb(0x185)][_0x421fcb(0x279)]),V['takeUntil'](this['dispose$']))['subscribe'](_0x238b8d=>{var _0x2312eb=_0x421fcb;const _0x3d6410=_0x238b8d,{reason:_0x2ae847}=_0x3d6410['data'];this[_0x2312eb(0x186)][_0x2312eb(0x4cc)]({'id':J[_0x2312eb(0x2f3)],'data':_0x2ae847}),this['_permissionService']['updatePermissionPoint'](new Q['WorkbookEditablePermission'](_0x5248de)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x5248de);});};j['merge'](this[_0x114346(0x39b)][_0x114346(0x41e)](o[_0x114346(0x1a3)][_0x114346(0x1c8)]),this['_univerInstanceService'][_0x114346(0x41e)](o[_0x114346(0x1a3)][_0x114346(0x205)]))[_0x114346(0x3c1)](V[_0x114346(0x221)](_0x5a974d=>_0x5a974d[_0x114346(0x510)]()),V['filter'](_0x3966a2=>!o['isInternalEditorID'](_0x3966a2)),V['takeUntil'](this[_0x114346(0x18c)]))['subscribe'](_0x46815f=>{_0x419b30(_0x46815f);});}[_0x422fe2(0x2c6)](){var _0x3373d0=_0x422fe2;const _0x2d5d9c=async _0x451eee=>{var _0x29dade=_0x307d;const _0xe1a4be=await this[_0x29dade(0x364)][_0x29dade(0x2da)](_0x451eee),_0xdb4c87=this['_injector'][_0x29dade(0x2c3)](Q[_0x29dade(0x1e6)]);_0xe1a4be[_0x29dade(0x344)][_0x29dade(0x3c1)](V['filter'](_0x1c43a2=>_0x1c43a2['eventID']===E[_0x29dade(0x185)][_0x29dade(0x24c)]),V[_0x29dade(0x345)](this['dispose$']))[_0x29dade(0x3e6)](_0x971c40=>{var _0x3f92eb=_0x29dade;const _0x3f9dec=_0x971c40,{objectId:_0x5b785b}=_0x3f9dec[_0x3f92eb(0x374)];_0x5b785b===_0x451eee?_0xdb4c87[_0x3f92eb(0x3cc)](_0x451eee):_0xdb4c87[_0x3f92eb(0x4d7)](_0x451eee,_0x5b785b);});};j[_0x3373d0(0x436)](this[_0x3373d0(0x39b)][_0x3373d0(0x41e)](o[_0x3373d0(0x1a3)]['UNIVER_SHEET']))['pipe'](V['map'](_0x1d8f16=>_0x1d8f16[_0x3373d0(0x510)]()),V[_0x3373d0(0x22b)](_0x31e48a=>!o[_0x3373d0(0x451)](_0x31e48a)),V['takeUntil'](this[_0x3373d0(0x18c)]))[_0x3373d0(0x3e6)](_0x4a41cf=>{_0x2d5d9c(_0x4a41cf);});}};ye=En([le(0x0,o[_0x422fe2(0x2dc)](o['Injector'])),le(0x1,o[_0x422fe2(0x288)]),le(0x2,o['IPermissionService']),le(0x3,o[_0x422fe2(0x2dc)](exports[_0x422fe2(0x3b4)])),le(0x4,o[_0x422fe2(0x2dc)](ee))],ye);var pn=Object[_0x422fe2(0x271)],mn=(_0x258089,_0x363ba3,_0x3b17b3,_0x2858ab)=>{var _0x391483=_0x422fe2;for(var _0x4a98c1=_0x2858ab>0x1?void 0x0:_0x2858ab?pn(_0x363ba3,_0x3b17b3):_0x363ba3,_0x4ffdb8=_0x258089[_0x391483(0x354)]-0x1,_0x1d667a;_0x4ffdb8>=0x0;_0x4ffdb8--)(_0x1d667a=_0x258089[_0x4ffdb8])&&(_0x4a98c1=_0x1d667a(_0x4a98c1)||_0x4a98c1);return _0x4a98c1;},ct=(_0x9b79fb,_0x34422c)=>(_0x350cbd,_0x5c3c94)=>_0x34422c(_0x350cbd,_0x5c3c94,_0x9b79fb);exports[_0x422fe2(0x359)]=class{constructor(_0xe5fd04,_0x2e4ba9){var _0x2a3bc5=_0x422fe2;this[_0x2a3bc5(0x19e)]=_0xe5fd04,this['_httpService']=_0x2e4ba9;}async[_0x422fe2(0x20f)](_0x3a78fb,_0x22bdeb){var _0x209483=_0x422fe2,_0x537653;const {unitID:_0x48bef9,type:_0x1dd80e,revision:_0x1c0ae5=0x0}=_0x22bdeb,_0x4c58e1=this['getSnapshotAPIPath']()+'/'+_0x1dd80e+_0x209483(0x21d)+_0x48bef9+_0x209483(0x26c)+_0x1c0ae5,_0x45dccb=(await this[_0x209483(0x43e)]['get'](_0x4c58e1))[_0x209483(0x472)],_0xc74d73=(_0x537653=_0x45dccb[_0x209483(0x260)])==null?void 0x0:_0x537653[_0x209483(0x275)];if(_0xc74d73){const _0x23f024=_0xc74d73==null?void 0x0:_0xc74d73['originalMeta'],_0x3b820d=E[_0x209483(0x2c4)][_0x209483(0x485)](E[_0x209483(0x30d)](_0x23f024));_0xc74d73['originalMeta']=_0x3b820d,Object[_0x209483(0x4be)](_0xc74d73[_0x209483(0x2d1)])[_0x209483(0x214)](([,_0x5e6043])=>{var _0x17ee63=_0x209483;const _0x195b8f=_0x5e6043[_0x17ee63(0x4de)],_0x2cc4b2=E[_0x17ee63(0x2c4)][_0x17ee63(0x485)](E[_0x17ee63(0x30d)](_0x195b8f));_0x5e6043[_0x17ee63(0x4de)]=_0x2cc4b2;});}return _0x45dccb;}async['getSheetBlock'](_0x4c8fb8,_0x48e508){var _0x388ed7=_0x422fe2;const {unitID:_0x163f7e,type:_0x2e3947,blockID:_0x384baa}=_0x48e508,_0x5c4991=this[_0x388ed7(0x316)]()+'/'+_0x2e3947+_0x388ed7(0x21d)+_0x163f7e+_0x388ed7(0x481)+_0x384baa;return(await this[_0x388ed7(0x43e)][_0x388ed7(0x2c3)](_0x5c4991))[_0x388ed7(0x472)];}async[_0x422fe2(0x1dc)](_0x5a419b,_0x4806ca){var _0x572c37=_0x422fe2;const {unitID:_0x2b25b9,type:_0x5c3612,blockID:_0x39e437}=_0x4806ca,_0xc3aa84=this[_0x572c37(0x316)]()+_0x572c37(0x481)+_0x5c3612+'/unit/'+_0x2b25b9+'/block/'+_0x39e437;return(await this['_httpService'][_0x572c37(0x2c3)](_0xc3aa84))[_0x572c37(0x472)];}async['fetchMissingChangesets'](_0x4dda8e,_0x7c21ec){var _0x43557f=_0x422fe2;const {unitID:_0x59543e,type:_0x2b2b3c,from:_0x506fb1,to:_0xa5a9}=_0x7c21ec,_0x2b3af7=this[_0x43557f(0x316)]()+'/'+_0x2b2b3c+_0x43557f(0x21d)+_0x59543e+_0x43557f(0x2a0)+_0x506fb1+'&to='+_0xa5a9;return(await this[_0x43557f(0x43e)][_0x43557f(0x2c3)](_0x2b3af7))['body'];}[_0x422fe2(0x183)](){var _0x5c6c4f=_0x422fe2,_0x5489f8;return(_0x5489f8=this['_configService'][_0x5c6c4f(0x435)](Pt))!=null?_0x5489f8:this[_0x5c6c4f(0x316)]();}['_getAPIPrefix'](){var _0x34c642=_0x422fe2,_0x33f24a;const _0x210bde=this[_0x34c642(0x19e)][_0x34c642(0x435)](Y);return(_0x33f24a=_0x210bde==null?void 0x0:_0x210bde['snapshotServerUrl'])!=null?_0x33f24a:At;}async['getResourcesRequest'](_0x5bfd10,_0x51a6b3){var _0x40c7d8=_0x422fe2;const _0x34b3fc=_0x40c7d8(0x493)+_0x51a6b3['type']+_0x40c7d8(0x21d)+_0x51a6b3[_0x40c7d8(0x506)]+_0x40c7d8(0x227);return(await this[_0x40c7d8(0x43e)][_0x40c7d8(0x2c3)](_0x34b3fc,{'params':{'resourceId':JSON['stringify'](_0x51a6b3[_0x40c7d8(0x2dd)])}}))['body'];}[_0x422fe2(0x1d4)](){var _0x3ef06e=_0x422fe2;throw new Error(_0x3ef06e(0x4c5));}[_0x422fe2(0x27c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x422fe2(0x507)](){var _0x56247b=_0x422fe2;throw new Error(_0x56247b(0x4c5));}[_0x422fe2(0x30a)](){var _0x564799=_0x422fe2;throw new Error(_0x564799(0x4c5));}[_0x422fe2(0x1d2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x422fe2(0x27e)](){var _0x192fad=_0x422fe2;throw new Error(_0x192fad(0x4c5));}},exports[_0x422fe2(0x359)]=mn([ct(0x0,o['IConfigService']),ct(0x1,o['Inject'](K[_0x422fe2(0x29a)]))],exports[_0x422fe2(0x359)]);var gn=Object['getOwnPropertyDescriptor'],Tn=(_0x1e966c,_0x4c95b9,_0x5d4ea0,_0x2cf77a)=>{var _0x575dce=_0x422fe2;for(var _0x33a589=_0x2cf77a>0x1?void 0x0:_0x2cf77a?gn(_0x4c95b9,_0x5d4ea0):_0x4c95b9,_0x4636e7=_0x1e966c[_0x575dce(0x354)]-0x1,_0x3d9e58;_0x4636e7>=0x0;_0x4636e7--)(_0x3d9e58=_0x1e966c[_0x4636e7])&&(_0x33a589=_0x3d9e58(_0x33a589)||_0x33a589);return _0x33a589;},ue=(_0x45e4cb,_0x18cfb3)=>(_0x3377db,_0x11dc9b)=>_0x18cfb3(_0x3377db,_0x11dc9b,_0x45e4cb);exports[_0x422fe2(0x405)]=class extends o[_0x422fe2(0x4cd)]{constructor(_0x388fa7,_0x337a7f,_0x100d06,_0xe5e781,_0x13c9c7){var _0x2e9a1d=_0x422fe2;super(_0x388fa7,_0x337a7f,_0x100d06),this[_0x2e9a1d(0x410)]=_0xe5e781,this[_0x2e9a1d(0x1bb)]=_0x13c9c7;}['transformUndoRedo'](_0x596dcc,_0x471a54){var _0xb6d5c1=_0x422fe2;const _0x49a559=this[_0xb6d5c1(0x26a)](_0x596dcc);if(_0x49a559)try{const _0x276c98=this[_0xb6d5c1(0x511)](_0x49a559,_0x471a54);this[_0xb6d5c1(0x2e9)](_0x596dcc,_0x276c98);}catch(_0x18c6e5){this['_logService'][_0xb6d5c1(0x18d)](_0xb6d5c1(0x26e),_0x18c6e5),this[_0xb6d5c1(0x4e0)](_0x596dcc);}const _0x35face=this['_getRedoStack'](_0x596dcc);if(_0x35face)try{const _0x594196=this[_0xb6d5c1(0x511)](_0x35face,_0x471a54);this[_0xb6d5c1(0x339)](_0x596dcc,_0x594196);}catch(_0x54e0c3){this[_0xb6d5c1(0x1bb)][_0xb6d5c1(0x18d)](_0x54e0c3),this[_0xb6d5c1(0x199)](_0x596dcc);}}[_0x422fe2(0x4e0)](_0x32726e){var _0xda533f=_0x422fe2;const _0x136976=this[_0xda533f(0x26a)](_0x32726e);_0x136976&&(_0x136976[_0xda533f(0x354)]=0x0,this[_0xda533f(0x3ca)]());}['_clearRedo'](_0x45444a){var _0x21581c=_0x422fe2;const _0x4b6636=this[_0x21581c(0x415)](_0x45444a);_0x4b6636&&(_0x4b6636[_0x21581c(0x354)]=0x0,this[_0x21581c(0x3ca)]());}[_0x422fe2(0x2e9)](_0x3a3738,_0x17387f){var _0x42ce0e=_0x422fe2;this['_undoStacks'][_0x42ce0e(0x2a8)](_0x3a3738,_0x17387f),this[_0x42ce0e(0x3ca)]();}[_0x422fe2(0x339)](_0x163ea8,_0x593f58){var _0x37d40f=_0x422fe2;this[_0x37d40f(0x50a)][_0x37d40f(0x2a8)](_0x163ea8,_0x593f58),this['_updateStatus']();}[_0x422fe2(0x511)](_0x2776af,_0x18bd78){var _0x1f3771=_0x422fe2;const _0x2422d3=[];let _0x3d7363=_0x18bd78,_0x177d52=_0x18bd78;for(let _0x1beaac=_0x2776af['length']-0x1;_0x1beaac>=0x0;_0x1beaac--){const {unitID:_0xd3b294,undoMutations:_0x9b0c93,redoMutations:_0x27ab4e}=_0x2776af[_0x1beaac],_0x58967=this[_0x1f3771(0x410)]['transformMutationsWithChangeset'](_0x3d7363,_0x9b0c93),_0x5d5b29=this[_0x1f3771(0x410)][_0x1f3771(0x360)](_0x177d52,_0x27ab4e);if(E[_0x1f3771(0x325)](_0x58967)||E['isTransformMutationsWithChangesetFailure'](_0x5d5b29)){this[_0x1f3771(0x1bb)][_0x1f3771(0x18d)](_0x1f3771(0x26e),_0x1f3771(0x32b),_0x58967,_0x5d5b29);break;}_0x3d7363=_0x58967[_0x1f3771(0x30b)],_0x177d52=_0x5d5b29['c1Prime'],_0x2422d3[_0x1f3771(0x29e)]({'unitID':_0xd3b294,'undoMutations':_0x58967['m2Prime'],'redoMutations':_0x5d5b29[_0x1f3771(0x49c)]});}return _0x2422d3[_0x1f3771(0x34f)]();}},exports[_0x422fe2(0x405)]=Tn([ue(0x0,o['IUniverInstanceService']),ue(0x1,o[_0x422fe2(0x42a)]),ue(0x2,o['IContextService']),ue(0x3,E[_0x422fe2(0x281)]),ue(0x4,o[_0x422fe2(0x2ed)])],exports['CollaborativeUndoRedoService']);var Cn=Object[_0x422fe2(0x4aa)],On=Object['getOwnPropertyDescriptor'],bn=(_0x25283f,_0x4139d2,_0x27ce86)=>_0x4139d2 in _0x25283f?Cn(_0x25283f,_0x4139d2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x27ce86}):_0x25283f[_0x4139d2]=_0x27ce86,Rn=(_0x319fbc,_0x9ce0b2,_0x4364bd,_0x33f249)=>{var _0x417210=_0x422fe2;for(var _0x3d9cde=_0x33f249>0x1?void 0x0:_0x33f249?On(_0x9ce0b2,_0x4364bd):_0x9ce0b2,_0x4a3e54=_0x319fbc[_0x417210(0x354)]-0x1,_0x1aa594;_0x4a3e54>=0x0;_0x4a3e54--)(_0x1aa594=_0x319fbc[_0x4a3e54])&&(_0x3d9cde=_0x1aa594(_0x3d9cde)||_0x3d9cde);return _0x3d9cde;},we=(_0x1ebcf5,_0x5d9204)=>(_0x6afba5,_0x142e9d)=>_0x5d9204(_0x6afba5,_0x142e9d,_0x1ebcf5),Ve=(_0x508b6b,_0x44ab02,_0x5d8af1)=>bn(_0x508b6b,typeof _0x44ab02!=_0x422fe2(0x4bb)?_0x44ab02+'':_0x44ab02,_0x5d8af1);exports['UniverCollaborationClientPlugin']=class extends o['Plugin']{constructor(_0xe9058f={},_0x201cde,_0x33a40e,_0x14f872){var _0x1c2364=_0x422fe2;super(),this[_0x1c2364(0x4d3)]=_0xe9058f,this[_0x1c2364(0x1bb)]=_0x201cde,this[_0x1c2364(0x3d5)]=_0x33a40e,this['_configService']=_0x14f872;const {..._0x7ea364}=o[_0x1c2364(0x436)]({},ti,_0xe9058f);if(!_0x7ea364[_0x1c2364(0x306)])throw new Error(_0x1c2364(0x2f9));this['_config']=_0x7ea364,this[_0x1c2364(0x19e)]['setConfig'](Y,_0x7ea364);}[_0x422fe2(0x287)](){var _0x25b4a2=_0x422fe2;this[_0x25b4a2(0x4f2)](),this['_initDependencies']();}[_0x422fe2(0x4f2)](){var _0x3e0c62=_0x422fe2,_0x5c5e90,_0x4b11e3;this[_0x3e0c62(0x3d5)]['has'](o[_0x3e0c62(0x514)])&&this[_0x3e0c62(0x1bb)][_0x3e0c62(0x18d)](_0x3e0c62(0x372),_0x3e0c62(0x3bd));const _0x5a790c=o['mergeOverrideWithDependencies']([[o[_0x3e0c62(0x514)],{'useClass':exports[_0x3e0c62(0x405)]}],[exports[_0x3e0c62(0x3b4)]],[exports[_0x3e0c62(0x515)]],[exports['SheetTransformSelectionsService']],[Ne],[De],[$e],[ye],[ee],[exports[_0x3e0c62(0x42c)]],[Fe,{'useClass':this[_0x3e0c62(0x4d3)][_0x3e0c62(0x306)]}],[E[_0x3e0c62(0x2cc)],{'useClass':exports[_0x3e0c62(0x359)]}],[o['IAuthzIoService'],{'useClass':exports[_0x3e0c62(0x423)]}],[z['IImageIoService'],{'useClass':exports[_0x3e0c62(0x488)]}],[o[_0x3e0c62(0x512)],{'useClass':exports[_0x3e0c62(0x457)]}],[exports['CollaborationController']],[xe]],(_0x5c5e90=this['_config'])==null?void 0x0:_0x5c5e90[_0x3e0c62(0x225)]);if(!((_0x4b11e3=this['_config'])!=null&&_0x4b11e3[_0x3e0c62(0x235)])){const _0x328fac=_0x5a790c['findIndex'](([_0x1fa16b])=>_0x1fa16b===ve);_0x328fac!==-0x1&&_0x5a790c[_0x3e0c62(0x44b)](_0x328fac,0x1);}o[_0x3e0c62(0x41a)](this['_injector'],_0x5a790c);}[_0x422fe2(0x476)](){var _0x3e42aa=_0x422fe2,_0x54c662,_0x8b5d6f,_0x5a8755;this[_0x3e42aa(0x3d5)][_0x3e42aa(0x2c3)](K['HTTPService'])[_0x3e42aa(0x220)]({'priority':0x14,'interceptor':K[_0x3e42aa(0x218)]({'maxParallel':0x6})}),(_0x54c662=this[_0x3e42aa(0x4d3)])!=null&&_0x54c662[_0x3e42aa(0x1f4)]||(_0x8b5d6f=this['_injector'][_0x3e42aa(0x2c3)](q,o[_0x3e42aa(0x2ca)][_0x3e42aa(0x2af)]))==null||_0x8b5d6f['disableLocalCache'](),(_0x5a8755=this[_0x3e42aa(0x4d3)])!=null&&_0x5a8755[_0x3e42aa(0x3e4)]&&o[_0x3e42aa(0x1e8)](this['_injector'],[[Ne]]),o[_0x3e42aa(0x1e8)](this[_0x3e42aa(0x3d5)],[[De],[exports[_0x3e42aa(0x34c)]],[ye]]);}},Ve(exports['UniverCollaborationClientPlugin'],'pluginName','UNIVER_COLLABORATION_CLIENT_PLUGIN'),Ve(exports[_0x422fe2(0x2e4)],_0x422fe2(0x215),Ot[_0x422fe2(0x28e)]),Ve(exports[_0x422fe2(0x2e4)],_0x422fe2(0x1a8),Ot[_0x422fe2(0x1a8)]),exports[_0x422fe2(0x2e4)]=Rn([o[_0x422fe2(0x232)](ht[_0x422fe2(0x3fd)],E[_0x422fe2(0x375)],K['UniverNetworkPlugin']),we(0x1,o[_0x422fe2(0x2ed)]),we(0x2,o['Inject'](o[_0x422fe2(0x4b0)])),we(0x3,o[_0x422fe2(0x1e3)])],exports['UniverCollaborationClientPlugin']),exports[_0x422fe2(0x3f2)]=Y,exports[_0x422fe2(0x4bc)]=je,exports[_0x422fe2(0x47f)]=J,exports[_0x422fe2(0x236)]=ee,exports[_0x422fe2(0x1b8)]=$e,exports[_0x422fe2(0x4bf)]=lt,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=Vt,exports[_0x422fe2(0x32d)]=Mt,exports['HEARTBEAT_INTERVAL_KEY']=ut,exports[_0x422fe2(0x4b3)]=ke,exports[_0x422fe2(0x240)]=Fe,exports['ILocalCacheService']=q,exports['INetworkConditionService']=gt,exports[_0x422fe2(0x21f)]=ve,exports[_0x422fe2(0x4a9)]=Ht,exports['LOCAL_CACHE_INTERVAL_KEY']=$t,exports[_0x422fe2(0x266)]=Ft,exports[_0x422fe2(0x46d)]=dt,exports[_0x422fe2(0x321)]=se,exports[_0x422fe2(0x45d)]=He,exports[_0x422fe2(0x4e1)]=Tt,exports[_0x422fe2(0x201)]=Jt,exports[_0x422fe2(0x30f)]=Ct;