@univerjs-pro/collaboration-client 0.15.3-insiders.20260131-b9b8805 → 0.15.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/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 +10 -10
  54. package/lib/cjs/locale/sk-SK.js +0 -1
  55. package/lib/es/locale/sk-SK.js +0 -1
  56. package/lib/locale/sk-SK.js +0 -1
  57. package/lib/types/locale/sk-SK.d.ts +0 -3
  58. package/lib/umd/locale/sk-SK.js +0 -1
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x223c(_0x23b75a,_0x2c86ad){_0x23b75a=_0x23b75a-0x182;var _0x2f057f=_0x2f05();var _0x223cc5=_0x2f057f[_0x23b75a];return _0x223cc5;}var _0x2f1e4f=_0x223c;(function(_0xc41d81,_0x45f8de){var _0x2de3c5=_0x223c,_0xa11702=_0xc41d81();while(!![]){try{var _0x2f0517=parseInt(_0x2de3c5(0x41f))/0x1+parseInt(_0x2de3c5(0x1f6))/0x2+parseInt(_0x2de3c5(0x406))/0x3*(-parseInt(_0x2de3c5(0x1c8))/0x4)+-parseInt(_0x2de3c5(0x239))/0x5+parseInt(_0x2de3c5(0x44b))/0x6+parseInt(_0x2de3c5(0x268))/0x7+parseInt(_0x2de3c5(0x4ea))/0x8*(-parseInt(_0x2de3c5(0x223))/0x9);if(_0x2f0517===_0x45f8de)break;else _0xa11702['push'](_0xa11702['shift']());}catch(_0x1a1460){_0xa11702['push'](_0xa11702['shift']());}}}(_0x2f05,0x457db));var Rt=Object[_0x2f1e4f(0x456)],Nt=(_0x43e655,_0x24c8b0,_0x75a118)=>_0x24c8b0 in _0x43e655?Rt(_0x43e655,_0x24c8b0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x75a118}):_0x43e655[_0x24c8b0]=_0x75a118,A=(_0x4dd387,_0x31d12a,_0x434e70)=>Nt(_0x4dd387,typeof _0x31d12a!=_0x2f1e4f(0x38d)?_0x31d12a+'':_0x31d12a,_0x434e70);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x2f1e4f(0x306)});const E=require('@univerjs-pro/collaboration'),o=require('@univerjs/core'),ct=require('@univerjs/docs'),Q=require('@univerjs/sheets'),j=require('rxjs'),Dt=require('@univerjs/telemetry'),V=require('rxjs/operators'),K=require('@univerjs/network'),_t=require('@univerjs-pro/license'),z=require('@univerjs/drawing'),yt='/universer-api/snapshot',Ut=_0x2f1e4f(0x359),At=0x7d0,ht=_0x2f1e4f(0x3f2),Pt=_0x2f1e4f(0x3b8),lt=_0x2f1e4f(0x4ef),Lt=0x7530,ke=_0x2f1e4f(0x271),ut=0x4e20,Mt=0x4e20,vt=_0x2f1e4f(0x2a3),wt=0x3,xt=_0x2f1e4f(0x4a0),kt=0x3e8,$t=_0x2f1e4f(0x42e),Ht=_0x2f1e4f(0x3b6),jt=_0x2f1e4f(0x1de),Bt=_0x2f1e4f(0x396);var dt=(_0x2f4095=>(_0x2f4095[_0x2f4095[_0x2f1e4f(0x486)]=0x0]=_0x2f1e4f(0x486),_0x2f4095[_0x2f4095['OK']=0x1]='OK',_0x2f4095[_0x2f4095[_0x2f1e4f(0x47c)]=0x2]='INTERNAL_ERROR',_0x2f4095[_0x2f4095[_0x2f1e4f(0x449)]=0x3]=_0x2f1e4f(0x449),_0x2f4095[_0x2f4095[_0x2f1e4f(0x48d)]=0x4]=_0x2f1e4f(0x48d),_0x2f4095[_0x2f4095[_0x2f1e4f(0x346)]=0x5]=_0x2f1e4f(0x346),_0x2f4095[_0x2f4095[_0x2f1e4f(0x1e0)]=0x6]=_0x2f1e4f(0x1e0),_0x2f4095[_0x2f4095[_0x2f1e4f(0x375)]=0x7]=_0x2f1e4f(0x375),_0x2f4095[_0x2f4095[_0x2f1e4f(0x360)]=0x8]=_0x2f1e4f(0x360),_0x2f4095[_0x2f4095[_0x2f1e4f(0x497)]=0x9]='COMPLETION_FINISHED',_0x2f4095[_0x2f4095['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x2f4095[_0x2f4095[_0x2f1e4f(0x28a)]=0xb]=_0x2f1e4f(0x28a),_0x2f4095[_0x2f4095[_0x2f1e4f(0x35e)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x2f4095[_0x2f4095['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x2f4095[_0x2f4095[_0x2f1e4f(0x4e3)]=0xe]=_0x2f1e4f(0x4e3),_0x2f4095[_0x2f4095[_0x2f1e4f(0x402)]=0xf]=_0x2f1e4f(0x402),_0x2f4095[_0x2f4095['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x2f1e4f(0x1ea),_0x2f4095[_0x2f4095[_0x2f1e4f(0x41c)]=0x64]=_0x2f1e4f(0x41c),_0x2f4095[_0x2f4095[_0x2f1e4f(0x467)]=0x65]=_0x2f1e4f(0x467),_0x2f4095[_0x2f4095[_0x2f1e4f(0x20e)]=0xc9]='USER_NOT_FOUND',_0x2f4095[_0x2f4095[_0x2f1e4f(0x32d)]=0xca]=_0x2f1e4f(0x32d),_0x2f4095[_0x2f4095[_0x2f1e4f(0x399)]=0x1389]=_0x2f1e4f(0x399),_0x2f4095[_0x2f4095[_0x2f1e4f(0x4a5)]=0x1771]=_0x2f1e4f(0x4a5),_0x2f4095[_0x2f4095[_0x2f1e4f(0x394)]=0x1772]=_0x2f1e4f(0x394),_0x2f4095[_0x2f4095[_0x2f1e4f(0x440)]=0x1773]=_0x2f1e4f(0x440),_0x2f4095[_0x2f4095[_0x2f1e4f(0x432)]=0x1b59]=_0x2f1e4f(0x432),_0x2f4095[_0x2f4095['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2f1e4f(0x4eb),_0x2f4095[_0x2f4095[_0x2f1e4f(0x492)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2f4095[_0x2f4095[_0x2f1e4f(0x1e5)]=0x1b5c]=_0x2f1e4f(0x1e5),_0x2f4095[_0x2f4095[_0x2f1e4f(0x37a)]=0x1b5d]=_0x2f1e4f(0x37a),_0x2f4095[_0x2f4095[_0x2f1e4f(0x275)]=0x1f41]=_0x2f1e4f(0x275),_0x2f4095[_0x2f4095[_0x2f1e4f(0x19b)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2f4095[_0x2f4095[_0x2f1e4f(0x285)]=0x232a]=_0x2f1e4f(0x285),_0x2f4095[_0x2f4095[_0x2f1e4f(0x1f3)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2f4095[_0x2f4095[_0x2f1e4f(0x205)]=0x232c]=_0x2f1e4f(0x205),_0x2f4095[_0x2f4095['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2f1e4f(0x503),_0x2f4095[_0x2f4095[_0x2f1e4f(0x25a)]=0x2711]=_0x2f1e4f(0x25a),_0x2f4095[_0x2f4095[_0x2f1e4f(0x47d)]=0x2712]=_0x2f1e4f(0x47d),_0x2f4095[_0x2f4095[_0x2f1e4f(0x1e4)]=0x2713]=_0x2f1e4f(0x1e4),_0x2f4095[_0x2f4095[_0x2f1e4f(0x349)]=0x2714]=_0x2f1e4f(0x349),_0x2f4095[_0x2f4095[_0x2f1e4f(0x4f2)]=0x271a]=_0x2f1e4f(0x4f2),_0x2f4095[_0x2f4095[_0x2f1e4f(0x498)]=0x271b]=_0x2f1e4f(0x498),_0x2f4095[_0x2f4095[_0x2f1e4f(0x21e)]=0x271c]=_0x2f1e4f(0x21e),_0x2f4095[_0x2f4095['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x2f1e4f(0x297),_0x2f4095[_0x2f4095[_0x2f1e4f(0x1cb)]=0x271e]=_0x2f1e4f(0x1cb),_0x2f4095[_0x2f4095[_0x2f1e4f(0x2a8)]=0x271f]=_0x2f1e4f(0x2a8),_0x2f4095[_0x2f4095['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x2f1e4f(0x417),_0x2f4095[_0x2f4095['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x2f1e4f(0x281),_0x2f4095[_0x2f4095['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x2f1e4f(0x195),_0x2f4095[_0x2f4095[_0x2f1e4f(0x218)]=0x2ee2]=_0x2f1e4f(0x218),_0x2f4095[_0x2f4095[_0x2f1e4f(0x2ef)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2f4095[_0x2f4095['USER_NOT_INVITED_CODE']=0x2ee4]=_0x2f1e4f(0x1e3),_0x2f4095[_0x2f4095[_0x2f1e4f(0x2b0)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x2f4095[_0x2f4095[_0x2f1e4f(0x3af)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x2f4095[_0x2f4095['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2f4095[_0x2f4095[_0x2f1e4f(0x290)]=0x32cb]=_0x2f1e4f(0x290),_0x2f4095[_0x2f4095[_0x2f1e4f(0x36f)]=0x36b1]=_0x2f1e4f(0x36f),_0x2f4095[_0x2f4095['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x2f4095[_0x2f4095['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x2f1e4f(0x220),_0x2f4095[_0x2f4095[_0x2f1e4f(0x34c)]=0x36b4]=_0x2f1e4f(0x34c),_0x2f4095[_0x2f4095['ENTITLE_INVALID_COUPON_CODE']=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x2f4095[_0x2f4095['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x2f1e4f(0x2f4),_0x2f4095[_0x2f4095[_0x2f1e4f(0x2c9)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x2f4095[_0x2f4095[_0x2f1e4f(0x517)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x2f4095[_0x2f4095['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x2f1e4f(0x453),_0x2f4095[_0x2f4095['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x2f4095[_0x2f4095['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x2f4095[_0x2f4095[_0x2f1e4f(0x2d0)]=0x37dd]=_0x2f1e4f(0x2d0),_0x2f4095[_0x2f4095[_0x2f1e4f(0x201)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x2f4095[_0x2f4095['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x2f1e4f(0x398),_0x2f4095[_0x2f4095[_0x2f1e4f(0x305)]=0x3a9b]=_0x2f1e4f(0x305),_0x2f4095[_0x2f4095[_0x2f1e4f(0x25e)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x2f4095[_0x2f4095[_0x2f1e4f(0x3d9)]=0x3a9d]=_0x2f1e4f(0x3d9),_0x2f4095[_0x2f4095[_0x2f1e4f(0x38c)]=0x3a9e]=_0x2f1e4f(0x38c),_0x2f4095[_0x2f4095[_0x2f1e4f(0x335)]=0x3a9f]=_0x2f1e4f(0x335),_0x2f4095[_0x2f4095[_0x2f1e4f(0x273)]=0x3e81]=_0x2f1e4f(0x273),_0x2f4095[_0x2f4095['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x2f4095))(dt||{}),X=(_0x598f81=>(_0x598f81[_0x598f81[_0x2f1e4f(0x3ed)]=0x0]=_0x2f1e4f(0x3ed),_0x598f81[_0x598f81[_0x2f1e4f(0x376)]=0x1]=_0x2f1e4f(0x376),_0x598f81[_0x598f81[_0x2f1e4f(0x1db)]=0x2]=_0x2f1e4f(0x1db),_0x598f81[_0x598f81['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x598f81[_0x598f81[_0x2f1e4f(0x4cb)]=0x4]=_0x2f1e4f(0x4cb),_0x598f81[_0x598f81[_0x2f1e4f(0x224)]=-0x1]='UNRECOGNIZED',_0x598f81))(X||{}),W=(_0x5ed1b1=>(_0x5ed1b1[_0x5ed1b1[_0x2f1e4f(0x3a0)]=0x0]='UNKNOWN_CMD',_0x5ed1b1[_0x5ed1b1[_0x2f1e4f(0x358)]=0x1]=_0x2f1e4f(0x358),_0x5ed1b1[_0x5ed1b1[_0x2f1e4f(0x23d)]=0x2]=_0x2f1e4f(0x23d),_0x5ed1b1[_0x5ed1b1[_0x2f1e4f(0x479)]=0x3]=_0x2f1e4f(0x479),_0x5ed1b1[_0x5ed1b1['INGEST']=0x4]='INGEST',_0x5ed1b1[_0x5ed1b1[_0x2f1e4f(0x3ab)]=0x5]=_0x2f1e4f(0x3ab),_0x5ed1b1[_0x5ed1b1[_0x2f1e4f(0x38b)]=0x6]=_0x2f1e4f(0x38b),_0x5ed1b1[_0x5ed1b1['UNRECOGNIZED']=-0x1]=_0x2f1e4f(0x224),_0x5ed1b1))(W||{}),re=(_0x591313=>(_0x591313[_0x591313[_0x2f1e4f(0x2ea)]=0x0]=_0x2f1e4f(0x2ea),_0x591313[_0x591313['OK']=0x1]='OK',_0x591313[_0x591313[_0x2f1e4f(0x3be)]=0x2]=_0x2f1e4f(0x3be),_0x591313[_0x591313['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x591313[_0x591313[_0x2f1e4f(0x45d)]=0x3ea]=_0x2f1e4f(0x45d),_0x591313[_0x591313[_0x2f1e4f(0x341)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x591313[_0x591313[_0x2f1e4f(0x41b)]=0x3ec]=_0x2f1e4f(0x41b),_0x591313[_0x591313[_0x2f1e4f(0x224)]=-0x1]='UNRECOGNIZED',_0x591313))(re||{}),St=(_0x76e566=>(_0x76e566[_0x76e566['Undefined']=0x0]=_0x2f1e4f(0x47e),_0x76e566[_0x76e566[_0x2f1e4f(0x1ab)]=0x1]=_0x2f1e4f(0x1ab),_0x76e566[_0x76e566[_0x2f1e4f(0x1c1)]=0x2]=_0x2f1e4f(0x1c1),_0x76e566[_0x76e566['UnitEmbedded']=0x3]='UnitEmbedded',_0x76e566[_0x76e566[_0x2f1e4f(0x1c7)]=0x4]=_0x2f1e4f(0x1c7),_0x76e566[_0x76e566[_0x2f1e4f(0x2a2)]=0x5]=_0x2f1e4f(0x2a2),_0x76e566[_0x76e566[_0x2f1e4f(0x36b)]=0x6]=_0x2f1e4f(0x36b),_0x76e566[_0x76e566[_0x2f1e4f(0x224)]=-0x1]=_0x2f1e4f(0x224),_0x76e566))(St||{});const Ft='collaboration_new_changeset';function Vt(_0x2f02d0){var _0x30b864=_0x2f1e4f;return JSON[_0x30b864(0x1dd)](_0x2f02d0)[_0x30b864(0x237)];}var J=(_0x4c929a=>(_0x4c929a[_0x2f1e4f(0x4b8)]=_0x2f1e4f(0x4b8),_0x4c929a[_0x2f1e4f(0x449)]=_0x2f1e4f(0x449),_0x4c929a['CONFLICT']='CONFLICT',_0x4c929a[_0x2f1e4f(0x283)]=_0x2f1e4f(0x283),_0x4c929a['JOIN_ROOM_FAILED']=_0x2f1e4f(0x3b3),_0x4c929a[_0x2f1e4f(0x4ad)]=_0x2f1e4f(0x4ad),_0x4c929a[_0x2f1e4f(0x1c0)]=_0x2f1e4f(0x1c0),_0x4c929a[_0x2f1e4f(0x388)]='SUBMIT_CHANGESET_TIMEOUT',_0x4c929a))(J||{});class ee{constructor(){var _0x26ff4a=_0x2f1e4f;A(this,_0x26ff4a(0x4d7),new j[(_0x26ff4a(0x452))]()),A(this,_0x26ff4a(0x2be),this['_event$']['asObservable']());}[_0x2f1e4f(0x18f)](_0x10c6bf){var _0x3d251a=_0x2f1e4f;this[_0x3d251a(0x4d7)][_0x3d251a(0x352)](_0x10c6bf);}}class $e{constructor(){var _0x425de6=_0x2f1e4f;A(this,_0x425de6(0x3d6),new j[(_0x425de6(0x452))]()),A(this,_0x425de6(0x4b4),this['_commentUpdate$']['asObservable']());}[_0x2f1e4f(0x3cd)](_0x106843){var _0x3f1550=_0x2f1e4f;this[_0x3f1550(0x3d6)]['next'](_0x106843);}}var Wt=Object[_0x2f1e4f(0x4dc)],Gt=(_0x140a55,_0x20503b,_0x277fff,_0x3cfbb8)=>{var _0x29bab0=_0x2f1e4f;for(var _0x16033a=_0x3cfbb8>0x1?void 0x0:_0x3cfbb8?Wt(_0x20503b,_0x277fff):_0x20503b,_0x18fed7=_0x140a55[_0x29bab0(0x237)]-0x1,_0x529df2;_0x18fed7>=0x0;_0x18fed7--)(_0x529df2=_0x140a55[_0x18fed7])&&(_0x16033a=_0x529df2(_0x16033a)||_0x16033a);return _0x16033a;},Ve=(_0x379f27,_0xdcf430)=>(_0x284a9f,_0x37bb24)=>_0xdcf430(_0x284a9f,_0x37bb24,_0x379f27);exports[_0x2f1e4f(0x28d)]=class extends o[_0x2f1e4f(0x4f7)]{constructor(_0x47db12,_0x4ef62b){var _0x34005c=_0x2f1e4f;super(),A(this,_0x34005c(0x4fe),new Map()),A(this,_0x34005c(0x4d1),new j[(_0x34005c(0x452))]()),(this[_0x34005c(0x230)]=_0x47db12,this[_0x34005c(0x439)]=_0x4ef62b,this[_0x34005c(0x1b7)](j['merge'](this[_0x34005c(0x230)]['getTypeOfUnitDisposed$'](o[_0x34005c(0x2d1)][_0x34005c(0x1db)])[_0x34005c(0x222)](V['map'](_0x32e514=>_0x32e514['getUnitId']())),this[_0x34005c(0x230)]['getTypeOfUnitDisposed$'](o[_0x34005c(0x2d1)][_0x34005c(0x376)])[_0x34005c(0x222)](V[_0x34005c(0x3c4)](_0x3f3d7f=>_0x3f3d7f[_0x34005c(0x41a)]())),this[_0x34005c(0x230)]['getTypeOfUnitDisposed$'](o['UniverInstanceType'][_0x34005c(0x2e2)])[_0x34005c(0x222)](V['map'](_0x5e403b=>_0x5e403b[_0x34005c(0x41a)]())))['subscribe'](_0x439ae9=>this[_0x34005c(0x43f)](_0x439ae9))));}[_0x2f1e4f(0x199)](_0x562bf8){var _0x4bfa39=_0x2f1e4f;return this[_0x4bfa39(0x4fe)][_0x4bfa39(0x48f)](_0x562bf8)?j['of'](this[_0x4bfa39(0x4fe)][_0x4bfa39(0x389)](_0x562bf8)):this[_0x4bfa39(0x4d1)][_0x4bfa39(0x222)](V[_0x4bfa39(0x3c4)](_0x5b9940=>{if(_0x5b9940===_0x562bf8)return this['_roomMembers']['get'](_0x5b9940);}));}[_0x2f1e4f(0x4fc)](_0x12d282){var _0x410e3c=_0x2f1e4f;this[_0x410e3c(0x439)][_0x410e3c(0x4fc)](_0x12d282);}['getCurrentUser'](){var _0xb5222a=_0x2f1e4f;return this[_0xb5222a(0x439)]['getCurrentUser']();}['updateMember'](_0x38cce6,_0x19d10e){var _0x2a6846=_0x2f1e4f;let _0xc659e6=this[_0x2a6846(0x4fe)][_0x2a6846(0x389)](_0x38cce6);_0xc659e6||(_0xc659e6=new Yt(),this[_0x2a6846(0x4fe)][_0x2a6846(0x3d1)](_0x38cce6,_0xc659e6),this[_0x2a6846(0x4d1)][_0x2a6846(0x352)](_0x38cce6)),_0xc659e6[_0x2a6846(0x50f)](_0x19d10e);}[_0x2f1e4f(0x324)](_0x13a3ea,_0x1750ed){var _0x5e9d7d=_0x2f1e4f;const _0x424046=this[_0x5e9d7d(0x4fe)][_0x5e9d7d(0x389)](_0x13a3ea);_0x424046&&_0x424046[_0x5e9d7d(0x324)](_0x1750ed);}[_0x2f1e4f(0x30b)](_0x345725){var _0x1faa6f=_0x2f1e4f;return this[_0x1faa6f(0x4fe)]['get'](_0x345725);}[_0x2f1e4f(0x29f)](_0x8fc557,_0x41cfa5){var _0x53c702=_0x2f1e4f;const _0x200f44=this[_0x53c702(0x4fe)]['get'](_0x8fc557);if(_0x200f44)return _0x200f44[_0x53c702(0x29f)](_0x41cfa5);}[_0x2f1e4f(0x43f)](_0xfb30b3){var _0x3ff264=_0x2f1e4f;const _0x2447fe=this[_0x3ff264(0x4fe)][_0x3ff264(0x389)](_0xfb30b3);_0x2447fe&&(_0x2447fe[_0x3ff264(0x182)](),this['_roomMembers']['delete'](_0xfb30b3));}[_0x2f1e4f(0x182)](){var _0x35ea36=_0x2f1e4f;this[_0x35ea36(0x4fe)][_0x35ea36(0x1f7)](_0x101e7a=>_0x101e7a[_0x35ea36(0x182)]()),this[_0x35ea36(0x4fe)][_0x35ea36(0x225)](),this[_0x35ea36(0x4d1)][_0x35ea36(0x4ac)]();}},exports[_0x2f1e4f(0x28d)]=Gt([Ve(0x0,o[_0x2f1e4f(0x318)]),Ve(0x1,o['Inject'](o['UserManagerService']))],exports[_0x2f1e4f(0x28d)]);class Yt extends o[_0x2f1e4f(0x4f7)]{constructor(){var _0x4241e4=_0x2f1e4f;super(...arguments),A(this,_0x4241e4(0x351),new Map()),A(this,_0x4241e4(0x209),new j[(_0x4241e4(0x387))](this[_0x4241e4(0x351)])),A(this,_0x4241e4(0x251),this[_0x4241e4(0x209)][_0x4241e4(0x253)]());}[_0x2f1e4f(0x182)](){var _0x31fb5b=_0x2f1e4f;this[_0x31fb5b(0x351)][_0x31fb5b(0x225)]();}[_0x2f1e4f(0x50f)](_0x2d54f2){var _0x47b399=_0x2f1e4f;this[_0x47b399(0x351)][_0x47b399(0x3d1)](_0x2d54f2[_0x47b399(0x193)],_0x2d54f2),this[_0x47b399(0x3db)]();}[_0x2f1e4f(0x324)](_0xf79f33){var _0x22dff1=_0x2f1e4f;this['_members'][_0x22dff1(0x37e)](_0xf79f33);}[_0x2f1e4f(0x29f)](_0x20bea1){return this['_members']['get'](_0x20bea1);}[_0x2f1e4f(0x200)](){var _0xa97b89=_0x2f1e4f;return Array[_0xa97b89(0x322)](this[_0xa97b89(0x351)]['values']());}['_emitMembers'](){var _0xa010dc=_0x2f1e4f;this[_0xa010dc(0x209)]['next'](this[_0xa010dc(0x351)]);}}var Kt=Object['getOwnPropertyDescriptor'],qt=(_0x17edfd,_0x40008b,_0x59e6b2,_0x2e8fc1)=>{var _0x1dd76c=_0x2f1e4f;for(var _0x233d9f=_0x2e8fc1>0x1?void 0x0:_0x2e8fc1?Kt(_0x40008b,_0x59e6b2):_0x40008b,_0x52831f=_0x17edfd[_0x1dd76c(0x237)]-0x1,_0x553ade;_0x52831f>=0x0;_0x52831f--)(_0x553ade=_0x17edfd[_0x52831f])&&(_0x233d9f=_0x553ade(_0x233d9f)||_0x233d9f);return _0x233d9f;},ce=(_0x258928,_0x3638a7)=>(_0x135bfa,_0x5ba47e)=>_0x3638a7(_0x135bfa,_0x5ba47e,_0x258928),se=(_0x49c483=>(_0x49c483[_0x49c483[_0x2f1e4f(0x313)]=0x0]=_0x2f1e4f(0x313),_0x49c483[_0x49c483['JOINING']=0x1]=_0x2f1e4f(0x4e0),_0x49c483[_0x49c483[_0x2f1e4f(0x294)]=0x2]=_0x2f1e4f(0x294),_0x49c483[_0x49c483[_0x2f1e4f(0x31d)]=0x3]='ONLINE',_0x49c483))(se||{});const We={[re[_0x2f1e4f(0x3be)]]:_0x2f1e4f(0x476),[re[_0x2f1e4f(0x40b)]]:_0x2f1e4f(0x4de),[re[_0x2f1e4f(0x45d)]]:_0x2f1e4f(0x333),[re['JOIN_ROOM_PERMISSION_DENIED']]:_0x2f1e4f(0x2c0),[re[_0x2f1e4f(0x41b)]]:_0x2f1e4f(0x454)};exports[_0x2f1e4f(0x401)]=class extends o['RxDisposable']{constructor(_0x5091ce,_0x4e3b2d,_0x286aa6,_0xe7995e,_0x3679c0,_0x2d65bc,_0x40b8f7,_0x4c7413){var _0x15be28=_0x2f1e4f;super(),A(this,'_sessionStatus$',new j['BehaviorSubject'](0x0)),A(this,_0x15be28(0x2b6),this[_0x15be28(0x1f0)][_0x15be28(0x253)]()),A(this,'_event$',new j['Subject']()),A(this,_0x15be28(0x2be),this[_0x15be28(0x4d7)][_0x15be28(0x253)]()),A(this,'_socket'),A(this,_0x15be28(0x34d)),A(this,_0x15be28(0x24a)),A(this,_0x15be28(0x3e2),!0x1),A(this,_0x15be28(0x250),null),(this[_0x15be28(0x20a)]=_0x5091ce,this['_logService']=_0x286aa6,this[_0x15be28(0x50e)]=_0xe7995e,this[_0x15be28(0x3a5)]=_0x3679c0,this[_0x15be28(0x45a)]=_0x2d65bc,this[_0x15be28(0x1f8)]=_0x40b8f7,this['_telemetryService']=_0x4c7413,this[_0x15be28(0x3e2)]=!!this[_0x15be28(0x2e0)],_0x4e3b2d[_0x15be28(0x222)](j['takeUntil'](this[_0x15be28(0x392)]))[_0x15be28(0x350)](_0x3bc288=>{var _0xf46bd8=_0x15be28,_0x1f857d;typeof _0x3bc288>'u'||(this[_0xf46bd8(0x185)]=_0x3bc288,_0x3bc288?(this['_joinRoom'](_0x3bc288),this['_socketMessageSubscription']=_0x3bc288['message$'][_0xf46bd8(0x350)](_0x13f398=>{var _0x54e088=_0xf46bd8;_0x13f398[_0x54e088(0x3d8)]===this[_0x54e088(0x20a)]&&this['_onCombEvent'](_0x13f398);})):(this[_0xf46bd8(0x4e8)](),this[_0xf46bd8(0x1f0)]['next'](0x2),(_0x1f857d=this[_0xf46bd8(0x34d)])==null||_0x1f857d[_0xf46bd8(0x4e2)](),this[_0xf46bd8(0x34d)]=null));}));}get['sessionStatus'](){return this['_sessionStatus$']['getValue']();}['getMemberID'](){var _0x308e79=_0x2f1e4f,_0x24435c,_0x618941;return(_0x618941=(_0x24435c=this[_0x308e79(0x185)])==null?void 0x0:_0x24435c[_0x308e79(0x193)])!=null?_0x618941:null;}[_0x2f1e4f(0x182)](){var _0xb8a08b=_0x2f1e4f;super[_0xb8a08b(0x182)](),this[_0xb8a08b(0x392)][_0xb8a08b(0x352)](),this[_0xb8a08b(0x392)][_0xb8a08b(0x4ac)]();}['close'](){var _0x43d40c=_0x2f1e4f,_0x70abd0,_0x565936;this[_0x43d40c(0x4e8)](),(_0x70abd0=this[_0x43d40c(0x185)])==null||_0x70abd0[_0x43d40c(0x513)]({'cmd':W[_0x43d40c(0x479)],'data':{'roomID':this['_unitID']}}),(_0x565936=this[_0x43d40c(0x185)])==null||_0x565936['close'](),this[_0x43d40c(0x4d7)][_0x43d40c(0x4ac)](),this[_0x43d40c(0x1f0)][_0x43d40c(0x4ac)](),this[_0x43d40c(0x182)]();}['_onCombEvent'](_0x3b4c35){var _0x13962e=_0x2f1e4f;_0x3b4c35[_0x13962e(0x2d4)]===W['JOIN']?this[_0x13962e(0x26b)](_0x3b4c35):_0x3b4c35[_0x13962e(0x2d4)]===W['RECV']&&this[_0x13962e(0x1fe)](_0x3b4c35);}['_joinRoom'](_0xc11eef){var _0x2f61d5=_0x2f1e4f;this[_0x2f61d5(0x1f0)]['next'](0x1),_0xc11eef[_0x2f61d5(0x513)]({'cmd':W[_0x2f61d5(0x23d)],'routeKey':this[_0x2f61d5(0x20a)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x2f1e4f(0x26b)](_0x4a4a23){var _0x3ecef9=_0x2f1e4f,_0x17a2a5;if(_0x4a4a23[_0x3ecef9(0x49e)]in We){this[_0x3ecef9(0x1f8)][_0x3ecef9(0x18f)]({'id':J[_0x3ecef9(0x3b3)],'data':We[_0x4a4a23[_0x3ecef9(0x49e)]]}),this['_sessionStatus$'][_0x3ecef9(0x352)](0x2);return;}this[_0x3ecef9(0x1f0)][_0x3ecef9(0x352)](0x3);const _0x539d33=(_0x17a2a5=_0x4a4a23['data'][_0x3ecef9(0x3b0)][this['_unitID']])==null?void 0x0:_0x17a2a5[_0x3ecef9(0x241)];_0x539d33&&_0x539d33[_0x3ecef9(0x1f7)](_0x1e2941=>this[_0x3ecef9(0x3a5)][_0x3ecef9(0x50f)](this[_0x3ecef9(0x20a)],_0x1e2941));}[_0x2f1e4f(0x1fe)](_0x41c649){var _0xb93d20=_0x2f1e4f;try{const _0x15f232=_0x41c649['data'];switch(_0x15f232[_0xb93d20(0x50b)]){case E[_0xb93d20(0x192)][_0xb93d20(0x49d)]:this[_0xb93d20(0x4a6)](_0x15f232),this[_0xb93d20(0x4d7)]['next'](_0x15f232);break;case E['CollaborationEvent'][_0xb93d20(0x38e)]:this[_0xb93d20(0x30a)](_0x15f232),this[_0xb93d20(0x4d7)][_0xb93d20(0x352)](_0x15f232);break;case E[_0xb93d20(0x192)][_0xb93d20(0x480)]:case E['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:this[_0xb93d20(0x2fd)](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0xb93d20(0x352)](_0x15f232);break;case E['CollaborationEvent'][_0xb93d20(0x4c1)]:this[_0xb93d20(0x263)][_0xb93d20(0x3c3)](_0xb93d20(0x3cc)+JSON[_0xb93d20(0x1dd)](_0x15f232)),this[_0xb93d20(0x4d7)]['next'](_0x15f232);break;case E[_0xb93d20(0x192)][_0xb93d20(0x1a4)]:this[_0xb93d20(0x45a)][_0xb93d20(0x3cd)](_0x15f232['data']),this[_0xb93d20(0x4d7)][_0xb93d20(0x352)](_0x15f232);break;default:this[_0xb93d20(0x4d7)][_0xb93d20(0x352)](_0x15f232);}}catch(_0x3dca93){this['_logService']['error'](_0x3dca93,_0x41c649);}}[_0x2f1e4f(0x4a6)](_0x37d4b8){var _0x3d65fa=_0x2f1e4f;this[_0x3d65fa(0x3a5)][_0x3d65fa(0x50f)](this[_0x3d65fa(0x20a)],_0x37d4b8[_0x3d65fa(0x1a1)]);}[_0x2f1e4f(0x30a)](_0x1bb756){var _0x363a65=_0x2f1e4f;this[_0x363a65(0x3a5)][_0x363a65(0x324)](this[_0x363a65(0x20a)],_0x1bb756[_0x363a65(0x1a1)][_0x363a65(0x193)]);}async[_0x2f1e4f(0x513)](_0x4b9e31,_0x3e6b31){var _0x33bb59=_0x2f1e4f;if(this['sessionStatus']!==0x3||!this[_0x33bb59(0x185)])throw new Error(_0x33bb59(0x246));try{_0x4b9e31[_0x33bb59(0x50b)]===E[_0x33bb59(0x192)]['SUBMIT_CHANGESET']&&(this[_0x33bb59(0x2b9)](),this[_0x33bb59(0x23e)](_0x4b9e31)),this[_0x33bb59(0x185)]['send']({'cmd':W[_0x33bb59(0x423)],'routeKey':_0x3e6b31,'routeType':'','data':_0x4b9e31});}catch(_0x466e0a){this[_0x33bb59(0x263)][_0x33bb59(0x3c3)](_0x466e0a);}}['_scheduleCollaborationTimeoutTimer'](){var _0x136d3b=_0x2f1e4f,_0x1008d1;this[_0x136d3b(0x24a)]=setTimeout(()=>{var _0x5b2768=_0x136d3b;this[_0x5b2768(0x24a)]=null,this[_0x5b2768(0x1f8)][_0x5b2768(0x18f)]({'id':J[_0x5b2768(0x388)]});},(_0x1008d1=this[_0x136d3b(0x50e)][_0x136d3b(0x39d)](ke))!=null?_0x1008d1:ut);}['_clearCollaborationTimeoutTimer'](){var _0x40496d=_0x2f1e4f;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x40496d(0x24a)]=null);}[_0x2f1e4f(0x23e)](_0x5aebba){var _0x46c67a=_0x2f1e4f;if(!this[_0x46c67a(0x3e2)])return;const {data:_0x3182d1}=_0x5aebba,{unitID:_0x572047,changeset:_0x59df86}=_0x3182d1,{mutations:_0x192367,type:_0x4c876e}=_0x59df86;this['_telemetryInfo']={'unitId':_0x572047,'type':_0x4c876e,'startTime':performance[_0x46c67a(0x1f9)](),'stopTime':0x0,'duration':0x0,'size':Vt(_0x192367)};}[_0x2f1e4f(0x2fd)](){var _0x441ccb=_0x2f1e4f;if(this[_0x441ccb(0x3e2)]){if(!this[_0x441ccb(0x250)]){this[_0x441ccb(0x263)][_0x441ccb(0x3c3)](_0x441ccb(0x457),_0x441ccb(0x1f1));return;}this[_0x441ccb(0x250)][_0x441ccb(0x23c)]=performance[_0x441ccb(0x1f9)](),this[_0x441ccb(0x250)][_0x441ccb(0x329)]=this[_0x441ccb(0x250)][_0x441ccb(0x23c)]-this[_0x441ccb(0x250)][_0x441ccb(0x1a9)],this[_0x441ccb(0x2e0)][_0x441ccb(0x3f8)](Ft,this[_0x441ccb(0x250)]),this[_0x441ccb(0x250)]=null;}}[_0x2f1e4f(0x4e8)](){var _0x22bdff=_0x2f1e4f;this[_0x22bdff(0x250)]=null;}},exports[_0x2f1e4f(0x401)]=qt([ce(0x2,o[_0x2f1e4f(0x33f)]),ce(0x3,o[_0x2f1e4f(0x2f0)]),ce(0x4,o[_0x2f1e4f(0x408)](exports[_0x2f1e4f(0x28d)])),ce(0x5,o['Inject']($e)),ce(0x6,o[_0x2f1e4f(0x408)](ee)),ce(0x7,o[_0x2f1e4f(0x238)](Dt[_0x2f1e4f(0x30e)]))],exports['CollaborationSession']);const q=o[_0x2f1e4f(0x345)](_0x2f1e4f(0x1fb));function zt(_0x5e6375){return'unit-cache-'+_0x5e6375;}var Xt=Object[_0x2f1e4f(0x4dc)],Jt=(_0x1db6dd,_0x97ecdc,_0x502e95,_0x2c612a)=>{var _0x331805=_0x2f1e4f;for(var _0x2fb24=_0x2c612a>0x1?void 0x0:_0x2c612a?Xt(_0x97ecdc,_0x502e95):_0x97ecdc,_0x1724d1=_0x1db6dd[_0x331805(0x237)]-0x1,_0x1e9286;_0x1724d1>=0x0;_0x1724d1--)(_0x1e9286=_0x1db6dd[_0x1724d1])&&(_0x2fb24=_0x1e9286(_0x2fb24)||_0x2fb24);return _0x2fb24;},Ue=(_0x33ab2a,_0x266d74)=>(_0x292fee,_0xde656b)=>_0x266d74(_0x292fee,_0xde656b,_0x33ab2a);function Zt(_0x2c0f24){var _0x259ee5=_0x2f1e4f;const {unitID:_0x386a7a,mutations:_0x50b4c0}=_0x2c0f24;return{'unitId':_0x386a7a,'subUnitId':_0x50b4c0[_0x259ee5(0x237)]>0x0?_0x50b4c0[0x0][_0x259ee5(0x2d3)]['subUnitId']:null};}exports['SheetTransformSelectionsService']=class{constructor(_0x26019a,_0x5e0ad5,_0x116c3b){var _0x55248a=_0x2f1e4f;this[_0x55248a(0x187)]=_0x26019a,this[_0x55248a(0x443)]=_0x5e0ad5,this[_0x55248a(0x227)]=_0x116c3b;}['transformSelections'](_0x17412f){var _0x2d3304=_0x2f1e4f,_0x4fc351,_0x1761b3,_0x3def65,_0x2b1d4c;const _0x1e1b5c=this['_injector']['get'](Q['SheetsSelectionsService']),{unitId:_0x17f7b2,subUnitId:_0x1e88d0}=Zt(_0x17412f),_0x941726=_0x1e1b5c==null?void 0x0:_0x1e1b5c[_0x2d3304(0x2a0)](_0x17f7b2)[_0x2d3304(0x1be)](),_0x3813ca=(_0x1761b3=(_0x4fc351=this['_instanceService']['getUnit'](_0x17f7b2))==null?void 0x0:_0x4fc351[_0x2d3304(0x3a1)]())==null?void 0x0:_0x1761b3['getSheetId']();if(_0x941726[_0x2d3304(0x237)]===0x0||!_0x17f7b2||!_0x1e88d0)return;const _0x5508ae=[{'id':Q['SetSelectionsOperation']['id'],'params':{'unitId':_0x17f7b2,'subUnitId':_0x3813ca,'selections':o[_0x2d3304(0x4be)][_0x2d3304(0x278)](_0x941726)}}],_0x15860f=this['_transformService'][_0x2d3304(0x42b)](_0x17412f,_0x5508ae);if(!E[_0x2d3304(0x4c8)](_0x15860f))throw _0x15860f[_0x2d3304(0x3c3)];const _0x16d650=(_0x2b1d4c=(_0x3def65=_0x15860f[_0x2d3304(0x393)][0x0])==null?void 0x0:_0x3def65['params'])==null?void 0x0:_0x2b1d4c[_0x2d3304(0x1e7)];if(Array[_0x2d3304(0x2f1)](_0x16d650)&&_0x16d650[_0x2d3304(0x237)]){if(_0x16d650[_0x2d3304(0x237)]===_0x5508ae[0x0][_0x2d3304(0x2d3)]['selections'][_0x2d3304(0x237)]&&_0x16d650[_0x2d3304(0x2a5)]((_0x3473c4,_0x4f4ab2)=>o['Rectangle']['equals'](_0x3473c4[_0x2d3304(0x45e)],_0x5508ae[0x0][_0x2d3304(0x2d3)]['selections'][_0x4f4ab2][_0x2d3304(0x45e)])))return;this['_injector'][_0x2d3304(0x389)](o[_0x2d3304(0x1bc)])['executeCommand'](Q[_0x2d3304(0x33b)]['id'],{'unitId':_0x17f7b2,'subUnitId':_0x3813ca,'selections':_0x16d650});}}},exports[_0x2f1e4f(0x42a)]=Jt([Ue(0x0,o[_0x2f1e4f(0x408)](o['Injector'])),Ue(0x1,E[_0x2f1e4f(0x2ac)]),Ue(0x2,o[_0x2f1e4f(0x318)])],exports[_0x2f1e4f(0x42a)]);const ve=o[_0x2f1e4f(0x345)](_0x2f1e4f(0x4cd));var He=(_0x337455=>(_0x337455[_0x337455[_0x2f1e4f(0x3e6)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x337455[_0x337455[_0x2f1e4f(0x194)]=0x1]=_0x2f1e4f(0x194),_0x337455))(He||{});const Y=_0x2f1e4f(0x418),Qt={};function ei(_0x1282df){var _0x5afd52=_0x2f1e4f,_0x5e468d;return!!((_0x5e468d=_0x1282df[_0x5afd52(0x2d3)])!=null&&_0x5e468d[_0x5afd52(0x19d)]);}const ti=new Set([Q[_0x2f1e4f(0x512)]['id']]);function Ge(_0x315f2e,_0xa16504,_0x3ec4e8,_0x27e07b,_0x59e6eb){var _0xf0d11d=_0x2f1e4f,_0x579951,_0x1e7121,_0x3a429d,_0x3a3bf4;const _0x6b15b6=[];for(const _0x1490cd of _0x315f2e){if(ti['has'](_0x1490cd['id'])){if(_0x6b15b6[_0xf0d11d(0x237)]>0x0)break;_0x6b15b6[_0xf0d11d(0x1b2)](_0x1490cd);break;}if(ei(_0x1490cd)){if(_0x6b15b6[_0xf0d11d(0x237)]>0x0)break;_0x6b15b6[_0xf0d11d(0x1b2)](_0x1490cd);break;}_0x6b15b6[_0xf0d11d(0x1b2)](_0x1490cd);}const _0x3ebcbe=(_0x1e7121=(_0x579951=_0x59e6eb[_0xf0d11d(0x260)]())==null?void 0x0:_0x579951[_0xf0d11d(0x46e)])!=null?_0x1e7121:_0xf0d11d(0x43a),_0x201b9a=(_0x3a3bf4=(_0x3a429d=_0x59e6eb['getCurrentUser']())==null?void 0x0:_0x3a429d[_0xf0d11d(0x193)])!=null?_0x3a3bf4:'unknown';return{'changeset':{'unitID':_0xa16504,'type':E['mapDocumentTypeToUniverType'](_0x3ec4e8[_0xf0d11d(0x34f)](_0xa16504)),'baseRev':_0x27e07b[_0xf0d11d(0x4da)](_0xa16504),'revision':0x0,'userID':_0x3ebcbe,'memberID':_0x201b9a,'mutations':_0x6b15b6},'pendingMutations':_0x315f2e['slice'](_0x6b15b6[_0xf0d11d(0x237)])};}function ii(_0x5910ef,_0x1979dd,_0x42bdd0,_0x301f9a,_0x271182){var _0x38a36f=_0x2f1e4f,_0x39cbcf,_0x354123,_0x584f64,_0x531d3c;const _0x5c8827=[_0x5910ef[_0x38a36f(0x249)]((_0x341b53,_0x873efa)=>{var _0x1b6dc5=_0x38a36f,_0x2d51d4;const {id:_0x53595a}=_0x341b53,{id:_0x561547,type:_0x51c6b3}=_0x873efa,_0x24b745=(_0x2d51d4=_0x341b53[_0x1b6dc5(0x2d3)])!=null?_0x2d51d4:{'actions':null},_0x100cce=_0x873efa['params'];if(_0x53595a&&_0x53595a!==_0x561547)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x53595a+_0x1b6dc5(0x506)+_0x561547+'.');return{..._0x341b53,'id':_0x561547,'type':_0x51c6b3,'params':{'unitId':_0x100cce[_0x1b6dc5(0x204)],'textRanges':_0x100cce['textRanges'],'actions':o[_0x1b6dc5(0x49c)][_0x1b6dc5(0x405)](_0x24b745[_0x1b6dc5(0x4a1)],_0x100cce[_0x1b6dc5(0x4a1)])}};},{})],_0x164c1b=(_0x354123=(_0x39cbcf=_0x271182[_0x38a36f(0x260)]())==null?void 0x0:_0x39cbcf['userID'])!=null?_0x354123:'unknown',_0x4e1856=(_0x531d3c=(_0x584f64=_0x271182['getCurrentUser']())==null?void 0x0:_0x584f64['memberID'])!=null?_0x531d3c:'unknown';return{'changeset':{'unitID':_0x1979dd,'type':E[_0x38a36f(0x2ba)](_0x42bdd0[_0x38a36f(0x34f)](_0x1979dd)),'baseRev':_0x301f9a['getCurrentRevOfUnit'](_0x1979dd),'revision':0x0,'userID':_0x164c1b,'memberID':_0x4e1856,'mutations':_0x5c8827},'pendingMutations':[]};}function It(_0x264dbb,_0x24c4c3){var _0x43e6c7=_0x2f1e4f;const _0x352702=new j['ReplaySubject'](0x1);return setTimeout(()=>_0x352702[_0x43e6c7(0x352)](_0x24c4c3),_0x264dbb),_0x352702[_0x43e6c7(0x253)]()['pipe'](j[_0x43e6c7(0x374)](0x1));}var ni=Object[_0x2f1e4f(0x4dc)],ae=(_0x328987,_0x5632b9,_0x4f8734,_0x26982a)=>{for(var _0x50172f=_0x26982a>0x1?void 0x0:_0x26982a?ni(_0x5632b9,_0x4f8734):_0x5632b9,_0x4c7fcb=_0x328987['length']-0x1,_0x206ec4;_0x4c7fcb>=0x0;_0x4c7fcb--)(_0x206ec4=_0x328987[_0x4c7fcb])&&(_0x50172f=_0x206ec4(_0x50172f)||_0x50172f);return _0x50172f;},L=(_0x12b677,_0x42bd3f)=>(_0xae5675,_0x2148b0)=>_0x42bd3f(_0xae5675,_0x2148b0,_0x12b677),je=(_0xa35f5e=>(_0xa35f5e[_0x2f1e4f(0x191)]='not_collab',_0xa35f5e[_0x2f1e4f(0x210)]=_0x2f1e4f(0x2fa),_0xa35f5e[_0x2f1e4f(0x385)]=_0x2f1e4f(0x44c),_0xa35f5e[_0x2f1e4f(0x340)]='awaiting',_0xa35f5e[_0x2f1e4f(0x183)]=_0x2f1e4f(0x2d7),_0xa35f5e[_0x2f1e4f(0x3e7)]=_0x2f1e4f(0x22d),_0xa35f5e['CONFLICT']=_0x2f1e4f(0x3fe),_0xa35f5e[_0x2f1e4f(0x294)]=_0x2f1e4f(0x3fd),_0xa35f5e))(je||{});const ft=0x4e20,Et=0x2bf20;class oe{constructor(_0x537313,_0x26ef4f,_0x28536b,_0x390882,_0x594aa5,_0x17fec8,_0x30bb90,_0x4b9ae0,_0x3d5172){var _0x2e32e0=_0x2f1e4f;A(this,'_awaitingChangeset',null),A(this,_0x2e32e0(0x45b),[]),(this[_0x2e32e0(0x261)]=_0x537313,this[_0x2e32e0(0x4e1)]=_0x26ef4f,this[_0x2e32e0(0x3ee)]=_0x594aa5,this[_0x2e32e0(0x211)]=_0x17fec8,this[_0x2e32e0(0x475)]=_0x30bb90,this[_0x2e32e0(0x484)]=_0x4b9ae0,this[_0x2e32e0(0x438)]=_0x3d5172,this[_0x2e32e0(0x27b)]=_0x28536b,this[_0x2e32e0(0x45b)]=_0x390882);}['_checkMissing'](_0x32da5d){var _0x5bd0ac=_0x2f1e4f;const _0x3d3b52=this[_0x5bd0ac(0x484)][_0x5bd0ac(0x4da)](this[_0x5bd0ac(0x261)]);return _0x32da5d[_0x5bd0ac(0x279)]>_0x3d3b52+0x1?(this['_handler'][_0x5bd0ac(0x272)]({'from':_0x3d3b52,'to':_0x32da5d[_0x5bd0ac(0x279)]-0x1}),!0x0):!0x1;}[_0x2f1e4f(0x216)](_0x52f791){var _0x56fc10=_0x2f1e4f;this['_undoRedoService'][_0x56fc10(0x3c2)](this[_0x56fc10(0x261)],_0x52f791);}[_0x2f1e4f(0x1b1)](_0xa9daca){var _0x1d70c6=_0x2f1e4f,_0xe9dd2b,_0xa5de2d;(_0xa5de2d=(_0xe9dd2b=this[_0x1d70c6(0x3ee)])[_0x1d70c6(0x495)])==null||_0xa5de2d[_0x1d70c6(0x47a)](_0xe9dd2b,_0xa9daca);}['_transformIMECache'](_0x330de2){var _0x3dca94=_0x2f1e4f,_0x4d6526,_0xc2da5c;return(_0xc2da5c=(_0x4d6526=this['_handler'])['onTransformIME'])==null?void 0x0:_0xc2da5c[_0x3dca94(0x47a)](_0x4d6526,_0x330de2);}['_transformStateCache'](_0x525d3b){var _0x2f27ef=_0x2f1e4f,_0x17f1d2,_0xb74e99;return(_0xb74e99=(_0x17f1d2=this[_0x2f27ef(0x3ee)])[_0x2f27ef(0x32c)])==null?void 0x0:_0xb74e99[_0x2f27ef(0x47a)](_0x17f1d2,_0x525d3b);}[_0x2f1e4f(0x3da)](_0x59c5a6){var _0xf10f9a=_0x2f1e4f,_0x2ffcf3,_0x4206fc,_0x635614;return(_0x635614=(_0x4206fc=(_0x2ffcf3=this['_handler'])[_0xf10f9a(0x31e)])==null?void 0x0:_0x4206fc[_0xf10f9a(0x47a)](_0x2ffcf3,_0x59c5a6))!=null?_0x635614:_0x59c5a6;}[_0x2f1e4f(0x431)](_0x396e60){var _0xf62cec=_0x2f1e4f,_0x104220,_0x2974de,_0xab06cf;return(_0xab06cf=(_0x2974de=(_0x104220=this['_handler'])[_0xf62cec(0x4a9)])==null?void 0x0:_0x2974de[_0xf62cec(0x47a)](_0x104220,_0x396e60))!=null?_0xab06cf:_0x396e60;}['_syncEditingCollabCursor'](_0x325c66){var _0x264c7f=_0x2f1e4f,_0x9d42,_0x5b9745;if(this[_0x264c7f(0x4e1)]===X['UNIVER_DOC']){const {unitID:_0x3c888b,mutations:_0x3d75a9,memberID:_0x5b5add}=_0x325c66,_0x35b29c=_0x3d75a9[_0x264c7f(0x237)]>0x0?_0x3d75a9[0x0][_0x264c7f(0x2d3)][_0x264c7f(0x367)]:[];Array[_0x264c7f(0x2f1)](_0x35b29c)&&_0x35b29c[_0x264c7f(0x237)]>0x0&&((_0x5b9745=(_0x9d42=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x5b9745[_0x264c7f(0x47a)](_0x9d42,{'unitID':_0x3c888b,'memberID':_0x5b5add,'textRanges':_0x35b29c}));}}[_0x2f1e4f(0x35c)](){var _0x9f6c19=_0x2f1e4f,_0x2964a3;(_0x2964a3=this[_0x9f6c19(0x438)])==null||_0x2964a3[_0x9f6c19(0x514)](this[_0x9f6c19(0x261)],this[_0x9f6c19(0x4e1)],this[_0x9f6c19(0x27b)],this[_0x9f6c19(0x45b)]);}[_0x2f1e4f(0x4a7)](){var _0x312d8c=_0x2f1e4f;return this[_0x312d8c(0x484)][_0x312d8c(0x4da)](this[_0x312d8c(0x261)]);}[_0x2f1e4f(0x31c)](){var _0x4411fe=_0x2f1e4f;this[_0x4411fe(0x484)]['incrementRevOfUnit'](this['unitID']);}[_0x2f1e4f(0x1b6)](_0x57a755){var _0x52472=_0x2f1e4f,_0x3be425;let _0x17a55b=this[_0x52472(0x3da)](_0x57a755);_0x17a55b=this[_0x52472(0x431)](_0x17a55b);const _0x370b9c=o[_0x52472(0x213)](_0x17a55b[_0x52472(0x2dc)],this[_0x52472(0x211)],{'fromCollab':!0x0});if(!_0x370b9c[_0x52472(0x4c0)])throw _0x370b9c[_0x52472(0x3c3)]instanceof Error?_0x370b9c[_0x52472(0x3c3)]:new Error((_0x3be425=_0x370b9c['error'])!=null?_0x3be425:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x17a55b),this[_0x52472(0x19f)](_0x17a55b),this['_transformUndoredo'](_0x57a755),this[_0x52472(0x1b1)](_0x17a55b),this[_0x52472(0x391)](_0x17a55b),this[_0x52472(0x31c)]();}}exports['SyncedState']=class extends oe{constructor(_0x4b2331,_0x146c4e,_0x511cda,_0xbab48,_0x37245f,_0x5c78b6,_0x3bccca,_0x2879a4,_0x414dbd,_0x86c0e9){var _0x15682c=_0x2f1e4f;super(_0x4b2331,_0x146c4e,null,[],_0x511cda,_0x3bccca,_0x5c78b6,_0xbab48,_0x86c0e9),A(this,_0x15682c(0x1c9),'synced'),(this['_injector']=_0x37245f,this[_0x15682c(0x263)]=_0x2879a4,this[_0x15682c(0x443)]=_0x414dbd,this[_0x15682c(0x31b)]=_0x86c0e9);}['appendMutation'](_0x454be8){var _0x542953=_0x2f1e4f;const _0x460349=this[_0x542953(0x187)]['createInstance'](exports[_0x542953(0x20b)],this[_0x542953(0x261)],this[_0x542953(0x4e1)],[_0x454be8],this['_handler']);return _0x460349[_0x542953(0x469)](),_0x460349[_0x542953(0x35c)](),_0x460349;}[_0x2f1e4f(0x22b)](_0x46b9e1){var _0xbc005a=_0x2f1e4f;if(this[_0xbc005a(0x286)](_0x46b9e1))return this['_injector'][_0xbc005a(0x4fa)](exports[_0xbc005a(0x3ec)],this[_0xbc005a(0x261)],this[_0xbc005a(0x4e1)],null,[],null,[_0x46b9e1],this[_0xbc005a(0x3ee)]);try{const _0x35f628=this[_0xbc005a(0x443)]['transformMutationsWithChangeset'](_0x46b9e1,[E[_0xbc005a(0x197)]]);if(E['isTransformMutationsWithChangesetSuccess'](_0x35f628)){const {c1Prime:_0x4dd0c7}=_0x35f628;return this[_0xbc005a(0x1b6)](_0x4dd0c7),this;}throw _0x35f628[_0xbc005a(0x3c3)];}catch(_0xf5295b){return this[_0xbc005a(0x263)][_0xbc005a(0x3c3)](_0xf5295b),this[_0xbc005a(0x471)](!0x1);}}[_0x2f1e4f(0x471)](_0x57bf26){var _0x6dc931=_0x2f1e4f;return this[_0x6dc931(0x187)][_0x6dc931(0x4fa)](exports[_0x6dc931(0x447)],this[_0x6dc931(0x261)],this['type'],null,[],this[_0x6dc931(0x3ee)],_0x57bf26);}[_0x2f1e4f(0x3a3)](){var _0x5afb63=_0x2f1e4f;throw new Error(_0x5afb63(0x3ff));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x2f1e4f(0x4c9)](){return this;}[_0x2f1e4f(0x487)](){var _0x46781a=_0x2f1e4f;return this[_0x46781a(0x187)][_0x46781a(0x4fa)](exports[_0x46781a(0x2c5)],this[_0x46781a(0x261)],this[_0x46781a(0x4e1)],null,[],this[_0x46781a(0x3ee)]);}[_0x2f1e4f(0x39e)](){return this;}[_0x2f1e4f(0x190)](){var _0x35c5ad=_0x2f1e4f;throw new Error(_0x35c5ad(0x314));}[_0x2f1e4f(0x46a)](){var _0x40a272=_0x2f1e4f;const _0x38a245=this[_0x40a272(0x484)][_0x40a272(0x4da)](this[_0x40a272(0x261)]);return this[_0x40a272(0x3ee)]['onMissingChangesets']({'from':_0x38a245,'to':0x0}),this[_0x40a272(0x187)]['createInstance'](exports[_0x40a272(0x3ec)],this[_0x40a272(0x261)],this[_0x40a272(0x4e1)],null,[],null,[],this[_0x40a272(0x3ee)]);}},exports[_0x2f1e4f(0x29b)]=ae([L(0x3,o['Inject'](E[_0x2f1e4f(0x4ec)])),L(0x4,o[_0x2f1e4f(0x408)](o[_0x2f1e4f(0x2ae)])),L(0x5,o[_0x2f1e4f(0x2cd)]),L(0x6,o[_0x2f1e4f(0x1bc)]),L(0x7,o['ILogService']),L(0x8,E['ITransformService']),L(0x9,o[_0x2f1e4f(0x238)](q))],exports[_0x2f1e4f(0x29b)]),exports['PendingState']=class extends oe{constructor(_0x519428,_0x24672c,_0x4ba155,_0x5dbb72,_0x4c0e0e,_0x420fb0,_0x47a070,_0x451fbe,_0x2cdd16,_0x3e2372,_0x3e4cdc,_0x377583,_0x1e500e,_0x3bdf82){var _0x5781e2=_0x2f1e4f;super(_0x519428,_0x24672c,null,_0x4ba155,_0x5dbb72,_0x2cdd16,_0x1e500e,_0x420fb0,_0x3bdf82),A(this,_0x5781e2(0x1c9),_0x5781e2(0x44c)),A(this,_0x5781e2(0x325),null),A(this,'_sendingTimer',null),(this[_0x5781e2(0x187)]=_0x4c0e0e,this[_0x5781e2(0x3a5)]=_0x47a070,this['_logService']=_0x451fbe,this[_0x5781e2(0x50e)]=_0x3e2372,this[_0x5781e2(0x443)]=_0x3e4cdc,this[_0x5781e2(0x230)]=_0x377583);}['appendMutation'](_0x1d2e3c){var _0x1a2a2c=_0x2f1e4f;return this[_0x1a2a2c(0x45b)][_0x1a2a2c(0x1b2)](_0x1d2e3c),this[_0x1a2a2c(0x35c)](),this;}[_0x2f1e4f(0x22b)](_0x9c69c1){var _0xbf8b69=_0x2f1e4f;if(this[_0xbf8b69(0x286)](_0x9c69c1))return this[_0xbf8b69(0x22c)](),this[_0xbf8b69(0x187)][_0xbf8b69(0x4fa)](exports[_0xbf8b69(0x3ec)],this[_0xbf8b69(0x261)],this[_0xbf8b69(0x4e1)],null,this[_0xbf8b69(0x45b)],null,[_0x9c69c1],this[_0xbf8b69(0x3ee)]);try{const _0x18b63b=this[_0xbf8b69(0x443)][_0xbf8b69(0x42b)](_0x9c69c1,this[_0xbf8b69(0x45b)]);if(E[_0xbf8b69(0x4c8)](_0x18b63b)){const {c1Prime:_0x173fe4,m2Prime:_0x4328d2}=_0x18b63b;this['_executeRemoteChangeset'](_0x173fe4);const _0x3fa350=this[_0xbf8b69(0x187)][_0xbf8b69(0x4fa)](exports[_0xbf8b69(0x20b)],this[_0xbf8b69(0x261)],this[_0xbf8b69(0x4e1)],_0x4328d2,this[_0xbf8b69(0x3ee)]);this[_0xbf8b69(0x22c)]();const _0x2b732d=new Date()[_0xbf8b69(0x39c)](),_0x3909d1=this[_0xbf8b69(0x325)]?Math[_0xbf8b69(0x395)](this[_0xbf8b69(0x325)]-_0x2b732d,0x0):this[_0xbf8b69(0x29e)]();return _0x3fa350[_0xbf8b69(0x469)](_0x3909d1),_0x3fa350;}throw _0x18b63b[_0xbf8b69(0x3c3)];}catch(_0x54f465){return this[_0xbf8b69(0x263)]['error'](_0x54f465),this[_0xbf8b69(0x471)](!0x1);}}[_0x2f1e4f(0x3a3)](){var _0x855ec6=_0x2f1e4f;throw new Error(_0x855ec6(0x4cc));}[_0x2f1e4f(0x1aa)](){var _0x22afbb=_0x2f1e4f;throw new Error(_0x22afbb(0x4db));}[_0x2f1e4f(0x4c9)](){return this;}['toggleOffline'](){var _0x22fafe=_0x2f1e4f;return this[_0x22fafe(0x22c)](),this[_0x22fafe(0x187)][_0x22fafe(0x4fa)](exports[_0x22fafe(0x2c5)],this[_0x22fafe(0x261)],this[_0x22fafe(0x4e1)],null,this[_0x22fafe(0x45b)],this['_handler']);}[_0x2f1e4f(0x39e)](){return this;}[_0x2f1e4f(0x469)](_0x8a98fe){var _0xe5507e=_0x2f1e4f;const _0x288966=_0x8a98fe!=null?_0x8a98fe:this[_0xe5507e(0x29e)]();this[_0xe5507e(0x325)]=new Date()[_0xe5507e(0x39c)]()+_0x288966,this['_sendingTimer']=setTimeout(()=>{var _0x4b1860=_0xe5507e;this['_clearScheduledTask']();let _0x134a53=null;switch(this[_0x4b1860(0x4e1)]){case X[_0x4b1860(0x1db)]:{_0x134a53=Ge(this[_0x4b1860(0x45b)],this[_0x4b1860(0x261)],this[_0x4b1860(0x230)],this['_revisionService'],this[_0x4b1860(0x3a5)]);break;}case X[_0x4b1860(0x376)]:{this[_0x4b1860(0x45b)]['every'](_0xbe8313=>_0xbe8313['id']===ct['RichTextEditingMutation']['id'])?_0x134a53=ii(this['_pendingMutations'],this[_0x4b1860(0x261)],this['_univerInstanceService'],this[_0x4b1860(0x484)],this[_0x4b1860(0x3a5)]):_0x134a53=Ge(this[_0x4b1860(0x45b)],this[_0x4b1860(0x261)],this[_0x4b1860(0x230)],this['_revisionService'],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x4b1860(0x4e1)]+_0x4b1860(0x508));}const {changeset:_0x1d93d0,pendingMutations:_0x355b42}=_0x134a53;this[_0x4b1860(0x3ee)][_0x4b1860(0x2bb)](_0x1d93d0);const _0xb73306=_0x355b42[_0x4b1860(0x237)]?this['_injector']['createInstance'](exports[_0x4b1860(0x48e)],this[_0x4b1860(0x261)],this[_0x4b1860(0x4e1)],_0x1d93d0,_0x355b42,this[_0x4b1860(0x3ee)],void 0x0):this[_0x4b1860(0x187)]['createInstance'](exports['AwaitingState'],this['unitID'],this['type'],_0x1d93d0,this[_0x4b1860(0x3ee)]);_0xb73306[_0x4b1860(0x35c)](),this[_0x4b1860(0x3ee)][_0x4b1860(0x3f3)](this,_0xb73306);},_0x288966);}[_0x2f1e4f(0x29e)](){var _0x28dfbe=_0x2f1e4f,_0x1a5baa;const _0x16746c=this['_configService'][_0x28dfbe(0x39d)](Y);return(_0x1a5baa=_0x16746c==null?void 0x0:_0x16746c[_0x28dfbe(0x3c0)])!=null?_0x1a5baa:At;}[_0x2f1e4f(0x190)](){var _0x3390d7=_0x2f1e4f;throw new Error(_0x3390d7(0x4dd));}[_0x2f1e4f(0x22c)](){var _0x26a955=_0x2f1e4f;this['_sendingTimer']!=null&&(clearTimeout(this[_0x26a955(0x2e7)]),this[_0x26a955(0x2e7)]=null);}[_0x2f1e4f(0x471)](_0x253987){var _0x489aa1=_0x2f1e4f;return this[_0x489aa1(0x22c)](),this['_injector'][_0x489aa1(0x4fa)](exports['ConflictState'],this['unitID'],this[_0x489aa1(0x4e1)],null,this['_pendingMutations'],this[_0x489aa1(0x3ee)],_0x253987);}},exports[_0x2f1e4f(0x20b)]=ae([L(0x4,o[_0x2f1e4f(0x408)](o[_0x2f1e4f(0x2ae)])),L(0x5,o[_0x2f1e4f(0x408)](E[_0x2f1e4f(0x4ec)])),L(0x6,o['Inject'](exports[_0x2f1e4f(0x28d)])),L(0x7,o[_0x2f1e4f(0x33f)]),L(0x8,o[_0x2f1e4f(0x1bc)]),L(0x9,o[_0x2f1e4f(0x2f0)]),L(0xa,E[_0x2f1e4f(0x2ac)]),L(0xb,o[_0x2f1e4f(0x318)]),L(0xc,o['IUndoRedoService']),L(0xd,o[_0x2f1e4f(0x238)](q))],exports[_0x2f1e4f(0x20b)]),exports['AwaitingState']=class extends oe{constructor(_0x2e19be,_0x15a4a0,_0x516a47,_0x250e9b,_0x1717f,_0x5920d9,_0x173650,_0x3bde63,_0x1e8f91,_0x4a8a9e,_0xd31393){var _0x57d13f=_0x2f1e4f;super(_0x2e19be,_0x15a4a0,_0x516a47,[],_0x250e9b,_0x173650,_0x4a8a9e,_0x5920d9,_0xd31393),A(this,_0x57d13f(0x1c9),_0x57d13f(0x2c7)),A(this,_0x57d13f(0x287),0x0),A(this,_0x57d13f(0x1f5),0x0),A(this,_0x57d13f(0x1d0)),A(this,_0x57d13f(0x28c)),(this[_0x57d13f(0x187)]=_0x1717f,this[_0x57d13f(0x263)]=_0x3bde63,this[_0x57d13f(0x443)]=_0x1e8f91);}[_0x2f1e4f(0x27e)](_0x1f7cfb){var _0x1f3060=_0x2f1e4f;this[_0x1f3060(0x22c)]();const _0x52b9dd=this['_injector'][_0x1f3060(0x4fa)](exports[_0x1f3060(0x48e)],this[_0x1f3060(0x261)],this[_0x1f3060(0x4e1)],this['_awaitingChangeset'],[_0x1f7cfb],this[_0x1f3060(0x3ee)],this[_0x1f3060(0x1d0)]);return _0x52b9dd['_updateLocalCache'](),_0x52b9dd;}[_0x2f1e4f(0x22b)](_0x2c6184){var _0x1c54b6=_0x2f1e4f;if(this['_checkMissing'](_0x2c6184))return this[_0x1c54b6(0x22c)](),this[_0x1c54b6(0x187)]['createInstance'](exports['FetchingMissState'],this['unitID'],this[_0x1c54b6(0x4e1)],this[_0x1c54b6(0x27b)],[],null,[_0x2c6184],this[_0x1c54b6(0x3ee)]);try{const _0x3d2a35=this[_0x1c54b6(0x443)][_0x1c54b6(0x4ae)]([_0x2c6184],[this[_0x1c54b6(0x27b)]],!0x1);if(E[_0x1c54b6(0x242)](_0x3d2a35)){const {c1Prime:_0x3eec24,c2Prime:_0x131248}=_0x3d2a35;this[_0x1c54b6(0x1b6)](_0x3eec24[0x0]),_0x131248[0x0][_0x1c54b6(0x434)]=this[_0x1c54b6(0x4a7)](),this[_0x1c54b6(0x22c)]();const _0x5b2b25=this[_0x1c54b6(0x187)][_0x1c54b6(0x4fa)](exports[_0x1c54b6(0x490)],this['unitID'],this['type'],_0x131248[0x0],this[_0x1c54b6(0x3ee)]);return _0x5b2b25['_updateLocalCache'](),_0x5b2b25;}return this[_0x1c54b6(0x471)](!0x1);}catch(_0x3b97ae){return this['_logService'][_0x1c54b6(0x3c3)](_0x3b97ae),this[_0x1c54b6(0x471)](!0x1);}}[_0x2f1e4f(0x3a3)](_0x3f8dae){var _0x316704=_0x2f1e4f;this['_clearScheduledTask']();const _0xe4841e=this[_0x316704(0x484)]['getCurrentRevOfUnit'](this[_0x316704(0x261)]);if(_0x3f8dae[_0x316704(0x279)]<_0xe4841e-0x1)return this;if(this[_0x316704(0x286)](_0x3f8dae))return this['_injector']['createInstance'](exports[_0x316704(0x3ec)],this[_0x316704(0x261)],this[_0x316704(0x4e1)],null,[],this['_awaitingChangeset'],[],this[_0x316704(0x3ee)]);this[_0x316704(0x31c)]();const _0x3fe117=this['_injector'][_0x316704(0x4fa)](exports[_0x316704(0x29b)],this[_0x316704(0x261)],this[_0x316704(0x4e1)],this[_0x316704(0x3ee)]);return _0x3fe117[_0x316704(0x35c)](),_0x3fe117;}['onRemoteRej'](_0x4015f9){var _0x2800c3=_0x2f1e4f;return this[_0x2800c3(0x471)](!!(_0x4015f9!=null&&_0x4015f9['isPermissionRej']));}[_0x2f1e4f(0x4c9)](_0x4d93c5){var _0x15ebd2=_0x2f1e4f;return this['_maxTotalRetryTimeout']>Et?this[_0x15ebd2(0x487)]():(this[_0x15ebd2(0x1d0)]=It(this[_0x15ebd2(0x287)],{'timeout':this[_0x15ebd2(0x287)],'reqId':_0x4d93c5['reqId']}),this[_0x15ebd2(0x28c)]=this[_0x15ebd2(0x1d0)][_0x15ebd2(0x350)](({reqId:_0x31acca,timeout:_0x1ddd21})=>{var _0x3336bf=_0x15ebd2;this[_0x3336bf(0x1b3)](_0x31acca,_0x1ddd21);}),this);}['toggleOffline'](){var _0x5d628a=_0x2f1e4f;return this[_0x5d628a(0x22c)](),this['_injector'][_0x5d628a(0x4fa)](exports[_0x5d628a(0x2c5)],this[_0x5d628a(0x261)],this[_0x5d628a(0x4e1)],this[_0x5d628a(0x27b)],[],this[_0x5d628a(0x3ee)]);}[_0x2f1e4f(0x39e)](){return this;}[_0x2f1e4f(0x190)](){var _0x447908=_0x2f1e4f;this[_0x447908(0x3ee)][_0x447908(0x2bb)](this['_awaitingChangeset']);}[_0x2f1e4f(0x471)](_0x80008f){var _0x5026cb=_0x2f1e4f;return this['_clearScheduledTask'](),this[_0x5026cb(0x187)][_0x5026cb(0x4fa)](exports[_0x5026cb(0x447)],this[_0x5026cb(0x261)],this[_0x5026cb(0x4e1)],this[_0x5026cb(0x27b)],[],this[_0x5026cb(0x3ee)],_0x80008f);}[_0x2f1e4f(0x1b3)](_0x2f1a41,_0x49b59d){var _0x53d167=_0x2f1e4f,_0x52745b;_0x2f1a41===((_0x52745b=this[_0x53d167(0x27b)])==null?void 0x0:_0x52745b['reqId'])&&(this[_0x53d167(0x190)](),this[_0x53d167(0x287)]=_0x49b59d===0x0?0x3e8:Math[_0x53d167(0x499)](_0x49b59d*0x2,ft),this[_0x53d167(0x1f5)]+=this[_0x53d167(0x287)]);}['_clearScheduledTask'](){var _0x193d00=_0x2f1e4f,_0x553aa0;(_0x553aa0=this[_0x193d00(0x28c)])==null||_0x553aa0[_0x193d00(0x4e2)](),this[_0x193d00(0x287)]=0x0,this[_0x193d00(0x1f5)]=0x0;}},exports[_0x2f1e4f(0x490)]=ae([L(0x4,o[_0x2f1e4f(0x408)](o['Injector'])),L(0x5,o[_0x2f1e4f(0x408)](E[_0x2f1e4f(0x4ec)])),L(0x6,o[_0x2f1e4f(0x1bc)]),L(0x7,o['ILogService']),L(0x8,E[_0x2f1e4f(0x2ac)]),L(0x9,o[_0x2f1e4f(0x2cd)]),L(0xa,o['Optional'](q))],exports[_0x2f1e4f(0x490)]),exports[_0x2f1e4f(0x48e)]=class extends oe{constructor(_0x1cda28,_0x5f256c,_0xdb4ddb,_0x13d676,_0x3e7233,_0x5efb5e,_0x160179,_0x49cd09,_0x37b06d,_0x1ed626,_0x443672,_0x7ec99d,_0x332cc4){var _0x29e2ea=_0x2f1e4f;super(_0x1cda28,_0x5f256c,_0xdb4ddb,_0x13d676,_0x3e7233,_0x37b06d,_0x7ec99d,_0x49cd09,_0x332cc4),A(this,_0x29e2ea(0x1c9),'awaiting_with_pending'),A(this,_0x29e2ea(0x287),0x0),A(this,_0x29e2ea(0x1f5),0x0),A(this,_0x29e2ea(0x1d0)),A(this,'_sender'),(this[_0x29e2ea(0x187)]=_0x160179,this[_0x29e2ea(0x263)]=_0x1ed626,this['_transformService']=_0x443672,this['localCacheService']=_0x332cc4,_0x5efb5e&&(this[_0x29e2ea(0x1d0)]=_0x5efb5e,this[_0x29e2ea(0x28c)]=this['_resendTimer'][_0x29e2ea(0x350)](({reqId:_0x5dd0a6,timeout:_0x194b9c})=>{var _0x204d80=_0x29e2ea;this[_0x204d80(0x1b3)](_0x5dd0a6,_0x194b9c);})));}[_0x2f1e4f(0x27e)](_0x23e564){var _0x572112=_0x2f1e4f;return this['_pendingMutations'][_0x572112(0x1b2)](_0x23e564),this;}[_0x2f1e4f(0x22b)](_0x1e8b83){var _0x45c9cc=_0x2f1e4f;if(this['_checkMissing'](_0x1e8b83))return this[_0x45c9cc(0x22c)](),this[_0x45c9cc(0x187)]['createInstance'](exports['FetchingMissState'],this['unitID'],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x1e8b83],this['_handler']);try{const _0x8e261c=this[_0x45c9cc(0x443)][_0x45c9cc(0x4ae)]([_0x1e8b83],[this['_awaitingChangeset']],!0x1);if(E[_0x45c9cc(0x242)](_0x8e261c)){const {c1Prime:_0xda04cc,c2Prime:_0x537116}=_0x8e261c,_0x459249=this['_transformService']['transformMutationsWithChangeset'](_0xda04cc[0x0],this[_0x45c9cc(0x45b)]);if(E[_0x45c9cc(0x4c8)](_0x459249)){const {c1Prime:_0x5edc5f,m2Prime:_0x57ea00}=_0x459249;return this[_0x45c9cc(0x1b6)](_0x5edc5f),_0x537116[0x0][_0x45c9cc(0x434)]=this[_0x45c9cc(0x4a7)](),this[_0x45c9cc(0x22c)](),this['_injector'][_0x45c9cc(0x4fa)](exports[_0x45c9cc(0x48e)],this['unitID'],this[_0x45c9cc(0x4e1)],_0x537116[0x0],_0x57ea00,this['_handler'],void 0x0);}throw _0x459249[_0x45c9cc(0x3c3)];}throw _0x8e261c[_0x45c9cc(0x3c3)];}catch(_0x2ec991){return this['_logService'][_0x45c9cc(0x3c3)](_0x2ec991),this[_0x45c9cc(0x471)](!0x1);}}[_0x2f1e4f(0x3a3)](_0x464fee){var _0x159364=_0x2f1e4f;if(this[_0x159364(0x22c)](),this[_0x159364(0x286)](_0x464fee))return this[_0x159364(0x187)][_0x159364(0x4fa)](exports[_0x159364(0x3ec)],this['unitID'],this[_0x159364(0x4e1)],null,this[_0x159364(0x45b)],this[_0x159364(0x27b)],[],this[_0x159364(0x3ee)]);this[_0x159364(0x31c)]();const _0x20f76a=this[_0x159364(0x187)][_0x159364(0x4fa)](exports[_0x159364(0x20b)],this[_0x159364(0x261)],this[_0x159364(0x4e1)],this[_0x159364(0x45b)],this[_0x159364(0x3ee)]);return _0x20f76a[_0x159364(0x469)](),_0x20f76a[_0x159364(0x35c)](),_0x20f76a;}[_0x2f1e4f(0x1aa)](_0x1a9989){var _0x950a6c=_0x2f1e4f;return this['_onConflict'](!!(_0x1a9989!=null&&_0x1a9989[_0x950a6c(0x2f8)]));}[_0x2f1e4f(0x4c9)](_0x56ceeb){var _0x443c6f=_0x2f1e4f;return this[_0x443c6f(0x1f5)]>Et?this[_0x443c6f(0x487)]():(this[_0x443c6f(0x1d0)]=It(this[_0x443c6f(0x287)],{'timeout':this[_0x443c6f(0x287)],'reqId':_0x56ceeb[_0x443c6f(0x3a6)]}),this[_0x443c6f(0x28c)]=this['_resendTimer'][_0x443c6f(0x350)](({reqId:_0x34d3d8,timeout:_0x41e874})=>{var _0x5aee46=_0x443c6f;this[_0x5aee46(0x1b3)](_0x34d3d8,_0x41e874);}),this);}[_0x2f1e4f(0x487)](){var _0x46c065=_0x2f1e4f;return this[_0x46c065(0x22c)](),this[_0x46c065(0x187)]['createInstance'](exports[_0x46c065(0x2c5)],this['unitID'],this[_0x46c065(0x4e1)],this[_0x46c065(0x27b)],this[_0x46c065(0x45b)],this[_0x46c065(0x3ee)]);}[_0x2f1e4f(0x39e)](){return this;}[_0x2f1e4f(0x190)](){var _0x668719=_0x2f1e4f;this[_0x668719(0x3ee)][_0x668719(0x2bb)](this['_awaitingChangeset']);}[_0x2f1e4f(0x471)](_0x1c76f8){var _0x262646=_0x2f1e4f;return this[_0x262646(0x22c)](),this[_0x262646(0x187)]['createInstance'](exports['ConflictState'],this[_0x262646(0x261)],this['type'],null,this[_0x262646(0x45b)],this[_0x262646(0x3ee)],_0x1c76f8);}[_0x2f1e4f(0x1b3)](_0x4fabbd,_0x2e633b){var _0x16ba65=_0x2f1e4f,_0x28e5d1;_0x4fabbd===((_0x28e5d1=this['_awaitingChangeset'])==null?void 0x0:_0x28e5d1['reqId'])&&(this[_0x16ba65(0x190)](),this['_resendTimeout']=_0x2e633b===0x0?0x3e8:Math['min'](_0x2e633b*0x2,ft),this[_0x16ba65(0x1f5)]+=this[_0x16ba65(0x287)]);}[_0x2f1e4f(0x22c)](){var _0x1bf52b=_0x2f1e4f,_0x4e2b89;(_0x4e2b89=this[_0x1bf52b(0x28c)])==null||_0x4e2b89[_0x1bf52b(0x4e2)](),this[_0x1bf52b(0x287)]=0x0,this[_0x1bf52b(0x1f5)]=0x0;}},exports[_0x2f1e4f(0x48e)]=ae([L(0x6,o[_0x2f1e4f(0x408)](o['Injector'])),L(0x7,o[_0x2f1e4f(0x408)](E[_0x2f1e4f(0x4ec)])),L(0x8,o[_0x2f1e4f(0x1bc)]),L(0x9,o[_0x2f1e4f(0x33f)]),L(0xa,E['ITransformService']),L(0xb,o[_0x2f1e4f(0x2cd)]),L(0xc,o[_0x2f1e4f(0x238)](q))],exports[_0x2f1e4f(0x48e)]),exports[_0x2f1e4f(0x447)]=class extends oe{constructor(_0x3a1001,_0x55f46a,_0xc3dc48,_0xb8ae9c,_0x38db75,_0x19ea73=!0x1,_0x1607e3,_0x4dd742,_0x51f9de,_0x241458,_0x2f03dc,_0x4ae3a9,_0x60801a){var _0x55ff9d=_0x2f1e4f;super(_0x3a1001,_0x55f46a,_0xc3dc48,_0xb8ae9c,_0x38db75,_0x4dd742,_0x51f9de,_0x241458,_0x60801a),A(this,'status',_0x55ff9d(0x3fe)),(this['_isPermissionRej']=_0x19ea73,this[_0x55ff9d(0x38a)]=_0x1607e3,this['_localeService']=_0x2f03dc,this[_0x55ff9d(0x1f8)]=_0x4ae3a9,this['localCacheService']=_0x60801a,this[_0x55ff9d(0x214)](),this[_0x55ff9d(0x3fc)](),this[_0x55ff9d(0x4ba)]());}[_0x2f1e4f(0x27e)](){return this;}[_0x2f1e4f(0x22b)](){return this;}[_0x2f1e4f(0x3a3)](){return this;}[_0x2f1e4f(0x1aa)](){return this;}['onRemoteRetry'](){return this;}[_0x2f1e4f(0x487)](){return this;}[_0x2f1e4f(0x39e)](){return this;}[_0x2f1e4f(0x190)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2f1e4f(0x3fc)](){var _0x401fc4=_0x2f1e4f,_0x48a981;(_0x48a981=this[_0x401fc4(0x438)])==null||_0x48a981[_0x401fc4(0x514)](this[_0x401fc4(0x261)],this[_0x401fc4(0x4e1)],null,[]);}[_0x2f1e4f(0x214)](){var _0x1fc440=_0x2f1e4f;this[_0x1fc440(0x386)]?this['_collaborationUIEventService'][_0x1fc440(0x18f)]({'id':J[_0x1fc440(0x449)]}):this[_0x1fc440(0x1f8)]['emitEvent']({'id':J['CONFLICT']});}[_0x2f1e4f(0x4ba)](){var _0x3c14b7=_0x2f1e4f;this[_0x3c14b7(0x38a)][_0x3c14b7(0x3b4)](new Q[(_0x3c14b7(0x3a2))](this['unitID'])['id'],!0x1);}},exports[_0x2f1e4f(0x447)]=ae([L(0x6,o[_0x2f1e4f(0x408)](o['IPermissionService'])),L(0x7,o[_0x2f1e4f(0x1bc)]),L(0x8,o['IUndoRedoService']),L(0x9,o[_0x2f1e4f(0x408)](E[_0x2f1e4f(0x4ec)])),L(0xa,o[_0x2f1e4f(0x408)](o[_0x2f1e4f(0x26c)])),L(0xb,o[_0x2f1e4f(0x408)](ee)),L(0xc,o[_0x2f1e4f(0x238)](q))],exports[_0x2f1e4f(0x447)]),exports[_0x2f1e4f(0x2c5)]=class extends oe{constructor(_0x1daf4e,_0x1863da,_0x14d956,_0x249ae2,_0x93047e,_0x1fb724,_0x50f6a0,_0x24aede,_0x3cecb6,_0x10d450){var _0x46de7a=_0x2f1e4f;super(_0x1daf4e,_0x1863da,_0x14d956,_0x249ae2,_0x93047e,_0x24aede,_0x3cecb6,_0x50f6a0,_0x10d450),A(this,_0x46de7a(0x1c9),_0x46de7a(0x3fd)),this[_0x46de7a(0x187)]=_0x1fb724;}['appendMutation'](_0x680b65){var _0x466f66=_0x2f1e4f;return this['_pendingMutations'][_0x466f66(0x1b2)](_0x680b65),this['_updateLocalCache'](),this;}[_0x2f1e4f(0x22b)](_0x1215ee){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x2f1e4f(0x3a3)](){var _0x4be07d=_0x2f1e4f;throw new Error(_0x4be07d(0x3d3));}[_0x2f1e4f(0x1aa)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x2f1e4f(0x4c9)](){return this;}[_0x2f1e4f(0x487)](){return this;}[_0x2f1e4f(0x39e)](){var _0x1f8304=_0x2f1e4f;const {_injector:_0x123401,_pendingMutations:_0x2492a3,_awaitingChangeset:_0x4f2289,unitID:_0x2141c2,_handler:_0x33c483,type:_0x36e456}=this,_0x82eab5=pt(_0x123401,_0x2141c2,_0x36e456,_0x4f2289,_0x2492a3,_0x33c483);return _0x82eab5 instanceof exports[_0x1f8304(0x20b)]?_0x82eab5[_0x1f8304(0x469)]():(_0x82eab5 instanceof exports['AwaitingWithPendingState']||_0x82eab5 instanceof exports[_0x1f8304(0x490)])&&_0x82eab5['resend'](),_0x82eab5;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports[_0x2f1e4f(0x2c5)]=ae([L(0x5,o[_0x2f1e4f(0x408)](o[_0x2f1e4f(0x2ae)])),L(0x6,o[_0x2f1e4f(0x408)](E[_0x2f1e4f(0x4ec)])),L(0x7,o[_0x2f1e4f(0x1bc)]),L(0x8,o[_0x2f1e4f(0x2cd)]),L(0x9,o[_0x2f1e4f(0x238)](q))],exports['OfflineState']),exports[_0x2f1e4f(0x3ec)]=class extends oe{constructor(_0x16f2b6,_0x205547,_0x215f3f,_0x2b7018,_0x58d821,_0x417539,_0xe1ff66,_0x173e3d,_0x4cb858,_0x4f0681,_0x1d193a,_0x42ca5e,_0xd8ec04,_0x23dbb8){var _0x2fcfc5=_0x2f1e4f;super(_0x16f2b6,_0x205547,_0x215f3f,_0x2b7018,_0xe1ff66,_0x1d193a,_0x42ca5e,_0x4cb858,_0x23dbb8),A(this,_0x2fcfc5(0x1c9),_0x2fcfc5(0x22d)),(this[_0x2fcfc5(0x436)]=_0x58d821,this[_0x2fcfc5(0x4a8)]=_0x417539,this['_injector']=_0x173e3d,this[_0x2fcfc5(0x263)]=_0x4f0681,this[_0x2fcfc5(0x443)]=_0xd8ec04,this[_0x2fcfc5(0x31b)]=_0x23dbb8);}['onMissedChangesetFetched'](_0x347e79){var _0x345780=_0x2f1e4f;try{const _0x5e3f22=[..._0x347e79,...this[_0x345780(0x4a8)]],_0x2bc4f1=[this[_0x345780(0x27b)]||this[_0x345780(0x436)]][_0x345780(0x1ee)](_0x17534c=>!!_0x17534c);let _0x7b1750,_0x42d396;if(_0x2bc4f1[_0x345780(0x237)]){const _0x59ad29=this[_0x345780(0x443)][_0x345780(0x4ae)](_0x5e3f22,_0x2bc4f1,!0x1);if(!E[_0x345780(0x242)](_0x59ad29))throw _0x59ad29[_0x345780(0x3c3)];_0x7b1750=_0x59ad29[_0x345780(0x310)],_0x42d396=_0x59ad29[_0x345780(0x4df)];}else _0x7b1750=_0x5e3f22,_0x42d396=[];let _0x445aec=this['_pendingMutations'];_0x7b1750[_0x345780(0x1f7)](_0x1adf06=>{var _0x165413=_0x345780;let _0x11d8d4;if(_0x445aec[_0x165413(0x237)]){const _0x24e0a2=this[_0x165413(0x443)]['transformMutationsWithChangeset'](_0x1adf06,_0x445aec);if(!E[_0x165413(0x4c8)](_0x24e0a2))throw _0x24e0a2[_0x165413(0x3c3)];_0x11d8d4=_0x24e0a2[_0x165413(0x310)],_0x445aec=_0x24e0a2[_0x165413(0x393)];}else _0x11d8d4=_0x1adf06;this[_0x165413(0x1b6)](_0x11d8d4);}),this[_0x345780(0x436)]&&this['_incrementRevisionNumber'](),this[_0x345780(0x27b)]&&_0x42d396['length']&&(_0x42d396[0x0][_0x345780(0x434)]=this[_0x345780(0x4a7)]());let _0x52ad52;if(this[_0x345780(0x27b)]&&_0x445aec[_0x345780(0x237)]!==0x0)_0x52ad52=this[_0x345780(0x187)]['createInstance'](exports[_0x345780(0x48e)],this[_0x345780(0x261)],this[_0x345780(0x4e1)],_0x42d396[0x0],_0x445aec,this[_0x345780(0x3ee)],void 0x0);else{if(this[_0x345780(0x27b)]&&_0x445aec['length']===0x0)_0x42d396[0x0]['baseRev']=this['_getCurrentRevision'](),_0x52ad52=this[_0x345780(0x187)]['createInstance'](exports[_0x345780(0x490)],this[_0x345780(0x261)],this[_0x345780(0x4e1)],_0x42d396[0x0],this[_0x345780(0x3ee)]);else{if(_0x445aec[_0x345780(0x237)]!==0x0){const _0xc5e31=this[_0x345780(0x187)][_0x345780(0x4fa)](exports[_0x345780(0x20b)],this[_0x345780(0x261)],this[_0x345780(0x4e1)],_0x445aec,this[_0x345780(0x3ee)]);_0xc5e31[_0x345780(0x469)](),_0x52ad52=_0xc5e31;}else _0x52ad52=this[_0x345780(0x187)][_0x345780(0x4fa)](exports['SyncedState'],this['unitID'],this[_0x345780(0x4e1)],this[_0x345780(0x3ee)]);}}return _0x52ad52[_0x345780(0x35c)](),_0x52ad52;}catch(_0x3919db){return this[_0x345780(0x263)][_0x345780(0x3c3)](_0x345780(0x383),_0x345780(0x437),_0x3919db),this[_0x345780(0x187)][_0x345780(0x4fa)](exports[_0x345780(0x447)],this[_0x345780(0x261)],this[_0x345780(0x4e1)],this[_0x345780(0x27b)],this['_pendingMutations'],this[_0x345780(0x3ee)],!0x1);}}[_0x2f1e4f(0x190)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x22f88c){return this['_pendingMutations']['push'](_0x22f88c),this;}[_0x2f1e4f(0x22b)](_0x161908){var _0x221f1d=_0x2f1e4f;return this[_0x221f1d(0x4a8)]['push'](_0x161908),this;}['onRemoteAck'](_0x3a72f3){var _0x465f1e=_0x2f1e4f;if(this[_0x465f1e(0x27b)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x465f1e(0x27b)]=null,this;throw new Error(_0x465f1e(0x2f9));}['onRemoteRej'](_0x2a2915){var _0x3c08c2=_0x2f1e4f;return this[_0x3c08c2(0x471)](!!(_0x2a2915!=null&&_0x2a2915[_0x3c08c2(0x2f8)]));}[_0x2f1e4f(0x4c9)](){return this;}[_0x2f1e4f(0x487)](){var _0x5ea24c=_0x2f1e4f;return this[_0x5ea24c(0x187)][_0x5ea24c(0x4fa)](exports[_0x5ea24c(0x2c5)],this[_0x5ea24c(0x261)],this['type'],this[_0x5ea24c(0x27b)],this[_0x5ea24c(0x45b)],this[_0x5ea24c(0x3ee)]);}[_0x2f1e4f(0x39e)](){return this;}[_0x2f1e4f(0x471)](_0x4cf095){var _0xd808af=_0x2f1e4f;return this['_injector']['createInstance'](exports['ConflictState'],this[_0xd808af(0x261)],this[_0xd808af(0x4e1)],this[_0xd808af(0x27b)],this[_0xd808af(0x45b)],this[_0xd808af(0x3ee)],_0x4cf095);}},exports[_0x2f1e4f(0x3ec)]=ae([L(0x7,o['Inject'](o[_0x2f1e4f(0x2ae)])),L(0x8,o[_0x2f1e4f(0x408)](E[_0x2f1e4f(0x4ec)])),L(0x9,o[_0x2f1e4f(0x33f)]),L(0xa,o[_0x2f1e4f(0x1bc)]),L(0xb,o[_0x2f1e4f(0x2cd)]),L(0xc,E[_0x2f1e4f(0x2ac)]),L(0xd,o[_0x2f1e4f(0x238)](q))],exports[_0x2f1e4f(0x3ec)]);function pt(_0x550103,_0x4de5fb,_0x1726f5,_0x6f98ae,_0x49bc04,_0x26434f){var _0xb03b=_0x2f1e4f;return _0x6f98ae&&_0x49bc04['length']?_0x550103[_0xb03b(0x4fa)](exports['AwaitingWithPendingState'],_0x4de5fb,_0x1726f5,_0x6f98ae,_0x49bc04,_0x26434f,void 0x0):_0x6f98ae?_0x550103[_0xb03b(0x4fa)](exports[_0xb03b(0x490)],_0x4de5fb,_0x1726f5,_0x6f98ae,_0x26434f):_0x49bc04[_0xb03b(0x237)]?_0x550103[_0xb03b(0x4fa)](exports[_0xb03b(0x20b)],_0x4de5fb,_0x1726f5,_0x49bc04,_0x26434f):_0x550103['createInstance'](exports[_0xb03b(0x29b)],_0x4de5fb,_0x1726f5,_0x26434f);}var si=Object['getOwnPropertyDescriptor'],Be=(_0x47fceb,_0x108db5,_0x7b6bce,_0x360ba1)=>{var _0x35f9d6=_0x2f1e4f;for(var _0x18d9fb=_0x360ba1>0x1?void 0x0:_0x360ba1?si(_0x108db5,_0x7b6bce):_0x108db5,_0x5c3424=_0x47fceb[_0x35f9d6(0x237)]-0x1,_0x3afb62;_0x5c3424>=0x0;_0x5c3424--)(_0x3afb62=_0x47fceb[_0x5c3424])&&(_0x18d9fb=_0x3afb62(_0x18d9fb)||_0x18d9fb);return _0x18d9fb;},$=(_0x4a0151,_0x1fd1bf)=>(_0x5dc862,_0x44ba2a)=>_0x1fd1bf(_0x5dc862,_0x44ba2a,_0x4a0151);exports[_0x2f1e4f(0x483)]=class extends o[_0x2f1e4f(0x4ca)]{constructor(_0xfe2381,_0x5bc3a2,_0x29daf4,_0x195596,_0x4e3343,_0x4f21be,_0x1ef89c,_0x11ccf8,_0x374814,_0x3b898f,_0x4d9afb,_0x2ca22a,_0x1b43f4,_0x509b0c){var _0x16e233=_0x2f1e4f;super(),A(this,_0x16e233(0x27c),new j[(_0x16e233(0x387))](null)),A(this,_0x16e233(0x234),this['_state$'][_0x16e233(0x253)]()),A(this,_0x16e233(0x435)),A(this,_0x16e233(0x364),!0x1),A(this,_0x16e233(0x3a9),''),A(this,'_changesetReqId',0x0),A(this,_0x16e233(0x472),this['state$'][_0x16e233(0x222)](j['map'](_0x2b3938=>_0x2b3938?_0x2b3938[_0x16e233(0x1c9)]:je['OFFLINE']),j[_0x16e233(0x338)](0x1))),A(this,_0x16e233(0x442),!0x1),A(this,_0x16e233(0x2a6),[]),(this['unitID']=_0xfe2381,this[_0x16e233(0x465)]=_0x5bc3a2,this[_0x16e233(0x2b2)]=_0x29daf4,this[_0x16e233(0x187)]=_0x195596,this[_0x16e233(0x235)]=_0x4e3343,this['_localeService']=_0x4f21be,this[_0x16e233(0x484)]=_0x1ef89c,this['_eventService']=_0x11ccf8,this[_0x16e233(0x230)]=_0x374814,this[_0x16e233(0x263)]=_0x3b898f,this[_0x16e233(0x211)]=_0x4d9afb,this[_0x16e233(0x38a)]=_0x2ca22a,this[_0x16e233(0x46c)]=_0x1b43f4,this[_0x16e233(0x438)]=_0x509b0c);}get[_0x2f1e4f(0x1e2)](){var _0x2fbc27=_0x2f1e4f;return this[_0x2fbc27(0x435)];}async[_0x2f1e4f(0x477)](){var _0x578d2b=_0x2f1e4f;if(this[_0x578d2b(0x1e2)])throw new Error(_0x578d2b(0x35b));await this[_0x578d2b(0x3e0)]();}[_0x2f1e4f(0x343)](){var _0x49b2a6=_0x2f1e4f;return this[_0x49b2a6(0x364)]=!0x0,o[_0x49b2a6(0x2e4)](()=>{var _0x4355b0=_0x49b2a6;this[_0x4355b0(0x364)]=!0x1,this[_0x4355b0(0x1d1)]();});}['onLocalMutation'](_0x257854){var _0x391cae=_0x2f1e4f;this[_0x391cae(0x4b6)](_0x257854);}[_0x2f1e4f(0x3e3)](_0x1b9b6c){var _0x11bf84=_0x2f1e4f;this['_state']=_0x1b9b6c,this['_state$'][_0x11bf84(0x352)](_0x1b9b6c);}async['_init'](){var _0x540f95=_0x2f1e4f,_0x277e72;this[_0x540f95(0x3e3)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x277e72=this[_0x540f95(0x46c)])==null||_0x277e72['editingUnit'](this[_0x540f95(0x261)]),this[_0x540f95(0x1b7)](this['_singleActiveUnitService'][_0x540f95(0x20d)](this[_0x540f95(0x261)])[_0x540f95(0x350)](_0x243a9b=>{var _0x53cf6b=_0x540f95;this[_0x53cf6b(0x263)][_0x53cf6b(0x48b)](_0x53cf6b(0x1e1),_0x53cf6b(0x50a),_0x243a9b),_0x243a9b===He[_0x53cf6b(0x194)]?(this[_0x53cf6b(0x2fe)][_0x53cf6b(0x18f)]({'id':J[_0x53cf6b(0x4b8)]}),this[_0x53cf6b(0x38a)][_0x53cf6b(0x3b4)](new Q[(_0x53cf6b(0x3a2))](this[_0x53cf6b(0x261)])['id'],!0x1),this[_0x53cf6b(0x38a)][_0x53cf6b(0x319)](!0x1)):(this[_0x53cf6b(0x38a)][_0x53cf6b(0x3b4)](new Q['WorkbookEditablePermission'](this['unitID'])['id'],!0x0),this['_permissionService'][_0x53cf6b(0x319)](!0x0));})));let _0x1f1b0a=!0x1;return this[_0x540f95(0x1b7)](this[_0x540f95(0x465)][_0x540f95(0x2b6)][_0x540f95(0x350)](_0x41bc43=>{var _0x476d64=_0x540f95;_0x41bc43===se[_0x476d64(0x31d)]?this[_0x476d64(0x1a8)](_0x1f1b0a):_0x41bc43===se['OFFLINE']&&(_0x1f1b0a=!0x0,this[_0x476d64(0x229)]());})),this[_0x540f95(0x1b7)](this[_0x540f95(0x465)][_0x540f95(0x2be)][_0x540f95(0x350)](_0x4bfbc3=>{var _0x5a5b7a=_0x540f95;try{switch(_0x4bfbc3[_0x5a5b7a(0x50b)]){case E[_0x5a5b7a(0x192)]['NEW_CHANGESETS']:{this['_onRemoteChangeset'](E[_0x5a5b7a(0x1cd)](_0x4bfbc3[_0x5a5b7a(0x1a1)]));break;}case E['CollaborationEvent'][_0x5a5b7a(0x480)]:{this[_0x5a5b7a(0x446)](_0x4bfbc3[_0x5a5b7a(0x1a1)]);break;}case E['CollaborationEvent'][_0x5a5b7a(0x507)]:{this['_onRemoteRejected']();break;}case E[_0x5a5b7a(0x192)][_0x5a5b7a(0x474)]:{this[_0x5a5b7a(0x482)](_0x4bfbc3[_0x5a5b7a(0x1a1)]);break;}case E[_0x5a5b7a(0x192)][_0x5a5b7a(0x36c)]:{this['_onFetchMissResult'](_0x4bfbc3['data'][_0x5a5b7a(0x4d9)]['map'](_0x347e3b=>E[_0x5a5b7a(0x1cd)](_0x347e3b)));break;}case E[_0x5a5b7a(0x192)][_0x5a5b7a(0x33e)]:{this[_0x5a5b7a(0x354)]({'isPermissionRej':!0x0});break;}case E['CollaborationEvent'][_0x5a5b7a(0x206)]:break;}}catch(_0x2f6c18){throw console['error'](_0x5a5b7a(0x40c),_0x2f6c18),_0x2f6c18;}})),this['_state'];}['_unlockTransition'](){var _0x54e7c3=_0x2f1e4f;this[_0x54e7c3(0x442)]=!0x1;}[_0x2f1e4f(0x2d8)](){var _0x16be63=_0x2f1e4f;if(this[_0x16be63(0x442)])throw new Error(_0x16be63(0x2ee));this[_0x16be63(0x442)]=!0x0;}['_onLocalMutation'](_0x4ef09e){var _0x549783=_0x2f1e4f;this[_0x549783(0x2d8)](),this[_0x549783(0x3e3)](this[_0x549783(0x435)][_0x549783(0x27e)](_0x4ef09e)),this['_unlockTransition']();}[_0x2f1e4f(0x23f)](_0x5303bb){var _0xf05a27=_0x2f1e4f;if(!(_0x5303bb[_0xf05a27(0x279)]<=this[_0xf05a27(0x484)][_0xf05a27(0x4da)](this['unitID']))){if(this[_0xf05a27(0x364)]){this[_0xf05a27(0x2a6)][_0xf05a27(0x1b2)](_0x5303bb);return;}this[_0xf05a27(0x280)](_0x5303bb);}}[_0x2f1e4f(0x1d1)](){var _0x376ccd=_0x2f1e4f;this[_0x376ccd(0x2a6)][_0x376ccd(0x1f7)](_0x4baff1=>this[_0x376ccd(0x280)](_0x4baff1)),this[_0x376ccd(0x2a6)]=[];}[_0x2f1e4f(0x280)](_0x19b462){var _0x338df3=_0x2f1e4f;const _0x3e63ab=this[_0x338df3(0x235)]['interceptor']['fetchThroughInterceptors'](this[_0x338df3(0x235)][_0x338df3(0x372)]['getInterceptPoints']()[_0x338df3(0x3df)])(_0x19b462[_0x338df3(0x2dc)],null)||_0x19b462[_0x338df3(0x2dc)],_0x1e6a33={..._0x19b462,'mutations':_0x3e63ab};this[_0x338df3(0x2d8)](),this[_0x338df3(0x3e3)](this[_0x338df3(0x435)][_0x338df3(0x22b)](_0x1e6a33)),this[_0x338df3(0x277)]();}[_0x2f1e4f(0x446)](_0xe1cce0){var _0x5bd037=_0x2f1e4f;this[_0x5bd037(0x2d8)](),this[_0x5bd037(0x3e3)](this[_0x5bd037(0x435)][_0x5bd037(0x3a3)](_0xe1cce0)),this[_0x5bd037(0x277)]();}[_0x2f1e4f(0x354)](_0x9ab98c){var _0x250684=_0x2f1e4f;this[_0x250684(0x2d8)](),this[_0x250684(0x3e3)](this[_0x250684(0x435)][_0x250684(0x1aa)](_0x9ab98c)),this[_0x250684(0x277)]();}[_0x2f1e4f(0x482)](_0x19a9d6){var _0xf70e6c=_0x2f1e4f;this[_0xf70e6c(0x2d8)](),this[_0xf70e6c(0x3e3)](this[_0xf70e6c(0x435)][_0xf70e6c(0x4c9)](_0x19a9d6)),this[_0xf70e6c(0x277)]();}[_0x2f1e4f(0x43e)](_0x3672d0){var _0x5501b8=_0x2f1e4f;if(!(this[_0x5501b8(0x435)]instanceof exports[_0x5501b8(0x3ec)]))throw new TypeError(_0x5501b8(0x274));const _0x215968=_0x3672d0[_0x5501b8(0x3c4)](_0x5103cc=>{var _0xaa7ae4=_0x5501b8;const _0x5ba2d5=this[_0xaa7ae4(0x235)][_0xaa7ae4(0x372)]['fetchThroughInterceptors'](this[_0xaa7ae4(0x235)]['interceptor'][_0xaa7ae4(0x24c)]()['COMPRESS_MUTATION_APPLY'])(_0x5103cc['mutations'],null)||_0x5103cc['mutations'];return{..._0x5103cc,'mutations':_0x5ba2d5};});this[_0x5501b8(0x2d8)](),this[_0x5501b8(0x3e3)](this['_state'][_0x5501b8(0x1c3)](_0x215968)),this[_0x5501b8(0x277)]();}['_toggleOffline'](){var _0x2f74bc=_0x2f1e4f;this['_lockTransition'](),this[_0x2f74bc(0x3e3)](this[_0x2f74bc(0x435)][_0x2f74bc(0x487)]()),this['_unlockTransition']();}[_0x2f1e4f(0x1a8)](_0x23bbc7=!0x1){var _0xab0b24=_0x2f1e4f;this['_lockTransition'](),this[_0xab0b24(0x3e3)](this[_0xab0b24(0x435)][_0xab0b24(0x39e)]()),this['_unlockTransition']();const _0x4afde8=this['_state'];_0x23bbc7&&_0x4afde8 instanceof exports['SyncedState']&&(this[_0xab0b24(0x2d8)](),this[_0xab0b24(0x3e3)](_0x4afde8[_0xab0b24(0x46a)]()),this['_unlockTransition']());}async[_0x2f1e4f(0x28b)](){return new Promise(_0x1366fe=>{var _0x3766cf=_0x223c;this[_0x3766cf(0x465)][_0x3766cf(0x2b6)][_0x3766cf(0x222)](j['take'](0x1))[_0x3766cf(0x350)](async _0x237edc=>{var _0x19a63a=_0x3766cf;_0x1366fe(await this[_0x19a63a(0x511)](_0x237edc===se[_0x19a63a(0x31d)]));});});}[_0x2f1e4f(0x47b)](){var _0xd8e4c2=_0x2f1e4f;const _0x2882e9=this[_0xd8e4c2(0x261)];return{'onStateChange':(_0x2095e2,_0x354998)=>{var _0x5f0187=_0xd8e4c2;if(_0x2095e2!==this[_0x5f0187(0x435)])throw new Error(_0x5f0187(0x509)+_0x2095e2[_0x5f0187(0x1c9)]+'\x0aAfter:\x20'+_0x354998[_0x5f0187(0x1c9)]+_0x5f0187(0x4b5)+this[_0x5f0187(0x435)]['status']);this[_0x5f0187(0x3e3)](_0x354998);},'onSendChangeset':_0x56628a=>{var _0xac0264=_0xd8e4c2;_0x56628a[_0xac0264(0x29c)]||(_0x56628a['sid']=this['_changesetSessionId'],_0x56628a['reqId']=++this[_0xac0264(0x231)]);const _0x5c1082={'eventID':E[_0xac0264(0x192)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x56628a[_0xac0264(0x261)],'unitType':this[_0xac0264(0x2b2)],'changeset':_0x56628a,'memberID':this[_0xac0264(0x465)][_0xac0264(0x3fb)]()}};this[_0xac0264(0x465)]['send'](_0x5c1082,this['unitID']);},'onMissingChangesets':({from:_0x2822b9,to:_0x3d0b91})=>{var _0x2ae1c2=_0xd8e4c2;this['_logService'][_0x2ae1c2(0x48b)](_0x2ae1c2(0x1e1),'fetching\x20missing\x20changesets\x20from\x20'+_0x2822b9+_0x2ae1c2(0x373)+_0x3d0b91);const _0x5e2bc2={'eventID':E[_0x2ae1c2(0x192)]['FETCH_MISSING'],'data':{'unitID':_0x2882e9,'unitType':this[_0x2ae1c2(0x2b2)],'from':_0x2822b9,'to':_0x3d0b91}};this[_0x2ae1c2(0x465)][_0x2ae1c2(0x513)](_0x5e2bc2,this[_0x2ae1c2(0x261)]);}};}async[_0x2f1e4f(0x511)](_0x15b712){var _0x42e892=_0x2f1e4f,_0x53fbba,_0x330404,_0x14fb84;const _0x133ddd=await((_0x53fbba=this[_0x42e892(0x438)])==null?void 0x0:_0x53fbba[_0x42e892(0x42f)](this[_0x42e892(0x261)])),_0x1f1956=(_0x330404=_0x133ddd==null?void 0x0:_0x133ddd[_0x42e892(0x2dc)])!=null?_0x330404:[],_0x30e52f=(_0x14fb84=_0x133ddd==null?void 0x0:_0x133ddd[_0x42e892(0x382)])!=null?_0x14fb84:null,_0x466bd8=!!(_0x30e52f!=null&&_0x30e52f[_0x42e892(0x29c)])&&!!(_0x30e52f!=null&&_0x30e52f['reqId']);this[_0x42e892(0x3a9)]=_0x466bd8?_0x30e52f[_0x42e892(0x29c)]:E[_0x42e892(0x228)](),this[_0x42e892(0x231)]=_0x466bd8?_0x30e52f[_0x42e892(0x3a6)]:0x0;const _0x289219=this[_0x42e892(0x261)];try{this[_0x42e892(0x4b7)](_0x30e52f,_0x1f1956);}catch(_0x71faaa){this[_0x42e892(0x263)][_0x42e892(0x3c3)](_0x71faaa);}const _0x5263d9=this['_createHandler']();if(_0x15b712){const _0x3f9c83=pt(this[_0x42e892(0x187)],_0x289219,this[_0x42e892(0x2b2)],_0x30e52f,_0x1f1956,_0x5263d9);return _0x3f9c83 instanceof exports['PendingState']?_0x3f9c83['_schedule']():(_0x3f9c83 instanceof exports['AwaitingWithPendingState']||_0x3f9c83 instanceof exports[_0x42e892(0x490)])&&_0x3f9c83['resend'](),_0x3f9c83;}return this[_0x42e892(0x187)][_0x42e892(0x4fa)](exports[_0x42e892(0x2c5)],_0x289219,this[_0x42e892(0x2b2)],_0x30e52f,_0x1f1956,_0x5263d9);}['_replayCachedMutations'](_0x4a7546,_0x4a6002){var _0x54eb67=_0x2f1e4f,_0x5a8f8f,_0x319022;const _0x5e41dd=this[_0x54eb67(0x235)][_0x54eb67(0x372)]['fetchThroughInterceptors'](this[_0x54eb67(0x235)][_0x54eb67(0x372)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x5a8f8f=_0x5e41dd((_0x4a7546==null?void 0x0:_0x4a7546[_0x54eb67(0x2dc)])||[],null))==null||_0x5a8f8f[_0x54eb67(0x1f7)](_0x2b4a47=>this['_commandService'][_0x54eb67(0x1a3)](_0x2b4a47['id'],_0x2b4a47[_0x54eb67(0x2d3)])),(_0x319022=_0x5e41dd(_0x4a6002||[],null))==null||_0x319022[_0x54eb67(0x1f7)](_0x6af6f=>this[_0x54eb67(0x211)][_0x54eb67(0x1a3)](_0x6af6f['id'],_0x6af6f[_0x54eb67(0x2d3)]));}},exports[_0x2f1e4f(0x483)]=Be([$(0x3,o[_0x2f1e4f(0x408)](o[_0x2f1e4f(0x2ae)])),$(0x4,o[_0x2f1e4f(0x408)](E['CompressMutationService'])),$(0x5,o[_0x2f1e4f(0x408)](o[_0x2f1e4f(0x26c)])),$(0x6,o['Inject'](E[_0x2f1e4f(0x4ec)])),$(0x7,o['Inject'](ee)),$(0x8,o[_0x2f1e4f(0x318)]),$(0x9,o[_0x2f1e4f(0x33f)]),$(0xa,o[_0x2f1e4f(0x1bc)]),$(0xb,o[_0x2f1e4f(0x49f)]),$(0xc,o[_0x2f1e4f(0x238)](ve)),$(0xd,o[_0x2f1e4f(0x238)](q))],exports[_0x2f1e4f(0x483)]),exports[_0x2f1e4f(0x28f)]=class extends exports[_0x2f1e4f(0x483)]{constructor(_0x20055d,_0x5b6bd8,_0xfd9f7,_0x19546b,_0x30e31a,_0x875e65,_0x207f1c,_0xc5d490,_0x4a8a41,_0x48ea4e,_0x3c09e2,_0x1261e9,_0x5ef970,_0x51db7b){var _0x555501=_0x2f1e4f;super(_0x20055d,_0xfd9f7,_0x5b6bd8,_0x19546b,_0x30e31a,_0x875e65,_0x207f1c,_0xc5d490,_0x4a8a41,_0x48ea4e,_0x3c09e2,_0x1261e9,_0x5ef970,_0x51db7b),A(this,_0x555501(0x36d),null),(this['unitID']=_0x20055d,this[_0x555501(0x4e1)]=_0x5b6bd8);}[_0x2f1e4f(0x215)](_0x2f21c0){this['_handlerCallback']=_0x2f21c0;}[_0x2f1e4f(0x182)](){var _0x682da6=_0x2f1e4f;this[_0x682da6(0x36d)]=null,super['dispose']();}[_0x2f1e4f(0x47b)](){var _0x997b3f=_0x2f1e4f;const _0x12ba01=super[_0x997b3f(0x47b)]();return _0x12ba01[_0x997b3f(0x1fa)]=_0x5b5229=>{var _0x4a2eaf=_0x997b3f,_0xf99484,_0x35f77b;return(_0x35f77b=(_0xf99484=this[_0x4a2eaf(0x36d)])==null?void 0x0:_0xf99484[_0x4a2eaf(0x1fa)])==null?void 0x0:_0x35f77b[_0x4a2eaf(0x47a)](_0xf99484,_0x5b5229);},_0x12ba01[_0x997b3f(0x32c)]=_0x5800e1=>{var _0x57f8c2=_0x997b3f,_0x7be30e,_0x4e30eb;return(_0x4e30eb=(_0x7be30e=this[_0x57f8c2(0x36d)])==null?void 0x0:_0x7be30e[_0x57f8c2(0x32c)])==null?void 0x0:_0x4e30eb[_0x57f8c2(0x47a)](_0x7be30e,_0x5800e1);},_0x12ba01['onTransformSelections']=_0x5de12c=>{var _0x284c1e=_0x997b3f,_0x1f4987,_0x28db4c;return(_0x28db4c=(_0x1f4987=this[_0x284c1e(0x36d)])==null?void 0x0:_0x1f4987[_0x284c1e(0x495)])==null?void 0x0:_0x28db4c[_0x284c1e(0x47a)](_0x1f4987,_0x5de12c);},_0x12ba01[_0x997b3f(0x3de)]=_0x4bc4fa=>{var _0x153089=_0x997b3f,_0x1f6804,_0x4fb16c;return(_0x4fb16c=(_0x1f6804=this[_0x153089(0x36d)])==null?void 0x0:_0x1f6804[_0x153089(0x3de)])==null?void 0x0:_0x4fb16c[_0x153089(0x47a)](_0x1f6804,_0x4bc4fa);},_0x12ba01[_0x997b3f(0x31e)]=_0x25908c=>{var _0x13fe21=_0x997b3f,_0x23b57f,_0x49da9c,_0x3e31cc;if(!((_0x23b57f=this['_handlerCallback'])!=null&&_0x23b57f['onTransformRemoteChangesetByIMECache']))throw new Error(_0x13fe21(0x2ec));return(_0x3e31cc=(_0x49da9c=this[_0x13fe21(0x36d)])==null?void 0x0:_0x49da9c[_0x13fe21(0x31e)])==null?void 0x0:_0x3e31cc[_0x13fe21(0x47a)](_0x49da9c,_0x25908c);},_0x12ba01[_0x997b3f(0x4a9)]=_0x3b522f=>{var _0x3497be=_0x997b3f,_0x239b8b,_0x4865c3,_0x2d09c5;if(!((_0x239b8b=this['_handlerCallback'])!=null&&_0x239b8b[_0x3497be(0x4a9)]))throw new Error(_0x3497be(0x365));return(_0x2d09c5=(_0x4865c3=this[_0x3497be(0x36d)])==null?void 0x0:_0x4865c3[_0x3497be(0x4a9)])==null?void 0x0:_0x2d09c5['call'](_0x4865c3,_0x3b522f);},_0x12ba01;}async[_0x2f1e4f(0x3e0)](){var _0x1ce2cb=_0x2f1e4f;const _0x4ed042=await super[_0x1ce2cb(0x3e0)]();return this['disposeWithMe'](this['_commandService'][_0x1ce2cb(0x208)]((_0x315078,_0x180221)=>{var _0x5c0b21=_0x1ce2cb;if(_0x315078[_0x5c0b21(0x4e1)]!==o['CommandType']['MUTATION']||_0x180221!=null&&_0x180221['fromCollab']||_0x180221!=null&&_0x180221['onlyLocal']||_0x315078['id']===ct[_0x5c0b21(0x4d4)]['id'])return;const _0x438146=_0x315078[_0x5c0b21(0x2d3)];if((_0x438146==null?void 0x0:_0x438146[_0x5c0b21(0x204)])!==this[_0x5c0b21(0x261)])return;const _0x2819ec=_0x315078,_0xf60c0a=this[_0x5c0b21(0x235)][_0x5c0b21(0x372)][_0x5c0b21(0x30f)](this[_0x5c0b21(0x235)][_0x5c0b21(0x372)][_0x5c0b21(0x24c)]()['COMPRESS_MUTATION_SEND'])([_0x2819ec],this['_univerInstanceService'])||[_0x2819ec];this[_0x5c0b21(0x4b6)](_0xf60c0a[0x0]);})),_0x4ed042;}},exports['DocCollaborationEntity']=Be([$(0x3,o[_0x2f1e4f(0x408)](o[_0x2f1e4f(0x2ae)])),$(0x4,o[_0x2f1e4f(0x408)](E['CompressMutationService'])),$(0x5,o[_0x2f1e4f(0x408)](o[_0x2f1e4f(0x26c)])),$(0x6,o[_0x2f1e4f(0x408)](E['RevisionService'])),$(0x7,o[_0x2f1e4f(0x408)](ee)),$(0x8,o[_0x2f1e4f(0x318)]),$(0x9,o[_0x2f1e4f(0x33f)]),$(0xa,o['ICommandService']),$(0xb,o[_0x2f1e4f(0x49f)]),$(0xc,o[_0x2f1e4f(0x238)](ve)),$(0xd,o[_0x2f1e4f(0x238)](q))],exports['DocCollaborationEntity']),exports['SheetCollaborationEntity']=class extends exports[_0x2f1e4f(0x483)]{constructor(_0x1238cf,_0x20ded6,_0x54e12d,_0x228236,_0x2814c8,_0x4e2105,_0x331c66,_0x29e820,_0x119701,_0x49c110,_0x4a4450,_0x49c842,_0x18e079,_0x5c6e3a,_0xdcc2db){var _0x271504=_0x2f1e4f;super(_0x1238cf,_0x54e12d,_0x20ded6,_0x228236,_0x2814c8,_0x4e2105,_0x331c66,_0x119701,_0x49c110,_0x4a4450,_0x49c842,_0x18e079,_0x5c6e3a,_0xdcc2db),this['unitID']=_0x1238cf,this[_0x271504(0x4e1)]=_0x20ded6,this[_0x271504(0x411)]=_0x29e820;}[_0x2f1e4f(0x47b)](){var _0x23dce5=_0x2f1e4f;const _0x22cb1d=super[_0x23dce5(0x47b)]();return _0x22cb1d[_0x23dce5(0x495)]=_0x1472cf=>this[_0x23dce5(0x411)][_0x23dce5(0x45c)](_0x1472cf),_0x22cb1d;}async[_0x2f1e4f(0x3e0)](){var _0x245a30=_0x2f1e4f;const _0x2ba8ac=await super[_0x245a30(0x3e0)]();return this[_0x245a30(0x1b7)](this['_commandService'][_0x245a30(0x208)]((_0x169915,_0x165168)=>{var _0x48639c=_0x245a30;if(_0x169915[_0x48639c(0x4e1)]!==o[_0x48639c(0x370)][_0x48639c(0x328)]||_0x165168!=null&&_0x165168[_0x48639c(0x3cf)]||_0x165168!=null&&_0x165168[_0x48639c(0x416)])return;const _0x41a8bc=_0x169915[_0x48639c(0x2d3)];if((_0x41a8bc==null?void 0x0:_0x41a8bc[_0x48639c(0x204)])!==this[_0x48639c(0x261)])return;const _0x680b85=_0x169915,_0x161ae5=this['_compressMutationService'][_0x48639c(0x372)][_0x48639c(0x30f)](this[_0x48639c(0x235)]['interceptor'][_0x48639c(0x24c)]()[_0x48639c(0x2aa)])([_0x680b85],this[_0x48639c(0x230)])||[_0x680b85];this['_onLocalMutation'](_0x161ae5[0x0]);})),_0x2ba8ac;}},exports[_0x2f1e4f(0x3c9)]=Be([$(0x3,o['Inject'](o[_0x2f1e4f(0x2ae)])),$(0x4,o[_0x2f1e4f(0x408)](E['CompressMutationService'])),$(0x5,o[_0x2f1e4f(0x408)](o['LocaleService'])),$(0x6,o[_0x2f1e4f(0x408)](E[_0x2f1e4f(0x4ec)])),$(0x7,o[_0x2f1e4f(0x408)](exports[_0x2f1e4f(0x42a)])),$(0x8,o[_0x2f1e4f(0x408)](ee)),$(0x9,o['IUniverInstanceService']),$(0xa,o[_0x2f1e4f(0x33f)]),$(0xb,o['ICommandService']),$(0xc,o['IPermissionService']),$(0xd,o[_0x2f1e4f(0x238)](ve)),$(0xe,o['Optional'](q))],exports[_0x2f1e4f(0x3c9)]);const mt=o[_0x2f1e4f(0x345)](_0x2f1e4f(0x339));function gt(_0x135d87){var _0x5db594=_0x2f1e4f,_0x214a3c,_0x49db96,_0x3b46c6,_0x19216f,_0x219274;const _0x51ff33=_0x135d87['data'],_0xec60e7=JSON[_0x5db594(0x4b2)](_0x51ff33);switch(_0xec60e7[_0x5db594(0x2d4)]){case W[_0x5db594(0x3ab)]:case W[_0x5db594(0x358)]:{const _0x5b3e3c=_0xec60e7[_0x5db594(0x384)];return{..._0xec60e7,'data':_0x5b3e3c,'cmd':_0xec60e7['cmd']};}case W[_0x5db594(0x23d)]:{const _0xf7c12d=_0xec60e7['joinRsp'];return{..._0xec60e7,'data':_0xf7c12d,'cmd':_0xec60e7[_0x5db594(0x2d4)]};}case W['RECV']:{const _0x5d1679=_0xec60e7[_0x5db594(0x1af)];switch(_0x5d1679['eventID']){case E[_0x5db594(0x192)][_0x5db594(0x33e)]:return{..._0xec60e7,'data':{..._0x5d1679,'data':(_0x214a3c=_0x5d1679[_0x5db594(0x4bb)])==null?void 0x0:_0x214a3c['cs']},'cmd':_0xec60e7[_0x5db594(0x2d4)]};case E[_0x5db594(0x192)][_0x5db594(0x480)]:return{..._0xec60e7,'data':{..._0x5d1679,'data':(_0x49db96=_0x5d1679[_0x5db594(0x353)])==null?void 0x0:_0x49db96['cs']},'cmd':_0xec60e7[_0x5db594(0x2d4)]};case E[_0x5db594(0x192)]['NEW_CHANGESETS']:return{..._0xec60e7,'data':{..._0x5d1679,'data':(_0x3b46c6=_0x5d1679[_0x5db594(0x489)])==null?void 0x0:_0x3b46c6['cs']},'cmd':_0xec60e7[_0x5db594(0x2d4)]};case E[_0x5db594(0x192)][_0x5db594(0x507)]:return{..._0xec60e7,'data':{..._0x5d1679,'data':(_0x19216f=_0x5d1679[_0x5db594(0x265)])==null?void 0x0:_0x19216f['cs']},'cmd':_0xec60e7['cmd']};case E[_0x5db594(0x192)][_0x5db594(0x474)]:return{..._0xec60e7,'data':{..._0x5d1679,'data':(_0x219274=_0x5d1679[_0x5db594(0x355)])==null?void 0x0:_0x219274['cs']},'cmd':_0xec60e7['cmd']};case E[_0x5db594(0x192)]['UPDATE_CURSOR']:return{..._0xec60e7,'data':{..._0x5d1679,'data':_0x5d1679['updateCursorEvent']},'cmd':_0xec60e7[_0x5db594(0x2d4)]};case E[_0x5db594(0x192)][_0x5db594(0x49d)]:return{..._0xec60e7,'data':{..._0x5d1679,'data':_0x5d1679[_0x5db594(0x3bb)]},'cmd':_0xec60e7['cmd']};case E[_0x5db594(0x192)][_0x5db594(0x38e)]:return{..._0xec60e7,'data':{..._0x5d1679,'data':_0x5d1679['leaveEvent']},'cmd':_0xec60e7[_0x5db594(0x2d4)]};case E['CollaborationEvent'][_0x5db594(0x38f)]:return{..._0xec60e7,'data':{..._0x5d1679,'data':_0x5d1679[_0x5db594(0x327)]},'cmd':_0xec60e7[_0x5db594(0x2d4)]};case E[_0x5db594(0x192)][_0x5db594(0x321)]:case E[_0x5db594(0x192)]['LIVESHARE_OPERATION']:return{..._0xec60e7,'data':{..._0x5d1679,'data':_0x5d1679[_0x5db594(0x311)]},'cmd':_0xec60e7[_0x5db594(0x2d4)]};case E[_0x5db594(0x192)]['LIVESHARE_TERMINATE']:return{..._0xec60e7,'data':{..._0x5d1679,'data':_0x5d1679[_0x5db594(0x327)]},'cmd':_0xec60e7[_0x5db594(0x2d4)]};case E['CollaborationEvent'][_0x5db594(0x4c1)]:return{..._0xec60e7,'data':_0x5d1679,'cmd':_0xec60e7[_0x5db594(0x2d4)]};case E[_0x5db594(0x192)][_0x5db594(0x1a4)]:return{..._0xec60e7,'data':{..._0x5d1679,'data':_0x5d1679['commentUpdateEvent']},'cmd':_0xec60e7[_0x5db594(0x2d4)]};case E[_0x5db594(0x192)][_0x5db594(0x4c4)]:return{..._0xec60e7,'data':{..._0x5d1679,'data':_0x5d1679[_0x5db594(0x4bd)]},'cmd':_0xec60e7[_0x5db594(0x2d4)]};case E[_0x5db594(0x192)]['SHOULD_CLOSE_CONN']:return{..._0xec60e7,'data':{..._0x5d1679,'data':_0x5d1679[_0x5db594(0x336)]},'cmd':_0xec60e7[_0x5db594(0x2d4)]};case E[_0x5db594(0x192)][_0x5db594(0x206)]:return{..._0xec60e7,'data':{..._0x5d1679,'data':_0x5d1679[_0x5db594(0x3aa)]},'cmd':_0xec60e7[_0x5db594(0x2d4)]};default:return _0xec60e7;}}default:return _0xec60e7;}}function Tt(_0x53bef8){var _0x5ed007=_0x2f1e4f;switch(_0x53bef8[_0x5ed007(0x2d4)]){case W[_0x5ed007(0x3ab)]:case W[_0x5ed007(0x358)]:return JSON['stringify']({'cmd':_0x53bef8['cmd'],'routeKey':_0x53bef8[_0x5ed007(0x3d8)]});case W['INGEST']:{let _0x385800;switch(_0x53bef8[_0x5ed007(0x1a1)]['eventID']){case E[_0x5ed007(0x192)][_0x5ed007(0x344)]:{_0x385800={'eventID':E['CollaborationEvent'][_0x5ed007(0x344)],'updateCursorEvent':_0x53bef8[_0x5ed007(0x1a1)][_0x5ed007(0x1a1)]};break;}case E[_0x5ed007(0x192)][_0x5ed007(0x38e)]:{_0x385800={'eventID':E[_0x5ed007(0x192)]['USERS_LEAVE'],'leaveEvent':_0x53bef8[_0x5ed007(0x1a1)][_0x5ed007(0x1a1)]};break;}case E['CollaborationEvent'][_0x5ed007(0x49d)]:{_0x385800={'eventID':E['CollaborationEvent'][_0x5ed007(0x49d)],'joinEvent':_0x53bef8[_0x5ed007(0x1a1)][_0x5ed007(0x1a1)]};break;}case E[_0x5ed007(0x192)][_0x5ed007(0x38f)]:{_0x385800={'eventID':E[_0x5ed007(0x192)][_0x5ed007(0x38f)],'liveShareNewHost':_0x53bef8[_0x5ed007(0x1a1)][_0x5ed007(0x1a1)]};break;}case E['CollaborationEvent'][_0x5ed007(0x478)]:{_0x385800={'eventID':E[_0x5ed007(0x192)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x53bef8[_0x5ed007(0x1a1)][_0x5ed007(0x1a1)]};break;}case E['CollaborationEvent'][_0x5ed007(0x427)]:{_0x385800={'eventID':E[_0x5ed007(0x192)][_0x5ed007(0x427)],'liveShareTerminate':_0x53bef8[_0x5ed007(0x1a1)][_0x5ed007(0x1a1)]};break;}case E[_0x5ed007(0x192)][_0x5ed007(0x27a)]:{_0x385800={'eventID':E[_0x5ed007(0x192)][_0x5ed007(0x27a)],'liveShareRequestHost':_0x53bef8[_0x5ed007(0x1a1)][_0x5ed007(0x1a1)]};break;}case E[_0x5ed007(0x192)][_0x5ed007(0x321)]:{_0x385800={'eventID':E['CollaborationEvent'][_0x5ed007(0x321)]};break;}default:_0x385800={'eventID':_0x53bef8['data'][_0x5ed007(0x50b)]};}return JSON['stringify']({'cmd':_0x53bef8['cmd'],'routeKey':_0x53bef8[_0x5ed007(0x3d8)],'collaMsg':_0x385800});}case W[_0x5ed007(0x23d)]:return JSON[_0x5ed007(0x1dd)]({'cmd':_0x53bef8[_0x5ed007(0x2d4)],'routeKey':_0x53bef8['routeKey'],'joinReq':_0x53bef8[_0x5ed007(0x1a1)]});case W[_0x5ed007(0x479)]:return JSON[_0x5ed007(0x1dd)]({'cmd':_0x53bef8['cmd'],'routeKey':_0x53bef8[_0x5ed007(0x3d8)],'leaveReq':_0x53bef8[_0x5ed007(0x1a1)]});default:throw new Error(_0x5ed007(0x470));}}var ri=Object['getOwnPropertyDescriptor'],ai=(_0x52320b,_0x565036,_0x4c4db2,_0x568da3)=>{var _0x3099db=_0x2f1e4f;for(var _0x21058e=_0x568da3>0x1?void 0x0:_0x568da3?ri(_0x565036,_0x4c4db2):_0x565036,_0x13fcce=_0x52320b[_0x3099db(0x237)]-0x1,_0x3a71cc;_0x13fcce>=0x0;_0x13fcce--)(_0x3a71cc=_0x52320b[_0x13fcce])&&(_0x21058e=_0x3a71cc(_0x21058e)||_0x21058e);return _0x21058e;},he=(_0x4f8951,_0x317ecf)=>(_0x34632b,_0x119ae9)=>_0x317ecf(_0x34632b,_0x119ae9,_0x4f8951);const Fe=o[_0x2f1e4f(0x345)](_0x2f1e4f(0x2e6));function oi(_0x50649a,_0x409a75,_0x3564a7){var _0x5832aa=_0x2f1e4f;return _0x50649a+'/'+_0x409a75+'/unit/'+_0x3564a7+_0x5832aa(0x18e);}exports[_0x2f1e4f(0x463)]=class extends o['Disposable']{constructor(_0x588e6d,_0x29a8ac,_0x502694,_0x5d9702,_0x212e77){var _0x19c0f9=_0x2f1e4f;super(),this[_0x19c0f9(0x187)]=_0x588e6d,this[_0x19c0f9(0x3d7)]=_0x29a8ac,this[_0x19c0f9(0x50e)]=_0x502694,this[_0x19c0f9(0x263)]=_0x5d9702,this[_0x19c0f9(0x2a7)]=_0x212e77;}[_0x2f1e4f(0x1e8)](_0x2ecbe4){var _0x4c76a1=_0x2f1e4f;const _0x153f10=this[_0x4c76a1(0x187)][_0x4c76a1(0x389)](K[_0x4c76a1(0x3e9)]);if(!_0x153f10)throw new Error(_0x4c76a1(0x1a7));const _0x5ba9de=_0x153f10['createSocket'](_0x2ecbe4);if(!_0x5ba9de)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x5070c7=new o['DisposableCollection'](),_0x85847c=new j[(_0x4c76a1(0x452))]();_0x5070c7[_0x4c76a1(0x504)](_0x5ba9de[_0x4c76a1(0x25b)][_0x4c76a1(0x350)](_0x4036dd=>_0x85847c['next'](_0x4036dd))),_0x5070c7[_0x4c76a1(0x504)](o[_0x4c76a1(0x2e4)](()=>_0x85847c['complete']()));const _0x47b531=new j['Subject']();_0x5070c7[_0x4c76a1(0x504)](_0x5ba9de[_0x4c76a1(0x4f6)][_0x4c76a1(0x350)](_0x4941b9=>_0x47b531[_0x4c76a1(0x352)](_0x4941b9))),_0x5070c7['add'](o[_0x4c76a1(0x2e4)](()=>_0x47b531[_0x4c76a1(0x4ac)]()));const _0x5f3652=new j[(_0x4c76a1(0x452))]();_0x5070c7[_0x4c76a1(0x504)](_0x5ba9de[_0x4c76a1(0x3f0)][_0x4c76a1(0x350)](_0x4e8597=>{var _0x296253=_0x4c76a1;const _0x1b54c1=gt(_0x4e8597);_0x5f3652[_0x296253(0x352)](_0x1b54c1);})),_0x5070c7[_0x4c76a1(0x504)](o['toDisposable'](()=>_0x5f3652[_0x4c76a1(0x4ac)]()));let _0x291a1c;const _0x34e968=()=>{var _0x42ac26=_0x4c76a1;_0x47b531['next'](new Event(_0x42ac26(0x24d))),_0x85847c[_0x42ac26(0x352)](new Event(_0x42ac26(0x24d))),_0x291a1c[_0x42ac26(0x47f)]();};return _0x291a1c={'memberID':'','close$':_0x85847c[_0x4c76a1(0x253)](),'error$':_0x47b531['asObservable'](),'open$':_0x5ba9de['open$'],'message$':_0x5f3652[_0x4c76a1(0x253)](),'send':_0x298312=>{var _0x50ae8c=_0x4c76a1;if(_0x298312[_0x50ae8c(0x2d4)]===W[_0x50ae8c(0x423)]){if(_0x298312['data'][_0x50ae8c(0x50b)]===E[_0x50ae8c(0x192)][_0x50ae8c(0x4e6)]){this[_0x50ae8c(0x25c)](_0x291a1c,_0x298312[_0x50ae8c(0x1a1)])['catch'](_0x3fd43f=>{this['_logService']['error'](_0x3fd43f),_0x34e968();});return;}if(_0x298312['data']['eventID']===E[_0x50ae8c(0x192)][_0x50ae8c(0x18d)]){const _0x13ec62=_0x298312[_0x50ae8c(0x1a1)];this[_0x50ae8c(0x1bb)](_0x13ec62)[_0x50ae8c(0x3bc)](_0x272773=>{var _0x2ff1cb=_0x50ae8c;_0x5f3652[_0x2ff1cb(0x352)]({'cmd':W[_0x2ff1cb(0x38b)],'code':re['OK'],'routeKey':_0x13ec62[_0x2ff1cb(0x1a1)][_0x2ff1cb(0x261)],'routeType':'','data':{'eventID':E['CollaborationEvent'][_0x2ff1cb(0x36c)],'data':{'changesets':_0x272773}}});})[_0x50ae8c(0x409)](_0x33aa40=>{var _0x350f55=_0x50ae8c;this[_0x350f55(0x263)][_0x350f55(0x3c3)](_0x33aa40),_0x34e968();});return;}}_0x5ba9de[_0x50ae8c(0x513)](Tt(_0x298312));},'close':()=>{var _0x360e16=_0x4c76a1;_0x5ba9de[_0x360e16(0x47f)](),_0x5070c7[_0x360e16(0x182)]();}},_0x291a1c;}async['_submitChangeset'](_0x2f20e3,_0x3d2f42){var _0x9071b1=_0x2f1e4f,_0x181f29;const {unitType:_0x379c2f,unitID:_0x29ab4e,changeset:_0x2f3955}=_0x3d2f42[_0x9071b1(0x1a1)],_0x2c0338={'unitID':_0x29ab4e,'memberID':_0x2f20e3[_0x9071b1(0x193)],'type':_0x379c2f,'changeset':E[_0x9071b1(0x1c5)](_0x2f3955)},_0x4ef836=this['_configService'][_0x9071b1(0x39d)](Y),_0x3122eb=oi((_0x181f29=_0x4ef836==null?void 0x0:_0x4ef836[_0x9071b1(0x269)])!=null?_0x181f29:$t,_0x379c2f,_0x29ab4e);try{await this[_0x9071b1(0x3d7)][_0x9071b1(0x284)](_0x3122eb,{'body':_0x2c0338});}catch(_0x33d1e1){throw this[_0x9071b1(0x263)][_0x9071b1(0x3c3)]('[CollaborationSession]',_0x9071b1(0x2df)),_0x33d1e1;}}async[_0x2f1e4f(0x1bb)](_0x4a72e2){var _0x4ee531=_0x2f1e4f;const {unitID:_0x3095f1,from:_0x1da043,to:_0x332fd6,unitType:_0x17eba7}=_0x4a72e2[_0x4ee531(0x1a1)];return(await this[_0x4ee531(0x2a7)][_0x4ee531(0x3b9)]({'metadata':void 0x0},{'unitID':_0x3095f1,'type':_0x17eba7,'from':_0x1da043,'to':_0x332fd6}))['changesets'][_0x4ee531(0x3c4)](_0x39846a=>((_0x39846a[_0x4ee531(0x2dc)]===null||_0x39846a[_0x4ee531(0x2dc)]===void 0x0)&&(_0x39846a[_0x4ee531(0x2dc)]=[]),_0x39846a));}},exports['CollaborationSocketService']=ai([he(0x0,o[_0x2f1e4f(0x408)](o['Injector'])),he(0x1,o['Inject'](K['HTTPService'])),he(0x2,o['IConfigService']),he(0x3,o[_0x2f1e4f(0x33f)]),he(0x4,E[_0x2f1e4f(0x420)])],exports['CollaborationSocketService']);var ci=Object[_0x2f1e4f(0x4dc)],_i=(_0x58404c,_0xba16e2,_0x3de21c,_0x406165)=>{var _0x6e9342=_0x2f1e4f;for(var _0x425d74=_0x406165>0x1?void 0x0:_0x406165?ci(_0xba16e2,_0x3de21c):_0xba16e2,_0x7ad4ed=_0x58404c[_0x6e9342(0x237)]-0x1,_0x5f4612;_0x7ad4ed>=0x0;_0x7ad4ed--)(_0x5f4612=_0x58404c[_0x7ad4ed])&&(_0x425d74=_0x5f4612(_0x425d74)||_0x425d74);return _0x425d74;},_e=(_0x152a25,_0x561f2a)=>(_0x585abc,_0xfb7fd2)=>_0x561f2a(_0x585abc,_0xfb7fd2,_0x152a25);exports[_0x2f1e4f(0x323)]=class extends o[_0x2f1e4f(0x4f7)]{constructor(_0x2d4db7,_0x57f708,_0x264ca5,_0x51966b,_0x375aab,_0x5efccc){var _0x525e4a=_0x2f1e4f;super(),A(this,'_socket$',new j[(_0x525e4a(0x387))](void 0x0)),A(this,_0x525e4a(0x4b0),this['_socket$'][_0x525e4a(0x253)]()),A(this,_0x525e4a(0x3d4),null),A(this,_0x525e4a(0x233),new Map()),A(this,'_status$',new j[(_0x525e4a(0x387))](se['IDLE'])),A(this,_0x525e4a(0x472),this['_status$'][_0x525e4a(0x253)]()),A(this,_0x525e4a(0x2b4),!0x1),A(this,'_retryConnectingTimer'),A(this,'_retryCount',0x0),A(this,_0x525e4a(0x40d)),A(this,_0x525e4a(0x29d)),(this[_0x525e4a(0x187)]=_0x2d4db7,this['_logService']=_0x57f708,this[_0x525e4a(0x50e)]=_0x264ca5,this[_0x525e4a(0x2d5)]=_0x51966b,this[_0x525e4a(0x1f8)]=_0x375aab,this['_networkConditionService']=_0x5efccc,this[_0x525e4a(0x451)]());}get[_0x2f1e4f(0x185)](){var _0x58955c=_0x2f1e4f;return this[_0x58955c(0x1ca)][_0x58955c(0x302)]();}[_0x2f1e4f(0x451)](){var _0x555f34=_0x2f1e4f;this[_0x555f34(0x1d2)]&&this[_0x555f34(0x1b7)](this[_0x555f34(0x1d2)][_0x555f34(0x37c)][_0x555f34(0x350)](_0x447c56=>{var _0x4c5978=_0x555f34;_0x447c56&&!this['_socket']&&this[_0x4c5978(0x4f4)](),_0x447c56||this[_0x4c5978(0x40a)]();}));}['dispose'](){var _0xeffff3=_0x2f1e4f;super['dispose'](),this[_0xeffff3(0x308)](),this[_0xeffff3(0x468)](),this['_clearHeartbeatTimer'](),this['_sessions']['forEach'](_0x1379a6=>_0x1379a6[_0xeffff3(0x182)]()),this[_0xeffff3(0x233)][_0xeffff3(0x225)](),this['_status$']['complete']();}async['requireSession'](_0x156107){var _0x24de5c=_0x2f1e4f;if(this['_sessions']['has'](_0x156107))return this[_0x24de5c(0x233)][_0x24de5c(0x389)](_0x156107);this[_0x24de5c(0x196)]();const _0x53c0b0=this['_injector'][_0x24de5c(0x4fa)](exports[_0x24de5c(0x401)],_0x156107,this[_0x24de5c(0x1ca)][_0x24de5c(0x253)]());return this[_0x24de5c(0x233)][_0x24de5c(0x3d1)](_0x156107,_0x53c0b0),_0x53c0b0;}[_0x2f1e4f(0x494)](_0x54b8b0){var _0x31a408=_0x2f1e4f,_0x5168ba;const _0x38ad2d=this[_0x31a408(0x233)]['get'](_0x54b8b0);_0x38ad2d&&(this[_0x31a408(0x233)][_0x31a408(0x37e)](_0x54b8b0),_0x38ad2d['close']()),this[_0x31a408(0x233)][_0x31a408(0x3ba)]||(_0x5168ba=this['_socket'])==null||_0x5168ba[_0x31a408(0x47f)]();}[_0x2f1e4f(0x4f4)](){var _0x2f6707=_0x2f1e4f;this[_0x2f6707(0x410)]=0x0,this[_0x2f6707(0x308)](),this[_0x2f6707(0x3ae)]();}[_0x2f1e4f(0x308)](){var _0x55c148=_0x2f1e4f;this[_0x55c148(0x30c)]!=null&&(clearTimeout(this[_0x55c148(0x30c)]),this['_retryConnectingTimer']=null);}async[_0x2f1e4f(0x207)](){var _0x4a76c6=_0x2f1e4f,_0x527ff1;const _0x53de5e=this[_0x4a76c6(0x50e)][_0x4a76c6(0x39d)](Y),_0x4be16e=(_0x527ff1=_0x53de5e==null?void 0x0:_0x53de5e['collabWebSocketUrl'])!=null?_0x527ff1:ht,_0x2ef288=await this[_0x4a76c6(0x2d5)][_0x4a76c6(0x331)](_0x4be16e);return this['_candidateSocket']=_0x2ef288,_0x2ef288;}async[_0x2f1e4f(0x196)](){var _0xaf1b3b=_0x2f1e4f,_0x305c2a,_0x4edcdc;try{const _0x57c4c2=(_0x4edcdc=(_0x305c2a=this[_0xaf1b3b(0x185)])!=null?_0x305c2a:this['_candidateSocket'])!=null?_0x4edcdc:await this[_0xaf1b3b(0x207)]();if(_0x57c4c2){const _0x382eda=_0x57c4c2['send'];_0x57c4c2[_0xaf1b3b(0x513)]=_0x47ba5b=>(this[_0xaf1b3b(0x502)](),_0x382eda[_0xaf1b3b(0x415)](_0x57c4c2,[_0x47ba5b])),_0x57c4c2[_0xaf1b3b(0x3f0)][_0xaf1b3b(0x350)](_0x3ed825=>this[_0xaf1b3b(0x4c7)](_0x57c4c2,_0x3ed825)),_0x57c4c2[_0xaf1b3b(0x4f6)][_0xaf1b3b(0x222)](V['take'](0x1))['subscribe'](_0x391e2b=>this[_0xaf1b3b(0x263)][_0xaf1b3b(0x3c3)](_0xaf1b3b(0x4aa),_0x391e2b)),_0x57c4c2[_0xaf1b3b(0x3d5)][_0xaf1b3b(0x222)](V[_0xaf1b3b(0x374)](0x1))[_0xaf1b3b(0x350)](()=>{var _0x112c2b=_0xaf1b3b;this[_0x112c2b(0x2c8)](_0x57c4c2);}),_0x57c4c2[_0xaf1b3b(0x25b)][_0xaf1b3b(0x222)](V[_0xaf1b3b(0x374)](0x1))[_0xaf1b3b(0x350)](_0x36a277=>{var _0x55e8c9=_0xaf1b3b;this[_0x55e8c9(0x263)][_0x55e8c9(0x48b)](_0x55e8c9(0x516),_0x55e8c9(0x2bc),_0x36a277),this[_0x55e8c9(0x41d)]();});}}catch(_0x19af63){this['_logService'][_0xaf1b3b(0x3c3)](_0x19af63),this[_0xaf1b3b(0x41d)]();}}[_0x2f1e4f(0x2c8)](_0x46be72){var _0x31a800=_0x2f1e4f;this['_logService']['debug'](_0x31a800(0x516),_0x31a800(0x36a)),_0x46be72[_0x31a800(0x513)]({'cmd':W[_0x31a800(0x358)]}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x34aab8=_0x2f1e4f;this[_0x34aab8(0x2b4)]=!0x1,this['_candidateSocket']=null,this[_0x34aab8(0x450)][_0x34aab8(0x352)](se[_0x34aab8(0x294)]),this[_0x34aab8(0x1ca)][_0x34aab8(0x352)](null),this[_0x34aab8(0x468)](),this['_clearHeartbeatTimer']();}[_0x2f1e4f(0x41d)](){var _0xdccd31=_0x2f1e4f,_0x2c0be1;this['_onOffline'](),this[_0xdccd31(0x410)]<((_0x2c0be1=this['_configService'][_0xdccd31(0x39d)](vt))!=null?_0x2c0be1:wt)?(this[_0xdccd31(0x1f8)][_0xdccd31(0x18f)]({'id':J['SOCKET_FAILED_RETRY']}),this[_0xdccd31(0x3ae)]()):this[_0xdccd31(0x1f8)][_0xdccd31(0x18f)]({'id':J['SOCKET_FAILED']});}[_0x2f1e4f(0x3ae)](){var _0x13704b=_0x2f1e4f,_0x266c9f;const _0x5a3d9d=this['_retryCount'],_0x405b83=this[_0x13704b(0x50e)][_0x13704b(0x39d)](Y),_0x4fbc7f=_0x5a3d9d===0x0?0x0:((_0x266c9f=_0x405b83==null?void 0x0:_0x405b83['retryConnectingInterval'])!=null?_0x266c9f:Mt)*0x2**_0x5a3d9d;this[_0x13704b(0x30c)]=setTimeout(()=>{var _0x5ab523=_0x13704b;clearTimeout(this['_retryConnectingTimer']),this[_0x5ab523(0x30c)]=null,this['_tryEnsureSocket']();},_0x4fbc7f),this[_0x13704b(0x410)]+=0x1;}[_0x2f1e4f(0x4c7)](_0xda22a5,_0x559d24){var _0x46d786=_0x2f1e4f;const {cmd:_0x4da8f5}=_0x559d24;_0x4da8f5===W[_0x46d786(0x358)]&&!this['_socketReady']&&(_0xda22a5[_0x46d786(0x193)]=_0x559d24[_0x46d786(0x1a1)][_0x46d786(0x193)],this['_socket$'][_0x46d786(0x352)](_0xda22a5),this[_0x46d786(0x450)][_0x46d786(0x352)](se[_0x46d786(0x31d)]),this[_0x46d786(0x2b4)]=!0x0,this[_0x46d786(0x3d4)]=null),_0x4da8f5===W[_0x46d786(0x3ab)]&&this[_0x46d786(0x468)](),this[_0x46d786(0x502)]();}[_0x2f1e4f(0x502)](){var _0xce887b=_0x2f1e4f,_0x2601eb;this[_0xce887b(0x1e9)](),this[_0xce887b(0x40d)]=setTimeout(()=>this[_0xce887b(0x264)](),(_0x2601eb=this[_0xce887b(0x50e)]['getConfig'](lt))!=null?_0x2601eb:Lt);}[_0x2f1e4f(0x264)](){var _0x29fe9c=_0x2f1e4f;this[_0x29fe9c(0x185)][_0x29fe9c(0x513)]({'cmd':W[_0x29fe9c(0x3ab)]}),this[_0x29fe9c(0x4d6)]();}[_0x2f1e4f(0x4d6)](){var _0xe7c6de=_0x2f1e4f,_0x576b6a;this[_0xe7c6de(0x29d)]=setTimeout(()=>this[_0xe7c6de(0x41d)](),(_0x576b6a=this[_0xe7c6de(0x50e)][_0xe7c6de(0x39d)](ke))!=null?_0x576b6a:ut);}[_0x2f1e4f(0x1e9)](){var _0x45cc8f=_0x2f1e4f;this[_0x45cc8f(0x40d)]!=null&&(clearTimeout(this[_0x45cc8f(0x40d)]),this[_0x45cc8f(0x40d)]=null);}[_0x2f1e4f(0x468)](){this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}},exports['CollaborationSessionService']=_i([_e(0x0,o[_0x2f1e4f(0x408)](o[_0x2f1e4f(0x2ae)])),_e(0x1,o[_0x2f1e4f(0x33f)]),_e(0x2,o[_0x2f1e4f(0x2f0)]),_e(0x3,Fe),_e(0x4,o[_0x2f1e4f(0x408)](ee)),_e(0x5,o[_0x2f1e4f(0x238)](mt))],exports[_0x2f1e4f(0x323)]);var hi=Object['getOwnPropertyDescriptor'],li=(_0x4093c9,_0x27b7a1,_0x1ec089,_0x3fe043)=>{var _0x4abdab=_0x2f1e4f;for(var _0x46342e=_0x3fe043>0x1?void 0x0:_0x3fe043?hi(_0x27b7a1,_0x1ec089):_0x27b7a1,_0x1bb6c0=_0x4093c9[_0x4abdab(0x237)]-0x1,_0x1a8b42;_0x1bb6c0>=0x0;_0x1bb6c0--)(_0x1a8b42=_0x4093c9[_0x1bb6c0])&&(_0x46342e=_0x1a8b42(_0x46342e)||_0x46342e);return _0x46342e;},Se=(_0x1c5385,_0xf0c3c8)=>(_0x3cff7e,_0xdedbc5)=>_0xf0c3c8(_0x3cff7e,_0xdedbc5,_0x1c5385);exports[_0x2f1e4f(0x2f3)]=class extends o[_0x2f1e4f(0x4ca)]{constructor(_0x135136,_0xf77188,_0x594343,_0x584ca4){var _0x5a1f43=_0x2f1e4f,_0x4e8a83;super(),A(this,_0x5a1f43(0x3b5),new Map()),A(this,_0x5a1f43(0x34e),new j['Subject']()),A(this,_0x5a1f43(0x2eb),this[_0x5a1f43(0x34e)][_0x5a1f43(0x253)]()),(this['_injector']=_0x135136,this['_collabSessionService']=_0xf77188,this['_configService']=_0x594343,this[_0x5a1f43(0x230)]=_0x584ca4,((_0x4e8a83=this[_0x5a1f43(0x50e)][_0x5a1f43(0x39d)](Y))==null?void 0x0:_0x4e8a83[_0x5a1f43(0x296)])!==!0x1&&this['_init']());}[_0x2f1e4f(0x182)](){var _0x44f876=_0x2f1e4f;super['dispose'](),this[_0x44f876(0x3b5)][_0x44f876(0x1f7)](_0x55ea38=>_0x55ea38[_0x44f876(0x182)]()),this['_entities'][_0x44f876(0x225)]();}[_0x2f1e4f(0x21d)](_0x32a9ff){var _0x5bf847=_0x2f1e4f,_0x5d6ffc;return(_0x5d6ffc=this[_0x5bf847(0x3b5)][_0x5bf847(0x389)](_0x32a9ff))!=null?_0x5d6ffc:null;}[_0x2f1e4f(0x243)](_0x374bfc){var _0x4919f3=_0x2f1e4f;const _0x3a4ea5=this[_0x4919f3(0x21d)](_0x374bfc);return _0x3a4ea5?j['of'](_0x3a4ea5):this[_0x4919f3(0x34e)][_0x4919f3(0x222)](V[_0x4919f3(0x1ee)](_0x23fcad=>_0x23fcad[_0x4919f3(0x261)]===_0x374bfc));}[_0x2f1e4f(0x3f5)](_0x730c6f){var _0x4de6c5=_0x2f1e4f;return j[_0x4de6c5(0x3bd)](this[_0x4de6c5(0x243)](_0x730c6f)['pipe'](V[_0x4de6c5(0x3c4)](()=>{})));}[_0x2f1e4f(0x3e0)](){var _0x3c09ac=_0x2f1e4f;this['_univerInstanceService'][_0x3c09ac(0x361)](o['UniverInstanceType'][_0x3c09ac(0x1db)])[_0x3c09ac(0x222)](j['takeUntil'](this['dispose$']),V[_0x3c09ac(0x481)](0x10))[_0x3c09ac(0x350)](async _0x4d9a3f=>{var _0x329cba=_0x3c09ac;const _0x3852bb=_0x4d9a3f[_0x329cba(0x41a)](),_0x671c87=await this['_startCollaboration'](_0x3852bb,X[_0x329cba(0x1db)]);this[_0x329cba(0x3b5)][_0x329cba(0x3d1)](_0x3852bb,_0x671c87);}),this['_univerInstanceService'][_0x3c09ac(0x361)](o[_0x3c09ac(0x2d1)]['UNIVER_DOC'])[_0x3c09ac(0x222)](j[_0x3c09ac(0x44a)](this[_0x3c09ac(0x392)]),V[_0x3c09ac(0x481)](0x10))[_0x3c09ac(0x222)](V[_0x3c09ac(0x1ee)](_0xfcb47e=>!_0xfcb47e[_0x3c09ac(0x41a)]()[_0x3c09ac(0x4c6)]('__')))[_0x3c09ac(0x350)](async _0x50656d=>{var _0x392d4c=_0x3c09ac;const _0x1a7b89=_0x50656d[_0x392d4c(0x41a)](),_0x52c984=await this['_startCollaboration'](_0x1a7b89,X[_0x392d4c(0x376)]);this['_entities']['set'](_0x1a7b89,_0x52c984);}),j[_0x3c09ac(0x3a8)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](o[_0x3c09ac(0x2d1)][_0x3c09ac(0x1db)]),this['_univerInstanceService'][_0x3c09ac(0x22a)](o[_0x3c09ac(0x2d1)][_0x3c09ac(0x376)]))[_0x3c09ac(0x222)](j[_0x3c09ac(0x44a)](this[_0x3c09ac(0x392)]))[_0x3c09ac(0x350)](_0x552d15=>{var _0x338d42=_0x3c09ac;const _0x2a96b0=_0x552d15[_0x338d42(0x41a)](),_0x2a23ce=this[_0x338d42(0x3b5)][_0x338d42(0x389)](_0x2a96b0);_0x2a23ce&&(_0x2a23ce[_0x338d42(0x182)](),this['_entities'][_0x338d42(0x37e)](_0x2a96b0));});}async['_startCollaboration'](_0x51fea8,_0x4f9d11){var _0xf2628d=_0x2f1e4f;const _0x111ce1=await this[_0xf2628d(0x298)][_0xf2628d(0x49a)](_0x51fea8),_0x380755=this[_0xf2628d(0x187)][_0xf2628d(0x4fa)](this[_0xf2628d(0x34a)](_0x4f9d11),_0x51fea8,_0x4f9d11,_0x111ce1);return await _0x380755[_0xf2628d(0x477)](),this[_0xf2628d(0x34e)][_0xf2628d(0x352)](_0x380755),_0x380755;}[_0x2f1e4f(0x34a)](_0x1d2348){var _0x5e318b=_0x2f1e4f;switch(_0x1d2348){case X[_0x5e318b(0x376)]:return exports[_0x5e318b(0x28f)];case X[_0x5e318b(0x1db)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x5e318b(0x2f5)+_0x1d2348);}}},exports[_0x2f1e4f(0x2f3)]=li([Se(0x0,o[_0x2f1e4f(0x408)](o[_0x2f1e4f(0x2ae)])),Se(0x1,o[_0x2f1e4f(0x408)](exports['CollaborationSessionService'])),Se(0x2,o['IConfigService']),Se(0x3,o[_0x2f1e4f(0x318)])],exports['CollaborationController']);var ui=Object[_0x2f1e4f(0x4dc)],vi=(_0x1557d2,_0x52e7c9,_0x12e29a,_0x87cb44)=>{var _0x136ceb=_0x2f1e4f;for(var _0x3185bd=_0x87cb44>0x1?void 0x0:_0x87cb44?ui(_0x52e7c9,_0x12e29a):_0x52e7c9,_0x3f4d2d=_0x1557d2[_0x136ceb(0x237)]-0x1,_0x430621;_0x3f4d2d>=0x0;_0x3f4d2d--)(_0x430621=_0x1557d2[_0x3f4d2d])&&(_0x3185bd=_0x430621(_0x3185bd)||_0x3185bd);return _0x3185bd;},Ye=(_0x35bd29,_0xa4f25d)=>(_0x5e8b7d,_0x41e453)=>_0xa4f25d(_0x5e8b7d,_0x41e453,_0x35bd29);const di=_0x2f1e4f(0x1d8),Si=_0x2f1e4f(0x26a);let xe=class extends o[_0x2f1e4f(0x4f7)]{constructor(_0x3eefa9,_0x59d037){var _0x1a319b=_0x2f1e4f;super(),this[_0x1a319b(0x230)]=_0x3eefa9,this['_configService']=_0x59d037,this[_0x1a319b(0x3e0)]();}['_init'](){var _0x2c0099=_0x2f1e4f;this[_0x2c0099(0x1b7)](this[_0x2c0099(0x230)]['focused$'][_0x2c0099(0x350)](()=>{var _0xf477c9=_0x2c0099,_0x2bd3af;const _0x3ea716=this[_0xf477c9(0x230)][_0xf477c9(0x510)]();let _0x26cf73=(_0x2bd3af=this[_0xf477c9(0x50e)][_0xf477c9(0x39d)](di))!=null?_0x2bd3af:Si;_0x3ea716 instanceof o[_0xf477c9(0x304)]&&(_0x26cf73=_0x3ea716[_0xf477c9(0x3ce)]),document[_0xf477c9(0x1a5)]=_0x26cf73;}));}};xe=vi([Ye(0x0,o['IUniverInstanceService']),Ye(0x1,o[_0x2f1e4f(0x2f0)])],xe);var Ii=Object[_0x2f1e4f(0x4dc)],fi=(_0x4432e3,_0x82deb1,_0x163f03,_0x3697b9)=>{var _0x3cc8dc=_0x2f1e4f;for(var _0x4ae19a=_0x3697b9>0x1?void 0x0:_0x3697b9?Ii(_0x82deb1,_0x163f03):_0x82deb1,_0x4672d9=_0x4432e3[_0x3cc8dc(0x237)]-0x1,_0x14418d;_0x4672d9>=0x0;_0x4672d9--)(_0x14418d=_0x4432e3[_0x4672d9])&&(_0x4ae19a=_0x14418d(_0x4ae19a)||_0x4ae19a);return _0x4ae19a;},Ae=(_0x4a6d93,_0x581907)=>(_0x3a2e66,_0x1fd688)=>_0x581907(_0x3a2e66,_0x1fd688,_0x4a6d93);let Ne=class{constructor(_0x4dce4f,_0x2695ad,_0x175b2e){var _0x1217e7=_0x2f1e4f;this['_configService']=_0x4dce4f,this[_0x1217e7(0x3d7)]=_0x2695ad,this['localeService']=_0x175b2e,this[_0x1217e7(0x477)]();}[_0x2f1e4f(0x477)](){var _0x2fda17=_0x2f1e4f;this[_0x2fda17(0x3d7)][_0x2fda17(0x32e)]({'priority':0x1,'interceptor':(_0xf11072,_0x3eba3f)=>_0x3eba3f(_0xf11072)[_0x2fda17(0x222)](j[_0x2fda17(0x18a)](async _0x36e1eb=>{var _0x19f5b2=_0x2fda17;const _0xfbf072=_0x36e1eb;if(_0xfbf072[_0x19f5b2(0x1c9)]===0x191){if(typeof window>'u')throw new Error(_0x19f5b2(0x356));if(window[_0x19f5b2(0x276)](this[_0x19f5b2(0x292)]['t'](_0x19f5b2(0x1ec)))){const _0x4c5571=window['encodeURIComponent'](window[_0x19f5b2(0x300)][_0x19f5b2(0x1da)]);window[_0x19f5b2(0x300)]['href']=this[_0x19f5b2(0x1f4)]()+_0x19f5b2(0x252)+_0x4c5571;}}return _0xfbf072;}))});}[_0x2f1e4f(0x1f4)](){var _0x1a75fe=_0x2f1e4f,_0xde362;const _0x661348=this[_0x1a75fe(0x50e)][_0x1a75fe(0x39d)](Y);return(_0xde362=_0x661348==null?void 0x0:_0x661348[_0x1a75fe(0x4d3)])!=null?_0xde362:Ht;}};Ne=fi([Ae(0x0,o[_0x2f1e4f(0x2f0)]),Ae(0x1,o[_0x2f1e4f(0x408)](K['HTTPService'])),Ae(0x2,o['Inject'](o['LocaleService']))],Ne);var Ei=Object[_0x2f1e4f(0x4dc)],pi=(_0x23b77c,_0x375ba8,_0x5bf0f0,_0x3db87f)=>{for(var _0x24dba1=_0x3db87f>0x1?void 0x0:_0x3db87f?Ei(_0x375ba8,_0x5bf0f0):_0x375ba8,_0x423baa=_0x23b77c['length']-0x1,_0x22e978;_0x423baa>=0x0;_0x423baa--)(_0x22e978=_0x23b77c[_0x423baa])&&(_0x24dba1=_0x22e978(_0x24dba1)||_0x24dba1);return _0x24dba1;},Ke=(_0x16f35d,_0x185c3e)=>(_0x589f4c,_0x2aa21f)=>_0x185c3e(_0x589f4c,_0x2aa21f,_0x16f35d);const mi=_0x2f1e4f(0x2c3);exports['AuthzIoHttpService']=class extends o[_0x2f1e4f(0x4f7)]{constructor(_0x2f0199,_0x590181){var _0x54f417=_0x2f1e4f;super(),this[_0x54f417(0x320)]=_0x2f0199,this[_0x54f417(0x50e)]=_0x590181,this[_0x54f417(0x3ef)]();}[_0x2f1e4f(0x3ef)](){var _0x15a286=_0x2f1e4f;const _0x3a5b33=this;this[_0x15a286(0x1b7)](this[_0x15a286(0x320)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':K[_0x15a286(0x240)]({'isMatch'(_0x968e13){var _0x1cf152=_0x15a286,_0x236045;if(_0x968e13[_0x1cf152(0x4ff)]===_0x1cf152(0x368)&&((_0x236045=_0x968e13[_0x1cf152(0x3ad)])!=null&&_0x236045[_0x1cf152(0x412)])){const {objectID:_0x2b2f86,objectType:_0xac8500}=_0x968e13[_0x1cf152(0x3ad)]['body']||{};if(!_0x2b2f86||_0xac8500===void 0x0)return!0x1;const _0x29758b=_0x3a5b33[_0x1cf152(0x2ab)]()+'/'+_0xac8500+_0x1cf152(0x34b)+_0x2b2f86+_0x1cf152(0x1ba);if(_0x968e13[_0x1cf152(0x3cb)]===_0x29758b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4fc8f8){var _0x21ed74=_0x15a286,_0x3f6557;return(_0x3f6557=_0x4fc8f8[_0x21ed74(0x3ad)])==null?void 0x0:_0x3f6557['body'];},'mergeParamsToRequest'(_0x281bdd,_0x5351df){var _0x285e96=_0x15a286;const _0x540e44=_0x3a5b33['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0xf01f5f=_0x281bdd[_0x285e96(0x249)]((_0x33959a,_0x1a3a5b)=>{var _0x6ae1d=_0x285e96;const {unitID:_0xefde56,objectID:_0x24f881,objectType:_0x4b910a,actions:_0x241736}=_0x1a3a5b;return _0x33959a[_0xefde56]||(_0x33959a[_0xefde56]={}),_0x33959a[_0xefde56][_0x24f881]||(_0x33959a[_0xefde56][_0x24f881]={'objectID':_0x24f881,'objectType':_0x4b910a,'actions':[]}),_0x33959a[_0xefde56][_0x24f881][_0x6ae1d(0x4a1)]['push'](..._0x241736),_0x33959a;},{}),_0x7901cc=[];for(const _0x2b5dd6 in _0xf01f5f)for(const _0x752fac in _0xf01f5f[_0x2b5dd6]){const {actions:_0xbd3114,objectType:_0x46490b}=_0xf01f5f[_0x2b5dd6][_0x752fac],_0x2c0748=[...new Set(_0xbd3114)];_0x7901cc[_0x285e96(0x1b2)]({'unitID':_0x2b5dd6,'objectID':_0x752fac,'objectType':_0x46490b,'actions':_0x2c0748});}return new K[(_0x285e96(0x448))](_0x285e96(0x368),_0x540e44,{'headers':_0x5351df['headers'],'withCredentials':_0x5351df[_0x285e96(0x2af)],'responseType':_0x5351df['responseType'],'body':{'requests':_0x7901cc}});}},{'distributeResult'(_0x55f423,_0x28f2ad){var _0x6d6084=_0x15a286;const {objectActions:_0x2bf07a}=_0x55f423;return _0x28f2ad[_0x6d6084(0x3c4)](_0x1cdc92=>{var _0xb8720c=_0x6d6084;const {unitID:_0x5f2d7a,objectID:_0x17580b,actions:_0x1b5ec5}=_0x1cdc92,_0x539e3a=_0x2bf07a[_0xb8720c(0x4d0)](_0x269b14=>_0x269b14[_0xb8720c(0x261)]===_0x5f2d7a&&_0x269b14[_0xb8720c(0x1d9)]===_0x17580b),_0x2c7c37=_0x1b5ec5['map'](_0x3914e5=>_0x539e3a==null?void 0x0:_0x539e3a[_0xb8720c(0x4a1)][_0xb8720c(0x4d0)](_0x41ff91=>_0x41ff91[_0xb8720c(0x259)]===_0x3914e5))['filter'](_0x88b82a=>!!_0x88b82a);return{'config':_0x1cdc92,'result':{'actions':_0x2c7c37,'error':_0x55f423[_0xb8720c(0x3c3)]}};});}})}));}[_0x2f1e4f(0x2ab)](){var _0x2c7457=_0x2f1e4f,_0x516ad1;const _0x2c5b77=this[_0x2c7457(0x50e)][_0x2c7457(0x39d)](Y);return(_0x516ad1=_0x2c5b77==null?void 0x0:_0x2c5b77[_0x2c7457(0x43d)])!=null?_0x516ad1:mi;}async[_0x2f1e4f(0x2a9)](_0x576a30){var _0x1f28f5=_0x2f1e4f;const _0x3b8245=this[_0x1f28f5(0x2ab)]()+'/'+_0x576a30['objectType']+_0x1f28f5(0x2e8);return(await this[_0x1f28f5(0x320)][_0x1f28f5(0x284)](_0x3b8245,{'body':_0x576a30}))['body'][_0x1f28f5(0x1d9)]||'';}async['list'](_0x34685e){var _0x3a58e9=_0x2f1e4f;const _0x2931cf=this[_0x3a58e9(0x2ab)]()+'/-/object/list';return(await this[_0x3a58e9(0x320)][_0x3a58e9(0x284)](_0x2931cf,{'body':_0x34685e}))[_0x3a58e9(0x412)][_0x3a58e9(0x299)];}async[_0x2f1e4f(0x2d6)](_0x3a845a){var _0x2056a3=_0x2f1e4f,_0x4460ca,_0x5b5cb5;const _0x1ea7e0=this[_0x2056a3(0x2ab)]()+'/'+_0x3a845a[_0x2056a3(0x2e1)]+_0x2056a3(0x34b)+_0x3a845a[_0x2056a3(0x1d9)],_0x2bde61=await this[_0x2056a3(0x320)][_0x2056a3(0x4a3)](_0x1ea7e0,{'body':_0x3a845a});if(((_0x5b5cb5=(_0x4460ca=_0x2bde61==null?void 0x0:_0x2bde61[_0x2056a3(0x412)])==null?void 0x0:_0x4460ca[_0x2056a3(0x3c3)])==null?void 0x0:_0x5b5cb5['code'])!==0x1)throw new Error(_0x2056a3(0x4cf));}async['allowed'](_0x40a5c9){var _0x270ee4=_0x2f1e4f;const _0x483b49=this['_getAPIPrefixPath']()+'/'+_0x40a5c9['objectType']+_0x270ee4(0x34b)+_0x40a5c9['objectID']+_0x270ee4(0x1ba);return(await this[_0x270ee4(0x320)][_0x270ee4(0x284)](_0x483b49,{'body':_0x40a5c9}))[_0x270ee4(0x412)][_0x270ee4(0x4a1)];}async['batchAllowed'](_0x2e43e4){var _0x5e4b78=_0x2f1e4f;const _0x9ba097=this[_0x5e4b78(0x2ab)]()+_0x5e4b78(0x3c5);return(await this[_0x5e4b78(0x320)][_0x5e4b78(0x284)](_0x9ba097,{'body':{'requests':_0x2e43e4}}))[_0x5e4b78(0x412)][_0x5e4b78(0x312)];}async[_0x2f1e4f(0x41e)](_0x454851){var _0x53c6c8=_0x2f1e4f;const _0x1a9cb9=this[_0x53c6c8(0x2ab)]()+'/'+_0x454851[_0x53c6c8(0x2e1)]+_0x53c6c8(0x3e5),_0x20ff41=await this[_0x53c6c8(0x320)][_0x53c6c8(0x284)](_0x1a9cb9,{'body':_0x454851});return{'roles':_0x20ff41[_0x53c6c8(0x412)][_0x53c6c8(0x35a)],'actions':_0x20ff41[_0x53c6c8(0x412)][_0x53c6c8(0x4a1)]};}async['deleteCollaborator'](_0x68d6bc){var _0x146ab2=_0x2f1e4f;const _0x3614ff=this[_0x146ab2(0x2ab)]()+_0x146ab2(0x3fa);await this[_0x146ab2(0x320)]['delete'](_0x3614ff,{'params':{'collaboratorID':_0x68d6bc[_0x146ab2(0x18c)],'objectID':_0x68d6bc[_0x146ab2(0x1d9)],'unitID':_0x68d6bc[_0x146ab2(0x261)]}});}async[_0x2f1e4f(0x33d)](_0x396ba2){var _0x29aefd=_0x2f1e4f;const _0x1cec9b=this['_getAPIPrefixPath']()+_0x29aefd(0x3fa);await this['_HTTPService'][_0x29aefd(0x380)](_0x1cec9b,{'body':_0x396ba2});}async[_0x2f1e4f(0x20f)](_0x32531a){var _0x10466e=_0x2f1e4f;const _0x1636d1=this[_0x10466e(0x2ab)]()+'/collaborator';await this[_0x10466e(0x320)][_0x10466e(0x284)](_0x1636d1,{'body':_0x32531a});}async[_0x2f1e4f(0x337)](_0x18f17b){var _0x56c413=_0x2f1e4f;const _0x293bfc=this[_0x56c413(0x2ab)]()+_0x56c413(0x3fa);return(await this[_0x56c413(0x320)]['get'](_0x293bfc,{'params':{'objectID':_0x18f17b[_0x56c413(0x1d9)],'unitID':_0x18f17b[_0x56c413(0x261)]}}))[_0x56c413(0x412)][_0x56c413(0x2b5)];}async['putCollaborators'](_0x2e7c73){var _0x22a4d6=_0x2f1e4f;const _0x2e204d=this[_0x22a4d6(0x2ab)]()+_0x22a4d6(0x3fa);await this[_0x22a4d6(0x320)][_0x22a4d6(0x4a3)](_0x2e204d,{'body':_0x2e7c73});}},exports[_0x2f1e4f(0x1bd)]=pi([Ke(0x0,o['Inject'](K[_0x2f1e4f(0x369)])),Ke(0x1,o[_0x2f1e4f(0x408)](o[_0x2f1e4f(0x2f0)]))],exports[_0x2f1e4f(0x1bd)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function de(_0x408687){var _0x162993=_0x2f1e4f;return _0x408687&&_0x408687[_0x162993(0x421)]&&Object[_0x162993(0x232)][_0x162993(0x20c)]['call'](_0x408687,'default')?_0x408687[_0x162993(0x422)]:_0x408687;}var Ie={'exports':{}};function gi(_0x26337e){var _0x45807d=_0x2f1e4f;throw new Error(_0x45807d(0x4f9)+_0x26337e+_0x45807d(0x3f7));}var fe={'exports':{}},Ti=fe[_0x2f1e4f(0x3e1)],qe;function Z(){var _0x2d81db=_0x2f1e4f;return qe||(qe=0x1,function(_0x1345a3,_0x130ccb){(function(_0x4dc0f1,_0xb6ee6e){var _0xe338bb=_0x223c;_0x1345a3[_0xe338bb(0x3e1)]=_0xb6ee6e();}(Ti,function(){var _0x581a31=_0x581a31||function(_0x2d6db8,_0x553ee9){var _0x1b9386=_0x223c,_0x246330;if(typeof window<'u'&&window['crypto']&&(_0x246330=window[_0x1b9386(0x4e4)]),typeof self<'u'&&self['crypto']&&(_0x246330=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x246330=globalThis[_0x1b9386(0x4e4)]),!_0x246330&&typeof window<'u'&&window['msCrypto']&&(_0x246330=window['msCrypto']),!_0x246330&&typeof Pe<'u'&&Pe['crypto']&&(_0x246330=Pe[_0x1b9386(0x4e4)]),!_0x246330&&typeof gi==_0x1b9386(0x461))try{_0x246330=require('crypto');}catch{}var _0x5889e8=function(){var _0x156301=_0x1b9386;if(_0x246330){if(typeof _0x246330[_0x156301(0x19a)]==_0x156301(0x461))try{return _0x246330[_0x156301(0x19a)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x246330[_0x156301(0x21a)]=='function')try{return _0x246330['randomBytes'](0x4)[_0x156301(0x460)]();}catch{}}throw new Error(_0x156301(0x2d9));},_0x7d45db=Object[_0x1b9386(0x2a9)]||(function(){function _0x1876e5(){}return function(_0x377cee){var _0x35b5cf=_0x223c,_0x17004f;return _0x1876e5[_0x35b5cf(0x232)]=_0x377cee,_0x17004f=new _0x1876e5(),_0x1876e5[_0x35b5cf(0x232)]=null,_0x17004f;};}()),_0x4314d1={},_0x1f321c=_0x4314d1[_0x1b9386(0x19e)]={},_0x25b720=_0x1f321c['Base']=(function(){return{'extend':function(_0x258623){var _0x130ac7=_0x223c,_0x45b2d7=_0x7d45db(this);return _0x258623&&_0x45b2d7[_0x130ac7(0x28e)](_0x258623),(!_0x45b2d7[_0x130ac7(0x20c)](_0x130ac7(0x477))||this[_0x130ac7(0x477)]===_0x45b2d7[_0x130ac7(0x477)])&&(_0x45b2d7[_0x130ac7(0x477)]=function(){var _0xa17593=_0x130ac7;_0x45b2d7['$super'][_0xa17593(0x477)][_0xa17593(0x415)](this,arguments);}),_0x45b2d7['init'][_0x130ac7(0x232)]=_0x45b2d7,_0x45b2d7[_0x130ac7(0x254)]=this,_0x45b2d7;},'create':function(){var _0x57b95d=_0x223c,_0x457824=this[_0x57b95d(0x488)]();return _0x457824[_0x57b95d(0x477)]['apply'](_0x457824,arguments),_0x457824;},'init':function(){},'mixIn':function(_0x3b55c8){var _0x6ebbda=_0x223c;for(var _0x37947e in _0x3b55c8)_0x3b55c8[_0x6ebbda(0x20c)](_0x37947e)&&(this[_0x37947e]=_0x3b55c8[_0x37947e]);_0x3b55c8[_0x6ebbda(0x20c)](_0x6ebbda(0x371))&&(this[_0x6ebbda(0x371)]=_0x3b55c8[_0x6ebbda(0x371)]);},'clone':function(){var _0x2ab980=_0x223c;return this['init'][_0x2ab980(0x232)][_0x2ab980(0x488)](this);}};}()),_0xadc422=_0x1f321c[_0x1b9386(0x39a)]=_0x25b720[_0x1b9386(0x488)]({'init':function(_0x1afff8,_0x2856e8){var _0x1b29ff=_0x1b9386;_0x1afff8=this['words']=_0x1afff8||[],_0x2856e8!=_0x553ee9?this[_0x1b29ff(0x291)]=_0x2856e8:this[_0x1b29ff(0x291)]=_0x1afff8[_0x1b29ff(0x237)]*0x4;},'toString':function(_0xae4848){var _0x277972=_0x1b9386;return(_0xae4848||_0x5dd860)[_0x277972(0x1dd)](this);},'concat':function(_0x1e73b4){var _0x46951c=_0x1b9386,_0x33bcb5=this[_0x46951c(0x3f6)],_0xd7ccb0=_0x1e73b4[_0x46951c(0x3f6)],_0x157dd2=this[_0x46951c(0x291)],_0x3fce3c=_0x1e73b4[_0x46951c(0x291)];if(this[_0x46951c(0x18b)](),_0x157dd2%0x4)for(var _0x22e6c8=0x0;_0x22e6c8<_0x3fce3c;_0x22e6c8++){var _0x35a82c=_0xd7ccb0[_0x22e6c8>>>0x2]>>>0x18-_0x22e6c8%0x4*0x8&0xff;_0x33bcb5[_0x157dd2+_0x22e6c8>>>0x2]|=_0x35a82c<<0x18-(_0x157dd2+_0x22e6c8)%0x4*0x8;}else{for(var _0x4347ea=0x0;_0x4347ea<_0x3fce3c;_0x4347ea+=0x4)_0x33bcb5[_0x157dd2+_0x4347ea>>>0x2]=_0xd7ccb0[_0x4347ea>>>0x2];}return this[_0x46951c(0x291)]+=_0x3fce3c,this;},'clamp':function(){var _0x4a34ab=_0x1b9386,_0x54949f=this[_0x4a34ab(0x3f6)],_0x36daa4=this['sigBytes'];_0x54949f[_0x36daa4>>>0x2]&=0xffffffff<<0x20-_0x36daa4%0x4*0x8,_0x54949f[_0x4a34ab(0x237)]=_0x2d6db8[_0x4a34ab(0x35d)](_0x36daa4/0x4);},'clone':function(){var _0x4c9677=_0x1b9386,_0x20ce81=_0x25b720[_0x4c9677(0x2bf)][_0x4c9677(0x47a)](this);return _0x20ce81[_0x4c9677(0x3f6)]=this[_0x4c9677(0x3f6)]['slice'](0x0),_0x20ce81;},'random':function(_0x376095){var _0x255050=_0x1b9386;for(var _0x1b9425=[],_0x132a19=0x0;_0x132a19<_0x376095;_0x132a19+=0x4)_0x1b9425[_0x255050(0x1b2)](_0x5889e8());return new _0xadc422[(_0x255050(0x477))](_0x1b9425,_0x376095);}}),_0x42bbca=_0x4314d1['enc']={},_0x5dd860=_0x42bbca[_0x1b9386(0x40e)]={'stringify':function(_0x2ea140){var _0x167094=_0x1b9386;for(var _0x40c217=_0x2ea140['words'],_0x456c23=_0x2ea140[_0x167094(0x291)],_0x50c52d=[],_0x17907c=0x0;_0x17907c<_0x456c23;_0x17907c++){var _0x546c91=_0x40c217[_0x17907c>>>0x2]>>>0x18-_0x17907c%0x4*0x8&0xff;_0x50c52d[_0x167094(0x1b2)]((_0x546c91>>>0x4)['toString'](0x10)),_0x50c52d['push']((_0x546c91&0xf)[_0x167094(0x371)](0x10));}return _0x50c52d['join']('');},'parse':function(_0x28314f){var _0x1ee554=_0x1b9386;for(var _0x1796fb=_0x28314f[_0x1ee554(0x237)],_0xe9b761=[],_0x2ee8d9=0x0;_0x2ee8d9<_0x1796fb;_0x2ee8d9+=0x2)_0xe9b761[_0x2ee8d9>>>0x3]|=parseInt(_0x28314f['substr'](_0x2ee8d9,0x2),0x10)<<0x18-_0x2ee8d9%0x8*0x4;return new _0xadc422['init'](_0xe9b761,_0x1796fb/0x2);}},_0x4f0004=_0x42bbca[_0x1b9386(0x309)]={'stringify':function(_0x2c4526){var _0x50ec5a=_0x1b9386;for(var _0x2f8461=_0x2c4526[_0x50ec5a(0x3f6)],_0x459643=_0x2c4526[_0x50ec5a(0x291)],_0x181d3b=[],_0x39de31=0x0;_0x39de31<_0x459643;_0x39de31++){var _0x309e32=_0x2f8461[_0x39de31>>>0x2]>>>0x18-_0x39de31%0x4*0x8&0xff;_0x181d3b[_0x50ec5a(0x1b2)](String['fromCharCode'](_0x309e32));}return _0x181d3b[_0x50ec5a(0x4e5)]('');},'parse':function(_0x1de502){var _0x147012=_0x1b9386;for(var _0xd2e751=_0x1de502[_0x147012(0x237)],_0xf8754f=[],_0x14886f=0x0;_0x14886f<_0xd2e751;_0x14886f++)_0xf8754f[_0x14886f>>>0x2]|=(_0x1de502[_0x147012(0x2e9)](_0x14886f)&0xff)<<0x18-_0x14886f%0x4*0x8;return new _0xadc422[(_0x147012(0x477))](_0xf8754f,_0xd2e751);}},_0x5a9a6d=_0x42bbca[_0x1b9386(0x326)]={'stringify':function(_0x5d7db5){var _0x3f9c3b=_0x1b9386;try{return decodeURIComponent(escape(_0x4f0004[_0x3f9c3b(0x1dd)](_0x5d7db5)));}catch{throw new Error(_0x3f9c3b(0x1c4));}},'parse':function(_0x4b9b08){var _0x43e674=_0x1b9386;return _0x4f0004[_0x43e674(0x4b2)](unescape(encodeURIComponent(_0x4b9b08)));}},_0x465c51=_0x1f321c['BufferedBlockAlgorithm']=_0x25b720['extend']({'reset':function(){var _0x1bac17=_0x1b9386;this[_0x1bac17(0x301)]=new _0xadc422['init'](),this[_0x1bac17(0x455)]=0x0;},'_append':function(_0x137d83){var _0x325518=_0x1b9386;typeof _0x137d83==_0x325518(0x429)&&(_0x137d83=_0x5a9a6d['parse'](_0x137d83)),this[_0x325518(0x301)][_0x325518(0x48c)](_0x137d83),this[_0x325518(0x455)]+=_0x137d83[_0x325518(0x291)];},'_process':function(_0x3ac479){var _0x1aa04b=_0x1b9386,_0x2eefa5,_0x1363c9=this[_0x1aa04b(0x301)],_0x1eae1f=_0x1363c9[_0x1aa04b(0x3f6)],_0x2c1156=_0x1363c9[_0x1aa04b(0x291)],_0x433f6f=this[_0x1aa04b(0x1d4)],_0x4c94f0=_0x433f6f*0x4,_0x45b96f=_0x2c1156/_0x4c94f0;_0x3ac479?_0x45b96f=_0x2d6db8[_0x1aa04b(0x35d)](_0x45b96f):_0x45b96f=_0x2d6db8[_0x1aa04b(0x395)]((_0x45b96f|0x0)-this[_0x1aa04b(0x515)],0x0);var _0x2726c0=_0x45b96f*_0x433f6f,_0x200d06=_0x2d6db8[_0x1aa04b(0x499)](_0x2726c0*0x4,_0x2c1156);if(_0x2726c0){for(var _0x4b5df9=0x0;_0x4b5df9<_0x2726c0;_0x4b5df9+=_0x433f6f)this[_0x1aa04b(0x3b1)](_0x1eae1f,_0x4b5df9);_0x2eefa5=_0x1eae1f[_0x1aa04b(0x445)](0x0,_0x2726c0),_0x1363c9['sigBytes']-=_0x200d06;}return new _0xadc422['init'](_0x2eefa5,_0x200d06);},'clone':function(){var _0x512a45=_0x1b9386,_0x3428fd=_0x25b720['clone']['call'](this);return _0x3428fd[_0x512a45(0x301)]=this['_data'][_0x512a45(0x2bf)](),_0x3428fd;},'_minBufferSize':0x0});_0x1f321c[_0x1b9386(0x377)]=_0x465c51[_0x1b9386(0x488)]({'cfg':_0x25b720[_0x1b9386(0x488)](),'init':function(_0x12edda){var _0xa59042=_0x1b9386;this[_0xa59042(0x2ad)]=this[_0xa59042(0x2ad)][_0xa59042(0x488)](_0x12edda),this[_0xa59042(0x348)]();},'reset':function(){var _0x481787=_0x1b9386;_0x465c51[_0x481787(0x348)][_0x481787(0x47a)](this),this[_0x481787(0x3dc)]();},'update':function(_0x3b5be7){var _0x20fc5c=_0x1b9386;return this[_0x20fc5c(0x3f1)](_0x3b5be7),this['_process'](),this;},'finalize':function(_0x405541){var _0x4593c9=_0x1b9386;_0x405541&&this[_0x4593c9(0x3f1)](_0x405541);var _0x1dc314=this['_doFinalize']();return _0x1dc314;},'blockSize':0x10,'_createHelper':function(_0x205faa){return function(_0x3e6163,_0x55290e){var _0x36f9d3=_0x223c;return new _0x205faa[(_0x36f9d3(0x477))](_0x55290e)['finalize'](_0x3e6163);};},'_createHmacHelper':function(_0x4a2e0c){return function(_0x1a0edd,_0x520f60){var _0x5c944b=_0x223c;return new _0x2a5505[(_0x5c944b(0x48a))][(_0x5c944b(0x477))](_0x4a2e0c,_0x520f60)[_0x5c944b(0x27d)](_0x1a0edd);};}});var _0x2a5505=_0x4314d1[_0x1b9386(0x24e)]={};return _0x4314d1;}(Math);return _0x581a31;}));}(fe)),fe[_0x2d81db(0x3e1)];}var Ee={'exports':{}},Ci=Ee[_0x2f1e4f(0x3e1)],ze;function Ct(){return ze||(ze=0x1,function(_0x619ce4,_0x5b4052){(function(_0x9d51d3,_0x22506e){_0x619ce4['exports']=_0x22506e(Z());}(Ci,function(_0x3f0b80){var _0x523320=_0x223c;return(function(){var _0x353841=_0x223c,_0x2eff10=_0x3f0b80,_0x2dee4b=_0x2eff10['lib'],_0x549509=_0x2dee4b[_0x353841(0x39a)],_0x56e9db=_0x2eff10['enc'];_0x56e9db[_0x353841(0x24f)]={'stringify':function(_0x5852ee){var _0x58a0bd=_0x353841,_0x51a4d7=_0x5852ee['words'],_0x4532fe=_0x5852ee['sigBytes'],_0x2cda0f=this[_0x58a0bd(0x30d)];_0x5852ee[_0x58a0bd(0x18b)]();for(var _0x5d99fb=[],_0x201294=0x0;_0x201294<_0x4532fe;_0x201294+=0x3)for(var _0x26007a=_0x51a4d7[_0x201294>>>0x2]>>>0x18-_0x201294%0x4*0x8&0xff,_0xfa1a4c=_0x51a4d7[_0x201294+0x1>>>0x2]>>>0x18-(_0x201294+0x1)%0x4*0x8&0xff,_0x11014c=_0x51a4d7[_0x201294+0x2>>>0x2]>>>0x18-(_0x201294+0x2)%0x4*0x8&0xff,_0x2e6f3f=_0x26007a<<0x10|_0xfa1a4c<<0x8|_0x11014c,_0x376d26=0x0;_0x376d26<0x4&&_0x201294+_0x376d26*0.75<_0x4532fe;_0x376d26++)_0x5d99fb['push'](_0x2cda0f[_0x58a0bd(0x4ed)](_0x2e6f3f>>>0x6*(0x3-_0x376d26)&0x3f));var _0x3f4038=_0x2cda0f[_0x58a0bd(0x4ed)](0x40);if(_0x3f4038){for(;_0x5d99fb[_0x58a0bd(0x237)]%0x4;)_0x5d99fb[_0x58a0bd(0x1b2)](_0x3f4038);}return _0x5d99fb[_0x58a0bd(0x4e5)]('');},'parse':function(_0x5d7639){var _0x11fcff=_0x353841,_0x5a7c7c=_0x5d7639[_0x11fcff(0x237)],_0x35386f=this[_0x11fcff(0x30d)],_0x52bf92=this['_reverseMap'];if(!_0x52bf92){_0x52bf92=this[_0x11fcff(0x270)]=[];for(var _0xd238ef=0x0;_0xd238ef<_0x35386f[_0x11fcff(0x237)];_0xd238ef++)_0x52bf92[_0x35386f[_0x11fcff(0x2e9)](_0xd238ef)]=_0xd238ef;}var _0x43a59d=_0x35386f['charAt'](0x40);if(_0x43a59d){var _0x1010e2=_0x5d7639[_0x11fcff(0x501)](_0x43a59d);_0x1010e2!==-0x1&&(_0x5a7c7c=_0x1010e2);}return _0x112898(_0x5d7639,_0x5a7c7c,_0x52bf92);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x112898(_0xc61636,_0x46a699,_0x2e45de){var _0xad598=_0x353841;for(var _0x23274a=[],_0x3eeb1=0x0,_0x1fcca6=0x0;_0x1fcca6<_0x46a699;_0x1fcca6++)if(_0x1fcca6%0x4){var _0x478c27=_0x2e45de[_0xc61636[_0xad598(0x2e9)](_0x1fcca6-0x1)]<<_0x1fcca6%0x4*0x2,_0x2d41ea=_0x2e45de[_0xc61636[_0xad598(0x2e9)](_0x1fcca6)]>>>0x6-_0x1fcca6%0x4*0x2,_0x3717c8=_0x478c27|_0x2d41ea;_0x23274a[_0x3eeb1>>>0x2]|=_0x3717c8<<0x18-_0x3eeb1%0x4*0x8,_0x3eeb1++;}return _0x549509[_0xad598(0x2a9)](_0x23274a,_0x3eeb1);}}()),_0x3f0b80[_0x523320(0x3c6)][_0x523320(0x24f)];}));}(Ee)),Ee['exports'];}var pe={'exports':{}},Oi=pe[_0x2f1e4f(0x3e1)],Xe;function bi(){var _0x2fa21c=_0x2f1e4f;return Xe||(Xe=0x1,function(_0x14355f,_0x6ac597){(function(_0xebed6d,_0x1c78a2){var _0x20a62a=_0x223c;_0x14355f[_0x20a62a(0x3e1)]=_0x1c78a2(Z());}(Oi,function(_0x3dfd37){return function(_0x529402){var _0x35b9c4=_0x223c,_0x17d6ff=_0x3dfd37,_0x2f8d3f=_0x17d6ff[_0x35b9c4(0x19e)],_0x324543=_0x2f8d3f[_0x35b9c4(0x39a)],_0x327790=_0x2f8d3f[_0x35b9c4(0x377)],_0x11ce2d=_0x17d6ff[_0x35b9c4(0x24e)],_0x6a285=[];(function(){var _0x53dbd7=_0x35b9c4;for(var _0x435b78=0x0;_0x435b78<0x40;_0x435b78++)_0x6a285[_0x435b78]=_0x529402['abs'](_0x529402[_0x53dbd7(0x256)](_0x435b78+0x1))*0x100000000|0x0;}());var _0x2b6a47=_0x11ce2d['MD5']=_0x327790[_0x35b9c4(0x488)]({'_doReset':function(){var _0x357dc9=_0x35b9c4;this[_0x357dc9(0x26e)]=new _0x324543[(_0x357dc9(0x477))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1c1305,_0x3612e6){var _0x57b3cc=_0x35b9c4;for(var _0x45ee0a=0x0;_0x45ee0a<0x10;_0x45ee0a++){var _0x42fb29=_0x3612e6+_0x45ee0a,_0x49caaf=_0x1c1305[_0x42fb29];_0x1c1305[_0x42fb29]=(_0x49caaf<<0x8|_0x49caaf>>>0x18)&0xff00ff|(_0x49caaf<<0x18|_0x49caaf>>>0x8)&0xff00ff00;}var _0x26e428=this[_0x57b3cc(0x26e)][_0x57b3cc(0x3f6)],_0x22a3e3=_0x1c1305[_0x3612e6+0x0],_0x2defe9=_0x1c1305[_0x3612e6+0x1],_0x43b0bd=_0x1c1305[_0x3612e6+0x2],_0x263588=_0x1c1305[_0x3612e6+0x3],_0x53c4ab=_0x1c1305[_0x3612e6+0x4],_0x327e25=_0x1c1305[_0x3612e6+0x5],_0x46942e=_0x1c1305[_0x3612e6+0x6],_0x443ac5=_0x1c1305[_0x3612e6+0x7],_0x2d8281=_0x1c1305[_0x3612e6+0x8],_0x413b59=_0x1c1305[_0x3612e6+0x9],_0x1b311b=_0x1c1305[_0x3612e6+0xa],_0x1bbce8=_0x1c1305[_0x3612e6+0xb],_0x20cd52=_0x1c1305[_0x3612e6+0xc],_0x18f4e7=_0x1c1305[_0x3612e6+0xd],_0x169a16=_0x1c1305[_0x3612e6+0xe],_0x57f985=_0x1c1305[_0x3612e6+0xf],_0x3d5df9=_0x26e428[0x0],_0xee15f0=_0x26e428[0x1],_0x5da429=_0x26e428[0x2],_0x441623=_0x26e428[0x3];_0x3d5df9=_0x629f6e(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x22a3e3,0x7,_0x6a285[0x0]),_0x441623=_0x629f6e(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x2defe9,0xc,_0x6a285[0x1]),_0x5da429=_0x629f6e(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x43b0bd,0x11,_0x6a285[0x2]),_0xee15f0=_0x629f6e(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x263588,0x16,_0x6a285[0x3]),_0x3d5df9=_0x629f6e(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x53c4ab,0x7,_0x6a285[0x4]),_0x441623=_0x629f6e(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x327e25,0xc,_0x6a285[0x5]),_0x5da429=_0x629f6e(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x46942e,0x11,_0x6a285[0x6]),_0xee15f0=_0x629f6e(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x443ac5,0x16,_0x6a285[0x7]),_0x3d5df9=_0x629f6e(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x2d8281,0x7,_0x6a285[0x8]),_0x441623=_0x629f6e(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x413b59,0xc,_0x6a285[0x9]),_0x5da429=_0x629f6e(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x1b311b,0x11,_0x6a285[0xa]),_0xee15f0=_0x629f6e(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x1bbce8,0x16,_0x6a285[0xb]),_0x3d5df9=_0x629f6e(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x20cd52,0x7,_0x6a285[0xc]),_0x441623=_0x629f6e(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x18f4e7,0xc,_0x6a285[0xd]),_0x5da429=_0x629f6e(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x169a16,0x11,_0x6a285[0xe]),_0xee15f0=_0x629f6e(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x57f985,0x16,_0x6a285[0xf]),_0x3d5df9=_0x2271ad(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x2defe9,0x5,_0x6a285[0x10]),_0x441623=_0x2271ad(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x46942e,0x9,_0x6a285[0x11]),_0x5da429=_0x2271ad(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x1bbce8,0xe,_0x6a285[0x12]),_0xee15f0=_0x2271ad(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x22a3e3,0x14,_0x6a285[0x13]),_0x3d5df9=_0x2271ad(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x327e25,0x5,_0x6a285[0x14]),_0x441623=_0x2271ad(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x1b311b,0x9,_0x6a285[0x15]),_0x5da429=_0x2271ad(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x57f985,0xe,_0x6a285[0x16]),_0xee15f0=_0x2271ad(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x53c4ab,0x14,_0x6a285[0x17]),_0x3d5df9=_0x2271ad(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x413b59,0x5,_0x6a285[0x18]),_0x441623=_0x2271ad(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x169a16,0x9,_0x6a285[0x19]),_0x5da429=_0x2271ad(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x263588,0xe,_0x6a285[0x1a]),_0xee15f0=_0x2271ad(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x2d8281,0x14,_0x6a285[0x1b]),_0x3d5df9=_0x2271ad(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x18f4e7,0x5,_0x6a285[0x1c]),_0x441623=_0x2271ad(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x43b0bd,0x9,_0x6a285[0x1d]),_0x5da429=_0x2271ad(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x443ac5,0xe,_0x6a285[0x1e]),_0xee15f0=_0x2271ad(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x20cd52,0x14,_0x6a285[0x1f]),_0x3d5df9=_0x3956b3(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x327e25,0x4,_0x6a285[0x20]),_0x441623=_0x3956b3(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x2d8281,0xb,_0x6a285[0x21]),_0x5da429=_0x3956b3(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x1bbce8,0x10,_0x6a285[0x22]),_0xee15f0=_0x3956b3(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x169a16,0x17,_0x6a285[0x23]),_0x3d5df9=_0x3956b3(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x2defe9,0x4,_0x6a285[0x24]),_0x441623=_0x3956b3(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x53c4ab,0xb,_0x6a285[0x25]),_0x5da429=_0x3956b3(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x443ac5,0x10,_0x6a285[0x26]),_0xee15f0=_0x3956b3(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x1b311b,0x17,_0x6a285[0x27]),_0x3d5df9=_0x3956b3(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x18f4e7,0x4,_0x6a285[0x28]),_0x441623=_0x3956b3(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x22a3e3,0xb,_0x6a285[0x29]),_0x5da429=_0x3956b3(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x263588,0x10,_0x6a285[0x2a]),_0xee15f0=_0x3956b3(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x46942e,0x17,_0x6a285[0x2b]),_0x3d5df9=_0x3956b3(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x413b59,0x4,_0x6a285[0x2c]),_0x441623=_0x3956b3(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x20cd52,0xb,_0x6a285[0x2d]),_0x5da429=_0x3956b3(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x57f985,0x10,_0x6a285[0x2e]),_0xee15f0=_0x3956b3(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x43b0bd,0x17,_0x6a285[0x2f]),_0x3d5df9=_0x461b7e(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x22a3e3,0x6,_0x6a285[0x30]),_0x441623=_0x461b7e(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x443ac5,0xa,_0x6a285[0x31]),_0x5da429=_0x461b7e(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x169a16,0xf,_0x6a285[0x32]),_0xee15f0=_0x461b7e(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x327e25,0x15,_0x6a285[0x33]),_0x3d5df9=_0x461b7e(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x20cd52,0x6,_0x6a285[0x34]),_0x441623=_0x461b7e(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x263588,0xa,_0x6a285[0x35]),_0x5da429=_0x461b7e(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x1b311b,0xf,_0x6a285[0x36]),_0xee15f0=_0x461b7e(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x2defe9,0x15,_0x6a285[0x37]),_0x3d5df9=_0x461b7e(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x2d8281,0x6,_0x6a285[0x38]),_0x441623=_0x461b7e(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x57f985,0xa,_0x6a285[0x39]),_0x5da429=_0x461b7e(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x46942e,0xf,_0x6a285[0x3a]),_0xee15f0=_0x461b7e(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x18f4e7,0x15,_0x6a285[0x3b]),_0x3d5df9=_0x461b7e(_0x3d5df9,_0xee15f0,_0x5da429,_0x441623,_0x53c4ab,0x6,_0x6a285[0x3c]),_0x441623=_0x461b7e(_0x441623,_0x3d5df9,_0xee15f0,_0x5da429,_0x1bbce8,0xa,_0x6a285[0x3d]),_0x5da429=_0x461b7e(_0x5da429,_0x441623,_0x3d5df9,_0xee15f0,_0x43b0bd,0xf,_0x6a285[0x3e]),_0xee15f0=_0x461b7e(_0xee15f0,_0x5da429,_0x441623,_0x3d5df9,_0x413b59,0x15,_0x6a285[0x3f]),_0x26e428[0x0]=_0x26e428[0x0]+_0x3d5df9|0x0,_0x26e428[0x1]=_0x26e428[0x1]+_0xee15f0|0x0,_0x26e428[0x2]=_0x26e428[0x2]+_0x5da429|0x0,_0x26e428[0x3]=_0x26e428[0x3]+_0x441623|0x0;},'_doFinalize':function(){var _0x58a216=_0x35b9c4,_0x4fea39=this[_0x58a216(0x301)],_0x482d85=_0x4fea39[_0x58a216(0x3f6)],_0x3410ab=this['_nDataBytes']*0x8,_0x2b21c4=_0x4fea39[_0x58a216(0x291)]*0x8;_0x482d85[_0x2b21c4>>>0x5]|=0x80<<0x18-_0x2b21c4%0x20;var _0x550878=_0x529402[_0x58a216(0x316)](_0x3410ab/0x100000000),_0x2252db=_0x3410ab;_0x482d85[(_0x2b21c4+0x40>>>0x9<<0x4)+0xf]=(_0x550878<<0x8|_0x550878>>>0x18)&0xff00ff|(_0x550878<<0x18|_0x550878>>>0x8)&0xff00ff00,_0x482d85[(_0x2b21c4+0x40>>>0x9<<0x4)+0xe]=(_0x2252db<<0x8|_0x2252db>>>0x18)&0xff00ff|(_0x2252db<<0x18|_0x2252db>>>0x8)&0xff00ff00,_0x4fea39[_0x58a216(0x291)]=(_0x482d85[_0x58a216(0x237)]+0x1)*0x4,this[_0x58a216(0x3a4)]();for(var _0x35b765=this[_0x58a216(0x26e)],_0x3f3779=_0x35b765['words'],_0x1babbb=0x0;_0x1babbb<0x4;_0x1babbb++){var _0x5d313e=_0x3f3779[_0x1babbb];_0x3f3779[_0x1babbb]=(_0x5d313e<<0x8|_0x5d313e>>>0x18)&0xff00ff|(_0x5d313e<<0x18|_0x5d313e>>>0x8)&0xff00ff00;}return _0x35b765;},'clone':function(){var _0xa386ee=_0x35b9c4,_0x2d5909=_0x327790['clone'][_0xa386ee(0x47a)](this);return _0x2d5909['_hash']=this[_0xa386ee(0x26e)]['clone'](),_0x2d5909;}});function _0x629f6e(_0x5d4dbd,_0x26dd34,_0x27147d,_0x2f848a,_0x391960,_0xba87f7,_0x32f970){var _0x3e04fb=_0x5d4dbd+(_0x26dd34&_0x27147d|~_0x26dd34&_0x2f848a)+_0x391960+_0x32f970;return(_0x3e04fb<<_0xba87f7|_0x3e04fb>>>0x20-_0xba87f7)+_0x26dd34;}function _0x2271ad(_0x36ff7f,_0x1346fb,_0x8c626c,_0x5494de,_0x11cc5f,_0x8c1f34,_0x402358){var _0x56862f=_0x36ff7f+(_0x1346fb&_0x5494de|_0x8c626c&~_0x5494de)+_0x11cc5f+_0x402358;return(_0x56862f<<_0x8c1f34|_0x56862f>>>0x20-_0x8c1f34)+_0x1346fb;}function _0x3956b3(_0x1f074c,_0x53a736,_0x4b4b1a,_0x2eedf8,_0x311eb8,_0x67b6c1,_0x10aaef){var _0x3ed78c=_0x1f074c+(_0x53a736^_0x4b4b1a^_0x2eedf8)+_0x311eb8+_0x10aaef;return(_0x3ed78c<<_0x67b6c1|_0x3ed78c>>>0x20-_0x67b6c1)+_0x53a736;}function _0x461b7e(_0xa6d0d,_0xe3ef0a,_0x467d6e,_0x394d22,_0x335aa7,_0x3f557f,_0x3424f1){var _0xa44e8c=_0xa6d0d+(_0x467d6e^(_0xe3ef0a|~_0x394d22))+_0x335aa7+_0x3424f1;return(_0xa44e8c<<_0x3f557f|_0xa44e8c>>>0x20-_0x3f557f)+_0xe3ef0a;}_0x17d6ff[_0x35b9c4(0x258)]=_0x327790['_createHelper'](_0x2b6a47),_0x17d6ff[_0x35b9c4(0x4f8)]=_0x327790[_0x35b9c4(0x33a)](_0x2b6a47);}(Math),_0x3dfd37['MD5'];}));}(pe)),pe[_0x2fa21c(0x3e1)];}var me={'exports':{}},ge={'exports':{}},Ri=ge[_0x2f1e4f(0x3e1)],Je;function Ni(){return Je||(Je=0x1,function(_0x671077,_0x3437bb){(function(_0x4519c1,_0x312f07){_0x671077['exports']=_0x312f07(Z());}(Ri,function(_0x13a029){var _0x2982f3=_0x223c;return(function(){var _0x15f851=_0x223c,_0x8a392d=_0x13a029,_0x5b6d0a=_0x8a392d[_0x15f851(0x19e)],_0x2ad9a4=_0x5b6d0a[_0x15f851(0x39a)],_0x5974b7=_0x5b6d0a[_0x15f851(0x377)],_0x11923f=_0x8a392d[_0x15f851(0x24e)],_0x468223=[],_0x523151=_0x11923f['SHA1']=_0x5974b7[_0x15f851(0x488)]({'_doReset':function(){var _0x2b44fe=_0x15f851;this[_0x2b44fe(0x26e)]=new _0x2ad9a4['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x8e7850,_0x5365c6){var _0x4a1b46=_0x15f851;for(var _0xff21f8=this[_0x4a1b46(0x26e)]['words'],_0x5a50e9=_0xff21f8[0x0],_0x5ca2af=_0xff21f8[0x1],_0x271972=_0xff21f8[0x2],_0x24bf71=_0xff21f8[0x3],_0x58b7ce=_0xff21f8[0x4],_0x185f9e=0x0;_0x185f9e<0x50;_0x185f9e++){if(_0x185f9e<0x10)_0x468223[_0x185f9e]=_0x8e7850[_0x5365c6+_0x185f9e]|0x0;else{var _0x277e59=_0x468223[_0x185f9e-0x3]^_0x468223[_0x185f9e-0x8]^_0x468223[_0x185f9e-0xe]^_0x468223[_0x185f9e-0x10];_0x468223[_0x185f9e]=_0x277e59<<0x1|_0x277e59>>>0x1f;}var _0x3a541d=(_0x5a50e9<<0x5|_0x5a50e9>>>0x1b)+_0x58b7ce+_0x468223[_0x185f9e];_0x185f9e<0x14?_0x3a541d+=(_0x5ca2af&_0x271972|~_0x5ca2af&_0x24bf71)+0x5a827999:_0x185f9e<0x28?_0x3a541d+=(_0x5ca2af^_0x271972^_0x24bf71)+0x6ed9eba1:_0x185f9e<0x3c?_0x3a541d+=(_0x5ca2af&_0x271972|_0x5ca2af&_0x24bf71|_0x271972&_0x24bf71)-0x70e44324:_0x3a541d+=(_0x5ca2af^_0x271972^_0x24bf71)-0x359d3e2a,_0x58b7ce=_0x24bf71,_0x24bf71=_0x271972,_0x271972=_0x5ca2af<<0x1e|_0x5ca2af>>>0x2,_0x5ca2af=_0x5a50e9,_0x5a50e9=_0x3a541d;}_0xff21f8[0x0]=_0xff21f8[0x0]+_0x5a50e9|0x0,_0xff21f8[0x1]=_0xff21f8[0x1]+_0x5ca2af|0x0,_0xff21f8[0x2]=_0xff21f8[0x2]+_0x271972|0x0,_0xff21f8[0x3]=_0xff21f8[0x3]+_0x24bf71|0x0,_0xff21f8[0x4]=_0xff21f8[0x4]+_0x58b7ce|0x0;},'_doFinalize':function(){var _0x51c65a=_0x15f851,_0x2be536=this[_0x51c65a(0x301)],_0x33f4e0=_0x2be536[_0x51c65a(0x3f6)],_0x5e9d3c=this['_nDataBytes']*0x8,_0x4598c4=_0x2be536[_0x51c65a(0x291)]*0x8;return _0x33f4e0[_0x4598c4>>>0x5]|=0x80<<0x18-_0x4598c4%0x20,_0x33f4e0[(_0x4598c4+0x40>>>0x9<<0x4)+0xe]=Math[_0x51c65a(0x316)](_0x5e9d3c/0x100000000),_0x33f4e0[(_0x4598c4+0x40>>>0x9<<0x4)+0xf]=_0x5e9d3c,_0x2be536[_0x51c65a(0x291)]=_0x33f4e0[_0x51c65a(0x237)]*0x4,this[_0x51c65a(0x3a4)](),this[_0x51c65a(0x26e)];},'clone':function(){var _0x368fee=_0x15f851,_0xffa0b3=_0x5974b7['clone']['call'](this);return _0xffa0b3['_hash']=this[_0x368fee(0x26e)][_0x368fee(0x2bf)](),_0xffa0b3;}});_0x8a392d[_0x15f851(0x35f)]=_0x5974b7[_0x15f851(0x4ce)](_0x523151),_0x8a392d[_0x15f851(0x1e6)]=_0x5974b7[_0x15f851(0x33a)](_0x523151);}()),_0x13a029[_0x2982f3(0x35f)];}));}(ge)),ge['exports'];}var Te={'exports':{}},Di=Te['exports'],Ze;function yi(){var _0x27885e=_0x2f1e4f;return Ze||(Ze=0x1,function(_0x235746,_0x3f3b5b){(function(_0x10733a,_0x8e3e9e){var _0x4df1bd=_0x223c;_0x235746[_0x4df1bd(0x3e1)]=_0x8e3e9e(Z());}(Di,function(_0x3ffe49){(function(){var _0x377b50=_0x223c,_0x38e3e4=_0x3ffe49,_0x48cddc=_0x38e3e4[_0x377b50(0x19e)],_0x211664=_0x48cddc[_0x377b50(0x2f6)],_0x3868bd=_0x38e3e4['enc'],_0x3d09ea=_0x3868bd[_0x377b50(0x326)],_0x34856f=_0x38e3e4[_0x377b50(0x24e)];_0x34856f[_0x377b50(0x48a)]=_0x211664[_0x377b50(0x488)]({'init':function(_0x19f97f,_0x41960a){var _0x1d6aad=_0x377b50;_0x19f97f=this[_0x1d6aad(0x485)]=new _0x19f97f[(_0x1d6aad(0x477))](),typeof _0x41960a==_0x1d6aad(0x429)&&(_0x41960a=_0x3d09ea[_0x1d6aad(0x4b2)](_0x41960a));var _0x5612de=_0x19f97f['blockSize'],_0x3207ac=_0x5612de*0x4;_0x41960a[_0x1d6aad(0x291)]>_0x3207ac&&(_0x41960a=_0x19f97f[_0x1d6aad(0x27d)](_0x41960a)),_0x41960a[_0x1d6aad(0x18b)]();for(var _0x5d8831=this[_0x1d6aad(0x2da)]=_0x41960a[_0x1d6aad(0x2bf)](),_0x18a8a1=this['_iKey']=_0x41960a[_0x1d6aad(0x2bf)](),_0x4a0c08=_0x5d8831['words'],_0x299851=_0x18a8a1['words'],_0x26fafe=0x0;_0x26fafe<_0x5612de;_0x26fafe++)_0x4a0c08[_0x26fafe]^=0x5c5c5c5c,_0x299851[_0x26fafe]^=0x36363636;_0x5d8831[_0x1d6aad(0x291)]=_0x18a8a1['sigBytes']=_0x3207ac,this[_0x1d6aad(0x348)]();},'reset':function(){var _0x33c41e=_0x377b50,_0x409d66=this[_0x33c41e(0x485)];_0x409d66['reset'](),_0x409d66[_0x33c41e(0x2d6)](this['_iKey']);},'update':function(_0x48ee17){var _0x1f9506=_0x377b50;return this[_0x1f9506(0x485)][_0x1f9506(0x2d6)](_0x48ee17),this;},'finalize':function(_0x2ac305){var _0x510eba=_0x377b50,_0x4ccbd9=this[_0x510eba(0x485)],_0x1ea544=_0x4ccbd9[_0x510eba(0x27d)](_0x2ac305);_0x4ccbd9[_0x510eba(0x348)]();var _0xa89a44=_0x4ccbd9[_0x510eba(0x27d)](this[_0x510eba(0x2da)][_0x510eba(0x2bf)]()[_0x510eba(0x48c)](_0x1ea544));return _0xa89a44;}});}());}));}(Te)),Te[_0x27885e(0x3e1)];}var Ui=me[_0x2f1e4f(0x3e1)],Qe;function Ot(){var _0x17b988=_0x2f1e4f;return Qe||(Qe=0x1,function(_0x94be4d,_0x5844bf){(function(_0x4fa157,_0x374fbb,_0x3cf7e2){var _0x36e350=_0x223c;_0x94be4d[_0x36e350(0x3e1)]=_0x374fbb(Z(),Ni(),yi());}(Ui,function(_0x4db133){return(function(){var _0x5ce7ea=_0x223c,_0x12a498=_0x4db133,_0x2f7586=_0x12a498[_0x5ce7ea(0x19e)],_0xf17eb=_0x2f7586[_0x5ce7ea(0x2f6)],_0x175c92=_0x2f7586[_0x5ce7ea(0x39a)],_0x215b63=_0x12a498[_0x5ce7ea(0x24e)],_0x40278c=_0x215b63[_0x5ce7ea(0x258)],_0x10b5bd=_0x215b63[_0x5ce7ea(0x2de)]=_0xf17eb[_0x5ce7ea(0x488)]({'cfg':_0xf17eb[_0x5ce7ea(0x488)]({'keySize':0x80/0x20,'hasher':_0x40278c,'iterations':0x1}),'init':function(_0x2382fc){var _0x1809f1=_0x5ce7ea;this[_0x1809f1(0x2ad)]=this['cfg']['extend'](_0x2382fc);},'compute':function(_0x227321,_0x3762b0){var _0x282670=_0x5ce7ea;for(var _0x4dcfd5,_0x58d463=this[_0x282670(0x2ad)],_0x508e8e=_0x58d463[_0x282670(0x1b8)][_0x282670(0x2a9)](),_0x324ce8=_0x175c92[_0x282670(0x2a9)](),_0x4c7caa=_0x324ce8[_0x282670(0x3f6)],_0x319a02=_0x58d463[_0x282670(0x1ad)],_0x1c895b=_0x58d463[_0x282670(0x37f)];_0x4c7caa[_0x282670(0x237)]<_0x319a02;){_0x4dcfd5&&_0x508e8e['update'](_0x4dcfd5),_0x4dcfd5=_0x508e8e[_0x282670(0x2d6)](_0x227321)[_0x282670(0x27d)](_0x3762b0),_0x508e8e[_0x282670(0x348)]();for(var _0x4a106f=0x1;_0x4a106f<_0x1c895b;_0x4a106f++)_0x4dcfd5=_0x508e8e[_0x282670(0x27d)](_0x4dcfd5),_0x508e8e[_0x282670(0x348)]();_0x324ce8[_0x282670(0x48c)](_0x4dcfd5);}return _0x324ce8[_0x282670(0x291)]=_0x319a02*0x4,_0x324ce8;}});_0x12a498[_0x5ce7ea(0x2de)]=function(_0x3690b2,_0x5c0a47,_0x1581e7){var _0x4984cd=_0x5ce7ea;return _0x10b5bd[_0x4984cd(0x2a9)](_0x1581e7)[_0x4984cd(0x3e4)](_0x3690b2,_0x5c0a47);};}()),_0x4db133['EvpKDF'];}));}(me)),me[_0x17b988(0x3e1)];}var Ce={'exports':{}},Ai=Ce['exports'],et;function bt(){var _0x47656f=_0x2f1e4f;return et||(et=0x1,function(_0x18799a,_0x5189a6){(function(_0x102929,_0x1bacb0,_0x391f8a){_0x18799a['exports']=_0x1bacb0(Z(),Ot());}(Ai,function(_0x1aca85){var _0x18a0c1=_0x223c;_0x1aca85[_0x18a0c1(0x19e)]['Cipher']||function(_0x3a9333){var _0x4cd3f5=_0x18a0c1,_0x2da015=_0x1aca85,_0xbc9c90=_0x2da015[_0x4cd3f5(0x19e)],_0xc96d3d=_0xbc9c90[_0x4cd3f5(0x2f6)],_0x440427=_0xbc9c90[_0x4cd3f5(0x39a)],_0x3dc72f=_0xbc9c90[_0x4cd3f5(0x430)],_0x41b0f5=_0x2da015[_0x4cd3f5(0x3c6)];_0x41b0f5[_0x4cd3f5(0x326)];var _0x4a6a68=_0x41b0f5['Base64'],_0x35efce=_0x2da015[_0x4cd3f5(0x24e)],_0x1416e9=_0x35efce[_0x4cd3f5(0x2de)],_0x344c32=_0xbc9c90[_0x4cd3f5(0x32f)]=_0x3dc72f[_0x4cd3f5(0x488)]({'cfg':_0xc96d3d[_0x4cd3f5(0x488)](),'createEncryptor':function(_0x54eced,_0x5091dc){var _0x222cfc=_0x4cd3f5;return this[_0x222cfc(0x2a9)](this['_ENC_XFORM_MODE'],_0x54eced,_0x5091dc);},'createDecryptor':function(_0x5407a4,_0x9f8a51){var _0x20b091=_0x4cd3f5;return this[_0x20b091(0x2a9)](this[_0x20b091(0x26f)],_0x5407a4,_0x9f8a51);},'init':function(_0xe6c9ac,_0x131d11,_0x5e3da1){var _0x889e85=_0x4cd3f5;this[_0x889e85(0x2ad)]=this[_0x889e85(0x2ad)][_0x889e85(0x488)](_0x5e3da1),this[_0x889e85(0x4e7)]=_0xe6c9ac,this['_key']=_0x131d11,this[_0x889e85(0x348)]();},'reset':function(){var _0x5b9598=_0x4cd3f5;_0x3dc72f[_0x5b9598(0x348)][_0x5b9598(0x47a)](this),this[_0x5b9598(0x3dc)]();},'process':function(_0x3039e8){var _0x52451d=_0x4cd3f5;return this[_0x52451d(0x3f1)](_0x3039e8),this[_0x52451d(0x3a4)]();},'finalize':function(_0x47a033){var _0x5f991a=_0x4cd3f5;_0x47a033&&this[_0x5f991a(0x3f1)](_0x47a033);var _0x25ad4b=this['_doFinalize']();return _0x25ad4b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1603c8(_0xf74256){var _0x1d8c99=_0x223c;return typeof _0xf74256==_0x1d8c99(0x429)?_0x4232fd:_0x52e64a;}return function(_0x40e538){return{'encrypt':function(_0x3422d5,_0x536e8e,_0x122cc9){var _0x4547a7=_0x223c;return _0x1603c8(_0x536e8e)[_0x4547a7(0x26d)](_0x40e538,_0x3422d5,_0x536e8e,_0x122cc9);},'decrypt':function(_0x4a8c1e,_0x4a6804,_0x263ab2){var _0x10943a=_0x223c;return _0x1603c8(_0x4a6804)[_0x10943a(0x289)](_0x40e538,_0x4a8c1e,_0x4a6804,_0x263ab2);}};};}())});_0xbc9c90[_0x4cd3f5(0x4fd)]=_0x344c32[_0x4cd3f5(0x488)]({'_doFinalize':function(){var _0x2196ec=_0x4cd3f5,_0x4a6820=this[_0x2196ec(0x3a4)](!0x0);return _0x4a6820;},'blockSize':0x1});var _0x8251e=_0x2da015['mode']={},_0x2668e8=_0xbc9c90[_0x4cd3f5(0x295)]=_0xc96d3d[_0x4cd3f5(0x488)]({'createEncryptor':function(_0x3263fc,_0xe55aa9){var _0x3867c1=_0x4cd3f5;return this[_0x3867c1(0x4af)][_0x3867c1(0x2a9)](_0x3263fc,_0xe55aa9);},'createDecryptor':function(_0x34180c,_0x330f6d){var _0x3d4f1b=_0x4cd3f5;return this[_0x3d4f1b(0x32a)][_0x3d4f1b(0x2a9)](_0x34180c,_0x330f6d);},'init':function(_0x51ccf8,_0x21a474){var _0x408720=_0x4cd3f5;this[_0x408720(0x217)]=_0x51ccf8,this[_0x408720(0x4e9)]=_0x21a474;}}),_0xe326ad=_0x8251e['CBC']=(function(){var _0x1526a8=_0x4cd3f5,_0x2c2c5f=_0x2668e8[_0x1526a8(0x488)]();_0x2c2c5f['Encryptor']=_0x2c2c5f[_0x1526a8(0x488)]({'processBlock':function(_0x468096,_0x20e532){var _0x3b8549=_0x1526a8,_0x42fc00=this[_0x3b8549(0x217)],_0x4f9c7d=_0x42fc00['blockSize'];_0x1e9625[_0x3b8549(0x47a)](this,_0x468096,_0x20e532,_0x4f9c7d),_0x42fc00['encryptBlock'](_0x468096,_0x20e532),this[_0x3b8549(0x3eb)]=_0x468096[_0x3b8549(0x1fc)](_0x20e532,_0x20e532+_0x4f9c7d);}}),_0x2c2c5f[_0x1526a8(0x32a)]=_0x2c2c5f['extend']({'processBlock':function(_0x26a04f,_0x3c15f9){var _0x4707bc=_0x1526a8,_0x57c5be=this[_0x4707bc(0x217)],_0x599c4f=_0x57c5be[_0x4707bc(0x1d4)],_0x3f4bec=_0x26a04f['slice'](_0x3c15f9,_0x3c15f9+_0x599c4f);_0x57c5be[_0x4707bc(0x4c3)](_0x26a04f,_0x3c15f9),_0x1e9625[_0x4707bc(0x47a)](this,_0x26a04f,_0x3c15f9,_0x599c4f),this[_0x4707bc(0x3eb)]=_0x3f4bec;}});function _0x1e9625(_0xc180f8,_0xafb465,_0x229264){var _0x31d032=_0x1526a8,_0x4dc74d,_0x33ec84=this['_iv'];_0x33ec84?(_0x4dc74d=_0x33ec84,this['_iv']=_0x3a9333):_0x4dc74d=this[_0x31d032(0x3eb)];for(var _0x4401e7=0x0;_0x4401e7<_0x229264;_0x4401e7++)_0xc180f8[_0xafb465+_0x4401e7]^=_0x4dc74d[_0x4401e7];}return _0x2c2c5f;}()),_0x1743d4=_0x2da015[_0x4cd3f5(0x36e)]={},_0x297704=_0x1743d4[_0x4cd3f5(0x2ce)]={'pad':function(_0x2a222a,_0x1dee82){var _0x467c83=_0x4cd3f5;for(var _0x433ebb=_0x1dee82*0x4,_0x2f62e5=_0x433ebb-_0x2a222a[_0x467c83(0x291)]%_0x433ebb,_0x5d76af=_0x2f62e5<<0x18|_0x2f62e5<<0x10|_0x2f62e5<<0x8|_0x2f62e5,_0xf03cfa=[],_0x1d87e7=0x0;_0x1d87e7<_0x2f62e5;_0x1d87e7+=0x4)_0xf03cfa['push'](_0x5d76af);var _0x1053b4=_0x440427[_0x467c83(0x2a9)](_0xf03cfa,_0x2f62e5);_0x2a222a['concat'](_0x1053b4);},'unpad':function(_0x18d273){var _0x804e4=_0x4cd3f5,_0x25a9f3=_0x18d273[_0x804e4(0x3f6)][_0x18d273['sigBytes']-0x1>>>0x2]&0xff;_0x18d273[_0x804e4(0x291)]-=_0x25a9f3;}};_0xbc9c90[_0x4cd3f5(0x1cc)]=_0x344c32[_0x4cd3f5(0x488)]({'cfg':_0x344c32[_0x4cd3f5(0x2ad)][_0x4cd3f5(0x488)]({'mode':_0xe326ad,'padding':_0x297704}),'reset':function(){var _0x620a21=_0x4cd3f5,_0x3de627;_0x344c32[_0x620a21(0x348)][_0x620a21(0x47a)](this);var _0x511886=this[_0x620a21(0x2ad)],_0x2bff6e=_0x511886['iv'],_0x4f4b79=_0x511886[_0x620a21(0x3e8)];this[_0x620a21(0x4e7)]==this[_0x620a21(0x1bf)]?_0x3de627=_0x4f4b79[_0x620a21(0x25f)]:(_0x3de627=_0x4f4b79[_0x620a21(0x22f)],this[_0x620a21(0x515)]=0x1),this['_mode']&&this[_0x620a21(0x1d7)][_0x620a21(0x186)]==_0x3de627?this[_0x620a21(0x1d7)][_0x620a21(0x477)](this,_0x2bff6e&&_0x2bff6e[_0x620a21(0x3f6)]):(this[_0x620a21(0x1d7)]=_0x3de627['call'](_0x4f4b79,this,_0x2bff6e&&_0x2bff6e['words']),this[_0x620a21(0x1d7)][_0x620a21(0x186)]=_0x3de627);},'_doProcessBlock':function(_0x344d71,_0x3c4d0f){var _0xcb744b=_0x4cd3f5;this[_0xcb744b(0x1d7)][_0xcb744b(0x4bc)](_0x344d71,_0x3c4d0f);},'_doFinalize':function(){var _0xe3044=_0x4cd3f5,_0x26f0e6,_0x30984d=this[_0xe3044(0x2ad)][_0xe3044(0x400)];return this[_0xe3044(0x4e7)]==this[_0xe3044(0x1bf)]?(_0x30984d['pad'](this['_data'],this[_0xe3044(0x1d4)]),_0x26f0e6=this[_0xe3044(0x3a4)](!0x0)):(_0x26f0e6=this[_0xe3044(0x3a4)](!0x0),_0x30984d[_0xe3044(0x198)](_0x26f0e6)),_0x26f0e6;},'blockSize':0x80/0x20});var _0x3b31b1=_0xbc9c90[_0x4cd3f5(0x2b3)]=_0xc96d3d[_0x4cd3f5(0x488)]({'init':function(_0x1ac18b){this['mixIn'](_0x1ac18b);},'toString':function(_0x4afb36){var _0x30553a=_0x4cd3f5;return(_0x4afb36||this[_0x30553a(0x2c4)])['stringify'](this);}}),_0x2ae108=_0x2da015[_0x4cd3f5(0x19c)]={},_0x2740a3=_0x2ae108[_0x4cd3f5(0x464)]={'stringify':function(_0x5b42c6){var _0x39f76e=_0x4cd3f5,_0x1dfd75,_0x1fd413=_0x5b42c6['ciphertext'],_0x54c57d=_0x5b42c6['salt'];return _0x54c57d?_0x1dfd75=_0x440427[_0x39f76e(0x2a9)]([0x53616c74,0x65645f5f])[_0x39f76e(0x48c)](_0x54c57d)[_0x39f76e(0x48c)](_0x1fd413):_0x1dfd75=_0x1fd413,_0x1dfd75[_0x39f76e(0x371)](_0x4a6a68);},'parse':function(_0x45e7d6){var _0x5d2659=_0x4cd3f5,_0x493487,_0x478216=_0x4a6a68[_0x5d2659(0x4b2)](_0x45e7d6),_0x18d4e5=_0x478216[_0x5d2659(0x3f6)];return _0x18d4e5[0x0]==0x53616c74&&_0x18d4e5[0x1]==0x65645f5f&&(_0x493487=_0x440427[_0x5d2659(0x2a9)](_0x18d4e5[_0x5d2659(0x1fc)](0x2,0x4)),_0x18d4e5[_0x5d2659(0x445)](0x0,0x4),_0x478216[_0x5d2659(0x291)]-=0x10),_0x3b31b1[_0x5d2659(0x2a9)]({'ciphertext':_0x478216,'salt':_0x493487});}},_0x52e64a=_0xbc9c90[_0x4cd3f5(0x1cf)]=_0xc96d3d[_0x4cd3f5(0x488)]({'cfg':_0xc96d3d['extend']({'format':_0x2740a3}),'encrypt':function(_0x42de67,_0x3177c1,_0x3bf155,_0x2e277d){var _0x25452c=_0x4cd3f5;_0x2e277d=this[_0x25452c(0x2ad)]['extend'](_0x2e277d);var _0x2f8a43=_0x42de67[_0x25452c(0x25f)](_0x3bf155,_0x2e277d),_0xdf821f=_0x2f8a43[_0x25452c(0x27d)](_0x3177c1),_0x473e10=_0x2f8a43['cfg'];return _0x3b31b1[_0x25452c(0x2a9)]({'ciphertext':_0xdf821f,'key':_0x3bf155,'iv':_0x473e10['iv'],'algorithm':_0x42de67,'mode':_0x473e10['mode'],'padding':_0x473e10[_0x25452c(0x400)],'blockSize':_0x42de67['blockSize'],'formatter':_0x2e277d[_0x25452c(0x19c)]});},'decrypt':function(_0x45137f,_0x26268f,_0x5e03e1,_0x1a9620){var _0x274245=_0x4cd3f5;_0x1a9620=this['cfg'][_0x274245(0x488)](_0x1a9620),_0x26268f=this['_parse'](_0x26268f,_0x1a9620[_0x274245(0x19c)]);var _0x496966=_0x45137f[_0x274245(0x22f)](_0x5e03e1,_0x1a9620)['finalize'](_0x26268f[_0x274245(0x414)]);return _0x496966;},'_parse':function(_0x3ad3b5,_0x50d0c7){var _0x4e4e1c=_0x4cd3f5;return typeof _0x3ad3b5==_0x4e4e1c(0x429)?_0x50d0c7['parse'](_0x3ad3b5,this):_0x3ad3b5;}}),_0x5e0178=_0x2da015['kdf']={},_0x207b47=_0x5e0178[_0x4cd3f5(0x464)]={'execute':function(_0xf6b316,_0xce2130,_0x5267e2,_0x38d133,_0x5dbcb4){var _0xc3b3b4=_0x4cd3f5;if(_0x38d133||(_0x38d133=_0x440427[_0xc3b3b4(0x4a2)](0x40/0x8)),_0x5dbcb4)var _0x431b66=_0x1416e9[_0xc3b3b4(0x2a9)]({'keySize':_0xce2130+_0x5267e2,'hasher':_0x5dbcb4})[_0xc3b3b4(0x3e4)](_0xf6b316,_0x38d133);else var _0x431b66=_0x1416e9[_0xc3b3b4(0x2a9)]({'keySize':_0xce2130+_0x5267e2})[_0xc3b3b4(0x3e4)](_0xf6b316,_0x38d133);var _0x923d6c=_0x440427[_0xc3b3b4(0x2a9)](_0x431b66['words'][_0xc3b3b4(0x1fc)](_0xce2130),_0x5267e2*0x4);return _0x431b66[_0xc3b3b4(0x291)]=_0xce2130*0x4,_0x3b31b1[_0xc3b3b4(0x2a9)]({'key':_0x431b66,'iv':_0x923d6c,'salt':_0x38d133});}},_0x4232fd=_0xbc9c90[_0x4cd3f5(0x4f0)]=_0x52e64a[_0x4cd3f5(0x488)]({'cfg':_0x52e64a['cfg'][_0x4cd3f5(0x488)]({'kdf':_0x207b47}),'encrypt':function(_0x2e9c71,_0x35db01,_0x5eac2c,_0x3c1322){var _0x4d8862=_0x4cd3f5;_0x3c1322=this[_0x4d8862(0x2ad)][_0x4d8862(0x488)](_0x3c1322);var _0x1cfafa=_0x3c1322[_0x4d8862(0x500)]['execute'](_0x5eac2c,_0x2e9c71['keySize'],_0x2e9c71[_0x4d8862(0x42c)],_0x3c1322[_0x4d8862(0x381)],_0x3c1322['hasher']);_0x3c1322['iv']=_0x1cfafa['iv'];var _0x4801ca=_0x52e64a[_0x4d8862(0x26d)][_0x4d8862(0x47a)](this,_0x2e9c71,_0x35db01,_0x1cfafa[_0x4d8862(0x366)],_0x3c1322);return _0x4801ca[_0x4d8862(0x28e)](_0x1cfafa),_0x4801ca;},'decrypt':function(_0x40732e,_0x4ff0c8,_0x135b84,_0x57631e){var _0x560b85=_0x4cd3f5;_0x57631e=this[_0x560b85(0x2ad)]['extend'](_0x57631e),_0x4ff0c8=this[_0x560b85(0x458)](_0x4ff0c8,_0x57631e['format']);var _0x3aa264=_0x57631e[_0x560b85(0x500)][_0x560b85(0x3c8)](_0x135b84,_0x40732e[_0x560b85(0x1ad)],_0x40732e['ivSize'],_0x4ff0c8['salt'],_0x57631e[_0x560b85(0x1b8)]);_0x57631e['iv']=_0x3aa264['iv'];var _0x55ecfa=_0x52e64a[_0x560b85(0x289)]['call'](this,_0x40732e,_0x4ff0c8,_0x3aa264[_0x560b85(0x366)],_0x57631e);return _0x55ecfa;}});}();}));}(Ce)),Ce[_0x47656f(0x3e1)];}var Pi=Ie[_0x2f1e4f(0x3e1)],tt;function Li(){return tt||(tt=0x1,function(_0x16d4ac,_0x1422c8){(function(_0x33be2e,_0x3dd7b5,_0x49a60d){var _0xa00020=_0x223c;_0x16d4ac[_0xa00020(0x3e1)]=_0x3dd7b5(Z(),Ct(),bi(),Ot(),bt());}(Pi,function(_0x19933b){var _0xaa88ee=_0x223c;return(function(){var _0x21a863=_0x223c,_0x5c8ff6=_0x19933b,_0xf6a139=_0x5c8ff6['lib'],_0x204c58=_0xf6a139[_0x21a863(0x1cc)],_0x5c7bd8=_0x5c8ff6[_0x21a863(0x24e)],_0x4f6be2=[],_0x562954=[],_0x5344b8=[],_0xcb2d2a=[],_0x536b71=[],_0x496406=[],_0x105391=[],_0x48c8c9=[],_0x71824f=[],_0x2be9f7=[];(function(){for(var _0x4caf22=[],_0xd8ef17=0x0;_0xd8ef17<0x100;_0xd8ef17++)_0xd8ef17<0x80?_0x4caf22[_0xd8ef17]=_0xd8ef17<<0x1:_0x4caf22[_0xd8ef17]=_0xd8ef17<<0x1^0x11b;for(var _0x2b101f=0x0,_0x59a4ff=0x0,_0xd8ef17=0x0;_0xd8ef17<0x100;_0xd8ef17++){var _0x494887=_0x59a4ff^_0x59a4ff<<0x1^_0x59a4ff<<0x2^_0x59a4ff<<0x3^_0x59a4ff<<0x4;_0x494887=_0x494887>>>0x8^_0x494887&0xff^0x63,_0x4f6be2[_0x2b101f]=_0x494887,_0x562954[_0x494887]=_0x2b101f;var _0x344410=_0x4caf22[_0x2b101f],_0x2f1b5d=_0x4caf22[_0x344410],_0x2c01ac=_0x4caf22[_0x2f1b5d],_0x3b5110=_0x4caf22[_0x494887]*0x101^_0x494887*0x1010100;_0x5344b8[_0x2b101f]=_0x3b5110<<0x18|_0x3b5110>>>0x8,_0xcb2d2a[_0x2b101f]=_0x3b5110<<0x10|_0x3b5110>>>0x10,_0x536b71[_0x2b101f]=_0x3b5110<<0x8|_0x3b5110>>>0x18,_0x496406[_0x2b101f]=_0x3b5110;var _0x3b5110=_0x2c01ac*0x1010101^_0x2f1b5d*0x10001^_0x344410*0x101^_0x2b101f*0x1010100;_0x105391[_0x494887]=_0x3b5110<<0x18|_0x3b5110>>>0x8,_0x48c8c9[_0x494887]=_0x3b5110<<0x10|_0x3b5110>>>0x10,_0x71824f[_0x494887]=_0x3b5110<<0x8|_0x3b5110>>>0x18,_0x2be9f7[_0x494887]=_0x3b5110,_0x2b101f?(_0x2b101f=_0x344410^_0x4caf22[_0x4caf22[_0x4caf22[_0x2c01ac^_0x344410]]],_0x59a4ff^=_0x4caf22[_0x4caf22[_0x59a4ff]]):_0x2b101f=_0x59a4ff=0x1;}}());var _0x270361=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xa780a7=_0x5c7bd8[_0x21a863(0x33c)]=_0x204c58[_0x21a863(0x488)]({'_doReset':function(){var _0x39bf78=_0x21a863,_0x3c244d;if(!(this['_nRounds']&&this[_0x39bf78(0x441)]===this[_0x39bf78(0x1d6)])){for(var _0x193f24=this[_0x39bf78(0x441)]=this[_0x39bf78(0x1d6)],_0xa1e3=_0x193f24[_0x39bf78(0x3f6)],_0x168868=_0x193f24[_0x39bf78(0x291)]/0x4,_0x525bd4=this[_0x39bf78(0x39f)]=_0x168868+0x6,_0x1efebd=(_0x525bd4+0x1)*0x4,_0x161259=this['_keySchedule']=[],_0x2129b3=0x0;_0x2129b3<_0x1efebd;_0x2129b3++)_0x2129b3<_0x168868?_0x161259[_0x2129b3]=_0xa1e3[_0x2129b3]:(_0x3c244d=_0x161259[_0x2129b3-0x1],_0x2129b3%_0x168868?_0x168868>0x6&&_0x2129b3%_0x168868==0x4&&(_0x3c244d=_0x4f6be2[_0x3c244d>>>0x18]<<0x18|_0x4f6be2[_0x3c244d>>>0x10&0xff]<<0x10|_0x4f6be2[_0x3c244d>>>0x8&0xff]<<0x8|_0x4f6be2[_0x3c244d&0xff]):(_0x3c244d=_0x3c244d<<0x8|_0x3c244d>>>0x18,_0x3c244d=_0x4f6be2[_0x3c244d>>>0x18]<<0x18|_0x4f6be2[_0x3c244d>>>0x10&0xff]<<0x10|_0x4f6be2[_0x3c244d>>>0x8&0xff]<<0x8|_0x4f6be2[_0x3c244d&0xff],_0x3c244d^=_0x270361[_0x2129b3/_0x168868|0x0]<<0x18),_0x161259[_0x2129b3]=_0x161259[_0x2129b3-_0x168868]^_0x3c244d);for(var _0x30437b=this[_0x39bf78(0x1ce)]=[],_0x1c7d57=0x0;_0x1c7d57<_0x1efebd;_0x1c7d57++){var _0x2129b3=_0x1efebd-_0x1c7d57;if(_0x1c7d57%0x4)var _0x3c244d=_0x161259[_0x2129b3];else var _0x3c244d=_0x161259[_0x2129b3-0x4];_0x1c7d57<0x4||_0x2129b3<=0x4?_0x30437b[_0x1c7d57]=_0x3c244d:_0x30437b[_0x1c7d57]=_0x105391[_0x4f6be2[_0x3c244d>>>0x18]]^_0x48c8c9[_0x4f6be2[_0x3c244d>>>0x10&0xff]]^_0x71824f[_0x4f6be2[_0x3c244d>>>0x8&0xff]]^_0x2be9f7[_0x4f6be2[_0x3c244d&0xff]];}}},'encryptBlock':function(_0x3266f8,_0x253e9a){var _0x50a4f7=_0x21a863;this[_0x50a4f7(0x188)](_0x3266f8,_0x253e9a,this['_keySchedule'],_0x5344b8,_0xcb2d2a,_0x536b71,_0x496406,_0x4f6be2);},'decryptBlock':function(_0x2ff230,_0xcc5dd3){var _0x884c83=_0x21a863,_0x23385f=_0x2ff230[_0xcc5dd3+0x1];_0x2ff230[_0xcc5dd3+0x1]=_0x2ff230[_0xcc5dd3+0x3],_0x2ff230[_0xcc5dd3+0x3]=_0x23385f,this[_0x884c83(0x188)](_0x2ff230,_0xcc5dd3,this['_invKeySchedule'],_0x105391,_0x48c8c9,_0x71824f,_0x2be9f7,_0x562954);var _0x23385f=_0x2ff230[_0xcc5dd3+0x1];_0x2ff230[_0xcc5dd3+0x1]=_0x2ff230[_0xcc5dd3+0x3],_0x2ff230[_0xcc5dd3+0x3]=_0x23385f;},'_doCryptBlock':function(_0x38bb07,_0x478545,_0x36ab71,_0x219a41,_0x1635fb,_0x148023,_0x1d36f5,_0x52305b){var _0x474db4=_0x21a863;for(var _0x438c4d=this[_0x474db4(0x39f)],_0x5ddc77=_0x38bb07[_0x478545]^_0x36ab71[0x0],_0x27277c=_0x38bb07[_0x478545+0x1]^_0x36ab71[0x1],_0x489987=_0x38bb07[_0x478545+0x2]^_0x36ab71[0x2],_0x311b7b=_0x38bb07[_0x478545+0x3]^_0x36ab71[0x3],_0x183d2f=0x4,_0x55d7c4=0x1;_0x55d7c4<_0x438c4d;_0x55d7c4++){var _0x75422=_0x219a41[_0x5ddc77>>>0x18]^_0x1635fb[_0x27277c>>>0x10&0xff]^_0x148023[_0x489987>>>0x8&0xff]^_0x1d36f5[_0x311b7b&0xff]^_0x36ab71[_0x183d2f++],_0xb18157=_0x219a41[_0x27277c>>>0x18]^_0x1635fb[_0x489987>>>0x10&0xff]^_0x148023[_0x311b7b>>>0x8&0xff]^_0x1d36f5[_0x5ddc77&0xff]^_0x36ab71[_0x183d2f++],_0x2439a3=_0x219a41[_0x489987>>>0x18]^_0x1635fb[_0x311b7b>>>0x10&0xff]^_0x148023[_0x5ddc77>>>0x8&0xff]^_0x1d36f5[_0x27277c&0xff]^_0x36ab71[_0x183d2f++],_0x150a6e=_0x219a41[_0x311b7b>>>0x18]^_0x1635fb[_0x5ddc77>>>0x10&0xff]^_0x148023[_0x27277c>>>0x8&0xff]^_0x1d36f5[_0x489987&0xff]^_0x36ab71[_0x183d2f++];_0x5ddc77=_0x75422,_0x27277c=_0xb18157,_0x489987=_0x2439a3,_0x311b7b=_0x150a6e;}var _0x75422=(_0x52305b[_0x5ddc77>>>0x18]<<0x18|_0x52305b[_0x27277c>>>0x10&0xff]<<0x10|_0x52305b[_0x489987>>>0x8&0xff]<<0x8|_0x52305b[_0x311b7b&0xff])^_0x36ab71[_0x183d2f++],_0xb18157=(_0x52305b[_0x27277c>>>0x18]<<0x18|_0x52305b[_0x489987>>>0x10&0xff]<<0x10|_0x52305b[_0x311b7b>>>0x8&0xff]<<0x8|_0x52305b[_0x5ddc77&0xff])^_0x36ab71[_0x183d2f++],_0x2439a3=(_0x52305b[_0x489987>>>0x18]<<0x18|_0x52305b[_0x311b7b>>>0x10&0xff]<<0x10|_0x52305b[_0x5ddc77>>>0x8&0xff]<<0x8|_0x52305b[_0x27277c&0xff])^_0x36ab71[_0x183d2f++],_0x150a6e=(_0x52305b[_0x311b7b>>>0x18]<<0x18|_0x52305b[_0x5ddc77>>>0x10&0xff]<<0x10|_0x52305b[_0x27277c>>>0x8&0xff]<<0x8|_0x52305b[_0x489987&0xff])^_0x36ab71[_0x183d2f++];_0x38bb07[_0x478545]=_0x75422,_0x38bb07[_0x478545+0x1]=_0xb18157,_0x38bb07[_0x478545+0x2]=_0x2439a3,_0x38bb07[_0x478545+0x3]=_0x150a6e;},'keySize':0x100/0x20});_0x5c8ff6[_0x21a863(0x33c)]=_0x204c58[_0x21a863(0x4ce)](_0xa780a7);}()),_0x19933b[_0xaa88ee(0x33c)];}));}(Ie)),Ie['exports'];}var Mi=Li();const wi=de(Mi);var xi=Ct();const it=de(xi);var Oe={'exports':{}},ki=Oe['exports'],nt;function $i(){return nt||(nt=0x1,function(_0x1e6ead,_0x220073){(function(_0x3996f1,_0x4672e7){_0x1e6ead['exports']=_0x4672e7(Z());}(ki,function(_0x16eac8){var _0x1aaa64=_0x223c;return _0x16eac8[_0x1aaa64(0x3c6)][_0x1aaa64(0x326)];}));}(Oe)),Oe['exports'];}var Hi=$i();const ji=de(Hi);var be={'exports':{}},Bi=be[_0x2f1e4f(0x3e1)],st;function Fi(){var _0x735de=_0x2f1e4f;return st||(st=0x1,function(_0x53efc0,_0x14669b){(function(_0x5babb4,_0xf446b3){var _0x5576e8=_0x223c;_0x53efc0[_0x5576e8(0x3e1)]=_0xf446b3(Z());}(Bi,function(_0x256e3a){var _0x231f1d=_0x223c;return(function(){var _0x2226af=_0x223c;if(typeof ArrayBuffer==_0x2226af(0x461)){var _0x231c77=_0x256e3a,_0x4da602=_0x231c77[_0x2226af(0x19e)],_0x4c07e6=_0x4da602['WordArray'],_0x359169=_0x4c07e6[_0x2226af(0x477)],_0x5e7e2d=_0x4c07e6[_0x2226af(0x477)]=function(_0x41080e){var _0x527ab5=_0x2226af;if(_0x41080e instanceof ArrayBuffer&&(_0x41080e=new Uint8Array(_0x41080e)),(_0x41080e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x41080e instanceof Uint8ClampedArray||_0x41080e instanceof Int16Array||_0x41080e instanceof Uint16Array||_0x41080e instanceof Int32Array||_0x41080e instanceof Uint32Array||_0x41080e instanceof Float32Array||_0x41080e instanceof Float64Array)&&(_0x41080e=new Uint8Array(_0x41080e[_0x527ab5(0x1f2)],_0x41080e[_0x527ab5(0x24b)],_0x41080e[_0x527ab5(0x3a7)])),_0x41080e instanceof Uint8Array){for(var _0x541a17=_0x41080e[_0x527ab5(0x3a7)],_0x2641aa=[],_0x4a58c5=0x0;_0x4a58c5<_0x541a17;_0x4a58c5++)_0x2641aa[_0x4a58c5>>>0x2]|=_0x41080e[_0x4a58c5]<<0x18-_0x4a58c5%0x4*0x8;_0x359169[_0x527ab5(0x47a)](this,_0x2641aa,_0x541a17);}else _0x359169[_0x527ab5(0x415)](this,arguments);};_0x5e7e2d[_0x2226af(0x232)]=_0x4c07e6;}}()),_0x256e3a[_0x231f1d(0x19e)][_0x231f1d(0x39a)];}));}(be)),be[_0x735de(0x3e1)];}var Vi=Fi();function _0x2f05(){var _0x1c329a=['USER_IS_ANONYMOUS','registerHTTPInterceptor','Cipher','_substituteRedoStack','createSocket','OPTIONAL','session.room-not-exists','subject','REDEMPTION_CODE_HAS_BEEN_CREATED','shouldCloseConn','listCollaborators','shareReplay','univer-pro.collaboration-client.network-condition.service','_createHmacHelper','SetSelectionsOperation','AES','updateCollaborator','PERMISSION_REJ','ILogService','AWAITING','JOIN_ROOM_PERMISSION_DENIED','_redoStacks','pauseCollaboration','UPDATE_CURSOR','createIdentifier','UNAUTHENTICATED','serializeCombRequest','reset','YUUMI_SUBSCRIPTION_NOT_FOUND','_getCtorByUniverType','/object/','PAYMENT_CHANNEL_NOT_SUPPORT','_socketMessageSubscription','_entityInit$','getUnitType','subscribe','_members','next','csAckEvent','_onRemoteRejected','csShouldRetryEvent','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','origin','HELLO','SNAPSHOT_URL_KEY','roles','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_updateLocalCache','ceil','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SHA1','TOO_MANY_REQUESTS','getTypeOfUnitAdded$','loadDoc','_initUnitPermissionChange','_collaborationPaused','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','key','textRanges','POST','HTTPService','socket\x20open.','ClipsheetFragments','PSEUDO_FETCH_MISSING_RESULT','_handlerCallback','pad','ENTITLE_CAN_NOT_BUY_LOWER_OTP','CommandType','toString','interceptor','\x20to\x20','take','INVALID_ARGUMENT','UNIVER_DOC','Hasher','INetworkConditionService','_getAPIPrefix','APPLY_DUPLICATED','socketService','online$','enableOfflineEditing','delete','iterations','patch','salt','awaitingChangeset','[FetchMissState]','infoRsp','PENDING','_isPermissionRej','BehaviorSubject','SUBMIT_CHANGESET_TIMEOUT','get','_permissionService','RECV','REDEMPTION_USER_REDEEM_TIMES_EXCEED','symbol','USERS_LEAVE','LIVESHARE_NEW_HOST','reject','_syncEditingCollabCursor','dispose$','m2Prime','SNAPSHOT_HAS_BEEN_REMOVED','max','/universer-api/uniscript','RETRY_CONNECTING_MAX_COUNT_KEY','REDEMPTION_CODE_INACTIVE','CHANGESET_REVISION_CONFILICT','WordArray','mergeOverrideWithDependencies','getTime','getConfig','toggleOnline','_nRounds','UNKNOWN_CMD','getActiveSheet','WorkbookEditablePermission','onRemoteAck','_process','_memberService','reqId','byteLength','merge','_changesetSessionId','uniscriptRunEvent','HEARTBEAT','unitId\x20is\x20not\x20found','requestParams','_tryReconnect','WECHAT_HAS_BEEN_BOUND','roomInfos','_doProcessBlock','x-univer-host','JOIN_ROOM_FAILED','updatePermissionPoint','_entities','/universer-api/oidc/authpage','_transformStack','/universer-api/user/session-ticket','fetchMissingChangesets','size','joinEvent','then','firstValueFrom','FAIL','/fetchmissing?from=','sendChangesetTimeout','/rev/','transformUndoRedo','error','map','/-/object/-/batch_allowed','enc','Plugin','execute','SheetCollaborationEntity','_change$','url','save\x20fail\x20reason\x20is\x20','onCommentUpdate','name','fromCollab','_getSignURL','set','_getUndoStack','[OfflineState]:\x20received\x20acknowledgement.','_candidateSocket','open$','_commentUpdate$','_httpService','routeKey','REDEMPTION_USER_NOT_ELIGIBLE','_transformRemoteChangesetByIMECache','_emitMembers','_doReset','IAuthzIoService','onSyncEditingCollabCursor','COMPRESS_MUTATION_APPLY','_init','exports','_shouldReportTelemetry','_updateState','compute','/role','NO_OTHER_CLIENTS_EDITING','FETCH_MISS','mode','ISocketService','src','_prevBlock','FetchingMissState','UNIVER_UNKNOWN','_handler','_initMergeInterceptor','message$','_append','ws://127.0.0.1:8000/universer-api/comb/connect','onStateChange','getImage','readyForCollab','words','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','capture','disableLocalCache','/collaborator','getMemberID','_clearLocalCache','offline','conflict','[SyncedState]:\x20received\x20acknowledgement.','padding','CollaborationSession','AUTHORIZE_CODE_ILLEGAL','resolve','downloadEndpointUrl','compose','3kIsoWr','change$','Inject','catch','_onOffline','JOIN_ROOM_FULL','Error\x20on\x20receiving\x20event','_sendHeartbeatTimer','Hex','ERROR_IMAGE_TYPE','_retryCount','_sheetTransformSelectionsService','body','&to=','ciphertext','apply','onlyLocal','YUUMI_CONNECTOR_URL_NOT_FOUND','collaboration-client.config','_clearRedo','getUnitId','GLOBAL_ROOMS_CNT_EXCEEDS','CURRENT_STATUS_CANNOT_OPERATE','_onConnectionFailed','listRoles','395322KLybta','ISnapshotServerService','__esModule','default','INGEST','rev','?size=','_initDependencies','LIVESHARE_TERMINATE','CollaborativeUndoRedoService','string','SheetTransformSelectionsService','transformMutationsWithChangeset','ivSize','loadUnitOfRevision','/universer-api/comb','loadOfflineData','BufferedBlockAlgorithm','_transformRemoteChangesetByStateCache','APPLY_REJECT','MentionIoHttpService','baseRev','_state','_acknowledgedAwaitingChangeset','failed\x20to\x20apply\x20missed\x20changesets!','_localCacheService','_userManagerService','unknown','/block/','HEARTBEAT_TIMEOUT_KEY','authzUrl','_onFetchMissResult','_removeRoom','ENSURE_SNAPSHOT_EXECUTION','_keyPriorReset','_transitionLocked','_transformService','_initRequestHeader','splice','_onRemoteACK','ConflictState','HTTPRequest','PERMISSION_DENIED','takeUntil','1732530jotFpY','pending','UnitEmbedded','resourceIDs','generateRandomId','_status$','_listenToNetworkCondition','Subject','ENTITLE_CHAT_LIMIT_EXCEED','session.room-cnt-exceeds','_nDataBytes','defineProperty','[CollaborationSession]','_parse','append','_commentService','_pendingMutations','transformSelections','JOIN_ROOM_NOT_EXISTS','range','copyFileMeta','readInt32LE','function','getLatestCsReqIdBySid','CollaborationSocketService','OpenSSL','session','refreshPermission','ERROR_AGAIN','_clearTimeoutTimer','_schedule','fetchMiss','saveImage','_singleActiveUnitService','_collaborationSessionService','userID','UniverCollaborationClientPlugin','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_onConflict','status$','SnapshotServerOverHTTPService','CHANGESET_SHOULD_RETRY','_undoRedoService','session.join-failed','init','LIVESHARE_OPERATION','LEAVE','call','_createHandler','INTERNAL_ERROR','YUUMI_URL_COL_OUT_OF_RANGE','Undefined','close','CHANGESET_ACK','delay','_onRemoteRetry','CollaborationEntity','_revisionService','_hasher','UNDEFINED','toggleOffline','extend','newCsEvent','HMAC','debug','concat','NOT_FOUND','AwaitingWithPendingState','has','AwaitingState','SUCCUSS','APPLY_REVISION_CONFILICT','override','closeSession','onTransformSelections','getSnapshotAPIPath','COMPLETION_FINISHED','YUUMI_ASYNCIO_CANCELLED','min','requireSession','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','JSONX','USERS_ENTER','code','IPermissionService','LOCAL_CACHE_INTERVAL','actions','random','put','getLocalCacheKey','SNAPSHOT_INVALID_SNAPSHOT','_onUserJoin','_getCurrentRevision','_queuedRemoteChangesets','onTransformRemoteChangesetByStateCache','[CollaborationSessionService]:\x20socket\x20error','/universer-api/file/{fileID}/sign-url','complete','SOCKET_FAILED_RETRY','transformChangesets','Encryptor','socket$','DEFAULT_WS_SESSION_TICKET_URL','parse','UniverLicensePlugin','commentUpdate$','\x0aCurrent:\x20','_onLocalMutation','_replayCachedMutations','OTHER_CLIENT_EDITING','getGlobalObject','_disableEditing','permissionRejEvent','processBlock','updatePermissionObjEvent','Tools','UnitStatus','result','MSG_FOR_ERROR','textEncoder','decryptBlock','UPDATE_PERMISSION_OBJ','CollaborationUIEventService','startsWith','_onMessage','isTransformMutationsWithChangesetSuccess','onRemoteRetry','RxDisposable','UNIVER_PROJECT','[PendingState]:\x20received\x20acknowledgement.','univer-pro.collaboration-client.single-active-unit-service','_createHelper','Failed\x20to\x20update\x20permission\x20point','find','_roomCreated$','/universer-api/stream/file/upload','loginUrlKey','RichTextEditingMutation','LocalUndoRedoService','_waitForHeartbeatResponse','_event$','registerDependencies','changesets','getCurrentRevOfUnit','[PendingState]:\x20received\x20rejection.','getOwnPropertyDescriptor','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','session.room-full','c2Prime','JOINING','type','unsubscribe','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','crypto','join','SUBMIT_CHANGESET','_xformMode','_throwTelemetryCollaborationNewChangeset','_iv','6603992PzZPQQ','APPLY_NON_SEQUENTIAL_REVISION','RevisionService','charAt','Quantity','HEARTBEAT_INTERVAL','PasswordBasedCipher','snapshot','YUUMI_NO_CUBOID_FOR_QUESTION','hostname','reconnect','getImageSourceCache','error$','Disposable','HmacMD5','Could\x20not\x20dynamically\x20require\x20\x22','createInstance','_undoStacks','setCurrentUser','StreamCipher','_roomMembers','method','kdf','indexOf','_rescheduleHeartbeat','LICENSE_DISTRO_REJECTED','add','saveSnapshot','\x20-\x20','CHANGESET_REJ','\x20in\x20_schedule.','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','editing\x20status\x20changed\x20to','eventID','headers','updateSnapshot','_configService','updateMember','getFocusedUnit','_createInitialStateImpl','InsertSheetMutation','send','updateOfflineData','_minBufferSize','[CollaborationSessionService]','ENTITLE_USE_COUPON_NOT_1ST_TRADE','dispose','AWAITING_WITH_PENDING','isInternalEditorID','_socket','__creator','_injector','_doCryptBlock','ImageSourceType','concatMap','clamp','collaboratorID','FETCH_MISSING','/new_changes','emitEvent','resend','NOT_COLLAB','CollaborationEvent','memberID','OTHER_CLIENTS_EDITING','INVITE_CODE_HAS_BEEN_UES','_tryEnsureSocket','EmptyMutationInfo','unpad','waitForRoom$','getRandomValues','LICENSE_MAX_UNITS_EXCEEDED','format','__splitChunk__','lib','_transformStateCache','IContextService','data','_getUploadFileURL','executeCommand','COMMENT_UPDATE','title','image/png','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_toggleOnline','startTime','onRemoteRej','HttpImport','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','keySize','_unitInfo$','collaMsg','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_transformSelections','push','_resendWithTimeout','pluginName','SheetPermissionInitController','_executeRemoteChangeset','disposeWithMe','hasher','getDeserializedSheetBlock','/allowed','_fetchMissChangesets','ICommandService','AuthzIoHttpService','getCurrentSelections','_ENC_XFORM_MODE','SOCKET_FAILED','HttpExport','_config','onMissedChangesetFetched','Malformed\x20UTF-8\x20data','parseChangesetToProtocol','loadUnit','UnitSnapshot','1253624lIhjJq','status','_socket$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','BlockCipher','parseProtocolChangeset','_invKeySchedule','SerializableCipher','_resendTimer','_exhaustRemoteChangesetQueue','_networkConditionService','UNIVER_COLLABORATION_CLIENT_PLUGIN','blockSize','BASE64','_key','_mode','DEFAULT_FILE_NAME','objectID','href','UNIVER_SHEET','PERSON','stringify','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_snapshotService','ALREADY_EXISTS','[CollaborationEntity]','state','USER_NOT_INVITED_CODE','YUUMI_RATE_OVER_LIMIT','APPLY_PERMISSION_DENIED','HmacSHA1','selections','_doCreateSocket','_clearHeartbeatTimer','LOGIN_TOKEN_PROCESSING_FAILED','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','auth.needGotoLoginAlert','includes','filter','snapshotServerUrl','_sessionStatus$','telemetry\x20info\x20is\x20not\x20initialized','buffer','LICENSE_IMPORT_SIZE_EXCEEDED','_getLoginPath','_maxTotalRetryTimeout','1083574OhkydQ','forEach','_collaborationUIEventService','now','onTransformIME','collaboration-client.local-cache-service','slice','People','_onRecvEvent','NoPadding','getAllMembers','REDEMPTION_INVALID_CODE','DEFAULT_COLLAB_WEB_SOCKET_URL','[DataLoaderService]','unitId','LICENSE_EXPORT_SIZE_EXCEEDED','UNISCRIPT_RUN','_createSocket','onMutationExecutedForCollab','_members$','_unitID','PendingState','hasOwnProperty','getUnitStatus$','USER_NOT_FOUND','createCollaborator','SYNCED','_commandService','initWorkbookPermissionChange','sequenceExecute','_showConflictNotification','addHandlerCallback','_transformUndoredo','_cipher','INVALID_INVITE_CODE','addImageSourceCache','randomBytes','enableAuthServer','repeat','getCollabEntity','YUUMI_TABLE_NOT_FOUND_IN_UNIT','list','ENTITLE_DUP_SUBSCRIPTION','_getDownloadEndpointURL','pipe','9qtjgsr','UNRECOGNIZED','clear','getUnitOnRev','_instanceService','uuidv4','_toggleOffline','getTypeOfUnitDisposed$','onRemoteChangeset','_clearScheduledTask','fetch_missing','_initCloseConn','createDecryptor','_univerInstanceService','_changesetReqId','prototype','_sessions','state$','_compressMutationService','setConfig','length','Optional','1360485NOoshG','CollaborationImageIoService','replace','stopTime','JOIN','_startTelemetryCollaborationNewChangeset','_onRemoteChangeset','MergeInterceptorFactory','members','isTransformChangesetsSuccess','getCollabEntity$','DataLoaderService','/resources','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','transformStack\x20failed!','encode','reduce','_collaborationTimeoutTimer','byteOffset','getInterceptPoints','connection\x20error','algo','Base64','_telemetryInfo','members$','?url=','asObservable','$super','ISingleActiveUnitService','sin','isTransformMutationsWithChangesetFailure','MD5','action','YUUMI_UNABLE_LOAD_URL','close$','_submitChangeset','SHOULD_CLOSE_CONN','REDEMPTION_CODE_NOT_STARTED','createEncryptor','getCurrentUser','unitID','UniverCollaborationPlugin','_logService','_sendHeartbeat','csRejEvent','DependentOn','[UniverCollaborationClientPlugin]','3288411tOLKwY','collabSubmitChangesetUrl','Univer','_onJoinRoomEvent','LocaleService','encrypt','_hash','_DEC_XFORM_MODE','_reverseMap','HEARTBEAT_TIMEOUT','onMissingChangesets','DATA_SOURCE_TOO_LARGE','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','CONNECTOR_DATA_TOO_LARGE','confirm','_unlockTransition','deepClone','revision','LIVESHARE_REQUEST_HOST','_awaitingChangeset','_state$','finalize','appendMutation','CollaborationUIEventId','_applyRemoteChangeset','PY_RUNTIME_SCRIPT_ERROR','ICollaborationSocketService','CLOSE_ROOM','post','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_checkMissing','_resendTimeout','saveChangeset','decrypt','MOBILE_VERIFY_CODE_MISMATCH','_createInitialState','_sender','MemberService','mixIn','DocCollaborationEntity','EMAIL_HAS_BEEN_BOUND','sigBytes','localeService','_decreaseWaiting','OFFLINE','BlockCipherMode','enableCollaboration','YUUMI_ALL_TABLES_IS_INVALID','_collabSessionService','objects','ERROR_IMAGE','SyncedState','sid','_timeoutTimer','_getSendChangesetTimeout','getMember','getWorkbookSelections','/universer-api/snapshot/','UserProfileImg','RETRY_CONNECTING_MAX_COUNT','/unit/','every','_remoteChangesetQueue','_snapshotServerService','YUUMI_AI_RUN_FAILED','create','COMPRESS_MUTATION_SEND','_getAPIPrefixPath','ITransformService','cfg','Injector','withCredentials','INVITE_CODE_ALREADY_BOUND','IImageIoService','_type','CipherParams','_socketReady','collaborators','sessionStatus$','[CollaborationUndoRedoService]','_substituteUndoStack','_scheduleCollaborationTimeoutTimer','mapDocumentTypeToUniverType','onSendChangeset','socket\x20close','image/jpeg','event$','clone','session.room-permission-denied','_imageSourceCache','workbook','/universer-api/authz','formatter','OfflineState','onStarting','awaiting','_onConnectionOpen','ENTITLE_COUPON_USED_UP','CommentService','__Key__','ImageUploadStatusType','IUndoRedoService','Pkcs7','LOCAL_CACHE_INTERVAL_KEY','ENTITLE_NEED_BILLING_ADDRESS','UniverInstanceType','IMentionIOService','params','cmd','_socketService','update','awaiting_with_pending','_lockTransition','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_oKey','MentionType','mutations','enableSingleActiveInstanceLock','EvpKDF','submit\x20changeset\x20error!','_telemetryService','objectType','UNIVER_SLIDE','FileId','toDisposable','reverse','univer-pro.collaboration-client-socket-service','_sendingTimer','/object','charCodeAt','UNKNOWN_CODE','entityInit$','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_replaceFileID','[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.','INVITE_CODE_REQUIRED','IConfigService','isArray','_waitCount','CollaborationController','ENTITLE_COUPON_EXPIRED','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','Base','_clearUndo','isPermissionRej','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','synced','touchDependencies','findIndex','_stopTelemetryCollaborationNewChangeset','_eventService','_getRedoStack','location','_data','getValue','UUID','Workbook','REDEMPTION_CODE_FULLY_REDEEMED','Module','getSheetBlock','_clearRetryConnectingTimer','Latin1','_onUserLeave','getRoom','_retryConnectingTimer','_map','ITelemetryService','fetchThroughInterceptors','c1Prime','liveShareOperation','objectActions','IDLE','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','floor','SnapshotService','IUniverInstanceService','setShowComponents','_registerDependencies','localCacheService','_incrementRevisionNumber','ONLINE','onTransformRemoteChangesetByIMECache','originalMeta','_HTTPService','LIVESHARE_FETCH_OPERATIONS','from','CollaborationSessionService','removeMember','_scheduleCompleteTimestamp','Utf8','liveShareNewHost','MUTATION','duration','Decryptor','resolveWithBasePath','onTransformState'];_0x2f05=function(){return _0x1c329a;};return _0x2f05();}const Wi=de(Vi);var Re={'exports':{}},Gi=Re[_0x2f1e4f(0x3e1)],rt;function Yi(){var _0x534795=_0x2f1e4f;return rt||(rt=0x1,function(_0x1456cf,_0x1d1d21){(function(_0x19720e,_0x2b1500,_0x1a04df){var _0x3e0b13=_0x223c;_0x1456cf[_0x3e0b13(0x3e1)]=_0x2b1500(Z(),bt());}(Gi,function(_0x12d16a){var _0x1cc711=_0x223c;return _0x12d16a[_0x1cc711(0x36e)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x12d16a[_0x1cc711(0x36e)][_0x1cc711(0x1ff)];}));}(Re)),Re[_0x534795(0x3e1)];}var Ki=Yi();const qi=de(Ki);function zi(_0x2cfece,_0x33c73a){var _0x3d8b8a=_0x2f1e4f;const _0x375454=_0x33c73a-_0x2cfece[_0x3d8b8a(0x237)]%_0x33c73a,_0xde69e9=String['fromCharCode'](_0x375454)[_0x3d8b8a(0x21c)](_0x375454);return _0x2cfece+_0xde69e9;}function Xi(_0x53945f,_0x490a2a){var _0x838e4f=_0x2f1e4f;const _0x34ce34=Wi[_0x838e4f(0x4a2)](0x10),_0x26c7d5=zi(_0x53945f,0x10),_0x3f1742=wi[_0x838e4f(0x26d)](ji[_0x838e4f(0x4b2)](_0x26c7d5),it[_0x838e4f(0x4b2)](_0x490a2a),{'iv':_0x34ce34,'padding':qi});return _0x34ce34[_0x838e4f(0x48c)](_0x3f1742['ciphertext'])[_0x838e4f(0x371)](it);}function Ji(){var _0x5e029d=_0x2f1e4f;const _0x5c661c=_t[_0x5e029d(0x4b9)]()[_0x5e029d(0x2cb)];if(typeof window<'u'&&typeof window[_0x5e029d(0x300)]<'u'&&_0x5c661c){const _0x3b445e={'time':Math[_0x5e029d(0x316)](Date[_0x5e029d(0x1f9)]()/0x3e8),'domain':location[_0x5e029d(0x4f3)]};return Xi(JSON['stringify'](_0x3b445e),_0x5c661c);}}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x1a967c,_0x1c9105,_0x3d5d33,_0x55d19b)=>{for(var _0x3c1ac6=_0x55d19b>0x1?void 0x0:_0x55d19b?Zi(_0x1c9105,_0x3d5d33):_0x1c9105,_0x253266=_0x1a967c['length']-0x1,_0x36f812;_0x253266>=0x0;_0x253266--)(_0x36f812=_0x1a967c[_0x253266])&&(_0x3c1ac6=_0x36f812(_0x3c1ac6)||_0x3c1ac6);return _0x3c1ac6;},en=(_0x47718f,_0x5a587d)=>(_0x43dae8,_0x593f61)=>_0x5a587d(_0x43dae8,_0x593f61,_0x47718f);let De=class{constructor(_0x7df9d){var _0x8ea0d3=_0x2f1e4f;this[_0x8ea0d3(0x3d7)]=_0x7df9d,this['_initRequestHeader']();}[_0x2f1e4f(0x444)](){var _0x2058eb=_0x2f1e4f;this[_0x2058eb(0x3d7)][_0x2058eb(0x32e)]({'interceptor':(_0x34538d,_0x584b80)=>{var _0xea1168=_0x2058eb;const _0x4bc4d1=_0x34538d[_0xea1168(0x50c)],_0x2612f2=Ji();return _0x2612f2&&_0x4bc4d1[_0xea1168(0x3d1)](_0xea1168(0x3b2),_0x2612f2),_0x584b80(_0x34538d);}});}};De=Qi([en(0x0,o[_0x2f1e4f(0x408)](K[_0x2f1e4f(0x369)]))],De);var tn=Object[_0x2f1e4f(0x4dc)],nn=(_0x352b73,_0x25c9af,_0x4dd6a2,_0x16d4e7)=>{var _0x1d3ef1=_0x2f1e4f;for(var _0x66e227=_0x16d4e7>0x1?void 0x0:_0x16d4e7?tn(_0x25c9af,_0x4dd6a2):_0x25c9af,_0x1ff36e=_0x352b73[_0x1d3ef1(0x237)]-0x1,_0x58bac1;_0x1ff36e>=0x0;_0x1ff36e--)(_0x58bac1=_0x352b73[_0x1ff36e])&&(_0x66e227=_0x58bac1(_0x66e227)||_0x66e227);return _0x66e227;},Le=(_0x13285c,_0x2ee67b)=>(_0x5c648f,_0x56040a)=>_0x2ee67b(_0x5c648f,_0x56040a,_0x13285c);exports[_0x2f1e4f(0x244)]=class extends o[_0x2f1e4f(0x4ca)]{constructor(_0x5a4110,_0x2400e9,_0xda8e07){var _0x4f481e=_0x2f1e4f;super(),A(this,_0x4f481e(0x1ae),new j[(_0x4f481e(0x387))](null)),A(this,'unitInfo$',this[_0x4f481e(0x1ae)][_0x4f481e(0x253)]()),(this[_0x4f481e(0x263)]=_0x5a4110,this[_0x4f481e(0x1df)]=_0x2400e9,this[_0x4f481e(0x438)]=_0xda8e07);}async[_0x2f1e4f(0x42d)](_0x264c0c,_0x4604d8,_0x398453){var _0x124a7f=_0x2f1e4f;this[_0x124a7f(0x1ae)][_0x124a7f(0x352)]({'unitId':_0x264c0c,'type':_0x4604d8});let _0x3242b7=null;switch(_0x4604d8){case X[_0x124a7f(0x1db)]:{_0x3242b7=await this[_0x124a7f(0x1df)]['loadSheet'](_0x264c0c,_0x398453);break;}case X[_0x124a7f(0x376)]:{_0x3242b7=await this['_snapshotService'][_0x124a7f(0x362)](_0x264c0c,_0x398453);break;}default:{this['_logService'][_0x124a7f(0x3c3)]('[DataLoaderService]',_0x124a7f(0x49b));break;}}return _0x3242b7;}async[_0x2f1e4f(0x1c6)](_0x4b2618,_0x1cdf04,_0x228776){var _0x4b22f2=_0x2f1e4f,_0x2abe9b;this[_0x4b22f2(0x1ae)][_0x4b22f2(0x352)]({'unitId':_0x4b2618,'type':_0x1cdf04,'subUnitId':_0x228776});let _0x143dab=0x0;const _0x3f2258=await((_0x2abe9b=this[_0x4b22f2(0x438)])==null?void 0x0:_0x2abe9b[_0x4b22f2(0x42f)](_0x4b2618));return _0x3f2258&&(_0x3f2258[_0x4b22f2(0x382)]||_0x3f2258[_0x4b22f2(0x2dc)][_0x4b22f2(0x237)]!==0x0)&&(_0x143dab=_0x3f2258[_0x4b22f2(0x424)]),_0x143dab===0x0&&this[_0x4b22f2(0x263)][_0x4b22f2(0x48b)](_0x4b22f2(0x203),_0x4b22f2(0x1ac)),this[_0x4b22f2(0x42d)](_0x4b2618,_0x1cdf04,_0x143dab);}},exports[_0x2f1e4f(0x244)]=nn([Le(0x0,o[_0x2f1e4f(0x33f)]),Le(0x1,o['Inject'](E[_0x2f1e4f(0x317)])),Le(0x2,o[_0x2f1e4f(0x238)](q))],exports[_0x2f1e4f(0x244)]);var sn=Object[_0x2f1e4f(0x4dc)],rn=(_0x1f1696,_0x2f5258,_0x4af12a,_0x237f42)=>{var _0x42588e=_0x2f1e4f;for(var _0x1afcb9=_0x237f42>0x1?void 0x0:_0x237f42?sn(_0x2f5258,_0x4af12a):_0x2f5258,_0x494712=_0x1f1696[_0x42588e(0x237)]-0x1,_0x2839ae;_0x494712>=0x0;_0x494712--)(_0x2839ae=_0x1f1696[_0x494712])&&(_0x1afcb9=_0x2839ae(_0x1afcb9)||_0x1afcb9);return _0x1afcb9;},Me=(_0x357c07,_0x782542)=>(_0x5f44f0,_0x422df8)=>_0x782542(_0x5f44f0,_0x422df8,_0x357c07);const an=[_0x2f1e4f(0x1a6),_0x2f1e4f(0x2bd),'image/jpg','image/gif','image/bmp'],on=0x5*0x400*0x400,cn=_0x2f1e4f(0x4d2),_n=_0x2f1e4f(0x4ab);exports[_0x2f1e4f(0x23a)]=class{constructor(_0x103c7d,_0x4d9949,_0x2e61d7){var _0x225d1b=_0x2f1e4f;A(this,_0x225d1b(0x2f2),0x0),A(this,'_change$',new j[(_0x225d1b(0x452))]()),A(this,_0x225d1b(0x407),this[_0x225d1b(0x3ca)]),A(this,_0x225d1b(0x2c1),new Map()),(this['_httpService']=_0x103c7d,this[_0x225d1b(0x50e)]=_0x4d9949,this[_0x225d1b(0x230)]=_0x2e61d7);}['setWaitCount'](_0x41d34b){var _0x3b4f0a=_0x2f1e4f;this[_0x3b4f0a(0x2f2)]=_0x41d34b,this[_0x3b4f0a(0x3ca)][_0x3b4f0a(0x352)](_0x41d34b);}[_0x2f1e4f(0x4f5)](_0x5dc1f0,_0x243908){var _0x4a62ec=_0x2f1e4f;if(_0x243908===z['ImageSourceType'][_0x4a62ec(0x1d5)]){const _0x321e02=new Image();return _0x321e02[_0x4a62ec(0x3ea)]=_0x5dc1f0,_0x321e02;}return this[_0x4a62ec(0x2c1)][_0x4a62ec(0x389)](_0x5dc1f0);}[_0x2f1e4f(0x219)](_0x265ceb,_0x1b5162,_0x385ea1){var _0x32617f=_0x2f1e4f;_0x1b5162===z[_0x32617f(0x189)]['BASE64']||_0x385ea1==null||this['_imageSourceCache'][_0x32617f(0x3d1)](_0x265ceb,_0x385ea1);}async[_0x2f1e4f(0x3f4)](_0x1fc297){var _0x4a167c=_0x2f1e4f;try{const _0x31d7a6=this[_0x4a167c(0x2ed)](this[_0x4a167c(0x3d0)](),''+_0x1fc297),_0xbe51db=(await this[_0x4a167c(0x3d7)][_0x4a167c(0x389)](_0x31d7a6))['body'];if(_0xbe51db[_0x4a167c(0x3c3)]&&_0xbe51db[_0x4a167c(0x3c3)][_0x4a167c(0x49e)]===dt['OK']){const _0x630da2=o[_0x4a167c(0x32b)](_0xbe51db[_0x4a167c(0x3cb)],this[_0x4a167c(0x221)]());return Promise[_0x4a167c(0x403)](_0x630da2);}return Promise['reject'](_0xbe51db[_0x4a167c(0x3c3)]);}catch(_0x31a996){return Promise['reject'](_0x31a996);}}async[_0x2f1e4f(0x46b)](_0x44da46){var _0x49f6dd=_0x2f1e4f;let _0x574473='';if(!an[_0x49f6dd(0x1ed)](_0x44da46[_0x49f6dd(0x4e1)]))return this[_0x49f6dd(0x293)](),Promise[_0x49f6dd(0x390)](new Error(z[_0x49f6dd(0x2cc)][_0x49f6dd(0x40f)]));if(_0x44da46['size']>on)return this[_0x49f6dd(0x293)](),Promise['reject'](new Error(z['ImageUploadStatusType']['ERROR_EXCEED_SIZE']));try{const _0x4b150f=new FormData();_0x4b150f[_0x49f6dd(0x459)]('file',_0x44da46);const _0xd746e=this[_0x49f6dd(0x230)][_0x49f6dd(0x510)](),_0xa349bc=_0xd746e==null?void 0x0:_0xd746e[_0x49f6dd(0x41a)]();if(!_0xa349bc)throw new Error(_0x49f6dd(0x3ac));const _0x41910e=this[_0x49f6dd(0x1a2)]()+_0x49f6dd(0x425)+_0x44da46[_0x49f6dd(0x3ba)]['toString']()+'&source='+St[_0x49f6dd(0x44d)]+'&assign='+encodeURIComponent(_0xa349bc),_0x431d67={'body':_0x4b150f},_0x3cfdc4=(await this['_httpService'][_0x49f6dd(0x284)](_0x41910e,_0x431d67))['body'];if(typeof _0x3cfdc4[_0x49f6dd(0x2e3)]!='string')return this[_0x49f6dd(0x293)](),Promise['reject'](new Error(z[_0x49f6dd(0x2cc)][_0x49f6dd(0x29a)]));_0x574473=_0x3cfdc4[_0x49f6dd(0x2e3)];}catch{return this[_0x49f6dd(0x293)](),Promise[_0x49f6dd(0x390)](new Error(z[_0x49f6dd(0x2cc)][_0x49f6dd(0x29a)]));}return new Promise((_0x3a1151,_0xe0addf)=>{const _0x5cee71=new FileReader();_0x5cee71['readAsDataURL'](_0x44da46),_0x5cee71['onload']=_0x2c572f=>{var _0x46354f=_0x223c,_0x4403bb;const _0x5ef990=(_0x4403bb=_0x2c572f['target'])==null?void 0x0:_0x4403bb[_0x46354f(0x4c0)];if(_0x5ef990==null){this[_0x46354f(0x293)](),_0xe0addf(new Error(z['ImageUploadStatusType']['ERROR_IMAGE']));return;}const _0x60ce19=o[_0x46354f(0x44f)](0x6);_0x3a1151({'imageId':_0x60ce19,'imageSourceType':z[_0x46354f(0x189)][_0x46354f(0x303)],'source':_0x574473,'base64Cache':_0x5ef990,'status':z[_0x46354f(0x2cc)][_0x46354f(0x491)]}),this[_0x46354f(0x293)]();};});}['_getUploadFileURL'](){var _0xd17f17=_0x2f1e4f,_0x4708bd;const _0x2af0c8=this[_0xd17f17(0x50e)][_0xd17f17(0x39d)](Y);return(_0x4708bd=_0x2af0c8==null?void 0x0:_0x2af0c8['uploadFileServerUrl'])!=null?_0x4708bd:cn;}[_0x2f1e4f(0x3d0)](){var _0x502256=_0x2f1e4f,_0xd535c8;const _0x1866ba=this[_0x502256(0x50e)][_0x502256(0x39d)](Y);return(_0xd535c8=_0x1866ba==null?void 0x0:_0x1866ba['signUrlServerUrl'])!=null?_0xd535c8:_n;}[_0x2f1e4f(0x221)](){var _0x3d2bf7=_0x2f1e4f,_0x550b38;const _0x526e4a=this['_configService'][_0x3d2bf7(0x39d)](Y);return(_0x550b38=_0x526e4a==null?void 0x0:_0x526e4a[_0x3d2bf7(0x404)])!=null?_0x550b38:location[_0x3d2bf7(0x357)];}['_replaceFileID'](_0x56d317,_0x1d417a){var _0x3b5708=_0x2f1e4f;return _0x56d317[_0x3b5708(0x23b)]('{fileID}',_0x1d417a);}[_0x2f1e4f(0x293)](){var _0x2c9c33=_0x2f1e4f;this['_waitCount']-=0x1,this[_0x2c9c33(0x3ca)][_0x2c9c33(0x352)](this[_0x2c9c33(0x2f2)]);}},exports[_0x2f1e4f(0x23a)]=rn([Me(0x0,o['Inject'](K[_0x2f1e4f(0x369)])),Me(0x1,o[_0x2f1e4f(0x2f0)]),Me(0x2,o[_0x2f1e4f(0x408)](o['IUniverInstanceService']))],exports[_0x2f1e4f(0x23a)]);var hn=Object[_0x2f1e4f(0x4dc)],ln=(_0x5565c6,_0x5e4e33,_0x3f9efe,_0x20515f)=>{var _0x49f402=_0x2f1e4f;for(var _0x10e8e6=_0x20515f>0x1?void 0x0:_0x20515f?hn(_0x5e4e33,_0x3f9efe):_0x5e4e33,_0x429615=_0x5565c6[_0x49f402(0x237)]-0x1,_0x5c35e9;_0x429615>=0x0;_0x429615--)(_0x5c35e9=_0x5565c6[_0x429615])&&(_0x10e8e6=_0x5c35e9(_0x10e8e6)||_0x10e8e6);return _0x10e8e6;},at=(_0x557042,_0x1a8035)=>(_0x363613,_0x47404f)=>_0x1a8035(_0x363613,_0x47404f,_0x557042);const un=_0x2f1e4f(0x2c3);exports[_0x2f1e4f(0x433)]=class{constructor(_0x32c76a,_0x1f3a55){var _0x1aa2a0=_0x2f1e4f;this[_0x1aa2a0(0x50e)]=_0x32c76a,this[_0x1aa2a0(0x320)]=_0x1f3a55;}[_0x2f1e4f(0x2ab)](){var _0x2d47e8=_0x2f1e4f,_0x50df18;const _0xfe9021=this[_0x2d47e8(0x50e)]['getConfig'](Y);return(_0x50df18=_0xfe9021==null?void 0x0:_0xfe9021['authzUrl'])!=null?_0x50df18:un;}async[_0x2f1e4f(0x21f)](_0x2f70cb){var _0x18e017=_0x2f1e4f;const _0x455327=this[_0x18e017(0x2ab)]()+_0x18e017(0x3fa);return{'list':[{'title':_0x18e017(0x1fd),'mentions':(await this['_HTTPService'][_0x18e017(0x389)](_0x455327,{'params':{'objectID':_0x2f70cb[_0x18e017(0x204)],'unitID':_0x2f70cb[_0x18e017(0x204)]}}))[_0x18e017(0x412)][_0x18e017(0x2b5)]['map'](_0x3fde53=>({'objectId':_0x3fde53['id'],'name':_0x3fde53[_0x18e017(0x334)][_0x18e017(0x3ce)],'metadata':{'icon':_0x3fde53[_0x18e017(0x334)]['avatar']},'label':_0x3fde53[_0x18e017(0x334)][_0x18e017(0x3ce)],'objectType':o[_0x18e017(0x2db)][_0x18e017(0x1dc)]})),'metadata':{},'type':o[_0x18e017(0x2db)][_0x18e017(0x1dc)]}]};}},exports['MentionIoHttpService']=ln([at(0x0,o[_0x2f1e4f(0x408)](o[_0x2f1e4f(0x2f0)])),at(0x1,o[_0x2f1e4f(0x408)](K[_0x2f1e4f(0x369)]))],exports[_0x2f1e4f(0x433)]);var vn=Object[_0x2f1e4f(0x4dc)],dn=(_0x4f489e,_0x2d742d,_0x3d6d71,_0x1b8634)=>{var _0x1becb1=_0x2f1e4f;for(var _0x5b74f4=_0x1b8634>0x1?void 0x0:_0x1b8634?vn(_0x2d742d,_0x3d6d71):_0x2d742d,_0x37c0bc=_0x4f489e[_0x1becb1(0x237)]-0x1,_0xc8a849;_0x37c0bc>=0x0;_0x37c0bc--)(_0xc8a849=_0x4f489e[_0x37c0bc])&&(_0x5b74f4=_0xc8a849(_0x5b74f4)||_0x5b74f4);return _0x5b74f4;},le=(_0x4be04d,_0x33de5c)=>(_0x3fba31,_0x547062)=>_0x33de5c(_0x3fba31,_0x547062,_0x4be04d);let ye=class extends o[_0x2f1e4f(0x4ca)]{constructor(_0x56ad2,_0x104a08,_0x111037,_0x56f3cd,_0x228d46){var _0x5d7731=_0x2f1e4f;super(),this[_0x5d7731(0x187)]=_0x56ad2,this['_univerInstanceService']=_0x104a08,this['_permissionService']=_0x111037,this[_0x5d7731(0x46d)]=_0x56f3cd,this[_0x5d7731(0x1f8)]=_0x228d46,this[_0x5d7731(0x363)](),this[_0x5d7731(0x22e)]();}[_0x2f1e4f(0x22e)](){var _0x352f23=_0x2f1e4f;const _0x18f0a7=async _0x4c15a6=>{var _0x1734fc=_0x223c;(await this[_0x1734fc(0x46d)][_0x1734fc(0x49a)](_0x4c15a6))['event$'][_0x1734fc(0x222)](V['filter'](_0x242f55=>_0x242f55['eventID']===E['CollaborationEvent'][_0x1734fc(0x25d)]),V['takeUntil'](this[_0x1734fc(0x392)]))[_0x1734fc(0x350)](_0x2ae473=>{var _0x587b81=_0x1734fc;const _0x7afc59=_0x2ae473,{reason:_0x793096}=_0x7afc59[_0x587b81(0x1a1)];this['_collaborationUIEventService'][_0x587b81(0x18f)]({'id':J[_0x587b81(0x283)],'data':_0x793096}),this[_0x587b81(0x38a)][_0x587b81(0x3b4)](new Q[(_0x587b81(0x3a2))](_0x4c15a6)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x4c15a6);});};j['merge'](this[_0x352f23(0x230)][_0x352f23(0x361)](o['UniverInstanceType'][_0x352f23(0x1db)]),this[_0x352f23(0x230)][_0x352f23(0x361)](o[_0x352f23(0x2d1)]['UNIVER_DOC']))[_0x352f23(0x222)](V[_0x352f23(0x3c4)](_0x590b76=>_0x590b76[_0x352f23(0x41a)]()),V[_0x352f23(0x1ee)](_0x59b43d=>!o[_0x352f23(0x184)](_0x59b43d)),V[_0x352f23(0x44a)](this['dispose$']))[_0x352f23(0x350)](_0x1d7e04=>{_0x18f0a7(_0x1d7e04);});}['_initUnitPermissionChange'](){var _0x68ef80=_0x2f1e4f;const _0xb3c056=async _0x15c67d=>{var _0x406151=_0x223c;const _0x356715=await this['_collaborationSessionService'][_0x406151(0x49a)](_0x15c67d),_0x10d3c4=this['_injector'][_0x406151(0x389)](Q[_0x406151(0x1b5)]);_0x356715['event$'][_0x406151(0x222)](V[_0x406151(0x1ee)](_0x4ad876=>_0x4ad876['eventID']===E[_0x406151(0x192)][_0x406151(0x4c4)]),V[_0x406151(0x44a)](this[_0x406151(0x392)]))[_0x406151(0x350)](_0xc1c4bc=>{var _0x368de7=_0x406151;const _0x571715=_0xc1c4bc,{objectId:_0x2fbbe3}=_0x571715['data'];_0x2fbbe3===_0x15c67d?_0x10d3c4[_0x368de7(0x212)](_0x15c67d):_0x10d3c4[_0x368de7(0x466)](_0x15c67d,_0x2fbbe3);});};j[_0x68ef80(0x3a8)](this[_0x68ef80(0x230)][_0x68ef80(0x361)](o[_0x68ef80(0x2d1)][_0x68ef80(0x1db)]))[_0x68ef80(0x222)](V[_0x68ef80(0x3c4)](_0x4ebfe5=>_0x4ebfe5['getUnitId']()),V[_0x68ef80(0x1ee)](_0x280e77=>!o['isInternalEditorID'](_0x280e77)),V[_0x68ef80(0x44a)](this['dispose$']))['subscribe'](_0x13f9a5=>{_0xb3c056(_0x13f9a5);});}};ye=dn([le(0x0,o[_0x2f1e4f(0x408)](o[_0x2f1e4f(0x2ae)])),le(0x1,o[_0x2f1e4f(0x318)]),le(0x2,o[_0x2f1e4f(0x49f)]),le(0x3,o[_0x2f1e4f(0x408)](exports[_0x2f1e4f(0x323)])),le(0x4,o[_0x2f1e4f(0x408)](ee))],ye);var Sn=Object['getOwnPropertyDescriptor'],In=(_0x45623e,_0x3eb9ca,_0x475079,_0x334179)=>{var _0xb65d77=_0x2f1e4f;for(var _0x21558e=_0x334179>0x1?void 0x0:_0x334179?Sn(_0x3eb9ca,_0x475079):_0x3eb9ca,_0x173fd6=_0x45623e[_0xb65d77(0x237)]-0x1,_0x3a6458;_0x173fd6>=0x0;_0x173fd6--)(_0x3a6458=_0x45623e[_0x173fd6])&&(_0x21558e=_0x3a6458(_0x21558e)||_0x21558e);return _0x21558e;},ot=(_0x2a48da,_0x35f0f3)=>(_0x2b8af7,_0xfb917e)=>_0x35f0f3(_0x2b8af7,_0xfb917e,_0x2a48da);exports[_0x2f1e4f(0x473)]=class{constructor(_0xf80e10,_0x129f40){var _0x4ba8f4=_0x2f1e4f;this[_0x4ba8f4(0x50e)]=_0xf80e10,this[_0x4ba8f4(0x3d7)]=_0x129f40;}async[_0x2f1e4f(0x226)](_0xd9667e,_0x7f73c3){var _0x58e574=_0x2f1e4f,_0x301b1f;const {unitID:_0x5e3210,type:_0x4761e0,revision:_0xa92373=0x0}=_0x7f73c3,_0x3216e6=this[_0x58e574(0x496)]()+'/'+_0x4761e0+_0x58e574(0x2a4)+_0x5e3210+_0x58e574(0x3c1)+_0xa92373,_0x269b31=(await this[_0x58e574(0x3d7)][_0x58e574(0x389)](_0x3216e6))[_0x58e574(0x412)],_0x303042=(_0x301b1f=_0x269b31[_0x58e574(0x4f1)])==null?void 0x0:_0x301b1f[_0x58e574(0x2c2)];if(_0x303042){const _0x41fcf2=_0x303042==null?void 0x0:_0x303042[_0x58e574(0x31f)],_0x86ca8d=E[_0x58e574(0x4c2)][_0x58e574(0x248)](E['b64DecodeUnicode'](_0x41fcf2));_0x303042[_0x58e574(0x31f)]=_0x86ca8d,Object['entries'](_0x303042['sheets'])[_0x58e574(0x1f7)](([,_0x213c12])=>{var _0x3a162d=_0x58e574;const _0x4c0eca=_0x213c12[_0x3a162d(0x31f)],_0x389053=E[_0x3a162d(0x4c2)][_0x3a162d(0x248)](E['b64DecodeUnicode'](_0x4c0eca));_0x213c12[_0x3a162d(0x31f)]=_0x389053;});}return _0x269b31;}async[_0x2f1e4f(0x307)](_0x25e22e,_0x4265c2){var _0x4187cf=_0x2f1e4f;const {unitID:_0x56de31,type:_0x13923f,blockID:_0x53e60a}=_0x4265c2,_0x3330a2=this[_0x4187cf(0x379)]()+'/'+_0x13923f+_0x4187cf(0x2a4)+_0x56de31+_0x4187cf(0x43b)+_0x53e60a;return(await this[_0x4187cf(0x3d7)][_0x4187cf(0x389)](_0x3330a2))[_0x4187cf(0x412)];}async[_0x2f1e4f(0x1b9)](_0x584134,_0x147488){var _0x41b047=_0x2f1e4f;const {unitID:_0xb3151d,type:_0x3fe775,blockID:_0x2a0b1f}=_0x147488,_0x4813b0=this[_0x41b047(0x379)]()+_0x41b047(0x43b)+_0x3fe775+_0x41b047(0x2a4)+_0xb3151d+_0x41b047(0x43b)+_0x2a0b1f;return(await this[_0x41b047(0x3d7)]['get'](_0x4813b0))[_0x41b047(0x412)];}async[_0x2f1e4f(0x3b9)](_0x135102,_0x5cc944){var _0x5d0967=_0x2f1e4f;const {unitID:_0x355390,type:_0x13d87c,from:_0xc6f444,to:_0xc7ca20}=_0x5cc944,_0x5e0de6=this['_getAPIPrefix']()+'/'+_0x13d87c+_0x5d0967(0x2a4)+_0x355390+_0x5d0967(0x3bf)+_0xc6f444+_0x5d0967(0x413)+_0xc7ca20;return(await this[_0x5d0967(0x3d7)][_0x5d0967(0x389)](_0x5e0de6))[_0x5d0967(0x412)];}['getSnapshotAPIPath'](){var _0x3d8fe2=_0x2f1e4f,_0x507e21;return(_0x507e21=this[_0x3d8fe2(0x50e)][_0x3d8fe2(0x39d)](Ut))!=null?_0x507e21:this[_0x3d8fe2(0x379)]();}[_0x2f1e4f(0x379)](){var _0x310f8b=_0x2f1e4f,_0x46b2c8;const _0x36a0f1=this['_configService']['getConfig'](Y);return(_0x46b2c8=_0x36a0f1==null?void 0x0:_0x36a0f1[_0x310f8b(0x1ef)])!=null?_0x46b2c8:yt;}async['getResourcesRequest'](_0x40bac0,_0x3c3e8b){var _0xa261e5=_0x2f1e4f;const _0x216c17=_0xa261e5(0x2a1)+_0x3c3e8b[_0xa261e5(0x4e1)]+_0xa261e5(0x2a4)+_0x3c3e8b['unitID']+_0xa261e5(0x245);return(await this[_0xa261e5(0x3d7)][_0xa261e5(0x389)](_0x216c17,{'params':{'resourceId':JSON[_0xa261e5(0x1dd)](_0x3c3e8b[_0xa261e5(0x44e)])}}))['body'];}[_0x2f1e4f(0x505)](){var _0x9c9de9=_0x2f1e4f;throw new Error(_0x9c9de9(0x1b0));}[_0x2f1e4f(0x50d)](){var _0x13dfe4=_0x2f1e4f;throw new Error(_0x13dfe4(0x1b0));}['saveSheetBlock'](){var _0x5a3157=_0x2f1e4f;throw new Error(_0x5a3157(0x1b0));}[_0x2f1e4f(0x288)](){var _0x31b9a6=_0x2f1e4f;throw new Error(_0x31b9a6(0x1b0));}[_0x2f1e4f(0x45f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2f1e4f(0x462)](){var _0x533667=_0x2f1e4f;throw new Error(_0x533667(0x1b0));}},exports['SnapshotServerOverHTTPService']=In([ot(0x0,o[_0x2f1e4f(0x2f0)]),ot(0x1,o[_0x2f1e4f(0x408)](K[_0x2f1e4f(0x369)]))],exports[_0x2f1e4f(0x473)]);var fn=Object['getOwnPropertyDescriptor'],En=(_0x5bf54e,_0x51b30b,_0x552a8e,_0x1cb3ff)=>{var _0x56c1ac=_0x2f1e4f;for(var _0x187e36=_0x1cb3ff>0x1?void 0x0:_0x1cb3ff?fn(_0x51b30b,_0x552a8e):_0x51b30b,_0x519fc7=_0x5bf54e[_0x56c1ac(0x237)]-0x1,_0x13e23c;_0x519fc7>=0x0;_0x519fc7--)(_0x13e23c=_0x5bf54e[_0x519fc7])&&(_0x187e36=_0x13e23c(_0x187e36)||_0x187e36);return _0x187e36;},ue=(_0xe24eff,_0x80c150)=>(_0x214cad,_0x20b474)=>_0x80c150(_0x214cad,_0x20b474,_0xe24eff);exports[_0x2f1e4f(0x428)]=class extends o[_0x2f1e4f(0x4d5)]{constructor(_0x46e719,_0x40c1b0,_0xe8dcc9,_0x1356d7,_0x200fa6){var _0x5ae3d7=_0x2f1e4f;super(_0x46e719,_0x40c1b0,_0xe8dcc9),this[_0x5ae3d7(0x443)]=_0x1356d7,this['_logService']=_0x200fa6;}[_0x2f1e4f(0x3c2)](_0x5d13bb,_0x17d3b5){var _0x503542=_0x2f1e4f;const _0x6cfc01=this[_0x503542(0x3d2)](_0x5d13bb);if(_0x6cfc01)try{const _0x127619=this[_0x503542(0x3b7)](_0x6cfc01,_0x17d3b5);this[_0x503542(0x2b8)](_0x5d13bb,_0x127619);}catch(_0xca8c88){this[_0x503542(0x263)][_0x503542(0x3c3)](_0x503542(0x2b7),_0xca8c88),this[_0x503542(0x2f7)](_0x5d13bb);}const _0x49fb97=this[_0x503542(0x2ff)](_0x5d13bb);if(_0x49fb97)try{const _0x3093c7=this['_transformStack'](_0x49fb97,_0x17d3b5);this[_0x503542(0x330)](_0x5d13bb,_0x3093c7);}catch(_0xe744c8){this[_0x503542(0x263)][_0x503542(0x3c3)](_0xe744c8),this[_0x503542(0x419)](_0x5d13bb);}}[_0x2f1e4f(0x2f7)](_0x5f53b3){var _0x473f9=_0x2f1e4f;const _0x1a503e=this[_0x473f9(0x3d2)](_0x5f53b3);_0x1a503e&&(_0x1a503e[_0x473f9(0x237)]=0x0,this['_updateStatus']());}[_0x2f1e4f(0x419)](_0xb773c){const _0x2624f1=this['_getRedoStack'](_0xb773c);_0x2624f1&&(_0x2624f1['length']=0x0,this['_updateStatus']());}[_0x2f1e4f(0x2b8)](_0x534d26,_0x5a0398){var _0x5e7d75=_0x2f1e4f;this[_0x5e7d75(0x4fb)][_0x5e7d75(0x3d1)](_0x534d26,_0x5a0398),this['_updateStatus']();}[_0x2f1e4f(0x330)](_0x141da8,_0x2ac129){var _0x22d677=_0x2f1e4f;this[_0x22d677(0x342)]['set'](_0x141da8,_0x2ac129),this['_updateStatus']();}[_0x2f1e4f(0x3b7)](_0x8701b5,_0x2263ac){var _0x507cd9=_0x2f1e4f;const _0x190217=[];let _0x35491a=_0x2263ac,_0x36187c=_0x2263ac;for(let _0x469e2f=_0x8701b5['length']-0x1;_0x469e2f>=0x0;_0x469e2f--){const {unitID:_0x1046c7,undoMutations:_0x4bf187,redoMutations:_0x42903d}=_0x8701b5[_0x469e2f],_0x4b0ee9=this[_0x507cd9(0x443)][_0x507cd9(0x42b)](_0x35491a,_0x4bf187),_0xef0b7f=this[_0x507cd9(0x443)][_0x507cd9(0x42b)](_0x36187c,_0x42903d);if(E[_0x507cd9(0x257)](_0x4b0ee9)||E['isTransformMutationsWithChangesetFailure'](_0xef0b7f)){this[_0x507cd9(0x263)][_0x507cd9(0x3c3)](_0x507cd9(0x2b7),_0x507cd9(0x247),_0x4b0ee9,_0xef0b7f);break;}_0x35491a=_0x4b0ee9[_0x507cd9(0x310)],_0x36187c=_0xef0b7f[_0x507cd9(0x310)],_0x190217['push']({'unitID':_0x1046c7,'undoMutations':_0x4b0ee9[_0x507cd9(0x393)],'redoMutations':_0xef0b7f['m2Prime']});}return _0x190217[_0x507cd9(0x2e5)]();}},exports[_0x2f1e4f(0x428)]=En([ue(0x0,o[_0x2f1e4f(0x318)]),ue(0x1,o[_0x2f1e4f(0x1bc)]),ue(0x2,o[_0x2f1e4f(0x1a0)]),ue(0x3,E[_0x2f1e4f(0x2ac)]),ue(0x4,o['ILogService'])],exports[_0x2f1e4f(0x428)]);var pn=Object['defineProperty'],mn=Object[_0x2f1e4f(0x4dc)],gn=(_0xecef42,_0x24f556,_0x51892b)=>_0x24f556 in _0xecef42?pn(_0xecef42,_0x24f556,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x51892b}):_0xecef42[_0x24f556]=_0x51892b,Tn=(_0x15cade,_0x4699a9,_0x309ea8,_0x3ea1c2)=>{for(var _0x36a88b=_0x3ea1c2>0x1?void 0x0:_0x3ea1c2?mn(_0x4699a9,_0x309ea8):_0x4699a9,_0x4e0022=_0x15cade['length']-0x1,_0x857a8;_0x4e0022>=0x0;_0x4e0022--)(_0x857a8=_0x15cade[_0x4e0022])&&(_0x36a88b=_0x857a8(_0x36a88b)||_0x36a88b);return _0x36a88b;},we=(_0x3823a1,_0x5cde64)=>(_0x4fbf04,_0x507581)=>_0x5cde64(_0x4fbf04,_0x507581,_0x3823a1),Cn=(_0xb934aa,_0x4c1553,_0x3a7fac)=>gn(_0xb934aa,_0x4c1553+'',_0x3a7fac);const On=_0x2f1e4f(0x1d3);exports[_0x2f1e4f(0x46f)]=class extends o[_0x2f1e4f(0x3c7)]{constructor(_0x2faa8f,_0x13048f,_0x12033d,_0x252ac3){var _0x299c29=_0x2f1e4f;super(),A(this,_0x299c29(0x1c2)),(this[_0x299c29(0x263)]=_0x13048f,this[_0x299c29(0x187)]=_0x12033d,this[_0x299c29(0x50e)]=_0x252ac3);const {..._0x1b9a63}=o[_0x299c29(0x3a8)]({},Qt,_0x2faa8f);if(!_0x1b9a63[_0x299c29(0x37b)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x299c29(0x1c2)]=_0x1b9a63,this[_0x299c29(0x50e)][_0x299c29(0x236)](Y,_0x1b9a63);}[_0x2f1e4f(0x2c6)](){var _0x57c214=_0x2f1e4f;this[_0x57c214(0x31a)](),this[_0x57c214(0x426)]();}[_0x2f1e4f(0x31a)](){var _0x367a6e=_0x2f1e4f,_0x5e2343,_0x27f0aa;this[_0x367a6e(0x187)][_0x367a6e(0x48f)](o['IUndoRedoService'])&&this[_0x367a6e(0x263)][_0x367a6e(0x3c3)](_0x367a6e(0x267),_0x367a6e(0x1eb));const _0x16d9f3=o[_0x367a6e(0x39b)]([[o[_0x367a6e(0x2cd)],{'useClass':exports[_0x367a6e(0x428)]}],[exports[_0x367a6e(0x323)]],[exports[_0x367a6e(0x28d)]],[exports[_0x367a6e(0x42a)]],[Ne],[De],[$e],[ye],[ee],[exports[_0x367a6e(0x244)]],[Fe,{'useClass':this[_0x367a6e(0x1c2)][_0x367a6e(0x37b)]}],[E['ISnapshotServerService'],{'useClass':exports[_0x367a6e(0x473)]}],[o[_0x367a6e(0x3dd)],{'useClass':exports[_0x367a6e(0x1bd)]}],[z[_0x367a6e(0x2b1)],{'useClass':exports[_0x367a6e(0x23a)]}],[o[_0x367a6e(0x2d2)],{'useClass':exports[_0x367a6e(0x433)]}],[exports['CollaborationController']],[xe]],(_0x5e2343=this[_0x367a6e(0x1c2)])==null?void 0x0:_0x5e2343[_0x367a6e(0x493)]);if(!((_0x27f0aa=this[_0x367a6e(0x1c2)])!=null&&_0x27f0aa[_0x367a6e(0x2dd)])){const _0x5cfbb0=_0x16d9f3[_0x367a6e(0x2fc)](([_0x2bf102])=>_0x2bf102===ve);_0x5cfbb0!==-0x1&&_0x16d9f3[_0x367a6e(0x445)](_0x5cfbb0,0x1);}o[_0x367a6e(0x4d8)](this[_0x367a6e(0x187)],_0x16d9f3);}[_0x2f1e4f(0x426)](){var _0xebaaa9=_0x2f1e4f,_0x3dc400,_0x4f70e3,_0x3d35c0;this['_injector'][_0xebaaa9(0x389)](K[_0xebaaa9(0x369)])[_0xebaaa9(0x32e)]({'priority':0x14,'interceptor':K['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x3dc400=this[_0xebaaa9(0x1c2)])!=null&&_0x3dc400[_0xebaaa9(0x37d)]||(_0x4f70e3=this[_0xebaaa9(0x187)][_0xebaaa9(0x389)](q,o[_0xebaaa9(0x4ee)][_0xebaaa9(0x332)]))==null||_0x4f70e3[_0xebaaa9(0x3f9)](),(_0x3d35c0=this[_0xebaaa9(0x1c2)])!=null&&_0x3d35c0[_0xebaaa9(0x21b)]&&o['touchDependencies'](this[_0xebaaa9(0x187)],[[Ne]]),o[_0xebaaa9(0x2fb)](this[_0xebaaa9(0x187)],[[De],[exports[_0xebaaa9(0x2f3)]],[ye]]);}},Cn(exports[_0x2f1e4f(0x46f)],_0x2f1e4f(0x1b4),On),exports[_0x2f1e4f(0x46f)]=Tn([o[_0x2f1e4f(0x266)](_t[_0x2f1e4f(0x4b3)],E[_0x2f1e4f(0x262)],K['UniverNetworkPlugin']),we(0x1,o[_0x2f1e4f(0x33f)]),we(0x2,o[_0x2f1e4f(0x408)](o[_0x2f1e4f(0x2ae)])),we(0x3,o['IConfigService'])],exports['UniverCollaborationClientPlugin']),exports['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=Y,exports['CollaborationStatus']=je,exports[_0x2f1e4f(0x27f)]=J,exports[_0x2f1e4f(0x4c5)]=ee,exports[_0x2f1e4f(0x2ca)]=$e,exports[_0x2f1e4f(0x202)]=ht,exports[_0x2f1e4f(0x315)]=Bt,exports[_0x2f1e4f(0x4b1)]=Pt,exports['HEARTBEAT_INTERVAL_KEY']=lt,exports[_0x2f1e4f(0x43c)]=ke,exports[_0x2f1e4f(0x282)]=Fe,exports['ILocalCacheService']=q,exports[_0x2f1e4f(0x378)]=mt,exports[_0x2f1e4f(0x255)]=ve,exports['LOCAL_CACHE_INTERVAL']=kt,exports[_0x2f1e4f(0x2cf)]=xt,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=jt,exports[_0x2f1e4f(0x397)]=vt,exports['SessionStatus']=se,exports[_0x2f1e4f(0x4bf)]=He,exports['deserializeToCombResponse']=gt,exports[_0x2f1e4f(0x4a4)]=zt,exports[_0x2f1e4f(0x347)]=Tt;
1
+ 'use strict';var _0xff55f3=_0x1e3a;(function(_0x10c879,_0xa31a41){var _0x55e01e=_0x1e3a,_0x5ab20c=_0x10c879();while(!![]){try{var _0x5bf45e=parseInt(_0x55e01e(0x35d))/0x1+parseInt(_0x55e01e(0xd0))/0x2+parseInt(_0x55e01e(0x188))/0x3+parseInt(_0x55e01e(0x223))/0x4+-parseInt(_0x55e01e(0x324))/0x5*(parseInt(_0x55e01e(0x370))/0x6)+parseInt(_0x55e01e(0x148))/0x7*(-parseInt(_0x55e01e(0x26b))/0x8)+parseInt(_0x55e01e(0x2f1))/0x9*(-parseInt(_0x55e01e(0x24d))/0xa);if(_0x5bf45e===_0xa31a41)break;else _0x5ab20c['push'](_0x5ab20c['shift']());}catch(_0x56facb){_0x5ab20c['push'](_0x5ab20c['shift']());}}}(_0x5c98,0x6ea2c));var bt=Object[_0xff55f3(0x2da)],Rt=(_0x38727a,_0x16b572,_0x2e0124)=>_0x16b572 in _0x38727a?bt(_0x38727a,_0x16b572,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e0124}):_0x38727a[_0x16b572]=_0x2e0124,A=(_0x3d407b,_0x164c8f,_0x59a196)=>Rt(_0x3d407b,typeof _0x164c8f!=_0xff55f3(0x119)?_0x164c8f+'':_0x164c8f,_0x59a196);Object[_0xff55f3(0x2da)](exports,Symbol[_0xff55f3(0x3ac)],{'value':_0xff55f3(0x105)});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=_0xff55f3(0x10f),Ut='SNAPSHOT_URL_KEY',At=0x7d0,_t=_0xff55f3(0x422),Pt=_0xff55f3(0x1b7),ht=_0xff55f3(0x167),Lt=0x7530,ke=_0xff55f3(0x14c),lt=0x4e20,Mt=0x4e20,ut=_0xff55f3(0xf0),wt=0x3,xt=_0xff55f3(0x268),kt=0x3e8,$t=_0xff55f3(0x3b7),Ht=_0xff55f3(0x112),jt=_0xff55f3(0x15c),Bt='/universer-api/uniscript';var vt=(_0x1842bb=>(_0x1842bb[_0x1842bb[_0xff55f3(0x32d)]=0x0]=_0xff55f3(0x32d),_0x1842bb[_0x1842bb['OK']=0x1]='OK',_0x1842bb[_0x1842bb[_0xff55f3(0x13e)]=0x2]=_0xff55f3(0x13e),_0x1842bb[_0x1842bb[_0xff55f3(0xab)]=0x3]=_0xff55f3(0xab),_0x1842bb[_0x1842bb[_0xff55f3(0x3b9)]=0x4]='NOT_FOUND',_0x1842bb[_0x1842bb[_0xff55f3(0x2c6)]=0x5]=_0xff55f3(0x2c6),_0x1842bb[_0x1842bb['ALREADY_EXISTS']=0x6]=_0xff55f3(0x34a),_0x1842bb[_0x1842bb[_0xff55f3(0x208)]=0x7]=_0xff55f3(0x208),_0x1842bb[_0x1842bb[_0xff55f3(0x147)]=0x8]=_0xff55f3(0x147),_0x1842bb[_0x1842bb['COMPLETION_FINISHED']=0x9]=_0xff55f3(0xbc),_0x1842bb[_0x1842bb['LOGIN_FAILED']=0xa]=_0xff55f3(0x355),_0x1842bb[_0x1842bb['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0xff55f3(0x15d),_0x1842bb[_0x1842bb[_0xff55f3(0x202)]=0xc]=_0xff55f3(0x202),_0x1842bb[_0x1842bb[_0xff55f3(0x387)]=0xd]=_0xff55f3(0x387),_0x1842bb[_0x1842bb[_0xff55f3(0x20f)]=0xe]=_0xff55f3(0x20f),_0x1842bb[_0x1842bb[_0xff55f3(0x314)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x1842bb[_0x1842bb[_0xff55f3(0x3c0)]=0x10]=_0xff55f3(0x3c0),_0x1842bb[_0x1842bb[_0xff55f3(0x2d0)]=0x64]=_0xff55f3(0x2d0),_0x1842bb[_0x1842bb[_0xff55f3(0xfb)]=0x65]=_0xff55f3(0xfb),_0x1842bb[_0x1842bb[_0xff55f3(0x1f7)]=0xc9]=_0xff55f3(0x1f7),_0x1842bb[_0x1842bb[_0xff55f3(0x347)]=0xca]=_0xff55f3(0x347),_0x1842bb[_0x1842bb[_0xff55f3(0x1ea)]=0x1389]=_0xff55f3(0x1ea),_0x1842bb[_0x1842bb[_0xff55f3(0x2e1)]=0x1771]=_0xff55f3(0x2e1),_0x1842bb[_0x1842bb[_0xff55f3(0x310)]=0x1772]=_0xff55f3(0x310),_0x1842bb[_0x1842bb['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xff55f3(0xa6),_0x1842bb[_0x1842bb['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x1842bb[_0x1842bb[_0xff55f3(0x154)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x1842bb[_0x1842bb[_0xff55f3(0x266)]=0x1b5b]=_0xff55f3(0x266),_0x1842bb[_0x1842bb[_0xff55f3(0x1c7)]=0x1b5c]=_0xff55f3(0x1c7),_0x1842bb[_0x1842bb[_0xff55f3(0x258)]=0x1b5d]=_0xff55f3(0x258),_0x1842bb[_0x1842bb[_0xff55f3(0x29d)]=0x1f41]=_0xff55f3(0x29d),_0x1842bb[_0x1842bb[_0xff55f3(0x2a7)]=0x2329]=_0xff55f3(0x2a7),_0x1842bb[_0x1842bb[_0xff55f3(0x345)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1842bb[_0x1842bb['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0xff55f3(0x1bb),_0x1842bb[_0x1842bb[_0xff55f3(0x309)]=0x232c]=_0xff55f3(0x309),_0x1842bb[_0x1842bb['LICENSE_DISTRO_REJECTED']=0x232d]=_0xff55f3(0x2f6),_0x1842bb[_0x1842bb[_0xff55f3(0x24b)]=0x2711]=_0xff55f3(0x24b),_0x1842bb[_0x1842bb[_0xff55f3(0x1eb)]=0x2712]=_0xff55f3(0x1eb),_0x1842bb[_0x1842bb['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0xff55f3(0x1bf),_0x1842bb[_0x1842bb[_0xff55f3(0x2cd)]=0x2714]=_0xff55f3(0x2cd),_0x1842bb[_0x1842bb[_0xff55f3(0x1e4)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x1842bb[_0x1842bb['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0xff55f3(0x259),_0x1842bb[_0x1842bb[_0xff55f3(0x316)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x1842bb[_0x1842bb[_0xff55f3(0x184)]=0x271d]=_0xff55f3(0x184),_0x1842bb[_0x1842bb['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0xff55f3(0x262),_0x1842bb[_0x1842bb[_0xff55f3(0xf4)]=0x271f]=_0xff55f3(0xf4),_0x1842bb[_0x1842bb[_0xff55f3(0xa2)]=0x2720]=_0xff55f3(0xa2),_0x1842bb[_0x1842bb['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1842bb[_0x1842bb['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0xff55f3(0xa8),_0x1842bb[_0x1842bb['INVALID_INVITE_CODE']=0x2ee2]=_0xff55f3(0x32e),_0x1842bb[_0x1842bb['INVITE_CODE_REQUIRED']=0x2ee3]=_0xff55f3(0x420),_0x1842bb[_0x1842bb['USER_NOT_INVITED_CODE']=0x2ee4]=_0xff55f3(0x28f),_0x1842bb[_0x1842bb[_0xff55f3(0xbe)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x1842bb[_0x1842bb['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x1842bb[_0x1842bb['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0xff55f3(0x246),_0x1842bb[_0x1842bb[_0xff55f3(0x3e4)]=0x32cb]=_0xff55f3(0x3e4),_0x1842bb[_0x1842bb['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0xff55f3(0x21a),_0x1842bb[_0x1842bb['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0xff55f3(0x3a7),_0x1842bb[_0x1842bb[_0xff55f3(0x3e5)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x1842bb[_0x1842bb[_0xff55f3(0x2ac)]=0x36b4]=_0xff55f3(0x2ac),_0x1842bb[_0x1842bb[_0xff55f3(0x269)]=0x36b5]=_0xff55f3(0x269),_0x1842bb[_0x1842bb[_0xff55f3(0xee)]=0x36b6]=_0xff55f3(0xee),_0x1842bb[_0x1842bb[_0xff55f3(0x286)]=0x36b7]=_0xff55f3(0x286),_0x1842bb[_0x1842bb[_0xff55f3(0x23f)]=0x36b8]=_0xff55f3(0x23f),_0x1842bb[_0x1842bb['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0xff55f3(0x2c1),_0x1842bb[_0x1842bb[_0xff55f3(0x17d)]=0x3716]=_0xff55f3(0x17d),_0x1842bb[_0x1842bb['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0xff55f3(0x125),_0x1842bb[_0x1842bb['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0xff55f3(0xed),_0x1842bb[_0x1842bb['REDEMPTION_INVALID_CODE']=0x3a99]=_0xff55f3(0x3db),_0x1842bb[_0x1842bb[_0xff55f3(0x244)]=0x3a9a]=_0xff55f3(0x244),_0x1842bb[_0x1842bb[_0xff55f3(0xca)]=0x3a9b]=_0xff55f3(0xca),_0x1842bb[_0x1842bb[_0xff55f3(0x1a8)]=0x3a9c]=_0xff55f3(0x1a8),_0x1842bb[_0x1842bb['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0xff55f3(0x402),_0x1842bb[_0x1842bb[_0xff55f3(0x3bc)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x1842bb[_0x1842bb[_0xff55f3(0x108)]=0x3a9f]=_0xff55f3(0x108),_0x1842bb[_0x1842bb[_0xff55f3(0x2dd)]=0x3e81]=_0xff55f3(0x2dd),_0x1842bb[_0x1842bb[_0xff55f3(0x41f)]=-0x1]=_0xff55f3(0x41f),_0x1842bb))(vt||{}),X=(_0x16cdcf=>(_0x16cdcf[_0x16cdcf[_0xff55f3(0xce)]=0x0]=_0xff55f3(0xce),_0x16cdcf[_0x16cdcf[_0xff55f3(0xc5)]=0x1]=_0xff55f3(0xc5),_0x16cdcf[_0x16cdcf[_0xff55f3(0x2cc)]=0x2]='UNIVER_SHEET',_0x16cdcf[_0x16cdcf[_0xff55f3(0x343)]=0x3]=_0xff55f3(0x343),_0x16cdcf[_0x16cdcf[_0xff55f3(0x382)]=0x4]=_0xff55f3(0x382),_0x16cdcf[_0x16cdcf[_0xff55f3(0x41f)]=-0x1]='UNRECOGNIZED',_0x16cdcf))(X||{}),W=(_0x38910e=>(_0x38910e[_0x38910e[_0xff55f3(0x247)]=0x0]=_0xff55f3(0x247),_0x38910e[_0x38910e[_0xff55f3(0x346)]=0x1]='HELLO',_0x38910e[_0x38910e[_0xff55f3(0x285)]=0x2]=_0xff55f3(0x285),_0x38910e[_0x38910e[_0xff55f3(0x175)]=0x3]='LEAVE',_0x38910e[_0x38910e[_0xff55f3(0x191)]=0x4]='INGEST',_0x38910e[_0x38910e['HEARTBEAT']=0x5]=_0xff55f3(0xc9),_0x38910e[_0x38910e[_0xff55f3(0x38f)]=0x6]=_0xff55f3(0x38f),_0x38910e[_0x38910e[_0xff55f3(0x41f)]=-0x1]=_0xff55f3(0x41f),_0x38910e))(W||{}),re=(_0x73d4e5=>(_0x73d4e5[_0x73d4e5[_0xff55f3(0x392)]=0x0]=_0xff55f3(0x392),_0x73d4e5[_0x73d4e5['OK']=0x1]='OK',_0x73d4e5[_0x73d4e5['FAIL']=0x2]=_0xff55f3(0x2a0),_0x73d4e5[_0x73d4e5[_0xff55f3(0x254)]=0x3e9]=_0xff55f3(0x254),_0x73d4e5[_0x73d4e5['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x73d4e5[_0x73d4e5[_0xff55f3(0x352)]=0x3eb]=_0xff55f3(0x352),_0x73d4e5[_0x73d4e5['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0xff55f3(0xa3),_0x73d4e5[_0x73d4e5['UNRECOGNIZED']=-0x1]=_0xff55f3(0x41f),_0x73d4e5))(re||{}),dt=(_0x59a1e9=>(_0x59a1e9[_0x59a1e9['Undefined']=0x0]=_0xff55f3(0x15f),_0x59a1e9[_0x59a1e9['HttpImport']=0x1]=_0xff55f3(0xdb),_0x59a1e9[_0x59a1e9[_0xff55f3(0x38d)]=0x2]=_0xff55f3(0x38d),_0x59a1e9[_0x59a1e9[_0xff55f3(0x3ca)]=0x3]='UnitEmbedded',_0x59a1e9[_0x59a1e9[_0xff55f3(0x412)]=0x4]=_0xff55f3(0x412),_0x59a1e9[_0x59a1e9[_0xff55f3(0x18c)]=0x5]=_0xff55f3(0x18c),_0x59a1e9[_0x59a1e9['ClipsheetFragments']=0x6]=_0xff55f3(0xa5),_0x59a1e9[_0x59a1e9['UNRECOGNIZED']=-0x1]=_0xff55f3(0x41f),_0x59a1e9))(dt||{});const Ft=_0xff55f3(0x27c);function Vt(_0x5cbcaa){var _0x5255fe=_0xff55f3;return JSON[_0x5255fe(0x249)](_0x5cbcaa)[_0x5255fe(0x2cf)];}var J=(_0x383706=>(_0x383706[_0xff55f3(0x2aa)]=_0xff55f3(0x2aa),_0x383706[_0xff55f3(0xab)]=_0xff55f3(0xab),_0x383706[_0xff55f3(0x2f0)]=_0xff55f3(0x2f0),_0x383706[_0xff55f3(0x353)]=_0xff55f3(0x353),_0x383706[_0xff55f3(0x1d1)]=_0xff55f3(0x1d1),_0x383706['SOCKET_FAILED_RETRY']=_0xff55f3(0x36d),_0x383706[_0xff55f3(0x1c1)]=_0xff55f3(0x1c1),_0x383706[_0xff55f3(0x361)]=_0xff55f3(0x361),_0x383706))(J||{});class ee{constructor(){var _0x2542bb=_0xff55f3;A(this,_0x2542bb(0x1d9),new j[(_0x2542bb(0x253))]()),A(this,_0x2542bb(0x3e2),this['_event$'][_0x2542bb(0x221)]());}[_0xff55f3(0x1a1)](_0x2fa7f1){var _0x4c6cfd=_0xff55f3;this[_0x4c6cfd(0x1d9)][_0x4c6cfd(0x351)](_0x2fa7f1);}}class $e{constructor(){var _0x3cd240=_0xff55f3;A(this,_0x3cd240(0xad),new j[(_0x3cd240(0x253))]()),A(this,_0x3cd240(0x237),this[_0x3cd240(0xad)][_0x3cd240(0x221)]());}[_0xff55f3(0x1b0)](_0x5a85fe){var _0xab526b=_0xff55f3;this[_0xab526b(0xad)][_0xab526b(0x351)](_0x5a85fe);}}var Wt=Object[_0xff55f3(0x3c8)],Gt=(_0x4717b4,_0x4ce26b,_0x4b475a,_0x383a50)=>{for(var _0x2e1828=_0x383a50>0x1?void 0x0:_0x383a50?Wt(_0x4ce26b,_0x4b475a):_0x4ce26b,_0x41089a=_0x4717b4['length']-0x1,_0x2671b1;_0x41089a>=0x0;_0x41089a--)(_0x2671b1=_0x4717b4[_0x41089a])&&(_0x2e1828=_0x2671b1(_0x2e1828)||_0x2e1828);return _0x2e1828;},Ve=(_0x596b4d,_0x1f840b)=>(_0x4354c5,_0x581c6d)=>_0x1f840b(_0x4354c5,_0x581c6d,_0x596b4d);exports[_0xff55f3(0x34b)]=class extends o[_0xff55f3(0xcf)]{constructor(_0x4d1539,_0x523e8e){var _0x420ac5=_0xff55f3;super(),A(this,_0x420ac5(0x3c3),new Map()),A(this,_0x420ac5(0xe9),new j[(_0x420ac5(0x253))]()),(this[_0x420ac5(0x186)]=_0x4d1539,this['_userManagerService']=_0x523e8e,this[_0x420ac5(0xea)](j[_0x420ac5(0xe3)](this[_0x420ac5(0x186)]['getTypeOfUnitDisposed$'](o[_0x420ac5(0x109)]['UNIVER_SHEET'])[_0x420ac5(0xcc)](V[_0x420ac5(0x33a)](_0x52bed0=>_0x52bed0[_0x420ac5(0x3b1)]())),this[_0x420ac5(0x186)][_0x420ac5(0x34c)](o[_0x420ac5(0x109)][_0x420ac5(0xc5)])[_0x420ac5(0xcc)](V[_0x420ac5(0x33a)](_0x1d4b56=>_0x1d4b56['getUnitId']())),this['_univerInstanceService'][_0x420ac5(0x34c)](o[_0x420ac5(0x109)][_0x420ac5(0x343)])[_0x420ac5(0xcc)](V[_0x420ac5(0x33a)](_0x2785a9=>_0x2785a9[_0x420ac5(0x3b1)]())))[_0x420ac5(0x12d)](_0x579c1a=>this[_0x420ac5(0x41a)](_0x579c1a))));}['waitForRoom$'](_0x7a6b7){var _0x4b9206=_0xff55f3;return this[_0x4b9206(0x3c3)][_0x4b9206(0xb9)](_0x7a6b7)?j['of'](this[_0x4b9206(0x3c3)][_0x4b9206(0x3b2)](_0x7a6b7)):this[_0x4b9206(0xe9)]['pipe'](V[_0x4b9206(0x33a)](_0x1ad9dc=>{var _0x2f6b33=_0x4b9206;if(_0x1ad9dc===_0x7a6b7)return this[_0x2f6b33(0x3c3)][_0x2f6b33(0x3b2)](_0x1ad9dc);}));}[_0xff55f3(0x193)](_0x3fb5a0){var _0x4e3cc=_0xff55f3;this[_0x4e3cc(0x12a)][_0x4e3cc(0x193)](_0x3fb5a0);}[_0xff55f3(0xfa)](){var _0x3d7b2f=_0xff55f3;return this[_0x3d7b2f(0x12a)]['getCurrentUser']();}[_0xff55f3(0x209)](_0x13aa85,_0x1ef884){var _0x156666=_0xff55f3;let _0x51143c=this[_0x156666(0x3c3)]['get'](_0x13aa85);_0x51143c||(_0x51143c=new Yt(),this[_0x156666(0x3c3)][_0x156666(0x356)](_0x13aa85,_0x51143c),this[_0x156666(0xe9)][_0x156666(0x351)](_0x13aa85)),_0x51143c[_0x156666(0x209)](_0x1ef884);}[_0xff55f3(0x3bf)](_0x219a77,_0x5a9073){var _0x20b340=_0xff55f3;const _0x183606=this[_0x20b340(0x3c3)][_0x20b340(0x3b2)](_0x219a77);_0x183606&&_0x183606[_0x20b340(0x3bf)](_0x5a9073);}[_0xff55f3(0xc8)](_0x32c70a){return this['_roomMembers']['get'](_0x32c70a);}[_0xff55f3(0x39d)](_0x44c4a8,_0x315748){var _0x4c6cbb=_0xff55f3;const _0x179c97=this[_0x4c6cbb(0x3c3)]['get'](_0x44c4a8);if(_0x179c97)return _0x179c97[_0x4c6cbb(0x39d)](_0x315748);}[_0xff55f3(0x41a)](_0x4ba0e3){var _0x5df91e=_0xff55f3;const _0x3c328c=this[_0x5df91e(0x3c3)][_0x5df91e(0x3b2)](_0x4ba0e3);_0x3c328c&&(_0x3c328c[_0x5df91e(0x349)](),this['_roomMembers'][_0x5df91e(0x1f2)](_0x4ba0e3));}[_0xff55f3(0x349)](){var _0x52b127=_0xff55f3;this[_0x52b127(0x3c3)][_0x52b127(0x36e)](_0x16e1e2=>_0x16e1e2[_0x52b127(0x349)]()),this[_0x52b127(0x3c3)][_0x52b127(0x377)](),this[_0x52b127(0xe9)][_0x52b127(0x2c9)]();}},exports[_0xff55f3(0x34b)]=Gt([Ve(0x0,o[_0xff55f3(0xb2)]),Ve(0x1,o['Inject'](o['UserManagerService']))],exports['MemberService']);class Yt extends o[_0xff55f3(0xcf)]{constructor(){var _0x5db129=_0xff55f3;super(...arguments),A(this,_0x5db129(0xb3),new Map()),A(this,_0x5db129(0x245),new j[(_0x5db129(0x41b))](this[_0x5db129(0xb3)])),A(this,'members$',this[_0x5db129(0x245)]['asObservable']());}['dispose'](){var _0x480f4d=_0xff55f3;this[_0x480f4d(0xb3)][_0x480f4d(0x377)]();}[_0xff55f3(0x209)](_0x26e26e){var _0x59ac2c=_0xff55f3;this[_0x59ac2c(0xb3)]['set'](_0x26e26e[_0x59ac2c(0x385)],_0x26e26e),this[_0x59ac2c(0x1db)]();}['removeMember'](_0x25f2b0){var _0x46f041=_0xff55f3;this[_0x46f041(0xb3)]['delete'](_0x25f2b0);}['getMember'](_0x530dea){var _0x40ff17=_0xff55f3;return this['_members'][_0x40ff17(0x3b2)](_0x530dea);}[_0xff55f3(0x39b)](){var _0x7f6014=_0xff55f3;return Array['from'](this['_members'][_0x7f6014(0x1b5)]());}[_0xff55f3(0x1db)](){var _0x325f40=_0xff55f3;this[_0x325f40(0x245)][_0x325f40(0x351)](this[_0x325f40(0xb3)]);}}var Kt=Object[_0xff55f3(0x3c8)],qt=(_0x7a73a6,_0x219235,_0x1360ce,_0x468400)=>{var _0x5c1da5=_0xff55f3;for(var _0x694a74=_0x468400>0x1?void 0x0:_0x468400?Kt(_0x219235,_0x1360ce):_0x219235,_0x40de8f=_0x7a73a6[_0x5c1da5(0x2cf)]-0x1,_0x3ed00b;_0x40de8f>=0x0;_0x40de8f--)(_0x3ed00b=_0x7a73a6[_0x40de8f])&&(_0x694a74=_0x3ed00b(_0x694a74)||_0x694a74);return _0x694a74;},ce=(_0x5b24aa,_0x1205a4)=>(_0x35c562,_0x372e57)=>_0x1205a4(_0x35c562,_0x372e57,_0x5b24aa),se=(_0x18ce9c=>(_0x18ce9c[_0x18ce9c[_0xff55f3(0x335)]=0x0]=_0xff55f3(0x335),_0x18ce9c[_0x18ce9c[_0xff55f3(0x260)]=0x1]=_0xff55f3(0x260),_0x18ce9c[_0x18ce9c['OFFLINE']=0x2]=_0xff55f3(0x348),_0x18ce9c[_0x18ce9c['ONLINE']=0x3]=_0xff55f3(0x28b),_0x18ce9c))(se||{});const We={[re[_0xff55f3(0x2a0)]]:'session.join-failed',[re[_0xff55f3(0x254)]]:_0xff55f3(0x1ca),[re[_0xff55f3(0x2e8)]]:_0xff55f3(0xbb),[re[_0xff55f3(0x352)]]:_0xff55f3(0xdc),[re['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0xff55f3(0x1c6)};exports[_0xff55f3(0x281)]=class extends o[_0xff55f3(0xf1)]{constructor(_0x259c0a,_0x1c4cc5,_0x30f3f5,_0x5748de,_0x532ded,_0x1d460a,_0x58fc87,_0x2e8f86){var _0x4f7f6a=_0xff55f3;super(),A(this,'_sessionStatus$',new j[(_0x4f7f6a(0x41b))](0x0)),A(this,_0x4f7f6a(0x1a9),this[_0x4f7f6a(0x251)][_0x4f7f6a(0x221)]()),A(this,_0x4f7f6a(0x1d9),new j[(_0x4f7f6a(0x253))]()),A(this,'event$',this['_event$'][_0x4f7f6a(0x221)]()),A(this,_0x4f7f6a(0xe5)),A(this,_0x4f7f6a(0x2e9)),A(this,_0x4f7f6a(0x10c)),A(this,_0x4f7f6a(0x9d),!0x1),A(this,_0x4f7f6a(0x257),null),(this[_0x4f7f6a(0x2fb)]=_0x259c0a,this[_0x4f7f6a(0x2fa)]=_0x30f3f5,this['_configService']=_0x5748de,this['_memberService']=_0x532ded,this[_0x4f7f6a(0x3e3)]=_0x1d460a,this[_0x4f7f6a(0x1ac)]=_0x58fc87,this[_0x4f7f6a(0x37e)]=_0x2e8f86,this[_0x4f7f6a(0x9d)]=!!this['_telemetryService'],_0x1c4cc5['pipe'](j['takeUntil'](this[_0x4f7f6a(0x235)]))['subscribe'](_0x3dc8ad=>{var _0x22e6cc=_0x4f7f6a,_0x570d80;typeof _0x3dc8ad>'u'||(this[_0x22e6cc(0xe5)]=_0x3dc8ad,_0x3dc8ad?(this[_0x22e6cc(0x28a)](_0x3dc8ad),this[_0x22e6cc(0x2e9)]=_0x3dc8ad[_0x22e6cc(0xaf)][_0x22e6cc(0x12d)](_0x1c3354=>{var _0x2bc419=_0x22e6cc;_0x1c3354['routeKey']===this[_0x2bc419(0x2fb)]&&this['_onCombEvent'](_0x1c3354);})):(this[_0x22e6cc(0x376)](),this[_0x22e6cc(0x251)]['next'](0x2),(_0x570d80=this[_0x22e6cc(0x2e9)])==null||_0x570d80[_0x22e6cc(0x3bd)](),this[_0x22e6cc(0x2e9)]=null));}));}get[_0xff55f3(0x2a9)](){var _0x34502c=_0xff55f3;return this[_0x34502c(0x251)][_0x34502c(0x307)]();}[_0xff55f3(0xb4)](){var _0x1baaeb=_0xff55f3,_0x5c3c61,_0x52340a;return(_0x52340a=(_0x5c3c61=this['_socket'])==null?void 0x0:_0x5c3c61[_0x1baaeb(0x385)])!=null?_0x52340a:null;}[_0xff55f3(0x349)](){var _0x429f3e=_0xff55f3;super[_0x429f3e(0x349)](),this[_0x429f3e(0x235)][_0x429f3e(0x351)](),this[_0x429f3e(0x235)][_0x429f3e(0x2c9)]();}[_0xff55f3(0xda)](){var _0x5e0ac5=_0xff55f3,_0x5038c7,_0x5abcbb;this[_0x5e0ac5(0x376)](),(_0x5038c7=this[_0x5e0ac5(0xe5)])==null||_0x5038c7[_0x5e0ac5(0x421)]({'cmd':W[_0x5e0ac5(0x175)],'data':{'roomID':this[_0x5e0ac5(0x2fb)]}}),(_0x5abcbb=this[_0x5e0ac5(0xe5)])==null||_0x5abcbb[_0x5e0ac5(0xda)](),this[_0x5e0ac5(0x1d9)][_0x5e0ac5(0x2c9)](),this[_0x5e0ac5(0x251)]['complete'](),this[_0x5e0ac5(0x349)]();}['_onCombEvent'](_0x27193b){var _0xdbb118=_0xff55f3;_0x27193b[_0xdbb118(0x271)]===W[_0xdbb118(0x285)]?this['_onJoinRoomEvent'](_0x27193b):_0x27193b[_0xdbb118(0x271)]===W[_0xdbb118(0x38f)]&&this[_0xdbb118(0x207)](_0x27193b);}['_joinRoom'](_0x259c07){var _0x5aad66=_0xff55f3;this[_0x5aad66(0x251)][_0x5aad66(0x351)](0x1),_0x259c07[_0x5aad66(0x421)]({'cmd':W['JOIN'],'routeKey':this[_0x5aad66(0x2fb)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0xff55f3(0x2bf)](_0x559fc7){var _0x1d3f4d=_0xff55f3,_0x2045fc;if(_0x559fc7[_0x1d3f4d(0xd9)]in We){this[_0x1d3f4d(0x1ac)]['emitEvent']({'id':J[_0x1d3f4d(0x1d1)],'data':We[_0x559fc7[_0x1d3f4d(0xd9)]]}),this[_0x1d3f4d(0x251)][_0x1d3f4d(0x351)](0x2);return;}this[_0x1d3f4d(0x251)][_0x1d3f4d(0x351)](0x3);const _0x120de3=(_0x2045fc=_0x559fc7[_0x1d3f4d(0x2c5)]['roomInfos'][this[_0x1d3f4d(0x2fb)]])==null?void 0x0:_0x2045fc['members'];_0x120de3&&_0x120de3[_0x1d3f4d(0x36e)](_0x53dc63=>this[_0x1d3f4d(0x159)]['updateMember'](this[_0x1d3f4d(0x2fb)],_0x53dc63));}[_0xff55f3(0x207)](_0x5e4f64){var _0x1464fe=_0xff55f3;try{const _0x366055=_0x5e4f64[_0x1464fe(0x2c5)];switch(_0x366055[_0x1464fe(0x338)]){case E[_0x1464fe(0x34f)][_0x1464fe(0x2fe)]:this[_0x1464fe(0x1b1)](_0x366055),this[_0x1464fe(0x1d9)][_0x1464fe(0x351)](_0x366055);break;case E['CollaborationEvent'][_0x1464fe(0x3e1)]:this['_onUserLeave'](_0x366055),this['_event$'][_0x1464fe(0x351)](_0x366055);break;case E[_0x1464fe(0x34f)][_0x1464fe(0x9f)]:case E[_0x1464fe(0x34f)][_0x1464fe(0x37c)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x1464fe(0x1d9)]['next'](_0x366055);break;case E[_0x1464fe(0x34f)]['MSG_FOR_ERROR']:this[_0x1464fe(0x2fa)]['error'](_0x1464fe(0x32f)+JSON['stringify'](_0x366055)),this[_0x1464fe(0x1d9)][_0x1464fe(0x351)](_0x366055);break;case E[_0x1464fe(0x34f)][_0x1464fe(0x334)]:this[_0x1464fe(0x3e3)][_0x1464fe(0x1b0)](_0x366055[_0x1464fe(0x2c5)]),this['_event$']['next'](_0x366055);break;default:this[_0x1464fe(0x1d9)][_0x1464fe(0x351)](_0x366055);}}catch(_0xd163d){this['_logService'][_0x1464fe(0xd5)](_0xd163d,_0x5e4f64);}}[_0xff55f3(0x1b1)](_0x18345a){var _0x51c405=_0xff55f3;this[_0x51c405(0x159)]['updateMember'](this[_0x51c405(0x2fb)],_0x18345a[_0x51c405(0x2c5)]);}[_0xff55f3(0xb1)](_0x406b56){var _0x224261=_0xff55f3;this['_memberService'][_0x224261(0x3bf)](this[_0x224261(0x2fb)],_0x406b56[_0x224261(0x2c5)][_0x224261(0x385)]);}async['send'](_0x15c5c2,_0x36db62){var _0xcb5bef=_0xff55f3;if(this['sessionStatus']!==0x3||!this[_0xcb5bef(0xe5)])throw new Error(_0xcb5bef(0x3ef));try{_0x15c5c2[_0xcb5bef(0x338)]===E['CollaborationEvent'][_0xcb5bef(0x1a6)]&&(this[_0xcb5bef(0x378)](),this['_startTelemetryCollaborationNewChangeset'](_0x15c5c2)),this[_0xcb5bef(0xe5)]['send']({'cmd':W[_0xcb5bef(0x191)],'routeKey':_0x36db62,'routeType':'','data':_0x15c5c2});}catch(_0x34778b){this['_logService'][_0xcb5bef(0xd5)](_0x34778b);}}[_0xff55f3(0x378)](){var _0x1d9a2c=_0xff55f3,_0x14e953;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x2bb6cf=_0x1e3a;this[_0x2bb6cf(0x10c)]=null,this['_collaborationUIEventService'][_0x2bb6cf(0x1a1)]({'id':J[_0x2bb6cf(0x361)]});},(_0x14e953=this[_0x1d9a2c(0x359)]['getConfig'](ke))!=null?_0x14e953:lt);}[_0xff55f3(0x3a1)](){var _0x2ba7d0=_0xff55f3;this[_0x2ba7d0(0x10c)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x2ba7d0(0x10c)]=null);}[_0xff55f3(0x2ae)](_0x44fb56){var _0x28c602=_0xff55f3;if(!this[_0x28c602(0x9d)])return;const {data:_0x415ead}=_0x44fb56,{unitID:_0x555df6,changeset:_0x333330}=_0x415ead,{mutations:_0x3e66f4,type:_0x6aa494}=_0x333330;this[_0x28c602(0x257)]={'unitId':_0x555df6,'type':_0x6aa494,'startTime':performance[_0x28c602(0xc2)](),'stopTime':0x0,'duration':0x0,'size':Vt(_0x3e66f4)};}[_0xff55f3(0x150)](){var _0x1420dc=_0xff55f3;if(this[_0x1420dc(0x9d)]){if(!this[_0x1420dc(0x257)]){this['_logService'][_0x1420dc(0xd5)](_0x1420dc(0x273),_0x1420dc(0x14e));return;}this[_0x1420dc(0x257)][_0x1420dc(0xe7)]=performance[_0x1420dc(0xc2)](),this[_0x1420dc(0x257)][_0x1420dc(0x2b8)]=this[_0x1420dc(0x257)][_0x1420dc(0xe7)]-this[_0x1420dc(0x257)][_0x1420dc(0x3a6)],this[_0x1420dc(0x37e)]['capture'](Ft,this['_telemetryInfo']),this[_0x1420dc(0x257)]=null;}}[_0xff55f3(0x376)](){this['_telemetryInfo']=null;}},exports[_0xff55f3(0x281)]=qt([ce(0x2,o['ILogService']),ce(0x3,o[_0xff55f3(0x404)]),ce(0x4,o[_0xff55f3(0x187)](exports['MemberService'])),ce(0x5,o[_0xff55f3(0x187)]($e)),ce(0x6,o[_0xff55f3(0x187)](ee)),ce(0x7,o[_0xff55f3(0x18e)](Nt[_0xff55f3(0xfe)]))],exports[_0xff55f3(0x281)]);const q=o[_0xff55f3(0x2f5)](_0xff55f3(0x218));function zt(_0x2d8782){var _0x149188=_0xff55f3;return _0x149188(0x1d3)+_0x2d8782;}var Xt=Object[_0xff55f3(0x3c8)],Jt=(_0x1b6063,_0x1e632f,_0x40b762,_0x483f3e)=>{var _0x36a79f=_0xff55f3;for(var _0x28a12a=_0x483f3e>0x1?void 0x0:_0x483f3e?Xt(_0x1e632f,_0x40b762):_0x1e632f,_0x4c4160=_0x1b6063[_0x36a79f(0x2cf)]-0x1,_0x32018e;_0x4c4160>=0x0;_0x4c4160--)(_0x32018e=_0x1b6063[_0x4c4160])&&(_0x28a12a=_0x32018e(_0x28a12a)||_0x28a12a);return _0x28a12a;},Ue=(_0x24e245,_0x32969b)=>(_0x134444,_0x399e14)=>_0x32969b(_0x134444,_0x399e14,_0x24e245);function Zt(_0x4dc7b7){var _0x2926f1=_0xff55f3;const {unitID:_0x33fe05,mutations:_0x1da2ae}=_0x4dc7b7;return{'unitId':_0x33fe05,'subUnitId':_0x1da2ae[_0x2926f1(0x2cf)]>0x0?_0x1da2ae[0x0][_0x2926f1(0x17f)][_0x2926f1(0x390)]:null};}exports['SheetTransformSelectionsService']=class{constructor(_0x1b5153,_0x40410a,_0xc8cea3){this['_injector']=_0x1b5153,this['_transformService']=_0x40410a,this['_instanceService']=_0xc8cea3;}[_0xff55f3(0x408)](_0x110359){var _0x5b43da=_0xff55f3,_0x2e0b63,_0x255f32,_0x240017,_0x360f65;const _0x58217c=this[_0x5b43da(0x1ec)]['get'](Q[_0x5b43da(0x19b)]),{unitId:_0x4d8e62,subUnitId:_0x15ea7c}=Zt(_0x110359),_0x574c93=_0x58217c==null?void 0x0:_0x58217c[_0x5b43da(0x139)](_0x4d8e62)['getCurrentSelections'](),_0x31320d=(_0x255f32=(_0x2e0b63=this[_0x5b43da(0x29b)][_0x5b43da(0x211)](_0x4d8e62))==null?void 0x0:_0x2e0b63[_0x5b43da(0xbf)]())==null?void 0x0:_0x255f32[_0x5b43da(0x38e)]();if(_0x574c93[_0x5b43da(0x2cf)]===0x0||!_0x4d8e62||!_0x15ea7c)return;const _0x479315=[{'id':Q['SetSelectionsOperation']['id'],'params':{'unitId':_0x4d8e62,'subUnitId':_0x31320d,'selections':o[_0x5b43da(0x3f8)][_0x5b43da(0x116)](_0x574c93)}}],_0x264a53=this['_transformService']['transformMutationsWithChangeset'](_0x110359,_0x479315);if(!E['isTransformMutationsWithChangesetSuccess'](_0x264a53))throw _0x264a53[_0x5b43da(0xd5)];const _0x3ac4fa=(_0x360f65=(_0x240017=_0x264a53[_0x5b43da(0x11c)][0x0])==null?void 0x0:_0x240017[_0x5b43da(0x17f)])==null?void 0x0:_0x360f65[_0x5b43da(0x32b)];if(Array[_0x5b43da(0x3a8)](_0x3ac4fa)&&_0x3ac4fa[_0x5b43da(0x2cf)]){if(_0x3ac4fa[_0x5b43da(0x2cf)]===_0x479315[0x0]['params'][_0x5b43da(0x32b)][_0x5b43da(0x2cf)]&&_0x3ac4fa[_0x5b43da(0x2b0)]((_0x10d535,_0x486bfd)=>o['Rectangle'][_0x5b43da(0x3ad)](_0x10d535['range'],_0x479315[0x0][_0x5b43da(0x17f)][_0x5b43da(0x32b)][_0x486bfd][_0x5b43da(0x3ec)])))return;this[_0x5b43da(0x1ec)][_0x5b43da(0x3b2)](o['ICommandService'])['executeCommand'](Q[_0x5b43da(0xf5)]['id'],{'unitId':_0x4d8e62,'subUnitId':_0x31320d,'selections':_0x3ac4fa});}}},exports[_0xff55f3(0x3ae)]=Jt([Ue(0x0,o[_0xff55f3(0x187)](o[_0xff55f3(0x1c3)])),Ue(0x1,E[_0xff55f3(0x2d9)]),Ue(0x2,o[_0xff55f3(0xb2)])],exports[_0xff55f3(0x3ae)]);const ve=o[_0xff55f3(0x2f5)](_0xff55f3(0x1c9));var He=(_0x1e0675=>(_0x1e0675[_0x1e0675[_0xff55f3(0x30c)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x1e0675[_0x1e0675[_0xff55f3(0x282)]=0x1]=_0xff55f3(0x282),_0x1e0675))(He||{});const Y=_0xff55f3(0x2b5),Qt={};function ei(_0x473376){var _0x2b242c=_0xff55f3,_0x428b43;return!!((_0x428b43=_0x473376[_0x2b242c(0x17f)])!=null&&_0x428b43[_0x2b242c(0x165)]);}const ti=new Set([Q[_0xff55f3(0x19a)]['id']]);function Ge(_0x182091,_0x56ec9a,_0x3b9f86,_0x4ff745,_0x2a9db8){var _0x153d1f=_0xff55f3,_0x2c7074,_0x597618,_0x58acb2,_0x296896;const _0x3cdc08=[];for(const _0x38d984 of _0x182091){if(ti[_0x153d1f(0xb9)](_0x38d984['id'])){if(_0x3cdc08[_0x153d1f(0x2cf)]>0x0)break;_0x3cdc08[_0x153d1f(0x36c)](_0x38d984);break;}if(ei(_0x38d984)){if(_0x3cdc08[_0x153d1f(0x2cf)]>0x0)break;_0x3cdc08[_0x153d1f(0x36c)](_0x38d984);break;}_0x3cdc08[_0x153d1f(0x36c)](_0x38d984);}const _0x50ac01=(_0x597618=(_0x2c7074=_0x2a9db8[_0x153d1f(0xfa)]())==null?void 0x0:_0x2c7074[_0x153d1f(0x220)])!=null?_0x597618:_0x153d1f(0xef),_0x2785dd=(_0x296896=(_0x58acb2=_0x2a9db8[_0x153d1f(0xfa)]())==null?void 0x0:_0x58acb2['memberID'])!=null?_0x296896:_0x153d1f(0xef);return{'changeset':{'unitID':_0x56ec9a,'type':E[_0x153d1f(0x27e)](_0x3b9f86[_0x153d1f(0x18b)](_0x56ec9a)),'baseRev':_0x4ff745[_0x153d1f(0x182)](_0x56ec9a),'revision':0x0,'userID':_0x50ac01,'memberID':_0x2785dd,'mutations':_0x3cdc08},'pendingMutations':_0x182091[_0x153d1f(0x1e6)](_0x3cdc08[_0x153d1f(0x2cf)])};}function ii(_0x24240a,_0x2df97b,_0x2c299b,_0x289c90,_0x573892){var _0x308811=_0xff55f3,_0x5c3c01,_0x1a9832,_0x54d9dc,_0x52a145;const _0x151606=[_0x24240a['reduce']((_0x5b80e2,_0x4e95cd)=>{var _0x5e92f5=_0x1e3a,_0x422a8f;const {id:_0x5a3a90}=_0x5b80e2,{id:_0x1f8419,type:_0x1d7d46}=_0x4e95cd,_0x2d938f=(_0x422a8f=_0x5b80e2[_0x5e92f5(0x17f)])!=null?_0x422a8f:{'actions':null},_0x58c2df=_0x4e95cd[_0x5e92f5(0x17f)];if(_0x5a3a90&&_0x5a3a90!==_0x1f8419)throw new Error(_0x5e92f5(0x339)+_0x5a3a90+_0x5e92f5(0x31c)+_0x1f8419+'.');return{..._0x5b80e2,'id':_0x1f8419,'type':_0x1d7d46,'params':{'unitId':_0x58c2df[_0x5e92f5(0x3ee)],'textRanges':_0x58c2df[_0x5e92f5(0x41c)],'actions':o['JSONX']['compose'](_0x2d938f[_0x5e92f5(0x35f)],_0x58c2df['actions'])}};},{})],_0x138c42=(_0x1a9832=(_0x5c3c01=_0x573892[_0x308811(0xfa)]())==null?void 0x0:_0x5c3c01[_0x308811(0x220)])!=null?_0x1a9832:_0x308811(0xef),_0x22393b=(_0x52a145=(_0x54d9dc=_0x573892[_0x308811(0xfa)]())==null?void 0x0:_0x54d9dc[_0x308811(0x385)])!=null?_0x52a145:_0x308811(0xef);return{'changeset':{'unitID':_0x2df97b,'type':E[_0x308811(0x27e)](_0x2c299b[_0x308811(0x18b)](_0x2df97b)),'baseRev':_0x289c90[_0x308811(0x182)](_0x2df97b),'revision':0x0,'userID':_0x138c42,'memberID':_0x22393b,'mutations':_0x151606},'pendingMutations':[]};}function St(_0x40237c,_0x57aab4){var _0x160fe2=_0xff55f3;const _0x17fbeb=new j[(_0x160fe2(0x1d4))](0x1);return setTimeout(()=>_0x17fbeb['next'](_0x57aab4),_0x40237c),_0x17fbeb[_0x160fe2(0x221)]()[_0x160fe2(0xcc)](j[_0x160fe2(0x1bc)](0x1));}var ni=Object[_0xff55f3(0x3c8)],ae=(_0x32fb0f,_0x5eb25f,_0x3e3af6,_0x3eeef7)=>{var _0xef619=_0xff55f3;for(var _0x191d2d=_0x3eeef7>0x1?void 0x0:_0x3eeef7?ni(_0x5eb25f,_0x3e3af6):_0x5eb25f,_0x1586ba=_0x32fb0f[_0xef619(0x2cf)]-0x1,_0x32a81e;_0x1586ba>=0x0;_0x1586ba--)(_0x32a81e=_0x32fb0f[_0x1586ba])&&(_0x191d2d=_0x32a81e(_0x191d2d)||_0x191d2d);return _0x191d2d;},L=(_0x3b793c,_0x5dd2fb)=>(_0x5ab0c2,_0xa2fb7)=>_0x5dd2fb(_0x5ab0c2,_0xa2fb7,_0x3b793c),je=(_0x282e93=>(_0x282e93[_0xff55f3(0x103)]=_0xff55f3(0x156),_0x282e93['SYNCED']=_0xff55f3(0x136),_0x282e93[_0xff55f3(0x238)]=_0xff55f3(0x3de),_0x282e93[_0xff55f3(0xba)]='awaiting',_0x282e93['AWAITING_WITH_PENDING']=_0xff55f3(0x195),_0x282e93[_0xff55f3(0x298)]=_0xff55f3(0x1ab),_0x282e93[_0xff55f3(0x2f0)]=_0xff55f3(0x2ce),_0x282e93[_0xff55f3(0x348)]='offline',_0x282e93))(je||{});const It=0x4e20,ft=0x2bf20;class oe{constructor(_0x4b1e83,_0x4039ab,_0x3e2ef1,_0x3828c1,_0x44ac9e,_0x13a4b3,_0x434a16,_0x53f9ea,_0xc413db){var _0x1e9866=_0xff55f3;A(this,_0x1e9866(0x213),null),A(this,_0x1e9866(0x357),[]),(this[_0x1e9866(0x38b)]=_0x4b1e83,this[_0x1e9866(0x1e9)]=_0x4039ab,this[_0x1e9866(0x1ba)]=_0x44ac9e,this[_0x1e9866(0x2f8)]=_0x13a4b3,this[_0x1e9866(0x180)]=_0x434a16,this[_0x1e9866(0x3e9)]=_0x53f9ea,this[_0x1e9866(0x380)]=_0xc413db,this[_0x1e9866(0x213)]=_0x3e2ef1,this['_pendingMutations']=_0x3828c1);}[_0xff55f3(0x30e)](_0x406838){var _0x4af302=_0xff55f3;const _0x3a49d2=this[_0x4af302(0x3e9)][_0x4af302(0x182)](this[_0x4af302(0x38b)]);return _0x406838['revision']>_0x3a49d2+0x1?(this[_0x4af302(0x1ba)][_0x4af302(0x29c)]({'from':_0x3a49d2,'to':_0x406838[_0x4af302(0x115)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x2fffce){var _0x4b65e4=_0xff55f3;this[_0x4b65e4(0x180)][_0x4b65e4(0x19e)](this[_0x4b65e4(0x38b)],_0x2fffce);}[_0xff55f3(0x2e5)](_0x41c132){var _0x9a515=_0xff55f3,_0x3f67cd,_0x21aeee;(_0x21aeee=(_0x3f67cd=this['_handler'])[_0x9a515(0x2ed)])==null||_0x21aeee[_0x9a515(0x2e6)](_0x3f67cd,_0x41c132);}[_0xff55f3(0x410)](_0x3bbbad){var _0x39c8c8=_0xff55f3,_0x37fa0e,_0x276c7a;return(_0x276c7a=(_0x37fa0e=this[_0x39c8c8(0x1ba)])[_0x39c8c8(0x3a2)])==null?void 0x0:_0x276c7a[_0x39c8c8(0x2e6)](_0x37fa0e,_0x3bbbad);}['_transformStateCache'](_0x3dd548){var _0x487c01=_0xff55f3,_0x7d8b31,_0x546272;return(_0x546272=(_0x7d8b31=this[_0x487c01(0x1ba)])['onTransformState'])==null?void 0x0:_0x546272[_0x487c01(0x2e6)](_0x7d8b31,_0x3dd548);}['_transformRemoteChangesetByIMECache'](_0x2e97cb){var _0x4c5315=_0xff55f3,_0x5b1d5b,_0x2d126d,_0x5ce3b2;return(_0x5ce3b2=(_0x2d126d=(_0x5b1d5b=this[_0x4c5315(0x1ba)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2d126d[_0x4c5315(0x2e6)](_0x5b1d5b,_0x2e97cb))!=null?_0x5ce3b2:_0x2e97cb;}[_0xff55f3(0x1f0)](_0x96aa7){var _0x479082=_0xff55f3,_0x29a028,_0x18c18f,_0x4f0ebf;return(_0x4f0ebf=(_0x18c18f=(_0x29a028=this[_0x479082(0x1ba)])[_0x479082(0x11f)])==null?void 0x0:_0x18c18f['call'](_0x29a028,_0x96aa7))!=null?_0x4f0ebf:_0x96aa7;}[_0xff55f3(0x317)](_0x5ff8fd){var _0xceeb9c=_0xff55f3,_0x421fc0,_0x555c9f;if(this[_0xceeb9c(0x1e9)]===X[_0xceeb9c(0xc5)]){const {unitID:_0x1699da,mutations:_0x5ac406,memberID:_0x2f6ab2}=_0x5ff8fd,_0x836392=_0x5ac406[_0xceeb9c(0x2cf)]>0x0?_0x5ac406[0x0][_0xceeb9c(0x17f)][_0xceeb9c(0x41c)]:[];Array[_0xceeb9c(0x3a8)](_0x836392)&&_0x836392['length']>0x0&&((_0x555c9f=(_0x421fc0=this[_0xceeb9c(0x1ba)])['onSyncEditingCollabCursor'])==null||_0x555c9f[_0xceeb9c(0x2e6)](_0x421fc0,{'unitID':_0x1699da,'memberID':_0x2f6ab2,'textRanges':_0x836392}));}}[_0xff55f3(0x395)](){var _0x4590cf=_0xff55f3,_0x2759ec;(_0x2759ec=this[_0x4590cf(0x380)])==null||_0x2759ec[_0x4590cf(0x366)](this[_0x4590cf(0x38b)],this['type'],this[_0x4590cf(0x213)],this[_0x4590cf(0x357)]);}[_0xff55f3(0x1e8)](){var _0x5668cb=_0xff55f3;return this[_0x5668cb(0x3e9)][_0x5668cb(0x182)](this[_0x5668cb(0x38b)]);}[_0xff55f3(0x227)](){var _0x2f237e=_0xff55f3;this[_0x2f237e(0x3e9)][_0x2f237e(0x1d8)](this[_0x2f237e(0x38b)]);}[_0xff55f3(0x3a5)](_0x1e341b){var _0xe7049f=_0xff55f3,_0x420af2;let _0x2909f9=this[_0xe7049f(0xb8)](_0x1e341b);_0x2909f9=this['_transformRemoteChangesetByStateCache'](_0x2909f9);const _0x1d35ec=o[_0xe7049f(0x2df)](_0x2909f9[_0xe7049f(0x11b)],this[_0xe7049f(0x2f8)],{'fromCollab':!0x0});if(!_0x1d35ec[_0xe7049f(0x2ea)])throw _0x1d35ec[_0xe7049f(0xd5)]instanceof Error?_0x1d35ec['error']:new Error((_0x420af2=_0x1d35ec[_0xe7049f(0xd5)])!=null?_0x420af2:_0xe7049f(0x270));this[_0xe7049f(0x410)](_0x2909f9),this[_0xe7049f(0x3e0)](_0x2909f9),this[_0xe7049f(0x13a)](_0x1e341b),this['_transformSelections'](_0x2909f9),this[_0xe7049f(0x317)](_0x2909f9),this[_0xe7049f(0x227)]();}}exports[_0xff55f3(0x330)]=class extends oe{constructor(_0x1f28a3,_0x37ad1a,_0x4e956b,_0x4358ca,_0x2e8a94,_0x1fbd0f,_0x220459,_0x21b2f,_0x54a6e4,_0x344e40){var _0x34b7c9=_0xff55f3;super(_0x1f28a3,_0x37ad1a,null,[],_0x4e956b,_0x220459,_0x1fbd0f,_0x4358ca,_0x344e40),A(this,_0x34b7c9(0x329),'synced'),(this[_0x34b7c9(0x1ec)]=_0x2e8a94,this[_0x34b7c9(0x2fa)]=_0x21b2f,this['_transformService']=_0x54a6e4,this[_0x34b7c9(0x326)]=_0x344e40);}['appendMutation'](_0x31a90a){var _0x5deda7=_0xff55f3;const _0x413597=this['_injector'][_0x5deda7(0xc4)](exports[_0x5deda7(0x3d2)],this[_0x5deda7(0x38b)],this[_0x5deda7(0x1e9)],[_0x31a90a],this[_0x5deda7(0x1ba)]);return _0x413597[_0x5deda7(0x386)](),_0x413597[_0x5deda7(0x395)](),_0x413597;}[_0xff55f3(0x2b6)](_0xd0d2fc){var _0x5a253e=_0xff55f3;if(this['_checkMissing'](_0xd0d2fc))return this['_injector'][_0x5a253e(0xc4)](exports[_0x5a253e(0x174)],this[_0x5a253e(0x38b)],this['type'],null,[],null,[_0xd0d2fc],this[_0x5a253e(0x1ba)]);try{const _0x59ae5f=this['_transformService']['transformMutationsWithChangeset'](_0xd0d2fc,[E[_0x5a253e(0xc6)]]);if(E['isTransformMutationsWithChangesetSuccess'](_0x59ae5f)){const {c1Prime:_0x43fd22}=_0x59ae5f;return this['_executeRemoteChangeset'](_0x43fd22),this;}throw _0x59ae5f['error'];}catch(_0x298b11){return this[_0x5a253e(0x2fa)][_0x5a253e(0xd5)](_0x298b11),this['_onConflict'](!0x1);}}[_0xff55f3(0x11a)](_0x2ad9f8){var _0xb26891=_0xff55f3;return this[_0xb26891(0x1ec)][_0xb26891(0xc4)](exports[_0xb26891(0xeb)],this[_0xb26891(0x38b)],this[_0xb26891(0x1e9)],null,[],this[_0xb26891(0x1ba)],_0x2ad9f8);}['onRemoteAck'](){var _0x4f2941=_0xff55f3;throw new Error(_0x4f2941(0x2ad));}[_0xff55f3(0x1a7)](){var _0x3242a1=_0xff55f3;throw new Error(_0x3242a1(0xcd));}[_0xff55f3(0x114)](){return this;}['toggleOffline'](){var _0x4ba8cb=_0xff55f3;return this[_0x4ba8cb(0x1ec)]['createInstance'](exports[_0x4ba8cb(0x117)],this[_0x4ba8cb(0x38b)],this[_0x4ba8cb(0x1e9)],null,[],this[_0x4ba8cb(0x1ba)]);}[_0xff55f3(0x35c)](){return this;}[_0xff55f3(0x397)](){var _0x5a1bb7=_0xff55f3;throw new Error(_0x5a1bb7(0x3f0));}[_0xff55f3(0x411)](){var _0x3336b9=_0xff55f3;const _0x391fed=this[_0x3336b9(0x3e9)][_0x3336b9(0x182)](this[_0x3336b9(0x38b)]);return this[_0x3336b9(0x1ba)]['onMissingChangesets']({'from':_0x391fed,'to':0x0}),this[_0x3336b9(0x1ec)][_0x3336b9(0xc4)](exports[_0x3336b9(0x174)],this[_0x3336b9(0x38b)],this[_0x3336b9(0x1e9)],null,[],null,[],this[_0x3336b9(0x1ba)]);}},exports['SyncedState']=ae([L(0x3,o['Inject'](E[_0xff55f3(0x2db)])),L(0x4,o['Inject'](o[_0xff55f3(0x1c3)])),L(0x5,o[_0xff55f3(0x3a3)]),L(0x6,o[_0xff55f3(0x124)]),L(0x7,o[_0xff55f3(0x29a)]),L(0x8,E[_0xff55f3(0x2d9)]),L(0x9,o[_0xff55f3(0x18e)](q))],exports[_0xff55f3(0x330)]),exports[_0xff55f3(0x3d2)]=class extends oe{constructor(_0x3f9199,_0x41f659,_0x4d3e0a,_0x37494f,_0x112575,_0x525ae9,_0x4d4b6b,_0x39eec6,_0x33e076,_0x43af3f,_0x2ea707,_0x2009d7,_0x2bd6b5,_0x2cd7a6){var _0x5450d3=_0xff55f3;super(_0x3f9199,_0x41f659,null,_0x4d3e0a,_0x37494f,_0x33e076,_0x2bd6b5,_0x525ae9,_0x2cd7a6),A(this,_0x5450d3(0x329),_0x5450d3(0x3de)),A(this,_0x5450d3(0x1a4),null),A(this,'_sendingTimer',null),(this[_0x5450d3(0x1ec)]=_0x112575,this[_0x5450d3(0x159)]=_0x4d4b6b,this[_0x5450d3(0x2fa)]=_0x39eec6,this[_0x5450d3(0x359)]=_0x43af3f,this['_transformService']=_0x2ea707,this[_0x5450d3(0x186)]=_0x2009d7);}[_0xff55f3(0x2b3)](_0x2086bd){var _0xcdc186=_0xff55f3;return this[_0xcdc186(0x357)][_0xcdc186(0x36c)](_0x2086bd),this['_updateLocalCache'](),this;}[_0xff55f3(0x2b6)](_0x1bf16c){var _0x1a1fe1=_0xff55f3;if(this[_0x1a1fe1(0x30e)](_0x1bf16c))return this[_0x1a1fe1(0x157)](),this[_0x1a1fe1(0x1ec)][_0x1a1fe1(0xc4)](exports['FetchingMissState'],this[_0x1a1fe1(0x38b)],this['type'],null,this[_0x1a1fe1(0x357)],null,[_0x1bf16c],this[_0x1a1fe1(0x1ba)]);try{const _0x56d13c=this[_0x1a1fe1(0xb5)][_0x1a1fe1(0x3c9)](_0x1bf16c,this[_0x1a1fe1(0x357)]);if(E[_0x1a1fe1(0x39a)](_0x56d13c)){const {c1Prime:_0xc44000,m2Prime:_0x1f0ef0}=_0x56d13c;this[_0x1a1fe1(0x3a5)](_0xc44000);const _0x53a0ba=this['_injector']['createInstance'](exports[_0x1a1fe1(0x3d2)],this['unitID'],this['type'],_0x1f0ef0,this['_handler']);this[_0x1a1fe1(0x157)]();const _0x43bf58=new Date()['getTime'](),_0x45cd62=this[_0x1a1fe1(0x1a4)]?Math[_0x1a1fe1(0x2ca)](this[_0x1a1fe1(0x1a4)]-_0x43bf58,0x0):this['_getSendChangesetTimeout']();return _0x53a0ba[_0x1a1fe1(0x386)](_0x45cd62),_0x53a0ba;}throw _0x56d13c[_0x1a1fe1(0xd5)];}catch(_0x4cebc8){return this[_0x1a1fe1(0x2fa)][_0x1a1fe1(0xd5)](_0x4cebc8),this[_0x1a1fe1(0x11a)](!0x1);}}[_0xff55f3(0x3cd)](){var _0x212544=_0xff55f3;throw new Error(_0x212544(0x3fc));}[_0xff55f3(0x1a7)](){var _0x45baba=_0xff55f3;throw new Error(_0x45baba(0x2f7));}[_0xff55f3(0x114)](){return this;}[_0xff55f3(0x3cf)](){var _0x5cd3b1=_0xff55f3;return this[_0x5cd3b1(0x157)](),this[_0x5cd3b1(0x1ec)][_0x5cd3b1(0xc4)](exports[_0x5cd3b1(0x117)],this['unitID'],this[_0x5cd3b1(0x1e9)],null,this[_0x5cd3b1(0x357)],this[_0x5cd3b1(0x1ba)]);}[_0xff55f3(0x35c)](){return this;}[_0xff55f3(0x386)](_0x4b0ecf){var _0x3b2479=_0xff55f3;const _0xc68d0d=_0x4b0ecf!=null?_0x4b0ecf:this[_0x3b2479(0x1fd)]();this[_0x3b2479(0x1a4)]=new Date()[_0x3b2479(0x3a4)]()+_0xc68d0d,this['_sendingTimer']=setTimeout(()=>{var _0x55b13c=_0x3b2479;this[_0x55b13c(0x157)]();let _0x6ac65=null;switch(this[_0x55b13c(0x1e9)]){case X['UNIVER_SHEET']:{_0x6ac65=Ge(this['_pendingMutations'],this[_0x55b13c(0x38b)],this[_0x55b13c(0x186)],this['_revisionService'],this[_0x55b13c(0x159)]);break;}case X[_0x55b13c(0xc5)]:{this[_0x55b13c(0x357)][_0x55b13c(0x2b0)](_0x2722c8=>_0x2722c8['id']===ct[_0x55b13c(0x1ee)]['id'])?_0x6ac65=ii(this[_0x55b13c(0x357)],this[_0x55b13c(0x38b)],this[_0x55b13c(0x186)],this['_revisionService'],this[_0x55b13c(0x159)]):_0x6ac65=Ge(this['_pendingMutations'],this['unitID'],this[_0x55b13c(0x186)],this[_0x55b13c(0x3e9)],this[_0x55b13c(0x159)]);break;}default:throw new Error(_0x55b13c(0x372)+this['type']+_0x55b13c(0x34d));}const {changeset:_0xc2070b,pendingMutations:_0x1158b1}=_0x6ac65;this[_0x55b13c(0x1ba)]['onSendChangeset'](_0xc2070b);const _0x40223e=_0x1158b1['length']?this[_0x55b13c(0x1ec)][_0x55b13c(0xc4)](exports['AwaitingWithPendingState'],this[_0x55b13c(0x38b)],this[_0x55b13c(0x1e9)],_0xc2070b,_0x1158b1,this[_0x55b13c(0x1ba)],void 0x0):this[_0x55b13c(0x1ec)]['createInstance'](exports[_0x55b13c(0x99)],this[_0x55b13c(0x38b)],this['type'],_0xc2070b,this[_0x55b13c(0x1ba)]);_0x40223e[_0x55b13c(0x395)](),this[_0x55b13c(0x1ba)][_0x55b13c(0x232)](this,_0x40223e);},_0xc68d0d);}[_0xff55f3(0x1fd)](){var _0x4ee334=_0xff55f3,_0x45622f;const _0x23ccf7=this['_configService'][_0x4ee334(0x1fc)](Y);return(_0x45622f=_0x23ccf7==null?void 0x0:_0x23ccf7[_0x4ee334(0x98)])!=null?_0x45622f:At;}[_0xff55f3(0x397)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xff55f3(0x157)](){var _0x1ceea2=_0xff55f3;this[_0x1ceea2(0x290)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x1ceea2(0x290)]=null);}['_onConflict'](_0x2aec7f){var _0x23caab=_0xff55f3;return this[_0x23caab(0x157)](),this[_0x23caab(0x1ec)][_0x23caab(0xc4)](exports['ConflictState'],this[_0x23caab(0x38b)],this[_0x23caab(0x1e9)],null,this[_0x23caab(0x357)],this[_0x23caab(0x1ba)],_0x2aec7f);}},exports[_0xff55f3(0x3d2)]=ae([L(0x4,o[_0xff55f3(0x187)](o[_0xff55f3(0x1c3)])),L(0x5,o[_0xff55f3(0x187)](E['RevisionService'])),L(0x6,o['Inject'](exports[_0xff55f3(0x34b)])),L(0x7,o[_0xff55f3(0x29a)]),L(0x8,o[_0xff55f3(0x124)]),L(0x9,o[_0xff55f3(0x404)]),L(0xa,E[_0xff55f3(0x2d9)]),L(0xb,o[_0xff55f3(0xb2)]),L(0xc,o[_0xff55f3(0x3a3)]),L(0xd,o[_0xff55f3(0x18e)](q))],exports[_0xff55f3(0x3d2)]),exports[_0xff55f3(0x99)]=class extends oe{constructor(_0x456076,_0x5b44b1,_0x1a8277,_0x305bbd,_0xa5d9e4,_0x2747c4,_0x49128f,_0x48ce73,_0x51db28,_0x5bd080,_0x378256){var _0x4671f5=_0xff55f3;super(_0x456076,_0x5b44b1,_0x1a8277,[],_0x305bbd,_0x49128f,_0x5bd080,_0x2747c4,_0x378256),A(this,_0x4671f5(0x329),_0x4671f5(0x2e2)),A(this,_0x4671f5(0x2ba),0x0),A(this,_0x4671f5(0x33b),0x0),A(this,_0x4671f5(0x23d)),A(this,_0x4671f5(0x197)),(this['_injector']=_0xa5d9e4,this[_0x4671f5(0x2fa)]=_0x48ce73,this[_0x4671f5(0xb5)]=_0x51db28);}['appendMutation'](_0x22fb67){var _0xa34774=_0xff55f3;this[_0xa34774(0x157)]();const _0x23a6ba=this[_0xa34774(0x1ec)][_0xa34774(0xc4)](exports[_0xa34774(0xd4)],this[_0xa34774(0x38b)],this['type'],this['_awaitingChangeset'],[_0x22fb67],this[_0xa34774(0x1ba)],this[_0xa34774(0x23d)]);return _0x23a6ba[_0xa34774(0x395)](),_0x23a6ba;}[_0xff55f3(0x2b6)](_0x5978c7){var _0x583937=_0xff55f3;if(this[_0x583937(0x30e)](_0x5978c7))return this[_0x583937(0x157)](),this[_0x583937(0x1ec)][_0x583937(0xc4)](exports[_0x583937(0x174)],this['unitID'],this[_0x583937(0x1e9)],this[_0x583937(0x213)],[],null,[_0x5978c7],this['_handler']);try{const _0x44a193=this[_0x583937(0xb5)][_0x583937(0x26f)]([_0x5978c7],[this[_0x583937(0x213)]],!0x1);if(E[_0x583937(0x418)](_0x44a193)){const {c1Prime:_0x1f18c7,c2Prime:_0x3d107e}=_0x44a193;this['_executeRemoteChangeset'](_0x1f18c7[0x0]),_0x3d107e[0x0][_0x583937(0x2e4)]=this[_0x583937(0x1e8)](),this[_0x583937(0x157)]();const _0x39b689=this[_0x583937(0x1ec)]['createInstance'](exports[_0x583937(0x99)],this[_0x583937(0x38b)],this[_0x583937(0x1e9)],_0x3d107e[0x0],this['_handler']);return _0x39b689[_0x583937(0x395)](),_0x39b689;}return this['_onConflict'](!0x1);}catch(_0x2181d6){return this[_0x583937(0x2fa)][_0x583937(0xd5)](_0x2181d6),this[_0x583937(0x11a)](!0x1);}}[_0xff55f3(0x3cd)](_0x53e242){var _0x2dffad=_0xff55f3;this[_0x2dffad(0x157)]();const _0x5d0367=this[_0x2dffad(0x3e9)][_0x2dffad(0x182)](this[_0x2dffad(0x38b)]);if(_0x53e242['revision']<_0x5d0367-0x1)return this;if(this['_checkMissing'](_0x53e242))return this[_0x2dffad(0x1ec)][_0x2dffad(0xc4)](exports[_0x2dffad(0x174)],this[_0x2dffad(0x38b)],this['type'],null,[],this[_0x2dffad(0x213)],[],this[_0x2dffad(0x1ba)]);this[_0x2dffad(0x227)]();const _0x1d4588=this[_0x2dffad(0x1ec)][_0x2dffad(0xc4)](exports[_0x2dffad(0x330)],this['unitID'],this[_0x2dffad(0x1e9)],this[_0x2dffad(0x1ba)]);return _0x1d4588['_updateLocalCache'](),_0x1d4588;}[_0xff55f3(0x1a7)](_0x229b45){var _0x169dc4=_0xff55f3;return this[_0x169dc4(0x11a)](!!(_0x229b45!=null&&_0x229b45['isPermissionRej']));}['onRemoteRetry'](_0x2fb3d4){var _0x4e1787=_0xff55f3;return this[_0x4e1787(0x33b)]>ft?this[_0x4e1787(0x3cf)]():(this[_0x4e1787(0x23d)]=St(this[_0x4e1787(0x2ba)],{'timeout':this['_resendTimeout'],'reqId':_0x2fb3d4[_0x4e1787(0x20a)]}),this[_0x4e1787(0x197)]=this[_0x4e1787(0x23d)][_0x4e1787(0x12d)](({reqId:_0x2c00c0,timeout:_0x1f4de8})=>{var _0x978ae2=_0x4e1787;this[_0x978ae2(0x9b)](_0x2c00c0,_0x1f4de8);}),this);}[_0xff55f3(0x3cf)](){var _0x1c4905=_0xff55f3;return this[_0x1c4905(0x157)](),this[_0x1c4905(0x1ec)][_0x1c4905(0xc4)](exports[_0x1c4905(0x117)],this[_0x1c4905(0x38b)],this['type'],this[_0x1c4905(0x213)],[],this[_0x1c4905(0x1ba)]);}[_0xff55f3(0x35c)](){return this;}['resend'](){var _0x1846d1=_0xff55f3;this[_0x1846d1(0x1ba)][_0x1846d1(0x120)](this[_0x1846d1(0x213)]);}[_0xff55f3(0x11a)](_0x421657){var _0x2915bc=_0xff55f3;return this[_0x2915bc(0x157)](),this[_0x2915bc(0x1ec)][_0x2915bc(0xc4)](exports[_0x2915bc(0xeb)],this[_0x2915bc(0x38b)],this[_0x2915bc(0x1e9)],this['_awaitingChangeset'],[],this[_0x2915bc(0x1ba)],_0x421657);}[_0xff55f3(0x9b)](_0x48c771,_0x880652){var _0x5b8010=_0xff55f3,_0x1b575b;_0x48c771===((_0x1b575b=this[_0x5b8010(0x213)])==null?void 0x0:_0x1b575b[_0x5b8010(0x20a)])&&(this['resend'](),this['_resendTimeout']=_0x880652===0x0?0x3e8:Math['min'](_0x880652*0x2,It),this['_maxTotalRetryTimeout']+=this[_0x5b8010(0x2ba)]);}[_0xff55f3(0x157)](){var _0x36225b=_0xff55f3,_0x258a01;(_0x258a01=this[_0x36225b(0x197)])==null||_0x258a01[_0x36225b(0x3bd)](),this['_resendTimeout']=0x0,this[_0x36225b(0x33b)]=0x0;}},exports['AwaitingState']=ae([L(0x4,o[_0xff55f3(0x187)](o['Injector'])),L(0x5,o[_0xff55f3(0x187)](E[_0xff55f3(0x2db)])),L(0x6,o[_0xff55f3(0x124)]),L(0x7,o[_0xff55f3(0x29a)]),L(0x8,E['ITransformService']),L(0x9,o[_0xff55f3(0x3a3)]),L(0xa,o['Optional'](q))],exports['AwaitingState']),exports[_0xff55f3(0xd4)]=class extends oe{constructor(_0x270c3b,_0x53835d,_0x4e0da5,_0x2aea92,_0xff9048,_0x1aedd0,_0x68d686,_0x2eccda,_0x2f09e4,_0x9f560a,_0x525cee,_0x5273b5,_0x2718b7){var _0x3dc886=_0xff55f3;super(_0x270c3b,_0x53835d,_0x4e0da5,_0x2aea92,_0xff9048,_0x2f09e4,_0x5273b5,_0x2eccda,_0x2718b7),A(this,'status',_0x3dc886(0x195)),A(this,_0x3dc886(0x2ba),0x0),A(this,_0x3dc886(0x33b),0x0),A(this,'_resendTimer'),A(this,_0x3dc886(0x197)),(this[_0x3dc886(0x1ec)]=_0x68d686,this[_0x3dc886(0x2fa)]=_0x9f560a,this['_transformService']=_0x525cee,this[_0x3dc886(0x326)]=_0x2718b7,_0x1aedd0&&(this[_0x3dc886(0x23d)]=_0x1aedd0,this[_0x3dc886(0x197)]=this['_resendTimer'][_0x3dc886(0x12d)](({reqId:_0x3da41c,timeout:_0x13290e})=>{var _0xb9ea1d=_0x3dc886;this[_0xb9ea1d(0x9b)](_0x3da41c,_0x13290e);})));}['appendMutation'](_0x2cecdf){var _0x3a6ab7=_0xff55f3;return this[_0x3a6ab7(0x357)][_0x3a6ab7(0x36c)](_0x2cecdf),this;}['onRemoteChangeset'](_0xe6ee97){var _0x492eab=_0xff55f3;if(this[_0x492eab(0x30e)](_0xe6ee97))return this[_0x492eab(0x157)](),this['_injector'][_0x492eab(0xc4)](exports['FetchingMissState'],this[_0x492eab(0x38b)],this[_0x492eab(0x1e9)],this[_0x492eab(0x213)],this[_0x492eab(0x357)],null,[_0xe6ee97],this[_0x492eab(0x1ba)]);try{const _0x3acf93=this['_transformService'][_0x492eab(0x26f)]([_0xe6ee97],[this[_0x492eab(0x213)]],!0x1);if(E[_0x492eab(0x418)](_0x3acf93)){const {c1Prime:_0x53c040,c2Prime:_0x2f91c4}=_0x3acf93,_0x4f604a=this[_0x492eab(0xb5)]['transformMutationsWithChangeset'](_0x53c040[0x0],this[_0x492eab(0x357)]);if(E['isTransformMutationsWithChangesetSuccess'](_0x4f604a)){const {c1Prime:_0x14ede5,m2Prime:_0x35ecba}=_0x4f604a;return this['_executeRemoteChangeset'](_0x14ede5),_0x2f91c4[0x0][_0x492eab(0x2e4)]=this['_getCurrentRevision'](),this[_0x492eab(0x157)](),this[_0x492eab(0x1ec)]['createInstance'](exports[_0x492eab(0xd4)],this['unitID'],this['type'],_0x2f91c4[0x0],_0x35ecba,this['_handler'],void 0x0);}throw _0x4f604a[_0x492eab(0xd5)];}throw _0x3acf93['error'];}catch(_0x586c06){return this[_0x492eab(0x2fa)][_0x492eab(0xd5)](_0x586c06),this[_0x492eab(0x11a)](!0x1);}}['onRemoteAck'](_0x1aeae6){var _0xf63ffc=_0xff55f3;if(this[_0xf63ffc(0x157)](),this[_0xf63ffc(0x30e)](_0x1aeae6))return this[_0xf63ffc(0x1ec)]['createInstance'](exports[_0xf63ffc(0x174)],this[_0xf63ffc(0x38b)],this['type'],null,this['_pendingMutations'],this[_0xf63ffc(0x213)],[],this[_0xf63ffc(0x1ba)]);this[_0xf63ffc(0x227)]();const _0x547f7d=this['_injector']['createInstance'](exports['PendingState'],this[_0xf63ffc(0x38b)],this[_0xf63ffc(0x1e9)],this[_0xf63ffc(0x357)],this['_handler']);return _0x547f7d[_0xf63ffc(0x386)](),_0x547f7d[_0xf63ffc(0x395)](),_0x547f7d;}[_0xff55f3(0x1a7)](_0x1a5bfc){var _0x59f0cb=_0xff55f3;return this[_0x59f0cb(0x11a)](!!(_0x1a5bfc!=null&&_0x1a5bfc[_0x59f0cb(0x228)]));}[_0xff55f3(0x114)](_0x18d4d8){var _0x156777=_0xff55f3;return this[_0x156777(0x33b)]>ft?this[_0x156777(0x3cf)]():(this[_0x156777(0x23d)]=St(this[_0x156777(0x2ba)],{'timeout':this['_resendTimeout'],'reqId':_0x18d4d8['reqId']}),this[_0x156777(0x197)]=this[_0x156777(0x23d)][_0x156777(0x12d)](({reqId:_0x329e06,timeout:_0x12ae75})=>{var _0x11425f=_0x156777;this[_0x11425f(0x9b)](_0x329e06,_0x12ae75);}),this);}[_0xff55f3(0x3cf)](){var _0x22dd49=_0xff55f3;return this['_clearScheduledTask'](),this[_0x22dd49(0x1ec)][_0x22dd49(0xc4)](exports[_0x22dd49(0x117)],this[_0x22dd49(0x38b)],this[_0x22dd49(0x1e9)],this['_awaitingChangeset'],this[_0x22dd49(0x357)],this['_handler']);}[_0xff55f3(0x35c)](){return this;}['resend'](){var _0x30da91=_0xff55f3;this['_handler']['onSendChangeset'](this[_0x30da91(0x213)]);}[_0xff55f3(0x11a)](_0x2a8f2a){var _0x1dbe57=_0xff55f3;return this[_0x1dbe57(0x157)](),this[_0x1dbe57(0x1ec)][_0x1dbe57(0xc4)](exports['ConflictState'],this[_0x1dbe57(0x38b)],this[_0x1dbe57(0x1e9)],null,this['_pendingMutations'],this[_0x1dbe57(0x1ba)],_0x2a8f2a);}[_0xff55f3(0x9b)](_0x250f73,_0x476852){var _0x52aa47=_0xff55f3,_0xf2b863;_0x250f73===((_0xf2b863=this[_0x52aa47(0x213)])==null?void 0x0:_0xf2b863[_0x52aa47(0x20a)])&&(this[_0x52aa47(0x397)](),this[_0x52aa47(0x2ba)]=_0x476852===0x0?0x3e8:Math[_0x52aa47(0x414)](_0x476852*0x2,It),this[_0x52aa47(0x33b)]+=this['_resendTimeout']);}[_0xff55f3(0x157)](){var _0x593ee9=_0xff55f3,_0xfa4df7;(_0xfa4df7=this[_0x593ee9(0x197)])==null||_0xfa4df7[_0x593ee9(0x3bd)](),this['_resendTimeout']=0x0,this[_0x593ee9(0x33b)]=0x0;}},exports[_0xff55f3(0xd4)]=ae([L(0x6,o[_0xff55f3(0x187)](o['Injector'])),L(0x7,o[_0xff55f3(0x187)](E[_0xff55f3(0x2db)])),L(0x8,o[_0xff55f3(0x124)]),L(0x9,o[_0xff55f3(0x29a)]),L(0xa,E['ITransformService']),L(0xb,o['IUndoRedoService']),L(0xc,o['Optional'](q))],exports[_0xff55f3(0xd4)]),exports[_0xff55f3(0xeb)]=class extends oe{constructor(_0x5573b5,_0x37c111,_0x287cc0,_0x3ee86a,_0x29d767,_0x207638=!0x1,_0x55577c,_0x1ae9c5,_0x5641b0,_0x490743,_0xc88d05,_0x42373a,_0xae26d7){var _0x2869f0=_0xff55f3;super(_0x5573b5,_0x37c111,_0x287cc0,_0x3ee86a,_0x29d767,_0x1ae9c5,_0x5641b0,_0x490743,_0xae26d7),A(this,_0x2869f0(0x329),_0x2869f0(0x2ce)),(this['_isPermissionRej']=_0x207638,this[_0x2869f0(0x3c6)]=_0x55577c,this[_0x2869f0(0x32a)]=_0xc88d05,this[_0x2869f0(0x1ac)]=_0x42373a,this[_0x2869f0(0x326)]=_0xae26d7,this[_0x2869f0(0x325)](),this[_0x2869f0(0x2ee)](),this[_0x2869f0(0x292)]());}['appendMutation'](){return this;}[_0xff55f3(0x2b6)](){return this;}[_0xff55f3(0x3cd)](){return this;}[_0xff55f3(0x1a7)](){return this;}[_0xff55f3(0x114)](){return this;}[_0xff55f3(0x3cf)](){return this;}[_0xff55f3(0x35c)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x9aba0e=_0xff55f3,_0xefba06;(_0xefba06=this[_0x9aba0e(0x380)])==null||_0xefba06['updateOfflineData'](this['unitID'],this[_0x9aba0e(0x1e9)],null,[]);}[_0xff55f3(0x325)](){var _0x5d783a=_0xff55f3;this[_0x5d783a(0xd2)]?this[_0x5d783a(0x1ac)][_0x5d783a(0x1a1)]({'id':J[_0x5d783a(0xab)]}):this[_0x5d783a(0x1ac)][_0x5d783a(0x1a1)]({'id':J['CONFLICT']});}['_disableEditing'](){var _0x3d3a4c=_0xff55f3;this['_permissionService'][_0x3d3a4c(0x1bd)](new Q[(_0x3d3a4c(0x1e5))](this[_0x3d3a4c(0x38b)])['id'],!0x1);}},exports[_0xff55f3(0xeb)]=ae([L(0x6,o['Inject'](o[_0xff55f3(0x1b8)])),L(0x7,o['ICommandService']),L(0x8,o[_0xff55f3(0x3a3)]),L(0x9,o['Inject'](E['RevisionService'])),L(0xa,o['Inject'](o[_0xff55f3(0xec)])),L(0xb,o[_0xff55f3(0x187)](ee)),L(0xc,o[_0xff55f3(0x18e)](q))],exports[_0xff55f3(0xeb)]),exports[_0xff55f3(0x117)]=class extends oe{constructor(_0x531ac6,_0x2de947,_0x27a9fd,_0x53f05b,_0x4e3b46,_0x1fbc0c,_0x21c5dd,_0x3daed8,_0x9cb0c4,_0x5c3ba6){var _0x32561e=_0xff55f3;super(_0x531ac6,_0x2de947,_0x27a9fd,_0x53f05b,_0x4e3b46,_0x3daed8,_0x9cb0c4,_0x21c5dd,_0x5c3ba6),A(this,'status',_0x32561e(0x369)),this[_0x32561e(0x1ec)]=_0x1fbc0c;}[_0xff55f3(0x2b3)](_0x1041ff){var _0x55493f=_0xff55f3;return this['_pendingMutations'][_0x55493f(0x36c)](_0x1041ff),this[_0x55493f(0x395)](),this;}[_0xff55f3(0x2b6)](_0x501df4){var _0x33a453=_0xff55f3;throw new Error(_0x33a453(0x3ce));}[_0xff55f3(0x3cd)](){var _0x3047bf=_0xff55f3;throw new Error(_0x3047bf(0x3ba));}['onRemoteRej'](){var _0x2ab694=_0xff55f3;throw new Error(_0x2ab694(0x391));}['onRemoteRetry'](){return this;}[_0xff55f3(0x3cf)](){return this;}[_0xff55f3(0x35c)](){var _0x219ea9=_0xff55f3;const {_injector:_0x10a258,_pendingMutations:_0xae6e76,_awaitingChangeset:_0x2eb33a,unitID:_0x169f3b,_handler:_0x393461,type:_0x69fbec}=this,_0x41e637=Et(_0x10a258,_0x169f3b,_0x69fbec,_0x2eb33a,_0xae6e76,_0x393461);return _0x41e637 instanceof exports[_0x219ea9(0x3d2)]?_0x41e637[_0x219ea9(0x386)]():(_0x41e637 instanceof exports['AwaitingWithPendingState']||_0x41e637 instanceof exports[_0x219ea9(0x99)])&&_0x41e637[_0x219ea9(0x397)](),_0x41e637;}[_0xff55f3(0x397)](){var _0x517d02=_0xff55f3;throw new Error(_0x517d02(0x3b3));}},exports[_0xff55f3(0x117)]=ae([L(0x5,o['Inject'](o['Injector'])),L(0x6,o[_0xff55f3(0x187)](E[_0xff55f3(0x2db)])),L(0x7,o[_0xff55f3(0x124)]),L(0x8,o[_0xff55f3(0x3a3)]),L(0x9,o['Optional'](q))],exports[_0xff55f3(0x117)]),exports['FetchingMissState']=class extends oe{constructor(_0x12ac1e,_0x370cb4,_0x326678,_0x44e4e9,_0x3ee9d8,_0x2e950c,_0x3e141e,_0x47e4e1,_0x2b8dc5,_0x18eb23,_0x5e5e50,_0x1e8781,_0xafcaa6,_0x1a532a){var _0x3393ac=_0xff55f3;super(_0x12ac1e,_0x370cb4,_0x326678,_0x44e4e9,_0x3e141e,_0x5e5e50,_0x1e8781,_0x2b8dc5,_0x1a532a),A(this,'status',_0x3393ac(0x1ab)),(this['_acknowledgedAwaitingChangeset']=_0x3ee9d8,this[_0x3393ac(0x3ea)]=_0x2e950c,this[_0x3393ac(0x1ec)]=_0x47e4e1,this[_0x3393ac(0x2fa)]=_0x18eb23,this['_transformService']=_0xafcaa6,this['localCacheService']=_0x1a532a);}['onMissedChangesetFetched'](_0x2f8102){var _0x30162b=_0xff55f3;try{const _0x4775b6=[..._0x2f8102,...this[_0x30162b(0x3ea)]],_0x259fe0=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x30162b(0x155)](_0x1cd324=>!!_0x1cd324);let _0x5b49c7,_0x57aac9;if(_0x259fe0[_0x30162b(0x2cf)]){const _0xdb2ea7=this[_0x30162b(0xb5)][_0x30162b(0x26f)](_0x4775b6,_0x259fe0,!0x1);if(!E[_0x30162b(0x418)](_0xdb2ea7))throw _0xdb2ea7[_0x30162b(0xd5)];_0x5b49c7=_0xdb2ea7[_0x30162b(0x127)],_0x57aac9=_0xdb2ea7[_0x30162b(0x2f4)];}else _0x5b49c7=_0x4775b6,_0x57aac9=[];let _0x51134b=this[_0x30162b(0x357)];_0x5b49c7['forEach'](_0x3422e1=>{var _0x1ee777=_0x30162b;let _0x548bff;if(_0x51134b[_0x1ee777(0x2cf)]){const _0x4e3aad=this[_0x1ee777(0xb5)][_0x1ee777(0x3c9)](_0x3422e1,_0x51134b);if(!E['isTransformMutationsWithChangesetSuccess'](_0x4e3aad))throw _0x4e3aad['error'];_0x548bff=_0x4e3aad['c1Prime'],_0x51134b=_0x4e3aad['m2Prime'];}else _0x548bff=_0x3422e1;this[_0x1ee777(0x3a5)](_0x548bff);}),this[_0x30162b(0x198)]&&this[_0x30162b(0x227)](),this['_awaitingChangeset']&&_0x57aac9[_0x30162b(0x2cf)]&&(_0x57aac9[0x0][_0x30162b(0x2e4)]=this[_0x30162b(0x1e8)]());let _0x3dcbec;if(this[_0x30162b(0x213)]&&_0x51134b[_0x30162b(0x2cf)]!==0x0)_0x3dcbec=this[_0x30162b(0x1ec)][_0x30162b(0xc4)](exports['AwaitingWithPendingState'],this[_0x30162b(0x38b)],this[_0x30162b(0x1e9)],_0x57aac9[0x0],_0x51134b,this[_0x30162b(0x1ba)],void 0x0);else{if(this['_awaitingChangeset']&&_0x51134b[_0x30162b(0x2cf)]===0x0)_0x57aac9[0x0][_0x30162b(0x2e4)]=this[_0x30162b(0x1e8)](),_0x3dcbec=this[_0x30162b(0x1ec)][_0x30162b(0xc4)](exports[_0x30162b(0x99)],this[_0x30162b(0x38b)],this[_0x30162b(0x1e9)],_0x57aac9[0x0],this[_0x30162b(0x1ba)]);else{if(_0x51134b[_0x30162b(0x2cf)]!==0x0){const _0x403b45=this[_0x30162b(0x1ec)][_0x30162b(0xc4)](exports[_0x30162b(0x3d2)],this['unitID'],this[_0x30162b(0x1e9)],_0x51134b,this['_handler']);_0x403b45[_0x30162b(0x386)](),_0x3dcbec=_0x403b45;}else _0x3dcbec=this[_0x30162b(0x1ec)][_0x30162b(0xc4)](exports[_0x30162b(0x330)],this[_0x30162b(0x38b)],this['type'],this[_0x30162b(0x1ba)]);}}return _0x3dcbec['_updateLocalCache'](),_0x3dcbec;}catch(_0xffc63d){return this[_0x30162b(0x2fa)][_0x30162b(0xd5)](_0x30162b(0x190),_0x30162b(0x333),_0xffc63d),this[_0x30162b(0x1ec)][_0x30162b(0xc4)](exports['ConflictState'],this[_0x30162b(0x38b)],this[_0x30162b(0x1e9)],this[_0x30162b(0x213)],this[_0x30162b(0x357)],this[_0x30162b(0x1ba)],!0x1);}}[_0xff55f3(0x397)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xff55f3(0x2b3)](_0xcdeed0){var _0x4f0626=_0xff55f3;return this[_0x4f0626(0x357)][_0x4f0626(0x36c)](_0xcdeed0),this;}['onRemoteChangeset'](_0x10132f){var _0x2f3ff4=_0xff55f3;return this[_0x2f3ff4(0x3ea)]['push'](_0x10132f),this;}[_0xff55f3(0x3cd)](_0x19f91a){var _0x10caf7=_0xff55f3;if(this[_0x10caf7(0x213)])return this[_0x10caf7(0x198)]=this[_0x10caf7(0x213)],this['_awaitingChangeset']=null,this;throw new Error(_0x10caf7(0x111));}[_0xff55f3(0x1a7)](_0x12721e){var _0x20c60b=_0xff55f3;return this['_onConflict'](!!(_0x12721e!=null&&_0x12721e[_0x20c60b(0x228)]));}['onRemoteRetry'](){return this;}[_0xff55f3(0x3cf)](){var _0x3406a3=_0xff55f3;return this[_0x3406a3(0x1ec)]['createInstance'](exports[_0x3406a3(0x117)],this[_0x3406a3(0x38b)],this['type'],this['_awaitingChangeset'],this[_0x3406a3(0x357)],this[_0x3406a3(0x1ba)]);}[_0xff55f3(0x35c)](){return this;}['_onConflict'](_0x1c652f){var _0x52135e=_0xff55f3;return this[_0x52135e(0x1ec)][_0x52135e(0xc4)](exports[_0x52135e(0xeb)],this[_0x52135e(0x38b)],this['type'],this[_0x52135e(0x213)],this[_0x52135e(0x357)],this[_0x52135e(0x1ba)],_0x1c652f);}},exports[_0xff55f3(0x174)]=ae([L(0x7,o[_0xff55f3(0x187)](o[_0xff55f3(0x1c3)])),L(0x8,o[_0xff55f3(0x187)](E[_0xff55f3(0x2db)])),L(0x9,o['ILogService']),L(0xa,o[_0xff55f3(0x124)]),L(0xb,o[_0xff55f3(0x3a3)]),L(0xc,E[_0xff55f3(0x2d9)]),L(0xd,o[_0xff55f3(0x18e)](q))],exports[_0xff55f3(0x174)]);function _0x1e3a(_0x4f4ef3,_0x3174d8){_0x4f4ef3=_0x4f4ef3-0x93;var _0x5c9843=_0x5c98();var _0x1e3a4e=_0x5c9843[_0x4f4ef3];return _0x1e3a4e;}function Et(_0x291224,_0x4b2ba0,_0x1dee06,_0x183634,_0x2a6214,_0x3e3aef){var _0x397327=_0xff55f3;return _0x183634&&_0x2a6214[_0x397327(0x2cf)]?_0x291224['createInstance'](exports[_0x397327(0xd4)],_0x4b2ba0,_0x1dee06,_0x183634,_0x2a6214,_0x3e3aef,void 0x0):_0x183634?_0x291224[_0x397327(0xc4)](exports[_0x397327(0x99)],_0x4b2ba0,_0x1dee06,_0x183634,_0x3e3aef):_0x2a6214[_0x397327(0x2cf)]?_0x291224['createInstance'](exports[_0x397327(0x3d2)],_0x4b2ba0,_0x1dee06,_0x2a6214,_0x3e3aef):_0x291224['createInstance'](exports[_0x397327(0x330)],_0x4b2ba0,_0x1dee06,_0x3e3aef);}var si=Object[_0xff55f3(0x3c8)],Be=(_0x2b283c,_0x489ae6,_0x67222e,_0xf31274)=>{var _0x4386cf=_0xff55f3;for(var _0x5dbecc=_0xf31274>0x1?void 0x0:_0xf31274?si(_0x489ae6,_0x67222e):_0x489ae6,_0x13da89=_0x2b283c[_0x4386cf(0x2cf)]-0x1,_0x2e7685;_0x13da89>=0x0;_0x13da89--)(_0x2e7685=_0x2b283c[_0x13da89])&&(_0x5dbecc=_0x2e7685(_0x5dbecc)||_0x5dbecc);return _0x5dbecc;},$=(_0x357dae,_0x4c7ccd)=>(_0x2dbd06,_0x450246)=>_0x4c7ccd(_0x2dbd06,_0x450246,_0x357dae);exports[_0xff55f3(0xe2)]=class extends o['RxDisposable']{constructor(_0x5d39a2,_0x105416,_0x7c8900,_0x3ff187,_0x4d6c56,_0x2d7532,_0x290fb5,_0x345d73,_0x153424,_0x4c187e,_0x637cab,_0xea0e59,_0x2c1cb1,_0x11cc33){var _0x2c3453=_0xff55f3;super(),A(this,_0x2c3453(0x2a4),new j[(_0x2c3453(0x41b))](null)),A(this,_0x2c3453(0x178),this[_0x2c3453(0x2a4)][_0x2c3453(0x221)]()),A(this,_0x2c3453(0x3f6)),A(this,'_collaborationPaused',!0x1),A(this,'_changesetSessionId',''),A(this,_0x2c3453(0x233),0x0),A(this,_0x2c3453(0x2c7),this[_0x2c3453(0x178)][_0x2c3453(0xcc)](j[_0x2c3453(0x33a)](_0xb9df53=>_0xb9df53?_0xb9df53['status']:je[_0x2c3453(0x348)]),j[_0x2c3453(0x14f)](0x1))),A(this,'_transitionLocked',!0x1),A(this,_0x2c3453(0x1c0),[]),(this[_0x2c3453(0x38b)]=_0x5d39a2,this['session']=_0x105416,this['_type']=_0x7c8900,this[_0x2c3453(0x1ec)]=_0x3ff187,this['_compressMutationService']=_0x4d6c56,this['_localeService']=_0x2d7532,this[_0x2c3453(0x3e9)]=_0x290fb5,this[_0x2c3453(0x300)]=_0x345d73,this[_0x2c3453(0x186)]=_0x153424,this['_logService']=_0x4c187e,this[_0x2c3453(0x2f8)]=_0x637cab,this[_0x2c3453(0x3c6)]=_0xea0e59,this[_0x2c3453(0x289)]=_0x2c1cb1,this[_0x2c3453(0x380)]=_0x11cc33);}get[_0xff55f3(0x24c)](){var _0x2e78d3=_0xff55f3;return this[_0x2e78d3(0x3f6)];}async['init'](){var _0x221615=_0xff55f3;if(this[_0x221615(0x24c)])throw new Error(_0x221615(0x2a5));await this[_0x221615(0x152)]();}[_0xff55f3(0x40c)](){var _0x50ace5=_0xff55f3;return this[_0x50ace5(0x1de)]=!0x0,o[_0x50ace5(0x400)](()=>{var _0x29da77=_0x50ace5;this[_0x29da77(0x1de)]=!0x1,this[_0x29da77(0x2bd)]();});}[_0xff55f3(0x14b)](_0x645d16){var _0x17a60c=_0xff55f3;this[_0x17a60c(0x2b2)](_0x645d16);}[_0xff55f3(0xfc)](_0x51c6fc){this['_state']=_0x51c6fc,this['_state$']['next'](_0x51c6fc);}async[_0xff55f3(0x152)](){var _0x117f7d=_0xff55f3,_0x523851;this[_0x117f7d(0xfc)](await this['_createInitialState']()),this[_0x117f7d(0x289)]&&((_0x523851=this['_singleActiveUnitService'])==null||_0x523851[_0x117f7d(0x34e)](this[_0x117f7d(0x38b)]),this[_0x117f7d(0xea)](this[_0x117f7d(0x289)][_0x117f7d(0x137)](this[_0x117f7d(0x38b)])[_0x117f7d(0x12d)](_0x3cd70e=>{var _0x127678=_0x117f7d;this[_0x127678(0x2fa)][_0x127678(0x130)](_0x127678(0x416),_0x127678(0x100),_0x3cd70e),_0x3cd70e===He[_0x127678(0x282)]?(this[_0x127678(0x300)][_0x127678(0x1a1)]({'id':J[_0x127678(0x2aa)]}),this[_0x127678(0x3c6)][_0x127678(0x1bd)](new Q['WorkbookEditablePermission'](this[_0x127678(0x38b)])['id'],!0x1),this[_0x127678(0x3c6)][_0x127678(0x2d5)](!0x1)):(this[_0x127678(0x3c6)][_0x127678(0x1bd)](new Q[(_0x127678(0x1e5))](this[_0x127678(0x38b)])['id'],!0x0),this[_0x127678(0x3c6)][_0x127678(0x2d5)](!0x0));})));let _0xb875be=!0x1;return this[_0x117f7d(0xea)](this['session'][_0x117f7d(0x1a9)]['subscribe'](_0x428429=>{var _0x274b39=_0x117f7d;_0x428429===se[_0x274b39(0x28b)]?this[_0x274b39(0x200)](_0xb875be):_0x428429===se[_0x274b39(0x348)]&&(_0xb875be=!0x0,this[_0x274b39(0x3dc)]());})),this[_0x117f7d(0xea)](this[_0x117f7d(0x135)][_0x117f7d(0x3e2)][_0x117f7d(0x12d)](_0x2ca68e=>{var _0x11eefd=_0x117f7d;try{switch(_0x2ca68e[_0x11eefd(0x338)]){case E[_0x11eefd(0x34f)][_0x11eefd(0x33d)]:{this[_0x11eefd(0x274)](E['parseProtocolChangeset'](_0x2ca68e[_0x11eefd(0x2c5)]));break;}case E[_0x11eefd(0x34f)]['CHANGESET_ACK']:{this[_0x11eefd(0x185)](_0x2ca68e['data']);break;}case E[_0x11eefd(0x34f)][_0x11eefd(0x299)]:{this['_onRemoteRejected']();break;}case E['CollaborationEvent'][_0x11eefd(0x37c)]:{this[_0x11eefd(0x311)](_0x2ca68e[_0x11eefd(0x2c5)]);break;}case E['CollaborationEvent'][_0x11eefd(0x40a)]:{this['_onFetchMissResult'](_0x2ca68e[_0x11eefd(0x2c5)][_0x11eefd(0x22d)]['map'](_0x2d52d5=>E['parseProtocolChangeset'](_0x2d52d5)));break;}case E[_0x11eefd(0x34f)][_0x11eefd(0x24a)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case E['CollaborationEvent'][_0x11eefd(0x1f4)]:break;}}catch(_0x44f293){throw console[_0x11eefd(0xd5)](_0x11eefd(0x3f2),_0x44f293),_0x44f293;}})),this[_0x117f7d(0x3f6)];}[_0xff55f3(0xb6)](){this['_transitionLocked']=!0x1;}[_0xff55f3(0x3c5)](){var _0x4d2467=_0xff55f3;if(this[_0x4d2467(0x36f)])throw new Error(_0x4d2467(0x3a0));this[_0x4d2467(0x36f)]=!0x0;}[_0xff55f3(0x2b2)](_0x3e22af){var _0x5053e5=_0xff55f3;this['_lockTransition'](),this[_0x5053e5(0xfc)](this[_0x5053e5(0x3f6)][_0x5053e5(0x2b3)](_0x3e22af)),this[_0x5053e5(0xb6)]();}[_0xff55f3(0x274)](_0x3d5805){var _0x544ad9=_0xff55f3;if(!(_0x3d5805[_0x544ad9(0x115)]<=this[_0x544ad9(0x3e9)][_0x544ad9(0x182)](this[_0x544ad9(0x38b)]))){if(this[_0x544ad9(0x1de)]){this[_0x544ad9(0x1c0)]['push'](_0x3d5805);return;}this['_applyRemoteChangeset'](_0x3d5805);}}['_exhaustRemoteChangesetQueue'](){var _0x2bd3a2=_0xff55f3;this[_0x2bd3a2(0x1c0)][_0x2bd3a2(0x36e)](_0x3499b8=>this['_applyRemoteChangeset'](_0x3499b8)),this['_remoteChangesetQueue']=[];}[_0xff55f3(0xf8)](_0x550964){var _0x3c6792=_0xff55f3;const _0x4e33d3=this[_0x3c6792(0x363)][_0x3c6792(0x2d4)][_0x3c6792(0x287)](this[_0x3c6792(0x363)]['interceptor']['getInterceptPoints']()[_0x3c6792(0xaa)])(_0x550964['mutations'],null)||_0x550964[_0x3c6792(0x11b)],_0x423438={..._0x550964,'mutations':_0x4e33d3};this[_0x3c6792(0x3c5)](),this[_0x3c6792(0xfc)](this['_state']['onRemoteChangeset'](_0x423438)),this[_0x3c6792(0xb6)]();}[_0xff55f3(0x185)](_0x4212be){var _0xbfcec7=_0xff55f3;this[_0xbfcec7(0x3c5)](),this[_0xbfcec7(0xfc)](this['_state'][_0xbfcec7(0x3cd)](_0x4212be)),this[_0xbfcec7(0xb6)]();}[_0xff55f3(0x33e)](_0x24b6b2){var _0x496907=_0xff55f3;this[_0x496907(0x3c5)](),this[_0x496907(0xfc)](this[_0x496907(0x3f6)][_0x496907(0x1a7)](_0x24b6b2)),this[_0x496907(0xb6)]();}[_0xff55f3(0x311)](_0x4a2a01){var _0xc9e364=_0xff55f3;this[_0xc9e364(0x3c5)](),this[_0xc9e364(0xfc)](this['_state'][_0xc9e364(0x114)](_0x4a2a01)),this['_unlockTransition']();}['_onFetchMissResult'](_0x5925e3){var _0xfff58c=_0xff55f3;if(!(this[_0xfff58c(0x3f6)]instanceof exports['FetchingMissState']))throw new TypeError(_0xfff58c(0x31d));const _0x19f18a=_0x5925e3[_0xfff58c(0x33a)](_0x7a6228=>{var _0x3b6f8b=_0xfff58c;const _0x3a724e=this['_compressMutationService'][_0x3b6f8b(0x2d4)][_0x3b6f8b(0x287)](this[_0x3b6f8b(0x363)]['interceptor'][_0x3b6f8b(0x1e0)]()[_0x3b6f8b(0xaa)])(_0x7a6228[_0x3b6f8b(0x11b)],null)||_0x7a6228[_0x3b6f8b(0x11b)];return{..._0x7a6228,'mutations':_0x3a724e};});this[_0xfff58c(0x3c5)](),this[_0xfff58c(0xfc)](this[_0xfff58c(0x3f6)]['onMissedChangesetFetched'](_0x19f18a)),this[_0xfff58c(0xb6)]();}['_toggleOffline'](){var _0xca47a2=_0xff55f3;this[_0xca47a2(0x3c5)](),this[_0xca47a2(0xfc)](this[_0xca47a2(0x3f6)]['toggleOffline']()),this['_unlockTransition']();}[_0xff55f3(0x200)](_0x4cc242=!0x1){var _0x13d7dc=_0xff55f3;this[_0x13d7dc(0x3c5)](),this[_0x13d7dc(0xfc)](this[_0x13d7dc(0x3f6)][_0x13d7dc(0x35c)]()),this[_0x13d7dc(0xb6)]();const _0x28fb59=this[_0x13d7dc(0x3f6)];_0x4cc242&&_0x28fb59 instanceof exports[_0x13d7dc(0x330)]&&(this[_0x13d7dc(0x3c5)](),this['_updateState'](_0x28fb59[_0x13d7dc(0x411)]()),this[_0x13d7dc(0xb6)]());}async[_0xff55f3(0x22b)](){return new Promise(_0x2e72ca=>{var _0x3fd281=_0x1e3a;this['session']['sessionStatus$']['pipe'](j[_0x3fd281(0x1bc)](0x1))[_0x3fd281(0x12d)](async _0x4a5e55=>{var _0x59edf4=_0x3fd281;_0x2e72ca(await this[_0x59edf4(0x15a)](_0x4a5e55===se[_0x59edf4(0x28b)]));});});}[_0xff55f3(0x2fc)](){const _0x251bcc=this['unitID'];return{'onStateChange':(_0x39e1fb,_0x594187)=>{var _0x464862=_0x1e3a;if(_0x39e1fb!==this[_0x464862(0x3f6)])throw new Error(_0x464862(0x297)+_0x39e1fb['status']+_0x464862(0x31f)+_0x594187[_0x464862(0x329)]+'\x0aCurrent:\x20'+this[_0x464862(0x3f6)]['status']);this['_updateState'](_0x594187);},'onSendChangeset':_0x2a44d7=>{var _0x2122f1=_0x1e3a;_0x2a44d7[_0x2122f1(0x95)]||(_0x2a44d7[_0x2122f1(0x95)]=this['_changesetSessionId'],_0x2a44d7[_0x2122f1(0x20a)]=++this['_changesetReqId']);const _0x3d92e0={'eventID':E[_0x2122f1(0x34f)][_0x2122f1(0x1a6)],'data':{'unitID':_0x2a44d7[_0x2122f1(0x38b)],'unitType':this[_0x2122f1(0x18f)],'changeset':_0x2a44d7,'memberID':this[_0x2122f1(0x135)]['getMemberID']()}};this['session'][_0x2122f1(0x421)](_0x3d92e0,this[_0x2122f1(0x38b)]);},'onMissingChangesets':({from:_0x30471b,to:_0x53f1ff})=>{var _0x4cbae4=_0x1e3a;this[_0x4cbae4(0x2fa)][_0x4cbae4(0x130)](_0x4cbae4(0x416),_0x4cbae4(0x11e)+_0x30471b+_0x4cbae4(0x164)+_0x53f1ff);const _0x33ca48={'eventID':E[_0x4cbae4(0x34f)][_0x4cbae4(0x12f)],'data':{'unitID':_0x251bcc,'unitType':this[_0x4cbae4(0x18f)],'from':_0x30471b,'to':_0x53f1ff}};this[_0x4cbae4(0x135)]['send'](_0x33ca48,this[_0x4cbae4(0x38b)]);}};}async[_0xff55f3(0x15a)](_0x2b8344){var _0x105e93=_0xff55f3,_0x5e085b,_0x3df372,_0x36fd7d;const _0x4afa29=await((_0x5e085b=this['_localCacheService'])==null?void 0x0:_0x5e085b['loadOfflineData'](this[_0x105e93(0x38b)])),_0x41a2a3=(_0x3df372=_0x4afa29==null?void 0x0:_0x4afa29[_0x105e93(0x11b)])!=null?_0x3df372:[],_0x10563c=(_0x36fd7d=_0x4afa29==null?void 0x0:_0x4afa29[_0x105e93(0x35e)])!=null?_0x36fd7d:null,_0x2dc863=!!(_0x10563c!=null&&_0x10563c[_0x105e93(0x95)])&&!!(_0x10563c!=null&&_0x10563c['reqId']);this[_0x105e93(0x306)]=_0x2dc863?_0x10563c['sid']:E[_0x105e93(0x27a)](),this['_changesetReqId']=_0x2dc863?_0x10563c['reqId']:0x0;const _0x553a39=this[_0x105e93(0x38b)];try{this[_0x105e93(0x12b)](_0x10563c,_0x41a2a3);}catch(_0x2c8571){this[_0x105e93(0x2fa)][_0x105e93(0xd5)](_0x2c8571);}const _0x1dd6fd=this['_createHandler']();if(_0x2b8344){const _0x58407c=Et(this['_injector'],_0x553a39,this[_0x105e93(0x18f)],_0x10563c,_0x41a2a3,_0x1dd6fd);return _0x58407c instanceof exports[_0x105e93(0x3d2)]?_0x58407c[_0x105e93(0x386)]():(_0x58407c instanceof exports[_0x105e93(0xd4)]||_0x58407c instanceof exports[_0x105e93(0x99)])&&_0x58407c[_0x105e93(0x397)](),_0x58407c;}return this[_0x105e93(0x1ec)][_0x105e93(0xc4)](exports[_0x105e93(0x117)],_0x553a39,this[_0x105e93(0x18f)],_0x10563c,_0x41a2a3,_0x1dd6fd);}[_0xff55f3(0x12b)](_0x271114,_0x45cf40){var _0x3ed439=_0xff55f3,_0x2105ea,_0xbb1ed5;const _0x3923a2=this[_0x3ed439(0x363)]['interceptor'][_0x3ed439(0x287)](this['_compressMutationService'][_0x3ed439(0x2d4)][_0x3ed439(0x1e0)]()[_0x3ed439(0xaa)]);(_0x2105ea=_0x3923a2((_0x271114==null?void 0x0:_0x271114[_0x3ed439(0x11b)])||[],null))==null||_0x2105ea[_0x3ed439(0x36e)](_0x162f41=>this['_commandService'][_0x3ed439(0x16b)](_0x162f41['id'],_0x162f41[_0x3ed439(0x17f)])),(_0xbb1ed5=_0x3923a2(_0x45cf40||[],null))==null||_0xbb1ed5[_0x3ed439(0x36e)](_0x9d3aa1=>this[_0x3ed439(0x2f8)][_0x3ed439(0x16b)](_0x9d3aa1['id'],_0x9d3aa1[_0x3ed439(0x17f)]));}},exports[_0xff55f3(0xe2)]=Be([$(0x3,o['Inject'](o[_0xff55f3(0x1c3)])),$(0x4,o[_0xff55f3(0x187)](E['CompressMutationService'])),$(0x5,o['Inject'](o[_0xff55f3(0xec)])),$(0x6,o[_0xff55f3(0x187)](E[_0xff55f3(0x2db)])),$(0x7,o['Inject'](ee)),$(0x8,o[_0xff55f3(0xb2)]),$(0x9,o[_0xff55f3(0x29a)]),$(0xa,o[_0xff55f3(0x124)]),$(0xb,o[_0xff55f3(0x1b8)]),$(0xc,o[_0xff55f3(0x18e)](ve)),$(0xd,o[_0xff55f3(0x18e)](q))],exports['CollaborationEntity']),exports[_0xff55f3(0x173)]=class extends exports['CollaborationEntity']{constructor(_0x5156ec,_0x4dd037,_0x281c28,_0x511ad8,_0x1f8480,_0x1db8d7,_0x48e154,_0x57819d,_0x585a8f,_0x1c9b4b,_0x4a6476,_0x3de41e,_0x451f4f,_0x2120eb){var _0x1a41d6=_0xff55f3;super(_0x5156ec,_0x281c28,_0x4dd037,_0x511ad8,_0x1f8480,_0x1db8d7,_0x48e154,_0x57819d,_0x585a8f,_0x1c9b4b,_0x4a6476,_0x3de41e,_0x451f4f,_0x2120eb),A(this,_0x1a41d6(0x295),null),(this['unitID']=_0x5156ec,this[_0x1a41d6(0x1e9)]=_0x4dd037);}[_0xff55f3(0x22f)](_0x871293){this['_handlerCallback']=_0x871293;}[_0xff55f3(0x349)](){var _0x58dbd9=_0xff55f3;this[_0x58dbd9(0x295)]=null,super[_0x58dbd9(0x349)]();}['_createHandler'](){var _0x24c30b=_0xff55f3;const _0xcfba3e=super[_0x24c30b(0x2fc)]();return _0xcfba3e['onTransformIME']=_0x4d36fe=>{var _0x17ff6b=_0x24c30b,_0x13c949,_0x12eb65;return(_0x12eb65=(_0x13c949=this['_handlerCallback'])==null?void 0x0:_0x13c949[_0x17ff6b(0x3a2)])==null?void 0x0:_0x12eb65[_0x17ff6b(0x2e6)](_0x13c949,_0x4d36fe);},_0xcfba3e[_0x24c30b(0x1e7)]=_0x16d8ac=>{var _0x7c9c99=_0x24c30b,_0x239fae,_0x1d44d1;return(_0x1d44d1=(_0x239fae=this[_0x7c9c99(0x295)])==null?void 0x0:_0x239fae[_0x7c9c99(0x1e7)])==null?void 0x0:_0x1d44d1['call'](_0x239fae,_0x16d8ac);},_0xcfba3e['onTransformSelections']=_0x45725d=>{var _0x16bf3f=_0x24c30b,_0x1515dc,_0x36d647;return(_0x36d647=(_0x1515dc=this[_0x16bf3f(0x295)])==null?void 0x0:_0x1515dc[_0x16bf3f(0x2ed)])==null?void 0x0:_0x36d647[_0x16bf3f(0x2e6)](_0x1515dc,_0x45725d);},_0xcfba3e['onSyncEditingCollabCursor']=_0x537e1d=>{var _0xe8209c=_0x24c30b,_0x4a9c68,_0x111569;return(_0x111569=(_0x4a9c68=this['_handlerCallback'])==null?void 0x0:_0x4a9c68[_0xe8209c(0x2c3)])==null?void 0x0:_0x111569[_0xe8209c(0x2e6)](_0x4a9c68,_0x537e1d);},_0xcfba3e[_0x24c30b(0x3af)]=_0xad6e2e=>{var _0x8ef11=_0x24c30b,_0x763486,_0x18e268,_0x43b2f5;if(!((_0x763486=this[_0x8ef11(0x295)])!=null&&_0x763486[_0x8ef11(0x3af)]))throw new Error(_0x8ef11(0x15e));return(_0x43b2f5=(_0x18e268=this[_0x8ef11(0x295)])==null?void 0x0:_0x18e268[_0x8ef11(0x3af)])==null?void 0x0:_0x43b2f5[_0x8ef11(0x2e6)](_0x18e268,_0xad6e2e);},_0xcfba3e[_0x24c30b(0x11f)]=_0x2a612f=>{var _0x58b31c=_0x24c30b,_0xa82830,_0x272cde,_0x239f64;if(!((_0xa82830=this[_0x58b31c(0x295)])!=null&&_0xa82830[_0x58b31c(0x11f)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x239f64=(_0x272cde=this[_0x58b31c(0x295)])==null?void 0x0:_0x272cde[_0x58b31c(0x11f)])==null?void 0x0:_0x239f64['call'](_0x272cde,_0x2a612f);},_0xcfba3e;}async[_0xff55f3(0x152)](){var _0x2dae34=_0xff55f3;const _0x37f3be=await super['_init']();return this['disposeWithMe'](this[_0x2dae34(0x2f8)]['onMutationExecutedForCollab']((_0x5cefc5,_0x2d1632)=>{var _0x595361=_0x2dae34;if(_0x5cefc5[_0x595361(0x1e9)]!==o[_0x595361(0x194)]['MUTATION']||_0x2d1632!=null&&_0x2d1632[_0x595361(0x342)]||_0x2d1632!=null&&_0x2d1632[_0x595361(0x1dc)]||_0x5cefc5['id']===ct[_0x595361(0x1ee)]['id'])return;const _0xf100cc=_0x5cefc5['params'];if((_0xf100cc==null?void 0x0:_0xf100cc[_0x595361(0x3ee)])!==this[_0x595361(0x38b)])return;const _0x976f07=_0x5cefc5,_0x3f6531=this['_compressMutationService'][_0x595361(0x2d4)][_0x595361(0x287)](this[_0x595361(0x363)][_0x595361(0x2d4)][_0x595361(0x1e0)]()['COMPRESS_MUTATION_SEND'])([_0x976f07],this[_0x595361(0x186)])||[_0x976f07];this[_0x595361(0x2b2)](_0x3f6531[0x0]);})),_0x37f3be;}},exports['DocCollaborationEntity']=Be([$(0x3,o[_0xff55f3(0x187)](o[_0xff55f3(0x1c3)])),$(0x4,o[_0xff55f3(0x187)](E[_0xff55f3(0xe1)])),$(0x5,o[_0xff55f3(0x187)](o[_0xff55f3(0xec)])),$(0x6,o[_0xff55f3(0x187)](E[_0xff55f3(0x2db)])),$(0x7,o[_0xff55f3(0x187)](ee)),$(0x8,o['IUniverInstanceService']),$(0x9,o[_0xff55f3(0x29a)]),$(0xa,o[_0xff55f3(0x124)]),$(0xb,o[_0xff55f3(0x1b8)]),$(0xc,o[_0xff55f3(0x18e)](ve)),$(0xd,o[_0xff55f3(0x18e)](q))],exports[_0xff55f3(0x173)]),exports[_0xff55f3(0x27f)]=class extends exports[_0xff55f3(0xe2)]{constructor(_0x398df0,_0x451a3a,_0x182942,_0x331357,_0x46a7f4,_0x16d9b1,_0x36d0a0,_0x49b8e4,_0x4f3557,_0x145fd9,_0x13eb4e,_0x314021,_0x3fde8e,_0x36da72,_0x1271fb){var _0x371e1a=_0xff55f3;super(_0x398df0,_0x182942,_0x451a3a,_0x331357,_0x46a7f4,_0x16d9b1,_0x36d0a0,_0x4f3557,_0x145fd9,_0x13eb4e,_0x314021,_0x3fde8e,_0x36da72,_0x1271fb),this['unitID']=_0x398df0,this[_0x371e1a(0x1e9)]=_0x451a3a,this[_0x371e1a(0x97)]=_0x49b8e4;}[_0xff55f3(0x2fc)](){var _0x30acc0=_0xff55f3;const _0x1433d1=super[_0x30acc0(0x2fc)]();return _0x1433d1[_0x30acc0(0x2ed)]=_0x58ea12=>this[_0x30acc0(0x97)][_0x30acc0(0x408)](_0x58ea12),_0x1433d1;}async[_0xff55f3(0x152)](){var _0x4f20c2=_0xff55f3;const _0x16bbbb=await super['_init']();return this[_0x4f20c2(0xea)](this[_0x4f20c2(0x2f8)]['onMutationExecutedForCollab']((_0x328e20,_0x5d2007)=>{var _0x54702b=_0x4f20c2;if(_0x328e20[_0x54702b(0x1e9)]!==o['CommandType'][_0x54702b(0x9a)]||_0x5d2007!=null&&_0x5d2007[_0x54702b(0x342)]||_0x5d2007!=null&&_0x5d2007[_0x54702b(0x1dc)])return;const _0x466d37=_0x328e20['params'];if((_0x466d37==null?void 0x0:_0x466d37[_0x54702b(0x3ee)])!==this[_0x54702b(0x38b)])return;const _0x547ab9=_0x328e20,_0x57f482=this[_0x54702b(0x363)]['interceptor'][_0x54702b(0x287)](this[_0x54702b(0x363)]['interceptor']['getInterceptPoints']()[_0x54702b(0x323)])([_0x547ab9],this[_0x54702b(0x186)])||[_0x547ab9];this[_0x54702b(0x2b2)](_0x57f482[0x0]);})),_0x16bbbb;}},exports[_0xff55f3(0x27f)]=Be([$(0x3,o[_0xff55f3(0x187)](o[_0xff55f3(0x1c3)])),$(0x4,o[_0xff55f3(0x187)](E['CompressMutationService'])),$(0x5,o[_0xff55f3(0x187)](o['LocaleService'])),$(0x6,o[_0xff55f3(0x187)](E[_0xff55f3(0x2db)])),$(0x7,o[_0xff55f3(0x187)](exports[_0xff55f3(0x3ae)])),$(0x8,o[_0xff55f3(0x187)](ee)),$(0x9,o['IUniverInstanceService']),$(0xa,o['ILogService']),$(0xb,o[_0xff55f3(0x124)]),$(0xc,o['IPermissionService']),$(0xd,o[_0xff55f3(0x18e)](ve)),$(0xe,o[_0xff55f3(0x18e)](q))],exports[_0xff55f3(0x27f)]);const pt=o[_0xff55f3(0x2f5)](_0xff55f3(0x3ab));function mt(_0x2b901f){var _0x55e491=_0xff55f3,_0x149b89,_0x554793,_0x55b8d5,_0x26c8f0,_0x992fe9;const _0x4bc2b2=_0x2b901f[_0x55e491(0x2c5)],_0x3a9a83=JSON[_0x55e491(0x20d)](_0x4bc2b2);switch(_0x3a9a83[_0x55e491(0x271)]){case W['HEARTBEAT']:case W[_0x55e491(0x346)]:{const _0x399dff=_0x3a9a83[_0x55e491(0x3dd)];return{..._0x3a9a83,'data':_0x399dff,'cmd':_0x3a9a83[_0x55e491(0x271)]};}case W[_0x55e491(0x285)]:{const _0x5f8e13=_0x3a9a83['joinRsp'];return{..._0x3a9a83,'data':_0x5f8e13,'cmd':_0x3a9a83['cmd']};}case W['RECV']:{const _0xcf7d1e=_0x3a9a83['collaMsg'];switch(_0xcf7d1e['eventID']){case E[_0x55e491(0x34f)][_0x55e491(0x24a)]:return{..._0x3a9a83,'data':{..._0xcf7d1e,'data':(_0x149b89=_0xcf7d1e['permissionRejEvent'])==null?void 0x0:_0x149b89['cs']},'cmd':_0x3a9a83[_0x55e491(0x271)]};case E['CollaborationEvent']['CHANGESET_ACK']:return{..._0x3a9a83,'data':{..._0xcf7d1e,'data':(_0x554793=_0xcf7d1e[_0x55e491(0x31e)])==null?void 0x0:_0x554793['cs']},'cmd':_0x3a9a83['cmd']};case E[_0x55e491(0x34f)][_0x55e491(0x33d)]:return{..._0x3a9a83,'data':{..._0xcf7d1e,'data':(_0x55b8d5=_0xcf7d1e['newCsEvent'])==null?void 0x0:_0x55b8d5['cs']},'cmd':_0x3a9a83[_0x55e491(0x271)]};case E[_0x55e491(0x34f)]['CHANGESET_REJ']:return{..._0x3a9a83,'data':{..._0xcf7d1e,'data':(_0x26c8f0=_0xcf7d1e[_0x55e491(0x11d)])==null?void 0x0:_0x26c8f0['cs']},'cmd':_0x3a9a83[_0x55e491(0x271)]};case E[_0x55e491(0x34f)][_0x55e491(0x37c)]:return{..._0x3a9a83,'data':{..._0xcf7d1e,'data':(_0x992fe9=_0xcf7d1e[_0x55e491(0x225)])==null?void 0x0:_0x992fe9['cs']},'cmd':_0x3a9a83[_0x55e491(0x271)]};case E[_0x55e491(0x34f)][_0x55e491(0x41d)]:return{..._0x3a9a83,'data':{..._0xcf7d1e,'data':_0xcf7d1e[_0x55e491(0x36a)]},'cmd':_0x3a9a83[_0x55e491(0x271)]};case E[_0x55e491(0x34f)]['USERS_ENTER']:return{..._0x3a9a83,'data':{..._0xcf7d1e,'data':_0xcf7d1e[_0x55e491(0xdd)]},'cmd':_0x3a9a83[_0x55e491(0x271)]};case E[_0x55e491(0x34f)][_0x55e491(0x3e1)]:return{..._0x3a9a83,'data':{..._0xcf7d1e,'data':_0xcf7d1e['leaveEvent']},'cmd':_0x3a9a83[_0x55e491(0x271)]};case E[_0x55e491(0x34f)][_0x55e491(0x29f)]:return{..._0x3a9a83,'data':{..._0xcf7d1e,'data':_0xcf7d1e[_0x55e491(0x146)]},'cmd':_0x3a9a83['cmd']};case E['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:case E[_0x55e491(0x34f)][_0x55e491(0x181)]:return{..._0x3a9a83,'data':{..._0xcf7d1e,'data':_0xcf7d1e[_0x55e491(0x16d)]},'cmd':_0x3a9a83[_0x55e491(0x271)]};case E[_0x55e491(0x34f)][_0x55e491(0x358)]:return{..._0x3a9a83,'data':{..._0xcf7d1e,'data':_0xcf7d1e['liveShareNewHost']},'cmd':_0x3a9a83['cmd']};case E['CollaborationEvent'][_0x55e491(0x1ff)]:return{..._0x3a9a83,'data':_0xcf7d1e,'cmd':_0x3a9a83[_0x55e491(0x271)]};case E['CollaborationEvent'][_0x55e491(0x334)]:return{..._0x3a9a83,'data':{..._0xcf7d1e,'data':_0xcf7d1e[_0x55e491(0x278)]},'cmd':_0x3a9a83[_0x55e491(0x271)]};case E[_0x55e491(0x34f)]['UPDATE_PERMISSION_OBJ']:return{..._0x3a9a83,'data':{..._0xcf7d1e,'data':_0xcf7d1e[_0x55e491(0x122)]},'cmd':_0x3a9a83[_0x55e491(0x271)]};case E[_0x55e491(0x34f)]['SHOULD_CLOSE_CONN']:return{..._0x3a9a83,'data':{..._0xcf7d1e,'data':_0xcf7d1e['shouldCloseConn']},'cmd':_0x3a9a83[_0x55e491(0x271)]};case E[_0x55e491(0x34f)][_0x55e491(0x1f4)]:return{..._0x3a9a83,'data':{..._0xcf7d1e,'data':_0xcf7d1e['uniscriptRunEvent']},'cmd':_0x3a9a83['cmd']};default:return _0x3a9a83;}}default:return _0x3a9a83;}}function gt(_0x43de88){var _0x2fba88=_0xff55f3;switch(_0x43de88['cmd']){case W[_0x2fba88(0xc9)]:case W[_0x2fba88(0x346)]:return JSON[_0x2fba88(0x249)]({'cmd':_0x43de88['cmd'],'routeKey':_0x43de88[_0x2fba88(0x123)]});case W['INGEST']:{let _0x34172a;switch(_0x43de88['data'][_0x2fba88(0x338)]){case E[_0x2fba88(0x34f)]['UPDATE_CURSOR']:{_0x34172a={'eventID':E['CollaborationEvent'][_0x2fba88(0x41d)],'updateCursorEvent':_0x43de88['data'][_0x2fba88(0x2c5)]};break;}case E[_0x2fba88(0x34f)][_0x2fba88(0x3e1)]:{_0x34172a={'eventID':E[_0x2fba88(0x34f)][_0x2fba88(0x3e1)],'leaveEvent':_0x43de88['data']['data']};break;}case E['CollaborationEvent'][_0x2fba88(0x2fe)]:{_0x34172a={'eventID':E[_0x2fba88(0x34f)][_0x2fba88(0x2fe)],'joinEvent':_0x43de88[_0x2fba88(0x2c5)][_0x2fba88(0x2c5)]};break;}case E[_0x2fba88(0x34f)][_0x2fba88(0x29f)]:{_0x34172a={'eventID':E[_0x2fba88(0x34f)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x43de88['data'][_0x2fba88(0x2c5)]};break;}case E[_0x2fba88(0x34f)][_0x2fba88(0x181)]:{_0x34172a={'eventID':E[_0x2fba88(0x34f)][_0x2fba88(0x181)],'liveShareOperation':_0x43de88[_0x2fba88(0x2c5)][_0x2fba88(0x2c5)]};break;}case E[_0x2fba88(0x34f)][_0x2fba88(0x358)]:{_0x34172a={'eventID':E[_0x2fba88(0x34f)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x43de88[_0x2fba88(0x2c5)][_0x2fba88(0x2c5)]};break;}case E['CollaborationEvent']['LIVESHARE_REQUEST_HOST']:{_0x34172a={'eventID':E[_0x2fba88(0x34f)][_0x2fba88(0x1da)],'liveShareRequestHost':_0x43de88[_0x2fba88(0x2c5)]['data']};break;}case E['CollaborationEvent'][_0x2fba88(0x409)]:{_0x34172a={'eventID':E[_0x2fba88(0x34f)][_0x2fba88(0x409)]};break;}default:_0x34172a={'eventID':_0x43de88['data'][_0x2fba88(0x338)]};}return JSON[_0x2fba88(0x249)]({'cmd':_0x43de88[_0x2fba88(0x271)],'routeKey':_0x43de88['routeKey'],'collaMsg':_0x34172a});}case W[_0x2fba88(0x285)]:return JSON[_0x2fba88(0x249)]({'cmd':_0x43de88[_0x2fba88(0x271)],'routeKey':_0x43de88[_0x2fba88(0x123)],'joinReq':_0x43de88[_0x2fba88(0x2c5)]});case W[_0x2fba88(0x175)]:return JSON[_0x2fba88(0x249)]({'cmd':_0x43de88['cmd'],'routeKey':_0x43de88['routeKey'],'leaveReq':_0x43de88['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var ri=Object[_0xff55f3(0x3c8)],ai=(_0x8f4f09,_0x513717,_0x48ba6f,_0x1708c4)=>{var _0x423385=_0xff55f3;for(var _0x32cf20=_0x1708c4>0x1?void 0x0:_0x1708c4?ri(_0x513717,_0x48ba6f):_0x513717,_0x2de04c=_0x8f4f09[_0x423385(0x2cf)]-0x1,_0x3cf5e7;_0x2de04c>=0x0;_0x2de04c--)(_0x3cf5e7=_0x8f4f09[_0x2de04c])&&(_0x32cf20=_0x3cf5e7(_0x32cf20)||_0x32cf20);return _0x32cf20;},he=(_0x2a7ed9,_0x819d27)=>(_0x3b4b2e,_0x154be5)=>_0x819d27(_0x3b4b2e,_0x154be5,_0x2a7ed9);const Fe=o[_0xff55f3(0x2f5)](_0xff55f3(0x2ab));function oi(_0x2eaa78,_0x1f9c21,_0xe28e50){var _0x10eb2e=_0xff55f3;return _0x2eaa78+'/'+_0x1f9c21+_0x10eb2e(0x331)+_0xe28e50+_0x10eb2e(0x38c);}exports[_0xff55f3(0x2f2)]=class extends o['Disposable']{constructor(_0x41fc8a,_0x27060a,_0x1c45cd,_0x518f3a,_0x3fd8d8){var _0x36840e=_0xff55f3;super(),this['_injector']=_0x41fc8a,this[_0x36840e(0x2cb)]=_0x27060a,this[_0x36840e(0x359)]=_0x1c45cd,this['_logService']=_0x518f3a,this[_0x36840e(0x37a)]=_0x3fd8d8;}[_0xff55f3(0x25e)](_0x83f35a){var _0x43a2d1=_0xff55f3;const _0x41d955=this[_0x43a2d1(0x1ec)][_0x43a2d1(0x3b2)](K[_0x43a2d1(0x10a)]);if(!_0x41d955)throw new Error(_0x43a2d1(0xae));const _0x553f95=_0x41d955[_0x43a2d1(0x40e)](_0x83f35a);if(!_0x553f95)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x81cc7f=new o[(_0x43a2d1(0x126))](),_0x41884d=new j[(_0x43a2d1(0x253))]();_0x81cc7f[_0x43a2d1(0x3ff)](_0x553f95[_0x43a2d1(0x2d3)][_0x43a2d1(0x12d)](_0x5a7937=>_0x41884d[_0x43a2d1(0x351)](_0x5a7937))),_0x81cc7f['add'](o[_0x43a2d1(0x400)](()=>_0x41884d[_0x43a2d1(0x2c9)]()));const _0x5aac56=new j[(_0x43a2d1(0x253))]();_0x81cc7f['add'](_0x553f95[_0x43a2d1(0x264)][_0x43a2d1(0x12d)](_0x30f5ed=>_0x5aac56[_0x43a2d1(0x351)](_0x30f5ed))),_0x81cc7f[_0x43a2d1(0x3ff)](o[_0x43a2d1(0x400)](()=>_0x5aac56[_0x43a2d1(0x2c9)]()));const _0x378eed=new j[(_0x43a2d1(0x253))]();_0x81cc7f['add'](_0x553f95[_0x43a2d1(0xaf)][_0x43a2d1(0x12d)](_0x1dc04d=>{var _0x5ee1ea=_0x43a2d1;const _0x20f3f8=mt(_0x1dc04d);_0x378eed[_0x5ee1ea(0x351)](_0x20f3f8);})),_0x81cc7f[_0x43a2d1(0x3ff)](o['toDisposable'](()=>_0x378eed[_0x43a2d1(0x2c9)]()));let _0x41ed16;const _0x4651ed=()=>{var _0x1352e5=_0x43a2d1;_0x5aac56[_0x1352e5(0x351)](new Event(_0x1352e5(0x33c))),_0x41884d[_0x1352e5(0x351)](new Event(_0x1352e5(0x33c))),_0x41ed16[_0x1352e5(0xda)]();};return _0x41ed16={'memberID':'','close$':_0x41884d['asObservable'](),'error$':_0x5aac56[_0x43a2d1(0x221)](),'open$':_0x553f95['open$'],'message$':_0x378eed[_0x43a2d1(0x221)](),'send':_0x3621e5=>{var _0x48ac88=_0x43a2d1;if(_0x3621e5[_0x48ac88(0x271)]===W[_0x48ac88(0x191)]){if(_0x3621e5[_0x48ac88(0x2c5)][_0x48ac88(0x338)]===E[_0x48ac88(0x34f)][_0x48ac88(0x1a6)]){this['_submitChangeset'](_0x41ed16,_0x3621e5[_0x48ac88(0x2c5)])[_0x48ac88(0x169)](_0x4a3964=>{var _0x42d874=_0x48ac88;this[_0x42d874(0x2fa)][_0x42d874(0xd5)](_0x4a3964),_0x4651ed();});return;}if(_0x3621e5[_0x48ac88(0x2c5)]['eventID']===E[_0x48ac88(0x34f)][_0x48ac88(0x12f)]){const _0x1cbbf2=_0x3621e5[_0x48ac88(0x2c5)];this['_fetchMissChangesets'](_0x1cbbf2)['then'](_0xab6fbb=>{var _0x1d06f2=_0x48ac88;_0x378eed['next']({'cmd':W[_0x1d06f2(0x38f)],'code':re['OK'],'routeKey':_0x1cbbf2[_0x1d06f2(0x2c5)][_0x1d06f2(0x38b)],'routeType':'','data':{'eventID':E[_0x1d06f2(0x34f)][_0x1d06f2(0x40a)],'data':{'changesets':_0xab6fbb}}});})[_0x48ac88(0x169)](_0x32e0da=>{var _0x1d4507=_0x48ac88;this[_0x1d4507(0x2fa)]['error'](_0x32e0da),_0x4651ed();});return;}}_0x553f95['send'](gt(_0x3621e5));},'close':()=>{var _0x37509c=_0x43a2d1;_0x553f95[_0x37509c(0xda)](),_0x81cc7f[_0x37509c(0x349)]();}},_0x41ed16;}async[_0xff55f3(0x204)](_0x2d60da,_0x4d1e3d){var _0x398adc=_0xff55f3,_0x122d06;const {unitType:_0x4e5232,unitID:_0x16b77c,changeset:_0x415e55}=_0x4d1e3d['data'],_0x113c2b={'unitID':_0x16b77c,'memberID':_0x2d60da[_0x398adc(0x385)],'type':_0x4e5232,'changeset':E[_0x398adc(0x2b1)](_0x415e55)},_0xe99f8b=this[_0x398adc(0x359)]['getConfig'](Y),_0x24b614=oi((_0x122d06=_0xe99f8b==null?void 0x0:_0xe99f8b[_0x398adc(0x203)])!=null?_0x122d06:$t,_0x4e5232,_0x16b77c);try{await this[_0x398adc(0x2cb)]['post'](_0x24b614,{'body':_0x113c2b});}catch(_0x3526e4){throw this[_0x398adc(0x2fa)][_0x398adc(0xd5)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x3526e4;}}async[_0xff55f3(0x365)](_0x5c8a70){var _0x154428=_0xff55f3;const {unitID:_0x47758a,from:_0x4645a3,to:_0x5c95fc,unitType:_0x11bc52}=_0x5c8a70[_0x154428(0x2c5)];return(await this[_0x154428(0x37a)][_0x154428(0x25d)]({'metadata':void 0x0},{'unitID':_0x47758a,'type':_0x11bc52,'from':_0x4645a3,'to':_0x5c95fc}))[_0x154428(0x22d)][_0x154428(0x33a)](_0x1c2024=>((_0x1c2024[_0x154428(0x11b)]===null||_0x1c2024['mutations']===void 0x0)&&(_0x1c2024[_0x154428(0x11b)]=[]),_0x1c2024));}},exports[_0xff55f3(0x2f2)]=ai([he(0x0,o[_0xff55f3(0x187)](o[_0xff55f3(0x1c3)])),he(0x1,o[_0xff55f3(0x187)](K['HTTPService'])),he(0x2,o[_0xff55f3(0x404)]),he(0x3,o[_0xff55f3(0x29a)]),he(0x4,E[_0xff55f3(0x106)])],exports[_0xff55f3(0x2f2)]);var ci=Object[_0xff55f3(0x3c8)],_i=(_0x5bd32f,_0xde69ee,_0x283fad,_0x657d44)=>{for(var _0x56aee9=_0x657d44>0x1?void 0x0:_0x657d44?ci(_0xde69ee,_0x283fad):_0xde69ee,_0x528c1c=_0x5bd32f['length']-0x1,_0x1b7e91;_0x528c1c>=0x0;_0x528c1c--)(_0x1b7e91=_0x5bd32f[_0x528c1c])&&(_0x56aee9=_0x1b7e91(_0x56aee9)||_0x56aee9);return _0x56aee9;},_e=(_0x18d090,_0x3bacb2)=>(_0x27f3d8,_0xa94f2d)=>_0x3bacb2(_0x27f3d8,_0xa94f2d,_0x18d090);exports[_0xff55f3(0xe4)]=class extends o[_0xff55f3(0xcf)]{constructor(_0x5209a3,_0x67bd9c,_0x32419a,_0x3054d2,_0x451145,_0x3e8725){var _0x201e76=_0xff55f3;super(),A(this,_0x201e76(0xe8),new j[(_0x201e76(0x41b))](void 0x0)),A(this,'socket$',this[_0x201e76(0xe8)]['asObservable']()),A(this,_0x201e76(0x2fd),null),A(this,_0x201e76(0xf2),new Map()),A(this,_0x201e76(0x1b6),new j['BehaviorSubject'](se[_0x201e76(0x335)])),A(this,_0x201e76(0x2c7),this[_0x201e76(0x1b6)][_0x201e76(0x221)]()),A(this,_0x201e76(0x14a),!0x1),A(this,_0x201e76(0x118)),A(this,'_retryCount',0x0),A(this,_0x201e76(0x265)),A(this,_0x201e76(0x354)),(this['_injector']=_0x5209a3,this[_0x201e76(0x2fa)]=_0x67bd9c,this[_0x201e76(0x359)]=_0x32419a,this[_0x201e76(0x3cc)]=_0x3054d2,this[_0x201e76(0x1ac)]=_0x451145,this[_0x201e76(0x24e)]=_0x3e8725,this[_0x201e76(0x113)]());}get[_0xff55f3(0xe5)](){var _0x166ae8=_0xff55f3;return this['_socket$'][_0x166ae8(0x307)]();}[_0xff55f3(0x113)](){var _0x4bdfb1=_0xff55f3;this['_networkConditionService']&&this[_0x4bdfb1(0xea)](this[_0x4bdfb1(0x24e)][_0x4bdfb1(0x277)]['subscribe'](_0x29e12c=>{var _0x74eb62=_0x4bdfb1;_0x29e12c&&!this[_0x74eb62(0xe5)]&&this[_0x74eb62(0x312)](),_0x29e12c||this[_0x74eb62(0x318)]();}));}[_0xff55f3(0x349)](){var _0x38b203=_0xff55f3;super[_0x38b203(0x349)](),this['_clearRetryConnectingTimer'](),this[_0x38b203(0x1cd)](),this[_0x38b203(0x406)](),this[_0x38b203(0xf2)][_0x38b203(0x36e)](_0x353d7f=>_0x353d7f[_0x38b203(0x349)]()),this[_0x38b203(0xf2)][_0x38b203(0x377)](),this[_0x38b203(0x1b6)][_0x38b203(0x2c9)]();}async['requireSession'](_0x2b68e0){var _0x4fe308=_0xff55f3;if(this[_0x4fe308(0xf2)][_0x4fe308(0xb9)](_0x2b68e0))return this[_0x4fe308(0xf2)][_0x4fe308(0x3b2)](_0x2b68e0);this[_0x4fe308(0x3b6)]();const _0x3d26c0=this[_0x4fe308(0x1ec)][_0x4fe308(0xc4)](exports[_0x4fe308(0x281)],_0x2b68e0,this[_0x4fe308(0xe8)][_0x4fe308(0x221)]());return this[_0x4fe308(0xf2)][_0x4fe308(0x356)](_0x2b68e0,_0x3d26c0),_0x3d26c0;}[_0xff55f3(0x22a)](_0x5016b1){var _0x206191=_0xff55f3,_0x144671;const _0x3e6bc1=this[_0x206191(0xf2)]['get'](_0x5016b1);_0x3e6bc1&&(this['_sessions'][_0x206191(0x1f2)](_0x5016b1),_0x3e6bc1[_0x206191(0xda)]()),this['_sessions'][_0x206191(0x26e)]||(_0x144671=this['_socket'])==null||_0x144671[_0x206191(0xda)]();}[_0xff55f3(0x312)](){var _0x57e08a=_0xff55f3;this[_0x57e08a(0x201)]=0x0,this[_0x57e08a(0x2bb)](),this['_tryReconnect']();}[_0xff55f3(0x2bb)](){var _0x46021c=_0xff55f3;this[_0x46021c(0x118)]!=null&&(clearTimeout(this[_0x46021c(0x118)]),this[_0x46021c(0x118)]=null);}async[_0xff55f3(0x389)](){var _0x551090=_0xff55f3,_0x4572ee;const _0x14ef4a=this[_0x551090(0x359)][_0x551090(0x1fc)](Y),_0x261203=(_0x4572ee=_0x14ef4a==null?void 0x0:_0x14ef4a['collabWebSocketUrl'])!=null?_0x4572ee:_t,_0x82231b=await this[_0x551090(0x3cc)]['createSocket'](_0x261203);return this[_0x551090(0x2fd)]=_0x82231b,_0x82231b;}async['_tryEnsureSocket'](){var _0x20d1a4=_0xff55f3,_0x248f96,_0x228edd;try{const _0x53abf1=(_0x228edd=(_0x248f96=this[_0x20d1a4(0xe5)])!=null?_0x248f96:this['_candidateSocket'])!=null?_0x228edd:await this['_createSocket']();if(_0x53abf1){const _0x299406=_0x53abf1[_0x20d1a4(0x421)];_0x53abf1[_0x20d1a4(0x421)]=_0x5c275e=>(this['_rescheduleHeartbeat'](),_0x299406[_0x20d1a4(0x40d)](_0x53abf1,[_0x5c275e])),_0x53abf1['message$'][_0x20d1a4(0x12d)](_0x306e5f=>this[_0x20d1a4(0x129)](_0x53abf1,_0x306e5f)),_0x53abf1[_0x20d1a4(0x264)]['pipe'](V[_0x20d1a4(0x1bc)](0x1))[_0x20d1a4(0x12d)](_0xf79eb5=>this[_0x20d1a4(0x2fa)][_0x20d1a4(0xd5)](_0x20d1a4(0x3eb),_0xf79eb5)),_0x53abf1['open$']['pipe'](V[_0x20d1a4(0x1bc)](0x1))[_0x20d1a4(0x12d)](()=>{var _0x1d7bdd=_0x20d1a4;this[_0x1d7bdd(0x30a)](_0x53abf1);}),_0x53abf1['close$'][_0x20d1a4(0xcc)](V[_0x20d1a4(0x1bc)](0x1))[_0x20d1a4(0x12d)](_0x2b2841=>{var _0x3c8323=_0x20d1a4;this[_0x3c8323(0x2fa)][_0x3c8323(0x130)](_0x3c8323(0x214),_0x3c8323(0x321),_0x2b2841),this['_onConnectionFailed']();});}}catch(_0x57ecf0){this['_logService'][_0x20d1a4(0xd5)](_0x57ecf0),this[_0x20d1a4(0x110)]();}}['_onConnectionOpen'](_0x1280e0){var _0x49dc46=_0xff55f3;this[_0x49dc46(0x2fa)]['debug']('[CollaborationSessionService]',_0x49dc46(0x145)),_0x1280e0[_0x49dc46(0x421)]({'cmd':W['HELLO']}),this[_0x49dc46(0xf9)]();}[_0xff55f3(0x318)](){var _0x3014da=_0xff55f3;this[_0x3014da(0x14a)]=!0x1,this['_candidateSocket']=null,this[_0x3014da(0x1b6)][_0x3014da(0x351)](se[_0x3014da(0x348)]),this[_0x3014da(0xe8)][_0x3014da(0x351)](null),this[_0x3014da(0x1cd)](),this[_0x3014da(0x406)]();}['_onConnectionFailed'](){var _0x22b7f4=_0xff55f3,_0x422359;this['_onOffline'](),this['_retryCount']<((_0x422359=this[_0x22b7f4(0x359)]['getConfig'](ut))!=null?_0x422359:wt)?(this[_0x22b7f4(0x1ac)]['emitEvent']({'id':J[_0x22b7f4(0x36d)]}),this['_tryReconnect']()):this[_0x22b7f4(0x1ac)][_0x22b7f4(0x1a1)]({'id':J[_0x22b7f4(0x1c1)]});}['_tryReconnect'](){var _0x282024=_0xff55f3,_0x4868b2;const _0x1f88b6=this[_0x282024(0x201)],_0x2158a2=this[_0x282024(0x359)]['getConfig'](Y),_0x25d602=_0x1f88b6===0x0?0x0:((_0x4868b2=_0x2158a2==null?void 0x0:_0x2158a2['retryConnectingInterval'])!=null?_0x4868b2:Mt)*0x2**_0x1f88b6;this['_retryConnectingTimer']=setTimeout(()=>{var _0x4c4378=_0x282024;clearTimeout(this[_0x4c4378(0x118)]),this[_0x4c4378(0x118)]=null,this[_0x4c4378(0x3b6)]();},_0x25d602),this[_0x282024(0x201)]+=0x1;}[_0xff55f3(0x129)](_0x5b6da6,_0x4575cc){var _0x3b2a89=_0xff55f3;const {cmd:_0x49f16b}=_0x4575cc;_0x49f16b===W[_0x3b2a89(0x346)]&&!this[_0x3b2a89(0x14a)]&&(_0x5b6da6[_0x3b2a89(0x385)]=_0x4575cc['data'][_0x3b2a89(0x385)],this[_0x3b2a89(0xe8)][_0x3b2a89(0x351)](_0x5b6da6),this[_0x3b2a89(0x1b6)][_0x3b2a89(0x351)](se[_0x3b2a89(0x28b)]),this[_0x3b2a89(0x14a)]=!0x0,this[_0x3b2a89(0x2fd)]=null),_0x49f16b===W[_0x3b2a89(0xc9)]&&this[_0x3b2a89(0x1cd)](),this[_0x3b2a89(0xf9)]();}[_0xff55f3(0xf9)](){var _0x145ca8=_0xff55f3,_0x1f29fc;this[_0x145ca8(0x406)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x145ca8(0x15b)](),(_0x1f29fc=this[_0x145ca8(0x359)][_0x145ca8(0x1fc)](ht))!=null?_0x1f29fc:Lt);}[_0xff55f3(0x15b)](){var _0x592f51=_0xff55f3;this['_socket'][_0x592f51(0x421)]({'cmd':W['HEARTBEAT']}),this[_0x592f51(0x230)]();}['_waitForHeartbeatResponse'](){var _0x146a19=_0xff55f3,_0x1d44f9;this[_0x146a19(0x354)]=setTimeout(()=>this[_0x146a19(0x110)](),(_0x1d44f9=this[_0x146a19(0x359)][_0x146a19(0x1fc)](ke))!=null?_0x1d44f9:lt);}[_0xff55f3(0x406)](){var _0x5bb3d0=_0xff55f3;this[_0x5bb3d0(0x265)]!=null&&(clearTimeout(this[_0x5bb3d0(0x265)]),this[_0x5bb3d0(0x265)]=null);}[_0xff55f3(0x1cd)](){var _0x53d4cb=_0xff55f3;this[_0x53d4cb(0x354)]!=null&&(clearTimeout(this[_0x53d4cb(0x354)]),this[_0x53d4cb(0x354)]=null);}},exports[_0xff55f3(0xe4)]=_i([_e(0x0,o[_0xff55f3(0x187)](o[_0xff55f3(0x1c3)])),_e(0x1,o[_0xff55f3(0x29a)]),_e(0x2,o['IConfigService']),_e(0x3,Fe),_e(0x4,o[_0xff55f3(0x187)](ee)),_e(0x5,o[_0xff55f3(0x18e)](pt))],exports[_0xff55f3(0xe4)]);var hi=Object[_0xff55f3(0x3c8)],li=(_0x81ab0,_0x850ef9,_0x3a0c81,_0x3a3b7c)=>{var _0x3abd9b=_0xff55f3;for(var _0x1b4c68=_0x3a3b7c>0x1?void 0x0:_0x3a3b7c?hi(_0x850ef9,_0x3a0c81):_0x850ef9,_0x5c9365=_0x81ab0[_0x3abd9b(0x2cf)]-0x1,_0x7c4e2d;_0x5c9365>=0x0;_0x5c9365--)(_0x7c4e2d=_0x81ab0[_0x5c9365])&&(_0x1b4c68=_0x7c4e2d(_0x1b4c68)||_0x1b4c68);return _0x1b4c68;},Se=(_0x31545f,_0x13cec7)=>(_0x178ac7,_0x10c1a3)=>_0x13cec7(_0x178ac7,_0x10c1a3,_0x31545f);exports['CollaborationController']=class extends o[_0xff55f3(0xf1)]{constructor(_0x41e081,_0x50d483,_0x5479db,_0x4ef079){var _0x4d0045=_0xff55f3,_0x4830de;super(),A(this,_0x4d0045(0x250),new Map()),A(this,_0x4d0045(0x3d9),new j[(_0x4d0045(0x253))]()),A(this,'entityInit$',this[_0x4d0045(0x3d9)][_0x4d0045(0x221)]()),(this[_0x4d0045(0x1ec)]=_0x41e081,this['_collabSessionService']=_0x50d483,this[_0x4d0045(0x359)]=_0x5479db,this[_0x4d0045(0x186)]=_0x4ef079,((_0x4830de=this['_configService'][_0x4d0045(0x1fc)](Y))==null?void 0x0:_0x4830de['enableCollaboration'])!==!0x1&&this[_0x4d0045(0x152)]());}[_0xff55f3(0x349)](){var _0x5715e3=_0xff55f3;super[_0x5715e3(0x349)](),this[_0x5715e3(0x250)][_0x5715e3(0x36e)](_0x40dec3=>_0x40dec3[_0x5715e3(0x349)]()),this['_entities'][_0x5715e3(0x377)]();}[_0xff55f3(0x242)](_0x3f1c28){var _0x4717e9=_0xff55f3,_0x16593e;return(_0x16593e=this[_0x4717e9(0x250)][_0x4717e9(0x3b2)](_0x3f1c28))!=null?_0x16593e:null;}['getCollabEntity$'](_0x1ed639){var _0x1bc658=_0xff55f3;const _0x40b5b4=this['getCollabEntity'](_0x1ed639);return _0x40b5b4?j['of'](_0x40b5b4):this['_entityInit$']['pipe'](V[_0x1bc658(0x155)](_0x492424=>_0x492424[_0x1bc658(0x38b)]===_0x1ed639));}['readyForCollab'](_0x28462d){var _0x113c6e=_0xff55f3;return j[_0x113c6e(0x3f4)](this['getCollabEntity$'](_0x28462d)['pipe'](V[_0x113c6e(0x33a)](()=>{})));}['_init'](){var _0x3d645c=_0xff55f3;this['_univerInstanceService'][_0x3d645c(0x27b)](o[_0x3d645c(0x109)][_0x3d645c(0x2cc)])['pipe'](j[_0x3d645c(0x18a)](this[_0x3d645c(0x235)]),V['delay'](0x10))['subscribe'](async _0x18f96a=>{var _0x44cce3=_0x3d645c;const _0x3fc644=_0x18f96a['getUnitId'](),_0x388195=await this[_0x44cce3(0x31a)](_0x3fc644,X['UNIVER_SHEET']);this[_0x44cce3(0x250)][_0x44cce3(0x356)](_0x3fc644,_0x388195);}),this[_0x3d645c(0x186)][_0x3d645c(0x27b)](o[_0x3d645c(0x109)][_0x3d645c(0xc5)])[_0x3d645c(0xcc)](j['takeUntil'](this[_0x3d645c(0x235)]),V['delay'](0x10))[_0x3d645c(0xcc)](V['filter'](_0x1f35f4=>!_0x1f35f4[_0x3d645c(0x3b1)]()[_0x3d645c(0x12e)]('__')))[_0x3d645c(0x12d)](async _0x3ef0de=>{var _0x3ef733=_0x3d645c;const _0x645733=_0x3ef0de['getUnitId'](),_0x127546=await this[_0x3ef733(0x31a)](_0x645733,X[_0x3ef733(0xc5)]);this[_0x3ef733(0x250)]['set'](_0x645733,_0x127546);}),j[_0x3d645c(0xe3)](this[_0x3d645c(0x186)][_0x3d645c(0x34c)](o[_0x3d645c(0x109)][_0x3d645c(0x2cc)]),this[_0x3d645c(0x186)]['getTypeOfUnitDisposed$'](o[_0x3d645c(0x109)]['UNIVER_DOC']))['pipe'](j[_0x3d645c(0x18a)](this[_0x3d645c(0x235)]))[_0x3d645c(0x12d)](_0x2366a8=>{var _0x436820=_0x3d645c;const _0x712ec8=_0x2366a8[_0x436820(0x3b1)](),_0x24bcc9=this[_0x436820(0x250)][_0x436820(0x3b2)](_0x712ec8);_0x24bcc9&&(_0x24bcc9[_0x436820(0x349)](),this['_entities']['delete'](_0x712ec8));});}async[_0xff55f3(0x31a)](_0x5beb34,_0x3cdd6b){var _0x3e036a=_0xff55f3;const _0x5aac6d=await this[_0x3e036a(0x3fe)]['requireSession'](_0x5beb34),_0x1dc526=this['_injector'][_0x3e036a(0xc4)](this[_0x3e036a(0x3fa)](_0x3cdd6b),_0x5beb34,_0x3cdd6b,_0x5aac6d);return await _0x1dc526[_0x3e036a(0x25f)](),this[_0x3e036a(0x3d9)]['next'](_0x1dc526),_0x1dc526;}[_0xff55f3(0x3fa)](_0x49ac32){var _0x3a5b0d=_0xff55f3;switch(_0x49ac32){case X[_0x3a5b0d(0xc5)]:return exports[_0x3a5b0d(0x173)];case X[_0x3a5b0d(0x2cc)]:return exports[_0x3a5b0d(0x27f)];default:throw new Error(_0x3a5b0d(0x3d8)+_0x49ac32);}}},exports[_0xff55f3(0x2be)]=li([Se(0x0,o[_0xff55f3(0x187)](o[_0xff55f3(0x1c3)])),Se(0x1,o[_0xff55f3(0x187)](exports['CollaborationSessionService'])),Se(0x2,o[_0xff55f3(0x404)]),Se(0x3,o[_0xff55f3(0xb2)])],exports[_0xff55f3(0x2be)]);var ui=Object[_0xff55f3(0x3c8)],vi=(_0x1b7baf,_0x48f0c4,_0x230f44,_0x1354b7)=>{var _0x1f76cf=_0xff55f3;for(var _0x14e913=_0x1354b7>0x1?void 0x0:_0x1354b7?ui(_0x48f0c4,_0x230f44):_0x48f0c4,_0x4cf66f=_0x1b7baf[_0x1f76cf(0x2cf)]-0x1,_0x4baac2;_0x4cf66f>=0x0;_0x4cf66f--)(_0x4baac2=_0x1b7baf[_0x4cf66f])&&(_0x14e913=_0x4baac2(_0x14e913)||_0x14e913);return _0x14e913;},Ye=(_0x4a255a,_0x53e1ca)=>(_0x2f3d3e,_0xf83b1d)=>_0x53e1ca(_0x2f3d3e,_0xf83b1d,_0x4a255a);const di=_0xff55f3(0x291),Si=_0xff55f3(0x3b8);let xe=class extends o[_0xff55f3(0xcf)]{constructor(_0x5b7053,_0x49c667){var _0x5ad667=_0xff55f3;super(),this[_0x5ad667(0x186)]=_0x5b7053,this[_0x5ad667(0x359)]=_0x49c667,this['_init']();}[_0xff55f3(0x152)](){var _0xaf421f=_0xff55f3;this[_0xaf421f(0xea)](this['_univerInstanceService'][_0xaf421f(0x226)][_0xaf421f(0x12d)](()=>{var _0x1aee12=_0xaf421f,_0x2ca1a2;const _0x2f75e1=this[_0x1aee12(0x186)][_0x1aee12(0x27d)]();let _0x4f7ca3=(_0x2ca1a2=this[_0x1aee12(0x359)][_0x1aee12(0x1fc)](di))!=null?_0x2ca1a2:Si;_0x2f75e1 instanceof o[_0x1aee12(0x381)]&&(_0x4f7ca3=_0x2f75e1[_0x1aee12(0x96)]),document[_0x1aee12(0x3b4)]=_0x4f7ca3;}));}};xe=vi([Ye(0x0,o[_0xff55f3(0xb2)]),Ye(0x1,o[_0xff55f3(0x404)])],xe);var Ii=Object['getOwnPropertyDescriptor'],fi=(_0x16216d,_0xdaaaee,_0x2b954d,_0x5972eb)=>{for(var _0x41c39b=_0x5972eb>0x1?void 0x0:_0x5972eb?Ii(_0xdaaaee,_0x2b954d):_0xdaaaee,_0x5c94f2=_0x16216d['length']-0x1,_0x417a14;_0x5c94f2>=0x0;_0x5c94f2--)(_0x417a14=_0x16216d[_0x5c94f2])&&(_0x41c39b=_0x417a14(_0x41c39b)||_0x41c39b);return _0x41c39b;},Ae=(_0x2e8e4b,_0x5b96ea)=>(_0x2792b8,_0x201311)=>_0x5b96ea(_0x2792b8,_0x201311,_0x2e8e4b);let Ne=class{constructor(_0x58296e,_0x21f701,_0x2823c2){var _0x284402=_0xff55f3;this[_0x284402(0x359)]=_0x58296e,this[_0x284402(0x2cb)]=_0x21f701,this[_0x284402(0x217)]=_0x2823c2,this[_0x284402(0x25f)]();}['init'](){var _0x784f00=_0xff55f3;this[_0x784f00(0x2cb)][_0x784f00(0x1c2)]({'priority':0x1,'interceptor':(_0x5efabb,_0x229e03)=>_0x229e03(_0x5efabb)[_0x784f00(0xcc)](j[_0x784f00(0x1af)](async _0x310526=>{var _0x45dc3b=_0x784f00;const _0x2ee5a9=_0x310526;if(_0x2ee5a9['status']===0x191){if(typeof window>'u')throw new Error(_0x45dc3b(0x40b));if(window[_0x45dc3b(0x3d4)](this[_0x45dc3b(0x217)]['t'](_0x45dc3b(0x2d6)))){const _0x30191e=window[_0x45dc3b(0x149)](window[_0x45dc3b(0x16a)][_0x45dc3b(0x212)]);window[_0x45dc3b(0x16a)]['href']=this['_getLoginPath']()+_0x45dc3b(0x362)+_0x30191e;}}return _0x2ee5a9;}))});}[_0xff55f3(0xe6)](){var _0x582197=_0xff55f3,_0xac2ae8;const _0x53f747=this[_0x582197(0x359)][_0x582197(0x1fc)](Y);return(_0xac2ae8=_0x53f747==null?void 0x0:_0x53f747['loginUrlKey'])!=null?_0xac2ae8:Ht;}};Ne=fi([Ae(0x0,o['IConfigService']),Ae(0x1,o['Inject'](K[_0xff55f3(0x284)])),Ae(0x2,o[_0xff55f3(0x187)](o[_0xff55f3(0xec)]))],Ne);var Ei=Object['getOwnPropertyDescriptor'],pi=(_0x17c4cc,_0x48a259,_0x482253,_0x327592)=>{var _0x1fb1d1=_0xff55f3;for(var _0x55bef2=_0x327592>0x1?void 0x0:_0x327592?Ei(_0x48a259,_0x482253):_0x48a259,_0x225f0f=_0x17c4cc[_0x1fb1d1(0x2cf)]-0x1,_0x531c75;_0x225f0f>=0x0;_0x225f0f--)(_0x531c75=_0x17c4cc[_0x225f0f])&&(_0x55bef2=_0x531c75(_0x55bef2)||_0x55bef2);return _0x55bef2;},Ke=(_0x1f9e63,_0x27579f)=>(_0x19055b,_0x5f4eed)=>_0x27579f(_0x19055b,_0x5f4eed,_0x1f9e63);const mi=_0xff55f3(0x239);exports[_0xff55f3(0x1e3)]=class extends o['Disposable']{constructor(_0x10aa2f,_0x5d587e){var _0x481ca7=_0xff55f3;super(),this[_0x481ca7(0x1be)]=_0x10aa2f,this[_0x481ca7(0x359)]=_0x5d587e,this['_initMergeInterceptor']();}[_0xff55f3(0x3f5)](){var _0x399855=_0xff55f3;const _0x16f8f4=this;this[_0x399855(0xea)](this[_0x399855(0x1be)][_0x399855(0x1c2)]({'priority':0x3e7,'interceptor':K['MergeInterceptorFactory']({'isMatch'(_0x5e2cdc){var _0x52c982=_0x399855,_0x474b07;if(_0x5e2cdc['method']===_0x52c982(0x31b)&&((_0x474b07=_0x5e2cdc['requestParams'])!=null&&_0x474b07[_0x52c982(0x3da)])){const {objectID:_0x1abf1c,objectType:_0x31c9f5}=_0x5e2cdc['requestParams']['body']||{};if(!_0x1abf1c||_0x31c9f5===void 0x0)return!0x1;const _0x2d5897=_0x16f8f4['_getAPIPrefixPath']()+'/'+_0x31c9f5+_0x52c982(0x134)+_0x1abf1c+_0x52c982(0x1a0);if(_0x5e2cdc[_0x52c982(0x419)]===_0x2d5897)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xc826b0){var _0x30bd00=_0x399855,_0x5aa2b0;return(_0x5aa2b0=_0xc826b0[_0x30bd00(0x30b)])==null?void 0x0:_0x5aa2b0[_0x30bd00(0x3da)];},'mergeParamsToRequest'(_0x5d1c9b,_0x384293){var _0x109038=_0x399855;const _0x7cf033=_0x16f8f4[_0x109038(0x3fb)]()+_0x109038(0x166),_0x5b8422=_0x5d1c9b[_0x109038(0x141)]((_0x58c20a,_0x29da15)=>{var _0x26c428=_0x109038;const {unitID:_0x165310,objectID:_0x561cf2,objectType:_0xbca8b5,actions:_0x1f5d92}=_0x29da15;return _0x58c20a[_0x165310]||(_0x58c20a[_0x165310]={}),_0x58c20a[_0x165310][_0x561cf2]||(_0x58c20a[_0x165310][_0x561cf2]={'objectID':_0x561cf2,'objectType':_0xbca8b5,'actions':[]}),_0x58c20a[_0x165310][_0x561cf2][_0x26c428(0x35f)]['push'](..._0x1f5d92),_0x58c20a;},{}),_0x1b7f85=[];for(const _0x164fcd in _0x5b8422)for(const _0xf131be in _0x5b8422[_0x164fcd]){const {actions:_0x5dd1e7,objectType:_0x571028}=_0x5b8422[_0x164fcd][_0xf131be],_0x3785fc=[...new Set(_0x5dd1e7)];_0x1b7f85[_0x109038(0x36c)]({'unitID':_0x164fcd,'objectID':_0xf131be,'objectType':_0x571028,'actions':_0x3785fc});}return new K[(_0x109038(0x229))](_0x109038(0x31b),_0x7cf033,{'headers':_0x384293[_0x109038(0x255)],'withCredentials':_0x384293[_0x109038(0x322)],'responseType':_0x384293[_0x109038(0x222)],'body':{'requests':_0x1b7f85}});}},{'distributeResult'(_0x23ac1b,_0x1ea0ad){const {objectActions:_0x231bf1}=_0x23ac1b;return _0x1ea0ad['map'](_0x494a33=>{var _0x2be68b=_0x1e3a;const {unitID:_0x932cd2,objectID:_0x252396,actions:_0x2697e6}=_0x494a33,_0x5b11f1=_0x231bf1['find'](_0x48cbc8=>_0x48cbc8[_0x2be68b(0x38b)]===_0x932cd2&&_0x48cbc8[_0x2be68b(0x1e2)]===_0x252396),_0x41d218=_0x2697e6['map'](_0x1c2569=>_0x5b11f1==null?void 0x0:_0x5b11f1[_0x2be68b(0x35f)]['find'](_0x1fca73=>_0x1fca73[_0x2be68b(0x398)]===_0x1c2569))[_0x2be68b(0x155)](_0x2743b9=>!!_0x2743b9);return{'config':_0x494a33,'result':{'actions':_0x41d218,'error':_0x23ac1b['error']}};});}})}));}[_0xff55f3(0x3fb)](){var _0x30aad7=_0xff55f3,_0x28dbcb;const _0x518f26=this[_0x30aad7(0x359)][_0x30aad7(0x1fc)](Y);return(_0x28dbcb=_0x518f26==null?void 0x0:_0x518f26['authzUrl'])!=null?_0x28dbcb:mi;}async[_0xff55f3(0xc0)](_0x298de9){var _0x47029e=_0xff55f3;const _0x1a6156=this[_0x47029e(0x3fb)]()+'/'+_0x298de9[_0x47029e(0x415)]+_0x47029e(0x3fd);return(await this[_0x47029e(0x1be)][_0x47029e(0x215)](_0x1a6156,{'body':_0x298de9}))[_0x47029e(0x3da)][_0x47029e(0x1e2)]||'';}async[_0xff55f3(0x2a6)](_0x43febe){var _0x348f9d=_0xff55f3;const _0x5d5616=this[_0x348f9d(0x3fb)]()+_0x348f9d(0x1ce);return(await this[_0x348f9d(0x1be)]['post'](_0x5d5616,{'body':_0x43febe}))[_0x348f9d(0x3da)][_0x348f9d(0x20b)];}async['update'](_0x495d0c){var _0x4affdc=_0xff55f3,_0x3083b9,_0xe1b82f;const _0x455234=this['_getAPIPrefixPath']()+'/'+_0x495d0c[_0x4affdc(0x415)]+'/object/'+_0x495d0c[_0x4affdc(0x1e2)],_0x565dc6=await this[_0x4affdc(0x1be)][_0x4affdc(0x3c7)](_0x455234,{'body':_0x495d0c});if(((_0xe1b82f=(_0x3083b9=_0x565dc6==null?void 0x0:_0x565dc6['body'])==null?void 0x0:_0x3083b9[_0x4affdc(0xd5)])==null?void 0x0:_0xe1b82f['code'])!==0x1)throw new Error(_0x4affdc(0x388));}async['allowed'](_0x25f1e2){var _0x4aacee=_0xff55f3;const _0x3b8f18=this[_0x4aacee(0x3fb)]()+'/'+_0x25f1e2[_0x4aacee(0x415)]+_0x4aacee(0x134)+_0x25f1e2['objectID']+_0x4aacee(0x1a0);return(await this[_0x4aacee(0x1be)][_0x4aacee(0x215)](_0x3b8f18,{'body':_0x25f1e2}))[_0x4aacee(0x3da)]['actions'];}async[_0xff55f3(0xd8)](_0x14a0f0){var _0x1ab3a4=_0xff55f3;const _0x552cc3=this[_0x1ab3a4(0x3fb)]()+'/-/object/-/batch_allowed';return(await this[_0x1ab3a4(0x1be)][_0x1ab3a4(0x215)](_0x552cc3,{'body':{'requests':_0x14a0f0}}))[_0x1ab3a4(0x3da)]['objectActions'];}async[_0xff55f3(0x3a9)](_0x1a5e56){var _0x19106b=_0xff55f3;const _0x5d0eee=this['_getAPIPrefixPath']()+'/'+_0x1a5e56[_0x19106b(0x415)]+'/role',_0x3ce9ba=await this[_0x19106b(0x1be)]['post'](_0x5d0eee,{'body':_0x1a5e56});return{'roles':_0x3ce9ba[_0x19106b(0x3da)][_0x19106b(0x1b9)],'actions':_0x3ce9ba[_0x19106b(0x3da)][_0x19106b(0x35f)]};}async[_0xff55f3(0x1f8)](_0x22a5a9){var _0x4eb03a=_0xff55f3;const _0x54d89c=this[_0x4eb03a(0x3fb)]()+_0x4eb03a(0x283);await this[_0x4eb03a(0x1be)][_0x4eb03a(0x1f2)](_0x54d89c,{'params':{'collaboratorID':_0x22a5a9[_0x4eb03a(0x1d0)],'objectID':_0x22a5a9[_0x4eb03a(0x1e2)],'unitID':_0x22a5a9[_0x4eb03a(0x38b)]}});}async[_0xff55f3(0x10d)](_0x3da2a5){var _0x153ef3=_0xff55f3;const _0x58e3b2=this[_0x153ef3(0x3fb)]()+_0x153ef3(0x283);await this[_0x153ef3(0x1be)][_0x153ef3(0x337)](_0x58e3b2,{'body':_0x3da2a5});}async[_0xff55f3(0x234)](_0x27261b){var _0x334e62=_0xff55f3;const _0x5a930a=this[_0x334e62(0x3fb)]()+_0x334e62(0x283);await this[_0x334e62(0x1be)][_0x334e62(0x215)](_0x5a930a,{'body':_0x27261b});}async['listCollaborators'](_0x2fc3b5){var _0x444190=_0xff55f3;const _0x2e195d=this[_0x444190(0x3fb)]()+_0x444190(0x283);return(await this[_0x444190(0x1be)][_0x444190(0x3b2)](_0x2e195d,{'params':{'objectID':_0x2fc3b5[_0x444190(0x1e2)],'unitID':_0x2fc3b5['unitID']}}))['body'][_0x444190(0x276)];}async['putCollaborators'](_0x17f51e){var _0x5b8cf9=_0xff55f3;const _0x374a45=this[_0x5b8cf9(0x3fb)]()+_0x5b8cf9(0x283);await this['_HTTPService'][_0x5b8cf9(0x3c7)](_0x374a45,{'body':_0x17f51e});}},exports[_0xff55f3(0x1e3)]=pi([Ke(0x0,o['Inject'](K[_0xff55f3(0x284)])),Ke(0x1,o[_0xff55f3(0x187)](o[_0xff55f3(0x404)]))],exports['AuthzIoHttpService']);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function de(_0x376f37){var _0x838729=_0xff55f3;return _0x376f37&&_0x376f37[_0x838729(0x128)]&&Object[_0x838729(0x293)][_0x838729(0xc1)][_0x838729(0x2e6)](_0x376f37,_0x838729(0x13f))?_0x376f37[_0x838729(0x13f)]:_0x376f37;}var Ie={'exports':{}};function gi(_0x36f7d1){var _0x17303c=_0xff55f3;throw new Error(_0x17303c(0x132)+_0x36f7d1+_0x17303c(0x2a1));}var fe={'exports':{}},Ti=fe[_0xff55f3(0x407)],qe;function Z(){var _0xa28b12=_0xff55f3;return qe||(qe=0x1,function(_0x23d719,_0x57220f){(function(_0x24141f,_0x3df210){var _0x2c3139=_0x1e3a;_0x23d719[_0x2c3139(0x407)]=_0x3df210();}(Ti,function(){var _0xdb52e4=_0xdb52e4||function(_0x357307,_0x1ff0ce){var _0x24bcb9=_0x1e3a,_0x10d5e8;if(typeof window<'u'&&window[_0x24bcb9(0x2d8)]&&(_0x10d5e8=window[_0x24bcb9(0x2d8)]),typeof self<'u'&&self['crypto']&&(_0x10d5e8=self[_0x24bcb9(0x2d8)]),typeof globalThis<'u'&&globalThis[_0x24bcb9(0x2d8)]&&(_0x10d5e8=globalThis['crypto']),!_0x10d5e8&&typeof window<'u'&&window[_0x24bcb9(0x2d7)]&&(_0x10d5e8=window[_0x24bcb9(0x2d7)]),!_0x10d5e8&&typeof Pe<'u'&&Pe[_0x24bcb9(0x2d8)]&&(_0x10d5e8=Pe[_0x24bcb9(0x2d8)]),!_0x10d5e8&&typeof gi=='function')try{_0x10d5e8=require('crypto');}catch{}var _0xa2f4e1=function(){var _0x47aca5=_0x24bcb9;if(_0x10d5e8){if(typeof _0x10d5e8[_0x47aca5(0x20e)]==_0x47aca5(0x10b))try{return _0x10d5e8[_0x47aca5(0x20e)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x10d5e8['randomBytes']==_0x47aca5(0x10b))try{return _0x10d5e8[_0x47aca5(0x2b7)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x47aca5(0x39f));},_0x2309b4=Object[_0x24bcb9(0xc0)]||(function(){function _0x10d556(){}return function(_0x119051){var _0x4e3877=_0x1e3a,_0x485214;return _0x10d556['prototype']=_0x119051,_0x485214=new _0x10d556(),_0x10d556[_0x4e3877(0x293)]=null,_0x485214;};}()),_0x163ffc={},_0x43bd64=_0x163ffc[_0x24bcb9(0x206)]={},_0x4b94f2=_0x43bd64[_0x24bcb9(0x35b)]=(function(){return{'extend':function(_0x190dc3){var _0x54d269=_0x1e3a,_0xbafe08=_0x2309b4(this);return _0x190dc3&&_0xbafe08[_0x54d269(0x423)](_0x190dc3),(!_0xbafe08[_0x54d269(0xc1)](_0x54d269(0x25f))||this[_0x54d269(0x25f)]===_0xbafe08[_0x54d269(0x25f)])&&(_0xbafe08[_0x54d269(0x25f)]=function(){var _0x399487=_0x54d269;_0xbafe08['$super'][_0x399487(0x25f)][_0x399487(0x40d)](this,arguments);}),_0xbafe08[_0x54d269(0x25f)][_0x54d269(0x293)]=_0xbafe08,_0xbafe08['$super']=this,_0xbafe08;},'create':function(){var _0x45fae0=_0x1e3a,_0x41935f=this[_0x45fae0(0x279)]();return _0x41935f[_0x45fae0(0x25f)][_0x45fae0(0x40d)](_0x41935f,arguments),_0x41935f;},'init':function(){},'mixIn':function(_0x431c2c){var _0x3db26d=_0x1e3a;for(var _0x4e0a83 in _0x431c2c)_0x431c2c['hasOwnProperty'](_0x4e0a83)&&(this[_0x4e0a83]=_0x431c2c[_0x4e0a83]);_0x431c2c['hasOwnProperty']('toString')&&(this['toString']=_0x431c2c[_0x3db26d(0x1b3)]);},'clone':function(){var _0x4a4f8c=_0x1e3a;return this[_0x4a4f8c(0x25f)][_0x4a4f8c(0x293)][_0x4a4f8c(0x279)](this);}};}()),_0x1c3751=_0x43bd64[_0x24bcb9(0x16f)]=_0x4b94f2['extend']({'init':function(_0x591b58,_0x2f17b3){var _0x125527=_0x24bcb9;_0x591b58=this['words']=_0x591b58||[],_0x2f17b3!=_0x1ff0ce?this['sigBytes']=_0x2f17b3:this[_0x125527(0xc7)]=_0x591b58[_0x125527(0x2cf)]*0x4;},'toString':function(_0x452d75){var _0x2c3018=_0x24bcb9;return(_0x452d75||_0x13e1d8)[_0x2c3018(0x249)](this);},'concat':function(_0x1da8c3){var _0x44e610=_0x24bcb9,_0x533349=this[_0x44e610(0x2ec)],_0x46c354=_0x1da8c3[_0x44e610(0x2ec)],_0x1c9631=this[_0x44e610(0xc7)],_0x59aed8=_0x1da8c3[_0x44e610(0xc7)];if(this[_0x44e610(0x33f)](),_0x1c9631%0x4)for(var _0x38441a=0x0;_0x38441a<_0x59aed8;_0x38441a++){var _0x5f2855=_0x46c354[_0x38441a>>>0x2]>>>0x18-_0x38441a%0x4*0x8&0xff;_0x533349[_0x1c9631+_0x38441a>>>0x2]|=_0x5f2855<<0x18-(_0x1c9631+_0x38441a)%0x4*0x8;}else{for(var _0x4667cd=0x0;_0x4667cd<_0x59aed8;_0x4667cd+=0x4)_0x533349[_0x1c9631+_0x4667cd>>>0x2]=_0x46c354[_0x4667cd>>>0x2];}return this[_0x44e610(0xc7)]+=_0x59aed8,this;},'clamp':function(){var _0x1b2210=_0x24bcb9,_0x3add7b=this[_0x1b2210(0x2ec)],_0x546d47=this[_0x1b2210(0xc7)];_0x3add7b[_0x546d47>>>0x2]&=0xffffffff<<0x20-_0x546d47%0x4*0x8,_0x3add7b[_0x1b2210(0x2cf)]=_0x357307[_0x1b2210(0x252)](_0x546d47/0x4);},'clone':function(){var _0x5da5bd=_0x24bcb9,_0x6535da=_0x4b94f2[_0x5da5bd(0x205)][_0x5da5bd(0x2e6)](this);return _0x6535da['words']=this[_0x5da5bd(0x2ec)][_0x5da5bd(0x1e6)](0x0),_0x6535da;},'random':function(_0xe24825){var _0x187a6c=_0x24bcb9;for(var _0x57ac79=[],_0x2ca935=0x0;_0x2ca935<_0xe24825;_0x2ca935+=0x4)_0x57ac79[_0x187a6c(0x36c)](_0xa2f4e1());return new _0x1c3751[(_0x187a6c(0x25f))](_0x57ac79,_0xe24825);}}),_0x463edc=_0x163ffc['enc']={},_0x13e1d8=_0x463edc['Hex']={'stringify':function(_0x2065a3){var _0x2ca90e=_0x24bcb9;for(var _0x43ea17=_0x2065a3['words'],_0x2457d7=_0x2065a3[_0x2ca90e(0xc7)],_0x2f6913=[],_0x10048d=0x0;_0x10048d<_0x2457d7;_0x10048d++){var _0x1d43c2=_0x43ea17[_0x10048d>>>0x2]>>>0x18-_0x10048d%0x4*0x8&0xff;_0x2f6913[_0x2ca90e(0x36c)]((_0x1d43c2>>>0x4)[_0x2ca90e(0x1b3)](0x10)),_0x2f6913[_0x2ca90e(0x36c)]((_0x1d43c2&0xf)[_0x2ca90e(0x1b3)](0x10));}return _0x2f6913[_0x2ca90e(0x2bc)]('');},'parse':function(_0xa72e8e){var _0x4ca2f4=_0x24bcb9;for(var _0x213be7=_0xa72e8e['length'],_0x59f3e8=[],_0x41be7e=0x0;_0x41be7e<_0x213be7;_0x41be7e+=0x2)_0x59f3e8[_0x41be7e>>>0x3]|=parseInt(_0xa72e8e['substr'](_0x41be7e,0x2),0x10)<<0x18-_0x41be7e%0x8*0x4;return new _0x1c3751[(_0x4ca2f4(0x25f))](_0x59f3e8,_0x213be7/0x2);}},_0x1dfac1=_0x463edc['Latin1']={'stringify':function(_0x367688){var _0x5398a6=_0x24bcb9;for(var _0x2a830a=_0x367688[_0x5398a6(0x2ec)],_0x1095c0=_0x367688[_0x5398a6(0xc7)],_0x31fec3=[],_0x452298=0x0;_0x452298<_0x1095c0;_0x452298++){var _0x507b0a=_0x2a830a[_0x452298>>>0x2]>>>0x18-_0x452298%0x4*0x8&0xff;_0x31fec3[_0x5398a6(0x36c)](String['fromCharCode'](_0x507b0a));}return _0x31fec3[_0x5398a6(0x2bc)]('');},'parse':function(_0x49f2a4){var _0x1155e7=_0x24bcb9;for(var _0x493d80=_0x49f2a4[_0x1155e7(0x2cf)],_0x38b380=[],_0x33e7fc=0x0;_0x33e7fc<_0x493d80;_0x33e7fc++)_0x38b380[_0x33e7fc>>>0x2]|=(_0x49f2a4['charCodeAt'](_0x33e7fc)&0xff)<<0x18-_0x33e7fc%0x4*0x8;return new _0x1c3751[(_0x1155e7(0x25f))](_0x38b380,_0x493d80);}},_0x364043=_0x463edc['Utf8']={'stringify':function(_0x28ad3d){var _0x382c86=_0x24bcb9;try{return decodeURIComponent(escape(_0x1dfac1[_0x382c86(0x249)](_0x28ad3d)));}catch{throw new Error(_0x382c86(0x1cb));}},'parse':function(_0x1afb76){var _0x182ab7=_0x24bcb9;return _0x1dfac1[_0x182ab7(0x20d)](unescape(encodeURIComponent(_0x1afb76)));}},_0x2f108d=_0x43bd64[_0x24bcb9(0x94)]=_0x4b94f2[_0x24bcb9(0x279)]({'reset':function(){var _0x5c7b8f=_0x24bcb9;this[_0x5c7b8f(0x3e8)]=new _0x1c3751[(_0x5c7b8f(0x25f))](),this[_0x5c7b8f(0x3ed)]=0x0;},'_append':function(_0x989032){var _0xd5aa0f=_0x24bcb9;typeof _0x989032==_0xd5aa0f(0x26d)&&(_0x989032=_0x364043['parse'](_0x989032)),this[_0xd5aa0f(0x3e8)][_0xd5aa0f(0x1ae)](_0x989032),this[_0xd5aa0f(0x3ed)]+=_0x989032['sigBytes'];},'_process':function(_0x2e19df){var _0x36adbe=_0x24bcb9,_0x3a63e8,_0x25cf7f=this['_data'],_0x2b92cb=_0x25cf7f['words'],_0x22767a=_0x25cf7f['sigBytes'],_0x899008=this[_0x36adbe(0xe0)],_0x5f3a92=_0x899008*0x4,_0x3ebb45=_0x22767a/_0x5f3a92;_0x2e19df?_0x3ebb45=_0x357307[_0x36adbe(0x252)](_0x3ebb45):_0x3ebb45=_0x357307['max']((_0x3ebb45|0x0)-this[_0x36adbe(0x301)],0x0);var _0x1bb570=_0x3ebb45*_0x899008,_0x466e25=_0x357307['min'](_0x1bb570*0x4,_0x22767a);if(_0x1bb570){for(var _0x5a98b9=0x0;_0x5a98b9<_0x1bb570;_0x5a98b9+=_0x899008)this['_doProcessBlock'](_0x2b92cb,_0x5a98b9);_0x3a63e8=_0x2b92cb[_0x36adbe(0x13d)](0x0,_0x1bb570),_0x25cf7f[_0x36adbe(0xc7)]-=_0x466e25;}return new _0x1c3751['init'](_0x3a63e8,_0x466e25);},'clone':function(){var _0x3b6457=_0x24bcb9,_0x36f34b=_0x4b94f2['clone'][_0x3b6457(0x2e6)](this);return _0x36f34b[_0x3b6457(0x3e8)]=this['_data'][_0x3b6457(0x205)](),_0x36f34b;},'_minBufferSize':0x0});_0x43bd64[_0x24bcb9(0xff)]=_0x2f108d[_0x24bcb9(0x279)]({'cfg':_0x4b94f2[_0x24bcb9(0x279)](),'init':function(_0x57feca){var _0xb41c1f=_0x24bcb9;this['cfg']=this[_0xb41c1f(0x40f)][_0xb41c1f(0x279)](_0x57feca),this[_0xb41c1f(0x3b0)]();},'reset':function(){var _0x2350b6=_0x24bcb9;_0x2f108d[_0x2350b6(0x3b0)][_0x2350b6(0x2e6)](this),this[_0x2350b6(0x2de)]();},'update':function(_0x220acb){var _0x4a721d=_0x24bcb9;return this[_0x4a721d(0x23c)](_0x220acb),this[_0x4a721d(0x199)](),this;},'finalize':function(_0x13097a){var _0x478072=_0x24bcb9;_0x13097a&&this[_0x478072(0x23c)](_0x13097a);var _0x27094f=this[_0x478072(0x374)]();return _0x27094f;},'blockSize':0x10,'_createHelper':function(_0x18a302){return function(_0x5bd9a8,_0x1935a1){var _0x1f422c=_0x1e3a;return new _0x18a302[(_0x1f422c(0x25f))](_0x1935a1)[_0x1f422c(0x1ed)](_0x5bd9a8);};},'_createHmacHelper':function(_0x28f0e7){return function(_0x4b0ee8,_0x11292a){var _0x32b992=_0x1e3a;return new _0x597d7f[(_0x32b992(0x302))][(_0x32b992(0x25f))](_0x28f0e7,_0x11292a)['finalize'](_0x4b0ee8);};}});var _0x597d7f=_0x163ffc[_0x24bcb9(0x3be)]={};return _0x163ffc;}(Math);return _0xdb52e4;}));}(fe)),fe[_0xa28b12(0x407)];}var Ee={'exports':{}},Ci=Ee[_0xff55f3(0x407)],ze;function Tt(){var _0x4b26a9=_0xff55f3;return ze||(ze=0x1,function(_0x1321e9,_0x26a63c){(function(_0x2e9bdb,_0x540611){var _0x30c936=_0x1e3a;_0x1321e9[_0x30c936(0x407)]=_0x540611(Z());}(Ci,function(_0x267aa1){var _0x3b0657=_0x1e3a;return(function(){var _0x212324=_0x1e3a,_0x224752=_0x267aa1,_0x4eaf7c=_0x224752[_0x212324(0x206)],_0x392ea7=_0x4eaf7c[_0x212324(0x16f)],_0x42dad5=_0x224752[_0x212324(0x28c)];_0x42dad5[_0x212324(0x160)]={'stringify':function(_0x574621){var _0x49b356=_0x212324,_0x898f0e=_0x574621[_0x49b356(0x2ec)],_0x5d5865=_0x574621[_0x49b356(0xc7)],_0x3ec6e7=this[_0x49b356(0x241)];_0x574621[_0x49b356(0x33f)]();for(var _0x29053f=[],_0x4b336a=0x0;_0x4b336a<_0x5d5865;_0x4b336a+=0x3)for(var _0x29522d=_0x898f0e[_0x4b336a>>>0x2]>>>0x18-_0x4b336a%0x4*0x8&0xff,_0x844eb7=_0x898f0e[_0x4b336a+0x1>>>0x2]>>>0x18-(_0x4b336a+0x1)%0x4*0x8&0xff,_0x462fd6=_0x898f0e[_0x4b336a+0x2>>>0x2]>>>0x18-(_0x4b336a+0x2)%0x4*0x8&0xff,_0x39593a=_0x29522d<<0x10|_0x844eb7<<0x8|_0x462fd6,_0x10a92f=0x0;_0x10a92f<0x4&&_0x4b336a+_0x10a92f*0.75<_0x5d5865;_0x10a92f++)_0x29053f['push'](_0x3ec6e7[_0x49b356(0x313)](_0x39593a>>>0x6*(0x3-_0x10a92f)&0x3f));var _0x2074e4=_0x3ec6e7[_0x49b356(0x313)](0x40);if(_0x2074e4){for(;_0x29053f['length']%0x4;)_0x29053f[_0x49b356(0x36c)](_0x2074e4);}return _0x29053f[_0x49b356(0x2bc)]('');},'parse':function(_0x4d1ec3){var _0x233f66=_0x212324,_0x2b1893=_0x4d1ec3[_0x233f66(0x2cf)],_0x10de0a=this[_0x233f66(0x241)],_0x18bfe5=this[_0x233f66(0x3f3)];if(!_0x18bfe5){_0x18bfe5=this['_reverseMap']=[];for(var _0x550c48=0x0;_0x550c48<_0x10de0a[_0x233f66(0x2cf)];_0x550c48++)_0x18bfe5[_0x10de0a['charCodeAt'](_0x550c48)]=_0x550c48;}var _0x44c8d5=_0x10de0a['charAt'](0x40);if(_0x44c8d5){var _0x2114b1=_0x4d1ec3[_0x233f66(0x1f6)](_0x44c8d5);_0x2114b1!==-0x1&&(_0x2b1893=_0x2114b1);}return _0xadc7ce(_0x4d1ec3,_0x2b1893,_0x18bfe5);},'_map':_0x212324(0x30f)};function _0xadc7ce(_0x2c0104,_0x316086,_0x2e6251){var _0x1a368b=_0x212324;for(var _0x48127b=[],_0x33e0b8=0x0,_0x56b1c4=0x0;_0x56b1c4<_0x316086;_0x56b1c4++)if(_0x56b1c4%0x4){var _0x353321=_0x2e6251[_0x2c0104['charCodeAt'](_0x56b1c4-0x1)]<<_0x56b1c4%0x4*0x2,_0x52885c=_0x2e6251[_0x2c0104[_0x1a368b(0xa4)](_0x56b1c4)]>>>0x6-_0x56b1c4%0x4*0x2,_0x1635ee=_0x353321|_0x52885c;_0x48127b[_0x33e0b8>>>0x2]|=_0x1635ee<<0x18-_0x33e0b8%0x4*0x8,_0x33e0b8++;}return _0x392ea7[_0x1a368b(0xc0)](_0x48127b,_0x33e0b8);}}()),_0x267aa1[_0x3b0657(0x28c)][_0x3b0657(0x160)];}));}(Ee)),Ee[_0x4b26a9(0x407)];}function _0x5c98(){var _0x538eaf=['SHA1','_doFinalize','/universer-api/snapshot/','_throwTelemetryCollaborationNewChangeset','clear','_scheduleCollaborationTimeoutTimer','initWorkbookPermissionChange','_snapshotServerService','_substituteUndoStack','CHANGESET_SHOULD_RETRY','setWaitCount','_telemetryService','/block/','_localCacheService','Workbook','UNIVER_PROJECT','generateRandomId','getImageSourceCache','memberID','_schedule','EMAIL_VERIFY_CODE_MISMATCH','Failed\x20to\x20update\x20permission\x20point','_createSocket','ERROR_IMAGE_TYPE','unitID','/new_changes','HttpExport','getSheetId','RECV','subUnitId','[OfflineState]:\x20received\x20rejection.','UNKNOWN_CODE','RETRY_CONNECTING_MAX_COUNT_KEY','HEARTBEAT_INTERVAL_KEY','_updateLocalCache','saveSheetBlock','resend','action','iterations','isTransformMutationsWithChangesetSuccess','getAllMembers','PasswordBasedCipher','getMember','loadSheet','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','[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.','_clearCollaborationTimeoutTimer','onTransformIME','IUndoRedoService','getTime','_executeRemoteChangeset','startTime','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','isArray','listRoles','keySize','univer-pro.collaboration-client.network-condition.service','toStringTag','equals','SheetTransformSelectionsService','onTransformRemoteChangesetByIMECache','reset','getUnitId','get','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','title','_iv','_tryEnsureSocket','/universer-api/comb','Univer','NOT_FOUND','[OfflineState]:\x20received\x20acknowledgement.','getLatestCsReqIdBySid','REDEMPTION_USER_REDEEM_TIMES_EXCEED','unsubscribe','algo','removeMember','LOGIN_TOKEN_PROCESSING_FAILED','change$','file','_roomMembers','SessionStatus','_lockTransition','_permissionService','put','getOwnPropertyDescriptor','transformMutationsWithChangeset','UnitEmbedded','_hasher','_socketService','onRemoteAck','[OfflineState]:\x20received\x20changeset.','toggleOffline','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_keyPriorReset','PendingState','_getSignURL','confirm','authzUrl','FileId','resourceIDs','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_entityInit$','body','REDEMPTION_INVALID_CODE','_toggleOffline','infoRsp','pending','reject','_transformStateCache','USERS_LEAVE','event$','_commentService','EMAIL_HAS_BEEN_BOUND','ENTITLE_DUP_SUBSCRIPTION','{fileID}','_initUnitPermissionChange','_data','_revisionService','_queuedRemoteChangesets','[CollaborationSessionService]:\x20socket\x20error','range','_nDataBytes','unitId','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','serializeCombRequest','Error\x20on\x20receiving\x20event','_reverseMap','firstValueFrom','_initMergeInterceptor','_state','UniverCollaborationPlugin','Tools','?size=','_getCtorByUniverType','_getAPIPrefixPath','[PendingState]:\x20received\x20acknowledgement.','/object','_collabSessionService','add','toDisposable','pluginName','REDEMPTION_USER_NOT_ELIGIBLE','override','IConfigService','encryptBlock','_clearHeartbeatTimer','exports','transformSelections','LIVESHARE_FETCH_OPERATIONS','PSEUDO_FETCH_MISSING_RESULT','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','pauseCollaboration','apply','createSocket','cfg','_transformIMECache','fetchMiss','UnitSnapshot','subject','min','objectType','[CollaborationEntity]','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','isTransformChangesetsSuccess','url','_removeRoom','BehaviorSubject','textRanges','UPDATE_CURSOR','AES','UNRECOGNIZED','INVITE_CODE_REQUIRED','send','ws://127.0.0.1:8000/universer-api/comb/connect','mixIn','enableSingleActiveInstanceLock','BufferedBlockAlgorithm','sid','name','_sheetTransformSelectionsService','sendChangesetTimeout','AwaitingState','MUTATION','_resendWithTimeout','Plugin','_shouldReportTelemetry','origin','CHANGESET_ACK','saveSnapshot','CBC','YUUMI_CONNECTOR_URL_NOT_FOUND','GLOBAL_ROOMS_CNT_EXCEEDS','charCodeAt','ClipsheetFragments','ENSURE_SNAPSHOT_EXECUTION','encode','INVITE_CODE_HAS_BEEN_UES','UUID','COMPRESS_MUTATION_APPLY','PERMISSION_DENIED','_getUploadFileURL','_commentUpdate$','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','message$','CipherParams','_onUserLeave','IUniverInstanceService','_members','getMemberID','_transformService','_unlockTransition','[CollaborationUndoRedoService]','_transformRemoteChangesetByIMECache','has','AWAITING','session.room-not-exists','COMPLETION_FINISHED','loadDoc','INVITE_CODE_ALREADY_BOUND','getActiveSheet','create','hasOwnProperty','now','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','createInstance','UNIVER_DOC','EmptyMutationInfo','sigBytes','getRoom','HEARTBEAT','REDEMPTION_CODE_FULLY_REDEEMED','HmacSHA1','pipe','[SyncedState]:\x20received\x20rejection.','UNIVER_UNKNOWN','Disposable','716448nBlowF','salt','_isPermissionRej','b64DecodeUnicode','AwaitingWithPendingState','error','getResourcesRequest','_oKey','batchAllowed','code','close','HttpImport','session.room-permission-denied','joinEvent','pad','createDecryptor','blockSize','CompressMutationService','CollaborationEntity','merge','CollaborationSessionService','_socket','_getLoginPath','stopTime','_socket$','_roomCreated$','disposeWithMe','ConflictState','LocaleService','ENTITLE_NEED_BILLING_ADDRESS','ENTITLE_COUPON_EXPIRED','unknown','RETRY_CONNECTING_MAX_COUNT','RxDisposable','_sessions','enableAuthServer','YUUMI_AI_RUN_FAILED','SetSelectionsOperation','getLocalCacheKey','&assign=','_applyRemoteChangeset','_rescheduleHeartbeat','getCurrentUser','ERROR_AGAIN','_updateState','loadUnit','ITelemetryService','Hasher','editing\x20status\x20changed\x20to','includes','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','NOT_COLLAB','OpenSSL','Module','ISnapshotServerService','SnapshotService','REDEMPTION_CODE_HAS_BEEN_CREATED','UniverInstanceType','ISocketService','function','_collaborationTimeoutTimer','updateCollaborator','signUrlServerUrl','/universer-api/snapshot','_onConnectionFailed','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','/universer-api/oidc/authpage','_listenToNetworkCondition','onRemoteRetry','revision','deepClone','OfflineState','_retryConnectingTimer','symbol','_onConflict','mutations','m2Prime','csRejEvent','fetching\x20missing\x20changesets\x20from\x20','onTransformRemoteChangesetByStateCache','onSendChangeset','key','updatePermissionObjEvent','routeKey','ICommandService','ENTITLE_INSUFFICIENT_QUOTA','DisposableCollection','c1Prime','__esModule','_onMessage','_userManagerService','_replayCachedMutations','disableLocalCache','subscribe','startsWith','FETCH_MISSING','debug','ciphertext','Could\x20not\x20dynamically\x20require\x20\x22','_registerDependencies','/object/','session','synced','getUnitStatus$','_keySchedule','getWorkbookSelections','_transformUndoredo','touchDependencies','Cipher','splice','INTERNAL_ERROR','default','isInternalEditorID','reduce','unpad','src','CollaborationUIEventService','socket\x20open.','liveShareNewHost','TOO_MANY_REQUESTS','7FcCNUZ','encodeURIComponent','_socketReady','onLocalMutation','HEARTBEAT_TIMEOUT','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','telemetry\x20info\x20is\x20not\x20initialized','shareReplay','_stopTelemetryCollaborationNewChangeset','BlockCipherMode','_init','Pkcs7','APPLY_NON_SEQUENTIAL_REVISION','filter','not_collab','_clearScheduledTask','_collaborationSessionService','_memberService','_createInitialStateImpl','_sendHeartbeat','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','MOBILE_VERIFY_CODE_MISMATCH','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','Undefined','Base64','textEncoder','ILocalCacheService','_doCryptBlock','\x20to\x20','__splitChunk__','/-/object/-/batch_allowed','HEARTBEAT_INTERVAL','People','catch','location','executeCommand','NoPadding','liveShareOperation','loadUnitOfRevision','WordArray','_clearUndo','_clearRedo','_iKey','DocCollaborationEntity','FetchingMissState','LEAVE','downloadEndpointUrl','MentionIoHttpService','state$','snapshot','DependentOn','BlockCipher','_parse','ENTITLE_REPORT_LIMIT_EXCEED','MentionType','params','_undoRedoService','LIVESHARE_OPERATION','getCurrentRevOfUnit','unitInfo$','YUUMI_ALL_TABLES_IS_INVALID','_onRemoteACK','_univerInstanceService','Inject','1683105Fxjbbf','IContextService','takeUntil','getUnitType','UserProfileImg','image/jpg','Optional','_type','[FetchMissState]','INGEST','_decreaseWaiting','setCurrentUser','CommandType','awaiting_with_pending','_invKeySchedule','_sender','_acknowledgedAwaitingChangeset','_process','InsertSheetMutation','SheetsSelectionsService','saveChangeset','ivSize','transformUndoRedo','encrypt','/allowed','emitEvent','OPTIONAL','Decryptor','_scheduleCompleteTimestamp','workbook','SUBMIT_CHANGESET','onRemoteRej','REDEMPTION_CODE_NOT_STARTED','sessionStatus$','ThresholdInterceptorFactory','fetch_missing','_collaborationUIEventService','DataLoaderService','concat','concatMap','onCommentUpdate','_onUserJoin','_getDownloadEndpointURL','toString','_xformMode','values','_status$','/universer-api/user/session-ticket','IPermissionService','roles','_handler','LICENSE_IMPORT_SIZE_EXCEEDED','take','updatePermissionPoint','_HTTPService','YUUMI_RATE_OVER_LIMIT','_remoteChangesetQueue','SOCKET_FAILED','registerHTTPInterceptor','Injector','&source=','uploadFileServerUrl','session.room-cnt-exceeds','APPLY_PERMISSION_DENIED','UniverNetworkPlugin','univer-pro.collaboration-client.single-active-unit-service','session.room-full','Malformed\x20UTF-8\x20data','__Key__','_clearTimeoutTimer','/-/object/list','SheetPermissionInitController','collaboratorID','JOIN_ROOM_FAILED','socketService','unit-cache-','ReplaySubject','CommentService','_cipher','_initRequestHeader','incrementRevOfUnit','_event$','LIVESHARE_REQUEST_HOST','_emitMembers','onlyLocal','_prevBlock','_collaborationPaused','_mode','getInterceptPoints','_updateStatus','objectID','AuthzIoHttpService','YUUMI_NO_CUBOID_FOR_QUESTION','WorkbookEditablePermission','slice','onTransformState','_getCurrentRevision','type','CHANGESET_REVISION_CONFILICT','YUUMI_URL_COL_OUT_OF_RANGE','_injector','finalize','RichTextEditingMutation','IMentionIOService','_transformRemoteChangesetByStateCache','_getRedoStack','delete','_imageSourceCache','UNISCRIPT_RUN','SnapshotServerOverHTTPService','indexOf','USER_NOT_FOUND','deleteCollaborator','rev','getUnitOnRev','PERSON','getConfig','_getSendChangesetTimeout','replace','MSG_FOR_ERROR','_toggleOnline','_retryCount','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','collabSubmitChangesetUrl','_submitChangeset','clone','lib','_onRecvEvent','INVALID_ARGUMENT','updateMember','reqId','objects','kdf','parse','getRandomValues','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getSnapshotAPIPath','getUnit','href','_awaitingChangeset','[CollaborationSessionService]','post','_ENC_XFORM_MODE','localeService','collaboration-client.local-cache-service','_createHelper','ENTITLE_CAN_NOT_BUY_LOWER_OTP','repeat','fromCharCode','UNIVER_COLLABORATION_CLIENT_PLUGIN','deserializeToCombResponse','reverse','userID','asObservable','responseType','3575412zBVBrB','buffer','csShouldRetryEvent','focused$','_incrementRevisionNumber','isPermissionRej','HTTPRequest','closeSession','_createInitialState','_unitInfo$','changesets','_snapshotService','addHandlerCallback','_waitForHeartbeatResponse','BASE64','onStateChange','_changesetReqId','createCollaborator','dispose$','IAuthzIoService','commentUpdate$','PENDING','/universer-api/authz','x-univer-host','snapshotServerUrl','_append','_resendTimer','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','ENTITLE_USE_COUPON_NOT_1ST_TRADE','decrypt','_map','getCollabEntity','onload','REDEMPTION_CODE_INACTIVE','_members$','MOBILE_HAS_BEEN_BOUND','UNKNOWN_CMD','EvpKDF','stringify','PERMISSION_REJ','YUUMI_UNABLE_LOAD_URL','state','42970SCmxCi','_networkConditionService','padding','_entities','_sessionStatus$','ceil','Subject','JOIN_ROOM_FULL','headers','_transformStack','_telemetryInfo','APPLY_DUPLICATED','YUUMI_ASYNCIO_CANCELLED','floor','refreshPermission','_config','fetchMissingChangesets','_doCreateSocket','init','JOINING','_redoStacks','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','/rev/','error$','_sendHeartbeatTimer','APPLY_REVISION_CONFILICT','INetworkConditionService','LOCAL_CACHE_INTERVAL','ENTITLE_INVALID_COUPON_CODE','execute','3094552BAmZVd','saveImage','string','size','transformChangesets','[CollaborationState]:\x20apply\x20error!','cmd','resolve','[CollaborationSession]','_onRemoteChangeset','&to=','collaborators','online$','commentUpdateEvent','extend','uuidv4','getTypeOfUnitAdded$','collaboration_new_changeset','getFocusedUnit','mapDocumentTypeToUniverType','SheetCollaborationEntity','ImageUploadStatusType','CollaborationSession','OTHER_CLIENTS_EDITING','/collaborator','HTTPService','JOIN','ENTITLE_COUPON_USED_UP','fetchThroughInterceptors','ERROR_IMAGE','_singleActiveUnitService','_joinRoom','ONLINE','enc','UnitStatus','entries','USER_NOT_INVITED_CODE','_sendingTimer','DEFAULT_FILE_NAME','_disableEditing','prototype','updateSnapshot','_handlerCallback','_hash','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','FETCH_MISS','CHANGESET_REJ','ILogService','_instanceService','onMissingChangesets','CONNECTOR_DATA_TOO_LARGE','getImage','LIVESHARE_NEW_HOST','FAIL','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','SerializableCipher','ImageSourceType','_state$','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','list','LICENSE_MAX_UNITS_EXCEEDED','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','sessionStatus','OTHER_CLIENT_EDITING','univer-pro.collaboration-client-socket-service','PAYMENT_CHANNEL_NOT_SUPPORT','[SyncedState]:\x20received\x20acknowledgement.','_startTelemetryCollaborationNewChangeset','decryptBlock','every','parseChangesetToProtocol','_onLocalMutation','appendMutation','createEncryptor','collaboration-client.config','onRemoteChangeset','randomBytes','duration','_waitCount','_resendTimeout','_clearRetryConnectingTimer','join','_exhaustRemoteChangesetQueue','CollaborationController','_onJoinRoomEvent','_getUndoStack','ENTITLE_CHAT_LIMIT_EXCEED','__creator','onSyncEditingCollabCursor','CollaborationImageIoService','data','UNAUTHENTICATED','status$','transformStack\x20failed!','complete','max','_httpService','UNIVER_SHEET','YUUMI_SUBSCRIPTION_NOT_FOUND','conflict','length','CURRENT_STATUS_CANNOT_OPERATE','_getAPIPrefix','requireSession','close$','interceptor','setShowComponents','auth.needGotoLoginAlert','msCrypto','crypto','ITransformService','defineProperty','RevisionService','getDeserializedSheetBlock','DATA_SOURCE_TOO_LARGE','_doReset','sequenceExecute','originalMeta','SNAPSHOT_INVALID_SNAPSHOT','awaiting','_replaceFileID','baseRev','_transformSelections','call','hostname','JOIN_ROOM_NOT_EXISTS','_socketMessageSubscription','result','[UniverCollaborationClientPlugin]','words','onTransformSelections','_clearLocalCache','image/bmp','CONFLICT','1773HIeByA','CollaborationSocketService','_nRounds','c2Prime','createIdentifier','LICENSE_DISTRO_REJECTED','[PendingState]:\x20received\x20rejection.','_commandService','_createHmacHelper','_logService','_unitID','_createHandler','_candidateSocket','USERS_ENTER','byteLength','_eventService','_minBufferSize','HMAC','format','mode','Encryptor','_changesetSessionId','getValue','ISingleActiveUnitService','LICENSE_EXPORT_SIZE_EXCEEDED','_onConnectionOpen','requestParams','NO_OTHER_CLIENTS_EDITING','/universer-api/stream/file/upload','_checkMissing','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','SNAPSHOT_HAS_BEEN_REMOVED','_onRemoteRetry','reconnect','charAt','AUTHORIZE_CODE_ILLEGAL','/resources','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_syncEditingCollabCursor','_onOffline','UPDATE_PERMISSION_OBJ','_startCollaboration','POST','\x20-\x20','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','csAckEvent','\x0aAfter:\x20','CollaborativeUndoRedoService','socket\x20close','withCredentials','COMPRESS_MUTATION_SEND','827740ACNsoG','_showConflictNotification','localCacheService','_initDependencies','image/png','status','_localeService','selections','[DataLoaderService]','UNDEFINED','INVALID_INVITE_CODE','save\x20fail\x20reason\x20is\x20','SyncedState','/unit/','StreamCipher','failed\x20to\x20apply\x20missed\x20changesets!','COMMENT_UPDATE','IDLE','CollaborationStatus','patch','eventID','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','map','_maxTotalRetryTimeout','connection\x20error','NEW_CHANGESETS','_onRemoteRejected','clamp','update','Utf8','fromCollab','UNIVER_SLIDE','DEFAULT_WS_SESSION_TICKET_URL','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','HELLO','USER_IS_ANONYMOUS','OFFLINE','dispose','ALREADY_EXISTS','MemberService','getTypeOfUnitDisposed$','\x20in\x20_schedule.','editingUnit','CollaborationEvent','readAsDataURL','next','JOIN_ROOM_PERMISSION_DENIED','CLOSE_ROOM','_timeoutTimer','LOGIN_FAILED','set','_pendingMutations','LIVESHARE_TERMINATE','_configService','MD5','Base','toggleOnline','370024oWVmul','awaitingChangeset','actions','SHOULD_CLOSE_CONN','SUBMIT_CHANGESET_TIMEOUT','?url=','_compressMutationService','compute','_fetchMissChangesets','updateOfflineData','SUCCUSS','UniverCollaborationClientPlugin','offline','updateCursorEvent','sin','push','SOCKET_FAILED_RETRY','forEach','_transitionLocked','18HJKbEy','onStarting','[PendingState]:\x20unhandled\x20univer\x20type:\x20'];_0x5c98=function(){return _0x538eaf;};return _0x5c98();}var pe={'exports':{}},Oi=pe[_0xff55f3(0x407)],Xe;function bi(){return Xe||(Xe=0x1,function(_0x399919,_0x166280){(function(_0x2b1719,_0x59e758){var _0x2c0ad2=_0x1e3a;_0x399919[_0x2c0ad2(0x407)]=_0x59e758(Z());}(Oi,function(_0x123d11){var _0x32e942=_0x1e3a;return function(_0x1b9b61){var _0x469d7d=_0x1e3a,_0x189ff5=_0x123d11,_0x22b056=_0x189ff5[_0x469d7d(0x206)],_0x21208b=_0x22b056['WordArray'],_0x484263=_0x22b056[_0x469d7d(0xff)],_0x523bd5=_0x189ff5['algo'],_0x1e2cfb=[];(function(){var _0xe387b=_0x469d7d;for(var _0x1a1c79=0x0;_0x1a1c79<0x40;_0x1a1c79++)_0x1e2cfb[_0x1a1c79]=_0x1b9b61['abs'](_0x1b9b61[_0xe387b(0x36b)](_0x1a1c79+0x1))*0x100000000|0x0;}());var _0x58b963=_0x523bd5[_0x469d7d(0x35a)]=_0x484263['extend']({'_doReset':function(){var _0x540d99=_0x469d7d;this[_0x540d99(0x296)]=new _0x21208b[(_0x540d99(0x25f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x21a4a0,_0x51f1cc){var _0x330ef2=_0x469d7d;for(var _0x9f50ba=0x0;_0x9f50ba<0x10;_0x9f50ba++){var _0x34679e=_0x51f1cc+_0x9f50ba,_0x5e1b16=_0x21a4a0[_0x34679e];_0x21a4a0[_0x34679e]=(_0x5e1b16<<0x8|_0x5e1b16>>>0x18)&0xff00ff|(_0x5e1b16<<0x18|_0x5e1b16>>>0x8)&0xff00ff00;}var _0x15ecf4=this[_0x330ef2(0x296)][_0x330ef2(0x2ec)],_0x5407dd=_0x21a4a0[_0x51f1cc+0x0],_0x383b94=_0x21a4a0[_0x51f1cc+0x1],_0x4e9b2f=_0x21a4a0[_0x51f1cc+0x2],_0x36d657=_0x21a4a0[_0x51f1cc+0x3],_0x2223aa=_0x21a4a0[_0x51f1cc+0x4],_0x3fe1c0=_0x21a4a0[_0x51f1cc+0x5],_0x1c9fbd=_0x21a4a0[_0x51f1cc+0x6],_0x6a41f8=_0x21a4a0[_0x51f1cc+0x7],_0x488c86=_0x21a4a0[_0x51f1cc+0x8],_0x562662=_0x21a4a0[_0x51f1cc+0x9],_0x3f60c4=_0x21a4a0[_0x51f1cc+0xa],_0x10b715=_0x21a4a0[_0x51f1cc+0xb],_0x5d0df6=_0x21a4a0[_0x51f1cc+0xc],_0x2a057f=_0x21a4a0[_0x51f1cc+0xd],_0x34ce12=_0x21a4a0[_0x51f1cc+0xe],_0x4fb6e9=_0x21a4a0[_0x51f1cc+0xf],_0x1f3c21=_0x15ecf4[0x0],_0x38c9a4=_0x15ecf4[0x1],_0x2882b5=_0x15ecf4[0x2],_0x253812=_0x15ecf4[0x3];_0x1f3c21=_0x138ad8(_0x1f3c21,_0x38c9a4,_0x2882b5,_0x253812,_0x5407dd,0x7,_0x1e2cfb[0x0]),_0x253812=_0x138ad8(_0x253812,_0x1f3c21,_0x38c9a4,_0x2882b5,_0x383b94,0xc,_0x1e2cfb[0x1]),_0x2882b5=_0x138ad8(_0x2882b5,_0x253812,_0x1f3c21,_0x38c9a4,_0x4e9b2f,0x11,_0x1e2cfb[0x2]),_0x38c9a4=_0x138ad8(_0x38c9a4,_0x2882b5,_0x253812,_0x1f3c21,_0x36d657,0x16,_0x1e2cfb[0x3]),_0x1f3c21=_0x138ad8(_0x1f3c21,_0x38c9a4,_0x2882b5,_0x253812,_0x2223aa,0x7,_0x1e2cfb[0x4]),_0x253812=_0x138ad8(_0x253812,_0x1f3c21,_0x38c9a4,_0x2882b5,_0x3fe1c0,0xc,_0x1e2cfb[0x5]),_0x2882b5=_0x138ad8(_0x2882b5,_0x253812,_0x1f3c21,_0x38c9a4,_0x1c9fbd,0x11,_0x1e2cfb[0x6]),_0x38c9a4=_0x138ad8(_0x38c9a4,_0x2882b5,_0x253812,_0x1f3c21,_0x6a41f8,0x16,_0x1e2cfb[0x7]),_0x1f3c21=_0x138ad8(_0x1f3c21,_0x38c9a4,_0x2882b5,_0x253812,_0x488c86,0x7,_0x1e2cfb[0x8]),_0x253812=_0x138ad8(_0x253812,_0x1f3c21,_0x38c9a4,_0x2882b5,_0x562662,0xc,_0x1e2cfb[0x9]),_0x2882b5=_0x138ad8(_0x2882b5,_0x253812,_0x1f3c21,_0x38c9a4,_0x3f60c4,0x11,_0x1e2cfb[0xa]),_0x38c9a4=_0x138ad8(_0x38c9a4,_0x2882b5,_0x253812,_0x1f3c21,_0x10b715,0x16,_0x1e2cfb[0xb]),_0x1f3c21=_0x138ad8(_0x1f3c21,_0x38c9a4,_0x2882b5,_0x253812,_0x5d0df6,0x7,_0x1e2cfb[0xc]),_0x253812=_0x138ad8(_0x253812,_0x1f3c21,_0x38c9a4,_0x2882b5,_0x2a057f,0xc,_0x1e2cfb[0xd]),_0x2882b5=_0x138ad8(_0x2882b5,_0x253812,_0x1f3c21,_0x38c9a4,_0x34ce12,0x11,_0x1e2cfb[0xe]),_0x38c9a4=_0x138ad8(_0x38c9a4,_0x2882b5,_0x253812,_0x1f3c21,_0x4fb6e9,0x16,_0x1e2cfb[0xf]),_0x1f3c21=_0x83bd82(_0x1f3c21,_0x38c9a4,_0x2882b5,_0x253812,_0x383b94,0x5,_0x1e2cfb[0x10]),_0x253812=_0x83bd82(_0x253812,_0x1f3c21,_0x38c9a4,_0x2882b5,_0x1c9fbd,0x9,_0x1e2cfb[0x11]),_0x2882b5=_0x83bd82(_0x2882b5,_0x253812,_0x1f3c21,_0x38c9a4,_0x10b715,0xe,_0x1e2cfb[0x12]),_0x38c9a4=_0x83bd82(_0x38c9a4,_0x2882b5,_0x253812,_0x1f3c21,_0x5407dd,0x14,_0x1e2cfb[0x13]),_0x1f3c21=_0x83bd82(_0x1f3c21,_0x38c9a4,_0x2882b5,_0x253812,_0x3fe1c0,0x5,_0x1e2cfb[0x14]),_0x253812=_0x83bd82(_0x253812,_0x1f3c21,_0x38c9a4,_0x2882b5,_0x3f60c4,0x9,_0x1e2cfb[0x15]),_0x2882b5=_0x83bd82(_0x2882b5,_0x253812,_0x1f3c21,_0x38c9a4,_0x4fb6e9,0xe,_0x1e2cfb[0x16]),_0x38c9a4=_0x83bd82(_0x38c9a4,_0x2882b5,_0x253812,_0x1f3c21,_0x2223aa,0x14,_0x1e2cfb[0x17]),_0x1f3c21=_0x83bd82(_0x1f3c21,_0x38c9a4,_0x2882b5,_0x253812,_0x562662,0x5,_0x1e2cfb[0x18]),_0x253812=_0x83bd82(_0x253812,_0x1f3c21,_0x38c9a4,_0x2882b5,_0x34ce12,0x9,_0x1e2cfb[0x19]),_0x2882b5=_0x83bd82(_0x2882b5,_0x253812,_0x1f3c21,_0x38c9a4,_0x36d657,0xe,_0x1e2cfb[0x1a]),_0x38c9a4=_0x83bd82(_0x38c9a4,_0x2882b5,_0x253812,_0x1f3c21,_0x488c86,0x14,_0x1e2cfb[0x1b]),_0x1f3c21=_0x83bd82(_0x1f3c21,_0x38c9a4,_0x2882b5,_0x253812,_0x2a057f,0x5,_0x1e2cfb[0x1c]),_0x253812=_0x83bd82(_0x253812,_0x1f3c21,_0x38c9a4,_0x2882b5,_0x4e9b2f,0x9,_0x1e2cfb[0x1d]),_0x2882b5=_0x83bd82(_0x2882b5,_0x253812,_0x1f3c21,_0x38c9a4,_0x6a41f8,0xe,_0x1e2cfb[0x1e]),_0x38c9a4=_0x83bd82(_0x38c9a4,_0x2882b5,_0x253812,_0x1f3c21,_0x5d0df6,0x14,_0x1e2cfb[0x1f]),_0x1f3c21=_0x1b3b04(_0x1f3c21,_0x38c9a4,_0x2882b5,_0x253812,_0x3fe1c0,0x4,_0x1e2cfb[0x20]),_0x253812=_0x1b3b04(_0x253812,_0x1f3c21,_0x38c9a4,_0x2882b5,_0x488c86,0xb,_0x1e2cfb[0x21]),_0x2882b5=_0x1b3b04(_0x2882b5,_0x253812,_0x1f3c21,_0x38c9a4,_0x10b715,0x10,_0x1e2cfb[0x22]),_0x38c9a4=_0x1b3b04(_0x38c9a4,_0x2882b5,_0x253812,_0x1f3c21,_0x34ce12,0x17,_0x1e2cfb[0x23]),_0x1f3c21=_0x1b3b04(_0x1f3c21,_0x38c9a4,_0x2882b5,_0x253812,_0x383b94,0x4,_0x1e2cfb[0x24]),_0x253812=_0x1b3b04(_0x253812,_0x1f3c21,_0x38c9a4,_0x2882b5,_0x2223aa,0xb,_0x1e2cfb[0x25]),_0x2882b5=_0x1b3b04(_0x2882b5,_0x253812,_0x1f3c21,_0x38c9a4,_0x6a41f8,0x10,_0x1e2cfb[0x26]),_0x38c9a4=_0x1b3b04(_0x38c9a4,_0x2882b5,_0x253812,_0x1f3c21,_0x3f60c4,0x17,_0x1e2cfb[0x27]),_0x1f3c21=_0x1b3b04(_0x1f3c21,_0x38c9a4,_0x2882b5,_0x253812,_0x2a057f,0x4,_0x1e2cfb[0x28]),_0x253812=_0x1b3b04(_0x253812,_0x1f3c21,_0x38c9a4,_0x2882b5,_0x5407dd,0xb,_0x1e2cfb[0x29]),_0x2882b5=_0x1b3b04(_0x2882b5,_0x253812,_0x1f3c21,_0x38c9a4,_0x36d657,0x10,_0x1e2cfb[0x2a]),_0x38c9a4=_0x1b3b04(_0x38c9a4,_0x2882b5,_0x253812,_0x1f3c21,_0x1c9fbd,0x17,_0x1e2cfb[0x2b]),_0x1f3c21=_0x1b3b04(_0x1f3c21,_0x38c9a4,_0x2882b5,_0x253812,_0x562662,0x4,_0x1e2cfb[0x2c]),_0x253812=_0x1b3b04(_0x253812,_0x1f3c21,_0x38c9a4,_0x2882b5,_0x5d0df6,0xb,_0x1e2cfb[0x2d]),_0x2882b5=_0x1b3b04(_0x2882b5,_0x253812,_0x1f3c21,_0x38c9a4,_0x4fb6e9,0x10,_0x1e2cfb[0x2e]),_0x38c9a4=_0x1b3b04(_0x38c9a4,_0x2882b5,_0x253812,_0x1f3c21,_0x4e9b2f,0x17,_0x1e2cfb[0x2f]),_0x1f3c21=_0x32f434(_0x1f3c21,_0x38c9a4,_0x2882b5,_0x253812,_0x5407dd,0x6,_0x1e2cfb[0x30]),_0x253812=_0x32f434(_0x253812,_0x1f3c21,_0x38c9a4,_0x2882b5,_0x6a41f8,0xa,_0x1e2cfb[0x31]),_0x2882b5=_0x32f434(_0x2882b5,_0x253812,_0x1f3c21,_0x38c9a4,_0x34ce12,0xf,_0x1e2cfb[0x32]),_0x38c9a4=_0x32f434(_0x38c9a4,_0x2882b5,_0x253812,_0x1f3c21,_0x3fe1c0,0x15,_0x1e2cfb[0x33]),_0x1f3c21=_0x32f434(_0x1f3c21,_0x38c9a4,_0x2882b5,_0x253812,_0x5d0df6,0x6,_0x1e2cfb[0x34]),_0x253812=_0x32f434(_0x253812,_0x1f3c21,_0x38c9a4,_0x2882b5,_0x36d657,0xa,_0x1e2cfb[0x35]),_0x2882b5=_0x32f434(_0x2882b5,_0x253812,_0x1f3c21,_0x38c9a4,_0x3f60c4,0xf,_0x1e2cfb[0x36]),_0x38c9a4=_0x32f434(_0x38c9a4,_0x2882b5,_0x253812,_0x1f3c21,_0x383b94,0x15,_0x1e2cfb[0x37]),_0x1f3c21=_0x32f434(_0x1f3c21,_0x38c9a4,_0x2882b5,_0x253812,_0x488c86,0x6,_0x1e2cfb[0x38]),_0x253812=_0x32f434(_0x253812,_0x1f3c21,_0x38c9a4,_0x2882b5,_0x4fb6e9,0xa,_0x1e2cfb[0x39]),_0x2882b5=_0x32f434(_0x2882b5,_0x253812,_0x1f3c21,_0x38c9a4,_0x1c9fbd,0xf,_0x1e2cfb[0x3a]),_0x38c9a4=_0x32f434(_0x38c9a4,_0x2882b5,_0x253812,_0x1f3c21,_0x2a057f,0x15,_0x1e2cfb[0x3b]),_0x1f3c21=_0x32f434(_0x1f3c21,_0x38c9a4,_0x2882b5,_0x253812,_0x2223aa,0x6,_0x1e2cfb[0x3c]),_0x253812=_0x32f434(_0x253812,_0x1f3c21,_0x38c9a4,_0x2882b5,_0x10b715,0xa,_0x1e2cfb[0x3d]),_0x2882b5=_0x32f434(_0x2882b5,_0x253812,_0x1f3c21,_0x38c9a4,_0x4e9b2f,0xf,_0x1e2cfb[0x3e]),_0x38c9a4=_0x32f434(_0x38c9a4,_0x2882b5,_0x253812,_0x1f3c21,_0x562662,0x15,_0x1e2cfb[0x3f]),_0x15ecf4[0x0]=_0x15ecf4[0x0]+_0x1f3c21|0x0,_0x15ecf4[0x1]=_0x15ecf4[0x1]+_0x38c9a4|0x0,_0x15ecf4[0x2]=_0x15ecf4[0x2]+_0x2882b5|0x0,_0x15ecf4[0x3]=_0x15ecf4[0x3]+_0x253812|0x0;},'_doFinalize':function(){var _0x31552a=_0x469d7d,_0x563dcc=this[_0x31552a(0x3e8)],_0x1d93ec=_0x563dcc[_0x31552a(0x2ec)],_0x434a67=this[_0x31552a(0x3ed)]*0x8,_0x5c879e=_0x563dcc[_0x31552a(0xc7)]*0x8;_0x1d93ec[_0x5c879e>>>0x5]|=0x80<<0x18-_0x5c879e%0x20;var _0x15fbc7=_0x1b9b61[_0x31552a(0x25a)](_0x434a67/0x100000000),_0x5ec9ad=_0x434a67;_0x1d93ec[(_0x5c879e+0x40>>>0x9<<0x4)+0xf]=(_0x15fbc7<<0x8|_0x15fbc7>>>0x18)&0xff00ff|(_0x15fbc7<<0x18|_0x15fbc7>>>0x8)&0xff00ff00,_0x1d93ec[(_0x5c879e+0x40>>>0x9<<0x4)+0xe]=(_0x5ec9ad<<0x8|_0x5ec9ad>>>0x18)&0xff00ff|(_0x5ec9ad<<0x18|_0x5ec9ad>>>0x8)&0xff00ff00,_0x563dcc['sigBytes']=(_0x1d93ec['length']+0x1)*0x4,this[_0x31552a(0x199)]();for(var _0x2682d5=this[_0x31552a(0x296)],_0x5520b2=_0x2682d5[_0x31552a(0x2ec)],_0x4cbfdb=0x0;_0x4cbfdb<0x4;_0x4cbfdb++){var _0x2cb33e=_0x5520b2[_0x4cbfdb];_0x5520b2[_0x4cbfdb]=(_0x2cb33e<<0x8|_0x2cb33e>>>0x18)&0xff00ff|(_0x2cb33e<<0x18|_0x2cb33e>>>0x8)&0xff00ff00;}return _0x2682d5;},'clone':function(){var _0xfcb224=_0x469d7d,_0x14f0aa=_0x484263[_0xfcb224(0x205)][_0xfcb224(0x2e6)](this);return _0x14f0aa['_hash']=this[_0xfcb224(0x296)][_0xfcb224(0x205)](),_0x14f0aa;}});function _0x138ad8(_0x448b29,_0x471613,_0x27d897,_0x4862c3,_0x4c499a,_0x32b5b2,_0x298336){var _0x1306d2=_0x448b29+(_0x471613&_0x27d897|~_0x471613&_0x4862c3)+_0x4c499a+_0x298336;return(_0x1306d2<<_0x32b5b2|_0x1306d2>>>0x20-_0x32b5b2)+_0x471613;}function _0x83bd82(_0x178377,_0x2ca154,_0x17aefa,_0x2a400f,_0x4b81e4,_0x3af649,_0x2bf74e){var _0xc9c439=_0x178377+(_0x2ca154&_0x2a400f|_0x17aefa&~_0x2a400f)+_0x4b81e4+_0x2bf74e;return(_0xc9c439<<_0x3af649|_0xc9c439>>>0x20-_0x3af649)+_0x2ca154;}function _0x1b3b04(_0xb8af82,_0x14298b,_0x5e07bd,_0x3eaf95,_0x462bee,_0xc5bc1e,_0x277db4){var _0x1b353b=_0xb8af82+(_0x14298b^_0x5e07bd^_0x3eaf95)+_0x462bee+_0x277db4;return(_0x1b353b<<_0xc5bc1e|_0x1b353b>>>0x20-_0xc5bc1e)+_0x14298b;}function _0x32f434(_0x2b058e,_0x43d275,_0x59001f,_0x243b95,_0x5d1df2,_0x3bff75,_0xd0337){var _0x4cf87c=_0x2b058e+(_0x59001f^(_0x43d275|~_0x243b95))+_0x5d1df2+_0xd0337;return(_0x4cf87c<<_0x3bff75|_0x4cf87c>>>0x20-_0x3bff75)+_0x43d275;}_0x189ff5[_0x469d7d(0x35a)]=_0x484263[_0x469d7d(0x219)](_0x58b963),_0x189ff5['HmacMD5']=_0x484263[_0x469d7d(0x2f9)](_0x58b963);}(Math),_0x123d11[_0x32e942(0x35a)];}));}(pe)),pe['exports'];}var me={'exports':{}},ge={'exports':{}},Ri=ge[_0xff55f3(0x407)],Je;function Ni(){var _0x15db83=_0xff55f3;return Je||(Je=0x1,function(_0x4fa729,_0x4aa536){(function(_0x5c7fcd,_0x2f46f1){_0x4fa729['exports']=_0x2f46f1(Z());}(Ri,function(_0x226c02){return(function(){var _0x434497=_0x1e3a,_0x5b2a33=_0x226c02,_0x4a3de5=_0x5b2a33[_0x434497(0x206)],_0x38c31b=_0x4a3de5[_0x434497(0x16f)],_0x46ec3a=_0x4a3de5[_0x434497(0xff)],_0x31aee0=_0x5b2a33[_0x434497(0x3be)],_0x4c165d=[],_0xbb4c3=_0x31aee0[_0x434497(0x373)]=_0x46ec3a[_0x434497(0x279)]({'_doReset':function(){var _0x2d40b6=_0x434497;this[_0x2d40b6(0x296)]=new _0x38c31b[(_0x2d40b6(0x25f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x442bf2,_0x5a2b75){var _0x434ab2=_0x434497;for(var _0x23cebb=this[_0x434ab2(0x296)][_0x434ab2(0x2ec)],_0x49f4c5=_0x23cebb[0x0],_0x1086fb=_0x23cebb[0x1],_0x5dbbea=_0x23cebb[0x2],_0x4b1d2f=_0x23cebb[0x3],_0x4c2796=_0x23cebb[0x4],_0x27cdb7=0x0;_0x27cdb7<0x50;_0x27cdb7++){if(_0x27cdb7<0x10)_0x4c165d[_0x27cdb7]=_0x442bf2[_0x5a2b75+_0x27cdb7]|0x0;else{var _0x265720=_0x4c165d[_0x27cdb7-0x3]^_0x4c165d[_0x27cdb7-0x8]^_0x4c165d[_0x27cdb7-0xe]^_0x4c165d[_0x27cdb7-0x10];_0x4c165d[_0x27cdb7]=_0x265720<<0x1|_0x265720>>>0x1f;}var _0x14a172=(_0x49f4c5<<0x5|_0x49f4c5>>>0x1b)+_0x4c2796+_0x4c165d[_0x27cdb7];_0x27cdb7<0x14?_0x14a172+=(_0x1086fb&_0x5dbbea|~_0x1086fb&_0x4b1d2f)+0x5a827999:_0x27cdb7<0x28?_0x14a172+=(_0x1086fb^_0x5dbbea^_0x4b1d2f)+0x6ed9eba1:_0x27cdb7<0x3c?_0x14a172+=(_0x1086fb&_0x5dbbea|_0x1086fb&_0x4b1d2f|_0x5dbbea&_0x4b1d2f)-0x70e44324:_0x14a172+=(_0x1086fb^_0x5dbbea^_0x4b1d2f)-0x359d3e2a,_0x4c2796=_0x4b1d2f,_0x4b1d2f=_0x5dbbea,_0x5dbbea=_0x1086fb<<0x1e|_0x1086fb>>>0x2,_0x1086fb=_0x49f4c5,_0x49f4c5=_0x14a172;}_0x23cebb[0x0]=_0x23cebb[0x0]+_0x49f4c5|0x0,_0x23cebb[0x1]=_0x23cebb[0x1]+_0x1086fb|0x0,_0x23cebb[0x2]=_0x23cebb[0x2]+_0x5dbbea|0x0,_0x23cebb[0x3]=_0x23cebb[0x3]+_0x4b1d2f|0x0,_0x23cebb[0x4]=_0x23cebb[0x4]+_0x4c2796|0x0;},'_doFinalize':function(){var _0xa03a06=_0x434497,_0xd67781=this[_0xa03a06(0x3e8)],_0x1560b1=_0xd67781[_0xa03a06(0x2ec)],_0x443c94=this[_0xa03a06(0x3ed)]*0x8,_0x511a03=_0xd67781[_0xa03a06(0xc7)]*0x8;return _0x1560b1[_0x511a03>>>0x5]|=0x80<<0x18-_0x511a03%0x20,_0x1560b1[(_0x511a03+0x40>>>0x9<<0x4)+0xe]=Math[_0xa03a06(0x25a)](_0x443c94/0x100000000),_0x1560b1[(_0x511a03+0x40>>>0x9<<0x4)+0xf]=_0x443c94,_0xd67781['sigBytes']=_0x1560b1[_0xa03a06(0x2cf)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x1ba866=_0x434497,_0x16b114=_0x46ec3a[_0x1ba866(0x205)][_0x1ba866(0x2e6)](this);return _0x16b114[_0x1ba866(0x296)]=this[_0x1ba866(0x296)][_0x1ba866(0x205)](),_0x16b114;}});_0x5b2a33[_0x434497(0x373)]=_0x46ec3a[_0x434497(0x219)](_0xbb4c3),_0x5b2a33[_0x434497(0xcb)]=_0x46ec3a[_0x434497(0x2f9)](_0xbb4c3);}()),_0x226c02['SHA1'];}));}(ge)),ge[_0x15db83(0x407)];}var Te={'exports':{}},Di=Te[_0xff55f3(0x407)],Ze;function yi(){var _0xfabc4a=_0xff55f3;return Ze||(Ze=0x1,function(_0x1f9c5c,_0x43fd45){(function(_0x4510f1,_0x3f1f1d){var _0x39e099=_0x1e3a;_0x1f9c5c[_0x39e099(0x407)]=_0x3f1f1d(Z());}(Di,function(_0x59a635){(function(){var _0x57f03f=_0x1e3a,_0x3bb870=_0x59a635,_0x29a541=_0x3bb870[_0x57f03f(0x206)],_0x36a247=_0x29a541['Base'],_0x4f34a4=_0x3bb870['enc'],_0x525f30=_0x4f34a4[_0x57f03f(0x341)],_0x1dd167=_0x3bb870[_0x57f03f(0x3be)];_0x1dd167[_0x57f03f(0x302)]=_0x36a247[_0x57f03f(0x279)]({'init':function(_0x3e5b21,_0x4b02d2){var _0x1ede54=_0x57f03f;_0x3e5b21=this[_0x1ede54(0x3cb)]=new _0x3e5b21[(_0x1ede54(0x25f))](),typeof _0x4b02d2==_0x1ede54(0x26d)&&(_0x4b02d2=_0x525f30[_0x1ede54(0x20d)](_0x4b02d2));var _0x21b9de=_0x3e5b21[_0x1ede54(0xe0)],_0x263d6c=_0x21b9de*0x4;_0x4b02d2[_0x1ede54(0xc7)]>_0x263d6c&&(_0x4b02d2=_0x3e5b21[_0x1ede54(0x1ed)](_0x4b02d2)),_0x4b02d2[_0x1ede54(0x33f)]();for(var _0x506623=this[_0x1ede54(0xd7)]=_0x4b02d2[_0x1ede54(0x205)](),_0x53276c=this[_0x1ede54(0x172)]=_0x4b02d2[_0x1ede54(0x205)](),_0x5723c7=_0x506623['words'],_0x431361=_0x53276c[_0x1ede54(0x2ec)],_0x28158c=0x0;_0x28158c<_0x21b9de;_0x28158c++)_0x5723c7[_0x28158c]^=0x5c5c5c5c,_0x431361[_0x28158c]^=0x36363636;_0x506623[_0x1ede54(0xc7)]=_0x53276c[_0x1ede54(0xc7)]=_0x263d6c,this[_0x1ede54(0x3b0)]();},'reset':function(){var _0xf2c025=_0x57f03f,_0x2f1271=this[_0xf2c025(0x3cb)];_0x2f1271[_0xf2c025(0x3b0)](),_0x2f1271[_0xf2c025(0x340)](this[_0xf2c025(0x172)]);},'update':function(_0x4cf9d5){var _0x180b9b=_0x57f03f;return this[_0x180b9b(0x3cb)][_0x180b9b(0x340)](_0x4cf9d5),this;},'finalize':function(_0x2dde98){var _0x8e91ca=_0x57f03f,_0x162ae1=this[_0x8e91ca(0x3cb)],_0x3593d9=_0x162ae1[_0x8e91ca(0x1ed)](_0x2dde98);_0x162ae1[_0x8e91ca(0x3b0)]();var _0x25b793=_0x162ae1['finalize'](this[_0x8e91ca(0xd7)][_0x8e91ca(0x205)]()[_0x8e91ca(0x1ae)](_0x3593d9));return _0x25b793;}});}());}));}(Te)),Te[_0xfabc4a(0x407)];}var Ui=me[_0xff55f3(0x407)],Qe;function Ct(){var _0x2e63d=_0xff55f3;return Qe||(Qe=0x1,function(_0x3c51ff,_0x527c64){(function(_0x5cdd85,_0x43532f,_0x636214){_0x3c51ff['exports']=_0x43532f(Z(),Ni(),yi());}(Ui,function(_0x4b35f7){var _0x2c3fb8=_0x1e3a;return(function(){var _0x49f153=_0x1e3a,_0x4885ac=_0x4b35f7,_0x23df58=_0x4885ac['lib'],_0x344640=_0x23df58[_0x49f153(0x35b)],_0x59d206=_0x23df58[_0x49f153(0x16f)],_0x313c47=_0x4885ac[_0x49f153(0x3be)],_0x2b5db0=_0x313c47['MD5'],_0x88f0ca=_0x313c47['EvpKDF']=_0x344640[_0x49f153(0x279)]({'cfg':_0x344640['extend']({'keySize':0x80/0x20,'hasher':_0x2b5db0,'iterations':0x1}),'init':function(_0x3c3686){var _0x2d8455=_0x49f153;this[_0x2d8455(0x40f)]=this[_0x2d8455(0x40f)][_0x2d8455(0x279)](_0x3c3686);},'compute':function(_0x1e3a92,_0x177cc3){var _0x5c182f=_0x49f153;for(var _0x2d8cea,_0x1e3d4f=this[_0x5c182f(0x40f)],_0x55f7fd=_0x1e3d4f['hasher'][_0x5c182f(0xc0)](),_0x161421=_0x59d206[_0x5c182f(0xc0)](),_0x3501cc=_0x161421['words'],_0x1208ab=_0x1e3d4f[_0x5c182f(0x3aa)],_0x34edfb=_0x1e3d4f[_0x5c182f(0x399)];_0x3501cc[_0x5c182f(0x2cf)]<_0x1208ab;){_0x2d8cea&&_0x55f7fd[_0x5c182f(0x340)](_0x2d8cea),_0x2d8cea=_0x55f7fd[_0x5c182f(0x340)](_0x1e3a92)[_0x5c182f(0x1ed)](_0x177cc3),_0x55f7fd['reset']();for(var _0x1a1158=0x1;_0x1a1158<_0x34edfb;_0x1a1158++)_0x2d8cea=_0x55f7fd[_0x5c182f(0x1ed)](_0x2d8cea),_0x55f7fd[_0x5c182f(0x3b0)]();_0x161421[_0x5c182f(0x1ae)](_0x2d8cea);}return _0x161421[_0x5c182f(0xc7)]=_0x1208ab*0x4,_0x161421;}});_0x4885ac['EvpKDF']=function(_0x9baedb,_0x305393,_0x19c600){var _0x1525cf=_0x49f153;return _0x88f0ca[_0x1525cf(0xc0)](_0x19c600)[_0x1525cf(0x364)](_0x9baedb,_0x305393);};}()),_0x4b35f7[_0x2c3fb8(0x248)];}));}(me)),me[_0x2e63d(0x407)];}var Ce={'exports':{}},Ai=Ce['exports'],et;function Ot(){return et||(et=0x1,function(_0x408599,_0x38c961){(function(_0x3a9432,_0x5d4653,_0x249c44){var _0x74c650=_0x1e3a;_0x408599[_0x74c650(0x407)]=_0x5d4653(Z(),Ct());}(Ai,function(_0x5df427){var _0x86a3ab=_0x1e3a;_0x5df427[_0x86a3ab(0x206)]['Cipher']||function(_0x4f7fd9){var _0x3b0748=_0x86a3ab,_0x3007d5=_0x5df427,_0x43858f=_0x3007d5[_0x3b0748(0x206)],_0x57f9fa=_0x43858f['Base'],_0x5a48b5=_0x43858f[_0x3b0748(0x16f)],_0x397fd3=_0x43858f[_0x3b0748(0x94)],_0x420804=_0x3007d5['enc'];_0x420804[_0x3b0748(0x341)];var _0x4d841a=_0x420804[_0x3b0748(0x160)],_0x2e9b8f=_0x3007d5['algo'],_0x380bab=_0x2e9b8f['EvpKDF'],_0x599a1a=_0x43858f[_0x3b0748(0x13c)]=_0x397fd3[_0x3b0748(0x279)]({'cfg':_0x57f9fa[_0x3b0748(0x279)](),'createEncryptor':function(_0x1385ab,_0xfd9496){return this['create'](this['_ENC_XFORM_MODE'],_0x1385ab,_0xfd9496);},'createDecryptor':function(_0x19e7a1,_0x5ddc50){var _0x5a1dd5=_0x3b0748;return this[_0x5a1dd5(0xc0)](this['_DEC_XFORM_MODE'],_0x19e7a1,_0x5ddc50);},'init':function(_0x35d72e,_0x56e60d,_0x360c83){var _0x355a80=_0x3b0748;this['cfg']=this['cfg']['extend'](_0x360c83),this[_0x355a80(0x1b4)]=_0x35d72e,this['_key']=_0x56e60d,this[_0x355a80(0x3b0)]();},'reset':function(){var _0x33bfeb=_0x3b0748;_0x397fd3[_0x33bfeb(0x3b0)][_0x33bfeb(0x2e6)](this),this['_doReset']();},'process':function(_0x265307){var _0x467af3=_0x3b0748;return this['_append'](_0x265307),this[_0x467af3(0x199)]();},'finalize':function(_0x465454){var _0x218fa5=_0x3b0748;_0x465454&&this[_0x218fa5(0x23c)](_0x465454);var _0x4fc696=this[_0x218fa5(0x374)]();return _0x4fc696;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xad9ba(_0x5d5f68){var _0xd416b7=_0x1e3a;return typeof _0x5d5f68==_0xd416b7(0x26d)?_0x1538f9:_0x5db1fc;}return function(_0x840081){return{'encrypt':function(_0x9e78e,_0xcab37b,_0x418ed0){var _0x178688=_0x1e3a;return _0xad9ba(_0xcab37b)[_0x178688(0x19f)](_0x840081,_0x9e78e,_0xcab37b,_0x418ed0);},'decrypt':function(_0x48ee23,_0x141008,_0x2ccfcf){var _0x5c9b7e=_0x1e3a;return _0xad9ba(_0x141008)[_0x5c9b7e(0x240)](_0x840081,_0x48ee23,_0x141008,_0x2ccfcf);}};};}())});_0x43858f[_0x3b0748(0x332)]=_0x599a1a['extend']({'_doFinalize':function(){var _0x45c0ef=this['_process'](!0x0);return _0x45c0ef;},'blockSize':0x1});var _0x449430=_0x3007d5[_0x3b0748(0x304)]={},_0x5c1291=_0x43858f[_0x3b0748(0x151)]=_0x57f9fa[_0x3b0748(0x279)]({'createEncryptor':function(_0x4b13ea,_0x134975){var _0x1f7da3=_0x3b0748;return this[_0x1f7da3(0x305)][_0x1f7da3(0xc0)](_0x4b13ea,_0x134975);},'createDecryptor':function(_0x357a36,_0x325615){var _0x3bca95=_0x3b0748;return this[_0x3bca95(0x1a3)][_0x3bca95(0xc0)](_0x357a36,_0x325615);},'init':function(_0x213123,_0x44be28){var _0x2ba34f=_0x3b0748;this[_0x2ba34f(0x1d6)]=_0x213123,this['_iv']=_0x44be28;}}),_0x5b5599=_0x449430[_0x3b0748(0xa1)]=(function(){var _0x58fe44=_0x3b0748,_0x1ed0bd=_0x5c1291[_0x58fe44(0x279)]();_0x1ed0bd['Encryptor']=_0x1ed0bd[_0x58fe44(0x279)]({'processBlock':function(_0x5d551a,_0x5c92bd){var _0x19ecbb=_0x58fe44,_0x5cde85=this[_0x19ecbb(0x1d6)],_0x1f426b=_0x5cde85[_0x19ecbb(0xe0)];_0xc9a7e[_0x19ecbb(0x2e6)](this,_0x5d551a,_0x5c92bd,_0x1f426b),_0x5cde85[_0x19ecbb(0x405)](_0x5d551a,_0x5c92bd),this[_0x19ecbb(0x1dd)]=_0x5d551a['slice'](_0x5c92bd,_0x5c92bd+_0x1f426b);}}),_0x1ed0bd[_0x58fe44(0x1a3)]=_0x1ed0bd[_0x58fe44(0x279)]({'processBlock':function(_0x26ccbb,_0x4ca3bb){var _0xa1e506=_0x58fe44,_0x135d06=this[_0xa1e506(0x1d6)],_0x490f33=_0x135d06['blockSize'],_0x2846cd=_0x26ccbb[_0xa1e506(0x1e6)](_0x4ca3bb,_0x4ca3bb+_0x490f33);_0x135d06[_0xa1e506(0x2af)](_0x26ccbb,_0x4ca3bb),_0xc9a7e[_0xa1e506(0x2e6)](this,_0x26ccbb,_0x4ca3bb,_0x490f33),this[_0xa1e506(0x1dd)]=_0x2846cd;}});function _0xc9a7e(_0x1a9db4,_0x509166,_0x115b4f){var _0x42038c=_0x58fe44,_0x51efb6,_0x48d113=this[_0x42038c(0x3b5)];_0x48d113?(_0x51efb6=_0x48d113,this[_0x42038c(0x3b5)]=_0x4f7fd9):_0x51efb6=this['_prevBlock'];for(var _0x102af3=0x0;_0x102af3<_0x115b4f;_0x102af3++)_0x1a9db4[_0x509166+_0x102af3]^=_0x51efb6[_0x102af3];}return _0x1ed0bd;}()),_0x369c66=_0x3007d5[_0x3b0748(0xde)]={},_0x2c98ef=_0x369c66[_0x3b0748(0x153)]={'pad':function(_0x40aeab,_0x3bfbcd){var _0x1a9be6=_0x3b0748;for(var _0x7e1d5c=_0x3bfbcd*0x4,_0x3f7823=_0x7e1d5c-_0x40aeab[_0x1a9be6(0xc7)]%_0x7e1d5c,_0x1eb53e=_0x3f7823<<0x18|_0x3f7823<<0x10|_0x3f7823<<0x8|_0x3f7823,_0x40c9af=[],_0x3ee572=0x0;_0x3ee572<_0x3f7823;_0x3ee572+=0x4)_0x40c9af['push'](_0x1eb53e);var _0x26e104=_0x5a48b5['create'](_0x40c9af,_0x3f7823);_0x40aeab[_0x1a9be6(0x1ae)](_0x26e104);},'unpad':function(_0x36013a){var _0x698b6c=_0x3b0748,_0x14bc75=_0x36013a['words'][_0x36013a[_0x698b6c(0xc7)]-0x1>>>0x2]&0xff;_0x36013a[_0x698b6c(0xc7)]-=_0x14bc75;}};_0x43858f[_0x3b0748(0x17b)]=_0x599a1a[_0x3b0748(0x279)]({'cfg':_0x599a1a[_0x3b0748(0x40f)]['extend']({'mode':_0x5b5599,'padding':_0x2c98ef}),'reset':function(){var _0x74936a=_0x3b0748,_0x2dada6;_0x599a1a[_0x74936a(0x3b0)][_0x74936a(0x2e6)](this);var _0xeb7dd5=this[_0x74936a(0x40f)],_0x3e07ba=_0xeb7dd5['iv'],_0x3881e8=_0xeb7dd5[_0x74936a(0x304)];this['_xformMode']==this[_0x74936a(0x216)]?_0x2dada6=_0x3881e8[_0x74936a(0x2b4)]:(_0x2dada6=_0x3881e8[_0x74936a(0xdf)],this[_0x74936a(0x301)]=0x1),this[_0x74936a(0x1df)]&&this[_0x74936a(0x1df)][_0x74936a(0x2c2)]==_0x2dada6?this[_0x74936a(0x1df)][_0x74936a(0x25f)](this,_0x3e07ba&&_0x3e07ba[_0x74936a(0x2ec)]):(this[_0x74936a(0x1df)]=_0x2dada6[_0x74936a(0x2e6)](_0x3881e8,this,_0x3e07ba&&_0x3e07ba[_0x74936a(0x2ec)]),this[_0x74936a(0x1df)][_0x74936a(0x2c2)]=_0x2dada6);},'_doProcessBlock':function(_0xbf9ff3,_0x382b0d){this['_mode']['processBlock'](_0xbf9ff3,_0x382b0d);},'_doFinalize':function(){var _0x2f7851=_0x3b0748,_0x135480,_0x453fd0=this[_0x2f7851(0x40f)][_0x2f7851(0x24f)];return this[_0x2f7851(0x1b4)]==this[_0x2f7851(0x216)]?(_0x453fd0[_0x2f7851(0xde)](this[_0x2f7851(0x3e8)],this[_0x2f7851(0xe0)]),_0x135480=this[_0x2f7851(0x199)](!0x0)):(_0x135480=this[_0x2f7851(0x199)](!0x0),_0x453fd0[_0x2f7851(0x142)](_0x135480)),_0x135480;},'blockSize':0x80/0x20});var _0x445a90=_0x43858f[_0x3b0748(0xb0)]=_0x57f9fa[_0x3b0748(0x279)]({'init':function(_0x59753c){var _0x1a54bd=_0x3b0748;this[_0x1a54bd(0x423)](_0x59753c);},'toString':function(_0x53c15f){return(_0x53c15f||this['formatter'])['stringify'](this);}}),_0x41cdf4=_0x3007d5[_0x3b0748(0x303)]={},_0xc0d118=_0x41cdf4[_0x3b0748(0x104)]={'stringify':function(_0x32f02b){var _0x5c3e0a=_0x3b0748,_0x141ad3,_0x58593e=_0x32f02b[_0x5c3e0a(0x131)],_0x3f4afe=_0x32f02b['salt'];return _0x3f4afe?_0x141ad3=_0x5a48b5[_0x5c3e0a(0xc0)]([0x53616c74,0x65645f5f])[_0x5c3e0a(0x1ae)](_0x3f4afe)['concat'](_0x58593e):_0x141ad3=_0x58593e,_0x141ad3[_0x5c3e0a(0x1b3)](_0x4d841a);},'parse':function(_0x80221c){var _0x3a867e=_0x3b0748,_0x1971bf,_0x4632cf=_0x4d841a['parse'](_0x80221c),_0x31f4cd=_0x4632cf[_0x3a867e(0x2ec)];return _0x31f4cd[0x0]==0x53616c74&&_0x31f4cd[0x1]==0x65645f5f&&(_0x1971bf=_0x5a48b5[_0x3a867e(0xc0)](_0x31f4cd['slice'](0x2,0x4)),_0x31f4cd['splice'](0x0,0x4),_0x4632cf[_0x3a867e(0xc7)]-=0x10),_0x445a90['create']({'ciphertext':_0x4632cf,'salt':_0x1971bf});}},_0x5db1fc=_0x43858f[_0x3b0748(0x2a2)]=_0x57f9fa[_0x3b0748(0x279)]({'cfg':_0x57f9fa[_0x3b0748(0x279)]({'format':_0xc0d118}),'encrypt':function(_0x59adc6,_0x2fb38f,_0x3987e2,_0x218bb3){var _0x455a1b=_0x3b0748;_0x218bb3=this['cfg'][_0x455a1b(0x279)](_0x218bb3);var _0x43e107=_0x59adc6[_0x455a1b(0x2b4)](_0x3987e2,_0x218bb3),_0x97abb8=_0x43e107[_0x455a1b(0x1ed)](_0x2fb38f),_0x429089=_0x43e107[_0x455a1b(0x40f)];return _0x445a90[_0x455a1b(0xc0)]({'ciphertext':_0x97abb8,'key':_0x3987e2,'iv':_0x429089['iv'],'algorithm':_0x59adc6,'mode':_0x429089[_0x455a1b(0x304)],'padding':_0x429089[_0x455a1b(0x24f)],'blockSize':_0x59adc6[_0x455a1b(0xe0)],'formatter':_0x218bb3[_0x455a1b(0x303)]});},'decrypt':function(_0x10de49,_0x270e6e,_0x5c6ddf,_0x272649){var _0x4aa4e2=_0x3b0748;_0x272649=this[_0x4aa4e2(0x40f)][_0x4aa4e2(0x279)](_0x272649),_0x270e6e=this[_0x4aa4e2(0x17c)](_0x270e6e,_0x272649[_0x4aa4e2(0x303)]);var _0x1c629e=_0x10de49[_0x4aa4e2(0xdf)](_0x5c6ddf,_0x272649)[_0x4aa4e2(0x1ed)](_0x270e6e[_0x4aa4e2(0x131)]);return _0x1c629e;},'_parse':function(_0x381aa3,_0x331e2a){return typeof _0x381aa3=='string'?_0x331e2a['parse'](_0x381aa3,this):_0x381aa3;}}),_0x2ee27c=_0x3007d5[_0x3b0748(0x20c)]={},_0x58d6d0=_0x2ee27c['OpenSSL']={'execute':function(_0x30115e,_0x5e6321,_0x52099d,_0x327d45,_0x7f33ec){var _0x4c56c3=_0x3b0748;if(_0x327d45||(_0x327d45=_0x5a48b5['random'](0x40/0x8)),_0x7f33ec)var _0xe65006=_0x380bab[_0x4c56c3(0xc0)]({'keySize':_0x5e6321+_0x52099d,'hasher':_0x7f33ec})['compute'](_0x30115e,_0x327d45);else var _0xe65006=_0x380bab['create']({'keySize':_0x5e6321+_0x52099d})[_0x4c56c3(0x364)](_0x30115e,_0x327d45);var _0x3f600a=_0x5a48b5[_0x4c56c3(0xc0)](_0xe65006[_0x4c56c3(0x2ec)][_0x4c56c3(0x1e6)](_0x5e6321),_0x52099d*0x4);return _0xe65006[_0x4c56c3(0xc7)]=_0x5e6321*0x4,_0x445a90[_0x4c56c3(0xc0)]({'key':_0xe65006,'iv':_0x3f600a,'salt':_0x327d45});}},_0x1538f9=_0x43858f[_0x3b0748(0x39c)]=_0x5db1fc[_0x3b0748(0x279)]({'cfg':_0x5db1fc[_0x3b0748(0x40f)][_0x3b0748(0x279)]({'kdf':_0x58d6d0}),'encrypt':function(_0x3e5d75,_0x1b66d9,_0x4797d4,_0x336735){var _0x4eae4b=_0x3b0748;_0x336735=this[_0x4eae4b(0x40f)][_0x4eae4b(0x279)](_0x336735);var _0x3d6661=_0x336735[_0x4eae4b(0x20c)]['execute'](_0x4797d4,_0x3e5d75['keySize'],_0x3e5d75[_0x4eae4b(0x19d)],_0x336735[_0x4eae4b(0xd1)],_0x336735['hasher']);_0x336735['iv']=_0x3d6661['iv'];var _0x2154d8=_0x5db1fc['encrypt'][_0x4eae4b(0x2e6)](this,_0x3e5d75,_0x1b66d9,_0x3d6661[_0x4eae4b(0x121)],_0x336735);return _0x2154d8[_0x4eae4b(0x423)](_0x3d6661),_0x2154d8;},'decrypt':function(_0x399629,_0x543c67,_0x4578d0,_0x179695){var _0x1b4149=_0x3b0748;_0x179695=this[_0x1b4149(0x40f)][_0x1b4149(0x279)](_0x179695),_0x543c67=this[_0x1b4149(0x17c)](_0x543c67,_0x179695[_0x1b4149(0x303)]);var _0x1369c4=_0x179695[_0x1b4149(0x20c)][_0x1b4149(0x26a)](_0x4578d0,_0x399629[_0x1b4149(0x3aa)],_0x399629['ivSize'],_0x543c67[_0x1b4149(0xd1)],_0x179695['hasher']);_0x179695['iv']=_0x1369c4['iv'];var _0x12d486=_0x5db1fc[_0x1b4149(0x240)][_0x1b4149(0x2e6)](this,_0x399629,_0x543c67,_0x1369c4[_0x1b4149(0x121)],_0x179695);return _0x12d486;}});}();}));}(Ce)),Ce['exports'];}var Pi=Ie[_0xff55f3(0x407)],tt;function Li(){var _0x20978f=_0xff55f3;return tt||(tt=0x1,function(_0x50e45b,_0x1074c5){(function(_0x3fd479,_0x3c1a53,_0x2a60f3){var _0x2035e4=_0x1e3a;_0x50e45b[_0x2035e4(0x407)]=_0x3c1a53(Z(),Tt(),bi(),Ct(),Ot());}(Pi,function(_0x8b1332){return(function(){var _0x1acdf2=_0x1e3a,_0x2b5a88=_0x8b1332,_0x10cec8=_0x2b5a88['lib'],_0x208906=_0x10cec8[_0x1acdf2(0x17b)],_0x591bdc=_0x2b5a88['algo'],_0xfb4b60=[],_0x3b9900=[],_0xa8a527=[],_0x185bbc=[],_0x4a1b20=[],_0xdda037=[],_0xc24e65=[],_0x2dba97=[],_0x4dc9b7=[],_0x5da991=[];(function(){for(var _0x22c2d7=[],_0x2a57f5=0x0;_0x2a57f5<0x100;_0x2a57f5++)_0x2a57f5<0x80?_0x22c2d7[_0x2a57f5]=_0x2a57f5<<0x1:_0x22c2d7[_0x2a57f5]=_0x2a57f5<<0x1^0x11b;for(var _0x387f76=0x0,_0x138568=0x0,_0x2a57f5=0x0;_0x2a57f5<0x100;_0x2a57f5++){var _0x5524a8=_0x138568^_0x138568<<0x1^_0x138568<<0x2^_0x138568<<0x3^_0x138568<<0x4;_0x5524a8=_0x5524a8>>>0x8^_0x5524a8&0xff^0x63,_0xfb4b60[_0x387f76]=_0x5524a8,_0x3b9900[_0x5524a8]=_0x387f76;var _0x4a6475=_0x22c2d7[_0x387f76],_0x3b78b9=_0x22c2d7[_0x4a6475],_0x4bf58f=_0x22c2d7[_0x3b78b9],_0x15dc08=_0x22c2d7[_0x5524a8]*0x101^_0x5524a8*0x1010100;_0xa8a527[_0x387f76]=_0x15dc08<<0x18|_0x15dc08>>>0x8,_0x185bbc[_0x387f76]=_0x15dc08<<0x10|_0x15dc08>>>0x10,_0x4a1b20[_0x387f76]=_0x15dc08<<0x8|_0x15dc08>>>0x18,_0xdda037[_0x387f76]=_0x15dc08;var _0x15dc08=_0x4bf58f*0x1010101^_0x3b78b9*0x10001^_0x4a6475*0x101^_0x387f76*0x1010100;_0xc24e65[_0x5524a8]=_0x15dc08<<0x18|_0x15dc08>>>0x8,_0x2dba97[_0x5524a8]=_0x15dc08<<0x10|_0x15dc08>>>0x10,_0x4dc9b7[_0x5524a8]=_0x15dc08<<0x8|_0x15dc08>>>0x18,_0x5da991[_0x5524a8]=_0x15dc08,_0x387f76?(_0x387f76=_0x4a6475^_0x22c2d7[_0x22c2d7[_0x22c2d7[_0x4bf58f^_0x4a6475]]],_0x138568^=_0x22c2d7[_0x22c2d7[_0x138568]]):_0x387f76=_0x138568=0x1;}}());var _0xb0a759=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4f9c19=_0x591bdc['AES']=_0x208906[_0x1acdf2(0x279)]({'_doReset':function(){var _0x3869d7=_0x1acdf2,_0x1e2a07;if(!(this[_0x3869d7(0x2f3)]&&this[_0x3869d7(0x3d1)]===this['_key'])){for(var _0x43767b=this[_0x3869d7(0x3d1)]=this['_key'],_0xdad01f=_0x43767b[_0x3869d7(0x2ec)],_0x301606=_0x43767b[_0x3869d7(0xc7)]/0x4,_0x40a4a3=this[_0x3869d7(0x2f3)]=_0x301606+0x6,_0x212589=(_0x40a4a3+0x1)*0x4,_0x52a780=this[_0x3869d7(0x138)]=[],_0x802319=0x0;_0x802319<_0x212589;_0x802319++)_0x802319<_0x301606?_0x52a780[_0x802319]=_0xdad01f[_0x802319]:(_0x1e2a07=_0x52a780[_0x802319-0x1],_0x802319%_0x301606?_0x301606>0x6&&_0x802319%_0x301606==0x4&&(_0x1e2a07=_0xfb4b60[_0x1e2a07>>>0x18]<<0x18|_0xfb4b60[_0x1e2a07>>>0x10&0xff]<<0x10|_0xfb4b60[_0x1e2a07>>>0x8&0xff]<<0x8|_0xfb4b60[_0x1e2a07&0xff]):(_0x1e2a07=_0x1e2a07<<0x8|_0x1e2a07>>>0x18,_0x1e2a07=_0xfb4b60[_0x1e2a07>>>0x18]<<0x18|_0xfb4b60[_0x1e2a07>>>0x10&0xff]<<0x10|_0xfb4b60[_0x1e2a07>>>0x8&0xff]<<0x8|_0xfb4b60[_0x1e2a07&0xff],_0x1e2a07^=_0xb0a759[_0x802319/_0x301606|0x0]<<0x18),_0x52a780[_0x802319]=_0x52a780[_0x802319-_0x301606]^_0x1e2a07);for(var _0x54e107=this[_0x3869d7(0x196)]=[],_0x49f3f1=0x0;_0x49f3f1<_0x212589;_0x49f3f1++){var _0x802319=_0x212589-_0x49f3f1;if(_0x49f3f1%0x4)var _0x1e2a07=_0x52a780[_0x802319];else var _0x1e2a07=_0x52a780[_0x802319-0x4];_0x49f3f1<0x4||_0x802319<=0x4?_0x54e107[_0x49f3f1]=_0x1e2a07:_0x54e107[_0x49f3f1]=_0xc24e65[_0xfb4b60[_0x1e2a07>>>0x18]]^_0x2dba97[_0xfb4b60[_0x1e2a07>>>0x10&0xff]]^_0x4dc9b7[_0xfb4b60[_0x1e2a07>>>0x8&0xff]]^_0x5da991[_0xfb4b60[_0x1e2a07&0xff]];}}},'encryptBlock':function(_0x19b4cb,_0x66e626){var _0x16b988=_0x1acdf2;this[_0x16b988(0x163)](_0x19b4cb,_0x66e626,this[_0x16b988(0x138)],_0xa8a527,_0x185bbc,_0x4a1b20,_0xdda037,_0xfb4b60);},'decryptBlock':function(_0x15989d,_0x24f249){var _0x5d4a5c=_0x1acdf2,_0x47da48=_0x15989d[_0x24f249+0x1];_0x15989d[_0x24f249+0x1]=_0x15989d[_0x24f249+0x3],_0x15989d[_0x24f249+0x3]=_0x47da48,this[_0x5d4a5c(0x163)](_0x15989d,_0x24f249,this[_0x5d4a5c(0x196)],_0xc24e65,_0x2dba97,_0x4dc9b7,_0x5da991,_0x3b9900);var _0x47da48=_0x15989d[_0x24f249+0x1];_0x15989d[_0x24f249+0x1]=_0x15989d[_0x24f249+0x3],_0x15989d[_0x24f249+0x3]=_0x47da48;},'_doCryptBlock':function(_0x40832b,_0x2ffbdb,_0x2fe53e,_0x50bf5e,_0x5b42b3,_0x28ae9c,_0xcc88f,_0x51ac7b){var _0x2db7a1=_0x1acdf2;for(var _0x180b28=this[_0x2db7a1(0x2f3)],_0x5b78aa=_0x40832b[_0x2ffbdb]^_0x2fe53e[0x0],_0x32098e=_0x40832b[_0x2ffbdb+0x1]^_0x2fe53e[0x1],_0x20984f=_0x40832b[_0x2ffbdb+0x2]^_0x2fe53e[0x2],_0x3bb3a2=_0x40832b[_0x2ffbdb+0x3]^_0x2fe53e[0x3],_0x58539f=0x4,_0x4968db=0x1;_0x4968db<_0x180b28;_0x4968db++){var _0x255ce0=_0x50bf5e[_0x5b78aa>>>0x18]^_0x5b42b3[_0x32098e>>>0x10&0xff]^_0x28ae9c[_0x20984f>>>0x8&0xff]^_0xcc88f[_0x3bb3a2&0xff]^_0x2fe53e[_0x58539f++],_0xec8c54=_0x50bf5e[_0x32098e>>>0x18]^_0x5b42b3[_0x20984f>>>0x10&0xff]^_0x28ae9c[_0x3bb3a2>>>0x8&0xff]^_0xcc88f[_0x5b78aa&0xff]^_0x2fe53e[_0x58539f++],_0x58ddbc=_0x50bf5e[_0x20984f>>>0x18]^_0x5b42b3[_0x3bb3a2>>>0x10&0xff]^_0x28ae9c[_0x5b78aa>>>0x8&0xff]^_0xcc88f[_0x32098e&0xff]^_0x2fe53e[_0x58539f++],_0x2d696c=_0x50bf5e[_0x3bb3a2>>>0x18]^_0x5b42b3[_0x5b78aa>>>0x10&0xff]^_0x28ae9c[_0x32098e>>>0x8&0xff]^_0xcc88f[_0x20984f&0xff]^_0x2fe53e[_0x58539f++];_0x5b78aa=_0x255ce0,_0x32098e=_0xec8c54,_0x20984f=_0x58ddbc,_0x3bb3a2=_0x2d696c;}var _0x255ce0=(_0x51ac7b[_0x5b78aa>>>0x18]<<0x18|_0x51ac7b[_0x32098e>>>0x10&0xff]<<0x10|_0x51ac7b[_0x20984f>>>0x8&0xff]<<0x8|_0x51ac7b[_0x3bb3a2&0xff])^_0x2fe53e[_0x58539f++],_0xec8c54=(_0x51ac7b[_0x32098e>>>0x18]<<0x18|_0x51ac7b[_0x20984f>>>0x10&0xff]<<0x10|_0x51ac7b[_0x3bb3a2>>>0x8&0xff]<<0x8|_0x51ac7b[_0x5b78aa&0xff])^_0x2fe53e[_0x58539f++],_0x58ddbc=(_0x51ac7b[_0x20984f>>>0x18]<<0x18|_0x51ac7b[_0x3bb3a2>>>0x10&0xff]<<0x10|_0x51ac7b[_0x5b78aa>>>0x8&0xff]<<0x8|_0x51ac7b[_0x32098e&0xff])^_0x2fe53e[_0x58539f++],_0x2d696c=(_0x51ac7b[_0x3bb3a2>>>0x18]<<0x18|_0x51ac7b[_0x5b78aa>>>0x10&0xff]<<0x10|_0x51ac7b[_0x32098e>>>0x8&0xff]<<0x8|_0x51ac7b[_0x20984f&0xff])^_0x2fe53e[_0x58539f++];_0x40832b[_0x2ffbdb]=_0x255ce0,_0x40832b[_0x2ffbdb+0x1]=_0xec8c54,_0x40832b[_0x2ffbdb+0x2]=_0x58ddbc,_0x40832b[_0x2ffbdb+0x3]=_0x2d696c;},'keySize':0x100/0x20});_0x2b5a88[_0x1acdf2(0x41e)]=_0x208906['_createHelper'](_0x4f9c19);}()),_0x8b1332['AES'];}));}(Ie)),Ie[_0x20978f(0x407)];}var Mi=Li();const wi=de(Mi);var xi=Tt();const it=de(xi);var Oe={'exports':{}},ki=Oe[_0xff55f3(0x407)],nt;function $i(){return nt||(nt=0x1,function(_0x458034,_0x467a0e){(function(_0x2a6d10,_0x3c865f){var _0x1a12a4=_0x1e3a;_0x458034[_0x1a12a4(0x407)]=_0x3c865f(Z());}(ki,function(_0x41618e){var _0x1b6562=_0x1e3a;return _0x41618e['enc'][_0x1b6562(0x341)];}));}(Oe)),Oe['exports'];}var Hi=$i();const ji=de(Hi);var be={'exports':{}},Bi=be[_0xff55f3(0x407)],st;function Fi(){var _0x6a5bfd=_0xff55f3;return st||(st=0x1,function(_0x47c49e,_0x5dc90e){(function(_0x385eed,_0x19be62){var _0x354592=_0x1e3a;_0x47c49e[_0x354592(0x407)]=_0x19be62(Z());}(Bi,function(_0x3b95ba){var _0x28b1cf=_0x1e3a;return(function(){var _0x2812dd=_0x1e3a;if(typeof ArrayBuffer==_0x2812dd(0x10b)){var _0x2463ee=_0x3b95ba,_0x1c0b27=_0x2463ee['lib'],_0xdfb08a=_0x1c0b27[_0x2812dd(0x16f)],_0x2b725d=_0xdfb08a[_0x2812dd(0x25f)],_0x5712d4=_0xdfb08a[_0x2812dd(0x25f)]=function(_0x162ed1){var _0x4115c0=_0x2812dd;if(_0x162ed1 instanceof ArrayBuffer&&(_0x162ed1=new Uint8Array(_0x162ed1)),(_0x162ed1 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x162ed1 instanceof Uint8ClampedArray||_0x162ed1 instanceof Int16Array||_0x162ed1 instanceof Uint16Array||_0x162ed1 instanceof Int32Array||_0x162ed1 instanceof Uint32Array||_0x162ed1 instanceof Float32Array||_0x162ed1 instanceof Float64Array)&&(_0x162ed1=new Uint8Array(_0x162ed1[_0x4115c0(0x224)],_0x162ed1['byteOffset'],_0x162ed1[_0x4115c0(0x2ff)])),_0x162ed1 instanceof Uint8Array){for(var _0x2da513=_0x162ed1[_0x4115c0(0x2ff)],_0x58ca67=[],_0x379b7c=0x0;_0x379b7c<_0x2da513;_0x379b7c++)_0x58ca67[_0x379b7c>>>0x2]|=_0x162ed1[_0x379b7c]<<0x18-_0x379b7c%0x4*0x8;_0x2b725d[_0x4115c0(0x2e6)](this,_0x58ca67,_0x2da513);}else _0x2b725d[_0x4115c0(0x40d)](this,arguments);};_0x5712d4[_0x2812dd(0x293)]=_0xdfb08a;}}()),_0x3b95ba[_0x28b1cf(0x206)][_0x28b1cf(0x16f)];}));}(be)),be[_0x6a5bfd(0x407)];}var Vi=Fi();const Wi=de(Vi);var Re={'exports':{}},Gi=Re[_0xff55f3(0x407)],rt;function Yi(){var _0x5d5343=_0xff55f3;return rt||(rt=0x1,function(_0x36b735,_0x5b98ef){(function(_0x59fd31,_0x276b12,_0x49ee5c){_0x36b735['exports']=_0x276b12(Z(),Ot());}(Gi,function(_0x2a3278){var _0x52b587=_0x1e3a;return _0x2a3278['pad'][_0x52b587(0x16c)]={'pad':function(){},'unpad':function(){}},_0x2a3278[_0x52b587(0xde)]['NoPadding'];}));}(Re)),Re[_0x5d5343(0x407)];}var Ki=Yi();const qi=de(Ki);function zi(_0xe9e49,_0x58cf43){var _0x390c39=_0xff55f3;const _0x4f3616=_0x58cf43-_0xe9e49[_0x390c39(0x2cf)]%_0x58cf43,_0x49481c=String[_0x390c39(0x21c)](_0x4f3616)[_0x390c39(0x21b)](_0x4f3616);return _0xe9e49+_0x49481c;}function Xi(_0x313afc,_0x3f2ab0){var _0x415fe7=_0xff55f3;const _0xb02a45=Wi['random'](0x10),_0x179ba5=zi(_0x313afc,0x10),_0xbd84c7=wi[_0x415fe7(0x19f)](ji[_0x415fe7(0x20d)](_0x179ba5),it[_0x415fe7(0x20d)](_0x3f2ab0),{'iv':_0xb02a45,'padding':qi});return _0xb02a45[_0x415fe7(0x1ae)](_0xbd84c7[_0x415fe7(0x131)])[_0x415fe7(0x1b3)](it);}function Ji(){var _0x58542c=_0xff55f3;const _0x3359b7=Dt['getGlobalObject']()[_0x58542c(0x1cc)];if(typeof window<'u'&&typeof window[_0x58542c(0x16a)]<'u'&&_0x3359b7){const _0x53281a={'time':Math[_0x58542c(0x25a)](Date[_0x58542c(0xc2)]()/0x3e8),'domain':location[_0x58542c(0x2e7)]};return Xi(JSON[_0x58542c(0x249)](_0x53281a),_0x3359b7);}}var Zi=Object[_0xff55f3(0x3c8)],Qi=(_0x276e33,_0x32de23,_0x4b4f3d,_0x2bd930)=>{var _0x37ad13=_0xff55f3;for(var _0x9144c9=_0x2bd930>0x1?void 0x0:_0x2bd930?Zi(_0x32de23,_0x4b4f3d):_0x32de23,_0x56f242=_0x276e33[_0x37ad13(0x2cf)]-0x1,_0xfdd9e1;_0x56f242>=0x0;_0x56f242--)(_0xfdd9e1=_0x276e33[_0x56f242])&&(_0x9144c9=_0xfdd9e1(_0x9144c9)||_0x9144c9);return _0x9144c9;},en=(_0x5bd767,_0x4adcb9)=>(_0x3fb557,_0x317b67)=>_0x4adcb9(_0x3fb557,_0x317b67,_0x5bd767);let De=class{constructor(_0x3cc4c5){var _0x5ddd8e=_0xff55f3;this[_0x5ddd8e(0x2cb)]=_0x3cc4c5,this[_0x5ddd8e(0x1d7)]();}['_initRequestHeader'](){var _0x43e91f=_0xff55f3;this[_0x43e91f(0x2cb)]['registerHTTPInterceptor']({'interceptor':(_0x45bb1c,_0x14eeb4)=>{var _0x350f18=_0x43e91f;const _0x1971af=_0x45bb1c[_0x350f18(0x255)],_0x43ea58=Ji();return _0x43ea58&&_0x1971af[_0x350f18(0x356)](_0x350f18(0x23a),_0x43ea58),_0x14eeb4(_0x45bb1c);}});}};De=Qi([en(0x0,o['Inject'](K['HTTPService']))],De);var tn=Object[_0xff55f3(0x3c8)],nn=(_0x10953a,_0x141467,_0x2cde7e,_0xba4759)=>{for(var _0x1143f5=_0xba4759>0x1?void 0x0:_0xba4759?tn(_0x141467,_0x2cde7e):_0x141467,_0x592b9b=_0x10953a['length']-0x1,_0x566a05;_0x592b9b>=0x0;_0x592b9b--)(_0x566a05=_0x10953a[_0x592b9b])&&(_0x1143f5=_0x566a05(_0x1143f5)||_0x1143f5);return _0x1143f5;},Le=(_0x5a3f9a,_0x46de53)=>(_0x43f293,_0xe9c457)=>_0x46de53(_0x43f293,_0xe9c457,_0x5a3f9a);exports[_0xff55f3(0x1ad)]=class extends o[_0xff55f3(0xf1)]{constructor(_0x2aaa7f,_0x3f2c44,_0x57e405){var _0x408ae0=_0xff55f3;super(),A(this,'_unitInfo$',new j[(_0x408ae0(0x41b))](null)),A(this,_0x408ae0(0x183),this[_0x408ae0(0x22c)][_0x408ae0(0x221)]()),(this[_0x408ae0(0x2fa)]=_0x2aaa7f,this[_0x408ae0(0x22e)]=_0x3f2c44,this['_localCacheService']=_0x57e405);}async[_0xff55f3(0x16e)](_0x1eaaa0,_0x57506a,_0x44243c){var _0x1e8d64=_0xff55f3;this[_0x1e8d64(0x22c)][_0x1e8d64(0x351)]({'unitId':_0x1eaaa0,'type':_0x57506a});let _0x253694=null;switch(_0x57506a){case X[_0x1e8d64(0x2cc)]:{_0x253694=await this[_0x1e8d64(0x22e)][_0x1e8d64(0x39e)](_0x1eaaa0,_0x44243c);break;}case X[_0x1e8d64(0xc5)]:{_0x253694=await this['_snapshotService'][_0x1e8d64(0xbd)](_0x1eaaa0,_0x44243c);break;}default:{this[_0x1e8d64(0x2fa)][_0x1e8d64(0xd5)](_0x1e8d64(0x32c),_0x1e8d64(0x2a8));break;}}return _0x253694;}async[_0xff55f3(0xfd)](_0x1864d8,_0x39318f,_0x2b490e){var _0x3ca6c3=_0xff55f3,_0xea43fc;this[_0x3ca6c3(0x22c)][_0x3ca6c3(0x351)]({'unitId':_0x1864d8,'type':_0x39318f,'subUnitId':_0x2b490e});let _0x12bf5d=0x0;const _0x4f0e47=await((_0xea43fc=this[_0x3ca6c3(0x380)])==null?void 0x0:_0xea43fc['loadOfflineData'](_0x1864d8));return _0x4f0e47&&(_0x4f0e47[_0x3ca6c3(0x35e)]||_0x4f0e47['mutations'][_0x3ca6c3(0x2cf)]!==0x0)&&(_0x12bf5d=_0x4f0e47[_0x3ca6c3(0x1f9)]),_0x12bf5d===0x0&&this[_0x3ca6c3(0x2fa)][_0x3ca6c3(0x130)](_0x3ca6c3(0x32c),_0x3ca6c3(0x3d0)),this[_0x3ca6c3(0x16e)](_0x1864d8,_0x39318f,_0x12bf5d);}},exports[_0xff55f3(0x1ad)]=nn([Le(0x0,o[_0xff55f3(0x29a)]),Le(0x1,o[_0xff55f3(0x187)](E[_0xff55f3(0x107)])),Le(0x2,o['Optional'](q))],exports[_0xff55f3(0x1ad)]);var sn=Object[_0xff55f3(0x3c8)],rn=(_0x1cfe68,_0x5e0b7f,_0x57f2a5,_0x1fa4c0)=>{var _0x3038d6=_0xff55f3;for(var _0x5302e1=_0x1fa4c0>0x1?void 0x0:_0x1fa4c0?sn(_0x5e0b7f,_0x57f2a5):_0x5e0b7f,_0x5314d0=_0x1cfe68[_0x3038d6(0x2cf)]-0x1,_0x4aa9df;_0x5314d0>=0x0;_0x5314d0--)(_0x4aa9df=_0x1cfe68[_0x5314d0])&&(_0x5302e1=_0x4aa9df(_0x5302e1)||_0x5302e1);return _0x5302e1;},Me=(_0x31a009,_0x1741b9)=>(_0x53cefb,_0x57ad6d)=>_0x1741b9(_0x53cefb,_0x57ad6d,_0x31a009);const an=[_0xff55f3(0x328),'image/jpeg',_0xff55f3(0x18d),'image/gif',_0xff55f3(0x2ef)],on=0x5*0x400*0x400,cn=_0xff55f3(0x30d),_n='/universer-api/file/{fileID}/sign-url';exports['CollaborationImageIoService']=class{constructor(_0x322d92,_0x1a43fe,_0x522914){var _0x4f9cea=_0xff55f3;A(this,'_waitCount',0x0),A(this,'_change$',new j['Subject']()),A(this,_0x4f9cea(0x3c1),this['_change$']),A(this,_0x4f9cea(0x1f3),new Map()),(this[_0x4f9cea(0x2cb)]=_0x322d92,this['_configService']=_0x1a43fe,this[_0x4f9cea(0x186)]=_0x522914);}[_0xff55f3(0x37d)](_0x1c943c){var _0xb8f40f=_0xff55f3;this[_0xb8f40f(0x2b9)]=_0x1c943c,this['_change$'][_0xb8f40f(0x351)](_0x1c943c);}[_0xff55f3(0x384)](_0x2e287f,_0x2f1d1e){var _0x5ae22a=_0xff55f3;if(_0x2f1d1e===z[_0x5ae22a(0x2a3)][_0x5ae22a(0x231)]){const _0xa5688e=new Image();return _0xa5688e[_0x5ae22a(0x143)]=_0x2e287f,_0xa5688e;}return this[_0x5ae22a(0x1f3)]['get'](_0x2e287f);}['addImageSourceCache'](_0x55af1f,_0x99ba26,_0x8b27e5){var _0x239e78=_0xff55f3;_0x99ba26===z[_0x239e78(0x2a3)][_0x239e78(0x231)]||_0x8b27e5==null||this[_0x239e78(0x1f3)]['set'](_0x55af1f,_0x8b27e5);}async[_0xff55f3(0x29e)](_0x4a5d38){var _0x26a155=_0xff55f3;try{const _0x170152=this[_0x26a155(0x2e3)](this['_getSignURL'](),''+_0x4a5d38),_0x23deb9=(await this[_0x26a155(0x2cb)][_0x26a155(0x3b2)](_0x170152))['body'];if(_0x23deb9[_0x26a155(0xd5)]&&_0x23deb9[_0x26a155(0xd5)][_0x26a155(0xd9)]===vt['OK']){const _0x336606=o['resolveWithBasePath'](_0x23deb9['url'],this[_0x26a155(0x1b2)]());return Promise[_0x26a155(0x272)](_0x336606);}return Promise['reject'](_0x23deb9[_0x26a155(0xd5)]);}catch(_0x3beaf5){return Promise[_0x26a155(0x3df)](_0x3beaf5);}}async[_0xff55f3(0x26c)](_0x369590){var _0x45c8b1=_0xff55f3;let _0x1516d1='';if(!an[_0x45c8b1(0x101)](_0x369590[_0x45c8b1(0x1e9)]))return this[_0x45c8b1(0x192)](),Promise['reject'](new Error(z['ImageUploadStatusType'][_0x45c8b1(0x38a)]));if(_0x369590[_0x45c8b1(0x26e)]>on)return this[_0x45c8b1(0x192)](),Promise[_0x45c8b1(0x3df)](new Error(z[_0x45c8b1(0x280)]['ERROR_EXCEED_SIZE']));try{const _0x1e39d3=new FormData();_0x1e39d3['append'](_0x45c8b1(0x3c2),_0x369590);const _0x3d4cd7=this['_univerInstanceService'][_0x45c8b1(0x27d)](),_0x4a6188=_0x3d4cd7==null?void 0x0:_0x3d4cd7[_0x45c8b1(0x3b1)]();if(!_0x4a6188)throw new Error('unitId\x20is\x20not\x20found');const _0x214d0d=this[_0x45c8b1(0xac)]()+_0x45c8b1(0x3f9)+_0x369590[_0x45c8b1(0x26e)][_0x45c8b1(0x1b3)]()+_0x45c8b1(0x1c4)+dt[_0x45c8b1(0x3ca)]+_0x45c8b1(0xf7)+encodeURIComponent(_0x4a6188),_0x184fc5={'body':_0x1e39d3},_0x2cfe05=(await this[_0x45c8b1(0x2cb)][_0x45c8b1(0x215)](_0x214d0d,_0x184fc5))['body'];if(typeof _0x2cfe05[_0x45c8b1(0x3d6)]!=_0x45c8b1(0x26d))return this['_decreaseWaiting'](),Promise[_0x45c8b1(0x3df)](new Error(z[_0x45c8b1(0x280)][_0x45c8b1(0x288)]));_0x1516d1=_0x2cfe05['FileId'];}catch{return this[_0x45c8b1(0x192)](),Promise[_0x45c8b1(0x3df)](new Error(z[_0x45c8b1(0x280)]['ERROR_IMAGE']));}return new Promise((_0x4d2ae6,_0x39cd49)=>{var _0x59390c=_0x45c8b1;const _0x295142=new FileReader();_0x295142[_0x59390c(0x350)](_0x369590),_0x295142[_0x59390c(0x243)]=_0x42ee62=>{var _0x4495fa=_0x59390c,_0x29683e;const _0xf99ea0=(_0x29683e=_0x42ee62['target'])==null?void 0x0:_0x29683e[_0x4495fa(0x2ea)];if(_0xf99ea0==null){this[_0x4495fa(0x192)](),_0x39cd49(new Error(z['ImageUploadStatusType']['ERROR_IMAGE']));return;}const _0x1de9c7=o[_0x4495fa(0x383)](0x6);_0x4d2ae6({'imageId':_0x1de9c7,'imageSourceType':z[_0x4495fa(0x2a3)][_0x4495fa(0xa9)],'source':_0x1516d1,'base64Cache':_0xf99ea0,'status':z[_0x4495fa(0x280)][_0x4495fa(0x367)]}),this['_decreaseWaiting']();};});}[_0xff55f3(0xac)](){var _0x15e68f=_0xff55f3,_0x253efe;const _0x4811d8=this[_0x15e68f(0x359)][_0x15e68f(0x1fc)](Y);return(_0x253efe=_0x4811d8==null?void 0x0:_0x4811d8[_0x15e68f(0x1c5)])!=null?_0x253efe:cn;}[_0xff55f3(0x3d3)](){var _0x56dbbe=_0xff55f3,_0x4bfaae;const _0x1c61e6=this[_0x56dbbe(0x359)][_0x56dbbe(0x1fc)](Y);return(_0x4bfaae=_0x1c61e6==null?void 0x0:_0x1c61e6[_0x56dbbe(0x10e)])!=null?_0x4bfaae:_n;}['_getDownloadEndpointURL'](){var _0x4df87b=_0xff55f3,_0x1bb719;const _0x1b201d=this['_configService'][_0x4df87b(0x1fc)](Y);return(_0x1bb719=_0x1b201d==null?void 0x0:_0x1b201d[_0x4df87b(0x176)])!=null?_0x1bb719:location[_0x4df87b(0x9e)];}['_replaceFileID'](_0x322087,_0x2f20ff){var _0x5c75f4=_0xff55f3;return _0x322087[_0x5c75f4(0x1fe)](_0x5c75f4(0x3e6),_0x2f20ff);}[_0xff55f3(0x192)](){var _0x1ae1f2=_0xff55f3;this['_waitCount']-=0x1,this['_change$'][_0x1ae1f2(0x351)](this[_0x1ae1f2(0x2b9)]);}},exports['CollaborationImageIoService']=rn([Me(0x0,o[_0xff55f3(0x187)](K[_0xff55f3(0x284)])),Me(0x1,o[_0xff55f3(0x404)]),Me(0x2,o['Inject'](o[_0xff55f3(0xb2)]))],exports['CollaborationImageIoService']);var hn=Object[_0xff55f3(0x3c8)],ln=(_0x453bd0,_0x2bf4a8,_0x413ce9,_0x108707)=>{var _0x29a779=_0xff55f3;for(var _0x520c73=_0x108707>0x1?void 0x0:_0x108707?hn(_0x2bf4a8,_0x413ce9):_0x2bf4a8,_0x53f1a9=_0x453bd0[_0x29a779(0x2cf)]-0x1,_0x2bf38f;_0x53f1a9>=0x0;_0x53f1a9--)(_0x2bf38f=_0x453bd0[_0x53f1a9])&&(_0x520c73=_0x2bf38f(_0x520c73)||_0x520c73);return _0x520c73;},at=(_0x1ad469,_0xe5f94)=>(_0x30323c,_0x29630c)=>_0xe5f94(_0x30323c,_0x29630c,_0x1ad469);const un='/universer-api/authz';exports[_0xff55f3(0x177)]=class{constructor(_0x3102f9,_0xa22d6b){var _0x4cf9b7=_0xff55f3;this[_0x4cf9b7(0x359)]=_0x3102f9,this[_0x4cf9b7(0x1be)]=_0xa22d6b;}[_0xff55f3(0x3fb)](){var _0x247328=_0xff55f3,_0x4b39a2;const _0x30ecda=this[_0x247328(0x359)][_0x247328(0x1fc)](Y);return(_0x4b39a2=_0x30ecda==null?void 0x0:_0x30ecda[_0x247328(0x3d5)])!=null?_0x4b39a2:un;}async[_0xff55f3(0x2a6)](_0x1ceb52){var _0x595ebd=_0xff55f3;const _0x3717d6=this[_0x595ebd(0x3fb)]()+_0x595ebd(0x283);return{'list':[{'title':_0x595ebd(0x168),'mentions':(await this[_0x595ebd(0x1be)]['get'](_0x3717d6,{'params':{'objectID':_0x1ceb52['unitId'],'unitID':_0x1ceb52[_0x595ebd(0x3ee)]}}))[_0x595ebd(0x3da)]['collaborators'][_0x595ebd(0x33a)](_0x69af77=>({'objectId':_0x69af77['id'],'name':_0x69af77[_0x595ebd(0x413)]['name'],'metadata':{'icon':_0x69af77['subject']['avatar']},'label':_0x69af77[_0x595ebd(0x413)][_0x595ebd(0x96)],'objectType':o[_0x595ebd(0x17e)][_0x595ebd(0x1fb)]})),'metadata':{},'type':o[_0x595ebd(0x17e)]['PERSON']}]};}},exports[_0xff55f3(0x177)]=ln([at(0x0,o[_0xff55f3(0x187)](o[_0xff55f3(0x404)])),at(0x1,o[_0xff55f3(0x187)](K[_0xff55f3(0x284)]))],exports[_0xff55f3(0x177)]);var vn=Object[_0xff55f3(0x3c8)],dn=(_0x58c0c3,_0x5a634b,_0x2f5168,_0x4d7d5d)=>{var _0x149f16=_0xff55f3;for(var _0x43ffd0=_0x4d7d5d>0x1?void 0x0:_0x4d7d5d?vn(_0x5a634b,_0x2f5168):_0x5a634b,_0x340652=_0x58c0c3[_0x149f16(0x2cf)]-0x1,_0x1cd5dd;_0x340652>=0x0;_0x340652--)(_0x1cd5dd=_0x58c0c3[_0x340652])&&(_0x43ffd0=_0x1cd5dd(_0x43ffd0)||_0x43ffd0);return _0x43ffd0;},le=(_0x300939,_0xd589c2)=>(_0x54281e,_0x1fe151)=>_0xd589c2(_0x54281e,_0x1fe151,_0x300939);let ye=class extends o['RxDisposable']{constructor(_0xcca870,_0x390606,_0x2f2eab,_0x10dcf6,_0x5311b2){var _0x14c8bf=_0xff55f3;super(),this['_injector']=_0xcca870,this[_0x14c8bf(0x186)]=_0x390606,this['_permissionService']=_0x2f2eab,this[_0x14c8bf(0x158)]=_0x10dcf6,this[_0x14c8bf(0x1ac)]=_0x5311b2,this['_initUnitPermissionChange'](),this['_initCloseConn']();}['_initCloseConn'](){var _0x47bdb3=_0xff55f3;const _0x2f6570=async _0x14adb0=>{var _0x2a3e31=_0x1e3a;(await this[_0x2a3e31(0x158)][_0x2a3e31(0x2d2)](_0x14adb0))['event$'][_0x2a3e31(0xcc)](V[_0x2a3e31(0x155)](_0x52ed1e=>_0x52ed1e['eventID']===E['CollaborationEvent'][_0x2a3e31(0x360)]),V[_0x2a3e31(0x18a)](this[_0x2a3e31(0x235)]))[_0x2a3e31(0x12d)](_0x4da14a=>{var _0x58eef3=_0x2a3e31;const _0x3cdf32=_0x4da14a,{reason:_0x26be8c}=_0x3cdf32[_0x58eef3(0x2c5)];this['_collaborationUIEventService'][_0x58eef3(0x1a1)]({'id':J[_0x58eef3(0x353)],'data':_0x26be8c}),this[_0x58eef3(0x3c6)][_0x58eef3(0x1bd)](new Q[(_0x58eef3(0x1e5))](_0x14adb0)['id'],!0x1),this[_0x58eef3(0x158)][_0x58eef3(0x22a)](_0x14adb0);});};j['merge'](this[_0x47bdb3(0x186)][_0x47bdb3(0x27b)](o['UniverInstanceType'][_0x47bdb3(0x2cc)]),this['_univerInstanceService'][_0x47bdb3(0x27b)](o[_0x47bdb3(0x109)][_0x47bdb3(0xc5)]))['pipe'](V['map'](_0x40b425=>_0x40b425[_0x47bdb3(0x3b1)]()),V[_0x47bdb3(0x155)](_0x526b80=>!o[_0x47bdb3(0x140)](_0x526b80)),V[_0x47bdb3(0x18a)](this[_0x47bdb3(0x235)]))[_0x47bdb3(0x12d)](_0x57b0ec=>{_0x2f6570(_0x57b0ec);});}[_0xff55f3(0x3e7)](){var _0x19c038=_0xff55f3;const _0x4cb51f=async _0x1ece48=>{var _0xbfde6b=_0x1e3a;const _0x2d7875=await this[_0xbfde6b(0x158)][_0xbfde6b(0x2d2)](_0x1ece48),_0x1413df=this['_injector'][_0xbfde6b(0x3b2)](Q[_0xbfde6b(0x1cf)]);_0x2d7875[_0xbfde6b(0x3e2)][_0xbfde6b(0xcc)](V[_0xbfde6b(0x155)](_0x60f25=>_0x60f25[_0xbfde6b(0x338)]===E['CollaborationEvent'][_0xbfde6b(0x319)]),V['takeUntil'](this[_0xbfde6b(0x235)]))['subscribe'](_0x414601=>{var _0xcd31ea=_0xbfde6b;const _0x410afe=_0x414601,{objectId:_0x27804b}=_0x410afe[_0xcd31ea(0x2c5)];_0x27804b===_0x1ece48?_0x1413df[_0xcd31ea(0x379)](_0x1ece48):_0x1413df[_0xcd31ea(0x25b)](_0x1ece48,_0x27804b);});};j[_0x19c038(0xe3)](this[_0x19c038(0x186)][_0x19c038(0x27b)](o[_0x19c038(0x109)][_0x19c038(0x2cc)]))[_0x19c038(0xcc)](V[_0x19c038(0x33a)](_0x1a49fb=>_0x1a49fb[_0x19c038(0x3b1)]()),V[_0x19c038(0x155)](_0x566249=>!o['isInternalEditorID'](_0x566249)),V[_0x19c038(0x18a)](this[_0x19c038(0x235)]))['subscribe'](_0x40f66c=>{_0x4cb51f(_0x40f66c);});}};ye=dn([le(0x0,o['Inject'](o[_0xff55f3(0x1c3)])),le(0x1,o[_0xff55f3(0xb2)]),le(0x2,o[_0xff55f3(0x1b8)]),le(0x3,o[_0xff55f3(0x187)](exports[_0xff55f3(0xe4)])),le(0x4,o['Inject'](ee))],ye);var Sn=Object['getOwnPropertyDescriptor'],In=(_0x38491c,_0x18d79d,_0x385d39,_0x2598bb)=>{var _0x4a9062=_0xff55f3;for(var _0x11848c=_0x2598bb>0x1?void 0x0:_0x2598bb?Sn(_0x18d79d,_0x385d39):_0x18d79d,_0x20770f=_0x38491c[_0x4a9062(0x2cf)]-0x1,_0x1a12f5;_0x20770f>=0x0;_0x20770f--)(_0x1a12f5=_0x38491c[_0x20770f])&&(_0x11848c=_0x1a12f5(_0x11848c)||_0x11848c);return _0x11848c;},ot=(_0x3b0450,_0x5e023c)=>(_0x5424ed,_0x2d85b5)=>_0x5e023c(_0x5424ed,_0x2d85b5,_0x3b0450);exports['SnapshotServerOverHTTPService']=class{constructor(_0x271310,_0x33c5e1){var _0x3b9d53=_0xff55f3;this[_0x3b9d53(0x359)]=_0x271310,this[_0x3b9d53(0x2cb)]=_0x33c5e1;}async[_0xff55f3(0x1fa)](_0x110194,_0x4a0911){var _0xd034e7=_0xff55f3,_0x4ad4e9;const {unitID:_0x1cc24e,type:_0x4f1d1f,revision:_0x43070f=0x0}=_0x4a0911,_0x3ffe05=this[_0xd034e7(0x210)]()+'/'+_0x4f1d1f+_0xd034e7(0x331)+_0x1cc24e+_0xd034e7(0x263)+_0x43070f,_0x5ac789=(await this['_httpService'][_0xd034e7(0x3b2)](_0x3ffe05))[_0xd034e7(0x3da)],_0x148f27=(_0x4ad4e9=_0x5ac789[_0xd034e7(0x179)])==null?void 0x0:_0x4ad4e9[_0xd034e7(0x1a5)];if(_0x148f27){const _0x495333=_0x148f27==null?void 0x0:_0x148f27['originalMeta'],_0x4da58c=E['textEncoder'][_0xd034e7(0xa7)](E['b64DecodeUnicode'](_0x495333));_0x148f27[_0xd034e7(0x2e0)]=_0x4da58c,Object[_0xd034e7(0x28e)](_0x148f27['sheets'])[_0xd034e7(0x36e)](([,_0x3bf151])=>{var _0x470326=_0xd034e7;const _0x1be3d8=_0x3bf151[_0x470326(0x2e0)],_0x23759b=E[_0x470326(0x161)]['encode'](E[_0x470326(0xd3)](_0x1be3d8));_0x3bf151[_0x470326(0x2e0)]=_0x23759b;});}return _0x5ac789;}async['getSheetBlock'](_0x48e53d,_0x1fbd19){var _0x29fac7=_0xff55f3;const {unitID:_0x171902,type:_0x25716b,blockID:_0x3e5b49}=_0x1fbd19,_0x10bf1f=this['_getAPIPrefix']()+'/'+_0x25716b+_0x29fac7(0x331)+_0x171902+'/block/'+_0x3e5b49;return(await this[_0x29fac7(0x2cb)]['get'](_0x10bf1f))[_0x29fac7(0x3da)];}async[_0xff55f3(0x2dc)](_0x337c7f,_0xca43d5){var _0x46e38d=_0xff55f3;const {unitID:_0x365430,type:_0x15c35a,blockID:_0x1d7fc9}=_0xca43d5,_0x5350eb=this[_0x46e38d(0x2d1)]()+_0x46e38d(0x37f)+_0x15c35a+_0x46e38d(0x331)+_0x365430+_0x46e38d(0x37f)+_0x1d7fc9;return(await this[_0x46e38d(0x2cb)][_0x46e38d(0x3b2)](_0x5350eb))[_0x46e38d(0x3da)];}async[_0xff55f3(0x25d)](_0x4bd368,_0x5e92b2){var _0x22b81f=_0xff55f3;const {unitID:_0x2354da,type:_0x3ef836,from:_0x3396bc,to:_0x36babc}=_0x5e92b2,_0x23e7d1=this['_getAPIPrefix']()+'/'+_0x3ef836+_0x22b81f(0x331)+_0x2354da+'/fetchmissing?from='+_0x3396bc+_0x22b81f(0x275)+_0x36babc;return(await this[_0x22b81f(0x2cb)][_0x22b81f(0x3b2)](_0x23e7d1))['body'];}[_0xff55f3(0x210)](){var _0x346469=_0xff55f3,_0x128541;return(_0x128541=this['_configService'][_0x346469(0x1fc)](Ut))!=null?_0x128541:this[_0x346469(0x2d1)]();}[_0xff55f3(0x2d1)](){var _0x1e8abf=_0xff55f3,_0x4869c0;const _0x262621=this[_0x1e8abf(0x359)][_0x1e8abf(0x1fc)](Y);return(_0x4869c0=_0x262621==null?void 0x0:_0x262621[_0x1e8abf(0x23b)])!=null?_0x4869c0:yt;}async[_0xff55f3(0xd6)](_0xd8e346,_0x342513){var _0x30d81f=_0xff55f3;const _0x43cd76=_0x30d81f(0x375)+_0x342513[_0x30d81f(0x1e9)]+_0x30d81f(0x331)+_0x342513[_0x30d81f(0x38b)]+_0x30d81f(0x315);return(await this[_0x30d81f(0x2cb)][_0x30d81f(0x3b2)](_0x43cd76,{'params':{'resourceId':JSON['stringify'](_0x342513[_0x30d81f(0x3d7)])}}))[_0x30d81f(0x3da)];}[_0xff55f3(0xa0)](){var _0x3e9b47=_0xff55f3;throw new Error(_0x3e9b47(0x417));}[_0xff55f3(0x294)](){var _0x58ad18=_0xff55f3;throw new Error(_0x58ad18(0x417));}[_0xff55f3(0x396)](){var _0x3df34e=_0xff55f3;throw new Error(_0x3df34e(0x417));}[_0xff55f3(0x19c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xff55f3(0x3bb)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},exports['SnapshotServerOverHTTPService']=In([ot(0x0,o['IConfigService']),ot(0x1,o[_0xff55f3(0x187)](K[_0xff55f3(0x284)]))],exports[_0xff55f3(0x1f5)]);var fn=Object['getOwnPropertyDescriptor'],En=(_0x9e1028,_0x4dbb00,_0x4d20b7,_0x1b4f0d)=>{var _0x52b8c5=_0xff55f3;for(var _0x2dbef5=_0x1b4f0d>0x1?void 0x0:_0x1b4f0d?fn(_0x4dbb00,_0x4d20b7):_0x4dbb00,_0x25c048=_0x9e1028[_0x52b8c5(0x2cf)]-0x1,_0x4734e0;_0x25c048>=0x0;_0x25c048--)(_0x4734e0=_0x9e1028[_0x25c048])&&(_0x2dbef5=_0x4734e0(_0x2dbef5)||_0x2dbef5);return _0x2dbef5;},ue=(_0xa99348,_0x4c2826)=>(_0x140510,_0xb6c0f0)=>_0x4c2826(_0x140510,_0xb6c0f0,_0xa99348);exports[_0xff55f3(0x320)]=class extends o['LocalUndoRedoService']{constructor(_0x4e212d,_0x1109c4,_0x76cd1e,_0x1be58d,_0xd1ecd4){var _0x520b6b=_0xff55f3;super(_0x4e212d,_0x1109c4,_0x76cd1e),this[_0x520b6b(0xb5)]=_0x1be58d,this['_logService']=_0xd1ecd4;}[_0xff55f3(0x19e)](_0x35d0e2,_0x272276){var _0x59a1cc=_0xff55f3;const _0x27781a=this[_0x59a1cc(0x2c0)](_0x35d0e2);if(_0x27781a)try{const _0x54e1ce=this['_transformStack'](_0x27781a,_0x272276);this[_0x59a1cc(0x37b)](_0x35d0e2,_0x54e1ce);}catch(_0x2d2eb7){this[_0x59a1cc(0x2fa)][_0x59a1cc(0xd5)](_0x59a1cc(0xb7),_0x2d2eb7),this[_0x59a1cc(0x170)](_0x35d0e2);}const _0x4711e8=this[_0x59a1cc(0x1f1)](_0x35d0e2);if(_0x4711e8)try{const _0x52c1ad=this[_0x59a1cc(0x256)](_0x4711e8,_0x272276);this['_substituteRedoStack'](_0x35d0e2,_0x52c1ad);}catch(_0x51d2ec){this[_0x59a1cc(0x2fa)][_0x59a1cc(0xd5)](_0x51d2ec),this['_clearRedo'](_0x35d0e2);}}[_0xff55f3(0x170)](_0x328efd){var _0x2f8916=_0xff55f3;const _0x5e17b0=this['_getUndoStack'](_0x328efd);_0x5e17b0&&(_0x5e17b0[_0x2f8916(0x2cf)]=0x0,this['_updateStatus']());}[_0xff55f3(0x171)](_0x3dfff2){var _0x4c7da6=_0xff55f3;const _0x7beda3=this['_getRedoStack'](_0x3dfff2);_0x7beda3&&(_0x7beda3[_0x4c7da6(0x2cf)]=0x0,this['_updateStatus']());}[_0xff55f3(0x37b)](_0x145943,_0x271c55){var _0x18d686=_0xff55f3;this['_undoStacks'][_0x18d686(0x356)](_0x145943,_0x271c55),this['_updateStatus']();}['_substituteRedoStack'](_0x52dc87,_0x57e43c){var _0x4baf8d=_0xff55f3;this[_0x4baf8d(0x261)][_0x4baf8d(0x356)](_0x52dc87,_0x57e43c),this[_0x4baf8d(0x1e1)]();}[_0xff55f3(0x256)](_0x4e82cd,_0x189949){var _0x35223c=_0xff55f3;const _0x178ece=[];let _0x400f17=_0x189949,_0x88307d=_0x189949;for(let _0x3577ec=_0x4e82cd[_0x35223c(0x2cf)]-0x1;_0x3577ec>=0x0;_0x3577ec--){const {unitID:_0x14ca3d,undoMutations:_0x6fdf94,redoMutations:_0x1ea544}=_0x4e82cd[_0x3577ec],_0x25c9e0=this['_transformService']['transformMutationsWithChangeset'](_0x400f17,_0x6fdf94),_0x1158aa=this['_transformService'][_0x35223c(0x3c9)](_0x88307d,_0x1ea544);if(E['isTransformMutationsWithChangesetFailure'](_0x25c9e0)||E['isTransformMutationsWithChangesetFailure'](_0x1158aa)){this[_0x35223c(0x2fa)][_0x35223c(0xd5)](_0x35223c(0xb7),_0x35223c(0x2c8),_0x25c9e0,_0x1158aa);break;}_0x400f17=_0x25c9e0[_0x35223c(0x127)],_0x88307d=_0x1158aa[_0x35223c(0x127)],_0x178ece[_0x35223c(0x36c)]({'unitID':_0x14ca3d,'undoMutations':_0x25c9e0[_0x35223c(0x11c)],'redoMutations':_0x1158aa['m2Prime']});}return _0x178ece[_0x35223c(0x21f)]();}},exports['CollaborativeUndoRedoService']=En([ue(0x0,o[_0xff55f3(0xb2)]),ue(0x1,o[_0xff55f3(0x124)]),ue(0x2,o[_0xff55f3(0x189)]),ue(0x3,E['ITransformService']),ue(0x4,o['ILogService'])],exports[_0xff55f3(0x320)]);var pn=Object[_0xff55f3(0x2da)],mn=Object['getOwnPropertyDescriptor'],gn=(_0x51dc17,_0x56a578,_0x15ab9f)=>_0x56a578 in _0x51dc17?pn(_0x51dc17,_0x56a578,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15ab9f}):_0x51dc17[_0x56a578]=_0x15ab9f,Tn=(_0x37daa0,_0x1bc5b1,_0x4d1ac0,_0x5e4a34)=>{var _0x8b4012=_0xff55f3;for(var _0xec0b23=_0x5e4a34>0x1?void 0x0:_0x5e4a34?mn(_0x1bc5b1,_0x4d1ac0):_0x1bc5b1,_0x597e21=_0x37daa0[_0x8b4012(0x2cf)]-0x1,_0x3468fe;_0x597e21>=0x0;_0x597e21--)(_0x3468fe=_0x37daa0[_0x597e21])&&(_0xec0b23=_0x3468fe(_0xec0b23)||_0xec0b23);return _0xec0b23;},we=(_0x5a8fb4,_0x5a4352)=>(_0x3a6196,_0x1d3a84)=>_0x5a4352(_0x3a6196,_0x1d3a84,_0x5a8fb4),Cn=(_0x1a93f2,_0x29075c,_0x1dcd44)=>gn(_0x1a93f2,_0x29075c+'',_0x1dcd44);const On=_0xff55f3(0x21d);exports[_0xff55f3(0x368)]=class extends o[_0xff55f3(0x9c)]{constructor(_0x1d3a62,_0x7df582,_0x1eb979,_0x5705db){var _0x3a022e=_0xff55f3;super(),A(this,_0x3a022e(0x25c)),(this[_0x3a022e(0x2fa)]=_0x7df582,this['_injector']=_0x1eb979,this[_0x3a022e(0x359)]=_0x5705db);const {..._0x31052d}=o['merge']({},Qt,_0x1d3a62);if(!_0x31052d[_0x3a022e(0x1d2)])throw new Error(_0x3a022e(0x23e));this[_0x3a022e(0x25c)]=_0x31052d,this[_0x3a022e(0x359)]['setConfig'](Y,_0x31052d);}[_0xff55f3(0x371)](){var _0x44dd6b=_0xff55f3;this[_0x44dd6b(0x133)](),this[_0x44dd6b(0x327)]();}['_registerDependencies'](){var _0x3d4a82=_0xff55f3,_0x389006,_0x4ff148;this['_injector'][_0x3d4a82(0xb9)](o['IUndoRedoService'])&&this[_0x3d4a82(0x2fa)]['error'](_0x3d4a82(0x2eb),_0x3d4a82(0x14d));const _0x4b570c=o['mergeOverrideWithDependencies']([[o[_0x3d4a82(0x3a3)],{'useClass':exports[_0x3d4a82(0x320)]}],[exports['CollaborationSessionService']],[exports[_0x3d4a82(0x34b)]],[exports[_0x3d4a82(0x3ae)]],[Ne],[De],[$e],[ye],[ee],[exports[_0x3d4a82(0x1ad)]],[Fe,{'useClass':this[_0x3d4a82(0x25c)]['socketService']}],[E[_0x3d4a82(0x106)],{'useClass':exports['SnapshotServerOverHTTPService']}],[o[_0x3d4a82(0x236)],{'useClass':exports[_0x3d4a82(0x1e3)]}],[z['IImageIoService'],{'useClass':exports[_0x3d4a82(0x2c4)]}],[o[_0x3d4a82(0x1ef)],{'useClass':exports[_0x3d4a82(0x177)]}],[exports['CollaborationController']],[xe]],(_0x389006=this[_0x3d4a82(0x25c)])==null?void 0x0:_0x389006[_0x3d4a82(0x403)]);if(!((_0x4ff148=this[_0x3d4a82(0x25c)])!=null&&_0x4ff148[_0x3d4a82(0x93)])){const _0x55b65d=_0x4b570c['findIndex'](([_0x27ea3f])=>_0x27ea3f===ve);_0x55b65d!==-0x1&&_0x4b570c['splice'](_0x55b65d,0x1);}o['registerDependencies'](this['_injector'],_0x4b570c);}[_0xff55f3(0x327)](){var _0x54ed40=_0xff55f3,_0x395f89,_0x372c46,_0x113875;this[_0x54ed40(0x1ec)][_0x54ed40(0x3b2)](K[_0x54ed40(0x284)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':K[_0x54ed40(0x1aa)]({'maxParallel':0x6})}),(_0x395f89=this['_config'])!=null&&_0x395f89['enableOfflineEditing']||(_0x372c46=this[_0x54ed40(0x1ec)][_0x54ed40(0x3b2)](q,o['Quantity'][_0x54ed40(0x1a2)]))==null||_0x372c46[_0x54ed40(0x12c)](),(_0x113875=this[_0x54ed40(0x25c)])!=null&&_0x113875[_0x54ed40(0xf3)]&&o[_0x54ed40(0x13b)](this[_0x54ed40(0x1ec)],[[Ne]]),o[_0x54ed40(0x13b)](this[_0x54ed40(0x1ec)],[[De],[exports[_0x54ed40(0x2be)]],[ye]]);}},Cn(exports[_0xff55f3(0x368)],_0xff55f3(0x401),On),exports[_0xff55f3(0x368)]=Tn([o[_0xff55f3(0x17a)](E[_0xff55f3(0x3f7)],K[_0xff55f3(0x1c8)]),we(0x1,o[_0xff55f3(0x29a)]),we(0x2,o[_0xff55f3(0x187)](o[_0xff55f3(0x1c3)])),we(0x3,o[_0xff55f3(0x404)])],exports[_0xff55f3(0x368)]),exports[_0xff55f3(0x102)]=Y,exports[_0xff55f3(0x336)]=je,exports['CollaborationUIEventId']=J,exports[_0xff55f3(0x144)]=ee,exports[_0xff55f3(0x1d5)]=$e,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=_t,exports['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=Bt,exports[_0xff55f3(0x344)]=Pt,exports[_0xff55f3(0x394)]=ht,exports['HEARTBEAT_TIMEOUT_KEY']=ke,exports['ICollaborationSocketService']=Fe,exports[_0xff55f3(0x162)]=q,exports[_0xff55f3(0x267)]=pt,exports[_0xff55f3(0x308)]=ve,exports[_0xff55f3(0x268)]=kt,exports['LOCAL_CACHE_INTERVAL_KEY']=xt,exports[_0xff55f3(0xc3)]=jt,exports[_0xff55f3(0x393)]=ut,exports[_0xff55f3(0x3c4)]=se,exports[_0xff55f3(0x28d)]=He,exports[_0xff55f3(0x21e)]=mt,exports[_0xff55f3(0xf6)]=zt,exports[_0xff55f3(0x3f1)]=gt;