@univerjs-pro/collaboration-client 0.15.0 → 0.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +11 -11
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x10f867=_0x4aec;(function(_0x5a9c39,_0x3acaa4){var _0x29f815=_0x4aec,_0x55e6c0=_0x5a9c39();while(!![]){try{var _0xa76596=parseInt(_0x29f815(0x427))/0x1+parseInt(_0x29f815(0x3fd))/0x2+-parseInt(_0x29f815(0x182))/0x3*(-parseInt(_0x29f815(0x486))/0x4)+-parseInt(_0x29f815(0x1a0))/0x5+parseInt(_0x29f815(0x39e))/0x6*(-parseInt(_0x29f815(0x30a))/0x7)+-parseInt(_0x29f815(0x47b))/0x8+parseInt(_0x29f815(0x227))/0x9*(parseInt(_0x29f815(0x1bc))/0xa);if(_0xa76596===_0x3acaa4)break;else _0x55e6c0['push'](_0x55e6c0['shift']());}catch(_0x231475){_0x55e6c0['push'](_0x55e6c0['shift']());}}}(_0x4832,0x566d6));var bt=Object[_0x10f867(0x3f5)],Rt=(_0x342f2e,_0x437a92,_0xda8bae)=>_0x437a92 in _0x342f2e?bt(_0x342f2e,_0x437a92,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xda8bae}):_0x342f2e[_0x437a92]=_0xda8bae,A=(_0x1909d9,_0x3a7e89,_0x29ddf6)=>Rt(_0x1909d9,typeof _0x3a7e89!='symbol'?_0x3a7e89+'':_0x3a7e89,_0x29ddf6);Object[_0x10f867(0x3f5)](exports,Symbol[_0x10f867(0x1dd)],{'value':_0x10f867(0x18f)});function _0x4aec(_0x4d8cc3,_0x2379f2){_0x4d8cc3=_0x4d8cc3-0x17d;var _0x483208=_0x4832();var _0x4aecc0=_0x483208[_0x4d8cc3];return _0x4aecc0;}const E=require('@univerjs-pro/collaboration'),o=require('@univerjs/core'),ct=require('@univerjs/docs'),Q=require('@univerjs/sheets'),j=require('rxjs'),Nt=require('@univerjs/telemetry'),V=require('rxjs/operators'),K=require('@univerjs/network'),z=require('@univerjs/drawing'),Dt=require('@univerjs-pro/license'),yt='/universer-api/snapshot',Ut=_0x10f867(0x4fd),At=0x7d0,_t=_0x10f867(0x291),Pt='/universer-api/user/session-ticket',ht=_0x10f867(0x3e0),Lt=0x7530,ke=_0x10f867(0x4fb),lt=0x4e20,Mt=0x4e20,ut=_0x10f867(0x4b8),wt=0x3,xt=_0x10f867(0x37e),kt=0x3e8,$t='/universer-api/comb',Ht=_0x10f867(0x1d0),jt=_0x10f867(0x1e2),Bt=_0x10f867(0x44a);var vt=(_0x4ae1ad=>(_0x4ae1ad[_0x4ae1ad['UNDEFINED']=0x0]=_0x10f867(0x327),_0x4ae1ad[_0x4ae1ad['OK']=0x1]='OK',_0x4ae1ad[_0x4ae1ad['INTERNAL_ERROR']=0x2]=_0x10f867(0x286),_0x4ae1ad[_0x4ae1ad['PERMISSION_DENIED']=0x3]=_0x10f867(0x23f),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x506)]=0x4]=_0x10f867(0x506),_0x4ae1ad[_0x4ae1ad['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x344)]=0x6]='ALREADY_EXISTS',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x475)]=0x7]=_0x10f867(0x475),_0x4ae1ad[_0x4ae1ad['TOO_MANY_REQUESTS']=0x8]=_0x10f867(0x242),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x1c5)]=0x9]=_0x10f867(0x1c5),_0x4ae1ad[_0x4ae1ad['LOGIN_FAILED']=0xa]=_0x10f867(0x18a),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x208)]=0xb]=_0x10f867(0x208),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x4dd)]=0xc]=_0x10f867(0x4dd),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x264)]=0xd]=_0x10f867(0x264),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x255)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x3ae)]=0xf]=_0x10f867(0x3ae),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x2f6)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x26c)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x4ae1ad[_0x4ae1ad['ERROR_AGAIN']=0x65]='ERROR_AGAIN',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x3ac)]=0xc9]='USER_NOT_FOUND',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x50b)]=0xca]='USER_IS_ANONYMOUS',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x38b)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4ae1ad[_0x4ae1ad['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x10f867(0x29d),_0x4ae1ad[_0x4ae1ad['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x10f867(0x1aa),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x1c0)]=0x1773]=_0x10f867(0x1c0),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x275)]=0x1b59]=_0x10f867(0x275),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x3fc)]=0x1b5a]=_0x10f867(0x3fc),_0x4ae1ad[_0x4ae1ad['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x10f867(0x36f),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x189)]=0x1b5c]=_0x10f867(0x189),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x484)]=0x1b5d]=_0x10f867(0x484),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x1bb)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x4d5)]=0x2329]=_0x10f867(0x4d5),_0x4ae1ad[_0x4ae1ad['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x10f867(0x214),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x1b8)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4ae1ad[_0x4ae1ad['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x10f867(0x320),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x465)]=0x232d]=_0x10f867(0x465),_0x4ae1ad[_0x4ae1ad['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x10f867(0x498),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x367)]=0x2712]=_0x10f867(0x367),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x218)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x4a4)]=0x2714]=_0x10f867(0x4a4),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x4dc)]=0x271a]=_0x10f867(0x4dc),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x20e)]=0x271b]=_0x10f867(0x20e),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x4e0)]=0x271c]=_0x10f867(0x4e0),_0x4ae1ad[_0x4ae1ad['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x10f867(0x3ed),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x4bb)]=0x271e]=_0x10f867(0x4bb),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x181)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x50d)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x26a)]=0x2af9]=_0x10f867(0x26a),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x38e)]=0x2ee1]=_0x10f867(0x38e),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x43a)]=0x2ee2]=_0x10f867(0x43a),_0x4ae1ad[_0x4ae1ad['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x1b1)]=0x2ee4]=_0x10f867(0x1b1),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x308)]=0x2ee5]=_0x10f867(0x308),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x235)]=0x32c9]=_0x10f867(0x235),_0x4ae1ad[_0x4ae1ad['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x10f867(0x1e5),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x438)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x49b)]=0x36b1]=_0x10f867(0x49b),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x2b9)]=0x36b2]=_0x10f867(0x2b9),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x417)]=0x36b3]=_0x10f867(0x417),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x33e)]=0x36b4]=_0x10f867(0x33e),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x3d7)]=0x36b5]=_0x10f867(0x3d7),_0x4ae1ad[_0x4ae1ad['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x10f867(0x3c5),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x309)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x1cb)]=0x36b8]=_0x10f867(0x1cb),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x265)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x3d6)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x48e)]=0x3717]=_0x10f867(0x48e),_0x4ae1ad[_0x4ae1ad['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x10f867(0x1f0),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x271)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x4e8)]=0x3a9a]=_0x10f867(0x4e8),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x418)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x420)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x460)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x4ae1ad[_0x4ae1ad[_0x10f867(0x351)]=0x3a9e]=_0x10f867(0x351),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x2db)]=0x3a9f]=_0x10f867(0x2db),_0x4ae1ad[_0x4ae1ad['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x10f867(0x456),_0x4ae1ad[_0x4ae1ad[_0x10f867(0x46d)]=-0x1]=_0x10f867(0x46d),_0x4ae1ad))(vt||{}),X=(_0x164246=>(_0x164246[_0x164246['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x164246[_0x164246[_0x10f867(0x382)]=0x1]=_0x10f867(0x382),_0x164246[_0x164246[_0x10f867(0x3bf)]=0x2]=_0x10f867(0x3bf),_0x164246[_0x164246[_0x10f867(0x4a6)]=0x3]='UNIVER_SLIDE',_0x164246[_0x164246[_0x10f867(0x48f)]=0x4]=_0x10f867(0x48f),_0x164246[_0x164246[_0x10f867(0x46d)]=-0x1]=_0x10f867(0x46d),_0x164246))(X||{}),W=(_0x460921=>(_0x460921[_0x460921[_0x10f867(0x413)]=0x0]='UNKNOWN_CMD',_0x460921[_0x460921[_0x10f867(0x229)]=0x1]='HELLO',_0x460921[_0x460921[_0x10f867(0x37b)]=0x2]='JOIN',_0x460921[_0x460921[_0x10f867(0x46e)]=0x3]='LEAVE',_0x460921[_0x460921[_0x10f867(0x343)]=0x4]='INGEST',_0x460921[_0x460921[_0x10f867(0x2a0)]=0x5]=_0x10f867(0x2a0),_0x460921[_0x460921[_0x10f867(0x38d)]=0x6]=_0x10f867(0x38d),_0x460921[_0x460921[_0x10f867(0x46d)]=-0x1]=_0x10f867(0x46d),_0x460921))(W||{}),re=(_0x3f0112=>(_0x3f0112[_0x3f0112['UNKNOWN_CODE']=0x0]=_0x10f867(0x221),_0x3f0112[_0x3f0112['OK']=0x1]='OK',_0x3f0112[_0x3f0112['FAIL']=0x2]=_0x10f867(0x4ed),_0x3f0112[_0x3f0112[_0x10f867(0x2e1)]=0x3e9]=_0x10f867(0x2e1),_0x3f0112[_0x3f0112[_0x10f867(0x2b0)]=0x3ea]=_0x10f867(0x2b0),_0x3f0112[_0x3f0112[_0x10f867(0x49a)]=0x3eb]=_0x10f867(0x49a),_0x3f0112[_0x3f0112[_0x10f867(0x4d9)]=0x3ec]=_0x10f867(0x4d9),_0x3f0112[_0x3f0112[_0x10f867(0x46d)]=-0x1]='UNRECOGNIZED',_0x3f0112))(re||{}),dt=(_0x19520a=>(_0x19520a[_0x19520a['Undefined']=0x0]=_0x10f867(0x281),_0x19520a[_0x19520a['HttpImport']=0x1]='HttpImport',_0x19520a[_0x19520a['HttpExport']=0x2]=_0x10f867(0x1f9),_0x19520a[_0x19520a[_0x10f867(0x2b1)]=0x3]='UnitEmbedded',_0x19520a[_0x19520a[_0x10f867(0x1cf)]=0x4]=_0x10f867(0x1cf),_0x19520a[_0x19520a[_0x10f867(0x233)]=0x5]=_0x10f867(0x233),_0x19520a[_0x19520a[_0x10f867(0x1a2)]=0x6]='ClipsheetFragments',_0x19520a[_0x19520a[_0x10f867(0x46d)]=-0x1]='UNRECOGNIZED',_0x19520a))(dt||{});const Ft='collaboration_new_changeset';function Vt(_0x1e4d86){var _0x367913=_0x10f867;return JSON['stringify'](_0x1e4d86)[_0x367913(0x371)];}var J=(_0x3a080c=>(_0x3a080c['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x3a080c[_0x10f867(0x23f)]=_0x10f867(0x23f),_0x3a080c['CONFLICT']='CONFLICT',_0x3a080c['CLOSE_ROOM']=_0x10f867(0x386),_0x3a080c[_0x10f867(0x1ea)]=_0x10f867(0x1ea),_0x3a080c[_0x10f867(0x3da)]=_0x10f867(0x3da),_0x3a080c[_0x10f867(0x449)]='SOCKET_FAILED',_0x3a080c[_0x10f867(0x1d6)]=_0x10f867(0x1d6),_0x3a080c))(J||{});class ee{constructor(){var _0xd59102=_0x10f867;A(this,_0xd59102(0x1e1),new j[(_0xd59102(0x1d1))]()),A(this,_0xd59102(0x48b),this['_event$'][_0xd59102(0x440)]());}['emitEvent'](_0x12d110){var _0x24f464=_0x10f867;this[_0x24f464(0x1e1)]['next'](_0x12d110);}}class $e{constructor(){var _0x249a4e=_0x10f867;A(this,_0x249a4e(0x361),new j[(_0x249a4e(0x1d1))]()),A(this,_0x249a4e(0x3c8),this[_0x249a4e(0x361)]['asObservable']());}['onCommentUpdate'](_0xf9655e){var _0x18ad8d=_0x10f867;this[_0x18ad8d(0x361)][_0x18ad8d(0x19d)](_0xf9655e);}}var Wt=Object['getOwnPropertyDescriptor'],Gt=(_0xa418,_0x33f306,_0x9b4b3a,_0x47cb5f)=>{for(var _0xab6530=_0x47cb5f>0x1?void 0x0:_0x47cb5f?Wt(_0x33f306,_0x9b4b3a):_0x33f306,_0x1198db=_0xa418['length']-0x1,_0x1593ba;_0x1198db>=0x0;_0x1198db--)(_0x1593ba=_0xa418[_0x1198db])&&(_0xab6530=_0x1593ba(_0xab6530)||_0xab6530);return _0xab6530;},Ve=(_0xc65e99,_0x24a10e)=>(_0x54bc6d,_0xade8f3)=>_0x24a10e(_0x54bc6d,_0xade8f3,_0xc65e99);exports[_0x10f867(0x215)]=class extends o[_0x10f867(0x352)]{constructor(_0x24360c,_0x122af5){var _0x452ad7=_0x10f867;super(),A(this,_0x452ad7(0x3af),new Map()),A(this,_0x452ad7(0x487),new j[(_0x452ad7(0x1d1))]()),(this['_univerInstanceService']=_0x24360c,this[_0x452ad7(0x4bd)]=_0x122af5,this[_0x452ad7(0x241)](j['merge'](this[_0x452ad7(0x497)]['getTypeOfUnitDisposed$'](o[_0x452ad7(0x2a8)][_0x452ad7(0x3bf)])[_0x452ad7(0x4e4)](V[_0x452ad7(0x25e)](_0x24255d=>_0x24255d[_0x452ad7(0x298)]())),this[_0x452ad7(0x497)]['getTypeOfUnitDisposed$'](o[_0x452ad7(0x2a8)][_0x452ad7(0x382)])[_0x452ad7(0x4e4)](V[_0x452ad7(0x25e)](_0x1b91b9=>_0x1b91b9[_0x452ad7(0x298)]())),this['_univerInstanceService'][_0x452ad7(0x3a4)](o[_0x452ad7(0x2a8)]['UNIVER_SLIDE'])['pipe'](V['map'](_0xa586f5=>_0xa586f5[_0x452ad7(0x298)]())))['subscribe'](_0x6ce59c=>this[_0x452ad7(0x2ed)](_0x6ce59c))));}['waitForRoom$'](_0x2057cf){var _0x49c494=_0x10f867;return this['_roomMembers']['has'](_0x2057cf)?j['of'](this[_0x49c494(0x3af)]['get'](_0x2057cf)):this[_0x49c494(0x487)]['pipe'](V['map'](_0x2f893b=>{var _0x21b4dc=_0x49c494;if(_0x2f893b===_0x2057cf)return this[_0x21b4dc(0x3af)][_0x21b4dc(0x433)](_0x2f893b);}));}['setCurrentUser'](_0x52e849){var _0x3a1dc5=_0x10f867;this['_userManagerService'][_0x3a1dc5(0x317)](_0x52e849);}[_0x10f867(0x250)](){var _0x50b689=_0x10f867;return this[_0x50b689(0x4bd)][_0x50b689(0x250)]();}['updateMember'](_0x48f557,_0x5d61f7){var _0x6d8f41=_0x10f867;let _0x5dcae6=this['_roomMembers'][_0x6d8f41(0x433)](_0x48f557);_0x5dcae6||(_0x5dcae6=new Yt(),this[_0x6d8f41(0x3af)]['set'](_0x48f557,_0x5dcae6),this[_0x6d8f41(0x487)][_0x6d8f41(0x19d)](_0x48f557)),_0x5dcae6[_0x6d8f41(0x3f7)](_0x5d61f7);}[_0x10f867(0x4ca)](_0x34abc8,_0x2bd193){var _0x3673e4=_0x10f867;const _0x154e6a=this['_roomMembers'][_0x3673e4(0x433)](_0x34abc8);_0x154e6a&&_0x154e6a[_0x3673e4(0x4ca)](_0x2bd193);}[_0x10f867(0x33d)](_0x5c9b97){var _0x350405=_0x10f867;return this[_0x350405(0x3af)][_0x350405(0x433)](_0x5c9b97);}[_0x10f867(0x2c2)](_0x40e6df,_0x12b06a){var _0x1b510a=_0x10f867;const _0x79fb90=this[_0x1b510a(0x3af)][_0x1b510a(0x433)](_0x40e6df);if(_0x79fb90)return _0x79fb90[_0x1b510a(0x2c2)](_0x12b06a);}[_0x10f867(0x2ed)](_0x1d6426){var _0x3c5842=_0x10f867;const _0x5f42f7=this[_0x3c5842(0x3af)][_0x3c5842(0x433)](_0x1d6426);_0x5f42f7&&(_0x5f42f7[_0x3c5842(0x3dc)](),this[_0x3c5842(0x3af)][_0x3c5842(0x458)](_0x1d6426));}[_0x10f867(0x3dc)](){var _0x4671f7=_0x10f867;this[_0x4671f7(0x3af)][_0x4671f7(0x35b)](_0x9ad1c4=>_0x9ad1c4[_0x4671f7(0x3dc)]()),this[_0x4671f7(0x3af)][_0x4671f7(0x2aa)](),this[_0x4671f7(0x487)]['complete']();}},exports[_0x10f867(0x215)]=Gt([Ve(0x0,o[_0x10f867(0x470)]),Ve(0x1,o[_0x10f867(0x225)](o[_0x10f867(0x375)]))],exports[_0x10f867(0x215)]);class Yt extends o['Disposable']{constructor(){var _0x50e83f=_0x10f867;super(...arguments),A(this,_0x50e83f(0x3b7),new Map()),A(this,_0x50e83f(0x39b),new j[(_0x50e83f(0x1da))](this[_0x50e83f(0x3b7)])),A(this,'members$',this[_0x50e83f(0x39b)][_0x50e83f(0x440)]());}['dispose'](){var _0x3c6d44=_0x10f867;this[_0x3c6d44(0x3b7)][_0x3c6d44(0x2aa)]();}[_0x10f867(0x3f7)](_0x237c6c){var _0x10c644=_0x10f867;this['_members'][_0x10c644(0x186)](_0x237c6c['memberID'],_0x237c6c),this[_0x10c644(0x46a)]();}[_0x10f867(0x4ca)](_0x5aca44){var _0x4427bf=_0x10f867;this['_members'][_0x4427bf(0x458)](_0x5aca44);}[_0x10f867(0x2c2)](_0x3bfec6){var _0x108ba9=_0x10f867;return this[_0x108ba9(0x3b7)][_0x108ba9(0x433)](_0x3bfec6);}[_0x10f867(0x35c)](){var _0x1fabe5=_0x10f867;return Array[_0x1fabe5(0x318)](this['_members']['values']());}[_0x10f867(0x46a)](){var _0x542c2b=_0x10f867;this[_0x542c2b(0x39b)][_0x542c2b(0x19d)](this[_0x542c2b(0x3b7)]);}}var Kt=Object[_0x10f867(0x509)],qt=(_0x3d3c34,_0x5e90ed,_0x5dd70e,_0xa52033)=>{var _0x516ed0=_0x10f867;for(var _0x4a91f7=_0xa52033>0x1?void 0x0:_0xa52033?Kt(_0x5e90ed,_0x5dd70e):_0x5e90ed,_0x21eaa6=_0x3d3c34[_0x516ed0(0x371)]-0x1,_0x132adb;_0x21eaa6>=0x0;_0x21eaa6--)(_0x132adb=_0x3d3c34[_0x21eaa6])&&(_0x4a91f7=_0x132adb(_0x4a91f7)||_0x4a91f7);return _0x4a91f7;},ce=(_0x102791,_0x3799b7)=>(_0x47d85d,_0x8ae634)=>_0x3799b7(_0x47d85d,_0x8ae634,_0x102791),se=(_0x21f1b5=>(_0x21f1b5[_0x21f1b5[_0x10f867(0x2c8)]=0x0]=_0x10f867(0x2c8),_0x21f1b5[_0x21f1b5[_0x10f867(0x49f)]=0x1]=_0x10f867(0x49f),_0x21f1b5[_0x21f1b5[_0x10f867(0x2ef)]=0x2]=_0x10f867(0x2ef),_0x21f1b5[_0x21f1b5[_0x10f867(0x1fb)]=0x3]='ONLINE',_0x21f1b5))(se||{});const We={[re[_0x10f867(0x4ed)]]:_0x10f867(0x399),[re[_0x10f867(0x2e1)]]:'session.room-full',[re[_0x10f867(0x2b0)]]:_0x10f867(0x3a9),[re[_0x10f867(0x49a)]]:_0x10f867(0x390),[re[_0x10f867(0x4d9)]]:_0x10f867(0x237)};exports[_0x10f867(0x362)]=class extends o['RxDisposable']{constructor(_0x13f120,_0x21861b,_0x5cbde8,_0x1a358b,_0x2306ec,_0x574c4d,_0x250626,_0x4d3f10){var _0x56359c=_0x10f867;super(),A(this,_0x56359c(0x4c2),new j[(_0x56359c(0x1da))](0x0)),A(this,_0x56359c(0x191),this[_0x56359c(0x4c2)][_0x56359c(0x440)]()),A(this,'_event$',new j[(_0x56359c(0x1d1))]()),A(this,'event$',this[_0x56359c(0x1e1)]['asObservable']()),A(this,_0x56359c(0x1d3)),A(this,_0x56359c(0x3b1)),A(this,_0x56359c(0x3ec)),A(this,_0x56359c(0x274),!0x1),A(this,_0x56359c(0x192),null),(this[_0x56359c(0x4b1)]=_0x13f120,this[_0x56359c(0x280)]=_0x5cbde8,this['_configService']=_0x1a358b,this[_0x56359c(0x1bf)]=_0x2306ec,this[_0x56359c(0x330)]=_0x574c4d,this[_0x56359c(0x336)]=_0x250626,this[_0x56359c(0x504)]=_0x4d3f10,this[_0x56359c(0x274)]=!!this[_0x56359c(0x504)],_0x21861b[_0x56359c(0x4e4)](j[_0x56359c(0x45f)](this['dispose$']))[_0x56359c(0x34a)](_0x1c8b45=>{var _0x1aaf33=_0x56359c,_0x266b77;typeof _0x1c8b45>'u'||(this[_0x1aaf33(0x1d3)]=_0x1c8b45,_0x1c8b45?(this[_0x1aaf33(0x321)](_0x1c8b45),this[_0x1aaf33(0x3b1)]=_0x1c8b45['message$'][_0x1aaf33(0x34a)](_0x56de37=>{var _0xf26d29=_0x1aaf33;_0x56de37[_0xf26d29(0x31e)]===this['_unitID']&&this[_0xf26d29(0x314)](_0x56de37);})):(this[_0x1aaf33(0x40d)](),this[_0x1aaf33(0x4c2)][_0x1aaf33(0x19d)](0x2),(_0x266b77=this[_0x1aaf33(0x3b1)])==null||_0x266b77[_0x1aaf33(0x46c)](),this[_0x1aaf33(0x3b1)]=null));}));}get['sessionStatus'](){return this['_sessionStatus$']['getValue']();}[_0x10f867(0x31f)](){var _0x2c1d37=_0x10f867,_0xb40f81,_0xf02d2b;return(_0xf02d2b=(_0xb40f81=this[_0x2c1d37(0x1d3)])==null?void 0x0:_0xb40f81[_0x2c1d37(0x1f8)])!=null?_0xf02d2b:null;}[_0x10f867(0x3dc)](){var _0x4f6b09=_0x10f867;super[_0x4f6b09(0x3dc)](),this['dispose$'][_0x4f6b09(0x19d)](),this[_0x4f6b09(0x25c)][_0x4f6b09(0x443)]();}[_0x10f867(0x293)](){var _0x202d14=_0x10f867,_0x5939c9,_0x48aa05;this[_0x202d14(0x40d)](),(_0x5939c9=this[_0x202d14(0x1d3)])==null||_0x5939c9[_0x202d14(0x47d)]({'cmd':W[_0x202d14(0x46e)],'data':{'roomID':this['_unitID']}}),(_0x48aa05=this[_0x202d14(0x1d3)])==null||_0x48aa05[_0x202d14(0x293)](),this[_0x202d14(0x1e1)]['complete'](),this['_sessionStatus$']['complete'](),this['dispose']();}['_onCombEvent'](_0x5f3b8f){var _0x3eb65a=_0x10f867;_0x5f3b8f[_0x3eb65a(0x239)]===W[_0x3eb65a(0x37b)]?this['_onJoinRoomEvent'](_0x5f3b8f):_0x5f3b8f[_0x3eb65a(0x239)]===W[_0x3eb65a(0x38d)]&&this['_onRecvEvent'](_0x5f3b8f);}[_0x10f867(0x321)](_0xea798){var _0x4ce73a=_0x10f867;this[_0x4ce73a(0x4c2)][_0x4ce73a(0x19d)](0x1),_0xea798['send']({'cmd':W['JOIN'],'routeKey':this[_0x4ce73a(0x4b1)],'routeType':'','data':{'rooms':[{'roomID':this[_0x4ce73a(0x4b1)]}]}});}[_0x10f867(0x26b)](_0x3a95d2){var _0x592220=_0x10f867,_0x24c4f6;if(_0x3a95d2[_0x592220(0x429)]in We){this['_collaborationUIEventService'][_0x592220(0x3e2)]({'id':J['JOIN_ROOM_FAILED'],'data':We[_0x3a95d2[_0x592220(0x429)]]}),this['_sessionStatus$'][_0x592220(0x19d)](0x2);return;}this[_0x592220(0x4c2)][_0x592220(0x19d)](0x3);const _0x36d0d3=(_0x24c4f6=_0x3a95d2[_0x592220(0x46b)]['roomInfos'][this[_0x592220(0x4b1)]])==null?void 0x0:_0x24c4f6[_0x592220(0x447)];_0x36d0d3&&_0x36d0d3[_0x592220(0x35b)](_0x5df9db=>this['_memberService'][_0x592220(0x3f7)](this[_0x592220(0x4b1)],_0x5df9db));}['_onRecvEvent'](_0x1714d3){var _0x5bd030=_0x10f867;try{const _0x20d9eb=_0x1714d3['data'];switch(_0x20d9eb[_0x5bd030(0x2ad)]){case E[_0x5bd030(0x481)][_0x5bd030(0x196)]:this[_0x5bd030(0x4f3)](_0x20d9eb),this[_0x5bd030(0x1e1)][_0x5bd030(0x19d)](_0x20d9eb);break;case E['CollaborationEvent']['USERS_LEAVE']:this[_0x5bd030(0x485)](_0x20d9eb),this[_0x5bd030(0x1e1)][_0x5bd030(0x19d)](_0x20d9eb);break;case E['CollaborationEvent'][_0x5bd030(0x36b)]:case E[_0x5bd030(0x481)][_0x5bd030(0x3b9)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x5bd030(0x1e1)]['next'](_0x20d9eb);break;case E['CollaborationEvent'][_0x5bd030(0x304)]:this['_logService'][_0x5bd030(0x3a8)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x20d9eb)),this[_0x5bd030(0x1e1)][_0x5bd030(0x19d)](_0x20d9eb);break;case E['CollaborationEvent']['COMMENT_UPDATE']:this['_commentService'][_0x5bd030(0x4cf)](_0x20d9eb['data']),this[_0x5bd030(0x1e1)]['next'](_0x20d9eb);break;default:this[_0x5bd030(0x1e1)][_0x5bd030(0x19d)](_0x20d9eb);}}catch(_0x5f0e7a){this[_0x5bd030(0x280)][_0x5bd030(0x3a8)](_0x5f0e7a,_0x1714d3);}}[_0x10f867(0x4f3)](_0x381142){var _0xb302e4=_0x10f867;this[_0xb302e4(0x1bf)][_0xb302e4(0x3f7)](this[_0xb302e4(0x4b1)],_0x381142[_0xb302e4(0x46b)]);}[_0x10f867(0x485)](_0x238c81){var _0x50221c=_0x10f867;this[_0x50221c(0x1bf)][_0x50221c(0x4ca)](this[_0x50221c(0x4b1)],_0x238c81['data'][_0x50221c(0x1f8)]);}async[_0x10f867(0x47d)](_0x416802,_0xe32c99){var _0x3d7b33=_0x10f867;if(this[_0x3d7b33(0x27f)]!==0x3||!this['_socket'])throw new Error(_0x3d7b33(0x37a));try{_0x416802['eventID']===E[_0x3d7b33(0x481)][_0x3d7b33(0x1c6)]&&(this[_0x3d7b33(0x4a2)](),this[_0x3d7b33(0x502)](_0x416802)),this[_0x3d7b33(0x1d3)]['send']({'cmd':W[_0x3d7b33(0x343)],'routeKey':_0xe32c99,'routeType':'','data':_0x416802});}catch(_0x405beb){this['_logService'][_0x3d7b33(0x3a8)](_0x405beb);}}['_scheduleCollaborationTimeoutTimer'](){var _0x586c25=_0x10f867,_0x297b64;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x50c083=_0x4aec;this['_collaborationTimeoutTimer']=null,this[_0x50c083(0x336)][_0x50c083(0x3e2)]({'id':J[_0x50c083(0x1d6)]});},(_0x297b64=this[_0x586c25(0x22b)]['getConfig'](ke))!=null?_0x297b64:lt);}[_0x10f867(0x4cc)](){var _0x27cb23=_0x10f867;this[_0x27cb23(0x3ec)]&&(clearTimeout(this[_0x27cb23(0x3ec)]),this[_0x27cb23(0x3ec)]=null);}[_0x10f867(0x502)](_0xebb4b1){var _0x335bac=_0x10f867;if(!this[_0x335bac(0x274)])return;const {data:_0x388159}=_0xebb4b1,{unitID:_0x1870e5,changeset:_0x3dd21d}=_0x388159,{mutations:_0x5edb86,type:_0x323ae5}=_0x3dd21d;this['_telemetryInfo']={'unitId':_0x1870e5,'type':_0x323ae5,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Vt(_0x5edb86)};}[_0x10f867(0x41a)](){var _0x363794=_0x10f867;if(this[_0x363794(0x274)]){if(!this[_0x363794(0x192)]){this[_0x363794(0x280)][_0x363794(0x3a8)](_0x363794(0x3c7),_0x363794(0x360));return;}this[_0x363794(0x192)]['stopTime']=performance[_0x363794(0x1ed)](),this[_0x363794(0x192)][_0x363794(0x43c)]=this[_0x363794(0x192)][_0x363794(0x1b6)]-this[_0x363794(0x192)]['startTime'],this[_0x363794(0x504)][_0x363794(0x446)](Ft,this['_telemetryInfo']),this[_0x363794(0x192)]=null;}}[_0x10f867(0x40d)](){var _0x43c0c3=_0x10f867;this[_0x43c0c3(0x192)]=null;}},exports[_0x10f867(0x362)]=qt([ce(0x2,o[_0x10f867(0x4f6)]),ce(0x3,o[_0x10f867(0x405)]),ce(0x4,o[_0x10f867(0x225)](exports[_0x10f867(0x215)])),ce(0x5,o['Inject']($e)),ce(0x6,o[_0x10f867(0x225)](ee)),ce(0x7,o[_0x10f867(0x244)](Nt['ITelemetryService']))],exports['CollaborationSession']);const q=o[_0x10f867(0x480)](_0x10f867(0x22f));function zt(_0x10b935){return'unit-cache-'+_0x10b935;}var Xt=Object[_0x10f867(0x509)],Jt=(_0x58b66f,_0x5a717d,_0x1f678b,_0x590acd)=>{var _0x5073ec=_0x10f867;for(var _0x34be67=_0x590acd>0x1?void 0x0:_0x590acd?Xt(_0x5a717d,_0x1f678b):_0x5a717d,_0x5c0efc=_0x58b66f[_0x5073ec(0x371)]-0x1,_0x5c0b47;_0x5c0efc>=0x0;_0x5c0efc--)(_0x5c0b47=_0x58b66f[_0x5c0efc])&&(_0x34be67=_0x5c0b47(_0x34be67)||_0x34be67);return _0x34be67;},Ue=(_0x3ca1e8,_0x16ca91)=>(_0x380bd1,_0x27e0bc)=>_0x16ca91(_0x380bd1,_0x27e0bc,_0x3ca1e8);function Zt(_0x50f6c2){var _0xa10d3d=_0x10f867;const {unitID:_0x377f9c,mutations:_0xba70a7}=_0x50f6c2;return{'unitId':_0x377f9c,'subUnitId':_0xba70a7[_0xa10d3d(0x371)]>0x0?_0xba70a7[0x0][_0xa10d3d(0x32c)][_0xa10d3d(0x38f)]:null};}exports[_0x10f867(0x508)]=class{constructor(_0x3945dc,_0x10890a,_0x3e6cd2){var _0x306919=_0x10f867;this[_0x306919(0x4f8)]=_0x3945dc,this[_0x306919(0x33c)]=_0x10890a,this[_0x306919(0x276)]=_0x3e6cd2;}[_0x10f867(0x2a4)](_0x5b3be5){var _0x4f45a1=_0x10f867,_0xd86046,_0x338a6f,_0x2bdc42,_0xddfcc6;const _0x3e1410=this[_0x4f45a1(0x4f8)]['get'](Q[_0x4f45a1(0x4be)]),{unitId:_0x409013,subUnitId:_0x7ebabf}=Zt(_0x5b3be5),_0x5a85eb=_0x3e1410==null?void 0x0:_0x3e1410[_0x4f45a1(0x3aa)](_0x409013)[_0x4f45a1(0x1fc)](),_0x51077b=(_0x338a6f=(_0xd86046=this[_0x4f45a1(0x276)][_0x4f45a1(0x4c0)](_0x409013))==null?void 0x0:_0xd86046[_0x4f45a1(0x392)]())==null?void 0x0:_0x338a6f[_0x4f45a1(0x4df)]();if(_0x5a85eb[_0x4f45a1(0x371)]===0x0||!_0x409013||!_0x7ebabf)return;const _0x4de673=[{'id':Q[_0x4f45a1(0x3d8)]['id'],'params':{'unitId':_0x409013,'subUnitId':_0x51077b,'selections':o[_0x4f45a1(0x378)][_0x4f45a1(0x3d2)](_0x5a85eb)}}],_0x30a1e2=this['_transformService']['transformMutationsWithChangeset'](_0x5b3be5,_0x4de673);if(!E['isTransformMutationsWithChangesetSuccess'](_0x30a1e2))throw _0x30a1e2[_0x4f45a1(0x3a8)];const _0x74922=(_0xddfcc6=(_0x2bdc42=_0x30a1e2[_0x4f45a1(0x323)][0x0])==null?void 0x0:_0x2bdc42[_0x4f45a1(0x32c)])==null?void 0x0:_0xddfcc6['selections'];if(Array[_0x4f45a1(0x34c)](_0x74922)&&_0x74922[_0x4f45a1(0x371)]){if(_0x74922[_0x4f45a1(0x371)]===_0x4de673[0x0][_0x4f45a1(0x32c)][_0x4f45a1(0x303)]['length']&&_0x74922['every']((_0x565fac,_0x470167)=>o[_0x4f45a1(0x3b5)][_0x4f45a1(0x1cc)](_0x565fac[_0x4f45a1(0x461)],_0x4de673[0x0][_0x4f45a1(0x32c)][_0x4f45a1(0x303)][_0x470167][_0x4f45a1(0x461)])))return;this[_0x4f45a1(0x4f8)]['get'](o['ICommandService'])['executeCommand'](Q[_0x4f45a1(0x3d8)]['id'],{'unitId':_0x409013,'subUnitId':_0x51077b,'selections':_0x74922});}}},exports[_0x10f867(0x508)]=Jt([Ue(0x0,o[_0x10f867(0x225)](o['Injector'])),Ue(0x1,E[_0x10f867(0x297)]),Ue(0x2,o[_0x10f867(0x470)])],exports[_0x10f867(0x508)]);const ve=o[_0x10f867(0x480)](_0x10f867(0x45d));var He=(_0x24d22b=>(_0x24d22b[_0x24d22b['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x10f867(0x3cc),_0x24d22b[_0x24d22b[_0x10f867(0x25f)]=0x1]=_0x10f867(0x25f),_0x24d22b))(He||{});const Y=_0x10f867(0x1f4),Qt={};function ei(_0x34156c){var _0x2b1384=_0x10f867,_0x385c23;return!!((_0x385c23=_0x34156c[_0x2b1384(0x32c)])!=null&&_0x385c23[_0x2b1384(0x2f1)]);}const ti=new Set([Q[_0x10f867(0x1e9)]['id']]);function Ge(_0x100e2d,_0x509e72,_0x4e4f29,_0x57829f,_0xe1a2a9){var _0x512fa6=_0x10f867,_0x1439c7,_0x3129b8,_0x59f9d7,_0x1de042;const _0xa6c0e3=[];for(const _0x5bd5b4 of _0x100e2d){if(ti[_0x512fa6(0x295)](_0x5bd5b4['id'])){if(_0xa6c0e3['length']>0x0)break;_0xa6c0e3[_0x512fa6(0x24d)](_0x5bd5b4);break;}if(ei(_0x5bd5b4)){if(_0xa6c0e3['length']>0x0)break;_0xa6c0e3[_0x512fa6(0x24d)](_0x5bd5b4);break;}_0xa6c0e3['push'](_0x5bd5b4);}const _0x261959=(_0x3129b8=(_0x1439c7=_0xe1a2a9[_0x512fa6(0x250)]())==null?void 0x0:_0x1439c7[_0x512fa6(0x21e)])!=null?_0x3129b8:_0x512fa6(0x3c1),_0x32a578=(_0x1de042=(_0x59f9d7=_0xe1a2a9[_0x512fa6(0x250)]())==null?void 0x0:_0x59f9d7[_0x512fa6(0x1f8)])!=null?_0x1de042:'unknown';return{'changeset':{'unitID':_0x509e72,'type':E[_0x512fa6(0x401)](_0x4e4f29[_0x512fa6(0x33f)](_0x509e72)),'baseRev':_0x57829f[_0x512fa6(0x1b4)](_0x509e72),'revision':0x0,'userID':_0x261959,'memberID':_0x32a578,'mutations':_0xa6c0e3},'pendingMutations':_0x100e2d['slice'](_0xa6c0e3[_0x512fa6(0x371)])};}function ii(_0x1fd442,_0x242f9d,_0x3a75aa,_0x32bcfb,_0x26978b){var _0x111441=_0x10f867,_0x51ec5f,_0x1f1024,_0x399ee8,_0x5bc248;const _0x6a4514=[_0x1fd442[_0x111441(0x364)]((_0x182cb0,_0x3bcc24)=>{var _0x298321=_0x111441,_0x36de8c;const {id:_0x4f2531}=_0x182cb0,{id:_0x4af8bd,type:_0x56c81e}=_0x3bcc24,_0x1e2059=(_0x36de8c=_0x182cb0[_0x298321(0x32c)])!=null?_0x36de8c:{'actions':null},_0x584d49=_0x3bcc24[_0x298321(0x32c)];if(_0x4f2531&&_0x4f2531!==_0x4af8bd)throw new Error(_0x298321(0x31a)+_0x4f2531+_0x298321(0x27d)+_0x4af8bd+'.');return{..._0x182cb0,'id':_0x4af8bd,'type':_0x56c81e,'params':{'unitId':_0x584d49[_0x298321(0x1fa)],'textRanges':_0x584d49[_0x298321(0x1f3)],'actions':o[_0x298321(0x403)][_0x298321(0x3b3)](_0x1e2059[_0x298321(0x2b7)],_0x584d49[_0x298321(0x2b7)])}};},{})],_0x555cc7=(_0x1f1024=(_0x51ec5f=_0x26978b[_0x111441(0x250)]())==null?void 0x0:_0x51ec5f[_0x111441(0x21e)])!=null?_0x1f1024:'unknown',_0x4af9a3=(_0x5bc248=(_0x399ee8=_0x26978b['getCurrentUser']())==null?void 0x0:_0x399ee8['memberID'])!=null?_0x5bc248:_0x111441(0x3c1);return{'changeset':{'unitID':_0x242f9d,'type':E[_0x111441(0x401)](_0x3a75aa[_0x111441(0x33f)](_0x242f9d)),'baseRev':_0x32bcfb[_0x111441(0x1b4)](_0x242f9d),'revision':0x0,'userID':_0x555cc7,'memberID':_0x4af9a3,'mutations':_0x6a4514},'pendingMutations':[]};}function St(_0x4d8e32,_0x417cd9){var _0x4e32c5=_0x10f867;const _0x411f7b=new j[(_0x4e32c5(0x2ce))](0x1);return setTimeout(()=>_0x411f7b[_0x4e32c5(0x19d)](_0x417cd9),_0x4d8e32),_0x411f7b[_0x4e32c5(0x440)]()[_0x4e32c5(0x4e4)](j['take'](0x1));}var ni=Object[_0x10f867(0x509)],ae=(_0x2304e0,_0x3803f6,_0x190445,_0x4cfbe6)=>{var _0x2727ee=_0x10f867;for(var _0x2dd550=_0x4cfbe6>0x1?void 0x0:_0x4cfbe6?ni(_0x3803f6,_0x190445):_0x3803f6,_0x329d1f=_0x2304e0[_0x2727ee(0x371)]-0x1,_0x280834;_0x329d1f>=0x0;_0x329d1f--)(_0x280834=_0x2304e0[_0x329d1f])&&(_0x2dd550=_0x280834(_0x2dd550)||_0x2dd550);return _0x2dd550;},L=(_0x37e50e,_0x336ead)=>(_0x1788a7,_0x57b3cb)=>_0x336ead(_0x1788a7,_0x57b3cb,_0x37e50e),je=(_0x462b5b=>(_0x462b5b[_0x10f867(0x4f2)]='not_collab',_0x462b5b['SYNCED']=_0x10f867(0x4b0),_0x462b5b['PENDING']=_0x10f867(0x326),_0x462b5b['AWAITING']=_0x10f867(0x3dd),_0x462b5b[_0x10f867(0x2b4)]=_0x10f867(0x32e),_0x462b5b[_0x10f867(0x4fa)]=_0x10f867(0x310),_0x462b5b[_0x10f867(0x3e6)]='conflict',_0x462b5b['OFFLINE']=_0x10f867(0x45e),_0x462b5b))(je||{});const It=0x4e20,ft=0x2bf20;class oe{constructor(_0xba21f0,_0x594add,_0x55dd4e,_0x25bfcb,_0x49a495,_0x1f8c57,_0x45b631,_0x262378,_0x2ca3d9){var _0x591c13=_0x10f867;A(this,_0x591c13(0x3b6),null),A(this,'_pendingMutations',[]),(this['unitID']=_0xba21f0,this[_0x591c13(0x19e)]=_0x594add,this[_0x591c13(0x2ff)]=_0x49a495,this[_0x591c13(0x2ee)]=_0x1f8c57,this[_0x591c13(0x44b)]=_0x45b631,this['_revisionService']=_0x262378,this[_0x591c13(0x2de)]=_0x2ca3d9,this[_0x591c13(0x3b6)]=_0x55dd4e,this[_0x591c13(0x421)]=_0x25bfcb);}[_0x10f867(0x2a3)](_0x490a6b){var _0x5e7341=_0x10f867;const _0x2c92fa=this[_0x5e7341(0x380)][_0x5e7341(0x1b4)](this[_0x5e7341(0x2cd)]);return _0x490a6b['revision']>_0x2c92fa+0x1?(this[_0x5e7341(0x2ff)][_0x5e7341(0x43e)]({'from':_0x2c92fa,'to':_0x490a6b[_0x5e7341(0x357)]-0x1}),!0x0):!0x1;}[_0x10f867(0x23d)](_0x7b0bdb){var _0x572fbd=_0x10f867;this[_0x572fbd(0x44b)][_0x572fbd(0x3a0)](this[_0x572fbd(0x2cd)],_0x7b0bdb);}[_0x10f867(0x231)](_0xf5ff22){var _0x251d95=_0x10f867,_0x28cd8e,_0x48d6ce;(_0x48d6ce=(_0x28cd8e=this[_0x251d95(0x2ff)])[_0x251d95(0x1c3)])==null||_0x48d6ce[_0x251d95(0x411)](_0x28cd8e,_0xf5ff22);}[_0x10f867(0x334)](_0x3869ae){var _0x3c5fa5=_0x10f867,_0x1e3310,_0x3f311b;return(_0x3f311b=(_0x1e3310=this[_0x3c5fa5(0x2ff)])['onTransformIME'])==null?void 0x0:_0x3f311b[_0x3c5fa5(0x411)](_0x1e3310,_0x3869ae);}[_0x10f867(0x4b9)](_0x2a11f0){var _0x172d82=_0x10f867,_0x461e2e,_0xbeba7c;return(_0xbeba7c=(_0x461e2e=this[_0x172d82(0x2ff)])[_0x172d82(0x205)])==null?void 0x0:_0xbeba7c[_0x172d82(0x411)](_0x461e2e,_0x2a11f0);}['_transformRemoteChangesetByIMECache'](_0x4a32af){var _0x226c5b=_0x10f867,_0xf11ede,_0x3e3222,_0x92c613;return(_0x92c613=(_0x3e3222=(_0xf11ede=this[_0x226c5b(0x2ff)])[_0x226c5b(0x20f)])==null?void 0x0:_0x3e3222[_0x226c5b(0x411)](_0xf11ede,_0x4a32af))!=null?_0x92c613:_0x4a32af;}[_0x10f867(0x262)](_0x577553){var _0x3913ba=_0x10f867,_0x25fbb2,_0x268da8,_0x55277b;return(_0x55277b=(_0x268da8=(_0x25fbb2=this[_0x3913ba(0x2ff)])[_0x3913ba(0x451)])==null?void 0x0:_0x268da8[_0x3913ba(0x411)](_0x25fbb2,_0x577553))!=null?_0x55277b:_0x577553;}[_0x10f867(0x3bd)](_0x5a6772){var _0x4b15c7=_0x10f867,_0x2f48a0,_0x3fe678;if(this[_0x4b15c7(0x19e)]===X[_0x4b15c7(0x382)]){const {unitID:_0x195d8f,mutations:_0x589552,memberID:_0x3642f5}=_0x5a6772,_0x1f81eb=_0x589552[_0x4b15c7(0x371)]>0x0?_0x589552[0x0][_0x4b15c7(0x32c)][_0x4b15c7(0x1f3)]:[];Array[_0x4b15c7(0x34c)](_0x1f81eb)&&_0x1f81eb[_0x4b15c7(0x371)]>0x0&&((_0x3fe678=(_0x2f48a0=this[_0x4b15c7(0x2ff)])[_0x4b15c7(0x37c)])==null||_0x3fe678[_0x4b15c7(0x411)](_0x2f48a0,{'unitID':_0x195d8f,'memberID':_0x3642f5,'textRanges':_0x1f81eb}));}}[_0x10f867(0x49e)](){var _0x2df970=_0x10f867,_0x3016f7;(_0x3016f7=this[_0x2df970(0x2de)])==null||_0x3016f7['updateOfflineData'](this['unitID'],this[_0x2df970(0x19e)],this[_0x2df970(0x3b6)],this['_pendingMutations']);}[_0x10f867(0x1d9)](){var _0x48fb49=_0x10f867;return this[_0x48fb49(0x380)]['getCurrentRevOfUnit'](this[_0x48fb49(0x2cd)]);}[_0x10f867(0x2c1)](){var _0x4d5cb4=_0x10f867;this[_0x4d5cb4(0x380)][_0x4d5cb4(0x404)](this[_0x4d5cb4(0x2cd)]);}[_0x10f867(0x1a5)](_0x42e8c4){var _0x136304=_0x10f867,_0x363555;let _0x2c471e=this[_0x136304(0x313)](_0x42e8c4);_0x2c471e=this[_0x136304(0x262)](_0x2c471e);const _0xa98e3b=o[_0x136304(0x476)](_0x2c471e[_0x136304(0x44e)],this['_commandService'],{'fromCollab':!0x0});if(!_0xa98e3b[_0x136304(0x4e3)])throw _0xa98e3b[_0x136304(0x3a8)]instanceof Error?_0xa98e3b[_0x136304(0x3a8)]:new Error((_0x363555=_0xa98e3b[_0x136304(0x3a8)])!=null?_0x363555:_0x136304(0x3a5));this[_0x136304(0x334)](_0x2c471e),this[_0x136304(0x4b9)](_0x2c471e),this[_0x136304(0x23d)](_0x42e8c4),this[_0x136304(0x231)](_0x2c471e),this['_syncEditingCollabCursor'](_0x2c471e),this[_0x136304(0x2c1)]();}}exports[_0x10f867(0x4b4)]=class extends oe{constructor(_0x362056,_0x2c8fe6,_0x3f6b7d,_0x310718,_0x32419e,_0x48147f,_0x1b1e3a,_0x201156,_0x442090,_0x145968){var _0x4d9c82=_0x10f867;super(_0x362056,_0x2c8fe6,null,[],_0x3f6b7d,_0x1b1e3a,_0x48147f,_0x310718,_0x145968),A(this,_0x4d9c82(0x224),'synced'),(this[_0x4d9c82(0x4f8)]=_0x32419e,this[_0x4d9c82(0x280)]=_0x201156,this['_transformService']=_0x442090,this[_0x4d9c82(0x426)]=_0x145968);}[_0x10f867(0x1a4)](_0x38a8e8){var _0x441d2c=_0x10f867;const _0x361337=this[_0x441d2c(0x4f8)][_0x441d2c(0x22d)](exports[_0x441d2c(0x3a1)],this['unitID'],this[_0x441d2c(0x19e)],[_0x38a8e8],this[_0x441d2c(0x2ff)]);return _0x361337['_schedule'](),_0x361337['_updateLocalCache'](),_0x361337;}[_0x10f867(0x4c3)](_0x22f1eb){var _0x4d3bfe=_0x10f867;if(this[_0x4d3bfe(0x2a3)](_0x22f1eb))return this['_injector'][_0x4d3bfe(0x22d)](exports[_0x4d3bfe(0x201)],this['unitID'],this[_0x4d3bfe(0x19e)],null,[],null,[_0x22f1eb],this['_handler']);try{const _0x5ef65b=this[_0x4d3bfe(0x33c)][_0x4d3bfe(0x4da)](_0x22f1eb,[E['EmptyMutationInfo']]);if(E[_0x4d3bfe(0x25a)](_0x5ef65b)){const {c1Prime:_0x41681a}=_0x5ef65b;return this[_0x4d3bfe(0x1a5)](_0x41681a),this;}throw _0x5ef65b[_0x4d3bfe(0x3a8)];}catch(_0xe52672){return this[_0x4d3bfe(0x280)]['error'](_0xe52672),this[_0x4d3bfe(0x416)](!0x1);}}[_0x10f867(0x416)](_0x52f9ad){var _0xa2cf4a=_0x10f867;return this[_0xa2cf4a(0x4f8)][_0xa2cf4a(0x22d)](exports[_0xa2cf4a(0x35f)],this['unitID'],this[_0xa2cf4a(0x19e)],null,[],this[_0xa2cf4a(0x2ff)],_0x52f9ad);}['onRemoteAck'](){var _0x107a61=_0x10f867;throw new Error(_0x107a61(0x1df));}[_0x10f867(0x3f8)](){var _0x4e70c2=_0x10f867;throw new Error(_0x4e70c2(0x24e));}['onRemoteRetry'](){return this;}[_0x10f867(0x4f1)](){var _0x5e991c=_0x10f867;return this[_0x5e991c(0x4f8)][_0x5e991c(0x22d)](exports['OfflineState'],this[_0x5e991c(0x2cd)],this[_0x5e991c(0x19e)],null,[],this[_0x5e991c(0x2ff)]);}['toggleOnline'](){return this;}[_0x10f867(0x469)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x56eeba=_0x10f867;const _0x376069=this[_0x56eeba(0x380)]['getCurrentRevOfUnit'](this['unitID']);return this['_handler'][_0x56eeba(0x43e)]({'from':_0x376069,'to':0x0}),this['_injector'][_0x56eeba(0x22d)](exports[_0x56eeba(0x201)],this[_0x56eeba(0x2cd)],this['type'],null,[],null,[],this[_0x56eeba(0x2ff)]);}},exports['SyncedState']=ae([L(0x3,o[_0x10f867(0x225)](E['RevisionService'])),L(0x4,o[_0x10f867(0x225)](o[_0x10f867(0x2c4)])),L(0x5,o['IUndoRedoService']),L(0x6,o['ICommandService']),L(0x7,o['ILogService']),L(0x8,E[_0x10f867(0x297)]),L(0x9,o[_0x10f867(0x244)](q))],exports[_0x10f867(0x4b4)]),exports[_0x10f867(0x3a1)]=class extends oe{constructor(_0x31d117,_0x5653a6,_0xc6f69c,_0x154f30,_0x5aa81f,_0x2471b4,_0xd141c8,_0xf705ff,_0x3d5c70,_0xf0d797,_0x154f14,_0xf42588,_0xfd055c,_0x1d7609){var _0xf00d36=_0x10f867;super(_0x31d117,_0x5653a6,null,_0xc6f69c,_0x154f30,_0x3d5c70,_0xfd055c,_0x2471b4,_0x1d7609),A(this,'status',_0xf00d36(0x326)),A(this,_0xf00d36(0x243),null),A(this,_0xf00d36(0x47a),null),(this['_injector']=_0x5aa81f,this[_0xf00d36(0x1bf)]=_0xd141c8,this[_0xf00d36(0x280)]=_0xf705ff,this[_0xf00d36(0x22b)]=_0xf0d797,this[_0xf00d36(0x33c)]=_0x154f14,this['_univerInstanceService']=_0xf42588);}[_0x10f867(0x1a4)](_0x267504){var _0x4768d2=_0x10f867;return this['_pendingMutations'][_0x4768d2(0x24d)](_0x267504),this[_0x4768d2(0x49e)](),this;}[_0x10f867(0x4c3)](_0x4a99a2){var _0x29f474=_0x10f867;if(this[_0x29f474(0x2a3)](_0x4a99a2))return this[_0x29f474(0x2d1)](),this['_injector'][_0x29f474(0x22d)](exports[_0x29f474(0x201)],this[_0x29f474(0x2cd)],this[_0x29f474(0x19e)],null,this['_pendingMutations'],null,[_0x4a99a2],this[_0x29f474(0x2ff)]);try{const _0x4407a2=this[_0x29f474(0x33c)][_0x29f474(0x4da)](_0x4a99a2,this[_0x29f474(0x421)]);if(E['isTransformMutationsWithChangesetSuccess'](_0x4407a2)){const {c1Prime:_0x58e1d9,m2Prime:_0x5f3b66}=_0x4407a2;this[_0x29f474(0x1a5)](_0x58e1d9);const _0x487572=this[_0x29f474(0x4f8)][_0x29f474(0x22d)](exports[_0x29f474(0x3a1)],this['unitID'],this['type'],_0x5f3b66,this['_handler']);this[_0x29f474(0x2d1)]();const _0x1ecf44=new Date()[_0x29f474(0x3ee)](),_0x162742=this['_scheduleCompleteTimestamp']?Math[_0x29f474(0x3cf)](this[_0x29f474(0x243)]-_0x1ecf44,0x0):this[_0x29f474(0x43b)]();return _0x487572['_schedule'](_0x162742),_0x487572;}throw _0x4407a2['error'];}catch(_0x1aa3ed){return this[_0x29f474(0x280)]['error'](_0x1aa3ed),this[_0x29f474(0x416)](!0x1);}}[_0x10f867(0x349)](){var _0x574f85=_0x10f867;throw new Error(_0x574f85(0x3f4));}[_0x10f867(0x3f8)](){var _0x26f90e=_0x10f867;throw new Error(_0x26f90e(0x3f3));}[_0x10f867(0x29b)](){return this;}[_0x10f867(0x4f1)](){var _0x54d6be=_0x10f867;return this['_clearScheduledTask'](),this[_0x54d6be(0x4f8)][_0x54d6be(0x22d)](exports[_0x54d6be(0x2eb)],this[_0x54d6be(0x2cd)],this[_0x54d6be(0x19e)],null,this[_0x54d6be(0x421)],this[_0x54d6be(0x2ff)]);}[_0x10f867(0x4f4)](){return this;}[_0x10f867(0x1c9)](_0xe8b9cc){var _0xf3f18f=_0x10f867;const _0x584e47=_0xe8b9cc!=null?_0xe8b9cc:this[_0xf3f18f(0x43b)]();this[_0xf3f18f(0x243)]=new Date()['getTime']()+_0x584e47,this[_0xf3f18f(0x47a)]=setTimeout(()=>{var _0x54d679=_0xf3f18f;this['_clearScheduledTask']();let _0x386d0b=null;switch(this[_0x54d679(0x19e)]){case X[_0x54d679(0x3bf)]:{_0x386d0b=Ge(this['_pendingMutations'],this[_0x54d679(0x2cd)],this['_univerInstanceService'],this['_revisionService'],this[_0x54d679(0x1bf)]);break;}case X[_0x54d679(0x382)]:{this[_0x54d679(0x421)][_0x54d679(0x423)](_0x5e18af=>_0x5e18af['id']===ct['RichTextEditingMutation']['id'])?_0x386d0b=ii(this[_0x54d679(0x421)],this[_0x54d679(0x2cd)],this['_univerInstanceService'],this[_0x54d679(0x380)],this['_memberService']):_0x386d0b=Ge(this[_0x54d679(0x421)],this[_0x54d679(0x2cd)],this[_0x54d679(0x497)],this[_0x54d679(0x380)],this['_memberService']);break;}default:throw new Error(_0x54d679(0x425)+this[_0x54d679(0x19e)]+'\x20in\x20_schedule.');}const {changeset:_0x4fb9a6,pendingMutations:_0x26c8a2}=_0x386d0b;this[_0x54d679(0x2ff)][_0x54d679(0x30f)](_0x4fb9a6);const _0x69767e=_0x26c8a2[_0x54d679(0x371)]?this[_0x54d679(0x4f8)][_0x54d679(0x22d)](exports['AwaitingWithPendingState'],this[_0x54d679(0x2cd)],this[_0x54d679(0x19e)],_0x4fb9a6,_0x26c8a2,this[_0x54d679(0x2ff)],void 0x0):this[_0x54d679(0x4f8)][_0x54d679(0x22d)](exports[_0x54d679(0x29f)],this[_0x54d679(0x2cd)],this[_0x54d679(0x19e)],_0x4fb9a6,this['_handler']);_0x69767e['_updateLocalCache'](),this[_0x54d679(0x2ff)][_0x54d679(0x17f)](this,_0x69767e);},_0x584e47);}['_getSendChangesetTimeout'](){var _0x477eec=_0x10f867,_0x32abdd;const _0x18dae8=this[_0x477eec(0x22b)][_0x477eec(0x345)](Y);return(_0x32abdd=_0x18dae8==null?void 0x0:_0x18dae8[_0x477eec(0x1d4)])!=null?_0x32abdd:At;}[_0x10f867(0x469)](){var _0x406873=_0x10f867;throw new Error(_0x406873(0x319));}[_0x10f867(0x2d1)](){var _0x780ddf=_0x10f867;this[_0x780ddf(0x47a)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x780ddf(0x47a)]=null);}[_0x10f867(0x416)](_0xd25597){var _0x30fa14=_0x10f867;return this[_0x30fa14(0x2d1)](),this[_0x30fa14(0x4f8)][_0x30fa14(0x22d)](exports[_0x30fa14(0x35f)],this[_0x30fa14(0x2cd)],this[_0x30fa14(0x19e)],null,this[_0x30fa14(0x421)],this[_0x30fa14(0x2ff)],_0xd25597);}},exports['PendingState']=ae([L(0x4,o['Inject'](o['Injector'])),L(0x5,o[_0x10f867(0x225)](E[_0x10f867(0x279)])),L(0x6,o['Inject'](exports[_0x10f867(0x215)])),L(0x7,o[_0x10f867(0x4f6)]),L(0x8,o[_0x10f867(0x374)]),L(0x9,o['IConfigService']),L(0xa,E[_0x10f867(0x297)]),L(0xb,o[_0x10f867(0x470)]),L(0xc,o[_0x10f867(0x4f9)]),L(0xd,o[_0x10f867(0x244)](q))],exports[_0x10f867(0x3a1)]),exports[_0x10f867(0x29f)]=class extends oe{constructor(_0xeba57d,_0x1d9222,_0x2f5af7,_0xfc7272,_0x2a75a7,_0x207c8d,_0x5be193,_0x37dc17,_0x4be111,_0x421320,_0x995a18){var _0x2e6315=_0x10f867;super(_0xeba57d,_0x1d9222,_0x2f5af7,[],_0xfc7272,_0x5be193,_0x421320,_0x207c8d,_0x995a18),A(this,_0x2e6315(0x224),_0x2e6315(0x3dd)),A(this,_0x2e6315(0x454),0x0),A(this,'_maxTotalRetryTimeout',0x0),A(this,'_resendTimer'),A(this,_0x2e6315(0x415)),(this['_injector']=_0x2a75a7,this[_0x2e6315(0x280)]=_0x37dc17,this['_transformService']=_0x4be111);}[_0x10f867(0x1a4)](_0x1217fe){var _0x300078=_0x10f867;this[_0x300078(0x2d1)]();const _0x4fe5e1=this[_0x300078(0x4f8)][_0x300078(0x22d)](exports[_0x300078(0x4c5)],this[_0x300078(0x2cd)],this[_0x300078(0x19e)],this['_awaitingChangeset'],[_0x1217fe],this[_0x300078(0x2ff)],this['_resendTimer']);return _0x4fe5e1[_0x300078(0x49e)](),_0x4fe5e1;}['onRemoteChangeset'](_0x3bafd3){var _0x1e6ccb=_0x10f867;if(this[_0x1e6ccb(0x2a3)](_0x3bafd3))return this[_0x1e6ccb(0x2d1)](),this[_0x1e6ccb(0x4f8)][_0x1e6ccb(0x22d)](exports[_0x1e6ccb(0x201)],this[_0x1e6ccb(0x2cd)],this[_0x1e6ccb(0x19e)],this[_0x1e6ccb(0x3b6)],[],null,[_0x3bafd3],this[_0x1e6ccb(0x2ff)]);try{const _0x2a58a0=this['_transformService'][_0x1e6ccb(0x1de)]([_0x3bafd3],[this['_awaitingChangeset']],!0x1);if(E[_0x1e6ccb(0x34d)](_0x2a58a0)){const {c1Prime:_0x234b64,c2Prime:_0x289c8b}=_0x2a58a0;this[_0x1e6ccb(0x1a5)](_0x234b64[0x0]),_0x289c8b[0x0][_0x1e6ccb(0x32b)]=this[_0x1e6ccb(0x1d9)](),this[_0x1e6ccb(0x2d1)]();const _0x18a025=this[_0x1e6ccb(0x4f8)]['createInstance'](exports[_0x1e6ccb(0x29f)],this[_0x1e6ccb(0x2cd)],this[_0x1e6ccb(0x19e)],_0x289c8b[0x0],this[_0x1e6ccb(0x2ff)]);return _0x18a025['_updateLocalCache'](),_0x18a025;}return this[_0x1e6ccb(0x416)](!0x1);}catch(_0x57ca6f){return this[_0x1e6ccb(0x280)][_0x1e6ccb(0x3a8)](_0x57ca6f),this[_0x1e6ccb(0x416)](!0x1);}}[_0x10f867(0x349)](_0x17f31b){var _0x39d8ee=_0x10f867;this[_0x39d8ee(0x2d1)]();const _0x1afecd=this[_0x39d8ee(0x380)][_0x39d8ee(0x1b4)](this[_0x39d8ee(0x2cd)]);if(_0x17f31b[_0x39d8ee(0x357)]<_0x1afecd-0x1)return this;if(this[_0x39d8ee(0x2a3)](_0x17f31b))return this[_0x39d8ee(0x4f8)][_0x39d8ee(0x22d)](exports[_0x39d8ee(0x201)],this[_0x39d8ee(0x2cd)],this[_0x39d8ee(0x19e)],null,[],this[_0x39d8ee(0x3b6)],[],this[_0x39d8ee(0x2ff)]);this['_incrementRevisionNumber']();const _0x116325=this[_0x39d8ee(0x4f8)][_0x39d8ee(0x22d)](exports[_0x39d8ee(0x4b4)],this[_0x39d8ee(0x2cd)],this[_0x39d8ee(0x19e)],this[_0x39d8ee(0x2ff)]);return _0x116325[_0x39d8ee(0x49e)](),_0x116325;}[_0x10f867(0x3f8)](_0x4eaac7){var _0x4716c2=_0x10f867;return this[_0x4716c2(0x416)](!!(_0x4eaac7!=null&&_0x4eaac7[_0x4716c2(0x2f5)]));}[_0x10f867(0x29b)](_0x4e26a4){var _0x172f5d=_0x10f867;return this['_maxTotalRetryTimeout']>ft?this['toggleOffline']():(this[_0x172f5d(0x3cd)]=St(this[_0x172f5d(0x454)],{'timeout':this[_0x172f5d(0x454)],'reqId':_0x4e26a4['reqId']}),this[_0x172f5d(0x415)]=this[_0x172f5d(0x3cd)][_0x172f5d(0x34a)](({reqId:_0x3aed05,timeout:_0xb8371f})=>{this['_resendWithTimeout'](_0x3aed05,_0xb8371f);}),this);}[_0x10f867(0x4f1)](){var _0x14d9e9=_0x10f867;return this[_0x14d9e9(0x2d1)](),this[_0x14d9e9(0x4f8)][_0x14d9e9(0x22d)](exports[_0x14d9e9(0x2eb)],this['unitID'],this['type'],this['_awaitingChangeset'],[],this[_0x14d9e9(0x2ff)]);}[_0x10f867(0x4f4)](){return this;}[_0x10f867(0x469)](){var _0x420723=_0x10f867;this[_0x420723(0x2ff)][_0x420723(0x30f)](this[_0x420723(0x3b6)]);}[_0x10f867(0x416)](_0x21fdb4){var _0x2ef4c2=_0x10f867;return this['_clearScheduledTask'](),this[_0x2ef4c2(0x4f8)][_0x2ef4c2(0x22d)](exports[_0x2ef4c2(0x35f)],this[_0x2ef4c2(0x2cd)],this[_0x2ef4c2(0x19e)],this[_0x2ef4c2(0x3b6)],[],this[_0x2ef4c2(0x2ff)],_0x21fdb4);}[_0x10f867(0x29c)](_0x119976,_0x2dad8d){var _0x7b33e1=_0x10f867,_0x11d0ef;_0x119976===((_0x11d0ef=this[_0x7b33e1(0x3b6)])==null?void 0x0:_0x11d0ef[_0x7b33e1(0x30e)])&&(this[_0x7b33e1(0x469)](),this['_resendTimeout']=_0x2dad8d===0x0?0x3e8:Math[_0x7b33e1(0x3df)](_0x2dad8d*0x2,It),this[_0x7b33e1(0x20b)]+=this[_0x7b33e1(0x454)]);}[_0x10f867(0x2d1)](){var _0x5e410d=_0x10f867,_0x2c3e28;(_0x2c3e28=this[_0x5e410d(0x415)])==null||_0x2c3e28['unsubscribe'](),this[_0x5e410d(0x454)]=0x0,this['_maxTotalRetryTimeout']=0x0;}},exports[_0x10f867(0x29f)]=ae([L(0x4,o[_0x10f867(0x225)](o['Injector'])),L(0x5,o[_0x10f867(0x225)](E['RevisionService'])),L(0x6,o[_0x10f867(0x374)]),L(0x7,o[_0x10f867(0x4f6)]),L(0x8,E[_0x10f867(0x297)]),L(0x9,o[_0x10f867(0x4f9)]),L(0xa,o[_0x10f867(0x244)](q))],exports[_0x10f867(0x29f)]),exports[_0x10f867(0x4c5)]=class extends oe{constructor(_0xb90075,_0x23f3d4,_0x2cf6d8,_0x30fe29,_0x27a6ba,_0x3b077e,_0x2c05c5,_0x313595,_0x3c3a4c,_0x32244b,_0x376986,_0x29b01d,_0x105e68){var _0x52412c=_0x10f867;super(_0xb90075,_0x23f3d4,_0x2cf6d8,_0x30fe29,_0x27a6ba,_0x3c3a4c,_0x29b01d,_0x313595,_0x105e68),A(this,_0x52412c(0x224),'awaiting_with_pending'),A(this,'_resendTimeout',0x0),A(this,_0x52412c(0x20b),0x0),A(this,_0x52412c(0x3cd)),A(this,_0x52412c(0x415)),(this[_0x52412c(0x4f8)]=_0x2c05c5,this[_0x52412c(0x280)]=_0x32244b,this[_0x52412c(0x33c)]=_0x376986,this[_0x52412c(0x426)]=_0x105e68,_0x3b077e&&(this[_0x52412c(0x3cd)]=_0x3b077e,this['_sender']=this[_0x52412c(0x3cd)]['subscribe'](({reqId:_0x49f234,timeout:_0x1a55f1})=>{var _0x310254=_0x52412c;this[_0x310254(0x29c)](_0x49f234,_0x1a55f1);})));}[_0x10f867(0x1a4)](_0x58c2bd){var _0x413cef=_0x10f867;return this[_0x413cef(0x421)]['push'](_0x58c2bd),this;}['onRemoteChangeset'](_0x47a63d){var _0x593198=_0x10f867;if(this['_checkMissing'](_0x47a63d))return this[_0x593198(0x2d1)](),this[_0x593198(0x4f8)][_0x593198(0x22d)](exports[_0x593198(0x201)],this[_0x593198(0x2cd)],this[_0x593198(0x19e)],this[_0x593198(0x3b6)],this[_0x593198(0x421)],null,[_0x47a63d],this[_0x593198(0x2ff)]);try{const _0x4c1818=this[_0x593198(0x33c)][_0x593198(0x1de)]([_0x47a63d],[this[_0x593198(0x3b6)]],!0x1);if(E[_0x593198(0x34d)](_0x4c1818)){const {c1Prime:_0x2b2105,c2Prime:_0x1453d7}=_0x4c1818,_0x1daa05=this[_0x593198(0x33c)][_0x593198(0x4da)](_0x2b2105[0x0],this['_pendingMutations']);if(E['isTransformMutationsWithChangesetSuccess'](_0x1daa05)){const {c1Prime:_0x289a68,m2Prime:_0x219604}=_0x1daa05;return this['_executeRemoteChangeset'](_0x289a68),_0x1453d7[0x0][_0x593198(0x32b)]=this[_0x593198(0x1d9)](),this[_0x593198(0x2d1)](),this[_0x593198(0x4f8)][_0x593198(0x22d)](exports[_0x593198(0x4c5)],this[_0x593198(0x2cd)],this[_0x593198(0x19e)],_0x1453d7[0x0],_0x219604,this[_0x593198(0x2ff)],void 0x0);}throw _0x1daa05[_0x593198(0x3a8)];}throw _0x4c1818['error'];}catch(_0x3b2514){return this[_0x593198(0x280)]['error'](_0x3b2514),this[_0x593198(0x416)](!0x1);}}[_0x10f867(0x349)](_0x2633e9){var _0xe4265b=_0x10f867;if(this[_0xe4265b(0x2d1)](),this['_checkMissing'](_0x2633e9))return this[_0xe4265b(0x4f8)][_0xe4265b(0x22d)](exports[_0xe4265b(0x201)],this[_0xe4265b(0x2cd)],this[_0xe4265b(0x19e)],null,this[_0xe4265b(0x421)],this[_0xe4265b(0x3b6)],[],this[_0xe4265b(0x2ff)]);this[_0xe4265b(0x2c1)]();const _0x24300c=this[_0xe4265b(0x4f8)][_0xe4265b(0x22d)](exports[_0xe4265b(0x3a1)],this[_0xe4265b(0x2cd)],this['type'],this[_0xe4265b(0x421)],this['_handler']);return _0x24300c[_0xe4265b(0x1c9)](),_0x24300c[_0xe4265b(0x49e)](),_0x24300c;}[_0x10f867(0x3f8)](_0x1f7768){var _0x396d45=_0x10f867;return this['_onConflict'](!!(_0x1f7768!=null&&_0x1f7768[_0x396d45(0x2f5)]));}['onRemoteRetry'](_0xcedf07){var _0x338015=_0x10f867;return this[_0x338015(0x20b)]>ft?this[_0x338015(0x4f1)]():(this[_0x338015(0x3cd)]=St(this[_0x338015(0x454)],{'timeout':this[_0x338015(0x454)],'reqId':_0xcedf07['reqId']}),this[_0x338015(0x415)]=this[_0x338015(0x3cd)][_0x338015(0x34a)](({reqId:_0x2e08a5,timeout:_0x17dfc8})=>{var _0x140d85=_0x338015;this[_0x140d85(0x29c)](_0x2e08a5,_0x17dfc8);}),this);}['toggleOffline'](){var _0x44a33c=_0x10f867;return this[_0x44a33c(0x2d1)](),this[_0x44a33c(0x4f8)][_0x44a33c(0x22d)](exports[_0x44a33c(0x2eb)],this[_0x44a33c(0x2cd)],this[_0x44a33c(0x19e)],this['_awaitingChangeset'],this[_0x44a33c(0x421)],this[_0x44a33c(0x2ff)]);}[_0x10f867(0x4f4)](){return this;}['resend'](){var _0x40f340=_0x10f867;this[_0x40f340(0x2ff)][_0x40f340(0x30f)](this[_0x40f340(0x3b6)]);}[_0x10f867(0x416)](_0x5572c6){var _0x705d49=_0x10f867;return this[_0x705d49(0x2d1)](),this['_injector'][_0x705d49(0x22d)](exports[_0x705d49(0x35f)],this[_0x705d49(0x2cd)],this['type'],null,this[_0x705d49(0x421)],this['_handler'],_0x5572c6);}['_resendWithTimeout'](_0x14bbf8,_0x314578){var _0x167cf6=_0x10f867,_0x258618;_0x14bbf8===((_0x258618=this['_awaitingChangeset'])==null?void 0x0:_0x258618['reqId'])&&(this['resend'](),this[_0x167cf6(0x454)]=_0x314578===0x0?0x3e8:Math[_0x167cf6(0x3df)](_0x314578*0x2,It),this[_0x167cf6(0x20b)]+=this[_0x167cf6(0x454)]);}[_0x10f867(0x2d1)](){var _0x2cd995=_0x10f867,_0xee28e1;(_0xee28e1=this[_0x2cd995(0x415)])==null||_0xee28e1[_0x2cd995(0x46c)](),this[_0x2cd995(0x454)]=0x0,this['_maxTotalRetryTimeout']=0x0;}},exports['AwaitingWithPendingState']=ae([L(0x6,o[_0x10f867(0x225)](o[_0x10f867(0x2c4)])),L(0x7,o[_0x10f867(0x225)](E[_0x10f867(0x279)])),L(0x8,o[_0x10f867(0x374)]),L(0x9,o[_0x10f867(0x4f6)]),L(0xa,E[_0x10f867(0x297)]),L(0xb,o['IUndoRedoService']),L(0xc,o[_0x10f867(0x244)](q))],exports[_0x10f867(0x4c5)]),exports[_0x10f867(0x35f)]=class extends oe{constructor(_0x3f2e91,_0x36989f,_0x868323,_0x4b6672,_0x299480,_0xfcdd5=!0x1,_0x52f619,_0x342dc9,_0x1a2ea5,_0x3d5612,_0xb80cd,_0x1b218a,_0x2eae6f){var _0x52ed48=_0x10f867;super(_0x3f2e91,_0x36989f,_0x868323,_0x4b6672,_0x299480,_0x342dc9,_0x1a2ea5,_0x3d5612,_0x2eae6f),A(this,_0x52ed48(0x224),_0x52ed48(0x4cb)),(this[_0x52ed48(0x270)]=_0xfcdd5,this[_0x52ed48(0x4f0)]=_0x52f619,this['_localeService']=_0xb80cd,this[_0x52ed48(0x336)]=_0x1b218a,this['localCacheService']=_0x2eae6f,this[_0x52ed48(0x2ca)](),this[_0x52ed48(0x4a7)](),this['_disableEditing']());}[_0x10f867(0x1a4)](){return this;}[_0x10f867(0x4c3)](){return this;}[_0x10f867(0x349)](){return this;}[_0x10f867(0x3f8)](){return this;}['onRemoteRetry'](){return this;}[_0x10f867(0x4f1)](){return this;}['toggleOnline'](){return this;}[_0x10f867(0x469)](){var _0x1706d2=_0x10f867;throw new Error(_0x1706d2(0x4de));}['_clearLocalCache'](){var _0x198463=_0x10f867,_0x381776;(_0x381776=this[_0x198463(0x2de)])==null||_0x381776[_0x198463(0x1a8)](this['unitID'],this[_0x198463(0x19e)],null,[]);}[_0x10f867(0x2ca)](){var _0x260388=_0x10f867;this['_isPermissionRej']?this[_0x260388(0x336)][_0x260388(0x3e2)]({'id':J['PERMISSION_DENIED']}):this['_collaborationUIEventService'][_0x260388(0x3e2)]({'id':J[_0x260388(0x3e6)]});}[_0x10f867(0x223)](){var _0x43d0f4=_0x10f867;this['_permissionService'][_0x43d0f4(0x2fc)](new Q[(_0x43d0f4(0x3c6))](this[_0x43d0f4(0x2cd)])['id'],!0x1);}},exports[_0x10f867(0x35f)]=ae([L(0x6,o['Inject'](o[_0x10f867(0x36a)])),L(0x7,o['ICommandService']),L(0x8,o[_0x10f867(0x4f9)]),L(0x9,o[_0x10f867(0x225)](E[_0x10f867(0x279)])),L(0xa,o[_0x10f867(0x225)](o[_0x10f867(0x1ac)])),L(0xb,o[_0x10f867(0x225)](ee)),L(0xc,o[_0x10f867(0x244)](q))],exports['ConflictState']),exports[_0x10f867(0x2eb)]=class extends oe{constructor(_0x1145c4,_0x5441a5,_0x10c326,_0x29bb70,_0x118721,_0x357377,_0x29df13,_0x31eb7d,_0x12eaba,_0x45c704){var _0x4f42c4=_0x10f867;super(_0x1145c4,_0x5441a5,_0x10c326,_0x29bb70,_0x118721,_0x31eb7d,_0x12eaba,_0x29df13,_0x45c704),A(this,_0x4f42c4(0x224),_0x4f42c4(0x45e)),this[_0x4f42c4(0x4f8)]=_0x357377;}['appendMutation'](_0x1efec6){var _0x166f08=_0x10f867;return this[_0x166f08(0x421)][_0x166f08(0x24d)](_0x1efec6),this['_updateLocalCache'](),this;}[_0x10f867(0x4c3)](_0x1a970c){var _0x5318cb=_0x10f867;throw new Error(_0x5318cb(0x24c));}[_0x10f867(0x349)](){var _0x4ca91b=_0x10f867;throw new Error(_0x4ca91b(0x251));}[_0x10f867(0x3f8)](){var _0x524323=_0x10f867;throw new Error(_0x524323(0x32d));}['onRemoteRetry'](){return this;}[_0x10f867(0x4f1)](){return this;}[_0x10f867(0x4f4)](){var _0x3f43e7=_0x10f867;const {_injector:_0x2d2a4c,_pendingMutations:_0x1186f8,_awaitingChangeset:_0x1b8d65,unitID:_0x2d5ee6,_handler:_0x4a1344,type:_0x5a3ea2}=this,_0x22fad7=Et(_0x2d2a4c,_0x2d5ee6,_0x5a3ea2,_0x1b8d65,_0x1186f8,_0x4a1344);return _0x22fad7 instanceof exports[_0x3f43e7(0x3a1)]?_0x22fad7[_0x3f43e7(0x1c9)]():(_0x22fad7 instanceof exports[_0x3f43e7(0x4c5)]||_0x22fad7 instanceof exports[_0x3f43e7(0x29f)])&&_0x22fad7[_0x3f43e7(0x469)](),_0x22fad7;}[_0x10f867(0x469)](){var _0x1b196f=_0x10f867;throw new Error(_0x1b196f(0x409));}},exports[_0x10f867(0x2eb)]=ae([L(0x5,o[_0x10f867(0x225)](o[_0x10f867(0x2c4)])),L(0x6,o[_0x10f867(0x225)](E['RevisionService'])),L(0x7,o[_0x10f867(0x374)]),L(0x8,o[_0x10f867(0x4f9)]),L(0x9,o['Optional'](q))],exports['OfflineState']),exports[_0x10f867(0x201)]=class extends oe{constructor(_0x598812,_0x305c55,_0x3b6e20,_0x186093,_0x43395c,_0x13df7d,_0x2cd2af,_0x3d286d,_0x1d3381,_0x495360,_0x4acbf0,_0x54092f,_0x290bef,_0xd39896){var _0x156acc=_0x10f867;super(_0x598812,_0x305c55,_0x3b6e20,_0x186093,_0x2cd2af,_0x4acbf0,_0x54092f,_0x1d3381,_0xd39896),A(this,_0x156acc(0x224),_0x156acc(0x310)),(this[_0x156acc(0x412)]=_0x43395c,this[_0x156acc(0x1a6)]=_0x13df7d,this['_injector']=_0x3d286d,this[_0x156acc(0x280)]=_0x495360,this[_0x156acc(0x33c)]=_0x290bef,this[_0x156acc(0x426)]=_0xd39896);}[_0x10f867(0x39f)](_0x5c0452){var _0x4fa2e5=_0x10f867;try{const _0x554eb7=[..._0x5c0452,...this[_0x4fa2e5(0x1a6)]],_0x2f2446=[this['_awaitingChangeset']||this[_0x4fa2e5(0x412)]]['filter'](_0x33aa5d=>!!_0x33aa5d);let _0x32f332,_0x5d692b;if(_0x2f2446[_0x4fa2e5(0x371)]){const _0x24052f=this['_transformService'][_0x4fa2e5(0x1de)](_0x554eb7,_0x2f2446,!0x1);if(!E['isTransformChangesetsSuccess'](_0x24052f))throw _0x24052f[_0x4fa2e5(0x3a8)];_0x32f332=_0x24052f[_0x4fa2e5(0x1a3)],_0x5d692b=_0x24052f[_0x4fa2e5(0x47f)];}else _0x32f332=_0x554eb7,_0x5d692b=[];let _0x561185=this[_0x4fa2e5(0x421)];_0x32f332[_0x4fa2e5(0x35b)](_0x5b436f=>{var _0x31a1d2=_0x4fa2e5;let _0x5a94af;if(_0x561185[_0x31a1d2(0x371)]){const _0x2b9534=this['_transformService']['transformMutationsWithChangeset'](_0x5b436f,_0x561185);if(!E[_0x31a1d2(0x25a)](_0x2b9534))throw _0x2b9534[_0x31a1d2(0x3a8)];_0x5a94af=_0x2b9534['c1Prime'],_0x561185=_0x2b9534[_0x31a1d2(0x323)];}else _0x5a94af=_0x5b436f;this['_executeRemoteChangeset'](_0x5a94af);}),this[_0x4fa2e5(0x412)]&&this[_0x4fa2e5(0x2c1)](),this[_0x4fa2e5(0x3b6)]&&_0x5d692b[_0x4fa2e5(0x371)]&&(_0x5d692b[0x0][_0x4fa2e5(0x32b)]=this[_0x4fa2e5(0x1d9)]());let _0x1430e1;if(this[_0x4fa2e5(0x3b6)]&&_0x561185[_0x4fa2e5(0x371)]!==0x0)_0x1430e1=this[_0x4fa2e5(0x4f8)][_0x4fa2e5(0x22d)](exports[_0x4fa2e5(0x4c5)],this[_0x4fa2e5(0x2cd)],this[_0x4fa2e5(0x19e)],_0x5d692b[0x0],_0x561185,this[_0x4fa2e5(0x2ff)],void 0x0);else{if(this[_0x4fa2e5(0x3b6)]&&_0x561185[_0x4fa2e5(0x371)]===0x0)_0x5d692b[0x0][_0x4fa2e5(0x32b)]=this['_getCurrentRevision'](),_0x1430e1=this[_0x4fa2e5(0x4f8)][_0x4fa2e5(0x22d)](exports[_0x4fa2e5(0x29f)],this[_0x4fa2e5(0x2cd)],this[_0x4fa2e5(0x19e)],_0x5d692b[0x0],this[_0x4fa2e5(0x2ff)]);else{if(_0x561185[_0x4fa2e5(0x371)]!==0x0){const _0x5b8c04=this[_0x4fa2e5(0x4f8)]['createInstance'](exports[_0x4fa2e5(0x3a1)],this[_0x4fa2e5(0x2cd)],this[_0x4fa2e5(0x19e)],_0x561185,this[_0x4fa2e5(0x2ff)]);_0x5b8c04['_schedule'](),_0x1430e1=_0x5b8c04;}else _0x1430e1=this[_0x4fa2e5(0x4f8)][_0x4fa2e5(0x22d)](exports[_0x4fa2e5(0x4b4)],this['unitID'],this['type'],this[_0x4fa2e5(0x2ff)]);}}return _0x1430e1[_0x4fa2e5(0x49e)](),_0x1430e1;}catch(_0x35ddce){return this[_0x4fa2e5(0x280)][_0x4fa2e5(0x3a8)]('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x35ddce),this[_0x4fa2e5(0x4f8)][_0x4fa2e5(0x22d)](exports['ConflictState'],this['unitID'],this['type'],this[_0x4fa2e5(0x3b6)],this[_0x4fa2e5(0x421)],this['_handler'],!0x1);}}[_0x10f867(0x469)](){var _0x14255e=_0x10f867;throw new Error(_0x14255e(0x3eb));}['appendMutation'](_0x2733c4){var _0x133b3a=_0x10f867;return this['_pendingMutations'][_0x133b3a(0x24d)](_0x2733c4),this;}[_0x10f867(0x4c3)](_0x264d37){var _0x3d287c=_0x10f867;return this[_0x3d287c(0x1a6)][_0x3d287c(0x24d)](_0x264d37),this;}[_0x10f867(0x349)](_0x53de75){var _0x292876=_0x10f867;if(this[_0x292876(0x3b6)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x292876(0x3b6)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x10f867(0x3f8)](_0x4234ec){var _0x269aff=_0x10f867;return this[_0x269aff(0x416)](!!(_0x4234ec!=null&&_0x4234ec['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x10f867(0x4f1)](){var _0x401415=_0x10f867;return this[_0x401415(0x4f8)][_0x401415(0x22d)](exports[_0x401415(0x2eb)],this[_0x401415(0x2cd)],this[_0x401415(0x19e)],this[_0x401415(0x3b6)],this['_pendingMutations'],this[_0x401415(0x2ff)]);}[_0x10f867(0x4f4)](){return this;}[_0x10f867(0x416)](_0xdcede4){var _0x380cd2=_0x10f867;return this['_injector']['createInstance'](exports[_0x380cd2(0x35f)],this[_0x380cd2(0x2cd)],this[_0x380cd2(0x19e)],this[_0x380cd2(0x3b6)],this['_pendingMutations'],this[_0x380cd2(0x2ff)],_0xdcede4);}},exports[_0x10f867(0x201)]=ae([L(0x7,o['Inject'](o[_0x10f867(0x2c4)])),L(0x8,o[_0x10f867(0x225)](E[_0x10f867(0x279)])),L(0x9,o[_0x10f867(0x4f6)]),L(0xa,o[_0x10f867(0x374)]),L(0xb,o['IUndoRedoService']),L(0xc,E[_0x10f867(0x297)]),L(0xd,o[_0x10f867(0x244)](q))],exports[_0x10f867(0x201)]);function Et(_0x353952,_0x353a29,_0x546907,_0x377538,_0x15b684,_0x2702da){var _0x4dfd0f=_0x10f867;return _0x377538&&_0x15b684[_0x4dfd0f(0x371)]?_0x353952[_0x4dfd0f(0x22d)](exports[_0x4dfd0f(0x4c5)],_0x353a29,_0x546907,_0x377538,_0x15b684,_0x2702da,void 0x0):_0x377538?_0x353952['createInstance'](exports['AwaitingState'],_0x353a29,_0x546907,_0x377538,_0x2702da):_0x15b684['length']?_0x353952[_0x4dfd0f(0x22d)](exports[_0x4dfd0f(0x3a1)],_0x353a29,_0x546907,_0x15b684,_0x2702da):_0x353952[_0x4dfd0f(0x22d)](exports[_0x4dfd0f(0x4b4)],_0x353a29,_0x546907,_0x2702da);}var si=Object[_0x10f867(0x509)],Be=(_0x45bc93,_0x38ae26,_0x2bac05,_0x125592)=>{for(var _0x26e26b=_0x125592>0x1?void 0x0:_0x125592?si(_0x38ae26,_0x2bac05):_0x38ae26,_0xf0406a=_0x45bc93['length']-0x1,_0x3fdd59;_0xf0406a>=0x0;_0xf0406a--)(_0x3fdd59=_0x45bc93[_0xf0406a])&&(_0x26e26b=_0x3fdd59(_0x26e26b)||_0x26e26b);return _0x26e26b;},$=(_0x2ddda4,_0x3c09cf)=>(_0x20d7ae,_0x2e523b)=>_0x3c09cf(_0x20d7ae,_0x2e523b,_0x2ddda4);exports['CollaborationEntity']=class extends o[_0x10f867(0x2d8)]{constructor(_0x2f8cb2,_0x59e89b,_0x1a06d9,_0x2d6043,_0x414eea,_0x23184d,_0x92ded2,_0x40963e,_0x1b5be5,_0x28d081,_0x4155f9,_0x2d58dd,_0x5e179b,_0x229357){var _0x5b408f=_0x10f867;super(),A(this,_0x5b408f(0x4ee),new j[(_0x5b408f(0x1da))](null)),A(this,_0x5b408f(0x198),this[_0x5b408f(0x4ee)][_0x5b408f(0x440)]()),A(this,_0x5b408f(0x45a)),A(this,_0x5b408f(0x253),!0x1),A(this,_0x5b408f(0x2fb),''),A(this,_0x5b408f(0x2e3),0x0),A(this,_0x5b408f(0x40a),this[_0x5b408f(0x198)][_0x5b408f(0x4e4)](j[_0x5b408f(0x25e)](_0x3a6eea=>_0x3a6eea?_0x3a6eea['status']:je[_0x5b408f(0x2ef)]),j[_0x5b408f(0x1f6)](0x1))),A(this,'_transitionLocked',!0x1),A(this,_0x5b408f(0x2dc),[]),(this['unitID']=_0x2f8cb2,this[_0x5b408f(0x4bc)]=_0x59e89b,this[_0x5b408f(0x316)]=_0x1a06d9,this[_0x5b408f(0x4f8)]=_0x2d6043,this['_compressMutationService']=_0x414eea,this['_localeService']=_0x23184d,this[_0x5b408f(0x380)]=_0x92ded2,this[_0x5b408f(0x45b)]=_0x40963e,this[_0x5b408f(0x497)]=_0x1b5be5,this[_0x5b408f(0x280)]=_0x28d081,this['_commandService']=_0x4155f9,this[_0x5b408f(0x4f0)]=_0x2d58dd,this['_singleActiveUnitService']=_0x5e179b,this['_localCacheService']=_0x229357);}get[_0x10f867(0x1f1)](){var _0x331b2c=_0x10f867;return this[_0x331b2c(0x45a)];}async['init'](){var _0x42ea6d=_0x10f867;if(this[_0x42ea6d(0x1f1)])throw new Error(_0x42ea6d(0x30c));await this['_init']();}[_0x10f867(0x2af)](){var _0x16ca64=_0x10f867;return this[_0x16ca64(0x253)]=!0x0,o[_0x16ca64(0x483)](()=>{var _0x5a592f=_0x16ca64;this[_0x5a592f(0x253)]=!0x1,this[_0x5a592f(0x466)]();});}[_0x10f867(0x180)](_0x37b48a){var _0x120aee=_0x10f867;this[_0x120aee(0x359)](_0x37b48a);}[_0x10f867(0x27c)](_0x5351b0){var _0x530c80=_0x10f867;this[_0x530c80(0x45a)]=_0x5351b0,this['_state$'][_0x530c80(0x19d)](_0x5351b0);}async[_0x10f867(0x358)](){var _0x37dae4=_0x10f867,_0x3cc382;this[_0x37dae4(0x27c)](await this[_0x37dae4(0x26d)]()),this[_0x37dae4(0x492)]&&((_0x3cc382=this[_0x37dae4(0x492)])==null||_0x3cc382['editingUnit'](this['unitID']),this[_0x37dae4(0x241)](this[_0x37dae4(0x492)][_0x37dae4(0x389)](this[_0x37dae4(0x2cd)])[_0x37dae4(0x34a)](_0x22bb94=>{var _0x55bde4=_0x37dae4;this[_0x55bde4(0x280)]['debug'](_0x55bde4(0x3f1),_0x55bde4(0x1ef),_0x22bb94),_0x22bb94===He[_0x55bde4(0x25f)]?(this[_0x55bde4(0x45b)][_0x55bde4(0x3e2)]({'id':J['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x55bde4(0x2fc)](new Q[(_0x55bde4(0x3c6))](this[_0x55bde4(0x2cd)])['id'],!0x1),this[_0x55bde4(0x4f0)][_0x55bde4(0x30d)](!0x1)):(this[_0x55bde4(0x4f0)]['updatePermissionPoint'](new Q['WorkbookEditablePermission'](this[_0x55bde4(0x2cd)])['id'],!0x0),this[_0x55bde4(0x4f0)][_0x55bde4(0x30d)](!0x0));})));let _0x1ce194=!0x1;return this[_0x37dae4(0x241)](this[_0x37dae4(0x4bc)][_0x37dae4(0x191)][_0x37dae4(0x34a)](_0x3b43ca=>{var _0x49887b=_0x37dae4;_0x3b43ca===se[_0x49887b(0x1fb)]?this[_0x49887b(0x431)](_0x1ce194):_0x3b43ca===se[_0x49887b(0x2ef)]&&(_0x1ce194=!0x0,this['_toggleOffline']());})),this[_0x37dae4(0x241)](this[_0x37dae4(0x4bc)][_0x37dae4(0x48b)][_0x37dae4(0x34a)](_0x3bcafe=>{var _0x38872f=_0x37dae4;try{switch(_0x3bcafe[_0x38872f(0x2ad)]){case E[_0x38872f(0x481)][_0x38872f(0x478)]:{this[_0x38872f(0x2fd)](E[_0x38872f(0x331)](_0x3bcafe[_0x38872f(0x46b)]));break;}case E[_0x38872f(0x481)][_0x38872f(0x36b)]:{this[_0x38872f(0x259)](_0x3bcafe[_0x38872f(0x46b)]);break;}case E[_0x38872f(0x481)][_0x38872f(0x3e8)]:{this['_onRemoteRejected']();break;}case E[_0x38872f(0x481)][_0x38872f(0x3b9)]:{this[_0x38872f(0x300)](_0x3bcafe[_0x38872f(0x46b)]);break;}case E['CollaborationEvent'][_0x38872f(0x3d3)]:{this[_0x38872f(0x381)](_0x3bcafe[_0x38872f(0x46b)]['changesets'][_0x38872f(0x25e)](_0x151701=>E['parseProtocolChangeset'](_0x151701)));break;}case E[_0x38872f(0x481)][_0x38872f(0x2fa)]:{this[_0x38872f(0x2c7)]({'isPermissionRej':!0x0});break;}case E['CollaborationEvent'][_0x38872f(0x36d)]:break;}}catch(_0x69a6d8){throw console[_0x38872f(0x3a8)](_0x38872f(0x3d5),_0x69a6d8),_0x69a6d8;}})),this[_0x37dae4(0x45a)];}[_0x10f867(0x1ca)](){var _0x25f56e=_0x10f867;this[_0x25f56e(0x2e0)]=!0x1;}[_0x10f867(0x4c9)](){var _0x2c01ed=_0x10f867;if(this['_transitionLocked'])throw new Error(_0x2c01ed(0x398));this[_0x2c01ed(0x2e0)]=!0x0;}[_0x10f867(0x359)](_0xf01d68){var _0x308e6e=_0x10f867;this['_lockTransition'](),this[_0x308e6e(0x27c)](this['_state'][_0x308e6e(0x1a4)](_0xf01d68)),this['_unlockTransition']();}[_0x10f867(0x2fd)](_0x12b175){var _0x3fbb90=_0x10f867;if(!(_0x12b175[_0x3fbb90(0x357)]<=this[_0x3fbb90(0x380)][_0x3fbb90(0x1b4)](this['unitID']))){if(this[_0x3fbb90(0x253)]){this['_remoteChangesetQueue']['push'](_0x12b175);return;}this[_0x3fbb90(0x2a9)](_0x12b175);}}['_exhaustRemoteChangesetQueue'](){var _0x5ebb8b=_0x10f867;this[_0x5ebb8b(0x2dc)]['forEach'](_0x116ef8=>this[_0x5ebb8b(0x2a9)](_0x116ef8)),this[_0x5ebb8b(0x2dc)]=[];}[_0x10f867(0x2a9)](_0x5f4ac7){var _0x5bc390=_0x10f867;const _0x24f36e=this[_0x5bc390(0x507)][_0x5bc390(0x428)][_0x5bc390(0x2c5)](this[_0x5bc390(0x507)][_0x5bc390(0x428)][_0x5bc390(0x44c)]()[_0x5bc390(0x2df)])(_0x5f4ac7[_0x5bc390(0x44e)],null)||_0x5f4ac7['mutations'],_0x20cc64={..._0x5f4ac7,'mutations':_0x24f36e};this[_0x5bc390(0x4c9)](),this['_updateState'](this['_state'][_0x5bc390(0x4c3)](_0x20cc64)),this[_0x5bc390(0x1ca)]();}['_onRemoteACK'](_0x184900){var _0x11a736=_0x10f867;this[_0x11a736(0x4c9)](),this[_0x11a736(0x27c)](this[_0x11a736(0x45a)]['onRemoteAck'](_0x184900)),this[_0x11a736(0x1ca)]();}[_0x10f867(0x2c7)](_0x2ea69b){var _0x5c7f5a=_0x10f867;this['_lockTransition'](),this[_0x5c7f5a(0x27c)](this['_state'][_0x5c7f5a(0x3f8)](_0x2ea69b)),this[_0x5c7f5a(0x1ca)]();}[_0x10f867(0x300)](_0x3aaa67){var _0x4659e3=_0x10f867;this[_0x4659e3(0x4c9)](),this[_0x4659e3(0x27c)](this[_0x4659e3(0x45a)]['onRemoteRetry'](_0x3aaa67)),this[_0x4659e3(0x1ca)]();}[_0x10f867(0x381)](_0x20fae3){var _0x55ebdd=_0x10f867;if(!(this['_state']instanceof exports[_0x55ebdd(0x201)]))throw new TypeError(_0x55ebdd(0x252));const _0x465754=_0x20fae3['map'](_0x32a127=>{var _0x1b8732=_0x55ebdd;const _0x51d3d9=this[_0x1b8732(0x507)][_0x1b8732(0x428)]['fetchThroughInterceptors'](this[_0x1b8732(0x507)]['interceptor'][_0x1b8732(0x44c)]()[_0x1b8732(0x2df)])(_0x32a127[_0x1b8732(0x44e)],null)||_0x32a127[_0x1b8732(0x44e)];return{..._0x32a127,'mutations':_0x51d3d9};});this['_lockTransition'](),this[_0x55ebdd(0x27c)](this[_0x55ebdd(0x45a)][_0x55ebdd(0x39f)](_0x465754)),this[_0x55ebdd(0x1ca)]();}[_0x10f867(0x42a)](){var _0x3590ee=_0x10f867;this[_0x3590ee(0x4c9)](),this[_0x3590ee(0x27c)](this[_0x3590ee(0x45a)][_0x3590ee(0x4f1)]()),this[_0x3590ee(0x1ca)]();}[_0x10f867(0x431)](_0x469ce2=!0x1){var _0x1efab6=_0x10f867;this[_0x1efab6(0x4c9)](),this['_updateState'](this['_state'][_0x1efab6(0x4f4)]()),this['_unlockTransition']();const _0x29d0c8=this[_0x1efab6(0x45a)];_0x469ce2&&_0x29d0c8 instanceof exports[_0x1efab6(0x4b4)]&&(this[_0x1efab6(0x4c9)](),this[_0x1efab6(0x27c)](_0x29d0c8[_0x1efab6(0x273)]()),this[_0x1efab6(0x1ca)]());}async[_0x10f867(0x26d)](){return new Promise(_0xf06c9d=>{var _0x27d0fd=_0x4aec;this[_0x27d0fd(0x4bc)][_0x27d0fd(0x191)]['pipe'](j[_0x27d0fd(0x257)](0x1))['subscribe'](async _0x9825f7=>{var _0x507d21=_0x27d0fd;_0xf06c9d(await this[_0x507d21(0x406)](_0x9825f7===se['ONLINE']));});});}[_0x10f867(0x190)](){var _0x9584f1=_0x10f867;const _0x2f00cc=this[_0x9584f1(0x2cd)];return{'onStateChange':(_0x23fe47,_0x4bf45a)=>{var _0x267181=_0x9584f1;if(_0x23fe47!==this[_0x267181(0x45a)])throw new Error(_0x267181(0x22e)+_0x23fe47[_0x267181(0x224)]+_0x267181(0x3bc)+_0x4bf45a[_0x267181(0x224)]+_0x267181(0x211)+this['_state']['status']);this['_updateState'](_0x4bf45a);},'onSendChangeset':_0x426e08=>{var _0x221e24=_0x9584f1;_0x426e08[_0x221e24(0x19a)]||(_0x426e08[_0x221e24(0x19a)]=this[_0x221e24(0x2fb)],_0x426e08[_0x221e24(0x30e)]=++this[_0x221e24(0x2e3)]);const _0x479aee={'eventID':E[_0x221e24(0x481)][_0x221e24(0x1c6)],'data':{'unitID':_0x426e08[_0x221e24(0x2cd)],'unitType':this[_0x221e24(0x316)],'changeset':_0x426e08,'memberID':this[_0x221e24(0x4bc)][_0x221e24(0x31f)]()}};this[_0x221e24(0x4bc)][_0x221e24(0x47d)](_0x479aee,this[_0x221e24(0x2cd)]);},'onMissingChangesets':({from:_0x1d726f,to:_0x94d2a0})=>{var _0xa655a5=_0x9584f1;this[_0xa655a5(0x280)][_0xa655a5(0x47e)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x1d726f+'\x20to\x20'+_0x94d2a0);const _0x343d05={'eventID':E[_0xa655a5(0x481)][_0xa655a5(0x25d)],'data':{'unitID':_0x2f00cc,'unitType':this[_0xa655a5(0x316)],'from':_0x1d726f,'to':_0x94d2a0}};this[_0xa655a5(0x4bc)][_0xa655a5(0x47d)](_0x343d05,this[_0xa655a5(0x2cd)]);}};}async[_0x10f867(0x406)](_0x50894f){var _0x5a6b37=_0x10f867,_0x3d749f,_0x4ee8df,_0x2ba7a8;const _0x4b84cb=await((_0x3d749f=this[_0x5a6b37(0x2de)])==null?void 0x0:_0x3d749f['loadOfflineData'](this[_0x5a6b37(0x2cd)])),_0x24deab=(_0x4ee8df=_0x4b84cb==null?void 0x0:_0x4b84cb[_0x5a6b37(0x44e)])!=null?_0x4ee8df:[],_0x31b217=(_0x2ba7a8=_0x4b84cb==null?void 0x0:_0x4b84cb['awaitingChangeset'])!=null?_0x2ba7a8:null,_0x4bd2c9=!!(_0x31b217!=null&&_0x31b217[_0x5a6b37(0x19a)])&&!!(_0x31b217!=null&&_0x31b217[_0x5a6b37(0x30e)]);this[_0x5a6b37(0x2fb)]=_0x4bd2c9?_0x31b217['sid']:E[_0x5a6b37(0x2e9)](),this[_0x5a6b37(0x2e3)]=_0x4bd2c9?_0x31b217[_0x5a6b37(0x30e)]:0x0;const _0x87c010=this['unitID'];try{this[_0x5a6b37(0x48a)](_0x31b217,_0x24deab);}catch(_0x3ed0cd){this[_0x5a6b37(0x280)][_0x5a6b37(0x3a8)](_0x3ed0cd);}const _0x82249e=this[_0x5a6b37(0x190)]();if(_0x50894f){const _0xb87a26=Et(this['_injector'],_0x87c010,this['_type'],_0x31b217,_0x24deab,_0x82249e);return _0xb87a26 instanceof exports[_0x5a6b37(0x3a1)]?_0xb87a26[_0x5a6b37(0x1c9)]():(_0xb87a26 instanceof exports['AwaitingWithPendingState']||_0xb87a26 instanceof exports[_0x5a6b37(0x29f)])&&_0xb87a26[_0x5a6b37(0x469)](),_0xb87a26;}return this['_injector']['createInstance'](exports[_0x5a6b37(0x2eb)],_0x87c010,this['_type'],_0x31b217,_0x24deab,_0x82249e);}[_0x10f867(0x48a)](_0x2762a4,_0x3861e9){var _0xe1abab=_0x10f867,_0x3b939d,_0x469e66;const _0x117d23=this[_0xe1abab(0x507)][_0xe1abab(0x428)][_0xe1abab(0x2c5)](this['_compressMutationService']['interceptor'][_0xe1abab(0x44c)]()['COMPRESS_MUTATION_APPLY']);(_0x3b939d=_0x117d23((_0x2762a4==null?void 0x0:_0x2762a4[_0xe1abab(0x44e)])||[],null))==null||_0x3b939d['forEach'](_0x531dda=>this[_0xe1abab(0x2ee)][_0xe1abab(0x238)](_0x531dda['id'],_0x531dda[_0xe1abab(0x32c)])),(_0x469e66=_0x117d23(_0x3861e9||[],null))==null||_0x469e66[_0xe1abab(0x35b)](_0x13c95b=>this['_commandService'][_0xe1abab(0x238)](_0x13c95b['id'],_0x13c95b[_0xe1abab(0x32c)]));}},exports[_0x10f867(0x30b)]=Be([$(0x3,o[_0x10f867(0x225)](o[_0x10f867(0x2c4)])),$(0x4,o[_0x10f867(0x225)](E[_0x10f867(0x23c)])),$(0x5,o[_0x10f867(0x225)](o[_0x10f867(0x1ac)])),$(0x6,o[_0x10f867(0x225)](E[_0x10f867(0x279)])),$(0x7,o['Inject'](ee)),$(0x8,o[_0x10f867(0x470)]),$(0x9,o[_0x10f867(0x4f6)]),$(0xa,o[_0x10f867(0x374)]),$(0xb,o[_0x10f867(0x36a)]),$(0xc,o['Optional'](ve)),$(0xd,o[_0x10f867(0x244)](q))],exports[_0x10f867(0x30b)]),exports[_0x10f867(0x22a)]=class extends exports[_0x10f867(0x30b)]{constructor(_0x4039a9,_0x42db52,_0x5a0b25,_0x2187b8,_0x303e57,_0x788d1d,_0x19924a,_0x32533f,_0x5780f8,_0x57a1f9,_0x45bfeb,_0x7cb195,_0x360067,_0x55e0f0){var _0x2a3274=_0x10f867;super(_0x4039a9,_0x5a0b25,_0x42db52,_0x2187b8,_0x303e57,_0x788d1d,_0x19924a,_0x32533f,_0x5780f8,_0x57a1f9,_0x45bfeb,_0x7cb195,_0x360067,_0x55e0f0),A(this,_0x2a3274(0x294),null),(this[_0x2a3274(0x2cd)]=_0x4039a9,this[_0x2a3274(0x19e)]=_0x42db52);}[_0x10f867(0x3c4)](_0x256483){this['_handlerCallback']=_0x256483;}[_0x10f867(0x3dc)](){var _0x4a7bee=_0x10f867;this[_0x4a7bee(0x294)]=null,super['dispose']();}[_0x10f867(0x190)](){var _0x3b079b=_0x10f867;const _0xe3a028=super[_0x3b079b(0x190)]();return _0xe3a028[_0x3b079b(0x184)]=_0x2e36ad=>{var _0x5ab5a3=_0x3b079b,_0x39fb51,_0xf176f2;return(_0xf176f2=(_0x39fb51=this[_0x5ab5a3(0x294)])==null?void 0x0:_0x39fb51[_0x5ab5a3(0x184)])==null?void 0x0:_0xf176f2['call'](_0x39fb51,_0x2e36ad);},_0xe3a028[_0x3b079b(0x205)]=_0x47a31a=>{var _0x5882f0=_0x3b079b,_0xcbd51b,_0x3ecc46;return(_0x3ecc46=(_0xcbd51b=this[_0x5882f0(0x294)])==null?void 0x0:_0xcbd51b['onTransformState'])==null?void 0x0:_0x3ecc46[_0x5882f0(0x411)](_0xcbd51b,_0x47a31a);},_0xe3a028['onTransformSelections']=_0x4489ae=>{var _0xec328e=_0x3b079b,_0x327f93,_0xe74912;return(_0xe74912=(_0x327f93=this[_0xec328e(0x294)])==null?void 0x0:_0x327f93[_0xec328e(0x1c3)])==null?void 0x0:_0xe74912[_0xec328e(0x411)](_0x327f93,_0x4489ae);},_0xe3a028['onSyncEditingCollabCursor']=_0x207d87=>{var _0x58db80=_0x3b079b,_0x1976d9,_0x5acaf0;return(_0x5acaf0=(_0x1976d9=this[_0x58db80(0x294)])==null?void 0x0:_0x1976d9[_0x58db80(0x37c)])==null?void 0x0:_0x5acaf0['call'](_0x1976d9,_0x207d87);},_0xe3a028[_0x3b079b(0x20f)]=_0x5d8305=>{var _0x3ed380=_0x3b079b,_0x508b48,_0x4564c9,_0x4ee819;if(!((_0x508b48=this['_handlerCallback'])!=null&&_0x508b48[_0x3ed380(0x20f)]))throw new Error(_0x3ed380(0x435));return(_0x4ee819=(_0x4564c9=this[_0x3ed380(0x294)])==null?void 0x0:_0x4564c9['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4ee819[_0x3ed380(0x411)](_0x4564c9,_0x5d8305);},_0xe3a028[_0x3b079b(0x451)]=_0x4e03a7=>{var _0x20cedb=_0x3b079b,_0x33f9ca,_0x58ea88,_0x484968;if(!((_0x33f9ca=this[_0x20cedb(0x294)])!=null&&_0x33f9ca['onTransformRemoteChangesetByStateCache']))throw new Error(_0x20cedb(0x4ce));return(_0x484968=(_0x58ea88=this[_0x20cedb(0x294)])==null?void 0x0:_0x58ea88[_0x20cedb(0x451)])==null?void 0x0:_0x484968[_0x20cedb(0x411)](_0x58ea88,_0x4e03a7);},_0xe3a028;}async['_init'](){var _0x54335f=_0x10f867;const _0x1176ef=await super['_init']();return this[_0x54335f(0x241)](this['_commandService'][_0x54335f(0x4c8)]((_0x5a6aaa,_0x4b9117)=>{var _0x4d4dea=_0x54335f;if(_0x5a6aaa[_0x4d4dea(0x19e)]!==o['CommandType']['MUTATION']||_0x4b9117!=null&&_0x4b9117['fromCollab']||_0x4b9117!=null&&_0x4b9117[_0x4d4dea(0x24a)]||_0x5a6aaa['id']===ct[_0x4d4dea(0x31c)]['id'])return;const _0x24e786=_0x5a6aaa[_0x4d4dea(0x32c)];if((_0x24e786==null?void 0x0:_0x24e786[_0x4d4dea(0x1fa)])!==this[_0x4d4dea(0x2cd)])return;const _0x55de6d=_0x5a6aaa,_0x2dac5f=this[_0x4d4dea(0x507)]['interceptor'][_0x4d4dea(0x2c5)](this[_0x4d4dea(0x507)][_0x4d4dea(0x428)][_0x4d4dea(0x44c)]()[_0x4d4dea(0x36e)])([_0x55de6d],this[_0x4d4dea(0x497)])||[_0x55de6d];this[_0x4d4dea(0x359)](_0x2dac5f[0x0]);})),_0x1176ef;}},exports[_0x10f867(0x22a)]=Be([$(0x3,o[_0x10f867(0x225)](o['Injector'])),$(0x4,o[_0x10f867(0x225)](E['CompressMutationService'])),$(0x5,o[_0x10f867(0x225)](o[_0x10f867(0x1ac)])),$(0x6,o['Inject'](E['RevisionService'])),$(0x7,o['Inject'](ee)),$(0x8,o[_0x10f867(0x470)]),$(0x9,o['ILogService']),$(0xa,o[_0x10f867(0x374)]),$(0xb,o['IPermissionService']),$(0xc,o[_0x10f867(0x244)](ve)),$(0xd,o[_0x10f867(0x244)](q))],exports[_0x10f867(0x22a)]),exports[_0x10f867(0x20a)]=class extends exports[_0x10f867(0x30b)]{constructor(_0x4431d7,_0x5eca33,_0x2a60b3,_0x454f92,_0x1231af,_0x5c56ed,_0x59d392,_0x34f3e6,_0x29dd06,_0xe2d2b7,_0x122467,_0x290eb2,_0x1d388b,_0x9271ea,_0x5cdfc4){var _0x32a51d=_0x10f867;super(_0x4431d7,_0x2a60b3,_0x5eca33,_0x454f92,_0x1231af,_0x5c56ed,_0x59d392,_0x29dd06,_0xe2d2b7,_0x122467,_0x290eb2,_0x1d388b,_0x9271ea,_0x5cdfc4),this[_0x32a51d(0x2cd)]=_0x4431d7,this['type']=_0x5eca33,this[_0x32a51d(0x26e)]=_0x34f3e6;}[_0x10f867(0x190)](){var _0x5da8ce=_0x10f867;const _0x3d02cb=super['_createHandler']();return _0x3d02cb[_0x5da8ce(0x1c3)]=_0x342aef=>this[_0x5da8ce(0x26e)][_0x5da8ce(0x2a4)](_0x342aef),_0x3d02cb;}async['_init'](){var _0x21f0a2=_0x10f867;const _0x4cf96a=await super[_0x21f0a2(0x358)]();return this[_0x21f0a2(0x241)](this[_0x21f0a2(0x2ee)][_0x21f0a2(0x4c8)]((_0x58b4d9,_0x1fbbc0)=>{var _0x18400e=_0x21f0a2;if(_0x58b4d9['type']!==o[_0x18400e(0x4b6)][_0x18400e(0x4e2)]||_0x1fbbc0!=null&&_0x1fbbc0['fromCollab']||_0x1fbbc0!=null&&_0x1fbbc0[_0x18400e(0x24a)])return;const _0x2fc290=_0x58b4d9[_0x18400e(0x32c)];if((_0x2fc290==null?void 0x0:_0x2fc290[_0x18400e(0x1fa)])!==this[_0x18400e(0x2cd)])return;const _0x2c7972=_0x58b4d9,_0x5688e8=this[_0x18400e(0x507)][_0x18400e(0x428)][_0x18400e(0x2c5)](this[_0x18400e(0x507)][_0x18400e(0x428)][_0x18400e(0x44c)]()[_0x18400e(0x36e)])([_0x2c7972],this['_univerInstanceService'])||[_0x2c7972];this[_0x18400e(0x359)](_0x5688e8[0x0]);})),_0x4cf96a;}},exports[_0x10f867(0x20a)]=Be([$(0x3,o['Inject'](o[_0x10f867(0x2c4)])),$(0x4,o[_0x10f867(0x225)](E[_0x10f867(0x23c)])),$(0x5,o['Inject'](o[_0x10f867(0x1ac)])),$(0x6,o[_0x10f867(0x225)](E['RevisionService'])),$(0x7,o[_0x10f867(0x225)](exports[_0x10f867(0x508)])),$(0x8,o[_0x10f867(0x225)](ee)),$(0x9,o['IUniverInstanceService']),$(0xa,o[_0x10f867(0x4f6)]),$(0xb,o[_0x10f867(0x374)]),$(0xc,o[_0x10f867(0x36a)]),$(0xd,o['Optional'](ve)),$(0xe,o['Optional'](q))],exports[_0x10f867(0x20a)]);const pt=o[_0x10f867(0x480)](_0x10f867(0x430));function mt(_0xe79fc9){var _0x1c2e14=_0x10f867,_0x103b00,_0x316099,_0x402b71,_0x1ab868,_0x596b98;const _0x569ef8=_0xe79fc9['data'],_0x48a7bd=JSON[_0x1c2e14(0x477)](_0x569ef8);switch(_0x48a7bd['cmd']){case W[_0x1c2e14(0x2a0)]:case W[_0x1c2e14(0x229)]:{const _0x37a9f1=_0x48a7bd[_0x1c2e14(0x21d)];return{..._0x48a7bd,'data':_0x37a9f1,'cmd':_0x48a7bd[_0x1c2e14(0x239)]};}case W[_0x1c2e14(0x37b)]:{const _0x3a701c=_0x48a7bd['joinRsp'];return{..._0x48a7bd,'data':_0x3a701c,'cmd':_0x48a7bd['cmd']};}case W[_0x1c2e14(0x38d)]:{const _0x23747c=_0x48a7bd[_0x1c2e14(0x17d)];switch(_0x23747c[_0x1c2e14(0x2ad)]){case E[_0x1c2e14(0x481)][_0x1c2e14(0x2fa)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':(_0x103b00=_0x23747c[_0x1c2e14(0x471)])==null?void 0x0:_0x103b00['cs']},'cmd':_0x48a7bd['cmd']};case E[_0x1c2e14(0x481)][_0x1c2e14(0x36b)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':(_0x316099=_0x23747c[_0x1c2e14(0x4e7)])==null?void 0x0:_0x316099['cs']},'cmd':_0x48a7bd['cmd']};case E['CollaborationEvent'][_0x1c2e14(0x478)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':(_0x402b71=_0x23747c['newCsEvent'])==null?void 0x0:_0x402b71['cs']},'cmd':_0x48a7bd['cmd']};case E['CollaborationEvent'][_0x1c2e14(0x3e8)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':(_0x1ab868=_0x23747c['csRejEvent'])==null?void 0x0:_0x1ab868['cs']},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E[_0x1c2e14(0x481)][_0x1c2e14(0x3b9)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':(_0x596b98=_0x23747c[_0x1c2e14(0x206)])==null?void 0x0:_0x596b98['cs']},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E[_0x1c2e14(0x481)][_0x1c2e14(0x332)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c['updateCursorEvent']},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E[_0x1c2e14(0x481)][_0x1c2e14(0x196)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c[_0x1c2e14(0x3ff)]},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E['CollaborationEvent']['USERS_LEAVE']:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c['leaveEvent']},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E[_0x1c2e14(0x481)][_0x1c2e14(0x4a0)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c['liveShareNewHost']},'cmd':_0x48a7bd['cmd']};case E[_0x1c2e14(0x481)][_0x1c2e14(0x1ba)]:case E['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c[_0x1c2e14(0x278)]},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E[_0x1c2e14(0x481)]['LIVESHARE_TERMINATE']:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c['liveShareNewHost']},'cmd':_0x48a7bd['cmd']};case E[_0x1c2e14(0x481)][_0x1c2e14(0x304)]:return{..._0x48a7bd,'data':_0x23747c,'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E[_0x1c2e14(0x481)][_0x1c2e14(0x491)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c[_0x1c2e14(0x1ff)]},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E['CollaborationEvent'][_0x1c2e14(0x2fe)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c[_0x1c2e14(0x289)]},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E[_0x1c2e14(0x481)][_0x1c2e14(0x42d)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c[_0x1c2e14(0x24b)]},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};case E[_0x1c2e14(0x481)][_0x1c2e14(0x36d)]:return{..._0x48a7bd,'data':{..._0x23747c,'data':_0x23747c['uniscriptRunEvent']},'cmd':_0x48a7bd[_0x1c2e14(0x239)]};default:return _0x48a7bd;}}default:return _0x48a7bd;}}function gt(_0x4b8d91){var _0x5b5d09=_0x10f867;switch(_0x4b8d91[_0x5b5d09(0x239)]){case W[_0x5b5d09(0x2a0)]:case W['HELLO']:return JSON[_0x5b5d09(0x34f)]({'cmd':_0x4b8d91[_0x5b5d09(0x239)],'routeKey':_0x4b8d91[_0x5b5d09(0x31e)]});case W['INGEST']:{let _0x1afd2a;switch(_0x4b8d91[_0x5b5d09(0x46b)][_0x5b5d09(0x2ad)]){case E['CollaborationEvent'][_0x5b5d09(0x332)]:{_0x1afd2a={'eventID':E[_0x5b5d09(0x481)][_0x5b5d09(0x332)],'updateCursorEvent':_0x4b8d91['data'][_0x5b5d09(0x46b)]};break;}case E[_0x5b5d09(0x481)][_0x5b5d09(0x25b)]:{_0x1afd2a={'eventID':E['CollaborationEvent'][_0x5b5d09(0x25b)],'leaveEvent':_0x4b8d91[_0x5b5d09(0x46b)][_0x5b5d09(0x46b)]};break;}case E['CollaborationEvent']['USERS_ENTER']:{_0x1afd2a={'eventID':E[_0x5b5d09(0x481)][_0x5b5d09(0x196)],'joinEvent':_0x4b8d91['data'][_0x5b5d09(0x46b)]};break;}case E[_0x5b5d09(0x481)][_0x5b5d09(0x4a0)]:{_0x1afd2a={'eventID':E[_0x5b5d09(0x481)][_0x5b5d09(0x4a0)],'liveShareNewHost':_0x4b8d91['data'][_0x5b5d09(0x46b)]};break;}case E[_0x5b5d09(0x481)][_0x5b5d09(0x434)]:{_0x1afd2a={'eventID':E['CollaborationEvent'][_0x5b5d09(0x434)],'liveShareOperation':_0x4b8d91[_0x5b5d09(0x46b)][_0x5b5d09(0x46b)]};break;}case E[_0x5b5d09(0x481)][_0x5b5d09(0x2bb)]:{_0x1afd2a={'eventID':E[_0x5b5d09(0x481)][_0x5b5d09(0x2bb)],'liveShareTerminate':_0x4b8d91[_0x5b5d09(0x46b)][_0x5b5d09(0x46b)]};break;}case E[_0x5b5d09(0x481)][_0x5b5d09(0x41e)]:{_0x1afd2a={'eventID':E[_0x5b5d09(0x481)][_0x5b5d09(0x41e)],'liveShareRequestHost':_0x4b8d91['data'][_0x5b5d09(0x46b)]};break;}case E[_0x5b5d09(0x481)][_0x5b5d09(0x1ba)]:{_0x1afd2a={'eventID':E['CollaborationEvent'][_0x5b5d09(0x1ba)]};break;}default:_0x1afd2a={'eventID':_0x4b8d91['data'][_0x5b5d09(0x2ad)]};}return JSON[_0x5b5d09(0x34f)]({'cmd':_0x4b8d91[_0x5b5d09(0x239)],'routeKey':_0x4b8d91['routeKey'],'collaMsg':_0x1afd2a});}case W[_0x5b5d09(0x37b)]:return JSON['stringify']({'cmd':_0x4b8d91[_0x5b5d09(0x239)],'routeKey':_0x4b8d91['routeKey'],'joinReq':_0x4b8d91['data']});case W[_0x5b5d09(0x46e)]:return JSON[_0x5b5d09(0x34f)]({'cmd':_0x4b8d91[_0x5b5d09(0x239)],'routeKey':_0x4b8d91['routeKey'],'leaveReq':_0x4b8d91['data']});default:throw new Error(_0x5b5d09(0x501));}}var ri=Object[_0x10f867(0x509)],ai=(_0x4b63f4,_0x23a51f,_0x5a3309,_0x5ad216)=>{var _0x242365=_0x10f867;for(var _0x4a77c4=_0x5ad216>0x1?void 0x0:_0x5ad216?ri(_0x23a51f,_0x5a3309):_0x23a51f,_0x2a39bf=_0x4b63f4[_0x242365(0x371)]-0x1,_0x6f43d4;_0x2a39bf>=0x0;_0x2a39bf--)(_0x6f43d4=_0x4b63f4[_0x2a39bf])&&(_0x4a77c4=_0x6f43d4(_0x4a77c4)||_0x4a77c4);return _0x4a77c4;},he=(_0x41ab2a,_0x35f2ab)=>(_0x35dc1c,_0xb7315f)=>_0x35f2ab(_0x35dc1c,_0xb7315f,_0x41ab2a);const Fe=o[_0x10f867(0x480)](_0x10f867(0x4b2));function oi(_0x37aa4c,_0x1c09ad,_0x1ee4de){var _0x43c7f0=_0x10f867;return _0x37aa4c+'/'+_0x1c09ad+_0x43c7f0(0x408)+_0x1ee4de+_0x43c7f0(0x4ba);}exports['CollaborationSocketService']=class extends o[_0x10f867(0x352)]{constructor(_0x10c8db,_0x5ea90b,_0x255421,_0x37df07,_0x3dfe1d){var _0x1a5d29=_0x10f867;super(),this[_0x1a5d29(0x4f8)]=_0x10c8db,this[_0x1a5d29(0x397)]=_0x5ea90b,this['_configService']=_0x255421,this[_0x1a5d29(0x280)]=_0x37df07,this[_0x1a5d29(0x505)]=_0x3dfe1d;}[_0x10f867(0x19b)](_0x1b2bb5){var _0x16961e=_0x10f867;const _0x31a637=this[_0x16961e(0x4f8)][_0x16961e(0x433)](K['ISocketService']);if(!_0x31a637)throw new Error(_0x16961e(0x4d4));const _0x32d965=_0x31a637[_0x16961e(0x50c)](_0x1b2bb5);if(!_0x32d965)throw new Error(_0x16961e(0x1ad));const _0x35d890=new o[(_0x16961e(0x193))](),_0x411350=new j[(_0x16961e(0x1d1))]();_0x35d890[_0x16961e(0x207)](_0x32d965[_0x16961e(0x2ba)][_0x16961e(0x34a)](_0x3a1a26=>_0x411350[_0x16961e(0x19d)](_0x3a1a26))),_0x35d890[_0x16961e(0x207)](o[_0x16961e(0x483)](()=>_0x411350['complete']()));const _0x2e4c91=new j[(_0x16961e(0x1d1))]();_0x35d890[_0x16961e(0x207)](_0x32d965['error$'][_0x16961e(0x34a)](_0x5f1e5e=>_0x2e4c91[_0x16961e(0x19d)](_0x5f1e5e))),_0x35d890[_0x16961e(0x207)](o[_0x16961e(0x483)](()=>_0x2e4c91[_0x16961e(0x443)]()));const _0x48b9b6=new j[(_0x16961e(0x1d1))]();_0x35d890[_0x16961e(0x207)](_0x32d965['message$'][_0x16961e(0x34a)](_0x1ec54f=>{var _0x1f88ad=_0x16961e;const _0x22565e=mt(_0x1ec54f);_0x48b9b6[_0x1f88ad(0x19d)](_0x22565e);})),_0x35d890[_0x16961e(0x207)](o[_0x16961e(0x483)](()=>_0x48b9b6[_0x16961e(0x443)]()));let _0x5768ba;const _0x25d13e=()=>{var _0x3b9e78=_0x16961e;_0x2e4c91[_0x3b9e78(0x19d)](new Event(_0x3b9e78(0x341))),_0x411350[_0x3b9e78(0x19d)](new Event(_0x3b9e78(0x341))),_0x5768ba[_0x3b9e78(0x293)]();};return _0x5768ba={'memberID':'','close$':_0x411350[_0x16961e(0x440)](),'error$':_0x2e4c91[_0x16961e(0x440)](),'open$':_0x32d965[_0x16961e(0x20c)],'message$':_0x48b9b6[_0x16961e(0x440)](),'send':_0x5c06e4=>{var _0x3b5282=_0x16961e;if(_0x5c06e4['cmd']===W[_0x3b5282(0x343)]){if(_0x5c06e4[_0x3b5282(0x46b)]['eventID']===E[_0x3b5282(0x481)][_0x3b5282(0x1c6)]){this[_0x3b5282(0x35e)](_0x5768ba,_0x5c06e4[_0x3b5282(0x46b)])[_0x3b5282(0x3f0)](_0x2336eb=>{var _0x324bfa=_0x3b5282;this[_0x324bfa(0x280)][_0x324bfa(0x3a8)](_0x2336eb),_0x25d13e();});return;}if(_0x5c06e4['data'][_0x3b5282(0x2ad)]===E[_0x3b5282(0x481)][_0x3b5282(0x25d)]){const _0x1e7e9e=_0x5c06e4[_0x3b5282(0x46b)];this[_0x3b5282(0x348)](_0x1e7e9e)[_0x3b5282(0x41c)](_0x287805=>{var _0x2fe8bb=_0x3b5282;_0x48b9b6[_0x2fe8bb(0x19d)]({'cmd':W['RECV'],'code':re['OK'],'routeKey':_0x1e7e9e[_0x2fe8bb(0x46b)][_0x2fe8bb(0x2cd)],'routeType':'','data':{'eventID':E['CollaborationEvent'][_0x2fe8bb(0x3d3)],'data':{'changesets':_0x287805}}});})[_0x3b5282(0x3f0)](_0x4ee491=>{var _0x5cb707=_0x3b5282;this[_0x5cb707(0x280)][_0x5cb707(0x3a8)](_0x4ee491),_0x25d13e();});return;}}_0x32d965[_0x3b5282(0x47d)](gt(_0x5c06e4));},'close':()=>{var _0x296a66=_0x16961e;_0x32d965[_0x296a66(0x293)](),_0x35d890['dispose']();}},_0x5768ba;}async[_0x10f867(0x35e)](_0x2a5f93,_0x2c46d8){var _0x27b9fb=_0x10f867,_0x156109;const {unitType:_0x4c6441,unitID:_0x3689b1,changeset:_0x1615ef}=_0x2c46d8['data'],_0x3fa704={'unitID':_0x3689b1,'memberID':_0x2a5f93[_0x27b9fb(0x1f8)],'type':_0x4c6441,'changeset':E[_0x27b9fb(0x42e)](_0x1615ef)},_0x12aca5=this[_0x27b9fb(0x22b)][_0x27b9fb(0x345)](Y),_0x4737d3=oi((_0x156109=_0x12aca5==null?void 0x0:_0x12aca5['collabSubmitChangesetUrl'])!=null?_0x156109:$t,_0x4c6441,_0x3689b1);try{await this[_0x27b9fb(0x397)]['post'](_0x4737d3,{'body':_0x3fa704});}catch(_0x1bc0b9){throw this['_logService'][_0x27b9fb(0x3a8)](_0x27b9fb(0x3c7),'submit\x20changeset\x20error!'),_0x1bc0b9;}}async[_0x10f867(0x348)](_0x1c4d7c){var _0x1f305c=_0x10f867;const {unitID:_0x1cc4d4,from:_0x3cd978,to:_0x219221,unitType:_0x1d2bb6}=_0x1c4d7c[_0x1f305c(0x46b)];return(await this[_0x1f305c(0x505)][_0x1f305c(0x3f2)]({'metadata':void 0x0},{'unitID':_0x1cc4d4,'type':_0x1d2bb6,'from':_0x3cd978,'to':_0x219221}))['changesets'][_0x1f305c(0x25e)](_0x29a986=>((_0x29a986[_0x1f305c(0x44e)]===null||_0x29a986[_0x1f305c(0x44e)]===void 0x0)&&(_0x29a986[_0x1f305c(0x44e)]=[]),_0x29a986));}},exports[_0x10f867(0x4a3)]=ai([he(0x0,o[_0x10f867(0x225)](o[_0x10f867(0x2c4)])),he(0x1,o[_0x10f867(0x225)](K[_0x10f867(0x328)])),he(0x2,o[_0x10f867(0x405)]),he(0x3,o[_0x10f867(0x4f6)]),he(0x4,E['ISnapshotServerService'])],exports[_0x10f867(0x4a3)]);var ci=Object['getOwnPropertyDescriptor'],_i=(_0x5e6c8e,_0x298354,_0x3218d9,_0x4f6db9)=>{for(var _0x31ad56=_0x4f6db9>0x1?void 0x0:_0x4f6db9?ci(_0x298354,_0x3218d9):_0x298354,_0x14f550=_0x5e6c8e['length']-0x1,_0x2d0797;_0x14f550>=0x0;_0x14f550--)(_0x2d0797=_0x5e6c8e[_0x14f550])&&(_0x31ad56=_0x2d0797(_0x31ad56)||_0x31ad56);return _0x31ad56;},_e=(_0x21b4af,_0x532b70)=>(_0x6fba1,_0x24f92f)=>_0x532b70(_0x6fba1,_0x24f92f,_0x21b4af);exports[_0x10f867(0x1fd)]=class extends o['Disposable']{constructor(_0x375771,_0x16584e,_0x67ae24,_0xa97924,_0x596dc4,_0x19b696){var _0x211105=_0x10f867;super(),A(this,_0x211105(0x4d2),new j[(_0x211105(0x1da))](void 0x0)),A(this,'socket$',this[_0x211105(0x4d2)][_0x211105(0x440)]()),A(this,_0x211105(0x248),null),A(this,_0x211105(0x3ef),new Map()),A(this,_0x211105(0x4f7),new j[(_0x211105(0x1da))](se['IDLE'])),A(this,_0x211105(0x40a),this[_0x211105(0x4f7)][_0x211105(0x440)]()),A(this,_0x211105(0x1e8),!0x1),A(this,'_retryConnectingTimer'),A(this,_0x211105(0x395),0x0),A(this,'_sendHeartbeatTimer'),A(this,_0x211105(0x2a2)),(this[_0x211105(0x4f8)]=_0x375771,this['_logService']=_0x16584e,this[_0x211105(0x22b)]=_0x67ae24,this[_0x211105(0x272)]=_0xa97924,this[_0x211105(0x336)]=_0x596dc4,this[_0x211105(0x26f)]=_0x19b696,this[_0x211105(0x32f)]());}get[_0x10f867(0x1d3)](){var _0x59320a=_0x10f867;return this[_0x59320a(0x4d2)][_0x59320a(0x1d8)]();}['_listenToNetworkCondition'](){var _0x5ad1f6=_0x10f867;this[_0x5ad1f6(0x26f)]&&this[_0x5ad1f6(0x241)](this[_0x5ad1f6(0x26f)][_0x5ad1f6(0x2ec)][_0x5ad1f6(0x34a)](_0x26381e=>{var _0x14302e=_0x5ad1f6;_0x26381e&&!this['_socket']&&this[_0x14302e(0x213)](),_0x26381e||this[_0x14302e(0x2a5)]();}));}['dispose'](){var _0x263886=_0x10f867;super[_0x263886(0x3dc)](),this['_clearRetryConnectingTimer'](),this[_0x263886(0x503)](),this[_0x263886(0x18b)](),this[_0x263886(0x3ef)]['forEach'](_0x311dd1=>_0x311dd1[_0x263886(0x3dc)]()),this[_0x263886(0x3ef)][_0x263886(0x2aa)](),this[_0x263886(0x4f7)][_0x263886(0x443)]();}async[_0x10f867(0x4ae)](_0x4dac0f){var _0x248895=_0x10f867;if(this[_0x248895(0x3ef)][_0x248895(0x295)](_0x4dac0f))return this[_0x248895(0x3ef)][_0x248895(0x433)](_0x4dac0f);this[_0x248895(0x269)]();const _0x21b8ed=this[_0x248895(0x4f8)]['createInstance'](exports[_0x248895(0x362)],_0x4dac0f,this[_0x248895(0x4d2)]['asObservable']());return this[_0x248895(0x3ef)]['set'](_0x4dac0f,_0x21b8ed),_0x21b8ed;}[_0x10f867(0x462)](_0x520321){var _0x31ba92=_0x10f867,_0xb6b174;const _0x2ba340=this[_0x31ba92(0x3ef)]['get'](_0x520321);_0x2ba340&&(this[_0x31ba92(0x3ef)][_0x31ba92(0x458)](_0x520321),_0x2ba340[_0x31ba92(0x293)]()),this[_0x31ba92(0x3ef)][_0x31ba92(0x363)]||(_0xb6b174=this[_0x31ba92(0x1d3)])==null||_0xb6b174[_0x31ba92(0x293)]();}[_0x10f867(0x213)](){var _0x30a18d=_0x10f867;this['_retryCount']=0x0,this[_0x30a18d(0x236)](),this[_0x30a18d(0x3d4)]();}[_0x10f867(0x236)](){var _0x424921=_0x10f867;this[_0x424921(0x419)]!=null&&(clearTimeout(this[_0x424921(0x419)]),this[_0x424921(0x419)]=null);}async['_createSocket'](){var _0x1ab258=_0x10f867,_0x163304;const _0x5a3a8f=this[_0x1ab258(0x22b)]['getConfig'](Y),_0x10e731=(_0x163304=_0x5a3a8f==null?void 0x0:_0x5a3a8f['collabWebSocketUrl'])!=null?_0x163304:_t,_0x266be3=await this[_0x1ab258(0x272)][_0x1ab258(0x50c)](_0x10e731);return this[_0x1ab258(0x248)]=_0x266be3,_0x266be3;}async[_0x10f867(0x269)](){var _0x2e1c4a=_0x10f867,_0x52d897,_0x11b367;try{const _0x592361=(_0x11b367=(_0x52d897=this['_socket'])!=null?_0x52d897:this['_candidateSocket'])!=null?_0x11b367:await this[_0x2e1c4a(0x28b)]();if(_0x592361){const _0x540090=_0x592361[_0x2e1c4a(0x47d)];_0x592361[_0x2e1c4a(0x47d)]=_0x16c2d9=>(this[_0x2e1c4a(0x4d7)](),_0x540090[_0x2e1c4a(0x21f)](_0x592361,[_0x16c2d9])),_0x592361[_0x2e1c4a(0x34b)][_0x2e1c4a(0x34a)](_0x857caf=>this['_onMessage'](_0x592361,_0x857caf)),_0x592361[_0x2e1c4a(0x18d)]['pipe'](V[_0x2e1c4a(0x257)](0x1))[_0x2e1c4a(0x34a)](_0x21e34f=>this['_logService'][_0x2e1c4a(0x3a8)](_0x2e1c4a(0x459),_0x21e34f)),_0x592361[_0x2e1c4a(0x20c)]['pipe'](V[_0x2e1c4a(0x257)](0x1))[_0x2e1c4a(0x34a)](()=>{this['_onConnectionOpen'](_0x592361);}),_0x592361[_0x2e1c4a(0x2ba)]['pipe'](V['take'](0x1))[_0x2e1c4a(0x34a)](_0x14c230=>{var _0x5d86e1=_0x2e1c4a;this['_logService'][_0x5d86e1(0x47e)]('[CollaborationSessionService]','socket\x20close',_0x14c230),this[_0x5d86e1(0x27a)]();});}}catch(_0x2af7ef){this[_0x2e1c4a(0x280)][_0x2e1c4a(0x3a8)](_0x2af7ef),this[_0x2e1c4a(0x27a)]();}}[_0x10f867(0x3cb)](_0x3d77f0){var _0x4d0431=_0x10f867;this[_0x4d0431(0x280)]['debug'](_0x4d0431(0x1a7),'socket\x20open.'),_0x3d77f0['send']({'cmd':W[_0x4d0431(0x229)]}),this[_0x4d0431(0x4d7)]();}[_0x10f867(0x2a5)](){var _0x487f78=_0x10f867;this['_socketReady']=!0x1,this['_candidateSocket']=null,this['_status$'][_0x487f78(0x19d)](se[_0x487f78(0x2ef)]),this[_0x487f78(0x4d2)][_0x487f78(0x19d)](null),this[_0x487f78(0x503)](),this['_clearHeartbeatTimer']();}[_0x10f867(0x27a)](){var _0x4d15e1=_0x10f867,_0x3e2c4c;this[_0x4d15e1(0x2a5)](),this[_0x4d15e1(0x395)]<((_0x3e2c4c=this[_0x4d15e1(0x22b)][_0x4d15e1(0x345)](ut))!=null?_0x3e2c4c:wt)?(this['_collaborationUIEventService']['emitEvent']({'id':J[_0x4d15e1(0x3da)]}),this[_0x4d15e1(0x3d4)]()):this[_0x4d15e1(0x336)][_0x4d15e1(0x3e2)]({'id':J['SOCKET_FAILED']});}[_0x10f867(0x3d4)](){var _0x183cc0=_0x10f867,_0x597777;const _0x4c3652=this[_0x183cc0(0x395)],_0x1045aa=this['_configService'][_0x183cc0(0x345)](Y),_0xeece46=_0x4c3652===0x0?0x0:((_0x597777=_0x1045aa==null?void 0x0:_0x1045aa['retryConnectingInterval'])!=null?_0x597777:Mt)*0x2**_0x4c3652;this['_retryConnectingTimer']=setTimeout(()=>{clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0xeece46),this[_0x183cc0(0x395)]+=0x1;}[_0x10f867(0x372)](_0x3a3ae9,_0xdf33d2){var _0x5d3d0e=_0x10f867;const {cmd:_0x27a8e8}=_0xdf33d2;_0x27a8e8===W['HELLO']&&!this[_0x5d3d0e(0x1e8)]&&(_0x3a3ae9[_0x5d3d0e(0x1f8)]=_0xdf33d2[_0x5d3d0e(0x46b)][_0x5d3d0e(0x1f8)],this[_0x5d3d0e(0x4d2)][_0x5d3d0e(0x19d)](_0x3a3ae9),this['_status$'][_0x5d3d0e(0x19d)](se[_0x5d3d0e(0x1fb)]),this[_0x5d3d0e(0x1e8)]=!0x0,this[_0x5d3d0e(0x248)]=null),_0x27a8e8===W[_0x5d3d0e(0x2a0)]&&this[_0x5d3d0e(0x503)](),this[_0x5d3d0e(0x4d7)]();}[_0x10f867(0x4d7)](){var _0x1f828e=_0x10f867,_0x212458;this[_0x1f828e(0x18b)](),this[_0x1f828e(0x1d2)]=setTimeout(()=>this[_0x1f828e(0x453)](),(_0x212458=this[_0x1f828e(0x22b)][_0x1f828e(0x345)](ht))!=null?_0x212458:Lt);}['_sendHeartbeat'](){var _0x16b2b5=_0x10f867;this['_socket'][_0x16b2b5(0x47d)]({'cmd':W[_0x16b2b5(0x2a0)]}),this[_0x16b2b5(0x311)]();}[_0x10f867(0x311)](){var _0x2e4d2a=_0x10f867,_0x2deecc;this[_0x2e4d2a(0x2a2)]=setTimeout(()=>this[_0x2e4d2a(0x27a)](),(_0x2deecc=this['_configService'][_0x2e4d2a(0x345)](ke))!=null?_0x2deecc:lt);}['_clearHeartbeatTimer'](){var _0x64c9bd=_0x10f867;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x64c9bd(0x1d2)]),this[_0x64c9bd(0x1d2)]=null);}[_0x10f867(0x503)](){var _0x58222f=_0x10f867;this[_0x58222f(0x2a2)]!=null&&(clearTimeout(this[_0x58222f(0x2a2)]),this['_timeoutTimer']=null);}},exports['CollaborationSessionService']=_i([_e(0x0,o['Inject'](o[_0x10f867(0x2c4)])),_e(0x1,o[_0x10f867(0x4f6)]),_e(0x2,o[_0x10f867(0x405)]),_e(0x3,Fe),_e(0x4,o[_0x10f867(0x225)](ee)),_e(0x5,o[_0x10f867(0x244)](pt))],exports[_0x10f867(0x1fd)]);var hi=Object[_0x10f867(0x509)],li=(_0x5cc563,_0x1408bc,_0x282aa2,_0x3559df)=>{var _0x51b9b9=_0x10f867;for(var _0x41e7bc=_0x3559df>0x1?void 0x0:_0x3559df?hi(_0x1408bc,_0x282aa2):_0x1408bc,_0x4fe542=_0x5cc563[_0x51b9b9(0x371)]-0x1,_0x59f807;_0x4fe542>=0x0;_0x4fe542--)(_0x59f807=_0x5cc563[_0x4fe542])&&(_0x41e7bc=_0x59f807(_0x41e7bc)||_0x41e7bc);return _0x41e7bc;},Se=(_0x1ca275,_0x43ead7)=>(_0x3f43d0,_0x46db86)=>_0x43ead7(_0x3f43d0,_0x46db86,_0x1ca275);exports['CollaborationController']=class extends o['RxDisposable']{constructor(_0x5b1f28,_0x385063,_0x3cb4e3,_0x5b2f95){var _0xbab837=_0x10f867,_0x52d427;super(),A(this,_0xbab837(0x3e3),new Map()),A(this,'_entityInit$',new j[(_0xbab837(0x1d1))]()),A(this,'entityInit$',this[_0xbab837(0x1d7)][_0xbab837(0x440)]()),(this[_0xbab837(0x4f8)]=_0x5b1f28,this[_0xbab837(0x337)]=_0x385063,this[_0xbab837(0x22b)]=_0x3cb4e3,this['_univerInstanceService']=_0x5b2f95,((_0x52d427=this[_0xbab837(0x22b)]['getConfig'](Y))==null?void 0x0:_0x52d427[_0xbab837(0x21b)])!==!0x1&&this[_0xbab837(0x358)]());}[_0x10f867(0x3dc)](){var _0x1750e1=_0x10f867;super['dispose'](),this[_0x1750e1(0x3e3)]['forEach'](_0xa83fe2=>_0xa83fe2[_0x1750e1(0x3dc)]()),this[_0x1750e1(0x3e3)][_0x1750e1(0x2aa)]();}['getCollabEntity'](_0x27937b){var _0x1e0abb=_0x10f867,_0x59c78e;return(_0x59c78e=this['_entities'][_0x1e0abb(0x433)](_0x27937b))!=null?_0x59c78e:null;}[_0x10f867(0x3ce)](_0x16e2d9){var _0x587370=_0x10f867;const _0x2ce772=this[_0x587370(0x277)](_0x16e2d9);return _0x2ce772?j['of'](_0x2ce772):this[_0x587370(0x1d7)]['pipe'](V['filter'](_0x49bb8c=>_0x49bb8c[_0x587370(0x2cd)]===_0x16e2d9));}[_0x10f867(0x3f6)](_0x52bde1){var _0x21aeea=_0x10f867;return j[_0x21aeea(0x3e5)](this[_0x21aeea(0x3ce)](_0x52bde1)[_0x21aeea(0x4e4)](V['map'](()=>{})));}[_0x10f867(0x358)](){var _0xf2905e=_0x10f867;this[_0xf2905e(0x497)][_0xf2905e(0x256)](o[_0xf2905e(0x2a8)][_0xf2905e(0x3bf)])[_0xf2905e(0x4e4)](j['takeUntil'](this[_0xf2905e(0x25c)]),V[_0xf2905e(0x436)](0x10))[_0xf2905e(0x34a)](async _0xd88807=>{var _0x356646=_0xf2905e;const _0x48f608=_0xd88807['getUnitId'](),_0x5c9f20=await this[_0x356646(0x38a)](_0x48f608,X[_0x356646(0x3bf)]);this[_0x356646(0x3e3)][_0x356646(0x186)](_0x48f608,_0x5c9f20);}),this[_0xf2905e(0x497)][_0xf2905e(0x256)](o['UniverInstanceType'][_0xf2905e(0x382)])[_0xf2905e(0x4e4)](j[_0xf2905e(0x45f)](this[_0xf2905e(0x25c)]),V[_0xf2905e(0x436)](0x10))['pipe'](V[_0xf2905e(0x306)](_0x4950c6=>!_0x4950c6[_0xf2905e(0x298)]()[_0xf2905e(0x204)]('__')))[_0xf2905e(0x34a)](async _0x1ab91a=>{var _0x31a7e5=_0xf2905e;const _0x52ff1b=_0x1ab91a[_0x31a7e5(0x298)](),_0x3ad6bb=await this[_0x31a7e5(0x38a)](_0x52ff1b,X[_0x31a7e5(0x382)]);this[_0x31a7e5(0x3e3)][_0x31a7e5(0x186)](_0x52ff1b,_0x3ad6bb);}),j['merge'](this[_0xf2905e(0x497)][_0xf2905e(0x3a4)](o[_0xf2905e(0x2a8)][_0xf2905e(0x3bf)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](o[_0xf2905e(0x2a8)]['UNIVER_DOC']))[_0xf2905e(0x4e4)](j[_0xf2905e(0x45f)](this[_0xf2905e(0x25c)]))['subscribe'](_0x2b0dab=>{var _0x2733b4=_0xf2905e;const _0x34b398=_0x2b0dab[_0x2733b4(0x298)](),_0x4682cd=this['_entities'][_0x2733b4(0x433)](_0x34b398);_0x4682cd&&(_0x4682cd[_0x2733b4(0x3dc)](),this[_0x2733b4(0x3e3)][_0x2733b4(0x458)](_0x34b398));});}async[_0x10f867(0x38a)](_0x54074c,_0x586ff8){var _0xc88c0d=_0x10f867;const _0x392e8f=await this[_0xc88c0d(0x337)][_0xc88c0d(0x4ae)](_0x54074c),_0x465eda=this[_0xc88c0d(0x4f8)][_0xc88c0d(0x22d)](this['_getCtorByUniverType'](_0x586ff8),_0x54074c,_0x586ff8,_0x392e8f);return await _0x465eda[_0xc88c0d(0x1e0)](),this[_0xc88c0d(0x1d7)]['next'](_0x465eda),_0x465eda;}[_0x10f867(0x2f9)](_0x3e6836){var _0x311388=_0x10f867;switch(_0x3e6836){case X[_0x311388(0x382)]:return exports[_0x311388(0x22a)];case X[_0x311388(0x3bf)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x311388(0x3c3)+_0x3e6836);}}},exports[_0x10f867(0x4e5)]=li([Se(0x0,o[_0x10f867(0x225)](o['Injector'])),Se(0x1,o[_0x10f867(0x225)](exports[_0x10f867(0x1fd)])),Se(0x2,o[_0x10f867(0x405)]),Se(0x3,o[_0x10f867(0x470)])],exports[_0x10f867(0x4e5)]);var ui=Object[_0x10f867(0x509)],vi=(_0x1ed921,_0x2888ec,_0xbfc6d3,_0x2ac4fa)=>{for(var _0x5ad2c4=_0x2ac4fa>0x1?void 0x0:_0x2ac4fa?ui(_0x2888ec,_0xbfc6d3):_0x2888ec,_0x4dfeb0=_0x1ed921['length']-0x1,_0x88494e;_0x4dfeb0>=0x0;_0x4dfeb0--)(_0x88494e=_0x1ed921[_0x4dfeb0])&&(_0x5ad2c4=_0x88494e(_0x5ad2c4)||_0x5ad2c4);return _0x5ad2c4;},Ye=(_0x56ae7d,_0x2a72ac)=>(_0x5a0a95,_0x49c7a1)=>_0x2a72ac(_0x5a0a95,_0x49c7a1,_0x56ae7d);const di=_0x10f867(0x2d9),Si=_0x10f867(0x495);let xe=class extends o['Disposable']{constructor(_0x24641a,_0x182a66){var _0x49045c=_0x10f867;super(),this[_0x49045c(0x497)]=_0x24641a,this[_0x49045c(0x22b)]=_0x182a66,this[_0x49045c(0x358)]();}['_init'](){var _0x692e39=_0x10f867;this[_0x692e39(0x241)](this['_univerInstanceService'][_0x692e39(0x4a8)][_0x692e39(0x34a)](()=>{var _0x2d30a9=_0x692e39,_0x5edefd;const _0x516bce=this[_0x2d30a9(0x497)][_0x2d30a9(0x407)]();let _0xb0350e=(_0x5edefd=this[_0x2d30a9(0x22b)][_0x2d30a9(0x345)](di))!=null?_0x5edefd:Si;_0x516bce instanceof o[_0x2d30a9(0x2e4)]&&(_0xb0350e=_0x516bce['name']),document[_0x2d30a9(0x3fe)]=_0xb0350e;}));}};xe=vi([Ye(0x0,o['IUniverInstanceService']),Ye(0x1,o[_0x10f867(0x405)])],xe);var Ii=Object[_0x10f867(0x509)],fi=(_0x59f58b,_0x542b7b,_0x224a1b,_0x553be3)=>{var _0x10297e=_0x10f867;for(var _0x408fd4=_0x553be3>0x1?void 0x0:_0x553be3?Ii(_0x542b7b,_0x224a1b):_0x542b7b,_0x4fec5a=_0x59f58b[_0x10297e(0x371)]-0x1,_0xa9cdcc;_0x4fec5a>=0x0;_0x4fec5a--)(_0xa9cdcc=_0x59f58b[_0x4fec5a])&&(_0x408fd4=_0xa9cdcc(_0x408fd4)||_0x408fd4);return _0x408fd4;},Ae=(_0x423a8a,_0x585327)=>(_0x41762d,_0x22c266)=>_0x585327(_0x41762d,_0x22c266,_0x423a8a);let Ne=class{constructor(_0x1236b2,_0x5f52ff,_0x37a7f6){var _0x27fbcb=_0x10f867;this[_0x27fbcb(0x22b)]=_0x1236b2,this[_0x27fbcb(0x397)]=_0x5f52ff,this[_0x27fbcb(0x234)]=_0x37a7f6,this[_0x27fbcb(0x1e0)]();}[_0x10f867(0x1e0)](){var _0x5d841f=_0x10f867;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x518a57,_0x1dd788)=>_0x1dd788(_0x518a57)[_0x5d841f(0x4e4)](j[_0x5d841f(0x3a2)](async _0xd62fa4=>{var _0x4c4329=_0x5d841f;const _0x4aaba1=_0xd62fa4;if(_0x4aaba1[_0x4c4329(0x224)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x4c4329(0x234)]['t'](_0x4c4329(0x2f8)))){const _0x25d45e=window['encodeURIComponent'](window['location'][_0x4c4329(0x301)]);window[_0x4c4329(0x1c8)][_0x4c4329(0x301)]=this['_getLoginPath']()+_0x4c4329(0x1fe)+_0x25d45e;}}return _0x4aaba1;}))});}[_0x10f867(0x463)](){var _0x57962b=_0x10f867,_0x40230d;const _0x476318=this['_configService'][_0x57962b(0x345)](Y);return(_0x40230d=_0x476318==null?void 0x0:_0x476318[_0x57962b(0x261)])!=null?_0x40230d:Ht;}};Ne=fi([Ae(0x0,o[_0x10f867(0x405)]),Ae(0x1,o['Inject'](K[_0x10f867(0x328)])),Ae(0x2,o['Inject'](o[_0x10f867(0x1ac)]))],Ne);var Ei=Object[_0x10f867(0x509)],pi=(_0x571846,_0x3c6198,_0x333246,_0x73a2c8)=>{var _0x16d913=_0x10f867;for(var _0x57bfea=_0x73a2c8>0x1?void 0x0:_0x73a2c8?Ei(_0x3c6198,_0x333246):_0x3c6198,_0x256831=_0x571846[_0x16d913(0x371)]-0x1,_0x1acab2;_0x256831>=0x0;_0x256831--)(_0x1acab2=_0x571846[_0x256831])&&(_0x57bfea=_0x1acab2(_0x57bfea)||_0x57bfea);return _0x57bfea;},Ke=(_0x26b0b6,_0x41d417)=>(_0x5822cf,_0x1ceac7)=>_0x41d417(_0x5822cf,_0x1ceac7,_0x26b0b6);const mi='/universer-api/authz';exports[_0x10f867(0x441)]=class extends o[_0x10f867(0x352)]{constructor(_0x58ca96,_0x45111d){var _0x5a801f=_0x10f867;super(),this[_0x5a801f(0x388)]=_0x58ca96,this[_0x5a801f(0x22b)]=_0x45111d,this[_0x5a801f(0x29e)]();}[_0x10f867(0x29e)](){var _0x65b376=_0x10f867;const _0x433884=this;this['disposeWithMe'](this[_0x65b376(0x388)][_0x65b376(0x35a)]({'priority':0x3e7,'interceptor':K[_0x65b376(0x230)]({'isMatch'(_0x3c4483){var _0x8247d5=_0x65b376,_0x3420a0;if(_0x3c4483[_0x8247d5(0x4b7)]===_0x8247d5(0x2c9)&&((_0x3420a0=_0x3c4483[_0x8247d5(0x2e8)])!=null&&_0x3420a0[_0x8247d5(0x22c)])){const {objectID:_0x185ca3,objectType:_0xcec491}=_0x3c4483[_0x8247d5(0x2e8)][_0x8247d5(0x22c)]||{};if(!_0x185ca3||_0xcec491===void 0x0)return!0x1;const _0x5ef2fa=_0x433884[_0x8247d5(0x42f)]()+'/'+_0xcec491+_0x8247d5(0x365)+_0x185ca3+_0x8247d5(0x4d6);if(_0x3c4483[_0x8247d5(0x40b)]===_0x5ef2fa)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xc4fa3){var _0x40e8c8=_0x65b376,_0x555cee;return(_0x555cee=_0xc4fa3[_0x40e8c8(0x2e8)])==null?void 0x0:_0x555cee[_0x40e8c8(0x22c)];},'mergeParamsToRequest'(_0x41370d,_0x395568){var _0x402401=_0x65b376;const _0x252767=_0x433884['_getAPIPrefixPath']()+_0x402401(0x379),_0xf8338d=_0x41370d[_0x402401(0x364)]((_0x344abb,_0x5d3e33)=>{var _0x4070e9=_0x402401;const {unitID:_0xb91996,objectID:_0x4fe850,objectType:_0x1c26b5,actions:_0x154207}=_0x5d3e33;return _0x344abb[_0xb91996]||(_0x344abb[_0xb91996]={}),_0x344abb[_0xb91996][_0x4fe850]||(_0x344abb[_0xb91996][_0x4fe850]={'objectID':_0x4fe850,'objectType':_0x1c26b5,'actions':[]}),_0x344abb[_0xb91996][_0x4fe850]['actions'][_0x4070e9(0x24d)](..._0x154207),_0x344abb;},{}),_0x3dae97=[];for(const _0x1df2c5 in _0xf8338d)for(const _0x3fd68b in _0xf8338d[_0x1df2c5]){const {actions:_0x5d0eb4,objectType:_0x52c65a}=_0xf8338d[_0x1df2c5][_0x3fd68b],_0x24e361=[...new Set(_0x5d0eb4)];_0x3dae97['push']({'unitID':_0x1df2c5,'objectID':_0x3fd68b,'objectType':_0x52c65a,'actions':_0x24e361});}return new K['HTTPRequest'](_0x402401(0x2c9),_0x252767,{'headers':_0x395568[_0x402401(0x1eb)],'withCredentials':_0x395568[_0x402401(0x452)],'responseType':_0x395568[_0x402401(0x245)],'body':{'requests':_0x3dae97}});}},{'distributeResult'(_0x2a3dff,_0x3ad780){var _0x4585b3=_0x65b376;const {objectActions:_0x12ab49}=_0x2a3dff;return _0x3ad780[_0x4585b3(0x25e)](_0x3483bb=>{var _0x39d2f0=_0x4585b3;const {unitID:_0x276782,objectID:_0x1fa59a,actions:_0x55ba75}=_0x3483bb,_0x3ae231=_0x12ab49[_0x39d2f0(0x2da)](_0x2b95e7=>_0x2b95e7[_0x39d2f0(0x2cd)]===_0x276782&&_0x2b95e7[_0x39d2f0(0x254)]===_0x1fa59a),_0x207e1a=_0x55ba75[_0x39d2f0(0x25e)](_0x197886=>_0x3ae231==null?void 0x0:_0x3ae231['actions'][_0x39d2f0(0x2da)](_0x57c1f7=>_0x57c1f7[_0x39d2f0(0x3ab)]===_0x197886))[_0x39d2f0(0x306)](_0x225894=>!!_0x225894);return{'config':_0x3483bb,'result':{'actions':_0x207e1a,'error':_0x2a3dff[_0x39d2f0(0x3a8)]}};});}})}));}[_0x10f867(0x42f)](){var _0x2ea59b=_0x10f867,_0xf42e67;const _0x2e98fd=this['_configService'][_0x2ea59b(0x345)](Y);return(_0xf42e67=_0x2e98fd==null?void 0x0:_0x2e98fd['authzUrl'])!=null?_0xf42e67:mi;}async[_0x10f867(0x2be)](_0xab5ee1){var _0x362942=_0x10f867;const _0xc61d1d=this[_0x362942(0x42f)]()+'/'+_0xab5ee1[_0x362942(0x47c)]+'/object';return(await this['_HTTPService']['post'](_0xc61d1d,{'body':_0xab5ee1}))[_0x362942(0x22c)][_0x362942(0x254)]||'';}async[_0x10f867(0x18c)](_0x11eb0d){var _0x49947a=_0x10f867;const _0x52a920=this[_0x49947a(0x42f)]()+_0x49947a(0x3e1);return(await this[_0x49947a(0x388)][_0x49947a(0x338)](_0x52a920,{'body':_0x11eb0d}))[_0x49947a(0x22c)][_0x49947a(0x19f)];}async[_0x10f867(0x4e1)](_0x460751){var _0x3ab20a=_0x10f867,_0x5b5ec7,_0x37835b;const _0xf6c728=this[_0x3ab20a(0x42f)]()+'/'+_0x460751[_0x3ab20a(0x47c)]+_0x3ab20a(0x365)+_0x460751[_0x3ab20a(0x254)],_0xb1c65c=await this[_0x3ab20a(0x388)][_0x3ab20a(0x28c)](_0xf6c728,{'body':_0x460751});if(((_0x37835b=(_0x5b5ec7=_0xb1c65c==null?void 0x0:_0xb1c65c[_0x3ab20a(0x22c)])==null?void 0x0:_0x5b5ec7[_0x3ab20a(0x3a8)])==null?void 0x0:_0x37835b['code'])!==0x1)throw new Error(_0x3ab20a(0x402));}async[_0x10f867(0x288)](_0x3f2b04){var _0xd46bba=_0x10f867;const _0x1a229c=this['_getAPIPrefixPath']()+'/'+_0x3f2b04['objectType']+_0xd46bba(0x365)+_0x3f2b04['objectID']+_0xd46bba(0x4d6);return(await this['_HTTPService']['post'](_0x1a229c,{'body':_0x3f2b04}))[_0xd46bba(0x22c)]['actions'];}async[_0x10f867(0x4f5)](_0xa91258){var _0x63681=_0x10f867;const _0x255953=this[_0x63681(0x42f)]()+'/-/object/-/batch_allowed';return(await this[_0x63681(0x388)][_0x63681(0x338)](_0x255953,{'body':{'requests':_0xa91258}}))['body'][_0x63681(0x4fe)];}async[_0x10f867(0x2a7)](_0x188e23){var _0x599152=_0x10f867;const _0x4e7148=this[_0x599152(0x42f)]()+'/'+_0x188e23[_0x599152(0x47c)]+_0x599152(0x2ab),_0x178055=await this[_0x599152(0x388)][_0x599152(0x338)](_0x4e7148,{'body':_0x188e23});return{'roles':_0x178055[_0x599152(0x22c)][_0x599152(0x226)],'actions':_0x178055[_0x599152(0x22c)][_0x599152(0x2b7)]};}async['deleteCollaborator'](_0x5e60c4){var _0x3824a5=_0x10f867;const _0xfd72a9=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x3824a5(0x388)][_0x3824a5(0x458)](_0xfd72a9,{'params':{'collaboratorID':_0x5e60c4[_0x3824a5(0x369)],'objectID':_0x5e60c4[_0x3824a5(0x254)],'unitID':_0x5e60c4['unitID']}});}async[_0x10f867(0x1d5)](_0x44a940){var _0x3a8e13=_0x10f867;const _0x2cd876=this[_0x3a8e13(0x42f)]()+_0x3a8e13(0x32a);await this['_HTTPService']['patch'](_0x2cd876,{'body':_0x44a940});}async[_0x10f867(0x195)](_0x43bbd3){var _0x3d20d4=_0x10f867;const _0xab539=this['_getAPIPrefixPath']()+_0x3d20d4(0x32a);await this[_0x3d20d4(0x388)]['post'](_0xab539,{'body':_0x43bbd3});}async['listCollaborators'](_0x518be2){var _0x385193=_0x10f867;const _0x4ed15=this[_0x385193(0x42f)]()+_0x385193(0x32a);return(await this[_0x385193(0x388)][_0x385193(0x433)](_0x4ed15,{'params':{'objectID':_0x518be2[_0x385193(0x254)],'unitID':_0x518be2['unitID']}}))[_0x385193(0x22c)][_0x385193(0x45c)];}async['putCollaborators'](_0x48ded4){var _0x29e2ed=_0x10f867;const _0x1a26f4=this[_0x29e2ed(0x42f)]()+'/collaborator';await this[_0x29e2ed(0x388)]['put'](_0x1a26f4,{'body':_0x48ded4});}},exports['AuthzIoHttpService']=pi([Ke(0x0,o[_0x10f867(0x225)](K['HTTPService'])),Ke(0x1,o[_0x10f867(0x225)](o['IConfigService']))],exports[_0x10f867(0x441)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function de(_0x1d6c8f){var _0x349372=_0x10f867;return _0x1d6c8f&&_0x1d6c8f[_0x349372(0x39d)]&&Object[_0x349372(0x2d3)][_0x349372(0x4a9)][_0x349372(0x411)](_0x1d6c8f,'default')?_0x1d6c8f[_0x349372(0x39a)]:_0x1d6c8f;}var Ie={'exports':{}};function gi(_0x2c54ad){var _0x1c3e38=_0x10f867;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x2c54ad+_0x1c3e38(0x383));}var fe={'exports':{}},Ti=fe[_0x10f867(0x1cd)],qe;function Z(){var _0x4c35a8=_0x10f867;return qe||(qe=0x1,function(_0x1b9957,_0x58aa64){(function(_0x3ad236,_0x240841){var _0x323182=_0x4aec;_0x1b9957[_0x323182(0x1cd)]=_0x240841();}(Ti,function(){var _0x30543e=_0x30543e||function(_0x1b9b63,_0x52ab81){var _0x1c5143=_0x4aec,_0x368db8;if(typeof window<'u'&&window[_0x1c5143(0x2d7)]&&(_0x368db8=window[_0x1c5143(0x2d7)]),typeof self<'u'&&self[_0x1c5143(0x2d7)]&&(_0x368db8=self['crypto']),typeof globalThis<'u'&&globalThis[_0x1c5143(0x2d7)]&&(_0x368db8=globalThis[_0x1c5143(0x2d7)]),!_0x368db8&&typeof window<'u'&&window[_0x1c5143(0x3de)]&&(_0x368db8=window[_0x1c5143(0x3de)]),!_0x368db8&&typeof Pe<'u'&&Pe['crypto']&&(_0x368db8=Pe['crypto']),!_0x368db8&&typeof gi==_0x1c5143(0x4b3))try{_0x368db8=require('crypto');}catch{}var _0x143360=function(){var _0x49ccdd=_0x1c5143;if(_0x368db8){if(typeof _0x368db8[_0x49ccdd(0x1dc)]==_0x49ccdd(0x4b3))try{return _0x368db8[_0x49ccdd(0x1dc)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x368db8[_0x49ccdd(0x29a)]==_0x49ccdd(0x4b3))try{return _0x368db8[_0x49ccdd(0x29a)](0x4)[_0x49ccdd(0x410)]();}catch{}}throw new Error(_0x49ccdd(0x40f));},_0x480c1b=Object[_0x1c5143(0x2be)]||(function(){function _0xdb8b8d(){}return function(_0x40dedc){var _0x15bc42=_0x4aec,_0x5eb489;return _0xdb8b8d[_0x15bc42(0x2d3)]=_0x40dedc,_0x5eb489=new _0xdb8b8d(),_0xdb8b8d[_0x15bc42(0x2d3)]=null,_0x5eb489;};}()),_0x16c8a7={},_0x32a18c=_0x16c8a7['lib']={},_0x5314ff=_0x32a18c[_0x1c5143(0x35d)]=(function(){return{'extend':function(_0x449991){var _0xbbc175=_0x4aec,_0x457233=_0x480c1b(this);return _0x449991&&_0x457233[_0xbbc175(0x391)](_0x449991),(!_0x457233[_0xbbc175(0x4a9)](_0xbbc175(0x1e0))||this[_0xbbc175(0x1e0)]===_0x457233[_0xbbc175(0x1e0)])&&(_0x457233[_0xbbc175(0x1e0)]=function(){var _0x57ffd6=_0xbbc175;_0x457233['$super'][_0x57ffd6(0x1e0)][_0x57ffd6(0x21f)](this,arguments);}),_0x457233['init']['prototype']=_0x457233,_0x457233['$super']=this,_0x457233;},'create':function(){var _0x5b9869=_0x4aec,_0x524b41=this[_0x5b9869(0x285)]();return _0x524b41['init'][_0x5b9869(0x21f)](_0x524b41,arguments),_0x524b41;},'init':function(){},'mixIn':function(_0x467fca){var _0x3949d6=_0x4aec;for(var _0xda9bbb in _0x467fca)_0x467fca['hasOwnProperty'](_0xda9bbb)&&(this[_0xda9bbb]=_0x467fca[_0xda9bbb]);_0x467fca[_0x3949d6(0x4a9)](_0x3949d6(0x376))&&(this[_0x3949d6(0x376)]=_0x467fca[_0x3949d6(0x376)]);},'clone':function(){var _0x39eba9=_0x4aec;return this[_0x39eba9(0x1e0)][_0x39eba9(0x2d3)][_0x39eba9(0x285)](this);}};}()),_0x4396e5=_0x32a18c[_0x1c5143(0x4fc)]=_0x5314ff['extend']({'init':function(_0xc772c4,_0x250449){var _0x245f10=_0x1c5143;_0xc772c4=this['words']=_0xc772c4||[],_0x250449!=_0x52ab81?this['sigBytes']=_0x250449:this['sigBytes']=_0xc772c4[_0x245f10(0x371)]*0x4;},'toString':function(_0x2e9a58){return(_0x2e9a58||_0x756b63)['stringify'](this);},'concat':function(_0x224a44){var _0xa75121=_0x1c5143,_0x12bcb1=this[_0xa75121(0x3ea)],_0x1f2432=_0x224a44[_0xa75121(0x3ea)],_0x2caa88=this[_0xa75121(0x4cd)],_0x2fedeb=_0x224a44[_0xa75121(0x4cd)];if(this[_0xa75121(0x1ec)](),_0x2caa88%0x4)for(var _0x49f313=0x0;_0x49f313<_0x2fedeb;_0x49f313++){var _0x39fc65=_0x1f2432[_0x49f313>>>0x2]>>>0x18-_0x49f313%0x4*0x8&0xff;_0x12bcb1[_0x2caa88+_0x49f313>>>0x2]|=_0x39fc65<<0x18-(_0x2caa88+_0x49f313)%0x4*0x8;}else{for(var _0x269014=0x0;_0x269014<_0x2fedeb;_0x269014+=0x4)_0x12bcb1[_0x2caa88+_0x269014>>>0x2]=_0x1f2432[_0x269014>>>0x2];}return this[_0xa75121(0x4cd)]+=_0x2fedeb,this;},'clamp':function(){var _0x100063=_0x1c5143,_0x2b0068=this[_0x100063(0x3ea)],_0x5a17c5=this['sigBytes'];_0x2b0068[_0x5a17c5>>>0x2]&=0xffffffff<<0x20-_0x5a17c5%0x4*0x8,_0x2b0068[_0x100063(0x371)]=_0x1b9b63[_0x100063(0x329)](_0x5a17c5/0x4);},'clone':function(){var _0x2a399a=_0x1c5143,_0x3b7eec=_0x5314ff[_0x2a399a(0x33b)][_0x2a399a(0x411)](this);return _0x3b7eec[_0x2a399a(0x3ea)]=this[_0x2a399a(0x3ea)][_0x2a399a(0x4ab)](0x0),_0x3b7eec;},'random':function(_0x491beb){var _0x537806=_0x1c5143;for(var _0x332b87=[],_0x4d406d=0x0;_0x4d406d<_0x491beb;_0x4d406d+=0x4)_0x332b87[_0x537806(0x24d)](_0x143360());return new _0x4396e5[(_0x537806(0x1e0))](_0x332b87,_0x491beb);}}),_0x200c2f=_0x16c8a7[_0x1c5143(0x216)]={},_0x756b63=_0x200c2f[_0x1c5143(0x4a1)]={'stringify':function(_0xb1fc70){var _0x21a6d8=_0x1c5143;for(var _0x3f76d7=_0xb1fc70[_0x21a6d8(0x3ea)],_0x53dbcb=_0xb1fc70[_0x21a6d8(0x4cd)],_0x3498df=[],_0x283419=0x0;_0x283419<_0x53dbcb;_0x283419++){var _0x134a36=_0x3f76d7[_0x283419>>>0x2]>>>0x18-_0x283419%0x4*0x8&0xff;_0x3498df[_0x21a6d8(0x24d)]((_0x134a36>>>0x4)[_0x21a6d8(0x376)](0x10)),_0x3498df[_0x21a6d8(0x24d)]((_0x134a36&0xf)[_0x21a6d8(0x376)](0x10));}return _0x3498df[_0x21a6d8(0x315)]('');},'parse':function(_0x22708d){var _0x27a737=_0x1c5143;for(var _0x84fe49=_0x22708d['length'],_0x35be00=[],_0x1ed6f8=0x0;_0x1ed6f8<_0x84fe49;_0x1ed6f8+=0x2)_0x35be00[_0x1ed6f8>>>0x3]|=parseInt(_0x22708d['substr'](_0x1ed6f8,0x2),0x10)<<0x18-_0x1ed6f8%0x8*0x4;return new _0x4396e5[(_0x27a737(0x1e0))](_0x35be00,_0x84fe49/0x2);}},_0xe4d444=_0x200c2f['Latin1']={'stringify':function(_0x48b661){var _0x3bc2b4=_0x1c5143;for(var _0xd78868=_0x48b661[_0x3bc2b4(0x3ea)],_0x560645=_0x48b661[_0x3bc2b4(0x4cd)],_0xe9650d=[],_0x55ecfb=0x0;_0x55ecfb<_0x560645;_0x55ecfb++){var _0xcde0b=_0xd78868[_0x55ecfb>>>0x2]>>>0x18-_0x55ecfb%0x4*0x8&0xff;_0xe9650d[_0x3bc2b4(0x24d)](String[_0x3bc2b4(0x34e)](_0xcde0b));}return _0xe9650d[_0x3bc2b4(0x315)]('');},'parse':function(_0x5f3df4){var _0x1d4005=_0x1c5143;for(var _0x132655=_0x5f3df4[_0x1d4005(0x371)],_0xb8e585=[],_0x289199=0x0;_0x289199<_0x132655;_0x289199++)_0xb8e585[_0x289199>>>0x2]|=(_0x5f3df4['charCodeAt'](_0x289199)&0xff)<<0x18-_0x289199%0x4*0x8;return new _0x4396e5['init'](_0xb8e585,_0x132655);}},_0x39f0dc=_0x200c2f['Utf8']={'stringify':function(_0x3ae695){var _0x55084e=_0x1c5143;try{return decodeURIComponent(escape(_0xe4d444[_0x55084e(0x34f)](_0x3ae695)));}catch{throw new Error(_0x55084e(0x340));}},'parse':function(_0x425694){return _0xe4d444['parse'](unescape(encodeURIComponent(_0x425694)));}},_0x3336da=_0x32a18c[_0x1c5143(0x43f)]=_0x5314ff[_0x1c5143(0x285)]({'reset':function(){var _0x4ee760=_0x1c5143;this[_0x4ee760(0x268)]=new _0x4396e5[(_0x4ee760(0x1e0))](),this['_nDataBytes']=0x0;},'_append':function(_0x1f0044){var _0x47802b=_0x1c5143;typeof _0x1f0044==_0x47802b(0x356)&&(_0x1f0044=_0x39f0dc[_0x47802b(0x477)](_0x1f0044)),this['_data'][_0x47802b(0x448)](_0x1f0044),this['_nDataBytes']+=_0x1f0044[_0x47802b(0x4cd)];},'_process':function(_0x41c22e){var _0x16a6aa=_0x1c5143,_0x522238,_0x5148be=this[_0x16a6aa(0x268)],_0xfb5f37=_0x5148be[_0x16a6aa(0x3ea)],_0x524b98=_0x5148be[_0x16a6aa(0x4cd)],_0x54942c=this['blockSize'],_0x1d2cc4=_0x54942c*0x4,_0x2b2125=_0x524b98/_0x1d2cc4;_0x41c22e?_0x2b2125=_0x1b9b63['ceil'](_0x2b2125):_0x2b2125=_0x1b9b63[_0x16a6aa(0x3cf)]((_0x2b2125|0x0)-this[_0x16a6aa(0x3f9)],0x0);var _0x292965=_0x2b2125*_0x54942c,_0x16e560=_0x1b9b63['min'](_0x292965*0x4,_0x524b98);if(_0x292965){for(var _0x364322=0x0;_0x364322<_0x292965;_0x364322+=_0x54942c)this[_0x16a6aa(0x4db)](_0xfb5f37,_0x364322);_0x522238=_0xfb5f37[_0x16a6aa(0x50a)](0x0,_0x292965),_0x5148be[_0x16a6aa(0x4cd)]-=_0x16e560;}return new _0x4396e5['init'](_0x522238,_0x16e560);},'clone':function(){var _0x5b5b62=_0x1c5143,_0x2cd5c5=_0x5314ff['clone'][_0x5b5b62(0x411)](this);return _0x2cd5c5['_data']=this[_0x5b5b62(0x268)]['clone'](),_0x2cd5c5;},'_minBufferSize':0x0});_0x32a18c[_0x1c5143(0x3a7)]=_0x3336da[_0x1c5143(0x285)]({'cfg':_0x5314ff[_0x1c5143(0x285)](),'init':function(_0x37f972){var _0x1a1b3b=_0x1c5143;this[_0x1a1b3b(0x3fa)]=this[_0x1a1b3b(0x3fa)][_0x1a1b3b(0x285)](_0x37f972),this[_0x1a1b3b(0x232)]();},'reset':function(){var _0x367148=_0x1c5143;_0x3336da['reset'][_0x367148(0x411)](this),this['_doReset']();},'update':function(_0x58955d){var _0x52b8a2=_0x1c5143;return this[_0x52b8a2(0x28f)](_0x58955d),this[_0x52b8a2(0x44f)](),this;},'finalize':function(_0x5568a4){var _0xf267c5=_0x1c5143;_0x5568a4&&this[_0xf267c5(0x28f)](_0x5568a4);var _0x5f1686=this[_0xf267c5(0x23e)]();return _0x5f1686;},'blockSize':0x10,'_createHelper':function(_0x4d9b26){return function(_0x409d09,_0xefdbce){var _0x37f54f=_0x4aec;return new _0x4d9b26[(_0x37f54f(0x1e0))](_0xefdbce)[_0x37f54f(0x4ff)](_0x409d09);};},'_createHmacHelper':function(_0x13f2ee){return function(_0x4c72d1,_0x6e2fcf){var _0x396dc7=_0x4aec;return new _0x4d2f0b[(_0x396dc7(0x496))][(_0x396dc7(0x1e0))](_0x13f2ee,_0x6e2fcf)[_0x396dc7(0x4ff)](_0x4c72d1);};}});var _0x4d2f0b=_0x16c8a7[_0x1c5143(0x3db)]={};return _0x16c8a7;}(Math);return _0x30543e;}));}(fe)),fe[_0x4c35a8(0x1cd)];}var Ee={'exports':{}},Ci=Ee['exports'],ze;function Tt(){return ze||(ze=0x1,function(_0x1e8442,_0xea7d86){(function(_0x4e16b7,_0x2f1d70){_0x1e8442['exports']=_0x2f1d70(Z());}(Ci,function(_0x353ff8){var _0x5a419f=_0x4aec;return(function(){var _0xc382e8=_0x4aec,_0x3f261b=_0x353ff8,_0xac19c1=_0x3f261b[_0xc382e8(0x4eb)],_0x5852d1=_0xac19c1[_0xc382e8(0x4fc)],_0x5b49ff=_0x3f261b['enc'];_0x5b49ff[_0xc382e8(0x489)]={'stringify':function(_0x8c72b7){var _0x5098e3=_0xc382e8,_0x1bbf35=_0x8c72b7['words'],_0x3dd509=_0x8c72b7[_0x5098e3(0x4cd)],_0x18f3df=this[_0x5098e3(0x220)];_0x8c72b7['clamp']();for(var _0x2b2335=[],_0x17b2e5=0x0;_0x17b2e5<_0x3dd509;_0x17b2e5+=0x3)for(var _0x3dc42f=_0x1bbf35[_0x17b2e5>>>0x2]>>>0x18-_0x17b2e5%0x4*0x8&0xff,_0x4e8d10=_0x1bbf35[_0x17b2e5+0x1>>>0x2]>>>0x18-(_0x17b2e5+0x1)%0x4*0x8&0xff,_0x463941=_0x1bbf35[_0x17b2e5+0x2>>>0x2]>>>0x18-(_0x17b2e5+0x2)%0x4*0x8&0xff,_0x331e5f=_0x3dc42f<<0x10|_0x4e8d10<<0x8|_0x463941,_0x7fb81d=0x0;_0x7fb81d<0x4&&_0x17b2e5+_0x7fb81d*0.75<_0x3dd509;_0x7fb81d++)_0x2b2335[_0x5098e3(0x24d)](_0x18f3df[_0x5098e3(0x350)](_0x331e5f>>>0x6*(0x3-_0x7fb81d)&0x3f));var _0x2a9b9b=_0x18f3df[_0x5098e3(0x350)](0x40);if(_0x2a9b9b){for(;_0x2b2335[_0x5098e3(0x371)]%0x4;)_0x2b2335['push'](_0x2a9b9b);}return _0x2b2335['join']('');},'parse':function(_0x1bfd63){var _0x5d6e62=_0xc382e8,_0x434443=_0x1bfd63[_0x5d6e62(0x371)],_0x3ff055=this[_0x5d6e62(0x220)],_0x2d3eb6=this['_reverseMap'];if(!_0x2d3eb6){_0x2d3eb6=this[_0x5d6e62(0x1b0)]=[];for(var _0x2e649e=0x0;_0x2e649e<_0x3ff055['length'];_0x2e649e++)_0x2d3eb6[_0x3ff055[_0x5d6e62(0x1f2)](_0x2e649e)]=_0x2e649e;}var _0x3693dd=_0x3ff055[_0x5d6e62(0x350)](0x40);if(_0x3693dd){var _0x1e66e5=_0x1bfd63[_0x5d6e62(0x467)](_0x3693dd);_0x1e66e5!==-0x1&&(_0x434443=_0x1e66e5);}return _0x1613b0(_0x1bfd63,_0x434443,_0x2d3eb6);},'_map':_0xc382e8(0x2d6)};function _0x1613b0(_0x5b68a5,_0x3dc875,_0x4393fc){var _0x715bc8=_0xc382e8;for(var _0x26f1c9=[],_0xe9f502=0x0,_0x4fc08c=0x0;_0x4fc08c<_0x3dc875;_0x4fc08c++)if(_0x4fc08c%0x4){var _0x284a10=_0x4393fc[_0x5b68a5[_0x715bc8(0x1f2)](_0x4fc08c-0x1)]<<_0x4fc08c%0x4*0x2,_0x39e042=_0x4393fc[_0x5b68a5[_0x715bc8(0x1f2)](_0x4fc08c)]>>>0x6-_0x4fc08c%0x4*0x2,_0x184f3e=_0x284a10|_0x39e042;_0x26f1c9[_0xe9f502>>>0x2]|=_0x184f3e<<0x18-_0xe9f502%0x4*0x8,_0xe9f502++;}return _0x5852d1['create'](_0x26f1c9,_0xe9f502);}}()),_0x353ff8[_0x5a419f(0x216)][_0x5a419f(0x489)];}));}(Ee)),Ee['exports'];}var pe={'exports':{}},Oi=pe['exports'],Xe;function bi(){return Xe||(Xe=0x1,function(_0x5b0abe,_0x1a5af7){(function(_0x459d4d,_0x58d906){_0x5b0abe['exports']=_0x58d906(Z());}(Oi,function(_0x1a4dde){return function(_0xc201e8){var _0x2cb3fc=_0x4aec,_0x33a673=_0x1a4dde,_0x31b203=_0x33a673[_0x2cb3fc(0x4eb)],_0x184ef0=_0x31b203[_0x2cb3fc(0x4fc)],_0x445d38=_0x31b203[_0x2cb3fc(0x3a7)],_0x2fd78f=_0x33a673[_0x2cb3fc(0x3db)],_0x572225=[];(function(){var _0x4f8d80=_0x2cb3fc;for(var _0x561165=0x0;_0x561165<0x40;_0x561165++)_0x572225[_0x561165]=_0xc201e8[_0x4f8d80(0x1e4)](_0xc201e8['sin'](_0x561165+0x1))*0x100000000|0x0;}());var _0xcefe57=_0x2fd78f[_0x2cb3fc(0x2b8)]=_0x445d38['extend']({'_doReset':function(){var _0x54eab4=_0x2cb3fc;this[_0x54eab4(0x2b6)]=new _0x184ef0['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x54557d,_0x47723c){var _0xe113dd=_0x2cb3fc;for(var _0x3adf89=0x0;_0x3adf89<0x10;_0x3adf89++){var _0x3ced32=_0x47723c+_0x3adf89,_0x4e65eb=_0x54557d[_0x3ced32];_0x54557d[_0x3ced32]=(_0x4e65eb<<0x8|_0x4e65eb>>>0x18)&0xff00ff|(_0x4e65eb<<0x18|_0x4e65eb>>>0x8)&0xff00ff00;}var _0x490575=this[_0xe113dd(0x2b6)][_0xe113dd(0x3ea)],_0x1de2a5=_0x54557d[_0x47723c+0x0],_0x36d936=_0x54557d[_0x47723c+0x1],_0x5de48d=_0x54557d[_0x47723c+0x2],_0x331427=_0x54557d[_0x47723c+0x3],_0x18d042=_0x54557d[_0x47723c+0x4],_0x425110=_0x54557d[_0x47723c+0x5],_0xaa59bd=_0x54557d[_0x47723c+0x6],_0xc2972a=_0x54557d[_0x47723c+0x7],_0x12c751=_0x54557d[_0x47723c+0x8],_0x481849=_0x54557d[_0x47723c+0x9],_0x90dc65=_0x54557d[_0x47723c+0xa],_0x4cead6=_0x54557d[_0x47723c+0xb],_0x3d11fb=_0x54557d[_0x47723c+0xc],_0x8ae6b1=_0x54557d[_0x47723c+0xd],_0x5577d0=_0x54557d[_0x47723c+0xe],_0x339bfb=_0x54557d[_0x47723c+0xf],_0x47039a=_0x490575[0x0],_0x1820b5=_0x490575[0x1],_0x4e9cc1=_0x490575[0x2],_0x2ff46b=_0x490575[0x3];_0x47039a=_0xe5311c(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x1de2a5,0x7,_0x572225[0x0]),_0x2ff46b=_0xe5311c(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x36d936,0xc,_0x572225[0x1]),_0x4e9cc1=_0xe5311c(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x5de48d,0x11,_0x572225[0x2]),_0x1820b5=_0xe5311c(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x331427,0x16,_0x572225[0x3]),_0x47039a=_0xe5311c(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x18d042,0x7,_0x572225[0x4]),_0x2ff46b=_0xe5311c(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x425110,0xc,_0x572225[0x5]),_0x4e9cc1=_0xe5311c(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0xaa59bd,0x11,_0x572225[0x6]),_0x1820b5=_0xe5311c(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0xc2972a,0x16,_0x572225[0x7]),_0x47039a=_0xe5311c(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x12c751,0x7,_0x572225[0x8]),_0x2ff46b=_0xe5311c(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x481849,0xc,_0x572225[0x9]),_0x4e9cc1=_0xe5311c(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x90dc65,0x11,_0x572225[0xa]),_0x1820b5=_0xe5311c(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x4cead6,0x16,_0x572225[0xb]),_0x47039a=_0xe5311c(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x3d11fb,0x7,_0x572225[0xc]),_0x2ff46b=_0xe5311c(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x8ae6b1,0xc,_0x572225[0xd]),_0x4e9cc1=_0xe5311c(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x5577d0,0x11,_0x572225[0xe]),_0x1820b5=_0xe5311c(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x339bfb,0x16,_0x572225[0xf]),_0x47039a=_0x7eb791(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x36d936,0x5,_0x572225[0x10]),_0x2ff46b=_0x7eb791(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0xaa59bd,0x9,_0x572225[0x11]),_0x4e9cc1=_0x7eb791(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x4cead6,0xe,_0x572225[0x12]),_0x1820b5=_0x7eb791(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1de2a5,0x14,_0x572225[0x13]),_0x47039a=_0x7eb791(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x425110,0x5,_0x572225[0x14]),_0x2ff46b=_0x7eb791(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x90dc65,0x9,_0x572225[0x15]),_0x4e9cc1=_0x7eb791(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x339bfb,0xe,_0x572225[0x16]),_0x1820b5=_0x7eb791(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x18d042,0x14,_0x572225[0x17]),_0x47039a=_0x7eb791(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x481849,0x5,_0x572225[0x18]),_0x2ff46b=_0x7eb791(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x5577d0,0x9,_0x572225[0x19]),_0x4e9cc1=_0x7eb791(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x331427,0xe,_0x572225[0x1a]),_0x1820b5=_0x7eb791(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x12c751,0x14,_0x572225[0x1b]),_0x47039a=_0x7eb791(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x8ae6b1,0x5,_0x572225[0x1c]),_0x2ff46b=_0x7eb791(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x5de48d,0x9,_0x572225[0x1d]),_0x4e9cc1=_0x7eb791(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0xc2972a,0xe,_0x572225[0x1e]),_0x1820b5=_0x7eb791(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x3d11fb,0x14,_0x572225[0x1f]),_0x47039a=_0x909f29(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x425110,0x4,_0x572225[0x20]),_0x2ff46b=_0x909f29(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x12c751,0xb,_0x572225[0x21]),_0x4e9cc1=_0x909f29(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x4cead6,0x10,_0x572225[0x22]),_0x1820b5=_0x909f29(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x5577d0,0x17,_0x572225[0x23]),_0x47039a=_0x909f29(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x36d936,0x4,_0x572225[0x24]),_0x2ff46b=_0x909f29(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x18d042,0xb,_0x572225[0x25]),_0x4e9cc1=_0x909f29(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0xc2972a,0x10,_0x572225[0x26]),_0x1820b5=_0x909f29(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x90dc65,0x17,_0x572225[0x27]),_0x47039a=_0x909f29(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x8ae6b1,0x4,_0x572225[0x28]),_0x2ff46b=_0x909f29(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x1de2a5,0xb,_0x572225[0x29]),_0x4e9cc1=_0x909f29(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x331427,0x10,_0x572225[0x2a]),_0x1820b5=_0x909f29(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0xaa59bd,0x17,_0x572225[0x2b]),_0x47039a=_0x909f29(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x481849,0x4,_0x572225[0x2c]),_0x2ff46b=_0x909f29(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x3d11fb,0xb,_0x572225[0x2d]),_0x4e9cc1=_0x909f29(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x339bfb,0x10,_0x572225[0x2e]),_0x1820b5=_0x909f29(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x5de48d,0x17,_0x572225[0x2f]),_0x47039a=_0x3384b7(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x1de2a5,0x6,_0x572225[0x30]),_0x2ff46b=_0x3384b7(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0xc2972a,0xa,_0x572225[0x31]),_0x4e9cc1=_0x3384b7(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x5577d0,0xf,_0x572225[0x32]),_0x1820b5=_0x3384b7(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x425110,0x15,_0x572225[0x33]),_0x47039a=_0x3384b7(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x3d11fb,0x6,_0x572225[0x34]),_0x2ff46b=_0x3384b7(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x331427,0xa,_0x572225[0x35]),_0x4e9cc1=_0x3384b7(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x90dc65,0xf,_0x572225[0x36]),_0x1820b5=_0x3384b7(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x36d936,0x15,_0x572225[0x37]),_0x47039a=_0x3384b7(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x12c751,0x6,_0x572225[0x38]),_0x2ff46b=_0x3384b7(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x339bfb,0xa,_0x572225[0x39]),_0x4e9cc1=_0x3384b7(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0xaa59bd,0xf,_0x572225[0x3a]),_0x1820b5=_0x3384b7(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x8ae6b1,0x15,_0x572225[0x3b]),_0x47039a=_0x3384b7(_0x47039a,_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x18d042,0x6,_0x572225[0x3c]),_0x2ff46b=_0x3384b7(_0x2ff46b,_0x47039a,_0x1820b5,_0x4e9cc1,_0x4cead6,0xa,_0x572225[0x3d]),_0x4e9cc1=_0x3384b7(_0x4e9cc1,_0x2ff46b,_0x47039a,_0x1820b5,_0x5de48d,0xf,_0x572225[0x3e]),_0x1820b5=_0x3384b7(_0x1820b5,_0x4e9cc1,_0x2ff46b,_0x47039a,_0x481849,0x15,_0x572225[0x3f]),_0x490575[0x0]=_0x490575[0x0]+_0x47039a|0x0,_0x490575[0x1]=_0x490575[0x1]+_0x1820b5|0x0,_0x490575[0x2]=_0x490575[0x2]+_0x4e9cc1|0x0,_0x490575[0x3]=_0x490575[0x3]+_0x2ff46b|0x0;},'_doFinalize':function(){var _0x40963d=_0x2cb3fc,_0x2eaa31=this[_0x40963d(0x268)],_0x1f1caf=_0x2eaa31[_0x40963d(0x3ea)],_0x5c68fe=this[_0x40963d(0x377)]*0x8,_0x577858=_0x2eaa31[_0x40963d(0x4cd)]*0x8;_0x1f1caf[_0x577858>>>0x5]|=0x80<<0x18-_0x577858%0x20;var _0x30c3e2=_0xc201e8[_0x40963d(0x28d)](_0x5c68fe/0x100000000),_0x2197cb=_0x5c68fe;_0x1f1caf[(_0x577858+0x40>>>0x9<<0x4)+0xf]=(_0x30c3e2<<0x8|_0x30c3e2>>>0x18)&0xff00ff|(_0x30c3e2<<0x18|_0x30c3e2>>>0x8)&0xff00ff00,_0x1f1caf[(_0x577858+0x40>>>0x9<<0x4)+0xe]=(_0x2197cb<<0x8|_0x2197cb>>>0x18)&0xff00ff|(_0x2197cb<<0x18|_0x2197cb>>>0x8)&0xff00ff00,_0x2eaa31['sigBytes']=(_0x1f1caf[_0x40963d(0x371)]+0x1)*0x4,this[_0x40963d(0x44f)]();for(var _0x326c75=this[_0x40963d(0x2b6)],_0x347581=_0x326c75['words'],_0x57e17b=0x0;_0x57e17b<0x4;_0x57e17b++){var _0x53c303=_0x347581[_0x57e17b];_0x347581[_0x57e17b]=(_0x53c303<<0x8|_0x53c303>>>0x18)&0xff00ff|(_0x53c303<<0x18|_0x53c303>>>0x8)&0xff00ff00;}return _0x326c75;},'clone':function(){var _0x53c011=_0x2cb3fc,_0x51277c=_0x445d38['clone'][_0x53c011(0x411)](this);return _0x51277c['_hash']=this[_0x53c011(0x2b6)]['clone'](),_0x51277c;}});function _0xe5311c(_0x30dffb,_0x4b997f,_0x14eab6,_0x30c20c,_0x4e340d,_0x5cb663,_0x6a4cd5){var _0x396cbb=_0x30dffb+(_0x4b997f&_0x14eab6|~_0x4b997f&_0x30c20c)+_0x4e340d+_0x6a4cd5;return(_0x396cbb<<_0x5cb663|_0x396cbb>>>0x20-_0x5cb663)+_0x4b997f;}function _0x7eb791(_0x2e5cad,_0x15af49,_0x223658,_0x61884c,_0x1967c5,_0x246955,_0x1e574d){var _0xf923ed=_0x2e5cad+(_0x15af49&_0x61884c|_0x223658&~_0x61884c)+_0x1967c5+_0x1e574d;return(_0xf923ed<<_0x246955|_0xf923ed>>>0x20-_0x246955)+_0x15af49;}function _0x909f29(_0x3922f7,_0x202eda,_0x584230,_0x3ef860,_0x32ee47,_0x512735,_0xcd4226){var _0x46a6bb=_0x3922f7+(_0x202eda^_0x584230^_0x3ef860)+_0x32ee47+_0xcd4226;return(_0x46a6bb<<_0x512735|_0x46a6bb>>>0x20-_0x512735)+_0x202eda;}function _0x3384b7(_0xa7839e,_0x34b68d,_0x36be6d,_0x387d68,_0x29947c,_0x5d69a9,_0x24f4c5){var _0x368859=_0xa7839e+(_0x36be6d^(_0x34b68d|~_0x387d68))+_0x29947c+_0x24f4c5;return(_0x368859<<_0x5d69a9|_0x368859>>>0x20-_0x5d69a9)+_0x34b68d;}_0x33a673[_0x2cb3fc(0x2b8)]=_0x445d38[_0x2cb3fc(0x283)](_0xcefe57),_0x33a673['HmacMD5']=_0x445d38[_0x2cb3fc(0x1bd)](_0xcefe57);}(Math),_0x1a4dde['MD5'];}));}(pe)),pe['exports'];}var me={'exports':{}},ge={'exports':{}},Ri=ge[_0x10f867(0x1cd)],Je;function Ni(){return Je||(Je=0x1,function(_0x383090,_0x3a0dfe){(function(_0x415b30,_0x16d673){_0x383090['exports']=_0x16d673(Z());}(Ri,function(_0x2f87c2){return(function(){var _0x15cded=_0x4aec,_0x4af5b7=_0x2f87c2,_0x18f464=_0x4af5b7[_0x15cded(0x4eb)],_0x15300b=_0x18f464[_0x15cded(0x4fc)],_0x2b5909=_0x18f464[_0x15cded(0x3a7)],_0x3d0743=_0x4af5b7[_0x15cded(0x3db)],_0x5c0369=[],_0x1bfff8=_0x3d0743[_0x15cded(0x1b7)]=_0x2b5909[_0x15cded(0x285)]({'_doReset':function(){this['_hash']=new _0x15300b['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xe3a632,_0x580b0e){var _0x157fe8=_0x15cded;for(var _0x28cb11=this[_0x157fe8(0x2b6)][_0x157fe8(0x3ea)],_0x2505fa=_0x28cb11[0x0],_0xe1d6fd=_0x28cb11[0x1],_0xd98506=_0x28cb11[0x2],_0x1fd9aa=_0x28cb11[0x3],_0x555c22=_0x28cb11[0x4],_0x2040b2=0x0;_0x2040b2<0x50;_0x2040b2++){if(_0x2040b2<0x10)_0x5c0369[_0x2040b2]=_0xe3a632[_0x580b0e+_0x2040b2]|0x0;else{var _0x2886f5=_0x5c0369[_0x2040b2-0x3]^_0x5c0369[_0x2040b2-0x8]^_0x5c0369[_0x2040b2-0xe]^_0x5c0369[_0x2040b2-0x10];_0x5c0369[_0x2040b2]=_0x2886f5<<0x1|_0x2886f5>>>0x1f;}var _0x488ea9=(_0x2505fa<<0x5|_0x2505fa>>>0x1b)+_0x555c22+_0x5c0369[_0x2040b2];_0x2040b2<0x14?_0x488ea9+=(_0xe1d6fd&_0xd98506|~_0xe1d6fd&_0x1fd9aa)+0x5a827999:_0x2040b2<0x28?_0x488ea9+=(_0xe1d6fd^_0xd98506^_0x1fd9aa)+0x6ed9eba1:_0x2040b2<0x3c?_0x488ea9+=(_0xe1d6fd&_0xd98506|_0xe1d6fd&_0x1fd9aa|_0xd98506&_0x1fd9aa)-0x70e44324:_0x488ea9+=(_0xe1d6fd^_0xd98506^_0x1fd9aa)-0x359d3e2a,_0x555c22=_0x1fd9aa,_0x1fd9aa=_0xd98506,_0xd98506=_0xe1d6fd<<0x1e|_0xe1d6fd>>>0x2,_0xe1d6fd=_0x2505fa,_0x2505fa=_0x488ea9;}_0x28cb11[0x0]=_0x28cb11[0x0]+_0x2505fa|0x0,_0x28cb11[0x1]=_0x28cb11[0x1]+_0xe1d6fd|0x0,_0x28cb11[0x2]=_0x28cb11[0x2]+_0xd98506|0x0,_0x28cb11[0x3]=_0x28cb11[0x3]+_0x1fd9aa|0x0,_0x28cb11[0x4]=_0x28cb11[0x4]+_0x555c22|0x0;},'_doFinalize':function(){var _0x45258b=_0x15cded,_0x7c8cdc=this['_data'],_0xe1fb1a=_0x7c8cdc[_0x45258b(0x3ea)],_0x3567c2=this[_0x45258b(0x377)]*0x8,_0x14d512=_0x7c8cdc[_0x45258b(0x4cd)]*0x8;return _0xe1fb1a[_0x14d512>>>0x5]|=0x80<<0x18-_0x14d512%0x20,_0xe1fb1a[(_0x14d512+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x3567c2/0x100000000),_0xe1fb1a[(_0x14d512+0x40>>>0x9<<0x4)+0xf]=_0x3567c2,_0x7c8cdc[_0x45258b(0x4cd)]=_0xe1fb1a['length']*0x4,this[_0x45258b(0x44f)](),this['_hash'];},'clone':function(){var _0x16bb5c=_0x15cded,_0x26f4c4=_0x2b5909[_0x16bb5c(0x33b)][_0x16bb5c(0x411)](this);return _0x26f4c4[_0x16bb5c(0x2b6)]=this[_0x16bb5c(0x2b6)][_0x16bb5c(0x33b)](),_0x26f4c4;}});_0x4af5b7[_0x15cded(0x1b7)]=_0x2b5909['_createHelper'](_0x1bfff8),_0x4af5b7[_0x15cded(0x3b2)]=_0x2b5909[_0x15cded(0x1bd)](_0x1bfff8);}()),_0x2f87c2['SHA1'];}));}(ge)),ge['exports'];}var Te={'exports':{}},Di=Te['exports'],Ze;function yi(){var _0x1ae132=_0x10f867;return Ze||(Ze=0x1,function(_0x1c3b9b,_0x241753){(function(_0x67697,_0x37ead2){_0x1c3b9b['exports']=_0x37ead2(Z());}(Di,function(_0x5e26ba){(function(){var _0x3196da=_0x4aec,_0x1cc2f3=_0x5e26ba,_0x1d40b5=_0x1cc2f3[_0x3196da(0x4eb)],_0x17cbd7=_0x1d40b5[_0x3196da(0x35d)],_0x2002c7=_0x1cc2f3[_0x3196da(0x216)],_0x422857=_0x2002c7['Utf8'],_0x5c5113=_0x1cc2f3[_0x3196da(0x3db)];_0x5c5113['HMAC']=_0x17cbd7[_0x3196da(0x285)]({'init':function(_0x10dd7b,_0xb333b4){var _0x11f1c3=_0x3196da;_0x10dd7b=this[_0x11f1c3(0x28e)]=new _0x10dd7b[(_0x11f1c3(0x1e0))](),typeof _0xb333b4==_0x11f1c3(0x356)&&(_0xb333b4=_0x422857[_0x11f1c3(0x477)](_0xb333b4));var _0x29ef82=_0x10dd7b['blockSize'],_0x330371=_0x29ef82*0x4;_0xb333b4[_0x11f1c3(0x4cd)]>_0x330371&&(_0xb333b4=_0x10dd7b[_0x11f1c3(0x4ff)](_0xb333b4)),_0xb333b4[_0x11f1c3(0x1ec)]();for(var _0x26a0fb=this['_oKey']=_0xb333b4[_0x11f1c3(0x33b)](),_0x55ed91=this[_0x11f1c3(0x1c4)]=_0xb333b4[_0x11f1c3(0x33b)](),_0x18afeb=_0x26a0fb[_0x11f1c3(0x3ea)],_0x21fe56=_0x55ed91['words'],_0x4084f8=0x0;_0x4084f8<_0x29ef82;_0x4084f8++)_0x18afeb[_0x4084f8]^=0x5c5c5c5c,_0x21fe56[_0x4084f8]^=0x36363636;_0x26a0fb[_0x11f1c3(0x4cd)]=_0x55ed91[_0x11f1c3(0x4cd)]=_0x330371,this[_0x11f1c3(0x232)]();},'reset':function(){var _0x5986a7=_0x3196da,_0x3f1011=this[_0x5986a7(0x28e)];_0x3f1011[_0x5986a7(0x232)](),_0x3f1011[_0x5986a7(0x4e1)](this['_iKey']);},'update':function(_0x30a34b){var _0x1514dc=_0x3196da;return this[_0x1514dc(0x28e)][_0x1514dc(0x4e1)](_0x30a34b),this;},'finalize':function(_0x2aa87e){var _0x297159=_0x3196da,_0x34e6d4=this['_hasher'],_0x2593d9=_0x34e6d4[_0x297159(0x4ff)](_0x2aa87e);_0x34e6d4[_0x297159(0x232)]();var _0x333723=_0x34e6d4['finalize'](this['_oKey'][_0x297159(0x33b)]()[_0x297159(0x448)](_0x2593d9));return _0x333723;}});}());}));}(Te)),Te[_0x1ae132(0x1cd)];}var Ui=me[_0x10f867(0x1cd)],Qe;function Ct(){var _0x3cbb32=_0x10f867;return Qe||(Qe=0x1,function(_0x1fe651,_0x5e485c){(function(_0x164eb2,_0x5ee3bf,_0x3a4815){var _0x267dc7=_0x4aec;_0x1fe651[_0x267dc7(0x1cd)]=_0x5ee3bf(Z(),Ni(),yi());}(Ui,function(_0xdbb29c){var _0x223ecc=_0x4aec;return(function(){var _0x202590=_0x4aec,_0x27b662=_0xdbb29c,_0x12641b=_0x27b662['lib'],_0x37acc4=_0x12641b[_0x202590(0x35d)],_0x2c35c6=_0x12641b[_0x202590(0x4fc)],_0x183d1a=_0x27b662[_0x202590(0x3db)],_0x4e3413=_0x183d1a[_0x202590(0x2b8)],_0x4eb62e=_0x183d1a[_0x202590(0x2c0)]=_0x37acc4[_0x202590(0x285)]({'cfg':_0x37acc4['extend']({'keySize':0x80/0x20,'hasher':_0x4e3413,'iterations':0x1}),'init':function(_0x342f50){var _0x3486fe=_0x202590;this[_0x3486fe(0x3fa)]=this[_0x3486fe(0x3fa)][_0x3486fe(0x285)](_0x342f50);},'compute':function(_0x355855,_0x1d29ed){var _0xdf6eaf=_0x202590;for(var _0x5b9745,_0x282e60=this[_0xdf6eaf(0x3fa)],_0x187773=_0x282e60[_0xdf6eaf(0x335)][_0xdf6eaf(0x2be)](),_0x519341=_0x2c35c6['create'](),_0x465249=_0x519341[_0xdf6eaf(0x3ea)],_0x1dff24=_0x282e60[_0xdf6eaf(0x3d9)],_0x533b38=_0x282e60['iterations'];_0x465249[_0xdf6eaf(0x371)]<_0x1dff24;){_0x5b9745&&_0x187773[_0xdf6eaf(0x4e1)](_0x5b9745),_0x5b9745=_0x187773['update'](_0x355855)[_0xdf6eaf(0x4ff)](_0x1d29ed),_0x187773[_0xdf6eaf(0x232)]();for(var _0x178409=0x1;_0x178409<_0x533b38;_0x178409++)_0x5b9745=_0x187773[_0xdf6eaf(0x4ff)](_0x5b9745),_0x187773[_0xdf6eaf(0x232)]();_0x519341[_0xdf6eaf(0x448)](_0x5b9745);}return _0x519341[_0xdf6eaf(0x4cd)]=_0x1dff24*0x4,_0x519341;}});_0x27b662[_0x202590(0x2c0)]=function(_0x2ab64f,_0x1e1cca,_0x3ecd50){var _0x485e37=_0x202590;return _0x4eb62e['create'](_0x3ecd50)[_0x485e37(0x366)](_0x2ab64f,_0x1e1cca);};}()),_0xdbb29c[_0x223ecc(0x2c0)];}));}(me)),me[_0x3cbb32(0x1cd)];}var Ce={'exports':{}},Ai=Ce['exports'],et;function Ot(){var _0x87f755=_0x10f867;return et||(et=0x1,function(_0x497544,_0x1f8693){(function(_0x4f12b3,_0x333dc3,_0x2cb507){var _0x2d5104=_0x4aec;_0x497544[_0x2d5104(0x1cd)]=_0x333dc3(Z(),Ct());}(Ai,function(_0x520f5e){var _0x23b6b3=_0x4aec;_0x520f5e[_0x23b6b3(0x4eb)][_0x23b6b3(0x4d0)]||function(_0x576133){var _0x518991=_0x23b6b3,_0x290048=_0x520f5e,_0x528eac=_0x290048[_0x518991(0x4eb)],_0x2647d0=_0x528eac['Base'],_0x4ffd36=_0x528eac['WordArray'],_0x1fe0f3=_0x528eac['BufferedBlockAlgorithm'],_0x505073=_0x290048[_0x518991(0x216)];_0x505073[_0x518991(0x4ef)];var _0x460307=_0x505073[_0x518991(0x489)],_0x1c2cda=_0x290048[_0x518991(0x3db)],_0xc720a5=_0x1c2cda[_0x518991(0x2c0)],_0x577e69=_0x528eac[_0x518991(0x4d0)]=_0x1fe0f3[_0x518991(0x285)]({'cfg':_0x2647d0[_0x518991(0x285)](),'createEncryptor':function(_0x5a615f,_0x28de6c){var _0x5761fe=_0x518991;return this[_0x5761fe(0x2be)](this[_0x5761fe(0x46f)],_0x5a615f,_0x28de6c);},'createDecryptor':function(_0x254826,_0x4861d9){var _0xf51f8b=_0x518991;return this[_0xf51f8b(0x2be)](this['_DEC_XFORM_MODE'],_0x254826,_0x4861d9);},'init':function(_0x9d96ea,_0x307525,_0x3f9280){var _0x5d3e0c=_0x518991;this[_0x5d3e0c(0x3fa)]=this['cfg']['extend'](_0x3f9280),this['_xformMode']=_0x9d96ea,this[_0x5d3e0c(0x41d)]=_0x307525,this[_0x5d3e0c(0x232)]();},'reset':function(){var _0x5ead81=_0x518991;_0x1fe0f3[_0x5ead81(0x232)][_0x5ead81(0x411)](this),this[_0x5ead81(0x387)]();},'process':function(_0x2a2ccd){var _0x3c92d7=_0x518991;return this[_0x3c92d7(0x28f)](_0x2a2ccd),this[_0x3c92d7(0x44f)]();},'finalize':function(_0x86cf02){var _0x2d0750=_0x518991;_0x86cf02&&this['_append'](_0x86cf02);var _0x1864b7=this[_0x2d0750(0x23e)]();return _0x1864b7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x13fa73(_0x5bf0a4){var _0x516028=_0x4aec;return typeof _0x5bf0a4==_0x516028(0x356)?_0x2b579f:_0x258f76;}return function(_0x3592d){return{'encrypt':function(_0xdd794b,_0x2998a7,_0x433715){return _0x13fa73(_0x2998a7)['encrypt'](_0x3592d,_0xdd794b,_0x2998a7,_0x433715);},'decrypt':function(_0x2817a,_0x232702,_0x23fcdf){var _0xa17468=_0x4aec;return _0x13fa73(_0x232702)[_0xa17468(0x31b)](_0x3592d,_0x2817a,_0x232702,_0x23fcdf);}};};}())});_0x528eac[_0x518991(0x473)]=_0x577e69['extend']({'_doFinalize':function(){var _0x2b2b9e=_0x518991,_0x88a88e=this[_0x2b2b9e(0x44f)](!0x0);return _0x88a88e;},'blockSize':0x1});var _0x2b1076=_0x290048[_0x518991(0x353)]={},_0x354839=_0x528eac[_0x518991(0x258)]=_0x2647d0[_0x518991(0x285)]({'createEncryptor':function(_0xbf924d,_0x429468){var _0xafa8f7=_0x518991;return this['Encryptor'][_0xafa8f7(0x2be)](_0xbf924d,_0x429468);},'createDecryptor':function(_0x47fdfa,_0x37e425){var _0x1a1103=_0x518991;return this['Decryptor'][_0x1a1103(0x2be)](_0x47fdfa,_0x37e425);},'init':function(_0xc3b7fa,_0x1d333e){var _0x3ea5f7=_0x518991;this['_cipher']=_0xc3b7fa,this[_0x3ea5f7(0x414)]=_0x1d333e;}}),_0x5e0ff8=_0x2b1076['CBC']=(function(){var _0x28d88a=_0x518991,_0x337fa0=_0x354839['extend']();_0x337fa0[_0x28d88a(0x3ad)]=_0x337fa0[_0x28d88a(0x285)]({'processBlock':function(_0x594077,_0x15c278){var _0x514ee2=_0x28d88a,_0x560723=this['_cipher'],_0x32f2ea=_0x560723[_0x514ee2(0x457)];_0xcadbb1[_0x514ee2(0x411)](this,_0x594077,_0x15c278,_0x32f2ea),_0x560723[_0x514ee2(0x2d5)](_0x594077,_0x15c278),this['_prevBlock']=_0x594077[_0x514ee2(0x4ab)](_0x15c278,_0x15c278+_0x32f2ea);}}),_0x337fa0[_0x28d88a(0x1be)]=_0x337fa0[_0x28d88a(0x285)]({'processBlock':function(_0xcce66e,_0x5dbc6e){var _0x150679=_0x28d88a,_0x2bfd42=this[_0x150679(0x3a3)],_0x54ea0c=_0x2bfd42[_0x150679(0x457)],_0x180377=_0xcce66e[_0x150679(0x4ab)](_0x5dbc6e,_0x5dbc6e+_0x54ea0c);_0x2bfd42[_0x150679(0x3d0)](_0xcce66e,_0x5dbc6e),_0xcadbb1[_0x150679(0x411)](this,_0xcce66e,_0x5dbc6e,_0x54ea0c),this['_prevBlock']=_0x180377;}});function _0xcadbb1(_0xdedbe6,_0x43286b,_0x50e7b5){var _0x3655a0=_0x28d88a,_0x5a20f3,_0x365554=this['_iv'];_0x365554?(_0x5a20f3=_0x365554,this[_0x3655a0(0x414)]=_0x576133):_0x5a20f3=this['_prevBlock'];for(var _0x1b562b=0x0;_0x1b562b<_0x50e7b5;_0x1b562b++)_0xdedbe6[_0x43286b+_0x1b562b]^=_0x5a20f3[_0x1b562b];}return _0x337fa0;}()),_0x400a88=_0x290048[_0x518991(0x27e)]={},_0x369aff=_0x400a88[_0x518991(0x2e6)]={'pad':function(_0x2f459b,_0x46232f){var _0x232b79=_0x518991;for(var _0x384314=_0x46232f*0x4,_0xe68b46=_0x384314-_0x2f459b[_0x232b79(0x4cd)]%_0x384314,_0x7d4382=_0xe68b46<<0x18|_0xe68b46<<0x10|_0xe68b46<<0x8|_0xe68b46,_0x31346c=[],_0x22ff73=0x0;_0x22ff73<_0xe68b46;_0x22ff73+=0x4)_0x31346c[_0x232b79(0x24d)](_0x7d4382);var _0xdb5c2c=_0x4ffd36[_0x232b79(0x2be)](_0x31346c,_0xe68b46);_0x2f459b[_0x232b79(0x448)](_0xdb5c2c);},'unpad':function(_0x398b3f){var _0x204131=_0x518991,_0x58819e=_0x398b3f[_0x204131(0x3ea)][_0x398b3f['sigBytes']-0x1>>>0x2]&0xff;_0x398b3f[_0x204131(0x4cd)]-=_0x58819e;}};_0x528eac[_0x518991(0x1a1)]=_0x577e69[_0x518991(0x285)]({'cfg':_0x577e69[_0x518991(0x3fa)][_0x518991(0x285)]({'mode':_0x5e0ff8,'padding':_0x369aff}),'reset':function(){var _0x56e472=_0x518991,_0x53901a;_0x577e69[_0x56e472(0x232)]['call'](this);var _0x13a0fe=this['cfg'],_0x4d0b37=_0x13a0fe['iv'],_0xb6e687=_0x13a0fe[_0x56e472(0x353)];this[_0x56e472(0x2e2)]==this['_ENC_XFORM_MODE']?_0x53901a=_0xb6e687[_0x56e472(0x4d3)]:(_0x53901a=_0xb6e687['createDecryptor'],this[_0x56e472(0x3f9)]=0x1),this[_0x56e472(0x325)]&&this[_0x56e472(0x325)]['__creator']==_0x53901a?this[_0x56e472(0x325)]['init'](this,_0x4d0b37&&_0x4d0b37[_0x56e472(0x3ea)]):(this[_0x56e472(0x325)]=_0x53901a[_0x56e472(0x411)](_0xb6e687,this,_0x4d0b37&&_0x4d0b37[_0x56e472(0x3ea)]),this[_0x56e472(0x325)][_0x56e472(0x3ca)]=_0x53901a);},'_doProcessBlock':function(_0x516157,_0x59eb96){var _0x2f9a49=_0x518991;this[_0x2f9a49(0x325)][_0x2f9a49(0x282)](_0x516157,_0x59eb96);},'_doFinalize':function(){var _0x3c0b66=_0x518991,_0x5eb532,_0x444687=this[_0x3c0b66(0x3fa)][_0x3c0b66(0x312)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x444687['pad'](this[_0x3c0b66(0x268)],this[_0x3c0b66(0x457)]),_0x5eb532=this[_0x3c0b66(0x44f)](!0x0)):(_0x5eb532=this[_0x3c0b66(0x44f)](!0x0),_0x444687[_0x3c0b66(0x40e)](_0x5eb532)),_0x5eb532;},'blockSize':0x80/0x20});var _0x25ef3d=_0x528eac['CipherParams']=_0x2647d0[_0x518991(0x285)]({'init':function(_0x2090d5){var _0x446faa=_0x518991;this[_0x446faa(0x391)](_0x2090d5);},'toString':function(_0x2cef21){var _0x57f576=_0x518991;return(_0x2cef21||this[_0x57f576(0x307)])[_0x57f576(0x34f)](this);}}),_0x4bd7c2=_0x290048[_0x518991(0x48d)]={},_0x271be7=_0x4bd7c2[_0x518991(0x1ce)]={'stringify':function(_0x574a82){var _0x5975f2=_0x518991,_0x57aab6,_0xa6d0a7=_0x574a82['ciphertext'],_0x47b12d=_0x574a82[_0x5975f2(0x222)];return _0x47b12d?_0x57aab6=_0x4ffd36[_0x5975f2(0x2be)]([0x53616c74,0x65645f5f])[_0x5975f2(0x448)](_0x47b12d)[_0x5975f2(0x448)](_0xa6d0a7):_0x57aab6=_0xa6d0a7,_0x57aab6[_0x5975f2(0x376)](_0x460307);},'parse':function(_0x4cb0dc){var _0x34e69a=_0x518991,_0x323eea,_0x5f44fe=_0x460307['parse'](_0x4cb0dc),_0x2cc0cb=_0x5f44fe[_0x34e69a(0x3ea)];return _0x2cc0cb[0x0]==0x53616c74&&_0x2cc0cb[0x1]==0x65645f5f&&(_0x323eea=_0x4ffd36[_0x34e69a(0x2be)](_0x2cc0cb['slice'](0x2,0x4)),_0x2cc0cb['splice'](0x0,0x4),_0x5f44fe['sigBytes']-=0x10),_0x25ef3d['create']({'ciphertext':_0x5f44fe,'salt':_0x323eea});}},_0x258f76=_0x528eac[_0x518991(0x266)]=_0x2647d0[_0x518991(0x285)]({'cfg':_0x2647d0[_0x518991(0x285)]({'format':_0x271be7}),'encrypt':function(_0x3693cd,_0x3b21a5,_0x4374c7,_0x476f06){var _0x57288c=_0x518991;_0x476f06=this['cfg']['extend'](_0x476f06);var _0x19c66f=_0x3693cd[_0x57288c(0x4d3)](_0x4374c7,_0x476f06),_0x5e11c6=_0x19c66f[_0x57288c(0x4ff)](_0x3b21a5),_0x46d415=_0x19c66f[_0x57288c(0x3fa)];return _0x25ef3d[_0x57288c(0x2be)]({'ciphertext':_0x5e11c6,'key':_0x4374c7,'iv':_0x46d415['iv'],'algorithm':_0x3693cd,'mode':_0x46d415['mode'],'padding':_0x46d415[_0x57288c(0x312)],'blockSize':_0x3693cd['blockSize'],'formatter':_0x476f06['format']});},'decrypt':function(_0xc8c710,_0xb38a25,_0x31848d,_0x4105a8){var _0x21af1d=_0x518991;_0x4105a8=this[_0x21af1d(0x3fa)][_0x21af1d(0x285)](_0x4105a8),_0xb38a25=this[_0x21af1d(0x3fb)](_0xb38a25,_0x4105a8['format']);var _0xd20dc9=_0xc8c710[_0x21af1d(0x200)](_0x31848d,_0x4105a8)[_0x21af1d(0x4ff)](_0xb38a25[_0x21af1d(0x324)]);return _0xd20dc9;},'_parse':function(_0x2ec8c5,_0x342fe9){var _0xc7b309=_0x518991;return typeof _0x2ec8c5==_0xc7b309(0x356)?_0x342fe9[_0xc7b309(0x477)](_0x2ec8c5,this):_0x2ec8c5;}}),_0xda9acb=_0x290048[_0x518991(0x394)]={},_0x395861=_0xda9acb['OpenSSL']={'execute':function(_0x425df3,_0x7769ea,_0x52a25d,_0x1bad70,_0x50e6f2){var _0x3482f3=_0x518991;if(_0x1bad70||(_0x1bad70=_0x4ffd36[_0x3482f3(0x1f7)](0x40/0x8)),_0x50e6f2)var _0x4fd7e8=_0xc720a5['create']({'keySize':_0x7769ea+_0x52a25d,'hasher':_0x50e6f2})['compute'](_0x425df3,_0x1bad70);else var _0x4fd7e8=_0xc720a5[_0x3482f3(0x2be)]({'keySize':_0x7769ea+_0x52a25d})[_0x3482f3(0x366)](_0x425df3,_0x1bad70);var _0x1d6cb9=_0x4ffd36['create'](_0x4fd7e8[_0x3482f3(0x3ea)][_0x3482f3(0x4ab)](_0x7769ea),_0x52a25d*0x4);return _0x4fd7e8[_0x3482f3(0x4cd)]=_0x7769ea*0x4,_0x25ef3d[_0x3482f3(0x2be)]({'key':_0x4fd7e8,'iv':_0x1d6cb9,'salt':_0x1bad70});}},_0x2b579f=_0x528eac[_0x518991(0x20d)]=_0x258f76[_0x518991(0x285)]({'cfg':_0x258f76[_0x518991(0x3fa)][_0x518991(0x285)]({'kdf':_0x395861}),'encrypt':function(_0x111325,_0x326278,_0xcab12,_0x15716e){var _0x2b4778=_0x518991;_0x15716e=this[_0x2b4778(0x3fa)][_0x2b4778(0x285)](_0x15716e);var _0x5200bc=_0x15716e[_0x2b4778(0x394)]['execute'](_0xcab12,_0x111325['keySize'],_0x111325[_0x2b4778(0x494)],_0x15716e[_0x2b4778(0x222)],_0x15716e[_0x2b4778(0x335)]);_0x15716e['iv']=_0x5200bc['iv'];var _0x49864e=_0x258f76['encrypt'][_0x2b4778(0x411)](this,_0x111325,_0x326278,_0x5200bc['key'],_0x15716e);return _0x49864e[_0x2b4778(0x391)](_0x5200bc),_0x49864e;},'decrypt':function(_0x48cf11,_0x3a8929,_0xfb724c,_0x1bccf8){var _0x540f2d=_0x518991;_0x1bccf8=this[_0x540f2d(0x3fa)]['extend'](_0x1bccf8),_0x3a8929=this[_0x540f2d(0x3fb)](_0x3a8929,_0x1bccf8['format']);var _0x150d80=_0x1bccf8[_0x540f2d(0x394)][_0x540f2d(0x287)](_0xfb724c,_0x48cf11[_0x540f2d(0x3d9)],_0x48cf11[_0x540f2d(0x494)],_0x3a8929[_0x540f2d(0x222)],_0x1bccf8[_0x540f2d(0x335)]);_0x1bccf8['iv']=_0x150d80['iv'];var _0x340327=_0x258f76['decrypt']['call'](this,_0x48cf11,_0x3a8929,_0x150d80[_0x540f2d(0x1ee)],_0x1bccf8);return _0x340327;}});}();}));}(Ce)),Ce[_0x87f755(0x1cd)];}var Pi=Ie[_0x10f867(0x1cd)],tt;function Li(){var _0x14c56f=_0x10f867;return tt||(tt=0x1,function(_0x489af9,_0x304057){(function(_0x14699a,_0x59e22e,_0x5ca579){_0x489af9['exports']=_0x59e22e(Z(),Tt(),bi(),Ct(),Ot());}(Pi,function(_0x2d9482){return(function(){var _0x448766=_0x4aec,_0x58043b=_0x2d9482,_0x39f8e2=_0x58043b[_0x448766(0x4eb)],_0x59ed18=_0x39f8e2[_0x448766(0x1a1)],_0x5313af=_0x58043b[_0x448766(0x3db)],_0x4ecdbc=[],_0x14f312=[],_0x49823c=[],_0x4a7f05=[],_0x441927=[],_0x40ff7a=[],_0xeae7f5=[],_0x868835=[],_0x4288a6=[],_0x1c5bad=[];(function(){for(var _0x12befb=[],_0x48cb10=0x0;_0x48cb10<0x100;_0x48cb10++)_0x48cb10<0x80?_0x12befb[_0x48cb10]=_0x48cb10<<0x1:_0x12befb[_0x48cb10]=_0x48cb10<<0x1^0x11b;for(var _0x18b13e=0x0,_0x4903f6=0x0,_0x48cb10=0x0;_0x48cb10<0x100;_0x48cb10++){var _0x23362f=_0x4903f6^_0x4903f6<<0x1^_0x4903f6<<0x2^_0x4903f6<<0x3^_0x4903f6<<0x4;_0x23362f=_0x23362f>>>0x8^_0x23362f&0xff^0x63,_0x4ecdbc[_0x18b13e]=_0x23362f,_0x14f312[_0x23362f]=_0x18b13e;var _0x4c2ea8=_0x12befb[_0x18b13e],_0x31c0d5=_0x12befb[_0x4c2ea8],_0x18fbf8=_0x12befb[_0x31c0d5],_0x11ccad=_0x12befb[_0x23362f]*0x101^_0x23362f*0x1010100;_0x49823c[_0x18b13e]=_0x11ccad<<0x18|_0x11ccad>>>0x8,_0x4a7f05[_0x18b13e]=_0x11ccad<<0x10|_0x11ccad>>>0x10,_0x441927[_0x18b13e]=_0x11ccad<<0x8|_0x11ccad>>>0x18,_0x40ff7a[_0x18b13e]=_0x11ccad;var _0x11ccad=_0x18fbf8*0x1010101^_0x31c0d5*0x10001^_0x4c2ea8*0x101^_0x18b13e*0x1010100;_0xeae7f5[_0x23362f]=_0x11ccad<<0x18|_0x11ccad>>>0x8,_0x868835[_0x23362f]=_0x11ccad<<0x10|_0x11ccad>>>0x10,_0x4288a6[_0x23362f]=_0x11ccad<<0x8|_0x11ccad>>>0x18,_0x1c5bad[_0x23362f]=_0x11ccad,_0x18b13e?(_0x18b13e=_0x4c2ea8^_0x12befb[_0x12befb[_0x12befb[_0x18fbf8^_0x4c2ea8]]],_0x4903f6^=_0x12befb[_0x12befb[_0x4903f6]]):_0x18b13e=_0x4903f6=0x1;}}());var _0x5db09a=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1b8c9e=_0x5313af[_0x448766(0x49d)]=_0x59ed18['extend']({'_doReset':function(){var _0x3297d1=_0x448766,_0xef024b;if(!(this['_nRounds']&&this[_0x3297d1(0x1b9)]===this[_0x3297d1(0x41d)])){for(var _0x16e017=this[_0x3297d1(0x1b9)]=this['_key'],_0x1e4699=_0x16e017[_0x3297d1(0x3ea)],_0x519b58=_0x16e017['sigBytes']/0x4,_0x176ee2=this[_0x3297d1(0x439)]=_0x519b58+0x6,_0xaa82c3=(_0x176ee2+0x1)*0x4,_0x35cd3e=this['_keySchedule']=[],_0xc1edd7=0x0;_0xc1edd7<_0xaa82c3;_0xc1edd7++)_0xc1edd7<_0x519b58?_0x35cd3e[_0xc1edd7]=_0x1e4699[_0xc1edd7]:(_0xef024b=_0x35cd3e[_0xc1edd7-0x1],_0xc1edd7%_0x519b58?_0x519b58>0x6&&_0xc1edd7%_0x519b58==0x4&&(_0xef024b=_0x4ecdbc[_0xef024b>>>0x18]<<0x18|_0x4ecdbc[_0xef024b>>>0x10&0xff]<<0x10|_0x4ecdbc[_0xef024b>>>0x8&0xff]<<0x8|_0x4ecdbc[_0xef024b&0xff]):(_0xef024b=_0xef024b<<0x8|_0xef024b>>>0x18,_0xef024b=_0x4ecdbc[_0xef024b>>>0x18]<<0x18|_0x4ecdbc[_0xef024b>>>0x10&0xff]<<0x10|_0x4ecdbc[_0xef024b>>>0x8&0xff]<<0x8|_0x4ecdbc[_0xef024b&0xff],_0xef024b^=_0x5db09a[_0xc1edd7/_0x519b58|0x0]<<0x18),_0x35cd3e[_0xc1edd7]=_0x35cd3e[_0xc1edd7-_0x519b58]^_0xef024b);for(var _0x6ae75b=this[_0x3297d1(0x2c3)]=[],_0x29e740=0x0;_0x29e740<_0xaa82c3;_0x29e740++){var _0xc1edd7=_0xaa82c3-_0x29e740;if(_0x29e740%0x4)var _0xef024b=_0x35cd3e[_0xc1edd7];else var _0xef024b=_0x35cd3e[_0xc1edd7-0x4];_0x29e740<0x4||_0xc1edd7<=0x4?_0x6ae75b[_0x29e740]=_0xef024b:_0x6ae75b[_0x29e740]=_0xeae7f5[_0x4ecdbc[_0xef024b>>>0x18]]^_0x868835[_0x4ecdbc[_0xef024b>>>0x10&0xff]]^_0x4288a6[_0x4ecdbc[_0xef024b>>>0x8&0xff]]^_0x1c5bad[_0x4ecdbc[_0xef024b&0xff]];}}},'encryptBlock':function(_0x583a30,_0x565380){var _0x575962=_0x448766;this['_doCryptBlock'](_0x583a30,_0x565380,this[_0x575962(0x1f5)],_0x49823c,_0x4a7f05,_0x441927,_0x40ff7a,_0x4ecdbc);},'decryptBlock':function(_0x26390a,_0x553858){var _0x5c0687=_0x448766,_0x4a57de=_0x26390a[_0x553858+0x1];_0x26390a[_0x553858+0x1]=_0x26390a[_0x553858+0x3],_0x26390a[_0x553858+0x3]=_0x4a57de,this['_doCryptBlock'](_0x26390a,_0x553858,this[_0x5c0687(0x2c3)],_0xeae7f5,_0x868835,_0x4288a6,_0x1c5bad,_0x14f312);var _0x4a57de=_0x26390a[_0x553858+0x1];_0x26390a[_0x553858+0x1]=_0x26390a[_0x553858+0x3],_0x26390a[_0x553858+0x3]=_0x4a57de;},'_doCryptBlock':function(_0x35ed03,_0x4332f9,_0x6ea3fa,_0x517943,_0x1727d4,_0x16ba75,_0xde57f6,_0x1871e9){var _0x460a73=_0x448766;for(var _0x47dde7=this[_0x460a73(0x439)],_0x329889=_0x35ed03[_0x4332f9]^_0x6ea3fa[0x0],_0x374bc2=_0x35ed03[_0x4332f9+0x1]^_0x6ea3fa[0x1],_0x3024fc=_0x35ed03[_0x4332f9+0x2]^_0x6ea3fa[0x2],_0x4c3cc6=_0x35ed03[_0x4332f9+0x3]^_0x6ea3fa[0x3],_0x256f0d=0x4,_0x370982=0x1;_0x370982<_0x47dde7;_0x370982++){var _0xe760e6=_0x517943[_0x329889>>>0x18]^_0x1727d4[_0x374bc2>>>0x10&0xff]^_0x16ba75[_0x3024fc>>>0x8&0xff]^_0xde57f6[_0x4c3cc6&0xff]^_0x6ea3fa[_0x256f0d++],_0x139b03=_0x517943[_0x374bc2>>>0x18]^_0x1727d4[_0x3024fc>>>0x10&0xff]^_0x16ba75[_0x4c3cc6>>>0x8&0xff]^_0xde57f6[_0x329889&0xff]^_0x6ea3fa[_0x256f0d++],_0x3b91dc=_0x517943[_0x3024fc>>>0x18]^_0x1727d4[_0x4c3cc6>>>0x10&0xff]^_0x16ba75[_0x329889>>>0x8&0xff]^_0xde57f6[_0x374bc2&0xff]^_0x6ea3fa[_0x256f0d++],_0x2fa616=_0x517943[_0x4c3cc6>>>0x18]^_0x1727d4[_0x329889>>>0x10&0xff]^_0x16ba75[_0x374bc2>>>0x8&0xff]^_0xde57f6[_0x3024fc&0xff]^_0x6ea3fa[_0x256f0d++];_0x329889=_0xe760e6,_0x374bc2=_0x139b03,_0x3024fc=_0x3b91dc,_0x4c3cc6=_0x2fa616;}var _0xe760e6=(_0x1871e9[_0x329889>>>0x18]<<0x18|_0x1871e9[_0x374bc2>>>0x10&0xff]<<0x10|_0x1871e9[_0x3024fc>>>0x8&0xff]<<0x8|_0x1871e9[_0x4c3cc6&0xff])^_0x6ea3fa[_0x256f0d++],_0x139b03=(_0x1871e9[_0x374bc2>>>0x18]<<0x18|_0x1871e9[_0x3024fc>>>0x10&0xff]<<0x10|_0x1871e9[_0x4c3cc6>>>0x8&0xff]<<0x8|_0x1871e9[_0x329889&0xff])^_0x6ea3fa[_0x256f0d++],_0x3b91dc=(_0x1871e9[_0x3024fc>>>0x18]<<0x18|_0x1871e9[_0x4c3cc6>>>0x10&0xff]<<0x10|_0x1871e9[_0x329889>>>0x8&0xff]<<0x8|_0x1871e9[_0x374bc2&0xff])^_0x6ea3fa[_0x256f0d++],_0x2fa616=(_0x1871e9[_0x4c3cc6>>>0x18]<<0x18|_0x1871e9[_0x329889>>>0x10&0xff]<<0x10|_0x1871e9[_0x374bc2>>>0x8&0xff]<<0x8|_0x1871e9[_0x3024fc&0xff])^_0x6ea3fa[_0x256f0d++];_0x35ed03[_0x4332f9]=_0xe760e6,_0x35ed03[_0x4332f9+0x1]=_0x139b03,_0x35ed03[_0x4332f9+0x2]=_0x3b91dc,_0x35ed03[_0x4332f9+0x3]=_0x2fa616;},'keySize':0x100/0x20});_0x58043b['AES']=_0x59ed18[_0x448766(0x283)](_0x1b8c9e);}()),_0x2d9482['AES'];}));}(Ie)),Ie[_0x14c56f(0x1cd)];}var Mi=Li();const wi=de(Mi);var xi=Tt();const it=de(xi);var Oe={'exports':{}},ki=Oe[_0x10f867(0x1cd)],nt;function $i(){var _0x377456=_0x10f867;return nt||(nt=0x1,function(_0x7e9080,_0x4fbfbd){(function(_0x4653f0,_0x434da4){var _0x2e93a3=_0x4aec;_0x7e9080[_0x2e93a3(0x1cd)]=_0x434da4(Z());}(ki,function(_0x38c689){var _0x17dc58=_0x4aec;return _0x38c689[_0x17dc58(0x216)][_0x17dc58(0x4ef)];}));}(Oe)),Oe[_0x377456(0x1cd)];}var Hi=$i();const ji=de(Hi);var be={'exports':{}},Bi=be['exports'],st;function Fi(){var _0x49a748=_0x10f867;return st||(st=0x1,function(_0x335d27,_0x4e8790){(function(_0x309011,_0x562506){var _0x19a127=_0x4aec;_0x335d27[_0x19a127(0x1cd)]=_0x562506(Z());}(Bi,function(_0x446e66){var _0xfbc79c=_0x4aec;return(function(){var _0x4c610b=_0x4aec;if(typeof ArrayBuffer=='function'){var _0x1d7059=_0x446e66,_0x16fbf4=_0x1d7059[_0x4c610b(0x4eb)],_0x503f28=_0x16fbf4['WordArray'],_0x53d3d7=_0x503f28[_0x4c610b(0x1e0)],_0x657b19=_0x503f28[_0x4c610b(0x1e0)]=function(_0x2f6e54){var _0x992edd=_0x4c610b;if(_0x2f6e54 instanceof ArrayBuffer&&(_0x2f6e54=new Uint8Array(_0x2f6e54)),(_0x2f6e54 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2f6e54 instanceof Uint8ClampedArray||_0x2f6e54 instanceof Int16Array||_0x2f6e54 instanceof Uint16Array||_0x2f6e54 instanceof Int32Array||_0x2f6e54 instanceof Uint32Array||_0x2f6e54 instanceof Float32Array||_0x2f6e54 instanceof Float64Array)&&(_0x2f6e54=new Uint8Array(_0x2f6e54[_0x992edd(0x41b)],_0x2f6e54[_0x992edd(0x3a6)],_0x2f6e54[_0x992edd(0x490)])),_0x2f6e54 instanceof Uint8Array){for(var _0x478004=_0x2f6e54[_0x992edd(0x490)],_0x24233b=[],_0x5ab8e8=0x0;_0x5ab8e8<_0x478004;_0x5ab8e8++)_0x24233b[_0x5ab8e8>>>0x2]|=_0x2f6e54[_0x5ab8e8]<<0x18-_0x5ab8e8%0x4*0x8;_0x53d3d7['call'](this,_0x24233b,_0x478004);}else _0x53d3d7['apply'](this,arguments);};_0x657b19[_0x4c610b(0x2d3)]=_0x503f28;}}()),_0x446e66[_0xfbc79c(0x4eb)][_0xfbc79c(0x4fc)];}));}(be)),be[_0x49a748(0x1cd)];}var Vi=Fi();const Wi=de(Vi);var Re={'exports':{}},Gi=Re['exports'],rt;function Yi(){return rt||(rt=0x1,function(_0x1b8bb1,_0x22dd2e){(function(_0x1f3306,_0xe9ba4f,_0x383458){_0x1b8bb1['exports']=_0xe9ba4f(Z(),Ot());}(Gi,function(_0x3f7c9b){var _0x51d9d3=_0x4aec;return _0x3f7c9b['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x3f7c9b[_0x51d9d3(0x27e)][_0x51d9d3(0x3c9)];}));}(Re)),Re['exports'];}var Ki=Yi();const qi=de(Ki);function zi(_0x18871e,_0x5b52e9){var _0x2fab13=_0x10f867;const _0x25b99a=_0x5b52e9-_0x18871e['length']%_0x5b52e9,_0x51ce30=String['fromCharCode'](_0x25b99a)[_0x2fab13(0x4e9)](_0x25b99a);return _0x18871e+_0x51ce30;}function Xi(_0x367726,_0x4d408d){var _0x66d5b1=_0x10f867;const _0x29a055=Wi[_0x66d5b1(0x1f7)](0x10),_0x2e51fb=zi(_0x367726,0x10),_0x1647d1=wi[_0x66d5b1(0x4ad)](ji[_0x66d5b1(0x477)](_0x2e51fb),it[_0x66d5b1(0x477)](_0x4d408d),{'iv':_0x29a055,'padding':qi});return _0x29a055[_0x66d5b1(0x448)](_0x1647d1[_0x66d5b1(0x324)])['toString'](it);}function Ji(){var _0x4e2e37=_0x10f867;const _0x3e74ee=Dt['getGlobalObject']()['__Key__'];if(_0x3e74ee){const _0x319abc={'time':Math[_0x4e2e37(0x28d)](Date[_0x4e2e37(0x1ed)]()/0x3e8),'domain':location[_0x4e2e37(0x202)]};return Xi(JSON[_0x4e2e37(0x34f)](_0x319abc),_0x3e74ee);}}var Zi=Object[_0x10f867(0x509)],Qi=(_0x2a3912,_0x5522b8,_0x257673,_0x373e7a)=>{for(var _0x6cbe62=_0x373e7a>0x1?void 0x0:_0x373e7a?Zi(_0x5522b8,_0x257673):_0x5522b8,_0x4d7771=_0x2a3912['length']-0x1,_0x349eb1;_0x4d7771>=0x0;_0x4d7771--)(_0x349eb1=_0x2a3912[_0x4d7771])&&(_0x6cbe62=_0x349eb1(_0x6cbe62)||_0x6cbe62);return _0x6cbe62;},en=(_0x2b1c53,_0x57cd8a)=>(_0x5c4783,_0x5481de)=>_0x57cd8a(_0x5c4783,_0x5481de,_0x2b1c53);let De=class{constructor(_0x39259b){var _0x1da3a1=_0x10f867;this[_0x1da3a1(0x397)]=_0x39259b,this[_0x1da3a1(0x474)]();}['_initRequestHeader'](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x1b1be3,_0x2f7f82)=>{var _0xda2744=_0x4aec;const _0x45a7a7=_0x1b1be3['headers'],_0x341973=Ji();return _0x341973&&_0x45a7a7['set'](_0xda2744(0x2c6),_0x341973),_0x2f7f82(_0x1b1be3);}});}};De=Qi([en(0x0,o[_0x10f867(0x225)](K[_0x10f867(0x328)]))],De);var tn=Object[_0x10f867(0x509)],nn=(_0x32ff41,_0x36e170,_0x380f94,_0xe7c68b)=>{var _0x57749e=_0x10f867;for(var _0x44b357=_0xe7c68b>0x1?void 0x0:_0xe7c68b?tn(_0x36e170,_0x380f94):_0x36e170,_0x2f6af1=_0x32ff41[_0x57749e(0x371)]-0x1,_0x35c620;_0x2f6af1>=0x0;_0x2f6af1--)(_0x35c620=_0x32ff41[_0x2f6af1])&&(_0x44b357=_0x35c620(_0x44b357)||_0x44b357);return _0x44b357;},Le=(_0xd61fe2,_0x4f8a88)=>(_0x12abdc,_0x40093d)=>_0x4f8a88(_0x12abdc,_0x40093d,_0xd61fe2);exports[_0x10f867(0x39c)]=class extends o[_0x10f867(0x2d8)]{constructor(_0x18b72b,_0xddcc47,_0x49dfb5){var _0x4d3efe=_0x10f867;super(),A(this,_0x4d3efe(0x424),new j[(_0x4d3efe(0x1da))](null)),A(this,_0x4d3efe(0x217),this[_0x4d3efe(0x424)][_0x4d3efe(0x440)]()),(this[_0x4d3efe(0x280)]=_0x18b72b,this[_0x4d3efe(0x450)]=_0xddcc47,this['_localCacheService']=_0x49dfb5);}async[_0x10f867(0x1e3)](_0x341e6f,_0x28cf04,_0x2d0002){var _0x1ca387=_0x10f867;this[_0x1ca387(0x424)][_0x1ca387(0x19d)]({'unitId':_0x341e6f,'type':_0x28cf04});let _0x21a809=null;switch(_0x28cf04){case X[_0x1ca387(0x3bf)]:{_0x21a809=await this[_0x1ca387(0x450)][_0x1ca387(0x479)](_0x341e6f,_0x2d0002);break;}case X[_0x1ca387(0x382)]:{_0x21a809=await this[_0x1ca387(0x450)][_0x1ca387(0x4ec)](_0x341e6f,_0x2d0002);break;}default:{this[_0x1ca387(0x280)][_0x1ca387(0x3a8)](_0x1ca387(0x3ba),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x21a809;}async[_0x10f867(0x472)](_0x4bab91,_0x32b1da,_0x3821c1){var _0x426edc=_0x10f867,_0x38d5d8;this[_0x426edc(0x424)][_0x426edc(0x19d)]({'unitId':_0x4bab91,'type':_0x32b1da,'subUnitId':_0x3821c1});let _0xf30f18=0x0;const _0x5bd399=await((_0x38d5d8=this[_0x426edc(0x2de)])==null?void 0x0:_0x38d5d8[_0x426edc(0x37f)](_0x4bab91));return _0x5bd399&&(_0x5bd399['awaitingChangeset']||_0x5bd399[_0x426edc(0x44e)][_0x426edc(0x371)]!==0x0)&&(_0xf30f18=_0x5bd399['rev']),_0xf30f18===0x0&&this[_0x426edc(0x280)][_0x426edc(0x47e)](_0x426edc(0x3ba),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x426edc(0x1e3)](_0x4bab91,_0x32b1da,_0xf30f18);}},exports[_0x10f867(0x39c)]=nn([Le(0x0,o[_0x10f867(0x4f6)]),Le(0x1,o['Inject'](E[_0x10f867(0x445)])),Le(0x2,o[_0x10f867(0x244)](q))],exports[_0x10f867(0x39c)]);var sn=Object['getOwnPropertyDescriptor'],rn=(_0x3ae8f7,_0x446384,_0x18bcde,_0x2287ac)=>{var _0x4a8852=_0x10f867;for(var _0x49c09d=_0x2287ac>0x1?void 0x0:_0x2287ac?sn(_0x446384,_0x18bcde):_0x446384,_0x37cd3f=_0x3ae8f7[_0x4a8852(0x371)]-0x1,_0x409320;_0x37cd3f>=0x0;_0x37cd3f--)(_0x409320=_0x3ae8f7[_0x37cd3f])&&(_0x49c09d=_0x409320(_0x49c09d)||_0x49c09d);return _0x49c09d;},Me=(_0x3da249,_0x52a4d4)=>(_0x3c24ef,_0x5e7e1a)=>_0x52a4d4(_0x3c24ef,_0x5e7e1a,_0x3da249);const an=[_0x10f867(0x4e6),_0x10f867(0x292),_0x10f867(0x38c),_0x10f867(0x185),_0x10f867(0x3be)],on=0x5*0x400*0x400,cn='/universer-api/stream/file/upload',_n='/universer-api/file/{fileID}/sign-url';exports[_0x10f867(0x1c7)]=class{constructor(_0x354164,_0x2ddd1f,_0x44cd14){var _0x335eed=_0x10f867;A(this,_0x335eed(0x2b5),0x0),A(this,_0x335eed(0x199),new j[(_0x335eed(0x1d1))]()),A(this,_0x335eed(0x400),this[_0x335eed(0x199)]),A(this,'_imageSourceCache',new Map()),(this[_0x335eed(0x397)]=_0x354164,this[_0x335eed(0x22b)]=_0x2ddd1f,this['_univerInstanceService']=_0x44cd14);}[_0x10f867(0x500)](_0x134b26){var _0x4d85fd=_0x10f867;this[_0x4d85fd(0x2b5)]=_0x134b26,this[_0x4d85fd(0x199)][_0x4d85fd(0x19d)](_0x134b26);}[_0x10f867(0x2f0)](_0x912751,_0x3b28aa){var _0x5dae86=_0x10f867;if(_0x3b28aa===z[_0x5dae86(0x2f4)][_0x5dae86(0x188)]){const _0x15d0a3=new Image();return _0x15d0a3[_0x5dae86(0x36c)]=_0x912751,_0x15d0a3;}return this[_0x5dae86(0x2b2)][_0x5dae86(0x433)](_0x912751);}[_0x10f867(0x43d)](_0x570110,_0x2864af,_0x188626){var _0x3db587=_0x10f867;_0x2864af===z[_0x3db587(0x2f4)][_0x3db587(0x188)]||_0x188626==null||this[_0x3db587(0x2b2)][_0x3db587(0x186)](_0x570110,_0x188626);}async[_0x10f867(0x1db)](_0x5e9c64){var _0x3bd33b=_0x10f867;try{const _0x584893=this[_0x3bd33b(0x263)](this[_0x3bd33b(0x37d)](),''+_0x5e9c64),_0x590252=(await this['_httpService'][_0x3bd33b(0x433)](_0x584893))[_0x3bd33b(0x22c)];if(_0x590252[_0x3bd33b(0x3a8)]&&_0x590252['error']['code']===vt['OK']){const _0x5dee65=new URL(_0x590252[_0x3bd33b(0x40b)],this[_0x3bd33b(0x499)]())['toString']();return Promise[_0x3bd33b(0x212)](_0x5dee65);}return Promise['reject'](_0x590252['error']);}catch(_0xda4535){return Promise[_0x3bd33b(0x194)](_0xda4535);}}async[_0x10f867(0x4aa)](_0x5e1308){var _0x20c42e=_0x10f867;let _0x2f0b5d='';if(!an[_0x20c42e(0x2d4)](_0x5e1308['type']))return this['_decreaseWaiting'](),Promise['reject'](new Error(z[_0x20c42e(0x305)][_0x20c42e(0x33a)]));if(_0x5e1308[_0x20c42e(0x363)]>on)return this['_decreaseWaiting'](),Promise[_0x20c42e(0x194)](new Error(z[_0x20c42e(0x305)][_0x20c42e(0x4a5)]));try{const _0x508649=new FormData();_0x508649['append'](_0x20c42e(0x299),_0x5e1308);const _0xae4438=this[_0x20c42e(0x497)][_0x20c42e(0x407)](),_0x3c3e38=_0xae4438==null?void 0x0:_0xae4438['getUnitId']();if(!_0x3c3e38)throw new Error(_0x20c42e(0x3b4));const _0x1fae76=this['_getUploadFileURL']()+_0x20c42e(0x322)+_0x5e1308[_0x20c42e(0x363)]['toString']()+'&source='+dt[_0x20c42e(0x2b1)]+_0x20c42e(0x437)+encodeURIComponent(_0x3c3e38),_0x379408={'body':_0x508649},_0x2a63f2=(await this[_0x20c42e(0x397)]['post'](_0x1fae76,_0x379408))[_0x20c42e(0x22c)];if(typeof _0x2a63f2[_0x20c42e(0x249)]!=_0x20c42e(0x356))return this[_0x20c42e(0x2d2)](),Promise[_0x20c42e(0x194)](new Error(z[_0x20c42e(0x305)][_0x20c42e(0x197)]));_0x2f0b5d=_0x2a63f2[_0x20c42e(0x249)];}catch{return this[_0x20c42e(0x2d2)](),Promise[_0x20c42e(0x194)](new Error(z[_0x20c42e(0x305)][_0x20c42e(0x197)]));}return new Promise((_0x47cf4a,_0x2ad52b)=>{var _0x112928=_0x20c42e;const _0xd47959=new FileReader();_0xd47959['readAsDataURL'](_0x5e1308),_0xd47959[_0x112928(0x4d1)]=_0xfe629b=>{var _0x59945f=_0x112928,_0x28281c;const _0x26228b=(_0x28281c=_0xfe629b[_0x59945f(0x219)])==null?void 0x0:_0x28281c[_0x59945f(0x4e3)];if(_0x26228b==null){this['_decreaseWaiting'](),_0x2ad52b(new Error(z[_0x59945f(0x305)][_0x59945f(0x197)]));return;}const _0xe8132b=o[_0x59945f(0x23a)](0x6);_0x47cf4a({'imageId':_0xe8132b,'imageSourceType':z['ImageSourceType']['UUID'],'source':_0x2f0b5d,'base64Cache':_0x26228b,'status':z[_0x59945f(0x305)][_0x59945f(0x3b0)]}),this[_0x59945f(0x2d2)]();};});}['_getUploadFileURL'](){var _0x3c007f=_0x10f867,_0x5c5fae;const _0x4dd5f6=this[_0x3c007f(0x22b)][_0x3c007f(0x345)](Y);return(_0x5c5fae=_0x4dd5f6==null?void 0x0:_0x4dd5f6['uploadFileServerUrl'])!=null?_0x5c5fae:cn;}[_0x10f867(0x37d)](){var _0x2b83c3=_0x10f867,_0x31722a;const _0x3688db=this['_configService'][_0x2b83c3(0x345)](Y);return(_0x31722a=_0x3688db==null?void 0x0:_0x3688db[_0x2b83c3(0x187)])!=null?_0x31722a:_n;}['_getDownloadEndpointURL'](){var _0x2b4b20=_0x10f867,_0x450432;const _0x3c3c59=this['_configService'][_0x2b4b20(0x345)](Y);return(_0x450432=_0x3c3c59==null?void 0x0:_0x3c3c59[_0x2b4b20(0x209)])!=null?_0x450432:location['origin'];}['_replaceFileID'](_0xda88a0,_0x5dc84f){var _0xb5d56b=_0x10f867;return _0xda88a0[_0xb5d56b(0x260)](_0xb5d56b(0x4bf),_0x5dc84f);}[_0x10f867(0x2d2)](){var _0x1e8069=_0x10f867;this[_0x1e8069(0x2b5)]-=0x1,this[_0x1e8069(0x199)][_0x1e8069(0x19d)](this[_0x1e8069(0x2b5)]);}},exports[_0x10f867(0x1c7)]=rn([Me(0x0,o['Inject'](K[_0x10f867(0x328)])),Me(0x1,o[_0x10f867(0x405)]),Me(0x2,o[_0x10f867(0x225)](o[_0x10f867(0x470)]))],exports[_0x10f867(0x1c7)]);var hn=Object[_0x10f867(0x509)],ln=(_0x5d977e,_0x1f8594,_0x1514ed,_0x3fc26b)=>{var _0x2a364c=_0x10f867;for(var _0x10e0b4=_0x3fc26b>0x1?void 0x0:_0x3fc26b?hn(_0x1f8594,_0x1514ed):_0x1f8594,_0x4af28e=_0x5d977e[_0x2a364c(0x371)]-0x1,_0x274a9e;_0x4af28e>=0x0;_0x4af28e--)(_0x274a9e=_0x5d977e[_0x4af28e])&&(_0x10e0b4=_0x274a9e(_0x10e0b4)||_0x10e0b4);return _0x10e0b4;},at=(_0x5b5542,_0x1c4911)=>(_0x49b61e,_0x46eb34)=>_0x1c4911(_0x49b61e,_0x46eb34,_0x5b5542);const un=_0x10f867(0x432);exports[_0x10f867(0x1af)]=class{constructor(_0x465f0b,_0x345551){var _0x24dd70=_0x10f867;this['_configService']=_0x465f0b,this[_0x24dd70(0x388)]=_0x345551;}['_getAPIPrefixPath'](){var _0x498c69=_0x10f867,_0x1e0bfc;const _0xec9d8c=this[_0x498c69(0x22b)]['getConfig'](Y);return(_0x1e0bfc=_0xec9d8c==null?void 0x0:_0xec9d8c[_0x498c69(0x455)])!=null?_0x1e0bfc:un;}async['list'](_0x25df4c){var _0x661820=_0x10f867;const _0x59942e=this[_0x661820(0x42f)]()+_0x661820(0x32a);return{'list':[{'title':_0x661820(0x2cf),'mentions':(await this['_HTTPService'][_0x661820(0x433)](_0x59942e,{'params':{'objectID':_0x25df4c['unitId'],'unitID':_0x25df4c[_0x661820(0x1fa)]}}))[_0x661820(0x22c)][_0x661820(0x45c)]['map'](_0x16e299=>({'objectId':_0x16e299['id'],'name':_0x16e299[_0x661820(0x49c)][_0x661820(0x385)],'metadata':{'icon':_0x16e299[_0x661820(0x49c)][_0x661820(0x396)]},'label':_0x16e299[_0x661820(0x49c)][_0x661820(0x385)],'objectType':o[_0x661820(0x203)][_0x661820(0x368)]})),'metadata':{},'type':o['MentionType'][_0x661820(0x368)]}]};}},exports[_0x10f867(0x1af)]=ln([at(0x0,o[_0x10f867(0x225)](o[_0x10f867(0x405)])),at(0x1,o['Inject'](K[_0x10f867(0x328)]))],exports[_0x10f867(0x1af)]);var vn=Object[_0x10f867(0x509)],dn=(_0xd104c0,_0x19543f,_0x59c475,_0x47e6fa)=>{for(var _0x1f38a5=_0x47e6fa>0x1?void 0x0:_0x47e6fa?vn(_0x19543f,_0x59c475):_0x19543f,_0x8330c3=_0xd104c0['length']-0x1,_0x5dd305;_0x8330c3>=0x0;_0x8330c3--)(_0x5dd305=_0xd104c0[_0x8330c3])&&(_0x1f38a5=_0x5dd305(_0x1f38a5)||_0x1f38a5);return _0x1f38a5;},le=(_0x4c937d,_0x232fb7)=>(_0x26b196,_0x216cd0)=>_0x232fb7(_0x26b196,_0x216cd0,_0x4c937d);let ye=class extends o[_0x10f867(0x2d8)]{constructor(_0x59098f,_0x5a5b40,_0x38ae55,_0x4bfd68,_0x12c6e5){var _0x116524=_0x10f867;super(),this[_0x116524(0x4f8)]=_0x59098f,this[_0x116524(0x497)]=_0x5a5b40,this[_0x116524(0x4f0)]=_0x38ae55,this[_0x116524(0x2dd)]=_0x4bfd68,this[_0x116524(0x336)]=_0x12c6e5,this[_0x116524(0x2ea)](),this[_0x116524(0x24f)]();}[_0x10f867(0x24f)](){var _0x344f39=_0x10f867;const _0xbcb914=async _0xd686f=>{var _0x129582=_0x4aec;(await this[_0x129582(0x2dd)][_0x129582(0x4ae)](_0xd686f))[_0x129582(0x48b)][_0x129582(0x4e4)](V['filter'](_0x51467f=>_0x51467f[_0x129582(0x2ad)]===E[_0x129582(0x481)]['SHOULD_CLOSE_CONN']),V[_0x129582(0x45f)](this[_0x129582(0x25c)]))[_0x129582(0x34a)](_0x4b9845=>{var _0x239e96=_0x129582;const _0x1a1218=_0x4b9845,{reason:_0x154158}=_0x1a1218['data'];this['_collaborationUIEventService'][_0x239e96(0x3e2)]({'id':J[_0x239e96(0x386)],'data':_0x154158}),this[_0x239e96(0x4f0)]['updatePermissionPoint'](new Q[(_0x239e96(0x3c6))](_0xd686f)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0xd686f);});};j[_0x344f39(0x2f7)](this[_0x344f39(0x497)][_0x344f39(0x256)](o['UniverInstanceType']['UNIVER_SHEET']),this[_0x344f39(0x497)][_0x344f39(0x256)](o['UniverInstanceType'][_0x344f39(0x382)]))['pipe'](V['map'](_0x2c786e=>_0x2c786e[_0x344f39(0x298)]()),V[_0x344f39(0x306)](_0x4984bc=>!o[_0x344f39(0x1ab)](_0x4984bc)),V[_0x344f39(0x45f)](this[_0x344f39(0x25c)]))[_0x344f39(0x34a)](_0x51f58c=>{_0xbcb914(_0x51f58c);});}[_0x10f867(0x2ea)](){var _0x2ea2e0=_0x10f867;const _0x357c4c=async _0x11d56b=>{var _0x4cc9bd=_0x4aec;const _0x52aba7=await this[_0x4cc9bd(0x2dd)][_0x4cc9bd(0x4ae)](_0x11d56b),_0x2fe88e=this[_0x4cc9bd(0x4f8)][_0x4cc9bd(0x433)](Q[_0x4cc9bd(0x2bf)]);_0x52aba7['event$'][_0x4cc9bd(0x4e4)](V[_0x4cc9bd(0x306)](_0x1bea86=>_0x1bea86[_0x4cc9bd(0x2ad)]===E['CollaborationEvent'][_0x4cc9bd(0x2fe)]),V['takeUntil'](this[_0x4cc9bd(0x25c)]))[_0x4cc9bd(0x34a)](_0x2b5c90=>{var _0x3ffe74=_0x4cc9bd;const _0x147806=_0x2b5c90,{objectId:_0x15edea}=_0x147806[_0x3ffe74(0x46b)];_0x15edea===_0x11d56b?_0x2fe88e['initWorkbookPermissionChange'](_0x11d56b):_0x2fe88e[_0x3ffe74(0x2f2)](_0x11d56b,_0x15edea);});};j[_0x2ea2e0(0x2f7)](this['_univerInstanceService'][_0x2ea2e0(0x256)](o[_0x2ea2e0(0x2a8)][_0x2ea2e0(0x3bf)]))[_0x2ea2e0(0x4e4)](V[_0x2ea2e0(0x25e)](_0x410276=>_0x410276[_0x2ea2e0(0x298)]()),V['filter'](_0x2e7638=>!o[_0x2ea2e0(0x1ab)](_0x2e7638)),V[_0x2ea2e0(0x45f)](this[_0x2ea2e0(0x25c)]))['subscribe'](_0x3a6ea4=>{_0x357c4c(_0x3a6ea4);});}};ye=dn([le(0x0,o[_0x10f867(0x225)](o[_0x10f867(0x2c4)])),le(0x1,o[_0x10f867(0x470)]),le(0x2,o['IPermissionService']),le(0x3,o['Inject'](exports[_0x10f867(0x1fd)])),le(0x4,o[_0x10f867(0x225)](ee))],ye);var Sn=Object[_0x10f867(0x509)],In=(_0x1fc0b0,_0x3a4382,_0x4a5a7c,_0x32bc0a)=>{var _0x37571c=_0x10f867;for(var _0x19e206=_0x32bc0a>0x1?void 0x0:_0x32bc0a?Sn(_0x3a4382,_0x4a5a7c):_0x3a4382,_0x53dfa4=_0x1fc0b0[_0x37571c(0x371)]-0x1,_0x1ff547;_0x53dfa4>=0x0;_0x53dfa4--)(_0x1ff547=_0x1fc0b0[_0x53dfa4])&&(_0x19e206=_0x1ff547(_0x19e206)||_0x19e206);return _0x19e206;},ot=(_0xdd002a,_0x5c207a)=>(_0x594f11,_0x52e90d)=>_0x5c207a(_0x594f11,_0x52e90d,_0xdd002a);exports[_0x10f867(0x2b3)]=class{constructor(_0x21dc8b,_0x1d563c){var _0x509063=_0x10f867;this[_0x509063(0x22b)]=_0x21dc8b,this[_0x509063(0x397)]=_0x1d563c;}async[_0x10f867(0x370)](_0x2b2f90,_0x38ee39){var _0x265810=_0x10f867,_0xfca8ba;const {unitID:_0x4accd8,type:_0x1bae83,revision:_0x50cdb1=0x0}=_0x38ee39,_0x203679=this[_0x265810(0x27b)]()+'/'+_0x1bae83+'/unit/'+_0x4accd8+_0x265810(0x284)+_0x50cdb1,_0x35bec1=(await this[_0x265810(0x397)]['get'](_0x203679))[_0x265810(0x22c)],_0x1732dc=(_0xfca8ba=_0x35bec1[_0x265810(0x464)])==null?void 0x0:_0xfca8ba['workbook'];if(_0x1732dc){const _0x44c133=_0x1732dc==null?void 0x0:_0x1732dc[_0x265810(0x28a)],_0x567c29=E[_0x265810(0x1b2)]['encode'](E[_0x265810(0x4b5)](_0x44c133));_0x1732dc[_0x265810(0x28a)]=_0x567c29,Object[_0x265810(0x2bc)](_0x1732dc[_0x265810(0x1c2)])[_0x265810(0x35b)](([,_0x39123a])=>{var _0xe3e983=_0x265810;const _0x19885c=_0x39123a[_0xe3e983(0x28a)],_0x2b734d=E[_0xe3e983(0x1b2)][_0xe3e983(0x1b3)](E['b64DecodeUnicode'](_0x19885c));_0x39123a[_0xe3e983(0x28a)]=_0x2b734d;});}return _0x35bec1;}async[_0x10f867(0x44d)](_0x575c48,_0x151261){var _0x1f6dbd=_0x10f867;const {unitID:_0x398099,type:_0x238a6c,blockID:_0xc28fc0}=_0x151261,_0x3192c2=this['_getAPIPrefix']()+'/'+_0x238a6c+_0x1f6dbd(0x408)+_0x398099+'/block/'+_0xc28fc0;return(await this[_0x1f6dbd(0x397)]['get'](_0x3192c2))[_0x1f6dbd(0x22c)];}async[_0x10f867(0x354)](_0xf764b1,_0x526c4a){var _0x140f00=_0x10f867;const {unitID:_0x3c81fa,type:_0x792585,blockID:_0x4b9a83}=_0x526c4a,_0x2af654=this[_0x140f00(0x42c)]()+'/block/'+_0x792585+_0x140f00(0x408)+_0x3c81fa+_0x140f00(0x4c1)+_0x4b9a83;return(await this[_0x140f00(0x397)][_0x140f00(0x433)](_0x2af654))[_0x140f00(0x22c)];}async[_0x10f867(0x3f2)](_0x4827de,_0xc553d0){var _0x2f758b=_0x10f867;const {unitID:_0x4b7beb,type:_0x2de84d,from:_0x5494d2,to:_0x57cc43}=_0xc553d0,_0x25aeb1=this['_getAPIPrefix']()+'/'+_0x2de84d+_0x2f758b(0x408)+_0x4b7beb+_0x2f758b(0x468)+_0x5494d2+_0x2f758b(0x228)+_0x57cc43;return(await this['_httpService'][_0x2f758b(0x433)](_0x25aeb1))[_0x2f758b(0x22c)];}[_0x10f867(0x27b)](){var _0x21d683=_0x10f867,_0x19921b;return(_0x19921b=this[_0x21d683(0x22b)][_0x21d683(0x345)](Ut))!=null?_0x19921b:this[_0x21d683(0x42c)]();}['_getAPIPrefix'](){var _0xd4260f=_0x10f867,_0x4ee5c1;const _0x22316c=this[_0xd4260f(0x22b)]['getConfig'](Y);return(_0x4ee5c1=_0x22316c==null?void 0x0:_0x22316c['snapshotServerUrl'])!=null?_0x4ee5c1:yt;}async[_0x10f867(0x2cb)](_0x3323d3,_0x16ae49){var _0x19fe8c=_0x10f867;const _0x3329b3='/universer-api/snapshot/'+_0x16ae49['type']+_0x19fe8c(0x408)+_0x16ae49[_0x19fe8c(0x2cd)]+_0x19fe8c(0x2a6);return(await this[_0x19fe8c(0x397)][_0x19fe8c(0x433)](_0x3329b3,{'params':{'resourceId':JSON[_0x19fe8c(0x34f)](_0x16ae49[_0x19fe8c(0x422)])}}))[_0x19fe8c(0x22c)];}[_0x10f867(0x210)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['updateSnapshot'](){var _0x905616=_0x10f867;throw new Error(_0x905616(0x19c));}[_0x10f867(0x384)](){var _0x273dcd=_0x10f867;throw new Error(_0x273dcd(0x19c));}[_0x10f867(0x2ac)](){var _0x4a4e12=_0x10f867;throw new Error(_0x4a4e12(0x19c));}[_0x10f867(0x3d1)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x10f867(0x4d8)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x10f867(0x2b3)]=In([ot(0x0,o[_0x10f867(0x405)]),ot(0x1,o[_0x10f867(0x225)](K[_0x10f867(0x328)]))],exports[_0x10f867(0x2b3)]);var fn=Object[_0x10f867(0x509)],En=(_0x5ef401,_0x22ede2,_0x331e1c,_0x598595)=>{var _0x57efa4=_0x10f867;for(var _0x277ba1=_0x598595>0x1?void 0x0:_0x598595?fn(_0x22ede2,_0x331e1c):_0x22ede2,_0x2301b0=_0x5ef401[_0x57efa4(0x371)]-0x1,_0x1d1c9f;_0x2301b0>=0x0;_0x2301b0--)(_0x1d1c9f=_0x5ef401[_0x2301b0])&&(_0x277ba1=_0x1d1c9f(_0x277ba1)||_0x277ba1);return _0x277ba1;},ue=(_0x819113,_0x3033a2)=>(_0x59f4f2,_0x1c9212)=>_0x3033a2(_0x59f4f2,_0x1c9212,_0x819113);exports['CollaborativeUndoRedoService']=class extends o[_0x10f867(0x482)]{constructor(_0x53260f,_0x505ef5,_0x3ea90a,_0x306b6b,_0x31a64c){var _0x273286=_0x10f867;super(_0x53260f,_0x505ef5,_0x3ea90a),this['_transformService']=_0x306b6b,this[_0x273286(0x280)]=_0x31a64c;}[_0x10f867(0x3a0)](_0x144b49,_0x57b7b8){var _0x183bb5=_0x10f867;const _0x5cc3f3=this[_0x183bb5(0x2ae)](_0x144b49);if(_0x5cc3f3)try{const _0x52ebba=this[_0x183bb5(0x342)](_0x5cc3f3,_0x57b7b8);this[_0x183bb5(0x1b5)](_0x144b49,_0x52ebba);}catch(_0x2b2052){this[_0x183bb5(0x280)][_0x183bb5(0x3a8)](_0x183bb5(0x3c2),_0x2b2052),this[_0x183bb5(0x31d)](_0x144b49);}const _0xed7e82=this['_getRedoStack'](_0x144b49);if(_0xed7e82)try{const _0x6e5778=this['_transformStack'](_0xed7e82,_0x57b7b8);this[_0x183bb5(0x4af)](_0x144b49,_0x6e5778);}catch(_0x2aa640){this[_0x183bb5(0x280)][_0x183bb5(0x3a8)](_0x2aa640),this[_0x183bb5(0x4ea)](_0x144b49);}}[_0x10f867(0x31d)](_0x49a114){var _0x131953=_0x10f867;const _0x39950b=this[_0x131953(0x2ae)](_0x49a114);_0x39950b&&(_0x39950b[_0x131953(0x371)]=0x0,this[_0x131953(0x1a9)]());}[_0x10f867(0x4ea)](_0x3c32d3){var _0x3b3bd7=_0x10f867;const _0x31c9e6=this[_0x3b3bd7(0x3e4)](_0x3c32d3);_0x31c9e6&&(_0x31c9e6['length']=0x0,this[_0x3b3bd7(0x1a9)]());}[_0x10f867(0x1b5)](_0x116bca,_0x25977c){var _0x3ee2f9=_0x10f867;this[_0x3ee2f9(0x3b8)][_0x3ee2f9(0x186)](_0x116bca,_0x25977c),this[_0x3ee2f9(0x1a9)]();}[_0x10f867(0x4af)](_0x5240a3,_0xcf547){var _0x4102a3=_0x10f867;this['_redoStacks'][_0x4102a3(0x186)](_0x5240a3,_0xcf547),this[_0x4102a3(0x1a9)]();}[_0x10f867(0x342)](_0x15e0f0,_0xf0aa94){var _0x4e56aa=_0x10f867;const _0x2f7b5d=[];let _0x106165=_0xf0aa94,_0x1416ef=_0xf0aa94;for(let _0x4eae2a=_0x15e0f0[_0x4e56aa(0x371)]-0x1;_0x4eae2a>=0x0;_0x4eae2a--){const {unitID:_0x41f9c3,undoMutations:_0x37c398,redoMutations:_0x1f777c}=_0x15e0f0[_0x4eae2a],_0x1d40ee=this[_0x4e56aa(0x33c)][_0x4e56aa(0x4da)](_0x106165,_0x37c398),_0x3c496=this[_0x4e56aa(0x33c)][_0x4e56aa(0x4da)](_0x1416ef,_0x1f777c);if(E[_0x4e56aa(0x240)](_0x1d40ee)||E[_0x4e56aa(0x240)](_0x3c496)){this[_0x4e56aa(0x280)][_0x4e56aa(0x3a8)](_0x4e56aa(0x3c2),_0x4e56aa(0x23b),_0x1d40ee,_0x3c496);break;}_0x106165=_0x1d40ee['c1Prime'],_0x1416ef=_0x3c496[_0x4e56aa(0x1a3)],_0x2f7b5d[_0x4e56aa(0x24d)]({'unitID':_0x41f9c3,'undoMutations':_0x1d40ee['m2Prime'],'redoMutations':_0x3c496[_0x4e56aa(0x323)]});}return _0x2f7b5d[_0x4e56aa(0x346)]();}},exports[_0x10f867(0x41f)]=En([ue(0x0,o[_0x10f867(0x470)]),ue(0x1,o[_0x10f867(0x374)]),ue(0x2,o[_0x10f867(0x3e7)]),ue(0x3,E[_0x10f867(0x297)]),ue(0x4,o[_0x10f867(0x4f6)])],exports['CollaborativeUndoRedoService']);var pn=Object[_0x10f867(0x3f5)],mn=Object['getOwnPropertyDescriptor'],gn=(_0x5b7dc0,_0x58a50f,_0x726b8)=>_0x58a50f in _0x5b7dc0?pn(_0x5b7dc0,_0x58a50f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x726b8}):_0x5b7dc0[_0x58a50f]=_0x726b8,Tn=(_0x358426,_0x5008ec,_0x529ded,_0x4cad9c)=>{var _0x480835=_0x10f867;for(var _0x49d955=_0x4cad9c>0x1?void 0x0:_0x4cad9c?mn(_0x5008ec,_0x529ded):_0x5008ec,_0x4cfd62=_0x358426[_0x480835(0x371)]-0x1,_0x4a93ec;_0x4cfd62>=0x0;_0x4cfd62--)(_0x4a93ec=_0x358426[_0x4cfd62])&&(_0x49d955=_0x4a93ec(_0x49d955)||_0x49d955);return _0x49d955;},we=(_0x17dca2,_0x5d3883)=>(_0x48d8b4,_0x128daa)=>_0x5d3883(_0x48d8b4,_0x128daa,_0x17dca2),Cn=(_0x511d39,_0x30dac3,_0x1e555e)=>gn(_0x511d39,_0x30dac3+'',_0x1e555e);const On=_0x10f867(0x493);exports[_0x10f867(0x4c7)]=class extends o[_0x10f867(0x2e5)]{constructor(_0x287a5b,_0x1d202b,_0x580a19,_0x159b04){var _0x361cd4=_0x10f867;super(),A(this,_0x361cd4(0x1c1)),(this[_0x361cd4(0x280)]=_0x1d202b,this[_0x361cd4(0x4f8)]=_0x580a19,this[_0x361cd4(0x22b)]=_0x159b04);const {..._0x4271be}=o[_0x361cd4(0x2f7)]({},Qt,_0x287a5b);if(!_0x4271be[_0x361cd4(0x3bb)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x4271be,this[_0x361cd4(0x22b)][_0x361cd4(0x183)](Y,_0x4271be);}[_0x10f867(0x247)](){var _0x2ea53a=_0x10f867;this[_0x2ea53a(0x40c)](),this[_0x2ea53a(0x1ae)]();}[_0x10f867(0x40c)](){var _0x344cbe=_0x10f867,_0x1ef605,_0x215666;this['_injector']['has'](o['IUndoRedoService'])&&this[_0x344cbe(0x280)][_0x344cbe(0x3a8)](_0x344cbe(0x488),_0x344cbe(0x2cc));const _0x52dd49=o[_0x344cbe(0x1e7)]([[o[_0x344cbe(0x4f9)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x344cbe(0x1fd)]],[exports[_0x344cbe(0x215)]],[exports[_0x344cbe(0x508)]],[Ne],[De],[$e],[ye],[ee],[exports['DataLoaderService']],[Fe,{'useClass':this[_0x344cbe(0x1c1)][_0x344cbe(0x3bb)]}],[E[_0x344cbe(0x296)],{'useClass':exports[_0x344cbe(0x2b3)]}],[o[_0x344cbe(0x2bd)],{'useClass':exports['AuthzIoHttpService']}],[z[_0x344cbe(0x18e)],{'useClass':exports['CollaborationImageIoService']}],[o[_0x344cbe(0x373)],{'useClass':exports[_0x344cbe(0x1af)]}],[exports['CollaborationController']],[xe]],(_0x1ef605=this['_config'])==null?void 0x0:_0x1ef605[_0x344cbe(0x21a)]);if(!((_0x215666=this[_0x344cbe(0x1c1)])!=null&&_0x215666['enableSingleActiveInstanceLock'])){const _0x33d5f7=_0x52dd49[_0x344cbe(0x2f3)](([_0x4880df])=>_0x4880df===ve);_0x33d5f7!==-0x1&&_0x52dd49['splice'](_0x33d5f7,0x1);}o['registerDependencies'](this[_0x344cbe(0x4f8)],_0x52dd49);}['_initDependencies'](){var _0x570627=_0x10f867,_0xff274,_0x1423cc,_0xa4e0ce;this[_0x570627(0x4f8)][_0x570627(0x433)](K[_0x570627(0x328)])[_0x570627(0x35a)]({'priority':0x14,'interceptor':K[_0x570627(0x17e)]({'maxParallel':0x6})}),(_0xff274=this[_0x570627(0x1c1)])!=null&&_0xff274[_0x570627(0x393)]||(_0x1423cc=this[_0x570627(0x4f8)]['get'](q,o['Quantity'][_0x570627(0x333)]))==null||_0x1423cc[_0x570627(0x246)](),(_0xa4e0ce=this[_0x570627(0x1c1)])!=null&&_0xa4e0ce[_0x570627(0x1e6)]&&o['touchDependencies'](this['_injector'],[[Ne]]),o[_0x570627(0x4c4)](this[_0x570627(0x4f8)],[[De],[exports[_0x570627(0x4e5)]],[ye]]);}},Cn(exports[_0x10f867(0x4c7)],_0x10f867(0x339),On),exports[_0x10f867(0x4c7)]=Tn([o[_0x10f867(0x355)](E[_0x10f867(0x2e7)],K[_0x10f867(0x442)]),we(0x1,o[_0x10f867(0x4f6)]),we(0x2,o[_0x10f867(0x225)](o[_0x10f867(0x2c4)])),we(0x3,o[_0x10f867(0x405)])],exports[_0x10f867(0x4c7)]),exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports[_0x10f867(0x3e9)]=je,exports['CollaborationUIEventId']=J,exports[_0x10f867(0x42b)]=ee,exports[_0x10f867(0x48c)]=$e,exports[_0x10f867(0x4ac)]=_t,exports[_0x10f867(0x4c6)]=Bt,exports[_0x10f867(0x347)]=Pt,exports['HEARTBEAT_INTERVAL_KEY']=ht,exports['HEARTBEAT_TIMEOUT_KEY']=ke,exports['ICollaborationSocketService']=Fe,exports[_0x10f867(0x2a1)]=q,exports['INetworkConditionService']=pt,exports[_0x10f867(0x21c)]=ve,exports['LOCAL_CACHE_INTERVAL']=kt,exports[_0x10f867(0x290)]=xt,exports[_0x10f867(0x2d0)]=jt,exports[_0x10f867(0x3c0)]=ut,exports['SessionStatus']=se,exports[_0x10f867(0x267)]=He,exports[_0x10f867(0x444)]=mt,exports['getLocalCacheKey']=zt,exports[_0x10f867(0x302)]=gt;function _0x4832(){var _0x540dbc=['commentUpdate$','NoPadding','__creator','_onConnectionOpen','NO_OTHER_CLIENTS_EDITING','_resendTimer','getCollabEntity$','max','decryptBlock','copyFileMeta','deepClone','PSEUDO_FETCH_MISSING_RESULT','_tryReconnect','Error\x20on\x20receiving\x20event','ENTITLE_REPORT_LIMIT_EXCEED','ENTITLE_INVALID_COUPON_CODE','SetSelectionsOperation','keySize','SOCKET_FAILED_RETRY','algo','dispose','awaiting','msCrypto','min','HEARTBEAT_INTERVAL','/-/object/list','emitEvent','_entities','_getRedoStack','firstValueFrom','CONFLICT','IContextService','CHANGESET_REJ','CollaborationStatus','words','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_collaborationTimeoutTimer','YUUMI_ALL_TABLES_IS_INVALID','getTime','_sessions','catch','[CollaborationEntity]','fetchMissingChangesets','[PendingState]:\x20received\x20rejection.','[PendingState]:\x20received\x20acknowledgement.','defineProperty','readyForCollab','updateMember','onRemoteRej','_minBufferSize','cfg','_parse','APPLY_NON_SEQUENTIAL_REVISION','1196088qBPDEX','title','joinEvent','change$','mapDocumentTypeToUniverType','Failed\x20to\x20update\x20permission\x20point','JSONX','incrementRevOfUnit','IConfigService','_createInitialStateImpl','getFocusedUnit','/unit/','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','status$','url','_registerDependencies','_throwTelemetryCollaborationNewChangeset','unpad','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','readInt32LE','call','_acknowledgedAwaitingChangeset','UNKNOWN_CMD','_iv','_sender','_onConflict','ENTITLE_DUP_SUBSCRIPTION','REDEMPTION_CODE_FULLY_REDEEMED','_retryConnectingTimer','_stopTelemetryCollaborationNewChangeset','buffer','then','_key','LIVESHARE_REQUEST_HOST','CollaborativeUndoRedoService','REDEMPTION_CODE_NOT_STARTED','_pendingMutations','resourceIDs','every','_unitInfo$','[PendingState]:\x20unhandled\x20univer\x20type:\x20','localCacheService','499151UfoZXd','interceptor','code','_toggleOffline','CollaborationUIEventService','_getAPIPrefix','SHOULD_CLOSE_CONN','parseChangesetToProtocol','_getAPIPrefixPath','univer-pro.collaboration-client.network-condition.service','_toggleOnline','/universer-api/authz','get','LIVESHARE_OPERATION','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','delay','&assign=','EMAIL_HAS_BEEN_BOUND','_nRounds','INVALID_INVITE_CODE','_getSendChangesetTimeout','duration','addImageSourceCache','onMissingChangesets','BufferedBlockAlgorithm','asObservable','AuthzIoHttpService','UniverNetworkPlugin','complete','deserializeToCombResponse','SnapshotService','capture','members','concat','SOCKET_FAILED','/universer-api/uniscript','_undoRedoService','getInterceptPoints','getSheetBlock','mutations','_process','_snapshotService','onTransformRemoteChangesetByStateCache','withCredentials','_sendHeartbeat','_resendTimeout','authzUrl','DATA_SOURCE_TOO_LARGE','blockSize','delete','[CollaborationSessionService]:\x20socket\x20error','_state','_eventService','collaborators','univer-pro.collaboration-client.single-active-unit-service','offline','takeUntil','REDEMPTION_USER_NOT_ELIGIBLE','range','closeSession','_getLoginPath','snapshot','LICENSE_DISTRO_REJECTED','_exhaustRemoteChangesetQueue','indexOf','/fetchmissing?from=','resend','_emitMembers','data','unsubscribe','UNRECOGNIZED','LEAVE','_ENC_XFORM_MODE','IUniverInstanceService','permissionRejEvent','loadUnit','StreamCipher','_initRequestHeader','INVALID_ARGUMENT','sequenceExecute','parse','NEW_CHANGESETS','loadSheet','_sendingTimer','3706328VudXGy','objectType','send','debug','c2Prime','createIdentifier','CollaborationEvent','LocalUndoRedoService','toDisposable','APPLY_DUPLICATED','_onUserLeave','4nsCgvw','_roomCreated$','[UniverCollaborationClientPlugin]','Base64','_replayCachedMutations','event$','CommentService','format','ENTITLE_INSUFFICIENT_QUOTA','UNIVER_PROJECT','byteLength','COMMENT_UPDATE','_singleActiveUnitService','UNIVER_COLLABORATION_CLIENT_PLUGIN','ivSize','Univer','HMAC','_univerInstanceService','YUUMI_UNABLE_LOAD_URL','_getDownloadEndpointURL','JOIN_ROOM_PERMISSION_DENIED','ENTITLE_CAN_NOT_BUY_LOWER_OTP','subject','AES','_updateLocalCache','JOINING','LIVESHARE_NEW_HOST','Hex','_scheduleCollaborationTimeoutTimer','CollaborationSocketService','YUUMI_SUBSCRIPTION_NOT_FOUND','ERROR_EXCEED_SIZE','UNIVER_SLIDE','_clearLocalCache','focused$','hasOwnProperty','saveImage','slice','DEFAULT_COLLAB_WEB_SOCKET_URL','encrypt','requireSession','_substituteRedoStack','synced','_unitID','univer-pro.collaboration-client-socket-service','function','SyncedState','b64DecodeUnicode','CommandType','method','RETRY_CONNECTING_MAX_COUNT','_transformStateCache','/new_changes','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','session','_userManagerService','SheetsSelectionsService','{fileID}','getUnit','/block/','_sessionStatus$','onRemoteChangeset','touchDependencies','AwaitingWithPendingState','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UniverCollaborationClientPlugin','onMutationExecutedForCollab','_lockTransition','removeMember','conflict','_clearCollaborationTimeoutTimer','sigBytes','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','onCommentUpdate','Cipher','onload','_socket$','createEncryptor','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','LICENSE_MAX_UNITS_EXCEEDED','/allowed','_rescheduleHeartbeat','getLatestCsReqIdBySid','GLOBAL_ROOMS_CNT_EXCEEDS','transformMutationsWithChangeset','_doProcessBlock','YUUMI_NO_CUBOID_FOR_QUESTION','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','getSheetId','YUUMI_TABLE_NOT_FOUND_IN_UNIT','update','MUTATION','result','pipe','CollaborationController','image/png','csAckEvent','REDEMPTION_CODE_INACTIVE','repeat','_clearRedo','lib','loadDoc','FAIL','_state$','Utf8','_permissionService','toggleOffline','NOT_COLLAB','_onUserJoin','toggleOnline','batchAllowed','ILogService','_status$','_injector','IUndoRedoService','FETCH_MISS','HEARTBEAT_TIMEOUT','WordArray','SNAPSHOT_URL_KEY','objectActions','finalize','setWaitCount','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_startTelemetryCollaborationNewChangeset','_clearTimeoutTimer','_telemetryService','_snapshotServerService','NOT_FOUND','_compressMutationService','SheetTransformSelectionsService','getOwnPropertyDescriptor','splice','USER_IS_ANONYMOUS','createSocket','YUUMI_CONNECTOR_URL_NOT_FOUND','collaMsg','ThresholdInterceptorFactory','onStateChange','onLocalMutation','YUUMI_AI_RUN_FAILED','43638WzipUJ','setConfig','onTransformIME','image/gif','set','signUrlServerUrl','BASE64','APPLY_PERMISSION_DENIED','LOGIN_FAILED','_clearHeartbeatTimer','list','error$','IImageIoService','Module','_createHandler','sessionStatus$','_telemetryInfo','DisposableCollection','reject','createCollaborator','USERS_ENTER','ERROR_IMAGE','state$','_change$','sid','_doCreateSocket','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','next','type','objects','1150935HYDWBv','BlockCipher','ClipsheetFragments','c1Prime','appendMutation','_executeRemoteChangeset','_queuedRemoteChangesets','[CollaborationSessionService]','updateOfflineData','_updateStatus','SNAPSHOT_HAS_BEEN_REMOVED','isInternalEditorID','LocaleService','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_initDependencies','MentionIoHttpService','_reverseMap','USER_NOT_INVITED_CODE','textEncoder','encode','getCurrentRevOfUnit','_substituteUndoStack','stopTime','SHA1','LICENSE_IMPORT_SIZE_EXCEEDED','_keyPriorReset','LIVESHARE_FETCH_OPERATIONS','CONNECTOR_DATA_TOO_LARGE','1110640jZYlvy','_createHmacHelper','Decryptor','_memberService','ENSURE_SNAPSHOT_EXECUTION','_config','sheets','onTransformSelections','_iKey','COMPLETION_FINISHED','SUBMIT_CHANGESET','CollaborationImageIoService','location','_schedule','_unlockTransition','ENTITLE_USE_COUPON_NOT_1ST_TRADE','equals','exports','OpenSSL','UnitSnapshot','/universer-api/oidc/authpage','Subject','_sendHeartbeatTimer','_socket','sendChangesetTimeout','updateCollaborator','SUBMIT_CHANGESET_TIMEOUT','_entityInit$','getValue','_getCurrentRevision','BehaviorSubject','getImage','getRandomValues','toStringTag','transformChangesets','[SyncedState]:\x20received\x20acknowledgement.','init','_event$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','loadUnitOfRevision','abs','MOBILE_HAS_BEEN_BOUND','enableAuthServer','mergeOverrideWithDependencies','_socketReady','InsertSheetMutation','JOIN_ROOM_FAILED','headers','clamp','now','key','editing\x20status\x20changed\x20to','ENTITLE_NEED_BILLING_ADDRESS','state','charCodeAt','textRanges','collaboration-client.config','_keySchedule','shareReplay','random','memberID','HttpExport','unitId','ONLINE','getCurrentSelections','CollaborationSessionService','?url=','commentUpdateEvent','createDecryptor','FetchingMissState','hostname','MentionType','startsWith','onTransformState','csShouldRetryEvent','add','MOBILE_VERIFY_CODE_MISMATCH','downloadEndpointUrl','SheetCollaborationEntity','_maxTotalRetryTimeout','open$','PasswordBasedCipher','YUUMI_ASYNCIO_CANCELLED','onTransformRemoteChangesetByIMECache','saveSnapshot','\x0aCurrent:\x20','resolve','reconnect','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','MemberService','enc','unitInfo$','YUUMI_RATE_OVER_LIMIT','target','override','enableCollaboration','ISingleActiveUnitService','infoRsp','userID','apply','_map','UNKNOWN_CODE','salt','_disableEditing','status','Inject','roles','27YhIRik','&to=','HELLO','DocCollaborationEntity','_configService','body','createInstance','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','collaboration-client.local-cache-service','MergeInterceptorFactory','_transformSelections','reset','UserProfileImg','localeService','WECHAT_HAS_BEEN_BOUND','_clearRetryConnectingTimer','session.room-cnt-exceeds','executeCommand','cmd','generateRandomId','transformStack\x20failed!','CompressMutationService','_transformUndoredo','_doFinalize','PERMISSION_DENIED','isTransformMutationsWithChangesetFailure','disposeWithMe','TOO_MANY_REQUESTS','_scheduleCompleteTimestamp','Optional','responseType','disableLocalCache','onStarting','_candidateSocket','FileId','onlyLocal','shouldCloseConn','[OfflineState]:\x20received\x20changeset.','push','[SyncedState]:\x20received\x20rejection.','_initCloseConn','getCurrentUser','[OfflineState]:\x20received\x20acknowledgement.','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_collaborationPaused','objectID','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getTypeOfUnitAdded$','take','BlockCipherMode','_onRemoteACK','isTransformMutationsWithChangesetSuccess','USERS_LEAVE','dispose$','FETCH_MISSING','map','OTHER_CLIENTS_EDITING','replace','loginUrlKey','_transformRemoteChangesetByStateCache','_replaceFileID','EMAIL_VERIFY_CODE_MISMATCH','ENTITLE_CHAT_LIMIT_EXCEED','SerializableCipher','UnitStatus','_data','_tryEnsureSocket','PY_RUNTIME_SCRIPT_ERROR','_onJoinRoomEvent','CURRENT_STATUS_CANNOT_OPERATE','_createInitialState','_sheetTransformSelectionsService','_networkConditionService','_isPermissionRej','REDEMPTION_INVALID_CODE','_socketService','fetchMiss','_shouldReportTelemetry','APPLY_REJECT','_instanceService','getCollabEntity','liveShareOperation','RevisionService','_onConnectionFailed','getSnapshotAPIPath','_updateState','\x20-\x20','pad','sessionStatus','_logService','Undefined','processBlock','_createHelper','/rev/','extend','INTERNAL_ERROR','execute','allowed','updatePermissionObjEvent','originalMeta','_createSocket','put','floor','_hasher','_append','LOCAL_CACHE_INTERVAL_KEY','ws://127.0.0.1:8000/universer-api/comb/connect','image/jpeg','close','_handlerCallback','has','ISnapshotServerService','ITransformService','getUnitId','file','randomBytes','onRemoteRetry','_resendWithTimeout','SNAPSHOT_INVALID_SNAPSHOT','_initMergeInterceptor','AwaitingState','HEARTBEAT','ILocalCacheService','_timeoutTimer','_checkMissing','transformSelections','_onOffline','/resources','listRoles','UniverInstanceType','_applyRemoteChangeset','clear','/role','saveChangeset','eventID','_getUndoStack','pauseCollaboration','JOIN_ROOM_NOT_EXISTS','UnitEmbedded','_imageSourceCache','SnapshotServerOverHTTPService','AWAITING_WITH_PENDING','_waitCount','_hash','actions','MD5','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','close$','LIVESHARE_TERMINATE','entries','IAuthzIoService','create','SheetPermissionInitController','EvpKDF','_incrementRevisionNumber','getMember','_invKeySchedule','Injector','fetchThroughInterceptors','x-univer-host','_onRemoteRejected','IDLE','POST','_showConflictNotification','getResourcesRequest','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','unitID','ReplaySubject','People','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_clearScheduledTask','_decreaseWaiting','prototype','includes','encryptBlock','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','crypto','RxDisposable','DEFAULT_FILE_NAME','find','REDEMPTION_CODE_HAS_BEEN_CREATED','_remoteChangesetQueue','_collaborationSessionService','_localCacheService','COMPRESS_MUTATION_APPLY','_transitionLocked','JOIN_ROOM_FULL','_xformMode','_changesetReqId','Workbook','Plugin','Pkcs7','UniverCollaborationPlugin','requestParams','uuidv4','_initUnitPermissionChange','OfflineState','online$','_removeRoom','_commandService','OFFLINE','getImageSourceCache','__splitChunk__','refreshPermission','findIndex','ImageSourceType','isPermissionRej','LOGIN_TOKEN_PROCESSING_FAILED','merge','auth.needGotoLoginAlert','_getCtorByUniverType','PERMISSION_REJ','_changesetSessionId','updatePermissionPoint','_onRemoteChangeset','UPDATE_PERMISSION_OBJ','_handler','_onRemoteRetry','href','serializeCombRequest','selections','MSG_FOR_ERROR','ImageUploadStatusType','filter','formatter','INVITE_CODE_ALREADY_BOUND','ENTITLE_COUPON_USED_UP','11739LfTagP','CollaborationEntity','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','setShowComponents','reqId','onSendChangeset','fetch_missing','_waitForHeartbeatResponse','padding','_transformRemoteChangesetByIMECache','_onCombEvent','join','_type','setCurrentUser','from','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','decrypt','RichTextEditingMutation','_clearUndo','routeKey','getMemberID','LICENSE_EXPORT_SIZE_EXCEEDED','_joinRoom','?size=','m2Prime','ciphertext','_mode','pending','UNDEFINED','HTTPService','ceil','/collaborator','baseRev','params','[OfflineState]:\x20received\x20rejection.','awaiting_with_pending','_listenToNetworkCondition','_commentService','parseProtocolChangeset','UPDATE_CURSOR','OPTIONAL','_transformIMECache','hasher','_collaborationUIEventService','_collabSessionService','post','pluginName','ERROR_IMAGE_TYPE','clone','_transformService','getRoom','PAYMENT_CHANNEL_NOT_SUPPORT','getUnitType','Malformed\x20UTF-8\x20data','connection\x20error','_transformStack','INGEST','ALREADY_EXISTS','getConfig','reverse','DEFAULT_WS_SESSION_TICKET_URL','_fetchMissChangesets','onRemoteAck','subscribe','message$','isArray','isTransformChangesetsSuccess','fromCharCode','stringify','charAt','REDEMPTION_USER_REDEEM_TIMES_EXCEED','Disposable','mode','getDeserializedSheetBlock','DependentOn','string','revision','_init','_onLocalMutation','registerHTTPInterceptor','forEach','getAllMembers','Base','_submitChangeset','ConflictState','telemetry\x20info\x20is\x20not\x20initialized','_commentUpdate$','CollaborationSession','size','reduce','/object/','compute','YUUMI_URL_COL_OUT_OF_RANGE','PERSON','collaboratorID','IPermissionService','CHANGESET_ACK','src','UNISCRIPT_RUN','COMPRESS_MUTATION_SEND','APPLY_REVISION_CONFILICT','getUnitOnRev','length','_onMessage','IMentionIOService','ICommandService','UserManagerService','toString','_nDataBytes','Tools','/-/object/-/batch_allowed','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','JOIN','onSyncEditingCollabCursor','_getSignURL','LOCAL_CACHE_INTERVAL','loadOfflineData','_revisionService','_onFetchMissResult','UNIVER_DOC','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','saveSheetBlock','name','CLOSE_ROOM','_doReset','_HTTPService','getUnitStatus$','_startCollaboration','CHANGESET_REVISION_CONFILICT','image/jpg','RECV','INVITE_CODE_HAS_BEEN_UES','subUnitId','session.room-permission-denied','mixIn','getActiveSheet','enableOfflineEditing','kdf','_retryCount','avatar','_httpService','[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.','session.join-failed','default','_members$','DataLoaderService','__esModule','1422CcCqbE','onMissedChangesetFetched','transformUndoRedo','PendingState','concatMap','_cipher','getTypeOfUnitDisposed$','[CollaborationState]:\x20apply\x20error!','byteOffset','Hasher','error','session.room-not-exists','getWorkbookSelections','action','USER_NOT_FOUND','Encryptor','AUTHORIZE_CODE_ILLEGAL','_roomMembers','SUCCUSS','_socketMessageSubscription','HmacSHA1','compose','unitId\x20is\x20not\x20found','Rectangle','_awaitingChangeset','_members','_undoStacks','CHANGESET_SHOULD_RETRY','[DataLoaderService]','socketService','\x0aAfter:\x20','_syncEditingCollabCursor','image/bmp','UNIVER_SHEET','RETRY_CONNECTING_MAX_COUNT_KEY','unknown','[CollaborationUndoRedoService]','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','addHandlerCallback','ENTITLE_COUPON_EXPIRED','WorkbookEditablePermission','[CollaborationSession]'];_0x4832=function(){return _0x540dbc;};return _0x4832();}
1
+ 'use strict';var _0x1d77b0=_0x376d;(function(_0x59a71f,_0x1a005d){var _0x2caf9d=_0x376d,_0x1dfc5c=_0x59a71f();while(!![]){try{var _0x2fec27=parseInt(_0x2caf9d(0x409))/0x1*(-parseInt(_0x2caf9d(0x109))/0x2)+parseInt(_0x2caf9d(0x15f))/0x3*(parseInt(_0x2caf9d(0x417))/0x4)+-parseInt(_0x2caf9d(0x185))/0x5*(-parseInt(_0x2caf9d(0x245))/0x6)+parseInt(_0x2caf9d(0x3d0))/0x7+parseInt(_0x2caf9d(0x27b))/0x8+parseInt(_0x2caf9d(0xf1))/0x9*(-parseInt(_0x2caf9d(0x13d))/0xa)+parseInt(_0x2caf9d(0x1c6))/0xb*(-parseInt(_0x2caf9d(0x291))/0xc);if(_0x2fec27===_0x1a005d)break;else _0x1dfc5c['push'](_0x1dfc5c['shift']());}catch(_0x584840){_0x1dfc5c['push'](_0x1dfc5c['shift']());}}}(_0x4131,0x4f1be));var bt=Object[_0x1d77b0(0x3eb)],Rt=(_0x5afa48,_0x2ecc1c,_0x1a2679)=>_0x2ecc1c in _0x5afa48?bt(_0x5afa48,_0x2ecc1c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a2679}):_0x5afa48[_0x2ecc1c]=_0x1a2679,A=(_0x570efe,_0x5f3b4d,_0x3f0bf2)=>Rt(_0x570efe,typeof _0x5f3b4d!='symbol'?_0x5f3b4d+'':_0x5f3b4d,_0x3f0bf2);Object[_0x1d77b0(0x3eb)](exports,Symbol[_0x1d77b0(0x2b3)],{'value':'Module'});const E=require('@univerjs-pro/collaboration'),o=require('@univerjs/core'),ct=require('@univerjs/docs'),Q=require('@univerjs/sheets'),j=require('rxjs'),Nt=require('@univerjs/telemetry'),V=require('rxjs/operators'),K=require('@univerjs/network'),z=require('@univerjs/drawing'),Dt=require('@univerjs-pro/license'),yt=_0x1d77b0(0xda),Ut=_0x1d77b0(0x1a8),At=0x7d0,_t=_0x1d77b0(0xae),Pt=_0x1d77b0(0x263),ht=_0x1d77b0(0x3a9),Lt=0x7530,ke=_0x1d77b0(0x1cd),lt=0x4e20,Mt=0x4e20,ut='RETRY_CONNECTING_MAX_COUNT',wt=0x3,xt=_0x1d77b0(0x121),kt=0x3e8,$t=_0x1d77b0(0x2a1),Ht=_0x1d77b0(0x2dd),jt=_0x1d77b0(0x3a7),Bt='/universer-api/uniscript';var vt=(_0xc59f41=>(_0xc59f41[_0xc59f41[_0x1d77b0(0x1f9)]=0x0]=_0x1d77b0(0x1f9),_0xc59f41[_0xc59f41['OK']=0x1]='OK',_0xc59f41[_0xc59f41[_0x1d77b0(0x2e2)]=0x2]='INTERNAL_ERROR',_0xc59f41[_0xc59f41[_0x1d77b0(0x21e)]=0x3]=_0x1d77b0(0x21e),_0xc59f41[_0xc59f41[_0x1d77b0(0x3c4)]=0x4]=_0x1d77b0(0x3c4),_0xc59f41[_0xc59f41[_0x1d77b0(0x32f)]=0x5]=_0x1d77b0(0x32f),_0xc59f41[_0xc59f41[_0x1d77b0(0x247)]=0x6]=_0x1d77b0(0x247),_0xc59f41[_0xc59f41[_0x1d77b0(0x3a0)]=0x7]=_0x1d77b0(0x3a0),_0xc59f41[_0xc59f41[_0x1d77b0(0x1ff)]=0x8]=_0x1d77b0(0x1ff),_0xc59f41[_0xc59f41['COMPLETION_FINISHED']=0x9]=_0x1d77b0(0xcc),_0xc59f41[_0xc59f41[_0x1d77b0(0x372)]=0xa]=_0x1d77b0(0x372),_0xc59f41[_0xc59f41[_0x1d77b0(0x212)]=0xb]=_0x1d77b0(0x212),_0xc59f41[_0xc59f41[_0x1d77b0(0x3a5)]=0xc]=_0x1d77b0(0x3a5),_0xc59f41[_0xc59f41[_0x1d77b0(0x2c9)]=0xd]=_0x1d77b0(0x2c9),_0xc59f41[_0xc59f41[_0x1d77b0(0x2ee)]=0xe]=_0x1d77b0(0x2ee),_0xc59f41[_0xc59f41[_0x1d77b0(0x34f)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0xc59f41[_0xc59f41[_0x1d77b0(0x162)]=0x10]=_0x1d77b0(0x162),_0xc59f41[_0xc59f41['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x1d77b0(0x423),_0xc59f41[_0xc59f41[_0x1d77b0(0x370)]=0x65]=_0x1d77b0(0x370),_0xc59f41[_0xc59f41[_0x1d77b0(0x24b)]=0xc9]=_0x1d77b0(0x24b),_0xc59f41[_0xc59f41[_0x1d77b0(0x226)]=0xca]=_0x1d77b0(0x226),_0xc59f41[_0xc59f41['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x1d77b0(0x322),_0xc59f41[_0xc59f41[_0x1d77b0(0x231)]=0x1771]=_0x1d77b0(0x231),_0xc59f41[_0xc59f41[_0x1d77b0(0x223)]=0x1772]=_0x1d77b0(0x223),_0xc59f41[_0xc59f41['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0xc59f41[_0xc59f41[_0x1d77b0(0x2ed)]=0x1b59]=_0x1d77b0(0x2ed),_0xc59f41[_0xc59f41['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xc59f41[_0xc59f41[_0x1d77b0(0x3fa)]=0x1b5b]=_0x1d77b0(0x3fa),_0xc59f41[_0xc59f41[_0x1d77b0(0x1ed)]=0x1b5c]=_0x1d77b0(0x1ed),_0xc59f41[_0xc59f41['APPLY_DUPLICATED']=0x1b5d]=_0x1d77b0(0x25e),_0xc59f41[_0xc59f41[_0x1d77b0(0xb9)]=0x1f41]=_0x1d77b0(0xb9),_0xc59f41[_0xc59f41[_0x1d77b0(0x255)]=0x2329]=_0x1d77b0(0x255),_0xc59f41[_0xc59f41[_0x1d77b0(0x173)]=0x232a]=_0x1d77b0(0x173),_0xc59f41[_0xc59f41[_0x1d77b0(0x204)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xc59f41[_0xc59f41[_0x1d77b0(0x209)]=0x232c]=_0x1d77b0(0x209),_0xc59f41[_0xc59f41['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0xc59f41[_0xc59f41[_0x1d77b0(0x328)]=0x2711]=_0x1d77b0(0x328),_0xc59f41[_0xc59f41[_0x1d77b0(0x27a)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xc59f41[_0xc59f41[_0x1d77b0(0xb7)]=0x2713]=_0x1d77b0(0xb7),_0xc59f41[_0xc59f41[_0x1d77b0(0x35c)]=0x2714]=_0x1d77b0(0x35c),_0xc59f41[_0xc59f41['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x1d77b0(0x17f),_0xc59f41[_0xc59f41[_0x1d77b0(0x358)]=0x271b]=_0x1d77b0(0x358),_0xc59f41[_0xc59f41[_0x1d77b0(0x257)]=0x271c]=_0x1d77b0(0x257),_0xc59f41[_0xc59f41[_0x1d77b0(0x403)]=0x271d]=_0x1d77b0(0x403),_0xc59f41[_0xc59f41[_0x1d77b0(0x12d)]=0x271e]=_0x1d77b0(0x12d),_0xc59f41[_0xc59f41[_0x1d77b0(0x408)]=0x271f]=_0x1d77b0(0x408),_0xc59f41[_0xc59f41[_0x1d77b0(0x244)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0xc59f41[_0xc59f41['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x1d77b0(0x1d1),_0xc59f41[_0xc59f41[_0x1d77b0(0x2bb)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0xc59f41[_0xc59f41[_0x1d77b0(0x321)]=0x2ee2]=_0x1d77b0(0x321),_0xc59f41[_0xc59f41[_0x1d77b0(0x319)]=0x2ee3]=_0x1d77b0(0x319),_0xc59f41[_0xc59f41[_0x1d77b0(0x36d)]=0x2ee4]=_0x1d77b0(0x36d),_0xc59f41[_0xc59f41[_0x1d77b0(0x1ca)]=0x2ee5]=_0x1d77b0(0x1ca),_0xc59f41[_0xc59f41[_0x1d77b0(0x100)]=0x32c9]=_0x1d77b0(0x100),_0xc59f41[_0xc59f41[_0x1d77b0(0x216)]=0x32ca]=_0x1d77b0(0x216),_0xc59f41[_0xc59f41[_0x1d77b0(0x276)]=0x32cb]=_0x1d77b0(0x276),_0xc59f41[_0xc59f41[_0x1d77b0(0x41d)]=0x36b1]=_0x1d77b0(0x41d),_0xc59f41[_0xc59f41['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x1d77b0(0x3e9),_0xc59f41[_0xc59f41['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x1d77b0(0x259),_0xc59f41[_0xc59f41[_0x1d77b0(0x2a5)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0xc59f41[_0xc59f41[_0x1d77b0(0x2a9)]=0x36b5]=_0x1d77b0(0x2a9),_0xc59f41[_0xc59f41[_0x1d77b0(0x17e)]=0x36b6]=_0x1d77b0(0x17e),_0xc59f41[_0xc59f41[_0x1d77b0(0x298)]=0x36b7]=_0x1d77b0(0x298),_0xc59f41[_0xc59f41['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x1d77b0(0x3f7),_0xc59f41[_0xc59f41[_0x1d77b0(0x2d0)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0xc59f41[_0xc59f41['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x1d77b0(0x228),_0xc59f41[_0xc59f41[_0x1d77b0(0x12c)]=0x3717]=_0x1d77b0(0x12c),_0xc59f41[_0xc59f41[_0x1d77b0(0x2ef)]=0x37dd]=_0x1d77b0(0x2ef),_0xc59f41[_0xc59f41[_0x1d77b0(0x2fd)]=0x3a99]=_0x1d77b0(0x2fd),_0xc59f41[_0xc59f41[_0x1d77b0(0x154)]=0x3a9a]=_0x1d77b0(0x154),_0xc59f41[_0xc59f41[_0x1d77b0(0x27d)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0xc59f41[_0xc59f41['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x1d77b0(0x3c6),_0xc59f41[_0xc59f41['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x1d77b0(0x1b8),_0xc59f41[_0xc59f41[_0x1d77b0(0x114)]=0x3a9e]=_0x1d77b0(0x114),_0xc59f41[_0xc59f41[_0x1d77b0(0x284)]=0x3a9f]=_0x1d77b0(0x284),_0xc59f41[_0xc59f41[_0x1d77b0(0x3cf)]=0x3e81]=_0x1d77b0(0x3cf),_0xc59f41[_0xc59f41[_0x1d77b0(0x3a2)]=-0x1]=_0x1d77b0(0x3a2),_0xc59f41))(vt||{}),X=(_0x32462d=>(_0x32462d[_0x32462d[_0x1d77b0(0x1cc)]=0x0]=_0x1d77b0(0x1cc),_0x32462d[_0x32462d[_0x1d77b0(0x411)]=0x1]=_0x1d77b0(0x411),_0x32462d[_0x32462d[_0x1d77b0(0x22a)]=0x2]='UNIVER_SHEET',_0x32462d[_0x32462d['UNIVER_SLIDE']=0x3]=_0x1d77b0(0x3be),_0x32462d[_0x32462d['UNIVER_PROJECT']=0x4]=_0x1d77b0(0x346),_0x32462d[_0x32462d[_0x1d77b0(0x3a2)]=-0x1]='UNRECOGNIZED',_0x32462d))(X||{}),W=(_0x4212af=>(_0x4212af[_0x4212af[_0x1d77b0(0x3a6)]=0x0]=_0x1d77b0(0x3a6),_0x4212af[_0x4212af[_0x1d77b0(0x3fb)]=0x1]='HELLO',_0x4212af[_0x4212af[_0x1d77b0(0x1ae)]=0x2]=_0x1d77b0(0x1ae),_0x4212af[_0x4212af[_0x1d77b0(0x41a)]=0x3]=_0x1d77b0(0x41a),_0x4212af[_0x4212af['INGEST']=0x4]=_0x1d77b0(0x2d7),_0x4212af[_0x4212af[_0x1d77b0(0xb8)]=0x5]=_0x1d77b0(0xb8),_0x4212af[_0x4212af[_0x1d77b0(0x19a)]=0x6]=_0x1d77b0(0x19a),_0x4212af[_0x4212af[_0x1d77b0(0x3a2)]=-0x1]=_0x1d77b0(0x3a2),_0x4212af))(W||{}),re=(_0x5643f9=>(_0x5643f9[_0x5643f9[_0x1d77b0(0x2e7)]=0x0]=_0x1d77b0(0x2e7),_0x5643f9[_0x5643f9['OK']=0x1]='OK',_0x5643f9[_0x5643f9[_0x1d77b0(0x24a)]=0x2]=_0x1d77b0(0x24a),_0x5643f9[_0x5643f9[_0x1d77b0(0x2f5)]=0x3e9]='JOIN_ROOM_FULL',_0x5643f9[_0x5643f9[_0x1d77b0(0x1df)]=0x3ea]=_0x1d77b0(0x1df),_0x5643f9[_0x5643f9['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x1d77b0(0x3b6),_0x5643f9[_0x5643f9[_0x1d77b0(0x3bd)]=0x3ec]=_0x1d77b0(0x3bd),_0x5643f9[_0x5643f9[_0x1d77b0(0x3a2)]=-0x1]='UNRECOGNIZED',_0x5643f9))(re||{}),dt=(_0x415f9f=>(_0x415f9f[_0x415f9f['Undefined']=0x0]='Undefined',_0x415f9f[_0x415f9f[_0x1d77b0(0x26e)]=0x1]=_0x1d77b0(0x26e),_0x415f9f[_0x415f9f[_0x1d77b0(0x166)]=0x2]=_0x1d77b0(0x166),_0x415f9f[_0x415f9f[_0x1d77b0(0x152)]=0x3]=_0x1d77b0(0x152),_0x415f9f[_0x415f9f[_0x1d77b0(0x147)]=0x4]=_0x1d77b0(0x147),_0x415f9f[_0x415f9f[_0x1d77b0(0x117)]=0x5]=_0x1d77b0(0x117),_0x415f9f[_0x415f9f[_0x1d77b0(0x309)]=0x6]=_0x1d77b0(0x309),_0x415f9f[_0x415f9f[_0x1d77b0(0x3a2)]=-0x1]=_0x1d77b0(0x3a2),_0x415f9f))(dt||{});const Ft=_0x1d77b0(0x42c);function Vt(_0x53d004){var _0x4301df=_0x1d77b0;return JSON[_0x4301df(0x155)](_0x53d004)['length'];}var J=(_0x3fa335=>(_0x3fa335['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x3fa335[_0x1d77b0(0x21e)]=_0x1d77b0(0x21e),_0x3fa335[_0x1d77b0(0xd2)]=_0x1d77b0(0xd2),_0x3fa335[_0x1d77b0(0x1e4)]='CLOSE_ROOM',_0x3fa335[_0x1d77b0(0x26c)]=_0x1d77b0(0x26c),_0x3fa335[_0x1d77b0(0x133)]='SOCKET_FAILED_RETRY',_0x3fa335[_0x1d77b0(0x2b2)]='SOCKET_FAILED',_0x3fa335['SUBMIT_CHANGESET_TIMEOUT']=_0x1d77b0(0x1c0),_0x3fa335))(J||{});class ee{constructor(){var _0x5ddea4=_0x1d77b0;A(this,_0x5ddea4(0x3ee),new j[(_0x5ddea4(0x3a8))]()),A(this,_0x5ddea4(0x188),this[_0x5ddea4(0x3ee)][_0x5ddea4(0xd9)]());}['emitEvent'](_0x513f41){var _0x324941=_0x1d77b0;this['_event$'][_0x324941(0x19e)](_0x513f41);}}class $e{constructor(){var _0x251bbe=_0x1d77b0;A(this,_0x251bbe(0xf8),new j[(_0x251bbe(0x3a8))]()),A(this,'commentUpdate$',this[_0x251bbe(0xf8)][_0x251bbe(0xd9)]());}[_0x1d77b0(0x17b)](_0x15af95){var _0x2e9694=_0x1d77b0;this[_0x2e9694(0xf8)]['next'](_0x15af95);}}var Wt=Object['getOwnPropertyDescriptor'],Gt=(_0x28bac6,_0xd4b16a,_0x2375c,_0x3eb81b)=>{var _0x25c56e=_0x1d77b0;for(var _0xc3a0ca=_0x3eb81b>0x1?void 0x0:_0x3eb81b?Wt(_0xd4b16a,_0x2375c):_0xd4b16a,_0xd7beff=_0x28bac6[_0x25c56e(0x1b5)]-0x1,_0x2a749a;_0xd7beff>=0x0;_0xd7beff--)(_0x2a749a=_0x28bac6[_0xd7beff])&&(_0xc3a0ca=_0x2a749a(_0xc3a0ca)||_0xc3a0ca);return _0xc3a0ca;},Ve=(_0x2a52e9,_0x4657a5)=>(_0x134249,_0x3be1d3)=>_0x4657a5(_0x134249,_0x3be1d3,_0x2a52e9);exports['MemberService']=class extends o[_0x1d77b0(0x120)]{constructor(_0x3d5952,_0x3291cb){var _0x2ce2a2=_0x1d77b0;super(),A(this,_0x2ce2a2(0x30d),new Map()),A(this,'_roomCreated$',new j[(_0x2ce2a2(0x3a8))]()),(this[_0x2ce2a2(0xf7)]=_0x3d5952,this[_0x2ce2a2(0x1fe)]=_0x3291cb,this[_0x2ce2a2(0x175)](j[_0x2ce2a2(0x1e1)](this[_0x2ce2a2(0xf7)][_0x2ce2a2(0x351)](o[_0x2ce2a2(0x149)][_0x2ce2a2(0x22a)])[_0x2ce2a2(0x102)](V[_0x2ce2a2(0x272)](_0x4f47b3=>_0x4f47b3[_0x2ce2a2(0x1f2)]())),this[_0x2ce2a2(0xf7)]['getTypeOfUnitDisposed$'](o[_0x2ce2a2(0x149)][_0x2ce2a2(0x411)])[_0x2ce2a2(0x102)](V[_0x2ce2a2(0x272)](_0xbf985c=>_0xbf985c[_0x2ce2a2(0x1f2)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](o['UniverInstanceType']['UNIVER_SLIDE'])[_0x2ce2a2(0x102)](V['map'](_0x4a0f35=>_0x4a0f35[_0x2ce2a2(0x1f2)]())))[_0x2ce2a2(0x20d)](_0x23f7c0=>this[_0x2ce2a2(0x113)](_0x23f7c0))));}['waitForRoom$'](_0x525475){var _0x620c48=_0x1d77b0;return this['_roomMembers'][_0x620c48(0x330)](_0x525475)?j['of'](this[_0x620c48(0x30d)][_0x620c48(0x3e0)](_0x525475)):this['_roomCreated$'][_0x620c48(0x102)](V[_0x620c48(0x272)](_0x125d5b=>{var _0x550e23=_0x620c48;if(_0x125d5b===_0x525475)return this[_0x550e23(0x30d)][_0x550e23(0x3e0)](_0x125d5b);}));}[_0x1d77b0(0x2f2)](_0x2e61de){var _0x166cda=_0x1d77b0;this[_0x166cda(0x1fe)][_0x166cda(0x2f2)](_0x2e61de);}['getCurrentUser'](){var _0x188871=_0x1d77b0;return this[_0x188871(0x1fe)][_0x188871(0x382)]();}['updateMember'](_0x44157e,_0x301aac){var _0x54d1cf=_0x1d77b0;let _0x42c6bd=this['_roomMembers']['get'](_0x44157e);_0x42c6bd||(_0x42c6bd=new Yt(),this['_roomMembers'][_0x54d1cf(0x16d)](_0x44157e,_0x42c6bd),this['_roomCreated$'][_0x54d1cf(0x19e)](_0x44157e)),_0x42c6bd[_0x54d1cf(0x299)](_0x301aac);}[_0x1d77b0(0x33c)](_0x3c9e33,_0x45d408){var _0x481043=_0x1d77b0;const _0x2bcfdf=this[_0x481043(0x30d)][_0x481043(0x3e0)](_0x3c9e33);_0x2bcfdf&&_0x2bcfdf['removeMember'](_0x45d408);}[_0x1d77b0(0x28c)](_0x4897cd){var _0x549535=_0x1d77b0;return this[_0x549535(0x30d)][_0x549535(0x3e0)](_0x4897cd);}[_0x1d77b0(0x2a6)](_0x48ae5d,_0x3efe20){var _0x16ef39=_0x1d77b0;const _0x3e261b=this[_0x16ef39(0x30d)][_0x16ef39(0x3e0)](_0x48ae5d);if(_0x3e261b)return _0x3e261b[_0x16ef39(0x2a6)](_0x3efe20);}[_0x1d77b0(0x113)](_0xf68c07){var _0x5c346f=_0x1d77b0;const _0x26b759=this['_roomMembers'][_0x5c346f(0x3e0)](_0xf68c07);_0x26b759&&(_0x26b759['dispose'](),this[_0x5c346f(0x30d)][_0x5c346f(0x3f1)](_0xf68c07));}[_0x1d77b0(0x199)](){var _0x3b269a=_0x1d77b0;this[_0x3b269a(0x30d)][_0x3b269a(0xc2)](_0x399cb3=>_0x399cb3[_0x3b269a(0x199)]()),this['_roomMembers'][_0x3b269a(0x24c)](),this['_roomCreated$'][_0x3b269a(0x313)]();}},exports[_0x1d77b0(0x2de)]=Gt([Ve(0x0,o[_0x1d77b0(0xb3)]),Ve(0x1,o['Inject'](o[_0x1d77b0(0x329)]))],exports[_0x1d77b0(0x2de)]);class Yt extends o['Disposable']{constructor(){var _0x53c126=_0x1d77b0;super(...arguments),A(this,'_members',new Map()),A(this,_0x53c126(0x28b),new j['BehaviorSubject'](this[_0x53c126(0x334)])),A(this,_0x53c126(0x1a2),this[_0x53c126(0x28b)][_0x53c126(0xd9)]());}[_0x1d77b0(0x199)](){var _0x240b28=_0x1d77b0;this[_0x240b28(0x334)]['clear']();}[_0x1d77b0(0x299)](_0x3f43e8){var _0x461922=_0x1d77b0;this[_0x461922(0x334)][_0x461922(0x16d)](_0x3f43e8[_0x461922(0x303)],_0x3f43e8),this[_0x461922(0x355)]();}[_0x1d77b0(0x33c)](_0x51a207){var _0x54b038=_0x1d77b0;this['_members'][_0x54b038(0x3f1)](_0x51a207);}['getMember'](_0x479820){var _0x3e66d5=_0x1d77b0;return this[_0x3e66d5(0x334)][_0x3e66d5(0x3e0)](_0x479820);}[_0x1d77b0(0x34e)](){var _0x33e098=_0x1d77b0;return Array['from'](this[_0x33e098(0x334)]['values']());}[_0x1d77b0(0x355)](){var _0x5c2a5e=_0x1d77b0;this[_0x5c2a5e(0x28b)][_0x5c2a5e(0x19e)](this[_0x5c2a5e(0x334)]);}}var Kt=Object['getOwnPropertyDescriptor'],qt=(_0x295922,_0xdae97c,_0x2ad133,_0x9949da)=>{for(var _0x5c2d25=_0x9949da>0x1?void 0x0:_0x9949da?Kt(_0xdae97c,_0x2ad133):_0xdae97c,_0x45f3b7=_0x295922['length']-0x1,_0x1bc439;_0x45f3b7>=0x0;_0x45f3b7--)(_0x1bc439=_0x295922[_0x45f3b7])&&(_0x5c2d25=_0x1bc439(_0x5c2d25)||_0x5c2d25);return _0x5c2d25;},ce=(_0x4a0f5a,_0x49ba02)=>(_0x1e3a0c,_0x9da967)=>_0x49ba02(_0x1e3a0c,_0x9da967,_0x4a0f5a),se=(_0x4f42ea=>(_0x4f42ea[_0x4f42ea[_0x1d77b0(0x218)]=0x0]=_0x1d77b0(0x218),_0x4f42ea[_0x4f42ea['JOINING']=0x1]='JOINING',_0x4f42ea[_0x4f42ea[_0x1d77b0(0x350)]=0x2]='OFFLINE',_0x4f42ea[_0x4f42ea[_0x1d77b0(0xc8)]=0x3]=_0x1d77b0(0xc8),_0x4f42ea))(se||{});const We={[re[_0x1d77b0(0x24a)]]:'session.join-failed',[re['JOIN_ROOM_FULL']]:'session.room-full',[re[_0x1d77b0(0x1df)]]:'session.room-not-exists',[re[_0x1d77b0(0x3b6)]]:_0x1d77b0(0x327),[re[_0x1d77b0(0x3bd)]]:_0x1d77b0(0x17d)};exports[_0x1d77b0(0x416)]=class extends o['RxDisposable']{constructor(_0xaa999b,_0x2e2cc8,_0x3af2ab,_0x5682a5,_0x9e9bf5,_0x4394ca,_0x56af33,_0x271941){var _0x32d9db=_0x1d77b0;super(),A(this,'_sessionStatus$',new j[(_0x32d9db(0x105))](0x0)),A(this,_0x32d9db(0x24e),this[_0x32d9db(0xf0)]['asObservable']()),A(this,_0x32d9db(0x3ee),new j['Subject']()),A(this,'event$',this['_event$'][_0x32d9db(0xd9)]()),A(this,_0x32d9db(0x1e6)),A(this,_0x32d9db(0x225)),A(this,_0x32d9db(0x1b7)),A(this,_0x32d9db(0x233),!0x1),A(this,'_telemetryInfo',null),(this[_0x32d9db(0x2db)]=_0xaa999b,this[_0x32d9db(0x368)]=_0x3af2ab,this[_0x32d9db(0x143)]=_0x5682a5,this[_0x32d9db(0x2f3)]=_0x9e9bf5,this['_commentService']=_0x4394ca,this[_0x32d9db(0x1d3)]=_0x56af33,this[_0x32d9db(0x310)]=_0x271941,this['_shouldReportTelemetry']=!!this[_0x32d9db(0x310)],_0x2e2cc8[_0x32d9db(0x102)](j[_0x32d9db(0x2b9)](this[_0x32d9db(0x234)]))['subscribe'](_0x4d79b6=>{var _0x3ce3ba=_0x32d9db,_0x46c976;typeof _0x4d79b6>'u'||(this['_socket']=_0x4d79b6,_0x4d79b6?(this[_0x3ce3ba(0xe9)](_0x4d79b6),this[_0x3ce3ba(0x225)]=_0x4d79b6[_0x3ce3ba(0xf9)][_0x3ce3ba(0x20d)](_0x4c6e1a=>{var _0xe4a4e9=_0x3ce3ba;_0x4c6e1a['routeKey']===this[_0xe4a4e9(0x2db)]&&this[_0xe4a4e9(0x191)](_0x4c6e1a);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x3ce3ba(0xf0)][_0x3ce3ba(0x19e)](0x2),(_0x46c976=this[_0x3ce3ba(0x225)])==null||_0x46c976[_0x3ce3ba(0x1a1)](),this['_socketMessageSubscription']=null));}));}get[_0x1d77b0(0x151)](){var _0x353a37=_0x1d77b0;return this[_0x353a37(0xf0)][_0x353a37(0x37f)]();}[_0x1d77b0(0x241)](){var _0x178488,_0x3f2c50;return(_0x3f2c50=(_0x178488=this['_socket'])==null?void 0x0:_0x178488['memberID'])!=null?_0x3f2c50:null;}['dispose'](){var _0x16c276=_0x1d77b0;super[_0x16c276(0x199)](),this[_0x16c276(0x234)][_0x16c276(0x19e)](),this[_0x16c276(0x234)][_0x16c276(0x313)]();}[_0x1d77b0(0x1fc)](){var _0x1e7724=_0x1d77b0,_0x55e00f,_0x443540;this[_0x1e7724(0x293)](),(_0x55e00f=this[_0x1e7724(0x1e6)])==null||_0x55e00f['send']({'cmd':W['LEAVE'],'data':{'roomID':this[_0x1e7724(0x2db)]}}),(_0x443540=this[_0x1e7724(0x1e6)])==null||_0x443540[_0x1e7724(0x1fc)](),this['_event$']['complete'](),this[_0x1e7724(0xf0)]['complete'](),this[_0x1e7724(0x199)]();}[_0x1d77b0(0x191)](_0x57e2a9){var _0x4efb2b=_0x1d77b0;_0x57e2a9[_0x4efb2b(0x158)]===W[_0x4efb2b(0x1ae)]?this['_onJoinRoomEvent'](_0x57e2a9):_0x57e2a9[_0x4efb2b(0x158)]===W[_0x4efb2b(0x19a)]&&this[_0x4efb2b(0x12a)](_0x57e2a9);}['_joinRoom'](_0x7facb){var _0x31bbda=_0x1d77b0;this[_0x31bbda(0xf0)]['next'](0x1),_0x7facb[_0x31bbda(0xfc)]({'cmd':W[_0x31bbda(0x1ae)],'routeKey':this[_0x31bbda(0x2db)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x1d77b0(0x1a5)](_0x987c60){var _0x1ae36c=_0x1d77b0,_0x1f5edf;if(_0x987c60[_0x1ae36c(0xd6)]in We){this[_0x1ae36c(0x1d3)][_0x1ae36c(0x21a)]({'id':J['JOIN_ROOM_FAILED'],'data':We[_0x987c60[_0x1ae36c(0xd6)]]}),this[_0x1ae36c(0xf0)][_0x1ae36c(0x19e)](0x2);return;}this['_sessionStatus$'][_0x1ae36c(0x19e)](0x3);const _0xcf01e9=(_0x1f5edf=_0x987c60[_0x1ae36c(0x337)][_0x1ae36c(0x12e)][this['_unitID']])==null?void 0x0:_0x1f5edf[_0x1ae36c(0x384)];_0xcf01e9&&_0xcf01e9[_0x1ae36c(0xc2)](_0x759dec=>this[_0x1ae36c(0x2f3)][_0x1ae36c(0x299)](this[_0x1ae36c(0x2db)],_0x759dec));}[_0x1d77b0(0x12a)](_0xc53ec6){var _0x2fb999=_0x1d77b0;try{const _0x2260e2=_0xc53ec6['data'];switch(_0x2260e2['eventID']){case E[_0x2fb999(0x29b)]['USERS_ENTER']:this['_onUserJoin'](_0x2260e2),this[_0x2fb999(0x3ee)][_0x2fb999(0x19e)](_0x2260e2);break;case E[_0x2fb999(0x29b)][_0x2fb999(0xf5)]:this[_0x2fb999(0x3b7)](_0x2260e2),this[_0x2fb999(0x3ee)][_0x2fb999(0x19e)](_0x2260e2);break;case E['CollaborationEvent'][_0x2fb999(0x250)]:case E[_0x2fb999(0x29b)][_0x2fb999(0x107)]:this[_0x2fb999(0xef)](),this['_clearCollaborationTimeoutTimer'](),this[_0x2fb999(0x3ee)][_0x2fb999(0x19e)](_0x2260e2);break;case E[_0x2fb999(0x29b)][_0x2fb999(0x10e)]:this[_0x2fb999(0x368)][_0x2fb999(0x33f)](_0x2fb999(0x2b5)+JSON[_0x2fb999(0x155)](_0x2260e2)),this[_0x2fb999(0x3ee)][_0x2fb999(0x19e)](_0x2260e2);break;case E[_0x2fb999(0x29b)]['COMMENT_UPDATE']:this[_0x2fb999(0x38e)][_0x2fb999(0x17b)](_0x2260e2[_0x2fb999(0x337)]),this[_0x2fb999(0x3ee)][_0x2fb999(0x19e)](_0x2260e2);break;default:this[_0x2fb999(0x3ee)][_0x2fb999(0x19e)](_0x2260e2);}}catch(_0x4e95f3){this[_0x2fb999(0x368)]['error'](_0x4e95f3,_0xc53ec6);}}[_0x1d77b0(0x40f)](_0x236f31){var _0x20357b=_0x1d77b0;this[_0x20357b(0x2f3)][_0x20357b(0x299)](this[_0x20357b(0x2db)],_0x236f31[_0x20357b(0x337)]);}[_0x1d77b0(0x3b7)](_0x16e32c){var _0xdb362f=_0x1d77b0;this[_0xdb362f(0x2f3)][_0xdb362f(0x33c)](this[_0xdb362f(0x2db)],_0x16e32c[_0xdb362f(0x337)][_0xdb362f(0x303)]);}async[_0x1d77b0(0xfc)](_0x3d235a,_0x29e3d2){var _0x557323=_0x1d77b0;if(this[_0x557323(0x151)]!==0x3||!this[_0x557323(0x1e6)])throw new Error(_0x557323(0xdf));try{_0x3d235a[_0x557323(0x3da)]===E['CollaborationEvent']['SUBMIT_CHANGESET']&&(this[_0x557323(0x2da)](),this[_0x557323(0x171)](_0x3d235a)),this[_0x557323(0x1e6)][_0x557323(0xfc)]({'cmd':W[_0x557323(0x2d7)],'routeKey':_0x29e3d2,'routeType':'','data':_0x3d235a});}catch(_0x111f09){this[_0x557323(0x368)][_0x557323(0x33f)](_0x111f09);}}['_scheduleCollaborationTimeoutTimer'](){var _0x246918=_0x1d77b0,_0x4cf185;this[_0x246918(0x1b7)]=setTimeout(()=>{var _0x5efa44=_0x246918;this[_0x5efa44(0x1b7)]=null,this[_0x5efa44(0x1d3)][_0x5efa44(0x21a)]({'id':J[_0x5efa44(0x1c0)]});},(_0x4cf185=this[_0x246918(0x143)][_0x246918(0x267)](ke))!=null?_0x4cf185:lt);}[_0x1d77b0(0x130)](){var _0x452ca1=_0x1d77b0;this[_0x452ca1(0x1b7)]&&(clearTimeout(this[_0x452ca1(0x1b7)]),this[_0x452ca1(0x1b7)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x3ab070){var _0x5c5344=_0x1d77b0;if(!this[_0x5c5344(0x233)])return;const {data:_0x1420f7}=_0x3ab070,{unitID:_0x39da2b,changeset:_0x37f79f}=_0x1420f7,{mutations:_0xb5975a,type:_0x4ebb89}=_0x37f79f;this[_0x5c5344(0x112)]={'unitId':_0x39da2b,'type':_0x4ebb89,'startTime':performance[_0x5c5344(0x324)](),'stopTime':0x0,'duration':0x0,'size':Vt(_0xb5975a)};}[_0x1d77b0(0xef)](){var _0xf9c672=_0x1d77b0;if(this[_0xf9c672(0x233)]){if(!this['_telemetryInfo']){this[_0xf9c672(0x368)]['error'](_0xf9c672(0x317),_0xf9c672(0x37b));return;}this[_0xf9c672(0x112)]['stopTime']=performance[_0xf9c672(0x324)](),this['_telemetryInfo'][_0xf9c672(0x435)]=this[_0xf9c672(0x112)]['stopTime']-this[_0xf9c672(0x112)][_0xf9c672(0xd8)],this[_0xf9c672(0x310)][_0xf9c672(0x3d6)](Ft,this[_0xf9c672(0x112)]),this[_0xf9c672(0x112)]=null;}}[_0x1d77b0(0x293)](){var _0x237ddd=_0x1d77b0;this[_0x237ddd(0x112)]=null;}},exports['CollaborationSession']=qt([ce(0x2,o[_0x1d77b0(0x412)]),ce(0x3,o[_0x1d77b0(0x268)]),ce(0x4,o['Inject'](exports['MemberService'])),ce(0x5,o[_0x1d77b0(0x397)]($e)),ce(0x6,o[_0x1d77b0(0x397)](ee)),ce(0x7,o[_0x1d77b0(0x115)](Nt['ITelemetryService']))],exports[_0x1d77b0(0x416)]);const q=o[_0x1d77b0(0x3f8)](_0x1d77b0(0x394));function zt(_0x92278c){var _0x2acdfd=_0x1d77b0;return _0x2acdfd(0x25d)+_0x92278c;}var Xt=Object[_0x1d77b0(0x1c1)],Jt=(_0x46553a,_0x200219,_0x44b801,_0x3f5a18)=>{for(var _0x447650=_0x3f5a18>0x1?void 0x0:_0x3f5a18?Xt(_0x200219,_0x44b801):_0x200219,_0xb98365=_0x46553a['length']-0x1,_0x55605e;_0xb98365>=0x0;_0xb98365--)(_0x55605e=_0x46553a[_0xb98365])&&(_0x447650=_0x55605e(_0x447650)||_0x447650);return _0x447650;},Ue=(_0x50cbb6,_0x42de7b)=>(_0x4547f1,_0x466c7f)=>_0x42de7b(_0x4547f1,_0x466c7f,_0x50cbb6);function Zt(_0xec1585){var _0x9d2830=_0x1d77b0;const {unitID:_0x3199c6,mutations:_0x6bb64b}=_0xec1585;return{'unitId':_0x3199c6,'subUnitId':_0x6bb64b[_0x9d2830(0x1b5)]>0x0?_0x6bb64b[0x0][_0x9d2830(0x1ee)][_0x9d2830(0x398)]:null};}exports[_0x1d77b0(0xe2)]=class{constructor(_0x5ed11b,_0x311497,_0x2e581c){var _0x5ec647=_0x1d77b0;this[_0x5ec647(0x42f)]=_0x5ed11b,this['_transformService']=_0x311497,this[_0x5ec647(0x331)]=_0x2e581c;}[_0x1d77b0(0x1a7)](_0x497fcd){var _0x2b29f8=_0x1d77b0,_0x2bef67,_0x1a3879,_0x2ca253,_0x4b874a;const _0x178885=this[_0x2b29f8(0x42f)]['get'](Q['SheetsSelectionsService']),{unitId:_0x56b173,subUnitId:_0x42a2f8}=Zt(_0x497fcd),_0x557fcc=_0x178885==null?void 0x0:_0x178885['getWorkbookSelections'](_0x56b173)[_0x2b29f8(0x2f9)](),_0x572efa=(_0x1a3879=(_0x2bef67=this[_0x2b29f8(0x331)][_0x2b29f8(0x320)](_0x56b173))==null?void 0x0:_0x2bef67['getActiveSheet']())==null?void 0x0:_0x1a3879[_0x2b29f8(0x26a)]();if(_0x557fcc[_0x2b29f8(0x1b5)]===0x0||!_0x56b173||!_0x42a2f8)return;const _0x27af2c=[{'id':Q[_0x2b29f8(0xdb)]['id'],'params':{'unitId':_0x56b173,'subUnitId':_0x572efa,'selections':o[_0x2b29f8(0xb6)][_0x2b29f8(0x197)](_0x557fcc)}}],_0xc7e309=this['_transformService'][_0x2b29f8(0x27c)](_0x497fcd,_0x27af2c);if(!E['isTransformMutationsWithChangesetSuccess'](_0xc7e309))throw _0xc7e309[_0x2b29f8(0x33f)];const _0x209a70=(_0x4b874a=(_0x2ca253=_0xc7e309[_0x2b29f8(0x1cb)][0x0])==null?void 0x0:_0x2ca253[_0x2b29f8(0x1ee)])==null?void 0x0:_0x4b874a['selections'];if(Array[_0x2b29f8(0x25a)](_0x209a70)&&_0x209a70[_0x2b29f8(0x1b5)]){if(_0x209a70[_0x2b29f8(0x1b5)]===_0x27af2c[0x0]['params'][_0x2b29f8(0x281)][_0x2b29f8(0x1b5)]&&_0x209a70[_0x2b29f8(0x198)]((_0x40d835,_0x4d5fb5)=>o[_0x2b29f8(0x1e5)][_0x2b29f8(0x26d)](_0x40d835['range'],_0x27af2c[0x0][_0x2b29f8(0x1ee)][_0x2b29f8(0x281)][_0x4d5fb5]['range'])))return;this[_0x2b29f8(0x42f)][_0x2b29f8(0x3e0)](o[_0x2b29f8(0x1b6)])[_0x2b29f8(0x141)](Q[_0x2b29f8(0xdb)]['id'],{'unitId':_0x56b173,'subUnitId':_0x572efa,'selections':_0x209a70});}}},exports[_0x1d77b0(0xe2)]=Jt([Ue(0x0,o['Inject'](o[_0x1d77b0(0x3b8)])),Ue(0x1,E[_0x1d77b0(0xea)]),Ue(0x2,o[_0x1d77b0(0xb3)])],exports[_0x1d77b0(0xe2)]);const ve=o['createIdentifier'](_0x1d77b0(0x2c3));var He=(_0x4a8541=>(_0x4a8541[_0x4a8541[_0x1d77b0(0x11c)]=0x0]=_0x1d77b0(0x11c),_0x4a8541[_0x4a8541[_0x1d77b0(0x190)]=0x1]=_0x1d77b0(0x190),_0x4a8541))(He||{});const Y='collaboration-client.config',Qt={};function ei(_0x53330c){var _0x24418b=_0x1d77b0,_0x304bd1;return!!((_0x304bd1=_0x53330c['params'])!=null&&_0x304bd1[_0x24418b(0x413)]);}const ti=new Set([Q[_0x1d77b0(0x150)]['id']]);function Ge(_0x31d171,_0x37dfee,_0x2a1cbf,_0x575782,_0x35752a){var _0x3cdf12=_0x1d77b0,_0x1e0636,_0x36ad92,_0x3debda,_0x57de34;const _0x3d5770=[];for(const _0x229201 of _0x31d171){if(ti[_0x3cdf12(0x330)](_0x229201['id'])){if(_0x3d5770[_0x3cdf12(0x1b5)]>0x0)break;_0x3d5770['push'](_0x229201);break;}if(ei(_0x229201)){if(_0x3d5770[_0x3cdf12(0x1b5)]>0x0)break;_0x3d5770[_0x3cdf12(0x3a1)](_0x229201);break;}_0x3d5770[_0x3cdf12(0x3a1)](_0x229201);}const _0x221f31=(_0x36ad92=(_0x1e0636=_0x35752a[_0x3cdf12(0x382)]())==null?void 0x0:_0x1e0636['userID'])!=null?_0x36ad92:'unknown',_0x438940=(_0x57de34=(_0x3debda=_0x35752a[_0x3cdf12(0x382)]())==null?void 0x0:_0x3debda[_0x3cdf12(0x303)])!=null?_0x57de34:_0x3cdf12(0x374);return{'changeset':{'unitID':_0x37dfee,'type':E['mapDocumentTypeToUniverType'](_0x2a1cbf[_0x3cdf12(0x288)](_0x37dfee)),'baseRev':_0x575782[_0x3cdf12(0xaa)](_0x37dfee),'revision':0x0,'userID':_0x221f31,'memberID':_0x438940,'mutations':_0x3d5770},'pendingMutations':_0x31d171['slice'](_0x3d5770['length'])};}function ii(_0x433efa,_0x51233d,_0x568915,_0x3fa7b7,_0x5d9d95){var _0x2fa610=_0x1d77b0,_0x318ce7,_0x54581d,_0x4c7386,_0x5888cd;const _0x181813=[_0x433efa['reduce']((_0x31f31e,_0x458fad)=>{var _0x4a9055=_0x376d,_0xb1dbf1;const {id:_0x579434}=_0x31f31e,{id:_0x521936,type:_0x14149a}=_0x458fad,_0x5e49f0=(_0xb1dbf1=_0x31f31e[_0x4a9055(0x1ee)])!=null?_0xb1dbf1:{'actions':null},_0x149120=_0x458fad[_0x4a9055(0x1ee)];if(_0x579434&&_0x579434!==_0x521936)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x579434+_0x4a9055(0x361)+_0x521936+'.');return{..._0x31f31e,'id':_0x521936,'type':_0x14149a,'params':{'unitId':_0x149120[_0x4a9055(0x2d8)],'textRanges':_0x149120['textRanges'],'actions':o[_0x4a9055(0x14a)][_0x4a9055(0x430)](_0x5e49f0['actions'],_0x149120[_0x4a9055(0x236)])}};},{})],_0x2d31f0=(_0x54581d=(_0x318ce7=_0x5d9d95[_0x2fa610(0x382)]())==null?void 0x0:_0x318ce7[_0x2fa610(0x3e8)])!=null?_0x54581d:'unknown',_0x491d61=(_0x5888cd=(_0x4c7386=_0x5d9d95[_0x2fa610(0x382)]())==null?void 0x0:_0x4c7386[_0x2fa610(0x303)])!=null?_0x5888cd:_0x2fa610(0x374);return{'changeset':{'unitID':_0x51233d,'type':E[_0x2fa610(0x3d7)](_0x568915['getUnitType'](_0x51233d)),'baseRev':_0x3fa7b7[_0x2fa610(0xaa)](_0x51233d),'revision':0x0,'userID':_0x2d31f0,'memberID':_0x491d61,'mutations':_0x181813},'pendingMutations':[]};}function St(_0x4db42b,_0x3a2e30){var _0x2bb194=_0x1d77b0;const _0x44ef85=new j['ReplaySubject'](0x1);return setTimeout(()=>_0x44ef85[_0x2bb194(0x19e)](_0x3a2e30),_0x4db42b),_0x44ef85[_0x2bb194(0xd9)]()[_0x2bb194(0x102)](j[_0x2bb194(0x170)](0x1));}var ni=Object['getOwnPropertyDescriptor'],ae=(_0x223362,_0x468ba5,_0x3c0148,_0x3b4e4f)=>{for(var _0x32520c=_0x3b4e4f>0x1?void 0x0:_0x3b4e4f?ni(_0x468ba5,_0x3c0148):_0x468ba5,_0x445bf2=_0x223362['length']-0x1,_0x44fa73;_0x445bf2>=0x0;_0x445bf2--)(_0x44fa73=_0x223362[_0x445bf2])&&(_0x32520c=_0x44fa73(_0x32520c)||_0x32520c);return _0x32520c;},L=(_0x1bc8fa,_0x3f88ef)=>(_0x52480e,_0x54eee8)=>_0x3f88ef(_0x52480e,_0x54eee8,_0x1bc8fa),je=(_0x1e17a2=>(_0x1e17a2[_0x1d77b0(0x177)]=_0x1d77b0(0x3df),_0x1e17a2[_0x1d77b0(0x399)]=_0x1d77b0(0x13b),_0x1e17a2[_0x1d77b0(0xd3)]='pending',_0x1e17a2[_0x1d77b0(0x325)]=_0x1d77b0(0x3d9),_0x1e17a2[_0x1d77b0(0x271)]=_0x1d77b0(0x270),_0x1e17a2[_0x1d77b0(0x1d4)]=_0x1d77b0(0x1c3),_0x1e17a2['CONFLICT']=_0x1d77b0(0xc3),_0x1e17a2[_0x1d77b0(0x350)]=_0x1d77b0(0x302),_0x1e17a2))(je||{});const It=0x4e20,ft=0x2bf20;class oe{constructor(_0x5ab4e7,_0x2a2950,_0x3b4233,_0x32abad,_0x27af17,_0x578d3c,_0x2feef8,_0x3978db,_0x104dbf){var _0x28a334=_0x1d77b0;A(this,_0x28a334(0x1b1),null),A(this,_0x28a334(0x2c6),[]),(this[_0x28a334(0x34d)]=_0x5ab4e7,this[_0x28a334(0x3fc)]=_0x2a2950,this[_0x28a334(0x1cf)]=_0x27af17,this[_0x28a334(0x12b)]=_0x578d3c,this[_0x28a334(0xb4)]=_0x2feef8,this[_0x28a334(0x1a9)]=_0x3978db,this['_localCacheService']=_0x104dbf,this[_0x28a334(0x1b1)]=_0x3b4233,this[_0x28a334(0x2c6)]=_0x32abad);}['_checkMissing'](_0x37c662){var _0x5def17=_0x1d77b0;const _0xfbb88a=this[_0x5def17(0x1a9)][_0x5def17(0xaa)](this[_0x5def17(0x34d)]);return _0x37c662['revision']>_0xfbb88a+0x1?(this[_0x5def17(0x1cf)]['onMissingChangesets']({'from':_0xfbb88a,'to':_0x37c662[_0x5def17(0x1aa)]-0x1}),!0x0):!0x1;}[_0x1d77b0(0x3bb)](_0x2c9ea2){var _0x594757=_0x1d77b0;this[_0x594757(0xb4)][_0x594757(0x186)](this[_0x594757(0x34d)],_0x2c9ea2);}[_0x1d77b0(0x40a)](_0x2f49e9){var _0x337264=_0x1d77b0,_0x52926e,_0x35f928;(_0x35f928=(_0x52926e=this[_0x337264(0x1cf)])[_0x337264(0x19c)])==null||_0x35f928[_0x337264(0x25b)](_0x52926e,_0x2f49e9);}[_0x1d77b0(0xa8)](_0xebf100){var _0x30d782=_0x1d77b0,_0x461a64,_0x1b9537;return(_0x1b9537=(_0x461a64=this[_0x30d782(0x1cf)])[_0x30d782(0x26f)])==null?void 0x0:_0x1b9537['call'](_0x461a64,_0xebf100);}[_0x1d77b0(0x2cf)](_0x18ebb2){var _0x4fc589=_0x1d77b0,_0x124a7b,_0x518352;return(_0x518352=(_0x124a7b=this[_0x4fc589(0x1cf)])[_0x4fc589(0xc9)])==null?void 0x0:_0x518352[_0x4fc589(0x25b)](_0x124a7b,_0x18ebb2);}[_0x1d77b0(0x289)](_0x2c0c4a){var _0x446a11=_0x1d77b0,_0x4daf72,_0xc88d1a,_0x59b90e;return(_0x59b90e=(_0xc88d1a=(_0x4daf72=this[_0x446a11(0x1cf)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0xc88d1a['call'](_0x4daf72,_0x2c0c4a))!=null?_0x59b90e:_0x2c0c4a;}['_transformRemoteChangesetByStateCache'](_0xe816d1){var _0xe398d1=_0x1d77b0,_0x5ae46c,_0x1b74dd,_0x24be78;return(_0x24be78=(_0x1b74dd=(_0x5ae46c=this[_0xe398d1(0x1cf)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x1b74dd[_0xe398d1(0x25b)](_0x5ae46c,_0xe816d1))!=null?_0x24be78:_0xe816d1;}['_syncEditingCollabCursor'](_0x32f2c8){var _0x47a4fa=_0x1d77b0,_0x1cd167,_0x9253d6;if(this[_0x47a4fa(0x3fc)]===X[_0x47a4fa(0x411)]){const {unitID:_0x3b5968,mutations:_0x3daa2f,memberID:_0x51d5a4}=_0x32f2c8,_0x1c5786=_0x3daa2f[_0x47a4fa(0x1b5)]>0x0?_0x3daa2f[0x0][_0x47a4fa(0x1ee)]['textRanges']:[];Array[_0x47a4fa(0x25a)](_0x1c5786)&&_0x1c5786['length']>0x0&&((_0x9253d6=(_0x1cd167=this[_0x47a4fa(0x1cf)])[_0x47a4fa(0x35d)])==null||_0x9253d6[_0x47a4fa(0x25b)](_0x1cd167,{'unitID':_0x3b5968,'memberID':_0x51d5a4,'textRanges':_0x1c5786}));}}[_0x1d77b0(0x1a6)](){var _0x395a80=_0x1d77b0,_0x5b78ce;(_0x5b78ce=this['_localCacheService'])==null||_0x5b78ce['updateOfflineData'](this['unitID'],this[_0x395a80(0x3fc)],this[_0x395a80(0x1b1)],this[_0x395a80(0x2c6)]);}[_0x1d77b0(0x256)](){var _0x3cf20b=_0x1d77b0;return this[_0x3cf20b(0x1a9)][_0x3cf20b(0xaa)](this[_0x3cf20b(0x34d)]);}['_incrementRevisionNumber'](){var _0x81e61a=_0x1d77b0;this[_0x81e61a(0x1a9)][_0x81e61a(0x194)](this[_0x81e61a(0x34d)]);}[_0x1d77b0(0x1c4)](_0x419470){var _0x26fc72=_0x1d77b0,_0x20c45b;let _0x4bd2f1=this[_0x26fc72(0x289)](_0x419470);_0x4bd2f1=this['_transformRemoteChangesetByStateCache'](_0x4bd2f1);const _0x1044c3=o[_0x26fc72(0x163)](_0x4bd2f1[_0x26fc72(0x2d4)],this[_0x26fc72(0x12b)],{'fromCollab':!0x0});if(!_0x1044c3[_0x26fc72(0x31a)])throw _0x1044c3['error']instanceof Error?_0x1044c3[_0x26fc72(0x33f)]:new Error((_0x20c45b=_0x1044c3[_0x26fc72(0x33f)])!=null?_0x20c45b:'[CollaborationState]:\x20apply\x20error!');this[_0x26fc72(0xa8)](_0x4bd2f1),this[_0x26fc72(0x2cf)](_0x4bd2f1),this[_0x26fc72(0x3bb)](_0x419470),this['_transformSelections'](_0x4bd2f1),this[_0x26fc72(0x424)](_0x4bd2f1),this[_0x26fc72(0x2c2)]();}}exports['SyncedState']=class extends oe{constructor(_0x12baf2,_0xec875a,_0x3ec44d,_0x1019df,_0x39cb4a,_0x102354,_0x45f4e7,_0x2a6d1a,_0x476841,_0x11f03a){var _0x408dda=_0x1d77b0;super(_0x12baf2,_0xec875a,null,[],_0x3ec44d,_0x45f4e7,_0x102354,_0x1019df,_0x11f03a),A(this,_0x408dda(0x30a),_0x408dda(0x13b)),(this[_0x408dda(0x42f)]=_0x39cb4a,this[_0x408dda(0x368)]=_0x2a6d1a,this[_0x408dda(0x277)]=_0x476841,this[_0x408dda(0x118)]=_0x11f03a);}[_0x1d77b0(0x108)](_0x2b2c7a){var _0x3e61f9=_0x1d77b0;const _0x1c39bb=this['_injector'][_0x3e61f9(0x18c)](exports['PendingState'],this[_0x3e61f9(0x34d)],this[_0x3e61f9(0x3fc)],[_0x2b2c7a],this[_0x3e61f9(0x1cf)]);return _0x1c39bb[_0x3e61f9(0x40c)](),_0x1c39bb['_updateLocalCache'](),_0x1c39bb;}['onRemoteChangeset'](_0xd5a88d){var _0x5b7f3a=_0x1d77b0;if(this[_0x5b7f3a(0x21d)](_0xd5a88d))return this['_injector'][_0x5b7f3a(0x18c)](exports[_0x5b7f3a(0x400)],this[_0x5b7f3a(0x34d)],this[_0x5b7f3a(0x3fc)],null,[],null,[_0xd5a88d],this[_0x5b7f3a(0x1cf)]);try{const _0xb168a8=this[_0x5b7f3a(0x277)][_0x5b7f3a(0x27c)](_0xd5a88d,[E[_0x5b7f3a(0x3bc)]]);if(E[_0x5b7f3a(0x3e4)](_0xb168a8)){const {c1Prime:_0x326500}=_0xb168a8;return this['_executeRemoteChangeset'](_0x326500),this;}throw _0xb168a8['error'];}catch(_0x42e380){return this[_0x5b7f3a(0x368)][_0x5b7f3a(0x33f)](_0x42e380),this[_0x5b7f3a(0x2af)](!0x1);}}['_onConflict'](_0x4fcdc9){var _0x12cdd1=_0x1d77b0;return this[_0x12cdd1(0x42f)][_0x12cdd1(0x18c)](exports['ConflictState'],this['unitID'],this[_0x12cdd1(0x3fc)],null,[],this[_0x12cdd1(0x1cf)],_0x4fcdc9);}[_0x1d77b0(0x312)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x1d77b0(0x12f)](){var _0x5181a5=_0x1d77b0;throw new Error(_0x5181a5(0x249));}[_0x1d77b0(0x2ce)](){return this;}[_0x1d77b0(0x2ea)](){var _0x5ae769=_0x1d77b0;return this[_0x5ae769(0x42f)][_0x5ae769(0x18c)](exports[_0x5ae769(0x222)],this[_0x5ae769(0x34d)],this['type'],null,[],this[_0x5ae769(0x1cf)]);}[_0x1d77b0(0x436)](){return this;}['resend'](){var _0x2a989b=_0x1d77b0;throw new Error(_0x2a989b(0x174));}[_0x1d77b0(0x239)](){var _0xea377f=_0x1d77b0;const _0x41426b=this[_0xea377f(0x1a9)][_0xea377f(0xaa)](this[_0xea377f(0x34d)]);return this[_0xea377f(0x1cf)][_0xea377f(0x11d)]({'from':_0x41426b,'to':0x0}),this[_0xea377f(0x42f)]['createInstance'](exports[_0xea377f(0x400)],this[_0xea377f(0x34d)],this[_0xea377f(0x3fc)],null,[],null,[],this[_0xea377f(0x1cf)]);}},exports[_0x1d77b0(0x3b9)]=ae([L(0x3,o[_0x1d77b0(0x397)](E[_0x1d77b0(0xee)])),L(0x4,o[_0x1d77b0(0x397)](o[_0x1d77b0(0x3b8)])),L(0x5,o['IUndoRedoService']),L(0x6,o[_0x1d77b0(0x1b6)]),L(0x7,o['ILogService']),L(0x8,E['ITransformService']),L(0x9,o[_0x1d77b0(0x115)](q))],exports[_0x1d77b0(0x3b9)]),exports[_0x1d77b0(0x2e9)]=class extends oe{constructor(_0x7a832f,_0x92e92d,_0x1676e8,_0x676c01,_0xd4635,_0x2e5139,_0x4f310a,_0x1ca937,_0x52d9c7,_0x57af14,_0x520512,_0x354f5d,_0x53e612,_0x30ebac){var _0x436fe7=_0x1d77b0;super(_0x7a832f,_0x92e92d,null,_0x1676e8,_0x676c01,_0x52d9c7,_0x53e612,_0x2e5139,_0x30ebac),A(this,_0x436fe7(0x30a),_0x436fe7(0x1a3)),A(this,_0x436fe7(0x352),null),A(this,_0x436fe7(0x25f),null),(this['_injector']=_0xd4635,this[_0x436fe7(0x2f3)]=_0x4f310a,this[_0x436fe7(0x368)]=_0x1ca937,this[_0x436fe7(0x143)]=_0x57af14,this[_0x436fe7(0x277)]=_0x520512,this[_0x436fe7(0xf7)]=_0x354f5d);}[_0x1d77b0(0x108)](_0x1d9170){var _0x6943d=_0x1d77b0;return this[_0x6943d(0x2c6)][_0x6943d(0x3a1)](_0x1d9170),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x164c0d){var _0x316798=_0x1d77b0;if(this[_0x316798(0x21d)](_0x164c0d))return this[_0x316798(0x41f)](),this[_0x316798(0x42f)][_0x316798(0x18c)](exports[_0x316798(0x400)],this[_0x316798(0x34d)],this[_0x316798(0x3fc)],null,this[_0x316798(0x2c6)],null,[_0x164c0d],this[_0x316798(0x1cf)]);try{const _0x220edf=this[_0x316798(0x277)][_0x316798(0x27c)](_0x164c0d,this[_0x316798(0x2c6)]);if(E[_0x316798(0x3e4)](_0x220edf)){const {c1Prime:_0x4c3644,m2Prime:_0x5c59a5}=_0x220edf;this['_executeRemoteChangeset'](_0x4c3644);const _0x5a1430=this[_0x316798(0x42f)][_0x316798(0x18c)](exports['PendingState'],this['unitID'],this[_0x316798(0x3fc)],_0x5c59a5,this['_handler']);this[_0x316798(0x41f)]();const _0x58a058=new Date()['getTime'](),_0x4bd691=this['_scheduleCompleteTimestamp']?Math[_0x316798(0x3e1)](this[_0x316798(0x352)]-_0x58a058,0x0):this[_0x316798(0x148)]();return _0x5a1430['_schedule'](_0x4bd691),_0x5a1430;}throw _0x220edf['error'];}catch(_0x2b921a){return this['_logService'][_0x316798(0x33f)](_0x2b921a),this[_0x316798(0x2af)](!0x1);}}[_0x1d77b0(0x312)](){var _0x15f01a=_0x1d77b0;throw new Error(_0x15f01a(0xcf));}['onRemoteRej'](){var _0xfedcd=_0x1d77b0;throw new Error(_0xfedcd(0xdc));}[_0x1d77b0(0x2ce)](){return this;}[_0x1d77b0(0x2ea)](){var _0x5e8706=_0x1d77b0;return this[_0x5e8706(0x41f)](),this[_0x5e8706(0x42f)][_0x5e8706(0x18c)](exports[_0x5e8706(0x222)],this['unitID'],this[_0x5e8706(0x3fc)],null,this[_0x5e8706(0x2c6)],this[_0x5e8706(0x1cf)]);}[_0x1d77b0(0x436)](){return this;}[_0x1d77b0(0x40c)](_0x1f3443){var _0xa2bdbc=_0x1d77b0;const _0x11a86a=_0x1f3443!=null?_0x1f3443:this[_0xa2bdbc(0x148)]();this[_0xa2bdbc(0x352)]=new Date()[_0xa2bdbc(0x1ea)]()+_0x11a86a,this['_sendingTimer']=setTimeout(()=>{var _0x4bdc54=_0xa2bdbc;this['_clearScheduledTask']();let _0x28a10e=null;switch(this[_0x4bdc54(0x3fc)]){case X[_0x4bdc54(0x22a)]:{_0x28a10e=Ge(this[_0x4bdc54(0x2c6)],this[_0x4bdc54(0x34d)],this[_0x4bdc54(0xf7)],this[_0x4bdc54(0x1a9)],this[_0x4bdc54(0x2f3)]);break;}case X['UNIVER_DOC']:{this[_0x4bdc54(0x2c6)][_0x4bdc54(0x198)](_0x5d7eb1=>_0x5d7eb1['id']===ct[_0x4bdc54(0x1f4)]['id'])?_0x28a10e=ii(this[_0x4bdc54(0x2c6)],this[_0x4bdc54(0x34d)],this[_0x4bdc54(0xf7)],this[_0x4bdc54(0x1a9)],this[_0x4bdc54(0x2f3)]):_0x28a10e=Ge(this[_0x4bdc54(0x2c6)],this[_0x4bdc54(0x34d)],this[_0x4bdc54(0xf7)],this[_0x4bdc54(0x1a9)],this[_0x4bdc54(0x2f3)]);break;}default:throw new Error(_0x4bdc54(0x286)+this[_0x4bdc54(0x3fc)]+_0x4bdc54(0x2ec));}const {changeset:_0xb881e1,pendingMutations:_0x1eb75c}=_0x28a10e;this['_handler'][_0x4bdc54(0x10b)](_0xb881e1);const _0x764934=_0x1eb75c[_0x4bdc54(0x1b5)]?this[_0x4bdc54(0x42f)]['createInstance'](exports[_0x4bdc54(0x420)],this[_0x4bdc54(0x34d)],this[_0x4bdc54(0x3fc)],_0xb881e1,_0x1eb75c,this[_0x4bdc54(0x1cf)],void 0x0):this['_injector'][_0x4bdc54(0x18c)](exports[_0x4bdc54(0x1fa)],this[_0x4bdc54(0x34d)],this[_0x4bdc54(0x3fc)],_0xb881e1,this[_0x4bdc54(0x1cf)]);_0x764934['_updateLocalCache'](),this[_0x4bdc54(0x1cf)][_0x4bdc54(0x266)](this,_0x764934);},_0x11a86a);}['_getSendChangesetTimeout'](){var _0x4ee590=_0x1d77b0,_0x4c9c56;const _0x2f06b8=this[_0x4ee590(0x143)][_0x4ee590(0x267)](Y);return(_0x4c9c56=_0x2f06b8==null?void 0x0:_0x2f06b8[_0x4ee590(0x227)])!=null?_0x4c9c56:At;}[_0x1d77b0(0x378)](){var _0x315c01=_0x1d77b0;throw new Error(_0x315c01(0x1f5));}[_0x1d77b0(0x41f)](){var _0x14f147=_0x1d77b0;this[_0x14f147(0x25f)]!=null&&(clearTimeout(this[_0x14f147(0x25f)]),this[_0x14f147(0x25f)]=null);}[_0x1d77b0(0x2af)](_0x18b4ef){var _0x45fe77=_0x1d77b0;return this[_0x45fe77(0x41f)](),this['_injector'][_0x45fe77(0x18c)](exports['ConflictState'],this['unitID'],this[_0x45fe77(0x3fc)],null,this[_0x45fe77(0x2c6)],this[_0x45fe77(0x1cf)],_0x18b4ef);}},exports[_0x1d77b0(0x2e9)]=ae([L(0x4,o[_0x1d77b0(0x397)](o[_0x1d77b0(0x3b8)])),L(0x5,o['Inject'](E[_0x1d77b0(0xee)])),L(0x6,o[_0x1d77b0(0x397)](exports[_0x1d77b0(0x2de)])),L(0x7,o['ILogService']),L(0x8,o['ICommandService']),L(0x9,o[_0x1d77b0(0x268)]),L(0xa,E['ITransformService']),L(0xb,o[_0x1d77b0(0xb3)]),L(0xc,o[_0x1d77b0(0xbb)]),L(0xd,o[_0x1d77b0(0x115)](q))],exports[_0x1d77b0(0x2e9)]),exports['AwaitingState']=class extends oe{constructor(_0x3bd706,_0x46b0ad,_0x83ecc8,_0xd81ba8,_0x1c92da,_0x581c17,_0x857768,_0x3750cd,_0x3b6d9b,_0x1e10cf,_0x4216c3){var _0x1c4b26=_0x1d77b0;super(_0x3bd706,_0x46b0ad,_0x83ecc8,[],_0xd81ba8,_0x857768,_0x1e10cf,_0x581c17,_0x4216c3),A(this,_0x1c4b26(0x30a),_0x1c4b26(0x3d9)),A(this,_0x1c4b26(0x182),0x0),A(this,'_maxTotalRetryTimeout',0x0),A(this,_0x1c4b26(0x146)),A(this,_0x1c4b26(0x1f6)),(this['_injector']=_0x1c92da,this[_0x1c4b26(0x368)]=_0x3750cd,this['_transformService']=_0x3b6d9b);}[_0x1d77b0(0x108)](_0x50a593){var _0x9b6edb=_0x1d77b0;this['_clearScheduledTask']();const _0x5ad296=this[_0x9b6edb(0x42f)][_0x9b6edb(0x18c)](exports[_0x9b6edb(0x420)],this[_0x9b6edb(0x34d)],this['type'],this[_0x9b6edb(0x1b1)],[_0x50a593],this[_0x9b6edb(0x1cf)],this[_0x9b6edb(0x146)]);return _0x5ad296['_updateLocalCache'](),_0x5ad296;}[_0x1d77b0(0x1be)](_0x3ef2b2){var _0x3ca3b3=_0x1d77b0;if(this[_0x3ca3b3(0x21d)](_0x3ef2b2))return this[_0x3ca3b3(0x41f)](),this[_0x3ca3b3(0x42f)]['createInstance'](exports['FetchingMissState'],this[_0x3ca3b3(0x34d)],this[_0x3ca3b3(0x3fc)],this[_0x3ca3b3(0x1b1)],[],null,[_0x3ef2b2],this[_0x3ca3b3(0x1cf)]);try{const _0x205431=this[_0x3ca3b3(0x277)][_0x3ca3b3(0x1ec)]([_0x3ef2b2],[this[_0x3ca3b3(0x1b1)]],!0x1);if(E[_0x3ca3b3(0x258)](_0x205431)){const {c1Prime:_0x52178b,c2Prime:_0x1921b5}=_0x205431;this['_executeRemoteChangeset'](_0x52178b[0x0]),_0x1921b5[0x0][_0x3ca3b3(0x23c)]=this[_0x3ca3b3(0x256)](),this[_0x3ca3b3(0x41f)]();const _0x591e5f=this['_injector']['createInstance'](exports['AwaitingState'],this[_0x3ca3b3(0x34d)],this[_0x3ca3b3(0x3fc)],_0x1921b5[0x0],this[_0x3ca3b3(0x1cf)]);return _0x591e5f[_0x3ca3b3(0x1a6)](),_0x591e5f;}return this[_0x3ca3b3(0x2af)](!0x1);}catch(_0x97d3af){return this[_0x3ca3b3(0x368)][_0x3ca3b3(0x33f)](_0x97d3af),this[_0x3ca3b3(0x2af)](!0x1);}}[_0x1d77b0(0x312)](_0x25ff16){var _0x32680b=_0x1d77b0;this[_0x32680b(0x41f)]();const _0x574ed9=this['_revisionService'][_0x32680b(0xaa)](this[_0x32680b(0x34d)]);if(_0x25ff16['revision']<_0x574ed9-0x1)return this;if(this[_0x32680b(0x21d)](_0x25ff16))return this[_0x32680b(0x42f)]['createInstance'](exports['FetchingMissState'],this[_0x32680b(0x34d)],this[_0x32680b(0x3fc)],null,[],this[_0x32680b(0x1b1)],[],this['_handler']);this[_0x32680b(0x2c2)]();const _0x553773=this[_0x32680b(0x42f)][_0x32680b(0x18c)](exports[_0x32680b(0x3b9)],this[_0x32680b(0x34d)],this['type'],this[_0x32680b(0x1cf)]);return _0x553773[_0x32680b(0x1a6)](),_0x553773;}['onRemoteRej'](_0x1eb321){var _0x48a961=_0x1d77b0;return this[_0x48a961(0x2af)](!!(_0x1eb321!=null&&_0x1eb321[_0x48a961(0x428)]));}[_0x1d77b0(0x2ce)](_0x49c474){var _0x436e68=_0x1d77b0;return this[_0x436e68(0x132)]>ft?this[_0x436e68(0x2ea)]():(this['_resendTimer']=St(this[_0x436e68(0x182)],{'timeout':this[_0x436e68(0x182)],'reqId':_0x49c474['reqId']}),this['_sender']=this[_0x436e68(0x146)][_0x436e68(0x20d)](({reqId:_0x2f206b,timeout:_0x1796e6})=>{var _0x5178ad=_0x436e68;this[_0x5178ad(0x22f)](_0x2f206b,_0x1796e6);}),this);}[_0x1d77b0(0x2ea)](){var _0x2c6fa7=_0x1d77b0;return this[_0x2c6fa7(0x41f)](),this[_0x2c6fa7(0x42f)][_0x2c6fa7(0x18c)](exports['OfflineState'],this[_0x2c6fa7(0x34d)],this[_0x2c6fa7(0x3fc)],this['_awaitingChangeset'],[],this[_0x2c6fa7(0x1cf)]);}[_0x1d77b0(0x436)](){return this;}['resend'](){var _0x463198=_0x1d77b0;this[_0x463198(0x1cf)][_0x463198(0x10b)](this['_awaitingChangeset']);}[_0x1d77b0(0x2af)](_0x515885){var _0x281cc7=_0x1d77b0;return this[_0x281cc7(0x41f)](),this['_injector'][_0x281cc7(0x18c)](exports['ConflictState'],this[_0x281cc7(0x34d)],this[_0x281cc7(0x3fc)],this[_0x281cc7(0x1b1)],[],this[_0x281cc7(0x1cf)],_0x515885);}[_0x1d77b0(0x22f)](_0x33dbfb,_0x87dd93){var _0x28b80e=_0x1d77b0,_0x2a72e2;_0x33dbfb===((_0x2a72e2=this[_0x28b80e(0x1b1)])==null?void 0x0:_0x2a72e2['reqId'])&&(this[_0x28b80e(0x378)](),this[_0x28b80e(0x182)]=_0x87dd93===0x0?0x3e8:Math['min'](_0x87dd93*0x2,It),this[_0x28b80e(0x132)]+=this[_0x28b80e(0x182)]);}[_0x1d77b0(0x41f)](){var _0x51cf5e=_0x1d77b0,_0x45aba5;(_0x45aba5=this[_0x51cf5e(0x1f6)])==null||_0x45aba5['unsubscribe'](),this[_0x51cf5e(0x182)]=0x0,this[_0x51cf5e(0x132)]=0x0;}},exports[_0x1d77b0(0x1fa)]=ae([L(0x4,o['Inject'](o[_0x1d77b0(0x3b8)])),L(0x5,o[_0x1d77b0(0x397)](E[_0x1d77b0(0xee)])),L(0x6,o[_0x1d77b0(0x1b6)]),L(0x7,o[_0x1d77b0(0x412)]),L(0x8,E['ITransformService']),L(0x9,o[_0x1d77b0(0xbb)]),L(0xa,o[_0x1d77b0(0x115)](q))],exports['AwaitingState']),exports[_0x1d77b0(0x420)]=class extends oe{constructor(_0x18505e,_0x211b7d,_0x390fdb,_0xdc02ed,_0x5e0cf4,_0x3252e5,_0x2a59f4,_0x327044,_0x419b38,_0x23f4ee,_0x47c10d,_0xbc7852,_0x1da68e){var _0x3cd98d=_0x1d77b0;super(_0x18505e,_0x211b7d,_0x390fdb,_0xdc02ed,_0x5e0cf4,_0x419b38,_0xbc7852,_0x327044,_0x1da68e),A(this,_0x3cd98d(0x30a),_0x3cd98d(0x270)),A(this,'_resendTimeout',0x0),A(this,_0x3cd98d(0x132),0x0),A(this,_0x3cd98d(0x146)),A(this,_0x3cd98d(0x1f6)),(this[_0x3cd98d(0x42f)]=_0x2a59f4,this[_0x3cd98d(0x368)]=_0x23f4ee,this[_0x3cd98d(0x277)]=_0x47c10d,this['localCacheService']=_0x1da68e,_0x3252e5&&(this[_0x3cd98d(0x146)]=_0x3252e5,this[_0x3cd98d(0x1f6)]=this[_0x3cd98d(0x146)]['subscribe'](({reqId:_0x57d04f,timeout:_0x48486f})=>{var _0x574d10=_0x3cd98d;this[_0x574d10(0x22f)](_0x57d04f,_0x48486f);})));}[_0x1d77b0(0x108)](_0x1def2b){var _0x280851=_0x1d77b0;return this[_0x280851(0x2c6)][_0x280851(0x3a1)](_0x1def2b),this;}[_0x1d77b0(0x1be)](_0x5d6f3d){var _0x4d6c2b=_0x1d77b0;if(this[_0x4d6c2b(0x21d)](_0x5d6f3d))return this['_clearScheduledTask'](),this['_injector'][_0x4d6c2b(0x18c)](exports['FetchingMissState'],this[_0x4d6c2b(0x34d)],this[_0x4d6c2b(0x3fc)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x5d6f3d],this[_0x4d6c2b(0x1cf)]);try{const _0x5dea13=this[_0x4d6c2b(0x277)][_0x4d6c2b(0x1ec)]([_0x5d6f3d],[this[_0x4d6c2b(0x1b1)]],!0x1);if(E[_0x4d6c2b(0x258)](_0x5dea13)){const {c1Prime:_0x468d6a,c2Prime:_0x144451}=_0x5dea13,_0x4f45a3=this[_0x4d6c2b(0x277)][_0x4d6c2b(0x27c)](_0x468d6a[0x0],this['_pendingMutations']);if(E['isTransformMutationsWithChangesetSuccess'](_0x4f45a3)){const {c1Prime:_0x21560b,m2Prime:_0x18a212}=_0x4f45a3;return this['_executeRemoteChangeset'](_0x21560b),_0x144451[0x0][_0x4d6c2b(0x23c)]=this[_0x4d6c2b(0x256)](),this[_0x4d6c2b(0x41f)](),this['_injector']['createInstance'](exports[_0x4d6c2b(0x420)],this[_0x4d6c2b(0x34d)],this['type'],_0x144451[0x0],_0x18a212,this['_handler'],void 0x0);}throw _0x4f45a3[_0x4d6c2b(0x33f)];}throw _0x5dea13[_0x4d6c2b(0x33f)];}catch(_0x2d470c){return this['_logService'][_0x4d6c2b(0x33f)](_0x2d470c),this[_0x4d6c2b(0x2af)](!0x1);}}[_0x1d77b0(0x312)](_0x35eb78){var _0x155412=_0x1d77b0;if(this[_0x155412(0x41f)](),this[_0x155412(0x21d)](_0x35eb78))return this[_0x155412(0x42f)][_0x155412(0x18c)](exports[_0x155412(0x400)],this[_0x155412(0x34d)],this[_0x155412(0x3fc)],null,this[_0x155412(0x2c6)],this[_0x155412(0x1b1)],[],this[_0x155412(0x1cf)]);this[_0x155412(0x2c2)]();const _0x58ed42=this[_0x155412(0x42f)][_0x155412(0x18c)](exports[_0x155412(0x2e9)],this[_0x155412(0x34d)],this[_0x155412(0x3fc)],this[_0x155412(0x2c6)],this[_0x155412(0x1cf)]);return _0x58ed42[_0x155412(0x40c)](),_0x58ed42[_0x155412(0x1a6)](),_0x58ed42;}['onRemoteRej'](_0xb5c260){var _0x5bc981=_0x1d77b0;return this[_0x5bc981(0x2af)](!!(_0xb5c260!=null&&_0xb5c260[_0x5bc981(0x428)]));}[_0x1d77b0(0x2ce)](_0x5cfcb6){var _0x3cf35b=_0x1d77b0;return this[_0x3cf35b(0x132)]>ft?this['toggleOffline']():(this[_0x3cf35b(0x146)]=St(this[_0x3cf35b(0x182)],{'timeout':this[_0x3cf35b(0x182)],'reqId':_0x5cfcb6[_0x3cf35b(0x3d4)]}),this[_0x3cf35b(0x1f6)]=this[_0x3cf35b(0x146)][_0x3cf35b(0x20d)](({reqId:_0x4bcd51,timeout:_0x36bea4})=>{var _0x9807ac=_0x3cf35b;this[_0x9807ac(0x22f)](_0x4bcd51,_0x36bea4);}),this);}['toggleOffline'](){var _0x475e08=_0x1d77b0;return this[_0x475e08(0x41f)](),this[_0x475e08(0x42f)][_0x475e08(0x18c)](exports[_0x475e08(0x222)],this[_0x475e08(0x34d)],this['type'],this[_0x475e08(0x1b1)],this['_pendingMutations'],this[_0x475e08(0x1cf)]);}[_0x1d77b0(0x436)](){return this;}['resend'](){var _0x407542=_0x1d77b0;this[_0x407542(0x1cf)][_0x407542(0x10b)](this['_awaitingChangeset']);}[_0x1d77b0(0x2af)](_0x3463a2){var _0x53f34e=_0x1d77b0;return this[_0x53f34e(0x41f)](),this['_injector'][_0x53f34e(0x18c)](exports[_0x53f34e(0xe5)],this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x53f34e(0x1cf)],_0x3463a2);}['_resendWithTimeout'](_0x489977,_0x448111){var _0x48116d=_0x1d77b0,_0xf6eefc;_0x489977===((_0xf6eefc=this[_0x48116d(0x1b1)])==null?void 0x0:_0xf6eefc[_0x48116d(0x3d4)])&&(this[_0x48116d(0x378)](),this[_0x48116d(0x182)]=_0x448111===0x0?0x3e8:Math[_0x48116d(0x3c3)](_0x448111*0x2,It),this[_0x48116d(0x132)]+=this[_0x48116d(0x182)]);}[_0x1d77b0(0x41f)](){var _0x450f20=_0x1d77b0,_0x432345;(_0x432345=this['_sender'])==null||_0x432345[_0x450f20(0x1a1)](),this['_resendTimeout']=0x0,this[_0x450f20(0x132)]=0x0;}},exports[_0x1d77b0(0x420)]=ae([L(0x6,o[_0x1d77b0(0x397)](o[_0x1d77b0(0x3b8)])),L(0x7,o[_0x1d77b0(0x397)](E['RevisionService'])),L(0x8,o[_0x1d77b0(0x1b6)]),L(0x9,o[_0x1d77b0(0x412)]),L(0xa,E[_0x1d77b0(0xea)]),L(0xb,o[_0x1d77b0(0xbb)]),L(0xc,o['Optional'](q))],exports[_0x1d77b0(0x420)]),exports[_0x1d77b0(0xe5)]=class extends oe{constructor(_0x11f506,_0x16b996,_0x1c4685,_0x11d8ff,_0x4f0008,_0x5a3ba2=!0x1,_0x4da6b4,_0x5300b8,_0x577eff,_0x2262bc,_0x36d838,_0x2d9e1d,_0xcf854c){var _0x23f26c=_0x1d77b0;super(_0x11f506,_0x16b996,_0x1c4685,_0x11d8ff,_0x4f0008,_0x5300b8,_0x577eff,_0x2262bc,_0xcf854c),A(this,'status','conflict'),(this[_0x23f26c(0xbd)]=_0x5a3ba2,this[_0x23f26c(0x2ff)]=_0x4da6b4,this[_0x23f26c(0x15b)]=_0x36d838,this['_collaborationUIEventService']=_0x2d9e1d,this[_0x23f26c(0x118)]=_0xcf854c,this[_0x23f26c(0x33a)](),this[_0x23f26c(0x111)](),this[_0x23f26c(0x35f)]());}['appendMutation'](){return this;}[_0x1d77b0(0x1be)](){return this;}[_0x1d77b0(0x312)](){return this;}[_0x1d77b0(0x12f)](){return this;}[_0x1d77b0(0x2ce)](){return this;}['toggleOffline'](){return this;}[_0x1d77b0(0x436)](){return this;}[_0x1d77b0(0x378)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0xad158f=_0x1d77b0,_0xce750a;(_0xce750a=this[_0xad158f(0x311)])==null||_0xce750a['updateOfflineData'](this[_0xad158f(0x34d)],this[_0xad158f(0x3fc)],null,[]);}[_0x1d77b0(0x33a)](){var _0x3a8b44=_0x1d77b0;this['_isPermissionRej']?this[_0x3a8b44(0x1d3)][_0x3a8b44(0x21a)]({'id':J['PERMISSION_DENIED']}):this['_collaborationUIEventService']['emitEvent']({'id':J[_0x3a8b44(0xd2)]});}[_0x1d77b0(0x35f)](){var _0x2d8cba=_0x1d77b0;this[_0x2d8cba(0x2ff)][_0x2d8cba(0x136)](new Q[(_0x2d8cba(0x28f))](this[_0x2d8cba(0x34d)])['id'],!0x1);}},exports['ConflictState']=ae([L(0x6,o[_0x1d77b0(0x397)](o['IPermissionService'])),L(0x7,o[_0x1d77b0(0x1b6)]),L(0x8,o['IUndoRedoService']),L(0x9,o['Inject'](E['RevisionService'])),L(0xa,o[_0x1d77b0(0x397)](o[_0x1d77b0(0x1ab)])),L(0xb,o['Inject'](ee)),L(0xc,o[_0x1d77b0(0x115)](q))],exports[_0x1d77b0(0xe5)]),exports[_0x1d77b0(0x222)]=class extends oe{constructor(_0x1a8bdc,_0x57088d,_0x415903,_0x2a55f7,_0x1e9053,_0x420d61,_0xdb746f,_0x382d28,_0x1aae3f,_0x42dafd){var _0x3ae18d=_0x1d77b0;super(_0x1a8bdc,_0x57088d,_0x415903,_0x2a55f7,_0x1e9053,_0x382d28,_0x1aae3f,_0xdb746f,_0x42dafd),A(this,_0x3ae18d(0x30a),_0x3ae18d(0x302)),this[_0x3ae18d(0x42f)]=_0x420d61;}[_0x1d77b0(0x108)](_0x217a77){var _0x87cad8=_0x1d77b0;return this[_0x87cad8(0x2c6)][_0x87cad8(0x3a1)](_0x217a77),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x4141c8){var _0x313f1e=_0x1d77b0;throw new Error(_0x313f1e(0x18d));}[_0x1d77b0(0x312)](){var _0x4c82bc=_0x1d77b0;throw new Error(_0x4c82bc(0x2e1));}[_0x1d77b0(0x12f)](){var _0x33afc0=_0x1d77b0;throw new Error(_0x33afc0(0x1d0));}[_0x1d77b0(0x2ce)](){return this;}[_0x1d77b0(0x2ea)](){return this;}[_0x1d77b0(0x436)](){var _0x81bbfd=_0x1d77b0;const {_injector:_0x45e9df,_pendingMutations:_0x5e0957,_awaitingChangeset:_0x30642c,unitID:_0x30bf8f,_handler:_0x5a09db,type:_0x2ca38c}=this,_0x231046=Et(_0x45e9df,_0x30bf8f,_0x2ca38c,_0x30642c,_0x5e0957,_0x5a09db);return _0x231046 instanceof exports[_0x81bbfd(0x2e9)]?_0x231046[_0x81bbfd(0x40c)]():(_0x231046 instanceof exports[_0x81bbfd(0x420)]||_0x231046 instanceof exports[_0x81bbfd(0x1fa)])&&_0x231046['resend'](),_0x231046;}[_0x1d77b0(0x378)](){var _0x55c7ec=_0x1d77b0;throw new Error(_0x55c7ec(0x28a));}},exports['OfflineState']=ae([L(0x5,o[_0x1d77b0(0x397)](o[_0x1d77b0(0x3b8)])),L(0x6,o['Inject'](E[_0x1d77b0(0xee)])),L(0x7,o[_0x1d77b0(0x1b6)]),L(0x8,o[_0x1d77b0(0xbb)]),L(0x9,o[_0x1d77b0(0x115)](q))],exports[_0x1d77b0(0x222)]),exports[_0x1d77b0(0x400)]=class extends oe{constructor(_0x5c6c35,_0x3e462f,_0x30b2f5,_0x897c18,_0x1296f9,_0x397819,_0x2a64e6,_0x2b775b,_0x465b79,_0x150ea8,_0x27d209,_0x3296b2,_0x49b095,_0x4f9bd2){var _0x31f7d4=_0x1d77b0;super(_0x5c6c35,_0x3e462f,_0x30b2f5,_0x897c18,_0x2a64e6,_0x27d209,_0x3296b2,_0x465b79,_0x4f9bd2),A(this,_0x31f7d4(0x30a),_0x31f7d4(0x1c3)),(this[_0x31f7d4(0x280)]=_0x1296f9,this[_0x31f7d4(0x2a0)]=_0x397819,this[_0x31f7d4(0x42f)]=_0x2b775b,this[_0x31f7d4(0x368)]=_0x150ea8,this[_0x31f7d4(0x277)]=_0x49b095,this['localCacheService']=_0x4f9bd2);}[_0x1d77b0(0xc4)](_0x123fb1){var _0x3d3ee9=_0x1d77b0;try{const _0x384a00=[..._0x123fb1,...this['_queuedRemoteChangesets']],_0x4ddb94=[this['_awaitingChangeset']||this[_0x3d3ee9(0x280)]][_0x3d3ee9(0x2c4)](_0x4f60b0=>!!_0x4f60b0);let _0x2b0423,_0x181efe;if(_0x4ddb94[_0x3d3ee9(0x1b5)]){const _0x4f6c82=this[_0x3d3ee9(0x277)][_0x3d3ee9(0x1ec)](_0x384a00,_0x4ddb94,!0x1);if(!E[_0x3d3ee9(0x258)](_0x4f6c82))throw _0x4f6c82[_0x3d3ee9(0x33f)];_0x2b0423=_0x4f6c82[_0x3d3ee9(0x388)],_0x181efe=_0x4f6c82['c2Prime'];}else _0x2b0423=_0x384a00,_0x181efe=[];let _0x33616e=this['_pendingMutations'];_0x2b0423[_0x3d3ee9(0xc2)](_0x4e5b3b=>{var _0x45e320=_0x3d3ee9;let _0xa3c273;if(_0x33616e[_0x45e320(0x1b5)]){const _0x23e299=this[_0x45e320(0x277)]['transformMutationsWithChangeset'](_0x4e5b3b,_0x33616e);if(!E['isTransformMutationsWithChangesetSuccess'](_0x23e299))throw _0x23e299['error'];_0xa3c273=_0x23e299[_0x45e320(0x388)],_0x33616e=_0x23e299[_0x45e320(0x1cb)];}else _0xa3c273=_0x4e5b3b;this[_0x45e320(0x1c4)](_0xa3c273);}),this[_0x3d3ee9(0x280)]&&this[_0x3d3ee9(0x2c2)](),this[_0x3d3ee9(0x1b1)]&&_0x181efe['length']&&(_0x181efe[0x0][_0x3d3ee9(0x23c)]=this[_0x3d3ee9(0x256)]());let _0x43a70f;if(this[_0x3d3ee9(0x1b1)]&&_0x33616e[_0x3d3ee9(0x1b5)]!==0x0)_0x43a70f=this[_0x3d3ee9(0x42f)][_0x3d3ee9(0x18c)](exports[_0x3d3ee9(0x420)],this[_0x3d3ee9(0x34d)],this[_0x3d3ee9(0x3fc)],_0x181efe[0x0],_0x33616e,this[_0x3d3ee9(0x1cf)],void 0x0);else{if(this[_0x3d3ee9(0x1b1)]&&_0x33616e[_0x3d3ee9(0x1b5)]===0x0)_0x181efe[0x0]['baseRev']=this[_0x3d3ee9(0x256)](),_0x43a70f=this[_0x3d3ee9(0x42f)]['createInstance'](exports[_0x3d3ee9(0x1fa)],this[_0x3d3ee9(0x34d)],this['type'],_0x181efe[0x0],this['_handler']);else{if(_0x33616e[_0x3d3ee9(0x1b5)]!==0x0){const _0xae3286=this[_0x3d3ee9(0x42f)]['createInstance'](exports[_0x3d3ee9(0x2e9)],this[_0x3d3ee9(0x34d)],this[_0x3d3ee9(0x3fc)],_0x33616e,this[_0x3d3ee9(0x1cf)]);_0xae3286[_0x3d3ee9(0x40c)](),_0x43a70f=_0xae3286;}else _0x43a70f=this[_0x3d3ee9(0x42f)][_0x3d3ee9(0x18c)](exports[_0x3d3ee9(0x3b9)],this['unitID'],this[_0x3d3ee9(0x3fc)],this[_0x3d3ee9(0x1cf)]);}}return _0x43a70f[_0x3d3ee9(0x1a6)](),_0x43a70f;}catch(_0x2628fb){return this['_logService']['error']('[FetchMissState]',_0x3d3ee9(0x345),_0x2628fb),this['_injector']['createInstance'](exports['ConflictState'],this['unitID'],this[_0x3d3ee9(0x3fc)],this[_0x3d3ee9(0x1b1)],this[_0x3d3ee9(0x2c6)],this[_0x3d3ee9(0x1cf)],!0x1);}}['resend'](){var _0x1ff2a2=_0x1d77b0;throw new Error(_0x1ff2a2(0x292));}[_0x1d77b0(0x108)](_0x27130e){return this['_pendingMutations']['push'](_0x27130e),this;}[_0x1d77b0(0x1be)](_0x3e36b4){var _0x59dc05=_0x1d77b0;return this[_0x59dc05(0x2a0)][_0x59dc05(0x3a1)](_0x3e36b4),this;}[_0x1d77b0(0x312)](_0x159eaf){var _0x2e6f87=_0x1d77b0;if(this['_awaitingChangeset'])return this[_0x2e6f87(0x280)]=this['_awaitingChangeset'],this[_0x2e6f87(0x1b1)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x30e8fd){var _0x457af0=_0x1d77b0;return this[_0x457af0(0x2af)](!!(_0x30e8fd!=null&&_0x30e8fd[_0x457af0(0x428)]));}['onRemoteRetry'](){return this;}[_0x1d77b0(0x2ea)](){var _0x5d3c05=_0x1d77b0;return this['_injector'][_0x5d3c05(0x18c)](exports[_0x5d3c05(0x222)],this['unitID'],this[_0x5d3c05(0x3fc)],this[_0x5d3c05(0x1b1)],this['_pendingMutations'],this[_0x5d3c05(0x1cf)]);}['toggleOnline'](){return this;}[_0x1d77b0(0x2af)](_0x431e84){var _0x276302=_0x1d77b0;return this[_0x276302(0x42f)]['createInstance'](exports[_0x276302(0xe5)],this[_0x276302(0x34d)],this[_0x276302(0x3fc)],this['_awaitingChangeset'],this[_0x276302(0x2c6)],this['_handler'],_0x431e84);}},exports[_0x1d77b0(0x400)]=ae([L(0x7,o[_0x1d77b0(0x397)](o['Injector'])),L(0x8,o[_0x1d77b0(0x397)](E[_0x1d77b0(0xee)])),L(0x9,o[_0x1d77b0(0x412)]),L(0xa,o[_0x1d77b0(0x1b6)]),L(0xb,o['IUndoRedoService']),L(0xc,E['ITransformService']),L(0xd,o[_0x1d77b0(0x115)](q))],exports[_0x1d77b0(0x400)]);function Et(_0x208aac,_0x2bd28d,_0x5bd563,_0x463c87,_0x161922,_0x5cc866){var _0x545677=_0x1d77b0;return _0x463c87&&_0x161922[_0x545677(0x1b5)]?_0x208aac[_0x545677(0x18c)](exports[_0x545677(0x420)],_0x2bd28d,_0x5bd563,_0x463c87,_0x161922,_0x5cc866,void 0x0):_0x463c87?_0x208aac[_0x545677(0x18c)](exports[_0x545677(0x1fa)],_0x2bd28d,_0x5bd563,_0x463c87,_0x5cc866):_0x161922[_0x545677(0x1b5)]?_0x208aac['createInstance'](exports[_0x545677(0x2e9)],_0x2bd28d,_0x5bd563,_0x161922,_0x5cc866):_0x208aac['createInstance'](exports['SyncedState'],_0x2bd28d,_0x5bd563,_0x5cc866);}var si=Object[_0x1d77b0(0x1c1)],Be=(_0x5927de,_0x61e689,_0x4f9ffc,_0x5be62c)=>{for(var _0x5d1083=_0x5be62c>0x1?void 0x0:_0x5be62c?si(_0x61e689,_0x4f9ffc):_0x61e689,_0x995a4=_0x5927de['length']-0x1,_0x53b97e;_0x995a4>=0x0;_0x995a4--)(_0x53b97e=_0x5927de[_0x995a4])&&(_0x5d1083=_0x53b97e(_0x5d1083)||_0x5d1083);return _0x5d1083;},$=(_0xb8d352,_0x403708)=>(_0x3fcc49,_0x2107d9)=>_0x403708(_0x3fcc49,_0x2107d9,_0xb8d352);exports[_0x1d77b0(0x232)]=class extends o['RxDisposable']{constructor(_0x42c228,_0x3a73d4,_0x4fe1a7,_0xc43cd3,_0x4cd3d5,_0x15403b,_0x3bab34,_0x2de479,_0x3a05a1,_0x5e5a0c,_0x58a010,_0x463330,_0x51b47e,_0x143659){var _0xd1d5bd=_0x1d77b0;super(),A(this,_0xd1d5bd(0x1c2),new j[(_0xd1d5bd(0x105))](null)),A(this,_0xd1d5bd(0x201),this['_state$'][_0xd1d5bd(0xd9)]()),A(this,_0xd1d5bd(0x30f)),A(this,_0xd1d5bd(0x1f7),!0x1),A(this,_0xd1d5bd(0x336),''),A(this,_0xd1d5bd(0xd5),0x0),A(this,_0xd1d5bd(0x1db),this['state$'][_0xd1d5bd(0x102)](j[_0xd1d5bd(0x272)](_0x2c31bd=>_0x2c31bd?_0x2c31bd[_0xd1d5bd(0x30a)]:je['OFFLINE']),j['shareReplay'](0x1))),A(this,_0xd1d5bd(0x3b5),!0x1),A(this,_0xd1d5bd(0x1ba),[]),(this[_0xd1d5bd(0x34d)]=_0x42c228,this[_0xd1d5bd(0x3b4)]=_0x3a73d4,this[_0xd1d5bd(0x168)]=_0x4fe1a7,this[_0xd1d5bd(0x42f)]=_0xc43cd3,this[_0xd1d5bd(0x30e)]=_0x4cd3d5,this[_0xd1d5bd(0x15b)]=_0x15403b,this['_revisionService']=_0x3bab34,this[_0xd1d5bd(0x176)]=_0x2de479,this[_0xd1d5bd(0xf7)]=_0x3a05a1,this['_logService']=_0x5e5a0c,this[_0xd1d5bd(0x12b)]=_0x58a010,this[_0xd1d5bd(0x2ff)]=_0x463330,this['_singleActiveUnitService']=_0x51b47e,this[_0xd1d5bd(0x311)]=_0x143659);}get['state'](){var _0x14805b=_0x1d77b0;return this[_0x14805b(0x30f)];}async[_0x1d77b0(0x31d)](){var _0xacd130=_0x1d77b0;if(this[_0xacd130(0x2ba)])throw new Error(_0xacd130(0x2fe));await this[_0xacd130(0x432)]();}[_0x1d77b0(0x3dc)](){var _0x5223e5=_0x1d77b0;return this[_0x5223e5(0x1f7)]=!0x0,o[_0x5223e5(0x1f0)](()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0x5e3456){var _0x3646cb=_0x1d77b0;this[_0x3646cb(0x3c8)](_0x5e3456);}[_0x1d77b0(0x13f)](_0x1b6a6e){var _0x5b2380=_0x1d77b0;this['_state']=_0x1b6a6e,this['_state$'][_0x5b2380(0x19e)](_0x1b6a6e);}async['_init'](){var _0x163b6e=_0x1d77b0,_0x472237;this[_0x163b6e(0x13f)](await this[_0x163b6e(0x1dd)]()),this[_0x163b6e(0x3ce)]&&((_0x472237=this[_0x163b6e(0x3ce)])==null||_0x472237[_0x163b6e(0xba)](this['unitID']),this[_0x163b6e(0x175)](this[_0x163b6e(0x3ce)]['getUnitStatus$'](this[_0x163b6e(0x34d)])[_0x163b6e(0x20d)](_0x3fe323=>{var _0x1fab1c=_0x163b6e;this[_0x1fab1c(0x368)][_0x1fab1c(0x32b)](_0x1fab1c(0x215),'editing\x20status\x20changed\x20to',_0x3fe323),_0x3fe323===He[_0x1fab1c(0x190)]?(this[_0x1fab1c(0x176)][_0x1fab1c(0x21a)]({'id':J[_0x1fab1c(0x36c)]}),this[_0x1fab1c(0x2ff)][_0x1fab1c(0x136)](new Q[(_0x1fab1c(0x28f))](this[_0x1fab1c(0x34d)])['id'],!0x1),this[_0x1fab1c(0x2ff)][_0x1fab1c(0x340)](!0x1)):(this['_permissionService'][_0x1fab1c(0x136)](new Q[(_0x1fab1c(0x28f))](this['unitID'])['id'],!0x0),this[_0x1fab1c(0x2ff)][_0x1fab1c(0x340)](!0x0));})));let _0x2d7275=!0x1;return this[_0x163b6e(0x175)](this[_0x163b6e(0x3b4)][_0x163b6e(0x24e)][_0x163b6e(0x20d)](_0xf19422=>{var _0x4ec093=_0x163b6e;_0xf19422===se[_0x4ec093(0xc8)]?this[_0x4ec093(0x195)](_0x2d7275):_0xf19422===se[_0x4ec093(0x350)]&&(_0x2d7275=!0x0,this[_0x4ec093(0x224)]());})),this[_0x163b6e(0x175)](this[_0x163b6e(0x3b4)][_0x163b6e(0x188)]['subscribe'](_0x165d4a=>{var _0x53967f=_0x163b6e;try{switch(_0x165d4a['eventID']){case E[_0x53967f(0x29b)][_0x53967f(0x335)]:{this[_0x53967f(0x1d2)](E[_0x53967f(0x369)](_0x165d4a[_0x53967f(0x337)]));break;}case E[_0x53967f(0x29b)][_0x53967f(0x250)]:{this['_onRemoteACK'](_0x165d4a['data']);break;}case E[_0x53967f(0x29b)][_0x53967f(0x373)]:{this[_0x53967f(0x20f)]();break;}case E[_0x53967f(0x29b)][_0x53967f(0x107)]:{this[_0x53967f(0x1fb)](_0x165d4a[_0x53967f(0x337)]);break;}case E[_0x53967f(0x29b)][_0x53967f(0x2b8)]:{this[_0x53967f(0x375)](_0x165d4a[_0x53967f(0x337)]['changesets'][_0x53967f(0x272)](_0x40f7c4=>E[_0x53967f(0x369)](_0x40f7c4)));break;}case E[_0x53967f(0x29b)][_0x53967f(0x3e5)]:{this[_0x53967f(0x20f)]({'isPermissionRej':!0x0});break;}case E[_0x53967f(0x29b)][_0x53967f(0xfe)]:break;}}catch(_0x3c08a1){throw console[_0x53967f(0x33f)](_0x53967f(0xe0),_0x3c08a1),_0x3c08a1;}})),this['_state'];}[_0x1d77b0(0x213)](){var _0x79d8e7=_0x1d77b0;this[_0x79d8e7(0x3b5)]=!0x1;}[_0x1d77b0(0x348)](){var _0x4a9529=_0x1d77b0;if(this[_0x4a9529(0x3b5)])throw new Error(_0x4a9529(0x1e8));this['_transitionLocked']=!0x0;}[_0x1d77b0(0x3c8)](_0x36b48c){var _0x1ca9b4=_0x1d77b0;this[_0x1ca9b4(0x348)](),this['_updateState'](this[_0x1ca9b4(0x30f)][_0x1ca9b4(0x108)](_0x36b48c)),this[_0x1ca9b4(0x213)]();}['_onRemoteChangeset'](_0x4eb1b8){var _0x1ab40b=_0x1d77b0;if(!(_0x4eb1b8['revision']<=this[_0x1ab40b(0x1a9)][_0x1ab40b(0xaa)](this[_0x1ab40b(0x34d)]))){if(this[_0x1ab40b(0x1f7)]){this[_0x1ab40b(0x1ba)][_0x1ab40b(0x3a1)](_0x4eb1b8);return;}this['_applyRemoteChangeset'](_0x4eb1b8);}}[_0x1d77b0(0x405)](){var _0x3747cd=_0x1d77b0;this['_remoteChangesetQueue']['forEach'](_0x41d183=>this[_0x3747cd(0x23a)](_0x41d183)),this[_0x3747cd(0x1ba)]=[];}[_0x1d77b0(0x23a)](_0x2d7c29){var _0x29a331=_0x1d77b0;const _0x4ebd1f=this[_0x29a331(0x30e)][_0x29a331(0x2d6)][_0x29a331(0x1af)](this[_0x29a331(0x30e)][_0x29a331(0x2d6)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x2d7c29[_0x29a331(0x2d4)],null)||_0x2d7c29[_0x29a331(0x2d4)],_0x3bb8c7={..._0x2d7c29,'mutations':_0x4ebd1f};this[_0x29a331(0x348)](),this['_updateState'](this[_0x29a331(0x30f)][_0x29a331(0x1be)](_0x3bb8c7)),this[_0x29a331(0x213)]();}['_onRemoteACK'](_0x332a4a){var _0x522ceb=_0x1d77b0;this['_lockTransition'](),this[_0x522ceb(0x13f)](this[_0x522ceb(0x30f)][_0x522ceb(0x312)](_0x332a4a)),this[_0x522ceb(0x213)]();}['_onRemoteRejected'](_0x67ee30){var _0x18852f=_0x1d77b0;this[_0x18852f(0x348)](),this[_0x18852f(0x13f)](this[_0x18852f(0x30f)][_0x18852f(0x12f)](_0x67ee30)),this[_0x18852f(0x213)]();}[_0x1d77b0(0x1fb)](_0x40d216){var _0x1694f1=_0x1d77b0;this[_0x1694f1(0x348)](),this[_0x1694f1(0x13f)](this['_state']['onRemoteRetry'](_0x40d216)),this['_unlockTransition']();}[_0x1d77b0(0x375)](_0x44f631){var _0x24a096=_0x1d77b0;if(!(this[_0x24a096(0x30f)]instanceof exports['FetchingMissState']))throw new TypeError(_0x24a096(0x304));const _0x21c264=_0x44f631['map'](_0x3b690a=>{var _0x5267df=_0x24a096;const _0x21774b=this[_0x5267df(0x30e)][_0x5267df(0x2d6)]['fetchThroughInterceptors'](this[_0x5267df(0x30e)][_0x5267df(0x2d6)]['getInterceptPoints']()[_0x5267df(0x381)])(_0x3b690a[_0x5267df(0x2d4)],null)||_0x3b690a[_0x5267df(0x2d4)];return{..._0x3b690a,'mutations':_0x21774b};});this[_0x24a096(0x348)](),this[_0x24a096(0x13f)](this[_0x24a096(0x30f)][_0x24a096(0xc4)](_0x21c264)),this[_0x24a096(0x213)]();}[_0x1d77b0(0x224)](){var _0x8e71dd=_0x1d77b0;this[_0x8e71dd(0x348)](),this[_0x8e71dd(0x13f)](this[_0x8e71dd(0x30f)][_0x8e71dd(0x2ea)]()),this[_0x8e71dd(0x213)]();}[_0x1d77b0(0x195)](_0x353713=!0x1){var _0xa52126=_0x1d77b0;this[_0xa52126(0x348)](),this[_0xa52126(0x13f)](this[_0xa52126(0x30f)]['toggleOnline']()),this[_0xa52126(0x213)]();const _0x3a2843=this[_0xa52126(0x30f)];_0x353713&&_0x3a2843 instanceof exports[_0xa52126(0x3b9)]&&(this[_0xa52126(0x348)](),this[_0xa52126(0x13f)](_0x3a2843['fetchMiss']()),this[_0xa52126(0x213)]());}async[_0x1d77b0(0x1dd)](){return new Promise(_0x3c55cc=>{var _0x41778c=_0x376d;this[_0x41778c(0x3b4)][_0x41778c(0x24e)][_0x41778c(0x102)](j[_0x41778c(0x170)](0x1))[_0x41778c(0x20d)](async _0x4eaf96=>{var _0xa8c1a6=_0x41778c;_0x3c55cc(await this[_0xa8c1a6(0x297)](_0x4eaf96===se[_0xa8c1a6(0xc8)]));});});}[_0x1d77b0(0x3ed)](){var _0x54aa1e=_0x1d77b0;const _0x55d287=this[_0x54aa1e(0x34d)];return{'onStateChange':(_0x205663,_0x26f777)=>{var _0x12bc63=_0x54aa1e;if(_0x205663!==this[_0x12bc63(0x30f)])throw new Error(_0x12bc63(0x14c)+_0x205663[_0x12bc63(0x30a)]+_0x12bc63(0x40d)+_0x26f777['status']+_0x12bc63(0x1e3)+this['_state'][_0x12bc63(0x30a)]);this['_updateState'](_0x26f777);},'onSendChangeset':_0x1e26ba=>{var _0xe1575d=_0x54aa1e;_0x1e26ba['sid']||(_0x1e26ba[_0xe1575d(0x1c5)]=this['_changesetSessionId'],_0x1e26ba['reqId']=++this['_changesetReqId']);const _0x3dd8da={'eventID':E[_0xe1575d(0x29b)][_0xe1575d(0x338)],'data':{'unitID':_0x1e26ba['unitID'],'unitType':this[_0xe1575d(0x168)],'changeset':_0x1e26ba,'memberID':this[_0xe1575d(0x3b4)]['getMemberID']()}};this[_0xe1575d(0x3b4)][_0xe1575d(0xfc)](_0x3dd8da,this['unitID']);},'onMissingChangesets':({from:_0xabc408,to:_0x16f62f})=>{var _0x589277=_0x54aa1e;this[_0x589277(0x368)][_0x589277(0x32b)](_0x589277(0x215),_0x589277(0x21c)+_0xabc408+_0x589277(0x35e)+_0x16f62f);const _0x3637e9={'eventID':E[_0x589277(0x29b)][_0x589277(0x2c5)],'data':{'unitID':_0x55d287,'unitType':this[_0x589277(0x168)],'from':_0xabc408,'to':_0x16f62f}};this['session'][_0x589277(0xfc)](_0x3637e9,this[_0x589277(0x34d)]);}};}async[_0x1d77b0(0x297)](_0x547d1d){var _0x17621b=_0x1d77b0,_0x3f030c,_0x3adbbd,_0x403898;const _0x3bb69a=await((_0x3f030c=this['_localCacheService'])==null?void 0x0:_0x3f030c[_0x17621b(0xd0)](this['unitID'])),_0x3362f3=(_0x3adbbd=_0x3bb69a==null?void 0x0:_0x3bb69a[_0x17621b(0x2d4)])!=null?_0x3adbbd:[],_0x5c5dfa=(_0x403898=_0x3bb69a==null?void 0x0:_0x3bb69a[_0x17621b(0x3e6)])!=null?_0x403898:null,_0x266080=!!(_0x5c5dfa!=null&&_0x5c5dfa['sid'])&&!!(_0x5c5dfa!=null&&_0x5c5dfa[_0x17621b(0x3d4)]);this['_changesetSessionId']=_0x266080?_0x5c5dfa[_0x17621b(0x1c5)]:E[_0x17621b(0x200)](),this[_0x17621b(0xd5)]=_0x266080?_0x5c5dfa[_0x17621b(0x3d4)]:0x0;const _0xfda8e6=this['unitID'];try{this[_0x17621b(0x2cd)](_0x5c5dfa,_0x3362f3);}catch(_0x186124){this[_0x17621b(0x368)][_0x17621b(0x33f)](_0x186124);}const _0x19cf8f=this[_0x17621b(0x3ed)]();if(_0x547d1d){const _0x4adde7=Et(this[_0x17621b(0x42f)],_0xfda8e6,this[_0x17621b(0x168)],_0x5c5dfa,_0x3362f3,_0x19cf8f);return _0x4adde7 instanceof exports[_0x17621b(0x2e9)]?_0x4adde7[_0x17621b(0x40c)]():(_0x4adde7 instanceof exports[_0x17621b(0x420)]||_0x4adde7 instanceof exports['AwaitingState'])&&_0x4adde7[_0x17621b(0x378)](),_0x4adde7;}return this[_0x17621b(0x42f)]['createInstance'](exports['OfflineState'],_0xfda8e6,this[_0x17621b(0x168)],_0x5c5dfa,_0x3362f3,_0x19cf8f);}[_0x1d77b0(0x2cd)](_0x2121f7,_0x5e402f){var _0x4ff06c=_0x1d77b0,_0x1b50f5,_0x2a15e5;const _0x392261=this['_compressMutationService']['interceptor'][_0x4ff06c(0x1af)](this[_0x4ff06c(0x30e)]['interceptor'][_0x4ff06c(0x3f9)]()['COMPRESS_MUTATION_APPLY']);(_0x1b50f5=_0x392261((_0x2121f7==null?void 0x0:_0x2121f7[_0x4ff06c(0x2d4)])||[],null))==null||_0x1b50f5['forEach'](_0x3a9a78=>this[_0x4ff06c(0x12b)][_0x4ff06c(0x141)](_0x3a9a78['id'],_0x3a9a78[_0x4ff06c(0x1ee)])),(_0x2a15e5=_0x392261(_0x5e402f||[],null))==null||_0x2a15e5[_0x4ff06c(0xc2)](_0xd3f65a=>this[_0x4ff06c(0x12b)][_0x4ff06c(0x141)](_0xd3f65a['id'],_0xd3f65a[_0x4ff06c(0x1ee)]));}},exports['CollaborationEntity']=Be([$(0x3,o[_0x1d77b0(0x397)](o['Injector'])),$(0x4,o[_0x1d77b0(0x397)](E[_0x1d77b0(0x367)])),$(0x5,o['Inject'](o[_0x1d77b0(0x1ab)])),$(0x6,o[_0x1d77b0(0x397)](E[_0x1d77b0(0xee)])),$(0x7,o[_0x1d77b0(0x397)](ee)),$(0x8,o['IUniverInstanceService']),$(0x9,o[_0x1d77b0(0x412)]),$(0xa,o['ICommandService']),$(0xb,o[_0x1d77b0(0xac)]),$(0xc,o[_0x1d77b0(0x115)](ve)),$(0xd,o[_0x1d77b0(0x115)](q))],exports['CollaborationEntity']),exports['DocCollaborationEntity']=class extends exports[_0x1d77b0(0x232)]{constructor(_0x18de54,_0x5107d1,_0x541f30,_0x5994cc,_0x627f67,_0x10b548,_0x5befaf,_0x1e8038,_0x198d9d,_0x3cedc7,_0x2c7cd6,_0x57ed3f,_0x11f339,_0x3c8165){var _0x4bfbeb=_0x1d77b0;super(_0x18de54,_0x541f30,_0x5107d1,_0x5994cc,_0x627f67,_0x10b548,_0x5befaf,_0x1e8038,_0x198d9d,_0x3cedc7,_0x2c7cd6,_0x57ed3f,_0x11f339,_0x3c8165),A(this,_0x4bfbeb(0x3e3),null),(this[_0x4bfbeb(0x34d)]=_0x18de54,this[_0x4bfbeb(0x3fc)]=_0x5107d1);}[_0x1d77b0(0xe6)](_0x598143){var _0x35bea8=_0x1d77b0;this[_0x35bea8(0x3e3)]=_0x598143;}[_0x1d77b0(0x199)](){this['_handlerCallback']=null,super['dispose']();}[_0x1d77b0(0x3ed)](){var _0x5d04ef=_0x1d77b0;const _0x3f2fd7=super[_0x5d04ef(0x3ed)]();return _0x3f2fd7[_0x5d04ef(0x26f)]=_0x2f4d5e=>{var _0x38346=_0x5d04ef,_0x1bb0ee,_0x3c13ca;return(_0x3c13ca=(_0x1bb0ee=this[_0x38346(0x3e3)])==null?void 0x0:_0x1bb0ee[_0x38346(0x26f)])==null?void 0x0:_0x3c13ca[_0x38346(0x25b)](_0x1bb0ee,_0x2f4d5e);},_0x3f2fd7[_0x5d04ef(0xc9)]=_0xae7b09=>{var _0x5d8445=_0x5d04ef,_0x1d9d14,_0xde9a5e;return(_0xde9a5e=(_0x1d9d14=this[_0x5d8445(0x3e3)])==null?void 0x0:_0x1d9d14[_0x5d8445(0xc9)])==null?void 0x0:_0xde9a5e[_0x5d8445(0x25b)](_0x1d9d14,_0xae7b09);},_0x3f2fd7[_0x5d04ef(0x19c)]=_0x4f6860=>{var _0x173dcb=_0x5d04ef,_0x292640,_0x5f2d60;return(_0x5f2d60=(_0x292640=this['_handlerCallback'])==null?void 0x0:_0x292640[_0x173dcb(0x19c)])==null?void 0x0:_0x5f2d60[_0x173dcb(0x25b)](_0x292640,_0x4f6860);},_0x3f2fd7['onSyncEditingCollabCursor']=_0x49dce4=>{var _0x21e0c2=_0x5d04ef,_0x437417,_0x15da17;return(_0x15da17=(_0x437417=this['_handlerCallback'])==null?void 0x0:_0x437417[_0x21e0c2(0x35d)])==null?void 0x0:_0x15da17[_0x21e0c2(0x25b)](_0x437417,_0x49dce4);},_0x3f2fd7[_0x5d04ef(0xe8)]=_0x26f3cf=>{var _0x253239=_0x5d04ef,_0xdaeca7,_0x23e057,_0x453c23;if(!((_0xdaeca7=this['_handlerCallback'])!=null&&_0xdaeca7['onTransformRemoteChangesetByIMECache']))throw new Error(_0x253239(0x349));return(_0x453c23=(_0x23e057=this['_handlerCallback'])==null?void 0x0:_0x23e057[_0x253239(0xe8)])==null?void 0x0:_0x453c23['call'](_0x23e057,_0x26f3cf);},_0x3f2fd7[_0x5d04ef(0x427)]=_0x5e3f47=>{var _0x43de61=_0x5d04ef,_0x427d02,_0x1a7f42,_0x2490dc;if(!((_0x427d02=this['_handlerCallback'])!=null&&_0x427d02[_0x43de61(0x427)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2490dc=(_0x1a7f42=this[_0x43de61(0x3e3)])==null?void 0x0:_0x1a7f42[_0x43de61(0x427)])==null?void 0x0:_0x2490dc[_0x43de61(0x25b)](_0x1a7f42,_0x5e3f47);},_0x3f2fd7;}async[_0x1d77b0(0x432)](){var _0x3b7ac5=_0x1d77b0;const _0xed302=await super[_0x3b7ac5(0x432)]();return this['disposeWithMe'](this[_0x3b7ac5(0x12b)][_0x3b7ac5(0xaf)]((_0xb1dc27,_0x330118)=>{var _0x44c20c=_0x3b7ac5;if(_0xb1dc27['type']!==o[_0x44c20c(0x283)][_0x44c20c(0x429)]||_0x330118!=null&&_0x330118['fromCollab']||_0x330118!=null&&_0x330118[_0x44c20c(0x39a)]||_0xb1dc27['id']===ct[_0x44c20c(0x1f4)]['id'])return;const _0x449f05=_0xb1dc27[_0x44c20c(0x1ee)];if((_0x449f05==null?void 0x0:_0x449f05[_0x44c20c(0x2d8)])!==this[_0x44c20c(0x34d)])return;const _0x54e2c4=_0xb1dc27,_0x5e67e1=this[_0x44c20c(0x30e)][_0x44c20c(0x2d6)]['fetchThroughInterceptors'](this[_0x44c20c(0x30e)][_0x44c20c(0x2d6)]['getInterceptPoints']()[_0x44c20c(0xd1)])([_0x54e2c4],this[_0x44c20c(0xf7)])||[_0x54e2c4];this[_0x44c20c(0x3c8)](_0x5e67e1[0x0]);})),_0xed302;}},exports[_0x1d77b0(0x23d)]=Be([$(0x3,o[_0x1d77b0(0x397)](o[_0x1d77b0(0x3b8)])),$(0x4,o['Inject'](E[_0x1d77b0(0x367)])),$(0x5,o[_0x1d77b0(0x397)](o['LocaleService'])),$(0x6,o[_0x1d77b0(0x397)](E[_0x1d77b0(0xee)])),$(0x7,o[_0x1d77b0(0x397)](ee)),$(0x8,o[_0x1d77b0(0xb3)]),$(0x9,o[_0x1d77b0(0x412)]),$(0xa,o[_0x1d77b0(0x1b6)]),$(0xb,o['IPermissionService']),$(0xc,o[_0x1d77b0(0x115)](ve)),$(0xd,o['Optional'](q))],exports[_0x1d77b0(0x23d)]),exports[_0x1d77b0(0x1b3)]=class extends exports[_0x1d77b0(0x232)]{constructor(_0xb4b6ea,_0x529883,_0x3fa603,_0x301a54,_0x4c8181,_0x196bd1,_0x1dc445,_0x1febf6,_0xaa3a90,_0x5bf289,_0xab1283,_0xefc4f3,_0x18390c,_0x1a490f,_0x551cc5){var _0x45b057=_0x1d77b0;super(_0xb4b6ea,_0x3fa603,_0x529883,_0x301a54,_0x4c8181,_0x196bd1,_0x1dc445,_0xaa3a90,_0x5bf289,_0xab1283,_0xefc4f3,_0x18390c,_0x1a490f,_0x551cc5),this['unitID']=_0xb4b6ea,this[_0x45b057(0x3fc)]=_0x529883,this['_sheetTransformSelectionsService']=_0x1febf6;}[_0x1d77b0(0x3ed)](){var _0x11edea=_0x1d77b0;const _0xde29b8=super[_0x11edea(0x3ed)]();return _0xde29b8[_0x11edea(0x19c)]=_0x566a14=>this['_sheetTransformSelectionsService'][_0x11edea(0x1a7)](_0x566a14),_0xde29b8;}async[_0x1d77b0(0x432)](){var _0xd0faa8=_0x1d77b0;const _0x86454d=await super[_0xd0faa8(0x432)]();return this['disposeWithMe'](this[_0xd0faa8(0x12b)][_0xd0faa8(0xaf)]((_0x4cf931,_0x462a7b)=>{var _0x14e281=_0xd0faa8;if(_0x4cf931['type']!==o[_0x14e281(0x283)][_0x14e281(0x429)]||_0x462a7b!=null&&_0x462a7b[_0x14e281(0x410)]||_0x462a7b!=null&&_0x462a7b[_0x14e281(0x39a)])return;const _0x1b406c=_0x4cf931[_0x14e281(0x1ee)];if((_0x1b406c==null?void 0x0:_0x1b406c[_0x14e281(0x2d8)])!==this['unitID'])return;const _0x4dd1f2=_0x4cf931,_0x4b7894=this[_0x14e281(0x30e)][_0x14e281(0x2d6)][_0x14e281(0x1af)](this[_0x14e281(0x30e)]['interceptor'][_0x14e281(0x3f9)]()[_0x14e281(0xd1)])([_0x4dd1f2],this[_0x14e281(0xf7)])||[_0x4dd1f2];this[_0x14e281(0x3c8)](_0x4b7894[0x0]);})),_0x86454d;}},exports[_0x1d77b0(0x1b3)]=Be([$(0x3,o['Inject'](o['Injector'])),$(0x4,o[_0x1d77b0(0x397)](E[_0x1d77b0(0x367)])),$(0x5,o['Inject'](o[_0x1d77b0(0x1ab)])),$(0x6,o['Inject'](E[_0x1d77b0(0xee)])),$(0x7,o[_0x1d77b0(0x397)](exports['SheetTransformSelectionsService'])),$(0x8,o['Inject'](ee)),$(0x9,o['IUniverInstanceService']),$(0xa,o[_0x1d77b0(0x412)]),$(0xb,o[_0x1d77b0(0x1b6)]),$(0xc,o[_0x1d77b0(0xac)]),$(0xd,o[_0x1d77b0(0x115)](ve)),$(0xe,o[_0x1d77b0(0x115)](q))],exports[_0x1d77b0(0x1b3)]);const pt=o[_0x1d77b0(0x3f8)](_0x1d77b0(0x2e5));function mt(_0x275c70){var _0x207ff7=_0x1d77b0,_0x3469fd,_0x1627ca,_0x1f5e81,_0x14e4ca,_0x35a3a2;const _0x3a89a4=_0x275c70[_0x207ff7(0x337)],_0x75dab7=JSON[_0x207ff7(0x235)](_0x3a89a4);switch(_0x75dab7[_0x207ff7(0x158)]){case W['HEARTBEAT']:case W[_0x207ff7(0x3fb)]:{const _0x3ecd4b=_0x75dab7[_0x207ff7(0x422)];return{..._0x75dab7,'data':_0x3ecd4b,'cmd':_0x75dab7[_0x207ff7(0x158)]};}case W[_0x207ff7(0x1ae)]:{const _0x23a541=_0x75dab7[_0x207ff7(0xed)];return{..._0x75dab7,'data':_0x23a541,'cmd':_0x75dab7[_0x207ff7(0x158)]};}case W['RECV']:{const _0x2d900a=_0x75dab7[_0x207ff7(0x2fb)];switch(_0x2d900a[_0x207ff7(0x3da)]){case E['CollaborationEvent']['PERMISSION_REJ']:return{..._0x75dab7,'data':{..._0x2d900a,'data':(_0x3469fd=_0x2d900a[_0x207ff7(0x2a2)])==null?void 0x0:_0x3469fd['cs']},'cmd':_0x75dab7[_0x207ff7(0x158)]};case E[_0x207ff7(0x29b)][_0x207ff7(0x250)]:return{..._0x75dab7,'data':{..._0x2d900a,'data':(_0x1627ca=_0x2d900a[_0x207ff7(0x1bb)])==null?void 0x0:_0x1627ca['cs']},'cmd':_0x75dab7['cmd']};case E['CollaborationEvent'][_0x207ff7(0x335)]:return{..._0x75dab7,'data':{..._0x2d900a,'data':(_0x1f5e81=_0x2d900a[_0x207ff7(0x3ac)])==null?void 0x0:_0x1f5e81['cs']},'cmd':_0x75dab7[_0x207ff7(0x158)]};case E['CollaborationEvent'][_0x207ff7(0x373)]:return{..._0x75dab7,'data':{..._0x2d900a,'data':(_0x14e4ca=_0x2d900a[_0x207ff7(0x157)])==null?void 0x0:_0x14e4ca['cs']},'cmd':_0x75dab7[_0x207ff7(0x158)]};case E[_0x207ff7(0x29b)][_0x207ff7(0x107)]:return{..._0x75dab7,'data':{..._0x2d900a,'data':(_0x35a3a2=_0x2d900a[_0x207ff7(0x365)])==null?void 0x0:_0x35a3a2['cs']},'cmd':_0x75dab7[_0x207ff7(0x158)]};case E[_0x207ff7(0x29b)]['UPDATE_CURSOR']:return{..._0x75dab7,'data':{..._0x2d900a,'data':_0x2d900a[_0x207ff7(0xe3)]},'cmd':_0x75dab7['cmd']};case E[_0x207ff7(0x29b)][_0x207ff7(0x2e6)]:return{..._0x75dab7,'data':{..._0x2d900a,'data':_0x2d900a[_0x207ff7(0x208)]},'cmd':_0x75dab7[_0x207ff7(0x158)]};case E[_0x207ff7(0x29b)][_0x207ff7(0xf5)]:return{..._0x75dab7,'data':{..._0x2d900a,'data':_0x2d900a[_0x207ff7(0xcb)]},'cmd':_0x75dab7[_0x207ff7(0x158)]};case E[_0x207ff7(0x29b)][_0x207ff7(0xc6)]:return{..._0x75dab7,'data':{..._0x2d900a,'data':_0x2d900a['liveShareNewHost']},'cmd':_0x75dab7[_0x207ff7(0x158)]};case E[_0x207ff7(0x29b)][_0x207ff7(0x437)]:case E['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x75dab7,'data':{..._0x2d900a,'data':_0x2d900a['liveShareOperation']},'cmd':_0x75dab7[_0x207ff7(0x158)]};case E['CollaborationEvent'][_0x207ff7(0x41c)]:return{..._0x75dab7,'data':{..._0x2d900a,'data':_0x2d900a[_0x207ff7(0x1c9)]},'cmd':_0x75dab7[_0x207ff7(0x158)]};case E['CollaborationEvent'][_0x207ff7(0x10e)]:return{..._0x75dab7,'data':_0x2d900a,'cmd':_0x75dab7['cmd']};case E[_0x207ff7(0x29b)][_0x207ff7(0xa7)]:return{..._0x75dab7,'data':{..._0x2d900a,'data':_0x2d900a['commentUpdateEvent']},'cmd':_0x75dab7[_0x207ff7(0x158)]};case E['CollaborationEvent'][_0x207ff7(0x274)]:return{..._0x75dab7,'data':{..._0x2d900a,'data':_0x2d900a[_0x207ff7(0x396)]},'cmd':_0x75dab7[_0x207ff7(0x158)]};case E[_0x207ff7(0x29b)][_0x207ff7(0x206)]:return{..._0x75dab7,'data':{..._0x2d900a,'data':_0x2d900a[_0x207ff7(0x29c)]},'cmd':_0x75dab7[_0x207ff7(0x158)]};case E[_0x207ff7(0x29b)][_0x207ff7(0xfe)]:return{..._0x75dab7,'data':{..._0x2d900a,'data':_0x2d900a[_0x207ff7(0x125)]},'cmd':_0x75dab7['cmd']};default:return _0x75dab7;}}default:return _0x75dab7;}}function gt(_0x3ef419){var _0x4b6ce4=_0x1d77b0;switch(_0x3ef419['cmd']){case W[_0x4b6ce4(0xb8)]:case W[_0x4b6ce4(0x3fb)]:return JSON[_0x4b6ce4(0x155)]({'cmd':_0x3ef419[_0x4b6ce4(0x158)],'routeKey':_0x3ef419[_0x4b6ce4(0x145)]});case W[_0x4b6ce4(0x2d7)]:{let _0x122ec2;switch(_0x3ef419[_0x4b6ce4(0x337)]['eventID']){case E[_0x4b6ce4(0x29b)][_0x4b6ce4(0x237)]:{_0x122ec2={'eventID':E[_0x4b6ce4(0x29b)]['UPDATE_CURSOR'],'updateCursorEvent':_0x3ef419['data'][_0x4b6ce4(0x337)]};break;}case E[_0x4b6ce4(0x29b)][_0x4b6ce4(0xf5)]:{_0x122ec2={'eventID':E[_0x4b6ce4(0x29b)][_0x4b6ce4(0xf5)],'leaveEvent':_0x3ef419[_0x4b6ce4(0x337)]['data']};break;}case E[_0x4b6ce4(0x29b)][_0x4b6ce4(0x2e6)]:{_0x122ec2={'eventID':E[_0x4b6ce4(0x29b)][_0x4b6ce4(0x2e6)],'joinEvent':_0x3ef419[_0x4b6ce4(0x337)]['data']};break;}case E['CollaborationEvent'][_0x4b6ce4(0xc6)]:{_0x122ec2={'eventID':E[_0x4b6ce4(0x29b)][_0x4b6ce4(0xc6)],'liveShareNewHost':_0x3ef419[_0x4b6ce4(0x337)][_0x4b6ce4(0x337)]};break;}case E[_0x4b6ce4(0x29b)][_0x4b6ce4(0x2d9)]:{_0x122ec2={'eventID':E[_0x4b6ce4(0x29b)][_0x4b6ce4(0x2d9)],'liveShareOperation':_0x3ef419[_0x4b6ce4(0x337)]['data']};break;}case E[_0x4b6ce4(0x29b)][_0x4b6ce4(0x41c)]:{_0x122ec2={'eventID':E[_0x4b6ce4(0x29b)][_0x4b6ce4(0x41c)],'liveShareTerminate':_0x3ef419[_0x4b6ce4(0x337)][_0x4b6ce4(0x337)]};break;}case E['CollaborationEvent'][_0x4b6ce4(0xab)]:{_0x122ec2={'eventID':E[_0x4b6ce4(0x29b)][_0x4b6ce4(0xab)],'liveShareRequestHost':_0x3ef419[_0x4b6ce4(0x337)]['data']};break;}case E[_0x4b6ce4(0x29b)][_0x4b6ce4(0x437)]:{_0x122ec2={'eventID':E[_0x4b6ce4(0x29b)][_0x4b6ce4(0x437)]};break;}default:_0x122ec2={'eventID':_0x3ef419[_0x4b6ce4(0x337)][_0x4b6ce4(0x3da)]};}return JSON[_0x4b6ce4(0x155)]({'cmd':_0x3ef419[_0x4b6ce4(0x158)],'routeKey':_0x3ef419['routeKey'],'collaMsg':_0x122ec2});}case W[_0x4b6ce4(0x1ae)]:return JSON[_0x4b6ce4(0x155)]({'cmd':_0x3ef419[_0x4b6ce4(0x158)],'routeKey':_0x3ef419[_0x4b6ce4(0x145)],'joinReq':_0x3ef419[_0x4b6ce4(0x337)]});case W[_0x4b6ce4(0x41a)]:return JSON[_0x4b6ce4(0x155)]({'cmd':_0x3ef419['cmd'],'routeKey':_0x3ef419[_0x4b6ce4(0x145)],'leaveReq':_0x3ef419[_0x4b6ce4(0x337)]});default:throw new Error(_0x4b6ce4(0x37e));}}var ri=Object[_0x1d77b0(0x1c1)],ai=(_0x4af291,_0x6a2c3,_0x5a3768,_0x47493f)=>{for(var _0x4b5788=_0x47493f>0x1?void 0x0:_0x47493f?ri(_0x6a2c3,_0x5a3768):_0x6a2c3,_0xf72b88=_0x4af291['length']-0x1,_0x3c0624;_0xf72b88>=0x0;_0xf72b88--)(_0x3c0624=_0x4af291[_0xf72b88])&&(_0x4b5788=_0x3c0624(_0x4b5788)||_0x4b5788);return _0x4b5788;},he=(_0x1641a2,_0x4c30f8)=>(_0x5f07cd,_0x2a8e93)=>_0x4c30f8(_0x5f07cd,_0x2a8e93,_0x1641a2);const Fe=o['createIdentifier'](_0x1d77b0(0x42b));function oi(_0x5d5489,_0x1b1d86,_0xca9d94){return _0x5d5489+'/'+_0x1b1d86+'/unit/'+_0xca9d94+'/new_changes';}exports['CollaborationSocketService']=class extends o[_0x1d77b0(0x120)]{constructor(_0x5ba391,_0x351102,_0x48d907,_0x4a506b,_0x1c3ef6){var _0x278629=_0x1d77b0;super(),this['_injector']=_0x5ba391,this['_httpService']=_0x351102,this[_0x278629(0x143)]=_0x48d907,this[_0x278629(0x368)]=_0x4a506b,this[_0x278629(0x29f)]=_0x1c3ef6;}[_0x1d77b0(0x406)](_0x5f5d2d){var _0x37c0c6=_0x1d77b0;const _0x3e74cc=this[_0x37c0c6(0x42f)][_0x37c0c6(0x3e0)](K[_0x37c0c6(0x196)]);if(!_0x3e74cc)throw new Error(_0x37c0c6(0x126));const _0x54e2f7=_0x3e74cc[_0x37c0c6(0xfa)](_0x5f5d2d);if(!_0x54e2f7)throw new Error(_0x37c0c6(0x135));const _0x40a560=new o[(_0x37c0c6(0x35b))](),_0xa5bacd=new j[(_0x37c0c6(0x3a8))]();_0x40a560[_0x37c0c6(0x103)](_0x54e2f7[_0x37c0c6(0x344)]['subscribe'](_0xbecea=>_0xa5bacd[_0x37c0c6(0x19e)](_0xbecea))),_0x40a560[_0x37c0c6(0x103)](o['toDisposable'](()=>_0xa5bacd[_0x37c0c6(0x313)]()));const _0x795df9=new j['Subject']();_0x40a560[_0x37c0c6(0x103)](_0x54e2f7[_0x37c0c6(0x1da)][_0x37c0c6(0x20d)](_0x4847fe=>_0x795df9[_0x37c0c6(0x19e)](_0x4847fe))),_0x40a560[_0x37c0c6(0x103)](o['toDisposable'](()=>_0x795df9[_0x37c0c6(0x313)]()));const _0x2a8b6f=new j[(_0x37c0c6(0x3a8))]();_0x40a560[_0x37c0c6(0x103)](_0x54e2f7[_0x37c0c6(0xf9)][_0x37c0c6(0x20d)](_0xb6b4aa=>{var _0x4ed634=_0x37c0c6;const _0x29fe4a=mt(_0xb6b4aa);_0x2a8b6f[_0x4ed634(0x19e)](_0x29fe4a);})),_0x40a560[_0x37c0c6(0x103)](o[_0x37c0c6(0x1f0)](()=>_0x2a8b6f[_0x37c0c6(0x313)]()));let _0x478621;const _0x20380f=()=>{var _0x23fb74=_0x37c0c6;_0x795df9[_0x23fb74(0x19e)](new Event(_0x23fb74(0x332))),_0xa5bacd[_0x23fb74(0x19e)](new Event(_0x23fb74(0x332))),_0x478621[_0x23fb74(0x1fc)]();};return _0x478621={'memberID':'','close$':_0xa5bacd[_0x37c0c6(0xd9)](),'error$':_0x795df9[_0x37c0c6(0xd9)](),'open$':_0x54e2f7['open$'],'message$':_0x2a8b6f['asObservable'](),'send':_0x2dff01=>{var _0x5ca81b=_0x37c0c6;if(_0x2dff01[_0x5ca81b(0x158)]===W[_0x5ca81b(0x2d7)]){if(_0x2dff01[_0x5ca81b(0x337)][_0x5ca81b(0x3da)]===E[_0x5ca81b(0x29b)][_0x5ca81b(0x338)]){this[_0x5ca81b(0x144)](_0x478621,_0x2dff01[_0x5ca81b(0x337)])['catch'](_0x5bf3c7=>{var _0xebe414=_0x5ca81b;this[_0xebe414(0x368)]['error'](_0x5bf3c7),_0x20380f();});return;}if(_0x2dff01[_0x5ca81b(0x337)][_0x5ca81b(0x3da)]===E[_0x5ca81b(0x29b)]['FETCH_MISSING']){const _0x96363d=_0x2dff01[_0x5ca81b(0x337)];this['_fetchMissChangesets'](_0x96363d)[_0x5ca81b(0x30b)](_0xa1cccc=>{var _0x165e6e=_0x5ca81b;_0x2a8b6f[_0x165e6e(0x19e)]({'cmd':W[_0x165e6e(0x19a)],'code':re['OK'],'routeKey':_0x96363d[_0x165e6e(0x337)]['unitID'],'routeType':'','data':{'eventID':E[_0x165e6e(0x29b)][_0x165e6e(0x2b8)],'data':{'changesets':_0xa1cccc}}});})[_0x5ca81b(0x279)](_0x41718c=>{var _0x4fc7c7=_0x5ca81b;this[_0x4fc7c7(0x368)][_0x4fc7c7(0x33f)](_0x41718c),_0x20380f();});return;}}_0x54e2f7[_0x5ca81b(0xfc)](gt(_0x2dff01));},'close':()=>{var _0x4c02cf=_0x37c0c6;_0x54e2f7['close'](),_0x40a560[_0x4c02cf(0x199)]();}},_0x478621;}async[_0x1d77b0(0x144)](_0x352e53,_0x2f2e3f){var _0x414ffa=_0x1d77b0,_0x160e19;const {unitType:_0x5afcbd,unitID:_0x1b0d57,changeset:_0x2be602}=_0x2f2e3f[_0x414ffa(0x337)],_0x32e1de={'unitID':_0x1b0d57,'memberID':_0x352e53[_0x414ffa(0x303)],'type':_0x5afcbd,'changeset':E[_0x414ffa(0xde)](_0x2be602)},_0x4fd15c=this['_configService'][_0x414ffa(0x267)](Y),_0x169c3d=oi((_0x160e19=_0x4fd15c==null?void 0x0:_0x4fd15c[_0x414ffa(0xe4)])!=null?_0x160e19:$t,_0x5afcbd,_0x1b0d57);try{await this[_0x414ffa(0x2cc)][_0x414ffa(0x3d5)](_0x169c3d,{'body':_0x32e1de});}catch(_0x55b720){throw this[_0x414ffa(0x368)][_0x414ffa(0x33f)](_0x414ffa(0x317),_0x414ffa(0x193)),_0x55b720;}}async[_0x1d77b0(0x1d5)](_0x36984b){var _0xa45643=_0x1d77b0;const {unitID:_0x3cb4bf,from:_0x42de5d,to:_0x276162,unitType:_0x540b40}=_0x36984b[_0xa45643(0x337)];return(await this[_0xa45643(0x29f)][_0xa45643(0x2b4)]({'metadata':void 0x0},{'unitID':_0x3cb4bf,'type':_0x540b40,'from':_0x42de5d,'to':_0x276162}))[_0xa45643(0x205)][_0xa45643(0x272)](_0x383d83=>((_0x383d83['mutations']===null||_0x383d83[_0xa45643(0x2d4)]===void 0x0)&&(_0x383d83[_0xa45643(0x2d4)]=[]),_0x383d83));}},exports[_0x1d77b0(0x16c)]=ai([he(0x0,o[_0x1d77b0(0x397)](o[_0x1d77b0(0x3b8)])),he(0x1,o['Inject'](K[_0x1d77b0(0x229)])),he(0x2,o[_0x1d77b0(0x268)]),he(0x3,o[_0x1d77b0(0x412)]),he(0x4,E['ISnapshotServerService'])],exports['CollaborationSocketService']);var ci=Object[_0x1d77b0(0x1c1)],_i=(_0x4aa37d,_0x1f156e,_0x403aea,_0x284d72)=>{var _0x5e029c=_0x1d77b0;for(var _0x2c1b70=_0x284d72>0x1?void 0x0:_0x284d72?ci(_0x1f156e,_0x403aea):_0x1f156e,_0xe838d5=_0x4aa37d[_0x5e029c(0x1b5)]-0x1,_0x510ab2;_0xe838d5>=0x0;_0xe838d5--)(_0x510ab2=_0x4aa37d[_0xe838d5])&&(_0x2c1b70=_0x510ab2(_0x2c1b70)||_0x2c1b70);return _0x2c1b70;},_e=(_0xc6b9fc,_0x5d5821)=>(_0x431203,_0x56b120)=>_0x5d5821(_0x431203,_0x56b120,_0xc6b9fc);exports[_0x1d77b0(0x278)]=class extends o[_0x1d77b0(0x120)]{constructor(_0x1ae8f5,_0x3afd1f,_0x496f63,_0x16784f,_0x5b4960,_0x1b98fc){var _0x5b5e5a=_0x1d77b0;super(),A(this,_0x5b5e5a(0x33d),new j[(_0x5b5e5a(0x105))](void 0x0)),A(this,_0x5b5e5a(0x392),this[_0x5b5e5a(0x33d)][_0x5b5e5a(0xd9)]()),A(this,_0x5b5e5a(0x3ae),null),A(this,_0x5b5e5a(0x305),new Map()),A(this,_0x5b5e5a(0xf4),new j['BehaviorSubject'](se[_0x5b5e5a(0x218)])),A(this,'status$',this['_status$']['asObservable']()),A(this,_0x5b5e5a(0x123),!0x1),A(this,_0x5b5e5a(0x181)),A(this,_0x5b5e5a(0x24f),0x0),A(this,_0x5b5e5a(0x169)),A(this,_0x5b5e5a(0x359)),(this[_0x5b5e5a(0x42f)]=_0x1ae8f5,this[_0x5b5e5a(0x368)]=_0x3afd1f,this[_0x5b5e5a(0x143)]=_0x496f63,this[_0x5b5e5a(0x13c)]=_0x16784f,this[_0x5b5e5a(0x1d3)]=_0x5b4960,this[_0x5b5e5a(0x32e)]=_0x1b98fc,this['_listenToNetworkCondition']());}get[_0x1d77b0(0x1e6)](){var _0xc396dc=_0x1d77b0;return this[_0xc396dc(0x33d)][_0xc396dc(0x37f)]();}[_0x1d77b0(0x2ab)](){var _0x13b97b=_0x1d77b0;this[_0x13b97b(0x32e)]&&this[_0x13b97b(0x175)](this[_0x13b97b(0x32e)][_0x13b97b(0x300)][_0x13b97b(0x20d)](_0x3175b9=>{var _0x3c6169=_0x13b97b;_0x3175b9&&!this[_0x3c6169(0x1e6)]&&this[_0x3c6169(0x119)](),_0x3175b9||this[_0x3c6169(0x262)]();}));}[_0x1d77b0(0x199)](){var _0x2300ba=_0x1d77b0;super['dispose'](),this['_clearRetryConnectingTimer'](),this[_0x2300ba(0x3ba)](),this[_0x2300ba(0x31f)](),this[_0x2300ba(0x305)][_0x2300ba(0xc2)](_0x1add34=>_0x1add34[_0x2300ba(0x199)]()),this[_0x2300ba(0x305)][_0x2300ba(0x24c)](),this[_0x2300ba(0xf4)][_0x2300ba(0x313)]();}async['requireSession'](_0x28c2e8){var _0x150451=_0x1d77b0;if(this[_0x150451(0x305)][_0x150451(0x330)](_0x28c2e8))return this['_sessions'][_0x150451(0x3e0)](_0x28c2e8);this[_0x150451(0x3fd)]();const _0x388264=this[_0x150451(0x42f)][_0x150451(0x18c)](exports[_0x150451(0x416)],_0x28c2e8,this[_0x150451(0x33d)]['asObservable']());return this[_0x150451(0x305)]['set'](_0x28c2e8,_0x388264),_0x388264;}[_0x1d77b0(0x3fe)](_0x824281){var _0x83d201=_0x1d77b0,_0x188884;const _0x5a9222=this[_0x83d201(0x305)][_0x83d201(0x3e0)](_0x824281);_0x5a9222&&(this[_0x83d201(0x305)][_0x83d201(0x3f1)](_0x824281),_0x5a9222[_0x83d201(0x1fc)]()),this[_0x83d201(0x305)][_0x83d201(0x139)]||(_0x188884=this[_0x83d201(0x1e6)])==null||_0x188884['close']();}[_0x1d77b0(0x119)](){var _0xfe9bc2=_0x1d77b0;this[_0xfe9bc2(0x24f)]=0x0,this[_0xfe9bc2(0xeb)](),this[_0xfe9bc2(0x419)]();}[_0x1d77b0(0xeb)](){var _0x38a31f=_0x1d77b0;this[_0x38a31f(0x181)]!=null&&(clearTimeout(this[_0x38a31f(0x181)]),this[_0x38a31f(0x181)]=null);}async[_0x1d77b0(0x404)](){var _0x16803c=_0x1d77b0,_0x547646;const _0x4b21cd=this[_0x16803c(0x143)][_0x16803c(0x267)](Y),_0x4d6bfe=(_0x547646=_0x4b21cd==null?void 0x0:_0x4b21cd['collabWebSocketUrl'])!=null?_0x547646:_t,_0x17b3a3=await this[_0x16803c(0x13c)]['createSocket'](_0x4d6bfe);return this[_0x16803c(0x3ae)]=_0x17b3a3,_0x17b3a3;}async['_tryEnsureSocket'](){var _0x47294d=_0x1d77b0,_0x567676,_0x2d962b;try{const _0x56feae=(_0x2d962b=(_0x567676=this['_socket'])!=null?_0x567676:this[_0x47294d(0x3ae)])!=null?_0x2d962b:await this[_0x47294d(0x404)]();if(_0x56feae){const _0x4e9976=_0x56feae[_0x47294d(0xfc)];_0x56feae['send']=_0x22b8a6=>(this[_0x47294d(0x3d1)](),_0x4e9976[_0x47294d(0xd4)](_0x56feae,[_0x22b8a6])),_0x56feae[_0x47294d(0xf9)][_0x47294d(0x20d)](_0x5e542b=>this[_0x47294d(0x306)](_0x56feae,_0x5e542b)),_0x56feae[_0x47294d(0x1da)][_0x47294d(0x102)](V[_0x47294d(0x170)](0x1))[_0x47294d(0x20d)](_0x25a94d=>this[_0x47294d(0x368)][_0x47294d(0x33f)](_0x47294d(0x2bf),_0x25a94d)),_0x56feae[_0x47294d(0x287)]['pipe'](V[_0x47294d(0x170)](0x1))['subscribe'](()=>{var _0x26a729=_0x47294d;this[_0x26a729(0x1bc)](_0x56feae);}),_0x56feae[_0x47294d(0x344)][_0x47294d(0x102)](V[_0x47294d(0x170)](0x1))['subscribe'](_0x5cffeb=>{var _0xe738f8=_0x47294d;this['_logService'][_0xe738f8(0x32b)]('[CollaborationSessionService]','socket\x20close',_0x5cffeb),this[_0xe738f8(0x11e)]();});}}catch(_0x4b2738){this['_logService'][_0x47294d(0x33f)](_0x4b2738),this[_0x47294d(0x11e)]();}}[_0x1d77b0(0x1bc)](_0x441059){var _0x4e7094=_0x1d77b0;this['_logService'][_0x4e7094(0x32b)](_0x4e7094(0xe7),'socket\x20open.'),_0x441059['send']({'cmd':W[_0x4e7094(0x3fb)]}),this[_0x4e7094(0x3d1)]();}[_0x1d77b0(0x262)](){var _0x2ca621=_0x1d77b0;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x2ca621(0xf4)][_0x2ca621(0x19e)](se[_0x2ca621(0x350)]),this[_0x2ca621(0x33d)][_0x2ca621(0x19e)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x1d77b0(0x11e)](){var _0x562375=_0x1d77b0,_0x325f4f;this[_0x562375(0x262)](),this[_0x562375(0x24f)]<((_0x325f4f=this[_0x562375(0x143)][_0x562375(0x267)](ut))!=null?_0x325f4f:wt)?(this[_0x562375(0x1d3)]['emitEvent']({'id':J[_0x562375(0x133)]}),this['_tryReconnect']()):this[_0x562375(0x1d3)][_0x562375(0x21a)]({'id':J[_0x562375(0x2b2)]});}['_tryReconnect'](){var _0x1d4af2=_0x1d77b0,_0x4565de;const _0x17e246=this[_0x1d4af2(0x24f)],_0x57dd95=this[_0x1d4af2(0x143)][_0x1d4af2(0x267)](Y),_0xb5b747=_0x17e246===0x0?0x0:((_0x4565de=_0x57dd95==null?void 0x0:_0x57dd95[_0x1d4af2(0x159)])!=null?_0x4565de:Mt)*0x2**_0x17e246;this[_0x1d4af2(0x181)]=setTimeout(()=>{var _0x1fdf29=_0x1d4af2;clearTimeout(this[_0x1fdf29(0x181)]),this[_0x1fdf29(0x181)]=null,this[_0x1fdf29(0x3fd)]();},_0xb5b747),this[_0x1d4af2(0x24f)]+=0x1;}['_onMessage'](_0x54d44f,_0x1aeb0a){var _0x18f2e6=_0x1d77b0;const {cmd:_0x596ce8}=_0x1aeb0a;_0x596ce8===W[_0x18f2e6(0x3fb)]&&!this[_0x18f2e6(0x123)]&&(_0x54d44f[_0x18f2e6(0x303)]=_0x1aeb0a[_0x18f2e6(0x337)]['memberID'],this['_socket$'][_0x18f2e6(0x19e)](_0x54d44f),this['_status$'][_0x18f2e6(0x19e)](se[_0x18f2e6(0xc8)]),this['_socketReady']=!0x0,this[_0x18f2e6(0x3ae)]=null),_0x596ce8===W[_0x18f2e6(0xb8)]&&this[_0x18f2e6(0x3ba)](),this[_0x18f2e6(0x3d1)]();}[_0x1d77b0(0x3d1)](){var _0x3910fa=_0x1d77b0,_0x45f75a;this[_0x3910fa(0x31f)](),this[_0x3910fa(0x169)]=setTimeout(()=>this[_0x3910fa(0x1b0)](),(_0x45f75a=this[_0x3910fa(0x143)][_0x3910fa(0x267)](ht))!=null?_0x45f75a:Lt);}[_0x1d77b0(0x1b0)](){var _0x15dfc5=_0x1d77b0;this[_0x15dfc5(0x1e6)][_0x15dfc5(0xfc)]({'cmd':W[_0x15dfc5(0xb8)]}),this[_0x15dfc5(0xca)]();}[_0x1d77b0(0xca)](){var _0x4c1ee4=_0x1d77b0,_0x212a50;this[_0x4c1ee4(0x359)]=setTimeout(()=>this[_0x4c1ee4(0x11e)](),(_0x212a50=this['_configService'][_0x4c1ee4(0x267)](ke))!=null?_0x212a50:lt);}['_clearHeartbeatTimer'](){var _0x56e7ce=_0x1d77b0;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x56e7ce(0x169)]),this[_0x56e7ce(0x169)]=null);}[_0x1d77b0(0x3ba)](){var _0x515c46=_0x1d77b0;this[_0x515c46(0x359)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x515c46(0x359)]=null);}},exports[_0x1d77b0(0x278)]=_i([_e(0x0,o['Inject'](o[_0x1d77b0(0x3b8)])),_e(0x1,o[_0x1d77b0(0x412)]),_e(0x2,o[_0x1d77b0(0x268)]),_e(0x3,Fe),_e(0x4,o[_0x1d77b0(0x397)](ee)),_e(0x5,o[_0x1d77b0(0x115)](pt))],exports[_0x1d77b0(0x278)]);var hi=Object['getOwnPropertyDescriptor'],li=(_0x40f956,_0x19d297,_0x394947,_0x13e765)=>{var _0x1d3d78=_0x1d77b0;for(var _0x126032=_0x13e765>0x1?void 0x0:_0x13e765?hi(_0x19d297,_0x394947):_0x19d297,_0x4f7675=_0x40f956[_0x1d3d78(0x1b5)]-0x1,_0x5c54d3;_0x4f7675>=0x0;_0x4f7675--)(_0x5c54d3=_0x40f956[_0x4f7675])&&(_0x126032=_0x5c54d3(_0x126032)||_0x126032);return _0x126032;},Se=(_0x4349bd,_0x2aca8d)=>(_0x5e1e70,_0xf8b20a)=>_0x2aca8d(_0x5e1e70,_0xf8b20a,_0x4349bd);exports['CollaborationController']=class extends o[_0x1d77b0(0x308)]{constructor(_0x5171a4,_0x2d4da4,_0x80f35a,_0x753c6a){var _0x64e0f0=_0x1d77b0,_0x1ce3f6;super(),A(this,_0x64e0f0(0x17a),new Map()),A(this,_0x64e0f0(0x14f),new j[(_0x64e0f0(0x3a8))]()),A(this,_0x64e0f0(0x2bd),this[_0x64e0f0(0x14f)][_0x64e0f0(0xd9)]()),(this[_0x64e0f0(0x42f)]=_0x5171a4,this[_0x64e0f0(0x366)]=_0x2d4da4,this[_0x64e0f0(0x143)]=_0x80f35a,this[_0x64e0f0(0xf7)]=_0x753c6a,((_0x1ce3f6=this[_0x64e0f0(0x143)]['getConfig'](Y))==null?void 0x0:_0x1ce3f6[_0x64e0f0(0x40e)])!==!0x1&&this[_0x64e0f0(0x432)]());}[_0x1d77b0(0x199)](){var _0x10ed29=_0x1d77b0;super[_0x10ed29(0x199)](),this[_0x10ed29(0x17a)][_0x10ed29(0xc2)](_0x5c06de=>_0x5c06de[_0x10ed29(0x199)]()),this[_0x10ed29(0x17a)][_0x10ed29(0x24c)]();}[_0x1d77b0(0x31b)](_0x214fcf){var _0x5467c7=_0x1d77b0,_0x53b4ba;return(_0x53b4ba=this[_0x5467c7(0x17a)][_0x5467c7(0x3e0)](_0x214fcf))!=null?_0x53b4ba:null;}[_0x1d77b0(0x16f)](_0x134d5e){var _0x4d7dc5=_0x1d77b0;const _0x3423c7=this['getCollabEntity'](_0x134d5e);return _0x3423c7?j['of'](_0x3423c7):this['_entityInit$'][_0x4d7dc5(0x102)](V[_0x4d7dc5(0x2c4)](_0x1cc6b1=>_0x1cc6b1[_0x4d7dc5(0x34d)]===_0x134d5e));}[_0x1d77b0(0x127)](_0x4eeb5e){var _0x27f090=_0x1d77b0;return j[_0x27f090(0x3c0)](this[_0x27f090(0x16f)](_0x4eeb5e)['pipe'](V['map'](()=>{})));}[_0x1d77b0(0x432)](){var _0x4ce31c=_0x1d77b0;this[_0x4ce31c(0xf7)][_0x4ce31c(0x3f3)](o[_0x4ce31c(0x149)]['UNIVER_SHEET'])[_0x4ce31c(0x102)](j[_0x4ce31c(0x2b9)](this[_0x4ce31c(0x234)]),V[_0x4ce31c(0x15a)](0x10))[_0x4ce31c(0x20d)](async _0x53410d=>{var _0xe40454=_0x4ce31c;const _0xe68fd7=_0x53410d[_0xe40454(0x1f2)](),_0x356d3d=await this[_0xe40454(0x2eb)](_0xe68fd7,X[_0xe40454(0x22a)]);this[_0xe40454(0x17a)]['set'](_0xe68fd7,_0x356d3d);}),this['_univerInstanceService'][_0x4ce31c(0x3f3)](o[_0x4ce31c(0x149)][_0x4ce31c(0x411)])[_0x4ce31c(0x102)](j[_0x4ce31c(0x2b9)](this[_0x4ce31c(0x234)]),V['delay'](0x10))[_0x4ce31c(0x102)](V[_0x4ce31c(0x2c4)](_0x5b03fc=>!_0x5b03fc[_0x4ce31c(0x1f2)]()[_0x4ce31c(0x425)]('__')))[_0x4ce31c(0x20d)](async _0x39c050=>{var _0x56f2da=_0x4ce31c;const _0x46b6ec=_0x39c050[_0x56f2da(0x1f2)](),_0x1b1d10=await this[_0x56f2da(0x2eb)](_0x46b6ec,X['UNIVER_DOC']);this[_0x56f2da(0x17a)][_0x56f2da(0x16d)](_0x46b6ec,_0x1b1d10);}),j[_0x4ce31c(0x1e1)](this[_0x4ce31c(0xf7)][_0x4ce31c(0x351)](o[_0x4ce31c(0x149)][_0x4ce31c(0x22a)]),this['_univerInstanceService'][_0x4ce31c(0x351)](o['UniverInstanceType'][_0x4ce31c(0x411)]))[_0x4ce31c(0x102)](j[_0x4ce31c(0x2b9)](this[_0x4ce31c(0x234)]))['subscribe'](_0x1eeb3b=>{var _0x4b381d=_0x4ce31c;const _0x1a8df=_0x1eeb3b[_0x4b381d(0x1f2)](),_0x385709=this[_0x4b381d(0x17a)][_0x4b381d(0x3e0)](_0x1a8df);_0x385709&&(_0x385709[_0x4b381d(0x199)](),this[_0x4b381d(0x17a)]['delete'](_0x1a8df));});}async[_0x1d77b0(0x2eb)](_0x3f6750,_0x3c5b1f){var _0x50bc0d=_0x1d77b0;const _0x2d7efc=await this[_0x50bc0d(0x366)]['requireSession'](_0x3f6750),_0x17a63d=this[_0x50bc0d(0x42f)][_0x50bc0d(0x18c)](this[_0x50bc0d(0x29d)](_0x3c5b1f),_0x3f6750,_0x3c5b1f,_0x2d7efc);return await _0x17a63d[_0x50bc0d(0x31d)](),this['_entityInit$']['next'](_0x17a63d),_0x17a63d;}[_0x1d77b0(0x29d)](_0x4dda1c){var _0x245d83=_0x1d77b0;switch(_0x4dda1c){case X[_0x245d83(0x411)]:return exports[_0x245d83(0x23d)];case X[_0x245d83(0x22a)]:return exports[_0x245d83(0x1b3)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x4dda1c);}}},exports[_0x1d77b0(0x3c2)]=li([Se(0x0,o[_0x1d77b0(0x397)](o[_0x1d77b0(0x3b8)])),Se(0x1,o[_0x1d77b0(0x397)](exports['CollaborationSessionService'])),Se(0x2,o[_0x1d77b0(0x268)]),Se(0x3,o[_0x1d77b0(0xb3)])],exports['CollaborationController']);var ui=Object['getOwnPropertyDescriptor'],vi=(_0x4654c2,_0x16249e,_0x53ad92,_0x6cafa2)=>{var _0x5e46b3=_0x1d77b0;for(var _0x1ce820=_0x6cafa2>0x1?void 0x0:_0x6cafa2?ui(_0x16249e,_0x53ad92):_0x16249e,_0x4ee392=_0x4654c2[_0x5e46b3(0x1b5)]-0x1,_0x5a26a2;_0x4ee392>=0x0;_0x4ee392--)(_0x5a26a2=_0x4654c2[_0x4ee392])&&(_0x1ce820=_0x5a26a2(_0x1ce820)||_0x1ce820);return _0x1ce820;},Ye=(_0x167554,_0x198f62)=>(_0x17f300,_0x577534)=>_0x198f62(_0x17f300,_0x577534,_0x167554);function _0x376d(_0x31602d,_0x289b60){_0x31602d=_0x31602d-0xa6;var _0x41310f=_0x4131();var _0x376d7f=_0x41310f[_0x31602d];return _0x376d7f;}const di='DEFAULT_FILE_NAME',Si=_0x1d77b0(0xc0);let xe=class extends o[_0x1d77b0(0x120)]{constructor(_0x315326,_0x1efd44){var _0xe77d8a=_0x1d77b0;super(),this[_0xe77d8a(0xf7)]=_0x315326,this[_0xe77d8a(0x143)]=_0x1efd44,this['_init']();}['_init'](){var _0x382549=_0x1d77b0;this[_0x382549(0x175)](this[_0x382549(0xf7)][_0x382549(0x40b)][_0x382549(0x20d)](()=>{var _0x574abc=_0x382549,_0x2a5508;const _0x2bfade=this[_0x574abc(0xf7)][_0x574abc(0x19b)]();let _0x2be75e=(_0x2a5508=this[_0x574abc(0x143)][_0x574abc(0x267)](di))!=null?_0x2a5508:Si;_0x2bfade instanceof o[_0x574abc(0x217)]&&(_0x2be75e=_0x2bfade[_0x574abc(0x2c0)]),document[_0x574abc(0x3e2)]=_0x2be75e;}));}};xe=vi([Ye(0x0,o[_0x1d77b0(0xb3)]),Ye(0x1,o[_0x1d77b0(0x268)])],xe);var Ii=Object[_0x1d77b0(0x1c1)],fi=(_0x4eae8b,_0x4eb419,_0x122623,_0x43b8ac)=>{var _0x2d7b5b=_0x1d77b0;for(var _0x601999=_0x43b8ac>0x1?void 0x0:_0x43b8ac?Ii(_0x4eb419,_0x122623):_0x4eb419,_0x4b13ca=_0x4eae8b[_0x2d7b5b(0x1b5)]-0x1,_0x2bef61;_0x4b13ca>=0x0;_0x4b13ca--)(_0x2bef61=_0x4eae8b[_0x4b13ca])&&(_0x601999=_0x2bef61(_0x601999)||_0x601999);return _0x601999;},Ae=(_0xdc32f5,_0x464996)=>(_0x30722f,_0x266c4f)=>_0x464996(_0x30722f,_0x266c4f,_0xdc32f5);function _0x4131(){var _0x4d1245=['_transformStack','url','onStateChange','getConfig','IConfigService','confirm','getSheetId','putCollaborators','JOIN_ROOM_FAILED','equals','HttpImport','onTransformIME','awaiting_with_pending','AWAITING_WITH_PENDING','map','execute','UPDATE_PERMISSION_OBJ','_iKey','EMAIL_HAS_BEEN_BOUND','_transformService','CollaborationSessionService','catch','YUUMI_URL_COL_OUT_OF_RANGE','1125512whGiGw','transformMutationsWithChangeset','REDEMPTION_CODE_FULLY_REDEEMED','Utf8','rev','_acknowledgedAwaitingChangeset','selections','_redoStacks','CommandType','REDEMPTION_CODE_HAS_BEEN_CREATED','saveImage','[PendingState]:\x20unhandled\x20univer\x20type:\x20','open$','getUnitType','_transformRemoteChangesetByIMECache','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_members$','getRoom','entries','Hex','WorkbookEditablePermission','splice','99156jpXcPw','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_throwTelemetryCollaborationNewChangeset','uploadFileServerUrl','refreshPermission','Base','_createInitialStateImpl','ENTITLE_COUPON_USED_UP','updateMember','enableSingleActiveInstanceLock','CollaborationEvent','shouldCloseConn','_getCtorByUniverType','/universer-api/file/{fileID}/sign-url','_snapshotServerService','_queuedRemoteChangesets','/universer-api/comb','permissionRejEvent','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_initCloseConn','PAYMENT_CHANNEL_NOT_SUPPORT','getMember','crypto','_nRounds','ENTITLE_INVALID_COUPON_CODE','_initRequestHeader','_listenToNetworkCondition','/collaborator','loadSheet','authzUrl','_onConflict','BlockCipher','Quantity','SOCKET_FAILED','toStringTag','fetchMissingChangesets','save\x20fail\x20reason\x20is\x20','Encryptor','msCrypto','PSEUDO_FETCH_MISSING_RESULT','takeUntil','state','INVITE_CODE_HAS_BEEN_UES','_createHelper','entityInit$','byteOffset','[CollaborationSessionService]:\x20socket\x20error','name','find','_incrementRevisionNumber','univer-pro.collaboration-client.single-active-unit-service','filter','FETCH_MISSING','_pendingMutations','NoPadding','addImageSourceCache','EMAIL_VERIFY_CODE_MISMATCH','&source=','signUrlServerUrl','_httpService','_replayCachedMutations','onRemoteRetry','_transformStateCache','ENTITLE_CHAT_LIMIT_EXCEED','deserializeToCombResponse','allowed','isInternalEditorID','mutations','encryptBlock','interceptor','INGEST','unitId','LIVESHARE_OPERATION','_scheduleCollaborationTimeoutTimer','_unitID','put','/universer-api/oidc/authpage','MemberService','[CollaborationUndoRedoService]','SheetPermissionInitController','[OfflineState]:\x20received\x20acknowledgement.','INTERNAL_ERROR','readInt32LE','withCredentials','univer-pro.collaboration-client.network-condition.service','USERS_ENTER','UNKNOWN_CODE','ERROR_IMAGE_TYPE','PendingState','toggleOffline','_startCollaboration','\x20in\x20_schedule.','APPLY_REJECT','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ENTITLE_NEED_BILLING_ADDRESS','ThresholdInterceptorFactory','_hasher','setCurrentUser','_memberService','ciphertext','JOIN_ROOM_FULL','ERROR_IMAGE','/allowed','abs','getCurrentSelections','requestParams','collaMsg','Malformed\x20UTF-8\x20data','REDEMPTION_INVALID_CODE','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_permissionService','online$','MD5','offline','memberID','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_sessions','_onMessage','getUnitOnRev','RxDisposable','ClipsheetFragments','status','then','default','_roomMembers','_compressMutationService','_state','_telemetryService','_localCacheService','onRemoteAck','complete','copyFileMeta','SHA1','BufferedBlockAlgorithm','[CollaborationSession]','objects','INVITE_CODE_REQUIRED','result','getCollabEntity','&assign=','init','resourceIDs','_clearHeartbeatTimer','getUnit','INVALID_INVITE_CODE','CHANGESET_REVISION_CONFILICT','_initDependencies','now','AWAITING','_substituteRedoStack','session.room-permission-denied','YUUMI_UNABLE_LOAD_URL','UserManagerService','indexOf','debug','ICollaborationSocketService','_getUndoStack','_networkConditionService','UNAUTHENTICATED','has','_instanceService','connection\x20error','method','_members','NEW_CHANGESETS','_changesetSessionId','data','SUBMIT_CHANGESET','prototype','_showConflictNotification','onload','removeMember','_socket$','sigBytes','error','setShowComponents','UnitStatus','_cipher','randomBytes','close$','failed\x20to\x20apply\x20missed\x20changesets!','UNIVER_PROJECT','INetworkConditionService','_lockTransition','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','HmacSHA1','compute','requireSession','unitID','getAllMembers','AUTHORIZE_CODE_ILLEGAL','OFFLINE','getTypeOfUnitDisposed$','_scheduleCompleteTimestamp','textEncoder','enableAuthServer','_emitMembers','/universer-api/stream/file/upload','hasOwnProperty','YUUMI_ASYNCIO_CANCELLED','_timeoutTimer','CollaborationImageIoService','DisposableCollection','YUUMI_SUBSCRIPTION_NOT_FOUND','onSyncEditingCollabCursor','\x20to\x20','_disableEditing','reject','\x20-\x20','/-/object/-/batch_allowed','change$','_undoStacks','csShouldRetryEvent','_collabSessionService','CompressMutationService','_logService','parseProtocolChangeset','x-univer-host','CipherParams','OTHER_CLIENT_EDITING','USER_NOT_INVITED_CODE','__creator','reset','ERROR_AGAIN','_substituteUndoStack','LOGIN_FAILED','CHANGESET_REJ','unknown','_onFetchMissResult','file','_initUnitPermissionChange','resend','fromCharCode','buffer','telemetry\x20info\x20is\x20not\x20initialized','_getUploadFileURL','clamp','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','getValue','workbook','COMPRESS_MUTATION_APPLY','getCurrentUser','algo','members','ImageUploadStatusType','PasswordBasedCipher','Hasher','c1Prime','saveChangeset','getSnapshotAPIPath','ivSize','_config','function','_commentService','_prevBlock','string','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','socket$','_clearUndo','collaboration-client.local-cache-service','image/png','updatePermissionObjEvent','Inject','subUnitId','SYNCED','onlyLocal','_getLoginPath','readAsDataURL','_updateStatus','SUCCUSS','EvpKDF','INVALID_ARGUMENT','push','UNRECOGNIZED','blockSize','FileId','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UNKNOWN_CMD','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','Subject','HEARTBEAT_INTERVAL','batchAllowed','exports','newCsEvent','_getAPIPrefixPath','_candidateSocket','formatter','origin','ImageSourceType','/block/','findIndex','session','_transitionLocked','JOIN_ROOM_PERMISSION_DENIED','_onUserLeave','Injector','SyncedState','_clearTimeoutTimer','_transformUndoredo','EmptyMutationInfo','GLOBAL_ROOMS_CNT_EXCEEDS','UNIVER_SLIDE','__Key__','firstValueFrom','b64DecodeUnicode','CollaborationController','min','NOT_FOUND','iterations','REDEMPTION_CODE_NOT_STARTED','updateCollaborator','_onLocalMutation','[UniverCollaborationClientPlugin]','?size=','HMAC','_registerDependencies','ILocalCacheService','_singleActiveUnitService','DATA_SOURCE_TOO_LARGE','3052987ZyhqfT','_rescheduleHeartbeat','ISingleActiveUnitService','encode','reqId','post','capture','mapDocumentTypeToUniverType','initWorkbookPermissionChange','awaiting','eventID','loadUnitOfRevision','pauseCollaboration','HmacMD5','Plugin','not_collab','get','max','title','_handlerCallback','isTransformMutationsWithChangesetSuccess','PERMISSION_REJ','awaitingChangeset','byteLength','userID','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','encrypt','defineProperty','_keySchedule','_createHandler','_event$','/role','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','delete','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getTypeOfUnitAdded$','sheets','_collaborationSessionService','update','ENTITLE_USE_COUPON_NOT_1ST_TRADE','createIdentifier','getInterceptPoints','APPLY_REVISION_CONFILICT','HELLO','type','_tryEnsureSocket','closeSession','_map','FetchingMissState','getRandomValues','target','YUUMI_ALL_TABLES_IS_INVALID','_createSocket','_exhaustRemoteChangesetQueue','_doCreateSocket','$super','YUUMI_AI_RUN_FAILED','116xmqGRN','_transformSelections','focused$','_schedule','\x0aAfter:\x20','enableCollaboration','_onUserJoin','fromCollab','UNIVER_DOC','ILogService','__splitChunk__','extend','mixIn','CollaborationSession','3028IuMzID','_append','_tryReconnect','LEAVE','_doReset','LIVESHARE_TERMINATE','ENTITLE_CAN_NOT_BUY_LOWER_OTP','avatar','_clearScheduledTask','AwaitingWithPendingState','_key','infoRsp','CURRENT_STATUS_CANNOT_OPERATE','_syncEditingCollabCursor','startsWith','src','onTransformRemoteChangesetByStateCache','isPermissionRej','MUTATION','keySize','univer-pro.collaboration-client-socket-service','collaboration_new_changeset','MentionType','_snapshotService','_injector','compose','create','_init','_doCryptBlock','_unitInfo$','duration','toggleOnline','LIVESHARE_FETCH_OPERATIONS','Latin1','COMMENT_UPDATE','_transformIMECache','listRoles','getCurrentRevOfUnit','LIVESHARE_REQUEST_HOST','IPermissionService','_replaceFileID','ws://127.0.0.1:8000/universer-api/comb/connect','onMutationExecutedForCollab','UUID','DependentOn','objectID','IUniverInstanceService','_undoRedoService','/object/','Tools','YUUMI_RATE_OVER_LIMIT','HEARTBEAT','CONNECTOR_DATA_TOO_LARGE','editingUnit','IUndoRedoService','CollaborationUIEventId','_isPermissionRej','lib','_hash','Univer','registerHTTPInterceptor','forEach','conflict','onMissedChangesetFetched','SnapshotServerOverHTTPService','LIVESHARE_NEW_HOST','disableLocalCache','ONLINE','onTransformState','_waitForHeartbeatResponse','leaveEvent','COMPLETION_FINISHED','ceil','finalize','[PendingState]:\x20received\x20acknowledgement.','loadOfflineData','COMPRESS_MUTATION_SEND','CONFLICT','PENDING','apply','_changesetReqId','code','salt','startTime','asObservable','/universer-api/snapshot','SetSelectionsOperation','[PendingState]:\x20received\x20rejection.','ERROR_EXCEED_SIZE','parseChangesetToProtocol','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','Error\x20on\x20receiving\x20event','words','SheetTransformSelectionsService','updateCursorEvent','collabSubmitChangesetUrl','ConflictState','addHandlerCallback','[CollaborationSessionService]','onTransformRemoteChangesetByIMECache','_joinRoom','ITransformService','_clearRetryConnectingTimer','serializeCombRequest','joinRsp','RevisionService','_stopTelemetryCollaborationNewChangeset','_sessionStatus$','9dvNbMX','reverse','charAt','_status$','USERS_LEAVE','UniverCollaborationClientPlugin','_univerInstanceService','_commentUpdate$','message$','createSocket','originalMeta','send','AuthzIoHttpService','UNISCRIPT_RUN','UniverNetworkPlugin','WECHAT_HAS_BEEN_BOUND','_oKey','pipe','add','DataLoaderService','BehaviorSubject','SessionStatus','CHANGESET_SHOULD_RETRY','appendMutation','7022QKDuxt','clone','onSendChangeset','HTTPRequest','_change$','MSG_FOR_ERROR','image/jpeg','charCodeAt','_clearLocalCache','_telemetryInfo','_removeRoom','REDEMPTION_USER_REDEEM_TIMES_EXCEED','Optional','ISnapshotServerService','UserProfileImg','localCacheService','reconnect','WordArray','/-/object/list','NO_OTHER_CLIENTS_EDITING','onMissingChangesets','_onConnectionFailed','OpenSSL','Disposable','LOCAL_CACHE_INTERVAL','body','_socketReady','touchDependencies','uniscriptRunEvent','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','readyForCollab','_ENC_XFORM_MODE','__esModule','_onRecvEvent','_commandService','ENTITLE_INSUFFICIENT_QUOTA','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','roomInfos','onRemoteRej','_clearCollaborationTimeoutTimer','pad','_maxTotalRetryTimeout','SOCKET_FAILED_RETRY','_keyPriorReset','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','updatePermissionPoint','hasher','getDeserializedSheetBlock','size','generateRandomId','synced','_socketService','5511110XcospV','objectActions','_updateState','sin','executeCommand','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_configService','_submitChangeset','routeKey','_resendTimer','UnitSnapshot','_getSendChangesetTimeout','UniverInstanceType','JSONX','random','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','collaborators','StreamCipher','_entityInit$','InsertSheetMutation','sessionStatus','UnitEmbedded','_doFinalize','REDEMPTION_CODE_INACTIVE','stringify','unitId\x20is\x20not\x20found','csRejEvent','cmd','retryConnectingInterval','delay','_localeService','loginUrlKey','Base64','toString','2529UKQDLN','_waitCount','_invKeySchedule','LOGIN_TOKEN_PROCESSING_FAILED','sequenceExecute','getResourcesRequest','RETRY_CONNECTING_MAX_COUNT_KEY','HttpExport','format','_type','_sendHeartbeatTimer','_getDownloadEndpointURL','createEncryptor','CollaborationSocketService','set','setWaitCount','getCollabEntity$','take','_startTelemetryCollaborationNewChangeset','image/jpg','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','disposeWithMe','_eventService','NOT_COLLAB','repeat','join','_entities','onCommentUpdate','_initMergeInterceptor','session.room-cnt-exceeds','ENTITLE_COUPON_EXPIRED','YUUMI_NO_CUBOID_FOR_QUESTION','listCollaborators','_retryConnectingTimer','_resendTimeout','unpad','MentionIoHttpService','15870hnQCaC','transformUndoRedo','_decreaseWaiting','event$','socketService','_data','padding','createInstance','[OfflineState]:\x20received\x20changeset.','concat','BASE64','OTHER_CLIENTS_EDITING','_onCombEvent','LocalUndoRedoService','submit\x20changeset\x20error!','incrementRevOfUnit','_toggleOnline','ISocketService','deepClone','every','dispose','RECV','getFocusedUnit','onTransformSelections','/unit/','next','encodeURIComponent','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','unsubscribe','members$','pending','hostname','_onJoinRoomEvent','_updateLocalCache','transformSelections','SNAPSHOT_URL_KEY','_revisionService','revision','LocaleService','UNIVER_COLLABORATION_CLIENT_PLUGIN','action','JOIN','fetchThroughInterceptors','_sendHeartbeat','_awaitingChangeset','CBC','SheetCollaborationEntity','location','length','ICommandService','_collaborationTimeoutTimer','REDEMPTION_USER_NOT_ELIGIBLE','patch','_remoteChangesetQueue','csAckEvent','_onConnectionOpen','href','onRemoteChangeset','Decryptor','SUBMIT_CHANGESET_TIMEOUT','getOwnPropertyDescriptor','_state$','fetch_missing','_executeRemoteChangeset','sid','506QzsmLN','{fileID}','POST','liveShareNewHost','INVITE_CODE_ALREADY_BOUND','m2Prime','UNIVER_UNKNOWN','HEARTBEAT_TIMEOUT','auth.needGotoLoginAlert','_handler','[OfflineState]:\x20received\x20rejection.','PY_RUNTIME_SCRIPT_ERROR','_onRemoteChangeset','_collaborationUIEventService','FETCH_MISS','_fetchMissChangesets','mode','snapshotServerUrl','CollaborationStatus','MergeInterceptorFactory','error$','status$','createDecryptor','_createInitialState','/universer-api/authz','JOIN_ROOM_NOT_EXISTS','IImageIoService','merge','image/gif','\x0aCurrent:\x20','CLOSE_ROOM','Rectangle','_socket','CollaborativeUndoRedoService','[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.','slice','getTime','_imageSourceCache','transformChangesets','APPLY_PERMISSION_DENIED','params','subject','toDisposable','override','getUnitId','enc','RichTextEditingMutation','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_sender','_collaborationPaused','_iv','UNDEFINED','AwaitingState','_onRemoteRetry','close','OPTIONAL','_userManagerService','TOO_MANY_REQUESTS','uuidv4','state$','list','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','LICENSE_IMPORT_SIZE_EXCEEDED','changesets','SHOULD_CLOSE_CONN','_nDataBytes','joinEvent','LICENSE_EXPORT_SIZE_EXCEEDED','_xformMode','substr','_process','subscribe','_clearRedo','_onRemoteRejected','registerDependencies','IMentionIOService','MOBILE_VERIFY_CODE_MISMATCH','_unlockTransition','append','[CollaborationEntity]','MOBILE_HAS_BEEN_BOUND','Workbook','IDLE','IAuthzIoService','emitEvent','/resources','fetching\x20missing\x20changesets\x20from\x20','_checkMissing','PERMISSION_DENIED','headers','_mode','resolveWithBasePath','OfflineState','SNAPSHOT_HAS_BEEN_REMOVED','_toggleOffline','_socketMessageSubscription','USER_IS_ANONYMOUS','sendChangesetTimeout','ENTITLE_REPORT_LIMIT_EXCEED','HTTPService','UNIVER_SHEET','_minBufferSize','objectType','kdf','cfg','_resendWithTimeout','key','SNAPSHOT_INVALID_SNAPSHOT','CollaborationEntity','_shouldReportTelemetry','dispose$','parse','actions','UPDATE_CURSOR','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','fetchMiss','_applyRemoteChangeset','/object','baseRev','DocCollaborationEntity','responseType','UniverCollaborationPlugin','_getAPIPrefix','getMemberID','?url=','DEFAULT_WS_SESSION_TICKET_URL','YUUMI_CONNECTOR_URL_NOT_FOUND','846VBqTWG','processBlock','ALREADY_EXISTS','AES','[SyncedState]:\x20received\x20rejection.','FAIL','USER_NOT_FOUND','clear','_reverseMap','sessionStatus$','_retryCount','CHANGESET_ACK','/rev/','localeService','decrypt','SerializableCipher','LICENSE_MAX_UNITS_EXCEEDED','_getCurrentRevision','YUUMI_TABLE_NOT_FOUND_IN_UNIT','isTransformChangesetsSuccess','ENTITLE_DUP_SUBSCRIPTION','isArray','call','_HTTPService','unit-cache-','APPLY_DUPLICATED','_sendingTimer','onStarting','resolve','_onOffline','/universer-api/user/session-ticket'];_0x4131=function(){return _0x4d1245;};return _0x4131();}let Ne=class{constructor(_0x215cb9,_0x248f08,_0x513957){var _0xd8fcba=_0x1d77b0;this[_0xd8fcba(0x143)]=_0x215cb9,this['_httpService']=_0x248f08,this['localeService']=_0x513957,this[_0xd8fcba(0x31d)]();}['init'](){var _0x25adb9=_0x1d77b0;this[_0x25adb9(0x2cc)][_0x25adb9(0xc1)]({'priority':0x1,'interceptor':(_0x4c22ae,_0x4c4090)=>_0x4c4090(_0x4c22ae)[_0x25adb9(0x102)](j['concatMap'](async _0xb37a05=>{var _0x150ec7=_0x25adb9;const _0x527119=_0xb37a05;if(_0x527119[_0x150ec7(0x30a)]===0x191){if(typeof window>'u')throw new Error(_0x150ec7(0x3f0));if(window[_0x150ec7(0x269)](this[_0x150ec7(0x252)]['t'](_0x150ec7(0x1ce)))){const _0x3b9d21=window[_0x150ec7(0x19f)](window['location']['href']);window[_0x150ec7(0x1b4)][_0x150ec7(0x1bd)]=this[_0x150ec7(0x39b)]()+_0x150ec7(0x242)+_0x3b9d21;}}return _0x527119;}))});}['_getLoginPath'](){var _0x4bd005=_0x1d77b0,_0x5d8aa2;const _0x4db198=this[_0x4bd005(0x143)][_0x4bd005(0x267)](Y);return(_0x5d8aa2=_0x4db198==null?void 0x0:_0x4db198[_0x4bd005(0x15c)])!=null?_0x5d8aa2:Ht;}};Ne=fi([Ae(0x0,o['IConfigService']),Ae(0x1,o[_0x1d77b0(0x397)](K[_0x1d77b0(0x229)])),Ae(0x2,o['Inject'](o[_0x1d77b0(0x1ab)]))],Ne);var Ei=Object[_0x1d77b0(0x1c1)],pi=(_0x1513a7,_0x375220,_0x3b10ed,_0x5135e7)=>{for(var _0x2cc330=_0x5135e7>0x1?void 0x0:_0x5135e7?Ei(_0x375220,_0x3b10ed):_0x375220,_0x3c6d22=_0x1513a7['length']-0x1,_0x5c43a8;_0x3c6d22>=0x0;_0x3c6d22--)(_0x5c43a8=_0x1513a7[_0x3c6d22])&&(_0x2cc330=_0x5c43a8(_0x2cc330)||_0x2cc330);return _0x2cc330;},Ke=(_0x43b18f,_0x32356e)=>(_0x28ceea,_0x44b348)=>_0x32356e(_0x28ceea,_0x44b348,_0x43b18f);const mi=_0x1d77b0(0x1de);exports[_0x1d77b0(0xfd)]=class extends o[_0x1d77b0(0x120)]{constructor(_0x3e7d92,_0x466c44){var _0x5f0f25=_0x1d77b0;super(),this['_HTTPService']=_0x3e7d92,this[_0x5f0f25(0x143)]=_0x466c44,this[_0x5f0f25(0x17c)]();}[_0x1d77b0(0x17c)](){var _0x5358e3=_0x1d77b0;const _0x2ade21=this;this[_0x5358e3(0x175)](this[_0x5358e3(0x25c)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':K[_0x5358e3(0x1d9)]({'isMatch'(_0x2dbe41){var _0x4f00fc=_0x5358e3,_0x1466b3;if(_0x2dbe41[_0x4f00fc(0x333)]==='POST'&&((_0x1466b3=_0x2dbe41[_0x4f00fc(0x2fa)])!=null&&_0x1466b3[_0x4f00fc(0x122)])){const {objectID:_0x5d6a7f,objectType:_0x2073f1}=_0x2dbe41[_0x4f00fc(0x2fa)][_0x4f00fc(0x122)]||{};if(!_0x5d6a7f||_0x2073f1===void 0x0)return!0x1;const _0x369650=_0x2ade21[_0x4f00fc(0x3ad)]()+'/'+_0x2073f1+_0x4f00fc(0xb5)+_0x5d6a7f+_0x4f00fc(0x2f7);if(_0x2dbe41[_0x4f00fc(0x265)]===_0x369650)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x49aae5){var _0x488bc5=_0x5358e3,_0x52954f;return(_0x52954f=_0x49aae5['requestParams'])==null?void 0x0:_0x52954f[_0x488bc5(0x122)];},'mergeParamsToRequest'(_0x452b7a,_0x6e05dc){var _0x2d3beb=_0x5358e3;const _0x2eaf69=_0x2ade21[_0x2d3beb(0x3ad)]()+_0x2d3beb(0x362),_0x4d00e0=_0x452b7a['reduce']((_0x2eb32a,_0x24ee92)=>{var _0x311e16=_0x2d3beb;const {unitID:_0x5c9f66,objectID:_0xeb48f0,objectType:_0x342bea,actions:_0x36c9c4}=_0x24ee92;return _0x2eb32a[_0x5c9f66]||(_0x2eb32a[_0x5c9f66]={}),_0x2eb32a[_0x5c9f66][_0xeb48f0]||(_0x2eb32a[_0x5c9f66][_0xeb48f0]={'objectID':_0xeb48f0,'objectType':_0x342bea,'actions':[]}),_0x2eb32a[_0x5c9f66][_0xeb48f0][_0x311e16(0x236)][_0x311e16(0x3a1)](..._0x36c9c4),_0x2eb32a;},{}),_0x2c8ab8=[];for(const _0x364590 in _0x4d00e0)for(const _0x54aa62 in _0x4d00e0[_0x364590]){const {actions:_0x4a8903,objectType:_0x45ea11}=_0x4d00e0[_0x364590][_0x54aa62],_0x1c8e73=[...new Set(_0x4a8903)];_0x2c8ab8['push']({'unitID':_0x364590,'objectID':_0x54aa62,'objectType':_0x45ea11,'actions':_0x1c8e73});}return new K[(_0x2d3beb(0x10c))](_0x2d3beb(0x1c8),_0x2eaf69,{'headers':_0x6e05dc['headers'],'withCredentials':_0x6e05dc[_0x2d3beb(0x2e4)],'responseType':_0x6e05dc[_0x2d3beb(0x23e)],'body':{'requests':_0x2c8ab8}});}},{'distributeResult'(_0x1be851,_0x19118d){var _0x198c1b=_0x5358e3;const {objectActions:_0x5be7e2}=_0x1be851;return _0x19118d[_0x198c1b(0x272)](_0x261856=>{var _0x615438=_0x198c1b;const {unitID:_0x54ba14,objectID:_0x5ef83a,actions:_0xfe7217}=_0x261856,_0x143f9d=_0x5be7e2[_0x615438(0x2c1)](_0x1641e1=>_0x1641e1[_0x615438(0x34d)]===_0x54ba14&&_0x1641e1[_0x615438(0xb2)]===_0x5ef83a),_0x342c8b=_0xfe7217['map'](_0xd948c1=>_0x143f9d==null?void 0x0:_0x143f9d[_0x615438(0x236)][_0x615438(0x2c1)](_0x537ab5=>_0x537ab5[_0x615438(0x1ad)]===_0xd948c1))[_0x615438(0x2c4)](_0xe10a60=>!!_0xe10a60);return{'config':_0x261856,'result':{'actions':_0x342c8b,'error':_0x1be851[_0x615438(0x33f)]}};});}})}));}[_0x1d77b0(0x3ad)](){var _0x4140ce=_0x1d77b0,_0x5ec13b;const _0x59b9ac=this[_0x4140ce(0x143)][_0x4140ce(0x267)](Y);return(_0x5ec13b=_0x59b9ac==null?void 0x0:_0x59b9ac['authzUrl'])!=null?_0x5ec13b:mi;}async[_0x1d77b0(0x431)](_0x410525){var _0x437a86=_0x1d77b0;const _0x15002a=this['_getAPIPrefixPath']()+'/'+_0x410525[_0x437a86(0x22c)]+_0x437a86(0x23b);return(await this['_HTTPService'][_0x437a86(0x3d5)](_0x15002a,{'body':_0x410525}))[_0x437a86(0x122)][_0x437a86(0xb2)]||'';}async[_0x1d77b0(0x202)](_0x1ef2eb){var _0x5579e5=_0x1d77b0;const _0x5e7f06=this[_0x5579e5(0x3ad)]()+_0x5579e5(0x11b);return(await this[_0x5579e5(0x25c)][_0x5579e5(0x3d5)](_0x5e7f06,{'body':_0x1ef2eb}))[_0x5579e5(0x122)][_0x5579e5(0x318)];}async[_0x1d77b0(0x3f6)](_0x144a15){var _0x4804ad=_0x1d77b0,_0x1acb8a,_0x1ed3b7;const _0x1874ee=this['_getAPIPrefixPath']()+'/'+_0x144a15[_0x4804ad(0x22c)]+'/object/'+_0x144a15[_0x4804ad(0xb2)],_0x41d49e=await this['_HTTPService']['put'](_0x1874ee,{'body':_0x144a15});if(((_0x1ed3b7=(_0x1acb8a=_0x41d49e==null?void 0x0:_0x41d49e[_0x4804ad(0x122)])==null?void 0x0:_0x1acb8a[_0x4804ad(0x33f)])==null?void 0x0:_0x1ed3b7[_0x4804ad(0xd6)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x1d77b0(0x2d2)](_0x169f99){var _0x5e5bbf=_0x1d77b0;const _0x2f0ac1=this['_getAPIPrefixPath']()+'/'+_0x169f99[_0x5e5bbf(0x22c)]+_0x5e5bbf(0xb5)+_0x169f99['objectID']+_0x5e5bbf(0x2f7);return(await this[_0x5e5bbf(0x25c)][_0x5e5bbf(0x3d5)](_0x2f0ac1,{'body':_0x169f99}))['body'][_0x5e5bbf(0x236)];}async[_0x1d77b0(0x3aa)](_0x1b74b9){var _0x401ca2=_0x1d77b0;const _0x35b3b3=this['_getAPIPrefixPath']()+_0x401ca2(0x362);return(await this['_HTTPService'][_0x401ca2(0x3d5)](_0x35b3b3,{'body':{'requests':_0x1b74b9}}))['body'][_0x401ca2(0x13e)];}async[_0x1d77b0(0xa9)](_0x16d001){var _0x496e79=_0x1d77b0;const _0x5df427=this[_0x496e79(0x3ad)]()+'/'+_0x16d001[_0x496e79(0x22c)]+_0x496e79(0x3ef),_0x377516=await this[_0x496e79(0x25c)][_0x496e79(0x3d5)](_0x5df427,{'body':_0x16d001});return{'roles':_0x377516[_0x496e79(0x122)]['roles'],'actions':_0x377516[_0x496e79(0x122)]['actions']};}async['deleteCollaborator'](_0x587ed8){var _0x49fff5=_0x1d77b0;const _0x5afce2=this[_0x49fff5(0x3ad)]()+'/collaborator';await this['_HTTPService']['delete'](_0x5afce2,{'params':{'collaboratorID':_0x587ed8['collaboratorID'],'objectID':_0x587ed8[_0x49fff5(0xb2)],'unitID':_0x587ed8[_0x49fff5(0x34d)]}});}async[_0x1d77b0(0x3c7)](_0x1b8fa0){var _0x8a500b=_0x1d77b0;const _0x4e926e=this[_0x8a500b(0x3ad)]()+_0x8a500b(0x2ac);await this['_HTTPService'][_0x8a500b(0x1b9)](_0x4e926e,{'body':_0x1b8fa0});}async['createCollaborator'](_0x55868f){var _0x49c808=_0x1d77b0;const _0x411e67=this[_0x49c808(0x3ad)]()+_0x49c808(0x2ac);await this[_0x49c808(0x25c)][_0x49c808(0x3d5)](_0x411e67,{'body':_0x55868f});}async[_0x1d77b0(0x180)](_0x4facbf){var _0x1a2bbd=_0x1d77b0;const _0x264aa6=this['_getAPIPrefixPath']()+'/collaborator';return(await this['_HTTPService'][_0x1a2bbd(0x3e0)](_0x264aa6,{'params':{'objectID':_0x4facbf[_0x1a2bbd(0xb2)],'unitID':_0x4facbf['unitID']}}))[_0x1a2bbd(0x122)][_0x1a2bbd(0x14d)];}async[_0x1d77b0(0x26b)](_0x93c319){var _0x4230f4=_0x1d77b0;const _0x4fd24f=this[_0x4230f4(0x3ad)]()+_0x4230f4(0x2ac);await this['_HTTPService'][_0x4230f4(0x2dc)](_0x4fd24f,{'body':_0x93c319});}},exports[_0x1d77b0(0xfd)]=pi([Ke(0x0,o[_0x1d77b0(0x397)](K[_0x1d77b0(0x229)])),Ke(0x1,o['Inject'](o[_0x1d77b0(0x268)]))],exports[_0x1d77b0(0xfd)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function de(_0x5671fe){var _0x2e44b2=_0x1d77b0;return _0x5671fe&&_0x5671fe[_0x2e44b2(0x129)]&&Object[_0x2e44b2(0x339)][_0x2e44b2(0x357)][_0x2e44b2(0x25b)](_0x5671fe,'default')?_0x5671fe[_0x2e44b2(0x30c)]:_0x5671fe;}var Ie={'exports':{}};function gi(_0x14ec94){var _0x34f5a4=_0x1d77b0;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x14ec94+_0x34f5a4(0x1a0));}var fe={'exports':{}},Ti=fe['exports'],qe;function Z(){var _0x459319=_0x1d77b0;return qe||(qe=0x1,function(_0x3b180b,_0x5312be){(function(_0x23a6e0,_0xaca2a){var _0x1edf38=_0x376d;_0x3b180b[_0x1edf38(0x3ab)]=_0xaca2a();}(Ti,function(){var _0x3b0a17=_0x3b0a17||function(_0x3e6c02,_0x81033f){var _0x5bc1cc=_0x376d,_0x428d53;if(typeof window<'u'&&window[_0x5bc1cc(0x2a7)]&&(_0x428d53=window[_0x5bc1cc(0x2a7)]),typeof self<'u'&&self[_0x5bc1cc(0x2a7)]&&(_0x428d53=self[_0x5bc1cc(0x2a7)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x428d53=globalThis['crypto']),!_0x428d53&&typeof window<'u'&&window[_0x5bc1cc(0x2b7)]&&(_0x428d53=window[_0x5bc1cc(0x2b7)]),!_0x428d53&&typeof Pe<'u'&&Pe[_0x5bc1cc(0x2a7)]&&(_0x428d53=Pe[_0x5bc1cc(0x2a7)]),!_0x428d53&&typeof gi=='function')try{_0x428d53=require('crypto');}catch{}var _0x568069=function(){var _0x1cb6ab=_0x5bc1cc;if(_0x428d53){if(typeof _0x428d53[_0x1cb6ab(0x401)]==_0x1cb6ab(0x38d))try{return _0x428d53[_0x1cb6ab(0x401)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x428d53[_0x1cb6ab(0x343)]==_0x1cb6ab(0x38d))try{return _0x428d53[_0x1cb6ab(0x343)](0x4)[_0x1cb6ab(0x2e3)]();}catch{}}throw new Error(_0x1cb6ab(0x391));},_0x151761=Object['create']||(function(){function _0x604b38(){}return function(_0x4dcbce){var _0x432e01=_0x376d,_0x300d9a;return _0x604b38[_0x432e01(0x339)]=_0x4dcbce,_0x300d9a=new _0x604b38(),_0x604b38[_0x432e01(0x339)]=null,_0x300d9a;};}()),_0x1c35a0={},_0x128530=_0x1c35a0['lib']={},_0x50595c=_0x128530[_0x5bc1cc(0x296)]=(function(){return{'extend':function(_0x538b2){var _0x199ee6=_0x376d,_0x3a976e=_0x151761(this);return _0x538b2&&_0x3a976e['mixIn'](_0x538b2),(!_0x3a976e['hasOwnProperty'](_0x199ee6(0x31d))||this[_0x199ee6(0x31d)]===_0x3a976e[_0x199ee6(0x31d)])&&(_0x3a976e[_0x199ee6(0x31d)]=function(){var _0x304fac=_0x199ee6;_0x3a976e[_0x304fac(0x407)][_0x304fac(0x31d)]['apply'](this,arguments);}),_0x3a976e[_0x199ee6(0x31d)][_0x199ee6(0x339)]=_0x3a976e,_0x3a976e[_0x199ee6(0x407)]=this,_0x3a976e;},'create':function(){var _0x430db9=_0x376d,_0x56b94e=this['extend']();return _0x56b94e[_0x430db9(0x31d)][_0x430db9(0xd4)](_0x56b94e,arguments),_0x56b94e;},'init':function(){},'mixIn':function(_0x5dc938){var _0x1af7ab=_0x376d;for(var _0x8570a5 in _0x5dc938)_0x5dc938['hasOwnProperty'](_0x8570a5)&&(this[_0x8570a5]=_0x5dc938[_0x8570a5]);_0x5dc938[_0x1af7ab(0x357)]('toString')&&(this[_0x1af7ab(0x15e)]=_0x5dc938[_0x1af7ab(0x15e)]);},'clone':function(){var _0x21d927=_0x376d;return this[_0x21d927(0x31d)][_0x21d927(0x339)][_0x21d927(0x414)](this);}};}()),_0x4fd587=_0x128530[_0x5bc1cc(0x11a)]=_0x50595c[_0x5bc1cc(0x414)]({'init':function(_0x6e961d,_0x25974f){var _0x377e28=_0x5bc1cc;_0x6e961d=this['words']=_0x6e961d||[],_0x25974f!=_0x81033f?this[_0x377e28(0x33e)]=_0x25974f:this[_0x377e28(0x33e)]=_0x6e961d[_0x377e28(0x1b5)]*0x4;},'toString':function(_0x34bbd3){var _0x2bf16=_0x5bc1cc;return(_0x34bbd3||_0x57c42c)[_0x2bf16(0x155)](this);},'concat':function(_0x484049){var _0x1ddaef=_0x5bc1cc,_0x59ffa9=this[_0x1ddaef(0xe1)],_0x1b7222=_0x484049[_0x1ddaef(0xe1)],_0x53e103=this[_0x1ddaef(0x33e)],_0x4294f2=_0x484049[_0x1ddaef(0x33e)];if(this[_0x1ddaef(0x37d)](),_0x53e103%0x4)for(var _0x4db9a1=0x0;_0x4db9a1<_0x4294f2;_0x4db9a1++){var _0x40566b=_0x1b7222[_0x4db9a1>>>0x2]>>>0x18-_0x4db9a1%0x4*0x8&0xff;_0x59ffa9[_0x53e103+_0x4db9a1>>>0x2]|=_0x40566b<<0x18-(_0x53e103+_0x4db9a1)%0x4*0x8;}else{for(var _0x7c6703=0x0;_0x7c6703<_0x4294f2;_0x7c6703+=0x4)_0x59ffa9[_0x53e103+_0x7c6703>>>0x2]=_0x1b7222[_0x7c6703>>>0x2];}return this[_0x1ddaef(0x33e)]+=_0x4294f2,this;},'clamp':function(){var _0x3f3e63=_0x5bc1cc,_0xdf6dba=this[_0x3f3e63(0xe1)],_0x564419=this[_0x3f3e63(0x33e)];_0xdf6dba[_0x564419>>>0x2]&=0xffffffff<<0x20-_0x564419%0x4*0x8,_0xdf6dba[_0x3f3e63(0x1b5)]=_0x3e6c02[_0x3f3e63(0xcd)](_0x564419/0x4);},'clone':function(){var _0x4b6e9b=_0x5bc1cc,_0x22c7d1=_0x50595c[_0x4b6e9b(0x10a)]['call'](this);return _0x22c7d1[_0x4b6e9b(0xe1)]=this['words'][_0x4b6e9b(0x1e9)](0x0),_0x22c7d1;},'random':function(_0x19fbe5){for(var _0x2653f9=[],_0x4e9a8e=0x0;_0x4e9a8e<_0x19fbe5;_0x4e9a8e+=0x4)_0x2653f9['push'](_0x568069());return new _0x4fd587['init'](_0x2653f9,_0x19fbe5);}}),_0x5ac042=_0x1c35a0[_0x5bc1cc(0x1f3)]={},_0x57c42c=_0x5ac042[_0x5bc1cc(0x28e)]={'stringify':function(_0x236fb2){var _0x531b46=_0x5bc1cc;for(var _0x4a85a1=_0x236fb2[_0x531b46(0xe1)],_0x1d560f=_0x236fb2[_0x531b46(0x33e)],_0x2dbbec=[],_0x34ea2e=0x0;_0x34ea2e<_0x1d560f;_0x34ea2e++){var _0x1b9d99=_0x4a85a1[_0x34ea2e>>>0x2]>>>0x18-_0x34ea2e%0x4*0x8&0xff;_0x2dbbec[_0x531b46(0x3a1)]((_0x1b9d99>>>0x4)[_0x531b46(0x15e)](0x10)),_0x2dbbec['push']((_0x1b9d99&0xf)[_0x531b46(0x15e)](0x10));}return _0x2dbbec['join']('');},'parse':function(_0xd6ae79){var _0x3eb7a1=_0x5bc1cc;for(var _0x5120a4=_0xd6ae79['length'],_0x5677a7=[],_0x5af5eb=0x0;_0x5af5eb<_0x5120a4;_0x5af5eb+=0x2)_0x5677a7[_0x5af5eb>>>0x3]|=parseInt(_0xd6ae79[_0x3eb7a1(0x20b)](_0x5af5eb,0x2),0x10)<<0x18-_0x5af5eb%0x8*0x4;return new _0x4fd587['init'](_0x5677a7,_0x5120a4/0x2);}},_0x545645=_0x5ac042[_0x5bc1cc(0xa6)]={'stringify':function(_0x549dae){var _0x5de61d=_0x5bc1cc;for(var _0x45c59c=_0x549dae[_0x5de61d(0xe1)],_0x2f8505=_0x549dae[_0x5de61d(0x33e)],_0x2264e9=[],_0x3f933b=0x0;_0x3f933b<_0x2f8505;_0x3f933b++){var _0x2855e0=_0x45c59c[_0x3f933b>>>0x2]>>>0x18-_0x3f933b%0x4*0x8&0xff;_0x2264e9[_0x5de61d(0x3a1)](String[_0x5de61d(0x379)](_0x2855e0));}return _0x2264e9[_0x5de61d(0x179)]('');},'parse':function(_0x40462a){var _0x32e070=_0x5bc1cc;for(var _0x3bbfe2=_0x40462a[_0x32e070(0x1b5)],_0x10fcb5=[],_0x133d97=0x0;_0x133d97<_0x3bbfe2;_0x133d97++)_0x10fcb5[_0x133d97>>>0x2]|=(_0x40462a[_0x32e070(0x110)](_0x133d97)&0xff)<<0x18-_0x133d97%0x4*0x8;return new _0x4fd587[(_0x32e070(0x31d))](_0x10fcb5,_0x3bbfe2);}},_0x1fa3db=_0x5ac042['Utf8']={'stringify':function(_0x5d553d){var _0x4a2a37=_0x5bc1cc;try{return decodeURIComponent(escape(_0x545645[_0x4a2a37(0x155)](_0x5d553d)));}catch{throw new Error(_0x4a2a37(0x2fc));}},'parse':function(_0x16494c){var _0x4cfc02=_0x5bc1cc;return _0x545645[_0x4cfc02(0x235)](unescape(encodeURIComponent(_0x16494c)));}},_0x218dc6=_0x128530[_0x5bc1cc(0x316)]=_0x50595c['extend']({'reset':function(){var _0x25f389=_0x5bc1cc;this['_data']=new _0x4fd587[(_0x25f389(0x31d))](),this[_0x25f389(0x207)]=0x0;},'_append':function(_0x2b1586){var _0x28963a=_0x5bc1cc;typeof _0x2b1586==_0x28963a(0x390)&&(_0x2b1586=_0x1fa3db[_0x28963a(0x235)](_0x2b1586)),this[_0x28963a(0x18a)][_0x28963a(0x18e)](_0x2b1586),this[_0x28963a(0x207)]+=_0x2b1586[_0x28963a(0x33e)];},'_process':function(_0x571850){var _0x13b58d=_0x5bc1cc,_0x53206a,_0x2d0f58=this[_0x13b58d(0x18a)],_0x55359d=_0x2d0f58[_0x13b58d(0xe1)],_0x3cc653=_0x2d0f58[_0x13b58d(0x33e)],_0x445dbe=this['blockSize'],_0x2c05e6=_0x445dbe*0x4,_0x3f88bb=_0x3cc653/_0x2c05e6;_0x571850?_0x3f88bb=_0x3e6c02['ceil'](_0x3f88bb):_0x3f88bb=_0x3e6c02[_0x13b58d(0x3e1)]((_0x3f88bb|0x0)-this[_0x13b58d(0x22b)],0x0);var _0xe25d74=_0x3f88bb*_0x445dbe,_0x7497ec=_0x3e6c02[_0x13b58d(0x3c3)](_0xe25d74*0x4,_0x3cc653);if(_0xe25d74){for(var _0x1310bc=0x0;_0x1310bc<_0xe25d74;_0x1310bc+=_0x445dbe)this['_doProcessBlock'](_0x55359d,_0x1310bc);_0x53206a=_0x55359d[_0x13b58d(0x290)](0x0,_0xe25d74),_0x2d0f58[_0x13b58d(0x33e)]-=_0x7497ec;}return new _0x4fd587[(_0x13b58d(0x31d))](_0x53206a,_0x7497ec);},'clone':function(){var _0x35e42c=_0x5bc1cc,_0x278077=_0x50595c['clone'][_0x35e42c(0x25b)](this);return _0x278077[_0x35e42c(0x18a)]=this[_0x35e42c(0x18a)][_0x35e42c(0x10a)](),_0x278077;},'_minBufferSize':0x0});_0x128530[_0x5bc1cc(0x387)]=_0x218dc6['extend']({'cfg':_0x50595c[_0x5bc1cc(0x414)](),'init':function(_0x43be5d){var _0x57fbfd=_0x5bc1cc;this[_0x57fbfd(0x22e)]=this[_0x57fbfd(0x22e)][_0x57fbfd(0x414)](_0x43be5d),this['reset']();},'reset':function(){var _0x5de1f0=_0x5bc1cc;_0x218dc6[_0x5de1f0(0x36f)][_0x5de1f0(0x25b)](this),this['_doReset']();},'update':function(_0x348df8){var _0x3e0d3d=_0x5bc1cc;return this[_0x3e0d3d(0x418)](_0x348df8),this[_0x3e0d3d(0x20c)](),this;},'finalize':function(_0x58ca14){_0x58ca14&&this['_append'](_0x58ca14);var _0x4dd61b=this['_doFinalize']();return _0x4dd61b;},'blockSize':0x10,'_createHelper':function(_0x7b980d){return function(_0x1d2464,_0x53010f){var _0x547c61=_0x376d;return new _0x7b980d[(_0x547c61(0x31d))](_0x53010f)[_0x547c61(0xce)](_0x1d2464);};},'_createHmacHelper':function(_0x42e4bb){return function(_0x1e2c7c,_0x306221){var _0x51184b=_0x376d;return new _0x37b902[(_0x51184b(0x3cb))][(_0x51184b(0x31d))](_0x42e4bb,_0x306221)[_0x51184b(0xce)](_0x1e2c7c);};}});var _0x37b902=_0x1c35a0[_0x5bc1cc(0x383)]={};return _0x1c35a0;}(Math);return _0x3b0a17;}));}(fe)),fe[_0x459319(0x3ab)];}var Ee={'exports':{}},Ci=Ee['exports'],ze;function Tt(){var _0x395036=_0x1d77b0;return ze||(ze=0x1,function(_0x353bbe,_0x26ef10){(function(_0x357024,_0x168aa0){var _0x1a4ec2=_0x376d;_0x353bbe[_0x1a4ec2(0x3ab)]=_0x168aa0(Z());}(Ci,function(_0x20fc6e){var _0x234686=_0x376d;return(function(){var _0x5e8f1b=_0x376d,_0x48f384=_0x20fc6e,_0x4473d1=_0x48f384[_0x5e8f1b(0xbe)],_0x42677e=_0x4473d1[_0x5e8f1b(0x11a)],_0x44a5ce=_0x48f384[_0x5e8f1b(0x1f3)];_0x44a5ce[_0x5e8f1b(0x15d)]={'stringify':function(_0x57b1e6){var _0x3d5fd2=_0x5e8f1b,_0x29cf02=_0x57b1e6[_0x3d5fd2(0xe1)],_0x4d098c=_0x57b1e6[_0x3d5fd2(0x33e)],_0x269997=this[_0x3d5fd2(0x3ff)];_0x57b1e6[_0x3d5fd2(0x37d)]();for(var _0x329c3b=[],_0xad03b0=0x0;_0xad03b0<_0x4d098c;_0xad03b0+=0x3)for(var _0x195e38=_0x29cf02[_0xad03b0>>>0x2]>>>0x18-_0xad03b0%0x4*0x8&0xff,_0x49e8e7=_0x29cf02[_0xad03b0+0x1>>>0x2]>>>0x18-(_0xad03b0+0x1)%0x4*0x8&0xff,_0x1e63e3=_0x29cf02[_0xad03b0+0x2>>>0x2]>>>0x18-(_0xad03b0+0x2)%0x4*0x8&0xff,_0x16643e=_0x195e38<<0x10|_0x49e8e7<<0x8|_0x1e63e3,_0x457ca5=0x0;_0x457ca5<0x4&&_0xad03b0+_0x457ca5*0.75<_0x4d098c;_0x457ca5++)_0x329c3b[_0x3d5fd2(0x3a1)](_0x269997['charAt'](_0x16643e>>>0x6*(0x3-_0x457ca5)&0x3f));var _0x52bd59=_0x269997['charAt'](0x40);if(_0x52bd59){for(;_0x329c3b[_0x3d5fd2(0x1b5)]%0x4;)_0x329c3b['push'](_0x52bd59);}return _0x329c3b[_0x3d5fd2(0x179)]('');},'parse':function(_0x330888){var _0x1365fe=_0x5e8f1b,_0x2d864b=_0x330888[_0x1365fe(0x1b5)],_0x185b9e=this[_0x1365fe(0x3ff)],_0x2c2f76=this[_0x1365fe(0x24d)];if(!_0x2c2f76){_0x2c2f76=this[_0x1365fe(0x24d)]=[];for(var _0x388968=0x0;_0x388968<_0x185b9e[_0x1365fe(0x1b5)];_0x388968++)_0x2c2f76[_0x185b9e[_0x1365fe(0x110)](_0x388968)]=_0x388968;}var _0x143245=_0x185b9e[_0x1365fe(0xf3)](0x40);if(_0x143245){var _0x3bbc6d=_0x330888[_0x1365fe(0x32a)](_0x143245);_0x3bbc6d!==-0x1&&(_0x2d864b=_0x3bbc6d);}return _0x18d42e(_0x330888,_0x2d864b,_0x2c2f76);},'_map':_0x5e8f1b(0x203)};function _0x18d42e(_0x15ff69,_0x33a313,_0x39f39a){var _0x608f7f=_0x5e8f1b;for(var _0x1af4f3=[],_0x5232cb=0x0,_0x211551=0x0;_0x211551<_0x33a313;_0x211551++)if(_0x211551%0x4){var _0x77365c=_0x39f39a[_0x15ff69['charCodeAt'](_0x211551-0x1)]<<_0x211551%0x4*0x2,_0x583907=_0x39f39a[_0x15ff69[_0x608f7f(0x110)](_0x211551)]>>>0x6-_0x211551%0x4*0x2,_0x22ec69=_0x77365c|_0x583907;_0x1af4f3[_0x5232cb>>>0x2]|=_0x22ec69<<0x18-_0x5232cb%0x4*0x8,_0x5232cb++;}return _0x42677e[_0x608f7f(0x431)](_0x1af4f3,_0x5232cb);}}()),_0x20fc6e[_0x234686(0x1f3)][_0x234686(0x15d)];}));}(Ee)),Ee[_0x395036(0x3ab)];}var pe={'exports':{}},Oi=pe[_0x1d77b0(0x3ab)],Xe;function bi(){return Xe||(Xe=0x1,function(_0x56817b,_0xde05cf){(function(_0xe13d56,_0x3033a3){var _0x21805f=_0x376d;_0x56817b[_0x21805f(0x3ab)]=_0x3033a3(Z());}(Oi,function(_0x1ced8b){return function(_0x4ba4ee){var _0x13bcd7=_0x376d,_0x1aed75=_0x1ced8b,_0x1c7386=_0x1aed75[_0x13bcd7(0xbe)],_0x5b812b=_0x1c7386['WordArray'],_0x35b201=_0x1c7386[_0x13bcd7(0x387)],_0x313bfe=_0x1aed75[_0x13bcd7(0x383)],_0x57a466=[];(function(){var _0x159264=_0x13bcd7;for(var _0x120346=0x0;_0x120346<0x40;_0x120346++)_0x57a466[_0x120346]=_0x4ba4ee[_0x159264(0x2f8)](_0x4ba4ee[_0x159264(0x140)](_0x120346+0x1))*0x100000000|0x0;}());var _0x9c6876=_0x313bfe[_0x13bcd7(0x301)]=_0x35b201[_0x13bcd7(0x414)]({'_doReset':function(){var _0x15f457=_0x13bcd7;this[_0x15f457(0xbf)]=new _0x5b812b['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x261253,_0xdf75d2){var _0xdbc1d2=_0x13bcd7;for(var _0x26be49=0x0;_0x26be49<0x10;_0x26be49++){var _0x5693b4=_0xdf75d2+_0x26be49,_0x350afc=_0x261253[_0x5693b4];_0x261253[_0x5693b4]=(_0x350afc<<0x8|_0x350afc>>>0x18)&0xff00ff|(_0x350afc<<0x18|_0x350afc>>>0x8)&0xff00ff00;}var _0x3146e3=this[_0xdbc1d2(0xbf)]['words'],_0x1693a7=_0x261253[_0xdf75d2+0x0],_0xf8b040=_0x261253[_0xdf75d2+0x1],_0x1f26af=_0x261253[_0xdf75d2+0x2],_0x479f56=_0x261253[_0xdf75d2+0x3],_0x20f40b=_0x261253[_0xdf75d2+0x4],_0x471698=_0x261253[_0xdf75d2+0x5],_0x4651e5=_0x261253[_0xdf75d2+0x6],_0x1cb7cf=_0x261253[_0xdf75d2+0x7],_0x3b40cc=_0x261253[_0xdf75d2+0x8],_0x1306b3=_0x261253[_0xdf75d2+0x9],_0x586573=_0x261253[_0xdf75d2+0xa],_0x53c41c=_0x261253[_0xdf75d2+0xb],_0x4b1857=_0x261253[_0xdf75d2+0xc],_0x222208=_0x261253[_0xdf75d2+0xd],_0x4a2c28=_0x261253[_0xdf75d2+0xe],_0x14b5c1=_0x261253[_0xdf75d2+0xf],_0x1bafd3=_0x3146e3[0x0],_0x1f87d2=_0x3146e3[0x1],_0x3692e1=_0x3146e3[0x2],_0x42ee25=_0x3146e3[0x3];_0x1bafd3=_0x538add(_0x1bafd3,_0x1f87d2,_0x3692e1,_0x42ee25,_0x1693a7,0x7,_0x57a466[0x0]),_0x42ee25=_0x538add(_0x42ee25,_0x1bafd3,_0x1f87d2,_0x3692e1,_0xf8b040,0xc,_0x57a466[0x1]),_0x3692e1=_0x538add(_0x3692e1,_0x42ee25,_0x1bafd3,_0x1f87d2,_0x1f26af,0x11,_0x57a466[0x2]),_0x1f87d2=_0x538add(_0x1f87d2,_0x3692e1,_0x42ee25,_0x1bafd3,_0x479f56,0x16,_0x57a466[0x3]),_0x1bafd3=_0x538add(_0x1bafd3,_0x1f87d2,_0x3692e1,_0x42ee25,_0x20f40b,0x7,_0x57a466[0x4]),_0x42ee25=_0x538add(_0x42ee25,_0x1bafd3,_0x1f87d2,_0x3692e1,_0x471698,0xc,_0x57a466[0x5]),_0x3692e1=_0x538add(_0x3692e1,_0x42ee25,_0x1bafd3,_0x1f87d2,_0x4651e5,0x11,_0x57a466[0x6]),_0x1f87d2=_0x538add(_0x1f87d2,_0x3692e1,_0x42ee25,_0x1bafd3,_0x1cb7cf,0x16,_0x57a466[0x7]),_0x1bafd3=_0x538add(_0x1bafd3,_0x1f87d2,_0x3692e1,_0x42ee25,_0x3b40cc,0x7,_0x57a466[0x8]),_0x42ee25=_0x538add(_0x42ee25,_0x1bafd3,_0x1f87d2,_0x3692e1,_0x1306b3,0xc,_0x57a466[0x9]),_0x3692e1=_0x538add(_0x3692e1,_0x42ee25,_0x1bafd3,_0x1f87d2,_0x586573,0x11,_0x57a466[0xa]),_0x1f87d2=_0x538add(_0x1f87d2,_0x3692e1,_0x42ee25,_0x1bafd3,_0x53c41c,0x16,_0x57a466[0xb]),_0x1bafd3=_0x538add(_0x1bafd3,_0x1f87d2,_0x3692e1,_0x42ee25,_0x4b1857,0x7,_0x57a466[0xc]),_0x42ee25=_0x538add(_0x42ee25,_0x1bafd3,_0x1f87d2,_0x3692e1,_0x222208,0xc,_0x57a466[0xd]),_0x3692e1=_0x538add(_0x3692e1,_0x42ee25,_0x1bafd3,_0x1f87d2,_0x4a2c28,0x11,_0x57a466[0xe]),_0x1f87d2=_0x538add(_0x1f87d2,_0x3692e1,_0x42ee25,_0x1bafd3,_0x14b5c1,0x16,_0x57a466[0xf]),_0x1bafd3=_0x5eae82(_0x1bafd3,_0x1f87d2,_0x3692e1,_0x42ee25,_0xf8b040,0x5,_0x57a466[0x10]),_0x42ee25=_0x5eae82(_0x42ee25,_0x1bafd3,_0x1f87d2,_0x3692e1,_0x4651e5,0x9,_0x57a466[0x11]),_0x3692e1=_0x5eae82(_0x3692e1,_0x42ee25,_0x1bafd3,_0x1f87d2,_0x53c41c,0xe,_0x57a466[0x12]),_0x1f87d2=_0x5eae82(_0x1f87d2,_0x3692e1,_0x42ee25,_0x1bafd3,_0x1693a7,0x14,_0x57a466[0x13]),_0x1bafd3=_0x5eae82(_0x1bafd3,_0x1f87d2,_0x3692e1,_0x42ee25,_0x471698,0x5,_0x57a466[0x14]),_0x42ee25=_0x5eae82(_0x42ee25,_0x1bafd3,_0x1f87d2,_0x3692e1,_0x586573,0x9,_0x57a466[0x15]),_0x3692e1=_0x5eae82(_0x3692e1,_0x42ee25,_0x1bafd3,_0x1f87d2,_0x14b5c1,0xe,_0x57a466[0x16]),_0x1f87d2=_0x5eae82(_0x1f87d2,_0x3692e1,_0x42ee25,_0x1bafd3,_0x20f40b,0x14,_0x57a466[0x17]),_0x1bafd3=_0x5eae82(_0x1bafd3,_0x1f87d2,_0x3692e1,_0x42ee25,_0x1306b3,0x5,_0x57a466[0x18]),_0x42ee25=_0x5eae82(_0x42ee25,_0x1bafd3,_0x1f87d2,_0x3692e1,_0x4a2c28,0x9,_0x57a466[0x19]),_0x3692e1=_0x5eae82(_0x3692e1,_0x42ee25,_0x1bafd3,_0x1f87d2,_0x479f56,0xe,_0x57a466[0x1a]),_0x1f87d2=_0x5eae82(_0x1f87d2,_0x3692e1,_0x42ee25,_0x1bafd3,_0x3b40cc,0x14,_0x57a466[0x1b]),_0x1bafd3=_0x5eae82(_0x1bafd3,_0x1f87d2,_0x3692e1,_0x42ee25,_0x222208,0x5,_0x57a466[0x1c]),_0x42ee25=_0x5eae82(_0x42ee25,_0x1bafd3,_0x1f87d2,_0x3692e1,_0x1f26af,0x9,_0x57a466[0x1d]),_0x3692e1=_0x5eae82(_0x3692e1,_0x42ee25,_0x1bafd3,_0x1f87d2,_0x1cb7cf,0xe,_0x57a466[0x1e]),_0x1f87d2=_0x5eae82(_0x1f87d2,_0x3692e1,_0x42ee25,_0x1bafd3,_0x4b1857,0x14,_0x57a466[0x1f]),_0x1bafd3=_0x140b40(_0x1bafd3,_0x1f87d2,_0x3692e1,_0x42ee25,_0x471698,0x4,_0x57a466[0x20]),_0x42ee25=_0x140b40(_0x42ee25,_0x1bafd3,_0x1f87d2,_0x3692e1,_0x3b40cc,0xb,_0x57a466[0x21]),_0x3692e1=_0x140b40(_0x3692e1,_0x42ee25,_0x1bafd3,_0x1f87d2,_0x53c41c,0x10,_0x57a466[0x22]),_0x1f87d2=_0x140b40(_0x1f87d2,_0x3692e1,_0x42ee25,_0x1bafd3,_0x4a2c28,0x17,_0x57a466[0x23]),_0x1bafd3=_0x140b40(_0x1bafd3,_0x1f87d2,_0x3692e1,_0x42ee25,_0xf8b040,0x4,_0x57a466[0x24]),_0x42ee25=_0x140b40(_0x42ee25,_0x1bafd3,_0x1f87d2,_0x3692e1,_0x20f40b,0xb,_0x57a466[0x25]),_0x3692e1=_0x140b40(_0x3692e1,_0x42ee25,_0x1bafd3,_0x1f87d2,_0x1cb7cf,0x10,_0x57a466[0x26]),_0x1f87d2=_0x140b40(_0x1f87d2,_0x3692e1,_0x42ee25,_0x1bafd3,_0x586573,0x17,_0x57a466[0x27]),_0x1bafd3=_0x140b40(_0x1bafd3,_0x1f87d2,_0x3692e1,_0x42ee25,_0x222208,0x4,_0x57a466[0x28]),_0x42ee25=_0x140b40(_0x42ee25,_0x1bafd3,_0x1f87d2,_0x3692e1,_0x1693a7,0xb,_0x57a466[0x29]),_0x3692e1=_0x140b40(_0x3692e1,_0x42ee25,_0x1bafd3,_0x1f87d2,_0x479f56,0x10,_0x57a466[0x2a]),_0x1f87d2=_0x140b40(_0x1f87d2,_0x3692e1,_0x42ee25,_0x1bafd3,_0x4651e5,0x17,_0x57a466[0x2b]),_0x1bafd3=_0x140b40(_0x1bafd3,_0x1f87d2,_0x3692e1,_0x42ee25,_0x1306b3,0x4,_0x57a466[0x2c]),_0x42ee25=_0x140b40(_0x42ee25,_0x1bafd3,_0x1f87d2,_0x3692e1,_0x4b1857,0xb,_0x57a466[0x2d]),_0x3692e1=_0x140b40(_0x3692e1,_0x42ee25,_0x1bafd3,_0x1f87d2,_0x14b5c1,0x10,_0x57a466[0x2e]),_0x1f87d2=_0x140b40(_0x1f87d2,_0x3692e1,_0x42ee25,_0x1bafd3,_0x1f26af,0x17,_0x57a466[0x2f]),_0x1bafd3=_0x3140fa(_0x1bafd3,_0x1f87d2,_0x3692e1,_0x42ee25,_0x1693a7,0x6,_0x57a466[0x30]),_0x42ee25=_0x3140fa(_0x42ee25,_0x1bafd3,_0x1f87d2,_0x3692e1,_0x1cb7cf,0xa,_0x57a466[0x31]),_0x3692e1=_0x3140fa(_0x3692e1,_0x42ee25,_0x1bafd3,_0x1f87d2,_0x4a2c28,0xf,_0x57a466[0x32]),_0x1f87d2=_0x3140fa(_0x1f87d2,_0x3692e1,_0x42ee25,_0x1bafd3,_0x471698,0x15,_0x57a466[0x33]),_0x1bafd3=_0x3140fa(_0x1bafd3,_0x1f87d2,_0x3692e1,_0x42ee25,_0x4b1857,0x6,_0x57a466[0x34]),_0x42ee25=_0x3140fa(_0x42ee25,_0x1bafd3,_0x1f87d2,_0x3692e1,_0x479f56,0xa,_0x57a466[0x35]),_0x3692e1=_0x3140fa(_0x3692e1,_0x42ee25,_0x1bafd3,_0x1f87d2,_0x586573,0xf,_0x57a466[0x36]),_0x1f87d2=_0x3140fa(_0x1f87d2,_0x3692e1,_0x42ee25,_0x1bafd3,_0xf8b040,0x15,_0x57a466[0x37]),_0x1bafd3=_0x3140fa(_0x1bafd3,_0x1f87d2,_0x3692e1,_0x42ee25,_0x3b40cc,0x6,_0x57a466[0x38]),_0x42ee25=_0x3140fa(_0x42ee25,_0x1bafd3,_0x1f87d2,_0x3692e1,_0x14b5c1,0xa,_0x57a466[0x39]),_0x3692e1=_0x3140fa(_0x3692e1,_0x42ee25,_0x1bafd3,_0x1f87d2,_0x4651e5,0xf,_0x57a466[0x3a]),_0x1f87d2=_0x3140fa(_0x1f87d2,_0x3692e1,_0x42ee25,_0x1bafd3,_0x222208,0x15,_0x57a466[0x3b]),_0x1bafd3=_0x3140fa(_0x1bafd3,_0x1f87d2,_0x3692e1,_0x42ee25,_0x20f40b,0x6,_0x57a466[0x3c]),_0x42ee25=_0x3140fa(_0x42ee25,_0x1bafd3,_0x1f87d2,_0x3692e1,_0x53c41c,0xa,_0x57a466[0x3d]),_0x3692e1=_0x3140fa(_0x3692e1,_0x42ee25,_0x1bafd3,_0x1f87d2,_0x1f26af,0xf,_0x57a466[0x3e]),_0x1f87d2=_0x3140fa(_0x1f87d2,_0x3692e1,_0x42ee25,_0x1bafd3,_0x1306b3,0x15,_0x57a466[0x3f]),_0x3146e3[0x0]=_0x3146e3[0x0]+_0x1bafd3|0x0,_0x3146e3[0x1]=_0x3146e3[0x1]+_0x1f87d2|0x0,_0x3146e3[0x2]=_0x3146e3[0x2]+_0x3692e1|0x0,_0x3146e3[0x3]=_0x3146e3[0x3]+_0x42ee25|0x0;},'_doFinalize':function(){var _0x63be3f=_0x13bcd7,_0x119cf8=this['_data'],_0x5e370c=_0x119cf8[_0x63be3f(0xe1)],_0x35d87c=this[_0x63be3f(0x207)]*0x8,_0x38a6ff=_0x119cf8[_0x63be3f(0x33e)]*0x8;_0x5e370c[_0x38a6ff>>>0x5]|=0x80<<0x18-_0x38a6ff%0x20;var _0x76624=_0x4ba4ee['floor'](_0x35d87c/0x100000000),_0x208b86=_0x35d87c;_0x5e370c[(_0x38a6ff+0x40>>>0x9<<0x4)+0xf]=(_0x76624<<0x8|_0x76624>>>0x18)&0xff00ff|(_0x76624<<0x18|_0x76624>>>0x8)&0xff00ff00,_0x5e370c[(_0x38a6ff+0x40>>>0x9<<0x4)+0xe]=(_0x208b86<<0x8|_0x208b86>>>0x18)&0xff00ff|(_0x208b86<<0x18|_0x208b86>>>0x8)&0xff00ff00,_0x119cf8[_0x63be3f(0x33e)]=(_0x5e370c['length']+0x1)*0x4,this[_0x63be3f(0x20c)]();for(var _0x200c9d=this['_hash'],_0x2378ca=_0x200c9d[_0x63be3f(0xe1)],_0x1b70c2=0x0;_0x1b70c2<0x4;_0x1b70c2++){var _0x25c4d0=_0x2378ca[_0x1b70c2];_0x2378ca[_0x1b70c2]=(_0x25c4d0<<0x8|_0x25c4d0>>>0x18)&0xff00ff|(_0x25c4d0<<0x18|_0x25c4d0>>>0x8)&0xff00ff00;}return _0x200c9d;},'clone':function(){var _0x1e47df=_0x13bcd7,_0x53b3db=_0x35b201[_0x1e47df(0x10a)][_0x1e47df(0x25b)](this);return _0x53b3db[_0x1e47df(0xbf)]=this[_0x1e47df(0xbf)][_0x1e47df(0x10a)](),_0x53b3db;}});function _0x538add(_0x473499,_0x118dc7,_0x49b986,_0x1d8285,_0x1d28ba,_0x2a1bf8,_0x12042c){var _0x33aba3=_0x473499+(_0x118dc7&_0x49b986|~_0x118dc7&_0x1d8285)+_0x1d28ba+_0x12042c;return(_0x33aba3<<_0x2a1bf8|_0x33aba3>>>0x20-_0x2a1bf8)+_0x118dc7;}function _0x5eae82(_0x1ff4bd,_0x4c3dd8,_0x87e90f,_0x59889e,_0x21902f,_0x39997c,_0x2eae7d){var _0x2d93a6=_0x1ff4bd+(_0x4c3dd8&_0x59889e|_0x87e90f&~_0x59889e)+_0x21902f+_0x2eae7d;return(_0x2d93a6<<_0x39997c|_0x2d93a6>>>0x20-_0x39997c)+_0x4c3dd8;}function _0x140b40(_0x1ba5d1,_0x14093c,_0x45467e,_0x441c7b,_0x1bf8ba,_0x3bf13a,_0x12d7a2){var _0x405ded=_0x1ba5d1+(_0x14093c^_0x45467e^_0x441c7b)+_0x1bf8ba+_0x12d7a2;return(_0x405ded<<_0x3bf13a|_0x405ded>>>0x20-_0x3bf13a)+_0x14093c;}function _0x3140fa(_0x30530f,_0x4d395b,_0x287641,_0x2a1375,_0x60dcac,_0x3457fc,_0x57322d){var _0x4c13cb=_0x30530f+(_0x287641^(_0x4d395b|~_0x2a1375))+_0x60dcac+_0x57322d;return(_0x4c13cb<<_0x3457fc|_0x4c13cb>>>0x20-_0x3457fc)+_0x4d395b;}_0x1aed75[_0x13bcd7(0x301)]=_0x35b201[_0x13bcd7(0x2bc)](_0x9c6876),_0x1aed75[_0x13bcd7(0x3dd)]=_0x35b201['_createHmacHelper'](_0x9c6876);}(Math),_0x1ced8b['MD5'];}));}(pe)),pe['exports'];}var me={'exports':{}},ge={'exports':{}},Ri=ge[_0x1d77b0(0x3ab)],Je;function Ni(){var _0x17d6fd=_0x1d77b0;return Je||(Je=0x1,function(_0x4009f7,_0x30e129){(function(_0xda1d7b,_0x51d790){var _0x23e49a=_0x376d;_0x4009f7[_0x23e49a(0x3ab)]=_0x51d790(Z());}(Ri,function(_0x453134){var _0x1070bd=_0x376d;return(function(){var _0xc007e6=_0x376d,_0x23b3f1=_0x453134,_0x31bc2c=_0x23b3f1[_0xc007e6(0xbe)],_0x31eb12=_0x31bc2c['WordArray'],_0x3bf561=_0x31bc2c['Hasher'],_0x50d942=_0x23b3f1[_0xc007e6(0x383)],_0x3dfdcf=[],_0x24c6ac=_0x50d942[_0xc007e6(0x315)]=_0x3bf561[_0xc007e6(0x414)]({'_doReset':function(){var _0x13a42d=_0xc007e6;this['_hash']=new _0x31eb12[(_0x13a42d(0x31d))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x502dd2,_0x2c638d){var _0x30637d=_0xc007e6;for(var _0x3ab39d=this[_0x30637d(0xbf)][_0x30637d(0xe1)],_0x158bd5=_0x3ab39d[0x0],_0x4ae297=_0x3ab39d[0x1],_0x516e42=_0x3ab39d[0x2],_0xf738f5=_0x3ab39d[0x3],_0x4de2cd=_0x3ab39d[0x4],_0x358339=0x0;_0x358339<0x50;_0x358339++){if(_0x358339<0x10)_0x3dfdcf[_0x358339]=_0x502dd2[_0x2c638d+_0x358339]|0x0;else{var _0x26e325=_0x3dfdcf[_0x358339-0x3]^_0x3dfdcf[_0x358339-0x8]^_0x3dfdcf[_0x358339-0xe]^_0x3dfdcf[_0x358339-0x10];_0x3dfdcf[_0x358339]=_0x26e325<<0x1|_0x26e325>>>0x1f;}var _0xf389bc=(_0x158bd5<<0x5|_0x158bd5>>>0x1b)+_0x4de2cd+_0x3dfdcf[_0x358339];_0x358339<0x14?_0xf389bc+=(_0x4ae297&_0x516e42|~_0x4ae297&_0xf738f5)+0x5a827999:_0x358339<0x28?_0xf389bc+=(_0x4ae297^_0x516e42^_0xf738f5)+0x6ed9eba1:_0x358339<0x3c?_0xf389bc+=(_0x4ae297&_0x516e42|_0x4ae297&_0xf738f5|_0x516e42&_0xf738f5)-0x70e44324:_0xf389bc+=(_0x4ae297^_0x516e42^_0xf738f5)-0x359d3e2a,_0x4de2cd=_0xf738f5,_0xf738f5=_0x516e42,_0x516e42=_0x4ae297<<0x1e|_0x4ae297>>>0x2,_0x4ae297=_0x158bd5,_0x158bd5=_0xf389bc;}_0x3ab39d[0x0]=_0x3ab39d[0x0]+_0x158bd5|0x0,_0x3ab39d[0x1]=_0x3ab39d[0x1]+_0x4ae297|0x0,_0x3ab39d[0x2]=_0x3ab39d[0x2]+_0x516e42|0x0,_0x3ab39d[0x3]=_0x3ab39d[0x3]+_0xf738f5|0x0,_0x3ab39d[0x4]=_0x3ab39d[0x4]+_0x4de2cd|0x0;},'_doFinalize':function(){var _0x1a678a=_0xc007e6,_0x5b834=this[_0x1a678a(0x18a)],_0x585ce5=_0x5b834['words'],_0x212288=this[_0x1a678a(0x207)]*0x8,_0x1aef72=_0x5b834['sigBytes']*0x8;return _0x585ce5[_0x1aef72>>>0x5]|=0x80<<0x18-_0x1aef72%0x20,_0x585ce5[(_0x1aef72+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x212288/0x100000000),_0x585ce5[(_0x1aef72+0x40>>>0x9<<0x4)+0xf]=_0x212288,_0x5b834[_0x1a678a(0x33e)]=_0x585ce5[_0x1a678a(0x1b5)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x121979=_0xc007e6,_0x4966cb=_0x3bf561[_0x121979(0x10a)][_0x121979(0x25b)](this);return _0x4966cb[_0x121979(0xbf)]=this[_0x121979(0xbf)]['clone'](),_0x4966cb;}});_0x23b3f1[_0xc007e6(0x315)]=_0x3bf561[_0xc007e6(0x2bc)](_0x24c6ac),_0x23b3f1[_0xc007e6(0x34a)]=_0x3bf561['_createHmacHelper'](_0x24c6ac);}()),_0x453134[_0x1070bd(0x315)];}));}(ge)),ge[_0x17d6fd(0x3ab)];}var Te={'exports':{}},Di=Te[_0x1d77b0(0x3ab)],Ze;function yi(){var _0x5ade54=_0x1d77b0;return Ze||(Ze=0x1,function(_0x368e8b,_0x546dd1){(function(_0x540f52,_0x234d91){var _0xbb9462=_0x376d;_0x368e8b[_0xbb9462(0x3ab)]=_0x234d91(Z());}(Di,function(_0x8549d5){(function(){var _0x2edad5=_0x376d,_0x1994cc=_0x8549d5,_0x3d04ac=_0x1994cc[_0x2edad5(0xbe)],_0x5aa130=_0x3d04ac[_0x2edad5(0x296)],_0x340284=_0x1994cc[_0x2edad5(0x1f3)],_0xd37976=_0x340284[_0x2edad5(0x27e)],_0x307069=_0x1994cc[_0x2edad5(0x383)];_0x307069[_0x2edad5(0x3cb)]=_0x5aa130[_0x2edad5(0x414)]({'init':function(_0x30c7ad,_0x3c244e){var _0x79508d=_0x2edad5;_0x30c7ad=this['_hasher']=new _0x30c7ad[(_0x79508d(0x31d))](),typeof _0x3c244e=='string'&&(_0x3c244e=_0xd37976[_0x79508d(0x235)](_0x3c244e));var _0x5c931c=_0x30c7ad[_0x79508d(0x3a3)],_0x7565dd=_0x5c931c*0x4;_0x3c244e['sigBytes']>_0x7565dd&&(_0x3c244e=_0x30c7ad[_0x79508d(0xce)](_0x3c244e)),_0x3c244e[_0x79508d(0x37d)]();for(var _0x8cb06a=this[_0x79508d(0x101)]=_0x3c244e['clone'](),_0x2803ea=this[_0x79508d(0x275)]=_0x3c244e[_0x79508d(0x10a)](),_0x49105f=_0x8cb06a[_0x79508d(0xe1)],_0x2f6128=_0x2803ea[_0x79508d(0xe1)],_0x3c3ece=0x0;_0x3c3ece<_0x5c931c;_0x3c3ece++)_0x49105f[_0x3c3ece]^=0x5c5c5c5c,_0x2f6128[_0x3c3ece]^=0x36363636;_0x8cb06a[_0x79508d(0x33e)]=_0x2803ea[_0x79508d(0x33e)]=_0x7565dd,this[_0x79508d(0x36f)]();},'reset':function(){var _0x1e469a=_0x2edad5,_0x4427b8=this[_0x1e469a(0x2f1)];_0x4427b8[_0x1e469a(0x36f)](),_0x4427b8[_0x1e469a(0x3f6)](this['_iKey']);},'update':function(_0x156094){var _0x2010fb=_0x2edad5;return this[_0x2010fb(0x2f1)][_0x2010fb(0x3f6)](_0x156094),this;},'finalize':function(_0x2a3dd8){var _0x572693=_0x2edad5,_0x3445a5=this[_0x572693(0x2f1)],_0x4bf2fb=_0x3445a5[_0x572693(0xce)](_0x2a3dd8);_0x3445a5['reset']();var _0x27e67e=_0x3445a5[_0x572693(0xce)](this['_oKey'][_0x572693(0x10a)]()['concat'](_0x4bf2fb));return _0x27e67e;}});}());}));}(Te)),Te[_0x5ade54(0x3ab)];}var Ui=me[_0x1d77b0(0x3ab)],Qe;function Ct(){var _0x597cb0=_0x1d77b0;return Qe||(Qe=0x1,function(_0x2fe73d,_0x4e0087){(function(_0x31820b,_0x5b045f,_0x328792){var _0x565a14=_0x376d;_0x2fe73d[_0x565a14(0x3ab)]=_0x5b045f(Z(),Ni(),yi());}(Ui,function(_0x14290d){var _0x3b4516=_0x376d;return(function(){var _0x505536=_0x376d,_0x30417a=_0x14290d,_0x33ac3b=_0x30417a['lib'],_0x2a715a=_0x33ac3b[_0x505536(0x296)],_0x21077b=_0x33ac3b['WordArray'],_0x51cbce=_0x30417a[_0x505536(0x383)],_0x1949a7=_0x51cbce['MD5'],_0x11ca16=_0x51cbce[_0x505536(0x39f)]=_0x2a715a[_0x505536(0x414)]({'cfg':_0x2a715a[_0x505536(0x414)]({'keySize':0x80/0x20,'hasher':_0x1949a7,'iterations':0x1}),'init':function(_0xecf1a2){var _0x447c08=_0x505536;this[_0x447c08(0x22e)]=this[_0x447c08(0x22e)][_0x447c08(0x414)](_0xecf1a2);},'compute':function(_0x21d885,_0x5b140e){var _0xed2175=_0x505536;for(var _0x167e80,_0x405565=this[_0xed2175(0x22e)],_0x5af9c1=_0x405565[_0xed2175(0x137)]['create'](),_0x86d4b2=_0x21077b[_0xed2175(0x431)](),_0x35887d=_0x86d4b2[_0xed2175(0xe1)],_0x5832d5=_0x405565[_0xed2175(0x42a)],_0x415ea9=_0x405565[_0xed2175(0x3c5)];_0x35887d[_0xed2175(0x1b5)]<_0x5832d5;){_0x167e80&&_0x5af9c1[_0xed2175(0x3f6)](_0x167e80),_0x167e80=_0x5af9c1[_0xed2175(0x3f6)](_0x21d885)[_0xed2175(0xce)](_0x5b140e),_0x5af9c1[_0xed2175(0x36f)]();for(var _0x29c5c5=0x1;_0x29c5c5<_0x415ea9;_0x29c5c5++)_0x167e80=_0x5af9c1[_0xed2175(0xce)](_0x167e80),_0x5af9c1[_0xed2175(0x36f)]();_0x86d4b2[_0xed2175(0x18e)](_0x167e80);}return _0x86d4b2['sigBytes']=_0x5832d5*0x4,_0x86d4b2;}});_0x30417a['EvpKDF']=function(_0x50b559,_0x1e8a6b,_0x2cecf8){var _0x4c4483=_0x505536;return _0x11ca16[_0x4c4483(0x431)](_0x2cecf8)[_0x4c4483(0x34b)](_0x50b559,_0x1e8a6b);};}()),_0x14290d[_0x3b4516(0x39f)];}));}(me)),me[_0x597cb0(0x3ab)];}var Ce={'exports':{}},Ai=Ce[_0x1d77b0(0x3ab)],et;function Ot(){var _0xd3a91e=_0x1d77b0;return et||(et=0x1,function(_0x2b2ba4,_0x1f763f){(function(_0x1c37ba,_0x38cf2f,_0x4d834e){var _0x56c760=_0x376d;_0x2b2ba4[_0x56c760(0x3ab)]=_0x38cf2f(Z(),Ct());}(Ai,function(_0x5884fa){var _0x490db5=_0x376d;_0x5884fa[_0x490db5(0xbe)]['Cipher']||function(_0x5cc18e){var _0x422694=_0x490db5,_0x4c81bc=_0x5884fa,_0x106f0b=_0x4c81bc['lib'],_0x492d60=_0x106f0b[_0x422694(0x296)],_0x1b63c8=_0x106f0b[_0x422694(0x11a)],_0x2488f6=_0x106f0b[_0x422694(0x316)],_0x3665bd=_0x4c81bc[_0x422694(0x1f3)];_0x3665bd[_0x422694(0x27e)];var _0x3b5f86=_0x3665bd[_0x422694(0x15d)],_0x664696=_0x4c81bc[_0x422694(0x383)],_0x25f66e=_0x664696[_0x422694(0x39f)],_0x4b9dd3=_0x106f0b['Cipher']=_0x2488f6[_0x422694(0x414)]({'cfg':_0x492d60[_0x422694(0x414)](),'createEncryptor':function(_0x4f6a54,_0x23e9f3){var _0x5b8935=_0x422694;return this[_0x5b8935(0x431)](this[_0x5b8935(0x128)],_0x4f6a54,_0x23e9f3);},'createDecryptor':function(_0x405aa7,_0x31d6a3){var _0x15b284=_0x422694;return this[_0x15b284(0x431)](this['_DEC_XFORM_MODE'],_0x405aa7,_0x31d6a3);},'init':function(_0x30ce5c,_0x987c8a,_0x2ba472){var _0x513a38=_0x422694;this[_0x513a38(0x22e)]=this['cfg']['extend'](_0x2ba472),this[_0x513a38(0x20a)]=_0x30ce5c,this[_0x513a38(0x421)]=_0x987c8a,this[_0x513a38(0x36f)]();},'reset':function(){var _0x1fcec6=_0x422694;_0x2488f6[_0x1fcec6(0x36f)]['call'](this),this[_0x1fcec6(0x41b)]();},'process':function(_0x45f8c8){var _0x2bf1bf=_0x422694;return this[_0x2bf1bf(0x418)](_0x45f8c8),this[_0x2bf1bf(0x20c)]();},'finalize':function(_0x572f20){var _0x37e31f=_0x422694;_0x572f20&&this['_append'](_0x572f20);var _0x2f7a66=this[_0x37e31f(0x153)]();return _0x2f7a66;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2a5f5d(_0x4d2a1c){return typeof _0x4d2a1c=='string'?_0x5da778:_0x2d0228;}return function(_0x4daa32){return{'encrypt':function(_0x14ec39,_0x4c6ce4,_0x47c2dd){var _0x65a7e8=_0x376d;return _0x2a5f5d(_0x4c6ce4)[_0x65a7e8(0x3ea)](_0x4daa32,_0x14ec39,_0x4c6ce4,_0x47c2dd);},'decrypt':function(_0x3e627e,_0x1b19de,_0x53bbf4){var _0xc06775=_0x376d;return _0x2a5f5d(_0x1b19de)[_0xc06775(0x253)](_0x4daa32,_0x3e627e,_0x1b19de,_0x53bbf4);}};};}())});_0x106f0b[_0x422694(0x14e)]=_0x4b9dd3[_0x422694(0x414)]({'_doFinalize':function(){var _0xdf7db7=_0x422694,_0x58a4b2=this[_0xdf7db7(0x20c)](!0x0);return _0x58a4b2;},'blockSize':0x1});var _0x329a7d=_0x4c81bc[_0x422694(0x1d6)]={},_0x1a42fb=_0x106f0b['BlockCipherMode']=_0x492d60[_0x422694(0x414)]({'createEncryptor':function(_0x4f36cd,_0x938fbd){var _0x320fdd=_0x422694;return this[_0x320fdd(0x2b6)][_0x320fdd(0x431)](_0x4f36cd,_0x938fbd);},'createDecryptor':function(_0x58547c,_0x1791bc){var _0x47f2ea=_0x422694;return this[_0x47f2ea(0x1bf)][_0x47f2ea(0x431)](_0x58547c,_0x1791bc);},'init':function(_0x5ee732,_0x286a85){var _0x6021f2=_0x422694;this[_0x6021f2(0x342)]=_0x5ee732,this[_0x6021f2(0x1f8)]=_0x286a85;}}),_0x458194=_0x329a7d[_0x422694(0x1b2)]=(function(){var _0x14f9ef=_0x422694,_0x28687d=_0x1a42fb['extend']();_0x28687d[_0x14f9ef(0x2b6)]=_0x28687d[_0x14f9ef(0x414)]({'processBlock':function(_0x179bc1,_0x5938f6){var _0x4e68b6=_0x14f9ef,_0x339782=this[_0x4e68b6(0x342)],_0x35218d=_0x339782[_0x4e68b6(0x3a3)];_0x1f855b[_0x4e68b6(0x25b)](this,_0x179bc1,_0x5938f6,_0x35218d),_0x339782[_0x4e68b6(0x2d5)](_0x179bc1,_0x5938f6),this[_0x4e68b6(0x38f)]=_0x179bc1['slice'](_0x5938f6,_0x5938f6+_0x35218d);}}),_0x28687d[_0x14f9ef(0x1bf)]=_0x28687d[_0x14f9ef(0x414)]({'processBlock':function(_0x3a8af6,_0x4c44e3){var _0x994a29=_0x14f9ef,_0x3b253e=this[_0x994a29(0x342)],_0x2f25ef=_0x3b253e[_0x994a29(0x3a3)],_0x447a06=_0x3a8af6['slice'](_0x4c44e3,_0x4c44e3+_0x2f25ef);_0x3b253e['decryptBlock'](_0x3a8af6,_0x4c44e3),_0x1f855b[_0x994a29(0x25b)](this,_0x3a8af6,_0x4c44e3,_0x2f25ef),this[_0x994a29(0x38f)]=_0x447a06;}});function _0x1f855b(_0x865561,_0x2c4005,_0x902f96){var _0x760044=_0x14f9ef,_0x52592a,_0x58a03b=this[_0x760044(0x1f8)];_0x58a03b?(_0x52592a=_0x58a03b,this[_0x760044(0x1f8)]=_0x5cc18e):_0x52592a=this['_prevBlock'];for(var _0x584df8=0x0;_0x584df8<_0x902f96;_0x584df8++)_0x865561[_0x2c4005+_0x584df8]^=_0x52592a[_0x584df8];}return _0x28687d;}()),_0x1279ba=_0x4c81bc[_0x422694(0x131)]={},_0x16ae1a=_0x1279ba['Pkcs7']={'pad':function(_0x365eb3,_0x23ac5c){var _0x52f251=_0x422694;for(var _0x25649a=_0x23ac5c*0x4,_0x211555=_0x25649a-_0x365eb3[_0x52f251(0x33e)]%_0x25649a,_0x1cdeab=_0x211555<<0x18|_0x211555<<0x10|_0x211555<<0x8|_0x211555,_0x11657d=[],_0x4e4cff=0x0;_0x4e4cff<_0x211555;_0x4e4cff+=0x4)_0x11657d[_0x52f251(0x3a1)](_0x1cdeab);var _0x4b3c57=_0x1b63c8['create'](_0x11657d,_0x211555);_0x365eb3[_0x52f251(0x18e)](_0x4b3c57);},'unpad':function(_0x2de752){var _0x119c7f=_0x422694,_0x20dab7=_0x2de752[_0x119c7f(0xe1)][_0x2de752[_0x119c7f(0x33e)]-0x1>>>0x2]&0xff;_0x2de752['sigBytes']-=_0x20dab7;}};_0x106f0b[_0x422694(0x2b0)]=_0x4b9dd3[_0x422694(0x414)]({'cfg':_0x4b9dd3['cfg']['extend']({'mode':_0x458194,'padding':_0x16ae1a}),'reset':function(){var _0x1eb7da=_0x422694,_0x866a53;_0x4b9dd3[_0x1eb7da(0x36f)][_0x1eb7da(0x25b)](this);var _0x4f5cfe=this[_0x1eb7da(0x22e)],_0x591598=_0x4f5cfe['iv'],_0x11375a=_0x4f5cfe[_0x1eb7da(0x1d6)];this[_0x1eb7da(0x20a)]==this[_0x1eb7da(0x128)]?_0x866a53=_0x11375a[_0x1eb7da(0x16b)]:(_0x866a53=_0x11375a['createDecryptor'],this[_0x1eb7da(0x22b)]=0x1),this['_mode']&&this[_0x1eb7da(0x220)]['__creator']==_0x866a53?this['_mode']['init'](this,_0x591598&&_0x591598[_0x1eb7da(0xe1)]):(this['_mode']=_0x866a53[_0x1eb7da(0x25b)](_0x11375a,this,_0x591598&&_0x591598[_0x1eb7da(0xe1)]),this['_mode'][_0x1eb7da(0x36e)]=_0x866a53);},'_doProcessBlock':function(_0x22daa1,_0x27d235){var _0xeeeb0c=_0x422694;this[_0xeeeb0c(0x220)][_0xeeeb0c(0x246)](_0x22daa1,_0x27d235);},'_doFinalize':function(){var _0x439ff5=_0x422694,_0x437e62,_0x328575=this['cfg']['padding'];return this[_0x439ff5(0x20a)]==this['_ENC_XFORM_MODE']?(_0x328575[_0x439ff5(0x131)](this[_0x439ff5(0x18a)],this[_0x439ff5(0x3a3)]),_0x437e62=this['_process'](!0x0)):(_0x437e62=this[_0x439ff5(0x20c)](!0x0),_0x328575[_0x439ff5(0x183)](_0x437e62)),_0x437e62;},'blockSize':0x80/0x20});var _0x293850=_0x106f0b[_0x422694(0x36b)]=_0x492d60[_0x422694(0x414)]({'init':function(_0xfb66c5){var _0x280c76=_0x422694;this[_0x280c76(0x415)](_0xfb66c5);},'toString':function(_0x2b070f){var _0xc83d19=_0x422694;return(_0x2b070f||this[_0xc83d19(0x3af)])[_0xc83d19(0x155)](this);}}),_0x43febf=_0x4c81bc[_0x422694(0x167)]={},_0x585269=_0x43febf[_0x422694(0x11f)]={'stringify':function(_0x15815e){var _0x587fe0=_0x422694,_0x147236,_0x2582d8=_0x15815e[_0x587fe0(0x2f4)],_0x53809f=_0x15815e[_0x587fe0(0xd7)];return _0x53809f?_0x147236=_0x1b63c8[_0x587fe0(0x431)]([0x53616c74,0x65645f5f])['concat'](_0x53809f)[_0x587fe0(0x18e)](_0x2582d8):_0x147236=_0x2582d8,_0x147236[_0x587fe0(0x15e)](_0x3b5f86);},'parse':function(_0xaf115e){var _0x53fd13=_0x422694,_0x2535e,_0x2c6740=_0x3b5f86[_0x53fd13(0x235)](_0xaf115e),_0x19b78a=_0x2c6740['words'];return _0x19b78a[0x0]==0x53616c74&&_0x19b78a[0x1]==0x65645f5f&&(_0x2535e=_0x1b63c8[_0x53fd13(0x431)](_0x19b78a['slice'](0x2,0x4)),_0x19b78a['splice'](0x0,0x4),_0x2c6740[_0x53fd13(0x33e)]-=0x10),_0x293850['create']({'ciphertext':_0x2c6740,'salt':_0x2535e});}},_0x2d0228=_0x106f0b[_0x422694(0x254)]=_0x492d60[_0x422694(0x414)]({'cfg':_0x492d60['extend']({'format':_0x585269}),'encrypt':function(_0x410232,_0x5ca55f,_0x3ab2cf,_0x16c7dd){var _0x51d75c=_0x422694;_0x16c7dd=this[_0x51d75c(0x22e)][_0x51d75c(0x414)](_0x16c7dd);var _0x3308d2=_0x410232[_0x51d75c(0x16b)](_0x3ab2cf,_0x16c7dd),_0x5a9dfc=_0x3308d2[_0x51d75c(0xce)](_0x5ca55f),_0x4e0c81=_0x3308d2[_0x51d75c(0x22e)];return _0x293850[_0x51d75c(0x431)]({'ciphertext':_0x5a9dfc,'key':_0x3ab2cf,'iv':_0x4e0c81['iv'],'algorithm':_0x410232,'mode':_0x4e0c81['mode'],'padding':_0x4e0c81[_0x51d75c(0x18b)],'blockSize':_0x410232[_0x51d75c(0x3a3)],'formatter':_0x16c7dd['format']});},'decrypt':function(_0x2b4a00,_0x4be74b,_0x3ea771,_0x30337a){var _0x1e3ae6=_0x422694;_0x30337a=this[_0x1e3ae6(0x22e)]['extend'](_0x30337a),_0x4be74b=this['_parse'](_0x4be74b,_0x30337a['format']);var _0xfed523=_0x2b4a00[_0x1e3ae6(0x1dc)](_0x3ea771,_0x30337a)[_0x1e3ae6(0xce)](_0x4be74b[_0x1e3ae6(0x2f4)]);return _0xfed523;},'_parse':function(_0xa2e3bd,_0x4ce19b){var _0x39d521=_0x422694;return typeof _0xa2e3bd==_0x39d521(0x390)?_0x4ce19b[_0x39d521(0x235)](_0xa2e3bd,this):_0xa2e3bd;}}),_0x178286=_0x4c81bc[_0x422694(0x22d)]={},_0x3475e9=_0x178286[_0x422694(0x11f)]={'execute':function(_0x58ce32,_0x3594e7,_0x2219ea,_0x5d8e40,_0x299871){var _0x4271a4=_0x422694;if(_0x5d8e40||(_0x5d8e40=_0x1b63c8[_0x4271a4(0x14b)](0x40/0x8)),_0x299871)var _0x2f9821=_0x25f66e[_0x4271a4(0x431)]({'keySize':_0x3594e7+_0x2219ea,'hasher':_0x299871})['compute'](_0x58ce32,_0x5d8e40);else var _0x2f9821=_0x25f66e['create']({'keySize':_0x3594e7+_0x2219ea})[_0x4271a4(0x34b)](_0x58ce32,_0x5d8e40);var _0x4f663a=_0x1b63c8[_0x4271a4(0x431)](_0x2f9821[_0x4271a4(0xe1)][_0x4271a4(0x1e9)](_0x3594e7),_0x2219ea*0x4);return _0x2f9821[_0x4271a4(0x33e)]=_0x3594e7*0x4,_0x293850[_0x4271a4(0x431)]({'key':_0x2f9821,'iv':_0x4f663a,'salt':_0x5d8e40});}},_0x5da778=_0x106f0b[_0x422694(0x386)]=_0x2d0228[_0x422694(0x414)]({'cfg':_0x2d0228['cfg'][_0x422694(0x414)]({'kdf':_0x3475e9}),'encrypt':function(_0x4ef331,_0x4b2623,_0x5836b2,_0x144c23){var _0x3233b9=_0x422694;_0x144c23=this[_0x3233b9(0x22e)]['extend'](_0x144c23);var _0x3a9232=_0x144c23[_0x3233b9(0x22d)]['execute'](_0x5836b2,_0x4ef331[_0x3233b9(0x42a)],_0x4ef331[_0x3233b9(0x38b)],_0x144c23[_0x3233b9(0xd7)],_0x144c23[_0x3233b9(0x137)]);_0x144c23['iv']=_0x3a9232['iv'];var _0x32d23c=_0x2d0228[_0x3233b9(0x3ea)][_0x3233b9(0x25b)](this,_0x4ef331,_0x4b2623,_0x3a9232[_0x3233b9(0x230)],_0x144c23);return _0x32d23c[_0x3233b9(0x415)](_0x3a9232),_0x32d23c;},'decrypt':function(_0x249d60,_0x42dccc,_0x1eceb2,_0x1cf2f1){var _0x3be936=_0x422694;_0x1cf2f1=this['cfg'][_0x3be936(0x414)](_0x1cf2f1),_0x42dccc=this['_parse'](_0x42dccc,_0x1cf2f1[_0x3be936(0x167)]);var _0x1343eb=_0x1cf2f1['kdf'][_0x3be936(0x273)](_0x1eceb2,_0x249d60[_0x3be936(0x42a)],_0x249d60['ivSize'],_0x42dccc[_0x3be936(0xd7)],_0x1cf2f1[_0x3be936(0x137)]);_0x1cf2f1['iv']=_0x1343eb['iv'];var _0xacc7f8=_0x2d0228['decrypt']['call'](this,_0x249d60,_0x42dccc,_0x1343eb[_0x3be936(0x230)],_0x1cf2f1);return _0xacc7f8;}});}();}));}(Ce)),Ce[_0xd3a91e(0x3ab)];}var Pi=Ie[_0x1d77b0(0x3ab)],tt;function Li(){var _0x45cdaf=_0x1d77b0;return tt||(tt=0x1,function(_0x239b50,_0x11e04f){(function(_0xcf3398,_0x64121b,_0x3f4e60){var _0x3edc03=_0x376d;_0x239b50[_0x3edc03(0x3ab)]=_0x64121b(Z(),Tt(),bi(),Ct(),Ot());}(Pi,function(_0x48b45a){var _0x19a6f7=_0x376d;return(function(){var _0x230667=_0x376d,_0x1f6e5e=_0x48b45a,_0x29f6c7=_0x1f6e5e[_0x230667(0xbe)],_0x884e32=_0x29f6c7['BlockCipher'],_0x240b78=_0x1f6e5e[_0x230667(0x383)],_0x3d77db=[],_0x5643fc=[],_0x3a9d16=[],_0x3c6b23=[],_0x5b9984=[],_0x3fcdfc=[],_0x3c57e8=[],_0x1f9581=[],_0x4f6389=[],_0x51bb68=[];(function(){for(var _0x5e5096=[],_0x410f9f=0x0;_0x410f9f<0x100;_0x410f9f++)_0x410f9f<0x80?_0x5e5096[_0x410f9f]=_0x410f9f<<0x1:_0x5e5096[_0x410f9f]=_0x410f9f<<0x1^0x11b;for(var _0x5399f0=0x0,_0x5aded5=0x0,_0x410f9f=0x0;_0x410f9f<0x100;_0x410f9f++){var _0x5aca63=_0x5aded5^_0x5aded5<<0x1^_0x5aded5<<0x2^_0x5aded5<<0x3^_0x5aded5<<0x4;_0x5aca63=_0x5aca63>>>0x8^_0x5aca63&0xff^0x63,_0x3d77db[_0x5399f0]=_0x5aca63,_0x5643fc[_0x5aca63]=_0x5399f0;var _0x55fea1=_0x5e5096[_0x5399f0],_0x10ca1b=_0x5e5096[_0x55fea1],_0xe4c7f8=_0x5e5096[_0x10ca1b],_0x49fc9b=_0x5e5096[_0x5aca63]*0x101^_0x5aca63*0x1010100;_0x3a9d16[_0x5399f0]=_0x49fc9b<<0x18|_0x49fc9b>>>0x8,_0x3c6b23[_0x5399f0]=_0x49fc9b<<0x10|_0x49fc9b>>>0x10,_0x5b9984[_0x5399f0]=_0x49fc9b<<0x8|_0x49fc9b>>>0x18,_0x3fcdfc[_0x5399f0]=_0x49fc9b;var _0x49fc9b=_0xe4c7f8*0x1010101^_0x10ca1b*0x10001^_0x55fea1*0x101^_0x5399f0*0x1010100;_0x3c57e8[_0x5aca63]=_0x49fc9b<<0x18|_0x49fc9b>>>0x8,_0x1f9581[_0x5aca63]=_0x49fc9b<<0x10|_0x49fc9b>>>0x10,_0x4f6389[_0x5aca63]=_0x49fc9b<<0x8|_0x49fc9b>>>0x18,_0x51bb68[_0x5aca63]=_0x49fc9b,_0x5399f0?(_0x5399f0=_0x55fea1^_0x5e5096[_0x5e5096[_0x5e5096[_0xe4c7f8^_0x55fea1]]],_0x5aded5^=_0x5e5096[_0x5e5096[_0x5aded5]]):_0x5399f0=_0x5aded5=0x1;}}());var _0x43cc15=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x441f7f=_0x240b78[_0x230667(0x248)]=_0x884e32[_0x230667(0x414)]({'_doReset':function(){var _0xd602bc=_0x230667,_0x4b24ef;if(!(this[_0xd602bc(0x2a8)]&&this[_0xd602bc(0x134)]===this[_0xd602bc(0x421)])){for(var _0x6592ab=this[_0xd602bc(0x134)]=this[_0xd602bc(0x421)],_0x1297f0=_0x6592ab[_0xd602bc(0xe1)],_0x3fe927=_0x6592ab[_0xd602bc(0x33e)]/0x4,_0x2ec44b=this[_0xd602bc(0x2a8)]=_0x3fe927+0x6,_0x240c9e=(_0x2ec44b+0x1)*0x4,_0xcd37aa=this[_0xd602bc(0x3ec)]=[],_0x217837=0x0;_0x217837<_0x240c9e;_0x217837++)_0x217837<_0x3fe927?_0xcd37aa[_0x217837]=_0x1297f0[_0x217837]:(_0x4b24ef=_0xcd37aa[_0x217837-0x1],_0x217837%_0x3fe927?_0x3fe927>0x6&&_0x217837%_0x3fe927==0x4&&(_0x4b24ef=_0x3d77db[_0x4b24ef>>>0x18]<<0x18|_0x3d77db[_0x4b24ef>>>0x10&0xff]<<0x10|_0x3d77db[_0x4b24ef>>>0x8&0xff]<<0x8|_0x3d77db[_0x4b24ef&0xff]):(_0x4b24ef=_0x4b24ef<<0x8|_0x4b24ef>>>0x18,_0x4b24ef=_0x3d77db[_0x4b24ef>>>0x18]<<0x18|_0x3d77db[_0x4b24ef>>>0x10&0xff]<<0x10|_0x3d77db[_0x4b24ef>>>0x8&0xff]<<0x8|_0x3d77db[_0x4b24ef&0xff],_0x4b24ef^=_0x43cc15[_0x217837/_0x3fe927|0x0]<<0x18),_0xcd37aa[_0x217837]=_0xcd37aa[_0x217837-_0x3fe927]^_0x4b24ef);for(var _0x9b19df=this[_0xd602bc(0x161)]=[],_0x5b1a87=0x0;_0x5b1a87<_0x240c9e;_0x5b1a87++){var _0x217837=_0x240c9e-_0x5b1a87;if(_0x5b1a87%0x4)var _0x4b24ef=_0xcd37aa[_0x217837];else var _0x4b24ef=_0xcd37aa[_0x217837-0x4];_0x5b1a87<0x4||_0x217837<=0x4?_0x9b19df[_0x5b1a87]=_0x4b24ef:_0x9b19df[_0x5b1a87]=_0x3c57e8[_0x3d77db[_0x4b24ef>>>0x18]]^_0x1f9581[_0x3d77db[_0x4b24ef>>>0x10&0xff]]^_0x4f6389[_0x3d77db[_0x4b24ef>>>0x8&0xff]]^_0x51bb68[_0x3d77db[_0x4b24ef&0xff]];}}},'encryptBlock':function(_0x5a2924,_0x1a9c81){var _0x2ea634=_0x230667;this['_doCryptBlock'](_0x5a2924,_0x1a9c81,this[_0x2ea634(0x3ec)],_0x3a9d16,_0x3c6b23,_0x5b9984,_0x3fcdfc,_0x3d77db);},'decryptBlock':function(_0x2fa022,_0x219388){var _0x5cf678=_0x230667,_0x16131f=_0x2fa022[_0x219388+0x1];_0x2fa022[_0x219388+0x1]=_0x2fa022[_0x219388+0x3],_0x2fa022[_0x219388+0x3]=_0x16131f,this[_0x5cf678(0x433)](_0x2fa022,_0x219388,this[_0x5cf678(0x161)],_0x3c57e8,_0x1f9581,_0x4f6389,_0x51bb68,_0x5643fc);var _0x16131f=_0x2fa022[_0x219388+0x1];_0x2fa022[_0x219388+0x1]=_0x2fa022[_0x219388+0x3],_0x2fa022[_0x219388+0x3]=_0x16131f;},'_doCryptBlock':function(_0x412dcc,_0x343142,_0x40d4b5,_0x3b056a,_0x2cc1e1,_0x1c2600,_0x1f3b94,_0x4b4c34){var _0x5a59d9=_0x230667;for(var _0x1b4aa2=this[_0x5a59d9(0x2a8)],_0x410d63=_0x412dcc[_0x343142]^_0x40d4b5[0x0],_0x56dad1=_0x412dcc[_0x343142+0x1]^_0x40d4b5[0x1],_0xa58976=_0x412dcc[_0x343142+0x2]^_0x40d4b5[0x2],_0xa136cd=_0x412dcc[_0x343142+0x3]^_0x40d4b5[0x3],_0x223457=0x4,_0x234024=0x1;_0x234024<_0x1b4aa2;_0x234024++){var _0x1e753a=_0x3b056a[_0x410d63>>>0x18]^_0x2cc1e1[_0x56dad1>>>0x10&0xff]^_0x1c2600[_0xa58976>>>0x8&0xff]^_0x1f3b94[_0xa136cd&0xff]^_0x40d4b5[_0x223457++],_0x4f3a3b=_0x3b056a[_0x56dad1>>>0x18]^_0x2cc1e1[_0xa58976>>>0x10&0xff]^_0x1c2600[_0xa136cd>>>0x8&0xff]^_0x1f3b94[_0x410d63&0xff]^_0x40d4b5[_0x223457++],_0x3259c4=_0x3b056a[_0xa58976>>>0x18]^_0x2cc1e1[_0xa136cd>>>0x10&0xff]^_0x1c2600[_0x410d63>>>0x8&0xff]^_0x1f3b94[_0x56dad1&0xff]^_0x40d4b5[_0x223457++],_0x29db1e=_0x3b056a[_0xa136cd>>>0x18]^_0x2cc1e1[_0x410d63>>>0x10&0xff]^_0x1c2600[_0x56dad1>>>0x8&0xff]^_0x1f3b94[_0xa58976&0xff]^_0x40d4b5[_0x223457++];_0x410d63=_0x1e753a,_0x56dad1=_0x4f3a3b,_0xa58976=_0x3259c4,_0xa136cd=_0x29db1e;}var _0x1e753a=(_0x4b4c34[_0x410d63>>>0x18]<<0x18|_0x4b4c34[_0x56dad1>>>0x10&0xff]<<0x10|_0x4b4c34[_0xa58976>>>0x8&0xff]<<0x8|_0x4b4c34[_0xa136cd&0xff])^_0x40d4b5[_0x223457++],_0x4f3a3b=(_0x4b4c34[_0x56dad1>>>0x18]<<0x18|_0x4b4c34[_0xa58976>>>0x10&0xff]<<0x10|_0x4b4c34[_0xa136cd>>>0x8&0xff]<<0x8|_0x4b4c34[_0x410d63&0xff])^_0x40d4b5[_0x223457++],_0x3259c4=(_0x4b4c34[_0xa58976>>>0x18]<<0x18|_0x4b4c34[_0xa136cd>>>0x10&0xff]<<0x10|_0x4b4c34[_0x410d63>>>0x8&0xff]<<0x8|_0x4b4c34[_0x56dad1&0xff])^_0x40d4b5[_0x223457++],_0x29db1e=(_0x4b4c34[_0xa136cd>>>0x18]<<0x18|_0x4b4c34[_0x410d63>>>0x10&0xff]<<0x10|_0x4b4c34[_0x56dad1>>>0x8&0xff]<<0x8|_0x4b4c34[_0xa58976&0xff])^_0x40d4b5[_0x223457++];_0x412dcc[_0x343142]=_0x1e753a,_0x412dcc[_0x343142+0x1]=_0x4f3a3b,_0x412dcc[_0x343142+0x2]=_0x3259c4,_0x412dcc[_0x343142+0x3]=_0x29db1e;},'keySize':0x100/0x20});_0x1f6e5e['AES']=_0x884e32['_createHelper'](_0x441f7f);}()),_0x48b45a[_0x19a6f7(0x248)];}));}(Ie)),Ie[_0x45cdaf(0x3ab)];}var Mi=Li();const wi=de(Mi);var xi=Tt();const it=de(xi);var Oe={'exports':{}},ki=Oe[_0x1d77b0(0x3ab)],nt;function $i(){var _0x320b3a=_0x1d77b0;return nt||(nt=0x1,function(_0x3b6a7d,_0x5eea36){(function(_0x42f9b5,_0x486e64){_0x3b6a7d['exports']=_0x486e64(Z());}(ki,function(_0x31b264){var _0x59e4aa=_0x376d;return _0x31b264[_0x59e4aa(0x1f3)][_0x59e4aa(0x27e)];}));}(Oe)),Oe[_0x320b3a(0x3ab)];}var Hi=$i();const ji=de(Hi);var be={'exports':{}},Bi=be[_0x1d77b0(0x3ab)],st;function Fi(){var _0x2b067f=_0x1d77b0;return st||(st=0x1,function(_0x40f401,_0x4e2183){(function(_0x1b0b07,_0x47c511){_0x40f401['exports']=_0x47c511(Z());}(Bi,function(_0x5894bc){var _0x19f63a=_0x376d;return(function(){var _0x50c051=_0x376d;if(typeof ArrayBuffer=='function'){var _0x25fe8b=_0x5894bc,_0xf711fa=_0x25fe8b[_0x50c051(0xbe)],_0x35a2b5=_0xf711fa['WordArray'],_0x58e3d7=_0x35a2b5[_0x50c051(0x31d)],_0x465e23=_0x35a2b5[_0x50c051(0x31d)]=function(_0x20b8a2){var _0x2f3fba=_0x50c051;if(_0x20b8a2 instanceof ArrayBuffer&&(_0x20b8a2=new Uint8Array(_0x20b8a2)),(_0x20b8a2 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x20b8a2 instanceof Uint8ClampedArray||_0x20b8a2 instanceof Int16Array||_0x20b8a2 instanceof Uint16Array||_0x20b8a2 instanceof Int32Array||_0x20b8a2 instanceof Uint32Array||_0x20b8a2 instanceof Float32Array||_0x20b8a2 instanceof Float64Array)&&(_0x20b8a2=new Uint8Array(_0x20b8a2[_0x2f3fba(0x37a)],_0x20b8a2[_0x2f3fba(0x2be)],_0x20b8a2[_0x2f3fba(0x3e7)])),_0x20b8a2 instanceof Uint8Array){for(var _0x233c6f=_0x20b8a2['byteLength'],_0x3aa75f=[],_0x12b969=0x0;_0x12b969<_0x233c6f;_0x12b969++)_0x3aa75f[_0x12b969>>>0x2]|=_0x20b8a2[_0x12b969]<<0x18-_0x12b969%0x4*0x8;_0x58e3d7[_0x2f3fba(0x25b)](this,_0x3aa75f,_0x233c6f);}else _0x58e3d7[_0x2f3fba(0xd4)](this,arguments);};_0x465e23[_0x50c051(0x339)]=_0x35a2b5;}}()),_0x5894bc['lib'][_0x19f63a(0x11a)];}));}(be)),be[_0x2b067f(0x3ab)];}var Vi=Fi();const Wi=de(Vi);var Re={'exports':{}},Gi=Re['exports'],rt;function Yi(){var _0x14b3ab=_0x1d77b0;return rt||(rt=0x1,function(_0xd2086a,_0x303834){(function(_0x39a767,_0x2d1278,_0x5c130a){var _0x3ae8d9=_0x376d;_0xd2086a[_0x3ae8d9(0x3ab)]=_0x2d1278(Z(),Ot());}(Gi,function(_0x32092b){var _0x1b23d2=_0x376d;return _0x32092b[_0x1b23d2(0x131)][_0x1b23d2(0x2c7)]={'pad':function(){},'unpad':function(){}},_0x32092b[_0x1b23d2(0x131)]['NoPadding'];}));}(Re)),Re[_0x14b3ab(0x3ab)];}var Ki=Yi();const qi=de(Ki);function zi(_0x40cc9c,_0x1334e5){var _0x2ad6d5=_0x1d77b0;const _0x5ef006=_0x1334e5-_0x40cc9c['length']%_0x1334e5,_0x4fe971=String[_0x2ad6d5(0x379)](_0x5ef006)[_0x2ad6d5(0x178)](_0x5ef006);return _0x40cc9c+_0x4fe971;}function Xi(_0x26420d,_0x2a7772){var _0x2df812=_0x1d77b0;const _0x3f4008=Wi[_0x2df812(0x14b)](0x10),_0x25a8a9=zi(_0x26420d,0x10),_0x1fa02a=wi[_0x2df812(0x3ea)](ji[_0x2df812(0x235)](_0x25a8a9),it[_0x2df812(0x235)](_0x2a7772),{'iv':_0x3f4008,'padding':qi});return _0x3f4008['concat'](_0x1fa02a[_0x2df812(0x2f4)])['toString'](it);}function Ji(){var _0x442518=_0x1d77b0;const _0x4ac102=Dt['getGlobalObject']()[_0x442518(0x3bf)];if(_0x4ac102){const _0x53a619={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x442518(0x1a4)]};return Xi(JSON[_0x442518(0x155)](_0x53a619),_0x4ac102);}}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x32989c,_0x12ac9b,_0x159ad6,_0xa150e5)=>{var _0x4bcf72=_0x1d77b0;for(var _0x40cff6=_0xa150e5>0x1?void 0x0:_0xa150e5?Zi(_0x12ac9b,_0x159ad6):_0x12ac9b,_0x2ce305=_0x32989c[_0x4bcf72(0x1b5)]-0x1,_0xef89ee;_0x2ce305>=0x0;_0x2ce305--)(_0xef89ee=_0x32989c[_0x2ce305])&&(_0x40cff6=_0xef89ee(_0x40cff6)||_0x40cff6);return _0x40cff6;},en=(_0x51f336,_0x58eb9a)=>(_0x16dde9,_0x5cc936)=>_0x58eb9a(_0x16dde9,_0x5cc936,_0x51f336);let De=class{constructor(_0x8af5ed){var _0x4d65ca=_0x1d77b0;this[_0x4d65ca(0x2cc)]=_0x8af5ed,this[_0x4d65ca(0x2aa)]();}['_initRequestHeader'](){var _0x33b8ae=_0x1d77b0;this[_0x33b8ae(0x2cc)][_0x33b8ae(0xc1)]({'interceptor':(_0x23a918,_0x5d2ceb)=>{var _0x4d4326=_0x33b8ae;const _0x247ba8=_0x23a918[_0x4d4326(0x21f)],_0x172bbd=Ji();return _0x172bbd&&_0x247ba8[_0x4d4326(0x16d)](_0x4d4326(0x36a),_0x172bbd),_0x5d2ceb(_0x23a918);}});}};De=Qi([en(0x0,o[_0x1d77b0(0x397)](K[_0x1d77b0(0x229)]))],De);var tn=Object[_0x1d77b0(0x1c1)],nn=(_0x55e012,_0x10d535,_0x3fd51b,_0x210b08)=>{var _0x49f345=_0x1d77b0;for(var _0x52176e=_0x210b08>0x1?void 0x0:_0x210b08?tn(_0x10d535,_0x3fd51b):_0x10d535,_0x46181b=_0x55e012[_0x49f345(0x1b5)]-0x1,_0x199d7f;_0x46181b>=0x0;_0x46181b--)(_0x199d7f=_0x55e012[_0x46181b])&&(_0x52176e=_0x199d7f(_0x52176e)||_0x52176e);return _0x52176e;},Le=(_0x19e75d,_0x469cf9)=>(_0x277339,_0x81a1ae)=>_0x469cf9(_0x277339,_0x81a1ae,_0x19e75d);exports[_0x1d77b0(0x104)]=class extends o[_0x1d77b0(0x308)]{constructor(_0x1aeb43,_0x3f04cf,_0x380ebc){var _0x5f927c=_0x1d77b0;super(),A(this,'_unitInfo$',new j[(_0x5f927c(0x105))](null)),A(this,'unitInfo$',this[_0x5f927c(0x434)][_0x5f927c(0xd9)]()),(this[_0x5f927c(0x368)]=_0x1aeb43,this[_0x5f927c(0x42e)]=_0x3f04cf,this[_0x5f927c(0x311)]=_0x380ebc);}async[_0x1d77b0(0x3db)](_0x32d223,_0x35b576,_0x398533){var _0x342611=_0x1d77b0;this[_0x342611(0x434)][_0x342611(0x19e)]({'unitId':_0x32d223,'type':_0x35b576});let _0x38e1f0=null;switch(_0x35b576){case X[_0x342611(0x22a)]:{_0x38e1f0=await this[_0x342611(0x42e)][_0x342611(0x2ad)](_0x32d223,_0x398533);break;}case X[_0x342611(0x411)]:{_0x38e1f0=await this['_snapshotService']['loadDoc'](_0x32d223,_0x398533);break;}default:{this[_0x342611(0x368)]['error']('[DataLoaderService]',_0x342611(0x3f2));break;}}return _0x38e1f0;}async['loadUnit'](_0x4519f7,_0x3754a3,_0x57195f){var _0x384e62=_0x1d77b0,_0x46c363;this[_0x384e62(0x434)][_0x384e62(0x19e)]({'unitId':_0x4519f7,'type':_0x3754a3,'subUnitId':_0x57195f});let _0x52debe=0x0;const _0x3e29be=await((_0x46c363=this[_0x384e62(0x311)])==null?void 0x0:_0x46c363[_0x384e62(0xd0)](_0x4519f7));return _0x3e29be&&(_0x3e29be[_0x384e62(0x3e6)]||_0x3e29be[_0x384e62(0x2d4)][_0x384e62(0x1b5)]!==0x0)&&(_0x52debe=_0x3e29be[_0x384e62(0x27f)]),_0x52debe===0x0&&this[_0x384e62(0x368)][_0x384e62(0x32b)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x384e62(0x3db)](_0x4519f7,_0x3754a3,_0x52debe);}},exports['DataLoaderService']=nn([Le(0x0,o[_0x1d77b0(0x412)]),Le(0x1,o[_0x1d77b0(0x397)](E['SnapshotService'])),Le(0x2,o[_0x1d77b0(0x115)](q))],exports[_0x1d77b0(0x104)]);var sn=Object[_0x1d77b0(0x1c1)],rn=(_0x3a8324,_0x44784e,_0x5dab1f,_0x1c171b)=>{var _0x56cb9b=_0x1d77b0;for(var _0x2a3d36=_0x1c171b>0x1?void 0x0:_0x1c171b?sn(_0x44784e,_0x5dab1f):_0x44784e,_0x4bbc6c=_0x3a8324[_0x56cb9b(0x1b5)]-0x1,_0x33e48f;_0x4bbc6c>=0x0;_0x4bbc6c--)(_0x33e48f=_0x3a8324[_0x4bbc6c])&&(_0x2a3d36=_0x33e48f(_0x2a3d36)||_0x2a3d36);return _0x2a3d36;},Me=(_0x5e2a62,_0x1b56c2)=>(_0xf906e,_0x2b2304)=>_0x1b56c2(_0xf906e,_0x2b2304,_0x5e2a62);const an=[_0x1d77b0(0x395),_0x1d77b0(0x10f),_0x1d77b0(0x172),_0x1d77b0(0x1e2),'image/bmp'],on=0x5*0x400*0x400,cn=_0x1d77b0(0x356),_n=_0x1d77b0(0x29e);exports[_0x1d77b0(0x35a)]=class{constructor(_0x500022,_0x124d17,_0x1b5fac){var _0x3fe954=_0x1d77b0;A(this,_0x3fe954(0x160),0x0),A(this,_0x3fe954(0x10d),new j[(_0x3fe954(0x3a8))]()),A(this,_0x3fe954(0x363),this[_0x3fe954(0x10d)]),A(this,_0x3fe954(0x1eb),new Map()),(this[_0x3fe954(0x2cc)]=_0x500022,this[_0x3fe954(0x143)]=_0x124d17,this['_univerInstanceService']=_0x1b5fac);}[_0x1d77b0(0x16e)](_0x281886){var _0xecf9cf=_0x1d77b0;this[_0xecf9cf(0x160)]=_0x281886,this['_change$'][_0xecf9cf(0x19e)](_0x281886);}['getImageSourceCache'](_0x507fb5,_0x4ca539){var _0x4e90eb=_0x1d77b0;if(_0x4ca539===z['ImageSourceType']['BASE64']){const _0x2ae58f=new Image();return _0x2ae58f[_0x4e90eb(0x426)]=_0x507fb5,_0x2ae58f;}return this[_0x4e90eb(0x1eb)][_0x4e90eb(0x3e0)](_0x507fb5);}[_0x1d77b0(0x2c8)](_0x3d82cf,_0x577abe,_0x5317b3){var _0x3254bf=_0x1d77b0;_0x577abe===z[_0x3254bf(0x3b1)][_0x3254bf(0x18f)]||_0x5317b3==null||this[_0x3254bf(0x1eb)][_0x3254bf(0x16d)](_0x3d82cf,_0x5317b3);}async['getImage'](_0xcee0f5){var _0x5a01af=_0x1d77b0;try{const _0x1d9571=this[_0x5a01af(0xad)](this['_getSignURL'](),''+_0xcee0f5),_0xd29c16=(await this[_0x5a01af(0x2cc)][_0x5a01af(0x3e0)](_0x1d9571))[_0x5a01af(0x122)];if(_0xd29c16[_0x5a01af(0x33f)]&&_0xd29c16['error']['code']===vt['OK']){const _0x1a8674=o[_0x5a01af(0x221)](_0xd29c16['url'],this[_0x5a01af(0x16a)]());return Promise[_0x5a01af(0x261)](_0x1a8674);}return Promise[_0x5a01af(0x360)](_0xd29c16[_0x5a01af(0x33f)]);}catch(_0x4219d4){return Promise[_0x5a01af(0x360)](_0x4219d4);}}async[_0x1d77b0(0x285)](_0x35b89d){var _0x1b28a7=_0x1d77b0;let _0x219242='';if(!an['includes'](_0x35b89d[_0x1b28a7(0x3fc)]))return this['_decreaseWaiting'](),Promise[_0x1b28a7(0x360)](new Error(z[_0x1b28a7(0x385)][_0x1b28a7(0x2e8)]));if(_0x35b89d[_0x1b28a7(0x139)]>on)return this[_0x1b28a7(0x187)](),Promise[_0x1b28a7(0x360)](new Error(z[_0x1b28a7(0x385)][_0x1b28a7(0xdd)]));try{const _0x43b002=new FormData();_0x43b002[_0x1b28a7(0x214)](_0x1b28a7(0x376),_0x35b89d);const _0x216f9f=this[_0x1b28a7(0xf7)][_0x1b28a7(0x19b)](),_0x1d8e59=_0x216f9f==null?void 0x0:_0x216f9f[_0x1b28a7(0x1f2)]();if(!_0x1d8e59)throw new Error(_0x1b28a7(0x156));const _0x31f1df=this[_0x1b28a7(0x37c)]()+_0x1b28a7(0x3ca)+_0x35b89d[_0x1b28a7(0x139)][_0x1b28a7(0x15e)]()+_0x1b28a7(0x2ca)+dt['UnitEmbedded']+_0x1b28a7(0x31c)+encodeURIComponent(_0x1d8e59),_0x1d1e1e={'body':_0x43b002},_0x1071ea=(await this[_0x1b28a7(0x2cc)][_0x1b28a7(0x3d5)](_0x31f1df,_0x1d1e1e))[_0x1b28a7(0x122)];if(typeof _0x1071ea[_0x1b28a7(0x3a4)]!='string')return this[_0x1b28a7(0x187)](),Promise['reject'](new Error(z[_0x1b28a7(0x385)][_0x1b28a7(0x2f6)]));_0x219242=_0x1071ea[_0x1b28a7(0x3a4)];}catch{return this['_decreaseWaiting'](),Promise[_0x1b28a7(0x360)](new Error(z[_0x1b28a7(0x385)][_0x1b28a7(0x2f6)]));}return new Promise((_0x50a859,_0x1fe849)=>{var _0x170d7a=_0x1b28a7;const _0x4cd362=new FileReader();_0x4cd362[_0x170d7a(0x39c)](_0x35b89d),_0x4cd362[_0x170d7a(0x33b)]=_0x454dd0=>{var _0x12ad98=_0x170d7a,_0x498be4;const _0x23e0ab=(_0x498be4=_0x454dd0[_0x12ad98(0x402)])==null?void 0x0:_0x498be4[_0x12ad98(0x31a)];if(_0x23e0ab==null){this[_0x12ad98(0x187)](),_0x1fe849(new Error(z[_0x12ad98(0x385)][_0x12ad98(0x2f6)]));return;}const _0x5002e1=o[_0x12ad98(0x13a)](0x6);_0x50a859({'imageId':_0x5002e1,'imageSourceType':z[_0x12ad98(0x3b1)][_0x12ad98(0xb0)],'source':_0x219242,'base64Cache':_0x23e0ab,'status':z[_0x12ad98(0x385)][_0x12ad98(0x39e)]}),this['_decreaseWaiting']();};});}[_0x1d77b0(0x37c)](){var _0x4d603f=_0x1d77b0,_0x40ebb4;const _0x2d9119=this['_configService'][_0x4d603f(0x267)](Y);return(_0x40ebb4=_0x2d9119==null?void 0x0:_0x2d9119[_0x4d603f(0x294)])!=null?_0x40ebb4:cn;}['_getSignURL'](){var _0x460c61=_0x1d77b0,_0x1ce59b;const _0x59f0c3=this[_0x460c61(0x143)][_0x460c61(0x267)](Y);return(_0x1ce59b=_0x59f0c3==null?void 0x0:_0x59f0c3[_0x460c61(0x2cb)])!=null?_0x1ce59b:_n;}[_0x1d77b0(0x16a)](){var _0x425671=_0x1d77b0,_0x4e7a8a;const _0x19d4e0=this[_0x425671(0x143)][_0x425671(0x267)](Y);return(_0x4e7a8a=_0x19d4e0==null?void 0x0:_0x19d4e0['downloadEndpointUrl'])!=null?_0x4e7a8a:location[_0x425671(0x3b0)];}[_0x1d77b0(0xad)](_0xcb6034,_0x44bf83){var _0xd2b744=_0x1d77b0;return _0xcb6034['replace'](_0xd2b744(0x1c7),_0x44bf83);}[_0x1d77b0(0x187)](){var _0x47e1fd=_0x1d77b0;this[_0x47e1fd(0x160)]-=0x1,this[_0x47e1fd(0x10d)][_0x47e1fd(0x19e)](this[_0x47e1fd(0x160)]);}},exports[_0x1d77b0(0x35a)]=rn([Me(0x0,o[_0x1d77b0(0x397)](K[_0x1d77b0(0x229)])),Me(0x1,o[_0x1d77b0(0x268)]),Me(0x2,o['Inject'](o[_0x1d77b0(0xb3)]))],exports['CollaborationImageIoService']);var hn=Object[_0x1d77b0(0x1c1)],ln=(_0x396d79,_0xd2bad1,_0x49f250,_0x119a5c)=>{for(var _0x58de27=_0x119a5c>0x1?void 0x0:_0x119a5c?hn(_0xd2bad1,_0x49f250):_0xd2bad1,_0x58805c=_0x396d79['length']-0x1,_0xdd8b30;_0x58805c>=0x0;_0x58805c--)(_0xdd8b30=_0x396d79[_0x58805c])&&(_0x58de27=_0xdd8b30(_0x58de27)||_0x58de27);return _0x58de27;},at=(_0x45efd9,_0xef2672)=>(_0x4515a1,_0x3e596d)=>_0xef2672(_0x4515a1,_0x3e596d,_0x45efd9);const un='/universer-api/authz';exports['MentionIoHttpService']=class{constructor(_0x5e38e8,_0x5e6deb){var _0x56fc27=_0x1d77b0;this[_0x56fc27(0x143)]=_0x5e38e8,this[_0x56fc27(0x25c)]=_0x5e6deb;}[_0x1d77b0(0x3ad)](){var _0xbeda8a=_0x1d77b0,_0x425e4d;const _0x5209ff=this[_0xbeda8a(0x143)][_0xbeda8a(0x267)](Y);return(_0x425e4d=_0x5209ff==null?void 0x0:_0x5209ff[_0xbeda8a(0x2ae)])!=null?_0x425e4d:un;}async[_0x1d77b0(0x202)](_0x2e6692){var _0x55c574=_0x1d77b0;const _0x1e21ac=this[_0x55c574(0x3ad)]()+_0x55c574(0x2ac);return{'list':[{'title':'People','mentions':(await this['_HTTPService'][_0x55c574(0x3e0)](_0x1e21ac,{'params':{'objectID':_0x2e6692['unitId'],'unitID':_0x2e6692['unitId']}}))[_0x55c574(0x122)][_0x55c574(0x14d)][_0x55c574(0x272)](_0x332638=>({'objectId':_0x332638['id'],'name':_0x332638[_0x55c574(0x1ef)][_0x55c574(0x2c0)],'metadata':{'icon':_0x332638[_0x55c574(0x1ef)][_0x55c574(0x41e)]},'label':_0x332638[_0x55c574(0x1ef)]['name'],'objectType':o[_0x55c574(0x42d)]['PERSON']})),'metadata':{},'type':o[_0x55c574(0x42d)]['PERSON']}]};}},exports[_0x1d77b0(0x184)]=ln([at(0x0,o[_0x1d77b0(0x397)](o[_0x1d77b0(0x268)])),at(0x1,o[_0x1d77b0(0x397)](K[_0x1d77b0(0x229)]))],exports[_0x1d77b0(0x184)]);var vn=Object[_0x1d77b0(0x1c1)],dn=(_0x383bf4,_0x197e08,_0x2950ba,_0x3fb81d)=>{var _0x55f75d=_0x1d77b0;for(var _0x5b9416=_0x3fb81d>0x1?void 0x0:_0x3fb81d?vn(_0x197e08,_0x2950ba):_0x197e08,_0x37f050=_0x383bf4[_0x55f75d(0x1b5)]-0x1,_0x585f94;_0x37f050>=0x0;_0x37f050--)(_0x585f94=_0x383bf4[_0x37f050])&&(_0x5b9416=_0x585f94(_0x5b9416)||_0x5b9416);return _0x5b9416;},le=(_0x58c363,_0x3b6183)=>(_0xda7263,_0xe0dee5)=>_0x3b6183(_0xda7263,_0xe0dee5,_0x58c363);let ye=class extends o[_0x1d77b0(0x308)]{constructor(_0x3be0ae,_0x2f5146,_0xf05ceb,_0x57ab89,_0x28102f){var _0x319609=_0x1d77b0;super(),this[_0x319609(0x42f)]=_0x3be0ae,this['_univerInstanceService']=_0x2f5146,this[_0x319609(0x2ff)]=_0xf05ceb,this['_collaborationSessionService']=_0x57ab89,this[_0x319609(0x1d3)]=_0x28102f,this['_initUnitPermissionChange'](),this[_0x319609(0x2a4)]();}[_0x1d77b0(0x2a4)](){var _0x57afba=_0x1d77b0;const _0x21a2bc=async _0x43a954=>{var _0x1e3414=_0x376d;(await this[_0x1e3414(0x3f5)][_0x1e3414(0x34c)](_0x43a954))[_0x1e3414(0x188)][_0x1e3414(0x102)](V[_0x1e3414(0x2c4)](_0x415546=>_0x415546[_0x1e3414(0x3da)]===E[_0x1e3414(0x29b)][_0x1e3414(0x206)]),V[_0x1e3414(0x2b9)](this[_0x1e3414(0x234)]))[_0x1e3414(0x20d)](_0x512563=>{var _0x34d458=_0x1e3414;const _0x24b44a=_0x512563,{reason:_0x5220d0}=_0x24b44a[_0x34d458(0x337)];this[_0x34d458(0x1d3)][_0x34d458(0x21a)]({'id':J[_0x34d458(0x1e4)],'data':_0x5220d0}),this[_0x34d458(0x2ff)][_0x34d458(0x136)](new Q[(_0x34d458(0x28f))](_0x43a954)['id'],!0x1),this[_0x34d458(0x3f5)][_0x34d458(0x3fe)](_0x43a954);});};j[_0x57afba(0x1e1)](this[_0x57afba(0xf7)]['getTypeOfUnitAdded$'](o[_0x57afba(0x149)][_0x57afba(0x22a)]),this['_univerInstanceService'][_0x57afba(0x3f3)](o['UniverInstanceType'][_0x57afba(0x411)]))[_0x57afba(0x102)](V[_0x57afba(0x272)](_0x4d8519=>_0x4d8519[_0x57afba(0x1f2)]()),V[_0x57afba(0x2c4)](_0x58cd7c=>!o[_0x57afba(0x2d3)](_0x58cd7c)),V[_0x57afba(0x2b9)](this[_0x57afba(0x234)]))['subscribe'](_0x343d79=>{_0x21a2bc(_0x343d79);});}[_0x1d77b0(0x377)](){var _0x414750=_0x1d77b0;const _0x5bf6ba=async _0x1c3548=>{var _0x105a1e=_0x376d;const _0x4f41c0=await this[_0x105a1e(0x3f5)][_0x105a1e(0x34c)](_0x1c3548),_0x12aade=this[_0x105a1e(0x42f)][_0x105a1e(0x3e0)](Q[_0x105a1e(0x2e0)]);_0x4f41c0[_0x105a1e(0x188)][_0x105a1e(0x102)](V[_0x105a1e(0x2c4)](_0x537684=>_0x537684[_0x105a1e(0x3da)]===E[_0x105a1e(0x29b)][_0x105a1e(0x274)]),V[_0x105a1e(0x2b9)](this[_0x105a1e(0x234)]))['subscribe'](_0x5e0c78=>{var _0x4ba914=_0x105a1e;const _0x5c96e4=_0x5e0c78,{objectId:_0x2b0636}=_0x5c96e4['data'];_0x2b0636===_0x1c3548?_0x12aade[_0x4ba914(0x3d8)](_0x1c3548):_0x12aade[_0x4ba914(0x295)](_0x1c3548,_0x2b0636);});};j[_0x414750(0x1e1)](this['_univerInstanceService'][_0x414750(0x3f3)](o['UniverInstanceType'][_0x414750(0x22a)]))['pipe'](V['map'](_0x49951a=>_0x49951a[_0x414750(0x1f2)]()),V[_0x414750(0x2c4)](_0x1f0a81=>!o[_0x414750(0x2d3)](_0x1f0a81)),V[_0x414750(0x2b9)](this[_0x414750(0x234)]))['subscribe'](_0x5c20f7=>{_0x5bf6ba(_0x5c20f7);});}};ye=dn([le(0x0,o[_0x1d77b0(0x397)](o[_0x1d77b0(0x3b8)])),le(0x1,o[_0x1d77b0(0xb3)]),le(0x2,o[_0x1d77b0(0xac)]),le(0x3,o[_0x1d77b0(0x397)](exports[_0x1d77b0(0x278)])),le(0x4,o[_0x1d77b0(0x397)](ee))],ye);var Sn=Object[_0x1d77b0(0x1c1)],In=(_0x4cbe38,_0x1c0fff,_0x488b73,_0x33e0c1)=>{for(var _0x5973b4=_0x33e0c1>0x1?void 0x0:_0x33e0c1?Sn(_0x1c0fff,_0x488b73):_0x1c0fff,_0x304ca9=_0x4cbe38['length']-0x1,_0x1a52dd;_0x304ca9>=0x0;_0x304ca9--)(_0x1a52dd=_0x4cbe38[_0x304ca9])&&(_0x5973b4=_0x1a52dd(_0x5973b4)||_0x5973b4);return _0x5973b4;},ot=(_0x19ffb1,_0x4e8a17)=>(_0x53ef23,_0x1a0354)=>_0x4e8a17(_0x53ef23,_0x1a0354,_0x19ffb1);exports[_0x1d77b0(0xc5)]=class{constructor(_0xf54cee,_0x417ed9){var _0x5b3df8=_0x1d77b0;this[_0x5b3df8(0x143)]=_0xf54cee,this[_0x5b3df8(0x2cc)]=_0x417ed9;}async[_0x1d77b0(0x307)](_0x53d188,_0x4dabc5){var _0x1364ef=_0x1d77b0,_0x4cc0af;const {unitID:_0xc5e534,type:_0x56664a,revision:_0x1a527e=0x0}=_0x4dabc5,_0x4d9d2f=this[_0x1364ef(0x38a)]()+'/'+_0x56664a+'/unit/'+_0xc5e534+_0x1364ef(0x251)+_0x1a527e,_0x273b94=(await this['_httpService']['get'](_0x4d9d2f))[_0x1364ef(0x122)],_0x48e12a=(_0x4cc0af=_0x273b94['snapshot'])==null?void 0x0:_0x4cc0af[_0x1364ef(0x380)];if(_0x48e12a){const _0x4f6179=_0x48e12a==null?void 0x0:_0x48e12a['originalMeta'],_0x1a953a=E[_0x1364ef(0x353)]['encode'](E['b64DecodeUnicode'](_0x4f6179));_0x48e12a['originalMeta']=_0x1a953a,Object[_0x1364ef(0x28d)](_0x48e12a[_0x1364ef(0x3f4)])[_0x1364ef(0xc2)](([,_0x4ccc4a])=>{var _0x319ab9=_0x1364ef;const _0x178277=_0x4ccc4a[_0x319ab9(0xfb)],_0x113441=E[_0x319ab9(0x353)][_0x319ab9(0x3d3)](E[_0x319ab9(0x3c1)](_0x178277));_0x4ccc4a['originalMeta']=_0x113441;});}return _0x273b94;}async['getSheetBlock'](_0x3a2335,_0x522d8b){var _0x1c5365=_0x1d77b0;const {unitID:_0x10a060,type:_0x201bd4,blockID:_0x10bd0c}=_0x522d8b,_0x3172c3=this[_0x1c5365(0x240)]()+'/'+_0x201bd4+'/unit/'+_0x10a060+_0x1c5365(0x3b2)+_0x10bd0c;return(await this['_httpService'][_0x1c5365(0x3e0)](_0x3172c3))[_0x1c5365(0x122)];}async[_0x1d77b0(0x138)](_0x124070,_0x4c4056){var _0xbf4069=_0x1d77b0;const {unitID:_0x58fc72,type:_0x5ac1ca,blockID:_0x6a15fc}=_0x4c4056,_0x385f28=this[_0xbf4069(0x240)]()+_0xbf4069(0x3b2)+_0x5ac1ca+_0xbf4069(0x19d)+_0x58fc72+_0xbf4069(0x3b2)+_0x6a15fc;return(await this['_httpService'][_0xbf4069(0x3e0)](_0x385f28))['body'];}async[_0x1d77b0(0x2b4)](_0x204504,_0x3d130b){var _0x1cd1cf=_0x1d77b0;const {unitID:_0xe982c9,type:_0x5c8d28,from:_0x10adcf,to:_0x432bfa}=_0x3d130b,_0x45a36d=this[_0x1cd1cf(0x240)]()+'/'+_0x5c8d28+_0x1cd1cf(0x19d)+_0xe982c9+'/fetchmissing?from='+_0x10adcf+'&to='+_0x432bfa;return(await this['_httpService']['get'](_0x45a36d))[_0x1cd1cf(0x122)];}[_0x1d77b0(0x38a)](){var _0xfa94ce=_0x1d77b0,_0xd88854;return(_0xd88854=this[_0xfa94ce(0x143)][_0xfa94ce(0x267)](Ut))!=null?_0xd88854:this[_0xfa94ce(0x240)]();}[_0x1d77b0(0x240)](){var _0x57003f=_0x1d77b0,_0x2e0b63;const _0x4445ca=this[_0x57003f(0x143)][_0x57003f(0x267)](Y);return(_0x2e0b63=_0x4445ca==null?void 0x0:_0x4445ca[_0x57003f(0x1d7)])!=null?_0x2e0b63:yt;}async[_0x1d77b0(0x164)](_0x9b503a,_0x460b3d){var _0x3ad514=_0x1d77b0;const _0x263acd='/universer-api/snapshot/'+_0x460b3d[_0x3ad514(0x3fc)]+_0x3ad514(0x19d)+_0x460b3d['unitID']+_0x3ad514(0x21b);return(await this[_0x3ad514(0x2cc)][_0x3ad514(0x3e0)](_0x263acd,{'params':{'resourceId':JSON['stringify'](_0x460b3d[_0x3ad514(0x31e)])}}))[_0x3ad514(0x122)];}['saveSnapshot'](){var _0x7690af=_0x1d77b0;throw new Error(_0x7690af(0x238));}['updateSnapshot'](){var _0x41895f=_0x1d77b0;throw new Error(_0x41895f(0x238));}['saveSheetBlock'](){var _0x1f10e5=_0x1d77b0;throw new Error(_0x1f10e5(0x238));}[_0x1d77b0(0x389)](){var _0x5ec2ca=_0x1d77b0;throw new Error(_0x5ec2ca(0x238));}[_0x1d77b0(0x314)](){var _0x475e21=_0x1d77b0;throw new Error(_0x475e21(0x238));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports[_0x1d77b0(0xc5)]=In([ot(0x0,o[_0x1d77b0(0x268)]),ot(0x1,o[_0x1d77b0(0x397)](K[_0x1d77b0(0x229)]))],exports['SnapshotServerOverHTTPService']);var fn=Object['getOwnPropertyDescriptor'],En=(_0x418a42,_0x222f11,_0x3f3734,_0x2345d7)=>{var _0x1d3108=_0x1d77b0;for(var _0x77037b=_0x2345d7>0x1?void 0x0:_0x2345d7?fn(_0x222f11,_0x3f3734):_0x222f11,_0x2361d0=_0x418a42[_0x1d3108(0x1b5)]-0x1,_0x38eece;_0x2361d0>=0x0;_0x2361d0--)(_0x38eece=_0x418a42[_0x2361d0])&&(_0x77037b=_0x38eece(_0x77037b)||_0x77037b);return _0x77037b;},ue=(_0x2fa1ed,_0x47df64)=>(_0x4cfc62,_0x3fdd5f)=>_0x47df64(_0x4cfc62,_0x3fdd5f,_0x2fa1ed);exports['CollaborativeUndoRedoService']=class extends o[_0x1d77b0(0x192)]{constructor(_0x57125d,_0x1e45ac,_0x4dd70d,_0x3f3e00,_0x5e219c){var _0x5aa1e8=_0x1d77b0;super(_0x57125d,_0x1e45ac,_0x4dd70d),this[_0x5aa1e8(0x277)]=_0x3f3e00,this[_0x5aa1e8(0x368)]=_0x5e219c;}['transformUndoRedo'](_0x2be48f,_0x285886){var _0x3a371b=_0x1d77b0;const _0x1b9115=this[_0x3a371b(0x32d)](_0x2be48f);if(_0x1b9115)try{const _0x147a72=this[_0x3a371b(0x264)](_0x1b9115,_0x285886);this[_0x3a371b(0x371)](_0x2be48f,_0x147a72);}catch(_0x5888b3){this[_0x3a371b(0x368)][_0x3a371b(0x33f)](_0x3a371b(0x2df),_0x5888b3),this[_0x3a371b(0x393)](_0x2be48f);}const _0x3b953f=this['_getRedoStack'](_0x2be48f);if(_0x3b953f)try{const _0x253c7c=this['_transformStack'](_0x3b953f,_0x285886);this[_0x3a371b(0x326)](_0x2be48f,_0x253c7c);}catch(_0x37bcfa){this[_0x3a371b(0x368)]['error'](_0x37bcfa),this[_0x3a371b(0x20e)](_0x2be48f);}}[_0x1d77b0(0x393)](_0x23cb68){var _0x3313db=_0x1d77b0;const _0x52bed2=this[_0x3313db(0x32d)](_0x23cb68);_0x52bed2&&(_0x52bed2[_0x3313db(0x1b5)]=0x0,this[_0x3313db(0x39d)]());}['_clearRedo'](_0x621853){var _0x6573e8=_0x1d77b0;const _0x723e2=this['_getRedoStack'](_0x621853);_0x723e2&&(_0x723e2[_0x6573e8(0x1b5)]=0x0,this[_0x6573e8(0x39d)]());}[_0x1d77b0(0x371)](_0x1a2113,_0x434d3d){var _0x47d448=_0x1d77b0;this[_0x47d448(0x364)][_0x47d448(0x16d)](_0x1a2113,_0x434d3d),this[_0x47d448(0x39d)]();}[_0x1d77b0(0x326)](_0x2c6793,_0x400ec9){var _0x169133=_0x1d77b0;this[_0x169133(0x282)][_0x169133(0x16d)](_0x2c6793,_0x400ec9),this[_0x169133(0x39d)]();}[_0x1d77b0(0x264)](_0xea8c3e,_0x129fb1){var _0x42c995=_0x1d77b0;const _0x485be1=[];let _0x51a266=_0x129fb1,_0x52c0d8=_0x129fb1;for(let _0x17c9cb=_0xea8c3e[_0x42c995(0x1b5)]-0x1;_0x17c9cb>=0x0;_0x17c9cb--){const {unitID:_0x439599,undoMutations:_0x3f3991,redoMutations:_0xdca3d9}=_0xea8c3e[_0x17c9cb],_0x46b636=this[_0x42c995(0x277)][_0x42c995(0x27c)](_0x51a266,_0x3f3991),_0x5d9051=this[_0x42c995(0x277)][_0x42c995(0x27c)](_0x52c0d8,_0xdca3d9);if(E['isTransformMutationsWithChangesetFailure'](_0x46b636)||E['isTransformMutationsWithChangesetFailure'](_0x5d9051)){this[_0x42c995(0x368)]['error'](_0x42c995(0x2df),'transformStack\x20failed!',_0x46b636,_0x5d9051);break;}_0x51a266=_0x46b636[_0x42c995(0x388)],_0x52c0d8=_0x5d9051[_0x42c995(0x388)],_0x485be1['push']({'unitID':_0x439599,'undoMutations':_0x46b636[_0x42c995(0x1cb)],'redoMutations':_0x5d9051[_0x42c995(0x1cb)]});}return _0x485be1[_0x42c995(0xf2)]();}},exports[_0x1d77b0(0x1e7)]=En([ue(0x0,o['IUniverInstanceService']),ue(0x1,o[_0x1d77b0(0x1b6)]),ue(0x2,o['IContextService']),ue(0x3,E[_0x1d77b0(0xea)]),ue(0x4,o['ILogService'])],exports[_0x1d77b0(0x1e7)]);var pn=Object[_0x1d77b0(0x3eb)],mn=Object[_0x1d77b0(0x1c1)],gn=(_0x49c29e,_0x37d30c,_0x56fb9d)=>_0x37d30c in _0x49c29e?pn(_0x49c29e,_0x37d30c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x56fb9d}):_0x49c29e[_0x37d30c]=_0x56fb9d,Tn=(_0x38902d,_0x2ede9d,_0x3f030e,_0x1021a4)=>{for(var _0x4213b8=_0x1021a4>0x1?void 0x0:_0x1021a4?mn(_0x2ede9d,_0x3f030e):_0x2ede9d,_0x207c59=_0x38902d['length']-0x1,_0x2e6b20;_0x207c59>=0x0;_0x207c59--)(_0x2e6b20=_0x38902d[_0x207c59])&&(_0x4213b8=_0x2e6b20(_0x4213b8)||_0x4213b8);return _0x4213b8;},we=(_0x29c9c5,_0x1ad0cf)=>(_0x4e0aeb,_0x19df60)=>_0x1ad0cf(_0x4e0aeb,_0x19df60,_0x29c9c5),Cn=(_0x23d212,_0xf8a19e,_0x4f7308)=>gn(_0x23d212,_0xf8a19e+'',_0x4f7308);const On=_0x1d77b0(0x1ac);exports[_0x1d77b0(0xf6)]=class extends o[_0x1d77b0(0x3de)]{constructor(_0x127e71,_0xa40233,_0x2959a2,_0x461614){var _0x5337a9=_0x1d77b0;super(),A(this,_0x5337a9(0x38c)),(this['_logService']=_0xa40233,this['_injector']=_0x2959a2,this[_0x5337a9(0x143)]=_0x461614);const {..._0x2cf3eb}=o['merge']({},Qt,_0x127e71);if(!_0x2cf3eb[_0x5337a9(0x189)])throw new Error(_0x5337a9(0x142));this[_0x5337a9(0x38c)]=_0x2cf3eb,this['_configService']['setConfig'](Y,_0x2cf3eb);}[_0x1d77b0(0x260)](){var _0x1fbb94=_0x1d77b0;this[_0x1fbb94(0x3cc)](),this[_0x1fbb94(0x323)]();}[_0x1d77b0(0x3cc)](){var _0x30bf4c=_0x1d77b0,_0x6938d9,_0x11b016;this[_0x30bf4c(0x42f)]['has'](o[_0x30bf4c(0xbb)])&&this[_0x30bf4c(0x368)][_0x30bf4c(0x33f)](_0x30bf4c(0x3c9),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x46f9b0=o['mergeOverrideWithDependencies']([[o[_0x30bf4c(0xbb)],{'useClass':exports[_0x30bf4c(0x1e7)]}],[exports['CollaborationSessionService']],[exports[_0x30bf4c(0x2de)]],[exports[_0x30bf4c(0xe2)]],[Ne],[De],[$e],[ye],[ee],[exports[_0x30bf4c(0x104)]],[Fe,{'useClass':this[_0x30bf4c(0x38c)][_0x30bf4c(0x189)]}],[E[_0x30bf4c(0x116)],{'useClass':exports[_0x30bf4c(0xc5)]}],[o[_0x30bf4c(0x219)],{'useClass':exports['AuthzIoHttpService']}],[z[_0x30bf4c(0x1e0)],{'useClass':exports[_0x30bf4c(0x35a)]}],[o[_0x30bf4c(0x211)],{'useClass':exports[_0x30bf4c(0x184)]}],[exports[_0x30bf4c(0x3c2)]],[xe]],(_0x6938d9=this[_0x30bf4c(0x38c)])==null?void 0x0:_0x6938d9[_0x30bf4c(0x1f1)]);if(!((_0x11b016=this[_0x30bf4c(0x38c)])!=null&&_0x11b016[_0x30bf4c(0x29a)])){const _0x1710ee=_0x46f9b0[_0x30bf4c(0x3b3)](([_0x120a75])=>_0x120a75===ve);_0x1710ee!==-0x1&&_0x46f9b0[_0x30bf4c(0x290)](_0x1710ee,0x1);}o[_0x30bf4c(0x210)](this[_0x30bf4c(0x42f)],_0x46f9b0);}['_initDependencies'](){var _0x424e56=_0x1d77b0,_0x1e47d7,_0x3f4fb5,_0x19da93;this[_0x424e56(0x42f)][_0x424e56(0x3e0)](K[_0x424e56(0x229)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':K[_0x424e56(0x2f0)]({'maxParallel':0x6})}),(_0x1e47d7=this[_0x424e56(0x38c)])!=null&&_0x1e47d7['enableOfflineEditing']||(_0x3f4fb5=this['_injector'][_0x424e56(0x3e0)](q,o[_0x424e56(0x2b1)][_0x424e56(0x1fd)]))==null||_0x3f4fb5[_0x424e56(0xc7)](),(_0x19da93=this[_0x424e56(0x38c)])!=null&&_0x19da93[_0x424e56(0x354)]&&o[_0x424e56(0x124)](this[_0x424e56(0x42f)],[[Ne]]),o['touchDependencies'](this[_0x424e56(0x42f)],[[De],[exports['CollaborationController']],[ye]]);}},Cn(exports[_0x1d77b0(0xf6)],'pluginName',On),exports[_0x1d77b0(0xf6)]=Tn([o[_0x1d77b0(0xb1)](E[_0x1d77b0(0x23f)],K[_0x1d77b0(0xff)]),we(0x1,o[_0x1d77b0(0x412)]),we(0x2,o[_0x1d77b0(0x397)](o['Injector'])),we(0x3,o['IConfigService'])],exports[_0x1d77b0(0xf6)]),exports[_0x1d77b0(0x2a3)]=Y,exports[_0x1d77b0(0x1d8)]=je,exports[_0x1d77b0(0xbc)]=J,exports['CollaborationUIEventService']=ee,exports['CommentService']=$e,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=_t,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=Bt,exports[_0x1d77b0(0x243)]=Pt,exports['HEARTBEAT_INTERVAL_KEY']=ht,exports['HEARTBEAT_TIMEOUT_KEY']=ke,exports[_0x1d77b0(0x32c)]=Fe,exports[_0x1d77b0(0x3cd)]=q,exports[_0x1d77b0(0x347)]=pt,exports[_0x1d77b0(0x3d2)]=ve,exports['LOCAL_CACHE_INTERVAL']=kt,exports['LOCAL_CACHE_INTERVAL_KEY']=xt,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=jt,exports[_0x1d77b0(0x165)]=ut,exports[_0x1d77b0(0x106)]=se,exports[_0x1d77b0(0x341)]=He,exports[_0x1d77b0(0x2d1)]=mt,exports['getLocalCacheKey']=zt,exports[_0x1d77b0(0xec)]=gt;